@nsshunt/stsoauth2plugin 0.1.20 → 0.1.21

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.
@@ -1,6 +0,0 @@
1
- var x_=Object.defineProperty,F_=Object.defineProperties;var V_=Object.getOwnPropertyDescriptors;var Zs=Object.getOwnPropertySymbols;var K_=Object.prototype.hasOwnProperty,W_=Object.prototype.propertyIsEnumerable;var ht=(W,z,_e)=>z in W?x_(W,z,{enumerable:!0,configurable:!0,writable:!0,value:_e}):W[z]=_e,Q=(W,z)=>{for(var _e in z||(z={}))K_.call(z,_e)&&ht(W,_e,z[_e]);if(Zs)for(var _e of Zs(z))W_.call(z,_e)&&ht(W,_e,z[_e]);return W},ce=(W,z)=>F_(W,V_(z));var mo=(W,z,_e)=>(ht(W,typeof z!="symbol"?z+"":z,_e),_e),ea=(W,z,_e)=>{if(!z.has(W))throw TypeError("Cannot "+_e)};var v=(W,z,_e)=>(ea(W,z,"read from private field"),_e?_e.call(W):z.get(W)),J=(W,z,_e)=>{if(z.has(W))throw TypeError("Cannot add the same private member more than once");z instanceof WeakSet?z.add(W):z.set(W,_e)},M=(W,z,_e,Yn)=>(ea(W,z,"write to private field"),Yn?Yn.call(W,_e):z.set(W,_e),_e),na=(W,z,_e,Yn)=>({set _(Jn){M(W,z,Jn,_e)},get _(){return v(W,z,Yn)}});(function(W,z){typeof exports=="object"&&typeof module!="undefined"?z(exports,require("debug"),require("jwt-decode"),require("axios"),require("http-status-codes")):typeof define=="function"&&define.amd?define(["exports","debug","jwt-decode","axios","http-status-codes"],z):(W=typeof globalThis!="undefined"?globalThis:W||self,z(W.stsoauth2plugin={},W.Debug,W.jwt_decode,W.axios,W.httpStatusCodes))})(this,function(W,z,_e,Yn,Jn){var Xn,bn,Ho,$n,An,mr,pr,jn,Er,Uo,hn,fr,oo,So,Hn,ro,mn,Un,Po,pn,vo,Do,wo,Go,Ce,Sn,Co,Rr,Me,En,Pn,Xe,xn,Or,Qe,yo,Lo,Bo,to,ko,Mo,Xo;"use strict";function br(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Ar=br(z),mt=br(_e),Hr=br(Yn),sn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ke={},zo={};Object.defineProperty(zo,"__esModule",{value:!0}),zo.GetErrorPayload=void 0;function oa(e,n=null){return{error:e.code,error_description:e.description,timestamp:Date.now(),details:n}}zo.GetErrorPayload=oa;var qo={},Dn={},Ur={exports:{}},pt={},We={},zn={},po={},le={},Eo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;class n{}e._CodeOrName=n,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class o extends n{constructor(U){if(super(),!e.IDENTIFIER.test(U))throw new Error("CodeGen: name must be a valid identifier");this.str=U}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}e.Name=o;class r extends n{constructor(U){super(),this._items=typeof U=="string"?[U]:U}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const U=this._items[0];return U===""||U==='""'}get str(){var U;return(U=this._str)!==null&&U!==void 0?U:this._str=this._items.reduce((H,w)=>`${H}${w}`,"")}get names(){var U;return(U=this._names)!==null&&U!==void 0?U:this._names=this._items.reduce((H,w)=>(w instanceof o&&(H[w.str]=(H[w.str]||0)+1),H),{})}}e._Code=r,e.nil=new r("");function t(p,...U){const H=[p[0]];let w=0;for(;w<U.length;)c(H,U[w]),H.push(p[++w]);return new r(H)}e._=t;const s=new r("+");function u(p,...U){const H=[C(p[0])];let w=0;for(;w<U.length;)H.push(s),c(H,U[w]),H.push(s,C(p[++w]));return E(H),new r(H)}e.str=u;function c(p,U){U instanceof r?p.push(...U._items):U instanceof o?p.push(U):p.push(R(U))}e.addCodeArg=c;function E(p){let U=1;for(;U<p.length-1;){if(p[U]===s){const H=m(p[U-1],p[U+1]);if(H!==void 0){p.splice(U-1,3,H);continue}p[U++]="+"}U++}}function m(p,U){if(U==='""')return p;if(p==='""')return U;if(typeof p=="string")return U instanceof o||p[p.length-1]!=='"'?void 0:typeof U!="string"?`${p.slice(0,-1)}${U}"`:U[0]==='"'?p.slice(0,-1)+U.slice(1):void 0;if(typeof U=="string"&&U[0]==='"'&&!(p instanceof o))return`"${p}${U.slice(1)}`}function h(p,U){return U.emptyStr()?p:p.emptyStr()?U:u`${p}${U}`}e.strConcat=h;function R(p){return typeof p=="number"||typeof p=="boolean"||p===null?p:C(Array.isArray(p)?p.join(","):p)}function S(p){return new r(C(p))}e.stringify=S;function C(p){return JSON.stringify(p).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}e.safeStringify=C;function D(p){return typeof p=="string"&&e.IDENTIFIER.test(p)?new r(`.${p}`):t`[${p}]`}e.getProperty=D;function L(p){if(typeof p=="string"&&e.IDENTIFIER.test(p))return new r(`${p}`);throw new Error(`CodeGen: invalid export name: ${p}, use explicit $id name mapping`)}e.getEsmExportName=L;function b(p){return new r(p.toString())}e.regexpCode=b})(Eo);var Sr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;const n=Eo;class o extends Error{constructor(m){super(`CodeGen: "code" for ${m} not defined`),this.value=m.value}}var r;(function(E){E[E.Started=0]="Started",E[E.Completed=1]="Completed"})(r=e.UsedValueState||(e.UsedValueState={})),e.varKinds={const:new n.Name("const"),let:new n.Name("let"),var:new n.Name("var")};class t{constructor({prefixes:m,parent:h}={}){this._names={},this._prefixes=m,this._parent=h}toName(m){return m instanceof n.Name?m:this.name(m)}name(m){return new n.Name(this._newName(m))}_newName(m){const h=this._names[m]||this._nameGroup(m);return`${m}${h.index++}`}_nameGroup(m){var h,R;if(((R=(h=this._parent)===null||h===void 0?void 0:h._prefixes)===null||R===void 0?void 0:R.has(m))||this._prefixes&&!this._prefixes.has(m))throw new Error(`CodeGen: prefix "${m}" is not allowed in this scope`);return this._names[m]={prefix:m,index:0}}}e.Scope=t;class s extends n.Name{constructor(m,h){super(h),this.prefix=m}setValue(m,{property:h,itemIndex:R}){this.value=m,this.scopePath=(0,n._)`.${new n.Name(h)}[${R}]`}}e.ValueScopeName=s;const u=(0,n._)`\n`;class c extends t{constructor(m){super(m),this._values={},this._scope=m.scope,this.opts=ce(Q({},m),{_n:m.lines?u:n.nil})}get(){return this._scope}name(m){return new s(m,this._newName(m))}value(m,h){var R;if(h.ref===void 0)throw new Error("CodeGen: ref must be passed in value");const S=this.toName(m),{prefix:C}=S,D=(R=h.key)!==null&&R!==void 0?R:h.ref;let L=this._values[C];if(L){const U=L.get(D);if(U)return U}else L=this._values[C]=new Map;L.set(D,S);const b=this._scope[C]||(this._scope[C]=[]),p=b.length;return b[p]=h.ref,S.setValue(h,{property:C,itemIndex:p}),S}getValue(m,h){const R=this._values[m];if(!!R)return R.get(h)}scopeRefs(m,h=this._values){return this._reduceValues(h,R=>{if(R.scopePath===void 0)throw new Error(`CodeGen: name "${R}" has no value`);return(0,n._)`${m}${R.scopePath}`})}scopeCode(m=this._values,h,R){return this._reduceValues(m,S=>{if(S.value===void 0)throw new Error(`CodeGen: name "${S}" has no value`);return S.value.code},h,R)}_reduceValues(m,h,R={},S){let C=n.nil;for(const D in m){const L=m[D];if(!L)continue;const b=R[D]=R[D]||new Map;L.forEach(p=>{if(b.has(p))return;b.set(p,r.Started);let U=h(p);if(U){const H=this.opts.es5?e.varKinds.var:e.varKinds.const;C=(0,n._)`${C}${H} ${p} = ${U};${this.opts._n}`}else if(U=S==null?void 0:S(p))C=(0,n._)`${C}${U}${this.opts._n}`;else throw new o(p);b.set(p,r.Completed)})}return C}}e.ValueScope=c})(Sr),function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const n=Eo,o=Sr;var r=Eo;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return r.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return r.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return r.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}});var t=Sr;Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return t.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return t.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return t.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return t.varKinds}}),e.operators={GT:new n._Code(">"),GTE:new n._Code(">="),LT:new n._Code("<"),LTE:new n._Code("<="),EQ:new n._Code("==="),NEQ:new n._Code("!=="),NOT:new n._Code("!"),OR:new n._Code("||"),AND:new n._Code("&&"),ADD:new n._Code("+")};class s{optimizeNodes(){return this}optimizeNames(a,l){return this}}class u extends s{constructor(a,l,A){super(),this.varKind=a,this.name=l,this.rhs=A}render({es5:a,_n:l}){const A=a?o.varKinds.var:this.varKind,B=this.rhs===void 0?"":` = ${this.rhs}`;return`${A} ${this.name}${B};`+l}optimizeNames(a,l){if(!!a[this.name.str])return this.rhs&&(this.rhs=ne(this.rhs,a,l)),this}get names(){return this.rhs instanceof n._CodeOrName?this.rhs.names:{}}}class c extends s{constructor(a,l,A){super(),this.lhs=a,this.rhs=l,this.sideEffects=A}render({_n:a}){return`${this.lhs} = ${this.rhs};`+a}optimizeNames(a,l){if(!(this.lhs instanceof n.Name&&!a[this.lhs.str]&&!this.sideEffects))return this.rhs=ne(this.rhs,a,l),this}get names(){const a=this.lhs instanceof n.Name?{}:Q({},this.lhs.names);return ue(a,this.rhs)}}class E extends c{constructor(a,l,A,B){super(a,A,B),this.op=l}render({_n:a}){return`${this.lhs} ${this.op}= ${this.rhs};`+a}}class m extends s{constructor(a){super(),this.label=a,this.names={}}render({_n:a}){return`${this.label}:`+a}}class h extends s{constructor(a){super(),this.label=a,this.names={}}render({_n:a}){return`break${this.label?` ${this.label}`:""};`+a}}class R extends s{constructor(a){super(),this.error=a}render({_n:a}){return`throw ${this.error};`+a}get names(){return this.error.names}}class S extends s{constructor(a){super(),this.code=a}render({_n:a}){return`${this.code};`+a}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(a,l){return this.code=ne(this.code,a,l),this}get names(){return this.code instanceof n._CodeOrName?this.code.names:{}}}class C extends s{constructor(a=[]){super(),this.nodes=a}render(a){return this.nodes.reduce((l,A)=>l+A.render(a),"")}optimizeNodes(){const{nodes:a}=this;let l=a.length;for(;l--;){const A=a[l].optimizeNodes();Array.isArray(A)?a.splice(l,1,...A):A?a[l]=A:a.splice(l,1)}return a.length>0?this:void 0}optimizeNames(a,l){const{nodes:A}=this;let B=A.length;for(;B--;){const k=A[B];k.optimizeNames(a,l)||(fe(a,k.names),A.splice(B,1))}return A.length>0?this:void 0}get names(){return this.nodes.reduce((a,l)=>ee(a,l.names),{})}}class D extends C{render(a){return"{"+a._n+super.render(a)+"}"+a._n}}class L extends C{}class b extends D{}b.kind="else";class p extends D{constructor(a,l){super(l),this.condition=a}render(a){let l=`if(${this.condition})`+super.render(a);return this.else&&(l+="else "+this.else.render(a)),l}optimizeNodes(){super.optimizeNodes();const a=this.condition;if(a===!0)return this.nodes;let l=this.else;if(l){const A=l.optimizeNodes();l=this.else=Array.isArray(A)?new b(A):A}if(l)return a===!1?l instanceof p?l:l.nodes:this.nodes.length?this:new p(Te(a),l instanceof p?[l]:l.nodes);if(!(a===!1||!this.nodes.length))return this}optimizeNames(a,l){var A;if(this.else=(A=this.else)===null||A===void 0?void 0:A.optimizeNames(a,l),!!(super.optimizeNames(a,l)||this.else))return this.condition=ne(this.condition,a,l),this}get names(){const a=super.names;return ue(a,this.condition),this.else&&ee(a,this.else.names),a}}p.kind="if";class U extends D{}U.kind="for";class H extends U{constructor(a){super(),this.iteration=a}render(a){return`for(${this.iteration})`+super.render(a)}optimizeNames(a,l){if(!!super.optimizeNames(a,l))return this.iteration=ne(this.iteration,a,l),this}get names(){return ee(super.names,this.iteration.names)}}class w extends U{constructor(a,l,A,B){super(),this.varKind=a,this.name=l,this.from=A,this.to=B}render(a){const l=a.es5?o.varKinds.var:this.varKind,{name:A,from:B,to:k}=this;return`for(${l} ${A}=${B}; ${A}<${k}; ${A}++)`+super.render(a)}get names(){const a=ue(super.names,this.from);return ue(a,this.to)}}class F extends U{constructor(a,l,A,B){super(),this.loop=a,this.varKind=l,this.name=A,this.iterable=B}render(a){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(a)}optimizeNames(a,l){if(!!super.optimizeNames(a,l))return this.iterable=ne(this.iterable,a,l),this}get names(){return ee(super.names,this.iterable.names)}}class N extends D{constructor(a,l,A){super(),this.name=a,this.args=l,this.async=A}render(a){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(a)}}N.kind="func";class I extends C{render(a){return"return "+super.render(a)}}I.kind="return";class G extends D{render(a){let l="try"+super.render(a);return this.catch&&(l+=this.catch.render(a)),this.finally&&(l+=this.finally.render(a)),l}optimizeNodes(){var a,l;return super.optimizeNodes(),(a=this.catch)===null||a===void 0||a.optimizeNodes(),(l=this.finally)===null||l===void 0||l.optimizeNodes(),this}optimizeNames(a,l){var A,B;return super.optimizeNames(a,l),(A=this.catch)===null||A===void 0||A.optimizeNames(a,l),(B=this.finally)===null||B===void 0||B.optimizeNames(a,l),this}get names(){const a=super.names;return this.catch&&ee(a,this.catch.names),this.finally&&ee(a,this.finally.names),a}}class V extends D{constructor(a){super(),this.error=a}render(a){return`catch(${this.error})`+super.render(a)}}V.kind="catch";class q extends D{render(a){return"finally"+super.render(a)}}q.kind="finally";class pe{constructor(a,l={}){this._values={},this._blockStarts=[],this._constants={},this.opts=ce(Q({},l),{_n:l.lines?`
2
- `:""}),this._extScope=a,this._scope=new o.Scope({parent:a}),this._nodes=[new L]}toString(){return this._root.render(this.opts)}name(a){return this._scope.name(a)}scopeName(a){return this._extScope.name(a)}scopeValue(a,l){const A=this._extScope.value(a,l);return(this._values[A.prefix]||(this._values[A.prefix]=new Set)).add(A),A}getScopeValue(a,l){return this._extScope.getValue(a,l)}scopeRefs(a){return this._extScope.scopeRefs(a,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(a,l,A,B){const k=this._scope.toName(l);return A!==void 0&&B&&(this._constants[k.str]=A),this._leafNode(new u(a,k,A)),k}const(a,l,A){return this._def(o.varKinds.const,a,l,A)}let(a,l,A){return this._def(o.varKinds.let,a,l,A)}var(a,l,A){return this._def(o.varKinds.var,a,l,A)}assign(a,l,A){return this._leafNode(new c(a,l,A))}add(a,l){return this._leafNode(new E(a,e.operators.ADD,l))}code(a){return typeof a=="function"?a():a!==n.nil&&this._leafNode(new S(a)),this}object(...a){const l=["{"];for(const[A,B]of a)l.length>1&&l.push(","),l.push(A),(A!==B||this.opts.es5)&&(l.push(":"),(0,n.addCodeArg)(l,B));return l.push("}"),new n._Code(l)}if(a,l,A){if(this._blockNode(new p(a)),l&&A)this.code(l).else().code(A).endIf();else if(l)this.code(l).endIf();else if(A)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(a){return this._elseNode(new p(a))}else(){return this._elseNode(new b)}endIf(){return this._endBlockNode(p,b)}_for(a,l){return this._blockNode(a),l&&this.code(l).endFor(),this}for(a,l){return this._for(new H(a),l)}forRange(a,l,A,B,k=this.opts.es5?o.varKinds.var:o.varKinds.let){const oe=this._scope.toName(a);return this._for(new w(k,oe,l,A),()=>B(oe))}forOf(a,l,A,B=o.varKinds.const){const k=this._scope.toName(a);if(this.opts.es5){const oe=l instanceof n.Name?l:this.var("_arr",l);return this.forRange("_i",0,(0,n._)`${oe}.length`,se=>{this.var(k,(0,n._)`${oe}[${se}]`),A(k)})}return this._for(new F("of",B,k,l),()=>A(k))}forIn(a,l,A,B=this.opts.es5?o.varKinds.var:o.varKinds.const){if(this.opts.ownProperties)return this.forOf(a,(0,n._)`Object.keys(${l})`,A);const k=this._scope.toName(a);return this._for(new F("in",B,k,l),()=>A(k))}endFor(){return this._endBlockNode(U)}label(a){return this._leafNode(new m(a))}break(a){return this._leafNode(new h(a))}return(a){const l=new I;if(this._blockNode(l),this.code(a),l.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(I)}try(a,l,A){if(!l&&!A)throw new Error('CodeGen: "try" without "catch" and "finally"');const B=new G;if(this._blockNode(B),this.code(a),l){const k=this.name("e");this._currNode=B.catch=new V(k),l(k)}return A&&(this._currNode=B.finally=new q,this.code(A)),this._endBlockNode(V,q)}throw(a){return this._leafNode(new R(a))}block(a,l){return this._blockStarts.push(this._nodes.length),a&&this.code(a).endBlock(l),this}endBlock(a){const l=this._blockStarts.pop();if(l===void 0)throw new Error("CodeGen: not in self-balancing block");const A=this._nodes.length-l;if(A<0||a!==void 0&&A!==a)throw new Error(`CodeGen: wrong number of nodes: ${A} vs ${a} expected`);return this._nodes.length=l,this}func(a,l=n.nil,A,B){return this._blockNode(new N(a,l,A)),B&&this.code(B).endFunc(),this}endFunc(){return this._endBlockNode(N)}optimize(a=1){for(;a-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(a){return this._currNode.nodes.push(a),this}_blockNode(a){this._currNode.nodes.push(a),this._nodes.push(a)}_endBlockNode(a,l){const A=this._currNode;if(A instanceof a||l&&A instanceof l)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${l?`${a.kind}/${l.kind}`:a.kind}"`)}_elseNode(a){const l=this._currNode;if(!(l instanceof p))throw new Error('CodeGen: "else" without "if"');return this._currNode=l.else=a,this}get _root(){return this._nodes[0]}get _currNode(){const a=this._nodes;return a[a.length-1]}set _currNode(a){const l=this._nodes;l[l.length-1]=a}}e.CodeGen=pe;function ee(O,a){for(const l in a)O[l]=(O[l]||0)+(a[l]||0);return O}function ue(O,a){return a instanceof n._CodeOrName?ee(O,a.names):O}function ne(O,a,l){if(O instanceof n.Name)return A(O);if(!B(O))return O;return new n._Code(O._items.reduce((k,oe)=>(oe instanceof n.Name&&(oe=A(oe)),oe instanceof n._Code?k.push(...oe._items):k.push(oe),k),[]));function A(k){const oe=l[k.str];return oe===void 0||a[k.str]!==1?k:(delete a[k.str],oe)}function B(k){return k instanceof n._Code&&k._items.some(oe=>oe instanceof n.Name&&a[oe.str]===1&&l[oe.str]!==void 0)}}function fe(O,a){for(const l in a)O[l]=(O[l]||0)-(a[l]||0)}function Te(O){return typeof O=="boolean"||typeof O=="number"||O===null?!O:(0,n._)`!${P(O)}`}e.not=Te;const He=f(e.operators.AND);function $e(...O){return O.reduce(He)}e.and=$e;const so=f(e.operators.OR);function y(...O){return O.reduce(so)}e.or=y;function f(O){return(a,l)=>a===n.nil?l:l===n.nil?a:(0,n._)`${P(a)} ${O} ${P(l)}`}function P(O){return O instanceof n.Name?O:(0,n._)`(${O})`}}(le);var Ae={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;const n=le,o=Eo;function r(N){const I={};for(const G of N)I[G]=!0;return I}e.toHash=r;function t(N,I){return typeof I=="boolean"?I:Object.keys(I).length===0?!0:(s(N,I),!u(I,N.self.RULES.all))}e.alwaysValidSchema=t;function s(N,I=N.schema){const{opts:G,self:V}=N;if(!G.strictSchema||typeof I=="boolean")return;const q=V.RULES.keywords;for(const pe in I)q[pe]||F(N,`unknown keyword: "${pe}"`)}e.checkUnknownRules=s;function u(N,I){if(typeof N=="boolean")return!N;for(const G in N)if(I[G])return!0;return!1}e.schemaHasRules=u;function c(N,I){if(typeof N=="boolean")return!N;for(const G in N)if(G!=="$ref"&&I.all[G])return!0;return!1}e.schemaHasRulesButRef=c;function E({topSchemaRef:N,schemaPath:I},G,V,q){if(!q){if(typeof G=="number"||typeof G=="boolean")return G;if(typeof G=="string")return(0,n._)`${G}`}return(0,n._)`${N}${I}${(0,n.getProperty)(V)}`}e.schemaRefOrVal=E;function m(N){return S(decodeURIComponent(N))}e.unescapeFragment=m;function h(N){return encodeURIComponent(R(N))}e.escapeFragment=h;function R(N){return typeof N=="number"?`${N}`:N.replace(/~/g,"~0").replace(/\//g,"~1")}e.escapeJsonPointer=R;function S(N){return N.replace(/~1/g,"/").replace(/~0/g,"~")}e.unescapeJsonPointer=S;function C(N,I){if(Array.isArray(N))for(const G of N)I(G);else I(N)}e.eachItem=C;function D({mergeNames:N,mergeToName:I,mergeValues:G,resultToName:V}){return(q,pe,ee,ue)=>{const ne=ee===void 0?pe:ee instanceof n.Name?(pe instanceof n.Name?N(q,pe,ee):I(q,pe,ee),ee):pe instanceof n.Name?(I(q,ee,pe),pe):G(pe,ee);return ue===n.Name&&!(ne instanceof n.Name)?V(q,ne):ne}}e.mergeEvaluated={props:D({mergeNames:(N,I,G)=>N.if((0,n._)`${G} !== true && ${I} !== undefined`,()=>{N.if((0,n._)`${I} === true`,()=>N.assign(G,!0),()=>N.assign(G,(0,n._)`${G} || {}`).code((0,n._)`Object.assign(${G}, ${I})`))}),mergeToName:(N,I,G)=>N.if((0,n._)`${G} !== true`,()=>{I===!0?N.assign(G,!0):(N.assign(G,(0,n._)`${G} || {}`),b(N,G,I))}),mergeValues:(N,I)=>N===!0?!0:Q(Q({},N),I),resultToName:L}),items:D({mergeNames:(N,I,G)=>N.if((0,n._)`${G} !== true && ${I} !== undefined`,()=>N.assign(G,(0,n._)`${I} === true ? true : ${G} > ${I} ? ${G} : ${I}`)),mergeToName:(N,I,G)=>N.if((0,n._)`${G} !== true`,()=>N.assign(G,I===!0?!0:(0,n._)`${G} > ${I} ? ${G} : ${I}`)),mergeValues:(N,I)=>N===!0?!0:Math.max(N,I),resultToName:(N,I)=>N.var("items",I)})};function L(N,I){if(I===!0)return N.var("props",!0);const G=N.var("props",(0,n._)`{}`);return I!==void 0&&b(N,G,I),G}e.evaluatedPropsToName=L;function b(N,I,G){Object.keys(G).forEach(V=>N.assign((0,n._)`${I}${(0,n.getProperty)(V)}`,!0))}e.setEvaluated=b;const p={};function U(N,I){return N.scopeValue("func",{ref:I,code:p[I.code]||(p[I.code]=new o._Code(I.code))})}e.useFunc=U;var H;(function(N){N[N.Num=0]="Num",N[N.Str=1]="Str"})(H=e.Type||(e.Type={}));function w(N,I,G){if(N instanceof n.Name){const V=I===H.Num;return G?V?(0,n._)`"[" + ${N} + "]"`:(0,n._)`"['" + ${N} + "']"`:V?(0,n._)`"/" + ${N}`:(0,n._)`"/" + ${N}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return G?(0,n.getProperty)(N).toString():"/"+R(N)}e.getErrorPath=w;function F(N,I,G=N.opts.strictSchema){if(!!G){if(I=`strict mode: ${I}`,G===!0)throw new Error(I);N.self.logger.warn(I)}}e.checkStrictMode=F})(Ae);var Le={};Object.defineProperty(Le,"__esModule",{value:!0});const Se=le,ra={data:new Se.Name("data"),valCxt:new Se.Name("valCxt"),instancePath:new Se.Name("instancePath"),parentData:new Se.Name("parentData"),parentDataProperty:new Se.Name("parentDataProperty"),rootData:new Se.Name("rootData"),dynamicAnchors:new Se.Name("dynamicAnchors"),vErrors:new Se.Name("vErrors"),errors:new Se.Name("errors"),this:new Se.Name("this"),self:new Se.Name("self"),scope:new Se.Name("scope"),json:new Se.Name("json"),jsonPos:new Se.Name("jsonPos"),jsonLen:new Se.Name("jsonLen"),jsonPart:new Se.Name("jsonPart")};Le.default=ra,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const n=le,o=Ae,r=Le;e.keywordError={message:({keyword:b})=>(0,n.str)`must pass "${b}" keyword validation`},e.keyword$DataError={message:({keyword:b,schemaType:p})=>p?(0,n.str)`"${b}" keyword must be ${p} ($data)`:(0,n.str)`"${b}" keyword is invalid ($data)`};function t(b,p=e.keywordError,U,H){const{it:w}=b,{gen:F,compositeRule:N,allErrors:I}=w,G=R(b,p,U);(H!=null?H:N||I)?E(F,G):m(w,(0,n._)`[${G}]`)}e.reportError=t;function s(b,p=e.keywordError,U){const{it:H}=b,{gen:w,compositeRule:F,allErrors:N}=H,I=R(b,p,U);E(w,I),F||N||m(H,r.default.vErrors)}e.reportExtraError=s;function u(b,p){b.assign(r.default.errors,p),b.if((0,n._)`${r.default.vErrors} !== null`,()=>b.if(p,()=>b.assign((0,n._)`${r.default.vErrors}.length`,p),()=>b.assign(r.default.vErrors,null)))}e.resetErrorsCount=u;function c({gen:b,keyword:p,schemaValue:U,data:H,errsCount:w,it:F}){if(w===void 0)throw new Error("ajv implementation error");const N=b.name("err");b.forRange("i",w,r.default.errors,I=>{b.const(N,(0,n._)`${r.default.vErrors}[${I}]`),b.if((0,n._)`${N}.instancePath === undefined`,()=>b.assign((0,n._)`${N}.instancePath`,(0,n.strConcat)(r.default.instancePath,F.errorPath))),b.assign((0,n._)`${N}.schemaPath`,(0,n.str)`${F.errSchemaPath}/${p}`),F.opts.verbose&&(b.assign((0,n._)`${N}.schema`,U),b.assign((0,n._)`${N}.data`,H))})}e.extendErrors=c;function E(b,p){const U=b.const("err",p);b.if((0,n._)`${r.default.vErrors} === null`,()=>b.assign(r.default.vErrors,(0,n._)`[${U}]`),(0,n._)`${r.default.vErrors}.push(${U})`),b.code((0,n._)`${r.default.errors}++`)}function m(b,p){const{gen:U,validateName:H,schemaEnv:w}=b;w.$async?U.throw((0,n._)`new ${b.ValidationError}(${p})`):(U.assign((0,n._)`${H}.errors`,p),U.return(!1))}const h={keyword:new n.Name("keyword"),schemaPath:new n.Name("schemaPath"),params:new n.Name("params"),propertyName:new n.Name("propertyName"),message:new n.Name("message"),schema:new n.Name("schema"),parentSchema:new n.Name("parentSchema")};function R(b,p,U){const{createErrors:H}=b.it;return H===!1?(0,n._)`{}`:S(b,p,U)}function S(b,p,U={}){const{gen:H,it:w}=b,F=[C(w,U),D(b,U)];return L(b,p,F),H.object(...F)}function C({errorPath:b},{instancePath:p}){const U=p?(0,n.str)`${b}${(0,o.getErrorPath)(p,o.Type.Str)}`:b;return[r.default.instancePath,(0,n.strConcat)(r.default.instancePath,U)]}function D({keyword:b,it:{errSchemaPath:p}},{schemaPath:U,parentSchema:H}){let w=H?p:(0,n.str)`${p}/${b}`;return U&&(w=(0,n.str)`${w}${(0,o.getErrorPath)(U,o.Type.Str)}`),[h.schemaPath,w]}function L(b,{params:p,message:U},H){const{keyword:w,data:F,schemaValue:N,it:I}=b,{opts:G,propertyName:V,topSchemaRef:q,schemaPath:pe}=I;H.push([h.keyword,w],[h.params,typeof p=="function"?p(b):p||(0,n._)`{}`]),G.messages&&H.push([h.message,typeof U=="function"?U(b):U]),G.verbose&&H.push([h.schema,N],[h.parentSchema,(0,n._)`${q}${pe}`],[r.default.data,F]),V&&H.push([h.propertyName,V])}}(po),Object.defineProperty(zn,"__esModule",{value:!0}),zn.boolOrEmptySchema=zn.topBoolOrEmptySchema=void 0;const ta=po,sa=le,aa=Le,ia={message:"boolean schema is false"};function ua(e){const{gen:n,schema:o,validateName:r}=e;o===!1?Et(e,!1):typeof o=="object"&&o.$async===!0?n.return(aa.default.data):(n.assign((0,sa._)`${r}.errors`,null),n.return(!0))}zn.topBoolOrEmptySchema=ua;function _a(e,n){const{gen:o,schema:r}=e;r===!1?(o.var(n,!1),Et(e)):o.var(n,!0)}zn.boolOrEmptySchema=_a;function Et(e,n){const{gen:o,data:r}=e,t={gen:o,keyword:"false schema",data:r,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,ta.reportError)(t,ia,void 0,n)}var Qo={},wn={};Object.defineProperty(wn,"__esModule",{value:!0}),wn.getRules=wn.isJSONType=void 0;const la=["string","number","integer","boolean","null","object","array"],ca=new Set(la);function da(e){return typeof e=="string"&&ca.has(e)}wn.isJSONType=da;function ha(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:ce(Q({},e),{integer:!0,boolean:!0,null:!0}),rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}wn.getRules=ha;var an={};Object.defineProperty(an,"__esModule",{value:!0}),an.shouldUseRule=an.shouldUseGroup=an.schemaHasRulesForType=void 0;function ma({schema:e,self:n},o){const r=n.RULES.types[o];return r&&r!==!0&&ft(e,r)}an.schemaHasRulesForType=ma;function ft(e,n){return n.rules.some(o=>Rt(e,o))}an.shouldUseGroup=ft;function Rt(e,n){var o;return e[n.keyword]!==void 0||((o=n.definition.implements)===null||o===void 0?void 0:o.some(r=>e[r]!==void 0))}an.shouldUseRule=Rt,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;const n=wn,o=an,r=po,t=le,s=Ae;var u;(function(H){H[H.Correct=0]="Correct",H[H.Wrong=1]="Wrong"})(u=e.DataType||(e.DataType={}));function c(H){const w=E(H.type);if(w.includes("null")){if(H.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!w.length&&H.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');H.nullable===!0&&w.push("null")}return w}e.getSchemaTypes=c;function E(H){const w=Array.isArray(H)?H:H?[H]:[];if(w.every(n.isJSONType))return w;throw new Error("type must be JSONType or JSONType[]: "+w.join(","))}e.getJSONTypes=E;function m(H,w){const{gen:F,data:N,opts:I}=H,G=R(w,I.coerceTypes),V=w.length>0&&!(G.length===0&&w.length===1&&(0,o.schemaHasRulesForType)(H,w[0]));if(V){const q=L(w,N,I.strictNumbers,u.Wrong);F.if(q,()=>{G.length?S(H,w,G):p(H)})}return V}e.coerceAndCheckDataType=m;const h=new Set(["string","number","integer","boolean","null"]);function R(H,w){return w?H.filter(F=>h.has(F)||w==="array"&&F==="array"):[]}function S(H,w,F){const{gen:N,data:I,opts:G}=H,V=N.let("dataType",(0,t._)`typeof ${I}`),q=N.let("coerced",(0,t._)`undefined`);G.coerceTypes==="array"&&N.if((0,t._)`${V} == 'object' && Array.isArray(${I}) && ${I}.length == 1`,()=>N.assign(I,(0,t._)`${I}[0]`).assign(V,(0,t._)`typeof ${I}`).if(L(w,I,G.strictNumbers),()=>N.assign(q,I))),N.if((0,t._)`${q} !== undefined`);for(const ee of F)(h.has(ee)||ee==="array"&&G.coerceTypes==="array")&&pe(ee);N.else(),p(H),N.endIf(),N.if((0,t._)`${q} !== undefined`,()=>{N.assign(I,q),C(H,q)});function pe(ee){switch(ee){case"string":N.elseIf((0,t._)`${V} == "number" || ${V} == "boolean"`).assign(q,(0,t._)`"" + ${I}`).elseIf((0,t._)`${I} === null`).assign(q,(0,t._)`""`);return;case"number":N.elseIf((0,t._)`${V} == "boolean" || ${I} === null
3
- || (${V} == "string" && ${I} && ${I} == +${I})`).assign(q,(0,t._)`+${I}`);return;case"integer":N.elseIf((0,t._)`${V} === "boolean" || ${I} === null
4
- || (${V} === "string" && ${I} && ${I} == +${I} && !(${I} % 1))`).assign(q,(0,t._)`+${I}`);return;case"boolean":N.elseIf((0,t._)`${I} === "false" || ${I} === 0 || ${I} === null`).assign(q,!1).elseIf((0,t._)`${I} === "true" || ${I} === 1`).assign(q,!0);return;case"null":N.elseIf((0,t._)`${I} === "" || ${I} === 0 || ${I} === false`),N.assign(q,null);return;case"array":N.elseIf((0,t._)`${V} === "string" || ${V} === "number"
5
- || ${V} === "boolean" || ${I} === null`).assign(q,(0,t._)`[${I}]`)}}}function C({gen:H,parentData:w,parentDataProperty:F},N){H.if((0,t._)`${w} !== undefined`,()=>H.assign((0,t._)`${w}[${F}]`,N))}function D(H,w,F,N=u.Correct){const I=N===u.Correct?t.operators.EQ:t.operators.NEQ;let G;switch(H){case"null":return(0,t._)`${w} ${I} null`;case"array":G=(0,t._)`Array.isArray(${w})`;break;case"object":G=(0,t._)`${w} && typeof ${w} == "object" && !Array.isArray(${w})`;break;case"integer":G=V((0,t._)`!(${w} % 1) && !isNaN(${w})`);break;case"number":G=V();break;default:return(0,t._)`typeof ${w} ${I} ${H}`}return N===u.Correct?G:(0,t.not)(G);function V(q=t.nil){return(0,t.and)((0,t._)`typeof ${w} == "number"`,q,F?(0,t._)`isFinite(${w})`:t.nil)}}e.checkDataType=D;function L(H,w,F,N){if(H.length===1)return D(H[0],w,F,N);let I;const G=(0,s.toHash)(H);if(G.array&&G.object){const V=(0,t._)`typeof ${w} != "object"`;I=G.null?V:(0,t._)`!${w} || ${V}`,delete G.null,delete G.array,delete G.object}else I=t.nil;G.number&&delete G.integer;for(const V in G)I=(0,t.and)(I,D(V,w,F,N));return I}e.checkDataTypes=L;const b={message:({schema:H})=>`must be ${H}`,params:({schema:H,schemaValue:w})=>typeof H=="string"?(0,t._)`{type: ${H}}`:(0,t._)`{type: ${w}}`};function p(H){const w=U(H);(0,r.reportError)(w,b)}e.reportTypeError=p;function U(H){const{gen:w,data:F,schema:N}=H,I=(0,s.schemaRefOrVal)(H,N,"type");return{gen:w,keyword:"type",data:F,schema:N.type,schemaCode:I,schemaValue:I,parentSchema:N,params:{},it:H}}}(Qo);var Zo={};Object.defineProperty(Zo,"__esModule",{value:!0}),Zo.assignDefaults=void 0;const qn=le,pa=Ae;function Ea(e,n){const{properties:o,items:r}=e.schema;if(n==="object"&&o)for(const t in o)Ot(e,t,o[t].default);else n==="array"&&Array.isArray(r)&&r.forEach((t,s)=>Ot(e,s,t.default))}Zo.assignDefaults=Ea;function Ot(e,n,o){const{gen:r,compositeRule:t,data:s,opts:u}=e;if(o===void 0)return;const c=(0,qn._)`${s}${(0,qn.getProperty)(n)}`;if(t){(0,pa.checkStrictMode)(e,`default is ignored for: ${c}`);return}let E=(0,qn._)`${c} === undefined`;u.useDefaults==="empty"&&(E=(0,qn._)`${E} || ${c} === null || ${c} === ""`),r.if(E,(0,qn._)`${c} = ${(0,qn.stringify)(o)}`)}var Ye={},ae={};Object.defineProperty(ae,"__esModule",{value:!0}),ae.validateUnion=ae.validateArray=ae.usePattern=ae.callValidateCode=ae.schemaProperties=ae.allSchemaProperties=ae.noPropertyInData=ae.propertyInData=ae.isOwnProperty=ae.hasPropFunc=ae.reportMissingProp=ae.checkMissingProp=ae.checkReportMissingProp=void 0;const he=le,Pr=Ae,Rn=Le,fa=Ae;function Ra(e,n){const{gen:o,data:r,it:t}=e;o.if(Dr(o,r,n,t.opts.ownProperties),()=>{e.setParams({missingProperty:(0,he._)`${n}`},!0),e.error()})}ae.checkReportMissingProp=Ra;function Oa({gen:e,data:n,it:{opts:o}},r,t){return(0,he.or)(...r.map(s=>(0,he.and)(Dr(e,n,s,o.ownProperties),(0,he._)`${t} = ${s}`)))}ae.checkMissingProp=Oa;function Ta(e,n){e.setParams({missingProperty:n},!0),e.error()}ae.reportMissingProp=Ta;function Tt(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,he._)`Object.prototype.hasOwnProperty`})}ae.hasPropFunc=Tt;function vr(e,n,o){return(0,he._)`${Tt(e)}.call(${n}, ${o})`}ae.isOwnProperty=vr;function ga(e,n,o,r){const t=(0,he._)`${n}${(0,he.getProperty)(o)} !== undefined`;return r?(0,he._)`${t} && ${vr(e,n,o)}`:t}ae.propertyInData=ga;function Dr(e,n,o,r){const t=(0,he._)`${n}${(0,he.getProperty)(o)} === undefined`;return r?(0,he.or)(t,(0,he.not)(vr(e,n,o))):t}ae.noPropertyInData=Dr;function gt(e){return e?Object.keys(e).filter(n=>n!=="__proto__"):[]}ae.allSchemaProperties=gt;function Na(e,n){return gt(n).filter(o=>!(0,Pr.alwaysValidSchema)(e,n[o]))}ae.schemaProperties=Na;function Ia({schemaCode:e,data:n,it:{gen:o,topSchemaRef:r,schemaPath:t,errorPath:s},it:u},c,E,m){const h=m?(0,he._)`${e}, ${n}, ${r}${t}`:n,R=[[Rn.default.instancePath,(0,he.strConcat)(Rn.default.instancePath,s)],[Rn.default.parentData,u.parentData],[Rn.default.parentDataProperty,u.parentDataProperty],[Rn.default.rootData,Rn.default.rootData]];u.opts.dynamicRef&&R.push([Rn.default.dynamicAnchors,Rn.default.dynamicAnchors]);const S=(0,he._)`${h}, ${o.object(...R)}`;return E!==he.nil?(0,he._)`${c}.call(${E}, ${S})`:(0,he._)`${c}(${S})`}ae.callValidateCode=Ia;const ba=(0,he._)`new RegExp`;function Aa({gen:e,it:{opts:n}},o){const r=n.unicodeRegExp?"u":"",{regExp:t}=n.code,s=t(o,r);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:(0,he._)`${t.code==="new RegExp"?ba:(0,fa.useFunc)(e,t)}(${o}, ${r})`})}ae.usePattern=Aa;function Ha(e){const{gen:n,data:o,keyword:r,it:t}=e,s=n.name("valid");if(t.allErrors){const c=n.let("valid",!0);return u(()=>n.assign(c,!1)),c}return n.var(s,!0),u(()=>n.break()),s;function u(c){const E=n.const("len",(0,he._)`${o}.length`);n.forRange("i",0,E,m=>{e.subschema({keyword:r,dataProp:m,dataPropType:Pr.Type.Num},s),n.if((0,he.not)(s),c)})}}ae.validateArray=Ha;function Ua(e){const{gen:n,schema:o,keyword:r,it:t}=e;if(!Array.isArray(o))throw new Error("ajv implementation error");if(o.some(E=>(0,Pr.alwaysValidSchema)(t,E))&&!t.opts.unevaluated)return;const u=n.let("valid",!1),c=n.name("_valid");n.block(()=>o.forEach((E,m)=>{const h=e.subschema({keyword:r,schemaProp:m,compositeRule:!0},c);n.assign(u,(0,he._)`${u} || ${c}`),e.mergeValidEvaluated(h,c)||n.if((0,he.not)(u))})),e.result(u,()=>e.reset(),()=>e.error(!0))}ae.validateUnion=Ua,Object.defineProperty(Ye,"__esModule",{value:!0}),Ye.validateKeywordUsage=Ye.validSchemaType=Ye.funcKeywordCode=Ye.macroKeywordCode=void 0;const ve=le,Gn=Le,Sa=ae,Pa=po;function va(e,n){const{gen:o,keyword:r,schema:t,parentSchema:s,it:u}=e,c=n.macro.call(u.self,t,s,u),E=It(o,r,c);u.opts.validateSchema!==!1&&u.self.validateSchema(c,!0);const m=o.name("valid");e.subschema({schema:c,schemaPath:ve.nil,errSchemaPath:`${u.errSchemaPath}/${r}`,topSchemaRef:E,compositeRule:!0},m),e.pass(m,()=>e.error(!0))}Ye.macroKeywordCode=va;function Da(e,n){var o;const{gen:r,keyword:t,schema:s,parentSchema:u,$data:c,it:E}=e;Ga(E,n);const m=!c&&n.compile?n.compile.call(E.self,s,u,E):n.validate,h=It(r,t,m),R=r.let("valid");e.block$data(R,S),e.ok((o=n.valid)!==null&&o!==void 0?o:R);function S(){if(n.errors===!1)L(),n.modifying&&Nt(e),b(()=>e.error());else{const p=n.async?C():D();n.modifying&&Nt(e),b(()=>wa(e,p))}}function C(){const p=r.let("ruleErrs",null);return r.try(()=>L((0,ve._)`await `),U=>r.assign(R,!1).if((0,ve._)`${U} instanceof ${E.ValidationError}`,()=>r.assign(p,(0,ve._)`${U}.errors`),()=>r.throw(U))),p}function D(){const p=(0,ve._)`${h}.errors`;return r.assign(p,null),L(ve.nil),p}function L(p=n.async?(0,ve._)`await `:ve.nil){const U=E.opts.passContext?Gn.default.this:Gn.default.self,H=!("compile"in n&&!c||n.schema===!1);r.assign(R,(0,ve._)`${p}${(0,Sa.callValidateCode)(e,h,U,H)}`,n.modifying)}function b(p){var U;r.if((0,ve.not)((U=n.valid)!==null&&U!==void 0?U:R),p)}}Ye.funcKeywordCode=Da;function Nt(e){const{gen:n,data:o,it:r}=e;n.if(r.parentData,()=>n.assign(o,(0,ve._)`${r.parentData}[${r.parentDataProperty}]`))}function wa(e,n){const{gen:o}=e;o.if((0,ve._)`Array.isArray(${n})`,()=>{o.assign(Gn.default.vErrors,(0,ve._)`${Gn.default.vErrors} === null ? ${n} : ${Gn.default.vErrors}.concat(${n})`).assign(Gn.default.errors,(0,ve._)`${Gn.default.vErrors}.length`),(0,Pa.extendErrors)(e)},()=>e.error())}function Ga({schemaEnv:e},n){if(n.async&&!e.$async)throw new Error("async keyword in sync schema")}function It(e,n,o){if(o===void 0)throw new Error(`keyword "${n}" failed to compile`);return e.scopeValue("keyword",typeof o=="function"?{ref:o}:{ref:o,code:(0,ve.stringify)(o)})}function Ca(e,n,o=!1){return!n.length||n.some(r=>r==="array"?Array.isArray(e):r==="object"?e&&typeof e=="object"&&!Array.isArray(e):typeof e==r||o&&typeof e=="undefined")}Ye.validSchemaType=Ca;function ya({schema:e,opts:n,self:o,errSchemaPath:r},t,s){if(Array.isArray(t.keyword)?!t.keyword.includes(s):t.keyword!==s)throw new Error("ajv implementation error");const u=t.dependencies;if(u!=null&&u.some(c=>!Object.prototype.hasOwnProperty.call(e,c)))throw new Error(`parent schema must have dependencies of ${s}: ${u.join(",")}`);if(t.validateSchema&&!t.validateSchema(e[s])){const E=`keyword "${s}" value is invalid at path "${r}": `+o.errorsText(t.validateSchema.errors);if(n.validateSchema==="log")o.logger.error(E);else throw new Error(E)}}Ye.validateKeywordUsage=ya;var On={};Object.defineProperty(On,"__esModule",{value:!0}),On.extendSubschemaMode=On.extendSubschemaData=On.getSubschema=void 0;const Je=le,bt=Ae;function La(e,{keyword:n,schemaProp:o,schema:r,schemaPath:t,errSchemaPath:s,topSchemaRef:u}){if(n!==void 0&&r!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(n!==void 0){const c=e.schema[n];return o===void 0?{schema:c,schemaPath:(0,Je._)`${e.schemaPath}${(0,Je.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${n}`}:{schema:c[o],schemaPath:(0,Je._)`${e.schemaPath}${(0,Je.getProperty)(n)}${(0,Je.getProperty)(o)}`,errSchemaPath:`${e.errSchemaPath}/${n}/${(0,bt.escapeFragment)(o)}`}}if(r!==void 0){if(t===void 0||s===void 0||u===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:r,schemaPath:t,topSchemaRef:u,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')}On.getSubschema=La;function Ba(e,n,{dataProp:o,dataPropType:r,data:t,dataTypes:s,propertyName:u}){if(t!==void 0&&o!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:c}=n;if(o!==void 0){const{errorPath:m,dataPathArr:h,opts:R}=n,S=c.let("data",(0,Je._)`${n.data}${(0,Je.getProperty)(o)}`,!0);E(S),e.errorPath=(0,Je.str)`${m}${(0,bt.getErrorPath)(o,r,R.jsPropertySyntax)}`,e.parentDataProperty=(0,Je._)`${o}`,e.dataPathArr=[...h,e.parentDataProperty]}if(t!==void 0){const m=t instanceof Je.Name?t:c.let("data",t,!0);E(m),u!==void 0&&(e.propertyName=u)}s&&(e.dataTypes=s);function E(m){e.data=m,e.dataLevel=n.dataLevel+1,e.dataTypes=[],n.definedProperties=new Set,e.parentData=n.data,e.dataNames=[...n.dataNames,m]}}On.extendSubschemaData=Ba;function ka(e,{jtdDiscriminator:n,jtdMetadata:o,compositeRule:r,createErrors:t,allErrors:s}){r!==void 0&&(e.compositeRule=r),t!==void 0&&(e.createErrors=t),s!==void 0&&(e.allErrors=s),e.jtdDiscriminator=n,e.jtdMetadata=o}On.extendSubschemaMode=ka;var Ue={},Ma=function e(n,o){if(n===o)return!0;if(n&&o&&typeof n=="object"&&typeof o=="object"){if(n.constructor!==o.constructor)return!1;var r,t,s;if(Array.isArray(n)){if(r=n.length,r!=o.length)return!1;for(t=r;t--!==0;)if(!e(n[t],o[t]))return!1;return!0}if(n.constructor===RegExp)return n.source===o.source&&n.flags===o.flags;if(n.valueOf!==Object.prototype.valueOf)return n.valueOf()===o.valueOf();if(n.toString!==Object.prototype.toString)return n.toString()===o.toString();if(s=Object.keys(n),r=s.length,r!==Object.keys(o).length)return!1;for(t=r;t--!==0;)if(!Object.prototype.hasOwnProperty.call(o,s[t]))return!1;for(t=r;t--!==0;){var u=s[t];if(!e(n[u],o[u]))return!1}return!0}return n!==n&&o!==o},At={exports:{}},Tn=At.exports=function(e,n,o){typeof n=="function"&&(o=n,n={}),o=n.cb||o;var r=typeof o=="function"?o:o.pre||function(){},t=o.post||function(){};er(n,r,t,e,"",e)};Tn.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},Tn.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},Tn.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},Tn.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function er(e,n,o,r,t,s,u,c,E,m){if(r&&typeof r=="object"&&!Array.isArray(r)){n(r,t,s,u,c,E,m);for(var h in r){var R=r[h];if(Array.isArray(R)){if(h in Tn.arrayKeywords)for(var S=0;S<R.length;S++)er(e,n,o,R[S],t+"/"+h+"/"+S,s,t,h,r,S)}else if(h in Tn.propsKeywords){if(R&&typeof R=="object")for(var C in R)er(e,n,o,R[C],t+"/"+h+"/"+Xa(C),s,t,h,r,C)}else(h in Tn.keywords||e.allKeys&&!(h in Tn.skipKeywords))&&er(e,n,o,R,t+"/"+h,s,t,h,r)}o(r,t,s,u,c,E,m)}}function Xa(e){return e.replace(/~/g,"~0").replace(/\//g,"~1")}Object.defineProperty(Ue,"__esModule",{value:!0}),Ue.getSchemaRefs=Ue.resolveUrl=Ue.normalizeId=Ue._getFullPath=Ue.getFullPath=Ue.inlineRef=void 0;const $a=Ae,ja=Ma,xa=At.exports,Fa=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);function Va(e,n=!0){return typeof e=="boolean"?!0:n===!0?!wr(e):n?Ht(e)<=n:!1}Ue.inlineRef=Va;const Ka=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function wr(e){for(const n in e){if(Ka.has(n))return!0;const o=e[n];if(Array.isArray(o)&&o.some(wr)||typeof o=="object"&&wr(o))return!0}return!1}function Ht(e){let n=0;for(const o in e){if(o==="$ref")return 1/0;if(n++,!Fa.has(o)&&(typeof e[o]=="object"&&(0,$a.eachItem)(e[o],r=>n+=Ht(r)),n===1/0))return 1/0}return n}function Ut(e,n="",o){o!==!1&&(n=Qn(n));const r=e.parse(n);return St(e,r)}Ue.getFullPath=Ut;function St(e,n){return e.serialize(n).split("#")[0]+"#"}Ue._getFullPath=St;const Wa=/#\/?$/;function Qn(e){return e?e.replace(Wa,""):""}Ue.normalizeId=Qn;function Ya(e,n,o){return o=Qn(o),e.resolve(n,o)}Ue.resolveUrl=Ya;const Ja=/^[a-z_][-a-z0-9._]*$/i;function za(e,n){if(typeof e=="boolean")return{};const{schemaId:o,uriResolver:r}=this.opts,t=Qn(e[o]||n),s={"":t},u=Ut(r,t,!1),c={},E=new Set;return xa(e,{allKeys:!0},(R,S,C,D)=>{if(D===void 0)return;const L=u+S;let b=s[D];typeof R[o]=="string"&&(b=p.call(this,R[o])),U.call(this,R.$anchor),U.call(this,R.$dynamicAnchor),s[S]=b;function p(H){const w=this.opts.uriResolver.resolve;if(H=Qn(b?w(b,H):H),E.has(H))throw h(H);E.add(H);let F=this.refs[H];return typeof F=="string"&&(F=this.refs[F]),typeof F=="object"?m(R,F.schema,H):H!==Qn(L)&&(H[0]==="#"?(m(R,c[H],H),c[H]=R):this.refs[H]=L),H}function U(H){if(typeof H=="string"){if(!Ja.test(H))throw new Error(`invalid anchor "${H}"`);p.call(this,`#${H}`)}}}),c;function m(R,S,C){if(S!==void 0&&!ja(R,S))throw h(C)}function h(R){return new Error(`reference "${R}" resolves to more than one schema`)}}Ue.getSchemaRefs=za,Object.defineProperty(We,"__esModule",{value:!0}),We.getData=We.KeywordCxt=We.validateFunctionCode=void 0;const Pt=zn,vt=Qo,Gr=an,nr=Qo,qa=Zo,fo=Ye,Cr=On,X=le,K=Le,Qa=Ue,un=Ae,Ro=po;function Za(e){if(Ct(e)&&(yt(e),Gt(e))){oi(e);return}Dt(e,()=>(0,Pt.topBoolOrEmptySchema)(e))}We.validateFunctionCode=Za;function Dt({gen:e,validateName:n,schema:o,schemaEnv:r,opts:t},s){t.code.es5?e.func(n,(0,X._)`${K.default.data}, ${K.default.valCxt}`,r.$async,()=>{e.code((0,X._)`"use strict"; ${wt(o,t)}`),ni(e,t),e.code(s)}):e.func(n,(0,X._)`${K.default.data}, ${ei(t)}`,r.$async,()=>e.code(wt(o,t)).code(s))}function ei(e){return(0,X._)`{${K.default.instancePath}="", ${K.default.parentData}, ${K.default.parentDataProperty}, ${K.default.rootData}=${K.default.data}${e.dynamicRef?(0,X._)`, ${K.default.dynamicAnchors}={}`:X.nil}}={}`}function ni(e,n){e.if(K.default.valCxt,()=>{e.var(K.default.instancePath,(0,X._)`${K.default.valCxt}.${K.default.instancePath}`),e.var(K.default.parentData,(0,X._)`${K.default.valCxt}.${K.default.parentData}`),e.var(K.default.parentDataProperty,(0,X._)`${K.default.valCxt}.${K.default.parentDataProperty}`),e.var(K.default.rootData,(0,X._)`${K.default.valCxt}.${K.default.rootData}`),n.dynamicRef&&e.var(K.default.dynamicAnchors,(0,X._)`${K.default.valCxt}.${K.default.dynamicAnchors}`)},()=>{e.var(K.default.instancePath,(0,X._)`""`),e.var(K.default.parentData,(0,X._)`undefined`),e.var(K.default.parentDataProperty,(0,X._)`undefined`),e.var(K.default.rootData,K.default.data),n.dynamicRef&&e.var(K.default.dynamicAnchors,(0,X._)`{}`)})}function oi(e){const{schema:n,opts:o,gen:r}=e;Dt(e,()=>{o.$comment&&n.$comment&&Bt(e),ii(e),r.let(K.default.vErrors,null),r.let(K.default.errors,0),o.unevaluated&&ri(e),Lt(e),li(e)})}function ri(e){const{gen:n,validateName:o}=e;e.evaluated=n.const("evaluated",(0,X._)`${o}.evaluated`),n.if((0,X._)`${e.evaluated}.dynamicProps`,()=>n.assign((0,X._)`${e.evaluated}.props`,(0,X._)`undefined`)),n.if((0,X._)`${e.evaluated}.dynamicItems`,()=>n.assign((0,X._)`${e.evaluated}.items`,(0,X._)`undefined`))}function wt(e,n){const o=typeof e=="object"&&e[n.schemaId];return o&&(n.code.source||n.code.process)?(0,X._)`/*# sourceURL=${o} */`:X.nil}function ti(e,n){if(Ct(e)&&(yt(e),Gt(e))){si(e,n);return}(0,Pt.boolOrEmptySchema)(e,n)}function Gt({schema:e,self:n}){if(typeof e=="boolean")return!e;for(const o in e)if(n.RULES.all[o])return!0;return!1}function Ct(e){return typeof e.schema!="boolean"}function si(e,n){const{schema:o,gen:r,opts:t}=e;t.$comment&&o.$comment&&Bt(e),ui(e),_i(e);const s=r.const("_errs",K.default.errors);Lt(e,s),r.var(n,(0,X._)`${s} === ${K.default.errors}`)}function yt(e){(0,un.checkUnknownRules)(e),ai(e)}function Lt(e,n){if(e.opts.jtd)return kt(e,[],!1,n);const o=(0,vt.getSchemaTypes)(e.schema),r=(0,vt.coerceAndCheckDataType)(e,o);kt(e,o,!r,n)}function ai(e){const{schema:n,errSchemaPath:o,opts:r,self:t}=e;n.$ref&&r.ignoreKeywordsWithRef&&(0,un.schemaHasRulesButRef)(n,t.RULES)&&t.logger.warn(`$ref: keywords ignored in schema at path "${o}"`)}function ii(e){const{schema:n,opts:o}=e;n.default!==void 0&&o.useDefaults&&o.strictSchema&&(0,un.checkStrictMode)(e,"default is ignored in the schema root")}function ui(e){const n=e.schema[e.opts.schemaId];n&&(e.baseId=(0,Qa.resolveUrl)(e.opts.uriResolver,e.baseId,n))}function _i(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}function Bt({gen:e,schemaEnv:n,schema:o,errSchemaPath:r,opts:t}){const s=o.$comment;if(t.$comment===!0)e.code((0,X._)`${K.default.self}.logger.log(${s})`);else if(typeof t.$comment=="function"){const u=(0,X.str)`${r}/$comment`,c=e.scopeValue("root",{ref:n.root});e.code((0,X._)`${K.default.self}.opts.$comment(${s}, ${u}, ${c}.schema)`)}}function li(e){const{gen:n,schemaEnv:o,validateName:r,ValidationError:t,opts:s}=e;o.$async?n.if((0,X._)`${K.default.errors} === 0`,()=>n.return(K.default.data),()=>n.throw((0,X._)`new ${t}(${K.default.vErrors})`)):(n.assign((0,X._)`${r}.errors`,K.default.vErrors),s.unevaluated&&ci(e),n.return((0,X._)`${K.default.errors} === 0`))}function ci({gen:e,evaluated:n,props:o,items:r}){o instanceof X.Name&&e.assign((0,X._)`${n}.props`,o),r instanceof X.Name&&e.assign((0,X._)`${n}.items`,r)}function kt(e,n,o,r){const{gen:t,schema:s,data:u,allErrors:c,opts:E,self:m}=e,{RULES:h}=m;if(s.$ref&&(E.ignoreKeywordsWithRef||!(0,un.schemaHasRulesButRef)(s,h))){t.block(()=>jt(e,"$ref",h.all.$ref.definition));return}E.jtd||di(e,n),t.block(()=>{for(const S of h.rules)R(S);R(h.post)});function R(S){!(0,Gr.shouldUseGroup)(s,S)||(S.type?(t.if((0,nr.checkDataType)(S.type,u,E.strictNumbers)),Mt(e,S),n.length===1&&n[0]===S.type&&o&&(t.else(),(0,nr.reportTypeError)(e)),t.endIf()):Mt(e,S),c||t.if((0,X._)`${K.default.errors} === ${r||0}`))}}function Mt(e,n){const{gen:o,schema:r,opts:{useDefaults:t}}=e;t&&(0,qa.assignDefaults)(e,n.type),o.block(()=>{for(const s of n.rules)(0,Gr.shouldUseRule)(r,s)&&jt(e,s.keyword,s.definition,n.type)})}function di(e,n){e.schemaEnv.meta||!e.opts.strictTypes||(hi(e,n),e.opts.allowUnionTypes||mi(e,n),pi(e,e.dataTypes))}function hi(e,n){if(!!n.length){if(!e.dataTypes.length){e.dataTypes=n;return}n.forEach(o=>{Xt(e.dataTypes,o)||yr(e,`type "${o}" not allowed by context "${e.dataTypes.join(",")}"`)}),e.dataTypes=e.dataTypes.filter(o=>Xt(n,o))}}function mi(e,n){n.length>1&&!(n.length===2&&n.includes("null"))&&yr(e,"use allowUnionTypes to allow union type keyword")}function pi(e,n){const o=e.self.RULES.all;for(const r in o){const t=o[r];if(typeof t=="object"&&(0,Gr.shouldUseRule)(e.schema,t)){const{type:s}=t.definition;s.length&&!s.some(u=>Ei(n,u))&&yr(e,`missing type "${s.join(",")}" for keyword "${r}"`)}}}function Ei(e,n){return e.includes(n)||n==="number"&&e.includes("integer")}function Xt(e,n){return e.includes(n)||n==="integer"&&e.includes("number")}function yr(e,n){n+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,un.checkStrictMode)(e,n,e.opts.strictTypes)}class $t{constructor(n,o,r){if((0,fo.validateKeywordUsage)(n,o,r),this.gen=n.gen,this.allErrors=n.allErrors,this.keyword=r,this.data=n.data,this.schema=n.schema[r],this.$data=o.$data&&n.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,un.schemaRefOrVal)(n,this.schema,r,this.$data),this.schemaType=o.schemaType,this.parentSchema=n.schema,this.params={},this.it=n,this.def=o,this.$data)this.schemaCode=n.gen.const("vSchema",xt(this.$data,n));else if(this.schemaCode=this.schemaValue,!(0,fo.validSchemaType)(this.schema,o.schemaType,o.allowUndefined))throw new Error(`${r} value must be ${JSON.stringify(o.schemaType)}`);("code"in o?o.trackErrors:o.errors!==!1)&&(this.errsCount=n.gen.const("_errs",K.default.errors))}result(n,o,r){this.failResult((0,X.not)(n),o,r)}failResult(n,o,r){this.gen.if(n),r?r():this.error(),o?(this.gen.else(),o(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(n,o){this.failResult((0,X.not)(n),void 0,o)}fail(n){if(n===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(n),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(n){if(!this.$data)return this.fail(n);const{schemaCode:o}=this;this.fail((0,X._)`${o} !== undefined && (${(0,X.or)(this.invalid$data(),n)})`)}error(n,o,r){if(o){this.setParams(o),this._error(n,r),this.setParams({});return}this._error(n,r)}_error(n,o){(n?Ro.reportExtraError:Ro.reportError)(this,this.def.error,o)}$dataError(){(0,Ro.reportError)(this,this.def.$dataError||Ro.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,Ro.resetErrorsCount)(this.gen,this.errsCount)}ok(n){this.allErrors||this.gen.if(n)}setParams(n,o){o?Object.assign(this.params,n):this.params=n}block$data(n,o,r=X.nil){this.gen.block(()=>{this.check$data(n,r),o()})}check$data(n=X.nil,o=X.nil){if(!this.$data)return;const{gen:r,schemaCode:t,schemaType:s,def:u}=this;r.if((0,X.or)((0,X._)`${t} === undefined`,o)),n!==X.nil&&r.assign(n,!0),(s.length||u.validateSchema)&&(r.elseIf(this.invalid$data()),this.$dataError(),n!==X.nil&&r.assign(n,!1)),r.else()}invalid$data(){const{gen:n,schemaCode:o,schemaType:r,def:t,it:s}=this;return(0,X.or)(u(),c());function u(){if(r.length){if(!(o instanceof X.Name))throw new Error("ajv implementation error");const E=Array.isArray(r)?r:[r];return(0,X._)`${(0,nr.checkDataTypes)(E,o,s.opts.strictNumbers,nr.DataType.Wrong)}`}return X.nil}function c(){if(t.validateSchema){const E=n.scopeValue("validate$data",{ref:t.validateSchema});return(0,X._)`!${E}(${o})`}return X.nil}}subschema(n,o){const r=(0,Cr.getSubschema)(this.it,n);(0,Cr.extendSubschemaData)(r,this.it,n),(0,Cr.extendSubschemaMode)(r,n);const t=ce(Q(Q({},this.it),r),{items:void 0,props:void 0});return ti(t,o),t}mergeEvaluated(n,o){const{it:r,gen:t}=this;!r.opts.unevaluated||(r.props!==!0&&n.props!==void 0&&(r.props=un.mergeEvaluated.props(t,n.props,r.props,o)),r.items!==!0&&n.items!==void 0&&(r.items=un.mergeEvaluated.items(t,n.items,r.items,o)))}mergeValidEvaluated(n,o){const{it:r,gen:t}=this;if(r.opts.unevaluated&&(r.props!==!0||r.items!==!0))return t.if(o,()=>this.mergeEvaluated(n,X.Name)),!0}}We.KeywordCxt=$t;function jt(e,n,o,r){const t=new $t(e,o,n);"code"in o?o.code(t,r):t.$data&&o.validate?(0,fo.funcKeywordCode)(t,o):"macro"in o?(0,fo.macroKeywordCode)(t,o):(o.compile||o.validate)&&(0,fo.funcKeywordCode)(t,o)}const fi=/^\/(?:[^~]|~0|~1)*$/,Ri=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function xt(e,{dataLevel:n,dataNames:o,dataPathArr:r}){let t,s;if(e==="")return K.default.rootData;if(e[0]==="/"){if(!fi.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);t=e,s=K.default.rootData}else{const m=Ri.exec(e);if(!m)throw new Error(`Invalid JSON-pointer: ${e}`);const h=+m[1];if(t=m[2],t==="#"){if(h>=n)throw new Error(E("property/index",h));return r[n-h]}if(h>n)throw new Error(E("data",h));if(s=o[n-h],!t)return s}let u=s;const c=t.split("/");for(const m of c)m&&(s=(0,X._)`${s}${(0,X.getProperty)((0,un.unescapeJsonPointer)(m))}`,u=(0,X._)`${u} && ${s}`);return u;function E(m,h){return`Cannot access ${m} ${h} levels up, current level is ${n}`}}We.getData=xt;var or={};Object.defineProperty(or,"__esModule",{value:!0});class Oi extends Error{constructor(n){super("validation failed"),this.errors=n,this.ajv=this.validation=!0}}or.default=Oi;var Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});const Lr=Ue;class Ti extends Error{constructor(n,o,r,t){super(t||`can't resolve reference ${r} from id ${o}`),this.missingRef=(0,Lr.resolveUrl)(n,o,r),this.missingSchema=(0,Lr.normalizeId)((0,Lr.getFullPath)(n,this.missingRef))}}Cn.default=Ti;var Pe={};Object.defineProperty(Pe,"__esModule",{value:!0}),Pe.resolveSchema=Pe.getCompilingSchema=Pe.resolveRef=Pe.compileSchema=Pe.SchemaEnv=void 0;const Fe=le,gi=or,yn=Le,Ve=Ue,Ft=Ae,Ni=We;class rr{constructor(n){var o;this.refs={},this.dynamicAnchors={};let r;typeof n.schema=="object"&&(r=n.schema),this.schema=n.schema,this.schemaId=n.schemaId,this.root=n.root||this,this.baseId=(o=n.baseId)!==null&&o!==void 0?o:(0,Ve.normalizeId)(r==null?void 0:r[n.schemaId||"$id"]),this.schemaPath=n.schemaPath,this.localRefs=n.localRefs,this.meta=n.meta,this.$async=r==null?void 0:r.$async,this.refs={}}}Pe.SchemaEnv=rr;function Br(e){const n=Vt.call(this,e);if(n)return n;const o=(0,Ve.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:r,lines:t}=this.opts.code,{ownProperties:s}=this.opts,u=new Fe.CodeGen(this.scope,{es5:r,lines:t,ownProperties:s});let c;e.$async&&(c=u.scopeValue("Error",{ref:gi.default,code:(0,Fe._)`require("ajv/dist/runtime/validation_error").default`}));const E=u.scopeName("validate");e.validateName=E;const m={gen:u,allErrors:this.opts.allErrors,data:yn.default.data,parentData:yn.default.parentData,parentDataProperty:yn.default.parentDataProperty,dataNames:[yn.default.data],dataPathArr:[Fe.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:u.scopeValue("schema",this.opts.code.source===!0?{ref:e.schema,code:(0,Fe.stringify)(e.schema)}:{ref:e.schema}),validateName:E,ValidationError:c,schema:e.schema,schemaEnv:e,rootId:o,baseId:e.baseId||o,schemaPath:Fe.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,Fe._)`""`,opts:this.opts,self:this};let h;try{this._compilations.add(e),(0,Ni.validateFunctionCode)(m),u.optimize(this.opts.code.optimize);const R=u.toString();h=`${u.scopeRefs(yn.default.scope)}return ${R}`,this.opts.code.process&&(h=this.opts.code.process(h,e));const C=new Function(`${yn.default.self}`,`${yn.default.scope}`,h)(this,this.scope.get());if(this.scope.value(E,{ref:C}),C.errors=null,C.schema=e.schema,C.schemaEnv=e,e.$async&&(C.$async=!0),this.opts.code.source===!0&&(C.source={validateName:E,validateCode:R,scopeValues:u._values}),this.opts.unevaluated){const{props:D,items:L}=m;C.evaluated={props:D instanceof Fe.Name?void 0:D,items:L instanceof Fe.Name?void 0:L,dynamicProps:D instanceof Fe.Name,dynamicItems:L instanceof Fe.Name},C.source&&(C.source.evaluated=(0,Fe.stringify)(C.evaluated))}return e.validate=C,e}catch(R){throw delete e.validate,delete e.validateName,h&&this.logger.error("Error compiling schema, function code:",h),R}finally{this._compilations.delete(e)}}Pe.compileSchema=Br;function Ii(e,n,o){var r;o=(0,Ve.resolveUrl)(this.opts.uriResolver,n,o);const t=e.refs[o];if(t)return t;let s=Hi.call(this,e,o);if(s===void 0){const u=(r=e.localRefs)===null||r===void 0?void 0:r[o],{schemaId:c}=this.opts;u&&(s=new rr({schema:u,schemaId:c,root:e,baseId:n}))}if(s!==void 0)return e.refs[o]=bi.call(this,s)}Pe.resolveRef=Ii;function bi(e){return(0,Ve.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:Br.call(this,e)}function Vt(e){for(const n of this._compilations)if(Ai(n,e))return n}Pe.getCompilingSchema=Vt;function Ai(e,n){return e.schema===n.schema&&e.root===n.root&&e.baseId===n.baseId}function Hi(e,n){let o;for(;typeof(o=this.refs[n])=="string";)n=o;return o||this.schemas[n]||tr.call(this,e,n)}function tr(e,n){const o=this.opts.uriResolver.parse(n),r=(0,Ve._getFullPath)(this.opts.uriResolver,o);let t=(0,Ve.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===t)return kr.call(this,o,e);const s=(0,Ve.normalizeId)(r),u=this.refs[s]||this.schemas[s];if(typeof u=="string"){const c=tr.call(this,e,u);return typeof(c==null?void 0:c.schema)!="object"?void 0:kr.call(this,o,c)}if(typeof(u==null?void 0:u.schema)=="object"){if(u.validate||Br.call(this,u),s===(0,Ve.normalizeId)(n)){const{schema:c}=u,{schemaId:E}=this.opts,m=c[E];return m&&(t=(0,Ve.resolveUrl)(this.opts.uriResolver,t,m)),new rr({schema:c,schemaId:E,root:e,baseId:t})}return kr.call(this,o,u)}}Pe.resolveSchema=tr;const Ui=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function kr(e,{baseId:n,schema:o,root:r}){var t;if(((t=e.fragment)===null||t===void 0?void 0:t[0])!=="/")return;for(const c of e.fragment.slice(1).split("/")){if(typeof o=="boolean")return;const E=o[(0,Ft.unescapeFragment)(c)];if(E===void 0)return;o=E;const m=typeof o=="object"&&o[this.opts.schemaId];!Ui.has(c)&&m&&(n=(0,Ve.resolveUrl)(this.opts.uriResolver,n,m))}let s;if(typeof o!="boolean"&&o.$ref&&!(0,Ft.schemaHasRulesButRef)(o,this.RULES)){const c=(0,Ve.resolveUrl)(this.opts.uriResolver,n,o.$ref);s=tr.call(this,r,c)}const{schemaId:u}=this.opts;if(s=s||new rr({schema:o,schemaId:u,root:r,baseId:n}),s.schema!==s.root.schema)return s}var Si={$id:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",description:"Meta-schema for $data reference (JSON AnySchema extension proposal)",type:"object",required:["$data"],properties:{$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},additionalProperties:!1},Mr={},Xr={exports:{}};/** @license URI.js v4.4.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */(function(e,n){(function(o,r){r(n)})(sn,function(o){function r(){for(var _=arguments.length,i=Array(_),d=0;d<_;d++)i[d]=arguments[d];if(i.length>1){i[0]=i[0].slice(0,-1);for(var g=i.length-1,T=1;T<g;++T)i[T]=i[T].slice(1,-1);return i[g]=i[g].slice(1),i.join("")}else return i[0]}function t(_){return"(?:"+_+")"}function s(_){return _===void 0?"undefined":_===null?"null":Object.prototype.toString.call(_).split(" ").pop().split("]").shift().toLowerCase()}function u(_){return _.toUpperCase()}function c(_){return _!=null?_ instanceof Array?_:typeof _.length!="number"||_.split||_.setInterval||_.call?[_]:Array.prototype.slice.call(_):[]}function E(_,i){var d=_;if(i)for(var g in i)d[g]=i[g];return d}function m(_){var i="[A-Za-z]",d="[0-9]",g=r(d,"[A-Fa-f]"),T=t(t("%[EFef]"+g+"%"+g+g+"%"+g+g)+"|"+t("%[89A-Fa-f]"+g+"%"+g+g)+"|"+t("%"+g+g)),j="[\\:\\/\\?\\#\\[\\]\\@]",x="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",ie=r(j,x),Ee=_?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Ne=_?"[\\uE000-\\uF8FF]":"[]",re=r(i,d,"[\\-\\.\\_\\~]",Ee);t(i+r(i,d,"[\\+\\-\\.]")+"*"),t(t(T+"|"+r(re,x,"[\\:]"))+"*");var de=t(t("25[0-5]")+"|"+t("2[0-4]"+d)+"|"+t("1"+d+d)+"|"+t("0?[1-9]"+d)+"|0?0?"+d),Ie=t(de+"\\."+de+"\\."+de+"\\."+de),Y=t(g+"{1,4}"),Re=t(t(Y+"\\:"+Y)+"|"+Ie),be=t(t(Y+"\\:")+"{6}"+Re),Oe=t("\\:\\:"+t(Y+"\\:")+"{5}"+Re),vn=t(t(Y)+"?\\:\\:"+t(Y+"\\:")+"{4}"+Re),on=t(t(t(Y+"\\:")+"{0,1}"+Y)+"?\\:\\:"+t(Y+"\\:")+"{3}"+Re),rn=t(t(t(Y+"\\:")+"{0,2}"+Y)+"?\\:\\:"+t(Y+"\\:")+"{2}"+Re),ho=t(t(t(Y+"\\:")+"{0,3}"+Y)+"?\\:\\:"+Y+"\\:"+Re),Kn=t(t(t(Y+"\\:")+"{0,4}"+Y)+"?\\:\\:"+Re),xe=t(t(t(Y+"\\:")+"{0,5}"+Y)+"?\\:\\:"+Y),tn=t(t(t(Y+"\\:")+"{0,6}"+Y)+"?\\:\\:"),Wn=t([be,Oe,vn,on,rn,ho,Kn,xe,tn].join("|")),fn=t(t(re+"|"+T)+"+");t("[vV]"+g+"+\\."+r(re,x,"[\\:]")+"+"),t(t(T+"|"+r(re,x))+"*");var Yo=t(T+"|"+r(re,x,"[\\:\\@]"));return t(t(T+"|"+r(re,x,"[\\@]"))+"+"),t(t(Yo+"|"+r("[\\/\\?]",Ne))+"*"),{NOT_SCHEME:new RegExp(r("[^]",i,d,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(r("[^\\%\\:]",re,x),"g"),NOT_HOST:new RegExp(r("[^\\%\\[\\]\\:]",re,x),"g"),NOT_PATH:new RegExp(r("[^\\%\\/\\:\\@]",re,x),"g"),NOT_PATH_NOSCHEME:new RegExp(r("[^\\%\\/\\@]",re,x),"g"),NOT_QUERY:new RegExp(r("[^\\%]",re,x,"[\\:\\@\\/\\?]",Ne),"g"),NOT_FRAGMENT:new RegExp(r("[^\\%]",re,x,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(r("[^]",re,x),"g"),UNRESERVED:new RegExp(re,"g"),OTHER_CHARS:new RegExp(r("[^\\%]",re,ie),"g"),PCT_ENCODED:new RegExp(T,"g"),IPV4ADDRESS:new RegExp("^("+Ie+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Wn+")"+t(t("\\%25|\\%(?!"+g+"{2})")+"("+fn+")")+"?\\]?$")}}var h=m(!1),R=m(!0),S=function(){function _(i,d){var g=[],T=!0,j=!1,x=void 0;try{for(var ie=i[Symbol.iterator](),Ee;!(T=(Ee=ie.next()).done)&&(g.push(Ee.value),!(d&&g.length===d));T=!0);}catch(Ne){j=!0,x=Ne}finally{try{!T&&ie.return&&ie.return()}finally{if(j)throw x}}return g}return function(i,d){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return _(i,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(_){if(Array.isArray(_)){for(var i=0,d=Array(_.length);i<_.length;i++)d[i]=_[i];return d}else return Array.from(_)},D=2147483647,L=36,b=1,p=26,U=38,H=700,w=72,F=128,N="-",I=/^xn--/,G=/[^\0-\x7E]/,V=/[\x2E\u3002\uFF0E\uFF61]/g,q={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},pe=L-b,ee=Math.floor,ue=String.fromCharCode;function ne(_){throw new RangeError(q[_])}function fe(_,i){for(var d=[],g=_.length;g--;)d[g]=i(_[g]);return d}function Te(_,i){var d=_.split("@"),g="";d.length>1&&(g=d[0]+"@",_=d[1]),_=_.replace(V,".");var T=_.split("."),j=fe(T,i).join(".");return g+j}function He(_){for(var i=[],d=0,g=_.length;d<g;){var T=_.charCodeAt(d++);if(T>=55296&&T<=56319&&d<g){var j=_.charCodeAt(d++);(j&64512)==56320?i.push(((T&1023)<<10)+(j&1023)+65536):(i.push(T),d--)}else i.push(T)}return i}var $e=function(i){return String.fromCodePoint.apply(String,C(i))},so=function(i){return i-48<10?i-22:i-65<26?i-65:i-97<26?i-97:L},y=function(i,d){return i+22+75*(i<26)-((d!=0)<<5)},f=function(i,d,g){var T=0;for(i=g?ee(i/H):i>>1,i+=ee(i/d);i>pe*p>>1;T+=L)i=ee(i/pe);return ee(T+(pe+1)*i/(i+U))},P=function(i){var d=[],g=i.length,T=0,j=F,x=w,ie=i.lastIndexOf(N);ie<0&&(ie=0);for(var Ee=0;Ee<ie;++Ee)i.charCodeAt(Ee)>=128&&ne("not-basic"),d.push(i.charCodeAt(Ee));for(var Ne=ie>0?ie+1:0;Ne<g;){for(var re=T,de=1,Ie=L;;Ie+=L){Ne>=g&&ne("invalid-input");var Y=so(i.charCodeAt(Ne++));(Y>=L||Y>ee((D-T)/de))&&ne("overflow"),T+=Y*de;var Re=Ie<=x?b:Ie>=x+p?p:Ie-x;if(Y<Re)break;var be=L-Re;de>ee(D/be)&&ne("overflow"),de*=be}var Oe=d.length+1;x=f(T-re,Oe,re==0),ee(T/Oe)>D-j&&ne("overflow"),j+=ee(T/Oe),T%=Oe,d.splice(T++,0,j)}return String.fromCodePoint.apply(String,d)},O=function(i){var d=[];i=He(i);var g=i.length,T=F,j=0,x=w,ie=!0,Ee=!1,Ne=void 0;try{for(var re=i[Symbol.iterator](),de;!(ie=(de=re.next()).done);ie=!0){var Ie=de.value;Ie<128&&d.push(ue(Ie))}}catch(Jo){Ee=!0,Ne=Jo}finally{try{!ie&&re.return&&re.return()}finally{if(Ee)throw Ne}}var Y=d.length,Re=Y;for(Y&&d.push(N);Re<g;){var be=D,Oe=!0,vn=!1,on=void 0;try{for(var rn=i[Symbol.iterator](),ho;!(Oe=(ho=rn.next()).done);Oe=!0){var Kn=ho.value;Kn>=T&&Kn<be&&(be=Kn)}}catch(Jo){vn=!0,on=Jo}finally{try{!Oe&&rn.return&&rn.return()}finally{if(vn)throw on}}var xe=Re+1;be-T>ee((D-j)/xe)&&ne("overflow"),j+=(be-T)*xe,T=be;var tn=!0,Wn=!1,fn=void 0;try{for(var Yo=i[Symbol.iterator](),Js;!(tn=(Js=Yo.next()).done);tn=!0){var zs=Js.value;if(zs<T&&++j>D&&ne("overflow"),zs==T){for(var gr=j,Nr=L;;Nr+=L){var Ir=Nr<=x?b:Nr>=x+p?p:Nr-x;if(gr<Ir)break;var qs=gr-Ir,Qs=L-Ir;d.push(ue(y(Ir+qs%Qs,0))),gr=ee(qs/Qs)}d.push(ue(y(gr,0))),x=f(j,xe,Re==Y),j=0,++Re}}}catch(Jo){Wn=!0,fn=Jo}finally{try{!tn&&Yo.return&&Yo.return()}finally{if(Wn)throw fn}}++j,++T}return d.join("")},a=function(i){return Te(i,function(d){return I.test(d)?P(d.slice(4).toLowerCase()):d})},l=function(i){return Te(i,function(d){return G.test(d)?"xn--"+O(d):d})},A={version:"2.1.0",ucs2:{decode:He,encode:$e},decode:P,encode:O,toASCII:l,toUnicode:a},B={};function k(_){var i=_.charCodeAt(0),d=void 0;return i<16?d="%0"+i.toString(16).toUpperCase():i<128?d="%"+i.toString(16).toUpperCase():i<2048?d="%"+(i>>6|192).toString(16).toUpperCase()+"%"+(i&63|128).toString(16).toUpperCase():d="%"+(i>>12|224).toString(16).toUpperCase()+"%"+(i>>6&63|128).toString(16).toUpperCase()+"%"+(i&63|128).toString(16).toUpperCase(),d}function oe(_){for(var i="",d=0,g=_.length;d<g;){var T=parseInt(_.substr(d+1,2),16);if(T<128)i+=String.fromCharCode(T),d+=3;else if(T>=194&&T<224){if(g-d>=6){var j=parseInt(_.substr(d+4,2),16);i+=String.fromCharCode((T&31)<<6|j&63)}else i+=_.substr(d,6);d+=6}else if(T>=224){if(g-d>=9){var x=parseInt(_.substr(d+4,2),16),ie=parseInt(_.substr(d+7,2),16);i+=String.fromCharCode((T&15)<<12|(x&63)<<6|ie&63)}else i+=_.substr(d,9);d+=9}else i+=_.substr(d,3),d+=3}return i}function se(_,i){function d(g){var T=oe(g);return T.match(i.UNRESERVED)?T:g}return _.scheme&&(_.scheme=String(_.scheme).replace(i.PCT_ENCODED,d).toLowerCase().replace(i.NOT_SCHEME,"")),_.userinfo!==void 0&&(_.userinfo=String(_.userinfo).replace(i.PCT_ENCODED,d).replace(i.NOT_USERINFO,k).replace(i.PCT_ENCODED,u)),_.host!==void 0&&(_.host=String(_.host).replace(i.PCT_ENCODED,d).toLowerCase().replace(i.NOT_HOST,k).replace(i.PCT_ENCODED,u)),_.path!==void 0&&(_.path=String(_.path).replace(i.PCT_ENCODED,d).replace(_.scheme?i.NOT_PATH:i.NOT_PATH_NOSCHEME,k).replace(i.PCT_ENCODED,u)),_.query!==void 0&&(_.query=String(_.query).replace(i.PCT_ENCODED,d).replace(i.NOT_QUERY,k).replace(i.PCT_ENCODED,u)),_.fragment!==void 0&&(_.fragment=String(_.fragment).replace(i.PCT_ENCODED,d).replace(i.NOT_FRAGMENT,k).replace(i.PCT_ENCODED,u)),_}function ge(_){return _.replace(/^0*(.*)/,"$1")||"0"}function Ze(_,i){var d=_.match(i.IPV4ADDRESS)||[],g=S(d,2),T=g[1];return T?T.split(".").map(ge).join("."):_}function ao(_,i){var d=_.match(i.IPV6ADDRESS)||[],g=S(d,3),T=g[1],j=g[2];if(T){for(var x=T.toLowerCase().split("::").reverse(),ie=S(x,2),Ee=ie[0],Ne=ie[1],re=Ne?Ne.split(":").map(ge):[],de=Ee.split(":").map(ge),Ie=i.IPV4ADDRESS.test(de[de.length-1]),Y=Ie?7:8,Re=de.length-Y,be=Array(Y),Oe=0;Oe<Y;++Oe)be[Oe]=re[Oe]||de[Re+Oe]||"";Ie&&(be[Y-1]=Ze(be[Y-1],i));var vn=be.reduce(function(xe,tn,Wn){if(!tn||tn==="0"){var fn=xe[xe.length-1];fn&&fn.index+fn.length===Wn?fn.length++:xe.push({index:Wn,length:1})}return xe},[]),on=vn.sort(function(xe,tn){return tn.length-xe.length})[0],rn=void 0;if(on&&on.length>1){var ho=be.slice(0,on.index),Kn=be.slice(on.index+on.length);rn=ho.join(":")+"::"+Kn.join(":")}else rn=be.join(":");return j&&(rn+="%"+j),rn}else return _}var $o=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,jo="".match(/(){0}/)[1]===void 0;function ye(_){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d={},g=i.iri!==!1?R:h;i.reference==="suffix"&&(_=(i.scheme?i.scheme+":":"")+"//"+_);var T=_.match($o);if(T){jo?(d.scheme=T[1],d.userinfo=T[3],d.host=T[4],d.port=parseInt(T[5],10),d.path=T[6]||"",d.query=T[7],d.fragment=T[8],isNaN(d.port)&&(d.port=T[5])):(d.scheme=T[1]||void 0,d.userinfo=_.indexOf("@")!==-1?T[3]:void 0,d.host=_.indexOf("//")!==-1?T[4]:void 0,d.port=parseInt(T[5],10),d.path=T[6]||"",d.query=_.indexOf("?")!==-1?T[7]:void 0,d.fragment=_.indexOf("#")!==-1?T[8]:void 0,isNaN(d.port)&&(d.port=_.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?T[4]:void 0)),d.host&&(d.host=ao(Ze(d.host,g),g)),d.scheme===void 0&&d.userinfo===void 0&&d.host===void 0&&d.port===void 0&&!d.path&&d.query===void 0?d.reference="same-document":d.scheme===void 0?d.reference="relative":d.fragment===void 0?d.reference="absolute":d.reference="uri",i.reference&&i.reference!=="suffix"&&i.reference!==d.reference&&(d.error=d.error||"URI is not a "+i.reference+" reference.");var j=B[(i.scheme||d.scheme||"").toLowerCase()];if(!i.unicodeSupport&&(!j||!j.unicodeSupport)){if(d.host&&(i.domainHost||j&&j.domainHost))try{d.host=A.toASCII(d.host.replace(g.PCT_ENCODED,oe).toLowerCase())}catch(x){d.error=d.error||"Host's domain name can not be converted to ASCII via punycode: "+x}se(d,h)}else se(d,g);j&&j.parse&&j.parse(d,i)}else d.error=d.error||"URI can not be parsed.";return d}function xo(_,i){var d=i.iri!==!1?R:h,g=[];return _.userinfo!==void 0&&(g.push(_.userinfo),g.push("@")),_.host!==void 0&&g.push(ao(Ze(String(_.host),d),d).replace(d.IPV6ADDRESS,function(T,j,x){return"["+j+(x?"%25"+x:"")+"]"})),(typeof _.port=="number"||typeof _.port=="string")&&(g.push(":"),g.push(String(_.port))),g.length?g.join(""):void 0}var io=/^\.\.?\//,uo=/^\/\.(\/|$)/,_o=/^\/\.\.(\/|$)/,Fo=/^\/?(?:.|\n)*?(?=\/|$)/;function en(_){for(var i=[];_.length;)if(_.match(io))_=_.replace(io,"");else if(_.match(uo))_=_.replace(uo,"/");else if(_.match(_o))_=_.replace(_o,"/"),i.pop();else if(_==="."||_==="..")_="";else{var d=_.match(Fo);if(d){var g=d[0];_=_.slice(g.length),i.push(g)}else throw new Error("Unexpected dot segment condition")}return i.join("")}function Ge(_){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=i.iri?R:h,g=[],T=B[(i.scheme||_.scheme||"").toLowerCase()];if(T&&T.serialize&&T.serialize(_,i),_.host&&!d.IPV6ADDRESS.test(_.host)){if(i.domainHost||T&&T.domainHost)try{_.host=i.iri?A.toUnicode(_.host):A.toASCII(_.host.replace(d.PCT_ENCODED,oe).toLowerCase())}catch(ie){_.error=_.error||"Host's domain name can not be converted to "+(i.iri?"Unicode":"ASCII")+" via punycode: "+ie}}se(_,d),i.reference!=="suffix"&&_.scheme&&(g.push(_.scheme),g.push(":"));var j=xo(_,i);if(j!==void 0&&(i.reference!=="suffix"&&g.push("//"),g.push(j),_.path&&_.path.charAt(0)!=="/"&&g.push("/")),_.path!==void 0){var x=_.path;!i.absolutePath&&(!T||!T.absolutePath)&&(x=en(x)),j===void 0&&(x=x.replace(/^\/\//,"/%2F")),g.push(x)}return _.query!==void 0&&(g.push("?"),g.push(_.query)),_.fragment!==void 0&&(g.push("#"),g.push(_.fragment)),g.join("")}function lo(_,i){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},g=arguments[3],T={};return g||(_=ye(Ge(_,d),d),i=ye(Ge(i,d),d)),d=d||{},!d.tolerant&&i.scheme?(T.scheme=i.scheme,T.userinfo=i.userinfo,T.host=i.host,T.port=i.port,T.path=en(i.path||""),T.query=i.query):(i.userinfo!==void 0||i.host!==void 0||i.port!==void 0?(T.userinfo=i.userinfo,T.host=i.host,T.port=i.port,T.path=en(i.path||""),T.query=i.query):(i.path?(i.path.charAt(0)==="/"?T.path=en(i.path):((_.userinfo!==void 0||_.host!==void 0||_.port!==void 0)&&!_.path?T.path="/"+i.path:_.path?T.path=_.path.slice(0,_.path.lastIndexOf("/")+1)+i.path:T.path=i.path,T.path=en(T.path)),T.query=i.query):(T.path=_.path,i.query!==void 0?T.query=i.query:T.query=_.query),T.userinfo=_.userinfo,T.host=_.host,T.port=_.port),T.scheme=_.scheme),T.fragment=i.fragment,T}function Vo(_,i,d){var g=E({scheme:"null"},d);return Ge(lo(ye(_,g),ye(i,g),g,!0),g)}function Fn(_,i){return typeof _=="string"?_=Ge(ye(_,i),i):s(_)==="object"&&(_=ye(Ge(_,i),i)),_}function Ko(_,i,d){return typeof _=="string"?_=Ge(ye(_,d),d):s(_)==="object"&&(_=Ge(_,d)),typeof i=="string"?i=Ge(ye(i,d),d):s(i)==="object"&&(i=Ge(i,d)),_===i}function Tr(_,i){return _&&_.toString().replace(!i||!i.iri?h.ESCAPE:R.ESCAPE,k)}function je(_,i){return _&&_.toString().replace(!i||!i.iri?h.PCT_ENCODED:R.PCT_ENCODED,oe)}var Vn={scheme:"http",domainHost:!0,parse:function(i,d){return i.host||(i.error=i.error||"HTTP URIs must have a host."),i},serialize:function(i,d){var g=String(i.scheme).toLowerCase()==="https";return(i.port===(g?443:80)||i.port==="")&&(i.port=void 0),i.path||(i.path="/"),i}},$s={scheme:"https",domainHost:Vn.domainHost,parse:Vn.parse,serialize:Vn.serialize};function js(_){return typeof _.secure=="boolean"?_.secure:String(_.scheme).toLowerCase()==="wss"}var Wo={scheme:"ws",domainHost:!0,parse:function(i,d){var g=i;return g.secure=js(g),g.resourceName=(g.path||"/")+(g.query?"?"+g.query:""),g.path=void 0,g.query=void 0,g},serialize:function(i,d){if((i.port===(js(i)?443:80)||i.port==="")&&(i.port=void 0),typeof i.secure=="boolean"&&(i.scheme=i.secure?"wss":"ws",i.secure=void 0),i.resourceName){var g=i.resourceName.split("?"),T=S(g,2),j=T[0],x=T[1];i.path=j&&j!=="/"?j:void 0,i.query=x,i.resourceName=void 0}return i.fragment=void 0,i}},xs={scheme:"wss",domainHost:Wo.domainHost,parse:Wo.parse,serialize:Wo.serialize},w_={},Fs="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",nn="[0-9A-Fa-f]",G_=t(t("%[EFef]"+nn+"%"+nn+nn+"%"+nn+nn)+"|"+t("%[89A-Fa-f]"+nn+"%"+nn+nn)+"|"+t("%"+nn+nn)),C_="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",y_="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",L_=r(y_,'[\\"\\\\]'),B_="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",k_=new RegExp(Fs,"g"),co=new RegExp(G_,"g"),M_=new RegExp(r("[^]",C_,"[\\.]",'[\\"]',L_),"g"),Vs=new RegExp(r("[^]",Fs,B_),"g"),X_=Vs;function dt(_){var i=oe(_);return i.match(k_)?i:_}var Ks={scheme:"mailto",parse:function(i,d){var g=i,T=g.to=g.path?g.path.split(","):[];if(g.path=void 0,g.query){for(var j=!1,x={},ie=g.query.split("&"),Ee=0,Ne=ie.length;Ee<Ne;++Ee){var re=ie[Ee].split("=");switch(re[0]){case"to":for(var de=re[1].split(","),Ie=0,Y=de.length;Ie<Y;++Ie)T.push(de[Ie]);break;case"subject":g.subject=je(re[1],d);break;case"body":g.body=je(re[1],d);break;default:j=!0,x[je(re[0],d)]=je(re[1],d);break}}j&&(g.headers=x)}g.query=void 0;for(var Re=0,be=T.length;Re<be;++Re){var Oe=T[Re].split("@");if(Oe[0]=je(Oe[0]),d.unicodeSupport)Oe[1]=je(Oe[1],d).toLowerCase();else try{Oe[1]=A.toASCII(je(Oe[1],d).toLowerCase())}catch(vn){g.error=g.error||"Email address's domain name can not be converted to ASCII via punycode: "+vn}T[Re]=Oe.join("@")}return g},serialize:function(i,d){var g=i,T=c(i.to);if(T){for(var j=0,x=T.length;j<x;++j){var ie=String(T[j]),Ee=ie.lastIndexOf("@"),Ne=ie.slice(0,Ee).replace(co,dt).replace(co,u).replace(M_,k),re=ie.slice(Ee+1);try{re=d.iri?A.toUnicode(re):A.toASCII(je(re,d).toLowerCase())}catch(Re){g.error=g.error||"Email address's domain name can not be converted to "+(d.iri?"Unicode":"ASCII")+" via punycode: "+Re}T[j]=Ne+"@"+re}g.path=T.join(",")}var de=i.headers=i.headers||{};i.subject&&(de.subject=i.subject),i.body&&(de.body=i.body);var Ie=[];for(var Y in de)de[Y]!==w_[Y]&&Ie.push(Y.replace(co,dt).replace(co,u).replace(Vs,k)+"="+de[Y].replace(co,dt).replace(co,u).replace(X_,k));return Ie.length&&(g.query=Ie.join("&")),g}},$_=/^([^\:]+)\:(.*)/,Ws={scheme:"urn",parse:function(i,d){var g=i.path&&i.path.match($_),T=i;if(g){var j=d.scheme||T.scheme||"urn",x=g[1].toLowerCase(),ie=g[2],Ee=j+":"+(d.nid||x),Ne=B[Ee];T.nid=x,T.nss=ie,T.path=void 0,Ne&&(T=Ne.parse(T,d))}else T.error=T.error||"URN can not be parsed.";return T},serialize:function(i,d){var g=d.scheme||i.scheme||"urn",T=i.nid,j=g+":"+(d.nid||T),x=B[j];x&&(i=x.serialize(i,d));var ie=i,Ee=i.nss;return ie.path=(T||d.nid)+":"+Ee,ie}},j_=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,Ys={scheme:"urn:uuid",parse:function(i,d){var g=i;return g.uuid=g.nss,g.nss=void 0,!d.tolerant&&(!g.uuid||!g.uuid.match(j_))&&(g.error=g.error||"UUID is not valid."),g},serialize:function(i,d){var g=i;return g.nss=(i.uuid||"").toLowerCase(),g}};B[Vn.scheme]=Vn,B[$s.scheme]=$s,B[Wo.scheme]=Wo,B[xs.scheme]=xs,B[Ks.scheme]=Ks,B[Ws.scheme]=Ws,B[Ys.scheme]=Ys,o.SCHEMES=B,o.pctEncChar=k,o.pctDecChars=oe,o.parse=ye,o.removeDotSegments=en,o.serialize=Ge,o.resolveComponents=lo,o.resolve=Vo,o.normalize=Fn,o.equal=Ko,o.escapeComponent=Tr,o.unescapeComponent=je,Object.defineProperty(o,"__esModule",{value:!0})})})(Xr,Xr.exports),Object.defineProperty(Mr,"__esModule",{value:!0});const Kt=Xr.exports;Kt.code='require("ajv/dist/runtime/uri").default',Mr.default=Kt,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var n=We;Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return n.KeywordCxt}});var o=le;Object.defineProperty(e,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const r=or,t=Cn,s=wn,u=Pe,c=le,E=Ue,m=Qo,h=Ae,R=Si,S=Mr,C=(y,f)=>new RegExp(y,f);C.code="new RegExp";const D=["removeAdditional","useDefaults","coerceTypes"],L=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),b={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},p={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},U=200;function H(y){var f,P,O,a,l,A,B,k,oe,se,ge,Ze,ao,$o,jo,ye,xo,io,uo,_o,Fo,en,Ge,lo,Vo;const Fn=y.strict,Ko=(f=y.code)===null||f===void 0?void 0:f.optimize,Tr=Ko===!0||Ko===void 0?1:Ko||0,je=(O=(P=y.code)===null||P===void 0?void 0:P.regExp)!==null&&O!==void 0?O:C,Vn=(a=y.uriResolver)!==null&&a!==void 0?a:S.default;return{strictSchema:(A=(l=y.strictSchema)!==null&&l!==void 0?l:Fn)!==null&&A!==void 0?A:!0,strictNumbers:(k=(B=y.strictNumbers)!==null&&B!==void 0?B:Fn)!==null&&k!==void 0?k:!0,strictTypes:(se=(oe=y.strictTypes)!==null&&oe!==void 0?oe:Fn)!==null&&se!==void 0?se:"log",strictTuples:(Ze=(ge=y.strictTuples)!==null&&ge!==void 0?ge:Fn)!==null&&Ze!==void 0?Ze:"log",strictRequired:($o=(ao=y.strictRequired)!==null&&ao!==void 0?ao:Fn)!==null&&$o!==void 0?$o:!1,code:y.code?ce(Q({},y.code),{optimize:Tr,regExp:je}):{optimize:Tr,regExp:je},loopRequired:(jo=y.loopRequired)!==null&&jo!==void 0?jo:U,loopEnum:(ye=y.loopEnum)!==null&&ye!==void 0?ye:U,meta:(xo=y.meta)!==null&&xo!==void 0?xo:!0,messages:(io=y.messages)!==null&&io!==void 0?io:!0,inlineRefs:(uo=y.inlineRefs)!==null&&uo!==void 0?uo:!0,schemaId:(_o=y.schemaId)!==null&&_o!==void 0?_o:"$id",addUsedSchema:(Fo=y.addUsedSchema)!==null&&Fo!==void 0?Fo:!0,validateSchema:(en=y.validateSchema)!==null&&en!==void 0?en:!0,validateFormats:(Ge=y.validateFormats)!==null&&Ge!==void 0?Ge:!0,unicodeRegExp:(lo=y.unicodeRegExp)!==null&&lo!==void 0?lo:!0,int32range:(Vo=y.int32range)!==null&&Vo!==void 0?Vo:!0,uriResolver:Vn}}class w{constructor(f={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,f=this.opts=Q(Q({},f),H(f));const{es5:P,lines:O}=this.opts.code;this.scope=new c.ValueScope({scope:{},prefixes:L,es5:P,lines:O}),this.logger=ee(f.logger);const a=f.validateFormats;f.validateFormats=!1,this.RULES=(0,s.getRules)(),F.call(this,b,f,"NOT SUPPORTED"),F.call(this,p,f,"DEPRECATED","warn"),this._metaOpts=q.call(this),f.formats&&G.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),f.keywords&&V.call(this,f.keywords),typeof f.meta=="object"&&this.addMetaSchema(f.meta),I.call(this),f.validateFormats=a}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:f,meta:P,schemaId:O}=this.opts;let a=R;O==="id"&&(a=Q({},R),a.id=a.$id,delete a.$id),P&&f&&this.addMetaSchema(a,a[O],!1)}defaultMeta(){const{meta:f,schemaId:P}=this.opts;return this.opts.defaultMeta=typeof f=="object"?f[P]||f:void 0}validate(f,P){let O;if(typeof f=="string"){if(O=this.getSchema(f),!O)throw new Error(`no schema with key or ref "${f}"`)}else O=this.compile(f);const a=O(P);return"$async"in O||(this.errors=O.errors),a}compile(f,P){const O=this._addSchema(f,P);return O.validate||this._compileSchemaEnv(O)}compileAsync(f,P){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:O}=this.opts;return a.call(this,f,P);async function a(se,ge){await l.call(this,se.$schema);const Ze=this._addSchema(se,ge);return Ze.validate||A.call(this,Ze)}async function l(se){se&&!this.getSchema(se)&&await a.call(this,{$ref:se},!0)}async function A(se){try{return this._compileSchemaEnv(se)}catch(ge){if(!(ge instanceof t.default))throw ge;return B.call(this,ge),await k.call(this,ge.missingSchema),A.call(this,se)}}function B({missingSchema:se,missingRef:ge}){if(this.refs[se])throw new Error(`AnySchema ${se} is loaded but ${ge} cannot be resolved`)}async function k(se){const ge=await oe.call(this,se);this.refs[se]||await l.call(this,ge.$schema),this.refs[se]||this.addSchema(ge,se,P)}async function oe(se){const ge=this._loading[se];if(ge)return ge;try{return await(this._loading[se]=O(se))}finally{delete this._loading[se]}}}addSchema(f,P,O,a=this.opts.validateSchema){if(Array.isArray(f)){for(const A of f)this.addSchema(A,void 0,O,a);return this}let l;if(typeof f=="object"){const{schemaId:A}=this.opts;if(l=f[A],l!==void 0&&typeof l!="string")throw new Error(`schema ${A} must be string`)}return P=(0,E.normalizeId)(P||l),this._checkUnique(P),this.schemas[P]=this._addSchema(f,O,P,a,!0),this}addMetaSchema(f,P,O=this.opts.validateSchema){return this.addSchema(f,P,!0,O),this}validateSchema(f,P){if(typeof f=="boolean")return!0;let O;if(O=f.$schema,O!==void 0&&typeof O!="string")throw new Error("$schema must be a string");if(O=O||this.opts.defaultMeta||this.defaultMeta(),!O)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const a=this.validate(O,f);if(!a&&P){const l="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(l);else throw new Error(l)}return a}getSchema(f){let P;for(;typeof(P=N.call(this,f))=="string";)f=P;if(P===void 0){const{schemaId:O}=this.opts,a=new u.SchemaEnv({schema:{},schemaId:O});if(P=u.resolveSchema.call(this,a,f),!P)return;this.refs[f]=P}return P.validate||this._compileSchemaEnv(P)}removeSchema(f){if(f instanceof RegExp)return this._removeAllSchemas(this.schemas,f),this._removeAllSchemas(this.refs,f),this;switch(typeof f){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const P=N.call(this,f);return typeof P=="object"&&this._cache.delete(P.schema),delete this.schemas[f],delete this.refs[f],this}case"object":{const P=f;this._cache.delete(P);let O=f[this.opts.schemaId];return O&&(O=(0,E.normalizeId)(O),delete this.schemas[O],delete this.refs[O]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(f){for(const P of f)this.addKeyword(P);return this}addKeyword(f,P){let O;if(typeof f=="string")O=f,typeof P=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),P.keyword=O);else if(typeof f=="object"&&P===void 0){if(P=f,O=P.keyword,Array.isArray(O)&&!O.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(ne.call(this,O,P),!P)return(0,h.eachItem)(O,l=>fe.call(this,l)),this;He.call(this,P);const a=ce(Q({},P),{type:(0,m.getJSONTypes)(P.type),schemaType:(0,m.getJSONTypes)(P.schemaType)});return(0,h.eachItem)(O,a.type.length===0?l=>fe.call(this,l,a):l=>a.type.forEach(A=>fe.call(this,l,a,A))),this}getKeyword(f){const P=this.RULES.all[f];return typeof P=="object"?P.definition:!!P}removeKeyword(f){const{RULES:P}=this;delete P.keywords[f],delete P.all[f];for(const O of P.rules){const a=O.rules.findIndex(l=>l.keyword===f);a>=0&&O.rules.splice(a,1)}return this}addFormat(f,P){return typeof P=="string"&&(P=new RegExp(P)),this.formats[f]=P,this}errorsText(f=this.errors,{separator:P=", ",dataVar:O="data"}={}){return!f||f.length===0?"No errors":f.map(a=>`${O}${a.instancePath} ${a.message}`).reduce((a,l)=>a+P+l)}$dataMetaSchema(f,P){const O=this.RULES.all;f=JSON.parse(JSON.stringify(f));for(const a of P){const l=a.split("/").slice(1);let A=f;for(const B of l)A=A[B];for(const B in O){const k=O[B];if(typeof k!="object")continue;const{$data:oe}=k.definition,se=A[B];oe&&se&&(A[B]=so(se))}}return f}_removeAllSchemas(f,P){for(const O in f){const a=f[O];(!P||P.test(O))&&(typeof a=="string"?delete f[O]:a&&!a.meta&&(this._cache.delete(a.schema),delete f[O]))}}_addSchema(f,P,O,a=this.opts.validateSchema,l=this.opts.addUsedSchema){let A;const{schemaId:B}=this.opts;if(typeof f=="object")A=f[B];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof f!="boolean")throw new Error("schema must be object or boolean")}let k=this._cache.get(f);if(k!==void 0)return k;O=(0,E.normalizeId)(A||O);const oe=E.getSchemaRefs.call(this,f,O);return k=new u.SchemaEnv({schema:f,schemaId:B,meta:P,baseId:O,localRefs:oe}),this._cache.set(k.schema,k),l&&!O.startsWith("#")&&(O&&this._checkUnique(O),this.refs[O]=k),a&&this.validateSchema(f,!0),k}_checkUnique(f){if(this.schemas[f]||this.refs[f])throw new Error(`schema with key or id "${f}" already exists`)}_compileSchemaEnv(f){if(f.meta?this._compileMetaSchema(f):u.compileSchema.call(this,f),!f.validate)throw new Error("ajv implementation error");return f.validate}_compileMetaSchema(f){const P=this.opts;this.opts=this._metaOpts;try{u.compileSchema.call(this,f)}finally{this.opts=P}}}e.default=w,w.ValidationError=r.default,w.MissingRefError=t.default;function F(y,f,P,O="error"){for(const a in y){const l=a;l in f&&this.logger[O](`${P}: option ${a}. ${y[l]}`)}}function N(y){return y=(0,E.normalizeId)(y),this.schemas[y]||this.refs[y]}function I(){const y=this.opts.schemas;if(!!y)if(Array.isArray(y))this.addSchema(y);else for(const f in y)this.addSchema(y[f],f)}function G(){for(const y in this.opts.formats){const f=this.opts.formats[y];f&&this.addFormat(y,f)}}function V(y){if(Array.isArray(y)){this.addVocabulary(y);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const f in y){const P=y[f];P.keyword||(P.keyword=f),this.addKeyword(P)}}function q(){const y=Q({},this.opts);for(const f of D)delete y[f];return y}const pe={log(){},warn(){},error(){}};function ee(y){if(y===!1)return pe;if(y===void 0)return console;if(y.log&&y.warn&&y.error)return y;throw new Error("logger must implement log, warn and error methods")}const ue=/^[a-z_$][a-z0-9_$:-]*$/i;function ne(y,f){const{RULES:P}=this;if((0,h.eachItem)(y,O=>{if(P.keywords[O])throw new Error(`Keyword ${O} is already defined`);if(!ue.test(O))throw new Error(`Keyword ${O} has invalid name`)}),!!f&&f.$data&&!("code"in f||"validate"in f))throw new Error('$data keyword must have "code" or "validate" function')}function fe(y,f,P){var O;const a=f==null?void 0:f.post;if(P&&a)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:l}=this;let A=a?l.post:l.rules.find(({type:k})=>k===P);if(A||(A={type:P,rules:[]},l.rules.push(A)),l.keywords[y]=!0,!f)return;const B={keyword:y,definition:ce(Q({},f),{type:(0,m.getJSONTypes)(f.type),schemaType:(0,m.getJSONTypes)(f.schemaType)})};f.before?Te.call(this,A,B,f.before):A.rules.push(B),l.all[y]=B,(O=f.implements)===null||O===void 0||O.forEach(k=>this.addKeyword(k))}function Te(y,f,P){const O=y.rules.findIndex(a=>a.keyword===P);O>=0?y.rules.splice(O,0,f):(y.rules.push(f),this.logger.warn(`rule ${P} is not defined`))}function He(y){let{metaSchema:f}=y;f!==void 0&&(y.$data&&this.opts.$data&&(f=so(f)),y.validateSchema=this.compile(f,!0))}const $e={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function so(y){return{anyOf:[y,$e]}}}(pt);var $r={},Ln={},Bn={};Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.callRef=Bn.getValidate=void 0;const Pi=Cn,Wt=ae,we=le,Zn=Le,Yt=Pe,sr=Ae,vi={keyword:"$ref",schemaType:"string",code(e){const{gen:n,schema:o,it:r}=e,{baseId:t,schemaEnv:s,validateName:u,opts:c,self:E}=r,{root:m}=s;if((o==="#"||o==="#/")&&t===m.baseId)return R();const h=Yt.resolveRef.call(E,m,t,o);if(h===void 0)throw new Pi.default(r.opts.uriResolver,t,o);if(h instanceof Yt.SchemaEnv)return S(h);return C(h);function R(){if(s===m)return ar(e,u,s,s.$async);const D=n.scopeValue("root",{ref:m});return ar(e,(0,we._)`${D}.validate`,m,m.$async)}function S(D){const L=Jt(e,D);ar(e,L,D,D.$async)}function C(D){const L=n.scopeValue("schema",c.code.source===!0?{ref:D,code:(0,we.stringify)(D)}:{ref:D}),b=n.name("valid"),p=e.subschema({schema:D,dataTypes:[],schemaPath:we.nil,topSchemaRef:L,errSchemaPath:o},b);e.mergeEvaluated(p),e.ok(b)}}};function Jt(e,n){const{gen:o}=e;return n.validate?o.scopeValue("validate",{ref:n.validate}):(0,we._)`${o.scopeValue("wrapper",{ref:n})}.validate`}Bn.getValidate=Jt;function ar(e,n,o,r){const{gen:t,it:s}=e,{allErrors:u,schemaEnv:c,opts:E}=s,m=E.passContext?Zn.default.this:we.nil;r?h():R();function h(){if(!c.$async)throw new Error("async schema referenced by sync schema");const D=t.let("valid");t.try(()=>{t.code((0,we._)`await ${(0,Wt.callValidateCode)(e,n,m)}`),C(n),u||t.assign(D,!0)},L=>{t.if((0,we._)`!(${L} instanceof ${s.ValidationError})`,()=>t.throw(L)),S(L),u||t.assign(D,!1)}),e.ok(D)}function R(){e.result((0,Wt.callValidateCode)(e,n,m),()=>C(n),()=>S(n))}function S(D){const L=(0,we._)`${D}.errors`;t.assign(Zn.default.vErrors,(0,we._)`${Zn.default.vErrors} === null ? ${L} : ${Zn.default.vErrors}.concat(${L})`),t.assign(Zn.default.errors,(0,we._)`${Zn.default.vErrors}.length`)}function C(D){var L;if(!s.opts.unevaluated)return;const b=(L=o==null?void 0:o.validate)===null||L===void 0?void 0:L.evaluated;if(s.props!==!0)if(b&&!b.dynamicProps)b.props!==void 0&&(s.props=sr.mergeEvaluated.props(t,b.props,s.props));else{const p=t.var("props",(0,we._)`${D}.evaluated.props`);s.props=sr.mergeEvaluated.props(t,p,s.props,we.Name)}if(s.items!==!0)if(b&&!b.dynamicItems)b.items!==void 0&&(s.items=sr.mergeEvaluated.items(t,b.items,s.items));else{const p=t.var("items",(0,we._)`${D}.evaluated.items`);s.items=sr.mergeEvaluated.items(t,p,s.items,we.Name)}}}Bn.callRef=ar,Bn.default=vi;var Be={};Object.defineProperty(Be,"__esModule",{value:!0}),Be.checkMetadata=void 0;const Di=Ae,wi={keyword:"metadata",schemaType:"object",code(e){zt(e);const{gen:n,schema:o,it:r}=e;if((0,Di.alwaysValidSchema)(r,o))return;const t=n.name("valid");e.subschema({keyword:"metadata",jtdMetadata:!0},t),e.ok(t)}};function zt({it:e,keyword:n},o){if(e.jtdMetadata!==o)throw new Error(`JTD: "${n}" cannot be used in this schema location`)}Be.checkMetadata=zt,Be.default=wi,Object.defineProperty(Ln,"__esModule",{value:!0}),Ln.hasRef=void 0;const qt=Pe,Oo=le,Gi=Cn,Qt=Le,Zt=Bn,Ci=Be,yi={keyword:"ref",schemaType:"string",code(e){(0,Ci.checkMetadata)(e);const{gen:n,data:o,schema:r,parentSchema:t,it:s}=e,{schemaEnv:{root:u}}=s,c=n.name("valid");t.nullable?(n.var(c,(0,Oo._)`${o} === null`),n.if((0,Oo.not)(c),E)):(n.var(c,!1),E()),e.ok(c);function E(){var R;const S=(R=u.schema.definitions)===null||R===void 0?void 0:R[r];if(!S)throw new Gi.default(s.opts.uriResolver,"",r,`No definition ${r}`);jr(S)||!s.opts.inlineRefs?m(S):h(S)}function m(R){const S=qt.compileSchema.call(s.self,new qt.SchemaEnv({schema:R,root:u,schemaPath:`/definitions/${r}`})),C=(0,Zt.getValidate)(e,S),D=n.const("_errs",Qt.default.errors);(0,Zt.callRef)(e,C,S,S.$async),n.assign(c,(0,Oo._)`${D} === ${Qt.default.errors}`)}function h(R){const S=n.scopeValue("schema",s.opts.code.source===!0?{ref:R,code:(0,Oo.stringify)(R)}:{ref:R});e.subschema({schema:R,dataTypes:[],schemaPath:Oo.nil,topSchemaRef:S,errSchemaPath:`/definitions/${r}`},c)}}};function jr(e){for(const n in e){let o;if(n==="ref"||typeof(o=e[n])=="object"&&jr(o))return!0}return!1}Ln.hasRef=jr,Ln.default=yi;var xr={},ir={};Object.defineProperty(ir,"__esModule",{value:!0});const Li=/t|\s/i,Bi=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,ki=/^(\d\d):(\d\d):(\d\d)(?:\.\d+)?(?:z|([+-]\d\d)(?::?(\d\d))?)$/i,Mi=[0,31,28,31,30,31,30,31,31,30,31,30,31];function es(e,n){const o=e.split(Li);return o.length===2&&ns(o[0])&&Xi(o[1])||n&&o.length===1&&ns(o[0])}ir.default=es;function ns(e){const n=Bi.exec(e);if(!n)return!1;const o=+n[1],r=+n[2],t=+n[3];return r>=1&&r<=12&&t>=1&&(t<=Mi[r]||r===2&&t===29&&(o%100===0?o%400===0:o%4===0))}function Xi(e){const n=ki.exec(e);if(!n)return!1;const o=+n[1],r=+n[2],t=+n[3],s=+(n[4]||0),u=+(n[5]||0);return o<=23&&r<=59&&t<=59||o-s===23&&r-u===59&&t===60}es.code='require("ajv/dist/runtime/timestamp").default';var ke={};Object.defineProperty(ke,"__esModule",{value:!0}),ke.typeErrorParams=ke.typeErrorMessage=ke.typeError=void 0;const $i=le;function ji(e){return{message:n=>os(n,e),params:n=>rs(n,e)}}ke.typeError=ji;function os({parentSchema:e},n){return e!=null&&e.nullable?`must be ${n} or null`:`must be ${n}`}ke.typeErrorMessage=os;function rs({parentSchema:e},n){return(0,$i._)`{type: ${n}, nullable: ${!!(e!=null&&e.nullable)}}`}ke.typeErrorParams=rs,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.intRange=void 0;const n=le,o=ir,r=Ae,t=Be,s=ke;e.intRange={int8:[-128,127,3],uint8:[0,255,3],int16:[-32768,32767,5],uint16:[0,65535,5],int32:[-2147483648,2147483647,10],uint32:[0,4294967295,10]};const u={message:m=>(0,s.typeErrorMessage)(m,m.schema),params:m=>(0,s.typeErrorParams)(m,m.schema)};function c(m){const{gen:h,data:R,it:S}=m,{timestamp:C,allowDate:D}=S.opts;if(C==="date")return(0,n._)`${R} instanceof Date `;const L=(0,r.useFunc)(h,o.default),b=D?(0,n._)`, true`:n.nil,p=(0,n._)`typeof ${R} == "string" && ${L}(${R}${b})`;return C==="string"?p:(0,n.or)((0,n._)`${R} instanceof Date`,p)}const E={keyword:"type",schemaType:"string",error:u,code(m){(0,t.checkMetadata)(m);const{data:h,schema:R,parentSchema:S,it:C}=m;let D;switch(R){case"boolean":case"string":D=(0,n._)`typeof ${h} == ${R}`;break;case"timestamp":{D=c(m);break}case"float32":case"float64":D=(0,n._)`typeof ${h} == "number"`;break;default:{const L=R;if(D=(0,n._)`typeof ${h} == "number" && isFinite(${h}) && !(${h} % 1)`,!C.opts.int32range&&(L==="int32"||L==="uint32"))L==="uint32"&&(D=(0,n._)`${D} && ${h} >= 0`);else{const[b,p]=e.intRange[L];D=(0,n._)`${D} && ${h} >= ${b} && ${h} <= ${p}`}}}m.pass(S.nullable?(0,n.or)((0,n._)`${h} === null`,D):D)}};e.default=E}(xr);var Fr={},ze={};Object.defineProperty(ze,"__esModule",{value:!0}),ze.checkNullableObject=ze.checkNullable=void 0;const ur=le;function ts({gen:e,data:n,parentSchema:o},r=ur.nil){const t=e.name("valid");return o.nullable?(e.let(t,(0,ur._)`${n} === null`),r=(0,ur.not)(t)):e.let(t,!1),[t,r]}ze.checkNullable=ts;function xi(e,n){const[o,r]=ts(e,n);return[o,(0,ur._)`${r} && typeof ${e.data} == "object" && !Array.isArray(${e.data})`]}ze.checkNullableObject=xi,Object.defineProperty(Fr,"__esModule",{value:!0});const gn=le,Fi=Be,Vi=ze,Ki={keyword:"enum",schemaType:"array",error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>(0,gn._)`{allowedValues: ${e}}`},code(e){(0,Fi.checkMetadata)(e);const{gen:n,data:o,schema:r,schemaValue:t,parentSchema:s,it:u}=e;if(r.length===0)throw new Error("enum must have non-empty array");if(r.length!==new Set(r).size)throw new Error("enum items must be unique");let c;const E=(0,gn._)`typeof ${o} == "string"`;if(r.length>=u.opts.loopEnum){let h;[c,h]=(0,Vi.checkNullable)(e,E),n.if(h,m)}else{if(!Array.isArray(r))throw new Error("ajv implementation error");c=(0,gn.and)(E,(0,gn.or)(...r.map(h=>(0,gn._)`${o} === ${h}`))),s.nullable&&(c=(0,gn.or)((0,gn._)`${o} === null`,c))}e.pass(c);function m(){n.forOf("v",t,h=>n.if((0,gn._)`${c} = ${o} === ${h}`,()=>n.break()))}}};Fr.default=Ki;var Vr={};Object.defineProperty(Vr,"__esModule",{value:!0});const Wi=Ae,Yi=ae,ss=le,Ji=Be,zi=ze,qi={keyword:"elements",schemaType:"object",error:(0,ke.typeError)("array"),code(e){(0,Ji.checkMetadata)(e);const{gen:n,data:o,schema:r,it:t}=e;if((0,Wi.alwaysValidSchema)(t,r))return;const[s]=(0,zi.checkNullable)(e);n.if((0,ss.not)(s),()=>n.if((0,ss._)`Array.isArray(${o})`,()=>n.assign(s,(0,Yi.validateArray)(e)),()=>e.error())),e.ok(s)}};Vr.default=qi;var Kr={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateProperties=e.error=void 0;const n=ae,o=Ae,r=le,t=Be,s=ze,u=ke;var c;(function(h){h.Additional="additional",h.Missing="missing"})(c||(c={})),e.error={message:h=>{const{params:R}=h;return R.propError?R.propError===c.Additional?"must NOT have additional properties":`must have property '${R.missingProperty}'`:(0,u.typeErrorMessage)(h,"object")},params:h=>{const{params:R}=h;return R.propError?R.propError===c.Additional?(0,r._)`{error: ${R.propError}, additionalProperty: ${R.additionalProperty}}`:(0,r._)`{error: ${R.propError}, missingProperty: ${R.missingProperty}}`:(0,u.typeErrorParams)(h,"object")}};const E={keyword:"properties",schemaType:"object",error:e.error,code:m};function m(h){(0,t.checkMetadata)(h);const{gen:R,data:S,parentSchema:C,it:D}=h,{additionalProperties:L,nullable:b}=C;if(D.jtdDiscriminator&&b)throw new Error("JTD: nullable inside discriminator mapping");if(I())throw new Error("JTD: properties and optionalProperties have common members");const[p,U]=G("properties"),[H,w]=G("optionalProperties");if(U.length===0&&w.length===0&&L)return;const[F,N]=D.jtdDiscriminator===void 0?(0,s.checkNullableObject)(h,S):[R.let("valid",!1),!0];R.if(N,()=>R.assign(F,!0).block(()=>{V(U,"properties",!0),V(w,"optionalProperties"),L||pe()})),h.pass(F);function I(){const ue=C.properties,ne=C.optionalProperties;if(!(ue&&ne))return!1;for(const fe in ue)if(Object.prototype.hasOwnProperty.call(ne,fe))return!0;return!1}function G(ue){const ne=C[ue],fe=ne?(0,n.allSchemaProperties)(ne):[];if(D.jtdDiscriminator&&fe.some(He=>He===D.jtdDiscriminator))throw new Error(`JTD: discriminator tag used in ${ue}`);const Te=fe.filter(He=>!(0,o.alwaysValidSchema)(D,ne[He]));return[fe,Te]}function V(ue,ne,fe){const Te=R.var("valid");for(const $e of ue)R.if((0,n.propertyInData)(R,S,$e,D.opts.ownProperties),()=>q($e,ne,Te),()=>He($e)),h.ok(Te);function He($e){fe?(R.assign(Te,!1),h.error(!1,{propError:c.Missing,missingProperty:$e},{schemaPath:$e})):R.assign(Te,!0)}}function q(ue,ne,fe){h.subschema({keyword:ne,schemaProp:ue,dataProp:ue},fe)}function pe(){R.forIn("key",S,ue=>{const ne=D.jtdDiscriminator===void 0?p:[D.jtdDiscriminator].concat(p),fe=ee(ue,ne,"properties"),Te=ee(ue,H,"optionalProperties"),He=fe===!0?Te:Te===!0?fe:(0,r.and)(fe,Te);R.if(He,()=>{D.opts.removeAdditional?R.code((0,r._)`delete ${S}[${ue}]`):(h.error(!1,{propError:c.Additional,additionalProperty:ue},{instancePath:ue,parentSchema:!0}),D.opts.allErrors||R.break())})})}function ee(ue,ne,fe){let Te;if(ne.length>8){const He=(0,o.schemaRefOrVal)(D,C[fe],fe);Te=(0,r.not)((0,n.isOwnProperty)(R,He,ue))}else ne.length?Te=(0,r.and)(...ne.map(He=>(0,r._)`${ue} !== ${He}`)):Te=!0;return Te}}e.validateProperties=m,e.default=E})(Kr);var Wr={};Object.defineProperty(Wr,"__esModule",{value:!0});const as=Kr,Qi={keyword:"optionalProperties",schemaType:"object",error:as.error,code(e){e.parentSchema.properties||(0,as.validateProperties)(e)}};Wr.default=Qi;var Yr={},is={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.DiscrError=void 0,function(n){n.Tag="tag",n.Mapping="mapping"}(e.DiscrError||(e.DiscrError={}))})(is),Object.defineProperty(Yr,"__esModule",{value:!0});const kn=le,Zi=Be,eu=ze,us=ke,_r=is,nu={keyword:"discriminator",schemaType:"string",implements:["mapping"],error:{message:e=>{const{schema:n,params:o}=e;return o.discrError?o.discrError===_r.DiscrError.Tag?`tag "${n}" must be string`:`value of tag "${n}" must be in mapping`:(0,us.typeErrorMessage)(e,"object")},params:e=>{const{schema:n,params:o}=e;return o.discrError?(0,kn._)`{error: ${o.discrError}, tag: ${n}, tagValue: ${o.tag}}`:(0,us.typeErrorParams)(e,"object")}},code(e){(0,Zi.checkMetadata)(e);const{gen:n,data:o,schema:r,parentSchema:t}=e,[s,u]=(0,eu.checkNullableObject)(e,o);n.if(u),c(),n.elseIf((0,kn.not)(s)),e.error(),n.endIf(),e.ok(s);function c(){const h=n.const("tag",(0,kn._)`${o}${(0,kn.getProperty)(r)}`);n.if((0,kn._)`${h} === undefined`),e.error(!1,{discrError:_r.DiscrError.Tag,tag:h}),n.elseIf((0,kn._)`typeof ${h} == "string"`),E(h),n.else(),e.error(!1,{discrError:_r.DiscrError.Tag,tag:h},{instancePath:r}),n.endIf()}function E(h){n.if(!1);for(const R in t.mapping)n.elseIf((0,kn._)`${h} === ${R}`),n.assign(s,m(R));n.else(),e.error(!1,{discrError:_r.DiscrError.Mapping,tag:h},{instancePath:r,schemaPath:"mapping",parentSchema:!0}),n.endIf()}function m(h){const R=n.name("valid");return e.subschema({keyword:"mapping",schemaProp:h,jtdDiscriminator:r},R),R}}};Yr.default=nu;var Jr={};Object.defineProperty(Jr,"__esModule",{value:!0});const _s=Ae,ls=le,ou=Be,ru=ze,tu={keyword:"values",schemaType:"object",error:(0,ke.typeError)("object"),code(e){(0,ou.checkMetadata)(e);const{gen:n,data:o,schema:r,it:t}=e;if((0,_s.alwaysValidSchema)(t,r))return;const[s,u]=(0,ru.checkNullableObject)(e,o);n.if(u),n.assign(s,c()),n.elseIf((0,ls.not)(s)),e.error(),n.endIf(),e.ok(s);function c(){const E=n.name("valid");if(t.allErrors){const h=n.let("valid",!0);return m(()=>n.assign(h,!1)),h}return n.var(E,!0),m(()=>n.break()),E;function m(h){n.forIn("key",o,R=>{e.subschema({keyword:"values",dataProp:R,dataPropType:_s.Type.Str},E),n.if((0,ls.not)(E),h)})}}}};Jr.default=tu;var zr={};Object.defineProperty(zr,"__esModule",{value:!0});const su={keyword:"union",schemaType:"array",trackErrors:!0,code:ae.validateUnion,error:{message:"must match a schema in union"}};zr.default=su,Object.defineProperty($r,"__esModule",{value:!0});const au=Ln,iu=xr,uu=Fr,_u=Vr,lu=Kr,cu=Wr,du=Yr,hu=Jr,mu=zr,pu=Be,Eu=["definitions",au.default,iu.default,uu.default,_u.default,lu.default,cu.default,du.default,hu.default,mu.default,pu.default,{keyword:"additionalProperties",schemaType:"boolean"},{keyword:"nullable",schemaType:"boolean"}];$r.default=Eu;var qr={};Object.defineProperty(qr,"__esModule",{value:!0});const _n=e=>{const n={nullable:{type:"boolean"},metadata:{optionalProperties:{union:{elements:{ref:"schema"}}},additionalProperties:!0}};return e&&(n.definitions={values:{ref:"schema"}}),n},fu=e=>({optionalProperties:_n(e)}),Ru=e=>({properties:{ref:{type:"string"}},optionalProperties:_n(e)}),Ou=e=>({properties:{type:{enum:["boolean","timestamp","string","float32","float64","int8","uint8","int16","uint16","int32","uint32"]}},optionalProperties:_n(e)}),Tu=e=>({properties:{enum:{elements:{type:"string"}}},optionalProperties:_n(e)}),gu=e=>({properties:{elements:{ref:"schema"}},optionalProperties:_n(e)}),cs=e=>({properties:{properties:{values:{ref:"schema"}}},optionalProperties:Q({optionalProperties:{values:{ref:"schema"}},additionalProperties:{type:"boolean"}},_n(e))}),ds=e=>({properties:{optionalProperties:{values:{ref:"schema"}}},optionalProperties:Q({additionalProperties:{type:"boolean"}},_n(e))}),Nu=e=>({properties:{discriminator:{type:"string"},mapping:{values:{metadata:{union:[cs(!1),ds(!1)]}}}},optionalProperties:_n(e)}),Iu=e=>({properties:{values:{ref:"schema"}},optionalProperties:_n(e)}),hs=e=>({metadata:{union:[fu,Ru,Ou,Tu,gu,cs,ds,Nu,Iu].map(n=>n(e))}}),bu=Q({definitions:{schema:hs(!1)}},hs(!0));qr.default=bu;var Qr={},To={};Object.defineProperty(To,"__esModule",{value:!0}),To.jtdForms=void 0,To.jtdForms=["elements","values","discriminator","properties","optionalProperties","enum","type","ref"];var Zr={};Object.defineProperty(Zr,"__esModule",{value:!0});const et=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Au={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function ms(e){return et.lastIndex=0,'"'+(et.test(e)?e.replace(et,n=>{const o=Au[n];return typeof o=="string"?o:"\\u"+("0000"+n.charCodeAt(0).toString(16)).slice(-4)}):e)+'"'}Zr.default=ms,ms.code='require("ajv/dist/runtime/quote").default',Object.defineProperty(Qr,"__esModule",{value:!0});const Hu=To,ps=Pe,te=le,Uu=Cn,me=Le,Su=ae,Pu=Ln,vu=Ae,Du=Zr,wu={elements:Cu,values:yu,discriminator:Lu,properties:Rs,optionalProperties:Rs,enum:No,type:Bu,ref:Mu};function Es(e,n){const o=ps.getCompilingSchema.call(this,e);if(o)return o;const{es5:r,lines:t}=this.opts.code,{ownProperties:s}=this.opts,u=new te.CodeGen(this.scope,{es5:r,lines:t,ownProperties:s}),c=u.scopeName("serialize"),E={self:this,gen:u,schema:e.schema,schemaEnv:e,definitions:n,data:me.default.data};let m;try{this._compilations.add(e),e.serializeName=c,u.func(c,me.default.data,!1,()=>{u.let(me.default.json,(0,te.str)``),go(E),u.return(me.default.json)}),u.optimize(this.opts.code.optimize);const h=u.toString();m=`${u.scopeRefs(me.default.scope)}return ${h}`;const S=new Function(`${me.default.scope}`,m)(this.scope.get());this.scope.value(c,{ref:S}),e.serialize=S}catch(h){throw m&&this.logger.error("Error compiling serializer, function code:",m),delete e.serialize,delete e.serializeName,h}finally{this._compilations.delete(e)}return e}Qr.default=Es;function go(e){let n;for(const o of Hu.jtdForms)if(o in e.schema){n=o;break}Gu(e,n?wu[n]:$u)}function Gu(e,n){const{gen:o,schema:r,data:t}=e;if(!r.nullable)return n(e);o.if((0,te._)`${t} === undefined || ${t} === null`,()=>o.add(me.default.json,(0,te._)`"null"`),()=>n(e))}function Cu(e){const{gen:n,schema:o,data:r}=e;n.add(me.default.json,(0,te.str)`[`);const t=n.let("first",!0);n.forOf("el",r,s=>{Ts(e,t),go(ce(Q({},e),{schema:o.elements,data:s}))}),n.add(me.default.json,(0,te.str)`]`)}function yu(e){const{gen:n,schema:o,data:r}=e;n.add(me.default.json,(0,te.str)`{`);const t=n.let("first",!0);n.forIn("key",r,s=>fs(e,s,o.values,t)),n.add(me.default.json,(0,te.str)`}`)}function fs(e,n,o,r){const{gen:t,data:s}=e;Ts(e,r),No(ce(Q({},e),{data:n})),t.add(me.default.json,(0,te.str)`:`);const u=t.const("value",(0,te._)`${s}${(0,te.getProperty)(n)}`);go(ce(Q({},e),{schema:o,data:u}))}function Lu(e){const{gen:n,schema:o,data:r}=e,{discriminator:t}=o;n.add(me.default.json,(0,te.str)`{${JSON.stringify(t)}:`);const s=n.const("tag",(0,te._)`${r}${(0,te.getProperty)(t)}`);No(ce(Q({},e),{data:s})),n.if(!1);for(const u in o.mapping){n.elseIf((0,te._)`${s} === ${u}`);const c=o.mapping[u];Os(ce(Q({},e),{schema:c}),t)}n.endIf(),n.add(me.default.json,(0,te.str)`}`)}function Rs(e){const{gen:n}=e;n.add(me.default.json,(0,te.str)`{`),Os(e),n.add(me.default.json,(0,te.str)`}`)}function Os(e,n){const{gen:o,schema:r,data:t}=e,{properties:s,optionalProperties:u}=r,c=R(s),E=R(u),m=S(c.concat(E));let h=!n;for(const b of c)D(b,s[b],C(b));for(const b of E){const p=C(b);o.if((0,te.and)((0,te._)`${p} !== undefined`,(0,Su.isOwnProperty)(o,t,b)),()=>D(b,u[b],p))}r.additionalProperties&&o.forIn("key",t,b=>o.if(L(b,m),()=>fs(e,b,{},o.let("first",h))));function R(b){return b?Object.keys(b):[]}function S(b){if(n&&b.push(n),new Set(b).size!==b.length)throw new Error("JTD: properties/optionalProperties/disciminator overlap");return b}function C(b){return o.const("value",(0,te._)`${t}${(0,te.getProperty)(b)}`)}function D(b,p,U){h?h=!1:o.add(me.default.json,(0,te.str)`,`),o.add(me.default.json,(0,te.str)`${JSON.stringify(b)}:`),go(ce(Q({},e),{schema:p,data:U}))}function L(b,p){return p.length?(0,te.and)(...p.map(U=>(0,te._)`${b} !== ${U}`)):!0}}function Bu(e){const{gen:n,schema:o,data:r}=e;switch(o.type){case"boolean":n.add(me.default.json,(0,te._)`${r} ? "true" : "false"`);break;case"string":No(e);break;case"timestamp":n.if((0,te._)`${r} instanceof Date`,()=>n.add(me.default.json,(0,te._)`'"' + ${r}.toISOString() + '"'`),()=>No(e));break;default:ku(e)}}function No({gen:e,data:n}){e.add(me.default.json,(0,te._)`${(0,vu.useFunc)(e,Du.default)}(${n})`)}function ku({gen:e,data:n}){e.add(me.default.json,(0,te._)`"" + ${n}`)}function Mu(e){const{gen:n,self:o,data:r,definitions:t,schema:s,schemaEnv:u}=e,{ref:c}=s,E=t[c];if(!E)throw new Uu.default(o.opts.uriResolver,"",c,`No definition ${c}`);if(!(0,Pu.hasRef)(E))return go(ce(Q({},e),{schema:E}));const{root:m}=u,h=Es.call(o,new ps.SchemaEnv({schema:E,root:m}),t);n.add(me.default.json,(0,te._)`${Xu(n,h)}(${r})`)}function Xu(e,n){return n.serialize?e.scopeValue("serialize",{ref:n.serialize}):(0,te._)`${e.scopeValue("wrapper",{ref:n})}.serialize`}function $u({gen:e,data:n}){e.add(me.default.json,(0,te._)`JSON.stringify(${n})`)}function Ts({gen:e},n){e.if(n,()=>e.assign(n,!1),()=>e.add(me.default.json,(0,te.str)`,`))}var nt={},Nn={};Object.defineProperty(Nn,"__esModule",{value:!0}),Nn.parseJsonString=Nn.parseJsonNumber=Nn.parseJson=void 0;const ju=/position\s(\d+)$/;function ln(e,n){let o;ln.message=void 0;let r;n&&(e=e.slice(n));try{return ln.position=n+e.length,JSON.parse(e)}catch(t){if(r=ju.exec(t.message),!r){ln.message="unexpected end";return}o=+r[1];const s=e[o];e=e.slice(0,o),ln.position=n+o;try{return JSON.parse(e)}catch{ln.message=`unexpected token ${s}`;return}}}Nn.parseJson=ln,ln.message=void 0,ln.position=0,ln.code='require("ajv/dist/runtime/parseJson").parseJson';function cn(e,n,o){let r="",t;if(cn.message=void 0,e[n]==="-"&&(r+="-",n++),e[n]==="0")r+="0",n++;else if(!s(o)){u();return}if(o)return cn.position=n,+r;if(e[n]==="."&&(r+=".",n++,!s())){u();return}if(t=e[n],(t==="e"||t==="E")&&(r+="e",n++,t=e[n],(t==="+"||t==="-")&&(r+=t,n++),!s())){u();return}return cn.position=n,+r;function s(c){let E=!1;for(;t=e[n],t>="0"&&t<="9"&&(c===void 0||c-- >0);)E=!0,r+=t,n++;return E}function u(){cn.position=n,cn.message=n<e.length?`unexpected token ${e[n]}`:"unexpected end"}}Nn.parseJsonNumber=cn,cn.message=void 0,cn.position=0,cn.code='require("ajv/dist/runtime/parseJson").parseJsonNumber';const gs={b:"\b",f:"\f",n:`
6
- `,r:"\r",t:" ",'"':'"',"/":"/","\\":"\\"},xu="a".charCodeAt(0),Fu="0".charCodeAt(0);function In(e,n){let o="",r;for(In.message=void 0;r=e[n++],r!=='"';)if(r==="\\")if(r=e[n],r in gs)o+=gs[r],n++;else if(r==="u"){n++;let s=4,u=0;for(;s--;){if(u<<=4,r=e[n],r===void 0){t("unexpected end");return}if(r=r.toLowerCase(),r>="a"&&r<="f")u+=r.charCodeAt(0)-xu+10;else if(r>="0"&&r<="9")u+=r.charCodeAt(0)-Fu;else{t(`unexpected token ${r}`);return}n++}o+=String.fromCharCode(u)}else{t(`unexpected token ${r}`);return}else if(r===void 0){t("unexpected end");return}else if(r.charCodeAt(0)>=32)o+=r;else{t(`unexpected token ${r}`);return}return In.position=n,o;function t(s){In.position=n,In.message=s}}Nn.parseJsonString=In,In.message=void 0,In.position=0,In.code='require("ajv/dist/runtime/parseJson").parseJsonString',Object.defineProperty(nt,"__esModule",{value:!0});const Vu=To,Ns=Pe,$=le,Ku=Cn,Z=Le,Wu=ae,Yu=Ln,Ju=xr,ot=Nn,Is=Ae,zu=ir,qu={elements:n_,values:o_,discriminator:t_,properties:Hs,optionalProperties:Hs,enum:a_,type:s_,ref:i_};function bs(e,n){const o=Ns.getCompilingSchema.call(this,e);if(o)return o;const{es5:r,lines:t}=this.opts.code,{ownProperties:s}=this.opts,u=new $.CodeGen(this.scope,{es5:r,lines:t,ownProperties:s}),c=u.scopeName("parse"),E={self:this,gen:u,schema:e.schema,schemaEnv:e,definitions:n,data:Z.default.data,parseName:c,char:u.name("c")};let m;try{this._compilations.add(e),e.parseName=c,Qu(E),u.optimize(this.opts.code.optimize);const h=u.toString();m=`${u.scopeRefs(Z.default.scope)}return ${h}`;const S=new Function(`${Z.default.scope}`,m)(this.scope.get());this.scope.value(c,{ref:S}),e.parse=S}catch(h){throw m&&this.logger.error("Error compiling parser, function code:",m),delete e.parse,delete e.parseName,h}finally{this._compilations.delete(e)}return e}nt.default=bs;const rt=(0,$._)`undefined`;function Qu(e){const{gen:n,parseName:o,char:r}=e;n.func(o,(0,$._)`${Z.default.json}, ${Z.default.jsonPos}, ${Z.default.jsonPart}`,!1,()=>{n.let(Z.default.data),n.let(r),n.assign((0,$._)`${o}.message`,rt),n.assign((0,$._)`${o}.position`,rt),n.assign(Z.default.jsonPos,(0,$._)`${Z.default.jsonPos} || 0`),n.const(Z.default.jsonLen,(0,$._)`${Z.default.json}.length`),lr(e),ut(e),n.if(Z.default.jsonPart,()=>{n.assign((0,$._)`${o}.position`,Z.default.jsonPos),n.return(Z.default.data)}),n.if((0,$._)`${Z.default.jsonPos} === ${Z.default.jsonLen}`,()=>n.return(Z.default.data)),eo(e)})}function lr(e){let n;for(const o of Vu.jtdForms)if(o in e.schema){n=o;break}n?e_(e,qu[n]):at(e)}const Zu=vs(!0,vs(!1,eo));function e_(e,n){const{gen:o,schema:r,data:t}=e;if(!r.nullable)return n(e);Io(e,"null",n,()=>o.assign(t,null))}function n_(e){const{gen:n,schema:o,data:r}=e;qe(e,"[");const t=n.let("i",0);n.assign(r,(0,$._)`[]`),tt(e,"]",()=>{const s=n.let("el");lr(ce(Q({},e),{schema:o.elements,data:s})),n.assign((0,$._)`${r}[${t}++]`,s)})}function o_(e){const{gen:n,schema:o,data:r}=e;qe(e,"{"),n.assign(r,(0,$._)`{}`),tt(e,"}",()=>r_(e,o.values))}function tt(e,n,o){As(e,n,o),qe(e,n)}function As(e,n,o){const{gen:r}=e;r.for((0,$._)`;${Z.default.jsonPos}<${Z.default.jsonLen} && ${cr(1)}!==${n};`,()=>{o(),Io(e,",",()=>r.break(),t)});function t(){Io(e,n,()=>{},eo)}}function r_(e,n){const{gen:o}=e,r=o.let("key");Mn(ce(Q({},e),{data:r})),qe(e,":"),Ps(e,r,n)}function t_(e){const{gen:n,data:o,schema:r}=e,{discriminator:t,mapping:s}=r;qe(e,"{"),n.assign(o,(0,$._)`{}`);const u=n.const("pos",Z.default.jsonPos),c=n.let("value"),E=n.let("tag");As(e,"}",()=>{const m=n.let("key");Mn(ce(Q({},e),{data:m})),qe(e,":"),n.if((0,$._)`${m} === ${t}`,()=>{Mn(ce(Q({},e),{data:E})),n.assign((0,$._)`${o}[${m}]`,E),n.break()},()=>at(ce(Q({},e),{data:c})))}),n.assign(Z.default.jsonPos,u),n.if((0,$._)`${E} === undefined`),dn(e,(0,$.str)`discriminator tag not found`);for(const m in s)n.elseIf((0,$._)`${E} === ${m}`),Us(ce(Q({},e),{schema:s[m]}),t);n.else(),dn(e,(0,$.str)`discriminator value not in schema`),n.endIf()}function Hs(e){const{gen:n,data:o}=e;qe(e,"{"),n.assign(o,(0,$._)`{}`),Us(e)}function Us(e,n){const{gen:o,schema:r,data:t}=e,{properties:s,optionalProperties:u,additionalProperties:c}=r;if(tt(e,"}",()=>{const E=o.let("key");if(Mn(ce(Q({},e),{data:E})),qe(e,":"),o.if(!1),Ss(e,E,s),Ss(e,E,u),n){o.elseIf((0,$._)`${E} === ${n}`);const m=o.let("tag");Mn(ce(Q({},e),{data:m}))}o.else(),c?at(ce(Q({},e),{data:(0,$._)`${t}[${E}]`})):dn(e,(0,$.str)`property ${E} not allowed`),o.endIf()}),s){const E=(0,Wu.hasPropFunc)(o),m=(0,$.and)(...Object.keys(s).map(h=>(0,$._)`${E}.call(${t}, ${h})`));o.if((0,$.not)(m),()=>dn(e,(0,$.str)`missing required properties`))}}function Ss(e,n,o={}){const{gen:r}=e;for(const t in o)r.elseIf((0,$._)`${n} === ${t}`),Ps(e,n,o[t])}function Ps(e,n,o){lr(ce(Q({},e),{schema:o,data:(0,$._)`${e.data}[${n}]`}))}function s_(e){const{gen:n,schema:o,data:r,self:t}=e;switch(o.type){case"boolean":Zu(e);break;case"string":Mn(e);break;case"timestamp":{Mn(e);const s=(0,Is.useFunc)(n,zu.default),{allowDate:u,parseDate:c}=t.opts,E=u?(0,$._)`!${s}(${r}, true)`:(0,$._)`!${s}(${r})`,m=c?(0,$.or)(E,(0,$._)`(${r} = new Date(${r}), false)`,(0,$._)`isNaN(${r}.valueOf())`):E;n.if(m,()=>dn(e,(0,$.str)`invalid timestamp`));break}case"float32":case"float64":st(e);break;default:{const s=o.type;if(!t.opts.int32range&&(s==="int32"||s==="uint32"))st(e,16),s==="uint32"&&n.if((0,$._)`${r} < 0`,()=>dn(e,(0,$.str)`integer out of range`));else{const[u,c,E]=Ju.intRange[s];st(e,E),n.if((0,$._)`${r} < ${u} || ${r} > ${c}`,()=>dn(e,(0,$.str)`integer out of range`))}}}}function Mn(e){qe(e,'"'),it(e,ot.parseJsonString)}function a_(e){const{gen:n,data:o,schema:r}=e,t=r.enum;qe(e,'"'),n.if(!1);for(const s of t){const u=JSON.stringify(s).slice(1);n.elseIf((0,$._)`${cr(u.length)} === ${u}`),n.assign(o,(0,$.str)`${s}`),n.add(Z.default.jsonPos,u.length)}n.else(),eo(e),n.endIf()}function st(e,n){const{gen:o}=e;ut(e),o.if((0,$._)`"-0123456789".indexOf(${cr(1)}) < 0`,()=>eo(e),()=>it(e,ot.parseJsonNumber,n))}function vs(e,n){return o=>{const{gen:r,data:t}=o;Io(o,`${e}`,()=>n(o),()=>r.assign(t,e))}}function i_(e){const{gen:n,self:o,definitions:r,schema:t,schemaEnv:s}=e,{ref:u}=t,c=r[u];if(!c)throw new Ku.default(o.opts.uriResolver,"",u,`No definition ${u}`);if(!(0,Yu.hasRef)(c))return lr(ce(Q({},e),{schema:c}));const{root:E}=s,m=bs.call(o,new Ns.SchemaEnv({schema:c,root:E}),r);Ds(e,u_(n,m),!0)}function u_(e,n){return n.parse?e.scopeValue("parse",{ref:n.parse}):(0,$._)`${e.scopeValue("wrapper",{ref:n})}.parse`}function at(e){it(e,ot.parseJson)}function it(e,n,o){Ds(e,(0,Is.useFunc)(e.gen,n),o)}function Ds(e,n,o){const{gen:r,data:t}=e;r.assign(t,(0,$._)`${n}(${Z.default.json}, ${Z.default.jsonPos}${o?(0,$._)`, ${o}`:$.nil})`),r.assign(Z.default.jsonPos,(0,$._)`${n}.position`),r.if((0,$._)`${t} === undefined`,()=>dn(e,(0,$._)`${n}.message`))}function qe(e,n){Io(e,n,eo)}function Io(e,n,o,r){const{gen:t}=e,s=n.length;ut(e),t.if((0,$._)`${cr(s)} === ${n}`,()=>{t.add(Z.default.jsonPos,s),r==null||r(e)},()=>o(e))}function ut({gen:e,char:n}){e.code((0,$._)`while((${n}=${Z.default.json}[${Z.default.jsonPos}],${n}===" "||${n}==="\\n"||${n}==="\\r"||${n}==="\\t"))${Z.default.jsonPos}++;`)}function cr(e){return e===1?(0,$._)`${Z.default.json}[${Z.default.jsonPos}]`:(0,$._)`${Z.default.json}.slice(${Z.default.jsonPos}, ${Z.default.jsonPos}+${e})`}function eo(e){dn(e,(0,$._)`"unexpected token " + ${Z.default.json}[${Z.default.jsonPos}]`)}function dn({gen:e,parseName:n},o){e.assign((0,$._)`${n}.message`,o),e.assign((0,$._)`${n}.position`,Z.default.jsonPos),e.return(rt)}(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.CodeGen=n.Name=n.nil=n.stringify=n.str=n._=n.KeywordCxt=void 0;const o=pt,r=$r,t=qr,s=Qr,u=nt,c="JTD-meta-schema";class E extends o.default{constructor(S={}){super(ce(Q({},S),{jtd:!0}))}_addVocabularies(){super._addVocabularies(),this.addVocabulary(r.default)}_addDefaultMetaSchema(){super._addDefaultMetaSchema(),this.opts.meta&&this.addMetaSchema(t.default,c,!1)}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(c)?c:void 0)}compileSerializer(S){const C=this._addSchema(S);return C.serialize||this._compileSerializer(C)}compileParser(S){const C=this._addSchema(S);return C.parse||this._compileParser(C)}_compileSerializer(S){if(s.default.call(this,S,S.schema.definitions||{}),!S.serialize)throw new Error("ajv implementation error");return S.serialize}_compileParser(S){if(u.default.call(this,S,S.schema.definitions||{}),!S.parse)throw new Error("ajv implementation error");return S.parse}}e.exports=n=E,Object.defineProperty(n,"__esModule",{value:!0}),n.default=E;var m=We;Object.defineProperty(n,"KeywordCxt",{enumerable:!0,get:function(){return m.KeywordCxt}});var h=le;Object.defineProperty(n,"_",{enumerable:!0,get:function(){return h._}}),Object.defineProperty(n,"str",{enumerable:!0,get:function(){return h.str}}),Object.defineProperty(n,"stringify",{enumerable:!0,get:function(){return h.stringify}}),Object.defineProperty(n,"nil",{enumerable:!0,get:function(){return h.nil}}),Object.defineProperty(n,"Name",{enumerable:!0,get:function(){return h.Name}}),Object.defineProperty(n,"CodeGen",{enumerable:!0,get:function(){return h.CodeGen}})})(Ur,Ur.exports);var __=sn&&sn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Dn,"__esModule",{value:!0}),Dn.Validate=Dn.AddSchema=void 0;const l_=__(Ur.exports),ws=new l_.default,c_=(e,n)=>e(n)?null:e.errors;function d_(e,n){ws.addSchema(n,e)}Dn.AddSchema=d_;function h_(e,n){const o=ws.getSchema(e);if(o)return c_(o,n)}Dn.Validate=h_,Object.defineProperty(qo,"__esModule",{value:!0}),qo.STSOptionsBase=void 0;const m_=Dn;class p_{constructor(n=null){mo(this,"_options");this._options=n,n!==null&&(typeof n.validator=="undefined"||(0,m_.Validate)(n.validator,n))}get options(){return this._options}}qo.STSOptionsBase=p_;var no={};Object.defineProperty(no,"__esModule",{value:!0}),no.JestSleep=no.Sleep=void 0;async function Gs(e=1e3){return new Promise(n=>setTimeout(n,e))}no.Sleep=Gs;async function E_(){return Gs(100)}no.JestSleep=E_;var Cs={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.compareParameterTypes=e.OAuth2ParameterErrorType=e.OIDCAddressClaim=e.OIDCStandardClaim=e.OAuth2ParameterType=void 0,function(r){r.AUDIENCE="AUDIENCE",r.CLIENT_ID="client_id",r.CLIENT_SECRET="client_secret",r.RESPONSE_TYPE="response_type",r.SCOPE="scope",r.STATE="state",r.REDIRECT_URI="redirect_uri",r.ERROR="error",r.ERROR_DESCRIPTION="error_description",r.ERROR_CODES="error_codes",r.ERROR_URI="error_uri",r.GRANT_TYPE="grant_type",r.CODE="code",r.ACCESS_TOKEN="access_token",r.TOKEN_TYPE="token_type",r.EXPIRES_IN="expires_in",r.USERNAME="username",r.PASSWORD="password",r.REFRESH_TOKEN="refresh_token",r.RESPONSE_MODE="response_mode",r.TIMESTAMP="timestamp",r.TRACE_ID="trace_id",r.CORRELATION_ID="correlation_id"}(e.OAuth2ParameterType||(e.OAuth2ParameterType={})),function(r){r.SUB="sub",r.NAME="name",r.GIVEN_NAME="given_name",r.FAMILY_NAME="family_name",r.MIDDLE_NAME="middle_name",r.NICKNAME="nickname",r.PREFERRED_USERNAME="preferred_username",r.PROFILE="profile",r.PICTURE="picture",r.WEBSITE="website",r.EMAIL="email",r.EMAIL_VERIFIED="email_verified",r.GENDER="gender",r.BIRTHDATE="birthdate",r.ZONEINFO="zoneinfo",r.LOCALE="locale",r.PHONE_NUMBER="phone_number",r.PHONE_NUMBER_VERIFIED="phone_number_verified",r.ADDRESS="address",r.CLIENT_SECRET="client_secret",r.NONCE="nonce"}(e.OIDCStandardClaim||(e.OIDCStandardClaim={})),function(r){r.FORMATTED="formatted",r.STREET_ADDRESS="street_address",r.LOCALITY="locality",r.REGION="region",r.COUNTRY="country"}(e.OIDCAddressClaim||(e.OIDCAddressClaim={}));class n{}mo(n,"NOT_EQUAL",{code:"STS_OAUTH2_ERR_0001",description:"Parameter values not equal."}),mo(n,"NOT_PRESENT",{code:"STS_OAUTH2_ERR_0002",description:"Parameter not provided."}),mo(n,"INVALID_FORMAT",{code:"STS_OAUTH2_ERR_0003",description:"Parameter value format invalid."}),mo(n,"EXPIRED",{code:"STS_OAUTH2_ERR_0004",description:"Parameter value expired."}),e.OAuth2ParameterErrorType=n;function o(r,t,s){const u=[];for(let c=0;c<s.length;c++){const E=s[c];if(r[c].localeCompare(t[c])!==0){const m={error:n.NOT_EQUAL.code,error_description:n.NOT_EQUAL.description,timestamp:Date.now(),details:`${n.NOT_EQUAL.description}: Parameter: [${E}]`};u.push(m)}}return u}e.compareParameterTypes=o})(Cs),function(e){var n=sn&&sn.__createBinding||(Object.create?function(t,s,u,c){c===void 0&&(c=u);var E=Object.getOwnPropertyDescriptor(s,u);(!E||("get"in E?!s.__esModule:E.writable||E.configurable))&&(E={enumerable:!0,get:function(){return s[u]}}),Object.defineProperty(t,c,E)}:function(t,s,u,c){c===void 0&&(c=u),t[c]=s[u]}),o=sn&&sn.__exportStar||function(t,s){for(var u in t)u!=="default"&&!Object.prototype.hasOwnProperty.call(s,u)&&n(s,t,u)};Object.defineProperty(e,"__esModule",{value:!0}),e.$stsgdf=e.$stsgd=void 0,o(zo,e),o(qo,e),o(no,e),o(Dn,e),o(Cs,e),e.$stsgd={};function r(){return e.$stsgd}e.$stsgdf=r}(Ke);class ys{constructor(){this.DigestMessage=async function(n){const r=new TextEncoder().encode(n),t=await crypto.subtle.digest("SHA-256",r),s=Array.from(new Uint8Array(t));return btoa(String.fromCharCode(...s))},this.CreateRandomString=(n=43)=>{const o=Array.from(crypto.getRandomValues(new Uint8Array(n)));return btoa(String.fromCharCode(...o))},this.CreateRandomStringEx=()=>{const n="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.";let o="";return Array.from(crypto.getRandomValues(new Uint8Array(43))).forEach(t=>o+=n[t%n.length]),o}}}class Ls{constructor(){this.DecodeQueryParams=n=>{const o={};return Object.keys(n).filter(r=>typeof n[r]!="undefined").map(r=>{o[decodeURIComponent(r)]=decodeURIComponent(n[r])}),o},this.CreateQueryParams=n=>Object.keys(n).filter(o=>typeof n[o]!="undefined").map(o=>Array.isArray(n[o])?encodeURIComponent(o)+"="+encodeURIComponent(n[o].join(" ")):encodeURIComponent(o)+"="+encodeURIComponent(n[o])).join("&"),this._GetQueryParams=n=>{let o={};const r=n.split("?");if(r.length==2){const t=r[1].split("&"),s={};let u="";t.forEach(function(c){u=c.split("="),u.length==2&&(s[u[0]]=u[1])}),o=this.DecodeQueryParams(s)}return o},this.GetQueryParams=()=>this._GetQueryParams(window.location.href)}}var _t=(e=>(e.CODE="code",e.ID_TOKEN="id_token",e.TOKEN="token",e))(_t||{}),lt=(e=>(e.QUERY="query",e.FRAGMENT="fragment",e.FORM_POST="form_post",e))(lt||{}),dr=(e=>(e.CLIENT_CREDENTIALS="client_credentials",e.AUTHORIZATION_CODE="authorization_code",e.REFRESH_TOKEN="refresh_token",e))(dr||{}),De=(e=>(e.RESTORE_SESSION="RestoreSession",e.AUTHORIZE="Authorize",e.HANDLE_REDIRECT="HandleRedirect",e.LOGOUT="Logout",e.AUTHENTICATE_EVENT="AuthenticateEvent",e.ERROR="Error",e))(De||{}),bo=sn&&sn.__assign||function(){return bo=Object.assign||function(e){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var t in n)Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t])}return e},bo.apply(this,arguments)};function Ao(e,n){if(!n)return"";var o="; "+e;return n===!0?o:o+"="+n}function f_(e){if(typeof e.expires=="number"){var n=new Date;n.setMilliseconds(n.getMilliseconds()+e.expires*864e5),e.expires=n}return Ao("Expires",e.expires?e.expires.toUTCString():"")+Ao("Domain",e.domain)+Ao("Path",e.path)+Ao("Secure",e.secure)+Ao("SameSite",e.sameSite)}function R_(e,n,o){return encodeURIComponent(e).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/\(/g,"%28").replace(/\)/g,"%29")+"="+encodeURIComponent(n).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent)+f_(o)}function O_(e){for(var n={},o=e?e.split("; "):[],r=/(%[\dA-F]{2})+/gi,t=0;t<o.length;t++){var s=o[t].split("="),u=s.slice(1).join("=");u.charAt(0)==='"'&&(u=u.slice(1,-1));try{var c=s[0].replace(r,decodeURIComponent);n[c]=u.replace(r,decodeURIComponent)}catch{}}return n}function T_(){return O_(document.cookie)}function g_(e){return T_()[e]}var N_=g_;function Bs(e,n,o){document.cookie=R_(e,n,bo({path:"/"},o))}var I_=Bs;function b_(e,n){Bs(e,"",bo(bo({},n),{expires:-1}))}var A_=b_;const hr=Ar.default(`proc:${0}:storage.ts`);var ct=(e=>(e.LOCAL_STORAGE="LocalStorage",e.SESSION_STORAGE="SessionStorage",e.COOKIE_STORAGE="CookieStorage",e.MEMORY_STORAGE="MemoryStorage",e))(ct||{});class H_{constructor(){this.get=n=>{const o=N_(n);return o?JSON.parse(o):null},this.set=(n,o,r={})=>{let t={};window.location.protocol==="https:"&&(t={secure:!0,sameSite:"none"}),r&&r.daysUntilExpire?t.expires=r.daysUntilExpire:t.expires=1,hr(`CookieStorage.set: key: ${n}, value: [${o}]`),I_(n,JSON.stringify(o),t)},this.remove=n=>{A_(n)}}}class U_{constructor(){this.get=n=>{const o=sessionStorage.getItem(n);return typeof o=="undefined"||o===null?null:JSON.parse(o)},this.set=(n,o)=>{hr(`SessionStorage.set: key: ${n}, value: [${o}]`),sessionStorage.setItem(n,JSON.stringify(o))},this.remove=n=>{sessionStorage.removeItem(n)}}}class S_{constructor(){this.get=n=>{const o=localStorage.getItem(n);return typeof o=="undefined"||o===null?null:JSON.parse(o)},this.set=(n,o)=>{hr(`LocalStorage.set: key: ${n}, value: [${o}]`),localStorage.setItem(n,JSON.stringify(o))},this.remove=n=>{localStorage.removeItem(n)}}}class P_{constructor(){J(this,Xn,void 0);M(this,Xn,{}),this.get=n=>{const o=v(this,Xn)[n];return typeof o=="undefined"||o===null?null:o},this.set=(n,o)=>{hr(`MemoryStorage.set: key: ${n}, value: [${o}]`),v(this,Xn)[n]=o},this.remove=n=>{delete v(this,Xn)[n]}}}Xn=new WeakMap;class ks{constructor(n){J(this,bn,null);switch(n.clientStorageType){case"SessionStorage":M(this,bn,new U_);break;case"LocalStorage":M(this,bn,new S_);break;case"CookieStorage":M(this,bn,new H_);break;case"MemoryStorage":M(this,bn,new P_);break;default:throw new Error(`Unknown [${n.clientStorageType}] storage type.`)}}GetStorage(){return v(this,bn)}}bn=new WeakMap;const v_=Ar.default(`proc:${0}:stsoauth2manager.ts`);class Ms{constructor(n,o){J(this,Ho,void 0);J(this,$n,void 0);J(this,An,void 0);J(this,mr,void 0);J(this,pr,void 0);J(this,jn,void 0);J(this,Er,void 0);J(this,Uo,void 0);J(this,hn,void 0);J(this,fr,void 0);J(this,oo,void 0);J(this,So,void 0);J(this,Hn,void 0);J(this,ro,void 0);J(this,mn,void 0);J(this,Un,void 0);J(this,Po,void 0);J(this,pn,void 0);J(this,vo,void 0);J(this,Do,void 0);J(this,wo,void 0);J(this,Go,void 0);M(this,Ho,null),M(this,$n,null),M(this,An,null),M(this,mr,new ys),M(this,pr,new Ls),M(this,jn,"authorize_options.stsmda.com.au"),M(this,Er,"session.stsmda.com.au"),M(this,Uo,null),M(this,hn,null),M(this,fr,{}),M(this,So,0),M(this,Hn,{}),M(this,ro,1e3),M(this,mn,null),M(this,Un,null),M(this,Po,s=>{const u=s.data;if(u.messageId===-1)switch(u.command){case De.AUTHENTICATE_EVENT:v(this,Do).call(this,u.payload);break;case De.ERROR:v(this,vo).call(this,u.payload);break;default:throw new Error(`ProcessMessageResponse command [${u.command}] not valid.`)}else{const c=v(this,Hn)[u.messageId];if(c)c(u);else throw new Error(`Message: [${u.messageId}] does not exists in callBacks.`)}}),M(this,pn,s=>(s.messageId=na(this,So)._++,new Promise((u,c)=>{const E=setTimeout(()=>{delete v(this,Hn)[s.messageId],c(`Message: [${s.messageId}] timeout error after: [${v(this,ro)}] ms.`)},v(this,ro));v(this,Hn)[s.messageId]=m=>{clearTimeout(E),delete v(this,Hn)[s.messageId],u(m)},v(this,oo).postMessage(s)}))),M(this,vo,s=>{v(this,An).commit("AuthorizeError",{message:s}),setTimeout(()=>{v(this,$n).replace("/error")},0)}),M(this,Do,s=>{v(this,hn).authenticateEvent&&v(this,hn).authenticateEvent(s),v(this,An).commit("stsOAuth2SDK/SessionData",s)}),M(this,wo,(s,u)=>{u.beforeEach(async(c,E)=>{const m=s.config.globalProperties.$store,h=s.config.globalProperties.$sts;if(v_(`beforeEach: from: [${E.path}], to: [${c.path}]`),m.getters["stsOAuth2SDK/LoggedIn"]===!1){if(console.log("Not logged in"),c.path.localeCompare("/authorize")===0)return console.log("to = /authorize"),!0;if(c.path.localeCompare("/consent")===0&&typeof m.getters.Session.sessionId!="undefined"||c.path.localeCompare("/logout")===0||c.path.localeCompare("/error")===0||c.path.localeCompare("/logout")===0)return!0;const R=c.query;if(R[Ke.OAuth2ParameterType.CODE]||R[Ke.OAuth2ParameterType.ERROR])return console.log(`#SetupRout:str = [${R}]`),await h.om.HandleRedirect(R)?(setTimeout(()=>{window.history.replaceState({},document.title,window.location.origin+"/")},0),!0):(v(this,$n).replace("/error"),!1);const S=await h.om.RestoreSession();return console.log(`#SetupRoute:sessionRestored [${S}]`),S!==!0?(console.log("Session not restored - Need to Authorize"),h.om.Authorize(),!1):"/"}else return c.path.localeCompare("/consent")===0?"/":c.path.localeCompare("/authorize")===0?(u.replace({path:"/"}),!1):c.path.localeCompare("/logout")===0?(u.replace({path:"/"}),!1):!0})}),M(this,Go,()=>{v(this,An).registerModule("stsOAuth2SDK",{namespaced:!0,state(){return{sessionData:{}}},getters:{SessionData(s){return s.sessionData},LoggedIn(s){return!(typeof s.sessionData=="undefined"||s.sessionData===null)},UserDetails(s){if(s.sessionData){const u=s.sessionData;return mt.default(u)}else return null}},mutations:{SessionData(s,u){s.sessionData=u,console.log(`commit [sessionData]: ${JSON.stringify(u)}`)}}},{preserveState:!0})}),this.RestoreSession=async()=>{try{return(await v(this,pn).call(this,{command:De.RESTORE_SESSION})).payload}catch(s){return console.log(`RestoreSession Error: ${s}`),!1}},this.Authorize=async()=>{try{const s=await v(this,pn).call(this,{command:De.AUTHORIZE});v(this,Un).set(v(this,jn),s.payload.authorizeOptions);const u=s.payload.url;window.location.replace(u)}catch(s){console.log(`Authorize Error: ${s}`)}},this.HandleRedirect=async s=>{try{let u=null;if(s[Ke.OAuth2ParameterType.CODE]){const c=v(this,Un).get(v(this,jn));v(this,Un).remove(v(this,jn)),u=await v(this,pn).call(this,{command:De.HANDLE_REDIRECT,payload:{queryVars:s,authorizeOptions:c}})}else u=await v(this,pn).call(this,{command:De.HANDLE_REDIRECT,payload:s});return u.payload}catch(u){return console.log(`HandleRedirect Error: ${u}`),!1}},this.Logout=async()=>{try{return(await v(this,pn).call(this,{command:De.LOGOUT})).payload}catch(s){return console.log(`Logout Error: ${s}`),!1}},M(this,hn,o),M(this,Ho,n.config.globalProperties.$sts.storage),M(this,An,n.config.globalProperties.$store),M(this,Uo,n.config.globalProperties.$sts.aic.PrimaryPublishInstrumentController),M(this,$n,n.config.globalProperties.$router),M(this,Un,new ks({clientStorageType:ct.SESSION_STORAGE}).GetStorage()),v(this,hn).worker?M(this,mn,v(this,hn).worker):M(this,mn,new Worker("/assets/stsoauth2worker.9f41da7f.js")),v(this,mn).onmessage=s=>{console.log(`this.#worker.onmessage = [${s}]`)},v(this,mn).onerror=function(s){console.log(`this.#worker.onerror = [${s}]`)};const{port1:r,port2:t}=new MessageChannel;M(this,oo,r),v(this,mn).postMessage(t,[t]),v(this,oo).onmessage=s=>{v(this,Po).call(this,s)},v(this,Go).call(this),v(this,wo).call(this,n,o.router)}}Ho=new WeakMap,$n=new WeakMap,An=new WeakMap,mr=new WeakMap,pr=new WeakMap,jn=new WeakMap,Er=new WeakMap,Uo=new WeakMap,hn=new WeakMap,fr=new WeakMap,oo=new WeakMap,So=new WeakMap,Hn=new WeakMap,ro=new WeakMap,mn=new WeakMap,Un=new WeakMap,Po=new WeakMap,pn=new WeakMap,vo=new WeakMap,Do=new WeakMap,wo=new WeakMap,Go=new WeakMap,Ar.default(`proc:${0}:stsoauth2worker.ts`);class Xs{constructor(n){J(this,Ce,void 0);J(this,Sn,void 0);J(this,Co,void 0);J(this,Rr,void 0);J(this,Me,void 0);J(this,En,void 0);J(this,Pn,void 0);J(this,Xe,void 0);J(this,xn,void 0);J(this,Or,void 0);J(this,Qe,void 0);J(this,yo,void 0);J(this,Lo,void 0);J(this,Bo,void 0);J(this,to,void 0);J(this,ko,void 0);J(this,Mo,void 0);J(this,Xo,void 0);M(this,Ce,null),M(this,Sn,new ys),M(this,Co,new Ls),M(this,Rr,"authorize_options.stsmda.com.au"),M(this,Me,"session.stsmda.com.au"),M(this,En,null),M(this,Pn,null),M(this,Xe,null),M(this,xn,null),M(this,Or,0),this.SetupListener=()=>{v(this,xn).onmessage=async o=>{const r=o.data;switch(r.command){case De.RESTORE_SESSION:v(this,Qe).call(this,r,await v(this,yo).call(this));break;case De.AUTHORIZE:v(this,Qe).call(this,r,await v(this,Lo).call(this));break;case De.HANDLE_REDIRECT:v(this,Qe).call(this,r,await v(this,Bo).call(this,r.payload));break;case De.LOGOUT:v(this,Qe).call(this,r,await v(this,Xo).call(this));break;default:throw new Error(`Command: [${r.command}'] not found.`)}}},M(this,Qe,async(o,r)=>{const t={messageId:o.messageId,command:o.command,payload:r};v(this,xn).postMessage(t)}),M(this,yo,async()=>{let o=null;if(o=v(this,Ce).get(v(this,Me)),o!==null)console.log("Session restored from client storage."),v(this,En)&&v(this,En).UpdateInstrument("m",{LogMessage:"Session restored from client storage."});else{const r=`${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_ENDPOINT}:${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_PORT}${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_API_ROOT}/session`;console.log("RestoreSession"),console.log(r),v(this,En)&&(v(this,En).UpdateInstrument("m",{LogMessage:"RestoreSession"}),v(this,En).UpdateInstrument("m",{LogMessage:r}));try{const t=await Hr.default({method:"post",url:r,data:{[Ke.OAuth2ParameterType.CLIENT_ID]:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.CLIENT_ID,[Ke.OAuth2ParameterType.SCOPE]:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.SCOPE,[Ke.OAuth2ParameterType.REDIRECT_URI]:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.REDIRECT_URI,[Ke.OAuth2ParameterType.AUDIENCE]:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.AUDIENCE},withCredentials:!0,timeout:parseInt({DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.TIMEOUT)});t.data.status===Jn.StatusCodes.OK?(o=t.data.detail,v(this,Ce).set(v(this,Me),o),console.log("Session restored from server side cookie.")):(console.log("Could not restore previous session:-"),console.log(JSON.stringify(t.data)))}catch(t){console.log("Could not restore previous session (error state):-"),console.log(t),console.log(JSON.stringify(t))}}return o!==null?(v(this,Xe).call(this,o.id_token),console.log("Refreshing tokens ..."),v(this,Mo).call(this)):(v(this,Xe).call(this,null),!1)}),M(this,Lo,async()=>{console.log("Authorize ...");const o={DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.CLIENT_ID,r=v(this,Sn).CreateRandomString(),t=[_t.CODE],s={DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.REDIRECT_URI,u=lt.QUERY,c={DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.SCOPE,E=v(this,Sn).CreateRandomString(),m=v(this,Sn).CreateRandomString(),h=await v(this,Sn).DigestMessage(m),S={client_id:o,nonce:r,response_type:t,redirect_uri:s,response_mode:u,scope:c,state:E,code_challenge:h,code_challenge_method:"S256"},C=`${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.AUTH_ENDPOINT}:${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.AUTH_PORT}${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.AUTH_APIROOT}?${v(this,Co).CreateQueryParams(S)}`;return console.log(C),S.code_verifier=m,console.log(`Authorize:authorizeOptions: [${JSON.stringify(S)}]`),{url:C,authorizeOptions:S}}),M(this,Bo,async o=>{const r=o.queryVars,t=o.authorizeOptions;if(console.log("HandleRedirect"),console.log(`HandleRedirect:Query Vars: [${JSON.stringify(r)}]`),r[Ke.OAuth2ParameterType.CODE]){const s=r;console.log(`authorizeOptions from transaction state: [${JSON.stringify(t)}]`);const u=s.state;return t.state.localeCompare(u)===0?(console.log("redirected state (from queryVars) matched previously saved transaction authorizeOptions state"),await v(this,ko).call(this,t,s)):(console.log("redirected state (from queryVars) did NOT match previously saved transaction authorizeOptions state"),v(this,Pn).call(this,{message:"State un-matched"}),!1)}else if(r[Ke.OAuth2ParameterType.ERROR]){const s=r;return s.error,s.error_description,v(this,Pn).call(this,{message:"State un-matched"}),!1}else return v(this,Pn).call(this,{message:"State un-matched"}),!1}),M(this,to,async o=>{console.log("#GetTokenFromBroker"),v(this,Ce).remove(v(this,Me));const r=`${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_ENDPOINT}:${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_PORT}${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_API_ROOT}/token`;console.log(`#GetTokenFromBroker:url = [${r}]`),console.log(o);try{const t=await Hr.default({method:"post",url:r,data:o,withCredentials:!0,timeout:parseInt({DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.TIMEOUT)});if(console.log(`retVal: ${JSON.stringify(t)}`),t.status===Jn.StatusCodes.OK){console.log("Storing tokens...");const s=t.data;return v(this,Xe).call(this,s.id_token),v(this,Ce).set(v(this,Me),s),!0}else if(t.status===Jn.StatusCodes.UNAUTHORIZED){console.log("NOT Storing tokens..."),console.log(t.status),v(this,Xe).call(this,null);const s=t.data;return!1}else return console.log("NOT Storing tokens..."),console.log(t.status),v(this,Xe).call(this,null),console.log("Could not obtain access_token from token end-point:-"),console.log(JSON.stringify(t.data)),!1}catch(t){return v(this,Xe).call(this,null),console.log(t),console.log(JSON.stringify(t)),!1}}),M(this,ko,async(o,r)=>{console.log("#GetToken"),console.log(r),v(this,Ce).set(v(this,Me),null);const t={client_id:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.CLIENT_ID,scope:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.SCOPE,code:r.code,redirect_uri:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.REDIRECT_URI,grant_type:dr.AUTHORIZATION_CODE,code_verifier:o.code_verifier};return v(this,to).call(this,t)}),M(this,Mo,async()=>{console.log("RefreshToken");const o=v(this,Ce).get(v(this,Me));if(o){const r={client_id:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.CLIENT_ID,scope:{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.SCOPE,refresh_token:o.refresh_token,grant_type:dr.REFRESH_TOKEN};return v(this,to).call(this,r)}else return!1}),M(this,Xo,async()=>{console.log("Logout");const o=`${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_ENDPOINT}:${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_PORT}${{DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.BROKER_API_ROOT}/logout`;console.log(o);const t=v(this,Ce).get(v(this,Me)).refresh_token;console.log(t);const s=mt.default(t);console.log(s);const u=s.sts_session;console.log(u),v(this,Ce).remove(v(this,Me)),v(this,Xe).call(this,null);try{const c=await Hr.default({method:"post",url:o,data:{sessionId:u},withCredentials:!0,timeout:parseInt({DEPLOYMENT_BASEPATH:"/opt/runner",DOTNET_NOLOGO:"1",USER:"runner",npm_config_always_auth:"",npm_config_user_agent:"npm/8.11.0 node/v18.3.0 linux x64 workspaces/false ci/github-actions",CI:"true",GITHUB_ENV:"/home/runner/work/_temp/_runner_file_commands/set_env_d3de57e1-427f-4082-8a12-c06dba53ffa3",PIPX_HOME:"/opt/pipx",npm_node_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",JAVA_HOME_8_X64:"/usr/lib/jvm/temurin-8-jdk-amd64",NODE_AUTH_TOKEN:"XXXXX-XXXXX-XXXXX-XXXXX",SHLVL:"1",npm_config_noproxy:"",HOME:"/home/runner",RUNNER_TEMP:"/home/runner/work/_temp",GITHUB_EVENT_PATH:"/home/runner/work/_temp/_github_workflow/event.json",npm_package_json:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/package.json",JAVA_HOME_11_X64:"/usr/lib/jvm/temurin-11-jdk-amd64",PIPX_BIN_DIR:"/opt/pipx_bin",GRAALVM_11_ROOT:"/usr/local/graalvm/graalvm-ce-java11-22.1.0",GITHUB_REPOSITORY_OWNER:"nsshunt",GRADLE_HOME:"/usr/share/gradle-7.4.2",HOMEBREW_PREFIX:"/home/linuxbrew/.linuxbrew",ANDROID_NDK_LATEST_HOME:"/usr/local/lib/android/sdk/ndk/24.0.8215888",GITHUB_RETENTION_DAYS:"90",POWERSHELL_DISTRIBUTION_CHANNEL:"GitHub-Actions-ubuntu20",AZURE_EXTENSION_DIR:"/opt/az/azcliextensions",GITHUB_HEAD_REF:"",npm_config_local_prefix:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",COLOR:"0",NVM_DIR:"/home/runner/.nvm",npm_config_metrics_registry:"https://registry.npmjs.org/",DOTNET_SKIP_FIRST_TIME_EXPERIENCE:"1",JAVA_HOME_17_X64:"/usr/lib/jvm/temurin-17-jdk-amd64",ImageVersion:"20220605.1",RUNNER_OS:"Linux",GITHUB_API_URL:"https://api.github.com",SWIFT_PATH:"/usr/share/swift/usr/bin",RUNNER_USER:"runner",CHROMEWEBDRIVER:"/usr/local/share/chrome_driver",JOURNAL_STREAM:"8:22743",GITHUB_WORKFLOW:"Node.js Package",_:"/opt/hostedtoolcache/node/18.3.0/x64/bin/npm",npm_config_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",GITHUB_RUN_ID:"2484921594",GOROOT_1_16_X64:"/opt/hostedtoolcache/go/1.16.15/x64",npm_config_cache:"/home/runner/.npm",GOROOT_1_17_X64:"/opt/hostedtoolcache/go/1.17.11/x64",GITHUB_REF_TYPE:"branch",BOOTSTRAP_HASKELL_NONINTERACTIVE:"1",GITHUB_BASE_REF:"",ImageOS:"ubuntu20",PERFLOG_LOCATION_SETTING:"RUNNER_PERFLOG",GOROOT_1_18_X64:"/opt/hostedtoolcache/go/1.18.3/x64",GITHUB_ACTION_REPOSITORY:"",npm_config_node_gyp:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js",PATH:"/home/runner/work/stsoauth2plugin/stsoauth2plugin/node_modules/.bin:/home/runner/work/stsoauth2plugin/node_modules/.bin:/home/runner/work/node_modules/.bin:/home/runner/node_modules/.bin:/home/node_modules/.bin:/node_modules/.bin:/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/node_modules/@npmcli/run-script/lib/node-gyp-bin:/opt/hostedtoolcache/node/18.3.0/x64/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin",ANT_HOME:"/usr/share/ant",DOTNET_MULTILEVEL_LOOKUP:"0",RUNNER_TRACKING_ID:"github_9edc5d2d-2461-40de-be1d-06dc308d50f8",INVOCATION_ID:"f9a80bc7e96e499c8f63ef4c4ace54f4",HOMEBREW_CELLAR:"/home/linuxbrew/.linuxbrew/Cellar",NPM_CONFIG_USERCONFIG:"/home/runner/work/_temp/.npmrc",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache",NODE:"/opt/hostedtoolcache/node/18.3.0/x64/bin/node",npm_package_name:"@nsshunt/stsoauth2plugin",GITHUB_ACTION:"__run_2",GITHUB_RUN_NUMBER:"32",RUNNER_ARCH:"X64",AGENT_TOOLSDIRECTORY:"/opt/hostedtoolcache",LANG:"C.UTF-8",VCPKG_INSTALLATION_ROOT:"/usr/local/share/vcpkg",CONDA:"/usr/share/miniconda",RUNNER_NAME:"Hosted Agent",XDG_CONFIG_HOME:"/home/runner/.config",GITHUB_REF_NAME:"main",GITHUB_REPOSITORY:"nsshunt/stsoauth2plugin",npm_lifecycle_script:"tsc && vite build",ANDROID_NDK_ROOT:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_ACTION_REF:"",DEBIAN_FRONTEND:"noninteractive",GITHUB_ACTIONS:"true",STATS_KEEPALIVE:"false",STATS_PFS:"true",npm_package_version:"0.1.20",npm_lifecycle_event:"build",GITHUB_REF_PROTECTED:"false",GITHUB_WORKSPACE:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",ACCEPT_EULA:"Y",GITHUB_JOB:"publish-npm",RUNNER_PERFLOG:"/home/runner/perflog",GITHUB_SHA:"ffbe430214e153ca2176c12b7667112104f165f0",GITHUB_RUN_ATTEMPT:"1",GITHUB_REF:"refs/heads/main",GITHUB_ACTOR:"nsshunt",ANDROID_SDK_ROOT:"/usr/local/lib/android/sdk",LEIN_HOME:"/usr/local/lib/lein",npm_config_globalconfig:"/opt/hostedtoolcache/node/18.3.0/x64/etc/npmrc",npm_config_init_module:"/home/runner/.npm-init.js",GITHUB_PATH:"/home/runner/work/_temp/_runner_file_commands/add_path_d3de57e1-427f-4082-8a12-c06dba53ffa3",JAVA_HOME:"/usr/lib/jvm/temurin-11-jdk-amd64",PWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",RUNNER_WORKSPACE:"/home/runner/work/stsoauth2plugin",npm_execpath:"/opt/hostedtoolcache/node/18.3.0/x64/lib/node_modules/npm/bin/npm-cli.js",HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS:"3650",GITHUB_EVENT_NAME:"push",HOMEBREW_NO_AUTO_UPDATE:"1",ANDROID_HOME:"/usr/local/lib/android/sdk",GITHUB_SERVER_URL:"https://github.com",GECKOWEBDRIVER:"/usr/local/share/gecko_driver",LEIN_JAR:"/usr/local/lib/lein/self-installs/leiningen-2.9.8-standalone.jar",npm_config_global_prefix:"/opt/hostedtoolcache/node/18.3.0/x64",HOMEBREW_REPOSITORY:"/home/linuxbrew/.linuxbrew/Homebrew",npm_command:"run-script",SGX_AESM_ADDR:"1",CHROME_BIN:"/usr/bin/google-chrome",SELENIUM_JAR_PATH:"/usr/share/java/selenium-server.jar",ANDROID_NDK_HOME:"/usr/local/lib/android/sdk/ndk-bundle",GITHUB_STEP_SUMMARY:"/home/runner/work/_temp/_runner_file_commands/step_summary_d3de57e1-427f-4082-8a12-c06dba53ffa3",INIT_CWD:"/home/runner/work/stsoauth2plugin/stsoauth2plugin",EDITOR:"vi",NODE_ENV:"production"}.TIMEOUT)});return c.data.status===Jn.StatusCodes.OK?!0:(console.log("Error during logout (server side)"),console.log(JSON.stringify(c.data)),!1)}catch(c){return console.log("Error during logout (server side)"),console.log(c),console.log(JSON.stringify(c)),!1}}),M(this,Ce,new ks({clientStorageType:ct.MEMORY_STORAGE}).GetStorage()),M(this,Xe,o=>{const r={messageId:-1,command:De.AUTHENTICATE_EVENT};v(this,Qe).call(this,r,o)}),M(this,Pn,o=>{const r={messageId:-1,command:De.ERROR};v(this,Qe).call(this,r,o)}),M(this,xn,n),this.SetupListener()}}Ce=new WeakMap,Sn=new WeakMap,Co=new WeakMap,Rr=new WeakMap,Me=new WeakMap,En=new WeakMap,Pn=new WeakMap,Xe=new WeakMap,xn=new WeakMap,Or=new WeakMap,Qe=new WeakMap,yo=new WeakMap,Lo=new WeakMap,Bo=new WeakMap,to=new WeakMap,ko=new WeakMap,Mo=new WeakMap,Xo=new WeakMap,onmessage=async function(e){const n=e.data;new Xs(n)};const D_={install:(e,n)=>{const o=new Ms(e,n);e.config.globalProperties.$sts.om=o}};W.AuthorizeOptionsResponseMode=lt,W.AuthorizeOptionsResponseType=_t,W.IOauth2ListenerCommand=De,W.OAuthGrantTypes=dr,W.STSOAuth2Manager=Ms,W.STSOAuth2ManagerPlugin=D_,W.STSOAuth2Worker=Xs,Object.defineProperties(W,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});