@mongosh/node-runtime-worker-thread 3.3.6 → 3.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/711.js CHANGED
@@ -1 +1 @@
1
- exports.id=711,exports.ids=[711],exports.modules={4213:(t,e,n)=>{"use strict";n.d(e,{i:()=>STSClient});var i=n(31758),s=n(46170),o=n(96692),r=n(33202),a=n(20512),l=n(97882),c=n(51320),u=n(34546),d=n(2103),p=n(1802),h=n(71383),g=n(42952);const f=async(t,e,n)=>({operation:(0,g.u)(e).operation,region:await(0,g.t)(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const m=t=>{const e=[];switch(t.operation){case"AssumeRoleWithSAML":case"AssumeRoleWithWebIdentity":e.push({schemeId:"smithy.api#noAuth"});break;default:e.push(function(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:t.region},propertiesExtractor:(t,e)=>({signingProperties:{config:t,context:e}})}}(t))}return e},x=t=>{const e=(n=t,{...n,stsClientCtor:STSClient});var n;return{...(0,h.h)(e)}};var b=n(39170);const E="3.621.0";var y=n(68227),v=n(59065),P=n(34054),N=n(62438),w=n(25708),T=n(75854),I=n(3337),A=n(88226),S=n(94134),O=n(42640),C=n(50563),k=n(67670),D=n(6775),$=n(96954);const j="required",R="type",M="fn",V="argv",F="ref",L=!1,_=!0,K="booleanEquals",z="stringEquals",U="sigv4",B="us-east-1",G="endpoint",W="https://sts.{Region}.{PartitionResult#dnsSuffix}",q="tree",X="error",Z="getAttr",H={[j]:!1,[R]:"String"},Y={[j]:!0,default:!1,[R]:"Boolean"},J={[F]:"Endpoint"},Q={[M]:"isSet",[V]:[{[F]:"Region"}]},tt={[F]:"Region"},et={[M]:"aws.partition",[V]:[tt],assign:"PartitionResult"},nt={[F]:"UseFIPS"},it={[F]:"UseDualStack"},st={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:U,signingName:"sts",signingRegion:B}]},headers:{}},ot={},rt={conditions:[{[M]:z,[V]:[tt,"aws-global"]}],[G]:st,[R]:G},at={[M]:K,[V]:[nt,!0]},lt={[M]:K,[V]:[it,!0]},ct={[M]:Z,[V]:[{[F]:"PartitionResult"},"supportsFIPS"]},ut={[F]:"PartitionResult"},dt={[M]:K,[V]:[!0,{[M]:Z,[V]:[ut,"supportsDualStack"]}]},pt=[{[M]:"isSet",[V]:[J]}],ht=[at],gt=[lt],ft={version:"1.0",parameters:{Region:H,UseDualStack:Y,UseFIPS:Y,Endpoint:H,UseGlobalEndpoint:Y},rules:[{conditions:[{[M]:K,[V]:[{[F]:"UseGlobalEndpoint"},_]},{[M]:"not",[V]:pt},Q,et,{[M]:K,[V]:[nt,L]},{[M]:K,[V]:[it,L]}],rules:[{conditions:[{[M]:z,[V]:[tt,"ap-northeast-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-south-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-southeast-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-southeast-2"]}],endpoint:st,[R]:G},rt,{conditions:[{[M]:z,[V]:[tt,"ca-central-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-central-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-north-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-2"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-3"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"sa-east-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,B]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-east-2"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-west-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-west-2"]}],endpoint:st,[R]:G},{endpoint:{url:W,properties:{authSchemes:[{name:U,signingName:"sts",signingRegion:"{Region}"}]},headers:ot},[R]:G}],[R]:q},{conditions:pt,rules:[{conditions:ht,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[R]:X},{conditions:gt,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[R]:X},{endpoint:{url:J,properties:ot,headers:ot},[R]:G}],[R]:q},{conditions:[Q],rules:[{conditions:[et],rules:[{conditions:[at,lt],rules:[{conditions:[{[M]:K,[V]:[_,ct]},dt],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[R]:X}],[R]:q},{conditions:ht,rules:[{conditions:[{[M]:K,[V]:[ct,_]}],rules:[{conditions:[{[M]:z,[V]:[{[M]:Z,[V]:[ut,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:ot,headers:ot},[R]:G},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"FIPS is enabled but this partition does not support FIPS",[R]:X}],[R]:q},{conditions:gt,rules:[{conditions:[dt],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"DualStack is enabled but this partition does not support DualStack",[R]:X}],[R]:q},rt,{endpoint:{url:W,properties:ot,headers:ot},[R]:G}],[R]:q}],[R]:q},{error:"Invalid Configuration: Missing Region",[R]:X}]},mt=(t,e={})=>(0,$.sO)(ft,{endpointParams:t,logger:e.logger});$.mw.aws=D.UF;var xt=n(12165);const bt=t=>{(0,p.I9)(process.version);const e=(0,xt.I)(t),n=()=>e().then(p.lT),i=(t=>({apiVersion:"2011-06-15",base64Decoder:t?.base64Decoder??C.E,base64Encoder:t?.base64Encoder??C.n,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??mt,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??m,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new v.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new l.mR}],logger:t?.logger??new p.N4,serviceId:t?.serviceId??"STS",urlParser:t?.urlParser??O.D,utf8Decoder:t?.utf8Decoder??k.ar,utf8Encoder:t?.utf8Encoder??k.Pq}))(t);return(0,y.I)(process.version),{...i,...t,runtime:"node",defaultsMode:e,bodyLengthChecker:t?.bodyLengthChecker??A.n,credentialDefaultProvider:t?.credentialDefaultProvider??P.v6,defaultUserAgentProvider:t?.defaultUserAgentProvider??(0,N.mJ)({serviceId:i.serviceId,clientVersion:E}),httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4")||(async t=>await(0,P.v6)(t?.__config||{})()),signer:new v.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new l.mR}],maxAttempts:t?.maxAttempts??(0,T.Z)(d.qs),region:t?.region??(0,T.Z)(a.GG,a.zH),requestHandler:I.$c.create(t?.requestHandler??n),retryMode:t?.retryMode??(0,T.Z)({...d.kN,default:async()=>(await n()).retryMode||S.L0}),sha256:t?.sha256??w.V.bind(null,"sha256"),streamCollector:t?.streamCollector??I.kv,useDualstackEndpoint:t?.useDualstackEndpoint??(0,T.Z)(a.e$),useFipsEndpoint:t?.useFipsEndpoint??(0,T.Z)(a.Ko)}};var Et=n(3119),yt=n(47624);const vt=t=>{const e=t.httpAuthSchemes;let n=t.httpAuthSchemeProvider,i=t.credentials;return{setHttpAuthScheme(t){const n=e.findIndex((e=>e.schemeId===t.schemeId));-1===n?e.push(t):e.splice(n,1,t)},httpAuthSchemes:()=>e,setHttpAuthSchemeProvider(t){n=t},httpAuthSchemeProvider:()=>n,setCredentials(t){i=t},credentials:()=>i}};class STSClient extends p.Kj{constructor(...[t]){const e=bt(t||{}),n=(0,b.v)(e),h=(0,a.TD)(n),g=(0,u.Co)(h),f=(0,i.OV)(g),m=(0,r.Dc)(f),E=(0,d.$z)(m),y=((t,e)=>{const n={...(0,Et.Rq)(t),...(0,p.xA)(t),...(0,yt.eS)(t),...vt(t)};return e.forEach((t=>t.configure(n))),{...t,...(0,Et.$3)(n),...(0,p.uv)(n),...(0,yt.jt)(n),...(i=n,{httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()})};var i})(x(E),t?.extensions||[]);super(y),this.config=y,this.middlewareStack.use((0,i.TC)(this.config)),this.middlewareStack.use((0,s.Y7)(this.config)),this.middlewareStack.use((0,o.n4)(this.config)),this.middlewareStack.use((0,r.sM)(this.config)),this.middlewareStack.use((0,d.ey)(this.config)),this.middlewareStack.use((0,c.vK)(this.config)),this.middlewareStack.use((0,l.wB)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use((0,l.lW)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return f}getIdentityProviderConfigProvider(){return async t=>new l.h$({"aws.auth#sigv4":t.credentials})}}},25043:(t,e,n)=>{"use strict";n.d(e,{Q:()=>AssumeRoleCommand});var i=n(34546),s=n(8029),o=n(1802),r=n(39170),a=n(64355),l=n(73919);class AssumeRoleCommand extends(o.uB.classBuilder().ep({...r.S}).m((function(t,e,n,o){return[(0,s.TM)(n,this.serialize,this.deserialize),(0,i.rD)(n,t.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").f(void 0,a.kl).ser(l.JC).de(l.aP).build()){}},39170:(t,e,n)=>{"use strict";n.d(e,{S:()=>s,v:()=>i});const i=t=>({...t,useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,useGlobalEndpoint:t.useGlobalEndpoint??!1,defaultSigningName:"sts"}),s={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},88180:(t,e,n)=>{"use strict";n.d(e,{L:()=>STSServiceException});var i=n(1802);class STSServiceException extends i.TJ{constructor(t){super(t),Object.setPrototypeOf(this,STSServiceException.prototype)}}},64355:(t,e,n)=>{"use strict";n.d(e,{AA:()=>l,KT:()=>a,Nd:()=>IDPCommunicationErrorException,V1:()=>PackedPolicyTooLargeException,_A:()=>ExpiredTokenException,_Z:()=>MalformedPolicyDocumentException,fi:()=>IDPRejectedClaimException,kl:()=>r,po:()=>InvalidAuthorizationMessageException,wU:()=>RegionDisabledException,ye:()=>InvalidIdentityTokenException});var i=n(1802),s=n(88180);class ExpiredTokenException extends s.L{constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,ExpiredTokenException.prototype)}}class MalformedPolicyDocumentException extends s.L{constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,MalformedPolicyDocumentException.prototype)}}class PackedPolicyTooLargeException extends s.L{constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,PackedPolicyTooLargeException.prototype)}}class RegionDisabledException extends s.L{constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,RegionDisabledException.prototype)}}class IDPRejectedClaimException extends s.L{constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,IDPRejectedClaimException.prototype)}}class InvalidIdentityTokenException extends s.L{constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,InvalidIdentityTokenException.prototype)}}class IDPCommunicationErrorException extends s.L{constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,IDPCommunicationErrorException.prototype)}}class InvalidAuthorizationMessageException extends s.L{constructor(t){super({name:"InvalidAuthorizationMessageException",$fault:"client",...t}),this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,InvalidAuthorizationMessageException.prototype)}}const o=t=>({...t,...t.SecretAccessKey&&{SecretAccessKey:i.$H}}),r=t=>({...t,...t.Credentials&&{Credentials:o(t.Credentials)}}),a=t=>({...t,...t.WebIdentityToken&&{WebIdentityToken:i.$H}}),l=t=>({...t,...t.Credentials&&{Credentials:o(t.Credentials)}})},73919:(t,e,n)=>{"use strict";n.d(e,{aP:()=>h,MV:()=>g,JC:()=>d,$3:()=>p});var i=n(1802),s=n(12763),o=n(53127);const r=(t,e)=>(0,o.w)(t,e).then((t=>{if(t.length){const e=new s.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(t,e)=>""===e.trim()&&e.includes("\n")?"":void 0});let n;e.addEntity("#xD","\r"),e.addEntity("#10","\n");try{n=e.parse(t,!0)}catch(e){throw e&&"object"==typeof e&&Object.defineProperty(e,"$responseBodyText",{value:t}),e}const o="#text",r=Object.keys(n)[0],a=n[r];return a[o]&&(a[r]=a[o],delete a[o]),(0,i.rm)(a)}return{}})),a=async(t,e)=>{const n=await r(t,e);return n.Error&&(n.Error.message=n.Error.message??n.Error.Message),n};var l=n(47624),c=n(64355),u=n(88180);const d=async(t,e)=>{const n=X;let i;return i=Dt({...w(t,e),[H]:J,[At]:Z}),q(e,n,"/",void 0,i)},p=async(t,e)=>{const n=X;let i;return i=Dt({...T(t,e),[H]:et,[At]:Z}),q(e,n,"/",void 0,i)},h=async(t,e)=>{if(t.statusCode>=300)return f(t,e);const n=await r(t.body,e);let i={};i=j(n.AssumeRoleResult,e);return{$metadata:G(t),...i}},g=async(t,e)=>{if(t.statusCode>=300)return f(t,e);const n=await r(t.body,e);let i={};i=R(n.AssumeRoleWithWebIdentityResult,e);return{$metadata:G(t),...i}},f=async(t,e)=>{const n={...t,body:await a(t.body,e)},i=$t(t,n.body);switch(i){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await m(n,e);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await v(n,e);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await P(n,e);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await N(n,e);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await b(n,e);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await y(n,e);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await x(n,e);case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await E(n,e);default:const s=n.body;return W({output:t,parsedBody:s.Error,errorCode:i})}},m=async(t,e)=>{const n=t.body,s=V(n.Error,e),o=new c._A({$metadata:G(t),...s});return(0,i.Mw)(o,n)},x=async(t,e)=>{const n=t.body,s=F(n.Error,e),o=new c.Nd({$metadata:G(t),...s});return(0,i.Mw)(o,n)},b=async(t,e)=>{const n=t.body,s=L(n.Error,e),o=new c.fi({$metadata:G(t),...s});return(0,i.Mw)(o,n)},E=async(t,e)=>{const n=t.body,s=_(n.Error,e),o=new c.po({$metadata:G(t),...s});return(0,i.Mw)(o,n)},y=async(t,e)=>{const n=t.body,s=K(n.Error,e),o=new c.ye({$metadata:G(t),...s});return(0,i.Mw)(o,n)},v=async(t,e)=>{const n=t.body,s=z(n.Error,e),o=new c._Z({$metadata:G(t),...s});return(0,i.Mw)(o,n)},P=async(t,e)=>{const n=t.body,s=U(n.Error,e),o=new c.V1({$metadata:G(t),...s});return(0,i.Mw)(o,n)},N=async(t,e)=>{const n=t.body,s=B(n.Error,e),o=new c.wU({$metadata:G(t),...s});return(0,i.Mw)(o,n)},w=(t,e)=>{const n={};if(null!=t[xt]&&(n[xt]=t[xt]),null!=t[bt]&&(n[bt]=t[bt]),null!=t[dt]){const i=I(t[dt],e);0===t[dt]?.length&&(n.PolicyArns=[]),Object.entries(i).forEach((([t,e])=>{n[`PolicyArns.${t}`]=e}))}if(null!=t[ut]&&(n[ut]=t[ut]),null!=t[rt]&&(n[rt]=t[rt]),null!=t[wt]){const i=D(t[wt],e);0===t[wt]?.length&&(n.Tags=[]),Object.entries(i).forEach((([t,e])=>{n[`Tags.${t}`]=e}))}if(null!=t[It]){const i=k(t[It],e);0===t[It]?.length&&(n.TransitiveTagKeys=[]),Object.entries(i).forEach((([t,e])=>{n[`TransitiveTagKeys.${t}`]=e}))}if(null!=t[lt]&&(n[lt]=t[lt]),null!=t[Pt]&&(n[Pt]=t[Pt]),null!=t[Tt]&&(n[Tt]=t[Tt]),null!=t[vt]&&(n[vt]=t[vt]),null!=t[ht]){const i=O(t[ht],e);0===t[ht]?.length&&(n.ProvidedContexts=[]),Object.entries(i).forEach((([t,e])=>{n[`ProvidedContexts.${t}`]=e}))}return n},T=(t,e)=>{const n={};if(null!=t[xt]&&(n[xt]=t[xt]),null!=t[bt]&&(n[bt]=t[bt]),null!=t[Ot]&&(n[Ot]=t[Ot]),null!=t[gt]&&(n[gt]=t[gt]),null!=t[dt]){const i=I(t[dt],e);0===t[dt]?.length&&(n.PolicyArns=[]),Object.entries(i).forEach((([t,e])=>{n[`PolicyArns.${t}`]=e}))}return null!=t[ut]&&(n[ut]=t[ut]),null!=t[rt]&&(n[rt]=t[rt]),n},I=(t,e)=>{const n={};let i=1;for(const s of t){if(null===s)continue;const t=A(s,e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},A=(t,e)=>{const n={};return null!=t[Ct]&&(n[Ct]=t[Ct]),n},S=(t,e)=>{const n={};return null!=t[pt]&&(n[pt]=t[pt]),null!=t[ot]&&(n[ot]=t[ot]),n},O=(t,e)=>{const n={};let i=1;for(const e of t){if(null===e)continue;const t=S(e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},C=(t,e)=>{const n={};return null!=t[ct]&&(n[ct]=t[ct]),null!=t[St]&&(n[St]=t[St]),n},k=(t,e)=>{const n={};let i=1;for(const e of t)null!==e&&(n[`member.${i}`]=e,i++);return n},D=(t,e)=>{const n={};let i=1;for(const e of t){if(null===e)continue;const t=C(e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},$=(t,e)=>{const n={};return null!=t[Q]&&(n[Q]=(0,i.lK)(t[Q])),null!=t[nt]&&(n[nt]=(0,i.lK)(t[nt])),n},j=(t,e)=>{const n={};return null!=t[st]&&(n[st]=M(t[st],e)),null!=t[tt]&&(n[tt]=$(t[tt])),null!=t[ft]&&(n[ft]=(0,i.xW)(t[ft])),null!=t[vt]&&(n[vt]=(0,i.lK)(t[vt])),n},R=(t,e)=>{const n={};return null!=t[st]&&(n[st]=M(t[st],e)),null!=t[yt]&&(n[yt]=(0,i.lK)(t[yt])),null!=t[tt]&&(n[tt]=$(t[tt])),null!=t[ft]&&(n[ft]=(0,i.xW)(t[ft])),null!=t[mt]&&(n[mt]=(0,i.lK)(t[mt])),null!=t[it]&&(n[it]=(0,i.lK)(t[it])),null!=t[vt]&&(n[vt]=(0,i.lK)(t[vt])),n},M=(t,e)=>{const n={};return null!=t[Y]&&(n[Y]=(0,i.lK)(t[Y])),null!=t[Et]&&(n[Et]=(0,i.lK)(t[Et])),null!=t[Nt]&&(n[Nt]=(0,i.lK)(t[Nt])),null!=t[at]&&(n[at]=(0,i.Y0)((0,i.t_)(t[at]))),n},V=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},F=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},L=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},_=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},K=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},z=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},U=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},B=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},G=t=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}),W=(0,i.jr)(u.L),q=async(t,e,n,i,s)=>{const{hostname:o,protocol:r="https",port:a,path:c}=await t.endpoint(),u={protocol:r,hostname:o,port:a,method:"POST",path:c.endsWith("/")?c.slice(0,-1)+n:c+n,headers:e};return void 0!==i&&(u.hostname=i),void 0!==s&&(u.body=s),new l.Kd(u)},X={"content-type":"application/x-www-form-urlencoded"},Z="2011-06-15",H="Action",Y="AccessKeyId",J="AssumeRole",Q="AssumedRoleId",tt="AssumedRoleUser",et="AssumeRoleWithWebIdentity",nt="Arn",it="Audience",st="Credentials",ot="ContextAssertion",rt="DurationSeconds",at="Expiration",lt="ExternalId",ct="Key",ut="Policy",dt="PolicyArns",pt="ProviderArn",ht="ProvidedContexts",gt="ProviderId",ft="PackedPolicySize",mt="Provider",xt="RoleArn",bt="RoleSessionName",Et="SecretAccessKey",yt="SubjectFromWebIdentityToken",vt="SourceIdentity",Pt="SerialNumber",Nt="SessionToken",wt="Tags",Tt="TokenCode",It="TransitiveTagKeys",At="Version",St="Value",Ot="WebIdentityToken",Ct="arn",kt="message",Dt=t=>Object.entries(t).map((([t,e])=>(0,i.$6)(t)+"="+(0,i.$6)(e))).join("&"),$t=(t,e)=>void 0!==e.Error?.Code?e.Error.Code:404==t.statusCode?"NotFound":void 0},12763:(t,e,n)=>{"use strict";const i=n(70919),s=n(6226),o=n(75181);t.exports={XMLParser:s,XMLValidator:i,XMLBuilder:o}},41209:(t,e)=>{"use strict";const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i="["+n+"]["+(n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040")+"]*",s=new RegExp("^"+i+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,e,n){if(e){const i=Object.keys(e),s=i.length;for(let o=0;o<s;o++)t[i[o]]="strict"===n?[e[i[o]]]:e[i[o]]}},e.getValue=function(t){return e.isExist(t)?t:""},e.isName=function(t){const e=s.exec(t);return!(null==e)},e.getAllMatches=function(t,e){const n=[];let i=e.exec(t);for(;i;){const s=[];s.startIndex=e.lastIndex-i[0].length;const o=i.length;for(let t=0;t<o;t++)s.push(i[t]);n.push(s),i=e.exec(t)}return n},e.nameRegexp=i},70919:(t,e,n)=>{"use strict";const i=n(41209),s={allowBooleanAttributes:!1,unpairedTags:[]};function o(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function r(t,e){const n=e;for(;e<t.length;e++)if("?"!=t[e]&&" "!=t[e]);else{const i=t.substr(n,e-n);if(e>5&&"xml"===i)return g("InvalidXml","XML declaration allowed only at the start of the document.",m(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function a(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e<t.length;e++)if("<"===t[e])n++;else if(">"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}e.validate=function(t,e){e=Object.assign({},s,e);const n=[];let l=!1,c=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let s=0;s<t.length;s++)if("<"===t[s]&&"?"===t[s+1]){if(s+=2,s=r(t,s),s.err)return s}else{if("<"!==t[s]){if(o(t[s]))continue;return g("InvalidChar","char '"+t[s]+"' is not expected.",m(t,s))}{let f=s;if(s++,"!"===t[s]){s=a(t,s);continue}{let x=!1;"/"===t[s]&&(x=!0,s++);let b="";for(;s<t.length&&">"!==t[s]&&" "!==t[s]&&"\t"!==t[s]&&"\n"!==t[s]&&"\r"!==t[s];s++)b+=t[s];if(b=b.trim(),"/"===b[b.length-1]&&(b=b.substring(0,b.length-1),s--),d=b,!i.isName(d)){let e;return e=0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",g("InvalidTag",e,m(t,s))}const E=u(t,s);if(!1===E)return g("InvalidAttr","Attributes for '"+b+"' have open quote.",m(t,s));let y=E.value;if(s=E.index,"/"===y[y.length-1]){const n=s-y.length;y=y.substring(0,y.length-1);const i=p(y,e);if(!0!==i)return g(i.err.code,i.err.msg,m(t,n+i.err.line));l=!0}else if(x){if(!E.tagClosed)return g("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",m(t,s));if(y.trim().length>0)return g("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",m(t,f));if(0===n.length)return g("InvalidTag","Closing tag '"+b+"' has not been opened.",m(t,f));{const e=n.pop();if(b!==e.tagName){let n=m(t,e.tagStartPos);return g("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+b+"'.",m(t,f))}0==n.length&&(c=!0)}}else{const i=p(y,e);if(!0!==i)return g(i.err.code,i.err.msg,m(t,s-y.length+i.err.line));if(!0===c)return g("InvalidXml","Multiple possible root nodes found.",m(t,s));-1!==e.unpairedTags.indexOf(b)||n.push({tagName:b,tagStartPos:f}),l=!0}for(s++;s<t.length;s++)if("<"===t[s]){if("!"===t[s+1]){s++,s=a(t,s);continue}if("?"!==t[s+1])break;if(s=r(t,++s),s.err)return s}else if("&"===t[s]){const e=h(t,s);if(-1==e)return g("InvalidChar","char '&' is not expected.",m(t,s));s=e}else if(!0===c&&!o(t[s]))return g("InvalidXml","Extra text at the end",m(t,s));"<"===t[s]&&s--}}}var d;return l?1==n.length?g("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",m(t,n[0].tagStartPos)):!(n.length>0)||g("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):g("InvalidXml","Start tag expected.",1)};const l='"',c="'";function u(t,e){let n="",i="",s=!1;for(;e<t.length;e++){if(t[e]===l||t[e]===c)""===i?i=t[e]:i!==t[e]||(i="");else if(">"===t[e]&&""===i){s=!0;break}n+=t[e]}return""===i&&{value:n,index:e,tagClosed:s}}const d=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function p(t,e){const n=i.getAllMatches(t,d),s={};for(let t=0;t<n.length;t++){if(0===n[t][1].length)return g("InvalidAttr","Attribute '"+n[t][2]+"' has no space in starting.",x(n[t]));if(void 0!==n[t][3]&&void 0===n[t][4])return g("InvalidAttr","Attribute '"+n[t][2]+"' is without value.",x(n[t]));if(void 0===n[t][3]&&!e.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+n[t][2]+"' is not allowed.",x(n[t]));const i=n[t][2];if(!f(i))return g("InvalidAttr","Attribute '"+i+"' is an invalid name.",x(n[t]));if(s.hasOwnProperty(i))return g("InvalidAttr","Attribute '"+i+"' is repeated.",x(n[t]));s[i]=1}return!0}function h(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let n=/\d/;for("x"===t[e]&&(e++,n=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(n))break}return-1}(t,++e);let n=0;for(;e<t.length;e++,n++)if(!(t[e].match(/\w/)&&n<20)){if(";"===t[e])break;return-1}return e}function g(t,e,n){return{err:{code:t,msg:e,line:n.line||n,col:n.col}}}function f(t){return i.isName(t)}function m(t,e){const n=t.substring(0,e).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function x(t){return t.startIndex+t[1].length}},75181:(t,e,n)=>{"use strict";const i=n(74655),s={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(t){this.options=Object.assign({},s,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=r,this.options.format?(this.indentate=a,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r(t,e,n){const i=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,i.attrStr,n):this.buildObjectNode(i.val,e,i.attrStr,n)}function a(t){return this.options.indentBy.repeat(t)}function l(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}o.prototype.build=function(t){return this.options.preserveOrder?i(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},o.prototype.j2x=function(t,e){let n="",i="";for(let s in t)if(Object.prototype.hasOwnProperty.call(t,s))if(void 0===t[s])this.isAttribute(s)&&(i+="");else if(null===t[s])this.isAttribute(s)?i+="":"?"===s[0]?i+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if(t[s]instanceof Date)i+=this.buildTextValNode(t[s],s,"",e);else if("object"!=typeof t[s]){const o=this.isAttribute(s);if(o)n+=this.buildAttrPairStr(o,""+t[s]);else if(s===this.options.textNodeName){let e=this.options.tagValueProcessor(s,""+t[s]);i+=this.replaceEntitiesValue(e)}else i+=this.buildTextValNode(t[s],s,"",e)}else if(Array.isArray(t[s])){const n=t[s].length;let o="",r="";for(let a=0;a<n;a++){const n=t[s][a];if(void 0===n);else if(null===n)"?"===s[0]?i+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){const t=this.j2x(n,e+1);o+=t.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(r+=t.attrStr)}else o+=this.processTextOrObjNode(n,s,e);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(s,n);t=this.replaceEntitiesValue(t),o+=t}else o+=this.buildTextValNode(n,s,"",e)}this.options.oneListGroup&&(o=this.buildObjectNode(o,s,r,e)),i+=o}else if(this.options.attributesGroupName&&s===this.options.attributesGroupName){const e=Object.keys(t[s]),i=e.length;for(let o=0;o<i;o++)n+=this.buildAttrPairStr(e[o],""+t[s][e[o]])}else i+=this.processTextOrObjNode(t[s],s,e);return{attrStr:n,val:i}},o.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},o.prototype.buildObjectNode=function(t,e,n,i){if(""===t)return"?"===e[0]?this.indentate(i)+"<"+e+n+"?"+this.tagEndChar:this.indentate(i)+"<"+e+n+this.closeTag(e)+this.tagEndChar;{let s="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",s=""),!n&&""!==n||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(i)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(i)+"<"+e+n+o+this.tagEndChar+t+this.indentate(i)+s:this.indentate(i)+"<"+e+n+o+">"+t+s}},o.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},o.prototype.buildTextValNode=function(t,e,n,i){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(i)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(i)+"<"+e+n+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),""===s?this.indentate(i)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(i)+"<"+e+n+">"+s+"</"+e+this.tagEndChar}},o.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const n=this.options.entities[e];t=t.replace(n.regex,n.val)}return t},t.exports=o},74655:t=>{function e(t,r,a,l){let c="",u=!1;for(let d=0;d<t.length;d++){const p=t[d],h=n(p);if(void 0===h)continue;let g="";if(g=0===a.length?h:`${a}.${h}`,h===r.textNodeName){let t=p[h];s(g,r)||(t=r.tagValueProcessor(h,t),t=o(t,r)),u&&(c+=l),c+=t,u=!1;continue}if(h===r.cdataPropName){u&&(c+=l),c+=`<![CDATA[${p[h][0][r.textNodeName]}]]>`,u=!1;continue}if(h===r.commentPropName){c+=l+`\x3c!--${p[h][0][r.textNodeName]}--\x3e`,u=!0;continue}if("?"===h[0]){const t=i(p[":@"],r),e="?xml"===h?"":l;let n=p[h][0][r.textNodeName];n=0!==n.length?" "+n:"",c+=e+`<${h}${n}${t}?>`,u=!0;continue}let f=l;""!==f&&(f+=r.indentBy);const m=l+`<${h}${i(p[":@"],r)}`,x=e(p[h],r,g,f);-1!==r.unpairedTags.indexOf(h)?r.suppressUnpairedNode?c+=m+">":c+=m+"/>":x&&0!==x.length||!r.suppressEmptyNode?x&&x.endsWith(">")?c+=m+`>${x}${l}</${h}>`:(c+=m+">",x&&""!==l&&(x.includes("/>")||x.includes("</"))?c+=l+r.indentBy+x+l:c+=x,c+=`</${h}>`):c+=m+"/>",u=!0}return c}function n(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const i=e[n];if(t.hasOwnProperty(i)&&":@"!==i)return i}}function i(t,e){let n="";if(t&&!e.ignoreAttributes)for(let i in t){if(!t.hasOwnProperty(i))continue;let s=e.attributeValueProcessor(i,t[i]);s=o(s,e),!0===s&&e.suppressBooleanAttributes?n+=` ${i.substr(e.attributeNamePrefix.length)}`:n+=` ${i.substr(e.attributeNamePrefix.length)}="${s}"`}return n}function s(t,e){let n=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let i in e.stopNodes)if(e.stopNodes[i]===t||e.stopNodes[i]==="*."+n)return!0;return!1}function o(t,e){if(t&&t.length>0&&e.processEntities)for(let n=0;n<e.entities.length;n++){const i=e.entities[n];t=t.replace(i.regex,i.val)}return t}t.exports=function(t,n){let i="";return n.format&&n.indentBy.length>0&&(i="\n"),e(t,n,"",i)}},23233:(t,e,n)=>{const i=n(41209);function s(t,e){let n="";for(;e<t.length&&"'"!==t[e]&&'"'!==t[e];e++)n+=t[e];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const i=t[e++];let s="";for(;e<t.length&&t[e]!==i;e++)s+=t[e];return[n,s,e]}function o(t,e){return"!"===t[e+1]&&"-"===t[e+2]&&"-"===t[e+3]}function r(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"N"===t[e+3]&&"T"===t[e+4]&&"I"===t[e+5]&&"T"===t[e+6]&&"Y"===t[e+7]}function a(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"L"===t[e+3]&&"E"===t[e+4]&&"M"===t[e+5]&&"E"===t[e+6]&&"N"===t[e+7]&&"T"===t[e+8]}function l(t,e){return"!"===t[e+1]&&"A"===t[e+2]&&"T"===t[e+3]&&"T"===t[e+4]&&"L"===t[e+5]&&"I"===t[e+6]&&"S"===t[e+7]&&"T"===t[e+8]}function c(t,e){return"!"===t[e+1]&&"N"===t[e+2]&&"O"===t[e+3]&&"T"===t[e+4]&&"A"===t[e+5]&&"T"===t[e+6]&&"I"===t[e+7]&&"O"===t[e+8]&&"N"===t[e+9]}function u(t){if(i.isName(t))return t;throw new Error(`Invalid entity name ${t}`)}t.exports=function(t,e){const n={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let i=1,d=!1,p=!1,h="";for(;e<t.length;e++)if("<"!==t[e]||p)if(">"===t[e]){if(p?"-"===t[e-1]&&"-"===t[e-2]&&(p=!1,i--):i--,0===i)break}else"["===t[e]?d=!0:h+=t[e];else{if(d&&r(t,e))e+=7,[entityName,val,e]=s(t,e+1),-1===val.indexOf("&")&&(n[u(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(d&&a(t,e))e+=8;else if(d&&l(t,e))e+=8;else if(d&&c(t,e))e+=9;else{if(!o)throw new Error("Invalid DOCTYPE");p=!0}i++,h=""}if(0!==i)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:e}}},67063:(t,e)=>{const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};e.buildOptions=function(t){return Object.assign({},n,t)},e.defaultOptions=n},5139:(t,e,n)=>{"use strict";const i=n(41209),s=n(85381),o=n(23233),r=n(78262);function a(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const i=e[n];this.lastEntities[i]={regex:new RegExp("&"+i+";","g"),val:t[i]}}}function l(t,e,n,i,s,o,r){if(void 0!==t&&(this.options.trimValues&&!i&&(t=t.trim()),t.length>0)){r||(t=this.replaceEntitiesValue(t));const i=this.options.tagValueProcessor(e,t,n,s,o);if(null==i)return t;if(typeof i!=typeof t||i!==t)return i;if(this.options.trimValues)return y(t,this.options.parseTagValue,this.options.numberParseOptions);return t.trim()===t?y(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function c(t){if(this.options.removeNSPrefix){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}const u=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){const n=i.getAllMatches(t,u),s=n.length,o={};for(let t=0;t<s;t++){const i=this.resolveNameSpace(n[t][1]);let s=n[t][4],r=this.options.attributeNamePrefix+i;if(i.length)if(this.options.transformAttributeName&&(r=this.options.transformAttributeName(r)),"__proto__"===r&&(r="#__proto__"),void 0!==s){this.options.trimValues&&(s=s.trim()),s=this.replaceEntitiesValue(s);const t=this.options.attributeValueProcessor(i,s,e);o[r]=null==t?s:typeof t!=typeof s||t!==s?t:y(s,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[r]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const t={};return t[this.options.attributesGroupName]=o,t}return o}}const p=function(t){t=t.replace(/\r\n?/g,"\n");const e=new s("!xml");let n=e,i="",r="";for(let a=0;a<t.length;a++){if("<"===t[a])if("/"===t[a+1]){const e=x(t,">",a,"Closing Tag is not closed.");let s=t.substring(a+2,e).trim();if(this.options.removeNSPrefix){const t=s.indexOf(":");-1!==t&&(s=s.substr(t+1))}this.options.transformTagName&&(s=this.options.transformTagName(s)),n&&(i=this.saveTextToParentTag(i,n,r));const o=r.substring(r.lastIndexOf(".")+1);if(s&&-1!==this.options.unpairedTags.indexOf(s))throw new Error(`Unpaired tag can not be used as closing tag: </${s}>`);let l=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(l=r.lastIndexOf(".",r.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=r.lastIndexOf("."),r=r.substring(0,l),n=this.tagsNodeStack.pop(),i="",a=e}else if("?"===t[a+1]){let e=b(t,a,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(i=this.saveTextToParentTag(i,n,r),this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags);else{const t=new s(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,r,e.tagName)),this.addChild(n,t,r)}a=e.closeIndex+1}else if("!--"===t.substr(a+1,3)){const e=x(t,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const s=t.substring(a+4,e-2);i=this.saveTextToParentTag(i,n,r),n.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}a=e}else if("!D"===t.substr(a+1,2)){const e=o(t,a);this.docTypeEntities=e.entities,a=e.i}else if("!["===t.substr(a+1,2)){const e=x(t,"]]>",a,"CDATA is not closed.")-2,s=t.substring(a+9,e);i=this.saveTextToParentTag(i,n,r);let o=this.parseTextData(s,n.tagname,r,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]):n.add(this.options.textNodeName,o),a=e+2}else{let o=b(t,a,this.options.removeNSPrefix),l=o.tagName;const c=o.rawTagName;let u=o.tagExp,d=o.attrExpPresent,p=o.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),n&&i&&"!xml"!==n.tagname&&(i=this.saveTextToParentTag(i,n,r,!1));const h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),r=r.substring(0,r.lastIndexOf("."))),l!==e.tagname&&(r+=r?"."+l:l),this.isItStopNode(this.options.stopNodes,r,l)){let e="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===l[l.length-1]?(l=l.substr(0,l.length-1),r=r.substr(0,r.length-1),u=l):u=u.substr(0,u.length-1),a=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))a=o.closeIndex;else{const n=this.readStopNodeData(t,c,p+1);if(!n)throw new Error(`Unexpected end of ${c}`);a=n.i,e=n.tagContent}const i=new s(l);l!==u&&d&&(i[":@"]=this.buildAttributesMap(u,r,l)),e&&(e=this.parseTextData(e,l,r,!0,d,!0,!0)),r=r.substr(0,r.lastIndexOf(".")),i.add(this.options.textNodeName,e),this.addChild(n,i,r)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===l[l.length-1]?(l=l.substr(0,l.length-1),r=r.substr(0,r.length-1),u=l):u=u.substr(0,u.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));const t=new s(l);l!==u&&d&&(t[":@"]=this.buildAttributesMap(u,r,l)),this.addChild(n,t,r),r=r.substr(0,r.lastIndexOf("."))}else{const t=new s(l);this.tagsNodeStack.push(n),l!==u&&d&&(t[":@"]=this.buildAttributesMap(u,r,l)),this.addChild(n,t,r),n=t}i="",a=p}}else i+=t[a]}return e.child};function h(t,e,n){const i=this.options.updateTag(e.tagname,n,e[":@"]);!1===i||("string"==typeof i?(e.tagname=i,t.addChild(e)):t.addChild(e))}const g=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(let e in this.lastEntities){const n=this.lastEntities[e];t=t.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const n=this.htmlEntities[e];t=t.replace(n.regex,n.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function f(t,e,n,i){return t&&(void 0===i&&(i=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,i))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function m(t,e,n){const i="*."+n;for(const n in t){const s=t[n];if(i===s||e===s)return!0}return!1}function x(t,e,n,i){const s=t.indexOf(e,n);if(-1===s)throw new Error(i);return s+e.length-1}function b(t,e,n,i=">"){const s=function(t,e,n=">"){let i,s="";for(let o=e;o<t.length;o++){let e=t[o];if(i)e===i&&(i="");else if('"'===e||"'"===e)i=e;else if(e===n[0]){if(!n[1])return{data:s,index:o};if(t[o+1]===n[1])return{data:s,index:o}}else"\t"===e&&(e=" ");s+=e}}(t,e+1,i);if(!s)return;let o=s.data;const r=s.index,a=o.search(/\s/);let l=o,c=!0;-1!==a&&(l=o.substring(0,a),o=o.substring(a+1).trimStart());const u=l;if(n){const t=l.indexOf(":");-1!==t&&(l=l.substr(t+1),c=l!==s.data.substr(t+1))}return{tagName:l,tagExp:o,closeIndex:r,attrExpPresent:c,rawTagName:u}}function E(t,e,n){const i=n;let s=1;for(;n<t.length;n++)if("<"===t[n])if("/"===t[n+1]){const o=x(t,">",n,`${e} is not closed`);if(t.substring(n+2,o).trim()===e&&(s--,0===s))return{tagContent:t.substring(i,n),i:o};n=o}else if("?"===t[n+1]){n=x(t,"?>",n+1,"StopNode is not closed.")}else if("!--"===t.substr(n+1,3)){n=x(t,"--\x3e",n+3,"StopNode is not closed.")}else if("!["===t.substr(n+1,2)){n=x(t,"]]>",n,"StopNode is not closed.")-2}else{const i=b(t,n,">");if(i){(i&&i.tagName)===e&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,n=i.closeIndex}}}function y(t,e,n){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&r(t,n)}return i.isExist(t)?t:""}t.exports=class OrderedObjParser{constructor(t){this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,16))}},this.addExternalEntities=a,this.parseXml=p,this.parseTextData=l,this.resolveNameSpace=c,this.buildAttributesMap=d,this.isItStopNode=m,this.replaceEntitiesValue=g,this.readStopNodeData=E,this.saveTextToParentTag=f,this.addChild=h}}},6226:(t,e,n)=>{const{buildOptions:i}=n(67063),s=n(5139),{prettify:o}=n(70896),r=n(70919);t.exports=class XMLParser{constructor(t){this.externalEntities={},this.options=i(t)}parse(t,e){if("string"==typeof t);else{if(!t.toString)throw new Error("XML data is accepted in String or Bytes[] form.");t=t.toString()}if(e){!0===e&&(e={});const n=r.validate(t,e);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new s(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(t);return this.options.preserveOrder||void 0===i?i:o(i,this.options)}addEntity(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}}},70896:(t,e)=>{"use strict";function n(t,e,r){let a;const l={};for(let c=0;c<t.length;c++){const u=t[c],d=i(u);let p="";if(p=void 0===r?d:r+"."+d,d===e.textNodeName)void 0===a?a=u[d]:a+=""+u[d];else{if(void 0===d)continue;if(u[d]){let t=n(u[d],e,p);const i=o(t,e);u[":@"]?s(t,u[":@"],p,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(t)):e.isArray(d,p,i)?l[d]=[t]:l[d]=t}}}return"string"==typeof a?a.length>0&&(l[e.textNodeName]=a):void 0!==a&&(l[e.textNodeName]=a),l}function i(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t];if(":@"!==n)return n}}function s(t,e,n,i){if(e){const s=Object.keys(e),o=s.length;for(let r=0;r<o;r++){const o=s[r];i.isArray(o,n+"."+o,!0,!0)?t[o]=[e[o]]:t[o]=e[o]}}}function o(t,e){const{textNodeName:n}=e,i=Object.keys(t).length;return 0===i||!(1!==i||!t[n]&&"boolean"!=typeof t[n]&&0!==t[n])}e.prettify=function(t,e){return n(t,e)}},85381:t=>{"use strict";t.exports=class XmlNode{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}},78262:t=>{const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(t,s={}){if(s=Object.assign({},i,s),!t||"string"!=typeof t)return t;let o=t.trim();if(void 0!==s.skipLike&&s.skipLike.test(o))return t;if(s.hex&&e.test(o))return Number.parseInt(o,16);{const e=n.exec(o);if(e){const n=e[1],i=e[2];let r=function(t){if(t&&-1!==t.indexOf("."))return"."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substr(0,t.length-1)),t;return t}(e[3]);const a=e[4]||e[6];if(!s.leadingZeros&&i.length>0&&n&&"."!==o[2])return t;if(!s.leadingZeros&&i.length>0&&!n&&"."!==o[1])return t;{const e=Number(o),l=""+e;return-1!==l.search(/[eE]/)||a?s.eNotation?e:t:-1!==o.indexOf(".")?"0"===l&&""===r||l===r||n&&l==="-"+r?e:t:i?r===l||n+r===l?e:t:o===l||o===n+l?e:t}}return t}}}};
1
+ exports.id=711,exports.ids=[711],exports.modules={4213:(t,e,n)=>{"use strict";n.d(e,{i:()=>STSClient});var i=n(31758),s=n(46170),o=n(96692),r=n(33202),a=n(20512),l=n(97882),c=n(51320),u=n(34546),d=n(2103),p=n(1802),h=n(71383),g=n(42952);const f=async(t,e,n)=>({operation:(0,g.u)(e).operation,region:await(0,g.t)(t.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});const m=t=>{const e=[];switch(t.operation){case"AssumeRoleWithSAML":case"AssumeRoleWithWebIdentity":e.push({schemeId:"smithy.api#noAuth"});break;default:e.push(function(t){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"sts",region:t.region},propertiesExtractor:(t,e)=>({signingProperties:{config:t,context:e}})}}(t))}return e},x=t=>{const e=(n=t,{...n,stsClientCtor:STSClient});var n;return{...(0,h.h)(e)}};var b=n(39170);const E="3.621.0";var y=n(68227),v=n(59065),P=n(34054),N=n(62438),w=n(25708),T=n(75854),I=n(3337),A=n(88226),S=n(94134),O=n(42640),C=n(50563),k=n(67670),D=n(6775),$=n(96954);const j="required",R="type",M="fn",V="argv",F="ref",L=!1,_=!0,K="booleanEquals",z="stringEquals",U="sigv4",B="us-east-1",G="endpoint",W="https://sts.{Region}.{PartitionResult#dnsSuffix}",q="tree",X="error",Z="getAttr",H={[j]:!1,[R]:"String"},Y={[j]:!0,default:!1,[R]:"Boolean"},J={[F]:"Endpoint"},Q={[M]:"isSet",[V]:[{[F]:"Region"}]},tt={[F]:"Region"},et={[M]:"aws.partition",[V]:[tt],assign:"PartitionResult"},nt={[F]:"UseFIPS"},it={[F]:"UseDualStack"},st={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:U,signingName:"sts",signingRegion:B}]},headers:{}},ot={},rt={conditions:[{[M]:z,[V]:[tt,"aws-global"]}],[G]:st,[R]:G},at={[M]:K,[V]:[nt,!0]},lt={[M]:K,[V]:[it,!0]},ct={[M]:Z,[V]:[{[F]:"PartitionResult"},"supportsFIPS"]},ut={[F]:"PartitionResult"},dt={[M]:K,[V]:[!0,{[M]:Z,[V]:[ut,"supportsDualStack"]}]},pt=[{[M]:"isSet",[V]:[J]}],ht=[at],gt=[lt],ft={version:"1.0",parameters:{Region:H,UseDualStack:Y,UseFIPS:Y,Endpoint:H,UseGlobalEndpoint:Y},rules:[{conditions:[{[M]:K,[V]:[{[F]:"UseGlobalEndpoint"},_]},{[M]:"not",[V]:pt},Q,et,{[M]:K,[V]:[nt,L]},{[M]:K,[V]:[it,L]}],rules:[{conditions:[{[M]:z,[V]:[tt,"ap-northeast-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-south-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-southeast-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"ap-southeast-2"]}],endpoint:st,[R]:G},rt,{conditions:[{[M]:z,[V]:[tt,"ca-central-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-central-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-north-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-2"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"eu-west-3"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"sa-east-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,B]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-east-2"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-west-1"]}],endpoint:st,[R]:G},{conditions:[{[M]:z,[V]:[tt,"us-west-2"]}],endpoint:st,[R]:G},{endpoint:{url:W,properties:{authSchemes:[{name:U,signingName:"sts",signingRegion:"{Region}"}]},headers:ot},[R]:G}],[R]:q},{conditions:pt,rules:[{conditions:ht,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[R]:X},{conditions:gt,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[R]:X},{endpoint:{url:J,properties:ot,headers:ot},[R]:G}],[R]:q},{conditions:[Q],rules:[{conditions:[et],rules:[{conditions:[at,lt],rules:[{conditions:[{[M]:K,[V]:[_,ct]},dt],rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[R]:X}],[R]:q},{conditions:ht,rules:[{conditions:[{[M]:K,[V]:[ct,_]}],rules:[{conditions:[{[M]:z,[V]:[{[M]:Z,[V]:[ut,"name"]},"aws-us-gov"]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:ot,headers:ot},[R]:G},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"FIPS is enabled but this partition does not support FIPS",[R]:X}],[R]:q},{conditions:gt,rules:[{conditions:[dt],rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ot,headers:ot},[R]:G}],[R]:q},{error:"DualStack is enabled but this partition does not support DualStack",[R]:X}],[R]:q},rt,{endpoint:{url:W,properties:ot,headers:ot},[R]:G}],[R]:q}],[R]:q},{error:"Invalid Configuration: Missing Region",[R]:X}]},mt=(t,e={})=>(0,$.sO)(ft,{endpointParams:t,logger:e.logger});$.mw.aws=D.UF;var xt=n(12165);const bt=t=>{(0,p.I9)(process.version);const e=(0,xt.I)(t),n=()=>e().then(p.lT),i=(t=>({apiVersion:"2011-06-15",base64Decoder:t?.base64Decoder??C.E,base64Encoder:t?.base64Encoder??C.n,disableHostPrefix:t?.disableHostPrefix??!1,endpointProvider:t?.endpointProvider??mt,extensions:t?.extensions??[],httpAuthSchemeProvider:t?.httpAuthSchemeProvider??m,httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4"),signer:new v.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new l.mR}],logger:t?.logger??new p.N4,serviceId:t?.serviceId??"STS",urlParser:t?.urlParser??O.D,utf8Decoder:t?.utf8Decoder??k.ar,utf8Encoder:t?.utf8Encoder??k.Pq}))(t);return(0,y.I)(process.version),{...i,...t,runtime:"node",defaultsMode:e,bodyLengthChecker:t?.bodyLengthChecker??A.n,credentialDefaultProvider:t?.credentialDefaultProvider??P.v6,defaultUserAgentProvider:t?.defaultUserAgentProvider??(0,N.mJ)({serviceId:i.serviceId,clientVersion:E}),httpAuthSchemes:t?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:t=>t.getIdentityProvider("aws.auth#sigv4")||(async t=>await(0,P.v6)(t?.__config||{})()),signer:new v.f},{schemeId:"smithy.api#noAuth",identityProvider:t=>t.getIdentityProvider("smithy.api#noAuth")||(async()=>({})),signer:new l.mR}],maxAttempts:t?.maxAttempts??(0,T.Z)(d.qs),region:t?.region??(0,T.Z)(a.GG,a.zH),requestHandler:I.$c.create(t?.requestHandler??n),retryMode:t?.retryMode??(0,T.Z)({...d.kN,default:async()=>(await n()).retryMode||S.L0}),sha256:t?.sha256??w.V.bind(null,"sha256"),streamCollector:t?.streamCollector??I.kv,useDualstackEndpoint:t?.useDualstackEndpoint??(0,T.Z)(a.e$),useFipsEndpoint:t?.useFipsEndpoint??(0,T.Z)(a.Ko)}};var Et=n(3119),yt=n(47624);const vt=t=>{const e=t.httpAuthSchemes;let n=t.httpAuthSchemeProvider,i=t.credentials;return{setHttpAuthScheme(t){const n=e.findIndex((e=>e.schemeId===t.schemeId));-1===n?e.push(t):e.splice(n,1,t)},httpAuthSchemes:()=>e,setHttpAuthSchemeProvider(t){n=t},httpAuthSchemeProvider:()=>n,setCredentials(t){i=t},credentials:()=>i}};class STSClient extends p.Kj{constructor(...[t]){const e=bt(t||{}),n=(0,b.v)(e),h=(0,a.TD)(n),g=(0,u.Co)(h),f=(0,i.OV)(g),m=(0,r.Dc)(f),E=(0,d.$z)(m),y=((t,e)=>{const n={...(0,Et.Rq)(t),...(0,p.xA)(t),...(0,yt.eS)(t),...vt(t)};return e.forEach((t=>t.configure(n))),{...t,...(0,Et.$3)(n),...(0,p.uv)(n),...(0,yt.jt)(n),...(i=n,{httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()})};var i})(x(E),t?.extensions||[]);super(y),this.config=y,this.middlewareStack.use((0,i.TC)(this.config)),this.middlewareStack.use((0,s.Y7)(this.config)),this.middlewareStack.use((0,o.n4)(this.config)),this.middlewareStack.use((0,r.sM)(this.config)),this.middlewareStack.use((0,d.ey)(this.config)),this.middlewareStack.use((0,c.vK)(this.config)),this.middlewareStack.use((0,l.wB)(this.config,{httpAuthSchemeParametersProvider:this.getDefaultHttpAuthSchemeParametersProvider(),identityProviderConfigProvider:this.getIdentityProviderConfigProvider()})),this.middlewareStack.use((0,l.lW)(this.config))}destroy(){super.destroy()}getDefaultHttpAuthSchemeParametersProvider(){return f}getIdentityProviderConfigProvider(){return async t=>new l.h$({"aws.auth#sigv4":t.credentials})}}},5139:(t,e,n)=>{"use strict";const i=n(41209),s=n(85381),o=n(23233),r=n(78262);function a(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const i=e[n];this.lastEntities[i]={regex:new RegExp("&"+i+";","g"),val:t[i]}}}function l(t,e,n,i,s,o,r){if(void 0!==t&&(this.options.trimValues&&!i&&(t=t.trim()),t.length>0)){r||(t=this.replaceEntitiesValue(t));const i=this.options.tagValueProcessor(e,t,n,s,o);if(null==i)return t;if(typeof i!=typeof t||i!==t)return i;if(this.options.trimValues)return y(t,this.options.parseTagValue,this.options.numberParseOptions);return t.trim()===t?y(t,this.options.parseTagValue,this.options.numberParseOptions):t}}function c(t){if(this.options.removeNSPrefix){const e=t.split(":"),n="/"===t.charAt(0)?"/":"";if("xmlns"===e[0])return"";2===e.length&&(t=n+e[1])}return t}const u=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function d(t,e,n){if(!this.options.ignoreAttributes&&"string"==typeof t){const n=i.getAllMatches(t,u),s=n.length,o={};for(let t=0;t<s;t++){const i=this.resolveNameSpace(n[t][1]);let s=n[t][4],r=this.options.attributeNamePrefix+i;if(i.length)if(this.options.transformAttributeName&&(r=this.options.transformAttributeName(r)),"__proto__"===r&&(r="#__proto__"),void 0!==s){this.options.trimValues&&(s=s.trim()),s=this.replaceEntitiesValue(s);const t=this.options.attributeValueProcessor(i,s,e);o[r]=null==t?s:typeof t!=typeof s||t!==s?t:y(s,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(o[r]=!0)}if(!Object.keys(o).length)return;if(this.options.attributesGroupName){const t={};return t[this.options.attributesGroupName]=o,t}return o}}const p=function(t){t=t.replace(/\r\n?/g,"\n");const e=new s("!xml");let n=e,i="",r="";for(let a=0;a<t.length;a++){if("<"===t[a])if("/"===t[a+1]){const e=x(t,">",a,"Closing Tag is not closed.");let s=t.substring(a+2,e).trim();if(this.options.removeNSPrefix){const t=s.indexOf(":");-1!==t&&(s=s.substr(t+1))}this.options.transformTagName&&(s=this.options.transformTagName(s)),n&&(i=this.saveTextToParentTag(i,n,r));const o=r.substring(r.lastIndexOf(".")+1);if(s&&-1!==this.options.unpairedTags.indexOf(s))throw new Error(`Unpaired tag can not be used as closing tag: </${s}>`);let l=0;o&&-1!==this.options.unpairedTags.indexOf(o)?(l=r.lastIndexOf(".",r.lastIndexOf(".")-1),this.tagsNodeStack.pop()):l=r.lastIndexOf("."),r=r.substring(0,l),n=this.tagsNodeStack.pop(),i="",a=e}else if("?"===t[a+1]){let e=b(t,a,!1,"?>");if(!e)throw new Error("Pi Tag is not closed.");if(i=this.saveTextToParentTag(i,n,r),this.options.ignoreDeclaration&&"?xml"===e.tagName||this.options.ignorePiTags);else{const t=new s(e.tagName);t.add(this.options.textNodeName,""),e.tagName!==e.tagExp&&e.attrExpPresent&&(t[":@"]=this.buildAttributesMap(e.tagExp,r,e.tagName)),this.addChild(n,t,r)}a=e.closeIndex+1}else if("!--"===t.substr(a+1,3)){const e=x(t,"--\x3e",a+4,"Comment is not closed.");if(this.options.commentPropName){const s=t.substring(a+4,e-2);i=this.saveTextToParentTag(i,n,r),n.add(this.options.commentPropName,[{[this.options.textNodeName]:s}])}a=e}else if("!D"===t.substr(a+1,2)){const e=o(t,a);this.docTypeEntities=e.entities,a=e.i}else if("!["===t.substr(a+1,2)){const e=x(t,"]]>",a,"CDATA is not closed.")-2,s=t.substring(a+9,e);i=this.saveTextToParentTag(i,n,r);let o=this.parseTextData(s,n.tagname,r,!0,!1,!0,!0);null==o&&(o=""),this.options.cdataPropName?n.add(this.options.cdataPropName,[{[this.options.textNodeName]:s}]):n.add(this.options.textNodeName,o),a=e+2}else{let o=b(t,a,this.options.removeNSPrefix),l=o.tagName;const c=o.rawTagName;let u=o.tagExp,d=o.attrExpPresent,p=o.closeIndex;this.options.transformTagName&&(l=this.options.transformTagName(l)),n&&i&&"!xml"!==n.tagname&&(i=this.saveTextToParentTag(i,n,r,!1));const h=n;if(h&&-1!==this.options.unpairedTags.indexOf(h.tagname)&&(n=this.tagsNodeStack.pop(),r=r.substring(0,r.lastIndexOf("."))),l!==e.tagname&&(r+=r?"."+l:l),this.isItStopNode(this.options.stopNodes,r,l)){let e="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===l[l.length-1]?(l=l.substr(0,l.length-1),r=r.substr(0,r.length-1),u=l):u=u.substr(0,u.length-1),a=o.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(l))a=o.closeIndex;else{const n=this.readStopNodeData(t,c,p+1);if(!n)throw new Error(`Unexpected end of ${c}`);a=n.i,e=n.tagContent}const i=new s(l);l!==u&&d&&(i[":@"]=this.buildAttributesMap(u,r,l)),e&&(e=this.parseTextData(e,l,r,!0,d,!0,!0)),r=r.substr(0,r.lastIndexOf(".")),i.add(this.options.textNodeName,e),this.addChild(n,i,r)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===l[l.length-1]?(l=l.substr(0,l.length-1),r=r.substr(0,r.length-1),u=l):u=u.substr(0,u.length-1),this.options.transformTagName&&(l=this.options.transformTagName(l));const t=new s(l);l!==u&&d&&(t[":@"]=this.buildAttributesMap(u,r,l)),this.addChild(n,t,r),r=r.substr(0,r.lastIndexOf("."))}else{const t=new s(l);this.tagsNodeStack.push(n),l!==u&&d&&(t[":@"]=this.buildAttributesMap(u,r,l)),this.addChild(n,t,r),n=t}i="",a=p}}else i+=t[a]}return e.child};function h(t,e,n){const i=this.options.updateTag(e.tagname,n,e[":@"]);!1===i||("string"==typeof i?(e.tagname=i,t.addChild(e)):t.addChild(e))}const g=function(t){if(this.options.processEntities){for(let e in this.docTypeEntities){const n=this.docTypeEntities[e];t=t.replace(n.regx,n.val)}for(let e in this.lastEntities){const n=this.lastEntities[e];t=t.replace(n.regex,n.val)}if(this.options.htmlEntities)for(let e in this.htmlEntities){const n=this.htmlEntities[e];t=t.replace(n.regex,n.val)}t=t.replace(this.ampEntity.regex,this.ampEntity.val)}return t};function f(t,e,n,i){return t&&(void 0===i&&(i=0===Object.keys(e.child).length),void 0!==(t=this.parseTextData(t,e.tagname,n,!1,!!e[":@"]&&0!==Object.keys(e[":@"]).length,i))&&""!==t&&e.add(this.options.textNodeName,t),t=""),t}function m(t,e,n){const i="*."+n;for(const n in t){const s=t[n];if(i===s||e===s)return!0}return!1}function x(t,e,n,i){const s=t.indexOf(e,n);if(-1===s)throw new Error(i);return s+e.length-1}function b(t,e,n,i=">"){const s=function(t,e,n=">"){let i,s="";for(let o=e;o<t.length;o++){let e=t[o];if(i)e===i&&(i="");else if('"'===e||"'"===e)i=e;else if(e===n[0]){if(!n[1])return{data:s,index:o};if(t[o+1]===n[1])return{data:s,index:o}}else"\t"===e&&(e=" ");s+=e}}(t,e+1,i);if(!s)return;let o=s.data;const r=s.index,a=o.search(/\s/);let l=o,c=!0;-1!==a&&(l=o.substring(0,a),o=o.substring(a+1).trimStart());const u=l;if(n){const t=l.indexOf(":");-1!==t&&(l=l.substr(t+1),c=l!==s.data.substr(t+1))}return{tagName:l,tagExp:o,closeIndex:r,attrExpPresent:c,rawTagName:u}}function E(t,e,n){const i=n;let s=1;for(;n<t.length;n++)if("<"===t[n])if("/"===t[n+1]){const o=x(t,">",n,`${e} is not closed`);if(t.substring(n+2,o).trim()===e&&(s--,0===s))return{tagContent:t.substring(i,n),i:o};n=o}else if("?"===t[n+1]){n=x(t,"?>",n+1,"StopNode is not closed.")}else if("!--"===t.substr(n+1,3)){n=x(t,"--\x3e",n+3,"StopNode is not closed.")}else if("!["===t.substr(n+1,2)){n=x(t,"]]>",n,"StopNode is not closed.")-2}else{const i=b(t,n,">");if(i){(i&&i.tagName)===e&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,n=i.closeIndex}}}function y(t,e,n){if(e&&"string"==typeof t){const e=t.trim();return"true"===e||"false"!==e&&r(t,n)}return i.isExist(t)?t:""}t.exports=class OrderedObjParser{constructor(t){this.options=t,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"\xa2"},pound:{regex:/&(pound|#163);/g,val:"\xa3"},yen:{regex:/&(yen|#165);/g,val:"\xa5"},euro:{regex:/&(euro|#8364);/g,val:"\u20ac"},copyright:{regex:/&(copy|#169);/g,val:"\xa9"},reg:{regex:/&(reg|#174);/g,val:"\xae"},inr:{regex:/&(inr|#8377);/g,val:"\u20b9"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(t,e)=>String.fromCharCode(Number.parseInt(e,16))}},this.addExternalEntities=a,this.parseXml=p,this.parseTextData=l,this.resolveNameSpace=c,this.buildAttributesMap=d,this.isItStopNode=m,this.replaceEntitiesValue=g,this.readStopNodeData=E,this.saveTextToParentTag=f,this.addChild=h}}},6226:(t,e,n)=>{const{buildOptions:i}=n(67063),s=n(5139),{prettify:o}=n(70896),r=n(70919);t.exports=class XMLParser{constructor(t){this.externalEntities={},this.options=i(t)}parse(t,e){if("string"==typeof t);else{if(!t.toString)throw new Error("XML data is accepted in String or Bytes[] form.");t=t.toString()}if(e){!0===e&&(e={});const n=r.validate(t,e);if(!0!==n)throw Error(`${n.err.msg}:${n.err.line}:${n.err.col}`)}const n=new s(this.options);n.addExternalEntities(this.externalEntities);const i=n.parseXml(t);return this.options.preserveOrder||void 0===i?i:o(i,this.options)}addEntity(t,e){if(-1!==e.indexOf("&"))throw new Error("Entity value can't have '&'");if(-1!==t.indexOf("&")||-1!==t.indexOf(";"))throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===e)throw new Error("An entity with value '&' is not permitted");this.externalEntities[t]=e}}},12763:(t,e,n)=>{"use strict";const i=n(70919),s=n(6226),o=n(75181);t.exports={XMLParser:s,XMLValidator:i,XMLBuilder:o}},23233:(t,e,n)=>{const i=n(41209);function s(t,e){let n="";for(;e<t.length&&"'"!==t[e]&&'"'!==t[e];e++)n+=t[e];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const i=t[e++];let s="";for(;e<t.length&&t[e]!==i;e++)s+=t[e];return[n,s,e]}function o(t,e){return"!"===t[e+1]&&"-"===t[e+2]&&"-"===t[e+3]}function r(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"N"===t[e+3]&&"T"===t[e+4]&&"I"===t[e+5]&&"T"===t[e+6]&&"Y"===t[e+7]}function a(t,e){return"!"===t[e+1]&&"E"===t[e+2]&&"L"===t[e+3]&&"E"===t[e+4]&&"M"===t[e+5]&&"E"===t[e+6]&&"N"===t[e+7]&&"T"===t[e+8]}function l(t,e){return"!"===t[e+1]&&"A"===t[e+2]&&"T"===t[e+3]&&"T"===t[e+4]&&"L"===t[e+5]&&"I"===t[e+6]&&"S"===t[e+7]&&"T"===t[e+8]}function c(t,e){return"!"===t[e+1]&&"N"===t[e+2]&&"O"===t[e+3]&&"T"===t[e+4]&&"A"===t[e+5]&&"T"===t[e+6]&&"I"===t[e+7]&&"O"===t[e+8]&&"N"===t[e+9]}function u(t){if(i.isName(t))return t;throw new Error(`Invalid entity name ${t}`)}t.exports=function(t,e){const n={};if("O"!==t[e+3]||"C"!==t[e+4]||"T"!==t[e+5]||"Y"!==t[e+6]||"P"!==t[e+7]||"E"!==t[e+8])throw new Error("Invalid Tag instead of DOCTYPE");{e+=9;let i=1,d=!1,p=!1,h="";for(;e<t.length;e++)if("<"!==t[e]||p)if(">"===t[e]){if(p?"-"===t[e-1]&&"-"===t[e-2]&&(p=!1,i--):i--,0===i)break}else"["===t[e]?d=!0:h+=t[e];else{if(d&&r(t,e))e+=7,[entityName,val,e]=s(t,e+1),-1===val.indexOf("&")&&(n[u(entityName)]={regx:RegExp(`&${entityName};`,"g"),val});else if(d&&a(t,e))e+=8;else if(d&&l(t,e))e+=8;else if(d&&c(t,e))e+=9;else{if(!o)throw new Error("Invalid DOCTYPE");p=!0}i++,h=""}if(0!==i)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:e}}},25043:(t,e,n)=>{"use strict";n.d(e,{Q:()=>AssumeRoleCommand});var i=n(34546),s=n(8029),o=n(1802),r=n(39170),a=n(64355),l=n(73919);class AssumeRoleCommand extends(o.uB.classBuilder().ep({...r.S}).m((function(t,e,n,o){return[(0,s.TM)(n,this.serialize,this.deserialize),(0,i.rD)(n,t.getEndpointParameterInstructions())]})).s("AWSSecurityTokenServiceV20110615","AssumeRole",{}).n("STSClient","AssumeRoleCommand").f(void 0,a.kl).ser(l.JC).de(l.aP).build()){}},39170:(t,e,n)=>{"use strict";n.d(e,{S:()=>s,v:()=>i});const i=t=>({...t,useDualstackEndpoint:t.useDualstackEndpoint??!1,useFipsEndpoint:t.useFipsEndpoint??!1,useGlobalEndpoint:t.useGlobalEndpoint??!1,defaultSigningName:"sts"}),s={UseGlobalEndpoint:{type:"builtInParams",name:"useGlobalEndpoint"},UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}},41209:(t,e)=>{"use strict";const n=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",i="["+n+"]["+(n+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040")+"]*",s=new RegExp("^"+i+"$");e.isExist=function(t){return void 0!==t},e.isEmptyObject=function(t){return 0===Object.keys(t).length},e.merge=function(t,e,n){if(e){const i=Object.keys(e),s=i.length;for(let o=0;o<s;o++)t[i[o]]="strict"===n?[e[i[o]]]:e[i[o]]}},e.getValue=function(t){return e.isExist(t)?t:""},e.isName=function(t){const e=s.exec(t);return!(null==e)},e.getAllMatches=function(t,e){const n=[];let i=e.exec(t);for(;i;){const s=[];s.startIndex=e.lastIndex-i[0].length;const o=i.length;for(let t=0;t<o;t++)s.push(i[t]);n.push(s),i=e.exec(t)}return n},e.nameRegexp=i},64355:(t,e,n)=>{"use strict";n.d(e,{AA:()=>l,KT:()=>a,Nd:()=>IDPCommunicationErrorException,V1:()=>PackedPolicyTooLargeException,_A:()=>ExpiredTokenException,_Z:()=>MalformedPolicyDocumentException,fi:()=>IDPRejectedClaimException,kl:()=>r,po:()=>InvalidAuthorizationMessageException,wU:()=>RegionDisabledException,ye:()=>InvalidIdentityTokenException});var i=n(1802),s=n(88180);class ExpiredTokenException extends s.L{constructor(t){super({name:"ExpiredTokenException",$fault:"client",...t}),this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,ExpiredTokenException.prototype)}}class MalformedPolicyDocumentException extends s.L{constructor(t){super({name:"MalformedPolicyDocumentException",$fault:"client",...t}),this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,MalformedPolicyDocumentException.prototype)}}class PackedPolicyTooLargeException extends s.L{constructor(t){super({name:"PackedPolicyTooLargeException",$fault:"client",...t}),this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,PackedPolicyTooLargeException.prototype)}}class RegionDisabledException extends s.L{constructor(t){super({name:"RegionDisabledException",$fault:"client",...t}),this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,RegionDisabledException.prototype)}}class IDPRejectedClaimException extends s.L{constructor(t){super({name:"IDPRejectedClaimException",$fault:"client",...t}),this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,IDPRejectedClaimException.prototype)}}class InvalidIdentityTokenException extends s.L{constructor(t){super({name:"InvalidIdentityTokenException",$fault:"client",...t}),this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,InvalidIdentityTokenException.prototype)}}class IDPCommunicationErrorException extends s.L{constructor(t){super({name:"IDPCommunicationErrorException",$fault:"client",...t}),this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,IDPCommunicationErrorException.prototype)}}class InvalidAuthorizationMessageException extends s.L{constructor(t){super({name:"InvalidAuthorizationMessageException",$fault:"client",...t}),this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,InvalidAuthorizationMessageException.prototype)}}const o=t=>({...t,...t.SecretAccessKey&&{SecretAccessKey:i.$H}}),r=t=>({...t,...t.Credentials&&{Credentials:o(t.Credentials)}}),a=t=>({...t,...t.WebIdentityToken&&{WebIdentityToken:i.$H}}),l=t=>({...t,...t.Credentials&&{Credentials:o(t.Credentials)}})},67063:(t,e)=>{const n={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(t,e,n){return t}};e.buildOptions=function(t){return Object.assign({},n,t)},e.defaultOptions=n},70896:(t,e)=>{"use strict";function n(t,e,r){let a;const l={};for(let c=0;c<t.length;c++){const u=t[c],d=i(u);let p="";if(p=void 0===r?d:r+"."+d,d===e.textNodeName)void 0===a?a=u[d]:a+=""+u[d];else{if(void 0===d)continue;if(u[d]){let t=n(u[d],e,p);const i=o(t,e);u[":@"]?s(t,u[":@"],p,e):1!==Object.keys(t).length||void 0===t[e.textNodeName]||e.alwaysCreateTextNode?0===Object.keys(t).length&&(e.alwaysCreateTextNode?t[e.textNodeName]="":t=""):t=t[e.textNodeName],void 0!==l[d]&&l.hasOwnProperty(d)?(Array.isArray(l[d])||(l[d]=[l[d]]),l[d].push(t)):e.isArray(d,p,i)?l[d]=[t]:l[d]=t}}}return"string"==typeof a?a.length>0&&(l[e.textNodeName]=a):void 0!==a&&(l[e.textNodeName]=a),l}function i(t){const e=Object.keys(t);for(let t=0;t<e.length;t++){const n=e[t];if(":@"!==n)return n}}function s(t,e,n,i){if(e){const s=Object.keys(e),o=s.length;for(let r=0;r<o;r++){const o=s[r];i.isArray(o,n+"."+o,!0,!0)?t[o]=[e[o]]:t[o]=e[o]}}}function o(t,e){const{textNodeName:n}=e,i=Object.keys(t).length;return 0===i||!(1!==i||!t[n]&&"boolean"!=typeof t[n]&&0!==t[n])}e.prettify=function(t,e){return n(t,e)}},70919:(t,e,n)=>{"use strict";const i=n(41209),s={allowBooleanAttributes:!1,unpairedTags:[]};function o(t){return" "===t||"\t"===t||"\n"===t||"\r"===t}function r(t,e){const n=e;for(;e<t.length;e++)if("?"!=t[e]&&" "!=t[e]);else{const i=t.substr(n,e-n);if(e>5&&"xml"===i)return g("InvalidXml","XML declaration allowed only at the start of the document.",m(t,e));if("?"==t[e]&&">"==t[e+1]){e++;break}}return e}function a(t,e){if(t.length>e+5&&"-"===t[e+1]&&"-"===t[e+2]){for(e+=3;e<t.length;e++)if("-"===t[e]&&"-"===t[e+1]&&">"===t[e+2]){e+=2;break}}else if(t.length>e+8&&"D"===t[e+1]&&"O"===t[e+2]&&"C"===t[e+3]&&"T"===t[e+4]&&"Y"===t[e+5]&&"P"===t[e+6]&&"E"===t[e+7]){let n=1;for(e+=8;e<t.length;e++)if("<"===t[e])n++;else if(">"===t[e]&&(n--,0===n))break}else if(t.length>e+9&&"["===t[e+1]&&"C"===t[e+2]&&"D"===t[e+3]&&"A"===t[e+4]&&"T"===t[e+5]&&"A"===t[e+6]&&"["===t[e+7])for(e+=8;e<t.length;e++)if("]"===t[e]&&"]"===t[e+1]&&">"===t[e+2]){e+=2;break}return e}e.validate=function(t,e){e=Object.assign({},s,e);const n=[];let l=!1,c=!1;"\ufeff"===t[0]&&(t=t.substr(1));for(let s=0;s<t.length;s++)if("<"===t[s]&&"?"===t[s+1]){if(s+=2,s=r(t,s),s.err)return s}else{if("<"!==t[s]){if(o(t[s]))continue;return g("InvalidChar","char '"+t[s]+"' is not expected.",m(t,s))}{let f=s;if(s++,"!"===t[s]){s=a(t,s);continue}{let x=!1;"/"===t[s]&&(x=!0,s++);let b="";for(;s<t.length&&">"!==t[s]&&" "!==t[s]&&"\t"!==t[s]&&"\n"!==t[s]&&"\r"!==t[s];s++)b+=t[s];if(b=b.trim(),"/"===b[b.length-1]&&(b=b.substring(0,b.length-1),s--),d=b,!i.isName(d)){let e;return e=0===b.trim().length?"Invalid space after '<'.":"Tag '"+b+"' is an invalid name.",g("InvalidTag",e,m(t,s))}const E=u(t,s);if(!1===E)return g("InvalidAttr","Attributes for '"+b+"' have open quote.",m(t,s));let y=E.value;if(s=E.index,"/"===y[y.length-1]){const n=s-y.length;y=y.substring(0,y.length-1);const i=p(y,e);if(!0!==i)return g(i.err.code,i.err.msg,m(t,n+i.err.line));l=!0}else if(x){if(!E.tagClosed)return g("InvalidTag","Closing tag '"+b+"' doesn't have proper closing.",m(t,s));if(y.trim().length>0)return g("InvalidTag","Closing tag '"+b+"' can't have attributes or invalid starting.",m(t,f));if(0===n.length)return g("InvalidTag","Closing tag '"+b+"' has not been opened.",m(t,f));{const e=n.pop();if(b!==e.tagName){let n=m(t,e.tagStartPos);return g("InvalidTag","Expected closing tag '"+e.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+b+"'.",m(t,f))}0==n.length&&(c=!0)}}else{const i=p(y,e);if(!0!==i)return g(i.err.code,i.err.msg,m(t,s-y.length+i.err.line));if(!0===c)return g("InvalidXml","Multiple possible root nodes found.",m(t,s));-1!==e.unpairedTags.indexOf(b)||n.push({tagName:b,tagStartPos:f}),l=!0}for(s++;s<t.length;s++)if("<"===t[s]){if("!"===t[s+1]){s++,s=a(t,s);continue}if("?"!==t[s+1])break;if(s=r(t,++s),s.err)return s}else if("&"===t[s]){const e=h(t,s);if(-1==e)return g("InvalidChar","char '&' is not expected.",m(t,s));s=e}else if(!0===c&&!o(t[s]))return g("InvalidXml","Extra text at the end",m(t,s));"<"===t[s]&&s--}}}var d;return l?1==n.length?g("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",m(t,n[0].tagStartPos)):!(n.length>0)||g("InvalidXml","Invalid '"+JSON.stringify(n.map((t=>t.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):g("InvalidXml","Start tag expected.",1)};const l='"',c="'";function u(t,e){let n="",i="",s=!1;for(;e<t.length;e++){if(t[e]===l||t[e]===c)""===i?i=t[e]:i!==t[e]||(i="");else if(">"===t[e]&&""===i){s=!0;break}n+=t[e]}return""===i&&{value:n,index:e,tagClosed:s}}const d=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function p(t,e){const n=i.getAllMatches(t,d),s={};for(let t=0;t<n.length;t++){if(0===n[t][1].length)return g("InvalidAttr","Attribute '"+n[t][2]+"' has no space in starting.",x(n[t]));if(void 0!==n[t][3]&&void 0===n[t][4])return g("InvalidAttr","Attribute '"+n[t][2]+"' is without value.",x(n[t]));if(void 0===n[t][3]&&!e.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+n[t][2]+"' is not allowed.",x(n[t]));const i=n[t][2];if(!f(i))return g("InvalidAttr","Attribute '"+i+"' is an invalid name.",x(n[t]));if(s.hasOwnProperty(i))return g("InvalidAttr","Attribute '"+i+"' is repeated.",x(n[t]));s[i]=1}return!0}function h(t,e){if(";"===t[++e])return-1;if("#"===t[e])return function(t,e){let n=/\d/;for("x"===t[e]&&(e++,n=/[\da-fA-F]/);e<t.length;e++){if(";"===t[e])return e;if(!t[e].match(n))break}return-1}(t,++e);let n=0;for(;e<t.length;e++,n++)if(!(t[e].match(/\w/)&&n<20)){if(";"===t[e])break;return-1}return e}function g(t,e,n){return{err:{code:t,msg:e,line:n.line||n,col:n.col}}}function f(t){return i.isName(t)}function m(t,e){const n=t.substring(0,e).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function x(t){return t.startIndex+t[1].length}},73919:(t,e,n)=>{"use strict";n.d(e,{aP:()=>h,MV:()=>g,JC:()=>d,$3:()=>p});var i=n(1802),s=n(12763),o=n(53127);const r=(t,e)=>(0,o.w)(t,e).then((t=>{if(t.length){const e=new s.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(t,e)=>""===e.trim()&&e.includes("\n")?"":void 0});let n;e.addEntity("#xD","\r"),e.addEntity("#10","\n");try{n=e.parse(t,!0)}catch(e){throw e&&"object"==typeof e&&Object.defineProperty(e,"$responseBodyText",{value:t}),e}const o="#text",r=Object.keys(n)[0],a=n[r];return a[o]&&(a[r]=a[o],delete a[o]),(0,i.rm)(a)}return{}})),a=async(t,e)=>{const n=await r(t,e);return n.Error&&(n.Error.message=n.Error.message??n.Error.Message),n};var l=n(47624),c=n(64355),u=n(88180);const d=async(t,e)=>{const n=X;let i;return i=Dt({...w(t,e),[H]:J,[At]:Z}),q(e,n,"/",void 0,i)},p=async(t,e)=>{const n=X;let i;return i=Dt({...T(t,e),[H]:et,[At]:Z}),q(e,n,"/",void 0,i)},h=async(t,e)=>{if(t.statusCode>=300)return f(t,e);const n=await r(t.body,e);let i={};i=j(n.AssumeRoleResult,e);return{$metadata:G(t),...i}},g=async(t,e)=>{if(t.statusCode>=300)return f(t,e);const n=await r(t.body,e);let i={};i=R(n.AssumeRoleWithWebIdentityResult,e);return{$metadata:G(t),...i}},f=async(t,e)=>{const n={...t,body:await a(t.body,e)},i=$t(t,n.body);switch(i){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await m(n,e);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await v(n,e);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await P(n,e);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await N(n,e);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await b(n,e);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await y(n,e);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await x(n,e);case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await E(n,e);default:const s=n.body;return W({output:t,parsedBody:s.Error,errorCode:i})}},m=async(t,e)=>{const n=t.body,s=V(n.Error,e),o=new c._A({$metadata:G(t),...s});return(0,i.Mw)(o,n)},x=async(t,e)=>{const n=t.body,s=F(n.Error,e),o=new c.Nd({$metadata:G(t),...s});return(0,i.Mw)(o,n)},b=async(t,e)=>{const n=t.body,s=L(n.Error,e),o=new c.fi({$metadata:G(t),...s});return(0,i.Mw)(o,n)},E=async(t,e)=>{const n=t.body,s=_(n.Error,e),o=new c.po({$metadata:G(t),...s});return(0,i.Mw)(o,n)},y=async(t,e)=>{const n=t.body,s=K(n.Error,e),o=new c.ye({$metadata:G(t),...s});return(0,i.Mw)(o,n)},v=async(t,e)=>{const n=t.body,s=z(n.Error,e),o=new c._Z({$metadata:G(t),...s});return(0,i.Mw)(o,n)},P=async(t,e)=>{const n=t.body,s=U(n.Error,e),o=new c.V1({$metadata:G(t),...s});return(0,i.Mw)(o,n)},N=async(t,e)=>{const n=t.body,s=B(n.Error,e),o=new c.wU({$metadata:G(t),...s});return(0,i.Mw)(o,n)},w=(t,e)=>{const n={};if(null!=t[xt]&&(n[xt]=t[xt]),null!=t[bt]&&(n[bt]=t[bt]),null!=t[dt]){const i=I(t[dt],e);0===t[dt]?.length&&(n.PolicyArns=[]),Object.entries(i).forEach((([t,e])=>{n[`PolicyArns.${t}`]=e}))}if(null!=t[ut]&&(n[ut]=t[ut]),null!=t[rt]&&(n[rt]=t[rt]),null!=t[wt]){const i=D(t[wt],e);0===t[wt]?.length&&(n.Tags=[]),Object.entries(i).forEach((([t,e])=>{n[`Tags.${t}`]=e}))}if(null!=t[It]){const i=k(t[It],e);0===t[It]?.length&&(n.TransitiveTagKeys=[]),Object.entries(i).forEach((([t,e])=>{n[`TransitiveTagKeys.${t}`]=e}))}if(null!=t[lt]&&(n[lt]=t[lt]),null!=t[Pt]&&(n[Pt]=t[Pt]),null!=t[Tt]&&(n[Tt]=t[Tt]),null!=t[vt]&&(n[vt]=t[vt]),null!=t[ht]){const i=O(t[ht],e);0===t[ht]?.length&&(n.ProvidedContexts=[]),Object.entries(i).forEach((([t,e])=>{n[`ProvidedContexts.${t}`]=e}))}return n},T=(t,e)=>{const n={};if(null!=t[xt]&&(n[xt]=t[xt]),null!=t[bt]&&(n[bt]=t[bt]),null!=t[Ot]&&(n[Ot]=t[Ot]),null!=t[gt]&&(n[gt]=t[gt]),null!=t[dt]){const i=I(t[dt],e);0===t[dt]?.length&&(n.PolicyArns=[]),Object.entries(i).forEach((([t,e])=>{n[`PolicyArns.${t}`]=e}))}return null!=t[ut]&&(n[ut]=t[ut]),null!=t[rt]&&(n[rt]=t[rt]),n},I=(t,e)=>{const n={};let i=1;for(const s of t){if(null===s)continue;const t=A(s,e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},A=(t,e)=>{const n={};return null!=t[Ct]&&(n[Ct]=t[Ct]),n},S=(t,e)=>{const n={};return null!=t[pt]&&(n[pt]=t[pt]),null!=t[ot]&&(n[ot]=t[ot]),n},O=(t,e)=>{const n={};let i=1;for(const e of t){if(null===e)continue;const t=S(e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},C=(t,e)=>{const n={};return null!=t[ct]&&(n[ct]=t[ct]),null!=t[St]&&(n[St]=t[St]),n},k=(t,e)=>{const n={};let i=1;for(const e of t)null!==e&&(n[`member.${i}`]=e,i++);return n},D=(t,e)=>{const n={};let i=1;for(const e of t){if(null===e)continue;const t=C(e);Object.entries(t).forEach((([t,e])=>{n[`member.${i}.${t}`]=e})),i++}return n},$=(t,e)=>{const n={};return null!=t[Q]&&(n[Q]=(0,i.lK)(t[Q])),null!=t[nt]&&(n[nt]=(0,i.lK)(t[nt])),n},j=(t,e)=>{const n={};return null!=t[st]&&(n[st]=M(t[st],e)),null!=t[tt]&&(n[tt]=$(t[tt])),null!=t[ft]&&(n[ft]=(0,i.xW)(t[ft])),null!=t[vt]&&(n[vt]=(0,i.lK)(t[vt])),n},R=(t,e)=>{const n={};return null!=t[st]&&(n[st]=M(t[st],e)),null!=t[yt]&&(n[yt]=(0,i.lK)(t[yt])),null!=t[tt]&&(n[tt]=$(t[tt])),null!=t[ft]&&(n[ft]=(0,i.xW)(t[ft])),null!=t[mt]&&(n[mt]=(0,i.lK)(t[mt])),null!=t[it]&&(n[it]=(0,i.lK)(t[it])),null!=t[vt]&&(n[vt]=(0,i.lK)(t[vt])),n},M=(t,e)=>{const n={};return null!=t[Y]&&(n[Y]=(0,i.lK)(t[Y])),null!=t[Et]&&(n[Et]=(0,i.lK)(t[Et])),null!=t[Nt]&&(n[Nt]=(0,i.lK)(t[Nt])),null!=t[at]&&(n[at]=(0,i.Y0)((0,i.t_)(t[at]))),n},V=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},F=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},L=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},_=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},K=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},z=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},U=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},B=(t,e)=>{const n={};return null!=t[kt]&&(n[kt]=(0,i.lK)(t[kt])),n},G=t=>({httpStatusCode:t.statusCode,requestId:t.headers["x-amzn-requestid"]??t.headers["x-amzn-request-id"]??t.headers["x-amz-request-id"],extendedRequestId:t.headers["x-amz-id-2"],cfId:t.headers["x-amz-cf-id"]}),W=(0,i.jr)(u.L),q=async(t,e,n,i,s)=>{const{hostname:o,protocol:r="https",port:a,path:c}=await t.endpoint(),u={protocol:r,hostname:o,port:a,method:"POST",path:c.endsWith("/")?c.slice(0,-1)+n:c+n,headers:e};return void 0!==i&&(u.hostname=i),void 0!==s&&(u.body=s),new l.Kd(u)},X={"content-type":"application/x-www-form-urlencoded"},Z="2011-06-15",H="Action",Y="AccessKeyId",J="AssumeRole",Q="AssumedRoleId",tt="AssumedRoleUser",et="AssumeRoleWithWebIdentity",nt="Arn",it="Audience",st="Credentials",ot="ContextAssertion",rt="DurationSeconds",at="Expiration",lt="ExternalId",ct="Key",ut="Policy",dt="PolicyArns",pt="ProviderArn",ht="ProvidedContexts",gt="ProviderId",ft="PackedPolicySize",mt="Provider",xt="RoleArn",bt="RoleSessionName",Et="SecretAccessKey",yt="SubjectFromWebIdentityToken",vt="SourceIdentity",Pt="SerialNumber",Nt="SessionToken",wt="Tags",Tt="TokenCode",It="TransitiveTagKeys",At="Version",St="Value",Ot="WebIdentityToken",Ct="arn",kt="message",Dt=t=>Object.entries(t).map((([t,e])=>(0,i.$6)(t)+"="+(0,i.$6)(e))).join("&"),$t=(t,e)=>void 0!==e.Error?.Code?e.Error.Code:404==t.statusCode?"NotFound":void 0},74655:t=>{function e(t,r,a,l){let c="",u=!1;for(let d=0;d<t.length;d++){const p=t[d],h=n(p);if(void 0===h)continue;let g="";if(g=0===a.length?h:`${a}.${h}`,h===r.textNodeName){let t=p[h];s(g,r)||(t=r.tagValueProcessor(h,t),t=o(t,r)),u&&(c+=l),c+=t,u=!1;continue}if(h===r.cdataPropName){u&&(c+=l),c+=`<![CDATA[${p[h][0][r.textNodeName]}]]>`,u=!1;continue}if(h===r.commentPropName){c+=l+`\x3c!--${p[h][0][r.textNodeName]}--\x3e`,u=!0;continue}if("?"===h[0]){const t=i(p[":@"],r),e="?xml"===h?"":l;let n=p[h][0][r.textNodeName];n=0!==n.length?" "+n:"",c+=e+`<${h}${n}${t}?>`,u=!0;continue}let f=l;""!==f&&(f+=r.indentBy);const m=l+`<${h}${i(p[":@"],r)}`,x=e(p[h],r,g,f);-1!==r.unpairedTags.indexOf(h)?r.suppressUnpairedNode?c+=m+">":c+=m+"/>":x&&0!==x.length||!r.suppressEmptyNode?x&&x.endsWith(">")?c+=m+`>${x}${l}</${h}>`:(c+=m+">",x&&""!==l&&(x.includes("/>")||x.includes("</"))?c+=l+r.indentBy+x+l:c+=x,c+=`</${h}>`):c+=m+"/>",u=!0}return c}function n(t){const e=Object.keys(t);for(let n=0;n<e.length;n++){const i=e[n];if(t.hasOwnProperty(i)&&":@"!==i)return i}}function i(t,e){let n="";if(t&&!e.ignoreAttributes)for(let i in t){if(!t.hasOwnProperty(i))continue;let s=e.attributeValueProcessor(i,t[i]);s=o(s,e),!0===s&&e.suppressBooleanAttributes?n+=` ${i.substr(e.attributeNamePrefix.length)}`:n+=` ${i.substr(e.attributeNamePrefix.length)}="${s}"`}return n}function s(t,e){let n=(t=t.substr(0,t.length-e.textNodeName.length-1)).substr(t.lastIndexOf(".")+1);for(let i in e.stopNodes)if(e.stopNodes[i]===t||e.stopNodes[i]==="*."+n)return!0;return!1}function o(t,e){if(t&&t.length>0&&e.processEntities)for(let n=0;n<e.entities.length;n++){const i=e.entities[n];t=t.replace(i.regex,i.val)}return t}t.exports=function(t,n){let i="";return n.format&&n.indentBy.length>0&&(i="\n"),e(t,n,"",i)}},75181:(t,e,n)=>{"use strict";const i=n(74655),s={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(t,e){return e},attributeValueProcessor:function(t,e){return e},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function o(t){this.options=Object.assign({},s,t),this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=r,this.options.format?(this.indentate=a,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r(t,e,n){const i=this.j2x(t,n+1);return void 0!==t[this.options.textNodeName]&&1===Object.keys(t).length?this.buildTextValNode(t[this.options.textNodeName],e,i.attrStr,n):this.buildObjectNode(i.val,e,i.attrStr,n)}function a(t){return this.options.indentBy.repeat(t)}function l(t){return!(!t.startsWith(this.options.attributeNamePrefix)||t===this.options.textNodeName)&&t.substr(this.attrPrefixLen)}o.prototype.build=function(t){return this.options.preserveOrder?i(t,this.options):(Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t}),this.j2x(t,0).val)},o.prototype.j2x=function(t,e){let n="",i="";for(let s in t)if(Object.prototype.hasOwnProperty.call(t,s))if(void 0===t[s])this.isAttribute(s)&&(i+="");else if(null===t[s])this.isAttribute(s)?i+="":"?"===s[0]?i+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if(t[s]instanceof Date)i+=this.buildTextValNode(t[s],s,"",e);else if("object"!=typeof t[s]){const o=this.isAttribute(s);if(o)n+=this.buildAttrPairStr(o,""+t[s]);else if(s===this.options.textNodeName){let e=this.options.tagValueProcessor(s,""+t[s]);i+=this.replaceEntitiesValue(e)}else i+=this.buildTextValNode(t[s],s,"",e)}else if(Array.isArray(t[s])){const n=t[s].length;let o="",r="";for(let a=0;a<n;a++){const n=t[s][a];if(void 0===n);else if(null===n)"?"===s[0]?i+=this.indentate(e)+"<"+s+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+s+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){const t=this.j2x(n,e+1);o+=t.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(r+=t.attrStr)}else o+=this.processTextOrObjNode(n,s,e);else if(this.options.oneListGroup){let t=this.options.tagValueProcessor(s,n);t=this.replaceEntitiesValue(t),o+=t}else o+=this.buildTextValNode(n,s,"",e)}this.options.oneListGroup&&(o=this.buildObjectNode(o,s,r,e)),i+=o}else if(this.options.attributesGroupName&&s===this.options.attributesGroupName){const e=Object.keys(t[s]),i=e.length;for(let o=0;o<i;o++)n+=this.buildAttrPairStr(e[o],""+t[s][e[o]])}else i+=this.processTextOrObjNode(t[s],s,e);return{attrStr:n,val:i}},o.prototype.buildAttrPairStr=function(t,e){return e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e),this.options.suppressBooleanAttributes&&"true"===e?" "+t:" "+t+'="'+e+'"'},o.prototype.buildObjectNode=function(t,e,n,i){if(""===t)return"?"===e[0]?this.indentate(i)+"<"+e+n+"?"+this.tagEndChar:this.indentate(i)+"<"+e+n+this.closeTag(e)+this.tagEndChar;{let s="</"+e+this.tagEndChar,o="";return"?"===e[0]&&(o="?",s=""),!n&&""!==n||-1!==t.indexOf("<")?!1!==this.options.commentPropName&&e===this.options.commentPropName&&0===o.length?this.indentate(i)+`\x3c!--${t}--\x3e`+this.newLine:this.indentate(i)+"<"+e+n+o+this.tagEndChar+t+this.indentate(i)+s:this.indentate(i)+"<"+e+n+o+">"+t+s}},o.prototype.closeTag=function(t){let e="";return-1!==this.options.unpairedTags.indexOf(t)?this.options.suppressUnpairedNode||(e="/"):e=this.options.suppressEmptyNode?"/":`></${t}`,e},o.prototype.buildTextValNode=function(t,e,n,i){if(!1!==this.options.cdataPropName&&e===this.options.cdataPropName)return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine;if(!1!==this.options.commentPropName&&e===this.options.commentPropName)return this.indentate(i)+`\x3c!--${t}--\x3e`+this.newLine;if("?"===e[0])return this.indentate(i)+"<"+e+n+"?"+this.tagEndChar;{let s=this.options.tagValueProcessor(e,t);return s=this.replaceEntitiesValue(s),""===s?this.indentate(i)+"<"+e+n+this.closeTag(e)+this.tagEndChar:this.indentate(i)+"<"+e+n+">"+s+"</"+e+this.tagEndChar}},o.prototype.replaceEntitiesValue=function(t){if(t&&t.length>0&&this.options.processEntities)for(let e=0;e<this.options.entities.length;e++){const n=this.options.entities[e];t=t.replace(n.regex,n.val)}return t},t.exports=o},78262:t=>{const e=/^[-+]?0x[a-fA-F0-9]+$/,n=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt),!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);const i={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};t.exports=function(t,s={}){if(s=Object.assign({},i,s),!t||"string"!=typeof t)return t;let o=t.trim();if(void 0!==s.skipLike&&s.skipLike.test(o))return t;if(s.hex&&e.test(o))return Number.parseInt(o,16);{const e=n.exec(o);if(e){const n=e[1],i=e[2];let r=function(t){if(t&&-1!==t.indexOf("."))return"."===(t=t.replace(/0+$/,""))?t="0":"."===t[0]?t="0"+t:"."===t[t.length-1]&&(t=t.substr(0,t.length-1)),t;return t}(e[3]);const a=e[4]||e[6];if(!s.leadingZeros&&i.length>0&&n&&"."!==o[2])return t;if(!s.leadingZeros&&i.length>0&&!n&&"."!==o[1])return t;{const e=Number(o),l=""+e;return-1!==l.search(/[eE]/)||a?s.eNotation?e:t:-1!==o.indexOf(".")?"0"===l&&""===r||l===r||n&&l==="-"+r?e:t:i?r===l||n+r===l?e:t:o===l||o===n+l?e:t}}return t}}},85381:t=>{"use strict";t.exports=class XmlNode{constructor(t){this.tagname=t,this.child=[],this[":@"]={}}add(t,e){"__proto__"===t&&(t="#__proto__"),this.child.push({[t]:e})}addChild(t){"__proto__"===t.tagname&&(t.tagname="#__proto__"),t[":@"]&&Object.keys(t[":@"]).length>0?this.child.push({[t.tagname]:t.child,":@":t[":@"]}):this.child.push({[t.tagname]:t.child})}}},88180:(t,e,n)=>{"use strict";n.d(e,{L:()=>STSServiceException});var i=n(1802);class STSServiceException extends i.TJ{constructor(t){super(t),Object.setPrototypeOf(this,STSServiceException.prototype)}}}};