@coalescesoftware/coa 7.6.9 → 7.6.10

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/coa.js CHANGED
@@ -165,7 +165,7 @@ function print() { __p += __j.call(arguments, '') }
165
165
  }`;var Jl=jLn(function(){return zc(dt,hs+"return "+In).apply(r,_t)});if(Jl.source=In,Qgr(Jl))throw Jl;return Jl}function Npa(D){return Q0(D).toLowerCase()}function Ppa(D){return Q0(D).toUpperCase()}function kpa(D,W,de){if(D=Q0(D),D&&(de||W===r))return u2t(D);if(!D||!(W=kT(W)))return D;var Te=II(D),Ye=II(W),dt=Ld(Te,Ye),_t=c2t(Te,Ye)+1;return SJ(Te,dt,_t).join("")}function Qpa(D,W,de){if(D=Q0(D),D&&(de||W===r))return D.slice(0,xCe(D)+1);if(!D||!(W=kT(W)))return D;var Te=II(D),Ye=c2t(Te,II(W))+1;return SJ(Te,0,Ye).join("")}function Fpa(D,W,de){if(D=Q0(D),D&&(de||W===r))return D.replace(Bt,"");if(!D||!(W=kT(W)))return D;var Te=II(D),Ye=Ld(Te,II(W));return SJ(Te,Ye).join("")}function Lpa(D,W){var de=V,Te=ne;if(sA(W)){var Ye="separator"in W?W.separator:Ye;de="length"in W?Ql(W.length):de,Te="omission"in W?kT(W.omission):Te}D=Q0(D);var dt=D.length;if(z5(D)){var _t=II(D);dt=_t.length}if(de>=dt)return D;var Pt=de-A7(Te);if(Pt<1)return Te;var er=_t?SJ(_t,0,Pt).join(""):D.slice(0,Pt);if(Ye===r)return er+Te;if(_t&&(Pt+=er.length-Pt),Fgr(Ye)){if(D.slice(Pt).search(Ye)){var $r,Zr=er;for(Ye.global||(Ye=_M(Ye.source,Q0(Ut.exec(Ye))+"g")),Ye.lastIndex=0;$r=Ye.exec(Zr);)var In=$r.index;er=er.slice(0,In===r?Pt:In)}}else if(D.indexOf(kT(Ye),Pt)!=Pt){var Ki=er.lastIndexOf(Ye);Ki>-1&&(er=er.slice(0,Ki))}return er+Te}function zpa(D){return D=Q0(D),D&&kt.test(D)?D.replace(rn,Ihr):D}var qpa=GCe(function(D,W,de){return D+(de?" ":"")+W.toUpperCase()}),qgr=GFn("toUpperCase");function ULn(D,W,de){return D=Q0(D),W=de?r:W,W===r?yhr(D)?xhr(D):Vu(D):D.match(W)||[]}var jLn=du(function(D,W){try{return ct(D,r,W)}catch(de){return Qgr(de)?de:new Da(de)}}),Upa=gj(function(D,W){return Zt(W,function(de){de=C7(de),OM(D,de,Pgr(D[de],D))}),D});function jpa(D){var W=D==null?0:D.length,de=ca();return D=W?Wo(D,function(Te){if(typeof Te[1]!="function")throw new F4(o);return[de(Te[0]),Te[1]]}):[],du(function(Te){for(var Ye=-1;++Ye<W;){var dt=D[Ye];if(ct(dt[0],this,Te))return ct(dt[1],this,Te)}})}function Gpa(D){return PWe(vI(D,u))}function Ugr(D){return function(){return D}}function Wpa(D,W){return D==null||D!==D?W:D}var Hpa=HFn(),Ypa=HFn(!0);function G4(D){return D}function jgr(D){return Se(typeof D=="function"?D:vI(D,u))}function Vpa(D){return vs(vI(D,u))}function Kpa(D,W){return pl(D,vI(W,u))}var Jpa=du(function(D,W){return function(de){return j5(de,D,W)}}),Xpa=du(function(D,W){return function(de){return j5(D,de,W)}});function Ggr(D,W,de){var Te=Z2(W),Ye=U5(W,Te);de==null&&!(sA(W)&&(Ye.length||!Te.length))&&(de=W,W=D,D=this,Ye=U5(W,Z2(W)));var dt=!(sA(de)&&"chain"in de)||!!de.chain,_t=yj(D);return Zt(Ye,function(Pt){var er=W[Pt];D[Pt]=er,_t&&(D.prototype[Pt]=function(){var $r=this.__chain__;if(dt||$r){var Zr=D(this.__wrapped__),In=Zr.__actions__=q4(this.__actions__);return In.push({func:er,args:arguments,thisArg:D}),Zr.__chain__=$r,Zr}return er.apply(D,Wa([this.value()],arguments))})}),D}function $pa(){return x._===this&&(x._=whr),this}function Wgr(){}function Zpa(D){return D=Ql(D),du(function(W){return G5(W,D)})}var e1a=Igr(Wo),t1a=Igr(Or),r1a=Igr(Q5);function GLn(D){return wgr(D)?$2(C7(D)):Mua(D)}function n1a(D){return function(W){return D==null?r:Aj(D,W)}}var i1a=VFn(),o1a=VFn(!0);function Hgr(){return[]}function Ygr(){return!1}function s1a(){return{}}function a1a(){return""}function l1a(){return!0}function u1a(D,W){if(D=Ql(D),D<1||D>re)return[];var de=Y,Te=oA(D,Y);W=ca(W),D-=Y;for(var Ye=OWe(Te,W);++de<D;)W(de);return Ye}function c1a(D){return fl(D)?Wo(D,C7):QT(D)?[D]:q4(cLn(Q0(D)))}function d1a(D){var W=++Shr;return Q0(D)+W}var p1a=U2t(function(D,W){return D+W},0),f1a=vgr("ceil"),A1a=U2t(function(D,W){return D/W},1),h1a=vgr("floor");function g1a(D){return D&&D.length?UCe(D,G4,FWe):r}function m1a(D,W){return D&&D.length?UCe(D,ca(W,2),FWe):r}function y1a(D){return Fd(D,G4)}function E1a(D,W){return Fd(D,ca(W,2))}function b1a(D){return D&&D.length?UCe(D,G4,Dt):r}function C1a(D,W){return D&&D.length?UCe(D,ca(W,2),Dt):r}var I1a=U2t(function(D,W){return D*W},1),v1a=vgr("round"),_1a=U2t(function(D,W){return D-W},0);function x1a(D){return D&&D.length?SWe(D,G4):0}function T1a(D,W){return D&&D.length?SWe(D,ca(W,2)):0}return lt.after=V0a,lt.ary=CLn,lt.assign=Pda,lt.assignIn=PLn,lt.assignInWith=tyt,lt.assignWith=kda,lt.at=Qda,lt.before=ILn,lt.bind=Pgr,lt.bindAll=Upa,lt.bindKey=vLn,lt.castArray=sda,lt.chain=yLn,lt.chunk=hca,lt.compact=gca,lt.concat=mca,lt.cond=jpa,lt.conforms=Gpa,lt.constant=Ugr,lt.countBy=x0a,lt.create=Fda,lt.curry=_Ln,lt.curryRight=xLn,lt.debounce=TLn,lt.defaults=Lda,lt.defaultsDeep=zda,lt.defer=K0a,lt.delay=J0a,lt.difference=yca,lt.differenceBy=Eca,lt.differenceWith=bca,lt.drop=Cca,lt.dropRight=Ica,lt.dropRightWhile=vca,lt.dropWhile=_ca,lt.fill=xca,lt.filter=S0a,lt.flatMap=R0a,lt.flatMapDeep=B0a,lt.flatMapDepth=M0a,lt.flatten=ALn,lt.flattenDeep=Tca,lt.flattenDepth=Sca,lt.flip=X0a,lt.flow=Hpa,lt.flowRight=Ypa,lt.fromPairs=Oca,lt.functions=Yda,lt.functionsIn=Vda,lt.groupBy=D0a,lt.initial=Rca,lt.intersection=Bca,lt.intersectionBy=Mca,lt.intersectionWith=Dca,lt.invert=Jda,lt.invertBy=Xda,lt.invokeMap=P0a,lt.iteratee=jgr,lt.keyBy=k0a,lt.keys=Z2,lt.keysIn=j4,lt.map=K2t,lt.mapKeys=Zda,lt.mapValues=epa,lt.matches=Vpa,lt.matchesProperty=Kpa,lt.memoize=X2t,lt.merge=tpa,lt.mergeWith=kLn,lt.method=Jpa,lt.methodOf=Xpa,lt.mixin=Ggr,lt.negate=$2t,lt.nthArg=Zpa,lt.omit=rpa,lt.omitBy=npa,lt.once=$0a,lt.orderBy=Q0a,lt.over=e1a,lt.overArgs=Z0a,lt.overEvery=t1a,lt.overSome=r1a,lt.partial=kgr,lt.partialRight=SLn,lt.partition=F0a,lt.pick=ipa,lt.pickBy=QLn,lt.property=GLn,lt.propertyOf=n1a,lt.pull=Qca,lt.pullAll=gLn,lt.pullAllBy=Fca,lt.pullAllWith=Lca,lt.pullAt=zca,lt.range=i1a,lt.rangeRight=o1a,lt.rearg=eda,lt.reject=q0a,lt.remove=qca,lt.rest=tda,lt.reverse=Dgr,lt.sampleSize=j0a,lt.set=spa,lt.setWith=apa,lt.shuffle=G0a,lt.slice=Uca,lt.sortBy=Y0a,lt.sortedUniq=Kca,lt.sortedUniqBy=Jca,lt.split=Rpa,lt.spread=rda,lt.tail=Xca,lt.take=$ca,lt.takeRight=Zca,lt.takeRightWhile=e0a,lt.takeWhile=t0a,lt.tap=g0a,lt.throttle=nda,lt.thru=V2t,lt.toArray=MLn,lt.toPairs=FLn,lt.toPairsIn=LLn,lt.toPath=c1a,lt.toPlainObject=NLn,lt.transform=lpa,lt.unary=ida,lt.union=r0a,lt.unionBy=n0a,lt.unionWith=i0a,lt.uniq=o0a,lt.uniqBy=s0a,lt.uniqWith=a0a,lt.unset=upa,lt.unzip=Ngr,lt.unzipWith=mLn,lt.update=cpa,lt.updateWith=dpa,lt.values=YCe,lt.valuesIn=ppa,lt.without=l0a,lt.words=ULn,lt.wrap=oda,lt.xor=u0a,lt.xorBy=c0a,lt.xorWith=d0a,lt.zip=p0a,lt.zipObject=f0a,lt.zipObjectDeep=A0a,lt.zipWith=h0a,lt.entries=FLn,lt.entriesIn=LLn,lt.extend=PLn,lt.extendWith=tyt,Ggr(lt,lt),lt.add=p1a,lt.attempt=jLn,lt.camelCase=gpa,lt.capitalize=zLn,lt.ceil=f1a,lt.clamp=fpa,lt.clone=ada,lt.cloneDeep=uda,lt.cloneDeepWith=cda,lt.cloneWith=lda,lt.conformsTo=dda,lt.deburr=qLn,lt.defaultTo=Wpa,lt.divide=A1a,lt.endsWith=mpa,lt.eq=BM,lt.escape=ypa,lt.escapeRegExp=Epa,lt.every=T0a,lt.find=O0a,lt.findIndex=pLn,lt.findKey=qda,lt.findLast=w0a,lt.findLastIndex=fLn,lt.findLastKey=Uda,lt.floor=h1a,lt.forEach=ELn,lt.forEachRight=bLn,lt.forIn=jda,lt.forInRight=Gda,lt.forOwn=Wda,lt.forOwnRight=Hda,lt.get=Lgr,lt.gt=pda,lt.gte=fda,lt.has=Kda,lt.hasIn=zgr,lt.head=hLn,lt.identity=G4,lt.includes=N0a,lt.indexOf=wca,lt.inRange=Apa,lt.invoke=$da,lt.isArguments=Cde,lt.isArray=fl,lt.isArrayBuffer=Ada,lt.isArrayLike=U4,lt.isArrayLikeObject=Uh,lt.isBoolean=hda,lt.isBuffer=OJ,lt.isDate=gda,lt.isElement=mda,lt.isEmpty=yda,lt.isEqual=Eda,lt.isEqualWith=bda,lt.isError=Qgr,lt.isFinite=Cda,lt.isFunction=yj,lt.isInteger=OLn,lt.isLength=Z2t,lt.isMap=wLn,lt.isMatch=Ida,lt.isMatchWith=vda,lt.isNaN=_da,lt.isNative=xda,lt.isNil=Sda,lt.isNull=Tda,lt.isNumber=RLn,lt.isObject=sA,lt.isObjectLike=qA,lt.isPlainObject=WWe,lt.isRegExp=Fgr,lt.isSafeInteger=Oda,lt.isSet=BLn,lt.isString=eyt,lt.isSymbol=QT,lt.isTypedArray=HCe,lt.isUndefined=wda,lt.isWeakMap=Rda,lt.isWeakSet=Bda,lt.join=Nca,lt.kebabCase=bpa,lt.last=H5,lt.lastIndexOf=Pca,lt.lowerCase=Cpa,lt.lowerFirst=Ipa,lt.lt=Mda,lt.lte=Dda,lt.max=g1a,lt.maxBy=m1a,lt.mean=y1a,lt.meanBy=E1a,lt.min=b1a,lt.minBy=C1a,lt.stubArray=Hgr,lt.stubFalse=Ygr,lt.stubObject=s1a,lt.stubString=a1a,lt.stubTrue=l1a,lt.multiply=I1a,lt.nth=kca,lt.noConflict=$pa,lt.noop=Wgr,lt.now=J2t,lt.pad=vpa,lt.padEnd=_pa,lt.padStart=xpa,lt.parseInt=Tpa,lt.random=hpa,lt.reduce=L0a,lt.reduceRight=z0a,lt.repeat=Spa,lt.replace=Opa,lt.result=opa,lt.round=v1a,lt.runInContext=Jt,lt.sample=U0a,lt.size=W0a,lt.snakeCase=wpa,lt.some=H0a,lt.sortedIndex=jca,lt.sortedIndexBy=Gca,lt.sortedIndexOf=Wca,lt.sortedLastIndex=Hca,lt.sortedLastIndexBy=Yca,lt.sortedLastIndexOf=Vca,lt.startCase=Bpa,lt.startsWith=Mpa,lt.subtract=_1a,lt.sum=x1a,lt.sumBy=T1a,lt.template=Dpa,lt.times=u1a,lt.toFinite=Ej,lt.toInteger=Ql,lt.toLength=DLn,lt.toLower=Npa,lt.toNumber=Y5,lt.toSafeInteger=Nda,lt.toString=Q0,lt.toUpper=Ppa,lt.trim=kpa,lt.trimEnd=Qpa,lt.trimStart=Fpa,lt.truncate=Lpa,lt.unescape=zpa,lt.uniqueId=d1a,lt.upperCase=qpa,lt.upperFirst=qgr,lt.each=ELn,lt.eachRight=bLn,lt.first=hLn,Ggr(lt,function(){var D={};return q5(lt,function(W,de){C0.call(lt.prototype,de)||(D[de]=W)}),D}(),{chain:!1}),lt.VERSION=t,Zt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(D){lt[D].placeholder=lt}),Zt(["drop","take"],function(D,W){Kl.prototype[D]=function(de){de=de===r?1:zA(Ql(de),0);var Te=this.__filtered__&&!W?new Kl(this):this.clone();return Te.__filtered__?Te.__takeCount__=oA(de,Te.__takeCount__):Te.__views__.push({size:oA(de,Y),type:D+(Te.__dir__<0?"Right":"")}),Te},Kl.prototype[D+"Right"]=function(de){return this.reverse()[D](de).reverse()}}),Zt(["filter","map","takeWhile"],function(D,W){var de=W+1,Te=de==X||de==F;Kl.prototype[D]=function(Ye){var dt=this.clone();return dt.__iteratees__.push({iteratee:ca(Ye,3),type:de}),dt.__filtered__=dt.__filtered__||Te,dt}}),Zt(["head","last"],function(D,W){var de="take"+(W?"Right":"");Kl.prototype[D]=function(){return this[de](1).value()[0]}}),Zt(["initial","tail"],function(D,W){var de="drop"+(W?"":"Right");Kl.prototype[D]=function(){return this.__filtered__?new Kl(this):this[de](1)}}),Kl.prototype.compact=function(){return this.filter(G4)},Kl.prototype.find=function(D){return this.filter(D).head()},Kl.prototype.findLast=function(D){return this.reverse().find(D)},Kl.prototype.invokeMap=du(function(D,W){return typeof D=="function"?new Kl(this):this.map(function(de){return j5(de,D,W)})}),Kl.prototype.reject=function(D){return this.filter($2t(ca(D)))},Kl.prototype.slice=function(D,W){D=Ql(D);var de=this;return de.__filtered__&&(D>0||W<0)?new Kl(de):(D<0?de=de.takeRight(-D):D&&(de=de.drop(D)),W!==r&&(W=Ql(W),de=W<0?de.dropRight(-W):de.take(W-D)),de)},Kl.prototype.takeRightWhile=function(D){return this.reverse().takeWhile(D).reverse()},Kl.prototype.toArray=function(){return this.take(Y)},q5(Kl.prototype,function(D,W){var de=/^(?:filter|find|map|reject)|While$/.test(W),Te=/^(?:head|last)$/.test(W),Ye=lt[Te?"take"+(W=="last"?"Right":""):W],dt=Te||/^find/.test(W);Ye&&(lt.prototype[W]=function(){var _t=this.__wrapped__,Pt=Te?[1]:arguments,er=_t instanceof Kl,$r=Pt[0],Zr=er||fl(_t),In=function(ku){var lc=Ye.apply(lt,Wa([ku],Pt));return Te&&Ki?lc[0]:lc};Zr&&de&&typeof $r=="function"&&$r.length!=1&&(er=Zr=!1);var Ki=this.__chain__,hs=!!this.__actions__.length,Aa=dt&&!Ki,Jl=er&&!hs;if(!dt&&Zr){_t=Jl?_t:new Kl(this);var ha=D.apply(_t,Pt);return ha.__actions__.push({func:V2t,args:[In],thisArg:r}),new L4(ha,Ki)}return Aa&&Jl?D.apply(this,Pt):(ha=this.thru(In),Aa?Te?ha.value()[0]:ha.value():ha)})}),Zt(["pop","push","shift","sort","splice","unshift"],function(D){var W=ade[D],de=/^(?:push|sort|unshift)$/.test(D)?"tap":"thru",Te=/^(?:pop|shift)$/.test(D);lt.prototype[D]=function(){var Ye=arguments;if(Te&&!this.__chain__){var dt=this.value();return W.apply(fl(dt)?dt:[],Ye)}return this[de](function(_t){return W.apply(fl(_t)?_t:[],Ye)})}}),q5(Kl.prototype,function(D,W){var de=lt[W];if(de){var Te=de.name+"";C0.call(vJ,Te)||(vJ[Te]=[]),vJ[Te].push({name:W,func:de})}}),vJ[q2t(r,y).name]=[{name:"wrapper",func:r}],Kl.prototype.clone=zhr,Kl.prototype.reverse=qhr,Kl.prototype.value=Uhr,lt.prototype.at=m0a,lt.prototype.chain=y0a,lt.prototype.commit=E0a,lt.prototype.next=b0a,lt.prototype.plant=I0a,lt.prototype.reverse=v0a,lt.prototype.toJSON=lt.prototype.valueOf=lt.prototype.value=_0a,lt.prototype.first=lt.prototype.head,ude&&(lt.prototype[ude]=C0a),lt},h7=Thr();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(x._=h7,define(function(){return h7})):Kn?((Kn.exports=h7)._=h7,be._=h7):x._=h7}).call(Y_e)});var Gfi,Wfi,TOr=Ge(()=>{"use strict";si();Gfi=O.string(),Wfi=O.string()});var eOd,nZa,Hfi,Yfi,qJe,UJe=Ge(()=>{"use strict";si();TOr();eOd=O.object({orgID:Gfi.optional(),userID:Wfi.optional(),requestID:O.string().optional()}),nZa=()=>({logContext:{}}),Hfi=nZa,Yfi=r=>{Hfi=r},qJe=()=>Hfi()});var SOr,ROr,p_,Vfi,UP,Kfi,Jfi,BOr,iZa,OOr,wOr,Xfi,$fi,Zfi,MOr,Ef,f_=Ge(()=>{"use strict";SOr=ht(U0i()),ROr=ht(vG()),p_=ht(F1e()),Vfi=ht(Zs());si();UJe();UP=r=>(0,Vfi.cloneDeepWith)(r,(t,n)=>{if(typeof t=="string"&&typeof n=="string"&&n.match(/(password|token|keypair)/i))return"<REDACTED>"}),Kfi={emerg:"error",alert:"error",crit:"error",error:"error",warn:"warn",notice:"info",info:"info",debug:"debug"},Jfi=p_.default.format((r,t)=>({...r,...qJe()})),BOr=O.object({NODE_ENV:O.string().default("development"),LOG_LEVEL:O.string().default("info"),REACT_APP_COALESCE_VERSION:O.string().default("")}),iZa=(r,t)=>({host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.NODE_ENV},coalesceSoftwareVersion:${t.REACT_APP_COALESCE_VERSION}&ddsource=nodejs&service=${r}`,ssl:!0}),OOr=class extends ROr.default{constructor(t){super(t)}log(t,n){SOr.datadogLogs.logger&&SOr.datadogLogs.logger.log(t,{},Kfi[t.level]??"info"),n()}},wOr=class extends ROr.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:t.level,status:Kfi[t.level]},n)}},Xfi=(r,t)=>p_.default.createLogger({levels:p_.default.config.syslog.levels,level:t.LOG_LEVEL,format:p_.default.format.combine(p_.default.format.timestamp(),Jfi(),p_.default.format.json()),defaultMeta:{service:r,category:"global"},transports:[new p_.default.transports.Console,new wOr(new p_.default.transports.Http(iZa(r,t)))]}),$fi=r=>p_.default.createLogger({levels:p_.default.config.syslog.levels,level:r.LOG_LEVEL,format:p_.default.format.combine(p_.default.format.timestamp(),Jfi(),p_.default.format.json()),defaultMeta:{service:"Frontend",category:"frontend"},transports:[new OOr]}),MOr=r=>{Zfi=r},Ef=()=>Zfi});var DOr,eAi=Ge(()=>{"use strict";f_();DOr=(r,t,n,...i)=>{let o=Ef(),s={...t,area:r};o[n](...i,s)}});var D$,tAi,Bw,V_e,cxt=Ge(()=>{"use strict";py();eAi();f_();D$=class{valid=!1;failures;originalValue;constructor(t,n){this.originalValue=UP(t),this.failures=n}get failureMessage(){return this.failures.map(t=>t.path.length>0?`${t.path}: ${t.message}`:t.message).join(`
166
166
  `)}},tAi=null,Bw=class extends It{code;result;constructor(t,n,i=400){super(t,typeof n=="string"?n:n?.failureMessage),this.result=typeof n=="string"?void 0:n,this.code=i}statusCode(){return this.code}get validationResult(){return this.result}get failureDetails(){return this.result?`${this.message}: ${this.result.failureMessage}`:this.message}},V_e=class{constructor(t){this.name=t}is(t){return this.validate(t).valid}assert(t,n){return this.doAssert(t,!0,n)}verify(t,n){let i=!!(n?.throwOnVerify??!1);return this.doAssert(t,i,n)}doAssert(t,n,i){let{logContext:o,logArea:s,failureLogLevel:a,successLogLevel:l,statusCode:c,errorMessage:u}=i||{},d=this.validate(t);if(!d.valid){let p=typeof u=="function"?u(d):u??`Found ${d.failures.length} validation failure(s) for ${this.name}`,f=new Bw(p,d,c);if(a!==tAi){let A=t;A&&typeof A=="object"&&(A=UP(A)),DOr(s,o,a||"error",f,A)}if(n)throw f;return t}return l&&DOr(s,o,l,`${this.name} validation succeeded`,t),d.value}}});var NOr,Gd,POr=Ge(()=>{"use strict";f_();py();cxt();NOr=class extends V_e{constructor(n,i){super(n);this.runtype=i;if(!i)throw new It(`Missing runtype for ${n} validator. Did you use a circular import?`)}validate(n){try{let i=this.runtype.validate(n);return i.success?{valid:!0,value:n}:this.createValidationFailedResult(i,n)}catch(i){return Ef().error(`RuntypesValidator: Unable to validate ${this.name} value. `,`
167
167
  Error: `,i,`
168
- Value: `,n),new D$(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new D$(i,o)}},Gd=(r,t)=>new NOr(r,t)});var QOr,oZa,sZa,kOr,xr,rAi=Ge(()=>{"use strict";QOr=ht(Zs());py();f_();cxt();si();oZa=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,sZa=r=>QOr.default.sum(r.issues.map(t=>oZa(t))),kOr=class extends V_e{constructor(n,i){super(n);this.zodType=i;if(!i)throw new It(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=QOr.default.minBy(o.unionErrors,a=>sZa(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new D$(n,o)}catch(i){let o=i instanceof O.ZodError?[i.flatten(),i.issues]:[];return Ef().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new D$(n,[{path:"",message:"value triggered unknown Zod error"}])}}},xr=(r,t)=>new kOr(r,t)});var K_e=Ge(()=>{"use strict";POr();cxt();rAi()});var aZa,lZa,nAi,dxt,jJe,FOr,J_e,LOr,zOr,qOr,UOr,pxt,fxt,OG,jP,N$,jOr,GOr,iAi,X_e=Ge(()=>{"use strict";si();mbt();bP();Rxr();Vxr();Xli();$xr();K_e();aZa=O.object({auth:O.string(),firestore:O.string(),storage:O.string()}),lZa=O.object({apiKey:O.string(),authDomain:O.string(),projectId:O.string(),storageBucket:O.string(),messagingSenderId:O.string(),appId:O.string(),measurementId:O.string(),emulatorInfo:aZa.optional()}),nAi=xr("FirebaseConfig",lZa),dxt=r=>{vP("firestore.delete",{path:r})},jJe=r=>{vP("firestore.set",{path:r})},FOr=r=>{vP("firestore.update",{path:r})},J_e=r=>{vP("firestore.get",{path:r})},LOr=r=>{vP("firestore.transaction.get",{path:r})},zOr=r=>{vP("firestore.transaction.set",{path:r})},qOr=r=>{vP("firestore.transaction.update",{path:r})},UOr=r=>{vP("firestore.transaction.delete",{path:r})},pxt=()=>{vP("firestore.batch")},fxt=async r=>(dxt(r.path),r.delete()),OG=(r,t,n)=>(jJe(r.path),n?r.set(t,n):r.set(t)),jP=r=>(J_e(r.path),r.get()),N$=r=>(J_e(r.path),r.get()),jOr=(r,t)=>(J_e(t),r.get()),GOr=r=>(pxt(),r.commit()),iAi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await EG(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var Axt,hxt,$_e=Ge(()=>{"use strict";Axt={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",alert:"alert",app:"app"},hxt={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}}});var WOr,Mw,GJe=Ge(()=>{"use strict";WOr=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN_NODES","PLAN_UTILS","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP"],Mw={...Object.fromEntries(WOr.map(r=>[r,{level:"info"}]))}});var JA,Z_e,XA,gxt=Ge(()=>{"use strict";JA=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),Z_e=(r,t)=>{r.runID=t},XA={}});var sAi=C(oAi=>{"use strict";Object.defineProperty(oAi,"__esModule",{value:!0})});var HOr=C(mxt=>{"use strict";Object.defineProperty(mxt,"__esModule",{value:!0});mxt.Failcode=void 0;mxt.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var txe=C(exe=>{"use strict";var uZa=exe&&exe.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(exe,"__esModule",{value:!0});exe.ValidationError=void 0;var cZa=function(r){uZa(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);exe.ValidationError=cZa});var WJe=C(YOr=>{"use strict";Object.defineProperty(YOr,"__esModule",{value:!0});var yxt=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||yxt(r)(t.underlying);case"union":return t.alternatives.map(yxt(r)).join(" | ");case"intersect":return t.intersectees.map(yxt(r)).join(" & ");default:break}return"`${".concat(gS(!1,r)(t),"}`")}},Ext=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):Ext(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return Ext(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return Ext(r)(n.reflect)}break;default:break}return"${".concat(gS(!1,r)(t),"}")}},gS=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return yxt(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=Ext(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(aAi(n)).concat(gS(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(gS(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(aAi(n)).concat(u).concat(dZa(n,u),": ").concat(n.fields[u].tag==="optional"?gS(!1,t)(n.fields[u].underlying):gS(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(gS(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(gS(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(gS(!0,t)).join(" & ")));case"optional":return gS(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||gS(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return gS(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};YOr.default=gS(!1,new Set);function dZa(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function aAi(r){var t=r.isReadonly;return t?"readonly ":""}});var bf=C(Wd=>{"use strict";var VOr=Wd&&Wd.__assign||function(){return VOr=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},VOr.apply(this,arguments)};Object.defineProperty(Wd,"__esModule",{value:!0});Wd.FAILURE=Wd.SUCCESS=Wd.enumerableKeysOf=Wd.typeOf=Wd.hasKey=void 0;var GP=HOr(),L1e=WJe();function pZa(r,t){return typeof t=="object"&&t!==null&&r in t}Wd.hasKey=pZa;var fZa=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};Wd.typeOf=fZa;var AZa=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};Wd.enumerableKeysOf=AZa;function hZa(r){return{success:!0,value:r}}Wd.SUCCESS=hZa;Wd.FAILURE=Object.assign(function(r,t,n){return VOr({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,L1e.default)(r)):(0,L1e.default)(r),", but was ").concat((0,Wd.typeOf)(t));return(0,Wd.FAILURE)(GP.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,Wd.FAILURE)(GP.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,Wd.FAILURE)(GP.Failcode.KEY_INCORRECT,"Expected ".concat((0,L1e.default)(r)," key to be ").concat((0,L1e.default)(t),", but was ").concat((0,Wd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,L1e.default)(r),", but was incompatible");return(0,Wd.FAILURE)(GP.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,Wd.FAILURE)(GP.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,Wd.FAILURE)(GP.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,Wd.FAILURE)(GP.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,L1e.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,L1e.default)(r),", but was missing");return(0,Wd.FAILURE)(GP.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,Wd.typeOf)(r));return(0,Wd.FAILURE)(GP.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,Wd.typeOf)(r));return(0,Wd.FAILURE)(GP.Failcode.NOTHING_EXPECTED,t)}})});var lAi=C(P$=>{"use strict";var gZa=P$&&P$.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},mZa=P$&&P$.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(P$,"__esModule",{value:!0});P$.Contract=void 0;var yZa=txe(),EZa=bf();function bZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=EZa.FAILURE.ARGUMENT_INCORRECT(c);throw new yZa.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,mZa([],gZa(a),!1)))}}}}P$.Contract=bZa});var dAi=C(k$=>{"use strict";var CZa=k$&&k$.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},IZa=k$&&k$.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(k$,"__esModule",{value:!0});k$.AsyncContract=void 0;var uAi=txe(),cAi=bf();function vZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=cAi.FAILURE.ARGUMENT_INCORRECT(c);throw new uAi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,IZa([],CZa(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=cAi.FAILURE.RETURN_INCORRECT(c);throw new uAi.ValidationError(u)}return p.then(o.check)}}}}k$.AsyncContract=vZa});var pAi=C(WP=>{"use strict";var _Za=WP&&WP.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xZa=WP&&WP.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(WP,"__esModule",{value:!0});WP.when=WP.match=void 0;function TZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=_Za(r),a=s.next();!a.done;a=s.next()){var l=xZa(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}WP.match=TZa;function SZa(r,t){return[r,t]}WP.when=SZa});var $A=C(F$=>{"use strict";Object.defineProperty(F$,"__esModule",{value:!0});F$.innerValidate=F$.create=F$.isRuntype=void 0;var Q$=e3(),OZa=WJe(),wZa=txe(),fAi=bf(),AAi=Symbol(),RZa=function(r){return(0,fAi.hasKey)(AAi,r)};F$.isRuntype=RZa;function BZa(r,t){return t[AAi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,fAi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,DZa())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,OZa.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new wZa.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,Q$.Union)(t,p)}function s(p){return(0,Q$.Intersect)(t,p)}function a(){return(0,Q$.Optional)(t)}function l(){return(0,Q$.Union)(t,Q$.Null)}function c(p,f){return(0,Q$.Constraint)(t,p,f)}function u(p,f){return(0,Q$.Constraint)(t,p,f)}function d(p){return(0,Q$.Brand)(p,t)}}F$.create=BZa;function MZa(r,t,n){return r._innerValidate(t,n)}F$.innerValidate=MZa;function DZa(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var Cxt=C(bxt=>{"use strict";Object.defineProperty(bxt,"__esModule",{value:!0});bxt.Unknown=void 0;var NZa=$A(),PZa=bf(),kZa={tag:"unknown"};bxt.Unknown=(0,NZa.create)(function(r){return(0,PZa.SUCCESS)(r)},kZa)});var hAi=C(Ixt=>{"use strict";Object.defineProperty(Ixt,"__esModule",{value:!0});Ixt.Never=void 0;var QZa=$A(),FZa=bf(),LZa={tag:"never"};Ixt.Never=(0,QZa.create)(FZa.FAILURE.NOTHING_EXPECTED,LZa)});var gAi=C(vxt=>{"use strict";Object.defineProperty(vxt,"__esModule",{value:!0});vxt.Void=void 0;var zZa=Cxt();vxt.Void=zZa.Unknown});var KOr=C(rxe=>{"use strict";var _xt=rxe&&rxe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rxe,"__esModule",{value:!0});rxe.Union=void 0;var xxt=$A(),HJe=bf();function qZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,xxt.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=_xt(r),y=h.next();!y.done;y=h.next()){var I=y.value;if((0,xxt.innerValidate)(I,o,s).success)return(0,HJe.SUCCESS)(o)}}catch(X){a={error:X}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return HJe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var T=_xt(r),S=T.next();!S.done;S=T.next()){var I=S.value;if(I.reflect.tag==="record"){var w=function(J){var F=I.reflect.fields[J];F.tag==="literal"&&(v[J]?v[J].every(function(te){return te!==F.value})&&v[J].push(F.value):v[J]=[F.value])};for(var Q in I.reflect.fields)w(Q)}}}catch(X){c={error:X}}finally{try{S&&!S.done&&(u=T.return)&&u.call(T)}finally{if(c)throw c.error}}for(var Q in v)if(v[Q].length===r.length)try{for(var L=(d=void 0,_xt(r)),H=L.next();!H.done;H=L.next()){var I=H.value;if(I.reflect.tag==="record"){var V=I.reflect.fields[Q];if(V.tag==="literal"&&(0,HJe.hasKey)(Q,o)&&o[Q]===V.value)return(0,xxt.innerValidate)(I,o,s)}}}catch(J){d={error:J}}finally{try{H&&!H.done&&(p=L.return)&&p.call(L)}finally{if(d)throw d.error}}try{for(var ne=_xt(r),ee=ne.next();!ee.done;ee=ne.next()){var U=ee.value;if((0,xxt.innerValidate)(U,o,s).success)return(0,HJe.SUCCESS)(o)}}catch(X){f={error:X}}finally{try{ee&&!ee.done&&(A=ne.return)&&A.call(ne)}finally{if(f)throw f.error}}return HJe.FAILURE.TYPE_INCORRECT(i,o)},i)}rxe.Union=qZa});var $Or=C(A_=>{"use strict";Object.defineProperty(A_,"__esModule",{value:!0});A_.Nullish=A_.Null=A_.Undefined=A_.Literal=A_.literal=void 0;var UZa=$A(),mAi=bf(),jZa=KOr();function JOr(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}A_.literal=JOr;function XOr(r){var t={tag:"literal",value:r};return(0,UZa.create)(function(n){return n===r?(0,mAi.SUCCESS)(n):mAi.FAILURE.VALUE_INCORRECT("literal","`".concat(JOr(r),"`"),"`".concat(JOr(n),"`"))},t)}A_.Literal=XOr;A_.Undefined=XOr(void 0);A_.Null=XOr(null);A_.Nullish=(0,jZa.Union)(A_.Null,A_.Undefined)});var IAi=C(HP=>{"use strict";var L$=HP&&HP.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},ZOr=HP&&HP.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},yAi=HP&&HP.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(HP,"__esModule",{value:!0});HP.Template=void 0;var Txt=$A(),EAi=WJe(),wG=bf(),CAi=$Or(),e5r=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},GZa=function(r){if(0<r.length&&Array.isArray(r[0])){var t=L$(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,Txt.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(Txt.isRuntype);return[n,i]}},WZa=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,ZOr([n,1],L$(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,ZOr(ZOr([n,2,r[n]+l],L$(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=KJe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=KJe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},HZa=function(r){var t=L$(GZa(r),2),n=t[0],i=t[1];return WZa(n,i),[n,i]},KJe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return KJe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return KJe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return KJe(r.reflect.intersectees[0]);break;default:break}throw void 0},bAi=function(r){return r},t5r={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},YJe=function(r){switch(r.tag){case"literal":{var t=L$(t5r[(0,wG.typeOf)(r.value)]||[bAi],1),n=t[0];return n}case"brand":return YJe(r.entity);case"constraint":return YJe(r.underlying);case"union":return r.alternatives.map(YJe);case"intersect":return r.intersectees.map(YJe);default:var i=L$(t5r[r.tag]||[bAi],1),o=i[0];return o}},r5r=function(r,t){return function(n){var i,o,s,a,l=YJe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=yAi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=r5r(d.reflect,t)(n);if(p.success)return p}}catch(I){i={error:I}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return wG.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=yAi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=r5r(h.reflect,t)(n);if(!p.success)return p}}catch(I){s={error:I}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,wG.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,Txt.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?wG.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,CAi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},VJe=function(r){switch(r.tag){case"literal":return e5r(String(r.value));case"brand":return VJe(r.entity);case"constraint":return VJe(r.underlying);case"union":return r.alternatives.map(VJe).join("|");case"template":return r.strings.map(e5r).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(VJe(l.reflect),")"):a},"");default:var t=L$(t5r[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},YZa=function(r){var t=r.strings.map(e5r).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(VJe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function VZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=L$(HZa(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=YZa(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=r5r(A.reflect,u)(h);if(!y.success)return y}return(0,wG.SUCCESS)(c)}else return wG.FAILURE.VALUE_INCORRECT("string","".concat((0,EAi.default)(s)),'"'.concat((0,CAi.literal)(c),'"'))};return(0,Txt.create)(function(c,u){if(typeof c!="string")return wG.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,wG.SUCCESS)(c);var p=wG.FAILURE.VALUE_INCORRECT("string","".concat((0,EAi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}HP.Template=VZa});var xAi=C(Sxt=>{"use strict";Object.defineProperty(Sxt,"__esModule",{value:!0});Sxt.Boolean=void 0;var KZa=$A(),vAi=bf(),_Ai={tag:"boolean"};Sxt.Boolean=(0,KZa.create)(function(r){return typeof r=="boolean"?(0,vAi.SUCCESS)(r):vAi.FAILURE.TYPE_INCORRECT(_Ai,r)},_Ai)});var OAi=C(Oxt=>{"use strict";Object.defineProperty(Oxt,"__esModule",{value:!0});Oxt.Number=void 0;var JZa=$A(),TAi=bf(),SAi={tag:"number"};Oxt.Number=(0,JZa.create)(function(r){return typeof r=="number"?(0,TAi.SUCCESS)(r):TAi.FAILURE.TYPE_INCORRECT(SAi,r)},SAi)});var BAi=C(wxt=>{"use strict";Object.defineProperty(wxt,"__esModule",{value:!0});wxt.BigInt=void 0;var XZa=$A(),wAi=bf(),RAi={tag:"bigint"};wxt.BigInt=(0,XZa.create)(function(r){return typeof r=="bigint"?(0,wAi.SUCCESS)(r):wAi.FAILURE.TYPE_INCORRECT(RAi,r)},RAi)});var n5r=C(Rxt=>{"use strict";Object.defineProperty(Rxt,"__esModule",{value:!0});Rxt.String=void 0;var $Za=$A(),MAi=bf(),DAi={tag:"string"};Rxt.String=(0,$Za.create)(function(r){return typeof r=="string"?(0,MAi.SUCCESS)(r):MAi.FAILURE.TYPE_INCORRECT(DAi,r)},DAi)});var QAi=C(Bxt=>{"use strict";Object.defineProperty(Bxt,"__esModule",{value:!0});Bxt.Symbol=void 0;var kAi=$A(),JJe=bf(),ZZa=function(r){var t={tag:"symbol",key:r};return(0,kAi.create)(function(n){if(typeof n!="symbol")return JJe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?JJe.FAILURE.VALUE_INCORRECT("symbol key",PAi(r),PAi(i)):(0,JJe.SUCCESS)(n)},t)},NAi={tag:"symbol"};Bxt.Symbol=(0,kAi.create)(function(r){return typeof r=="symbol"?(0,JJe.SUCCESS)(r):JJe.FAILURE.TYPE_INCORRECT(NAi,r)},Object.assign(ZZa,NAi));var PAi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var zAi=C(Mxt=>{"use strict";Object.defineProperty(Mxt,"__esModule",{value:!0});Mxt.Array=void 0;var FAi=$A(),XJe=bf();function LAi(r,t){var n={tag:"array",isReadonly:t,element:r};return tel((0,FAi.create)(function(i,o){if(!Array.isArray(i))return XJe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,XJe.enumerableKeysOf)(i),a=s.map(function(c){return(0,FAi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,XJe.enumerableKeysOf)(l).length!==0?XJe.FAILURE.CONTENT_INCORRECT(n,l):(0,XJe.SUCCESS)(i)},n))}function eel(r){return LAi(r,!1)}Mxt.Array=eel;function tel(r){return r.asReadonly=t,r;function t(){return LAi(r.element,!0)}}});var UAi=C(Dxt=>{"use strict";Object.defineProperty(Dxt,"__esModule",{value:!0});Dxt.Tuple=void 0;var qAi=$A(),nxe=bf();function rel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,qAi.create)(function(i,o){if(!Array.isArray(i))return nxe.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return nxe.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,nxe.enumerableKeysOf)(i),a=s.map(function(c){return(0,qAi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,nxe.enumerableKeysOf)(l).length!==0?nxe.FAILURE.CONTENT_INCORRECT(n,l):(0,nxe.SUCCESS)(i)},n)}Dxt.Tuple=rel});var GAi=C(Dw=>{"use strict";var i5r=Dw&&Dw.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},o5r=Dw&&Dw.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(Dw,"__esModule",{value:!0});Dw.Partial=Dw.Record=Dw.InternalRecord=void 0;var jAi=$A(),h_=bf();function z$(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return oel((0,jAi.create)(function(o,s){if(o==null)return h_.FAILURE.TYPE_INCORRECT(i,o);var a=(0,h_.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return h_.FAILURE.TYPE_INCORRECT(i,o);var l=o5r([],i5r(new Set(o5r(o5r([],i5r(a),!1),i5r((0,h_.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,h_.hasKey)(p,r),A=(0,h_.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var I=o[p];y&&I===void 0?d[p]=(0,h_.SUCCESS)(I):d[p]=(0,jAi.innerValidate)(h,I,s)}else y?d[p]=(0,h_.SUCCESS)(void 0):d[p]=h_.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var I=o[p];d[p]=(0,h_.SUCCESS)(I)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,h_.enumerableKeysOf)(u).length!==0?h_.FAILURE.CONTENT_INCORRECT(i,u):(0,h_.SUCCESS)(o)},i))}Dw.InternalRecord=z$;function nel(r){return z$(r,!1,!1)}Dw.Record=nel;function iel(r){return z$(r,!0,!1)}Dw.Partial=iel;function oel(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return z$(r.fields,!0,r.isReadonly)}function n(){return z$(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),z$(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,h_.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),z$(c,r.isPartial,r.isReadonly)}function s(a){return z$(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var a5r=C(ixe=>{"use strict";Object.defineProperty(ixe,"__esModule",{value:!0});ixe.Guard=ixe.Constraint=void 0;var sel=$A(),s5r=bf(),ael=Cxt();function lel(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,sel.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?s5r.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,s5r.SUCCESS)(l.value):s5r.FAILURE.CONSTRAINT_FAILED(s)},s)}ixe.Constraint=lel;var uel=function(r,t){return ael.Unknown.withGuard(r,t)};ixe.Guard=uel});var HAi=C(Nxt=>{"use strict";Object.defineProperty(Nxt,"__esModule",{value:!0});Nxt.Dictionary=void 0;var WAi=$A(),l5r=n5r(),cel=a5r(),del=WJe(),z1e=bf(),pel=(0,cel.Constraint)(l5r.String,function(r){return!isNaN(+r)},{name:"number"});function fel(r,t){var n=t===void 0||t==="string"?l5r.String:t==="number"?pel:t,i=(0,del.default)(n),o={tag:"dictionary",key:i,value:r};return(0,WAi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return z1e.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,z1e.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=z1e.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,WAi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,z1e.enumerableKeysOf)(d).length!==0?z1e.FAILURE.CONTENT_INCORRECT(o,d):(0,z1e.SUCCESS)(s)},o)}Nxt.Dictionary=fel});var VAi=C(oxe=>{"use strict";var Ael=oxe&&oxe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(oxe,"__esModule",{value:!0});oxe.Intersect=void 0;var YAi=$A(),hel=bf();function gel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,YAi.create)(function(i,o){var s,a;try{for(var l=Ael(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,YAi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,hel.SUCCESS)(i)},n)}oxe.Intersect=gel});var KAi=C(Pxt=>{"use strict";Object.defineProperty(Pxt,"__esModule",{value:!0});Pxt.Optional=void 0;var mel=$A(),yel=bf();function Eel(r){var t={tag:"optional",underlying:r};return(0,mel.create)(function(n){return n===void 0?(0,yel.SUCCESS)(n):r.validate(n)},t)}Pxt.Optional=Eel});var $Ai=C(kxt=>{"use strict";Object.defineProperty(kxt,"__esModule",{value:!0});kxt.Function=void 0;var bel=$A(),JAi=bf(),XAi={tag:"function"};kxt.Function=(0,bel.create)(function(r){return typeof r=="function"?(0,JAi.SUCCESS)(r):JAi.FAILURE.TYPE_INCORRECT(XAi,r)},XAi)});var ehi=C(Qxt=>{"use strict";Object.defineProperty(Qxt,"__esModule",{value:!0});Qxt.InstanceOf=void 0;var Cel=$A(),ZAi=bf();function Iel(r){var t={tag:"instanceof",ctor:r};return(0,Cel.create)(function(n){return n instanceof r?(0,ZAi.SUCCESS)(n):ZAi.FAILURE.TYPE_INCORRECT(t,n)},t)}Qxt.InstanceOf=Iel});var thi=C(Fxt=>{"use strict";Object.defineProperty(Fxt,"__esModule",{value:!0});Fxt.Lazy=void 0;var vel=$A();function _el(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,vel.create)(function(o){return i().validate(o)},t)}Fxt.Lazy=_el});var rhi=C(Lxt=>{"use strict";Object.defineProperty(Lxt,"__esModule",{value:!0});Lxt.Brand=void 0;var xel=$A();function Tel(r,t){var n={tag:"brand",brand:r,entity:t};return(0,xel.create)(function(i){return t.validate(i)},n)}Lxt.Brand=Tel});var nhi=C(sxe=>{"use strict";Object.defineProperty(sxe,"__esModule",{value:!0});sxe.checked=sxe.check=void 0;var Sel=txe(),Oel=bf(),u5r=new WeakMap;function wel(r,t,n){var i=u5r.get(r)||new Map;u5r.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}sxe.check=wel;function Rel(r,t,n){var i=u5r.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function Bel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=Rel(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=Oel.FAILURE.ARGUMENT_INCORRECT(h);throw new Sel.ValidationError(y)}}),s.apply(this,c)}}}sxe.checked=Bel});var e3=C(hl=>{"use strict";var Mel=hl&&hl.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),yp=hl&&hl.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Mel(t,r,n)};Object.defineProperty(hl,"__esModule",{value:!0});hl.InstanceOf=hl.Nullish=hl.Null=hl.Undefined=hl.Literal=void 0;yp(sAi(),hl);yp(HOr(),hl);yp(lAi(),hl);yp(dAi(),hl);yp(pAi(),hl);yp(txe(),hl);yp(Cxt(),hl);yp(hAi(),hl);yp(gAi(),hl);var zxt=$Or();Object.defineProperty(hl,"Literal",{enumerable:!0,get:function(){return zxt.Literal}});Object.defineProperty(hl,"Undefined",{enumerable:!0,get:function(){return zxt.Undefined}});Object.defineProperty(hl,"Null",{enumerable:!0,get:function(){return zxt.Null}});Object.defineProperty(hl,"Nullish",{enumerable:!0,get:function(){return zxt.Nullish}});yp(IAi(),hl);yp(xAi(),hl);yp(OAi(),hl);yp(BAi(),hl);yp(n5r(),hl);yp(QAi(),hl);yp(zAi(),hl);yp(UAi(),hl);yp(GAi(),hl);yp(HAi(),hl);yp(KOr(),hl);yp(VAi(),hl);yp(KAi(),hl);yp($Ai(),hl);var Del=ehi();Object.defineProperty(hl,"InstanceOf",{enumerable:!0,get:function(){return Del.InstanceOf}});yp(thi(),hl);yp(a5r(),hl);yp(rhi(),hl);yp(nhi(),hl)});var $Je=C((_5d,ihi)=>{var Nel="2.0.0",Pel=Number.MAX_SAFE_INTEGER||9007199254740991,kel=16,Qel=256-6,Fel=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ihi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:kel,MAX_SAFE_BUILD_LENGTH:Qel,MAX_SAFE_INTEGER:Pel,RELEASE_TYPES:Fel,SEMVER_SPEC_VERSION:Nel,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ZJe=C((x5d,ohi)=>{var Lel=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ohi.exports=Lel});var axe=C((RG,shi)=>{var{MAX_SAFE_COMPONENT_LENGTH:c5r,MAX_SAFE_BUILD_LENGTH:zel,MAX_LENGTH:qel}=$Je(),Uel=ZJe();RG=shi.exports={};var jel=RG.re=[],Gel=RG.safeRe=[],es=RG.src=[],ts=RG.t={},Wel=0,d5r="[a-zA-Z0-9-]",Hel=[["\\s",1],["\\d",qel],[d5r,zel]],Yel=r=>{for(let[t,n]of Hel)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},$l=(r,t,n)=>{let i=Yel(t),o=Wel++;Uel(r,o,t),ts[r]=o,es[o]=t,jel[o]=new RegExp(t,n?"g":void 0),Gel[o]=new RegExp(i,n?"g":void 0)};$l("NUMERICIDENTIFIER","0|[1-9]\\d*");$l("NUMERICIDENTIFIERLOOSE","\\d+");$l("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d5r}*`);$l("MAINVERSION",`(${es[ts.NUMERICIDENTIFIER]})\\.(${es[ts.NUMERICIDENTIFIER]})\\.(${es[ts.NUMERICIDENTIFIER]})`);$l("MAINVERSIONLOOSE",`(${es[ts.NUMERICIDENTIFIERLOOSE]})\\.(${es[ts.NUMERICIDENTIFIERLOOSE]})\\.(${es[ts.NUMERICIDENTIFIERLOOSE]})`);$l("PRERELEASEIDENTIFIER",`(?:${es[ts.NUMERICIDENTIFIER]}|${es[ts.NONNUMERICIDENTIFIER]})`);$l("PRERELEASEIDENTIFIERLOOSE",`(?:${es[ts.NUMERICIDENTIFIERLOOSE]}|${es[ts.NONNUMERICIDENTIFIER]})`);$l("PRERELEASE",`(?:-(${es[ts.PRERELEASEIDENTIFIER]}(?:\\.${es[ts.PRERELEASEIDENTIFIER]})*))`);$l("PRERELEASELOOSE",`(?:-?(${es[ts.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${es[ts.PRERELEASEIDENTIFIERLOOSE]})*))`);$l("BUILDIDENTIFIER",`${d5r}+`);$l("BUILD",`(?:\\+(${es[ts.BUILDIDENTIFIER]}(?:\\.${es[ts.BUILDIDENTIFIER]})*))`);$l("FULLPLAIN",`v?${es[ts.MAINVERSION]}${es[ts.PRERELEASE]}?${es[ts.BUILD]}?`);$l("FULL",`^${es[ts.FULLPLAIN]}$`);$l("LOOSEPLAIN",`[v=\\s]*${es[ts.MAINVERSIONLOOSE]}${es[ts.PRERELEASELOOSE]}?${es[ts.BUILD]}?`);$l("LOOSE",`^${es[ts.LOOSEPLAIN]}$`);$l("GTLT","((?:<|>)?=?)");$l("XRANGEIDENTIFIERLOOSE",`${es[ts.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$l("XRANGEIDENTIFIER",`${es[ts.NUMERICIDENTIFIER]}|x|X|\\*`);$l("XRANGEPLAIN",`[v=\\s]*(${es[ts.XRANGEIDENTIFIER]})(?:\\.(${es[ts.XRANGEIDENTIFIER]})(?:\\.(${es[ts.XRANGEIDENTIFIER]})(?:${es[ts.PRERELEASE]})?${es[ts.BUILD]}?)?)?`);$l("XRANGEPLAINLOOSE",`[v=\\s]*(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:\\.(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:\\.(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:${es[ts.PRERELEASELOOSE]})?${es[ts.BUILD]}?)?)?`);$l("XRANGE",`^${es[ts.GTLT]}\\s*${es[ts.XRANGEPLAIN]}$`);$l("XRANGELOOSE",`^${es[ts.GTLT]}\\s*${es[ts.XRANGEPLAINLOOSE]}$`);$l("COERCE",`(^|[^\\d])(\\d{1,${c5r}})(?:\\.(\\d{1,${c5r}}))?(?:\\.(\\d{1,${c5r}}))?(?:$|[^\\d])`);$l("COERCERTL",es[ts.COERCE],!0);$l("LONETILDE","(?:~>?)");$l("TILDETRIM",`(\\s*)${es[ts.LONETILDE]}\\s+`,!0);RG.tildeTrimReplace="$1~";$l("TILDE",`^${es[ts.LONETILDE]}${es[ts.XRANGEPLAIN]}$`);$l("TILDELOOSE",`^${es[ts.LONETILDE]}${es[ts.XRANGEPLAINLOOSE]}$`);$l("LONECARET","(?:\\^)");$l("CARETTRIM",`(\\s*)${es[ts.LONECARET]}\\s+`,!0);RG.caretTrimReplace="$1^";$l("CARET",`^${es[ts.LONECARET]}${es[ts.XRANGEPLAIN]}$`);$l("CARETLOOSE",`^${es[ts.LONECARET]}${es[ts.XRANGEPLAINLOOSE]}$`);$l("COMPARATORLOOSE",`^${es[ts.GTLT]}\\s*(${es[ts.LOOSEPLAIN]})$|^$`);$l("COMPARATOR",`^${es[ts.GTLT]}\\s*(${es[ts.FULLPLAIN]})$|^$`);$l("COMPARATORTRIM",`(\\s*)${es[ts.GTLT]}\\s*(${es[ts.LOOSEPLAIN]}|${es[ts.XRANGEPLAIN]})`,!0);RG.comparatorTrimReplace="$1$2$3";$l("HYPHENRANGE",`^\\s*(${es[ts.XRANGEPLAIN]})\\s+-\\s+(${es[ts.XRANGEPLAIN]})\\s*$`);$l("HYPHENRANGELOOSE",`^\\s*(${es[ts.XRANGEPLAINLOOSE]})\\s+-\\s+(${es[ts.XRANGEPLAINLOOSE]})\\s*$`);$l("STAR","(<|>)?=?\\s*\\*");$l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var qxt=C((T5d,ahi)=>{var Vel=Object.freeze({loose:!0}),Kel=Object.freeze({}),Jel=r=>r?typeof r!="object"?Vel:r:Kel;ahi.exports=Jel});var p5r=C((S5d,chi)=>{var lhi=/^[0-9]+$/,uhi=(r,t)=>{let n=lhi.test(r),i=lhi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},Xel=(r,t)=>uhi(t,r);chi.exports={compareIdentifiers:uhi,rcompareIdentifiers:Xel}});var Hb=C((O5d,Ahi)=>{var Uxt=ZJe(),{MAX_LENGTH:dhi,MAX_SAFE_INTEGER:jxt}=$Je(),{safeRe:phi,t:fhi}=axe(),$el=qxt(),{compareIdentifiers:lxe}=p5r(),mS=class{constructor(t,n){if(n=$el(n),t instanceof mS){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>dhi)throw new TypeError(`version is longer than ${dhi} characters`);Uxt("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?phi[fhi.LOOSE]:phi[fhi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>jxt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jxt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jxt||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<jxt)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Uxt("SemVer.compare",this.version,this.options,t),!(t instanceof mS)){if(typeof t=="string"&&t===this.version)return 0;t=new mS(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof mS||(t=new mS(t,this.options)),lxe(this.major,t.major)||lxe(this.minor,t.minor)||lxe(this.patch,t.patch)}comparePre(t){if(t instanceof mS||(t=new mS(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(Uxt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return lxe(i,o)}while(++n)}compareBuild(t){t instanceof mS||(t=new mS(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(Uxt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return lxe(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),lxe(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Ahi.exports=mS});var q1e=C((w5d,ghi)=>{var hhi=Hb(),Zel=(r,t,n=!1)=>{if(r instanceof hhi)return r;try{return new hhi(r,t)}catch(i){if(!n)return null;throw i}};ghi.exports=Zel});var yhi=C((R5d,mhi)=>{var etl=q1e(),ttl=(r,t)=>{let n=etl(r,t);return n?n.version:null};mhi.exports=ttl});var bhi=C((B5d,Ehi)=>{var rtl=q1e(),ntl=(r,t)=>{let n=rtl(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Ehi.exports=ntl});var vhi=C((M5d,Ihi)=>{var Chi=Hb(),itl=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new Chi(r instanceof Chi?r.version:r,n).inc(t,i,o).version}catch{return null}};Ihi.exports=itl});var Thi=C((D5d,xhi)=>{var _hi=q1e(),otl=(r,t)=>{let n=_hi(r,null,!0),i=_hi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};xhi.exports=otl});var Ohi=C((N5d,Shi)=>{var stl=Hb(),atl=(r,t)=>new stl(r,t).major;Shi.exports=atl});var Rhi=C((P5d,whi)=>{var ltl=Hb(),utl=(r,t)=>new ltl(r,t).minor;whi.exports=utl});var Mhi=C((k5d,Bhi)=>{var ctl=Hb(),dtl=(r,t)=>new ctl(r,t).patch;Bhi.exports=dtl});var Nhi=C((Q5d,Dhi)=>{var ptl=q1e(),ftl=(r,t)=>{let n=ptl(r,t);return n&&n.prerelease.length?n.prerelease:null};Dhi.exports=ftl});var Nw=C((F5d,khi)=>{var Phi=Hb(),Atl=(r,t,n)=>new Phi(r,n).compare(new Phi(t,n));khi.exports=Atl});var Fhi=C((L5d,Qhi)=>{var htl=Nw(),gtl=(r,t,n)=>htl(t,r,n);Qhi.exports=gtl});var zhi=C((z5d,Lhi)=>{var mtl=Nw(),ytl=(r,t)=>mtl(r,t,!0);Lhi.exports=ytl});var Gxt=C((q5d,Uhi)=>{var qhi=Hb(),Etl=(r,t,n)=>{let i=new qhi(r,n),o=new qhi(t,n);return i.compare(o)||i.compareBuild(o)};Uhi.exports=Etl});var Ghi=C((U5d,jhi)=>{var btl=Gxt(),Ctl=(r,t)=>r.sort((n,i)=>btl(n,i,t));jhi.exports=Ctl});var Hhi=C((j5d,Whi)=>{var Itl=Gxt(),vtl=(r,t)=>r.sort((n,i)=>Itl(i,n,t));Whi.exports=vtl});var eXe=C((G5d,Yhi)=>{var _tl=Nw(),xtl=(r,t,n)=>_tl(r,t,n)>0;Yhi.exports=xtl});var Wxt=C((W5d,Vhi)=>{var Ttl=Nw(),Stl=(r,t,n)=>Ttl(r,t,n)<0;Vhi.exports=Stl});var f5r=C((H5d,Khi)=>{var Otl=Nw(),wtl=(r,t,n)=>Otl(r,t,n)===0;Khi.exports=wtl});var A5r=C((Y5d,Jhi)=>{var Rtl=Nw(),Btl=(r,t,n)=>Rtl(r,t,n)!==0;Jhi.exports=Btl});var Hxt=C((V5d,Xhi)=>{var Mtl=Nw(),Dtl=(r,t,n)=>Mtl(r,t,n)>=0;Xhi.exports=Dtl});var Yxt=C((K5d,$hi)=>{var Ntl=Nw(),Ptl=(r,t,n)=>Ntl(r,t,n)<=0;$hi.exports=Ptl});var h5r=C((J5d,Zhi)=>{var ktl=f5r(),Qtl=A5r(),Ftl=eXe(),Ltl=Hxt(),ztl=Wxt(),qtl=Yxt(),Utl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return ktl(r,n,i);case"!=":return Qtl(r,n,i);case">":return Ftl(r,n,i);case">=":return Ltl(r,n,i);case"<":return ztl(r,n,i);case"<=":return qtl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};Zhi.exports=Utl});var tgi=C((X5d,egi)=>{var jtl=Hb(),Gtl=q1e(),{safeRe:Vxt,t:Kxt}=axe(),Wtl=(r,t)=>{if(r instanceof jtl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Vxt[Kxt.COERCE]);else{let i;for(;(i=Vxt[Kxt.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Vxt[Kxt.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Vxt[Kxt.COERCERTL].lastIndex=-1}return n===null?null:Gtl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};egi.exports=Wtl});var ngi=C(($5d,rgi)=>{"use strict";rgi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var g5r=C((Z5d,igi)=>{"use strict";igi.exports=s0;s0.Node=U1e;s0.create=s0;function s0(r){var t=this;if(t instanceof s0||(t=new s0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}s0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};s0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};s0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};s0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Ytl(this,arguments[r]);return this.length};s0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Vtl(this,arguments[r]);return this.length};s0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};s0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};s0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};s0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};s0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};s0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};s0.prototype.map=function(r,t){t=t||this;for(var n=new s0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};s0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new s0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};s0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};s0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};s0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};s0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};s0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new s0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};s0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new s0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};s0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=Htl(this,o,n[i]);return s};s0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function Htl(r,t,n){var i=t===r.head?new U1e(n,null,t,r):new U1e(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Ytl(r,t){r.tail=new U1e(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Vtl(r,t){r.head=new U1e(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function U1e(r,t,n,i){if(!(this instanceof U1e))return new U1e(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{ngi()(s0)}catch{}});var dxe=C((ewd,lgi)=>{"use strict";var Ktl=g5r(),j1e=Symbol("max"),MG=Symbol("length"),uxe=Symbol("lengthCalculator"),rXe=Symbol("allowStale"),G1e=Symbol("maxAge"),BG=Symbol("dispose"),ogi=Symbol("noDisposeOnSet"),my=Symbol("lruList"),E8=Symbol("cache"),agi=Symbol("updateAgeOnGet"),m5r=()=>1,E5r=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[j1e]=t.max||1/0,i=t.length||m5r;if(this[uxe]=typeof i!="function"?m5r:i,this[rXe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[G1e]=t.maxAge||0,this[BG]=t.dispose,this[ogi]=t.noDisposeOnSet||!1,this[agi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[j1e]=t||1/0,tXe(this)}get max(){return this[j1e]}set allowStale(t){this[rXe]=!!t}get allowStale(){return this[rXe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[G1e]=t,tXe(this)}get maxAge(){return this[G1e]}set lengthCalculator(t){typeof t!="function"&&(t=m5r),t!==this[uxe]&&(this[uxe]=t,this[MG]=0,this[my].forEach(n=>{n.length=this[uxe](n.value,n.key),this[MG]+=n.length})),tXe(this)}get lengthCalculator(){return this[uxe]}get length(){return this[MG]}get itemCount(){return this[my].length}rforEach(t,n){n=n||this;for(let i=this[my].tail;i!==null;){let o=i.prev;sgi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[my].head;i!==null;){let o=i.next;sgi(this,t,i,n),i=o}}keys(){return this[my].toArray().map(t=>t.key)}values(){return this[my].toArray().map(t=>t.value)}reset(){this[BG]&&this[my]&&this[my].length&&this[my].forEach(t=>this[BG](t.key,t.value)),this[E8]=new Map,this[my]=new Ktl,this[MG]=0}dump(){return this[my].map(t=>Jxt(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[my]}set(t,n,i){if(i=i||this[G1e],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[uxe](n,t);if(this[E8].has(t)){if(s>this[j1e])return cxe(this,this[E8].get(t)),!1;let c=this[E8].get(t).value;return this[BG]&&(this[ogi]||this[BG](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[MG]+=s-c.length,c.length=s,this.get(t),tXe(this),!0}let a=new b5r(t,n,s,o,i);return a.length>this[j1e]?(this[BG]&&this[BG](t,n),!1):(this[MG]+=a.length,this[my].unshift(a),this[E8].set(t,this[my].head),tXe(this),!0)}has(t){if(!this[E8].has(t))return!1;let n=this[E8].get(t).value;return!Jxt(this,n)}get(t){return y5r(this,t,!0)}peek(t){return y5r(this,t,!1)}pop(){let t=this[my].tail;return t?(cxe(this,t),t.value):null}del(t){cxe(this,this[E8].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[E8].forEach((t,n)=>y5r(this,n,!1))}},y5r=(r,t,n)=>{let i=r[E8].get(t);if(i){let o=i.value;if(Jxt(r,o)){if(cxe(r,i),!r[rXe])return}else n&&(r[agi]&&(i.value.now=Date.now()),r[my].unshiftNode(i));return o.value}},Jxt=(r,t)=>{if(!t||!t.maxAge&&!r[G1e])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[G1e]&&n>r[G1e]},tXe=r=>{if(r[MG]>r[j1e])for(let t=r[my].tail;r[MG]>r[j1e]&&t!==null;){let n=t.prev;cxe(r,t),t=n}},cxe=(r,t)=>{if(t){let n=t.value;r[BG]&&r[BG](n.key,n.value),r[MG]-=n.length,r[E8].delete(n.key),r[my].removeNode(t)}},b5r=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},sgi=(r,t,n,i)=>{let o=n.value;Jxt(r,o)&&(cxe(r,n),r[rXe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};lgi.exports=E5r});var Pw=C((twd,pgi)=>{var W1e=class{constructor(t,n){if(n=Xtl(n),t instanceof W1e)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new W1e(t.raw,n);if(t instanceof C5r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!cgi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&irl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&rrl)|(this.options.loose&&nrl))+":"+t,o=ugi.get(i);if(o)return o;let s=this.options.loose,a=s?g_[nv.HYPHENRANGELOOSE]:g_[nv.HYPHENRANGE];t=t.replace(a,Arl(this.options.includePrerelease)),P1("hyphen replace",t),t=t.replace(g_[nv.COMPARATORTRIM],Ztl),P1("comparator trim",t),t=t.replace(g_[nv.TILDETRIM],erl),P1("tilde trim",t),t=t.replace(g_[nv.CARETTRIM],trl),P1("caret trim",t);let l=t.split(" ").map(p=>orl(p,this.options)).join(" ").split(/\s+/).map(p=>frl(p,this.options));s&&(l=l.filter(p=>(P1("loose invalid filter",p,this.options),!!p.match(g_[nv.COMPARATORLOOSE])))),P1("range list",l);let c=new Map,u=l.map(p=>new C5r(p,this.options));for(let p of u){if(cgi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return ugi.set(i,d),d}intersects(t,n){if(!(t instanceof W1e))throw new TypeError("a Range is required");return this.set.some(i=>dgi(i,n)&&t.set.some(o=>dgi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new $tl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(hrl(this.set[n],t,this.options))return!0;return!1}};pgi.exports=W1e;var Jtl=dxe(),ugi=new Jtl({max:1e3}),Xtl=qxt(),C5r=nXe(),P1=ZJe(),$tl=Hb(),{safeRe:g_,t:nv,comparatorTrimReplace:Ztl,tildeTrimReplace:erl,caretTrimReplace:trl}=axe(),{FLAG_INCLUDE_PRERELEASE:rrl,FLAG_LOOSE:nrl}=$Je(),cgi=r=>r.value==="<0.0.0-0",irl=r=>r.value==="",dgi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},orl=(r,t)=>(P1("comp",r,t),r=lrl(r,t),P1("caret",r),r=srl(r,t),P1("tildes",r),r=crl(r,t),P1("xrange",r),r=prl(r,t),P1("stars",r),r),iv=r=>!r||r.toLowerCase()==="x"||r==="*",srl=(r,t)=>r.trim().split(/\s+/).map(n=>arl(n,t)).join(" "),arl=(r,t)=>{let n=t.loose?g_[nv.TILDELOOSE]:g_[nv.TILDE];return r.replace(n,(i,o,s,a,l)=>{P1("tilde",r,i,o,s,a,l);let c;return iv(o)?c="":iv(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:iv(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(P1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,P1("tilde return",c),c})},lrl=(r,t)=>r.trim().split(/\s+/).map(n=>url(n,t)).join(" "),url=(r,t)=>{P1("caret",r,t);let n=t.loose?g_[nv.CARETLOOSE]:g_[nv.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{P1("caret",r,o,s,a,l,c);let u;return iv(s)?u="":iv(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:iv(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(P1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(P1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),P1("caret return",u),u})},crl=(r,t)=>(P1("replaceXRanges",r,t),r.split(/\s+/).map(n=>drl(n,t)).join(" ")),drl=(r,t)=>{r=r.trim();let n=t.loose?g_[nv.XRANGELOOSE]:g_[nv.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{P1("xRange",r,i,o,s,a,l,c);let u=iv(s),d=u||iv(a),p=d||iv(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),P1("xRange return",i),i})},prl=(r,t)=>(P1("replaceStars",r,t),r.trim().replace(g_[nv.STAR],"")),frl=(r,t)=>(P1("replaceGTE0",r,t),r.trim().replace(g_[t.includePrerelease?nv.GTE0PRE:nv.GTE0],"")),Arl=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(iv(i)?n="":iv(o)?n=`>=${i}.0.0${r?"-0":""}`:iv(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,iv(u)?c="":iv(d)?c=`<${+u+1}.0.0-0`:iv(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),hrl=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(P1(r[i].semver),r[i].semver!==C5r.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var nXe=C((rwd,ygi)=>{var iXe=Symbol("SemVer ANY"),pxe=class{static get ANY(){return iXe}constructor(t,n){if(n=fgi(n),t instanceof pxe){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),v5r("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===iXe?this.value="":this.value=this.operator+this.semver.version,v5r("comp",this)}parse(t){let n=this.options.loose?Agi[hgi.COMPARATORLOOSE]:Agi[hgi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new ggi(i[2],this.options.loose):this.semver=iXe}toString(){return this.value}test(t){if(v5r("Comparator.test",t,this.options.loose),this.semver===iXe||t===iXe)return!0;if(typeof t=="string")try{t=new ggi(t,this.options)}catch{return!1}return I5r(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof pxe))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new mgi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new mgi(this.value,n).test(t.semver):(n=fgi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||I5r(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||I5r(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};ygi.exports=pxe;var fgi=qxt(),{safeRe:Agi,t:hgi}=axe(),I5r=h5r(),v5r=ZJe(),ggi=Hb(),mgi=Pw()});var oXe=C((nwd,Egi)=>{var grl=Pw(),mrl=(r,t,n)=>{try{t=new grl(t,n)}catch{return!1}return t.test(r)};Egi.exports=mrl});var Cgi=C((iwd,bgi)=>{var yrl=Pw(),Erl=(r,t)=>new yrl(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));bgi.exports=Erl});var vgi=C((owd,Igi)=>{var brl=Hb(),Crl=Pw(),Irl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new Crl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new brl(i,n))}),i};Igi.exports=Irl});var xgi=C((swd,_gi)=>{var vrl=Hb(),_rl=Pw(),xrl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new _rl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new vrl(i,n))}),i};_gi.exports=xrl});var Ogi=C((awd,Sgi)=>{var _5r=Hb(),Trl=Pw(),Tgi=eXe(),Srl=(r,t)=>{r=new Trl(r,t);let n=new _5r("0.0.0");if(r.test(n)||(n=new _5r("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new _5r(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Tgi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Tgi(n,s))&&(n=s)}return n&&r.test(n)?n:null};Sgi.exports=Srl});var Rgi=C((lwd,wgi)=>{var Orl=Pw(),wrl=(r,t)=>{try{return new Orl(r,t).range||"*"}catch{return null}};wgi.exports=wrl});var Xxt=C((uwd,Ngi)=>{var Rrl=Hb(),Dgi=nXe(),{ANY:Brl}=Dgi,Mrl=Pw(),Drl=oXe(),Bgi=eXe(),Mgi=Wxt(),Nrl=Yxt(),Prl=Hxt(),krl=(r,t,n,i)=>{r=new Rrl(r,i),t=new Mrl(t,i);let o,s,a,l,c;switch(n){case">":o=Bgi,s=Nrl,a=Mgi,l=">",c=">=";break;case"<":o=Mgi,s=Prl,a=Bgi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Drl(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===Brl&&(A=new Dgi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};Ngi.exports=krl});var kgi=C((cwd,Pgi)=>{var Qrl=Xxt(),Frl=(r,t,n)=>Qrl(r,t,">",n);Pgi.exports=Frl});var Fgi=C((dwd,Qgi)=>{var Lrl=Xxt(),zrl=(r,t,n)=>Lrl(r,t,"<",n);Qgi.exports=zrl});var qgi=C((pwd,zgi)=>{var Lgi=Pw(),qrl=(r,t,n)=>(r=new Lgi(r,n),t=new Lgi(t,n),r.intersects(t,n));zgi.exports=qrl});var jgi=C((fwd,Ugi)=>{var Url=oXe(),jrl=Nw();Ugi.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>jrl(d,p,n));for(let d of a)Url(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var Kgi=C((Awd,Vgi)=>{var Ggi=Pw(),T5r=nXe(),{ANY:x5r}=T5r,sXe=oXe(),S5r=Nw(),Grl=(r,t,n={})=>{if(r===t)return!0;r=new Ggi(r,n),t=new Ggi(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=Hrl(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},Wrl=[new T5r(">=0.0.0-0")],Wgi=[new T5r(">=0.0.0")],Hrl=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===x5r){if(t.length===1&&t[0].semver===x5r)return!0;n.includePrerelease?r=Wrl:r=Wgi}if(t.length===1&&t[0].semver===x5r){if(n.includePrerelease)return!0;t=Wgi}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=Hgi(o,A,n):A.operator==="<"||A.operator==="<="?s=Ygi(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=S5r(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!sXe(A,String(o),n)||s&&!sXe(A,String(s),n))return null;for(let h of t)if(!sXe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=Hgi(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!sXe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=Ygi(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!sXe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},Hgi=(r,t,n)=>{if(!r)return t;let i=S5r(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},Ygi=(r,t,n)=>{if(!r)return t;let i=S5r(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};Vgi.exports=Grl});var aXe=C((hwd,$gi)=>{var O5r=axe(),Jgi=$Je(),Yrl=Hb(),Xgi=p5r(),Vrl=q1e(),Krl=yhi(),Jrl=bhi(),Xrl=vhi(),$rl=Thi(),Zrl=Ohi(),enl=Rhi(),tnl=Mhi(),rnl=Nhi(),nnl=Nw(),inl=Fhi(),onl=zhi(),snl=Gxt(),anl=Ghi(),lnl=Hhi(),unl=eXe(),cnl=Wxt(),dnl=f5r(),pnl=A5r(),fnl=Hxt(),Anl=Yxt(),hnl=h5r(),gnl=tgi(),mnl=nXe(),ynl=Pw(),Enl=oXe(),bnl=Cgi(),Cnl=vgi(),Inl=xgi(),vnl=Ogi(),_nl=Rgi(),xnl=Xxt(),Tnl=kgi(),Snl=Fgi(),Onl=qgi(),wnl=jgi(),Rnl=Kgi();$gi.exports={parse:Vrl,valid:Krl,clean:Jrl,inc:Xrl,diff:$rl,major:Zrl,minor:enl,patch:tnl,prerelease:rnl,compare:nnl,rcompare:inl,compareLoose:onl,compareBuild:snl,sort:anl,rsort:lnl,gt:unl,lt:cnl,eq:dnl,neq:pnl,gte:fnl,lte:Anl,cmp:hnl,coerce:gnl,Comparator:mnl,Range:ynl,satisfies:Enl,toComparators:bnl,maxSatisfying:Cnl,minSatisfying:Inl,minVersion:vnl,validRange:_nl,outside:xnl,gtr:Tnl,ltr:Snl,intersects:Onl,simplifyRange:wnl,subset:Rnl,SemVer:Yrl,re:O5r.re,src:O5r.src,tokens:O5r.t,SEMVER_SPEC_VERSION:Jgi.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jgi.RELEASE_TYPES,compareIdentifiers:Xgi.compareIdentifiers,rcompareIdentifiers:Xgi.rcompareIdentifiers}});var lXe,Bnl,mwd,Mnl,fxe,$xt=Ge(()=>{"use strict";lXe=ht(e3()),Bnl=ht(aXe()),mwd=(0,lXe.Record)({version:lXe.String,hash:lXe.String}),Mnl=()=>({version:"7.6.9",hash:"0675953fc87b0cdec9b669e604c5d64078ed7312"}),fxe=Mnl()});var Zgi,kw,emi,Nnl,Zxt,Pnl,uXe,eTt=Ge(()=>{"use strict";Zgi=ht(F1e());GJe();$_e();cXe();uc();$xt();emi=r=>{kw=r},Nnl=()=>{if(lp())return{};let r=Qu();if(r.isTest)return{};let t={frontendURLHost:self.location.host},n=r.isProduction?"production":"development";return{windowInfo:t,firebaseEnv:n}},Zxt=r=>({coalesceSoftwareVersion:fxe?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),Pnl=r=>{let t=Zxt(kw);return{appEnv:Nnl(),loggingArea:r,...t}},uXe=r=>{let t=Mw[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=Zgi.createLogger({levels:hxt.LEVELS,defaultMeta:Pnl(r),level:t.level,transports:tmi(t)})),t.logger}});var M5r,m_,w5r,rmi,nmi,imi,R5r,D5r,tTt,knl,N5r,Axe,B5r,rTt,P5r,tmi,cXe=Ge(()=>{"use strict";M5r=ht(vG()),m_=ht(F1e());$_e();gxt();eTt();uc();w5r=null,rmi=r=>{w5r=r},nmi={emerg:"error",assert:"warn",alert:"warn",error:"warn",app:"info",info:"info",debug:"debug"},imi={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",debug:"debug"},R5r=class extends M5r.default{baseContext;constructor(t){super(t),this.baseContext=Zxt(kw)}log(t,n){w5r&&w5r.log({...t,level:imi[t.level]},{...this.baseContext,...XA},nmi[t.level]),n()}},tTt=r=>{let t=Zxt(r);D5r={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},knl=!1,N5r=()=>m_.format.combine(m_.format.timestamp(),m_.format.colorize({colors:hxt.COLORS}),m_.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),Axe=r=>new m_.transports.Console({format:process.env.CONSOLE_JSON_LOGS?m_.format.combine(m_.format.timestamp(),m_.format.json()):N5r(),level:r.level,silent:knl}),B5r=class extends M5r.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:imi[t.level],status:nmi[t.level]},n)}},rTt=()=>{let r=new m_.transports.Http({...D5r,format:m_.format.combine(N5r(),m_.format.uncolorize())});return new B5r(r)},P5r=()=>new m_.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:N5r(),level:Axt.debug}),tmi=r=>{let t=[];return t.push(Axe(r)),D5r&&t.push(rTt()),Qu().isTest&&t.push(P5r()),[new R5r,...t]}});var omi,nTt,iTt,k5r,oTt,DG,smi=Ge(()=>{"use strict";omi=ht(Zs()),nTt=ht(F1e());GJe();cXe();uc();eTt();$_e();iTt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in Mw||i.push(`invalid logging area '${n}'`),Axt[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=uXe(n),s=o.transports.filter(l=>l instanceof nTt.transports.Console),a=o.transports;s.length||(a=[...a,Axe(Mw[n])]),a.filter(l=>l instanceof nTt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},k5r=()=>{Object.keys(Mw).forEach(r=>{iTt(r,"debug")})},oTt=(r,t)=>{for(let n in r){let i=n,o=uXe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(Qu().isTest&&s.length>0){let l=s[s.length-1];l instanceof nTt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(P5r()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},DG=r=>{let t=omi.default.mapValues(Mw,(n,i)=>({}));oTt(t,r)}});var H1e,sTt,hxe,Ln=Ge(()=>{"use strict";py();py();H1e=class extends It{releaseID;packageID;pkgAlias;constructor(t,n,i){super(t,i),this.releaseID=n?.contents?.release?.releaseID||"n/a",this.packageID=n?.contents?.packageID||"n/a",this.pkgAlias=n?.alias||"n/a"}},sTt=class extends It{entityCollection;entityData;entityId;constructor(t,n,i,o,s){let a=`Entity with id "${n}" in "${t}" failed validation for these reasons: ${i}`;super(a,o),this.entityCollection=t,this.entityData=s,this.entityId=n}toTRunError(){return{error:{errorString:this.message,errorDetail:this.detail?this.detail:this.message},validationDetails:{id:this.entityId,type:this.entityCollection,value:this.entityData}}}},hxe=class extends Sw{constructor(n,i,o){super(`${i} was not implemented for ${n}`,o);this.kind=n;this.sourceName=i}}});function dXe(r,t){return function(){return r.apply(t,arguments)}}var Q5r=Ge(()=>{"use strict"});function Fnl(r){return r!==null&&!pXe(r)&&r.constructor!==null&&!pXe(r.constructor)&&Qw(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function Lnl(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&umi(r.buffer),t}function fXe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),gxe(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function dmi(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function L5r(){let{caseless:r}=fmi(this)&&this||{},t={},n=(i,o)=>{let s=r&&dmi(t,o)||o;aTt(t[s])&&aTt(i)?t[s]=L5r(t[s],i):aTt(i)?t[s]=L5r({},i):gxe(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&fXe(arguments[i],n);return t}function fil(r){return!!(r&&Qw(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var Qnl,z5r,lTt,YP,uTt,gxe,pXe,umi,znl,Qw,cmi,cTt,qnl,aTt,Unl,jnl,Gnl,Wnl,Hnl,Ynl,Vnl,Knl,pmi,fmi,Jnl,Xnl,$nl,Znl,eil,til,ril,nil,iil,oil,sil,ami,ail,Ami,lil,uil,cil,dil,F5r,lmi,hmi,pil,Ail,hil,gil,or,Cf=Ge(()=>{"use strict";Q5r();({toString:Qnl}=Object.prototype),{getPrototypeOf:z5r}=Object,lTt=(r=>t=>{let n=Qnl.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),YP=r=>(r=r.toLowerCase(),t=>lTt(t)===r),uTt=r=>t=>typeof t===r,{isArray:gxe}=Array,pXe=uTt("undefined");umi=YP("ArrayBuffer");znl=uTt("string"),Qw=uTt("function"),cmi=uTt("number"),cTt=r=>r!==null&&typeof r=="object",qnl=r=>r===!0||r===!1,aTt=r=>{if(lTt(r)!=="object")return!1;let t=z5r(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},Unl=YP("Date"),jnl=YP("File"),Gnl=YP("Blob"),Wnl=YP("FileList"),Hnl=r=>cTt(r)&&Qw(r.pipe),Ynl=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||Qw(r.append)&&((t=lTt(r))==="formdata"||t==="object"&&Qw(r.toString)&&r.toString()==="[object FormData]"))},Vnl=YP("URLSearchParams"),Knl=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");pmi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),fmi=r=>!pXe(r)&&r!==pmi;Jnl=(r,t,n,{allOwnKeys:i}={})=>(fXe(t,(o,s)=>{n&&Qw(o)?r[s]=dXe(o,n):r[s]=o},{allOwnKeys:i}),r),Xnl=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),$nl=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},Znl=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&z5r(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},eil=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},til=r=>{if(!r)return null;if(gxe(r))return r;let t=r.length;if(!cmi(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},ril=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&z5r(Uint8Array)),nil=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},iil=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},oil=YP("HTMLFormElement"),sil=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),ami=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),ail=YP("RegExp"),Ami=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};fXe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},lil=r=>{Ami(r,(t,n)=>{if(Qw(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(Qw(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},uil=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return gxe(r)?i(r):i(String(r).split(t)),n},cil=()=>{},dil=(r,t)=>(r=+r,Number.isFinite(r)?r:t),F5r="abcdefghijklmnopqrstuvwxyz",lmi="0123456789",hmi={DIGIT:lmi,ALPHA:F5r,ALPHA_DIGIT:F5r+F5r.toUpperCase()+lmi},pil=(r=16,t=hmi.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};Ail=r=>{let t=new Array(10),n=(i,o)=>{if(cTt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=gxe(i)?[]:{};return fXe(i,(a,l)=>{let c=n(a,o+1);!pXe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},hil=YP("AsyncFunction"),gil=r=>r&&(cTt(r)||Qw(r))&&Qw(r.then)&&Qw(r.catch),or={isArray:gxe,isArrayBuffer:umi,isBuffer:Fnl,isFormData:Ynl,isArrayBufferView:Lnl,isString:znl,isNumber:cmi,isBoolean:qnl,isObject:cTt,isPlainObject:aTt,isUndefined:pXe,isDate:Unl,isFile:jnl,isBlob:Gnl,isRegExp:ail,isFunction:Qw,isStream:Hnl,isURLSearchParams:Vnl,isTypedArray:ril,isFileList:Wnl,forEach:fXe,merge:L5r,extend:Jnl,trim:Knl,stripBOM:Xnl,inherits:$nl,toFlatObject:Znl,kindOf:lTt,kindOfTest:YP,endsWith:eil,toArray:til,forEachEntry:nil,matchAll:iil,isHTMLForm:oil,hasOwnProperty:ami,hasOwnProp:ami,reduceDescriptors:Ami,freezeMethods:lil,toObjectSet:uil,toCamelCase:sil,noop:cil,toFiniteNumber:dil,findKey:dmi,global:pmi,isContextDefined:fmi,ALPHABET:hmi,generateString:pil,isSpecCompliantForm:fil,toJSONObject:Ail,isAsyncFn:hil,isThenable:gil}});function mxe(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}var gmi,mmi,Ho,b8=Ge(()=>{"use strict";Cf();or.inherits(mxe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:or.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});gmi=mxe.prototype,mmi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{mmi[r]={value:r}});Object.defineProperties(mxe,mmi);Object.defineProperty(gmi,"isAxiosError",{value:!0});mxe.from=(r,t,n,i,o,s)=>{let a=Object.create(gmi);return or.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),mxe.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};Ho=mxe});var bmi=C((Jwd,Emi)=>{var ymi=require("stream").Stream,mil=require("util");Emi.exports=C8;function C8(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}mil.inherits(C8,ymi);C8.create=function(r,t){var n=new this;t=t||{};for(var i in t)n[i]=t[i];n.source=r;var o=r.emit;return r.emit=function(){return n._handleEmit(arguments),o.apply(r,arguments)},r.on("error",function(){}),n.pauseStream&&r.pause(),n};Object.defineProperty(C8.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});C8.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};C8.prototype.resume=function(){this._released||this.release(),this.source.resume()};C8.prototype.pause=function(){this.source.pause()};C8.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(r){this.emit.apply(this,r)}.bind(this)),this._bufferedEvents=[]};C8.prototype.pipe=function(){var r=ymi.prototype.pipe.apply(this,arguments);return this.resume(),r};C8.prototype._handleEmit=function(r){if(this._released){this.emit.apply(this,r);return}r[0]==="data"&&(this.dataSize+=r[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(r)};C8.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(r))}}});var dTt=C((Xwd,vmi)=>{var yil=require("util"),Imi=require("stream").Stream,Cmi=bmi();vmi.exports=ZA;function ZA(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}yil.inherits(ZA,Imi);ZA.create=function(r){var t=new this;r=r||{};for(var n in r)t[n]=r[n];return t};ZA.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)};ZA.prototype.append=function(r){var t=ZA.isStreamLike(r);if(t){if(!(r instanceof Cmi)){var n=Cmi.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=n}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this};ZA.prototype.pipe=function(r,t){return Imi.prototype.pipe.call(this,r,t),this.resume(),r};ZA.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};ZA.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var t=r;t(function(n){var i=ZA.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};ZA.prototype._pipeNext=function(r){this._currentStream=r;var t=ZA.isStreamLike(r);if(t){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var n=r;this.write(n),this._getNext()};ZA.prototype._handleErrors=function(r){var t=this;r.on("error",function(n){t._emitError(n)})};ZA.prototype.write=function(r){this.emit("data",r)};ZA.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};ZA.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};ZA.prototype.end=function(){this._reset(),this.emit("end")};ZA.prototype.destroy=function(){this._reset(),this.emit("close")};ZA.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ZA.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}};ZA.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(t){t.dataSize&&(r.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};ZA.prototype._emitError=function(r){this._reset(),this.emit("error",r)}});var _mi=C(($wd,Eil)=>{Eil.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var q5r=C((Zwd,xmi)=>{xmi.exports=_mi()});var q$=C(y_=>{"use strict";var pTt=q5r(),bil=require("path").extname,Tmi=/^\s*([^;\s]*)(?:;|\s|$)/,Cil=/^text\//i;y_.charset=Smi;y_.charsets={lookup:Smi};y_.contentType=Iil;y_.extension=vil;y_.extensions=Object.create(null);y_.lookup=_il;y_.types=Object.create(null);xil(y_.extensions,y_.types);function Smi(r){if(!r||typeof r!="string")return!1;var t=Tmi.exec(r),n=t&&pTt[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&Cil.test(t[1])?"UTF-8":!1}function Iil(r){if(!r||typeof r!="string")return!1;var t=r.indexOf("/")===-1?y_.lookup(r):r;if(!t)return!1;if(t.indexOf("charset")===-1){var n=y_.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function vil(r){if(!r||typeof r!="string")return!1;var t=Tmi.exec(r),n=t&&y_.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function _il(r){if(!r||typeof r!="string")return!1;var t=bil("x."+r).toLowerCase().substr(1);return t&&y_.types[t]||!1}function xil(r,t){var n=["nginx","apache",void 0,"iana"];Object.keys(pTt).forEach(function(o){var s=pTt[o],a=s.extensions;if(!(!a||!a.length)){r[o]=a;for(var l=0;l<a.length;l++){var c=a[l];if(t[c]){var u=n.indexOf(pTt[t[c]].source),d=n.indexOf(s.source);if(t[c]!=="application/octet-stream"&&(u>d||u===d&&t[c].substr(0,12)==="application/"))continue}t[c]=o}}})}});var wmi=C((t6d,Omi)=>{Omi.exports=Til;function Til(r){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(r):setTimeout(r,0)}});var U5r=C((r6d,Bmi)=>{var Rmi=wmi();Bmi.exports=Sil;function Sil(r){var t=!1;return Rmi(function(){t=!0}),function(i,o){t?r(i,o):Rmi(function(){r(i,o)})}}});var j5r=C((n6d,Mmi)=>{Mmi.exports=Oil;function Oil(r){Object.keys(r.jobs).forEach(wil.bind(r)),r.jobs={}}function wil(r){typeof this.jobs[r]=="function"&&this.jobs[r]()}});var G5r=C((i6d,Nmi)=>{var Dmi=U5r(),Ril=j5r();Nmi.exports=Bil;function Bil(r,t,n,i){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=Mil(t,o,r[o],function(s,a){o in n.jobs&&(delete n.jobs[o],s?Ril(n):n.results[o]=a,i(s,n.results))})}function Mil(r,t,n,i){var o;return r.length==2?o=r(n,Dmi(i)):o=r(n,t,Dmi(i)),o}});var W5r=C((o6d,Pmi)=>{Pmi.exports=Dil;function Dil(r,t){var n=!Array.isArray(r),i={index:0,keyedList:n||t?Object.keys(r):null,jobs:{},results:n?{}:[],size:n?Object.keys(r).length:r.length};return t&&i.keyedList.sort(n?t:function(o,s){return t(r[o],r[s])}),i}});var H5r=C((s6d,kmi)=>{var Nil=j5r(),Pil=U5r();kmi.exports=kil;function kil(r){Object.keys(this.jobs).length&&(this.index=this.size,Nil(this),Pil(r)(null,this.results))}});var Fmi=C((a6d,Qmi)=>{var Qil=G5r(),Fil=W5r(),Lil=H5r();Qmi.exports=zil;function zil(r,t,n){for(var i=Fil(r);i.index<(i.keyedList||r).length;)Qil(r,t,i,function(o,s){if(o){n(o,s);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return Lil.bind(i,n)}});var Y5r=C((l6d,fTt)=>{var Lmi=G5r(),qil=W5r(),Uil=H5r();fTt.exports=jil;fTt.exports.ascending=zmi;fTt.exports.descending=Gil;function jil(r,t,n,i){var o=qil(r,n);return Lmi(r,t,o,function s(a,l){if(a){i(a,l);return}if(o.index++,o.index<(o.keyedList||r).length){Lmi(r,t,o,s);return}i(null,o.results)}),Uil.bind(o,i)}function zmi(r,t){return r<t?-1:r>t?1:0}function Gil(r,t){return-1*zmi(r,t)}});var Umi=C((u6d,qmi)=>{var Wil=Y5r();qmi.exports=Hil;function Hil(r,t,n){return Wil(r,t,null,n)}});var V5r=C((c6d,jmi)=>{jmi.exports={parallel:Fmi(),serial:Umi(),serialOrdered:Y5r()}});var Wmi=C((d6d,Gmi)=>{Gmi.exports=function(r,t){return Object.keys(t).forEach(function(n){r[n]=r[n]||t[n]}),r}});var AXe=C((p6d,Ymi)=>{var $5r=dTt(),Hmi=require("util"),K5r=require("path"),Yil=require("http"),Vil=require("https"),Kil=require("url").parse,Jil=require("fs"),Xil=require("stream").Stream,J5r=q$(),$il=V5r(),X5r=Wmi();Ymi.exports=Gc;Hmi.inherits(Gc,$5r);function Gc(r){if(!(this instanceof Gc))return new Gc(r);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],$5r.call(this),r=r||{};for(var t in r)this[t]=r[t]}Gc.LINE_BREAK=`\r
168
+ Value: `,n),new D$(n,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(n,i){let o=[],s=(a,l)=>{for(let[c,u]of Object.entries(l)){let d=a.concat(c);typeof u=="string"?o.push({path:d.join("."),message:u}):s(d,u)}};if(n.code==="TYPE_INCORRECT"||n.code==="CONSTRAINT_FAILED")o.push({path:"",message:n.message});else{let a=n.details;a&&s([],a)}return new D$(i,o)}},Gd=(r,t)=>new NOr(r,t)});var QOr,oZa,sZa,kOr,xr,rAi=Ge(()=>{"use strict";QOr=ht(Zs());py();f_();cxt();si();oZa=r=>r.code==="unrecognized_keys"?r.keys.length:r.code==="invalid_type"&&r.received==="undefined"&&r.message==="Required"?1:r.code==="invalid_literal"?10:0,sZa=r=>QOr.default.sum(r.issues.map(t=>oZa(t))),kOr=class extends V_e{constructor(n,i){super(n);this.zodType=i;if(!i)throw new It(`Missing Zod type for ${n} validator. Did you use a circular import?`)}convertZodError=n=>{let i=[];for(let o of n.issues)if(o.code==="invalid_union"){let s=QOr.default.minBy(o.unionErrors,a=>sZa(a));s&&i.push(...this.convertZodError(s))}else i.push({path:o.path.join("."),message:o.message});return i};validate(n){try{let i=this.zodType.safeParse(n);if(i.success)return{valid:!0,value:i.data};let o=this.convertZodError(i.error);return new D$(n,o)}catch(i){let o=i instanceof O.ZodError?[i.flatten(),i.issues]:[];return Ef().error(`ZodValidator: Unable to validate ${this.name} value`,"error: ",i,"value: ",n,...o),new D$(n,[{path:"",message:"value triggered unknown Zod error"}])}}},xr=(r,t)=>new kOr(r,t)});var K_e=Ge(()=>{"use strict";POr();cxt();rAi()});var aZa,lZa,nAi,dxt,jJe,FOr,J_e,LOr,zOr,qOr,UOr,pxt,fxt,OG,jP,N$,jOr,GOr,iAi,X_e=Ge(()=>{"use strict";si();mbt();bP();Rxr();Vxr();Xli();$xr();K_e();aZa=O.object({auth:O.string(),firestore:O.string(),storage:O.string()}),lZa=O.object({apiKey:O.string(),authDomain:O.string(),projectId:O.string(),storageBucket:O.string(),messagingSenderId:O.string(),appId:O.string(),measurementId:O.string(),emulatorInfo:aZa.optional()}),nAi=xr("FirebaseConfig",lZa),dxt=r=>{vP("firestore.delete",{path:r})},jJe=r=>{vP("firestore.set",{path:r})},FOr=r=>{vP("firestore.update",{path:r})},J_e=r=>{vP("firestore.get",{path:r})},LOr=r=>{vP("firestore.transaction.get",{path:r})},zOr=r=>{vP("firestore.transaction.set",{path:r})},qOr=r=>{vP("firestore.transaction.update",{path:r})},UOr=r=>{vP("firestore.transaction.delete",{path:r})},pxt=()=>{vP("firestore.batch")},fxt=async r=>(dxt(r.path),r.delete()),OG=(r,t,n)=>(jJe(r.path),n?r.set(t,n):r.set(t)),jP=r=>(J_e(r.path),r.get()),N$=r=>(J_e(r.path),r.get()),jOr=(r,t)=>(J_e(t),r.get()),GOr=r=>(pxt(),r.commit()),iAi=async(r,t=1e3)=>{let n=()=>{},i=new Promise(o=>{n=r.onSnapshot(s=>{s.metadata.hasPendingWrites||o(s)})});return await EG(t,`Timed out in GetDocumentNoPendingWrites after ${t} ms`,i).finally(n)}});var Axt,hxt,$_e=Ge(()=>{"use strict";Axt={emerg:"emerg",info:"info",error:"error",debug:"debug",assert:"assert",alert:"alert",app:"app"},hxt={LEVELS:{emerg:0,assert:1,alert:2,error:3,app:4,info:5,debug:6},COLORS:{emerg:"red",assert:"yellow",alert:"yellow",error:"cyan",app:"blue",info:"green",debug:"magenta"}}});var WOr,Mw,GJe=Ge(()=>{"use strict";WOr=["ACTUAL_STATE","ADVANCED_DEPLOY","APP","AUTH","BULK_WRITE","CLI","CLI_INTERNAL","COLUMN_LINEAGE","COLUMN_METADATA","COMMON","CONNECTION","DEBUG","DEPLOY","DNS","DOCS","DRAG","ENTITY_API","ENV","ENVIRONMENTS","ERROR_OPERATIONS","FIREBASE","FOLDERS","GIT","GIT_SETTINGS","GOOGLE_DEBUG","GRAPH","HEARTBEAT","INTEGRATIONS","JEST","JOBS","JSON_PARSER","LIGHTNING_FS","LISTENERS","MACROS","MAPPING_GRID","METADATA_HYDRATION","METADATA_OPERATIONS","NARROW_METADATA","NODE_TYPES","ORGS","ORG_BOOTSTRAP","ORG_SCANNER","ORG_SETTINGS","ORG_UPGRADE","PACKAGES","PACKAGES_BACKEND","PACKAGE_NAMESPACES","PACKAGE_REGISTRY","PALETTE","PARTNER_CONNECT","PENDO","PERFORMANCE","PIPELINE","PLAN_NODES","PLAN_UTILS","PLATFORM","PRESYNC","PROBLEM_SCANNER","PROJECTS","RBAC","RENDERER","RUNNER","RUNNER_BACKEND","RUN_RESULTS","RUN_TRANSACTION","SEARCH","SECRETS","SQL_PARSING","SQL_TESTING","STATE","STEPS","STORAGE_LOCATIONS","STRUMENTA","SYSTEM_EMAILS","TEMPLATE_EDITOR","TESTING","TIMING_UTILS","TREE_OPERATIONS","TYPESENSE","UI","USERS","USER_ACTIVATION","USER_MANAGEMENT","USER_SETTINGS","VERSIONING","VERSION_CONTROL_ACTIONS","WORKSPACES","XML_PARSER","YAML","ZIP"],Mw={...Object.fromEntries(WOr.map(r=>[r,{level:"info"}]))}});var JA,Z_e,XA,gxt=Ge(()=>{"use strict";JA=(r,t,n,i,o)=>({orgID:r,workspaceID:t,userID:n,runID:i,nodeID:o}),Z_e=(r,t)=>{r.runID=t},XA={}});var sAi=C(oAi=>{"use strict";Object.defineProperty(oAi,"__esModule",{value:!0})});var HOr=C(mxt=>{"use strict";Object.defineProperty(mxt,"__esModule",{value:!0});mxt.Failcode=void 0;mxt.Failcode={TYPE_INCORRECT:"TYPE_INCORRECT",VALUE_INCORRECT:"VALUE_INCORRECT",KEY_INCORRECT:"KEY_INCORRECT",CONTENT_INCORRECT:"CONTENT_INCORRECT",ARGUMENT_INCORRECT:"ARGUMENT_INCORRECT",RETURN_INCORRECT:"RETURN_INCORRECT",CONSTRAINT_FAILED:"CONSTRAINT_FAILED",PROPERTY_MISSING:"PROPERTY_MISSING",PROPERTY_PRESENT:"PROPERTY_PRESENT",NOTHING_EXPECTED:"NOTHING_EXPECTED"}});var txe=C(exe=>{"use strict";var uZa=exe&&exe.__extends||function(){var r=function(t,n){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,o){i.__proto__=o}||function(i,o){for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&(i[s]=o[s])},r(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");r(t,n);function i(){this.constructor=t}t.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)}}();Object.defineProperty(exe,"__esModule",{value:!0});exe.ValidationError=void 0;var cZa=function(r){uZa(t,r);function t(n){var i=r.call(this,n.message)||this;return i.name="ValidationError",i.code=n.code,n.details!==void 0&&(i.details=n.details),Object.setPrototypeOf(i,t.prototype),i}return t}(Error);exe.ValidationError=cZa});var WJe=C(YOr=>{"use strict";Object.defineProperty(YOr,"__esModule",{value:!0});var yxt=function(r){return function(t){switch(t.tag){case"literal":return'"'.concat(String(t.value),'"');case"string":return"string";case"brand":return t.brand;case"constraint":return t.name||yxt(r)(t.underlying);case"union":return t.alternatives.map(yxt(r)).join(" | ");case"intersect":return t.intersectees.map(yxt(r)).join(" & ");default:break}return"`${".concat(gS(!1,r)(t),"}`")}},Ext=function(r){return function(t){switch(t.tag){case"literal":return String(t.value);case"brand":return"${".concat(t.brand,"}");case"constraint":return t.name?"${".concat(t.name,"}"):Ext(r)(t.underlying);case"union":if(t.alternatives.length===1){var n=t.alternatives[0];return Ext(r)(n.reflect)}break;case"intersect":if(t.intersectees.length===1){var n=t.intersectees[0];return Ext(r)(n.reflect)}break;default:break}return"${".concat(gS(!1,r)(t),"}")}},gS=function(r,t){return function(n){var i=function(u){return r?"(".concat(u,")"):u};if(t.has(n))return i("CIRCULAR ".concat(n.tag));t.add(n);try{switch(n.tag){case"unknown":case"never":case"void":case"boolean":case"number":case"bigint":case"string":case"symbol":case"function":return n.tag;case"literal":{var o=n.value;return typeof o=="string"?'"'.concat(o,'"'):String(o)}case"template":{if(n.strings.length===0)return'""';if(n.strings.length===1)return'"'.concat(n.strings[0],'"');if(n.strings.length===2&&n.strings.every(function(u){return u===""})){var s=n.runtypes[0];return yxt(t)(s.reflect)}var a=!1,l=n.strings.reduce(function(u,d,p){var f=u+d,A=n.runtypes[p];if(A){var h=Ext(t)(A.reflect);return!a&&h.startsWith("$")&&(a=!0),f+h}else return f},"");return a?"`".concat(l,"`"):'"'.concat(l,'"')}case"array":return"".concat(aAi(n)).concat(gS(!0,t)(n.element),"[]");case"dictionary":return"{ [_: ".concat(n.key,"]: ").concat(gS(!1,t)(n.value)," }");case"record":{var c=Object.keys(n.fields);return c.length?"{ ".concat(c.map(function(u){return"".concat(aAi(n)).concat(u).concat(dZa(n,u),": ").concat(n.fields[u].tag==="optional"?gS(!1,t)(n.fields[u].underlying):gS(!1,t)(n.fields[u]),";")}).join(" ")," }"):"{}"}case"tuple":return"[".concat(n.components.map(gS(!1,t)).join(", "),"]");case"union":return i("".concat(n.alternatives.map(gS(!0,t)).join(" | ")));case"intersect":return i("".concat(n.intersectees.map(gS(!0,t)).join(" & ")));case"optional":return gS(r,t)(n.underlying)+" | undefined";case"constraint":return n.name||gS(r,t)(n.underlying);case"instanceof":return n.ctor.name;case"brand":return gS(r,t)(n.entity)}}finally{t.delete(n)}throw Error("impossible")}};YOr.default=gS(!1,new Set);function dZa(r,t){var n=r.isPartial,i=r.fields;return n||t!==void 0&&i[t].tag==="optional"?"?":""}function aAi(r){var t=r.isReadonly;return t?"readonly ":""}});var bf=C(Wd=>{"use strict";var VOr=Wd&&Wd.__assign||function(){return VOr=Object.assign||function(r){for(var t,n=1,i=arguments.length;n<i;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])}return r},VOr.apply(this,arguments)};Object.defineProperty(Wd,"__esModule",{value:!0});Wd.FAILURE=Wd.SUCCESS=Wd.enumerableKeysOf=Wd.typeOf=Wd.hasKey=void 0;var GP=HOr(),L1e=WJe();function pZa(r,t){return typeof t=="object"&&t!==null&&r in t}Wd.hasKey=pZa;var fZa=function(r){var t,n,i;return typeof r=="object"?r===null?"null":Array.isArray(r)?"array":((t=r.constructor)===null||t===void 0?void 0:t.name)==="Object"?"object":(i=(n=r.constructor)===null||n===void 0?void 0:n.name)!==null&&i!==void 0?i:typeof r:typeof r};Wd.typeOf=fZa;var AZa=function(r){return typeof r=="object"&&r!==null?Reflect.ownKeys(r).filter(function(t){var n,i;return(i=(n=r.propertyIsEnumerable)===null||n===void 0?void 0:n.call(r,t))!==null&&i!==void 0?i:!0}):[]};Wd.enumerableKeysOf=AZa;function hZa(r){return{success:!0,value:r}}Wd.SUCCESS=hZa;Wd.FAILURE=Object.assign(function(r,t,n){return VOr({success:!1,code:r,message:t},n?{details:n}:{})},{TYPE_INCORRECT:function(r,t){var n="Expected ".concat(r.tag==="template"?"string ".concat((0,L1e.default)(r)):(0,L1e.default)(r),", but was ").concat((0,Wd.typeOf)(t));return(0,Wd.FAILURE)(GP.Failcode.TYPE_INCORRECT,n)},VALUE_INCORRECT:function(r,t,n){return(0,Wd.FAILURE)(GP.Failcode.VALUE_INCORRECT,"Expected ".concat(r," ").concat(String(t),", but was ").concat(String(n)))},KEY_INCORRECT:function(r,t,n){return(0,Wd.FAILURE)(GP.Failcode.KEY_INCORRECT,"Expected ".concat((0,L1e.default)(r)," key to be ").concat((0,L1e.default)(t),", but was ").concat((0,Wd.typeOf)(n)))},CONTENT_INCORRECT:function(r,t){var n="Expected ".concat((0,L1e.default)(r),", but was incompatible");return(0,Wd.FAILURE)(GP.Failcode.CONTENT_INCORRECT,n,t)},ARGUMENT_INCORRECT:function(r){return(0,Wd.FAILURE)(GP.Failcode.ARGUMENT_INCORRECT,r)},RETURN_INCORRECT:function(r){return(0,Wd.FAILURE)(GP.Failcode.RETURN_INCORRECT,r)},CONSTRAINT_FAILED:function(r,t){var n=t?": ".concat(t):"";return(0,Wd.FAILURE)(GP.Failcode.CONSTRAINT_FAILED,"Failed constraint check for ".concat((0,L1e.default)(r)).concat(n))},PROPERTY_MISSING:function(r){var t="Expected ".concat((0,L1e.default)(r),", but was missing");return(0,Wd.FAILURE)(GP.Failcode.PROPERTY_MISSING,t)},PROPERTY_PRESENT:function(r){var t="Expected nothing, but was ".concat((0,Wd.typeOf)(r));return(0,Wd.FAILURE)(GP.Failcode.PROPERTY_PRESENT,t)},NOTHING_EXPECTED:function(r){var t="Expected nothing, but was ".concat((0,Wd.typeOf)(r));return(0,Wd.FAILURE)(GP.Failcode.NOTHING_EXPECTED,t)}})});var lAi=C(P$=>{"use strict";var gZa=P$&&P$.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},mZa=P$&&P$.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(P$,"__esModule",{value:!0});P$.Contract=void 0;var yZa=txe(),EZa=bf();function bZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=EZa.FAILURE.ARGUMENT_INCORRECT(c);throw new yZa.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);return o.check(s.apply(void 0,mZa([],gZa(a),!1)))}}}}P$.Contract=bZa});var dAi=C(k$=>{"use strict";var CZa=k$&&k$.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},IZa=k$&&k$.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(k$,"__esModule",{value:!0});k$.AsyncContract=void 0;var uAi=txe(),cAi=bf();function vZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=r.length-1,i=r.slice(0,n),o=r[n];return{enforce:function(s){return function(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];if(a.length<i.length){var c="Expected ".concat(i.length," arguments but only received ").concat(a.length),u=cAi.FAILURE.ARGUMENT_INCORRECT(c);throw new uAi.ValidationError(u)}for(var d=0;d<i.length;d++)i[d].check(a[d]);var p=s.apply(void 0,IZa([],CZa(a),!1));if(!(p instanceof Promise)){var c="Expected function to return a promise, but instead got ".concat(p),u=cAi.FAILURE.RETURN_INCORRECT(c);throw new uAi.ValidationError(u)}return p.then(o.check)}}}}k$.AsyncContract=vZa});var pAi=C(WP=>{"use strict";var _Za=WP&&WP.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xZa=WP&&WP.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s};Object.defineProperty(WP,"__esModule",{value:!0});WP.when=WP.match=void 0;function TZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];return function(n){var i,o;try{for(var s=_Za(r),a=s.next();!a.done;a=s.next()){var l=xZa(a.value,2),c=l[0],u=l[1];if(c.guard(n))return u(n)}}catch(d){i={error:d}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}throw new Error("No alternatives were matched")}}WP.match=TZa;function SZa(r,t){return[r,t]}WP.when=SZa});var $A=C(F$=>{"use strict";Object.defineProperty(F$,"__esModule",{value:!0});F$.innerValidate=F$.create=F$.isRuntype=void 0;var Q$=e3(),OZa=WJe(),wZa=txe(),fAi=bf(),AAi=Symbol(),RZa=function(r){return(0,fAi.hasKey)(AAi,r)};F$.isRuntype=RZa;function BZa(r,t){return t[AAi]=!0,t.check=n,t.assert=n,t._innerValidate=function(p,f){return f.has(p,t)?(0,fAi.SUCCESS)(p):r(p,f)},t.validate=function(p){return t._innerValidate(p,DZa())},t.guard=i,t.Or=o,t.And=s,t.optional=a,t.nullable=l,t.withConstraint=c,t.withGuard=u,t.withBrand=d,t.reflect=t,t.toString=function(){return"Runtype<".concat((0,OZa.default)(t),">")},t;function n(p){var f=t.validate(p);if(f.success)return f.value;throw new wZa.ValidationError(f)}function i(p){return t.validate(p).success}function o(p){return(0,Q$.Union)(t,p)}function s(p){return(0,Q$.Intersect)(t,p)}function a(){return(0,Q$.Optional)(t)}function l(){return(0,Q$.Union)(t,Q$.Null)}function c(p,f){return(0,Q$.Constraint)(t,p,f)}function u(p,f){return(0,Q$.Constraint)(t,p,f)}function d(p){return(0,Q$.Brand)(p,t)}}F$.create=BZa;function MZa(r,t,n){return r._innerValidate(t,n)}F$.innerValidate=MZa;function DZa(){var r=new WeakMap,t=function(i,o){if(!(i===null||typeof i!="object")){var s=r.get(i);r.set(i,s?s.set(o,!0):new WeakMap().set(o,!0))}},n=function(i,o){var s=r.get(i),a=s&&s.get(o)||!1;return t(i,o),a};return{has:n}}});var Cxt=C(bxt=>{"use strict";Object.defineProperty(bxt,"__esModule",{value:!0});bxt.Unknown=void 0;var NZa=$A(),PZa=bf(),kZa={tag:"unknown"};bxt.Unknown=(0,NZa.create)(function(r){return(0,PZa.SUCCESS)(r)},kZa)});var hAi=C(Ixt=>{"use strict";Object.defineProperty(Ixt,"__esModule",{value:!0});Ixt.Never=void 0;var QZa=$A(),FZa=bf(),LZa={tag:"never"};Ixt.Never=(0,QZa.create)(FZa.FAILURE.NOTHING_EXPECTED,LZa)});var gAi=C(vxt=>{"use strict";Object.defineProperty(vxt,"__esModule",{value:!0});vxt.Void=void 0;var zZa=Cxt();vxt.Void=zZa.Unknown});var KOr=C(rxe=>{"use strict";var _xt=rxe&&rxe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(rxe,"__esModule",{value:!0});rxe.Union=void 0;var xxt=$A(),HJe=bf();function qZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return function(a){for(var l=0;l<r.length;l++)if(r[l].guard(a))return o[l](a)}},i={tag:"union",alternatives:r,match:n};return(0,xxt.create)(function(o,s){var a,l,c,u,d,p,f,A;if(typeof o!="object"||o===null){try{for(var h=_xt(r),y=h.next();!y.done;y=h.next()){var I=y.value;if((0,xxt.innerValidate)(I,o,s).success)return(0,HJe.SUCCESS)(o)}}catch(X){a={error:X}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(a)throw a.error}}return HJe.FAILURE.TYPE_INCORRECT(i,o)}var v={};try{for(var T=_xt(r),S=T.next();!S.done;S=T.next()){var I=S.value;if(I.reflect.tag==="record"){var w=function(J){var F=I.reflect.fields[J];F.tag==="literal"&&(v[J]?v[J].every(function(te){return te!==F.value})&&v[J].push(F.value):v[J]=[F.value])};for(var Q in I.reflect.fields)w(Q)}}}catch(X){c={error:X}}finally{try{S&&!S.done&&(u=T.return)&&u.call(T)}finally{if(c)throw c.error}}for(var Q in v)if(v[Q].length===r.length)try{for(var L=(d=void 0,_xt(r)),H=L.next();!H.done;H=L.next()){var I=H.value;if(I.reflect.tag==="record"){var V=I.reflect.fields[Q];if(V.tag==="literal"&&(0,HJe.hasKey)(Q,o)&&o[Q]===V.value)return(0,xxt.innerValidate)(I,o,s)}}}catch(J){d={error:J}}finally{try{H&&!H.done&&(p=L.return)&&p.call(L)}finally{if(d)throw d.error}}try{for(var ne=_xt(r),ee=ne.next();!ee.done;ee=ne.next()){var U=ee.value;if((0,xxt.innerValidate)(U,o,s).success)return(0,HJe.SUCCESS)(o)}}catch(X){f={error:X}}finally{try{ee&&!ee.done&&(A=ne.return)&&A.call(ne)}finally{if(f)throw f.error}}return HJe.FAILURE.TYPE_INCORRECT(i,o)},i)}rxe.Union=qZa});var $Or=C(A_=>{"use strict";Object.defineProperty(A_,"__esModule",{value:!0});A_.Nullish=A_.Null=A_.Undefined=A_.Literal=A_.literal=void 0;var UZa=$A(),mAi=bf(),jZa=KOr();function JOr(r){return Array.isArray(r)?String(r.map(String)):typeof r=="bigint"?String(r)+"n":String(r)}A_.literal=JOr;function XOr(r){var t={tag:"literal",value:r};return(0,UZa.create)(function(n){return n===r?(0,mAi.SUCCESS)(n):mAi.FAILURE.VALUE_INCORRECT("literal","`".concat(JOr(r),"`"),"`".concat(JOr(n),"`"))},t)}A_.Literal=XOr;A_.Undefined=XOr(void 0);A_.Null=XOr(null);A_.Nullish=(0,jZa.Union)(A_.Null,A_.Undefined)});var IAi=C(HP=>{"use strict";var L$=HP&&HP.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},ZOr=HP&&HP.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))},yAi=HP&&HP.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(HP,"__esModule",{value:!0});HP.Template=void 0;var Txt=$A(),EAi=WJe(),wG=bf(),CAi=$Or(),e5r=function(r){return r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")},GZa=function(r){if(0<r.length&&Array.isArray(r[0])){var t=L$(r),n=t[0],i=t.slice(1);return[Array.from(n),i]}else{var o=r,n=o.reduce(function(l,c){return(0,Txt.isRuntype)(c)?l.push(""):l.push(l.pop()+String(c)),l},[""]),i=o.filter(Txt.isRuntype);return[n,i]}},WZa=function(r,t){for(var n=0;n<t.length;)switch(t[n].reflect.tag){case"literal":{var i=t[n];t.splice(n,1);var o=String(i.value);r.splice(n,2,r[n]+o+r[n+1]);break}case"template":{var s=t[n];t.splice.apply(t,ZOr([n,1],L$(s.runtypes),!1));var a=s.strings;if(a.length===1)r.splice(n,2,r[n]+a[0]+r[n+1]);else{var l=a[0],c=a.slice(1,-1),u=a[a.length-1];r.splice.apply(r,ZOr(ZOr([n,2,r[n]+l],L$(c),!1),[u+r[n+1]],!1))}break}case"union":{var d=t[n];if(d.alternatives.length===1)try{var p=KJe(d);t.splice(n,1);var o=String(p.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}case"intersect":{var f=t[n];if(f.intersectees.length===1)try{var A=KJe(f);t.splice(n,1);var o=String(A.value);r.splice(n,2,r[n]+o+r[n+1]);break}catch{n++;break}else{n++;break}}default:n++;break}},HZa=function(r){var t=L$(GZa(r),2),n=t[0],i=t[1];return WZa(n,i),[n,i]},KJe=function(r){switch(r.reflect.tag){case"literal":return r;case"brand":return KJe(r.reflect.entity);case"union":if(r.reflect.alternatives.length===1)return KJe(r.reflect.alternatives[0]);break;case"intersect":if(r.reflect.intersectees.length===1)return KJe(r.reflect.intersectees[0]);break;default:break}throw void 0},bAi=function(r){return r},t5r={string:[function(r){return globalThis.String(r)},".*"],number:[function(r){return globalThis.Number(r)},"[+-]?(?:\\d*\\.\\d+|\\d+\\.\\d*|\\d+)(?:[Ee][+-]?\\d+)?","0[Bb][01]+","0[Oo][0-7]+","0[Xx][0-9A-Fa-f]+"],bigint:[function(r){return globalThis.BigInt(r)},"-?[1-9]d*"],boolean:[function(r){return r!=="false"},"true","false"],null:[function(){return null},"null"],undefined:[function(){},"undefined"]},YJe=function(r){switch(r.tag){case"literal":{var t=L$(t5r[(0,wG.typeOf)(r.value)]||[bAi],1),n=t[0];return n}case"brand":return YJe(r.entity);case"constraint":return YJe(r.underlying);case"union":return r.alternatives.map(YJe);case"intersect":return r.intersectees.map(YJe);default:var i=L$(t5r[r.tag]||[bAi],1),o=i[0];return o}},r5r=function(r,t){return function(n){var i,o,s,a,l=YJe(r);if(Array.isArray(l))switch(r.tag){case"union":try{for(var c=yAi(r.alternatives),u=c.next();!u.done;u=c.next()){var d=u.value,p=r5r(d.reflect,t)(n);if(p.success)return p}}catch(I){i={error:I}}finally{try{u&&!u.done&&(o=c.return)&&o.call(c)}finally{if(i)throw i.error}}return wG.FAILURE.TYPE_INCORRECT(r,n);case"intersect":try{for(var f=yAi(r.intersectees),A=f.next();!A.done;A=f.next()){var h=A.value,p=r5r(h.reflect,t)(n);if(!p.success)return p}}catch(I){s={error:I}}finally{try{A&&!A.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}return(0,wG.SUCCESS)(n);default:throw Error("impossible")}else{var y=l,p=(0,Txt.innerValidate)(r,y(n),t);return!p.success&&p.code==="VALUE_INCORRECT"&&r.tag==="literal"?wG.FAILURE.VALUE_INCORRECT("literal",'"'.concat((0,CAi.literal)(r.value),'"'),'"'.concat(n,'"')):p}}},VJe=function(r){switch(r.tag){case"literal":return e5r(String(r.value));case"brand":return VJe(r.entity);case"constraint":return VJe(r.underlying);case"union":return r.alternatives.map(VJe).join("|");case"template":return r.strings.map(e5r).reduce(function(i,o,s){var a=i+o,l=r.runtypes[s];return l?a+"(?:".concat(VJe(l.reflect),")"):a},"");default:var t=L$(t5r[r.tag]||[void 0,".*"]),n=t.slice(1);return n.join("|")}},YZa=function(r){var t=r.strings.map(e5r).reduce(function(n,i,o){var s=n+i,a=r.runtypes[o];return a?s+"(".concat(VJe(a.reflect),")"):s},"");return new RegExp("^".concat(t,"$"),"su")};function VZa(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n=L$(HZa(r),2),i=n[0],o=n[1],s={tag:"template",strings:i,runtypes:o},a=YZa(s),l=function(c,u){var d=c.match(a);if(d){for(var p=d.slice(1),f=0;f<o.length;f++){var A=o[f],h=p[f],y=r5r(A.reflect,u)(h);if(!y.success)return y}return(0,wG.SUCCESS)(c)}else return wG.FAILURE.VALUE_INCORRECT("string","".concat((0,EAi.default)(s)),'"'.concat((0,CAi.literal)(c),'"'))};return(0,Txt.create)(function(c,u){if(typeof c!="string")return wG.FAILURE.TYPE_INCORRECT(s,c);var d=l(c,u);if(d.success)return(0,wG.SUCCESS)(c);var p=wG.FAILURE.VALUE_INCORRECT("string","".concat((0,EAi.default)(s)),'"'.concat(c,'"'));return p.message!==d.message&&(p.message+=" (inner: ".concat(d.message,")")),p},s)}HP.Template=VZa});var xAi=C(Sxt=>{"use strict";Object.defineProperty(Sxt,"__esModule",{value:!0});Sxt.Boolean=void 0;var KZa=$A(),vAi=bf(),_Ai={tag:"boolean"};Sxt.Boolean=(0,KZa.create)(function(r){return typeof r=="boolean"?(0,vAi.SUCCESS)(r):vAi.FAILURE.TYPE_INCORRECT(_Ai,r)},_Ai)});var OAi=C(Oxt=>{"use strict";Object.defineProperty(Oxt,"__esModule",{value:!0});Oxt.Number=void 0;var JZa=$A(),TAi=bf(),SAi={tag:"number"};Oxt.Number=(0,JZa.create)(function(r){return typeof r=="number"?(0,TAi.SUCCESS)(r):TAi.FAILURE.TYPE_INCORRECT(SAi,r)},SAi)});var BAi=C(wxt=>{"use strict";Object.defineProperty(wxt,"__esModule",{value:!0});wxt.BigInt=void 0;var XZa=$A(),wAi=bf(),RAi={tag:"bigint"};wxt.BigInt=(0,XZa.create)(function(r){return typeof r=="bigint"?(0,wAi.SUCCESS)(r):wAi.FAILURE.TYPE_INCORRECT(RAi,r)},RAi)});var n5r=C(Rxt=>{"use strict";Object.defineProperty(Rxt,"__esModule",{value:!0});Rxt.String=void 0;var $Za=$A(),MAi=bf(),DAi={tag:"string"};Rxt.String=(0,$Za.create)(function(r){return typeof r=="string"?(0,MAi.SUCCESS)(r):MAi.FAILURE.TYPE_INCORRECT(DAi,r)},DAi)});var QAi=C(Bxt=>{"use strict";Object.defineProperty(Bxt,"__esModule",{value:!0});Bxt.Symbol=void 0;var kAi=$A(),JJe=bf(),ZZa=function(r){var t={tag:"symbol",key:r};return(0,kAi.create)(function(n){if(typeof n!="symbol")return JJe.FAILURE.TYPE_INCORRECT(t,n);var i=globalThis.Symbol.keyFor(n);return i!==r?JJe.FAILURE.VALUE_INCORRECT("symbol key",PAi(r),PAi(i)):(0,JJe.SUCCESS)(n)},t)},NAi={tag:"symbol"};Bxt.Symbol=(0,kAi.create)(function(r){return typeof r=="symbol"?(0,JJe.SUCCESS)(r):JJe.FAILURE.TYPE_INCORRECT(NAi,r)},Object.assign(ZZa,NAi));var PAi=function(r){return r===void 0?"undefined":'"'.concat(r,'"')}});var zAi=C(Mxt=>{"use strict";Object.defineProperty(Mxt,"__esModule",{value:!0});Mxt.Array=void 0;var FAi=$A(),XJe=bf();function LAi(r,t){var n={tag:"array",isReadonly:t,element:r};return tel((0,FAi.create)(function(i,o){if(!Array.isArray(i))return XJe.FAILURE.TYPE_INCORRECT(n,i);var s=(0,XJe.enumerableKeysOf)(i),a=s.map(function(c){return(0,FAi.innerValidate)(r,i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,XJe.enumerableKeysOf)(l).length!==0?XJe.FAILURE.CONTENT_INCORRECT(n,l):(0,XJe.SUCCESS)(i)},n))}function eel(r){return LAi(r,!1)}Mxt.Array=eel;function tel(r){return r.asReadonly=t,r;function t(){return LAi(r.element,!0)}}});var UAi=C(Dxt=>{"use strict";Object.defineProperty(Dxt,"__esModule",{value:!0});Dxt.Tuple=void 0;var qAi=$A(),nxe=bf();function rel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"tuple",components:r};return(0,qAi.create)(function(i,o){if(!Array.isArray(i))return nxe.FAILURE.TYPE_INCORRECT(n,i);if(i.length!==r.length)return nxe.FAILURE.CONSTRAINT_FAILED(n,"Expected length ".concat(r.length,", but was ").concat(i.length));var s=(0,nxe.enumerableKeysOf)(i),a=s.map(function(c){return(0,qAi.innerValidate)(r[c],i[c],o)}),l=s.reduce(function(c,u){var d=a[u];return d.success||(c[u]=d.details||d.message),c},[]);return(0,nxe.enumerableKeysOf)(l).length!==0?nxe.FAILURE.CONTENT_INCORRECT(n,l):(0,nxe.SUCCESS)(i)},n)}Dxt.Tuple=rel});var GAi=C(Dw=>{"use strict";var i5r=Dw&&Dw.__read||function(r,t){var n=typeof Symbol=="function"&&r[Symbol.iterator];if(!n)return r;var i=n.call(r),o,s=[],a;try{for(;(t===void 0||t-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s},o5r=Dw&&Dw.__spreadArray||function(r,t,n){if(n||arguments.length===2)for(var i=0,o=t.length,s;i<o;i++)(s||!(i in t))&&(s||(s=Array.prototype.slice.call(t,0,i)),s[i]=t[i]);return r.concat(s||Array.prototype.slice.call(t))};Object.defineProperty(Dw,"__esModule",{value:!0});Dw.Partial=Dw.Record=Dw.InternalRecord=void 0;var jAi=$A(),h_=bf();function z$(r,t,n){var i={tag:"record",isPartial:t,isReadonly:n,fields:r};return oel((0,jAi.create)(function(o,s){if(o==null)return h_.FAILURE.TYPE_INCORRECT(i,o);var a=(0,h_.enumerableKeysOf)(r);if(a.length!==0&&typeof o!="object")return h_.FAILURE.TYPE_INCORRECT(i,o);var l=o5r([],i5r(new Set(o5r(o5r([],i5r(a),!1),i5r((0,h_.enumerableKeysOf)(o)),!1))),!1),c=l.reduce(function(d,p){var f=(0,h_.hasKey)(p,r),A=(0,h_.hasKey)(p,o);if(f){var h=r[p],y=t||h.reflect.tag==="optional";if(A){var I=o[p];y&&I===void 0?d[p]=(0,h_.SUCCESS)(I):d[p]=(0,jAi.innerValidate)(h,I,s)}else y?d[p]=(0,h_.SUCCESS)(void 0):d[p]=h_.FAILURE.PROPERTY_MISSING(h.reflect)}else if(A){var I=o[p];d[p]=(0,h_.SUCCESS)(I)}else throw new Error("impossible");return d},{}),u=l.reduce(function(d,p){var f=c[p];return f.success||(d[p]=f.details||f.message),d},{});return(0,h_.enumerableKeysOf)(u).length!==0?h_.FAILURE.CONTENT_INCORRECT(i,u):(0,h_.SUCCESS)(o)},i))}Dw.InternalRecord=z$;function nel(r){return z$(r,!1,!1)}Dw.Record=nel;function iel(r){return z$(r,!0,!1)}Dw.Partial=iel;function oel(r){return r.asPartial=t,r.asReadonly=n,r.pick=i,r.omit=o,r.extend=s,r;function t(){return z$(r.fields,!0,r.isReadonly)}function n(){return z$(r.fields,r.isPartial,!0)}function i(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={};return a.forEach(function(u){c[u]=r.fields[u]}),z$(c,r.isPartial,r.isReadonly)}function o(){for(var a=[],l=0;l<arguments.length;l++)a[l]=arguments[l];var c={},u=(0,h_.enumerableKeysOf)(r.fields);return u.forEach(function(d){a.includes(d)||(c[d]=r.fields[d])}),z$(c,r.isPartial,r.isReadonly)}function s(a){return z$(Object.assign({},r.fields,a),r.isPartial,r.isReadonly)}}});var a5r=C(ixe=>{"use strict";Object.defineProperty(ixe,"__esModule",{value:!0});ixe.Guard=ixe.Constraint=void 0;var sel=$A(),s5r=bf(),ael=Cxt();function lel(r,t,n){var i=n&&n.name,o=n&&n.args,s={tag:"constraint",underlying:r,constraint:t,name:i,args:o};return(0,sel.create)(function(a){var l=r.validate(a);if(!l.success)return l;var c=t(l.value);return typeof c=="string"?s5r.FAILURE.CONSTRAINT_FAILED(s,c):c?(0,s5r.SUCCESS)(l.value):s5r.FAILURE.CONSTRAINT_FAILED(s)},s)}ixe.Constraint=lel;var uel=function(r,t){return ael.Unknown.withGuard(r,t)};ixe.Guard=uel});var HAi=C(Nxt=>{"use strict";Object.defineProperty(Nxt,"__esModule",{value:!0});Nxt.Dictionary=void 0;var WAi=$A(),l5r=n5r(),cel=a5r(),del=WJe(),z1e=bf(),pel=(0,cel.Constraint)(l5r.String,function(r){return!isNaN(+r)},{name:"number"});function fel(r,t){var n=t===void 0||t==="string"?l5r.String:t==="number"?pel:t,i=(0,del.default)(n),o={tag:"dictionary",key:i,value:r};return(0,WAi.create)(function(s,a){if(s==null||typeof s!="object"||Object.getPrototypeOf(s)!==Object.prototype&&(!Array.isArray(s)||i==="string"))return z1e.FAILURE.TYPE_INCORRECT(o,s);var l=/^(?:NaN|-?\d+(?:\.\d+)?)$/,c=(0,z1e.enumerableKeysOf)(s),u=c.reduce(function(p,f){var A=typeof f=="string"&&l.test(f),h=A?globalThis.Number(f):f;return(A?!n.guard(h)&&!n.guard(f):!n.guard(h))?p[f]=z1e.FAILURE.KEY_INCORRECT(o,n.reflect,h):p[f]=(0,WAi.innerValidate)(r,s[f],a),p},{}),d=c.reduce(function(p,f){var A=u[f];return A.success||(p[f]=A.details||A.message),p},{});return(0,z1e.enumerableKeysOf)(d).length!==0?z1e.FAILURE.CONTENT_INCORRECT(o,d):(0,z1e.SUCCESS)(s)},o)}Nxt.Dictionary=fel});var VAi=C(oxe=>{"use strict";var Ael=oxe&&oxe.__values||function(r){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&r[t],i=0;if(n)return n.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&i>=r.length&&(r=void 0),{value:r&&r[i++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(oxe,"__esModule",{value:!0});oxe.Intersect=void 0;var YAi=$A(),hel=bf();function gel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var n={tag:"intersect",intersectees:r};return(0,YAi.create)(function(i,o){var s,a;try{for(var l=Ael(r),c=l.next();!c.done;c=l.next()){var u=c.value,d=(0,YAi.innerValidate)(u,i,o);if(!d.success)return d}}catch(p){s={error:p}}finally{try{c&&!c.done&&(a=l.return)&&a.call(l)}finally{if(s)throw s.error}}return(0,hel.SUCCESS)(i)},n)}oxe.Intersect=gel});var KAi=C(Pxt=>{"use strict";Object.defineProperty(Pxt,"__esModule",{value:!0});Pxt.Optional=void 0;var mel=$A(),yel=bf();function Eel(r){var t={tag:"optional",underlying:r};return(0,mel.create)(function(n){return n===void 0?(0,yel.SUCCESS)(n):r.validate(n)},t)}Pxt.Optional=Eel});var $Ai=C(kxt=>{"use strict";Object.defineProperty(kxt,"__esModule",{value:!0});kxt.Function=void 0;var bel=$A(),JAi=bf(),XAi={tag:"function"};kxt.Function=(0,bel.create)(function(r){return typeof r=="function"?(0,JAi.SUCCESS)(r):JAi.FAILURE.TYPE_INCORRECT(XAi,r)},XAi)});var ehi=C(Qxt=>{"use strict";Object.defineProperty(Qxt,"__esModule",{value:!0});Qxt.InstanceOf=void 0;var Cel=$A(),ZAi=bf();function Iel(r){var t={tag:"instanceof",ctor:r};return(0,Cel.create)(function(n){return n instanceof r?(0,ZAi.SUCCESS)(n):ZAi.FAILURE.TYPE_INCORRECT(t,n)},t)}Qxt.InstanceOf=Iel});var thi=C(Fxt=>{"use strict";Object.defineProperty(Fxt,"__esModule",{value:!0});Fxt.Lazy=void 0;var vel=$A();function _el(r){var t={get tag(){return i().tag}},n;function i(){if(!n){n=r();for(var o in n)o!=="tag"&&(t[o]=n[o])}return n}return(0,vel.create)(function(o){return i().validate(o)},t)}Fxt.Lazy=_el});var rhi=C(Lxt=>{"use strict";Object.defineProperty(Lxt,"__esModule",{value:!0});Lxt.Brand=void 0;var xel=$A();function Tel(r,t){var n={tag:"brand",brand:r,entity:t};return(0,xel.create)(function(i){return t.validate(i)},n)}Lxt.Brand=Tel});var nhi=C(sxe=>{"use strict";Object.defineProperty(sxe,"__esModule",{value:!0});sxe.checked=sxe.check=void 0;var Sel=txe(),Oel=bf(),u5r=new WeakMap;function wel(r,t,n){var i=u5r.get(r)||new Map;u5r.set(r,i);var o=i.get(t)||[];i.set(t,o),o.push(n)}sxe.check=wel;function Rel(r,t,n){var i=u5r.get(r),o=i&&i.get(t);if(o)return o;for(var s=[],a=0;a<n;a++)s.push(a);return s}function Bel(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];if(r.length===0)throw new Error("No runtype provided to `@checked`. Please remove the decorator.");return function(n,i,o){var s=o.value,a=(n.name||n.constructor.name+".prototype")+(typeof i=="string"?'["'.concat(i,'"]'):"[".concat(String(i),"]")),l=Rel(n,i,r.length);if(l.length!==r.length)throw new Error("Number of `@checked` runtypes and @check parameters not matched.");if(l.length>s.length)throw new Error("Number of `@checked` runtypes exceeds actual parameter length.");o.value=function(){for(var c=[],u=0;u<arguments.length;u++)c[u]=arguments[u];return r.forEach(function(d,p){var f=l[p],A=d.validate(c[f]);if(!A.success){var h="".concat(a,", argument #").concat(f,": ").concat(A.message),y=Oel.FAILURE.ARGUMENT_INCORRECT(h);throw new Sel.ValidationError(y)}}),s.apply(this,c)}}}sxe.checked=Bel});var e3=C(hl=>{"use strict";var Mel=hl&&hl.__createBinding||(Object.create?function(r,t,n,i){i===void 0&&(i=n),Object.defineProperty(r,i,{enumerable:!0,get:function(){return t[n]}})}:function(r,t,n,i){i===void 0&&(i=n),r[i]=t[n]}),yp=hl&&hl.__exportStar||function(r,t){for(var n in r)n!=="default"&&!Object.prototype.hasOwnProperty.call(t,n)&&Mel(t,r,n)};Object.defineProperty(hl,"__esModule",{value:!0});hl.InstanceOf=hl.Nullish=hl.Null=hl.Undefined=hl.Literal=void 0;yp(sAi(),hl);yp(HOr(),hl);yp(lAi(),hl);yp(dAi(),hl);yp(pAi(),hl);yp(txe(),hl);yp(Cxt(),hl);yp(hAi(),hl);yp(gAi(),hl);var zxt=$Or();Object.defineProperty(hl,"Literal",{enumerable:!0,get:function(){return zxt.Literal}});Object.defineProperty(hl,"Undefined",{enumerable:!0,get:function(){return zxt.Undefined}});Object.defineProperty(hl,"Null",{enumerable:!0,get:function(){return zxt.Null}});Object.defineProperty(hl,"Nullish",{enumerable:!0,get:function(){return zxt.Nullish}});yp(IAi(),hl);yp(xAi(),hl);yp(OAi(),hl);yp(BAi(),hl);yp(n5r(),hl);yp(QAi(),hl);yp(zAi(),hl);yp(UAi(),hl);yp(GAi(),hl);yp(HAi(),hl);yp(KOr(),hl);yp(VAi(),hl);yp(KAi(),hl);yp($Ai(),hl);var Del=ehi();Object.defineProperty(hl,"InstanceOf",{enumerable:!0,get:function(){return Del.InstanceOf}});yp(thi(),hl);yp(a5r(),hl);yp(rhi(),hl);yp(nhi(),hl)});var $Je=C((_5d,ihi)=>{var Nel="2.0.0",Pel=Number.MAX_SAFE_INTEGER||9007199254740991,kel=16,Qel=256-6,Fel=["major","premajor","minor","preminor","patch","prepatch","prerelease"];ihi.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:kel,MAX_SAFE_BUILD_LENGTH:Qel,MAX_SAFE_INTEGER:Pel,RELEASE_TYPES:Fel,SEMVER_SPEC_VERSION:Nel,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var ZJe=C((x5d,ohi)=>{var Lel=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...r)=>console.error("SEMVER",...r):()=>{};ohi.exports=Lel});var axe=C((RG,shi)=>{var{MAX_SAFE_COMPONENT_LENGTH:c5r,MAX_SAFE_BUILD_LENGTH:zel,MAX_LENGTH:qel}=$Je(),Uel=ZJe();RG=shi.exports={};var jel=RG.re=[],Gel=RG.safeRe=[],es=RG.src=[],ts=RG.t={},Wel=0,d5r="[a-zA-Z0-9-]",Hel=[["\\s",1],["\\d",qel],[d5r,zel]],Yel=r=>{for(let[t,n]of Hel)r=r.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return r},$l=(r,t,n)=>{let i=Yel(t),o=Wel++;Uel(r,o,t),ts[r]=o,es[o]=t,jel[o]=new RegExp(t,n?"g":void 0),Gel[o]=new RegExp(i,n?"g":void 0)};$l("NUMERICIDENTIFIER","0|[1-9]\\d*");$l("NUMERICIDENTIFIERLOOSE","\\d+");$l("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d5r}*`);$l("MAINVERSION",`(${es[ts.NUMERICIDENTIFIER]})\\.(${es[ts.NUMERICIDENTIFIER]})\\.(${es[ts.NUMERICIDENTIFIER]})`);$l("MAINVERSIONLOOSE",`(${es[ts.NUMERICIDENTIFIERLOOSE]})\\.(${es[ts.NUMERICIDENTIFIERLOOSE]})\\.(${es[ts.NUMERICIDENTIFIERLOOSE]})`);$l("PRERELEASEIDENTIFIER",`(?:${es[ts.NUMERICIDENTIFIER]}|${es[ts.NONNUMERICIDENTIFIER]})`);$l("PRERELEASEIDENTIFIERLOOSE",`(?:${es[ts.NUMERICIDENTIFIERLOOSE]}|${es[ts.NONNUMERICIDENTIFIER]})`);$l("PRERELEASE",`(?:-(${es[ts.PRERELEASEIDENTIFIER]}(?:\\.${es[ts.PRERELEASEIDENTIFIER]})*))`);$l("PRERELEASELOOSE",`(?:-?(${es[ts.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${es[ts.PRERELEASEIDENTIFIERLOOSE]})*))`);$l("BUILDIDENTIFIER",`${d5r}+`);$l("BUILD",`(?:\\+(${es[ts.BUILDIDENTIFIER]}(?:\\.${es[ts.BUILDIDENTIFIER]})*))`);$l("FULLPLAIN",`v?${es[ts.MAINVERSION]}${es[ts.PRERELEASE]}?${es[ts.BUILD]}?`);$l("FULL",`^${es[ts.FULLPLAIN]}$`);$l("LOOSEPLAIN",`[v=\\s]*${es[ts.MAINVERSIONLOOSE]}${es[ts.PRERELEASELOOSE]}?${es[ts.BUILD]}?`);$l("LOOSE",`^${es[ts.LOOSEPLAIN]}$`);$l("GTLT","((?:<|>)?=?)");$l("XRANGEIDENTIFIERLOOSE",`${es[ts.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$l("XRANGEIDENTIFIER",`${es[ts.NUMERICIDENTIFIER]}|x|X|\\*`);$l("XRANGEPLAIN",`[v=\\s]*(${es[ts.XRANGEIDENTIFIER]})(?:\\.(${es[ts.XRANGEIDENTIFIER]})(?:\\.(${es[ts.XRANGEIDENTIFIER]})(?:${es[ts.PRERELEASE]})?${es[ts.BUILD]}?)?)?`);$l("XRANGEPLAINLOOSE",`[v=\\s]*(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:\\.(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:\\.(${es[ts.XRANGEIDENTIFIERLOOSE]})(?:${es[ts.PRERELEASELOOSE]})?${es[ts.BUILD]}?)?)?`);$l("XRANGE",`^${es[ts.GTLT]}\\s*${es[ts.XRANGEPLAIN]}$`);$l("XRANGELOOSE",`^${es[ts.GTLT]}\\s*${es[ts.XRANGEPLAINLOOSE]}$`);$l("COERCE",`(^|[^\\d])(\\d{1,${c5r}})(?:\\.(\\d{1,${c5r}}))?(?:\\.(\\d{1,${c5r}}))?(?:$|[^\\d])`);$l("COERCERTL",es[ts.COERCE],!0);$l("LONETILDE","(?:~>?)");$l("TILDETRIM",`(\\s*)${es[ts.LONETILDE]}\\s+`,!0);RG.tildeTrimReplace="$1~";$l("TILDE",`^${es[ts.LONETILDE]}${es[ts.XRANGEPLAIN]}$`);$l("TILDELOOSE",`^${es[ts.LONETILDE]}${es[ts.XRANGEPLAINLOOSE]}$`);$l("LONECARET","(?:\\^)");$l("CARETTRIM",`(\\s*)${es[ts.LONECARET]}\\s+`,!0);RG.caretTrimReplace="$1^";$l("CARET",`^${es[ts.LONECARET]}${es[ts.XRANGEPLAIN]}$`);$l("CARETLOOSE",`^${es[ts.LONECARET]}${es[ts.XRANGEPLAINLOOSE]}$`);$l("COMPARATORLOOSE",`^${es[ts.GTLT]}\\s*(${es[ts.LOOSEPLAIN]})$|^$`);$l("COMPARATOR",`^${es[ts.GTLT]}\\s*(${es[ts.FULLPLAIN]})$|^$`);$l("COMPARATORTRIM",`(\\s*)${es[ts.GTLT]}\\s*(${es[ts.LOOSEPLAIN]}|${es[ts.XRANGEPLAIN]})`,!0);RG.comparatorTrimReplace="$1$2$3";$l("HYPHENRANGE",`^\\s*(${es[ts.XRANGEPLAIN]})\\s+-\\s+(${es[ts.XRANGEPLAIN]})\\s*$`);$l("HYPHENRANGELOOSE",`^\\s*(${es[ts.XRANGEPLAINLOOSE]})\\s+-\\s+(${es[ts.XRANGEPLAINLOOSE]})\\s*$`);$l("STAR","(<|>)?=?\\s*\\*");$l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var qxt=C((T5d,ahi)=>{var Vel=Object.freeze({loose:!0}),Kel=Object.freeze({}),Jel=r=>r?typeof r!="object"?Vel:r:Kel;ahi.exports=Jel});var p5r=C((S5d,chi)=>{var lhi=/^[0-9]+$/,uhi=(r,t)=>{let n=lhi.test(r),i=lhi.test(t);return n&&i&&(r=+r,t=+t),r===t?0:n&&!i?-1:i&&!n?1:r<t?-1:1},Xel=(r,t)=>uhi(t,r);chi.exports={compareIdentifiers:uhi,rcompareIdentifiers:Xel}});var Hb=C((O5d,Ahi)=>{var Uxt=ZJe(),{MAX_LENGTH:dhi,MAX_SAFE_INTEGER:jxt}=$Je(),{safeRe:phi,t:fhi}=axe(),$el=qxt(),{compareIdentifiers:lxe}=p5r(),mS=class{constructor(t,n){if(n=$el(n),t instanceof mS){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>dhi)throw new TypeError(`version is longer than ${dhi} characters`);Uxt("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;let i=t.trim().match(n.loose?phi[fhi.LOOSE]:phi[fhi.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>jxt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>jxt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>jxt||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){let s=+o;if(s>=0&&s<jxt)return s}return o}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Uxt("SemVer.compare",this.version,this.options,t),!(t instanceof mS)){if(typeof t=="string"&&t===this.version)return 0;t=new mS(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof mS||(t=new mS(t,this.options)),lxe(this.major,t.major)||lxe(this.minor,t.minor)||lxe(this.patch,t.patch)}comparePre(t){if(t instanceof mS||(t=new mS(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{let i=this.prerelease[n],o=t.prerelease[n];if(Uxt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return lxe(i,o)}while(++n)}compareBuild(t){t instanceof mS||(t=new mS(t,this.options));let n=0;do{let i=this.build[n],o=t.build[n];if(Uxt("prerelease compare",n,i,o),i===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(i===void 0)return-1;if(i===o)continue;return lxe(i,o)}while(++n)}inc(t,n,i){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,i),this.inc("pre",n,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,i),this.inc("pre",n,i);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let o=Number(i)?1:0;if(!n&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];i===!1&&(s=[n]),lxe(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};Ahi.exports=mS});var q1e=C((w5d,ghi)=>{var hhi=Hb(),Zel=(r,t,n=!1)=>{if(r instanceof hhi)return r;try{return new hhi(r,t)}catch(i){if(!n)return null;throw i}};ghi.exports=Zel});var yhi=C((R5d,mhi)=>{var etl=q1e(),ttl=(r,t)=>{let n=etl(r,t);return n?n.version:null};mhi.exports=ttl});var bhi=C((B5d,Ehi)=>{var rtl=q1e(),ntl=(r,t)=>{let n=rtl(r.trim().replace(/^[=v]+/,""),t);return n?n.version:null};Ehi.exports=ntl});var vhi=C((M5d,Ihi)=>{var Chi=Hb(),itl=(r,t,n,i,o)=>{typeof n=="string"&&(o=i,i=n,n=void 0);try{return new Chi(r instanceof Chi?r.version:r,n).inc(t,i,o).version}catch{return null}};Ihi.exports=itl});var Thi=C((D5d,xhi)=>{var _hi=q1e(),otl=(r,t)=>{let n=_hi(r,null,!0),i=_hi(t,null,!0),o=n.compare(i);if(o===0)return null;let s=o>0,a=s?n:i,l=s?i:n,c=!!a.prerelease.length;if(!!l.prerelease.length&&!c)return!l.patch&&!l.minor?"major":a.patch?"patch":a.minor?"minor":"major";let d=c?"pre":"";return n.major!==i.major?d+"major":n.minor!==i.minor?d+"minor":n.patch!==i.patch?d+"patch":"prerelease"};xhi.exports=otl});var Ohi=C((N5d,Shi)=>{var stl=Hb(),atl=(r,t)=>new stl(r,t).major;Shi.exports=atl});var Rhi=C((P5d,whi)=>{var ltl=Hb(),utl=(r,t)=>new ltl(r,t).minor;whi.exports=utl});var Mhi=C((k5d,Bhi)=>{var ctl=Hb(),dtl=(r,t)=>new ctl(r,t).patch;Bhi.exports=dtl});var Nhi=C((Q5d,Dhi)=>{var ptl=q1e(),ftl=(r,t)=>{let n=ptl(r,t);return n&&n.prerelease.length?n.prerelease:null};Dhi.exports=ftl});var Nw=C((F5d,khi)=>{var Phi=Hb(),Atl=(r,t,n)=>new Phi(r,n).compare(new Phi(t,n));khi.exports=Atl});var Fhi=C((L5d,Qhi)=>{var htl=Nw(),gtl=(r,t,n)=>htl(t,r,n);Qhi.exports=gtl});var zhi=C((z5d,Lhi)=>{var mtl=Nw(),ytl=(r,t)=>mtl(r,t,!0);Lhi.exports=ytl});var Gxt=C((q5d,Uhi)=>{var qhi=Hb(),Etl=(r,t,n)=>{let i=new qhi(r,n),o=new qhi(t,n);return i.compare(o)||i.compareBuild(o)};Uhi.exports=Etl});var Ghi=C((U5d,jhi)=>{var btl=Gxt(),Ctl=(r,t)=>r.sort((n,i)=>btl(n,i,t));jhi.exports=Ctl});var Hhi=C((j5d,Whi)=>{var Itl=Gxt(),vtl=(r,t)=>r.sort((n,i)=>Itl(i,n,t));Whi.exports=vtl});var eXe=C((G5d,Yhi)=>{var _tl=Nw(),xtl=(r,t,n)=>_tl(r,t,n)>0;Yhi.exports=xtl});var Wxt=C((W5d,Vhi)=>{var Ttl=Nw(),Stl=(r,t,n)=>Ttl(r,t,n)<0;Vhi.exports=Stl});var f5r=C((H5d,Khi)=>{var Otl=Nw(),wtl=(r,t,n)=>Otl(r,t,n)===0;Khi.exports=wtl});var A5r=C((Y5d,Jhi)=>{var Rtl=Nw(),Btl=(r,t,n)=>Rtl(r,t,n)!==0;Jhi.exports=Btl});var Hxt=C((V5d,Xhi)=>{var Mtl=Nw(),Dtl=(r,t,n)=>Mtl(r,t,n)>=0;Xhi.exports=Dtl});var Yxt=C((K5d,$hi)=>{var Ntl=Nw(),Ptl=(r,t,n)=>Ntl(r,t,n)<=0;$hi.exports=Ptl});var h5r=C((J5d,Zhi)=>{var ktl=f5r(),Qtl=A5r(),Ftl=eXe(),Ltl=Hxt(),ztl=Wxt(),qtl=Yxt(),Utl=(r,t,n,i)=>{switch(t){case"===":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r===n;case"!==":return typeof r=="object"&&(r=r.version),typeof n=="object"&&(n=n.version),r!==n;case"":case"=":case"==":return ktl(r,n,i);case"!=":return Qtl(r,n,i);case">":return Ftl(r,n,i);case">=":return Ltl(r,n,i);case"<":return ztl(r,n,i);case"<=":return qtl(r,n,i);default:throw new TypeError(`Invalid operator: ${t}`)}};Zhi.exports=Utl});var tgi=C((X5d,egi)=>{var jtl=Hb(),Gtl=q1e(),{safeRe:Vxt,t:Kxt}=axe(),Wtl=(r,t)=>{if(r instanceof jtl)return r;if(typeof r=="number"&&(r=String(r)),typeof r!="string")return null;t=t||{};let n=null;if(!t.rtl)n=r.match(Vxt[Kxt.COERCE]);else{let i;for(;(i=Vxt[Kxt.COERCERTL].exec(r))&&(!n||n.index+n[0].length!==r.length);)(!n||i.index+i[0].length!==n.index+n[0].length)&&(n=i),Vxt[Kxt.COERCERTL].lastIndex=i.index+i[1].length+i[2].length;Vxt[Kxt.COERCERTL].lastIndex=-1}return n===null?null:Gtl(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};egi.exports=Wtl});var ngi=C(($5d,rgi)=>{"use strict";rgi.exports=function(r){r.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}});var g5r=C((Z5d,igi)=>{"use strict";igi.exports=s0;s0.Node=U1e;s0.create=s0;function s0(r){var t=this;if(t instanceof s0||(t=new s0),t.tail=null,t.head=null,t.length=0,r&&typeof r.forEach=="function")r.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,i=arguments.length;n<i;n++)t.push(arguments[n]);return t}s0.prototype.removeNode=function(r){if(r.list!==this)throw new Error("removing node which does not belong to this list");var t=r.next,n=r.prev;return t&&(t.prev=n),n&&(n.next=t),r===this.head&&(this.head=t),r===this.tail&&(this.tail=n),r.list.length--,r.next=null,r.prev=null,r.list=null,t};s0.prototype.unshiftNode=function(r){if(r!==this.head){r.list&&r.list.removeNode(r);var t=this.head;r.list=this,r.next=t,t&&(t.prev=r),this.head=r,this.tail||(this.tail=r),this.length++}};s0.prototype.pushNode=function(r){if(r!==this.tail){r.list&&r.list.removeNode(r);var t=this.tail;r.list=this,r.prev=t,t&&(t.next=r),this.tail=r,this.head||(this.head=r),this.length++}};s0.prototype.push=function(){for(var r=0,t=arguments.length;r<t;r++)Ytl(this,arguments[r]);return this.length};s0.prototype.unshift=function(){for(var r=0,t=arguments.length;r<t;r++)Vtl(this,arguments[r]);return this.length};s0.prototype.pop=function(){if(this.tail){var r=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,r}};s0.prototype.shift=function(){if(this.head){var r=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,r}};s0.prototype.forEach=function(r,t){t=t||this;for(var n=this.head,i=0;n!==null;i++)r.call(t,n.value,i,this),n=n.next};s0.prototype.forEachReverse=function(r,t){t=t||this;for(var n=this.tail,i=this.length-1;n!==null;i--)r.call(t,n.value,i,this),n=n.prev};s0.prototype.get=function(r){for(var t=0,n=this.head;n!==null&&t<r;t++)n=n.next;if(t===r&&n!==null)return n.value};s0.prototype.getReverse=function(r){for(var t=0,n=this.tail;n!==null&&t<r;t++)n=n.prev;if(t===r&&n!==null)return n.value};s0.prototype.map=function(r,t){t=t||this;for(var n=new s0,i=this.head;i!==null;)n.push(r.call(t,i.value,this)),i=i.next;return n};s0.prototype.mapReverse=function(r,t){t=t||this;for(var n=new s0,i=this.tail;i!==null;)n.push(r.call(t,i.value,this)),i=i.prev;return n};s0.prototype.reduce=function(r,t){var n,i=this.head;if(arguments.length>1)n=t;else if(this.head)i=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;i!==null;o++)n=r(n,i.value,o),i=i.next;return n};s0.prototype.reduceReverse=function(r,t){var n,i=this.tail;if(arguments.length>1)n=t;else if(this.tail)i=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;i!==null;o--)n=r(n,i.value,o),i=i.prev;return n};s0.prototype.toArray=function(){for(var r=new Array(this.length),t=0,n=this.head;n!==null;t++)r[t]=n.value,n=n.next;return r};s0.prototype.toArrayReverse=function(){for(var r=new Array(this.length),t=0,n=this.tail;n!==null;t++)r[t]=n.value,n=n.prev;return r};s0.prototype.slice=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new s0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(;o!==null&&i<t;i++,o=o.next)n.push(o.value);return n};s0.prototype.sliceReverse=function(r,t){t=t||this.length,t<0&&(t+=this.length),r=r||0,r<0&&(r+=this.length);var n=new s0;if(t<r||t<0)return n;r<0&&(r=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;o!==null&&i>t;i--)o=o.prev;for(;o!==null&&i>r;i--,o=o.prev)n.push(o.value);return n};s0.prototype.splice=function(r,t,...n){r>this.length&&(r=this.length-1),r<0&&(r=this.length+r);for(var i=0,o=this.head;o!==null&&i<r;i++)o=o.next;for(var s=[],i=0;o&&i<t;i++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var i=0;i<n.length;i++)o=Htl(this,o,n[i]);return s};s0.prototype.reverse=function(){for(var r=this.head,t=this.tail,n=r;n!==null;n=n.prev){var i=n.prev;n.prev=n.next,n.next=i}return this.head=t,this.tail=r,this};function Htl(r,t,n){var i=t===r.head?new U1e(n,null,t,r):new U1e(n,t,t.next,r);return i.next===null&&(r.tail=i),i.prev===null&&(r.head=i),r.length++,i}function Ytl(r,t){r.tail=new U1e(t,r.tail,null,r),r.head||(r.head=r.tail),r.length++}function Vtl(r,t){r.head=new U1e(t,null,r.head,r),r.tail||(r.tail=r.head),r.length++}function U1e(r,t,n,i){if(!(this instanceof U1e))return new U1e(r,t,n,i);this.list=i,this.value=r,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{ngi()(s0)}catch{}});var dxe=C((ewd,lgi)=>{"use strict";var Ktl=g5r(),j1e=Symbol("max"),MG=Symbol("length"),uxe=Symbol("lengthCalculator"),rXe=Symbol("allowStale"),G1e=Symbol("maxAge"),BG=Symbol("dispose"),ogi=Symbol("noDisposeOnSet"),my=Symbol("lruList"),E8=Symbol("cache"),agi=Symbol("updateAgeOnGet"),m5r=()=>1,E5r=class{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");let n=this[j1e]=t.max||1/0,i=t.length||m5r;if(this[uxe]=typeof i!="function"?m5r:i,this[rXe]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[G1e]=t.maxAge||0,this[BG]=t.dispose,this[ogi]=t.noDisposeOnSet||!1,this[agi]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[j1e]=t||1/0,tXe(this)}get max(){return this[j1e]}set allowStale(t){this[rXe]=!!t}get allowStale(){return this[rXe]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[G1e]=t,tXe(this)}get maxAge(){return this[G1e]}set lengthCalculator(t){typeof t!="function"&&(t=m5r),t!==this[uxe]&&(this[uxe]=t,this[MG]=0,this[my].forEach(n=>{n.length=this[uxe](n.value,n.key),this[MG]+=n.length})),tXe(this)}get lengthCalculator(){return this[uxe]}get length(){return this[MG]}get itemCount(){return this[my].length}rforEach(t,n){n=n||this;for(let i=this[my].tail;i!==null;){let o=i.prev;sgi(this,t,i,n),i=o}}forEach(t,n){n=n||this;for(let i=this[my].head;i!==null;){let o=i.next;sgi(this,t,i,n),i=o}}keys(){return this[my].toArray().map(t=>t.key)}values(){return this[my].toArray().map(t=>t.value)}reset(){this[BG]&&this[my]&&this[my].length&&this[my].forEach(t=>this[BG](t.key,t.value)),this[E8]=new Map,this[my]=new Ktl,this[MG]=0}dump(){return this[my].map(t=>Jxt(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[my]}set(t,n,i){if(i=i||this[G1e],i&&typeof i!="number")throw new TypeError("maxAge must be a number");let o=i?Date.now():0,s=this[uxe](n,t);if(this[E8].has(t)){if(s>this[j1e])return cxe(this,this[E8].get(t)),!1;let c=this[E8].get(t).value;return this[BG]&&(this[ogi]||this[BG](t,c.value)),c.now=o,c.maxAge=i,c.value=n,this[MG]+=s-c.length,c.length=s,this.get(t),tXe(this),!0}let a=new b5r(t,n,s,o,i);return a.length>this[j1e]?(this[BG]&&this[BG](t,n),!1):(this[MG]+=a.length,this[my].unshift(a),this[E8].set(t,this[my].head),tXe(this),!0)}has(t){if(!this[E8].has(t))return!1;let n=this[E8].get(t).value;return!Jxt(this,n)}get(t){return y5r(this,t,!0)}peek(t){return y5r(this,t,!1)}pop(){let t=this[my].tail;return t?(cxe(this,t),t.value):null}del(t){cxe(this,this[E8].get(t))}load(t){this.reset();let n=Date.now();for(let i=t.length-1;i>=0;i--){let o=t[i],s=o.e||0;if(s===0)this.set(o.k,o.v);else{let a=s-n;a>0&&this.set(o.k,o.v,a)}}}prune(){this[E8].forEach((t,n)=>y5r(this,n,!1))}},y5r=(r,t,n)=>{let i=r[E8].get(t);if(i){let o=i.value;if(Jxt(r,o)){if(cxe(r,i),!r[rXe])return}else n&&(r[agi]&&(i.value.now=Date.now()),r[my].unshiftNode(i));return o.value}},Jxt=(r,t)=>{if(!t||!t.maxAge&&!r[G1e])return!1;let n=Date.now()-t.now;return t.maxAge?n>t.maxAge:r[G1e]&&n>r[G1e]},tXe=r=>{if(r[MG]>r[j1e])for(let t=r[my].tail;r[MG]>r[j1e]&&t!==null;){let n=t.prev;cxe(r,t),t=n}},cxe=(r,t)=>{if(t){let n=t.value;r[BG]&&r[BG](n.key,n.value),r[MG]-=n.length,r[E8].delete(n.key),r[my].removeNode(t)}},b5r=class{constructor(t,n,i,o,s){this.key=t,this.value=n,this.length=i,this.now=o,this.maxAge=s||0}},sgi=(r,t,n,i)=>{let o=n.value;Jxt(r,o)&&(cxe(r,n),r[rXe]||(o=void 0)),o&&t.call(i,o.value,o.key,r)};lgi.exports=E5r});var Pw=C((twd,pgi)=>{var W1e=class{constructor(t,n){if(n=Xtl(n),t instanceof W1e)return t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease?t:new W1e(t.raw,n);if(t instanceof C5r)return this.raw=t.value,this.set=[[t]],this.format(),this;if(this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease,this.raw=t.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(o=>!cgi(o[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let o of this.set)if(o.length===1&&irl(o[0])){this.set=[o];break}}}this.format()}format(){return this.range=this.set.map(t=>t.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&rrl)|(this.options.loose&&nrl))+":"+t,o=ugi.get(i);if(o)return o;let s=this.options.loose,a=s?g_[nv.HYPHENRANGELOOSE]:g_[nv.HYPHENRANGE];t=t.replace(a,Arl(this.options.includePrerelease)),P1("hyphen replace",t),t=t.replace(g_[nv.COMPARATORTRIM],Ztl),P1("comparator trim",t),t=t.replace(g_[nv.TILDETRIM],erl),P1("tilde trim",t),t=t.replace(g_[nv.CARETTRIM],trl),P1("caret trim",t);let l=t.split(" ").map(p=>orl(p,this.options)).join(" ").split(/\s+/).map(p=>frl(p,this.options));s&&(l=l.filter(p=>(P1("loose invalid filter",p,this.options),!!p.match(g_[nv.COMPARATORLOOSE])))),P1("range list",l);let c=new Map,u=l.map(p=>new C5r(p,this.options));for(let p of u){if(cgi(p))return[p];c.set(p.value,p)}c.size>1&&c.has("")&&c.delete("");let d=[...c.values()];return ugi.set(i,d),d}intersects(t,n){if(!(t instanceof W1e))throw new TypeError("a Range is required");return this.set.some(i=>dgi(i,n)&&t.set.some(o=>dgi(o,n)&&i.every(s=>o.every(a=>s.intersects(a,n)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new $tl(t,this.options)}catch{return!1}for(let n=0;n<this.set.length;n++)if(hrl(this.set[n],t,this.options))return!0;return!1}};pgi.exports=W1e;var Jtl=dxe(),ugi=new Jtl({max:1e3}),Xtl=qxt(),C5r=nXe(),P1=ZJe(),$tl=Hb(),{safeRe:g_,t:nv,comparatorTrimReplace:Ztl,tildeTrimReplace:erl,caretTrimReplace:trl}=axe(),{FLAG_INCLUDE_PRERELEASE:rrl,FLAG_LOOSE:nrl}=$Je(),cgi=r=>r.value==="<0.0.0-0",irl=r=>r.value==="",dgi=(r,t)=>{let n=!0,i=r.slice(),o=i.pop();for(;n&&i.length;)n=i.every(s=>o.intersects(s,t)),o=i.pop();return n},orl=(r,t)=>(P1("comp",r,t),r=lrl(r,t),P1("caret",r),r=srl(r,t),P1("tildes",r),r=crl(r,t),P1("xrange",r),r=prl(r,t),P1("stars",r),r),iv=r=>!r||r.toLowerCase()==="x"||r==="*",srl=(r,t)=>r.trim().split(/\s+/).map(n=>arl(n,t)).join(" "),arl=(r,t)=>{let n=t.loose?g_[nv.TILDELOOSE]:g_[nv.TILDE];return r.replace(n,(i,o,s,a,l)=>{P1("tilde",r,i,o,s,a,l);let c;return iv(o)?c="":iv(s)?c=`>=${o}.0.0 <${+o+1}.0.0-0`:iv(a)?c=`>=${o}.${s}.0 <${o}.${+s+1}.0-0`:l?(P1("replaceTilde pr",l),c=`>=${o}.${s}.${a}-${l} <${o}.${+s+1}.0-0`):c=`>=${o}.${s}.${a} <${o}.${+s+1}.0-0`,P1("tilde return",c),c})},lrl=(r,t)=>r.trim().split(/\s+/).map(n=>url(n,t)).join(" "),url=(r,t)=>{P1("caret",r,t);let n=t.loose?g_[nv.CARETLOOSE]:g_[nv.CARET],i=t.includePrerelease?"-0":"";return r.replace(n,(o,s,a,l,c)=>{P1("caret",r,o,s,a,l,c);let u;return iv(s)?u="":iv(a)?u=`>=${s}.0.0${i} <${+s+1}.0.0-0`:iv(l)?s==="0"?u=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:c?(P1("replaceCaret pr",c),s==="0"?a==="0"?u=`>=${s}.${a}.${l}-${c} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}-${c} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l}-${c} <${+s+1}.0.0-0`):(P1("no pr"),s==="0"?a==="0"?u=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:u=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:u=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),P1("caret return",u),u})},crl=(r,t)=>(P1("replaceXRanges",r,t),r.split(/\s+/).map(n=>drl(n,t)).join(" ")),drl=(r,t)=>{r=r.trim();let n=t.loose?g_[nv.XRANGELOOSE]:g_[nv.XRANGE];return r.replace(n,(i,o,s,a,l,c)=>{P1("xRange",r,i,o,s,a,l,c);let u=iv(s),d=u||iv(a),p=d||iv(l),f=p;return o==="="&&f&&(o=""),c=t.includePrerelease?"-0":"",u?o===">"||o==="<"?i="<0.0.0-0":i="*":o&&f?(d&&(a=0),l=0,o===">"?(o=">=",d?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):o==="<="&&(o="<",d?s=+s+1:a=+a+1),o==="<"&&(c="-0"),i=`${o+s}.${a}.${l}${c}`):d?i=`>=${s}.0.0${c} <${+s+1}.0.0-0`:p&&(i=`>=${s}.${a}.0${c} <${s}.${+a+1}.0-0`),P1("xRange return",i),i})},prl=(r,t)=>(P1("replaceStars",r,t),r.trim().replace(g_[nv.STAR],"")),frl=(r,t)=>(P1("replaceGTE0",r,t),r.trim().replace(g_[t.includePrerelease?nv.GTE0PRE:nv.GTE0],"")),Arl=r=>(t,n,i,o,s,a,l,c,u,d,p,f,A)=>(iv(i)?n="":iv(o)?n=`>=${i}.0.0${r?"-0":""}`:iv(s)?n=`>=${i}.${o}.0${r?"-0":""}`:a?n=`>=${n}`:n=`>=${n}${r?"-0":""}`,iv(u)?c="":iv(d)?c=`<${+u+1}.0.0-0`:iv(p)?c=`<${u}.${+d+1}.0-0`:f?c=`<=${u}.${d}.${p}-${f}`:r?c=`<${u}.${d}.${+p+1}-0`:c=`<=${c}`,`${n} ${c}`.trim()),hrl=(r,t,n)=>{for(let i=0;i<r.length;i++)if(!r[i].test(t))return!1;if(t.prerelease.length&&!n.includePrerelease){for(let i=0;i<r.length;i++)if(P1(r[i].semver),r[i].semver!==C5r.ANY&&r[i].semver.prerelease.length>0){let o=r[i].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}});var nXe=C((rwd,ygi)=>{var iXe=Symbol("SemVer ANY"),pxe=class{static get ANY(){return iXe}constructor(t,n){if(n=fgi(n),t instanceof pxe){if(t.loose===!!n.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),v5r("comparator",t,n),this.options=n,this.loose=!!n.loose,this.parse(t),this.semver===iXe?this.value="":this.value=this.operator+this.semver.version,v5r("comp",this)}parse(t){let n=this.options.loose?Agi[hgi.COMPARATORLOOSE]:Agi[hgi.COMPARATOR],i=t.match(n);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new ggi(i[2],this.options.loose):this.semver=iXe}toString(){return this.value}test(t){if(v5r("Comparator.test",t,this.options.loose),this.semver===iXe||t===iXe)return!0;if(typeof t=="string")try{t=new ggi(t,this.options)}catch{return!1}return I5r(t,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof pxe))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new mgi(t.value,n).test(this.value):t.operator===""?t.value===""?!0:new mgi(this.value,n).test(t.semver):(n=fgi(n),n.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!n.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||I5r(this.semver,"<",t.semver,n)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||I5r(this.semver,">",t.semver,n)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};ygi.exports=pxe;var fgi=qxt(),{safeRe:Agi,t:hgi}=axe(),I5r=h5r(),v5r=ZJe(),ggi=Hb(),mgi=Pw()});var oXe=C((nwd,Egi)=>{var grl=Pw(),mrl=(r,t,n)=>{try{t=new grl(t,n)}catch{return!1}return t.test(r)};Egi.exports=mrl});var Cgi=C((iwd,bgi)=>{var yrl=Pw(),Erl=(r,t)=>new yrl(r,t).set.map(n=>n.map(i=>i.value).join(" ").trim().split(" "));bgi.exports=Erl});var vgi=C((owd,Igi)=>{var brl=Hb(),Crl=Pw(),Irl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new Crl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===-1)&&(i=a,o=new brl(i,n))}),i};Igi.exports=Irl});var xgi=C((swd,_gi)=>{var vrl=Hb(),_rl=Pw(),xrl=(r,t,n)=>{let i=null,o=null,s=null;try{s=new _rl(t,n)}catch{return null}return r.forEach(a=>{s.test(a)&&(!i||o.compare(a)===1)&&(i=a,o=new vrl(i,n))}),i};_gi.exports=xrl});var Ogi=C((awd,Sgi)=>{var _5r=Hb(),Trl=Pw(),Tgi=eXe(),Srl=(r,t)=>{r=new Trl(r,t);let n=new _5r("0.0.0");if(r.test(n)||(n=new _5r("0.0.0-0"),r.test(n)))return n;n=null;for(let i=0;i<r.set.length;++i){let o=r.set[i],s=null;o.forEach(a=>{let l=new _5r(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||Tgi(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!n||Tgi(n,s))&&(n=s)}return n&&r.test(n)?n:null};Sgi.exports=Srl});var Rgi=C((lwd,wgi)=>{var Orl=Pw(),wrl=(r,t)=>{try{return new Orl(r,t).range||"*"}catch{return null}};wgi.exports=wrl});var Xxt=C((uwd,Ngi)=>{var Rrl=Hb(),Dgi=nXe(),{ANY:Brl}=Dgi,Mrl=Pw(),Drl=oXe(),Bgi=eXe(),Mgi=Wxt(),Nrl=Yxt(),Prl=Hxt(),krl=(r,t,n,i)=>{r=new Rrl(r,i),t=new Mrl(t,i);let o,s,a,l,c;switch(n){case">":o=Bgi,s=Nrl,a=Mgi,l=">",c=">=";break;case"<":o=Mgi,s=Prl,a=Bgi,l="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Drl(r,t,i))return!1;for(let u=0;u<t.set.length;++u){let d=t.set[u],p=null,f=null;if(d.forEach(A=>{A.semver===Brl&&(A=new Dgi(">=0.0.0")),p=p||A,f=f||A,o(A.semver,p.semver,i)?p=A:a(A.semver,f.semver,i)&&(f=A)}),p.operator===l||p.operator===c||(!f.operator||f.operator===l)&&s(r,f.semver))return!1;if(f.operator===c&&a(r,f.semver))return!1}return!0};Ngi.exports=krl});var kgi=C((cwd,Pgi)=>{var Qrl=Xxt(),Frl=(r,t,n)=>Qrl(r,t,">",n);Pgi.exports=Frl});var Fgi=C((dwd,Qgi)=>{var Lrl=Xxt(),zrl=(r,t,n)=>Lrl(r,t,"<",n);Qgi.exports=zrl});var qgi=C((pwd,zgi)=>{var Lgi=Pw(),qrl=(r,t,n)=>(r=new Lgi(r,n),t=new Lgi(t,n),r.intersects(t,n));zgi.exports=qrl});var jgi=C((fwd,Ugi)=>{var Url=oXe(),jrl=Nw();Ugi.exports=(r,t,n)=>{let i=[],o=null,s=null,a=r.sort((d,p)=>jrl(d,p,n));for(let d of a)Url(d,t,n)?(s=d,o||(o=d)):(s&&i.push([o,s]),s=null,o=null);o&&i.push([o,null]);let l=[];for(let[d,p]of i)d===p?l.push(d):!p&&d===a[0]?l.push("*"):p?d===a[0]?l.push(`<=${p}`):l.push(`${d} - ${p}`):l.push(`>=${d}`);let c=l.join(" || "),u=typeof t.raw=="string"?t.raw:String(t);return c.length<u.length?c:t}});var Kgi=C((Awd,Vgi)=>{var Ggi=Pw(),T5r=nXe(),{ANY:x5r}=T5r,sXe=oXe(),S5r=Nw(),Grl=(r,t,n={})=>{if(r===t)return!0;r=new Ggi(r,n),t=new Ggi(t,n);let i=!1;e:for(let o of r.set){for(let s of t.set){let a=Hrl(o,s,n);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},Wrl=[new T5r(">=0.0.0-0")],Wgi=[new T5r(">=0.0.0")],Hrl=(r,t,n)=>{if(r===t)return!0;if(r.length===1&&r[0].semver===x5r){if(t.length===1&&t[0].semver===x5r)return!0;n.includePrerelease?r=Wrl:r=Wgi}if(t.length===1&&t[0].semver===x5r){if(n.includePrerelease)return!0;t=Wgi}let i=new Set,o,s;for(let A of r)A.operator===">"||A.operator===">="?o=Hgi(o,A,n):A.operator==="<"||A.operator==="<="?s=Ygi(s,A,n):i.add(A.semver);if(i.size>1)return null;let a;if(o&&s){if(a=S5r(o.semver,s.semver,n),a>0)return null;if(a===0&&(o.operator!==">="||s.operator!=="<="))return null}for(let A of i){if(o&&!sXe(A,String(o),n)||s&&!sXe(A,String(s),n))return null;for(let h of t)if(!sXe(A,String(h),n))return!1;return!0}let l,c,u,d,p=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,f=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;p&&p.prerelease.length===1&&s.operator==="<"&&p.prerelease[0]===0&&(p=!1);for(let A of t){if(d=d||A.operator===">"||A.operator===">=",u=u||A.operator==="<"||A.operator==="<=",o){if(f&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===f.major&&A.semver.minor===f.minor&&A.semver.patch===f.patch&&(f=!1),A.operator===">"||A.operator===">="){if(l=Hgi(o,A,n),l===A&&l!==o)return!1}else if(o.operator===">="&&!sXe(o.semver,String(A),n))return!1}if(s){if(p&&A.semver.prerelease&&A.semver.prerelease.length&&A.semver.major===p.major&&A.semver.minor===p.minor&&A.semver.patch===p.patch&&(p=!1),A.operator==="<"||A.operator==="<="){if(c=Ygi(s,A,n),c===A&&c!==s)return!1}else if(s.operator==="<="&&!sXe(s.semver,String(A),n))return!1}if(!A.operator&&(s||o)&&a!==0)return!1}return!(o&&u&&!s&&a!==0||s&&d&&!o&&a!==0||f||p)},Hgi=(r,t,n)=>{if(!r)return t;let i=S5r(r.semver,t.semver,n);return i>0?r:i<0||t.operator===">"&&r.operator===">="?t:r},Ygi=(r,t,n)=>{if(!r)return t;let i=S5r(r.semver,t.semver,n);return i<0?r:i>0||t.operator==="<"&&r.operator==="<="?t:r};Vgi.exports=Grl});var aXe=C((hwd,$gi)=>{var O5r=axe(),Jgi=$Je(),Yrl=Hb(),Xgi=p5r(),Vrl=q1e(),Krl=yhi(),Jrl=bhi(),Xrl=vhi(),$rl=Thi(),Zrl=Ohi(),enl=Rhi(),tnl=Mhi(),rnl=Nhi(),nnl=Nw(),inl=Fhi(),onl=zhi(),snl=Gxt(),anl=Ghi(),lnl=Hhi(),unl=eXe(),cnl=Wxt(),dnl=f5r(),pnl=A5r(),fnl=Hxt(),Anl=Yxt(),hnl=h5r(),gnl=tgi(),mnl=nXe(),ynl=Pw(),Enl=oXe(),bnl=Cgi(),Cnl=vgi(),Inl=xgi(),vnl=Ogi(),_nl=Rgi(),xnl=Xxt(),Tnl=kgi(),Snl=Fgi(),Onl=qgi(),wnl=jgi(),Rnl=Kgi();$gi.exports={parse:Vrl,valid:Krl,clean:Jrl,inc:Xrl,diff:$rl,major:Zrl,minor:enl,patch:tnl,prerelease:rnl,compare:nnl,rcompare:inl,compareLoose:onl,compareBuild:snl,sort:anl,rsort:lnl,gt:unl,lt:cnl,eq:dnl,neq:pnl,gte:fnl,lte:Anl,cmp:hnl,coerce:gnl,Comparator:mnl,Range:ynl,satisfies:Enl,toComparators:bnl,maxSatisfying:Cnl,minSatisfying:Inl,minVersion:vnl,validRange:_nl,outside:xnl,gtr:Tnl,ltr:Snl,intersects:Onl,simplifyRange:wnl,subset:Rnl,SemVer:Yrl,re:O5r.re,src:O5r.src,tokens:O5r.t,SEMVER_SPEC_VERSION:Jgi.SEMVER_SPEC_VERSION,RELEASE_TYPES:Jgi.RELEASE_TYPES,compareIdentifiers:Xgi.compareIdentifiers,rcompareIdentifiers:Xgi.rcompareIdentifiers}});var lXe,Bnl,mwd,Mnl,fxe,$xt=Ge(()=>{"use strict";lXe=ht(e3()),Bnl=ht(aXe()),mwd=(0,lXe.Record)({version:lXe.String,hash:lXe.String}),Mnl=()=>({version:"7.6.10",hash:"379147fce62d5c8560bf7430bbdf07d1585cacbf"}),fxe=Mnl()});var Zgi,kw,emi,Nnl,Zxt,Pnl,uXe,eTt=Ge(()=>{"use strict";Zgi=ht(F1e());GJe();$_e();cXe();uc();$xt();emi=r=>{kw=r},Nnl=()=>{if(lp())return{};let r=Qu();if(r.isTest)return{};let t={frontendURLHost:self.location.host},n=r.isProduction?"production":"development";return{windowInfo:t,firebaseEnv:n}},Zxt=r=>({coalesceSoftwareVersion:fxe?.version||"",service:r,env:process.env.REACT_APP_OWNER??"",reactAppCoalesceDev:process.env.REACT_APP_COALESCE_DEV??""}),Pnl=r=>{let t=Zxt(kw);return{appEnv:Nnl(),loggingArea:r,...t}},uXe=r=>{let t=Mw[r];if(!t)throw new Error(`Logging area "${r}" is not a valid LoggingAreas key`);return t.logger||(t.logger=Zgi.createLogger({levels:hxt.LEVELS,defaultMeta:Pnl(r),level:t.level,transports:tmi(t)})),t.logger}});var M5r,m_,w5r,rmi,nmi,imi,R5r,D5r,tTt,knl,N5r,Axe,B5r,rTt,P5r,tmi,cXe=Ge(()=>{"use strict";M5r=ht(vG()),m_=ht(F1e());$_e();gxt();eTt();uc();w5r=null,rmi=r=>{w5r=r},nmi={emerg:"error",assert:"warn",alert:"warn",error:"warn",app:"info",info:"info",debug:"debug"},imi={emerg:"emerg",assert:"alert",alert:"alert",error:"error",app:"info",info:"info",debug:"debug"},R5r=class extends M5r.default{baseContext;constructor(t){super(t),this.baseContext=Zxt(kw)}log(t,n){w5r&&w5r.log({...t,level:imi[t.level]},{...this.baseContext,...XA},nmi[t.level]),n()}},tTt=r=>{let t=Zxt(r);D5r={host:"http-intake.logs.datadoghq.com",path:`/v1/input/pub04bd017317b60c96b62874179d82ff97?ddtags=env:${t.env},coalesceSoftwareVersion:${t.coalesceSoftwareVersion}&ddsource=nodejs&service=${r}`,ssl:!0}},knl=!1,N5r=()=>m_.format.combine(m_.format.timestamp(),m_.format.colorize({colors:hxt.COLORS}),m_.format.printf(r=>`|${r.timestamp}|${process.env.JEST_WORKER_ID?`[SHARD:${process.env.JEST_WORKER_ID}]`:""}[${r.loggingArea}]${r.orgID?`|(org:${r.orgID})`:""}${r.workspaceID?`|(env:${r.workspaceID})`:""}${r.userID?`|(user:${r.userID})`:""}${r.runID?`|run:${r.runID})`:""}(${r.nodeID?`|(node:${r.nodeID})`:""})|)|${r.level}:${r.message}`)),Axe=r=>new m_.transports.Console({format:process.env.CONSOLE_JSON_LOGS?m_.format.combine(m_.format.timestamp(),m_.format.json()):N5r(),level:r.level,silent:knl}),B5r=class extends M5r.default{httpTransport;constructor(t,n){super(n),this.httpTransport=t}log(t,n){this.httpTransport.log?.({...t,level:imi[t.level],status:nmi[t.level]},n)}},rTt=()=>{let r=new m_.transports.Http({...D5r,format:m_.format.combine(N5r(),m_.format.uncolorize())});return new B5r(r)},P5r=()=>new m_.transports.File({filename:process.env.JEST_WORKER_ID?`test-shard-${process.env.JEST_WORKER_ID}.log`:"test.log",dirname:"./test-logs",format:N5r(),level:Axt.debug}),tmi=r=>{let t=[];return t.push(Axe(r)),D5r&&t.push(rTt()),Qu().isTest&&t.push(P5r()),[new R5r,...t]}});var omi,nTt,iTt,k5r,oTt,DG,smi=Ge(()=>{"use strict";omi=ht(Zs()),nTt=ht(F1e());GJe();cXe();uc();eTt();$_e();iTt=(r,t)=>{let n=r.toUpperCase(),i=[];if(n in Mw||i.push(`invalid logging area '${n}'`),Axt[t]||i.push("`invalid log level '${logLevel}'`"),i.length)throw i.forEach(l=>{console.error(l)}),new Error("Invalid logging area or log level: "+i.join(", "));let o=uXe(n),s=o.transports.filter(l=>l instanceof nTt.transports.Console),a=o.transports;s.length||(a=[...a,Axe(Mw[n])]),a.filter(l=>l instanceof nTt.transports.Console)[0].level=t,o.configure({...o,transports:o.transports})},k5r=()=>{Object.keys(Mw).forEach(r=>{iTt(r,"debug")})},oTt=(r,t)=>{for(let n in r){let i=n,o=uXe(i);r[i].defaultMeta={...o.defaultMeta,...r[i].defaultMeta,...t};let s=r[i].transports||o.transports,a;if(Qu().isTest&&s.length>0){let l=s[s.length-1];l instanceof nTt.transports.File&&(a=l,s=o.transports.slice(0,-1),s.push(P5r()))}o.configure({...o,...r[i],transports:s,level:r[i].level||o.level}),a&&a.close&&a.close()}},DG=r=>{let t=omi.default.mapValues(Mw,(n,i)=>({}));oTt(t,r)}});var H1e,sTt,hxe,Ln=Ge(()=>{"use strict";py();py();H1e=class extends It{releaseID;packageID;pkgAlias;constructor(t,n,i){super(t,i),this.releaseID=n?.contents?.release?.releaseID||"n/a",this.packageID=n?.contents?.packageID||"n/a",this.pkgAlias=n?.alias||"n/a"}},sTt=class extends It{entityCollection;entityData;entityId;constructor(t,n,i,o,s){let a=`Entity with id "${n}" in "${t}" failed validation for these reasons: ${i}`;super(a,o),this.entityCollection=t,this.entityData=s,this.entityId=n}toTRunError(){return{error:{errorString:this.message,errorDetail:this.detail?this.detail:this.message},validationDetails:{id:this.entityId,type:this.entityCollection,value:this.entityData}}}},hxe=class extends Sw{constructor(n,i,o){super(`${i} was not implemented for ${n}`,o);this.kind=n;this.sourceName=i}}});function dXe(r,t){return function(){return r.apply(t,arguments)}}var Q5r=Ge(()=>{"use strict"});function Fnl(r){return r!==null&&!pXe(r)&&r.constructor!==null&&!pXe(r.constructor)&&Qw(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}function Lnl(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&umi(r.buffer),t}function fXe(r,t,{allOwnKeys:n=!1}={}){if(r===null||typeof r>"u")return;let i,o;if(typeof r!="object"&&(r=[r]),gxe(r))for(i=0,o=r.length;i<o;i++)t.call(null,r[i],i,r);else{let s=n?Object.getOwnPropertyNames(r):Object.keys(r),a=s.length,l;for(i=0;i<a;i++)l=s[i],t.call(null,r[l],l,r)}}function dmi(r,t){t=t.toLowerCase();let n=Object.keys(r),i=n.length,o;for(;i-- >0;)if(o=n[i],t===o.toLowerCase())return o;return null}function L5r(){let{caseless:r}=fmi(this)&&this||{},t={},n=(i,o)=>{let s=r&&dmi(t,o)||o;aTt(t[s])&&aTt(i)?t[s]=L5r(t[s],i):aTt(i)?t[s]=L5r({},i):gxe(i)?t[s]=i.slice():t[s]=i};for(let i=0,o=arguments.length;i<o;i++)arguments[i]&&fXe(arguments[i],n);return t}function fil(r){return!!(r&&Qw(r.append)&&r[Symbol.toStringTag]==="FormData"&&r[Symbol.iterator])}var Qnl,z5r,lTt,YP,uTt,gxe,pXe,umi,znl,Qw,cmi,cTt,qnl,aTt,Unl,jnl,Gnl,Wnl,Hnl,Ynl,Vnl,Knl,pmi,fmi,Jnl,Xnl,$nl,Znl,eil,til,ril,nil,iil,oil,sil,ami,ail,Ami,lil,uil,cil,dil,F5r,lmi,hmi,pil,Ail,hil,gil,or,Cf=Ge(()=>{"use strict";Q5r();({toString:Qnl}=Object.prototype),{getPrototypeOf:z5r}=Object,lTt=(r=>t=>{let n=Qnl.call(t);return r[n]||(r[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),YP=r=>(r=r.toLowerCase(),t=>lTt(t)===r),uTt=r=>t=>typeof t===r,{isArray:gxe}=Array,pXe=uTt("undefined");umi=YP("ArrayBuffer");znl=uTt("string"),Qw=uTt("function"),cmi=uTt("number"),cTt=r=>r!==null&&typeof r=="object",qnl=r=>r===!0||r===!1,aTt=r=>{if(lTt(r)!=="object")return!1;let t=z5r(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in r)&&!(Symbol.iterator in r)},Unl=YP("Date"),jnl=YP("File"),Gnl=YP("Blob"),Wnl=YP("FileList"),Hnl=r=>cTt(r)&&Qw(r.pipe),Ynl=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||Qw(r.append)&&((t=lTt(r))==="formdata"||t==="object"&&Qw(r.toString)&&r.toString()==="[object FormData]"))},Vnl=YP("URLSearchParams"),Knl=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");pmi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),fmi=r=>!pXe(r)&&r!==pmi;Jnl=(r,t,n,{allOwnKeys:i}={})=>(fXe(t,(o,s)=>{n&&Qw(o)?r[s]=dXe(o,n):r[s]=o},{allOwnKeys:i}),r),Xnl=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),$nl=(r,t,n,i)=>{r.prototype=Object.create(t.prototype,i),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),n&&Object.assign(r.prototype,n)},Znl=(r,t,n,i)=>{let o,s,a,l={};if(t=t||{},r==null)return t;do{for(o=Object.getOwnPropertyNames(r),s=o.length;s-- >0;)a=o[s],(!i||i(a,r,t))&&!l[a]&&(t[a]=r[a],l[a]=!0);r=n!==!1&&z5r(r)}while(r&&(!n||n(r,t))&&r!==Object.prototype);return t},eil=(r,t,n)=>{r=String(r),(n===void 0||n>r.length)&&(n=r.length),n-=t.length;let i=r.indexOf(t,n);return i!==-1&&i===n},til=r=>{if(!r)return null;if(gxe(r))return r;let t=r.length;if(!cmi(t))return null;let n=new Array(t);for(;t-- >0;)n[t]=r[t];return n},ril=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&z5r(Uint8Array)),nil=(r,t)=>{let i=(r&&r[Symbol.iterator]).call(r),o;for(;(o=i.next())&&!o.done;){let s=o.value;t.call(r,s[0],s[1])}},iil=(r,t)=>{let n,i=[];for(;(n=r.exec(t))!==null;)i.push(n);return i},oil=YP("HTMLFormElement"),sil=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,o){return i.toUpperCase()+o}),ami=(({hasOwnProperty:r})=>(t,n)=>r.call(t,n))(Object.prototype),ail=YP("RegExp"),Ami=(r,t)=>{let n=Object.getOwnPropertyDescriptors(r),i={};fXe(n,(o,s)=>{let a;(a=t(o,s,r))!==!1&&(i[s]=a||o)}),Object.defineProperties(r,i)},lil=r=>{Ami(r,(t,n)=>{if(Qw(r)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;let i=r[n];if(Qw(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},uil=(r,t)=>{let n={},i=o=>{o.forEach(s=>{n[s]=!0})};return gxe(r)?i(r):i(String(r).split(t)),n},cil=()=>{},dil=(r,t)=>(r=+r,Number.isFinite(r)?r:t),F5r="abcdefghijklmnopqrstuvwxyz",lmi="0123456789",hmi={DIGIT:lmi,ALPHA:F5r,ALPHA_DIGIT:F5r+F5r.toUpperCase()+lmi},pil=(r=16,t=hmi.ALPHA_DIGIT)=>{let n="",{length:i}=t;for(;r--;)n+=t[Math.random()*i|0];return n};Ail=r=>{let t=new Array(10),n=(i,o)=>{if(cTt(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[o]=i;let s=gxe(i)?[]:{};return fXe(i,(a,l)=>{let c=n(a,o+1);!pXe(c)&&(s[l]=c)}),t[o]=void 0,s}}return i};return n(r,0)},hil=YP("AsyncFunction"),gil=r=>r&&(cTt(r)||Qw(r))&&Qw(r.then)&&Qw(r.catch),or={isArray:gxe,isArrayBuffer:umi,isBuffer:Fnl,isFormData:Ynl,isArrayBufferView:Lnl,isString:znl,isNumber:cmi,isBoolean:qnl,isObject:cTt,isPlainObject:aTt,isUndefined:pXe,isDate:Unl,isFile:jnl,isBlob:Gnl,isRegExp:ail,isFunction:Qw,isStream:Hnl,isURLSearchParams:Vnl,isTypedArray:ril,isFileList:Wnl,forEach:fXe,merge:L5r,extend:Jnl,trim:Knl,stripBOM:Xnl,inherits:$nl,toFlatObject:Znl,kindOf:lTt,kindOfTest:YP,endsWith:eil,toArray:til,forEachEntry:nil,matchAll:iil,isHTMLForm:oil,hasOwnProperty:ami,hasOwnProp:ami,reduceDescriptors:Ami,freezeMethods:lil,toObjectSet:uil,toCamelCase:sil,noop:cil,toFiniteNumber:dil,findKey:dmi,global:pmi,isContextDefined:fmi,ALPHABET:hmi,generateString:pil,isSpecCompliantForm:fil,toJSONObject:Ail,isAsyncFn:hil,isThenable:gil}});function mxe(r,t,n,i,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),o&&(this.response=o)}var gmi,mmi,Ho,b8=Ge(()=>{"use strict";Cf();or.inherits(mxe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:or.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});gmi=mxe.prototype,mmi={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{mmi[r]={value:r}});Object.defineProperties(mxe,mmi);Object.defineProperty(gmi,"isAxiosError",{value:!0});mxe.from=(r,t,n,i,o,s)=>{let a=Object.create(gmi);return or.toFlatObject(r,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),mxe.call(a,r.message,t,n,i,o),a.cause=r,a.name=r.name,s&&Object.assign(a,s),a};Ho=mxe});var bmi=C((Jwd,Emi)=>{var ymi=require("stream").Stream,mil=require("util");Emi.exports=C8;function C8(){this.source=null,this.dataSize=0,this.maxDataSize=1024*1024,this.pauseStream=!0,this._maxDataSizeExceeded=!1,this._released=!1,this._bufferedEvents=[]}mil.inherits(C8,ymi);C8.create=function(r,t){var n=new this;t=t||{};for(var i in t)n[i]=t[i];n.source=r;var o=r.emit;return r.emit=function(){return n._handleEmit(arguments),o.apply(r,arguments)},r.on("error",function(){}),n.pauseStream&&r.pause(),n};Object.defineProperty(C8.prototype,"readable",{configurable:!0,enumerable:!0,get:function(){return this.source.readable}});C8.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};C8.prototype.resume=function(){this._released||this.release(),this.source.resume()};C8.prototype.pause=function(){this.source.pause()};C8.prototype.release=function(){this._released=!0,this._bufferedEvents.forEach(function(r){this.emit.apply(this,r)}.bind(this)),this._bufferedEvents=[]};C8.prototype.pipe=function(){var r=ymi.prototype.pipe.apply(this,arguments);return this.resume(),r};C8.prototype._handleEmit=function(r){if(this._released){this.emit.apply(this,r);return}r[0]==="data"&&(this.dataSize+=r[1].length,this._checkIfMaxDataSizeExceeded()),this._bufferedEvents.push(r)};C8.prototype._checkIfMaxDataSizeExceeded=function(){if(!this._maxDataSizeExceeded&&!(this.dataSize<=this.maxDataSize)){this._maxDataSizeExceeded=!0;var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(r))}}});var dTt=C((Xwd,vmi)=>{var yil=require("util"),Imi=require("stream").Stream,Cmi=bmi();vmi.exports=ZA;function ZA(){this.writable=!1,this.readable=!0,this.dataSize=0,this.maxDataSize=2*1024*1024,this.pauseStreams=!0,this._released=!1,this._streams=[],this._currentStream=null,this._insideLoop=!1,this._pendingNext=!1}yil.inherits(ZA,Imi);ZA.create=function(r){var t=new this;r=r||{};for(var n in r)t[n]=r[n];return t};ZA.isStreamLike=function(r){return typeof r!="function"&&typeof r!="string"&&typeof r!="boolean"&&typeof r!="number"&&!Buffer.isBuffer(r)};ZA.prototype.append=function(r){var t=ZA.isStreamLike(r);if(t){if(!(r instanceof Cmi)){var n=Cmi.create(r,{maxDataSize:1/0,pauseStream:this.pauseStreams});r.on("data",this._checkDataSize.bind(this)),r=n}this._handleErrors(r),this.pauseStreams&&r.pause()}return this._streams.push(r),this};ZA.prototype.pipe=function(r,t){return Imi.prototype.pipe.call(this,r,t),this.resume(),r};ZA.prototype._getNext=function(){if(this._currentStream=null,this._insideLoop){this._pendingNext=!0;return}this._insideLoop=!0;try{do this._pendingNext=!1,this._realGetNext();while(this._pendingNext)}finally{this._insideLoop=!1}};ZA.prototype._realGetNext=function(){var r=this._streams.shift();if(typeof r>"u"){this.end();return}if(typeof r!="function"){this._pipeNext(r);return}var t=r;t(function(n){var i=ZA.isStreamLike(n);i&&(n.on("data",this._checkDataSize.bind(this)),this._handleErrors(n)),this._pipeNext(n)}.bind(this))};ZA.prototype._pipeNext=function(r){this._currentStream=r;var t=ZA.isStreamLike(r);if(t){r.on("end",this._getNext.bind(this)),r.pipe(this,{end:!1});return}var n=r;this.write(n),this._getNext()};ZA.prototype._handleErrors=function(r){var t=this;r.on("error",function(n){t._emitError(n)})};ZA.prototype.write=function(r){this.emit("data",r)};ZA.prototype.pause=function(){this.pauseStreams&&(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function"&&this._currentStream.pause(),this.emit("pause"))};ZA.prototype.resume=function(){this._released||(this._released=!0,this.writable=!0,this._getNext()),this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function"&&this._currentStream.resume(),this.emit("resume")};ZA.prototype.end=function(){this._reset(),this.emit("end")};ZA.prototype.destroy=function(){this._reset(),this.emit("close")};ZA.prototype._reset=function(){this.writable=!1,this._streams=[],this._currentStream=null};ZA.prototype._checkDataSize=function(){if(this._updateDataSize(),!(this.dataSize<=this.maxDataSize)){var r="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(r))}};ZA.prototype._updateDataSize=function(){this.dataSize=0;var r=this;this._streams.forEach(function(t){t.dataSize&&(r.dataSize+=t.dataSize)}),this._currentStream&&this._currentStream.dataSize&&(this.dataSize+=this._currentStream.dataSize)};ZA.prototype._emitError=function(r){this._reset(),this.emit("error",r)}});var _mi=C(($wd,Eil)=>{Eil.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/3gpp-ims+xml":{source:"iana",compressible:!0},"application/3gpphal+json":{source:"iana",compressible:!0},"application/3gpphalforms+json":{source:"iana",compressible:!0},"application/a2l":{source:"iana"},"application/ace+cbor":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:!0},"application/alto-costmap+json":{source:"iana",compressible:!0},"application/alto-costmapfilter+json":{source:"iana",compressible:!0},"application/alto-directory+json":{source:"iana",compressible:!0},"application/alto-endpointcost+json":{source:"iana",compressible:!0},"application/alto-endpointcostparams+json":{source:"iana",compressible:!0},"application/alto-endpointprop+json":{source:"iana",compressible:!0},"application/alto-endpointpropparams+json":{source:"iana",compressible:!0},"application/alto-error+json":{source:"iana",compressible:!0},"application/alto-networkmap+json":{source:"iana",compressible:!0},"application/alto-networkmapfilter+json":{source:"iana",compressible:!0},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:!0},"application/alto-updatestreamparams+json":{source:"iana",compressible:!0},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/at+jwt":{source:"iana"},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:!0,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:!0,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:!0,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:!0,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:!0,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:!0,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:!0},"application/atsc-rsat+xml":{source:"iana",compressible:!0,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:!0},"application/bacnet-xdd+zip":{source:"iana",compressible:!1},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:!1,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/calendar+json":{source:"iana",compressible:!0},"application/calendar+xml":{source:"iana",compressible:!0,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/captive+json":{source:"iana",compressible:!0},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:!0},"application/ccxml+xml":{source:"iana",compressible:!0,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:!0,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:!0},"application/cellml+xml":{source:"iana",compressible:!0},"application/cfw":{source:"iana"},"application/city+json":{source:"iana",compressible:!0},"application/clr":{source:"iana"},"application/clue+xml":{source:"iana",compressible:!0},"application/clue_info+xml":{source:"iana",compressible:!0},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:!0},"application/coap-group+json":{source:"iana",compressible:!0},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:!0},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:!0,extensions:["cpl"]},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:!0},"application/cstadata+xml":{source:"iana",compressible:!0},"application/csvm+json":{source:"iana",compressible:!0},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:!0},"application/dash+xml":{source:"iana",compressible:!0,extensions:["mpd"]},"application/dash-patch+xml":{source:"iana",compressible:!0,extensions:["mpp"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:!0,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:!0},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:!0},"application/dicom+xml":{source:"iana",compressible:!0},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:!0},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:!0,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:!0},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:!0,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:!0,extensions:["es","ecma"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:!1},"application/edifact":{source:"iana",compressible:!1},"application/efi":{source:"iana"},"application/elm+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/elm+xml":{source:"iana",compressible:!0},"application/emergencycalldata.cap+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/emergencycalldata.comment+xml":{source:"iana",compressible:!0},"application/emergencycalldata.control+xml":{source:"iana",compressible:!0},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:!0},"application/emergencycalldata.veds+xml":{source:"iana",compressible:!0},"application/emma+xml":{source:"iana",compressible:!0,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:!0,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:!0},"application/epub+zip":{source:"iana",compressible:!1,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:!0},"application/express":{source:"iana",extensions:["exp"]},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:!0,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:!0},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/fido.trusted-apps+json":{compressible:!0},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:!1},"application/framework-attributes+xml":{source:"iana",compressible:!0},"application/geo+json":{source:"iana",compressible:!0,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:!0},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:!0,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:!0,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:!1,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:!0},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:!0},"application/ibe-pkg-reply+xml":{source:"iana",compressible:!0},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:!0,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:!0,extensions:["its"]},"application/java-archive":{source:"apache",compressible:!1,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:!1,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:!1,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:!0},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:!0},"application/jrd+json":{source:"iana",compressible:!0},"application/jscalendar+json":{source:"iana",compressible:!0},"application/json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:!0},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:!0,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:!0},"application/jwk-set+json":{source:"iana",compressible:!0},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:!0},"application/kpml-response+xml":{source:"iana",compressible:!0},"application/ld+json":{source:"iana",compressible:!0,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:!0,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:!0},"application/lost+xml":{source:"iana",compressible:!0,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:!0},"application/lpf+zip":{source:"iana",compressible:!1},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:!0,extensions:["mads"]},"application/manifest+json":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:!0,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:!0,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:!0},"application/mathml-presentation+xml":{source:"iana",compressible:!0},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:!0},"application/mbms-deregister+xml":{source:"iana",compressible:!0},"application/mbms-envelope+xml":{source:"iana",compressible:!0},"application/mbms-msk+xml":{source:"iana",compressible:!0},"application/mbms-msk-response+xml":{source:"iana",compressible:!0},"application/mbms-protection-description+xml":{source:"iana",compressible:!0},"application/mbms-reception-report+xml":{source:"iana",compressible:!0},"application/mbms-register+xml":{source:"iana",compressible:!0},"application/mbms-register-response+xml":{source:"iana",compressible:!0},"application/mbms-schedule+xml":{source:"iana",compressible:!0},"application/mbms-user-service-description+xml":{source:"iana",compressible:!0},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:!0,extensions:["mpf"]},"application/media_control+xml":{source:"iana",compressible:!0},"application/mediaservercontrol+xml":{source:"iana",compressible:!0,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:!0},"application/metalink+xml":{source:"apache",compressible:!0,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:!0,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:!0,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/missing-blocks+cbor-seq":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:!0,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:!0,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:!0,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:!0},"application/mrb-publish+xml":{source:"iana",compressible:!0},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/msword":{source:"iana",compressible:!1,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:!0},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:!0},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/oauth-authz-req+jwt":{source:"iana"},"application/oblivious-dns-message":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:!1,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:!0},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:!0,extensions:["opf"]},"application/ogg":{source:"iana",compressible:!1,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:!0,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/opc-nodeset+xml":{source:"iana",compressible:!0},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p21":{source:"iana"},"application/p21+zip":{source:"iana",compressible:!1},"application/p2p-overlay+xml":{source:"iana",compressible:!0,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:!0,extensions:["xer"]},"application/pdf":{source:"iana",compressible:!1,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:!1,extensions:["pgp"]},"application/pgp-keys":{source:"iana",extensions:["asc"]},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:!0,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/postscript":{source:"iana",compressible:!0,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:!0},"application/problem+json":{source:"iana",compressible:!0},"application/problem+xml":{source:"iana",compressible:!0},"application/provenance+xml":{source:"iana",compressible:!0,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.cyn":{source:"iana",charset:"7-BIT"},"application/prs.hpub+zip":{source:"iana",compressible:!1},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:!0},"application/pskc+xml":{source:"iana",compressible:!0,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:!0},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:!0,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:!0},"application/rdf+xml":{source:"iana",compressible:!0,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:!0,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:!0},"application/resource-lists+xml":{source:"iana",compressible:!0,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:!0,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:!0},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:!0},"application/rls-services+xml":{source:"iana",compressible:!0,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:!0,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:!0,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:!0,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:!0,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:!0,extensions:["rss"]},"application/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:!0},"application/samlmetadata+xml":{source:"iana",compressible:!0},"application/sarif+json":{source:"iana",compressible:!0},"application/sarif-external-properties+json":{source:"iana",compressible:!0},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:!0,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:!0},"application/scim+json":{source:"iana",compressible:!0},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:!0},"application/senml+xml":{source:"iana",compressible:!0,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:!0},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:!0},"application/sensml+xml":{source:"iana",compressible:!0,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:!0},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:!0,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:!0},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:!0,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:!0},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:!0,extensions:["srx"]},"application/spdx+json":{source:"iana",compressible:!0},"application/spirits-event+xml":{source:"iana",compressible:!0},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:!0,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:!0,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:!0,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:!0,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:!0},"application/swid+xml":{source:"iana",compressible:!0,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:!0},"application/taxii+json":{source:"iana",compressible:!0},"application/td+json":{source:"iana",compressible:!0},"application/tei+xml":{source:"iana",compressible:!0,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:!0,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:!0},"application/tnauthlist":{source:"iana"},"application/token-introspection+jwt":{source:"iana"},"application/toml":{compressible:!0,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana",extensions:["trig"]},"application/ttml+xml":{source:"iana",compressible:!0,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ubjson":{compressible:!1,extensions:["ubj"]},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:!0},"application/urc-ressheet+xml":{source:"iana",compressible:!0,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:!0,extensions:["td"]},"application/urc-uisocketdesc+xml":{source:"iana",compressible:!0},"application/vcard+json":{source:"iana",compressible:!0},"application/vcard+xml":{source:"iana",compressible:!0},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:!0,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:!0},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.5gnas":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.gtpc":{source:"iana"},"application/vnd.3gpp.interworking-data":{source:"iana"},"application/vnd.3gpp.lpp":{source:"iana"},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ngap":{source:"iana"},"application/vnd.3gpp.pfcp":{source:"iana"},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.s1ap":{source:"iana"},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:!0},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:!0},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:!1,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:!0,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.cmoca-cmresource":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-cmtable":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.age":{source:"iana",extensions:["age"]},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:!0},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:!0},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:!1,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.arrow.file":{source:"iana"},"application/vnd.apache.arrow.stream":{source:"iana"},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:!0},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:!0},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:!0},"application/vnd.apple.installer+xml":{source:"iana",compressible:!0,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["key"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:!1,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:!0},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:!0},"application/vnd.avistar+xml":{source:"iana",compressible:!0},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:!0,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:!0},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:!0},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:!0},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:!0},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:!0},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:!0,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:!0,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:!0},"application/vnd.collection.doc+json":{source:"iana",compressible:!0},"application/vnd.collection.next+json":{source:"iana",compressible:!0},"application/vnd.comicbook+zip":{source:"iana",compressible:!1},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:!0},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:!0,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:!0},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.cryptomator.encrypted":{source:"iana"},"application/vnd.cryptomator.vault":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:!0},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:!0},"application/vnd.cybank":{source:"iana"},"application/vnd.cyclonedx+json":{source:"iana",compressible:!0},"application/vnd.cyclonedx+xml":{source:"iana",compressible:!0},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:!1},"application/vnd.d3m-dataset":{source:"iana"},"application/vnd.d3m-problem":{source:"iana"},"application/vnd.dart":{source:"iana",compressible:!0,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:!0},"application/vnd.dataresource+json":{source:"iana",compressible:!0},"application/vnd.dbf":{source:"iana",extensions:["dbf"]},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:!0,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:!0},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:!0},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:!0},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:!0},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:!0},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:!0},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.eclipse.ditto+json":{source:"iana",compressible:!0},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:!0},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:!0},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:!1},"application/vnd.eszigno3+xml":{source:"iana",compressible:!0,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:!1},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:!1},"application/vnd.etsi.cug+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:!0},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:!0},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:!0},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:!0},"application/vnd.etsi.sci+xml":{source:"iana",compressible:!0},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:!0},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:!0},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eu.kasparian.car+json":{source:"iana",compressible:!0},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:!1},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.familysearch.gedcom+zip":{source:"iana",compressible:!1},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:!1},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujifilm.fb.docuworks":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.binder":{source:"iana"},"application/vnd.fujifilm.fb.docuworks.container":{source:"iana"},"application/vnd.fujifilm.fb.jfi+xml":{source:"iana",compressible:!0},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:!0},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:!0},"application/vnd.geo+json":{source:"iana",compressible:!0},"application/vnd.geocube+xml":{source:"iana",compressible:!0},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.slides":{source:"iana"},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:!1,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:!1,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:!1,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:!0,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:!1,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:!0},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:!1},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:!0},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:!0},"application/vnd.hal+xml":{source:"iana",compressible:!0,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:!0,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:!0},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:!0},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hl7cda+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hl7v2+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:!0},"application/vnd.hyper-item+json":{source:"iana",compressible:!0},"application/vnd.hyperdrive+json":{source:"iana",compressible:!0},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:!1},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:!1},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:!0},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:!0},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:!0},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:!0},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:!0},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:!0},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:!0,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:!1},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:!0},"application/vnd.las.las+xml":{source:"iana",compressible:!0,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:!0},"application/vnd.liberty-request+xml":{source:"iana",compressible:!0},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:!0,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:!1},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana",extensions:["mvt"]},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:!0},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:!0},"application/vnd.maxar.archive.3tz+zip":{source:"iana",compressible:!1},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:!0},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:!0},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:!0,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:!1,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:!0,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:!0},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:!0},"application/vnd.ms-outlook":{compressible:!1,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:!0},"application/vnd.ms-powerpoint":{source:"iana",compressible:!1,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:!0},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:!0},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:!0},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:!1,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.nacamar.ybrid+json":{source:"iana",compressible:!0},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:!0},"application/vnd.nebumind.line":{source:"iana"},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:!0},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:!0},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:!0},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:!0},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:!0,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:!0},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:!1,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:!1,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:!1,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:!1,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:!0},"application/vnd.oftn.l10n+json":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:!0},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:!0},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:!0},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:!0},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:!0},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:!0},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:!0},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:!0},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:!0},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:!0},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:!0},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:!0},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:!0,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:!0},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+cbor":{source:"iana"},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:!0},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:!0},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:!0},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:!0},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:!0},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:!0,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:!0,extensions:["osm"]},"application/vnd.opentimestamps.ots":{source:"iana"},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:!1,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:!1,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:!1,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:!0},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:!0},"application/vnd.oracle.resource+json":{source:"iana",compressible:!0},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:!0},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:!0},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:!0},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:!0},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:!0},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:!0},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana",extensions:["rar"]},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:!0,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.resilient.logic":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:!0},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:!0,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.seis+json":{source:"iana",compressible:!0},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:!0},"application/vnd.shopkick+json":{source:"iana",compressible:!0},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:!0},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:!0,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:!0,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:!0,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.sycle+xml":{source:"iana",compressible:!0},"application/vnd.syft+json":{source:"iana",compressible:!0},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:!0},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:!0},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:!0},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:!0},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:!0,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:!0},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veritone.aion+json":{source:"iana",compressible:!0},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.dpp":{source:"iana"},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:!0},"application/vnd.wv.ssp+xml":{source:"iana",compressible:!0},"application/vnd.xacml+json":{source:"iana",compressible:!0},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:!0},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:!0,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:!0,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:!0,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:!0},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{source:"iana",compressible:!0,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:!0,extensions:["wif"]},"application/webpush-options+json":{source:"iana",compressible:!0},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:!0,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:!0,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:!1,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:!1,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:!1,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:!1,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:!1,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:!1},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:!0,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:!0,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:!0,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:!1,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:!0,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-iwork-keynote-sffkey":{extensions:["key"]},"application/x-iwork-numbers-sffnumbers":{extensions:["numbers"]},"application/x-iwork-pages-sffpages":{extensions:["pages"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:!1,extensions:["jnlp"]},"application/x-javascript":{compressible:!0},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:!1,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:!1},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:!0,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:!1,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:!1,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:!0,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:!1,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:!1,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:!0,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:!0,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:!0,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:!0,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:!0,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:!1,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:!0,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:!0,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:!0,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:!0,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:!0},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:!0,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:!1,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:!0},"application/xaml+xml":{source:"apache",compressible:!0,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:!0,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:!0,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:!0,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:!0,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:!0},"application/xcap-ns+xml":{source:"iana",compressible:!0,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:!0},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:!0},"application/xenc+xml":{source:"iana",compressible:!0,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:!0,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:!0},"application/xliff+xml":{source:"iana",compressible:!0,extensions:["xlf"]},"application/xml":{source:"iana",compressible:!0,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:!0,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:!0},"application/xmpp+xml":{source:"iana",compressible:!0},"application/xop+xml":{source:"iana",compressible:!0,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:!0,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:!0,extensions:["xsl","xslt"]},"application/xspf+xml":{source:"apache",compressible:!0,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:!0,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:!0},"application/yang-data+xml":{source:"iana",compressible:!0},"application/yang-patch+json":{source:"iana",compressible:!0},"application/yang-patch+xml":{source:"iana",compressible:!0},"application/yin+xml":{source:"iana",compressible:!0,extensions:["yin"]},"application/zip":{source:"iana",compressible:!1,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:!1,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana",extensions:["amr"]},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:!1,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:!1},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:!1,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:!1,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:!1,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:!1,extensions:["oga","ogg","spx","opus"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/scip":{source:"iana"},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sofa":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/tsvcis":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:!1},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:!1},"audio/vorbis":{source:"iana",compressible:!1},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:!1,extensions:["wav"]},"audio/wave":{compressible:!1,extensions:["wav"]},"audio/webm":{source:"apache",compressible:!1,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:!1,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:!1,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:!0,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:!0,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:!1,extensions:["apng"]},"image/avci":{source:"iana",extensions:["avci"]},"image/avcs":{source:"iana",extensions:["avcs"]},"image/avif":{source:"iana",compressible:!1,extensions:["avif"]},"image/bmp":{source:"iana",compressible:!0,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:!1,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:!1,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:!1,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:!1,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:!1,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/ktx2":{source:"iana",extensions:["ktx2"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:!1},"image/png":{source:"iana",compressible:!1,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:!0,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:!1,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:!0,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",compressible:!0,extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{compressible:!0,extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.pco.b16":{source:"iana",extensions:["b16"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:!0,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:!0,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:!1},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:!1},"message/imdn+xml":{source:"iana",compressible:!0},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:!1},"message/rfc822":{source:"iana",compressible:!0,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/e57":{source:"iana"},"model/gltf+json":{source:"iana",compressible:!0,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:!0,extensions:["glb"]},"model/iges":{source:"iana",compressible:!1,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:!1,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/step":{source:"iana"},"model/step+xml":{source:"iana",compressible:!0,extensions:["stpx"]},"model/step+zip":{source:"iana",compressible:!1,extensions:["stpz"]},"model/step-xml+zip":{source:"iana",compressible:!1,extensions:["stpxz"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:!0,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:!0},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.pytha.pyox":{source:"iana"},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.sap.vds":{source:"iana",extensions:["vds"]},"model/vnd.usdz+zip":{source:"iana",compressible:!1,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:!1,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:!1,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:!1,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:!0,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:!1},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:!1},"multipart/form-data":{source:"iana",compressible:!1},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:!1},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:!1},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:!0,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:!0},"text/cmd":{compressible:!0},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/cql":{source:"iana"},"text/cql-expression":{source:"iana"},"text/cql-identifier":{source:"iana"},"text/css":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["css"]},"text/csv":{source:"iana",compressible:!0,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/fhirpath":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/gff3":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:!0,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:!0},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:!0,extensions:["jsx"]},"text/less":{compressible:!0,extensions:["less"]},"text/markdown":{source:"iana",compressible:!0,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:!0,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:!0,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:!0,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:!0,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shaclc":{source:"iana"},"text/shex":{source:"iana",extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/spdx":{source:"iana",extensions:["spdx"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:!0,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:!0,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:!0,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.familysearch.gedcom":{source:"iana",extensions:["ged"]},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hans":{source:"iana"},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:!0,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:!0},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:!0},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:!0,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:!0,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:!0,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:!0,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:!0,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{compressible:!0,extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/av1":{source:"iana"},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/ffv1":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana",extensions:["m4s"]},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/jxsv":{source:"iana"},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:!1,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:!1,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:!1,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:!1,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/scip":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/vp9":{source:"iana"},"video/webm":{source:"apache",compressible:!1,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:!1,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:!1,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:!1,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:!0},"x-shader/x-vertex":{compressible:!0}}});var q5r=C((Zwd,xmi)=>{xmi.exports=_mi()});var q$=C(y_=>{"use strict";var pTt=q5r(),bil=require("path").extname,Tmi=/^\s*([^;\s]*)(?:;|\s|$)/,Cil=/^text\//i;y_.charset=Smi;y_.charsets={lookup:Smi};y_.contentType=Iil;y_.extension=vil;y_.extensions=Object.create(null);y_.lookup=_il;y_.types=Object.create(null);xil(y_.extensions,y_.types);function Smi(r){if(!r||typeof r!="string")return!1;var t=Tmi.exec(r),n=t&&pTt[t[1].toLowerCase()];return n&&n.charset?n.charset:t&&Cil.test(t[1])?"UTF-8":!1}function Iil(r){if(!r||typeof r!="string")return!1;var t=r.indexOf("/")===-1?y_.lookup(r):r;if(!t)return!1;if(t.indexOf("charset")===-1){var n=y_.charset(t);n&&(t+="; charset="+n.toLowerCase())}return t}function vil(r){if(!r||typeof r!="string")return!1;var t=Tmi.exec(r),n=t&&y_.extensions[t[1].toLowerCase()];return!n||!n.length?!1:n[0]}function _il(r){if(!r||typeof r!="string")return!1;var t=bil("x."+r).toLowerCase().substr(1);return t&&y_.types[t]||!1}function xil(r,t){var n=["nginx","apache",void 0,"iana"];Object.keys(pTt).forEach(function(o){var s=pTt[o],a=s.extensions;if(!(!a||!a.length)){r[o]=a;for(var l=0;l<a.length;l++){var c=a[l];if(t[c]){var u=n.indexOf(pTt[t[c]].source),d=n.indexOf(s.source);if(t[c]!=="application/octet-stream"&&(u>d||u===d&&t[c].substr(0,12)==="application/"))continue}t[c]=o}}})}});var wmi=C((t6d,Omi)=>{Omi.exports=Til;function Til(r){var t=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;t?t(r):setTimeout(r,0)}});var U5r=C((r6d,Bmi)=>{var Rmi=wmi();Bmi.exports=Sil;function Sil(r){var t=!1;return Rmi(function(){t=!0}),function(i,o){t?r(i,o):Rmi(function(){r(i,o)})}}});var j5r=C((n6d,Mmi)=>{Mmi.exports=Oil;function Oil(r){Object.keys(r.jobs).forEach(wil.bind(r)),r.jobs={}}function wil(r){typeof this.jobs[r]=="function"&&this.jobs[r]()}});var G5r=C((i6d,Nmi)=>{var Dmi=U5r(),Ril=j5r();Nmi.exports=Bil;function Bil(r,t,n,i){var o=n.keyedList?n.keyedList[n.index]:n.index;n.jobs[o]=Mil(t,o,r[o],function(s,a){o in n.jobs&&(delete n.jobs[o],s?Ril(n):n.results[o]=a,i(s,n.results))})}function Mil(r,t,n,i){var o;return r.length==2?o=r(n,Dmi(i)):o=r(n,t,Dmi(i)),o}});var W5r=C((o6d,Pmi)=>{Pmi.exports=Dil;function Dil(r,t){var n=!Array.isArray(r),i={index:0,keyedList:n||t?Object.keys(r):null,jobs:{},results:n?{}:[],size:n?Object.keys(r).length:r.length};return t&&i.keyedList.sort(n?t:function(o,s){return t(r[o],r[s])}),i}});var H5r=C((s6d,kmi)=>{var Nil=j5r(),Pil=U5r();kmi.exports=kil;function kil(r){Object.keys(this.jobs).length&&(this.index=this.size,Nil(this),Pil(r)(null,this.results))}});var Fmi=C((a6d,Qmi)=>{var Qil=G5r(),Fil=W5r(),Lil=H5r();Qmi.exports=zil;function zil(r,t,n){for(var i=Fil(r);i.index<(i.keyedList||r).length;)Qil(r,t,i,function(o,s){if(o){n(o,s);return}if(Object.keys(i.jobs).length===0){n(null,i.results);return}}),i.index++;return Lil.bind(i,n)}});var Y5r=C((l6d,fTt)=>{var Lmi=G5r(),qil=W5r(),Uil=H5r();fTt.exports=jil;fTt.exports.ascending=zmi;fTt.exports.descending=Gil;function jil(r,t,n,i){var o=qil(r,n);return Lmi(r,t,o,function s(a,l){if(a){i(a,l);return}if(o.index++,o.index<(o.keyedList||r).length){Lmi(r,t,o,s);return}i(null,o.results)}),Uil.bind(o,i)}function zmi(r,t){return r<t?-1:r>t?1:0}function Gil(r,t){return-1*zmi(r,t)}});var Umi=C((u6d,qmi)=>{var Wil=Y5r();qmi.exports=Hil;function Hil(r,t,n){return Wil(r,t,null,n)}});var V5r=C((c6d,jmi)=>{jmi.exports={parallel:Fmi(),serial:Umi(),serialOrdered:Y5r()}});var Wmi=C((d6d,Gmi)=>{Gmi.exports=function(r,t){return Object.keys(t).forEach(function(n){r[n]=r[n]||t[n]}),r}});var AXe=C((p6d,Ymi)=>{var $5r=dTt(),Hmi=require("util"),K5r=require("path"),Yil=require("http"),Vil=require("https"),Kil=require("url").parse,Jil=require("fs"),Xil=require("stream").Stream,J5r=q$(),$il=V5r(),X5r=Wmi();Ymi.exports=Gc;Hmi.inherits(Gc,$5r);function Gc(r){if(!(this instanceof Gc))return new Gc(r);this._overheadLength=0,this._valueLength=0,this._valuesToMeasure=[],$5r.call(this),r=r||{};for(var t in r)this[t]=r[t]}Gc.LINE_BREAK=`\r
169
169
  `;Gc.DEFAULT_CONTENT_TYPE="application/octet-stream";Gc.prototype.append=function(r,t,n){n=n||{},typeof n=="string"&&(n={filename:n});var i=$5r.prototype.append.bind(this);if(typeof t=="number"&&(t=""+t),Hmi.isArray(t)){this._error(new Error("Arrays are not supported."));return}var o=this._multiPartHeader(r,t,n),s=this._multiPartFooter();i(o),i(t),i(s),this._trackLength(o,t,n)};Gc.prototype._trackLength=function(r,t,n){var i=0;n.knownLength!=null?i+=+n.knownLength:Buffer.isBuffer(t)?i=t.length:typeof t=="string"&&(i=Buffer.byteLength(t)),this._valueLength+=i,this._overheadLength+=Buffer.byteLength(r)+Gc.LINE_BREAK.length,!(!t||!t.path&&!(t.readable&&t.hasOwnProperty("httpVersion"))&&!(t instanceof Xil))&&(n.knownLength||this._valuesToMeasure.push(t))};Gc.prototype._lengthRetriever=function(r,t){r.hasOwnProperty("fd")?r.end!=null&&r.end!=1/0&&r.start!=null?t(null,r.end+1-(r.start?r.start:0)):Jil.stat(r.path,function(n,i){var o;if(n){t(n);return}o=i.size-(r.start?r.start:0),t(null,o)}):r.hasOwnProperty("httpVersion")?t(null,+r.headers["content-length"]):r.hasOwnProperty("httpModule")?(r.on("response",function(n){r.pause(),t(null,+n.headers["content-length"])}),r.resume()):t("Unknown stream")};Gc.prototype._multiPartHeader=function(r,t,n){if(typeof n.header=="string")return n.header;var i=this._getContentDisposition(t,n),o=this._getContentType(t,n),s="",a={"Content-Disposition":["form-data",'name="'+r+'"'].concat(i||[]),"Content-Type":[].concat(o||[])};typeof n.header=="object"&&X5r(a,n.header);var l;for(var c in a)a.hasOwnProperty(c)&&(l=a[c],l!=null&&(Array.isArray(l)||(l=[l]),l.length&&(s+=c+": "+l.join("; ")+Gc.LINE_BREAK)));return"--"+this.getBoundary()+Gc.LINE_BREAK+s+Gc.LINE_BREAK};Gc.prototype._getContentDisposition=function(r,t){var n,i;return typeof t.filepath=="string"?n=K5r.normalize(t.filepath).replace(/\\/g,"/"):t.filename||r.name||r.path?n=K5r.basename(t.filename||r.name||r.path):r.readable&&r.hasOwnProperty("httpVersion")&&(n=K5r.basename(r.client._httpMessage.path||"")),n&&(i='filename="'+n+'"'),i};Gc.prototype._getContentType=function(r,t){var n=t.contentType;return!n&&r.name&&(n=J5r.lookup(r.name)),!n&&r.path&&(n=J5r.lookup(r.path)),!n&&r.readable&&r.hasOwnProperty("httpVersion")&&(n=r.headers["content-type"]),!n&&(t.filepath||t.filename)&&(n=J5r.lookup(t.filepath||t.filename)),!n&&typeof r=="object"&&(n=Gc.DEFAULT_CONTENT_TYPE),n};Gc.prototype._multiPartFooter=function(){return function(r){var t=Gc.LINE_BREAK,n=this._streams.length===0;n&&(t+=this._lastBoundary()),r(t)}.bind(this)};Gc.prototype._lastBoundary=function(){return"--"+this.getBoundary()+"--"+Gc.LINE_BREAK};Gc.prototype.getHeaders=function(r){var t,n={"content-type":"multipart/form-data; boundary="+this.getBoundary()};for(t in r)r.hasOwnProperty(t)&&(n[t.toLowerCase()]=r[t]);return n};Gc.prototype.setBoundary=function(r){this._boundary=r};Gc.prototype.getBoundary=function(){return this._boundary||this._generateBoundary(),this._boundary};Gc.prototype.getBuffer=function(){for(var r=new Buffer.alloc(0),t=this.getBoundary(),n=0,i=this._streams.length;n<i;n++)typeof this._streams[n]!="function"&&(Buffer.isBuffer(this._streams[n])?r=Buffer.concat([r,this._streams[n]]):r=Buffer.concat([r,Buffer.from(this._streams[n])]),(typeof this._streams[n]!="string"||this._streams[n].substring(2,t.length+2)!==t)&&(r=Buffer.concat([r,Buffer.from(Gc.LINE_BREAK)])));return Buffer.concat([r,Buffer.from(this._lastBoundary())])};Gc.prototype._generateBoundary=function(){for(var r="--------------------------",t=0;t<24;t++)r+=Math.floor(Math.random()*10).toString(16);this._boundary=r};Gc.prototype.getLengthSync=function(){var r=this._overheadLength+this._valueLength;return this._streams.length&&(r+=this._lastBoundary().length),this.hasKnownLength()||this._error(new Error("Cannot calculate proper length in synchronous way.")),r};Gc.prototype.hasKnownLength=function(){var r=!0;return this._valuesToMeasure.length&&(r=!1),r};Gc.prototype.getLength=function(r){var t=this._overheadLength+this._valueLength;if(this._streams.length&&(t+=this._lastBoundary().length),!this._valuesToMeasure.length){process.nextTick(r.bind(this,null,t));return}$il.parallel(this._valuesToMeasure,this._lengthRetriever,function(n,i){if(n){r(n);return}i.forEach(function(o){t+=o}),r(null,t)})};Gc.prototype.submit=function(r,t){var n,i,o={method:"post"};return typeof r=="string"?(r=Kil(r),i=X5r({port:r.port,path:r.pathname,host:r.hostname,protocol:r.protocol},o)):(i=X5r(r,o),i.port||(i.port=i.protocol=="https:"?443:80)),i.headers=this.getHeaders(r.headers),i.protocol=="https:"?n=Vil.request(i):n=Yil.request(i),this.getLength(function(s,a){if(s&&s!=="Unknown stream"){this._error(s);return}if(a&&n.setHeader("Content-Length",a),this.pipe(n),t){var l,c=function(u,d){return n.removeListener("error",c),n.removeListener("response",l),t.call(this,u,d)};l=c.bind(this,null),n.on("error",c),n.on("response",l)}}.bind(this)),n};Gc.prototype._error=function(r){this.error||(this.error=r,this.pause(),this.emit("error",r))};Gc.prototype.toString=function(){return"[object FormData]"}});var Vmi,ATt,Z5r=Ge(()=>{Vmi=ht(AXe(),1),ATt=Vmi.default});function ewr(r){return or.isPlainObject(r)||or.isArray(r)}function Jmi(r){return or.endsWith(r,"[]")?r.slice(0,-2):r}function Kmi(r,t,n){return r?r.concat(t).map(function(o,s){return o=Jmi(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Zil(r){return or.isArray(r)&&!r.some(ewr)}function tol(r,t,n){if(!or.isObject(r))throw new TypeError("target must be an object");t=t||new(ATt||FormData),n=or.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,I){return!or.isUndefined(I[y])});let i=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&or.isSpecCompliantForm(t);if(!or.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(or.isDate(h))return h.toISOString();if(!c&&or.isBlob(h))throw new Ho("Blob is not supported. Use a Buffer instead.");return or.isArrayBuffer(h)||or.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,y,I){let v=h;if(h&&!I&&typeof h=="object"){if(or.endsWith(y,"{}"))y=i?y:y.slice(0,-2),h=JSON.stringify(h);else if(or.isArray(h)&&Zil(h)||(or.isFileList(h)||or.endsWith(y,"[]"))&&(v=or.toArray(h)))return y=Jmi(y),v.forEach(function(S,w){!(or.isUndefined(S)||S===null)&&t.append(a===!0?Kmi([y],w,s):a===null?y:y+"[]",u(S))}),!1}return ewr(h)?!0:(t.append(Kmi(I,y,s),u(h)),!1)}let p=[],f=Object.assign(eol,{defaultVisitor:d,convertValue:u,isVisitable:ewr});function A(h,y){if(!or.isUndefined(h)){if(p.indexOf(h)!==-1)throw Error("Circular reference detected in "+y.join("."));p.push(h),or.forEach(h,function(v,T){(!(or.isUndefined(v)||v===null)&&o.call(t,v,or.isString(T)?T.trim():T,y,f))===!0&&A(v,y?y.concat(T):[T])}),p.pop()}}if(!or.isObject(r))throw new TypeError("data must be an object");return A(r),t}var eol,U$,hXe=Ge(()=>{"use strict";Cf();b8();Z5r();eol=or.toFlatObject(or,{},null,function(t){return/^is[A-Z]/.test(t)});U$=tol});function Xmi(r){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function $mi(r,t){this._pairs=[],r&&U$(r,this,t)}var Zmi,e2i,t2i=Ge(()=>{"use strict";hXe();Zmi=$mi.prototype;Zmi.append=function(t,n){this._pairs.push([t,n])};Zmi.toString=function(t){let n=t?function(i){return t.call(this,i,Xmi)}:Xmi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};e2i=$mi});function rol(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Y1e(r,t,n){if(!t)return r;let i=n&&n.encode||rol,o=n&&n.serialize,s;if(o?s=o(t,n):s=or.isURLSearchParams(t)?t.toString():new e2i(t,n).toString(i),s){let a=r.indexOf("#");a!==-1&&(r=r.slice(0,a)),r+=(r.indexOf("?")===-1?"?":"&")+s}return r}var hTt=Ge(()=>{"use strict";Cf();t2i()});var twr,rwr,r2i=Ge(()=>{"use strict";Cf();twr=class{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){or.forEach(this.handlers,function(i){i!==null&&t(i)})}},rwr=twr});var yxe,gTt=Ge(()=>{"use strict";yxe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}});var n2i,i2i,o2i=Ge(()=>{"use strict";n2i=ht(require("url"),1),i2i=n2i.default.URLSearchParams});var s2i,a2i=Ge(()=>{o2i();Z5r();s2i={isNode:!0,classes:{URLSearchParams:i2i,FormData:ATt,Blob:typeof Blob<"u"&&Blob||null},protocols:["http","https","file","data"]}});var nwr={};W4(nwr,{hasBrowserEnv:()=>l2i,hasStandardBrowserEnv:()=>nol,hasStandardBrowserWebWorkerEnv:()=>iol});var l2i,nol,iol,u2i=Ge(()=>{l2i=typeof window<"u"&&typeof document<"u",nol=(r=>l2i&&["ReactNative","NativeScript","NS"].indexOf(r)<0)(typeof navigator<"u"&&navigator.product),iol=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")()});var Xm,j$=Ge(()=>{a2i();u2i();Xm={...nwr,...s2i}});function iwr(r,t){return U$(r,new Xm.classes.URLSearchParams,Object.assign({visitor:function(n,i,o,s){return Xm.isNode&&or.isBuffer(n)?(this.append(i,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}var c2i=Ge(()=>{"use strict";Cf();hXe();j$()});function ool(r){return or.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sol(r){let t={},n=Object.keys(r),i,o=n.length,s;for(i=0;i<o;i++)s=n[i],t[s]=r[s];return t}function aol(r){function t(n,i,o,s){let a=n[s++],l=Number.isFinite(+a),c=s>=n.length;return a=!a&&or.isArray(o)?o.length:a,c?(or.hasOwnProp(o,a)?o[a]=[o[a],i]:o[a]=i,!l):((!o[a]||!or.isObject(o[a]))&&(o[a]=[]),t(n,i,o[a],s)&&or.isArray(o[a])&&(o[a]=sol(o[a])),!l)}if(or.isFormData(r)&&or.isFunction(r.entries)){let n={};return or.forEachEntry(r,(i,o)=>{t(ool(i),o,n,0)}),n}return null}var mTt,owr=Ge(()=>{"use strict";Cf();mTt=aol});function lol(r,t,n){if(or.isString(r))try{return(t||JSON.parse)(r),or.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var swr,Exe,yTt=Ge(()=>{"use strict";Cf();b8();gTt();hXe();c2i();j$();owr();swr={transitional:yxe,adapter:["xhr","http"],transformRequest:[function(t,n){let i=n.getContentType()||"",o=i.indexOf("application/json")>-1,s=or.isObject(t);if(s&&or.isHTMLForm(t)&&(t=new FormData(t)),or.isFormData(t))return o&&o?JSON.stringify(mTt(t)):t;if(or.isArrayBuffer(t)||or.isBuffer(t)||or.isStream(t)||or.isFile(t)||or.isBlob(t))return t;if(or.isArrayBufferView(t))return t.buffer;if(or.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(s){if(i.indexOf("application/x-www-form-urlencoded")>-1)return iwr(t,this.formSerializer).toString();if((l=or.isFileList(t))||i.indexOf("multipart/form-data")>-1){let c=this.env&&this.env.FormData;return U$(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),lol(t)):t}],transformResponse:[function(t){let n=this.transitional||swr.transitional,i=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&or.isString(t)&&(i&&!this.responseType||o)){let a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?Ho.from(l,Ho.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xm.classes.FormData,Blob:Xm.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};or.forEach(["delete","get","head","post","put","patch"],r=>{swr.headers[r]={}});Exe=swr});var uol,d2i,p2i=Ge(()=>{"use strict";Cf();uol=or.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),d2i=r=>{let t={},n,i,o;return r&&r.split(`
170
170
  `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),i=a.substring(o+1).trim(),!(!n||t[n]&&uol[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t}});function gXe(r){return r&&String(r).trim().toLowerCase()}function ETt(r){return r===!1||r==null?r:or.isArray(r)?r.map(ETt):String(r)}function col(r){let t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,i;for(;i=n.exec(r);)t[i[1]]=i[2];return t}function awr(r,t,n,i,o){if(or.isFunction(i))return i.call(this,t,n);if(o&&(t=n),!!or.isString(t)){if(or.isString(i))return t.indexOf(i)!==-1;if(or.isRegExp(i))return i.test(t)}}function pol(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function fol(r,t){let n=or.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(r,i+n,{value:function(o,s,a){return this[i].call(this,t,o,s,a)},configurable:!0})})}var f2i,dol,bxe,$m,G$=Ge(()=>{"use strict";Cf();p2i();f2i=Symbol("internals");dol=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());bxe=class{constructor(t){t&&this.set(t)}set(t,n,i){let o=this;function s(l,c,u){let d=gXe(c);if(!d)throw new Error("header name must be a non-empty string");let p=or.findKey(o,d);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=ETt(l))}let a=(l,c)=>or.forEach(l,(u,d)=>s(u,d,c));return or.isPlainObject(t)||t instanceof this.constructor?a(t,n):or.isString(t)&&(t=t.trim())&&!dol(t)?a(d2i(t),n):t!=null&&s(n,t,i),this}get(t,n){if(t=gXe(t),t){let i=or.findKey(this,t);if(i){let o=this[i];if(!n)return o;if(n===!0)return col(o);if(or.isFunction(n))return n.call(this,o,i);if(or.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gXe(t),t){let i=or.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||awr(this,this[i],i,n)))}return!1}delete(t,n){let i=this,o=!1;function s(a){if(a=gXe(a),a){let l=or.findKey(i,a);l&&(!n||awr(i,i[l],l,n))&&(delete i[l],o=!0)}}return or.isArray(t)?t.forEach(s):s(t),o}clear(t){let n=Object.keys(this),i=n.length,o=!1;for(;i--;){let s=n[i];(!t||awr(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){let n=this,i={};return or.forEach(this,(o,s)=>{let a=or.findKey(i,s);if(a){n[a]=ETt(o),delete n[s];return}let l=t?pol(s):String(s).trim();l!==s&&delete n[s],n[l]=ETt(o),i[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let n=Object.create(null);return or.forEach(this,(i,o)=>{i!=null&&i!==!1&&(n[o]=t&&or.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
171
171
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){let i=new this(t);return n.forEach(o=>i.set(o)),i}static accessor(t){let i=(this[f2i]=this[f2i]={accessors:{}}).accessors,o=this.prototype;function s(a){let l=gXe(a);i[l]||(fol(o,a),i[l]=!0)}return or.isArray(t)?t.forEach(s):s(t),this}};bxe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);or.reduceDescriptors(bxe.prototype,({value:r},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(i){this[n]=i}}});or.freezeMethods(bxe);$m=bxe});function mXe(r,t){let n=this||Exe,i=t||n,o=$m.from(i.headers),s=i.data;return or.forEach(r,function(l){s=l.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}var A2i=Ge(()=>{"use strict";Cf();yTt();G$()});function yXe(r){return!!(r&&r.__CANCEL__)}var lwr=Ge(()=>{"use strict"});function h2i(r,t,n){Ho.call(this,r??"canceled",Ho.ERR_CANCELED,t,n),this.name="CanceledError"}var I8,Cxe=Ge(()=>{"use strict";b8();Cf();or.inherits(h2i,Ho,{__CANCEL__:!0});I8=h2i});function W$(r,t,n){let i=n.config.validateStatus;!n.status||!i||i(n.status)?r(n):t(new Ho("Request failed with status code "+n.status,[Ho.ERR_BAD_REQUEST,Ho.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var uwr=Ge(()=>{"use strict";b8()});function cwr(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}var g2i=Ge(()=>{"use strict"});function dwr(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r}var m2i=Ge(()=>{"use strict"});function V1e(r,t){return r&&!cwr(t)?dwr(r,t):t}var bTt=Ge(()=>{"use strict";g2i();m2i()});var EXe=C(y2i=>{"use strict";var Aol=require("url").parse,hol={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443},gol=String.prototype.endsWith||function(r){return r.length<=this.length&&this.indexOf(r,this.length-r.length)!==-1};function mol(r){var t=typeof r=="string"?Aol(r):r||{},n=t.protocol,i=t.host,o=t.port;if(typeof i!="string"||!i||typeof n!="string"||(n=n.split(":",1)[0],i=i.replace(/:\d*$/,""),o=parseInt(o)||hol[n]||0,!yol(i,o)))return"";var s=Ixe("npm_config_"+n+"_proxy")||Ixe(n+"_proxy")||Ixe("npm_config_proxy")||Ixe("all_proxy");return s&&s.indexOf("://")===-1&&(s=n+"://"+s),s}function yol(r,t){var n=(Ixe("npm_config_no_proxy")||Ixe("no_proxy")).toLowerCase();return n?n==="*"?!1:n.split(/[,\s]/).every(function(i){if(!i)return!0;var o=i.match(/^(.+):(\d+)$/),s=o?o[1]:i,a=o?parseInt(o[2]):0;return a&&a!==t?!0:/^[.*]/.test(s)?(s.charAt(0)==="*"&&(s=s.slice(1)),!gol.call(r,s)):r!==s}):!0}function Ixe(r){return process.env[r.toLowerCase()]||process.env[r.toUpperCase()]||""}y2i.getProxyForUrl=mol});var pwr=C((fRd,E2i)=>{"use strict";function Eol(r){n.debug=n,n.default=n,n.coerce=c,n.disable=a,n.enable=s,n.enabled=l,n.humanize=B_t(),Object.keys(r).forEach(function(u){n[u]=r[u]}),n.instances=[],n.names=[],n.skips=[],n.formatters={};function t(u){for(var d=0,p=0;p<u.length;p++)d=(d<<5)-d+u.charCodeAt(p),d|=0;return n.colors[Math.abs(d)%n.colors.length]}n.selectColor=t;function n(u){var d;function p(){if(p.enabled){for(var f=arguments.length,A=new Array(f),h=0;h<f;h++)A[h]=arguments[h];var y=p,I=Number(new Date),v=I-(d||I);y.diff=v,y.prev=d,y.curr=I,d=I,A[0]=n.coerce(A[0]),typeof A[0]!="string"&&A.unshift("%O");var T=0;A[0]=A[0].replace(/%([a-zA-Z%])/g,function(w,Q){if(w==="%%")return w;T++;var L=n.formatters[Q];if(typeof L=="function"){var H=A[T];w=L.call(y,H),A.splice(T,1),T--}return w}),n.formatArgs.call(y,A);var S=y.log||n.log;S.apply(y,A)}}return p.namespace=u,p.enabled=n.enabled(u),p.useColors=n.useColors(),p.color=t(u),p.destroy=i,p.extend=o,typeof n.init=="function"&&n.init(p),n.instances.push(p),p}function i(){var u=n.instances.indexOf(this);return u!==-1?(n.instances.splice(u,1),!0):!1}function o(u,d){return n(this.namespace+(typeof d>"u"?":":d)+u)}function s(u){n.save(u),n.names=[],n.skips=[];var d,p=(typeof u=="string"?u:"").split(/[\s,]+/),f=p.length;for(d=0;d<f;d++)p[d]&&(u=p[d].replace(/\*/g,".*?"),u[0]==="-"?n.skips.push(new RegExp("^"+u.substr(1)+"$")):n.names.push(new RegExp("^"+u+"$")));for(d=0;d<n.instances.length;d++){var A=n.instances[d];A.enabled=n.enabled(A.namespace)}}function a(){n.enable("")}function l(u){if(u[u.length-1]==="*")return!0;var d,p;for(d=0,p=n.skips.length;d<p;d++)if(n.skips[d].test(u))return!1;for(d=0,p=n.names.length;d<p;d++)if(n.names[d].test(u))return!0;return!1}function c(u){return u instanceof Error?u.stack||u.message:u}return n.enable(n.load()),n}E2i.exports=Eol});var b2i=C((Fw,ITt)=>{"use strict";function CTt(r){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?CTt=function(n){return typeof n}:CTt=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},CTt(r)}Fw.log=Iol;Fw.formatArgs=Col;Fw.save=vol;Fw.load=_ol;Fw.useColors=bol;Fw.storage=xol();Fw.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function bol(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Col(r){if(r[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+r[0]+(this.useColors?"%c ":" ")+"+"+ITt.exports.humanize(this.diff),!!this.useColors){var t="color: "+this.color;r.splice(1,0,t,"color: inherit");var n=0,i=0;r[0].replace(/%[a-zA-Z%]/g,function(o){o!=="%%"&&(n++,o==="%c"&&(i=n))}),r.splice(i,0,t)}}function Iol(){var r;return(typeof console>"u"?"undefined":CTt(console))==="object"&&console.log&&(r=console).log.apply(r,arguments)}function vol(r){try{r?Fw.storage.setItem("debug",r):Fw.storage.removeItem("debug")}catch{}}function _ol(){var r;try{r=Fw.storage.getItem("debug")}catch{}return!r&&typeof process<"u"&&"env"in process&&(r=process.env.DEBUG),r}function xol(){try{return localStorage}catch{}}ITt.exports=pwr()(Fw);var Tol=ITt.exports.formatters;Tol.j=function(r){try{return JSON.stringify(r)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var I2i=C((ARd,C2i)=>{"use strict";C2i.exports=(r,t=process.argv)=>{let n=r.startsWith("-")?"":r.length===1?"-":"--",i=t.indexOf(n+r),o=t.indexOf("--");return i!==-1&&(o===-1||i<o)}});var vTt=C((hRd,_2i)=>{"use strict";var Sol=require("os"),v2i=require("tty"),Lw=I2i(),{env:yy}=process,H$;Lw("no-color")||Lw("no-colors")||Lw("color=false")||Lw("color=never")?H$=0:(Lw("color")||Lw("colors")||Lw("color=true")||Lw("color=always"))&&(H$=1);"FORCE_COLOR"in yy&&(yy.FORCE_COLOR==="true"?H$=1:yy.FORCE_COLOR==="false"?H$=0:H$=yy.FORCE_COLOR.length===0?1:Math.min(parseInt(yy.FORCE_COLOR,10),3));function fwr(r){return r===0?!1:{level:r,hasBasic:!0,has256:r>=2,has16m:r>=3}}function Awr(r,t){if(H$===0)return 0;if(Lw("color=16m")||Lw("color=full")||Lw("color=truecolor"))return 3;if(Lw("color=256"))return 2;if(r&&!t&&H$===void 0)return 0;let n=H$||0;if(yy.TERM==="dumb")return n;if(process.platform==="win32"){let i=Sol.release().split(".");return Number(i[0])>=10&&Number(i[2])>=10586?Number(i[2])>=14931?3:2:1}if("CI"in yy)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(i=>i in yy)||yy.CI_NAME==="codeship"?1:n;if("TEAMCITY_VERSION"in yy)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(yy.TEAMCITY_VERSION)?1:0;if(yy.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in yy){let i=parseInt((yy.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(yy.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(yy.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(yy.TERM)||"COLORTERM"in yy?1:n}function Ool(r){let t=Awr(r,r&&r.isTTY);return fwr(t)}_2i.exports={supportsColor:Ool,stdout:fwr(Awr(!0,v2i.isatty(1))),stderr:fwr(Awr(!0,v2i.isatty(2)))}});var T2i=C((Yb,TTt)=>{"use strict";var wol=require("tty"),xTt=require("util");Yb.init=kol;Yb.log=Dol;Yb.formatArgs=Bol;Yb.save=Nol;Yb.load=Pol;Yb.useColors=Rol;Yb.colors=[6,2,3,4,5,1];try{_Tt=vTt(),_Tt&&(_Tt.stderr||_Tt).level>=2&&(Yb.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}var _Tt;Yb.inspectOpts=Object.keys(process.env).filter(function(r){return/^debug_/i.test(r)}).reduce(function(r,t){var n=t.substring(6).toLowerCase().replace(/_([a-z])/g,function(o,s){return s.toUpperCase()}),i=process.env[t];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),r[n]=i,r},{});function Rol(){return"colors"in Yb.inspectOpts?!!Yb.inspectOpts.colors:wol.isatty(process.stderr.fd)}function Bol(r){var t=this.namespace,n=this.useColors;if(n){var i=this.color,o="\x1B[3"+(i<8?i:"8;5;"+i),s=" ".concat(o,";1m").concat(t," \x1B[0m");r[0]=s+r[0].split(`
@@ -278,7 +278,7 @@ ${"".padEnd(t)}${"^".repeat(n)}`}function mxi(r){return Igl($Mr,r)}function R8(r
278
278
  `:this._stackItem.inlineTextBuilder.startNewLine())}addWordBreakOpportunity(){(this._stackItem instanceof Xw||this._stackItem instanceof JG||this._stackItem instanceof XG)&&(this._stackItem.inlineTextBuilder.wordBreakOpportunity=!0)}addInline(t,{noWordTransform:n=!1}={}){if(this._stackItem instanceof Xw||this._stackItem instanceof JG||this._stackItem instanceof XG){if(this._stackItem.isPre){this._stackItem.rawText+=t;return}if(!(t.length===0||this._stackItem.stashedLineBreaks&&!this.whitespaceProcessor.testContainsWords(t))){if(this.options.preserveNewlines){let i=this.whitespaceProcessor.countNewlinesNoWords(t);if(i>0){this._stackItem.inlineTextBuilder.startNewLine(i);return}}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.shrinkWrapAdd(t,this._stackItem.inlineTextBuilder,n?void 0:this._getCombinedWordTransformer(),this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}}addLiteral(t){if((this._stackItem instanceof Xw||this._stackItem instanceof JG||this._stackItem instanceof XG)&&t.length!==0){if(this._stackItem.isPre){this._stackItem.rawText+=t;return}this._stackItem.stashedLineBreaks&&this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks),this.whitespaceProcessor.addLiteral(t,this._stackItem.inlineTextBuilder,this._stackItem.isNoWrap),this._stackItem.stashedLineBreaks=0}}openBlock({leadingLineBreaks:t=1,reservedLineLength:n=0,isPre:i=!1}={}){let o=Math.max(20,this._stackItem.inlineTextBuilder.maxLineLength-n);this._stackItem=new Xw(this.options,this._stackItem,t,o),i&&(this._stackItem.isPre=!0)}closeBlock({trailingLineBreaks:t=1,blockTransform:n=void 0}={}){let i=this._popStackItem(),o=n?n(Cfe(i)):Cfe(i);p5t(this._stackItem,o,i.leadingLineBreaks,Math.max(i.stashedLineBreaks,t))}openList({maxPrefixLength:t=0,prefixAlign:n="left",interRowLineBreaks:i=1,leadingLineBreaks:o=2}={}){this._stackItem=new A5t(this.options,this._stackItem,{interRowLineBreaks:i,leadingLineBreaks:o,maxLineLength:this._stackItem.inlineTextBuilder.maxLineLength,maxPrefixLength:t,prefixAlign:n})}openListItem({prefix:t=""}={}){if(!(this._stackItem instanceof A5t))throw new Error("Can't add a list item to something that is not a list! Check the formatter.");let n=this._stackItem,i=Math.max(t.length,n.maxPrefixLength),o=Math.max(20,n.inlineTextBuilder.maxLineLength-i);this._stackItem=new JG(this.options,n,{prefix:t,maxLineLength:o,leadingLineBreaks:n.interRowLineBreaks})}closeListItem(){let t=this._popStackItem(),n=t.next,i=Math.max(t.prefix.length,n.maxPrefixLength),o=`
279
279
  `+" ".repeat(i),a=(n.prefixAlign==="right"?t.prefix.padStart(i):t.prefix.padEnd(i))+Cfe(t).replace(/\n/g,o);p5t(n,a,t.leadingLineBreaks,Math.max(t.stashedLineBreaks,n.interRowLineBreaks))}closeList({trailingLineBreaks:t=2}={}){let n=this._popStackItem(),i=Cfe(n);i&&p5t(this._stackItem,i,n.leadingLineBreaks,t)}openTable(){this._stackItem=new h5t(this._stackItem)}openTableRow(){if(!(this._stackItem instanceof h5t))throw new Error("Can't add a table row to something that is not a table! Check the formatter.");this._stackItem=new g5t(this._stackItem)}openTableCell({maxColumnWidth:t=void 0}={}){if(!(this._stackItem instanceof g5t))throw new Error("Can't add a table cell to something that is not a table row! Check the formatter.");this._stackItem=new XG(this.options,this._stackItem,t)}closeTableCell({colspan:t=1,rowspan:n=1}={}){let i=this._popStackItem(),o=cTi(Cfe(i),`
280
280
  `);i.next.cells.push({colspan:t,rowspan:n,text:o})}closeTableRow(){let t=this._popStackItem();t.next.rows.push(t.cells)}closeTable({tableToString:t,leadingLineBreaks:n=2,trailingLineBreaks:i=2}){let o=this._popStackItem(),s=t(o.rows);s&&p5t(this._stackItem,s,n,i)}toString(){return Cfe(this._stackItem.getRoot())}};jml=Object.freeze({__proto__:null,block:Qml,blockHtml:qml,blockString:Pml,blockTag:Lml,inline:kml,inlineHtml:zml,inlineString:Nml,inlineSurround:Uml,inlineTag:Fml,skip:Dml});c2l=Object.freeze({__proto__:null,anchor:r2l,blockquote:e2l,dataTable:mTi,heading:Zml,horizontalLine:Jml,image:t2l,lineBreak:Vml,orderedList:i2l,paragraph:Xml,pre:$ml,table:l2l,unorderedList:n2l,wbr:Kml}),d2l={baseElements:{selectors:["body"],orderBy:"selectors",returnDomByDefault:!0},decodeEntities:!0,encodeCharacters:{},formatters:{},limits:{ellipsis:"...",maxBaseElements:void 0,maxChildNodes:void 0,maxDepth:void 0,maxInputLength:1<<24},longWordSplit:{forceWrapOnLimit:!1,wrapCharacters:[]},preserveNewlines:!1,selectors:[{selector:"*",format:"inline"},{selector:"a",format:"anchor",options:{baseUrl:null,hideLinkHrefIfSameAsText:!1,ignoreHref:!1,linkBrackets:["[","]"],noAnchorUrl:!0}},{selector:"article",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"aside",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"blockquote",format:"blockquote",options:{leadingLineBreaks:2,trailingLineBreaks:2,trimEmptyLines:!0}},{selector:"br",format:"lineBreak"},{selector:"div",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"footer",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"form",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"h1",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h2",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h3",format:"heading",options:{leadingLineBreaks:3,trailingLineBreaks:2,uppercase:!0}},{selector:"h4",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h5",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"h6",format:"heading",options:{leadingLineBreaks:2,trailingLineBreaks:2,uppercase:!0}},{selector:"header",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"hr",format:"horizontalLine",options:{leadingLineBreaks:2,length:void 0,trailingLineBreaks:2}},{selector:"img",format:"image",options:{baseUrl:null,linkBrackets:["[","]"]}},{selector:"main",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"nav",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"ol",format:"orderedList",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"p",format:"paragraph",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"pre",format:"pre",options:{leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"section",format:"block",options:{leadingLineBreaks:1,trailingLineBreaks:1}},{selector:"table",format:"table",options:{colSpacing:3,leadingLineBreaks:2,maxColumnWidth:60,rowSpacing:0,trailingLineBreaks:2,uppercaseHeaderCells:!0}},{selector:"ul",format:"unorderedList",options:{itemPrefix:" * ",leadingLineBreaks:2,trailingLineBreaks:2}},{selector:"wbr",format:"wbr"}],tables:[],whitespaceCharacters:` \r
281
- \f\u200B`,wordwrap:80},p2l=(r,t,n)=>[...r,...t],yTi=(r,t,n)=>[...t],f2l=(r,t,n)=>r.some(i=>typeof i=="object")?p2l(r,t):yTi(r,t)});var ea=Ge(()=>{"use strict";K_e()});var wS,E5t,g2l,B8r,M8r,STe,ETi,vfe=Ge(()=>{"use strict";wS=ht(e3());ea();E5t=wS.Record({errorDetail:wS.String,errorString:wS.String}),g2l=wS.Record({error:E5t,runDetails:wS.Record({compiledSQL:wS.String}).optional(),validationDetails:wS.Record({id:wS.String,type:wS.String,value:wS.Unknown}).optional()}),B8r=Gd("TRunErrorContents",E5t),M8r=Gd("TRunError",g2l),STe=r=>{try{return M8r.is(r)}catch(t){if(t instanceof TypeError)return!1;throw t}},ETi=r=>{if(typeof r.statusCode!="number")return!1;try{return B8r.is(r.error)}catch{return!1}}});var D8r,bTi,$G=Ge(()=>{"use strict";D8r=r=>typeof r=="object"&&r instanceof Error&&"code"in r&&(typeof r.code=="string"||typeof r.code=="number")&&"name"in r&&typeof r.name=="string",bTi=r=>D8r(r)&&(r.name==="NetworkError"||r.code===401001)});var ITi,vTi,_Ti,xTi,TTi,N8r,lk,m2l,y2l,E2l,b2l,C2l,D8,Hc,_fe,Cd=Ge(()=>{"use strict";R8r();lr();UG();vfe();uc();$G();Ln();ITi=st.RUNNER_BACKEND,vTi=st.ERROR_OPERATIONS,_Ti="Failed to parse runtime parameters",xTi=r=>{let t;if(r instanceof Error)t=r;else{let i=r?.error?.errorString||"Something went wrong";t=new Error(i)}return t},TTi=r=>{if(r instanceof Error)return r.message?r.message:(vTi.error("instance of Error did not have a message property. original error: ",r),"Unknown error");{let t=r;return!t.error.errorString&&!t.error.errorDetail?(vTi.error("instance of TRunError did not have a errorString or errorDetail property. original error: ",r),"Unknown error"):t.error.errorString||t.error.errorDetail}},N8r=(r,t)=>({errorString:r,errorDetail:t}),lk=(r,t,n,i)=>({error:N8r(r,t),...!!n&&{runDetails:n},...!!i&&{validationDetails:i}}),m2l=r=>r instanceof Error,y2l=r=>{if(r instanceof It)return r.toTRunError();let t=r.message,n=r.stack||r.name&&r.message&&`${r.name}: ${r.message}`||"";return lk(t,n)},E2l=r=>{let t=r.message,n=r.code;return lk(t,n)},b2l=r=>{let n=r.response?.data?.error,i="(unknown URL)",o=r?.config?.url||r.response?.config.url,s=r?.config?.baseURL||r.response?.config.baseURL;if(o){let u;if(o.startsWith("http")?u=o:s&&(u=s+o),u)try{let d=new URL(u);i=d.origin+d.pathname}catch{i="(invalid URL)"}}let a=n?.errorString||n?.message||r.message||`${r}`,l=`Axios Error ${r?.config?.method} ${i} ${r?.response?.status||"(no status)"}: ${n?.errorDetail||r.stack||n?.message||r.message||r}, code=${r.response?.status||r.code||"unknown"}`,c=n?.runDetails?.compiledSQL?{compiledSQL:n.runDetails.compiledSQL}:null;return lk(a,l,c)},C2l=r=>!!(typeof r=="object"&&r&&"error"in r),D8=r=>{try{return M8r.is(r)}catch{return!1}},Hc=(r,t=!1)=>{if(typeof r=="object"&&r){if(D8(r))return r;if(uA(r))return r.toTRunError();if(cv(r))return b2l(r);if(i4t(r))return E2l(r);if(m2l(r))return y2l(r);if(C2l(r)&&r.error)return Hc(r.error,t);if(B8r.is(r))return lk(r.errorString,r.errorDetail);t||ITi.assert("CreateTRunError received a non-error object",r,new Error().stack)}else{if(typeof r=="string")return r.includes("html>")?lk("Coalesce was served HTML possibly indicating a service failure",y5t(r)):lk(r,r);t||ITi.assert("CreateTRunError received error of unknown shape: ",r,new Error().stack)}return lk("","")},_fe=(r,t="",n)=>{let i=Hc(r);return new It(t+i.error.errorString,n)}});var iC,RS,STi,v2l,uQd,$o,ZG,xfe,ma,cQd,P8r=Ge(()=>{"use strict";si();iC=O.any().transform(r=>r?.toString()).pipe(O.string()),RS=O.any().transform(r=>typeof r=="string"?r.toLowerCase()==="true":typeof r=="number"?!!r:r).pipe(O.boolean()),STi=O.object({errorDetail:O.string().default(""),errorString:O.string()}).strict(),v2l=O.union([O.number(),O.string(),O.boolean()]),uQd=O.record(v2l),$o=r=>ZG(r,{ZodObject:t=>t.passthrough()}),ZG=(r,t)=>{if(r instanceof up){let n=r.shape,i={};for(let s in r.shape){let a=n[s];i[s]=ZG(a,t)}let o=new O.ZodObject({...r._def,shape:()=>i});return t.ZodObject?t.ZodObject(o):o}else{if(r instanceof O.ZodArray)return O.ZodArray.create(ZG(r.element,t));if(r instanceof O.ZodOptional){let n=r.unwrap();return O.ZodOptional.create(ZG(t.ZodOptional?t.ZodOptional(n):n,t))}else{if(r instanceof O.ZodNullable)return O.ZodNullable.create(ZG(r.unwrap(),t));if(r instanceof O.ZodTuple)return O.ZodTuple.create(r.items.map(n=>ZG(n,t)));if(r instanceof O.ZodDiscriminatedUnion){let n=r._def.options.map(i=>ZG(i,t));return O.ZodDiscriminatedUnion.create(r._def.discriminator,n)}else if(r instanceof O.ZodUnion){let n=r._def.options.map(i=>ZG(i,t));return O.ZodUnion.create(n)}else if(r instanceof O.ZodRecord)return O.ZodRecord.create(r.keySchema,ZG(r.valueSchema,t))}}return r},xfe=O.object({id:O.coerce.number().int()}),ma=O.object({id:iC}),cQd=O.union([xfe,ma])});var Jp=Ge(()=>{"use strict";P8r()});var _2l,b5t,C5t=Ge(()=>{"use strict";si();_2l=O.union([O.object({seconds:O.number(),nanoseconds:O.number()}),O.object({_seconds:O.number(),_nanoseconds:O.number()})]),b5t=O.union([_2l,O.date()])});var OTi,I5t,wTi=Ge(()=>{"use strict";si();Jp();OTi=2,I5t=ma.extend({gitUsername:O.string(),gitAuthorName:O.string(),gitAuthorEmail:O.string(),gitAccountName:O.string(),version:O.literal(OTi).default(OTi).optional()}).strict()});var RTi,BTi,MTi=Ge(()=>{"use strict";si();Jp();RTi=1,BTi=ma.extend({gitRepoURL:O.string(),version:O.literal(RTi).default(RTi)}).strict()});var DTi,_Qd,NTi,PTi=Ge(()=>{"use strict";si();Jp();DTi=1,_Qd=O.object({gitUsername:O.string(),gitAuthorName:O.string(),gitAuthorEmail:O.string(),gitRepoID:O.string().optional()}).strict(),NTi=ma.extend({version:O.literal(DTi).default(DTi)}).strict()});var kTi=Ge(()=>{"use strict"});var G$e=Ge(()=>{"use strict";P8r();TOr();NMr()});var v5t,x2l,T2l,LTi,k8r,S2l,QTi,FTi,eW,O2l,w2l,_5t,R2l,B2l,x5t,W$e=Ge(()=>{"use strict";si();G$e();v5t=O.string().refine(r=>/^[a-z0-9](?!.*--)[-a-z0-9]*[a-z0-9]$|^[a-z0-9]+$/i.test(r),r=>({message:`Invalid name "${r}". Only lowercase alphanumeric and hyphens are allowed. No consecutive or leading/trailing hyphens.`})),x2l=/^(?!.*\s{2})(?!.*--)(?!.*__)[a-zA-Z0-9]([-_\s]*[a-zA-Z0-9])*$|^[a-z0-9]+$/i,T2l=O.string().refine(r=>x2l.test(r),r=>({message:`Invalid package name ${r}. Only alphanumeric characters, spaces, hyphens, and underscores are allowed. No consecutive or leading/trailing spaces, hyphens, or underscores.`})),LTi=v5t,k8r="_",S2l=O.string().refine(r=>{let[t,n]=r.split(k8r);return n?LTi.safeParse(t).success&&v5t.safeParse(n).success:!1},r=>({message:`Invalid package ID "${r}". Must be in the format <publisherID>${k8r}<packageName>`})),QTi="/",FTi="@",eW=O.string().refine(r=>r.startsWith(FTi)?r.includes(QTi):!1,r=>({message:`${r} is not a valid package ID. Should be formatted "${FTi}publisherID${QTi}packageName"`})),O2l=O.enum(["public","private","unlisted"]),w2l=ma.extend({version:O.string(),changeLog:O.string()}),_5t=w2l.extend({releaseID:O.string(),storagePath:O.string(),privacy:O2l.default("unlisted")}),R2l=200,B2l=O.string().max(R2l).default(""),x5t=ma.extend({description:O.string(),overview:B2l,packageID:eW,publisherID:LTi,name:T2l,org:O.string(),latestRelease:O.string(),tags:O.array(O.string()).default([]),featured:O.boolean().default(!1),certified:O.boolean().default(!1)})});var BS,M2l,H$e,T5t,D2l,S5t,N2l,Q8r,F8r,zTi,P2l,uk,L8r,z8r,qTi,FQd,k2l,UTi,q8r,LQd,zQd,Y$e=Ge(()=>{"use strict";si();W$e();G$e();K_e();BS=v5t,M2l=O.object({defaultStorageLocation:O.string().nullable(),isDisabled:O.boolean()}).strict(),H$e=O.string(),T5t=O.object({packageVariables:H$e,entities:O.object({nodeTypes:O.record(M2l)})}).strict(),D2l=O.string(),S5t=_5t.pick({version:!0,changeLog:!0,releaseID:!0}),N2l=O.object({alias:BS,packageID:eW,releaseID:O.string(),macros:D2l,version:O.string()}),Q8r=N2l.extend({dependencies:O.record(BS,O.lazy(()=>Q8r))}).strict(),F8r=O.record(BS,Q8r),zTi=xr("Package Dependency",Q8r),P2l=x5t.pick({description:!0,overview:!0,packageID:!0,publisherID:!0,name:!0}),uk=O.object({id:O.string(),version:O.string()}).strict(),L8r=O.object({defaultStorageLocation:O.string().optional().nullable(),error:O.object({errorString:O.string()}).nullable(),nodeMetadataSpec:O.string(),templates:O.object({create:O.object({templateString:O.string()}).strict(),run:O.object({templateString:O.string()}).strict()}).strict()}).strict(),z8r=O.object({templateCounter:O.number().int().optional(),id:O.string().optional(),isDisabled:O.boolean(),metadata:L8r.strict(),name:O.string(),version:O.number().int(),packageInfo:uk.optional()}).strict(),qTi=z8r.merge(ma),FQd=xr("PackageNodeTypeUnparsed",qTi),k2l=O.record(qTi),UTi=O.object({macros:O.string(),nodeTypes:k2l,release:S5t,dependencies:F8r}),q8r=P2l.merge(UTi).strict(),LQd=q8r.extend({packageVariables:H$e}),zQd=UTi.extend({packageVariables:H$e})});var hZ,Q2l,F2l,L2l,JQd,z2l,XQd,jTi=Ge(()=>{"use strict";si();py();K_e();W$e();Y$e();hZ=O.object({releaseID:O.string(),packageID:eW,config:T5t}),Q2l=O.object({releaseID:S5t.shape.releaseID,packageID:eW}),F2l=O.record(BS,Q2l),L2l=O.object({packageID:eW,macros:O.string(),dependencies:F2l,release:S5t,packageVariables:H$e}),JQd=xr("PackageMetadataForZip",L2l),z2l=O.object({serializedPackages:O.record(BS,hZ)}),XQd=xr("Hydrate Serialized Packages Validator",z2l)});var GTi,q2l,U2l,j2l,G2l,W2l,tFd,WTi=Ge(()=>{"use strict";si();Y$e();GTi=O.object({templateString:O.string()}),q2l=O.object({run:GTi,create:GTi}),U2l=O.object({errorString:O.string()}),j2l=O.string(),G2l=O.object({defaultStorageLocation:j2l.optional().nullable(),nodeMetadataSpec:O.string(),templates:q2l,error:U2l.nullable()}),W2l=O.object({name:O.string(),isDisabled:O.boolean(),version:O.number(),id:O.string(),metadata:G2l,packageInfo:uk.optional()}),tFd=O.record(O.string(),W2l)});var wTe=Ge(()=>{"use strict";kTi();W$e();jTi();Y$e();WTi()});var U8r,H2l,Y2l,gZ,fFd,HTi,O5t=Ge(()=>{"use strict";si();C5t();ea();Jp();wTe();U8r=(o=>(o.adding="adding",o.added="added",o.removing="removing",o.error="error",o))(U8r||{}),H2l=O.object({filePath:O.string()}),Y2l=O.object({commit:O.string()}),gZ=ma.extend({version:O.string(),versionInfo:O.union([Y2l,H2l]),status:O.nativeEnum(U8r),addedBy:O.string(),createdAt:b5t.nullable(),manifest:O.record(O.record(O.object({id:O.string(),name:O.string()})))}).strict(),fFd=O.record(gZ,O.string()),HTi=xr("PackageV1",gZ)});var V2l,K2l,VTi,J2l,RTe,BTe,X2l,$2l,Z2l,eyl,tyl,KTi,ryl,nyl,iyl,w5t,mFd,MTe,oyl,syl,ayl,lyl,uyl,cyl,j8r,JTi,XTi,YTi,$Ti,dyl,pyl,ZTi,fyl,V$e,R5t,K$e=Ge(()=>{"use strict";si();V2l=["sql","none"],K2l=O.enum(["beginning","end"]),VTi=O.object({isRequired:O.boolean().optional(),enableIf:O.string().optional()}),J2l=["columnSelector","dropdownSelector","textBox","toggleButton","tabular","columnDropdownSelector"],RTe=O.enum(J2l),BTe=r=>VTi.extend({displayName:O.string(),type:O.literal(r),attributeName:O.string().min(1,"attributeName must be non-empty")}),X2l=BTe(RTe.Enum.columnSelector),$2l=BTe(RTe.Enum.dropdownSelector).extend({default:O.string().optional(),options:O.array(O.string())}),Z2l=BTe(RTe.Enum.textBox).extend({default:O.union([O.string(),O.number()]).optional(),syntax:O.enum(V2l).optional()}),eyl=BTe(RTe.Enum.toggleButton).extend({default:O.boolean().optional()}),tyl=BTe(RTe.Enum.columnDropdownSelector).extend({ineligibleColumns:O.array(O.string()).optional()}),KTi=O.discriminatedUnion("type",[$2l,Z2l,eyl,tyl]),ryl=O.discriminatedUnion("type",[X2l,...KTi.options]),nyl=BTe(RTe.Enum.tabular).extend({isRequired:O.boolean(),enableIf:O.string().optional(),columns:O.array(KTi).nonempty()}),iyl=O.discriminatedUnion("type",[...ryl.options,nyl]),w5t=["businessKeyColumns","changeTrackingColumns","multisourceToggle","overrideSQLToggle","materializationSelector"],mFd=O.enum(w5t),MTe=r=>VTi.extend({type:O.literal(r),default:O.union([O.string(),O.boolean()]).optional(),options:O.array(O.string()).optional()}),oyl=MTe("multisourceToggle"),syl=MTe("businessKeyColumns"),ayl=MTe("changeTrackingColumns"),lyl=MTe("overrideSQLToggle"),uyl=MTe("materializationSelector"),cyl=MTe("dataVaultToggle"),j8r=O.discriminatedUnion("type",[syl,ayl,oyl,lyl,uyl]),JTi=O.object({displayName:O.string(),transform:O.string(),dataType:O.string(),nullable:O.boolean().optional(),defaultValue:O.string().optional(),description:O.string().optional(),placement:K2l,attributeName:O.string(),enableIf:O.string().optional()}).strict(),XTi=O.object({headerName:O.string(),attributeName:O.string(),type:O.literal("textBox")}).strict(),YTi=O.union([O.literal("table"),O.literal("view"),O.string()]),$Ti=O.object({default:YTi,options:O.array(YTi)}).strict(),dyl=O.discriminatedUnion("type",[...j8r.options,...iyl.options,cyl]),pyl=O.object({groupName:O.string(),description:O.string().optional(),items:O.array(dyl),enableIf:O.string().optional()}).strict(),ZTi=O.array(pyl),fyl=["default","advanced","transient"],V$e=O.enum(fyl),R5t=O.object({deployStrategy:V$e})});var eSi,tSi=Ge(()=>{"use strict";K$e();eSi=(r=[],t)=>t==="advanced"?!0:r.every(n=>{let i=n.items.find(a=>a.type==="materializationSelector");if(!i)return!0;let o=j8r.safeParse(i);return o.success?(o.data.options||[]).every(a=>a.toLowerCase()==="table"||a.toLowerCase()==="view"):!0})});var J$e,rSi,Ayl,G8r,hyl,nSi,iSi,gyl,DTe,W8r,M5t,oSi,wFd,tW,sSi,myl,aSi,yyl,RFd,lSi,Eyl,byl,BFd,B5t,Cyl,D5t,Iyl,vyl,MFd,H8r,uSi,Y8r=Ge(()=>{"use strict";si();ea();O5t();Jp();K$e();tSi();J$e=(r,t)=>O.object({defaultStorageLocation:O.string().optional().nullable(),templates:Ayl,nodeMetadataSpec:r,error:t}),rSi=O.strictObject({templateString:O.string()}),Ayl=O.strictObject({run:rSi,create:rSi}),G8r=O.string(),hyl=O.object({capitalized:O.string(),tagColor:O.string(),plural:O.string(),short:O.string().nullable().optional(),isDisabled:O.boolean().optional(),isGhostobjectColumnsEnabled:O.boolean().optional(),systemColumns:O.array(JTi).optional(),isMultisourceToggleEnabled:O.boolean().optional(),isOverrideSQLEnabled:O.boolean().optional(),fetchDataOnSuccess:O.boolean().optional(),isDMLEnabled:O.boolean().optional(),isBusinessKeysEnabled:O.boolean().optional(),isChangeTrackingEnabled:O.boolean().optional(),materializationOptions:$Ti.optional(),deployStrategy:V$e.optional(),alwaysDeploy:O.boolean().optional(),config:ZTi.optional(),mappingColumns:O.array(XTi).optional(),joinTemplate:O.string().optional()}),nSi=O.strictObject({errorString:O.string()}),iSi=hyl.refine(({alwaysDeploy:r,deployStrategy:t})=>!r||r===!0&&t==="advanced",{message:"alwaysDeploy is only supported for advanced deploy strategies"}).refine(r=>{let{config:t,deployStrategy:n}=r;return eSi(t,n)},{message:"materializationSelector options other than 'table' or 'view' are only supported for advanced deploy strategies"}),gyl=O.strictObject({id:O.string(),name:O.string(),isDisabled:O.boolean(),version:O.number().int()}),DTe=gyl.extend({packageInfo:uk.optional()}).strict(),W8r=J$e(G8r,nSi),M5t=J$e(G8r,O.null()),oSi=O.union([W8r,M5t]),wFd=DTe.extend({metadata:M5t}),tW=DTe.extend({metadata:oSi}),sSi=O.record(tW),myl=J$e(O.null(),nSi),aSi=J$e(iSi,O.null()),yyl=O.union([myl,aSi]),RFd=DTe.extend({metadata:aSi}),lSi=DTe.extend({metadata:yyl}),Eyl=O.record(lSi),byl=DTe.omit({id:!0}).extend({metadata:J$e(G8r,O.null())}),BFd=DTe.extend({metadata:oSi,templateCounter:O.number().int()}),B5t=1,Cyl=ma.extend({version:O.literal(B5t).default(B5t)}).strict(),D5t=Cyl.merge(tW),Iyl=xr("NodeSpec",$o(iSi)),vyl=xr("NodeTypeParsed",$o(lSi)),MFd=xr("NodeTypes Parsed",$o(Eyl)),H8r=xr("AnyNodeTypeYAML",$o(tW)),uSi=xr("DeployedNodeType",$o(byl))});var _yl,LFd,cSi,NTe,zFd,PTe,dSi,pSi=Ge(()=>{"use strict";si();ea();Y8r();Jp();wTe();Y$e();_yl=tW.omit({packageInfo:!0}).merge(ma),LFd=O.record(_yl),cSi=1,NTe=ma.extend({version:O.literal(cSi).default(cSi),contents:q8r,config:T5t,alias:BS}).strict(),zFd=O.record(BS,NTe),PTe=xr("Installed Workspace Package",$o(NTe)),dSi=r=>PTe.is(r)});var Tfe,fSi,WFd,mZ,ASi=Ge(()=>{"use strict";si();Jp();Tfe=2,fSi=O.object({jobCounter:O.number().int(),name:O.string().default(""),includeSelector:iC.default(""),excludeSelector:iC.default(""),subgraphs:O.array(O.number().int()).optional(),steps:O.array(iC).optional()}),WFd=O.record(fSi),mZ=xfe.merge(fSi.extend({version:O.literal(Tfe).default(Tfe)})).strict()});var N8,P8,XFd,hSi,gSi=Ge(()=>{"use strict";si();Jp();ea();O5t();N8=1,P8=ma.extend({macroString:O.string().default(""),macroCounter:O.number().int().optional(),packageInfo:uk.optional(),version:O.literal(N8).default(N8).optional()}).strict(),XFd=O.record(P8),hSi=xr("Macro",$o(P8))});var V8r,xyl,mSi,K8r,Tyl,Syl,X$e,yZ,ySi,J8r=Ge(()=>{"use strict";si();ea();Jp();V8r=O.object({id:O.number().int(),locationName:O.string(),database:O.string(),schema:O.string()}).strict(),xyl=O.record(V8r),mSi=xr("MappingV0Dictionary",$o(xyl)),K8r=O.object({database:O.string().optional(),schema:O.string().optional()}).strict(),Tyl=O.record(K8r),Syl=O.object({mappingDefinitions:Tyl}).strict(),X$e=O.record(Syl),yZ=xr("MappingV1Dictionary",$o(X$e)),ySi=O.string()});var Sfe,N5t=Ge(()=>{"use strict";si();Sfe=O.object({locationName:O.string(),nodeName:O.string()}).strict()});var $8r,Z8r,Oyl,$$e,wyl,Ryl,Byl,CSi,EZ,ISi,Myl,Dyl,P5t,Z$e,cLd,Nyl,vSi,Pyl,eDr,_Si,xSi,X8r,TSi,kyl,Qyl,ESi,bSi,SSi,Fyl,Lyl,OSi,zyl,qyl,wSi,eZe,Uyl,RSi,jyl,Gyl,BSi,tZe,Wyl,MSi,dLd,pLd,Hyl,tDr,DSi,rDr,NSi,fLd,PSi=Ge(()=>{"use strict";si();Jp();N5t();ea();K$e();$8r=O.enum(["None","sysCreateDate","sysUpdateDate","sysStartDate","sysEndDate","sysVersion","sysCurrentFlag"]),Z8r=O.enum(["None","surrogateKey","primaryBusinessKey"]),Oyl=O.enum(["SHA1","SHA256","MD5"]),$$e=O.object({stepCounter:iC,columnCounter:iC}).strict(),wyl=O.object({columnReferences:O.array($$e.strict()),transform:O.string()}).strict(),Ryl=O.object({hashAlgorithm:Oyl}),Byl=O.object({strictMatch:O.boolean(),values:O.array(O.string())}).strict(),CSi=r=>O.object({defaultValue:O.string().optional(),nullable:RS.default(!1),name:O.string(),dataType:O.string(),description:O.string(),columnReference:$$e,transform:O.string().optional(),sourceColumnReferences:O.array(wyl).optional(),systemColumnType:$8r.optional(),keyColumnType:Z8r.optional(),isBusinessKey:RS.optional(),isChangeTracking:RS.optional(),primaryKey:RS.optional(),uniqueKey:RS.optional(),hashDetails:Ryl.nullish(),hashedColumns:O.array($$e.strict()).optional(),isSurrogateKey:O.boolean().optional(),config:r?O.record(O.any()).default({}):O.record(O.any()).optional(),appliedColumnTests:r?O.record(O.string(),O.boolean()).default({}):O.record(O.string(),O.boolean()).optional(),acceptedValues:Byl.strict().optional(),isSystemCreateDate:RS.optional(),isSystemUpdateDate:O.boolean().optional(),isSystemStartDate:O.boolean().optional(),isSystemEndDate:O.boolean().optional(),isSystemVersion:O.boolean().optional(),isSystemCurrentFlag:O.boolean().optional()}).passthrough(),EZ=CSi(!1),ISi=CSi(!0),Myl=O.object({columns:O.array(EZ.strict()),mappings:O.any(),locationName:O.string(),sourceMapping:O.any(),description:O.string().optional(),workspaceID:O.number().int().optional(),workspaceName:O.string().optional(),destinationName:O.string().optional()}).strict(),Dyl=O.object({locationName:O.string(),database:O.string(),schema:O.string()}),P5t=O.record(O.string(),Dyl),Z$e=O.object({operationName:O.string(),destinationName:O.string().optional(),mapping:P5t,parameters:O.record(O.any()).optional(),deployStrategy:V$e.optional()}),cLd=Z$e.extend(Myl.shape),Nyl=O.enum(["sql","sourceInput"]),vSi=["Stage","persistentStage","View","Dimension","Fact","Hub","Link","Satellite"],Pyl=O.enum(vSi),eDr=[...vSi,"Source"],_Si=O.enum(eDr),xSi=r=>r in _Si.Enum,X8r=1,TSi=O.object({database:O.string(),deployEnabled:RS.optional(),description:O.string(),locationName:O.string(),name:O.string(),schema:O.string(),sqlType:O.union([_Si,O.coerce.string()]),type:Nyl,version:O.literal(X8r).default(X8r)}),kyl=O.enum(["Before","After"]),Qyl=O.object({name:O.string(),description:O.string().default(""),continueOnFailure:O.boolean(),runOrder:kyl}).strict(),ESi=Qyl.extend({templateString:O.string()}).strict(),bSi=["table","view"],SSi=r=>O.object({name:O.string(),join:O.object({joinCondition:O.string()}).strict(),dependencies:O.array(Sfe),customSQL:O.object({customSQL:O.string()}).strict().optional(),noLinkRefs:r?O.array(Sfe).default([]):O.array(Sfe).optional(),aliases:r?O.record(O.string(),O.string()).default({}):O.record(O.string(),O.string()).optional()}).strict(),Fyl=SSi(!1),Lyl=SSi(!0),OSi=r=>O.object({columns:O.array(r?ISi:EZ),sourceMapping:O.array(r?Lyl.strict():Fyl.strict()).nonempty(),cteString:O.string().optional(),destinationName:O.string().optional(),description:O.string().optional(),mapping:O.any().optional(),materializationOption:O.string().optional(),appliedNodeTests:r?O.array(ESi).default([]):O.array(ESi).optional(),enabledColumnTestIDs:r?O.array(O.string()).default([]):O.array(O.string()).optional()}).strict(),zyl=OSi(!1),qyl=OSi(!0),wSi=r=>TSi.extend({database:r?O.string().default(""):O.string().optional(),deployEnabled:r?O.boolean().default(!0):O.boolean().optional(),description:r?O.string().default(""):O.string().optional(),schema:r?O.string().default(""):O.string().optional(),config:r?O.record(O.any()).default({}):O.record(O.any()).optional(),isMultisource:O.boolean(),metadata:r?qyl:zyl,materializationType:r?O.union([O.enum(bSi),O.string()]).default("table"):O.union([O.enum(bSi),O.string()]),overrideSQL:O.boolean().optional(),sqlType:O.union([Pyl,O.coerce.string()]).refine(t=>t!=="Source",{message:"'Source' is not allowed for a sql node"}),type:O.literal("sql")}).strict(),eZe=wSi(!1),Uyl=wSi(!0),RSi=r=>O.object({columns:O.array(r?ISi:EZ),sourceMapping:O.any().optional(),join:O.object({joinCondition:O.string()}).strict().optional()}).strict(),jyl=RSi(!1),Gyl=RSi(!0),BSi=r=>TSi.extend({database:r?O.string().default(""):O.string().optional(),deployEnabled:r?O.boolean().default(!0):O.boolean().optional(),description:r?O.string().default(""):O.string().optional(),schema:r?O.string().default(""):O.string().optional(),dataset:O.string().optional(),table:O.string().optional(),metadata:r?Gyl:jyl,type:O.literal("sourceInput"),sqlType:O.literal("Source")}).strict(),tZe=BSi(!1),Wyl=BSi(!0),MSi=O.discriminatedUnion("type",[eZe,tZe]),dLd=xr("NodeCore",MSi),pLd=O.discriminatedUnion("type",[ma.merge(eZe),ma.merge(tZe)]),Hyl=O.record(O.object({operation:MSi})),tDr=O.discriminatedUnion("type",[$o(eZe),$o(tZe)]),DSi=O.record(O.object({operation:tDr})),rDr=O.discriminatedUnion("type",[Uyl,Wyl]),NSi=xr("NodeCore + Defaults",$o(rDr)),fLd=xr("Node Dictionary",Hyl)});var Yyl,k5t,kSi,QSi,mLd,Vyl,FSi,LSi=Ge(()=>{"use strict";si();Jp();Yyl=O.object({sampleSize:O.number().int()}),k5t=O.object({trialStartDate:iC.optional(),isTrial:O.boolean(),trialActivator:O.string().optional(),companyName:O.string().optional(),trialSource:O.string().optional(),trialEndDate:O.string().optional()}).strict(),kSi=1,QSi=O.enum(["RBAC","dataVaultEnabled","presyncDisabled","enableRepoUpgrade","deployDashboardV2Disabled","devRunsEnabled","snowflakeAdvancedOptionsEnabled","packagesV2Enabled","multiFactorAuthEnabled","backendBulkWritingEnabled","listenersWaitForServerResponse","disableProblemScanner","isPackageCreator","enableGitOptInUI","enableBatchedListener","enableFrontendMetrics","enableSnowflakeOAuthSecretsV2","enableSnowflakeSecretsV2","enableWorkspaceOnboarding","enableProjectPlatformKind","globalPackagesService","autocompleteUpdateDisabled"]),mLd=O.enum(["isPackageCreator"]),Vyl=O.record(O.string(),O.boolean().optional()),FSi=ma.extend({backendBulkWritingEnabled:O.boolean().optional(),columnCounter:O.coerce.number().int().default(0),connectionCounter:O.coerce.number().int().default(0),createdAt:O.custom().optional(),createdBy:O.string().optional(),updatedAt:O.custom().optional(),updatedBy:O.string().optional(),dataVaultEnabled:O.boolean().optional(),deployDashboardV2Disabled:O.boolean().optional(),devRunCounter:O.coerce.number().int().default(0),devRunsEnabled:O.boolean().optional(),docsV2Enabled:O.boolean().optional(),enableRepoUpgrade:O.boolean().optional(),folderCounter:O.coerce.number().int().optional(),gitRepoCounter:O.number().int().optional(),jobCounter:O.coerce.number().int().default(0),lastLoginTime:O.coerce.date().optional(),listenersWaitForServerResponse:O.boolean().optional(),disableProblemScanner:O.boolean().optional(),locationCounter:O.coerce.number().int().default(0),multiFactorAuthEnabled:O.boolean().optional(),orgID:O.string().optional(),id:O.string(),orgName:O.string(),preferences:Yyl.strict().optional(),presyncDisabled:O.boolean().optional(),runCounter:O.coerce.number().int().default(0),snowflakeAdvancedOptionsEnabled:O.boolean().optional(),stepCounter:O.coerce.number().int().default(0),superDebugEnabled:O.boolean().optional(),templateCounter:O.coerce.number().int().default(0),workspaceCounter:O.coerce.number().int().default(0),ignoreForDatabaseValidation:O.boolean().optional(),licenseDetails:k5t.strict().optional(),dnsName:O.string().optional(),environmentCounter:O.number().int().optional(),authServer:O.string().optional(),testingEnabled:O.boolean().optional(),coaImageOverride:O.string().optional().nullable(),version:O.literal(kSi).default(kSi),featureFlags:Vyl.default({})}).strict()});var Kyl,Jyl,Q5t,zSi,qSi,Xyl,ILd,USi=Ge(()=>{"use strict";si();Jp();ea();Kyl=["okta","azure","other"],Jyl=O.enum(Kyl),Q5t=1,zSi=O.object({authority:Jyl,authServer:O.string(),clientID:O.string(),dnsName:O.string(),issuer:O.string().optional(),audience:O.string().optional(),disableLegacySSO:O.boolean().optional()}).strict(),qSi=ma.merge(zSi.partial()).extend({version:O.literal(Q5t).default(Q5t)}).strict(),Xyl=zSi.extend({id:O.string()}).strict(),ILd=xr("SSOConfig",Xyl.passthrough())});var jSi,GSi,WSi,HSi=Ge(()=>{"use strict";si();ea();Jp();jSi=O.object({name:O.string()}).strict(),GSi=xr("Package namespace (OLD)",$o(jSi)),WSi=ma.merge(jSi).strict()});var MS,F5t=Ge(()=>{"use strict";si();MS=O.enum(["snowflake","databricks"])});var $yl,YSi,nDr,VSi,KSi=Ge(()=>{"use strict";si();Jp();F5t();ea();$yl=O.enum(["active","deleted"]),YSi=1,nDr=ma.extend({name:O.string(),description:O.string().optional(),platformKind:MS.optional(),gitRepoURL:O.string().optional(),status:$yl,version:O.literal(YSi).default(YSi),id:O.string()}).strict(),VSi=xr("Project",$o(nDr))});var JSi,XSi,$Si=Ge(()=>{"use strict";si();Jp();JSi=1,XSi=ma.extend({gitAccountID:O.string(),version:O.literal(JSi).default(JSi)}).strict()});var Zyl,eEl,tEl,iDr,ZSi,L5t,oDr=Ge(()=>{"use strict";si();Jp();N5t();Zyl=O.object({values:O.array(O.any())}),eEl=O.object({type:O.string(),name:O.string()}),tEl=O.enum(["sql","sqlTest"]),iDr=(o=>(o.SUCCESS="Success",o.FAILURE="Failure",o.OVER_LIMIT="Transaction exceeded data limit, returned a subset of rows",o.CANCELED="Canceled",o))(iDr||{}),ZSi=1,L5t=ma.extend({sql:O.string(),success:RS.default(!1),rows:O.array(Zyl.strict()),fields:O.array(eEl.strict()),error:STi.nullable().optional(),startTime:O.coerce.date(),endTime:O.coerce.date(),name:O.string(),isRunning:O.boolean(),exportedRefs:O.array(Sfe),invalidExportedRefs:O.array(Sfe),queryResultSequence:O.object({}).passthrough().nullable().optional(),status:O.nativeEnum(iDr),type:tEl,queryID:O.string().nullable().optional(),queryResultExecutionIndex:O.number(),warehouse:O.string().nullable().optional(),renderStartTime:O.coerce.date().optional(),renderEndTime:O.coerce.date().optional(),stageExecutionStartTime:O.coerce.date().nullable().optional(),stageExecutionEndTime:O.coerce.date().nullable().optional(),version:O.literal(ZSi).default(ZSi)}).strict()});var rEl,eOi,sDr=Ge(()=>{"use strict";si();rEl=O.enum(["Basic","OAuth","KeyPair","Cloud"]),eOi=O.object({snowflakeAccount:O.string(),snowflakeAccessUrl:O.string().nullable().optional(),snowflakeKeyPairKey:O.string().optional(),snowflakeKeyPairPass:O.string().optional(),snowflakeUsername:O.string().nullable().optional(),snowflakeRole:O.string().optional(),snowflakeWarehouse:O.string().optional(),snowflakeAuthType:rEl,platformKind:O.literal("snowflake").optional()}).strict()});var nEl,tOi,aDr=Ge(()=>{"use strict";si();nEl=O.enum(["Token","Cloud"]),tOi=O.object({databricksToken:O.string().optional(),databricksPath:O.string().optional(),databricksHost:O.string(),databricksAuthType:nEl,platformKind:O.literal("databricks")}).strict()});var iEl,nOi,iOi,oEl,oOi,JLd,lDr,sEl,XLd,aEl,lEl,$Ld,uEl,cEl,uDr,ZLd,sOi,aOi,lOi,uOi,dEl,cOi,ezd,pEl,dOi,tzd,rOi,fEl,AEl,cDr,dDr,pDr,fDr,rzd,pOi=Ge(()=>{"use strict";si();Jp();sDr();aDr();iEl=["initializing","rendering"],nOi=["waitingToRun","running"],iOi=[...iEl,...nOi],oEl=O.enum(iOi),oOi=["failed","canceled"],JLd=O.enum(oOi),lDr=["completed",...oOi],sEl=O.enum(lDr),XLd=[...nOi,...lDr],aEl=[...iOi,...lDr],lEl=O.union([oEl,sEl]),$Ld=O.enum(aEl),uEl=["deploy","refresh"],cEl=[...uEl,"devRun"],uDr=O.enum(cEl),ZLd=O.enum(["addedColumn","addedTable","alteredColumn","alteredTable","clonedTable","deletedColumn","deletedTable","renamedColumn"]),sOi=O.coerce.number().int(),aOi=O.object({toWorkspaceID:O.coerce.number().int(),environmentID:iC.optional(),deployCommit:O.string(),deployCommitMessage:O.string().optional(),fromWorkspaceData:O.object({}).optional(),dividedStepDataWithWorkspaceEdits:O.object({}).optional(),stepsInRun:O.number().int().optional(),parallelism:O.number().int().optional(),canceled:O.boolean().optional()}).strict(),lOi=O.object({environmentID:iC,workspaceID:O.number().int().optional(),allStepsForRefresh:O.array(O.string()).optional(),refreshDescription:O.string().optional(),stepsInRun:O.number().int().optional(),jobID:sOi.optional(),includeNodesSelector:O.string().optional(),excludeNodesSelector:O.string().optional(),forceIgnoreWorkspaceStatus:RS.optional(),parallelism:O.number().int().optional(),canceled:O.boolean().optional(),executor:O.string().optional()}).strict(),uOi=["create","run"],dEl=O.enum(uOi),cOi=["Node Metadata Spec",...uOi,"select"],ezd=O.enum(cOi),pEl=O.record(O.number()).nullable(),dOi=O.object({canceled:RS.default(!1),environmentID:O.string(),operationType:dEl,isPreview:O.boolean(),multisourceIndexLookup:pEl,jobID:sOi.optional(),includeNodesSelector:O.string().optional(),excludeNodesSelector:O.string().optional(),parallelism:O.number().int(),stepsInRun:O.number().int().nullable().optional()}).strict(),tzd=O.union([aOi,dOi,lOi]),rOi=3,fEl=["API","UI","CLI","fivetranAPI"],AEl=O.enum(fEl),cDr=xfe.extend({runHeartbeat:O.coerce.date().optional(),runEndTime:O.coerce.date().optional(),runStartTime:O.coerce.date().optional(),runStatus:lEl,runType:uDr,userID:O.string().optional(),runHistory:O.array(O.coerce.number().int()).default([]).optional(),runFailureReason:O.string().optional(),runTimeParameters:O.any().nullable().optional(),reRunID:O.string().optional(),kubernetesJobUuid:O.string().optional(),userCredentials:O.union([tOi,eOi]).nullable().optional(),origin:AEl.default("API"),version:O.literal(rOi).default(rOi)}),dDr=cDr.extend({runType:O.literal("devRun"),runDetails:dOi}).strict(),pDr=cDr.extend({runType:O.literal("deploy"),runDetails:aOi}).strict(),fDr=cDr.extend({runType:O.literal("refresh"),runDetails:lOi}).strict(),rzd=O.discriminatedUnion("runType",[dDr,pDr,fDr])});var z5t,hEl,AOi,ADr,gEl,fOi,hDr,mEl,yEl,gDr,azd,hOi=Ge(()=>{"use strict";si();oDr();Jp();z5t=L5t.omit({id:!0,queryResultExecutionIndex:!0,version:!0}).strict(),hEl=O.object({name:O.string(),isRunning:O.literal(!0)}).strict(),AOi=O.object({name:O.string(),queryResults:O.array(O.union([z5t,hEl])),isRunning:O.boolean(),renderQueryResults:z5t.optional()}).strict(),ADr=["waiting","queued","running","complete","error","skipped","canceled"],gEl=O.enum(ADr),fOi=2,hDr=["None","Error","Validated","Created","DataLoaded","Skipped"],mEl=O.enum(hDr),yEl=O.number().int(),gDr=ma.extend({dataResult:O.union([O.record(O.union([O.number(),O.string(),O.boolean()])),z5t]).nullable().optional(),name:O.string(),queryResultSequence:AOi,runExecutionSequenceID:yEl.optional(),runResultVersion:O.literal(fOi).default(fOi),runState:gEl,stepRunState:mEl,version:O.literal(2).default(2)}).strict(),azd=gDr.omit({queryResultSequence:!0}).extend({queryResultSequence:AOi.omit({queryResults:!0}).extend({queryResults:O.array(z5t)})})});var mDr,kTe,rZe,nZe,gOi=Ge(()=>{"use strict";si();Jp();ea();mDr=1,kTe=O.object({folderCounter:iC,name:O.string().default(""),steps:O.array(iC).default([]),version:O.literal(mDr).default(mDr)}),rZe=xr("SubgraphCore",$o(kTe)),nZe=ma.merge(kTe.strict())});var EEl,bEl,CEl,yDr,iZe,mOi=Ge(()=>{"use strict";si();Jp();EEl=O.enum(["SSO","normal"]),bEl=["Admin","User"],CEl=O.enum(bEl),yDr=1,iZe=ma.extend({firstName:O.string(),lastName:O.string(),role:CEl,currentTeam:O.string(),email:O.string(),password:O.string().optional(),accountType:EEl.optional().default("normal"),hasSuperUserAccess:O.boolean().optional(),hasProvisioningAccess:O.boolean().optional(),activated:O.boolean().optional(),authDisabled:O.boolean().optional(),deleted:O.boolean().optional(),version:O.literal(yDr).default(yDr)}).strict()});var oZe,EDr,bDr,IEl,vEl,yOi,EOi=Ge(()=>{"use strict";si();Jp();oZe=O.enum(["admin","contributor","member"]),EDr=O.enum(["admin","architect","contributor","member"]),bDr=O.enum(["admin","reader"]),IEl=O.object({environmentRoles:O.array(bDr)}).strict(),vEl=O.object({projectRoles:O.array(EDr),environments:O.record(IEl)}).strict(),yOi=ma.extend({organizationRoles:O.array(oZe),projects:O.record(vEl)}).strict()});var _El,xEl,q5t,CDr,IDr,TEl,Izd,bOi=Ge(()=>{"use strict";si();Jp();ea();_El=O.enum(["Basic","OAuth","KeyPair","Cloud"]),xEl=O.object({userID:O.string(),user:O.string(),role:O.string().optional(),warehouse:O.string().optional(),keyPair:O.string().optional()}).strict(),q5t=1,CDr=ma.extend({connectionType:_El,connectionDetails:xEl,version:O.literal(q5t).default(q5t),connectionKind:O.literal("snowflake").optional()}).strict(),IDr=ma.extend({connectionType:O.union([O.literal("Cloud"),O.literal("Token")]),connectionDetails:O.object({path:O.string(),userID:O.string()}),version:O.literal(q5t).default(q5t),connectionKind:O.literal("databricks")}).strict(),TEl=O.union([CDr,IDr]),Izd=xr("WorkspaceUser",$o(TEl))});var SEl,COi,OEl,U5t,wEl,QTe,vDr,IOi,vOi,_Oi,Rzd,xOi=Ge(()=>{"use strict";si();Jp();F5t();C5t();ea();J8r();SEl=O.object({backgroundColor:O.string().optional(),textColor:O.string().optional()}).strict(),COi=["Refreshing","Failed Deploy","Failed Refresh","Deploying","Waiting","Initializing","Deleting"],OEl=O.enum(COi),U5t=O.record(O.any()),wEl=O.string(),QTe=2,vDr=xfe.extend({createdBy:O.string(),createdAt:b5t,name:O.string(),oauthEnabled:O.boolean().default(!1),runTimeParameters:wEl.optional(),status:OEl,connectionAccount:O.string().optional(),accessUrl:O.string().nullable().default(null),currentGitBranch:O.string().optional(),currentGitCommit:O.string().nullable().optional(),currentGitURL:O.string().optional(),currentlyRunningJobs:O.array(O.number().int()).optional(),currentlyRunningDevJobs:O.array(O.number().int()).optional(),lastCommit:O.string().nullable().optional(),description:O.string().optional(),devEnv:O.boolean().default(!1),oauthClientID:O.string().optional(),oauthClientSecret:O.string().optional(),platformKind:MS.optional()}),IOi=vDr.extend({mappingsV1:ySi,defaultStorageMapping:O.string().nullable().optional(),deployedWorkspaces:O.record(O.object({})).optional(),tagColors:SEl,project:O.string(),version:O.literal(QTe).default(QTe)}).strict(),vOi=O.number(),_Oi=IOi.omit({createdAt:!0,createdBy:!0}),Rzd=xr("Workspace",$o(IOi))});var TOi=Ge(()=>{"use strict";W$e()});var no=Ge(()=>{"use strict";Jp();C5t();wTi();MTi();PTi();pSi();ASi();gSi();J8r();PSi();Y8r();K$e();LSi();USi();O5t();HSi();F5t();KSi();$Si();oDr();N5t();pOi();hOi();aDr();sDr();gOi();mOi();EOi();bOi();xOi();TOi()});var a3l,l3l,cZe=Ge(()=>{zde();zde();a3l="firebase",l3l="10.10.0";zd.registerVersion(a3l,l3l,"app-compat")});var WOi=C((zqd,K5t)=>{var u3l=require("fs"),GOi=require("path"),c3l=require("os"),d3l=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function p3l(r){let t={},n=r.toString();n=n.replace(/\r\n?/mg,`
281
+ \f\u200B`,wordwrap:80},p2l=(r,t,n)=>[...r,...t],yTi=(r,t,n)=>[...t],f2l=(r,t,n)=>r.some(i=>typeof i=="object")?p2l(r,t):yTi(r,t)});var ea=Ge(()=>{"use strict";K_e()});var wS,E5t,g2l,B8r,M8r,STe,ETi,vfe=Ge(()=>{"use strict";wS=ht(e3());ea();E5t=wS.Record({errorDetail:wS.String,errorString:wS.String}),g2l=wS.Record({error:E5t,runDetails:wS.Record({compiledSQL:wS.String}).optional(),validationDetails:wS.Record({id:wS.String,type:wS.String,value:wS.Unknown}).optional()}),B8r=Gd("TRunErrorContents",E5t),M8r=Gd("TRunError",g2l),STe=r=>{try{return M8r.is(r)}catch(t){if(t instanceof TypeError)return!1;throw t}},ETi=r=>{if(typeof r.statusCode!="number")return!1;try{return B8r.is(r.error)}catch{return!1}}});var D8r,bTi,$G=Ge(()=>{"use strict";D8r=r=>typeof r=="object"&&r instanceof Error&&"code"in r&&(typeof r.code=="string"||typeof r.code=="number")&&"name"in r&&typeof r.name=="string",bTi=r=>D8r(r)&&(r.name==="NetworkError"||r.code===401001)});var ITi,vTi,_Ti,xTi,TTi,N8r,lk,m2l,y2l,E2l,b2l,C2l,D8,Hc,_fe,Cd=Ge(()=>{"use strict";R8r();lr();UG();vfe();uc();$G();Ln();ITi=st.RUNNER_BACKEND,vTi=st.ERROR_OPERATIONS,_Ti="Failed to parse runtime parameters",xTi=r=>{let t;if(r instanceof Error)t=r;else{let i=r?.error?.errorString||"Something went wrong";t=new Error(i)}return t},TTi=r=>{if(r instanceof Error)return r.message?r.message:(vTi.error("instance of Error did not have a message property. original error: ",r),"Unknown error");{let t=r;return!t.error.errorString&&!t.error.errorDetail?(vTi.error("instance of TRunError did not have a errorString or errorDetail property. original error: ",r),"Unknown error"):t.error.errorString||t.error.errorDetail}},N8r=(r,t)=>({errorString:r,errorDetail:t}),lk=(r,t,n,i)=>({error:N8r(r,t),...!!n&&{runDetails:n},...!!i&&{validationDetails:i}}),m2l=r=>r instanceof Error,y2l=r=>{if(r instanceof It)return r.toTRunError();let t=r.message,n=r.stack||r.name&&r.message&&`${r.name}: ${r.message}`||"";return lk(t,n)},E2l=r=>{let t=r.message,n=r.code;return lk(t,n)},b2l=r=>{let n=r.response?.data?.error,i="(unknown URL)",o=r?.config?.url||r.response?.config.url,s=r?.config?.baseURL||r.response?.config.baseURL;if(o){let u;if(o.startsWith("http")?u=o:s&&(u=s+o),u)try{let d=new URL(u);i=d.origin+d.pathname}catch{i="(invalid URL)"}}let a=n?.errorString||n?.message||r.message||`${r}`,l=`Axios Error ${r?.config?.method} ${i} ${r?.response?.status||"(no status)"}: ${n?.errorDetail||r.stack||n?.message||r.message||r}, code=${r.response?.status||r.code||"unknown"}`,c=n?.runDetails?.compiledSQL?{compiledSQL:n.runDetails.compiledSQL}:null;return lk(a,l,c)},C2l=r=>!!(typeof r=="object"&&r&&"error"in r),D8=r=>{try{return M8r.is(r)}catch{return!1}},Hc=(r,t=!1)=>{if(typeof r=="object"&&r){if(D8(r))return r;if(uA(r))return r.toTRunError();if(cv(r))return b2l(r);if(i4t(r))return E2l(r);if(m2l(r))return y2l(r);if(C2l(r)&&r.error)return Hc(r.error,t);if(B8r.is(r))return lk(r.errorString,r.errorDetail);t||ITi.assert("CreateTRunError received a non-error object",r,new Error().stack)}else{if(typeof r=="string")return r.includes("html>")?lk("Coalesce was served HTML possibly indicating a service failure",y5t(r)):lk(r,r);t||ITi.assert("CreateTRunError received error of unknown shape: ",r,new Error().stack)}return lk("","")},_fe=(r,t="",n)=>{let i=Hc(r);return new It(t+i.error.errorString,n)}});var iC,RS,STi,v2l,uQd,$o,ZG,xfe,ma,cQd,P8r=Ge(()=>{"use strict";si();iC=O.any().transform(r=>r?.toString()).pipe(O.string()),RS=O.any().transform(r=>typeof r=="string"?r.toLowerCase()==="true":typeof r=="number"?!!r:r).pipe(O.boolean()),STi=O.object({errorDetail:O.string().default(""),errorString:O.string()}).strict(),v2l=O.union([O.number(),O.string(),O.boolean()]),uQd=O.record(v2l),$o=r=>ZG(r,{ZodObject:t=>t.passthrough()}),ZG=(r,t)=>{if(r instanceof up){let n=r.shape,i={};for(let s in r.shape){let a=n[s];i[s]=ZG(a,t)}let o=new O.ZodObject({...r._def,shape:()=>i});return t.ZodObject?t.ZodObject(o):o}else{if(r instanceof O.ZodArray)return O.ZodArray.create(ZG(r.element,t));if(r instanceof O.ZodOptional){let n=r.unwrap();return O.ZodOptional.create(ZG(t.ZodOptional?t.ZodOptional(n):n,t))}else{if(r instanceof O.ZodNullable)return O.ZodNullable.create(ZG(r.unwrap(),t));if(r instanceof O.ZodTuple)return O.ZodTuple.create(r.items.map(n=>ZG(n,t)));if(r instanceof O.ZodDiscriminatedUnion){let n=r._def.options.map(i=>ZG(i,t));return O.ZodDiscriminatedUnion.create(r._def.discriminator,n)}else if(r instanceof O.ZodUnion){let n=r._def.options.map(i=>ZG(i,t));return O.ZodUnion.create(n)}else if(r instanceof O.ZodRecord)return O.ZodRecord.create(r.keySchema,ZG(r.valueSchema,t))}}return r},xfe=O.object({id:O.coerce.number().int()}),ma=O.object({id:iC}),cQd=O.union([xfe,ma])});var Jp=Ge(()=>{"use strict";P8r()});var _2l,b5t,C5t=Ge(()=>{"use strict";si();_2l=O.union([O.object({seconds:O.number(),nanoseconds:O.number()}),O.object({_seconds:O.number(),_nanoseconds:O.number()})]),b5t=O.union([_2l,O.date()])});var OTi,I5t,wTi=Ge(()=>{"use strict";si();Jp();OTi=2,I5t=ma.extend({gitUsername:O.string(),gitAuthorName:O.string(),gitAuthorEmail:O.string(),gitAccountName:O.string(),version:O.literal(OTi).default(OTi).optional()}).strict()});var RTi,BTi,MTi=Ge(()=>{"use strict";si();Jp();RTi=1,BTi=ma.extend({gitRepoURL:O.string(),version:O.literal(RTi).default(RTi)}).strict()});var DTi,_Qd,NTi,PTi=Ge(()=>{"use strict";si();Jp();DTi=1,_Qd=O.object({gitUsername:O.string(),gitAuthorName:O.string(),gitAuthorEmail:O.string(),gitRepoID:O.string().optional()}).strict(),NTi=ma.extend({version:O.literal(DTi).default(DTi)}).strict()});var kTi=Ge(()=>{"use strict"});var G$e=Ge(()=>{"use strict";P8r();TOr();NMr()});var v5t,x2l,T2l,LTi,k8r,S2l,QTi,FTi,eW,O2l,w2l,_5t,R2l,B2l,x5t,W$e=Ge(()=>{"use strict";si();G$e();v5t=O.string().refine(r=>/^[a-z0-9](?!.*--)[-a-z0-9]*[a-z0-9]$|^[a-z0-9]+$/i.test(r),r=>({message:`Invalid name "${r}". Only lowercase alphanumeric and hyphens are allowed. No consecutive or leading/trailing hyphens.`})),x2l=/^(?!.*\s{2})(?!.*--)(?!.*__)[a-zA-Z0-9]([-_\s]*[a-zA-Z0-9])*$|^[a-z0-9]+$/i,T2l=O.string().refine(r=>x2l.test(r),r=>({message:`Invalid package name ${r}. Only alphanumeric characters, spaces, hyphens, and underscores are allowed. No consecutive or leading/trailing spaces, hyphens, or underscores.`})),LTi=v5t,k8r="_",S2l=O.string().refine(r=>{let[t,n]=r.split(k8r);return n?LTi.safeParse(t).success&&v5t.safeParse(n).success:!1},r=>({message:`Invalid package ID "${r}". Must be in the format <publisherID>${k8r}<packageName>`})),QTi="/",FTi="@",eW=O.string().refine(r=>r.startsWith(FTi)?r.includes(QTi):!1,r=>({message:`${r} is not a valid package ID. Should be formatted "${FTi}publisherID${QTi}packageName"`})),O2l=O.enum(["public","private","unlisted"]),w2l=ma.extend({version:O.string(),changeLog:O.string()}),_5t=w2l.extend({releaseID:O.string(),storagePath:O.string(),privacy:O2l.default("unlisted")}),R2l=200,B2l=O.string().max(R2l).default(""),x5t=ma.extend({description:O.string(),overview:B2l,packageID:eW,publisherID:LTi,name:T2l,org:O.string(),latestRelease:O.string(),tags:O.array(O.string()).default([]),featured:O.boolean().default(!1),certified:O.boolean().default(!1)})});var BS,M2l,H$e,T5t,D2l,S5t,N2l,Q8r,F8r,zTi,P2l,uk,L8r,z8r,qTi,FQd,k2l,UTi,q8r,LQd,zQd,Y$e=Ge(()=>{"use strict";si();W$e();G$e();K_e();BS=v5t,M2l=O.object({defaultStorageLocation:O.string().nullable(),isDisabled:O.boolean()}).strict(),H$e=O.string(),T5t=O.object({packageVariables:H$e,entities:O.object({nodeTypes:O.record(M2l)})}).strict(),D2l=O.string(),S5t=_5t.pick({version:!0,changeLog:!0,releaseID:!0}),N2l=O.object({alias:BS,packageID:eW,releaseID:O.string(),macros:D2l,version:O.string()}),Q8r=N2l.extend({dependencies:O.record(BS,O.lazy(()=>Q8r))}).strict(),F8r=O.record(BS,Q8r),zTi=xr("Package Dependency",Q8r),P2l=x5t.pick({description:!0,overview:!0,packageID:!0,publisherID:!0,name:!0}),uk=O.object({id:O.string(),version:O.string()}).strict(),L8r=O.object({defaultStorageLocation:O.string().optional().nullable(),error:O.object({errorString:O.string()}).nullable(),nodeMetadataSpec:O.string(),templates:O.object({create:O.object({templateString:O.string()}).strict(),run:O.object({templateString:O.string()}).strict()}).strict()}).strict(),z8r=O.object({templateCounter:O.number().int().optional(),id:O.string().optional(),isDisabled:O.boolean(),metadata:L8r.strict(),name:O.string(),version:O.number().int(),packageInfo:uk.optional()}).strict(),qTi=z8r.merge(ma),FQd=xr("PackageNodeTypeUnparsed",qTi),k2l=O.record(qTi),UTi=O.object({macros:O.string(),nodeTypes:k2l,release:S5t,dependencies:F8r}),q8r=P2l.merge(UTi).strict(),LQd=q8r.extend({packageVariables:H$e}),zQd=UTi.extend({packageVariables:H$e})});var hZ,Q2l,F2l,L2l,JQd,z2l,XQd,jTi=Ge(()=>{"use strict";si();py();K_e();W$e();Y$e();hZ=O.object({releaseID:O.string(),packageID:eW,config:T5t}),Q2l=O.object({releaseID:S5t.shape.releaseID,packageID:eW}),F2l=O.record(BS,Q2l),L2l=O.object({packageID:eW,macros:O.string(),dependencies:F2l,release:S5t,packageVariables:H$e}),JQd=xr("PackageMetadataForZip",L2l),z2l=O.object({serializedPackages:O.record(BS,hZ)}),XQd=xr("Hydrate Serialized Packages Validator",z2l)});var GTi,q2l,U2l,j2l,G2l,W2l,tFd,WTi=Ge(()=>{"use strict";si();Y$e();GTi=O.object({templateString:O.string()}),q2l=O.object({run:GTi,create:GTi}),U2l=O.object({errorString:O.string()}),j2l=O.string(),G2l=O.object({defaultStorageLocation:j2l.optional().nullable(),nodeMetadataSpec:O.string(),templates:q2l,error:U2l.nullable()}),W2l=O.object({name:O.string(),isDisabled:O.boolean(),version:O.number(),id:O.string(),metadata:G2l,packageInfo:uk.optional()}),tFd=O.record(O.string(),W2l)});var wTe=Ge(()=>{"use strict";kTi();W$e();jTi();Y$e();WTi()});var U8r,H2l,Y2l,gZ,fFd,HTi,O5t=Ge(()=>{"use strict";si();C5t();ea();Jp();wTe();U8r=(o=>(o.adding="adding",o.added="added",o.removing="removing",o.error="error",o))(U8r||{}),H2l=O.object({filePath:O.string()}),Y2l=O.object({commit:O.string()}),gZ=ma.extend({version:O.string(),versionInfo:O.union([Y2l,H2l]),status:O.nativeEnum(U8r),addedBy:O.string(),createdAt:b5t.nullable(),manifest:O.record(O.record(O.object({id:O.string(),name:O.string()})))}).strict(),fFd=O.record(gZ,O.string()),HTi=xr("PackageV1",gZ)});var V2l,K2l,VTi,J2l,RTe,BTe,X2l,$2l,Z2l,eyl,tyl,KTi,ryl,nyl,iyl,w5t,mFd,MTe,oyl,syl,ayl,lyl,uyl,cyl,j8r,JTi,XTi,YTi,$Ti,dyl,pyl,ZTi,fyl,V$e,R5t,K$e=Ge(()=>{"use strict";si();V2l=["sql","none"],K2l=O.enum(["beginning","end"]),VTi=O.object({isRequired:O.boolean().optional(),enableIf:O.string().optional()}),J2l=["columnSelector","dropdownSelector","textBox","toggleButton","tabular","columnDropdownSelector"],RTe=O.enum(J2l),BTe=r=>VTi.extend({displayName:O.string(),type:O.literal(r),attributeName:O.string().min(1,"attributeName must be non-empty")}),X2l=BTe(RTe.Enum.columnSelector),$2l=BTe(RTe.Enum.dropdownSelector).extend({default:O.string().optional(),options:O.array(O.string())}),Z2l=BTe(RTe.Enum.textBox).extend({default:O.union([O.string(),O.number()]).optional(),syntax:O.enum(V2l).optional()}),eyl=BTe(RTe.Enum.toggleButton).extend({default:O.boolean().optional()}),tyl=BTe(RTe.Enum.columnDropdownSelector).extend({ineligibleColumns:O.array(O.string()).optional()}),KTi=O.discriminatedUnion("type",[$2l,Z2l,eyl,tyl]),ryl=O.discriminatedUnion("type",[X2l,...KTi.options]),nyl=BTe(RTe.Enum.tabular).extend({isRequired:O.boolean(),enableIf:O.string().optional(),columns:O.array(KTi).nonempty()}),iyl=O.discriminatedUnion("type",[...ryl.options,nyl]),w5t=["businessKeyColumns","changeTrackingColumns","multisourceToggle","overrideSQLToggle","materializationSelector"],mFd=O.enum(w5t),MTe=r=>VTi.extend({type:O.literal(r),default:O.union([O.string(),O.boolean()]).optional(),options:O.array(O.string()).optional()}),oyl=MTe("multisourceToggle"),syl=MTe("businessKeyColumns"),ayl=MTe("changeTrackingColumns"),lyl=MTe("overrideSQLToggle"),uyl=MTe("materializationSelector"),cyl=MTe("dataVaultToggle"),j8r=O.discriminatedUnion("type",[syl,ayl,oyl,lyl,uyl]),JTi=O.object({displayName:O.string(),transform:O.string(),dataType:O.string(),nullable:O.boolean().optional(),defaultValue:O.string().optional(),description:O.string().optional(),placement:K2l,attributeName:O.string(),enableIf:O.string().optional()}).strict(),XTi=O.object({headerName:O.string(),attributeName:O.string(),type:O.literal("textBox")}).strict(),YTi=O.union([O.literal("table"),O.literal("view"),O.string()]),$Ti=O.object({default:YTi,options:O.array(YTi)}).strict(),dyl=O.discriminatedUnion("type",[...j8r.options,...iyl.options,cyl]),pyl=O.object({groupName:O.string(),description:O.string().optional(),items:O.array(dyl),enableIf:O.string().optional()}).strict(),ZTi=O.array(pyl),fyl=["default","advanced","transient"],V$e=O.enum(fyl),R5t=O.object({deployStrategy:V$e})});var eSi,tSi=Ge(()=>{"use strict";K$e();eSi=(r=[],t)=>t==="advanced"?!0:r.every(n=>{let i=n.items.find(a=>a.type==="materializationSelector");if(!i)return!0;let o=j8r.safeParse(i);return o.success?(o.data.options||[]).every(a=>a.toLowerCase()==="table"||a.toLowerCase()==="view"):!0})});var J$e,rSi,Ayl,G8r,hyl,nSi,iSi,gyl,DTe,W8r,M5t,oSi,wFd,tW,sSi,myl,aSi,yyl,RFd,lSi,Eyl,byl,BFd,B5t,Cyl,D5t,Iyl,vyl,MFd,H8r,uSi,Y8r=Ge(()=>{"use strict";si();ea();O5t();Jp();K$e();tSi();J$e=(r,t)=>O.object({defaultStorageLocation:O.string().optional().nullable(),templates:Ayl,nodeMetadataSpec:r,error:t}),rSi=O.strictObject({templateString:O.string()}),Ayl=O.strictObject({run:rSi,create:rSi}),G8r=O.string(),hyl=O.object({capitalized:O.string(),tagColor:O.string(),plural:O.string(),short:O.string().nullable().optional(),isDisabled:O.boolean().optional(),isGhostobjectColumnsEnabled:O.boolean().optional(),systemColumns:O.array(JTi).optional(),isMultisourceToggleEnabled:O.boolean().optional(),isOverrideSQLEnabled:O.boolean().optional(),fetchDataOnSuccess:O.boolean().optional(),isDMLEnabled:O.boolean().optional(),isBusinessKeysEnabled:O.boolean().optional(),isChangeTrackingEnabled:O.boolean().optional(),materializationOptions:$Ti.optional(),deployStrategy:V$e.optional(),alwaysDeploy:O.boolean().optional(),config:ZTi.optional(),mappingColumns:O.array(XTi).optional(),joinTemplate:O.string().optional()}),nSi=O.strictObject({errorString:O.string()}),iSi=hyl.refine(({alwaysDeploy:r,deployStrategy:t})=>!r||r===!0&&t==="advanced",{message:"alwaysDeploy is only supported for advanced deploy strategies"}).refine(r=>{let{config:t,deployStrategy:n}=r;return eSi(t,n)},{message:"materializationSelector options other than 'table' or 'view' are only supported for advanced deploy strategies"}),gyl=O.strictObject({id:O.string(),name:O.string(),isDisabled:O.boolean(),version:O.number().int()}),DTe=gyl.extend({packageInfo:uk.optional()}).strict(),W8r=J$e(G8r,nSi),M5t=J$e(G8r,O.null()),oSi=O.union([W8r,M5t]),wFd=DTe.extend({metadata:M5t}),tW=DTe.extend({metadata:oSi}),sSi=O.record(tW),myl=J$e(O.null(),nSi),aSi=J$e(iSi,O.null()),yyl=O.union([myl,aSi]),RFd=DTe.extend({metadata:aSi}),lSi=DTe.extend({metadata:yyl}),Eyl=O.record(lSi),byl=DTe.omit({id:!0}).extend({metadata:J$e(G8r,O.null())}),BFd=DTe.extend({metadata:oSi,templateCounter:O.number().int()}),B5t=1,Cyl=ma.extend({version:O.literal(B5t).default(B5t)}).strict(),D5t=Cyl.merge(tW),Iyl=xr("NodeSpec",$o(iSi)),vyl=xr("NodeTypeParsed",$o(lSi)),MFd=xr("NodeTypes Parsed",$o(Eyl)),H8r=xr("AnyNodeTypeYAML",$o(tW)),uSi=xr("DeployedNodeType",$o(byl))});var _yl,LFd,cSi,NTe,zFd,PTe,dSi,pSi=Ge(()=>{"use strict";si();ea();Y8r();Jp();wTe();Y$e();_yl=tW.omit({packageInfo:!0}).merge(ma),LFd=O.record(_yl),cSi=1,NTe=ma.extend({version:O.literal(cSi).default(cSi),contents:q8r,config:T5t,alias:BS}).strict(),zFd=O.record(BS,NTe),PTe=xr("Installed Workspace Package",$o(NTe)),dSi=r=>PTe.is(r)});var Tfe,fSi,WFd,mZ,ASi=Ge(()=>{"use strict";si();Jp();Tfe=2,fSi=O.object({jobCounter:O.number().int(),name:O.string().default(""),includeSelector:iC.default(""),excludeSelector:iC.default(""),subgraphs:O.array(O.number().int()).optional(),steps:O.array(iC).optional()}),WFd=O.record(fSi),mZ=xfe.merge(fSi.extend({version:O.literal(Tfe).default(Tfe)})).strict()});var N8,P8,XFd,hSi,gSi=Ge(()=>{"use strict";si();Jp();ea();O5t();N8=1,P8=ma.extend({macroString:O.string().default(""),macroCounter:O.number().int().optional(),packageInfo:uk.optional(),version:O.literal(N8).default(N8).optional()}).strict(),XFd=O.record(P8),hSi=xr("Macro",$o(P8))});var V8r,xyl,mSi,K8r,Tyl,Syl,X$e,yZ,ySi,J8r=Ge(()=>{"use strict";si();ea();Jp();V8r=O.object({id:O.number().int(),locationName:O.string(),database:O.string(),schema:O.string()}).strict(),xyl=O.record(V8r),mSi=xr("MappingV0Dictionary",$o(xyl)),K8r=O.object({database:O.string().optional(),schema:O.string().optional()}).strict(),Tyl=O.record(K8r),Syl=O.object({mappingDefinitions:Tyl}).strict(),X$e=O.record(Syl),yZ=xr("MappingV1Dictionary",$o(X$e)),ySi=O.string()});var Sfe,N5t=Ge(()=>{"use strict";si();Sfe=O.object({locationName:O.string(),nodeName:O.string()}).strict()});var $8r,Z8r,Oyl,$$e,wyl,Ryl,Byl,CSi,EZ,ISi,Myl,Dyl,P5t,Z$e,cLd,Nyl,vSi,Pyl,eDr,_Si,xSi,X8r,TSi,kyl,Qyl,ESi,bSi,SSi,Fyl,Lyl,OSi,zyl,qyl,wSi,eZe,Uyl,RSi,jyl,Gyl,BSi,tZe,Wyl,MSi,dLd,pLd,Hyl,tDr,DSi,rDr,NSi,fLd,PSi=Ge(()=>{"use strict";si();Jp();N5t();ea();K$e();$8r=O.enum(["None","sysCreateDate","sysUpdateDate","sysStartDate","sysEndDate","sysVersion","sysCurrentFlag"]),Z8r=O.enum(["None","surrogateKey","primaryBusinessKey"]),Oyl=O.enum(["SHA1","SHA256","MD5"]),$$e=O.object({stepCounter:iC,columnCounter:iC}).strict(),wyl=O.object({columnReferences:O.array($$e.strict()),transform:O.string()}).strict(),Ryl=O.object({hashAlgorithm:Oyl}),Byl=O.object({strictMatch:O.boolean(),values:O.array(O.string())}).strict(),CSi=r=>O.object({defaultValue:O.string().optional(),nullable:RS.default(!1),name:O.string(),dataType:O.string(),description:O.string(),columnReference:$$e,transform:O.string().optional(),sourceColumnReferences:O.array(wyl).optional(),systemColumnType:$8r.optional(),keyColumnType:Z8r.optional(),isBusinessKey:RS.optional(),isChangeTracking:RS.optional(),primaryKey:RS.optional(),uniqueKey:RS.optional(),hashDetails:Ryl.nullish(),hashedColumns:O.array($$e.strict()).optional(),isSurrogateKey:O.boolean().optional(),config:r?O.record(O.any()).default({}):O.record(O.any()).optional(),appliedColumnTests:r?O.record(O.string(),O.boolean()).default({}):O.record(O.string(),O.boolean()).optional(),acceptedValues:Byl.strict().optional(),isSystemCreateDate:RS.optional(),isSystemUpdateDate:O.boolean().optional(),isSystemStartDate:O.boolean().optional(),isSystemEndDate:O.boolean().optional(),isSystemVersion:O.boolean().optional(),isSystemCurrentFlag:O.boolean().optional()}).passthrough(),EZ=CSi(!1),ISi=CSi(!0),Myl=O.object({columns:O.array(EZ.strict()),mappings:O.any(),locationName:O.string(),sourceMapping:O.any(),description:O.string().optional(),workspaceID:O.number().int().optional(),workspaceName:O.string().optional(),destinationName:O.string().optional()}).strict(),Dyl=O.object({locationName:O.string(),database:O.string(),schema:O.string()}),P5t=O.record(O.string(),Dyl),Z$e=O.object({operationName:O.string(),destinationName:O.string().optional(),mapping:P5t,parameters:O.record(O.any()).optional(),deployStrategy:V$e.optional()}),cLd=Z$e.extend(Myl.shape),Nyl=O.enum(["sql","sourceInput"]),vSi=["Stage","persistentStage","View","Dimension","Fact","Hub","Link","Satellite"],Pyl=O.enum(vSi),eDr=[...vSi,"Source"],_Si=O.enum(eDr),xSi=r=>r in _Si.Enum,X8r=1,TSi=O.object({database:O.string(),deployEnabled:RS.optional(),description:O.string(),locationName:O.string(),name:O.string(),schema:O.string(),sqlType:O.union([_Si,O.coerce.string()]),type:Nyl,version:O.literal(X8r).default(X8r)}),kyl=O.enum(["Before","After"]),Qyl=O.object({name:O.string(),description:O.string().default(""),continueOnFailure:O.boolean(),runOrder:kyl}).strict(),ESi=Qyl.extend({templateString:O.string()}).strict(),bSi=["table","view"],SSi=r=>O.object({name:O.string(),join:O.object({joinCondition:O.string()}).strict(),dependencies:O.array(Sfe),customSQL:O.object({customSQL:O.string()}).strict().optional(),noLinkRefs:r?O.array(Sfe).default([]):O.array(Sfe).optional(),aliases:r?O.record(O.string(),O.string()).default({}):O.record(O.string(),O.string()).optional()}).strict(),Fyl=SSi(!1),Lyl=SSi(!0),OSi=r=>O.object({columns:O.array(r?ISi:EZ),sourceMapping:O.array(r?Lyl.strict():Fyl.strict()).nonempty(),cteString:O.string().optional(),destinationName:O.string().optional(),description:O.string().optional(),mapping:O.any().optional(),materializationOption:O.string().optional(),appliedNodeTests:r?O.array(ESi).default([]):O.array(ESi).optional(),enabledColumnTestIDs:r?O.array(O.string()).default([]):O.array(O.string()).optional()}).strict(),zyl=OSi(!1),qyl=OSi(!0),wSi=r=>TSi.extend({database:r?O.string().default(""):O.string().optional(),deployEnabled:r?O.boolean().default(!0):O.boolean().optional(),description:r?O.string().default(""):O.string().optional(),schema:r?O.string().default(""):O.string().optional(),config:r?O.record(O.any()).default({}):O.record(O.any()).optional(),isMultisource:O.boolean(),metadata:r?qyl:zyl,materializationType:r?O.union([O.enum(bSi),O.string()]).default("table"):O.union([O.enum(bSi),O.string()]),overrideSQL:O.boolean().optional(),sqlType:O.union([Pyl,O.coerce.string()]).refine(t=>t!=="Source",{message:"'Source' is not allowed for a sql node"}),type:O.literal("sql")}).strict(),eZe=wSi(!1),Uyl=wSi(!0),RSi=r=>O.object({columns:O.array(r?ISi:EZ),sourceMapping:O.any().optional(),join:O.object({joinCondition:O.string()}).strict().optional()}).strict(),jyl=RSi(!1),Gyl=RSi(!0),BSi=r=>TSi.extend({database:r?O.string().default(""):O.string().optional(),deployEnabled:r?O.boolean().default(!0):O.boolean().optional(),description:r?O.string().default(""):O.string().optional(),schema:r?O.string().default(""):O.string().optional(),dataset:O.string().optional(),table:O.string().optional(),metadata:r?Gyl:jyl,type:O.literal("sourceInput"),sqlType:O.literal("Source")}).strict(),tZe=BSi(!1),Wyl=BSi(!0),MSi=O.discriminatedUnion("type",[eZe,tZe]),dLd=xr("NodeCore",MSi),pLd=O.discriminatedUnion("type",[ma.merge(eZe),ma.merge(tZe)]),Hyl=O.record(O.object({operation:MSi})),tDr=O.discriminatedUnion("type",[$o(eZe),$o(tZe)]),DSi=O.record(O.object({operation:tDr})),rDr=O.discriminatedUnion("type",[Uyl,Wyl]),NSi=xr("NodeCore + Defaults",$o(rDr)),fLd=xr("Node Dictionary",Hyl)});var Yyl,k5t,kSi,QSi,mLd,Vyl,FSi,LSi=Ge(()=>{"use strict";si();Jp();Yyl=O.object({sampleSize:O.number().int()}),k5t=O.object({trialStartDate:iC.optional(),isTrial:O.boolean(),trialActivator:O.string().optional(),companyName:O.string().optional(),trialSource:O.string().optional(),trialEndDate:O.string().optional()}).strict(),kSi=1,QSi=O.enum(["RBAC","dataVaultEnabled","presyncDisabled","enableRepoUpgrade","deployDashboardV2Disabled","devRunsEnabled","snowflakeAdvancedOptionsEnabled","packagesV2Enabled","multiFactorAuthEnabled","backendBulkWritingEnabled","listenersWaitForServerResponse","disableProblemScanner","isPackageCreator","enableGitOptInUI","enableBatchedListener","enableFrontendMetrics","enableSnowflakeOAuthSecretsV2","enableSnowflakeSecretsV2","enableWorkspaceOnboarding","enableProjectPlatformKind","globalPackagesService","autocompleteUpdateDisabled"]),mLd=O.enum(["isPackageCreator"]),Vyl=O.record(O.string(),O.boolean().optional()),FSi=ma.extend({backendBulkWritingEnabled:O.boolean().optional(),columnCounter:O.coerce.number().int().default(0),connectionCounter:O.coerce.number().int().default(0),createdAt:O.custom().optional(),createdBy:O.string().optional(),updatedAt:O.custom().optional(),updatedBy:O.string().optional(),dataVaultEnabled:O.boolean().optional(),deployDashboardV2Disabled:O.boolean().optional(),devRunCounter:O.coerce.number().int().default(0),devRunsEnabled:O.boolean().optional(),docsV2Enabled:O.boolean().optional(),enableRepoUpgrade:O.boolean().optional(),folderCounter:O.coerce.number().int().optional(),gitRepoCounter:O.number().int().optional(),jobCounter:O.coerce.number().int().default(0),lastLoginTime:O.coerce.date().optional(),listenersWaitForServerResponse:O.boolean().optional(),disableProblemScanner:O.boolean().optional(),locationCounter:O.coerce.number().int().default(0),multiFactorAuthEnabled:O.boolean().optional(),orgID:O.string().optional(),id:O.string(),orgName:O.string(),preferences:Yyl.strict().optional(),presyncDisabled:O.boolean().optional(),runCounter:O.coerce.number().int().default(0),snowflakeAdvancedOptionsEnabled:O.boolean().optional(),stepCounter:O.coerce.number().int().default(0),superDebugEnabled:O.boolean().optional(),templateCounter:O.coerce.number().int().default(0),workspaceCounter:O.coerce.number().int().default(0),ignoreForDatabaseValidation:O.boolean().optional(),licenseDetails:k5t.strict().optional(),dnsName:O.string().optional(),environmentCounter:O.number().int().optional(),authServer:O.string().optional(),testingEnabled:O.boolean().optional(),coaImageOverride:O.string().optional().nullable(),version:O.literal(kSi).default(kSi),featureFlags:Vyl.default({})}).strict()});var Kyl,Jyl,Q5t,zSi,qSi,Xyl,ILd,USi=Ge(()=>{"use strict";si();Jp();ea();Kyl=["okta","azure","other"],Jyl=O.enum(Kyl),Q5t=1,zSi=O.object({authority:Jyl,authServer:O.string(),authUrl:O.string().optional(),useServerTokenAuth:O.boolean().optional(),clientID:O.string(),dnsName:O.string(),issuer:O.string().optional(),audience:O.string().optional(),disableLegacySSO:O.boolean().optional()}).strict(),qSi=ma.merge(zSi.partial()).extend({version:O.literal(Q5t).default(Q5t)}).strict(),Xyl=zSi.extend({id:O.string()}).strict(),ILd=xr("SSOConfig",Xyl.passthrough())});var jSi,GSi,WSi,HSi=Ge(()=>{"use strict";si();ea();Jp();jSi=O.object({name:O.string()}).strict(),GSi=xr("Package namespace (OLD)",$o(jSi)),WSi=ma.merge(jSi).strict()});var MS,F5t=Ge(()=>{"use strict";si();MS=O.enum(["snowflake","databricks"])});var $yl,YSi,nDr,VSi,KSi=Ge(()=>{"use strict";si();Jp();F5t();ea();$yl=O.enum(["active","deleted"]),YSi=1,nDr=ma.extend({name:O.string(),description:O.string().optional(),platformKind:MS.optional(),gitRepoURL:O.string().optional(),status:$yl,version:O.literal(YSi).default(YSi),id:O.string()}).strict(),VSi=xr("Project",$o(nDr))});var JSi,XSi,$Si=Ge(()=>{"use strict";si();Jp();JSi=1,XSi=ma.extend({gitAccountID:O.string(),version:O.literal(JSi).default(JSi)}).strict()});var Zyl,eEl,tEl,iDr,ZSi,L5t,oDr=Ge(()=>{"use strict";si();Jp();N5t();Zyl=O.object({values:O.array(O.any())}),eEl=O.object({type:O.string(),name:O.string()}),tEl=O.enum(["sql","sqlTest"]),iDr=(o=>(o.SUCCESS="Success",o.FAILURE="Failure",o.OVER_LIMIT="Transaction exceeded data limit, returned a subset of rows",o.CANCELED="Canceled",o))(iDr||{}),ZSi=1,L5t=ma.extend({sql:O.string(),success:RS.default(!1),rows:O.array(Zyl.strict()),fields:O.array(eEl.strict()),error:STi.nullable().optional(),startTime:O.coerce.date(),endTime:O.coerce.date(),name:O.string(),isRunning:O.boolean(),exportedRefs:O.array(Sfe),invalidExportedRefs:O.array(Sfe),queryResultSequence:O.object({}).passthrough().nullable().optional(),status:O.nativeEnum(iDr),type:tEl,queryID:O.string().nullable().optional(),queryResultExecutionIndex:O.number(),warehouse:O.string().nullable().optional(),renderStartTime:O.coerce.date().optional(),renderEndTime:O.coerce.date().optional(),stageExecutionStartTime:O.coerce.date().nullable().optional(),stageExecutionEndTime:O.coerce.date().nullable().optional(),version:O.literal(ZSi).default(ZSi)}).strict()});var rEl,eOi,sDr=Ge(()=>{"use strict";si();rEl=O.enum(["Basic","OAuth","KeyPair","Cloud"]),eOi=O.object({snowflakeAccount:O.string(),snowflakeAccessUrl:O.string().nullable().optional(),snowflakeKeyPairKey:O.string().optional(),snowflakeKeyPairPass:O.string().optional(),snowflakeUsername:O.string().nullable().optional(),snowflakeRole:O.string().optional(),snowflakeWarehouse:O.string().optional(),snowflakeAuthType:rEl,platformKind:O.literal("snowflake").optional()}).strict()});var nEl,tOi,aDr=Ge(()=>{"use strict";si();nEl=O.enum(["Token","Cloud"]),tOi=O.object({databricksToken:O.string().optional(),databricksPath:O.string().optional(),databricksHost:O.string(),databricksAuthType:nEl,platformKind:O.literal("databricks")}).strict()});var iEl,nOi,iOi,oEl,oOi,JLd,lDr,sEl,XLd,aEl,lEl,$Ld,uEl,cEl,uDr,ZLd,sOi,aOi,lOi,uOi,dEl,cOi,ezd,pEl,dOi,tzd,rOi,fEl,AEl,cDr,dDr,pDr,fDr,rzd,pOi=Ge(()=>{"use strict";si();Jp();sDr();aDr();iEl=["initializing","rendering"],nOi=["waitingToRun","running"],iOi=[...iEl,...nOi],oEl=O.enum(iOi),oOi=["failed","canceled"],JLd=O.enum(oOi),lDr=["completed",...oOi],sEl=O.enum(lDr),XLd=[...nOi,...lDr],aEl=[...iOi,...lDr],lEl=O.union([oEl,sEl]),$Ld=O.enum(aEl),uEl=["deploy","refresh"],cEl=[...uEl,"devRun"],uDr=O.enum(cEl),ZLd=O.enum(["addedColumn","addedTable","alteredColumn","alteredTable","clonedTable","deletedColumn","deletedTable","renamedColumn"]),sOi=O.coerce.number().int(),aOi=O.object({toWorkspaceID:O.coerce.number().int(),environmentID:iC.optional(),deployCommit:O.string(),deployCommitMessage:O.string().optional(),fromWorkspaceData:O.object({}).optional(),dividedStepDataWithWorkspaceEdits:O.object({}).optional(),stepsInRun:O.number().int().optional(),parallelism:O.number().int().optional(),canceled:O.boolean().optional()}).strict(),lOi=O.object({environmentID:iC,workspaceID:O.number().int().optional(),allStepsForRefresh:O.array(O.string()).optional(),refreshDescription:O.string().optional(),stepsInRun:O.number().int().optional(),jobID:sOi.optional(),includeNodesSelector:O.string().optional(),excludeNodesSelector:O.string().optional(),forceIgnoreWorkspaceStatus:RS.optional(),parallelism:O.number().int().optional(),canceled:O.boolean().optional(),executor:O.string().optional()}).strict(),uOi=["create","run"],dEl=O.enum(uOi),cOi=["Node Metadata Spec",...uOi,"select"],ezd=O.enum(cOi),pEl=O.record(O.number()).nullable(),dOi=O.object({canceled:RS.default(!1),environmentID:O.string(),operationType:dEl,isPreview:O.boolean(),multisourceIndexLookup:pEl,jobID:sOi.optional(),includeNodesSelector:O.string().optional(),excludeNodesSelector:O.string().optional(),parallelism:O.number().int(),stepsInRun:O.number().int().nullable().optional()}).strict(),tzd=O.union([aOi,dOi,lOi]),rOi=3,fEl=["API","UI","CLI","fivetranAPI"],AEl=O.enum(fEl),cDr=xfe.extend({runHeartbeat:O.coerce.date().optional(),runEndTime:O.coerce.date().optional(),runStartTime:O.coerce.date().optional(),runStatus:lEl,runType:uDr,userID:O.string().optional(),runHistory:O.array(O.coerce.number().int()).default([]).optional(),runFailureReason:O.string().optional(),runTimeParameters:O.any().nullable().optional(),reRunID:O.string().optional(),kubernetesJobUuid:O.string().optional(),userCredentials:O.union([tOi,eOi]).nullable().optional(),origin:AEl.default("API"),version:O.literal(rOi).default(rOi)}),dDr=cDr.extend({runType:O.literal("devRun"),runDetails:dOi}).strict(),pDr=cDr.extend({runType:O.literal("deploy"),runDetails:aOi}).strict(),fDr=cDr.extend({runType:O.literal("refresh"),runDetails:lOi}).strict(),rzd=O.discriminatedUnion("runType",[dDr,pDr,fDr])});var z5t,hEl,AOi,ADr,gEl,fOi,hDr,mEl,yEl,gDr,azd,hOi=Ge(()=>{"use strict";si();oDr();Jp();z5t=L5t.omit({id:!0,queryResultExecutionIndex:!0,version:!0}).strict(),hEl=O.object({name:O.string(),isRunning:O.literal(!0)}).strict(),AOi=O.object({name:O.string(),queryResults:O.array(O.union([z5t,hEl])),isRunning:O.boolean(),renderQueryResults:z5t.optional()}).strict(),ADr=["waiting","queued","running","complete","error","skipped","canceled"],gEl=O.enum(ADr),fOi=2,hDr=["None","Error","Validated","Created","DataLoaded","Skipped"],mEl=O.enum(hDr),yEl=O.number().int(),gDr=ma.extend({dataResult:O.union([O.record(O.union([O.number(),O.string(),O.boolean()])),z5t]).nullable().optional(),name:O.string(),queryResultSequence:AOi,runExecutionSequenceID:yEl.optional(),runResultVersion:O.literal(fOi).default(fOi),runState:gEl,stepRunState:mEl,version:O.literal(2).default(2)}).strict(),azd=gDr.omit({queryResultSequence:!0}).extend({queryResultSequence:AOi.omit({queryResults:!0}).extend({queryResults:O.array(z5t)})})});var mDr,kTe,rZe,nZe,gOi=Ge(()=>{"use strict";si();Jp();ea();mDr=1,kTe=O.object({folderCounter:iC,name:O.string().default(""),steps:O.array(iC).default([]),version:O.literal(mDr).default(mDr)}),rZe=xr("SubgraphCore",$o(kTe)),nZe=ma.merge(kTe.strict())});var EEl,bEl,CEl,yDr,iZe,mOi=Ge(()=>{"use strict";si();Jp();EEl=O.enum(["SSO","normal"]),bEl=["Admin","User"],CEl=O.enum(bEl),yDr=1,iZe=ma.extend({firstName:O.string(),lastName:O.string(),role:CEl,currentTeam:O.string(),email:O.string(),password:O.string().optional(),accountType:EEl.optional().default("normal"),hasSuperUserAccess:O.boolean().optional(),hasProvisioningAccess:O.boolean().optional(),activated:O.boolean().optional(),authDisabled:O.boolean().optional(),deleted:O.boolean().optional(),version:O.literal(yDr).default(yDr)}).strict()});var oZe,EDr,bDr,IEl,vEl,yOi,EOi=Ge(()=>{"use strict";si();Jp();oZe=O.enum(["admin","contributor","member"]),EDr=O.enum(["admin","architect","contributor","member"]),bDr=O.enum(["admin","reader"]),IEl=O.object({environmentRoles:O.array(bDr)}).strict(),vEl=O.object({projectRoles:O.array(EDr),environments:O.record(IEl)}).strict(),yOi=ma.extend({organizationRoles:O.array(oZe),projects:O.record(vEl)}).strict()});var _El,xEl,q5t,CDr,IDr,TEl,Izd,bOi=Ge(()=>{"use strict";si();Jp();ea();_El=O.enum(["Basic","OAuth","KeyPair","Cloud"]),xEl=O.object({userID:O.string(),user:O.string(),role:O.string().optional(),warehouse:O.string().optional(),keyPair:O.string().optional()}).strict(),q5t=1,CDr=ma.extend({connectionType:_El,connectionDetails:xEl,version:O.literal(q5t).default(q5t),connectionKind:O.literal("snowflake").optional()}).strict(),IDr=ma.extend({connectionType:O.union([O.literal("Cloud"),O.literal("Token")]),connectionDetails:O.object({path:O.string(),userID:O.string()}),version:O.literal(q5t).default(q5t),connectionKind:O.literal("databricks")}).strict(),TEl=O.union([CDr,IDr]),Izd=xr("WorkspaceUser",$o(TEl))});var SEl,COi,OEl,U5t,wEl,QTe,vDr,IOi,vOi,_Oi,Rzd,xOi=Ge(()=>{"use strict";si();Jp();F5t();C5t();ea();J8r();SEl=O.object({backgroundColor:O.string().optional(),textColor:O.string().optional()}).strict(),COi=["Refreshing","Failed Deploy","Failed Refresh","Deploying","Waiting","Initializing","Deleting"],OEl=O.enum(COi),U5t=O.record(O.any()),wEl=O.string(),QTe=2,vDr=xfe.extend({createdBy:O.string(),createdAt:b5t,name:O.string(),oauthEnabled:O.boolean().default(!1),runTimeParameters:wEl.optional(),status:OEl,connectionAccount:O.string().optional(),accessUrl:O.string().nullable().default(null),currentGitBranch:O.string().optional(),currentGitCommit:O.string().nullable().optional(),currentGitURL:O.string().optional(),currentlyRunningJobs:O.array(O.number().int()).optional(),currentlyRunningDevJobs:O.array(O.number().int()).optional(),lastCommit:O.string().nullable().optional(),description:O.string().optional(),devEnv:O.boolean().default(!1),oauthClientID:O.string().optional(),oauthClientSecret:O.string().optional(),platformKind:MS.optional()}),IOi=vDr.extend({mappingsV1:ySi,defaultStorageMapping:O.string().nullable().optional(),deployedWorkspaces:O.record(O.object({})).optional(),tagColors:SEl,project:O.string(),version:O.literal(QTe).default(QTe)}).strict(),vOi=O.number(),_Oi=IOi.omit({createdAt:!0,createdBy:!0}),Rzd=xr("Workspace",$o(IOi))});var TOi=Ge(()=>{"use strict";W$e()});var no=Ge(()=>{"use strict";Jp();C5t();wTi();MTi();PTi();pSi();ASi();gSi();J8r();PSi();Y8r();K$e();LSi();USi();O5t();HSi();F5t();KSi();$Si();oDr();N5t();pOi();hOi();aDr();sDr();gOi();mOi();EOi();bOi();xOi();TOi()});var a3l,l3l,cZe=Ge(()=>{zde();zde();a3l="firebase",l3l="10.10.0";zd.registerVersion(a3l,l3l,"app-compat")});var WOi=C((zqd,K5t)=>{var u3l=require("fs"),GOi=require("path"),c3l=require("os"),d3l=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function p3l(r){let t={},n=r.toString();n=n.replace(/\r\n?/mg,`
282
282
  `);let i;for(;(i=d3l.exec(n))!=null;){let o=i[1],s=i[2]||"";s=s.trim();let a=s[0];s=s.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),a==='"'&&(s=s.replace(/\\n/g,`
283
283
  `),s=s.replace(/\\r/g,"\r")),t[o]=s}return t}function BDr(r){console.log(`[dotenv][DEBUG] ${r}`)}function f3l(r){return r[0]==="~"?GOi.join(c3l.homedir(),r.slice(1)):r}function A3l(r){let t=GOi.resolve(process.cwd(),".env"),n="utf8",i=!!(r&&r.debug),o=!!(r&&r.override);r&&(r.path!=null&&(t=f3l(r.path)),r.encoding!=null&&(n=r.encoding));try{let s=V5t.parse(u3l.readFileSync(t,{encoding:n}));return Object.keys(s).forEach(function(a){Object.prototype.hasOwnProperty.call(process.env,a)?(o===!0&&(process.env[a]=s[a]),i&&BDr(o===!0?`"${a}" is already defined in \`process.env\` and WAS overwritten`:`"${a}" is already defined in \`process.env\` and was NOT overwritten`)):process.env[a]=s[a]}),{parsed:s}}catch(s){return i&&BDr(`Failed to load ${t} ${s.message}`),{error:s}}}var V5t={config:A3l,parse:p3l};K5t.exports.config=V5t.config;K5t.exports.parse=V5t.parse;K5t.exports=V5t});var Gqd,HOi=Ge(()=>{pbt();Oj();H4();GT();Gqd=ht(ape(),1);Fde()});var YOi=Ge(()=>{HOi()});var VOi,tm,h3l,KOi,$w=Ge(()=>{"use strict";si();ea();VOi=(Q=>(Q.steps="steps",Q.folders="folders",Q.jobs="jobs",Q.macros="macros",Q.templates="templates",Q.userConnections="users",Q.packagesOld="packages",Q.usersAdmin="usersAdmin",Q.orgs="orgs",Q.orgsPublic="orgsPublic",Q.mappings="mappings",Q.runtimeParameters="runtimeParameters",Q.workspaces="workspaces",Q.projects="projects",Q.globalUsersSettings="globalUsersSettings",Q.gitRepos="gitRepos",Q.devRuns="devRuns",Q.packageNamespaces="packageNamespaces",Q.packagesRegistry="packagesRegistry",Q.installedPackages="installedPackages",Q.packageReleases="releases",Q))(VOi||{}),tm=VOi,h3l=Tc({auth:xo(),firestore:xo(),storage:xo()}),KOi=xr("FirebaseEmulatorInfo",h3l)});var m3l,y3l,MDr,DDr,E3l,NDr,PDr,kDr,JOi,Zqd,b3l,eUd,qTe,k8=Ge(()=>{"use strict";no();si();m3l=O.object({nullable:O.boolean().optional(),dataType:O.string().optional(),description:O.string().optional(),name:O.string()}),y3l=O.object({name:O.string(),dataType:O.string(),nullable:O.boolean(),description:O.string(),defaultValue:O.string().optional()}),MDr=O.object({addedColumns:O.array(y3l)}),DDr=O.object({alteredColumns:O.array(m3l)}),E3l=O.object({name:O.string()}),NDr=O.object({deletedColumns:O.array(E3l)}),PDr=O.object({oldName:O.string(),oldLocation:O.string()}),kDr=O.object({oldColumn:EZ,newColumn:EZ}),JOi=[PDr,NDr,DDr,MDr,kDr],Zqd=O.union(JOi),b3l=[...JOi,R5t,O.object({})],eUd=O.union(b3l),qTe=(i=>(i.addedTable="addedTable",i.alteredTable="alteredTable",i.deletedTable="deletedTable",i))(qTe||{})});var C3l,XOi,J5t,$Oi,X5t,I3l,v3l,$5t,iUd,CZ=Ge(()=>{"use strict";si();ea();C3l=["step","job","graph","subgraph","columnGraph","buildSettings","workspaceSettings","templateEditor"],XOi=O.object({tabID:O.string(),tabType:O.enum(C3l),lastOpenedTimestamp:O.coerce.date().optional()}),J5t=O.string(),$Oi=O.string(),X5t=O.string(),I3l=Tc({filePath:xo(),fileData:xo()}),v3l=xr("FileReadResult",I3l),$5t=O.object({x:O.number(),y:O.number(),initialX:O.number().optional(),initialY:O.number().optional()}),iUd=O.object({x:O.number().int(),y:O.number().int()})});var Z5t,x3l,dZe,ZOi,T3l,S3l,O3l,w3l,e5i,t5i,R3l,QDr,ewt,lUd,uUd,Bfe=Ge(()=>{"use strict";si();CZ();no();Z5t=O.object({stepCounter:J5t,columnCounter:X5t}),x3l=O.object({columnReferences:O.array(Z5t),transform:O.string()}),dZe=(i=>(i.sha1="SHA1",i.sha256="SHA256",i.md5="MD5",i))(dZe||{}),ZOi=["HubHash","LinkHash","ChangeHash","Hash","None"],T3l=O.object({hashAlgorithm:O.nativeEnum(dZe),hashType:O.enum(ZOi).optional(),hubHashes:O.array(Z5t).optional()}),S3l=O.array(O.object({stepCounter:O.string(),columnCounter:O.string()})).optional(),O3l=O.record(O.string(),O.boolean()),w3l=O.object({strictMatch:O.boolean(),values:O.array(O.string())}),e5i=O.object({defaultValue:O.string().optional(),nullable:O.boolean(),name:O.string(),dataType:O.string(),description:O.string(),columnReference:Z5t,sourceColumnReferences:O.array(x3l).optional(),systemColumnType:$8r.optional(),keyColumnType:Z8r.optional(),isBusinessKey:O.boolean().optional(),isChangeTracking:O.boolean().optional(),primaryKey:O.boolean().optional(),uniqueKey:O.boolean().optional(),hashDetails:O.optional(T3l).nullable(),hashedColumns:O.optional(S3l),isSurrogateKey:O.boolean().optional(),config:O.any().optional(),appliedColumnTests:O.optional(O3l),acceptedValues:O.optional(w3l),transform:O.string().optional(),descendedFrom:O.enum(ZOi).optional(),hashColumns:O.array(Z5t).optional(),columnsForHash:O.array(O.string()).optional()}),t5i=O.object({tableName:O.string().nullable(),columnName:O.string()}),R3l=["hasNull","isDistinct","acceptedValues"],QDr={fail:"Test failed - records matching fail condition were returned",failCOF:'Test failed with "Continue on Failure" option disabled'},ewt=O.object({name:O.string(),description:O.string(),continueOnFailure:O.boolean(),runOrder:O.enum(["Before","After"])}),lUd=ewt.extend({templateString:O.string()}),uUd=ewt.extend({attributes:O.object({}),columnTestDefinitionID:O.union([O.enum(R3l),O.string()]),getTemplateString:O.function(O.tuple([EZ]),O.string())})});var B3l,M3l,D3l,r5i,N3l,n5i,FDr,LDr,P3l,i5i,hUd,gUd,zDr,k3l,Q3l,UTe,o5i,mUd,qDr,F3l,yUd,ck,twt,EUd,pZe=Ge(()=>{"use strict";si();Bfe();no();ea();B3l=O.object({algorithm:O.enum(["MD5","SHA1","SHA256"]),columns:O.array(O.any())}),M3l=O.object({database:O.string(),schema:O.string(),name:O.string()}),D3l=O.array(M3l),r5i=O.object({enabled:O.boolean(),script:O.string()}),N3l=O.object({create:r5i,run:r5i.optional()}),n5i=ewt.extend({templateString:O.string()}),FDr=O.object({id:O.string(),name:O.string(),location:O.object({name:O.string()}),description:O.string(),materializationType:O.string(),isMultisource:O.boolean(),override:N3l,nodeType:O.union([O.enum(eDr),O.string()]),tests:O.array(n5i)}),LDr=O.object({id:O.string(),name:O.string(),dataType:O.string(),description:O.string(),nullable:O.union([O.string(),O.boolean()]),defaultValue:O.any(),config:O.record(O.any()).optional(),tests:O.array(n5i),isBusinessKey:O.boolean().optional(),isSurrogateKey:O.boolean().optional(),isChangeTracking:O.boolean().optional(),isSystemCreateDate:O.boolean().optional(),isSystemUpdateDate:O.boolean().optional(),isSystemRecordSource:O.boolean().optional(),columnsForHash:O.array(O.string()).optional(),hashDetails:B3l.optional(),isHubHash:O.boolean().optional(),isChangeHash:O.boolean().optional(),isLinkHash:O.boolean().optional(),isHash:O.boolean().optional()}),P3l=O.object({node:FDr,column:LDr}),i5i=LDr.extend({transform:O.string(),sourceColumns:O.union([O.array(P3l),O.array(O.record(O.any()))])}),hUd=xr("MultiSourceColumn",i5i),gUd=O.record(O.union([O.boolean(),O.undefined()])),zDr=LDr.catchall(O.union([O.boolean(),O.undefined()])),k3l=O.object({node:FDr,columns:zDr}),Q3l=O.object({name:O.string(),columns:O.array(i5i),join:O.string(),customSQL:O.string(),dependencies:O.array(O.union([k3l,O.record(O.any())]))}),UTe=O.object({columns:O.array(zDr),storageLocations:D3l,config:O.record(O.any()),sources:O.union([O.array(Q3l),O.null()]),node:FDr,this:O.string(),parameters:U5t}),o5i=UTe.extend({column:zDr}),mUd=Z$e.merge(UTe),qDr=O.object({currentState:O.union([UTe,O.undefined()]),desiredState:O.union([UTe,O.undefined()]),currentMapping:O.union([P5t,O.undefined()]),desiredMapping:O.union([P5t,O.undefined()])}),F3l=xr("AdvancedHydratedMetadata",qDr),yUd=O.union([qDr,UTe]),ck=Z$e.merge(UTe),twt=Z$e.merge(qDr),EUd=O.union([ck,twt])});var IZ,dk,s5i,a5i,UDr,l5i,u5i,c5i,L3l,d5i,LUd,zUd,z3l,qUd,p5i,q3l,U3l,rwt,nwt,Zw=Ge(()=>{"use strict";si();k8();no();pZe();ea();IZ="select 1 as coalesce_test",dk={None:null,sysCreateDate:"isSystemCreateDate",sysUpdateDate:"isSystemUpdateDate",sysStartDate:"isSystemStartDate",sysEndDate:"isSystemEndDate",sysVersion:"isSystemVersion",sysCurrentFlag:"isSystemCurrentFlag"},s5i={[dk.sysCreateDate]:"sysCreateDate",[dk.sysUpdateDate]:"sysUpdateDate",[dk.sysStartDate]:"sysStartDate",[dk.sysEndDate]:"sysEndDate",[dk.sysVersion]:"sysVersion",[dk.sysCurrentFlag]:"sysCurrentFlag"},a5i={isChangeTracking:"isChangeTracking",isSurrogateKey:"isSurrogateKey",isBusinessKey:"isBusinessKey",none:"None"},UDr={isBusinessKey:"primaryBusinessKey",isSurrogateKey:"surrogateKey"},l5i=r=>!!(typeof r=="object"&&r!==null&&"items"in r&&Array.isArray(r.items)),u5i=r=>r.hasOwnProperty("stepCounter"),c5i=O.object({templateString:O.string(),macrosString:O.string(),runTimeParameters:U5t.optional(),packages:F8r,renderDepth:O.number().optional(),formatSQL:O.boolean().optional()}).strict(),L3l=c5i.extend({nodeMetadata:o5i}),d5i=c5i.extend({nodeMetadata:O.union([ck.strict(),twt.strict()])}).strict(),LUd=xr("RenderNodeParams",d5i),zUd=O.union([d5i,L3l]),z3l=O.union([ck.merge(PDr),ck.merge(NDr),ck.merge(DDr),ck.merge(MDr),ck.merge(kDr),ck.merge(R5t),ck.merge(O.object({})),twt]),qUd=xr("RenderDeployNodeMetadata",z3l),p5i=r=>r.toWorkspaceID!==void 0,q3l=r=>r.environmentID!==void 0&&!U3l(r),U3l=r=>r.operationType!==void 0,rwt=r=>{if(!r?.runType||!r?.runDetails)throw new Error("Run info has invalid run type or run details!");let t=r.runType==="refresh";if(t&&!q3l(r.runDetails))throw new Error(`Refresh run ${r.id||r.reRunID} info has invalid run details!`);return t},nwt=r=>!!r.reRunID});var G3l,jTe,jDr,Xp,GDr,f5i,W3l,WDr,th=Ge(()=>{"use strict";Cd();lr();Zw();lr();$xr();({TIMING_UTILS:G3l}=st),jTe=r=>new Promise(t=>setTimeout(t,r)),jDr=(r,t,n,i,...o)=>{let s=performance.now(),a=i();return t(n,r,"total elapsed time: ",performance.now()-s,...o),a},Xp=async(r,t,n,i,o="debugContext",...s)=>{let a=st[n];a[o](t,r,"starting");let l=performance.now();try{return await i()}catch(c){let{error:{errorString:u,errorDetail:d}}=Hc(c);throw a.errorContext(t,r,`
284
284
  rejected with an error: `,u,d),c}finally{let c=performance.now();a[o](t,r,`
@@ -295,7 +295,7 @@ status: ${s.status} ${s.statusText}
295
295
  cause:
296
296
  ${p.error.message}
297
297
  received:
298
- ${JSON.stringify(s.data,null,2)}`,o,s.data,p.error);PRi(t)&&(s.data=p.data)}return s}:void 0}}function FRi(r){let t=new Set;for(let i of r){let o=`${i.method} ${i.path}`;if(t.has(o))throw new Error(`Zodios: Duplicate path '${o}'`);t.add(o)}let n=new Set;for(let i of r)if(i.alias){if(n.has(i.alias))throw new Error(`Zodios: Duplicate alias '${i.alias}'`);n.add(i.alias)}for(let i of r)if(i.parameters&&i.parameters.filter(o=>o.type==="Body").length>1)throw new Error(`Zodios: Multiple body parameters in endpoint '${i.path}'`)}function LRi(r){return FRi(r),r}var uvl,sSe,pvl,Avl,QRi,mvl,Z9r,eNr=Ge(()=>{x9r();uvl=/:([a-zA-Z_][a-zA-Z0-9_]*)/g;sSe=class extends Error{constructor(r,t,n,i){super(r),this.config=t,this.data=n,this.cause=i}},pvl={name:"form-data",request:async(r,t)=>{if(typeof t.data!="object"||Array.isArray(t.data))throw new sSe("Zodios: multipart/form-data body must be an object",t);let n=dvl(t.data);return{...t,data:n.data,headers:{...t.headers,...n.headers}}}};Avl={name:"form-url",request:async(r,t)=>{if(typeof t.data!="object"||Array.isArray(t.data))throw new sSe("Zodios: application/x-www-form-urlencoded body must be an object",t);return{...t,data:new URLSearchParams(t.data).toString(),headers:{...t.headers,"Content-Type":"application/x-www-form-urlencoded"}}}};QRi=class{constructor(r,t){this.plugins=[],this.key=`${r}-${t}`}indexOf(r){return this.plugins.findIndex(t=>t?.name===r)}use(r){if(r.name){let t=this.indexOf(r.name);if(t!==-1)return this.plugins[t]=r,{key:this.key,value:t}}return this.plugins.push(r),{key:this.key,value:this.plugins.length-1}}eject(r){if(typeof r=="string"){let t=this.indexOf(r);if(t===-1)throw new Error(`Plugin with name '${r}' not found`);this.plugins[t]=void 0}else{if(r.key!==this.key)throw new Error(`Plugin with key '${r.key}' is not registered for endpoint '${this.key}'`);this.plugins[r.value]=void 0}}async interceptRequest(r,t){let n=t;for(let i of this.plugins)i!=null&&i.request&&(n=await i.request(r,n));return n}async interceptResponse(r,t,n){let i=n;for(let o=this.plugins.length-1;o>=0;o--){let s=this.plugins[o];s&&(i=i.then(s!=null&&s.response?a=>s.response(r,t,a):void 0,s!=null&&s.error?a=>s.error(r,t,a):void 0))}return i}count(){return this.plugins.reduce((r,t)=>t?r+1:r,0)}};mvl=class{constructor(r,t,n){this.endpointPlugins=new Map;let i;if(!r)throw Array.isArray(t)?new Error("Zodios: missing base url"):new Error("Zodios: missing api description");let o;if(typeof r=="string"&&Array.isArray(t))o=r,this.api=t,i=n||{};else if(Array.isArray(r)&&!Array.isArray(t))this.api=r,i=t||{};else throw new Error("Zodios: api must be an array");FRi(this.api),this.options={validate:!0,transform:!0,sendDefaults:!1,...i},this.options.axiosInstance?this.axiosInstance=this.options.axiosInstance:this.axiosInstance=kfe.create({...this.options.axiosConfig}),o&&(this.axiosInstance.defaults.baseURL=o),this.injectAliasEndpoints(),this.initPlugins(),[!0,"all","request","response"].includes(this.options.validate)&&this.use(gvl(this.options))}initPlugins(){this.endpointPlugins.set("any-any",new QRi("any","any")),this.api.forEach(r=>{let t=new QRi(r.method,r.path);switch(r.requestFormat){case"binary":t.use(NRi("Content-Type","application/octet-stream"));break;case"form-data":t.use(fvl());break;case"form-url":t.use(hvl());break;case"text":t.use(NRi("Content-Type","text/plain"));break}this.endpointPlugins.set(`${r.method}-${r.path}`,t)})}getAnyEndpointPlugins(){return this.endpointPlugins.get("any-any")}findAliasEndpointPlugins(r){let t=this.api.find(n=>n.alias===r);if(t)return this.endpointPlugins.get(`${t.method}-${t.path}`)}findEnpointPlugins(r,t){return this.endpointPlugins.get(`${r}-${t}`)}get baseURL(){return this.axiosInstance.defaults.baseURL}get axios(){return this.axiosInstance}use(...r){if(typeof r[0]=="object")return this.getAnyEndpointPlugins().use(r[0]);if(typeof r[0]=="string"&&typeof r[1]=="object"){let t=this.findAliasEndpointPlugins(r[0]);if(!t)throw new Error(`Zodios: no alias '${r[0]}' found to register plugin`);return t.use(r[1])}else if(typeof r[0]=="string"&&typeof r[1]=="string"&&typeof r[2]=="object"){let t=this.findEnpointPlugins(r[0],r[1]);if(!t)throw new Error(`Zodios: no endpoint '${r[0]} ${r[1]}' found to register plugin`);return t.use(r[2])}throw new Error("Zodios: invalid plugin registration")}eject(r){var t;if(typeof r=="string"){this.getAnyEndpointPlugins().eject(r);return}(t=this.endpointPlugins.get(r.key))==null||t.eject(r)}injectAliasEndpoints(){this.api.forEach(r=>{r.alias&&(["post","put","patch","delete"].includes(r.method)?this[r.alias]=(t,n)=>this.request({...n,method:r.method,url:r.path,data:t}):this[r.alias]=t=>this.request({...t,method:r.method,url:r.path}))})}async request(r){let t=r,n=this.getAnyEndpointPlugins(),i=this.findEnpointPlugins(t.method,t.url);t=await n.interceptRequest(this.api,t),i&&(t=await i.interceptRequest(this.api,t));let o=this.axiosInstance.request({...lvl(t,["params","queries"]),url:cvl(t),params:t.queries});return i&&(o=i.interceptResponse(this.api,t,o)),o=n.interceptResponse(this.api,t,o),(await o).data}async get(r,...[t]){return this.request({...t,method:"get",url:r})}async post(r,t,...[n]){return this.request({...n,method:"post",url:r,data:t})}async put(r,t,...[n]){return this.request({...n,method:"put",url:r,data:t})}async patch(r,t,...[n]){return this.request({...n,method:"patch",url:r,data:t})}async delete(r,t,...[n]){return this.request({...n,method:"delete",url:r,data:t})}},Z9r=mvl});function uBi(r,t){return new Z9r(r,lBi,t)}var yvl,GRi,Ve,WRi,qfe,HRi,nNr,YRi,VRi,rNr,Evl,bvl,Cvl,Ivl,vvl,KRi,_vl,JRi,xvl,Tvl,RZe,zRi,XRi,Svl,Ovl,wvl,iNr,Rvl,Bvl,$Ri,Mvl,Dvl,Nvl,Pvl,kvl,oNr,Qvl,Fvl,Lvl,Qwt,sNr,zvl,ZRi,gYd,tNr,qRi,eBi,aNr,tBi,rBi,qvl,Uvl,jvl,Gvl,Wvl,Hvl,Yvl,nBi,iBi,Vvl,Kvl,Jvl,Xvl,$vl,Zvl,e4l,t4l,oBi,r4l,n4l,URi,i4l,o4l,s4l,a4l,l4l,u4l,c4l,mYd,yYd,EYd,bYd,d4l,CYd,p4l,IYd,vYd,f4l,A4l,_Yd,h4l,g4l,m4l,y4l,lNr,E4l,b4l,C4l,I4l,sBi,v4l,_4l,jRi,aBi,xYd,TYd,SYd,x4l,T4l,OYd,wYd,lBi,RYd,cBi=Ge(()=>{"use strict";eNr();si();yvl=O.object({idToken:O.string(),accessToken:O.string(),orgID:O.string()}),GRi=O.object({errorString:O.string().describe("The error message."),errorDetail:O.string().describe("Additional detail about the error.").optional()}),Ve=O.object({error:GRi}).passthrough(),WRi=O.object({backgroundColor:O.string(),textColor:O.string()}).partial(),qfe=O.object({id:O.string().describe("The user ID."),firstName:O.string().describe("User first name.").optional(),lastName:O.string().describe("User last name.").optional(),email:O.string().optional(),accountType:O.enum(["SSO","normal"]).optional()}),HRi=O.enum(["Deleting","Deploying","Failed Deploy","Failed Refresh","Initializing","Refreshing","Waiting"]),nNr=O.enum(["snowflake","databricks"]),YRi=O.object({connectionAccount:O.string().describe("The Snowflake account name.").optional(),defaultStorageMapping:O.string().nullish(),description:O.string().describe("The Workspace description.").optional(),name:O.string().describe("The Workspace name."),oauthEnabled:O.boolean().describe("If Snowflake OAuth is enabled."),tagColors:WRi.describe("The tag color from the Environment settings.").optional(),project:O.string().describe("The Project ID."),createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),updatedAt:O.string().datetime({offset:!0}),currentGitBranch:O.string().describe("The branch most recently run on this environment.").optional(),currentGitCommit:O.string().optional(),currentGitURL:O.string().optional(),currentlyRunningJobs:O.array(O.number()).describe("An array of any running Jobs. If there are not Jobs running, this will return empty.").optional(),id:O.string(),deployedCommit:O.string().describe("The most recently deployed commit ID.").optional(),status:HRi,platformKind:nNr.optional()}).passthrough(),VRi=O.record(O.object({database:O.string().describe("The Snowflake database name."),schema:O.string().describe("The database schema.")}).partial().passthrough()),rNr=YRi.and(O.object({runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here.").optional(),currentMappings:VRi.describe("The Storage Mapping name.").optional()}).passthrough()),Evl=O.enum(["Deleting","Deploying","Failed Deploy","Failed Dev Run","Failed Refresh","Initializing","Refreshing","Running Dev Run","Waiting"]),bvl=O.object({createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),id:O.string().describe("The Environment ID."),name:O.string().describe("Name of the Environment."),project:O.string().describe("The Project ID."),status:Evl}),Cvl=O.object({data:O.union([O.array(rNr),O.array(bvl)]).describe("A collection of environment information.")}).passthrough(),Ivl=O.object({connectionAccount:O.string().describe("The Snowflake account name.").optional(),defaultStorageMapping:O.string().nullish(),description:O.string().describe("The Environment description.").optional(),name:O.string().describe("The Environment name."),oauthEnabled:O.boolean().describe("If Snowflake OAuth is enabled."),runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here.").optional(),tagColors:WRi.describe("The tag color from the Environment settings.").optional(),project:O.string()}).passthrough(),vvl=Ivl.and(O.object({mappings:VRi.describe("The Storage Mapping name.")}).partial().passthrough()),KRi=O.union([O.enum(["Dimension","Fact","Hub","Link","Satellite","Source","Stage","View","persistentStage"]),O.string()]),_vl=O.object({database:O.string().describe("The Snowflake database name."),id:O.string().describe("The Coalesce Node ID."),locationName:O.string().describe("The Storage Mapping location."),name:O.string().describe("The Node name."),nodeType:KRi,schema:O.string().describe("The database schema name.")}).passthrough(),JRi=O.object({database:O.string().describe("The Snowflake database name."),description:O.string().describe("The Node description."),id:O.string().describe("The Node ID."),locationName:O.string().describe("The Storage Mapping location."),name:O.string().describe("The Node name."),nodeType:KRi,schema:O.string().describe("The Snowflake schema name.")}).passthrough(),xvl=JRi,Tvl=JRi,RZe=O.union([xvl,Tvl]),zRi=O.object({data:O.union([O.array(_vl),O.array(RZe)]).describe("A collection of nodes for an environment.")}).passthrough(),XRi=O.object({id:O.string().describe("The Job ID."),name:O.string().describe("The Job name."),includeSelector:O.string().describe("A selector string of nodes to include."),excludeSelector:O.string().describe("A selector string of nodes to exclude."),createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0})}).passthrough(),Svl=O.object({platformKind:nNr.optional(),description:O.string().optional(),gitRepoURL:O.string().optional(),name:O.string()}).passthrough(),Ovl=O.enum(["active","deleted"]),wvl=O.object({id:O.string(),name:O.string(),project:O.string().describe("The Project ID."),status:HRi,createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0}),jobs:O.array(XRi).optional()}).passthrough(),iNr=Svl.and(O.object({createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),updatedAt:O.string().datetime({offset:!0}),updatedBy:qfe.describe("Summary information about a user.").optional(),id:O.string(),status:Ovl,workspaces:O.array(wvl).optional()}).passthrough()),Rvl=O.object({data:O.array(iNr).describe("A collection of project information.")}).passthrough(),Bvl=O.object({data:iNr.describe("A project groups environments and workspaces for easier management and access control.")}).passthrough(),$Ri=O.object({id:O.string(),name:O.string(),createdAtUtc:O.string().datetime({offset:!0}),updatedAtUtc:O.string().datetime({offset:!0}),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable").optional()}).passthrough(),Mvl=O.object({data:O.array($Ri).describe("A collection of project information.")}).passthrough(),Dvl=O.object({data:$Ri}).passthrough(),Nvl=O.object({id:O.string(),projectId:O.string(),name:O.string(),createdAtUtc:O.string().datetime({offset:!0}),updatedAtUtc:O.string().datetime({offset:!0}),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable")}).partial().passthrough(),Pvl=O.object({data:O.array(Nvl).describe("A collection of job information.")}).passthrough(),kvl=O.enum(["SCHEDULING","RUNNING","SUCCEEDED","TERMINATING","FAILED"]),oNr=O.object({id:O.string(),jobId:O.string(),status:kvl.describe("Possible statuses of jobs"),startedAtUtc:O.string().datetime({offset:!0}).nullable(),endedAtUtc:O.string().datetime({offset:!0}).nullable(),logs:O.array(O.string()),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable")}).partial().passthrough(),Qvl=O.object({data:oNr}).passthrough(),Fvl=O.literal("Triggered by Fivetran"),Lvl=O.object({cause:Fvl.describe("Possible run cause")}).passthrough(),Qwt=O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough(),sNr=O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough(),zvl=O.object({organizationRoles:O.array(O.string()).describe("The organization roles assigned to the user."),projects:O.record(sNr).describe("A dictionary of project role assignments keyed by project ID.")}).passthrough(),ZRi=zvl.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),gYd=O.array(ZRi),tNr=O.object({updatedBy:O.string().optional(),updatedAt:O.string().datetime({offset:!0}).optional(),name:O.string(),publisherID:O.string(),description:O.string(),org:O.string(),latestRelease:O.string(),overview:O.string(),featured:O.boolean(),tags:O.array(O.string()),certified:O.boolean(),packageID:O.string(),id:O.string()}).passthrough(),qRi=O.object({createdBy:O.string(),createdAt:O.string().datetime({offset:!0}),updatedBy:O.string().optional(),updatedAt:O.string().datetime({offset:!0}).optional(),version:O.string(),changeLog:O.string(),releaseID:O.string(),storagePath:O.string(),privacy:O.enum(["public","private","unlisted"])}).passthrough(),eBi=O.object({changeLog:O.string(),version:O.string(),certified:O.boolean().optional()}).passthrough(),aNr=O.lazy(()=>O.object({packageID:O.string().min(1),alias:O.string(),version:O.string(),releaseID:O.string().min(1),macros:O.string(),dependencies:O.record(aNr)}).passthrough()),tBi=O.object({name:O.string(),version:O.number(),id:O.string(),isDisabled:O.boolean(),metadata:O.object({}).partial().passthrough()}).passthrough(),rBi=O.object({dependencies:O.record(aNr),nodeTypes:O.record(tBi),macros:O.string()}).passthrough(),qvl=O.object({release:eBi.describe("Package release information for a create operation."),name:O.string(),description:O.string(),overview:O.string().max(200).optional(),privacy:O.enum(["public","private","unlisted"]),entities:rBi.describe("Entities that are part of a package release."),packageVariables:O.string()}).passthrough(),Uvl=O.object({release:eBi.describe("Package release information for a create operation."),privacy:O.enum(["public","private","unlisted"]),entities:rBi.describe("Entities that are part of a package release."),packageVariables:O.string(),packageID:O.string().min(1)}).passthrough(),jvl=O.object({packageID:O.string().min(1),releaseID:O.string().min(1),changeLog:O.string().optional(),description:O.string().optional(),privacy:O.enum(["public","private","unlisted"]).optional()}).passthrough(),Gvl=O.object({typesenseKey:O.string().describe("The Typesense access key scoped to a users org."),typesenseHosts:O.array(O.string()).describe("The Typesense host address(es) for our cluster(s).")}).passthrough(),Wvl=O.union([O.number(),O.string()]).describe("The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.").optional(),Hvl=O.enum(["asc","desc"]),Yvl=O.enum(["id","runStartTime","runEndTime"]),nBi=O.enum(["deploy","refresh"]),iBi=O.enum(["canceled","completed","failed","initializing","rendering","running","waitingToRun"]),Vvl=O.object({id:O.number().int().describe("The run ID."),reRunID:O.string().describe("If this is a re-run, the ID of the original operation.").optional(),runStartTime:O.string().datetime({offset:!0}).describe("The datetime the run started.").optional(),runEndTime:O.string().datetime({offset:!0}).describe("The datetime the run ended.").optional(),runType:nBi.describe("A run type to filter the query results."),runStatus:iBi.describe("A status value to filter the query results."),environmentID:O.string().describe("The environment in which the run operation was applied.").optional(),runFailureReason:O.string().describe("Information about the cause of a run failure.").optional()}).passthrough(),Kvl=O.object({canceled:O.boolean().describe("If the run was canceled.").optional(),deployCommit:O.string().describe("The full commit hash."),deployCommitMessage:O.string().describe("The commit message.").optional(),environmentID:O.string().describe("The Environment ID for this run."),parallelism:O.number().int().describe("The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.").optional(),nodesInRun:O.number().int().describe("The number of Nodes deployed.").optional()}),Jvl=O.object({canceled:O.boolean().describe("If the run was canceled.").optional(),environmentID:O.string().describe("The Environment ID for this run."),excludeNodesSelector:O.string().describe("A selector string of nodes to exclude.").optional(),forceIgnoreEnvironmentStatus:O.boolean().optional(),includeNodesSelector:O.string().describe("A selector string of nodes to include.").optional(),jobID:O.number().int().describe("The Job ID.").optional(),parallelism:O.number().int().describe("The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.").optional(),refreshDescription:O.string().describe("The Job name.").optional(),nodesForRefresh:O.number().int().optional(),nodesInRun:O.number().int().describe("The number of Nodes deployed.").optional(),executor:O.string().optional()}),Xvl=O.union([Kvl,Jvl]),$vl=O.enum(["Basic","Cloud","KeyPair","OAuth"]),Zvl=O.object({snowflakeAccount:O.string(),snowflakeAuthType:$vl,snowflakeRole:O.string().optional(),snowflakeUsername:O.string(),snowflakeWarehouse:O.string().optional()}),e4l=O.enum(["Token","Cloud"]),t4l=O.object({databricksHost:O.string(),databricksAuthType:e4l,databricksPath:O.string()}),oBi=O.object({id:O.number().int(),reRunID:O.string().describe("If this is a re-run, the ID of the original operation.").optional(),runDetails:Xvl.describe("Detailed information about a run."),runEndTime:O.string().datetime({offset:!0}).describe("The datetime when the run ended.").optional(),runHistory:O.array(O.number()).optional(),runStartTime:O.string().datetime({offset:!0}).describe("The datetime the run started.").optional(),runStatus:iBi.describe("A status value to filter the query results."),runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here."),runType:nBi.describe("A run type to filter the query results."),userCredentials:O.union([Zvl,t4l]).optional(),userID:O.string().optional(),projectID:O.string(),version:O.number().int().optional()}),r4l=O.object({limit:O.number().int().describe("The maximum number of runs returned by this query."),orderByDirection:Hvl.describe("The sort order for query results."),orderBy:Yvl.describe("The field used to order results.").default("id"),data:O.union([O.array(Vvl),O.array(oBi)]).describe("A collection of runs.")}).passthrough(),n4l=O.unknown(),URi=O.object({endTime:O.string().datetime({offset:!0}).optional(),error:GRi.optional(),isRunning:O.boolean().describe("If the queried run is still running."),name:O.string().describe("The name of the Stage the query ran on."),queryID:O.string().optional(),rowsDeleted:O.number().int().optional(),rowsInserted:O.number().int().optional(),rowsUpdated:O.number().int().optional(),sql:O.string().describe("The SQL query run during the stage."),startTime:O.string().datetime({offset:!0}).optional(),status:O.string().describe("The query status."),success:O.boolean().describe("If the query results were run successfully."),warehouse:O.string().describe("Name of the warehouse.").optional()}),i4l=O.object({isRunning:O.boolean().describe("If the queried run is still running."),name:O.string(),nodeID:O.string(),runState:O.string().optional(),origin:n4l.optional(),queryResults:O.array(URi).describe("The query result returns the status of different stages such as Delete Table or Rename Table. See the queryResults name for the stage."),renderQueryResult:URi.optional()}),o4l=O.object({data:O.array(i4l).describe("A collection of run results.")}).passthrough(),s4l=O.object({apiKey:O.string(),authDomain:O.string(),projectId:O.string(),storageBucket:O.string(),messagingSenderId:O.string(),appId:O.string(),measurementId:O.string(),emulatorInfo:O.object({auth:O.string(),firestore:O.string(),storage:O.string()}).passthrough().optional()}).passthrough(),a4l=O.object({entityType:O.enum(["node","workspace","run","subgraph","job","macro","nodeType","packageOld","installedPackage"]),writeType:O.enum(["save","delete","merge"]),data:O.object({id:O.union([O.string(),O.number()]),version:O.union([O.string(),O.number()])}).passthrough()}).passthrough(),l4l=O.object({workspaceID:O.number(),writeInfo:O.array(a4l)}).passthrough(),u4l=O.object({name:O.string(),tags:O.array(O.string()),count:O.number().int()}).passthrough(),c4l=O.object({metrics:O.array(u4l)}).passthrough(),mYd=O.object({macros:O.string(),dependencies:O.record(aNr),nodeTypes:O.record(tBi)}).passthrough(),yYd=O.object({id:O.string(),version:O.string()}).passthrough(),EYd=O.object({id:O.string(),releaseID:O.string()}).passthrough(),bYd=O.string(),d4l=Qwt.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),CYd=O.array(d4l),p4l=sNr.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),IYd=O.array(p4l),vYd=O.object({data:oNr}).passthrough(),f4l=O.object({seconds:O.number(),nanoseconds:O.number()}),A4l=O.object({_seconds:O.number(),_nanoseconds:O.number()}),_Yd=O.union([f4l,A4l]),h4l=O.record(O.string()),g4l=O.record(O.boolean()),m4l=O.object({columnName:O.string(),tableName:O.string().nullable()}),y4l=O.enum(["MD5","SHA1","SHA256"]),lNr=O.object({columnID:O.string().describe("Column ID of the source column."),nodeID:O.string().describe("Node ID of the source columm.")}),E4l=O.object({hashAlgorithm:y4l,hashType:O.enum(["ChangeHash","Hash","HubHash","LinkHash","None"]).optional(),hubHashes:O.array(lNr).optional()}),b4l=O.object({columnReferences:O.array(lNr),transform:O.string().describe("Returns the SQL of any column transformations.")}),C4l=O.object({transform:O.string().describe("Returns the SQL of any column transformations.")}),I4l=O.union([b4l,C4l]),sBi=O.object({appliedColumnTests:g4l.describe("Will return `hasNull` or `isDistinct` as true or false if testing is enabled.").optional(),columnID:O.string().describe("The column ID."),columnReferences:O.array(m4l).optional(),config:O.object({}).partial().passthrough().describe("Returns any configuration options from the Node Config Tab.").optional(),dataType:O.string().describe("Column data type."),defaultValue:O.string().describe("The default column value.").optional(),description:O.string().describe("The column description."),hashDetails:E4l.optional(),hashedColumns:O.array(lNr).optional(),isBusinessKey:O.boolean().describe("Tags the column as a business key.").optional(),isChangeTracking:O.boolean().describe("Tags the column as a change tracking column in type 2 dimensions.").optional(),isSurrogateKey:O.boolean().describe("Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.").optional(),keyColumnType:O.enum(["None","primaryBusinessKey","surrogateKey"]).optional(),name:O.string().describe("The column name."),nullable:O.boolean().describe("If the column can contain null values."),primaryKey:O.boolean().describe("Tags the column as a primary key.").optional(),sources:O.array(I4l).optional(),systemColumnType:O.enum(["None","sysCreateDate","sysCurrentFlag","sysEndDate","sysStartDate","sysUpdateDate","sysVersion"]).optional(),transform:O.string().optional(),uniqueKey:O.boolean().optional()}),v4l=O.object({customSQL:O.string()}),_4l=O.object({joinCondition:O.string()}),jRi=O.object({locationName:O.string(),nodeName:O.string()}),aBi=O.object({aliases:h4l.optional(),customSQL:v4l.optional(),dependencies:O.array(jRi),join:_4l,name:O.string(),noLinkRefs:O.array(jRi)}),xYd=YRi.and(O.object({mappingsV1:O.string(),runTimeParameters:O.string(),jobs:O.array(XRi)}).partial().passthrough()),TYd=O.object({columns:O.array(sBi),join:O.object({joinCondition:O.string().describe("Returns SQL from the Join tab.")}).optional(),sourceMapping:O.array(aBi).optional()}),SYd=O.enum(["table","view"]),x4l=O.enum(["After","Before"]),T4l=O.object({continueOnFailure:O.boolean(),description:O.string(),name:O.string(),runOrder:x4l,templateString:O.string()}),OYd=O.object({appliedNodeTests:O.array(T4l).default([]),columns:O.array(sBi).default([]),cteString:O.string().optional(),description:O.string().optional(),destinationName:O.string().optional(),enabledColumnTestIDs:O.array(O.string()),mapping:O.record(O.union([O.object({}).partial().passthrough(),O.string(),O.number(),O.boolean()])).optional(),materializationOption:O.string().optional(),sourceMapping:O.array(aBi)}),wYd=O.record(O.union([O.object({}).partial().passthrough(),O.string(),O.number(),O.boolean()])),lBi=LRi([{method:"get",path:"/api/integrations/fivetran/jobs/:jobId/history/:historyId",alias:"GetFivetranJobHistory",description:"Get Fivetran job history in org.",requestFormat:"json",parameters:[{name:"jobId",type:"Path",schema:O.string().describe("The Fivetran job ID.")},{name:"historyId",type:"Path",schema:O.string().describe("The Fivetran history ID.")}],response:Qvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/integrations/fivetran/jobs/:jobId/run",alias:"PostFivetranJobRefresh",requestFormat:"json",parameters:[{name:"body",description:"Request body for start Fivetran run.",type:"Body",schema:Lvl},{name:"jobId",type:"Path",schema:O.string().describe("The Fivetran job ID.")}],response:O.object({data:oNr}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects",alias:"GetFivetranProjects",description:"Get fivetran projects in org.",requestFormat:"json",response:Mvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects/:projectId",alias:"GetFivetranProject",requestFormat:"json",parameters:[{name:"projectId",type:"Path",schema:O.string().describe("The unique identifier for the project")}],response:Dvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects/:projectId/jobs",alias:"GetFivetranJobs",description:"Get Fivetran jobs.",requestFormat:"json",parameters:[{name:"projectId",type:"Path",schema:O.string().describe("The unique identifier for the project")}],response:Pvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/admin/coa-tag",alias:"GetCoaTagReport",description:"Gets a report of all organizations that are using a non-standard coa image tag.",requestFormat:"json",response:O.object({defaultTag:O.string(),deviatingOrgs:O.array(O.object({orgID:O.string(),orgName:O.string(),tag:O.string(),image:O.string()}).passthrough())}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/admin/coa-tag/:orgId",alias:"GetCoaTag",description:"Gets the container image tag that should be used when running cloud coa jobs for a particular org.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/admin/coa-tag/:orgId",alias:"ResetCoaTag",description:"Resets the container image tag that should be used when running cloud coa jobs for a particular org to the default.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/admin/coa-tag/:orgId/:coaTag",alias:"SetCoaTag",description:"Sets the container image tag that should be used when running cloud coa jobs for a particular org.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")},{name:"coaTag",type:"Path",schema:O.string().describe("A coa container image tag in Google Container Registry.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/admin/kill-job/:orgId/:runId",alias:"KillJob",description:"Deletes the Kubernetes job.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")},{name:"runId",type:"Path",schema:O.number().int().describe("The Run ID of the run that will be affected by the API call.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/bulkWrite",alias:"BulkWrite",description:"Updates multiple documents for a workspace.",requestFormat:"json",parameters:[{name:"body",description:"The workspace to update and the path to the storage bucket containing the document write information.",type:"Body",schema:l4l}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/customToken",alias:"GenerateCustomToken",description:"Generate a Coalesce token from the provided OpenID Connect ID token",requestFormat:"json",parameters:[{name:"body",description:"The information from the OpenID Connect authorization server required to sign into Coalesce.",type:"Body",schema:yvl}],response:O.object({customToken:O.string().describe("A Coalesce token")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/database",alias:"GetDatabase",description:"Gets the information required to connect to the Coalesce database.",requestFormat:"json",response:s4l},{method:"get",path:"/api/v1/environments",alias:"GetEnvironments",description:"Get a collection of Environment information.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the environments.").optional()}],response:Cvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/environments",alias:"CreateEnvironment",description:"Create a new environment.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:vvl},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:rNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/environments/:environmentID",alias:"DeleteEnvironment",description:"Delete an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID",alias:"GetEnvironment",description:"Get information about an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:rNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/jobs/:jobID",alias:"GetJob",description:"Get information about a job in an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.number().describe("The environment ID.")},{name:"jobID",type:"Path",schema:O.number().describe("The job ID.")}],response:O.object({id:O.string().describe("The Job ID."),name:O.string().describe("The Job name."),includeSelector:O.string().describe("A selector string of nodes to include."),excludeSelector:O.string().describe("A selector string of nodes to exclude."),createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0})}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/nodes",alias:"GetNodes",description:"Get a collection of nodes for an environment",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the nodes.").optional()}],response:zRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/nodes/:nodeID",alias:"GetNode",description:"Get information about a node in an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/metrics",alias:"SubmitMetrics",description:"Submit a set of metrics",requestFormat:"json",parameters:[{name:"body",description:"The metrics to submit",type:"Body",schema:c4l}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/multiFactorAuth/:userID",alias:"RemoveMultiFactor",description:"Deletes the MFA for a user in firebase auth",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID",alias:"GetRegistryPackage",description:"Get a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")}],response:tNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/packageRegistry/:packageID",alias:"DeletePackage",description:"Deletes a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID/releases/:releaseID",alias:"GetRegistryPackageRelease",description:"Get a release from a package in the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")},{name:"releaseID",type:"Path",schema:O.string().min(1).describe("The package release ID.")}],response:qRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID/releases/privacy/:privacy",alias:"GetAllRegistryPackageReleases",description:"Get all available releases for a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")},{name:"privacy",type:"Path",schema:O.enum(["public","private","unlisted","all"]).describe("The privacy level of the packages requested")}],response:O.array(qRi),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/all",alias:"GetAllRegistryPackages",description:"Get all available packages on the registry.",requestFormat:"json",response:O.array(tNr),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/packageRegistry/createPackage",alias:"CreatePackage",description:"Create a package.",requestFormat:"json",parameters:[{name:"body",description:"The package info to create with.",type:"Body",schema:qvl}],response:O.object({releaseID:O.string().min(1),publisherID:O.string(),packageID:O.string().min(1),storePath:O.string()}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/packageRegistry/createRelease",alias:"AddPackageRelease",description:"Add a new package release to an existing package.",requestFormat:"json",parameters:[{name:"body",description:"The package release info.",type:"Body",schema:Uvl}],response:O.object({releaseID:O.string().min(1),publisherID:O.string(),packageID:O.string().min(1),storePath:O.string()}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/org",alias:"GetRegistryPackagesForOrg",description:"Get a release from a package in the registry.",requestFormat:"json",response:O.array(tNr),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/packageRegistry/update",alias:"UpdatePackage",description:"Update a package.",requestFormat:"json",parameters:[{name:"body",description:"The package info to create with.",type:"Body",schema:jvl}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/projects",alias:"GetProjectsInOrg",description:"Get projects in org.",requestFormat:"json",parameters:[{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:Rvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/projects",alias:"CreateProject",description:"Create a new project.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:O.object({platformKind:nNr.optional(),description:O.string().optional(),gitRepoURL:O.string().optional(),name:O.string()}).passthrough()}],response:iNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/projects/:projectID",alias:"GetProjectInOrg",description:"Get a project.",requestFormat:"json",parameters:[{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:Bvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/projects/:projectID",alias:"DeleteProject",description:"Delete a project.",requestFormat:"json",parameters:[{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs",alias:"GetRuns",description:"Get a collection of information about runs.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"limit",type:"Query",schema:O.number().int().gte(0).lte(1e3).describe("The maximum number of runs to return.").optional().default(25)},{name:"startingFrom",type:"Query",schema:Wvl},{name:"orderBy",type:"Query",schema:O.enum(["id","runStartTime","runEndTime"]).describe("The field used to order results.").optional().default("id")},{name:"orderByDirection",type:"Query",schema:O.enum(["asc","desc"]).describe("The sort order for query results.").optional().default("desc")},{name:"runType",type:"Query",schema:O.enum(["deploy","refresh"]).describe("A run type to filter the query results.").optional()},{name:"runStatus",type:"Query",schema:O.enum(["canceled","completed","failed","initializing","rendering","running","waitingToRun"]).describe("A status value to filter the query results.").optional()},{name:"environmentID",type:"Query",schema:O.string().describe("An environment ID to filter the query results.").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the run.").optional()}],response:r4l,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs/:runID",alias:"GetRun",description:"Gets a single run.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"runID",type:"Path",schema:O.number().int().describe("The run ID.")}],response:oBi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs/:runID/results",alias:"GetRunResults",description:"Get a collection of the results of a deploy or refresh run",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"runID",type:"Path",schema:O.number().int().describe("The run ID.")}],response:o4l,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/secrets/:secretType/:context",alias:"SecretExists",description:"Determines whether or not a git token value exists for a given project ID.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.boolean(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/secrets/:secretType/:context",alias:"UpgradeSecret",description:"Upgrades a secret from secretType its upgrade target.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/secrets/:secretType/:context",alias:"SetSecret",description:"Sets the value of a secret.",requestFormat:"json",parameters:[{name:"body",description:"The new value of the secret.",type:"Body",schema:O.object({secretValue:O.unknown()}).passthrough()},{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/secrets/:secretType/:context",alias:"DeleteSecret",description:"Deletes a secret.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/typesense/orgs/:orgID/typesense-config",alias:"getTypesenseConfigForOrg",description:"Returns Typesense configuration data for a given org.",requestFormat:"json",parameters:[{name:"orgID",type:"Path",schema:O.string().describe("The organization ID.")}],response:Gvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/userRoles",alias:"GetUserRoles",description:"Get all user roles in the organization, filtered by information available based on the current user&#x27;s roles and sorted alphabetically by last name, then by first name.",requestFormat:"json",parameters:[{name:"excludeOrgRoles",type:"Query",schema:O.boolean().describe("Exclude organization level roles from the results.").optional()},{name:"projectID",type:"Query",schema:O.string().describe("Return only user roles pertaining to the specified project.").optional()},{name:"environmentID",type:"Query",schema:O.string().describe("Return only user roles pertaining to the specified environment.").optional()}],response:O.array(ZRi),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/organizationRoles",alias:"UpsertUserOrganizationRoles",description:"Creates or updates all of a user&#x27;s organization roles. Only org admins may use this API.",requestFormat:"json",parameters:[{name:"body",description:"The user&#x27;s organization roles.",type:"Body",schema:O.array(O.string())},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")}],response:O.object({organizationRoles:O.array(O.string()).describe("The organization roles assigned to the user."),projects:O.record(sNr).describe("A dictionary of project role assignments keyed by project ID.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/userRoles/:userID/projects/:projectID",alias:"DeleteUserProjectRoles",description:"Deletes all of a user&#x27;s project roles. Only org and project admins may user this API.",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/projects/:projectID",alias:"UpsertUserProjectRoles",description:"Creates or updates all of a user&#x27;s project roles. Only org and project admins may user this API.",requestFormat:"json",parameters:[{name:"body",description:"The user project roles.",type:"Body",schema:O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough()},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")}],response:O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/userRoles/:userID/projects/:projectID/environments/:environmentID",alias:"DeleteUserEnvironmentRoles",description:"Deletes all of a user&#x27;s environment roles.",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/projects/:projectID/environments/:environmentID",alias:"UpsertUserEnvironmentRoles",description:"Creates or updates all of a user&#x27;s environment roles.",requestFormat:"json",parameters:[{name:"body",description:"The user environment roles.",type:"Body",schema:O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough()},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")}],response:O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/validHostname",alias:"ValidateHostname",description:"Validates the passed hostname and returns an authorized version.",requestFormat:"json",parameters:[{name:"body",description:"The hostname that needs to be validated.",type:"Body",schema:O.object({hostname:O.string()}).passthrough()}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/workspaces/:workspaceID/nodes",alias:"GetWorkspaceNodes",description:"Get a collection of nodes for a workspace.",requestFormat:"json",parameters:[{name:"workspaceID",type:"Path",schema:O.string().describe("The workspace ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the nodes.").optional()}],response:zRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/workspaces/:workspaceID/nodes/:nodeID",alias:"GetWorkspaceNode",description:"Get information about a node in a workspace.",requestFormat:"json",parameters:[{name:"workspaceID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/workspaces/:workspaceID/nodes/:nodeID",alias:"SetWorkspaceNode",description:"Replace all fields of a node in a workspace.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:RZe},{name:"workspaceID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/scheduler/secret/:secretType/:context",alias:"SecretExistsV0",description:"Determines whether or not a git token value exists for a given project ID.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.boolean(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/scheduler/secret/:secretType/:context",alias:"SetSecretV0",description:"Sets the value of a secret.",requestFormat:"json",parameters:[{name:"body",description:"The new value of the secret.",type:"Body",schema:O.object({secretValue:O.unknown()}).passthrough()},{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/scheduler/secret/:secretType/:context",alias:"DeleteSecretV0",description:"Deletes a secret.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]}]),RYd=new Z9r(lBi)});function hk(r,t){let n=uBi(r??V5());return t&&n.use($9r({getToken:async()=>{if(typeof t=="string")return t;{let i=t.currentUser;if(!i)throw new cS("Missing ApiClient auth user");return await i.getIdToken(!0)}}})),n}var MZ=Ge(()=>{"use strict";uc();Ln();MRi();cBi()});async function cNr(r){let t=await S4l;r.httpProxy=t,r.httpsProxy=t}async function w4l(r,t){await cNr(r);let n=zd.initializeApp(r,t);dNr(n,!0)}async function MZe(){return ZWe()?await t4i():zd.app().options}var dBi,pBi,uNr,x_,S4l,dNr,O4l,fBi,oW,BZe,DZe,sW,ABi,pNr,aSe,Fwt,Ufe,hBi,gBi,mBi,fNr,R4l,B4l,M4l,j0=Ge(()=>{"use strict";cZe();mbt();bP();Rxr();Vxr();dBi=ht(require("path")),pBi=ht(WOi());Ln();YOi();$w();lr();uc();yi();th();MZ();xOt();X_e();X_e();uNr=null;Qu().isDevelopment&&pBi.default.config({path:dBi.resolve(__dirname+"../../../.env")});x_=st.FIREBASE,S4l=(async()=>{if(lp()){let r=await Promise.resolve().then(()=>ht(IOt()));return new r.ProxyAgent}else return})();dNr=(r,t)=>{let n;if(nk)n=nk;else if("emulatorInfo"in r.options)n=KOi.assert(r.options.emulatorInfo);else return;Qu().isTest&&(t=!1),x_.info(`Using Firebase Auth emulator at ${n.auth}`),typeof window<"u"?dpe(X3t(r),n.auth):r.auth().useEmulator(n.auth),x_.info(`Using Firestore emulator at ${n.firestore} over ${t?"https":"http"}`);let[i,o]=n.firestore.split(":");r.firestore().useEmulator(i,parseInt(o)),t&&r.firestore()._delegate._setSettings({...r.firestore()._delegate._getSettings(),ssl:!0}),x_.info(`Using Firebase Storage emulator at ${n.storage} over ${t?"https":"http"}`);let[s,a]=n.storage.split(":");r.storage().useEmulator(s,parseInt(a)),t&&(r.storage()._delegate._protocol="https")},O4l="[DEFAULT]",fBi=async(r,t)=>{zd.apps.find(n=>n.name===(t??O4l))||await w4l(r,t)};oW=()=>zd.app().auth(),BZe=zd,DZe=()=>BZe,sW=()=>{if(!aSe.apps.length)throw new It("Trying to get Firestore, but Firebase is not yet initialized.");return aSe.firestore()},ABi=r=>{if(r==aSe)return aSe.firestore.FieldValue;if(r==BZe||BZe.apps?.filter(t=>t.name===r.name))return BZe.firestore.FieldValue;if(r.name==uNr?.app.name)return uNr.firestore.FieldValue;throw new Error("unknown firebase instance")},pNr=()=>{let r=oW();if(!r.currentUser)throw new It("Unable to retrieve refresh token, no current user!");return nk?r.currentUser.getIdToken(!0):Promise.resolve(r.currentUser.refreshToken)},aSe=BZe,Fwt=r=>ZWe()?Promise.resolve():r.delete().catch(t=>{x_.error(`Error deleting firebase instance: ${t}`)}),Ufe=(r,t,n,i={})=>{let o=Math.ceil(r.length/t);x_.debugContext(i,"firestore batch barrel starting, expected batches:",o,"; batch max size:",t);let s=[],a,l=0,c=!1;return new Promise((u,d)=>{t>500&&(x_.emergContext(i,"FirestoreBatchBarrel batchSize can not exceed 500"),d(new It("FirestoreBatchBarrel attempting to use batch size that exceeds maximum"))),r.length||(x_.infoContext(i,"FirestoreBatchBarrel no batches to write, arrayOfUpdates has no length"),u());let p=0,f=()=>{c||!s[0]||(x_.debugContext(i,"(Batch Barrel) starting batch commit"),c=!0,GOr(s[0]).then(()=>{x_.debugContext(i,"(Batch Barrel) firestore barrel batch #",l,"complete"),c=!1,l++,l===o&&(x_.infoContext(i,"(Batch Barrel) FB batch barrel finished successfully.",r.length,"docs written in",l,"batches."),u()),s.shift(),f()}).catch(A=>{x_.errorContext(i,"(Batch Barrel) firestore barrel batch #",l+1,"failed with error:",A);let h=A.toString();d(`(Batch Barrel) Failure writing to Firebase at batch #${l+1} out of ${o} total batches expected; Error: ${h}`)}))};r.forEach((A,h,y)=>{p+=HG(A.newValue),h===0&&(x_.debugContext(i,"(Batch Barrel) creating first batch"),a=n.batch()),M4l(p*2)?(s.push(a),x_.debugContext(i,`(Batch Barrel) payload size limit reached, adding batch ${s.length-1} to queue. payload size: ${p}`),f(),a=n.batch(),A.barrelUpdate(a),p=HG(A.newValue)):(A.barrelUpdate(a),((h+1)%t===0||h===y.length-1)&&(s.push(a),x_.debugContext(i,`(Batch Barrel) final update for current batch complete, adding batch ${s.length-1} to queue`),f(),a=n.batch(),p=0))})})},hBi=(r,t)=>({barrelUpdate:n=>{n.delete(r)},newValue:t}),gBi=(r,t)=>({barrelUpdate:n=>{n.set(r,t)},newValue:t}),mBi=(r,t)=>({barrelUpdate:n=>{n.set(r,t,{merge:!0})},newValue:t}),fNr=(r,t)=>({barrelUpdate:n=>{n.update(r,t)},newValue:t}),R4l=1e7,B4l=.7,M4l=r=>{let t=R4l*B4l;return r>t}});var Lwt=C((tVd,D4l)=>{D4l.exports={nested:{google:{nested:{cloud:{nested:{secretmanager:{nested:{v1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1",go_package:"cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1",ruby_package:"Google::Cloud::SecretManager::V1"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/secrets/{secret}"},oneofs:{expiration:{oneof:["expireTime","ttl"]}},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4},topics:{rule:"repeated",type:"Topic",id:5,options:{"(google.api.field_behavior)":"OPTIONAL"}},expireTime:{type:"google.protobuf.Timestamp",id:6,options:{"(google.api.field_behavior)":"OPTIONAL"}},ttl:{type:"google.protobuf.Duration",id:7,options:{"(google.api.field_behavior)":"INPUT_ONLY"}},etag:{type:"string",id:8,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotation:{type:"Rotation",id:9,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionAliases:{keyType:"string",type:"int64",id:11,options:{"(google.api.field_behavior)":"OPTIONAL"}},annotations:{keyType:"string",type:"string",id:13,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/secrets/{secret}/versions/{secret_version}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replicationStatus:{type:"ReplicationStatus",id:5},etag:{type:"string",id:6,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},clientSpecifiedPayloadChecksum:{type:"bool",id:7,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryption",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1},customerManagedEncryption:{type:"CustomerManagedEncryption",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},CustomerManagedEncryption:{fields:{kmsKeyName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},ReplicationStatus:{oneofs:{replicationStatus:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"AutomaticStatus",id:1},userManaged:{type:"UserManagedStatus",id:2}},nested:{AutomaticStatus:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},UserManagedStatus:{fields:{replicas:{rule:"repeated",type:"ReplicaStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{ReplicaStatus:{fields:{location:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}}}}}},CustomerManagedEncryptionStatus:{fields:{kmsKeyVersionName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Topic:{options:{"(google.api.resource).type":"pubsub.googleapis.com/Topic","(google.api.resource).pattern":"projects/{project}/topics/{topic}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Rotation:{fields:{nextRotationTime:{type:"google.protobuf.Timestamp",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotationPeriod:{type:"google.protobuf.Duration",id:2,options:{"(google.api.field_behavior)":"INPUT_ONLY"}}}},SecretPayload:{oneofs:{_dataCrc32c:{oneof:["dataCrc32c"]}},fields:{data:{type:"bytes",id:1},dataCrc32c:{type:"int64",id:2,options:{"(google.api.field_behavior)":"OPTIONAL",proto3_optional:!0}}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1/{parent=projects/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1/{parent=projects/*}/secrets"}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1/{parent=projects/*}/secrets",body:"secret"}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1/{parent=projects/*/secrets/*}:addVersion",body:"*"}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1/{secret.name=projects/*/secrets/*}",body:"secret"}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1/{parent=projects/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1/{parent=projects/*/secrets/*}/versions"}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*/versions/*}"}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*/versions/*}:access"}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:disable",body:"*"}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:enable",body:"*"}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:destroy",body:"*"}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=projects/*/secrets/*}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1/{resource=projects/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1/{resource=projects/*/secrets/*}:getIamPolicy"}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=projects/*/secrets/*}:testIamPermissions",body:"*"}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}},v1beta2:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1Beta2",go_package:"cloud.google.com/go/secretmanager/apiv1beta2/secretmanagerpb;secretmanagerpb",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1beta2",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1beta2",ruby_package:"Google::Cloud::SecretManager::V1beta2"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/locations/{location}/secrets/{secret}","(google.api.resource).plural":"secrets","(google.api.resource).singular":"secret"},oneofs:{expiration:{oneof:["expireTime","ttl"]}},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4},topics:{rule:"repeated",type:"Topic",id:5,options:{"(google.api.field_behavior)":"OPTIONAL"}},expireTime:{type:"google.protobuf.Timestamp",id:6,options:{"(google.api.field_behavior)":"OPTIONAL"}},ttl:{type:"google.protobuf.Duration",id:7,options:{"(google.api.field_behavior)":"INPUT_ONLY"}},etag:{type:"string",id:8,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotation:{type:"Rotation",id:9,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionAliases:{keyType:"string",type:"int64",id:11,options:{"(google.api.field_behavior)":"OPTIONAL"}},annotations:{keyType:"string",type:"string",id:13,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionDestroyTtl:{type:"google.protobuf.Duration",id:14,options:{"(google.api.field_behavior)":"OPTIONAL"}},customerManagedEncryption:{type:"CustomerManagedEncryption",id:15,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}","(google.api.resource).plural":"secretVersions","(google.api.resource).singular":"secretVersion"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replicationStatus:{type:"ReplicationStatus",id:5},etag:{type:"string",id:6,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},clientSpecifiedPayloadChecksum:{type:"bool",id:7,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},scheduledDestroyTime:{type:"google.protobuf.Timestamp",id:8,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:9,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryption",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1},customerManagedEncryption:{type:"CustomerManagedEncryption",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},CustomerManagedEncryption:{fields:{kmsKeyName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},ReplicationStatus:{oneofs:{replicationStatus:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"AutomaticStatus",id:1},userManaged:{type:"UserManagedStatus",id:2}},nested:{AutomaticStatus:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},UserManagedStatus:{fields:{replicas:{rule:"repeated",type:"ReplicaStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{ReplicaStatus:{fields:{location:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}}}}}},CustomerManagedEncryptionStatus:{fields:{kmsKeyVersionName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Topic:{options:{"(google.api.resource).type":"pubsub.googleapis.com/Topic","(google.api.resource).pattern":"projects/{project}/topics/{topic}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Rotation:{fields:{nextRotationTime:{type:"google.protobuf.Timestamp",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotationPeriod:{type:"google.protobuf.Duration",id:2,options:{"(google.api.field_behavior)":"INPUT_ONLY"}}}},SecretPayload:{oneofs:{_dataCrc32c:{oneof:["dataCrc32c"]}},fields:{data:{type:"bytes",id:1},dataCrc32c:{type:"int64",id:2,options:{"(google.api.field_behavior)":"OPTIONAL",proto3_optional:!0}}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1beta2/{parent=projects/*}/secrets","(google.api.http).additional_bindings.get":"/v1beta2/{parent=projects/*/locations/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{parent=projects/*}/secrets",additional_bindings:{get:"/v1beta2/{parent=projects/*/locations/*}/secrets"}}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1beta2/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.http).additional_bindings.post":"/v1beta2/{parent=projects/*/locations/*}/secrets","(google.api.http).additional_bindings.body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{parent=projects/*}/secrets",body:"secret",additional_bindings:{post:"/v1beta2/{parent=projects/*/locations/*}/secrets",body:"secret"}}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{parent=projects/*/locations/*/secrets/*}:addVersion","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{parent=projects/*/secrets/*}:addVersion",body:"*",additional_bindings:{post:"/v1beta2/{parent=projects/*/locations/*/secrets/*}:addVersion",body:"*"}}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*}","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*}",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*}"}}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1beta2/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.http).additional_bindings.patch":"/v1beta2/{secret.name=projects/*/locations/*/secrets/*}","(google.api.http).additional_bindings.body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1beta2/{secret.name=projects/*/secrets/*}",body:"secret",additional_bindings:{patch:"/v1beta2/{secret.name=projects/*/locations/*/secrets/*}",body:"secret"}}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1beta2/{name=projects/*/secrets/*}","(google.api.http).additional_bindings.delete":"/v1beta2/{name=projects/*/locations/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1beta2/{name=projects/*/secrets/*}",additional_bindings:{delete:"/v1beta2/{name=projects/*/locations/*/secrets/*}"}}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1beta2/{parent=projects/*/secrets/*}/versions","(google.api.http).additional_bindings.get":"/v1beta2/{parent=projects/*/locations/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{parent=projects/*/secrets/*}/versions",additional_bindings:{get:"/v1beta2/{parent=projects/*/locations/*/secrets/*}/versions"}}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*/versions/*}","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*/versions/*}",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}"}}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*/versions/*}:access","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*/versions/*}:access",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:access"}}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:disable","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:disable",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:disable",body:"*"}}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:enable","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:enable",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:enable",body:"*"}}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:destroy","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:destroy",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:destroy",body:"*"}}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1beta2/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:setIamPolicy","(google.api.http).additional_bindings.body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{resource=projects/*/secrets/*}:setIamPolicy",body:"*",additional_bindings:{post:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:setIamPolicy",body:"*"}}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1beta2/{resource=projects/*/secrets/*}:getIamPolicy","(google.api.http).additional_bindings.get":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{resource=projects/*/secrets/*}:getIamPolicy",additional_bindings:{get:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:getIamPolicy"}}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1beta2/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:testIamPermissions","(google.api.http).additional_bindings.body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{resource=projects/*/secrets/*}:testIamPermissions",body:"*",additional_bindings:{post:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:testIamPermissions",body:"*"}}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).child_type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).child_type":"secretmanager.googleapis.com/Secret"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},secrets:{nested:{v1beta1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1Beta1",go_package:"google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1;secretmanager",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1beta1",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1beta1",ruby_package:"Google::Cloud::SecretManager::V1beta1"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/secrets/{secret}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/secrets/{secret}/versions/{secret_version}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1}}}}}}},SecretPayload:{fields:{data:{type:"bytes",id:1}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1beta1/{parent=projects/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{parent=projects/*}/secrets"}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1beta1/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{parent=projects/*}/secrets",body:"secret"}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{parent=projects/*/secrets/*}:addVersion",body:"*"}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1beta1/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1beta1/{secret.name=projects/*/secrets/*}",body:"secret"}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1beta1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1beta1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1beta1/{parent=projects/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{parent=projects/*/secrets/*}/versions"}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*/versions/*}"}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*/versions/*}:access"}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:disable",body:"*"}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:enable",body:"*"}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy",body:"*"}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy"}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions",body:"*"}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}}}}}}}},api:{options:{go_package:"google.golang.org/genproto/googleapis/api;api",java_multiple_files:!0,java_outer_classname:"LaunchStageProto",java_package:"com.google.api",objc_class_prefix:"GAPI",cc_enable_arenas:!0},nested:{fieldBehavior:{rule:"repeated",type:"google.api.FieldBehavior",id:1052,extend:"google.protobuf.FieldOptions"},FieldBehavior:{values:{FIELD_BEHAVIOR_UNSPECIFIED:0,OPTIONAL:1,REQUIRED:2,OUTPUT_ONLY:3,INPUT_ONLY:4,IMMUTABLE:5,UNORDERED_LIST:6,NON_EMPTY_DEFAULT:7,IDENTIFIER:8}},resourceReference:{type:"google.api.ResourceReference",id:1055,extend:"google.protobuf.FieldOptions"},resourceDefinition:{rule:"repeated",type:"google.api.ResourceDescriptor",id:1053,extend:"google.protobuf.FileOptions"},resource:{type:"google.api.ResourceDescriptor",id:1053,extend:"google.protobuf.MessageOptions"},ResourceDescriptor:{fields:{type:{type:"string",id:1},pattern:{rule:"repeated",type:"string",id:2},nameField:{type:"string",id:3},history:{type:"History",id:4},plural:{type:"string",id:5},singular:{type:"string",id:6},style:{rule:"repeated",type:"Style",id:10}},nested:{History:{values:{HISTORY_UNSPECIFIED:0,ORIGINALLY_SINGLE_PATTERN:1,FUTURE_MULTI_PATTERN:2}},Style:{values:{STYLE_UNSPECIFIED:0,DECLARATIVE_FRIENDLY:1}}}},ResourceReference:{fields:{type:{type:"string",id:1},childType:{type:"string",id:2}}},http:{type:"HttpRule",id:72295728,extend:"google.protobuf.MethodOptions"},Http:{fields:{rules:{rule:"repeated",type:"HttpRule",id:1},fullyDecodeReservedExpansion:{type:"bool",id:2}}},HttpRule:{oneofs:{pattern:{oneof:["get","put","post","delete","patch","custom"]}},fields:{selector:{type:"string",id:1},get:{type:"string",id:2},put:{type:"string",id:3},post:{type:"string",id:4},delete:{type:"string",id:5},patch:{type:"string",id:6},custom:{type:"CustomHttpPattern",id:8},body:{type:"string",id:7},responseBody:{type:"string",id:12},additionalBindings:{rule:"repeated",type:"HttpRule",id:11}}},CustomHttpPattern:{fields:{kind:{type:"string",id:1},path:{type:"string",id:2}}},methodSignature:{rule:"repeated",type:"string",id:1051,extend:"google.protobuf.MethodOptions"},defaultHost:{type:"string",id:1049,extend:"google.protobuf.ServiceOptions"},oauthScopes:{type:"string",id:1050,extend:"google.protobuf.ServiceOptions"},CommonLanguageSettings:{fields:{referenceDocsUri:{type:"string",id:1,options:{deprecated:!0}},destinations:{rule:"repeated",type:"ClientLibraryDestination",id:2}}},ClientLibrarySettings:{fields:{version:{type:"string",id:1},launchStage:{type:"LaunchStage",id:2},restNumericEnums:{type:"bool",id:3},javaSettings:{type:"JavaSettings",id:21},cppSettings:{type:"CppSettings",id:22},phpSettings:{type:"PhpSettings",id:23},pythonSettings:{type:"PythonSettings",id:24},nodeSettings:{type:"NodeSettings",id:25},dotnetSettings:{type:"DotnetSettings",id:26},rubySettings:{type:"RubySettings",id:27},goSettings:{type:"GoSettings",id:28}}},Publishing:{fields:{methodSettings:{rule:"repeated",type:"MethodSettings",id:2},newIssueUri:{type:"string",id:101},documentationUri:{type:"string",id:102},apiShortName:{type:"string",id:103},githubLabel:{type:"string",id:104},codeownerGithubTeams:{rule:"repeated",type:"string",id:105},docTagPrefix:{type:"string",id:106},organization:{type:"ClientLibraryOrganization",id:107},librarySettings:{rule:"repeated",type:"ClientLibrarySettings",id:109},protoReferenceDocumentationUri:{type:"string",id:110}}},JavaSettings:{fields:{libraryPackage:{type:"string",id:1},serviceClassNames:{keyType:"string",type:"string",id:2},common:{type:"CommonLanguageSettings",id:3}}},CppSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},PhpSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},PythonSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},NodeSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},DotnetSettings:{fields:{common:{type:"CommonLanguageSettings",id:1},renamedServices:{keyType:"string",type:"string",id:2},renamedResources:{keyType:"string",type:"string",id:3},ignoredResources:{rule:"repeated",type:"string",id:4},forcedNamespaceAliases:{rule:"repeated",type:"string",id:5},handwrittenSignatures:{rule:"repeated",type:"string",id:6}}},RubySettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},GoSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},MethodSettings:{fields:{selector:{type:"string",id:1},longRunning:{type:"LongRunning",id:2},autoPopulatedFields:{rule:"repeated",type:"string",id:3}},nested:{LongRunning:{fields:{initialPollDelay:{type:"google.protobuf.Duration",id:1},pollDelayMultiplier:{type:"float",id:2},maxPollDelay:{type:"google.protobuf.Duration",id:3},totalPollTimeout:{type:"google.protobuf.Duration",id:4}}}}},ClientLibraryOrganization:{values:{CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED:0,CLOUD:1,ADS:2,PHOTOS:3,STREET_VIEW:4,SHOPPING:5,GEO:6,GENERATIVE_AI:7}},ClientLibraryDestination:{values:{CLIENT_LIBRARY_DESTINATION_UNSPECIFIED:0,GITHUB:10,PACKAGE_MANAGER:20}},LaunchStage:{values:{LAUNCH_STAGE_UNSPECIFIED:0,UNIMPLEMENTED:6,PRELAUNCH:7,EARLY_ACCESS:1,ALPHA:2,BETA:3,GA:4,DEPRECATED:5}}}},protobuf:{options:{go_package:"google.golang.org/protobuf/types/descriptorpb",java_package:"com.google.protobuf",java_outer_classname:"DescriptorProtos",csharp_namespace:"Google.Protobuf.Reflection",objc_class_prefix:"GPB",cc_enable_arenas:!0,optimize_for:"SPEED"},nested:{FileDescriptorSet:{fields:{file:{rule:"repeated",type:"FileDescriptorProto",id:1}}},Edition:{values:{EDITION_UNKNOWN:0,EDITION_PROTO2:998,EDITION_PROTO3:999,EDITION_2023:1e3,EDITION_2024:1001,EDITION_1_TEST_ONLY:1,EDITION_2_TEST_ONLY:2,EDITION_99997_TEST_ONLY:99997,EDITION_99998_TEST_ONLY:99998,EDITION_99999_TEST_ONLY:99999,EDITION_MAX:2147483647}},FileDescriptorProto:{fields:{name:{type:"string",id:1},package:{type:"string",id:2},dependency:{rule:"repeated",type:"string",id:3},publicDependency:{rule:"repeated",type:"int32",id:10,options:{packed:!1}},weakDependency:{rule:"repeated",type:"int32",id:11,options:{packed:!1}},messageType:{rule:"repeated",type:"DescriptorProto",id:4},enumType:{rule:"repeated",type:"EnumDescriptorProto",id:5},service:{rule:"repeated",type:"ServiceDescriptorProto",id:6},extension:{rule:"repeated",type:"FieldDescriptorProto",id:7},options:{type:"FileOptions",id:8},sourceCodeInfo:{type:"SourceCodeInfo",id:9},syntax:{type:"string",id:12},edition:{type:"Edition",id:14}}},DescriptorProto:{fields:{name:{type:"string",id:1},field:{rule:"repeated",type:"FieldDescriptorProto",id:2},extension:{rule:"repeated",type:"FieldDescriptorProto",id:6},nestedType:{rule:"repeated",type:"DescriptorProto",id:3},enumType:{rule:"repeated",type:"EnumDescriptorProto",id:4},extensionRange:{rule:"repeated",type:"ExtensionRange",id:5},oneofDecl:{rule:"repeated",type:"OneofDescriptorProto",id:8},options:{type:"MessageOptions",id:7},reservedRange:{rule:"repeated",type:"ReservedRange",id:9},reservedName:{rule:"repeated",type:"string",id:10}},nested:{ExtensionRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2},options:{type:"ExtensionRangeOptions",id:3}}},ReservedRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2}}}}},ExtensionRangeOptions:{fields:{uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999},declaration:{rule:"repeated",type:"Declaration",id:2,options:{retention:"RETENTION_SOURCE"}},features:{type:"FeatureSet",id:50},verification:{type:"VerificationState",id:3,options:{default:"UNVERIFIED",retention:"RETENTION_SOURCE"}}},extensions:[[1e3,536870911]],nested:{Declaration:{fields:{number:{type:"int32",id:1},fullName:{type:"string",id:2},type:{type:"string",id:3},reserved:{type:"bool",id:5},repeated:{type:"bool",id:6}},reserved:[[4,4]]},VerificationState:{values:{DECLARATION:0,UNVERIFIED:1}}}},FieldDescriptorProto:{fields:{name:{type:"string",id:1},number:{type:"int32",id:3},label:{type:"Label",id:4},type:{type:"Type",id:5},typeName:{type:"string",id:6},extendee:{type:"string",id:2},defaultValue:{type:"string",id:7},oneofIndex:{type:"int32",id:9},jsonName:{type:"string",id:10},options:{type:"FieldOptions",id:8},proto3Optional:{type:"bool",id:17}},nested:{Type:{values:{TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18}},Label:{values:{LABEL_OPTIONAL:1,LABEL_REPEATED:3,LABEL_REQUIRED:2}}}},OneofDescriptorProto:{fields:{name:{type:"string",id:1},options:{type:"OneofOptions",id:2}}},EnumDescriptorProto:{fields:{name:{type:"string",id:1},value:{rule:"repeated",type:"EnumValueDescriptorProto",id:2},options:{type:"EnumOptions",id:3},reservedRange:{rule:"repeated",type:"EnumReservedRange",id:4},reservedName:{rule:"repeated",type:"string",id:5}},nested:{EnumReservedRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2}}}}},EnumValueDescriptorProto:{fields:{name:{type:"string",id:1},number:{type:"int32",id:2},options:{type:"EnumValueOptions",id:3}}},ServiceDescriptorProto:{fields:{name:{type:"string",id:1},method:{rule:"repeated",type:"MethodDescriptorProto",id:2},options:{type:"ServiceOptions",id:3}}},MethodDescriptorProto:{fields:{name:{type:"string",id:1},inputType:{type:"string",id:2},outputType:{type:"string",id:3},options:{type:"MethodOptions",id:4},clientStreaming:{type:"bool",id:5,options:{default:!1}},serverStreaming:{type:"bool",id:6,options:{default:!1}}}},FileOptions:{fields:{javaPackage:{type:"string",id:1},javaOuterClassname:{type:"string",id:8},javaMultipleFiles:{type:"bool",id:10,options:{default:!1}},javaGenerateEqualsAndHash:{type:"bool",id:20,options:{deprecated:!0}},javaStringCheckUtf8:{type:"bool",id:27,options:{default:!1}},optimizeFor:{type:"OptimizeMode",id:9,options:{default:"SPEED"}},goPackage:{type:"string",id:11},ccGenericServices:{type:"bool",id:16,options:{default:!1}},javaGenericServices:{type:"bool",id:17,options:{default:!1}},pyGenericServices:{type:"bool",id:18,options:{default:!1}},deprecated:{type:"bool",id:23,options:{default:!1}},ccEnableArenas:{type:"bool",id:31,options:{default:!0}},objcClassPrefix:{type:"string",id:36},csharpNamespace:{type:"string",id:37},swiftPrefix:{type:"string",id:39},phpClassPrefix:{type:"string",id:40},phpNamespace:{type:"string",id:41},phpMetadataNamespace:{type:"string",id:44},rubyPackage:{type:"string",id:45},features:{type:"FeatureSet",id:50},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[42,42],[38,38]],nested:{OptimizeMode:{values:{SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3}}}},MessageOptions:{fields:{messageSetWireFormat:{type:"bool",id:1,options:{default:!1}},noStandardDescriptorAccessor:{type:"bool",id:2,options:{default:!1}},deprecated:{type:"bool",id:3,options:{default:!1}},mapEntry:{type:"bool",id:7},deprecatedLegacyJsonFieldConflicts:{type:"bool",id:11,options:{deprecated:!0}},features:{type:"FeatureSet",id:12},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[4,4],[5,5],[6,6],[8,8],[9,9]]},FieldOptions:{fields:{ctype:{type:"CType",id:1,options:{default:"STRING"}},packed:{type:"bool",id:2},jstype:{type:"JSType",id:6,options:{default:"JS_NORMAL"}},lazy:{type:"bool",id:5,options:{default:!1}},unverifiedLazy:{type:"bool",id:15,options:{default:!1}},deprecated:{type:"bool",id:3,options:{default:!1}},weak:{type:"bool",id:10,options:{default:!1}},debugRedact:{type:"bool",id:16,options:{default:!1}},retention:{type:"OptionRetention",id:17},targets:{rule:"repeated",type:"OptionTargetType",id:19,options:{packed:!1}},editionDefaults:{rule:"repeated",type:"EditionDefault",id:20},features:{type:"FeatureSet",id:21},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[4,4],[18,18]],nested:{CType:{values:{STRING:0,CORD:1,STRING_PIECE:2}},JSType:{values:{JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2}},OptionRetention:{values:{RETENTION_UNKNOWN:0,RETENTION_RUNTIME:1,RETENTION_SOURCE:2}},OptionTargetType:{values:{TARGET_TYPE_UNKNOWN:0,TARGET_TYPE_FILE:1,TARGET_TYPE_EXTENSION_RANGE:2,TARGET_TYPE_MESSAGE:3,TARGET_TYPE_FIELD:4,TARGET_TYPE_ONEOF:5,TARGET_TYPE_ENUM:6,TARGET_TYPE_ENUM_ENTRY:7,TARGET_TYPE_SERVICE:8,TARGET_TYPE_METHOD:9}},EditionDefault:{fields:{edition:{type:"Edition",id:3},value:{type:"string",id:2}}}}},OneofOptions:{fields:{features:{type:"FeatureSet",id:1},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},EnumOptions:{fields:{allowAlias:{type:"bool",id:2},deprecated:{type:"bool",id:3,options:{default:!1}},deprecatedLegacyJsonFieldConflicts:{type:"bool",id:6,options:{deprecated:!0}},features:{type:"FeatureSet",id:7},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[5,5]]},EnumValueOptions:{fields:{deprecated:{type:"bool",id:1,options:{default:!1}},features:{type:"FeatureSet",id:2},debugRedact:{type:"bool",id:3,options:{default:!1}},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},ServiceOptions:{fields:{features:{type:"FeatureSet",id:34},deprecated:{type:"bool",id:33,options:{default:!1}},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},MethodOptions:{fields:{deprecated:{type:"bool",id:33,options:{default:!1}},idempotencyLevel:{type:"IdempotencyLevel",id:34,options:{default:"IDEMPOTENCY_UNKNOWN"}},features:{type:"FeatureSet",id:35},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],nested:{IdempotencyLevel:{values:{IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2}}}},UninterpretedOption:{fields:{name:{rule:"repeated",type:"NamePart",id:2},identifierValue:{type:"string",id:3},positiveIntValue:{type:"uint64",id:4},negativeIntValue:{type:"int64",id:5},doubleValue:{type:"double",id:6},stringValue:{type:"bytes",id:7},aggregateValue:{type:"string",id:8}},nested:{NamePart:{fields:{namePart:{rule:"required",type:"string",id:1},isExtension:{rule:"required",type:"bool",id:2}}}}},FeatureSet:{fields:{fieldPresence:{type:"FieldPresence",id:1,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_2023","edition_defaults.value":"EXPLICIT"}},enumType:{type:"EnumType",id:2,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"OPEN"}},repeatedFieldEncoding:{type:"RepeatedFieldEncoding",id:3,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"PACKED"}},utf8Validation:{type:"Utf8Validation",id:4,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"VERIFY"}},messageEncoding:{type:"MessageEncoding",id:5,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO2","edition_defaults.value":"LENGTH_PREFIXED"}},jsonFormat:{type:"JsonFormat",id:6,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"ALLOW"}}},extensions:[[1e3,1e3],[1001,1001],[9995,9999]],reserved:[[999,999]],nested:{FieldPresence:{values:{FIELD_PRESENCE_UNKNOWN:0,EXPLICIT:1,IMPLICIT:2,LEGACY_REQUIRED:3}},EnumType:{values:{ENUM_TYPE_UNKNOWN:0,OPEN:1,CLOSED:2}},RepeatedFieldEncoding:{values:{REPEATED_FIELD_ENCODING_UNKNOWN:0,PACKED:1,EXPANDED:2}},Utf8Validation:{values:{UTF8_VALIDATION_UNKNOWN:0,VERIFY:2,NONE:3}},MessageEncoding:{values:{MESSAGE_ENCODING_UNKNOWN:0,LENGTH_PREFIXED:1,DELIMITED:2}},JsonFormat:{values:{JSON_FORMAT_UNKNOWN:0,ALLOW:1,LEGACY_BEST_EFFORT:2}}}},FeatureSetDefaults:{fields:{defaults:{rule:"repeated",type:"FeatureSetEditionDefault",id:1},minimumEdition:{type:"Edition",id:4},maximumEdition:{type:"Edition",id:5}},nested:{FeatureSetEditionDefault:{fields:{edition:{type:"Edition",id:3},features:{type:"FeatureSet",id:2}}}}},SourceCodeInfo:{fields:{location:{rule:"repeated",type:"Location",id:1}},nested:{Location:{fields:{path:{rule:"repeated",type:"int32",id:1},span:{rule:"repeated",type:"int32",id:2},leadingComments:{type:"string",id:3},trailingComments:{type:"string",id:4},leadingDetachedComments:{rule:"repeated",type:"string",id:6}}}}},GeneratedCodeInfo:{fields:{annotation:{rule:"repeated",type:"Annotation",id:1}},nested:{Annotation:{fields:{path:{rule:"repeated",type:"int32",id:1},sourceFile:{type:"string",id:2},begin:{type:"int32",id:3},end:{type:"int32",id:4},semantic:{type:"Semantic",id:5}},nested:{Semantic:{values:{NONE:0,SET:1,ALIAS:2}}}}}},Duration:{fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}},Timestamp:{fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}},FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}},Empty:{fields:{}}}},iam:{nested:{v1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.Iam.V1",go_package:"cloud.google.com/go/iam/apiv1/iampb;iampb",java_multiple_files:!0,java_outer_classname:"PolicyProto",java_package:"com.google.iam.v1",php_namespace:"Google\\Cloud\\Iam\\V1"},nested:{IAMPolicy:{options:{"(google.api.default_host)":"iam-meta-api.googleapis.com"},methods:{SetIamPolicy:{requestType:"SetIamPolicyRequest",responseType:"Policy",options:{"(google.api.http).post":"/v1/{resource=**}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"GetIamPolicyRequest",responseType:"Policy",options:{"(google.api.http).post":"/v1/{resource=**}:getIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:getIamPolicy",body:"*"}}]},TestIamPermissions:{requestType:"TestIamPermissionsRequest",responseType:"TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1/{resource=**}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:testIamPermissions",body:"*"}}]}}},SetIamPolicyRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},policy:{type:"Policy",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:3}}},GetIamPolicyRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},options:{type:"GetPolicyOptions",id:2}}},TestIamPermissionsRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},permissions:{rule:"repeated",type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},TestIamPermissionsResponse:{fields:{permissions:{rule:"repeated",type:"string",id:1}}},GetPolicyOptions:{fields:{requestedPolicyVersion:{type:"int32",id:1}}},Policy:{fields:{version:{type:"int32",id:1},bindings:{rule:"repeated",type:"Binding",id:4},auditConfigs:{rule:"repeated",type:"AuditConfig",id:6},etag:{type:"bytes",id:3}}},Binding:{fields:{role:{type:"string",id:1},members:{rule:"repeated",type:"string",id:2},condition:{type:"google.type.Expr",id:3}}},AuditConfig:{fields:{service:{type:"string",id:1},auditLogConfigs:{rule:"repeated",type:"AuditLogConfig",id:3}}},AuditLogConfig:{fields:{logType:{type:"LogType",id:1},exemptedMembers:{rule:"repeated",type:"string",id:2}},nested:{LogType:{values:{LOG_TYPE_UNSPECIFIED:0,ADMIN_READ:1,DATA_WRITE:2,DATA_READ:3}}}},PolicyDelta:{fields:{bindingDeltas:{rule:"repeated",type:"BindingDelta",id:1},auditConfigDeltas:{rule:"repeated",type:"AuditConfigDelta",id:2}}},BindingDelta:{fields:{action:{type:"Action",id:1},role:{type:"string",id:2},member:{type:"string",id:3},condition:{type:"google.type.Expr",id:4}},nested:{Action:{values:{ACTION_UNSPECIFIED:0,ADD:1,REMOVE:2}}}},AuditConfigDelta:{fields:{action:{type:"Action",id:1},service:{type:"string",id:2},exemptedMember:{type:"string",id:3},logType:{type:"string",id:4}},nested:{Action:{values:{ACTION_UNSPECIFIED:0,ADD:1,REMOVE:2}}}}}}}},type:{options:{go_package:"google.golang.org/genproto/googleapis/type/expr;expr",java_multiple_files:!0,java_outer_classname:"ExprProto",java_package:"com.google.type",objc_class_prefix:"GTP"},nested:{Expr:{fields:{expression:{type:"string",id:1},title:{type:"string",id:2},description:{type:"string",id:3},location:{type:"string",id:4}}}}}}}}}});var yBi=C((rVd,N4l)=>{N4l.exports={interfaces:{"google.cloud.secretmanager.v1.SecretManagerService":{retry_codes:{non_idempotent:[],idempotent:["DEADLINE_EXCEEDED","UNAVAILABLE"],resource_exhausted_unavailable:["RESOURCE_EXHAUSTED","UNAVAILABLE"]},retry_params:{default:{initial_retry_delay_millis:100,retry_delay_multiplier:1.3,max_retry_delay_millis:6e4,initial_rpc_timeout_millis:6e4,rpc_timeout_multiplier:1,max_rpc_timeout_millis:6e4,total_timeout_millis:6e5},dd71b8c1d82d51c18ce5ba426d9acc4c44e7746e:{initial_retry_delay_millis:2e3,retry_delay_multiplier:2,max_retry_delay_millis:6e4,initial_rpc_timeout_millis:6e4,rpc_timeout_multiplier:1,max_rpc_timeout_millis:6e4,total_timeout_millis:6e5}},methods:{ListSecrets:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},CreateSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},AddSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},UpdateSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},DeleteSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},ListSecretVersions:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},AccessSecretVersion:{timeout_millis:6e4,retry_codes_name:"resource_exhausted_unavailable",retry_params_name:"dd71b8c1d82d51c18ce5ba426d9acc4c44e7746e"},DisableSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},EnableSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},DestroySecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},SetIamPolicy:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetIamPolicy:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},TestIamPermissions:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"}}}}}});var zwt=C((nVd,P4l)=>{P4l.exports={name:"@google-cloud/secret-manager",version:"5.2.0",description:"Secrets client for Node.js",repository:{type:"git",directory:"packages/google-cloud-secretmanager",url:"https://github.com/googleapis/google-cloud-node.git"},license:"Apache-2.0",author:"Google LLC",files:["build/src","build/protos","!build/src/**/*.map"],keywords:["secrets","secret","secret manager","secrets management","gcp","google","cloud"],main:"build/src/index.js",scripts:{clean:"gts clean",compile:"tsc -p . && cp -r protos build/","compile-protos":"compileProtos src",docs:"jsdoc -c .jsdoc.js","predocs-test":"npm run docs","docs-test":"linkinator docs",fix:"gts fix",lint:"gts check",prepare:"npm run compile",prelint:"cd samples; npm link ../; npm i",postpack:"minifyProtoJson","samples-test":"cd samples/ && npm link ../ && npm i && npm test","system-test":"c8 mocha build/system-test",test:"c8 mocha build/test"},dependencies:{"google-gax":"^4.0.3"},devDependencies:{"@types/mocha":"^9.0.0","@types/node":"^20.4.5","@types/sinon":"^17.0.0",c8:"^9.0.0","gapic-tools":"^0.4.0",gts:"^5.0.0",jsdoc:"^4.0.0","jsdoc-fresh":"^3.0.0","jsdoc-region-tag":"^3.0.0",linkinator:"4.1.2",long:"^5.2.3",mocha:"^9.2.2","pack-n-play":"^2.0.0",sinon:"^17.0.0",typescript:"^5.1.6"},engines:{node:">=14.0.0"},homepage:"https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-secretmanager"}});var Rc=C(t6=>{"use strict";Object.defineProperty(t6,"__esModule",{value:!0});t6.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=t6.DEFAULT_MAX_SEND_MESSAGE_LENGTH=t6.Propagate=t6.LogVerbosity=t6.Status=void 0;var EBi;(function(r){r[r.OK=0]="OK",r[r.CANCELLED=1]="CANCELLED",r[r.UNKNOWN=2]="UNKNOWN",r[r.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",r[r.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",r[r.NOT_FOUND=5]="NOT_FOUND",r[r.ALREADY_EXISTS=6]="ALREADY_EXISTS",r[r.PERMISSION_DENIED=7]="PERMISSION_DENIED",r[r.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",r[r.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",r[r.ABORTED=10]="ABORTED",r[r.OUT_OF_RANGE=11]="OUT_OF_RANGE",r[r.UNIMPLEMENTED=12]="UNIMPLEMENTED",r[r.INTERNAL=13]="INTERNAL",r[r.UNAVAILABLE=14]="UNAVAILABLE",r[r.DATA_LOSS=15]="DATA_LOSS",r[r.UNAUTHENTICATED=16]="UNAUTHENTICATED"})(EBi||(t6.Status=EBi={}));var bBi;(function(r){r[r.DEBUG=0]="DEBUG",r[r.INFO=1]="INFO",r[r.ERROR=2]="ERROR",r[r.NONE=3]="NONE"})(bBi||(t6.LogVerbosity=bBi={}));var CBi;(function(r){r[r.DEADLINE=1]="DEADLINE",r[r.CENSUS_STATS_CONTEXT=2]="CENSUS_STATS_CONTEXT",r[r.CENSUS_TRACING_CONTEXT=4]="CENSUS_TRACING_CONTEXT",r[r.CANCELLATION=8]="CANCELLATION",r[r.DEFAULTS=65535]="DEFAULTS"})(CBi||(t6.Propagate=CBi={}));t6.DEFAULT_MAX_SEND_MESSAGE_LENGTH=-1;t6.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=4*1024*1024});var qwt=C((oVd,k4l)=>{k4l.exports={name:"@grpc/grpc-js",version:"1.10.3",description:"gRPC Library for Node - pure JS implementation",homepage:"https://grpc.io/",repository:"https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",main:"build/src/index.js",engines:{node:">=12.10.0"},keywords:[],author:{name:"Google Inc."},types:"build/src/index.d.ts",license:"Apache-2.0",devDependencies:{"@types/gulp":"^4.0.17","@types/gulp-mocha":"0.0.37","@types/lodash":"^4.14.202","@types/mocha":"^10.0.6","@types/ncp":"^2.0.8","@types/node":">=20.11.20","@types/pify":"^5.0.4","@types/semver":"^7.5.8","@typescript-eslint/eslint-plugin":"^7.1.0","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/typescript-estree":"^7.1.0","clang-format":"^1.8.0",eslint:"^8.42.0","eslint-config-prettier":"^8.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1",execa:"^2.0.3",gulp:"^4.0.2","gulp-mocha":"^6.0.0",lodash:"^4.17.21",madge:"^5.0.1","mocha-jenkins-reporter":"^0.4.1",ncp:"^2.0.0",pify:"^4.0.1",prettier:"^2.8.8",rimraf:"^3.0.2",semver:"^7.6.0","ts-node":"^10.9.2",typescript:"^5.3.3"},contributors:[{name:"Google Inc."}],scripts:{build:"npm run compile",clean:"rimraf ./build",compile:"tsc -p .",format:'clang-format -i -style="{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}" src/*.ts test/*.ts',lint:"eslint src/*.ts test/*.ts",prepare:"npm run generate-types && npm run compile",test:"gulp test",check:"npm run lint",fix:"eslint --fix src/*.ts test/*.ts",pretest:"npm run generate-types && npm run generate-test-types && npm run compile",posttest:"npm run check && madge -c ./build/src","generate-types":"proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ --include-dirs test/fixtures/ -O src/generated/ --grpcLib ../index channelz.proto","generate-test-types":"proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --include-dirs test/fixtures/ -O test/generated/ --grpcLib ../../src/index test_service.proto"},dependencies:{"@grpc/proto-loader":"^0.7.10","@js-sdsl/ordered-map":"^4.4.2"},files:["src/**/*.ts","build/src/**/*.{js,d.ts,js.map}","proto/*.proto","LICENSE","deps/envoy-api/envoy/api/v2/**/*.proto","deps/envoy-api/envoy/config/**/*.proto","deps/envoy-api/envoy/service/**/*.proto","deps/envoy-api/envoy/type/**/*.proto","deps/udpa/udpa/**/*.proto","deps/googleapis/google/api/*.proto","deps/googleapis/google/rpc/*.proto","deps/protoc-gen-validate/validate/**/*.proto"]}});var pA=C(pv=>{"use strict";var ANr,hNr,gNr,mNr;Object.defineProperty(pv,"__esModule",{value:!0});pv.isTracerEnabled=pv.trace=pv.log=pv.setLoggerVerbosity=pv.setLogger=pv.getLogger=void 0;var DZ=Rc(),Q4l=require("process"),F4l=qwt().version,L4l={error:(r,...t)=>{console.error("E "+r,...t)},info:(r,...t)=>{console.error("I "+r,...t)},debug:(r,...t)=>{console.error("D "+r,...t)}},jfe=L4l,lSe=DZ.LogVerbosity.ERROR,z4l=(hNr=(ANr=process.env.GRPC_NODE_VERBOSITY)!==null&&ANr!==void 0?ANr:process.env.GRPC_VERBOSITY)!==null&&hNr!==void 0?hNr:"";switch(z4l.toUpperCase()){case"DEBUG":lSe=DZ.LogVerbosity.DEBUG;break;case"INFO":lSe=DZ.LogVerbosity.INFO;break;case"ERROR":lSe=DZ.LogVerbosity.ERROR;break;case"NONE":lSe=DZ.LogVerbosity.NONE;break;default:}var q4l=()=>jfe;pv.getLogger=q4l;var U4l=r=>{jfe=r};pv.setLogger=U4l;var j4l=r=>{lSe=r};pv.setLoggerVerbosity=j4l;var G4l=(r,...t)=>{let n;if(r>=lSe){switch(r){case DZ.LogVerbosity.DEBUG:n=jfe.debug;break;case DZ.LogVerbosity.INFO:n=jfe.info;break;case DZ.LogVerbosity.ERROR:n=jfe.error;break}n||(n=jfe.error),n&&n.bind(jfe)(...t)}};pv.log=G4l;var W4l=(mNr=(gNr=process.env.GRPC_NODE_TRACE)!==null&&gNr!==void 0?gNr:process.env.GRPC_TRACE)!==null&&mNr!==void 0?mNr:"",yNr=new Set,IBi=new Set;for(let r of W4l.split(","))r.startsWith("-")?IBi.add(r.substring(1)):yNr.add(r);var H4l=yNr.has("all");function Y4l(r,t,n){vBi(t)&&(0,pv.log)(r,new Date().toISOString()+" | v"+F4l+" "+Q4l.pid+" | "+t+" | "+n)}pv.trace=Y4l;function vBi(r){return!IBi.has(r)&&(H4l||yNr.has(r))}pv.isTracerEnabled=vBi});var Uwt=C(uSe=>{"use strict";Object.defineProperty(uSe,"__esModule",{value:!0});uSe.getErrorCode=uSe.getErrorMessage=void 0;function V4l(r){return r instanceof Error?r.message:String(r)}uSe.getErrorMessage=V4l;function K4l(r){return typeof r=="object"&&r!==null&&"code"in r&&typeof r.code=="number"?r.code:null}uSe.getErrorCode=K4l});var aC=C(Gwt=>{"use strict";Object.defineProperty(Gwt,"__esModule",{value:!0});Gwt.Metadata=void 0;var J4l=pA(),X4l=Rc(),$4l=Uwt(),Z4l=/^[0-9a-z_.-]+$/,e_l=/^[ -~]*$/;function t_l(r){return Z4l.test(r)}function r_l(r){return e_l.test(r)}function xBi(r){return r.endsWith("-bin")}function n_l(r){return!r.startsWith("grpc-")}function jwt(r){return r.toLowerCase()}function _Bi(r,t){if(!t_l(r))throw new Error('Metadata key "'+r+'" contains illegal characters');if(t!=null)if(xBi(r)){if(!Buffer.isBuffer(t))throw new Error("keys that end with '-bin' must have Buffer values")}else{if(Buffer.isBuffer(t))throw new Error("keys that don't end with '-bin' must have String values");if(!r_l(t))throw new Error('Metadata string value "'+t+'" contains illegal characters')}}var cSe=class{constructor(t={}){this.internalRepr=new Map,this.options=t}set(t,n){t=jwt(t),_Bi(t,n),this.internalRepr.set(t,[n])}add(t,n){t=jwt(t),_Bi(t,n);let i=this.internalRepr.get(t);i===void 0?this.internalRepr.set(t,[n]):i.push(n)}remove(t){t=jwt(t),this.internalRepr.delete(t)}get(t){return t=jwt(t),this.internalRepr.get(t)||[]}getMap(){let t={};for(let[n,i]of this.internalRepr)if(i.length>0){let o=i[0];t[n]=Buffer.isBuffer(o)?Buffer.from(o):o}return t}clone(){let t=new cSe(this.options),n=t.internalRepr;for(let[i,o]of this.internalRepr){let s=o.map(a=>Buffer.isBuffer(a)?Buffer.from(a):a);n.set(i,s)}return t}merge(t){for(let[n,i]of t.internalRepr){let o=(this.internalRepr.get(n)||[]).concat(i);this.internalRepr.set(n,o)}}setOptions(t){this.options=t}getOptions(){return this.options}toHttp2Headers(){let t={};for(let[n,i]of this.internalRepr)t[n]=i.map(i_l);return t}toJSON(){let t={};for(let[n,i]of this.internalRepr)t[n]=i;return t}static fromHttp2Headers(t){let n=new cSe;for(let i of Object.keys(t)){if(i.charAt(0)===":")continue;let o=t[i];try{xBi(i)?Array.isArray(o)?o.forEach(s=>{n.add(i,Buffer.from(s,"base64"))}):o!==void 0&&(n_l(i)?o.split(",").forEach(s=>{n.add(i,Buffer.from(s.trim(),"base64"))}):n.add(i,Buffer.from(o,"base64"))):Array.isArray(o)?o.forEach(s=>{n.add(i,s)}):o!==void 0&&n.add(i,o)}catch(s){let a=`Failed to add metadata entry ${i}: ${o}. ${(0,$4l.getErrorMessage)(s)}. For more information see https://github.com/grpc/grpc-node/issues/1173`;(0,J4l.log)(X4l.LogVerbosity.ERROR,a)}}return n}};Gwt.Metadata=cSe;var i_l=r=>Buffer.isBuffer(r)?r.toString("base64"):r});var bNr=C(Wwt=>{"use strict";Object.defineProperty(Wwt,"__esModule",{value:!0});Wwt.CallCredentials=void 0;var ENr=aC();function o_l(r){return"getRequestHeaders"in r&&typeof r.getRequestHeaders=="function"}var NZ=class{static createFromMetadataGenerator(t){return new NZe(t)}static createFromGoogleCredential(t){return NZ.createFromMetadataGenerator((n,i)=>{let o;o_l(t)?o=t.getRequestHeaders(n.service_url):o=new Promise((s,a)=>{t.getRequestMetadata(n.service_url,(l,c)=>{if(l){a(l);return}if(!c){a(new Error("Headers not set by metadata plugin"));return}s(c)})}),o.then(s=>{let a=new ENr.Metadata;for(let l of Object.keys(s))a.add(l,s[l]);i(null,a)},s=>{i(s)})})}static createEmpty(){return new PZe}};Wwt.CallCredentials=NZ;var dSe=class extends NZ{constructor(t){super(),this.creds=t}async generateMetadata(t){let n=new ENr.Metadata,i=await Promise.all(this.creds.map(o=>o.generateMetadata(t)));for(let o of i)n.merge(o);return n}compose(t){return new dSe(this.creds.concat([t]))}_equals(t){return this===t?!0:t instanceof dSe?this.creds.every((n,i)=>n._equals(t.creds[i])):!1}},NZe=class extends NZ{constructor(t){super(),this.metadataGenerator=t}generateMetadata(t){return new Promise((n,i)=>{this.metadataGenerator(t,(o,s)=>{s!==void 0?n(s):i(o)})})}compose(t){return new dSe([this,t])}_equals(t){return this===t?!0:t instanceof NZe?this.metadataGenerator===t.metadataGenerator:!1}},PZe=class extends NZ{generateMetadata(t){return Promise.resolve(new ENr.Metadata)}compose(t){return t}_equals(t){return t instanceof PZe}}});var INr=C(pSe=>{"use strict";Object.defineProperty(pSe,"__esModule",{value:!0});pSe.getDefaultRootsData=pSe.CIPHER_SUITES=void 0;var s_l=require("fs");pSe.CIPHER_SUITES=process.env.GRPC_SSL_CIPHER_SUITES;var TBi=process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH,CNr=null;function a_l(){return TBi?(CNr===null&&(CNr=s_l.readFileSync(TBi)),CNr):null}pSe.getDefaultRootsData=a_l});var Ywt=C(Hwt=>{"use strict";Object.defineProperty(Hwt,"__esModule",{value:!0});Hwt.ChannelCredentials=void 0;var l_l=require("tls"),u_l=bNr(),SBi=INr();function vNr(r,t){if(r&&!(r instanceof Buffer))throw new TypeError(`${t}, if provided, must be a Buffer.`)}var fSe=class{constructor(t){this.callCredentials=t||u_l.CallCredentials.createEmpty()}_getCallCredentials(){return this.callCredentials}static createSsl(t,n,i,o){var s;if(vNr(t,"Root certificate"),vNr(n,"Private key"),vNr(i,"Certificate chain"),n&&!i)throw new Error("Private key must be given with accompanying certificate chain");if(!n&&i)throw new Error("Certificate chain must be given with accompanying private key");let a=(0,l_l.createSecureContext)({ca:(s=t??(0,SBi.getDefaultRootsData)())!==null&&s!==void 0?s:void 0,key:n??void 0,cert:i??void 0,ciphers:SBi.CIPHER_SUITES});return new ASe(a,o??{})}static createFromSecureContext(t,n){return new ASe(t,n??{})}static createInsecure(){return new kZe}};Hwt.ChannelCredentials=fSe;var kZe=class extends fSe{constructor(){super()}compose(t){throw new Error("Cannot compose insecure credentials")}_getConnectionOptions(){return null}_isSecure(){return!1}_equals(t){return t instanceof kZe}},ASe=class extends fSe{constructor(t,n){super(),this.secureContext=t,this.verifyOptions=n,this.connectionOptions={secureContext:t},n?.checkServerIdentity&&(this.connectionOptions.checkServerIdentity=n.checkServerIdentity)}compose(t){let n=this.callCredentials.compose(t);return new hSe(this,n)}_getConnectionOptions(){return Object.assign({},this.connectionOptions)}_isSecure(){return!0}_equals(t){return this===t?!0:t instanceof ASe?this.secureContext===t.secureContext&&this.verifyOptions.checkServerIdentity===t.verifyOptions.checkServerIdentity:!1}},hSe=class extends fSe{constructor(t,n){super(n),this.channelCredentials=t}compose(t){let n=this.callCredentials.compose(t);return new hSe(this.channelCredentials,n)}_getConnectionOptions(){return this.channelCredentials._getConnectionOptions()}_isSecure(){return!0}_equals(t){return this===t?!0:t instanceof hSe?this.channelCredentials._equals(t.channelCredentials)&&this.callCredentials._equals(t.callCredentials):!1}}});var Gfe=C(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.selectLbConfigFromList=xy.getDefaultConfig=xy.parseLoadBalancingConfig=xy.isLoadBalancerNameRegistered=xy.createLoadBalancer=xy.registerDefaultLoadBalancerType=xy.registerLoadBalancerType=xy.createChildChannelControlHelper=void 0;var c_l=pA(),d_l=Rc();function p_l(r,t){var n,i,o,s,a,l,c,u,d,p;return{createSubchannel:(i=(n=t.createSubchannel)===null||n===void 0?void 0:n.bind(t))!==null&&i!==void 0?i:r.createSubchannel.bind(r),updateState:(s=(o=t.updateState)===null||o===void 0?void 0:o.bind(t))!==null&&s!==void 0?s:r.updateState.bind(r),requestReresolution:(l=(a=t.requestReresolution)===null||a===void 0?void 0:a.bind(t))!==null&&l!==void 0?l:r.requestReresolution.bind(r),addChannelzChild:(u=(c=t.addChannelzChild)===null||c===void 0?void 0:c.bind(t))!==null&&u!==void 0?u:r.addChannelzChild.bind(r),removeChannelzChild:(p=(d=t.removeChannelzChild)===null||d===void 0?void 0:d.bind(t))!==null&&p!==void 0?p:r.removeChannelzChild.bind(r)}}xy.createChildChannelControlHelper=p_l;var PZ={},QZe=null;function f_l(r,t,n){PZ[r]={LoadBalancer:t,LoadBalancingConfig:n}}xy.registerLoadBalancerType=f_l;function A_l(r){QZe=r}xy.registerDefaultLoadBalancerType=A_l;function h_l(r,t,n){let i=r.getLoadBalancerName();return i in PZ?new PZ[i].LoadBalancer(t,n):null}xy.createLoadBalancer=h_l;function g_l(r){return r in PZ}xy.isLoadBalancerNameRegistered=g_l;function OBi(r){let t=Object.keys(r);if(t.length!==1)throw new Error("Provided load balancing config has multiple conflicting entries");let n=t[0];if(n in PZ)try{return PZ[n].LoadBalancingConfig.createFromJson(r[n])}catch(i){throw new Error(`${n}: ${i.message}`)}else throw new Error(`Unrecognized load balancing config name ${n}`)}xy.parseLoadBalancingConfig=OBi;function m_l(){if(!QZe)throw new Error("No default load balancer type registered");return new PZ[QZe].LoadBalancingConfig}xy.getDefaultConfig=m_l;function y_l(r,t=!1){for(let n of r)try{return OBi(n)}catch(i){(0,c_l.log)(d_l.LogVerbosity.DEBUG,"Config parsing failed with error",i.message);continue}return t&&QZe?new PZ[QZe].LoadBalancingConfig:null}xy.selectLbConfigFromList=y_l});var _Nr=C(kZ=>{"use strict";Object.defineProperty(kZ,"__esModule",{value:!0});kZ.extractAndSelectServiceConfig=kZ.validateServiceConfig=kZ.validateRetryThrottling=void 0;var E_l=require("os"),Vwt=Rc(),Kwt=/^\d+(\.\d{1,9})?s$/,b_l="node";function C_l(r){if("service"in r&&r.service!==""){if(typeof r.service!="string")throw new Error(`Invalid method config name: invalid service: expected type string, got ${typeof r.service}`);if("method"in r&&r.method!==""){if(typeof r.method!="string")throw new Error(`Invalid method config name: invalid method: expected type string, got ${typeof r.service}`);return{service:r.service,method:r.method}}else return{service:r.service}}else{if("method"in r&&r.method!==void 0)throw new Error("Invalid method config name: method set with empty or unset service");return{}}}function I_l(r){if(!("maxAttempts"in r)||!Number.isInteger(r.maxAttempts)||r.maxAttempts<2)throw new Error("Invalid method config retry policy: maxAttempts must be an integer at least 2");if(!("initialBackoff"in r)||typeof r.initialBackoff!="string"||!Kwt.test(r.initialBackoff))throw new Error("Invalid method config retry policy: initialBackoff must be a string consisting of a positive integer followed by s");if(!("maxBackoff"in r)||typeof r.maxBackoff!="string"||!Kwt.test(r.maxBackoff))throw new Error("Invalid method config retry policy: maxBackoff must be a string consisting of a positive integer followed by s");if(!("backoffMultiplier"in r)||typeof r.backoffMultiplier!="number"||r.backoffMultiplier<=0)throw new Error("Invalid method config retry policy: backoffMultiplier must be a number greater than 0");if(!("retryableStatusCodes"in r&&Array.isArray(r.retryableStatusCodes)))throw new Error("Invalid method config retry policy: retryableStatusCodes is required");if(r.retryableStatusCodes.length===0)throw new Error("Invalid method config retry policy: retryableStatusCodes must be non-empty");for(let t of r.retryableStatusCodes)if(typeof t=="number"){if(!Object.values(Vwt.Status).includes(t))throw new Error("Invalid method config retry policy: retryableStatusCodes value not in status code range")}else if(typeof t=="string"){if(!Object.values(Vwt.Status).includes(t.toUpperCase()))throw new Error("Invalid method config retry policy: retryableStatusCodes value not a status code name")}else throw new Error("Invalid method config retry policy: retryableStatusCodes value must be a string or number");return{maxAttempts:r.maxAttempts,initialBackoff:r.initialBackoff,maxBackoff:r.maxBackoff,backoffMultiplier:r.backoffMultiplier,retryableStatusCodes:r.retryableStatusCodes}}function v_l(r){if(!("maxAttempts"in r)||!Number.isInteger(r.maxAttempts)||r.maxAttempts<2)throw new Error("Invalid method config hedging policy: maxAttempts must be an integer at least 2");if("hedgingDelay"in r&&(typeof r.hedgingDelay!="string"||!Kwt.test(r.hedgingDelay)))throw new Error("Invalid method config hedging policy: hedgingDelay must be a string consisting of a positive integer followed by s");if("nonFatalStatusCodes"in r&&Array.isArray(r.nonFatalStatusCodes))for(let n of r.nonFatalStatusCodes)if(typeof n=="number"){if(!Object.values(Vwt.Status).includes(n))throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value not in status code range")}else if(typeof n=="string"){if(!Object.values(Vwt.Status).includes(n.toUpperCase()))throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value not a status code name")}else throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value must be a string or number");let t={maxAttempts:r.maxAttempts};return r.hedgingDelay&&(t.hedgingDelay=r.hedgingDelay),r.nonFatalStatusCodes&&(t.nonFatalStatusCodes=r.nonFatalStatusCodes),t}function __l(r){var t;let n={name:[]};if(!("name"in r)||!Array.isArray(r.name))throw new Error("Invalid method config: invalid name array");for(let i of r.name)n.name.push(C_l(i));if("waitForReady"in r){if(typeof r.waitForReady!="boolean")throw new Error("Invalid method config: invalid waitForReady");n.waitForReady=r.waitForReady}if("timeout"in r)if(typeof r.timeout=="object"){if(!("seconds"in r.timeout)||typeof r.timeout.seconds!="number")throw new Error("Invalid method config: invalid timeout.seconds");if(!("nanos"in r.timeout)||typeof r.timeout.nanos!="number")throw new Error("Invalid method config: invalid timeout.nanos");n.timeout=r.timeout}else if(typeof r.timeout=="string"&&Kwt.test(r.timeout)){let i=r.timeout.substring(0,r.timeout.length-1).split(".");n.timeout={seconds:i[0]|0,nanos:((t=i[1])!==null&&t!==void 0?t:0)|0}}else throw new Error("Invalid method config: invalid timeout");if("maxRequestBytes"in r){if(typeof r.maxRequestBytes!="number")throw new Error("Invalid method config: invalid maxRequestBytes");n.maxRequestBytes=r.maxRequestBytes}if("maxResponseBytes"in r){if(typeof r.maxResponseBytes!="number")throw new Error("Invalid method config: invalid maxRequestBytes");n.maxResponseBytes=r.maxResponseBytes}if("retryPolicy"in r){if("hedgingPolicy"in r)throw new Error("Invalid method config: retryPolicy and hedgingPolicy cannot both be specified");n.retryPolicy=I_l(r.retryPolicy)}else"hedgingPolicy"in r&&(n.hedgingPolicy=v_l(r.hedgingPolicy));return n}function wBi(r){if(!("maxTokens"in r)||typeof r.maxTokens!="number"||r.maxTokens<=0||r.maxTokens>1e3)throw new Error("Invalid retryThrottling: maxTokens must be a number in (0, 1000]");if(!("tokenRatio"in r)||typeof r.tokenRatio!="number"||r.tokenRatio<=0)throw new Error("Invalid retryThrottling: tokenRatio must be a number greater than 0");return{maxTokens:+r.maxTokens.toFixed(3),tokenRatio:+r.tokenRatio.toFixed(3)}}kZ.validateRetryThrottling=wBi;function x_l(r){if(!(typeof r=="object"&&r!==null))throw new Error(`Invalid loadBalancingConfig: unexpected type ${typeof r}`);let t=Object.keys(r);if(t.length>1)throw new Error(`Invalid loadBalancingConfig: unexpected multiple keys ${t}`);if(t.length===0)throw new Error("Invalid loadBalancingConfig: load balancing policy name required");return{[t[0]]:r[t[0]]}}function RBi(r){let t={loadBalancingConfig:[],methodConfig:[]};if("loadBalancingPolicy"in r)if(typeof r.loadBalancingPolicy=="string")t.loadBalancingPolicy=r.loadBalancingPolicy;else throw new Error("Invalid service config: invalid loadBalancingPolicy");if("loadBalancingConfig"in r)if(Array.isArray(r.loadBalancingConfig))for(let i of r.loadBalancingConfig)t.loadBalancingConfig.push(x_l(i));else throw new Error("Invalid service config: invalid loadBalancingConfig");if("methodConfig"in r&&Array.isArray(r.methodConfig))for(let i of r.methodConfig)t.methodConfig.push(__l(i));"retryThrottling"in r&&(t.retryThrottling=wBi(r.retryThrottling));let n=[];for(let i of t.methodConfig)for(let o of i.name){for(let s of n)if(o.service===s.service&&o.method===s.method)throw new Error(`Invalid service config: duplicate name ${o.service}/${o.method}`);n.push(o)}return t}kZ.validateServiceConfig=RBi;function T_l(r){if(!("serviceConfig"in r))throw new Error("Invalid service config choice: missing service config");let t={serviceConfig:RBi(r.serviceConfig)};if("clientLanguage"in r)if(Array.isArray(r.clientLanguage)){t.clientLanguage=[];for(let i of r.clientLanguage)if(typeof i=="string")t.clientLanguage.push(i);else throw new Error("Invalid service config choice: invalid clientLanguage")}else throw new Error("Invalid service config choice: invalid clientLanguage");if("clientHostname"in r)if(Array.isArray(r.clientHostname)){t.clientHostname=[];for(let i of r.clientHostname)if(typeof i=="string")t.clientHostname.push(i);else throw new Error("Invalid service config choice: invalid clientHostname")}else throw new Error("Invalid service config choice: invalid clientHostname");if("percentage"in r)if(typeof r.percentage=="number"&&0<=r.percentage&&r.percentage<=100)t.percentage=r.percentage;else throw new Error("Invalid service config choice: invalid percentage");let n=["clientLanguage","percentage","clientHostname","serviceConfig"];for(let i in r)if(!n.includes(i))throw new Error(`Invalid service config choice: unexpected field ${i}`);return t}function S_l(r,t){if(!Array.isArray(r))throw new Error("Invalid service config list");for(let n of r){let i=T_l(n);if(!(typeof i.percentage=="number"&&t>i.percentage)){if(Array.isArray(i.clientHostname)){let o=!1;for(let s of i.clientHostname)s===E_l.hostname()&&(o=!0);if(!o)continue}if(Array.isArray(i.clientLanguage)){let o=!1;for(let s of i.clientLanguage)s===b_l&&(o=!0);if(!o)continue}return i.serviceConfig}}throw new Error("No matching service config found")}function O_l(r,t){for(let n of r)if(n.length>0&&n[0].startsWith("grpc_config=")){let i=n.join("").substring(12),o=JSON.parse(i);return S_l(o,t)}return null}kZ.extractAndSelectServiceConfig=O_l});var r6=C(Jwt=>{"use strict";Object.defineProperty(Jwt,"__esModule",{value:!0});Jwt.ConnectivityState=void 0;var BBi;(function(r){r[r.IDLE=0]="IDLE",r[r.CONNECTING=1]="CONNECTING",r[r.READY=2]="READY",r[r.TRANSIENT_FAILURE=3]="TRANSIENT_FAILURE",r[r.SHUTDOWN=4]="SHUTDOWN"})(BBi||(Jwt.ConnectivityState=BBi={}))});var DS=C(gk=>{"use strict";Object.defineProperty(gk,"__esModule",{value:!0});gk.uriToString=gk.combineHostPort=gk.splitHostPort=gk.parseUri=void 0;var w_l=/^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;function R_l(r){let t=w_l.exec(r);return t===null?null:{scheme:t[1],authority:t[2],path:t[3]}}gk.parseUri=R_l;var MBi=/^\d+$/;function B_l(r){if(r.startsWith("[")){let t=r.indexOf("]");if(t===-1)return null;let n=r.substring(1,t);if(n.indexOf(":")===-1)return null;if(r.length>t+1)if(r[t+1]===":"){let i=r.substring(t+2);return MBi.test(i)?{host:n,port:+i}:null}else return null;else return{host:n}}else{let t=r.split(":");return t.length===2?MBi.test(t[1])?{host:t[0],port:+t[1]}:null:{host:r}}}gk.splitHostPort=B_l;function M_l(r){return r.port===void 0?r.host:r.host.includes(":")?`[${r.host}]:${r.port}`:`${r.host}:${r.port}`}gk.combineHostPort=M_l;function D_l(r){let t="";return r.scheme!==void 0&&(t+=r.scheme+":"),r.authority!==void 0&&(t+="//"+r.authority+"/"),t+=r.path,t}gk.uriToString=D_l});var mk=C(n6=>{"use strict";Object.defineProperty(n6,"__esModule",{value:!0});n6.mapUriDefaultScheme=n6.getDefaultAuthority=n6.createResolver=n6.registerDefaultScheme=n6.registerResolver=void 0;var TNr=DS(),gSe={},xNr=null;function N_l(r,t){gSe[r]=t}n6.registerResolver=N_l;function P_l(r){xNr=r}n6.registerDefaultScheme=P_l;function k_l(r,t,n){if(r.scheme!==void 0&&r.scheme in gSe)return new gSe[r.scheme](r,t,n);throw new Error(`No resolver could be created for target ${(0,TNr.uriToString)(r)}`)}n6.createResolver=k_l;function Q_l(r){if(r.scheme!==void 0&&r.scheme in gSe)return gSe[r.scheme].getDefaultAuthority(r);throw new Error(`Invalid target ${(0,TNr.uriToString)(r)}`)}n6.getDefaultAuthority=Q_l;function F_l(r){return r.scheme===void 0||!(r.scheme in gSe)?xNr!==null?{scheme:xNr,authority:void 0,path:(0,TNr.uriToString)(r)}:null:r}n6.mapUriDefaultScheme=F_l});var FZ=C(QZ=>{"use strict";Object.defineProperty(QZ,"__esModule",{value:!0});QZ.QueuePicker=QZ.UnavailablePicker=QZ.PickResultType=void 0;var L_l=aC(),z_l=Rc(),Xwt;(function(r){r[r.COMPLETE=0]="COMPLETE",r[r.QUEUE=1]="QUEUE",r[r.TRANSIENT_FAILURE=2]="TRANSIENT_FAILURE",r[r.DROP=3]="DROP"})(Xwt||(QZ.PickResultType=Xwt={}));var SNr=class{constructor(t){this.status=Object.assign({code:z_l.Status.UNAVAILABLE,details:"No connection established",metadata:new L_l.Metadata},t)}pick(t){return{pickResultType:Xwt.TRANSIENT_FAILURE,subchannel:null,status:this.status,onCallStarted:null,onCallEnded:null}}};QZ.UnavailablePicker=SNr;var ONr=class{constructor(t,n){this.loadBalancer=t,this.childPicker=n,this.calledExitIdle=!1}pick(t){return this.calledExitIdle||(process.nextTick(()=>{this.loadBalancer.exitIdle()}),this.calledExitIdle=!0),this.childPicker?this.childPicker.pick(t):{pickResultType:Xwt.QUEUE,subchannel:null,status:null,onCallStarted:null,onCallEnded:null}}};QZ.QueuePicker=ONr});var FZe=C($wt=>{"use strict";Object.defineProperty($wt,"__esModule",{value:!0});$wt.BackoffTimeout=void 0;var q_l=1e3,U_l=1.6,j_l=12e4,G_l=.2;function W_l(r,t){return Math.random()*(t-r)+r}var wNr=class{constructor(t,n){this.callback=t,this.initialDelay=q_l,this.multiplier=U_l,this.maxDelay=j_l,this.jitter=G_l,this.running=!1,this.hasRef=!0,this.startTime=new Date,this.endTime=new Date,n&&(n.initialDelay&&(this.initialDelay=n.initialDelay),n.multiplier&&(this.multiplier=n.multiplier),n.jitter&&(this.jitter=n.jitter),n.maxDelay&&(this.maxDelay=n.maxDelay)),this.nextDelay=this.initialDelay,this.timerId=setTimeout(()=>{},0),clearTimeout(this.timerId)}runTimer(t){var n,i;this.endTime=this.startTime,this.endTime.setMilliseconds(this.endTime.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),this.timerId=setTimeout(()=>{this.callback(),this.running=!1},t),this.hasRef||(i=(n=this.timerId).unref)===null||i===void 0||i.call(n)}runOnce(){this.running=!0,this.startTime=new Date,this.runTimer(this.nextDelay);let t=Math.min(this.nextDelay*this.multiplier,this.maxDelay),n=t*this.jitter;this.nextDelay=t+W_l(-n,n)}stop(){clearTimeout(this.timerId),this.running=!1}reset(){if(this.nextDelay=this.initialDelay,this.running){let t=new Date,n=this.startTime;n.setMilliseconds(n.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),t<n?this.runTimer(n.getTime()-t.getTime()):this.running=!1}}isRunning(){return this.running}ref(){var t,n;this.hasRef=!0,(n=(t=this.timerId).ref)===null||n===void 0||n.call(t)}unref(){var t,n;this.hasRef=!1,(n=(t=this.timerId).unref)===null||n===void 0||n.call(t)}getEndTime(){return this.endTime}};$wt.BackoffTimeout=wNr});var e6t=C(Zwt=>{"use strict";Object.defineProperty(Zwt,"__esModule",{value:!0});Zwt.ChildLoadBalancerHandler=void 0;var H_l=Gfe(),Y_l=r6(),V_l="child_load_balancer_helper",RNr=class{constructor(t,n){this.channelControlHelper=t,this.options=n,this.currentChild=null,this.pendingChild=null,this.latestConfig=null,this.ChildPolicyHelper=class{constructor(i){this.parent=i,this.child=null}createSubchannel(i,o){return this.parent.channelControlHelper.createSubchannel(i,o)}updateState(i,o){var s;if(this.calledByPendingChild()){if(i===Y_l.ConnectivityState.CONNECTING)return;(s=this.parent.currentChild)===null||s===void 0||s.destroy(),this.parent.currentChild=this.parent.pendingChild,this.parent.pendingChild=null}else if(!this.calledByCurrentChild())return;this.parent.channelControlHelper.updateState(i,o)}requestReresolution(){var i;let o=(i=this.parent.pendingChild)!==null&&i!==void 0?i:this.parent.currentChild;this.child===o&&this.parent.channelControlHelper.requestReresolution()}setChild(i){this.child=i}addChannelzChild(i){this.parent.channelControlHelper.addChannelzChild(i)}removeChannelzChild(i){this.parent.channelControlHelper.removeChannelzChild(i)}calledByPendingChild(){return this.child===this.parent.pendingChild}calledByCurrentChild(){return this.child===this.parent.currentChild}}}configUpdateRequiresNewPolicyInstance(t,n){return t.getLoadBalancerName()!==n.getLoadBalancerName()}updateAddressList(t,n,i){let o;if(this.currentChild===null||this.latestConfig===null||this.configUpdateRequiresNewPolicyInstance(this.latestConfig,n)){let s=new this.ChildPolicyHelper(this),a=(0,H_l.createLoadBalancer)(n,s,this.options);s.setChild(a),this.currentChild===null?(this.currentChild=a,o=this.currentChild):(this.pendingChild&&this.pendingChild.destroy(),this.pendingChild=a,o=this.pendingChild)}else this.pendingChild===null?o=this.currentChild:o=this.pendingChild;this.latestConfig=n,o.updateAddressList(t,n,i)}exitIdle(){this.currentChild&&(this.currentChild.exitIdle(),this.pendingChild&&this.pendingChild.exitIdle())}resetBackoff(){this.currentChild&&(this.currentChild.resetBackoff(),this.pendingChild&&this.pendingChild.resetBackoff())}destroy(){this.currentChild&&(this.currentChild.destroy(),this.currentChild=null),this.pendingChild&&(this.pendingChild.destroy(),this.pendingChild=null)}getTypeName(){return V_l}};Zwt.ChildLoadBalancerHandler=RNr});var NBi=C(t6t=>{"use strict";Object.defineProperty(t6t,"__esModule",{value:!0});t6t.ResolvingLoadBalancer=void 0;var K_l=Gfe(),J_l=_Nr(),T_=r6(),X_l=mk(),LZe=FZ(),$_l=FZe(),BNr=Rc(),Z_l=aC(),exl=pA(),txl=Rc(),rxl=DS(),nxl=e6t(),ixl="resolving_load_balancer";function DBi(r){exl.trace(txl.LogVerbosity.DEBUG,ixl,r)}var oxl=["SERVICE_AND_METHOD","SERVICE","EMPTY"];function sxl(r,t,n,i){for(let o of n.name)switch(i){case"EMPTY":if(!o.service&&!o.method)return!0;break;case"SERVICE":if(o.service===r&&!o.method)return!0;break;case"SERVICE_AND_METHOD":if(o.service===r&&o.method===t)return!0}return!1}function axl(r,t,n,i){for(let o of n)if(sxl(r,t,o,i))return o;return null}function lxl(r){return function(n,i){var o,s;let a=n.split("/").filter(u=>u.length>0),l=(o=a[0])!==null&&o!==void 0?o:"",c=(s=a[1])!==null&&s!==void 0?s:"";if(r&&r.methodConfig)for(let u of oxl){let d=axl(l,c,r.methodConfig,u);if(d)return{methodConfig:d,pickInformation:{},status:BNr.Status.OK,dynamicFilterFactories:[]}}return{methodConfig:{name:[]},pickInformation:{},status:BNr.Status.OK,dynamicFilterFactories:[]}}}var MNr=class{constructor(t,n,i,o,s){this.target=t,this.channelControlHelper=n,this.onSuccessfulResolution=o,this.onFailedResolution=s,this.latestChildState=T_.ConnectivityState.IDLE,this.latestChildPicker=new LZe.QueuePicker(this),this.currentState=T_.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1,i["grpc.service_config"]?this.defaultServiceConfig=(0,J_l.validateServiceConfig)(JSON.parse(i["grpc.service_config"])):this.defaultServiceConfig={loadBalancingConfig:[],methodConfig:[]},this.updateState(T_.ConnectivityState.IDLE,new LZe.QueuePicker(this)),this.childLoadBalancer=new nxl.ChildLoadBalancerHandler({createSubchannel:n.createSubchannel.bind(n),requestReresolution:()=>{this.backoffTimeout.isRunning()?(DBi("requestReresolution delayed by backoff timer until "+this.backoffTimeout.getEndTime().toISOString()),this.continueResolving=!0):this.updateResolution()},updateState:(l,c)=>{this.latestChildState=l,this.latestChildPicker=c,this.updateState(l,c)},addChannelzChild:n.addChannelzChild.bind(n),removeChannelzChild:n.removeChannelzChild.bind(n)},i),this.innerResolver=(0,X_l.createResolver)(t,{onSuccessfulResolution:(l,c,u,d,p)=>{var f;this.backoffTimeout.stop(),this.backoffTimeout.reset();let A=null;c===null?u===null?(this.previousServiceConfig=null,A=this.defaultServiceConfig):this.previousServiceConfig===null?this.handleResolutionFailure(u):A=this.previousServiceConfig:(A=c,this.previousServiceConfig=c);let h=(f=A?.loadBalancingConfig)!==null&&f!==void 0?f:[],y=(0,K_l.selectLbConfigFromList)(h,!0);if(y===null){this.handleResolutionFailure({code:BNr.Status.UNAVAILABLE,details:"All load balancer options in service config are not compatible",metadata:new Z_l.Metadata});return}this.childLoadBalancer.updateAddressList(l,y,p);let I=A??this.defaultServiceConfig;this.onSuccessfulResolution(I,d??lxl(I))},onError:l=>{this.handleResolutionFailure(l)}},i);let a={initialDelay:i["grpc.initial_reconnect_backoff_ms"],maxDelay:i["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new $_l.BackoffTimeout(()=>{this.continueResolving?(this.updateResolution(),this.continueResolving=!1):this.updateState(this.latestChildState,this.latestChildPicker)},a),this.backoffTimeout.unref()}updateResolution(){this.innerResolver.updateResolution(),this.currentState===T_.ConnectivityState.IDLE&&this.updateState(T_.ConnectivityState.CONNECTING,this.latestChildPicker),this.backoffTimeout.runOnce()}updateState(t,n){DBi((0,rxl.uriToString)(this.target)+" "+T_.ConnectivityState[this.currentState]+" -> "+T_.ConnectivityState[t]),t===T_.ConnectivityState.IDLE&&(n=new LZe.QueuePicker(this,n)),this.currentState=t,this.channelControlHelper.updateState(t,n)}handleResolutionFailure(t){this.latestChildState===T_.ConnectivityState.IDLE&&(this.updateState(T_.ConnectivityState.TRANSIENT_FAILURE,new LZe.UnavailablePicker(t)),this.onFailedResolution(t))}exitIdle(){(this.currentState===T_.ConnectivityState.IDLE||this.currentState===T_.ConnectivityState.TRANSIENT_FAILURE)&&(this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()),this.childLoadBalancer.exitIdle()}updateAddressList(t,n){throw new Error("updateAddressList not supported on ResolvingLoadBalancer")}resetBackoff(){this.backoffTimeout.reset(),this.childLoadBalancer.resetBackoff()}destroy(){this.childLoadBalancer.destroy(),this.innerResolver.destroy(),this.backoffTimeout.reset(),this.backoffTimeout.stop(),this.latestChildState=T_.ConnectivityState.IDLE,this.latestChildPicker=new LZe.QueuePicker(this),this.currentState=T_.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1}getTypeName(){return"resolving_load_balancer"}};t6t.ResolvingLoadBalancer=MNr});var PBi=C(mSe=>{"use strict";Object.defineProperty(mSe,"__esModule",{value:!0});mSe.channelOptionsEqual=mSe.recognizedOptions=void 0;mSe.recognizedOptions={"grpc.ssl_target_name_override":!0,"grpc.primary_user_agent":!0,"grpc.secondary_user_agent":!0,"grpc.default_authority":!0,"grpc.keepalive_time_ms":!0,"grpc.keepalive_timeout_ms":!0,"grpc.keepalive_permit_without_calls":!0,"grpc.service_config":!0,"grpc.max_concurrent_streams":!0,"grpc.initial_reconnect_backoff_ms":!0,"grpc.max_reconnect_backoff_ms":!0,"grpc.use_local_subchannel_pool":!0,"grpc.max_send_message_length":!0,"grpc.max_receive_message_length":!0,"grpc.enable_http_proxy":!0,"grpc.enable_channelz":!0,"grpc.dns_min_time_between_resolutions_ms":!0,"grpc.enable_retries":!0,"grpc.per_rpc_retry_buffer_size":!0,"grpc.retry_buffer_size":!0,"grpc.max_connection_age_ms":!0,"grpc.max_connection_age_grace_ms":!0,"grpc-node.max_session_memory":!0,"grpc.service_config_disable_resolution":!0,"grpc.client_idle_timeout_ms":!0,"grpc-node.tls_enable_trace":!0,"grpc.lb.ring_hash.ring_size_cap":!0};function uxl(r,t){let n=Object.keys(r).sort(),i=Object.keys(t).sort();if(n.length!==i.length)return!1;for(let o=0;o<n.length;o+=1)if(n[o]!==i[o]||r[n[o]]!==t[i[o]])return!1;return!0}mSe.channelOptionsEqual=uxl});var L8=C(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.EndpointMap=Ty.endpointHasAddress=Ty.endpointToString=Ty.endpointEqual=Ty.stringToSubchannelAddress=Ty.subchannelAddressToString=Ty.subchannelAddressEqual=Ty.isTcpSubchannelAddress=void 0;var cxl=require("net");function qZe(r){return"port"in r}Ty.isTcpSubchannelAddress=qZe;function r6t(r,t){return!r&&!t?!0:!r||!t?!1:qZe(r)?qZe(t)&&r.host===t.host&&r.port===t.port:!qZe(t)&&r.path===t.path}Ty.subchannelAddressEqual=r6t;function kBi(r){return qZe(r)?r.host+":"+r.port:r.path}Ty.subchannelAddressToString=kBi;var dxl=443;function pxl(r,t){return(0,cxl.isIP)(r)?{host:r,port:t??dxl}:{path:r}}Ty.stringToSubchannelAddress=pxl;function fxl(r,t){if(r.addresses.length!==t.addresses.length)return!1;for(let n=0;n<r.addresses.length;n++)if(!r6t(r.addresses[n],t.addresses[n]))return!1;return!0}Ty.endpointEqual=fxl;function Axl(r){return"["+r.addresses.map(kBi).join(", ")+"]"}Ty.endpointToString=Axl;function QBi(r,t){for(let n of r.addresses)if(r6t(n,t))return!0;return!1}Ty.endpointHasAddress=QBi;function zZe(r,t){if(r.addresses.length!==t.addresses.length)return!1;for(let n of r.addresses){let i=!1;for(let o of t.addresses)if(r6t(n,o)){i=!0;break}if(!i)return!1}return!0}var DNr=class{constructor(){this.map=new Set}get size(){return this.map.size}getForSubchannelAddress(t){for(let n of this.map)if(QBi(n.key,t))return n.value}deleteMissing(t){let n=[];for(let i of this.map){let o=!1;for(let s of t)zZe(s,i.key)&&(o=!0);o||(n.push(i.value),this.map.delete(i))}return n}get(t){for(let n of this.map)if(zZe(t,n.key))return n.value}set(t,n){for(let i of this.map)if(zZe(t,i.key)){i.value=n;return}this.map.add({key:t,value:n})}delete(t){for(let n of this.map)if(zZe(t,n.key)){this.map.delete(n);return}}has(t){for(let n of this.map)if(zZe(t,n.key))return!0;return!1}clear(){this.map.clear()}*keys(){for(let t of this.map)yield t.key}*values(){for(let t of this.map)yield t.value}*entries(){for(let t of this.map)yield[t.key,t.value]}};Ty.EndpointMap=DNr});var FBi=C(qNr=>{"use strict";Object.defineProperty(qNr,"t",{value:!0});var n6t=class{constructor(t,n,i=1){this.i=void 0,this.h=void 0,this.o=void 0,this.u=t,this.l=n,this.p=i}I(){let t=this,n=t.o.o===t;if(n&&t.p===1)t=t.h;else if(t.i)for(t=t.i;t.h;)t=t.h;else{if(n)return t.o;let i=t.o;for(;i.i===t;)t=i,i=t.o;t=i}return t}B(){let t=this;if(t.h){for(t=t.h;t.i;)t=t.i;return t}else{let n=t.o;for(;n.h===t;)t=n,n=t.o;return t.h!==n?n:t}}_(){let t=this.o,n=this.h,i=n.i;return t.o===this?t.o=n:t.i===this?t.i=n:t.h=n,n.o=t,n.i=this,this.o=n,this.h=i,i&&(i.o=this),n}g(){let t=this.o,n=this.i,i=n.h;return t.o===this?t.o=n:t.i===this?t.i=n:t.h=n,n.o=t,n.h=this,this.o=n,this.i=i,i&&(i.o=this),n}},NNr=class extends n6t{constructor(){super(...arguments),this.M=1}_(){let t=super._();return this.O(),t.O(),t}g(){let t=super.g();return this.O(),t.O(),t}O(){this.M=1,this.i&&(this.M+=this.i.M),this.h&&(this.M+=this.h.M)}},PNr=class{constructor(t=0){this.iteratorType=t}equals(t){return this.T===t.T}},kNr=class{constructor(){this.m=0}get length(){return this.m}size(){return this.m}empty(){return this.m===0}},QNr=class extends kNr{};function Wfe(){throw new RangeError("Iterator access denied!")}var FNr=class extends QNr{constructor(t=function(i,o){return i<o?-1:i>o?1:0},n=!1){super(),this.v=void 0,this.A=t,this.enableIndex=n,this.N=n?NNr:n6t,this.C=new this.N}R(t,n){let i=this.C;for(;t;){let o=this.A(t.u,n);if(o<0)t=t.h;else if(o>0)i=t,t=t.i;else return t}return i}K(t,n){let i=this.C;for(;t;)this.A(t.u,n)<=0?t=t.h:(i=t,t=t.i);return i}L(t,n){let i=this.C;for(;t;){let o=this.A(t.u,n);if(o<0)i=t,t=t.h;else if(o>0)t=t.i;else return t}return i}k(t,n){let i=this.C;for(;t;)this.A(t.u,n)<0?(i=t,t=t.h):t=t.i;return i}P(t){for(;;){let n=t.o;if(n===this.C)return;if(t.p===1){t.p=0;return}if(t===n.i){let i=n.h;if(i.p===1)i.p=0,n.p=1,n===this.v?this.v=n._():n._();else if(i.h&&i.h.p===1){i.p=n.p,n.p=0,i.h.p=0,n===this.v?this.v=n._():n._();return}else i.i&&i.i.p===1?(i.p=1,i.i.p=0,i.g()):(i.p=1,t=n)}else{let i=n.i;if(i.p===1)i.p=0,n.p=1,n===this.v?this.v=n.g():n.g();else if(i.i&&i.i.p===1){i.p=n.p,n.p=0,i.i.p=0,n===this.v?this.v=n.g():n.g();return}else i.h&&i.h.p===1?(i.p=1,i.h.p=0,i._()):(i.p=1,t=n)}}}S(t){if(this.m===1){this.clear();return}let n=t;for(;n.i||n.h;){if(n.h)for(n=n.h;n.i;)n=n.i;else n=n.i;let o=t.u;t.u=n.u,n.u=o;let s=t.l;t.l=n.l,n.l=s,t=n}this.C.i===n?this.C.i=n.o:this.C.h===n&&(this.C.h=n.o),this.P(n);let i=n.o;if(n===i.i?i.i=void 0:i.h=void 0,this.m-=1,this.v.p=0,this.enableIndex)for(;i!==this.C;)i.M-=1,i=i.o}U(t){let n=typeof t=="number"?t:void 0,i=typeof t=="function"?t:void 0,o=typeof t>"u"?[]:void 0,s=0,a=this.v,l=[];for(;l.length||a;)if(a)l.push(a),a=a.i;else{if(a=l.pop(),s===n)return a;o&&o.push(a),i&&i(a,s,this),s+=1,a=a.h}return o}j(t){for(;;){let n=t.o;if(n.p===0)return;let i=n.o;if(n===i.i){let o=i.h;if(o&&o.p===1){if(o.p=n.p=0,i===this.v)return;i.p=1,t=i;continue}else if(t===n.h){if(t.p=0,t.i&&(t.i.o=n),t.h&&(t.h.o=i),n.h=t.i,i.i=t.h,t.i=n,t.h=i,i===this.v)this.v=t,this.C.o=t;else{let s=i.o;s.i===i?s.i=t:s.h=t}t.o=i.o,n.o=t,i.o=t,i.p=1}else{n.p=0,i===this.v?this.v=i.g():i.g(),i.p=1;return}}else{let o=i.i;if(o&&o.p===1){if(o.p=n.p=0,i===this.v)return;i.p=1,t=i;continue}else if(t===n.i){if(t.p=0,t.i&&(t.i.o=i),t.h&&(t.h.o=n),i.h=t.i,n.i=t.h,t.i=i,t.h=n,i===this.v)this.v=t,this.C.o=t;else{let s=i.o;s.i===i?s.i=t:s.h=t}t.o=i.o,n.o=t,i.o=t,i.p=1}else{n.p=0,i===this.v?this.v=i._():i._(),i.p=1;return}}this.enableIndex&&(n.O(),i.O(),t.O());return}}q(t,n,i){if(this.v===void 0)return this.m+=1,this.v=new this.N(t,n,0),this.v.o=this.C,this.C.o=this.C.i=this.C.h=this.v,this.m;let o,s=this.C.i,a=this.A(s.u,t);if(a===0)return s.l=n,this.m;if(a>0)s.i=new this.N(t,n),s.i.o=s,o=s.i,this.C.i=o;else{let l=this.C.h,c=this.A(l.u,t);if(c===0)return l.l=n,this.m;if(c<0)l.h=new this.N(t,n),l.h.o=l,o=l.h,this.C.h=o;else{if(i!==void 0){let u=i.T;if(u!==this.C){let d=this.A(u.u,t);if(d===0)return u.l=n,this.m;if(d>0){let p=u.I(),f=this.A(p.u,t);if(f===0)return p.l=n,this.m;f<0&&(o=new this.N(t,n),p.h===void 0?(p.h=o,o.o=p):(u.i=o,o.o=u))}}}if(o===void 0)for(o=this.v;;){let u=this.A(o.u,t);if(u>0){if(o.i===void 0){o.i=new this.N(t,n),o.i.o=o,o=o.i;break}o=o.i}else if(u<0){if(o.h===void 0){o.h=new this.N(t,n),o.h.o=o,o=o.h;break}o=o.h}else return o.l=n,this.m}}}if(this.enableIndex){let l=o.o;for(;l!==this.C;)l.M+=1,l=l.o}return this.j(o),this.m+=1,this.m}H(t,n){for(;t;){let i=this.A(t.u,n);if(i<0)t=t.h;else if(i>0)t=t.i;else return t}return t||this.C}clear(){this.m=0,this.v=void 0,this.C.o=void 0,this.C.i=this.C.h=void 0}updateKeyByIterator(t,n){let i=t.T;if(i===this.C&&Wfe(),this.m===1)return i.u=n,!0;let o=i.B().u;if(i===this.C.i)return this.A(o,n)>0?(i.u=n,!0):!1;let s=i.I().u;return i===this.C.h?this.A(s,n)<0?(i.u=n,!0):!1:this.A(s,n)>=0||this.A(o,n)<=0?!1:(i.u=n,!0)}eraseElementByPos(t){if(t<0||t>this.m-1)throw new RangeError;let n=this.U(t);return this.S(n),this.m}eraseElementByKey(t){if(this.m===0)return!1;let n=this.H(this.v,t);return n===this.C?!1:(this.S(n),!0)}eraseElementByIterator(t){let n=t.T;n===this.C&&Wfe();let i=n.h===void 0;return t.iteratorType===0?i&&t.next():(!i||n.i===void 0)&&t.next(),this.S(n),t}getHeight(){if(this.m===0)return 0;function t(n){return n?Math.max(t(n.i),t(n.h))+1:0}return t(this.v)}},LNr=class extends PNr{constructor(t,n,i){super(i),this.T=t,this.C=n,this.iteratorType===0?(this.pre=function(){return this.T===this.C.i&&Wfe(),this.T=this.T.I(),this},this.next=function(){return this.T===this.C&&Wfe(),this.T=this.T.B(),this}):(this.pre=function(){return this.T===this.C.h&&Wfe(),this.T=this.T.B(),this},this.next=function(){return this.T===this.C&&Wfe(),this.T=this.T.I(),this})}get index(){let t=this.T,n=this.C.o;if(t===this.C)return n?n.M-1:0;let i=0;for(t.i&&(i+=t.i.M);t!==n;){let o=t.o;t===o.h&&(i+=1,o.i&&(i+=o.i.M)),t=o}return i}isAccessible(){return this.T!==this.C}},NS=class extends LNr{constructor(t,n,i,o){super(t,n,o),this.container=i}get pointer(){this.T===this.C&&Wfe();let t=this;return new Proxy([],{get(n,i){return i==="0"?t.T.u:i==="1"?t.T.l:(n[0]=t.T.u,n[1]=t.T.l,n[i])},set(n,i,o){if(i!=="1")throw new TypeError("prop must be 1");return t.T.l=o,!0}})}copy(){return new NS(this.T,this.C,this.container,this.iteratorType)}},zNr=class extends FNr{constructor(t=[],n,i){super(n,i);let o=this;t.forEach(function(s){o.setElement(s[0],s[1])})}begin(){return new NS(this.C.i||this.C,this.C,this)}end(){return new NS(this.C,this.C,this)}rBegin(){return new NS(this.C.h||this.C,this.C,this,1)}rEnd(){return new NS(this.C,this.C,this,1)}front(){if(this.m===0)return;let t=this.C.i;return[t.u,t.l]}back(){if(this.m===0)return;let t=this.C.h;return[t.u,t.l]}lowerBound(t){let n=this.R(this.v,t);return new NS(n,this.C,this)}upperBound(t){let n=this.K(this.v,t);return new NS(n,this.C,this)}reverseLowerBound(t){let n=this.L(this.v,t);return new NS(n,this.C,this)}reverseUpperBound(t){let n=this.k(this.v,t);return new NS(n,this.C,this)}forEach(t){this.U(function(n,i,o){t([n.u,n.l],i,o)})}setElement(t,n,i){return this.q(t,n,i)}getElementByPos(t){if(t<0||t>this.m-1)throw new RangeError;let n=this.U(t);return[n.u,n.l]}find(t){let n=this.H(this.v,t);return new NS(n,this.C,this)}getElementByKey(t){return this.H(this.v,t).l}union(t){let n=this;return t.forEach(function(i){n.setElement(i[0],i[1])}),this.m}*[Symbol.iterator](){let t=this.m,n=this.U();for(let i=0;i<t;++i){let o=n[i];yield[o.u,o.l]}}};qNr.OrderedMap=zNr});var i6t=C(ySe=>{"use strict";Object.defineProperty(ySe,"__esModule",{value:!0});ySe.addAdminServicesToServer=ySe.registerAdminService=void 0;var LBi=[];function hxl(r,t){LBi.push({getServiceDefinition:r,getHandlers:t})}ySe.registerAdminService=hxl;function gxl(r){for(let{getServiceDefinition:t,getHandlers:n}of LBi)r.addService(t(),n())}ySe.addAdminServicesToServer=gxl});var zBi=C(i6=>{"use strict";Object.defineProperty(i6,"__esModule",{value:!0});i6.ClientDuplexStreamImpl=i6.ClientWritableStreamImpl=i6.ClientReadableStreamImpl=i6.ClientUnaryCallImpl=i6.callErrorFromStatus=void 0;var mxl=require("events"),HNr=require("stream"),UZe=Rc();function yxl(r,t){let n=`${r.code} ${UZe.Status[r.code]}: ${r.details}`,o=`${new Error(n).stack}
298
+ ${JSON.stringify(s.data,null,2)}`,o,s.data,p.error);PRi(t)&&(s.data=p.data)}return s}:void 0}}function FRi(r){let t=new Set;for(let i of r){let o=`${i.method} ${i.path}`;if(t.has(o))throw new Error(`Zodios: Duplicate path '${o}'`);t.add(o)}let n=new Set;for(let i of r)if(i.alias){if(n.has(i.alias))throw new Error(`Zodios: Duplicate alias '${i.alias}'`);n.add(i.alias)}for(let i of r)if(i.parameters&&i.parameters.filter(o=>o.type==="Body").length>1)throw new Error(`Zodios: Multiple body parameters in endpoint '${i.path}'`)}function LRi(r){return FRi(r),r}var uvl,sSe,pvl,Avl,QRi,mvl,Z9r,eNr=Ge(()=>{x9r();uvl=/:([a-zA-Z_][a-zA-Z0-9_]*)/g;sSe=class extends Error{constructor(r,t,n,i){super(r),this.config=t,this.data=n,this.cause=i}},pvl={name:"form-data",request:async(r,t)=>{if(typeof t.data!="object"||Array.isArray(t.data))throw new sSe("Zodios: multipart/form-data body must be an object",t);let n=dvl(t.data);return{...t,data:n.data,headers:{...t.headers,...n.headers}}}};Avl={name:"form-url",request:async(r,t)=>{if(typeof t.data!="object"||Array.isArray(t.data))throw new sSe("Zodios: application/x-www-form-urlencoded body must be an object",t);return{...t,data:new URLSearchParams(t.data).toString(),headers:{...t.headers,"Content-Type":"application/x-www-form-urlencoded"}}}};QRi=class{constructor(r,t){this.plugins=[],this.key=`${r}-${t}`}indexOf(r){return this.plugins.findIndex(t=>t?.name===r)}use(r){if(r.name){let t=this.indexOf(r.name);if(t!==-1)return this.plugins[t]=r,{key:this.key,value:t}}return this.plugins.push(r),{key:this.key,value:this.plugins.length-1}}eject(r){if(typeof r=="string"){let t=this.indexOf(r);if(t===-1)throw new Error(`Plugin with name '${r}' not found`);this.plugins[t]=void 0}else{if(r.key!==this.key)throw new Error(`Plugin with key '${r.key}' is not registered for endpoint '${this.key}'`);this.plugins[r.value]=void 0}}async interceptRequest(r,t){let n=t;for(let i of this.plugins)i!=null&&i.request&&(n=await i.request(r,n));return n}async interceptResponse(r,t,n){let i=n;for(let o=this.plugins.length-1;o>=0;o--){let s=this.plugins[o];s&&(i=i.then(s!=null&&s.response?a=>s.response(r,t,a):void 0,s!=null&&s.error?a=>s.error(r,t,a):void 0))}return i}count(){return this.plugins.reduce((r,t)=>t?r+1:r,0)}};mvl=class{constructor(r,t,n){this.endpointPlugins=new Map;let i;if(!r)throw Array.isArray(t)?new Error("Zodios: missing base url"):new Error("Zodios: missing api description");let o;if(typeof r=="string"&&Array.isArray(t))o=r,this.api=t,i=n||{};else if(Array.isArray(r)&&!Array.isArray(t))this.api=r,i=t||{};else throw new Error("Zodios: api must be an array");FRi(this.api),this.options={validate:!0,transform:!0,sendDefaults:!1,...i},this.options.axiosInstance?this.axiosInstance=this.options.axiosInstance:this.axiosInstance=kfe.create({...this.options.axiosConfig}),o&&(this.axiosInstance.defaults.baseURL=o),this.injectAliasEndpoints(),this.initPlugins(),[!0,"all","request","response"].includes(this.options.validate)&&this.use(gvl(this.options))}initPlugins(){this.endpointPlugins.set("any-any",new QRi("any","any")),this.api.forEach(r=>{let t=new QRi(r.method,r.path);switch(r.requestFormat){case"binary":t.use(NRi("Content-Type","application/octet-stream"));break;case"form-data":t.use(fvl());break;case"form-url":t.use(hvl());break;case"text":t.use(NRi("Content-Type","text/plain"));break}this.endpointPlugins.set(`${r.method}-${r.path}`,t)})}getAnyEndpointPlugins(){return this.endpointPlugins.get("any-any")}findAliasEndpointPlugins(r){let t=this.api.find(n=>n.alias===r);if(t)return this.endpointPlugins.get(`${t.method}-${t.path}`)}findEnpointPlugins(r,t){return this.endpointPlugins.get(`${r}-${t}`)}get baseURL(){return this.axiosInstance.defaults.baseURL}get axios(){return this.axiosInstance}use(...r){if(typeof r[0]=="object")return this.getAnyEndpointPlugins().use(r[0]);if(typeof r[0]=="string"&&typeof r[1]=="object"){let t=this.findAliasEndpointPlugins(r[0]);if(!t)throw new Error(`Zodios: no alias '${r[0]}' found to register plugin`);return t.use(r[1])}else if(typeof r[0]=="string"&&typeof r[1]=="string"&&typeof r[2]=="object"){let t=this.findEnpointPlugins(r[0],r[1]);if(!t)throw new Error(`Zodios: no endpoint '${r[0]} ${r[1]}' found to register plugin`);return t.use(r[2])}throw new Error("Zodios: invalid plugin registration")}eject(r){var t;if(typeof r=="string"){this.getAnyEndpointPlugins().eject(r);return}(t=this.endpointPlugins.get(r.key))==null||t.eject(r)}injectAliasEndpoints(){this.api.forEach(r=>{r.alias&&(["post","put","patch","delete"].includes(r.method)?this[r.alias]=(t,n)=>this.request({...n,method:r.method,url:r.path,data:t}):this[r.alias]=t=>this.request({...t,method:r.method,url:r.path}))})}async request(r){let t=r,n=this.getAnyEndpointPlugins(),i=this.findEnpointPlugins(t.method,t.url);t=await n.interceptRequest(this.api,t),i&&(t=await i.interceptRequest(this.api,t));let o=this.axiosInstance.request({...lvl(t,["params","queries"]),url:cvl(t),params:t.queries});return i&&(o=i.interceptResponse(this.api,t,o)),o=n.interceptResponse(this.api,t,o),(await o).data}async get(r,...[t]){return this.request({...t,method:"get",url:r})}async post(r,t,...[n]){return this.request({...n,method:"post",url:r,data:t})}async put(r,t,...[n]){return this.request({...n,method:"put",url:r,data:t})}async patch(r,t,...[n]){return this.request({...n,method:"patch",url:r,data:t})}async delete(r,t,...[n]){return this.request({...n,method:"delete",url:r,data:t})}},Z9r=mvl});function uBi(r,t){return new Z9r(r,lBi,t)}var yvl,GRi,Ve,WRi,qfe,HRi,nNr,YRi,VRi,rNr,Evl,bvl,Cvl,Ivl,vvl,KRi,_vl,JRi,xvl,Tvl,RZe,zRi,XRi,Svl,Ovl,wvl,iNr,Rvl,Bvl,$Ri,Mvl,Dvl,Nvl,Pvl,kvl,oNr,Qvl,Fvl,Lvl,Qwt,sNr,zvl,ZRi,gYd,tNr,qRi,eBi,aNr,tBi,rBi,qvl,Uvl,jvl,Gvl,Wvl,Hvl,Yvl,nBi,iBi,Vvl,Kvl,Jvl,Xvl,$vl,Zvl,e4l,t4l,oBi,r4l,n4l,URi,i4l,o4l,s4l,a4l,l4l,u4l,c4l,mYd,yYd,EYd,bYd,d4l,CYd,p4l,IYd,vYd,f4l,A4l,_Yd,h4l,g4l,m4l,y4l,lNr,E4l,b4l,C4l,I4l,sBi,v4l,_4l,jRi,aBi,xYd,TYd,SYd,x4l,T4l,OYd,wYd,lBi,RYd,cBi=Ge(()=>{"use strict";eNr();si();yvl=O.union([O.object({type:O.literal("token"),idToken:O.string(),accessToken:O.string(),orgID:O.string()}),O.object({type:O.literal("code"),code:O.string(),redirectURI:O.string(),codeVerifier:O.string(),orgID:O.string(),extraTokenParams:O.object({}).partial().passthrough().optional()})]),GRi=O.object({errorString:O.string().describe("The error message."),errorDetail:O.string().describe("Additional detail about the error.").optional()}),Ve=O.object({error:GRi}).passthrough(),WRi=O.object({backgroundColor:O.string(),textColor:O.string()}).partial(),qfe=O.object({id:O.string().describe("The user ID."),firstName:O.string().describe("User first name.").optional(),lastName:O.string().describe("User last name.").optional(),email:O.string().optional(),accountType:O.enum(["SSO","normal"]).optional()}),HRi=O.enum(["Deleting","Deploying","Failed Deploy","Failed Refresh","Initializing","Refreshing","Waiting"]),nNr=O.enum(["snowflake","databricks"]),YRi=O.object({connectionAccount:O.string().describe("The Snowflake account name.").optional(),defaultStorageMapping:O.string().nullish(),description:O.string().describe("The Workspace description.").optional(),name:O.string().describe("The Workspace name."),oauthEnabled:O.boolean().describe("If Snowflake OAuth is enabled."),tagColors:WRi.describe("The tag color from the Environment settings.").optional(),project:O.string().describe("The Project ID."),createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),updatedAt:O.string().datetime({offset:!0}),currentGitBranch:O.string().describe("The branch most recently run on this environment.").optional(),currentGitCommit:O.string().optional(),currentGitURL:O.string().optional(),currentlyRunningJobs:O.array(O.number()).describe("An array of any running Jobs. If there are not Jobs running, this will return empty.").optional(),id:O.string(),deployedCommit:O.string().describe("The most recently deployed commit ID.").optional(),status:HRi,platformKind:nNr.optional()}).passthrough(),VRi=O.record(O.object({database:O.string().describe("The Snowflake database name."),schema:O.string().describe("The database schema.")}).partial().passthrough()),rNr=YRi.and(O.object({runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here.").optional(),currentMappings:VRi.describe("The Storage Mapping name.").optional()}).passthrough()),Evl=O.enum(["Deleting","Deploying","Failed Deploy","Failed Dev Run","Failed Refresh","Initializing","Refreshing","Running Dev Run","Waiting"]),bvl=O.object({createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),id:O.string().describe("The Environment ID."),name:O.string().describe("Name of the Environment."),project:O.string().describe("The Project ID."),status:Evl}),Cvl=O.object({data:O.union([O.array(rNr),O.array(bvl)]).describe("A collection of environment information.")}).passthrough(),Ivl=O.object({connectionAccount:O.string().describe("The Snowflake account name.").optional(),defaultStorageMapping:O.string().nullish(),description:O.string().describe("The Environment description.").optional(),name:O.string().describe("The Environment name."),oauthEnabled:O.boolean().describe("If Snowflake OAuth is enabled."),runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here.").optional(),tagColors:WRi.describe("The tag color from the Environment settings.").optional(),project:O.string()}).passthrough(),vvl=Ivl.and(O.object({mappings:VRi.describe("The Storage Mapping name.")}).partial().passthrough()),KRi=O.union([O.enum(["Dimension","Fact","Hub","Link","Satellite","Source","Stage","View","persistentStage"]),O.string()]),_vl=O.object({database:O.string().describe("The Snowflake database name."),id:O.string().describe("The Coalesce Node ID."),locationName:O.string().describe("The Storage Mapping location."),name:O.string().describe("The Node name."),nodeType:KRi,schema:O.string().describe("The database schema name.")}).passthrough(),JRi=O.object({database:O.string().describe("The Snowflake database name."),description:O.string().describe("The Node description."),id:O.string().describe("The Node ID."),locationName:O.string().describe("The Storage Mapping location."),name:O.string().describe("The Node name."),nodeType:KRi,schema:O.string().describe("The Snowflake schema name.")}).passthrough(),xvl=JRi,Tvl=JRi,RZe=O.union([xvl,Tvl]),zRi=O.object({data:O.union([O.array(_vl),O.array(RZe)]).describe("A collection of nodes for an environment.")}).passthrough(),XRi=O.object({id:O.string().describe("The Job ID."),name:O.string().describe("The Job name."),includeSelector:O.string().describe("A selector string of nodes to include."),excludeSelector:O.string().describe("A selector string of nodes to exclude."),createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0})}).passthrough(),Svl=O.object({platformKind:nNr.optional(),description:O.string().optional(),gitRepoURL:O.string().optional(),name:O.string()}).passthrough(),Ovl=O.enum(["active","deleted"]),wvl=O.object({id:O.string(),name:O.string(),project:O.string().describe("The Project ID."),status:HRi,createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0}),jobs:O.array(XRi).optional()}).passthrough(),iNr=Svl.and(O.object({createdAt:O.string().datetime({offset:!0}),createdBy:qfe.describe("Summary information about a user.").optional(),updatedAt:O.string().datetime({offset:!0}),updatedBy:qfe.describe("Summary information about a user.").optional(),id:O.string(),status:Ovl,workspaces:O.array(wvl).optional()}).passthrough()),Rvl=O.object({data:O.array(iNr).describe("A collection of project information.")}).passthrough(),Bvl=O.object({data:iNr.describe("A project groups environments and workspaces for easier management and access control.")}).passthrough(),$Ri=O.object({id:O.string(),name:O.string(),createdAtUtc:O.string().datetime({offset:!0}),updatedAtUtc:O.string().datetime({offset:!0}),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable").optional()}).passthrough(),Mvl=O.object({data:O.array($Ri).describe("A collection of project information.")}).passthrough(),Dvl=O.object({data:$Ri}).passthrough(),Nvl=O.object({id:O.string(),projectId:O.string(),name:O.string(),createdAtUtc:O.string().datetime({offset:!0}),updatedAtUtc:O.string().datetime({offset:!0}),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable")}).partial().passthrough(),Pvl=O.object({data:O.array(Nvl).describe("A collection of job information.")}).passthrough(),kvl=O.enum(["SCHEDULING","RUNNING","SUCCEEDED","TERMINATING","FAILED"]),oNr=O.object({id:O.string(),jobId:O.string(),status:kvl.describe("Possible statuses of jobs"),startedAtUtc:O.string().datetime({offset:!0}).nullable(),endedAtUtc:O.string().datetime({offset:!0}).nullable(),logs:O.array(O.string()),extras:O.object({}).partial().passthrough().describe("Additional data, if applicable")}).partial().passthrough(),Qvl=O.object({data:oNr}).passthrough(),Fvl=O.literal("Triggered by Fivetran"),Lvl=O.object({cause:Fvl.describe("Possible run cause")}).passthrough(),Qwt=O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough(),sNr=O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough(),zvl=O.object({organizationRoles:O.array(O.string()).describe("The organization roles assigned to the user."),projects:O.record(sNr).describe("A dictionary of project role assignments keyed by project ID.")}).passthrough(),ZRi=zvl.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),gYd=O.array(ZRi),tNr=O.object({updatedBy:O.string().optional(),updatedAt:O.string().datetime({offset:!0}).optional(),name:O.string(),publisherID:O.string(),description:O.string(),org:O.string(),latestRelease:O.string(),overview:O.string(),featured:O.boolean(),tags:O.array(O.string()),certified:O.boolean(),packageID:O.string(),id:O.string()}).passthrough(),qRi=O.object({createdBy:O.string(),createdAt:O.string().datetime({offset:!0}),updatedBy:O.string().optional(),updatedAt:O.string().datetime({offset:!0}).optional(),version:O.string(),changeLog:O.string(),releaseID:O.string(),storagePath:O.string(),privacy:O.enum(["public","private","unlisted"])}).passthrough(),eBi=O.object({changeLog:O.string(),version:O.string(),certified:O.boolean().optional()}).passthrough(),aNr=O.lazy(()=>O.object({packageID:O.string().min(1),alias:O.string(),version:O.string(),releaseID:O.string().min(1),macros:O.string(),dependencies:O.record(aNr)}).passthrough()),tBi=O.object({name:O.string(),version:O.number(),id:O.string(),isDisabled:O.boolean(),metadata:O.object({}).partial().passthrough()}).passthrough(),rBi=O.object({dependencies:O.record(aNr),nodeTypes:O.record(tBi),macros:O.string()}).passthrough(),qvl=O.object({release:eBi.describe("Package release information for a create operation."),name:O.string(),description:O.string(),overview:O.string().max(200).optional(),privacy:O.enum(["public","private","unlisted"]),entities:rBi.describe("Entities that are part of a package release."),packageVariables:O.string()}).passthrough(),Uvl=O.object({release:eBi.describe("Package release information for a create operation."),privacy:O.enum(["public","private","unlisted"]),entities:rBi.describe("Entities that are part of a package release."),packageVariables:O.string(),packageID:O.string().min(1)}).passthrough(),jvl=O.object({packageID:O.string().min(1),releaseID:O.string().min(1),changeLog:O.string().optional(),description:O.string().optional(),privacy:O.enum(["public","private","unlisted"]).optional()}).passthrough(),Gvl=O.object({typesenseKey:O.string().describe("The Typesense access key scoped to a users org."),typesenseHosts:O.array(O.string()).describe("The Typesense host address(es) for our cluster(s).")}).passthrough(),Wvl=O.union([O.number(),O.string()]).describe("The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.").optional(),Hvl=O.enum(["asc","desc"]),Yvl=O.enum(["id","runStartTime","runEndTime"]),nBi=O.enum(["deploy","refresh"]),iBi=O.enum(["canceled","completed","failed","initializing","rendering","running","waitingToRun"]),Vvl=O.object({id:O.number().int().describe("The run ID."),reRunID:O.string().describe("If this is a re-run, the ID of the original operation.").optional(),runStartTime:O.string().datetime({offset:!0}).describe("The datetime the run started.").optional(),runEndTime:O.string().datetime({offset:!0}).describe("The datetime the run ended.").optional(),runType:nBi.describe("A run type to filter the query results."),runStatus:iBi.describe("A status value to filter the query results."),environmentID:O.string().describe("The environment in which the run operation was applied.").optional(),runFailureReason:O.string().describe("Information about the cause of a run failure.").optional()}).passthrough(),Kvl=O.object({canceled:O.boolean().describe("If the run was canceled.").optional(),deployCommit:O.string().describe("The full commit hash."),deployCommitMessage:O.string().describe("The commit message.").optional(),environmentID:O.string().describe("The Environment ID for this run."),parallelism:O.number().int().describe("The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.").optional(),nodesInRun:O.number().int().describe("The number of Nodes deployed.").optional()}),Jvl=O.object({canceled:O.boolean().describe("If the run was canceled.").optional(),environmentID:O.string().describe("The Environment ID for this run."),excludeNodesSelector:O.string().describe("A selector string of nodes to exclude.").optional(),forceIgnoreEnvironmentStatus:O.boolean().optional(),includeNodesSelector:O.string().describe("A selector string of nodes to include.").optional(),jobID:O.number().int().describe("The Job ID.").optional(),parallelism:O.number().int().describe("The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse.").optional(),refreshDescription:O.string().describe("The Job name.").optional(),nodesForRefresh:O.number().int().optional(),nodesInRun:O.number().int().describe("The number of Nodes deployed.").optional(),executor:O.string().optional()}),Xvl=O.union([Kvl,Jvl]),$vl=O.enum(["Basic","Cloud","KeyPair","OAuth"]),Zvl=O.object({snowflakeAccount:O.string(),snowflakeAuthType:$vl,snowflakeRole:O.string().optional(),snowflakeUsername:O.string(),snowflakeWarehouse:O.string().optional()}),e4l=O.enum(["Token","Cloud"]),t4l=O.object({databricksHost:O.string(),databricksAuthType:e4l,databricksPath:O.string()}),oBi=O.object({id:O.number().int(),reRunID:O.string().describe("If this is a re-run, the ID of the original operation.").optional(),runDetails:Xvl.describe("Detailed information about a run."),runEndTime:O.string().datetime({offset:!0}).describe("The datetime when the run ended.").optional(),runHistory:O.array(O.number()).optional(),runStartTime:O.string().datetime({offset:!0}).describe("The datetime the run started.").optional(),runStatus:iBi.describe("A status value to filter the query results."),runTimeParameters:O.object({}).partial().passthrough().describe("The default Environment parameters. Parameters changed during deploy will not show here."),runType:nBi.describe("A run type to filter the query results."),userCredentials:O.union([Zvl,t4l]).optional(),userID:O.string().optional(),projectID:O.string(),version:O.number().int().optional()}),r4l=O.object({limit:O.number().int().describe("The maximum number of runs returned by this query."),orderByDirection:Hvl.describe("The sort order for query results."),orderBy:Yvl.describe("The field used to order results.").default("id"),data:O.union([O.array(Vvl),O.array(oBi)]).describe("A collection of runs.")}).passthrough(),n4l=O.unknown(),URi=O.object({endTime:O.string().datetime({offset:!0}).optional(),error:GRi.optional(),isRunning:O.boolean().describe("If the queried run is still running."),name:O.string().describe("The name of the Stage the query ran on."),queryID:O.string().optional(),rowsDeleted:O.number().int().optional(),rowsInserted:O.number().int().optional(),rowsUpdated:O.number().int().optional(),sql:O.string().describe("The SQL query run during the stage."),startTime:O.string().datetime({offset:!0}).optional(),status:O.string().describe("The query status."),success:O.boolean().describe("If the query results were run successfully."),warehouse:O.string().describe("Name of the warehouse.").optional()}),i4l=O.object({isRunning:O.boolean().describe("If the queried run is still running."),name:O.string(),nodeID:O.string(),runState:O.string().optional(),origin:n4l.optional(),queryResults:O.array(URi).describe("The query result returns the status of different stages such as Delete Table or Rename Table. See the queryResults name for the stage."),renderQueryResult:URi.optional()}),o4l=O.object({data:O.array(i4l).describe("A collection of run results.")}).passthrough(),s4l=O.object({apiKey:O.string(),authDomain:O.string(),projectId:O.string(),storageBucket:O.string(),messagingSenderId:O.string(),appId:O.string(),measurementId:O.string(),emulatorInfo:O.object({auth:O.string(),firestore:O.string(),storage:O.string()}).passthrough().optional()}).passthrough(),a4l=O.object({entityType:O.enum(["node","workspace","run","subgraph","job","macro","nodeType","packageOld","installedPackage"]),writeType:O.enum(["save","delete","merge"]),data:O.object({id:O.union([O.string(),O.number()]),version:O.union([O.string(),O.number()])}).passthrough()}).passthrough(),l4l=O.object({workspaceID:O.number(),writeInfo:O.array(a4l)}).passthrough(),u4l=O.object({name:O.string(),tags:O.array(O.string()),count:O.number().int()}).passthrough(),c4l=O.object({metrics:O.array(u4l)}).passthrough(),mYd=O.object({macros:O.string(),dependencies:O.record(aNr),nodeTypes:O.record(tBi)}).passthrough(),yYd=O.object({id:O.string(),version:O.string()}).passthrough(),EYd=O.object({id:O.string(),releaseID:O.string()}).passthrough(),bYd=O.string(),d4l=Qwt.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),CYd=O.array(d4l),p4l=sNr.and(O.object({user:qfe.describe("Summary information about a user.")}).passthrough()),IYd=O.array(p4l),vYd=O.object({data:oNr}).passthrough(),f4l=O.object({seconds:O.number(),nanoseconds:O.number()}),A4l=O.object({_seconds:O.number(),_nanoseconds:O.number()}),_Yd=O.union([f4l,A4l]),h4l=O.record(O.string()),g4l=O.record(O.boolean()),m4l=O.object({columnName:O.string(),tableName:O.string().nullable()}),y4l=O.enum(["MD5","SHA1","SHA256"]),lNr=O.object({columnID:O.string().describe("Column ID of the source column."),nodeID:O.string().describe("Node ID of the source columm.")}),E4l=O.object({hashAlgorithm:y4l,hashType:O.enum(["ChangeHash","Hash","HubHash","LinkHash","None"]).optional(),hubHashes:O.array(lNr).optional()}),b4l=O.object({columnReferences:O.array(lNr),transform:O.string().describe("Returns the SQL of any column transformations.")}),C4l=O.object({transform:O.string().describe("Returns the SQL of any column transformations.")}),I4l=O.union([b4l,C4l]),sBi=O.object({appliedColumnTests:g4l.describe("Will return `hasNull` or `isDistinct` as true or false if testing is enabled.").optional(),columnID:O.string().describe("The column ID."),columnReferences:O.array(m4l).optional(),config:O.object({}).partial().passthrough().describe("Returns any configuration options from the Node Config Tab.").optional(),dataType:O.string().describe("Column data type."),defaultValue:O.string().describe("The default column value.").optional(),description:O.string().describe("The column description."),hashDetails:E4l.optional(),hashedColumns:O.array(lNr).optional(),isBusinessKey:O.boolean().describe("Tags the column as a business key.").optional(),isChangeTracking:O.boolean().describe("Tags the column as a change tracking column in type 2 dimensions.").optional(),isSurrogateKey:O.boolean().describe("Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY.").optional(),keyColumnType:O.enum(["None","primaryBusinessKey","surrogateKey"]).optional(),name:O.string().describe("The column name."),nullable:O.boolean().describe("If the column can contain null values."),primaryKey:O.boolean().describe("Tags the column as a primary key.").optional(),sources:O.array(I4l).optional(),systemColumnType:O.enum(["None","sysCreateDate","sysCurrentFlag","sysEndDate","sysStartDate","sysUpdateDate","sysVersion"]).optional(),transform:O.string().optional(),uniqueKey:O.boolean().optional()}),v4l=O.object({customSQL:O.string()}),_4l=O.object({joinCondition:O.string()}),jRi=O.object({locationName:O.string(),nodeName:O.string()}),aBi=O.object({aliases:h4l.optional(),customSQL:v4l.optional(),dependencies:O.array(jRi),join:_4l,name:O.string(),noLinkRefs:O.array(jRi)}),xYd=YRi.and(O.object({mappingsV1:O.string(),runTimeParameters:O.string(),jobs:O.array(XRi)}).partial().passthrough()),TYd=O.object({columns:O.array(sBi),join:O.object({joinCondition:O.string().describe("Returns SQL from the Join tab.")}).optional(),sourceMapping:O.array(aBi).optional()}),SYd=O.enum(["table","view"]),x4l=O.enum(["After","Before"]),T4l=O.object({continueOnFailure:O.boolean(),description:O.string(),name:O.string(),runOrder:x4l,templateString:O.string()}),OYd=O.object({appliedNodeTests:O.array(T4l).default([]),columns:O.array(sBi).default([]),cteString:O.string().optional(),description:O.string().optional(),destinationName:O.string().optional(),enabledColumnTestIDs:O.array(O.string()),mapping:O.record(O.union([O.object({}).partial().passthrough(),O.string(),O.number(),O.boolean()])).optional(),materializationOption:O.string().optional(),sourceMapping:O.array(aBi)}),wYd=O.record(O.union([O.object({}).partial().passthrough(),O.string(),O.number(),O.boolean()])),lBi=LRi([{method:"get",path:"/api/integrations/fivetran/jobs/:jobId/history/:historyId",alias:"GetFivetranJobHistory",description:"Get Fivetran job history in org.",requestFormat:"json",parameters:[{name:"jobId",type:"Path",schema:O.string().describe("The Fivetran job ID.")},{name:"historyId",type:"Path",schema:O.string().describe("The Fivetran history ID.")}],response:Qvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/integrations/fivetran/jobs/:jobId/run",alias:"PostFivetranJobRefresh",requestFormat:"json",parameters:[{name:"body",description:"Request body for start Fivetran run.",type:"Body",schema:Lvl},{name:"jobId",type:"Path",schema:O.string().describe("The Fivetran job ID.")}],response:O.object({data:oNr}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects",alias:"GetFivetranProjects",description:"Get fivetran projects in org.",requestFormat:"json",response:Mvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects/:projectId",alias:"GetFivetranProject",requestFormat:"json",parameters:[{name:"projectId",type:"Path",schema:O.string().describe("The unique identifier for the project")}],response:Dvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/integrations/fivetran/projects/:projectId/jobs",alias:"GetFivetranJobs",description:"Get Fivetran jobs.",requestFormat:"json",parameters:[{name:"projectId",type:"Path",schema:O.string().describe("The unique identifier for the project")}],response:Pvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/admin/coa-tag",alias:"GetCoaTagReport",description:"Gets a report of all organizations that are using a non-standard coa image tag.",requestFormat:"json",response:O.object({defaultTag:O.string(),deviatingOrgs:O.array(O.object({orgID:O.string(),orgName:O.string(),tag:O.string(),image:O.string()}).passthrough())}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/admin/coa-tag/:orgId",alias:"GetCoaTag",description:"Gets the container image tag that should be used when running cloud coa jobs for a particular org.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/admin/coa-tag/:orgId",alias:"ResetCoaTag",description:"Resets the container image tag that should be used when running cloud coa jobs for a particular org to the default.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/admin/coa-tag/:orgId/:coaTag",alias:"SetCoaTag",description:"Sets the container image tag that should be used when running cloud coa jobs for a particular org.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")},{name:"coaTag",type:"Path",schema:O.string().describe("A coa container image tag in Google Container Registry.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/admin/kill-job/:orgId/:runId",alias:"KillJob",description:"Deletes the Kubernetes job.",requestFormat:"json",parameters:[{name:"orgId",type:"Path",schema:O.string().describe("The Organization ID of the organization that will be affected by the API call.")},{name:"runId",type:"Path",schema:O.number().int().describe("The Run ID of the run that will be affected by the API call.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/bulkWrite",alias:"BulkWrite",description:"Updates multiple documents for a workspace.",requestFormat:"json",parameters:[{name:"body",description:"The workspace to update and the path to the storage bucket containing the document write information.",type:"Body",schema:l4l}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/customToken",alias:"GenerateCustomToken",description:"Generate a Coalesce token from the provided OpenID Connect ID token",requestFormat:"json",parameters:[{name:"body",description:"The information from the OpenID Connect authorization server required to sign into Coalesce.",type:"Body",schema:yvl}],response:O.object({customToken:O.string().describe("A Coalesce token")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/database",alias:"GetDatabase",description:"Gets the information required to connect to the Coalesce database.",requestFormat:"json",response:s4l},{method:"get",path:"/api/v1/environments",alias:"GetEnvironments",description:"Get a collection of Environment information.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the environments.").optional()}],response:Cvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/environments",alias:"CreateEnvironment",description:"Create a new environment.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:vvl},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:rNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/environments/:environmentID",alias:"DeleteEnvironment",description:"Delete an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID",alias:"GetEnvironment",description:"Get information about an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:rNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/jobs/:jobID",alias:"GetJob",description:"Get information about a job in an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.number().describe("The environment ID.")},{name:"jobID",type:"Path",schema:O.number().describe("The job ID.")}],response:O.object({id:O.string().describe("The Job ID."),name:O.string().describe("The Job name."),includeSelector:O.string().describe("A selector string of nodes to include."),excludeSelector:O.string().describe("A selector string of nodes to exclude."),createdAt:O.string().datetime({offset:!0}),updatedAt:O.string().datetime({offset:!0})}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/nodes",alias:"GetNodes",description:"Get a collection of nodes for an environment",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the nodes.").optional()}],response:zRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/environments/:environmentID/nodes/:nodeID",alias:"GetNode",description:"Get information about a node in an environment.",requestFormat:"json",parameters:[{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/metrics",alias:"SubmitMetrics",description:"Submit a set of metrics",requestFormat:"json",parameters:[{name:"body",description:"The metrics to submit",type:"Body",schema:c4l}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/multiFactorAuth/:userID",alias:"RemoveMultiFactor",description:"Deletes the MFA for a user in firebase auth",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID",alias:"GetRegistryPackage",description:"Get a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")}],response:tNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/packageRegistry/:packageID",alias:"DeletePackage",description:"Deletes a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID/releases/:releaseID",alias:"GetRegistryPackageRelease",description:"Get a release from a package in the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")},{name:"releaseID",type:"Path",schema:O.string().min(1).describe("The package release ID.")}],response:qRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/:packageID/releases/privacy/:privacy",alias:"GetAllRegistryPackageReleases",description:"Get all available releases for a package on the registry.",requestFormat:"json",parameters:[{name:"packageID",type:"Path",schema:O.string().min(1).describe("The package id.")},{name:"privacy",type:"Path",schema:O.enum(["public","private","unlisted","all"]).describe("The privacy level of the packages requested")}],response:O.array(qRi),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/all",alias:"GetAllRegistryPackages",description:"Get all available packages on the registry.",requestFormat:"json",response:O.array(tNr),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/packageRegistry/createPackage",alias:"CreatePackage",description:"Create a package.",requestFormat:"json",parameters:[{name:"body",description:"The package info to create with.",type:"Body",schema:qvl}],response:O.object({releaseID:O.string().min(1),publisherID:O.string(),packageID:O.string().min(1),storePath:O.string()}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/packageRegistry/createRelease",alias:"AddPackageRelease",description:"Add a new package release to an existing package.",requestFormat:"json",parameters:[{name:"body",description:"The package release info.",type:"Body",schema:Uvl}],response:O.object({releaseID:O.string().min(1),publisherID:O.string(),packageID:O.string().min(1),storePath:O.string()}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/packageRegistry/org",alias:"GetRegistryPackagesForOrg",description:"Get a release from a package in the registry.",requestFormat:"json",response:O.array(tNr),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/packageRegistry/update",alias:"UpdatePackage",description:"Update a package.",requestFormat:"json",parameters:[{name:"body",description:"The package info to create with.",type:"Body",schema:jvl}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/projects",alias:"GetProjectsInOrg",description:"Get projects in org.",requestFormat:"json",parameters:[{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:Rvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/projects",alias:"CreateProject",description:"Create a new project.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:O.object({platformKind:nNr.optional(),description:O.string().optional(),gitRepoURL:O.string().optional(),name:O.string()}).passthrough()}],response:iNr,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/projects/:projectID",alias:"GetProjectInOrg",description:"Get a project.",requestFormat:"json",parameters:[{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:Bvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/projects/:projectID",alias:"DeleteProject",description:"Delete a project.",requestFormat:"json",parameters:[{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"includeWorkspaces",type:"Query",schema:O.boolean().describe("Whether or not to include nested workspace data for all projects.").optional()},{name:"includeJobs",type:"Query",schema:O.boolean().describe("Whether or not to include nested job data for all workspaces in the projects.").optional()}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs",alias:"GetRuns",description:"Get a collection of information about runs.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"limit",type:"Query",schema:O.number().int().gte(0).lte(1e3).describe("The maximum number of runs to return.").optional().default(25)},{name:"startingFrom",type:"Query",schema:Wvl},{name:"orderBy",type:"Query",schema:O.enum(["id","runStartTime","runEndTime"]).describe("The field used to order results.").optional().default("id")},{name:"orderByDirection",type:"Query",schema:O.enum(["asc","desc"]).describe("The sort order for query results.").optional().default("desc")},{name:"runType",type:"Query",schema:O.enum(["deploy","refresh"]).describe("A run type to filter the query results.").optional()},{name:"runStatus",type:"Query",schema:O.enum(["canceled","completed","failed","initializing","rendering","running","waitingToRun"]).describe("A status value to filter the query results.").optional()},{name:"environmentID",type:"Query",schema:O.string().describe("An environment ID to filter the query results.").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the run.").optional()}],response:r4l,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs/:runID",alias:"GetRun",description:"Gets a single run.",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"runID",type:"Path",schema:O.number().int().describe("The run ID.")}],response:oBi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/runs/:runID/results",alias:"GetRunResults",description:"Get a collection of the results of a deploy or refresh run",requestFormat:"json",parameters:[{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"runID",type:"Path",schema:O.number().int().describe("The run ID.")}],response:o4l,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/secrets/:secretType/:context",alias:"SecretExists",description:"Determines whether or not a git token value exists for a given project ID.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.boolean(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/secrets/:secretType/:context",alias:"UpgradeSecret",description:"Upgrades a secret from secretType its upgrade target.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/secrets/:secretType/:context",alias:"SetSecret",description:"Sets the value of a secret.",requestFormat:"json",parameters:[{name:"body",description:"The new value of the secret.",type:"Body",schema:O.object({secretValue:O.unknown()}).passthrough()},{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/secrets/:secretType/:context",alias:"DeleteSecret",description:"Deletes a secret.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/typesense/orgs/:orgID/typesense-config",alias:"getTypesenseConfigForOrg",description:"Returns Typesense configuration data for a given org.",requestFormat:"json",parameters:[{name:"orgID",type:"Path",schema:O.string().describe("The organization ID.")}],response:Gvl,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/userRoles",alias:"GetUserRoles",description:"Get all user roles in the organization, filtered by information available based on the current user&#x27;s roles and sorted alphabetically by last name, then by first name.",requestFormat:"json",parameters:[{name:"excludeOrgRoles",type:"Query",schema:O.boolean().describe("Exclude organization level roles from the results.").optional()},{name:"projectID",type:"Query",schema:O.string().describe("Return only user roles pertaining to the specified project.").optional()},{name:"environmentID",type:"Query",schema:O.string().describe("Return only user roles pertaining to the specified environment.").optional()}],response:O.array(ZRi),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/organizationRoles",alias:"UpsertUserOrganizationRoles",description:"Creates or updates all of a user&#x27;s organization roles. Only org admins may use this API.",requestFormat:"json",parameters:[{name:"body",description:"The user&#x27;s organization roles.",type:"Body",schema:O.array(O.string())},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")}],response:O.object({organizationRoles:O.array(O.string()).describe("The organization roles assigned to the user."),projects:O.record(sNr).describe("A dictionary of project role assignments keyed by project ID.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/userRoles/:userID/projects/:projectID",alias:"DeleteUserProjectRoles",description:"Deletes all of a user&#x27;s project roles. Only org and project admins may user this API.",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/projects/:projectID",alias:"UpsertUserProjectRoles",description:"Creates or updates all of a user&#x27;s project roles. Only org and project admins may user this API.",requestFormat:"json",parameters:[{name:"body",description:"The user project roles.",type:"Body",schema:O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough()},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")}],response:O.object({projectRoles:O.array(O.string()),environments:O.record(Qwt).describe("A dictionary of environment role assignments keyed by environment ID.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/api/v1/userRoles/:userID/projects/:projectID/environments/:environmentID",alias:"DeleteUserEnvironmentRoles",description:"Deletes all of a user&#x27;s environment roles.",requestFormat:"json",parameters:[{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/userRoles/:userID/projects/:projectID/environments/:environmentID",alias:"UpsertUserEnvironmentRoles",description:"Creates or updates all of a user&#x27;s environment roles.",requestFormat:"json",parameters:[{name:"body",description:"The user environment roles.",type:"Body",schema:O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough()},{name:"userID",type:"Path",schema:O.string().describe("The user ID.")},{name:"projectID",type:"Path",schema:O.string().describe("The project ID.")},{name:"environmentID",type:"Path",schema:O.string().describe("The environment ID.")}],response:O.object({environmentRoles:O.array(O.string()).describe("The environment roles assigned to the user.")}).passthrough(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:409,description:"The requested resource already exists.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/api/v1/validHostname",alias:"ValidateHostname",description:"Validates the passed hostname and returns an authorized version.",requestFormat:"json",parameters:[{name:"body",description:"The hostname that needs to be validated.",type:"Body",schema:O.object({hostname:O.string()}).passthrough()}],response:O.string(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/workspaces/:workspaceID/nodes",alias:"GetWorkspaceNodes",description:"Get a collection of nodes for a workspace.",requestFormat:"json",parameters:[{name:"workspaceID",type:"Path",schema:O.string().describe("The workspace ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()},{name:"detail",type:"Query",schema:O.boolean().describe("Include the full detail of the nodes.").optional()}],response:zRi,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/api/v1/workspaces/:workspaceID/nodes/:nodeID",alias:"GetWorkspaceNode",description:"Get information about a node in a workspace.",requestFormat:"json",parameters:[{name:"workspaceID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"put",path:"/api/v1/workspaces/:workspaceID/nodes/:nodeID",alias:"SetWorkspaceNode",description:"Replace all fields of a node in a workspace.",requestFormat:"json",parameters:[{name:"body",type:"Body",schema:RZe},{name:"workspaceID",type:"Path",schema:O.string().describe("The environment ID.")},{name:"nodeID",type:"Path",schema:O.string().describe("The node ID.")},{name:"overrideOrgID",type:"Query",schema:O.string().describe("Runs an operation against the specified org. (Super-users only.)").optional()}],response:RZe,errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"get",path:"/scheduler/secret/:secretType/:context",alias:"SecretExistsV0",description:"Determines whether or not a git token value exists for a given project ID.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.boolean(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"post",path:"/scheduler/secret/:secretType/:context",alias:"SetSecretV0",description:"Sets the value of a secret.",requestFormat:"json",parameters:[{name:"body",description:"The new value of the secret.",type:"Body",schema:O.object({secretValue:O.unknown()}).passthrough()},{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]},{method:"delete",path:"/scheduler/secret/:secretType/:context",alias:"DeleteSecretV0",description:"Deletes a secret.",requestFormat:"json",parameters:[{name:"secretType",type:"Path",schema:O.string().describe("The name of the secret type.")},{name:"context",type:"Path",schema:O.string().describe("Contextual information required to identify a particular secret.")}],response:O.void(),errors:[{status:400,description:"The request was invalid.",schema:Ve},{status:401,description:"User lacks authorization to perform this action.",schema:O.void()},{status:403,description:"The client is not permitted to perform the requested operation.",schema:Ve},{status:404,description:"The requested resource could not be found.",schema:Ve},{status:500,description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",schema:Ve},{status:502,description:"The server received an error from an upstream system.",schema:Ve},{status:503,description:"The service is currently unavailable.",schema:Ve},{status:504,description:"The server did not receive a response in time from an upstream system.",schema:Ve}]}]),RYd=new Z9r(lBi)});function hk(r,t){let n=uBi(r??V5());return t&&n.use($9r({getToken:async()=>{if(typeof t=="string")return t;{let i=t.currentUser;if(!i)throw new cS("Missing ApiClient auth user");return await i.getIdToken(!0)}}})),n}var MZ=Ge(()=>{"use strict";uc();Ln();MRi();cBi()});async function cNr(r){let t=await S4l;r.httpProxy=t,r.httpsProxy=t}async function w4l(r,t){await cNr(r);let n=zd.initializeApp(r,t);dNr(n,!0)}async function MZe(){return ZWe()?await t4i():zd.app().options}var dBi,pBi,uNr,x_,S4l,dNr,O4l,fBi,oW,BZe,DZe,sW,ABi,pNr,aSe,Fwt,Ufe,hBi,gBi,mBi,fNr,R4l,B4l,M4l,j0=Ge(()=>{"use strict";cZe();mbt();bP();Rxr();Vxr();dBi=ht(require("path")),pBi=ht(WOi());Ln();YOi();$w();lr();uc();yi();th();MZ();xOt();X_e();X_e();uNr=null;Qu().isDevelopment&&pBi.default.config({path:dBi.resolve(__dirname+"../../../.env")});x_=st.FIREBASE,S4l=(async()=>{if(lp()){let r=await Promise.resolve().then(()=>ht(IOt()));return new r.ProxyAgent}else return})();dNr=(r,t)=>{let n;if(nk)n=nk;else if("emulatorInfo"in r.options)n=KOi.assert(r.options.emulatorInfo);else return;Qu().isTest&&(t=!1),x_.info(`Using Firebase Auth emulator at ${n.auth}`),typeof window<"u"?dpe(X3t(r),n.auth):r.auth().useEmulator(n.auth),x_.info(`Using Firestore emulator at ${n.firestore} over ${t?"https":"http"}`);let[i,o]=n.firestore.split(":");r.firestore().useEmulator(i,parseInt(o)),t&&r.firestore()._delegate._setSettings({...r.firestore()._delegate._getSettings(),ssl:!0}),x_.info(`Using Firebase Storage emulator at ${n.storage} over ${t?"https":"http"}`);let[s,a]=n.storage.split(":");r.storage().useEmulator(s,parseInt(a)),t&&(r.storage()._delegate._protocol="https")},O4l="[DEFAULT]",fBi=async(r,t)=>{zd.apps.find(n=>n.name===(t??O4l))||await w4l(r,t)};oW=()=>zd.app().auth(),BZe=zd,DZe=()=>BZe,sW=()=>{if(!aSe.apps.length)throw new It("Trying to get Firestore, but Firebase is not yet initialized.");return aSe.firestore()},ABi=r=>{if(r==aSe)return aSe.firestore.FieldValue;if(r==BZe||BZe.apps?.filter(t=>t.name===r.name))return BZe.firestore.FieldValue;if(r.name==uNr?.app.name)return uNr.firestore.FieldValue;throw new Error("unknown firebase instance")},pNr=()=>{let r=oW();if(!r.currentUser)throw new It("Unable to retrieve refresh token, no current user!");return nk?r.currentUser.getIdToken(!0):Promise.resolve(r.currentUser.refreshToken)},aSe=BZe,Fwt=r=>ZWe()?Promise.resolve():r.delete().catch(t=>{x_.error(`Error deleting firebase instance: ${t}`)}),Ufe=(r,t,n,i={})=>{let o=Math.ceil(r.length/t);x_.debugContext(i,"firestore batch barrel starting, expected batches:",o,"; batch max size:",t);let s=[],a,l=0,c=!1;return new Promise((u,d)=>{t>500&&(x_.emergContext(i,"FirestoreBatchBarrel batchSize can not exceed 500"),d(new It("FirestoreBatchBarrel attempting to use batch size that exceeds maximum"))),r.length||(x_.infoContext(i,"FirestoreBatchBarrel no batches to write, arrayOfUpdates has no length"),u());let p=0,f=()=>{c||!s[0]||(x_.debugContext(i,"(Batch Barrel) starting batch commit"),c=!0,GOr(s[0]).then(()=>{x_.debugContext(i,"(Batch Barrel) firestore barrel batch #",l,"complete"),c=!1,l++,l===o&&(x_.infoContext(i,"(Batch Barrel) FB batch barrel finished successfully.",r.length,"docs written in",l,"batches."),u()),s.shift(),f()}).catch(A=>{x_.errorContext(i,"(Batch Barrel) firestore barrel batch #",l+1,"failed with error:",A);let h=A.toString();d(`(Batch Barrel) Failure writing to Firebase at batch #${l+1} out of ${o} total batches expected; Error: ${h}`)}))};r.forEach((A,h,y)=>{p+=HG(A.newValue),h===0&&(x_.debugContext(i,"(Batch Barrel) creating first batch"),a=n.batch()),M4l(p*2)?(s.push(a),x_.debugContext(i,`(Batch Barrel) payload size limit reached, adding batch ${s.length-1} to queue. payload size: ${p}`),f(),a=n.batch(),A.barrelUpdate(a),p=HG(A.newValue)):(A.barrelUpdate(a),((h+1)%t===0||h===y.length-1)&&(s.push(a),x_.debugContext(i,`(Batch Barrel) final update for current batch complete, adding batch ${s.length-1} to queue`),f(),a=n.batch(),p=0))})})},hBi=(r,t)=>({barrelUpdate:n=>{n.delete(r)},newValue:t}),gBi=(r,t)=>({barrelUpdate:n=>{n.set(r,t)},newValue:t}),mBi=(r,t)=>({barrelUpdate:n=>{n.set(r,t,{merge:!0})},newValue:t}),fNr=(r,t)=>({barrelUpdate:n=>{n.update(r,t)},newValue:t}),R4l=1e7,B4l=.7,M4l=r=>{let t=R4l*B4l;return r>t}});var Lwt=C((tVd,D4l)=>{D4l.exports={nested:{google:{nested:{cloud:{nested:{secretmanager:{nested:{v1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1",go_package:"cloud.google.com/go/secretmanager/apiv1/secretmanagerpb;secretmanagerpb",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1",ruby_package:"Google::Cloud::SecretManager::V1"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/secrets/{secret}"},oneofs:{expiration:{oneof:["expireTime","ttl"]}},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4},topics:{rule:"repeated",type:"Topic",id:5,options:{"(google.api.field_behavior)":"OPTIONAL"}},expireTime:{type:"google.protobuf.Timestamp",id:6,options:{"(google.api.field_behavior)":"OPTIONAL"}},ttl:{type:"google.protobuf.Duration",id:7,options:{"(google.api.field_behavior)":"INPUT_ONLY"}},etag:{type:"string",id:8,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotation:{type:"Rotation",id:9,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionAliases:{keyType:"string",type:"int64",id:11,options:{"(google.api.field_behavior)":"OPTIONAL"}},annotations:{keyType:"string",type:"string",id:13,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/secrets/{secret}/versions/{secret_version}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replicationStatus:{type:"ReplicationStatus",id:5},etag:{type:"string",id:6,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},clientSpecifiedPayloadChecksum:{type:"bool",id:7,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryption",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1},customerManagedEncryption:{type:"CustomerManagedEncryption",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},CustomerManagedEncryption:{fields:{kmsKeyName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},ReplicationStatus:{oneofs:{replicationStatus:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"AutomaticStatus",id:1},userManaged:{type:"UserManagedStatus",id:2}},nested:{AutomaticStatus:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},UserManagedStatus:{fields:{replicas:{rule:"repeated",type:"ReplicaStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{ReplicaStatus:{fields:{location:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}}}}}},CustomerManagedEncryptionStatus:{fields:{kmsKeyVersionName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Topic:{options:{"(google.api.resource).type":"pubsub.googleapis.com/Topic","(google.api.resource).pattern":"projects/{project}/topics/{topic}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Rotation:{fields:{nextRotationTime:{type:"google.protobuf.Timestamp",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotationPeriod:{type:"google.protobuf.Duration",id:2,options:{"(google.api.field_behavior)":"INPUT_ONLY"}}}},SecretPayload:{oneofs:{_dataCrc32c:{oneof:["dataCrc32c"]}},fields:{data:{type:"bytes",id:1},dataCrc32c:{type:"int64",id:2,options:{"(google.api.field_behavior)":"OPTIONAL",proto3_optional:!0}}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1/{parent=projects/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1/{parent=projects/*}/secrets"}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1/{parent=projects/*}/secrets",body:"secret"}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1/{parent=projects/*/secrets/*}:addVersion",body:"*"}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1/{secret.name=projects/*/secrets/*}",body:"secret"}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1/{parent=projects/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1/{parent=projects/*/secrets/*}/versions"}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*/versions/*}"}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1/{name=projects/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1/{name=projects/*/secrets/*/versions/*}:access"}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:disable",body:"*"}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:enable",body:"*"}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1/{name=projects/*/secrets/*/versions/*}:destroy",body:"*"}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=projects/*/secrets/*}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1/{resource=projects/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1/{resource=projects/*/secrets/*}:getIamPolicy"}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=projects/*/secrets/*}:testIamPermissions",body:"*"}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}},v1beta2:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1Beta2",go_package:"cloud.google.com/go/secretmanager/apiv1beta2/secretmanagerpb;secretmanagerpb",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1beta2",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1beta2",ruby_package:"Google::Cloud::SecretManager::V1beta2"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/locations/{location}/secrets/{secret}","(google.api.resource).plural":"secrets","(google.api.resource).singular":"secret"},oneofs:{expiration:{oneof:["expireTime","ttl"]}},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4},topics:{rule:"repeated",type:"Topic",id:5,options:{"(google.api.field_behavior)":"OPTIONAL"}},expireTime:{type:"google.protobuf.Timestamp",id:6,options:{"(google.api.field_behavior)":"OPTIONAL"}},ttl:{type:"google.protobuf.Duration",id:7,options:{"(google.api.field_behavior)":"INPUT_ONLY"}},etag:{type:"string",id:8,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotation:{type:"Rotation",id:9,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionAliases:{keyType:"string",type:"int64",id:11,options:{"(google.api.field_behavior)":"OPTIONAL"}},annotations:{keyType:"string",type:"string",id:13,options:{"(google.api.field_behavior)":"OPTIONAL"}},versionDestroyTtl:{type:"google.protobuf.Duration",id:14,options:{"(google.api.field_behavior)":"OPTIONAL"}},customerManagedEncryption:{type:"CustomerManagedEncryption",id:15,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/locations/{location}/secrets/{secret}/versions/{secret_version}","(google.api.resource).plural":"secretVersions","(google.api.resource).singular":"secretVersion"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replicationStatus:{type:"ReplicationStatus",id:5},etag:{type:"string",id:6,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},clientSpecifiedPayloadChecksum:{type:"bool",id:7,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},scheduledDestroyTime:{type:"google.protobuf.Timestamp",id:8,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:9,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryption",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1},customerManagedEncryption:{type:"CustomerManagedEncryption",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},CustomerManagedEncryption:{fields:{kmsKeyName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},ReplicationStatus:{oneofs:{replicationStatus:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"AutomaticStatus",id:1},userManaged:{type:"UserManagedStatus",id:2}},nested:{AutomaticStatus:{fields:{customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}},UserManagedStatus:{fields:{replicas:{rule:"repeated",type:"ReplicaStatus",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{ReplicaStatus:{fields:{location:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},customerManagedEncryption:{type:"CustomerManagedEncryptionStatus",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}}}}}}},CustomerManagedEncryptionStatus:{fields:{kmsKeyVersionName:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Topic:{options:{"(google.api.resource).type":"pubsub.googleapis.com/Topic","(google.api.resource).pattern":"projects/{project}/topics/{topic}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}}},Rotation:{fields:{nextRotationTime:{type:"google.protobuf.Timestamp",id:1,options:{"(google.api.field_behavior)":"OPTIONAL"}},rotationPeriod:{type:"google.protobuf.Duration",id:2,options:{"(google.api.field_behavior)":"INPUT_ONLY"}}}},SecretPayload:{oneofs:{_dataCrc32c:{oneof:["dataCrc32c"]}},fields:{data:{type:"bytes",id:1},dataCrc32c:{type:"int64",id:2,options:{"(google.api.field_behavior)":"OPTIONAL",proto3_optional:!0}}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1beta2/{parent=projects/*}/secrets","(google.api.http).additional_bindings.get":"/v1beta2/{parent=projects/*/locations/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{parent=projects/*}/secrets",additional_bindings:{get:"/v1beta2/{parent=projects/*/locations/*}/secrets"}}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1beta2/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.http).additional_bindings.post":"/v1beta2/{parent=projects/*/locations/*}/secrets","(google.api.http).additional_bindings.body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{parent=projects/*}/secrets",body:"secret",additional_bindings:{post:"/v1beta2/{parent=projects/*/locations/*}/secrets",body:"secret"}}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{parent=projects/*/locations/*/secrets/*}:addVersion","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{parent=projects/*/secrets/*}:addVersion",body:"*",additional_bindings:{post:"/v1beta2/{parent=projects/*/locations/*/secrets/*}:addVersion",body:"*"}}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*}","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*}",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*}"}}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1beta2/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.http).additional_bindings.patch":"/v1beta2/{secret.name=projects/*/locations/*/secrets/*}","(google.api.http).additional_bindings.body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1beta2/{secret.name=projects/*/secrets/*}",body:"secret",additional_bindings:{patch:"/v1beta2/{secret.name=projects/*/locations/*/secrets/*}",body:"secret"}}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1beta2/{name=projects/*/secrets/*}","(google.api.http).additional_bindings.delete":"/v1beta2/{name=projects/*/locations/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1beta2/{name=projects/*/secrets/*}",additional_bindings:{delete:"/v1beta2/{name=projects/*/locations/*/secrets/*}"}}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1beta2/{parent=projects/*/secrets/*}/versions","(google.api.http).additional_bindings.get":"/v1beta2/{parent=projects/*/locations/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{parent=projects/*/secrets/*}/versions",additional_bindings:{get:"/v1beta2/{parent=projects/*/locations/*/secrets/*}/versions"}}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*/versions/*}","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*/versions/*}",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}"}}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1beta2/{name=projects/*/secrets/*/versions/*}:access","(google.api.http).additional_bindings.get":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{name=projects/*/secrets/*/versions/*}:access",additional_bindings:{get:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:access"}}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:disable","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:disable",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:disable",body:"*"}}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:enable","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:enable",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:enable",body:"*"}}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta2/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:destroy","(google.api.http).additional_bindings.body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{name=projects/*/secrets/*/versions/*}:destroy",body:"*",additional_bindings:{post:"/v1beta2/{name=projects/*/locations/*/secrets/*/versions/*}:destroy",body:"*"}}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1beta2/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:setIamPolicy","(google.api.http).additional_bindings.body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{resource=projects/*/secrets/*}:setIamPolicy",body:"*",additional_bindings:{post:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:setIamPolicy",body:"*"}}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1beta2/{resource=projects/*/secrets/*}:getIamPolicy","(google.api.http).additional_bindings.get":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1beta2/{resource=projects/*/secrets/*}:getIamPolicy",additional_bindings:{get:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:getIamPolicy"}}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1beta2/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*","(google.api.http).additional_bindings.post":"/v1beta2/{resource=projects/*/locations/*/secrets/*}:testIamPermissions","(google.api.http).additional_bindings.body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta2/{resource=projects/*/secrets/*}:testIamPermissions",body:"*",additional_bindings:{post:"/v1beta2/{resource=projects/*/locations/*/secrets/*}:testIamPermissions",body:"*"}}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).child_type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).child_type":"secretmanager.googleapis.com/Secret"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}},filter:{type:"string",id:4,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},etag:{type:"string",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}}}}}}}},secrets:{nested:{v1beta1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.SecretManager.V1Beta1",go_package:"google.golang.org/genproto/googleapis/cloud/secretmanager/v1beta1;secretmanager",java_multiple_files:!0,java_outer_classname:"ServiceProto",java_package:"com.google.cloud.secretmanager.v1beta1",objc_class_prefix:"GSM",php_namespace:"Google\\Cloud\\SecretManager\\V1beta1",ruby_package:"Google::Cloud::SecretManager::V1beta1"},nested:{Secret:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/Secret","(google.api.resource).pattern":"projects/{project}/secrets/{secret}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},replication:{type:"Replication",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},createTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},labels:{keyType:"string",type:"string",id:4}}},SecretVersion:{options:{"(google.api.resource).type":"secretmanager.googleapis.com/SecretVersion","(google.api.resource).pattern":"projects/{project}/secrets/{secret}/versions/{secret_version}"},fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},createTime:{type:"google.protobuf.Timestamp",id:2,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},destroyTime:{type:"google.protobuf.Timestamp",id:3,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}},state:{type:"State",id:4,options:{"(google.api.field_behavior)":"OUTPUT_ONLY"}}},nested:{State:{values:{STATE_UNSPECIFIED:0,ENABLED:1,DISABLED:2,DESTROYED:3}}}},Replication:{oneofs:{replication:{oneof:["automatic","userManaged"]}},fields:{automatic:{type:"Automatic",id:1},userManaged:{type:"UserManaged",id:2}},nested:{Automatic:{fields:{}},UserManaged:{fields:{replicas:{rule:"repeated",type:"Replica",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}}},nested:{Replica:{fields:{location:{type:"string",id:1}}}}}}},SecretPayload:{fields:{data:{type:"bytes",id:1}}},SecretManagerService:{options:{"(google.api.default_host)":"secretmanager.googleapis.com","(google.api.oauth_scopes)":"https://www.googleapis.com/auth/cloud-platform"},methods:{ListSecrets:{requestType:"ListSecretsRequest",responseType:"ListSecretsResponse",options:{"(google.api.http).get":"/v1beta1/{parent=projects/*}/secrets","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{parent=projects/*}/secrets"}},{"(google.api.method_signature)":"parent"}]},CreateSecret:{requestType:"CreateSecretRequest",responseType:"Secret",options:{"(google.api.http).post":"/v1beta1/{parent=projects/*}/secrets","(google.api.http).body":"secret","(google.api.method_signature)":"parent,secret_id,secret"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{parent=projects/*}/secrets",body:"secret"}},{"(google.api.method_signature)":"parent,secret_id,secret"}]},AddSecretVersion:{requestType:"AddSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{parent=projects/*/secrets/*}:addVersion","(google.api.http).body":"*","(google.api.method_signature)":"parent,payload"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{parent=projects/*/secrets/*}:addVersion",body:"*"}},{"(google.api.method_signature)":"parent,payload"}]},GetSecret:{requestType:"GetSecretRequest",responseType:"Secret",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},UpdateSecret:{requestType:"UpdateSecretRequest",responseType:"Secret",options:{"(google.api.http).patch":"/v1beta1/{secret.name=projects/*/secrets/*}","(google.api.http).body":"secret","(google.api.method_signature)":"secret,update_mask"},parsedOptions:[{"(google.api.http)":{patch:"/v1beta1/{secret.name=projects/*/secrets/*}",body:"secret"}},{"(google.api.method_signature)":"secret,update_mask"}]},DeleteSecret:{requestType:"DeleteSecretRequest",responseType:"google.protobuf.Empty",options:{"(google.api.http).delete":"/v1beta1/{name=projects/*/secrets/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{delete:"/v1beta1/{name=projects/*/secrets/*}"}},{"(google.api.method_signature)":"name"}]},ListSecretVersions:{requestType:"ListSecretVersionsRequest",responseType:"ListSecretVersionsResponse",options:{"(google.api.http).get":"/v1beta1/{parent=projects/*/secrets/*}/versions","(google.api.method_signature)":"parent"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{parent=projects/*/secrets/*}/versions"}},{"(google.api.method_signature)":"parent"}]},GetSecretVersion:{requestType:"GetSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*/versions/*}","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*/versions/*}"}},{"(google.api.method_signature)":"name"}]},AccessSecretVersion:{requestType:"AccessSecretVersionRequest",responseType:"AccessSecretVersionResponse",options:{"(google.api.http).get":"/v1beta1/{name=projects/*/secrets/*/versions/*}:access","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{name=projects/*/secrets/*/versions/*}:access"}},{"(google.api.method_signature)":"name"}]},DisableSecretVersion:{requestType:"DisableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:disable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:disable",body:"*"}},{"(google.api.method_signature)":"name"}]},EnableSecretVersion:{requestType:"EnableSecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:enable","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:enable",body:"*"}},{"(google.api.method_signature)":"name"}]},DestroySecretVersion:{requestType:"DestroySecretVersionRequest",responseType:"SecretVersion",options:{"(google.api.http).post":"/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy","(google.api.http).body":"*","(google.api.method_signature)":"name"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{name=projects/*/secrets/*/versions/*}:destroy",body:"*"}},{"(google.api.method_signature)":"name"}]},SetIamPolicy:{requestType:"google.iam.v1.SetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).post":"/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{resource=projects/*/secrets/*}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"google.iam.v1.GetIamPolicyRequest",responseType:"google.iam.v1.Policy",options:{"(google.api.http).get":"/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy"},parsedOptions:[{"(google.api.http)":{get:"/v1beta1/{resource=projects/*/secrets/*}:getIamPolicy"}}]},TestIamPermissions:{requestType:"google.iam.v1.TestIamPermissionsRequest",responseType:"google.iam.v1.TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1beta1/{resource=projects/*/secrets/*}:testIamPermissions",body:"*"}}]}}},ListSecretsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretsResponse:{fields:{secrets:{rule:"repeated",type:"Secret",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},CreateSecretRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"cloudresourcemanager.googleapis.com/Project"}},secretId:{type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},secret:{type:"Secret",id:3,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AddSecretVersionRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},payload:{type:"SecretPayload",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},GetSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},ListSecretVersionsRequest:{fields:{parent:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}},pageSize:{type:"int32",id:2,options:{"(google.api.field_behavior)":"OPTIONAL"}},pageToken:{type:"string",id:3,options:{"(google.api.field_behavior)":"OPTIONAL"}}}},ListSecretVersionsResponse:{fields:{versions:{rule:"repeated",type:"SecretVersion",id:1},nextPageToken:{type:"string",id:2},totalSize:{type:"int32",id:3}}},GetSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},UpdateSecretRequest:{fields:{secret:{type:"Secret",id:1,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},AccessSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},AccessSecretVersionResponse:{fields:{name:{type:"string",id:1,options:{"(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}},payload:{type:"SecretPayload",id:2}}},DeleteSecretRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/Secret"}}}},DisableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},EnableSecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}},DestroySecretVersionRequest:{fields:{name:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"secretmanager.googleapis.com/SecretVersion"}}}}}}}}}},api:{options:{go_package:"google.golang.org/genproto/googleapis/api;api",java_multiple_files:!0,java_outer_classname:"LaunchStageProto",java_package:"com.google.api",objc_class_prefix:"GAPI",cc_enable_arenas:!0},nested:{fieldBehavior:{rule:"repeated",type:"google.api.FieldBehavior",id:1052,extend:"google.protobuf.FieldOptions"},FieldBehavior:{values:{FIELD_BEHAVIOR_UNSPECIFIED:0,OPTIONAL:1,REQUIRED:2,OUTPUT_ONLY:3,INPUT_ONLY:4,IMMUTABLE:5,UNORDERED_LIST:6,NON_EMPTY_DEFAULT:7,IDENTIFIER:8}},resourceReference:{type:"google.api.ResourceReference",id:1055,extend:"google.protobuf.FieldOptions"},resourceDefinition:{rule:"repeated",type:"google.api.ResourceDescriptor",id:1053,extend:"google.protobuf.FileOptions"},resource:{type:"google.api.ResourceDescriptor",id:1053,extend:"google.protobuf.MessageOptions"},ResourceDescriptor:{fields:{type:{type:"string",id:1},pattern:{rule:"repeated",type:"string",id:2},nameField:{type:"string",id:3},history:{type:"History",id:4},plural:{type:"string",id:5},singular:{type:"string",id:6},style:{rule:"repeated",type:"Style",id:10}},nested:{History:{values:{HISTORY_UNSPECIFIED:0,ORIGINALLY_SINGLE_PATTERN:1,FUTURE_MULTI_PATTERN:2}},Style:{values:{STYLE_UNSPECIFIED:0,DECLARATIVE_FRIENDLY:1}}}},ResourceReference:{fields:{type:{type:"string",id:1},childType:{type:"string",id:2}}},http:{type:"HttpRule",id:72295728,extend:"google.protobuf.MethodOptions"},Http:{fields:{rules:{rule:"repeated",type:"HttpRule",id:1},fullyDecodeReservedExpansion:{type:"bool",id:2}}},HttpRule:{oneofs:{pattern:{oneof:["get","put","post","delete","patch","custom"]}},fields:{selector:{type:"string",id:1},get:{type:"string",id:2},put:{type:"string",id:3},post:{type:"string",id:4},delete:{type:"string",id:5},patch:{type:"string",id:6},custom:{type:"CustomHttpPattern",id:8},body:{type:"string",id:7},responseBody:{type:"string",id:12},additionalBindings:{rule:"repeated",type:"HttpRule",id:11}}},CustomHttpPattern:{fields:{kind:{type:"string",id:1},path:{type:"string",id:2}}},methodSignature:{rule:"repeated",type:"string",id:1051,extend:"google.protobuf.MethodOptions"},defaultHost:{type:"string",id:1049,extend:"google.protobuf.ServiceOptions"},oauthScopes:{type:"string",id:1050,extend:"google.protobuf.ServiceOptions"},CommonLanguageSettings:{fields:{referenceDocsUri:{type:"string",id:1,options:{deprecated:!0}},destinations:{rule:"repeated",type:"ClientLibraryDestination",id:2}}},ClientLibrarySettings:{fields:{version:{type:"string",id:1},launchStage:{type:"LaunchStage",id:2},restNumericEnums:{type:"bool",id:3},javaSettings:{type:"JavaSettings",id:21},cppSettings:{type:"CppSettings",id:22},phpSettings:{type:"PhpSettings",id:23},pythonSettings:{type:"PythonSettings",id:24},nodeSettings:{type:"NodeSettings",id:25},dotnetSettings:{type:"DotnetSettings",id:26},rubySettings:{type:"RubySettings",id:27},goSettings:{type:"GoSettings",id:28}}},Publishing:{fields:{methodSettings:{rule:"repeated",type:"MethodSettings",id:2},newIssueUri:{type:"string",id:101},documentationUri:{type:"string",id:102},apiShortName:{type:"string",id:103},githubLabel:{type:"string",id:104},codeownerGithubTeams:{rule:"repeated",type:"string",id:105},docTagPrefix:{type:"string",id:106},organization:{type:"ClientLibraryOrganization",id:107},librarySettings:{rule:"repeated",type:"ClientLibrarySettings",id:109},protoReferenceDocumentationUri:{type:"string",id:110}}},JavaSettings:{fields:{libraryPackage:{type:"string",id:1},serviceClassNames:{keyType:"string",type:"string",id:2},common:{type:"CommonLanguageSettings",id:3}}},CppSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},PhpSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},PythonSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},NodeSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},DotnetSettings:{fields:{common:{type:"CommonLanguageSettings",id:1},renamedServices:{keyType:"string",type:"string",id:2},renamedResources:{keyType:"string",type:"string",id:3},ignoredResources:{rule:"repeated",type:"string",id:4},forcedNamespaceAliases:{rule:"repeated",type:"string",id:5},handwrittenSignatures:{rule:"repeated",type:"string",id:6}}},RubySettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},GoSettings:{fields:{common:{type:"CommonLanguageSettings",id:1}}},MethodSettings:{fields:{selector:{type:"string",id:1},longRunning:{type:"LongRunning",id:2},autoPopulatedFields:{rule:"repeated",type:"string",id:3}},nested:{LongRunning:{fields:{initialPollDelay:{type:"google.protobuf.Duration",id:1},pollDelayMultiplier:{type:"float",id:2},maxPollDelay:{type:"google.protobuf.Duration",id:3},totalPollTimeout:{type:"google.protobuf.Duration",id:4}}}}},ClientLibraryOrganization:{values:{CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED:0,CLOUD:1,ADS:2,PHOTOS:3,STREET_VIEW:4,SHOPPING:5,GEO:6,GENERATIVE_AI:7}},ClientLibraryDestination:{values:{CLIENT_LIBRARY_DESTINATION_UNSPECIFIED:0,GITHUB:10,PACKAGE_MANAGER:20}},LaunchStage:{values:{LAUNCH_STAGE_UNSPECIFIED:0,UNIMPLEMENTED:6,PRELAUNCH:7,EARLY_ACCESS:1,ALPHA:2,BETA:3,GA:4,DEPRECATED:5}}}},protobuf:{options:{go_package:"google.golang.org/protobuf/types/descriptorpb",java_package:"com.google.protobuf",java_outer_classname:"DescriptorProtos",csharp_namespace:"Google.Protobuf.Reflection",objc_class_prefix:"GPB",cc_enable_arenas:!0,optimize_for:"SPEED"},nested:{FileDescriptorSet:{fields:{file:{rule:"repeated",type:"FileDescriptorProto",id:1}}},Edition:{values:{EDITION_UNKNOWN:0,EDITION_PROTO2:998,EDITION_PROTO3:999,EDITION_2023:1e3,EDITION_2024:1001,EDITION_1_TEST_ONLY:1,EDITION_2_TEST_ONLY:2,EDITION_99997_TEST_ONLY:99997,EDITION_99998_TEST_ONLY:99998,EDITION_99999_TEST_ONLY:99999,EDITION_MAX:2147483647}},FileDescriptorProto:{fields:{name:{type:"string",id:1},package:{type:"string",id:2},dependency:{rule:"repeated",type:"string",id:3},publicDependency:{rule:"repeated",type:"int32",id:10,options:{packed:!1}},weakDependency:{rule:"repeated",type:"int32",id:11,options:{packed:!1}},messageType:{rule:"repeated",type:"DescriptorProto",id:4},enumType:{rule:"repeated",type:"EnumDescriptorProto",id:5},service:{rule:"repeated",type:"ServiceDescriptorProto",id:6},extension:{rule:"repeated",type:"FieldDescriptorProto",id:7},options:{type:"FileOptions",id:8},sourceCodeInfo:{type:"SourceCodeInfo",id:9},syntax:{type:"string",id:12},edition:{type:"Edition",id:14}}},DescriptorProto:{fields:{name:{type:"string",id:1},field:{rule:"repeated",type:"FieldDescriptorProto",id:2},extension:{rule:"repeated",type:"FieldDescriptorProto",id:6},nestedType:{rule:"repeated",type:"DescriptorProto",id:3},enumType:{rule:"repeated",type:"EnumDescriptorProto",id:4},extensionRange:{rule:"repeated",type:"ExtensionRange",id:5},oneofDecl:{rule:"repeated",type:"OneofDescriptorProto",id:8},options:{type:"MessageOptions",id:7},reservedRange:{rule:"repeated",type:"ReservedRange",id:9},reservedName:{rule:"repeated",type:"string",id:10}},nested:{ExtensionRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2},options:{type:"ExtensionRangeOptions",id:3}}},ReservedRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2}}}}},ExtensionRangeOptions:{fields:{uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999},declaration:{rule:"repeated",type:"Declaration",id:2,options:{retention:"RETENTION_SOURCE"}},features:{type:"FeatureSet",id:50},verification:{type:"VerificationState",id:3,options:{default:"UNVERIFIED",retention:"RETENTION_SOURCE"}}},extensions:[[1e3,536870911]],nested:{Declaration:{fields:{number:{type:"int32",id:1},fullName:{type:"string",id:2},type:{type:"string",id:3},reserved:{type:"bool",id:5},repeated:{type:"bool",id:6}},reserved:[[4,4]]},VerificationState:{values:{DECLARATION:0,UNVERIFIED:1}}}},FieldDescriptorProto:{fields:{name:{type:"string",id:1},number:{type:"int32",id:3},label:{type:"Label",id:4},type:{type:"Type",id:5},typeName:{type:"string",id:6},extendee:{type:"string",id:2},defaultValue:{type:"string",id:7},oneofIndex:{type:"int32",id:9},jsonName:{type:"string",id:10},options:{type:"FieldOptions",id:8},proto3Optional:{type:"bool",id:17}},nested:{Type:{values:{TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18}},Label:{values:{LABEL_OPTIONAL:1,LABEL_REPEATED:3,LABEL_REQUIRED:2}}}},OneofDescriptorProto:{fields:{name:{type:"string",id:1},options:{type:"OneofOptions",id:2}}},EnumDescriptorProto:{fields:{name:{type:"string",id:1},value:{rule:"repeated",type:"EnumValueDescriptorProto",id:2},options:{type:"EnumOptions",id:3},reservedRange:{rule:"repeated",type:"EnumReservedRange",id:4},reservedName:{rule:"repeated",type:"string",id:5}},nested:{EnumReservedRange:{fields:{start:{type:"int32",id:1},end:{type:"int32",id:2}}}}},EnumValueDescriptorProto:{fields:{name:{type:"string",id:1},number:{type:"int32",id:2},options:{type:"EnumValueOptions",id:3}}},ServiceDescriptorProto:{fields:{name:{type:"string",id:1},method:{rule:"repeated",type:"MethodDescriptorProto",id:2},options:{type:"ServiceOptions",id:3}}},MethodDescriptorProto:{fields:{name:{type:"string",id:1},inputType:{type:"string",id:2},outputType:{type:"string",id:3},options:{type:"MethodOptions",id:4},clientStreaming:{type:"bool",id:5,options:{default:!1}},serverStreaming:{type:"bool",id:6,options:{default:!1}}}},FileOptions:{fields:{javaPackage:{type:"string",id:1},javaOuterClassname:{type:"string",id:8},javaMultipleFiles:{type:"bool",id:10,options:{default:!1}},javaGenerateEqualsAndHash:{type:"bool",id:20,options:{deprecated:!0}},javaStringCheckUtf8:{type:"bool",id:27,options:{default:!1}},optimizeFor:{type:"OptimizeMode",id:9,options:{default:"SPEED"}},goPackage:{type:"string",id:11},ccGenericServices:{type:"bool",id:16,options:{default:!1}},javaGenericServices:{type:"bool",id:17,options:{default:!1}},pyGenericServices:{type:"bool",id:18,options:{default:!1}},deprecated:{type:"bool",id:23,options:{default:!1}},ccEnableArenas:{type:"bool",id:31,options:{default:!0}},objcClassPrefix:{type:"string",id:36},csharpNamespace:{type:"string",id:37},swiftPrefix:{type:"string",id:39},phpClassPrefix:{type:"string",id:40},phpNamespace:{type:"string",id:41},phpMetadataNamespace:{type:"string",id:44},rubyPackage:{type:"string",id:45},features:{type:"FeatureSet",id:50},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[42,42],[38,38]],nested:{OptimizeMode:{values:{SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3}}}},MessageOptions:{fields:{messageSetWireFormat:{type:"bool",id:1,options:{default:!1}},noStandardDescriptorAccessor:{type:"bool",id:2,options:{default:!1}},deprecated:{type:"bool",id:3,options:{default:!1}},mapEntry:{type:"bool",id:7},deprecatedLegacyJsonFieldConflicts:{type:"bool",id:11,options:{deprecated:!0}},features:{type:"FeatureSet",id:12},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[4,4],[5,5],[6,6],[8,8],[9,9]]},FieldOptions:{fields:{ctype:{type:"CType",id:1,options:{default:"STRING"}},packed:{type:"bool",id:2},jstype:{type:"JSType",id:6,options:{default:"JS_NORMAL"}},lazy:{type:"bool",id:5,options:{default:!1}},unverifiedLazy:{type:"bool",id:15,options:{default:!1}},deprecated:{type:"bool",id:3,options:{default:!1}},weak:{type:"bool",id:10,options:{default:!1}},debugRedact:{type:"bool",id:16,options:{default:!1}},retention:{type:"OptionRetention",id:17},targets:{rule:"repeated",type:"OptionTargetType",id:19,options:{packed:!1}},editionDefaults:{rule:"repeated",type:"EditionDefault",id:20},features:{type:"FeatureSet",id:21},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[4,4],[18,18]],nested:{CType:{values:{STRING:0,CORD:1,STRING_PIECE:2}},JSType:{values:{JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2}},OptionRetention:{values:{RETENTION_UNKNOWN:0,RETENTION_RUNTIME:1,RETENTION_SOURCE:2}},OptionTargetType:{values:{TARGET_TYPE_UNKNOWN:0,TARGET_TYPE_FILE:1,TARGET_TYPE_EXTENSION_RANGE:2,TARGET_TYPE_MESSAGE:3,TARGET_TYPE_FIELD:4,TARGET_TYPE_ONEOF:5,TARGET_TYPE_ENUM:6,TARGET_TYPE_ENUM_ENTRY:7,TARGET_TYPE_SERVICE:8,TARGET_TYPE_METHOD:9}},EditionDefault:{fields:{edition:{type:"Edition",id:3},value:{type:"string",id:2}}}}},OneofOptions:{fields:{features:{type:"FeatureSet",id:1},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},EnumOptions:{fields:{allowAlias:{type:"bool",id:2},deprecated:{type:"bool",id:3,options:{default:!1}},deprecatedLegacyJsonFieldConflicts:{type:"bool",id:6,options:{deprecated:!0}},features:{type:"FeatureSet",id:7},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],reserved:[[5,5]]},EnumValueOptions:{fields:{deprecated:{type:"bool",id:1,options:{default:!1}},features:{type:"FeatureSet",id:2},debugRedact:{type:"bool",id:3,options:{default:!1}},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},ServiceOptions:{fields:{features:{type:"FeatureSet",id:34},deprecated:{type:"bool",id:33,options:{default:!1}},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]]},MethodOptions:{fields:{deprecated:{type:"bool",id:33,options:{default:!1}},idempotencyLevel:{type:"IdempotencyLevel",id:34,options:{default:"IDEMPOTENCY_UNKNOWN"}},features:{type:"FeatureSet",id:35},uninterpretedOption:{rule:"repeated",type:"UninterpretedOption",id:999}},extensions:[[1e3,536870911]],nested:{IdempotencyLevel:{values:{IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2}}}},UninterpretedOption:{fields:{name:{rule:"repeated",type:"NamePart",id:2},identifierValue:{type:"string",id:3},positiveIntValue:{type:"uint64",id:4},negativeIntValue:{type:"int64",id:5},doubleValue:{type:"double",id:6},stringValue:{type:"bytes",id:7},aggregateValue:{type:"string",id:8}},nested:{NamePart:{fields:{namePart:{rule:"required",type:"string",id:1},isExtension:{rule:"required",type:"bool",id:2}}}}},FeatureSet:{fields:{fieldPresence:{type:"FieldPresence",id:1,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_2023","edition_defaults.value":"EXPLICIT"}},enumType:{type:"EnumType",id:2,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"OPEN"}},repeatedFieldEncoding:{type:"RepeatedFieldEncoding",id:3,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"PACKED"}},utf8Validation:{type:"Utf8Validation",id:4,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"VERIFY"}},messageEncoding:{type:"MessageEncoding",id:5,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO2","edition_defaults.value":"LENGTH_PREFIXED"}},jsonFormat:{type:"JsonFormat",id:6,options:{retention:"RETENTION_RUNTIME",targets:"TARGET_TYPE_FILE","edition_defaults.edition":"EDITION_PROTO3","edition_defaults.value":"ALLOW"}}},extensions:[[1e3,1e3],[1001,1001],[9995,9999]],reserved:[[999,999]],nested:{FieldPresence:{values:{FIELD_PRESENCE_UNKNOWN:0,EXPLICIT:1,IMPLICIT:2,LEGACY_REQUIRED:3}},EnumType:{values:{ENUM_TYPE_UNKNOWN:0,OPEN:1,CLOSED:2}},RepeatedFieldEncoding:{values:{REPEATED_FIELD_ENCODING_UNKNOWN:0,PACKED:1,EXPANDED:2}},Utf8Validation:{values:{UTF8_VALIDATION_UNKNOWN:0,VERIFY:2,NONE:3}},MessageEncoding:{values:{MESSAGE_ENCODING_UNKNOWN:0,LENGTH_PREFIXED:1,DELIMITED:2}},JsonFormat:{values:{JSON_FORMAT_UNKNOWN:0,ALLOW:1,LEGACY_BEST_EFFORT:2}}}},FeatureSetDefaults:{fields:{defaults:{rule:"repeated",type:"FeatureSetEditionDefault",id:1},minimumEdition:{type:"Edition",id:4},maximumEdition:{type:"Edition",id:5}},nested:{FeatureSetEditionDefault:{fields:{edition:{type:"Edition",id:3},features:{type:"FeatureSet",id:2}}}}},SourceCodeInfo:{fields:{location:{rule:"repeated",type:"Location",id:1}},nested:{Location:{fields:{path:{rule:"repeated",type:"int32",id:1},span:{rule:"repeated",type:"int32",id:2},leadingComments:{type:"string",id:3},trailingComments:{type:"string",id:4},leadingDetachedComments:{rule:"repeated",type:"string",id:6}}}}},GeneratedCodeInfo:{fields:{annotation:{rule:"repeated",type:"Annotation",id:1}},nested:{Annotation:{fields:{path:{rule:"repeated",type:"int32",id:1},sourceFile:{type:"string",id:2},begin:{type:"int32",id:3},end:{type:"int32",id:4},semantic:{type:"Semantic",id:5}},nested:{Semantic:{values:{NONE:0,SET:1,ALIAS:2}}}}}},Duration:{fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}},Timestamp:{fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}},FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}},Empty:{fields:{}}}},iam:{nested:{v1:{options:{cc_enable_arenas:!0,csharp_namespace:"Google.Cloud.Iam.V1",go_package:"cloud.google.com/go/iam/apiv1/iampb;iampb",java_multiple_files:!0,java_outer_classname:"PolicyProto",java_package:"com.google.iam.v1",php_namespace:"Google\\Cloud\\Iam\\V1"},nested:{IAMPolicy:{options:{"(google.api.default_host)":"iam-meta-api.googleapis.com"},methods:{SetIamPolicy:{requestType:"SetIamPolicyRequest",responseType:"Policy",options:{"(google.api.http).post":"/v1/{resource=**}:setIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:setIamPolicy",body:"*"}}]},GetIamPolicy:{requestType:"GetIamPolicyRequest",responseType:"Policy",options:{"(google.api.http).post":"/v1/{resource=**}:getIamPolicy","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:getIamPolicy",body:"*"}}]},TestIamPermissions:{requestType:"TestIamPermissionsRequest",responseType:"TestIamPermissionsResponse",options:{"(google.api.http).post":"/v1/{resource=**}:testIamPermissions","(google.api.http).body":"*"},parsedOptions:[{"(google.api.http)":{post:"/v1/{resource=**}:testIamPermissions",body:"*"}}]}}},SetIamPolicyRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},policy:{type:"Policy",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}},updateMask:{type:"google.protobuf.FieldMask",id:3}}},GetIamPolicyRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},options:{type:"GetPolicyOptions",id:2}}},TestIamPermissionsRequest:{fields:{resource:{type:"string",id:1,options:{"(google.api.field_behavior)":"REQUIRED","(google.api.resource_reference).type":"*"}},permissions:{rule:"repeated",type:"string",id:2,options:{"(google.api.field_behavior)":"REQUIRED"}}}},TestIamPermissionsResponse:{fields:{permissions:{rule:"repeated",type:"string",id:1}}},GetPolicyOptions:{fields:{requestedPolicyVersion:{type:"int32",id:1}}},Policy:{fields:{version:{type:"int32",id:1},bindings:{rule:"repeated",type:"Binding",id:4},auditConfigs:{rule:"repeated",type:"AuditConfig",id:6},etag:{type:"bytes",id:3}}},Binding:{fields:{role:{type:"string",id:1},members:{rule:"repeated",type:"string",id:2},condition:{type:"google.type.Expr",id:3}}},AuditConfig:{fields:{service:{type:"string",id:1},auditLogConfigs:{rule:"repeated",type:"AuditLogConfig",id:3}}},AuditLogConfig:{fields:{logType:{type:"LogType",id:1},exemptedMembers:{rule:"repeated",type:"string",id:2}},nested:{LogType:{values:{LOG_TYPE_UNSPECIFIED:0,ADMIN_READ:1,DATA_WRITE:2,DATA_READ:3}}}},PolicyDelta:{fields:{bindingDeltas:{rule:"repeated",type:"BindingDelta",id:1},auditConfigDeltas:{rule:"repeated",type:"AuditConfigDelta",id:2}}},BindingDelta:{fields:{action:{type:"Action",id:1},role:{type:"string",id:2},member:{type:"string",id:3},condition:{type:"google.type.Expr",id:4}},nested:{Action:{values:{ACTION_UNSPECIFIED:0,ADD:1,REMOVE:2}}}},AuditConfigDelta:{fields:{action:{type:"Action",id:1},service:{type:"string",id:2},exemptedMember:{type:"string",id:3},logType:{type:"string",id:4}},nested:{Action:{values:{ACTION_UNSPECIFIED:0,ADD:1,REMOVE:2}}}}}}}},type:{options:{go_package:"google.golang.org/genproto/googleapis/type/expr;expr",java_multiple_files:!0,java_outer_classname:"ExprProto",java_package:"com.google.type",objc_class_prefix:"GTP"},nested:{Expr:{fields:{expression:{type:"string",id:1},title:{type:"string",id:2},description:{type:"string",id:3},location:{type:"string",id:4}}}}}}}}}});var yBi=C((rVd,N4l)=>{N4l.exports={interfaces:{"google.cloud.secretmanager.v1.SecretManagerService":{retry_codes:{non_idempotent:[],idempotent:["DEADLINE_EXCEEDED","UNAVAILABLE"],resource_exhausted_unavailable:["RESOURCE_EXHAUSTED","UNAVAILABLE"]},retry_params:{default:{initial_retry_delay_millis:100,retry_delay_multiplier:1.3,max_retry_delay_millis:6e4,initial_rpc_timeout_millis:6e4,rpc_timeout_multiplier:1,max_rpc_timeout_millis:6e4,total_timeout_millis:6e5},dd71b8c1d82d51c18ce5ba426d9acc4c44e7746e:{initial_retry_delay_millis:2e3,retry_delay_multiplier:2,max_retry_delay_millis:6e4,initial_rpc_timeout_millis:6e4,rpc_timeout_multiplier:1,max_rpc_timeout_millis:6e4,total_timeout_millis:6e5}},methods:{ListSecrets:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},CreateSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},AddSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},UpdateSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},DeleteSecret:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},ListSecretVersions:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},AccessSecretVersion:{timeout_millis:6e4,retry_codes_name:"resource_exhausted_unavailable",retry_params_name:"dd71b8c1d82d51c18ce5ba426d9acc4c44e7746e"},DisableSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},EnableSecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},DestroySecretVersion:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},SetIamPolicy:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},GetIamPolicy:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"},TestIamPermissions:{timeout_millis:6e4,retry_codes_name:"non_idempotent",retry_params_name:"default"}}}}}});var zwt=C((nVd,P4l)=>{P4l.exports={name:"@google-cloud/secret-manager",version:"5.2.0",description:"Secrets client for Node.js",repository:{type:"git",directory:"packages/google-cloud-secretmanager",url:"https://github.com/googleapis/google-cloud-node.git"},license:"Apache-2.0",author:"Google LLC",files:["build/src","build/protos","!build/src/**/*.map"],keywords:["secrets","secret","secret manager","secrets management","gcp","google","cloud"],main:"build/src/index.js",scripts:{clean:"gts clean",compile:"tsc -p . && cp -r protos build/","compile-protos":"compileProtos src",docs:"jsdoc -c .jsdoc.js","predocs-test":"npm run docs","docs-test":"linkinator docs",fix:"gts fix",lint:"gts check",prepare:"npm run compile",prelint:"cd samples; npm link ../; npm i",postpack:"minifyProtoJson","samples-test":"cd samples/ && npm link ../ && npm i && npm test","system-test":"c8 mocha build/system-test",test:"c8 mocha build/test"},dependencies:{"google-gax":"^4.0.3"},devDependencies:{"@types/mocha":"^9.0.0","@types/node":"^20.4.5","@types/sinon":"^17.0.0",c8:"^9.0.0","gapic-tools":"^0.4.0",gts:"^5.0.0",jsdoc:"^4.0.0","jsdoc-fresh":"^3.0.0","jsdoc-region-tag":"^3.0.0",linkinator:"4.1.2",long:"^5.2.3",mocha:"^9.2.2","pack-n-play":"^2.0.0",sinon:"^17.0.0",typescript:"^5.1.6"},engines:{node:">=14.0.0"},homepage:"https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-secretmanager"}});var Rc=C(t6=>{"use strict";Object.defineProperty(t6,"__esModule",{value:!0});t6.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=t6.DEFAULT_MAX_SEND_MESSAGE_LENGTH=t6.Propagate=t6.LogVerbosity=t6.Status=void 0;var EBi;(function(r){r[r.OK=0]="OK",r[r.CANCELLED=1]="CANCELLED",r[r.UNKNOWN=2]="UNKNOWN",r[r.INVALID_ARGUMENT=3]="INVALID_ARGUMENT",r[r.DEADLINE_EXCEEDED=4]="DEADLINE_EXCEEDED",r[r.NOT_FOUND=5]="NOT_FOUND",r[r.ALREADY_EXISTS=6]="ALREADY_EXISTS",r[r.PERMISSION_DENIED=7]="PERMISSION_DENIED",r[r.RESOURCE_EXHAUSTED=8]="RESOURCE_EXHAUSTED",r[r.FAILED_PRECONDITION=9]="FAILED_PRECONDITION",r[r.ABORTED=10]="ABORTED",r[r.OUT_OF_RANGE=11]="OUT_OF_RANGE",r[r.UNIMPLEMENTED=12]="UNIMPLEMENTED",r[r.INTERNAL=13]="INTERNAL",r[r.UNAVAILABLE=14]="UNAVAILABLE",r[r.DATA_LOSS=15]="DATA_LOSS",r[r.UNAUTHENTICATED=16]="UNAUTHENTICATED"})(EBi||(t6.Status=EBi={}));var bBi;(function(r){r[r.DEBUG=0]="DEBUG",r[r.INFO=1]="INFO",r[r.ERROR=2]="ERROR",r[r.NONE=3]="NONE"})(bBi||(t6.LogVerbosity=bBi={}));var CBi;(function(r){r[r.DEADLINE=1]="DEADLINE",r[r.CENSUS_STATS_CONTEXT=2]="CENSUS_STATS_CONTEXT",r[r.CENSUS_TRACING_CONTEXT=4]="CENSUS_TRACING_CONTEXT",r[r.CANCELLATION=8]="CANCELLATION",r[r.DEFAULTS=65535]="DEFAULTS"})(CBi||(t6.Propagate=CBi={}));t6.DEFAULT_MAX_SEND_MESSAGE_LENGTH=-1;t6.DEFAULT_MAX_RECEIVE_MESSAGE_LENGTH=4*1024*1024});var qwt=C((oVd,k4l)=>{k4l.exports={name:"@grpc/grpc-js",version:"1.10.3",description:"gRPC Library for Node - pure JS implementation",homepage:"https://grpc.io/",repository:"https://github.com/grpc/grpc-node/tree/master/packages/grpc-js",main:"build/src/index.js",engines:{node:">=12.10.0"},keywords:[],author:{name:"Google Inc."},types:"build/src/index.d.ts",license:"Apache-2.0",devDependencies:{"@types/gulp":"^4.0.17","@types/gulp-mocha":"0.0.37","@types/lodash":"^4.14.202","@types/mocha":"^10.0.6","@types/ncp":"^2.0.8","@types/node":">=20.11.20","@types/pify":"^5.0.4","@types/semver":"^7.5.8","@typescript-eslint/eslint-plugin":"^7.1.0","@typescript-eslint/parser":"^7.1.0","@typescript-eslint/typescript-estree":"^7.1.0","clang-format":"^1.8.0",eslint:"^8.42.0","eslint-config-prettier":"^8.8.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prettier":"^4.2.1",execa:"^2.0.3",gulp:"^4.0.2","gulp-mocha":"^6.0.0",lodash:"^4.17.21",madge:"^5.0.1","mocha-jenkins-reporter":"^0.4.1",ncp:"^2.0.0",pify:"^4.0.1",prettier:"^2.8.8",rimraf:"^3.0.2",semver:"^7.6.0","ts-node":"^10.9.2",typescript:"^5.3.3"},contributors:[{name:"Google Inc."}],scripts:{build:"npm run compile",clean:"rimraf ./build",compile:"tsc -p .",format:'clang-format -i -style="{Language: JavaScript, BasedOnStyle: Google, ColumnLimit: 80}" src/*.ts test/*.ts',lint:"eslint src/*.ts test/*.ts",prepare:"npm run generate-types && npm run compile",test:"gulp test",check:"npm run lint",fix:"eslint --fix src/*.ts test/*.ts",pretest:"npm run generate-types && npm run generate-test-types && npm run compile",posttest:"npm run check && madge -c ./build/src","generate-types":"proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --includeDirs proto/ --include-dirs test/fixtures/ -O src/generated/ --grpcLib ../index channelz.proto","generate-test-types":"proto-loader-gen-types --keepCase --longs String --enums String --defaults --oneofs --includeComments --include-dirs test/fixtures/ -O test/generated/ --grpcLib ../../src/index test_service.proto"},dependencies:{"@grpc/proto-loader":"^0.7.10","@js-sdsl/ordered-map":"^4.4.2"},files:["src/**/*.ts","build/src/**/*.{js,d.ts,js.map}","proto/*.proto","LICENSE","deps/envoy-api/envoy/api/v2/**/*.proto","deps/envoy-api/envoy/config/**/*.proto","deps/envoy-api/envoy/service/**/*.proto","deps/envoy-api/envoy/type/**/*.proto","deps/udpa/udpa/**/*.proto","deps/googleapis/google/api/*.proto","deps/googleapis/google/rpc/*.proto","deps/protoc-gen-validate/validate/**/*.proto"]}});var pA=C(pv=>{"use strict";var ANr,hNr,gNr,mNr;Object.defineProperty(pv,"__esModule",{value:!0});pv.isTracerEnabled=pv.trace=pv.log=pv.setLoggerVerbosity=pv.setLogger=pv.getLogger=void 0;var DZ=Rc(),Q4l=require("process"),F4l=qwt().version,L4l={error:(r,...t)=>{console.error("E "+r,...t)},info:(r,...t)=>{console.error("I "+r,...t)},debug:(r,...t)=>{console.error("D "+r,...t)}},jfe=L4l,lSe=DZ.LogVerbosity.ERROR,z4l=(hNr=(ANr=process.env.GRPC_NODE_VERBOSITY)!==null&&ANr!==void 0?ANr:process.env.GRPC_VERBOSITY)!==null&&hNr!==void 0?hNr:"";switch(z4l.toUpperCase()){case"DEBUG":lSe=DZ.LogVerbosity.DEBUG;break;case"INFO":lSe=DZ.LogVerbosity.INFO;break;case"ERROR":lSe=DZ.LogVerbosity.ERROR;break;case"NONE":lSe=DZ.LogVerbosity.NONE;break;default:}var q4l=()=>jfe;pv.getLogger=q4l;var U4l=r=>{jfe=r};pv.setLogger=U4l;var j4l=r=>{lSe=r};pv.setLoggerVerbosity=j4l;var G4l=(r,...t)=>{let n;if(r>=lSe){switch(r){case DZ.LogVerbosity.DEBUG:n=jfe.debug;break;case DZ.LogVerbosity.INFO:n=jfe.info;break;case DZ.LogVerbosity.ERROR:n=jfe.error;break}n||(n=jfe.error),n&&n.bind(jfe)(...t)}};pv.log=G4l;var W4l=(mNr=(gNr=process.env.GRPC_NODE_TRACE)!==null&&gNr!==void 0?gNr:process.env.GRPC_TRACE)!==null&&mNr!==void 0?mNr:"",yNr=new Set,IBi=new Set;for(let r of W4l.split(","))r.startsWith("-")?IBi.add(r.substring(1)):yNr.add(r);var H4l=yNr.has("all");function Y4l(r,t,n){vBi(t)&&(0,pv.log)(r,new Date().toISOString()+" | v"+F4l+" "+Q4l.pid+" | "+t+" | "+n)}pv.trace=Y4l;function vBi(r){return!IBi.has(r)&&(H4l||yNr.has(r))}pv.isTracerEnabled=vBi});var Uwt=C(uSe=>{"use strict";Object.defineProperty(uSe,"__esModule",{value:!0});uSe.getErrorCode=uSe.getErrorMessage=void 0;function V4l(r){return r instanceof Error?r.message:String(r)}uSe.getErrorMessage=V4l;function K4l(r){return typeof r=="object"&&r!==null&&"code"in r&&typeof r.code=="number"?r.code:null}uSe.getErrorCode=K4l});var aC=C(Gwt=>{"use strict";Object.defineProperty(Gwt,"__esModule",{value:!0});Gwt.Metadata=void 0;var J4l=pA(),X4l=Rc(),$4l=Uwt(),Z4l=/^[0-9a-z_.-]+$/,e_l=/^[ -~]*$/;function t_l(r){return Z4l.test(r)}function r_l(r){return e_l.test(r)}function xBi(r){return r.endsWith("-bin")}function n_l(r){return!r.startsWith("grpc-")}function jwt(r){return r.toLowerCase()}function _Bi(r,t){if(!t_l(r))throw new Error('Metadata key "'+r+'" contains illegal characters');if(t!=null)if(xBi(r)){if(!Buffer.isBuffer(t))throw new Error("keys that end with '-bin' must have Buffer values")}else{if(Buffer.isBuffer(t))throw new Error("keys that don't end with '-bin' must have String values");if(!r_l(t))throw new Error('Metadata string value "'+t+'" contains illegal characters')}}var cSe=class{constructor(t={}){this.internalRepr=new Map,this.options=t}set(t,n){t=jwt(t),_Bi(t,n),this.internalRepr.set(t,[n])}add(t,n){t=jwt(t),_Bi(t,n);let i=this.internalRepr.get(t);i===void 0?this.internalRepr.set(t,[n]):i.push(n)}remove(t){t=jwt(t),this.internalRepr.delete(t)}get(t){return t=jwt(t),this.internalRepr.get(t)||[]}getMap(){let t={};for(let[n,i]of this.internalRepr)if(i.length>0){let o=i[0];t[n]=Buffer.isBuffer(o)?Buffer.from(o):o}return t}clone(){let t=new cSe(this.options),n=t.internalRepr;for(let[i,o]of this.internalRepr){let s=o.map(a=>Buffer.isBuffer(a)?Buffer.from(a):a);n.set(i,s)}return t}merge(t){for(let[n,i]of t.internalRepr){let o=(this.internalRepr.get(n)||[]).concat(i);this.internalRepr.set(n,o)}}setOptions(t){this.options=t}getOptions(){return this.options}toHttp2Headers(){let t={};for(let[n,i]of this.internalRepr)t[n]=i.map(i_l);return t}toJSON(){let t={};for(let[n,i]of this.internalRepr)t[n]=i;return t}static fromHttp2Headers(t){let n=new cSe;for(let i of Object.keys(t)){if(i.charAt(0)===":")continue;let o=t[i];try{xBi(i)?Array.isArray(o)?o.forEach(s=>{n.add(i,Buffer.from(s,"base64"))}):o!==void 0&&(n_l(i)?o.split(",").forEach(s=>{n.add(i,Buffer.from(s.trim(),"base64"))}):n.add(i,Buffer.from(o,"base64"))):Array.isArray(o)?o.forEach(s=>{n.add(i,s)}):o!==void 0&&n.add(i,o)}catch(s){let a=`Failed to add metadata entry ${i}: ${o}. ${(0,$4l.getErrorMessage)(s)}. For more information see https://github.com/grpc/grpc-node/issues/1173`;(0,J4l.log)(X4l.LogVerbosity.ERROR,a)}}return n}};Gwt.Metadata=cSe;var i_l=r=>Buffer.isBuffer(r)?r.toString("base64"):r});var bNr=C(Wwt=>{"use strict";Object.defineProperty(Wwt,"__esModule",{value:!0});Wwt.CallCredentials=void 0;var ENr=aC();function o_l(r){return"getRequestHeaders"in r&&typeof r.getRequestHeaders=="function"}var NZ=class{static createFromMetadataGenerator(t){return new NZe(t)}static createFromGoogleCredential(t){return NZ.createFromMetadataGenerator((n,i)=>{let o;o_l(t)?o=t.getRequestHeaders(n.service_url):o=new Promise((s,a)=>{t.getRequestMetadata(n.service_url,(l,c)=>{if(l){a(l);return}if(!c){a(new Error("Headers not set by metadata plugin"));return}s(c)})}),o.then(s=>{let a=new ENr.Metadata;for(let l of Object.keys(s))a.add(l,s[l]);i(null,a)},s=>{i(s)})})}static createEmpty(){return new PZe}};Wwt.CallCredentials=NZ;var dSe=class extends NZ{constructor(t){super(),this.creds=t}async generateMetadata(t){let n=new ENr.Metadata,i=await Promise.all(this.creds.map(o=>o.generateMetadata(t)));for(let o of i)n.merge(o);return n}compose(t){return new dSe(this.creds.concat([t]))}_equals(t){return this===t?!0:t instanceof dSe?this.creds.every((n,i)=>n._equals(t.creds[i])):!1}},NZe=class extends NZ{constructor(t){super(),this.metadataGenerator=t}generateMetadata(t){return new Promise((n,i)=>{this.metadataGenerator(t,(o,s)=>{s!==void 0?n(s):i(o)})})}compose(t){return new dSe([this,t])}_equals(t){return this===t?!0:t instanceof NZe?this.metadataGenerator===t.metadataGenerator:!1}},PZe=class extends NZ{generateMetadata(t){return Promise.resolve(new ENr.Metadata)}compose(t){return t}_equals(t){return t instanceof PZe}}});var INr=C(pSe=>{"use strict";Object.defineProperty(pSe,"__esModule",{value:!0});pSe.getDefaultRootsData=pSe.CIPHER_SUITES=void 0;var s_l=require("fs");pSe.CIPHER_SUITES=process.env.GRPC_SSL_CIPHER_SUITES;var TBi=process.env.GRPC_DEFAULT_SSL_ROOTS_FILE_PATH,CNr=null;function a_l(){return TBi?(CNr===null&&(CNr=s_l.readFileSync(TBi)),CNr):null}pSe.getDefaultRootsData=a_l});var Ywt=C(Hwt=>{"use strict";Object.defineProperty(Hwt,"__esModule",{value:!0});Hwt.ChannelCredentials=void 0;var l_l=require("tls"),u_l=bNr(),SBi=INr();function vNr(r,t){if(r&&!(r instanceof Buffer))throw new TypeError(`${t}, if provided, must be a Buffer.`)}var fSe=class{constructor(t){this.callCredentials=t||u_l.CallCredentials.createEmpty()}_getCallCredentials(){return this.callCredentials}static createSsl(t,n,i,o){var s;if(vNr(t,"Root certificate"),vNr(n,"Private key"),vNr(i,"Certificate chain"),n&&!i)throw new Error("Private key must be given with accompanying certificate chain");if(!n&&i)throw new Error("Certificate chain must be given with accompanying private key");let a=(0,l_l.createSecureContext)({ca:(s=t??(0,SBi.getDefaultRootsData)())!==null&&s!==void 0?s:void 0,key:n??void 0,cert:i??void 0,ciphers:SBi.CIPHER_SUITES});return new ASe(a,o??{})}static createFromSecureContext(t,n){return new ASe(t,n??{})}static createInsecure(){return new kZe}};Hwt.ChannelCredentials=fSe;var kZe=class extends fSe{constructor(){super()}compose(t){throw new Error("Cannot compose insecure credentials")}_getConnectionOptions(){return null}_isSecure(){return!1}_equals(t){return t instanceof kZe}},ASe=class extends fSe{constructor(t,n){super(),this.secureContext=t,this.verifyOptions=n,this.connectionOptions={secureContext:t},n?.checkServerIdentity&&(this.connectionOptions.checkServerIdentity=n.checkServerIdentity)}compose(t){let n=this.callCredentials.compose(t);return new hSe(this,n)}_getConnectionOptions(){return Object.assign({},this.connectionOptions)}_isSecure(){return!0}_equals(t){return this===t?!0:t instanceof ASe?this.secureContext===t.secureContext&&this.verifyOptions.checkServerIdentity===t.verifyOptions.checkServerIdentity:!1}},hSe=class extends fSe{constructor(t,n){super(n),this.channelCredentials=t}compose(t){let n=this.callCredentials.compose(t);return new hSe(this.channelCredentials,n)}_getConnectionOptions(){return this.channelCredentials._getConnectionOptions()}_isSecure(){return!0}_equals(t){return this===t?!0:t instanceof hSe?this.channelCredentials._equals(t.channelCredentials)&&this.callCredentials._equals(t.callCredentials):!1}}});var Gfe=C(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.selectLbConfigFromList=xy.getDefaultConfig=xy.parseLoadBalancingConfig=xy.isLoadBalancerNameRegistered=xy.createLoadBalancer=xy.registerDefaultLoadBalancerType=xy.registerLoadBalancerType=xy.createChildChannelControlHelper=void 0;var c_l=pA(),d_l=Rc();function p_l(r,t){var n,i,o,s,a,l,c,u,d,p;return{createSubchannel:(i=(n=t.createSubchannel)===null||n===void 0?void 0:n.bind(t))!==null&&i!==void 0?i:r.createSubchannel.bind(r),updateState:(s=(o=t.updateState)===null||o===void 0?void 0:o.bind(t))!==null&&s!==void 0?s:r.updateState.bind(r),requestReresolution:(l=(a=t.requestReresolution)===null||a===void 0?void 0:a.bind(t))!==null&&l!==void 0?l:r.requestReresolution.bind(r),addChannelzChild:(u=(c=t.addChannelzChild)===null||c===void 0?void 0:c.bind(t))!==null&&u!==void 0?u:r.addChannelzChild.bind(r),removeChannelzChild:(p=(d=t.removeChannelzChild)===null||d===void 0?void 0:d.bind(t))!==null&&p!==void 0?p:r.removeChannelzChild.bind(r)}}xy.createChildChannelControlHelper=p_l;var PZ={},QZe=null;function f_l(r,t,n){PZ[r]={LoadBalancer:t,LoadBalancingConfig:n}}xy.registerLoadBalancerType=f_l;function A_l(r){QZe=r}xy.registerDefaultLoadBalancerType=A_l;function h_l(r,t,n){let i=r.getLoadBalancerName();return i in PZ?new PZ[i].LoadBalancer(t,n):null}xy.createLoadBalancer=h_l;function g_l(r){return r in PZ}xy.isLoadBalancerNameRegistered=g_l;function OBi(r){let t=Object.keys(r);if(t.length!==1)throw new Error("Provided load balancing config has multiple conflicting entries");let n=t[0];if(n in PZ)try{return PZ[n].LoadBalancingConfig.createFromJson(r[n])}catch(i){throw new Error(`${n}: ${i.message}`)}else throw new Error(`Unrecognized load balancing config name ${n}`)}xy.parseLoadBalancingConfig=OBi;function m_l(){if(!QZe)throw new Error("No default load balancer type registered");return new PZ[QZe].LoadBalancingConfig}xy.getDefaultConfig=m_l;function y_l(r,t=!1){for(let n of r)try{return OBi(n)}catch(i){(0,c_l.log)(d_l.LogVerbosity.DEBUG,"Config parsing failed with error",i.message);continue}return t&&QZe?new PZ[QZe].LoadBalancingConfig:null}xy.selectLbConfigFromList=y_l});var _Nr=C(kZ=>{"use strict";Object.defineProperty(kZ,"__esModule",{value:!0});kZ.extractAndSelectServiceConfig=kZ.validateServiceConfig=kZ.validateRetryThrottling=void 0;var E_l=require("os"),Vwt=Rc(),Kwt=/^\d+(\.\d{1,9})?s$/,b_l="node";function C_l(r){if("service"in r&&r.service!==""){if(typeof r.service!="string")throw new Error(`Invalid method config name: invalid service: expected type string, got ${typeof r.service}`);if("method"in r&&r.method!==""){if(typeof r.method!="string")throw new Error(`Invalid method config name: invalid method: expected type string, got ${typeof r.service}`);return{service:r.service,method:r.method}}else return{service:r.service}}else{if("method"in r&&r.method!==void 0)throw new Error("Invalid method config name: method set with empty or unset service");return{}}}function I_l(r){if(!("maxAttempts"in r)||!Number.isInteger(r.maxAttempts)||r.maxAttempts<2)throw new Error("Invalid method config retry policy: maxAttempts must be an integer at least 2");if(!("initialBackoff"in r)||typeof r.initialBackoff!="string"||!Kwt.test(r.initialBackoff))throw new Error("Invalid method config retry policy: initialBackoff must be a string consisting of a positive integer followed by s");if(!("maxBackoff"in r)||typeof r.maxBackoff!="string"||!Kwt.test(r.maxBackoff))throw new Error("Invalid method config retry policy: maxBackoff must be a string consisting of a positive integer followed by s");if(!("backoffMultiplier"in r)||typeof r.backoffMultiplier!="number"||r.backoffMultiplier<=0)throw new Error("Invalid method config retry policy: backoffMultiplier must be a number greater than 0");if(!("retryableStatusCodes"in r&&Array.isArray(r.retryableStatusCodes)))throw new Error("Invalid method config retry policy: retryableStatusCodes is required");if(r.retryableStatusCodes.length===0)throw new Error("Invalid method config retry policy: retryableStatusCodes must be non-empty");for(let t of r.retryableStatusCodes)if(typeof t=="number"){if(!Object.values(Vwt.Status).includes(t))throw new Error("Invalid method config retry policy: retryableStatusCodes value not in status code range")}else if(typeof t=="string"){if(!Object.values(Vwt.Status).includes(t.toUpperCase()))throw new Error("Invalid method config retry policy: retryableStatusCodes value not a status code name")}else throw new Error("Invalid method config retry policy: retryableStatusCodes value must be a string or number");return{maxAttempts:r.maxAttempts,initialBackoff:r.initialBackoff,maxBackoff:r.maxBackoff,backoffMultiplier:r.backoffMultiplier,retryableStatusCodes:r.retryableStatusCodes}}function v_l(r){if(!("maxAttempts"in r)||!Number.isInteger(r.maxAttempts)||r.maxAttempts<2)throw new Error("Invalid method config hedging policy: maxAttempts must be an integer at least 2");if("hedgingDelay"in r&&(typeof r.hedgingDelay!="string"||!Kwt.test(r.hedgingDelay)))throw new Error("Invalid method config hedging policy: hedgingDelay must be a string consisting of a positive integer followed by s");if("nonFatalStatusCodes"in r&&Array.isArray(r.nonFatalStatusCodes))for(let n of r.nonFatalStatusCodes)if(typeof n=="number"){if(!Object.values(Vwt.Status).includes(n))throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value not in status code range")}else if(typeof n=="string"){if(!Object.values(Vwt.Status).includes(n.toUpperCase()))throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value not a status code name")}else throw new Error("Invlid method config hedging policy: nonFatalStatusCodes value must be a string or number");let t={maxAttempts:r.maxAttempts};return r.hedgingDelay&&(t.hedgingDelay=r.hedgingDelay),r.nonFatalStatusCodes&&(t.nonFatalStatusCodes=r.nonFatalStatusCodes),t}function __l(r){var t;let n={name:[]};if(!("name"in r)||!Array.isArray(r.name))throw new Error("Invalid method config: invalid name array");for(let i of r.name)n.name.push(C_l(i));if("waitForReady"in r){if(typeof r.waitForReady!="boolean")throw new Error("Invalid method config: invalid waitForReady");n.waitForReady=r.waitForReady}if("timeout"in r)if(typeof r.timeout=="object"){if(!("seconds"in r.timeout)||typeof r.timeout.seconds!="number")throw new Error("Invalid method config: invalid timeout.seconds");if(!("nanos"in r.timeout)||typeof r.timeout.nanos!="number")throw new Error("Invalid method config: invalid timeout.nanos");n.timeout=r.timeout}else if(typeof r.timeout=="string"&&Kwt.test(r.timeout)){let i=r.timeout.substring(0,r.timeout.length-1).split(".");n.timeout={seconds:i[0]|0,nanos:((t=i[1])!==null&&t!==void 0?t:0)|0}}else throw new Error("Invalid method config: invalid timeout");if("maxRequestBytes"in r){if(typeof r.maxRequestBytes!="number")throw new Error("Invalid method config: invalid maxRequestBytes");n.maxRequestBytes=r.maxRequestBytes}if("maxResponseBytes"in r){if(typeof r.maxResponseBytes!="number")throw new Error("Invalid method config: invalid maxRequestBytes");n.maxResponseBytes=r.maxResponseBytes}if("retryPolicy"in r){if("hedgingPolicy"in r)throw new Error("Invalid method config: retryPolicy and hedgingPolicy cannot both be specified");n.retryPolicy=I_l(r.retryPolicy)}else"hedgingPolicy"in r&&(n.hedgingPolicy=v_l(r.hedgingPolicy));return n}function wBi(r){if(!("maxTokens"in r)||typeof r.maxTokens!="number"||r.maxTokens<=0||r.maxTokens>1e3)throw new Error("Invalid retryThrottling: maxTokens must be a number in (0, 1000]");if(!("tokenRatio"in r)||typeof r.tokenRatio!="number"||r.tokenRatio<=0)throw new Error("Invalid retryThrottling: tokenRatio must be a number greater than 0");return{maxTokens:+r.maxTokens.toFixed(3),tokenRatio:+r.tokenRatio.toFixed(3)}}kZ.validateRetryThrottling=wBi;function x_l(r){if(!(typeof r=="object"&&r!==null))throw new Error(`Invalid loadBalancingConfig: unexpected type ${typeof r}`);let t=Object.keys(r);if(t.length>1)throw new Error(`Invalid loadBalancingConfig: unexpected multiple keys ${t}`);if(t.length===0)throw new Error("Invalid loadBalancingConfig: load balancing policy name required");return{[t[0]]:r[t[0]]}}function RBi(r){let t={loadBalancingConfig:[],methodConfig:[]};if("loadBalancingPolicy"in r)if(typeof r.loadBalancingPolicy=="string")t.loadBalancingPolicy=r.loadBalancingPolicy;else throw new Error("Invalid service config: invalid loadBalancingPolicy");if("loadBalancingConfig"in r)if(Array.isArray(r.loadBalancingConfig))for(let i of r.loadBalancingConfig)t.loadBalancingConfig.push(x_l(i));else throw new Error("Invalid service config: invalid loadBalancingConfig");if("methodConfig"in r&&Array.isArray(r.methodConfig))for(let i of r.methodConfig)t.methodConfig.push(__l(i));"retryThrottling"in r&&(t.retryThrottling=wBi(r.retryThrottling));let n=[];for(let i of t.methodConfig)for(let o of i.name){for(let s of n)if(o.service===s.service&&o.method===s.method)throw new Error(`Invalid service config: duplicate name ${o.service}/${o.method}`);n.push(o)}return t}kZ.validateServiceConfig=RBi;function T_l(r){if(!("serviceConfig"in r))throw new Error("Invalid service config choice: missing service config");let t={serviceConfig:RBi(r.serviceConfig)};if("clientLanguage"in r)if(Array.isArray(r.clientLanguage)){t.clientLanguage=[];for(let i of r.clientLanguage)if(typeof i=="string")t.clientLanguage.push(i);else throw new Error("Invalid service config choice: invalid clientLanguage")}else throw new Error("Invalid service config choice: invalid clientLanguage");if("clientHostname"in r)if(Array.isArray(r.clientHostname)){t.clientHostname=[];for(let i of r.clientHostname)if(typeof i=="string")t.clientHostname.push(i);else throw new Error("Invalid service config choice: invalid clientHostname")}else throw new Error("Invalid service config choice: invalid clientHostname");if("percentage"in r)if(typeof r.percentage=="number"&&0<=r.percentage&&r.percentage<=100)t.percentage=r.percentage;else throw new Error("Invalid service config choice: invalid percentage");let n=["clientLanguage","percentage","clientHostname","serviceConfig"];for(let i in r)if(!n.includes(i))throw new Error(`Invalid service config choice: unexpected field ${i}`);return t}function S_l(r,t){if(!Array.isArray(r))throw new Error("Invalid service config list");for(let n of r){let i=T_l(n);if(!(typeof i.percentage=="number"&&t>i.percentage)){if(Array.isArray(i.clientHostname)){let o=!1;for(let s of i.clientHostname)s===E_l.hostname()&&(o=!0);if(!o)continue}if(Array.isArray(i.clientLanguage)){let o=!1;for(let s of i.clientLanguage)s===b_l&&(o=!0);if(!o)continue}return i.serviceConfig}}throw new Error("No matching service config found")}function O_l(r,t){for(let n of r)if(n.length>0&&n[0].startsWith("grpc_config=")){let i=n.join("").substring(12),o=JSON.parse(i);return S_l(o,t)}return null}kZ.extractAndSelectServiceConfig=O_l});var r6=C(Jwt=>{"use strict";Object.defineProperty(Jwt,"__esModule",{value:!0});Jwt.ConnectivityState=void 0;var BBi;(function(r){r[r.IDLE=0]="IDLE",r[r.CONNECTING=1]="CONNECTING",r[r.READY=2]="READY",r[r.TRANSIENT_FAILURE=3]="TRANSIENT_FAILURE",r[r.SHUTDOWN=4]="SHUTDOWN"})(BBi||(Jwt.ConnectivityState=BBi={}))});var DS=C(gk=>{"use strict";Object.defineProperty(gk,"__esModule",{value:!0});gk.uriToString=gk.combineHostPort=gk.splitHostPort=gk.parseUri=void 0;var w_l=/^(?:([A-Za-z0-9+.-]+):)?(?:\/\/([^/]*)\/)?(.+)$/;function R_l(r){let t=w_l.exec(r);return t===null?null:{scheme:t[1],authority:t[2],path:t[3]}}gk.parseUri=R_l;var MBi=/^\d+$/;function B_l(r){if(r.startsWith("[")){let t=r.indexOf("]");if(t===-1)return null;let n=r.substring(1,t);if(n.indexOf(":")===-1)return null;if(r.length>t+1)if(r[t+1]===":"){let i=r.substring(t+2);return MBi.test(i)?{host:n,port:+i}:null}else return null;else return{host:n}}else{let t=r.split(":");return t.length===2?MBi.test(t[1])?{host:t[0],port:+t[1]}:null:{host:r}}}gk.splitHostPort=B_l;function M_l(r){return r.port===void 0?r.host:r.host.includes(":")?`[${r.host}]:${r.port}`:`${r.host}:${r.port}`}gk.combineHostPort=M_l;function D_l(r){let t="";return r.scheme!==void 0&&(t+=r.scheme+":"),r.authority!==void 0&&(t+="//"+r.authority+"/"),t+=r.path,t}gk.uriToString=D_l});var mk=C(n6=>{"use strict";Object.defineProperty(n6,"__esModule",{value:!0});n6.mapUriDefaultScheme=n6.getDefaultAuthority=n6.createResolver=n6.registerDefaultScheme=n6.registerResolver=void 0;var TNr=DS(),gSe={},xNr=null;function N_l(r,t){gSe[r]=t}n6.registerResolver=N_l;function P_l(r){xNr=r}n6.registerDefaultScheme=P_l;function k_l(r,t,n){if(r.scheme!==void 0&&r.scheme in gSe)return new gSe[r.scheme](r,t,n);throw new Error(`No resolver could be created for target ${(0,TNr.uriToString)(r)}`)}n6.createResolver=k_l;function Q_l(r){if(r.scheme!==void 0&&r.scheme in gSe)return gSe[r.scheme].getDefaultAuthority(r);throw new Error(`Invalid target ${(0,TNr.uriToString)(r)}`)}n6.getDefaultAuthority=Q_l;function F_l(r){return r.scheme===void 0||!(r.scheme in gSe)?xNr!==null?{scheme:xNr,authority:void 0,path:(0,TNr.uriToString)(r)}:null:r}n6.mapUriDefaultScheme=F_l});var FZ=C(QZ=>{"use strict";Object.defineProperty(QZ,"__esModule",{value:!0});QZ.QueuePicker=QZ.UnavailablePicker=QZ.PickResultType=void 0;var L_l=aC(),z_l=Rc(),Xwt;(function(r){r[r.COMPLETE=0]="COMPLETE",r[r.QUEUE=1]="QUEUE",r[r.TRANSIENT_FAILURE=2]="TRANSIENT_FAILURE",r[r.DROP=3]="DROP"})(Xwt||(QZ.PickResultType=Xwt={}));var SNr=class{constructor(t){this.status=Object.assign({code:z_l.Status.UNAVAILABLE,details:"No connection established",metadata:new L_l.Metadata},t)}pick(t){return{pickResultType:Xwt.TRANSIENT_FAILURE,subchannel:null,status:this.status,onCallStarted:null,onCallEnded:null}}};QZ.UnavailablePicker=SNr;var ONr=class{constructor(t,n){this.loadBalancer=t,this.childPicker=n,this.calledExitIdle=!1}pick(t){return this.calledExitIdle||(process.nextTick(()=>{this.loadBalancer.exitIdle()}),this.calledExitIdle=!0),this.childPicker?this.childPicker.pick(t):{pickResultType:Xwt.QUEUE,subchannel:null,status:null,onCallStarted:null,onCallEnded:null}}};QZ.QueuePicker=ONr});var FZe=C($wt=>{"use strict";Object.defineProperty($wt,"__esModule",{value:!0});$wt.BackoffTimeout=void 0;var q_l=1e3,U_l=1.6,j_l=12e4,G_l=.2;function W_l(r,t){return Math.random()*(t-r)+r}var wNr=class{constructor(t,n){this.callback=t,this.initialDelay=q_l,this.multiplier=U_l,this.maxDelay=j_l,this.jitter=G_l,this.running=!1,this.hasRef=!0,this.startTime=new Date,this.endTime=new Date,n&&(n.initialDelay&&(this.initialDelay=n.initialDelay),n.multiplier&&(this.multiplier=n.multiplier),n.jitter&&(this.jitter=n.jitter),n.maxDelay&&(this.maxDelay=n.maxDelay)),this.nextDelay=this.initialDelay,this.timerId=setTimeout(()=>{},0),clearTimeout(this.timerId)}runTimer(t){var n,i;this.endTime=this.startTime,this.endTime.setMilliseconds(this.endTime.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),this.timerId=setTimeout(()=>{this.callback(),this.running=!1},t),this.hasRef||(i=(n=this.timerId).unref)===null||i===void 0||i.call(n)}runOnce(){this.running=!0,this.startTime=new Date,this.runTimer(this.nextDelay);let t=Math.min(this.nextDelay*this.multiplier,this.maxDelay),n=t*this.jitter;this.nextDelay=t+W_l(-n,n)}stop(){clearTimeout(this.timerId),this.running=!1}reset(){if(this.nextDelay=this.initialDelay,this.running){let t=new Date,n=this.startTime;n.setMilliseconds(n.getMilliseconds()+this.nextDelay),clearTimeout(this.timerId),t<n?this.runTimer(n.getTime()-t.getTime()):this.running=!1}}isRunning(){return this.running}ref(){var t,n;this.hasRef=!0,(n=(t=this.timerId).ref)===null||n===void 0||n.call(t)}unref(){var t,n;this.hasRef=!1,(n=(t=this.timerId).unref)===null||n===void 0||n.call(t)}getEndTime(){return this.endTime}};$wt.BackoffTimeout=wNr});var e6t=C(Zwt=>{"use strict";Object.defineProperty(Zwt,"__esModule",{value:!0});Zwt.ChildLoadBalancerHandler=void 0;var H_l=Gfe(),Y_l=r6(),V_l="child_load_balancer_helper",RNr=class{constructor(t,n){this.channelControlHelper=t,this.options=n,this.currentChild=null,this.pendingChild=null,this.latestConfig=null,this.ChildPolicyHelper=class{constructor(i){this.parent=i,this.child=null}createSubchannel(i,o){return this.parent.channelControlHelper.createSubchannel(i,o)}updateState(i,o){var s;if(this.calledByPendingChild()){if(i===Y_l.ConnectivityState.CONNECTING)return;(s=this.parent.currentChild)===null||s===void 0||s.destroy(),this.parent.currentChild=this.parent.pendingChild,this.parent.pendingChild=null}else if(!this.calledByCurrentChild())return;this.parent.channelControlHelper.updateState(i,o)}requestReresolution(){var i;let o=(i=this.parent.pendingChild)!==null&&i!==void 0?i:this.parent.currentChild;this.child===o&&this.parent.channelControlHelper.requestReresolution()}setChild(i){this.child=i}addChannelzChild(i){this.parent.channelControlHelper.addChannelzChild(i)}removeChannelzChild(i){this.parent.channelControlHelper.removeChannelzChild(i)}calledByPendingChild(){return this.child===this.parent.pendingChild}calledByCurrentChild(){return this.child===this.parent.currentChild}}}configUpdateRequiresNewPolicyInstance(t,n){return t.getLoadBalancerName()!==n.getLoadBalancerName()}updateAddressList(t,n,i){let o;if(this.currentChild===null||this.latestConfig===null||this.configUpdateRequiresNewPolicyInstance(this.latestConfig,n)){let s=new this.ChildPolicyHelper(this),a=(0,H_l.createLoadBalancer)(n,s,this.options);s.setChild(a),this.currentChild===null?(this.currentChild=a,o=this.currentChild):(this.pendingChild&&this.pendingChild.destroy(),this.pendingChild=a,o=this.pendingChild)}else this.pendingChild===null?o=this.currentChild:o=this.pendingChild;this.latestConfig=n,o.updateAddressList(t,n,i)}exitIdle(){this.currentChild&&(this.currentChild.exitIdle(),this.pendingChild&&this.pendingChild.exitIdle())}resetBackoff(){this.currentChild&&(this.currentChild.resetBackoff(),this.pendingChild&&this.pendingChild.resetBackoff())}destroy(){this.currentChild&&(this.currentChild.destroy(),this.currentChild=null),this.pendingChild&&(this.pendingChild.destroy(),this.pendingChild=null)}getTypeName(){return V_l}};Zwt.ChildLoadBalancerHandler=RNr});var NBi=C(t6t=>{"use strict";Object.defineProperty(t6t,"__esModule",{value:!0});t6t.ResolvingLoadBalancer=void 0;var K_l=Gfe(),J_l=_Nr(),T_=r6(),X_l=mk(),LZe=FZ(),$_l=FZe(),BNr=Rc(),Z_l=aC(),exl=pA(),txl=Rc(),rxl=DS(),nxl=e6t(),ixl="resolving_load_balancer";function DBi(r){exl.trace(txl.LogVerbosity.DEBUG,ixl,r)}var oxl=["SERVICE_AND_METHOD","SERVICE","EMPTY"];function sxl(r,t,n,i){for(let o of n.name)switch(i){case"EMPTY":if(!o.service&&!o.method)return!0;break;case"SERVICE":if(o.service===r&&!o.method)return!0;break;case"SERVICE_AND_METHOD":if(o.service===r&&o.method===t)return!0}return!1}function axl(r,t,n,i){for(let o of n)if(sxl(r,t,o,i))return o;return null}function lxl(r){return function(n,i){var o,s;let a=n.split("/").filter(u=>u.length>0),l=(o=a[0])!==null&&o!==void 0?o:"",c=(s=a[1])!==null&&s!==void 0?s:"";if(r&&r.methodConfig)for(let u of oxl){let d=axl(l,c,r.methodConfig,u);if(d)return{methodConfig:d,pickInformation:{},status:BNr.Status.OK,dynamicFilterFactories:[]}}return{methodConfig:{name:[]},pickInformation:{},status:BNr.Status.OK,dynamicFilterFactories:[]}}}var MNr=class{constructor(t,n,i,o,s){this.target=t,this.channelControlHelper=n,this.onSuccessfulResolution=o,this.onFailedResolution=s,this.latestChildState=T_.ConnectivityState.IDLE,this.latestChildPicker=new LZe.QueuePicker(this),this.currentState=T_.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1,i["grpc.service_config"]?this.defaultServiceConfig=(0,J_l.validateServiceConfig)(JSON.parse(i["grpc.service_config"])):this.defaultServiceConfig={loadBalancingConfig:[],methodConfig:[]},this.updateState(T_.ConnectivityState.IDLE,new LZe.QueuePicker(this)),this.childLoadBalancer=new nxl.ChildLoadBalancerHandler({createSubchannel:n.createSubchannel.bind(n),requestReresolution:()=>{this.backoffTimeout.isRunning()?(DBi("requestReresolution delayed by backoff timer until "+this.backoffTimeout.getEndTime().toISOString()),this.continueResolving=!0):this.updateResolution()},updateState:(l,c)=>{this.latestChildState=l,this.latestChildPicker=c,this.updateState(l,c)},addChannelzChild:n.addChannelzChild.bind(n),removeChannelzChild:n.removeChannelzChild.bind(n)},i),this.innerResolver=(0,X_l.createResolver)(t,{onSuccessfulResolution:(l,c,u,d,p)=>{var f;this.backoffTimeout.stop(),this.backoffTimeout.reset();let A=null;c===null?u===null?(this.previousServiceConfig=null,A=this.defaultServiceConfig):this.previousServiceConfig===null?this.handleResolutionFailure(u):A=this.previousServiceConfig:(A=c,this.previousServiceConfig=c);let h=(f=A?.loadBalancingConfig)!==null&&f!==void 0?f:[],y=(0,K_l.selectLbConfigFromList)(h,!0);if(y===null){this.handleResolutionFailure({code:BNr.Status.UNAVAILABLE,details:"All load balancer options in service config are not compatible",metadata:new Z_l.Metadata});return}this.childLoadBalancer.updateAddressList(l,y,p);let I=A??this.defaultServiceConfig;this.onSuccessfulResolution(I,d??lxl(I))},onError:l=>{this.handleResolutionFailure(l)}},i);let a={initialDelay:i["grpc.initial_reconnect_backoff_ms"],maxDelay:i["grpc.max_reconnect_backoff_ms"]};this.backoffTimeout=new $_l.BackoffTimeout(()=>{this.continueResolving?(this.updateResolution(),this.continueResolving=!1):this.updateState(this.latestChildState,this.latestChildPicker)},a),this.backoffTimeout.unref()}updateResolution(){this.innerResolver.updateResolution(),this.currentState===T_.ConnectivityState.IDLE&&this.updateState(T_.ConnectivityState.CONNECTING,this.latestChildPicker),this.backoffTimeout.runOnce()}updateState(t,n){DBi((0,rxl.uriToString)(this.target)+" "+T_.ConnectivityState[this.currentState]+" -> "+T_.ConnectivityState[t]),t===T_.ConnectivityState.IDLE&&(n=new LZe.QueuePicker(this,n)),this.currentState=t,this.channelControlHelper.updateState(t,n)}handleResolutionFailure(t){this.latestChildState===T_.ConnectivityState.IDLE&&(this.updateState(T_.ConnectivityState.TRANSIENT_FAILURE,new LZe.UnavailablePicker(t)),this.onFailedResolution(t))}exitIdle(){(this.currentState===T_.ConnectivityState.IDLE||this.currentState===T_.ConnectivityState.TRANSIENT_FAILURE)&&(this.backoffTimeout.isRunning()?this.continueResolving=!0:this.updateResolution()),this.childLoadBalancer.exitIdle()}updateAddressList(t,n){throw new Error("updateAddressList not supported on ResolvingLoadBalancer")}resetBackoff(){this.backoffTimeout.reset(),this.childLoadBalancer.resetBackoff()}destroy(){this.childLoadBalancer.destroy(),this.innerResolver.destroy(),this.backoffTimeout.reset(),this.backoffTimeout.stop(),this.latestChildState=T_.ConnectivityState.IDLE,this.latestChildPicker=new LZe.QueuePicker(this),this.currentState=T_.ConnectivityState.IDLE,this.previousServiceConfig=null,this.continueResolving=!1}getTypeName(){return"resolving_load_balancer"}};t6t.ResolvingLoadBalancer=MNr});var PBi=C(mSe=>{"use strict";Object.defineProperty(mSe,"__esModule",{value:!0});mSe.channelOptionsEqual=mSe.recognizedOptions=void 0;mSe.recognizedOptions={"grpc.ssl_target_name_override":!0,"grpc.primary_user_agent":!0,"grpc.secondary_user_agent":!0,"grpc.default_authority":!0,"grpc.keepalive_time_ms":!0,"grpc.keepalive_timeout_ms":!0,"grpc.keepalive_permit_without_calls":!0,"grpc.service_config":!0,"grpc.max_concurrent_streams":!0,"grpc.initial_reconnect_backoff_ms":!0,"grpc.max_reconnect_backoff_ms":!0,"grpc.use_local_subchannel_pool":!0,"grpc.max_send_message_length":!0,"grpc.max_receive_message_length":!0,"grpc.enable_http_proxy":!0,"grpc.enable_channelz":!0,"grpc.dns_min_time_between_resolutions_ms":!0,"grpc.enable_retries":!0,"grpc.per_rpc_retry_buffer_size":!0,"grpc.retry_buffer_size":!0,"grpc.max_connection_age_ms":!0,"grpc.max_connection_age_grace_ms":!0,"grpc-node.max_session_memory":!0,"grpc.service_config_disable_resolution":!0,"grpc.client_idle_timeout_ms":!0,"grpc-node.tls_enable_trace":!0,"grpc.lb.ring_hash.ring_size_cap":!0};function uxl(r,t){let n=Object.keys(r).sort(),i=Object.keys(t).sort();if(n.length!==i.length)return!1;for(let o=0;o<n.length;o+=1)if(n[o]!==i[o]||r[n[o]]!==t[i[o]])return!1;return!0}mSe.channelOptionsEqual=uxl});var L8=C(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});Ty.EndpointMap=Ty.endpointHasAddress=Ty.endpointToString=Ty.endpointEqual=Ty.stringToSubchannelAddress=Ty.subchannelAddressToString=Ty.subchannelAddressEqual=Ty.isTcpSubchannelAddress=void 0;var cxl=require("net");function qZe(r){return"port"in r}Ty.isTcpSubchannelAddress=qZe;function r6t(r,t){return!r&&!t?!0:!r||!t?!1:qZe(r)?qZe(t)&&r.host===t.host&&r.port===t.port:!qZe(t)&&r.path===t.path}Ty.subchannelAddressEqual=r6t;function kBi(r){return qZe(r)?r.host+":"+r.port:r.path}Ty.subchannelAddressToString=kBi;var dxl=443;function pxl(r,t){return(0,cxl.isIP)(r)?{host:r,port:t??dxl}:{path:r}}Ty.stringToSubchannelAddress=pxl;function fxl(r,t){if(r.addresses.length!==t.addresses.length)return!1;for(let n=0;n<r.addresses.length;n++)if(!r6t(r.addresses[n],t.addresses[n]))return!1;return!0}Ty.endpointEqual=fxl;function Axl(r){return"["+r.addresses.map(kBi).join(", ")+"]"}Ty.endpointToString=Axl;function QBi(r,t){for(let n of r.addresses)if(r6t(n,t))return!0;return!1}Ty.endpointHasAddress=QBi;function zZe(r,t){if(r.addresses.length!==t.addresses.length)return!1;for(let n of r.addresses){let i=!1;for(let o of t.addresses)if(r6t(n,o)){i=!0;break}if(!i)return!1}return!0}var DNr=class{constructor(){this.map=new Set}get size(){return this.map.size}getForSubchannelAddress(t){for(let n of this.map)if(QBi(n.key,t))return n.value}deleteMissing(t){let n=[];for(let i of this.map){let o=!1;for(let s of t)zZe(s,i.key)&&(o=!0);o||(n.push(i.value),this.map.delete(i))}return n}get(t){for(let n of this.map)if(zZe(t,n.key))return n.value}set(t,n){for(let i of this.map)if(zZe(t,i.key)){i.value=n;return}this.map.add({key:t,value:n})}delete(t){for(let n of this.map)if(zZe(t,n.key)){this.map.delete(n);return}}has(t){for(let n of this.map)if(zZe(t,n.key))return!0;return!1}clear(){this.map.clear()}*keys(){for(let t of this.map)yield t.key}*values(){for(let t of this.map)yield t.value}*entries(){for(let t of this.map)yield[t.key,t.value]}};Ty.EndpointMap=DNr});var FBi=C(qNr=>{"use strict";Object.defineProperty(qNr,"t",{value:!0});var n6t=class{constructor(t,n,i=1){this.i=void 0,this.h=void 0,this.o=void 0,this.u=t,this.l=n,this.p=i}I(){let t=this,n=t.o.o===t;if(n&&t.p===1)t=t.h;else if(t.i)for(t=t.i;t.h;)t=t.h;else{if(n)return t.o;let i=t.o;for(;i.i===t;)t=i,i=t.o;t=i}return t}B(){let t=this;if(t.h){for(t=t.h;t.i;)t=t.i;return t}else{let n=t.o;for(;n.h===t;)t=n,n=t.o;return t.h!==n?n:t}}_(){let t=this.o,n=this.h,i=n.i;return t.o===this?t.o=n:t.i===this?t.i=n:t.h=n,n.o=t,n.i=this,this.o=n,this.h=i,i&&(i.o=this),n}g(){let t=this.o,n=this.i,i=n.h;return t.o===this?t.o=n:t.i===this?t.i=n:t.h=n,n.o=t,n.h=this,this.o=n,this.i=i,i&&(i.o=this),n}},NNr=class extends n6t{constructor(){super(...arguments),this.M=1}_(){let t=super._();return this.O(),t.O(),t}g(){let t=super.g();return this.O(),t.O(),t}O(){this.M=1,this.i&&(this.M+=this.i.M),this.h&&(this.M+=this.h.M)}},PNr=class{constructor(t=0){this.iteratorType=t}equals(t){return this.T===t.T}},kNr=class{constructor(){this.m=0}get length(){return this.m}size(){return this.m}empty(){return this.m===0}},QNr=class extends kNr{};function Wfe(){throw new RangeError("Iterator access denied!")}var FNr=class extends QNr{constructor(t=function(i,o){return i<o?-1:i>o?1:0},n=!1){super(),this.v=void 0,this.A=t,this.enableIndex=n,this.N=n?NNr:n6t,this.C=new this.N}R(t,n){let i=this.C;for(;t;){let o=this.A(t.u,n);if(o<0)t=t.h;else if(o>0)i=t,t=t.i;else return t}return i}K(t,n){let i=this.C;for(;t;)this.A(t.u,n)<=0?t=t.h:(i=t,t=t.i);return i}L(t,n){let i=this.C;for(;t;){let o=this.A(t.u,n);if(o<0)i=t,t=t.h;else if(o>0)t=t.i;else return t}return i}k(t,n){let i=this.C;for(;t;)this.A(t.u,n)<0?(i=t,t=t.h):t=t.i;return i}P(t){for(;;){let n=t.o;if(n===this.C)return;if(t.p===1){t.p=0;return}if(t===n.i){let i=n.h;if(i.p===1)i.p=0,n.p=1,n===this.v?this.v=n._():n._();else if(i.h&&i.h.p===1){i.p=n.p,n.p=0,i.h.p=0,n===this.v?this.v=n._():n._();return}else i.i&&i.i.p===1?(i.p=1,i.i.p=0,i.g()):(i.p=1,t=n)}else{let i=n.i;if(i.p===1)i.p=0,n.p=1,n===this.v?this.v=n.g():n.g();else if(i.i&&i.i.p===1){i.p=n.p,n.p=0,i.i.p=0,n===this.v?this.v=n.g():n.g();return}else i.h&&i.h.p===1?(i.p=1,i.h.p=0,i._()):(i.p=1,t=n)}}}S(t){if(this.m===1){this.clear();return}let n=t;for(;n.i||n.h;){if(n.h)for(n=n.h;n.i;)n=n.i;else n=n.i;let o=t.u;t.u=n.u,n.u=o;let s=t.l;t.l=n.l,n.l=s,t=n}this.C.i===n?this.C.i=n.o:this.C.h===n&&(this.C.h=n.o),this.P(n);let i=n.o;if(n===i.i?i.i=void 0:i.h=void 0,this.m-=1,this.v.p=0,this.enableIndex)for(;i!==this.C;)i.M-=1,i=i.o}U(t){let n=typeof t=="number"?t:void 0,i=typeof t=="function"?t:void 0,o=typeof t>"u"?[]:void 0,s=0,a=this.v,l=[];for(;l.length||a;)if(a)l.push(a),a=a.i;else{if(a=l.pop(),s===n)return a;o&&o.push(a),i&&i(a,s,this),s+=1,a=a.h}return o}j(t){for(;;){let n=t.o;if(n.p===0)return;let i=n.o;if(n===i.i){let o=i.h;if(o&&o.p===1){if(o.p=n.p=0,i===this.v)return;i.p=1,t=i;continue}else if(t===n.h){if(t.p=0,t.i&&(t.i.o=n),t.h&&(t.h.o=i),n.h=t.i,i.i=t.h,t.i=n,t.h=i,i===this.v)this.v=t,this.C.o=t;else{let s=i.o;s.i===i?s.i=t:s.h=t}t.o=i.o,n.o=t,i.o=t,i.p=1}else{n.p=0,i===this.v?this.v=i.g():i.g(),i.p=1;return}}else{let o=i.i;if(o&&o.p===1){if(o.p=n.p=0,i===this.v)return;i.p=1,t=i;continue}else if(t===n.i){if(t.p=0,t.i&&(t.i.o=i),t.h&&(t.h.o=n),i.h=t.i,n.i=t.h,t.i=i,t.h=n,i===this.v)this.v=t,this.C.o=t;else{let s=i.o;s.i===i?s.i=t:s.h=t}t.o=i.o,n.o=t,i.o=t,i.p=1}else{n.p=0,i===this.v?this.v=i._():i._(),i.p=1;return}}this.enableIndex&&(n.O(),i.O(),t.O());return}}q(t,n,i){if(this.v===void 0)return this.m+=1,this.v=new this.N(t,n,0),this.v.o=this.C,this.C.o=this.C.i=this.C.h=this.v,this.m;let o,s=this.C.i,a=this.A(s.u,t);if(a===0)return s.l=n,this.m;if(a>0)s.i=new this.N(t,n),s.i.o=s,o=s.i,this.C.i=o;else{let l=this.C.h,c=this.A(l.u,t);if(c===0)return l.l=n,this.m;if(c<0)l.h=new this.N(t,n),l.h.o=l,o=l.h,this.C.h=o;else{if(i!==void 0){let u=i.T;if(u!==this.C){let d=this.A(u.u,t);if(d===0)return u.l=n,this.m;if(d>0){let p=u.I(),f=this.A(p.u,t);if(f===0)return p.l=n,this.m;f<0&&(o=new this.N(t,n),p.h===void 0?(p.h=o,o.o=p):(u.i=o,o.o=u))}}}if(o===void 0)for(o=this.v;;){let u=this.A(o.u,t);if(u>0){if(o.i===void 0){o.i=new this.N(t,n),o.i.o=o,o=o.i;break}o=o.i}else if(u<0){if(o.h===void 0){o.h=new this.N(t,n),o.h.o=o,o=o.h;break}o=o.h}else return o.l=n,this.m}}}if(this.enableIndex){let l=o.o;for(;l!==this.C;)l.M+=1,l=l.o}return this.j(o),this.m+=1,this.m}H(t,n){for(;t;){let i=this.A(t.u,n);if(i<0)t=t.h;else if(i>0)t=t.i;else return t}return t||this.C}clear(){this.m=0,this.v=void 0,this.C.o=void 0,this.C.i=this.C.h=void 0}updateKeyByIterator(t,n){let i=t.T;if(i===this.C&&Wfe(),this.m===1)return i.u=n,!0;let o=i.B().u;if(i===this.C.i)return this.A(o,n)>0?(i.u=n,!0):!1;let s=i.I().u;return i===this.C.h?this.A(s,n)<0?(i.u=n,!0):!1:this.A(s,n)>=0||this.A(o,n)<=0?!1:(i.u=n,!0)}eraseElementByPos(t){if(t<0||t>this.m-1)throw new RangeError;let n=this.U(t);return this.S(n),this.m}eraseElementByKey(t){if(this.m===0)return!1;let n=this.H(this.v,t);return n===this.C?!1:(this.S(n),!0)}eraseElementByIterator(t){let n=t.T;n===this.C&&Wfe();let i=n.h===void 0;return t.iteratorType===0?i&&t.next():(!i||n.i===void 0)&&t.next(),this.S(n),t}getHeight(){if(this.m===0)return 0;function t(n){return n?Math.max(t(n.i),t(n.h))+1:0}return t(this.v)}},LNr=class extends PNr{constructor(t,n,i){super(i),this.T=t,this.C=n,this.iteratorType===0?(this.pre=function(){return this.T===this.C.i&&Wfe(),this.T=this.T.I(),this},this.next=function(){return this.T===this.C&&Wfe(),this.T=this.T.B(),this}):(this.pre=function(){return this.T===this.C.h&&Wfe(),this.T=this.T.B(),this},this.next=function(){return this.T===this.C&&Wfe(),this.T=this.T.I(),this})}get index(){let t=this.T,n=this.C.o;if(t===this.C)return n?n.M-1:0;let i=0;for(t.i&&(i+=t.i.M);t!==n;){let o=t.o;t===o.h&&(i+=1,o.i&&(i+=o.i.M)),t=o}return i}isAccessible(){return this.T!==this.C}},NS=class extends LNr{constructor(t,n,i,o){super(t,n,o),this.container=i}get pointer(){this.T===this.C&&Wfe();let t=this;return new Proxy([],{get(n,i){return i==="0"?t.T.u:i==="1"?t.T.l:(n[0]=t.T.u,n[1]=t.T.l,n[i])},set(n,i,o){if(i!=="1")throw new TypeError("prop must be 1");return t.T.l=o,!0}})}copy(){return new NS(this.T,this.C,this.container,this.iteratorType)}},zNr=class extends FNr{constructor(t=[],n,i){super(n,i);let o=this;t.forEach(function(s){o.setElement(s[0],s[1])})}begin(){return new NS(this.C.i||this.C,this.C,this)}end(){return new NS(this.C,this.C,this)}rBegin(){return new NS(this.C.h||this.C,this.C,this,1)}rEnd(){return new NS(this.C,this.C,this,1)}front(){if(this.m===0)return;let t=this.C.i;return[t.u,t.l]}back(){if(this.m===0)return;let t=this.C.h;return[t.u,t.l]}lowerBound(t){let n=this.R(this.v,t);return new NS(n,this.C,this)}upperBound(t){let n=this.K(this.v,t);return new NS(n,this.C,this)}reverseLowerBound(t){let n=this.L(this.v,t);return new NS(n,this.C,this)}reverseUpperBound(t){let n=this.k(this.v,t);return new NS(n,this.C,this)}forEach(t){this.U(function(n,i,o){t([n.u,n.l],i,o)})}setElement(t,n,i){return this.q(t,n,i)}getElementByPos(t){if(t<0||t>this.m-1)throw new RangeError;let n=this.U(t);return[n.u,n.l]}find(t){let n=this.H(this.v,t);return new NS(n,this.C,this)}getElementByKey(t){return this.H(this.v,t).l}union(t){let n=this;return t.forEach(function(i){n.setElement(i[0],i[1])}),this.m}*[Symbol.iterator](){let t=this.m,n=this.U();for(let i=0;i<t;++i){let o=n[i];yield[o.u,o.l]}}};qNr.OrderedMap=zNr});var i6t=C(ySe=>{"use strict";Object.defineProperty(ySe,"__esModule",{value:!0});ySe.addAdminServicesToServer=ySe.registerAdminService=void 0;var LBi=[];function hxl(r,t){LBi.push({getServiceDefinition:r,getHandlers:t})}ySe.registerAdminService=hxl;function gxl(r){for(let{getServiceDefinition:t,getHandlers:n}of LBi)r.addService(t(),n())}ySe.addAdminServicesToServer=gxl});var zBi=C(i6=>{"use strict";Object.defineProperty(i6,"__esModule",{value:!0});i6.ClientDuplexStreamImpl=i6.ClientWritableStreamImpl=i6.ClientReadableStreamImpl=i6.ClientUnaryCallImpl=i6.callErrorFromStatus=void 0;var mxl=require("events"),HNr=require("stream"),UZe=Rc();function yxl(r,t){let n=`${r.code} ${UZe.Status[r.code]}: ${r.details}`,o=`${new Error(n).stack}
299
299
  for call at
300
300
  ${t}`;return Object.assign(new Error(n),r,{stack:o})}i6.callErrorFromStatus=yxl;var UNr=class extends mxl.EventEmitter{constructor(){super()}cancel(){var t;(t=this.call)===null||t===void 0||t.cancelWithStatus(UZe.Status.CANCELLED,"Cancelled on client")}getPeer(){var t,n;return(n=(t=this.call)===null||t===void 0?void 0:t.getPeer())!==null&&n!==void 0?n:"unknown"}};i6.ClientUnaryCallImpl=UNr;var jNr=class extends HNr.Readable{constructor(t){super({objectMode:!0}),this.deserialize=t}cancel(){var t;(t=this.call)===null||t===void 0||t.cancelWithStatus(UZe.Status.CANCELLED,"Cancelled on client")}getPeer(){var t,n;return(n=(t=this.call)===null||t===void 0?void 0:t.getPeer())!==null&&n!==void 0?n:"unknown"}_read(t){var n;(n=this.call)===null||n===void 0||n.startRead()}};i6.ClientReadableStreamImpl=jNr;var GNr=class extends HNr.Writable{constructor(t){super({objectMode:!0}),this.serialize=t}cancel(){var t;(t=this.call)===null||t===void 0||t.cancelWithStatus(UZe.Status.CANCELLED,"Cancelled on client")}getPeer(){var t,n;return(n=(t=this.call)===null||t===void 0?void 0:t.getPeer())!==null&&n!==void 0?n:"unknown"}_write(t,n,i){var o;let s={callback:i},a=Number(n);Number.isNaN(a)||(s.flags=a),(o=this.call)===null||o===void 0||o.sendMessageWithContext(s,t)}_final(t){var n;(n=this.call)===null||n===void 0||n.halfClose(),t()}};i6.ClientWritableStreamImpl=GNr;var WNr=class extends HNr.Duplex{constructor(t,n){super({objectMode:!0}),this.serialize=t,this.deserialize=n}cancel(){var t;(t=this.call)===null||t===void 0||t.cancelWithStatus(UZe.Status.CANCELLED,"Cancelled on client")}getPeer(){var t,n;return(n=(t=this.call)===null||t===void 0?void 0:t.getPeer())!==null&&n!==void 0?n:"unknown"}_read(t){var n;(n=this.call)===null||n===void 0||n.startRead()}_write(t,n,i){var o;let s={callback:i},a=Number(n);Number.isNaN(a)||(s.flags=a),(o=this.call)===null||o===void 0||o.sendMessageWithContext(s,t)}_final(t){var n;(n=this.call)===null||n===void 0||n.halfClose(),t()}};i6.ClientDuplexStreamImpl=WNr});var qBi=C(ESe=>{"use strict";Object.defineProperty(ESe,"__esModule",{value:!0});ESe.InterceptingListenerImpl=ESe.isInterceptingListener=void 0;function Exl(r){return r.onReceiveMetadata!==void 0&&r.onReceiveMetadata.length===1}ESe.isInterceptingListener=Exl;var YNr=class{constructor(t,n){this.listener=t,this.nextListener=n,this.processingMetadata=!1,this.hasPendingMessage=!1,this.processingMessage=!1,this.pendingStatus=null}processPendingMessage(){this.hasPendingMessage&&(this.nextListener.onReceiveMessage(this.pendingMessage),this.pendingMessage=null,this.hasPendingMessage=!1)}processPendingStatus(){this.pendingStatus&&this.nextListener.onReceiveStatus(this.pendingStatus)}onReceiveMetadata(t){this.processingMetadata=!0,this.listener.onReceiveMetadata(t,n=>{this.processingMetadata=!1,this.nextListener.onReceiveMetadata(n),this.processPendingMessage(),this.processPendingStatus()})}onReceiveMessage(t){this.processingMessage=!0,this.listener.onReceiveMessage(t,n=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessage=n,this.hasPendingMessage=!0):(this.nextListener.onReceiveMessage(n),this.processPendingStatus())})}onReceiveStatus(t){this.listener.onReceiveStatus(t,n=>{this.processingMetadata||this.processingMessage?this.pendingStatus=n:this.nextListener.onReceiveStatus(n)})}};ESe.InterceptingListenerImpl=YNr});var e7r=C(o6=>{"use strict";Object.defineProperty(o6,"__esModule",{value:!0});o6.getInterceptingCall=o6.InterceptingCall=o6.RequesterBuilder=o6.ListenerBuilder=o6.InterceptorConfigurationError=void 0;var bxl=aC(),UBi=qBi(),jBi=Rc(),GBi=Uwt(),Hfe=class extends Error{constructor(t){super(t),this.name="InterceptorConfigurationError",Error.captureStackTrace(this,Hfe)}};o6.InterceptorConfigurationError=Hfe;var KNr=class{constructor(){this.metadata=void 0,this.message=void 0,this.status=void 0}withOnReceiveMetadata(t){return this.metadata=t,this}withOnReceiveMessage(t){return this.message=t,this}withOnReceiveStatus(t){return this.status=t,this}build(){return{onReceiveMetadata:this.metadata,onReceiveMessage:this.message,onReceiveStatus:this.status}}};o6.ListenerBuilder=KNr;var JNr=class{constructor(){this.start=void 0,this.message=void 0,this.halfClose=void 0,this.cancel=void 0}withStart(t){return this.start=t,this}withSendMessage(t){return this.message=t,this}withHalfClose(t){return this.halfClose=t,this}withCancel(t){return this.cancel=t,this}build(){return{start:this.start,sendMessage:this.message,halfClose:this.halfClose,cancel:this.cancel}}};o6.RequesterBuilder=JNr;var VNr={onReceiveMetadata:(r,t)=>{t(r)},onReceiveMessage:(r,t)=>{t(r)},onReceiveStatus:(r,t)=>{t(r)}},jZe={start:(r,t,n)=>{n(r,t)},sendMessage:(r,t)=>{t(r)},halfClose:r=>{r()},cancel:r=>{r()}},XNr=class{constructor(t,n){var i,o,s,a;this.nextCall=t,this.processingMetadata=!1,this.pendingMessageContext=null,this.processingMessage=!1,this.pendingHalfClose=!1,n?this.requester={start:(i=n.start)!==null&&i!==void 0?i:jZe.start,sendMessage:(o=n.sendMessage)!==null&&o!==void 0?o:jZe.sendMessage,halfClose:(s=n.halfClose)!==null&&s!==void 0?s:jZe.halfClose,cancel:(a=n.cancel)!==null&&a!==void 0?a:jZe.cancel}:this.requester=jZe}cancelWithStatus(t,n){this.requester.cancel(()=>{this.nextCall.cancelWithStatus(t,n)})}getPeer(){return this.nextCall.getPeer()}processPendingMessage(){this.pendingMessageContext&&(this.nextCall.sendMessageWithContext(this.pendingMessageContext,this.pendingMessage),this.pendingMessageContext=null,this.pendingMessage=null)}processPendingHalfClose(){this.pendingHalfClose&&this.nextCall.halfClose()}start(t,n){var i,o,s,a,l,c;let u={onReceiveMetadata:(o=(i=n?.onReceiveMetadata)===null||i===void 0?void 0:i.bind(n))!==null&&o!==void 0?o:d=>{},onReceiveMessage:(a=(s=n?.onReceiveMessage)===null||s===void 0?void 0:s.bind(n))!==null&&a!==void 0?a:d=>{},onReceiveStatus:(c=(l=n?.onReceiveStatus)===null||l===void 0?void 0:l.bind(n))!==null&&c!==void 0?c:d=>{}};this.processingMetadata=!0,this.requester.start(t,u,(d,p)=>{var f,A,h;this.processingMetadata=!1;let y;if((0,UBi.isInterceptingListener)(p))y=p;else{let I={onReceiveMetadata:(f=p.onReceiveMetadata)!==null&&f!==void 0?f:VNr.onReceiveMetadata,onReceiveMessage:(A=p.onReceiveMessage)!==null&&A!==void 0?A:VNr.onReceiveMessage,onReceiveStatus:(h=p.onReceiveStatus)!==null&&h!==void 0?h:VNr.onReceiveStatus};y=new UBi.InterceptingListenerImpl(I,u)}this.nextCall.start(d,y),this.processPendingMessage(),this.processPendingHalfClose()})}sendMessageWithContext(t,n){this.processingMessage=!0,this.requester.sendMessage(n,i=>{this.processingMessage=!1,this.processingMetadata?(this.pendingMessageContext=t,this.pendingMessage=n):(this.nextCall.sendMessageWithContext(t,i),this.processPendingHalfClose())})}sendMessage(t){this.sendMessageWithContext({},t)}startRead(){this.nextCall.startRead()}halfClose(){this.requester.halfClose(()=>{this.processingMetadata||this.processingMessage?this.pendingHalfClose=!0:this.nextCall.halfClose()})}};o6.InterceptingCall=XNr;function Cxl(r,t,n){var i,o;let s=(i=n.deadline)!==null&&i!==void 0?i:1/0,a=n.host,l=(o=n.parent)!==null&&o!==void 0?o:null,c=n.propagate_flags,u=n.credentials,d=r.createCall(t,s,a,l,c);return u&&d.setCredentials(u),d}var o6t=class{constructor(t,n){this.call=t,this.methodDefinition=n}cancelWithStatus(t,n){this.call.cancelWithStatus(t,n)}getPeer(){return this.call.getPeer()}sendMessageWithContext(t,n){let i;try{i=this.methodDefinition.requestSerialize(n)}catch(o){this.call.cancelWithStatus(jBi.Status.INTERNAL,`Request message serialization failure: ${(0,GBi.getErrorMessage)(o)}`);return}this.call.sendMessageWithContext(t,i)}sendMessage(t){this.sendMessageWithContext({},t)}start(t,n){let i=null;this.call.start(t,{onReceiveMetadata:o=>{var s;(s=n?.onReceiveMetadata)===null||s===void 0||s.call(n,o)},onReceiveMessage:o=>{var s;let a;try{a=this.methodDefinition.responseDeserialize(o)}catch(l){i={code:jBi.Status.INTERNAL,details:`Response message parsing error: ${(0,GBi.getErrorMessage)(l)}`,metadata:new bxl.Metadata},this.call.cancelWithStatus(i.code,i.details);return}(s=n?.onReceiveMessage)===null||s===void 0||s.call(n,a)},onReceiveStatus:o=>{var s,a;i?(s=n?.onReceiveStatus)===null||s===void 0||s.call(n,i):(a=n?.onReceiveStatus)===null||a===void 0||a.call(n,o)}})}startRead(){this.call.startRead()}halfClose(){this.call.halfClose()}},$Nr=class extends o6t{constructor(t,n){super(t,n)}start(t,n){var i,o;let s=!1,a={onReceiveMetadata:(o=(i=n?.onReceiveMetadata)===null||i===void 0?void 0:i.bind(n))!==null&&o!==void 0?o:l=>{},onReceiveMessage:l=>{var c;s=!0,(c=n?.onReceiveMessage)===null||c===void 0||c.call(n,l)},onReceiveStatus:l=>{var c,u;s||(c=n?.onReceiveMessage)===null||c===void 0||c.call(n,null),(u=n?.onReceiveStatus)===null||u===void 0||u.call(n,l)}};super.start(t,a),this.call.startRead()}},ZNr=class extends o6t{};function Ixl(r,t,n){let i=Cxl(r,n.path,t);return n.responseStream?new ZNr(i,n):new $Nr(i,n)}function vxl(r,t,n,i){if(r.clientInterceptors.length>0&&r.clientInterceptorProviders.length>0)throw new Hfe("Both interceptors and interceptor_providers were passed as options to the client constructor. Only one of these is allowed.");if(r.callInterceptors.length>0&&r.callInterceptorProviders.length>0)throw new Hfe("Both interceptors and interceptor_providers were passed as call options. Only one of these is allowed.");let o=[];r.callInterceptors.length>0||r.callInterceptorProviders.length>0?o=[].concat(r.callInterceptors,r.callInterceptorProviders.map(l=>l(t))).filter(l=>l):o=[].concat(r.clientInterceptors,r.clientInterceptorProviders.map(l=>l(t))).filter(l=>l);let s=Object.assign({},n,{method_definition:t});return o.reduceRight((l,c)=>u=>c(u,l),l=>Ixl(i,l,t))(s)}o6.getInterceptingCall=vxl});var n7r=C(a6t=>{"use strict";Object.defineProperty(a6t,"__esModule",{value:!0});a6t.Client=void 0;var yk=zBi(),_xl=i7r(),xxl=r6(),LZ=Rc(),bSe=aC(),s6t=e7r(),z8=Symbol(),CSe=Symbol(),ISe=Symbol(),aW=Symbol();function t7r(r){return typeof r=="function"}function vSe(r){return r.stack.split(`
301
301
  `).slice(1).join(`
@@ -3625,7 +3625,7 @@ ${a.join(`
3625
3625
  hasNodeNameDifference: ${l}, hasLocationMappingDifference: ${c}`);let v=this.workspaceEditBuilder.renameTable(t,s),T=this.workspaceEditBuilder.deleteTable(t,s);I.push(v,T)}else if(I.length===1){Bht.infoContext(d,`No actual edits generated for node ${i.operation.name}. Creating metadata only update for add phase.`);let v=this.workspaceEditBuilder.metadataUpdate(t,i,a),T=cI(i.operation,[v],o,a);return this.result.add(t,T),this}else{Bht.infoContext(d,`Node ${f.name} is a table and has no name or location mapping difference. getting workspace edits for swap and drop...`,`
3626
3626
  hasNodeNameDifference: ${l}, hasLocationMappingDifference: ${c}`);let v=this.workspaceEditBuilder.swapCloneTable(t,s),T=this.workspaceEditBuilder.dropClone(t,s);I.push(v,T)}return ns("DEPLOY",!!I.length,`alteredTable 'editsCollection' does not contain an edit for stepCounter: ${t}`),this.result.alter(t,cI(f,I,o,a)),this}};lr();Ln();yi();var hcr=st.PLAN_NODES,gcr=class extends aUe{constructor(t){let n=new pcr;super("databricks",n,t)}getWorkspaceEditsForAlteredTable(t,n,i,o,s,a,l,c,u,d){let p=n.operation,f=i.operation;hcr.infoContext(d,`Node ${f.name} is a table. getting workspace edits for alter table...`);let A=u.current[p.locationName],h=u.updated[f.locationName];if(!A||!h){let T=!A&&!h?"Current and updated":A?"Updated":"Current";throw hcr.errorContext(d,`${T} schema missing for node. currentLoc:`,p.locationName,"updatedLoc:",f.locationName,"schemas:",u),new It(`${T} schema is missing for node ${f.name} (updated name)`)}let I=[this.workspaceEditBuilder.getWorkspaceEditForCloneTable(t,s)];if(I.push(...this.workspaceEditBuilder.alteredTable(t,n,i,s,d)),p.description!==f.description){let v=this.workspaceEditBuilder.updateTableDescription(t,s);I.push(v)}if(l||c){hcr.infoContext(d,`Node ${f.name} is a table and has a name or location mapping difference. getting workspace edits for rename or swap...`,`
3627
3627
  hasNodeNameDifference: ${l}, hasLocationMappingDifference: ${c}`);let v=this.workspaceEditBuilder.renameTable(t,s),T=this.workspaceEditBuilder.deleteTable(t,s);I.push(v,T)}else{hcr.infoContext(d,`Node ${f.name} is a table and has no name or location mapping difference. getting workspace edits for swap and drop...`,`
3628
- hasNodeNameDifference: ${l}, hasLocationMappingDifference: ${c}`);let v=this.workspaceEditBuilder.getWorkspaceEditForReplaceUsingCloneTable(t,s),T=this.workspaceEditBuilder.dropClone(t,s);I.push(v,T)}return ns("DEPLOY",!!I.length,`alteredTable 'editsCollection' does not contain an edit for stepCounter: ${t}`),this.result.alter(t,cI(f,I,o,a)),this}};var Mht=(r,t,n,i,o,s,a,l)=>{if(!n.locations||!t.locations)throw new It("Locations are required to calculate node edits");return WG0(r,o).getNodeEdits(new wht("current",i,t,o,l),new wht("updated",i,n,o,l),s,a,l)},WG0=(r,t)=>{if(t==="snowflake")return new Acr(r);if(t==="databricks")return new gcr(r);throw new It("not implemented")};lr();Ln();Cd();var vK=st.DEPLOY,HG0=st.ACTUAL_STATE,L8n=st.PRESYNC,_Ks=async(r,t,n,i,o,s,a,l,c,u,d,p,f=null,A=null)=>{let h,y=new ucr;try{if(!t)throw vK.emergContext(p,"CreatePlan: no workspaceID specified"),new Error("no environmentID specified");let I=cc();p={...p,planID:I,workspaceID:t};let[v,T]=await Xp("CreatePlan: get all current and desired workspace data for plan",p,"DEPLOY",()=>Promise.all([c(),u()]),"appContext");vK.appContext(p,`CreatePlan: current workspace data contains ${(0,z8n.size)(v.steps)} nodes; updated workspace data contains ${(0,z8n.size)(T.steps)} nodes`),oAn(T,p,f??"commit was null, reading filesystem in CreatePlan"),vK.appContext(p,"CreatePlan: adding package entities to current");let S=h0t(v,v.installedPackages||{});vK.appContext(p,"CreatePlan: adding package entities to desired");let w=h0t(T,T.installedPackages||{});if(y.scan(w,t,s,a,A),scr(y))throw new sUe(y);try{await i.testConnection()}catch(U){throw vK.errorContext(p,`CreatePlan could not validate connection to ${i.name}`,U),U}i.name==="databricks"&&(l=!0);let Q;if(!l)try{Q=await KG0(S,w,i,t,o,p)}catch(U){L8n.errorContext(p,"Presync failed! Error:",U);try{await Q8n(I,t,n,d,S,w,a,o,void 0,{current:{},updated:{}},p),L8n.errorContext(p,"Stored failed plan context data - error:",U)}catch(X){L8n.emergContext(p,"Uploading plan for failed presync also failed",X)}throw U}let L={...S,steps:Q?Q.nodes:S.steps},H=await ocr(t,i,L,w,p);h=Q8n(I,t,n,d,S,w,a,o,Q,H,p).catch(U=>vK.errorContext(p,"storePlanContextData failed",U));let V=await Mht(r,L,w,t,i.name,o,H,p),ne=SZo(w),ee={...YG0(I,1,t),plan:V,environmentState:ne,runtimeParameters:JSON.stringify(o),presyncDetails:Q?Q.details:{}};return vK.appContext(p,"CreatePlan: finished creating plan."),bKs(y,p),{plan:ee,issues:y,logContext:p}}catch(I){if(vK.errorContext(p,"CreatePlan: failed to create plan",I,"STACK:",I.stack||"stack trace not available"),I instanceof sUe)throw I;{let{error:{errorString:v}}=Hc(I);throw y.addIssue("stop",{title:"Unknown errors detected",subtitle:"These errors must be addressed before proceeding.",messages:[v]}),new sUe(acr(y,p))}}finally{h?await h:vK.appContext(p,"CreatePlan: storePlanContextPromise was never set")}},YG0=(r,t,n)=>({id:r,version:t,targetEnvironment:n,plan:null,environmentState:null,gitInfo:null,runtimeParameters:null,presyncDetails:{}}),xKs=(r,t,n,i,o,s,a,l)=>{let c={...t},{oid:u,commit:d}=n,p=0;Object.values(r).forEach(h=>{p+=Object.keys(h).length});let f={fromWorkspaceData:c,deployCommit:u,deployCommitMessage:d.message,toWorkspaceID:i,environmentID:`${i}`,dividedStepDataWithWorkspaceEdits:r,stepsInRun:p,planID:l},A=null;return o&&(A=MYt(o)),new LTe({runDetails:f,userCredentials:s,parameters:A,origin:a})},VG0="Can't plan to specified environment as it is a development workspace",TKs=async(r,t)=>{let{firebase:n,teamInfo:i}=t;if((await PJo(n.firestore(),i.fbTeamID,r)).data().devEnv)throw new Error(VG0)},KG0=async(r,t,n,i,o,s)=>{if(!r.locations||!t.locations)throw HG0.errorContext(s,"Current locations are required for Actual State. current locations: ",r.locations,"updated locations: ",t.locations),new It("Locations are required to initialize actual state.");let a=new Oht(o,s);return await a.setup(i,n,r.steps,t.steps,r.locations,t.locations),{...a.syncNodes(),currentActualState:a.currentActualState,updatedActualState:a.updatedActualState}};var JG0=ht(Fce());lr();var B71=st.DEBUG;k8();lr();var{RUNNER_BACKEND:XG0}=st,OKs=async(r,t,n,i,o,s,a)=>{let l=fPe(t.name),c=await ocr(o,t,l,n,a),u=await Mht(r,l,{...n,steps:(0,SKs.pick)(n.steps,[...s])},+o,t.name,i,c,a),d=Object.keys(u["deletedTable"]),p=Object.keys(u["alteredTable"]);return Ll("RUNNER_BACKEND",!d.length&&!p.length,a,"GetWorkspaceEditsForDevRun: found edits of unexpected type for nodes; ","deleted: ",d,"altered: ",p),XG0.infoContext(a,"GetWorkspaceEditsForDevRun: done constructing edits ",Object.keys(u["addedTable"])),u};yi();lr();var{PIPELINE:eP1}=st;Ln();th();lr();lr();th();var wKs=st.RUN_TRANSACTION,q8n=process.env.HEARTBEAT_CHECKIN_TIME?parseInt(process.env.HEARTBEAT_CHECKIN_TIME):5,U3e=(r,t,n,i=q8n)=>{let o=!1,s=!1,l=(async()=>{try{do{if(await jTe(i*1e3),o)return;s=!0;try{await t.updateHeartbeat()}finally{s=!1}wKs.infoContext(r,`Updated heartbeat for ${n}`,t.id)}while(!o)}catch(u){wKs.emergContext(r,"Heartbeat function had a fatal error!",u);return}})();return async()=>{o=!0,s&&await l}};var{PIPELINE:$G0}=st,U8n=async(r,t,n,i=q8n)=>{let o="secureWorkspaceAndStartRun:",s={...ZG0(r),version:3},{runType:a}=s,l;switch(a){case"deploy":l=t.runs.createDeployRun(s);break;case"refresh":l=t.runs.createRefreshRun(s);break;case"devRun":l=t.devRuns.createDevRun(s);break;default:{let p=a;throw $G0.emergContext(n,o,"unexpected run type",p),new It(`${o} unexpected run type ${p}`)}}let c=await Xp(`${o} runRepository creation`,n,"PIPELINE",()=>l,"appContext"),u={...n,runID:c.id},d=U3e(u,c,a,i);return{runID:c.id,cleanupHeartbeat:d,logContext:u}},ZG0=r=>r.userCredentials&&(r.userCredentials.platformKind==="snowflake"||r.userCredentials.platformKind===void 0)&&r.userCredentials.snowflakeKeyPairKey?{...r,userCredentials:{...r.userCredentials,snowflakeKeyPairKey:"<REDACTED>"}}:r;no();var{PIPELINE:eW0}=st,mcr=async(r,t)=>{let{logContext:n,runInfo:{runDetails:{deployCommit:i,fromWorkspaceData:o,toWorkspaceID:s}},teamInfoAndFirebase:{firebase:a,rootRepository:l,teamInfo:{fbTeamID:c}}}=r,u=l.org(c).workspace(s),d=$Vs(a,c,s,o,n);return Sht(OVs,r,{beforeRun:async()=>{await w8n(u,o.locations,n),await d("macros"),await d("templates","update"),await d("folders"),await d("jobs"),await d("projects"),await d("packages"),await d("installedPackages")},afterRun:async()=>{let p=yZ.assert(o.locations||{});await u.merge({mappingsV1:jv(p),lastCommit:i}),await d("templates","delete")},workspaceUpdateOnSuccess:fVs,workspaceUpdateOnFailure:AVs(["Deploying"]),onCleanup:t})},Dht=async(r,t)=>Sht(wVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:g8n(["Refreshing","Failed Refresh"]),workspaceUpdateOnFailure:g8n(["Refreshing","Failed Refresh"]),onCleanup:t}),RKs=async(r,t)=>{let n="buildDevRunPipeline:",{allWorkspaceData:i,logContext:o,nodesInRun:s,platform:a,renderer:l,runID:c,runInfo:u,workspaceID:d}=r;switch(u.runDetails.operationType){case"create":{let p=await OKs(l,a,i,u.runTimeParameters||{},d,s,o),f={...u,runDetails:{...u.runDetails,dividedStepDataWithWorkspaceEdits:p}};await tW0({...r,nodesInRun:Gqe(p),runInfo:f},t);break}case"run":{await rW0(r,t);break}default:{eW0.errorContext(o,n,`received unrecognized operation type ${u.runDetails.operationType} for run ${c}`);break}}},tW0=async(r,t)=>Sht(RVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:mht,workspaceUpdateOnFailure:mht,onCleanup:t}),rW0=async(r,t)=>Sht(BVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:mht,workspaceUpdateOnFailure:mht,onCleanup:t});var{DEPLOY:BKs}=st,nW0=r=>Object.entries(r).map(([i,o])=>(ns("RUN_RESULTS",o.runExecutionSequenceID!==void 0,"runExecutionSequenceID was undefined!"),{stepID:i,runExecutionSequenceID:o.runExecutionSequenceID})).sort((i,o)=>i.runExecutionSequenceID-o.runExecutionSequenceID).map(i=>i.stepID),j8n=async(r,t,n,i)=>{r.runDetails={...r.runDetails,allStepsForRefresh:[...t],refreshDescription:G8n(r.runDetails,n.jobs)},await i.merge({runDetails:r.runDetails})},G8n=(r,t)=>{let{jobID:n}=r;return n?`Refreshed Job: ${t[n]?.name||n}`:r.includeNodesSelector||r.excludeNodesSelector?"Refreshed an ad hoc Job":"Refreshed all Nodes"},dVs=async(r,t)=>{let n=[];for(;r;){let i=parseInt(r);if(isNaN(i))break;n.push(i);try{r=(await t.run(i).fetch()).reRunID}catch{throw new z0(`Run ${i} does not exist`,"404: Specify a valid runCounter")}}return n},iW0=(r,t)=>({nodeID:r,queryResultSequence:t.queryResultSequence,runState:t.runState}),oW0=r=>{let t=r,{id:n,runDetails:{environmentID:i}}=t,o={runResults:{runStartTime:t.runStartTime,runEndTime:t.runEndTime,runType:t.runType,runStatus:t.runStatus,runID:n||0,runResults:[],runTimeParameters:t.runTimeParameters,environmentID:i||"n/a"}};if(t.userCredentials&&"snowflakeAuthType"in t.userCredentials&&(o.runResults.snowflakeAccount=t.userCredentials.snowflakeAccount,o.runResults.snowflakeWarehouse=t.userCredentials.snowflakeWarehouse),t.runType==="refresh"){let{jobID:s,includeNodesSelector:a,excludeNodesSelector:l}=t.runDetails;o.runResults.jobID=s===void 0?void 0:+s,o.runResults.includeNodesSelector=a,o.runResults.excludeNodesSelector=l}return typeof o.runResults.jobID=="string"&&(BKs.error(`Patching jobID from string to number for run ${r.id}`),o.runResults.jobID=parseInt(o.runResults.jobID)),gur.assert(o)},MKs=(r,t,n)=>{let i,o=krt(r,t).path;return jOr(sW0(r,t,n),o).then(s=>{if(!s.docs.length)throw new z0(`Was not able to find a run with runID ${n}`);let a=s.docs[0].data();return i=oW0(a),N$(aW0(r,t,n)).then(l=>{let c={},u={};l.docs.forEach(p=>{let f=[],A=p.id,h=p.data(),y=h.history;!h.queryResultSequence&&Array.isArray(y)&&(f.push(`Patching 'queryResultSequence' from 'history' for step ${A}`),h.queryResultSequence=y[y.length-1]?.queryResultSequence),h.runResultVersion||(f.push(`Patching 'version' to zero for step ${A}`),h.runResultVersion=0),h.runExecutionSequenceID||(f.push(`Patching 'runExecutionSequenceID' to zero for step ${A}`),h.runExecutionSequenceID=0),h.name||(f.push(`Patching 'name' to 'unknown' for step ${A}`),h.name="unknown"),h.queryResultSequence?.queryResults?.map((v,T)=>{v.status||(f.push(`Patching 'status' to 'Failure' for step ${A} query result ${T}`),v.status="Failure"),v.exportedRefs||(f.push(`Patching 'exportedRefs' for step ${A} query result ${T}`),v.exportedRefs=[]),v.invalidExportedRefs||(f.push(`Patching 'invalidExportedRefs' for step ${A} query result ${T}`),v.invalidExportedRefs=[]),v.fields?.map(S=>{S.type||(f.push(`Patching 'type' to 'unknown' for step ${A} field ${S.name} of query result ${T}`),S.type="unknown")})}),f.length>0&&BKs.infoContext(JA(t,void 0,void 0,n),f);let I=WYs.assert(h);u[A]=I,c[A]=iW0(A,I)});let d=nW0(u);i.runResults.runResults=d.map(p=>c[p])})}).then(()=>i)},sW0=(r,t,n)=>krt(r,t).where("id","==",n),aW0=(r,t,n)=>s0o(r,t,n).collection("runResults"),NVs=r=>{if(r.runType==="deploy"){let t=r.runDetails.deployCommitMessage||"N/A",n=r.runDetails.deployCommit?.substring(0,8)||"N/A";return`Commit: ${t} (sha: ${n})`}else return r.runType==="refresh"?r.runDetails.refreshDescription||"Refresh":r.runType==="devRun"?`Dev run (environment ${r.runDetails.environmentID})`:"N/A"};yi();var uW0=null;lp()&&(uW0=VDe());var j3e=st.AUTH,nQ1=st.USER_MANAGEMENT,cW0=0,mT=st.RUNNER_BACKEND;var dW0=async(r,t)=>{try{await cNr(t);let n=r+cW0++,i=DZe().initializeApp(t,n);dNr(i,!1);let o=await zW("/scheduler/generateLoginToken",null,r),{customToken:s,uid:a}=o.data;return await i.auth().signInWithCustomToken(s),{Firebase:i,rootRepository:wYs(i),uid:a}}catch(n){throw mT.error("GetOrSetupFirebase",n),n}},pW0=async r=>{let t=(await MZe()).apiKey;return BGr(`https://securetoken.googleapis.com/v1/token?key=${t}`,{refresh_token:r,grant_type:"refresh_token"}).then(n=>n.data.id_token)},fW0=async(r,t,n)=>{let i,o,s,a,l,c,u,d,p;return j3e.debug("got auth request refresh:",!!r,"id token",!!t),t===void 0&&nk&&(t=r),j3e.debug("inAuthenticate, between 1st and 2nd",!!t),(t?Promise.resolve(t):pW0(r)).then(f=>(j3e.debug("inAuthenticate, before setting id token"),i=f,j3e.debug("inAuthenticate, setting up firebase 2"),n(i))).then(f=>(o=f.Firebase,s=f.rootRepository,u=f.uid,j3e.debug("inAuthenticate, getting team data admin ",u),l_o(o.firestore(),f.uid))).then(f=>(a=f,d=m_o(f.fbRole),j3e.debug("inAuthenticate, finishing...",u),s.org(f.fbTeamID).fetch())).then(f=>(l=f,s.user(a.fbUserID).fetch())).then(f=>{if(c=f,p=UYs(l.featureFlags),p.RBAC)return s.org(a.fbTeamID).userRole(a.fbUserID).fetch()}).then(f=>{let A;return f?A=new CK(f,!!c.hasSuperUserAccess):A=new hur(c.role,!!c.hasSuperUserAccess),{teamInfo:a,firebase:o,rootRepository:s,idToken:i,featureFlags:p,userPermissions:A,UserRolePrivilegeChecker:d}}).catch(f=>{let A=a?a.fbUserID:"",h=a?a.fbTeamID:"";j3e.errorContext({userID:A,orgID:h},"AuthenticateFirebaseTokenAndRetrieveTeamInfo",f);let y=f?.message||f?.error?.errorString;throw new It("Unable to authenticate, please check your network connection and ensure your token is valid",y)})};var qce=async(r,t,n)=>{let o=await hk(n.origin).GetDatabase();return await fBi(o),process.env.SCHEDULER_ADDRESS=n.origin,fW0(r,t,s=>dW0(s,o))};var W8n=(r,t,n,i)=>{let o=uPe(r.userCredentials,t);return{runTimeParameters:r.runTimeParameters,runDetails:r.runDetails,userCredentials:o,runStatus:i?"waitingToRun":"initializing",userID:n,runType:"deploy",kubernetesJobUuid:i,origin:r.origin}},AW0=async(r,t,n,i,o,s,a,l=!1)=>{let{teamInfo:{fbTeamID:c},rootRepository:u}=r,{runID:d,cleanupHeartbeat:p,logContext:f}=await U8n(t,u.org(c),s),A=l?Promise.resolve():mcr({allWorkspaceData:t.runDetails.fromWorkspaceData,connectionManager:i,logContext:f,platform:o,renderer:a,runID:d,runInfo:t,nodesInRun:Gqe(t.runDetails.dividedStepDataWithWorkspaceEdits),teamInfoAndFirebase:r,workspaceID:n},p);return l&&(await p(),await i.teardown()),{runCounter:d,runCompletion:A}},hW0=(r,t,n)=>{let{toWorkspaceID:i}=t;return oo(t,o=>{o.fromWorkspaceData.userConnections={[i]:{[n]:r}}})},DKs=async(r,t,n,i,o,s)=>{let{teamInfo:{fbTeamID:a,fbUserID:l},rootRepository:c}=t,u=parseInt(r.runDetails.environmentID),d=Math.max(...Object.values(r.runDetails.dividedStepDataWithWorkspaceEdits).map(f=>Object.keys(f).length)),p=r.runDetails.planID;mT.infoContext(o,"Initializing deploy! planId:",p);try{let f=await CU(c,a,l,u,n,o),A=_K(f,l),h=s?1:r.runDetails.parallelism,y=EK(d,h),{connectionManager:I,platform:v}=await bK(f,t,y,!0,o);r.runDetails=hW0(A,r.runDetails,l),mT.appContext(o,tht(f),"BECLI_HandleDeploy");let T=W8n(r,f,l,s),S=await AW0(t,T,u,I,v,o,i,!!s);return await gW0(c,t,S.runCounter,u,l,o),S}catch(f){throw mT.errorContext(o,`Error during deploy${p?` for plan ${p}`:""}: `,f,f instanceof Error?f.stack:void 0),f}},gW0=async(r,t,n,i,o,s)=>{try{let a=_Gr(t.firebase.firestore(),t.teamInfo.fbTeamID,i),l=await jP(a);if(!l.exists)throw new It(`Workspace ${i} does not exist!`);let c=`run-${n}.predeploy`,u=`user/${o}/environment/${i}/workspacePreDeploy/${c}`,d=l.data();mT.appContext(s,"saving workspace data",d);let p=JSON.stringify(d);await r.storage().uploadFile(u,p),mT.appContext(s,`Run ${n}: Saved pre-deploy workspace state to ${u}`)}catch(a){mT.errorContext(s,"Error while saving preDeploy workspace state: ",a)}},H8n=r=>{let{runDetails:t}=r;if(t.jobID&&(t.includeNodesSelector||t.excludeNodesSelector))throw new Error("Unable to process, don't provide a JobID and Node Include/Exclude Selector(s) for 1 Refresh Run")},mW0=(r,t)=>{for(let n in t)t[n]&&(r[n]=t[n])},yW0=(r,t)=>{for(let n in t)t[n]&&(r[n]=t[n])},Y8n=(r,t,n,i)=>{let o=uPe(r.userCredentials,t),s={runTimeParameters:r.runTimeParameters,runDetails:{...r.runDetails,jobID:uZe(r.runDetails.jobID)},userCredentials:o,runStatus:i?"waitingToRun":"initializing",userID:n,runType:"refresh",kubernetesJobUuid:i,origin:r.origin};return tC(s),s},_K=(r,t)=>{if(r.kind==="databricks")return{connectionKind:"databricks",connectionType:r.authenticator,connectionDetails:{userID:t,path:r.path}};let n={connectionDetails:{userID:t,user:r.user,role:r.role,warehouse:r.warehouse},connectionType:r.authenticator};return r.authenticator==="KeyPair"&&(n.connectionDetails.keyPair=r.keyPairKey),n},CU=async(r,t,n,i,o,s)=>{let a=r.org(t).workspace(i),[{accessUrl:l,connectionAccount:c},u]=await Promise.all([a.fetch(),Bhe(a.user(n),s)]),d=c||"",p=l||null;if(Y5t(u)){if(o.kind!=="databricks")throw new ga(`Got a userContext for a ${o.kind}, but the connection info on the workspace was for ${u.connectionKind??"snowflake"}`);let f={...o,path:u.connectionDetails.path,host:d};return yW0(f,o),f}else if(wfe(u)){if(o.kind!=="snowflake")throw new ga(`Got a userContext for a ${o.kind}, but the connection info on the workspace was for ${u.connectionKind??"snowflake"}`);let f={accountName:d,accessUrl:p,user:u.connectionDetails.user,role:u.connectionDetails.role,warehouse:u.connectionDetails.warehouse,environmentID:i,orgID:t,authenticator:u.connectionType,kind:"snowflake"};return mW0(f,o),f}else{let f=u;throw new ga(`Unknown user connection kind ${f.connectionKind}`)}},V8n=r=>({user:r.snowflakeUsername,role:r.snowflakeRole,warehouse:r.snowflakeWarehouse,authenticator:"Cloud",kind:"snowflake"}),Nht=r=>r.platformKind==="databricks"?{kind:"databricks",authenticator:r.databricksAuthType,token:r.databricksAuthType==="Token"?r.token:void 0}:bZ(r,o=>({user:o.snowflakeUsername,password:o.snowflakePassword,role:o.snowflakeRole,warehouse:o.snowflakeWarehouse,authenticator:"Basic",kind:"snowflake"}),o=>{if(o.snowflakeKeyPairKey===void 0)throw new It("No private key was provided, cannot perform key pair authentication with Snowflake");let s=o.snowflakeKeyPairPass?new pc(o.snowflakeKeyPairPass):void 0,a=Nrt(new pc(o.snowflakeKeyPairKey),s);return{user:o.snowflakeUsername,keyPairKey:a.sensitiveValue,keyPairPass:o.snowflakeKeyPairPass,role:o.snowflakeRole,warehouse:o.snowflakeWarehouse,authenticator:"KeyPair",kind:"snowflake"}},o=>({warehouse:o.snowflakeWarehouse,authenticator:"OAuth",kind:"snowflake"}),V8n),NKs=async(r,t,n,i,o,s,a,l,c=!1,u)=>{mT.infoContext(s,"Securing workspace status and starting refresh:",i);let{teamInfo:{fbTeamID:d},rootRepository:p}=r;n.runDetails={...n.runDetails,allStepsForRefresh:[...l],refreshDescription:G8n(n.runDetails,a.jobs)};let{runID:f,cleanupHeartbeat:A,logContext:h}=await U8n(n,p.org(d),s),y=c?Promise.resolve():Dht({allWorkspaceData:a,connectionManager:o,logContext:h,platform:t,renderer:u,runID:f,runInfo:n,nodesInRun:l,teamInfoAndFirebase:r,workspaceID:i},A);return c&&(await A(),await o.teardown()),{runCounter:f,runCompletion:y}},EW0=async(r,t,n,i,o)=>o?(mT.infoContext(i,"Refreshing job:",o),a0o(r,t,n,"jobs",o)):(mT.infoContext(i,"No job ID, refreshing all steps"),!0),PKs=async(r,t,n,i,o,s)=>{let{teamInfo:{fbTeamID:a,fbUserID:l},firebase:c,rootRepository:u}=t,d=c.firestore(),p=parseInt(r.runDetails.environmentID);r.runTimeParameters=await xK(u,a,p,r.runTimeParameters),H8n(r);let f=uZe(r.runDetails.jobID),A=EW0(d,a,p,o,f);try{let h=await CU(u,a,l,p,n,o),y=_K(h,l);if(mT.appContext(o,tht(h),"BECLI_HandleRefresh"),!await A)throw yfe(400,`Unable to start job ${f}`,`Job ${f} did not exist`);let I=Y8n(r,h,l,s),v={steps:{},folders:{},jobs:{},macros:{},stepTypes:{}},T=new Set;s||(v=await y2e(t,+I.runDetails.environmentID,u.org(a)),v.userConnections[p][l]=y,T=jqe(I.runDetails,v));let S=s?1:EK(T.size,r.runDetails.parallelism),{connectionManager:w,platform:Q}=await bK(h,t,S,!0,o);return NKs(t,Q,I,p,w,o,v,T,!!s,i)}catch(h){throw mT.errorContext(o,"Error during refresh:",h),h}};var bW0=async(r,t,n)=>{let o=(await r.org(t).workspace(n).fetch()).runTimeParameters??"";return BYt(o)},xK=async(r,t,n,i)=>i?MYt(i):bW0(r,t,n),K8n=async(r,t,n,i,o,s)=>{let a=uPe(t.userCredentials,i),l=await xK(r,o.fbTeamID,parseInt(n.runDetails.environmentID),t.runTimeParameters);return n.runType==="refresh"&&(t.runDetails.forceIgnoreWorkspaceStatus!==void 0?n.runDetails.forceIgnoreWorkspaceStatus=t.runDetails.forceIgnoreWorkspaceStatus:n.runDetails.forceIgnoreWorkspaceStatus!==void 0&&delete n.runDetails.forceIgnoreWorkspaceStatus,n.runDetails.executor=t.runDetails.executor),{kubernetesJobUuid:s,origin:t.origin,reRunID:t.runDetails.runID,runDetails:n.runDetails,runStatus:s?"waitingToRun":"initializing",runTimeParameters:l,runType:"refresh",userCredentials:a,userID:o.fbUserID,version:3}},CW0=async(r,t,n,i,o,s,a)=>{let l="[ReRunRefresh]",{rootRepository:c,teamInfo:u,teamInfo:{fbUserID:d,fbTeamID:p}}=n,f=c.org(p),A=parseInt(t.runDetails.environmentID),h=await CU(c,p,d,A,i,s),y=_K(h,d),I=await K8n(c,r,t,h,u,a);if(!nwt(I)){let H=`invalid rerun ID ${I.reRunID}`;throw mT.errorContext(s,l,H),new It(H)}let v=await y2e(n,+I.runDetails.environmentID,f);v.userConnections[A][d]=y;let T=await bur(f,I,v),S=a?1:I.runDetails.parallelism,w=EK(T.size,S),{platform:Q,connectionManager:L}=await bK(h,n,w,!0,s);return r.runTimeParameters=await xK(c,p,A,r.runTimeParameters),NKs(n,Q,I,A,L,s,v,T,!!a,o)},kKs=async(r,t,n,i,o,s,a)=>{if(mT.appContext(s,"BECLI_HandleRerun"),t.runStatus!=="failed")throw new Error("Only failed jobs can be re-run!");if(rwt(t))return CW0(r,t,n,i,o,s,a);throw new Error(`Run type ${t.runType} is not eligible for re-run`)};var iQ1=Tc({newOrg:nQt,newUser:ry([rQt,kde()]),baseURL:xo()}),QKs=r=>FKs(r,"runCounter"),uUe=r=>FKs(r,"environment ID"),FKs=(r,t)=>{let n=typeof r=="number"?r:parseInt(r||"");if(!r||isNaN(n))throw new ga(`Specify a valid ${t}`,`400: ${n} is not valid`);return n};var Pht=ht(Fce());var zKs=ht(require("node:fs")),qKs=ht(require("node:child_process"));j0();Ln();lr();uc();th();yi();var cUe=st.CLI;var TK=class extends It{constructor(n){super(`CLI exited with status ${n}`);this.exitCode=n}},af=async r=>{if(Qu().isTest)throw new TK(r);if(process.env.COALESCE_COA_CLOUD_JOB_ID){try{let t=process.env.COALESCE_COA_EXIT_STATUS_PATH||"/tmp/coa-exit-status";cUe.info(`Writing exit status ${r} to ${t}`),zKs.default.writeFileSync(t,r.toString())}catch(t){cUe.error("Unable to write exit status to file:",t)}cUe.info(`Running "kill -9 ${process.pid}" to kill cloud coa process`),qKs.default.spawnSync("kill",["-9",process.pid.toString()]),cUe.info("Finished running kill command"),setImmediate(async()=>{for(;;)await jTe(1e3),cUe.info("Cloud coa still alive...waiting to die...")});return}setTimeout(()=>{setTimeout(()=>{process.exit(r)},1e3)},5e3);try{let t=DZe(),n=[];t.apps.length&&t.apps.forEach(i=>{n.push(t.app(i.name).delete())}),process.exitCode=r,await w8(n)}catch{cUe.error("Error while attempting to close Firebase apps in CLI")}},IW0=(r,t)=>{let n=[rTt()],i={transports:n};if(r){let o={...Mw[t],level:r};n.push(Axe(o)),i.level=r}return i},LKs=(r,...t)=>{let n=Object.fromEntries(t.map(i=>[i,IW0(r,i)]));oTt(n)},ycr=(r,t)=>{r&&!t||(t?LKs("debug",...Object.keys(Mw)):LKs(null,...Object.keys(Mw).filter(n=>n!="CLI")))};Zw();lr();UJe();var UKs=require("node:async_hooks"),J8n,vW0=()=>(J8n||(J8n=new UKs.AsyncLocalStorage),J8n);var X8n=()=>vW0();var Ecr=(r,t)=>(Yfi(_W0),new Promise((n,i)=>{X8n().run(r,()=>{t().then(n).catch(i)})})),_W0=()=>X8n()?.getStore()??{logContext:JA()};yi();Ln();var jKs=(r,t,n,i)=>{if(t.kind==="none")throw new hxe(t.kind,"CreateActiveRunInfoFromDevRun");let o=uPe(r.userCredentials,t),s={userID:n,userCredentials:o,runTimeParameters:r.runTimeParameters,runDetails:{...r.runDetails,jobID:uZe(r.runDetails.jobID)},runStatus:i?"waitingToRun":"initializing",runType:"devRun",kubernetesJobUuid:i,origin:r.origin};return tC(s),s};var xW0=async(r,t,n,i,o)=>{Ao.infoContext(o,`Starting deploy job coa-${r}`);let s=UOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),a=new LTe(s),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=await Bhe(f.workspace(l).user(d),c),h=(await p.org(u).fetch()).featureFlags;await tMe(u,d,l,a.userCredentials,A,h);let y=await CU(p,u,d,l,Nht(a.userCredentials),c),I=W8n(a,y,d,r);I.id=i;let v=f.run(i);await v.updateHeartbeat({runStatus:"initializing"});let T=U3e(c,v,I.runType);try{let S=Math.max(...Object.values(a.runDetails.dividedStepDataWithWorkspaceEdits).map(L=>Object.keys(L).length)),{connectionManager:w,platform:Q}=await bK(y,t,EK(S,a.runDetails.parallelism),!1,c);return mcr({allWorkspaceData:I.runDetails.fromWorkspaceData,connectionManager:w,logContext:c,platform:Q,renderer:(0,Pht.GetPool)(),runID:i,runInfo:I,nodesInRun:Gqe(I.runDetails.dividedStepDataWithWorkspaceEdits),teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.error("Unable to clean up hearbeat after handling error",S,"innerError",w)}throw S}},TW0=async(r,t,n,i,o)=>{Ao.infoContext(o,`Starting refresh job coa-${r}`);let a=POi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=await Bhe(f.workspace(l).user(d),c),h=(await p.org(u).fetch()).featureFlags;await tMe(u,d,l,a.userCredentials,A,h);let y=await CU(p,u,d,l,Nht(a.userCredentials),c);a.runTimeParameters=await xK(p,u,l,a.runTimeParameters),H8n(a);let I=Y8n(a,y,d,r);I.id=i;let v=f.run(i);await v.updateHeartbeat({runStatus:"initializing"});let T=U3e(c,v,I.runType);try{let S=await y2e(t,l,f),w=jqe(I.runDetails,S);await j8n(I,w,S,v);let Q=_K(y,d);S.userConnections[l][d]=Q;let{connectionManager:L,platform:H}=await bK(y,t,EK(w.size,a.runDetails.parallelism),!1,c);return Dht({allWorkspaceData:S,connectionManager:L,logContext:c,platform:H,renderer:(0,Pht.GetPool)(),runID:i,runInfo:I,nodesInRun:w,teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.error("Unable to clean up hearbeat after handling error",S,"innerError",w)}throw S}},SW0=async(r,t,n,i,o)=>{let s="[CloudReRun]";Ao.infoContext(o,`Starting re-run job coa-${r}`);let a=QOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=new zTe(a);tC(l);let{teamInfo:c,teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=QKs(l.runDetails.runID),h=await f.run(A).fetch();if(!h)throw new Error(`Could not find runInfo for teamID=${u}, oldRunID=${A}`);if(!rwt(h))throw new Error("Run is not eligible for rerun or a dev run");let y=uUe(h.runDetails.environmentID),I={...o,workspaceID:y},v=await Bhe(f.workspace(y).user(d),I),T=(await p.org(u).fetch()).featureFlags;await tMe(u,d,y,l.userCredentials,v,T);let S=await CU(p,u,d,y,Nht(l.userCredentials),I),w=await K8n(p,l,h,S,c,r);if(w.id=i,!nwt(w)){let V=`Invalid rerun ID ${w.reRunID}`;throw Ao.errorContext(I,s,V),new ga(V)}let Q=uUe(w.runDetails.environmentID);Ll("RUNNER_BACKEND",Q===y,I,"Unexpected mismatch between workspace IDs for re-run and original run; workspace for re-run:",Q,"workspace for original run:",y);let L=f.run(i);await L.updateHeartbeat({runStatus:"initializing"});let H=U3e(I,L,w.runType);try{let V=await y2e(t,Q,f),ne=await bur(f,w,V);await j8n(w,ne,V,L);let ee=_K(S,d);V.userConnections[Q][d]=ee;let{connectionManager:U,platform:X}=await bK(S,t,EK(ne.size,w.runDetails.parallelism),!1,I);return Dht({allWorkspaceData:V,connectionManager:U,logContext:I,platform:X,renderer:(0,Pht.GetPool)(),runID:i,runInfo:w,nodesInRun:ne,teamInfoAndFirebase:t,workspaceID:Q},H)}catch(V){try{await H()}catch(ne){Ao.error("Unable to clean up hearbeat after handling error",V,"innerError",ne)}}},OW0=async(r,t,n,i,o)=>{let s="CloudDevRun:";Ao.infoContext(o,s,`Starting dev run job coa-${r}`);let a=jOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{rootRepository:u,teamInfo:{fbTeamID:d,fbUserID:p}}=t,f=u.org(d),A=await Bhe(f.workspace(l).user(p),c),h=(await u.org(d).fetch()).featureFlags;await tMe(d,p,l,a.userCredentials,A,h);let y=await CU(u,d,p,l,Nht(a.userCredentials),c),I=f.devRun(i);await I.updateHeartbeat({runStatus:"initializing"});let v={...jKs(a,y,p,r),id:i},T=U3e(c,I,v.runType);try{let S=await y2e(t,l,f);S.userConnections[l][p]=_K(y,p);let w=jqe(v.runDetails,S),{connectionManager:Q,platform:L}=await bK(y,t,EK(w.size,a.runDetails.parallelism),!1,c);return RKs({allWorkspaceData:S,connectionManager:Q,logContext:c,platform:L,renderer:(0,Pht.GetPool)(),runID:i,runInfo:v,nodesInRun:w,teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.errorContext(c,s,"unable to clean up heartbeat with error",w,"following run error",S)}throw S}},GKs=async r=>{let t="CloudEntry:";if(Ao.debug("Cloud entrypoint."),!process.env.SCHEDULER_ADDRESS){let u="No SCHEDULER_ADDRESS defined for cloud entrypoint";throw Ao.emerg(u),new Error(u)}let n=await qce(process.env.COALESCE_COA_CLOUD_TOKEN,void 0,new URL(process.env.SCHEDULER_ADDRESS)),{firebase:i,rootRepository:o,teamInfo:{fbTeamID:s,fbUserID:a}}=n,l={orgID:s,userID:a};Ao.infoContext(l,t,"authenticated user");let c;try{await u_o(i.firestore(),s)&&(k5r(),Ao.debugContext(l,t,"super Debug enabled"));let d=parseInt(process.env.COALESCE_COA_CLOUD_RUN_COUNTER);if(Number.isNaN(d))throw Ao.emergContext(l,t,`unable to parse runCounter: ${process.env.COALESCE_COA_CLOUD_RUN_COUNTER}`),new Error(`Unable to parse runCounter: ${process.env.COALESCE_COA_CLOUD_RUN_COUNTER}!`);let p={...l,runID:d},f=process.env.COALESCE_COA_CLOUD_REQUEST_PATH;if(!f)throw Ao.emergContext(p,t,"COALESCE_COA_CLOUD_REQUEST_PATH not set"),new It("COALESCE_COA_CLOUD_REQUEST_PATH not set!");Ao.infoContext(p,t,"downloading request data from",f);let A=await o.storage().downloadFile(f),h=UP(A);Ao.infoContext(p,t,"finished parsing request data as JSON completed; deleting stored request",h),await o.storage().deleteFile(f),Ao.infoContext(p,t,"finished deleting stored request; dispatching cloud run");let y,I=process.env.COALESCE_COA_CLOUD_ACTION;switch(I){case"deploy":y=xW0;break;case"refresh":y=TW0;break;case"rerun":y=SW0;break;case"devRun":y=OW0;break;default:{let v=I;throw Ao.emergContext(l,t,`received unexpected COALESCE_COA_CLOUD_ACTION value ${v}`),new It(`Error: COALESCE_COA_CLOUD_ACTION is invalid! value=${process.env.COALESCE_COA_CLOUD_ACTION}`)}}c=Ecr({userID:p.userID,orgID:p.orgID,logContext:p},()=>y(r,n,A,d,p))}catch(u){Ao.errorContext(l,t,"error starting coa run",u);let d={error:{errorString:TTi(u),errorDetail:""},statusCode:500};u instanceof It?(d.error=u.toTRunError().error,d.statusCode=u.statusCode()):(d.error.errorString=u.error?.errorString??d.error.errorString,d.error.errorDetail=u.error?.errorDetail??d.error.errorDetail,d.statusCode=u.statusCode??d.statusCode),await af(1);return}try{Ao.infoContext(l,t,"job started, waiting for completion"),await c,Ao.infoContext(l,t,"job completed without exception"),await af(0)}catch(u){Ao.errorContext(l,t,"exception thrown during job",u),await af(1)}};var oJs=ht(iJs(),1),{program:oF1,createCommand:sF1,createArgument:aF1,createOption:lF1,CommanderError:uF1,InvalidArgumentError:sJs,InvalidOptionArgumentError:cF1,Command:aJs,Argument:dF1,Option:jN,Help:pF1}=oJs.default;$xt();var _na=ht(Zs());var Ije=ht(require("fs")),xna=ht(dJs());Ln();var pJs={openapi:"3.0.3",info:{version:"1.0.0",title:"Coalesce API",description:"REST API for performing operations with the Coalesce backend."},servers:[{url:"https://app.coalescesoftware.io",description:"US primary"},{url:"https://app.eu.coalescesoftware.io",description:"Europe primary"},{url:"https://app.australia-southeast1.gcp.coalescesoftware.io",description:"Australia primary"},{url:"https://app.us-east-1.aws.coalescesoftware.io",description:"US AWS US East"},{url:"https://app.us-east-1.aws.privatelink.coalescesoftware.io",description:"US AWS US East with PrivateLink"},{url:"https://app.us-west-2.aws.coalescesoftware.io",description:"US AWS US West"},{url:"https://app.us-west-2.aws.privatelink.coalescesoftware.io",description:"US AWS US West with PrivateLink"},{url:"https://app.northamerica-northeast1.gcp.coalescesoftware.io",description:"Canada Primary"},{url:"https://app.westus2.azure.coalescesoftware.io/",description:"US Azure West 2"},{url:"https://app.eastus2.azure.coalescesoftware.io",description:"US Azure East 2"}],security:[{BearerAuth:[]}],"x-coa-private-pointers":["/paths/~1api~1v2~1render","/paths/~1api~1v2~1render~1health","/components/schemas/PackageDefinition","/components/schemas/RenderRequestV2"],components:{schemas:{EnvironmentsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of environment information.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/Environment"}},{type:"array",items:{$ref:"#/components/schemas/EnvironmentSummary"}}]}}},ProjectsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of project information.",type:"array",items:{$ref:"#/components/schemas/Project"}}}},ProjectResponse:{type:"object",required:["data"],properties:{data:{description:"Information about a project.",$ref:"#/components/schemas/Project"}}},TypesenseConfigResponse:{description:"Summary of configuration data for Typesense in a given org.","x-coa-private":!0,type:"object",required:["typesenseKey","typesenseHosts"],properties:{typesenseKey:{description:"The Typesense access key scoped to a users org.",type:"string"},typesenseHosts:{description:"The Typesense host address(es) for our cluster(s).",type:"array",items:{type:"string"}}}},EnvironmentSummary:{type:"object",description:"Summary information about an environment.",additionalProperties:!1,properties:{createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},id:{type:"string",description:"The Environment ID."},name:{type:"string",description:"Name of the Environment."},project:{type:"string",description:"The Project ID."},status:{$ref:"#/components/schemas/EnvironmentHealth",description:"Status of the Environment."}},required:["createdAt","id","name","project","status"]},ErrorResponse:{description:"Error detail in addition to the HTTP status code and text.",type:"object",required:["error"],properties:{error:{$ref:"#/components/schemas/Error"}}},NodesResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of nodes for an environment.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/NodeSummary"}},{type:"array",items:{$ref:"#/components/schemas/Node"}}]}}},NodeSummary:{type:"object",properties:{database:{type:"string",description:"The Snowflake database name."},id:{type:"string",description:"The Coalesce Node ID."},locationName:{type:"string",description:"The Storage Mapping location."},name:{type:"string",description:"The Node name."},nodeType:{$ref:"#/components/schemas/NodeType"},schema:{type:"string",description:"The database schema name."}},required:["database","id","locationName","name","nodeType","schema"]},OrderByDirection:{description:"The sort order for query results.",type:"string",enum:["asc","desc"]},PackageCreateEntity:{description:"A single package entity to be created.","x-coa-private":!0,type:"object",properties:{macros:{type:"string"},dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}},nodeTypes:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageNodeType"}}},required:["macros","dependencies","nodeTypes"]},PackageDependency:{description:"A package dependency.","x-coa-private":!0,type:"object",required:["version","macros","dependencies","releaseID","alias","packageID"],properties:{packageID:{type:"string",minLength:1},alias:{type:"string"},version:{type:"string"},releaseID:{type:"string",minLength:1},macros:{type:"string"},dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}}},example:{name:"foo",version:"1.2.3",macros:"{% macro bar() %}hello,{% endmacro %}",nodeTypes:{},dependencies:{dep:{name:"baz",version:"1.1.1",macros:"{% macro bar() %}world!{% endmacro %}",dependencies:{}}}}},PackageEntityTagV1:{description:"Identifies the package from which the entity came. (Deprecated, see PackageEntityTagV2).","x-coa-private":!0,type:"object",required:["id","version"],properties:{id:{type:"string"},version:{type:"string"}}},PackageEntityTagV2:{description:"Identifies the package from which the entity came.","x-coa-private":!0,type:"object",required:["id","releaseID"],properties:{id:{type:"string"},releaseID:{type:"string"}}},PackageMacro:{description:"A macro in a package.","x-coa-private":!0,type:"string"},PackageNodeType:{description:"A node type in a collection of nodeTypes to be packaged.","x-coa-private":!0,type:"object",required:["name","version","isDisabled","metadata","id"],properties:{name:{type:"string"},version:{type:"number"},id:{type:"string"},isDisabled:{type:"boolean"},metadata:{type:"object"}}},PackageCreateReleaseInfo:{description:"Package release information for a create operation.","x-coa-private":!0,type:"object",properties:{changeLog:{type:"string"},version:{type:"string"},certified:{type:"boolean"}},required:["changeLog","version"]},PackageCreateEntities:{description:"Entities that are part of a package release.","x-coa-private":!0,required:["dependencies","nodeTypes","macros"],properties:{dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}},nodeTypes:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageNodeType"}},macros:{type:"string"}}},RunsOrderBy:{description:"The field used to sort query results.",type:"string",enum:["id","runStartTime","runEndTime"],default:"id"},RunsResponse:{description:"A collection of runs.",type:"object",required:["limit","orderBy","orderByDirection","data"],properties:{limit:{description:"The maximum number of runs returned by this query.",type:"integer"},orderByDirection:{$ref:"#/components/schemas/OrderByDirection"},orderBy:{$ref:"#/components/schemas/RunsOrderBy"},data:{description:"A collection of runs.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/RunSummary"}},{type:"array",items:{$ref:"#/components/schemas/RunInfo"}}]}}},RunResultsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of run results.",type:"array",items:{$ref:"#/components/schemas/RunResult"}}}},RunSummary:{type:"object",properties:{id:{description:"The run ID.",type:"integer"},reRunID:{description:"If this is a re-run, the ID of the original operation.",type:"string"},runStartTime:{description:"The datetime the run started.",type:"string",format:"date-time"},runEndTime:{description:"The datetime the run ended.",type:"string",format:"date-time"},runType:{$ref:"#/components/schemas/RunType"},runStatus:{$ref:"#/components/schemas/RunStatus"},environmentID:{description:"The environment in which the run operation was applied.",type:"string"},runFailureReason:{description:"Information about the cause of a run failure.",type:"string"}},required:["id","runType","runStatus"]},DatabaseInfoResponse:{type:"object",required:["apiKey","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId"],properties:{apiKey:{type:"string"},authDomain:{type:"string"},projectId:{type:"string"},storageBucket:{type:"string"},messagingSenderId:{type:"string"},appId:{type:"string"},measurementId:{type:"string"},emulatorInfo:{type:"object",required:["auth","firestore","storage"],properties:{auth:{type:"string"},firestore:{type:"string"},storage:{type:"string"}}}}},UserEnvironmentRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserEnvironmentRoles"},additionalProperties:!1},UserProjectRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserProjectRoles"},additionalProperties:!1},UserRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserOrgRoles"},additionalProperties:!1},FivetranProjectsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of project information.",type:"array",items:{$ref:"#/components/schemas/FivetranProject"}}}},FivetranProjectResponse:{type:"object",required:["data"],properties:{data:{description:"Fivetran project data.",$ref:"#/components/schemas/FivetranProject"}}},FivetranJobsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of job information.",type:"array",items:{$ref:"#/components/schemas/FivetranJob"}}}},FivetranJobHistoryResponse:{type:"object",required:["data"],properties:{data:{description:"Fivetran job history data.",$ref:"#/components/schemas/FivetranJobHistory"}}},FivetranRefreshJobResponse:{type:"object",required:["data"],properties:{data:{description:"A fivetran job",$ref:"#/components/schemas/FivetranJobHistory"}}},MetricsItem:{type:"object",required:["name","tags","count"],properties:{name:{type:"string"},tags:{type:"array",items:{type:"string"}},count:{type:"integer"}}},MetricsRequest:{type:"object",required:["metrics"],properties:{metrics:{type:"array",items:{$ref:"#/components/schemas/MetricsItem"}}}},BaseEnvironment:{type:"object",description:"An environment is used for deploying your data pipeline to non-development Snowflake environments.",additionalProperties:!0,properties:{connectionAccount:{type:"string",description:"The Snowflake account name."},defaultStorageMapping:{type:"string",nullable:!0},description:{type:"string",description:"The Environment description."},name:{type:"string",description:"The Environment name."},oauthEnabled:{type:"boolean",description:"If Snowflake OAuth is enabled."},runTimeParameters:{type:"object",additionalProperties:!0,description:"The default Environment parameters. Parameters changed during deploy will not show here."},tagColors:{$ref:"#/components/schemas/TagColor"},project:{type:"string"}},required:["name","oauthEnabled","project"]},Environment:{description:"An environment is used for deploying your data pipeline to non-development Snowflake environments.",allOf:[{$ref:"#/components/schemas/BaseWorkspaceEnv"},{type:"object",additionalProperties:!0,properties:{runTimeParameters:{type:"object",additionalProperties:!0,description:"The default Environment parameters. Parameters changed during deploy will not show here."},currentMappings:{$ref:"#/components/schemas/EnvironmentStorageLocationMappings"}},required:["createdAt","id","status"]}]},EnvironmentCreateRequest:{"x-coa-private":!0,type:"object",description:"Initial values to set on a newly created environment.",allOf:[{$ref:"#/components/schemas/BaseEnvironment"},{type:"object",properties:{mappings:{$ref:"#/components/schemas/EnvironmentStorageLocationMappings"}},additionalProperties:!0}]},EnvironmentHealth:{type:"string",enum:["Deleting","Deploying","Failed Deploy","Failed Dev Run","Failed Refresh","Initializing","Refreshing","Running Dev Run","Waiting"]},EnvironmentStorageLocationMappings:{type:"object",description:"The Storage Mapping name.",additionalProperties:{type:"object",properties:{database:{type:"string",description:"The Snowflake database name."},schema:{type:"string",description:"The database schema."}}}},BaseProject:{type:"object",description:"A project groups environments and workspaces for easier management and access control.",additionalProperties:!0,properties:{platformKind:{$ref:"#/components/schemas/PlatformKind"},description:{type:"string"},gitRepoURL:{type:"string"},name:{type:"string"}},required:["name"]},Project:{description:"A project groups environments and workspaces for easier management and access control.",allOf:[{$ref:"#/components/schemas/BaseProject"},{type:"object",additionalProperties:!0,properties:{createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},updatedAt:{type:"string",format:"date-time"},updatedBy:{$ref:"#/components/schemas/UserSummary"},id:{type:"string"},status:{$ref:"#/components/schemas/ProjectStatus"},workspaces:{type:"array",items:{$ref:"#/components/schemas/WorkspaceSummary"}}},required:["createdAt","updatedAt","id","status","name"]}]},ProjectCreateRequest:{$ref:"#/components/schemas/BaseProject"},ProjectStatus:{type:"string",enum:["active","deleted"]},UserSummary:{type:"object",description:"Summary information about a user.",additionalProperties:!1,properties:{id:{type:"string",description:"The user ID."},firstName:{type:"string",description:"User first name."},lastName:{type:"string",description:"User last name."},email:{type:"string"},accountType:{type:"string",enum:["SSO","normal"]}},required:["id"]},FirestoreWebTimestamp:{type:"object",description:"Timestamp from the web Firestore SDK.",additionalProperties:!1,properties:{seconds:{type:"number"},nanoseconds:{type:"number"}},required:["seconds","nanoseconds"]},FirestoreAdminTimestamp:{type:"object",description:"Timestamp from the admin Firestore SDK.",additionalProperties:!1,properties:{_seconds:{type:"number"},_nanoseconds:{type:"number"}},required:["_seconds","_nanoseconds"]},FirestoreTimestamp:{type:"object",description:"Timestamp from either the web admin Firestore SDKs.",oneOf:[{$ref:"#/components/schemas/FirestoreWebTimestamp"},{$ref:"#/components/schemas/FirestoreAdminTimestamp"}]},PlatformKind:{type:"string",enum:["snowflake","databricks"]},Error:{type:"object",additionalProperties:!1,properties:{errorString:{description:"The error message.",type:"string"},errorDetail:{description:"Additional detail about the error.",type:"string"}},required:["errorString"]},Node:{type:"object",oneOf:[{$ref:"#/components/schemas/SourceNode"},{$ref:"#/components/schemas/SQLNode"}]},AliasToStepIDMapping:{type:"object",additionalProperties:{type:"string"}},AppliedColumnTests:{type:"object",description:"Will return `hasNull` or `isDistinct` as true or false if testing is enabled.",additionalProperties:{type:"boolean"}},BaseNode:{type:"object",additionalProperties:!0,properties:{database:{type:"string",description:"The Snowflake database name."},description:{type:"string",description:"The Node description."},id:{type:"string",description:"The Node ID."},locationName:{type:"string",description:"The Storage Mapping location."},name:{type:"string",description:"The Node name."},nodeType:{$ref:"#/components/schemas/NodeType"},schema:{type:"string",description:"The Snowflake schema name."}},required:["database","description","id","locationName","name","nodeType","schema"]},ColumnMetadata:{type:"object",additionalProperties:!1,properties:{appliedColumnTests:{$ref:"#/components/schemas/AppliedColumnTests"},columnID:{type:"string",description:"The column ID."},columnReferences:{items:{$ref:"#/components/schemas/IntermediateColumnRefResult"},type:"array"},config:{type:"object",description:"Returns any configuration options from the Node Config Tab.",additionalProperties:!0},dataType:{type:"string",description:"Column data type."},defaultValue:{type:"string",description:"The default column value."},description:{type:"string",description:"The column description."},hashDetails:{$ref:"#/components/schemas/HashMetadata"},hashedColumns:{type:"array",items:{$ref:"#/components/schemas/ColumnReference"}},isBusinessKey:{type:"boolean",description:"Tags the column as a business key."},isChangeTracking:{type:"boolean",description:"Tags the column as a change tracking column in type 2 dimensions."},isSurrogateKey:{type:"boolean",description:"Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY."},keyColumnType:{type:"string",enum:["None","primaryBusinessKey","surrogateKey"]},name:{type:"string",description:"The column name."},nullable:{type:"boolean",description:"If the column can contain null values."},primaryKey:{description:"Tags the column as a primary key.",type:"boolean"},sources:{items:{$ref:"#/components/schemas/SourceColumnReference"},type:"array"},systemColumnType:{type:"string",enum:["None","sysCreateDate","sysCurrentFlag","sysEndDate","sysStartDate","sysUpdateDate","sysVersion"]},transform:{type:"string"},uniqueKey:{type:"boolean"}},required:["columnID","dataType","description","name","nullable"]},ColumnReference:{type:"object",additionalProperties:!1,properties:{columnID:{type:"string",description:"Column ID of the source column."},nodeID:{type:"string",description:"Node ID of the source columm."}},required:["columnID","nodeID"]},CustomSQL:{type:"object",additionalProperties:!1,properties:{customSQL:{type:"string"}},required:["customSQL"]},HashAlgorithm:{type:"string",enum:["MD5","SHA1","SHA256"]},HashMetadata:{type:"object",additionalProperties:!1,properties:{hashAlgorithm:{$ref:"#/components/schemas/HashAlgorithm"},hashType:{enum:["ChangeHash","Hash","HubHash","LinkHash","None"],type:"string"},hubHashes:{items:{$ref:"#/components/schemas/ColumnReference"},type:"array"}},required:["hashAlgorithm"]},IntermediateColumnRefResult:{additionalProperties:!1,properties:{columnName:{type:"string"},tableName:{type:"string",nullable:!0}},required:["columnName","tableName"],type:"object"},JoinCondition:{type:"object",additionalProperties:!1,properties:{joinCondition:{type:"string"}},required:["joinCondition"]},NodeType:{anyOf:[{type:"string",enum:["Dimension","Fact","Hub","Link","Satellite","Source","Stage","View","persistentStage"]},{type:"string"}]},RefLink:{type:"object",additionalProperties:!1,properties:{locationName:{type:"string"},nodeName:{type:"string"}},required:["locationName","nodeName"]},SourceColumnReference:{anyOf:[{$ref:"#/components/schemas/SourceColumnReferenceV1"},{$ref:"#/components/schemas/SourceColumnReferenceV2"}]},SourceColumnReferenceV1:{type:"object",additionalProperties:!1,properties:{columnReferences:{items:{$ref:"#/components/schemas/ColumnReference"},type:"array"},transform:{type:"string",description:"Returns the SQL of any column transformations."}},required:["columnReferences","transform"]},SourceColumnReferenceV2:{type:"object",additionalProperties:!1,properties:{transform:{type:"string",description:"Returns the SQL of any column transformations."}},required:["transform"]},SourceMap:{additionalProperties:!1,properties:{aliases:{$ref:"#/components/schemas/AliasToStepIDMapping"},customSQL:{$ref:"#/components/schemas/CustomSQL"},dependencies:{items:{$ref:"#/components/schemas/RefLink"},type:"array"},join:{$ref:"#/components/schemas/JoinCondition"},name:{type:"string"},noLinkRefs:{items:{$ref:"#/components/schemas/RefLink"},type:"array"}},required:["dependencies","join","name","noLinkRefs"],type:"object"},RunStatus:{enum:["canceled","completed","failed","initializing","rendering","running","waitingToRun"],type:"string"},RunType:{enum:["deploy","refresh"],type:"string"},DatabricksUserConnectionType:{type:"string",enum:["Token","Cloud"]},SnowflakeUserConnectionType:{type:"string",enum:["Basic","Cloud","KeyPair","OAuth"]},DeployRunDetails:{type:"object",additionalProperties:!1,description:"Deployment run details.",properties:{canceled:{type:"boolean",description:"If the run was canceled."},deployCommit:{type:"string",description:"The full commit hash."},deployCommitMessage:{type:"string",description:"The commit message."},environmentID:{type:"string",description:"The Environment ID for this run."},parallelism:{type:"integer",description:"The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse."},nodesInRun:{type:"integer",description:"The number of Nodes deployed."}},required:["deployCommit","environmentID"]},RefreshRunDetails:{type:"object",additionalProperties:!1,description:"Refresh run details.",properties:{canceled:{type:"boolean",description:"If the run was canceled."},environmentID:{type:"string",description:"The Environment ID for this run."},excludeNodesSelector:{type:"string",description:"A selector string of nodes to exclude."},forceIgnoreEnvironmentStatus:{type:"boolean"},includeNodesSelector:{type:"string",description:"A selector string of nodes to include."},jobID:{type:"integer",description:"The Job ID."},parallelism:{type:"integer",description:"The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse."},refreshDescription:{type:"string",description:"The Job name."},nodesForRefresh:{type:"integer"},nodesInRun:{type:"integer",description:"The number of Nodes deployed."},executor:{type:"string"}},required:["environmentID"]},RunDetails:{description:"Detailed information about a run.",anyOf:[{$ref:"#/components/schemas/DeployRunDetails"},{$ref:"#/components/schemas/RefreshRunDetails"}]},RunInfo:{description:"The full details of a run, without the run results.",type:"object",additionalProperties:!1,properties:{id:{type:"integer"},reRunID:{type:"string",description:"If this is a re-run, the ID of the original operation."},runDetails:{$ref:"#/components/schemas/RunDetails"},runEndTime:{format:"date-time",type:"string",description:"The datetime when the run ended."},runHistory:{items:{type:"integer"},type:"array"},runStartTime:{format:"date-time",type:"string",description:"The datetime the run started."},runStatus:{$ref:"#/components/schemas/RunStatus"},runTimeParameters:{type:"object",description:"The default Environment parameters. Parameters changed during deploy will not show here.",additionalProperties:!0},runType:{$ref:"#/components/schemas/RunType"},userCredentials:{oneOf:[{$ref:"#/components/schemas/SnowflakeUserCredentials"},{$ref:"#/components/schemas/DatabricksUserCredentials"}]},userID:{type:"string"},projectID:{type:"string"},version:{type:"integer"}},required:["id","runDetails","runStatus","runTimeParameters","runType","projectID"]},DatabricksUserCredentials:{description:"Information about the Databricks account used to perform a run.",type:"object",additionalProperties:!1,properties:{databricksHost:{type:"string"},databricksAuthType:{$ref:"#/components/schemas/DatabricksUserConnectionType"},databricksPath:{type:"string"}},required:["databricksHost","databricksAuthType","databricksPath"]},SnowflakeUserCredentials:{description:"Information about the Snowflake account used to perform a run.",type:"object",additionalProperties:!1,properties:{snowflakeAccount:{type:"string"},snowflakeAuthType:{$ref:"#/components/schemas/SnowflakeUserConnectionType"},snowflakeRole:{type:"string"},snowflakeUsername:{type:"string"},snowflakeWarehouse:{type:"string"}},required:["snowflakeAccount","snowflakeAuthType","snowflakeUsername"]},QueryResult:{type:"object",additionalProperties:!1,properties:{endTime:{type:"string",format:"date-time"},error:{$ref:"#/components/schemas/Error"},isRunning:{type:"boolean",description:"If the queried run is still running."},name:{type:"string",description:"The name of the Stage the query ran on."},queryID:{type:"string"},rowsDeleted:{type:"integer"},rowsInserted:{type:"integer"},rowsUpdated:{type:"integer"},sql:{type:"string",description:"The SQL query run during the stage."},startTime:{type:"string",format:"date-time"},status:{type:"string",description:"The query status."},success:{type:"boolean",description:"If the query results were run successfully."},warehouse:{type:"string",description:"Name of the warehouse."}},required:["isRunning","name","sql","status","success"]},RunResult:{type:"object",additionalProperties:!1,description:"The result output describing each query processed during a run.",properties:{isRunning:{type:"boolean",description:"If the queried run is still running."},name:{type:"string"},nodeID:{type:"string"},runState:{type:"string"},origin:{$ref:"#/components/schemas/RunOrigins"},queryResults:{description:"The query result returns the status of different stages such as Delete Table or Rename Table. See the queryResults name for the stage.",items:{$ref:"#/components/schemas/QueryResult"},type:"array"},renderQueryResult:{$ref:"#/components/schemas/QueryResult"}},required:["isRunning","name","nodeID","queryResults"]},RunOrigins:{enum:["API","CLI","UI","fivetranAPI"]},OrgRoles:{type:"object",description:"Specifies role assignments.",required:["organizationRoles","projects"],properties:{organizationRoles:{description:"The organization roles assigned to the user.",type:"array",items:{type:"string"}},projects:{description:"A dictionary of project role assignments keyed by project ID.",type:"object",additionalProperties:{$ref:"#/components/schemas/ProjectRoles"}}},additionalProperties:!0},ProjectRoles:{type:"object",description:"Specifies project role assignments.",required:["projectRoles","environments"],properties:{projectRoles:{type:"array",items:{type:"string"}},environments:{description:"A dictionary of environment role assignments keyed by environment ID.",type:"object",additionalProperties:{$ref:"#/components/schemas/EnvironmentRoles"}}},additionalProperties:!0},EnvironmentRoles:{type:"object",description:"Specifies environment role assignments.",required:["environmentRoles"],properties:{environmentRoles:{description:"The environment roles assigned to the user.",type:"array",items:{type:"string"}}},additionalProperties:!0},UserOrgRoles:{description:"The roles assigned to a user.",allOf:[{$ref:"#/components/schemas/OrgRoles"},{type:"object",required:["user","organizationRoles","projects"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},UserProjectRoles:{description:"The project roles assigned to the user.",allOf:[{$ref:"#/components/schemas/ProjectRoles"},{type:"object",required:["user","projectRoles","environments"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},UserEnvironmentRoles:{description:"The environment roles assigned to the user.",allOf:[{$ref:"#/components/schemas/EnvironmentRoles"},{type:"object",required:["user"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},FivetranProject:{type:"object",properties:{id:{type:"string"},name:{type:"string"},createdAtUtc:{type:"string",format:"date-time"},updatedAtUtc:{type:"string",format:"date-time"},extras:{type:"object",description:"Additional data, if applicable"}},required:["id","name","createdAtUtc","updatedAtUtc"]},FivetranJob:{type:"object",properties:{id:{type:"string"},projectId:{type:"string"},name:{type:"string"},createdAtUtc:{type:"string",format:"date-time"},updatedAtUtc:{type:"string",format:"date-time"},extras:{type:"object",description:"Additional data, if applicable"}}},FivetranJobHistory:{type:"object",properties:{id:{type:"string"},jobId:{type:"string"},status:{$ref:"#/components/schemas/FivetranJobStatus"},startedAtUtc:{type:"string",format:"date-time",nullable:!0},endedAtUtc:{type:"string",format:"date-time",nullable:!0},logs:{type:"array",items:{type:"string"}},extras:{type:"object",description:"Additional data, if applicable"}}},FivetranJobStatus:{type:"string",description:"Possible statuses of jobs",enum:["SCHEDULING","RUNNING","SUCCEEDED","TERMINATING","FAILED"]},FivetranJobRunCause:{type:"string",description:"Possible run cause",enum:["Triggered by Fivetran"]},Job:{type:"object",description:"A Coalesce job.",additionalProperties:!0,properties:{id:{type:"string",description:"The Job ID."},name:{type:"string",description:"The Job name."},includeSelector:{type:"string",description:"A selector string of nodes to include."},excludeSelector:{type:"string",description:"A selector string of nodes to exclude."},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"}},required:["id","name","includeSelector","excludeSelector","createdAt","updatedAt"]},RegistryPackageReleaseResult:{description:"A single release of a package in the registry.",type:"object",properties:{createdBy:{type:"string"},createdAt:{type:"string",format:"date-time"},updatedBy:{type:"string"},updatedAt:{type:"string",format:"date-time"},version:{type:"string"},changeLog:{type:"string"},releaseID:{type:"string"},storagePath:{type:"string"},privacy:{type:"string",enum:["public","private","unlisted"]}},required:["createdBy","createdAt","version","changeLog","releaseID","storagePath","privacy"]},RegistryPackageResult:{description:"A single package in the registry.",type:"object",properties:{updatedBy:{type:"string"},updatedAt:{type:"string",format:"date-time"},name:{type:"string"},publisherID:{type:"string"},description:{type:"string"},org:{type:"string"},latestRelease:{type:"string"},overview:{type:"string"},featured:{type:"boolean"},tags:{type:"array",minItems:0,items:{type:"string"}},certified:{type:"boolean"},packageID:{type:"string"},id:{type:"string"}},required:["name","description","org","latestRelease","overview","tags","featured","certified","publisherID","packageID","id"]},WriteInfo:{type:"object",required:["entityType","writeType","data"],properties:{entityType:{anyOf:[{type:"string",enum:["node","workspace","run","subgraph","job","macro","nodeType","packageOld","installedPackage"]}]},writeType:{anyOf:[{type:"string",enum:["save","delete","merge"]}]},data:{type:"object",required:["id","version"],properties:{id:{anyOf:[{type:"string"},{type:"number"}]},version:{anyOf:[{type:"string"},{type:"number"}]}}}}},BaseWorkspaceEnv:{type:"object",description:"A workspace is a collection of resources that are used to develop, test, and deploy code.",additionalProperties:!0,properties:{connectionAccount:{type:"string",description:"The Snowflake account name."},defaultStorageMapping:{type:"string",nullable:!0},description:{type:"string",description:"The Workspace description."},name:{type:"string",description:"The Workspace name."},oauthEnabled:{type:"boolean",description:"If Snowflake OAuth is enabled."},tagColors:{$ref:"#/components/schemas/TagColor"},project:{type:"string",description:"The Project ID."},createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},updatedAt:{type:"string",format:"date-time"},currentGitBranch:{type:"string",description:"The branch most recently run on this environment."},currentGitCommit:{type:"string"},currentGitURL:{type:"string"},currentlyRunningJobs:{description:"An array of any running Jobs. If there are not Jobs running, this will return empty.",type:"array",items:{type:"integer"}},id:{type:"string"},deployedCommit:{type:"string",description:"The most recently deployed commit ID."},status:{$ref:"#/components/schemas/WorkspaceEnvHealth"},platformKind:{$ref:"#/components/schemas/PlatformKind"}},required:["createdAt","updatedAt","id","name","oauthEnabled","project","status"]},Workspace:{allOf:[{$ref:"#/components/schemas/BaseWorkspaceEnv"},{type:"object",additionalProperties:!0,properties:{mappingsV1:{type:"string"},runTimeParameters:{type:"string"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}}}}]},WorkspaceSummary:{type:"object",description:"A set of minimal workspace data.",additionalProperties:!0,properties:{id:{type:"string"},name:{type:"string"},project:{type:"string",description:"The Project ID."},status:{$ref:"#/components/schemas/WorkspaceEnvHealth"},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}}},required:["createdAt","createdBy","updatedAt","id","name","status","project"]},WorkspaceEnvHealth:{type:"string",enum:["Deleting","Deploying","Failed Deploy","Failed Refresh","Initializing","Refreshing","Waiting"]},TagColor:{type:"object",description:"The tag color from the Environment settings.",additionalProperties:!1,properties:{backgroundColor:{type:"string"},textColor:{type:"string"}}},SourceColumnMetadata:{type:"object",additionalProperties:!1,properties:{columns:{items:{$ref:"#/components/schemas/ColumnMetadata"},type:"array"},join:{type:"object",additionalProperties:!1,properties:{joinCondition:{type:"string",description:"Returns SQL from the Join tab."}},required:["joinCondition"]},sourceMapping:{type:"array",items:{$ref:"#/components/schemas/SourceMap"}}},required:["columns"]},SourceNode:{type:"object",allOf:[{$ref:"#/components/schemas/BaseNode"}],additionalProperties:!0,properties:{metadata:{$ref:"#/components/schemas/SourceColumnMetadata"},table:{type:"string"}},required:["database","description","locationName","metadata","name","nodeType","schema","table"]},MaterializationType:{type:"string",enum:["table","view"]},NodeTest:{type:"object",additionalProperties:!1,properties:{continueOnFailure:{type:"boolean"},description:{type:"string"},name:{type:"string"},runOrder:{$ref:"#/components/schemas/TestRunOrder"},templateString:{type:"string"}},required:["continueOnFailure","description","name","runOrder","templateString"]},SQLNode:{type:"object",allOf:[{$ref:"#/components/schemas/BaseNode"}],additionalProperties:!0,properties:{config:{$ref:"#/components/schemas/UserConfig"},isMultisource:{type:"boolean"},materializationType:{$ref:"#/components/schemas/MaterializationType"},metadata:{$ref:"#/components/schemas/SQLNodeMetadata"},overrideSQL:{type:"boolean"}},required:["config","database","description","isMultisource","locationName","materializationType","metadata","name","nodeType","overrideSQL","schema"]},SQLNodeMetadata:{type:"object",additionalProperties:!1,properties:{appliedNodeTests:{default:[],items:{$ref:"#/components/schemas/NodeTest"},type:"array"},columns:{default:[],items:{$ref:"#/components/schemas/ColumnMetadata"},type:"array"},cteString:{type:"string"},description:{type:"string"},destinationName:{type:"string"},enabledColumnTestIDs:{type:"array",items:{type:"string"}},mapping:{type:"object",additionalProperties:{anyOf:[{type:"object"},{type:"string"},{type:"number"},{type:"boolean"}]}},materializationOption:{type:"string"},sourceMapping:{type:"array",items:{$ref:"#/components/schemas/SourceMap"}}},required:["appliedNodeTests","columns","enabledColumnTestIDs","sourceMapping"]},TestRunOrder:{type:"string",enum:["After","Before"]},UserConfig:{type:"object",additionalProperties:{anyOf:[{type:"object"},{type:"string"},{type:"number"},{type:"boolean"}]}}},responses:{CoaTagResponse:{description:"The coa image tag being used.","x-coa-private":!0,content:{"application/json":{schema:{type:"string"}}}},CoaTagReportResponse:{description:"A report of what coa image tags are being used for what orgs.","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["defaultTag","deviatingOrgs"],properties:{defaultTag:{type:"string"},deviatingOrgs:{type:"array",items:{type:"object",required:["orgID","orgName","tag","image"],properties:{orgID:{type:"string"},orgName:{type:"string"},tag:{type:"string"},image:{type:"string"}}}}}}}}},CustomTokenResponse:{description:"The Coalesce custom token response","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["customToken"],properties:{customToken:{description:"A Coalesce token",type:"string"}}}}}},EnvironmentResponse:{description:"Information about an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/Environment"}}}},EnvironmentsResponse:{description:"A collection of environment information.",content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentsResponse"}}}},JobSummaryResponse:{description:"Information about a job.",content:{"application/json":{schema:{$ref:"#/components/schemas/Job"}}}},ProjectsResponse:{description:"A collection of project information.",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectsResponse"}}}},FivetranProjectsResponse:{description:"A collection of project information.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranProjectsResponse"}}}},FivetranJobsResponse:{description:"A collection of Fivetran job information.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranJobsResponse"}}}},FivetranJobHistoryResponse:{description:"Fivetran job history data.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranJobHistoryResponse"}}}},FivetranRefreshJobResponse:{description:"The Fivetran start job refresh response.",content:{"application/json":{schema:{type:"object",required:["data"],properties:{data:{description:"Fivetran job history for the new run.",$ref:"#/components/schemas/FivetranJobHistory"}}}}}},NodeResponse:{description:"A node for an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/Node"}}}},NodesResponse:{description:"A collection of nodes for an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/NodesResponse"}}}},PackageResponse:{description:"A package registration","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["releaseID","packageID","storePath","publisherID"],properties:{releaseID:{type:"string",minLength:1},publisherID:{type:"string"},packageID:{type:"string",minLength:1},storePath:{type:"string"}}}}}},PackageUpdateResponse:{description:"Successful package update","x-coa-private":!0,content:{"application/json":{schema:{type:"string"}}}},AllRegistryPackagesResult:{description:"A list of all packages in the registry.",content:{"application/json":{schema:{type:"array",minItems:0,items:{$ref:"#/components/schemas/RegistryPackageResult"}}}}},AllRegistryPackageReleasesResult:{description:"A list of all releases for a single package in the registry.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/RegistryPackageReleaseResult"}}}}},RegistryPackageResult:{description:"A single package in the registry.",content:{"application/json":{schema:{$ref:"#/components/schemas/RegistryPackageResult"}}}},RegistryPackageReleaseResult:{description:"A single release for a single package in the registry.",content:{"application/json":{schema:{$ref:"#/components/schemas/RegistryPackageReleaseResult"}}}},ProjectResponse:{description:"Information about a project.",content:{"application/json":{schema:{$ref:"#/components/schemas/Project"}}}},RunResultsResponse:{description:"A collection of results for a deploy or refresh run.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunResultsResponse"}}}},RunResponse:{description:"A single run.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunInfo"}}}},RunsResponse:{description:"A collection of runs.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunsResponse"}}}},DatabaseInfoResponse:{description:"Information required to connect to the Coalesce database.",content:{"application/json":{schema:{$ref:"#/components/schemas/DatabaseInfoResponse"}}}},secretExists:{"x-coa-private":!0,description:"Specifies whether or not a value for the secret exists.",content:{"application/json":{schema:{type:"boolean"}}}},ValidHostname:{"x-coa-private":!0,description:"A whitelisted version of the passed hostname.",content:{"application/json":{schema:{type:"string"}}}},TypesenseConfigurationResponse:{"x-coa-private":!0,description:"The typesense configuration data for a given org.",content:{"application/json":{schema:{$ref:"#/components/schemas/TypesenseConfigResponse"}}}},UserEnvironmentRoleResponse:{description:"A user's environment role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentRoles"}}}},UserEnvironmentRolesResponse:{description:"A collection of user environment role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserEnvironmentRolesResponse"}}}},UserProjectRoleResponse:{description:"A user's project role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectRoles"}}}},UserProjectRolesResponse:{description:"A collection of user project role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserProjectRolesResponse"}}}},UserRoleResponse:{description:"A user's role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/OrgRoles"}}}},UserRolesResponse:{description:"A collection of user role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserRolesResponse"}}}},AlreadyExistsError:{description:"The requested resource already exists.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},BadGatewayError:{description:"The server received an error from an upstream system.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},ForbiddenError:{description:"The client is not permitted to perform the requested operation.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},GatewayTimeoutError:{description:"The server did not receive a response in time from an upstream system.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},InternalServerError:{description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},InvalidRequestError:{description:"The request was invalid.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},NotFoundError:{description:"The requested resource could not be found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},ServiceUnavailableError:{description:"The service is currently unavailable.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},Unauthorized:{description:"User lacks authorization to perform this action."}},parameters:{orderByDirection:{name:"orderByDirection",description:"The sort order for query results.",in:"query",schema:{description:"The sort order for query results.",type:"string",enum:["asc","desc"],default:"desc"},required:!1},secretType:{"x-coa-private":!0,description:"The name of the secret type.",name:"secretType",in:"path",schema:{type:"string"},required:!0},context:{description:"Contextual information required to identify a particular secret.",name:"context",in:"path",schema:{type:"string"},required:!0},newSecretType:{"x-coa-private":!0,description:"The name of the secret type to upgrade to.",name:"newSecretType",in:"path",schema:{type:"string"},required:!0},orgId:{"x-coa-private":!0,description:"The Organization ID of the organization that will be affected by the API call.",name:"orgId",in:"path",schema:{type:"string"},required:!0},runId:{"x-coa-private":!0,description:"The Run ID of the run that will be affected by the API call.",name:"runId",in:"path",schema:{type:"integer"},required:!0},coaTag:{"x-coa-private":!0,description:"A coa container image tag in Google Container Registry.",name:"coaTag",in:"path",schema:{type:"string"},required:!0}},securitySchemes:{BearerAuth:{type:"http",scheme:"bearer"}}},paths:{"/api/v1/customToken":{summary:"Custom Token","x-coa-private":!0,post:{summary:"Generate Custom Token",description:"Generate a Coalesce token from the provided OpenID Connect ID token",operationId:"GenerateCustomToken","x-eov-operation-handler":"SSOHandlers",requestBody:{description:"The information from the OpenID Connect authorization server required to sign into Coalesce.",required:!0,content:{"application/json":{schema:{type:"object",required:["idToken","accessToken","orgID"],properties:{idToken:{type:"string"},accessToken:{type:"string"},orgID:{type:"string"}},additionalProperties:!1}}}},security:[],tags:["Authorization"],responses:{"200":{$ref:"#/components/responses/CustomTokenResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments":{summary:"Environments","x-coa-command-group":"environments",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Environments",description:"Get a collection of Environment information.",operationId:"GetEnvironments","x-eov-operation-handler":"EnvironmentHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the environments.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Environments"],responses:{"200":{$ref:"#/components/responses/EnvironmentsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{summary:"Create Environment",description:"Create a new environment.",operationId:"CreateEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Environments"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentCreateRequest"}}}},responses:{"201":{$ref:"#/components/responses/EnvironmentResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}":{summary:"Environment","x-coa-command-group":"environments",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],delete:{summary:"Delete Environment",description:"Delete an environment.",operationId:"DeleteEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Environments"],responses:{"204":{description:"The environment was successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},get:{summary:"Get Environment",description:"Get information about an environment.",operationId:"GetEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Environments"],responses:{"200":{$ref:"#/components/responses/EnvironmentResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/nodes":{summary:"Nodes","x-coa-command-group":"nodes",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Nodes",description:"Get a collection of nodes for an environment",operationId:"GetNodes","x-eov-operation-handler":"NodeHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the nodes.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/nodes/{nodeID}":{summary:"Node","x-coa-command-group":"nodes",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"nodeID",description:"The node ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Node",description:"Get information about a node in an environment.",operationId:"GetNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/jobs/{jobID}":{summary:"Job","x-coa-command-group":"jobs",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"number"},required:!0},{name:"jobID",description:"The job ID.",in:"path",schema:{type:"number"},required:!0}],get:{summary:"Get Job",description:"Get information about a job in an environment.",operationId:"GetJob","x-eov-operation-handler":"JobHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Jobs"],responses:{"200":{$ref:"#/components/responses/JobSummaryResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/workspaces/{workspaceID}/nodes":{summary:"Nodes","x-coa-command-group":"workspace-nodes",parameters:[{name:"workspaceID",description:"The workspace ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Workspace Nodes",description:"Get a collection of nodes for a workspace.",operationId:"GetWorkspaceNodes","x-eov-operation-handler":"NodeHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the nodes.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/workspaces/{workspaceID}/nodes/{nodeID}":{summary:"Node","x-coa-command-group":"workspace-nodes",parameters:[{name:"workspaceID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"nodeID",description:"The node ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Node",description:"Get information about a node in a workspace.",operationId:"GetWorkspaceNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Set Node",description:"Replace all fields of a node in a workspace.",operationId:"SetWorkspaceNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"put",security:[{BearerAuth:[]}],tags:["Nodes"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/Node"}}}},responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/projects":{summary:"Projects","x-coa-private":!0,get:{summary:"Get Projects",description:"Get projects in org.",operationId:"GetProjectsInOrg","x-eov-operation-handler":"ProjectHandlers",parameters:[{name:"includeWorkspaces",description:"Whether or not to include nested workspace data for all projects.",in:"query",schema:{type:"boolean"},required:!1},{name:"includeJobs",description:"Whether or not to include nested job data for all workspaces in the projects.",in:"query",schema:{type:"boolean"},required:!1}],security:[{BearerAuth:[]}],tags:["Projects"],responses:{"200":{$ref:"#/components/responses/ProjectsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{summary:"Create Project",description:"Create a new project.",operationId:"CreateProject","x-eov-operation-handler":"ProjectHandlers",security:[{BearerAuth:[]}],tags:["Projects"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectCreateRequest"}}}},responses:{"201":{$ref:"#/components/responses/ProjectResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/projects/{projectID}":{summary:"Projects","x-coa-private":!0,"x-coa-command-group":"projects",parameters:[{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0},{name:"includeWorkspaces",description:"Whether or not to include nested workspace data for all projects.",in:"query",schema:{type:"boolean"},required:!1},{name:"includeJobs",description:"Whether or not to include nested job data for all workspaces in the projects.",in:"query",schema:{type:"boolean"},required:!1}],get:{summary:"Get Project",description:"Get a project.",operationId:"GetProjectInOrg","x-eov-operation-handler":"ProjectHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Projects"],responses:{"200":{description:"Successful response",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectResponse"}}}},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{summary:"Delete Project",description:"Delete a project.",operationId:"DeleteProject","x-eov-operation-handler":"ProjectHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Projects"],responses:{"204":{description:"The project was successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects":{summary:"Fivetran Projects","x-coa-private":!0,get:{summary:"Get Fivetran Projects",description:"Get fivetran projects in org.",operationId:"GetFivetranProjects","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranProjectsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects/{projectId}":{"x-coa-private":!0,get:{summary:"Gets a single Fivetran project.",operationId:"GetFivetranProject","x-eov-operation-handler":"FivetranHandlers",tags:["FivetranIntegration"],parameters:[{name:"projectId",in:"path",description:"The unique identifier for the project",required:!0,schema:{type:"string"}}],responses:{"200":{description:"Successful response",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranProjectResponse"}}}},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects/{projectId}/jobs":{summary:"Fivetran Jobs","x-coa-private":!0,get:{summary:"Get Fivetran jobs",description:"Get Fivetran jobs.",operationId:"GetFivetranJobs","x-eov-operation-handler":"FivetranHandlers",parameters:[{name:"projectId",in:"path",description:"The unique identifier for the project",required:!0,schema:{type:"string"}}],security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranJobsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/jobs/{jobId}/history/{historyId}":{summary:"Fivetran Job History","x-coa-private":!0,get:{parameters:[{name:"jobId",description:"The Fivetran job ID.",in:"path",schema:{type:"string"},required:!0},{name:"historyId",description:"The Fivetran history ID.",in:"path",schema:{type:"string"},required:!0}],summary:"Get Fivetran Job History",description:"Get Fivetran job history in org.",operationId:"GetFivetranJobHistory","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranJobHistoryResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/jobs/{jobId}/run":{summary:"Start a refresh job via Fivetran","x-coa-private":!0,post:{parameters:[{name:"jobId",description:"The Fivetran job ID.",in:"path",schema:{type:"string"},required:!0}],requestBody:{description:"Request body for start Fivetran run.",required:!0,content:{"application/json":{schema:{type:"object",required:["cause"],properties:{cause:{$ref:"#/components/schemas/FivetranJobRunCause"}}}}}},summary:"Start a refresh job via Fivetran",operationId:"PostFivetranJobRefresh","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"201":{$ref:"#/components/responses/FivetranRefreshJobResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles":{summary:"User Roles","x-coa-private":!0,get:{summary:"List User Roles",description:"Get all user roles in the organization, filtered by information available based on the current user's roles and sorted alphabetically by last name, then by first name.",operationId:"GetUserRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],parameters:[{name:"excludeOrgRoles",description:"Exclude organization level roles from the results.",in:"query",schema:{type:"boolean"}},{name:"projectID",description:"Return only user roles pertaining to the specified project.",in:"query",schema:{type:"string"},required:!1},{name:"environmentID",description:"Return only user roles pertaining to the specified environment.",in:"query",schema:{type:"string"},required:!1}],responses:{"200":{$ref:"#/components/responses/UserRolesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/organizationRoles":{summary:"Organization User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0}],put:{summary:"Create/Update User Organization Roles",description:"Creates or updates all of a user's organization roles. Only org admins may use this API.",operationId:"UpsertUserOrganizationRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user's organization roles.",required:!0,content:{"application/json":{schema:{type:"array",items:{type:"string"}}}}},responses:{"200":{$ref:"#/components/responses/UserRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/projects/{projectID}/environments/{environmentID}":{summary:"Environment User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0},{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0},{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0}],delete:{summary:"Delete Environment User Roles",description:"Deletes all of a user's environment roles.",operationId:"DeleteUserEnvironmentRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],responses:{"204":{description:"The user's environment roles were successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Create/Update Environment User Roles",description:"Creates or updates all of a user's environment roles.",operationId:"UpsertUserEnvironmentRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user environment roles.",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentRoles"}}}},responses:{"200":{$ref:"#/components/responses/UserEnvironmentRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/projects/{projectID}":{summary:"Project User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0},{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0}],delete:{summary:"Delete Project User Roles",description:"Deletes all of a user's project roles. Only org and project admins may user this API.",operationId:"DeleteUserProjectRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],responses:{"204":{description:"The user's project roles were successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Create/Update Project User Roles",description:"Creates or updates all of a user's project roles. Only org and project admins may user this API.",operationId:"UpsertUserProjectRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user project roles.",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectRoles"}}}},responses:{"200":{$ref:"#/components/responses/UserProjectRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/all":{summary:"All Packages","x-coa-private":!0,get:{description:"Get all available packages on the registry.",operationId:"GetAllRegistryPackages","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],responses:{"200":{$ref:"#/components/responses/AllRegistryPackagesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}/releases/privacy/{privacy}":{summary:"All Package Releases","x-coa-private":!0,get:{description:"Get all available releases for a package on the registry.",operationId:"GetAllRegistryPackageReleases","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0},{name:"privacy",description:"The privacy level of the packages requested",in:"path",schema:{type:"string",enum:["public","private","unlisted","all"],minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/AllRegistryPackageReleasesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}":{summary:"Package","x-coa-private":!0,get:{description:"Get a package on the registry.",operationId:"GetRegistryPackage","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/RegistryPackageResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a package on the registry.",operationId:"DeletePackage","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"204":{description:"Successfully deleted the registered package."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}/releases/{releaseID}":{summary:"Package Release","x-coa-private":!0,get:{description:"Get a release from a package in the registry.",operationId:"GetRegistryPackageRelease","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0},{name:"releaseID",description:"The package release ID.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/RegistryPackageReleaseResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/org":{summary:"Organization Packages","x-coa-private":!0,get:{description:"Get a release from a package in the registry.",operationId:"GetRegistryPackagesForOrg","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],responses:{"200":{$ref:"#/components/responses/AllRegistryPackagesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/createPackage":{summary:"Packages","x-coa-private":!0,post:{description:"Create a package.",operationId:"CreatePackage","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package info to create with.",required:!0,content:{"application/json":{schema:{type:"object",required:["release","name","description","entities","privacy","packageVariables"],properties:{release:{$ref:"#/components/schemas/PackageCreateReleaseInfo"},name:{type:"string"},description:{type:"string"},overview:{type:"string",maxLength:200},privacy:{type:"string",enum:["public","private","unlisted"]},entities:{$ref:"#/components/schemas/PackageCreateEntities"},packageVariables:{type:"string"}}}}}},responses:{"201":{$ref:"#/components/responses/PackageResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/createRelease":{"x-coa-private":!0,post:{description:"Add a new package release to an existing package.",operationId:"AddPackageRelease","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package release info.",required:!0,content:{"application/json":{schema:{type:"object",required:["release","entities","privacy","packageVariables","packageID"],properties:{release:{$ref:"#/components/schemas/PackageCreateReleaseInfo"},privacy:{type:"string",enum:["public","private","unlisted"]},entities:{$ref:"#/components/schemas/PackageCreateEntities"},packageVariables:{type:"string"},packageID:{type:"string",minLength:1}}}}}},responses:{"200":{$ref:"#/components/responses/PackageResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/update":{"x-coa-private":!0,put:{description:"Update a package.",operationId:"UpdatePackage","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package info to create with.",required:!0,content:{"application/json":{schema:{type:"object",required:["packageID","releaseID"],properties:{packageID:{type:"string",minLength:1},releaseID:{type:"string",minLength:1},changeLog:{type:"string"},description:{type:"string"},privacy:{type:"string",enum:["public","private","unlisted"]}}}}}},responses:{"200":{$ref:"#/components/responses/PackageUpdateResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/typesense/orgs/{orgID}/typesense-config":{summary:"Typesense Config","x-coa-private":!0,parameters:[{name:"orgID",description:"The organization ID.",in:"path",schema:{type:"string"},required:!0}],post:{description:"Returns Typesense configuration data for a given org.",operationId:"getTypesenseConfigForOrg","x-eov-operation-handler":"TypesenseHandlers",security:[{BearerAuth:[]}],tags:["CoalesceAPI"],responses:{"200":{$ref:"#/components/responses/TypesenseConfigurationResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs":{summary:"Runs","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Runs",description:"Get a collection of information about runs.",operationId:"GetRuns","x-eov-operation-handler":"RunHandlers","x-coa-command":"list",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"limit",description:"The maximum number of runs to return.",in:"query",schema:{type:"integer",minimum:0,maximum:1e3,default:25},required:!1},{name:"startingFrom",description:"The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.",in:"query",allowReserved:!0,schema:{oneOf:[{type:"integer",minimum:0},{type:"string",format:"date-time"}]},required:!1},{name:"orderBy",description:"The field used to order results.",in:"query",schema:{$ref:"#/components/schemas/RunsOrderBy"},required:!1},{$ref:"#/components/parameters/orderByDirection"},{name:"runType",description:"A run type to filter the query results.",in:"query",schema:{$ref:"#/components/schemas/RunType"},required:!1},{name:"runStatus",description:"A status value to filter the query results.",in:"query",schema:{$ref:"#/components/schemas/RunStatus"},required:!1},{name:"environmentID",description:"An environment ID to filter the query results.",in:"query",schema:{type:"string"},required:!1},{name:"detail",description:"Include the full detail of the run.",in:"query",schema:{type:"boolean",default:!1},required:!1}],responses:{"200":{$ref:"#/components/responses/RunsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs/{runID}":{summary:"Run","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Run",description:"Gets a single run.",operationId:"GetRun","x-eov-operation-handler":"RunHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"runID",description:"The run ID.",in:"path",schema:{type:"integer"},required:!0}],responses:{"200":{$ref:"#/components/responses/RunResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs/{runID}/results":{summary:"Run Results","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Run Results",description:"Get a collection of the results of a deploy or refresh run",operationId:"GetRunResults","x-eov-operation-handler":"RunHandlers","x-coa-command":"list-results",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"runID",description:"The run ID.",in:"path",schema:{type:"integer"},required:!0}],responses:{"200":{$ref:"#/components/responses/RunResultsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/database":{"x-coa-private":!0,get:{summary:"Get database connectivity information.",description:"Gets the information required to connect to the Coalesce database.",operationId:"GetDatabase","x-eov-operation-handler":"DatabaseHandlers",security:[],responses:{"200":{$ref:"#/components/responses/DatabaseInfoResponse"}}}},"/api/v1/secrets/{secretType}/{context}":{"x-coa-private":!0,get:{description:"Determines whether or not a git token value exists for a given project ID.",operationId:"SecretExists","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"200":{$ref:"#/components/responses/secretExists"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{description:"Upgrades a secret from secretType its upgrade target.",operationId:"UpgradeSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully upgraded a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{description:"Sets the value of a secret.",operationId:"SetSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],requestBody:{description:"The new value of the secret.",required:!0,content:{"application/json":{schema:{type:"object",required:["secretValue"],properties:{secretValue:{}}}}}},responses:{"204":{description:"Successfully set the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a secret.",operationId:"DeleteSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully deleted the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/kill-job/{orgId}/{runId}":{"x-coa-private":!0,post:{description:"Deletes the Kubernetes job.",operationId:"KillJob","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"},{$ref:"#/components/parameters/runId"}],responses:{"204":{description:"Successfully killed the job."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag":{"x-coa-private":!0,get:{description:"Gets a report of all organizations that are using a non-standard coa image tag.",operationId:"GetCoaTagReport","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],responses:{"200":{$ref:"#/components/responses/CoaTagReportResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag/{orgId}":{"x-coa-private":!0,get:{description:"Gets the container image tag that should be used when running cloud coa jobs for a particular org.",operationId:"GetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"}],responses:{"200":{$ref:"#/components/responses/CoaTagResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Resets the container image tag that should be used when running cloud coa jobs for a particular org to the default.",operationId:"ResetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"}],responses:{"204":{description:"Successfully reset coa tag."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag/{orgId}/{coaTag}":{"x-coa-private":!0,post:{description:"Sets the container image tag that should be used when running cloud coa jobs for a particular org.",operationId:"SetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"},{$ref:"#/components/parameters/coaTag"}],responses:{"204":{description:"Successfully set coa tag."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/scheduler/secret/{secretType}/{context}":{"x-coa-private":!0,get:{description:"Determines whether or not a git token value exists for a given project ID.",operationId:"SecretExistsV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"200":{$ref:"#/components/responses/secretExists"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{description:"Sets the value of a secret.",operationId:"SetSecretV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],requestBody:{description:"The new value of the secret.",required:!0,content:{"application/json":{schema:{type:"object",required:["secretValue"],properties:{secretValue:{}}}}}},responses:{"204":{description:"Successfully set the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a secret.",operationId:"DeleteSecretV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully deleted the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/bulkWrite":{"x-coa-private":!0,post:{description:"Updates multiple documents for a workspace.",operationId:"BulkWrite","x-eov-operation-handler":"BulkWriteHandlers",security:[{BearerAuth:[]}],tags:["BulkOperations"],deprecated:!1,requestBody:{description:"The workspace to update and the path to the storage bucket containing the document write information.",required:!0,content:{"application/json":{schema:{type:"object",required:["workspaceID","writeInfo"],properties:{workspaceID:{type:"number"},writeInfo:{type:"array",items:{$ref:"#/components/schemas/WriteInfo"}}}}}}},responses:{"204":{description:"Successfully wrote the documents to the workspace."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/validHostname":{"x-coa-private":!0,post:{description:"Validates the passed hostname and returns an authorized version.",operationId:"ValidateHostname","x-eov-operation-handler":"ValidateHostnameHandlers",tags:["default"],deprecated:!1,security:[],requestBody:{description:"The hostname that needs to be validated.",required:!0,content:{"application/json":{schema:{type:"object",required:["hostname"],properties:{hostname:{type:"string"}}}}}},responses:{"200":{$ref:"#/components/responses/ValidHostname"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/metrics":{"x-coa-private":!0,post:{description:"Submit a set of metrics",operationId:"SubmitMetrics","x-eov-operation-handler":"MetricsHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!1,requestBody:{description:"The metrics to submit",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/MetricsRequest"}}}},responses:{"204":{description:"Submitted metrics"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/multiFactorAuth/{userID}":{"x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0}],delete:{description:"Deletes the MFA for a user in firebase auth",operationId:"RemoveMultiFactor","x-eov-operation-handler":"MultiFactorAuthHandlers",deprecated:!1,tags:["default"],security:[{BearerAuth:[]}],responses:{"204":{description:"User's MFA successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}}}};var yJs=ht(require("os")),EJs=ht(require("path")),bJs=ht(mJs()),CJs=require("fs/promises");yi();lr();var IJs=r=>oo(r,t=>{t.snowflakePassword?.value&&(t.snowflakePassword.value="<REDACTED>"),t.token?.value&&(t.token.value="<REDACTED>"),t.snowflakeKeyPairKey?.value&&(t.snowflakeKeyPairKey.value="<REDACTED>")}),$W0=r=>oo(r,t=>{Object.keys(t).forEach(n=>{t[n]=IJs(r[n])})}),Lht=st.CLI_INTERNAL,OK=st.CLI,ZW0=()=>{let r=yJs.default.homedir(),t=EJs.default.join(r,".coa/config");return Lht.info("using default location",t),t},yT={profile:{value:"",description:"Profile To Use"},environmentID:{value:"",description:"Environment ID"},parameters:{value:"",description:"Parameters"},snowflakeAuthType:{value:"",description:"Snowflake Auth Type (Basic, KeyPair)"},snowflakeKeyPairPath:{value:"",description:"Snowflake Key Pair Path (deprecated, please use --snowflakeKeyPairKey)",deprecationMessage:"This option has been replaced by snowflakeKeyPairKey."},snowflakeKeyPairKey:{value:"",description:"Snowflake Key Pair Path"},snowflakeKeyPairPass:{value:"",description:"Snowflake Key Pair Pass"},snowflakePassword:{value:"",description:"Snowflake Password"},snowflakeRole:{value:"",description:"Snowflake Role"},snowflakeUsername:{value:"",description:"Snowflake Username"},snowflakeWarehouse:{value:"",description:"Snowflake Warehouse"},token:{value:"",description:"Coalesce Refresh Token"},jobID:{value:"",description:"Coalesce JobID"},include:{value:"",description:"Coalesce Node Selector"},exclude:{value:"",description:"Coalesce Node Selector"},parallelism:{value:"",description:"Parallelism level to use"},domain:{value:"",description:"Coalesce domain name to use for API requests",default:"https://app.coalescesoftware.io"}},eH0=async r=>{try{let t=await(0,CJs.readFile)(r??ZW0(),"utf-8"),n=bJs.default.parse(t);return Object.fromEntries(Object.entries(n).flatMap(([i,o])=>{if(!o||typeof o!="object")return OK.error(`Unexpected top-level option ${i} in config file.`),[];let s=Object.entries(o).flatMap(([a,l])=>yT[a]?!l||typeof l!="string"?(OK.error(`Expected profile ${i} field ${a} to be a string, but it is of type ${typeof o}.`),[]):(yT[a].deprecationMessage&&OK.error(`CLI profile ${i} is using deprecated option ${a}.`,yT[a].deprecationMessage),[[a,{...yT[a],value:l}]]):(OK.error("Ignoring unknown field",a,`in CLI profile ${i}.`),[]));return[[i,Object.fromEntries(s)]]}))}catch(t){if(r)throw new Error(`Unable to read cli profile: ${r}`);return OK.error("Using default options. Unable to read default cli profile:",r,". Error:",t),{}}},tH0=async(r,t)=>{let n=await eH0(t),i=n.default,o={};i&&(o=i);let s=r.profile?.value||i?.profile?.value||"";if(Lht.info("using profile",s,"cliProfiles",JSON.stringify($W0(n))),s){if(!(s in n))throw new Error(`Unable to find profile ${s}`);let a=n[s];o={...o,...a}}return o={...o,...r},o},rH0=r=>{if(r.snowflakeAuthType?.value==="Basic")return TDr.assert({snowflakeUsername:r.snowflakeUsername?.value,snowflakePassword:r.snowflakePassword?.value,snowflakeWarehouse:r.snowflakeWarehouse?.value,snowflakeRole:r.snowflakeRole?.value});if(r.snowflakeAuthType?.value==="KeyPair")return ODr.assert({snowflakeUsername:r.snowflakeUsername?.value,snowflakeKeyPairKey:r.snowflakeKeyPairKey?.value||r.snowflakeKeyPairPath?.value,snowflakeKeyPairPass:r.snowflakeKeyPairPass?.value||"",snowflakeWarehouse:r.snowflakeWarehouse?.value,snowflakeRole:r.snowflakeRole?.value});throw new Error(`SnowflakeAuthFromCLI: CLI config must have a valid credential type. Expected "Basic" or "KeyPair", got ${JSON.stringify(r.snowflakeAuthType?.value)}`)},vJs=async(r,t)=>{let n=await tH0(r,t);Lht.info("got final cli profile configFileLocation:",t,JSON.stringify(IJs(n)));let i;try{i=D_i(n,["token","environmentID"])}catch(l){throw typeof l=="object"&&l instanceof S$e&&Lht.error(`cliProfile was missing ${l.missingProperties}`),l}let o=i.domain?.value||process.env.SCHEDULER_ADDRESS||yT.domain.default,s={token:i.token.value,runDetails:{environmentID:i.environmentID.value,origin:"CLI"},userCredentials:rH0(i),runtimeParameters:i.parameters?.value||"",domain:new URL(o)};if(!s.domain)throw new Error("Unable to determine Coalesce domain.");let a=i.jobID?.value;if(a&&(s.runDetails.jobID=a),i.include?.value&&(s.runDetails.includeNodesSelector=i.include.value),i.exclude?.value&&(s.runDetails.excludeNodesSelector=i.exclude.value),i.parallelism?.value){let l=parseInt(i.parallelism.value);if(isNaN(l)){let c=`Parameter 'parallelism' was set to '${i.parallelism}', which could not be interpreted as a number`;throw Lht.error(c),new Error(c)}else s.runDetails.parallelism=l}return tC(s),s};TD();var dbe=ht(jy()),IPn=ht(require("util"));Ln();vfe();var _Js=require("fs/promises");yi();lr();var nH0=st.CLI,xJs=(r,t,n,i)=>{let o,s;return qce(n,void 0,i).then(a=>{let{teamInfo:l,firebase:c}=a;o=l.fbTeamID;let u=c.firestore();return s=parseInt(t),MKs(u,o,s)}).then(a=>{let l=gur.validate(a);l.valid||nH0.emergContext({orgID:o,runID:s},`Got an unexpected error deserializing run output ${l.failureMessage}`);let c=M_i(a);return(0,_Js.writeFile)(r,c+`
3628
+ hasNodeNameDifference: ${l}, hasLocationMappingDifference: ${c}`);let v=this.workspaceEditBuilder.getWorkspaceEditForReplaceUsingCloneTable(t,s),T=this.workspaceEditBuilder.dropClone(t,s);I.push(v,T)}return ns("DEPLOY",!!I.length,`alteredTable 'editsCollection' does not contain an edit for stepCounter: ${t}`),this.result.alter(t,cI(f,I,o,a)),this}};var Mht=(r,t,n,i,o,s,a,l)=>{if(!n.locations||!t.locations)throw new It("Locations are required to calculate node edits");return WG0(r,o).getNodeEdits(new wht("current",i,t,o,l),new wht("updated",i,n,o,l),s,a,l)},WG0=(r,t)=>{if(t==="snowflake")return new Acr(r);if(t==="databricks")return new gcr(r);throw new It("not implemented")};lr();Ln();Cd();var vK=st.DEPLOY,HG0=st.ACTUAL_STATE,L8n=st.PRESYNC,_Ks=async(r,t,n,i,o,s,a,l,c,u,d,p,f=null,A=null)=>{let h,y=new ucr;try{if(!t)throw vK.emergContext(p,"CreatePlan: no workspaceID specified"),new Error("no environmentID specified");let I=cc();p={...p,planID:I,workspaceID:t};let[v,T]=await Xp("CreatePlan: get all current and desired workspace data for plan",p,"DEPLOY",()=>Promise.all([c(),u()]),"appContext");vK.appContext(p,`CreatePlan: current workspace data contains ${(0,z8n.size)(v.steps)} nodes; updated workspace data contains ${(0,z8n.size)(T.steps)} nodes`),oAn(T,p,f??"commit was null, reading filesystem in CreatePlan"),vK.appContext(p,"CreatePlan: adding package entities to current");let S=h0t(v,v.installedPackages||{});vK.appContext(p,"CreatePlan: adding package entities to desired");let w=h0t(T,T.installedPackages||{});if(y.scan(w,t,s,a,A),scr(y))throw new sUe(y);try{await i.testConnection()}catch(U){throw vK.errorContext(p,`CreatePlan could not validate connection to ${i.name}`,U),U}i.name==="databricks"&&(l=!0);let Q;if(!l)try{Q=await KG0(S,w,i,t,o,p)}catch(U){L8n.errorContext(p,"Presync failed! Error:",U);try{await Q8n(I,t,n,d,S,w,a,o,void 0,{current:{},updated:{}},p),L8n.errorContext(p,"Stored failed plan context data - error:",U)}catch(X){L8n.emergContext(p,"Uploading plan for failed presync also failed",X)}throw U}let L={...S,steps:Q?Q.nodes:S.steps},H=await ocr(t,i,L,w,p);h=Q8n(I,t,n,d,S,w,a,o,Q,H,p).catch(U=>vK.errorContext(p,"storePlanContextData failed",U));let V=await Mht(r,L,w,t,i.name,o,H,p),ne=SZo(w),ee={...YG0(I,1,t),plan:V,environmentState:ne,runtimeParameters:JSON.stringify(o),presyncDetails:Q?Q.details:{}};return vK.appContext(p,"CreatePlan: finished creating plan."),bKs(y,p),{plan:ee,issues:y,logContext:p}}catch(I){if(vK.errorContext(p,"CreatePlan: failed to create plan",I,"STACK:",I.stack||"stack trace not available"),I instanceof sUe)throw I;{let{error:{errorString:v}}=Hc(I);throw y.addIssue("stop",{title:"Unknown errors detected",subtitle:"These errors must be addressed before proceeding.",messages:[v]}),new sUe(acr(y,p))}}finally{h?await h:vK.appContext(p,"CreatePlan: storePlanContextPromise was never set")}},YG0=(r,t,n)=>({id:r,version:t,targetEnvironment:n,plan:null,environmentState:null,gitInfo:null,runtimeParameters:null,presyncDetails:{}}),xKs=(r,t,n,i,o,s,a,l)=>{let c={...t},{oid:u,commit:d}=n,p=0;Object.values(r).forEach(h=>{p+=Object.keys(h).length});let f={fromWorkspaceData:c,deployCommit:u,deployCommitMessage:d.message,toWorkspaceID:i,environmentID:`${i}`,dividedStepDataWithWorkspaceEdits:r,stepsInRun:p,planID:l},A=null;return o&&(A=MYt(o)),new LTe({runDetails:f,userCredentials:s,parameters:A,origin:a})},VG0="Can't plan to specified environment as it is a development workspace",TKs=async(r,t)=>{let{firebase:n,teamInfo:i}=t;if((await PJo(n.firestore(),i.fbTeamID,r)).data().devEnv)throw new Error(VG0)},KG0=async(r,t,n,i,o,s)=>{if(!r.locations||!t.locations)throw HG0.errorContext(s,"Current locations are required for Actual State. current locations: ",r.locations,"updated locations: ",t.locations),new It("Locations are required to initialize actual state.");let a=new Oht(o,s);return await a.setup(i,n,r.steps,t.steps,r.locations,t.locations),{...a.syncNodes(),currentActualState:a.currentActualState,updatedActualState:a.updatedActualState}};var JG0=ht(Fce());lr();var B71=st.DEBUG;k8();lr();var{RUNNER_BACKEND:XG0}=st,OKs=async(r,t,n,i,o,s,a)=>{let l=fPe(t.name),c=await ocr(o,t,l,n,a),u=await Mht(r,l,{...n,steps:(0,SKs.pick)(n.steps,[...s])},+o,t.name,i,c,a),d=Object.keys(u["deletedTable"]),p=Object.keys(u["alteredTable"]);return Ll("RUNNER_BACKEND",!d.length&&!p.length,a,"GetWorkspaceEditsForDevRun: found edits of unexpected type for nodes; ","deleted: ",d,"altered: ",p),XG0.infoContext(a,"GetWorkspaceEditsForDevRun: done constructing edits ",Object.keys(u["addedTable"])),u};yi();lr();var{PIPELINE:eP1}=st;Ln();th();lr();lr();th();var wKs=st.RUN_TRANSACTION,q8n=process.env.HEARTBEAT_CHECKIN_TIME?parseInt(process.env.HEARTBEAT_CHECKIN_TIME):5,U3e=(r,t,n,i=q8n)=>{let o=!1,s=!1,l=(async()=>{try{do{if(await jTe(i*1e3),o)return;s=!0;try{await t.updateHeartbeat()}finally{s=!1}wKs.infoContext(r,`Updated heartbeat for ${n}`,t.id)}while(!o)}catch(u){wKs.emergContext(r,"Heartbeat function had a fatal error!",u);return}})();return async()=>{o=!0,s&&await l}};var{PIPELINE:$G0}=st,U8n=async(r,t,n,i=q8n)=>{let o="secureWorkspaceAndStartRun:",s={...ZG0(r),version:3},{runType:a}=s,l;switch(a){case"deploy":l=t.runs.createDeployRun(s);break;case"refresh":l=t.runs.createRefreshRun(s);break;case"devRun":l=t.devRuns.createDevRun(s);break;default:{let p=a;throw $G0.emergContext(n,o,"unexpected run type",p),new It(`${o} unexpected run type ${p}`)}}let c=await Xp(`${o} runRepository creation`,n,"PIPELINE",()=>l,"appContext"),u={...n,runID:c.id},d=U3e(u,c,a,i);return{runID:c.id,cleanupHeartbeat:d,logContext:u}},ZG0=r=>r.userCredentials&&(r.userCredentials.platformKind==="snowflake"||r.userCredentials.platformKind===void 0)&&r.userCredentials.snowflakeKeyPairKey?{...r,userCredentials:{...r.userCredentials,snowflakeKeyPairKey:"<REDACTED>"}}:r;no();var{PIPELINE:eW0}=st,mcr=async(r,t)=>{let{logContext:n,runInfo:{runDetails:{deployCommit:i,fromWorkspaceData:o,toWorkspaceID:s}},teamInfoAndFirebase:{firebase:a,rootRepository:l,teamInfo:{fbTeamID:c}}}=r,u=l.org(c).workspace(s),d=$Vs(a,c,s,o,n);return Sht(OVs,r,{beforeRun:async()=>{await w8n(u,o.locations,n),await d("macros"),await d("templates","update"),await d("folders"),await d("jobs"),await d("projects"),await d("packages"),await d("installedPackages")},afterRun:async()=>{let p=yZ.assert(o.locations||{});await u.merge({mappingsV1:jv(p),lastCommit:i}),await d("templates","delete")},workspaceUpdateOnSuccess:fVs,workspaceUpdateOnFailure:AVs(["Deploying"]),onCleanup:t})},Dht=async(r,t)=>Sht(wVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:g8n(["Refreshing","Failed Refresh"]),workspaceUpdateOnFailure:g8n(["Refreshing","Failed Refresh"]),onCleanup:t}),RKs=async(r,t)=>{let n="buildDevRunPipeline:",{allWorkspaceData:i,logContext:o,nodesInRun:s,platform:a,renderer:l,runID:c,runInfo:u,workspaceID:d}=r;switch(u.runDetails.operationType){case"create":{let p=await OKs(l,a,i,u.runTimeParameters||{},d,s,o),f={...u,runDetails:{...u.runDetails,dividedStepDataWithWorkspaceEdits:p}};await tW0({...r,nodesInRun:Gqe(p),runInfo:f},t);break}case"run":{await rW0(r,t);break}default:{eW0.errorContext(o,n,`received unrecognized operation type ${u.runDetails.operationType} for run ${c}`);break}}},tW0=async(r,t)=>Sht(RVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:mht,workspaceUpdateOnFailure:mht,onCleanup:t}),rW0=async(r,t)=>Sht(BVs,r,{beforeRun:void 0,afterRun:void 0,workspaceUpdateOnSuccess:mht,workspaceUpdateOnFailure:mht,onCleanup:t});var{DEPLOY:BKs}=st,nW0=r=>Object.entries(r).map(([i,o])=>(ns("RUN_RESULTS",o.runExecutionSequenceID!==void 0,"runExecutionSequenceID was undefined!"),{stepID:i,runExecutionSequenceID:o.runExecutionSequenceID})).sort((i,o)=>i.runExecutionSequenceID-o.runExecutionSequenceID).map(i=>i.stepID),j8n=async(r,t,n,i)=>{r.runDetails={...r.runDetails,allStepsForRefresh:[...t],refreshDescription:G8n(r.runDetails,n.jobs)},await i.merge({runDetails:r.runDetails})},G8n=(r,t)=>{let{jobID:n}=r;return n?`Refreshed Job: ${t[n]?.name||n}`:r.includeNodesSelector||r.excludeNodesSelector?"Refreshed an ad hoc Job":"Refreshed all Nodes"},dVs=async(r,t)=>{let n=[];for(;r;){let i=parseInt(r);if(isNaN(i))break;n.push(i);try{r=(await t.run(i).fetch()).reRunID}catch{throw new z0(`Run ${i} does not exist`,"404: Specify a valid runCounter")}}return n},iW0=(r,t)=>({nodeID:r,queryResultSequence:t.queryResultSequence,runState:t.runState}),oW0=r=>{let t=r,{id:n,runDetails:{environmentID:i}}=t,o={runResults:{runStartTime:t.runStartTime,runEndTime:t.runEndTime,runType:t.runType,runStatus:t.runStatus,runID:n||0,runResults:[],runTimeParameters:t.runTimeParameters,environmentID:i||"n/a"}};if(t.userCredentials&&"snowflakeAuthType"in t.userCredentials&&(o.runResults.snowflakeAccount=t.userCredentials.snowflakeAccount,o.runResults.snowflakeWarehouse=t.userCredentials.snowflakeWarehouse),t.runType==="refresh"){let{jobID:s,includeNodesSelector:a,excludeNodesSelector:l}=t.runDetails;o.runResults.jobID=s===void 0?void 0:+s,o.runResults.includeNodesSelector=a,o.runResults.excludeNodesSelector=l}return typeof o.runResults.jobID=="string"&&(BKs.error(`Patching jobID from string to number for run ${r.id}`),o.runResults.jobID=parseInt(o.runResults.jobID)),gur.assert(o)},MKs=(r,t,n)=>{let i,o=krt(r,t).path;return jOr(sW0(r,t,n),o).then(s=>{if(!s.docs.length)throw new z0(`Was not able to find a run with runID ${n}`);let a=s.docs[0].data();return i=oW0(a),N$(aW0(r,t,n)).then(l=>{let c={},u={};l.docs.forEach(p=>{let f=[],A=p.id,h=p.data(),y=h.history;!h.queryResultSequence&&Array.isArray(y)&&(f.push(`Patching 'queryResultSequence' from 'history' for step ${A}`),h.queryResultSequence=y[y.length-1]?.queryResultSequence),h.runResultVersion||(f.push(`Patching 'version' to zero for step ${A}`),h.runResultVersion=0),h.runExecutionSequenceID||(f.push(`Patching 'runExecutionSequenceID' to zero for step ${A}`),h.runExecutionSequenceID=0),h.name||(f.push(`Patching 'name' to 'unknown' for step ${A}`),h.name="unknown"),h.queryResultSequence?.queryResults?.map((v,T)=>{v.status||(f.push(`Patching 'status' to 'Failure' for step ${A} query result ${T}`),v.status="Failure"),v.exportedRefs||(f.push(`Patching 'exportedRefs' for step ${A} query result ${T}`),v.exportedRefs=[]),v.invalidExportedRefs||(f.push(`Patching 'invalidExportedRefs' for step ${A} query result ${T}`),v.invalidExportedRefs=[]),v.fields?.map(S=>{S.type||(f.push(`Patching 'type' to 'unknown' for step ${A} field ${S.name} of query result ${T}`),S.type="unknown")})}),f.length>0&&BKs.infoContext(JA(t,void 0,void 0,n),f);let I=WYs.assert(h);u[A]=I,c[A]=iW0(A,I)});let d=nW0(u);i.runResults.runResults=d.map(p=>c[p])})}).then(()=>i)},sW0=(r,t,n)=>krt(r,t).where("id","==",n),aW0=(r,t,n)=>s0o(r,t,n).collection("runResults"),NVs=r=>{if(r.runType==="deploy"){let t=r.runDetails.deployCommitMessage||"N/A",n=r.runDetails.deployCommit?.substring(0,8)||"N/A";return`Commit: ${t} (sha: ${n})`}else return r.runType==="refresh"?r.runDetails.refreshDescription||"Refresh":r.runType==="devRun"?`Dev run (environment ${r.runDetails.environmentID})`:"N/A"};yi();var uW0=null;lp()&&(uW0=VDe());var j3e=st.AUTH,nQ1=st.USER_MANAGEMENT,cW0=0,mT=st.RUNNER_BACKEND;var dW0=async(r,t)=>{try{await cNr(t);let n=r+cW0++,i=DZe().initializeApp(t,n);dNr(i,!1);let o=await zW("/scheduler/generateLoginToken",null,r),{customToken:s,uid:a}=o.data;return await i.auth().signInWithCustomToken(s),{Firebase:i,rootRepository:wYs(i),uid:a}}catch(n){throw mT.error("GetOrSetupFirebase",n),n}},pW0=async r=>{let t=(await MZe()).apiKey;return BGr(`https://securetoken.googleapis.com/v1/token?key=${t}`,{refresh_token:r,grant_type:"refresh_token"}).then(n=>n.data.id_token)},fW0=async(r,t,n)=>{let i,o,s,a,l,c,u,d,p;return j3e.debug("got auth request refresh:",!!r,"id token",!!t),t===void 0&&nk&&(t=r),j3e.debug("inAuthenticate, between 1st and 2nd",!!t),(t?Promise.resolve(t):pW0(r)).then(f=>(j3e.debug("inAuthenticate, before setting id token"),i=f,j3e.debug("inAuthenticate, setting up firebase 2"),n(i))).then(f=>(o=f.Firebase,s=f.rootRepository,u=f.uid,j3e.debug("inAuthenticate, getting team data admin ",u),l_o(o.firestore(),f.uid))).then(f=>(a=f,d=m_o(f.fbRole),j3e.debug("inAuthenticate, finishing...",u),s.org(f.fbTeamID).fetch())).then(f=>(l=f,s.user(a.fbUserID).fetch())).then(f=>{if(c=f,p=UYs(l.featureFlags),p.RBAC)return s.org(a.fbTeamID).userRole(a.fbUserID).fetch()}).then(f=>{let A;return f?A=new CK(f,!!c.hasSuperUserAccess):A=new hur(c.role,!!c.hasSuperUserAccess),{teamInfo:a,firebase:o,rootRepository:s,idToken:i,featureFlags:p,userPermissions:A,UserRolePrivilegeChecker:d}}).catch(f=>{let A=a?a.fbUserID:"",h=a?a.fbTeamID:"";j3e.errorContext({userID:A,orgID:h},"AuthenticateFirebaseTokenAndRetrieveTeamInfo",f);let y=f?.message||f?.error?.errorString;throw new It("Unable to authenticate, please check your network connection and ensure your token is valid",y)})};var qce=async(r,t,n)=>{let o=await hk(n.origin).GetDatabase();return await fBi(o),process.env.SCHEDULER_ADDRESS=n.origin,fW0(r,t,s=>dW0(s,o))};var W8n=(r,t,n,i)=>{let o=uPe(r.userCredentials,t);return{runTimeParameters:r.runTimeParameters,runDetails:r.runDetails,userCredentials:o,runStatus:i?"waitingToRun":"initializing",userID:n,runType:"deploy",kubernetesJobUuid:i,origin:r.origin}},AW0=async(r,t,n,i,o,s,a,l=!1)=>{let{teamInfo:{fbTeamID:c},rootRepository:u}=r,{runID:d,cleanupHeartbeat:p,logContext:f}=await U8n(t,u.org(c),s),A=l?Promise.resolve():mcr({allWorkspaceData:t.runDetails.fromWorkspaceData,connectionManager:i,logContext:f,platform:o,renderer:a,runID:d,runInfo:t,nodesInRun:Gqe(t.runDetails.dividedStepDataWithWorkspaceEdits),teamInfoAndFirebase:r,workspaceID:n},p);return l&&(await p(),await i.teardown()),{runCounter:d,runCompletion:A}},hW0=(r,t,n)=>{let{toWorkspaceID:i}=t;return oo(t,o=>{o.fromWorkspaceData.userConnections={[i]:{[n]:r}}})},DKs=async(r,t,n,i,o,s)=>{let{teamInfo:{fbTeamID:a,fbUserID:l},rootRepository:c}=t,u=parseInt(r.runDetails.environmentID),d=Math.max(...Object.values(r.runDetails.dividedStepDataWithWorkspaceEdits).map(f=>Object.keys(f).length)),p=r.runDetails.planID;mT.infoContext(o,"Initializing deploy! planId:",p);try{let f=await CU(c,a,l,u,n,o),A=_K(f,l),h=s?1:r.runDetails.parallelism,y=EK(d,h),{connectionManager:I,platform:v}=await bK(f,t,y,!0,o);r.runDetails=hW0(A,r.runDetails,l),mT.appContext(o,tht(f),"BECLI_HandleDeploy");let T=W8n(r,f,l,s),S=await AW0(t,T,u,I,v,o,i,!!s);return await gW0(c,t,S.runCounter,u,l,o),S}catch(f){throw mT.errorContext(o,`Error during deploy${p?` for plan ${p}`:""}: `,f,f instanceof Error?f.stack:void 0),f}},gW0=async(r,t,n,i,o,s)=>{try{let a=_Gr(t.firebase.firestore(),t.teamInfo.fbTeamID,i),l=await jP(a);if(!l.exists)throw new It(`Workspace ${i} does not exist!`);let c=`run-${n}.predeploy`,u=`user/${o}/environment/${i}/workspacePreDeploy/${c}`,d=l.data();mT.appContext(s,"saving workspace data",d);let p=JSON.stringify(d);await r.storage().uploadFile(u,p),mT.appContext(s,`Run ${n}: Saved pre-deploy workspace state to ${u}`)}catch(a){mT.errorContext(s,"Error while saving preDeploy workspace state: ",a)}},H8n=r=>{let{runDetails:t}=r;if(t.jobID&&(t.includeNodesSelector||t.excludeNodesSelector))throw new Error("Unable to process, don't provide a JobID and Node Include/Exclude Selector(s) for 1 Refresh Run")},mW0=(r,t)=>{for(let n in t)t[n]&&(r[n]=t[n])},yW0=(r,t)=>{for(let n in t)t[n]&&(r[n]=t[n])},Y8n=(r,t,n,i)=>{let o=uPe(r.userCredentials,t),s={runTimeParameters:r.runTimeParameters,runDetails:{...r.runDetails,jobID:uZe(r.runDetails.jobID)},userCredentials:o,runStatus:i?"waitingToRun":"initializing",userID:n,runType:"refresh",kubernetesJobUuid:i,origin:r.origin};return tC(s),s},_K=(r,t)=>{if(r.kind==="databricks")return{connectionKind:"databricks",connectionType:r.authenticator,connectionDetails:{userID:t,path:r.path}};let n={connectionDetails:{userID:t,user:r.user,role:r.role,warehouse:r.warehouse},connectionType:r.authenticator};return r.authenticator==="KeyPair"&&(n.connectionDetails.keyPair=r.keyPairKey),n},CU=async(r,t,n,i,o,s)=>{let a=r.org(t).workspace(i),[{accessUrl:l,connectionAccount:c},u]=await Promise.all([a.fetch(),Bhe(a.user(n),s)]),d=c||"",p=l||null;if(Y5t(u)){if(o.kind!=="databricks")throw new ga(`Got a userContext for a ${o.kind}, but the connection info on the workspace was for ${u.connectionKind??"snowflake"}`);let f={...o,path:u.connectionDetails.path,host:d};return yW0(f,o),f}else if(wfe(u)){if(o.kind!=="snowflake")throw new ga(`Got a userContext for a ${o.kind}, but the connection info on the workspace was for ${u.connectionKind??"snowflake"}`);let f={accountName:d,accessUrl:p,user:u.connectionDetails.user,role:u.connectionDetails.role,warehouse:u.connectionDetails.warehouse,environmentID:i,orgID:t,authenticator:u.connectionType,kind:"snowflake"};return mW0(f,o),f}else{let f=u;throw new ga(`Unknown user connection kind ${f.connectionKind}`)}},V8n=r=>({user:r.snowflakeUsername,role:r.snowflakeRole,warehouse:r.snowflakeWarehouse,authenticator:"Cloud",kind:"snowflake"}),Nht=r=>r.platformKind==="databricks"?{kind:"databricks",authenticator:r.databricksAuthType,token:r.databricksAuthType==="Token"?r.token:void 0}:bZ(r,o=>({user:o.snowflakeUsername,password:o.snowflakePassword,role:o.snowflakeRole,warehouse:o.snowflakeWarehouse,authenticator:"Basic",kind:"snowflake"}),o=>{if(o.snowflakeKeyPairKey===void 0)throw new It("No private key was provided, cannot perform key pair authentication with Snowflake");let s=o.snowflakeKeyPairPass?new pc(o.snowflakeKeyPairPass):void 0,a=Nrt(new pc(o.snowflakeKeyPairKey),s);return{user:o.snowflakeUsername,keyPairKey:a.sensitiveValue,keyPairPass:o.snowflakeKeyPairPass,role:o.snowflakeRole,warehouse:o.snowflakeWarehouse,authenticator:"KeyPair",kind:"snowflake"}},o=>({warehouse:o.snowflakeWarehouse,authenticator:"OAuth",kind:"snowflake"}),V8n),NKs=async(r,t,n,i,o,s,a,l,c=!1,u)=>{mT.infoContext(s,"Securing workspace status and starting refresh:",i);let{teamInfo:{fbTeamID:d},rootRepository:p}=r;n.runDetails={...n.runDetails,allStepsForRefresh:[...l],refreshDescription:G8n(n.runDetails,a.jobs)};let{runID:f,cleanupHeartbeat:A,logContext:h}=await U8n(n,p.org(d),s),y=c?Promise.resolve():Dht({allWorkspaceData:a,connectionManager:o,logContext:h,platform:t,renderer:u,runID:f,runInfo:n,nodesInRun:l,teamInfoAndFirebase:r,workspaceID:i},A);return c&&(await A(),await o.teardown()),{runCounter:f,runCompletion:y}},EW0=async(r,t,n,i,o)=>o?(mT.infoContext(i,"Refreshing job:",o),a0o(r,t,n,"jobs",o)):(mT.infoContext(i,"No job ID, refreshing all steps"),!0),PKs=async(r,t,n,i,o,s)=>{let{teamInfo:{fbTeamID:a,fbUserID:l},firebase:c,rootRepository:u}=t,d=c.firestore(),p=parseInt(r.runDetails.environmentID);r.runTimeParameters=await xK(u,a,p,r.runTimeParameters),H8n(r);let f=uZe(r.runDetails.jobID),A=EW0(d,a,p,o,f);try{let h=await CU(u,a,l,p,n,o),y=_K(h,l);if(mT.appContext(o,tht(h),"BECLI_HandleRefresh"),!await A)throw yfe(400,`Unable to start job ${f}`,`Job ${f} did not exist`);let I=Y8n(r,h,l,s),v={steps:{},folders:{},jobs:{},macros:{},stepTypes:{}},T=new Set;s||(v=await y2e(t,+I.runDetails.environmentID,u.org(a)),v.userConnections[p][l]=y,T=jqe(I.runDetails,v));let S=s?1:EK(T.size,r.runDetails.parallelism),{connectionManager:w,platform:Q}=await bK(h,t,S,!0,o);return NKs(t,Q,I,p,w,o,v,T,!!s,i)}catch(h){throw mT.errorContext(o,"Error during refresh:",h),h}};var bW0=async(r,t,n)=>{let o=(await r.org(t).workspace(n).fetch()).runTimeParameters??"";return BYt(o)},xK=async(r,t,n,i)=>i?MYt(i):bW0(r,t,n),K8n=async(r,t,n,i,o,s)=>{let a=uPe(t.userCredentials,i),l=await xK(r,o.fbTeamID,parseInt(n.runDetails.environmentID),t.runTimeParameters);return n.runType==="refresh"&&(t.runDetails.forceIgnoreWorkspaceStatus!==void 0?n.runDetails.forceIgnoreWorkspaceStatus=t.runDetails.forceIgnoreWorkspaceStatus:n.runDetails.forceIgnoreWorkspaceStatus!==void 0&&delete n.runDetails.forceIgnoreWorkspaceStatus,n.runDetails.executor=t.runDetails.executor),{kubernetesJobUuid:s,origin:t.origin,reRunID:t.runDetails.runID,runDetails:n.runDetails,runStatus:s?"waitingToRun":"initializing",runTimeParameters:l,runType:"refresh",userCredentials:a,userID:o.fbUserID,version:3}},CW0=async(r,t,n,i,o,s,a)=>{let l="[ReRunRefresh]",{rootRepository:c,teamInfo:u,teamInfo:{fbUserID:d,fbTeamID:p}}=n,f=c.org(p),A=parseInt(t.runDetails.environmentID),h=await CU(c,p,d,A,i,s),y=_K(h,d),I=await K8n(c,r,t,h,u,a);if(!nwt(I)){let H=`invalid rerun ID ${I.reRunID}`;throw mT.errorContext(s,l,H),new It(H)}let v=await y2e(n,+I.runDetails.environmentID,f);v.userConnections[A][d]=y;let T=await bur(f,I,v),S=a?1:I.runDetails.parallelism,w=EK(T.size,S),{platform:Q,connectionManager:L}=await bK(h,n,w,!0,s);return r.runTimeParameters=await xK(c,p,A,r.runTimeParameters),NKs(n,Q,I,A,L,s,v,T,!!a,o)},kKs=async(r,t,n,i,o,s,a)=>{if(mT.appContext(s,"BECLI_HandleRerun"),t.runStatus!=="failed")throw new Error("Only failed jobs can be re-run!");if(rwt(t))return CW0(r,t,n,i,o,s,a);throw new Error(`Run type ${t.runType} is not eligible for re-run`)};var iQ1=Tc({newOrg:nQt,newUser:ry([rQt,kde()]),baseURL:xo()}),QKs=r=>FKs(r,"runCounter"),uUe=r=>FKs(r,"environment ID"),FKs=(r,t)=>{let n=typeof r=="number"?r:parseInt(r||"");if(!r||isNaN(n))throw new ga(`Specify a valid ${t}`,`400: ${n} is not valid`);return n};var Pht=ht(Fce());var zKs=ht(require("node:fs")),qKs=ht(require("node:child_process"));j0();Ln();lr();uc();th();yi();var cUe=st.CLI;var TK=class extends It{constructor(n){super(`CLI exited with status ${n}`);this.exitCode=n}},af=async r=>{if(Qu().isTest)throw new TK(r);if(process.env.COALESCE_COA_CLOUD_JOB_ID){try{let t=process.env.COALESCE_COA_EXIT_STATUS_PATH||"/tmp/coa-exit-status";cUe.info(`Writing exit status ${r} to ${t}`),zKs.default.writeFileSync(t,r.toString())}catch(t){cUe.error("Unable to write exit status to file:",t)}cUe.info(`Running "kill -9 ${process.pid}" to kill cloud coa process`),qKs.default.spawnSync("kill",["-9",process.pid.toString()]),cUe.info("Finished running kill command"),setImmediate(async()=>{for(;;)await jTe(1e3),cUe.info("Cloud coa still alive...waiting to die...")});return}setTimeout(()=>{setTimeout(()=>{process.exit(r)},1e3)},5e3);try{let t=DZe(),n=[];t.apps.length&&t.apps.forEach(i=>{n.push(t.app(i.name).delete())}),process.exitCode=r,await w8(n)}catch{cUe.error("Error while attempting to close Firebase apps in CLI")}},IW0=(r,t)=>{let n=[rTt()],i={transports:n};if(r){let o={...Mw[t],level:r};n.push(Axe(o)),i.level=r}return i},LKs=(r,...t)=>{let n=Object.fromEntries(t.map(i=>[i,IW0(r,i)]));oTt(n)},ycr=(r,t)=>{r&&!t||(t?LKs("debug",...Object.keys(Mw)):LKs(null,...Object.keys(Mw).filter(n=>n!="CLI")))};Zw();lr();UJe();var UKs=require("node:async_hooks"),J8n,vW0=()=>(J8n||(J8n=new UKs.AsyncLocalStorage),J8n);var X8n=()=>vW0();var Ecr=(r,t)=>(Yfi(_W0),new Promise((n,i)=>{X8n().run(r,()=>{t().then(n).catch(i)})})),_W0=()=>X8n()?.getStore()??{logContext:JA()};yi();Ln();var jKs=(r,t,n,i)=>{if(t.kind==="none")throw new hxe(t.kind,"CreateActiveRunInfoFromDevRun");let o=uPe(r.userCredentials,t),s={userID:n,userCredentials:o,runTimeParameters:r.runTimeParameters,runDetails:{...r.runDetails,jobID:uZe(r.runDetails.jobID)},runStatus:i?"waitingToRun":"initializing",runType:"devRun",kubernetesJobUuid:i,origin:r.origin};return tC(s),s};var xW0=async(r,t,n,i,o)=>{Ao.infoContext(o,`Starting deploy job coa-${r}`);let s=UOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),a=new LTe(s),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=await Bhe(f.workspace(l).user(d),c),h=(await p.org(u).fetch()).featureFlags;await tMe(u,d,l,a.userCredentials,A,h);let y=await CU(p,u,d,l,Nht(a.userCredentials),c),I=W8n(a,y,d,r);I.id=i;let v=f.run(i);await v.updateHeartbeat({runStatus:"initializing"});let T=U3e(c,v,I.runType);try{let S=Math.max(...Object.values(a.runDetails.dividedStepDataWithWorkspaceEdits).map(L=>Object.keys(L).length)),{connectionManager:w,platform:Q}=await bK(y,t,EK(S,a.runDetails.parallelism),!1,c);return mcr({allWorkspaceData:I.runDetails.fromWorkspaceData,connectionManager:w,logContext:c,platform:Q,renderer:(0,Pht.GetPool)(),runID:i,runInfo:I,nodesInRun:Gqe(I.runDetails.dividedStepDataWithWorkspaceEdits),teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.error("Unable to clean up hearbeat after handling error",S,"innerError",w)}throw S}},TW0=async(r,t,n,i,o)=>{Ao.infoContext(o,`Starting refresh job coa-${r}`);let a=POi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=await Bhe(f.workspace(l).user(d),c),h=(await p.org(u).fetch()).featureFlags;await tMe(u,d,l,a.userCredentials,A,h);let y=await CU(p,u,d,l,Nht(a.userCredentials),c);a.runTimeParameters=await xK(p,u,l,a.runTimeParameters),H8n(a);let I=Y8n(a,y,d,r);I.id=i;let v=f.run(i);await v.updateHeartbeat({runStatus:"initializing"});let T=U3e(c,v,I.runType);try{let S=await y2e(t,l,f),w=jqe(I.runDetails,S);await j8n(I,w,S,v);let Q=_K(y,d);S.userConnections[l][d]=Q;let{connectionManager:L,platform:H}=await bK(y,t,EK(w.size,a.runDetails.parallelism),!1,c);return Dht({allWorkspaceData:S,connectionManager:L,logContext:c,platform:H,renderer:(0,Pht.GetPool)(),runID:i,runInfo:I,nodesInRun:w,teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.error("Unable to clean up hearbeat after handling error",S,"innerError",w)}throw S}},SW0=async(r,t,n,i,o)=>{let s="[CloudReRun]";Ao.infoContext(o,`Starting re-run job coa-${r}`);let a=QOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=new zTe(a);tC(l);let{teamInfo:c,teamInfo:{fbTeamID:u,fbUserID:d},rootRepository:p}=t,f=p.org(u),A=QKs(l.runDetails.runID),h=await f.run(A).fetch();if(!h)throw new Error(`Could not find runInfo for teamID=${u}, oldRunID=${A}`);if(!rwt(h))throw new Error("Run is not eligible for rerun or a dev run");let y=uUe(h.runDetails.environmentID),I={...o,workspaceID:y},v=await Bhe(f.workspace(y).user(d),I),T=(await p.org(u).fetch()).featureFlags;await tMe(u,d,y,l.userCredentials,v,T);let S=await CU(p,u,d,y,Nht(l.userCredentials),I),w=await K8n(p,l,h,S,c,r);if(w.id=i,!nwt(w)){let V=`Invalid rerun ID ${w.reRunID}`;throw Ao.errorContext(I,s,V),new ga(V)}let Q=uUe(w.runDetails.environmentID);Ll("RUNNER_BACKEND",Q===y,I,"Unexpected mismatch between workspace IDs for re-run and original run; workspace for re-run:",Q,"workspace for original run:",y);let L=f.run(i);await L.updateHeartbeat({runStatus:"initializing"});let H=U3e(I,L,w.runType);try{let V=await y2e(t,Q,f),ne=await bur(f,w,V);await j8n(w,ne,V,L);let ee=_K(S,d);V.userConnections[Q][d]=ee;let{connectionManager:U,platform:X}=await bK(S,t,EK(ne.size,w.runDetails.parallelism),!1,I);return Dht({allWorkspaceData:V,connectionManager:U,logContext:I,platform:X,renderer:(0,Pht.GetPool)(),runID:i,runInfo:w,nodesInRun:ne,teamInfoAndFirebase:t,workspaceID:Q},H)}catch(V){try{await H()}catch(ne){Ao.error("Unable to clean up hearbeat after handling error",V,"innerError",ne)}}},OW0=async(r,t,n,i,o)=>{let s="CloudDevRun:";Ao.infoContext(o,s,`Starting dev run job coa-${r}`);let a=jOi.assert(n,{logContext:o,logArea:"CLI",errorMessage:"failed to validate request body"}),l=uUe(a.runDetails.environmentID),c={...o,workspaceID:l},{rootRepository:u,teamInfo:{fbTeamID:d,fbUserID:p}}=t,f=u.org(d),A=await Bhe(f.workspace(l).user(p),c),h=(await u.org(d).fetch()).featureFlags;await tMe(d,p,l,a.userCredentials,A,h);let y=await CU(u,d,p,l,Nht(a.userCredentials),c),I=f.devRun(i);await I.updateHeartbeat({runStatus:"initializing"});let v={...jKs(a,y,p,r),id:i},T=U3e(c,I,v.runType);try{let S=await y2e(t,l,f);S.userConnections[l][p]=_K(y,p);let w=jqe(v.runDetails,S),{connectionManager:Q,platform:L}=await bK(y,t,EK(w.size,a.runDetails.parallelism),!1,c);return RKs({allWorkspaceData:S,connectionManager:Q,logContext:c,platform:L,renderer:(0,Pht.GetPool)(),runID:i,runInfo:v,nodesInRun:w,teamInfoAndFirebase:t,workspaceID:l},T)}catch(S){try{await T()}catch(w){Ao.errorContext(c,s,"unable to clean up heartbeat with error",w,"following run error",S)}throw S}},GKs=async r=>{let t="CloudEntry:";if(Ao.debug("Cloud entrypoint."),!process.env.SCHEDULER_ADDRESS){let u="No SCHEDULER_ADDRESS defined for cloud entrypoint";throw Ao.emerg(u),new Error(u)}let n=await qce(process.env.COALESCE_COA_CLOUD_TOKEN,void 0,new URL(process.env.SCHEDULER_ADDRESS)),{firebase:i,rootRepository:o,teamInfo:{fbTeamID:s,fbUserID:a}}=n,l={orgID:s,userID:a};Ao.infoContext(l,t,"authenticated user");let c;try{await u_o(i.firestore(),s)&&(k5r(),Ao.debugContext(l,t,"super Debug enabled"));let d=parseInt(process.env.COALESCE_COA_CLOUD_RUN_COUNTER);if(Number.isNaN(d))throw Ao.emergContext(l,t,`unable to parse runCounter: ${process.env.COALESCE_COA_CLOUD_RUN_COUNTER}`),new Error(`Unable to parse runCounter: ${process.env.COALESCE_COA_CLOUD_RUN_COUNTER}!`);let p={...l,runID:d},f=process.env.COALESCE_COA_CLOUD_REQUEST_PATH;if(!f)throw Ao.emergContext(p,t,"COALESCE_COA_CLOUD_REQUEST_PATH not set"),new It("COALESCE_COA_CLOUD_REQUEST_PATH not set!");Ao.infoContext(p,t,"downloading request data from",f);let A=await o.storage().downloadFile(f),h=UP(A);Ao.infoContext(p,t,"finished parsing request data as JSON completed; deleting stored request",h),await o.storage().deleteFile(f),Ao.infoContext(p,t,"finished deleting stored request; dispatching cloud run");let y,I=process.env.COALESCE_COA_CLOUD_ACTION;switch(I){case"deploy":y=xW0;break;case"refresh":y=TW0;break;case"rerun":y=SW0;break;case"devRun":y=OW0;break;default:{let v=I;throw Ao.emergContext(l,t,`received unexpected COALESCE_COA_CLOUD_ACTION value ${v}`),new It(`Error: COALESCE_COA_CLOUD_ACTION is invalid! value=${process.env.COALESCE_COA_CLOUD_ACTION}`)}}c=Ecr({userID:p.userID,orgID:p.orgID,logContext:p},()=>y(r,n,A,d,p))}catch(u){Ao.errorContext(l,t,"error starting coa run",u);let d={error:{errorString:TTi(u),errorDetail:""},statusCode:500};u instanceof It?(d.error=u.toTRunError().error,d.statusCode=u.statusCode()):(d.error.errorString=u.error?.errorString??d.error.errorString,d.error.errorDetail=u.error?.errorDetail??d.error.errorDetail,d.statusCode=u.statusCode??d.statusCode),await af(1);return}try{Ao.infoContext(l,t,"job started, waiting for completion"),await c,Ao.infoContext(l,t,"job completed without exception"),await af(0)}catch(u){Ao.errorContext(l,t,"exception thrown during job",u),await af(1)}};var oJs=ht(iJs(),1),{program:oF1,createCommand:sF1,createArgument:aF1,createOption:lF1,CommanderError:uF1,InvalidArgumentError:sJs,InvalidOptionArgumentError:cF1,Command:aJs,Argument:dF1,Option:jN,Help:pF1}=oJs.default;$xt();var _na=ht(Zs());var Ije=ht(require("fs")),xna=ht(dJs());Ln();var pJs={openapi:"3.0.3",info:{version:"1.0.0",title:"Coalesce API",description:"REST API for performing operations with the Coalesce backend."},servers:[{url:"https://app.coalescesoftware.io",description:"US primary"},{url:"https://app.eu.coalescesoftware.io",description:"Europe primary"},{url:"https://app.australia-southeast1.gcp.coalescesoftware.io",description:"Australia primary"},{url:"https://app.us-east-1.aws.coalescesoftware.io",description:"US AWS US East"},{url:"https://app.us-east-1.aws.privatelink.coalescesoftware.io",description:"US AWS US East with PrivateLink"},{url:"https://app.us-west-2.aws.coalescesoftware.io",description:"US AWS US West"},{url:"https://app.us-west-2.aws.privatelink.coalescesoftware.io",description:"US AWS US West with PrivateLink"},{url:"https://app.northamerica-northeast1.gcp.coalescesoftware.io",description:"Canada Primary"},{url:"https://app.westus2.azure.coalescesoftware.io/",description:"US Azure West 2"},{url:"https://app.eastus2.azure.coalescesoftware.io",description:"US Azure East 2"}],security:[{BearerAuth:[]}],"x-coa-private-pointers":["/paths/~1api~1v2~1render","/paths/~1api~1v2~1render~1health","/components/schemas/PackageDefinition","/components/schemas/RenderRequestV2"],components:{schemas:{EnvironmentsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of environment information.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/Environment"}},{type:"array",items:{$ref:"#/components/schemas/EnvironmentSummary"}}]}}},ProjectsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of project information.",type:"array",items:{$ref:"#/components/schemas/Project"}}}},ProjectResponse:{type:"object",required:["data"],properties:{data:{description:"Information about a project.",$ref:"#/components/schemas/Project"}}},TypesenseConfigResponse:{description:"Summary of configuration data for Typesense in a given org.","x-coa-private":!0,type:"object",required:["typesenseKey","typesenseHosts"],properties:{typesenseKey:{description:"The Typesense access key scoped to a users org.",type:"string"},typesenseHosts:{description:"The Typesense host address(es) for our cluster(s).",type:"array",items:{type:"string"}}}},EnvironmentSummary:{type:"object",description:"Summary information about an environment.",additionalProperties:!1,properties:{createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},id:{type:"string",description:"The Environment ID."},name:{type:"string",description:"Name of the Environment."},project:{type:"string",description:"The Project ID."},status:{$ref:"#/components/schemas/EnvironmentHealth",description:"Status of the Environment."}},required:["createdAt","id","name","project","status"]},ErrorResponse:{description:"Error detail in addition to the HTTP status code and text.",type:"object",required:["error"],properties:{error:{$ref:"#/components/schemas/Error"}}},NodesResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of nodes for an environment.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/NodeSummary"}},{type:"array",items:{$ref:"#/components/schemas/Node"}}]}}},NodeSummary:{type:"object",properties:{database:{type:"string",description:"The Snowflake database name."},id:{type:"string",description:"The Coalesce Node ID."},locationName:{type:"string",description:"The Storage Mapping location."},name:{type:"string",description:"The Node name."},nodeType:{$ref:"#/components/schemas/NodeType"},schema:{type:"string",description:"The database schema name."}},required:["database","id","locationName","name","nodeType","schema"]},OrderByDirection:{description:"The sort order for query results.",type:"string",enum:["asc","desc"]},PackageCreateEntity:{description:"A single package entity to be created.","x-coa-private":!0,type:"object",properties:{macros:{type:"string"},dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}},nodeTypes:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageNodeType"}}},required:["macros","dependencies","nodeTypes"]},PackageDependency:{description:"A package dependency.","x-coa-private":!0,type:"object",required:["version","macros","dependencies","releaseID","alias","packageID"],properties:{packageID:{type:"string",minLength:1},alias:{type:"string"},version:{type:"string"},releaseID:{type:"string",minLength:1},macros:{type:"string"},dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}}},example:{name:"foo",version:"1.2.3",macros:"{% macro bar() %}hello,{% endmacro %}",nodeTypes:{},dependencies:{dep:{name:"baz",version:"1.1.1",macros:"{% macro bar() %}world!{% endmacro %}",dependencies:{}}}}},PackageEntityTagV1:{description:"Identifies the package from which the entity came. (Deprecated, see PackageEntityTagV2).","x-coa-private":!0,type:"object",required:["id","version"],properties:{id:{type:"string"},version:{type:"string"}}},PackageEntityTagV2:{description:"Identifies the package from which the entity came.","x-coa-private":!0,type:"object",required:["id","releaseID"],properties:{id:{type:"string"},releaseID:{type:"string"}}},PackageMacro:{description:"A macro in a package.","x-coa-private":!0,type:"string"},PackageNodeType:{description:"A node type in a collection of nodeTypes to be packaged.","x-coa-private":!0,type:"object",required:["name","version","isDisabled","metadata","id"],properties:{name:{type:"string"},version:{type:"number"},id:{type:"string"},isDisabled:{type:"boolean"},metadata:{type:"object"}}},PackageCreateReleaseInfo:{description:"Package release information for a create operation.","x-coa-private":!0,type:"object",properties:{changeLog:{type:"string"},version:{type:"string"},certified:{type:"boolean"}},required:["changeLog","version"]},PackageCreateEntities:{description:"Entities that are part of a package release.","x-coa-private":!0,required:["dependencies","nodeTypes","macros"],properties:{dependencies:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageDependency"}},nodeTypes:{type:"object",additionalProperties:{$ref:"#/components/schemas/PackageNodeType"}},macros:{type:"string"}}},RunsOrderBy:{description:"The field used to sort query results.",type:"string",enum:["id","runStartTime","runEndTime"],default:"id"},RunsResponse:{description:"A collection of runs.",type:"object",required:["limit","orderBy","orderByDirection","data"],properties:{limit:{description:"The maximum number of runs returned by this query.",type:"integer"},orderByDirection:{$ref:"#/components/schemas/OrderByDirection"},orderBy:{$ref:"#/components/schemas/RunsOrderBy"},data:{description:"A collection of runs.",anyOf:[{type:"array",items:{$ref:"#/components/schemas/RunSummary"}},{type:"array",items:{$ref:"#/components/schemas/RunInfo"}}]}}},RunResultsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of run results.",type:"array",items:{$ref:"#/components/schemas/RunResult"}}}},RunSummary:{type:"object",properties:{id:{description:"The run ID.",type:"integer"},reRunID:{description:"If this is a re-run, the ID of the original operation.",type:"string"},runStartTime:{description:"The datetime the run started.",type:"string",format:"date-time"},runEndTime:{description:"The datetime the run ended.",type:"string",format:"date-time"},runType:{$ref:"#/components/schemas/RunType"},runStatus:{$ref:"#/components/schemas/RunStatus"},environmentID:{description:"The environment in which the run operation was applied.",type:"string"},runFailureReason:{description:"Information about the cause of a run failure.",type:"string"}},required:["id","runType","runStatus"]},DatabaseInfoResponse:{type:"object",required:["apiKey","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId"],properties:{apiKey:{type:"string"},authDomain:{type:"string"},projectId:{type:"string"},storageBucket:{type:"string"},messagingSenderId:{type:"string"},appId:{type:"string"},measurementId:{type:"string"},emulatorInfo:{type:"object",required:["auth","firestore","storage"],properties:{auth:{type:"string"},firestore:{type:"string"},storage:{type:"string"}}}}},UserEnvironmentRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserEnvironmentRoles"},additionalProperties:!1},UserProjectRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserProjectRoles"},additionalProperties:!1},UserRolesResponse:{type:"array",items:{$ref:"#/components/schemas/UserOrgRoles"},additionalProperties:!1},FivetranProjectsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of project information.",type:"array",items:{$ref:"#/components/schemas/FivetranProject"}}}},FivetranProjectResponse:{type:"object",required:["data"],properties:{data:{description:"Fivetran project data.",$ref:"#/components/schemas/FivetranProject"}}},FivetranJobsResponse:{type:"object",required:["data"],properties:{data:{description:"A collection of job information.",type:"array",items:{$ref:"#/components/schemas/FivetranJob"}}}},FivetranJobHistoryResponse:{type:"object",required:["data"],properties:{data:{description:"Fivetran job history data.",$ref:"#/components/schemas/FivetranJobHistory"}}},FivetranRefreshJobResponse:{type:"object",required:["data"],properties:{data:{description:"A fivetran job",$ref:"#/components/schemas/FivetranJobHistory"}}},MetricsItem:{type:"object",required:["name","tags","count"],properties:{name:{type:"string"},tags:{type:"array",items:{type:"string"}},count:{type:"integer"}}},MetricsRequest:{type:"object",required:["metrics"],properties:{metrics:{type:"array",items:{$ref:"#/components/schemas/MetricsItem"}}}},BaseEnvironment:{type:"object",description:"An environment is used for deploying your data pipeline to non-development Snowflake environments.",additionalProperties:!0,properties:{connectionAccount:{type:"string",description:"The Snowflake account name."},defaultStorageMapping:{type:"string",nullable:!0},description:{type:"string",description:"The Environment description."},name:{type:"string",description:"The Environment name."},oauthEnabled:{type:"boolean",description:"If Snowflake OAuth is enabled."},runTimeParameters:{type:"object",additionalProperties:!0,description:"The default Environment parameters. Parameters changed during deploy will not show here."},tagColors:{$ref:"#/components/schemas/TagColor"},project:{type:"string"}},required:["name","oauthEnabled","project"]},Environment:{description:"An environment is used for deploying your data pipeline to non-development Snowflake environments.",allOf:[{$ref:"#/components/schemas/BaseWorkspaceEnv"},{type:"object",additionalProperties:!0,properties:{runTimeParameters:{type:"object",additionalProperties:!0,description:"The default Environment parameters. Parameters changed during deploy will not show here."},currentMappings:{$ref:"#/components/schemas/EnvironmentStorageLocationMappings"}},required:["createdAt","id","status"]}]},EnvironmentCreateRequest:{"x-coa-private":!0,type:"object",description:"Initial values to set on a newly created environment.",allOf:[{$ref:"#/components/schemas/BaseEnvironment"},{type:"object",properties:{mappings:{$ref:"#/components/schemas/EnvironmentStorageLocationMappings"}},additionalProperties:!0}]},EnvironmentHealth:{type:"string",enum:["Deleting","Deploying","Failed Deploy","Failed Dev Run","Failed Refresh","Initializing","Refreshing","Running Dev Run","Waiting"]},EnvironmentStorageLocationMappings:{type:"object",description:"The Storage Mapping name.",additionalProperties:{type:"object",properties:{database:{type:"string",description:"The Snowflake database name."},schema:{type:"string",description:"The database schema."}}}},BaseProject:{type:"object",description:"A project groups environments and workspaces for easier management and access control.",additionalProperties:!0,properties:{platformKind:{$ref:"#/components/schemas/PlatformKind"},description:{type:"string"},gitRepoURL:{type:"string"},name:{type:"string"}},required:["name"]},Project:{description:"A project groups environments and workspaces for easier management and access control.",allOf:[{$ref:"#/components/schemas/BaseProject"},{type:"object",additionalProperties:!0,properties:{createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},updatedAt:{type:"string",format:"date-time"},updatedBy:{$ref:"#/components/schemas/UserSummary"},id:{type:"string"},status:{$ref:"#/components/schemas/ProjectStatus"},workspaces:{type:"array",items:{$ref:"#/components/schemas/WorkspaceSummary"}}},required:["createdAt","updatedAt","id","status","name"]}]},ProjectCreateRequest:{$ref:"#/components/schemas/BaseProject"},ProjectStatus:{type:"string",enum:["active","deleted"]},UserSummary:{type:"object",description:"Summary information about a user.",additionalProperties:!1,properties:{id:{type:"string",description:"The user ID."},firstName:{type:"string",description:"User first name."},lastName:{type:"string",description:"User last name."},email:{type:"string"},accountType:{type:"string",enum:["SSO","normal"]}},required:["id"]},FirestoreWebTimestamp:{type:"object",description:"Timestamp from the web Firestore SDK.",additionalProperties:!1,properties:{seconds:{type:"number"},nanoseconds:{type:"number"}},required:["seconds","nanoseconds"]},FirestoreAdminTimestamp:{type:"object",description:"Timestamp from the admin Firestore SDK.",additionalProperties:!1,properties:{_seconds:{type:"number"},_nanoseconds:{type:"number"}},required:["_seconds","_nanoseconds"]},FirestoreTimestamp:{type:"object",description:"Timestamp from either the web admin Firestore SDKs.",oneOf:[{$ref:"#/components/schemas/FirestoreWebTimestamp"},{$ref:"#/components/schemas/FirestoreAdminTimestamp"}]},PlatformKind:{type:"string",enum:["snowflake","databricks"]},Error:{type:"object",additionalProperties:!1,properties:{errorString:{description:"The error message.",type:"string"},errorDetail:{description:"Additional detail about the error.",type:"string"}},required:["errorString"]},Node:{type:"object",oneOf:[{$ref:"#/components/schemas/SourceNode"},{$ref:"#/components/schemas/SQLNode"}]},AliasToStepIDMapping:{type:"object",additionalProperties:{type:"string"}},AppliedColumnTests:{type:"object",description:"Will return `hasNull` or `isDistinct` as true or false if testing is enabled.",additionalProperties:{type:"boolean"}},BaseNode:{type:"object",additionalProperties:!0,properties:{database:{type:"string",description:"The Snowflake database name."},description:{type:"string",description:"The Node description."},id:{type:"string",description:"The Node ID."},locationName:{type:"string",description:"The Storage Mapping location."},name:{type:"string",description:"The Node name."},nodeType:{$ref:"#/components/schemas/NodeType"},schema:{type:"string",description:"The Snowflake schema name."}},required:["database","description","id","locationName","name","nodeType","schema"]},ColumnMetadata:{type:"object",additionalProperties:!1,properties:{appliedColumnTests:{$ref:"#/components/schemas/AppliedColumnTests"},columnID:{type:"string",description:"The column ID."},columnReferences:{items:{$ref:"#/components/schemas/IntermediateColumnRefResult"},type:"array"},config:{type:"object",description:"Returns any configuration options from the Node Config Tab.",additionalProperties:!0},dataType:{type:"string",description:"Column data type."},defaultValue:{type:"string",description:"The default column value."},description:{type:"string",description:"The column description."},hashDetails:{$ref:"#/components/schemas/HashMetadata"},hashedColumns:{type:"array",items:{$ref:"#/components/schemas/ColumnReference"}},isBusinessKey:{type:"boolean",description:"Tags the column as a business key."},isChangeTracking:{type:"boolean",description:"Tags the column as a change tracking column in type 2 dimensions."},isSurrogateKey:{type:"boolean",description:"Tags the column as a surrogate key, e.g. DIM_CUSTOMER_KEY."},keyColumnType:{type:"string",enum:["None","primaryBusinessKey","surrogateKey"]},name:{type:"string",description:"The column name."},nullable:{type:"boolean",description:"If the column can contain null values."},primaryKey:{description:"Tags the column as a primary key.",type:"boolean"},sources:{items:{$ref:"#/components/schemas/SourceColumnReference"},type:"array"},systemColumnType:{type:"string",enum:["None","sysCreateDate","sysCurrentFlag","sysEndDate","sysStartDate","sysUpdateDate","sysVersion"]},transform:{type:"string"},uniqueKey:{type:"boolean"}},required:["columnID","dataType","description","name","nullable"]},ColumnReference:{type:"object",additionalProperties:!1,properties:{columnID:{type:"string",description:"Column ID of the source column."},nodeID:{type:"string",description:"Node ID of the source columm."}},required:["columnID","nodeID"]},CustomSQL:{type:"object",additionalProperties:!1,properties:{customSQL:{type:"string"}},required:["customSQL"]},HashAlgorithm:{type:"string",enum:["MD5","SHA1","SHA256"]},HashMetadata:{type:"object",additionalProperties:!1,properties:{hashAlgorithm:{$ref:"#/components/schemas/HashAlgorithm"},hashType:{enum:["ChangeHash","Hash","HubHash","LinkHash","None"],type:"string"},hubHashes:{items:{$ref:"#/components/schemas/ColumnReference"},type:"array"}},required:["hashAlgorithm"]},IntermediateColumnRefResult:{additionalProperties:!1,properties:{columnName:{type:"string"},tableName:{type:"string",nullable:!0}},required:["columnName","tableName"],type:"object"},JoinCondition:{type:"object",additionalProperties:!1,properties:{joinCondition:{type:"string"}},required:["joinCondition"]},NodeType:{anyOf:[{type:"string",enum:["Dimension","Fact","Hub","Link","Satellite","Source","Stage","View","persistentStage"]},{type:"string"}]},RefLink:{type:"object",additionalProperties:!1,properties:{locationName:{type:"string"},nodeName:{type:"string"}},required:["locationName","nodeName"]},SourceColumnReference:{anyOf:[{$ref:"#/components/schemas/SourceColumnReferenceV1"},{$ref:"#/components/schemas/SourceColumnReferenceV2"}]},SourceColumnReferenceV1:{type:"object",additionalProperties:!1,properties:{columnReferences:{items:{$ref:"#/components/schemas/ColumnReference"},type:"array"},transform:{type:"string",description:"Returns the SQL of any column transformations."}},required:["columnReferences","transform"]},SourceColumnReferenceV2:{type:"object",additionalProperties:!1,properties:{transform:{type:"string",description:"Returns the SQL of any column transformations."}},required:["transform"]},SourceMap:{additionalProperties:!1,properties:{aliases:{$ref:"#/components/schemas/AliasToStepIDMapping"},customSQL:{$ref:"#/components/schemas/CustomSQL"},dependencies:{items:{$ref:"#/components/schemas/RefLink"},type:"array"},join:{$ref:"#/components/schemas/JoinCondition"},name:{type:"string"},noLinkRefs:{items:{$ref:"#/components/schemas/RefLink"},type:"array"}},required:["dependencies","join","name","noLinkRefs"],type:"object"},RunStatus:{enum:["canceled","completed","failed","initializing","rendering","running","waitingToRun"],type:"string"},RunType:{enum:["deploy","refresh"],type:"string"},DatabricksUserConnectionType:{type:"string",enum:["Token","Cloud"]},SnowflakeUserConnectionType:{type:"string",enum:["Basic","Cloud","KeyPair","OAuth"]},DeployRunDetails:{type:"object",additionalProperties:!1,description:"Deployment run details.",properties:{canceled:{type:"boolean",description:"If the run was canceled."},deployCommit:{type:"string",description:"The full commit hash."},deployCommitMessage:{type:"string",description:"The commit message."},environmentID:{type:"string",description:"The Environment ID for this run."},parallelism:{type:"integer",description:"The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse."},nodesInRun:{type:"integer",description:"The number of Nodes deployed."}},required:["deployCommit","environmentID"]},RefreshRunDetails:{type:"object",additionalProperties:!1,description:"Refresh run details.",properties:{canceled:{type:"boolean",description:"If the run was canceled."},environmentID:{type:"string",description:"The Environment ID for this run."},excludeNodesSelector:{type:"string",description:"A selector string of nodes to exclude."},forceIgnoreEnvironmentStatus:{type:"boolean"},includeNodesSelector:{type:"string",description:"A selector string of nodes to include."},jobID:{type:"integer",description:"The Job ID."},parallelism:{type:"integer",description:"The parallelism parameter determines how many nodes are processed simultaneously (in parallel) by the Snowflake compute warehouse."},refreshDescription:{type:"string",description:"The Job name."},nodesForRefresh:{type:"integer"},nodesInRun:{type:"integer",description:"The number of Nodes deployed."},executor:{type:"string"}},required:["environmentID"]},RunDetails:{description:"Detailed information about a run.",anyOf:[{$ref:"#/components/schemas/DeployRunDetails"},{$ref:"#/components/schemas/RefreshRunDetails"}]},RunInfo:{description:"The full details of a run, without the run results.",type:"object",additionalProperties:!1,properties:{id:{type:"integer"},reRunID:{type:"string",description:"If this is a re-run, the ID of the original operation."},runDetails:{$ref:"#/components/schemas/RunDetails"},runEndTime:{format:"date-time",type:"string",description:"The datetime when the run ended."},runHistory:{items:{type:"integer"},type:"array"},runStartTime:{format:"date-time",type:"string",description:"The datetime the run started."},runStatus:{$ref:"#/components/schemas/RunStatus"},runTimeParameters:{type:"object",description:"The default Environment parameters. Parameters changed during deploy will not show here.",additionalProperties:!0},runType:{$ref:"#/components/schemas/RunType"},userCredentials:{oneOf:[{$ref:"#/components/schemas/SnowflakeUserCredentials"},{$ref:"#/components/schemas/DatabricksUserCredentials"}]},userID:{type:"string"},projectID:{type:"string"},version:{type:"integer"}},required:["id","runDetails","runStatus","runTimeParameters","runType","projectID"]},DatabricksUserCredentials:{description:"Information about the Databricks account used to perform a run.",type:"object",additionalProperties:!1,properties:{databricksHost:{type:"string"},databricksAuthType:{$ref:"#/components/schemas/DatabricksUserConnectionType"},databricksPath:{type:"string"}},required:["databricksHost","databricksAuthType","databricksPath"]},SnowflakeUserCredentials:{description:"Information about the Snowflake account used to perform a run.",type:"object",additionalProperties:!1,properties:{snowflakeAccount:{type:"string"},snowflakeAuthType:{$ref:"#/components/schemas/SnowflakeUserConnectionType"},snowflakeRole:{type:"string"},snowflakeUsername:{type:"string"},snowflakeWarehouse:{type:"string"}},required:["snowflakeAccount","snowflakeAuthType","snowflakeUsername"]},QueryResult:{type:"object",additionalProperties:!1,properties:{endTime:{type:"string",format:"date-time"},error:{$ref:"#/components/schemas/Error"},isRunning:{type:"boolean",description:"If the queried run is still running."},name:{type:"string",description:"The name of the Stage the query ran on."},queryID:{type:"string"},rowsDeleted:{type:"integer"},rowsInserted:{type:"integer"},rowsUpdated:{type:"integer"},sql:{type:"string",description:"The SQL query run during the stage."},startTime:{type:"string",format:"date-time"},status:{type:"string",description:"The query status."},success:{type:"boolean",description:"If the query results were run successfully."},warehouse:{type:"string",description:"Name of the warehouse."}},required:["isRunning","name","sql","status","success"]},RunResult:{type:"object",additionalProperties:!1,description:"The result output describing each query processed during a run.",properties:{isRunning:{type:"boolean",description:"If the queried run is still running."},name:{type:"string"},nodeID:{type:"string"},runState:{type:"string"},origin:{$ref:"#/components/schemas/RunOrigins"},queryResults:{description:"The query result returns the status of different stages such as Delete Table or Rename Table. See the queryResults name for the stage.",items:{$ref:"#/components/schemas/QueryResult"},type:"array"},renderQueryResult:{$ref:"#/components/schemas/QueryResult"}},required:["isRunning","name","nodeID","queryResults"]},RunOrigins:{enum:["API","CLI","UI","fivetranAPI"]},OrgRoles:{type:"object",description:"Specifies role assignments.",required:["organizationRoles","projects"],properties:{organizationRoles:{description:"The organization roles assigned to the user.",type:"array",items:{type:"string"}},projects:{description:"A dictionary of project role assignments keyed by project ID.",type:"object",additionalProperties:{$ref:"#/components/schemas/ProjectRoles"}}},additionalProperties:!0},ProjectRoles:{type:"object",description:"Specifies project role assignments.",required:["projectRoles","environments"],properties:{projectRoles:{type:"array",items:{type:"string"}},environments:{description:"A dictionary of environment role assignments keyed by environment ID.",type:"object",additionalProperties:{$ref:"#/components/schemas/EnvironmentRoles"}}},additionalProperties:!0},EnvironmentRoles:{type:"object",description:"Specifies environment role assignments.",required:["environmentRoles"],properties:{environmentRoles:{description:"The environment roles assigned to the user.",type:"array",items:{type:"string"}}},additionalProperties:!0},UserOrgRoles:{description:"The roles assigned to a user.",allOf:[{$ref:"#/components/schemas/OrgRoles"},{type:"object",required:["user","organizationRoles","projects"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},UserProjectRoles:{description:"The project roles assigned to the user.",allOf:[{$ref:"#/components/schemas/ProjectRoles"},{type:"object",required:["user","projectRoles","environments"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},UserEnvironmentRoles:{description:"The environment roles assigned to the user.",allOf:[{$ref:"#/components/schemas/EnvironmentRoles"},{type:"object",required:["user"],properties:{user:{$ref:"#/components/schemas/UserSummary"}},additionalProperties:!0}]},FivetranProject:{type:"object",properties:{id:{type:"string"},name:{type:"string"},createdAtUtc:{type:"string",format:"date-time"},updatedAtUtc:{type:"string",format:"date-time"},extras:{type:"object",description:"Additional data, if applicable"}},required:["id","name","createdAtUtc","updatedAtUtc"]},FivetranJob:{type:"object",properties:{id:{type:"string"},projectId:{type:"string"},name:{type:"string"},createdAtUtc:{type:"string",format:"date-time"},updatedAtUtc:{type:"string",format:"date-time"},extras:{type:"object",description:"Additional data, if applicable"}}},FivetranJobHistory:{type:"object",properties:{id:{type:"string"},jobId:{type:"string"},status:{$ref:"#/components/schemas/FivetranJobStatus"},startedAtUtc:{type:"string",format:"date-time",nullable:!0},endedAtUtc:{type:"string",format:"date-time",nullable:!0},logs:{type:"array",items:{type:"string"}},extras:{type:"object",description:"Additional data, if applicable"}}},FivetranJobStatus:{type:"string",description:"Possible statuses of jobs",enum:["SCHEDULING","RUNNING","SUCCEEDED","TERMINATING","FAILED"]},FivetranJobRunCause:{type:"string",description:"Possible run cause",enum:["Triggered by Fivetran"]},Job:{type:"object",description:"A Coalesce job.",additionalProperties:!0,properties:{id:{type:"string",description:"The Job ID."},name:{type:"string",description:"The Job name."},includeSelector:{type:"string",description:"A selector string of nodes to include."},excludeSelector:{type:"string",description:"A selector string of nodes to exclude."},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"}},required:["id","name","includeSelector","excludeSelector","createdAt","updatedAt"]},RegistryPackageReleaseResult:{description:"A single release of a package in the registry.",type:"object",properties:{createdBy:{type:"string"},createdAt:{type:"string",format:"date-time"},updatedBy:{type:"string"},updatedAt:{type:"string",format:"date-time"},version:{type:"string"},changeLog:{type:"string"},releaseID:{type:"string"},storagePath:{type:"string"},privacy:{type:"string",enum:["public","private","unlisted"]}},required:["createdBy","createdAt","version","changeLog","releaseID","storagePath","privacy"]},RegistryPackageResult:{description:"A single package in the registry.",type:"object",properties:{updatedBy:{type:"string"},updatedAt:{type:"string",format:"date-time"},name:{type:"string"},publisherID:{type:"string"},description:{type:"string"},org:{type:"string"},latestRelease:{type:"string"},overview:{type:"string"},featured:{type:"boolean"},tags:{type:"array",minItems:0,items:{type:"string"}},certified:{type:"boolean"},packageID:{type:"string"},id:{type:"string"}},required:["name","description","org","latestRelease","overview","tags","featured","certified","publisherID","packageID","id"]},WriteInfo:{type:"object",required:["entityType","writeType","data"],properties:{entityType:{anyOf:[{type:"string",enum:["node","workspace","run","subgraph","job","macro","nodeType","packageOld","installedPackage"]}]},writeType:{anyOf:[{type:"string",enum:["save","delete","merge"]}]},data:{type:"object",required:["id","version"],properties:{id:{anyOf:[{type:"string"},{type:"number"}]},version:{anyOf:[{type:"string"},{type:"number"}]}}}}},BaseWorkspaceEnv:{type:"object",description:"A workspace is a collection of resources that are used to develop, test, and deploy code.",additionalProperties:!0,properties:{connectionAccount:{type:"string",description:"The Snowflake account name."},defaultStorageMapping:{type:"string",nullable:!0},description:{type:"string",description:"The Workspace description."},name:{type:"string",description:"The Workspace name."},oauthEnabled:{type:"boolean",description:"If Snowflake OAuth is enabled."},tagColors:{$ref:"#/components/schemas/TagColor"},project:{type:"string",description:"The Project ID."},createdAt:{type:"string",format:"date-time"},createdBy:{$ref:"#/components/schemas/UserSummary"},updatedAt:{type:"string",format:"date-time"},currentGitBranch:{type:"string",description:"The branch most recently run on this environment."},currentGitCommit:{type:"string"},currentGitURL:{type:"string"},currentlyRunningJobs:{description:"An array of any running Jobs. If there are not Jobs running, this will return empty.",type:"array",items:{type:"integer"}},id:{type:"string"},deployedCommit:{type:"string",description:"The most recently deployed commit ID."},status:{$ref:"#/components/schemas/WorkspaceEnvHealth"},platformKind:{$ref:"#/components/schemas/PlatformKind"}},required:["createdAt","updatedAt","id","name","oauthEnabled","project","status"]},Workspace:{allOf:[{$ref:"#/components/schemas/BaseWorkspaceEnv"},{type:"object",additionalProperties:!0,properties:{mappingsV1:{type:"string"},runTimeParameters:{type:"string"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}}}}]},WorkspaceSummary:{type:"object",description:"A set of minimal workspace data.",additionalProperties:!0,properties:{id:{type:"string"},name:{type:"string"},project:{type:"string",description:"The Project ID."},status:{$ref:"#/components/schemas/WorkspaceEnvHealth"},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}}},required:["createdAt","createdBy","updatedAt","id","name","status","project"]},WorkspaceEnvHealth:{type:"string",enum:["Deleting","Deploying","Failed Deploy","Failed Refresh","Initializing","Refreshing","Waiting"]},TagColor:{type:"object",description:"The tag color from the Environment settings.",additionalProperties:!1,properties:{backgroundColor:{type:"string"},textColor:{type:"string"}}},SourceColumnMetadata:{type:"object",additionalProperties:!1,properties:{columns:{items:{$ref:"#/components/schemas/ColumnMetadata"},type:"array"},join:{type:"object",additionalProperties:!1,properties:{joinCondition:{type:"string",description:"Returns SQL from the Join tab."}},required:["joinCondition"]},sourceMapping:{type:"array",items:{$ref:"#/components/schemas/SourceMap"}}},required:["columns"]},SourceNode:{type:"object",allOf:[{$ref:"#/components/schemas/BaseNode"}],additionalProperties:!0,properties:{metadata:{$ref:"#/components/schemas/SourceColumnMetadata"},table:{type:"string"}},required:["database","description","locationName","metadata","name","nodeType","schema","table"]},MaterializationType:{type:"string",enum:["table","view"]},NodeTest:{type:"object",additionalProperties:!1,properties:{continueOnFailure:{type:"boolean"},description:{type:"string"},name:{type:"string"},runOrder:{$ref:"#/components/schemas/TestRunOrder"},templateString:{type:"string"}},required:["continueOnFailure","description","name","runOrder","templateString"]},SQLNode:{type:"object",allOf:[{$ref:"#/components/schemas/BaseNode"}],additionalProperties:!0,properties:{config:{$ref:"#/components/schemas/UserConfig"},isMultisource:{type:"boolean"},materializationType:{$ref:"#/components/schemas/MaterializationType"},metadata:{$ref:"#/components/schemas/SQLNodeMetadata"},overrideSQL:{type:"boolean"}},required:["config","database","description","isMultisource","locationName","materializationType","metadata","name","nodeType","overrideSQL","schema"]},SQLNodeMetadata:{type:"object",additionalProperties:!1,properties:{appliedNodeTests:{default:[],items:{$ref:"#/components/schemas/NodeTest"},type:"array"},columns:{default:[],items:{$ref:"#/components/schemas/ColumnMetadata"},type:"array"},cteString:{type:"string"},description:{type:"string"},destinationName:{type:"string"},enabledColumnTestIDs:{type:"array",items:{type:"string"}},mapping:{type:"object",additionalProperties:{anyOf:[{type:"object"},{type:"string"},{type:"number"},{type:"boolean"}]}},materializationOption:{type:"string"},sourceMapping:{type:"array",items:{$ref:"#/components/schemas/SourceMap"}}},required:["appliedNodeTests","columns","enabledColumnTestIDs","sourceMapping"]},TestRunOrder:{type:"string",enum:["After","Before"]},UserConfig:{type:"object",additionalProperties:{anyOf:[{type:"object"},{type:"string"},{type:"number"},{type:"boolean"}]}}},responses:{CoaTagResponse:{description:"The coa image tag being used.","x-coa-private":!0,content:{"application/json":{schema:{type:"string"}}}},CoaTagReportResponse:{description:"A report of what coa image tags are being used for what orgs.","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["defaultTag","deviatingOrgs"],properties:{defaultTag:{type:"string"},deviatingOrgs:{type:"array",items:{type:"object",required:["orgID","orgName","tag","image"],properties:{orgID:{type:"string"},orgName:{type:"string"},tag:{type:"string"},image:{type:"string"}}}}}}}}},CustomTokenResponse:{description:"The Coalesce custom token response","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["customToken"],properties:{customToken:{description:"A Coalesce token",type:"string"}}}}}},EnvironmentResponse:{description:"Information about an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/Environment"}}}},EnvironmentsResponse:{description:"A collection of environment information.",content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentsResponse"}}}},JobSummaryResponse:{description:"Information about a job.",content:{"application/json":{schema:{$ref:"#/components/schemas/Job"}}}},ProjectsResponse:{description:"A collection of project information.",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectsResponse"}}}},FivetranProjectsResponse:{description:"A collection of project information.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranProjectsResponse"}}}},FivetranJobsResponse:{description:"A collection of Fivetran job information.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranJobsResponse"}}}},FivetranJobHistoryResponse:{description:"Fivetran job history data.",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranJobHistoryResponse"}}}},FivetranRefreshJobResponse:{description:"The Fivetran start job refresh response.",content:{"application/json":{schema:{type:"object",required:["data"],properties:{data:{description:"Fivetran job history for the new run.",$ref:"#/components/schemas/FivetranJobHistory"}}}}}},NodeResponse:{description:"A node for an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/Node"}}}},NodesResponse:{description:"A collection of nodes for an environment.",content:{"application/json":{schema:{$ref:"#/components/schemas/NodesResponse"}}}},PackageResponse:{description:"A package registration","x-coa-private":!0,content:{"application/json":{schema:{type:"object",required:["releaseID","packageID","storePath","publisherID"],properties:{releaseID:{type:"string",minLength:1},publisherID:{type:"string"},packageID:{type:"string",minLength:1},storePath:{type:"string"}}}}}},PackageUpdateResponse:{description:"Successful package update","x-coa-private":!0,content:{"application/json":{schema:{type:"string"}}}},AllRegistryPackagesResult:{description:"A list of all packages in the registry.",content:{"application/json":{schema:{type:"array",minItems:0,items:{$ref:"#/components/schemas/RegistryPackageResult"}}}}},AllRegistryPackageReleasesResult:{description:"A list of all releases for a single package in the registry.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/RegistryPackageReleaseResult"}}}}},RegistryPackageResult:{description:"A single package in the registry.",content:{"application/json":{schema:{$ref:"#/components/schemas/RegistryPackageResult"}}}},RegistryPackageReleaseResult:{description:"A single release for a single package in the registry.",content:{"application/json":{schema:{$ref:"#/components/schemas/RegistryPackageReleaseResult"}}}},ProjectResponse:{description:"Information about a project.",content:{"application/json":{schema:{$ref:"#/components/schemas/Project"}}}},RunResultsResponse:{description:"A collection of results for a deploy or refresh run.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunResultsResponse"}}}},RunResponse:{description:"A single run.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunInfo"}}}},RunsResponse:{description:"A collection of runs.",content:{"application/json":{schema:{$ref:"#/components/schemas/RunsResponse"}}}},DatabaseInfoResponse:{description:"Information required to connect to the Coalesce database.",content:{"application/json":{schema:{$ref:"#/components/schemas/DatabaseInfoResponse"}}}},secretExists:{"x-coa-private":!0,description:"Specifies whether or not a value for the secret exists.",content:{"application/json":{schema:{type:"boolean"}}}},ValidHostname:{"x-coa-private":!0,description:"A whitelisted version of the passed hostname.",content:{"application/json":{schema:{type:"string"}}}},TypesenseConfigurationResponse:{"x-coa-private":!0,description:"The typesense configuration data for a given org.",content:{"application/json":{schema:{$ref:"#/components/schemas/TypesenseConfigResponse"}}}},UserEnvironmentRoleResponse:{description:"A user's environment role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentRoles"}}}},UserEnvironmentRolesResponse:{description:"A collection of user environment role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserEnvironmentRolesResponse"}}}},UserProjectRoleResponse:{description:"A user's project role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectRoles"}}}},UserProjectRolesResponse:{description:"A collection of user project role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserProjectRolesResponse"}}}},UserRoleResponse:{description:"A user's role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/OrgRoles"}}}},UserRolesResponse:{description:"A collection of user role information.",content:{"application/json":{schema:{$ref:"#/components/schemas/UserRolesResponse"}}}},AlreadyExistsError:{description:"The requested resource already exists.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},BadGatewayError:{description:"The server received an error from an upstream system.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},ForbiddenError:{description:"The client is not permitted to perform the requested operation.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},GatewayTimeoutError:{description:"The server did not receive a response in time from an upstream system.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},InternalServerError:{description:"The server encountered an unexpected condition that prevented it from fulfilling the request.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},InvalidRequestError:{description:"The request was invalid.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},NotFoundError:{description:"The requested resource could not be found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},ServiceUnavailableError:{description:"The service is currently unavailable.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorResponse"}}}},Unauthorized:{description:"User lacks authorization to perform this action."}},parameters:{orderByDirection:{name:"orderByDirection",description:"The sort order for query results.",in:"query",schema:{description:"The sort order for query results.",type:"string",enum:["asc","desc"],default:"desc"},required:!1},secretType:{"x-coa-private":!0,description:"The name of the secret type.",name:"secretType",in:"path",schema:{type:"string"},required:!0},context:{description:"Contextual information required to identify a particular secret.",name:"context",in:"path",schema:{type:"string"},required:!0},newSecretType:{"x-coa-private":!0,description:"The name of the secret type to upgrade to.",name:"newSecretType",in:"path",schema:{type:"string"},required:!0},orgId:{"x-coa-private":!0,description:"The Organization ID of the organization that will be affected by the API call.",name:"orgId",in:"path",schema:{type:"string"},required:!0},runId:{"x-coa-private":!0,description:"The Run ID of the run that will be affected by the API call.",name:"runId",in:"path",schema:{type:"integer"},required:!0},coaTag:{"x-coa-private":!0,description:"A coa container image tag in Google Container Registry.",name:"coaTag",in:"path",schema:{type:"string"},required:!0}},securitySchemes:{BearerAuth:{type:"http",scheme:"bearer"}}},paths:{"/api/v1/customToken":{summary:"Custom Token","x-coa-private":!0,post:{summary:"Generate Custom Token",description:"Generate a Coalesce token from the provided OpenID Connect ID token",operationId:"GenerateCustomToken","x-eov-operation-handler":"SSOHandlers",requestBody:{description:"The information from the OpenID Connect authorization server required to sign into Coalesce.",required:!0,content:{"application/json":{schema:{oneOf:[{type:"object",description:"Token information for OpenID connect authorization completed on the client.",required:["type","idToken","accessToken","orgID"],properties:{type:{type:"string",enum:["token"]},idToken:{type:"string"},accessToken:{type:"string"},orgID:{type:"string"}},additionalProperties:!1},{type:"object",description:"Information for completing the authorization code grant on the backend.",required:["type","code","redirectURI","codeVerifier","orgID"],properties:{type:{type:"string",enum:["code"]},code:{type:"string"},redirectURI:{type:"string"},codeVerifier:{type:"string"},orgID:{type:"string"},extraTokenParams:{type:"object"}},additionalProperties:!1}]}}}},security:[],tags:["Authorization"],responses:{"200":{$ref:"#/components/responses/CustomTokenResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments":{summary:"Environments","x-coa-command-group":"environments",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Environments",description:"Get a collection of Environment information.",operationId:"GetEnvironments","x-eov-operation-handler":"EnvironmentHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the environments.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Environments"],responses:{"200":{$ref:"#/components/responses/EnvironmentsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{summary:"Create Environment",description:"Create a new environment.",operationId:"CreateEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Environments"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentCreateRequest"}}}},responses:{"201":{$ref:"#/components/responses/EnvironmentResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}":{summary:"Environment","x-coa-command-group":"environments",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],delete:{summary:"Delete Environment",description:"Delete an environment.",operationId:"DeleteEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Environments"],responses:{"204":{description:"The environment was successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},get:{summary:"Get Environment",description:"Get information about an environment.",operationId:"GetEnvironment","x-eov-operation-handler":"EnvironmentHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Environments"],responses:{"200":{$ref:"#/components/responses/EnvironmentResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/nodes":{summary:"Nodes","x-coa-command-group":"nodes",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Nodes",description:"Get a collection of nodes for an environment",operationId:"GetNodes","x-eov-operation-handler":"NodeHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the nodes.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/nodes/{nodeID}":{summary:"Node","x-coa-command-group":"nodes",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"nodeID",description:"The node ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Node",description:"Get information about a node in an environment.",operationId:"GetNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/environments/{environmentID}/jobs/{jobID}":{summary:"Job","x-coa-command-group":"jobs",parameters:[{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"number"},required:!0},{name:"jobID",description:"The job ID.",in:"path",schema:{type:"number"},required:!0}],get:{summary:"Get Job",description:"Get information about a job in an environment.",operationId:"GetJob","x-eov-operation-handler":"JobHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Jobs"],responses:{"200":{$ref:"#/components/responses/JobSummaryResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/workspaces/{workspaceID}/nodes":{summary:"Nodes","x-coa-command-group":"workspace-nodes",parameters:[{name:"workspaceID",description:"The workspace ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Workspace Nodes",description:"Get a collection of nodes for a workspace.",operationId:"GetWorkspaceNodes","x-eov-operation-handler":"NodeHandlers","x-coa-command":"list",parameters:[{name:"detail",description:"Include the full detail of the nodes.",in:"query",schema:{type:"boolean",default:!1},required:!1}],security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/workspaces/{workspaceID}/nodes/{nodeID}":{summary:"Node","x-coa-command-group":"workspace-nodes",parameters:[{name:"workspaceID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0},{name:"nodeID",description:"The node ID.",in:"path",schema:{type:"string"},required:!0},{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Node",description:"Get information about a node in a workspace.",operationId:"GetWorkspaceNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Nodes"],responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Set Node",description:"Replace all fields of a node in a workspace.",operationId:"SetWorkspaceNode","x-eov-operation-handler":"NodeHandlers","x-coa-command":"put",security:[{BearerAuth:[]}],tags:["Nodes"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/Node"}}}},responses:{"200":{$ref:"#/components/responses/NodeResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/projects":{summary:"Projects","x-coa-private":!0,get:{summary:"Get Projects",description:"Get projects in org.",operationId:"GetProjectsInOrg","x-eov-operation-handler":"ProjectHandlers",parameters:[{name:"includeWorkspaces",description:"Whether or not to include nested workspace data for all projects.",in:"query",schema:{type:"boolean"},required:!1},{name:"includeJobs",description:"Whether or not to include nested job data for all workspaces in the projects.",in:"query",schema:{type:"boolean"},required:!1}],security:[{BearerAuth:[]}],tags:["Projects"],responses:{"200":{$ref:"#/components/responses/ProjectsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{summary:"Create Project",description:"Create a new project.",operationId:"CreateProject","x-eov-operation-handler":"ProjectHandlers",security:[{BearerAuth:[]}],tags:["Projects"],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectCreateRequest"}}}},responses:{"201":{$ref:"#/components/responses/ProjectResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/projects/{projectID}":{summary:"Projects","x-coa-private":!0,"x-coa-command-group":"projects",parameters:[{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0},{name:"includeWorkspaces",description:"Whether or not to include nested workspace data for all projects.",in:"query",schema:{type:"boolean"},required:!1},{name:"includeJobs",description:"Whether or not to include nested job data for all workspaces in the projects.",in:"query",schema:{type:"boolean"},required:!1}],get:{summary:"Get Project",description:"Get a project.",operationId:"GetProjectInOrg","x-eov-operation-handler":"ProjectHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Projects"],responses:{"200":{description:"Successful response",content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectResponse"}}}},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{summary:"Delete Project",description:"Delete a project.",operationId:"DeleteProject","x-eov-operation-handler":"ProjectHandlers","x-coa-private":!0,security:[{BearerAuth:[]}],tags:["Projects"],responses:{"204":{description:"The project was successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects":{summary:"Fivetran Projects","x-coa-private":!0,get:{summary:"Get Fivetran Projects",description:"Get fivetran projects in org.",operationId:"GetFivetranProjects","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranProjectsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects/{projectId}":{"x-coa-private":!0,get:{summary:"Gets a single Fivetran project.",operationId:"GetFivetranProject","x-eov-operation-handler":"FivetranHandlers",tags:["FivetranIntegration"],parameters:[{name:"projectId",in:"path",description:"The unique identifier for the project",required:!0,schema:{type:"string"}}],responses:{"200":{description:"Successful response",content:{"application/json":{schema:{$ref:"#/components/schemas/FivetranProjectResponse"}}}},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/projects/{projectId}/jobs":{summary:"Fivetran Jobs","x-coa-private":!0,get:{summary:"Get Fivetran jobs",description:"Get Fivetran jobs.",operationId:"GetFivetranJobs","x-eov-operation-handler":"FivetranHandlers",parameters:[{name:"projectId",in:"path",description:"The unique identifier for the project",required:!0,schema:{type:"string"}}],security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranJobsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/jobs/{jobId}/history/{historyId}":{summary:"Fivetran Job History","x-coa-private":!0,get:{parameters:[{name:"jobId",description:"The Fivetran job ID.",in:"path",schema:{type:"string"},required:!0},{name:"historyId",description:"The Fivetran history ID.",in:"path",schema:{type:"string"},required:!0}],summary:"Get Fivetran Job History",description:"Get Fivetran job history in org.",operationId:"GetFivetranJobHistory","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"200":{$ref:"#/components/responses/FivetranJobHistoryResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/integrations/fivetran/jobs/{jobId}/run":{summary:"Start a refresh job via Fivetran","x-coa-private":!0,post:{parameters:[{name:"jobId",description:"The Fivetran job ID.",in:"path",schema:{type:"string"},required:!0}],requestBody:{description:"Request body for start Fivetran run.",required:!0,content:{"application/json":{schema:{type:"object",required:["cause"],properties:{cause:{$ref:"#/components/schemas/FivetranJobRunCause"}}}}}},summary:"Start a refresh job via Fivetran",operationId:"PostFivetranJobRefresh","x-eov-operation-handler":"FivetranHandlers",security:[{BearerAuth:[]}],tags:["FivetranIntegration"],responses:{"201":{$ref:"#/components/responses/FivetranRefreshJobResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles":{summary:"User Roles","x-coa-private":!0,get:{summary:"List User Roles",description:"Get all user roles in the organization, filtered by information available based on the current user's roles and sorted alphabetically by last name, then by first name.",operationId:"GetUserRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],parameters:[{name:"excludeOrgRoles",description:"Exclude organization level roles from the results.",in:"query",schema:{type:"boolean"}},{name:"projectID",description:"Return only user roles pertaining to the specified project.",in:"query",schema:{type:"string"},required:!1},{name:"environmentID",description:"Return only user roles pertaining to the specified environment.",in:"query",schema:{type:"string"},required:!1}],responses:{"200":{$ref:"#/components/responses/UserRolesResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/organizationRoles":{summary:"Organization User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0}],put:{summary:"Create/Update User Organization Roles",description:"Creates or updates all of a user's organization roles. Only org admins may use this API.",operationId:"UpsertUserOrganizationRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user's organization roles.",required:!0,content:{"application/json":{schema:{type:"array",items:{type:"string"}}}}},responses:{"200":{$ref:"#/components/responses/UserRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/projects/{projectID}/environments/{environmentID}":{summary:"Environment User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0},{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0},{name:"environmentID",description:"The environment ID.",in:"path",schema:{type:"string"},required:!0}],delete:{summary:"Delete Environment User Roles",description:"Deletes all of a user's environment roles.",operationId:"DeleteUserEnvironmentRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],responses:{"204":{description:"The user's environment roles were successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Create/Update Environment User Roles",description:"Creates or updates all of a user's environment roles.",operationId:"UpsertUserEnvironmentRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user environment roles.",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/EnvironmentRoles"}}}},responses:{"200":{$ref:"#/components/responses/UserEnvironmentRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/userRoles/{userID}/projects/{projectID}":{summary:"Project User Roles","x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0},{name:"projectID",description:"The project ID.",in:"path",schema:{type:"string"},required:!0}],delete:{summary:"Delete Project User Roles",description:"Deletes all of a user's project roles. Only org and project admins may user this API.",operationId:"DeleteUserProjectRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],responses:{"204":{description:"The user's project roles were successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{summary:"Create/Update Project User Roles",description:"Creates or updates all of a user's project roles. Only org and project admins may user this API.",operationId:"UpsertUserProjectRoles","x-eov-operation-handler":"UserRolesHandlers",tags:["UserRoles"],requestBody:{description:"The user project roles.",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/ProjectRoles"}}}},responses:{"200":{$ref:"#/components/responses/UserProjectRoleResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/all":{summary:"All Packages","x-coa-private":!0,get:{description:"Get all available packages on the registry.",operationId:"GetAllRegistryPackages","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],responses:{"200":{$ref:"#/components/responses/AllRegistryPackagesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}/releases/privacy/{privacy}":{summary:"All Package Releases","x-coa-private":!0,get:{description:"Get all available releases for a package on the registry.",operationId:"GetAllRegistryPackageReleases","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0},{name:"privacy",description:"The privacy level of the packages requested",in:"path",schema:{type:"string",enum:["public","private","unlisted","all"],minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/AllRegistryPackageReleasesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}":{summary:"Package","x-coa-private":!0,get:{description:"Get a package on the registry.",operationId:"GetRegistryPackage","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/RegistryPackageResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a package on the registry.",operationId:"DeletePackage","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"204":{description:"Successfully deleted the registered package."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/{packageID}/releases/{releaseID}":{summary:"Package Release","x-coa-private":!0,get:{description:"Get a release from a package in the registry.",operationId:"GetRegistryPackageRelease","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],parameters:[{name:"packageID",description:"The package id.",in:"path",schema:{type:"string",minLength:1},required:!0},{name:"releaseID",description:"The package release ID.",in:"path",schema:{type:"string",minLength:1},required:!0}],responses:{"200":{$ref:"#/components/responses/RegistryPackageReleaseResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/org":{summary:"Organization Packages","x-coa-private":!0,get:{description:"Get a release from a package in the registry.",operationId:"GetRegistryPackagesForOrg","x-eov-operation-handler":"PackageRegistryHandlers",tags:["PackageRegistry"],responses:{"200":{$ref:"#/components/responses/AllRegistryPackagesResult"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/createPackage":{summary:"Packages","x-coa-private":!0,post:{description:"Create a package.",operationId:"CreatePackage","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package info to create with.",required:!0,content:{"application/json":{schema:{type:"object",required:["release","name","description","entities","privacy","packageVariables"],properties:{release:{$ref:"#/components/schemas/PackageCreateReleaseInfo"},name:{type:"string"},description:{type:"string"},overview:{type:"string",maxLength:200},privacy:{type:"string",enum:["public","private","unlisted"]},entities:{$ref:"#/components/schemas/PackageCreateEntities"},packageVariables:{type:"string"}}}}}},responses:{"201":{$ref:"#/components/responses/PackageResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/createRelease":{"x-coa-private":!0,post:{description:"Add a new package release to an existing package.",operationId:"AddPackageRelease","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package release info.",required:!0,content:{"application/json":{schema:{type:"object",required:["release","entities","privacy","packageVariables","packageID"],properties:{release:{$ref:"#/components/schemas/PackageCreateReleaseInfo"},privacy:{type:"string",enum:["public","private","unlisted"]},entities:{$ref:"#/components/schemas/PackageCreateEntities"},packageVariables:{type:"string"},packageID:{type:"string",minLength:1}}}}}},responses:{"200":{$ref:"#/components/responses/PackageResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"409":{$ref:"#/components/responses/AlreadyExistsError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/packageRegistry/update":{"x-coa-private":!0,put:{description:"Update a package.",operationId:"UpdatePackage","x-eov-operation-handler":"PackagesHandlers",tags:["Packages"],requestBody:{description:"The package info to create with.",required:!0,content:{"application/json":{schema:{type:"object",required:["packageID","releaseID"],properties:{packageID:{type:"string",minLength:1},releaseID:{type:"string",minLength:1},changeLog:{type:"string"},description:{type:"string"},privacy:{type:"string",enum:["public","private","unlisted"]}}}}}},responses:{"200":{$ref:"#/components/responses/PackageUpdateResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/typesense/orgs/{orgID}/typesense-config":{summary:"Typesense Config","x-coa-private":!0,parameters:[{name:"orgID",description:"The organization ID.",in:"path",schema:{type:"string"},required:!0}],post:{description:"Returns Typesense configuration data for a given org.",operationId:"getTypesenseConfigForOrg","x-eov-operation-handler":"TypesenseHandlers",security:[{BearerAuth:[]}],tags:["CoalesceAPI"],responses:{"200":{$ref:"#/components/responses/TypesenseConfigurationResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs":{summary:"Runs","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Runs",description:"Get a collection of information about runs.",operationId:"GetRuns","x-eov-operation-handler":"RunHandlers","x-coa-command":"list",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"limit",description:"The maximum number of runs to return.",in:"query",schema:{type:"integer",minimum:0,maximum:1e3,default:25},required:!1},{name:"startingFrom",description:"The starting run ID, runStartTime, or runEndTime (exclusive) for paging the query results.",in:"query",allowReserved:!0,schema:{oneOf:[{type:"integer",minimum:0},{type:"string",format:"date-time"}]},required:!1},{name:"orderBy",description:"The field used to order results.",in:"query",schema:{$ref:"#/components/schemas/RunsOrderBy"},required:!1},{$ref:"#/components/parameters/orderByDirection"},{name:"runType",description:"A run type to filter the query results.",in:"query",schema:{$ref:"#/components/schemas/RunType"},required:!1},{name:"runStatus",description:"A status value to filter the query results.",in:"query",schema:{$ref:"#/components/schemas/RunStatus"},required:!1},{name:"environmentID",description:"An environment ID to filter the query results.",in:"query",schema:{type:"string"},required:!1},{name:"detail",description:"Include the full detail of the run.",in:"query",schema:{type:"boolean",default:!1},required:!1}],responses:{"200":{$ref:"#/components/responses/RunsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs/{runID}":{summary:"Run","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"Get Run",description:"Gets a single run.",operationId:"GetRun","x-eov-operation-handler":"RunHandlers","x-coa-command":"get",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"runID",description:"The run ID.",in:"path",schema:{type:"integer"},required:!0}],responses:{"200":{$ref:"#/components/responses/RunResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/runs/{runID}/results":{summary:"Run Results","x-coa-command-group":"runs",parameters:[{name:"overrideOrgID",description:"Runs an operation against the specified org. (Super-users only.)","x-coa-private":!0,in:"query",schema:{type:"string"},required:!1}],get:{summary:"List Run Results",description:"Get a collection of the results of a deploy or refresh run",operationId:"GetRunResults","x-eov-operation-handler":"RunHandlers","x-coa-command":"list-results",security:[{BearerAuth:[]}],tags:["Runs"],parameters:[{name:"runID",description:"The run ID.",in:"path",schema:{type:"integer"},required:!0}],responses:{"200":{$ref:"#/components/responses/RunResultsResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/database":{"x-coa-private":!0,get:{summary:"Get database connectivity information.",description:"Gets the information required to connect to the Coalesce database.",operationId:"GetDatabase","x-eov-operation-handler":"DatabaseHandlers",security:[],responses:{"200":{$ref:"#/components/responses/DatabaseInfoResponse"}}}},"/api/v1/secrets/{secretType}/{context}":{"x-coa-private":!0,get:{description:"Determines whether or not a git token value exists for a given project ID.",operationId:"SecretExists","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"200":{$ref:"#/components/responses/secretExists"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{description:"Upgrades a secret from secretType its upgrade target.",operationId:"UpgradeSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully upgraded a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},put:{description:"Sets the value of a secret.",operationId:"SetSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],requestBody:{description:"The new value of the secret.",required:!0,content:{"application/json":{schema:{type:"object",required:["secretValue"],properties:{secretValue:{}}}}}},responses:{"204":{description:"Successfully set the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a secret.",operationId:"DeleteSecret","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["Secrets"],parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully deleted the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/kill-job/{orgId}/{runId}":{"x-coa-private":!0,post:{description:"Deletes the Kubernetes job.",operationId:"KillJob","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"},{$ref:"#/components/parameters/runId"}],responses:{"204":{description:"Successfully killed the job."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag":{"x-coa-private":!0,get:{description:"Gets a report of all organizations that are using a non-standard coa image tag.",operationId:"GetCoaTagReport","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],responses:{"200":{$ref:"#/components/responses/CoaTagReportResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag/{orgId}":{"x-coa-private":!0,get:{description:"Gets the container image tag that should be used when running cloud coa jobs for a particular org.",operationId:"GetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"}],responses:{"200":{$ref:"#/components/responses/CoaTagResponse"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Resets the container image tag that should be used when running cloud coa jobs for a particular org to the default.",operationId:"ResetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"}],responses:{"204":{description:"Successfully reset coa tag."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/admin/coa-tag/{orgId}/{coaTag}":{"x-coa-private":!0,post:{description:"Sets the container image tag that should be used when running cloud coa jobs for a particular org.",operationId:"SetCoaTag","x-eov-operation-handler":"AdminHandlers",security:[{BearerAuth:[]}],tags:["Admin"],parameters:[{$ref:"#/components/parameters/orgId"},{$ref:"#/components/parameters/coaTag"}],responses:{"204":{description:"Successfully set coa tag."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/scheduler/secret/{secretType}/{context}":{"x-coa-private":!0,get:{description:"Determines whether or not a git token value exists for a given project ID.",operationId:"SecretExistsV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"200":{$ref:"#/components/responses/secretExists"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},post:{description:"Sets the value of a secret.",operationId:"SetSecretV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],requestBody:{description:"The new value of the secret.",required:!0,content:{"application/json":{schema:{type:"object",required:["secretValue"],properties:{secretValue:{}}}}}},responses:{"204":{description:"Successfully set the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}},delete:{description:"Deletes a secret.",operationId:"DeleteSecretV0","x-eov-operation-handler":"SecretHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!0,parameters:[{$ref:"#/components/parameters/secretType"},{$ref:"#/components/parameters/context"}],responses:{"204":{description:"Successfully deleted the value of a secret."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/bulkWrite":{"x-coa-private":!0,post:{description:"Updates multiple documents for a workspace.",operationId:"BulkWrite","x-eov-operation-handler":"BulkWriteHandlers",security:[{BearerAuth:[]}],tags:["BulkOperations"],deprecated:!1,requestBody:{description:"The workspace to update and the path to the storage bucket containing the document write information.",required:!0,content:{"application/json":{schema:{type:"object",required:["workspaceID","writeInfo"],properties:{workspaceID:{type:"number"},writeInfo:{type:"array",items:{$ref:"#/components/schemas/WriteInfo"}}}}}}},responses:{"204":{description:"Successfully wrote the documents to the workspace."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/validHostname":{"x-coa-private":!0,post:{description:"Validates the passed hostname and returns an authorized version.",operationId:"ValidateHostname","x-eov-operation-handler":"ValidateHostnameHandlers",tags:["default"],deprecated:!1,security:[],requestBody:{description:"The hostname that needs to be validated.",required:!0,content:{"application/json":{schema:{type:"object",required:["hostname"],properties:{hostname:{type:"string"}}}}}},responses:{"200":{$ref:"#/components/responses/ValidHostname"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/metrics":{"x-coa-private":!0,post:{description:"Submit a set of metrics",operationId:"SubmitMetrics","x-eov-operation-handler":"MetricsHandlers",security:[{BearerAuth:[]}],tags:["default"],deprecated:!1,requestBody:{description:"The metrics to submit",required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/MetricsRequest"}}}},responses:{"204":{description:"Submitted metrics"},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}},"/api/v1/multiFactorAuth/{userID}":{"x-coa-private":!0,parameters:[{name:"userID",description:"The user ID.",in:"path",schema:{type:"string"},required:!0}],delete:{description:"Deletes the MFA for a user in firebase auth",operationId:"RemoveMultiFactor","x-eov-operation-handler":"MultiFactorAuthHandlers",deprecated:!1,tags:["default"],security:[{BearerAuth:[]}],responses:{"204":{description:"User's MFA successfully deleted."},"400":{$ref:"#/components/responses/InvalidRequestError"},"401":{$ref:"#/components/responses/Unauthorized"},"403":{$ref:"#/components/responses/ForbiddenError"},"404":{$ref:"#/components/responses/NotFoundError"},"500":{$ref:"#/components/responses/InternalServerError"},"502":{$ref:"#/components/responses/BadGatewayError"},"503":{$ref:"#/components/responses/ServiceUnavailableError"},"504":{$ref:"#/components/responses/GatewayTimeoutError"}}}}}};var yJs=ht(require("os")),EJs=ht(require("path")),bJs=ht(mJs()),CJs=require("fs/promises");yi();lr();var IJs=r=>oo(r,t=>{t.snowflakePassword?.value&&(t.snowflakePassword.value="<REDACTED>"),t.token?.value&&(t.token.value="<REDACTED>"),t.snowflakeKeyPairKey?.value&&(t.snowflakeKeyPairKey.value="<REDACTED>")}),$W0=r=>oo(r,t=>{Object.keys(t).forEach(n=>{t[n]=IJs(r[n])})}),Lht=st.CLI_INTERNAL,OK=st.CLI,ZW0=()=>{let r=yJs.default.homedir(),t=EJs.default.join(r,".coa/config");return Lht.info("using default location",t),t},yT={profile:{value:"",description:"Profile To Use"},environmentID:{value:"",description:"Environment ID"},parameters:{value:"",description:"Parameters"},snowflakeAuthType:{value:"",description:"Snowflake Auth Type (Basic, KeyPair)"},snowflakeKeyPairPath:{value:"",description:"Snowflake Key Pair Path (deprecated, please use --snowflakeKeyPairKey)",deprecationMessage:"This option has been replaced by snowflakeKeyPairKey."},snowflakeKeyPairKey:{value:"",description:"Snowflake Key Pair Path"},snowflakeKeyPairPass:{value:"",description:"Snowflake Key Pair Pass"},snowflakePassword:{value:"",description:"Snowflake Password"},snowflakeRole:{value:"",description:"Snowflake Role"},snowflakeUsername:{value:"",description:"Snowflake Username"},snowflakeWarehouse:{value:"",description:"Snowflake Warehouse"},token:{value:"",description:"Coalesce Refresh Token"},jobID:{value:"",description:"Coalesce JobID"},include:{value:"",description:"Coalesce Node Selector"},exclude:{value:"",description:"Coalesce Node Selector"},parallelism:{value:"",description:"Parallelism level to use"},domain:{value:"",description:"Coalesce domain name to use for API requests",default:"https://app.coalescesoftware.io"}},eH0=async r=>{try{let t=await(0,CJs.readFile)(r??ZW0(),"utf-8"),n=bJs.default.parse(t);return Object.fromEntries(Object.entries(n).flatMap(([i,o])=>{if(!o||typeof o!="object")return OK.error(`Unexpected top-level option ${i} in config file.`),[];let s=Object.entries(o).flatMap(([a,l])=>yT[a]?!l||typeof l!="string"?(OK.error(`Expected profile ${i} field ${a} to be a string, but it is of type ${typeof o}.`),[]):(yT[a].deprecationMessage&&OK.error(`CLI profile ${i} is using deprecated option ${a}.`,yT[a].deprecationMessage),[[a,{...yT[a],value:l}]]):(OK.error("Ignoring unknown field",a,`in CLI profile ${i}.`),[]));return[[i,Object.fromEntries(s)]]}))}catch(t){if(r)throw new Error(`Unable to read cli profile: ${r}`);return OK.error("Using default options. Unable to read default cli profile:",r,". Error:",t),{}}},tH0=async(r,t)=>{let n=await eH0(t),i=n.default,o={};i&&(o=i);let s=r.profile?.value||i?.profile?.value||"";if(Lht.info("using profile",s,"cliProfiles",JSON.stringify($W0(n))),s){if(!(s in n))throw new Error(`Unable to find profile ${s}`);let a=n[s];o={...o,...a}}return o={...o,...r},o},rH0=r=>{if(r.snowflakeAuthType?.value==="Basic")return TDr.assert({snowflakeUsername:r.snowflakeUsername?.value,snowflakePassword:r.snowflakePassword?.value,snowflakeWarehouse:r.snowflakeWarehouse?.value,snowflakeRole:r.snowflakeRole?.value});if(r.snowflakeAuthType?.value==="KeyPair")return ODr.assert({snowflakeUsername:r.snowflakeUsername?.value,snowflakeKeyPairKey:r.snowflakeKeyPairKey?.value||r.snowflakeKeyPairPath?.value,snowflakeKeyPairPass:r.snowflakeKeyPairPass?.value||"",snowflakeWarehouse:r.snowflakeWarehouse?.value,snowflakeRole:r.snowflakeRole?.value});throw new Error(`SnowflakeAuthFromCLI: CLI config must have a valid credential type. Expected "Basic" or "KeyPair", got ${JSON.stringify(r.snowflakeAuthType?.value)}`)},vJs=async(r,t)=>{let n=await tH0(r,t);Lht.info("got final cli profile configFileLocation:",t,JSON.stringify(IJs(n)));let i;try{i=D_i(n,["token","environmentID"])}catch(l){throw typeof l=="object"&&l instanceof S$e&&Lht.error(`cliProfile was missing ${l.missingProperties}`),l}let o=i.domain?.value||process.env.SCHEDULER_ADDRESS||yT.domain.default,s={token:i.token.value,runDetails:{environmentID:i.environmentID.value,origin:"CLI"},userCredentials:rH0(i),runtimeParameters:i.parameters?.value||"",domain:new URL(o)};if(!s.domain)throw new Error("Unable to determine Coalesce domain.");let a=i.jobID?.value;if(a&&(s.runDetails.jobID=a),i.include?.value&&(s.runDetails.includeNodesSelector=i.include.value),i.exclude?.value&&(s.runDetails.excludeNodesSelector=i.exclude.value),i.parallelism?.value){let l=parseInt(i.parallelism.value);if(isNaN(l)){let c=`Parameter 'parallelism' was set to '${i.parallelism}', which could not be interpreted as a number`;throw Lht.error(c),new Error(c)}else s.runDetails.parallelism=l}return tC(s),s};TD();var dbe=ht(jy()),IPn=ht(require("util"));Ln();vfe();var _Js=require("fs/promises");yi();lr();var nH0=st.CLI,xJs=(r,t,n,i)=>{let o,s;return qce(n,void 0,i).then(a=>{let{teamInfo:l,firebase:c}=a;o=l.fbTeamID;let u=c.firestore();return s=parseInt(t),MKs(u,o,s)}).then(a=>{let l=gur.validate(a);l.valid||nH0.emergContext({orgID:o,runID:s},`Got an unexpected error deserializing run output ${l.failureMessage}`);let c=M_i(a);return(0,_Js.writeFile)(r,c+`
3629
3629
  `)})};j0();lr();var oH0=st.RUNNER_BACKEND,sH0=st.CLI_INTERNAL,pUe=async(r,t,n,i)=>{try{await r}finally{try{t&&(await Fwt(t),RYs())}catch(o){oH0.errorContext(n,`Error during ${i}WithCLI Finally firebase cleanup: `,o)}}},Uce=async r=>{if(r.platformKind==="databricks")return r.databricksAuthType==="Token"?{kind:"databricks",authenticator:"Token",token:r.token}:{kind:"databricks",authenticator:"Cloud"};let t=o=>{let s={user:o.snowflakeUsername,password:o.snowflakePassword,authenticator:"Basic",kind:"snowflake"};return o.snowflakeRole&&(s.role=o.snowflakeRole),o.snowflakeWarehouse&&(s.warehouse=o.snowflakeWarehouse),Promise.resolve(s)},n=async o=>{if(!o.snowflakeKeyPairKey)throw new Error("No private key was provided, cannot perform key pair authentication with Snowflake");let s=o.snowflakeKeyPairPass?new pc(o.snowflakeKeyPairPass):void 0,a=Zco(o.snowflakeKeyPairKey,s),l={user:o.snowflakeUsername,keyPairKey:a.sensitiveValue,keyPairPass:o.snowflakeKeyPairPass,authenticator:"KeyPair",kind:"snowflake"};return o.snowflakeRole&&(l.role=o.snowflakeRole),o.snowflakeWarehouse&&(l.warehouse=o.snowflakeWarehouse),l},i=async o=>({warehouse:o.snowflakeWarehouse,authenticator:"OAuth",kind:"snowflake"});return bZ(r,t,n,process.env.COALESCE_COA_CLOUD_JOB_ID!==void 0?i:void 0,async o=>V8n(o))},TJs=(r,t,n,i,o)=>t?(sH0.infoContext(r,"saving run results to file",t),xJs(t,n.toString(),i,o)):Promise.resolve();TD();yi();uc();lr();UG();var CPn=ht(cna()),cbe=async(r,t=!1)=>{let n=[{name:"userResponse",type:"confirm",message:r,default:t}],{userResponse:i}=await CPn.default.prompt(n);return i},dna=async(r,t)=>{let n=[{name:"userResponse",type:"input",message:r,default:t}],{userResponse:i}=await CPn.default.prompt(n);return i};var Ana=ht(require("fs"));py();lr();py();var yje=class extends It{constructor(t="Plan cancelled",n){super(t,n)}statusCode(){return 499}toString=()=>"Plan cancelled"};var pna=async(r,t,n,i,o)=>{let s={commit:{message:t},oid:""},a=!0;try{if(o)s.oid=o;else{let l=await rAn(r);if(!l)throw new It("Could not retrieve head commit of current branch");s.commit.message=l.commit.message,s.oid=l.oid;let c=await iAn(r,l.oid);c.length&&(a=await fna(c))}}catch(l){s.oid||st.CLI_INTERNAL.errorContext(i,"No head commit for current branch was found during CLI plan creation.",s,r,tht(n)),st.CLI_INTERNAL.errorContext(i,l)}if(!a)throw new yje;return s};var hna=async(r,t,n,i,o,s,a,l,c,u,d,p,f)=>{let A={fs:Ana.default,dir:t};await TKs(n,l);let h=await pna(A,i,a,u,f),y=l.firebase.firestore(),I=(await l.rootRepository.org(l.teamInfo.fbTeamID).fetch()).featureFlags,v=await zYs(a,u,I),T=()=>kVt(A,null,u,!0,!0,v.name,!0,d),S=()=>vz(y,l.teamInfo.fbTeamID,n,p,void 0,u),w=await _Ks(r,n,l.teamInfo.fbUserID,v,o,s,a,c,S,T,l.rootRepository,u,null);return w.plan.gitInfo=h,w};var DE=(r,t)=>(Object.keys(yT).forEach(n=>{if(!t||t.includes(n)){let i=yT[n];r.option(`--${n} <value>`,i.description,i.default)}}),r),R1d=r=>{let t={};return Object.keys(yT).forEach(n=>{if(r.getOptionValueSource(n)=="cli"){let o=yT[n].deprecationMessage;o&&Ao.error(`Deprecated CLI option --${n} was used.`,o),t[n]={value:`${r.getOptionValue(n)}`,default:yT[n].default,description:yT[n].default}}}),t},B1d=async r=>{let t=R1d(r),n=r.optsWithGlobals();Qu().isTest||ycr(n.debug,n.verbose);let i=n.changeLogLevel;if(i){let[u,d]=i.split(":");ns("CLI_INTERNAL",!!u,"loggingArea is required"),ns("CLI_INTERNAL",!!d,"logLevel is required"),aH.info("changing log level ",u,d),iTt(u,d),st.COMMON.debug("logging changed in coa")}let o=await vJs(t,n.config),s=await qce(o.token,void 0,o.domain),{teamInfo:{fbUserID:a,fbTeamID:l}}=s,c={orgID:l,workspaceID:+o.runDetails.environmentID,userID:a};return DG(c),{teamDetails:s,config:o,optsWithGlobals:n,logContext:c}},Nm=async(r,t,n,i)=>{aH.debug("Runtime environment",JSON.stringify(Qu(),void 0,2));let o=JA();try{let s=await B1d(r),{teamDetails:a,config:l,optsWithGlobals:c,logContext:u}=s;o=u,i||Ao.infoContext(u,dbe.default.whiteBright(`${t} initialized.`)+` ${dbe.default.green("running")}...`),await Ecr({userID:a.teamInfo?.fbUserID,orgID:a.teamInfo?.fbTeamID,logContext:u},()=>n(a,l,c,u)),i||Ao.infoContext(u,dbe.default.whiteBright(`${t} successful!`)),await af(0)}catch(s){if(s instanceof TK)throw s;if(s instanceof yje){Ao.info(dbe.default.redBright("Plan cancelled by user")),await af(0);return}aH.errorContext(o,`An error occurred during ${t}: ${IPn.default.inspect(s)}`),Ao.error(dbe.default.redBright(`An error occurred during ${t}:`,D1d(s))),await af(1)}},bje=(r,t)=>async(n,i,o,s)=>{let a=await r(n,i,o,s),{runCounter:l,runCompletion:c,logContext:u}=a;s=u||s,Ao.infoContext(s,dbe.default.whiteBright(`${t} run initialized. RunCounter: ${l}`));try{await c}finally{let d=o.out;await TJs(s,d,l,i.token,i.domain)}},fna=async r=>{let t=`You have uncommitted changes in this branch.
3630
3630
  ${r.map(n=>`
3631
3631
  File: ${n.name}, Status: ${n.status}`)}