#!/usr/bin/env -S node --no-warnings=ExperimentalWarning --enable-source-maps

// Claude Code is a Beta product per Anthropic's Commercial Terms of Service.
// By using Claude Code, you agree that all code acceptance or rejection decisions you make,
// and the associated conversations in context, constitute Feedback under Anthropic's Commercial Terms,
// and may be used to improve Anthropic's products, including training models.
// You are responsible for reviewing any code suggestions before use.

// (c) Anthropic PBC. All rights reserved. Use is subject to Anthropic's Commercial Terms of Service (https://www.anthropic.com/legal/commercial-terms).

// Version: 0.2.8

import{createRequire as wU2}from"node:module";var GU2=Object.create;var{getPrototypeOf:ZU2,defineProperty:ie,getOwnPropertyNames:CU2}=Object;var WU2=Object.prototype.hasOwnProperty;var J1=(I,d,G)=>{G=I!=null?GU2(ZU2(I)):{};let Z=d||!I||!I.__esModule?ie(G,"default",{value:I,enumerable:!0}):G;for(let C of CU2(I))if(!WU2.call(Z,C))ie(Z,C,{get:()=>I[C],enumerable:!0});return Z};var Y=(I,d)=>()=>(d||I((d={exports:{}}).exports,d),d.exports);var Kv=(I,d)=>{for(var G in d)ie(I,G,{get:d[G],enumerable:!0,configurable:!0,set:(Z)=>d[G]=()=>Z})};var Gw=(I,d)=>()=>(I&&(d=I(I=0)),d);var B1=wU2(import.meta.url);var xG=Y((Iz1)=>{Object.defineProperty(Iz1,"__esModule",{value:!0});var oN1=Object.prototype.toString;function BU2(I){switch(oN1.call(I)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return IO(I,Error)}}function GN(I,d){return oN1.call(I)===`[object ${d}]`}function AU2(I){return GN(I,"ErrorEvent")}function VU2(I){return GN(I,"DOMError")}function XU2(I){return GN(I,"DOMException")}function YU2(I){return GN(I,"String")}function eN1(I){return typeof I==="object"&&I!==null&&"__sentry_template_string__"in I&&"__sentry_template_values__"in I}function _U2(I){return I===null||eN1(I)||typeof I!=="object"&&typeof I!=="function"}function tN1(I){return GN(I,"Object")}function DU2(I){return typeof Event!=="undefined"&&IO(I,Event)}function HU2(I){return typeof Element!=="undefined"&&IO(I,Element)}function FU2(I){return GN(I,"RegExp")}function gU2(I){return Boolean(I&&I.then&&typeof I.then==="function")}function JU2(I){return tN1(I)&&"nativeEvent"in I&&"preventDefault"in I&&"stopPropagation"in I}function KU2(I){return typeof I==="number"&&I!==I}function IO(I,d){try{return I instanceof d}catch(G){return!1}}function NU2(I){return!!(typeof I==="object"&&I!==null&&(I.__isVue||I._isVue))}Iz1.isDOMError=VU2;Iz1.isDOMException=XU2;Iz1.isElement=HU2;Iz1.isError=BU2;Iz1.isErrorEvent=AU2;Iz1.isEvent=DU2;Iz1.isInstanceOf=IO;Iz1.isNaN=KU2;Iz1.isParameterizedString=eN1;Iz1.isPlainObject=tN1;Iz1.isPrimitive=_U2;Iz1.isRegExp=FU2;Iz1.isString=YU2;Iz1.isSyntheticEvent=JU2;Iz1.isThenable=gU2;Iz1.isVueViewModel=NU2});var Nv=Y((Gz1)=>{Object.defineProperty(Gz1,"__esModule",{value:!0});var dO=xG();function OU2(I,d=0){if(typeof I!=="string"||d===0)return I;return I.length<=d?I:`${I.slice(0,d)}...`}function mU2(I,d){let G=I,Z=G.length;if(Z<=150)return G;if(d>Z)d=Z;let C=Math.max(d-60,0);if(C<5)C=0;let W=Math.min(C+140,Z);if(W>Z-5)W=Z;if(W===Z)C=Math.max(W-140,0);if(G=G.slice(C,W),C>0)G=`'{snip} ${G}`;if(W<Z)G+=" {snip}";return G}function lU2(I,d){if(!Array.isArray(I))return"";let G=[];for(let Z=0;Z<I.length;Z++){let C=I[Z];try{if(dO.isVueViewModel(C))G.push("[VueViewModel]");else G.push(String(C))}catch(W){G.push("[value cannot be serialized]")}}return G.join(d)}function dz1(I,d,G=!1){if(!dO.isString(I))return!1;if(dO.isRegExp(d))return d.test(I);if(dO.isString(d))return G?I===d:I.includes(d);return!1}function bU2(I,d=[],G=!1){return d.some((Z)=>dz1(I,Z,G))}Gz1.isMatchingPattern=dz1;Gz1.safeJoin=lU2;Gz1.snipLine=mU2;Gz1.stringMatchesSomePattern=bU2;Gz1.truncate=OU2});var wz1=Y((Wz1)=>{Object.defineProperty(Wz1,"__esModule",{value:!0});var ne=xG(),pU2=Nv();function iU2(I,d,G=250,Z,C,W,w){if(!W.exception||!W.exception.values||!w||!ne.isInstanceOf(w.originalException,Error))return;let B=W.exception.values.length>0?W.exception.values[W.exception.values.length-1]:void 0;if(B)W.exception.values=nU2(re(I,d,C,w.originalException,Z,W.exception.values,B,0),G)}function re(I,d,G,Z,C,W,w,B){if(W.length>=G+1)return W;let A=[...W];if(ne.isInstanceOf(Z[C],Error)){Zz1(w,B);let V=I(d,Z[C]),X=A.length;Cz1(V,C,X,B),A=re(I,d,G,Z[C],C,[V,...A],V,X)}if(Array.isArray(Z.errors))Z.errors.forEach((V,X)=>{if(ne.isInstanceOf(V,Error)){Zz1(w,B);let _=I(d,V),F=A.length;Cz1(_,`errors[${X}]`,F,B),A=re(I,d,G,V,C,[_,...A],_,F)}});return A}function Zz1(I,d){I.mechanism=I.mechanism||{type:"generic",handled:!0},I.mechanism={...I.mechanism,...I.type==="AggregateError"&&{is_exception_group:!0},exception_id:d}}function Cz1(I,d,G,Z){I.mechanism=I.mechanism||{type:"generic",handled:!0},I.mechanism={...I.mechanism,type:"chained",source:d,exception_id:G,parent_id:Z}}function nU2(I,d){return I.map((G)=>{if(G.value)G.value=pU2.truncate(G.value,d);return G})}Wz1.applyAggregateErrorsToEvent=iU2});var K7=Y((Bz1)=>{Object.defineProperty(Bz1,"__esModule",{value:!0});function GO(I){return I&&I.Math==Math?I:void 0}var ae=typeof globalThis=="object"&&GO(globalThis)||typeof window=="object"&&GO(window)||typeof self=="object"&&GO(self)||typeof global=="object"&&GO(global)||function(){return this}()||{};function aU2(){return ae}function sU2(I,d,G){let Z=G||ae,C=Z.__SENTRY__=Z.__SENTRY__||{};return C[I]||(C[I]=d())}Bz1.GLOBAL_OBJ=ae;Bz1.getGlobalObject=aU2;Bz1.getGlobalSingleton=sU2});var se=Y((Az1)=>{Object.defineProperty(Az1,"__esModule",{value:!0});var Iv2=xG(),dv2=K7(),ZN=dv2.getGlobalObject(),Gv2=80;function Zv2(I,d={}){if(!I)return"<unknown>";try{let G=I,Z=5,C=[],W=0,w=0,B=" > ",A=B.length,V,X=Array.isArray(d)?d:d.keyAttrs,_=!Array.isArray(d)&&d.maxStringLength||Gv2;while(G&&W++<Z){if(V=Cv2(G,X),V==="html"||W>1&&w+C.length*A+V.length>=_)break;C.push(V),w+=V.length,G=G.parentNode}return C.reverse().join(B)}catch(G){return"<unknown>"}}function Cv2(I,d){let G=I,Z=[],C,W,w,B,A;if(!G||!G.tagName)return"";if(ZN.HTMLElement){if(G instanceof HTMLElement&&G.dataset&&G.dataset.sentryComponent)return G.dataset.sentryComponent}Z.push(G.tagName.toLowerCase());let V=d&&d.length?d.filter((_)=>G.getAttribute(_)).map((_)=>[_,G.getAttribute(_)]):null;if(V&&V.length)V.forEach((_)=>{Z.push(`[${_[0]}="${_[1]}"]`)});else{if(G.id)Z.push(`#${G.id}`);if(C=G.className,C&&Iv2.isString(C)){W=C.split(/\s+/);for(A=0;A<W.length;A++)Z.push(`.${W[A]}`)}}let X=["aria-label","type","name","title","alt"];for(A=0;A<X.length;A++)if(w=X[A],B=G.getAttribute(w),B)Z.push(`[${w}="${B}"]`);return Z.join("")}function Wv2(){try{return ZN.document.location.href}catch(I){return""}}function wv2(I){if(ZN.document&&ZN.document.querySelector)return ZN.document.querySelector(I);return null}function Bv2(I){if(!ZN.HTMLElement)return null;let d=I,G=5;for(let Z=0;Z<G;Z++){if(!d)return null;if(d instanceof HTMLElement&&d.dataset.sentryComponent)return d.dataset.sentryComponent;d=d.parentNode}return null}Az1.getComponentName=Bv2;Az1.getDomElement=wv2;Az1.getLocationHref=Wv2;Az1.htmlTreeAsString=Zv2});var Zw=Y((Vz1)=>{Object.defineProperty(Vz1,"__esModule",{value:!0});var _v2=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;Vz1.DEBUG_BUILD=_v2});var DC=Y((Yz1)=>{Object.defineProperty(Yz1,"__esModule",{value:!0});var Hv2=Zw(),oe=K7(),Fv2="Sentry Logger ",ee=["debug","info","warn","error","log","assert","trace"],te={};function Xz1(I){if(!("console"in oe.GLOBAL_OBJ))return I();let d=oe.GLOBAL_OBJ.console,G={},Z=Object.keys(te);Z.forEach((C)=>{let W=te[C];G[C]=d[C],d[C]=W});try{return I()}finally{Z.forEach((C)=>{d[C]=G[C]})}}function gv2(){let I=!1,d={enable:()=>{I=!0},disable:()=>{I=!1},isEnabled:()=>I};if(Hv2.DEBUG_BUILD)ee.forEach((G)=>{d[G]=(...Z)=>{if(I)Xz1(()=>{oe.GLOBAL_OBJ.console[G](`${Fv2}[${G}]:`,...Z)})}});else ee.forEach((G)=>{d[G]=()=>{return}});return d}var Jv2=gv2();Yz1.CONSOLE_LEVELS=ee;Yz1.consoleSandbox=Xz1;Yz1.logger=Jv2;Yz1.originalConsoleMethods=te});var It=Y((Hz1)=>{Object.defineProperty(Hz1,"__esModule",{value:!0});var fv2=Zw(),zv=DC(),qv2=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Rv2(I){return I==="http"||I==="https"}function Uv2(I,d=!1){let{host:G,path:Z,pass:C,port:W,projectId:w,protocol:B,publicKey:A}=I;return`${B}://${A}${d&&C?`:${C}`:""}@${G}${W?`:${W}`:""}/${Z?`${Z}/`:Z}${w}`}function _z1(I){let d=qv2.exec(I);if(!d){zv.consoleSandbox(()=>{console.error(`Invalid Sentry Dsn: ${I}`)});return}let[G,Z,C="",W,w="",B]=d.slice(1),A="",V=B,X=V.split("/");if(X.length>1)A=X.slice(0,-1).join("/"),V=X.pop();if(V){let _=V.match(/^\d+/);if(_)V=_[0]}return Dz1({host:W,pass:C,path:A,projectId:V,port:w,protocol:G,publicKey:Z})}function Dz1(I){return{protocol:I.protocol,publicKey:I.publicKey||"",pass:I.pass||"",host:I.host,port:I.port||"",path:I.path||"",projectId:I.projectId}}function vv2(I){if(!fv2.DEBUG_BUILD)return!0;let{port:d,projectId:G,protocol:Z}=I;if(["protocol","publicKey","host","projectId"].find((w)=>{if(!I[w])return zv.logger.error(`Invalid Sentry Dsn: ${w} missing`),!0;return!1}))return!1;if(!G.match(/^\d+$/))return zv.logger.error(`Invalid Sentry Dsn: Invalid projectId ${G}`),!1;if(!Rv2(Z))return zv.logger.error(`Invalid Sentry Dsn: Invalid protocol ${Z}`),!1;if(d&&isNaN(parseInt(d,10)))return zv.logger.error(`Invalid Sentry Dsn: Invalid port ${d}`),!1;return!0}function Ev2(I){let d=typeof I==="string"?_z1(I):Dz1(I);if(!d||!vv2(d))return;return d}Hz1.dsnFromString=_z1;Hz1.dsnToString=Uv2;Hz1.makeDsn=Ev2});var dt=Y((gz1)=>{Object.defineProperty(gz1,"__esModule",{value:!0});class Fz1 extends Error{constructor(I,d="warn"){super(I);this.message=I,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=d}}gz1.SentryError=Fz1});var cG=Y((qz1)=>{Object.defineProperty(qz1,"__esModule",{value:!0});var Pv2=se(),$v2=Zw(),CN=xG(),uv2=DC(),Jz1=Nv();function Tv2(I,d,G){if(!(d in I))return;let Z=I[d],C=G(Z);if(typeof C==="function")Qz1(C,Z);I[d]=C}function zz1(I,d,G){try{Object.defineProperty(I,d,{value:G,writable:!0,configurable:!0})}catch(Z){$v2.DEBUG_BUILD&&uv2.logger.log(`Failed to add non-enumerable property "${d}" to object`,I)}}function Qz1(I,d){try{let G=d.prototype||{};I.prototype=d.prototype=G,zz1(I,"__sentry_original__",d)}catch(G){}}function Ov2(I){return I.__sentry_original__}function mv2(I){return Object.keys(I).map((d)=>`${encodeURIComponent(d)}=${encodeURIComponent(I[d])}`).join("&")}function fz1(I){if(CN.isError(I))return{message:I.message,name:I.name,stack:I.stack,...Nz1(I)};else if(CN.isEvent(I)){let d={type:I.type,target:Kz1(I.target),currentTarget:Kz1(I.currentTarget),...Nz1(I)};if(typeof CustomEvent!=="undefined"&&CN.isInstanceOf(I,CustomEvent))d.detail=I.detail;return d}else return I}function Kz1(I){try{return CN.isElement(I)?Pv2.htmlTreeAsString(I):Object.prototype.toString.call(I)}catch(d){return"<unknown>"}}function Nz1(I){if(typeof I==="object"&&I!==null){let d={};for(let G in I)if(Object.prototype.hasOwnProperty.call(I,G))d[G]=I[G];return d}else return{}}function lv2(I,d=40){let G=Object.keys(fz1(I));if(G.sort(),!G.length)return"[object has no keys]";if(G[0].length>=d)return Jz1.truncate(G[0],d);for(let Z=G.length;Z>0;Z--){let C=G.slice(0,Z).join(", ");if(C.length>d)continue;if(Z===G.length)return C;return Jz1.truncate(C,d)}return""}function bv2(I){return Gt(I,new Map)}function Gt(I,d){if(hv2(I)){let G=d.get(I);if(G!==void 0)return G;let Z={};d.set(I,Z);for(let C of Object.keys(I))if(typeof I[C]!=="undefined")Z[C]=Gt(I[C],d);return Z}if(Array.isArray(I)){let G=d.get(I);if(G!==void 0)return G;let Z=[];return d.set(I,Z),I.forEach((C)=>{Z.push(Gt(C,d))}),Z}return I}function hv2(I){if(!CN.isPlainObject(I))return!1;try{let d=Object.getPrototypeOf(I).constructor.name;return!d||d==="Object"}catch(d){return!0}}function jv2(I){let d;switch(!0){case(I===void 0||I===null):d=new String(I);break;case(typeof I==="symbol"||typeof I==="bigint"):d=Object(I);break;case CN.isPrimitive(I):d=new I.constructor(I);break;default:d=I;break}return d}qz1.addNonEnumerableProperty=zz1;qz1.convertToPlainObject=fz1;qz1.dropUndefinedKeys=bv2;qz1.extractExceptionKeysForMessage=lv2;qz1.fill=Tv2;qz1.getOriginalFunction=Ov2;qz1.markFunctionWrapped=Qz1;qz1.objectify=jv2;qz1.urlEncode=mv2});var ZO=Y((Uz1)=>{Object.defineProperty(Uz1,"__esModule",{value:!0});function Rz1(I,d=!1){return!(d||I&&!I.startsWith("/")&&!I.match(/^[A-Z]:/)&&!I.startsWith(".")&&!I.match(/^[a-zA-Z]([a-zA-Z0-9.\-+])*:\/\//))&&I!==void 0&&!I.includes("node_modules/")}function ov2(I){let d=/^\s*[-]{4,}$/,G=/at (?:async )?(?:(.+?)\s+\()?(?:(.+):(\d+):(\d+)?|([^)]+))\)?/;return(Z)=>{let C=Z.match(G);if(C){let W,w,B,A,V;if(C[1]){B=C[1];let F=B.lastIndexOf(".");if(B[F-1]===".")F--;if(F>0){W=B.slice(0,F),w=B.slice(F+1);let g=W.indexOf(".Module");if(g>0)B=B.slice(g+1),W=W.slice(0,g)}A=void 0}if(w)A=W,V=w;if(w==="<anonymous>")V=void 0,B=void 0;if(B===void 0)V=V||"<anonymous>",B=A?`${A}.${V}`:V;let X=C[2]&&C[2].startsWith("file://")?C[2].slice(7):C[2],_=C[5]==="native";if(X&&X.match(/\/[A-Z]:/))X=X.slice(1);if(!X&&C[5]&&!_)X=C[5];return{filename:X,module:I?I(X):void 0,function:B,lineno:parseInt(C[3],10)||void 0,colno:parseInt(C[4],10)||void 0,in_app:Rz1(X,_)}}if(Z.match(d))return{filename:Z};return}}Uz1.filenameIsInApp=Rz1;Uz1.node=ov2});var CO=Y((Pz1)=>{Object.defineProperty(Pz1,"__esModule",{value:!0});var Mz1=ZO(),Sz1=50,vz1=/\(error: (.*)\)/,Ez1=/captureMessage|captureException/;function Lz1(...I){let d=I.sort((G,Z)=>G[0]-Z[0]).map((G)=>G[1]);return(G,Z=0)=>{let C=[],W=G.split(`
`);for(let w=Z;w<W.length;w++){let B=W[w];if(B.length>1024)continue;let A=vz1.test(B)?B.replace(vz1,"$1"):B;if(A.match(/\S*Error: /))continue;for(let V of d){let X=V(A);if(X){C.push(X);break}}if(C.length>=Sz1)break}return yz1(C)}}function IE2(I){if(Array.isArray(I))return Lz1(...I);return I}function yz1(I){if(!I.length)return[];let d=Array.from(I);if(/sentryWrapped/.test(d[d.length-1].function||""))d.pop();if(d.reverse(),Ez1.test(d[d.length-1].function||"")){if(d.pop(),Ez1.test(d[d.length-1].function||""))d.pop()}return d.slice(0,Sz1).map((G)=>({...G,filename:G.filename||d[d.length-1].filename,function:G.function||"?"}))}var Zt="<anonymous>";function dE2(I){try{if(!I||typeof I!=="function")return Zt;return I.name||Zt}catch(d){return Zt}}function GE2(I){return[90,Mz1.node(I)]}Pz1.filenameIsInApp=Mz1.filenameIsInApp;Pz1.createStackParser=Lz1;Pz1.getFunctionName=dE2;Pz1.nodeStackLineParser=GE2;Pz1.stackParserFromStackParserOptions=IE2;Pz1.stripSentryFramesAndReverse=yz1});var zA=Y((uz1)=>{Object.defineProperty(uz1,"__esModule",{value:!0});var VE2=Zw(),XE2=DC(),YE2=CO(),WN={},$z1={};function _E2(I,d){WN[I]=WN[I]||[],WN[I].push(d)}function DE2(){Object.keys(WN).forEach((I)=>{WN[I]=void 0})}function HE2(I,d){if(!$z1[I])d(),$z1[I]=!0}function FE2(I,d){let G=I&&WN[I];if(!G)return;for(let Z of G)try{Z(d)}catch(C){VE2.DEBUG_BUILD&&XE2.logger.error(`Error while triggering instrumentation handler.
Type: ${I}
Name: ${YE2.getFunctionName(Z)}
Error:`,C)}}uz1.addHandler=_E2;uz1.maybeInstrument=HE2;uz1.resetInstrumentationHandlers=DE2;uz1.triggerHandlers=FE2});var wt=Y((Tz1)=>{Object.defineProperty(Tz1,"__esModule",{value:!0});var Ct=DC(),zE2=cG(),WO=K7(),Wt=zA();function QE2(I){Wt.addHandler("console",I),Wt.maybeInstrument("console",fE2)}function fE2(){if(!("console"in WO.GLOBAL_OBJ))return;Ct.CONSOLE_LEVELS.forEach(function(I){if(!(I in WO.GLOBAL_OBJ.console))return;zE2.fill(WO.GLOBAL_OBJ.console,I,function(d){return Ct.originalConsoleMethods[I]=d,function(...G){let Z={args:G,level:I};Wt.triggerHandlers("console",Z);let C=Ct.originalConsoleMethods[I];C&&C.apply(WO.GLOBAL_OBJ.console,G)}})})}Tz1.addConsoleInstrumentationHandler=QE2});var Qv=Y((mz1)=>{Object.defineProperty(mz1,"__esModule",{value:!0});var RE2=cG(),Bt=Nv(),UE2=K7();function vE2(){let I=UE2.GLOBAL_OBJ,d=I.crypto||I.msCrypto,G=()=>Math.random()*16;try{if(d&&d.randomUUID)return d.randomUUID().replace(/-/g,"");if(d&&d.getRandomValues)G=()=>{let Z=new Uint8Array(1);return d.getRandomValues(Z),Z[0]}}catch(Z){}return([1e7]+1000+4000+8000+100000000000).replace(/[018]/g,(Z)=>(Z^(G()&15)>>Z/4).toString(16))}function Oz1(I){return I.exception&&I.exception.values?I.exception.values[0]:void 0}function EE2(I){let{message:d,event_id:G}=I;if(d)return d;let Z=Oz1(I);if(Z){if(Z.type&&Z.value)return`${Z.type}: ${Z.value}`;return Z.type||Z.value||G||"<unknown>"}return G||"<unknown>"}function ME2(I,d,G){let Z=I.exception=I.exception||{},C=Z.values=Z.values||[],W=C[0]=C[0]||{};if(!W.value)W.value=d||"";if(!W.type)W.type=G||"Error"}function SE2(I,d){let G=Oz1(I);if(!G)return;let Z={type:"generic",handled:!0},C=G.mechanism;if(G.mechanism={...Z,...C,...d},d&&"data"in d){let W={...C&&C.data,...d.data};G.mechanism.data=W}}var LE2=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/;function yE2(I){let d=I.match(LE2)||[],G=parseInt(d[1],10),Z=parseInt(d[2],10),C=parseInt(d[3],10);return{buildmetadata:d[5],major:isNaN(G)?void 0:G,minor:isNaN(Z)?void 0:Z,patch:isNaN(C)?void 0:C,prerelease:d[4]}}function PE2(I,d,G=5){if(d.lineno===void 0)return;let Z=I.length,C=Math.max(Math.min(Z-1,d.lineno-1),0);d.pre_context=I.slice(Math.max(0,C-G),C).map((W)=>Bt.snipLine(W,0)),d.context_line=Bt.snipLine(I[Math.min(Z-1,C)],d.colno||0),d.post_context=I.slice(Math.min(C+1,Z),C+1+G).map((W)=>Bt.snipLine(W,0))}function $E2(I){if(I&&I.__sentry_captured__)return!0;try{RE2.addNonEnumerableProperty(I,"__sentry_captured__",!0)}catch(d){}return!1}function uE2(I){return Array.isArray(I)?I:[I]}mz1.addContextToFrame=PE2;mz1.addExceptionMechanism=SE2;mz1.addExceptionTypeValue=ME2;mz1.arrayify=uE2;mz1.checkOrSetAlreadyCaught=$E2;mz1.getEventDescription=EE2;mz1.parseSemver=yE2;mz1.uuid4=vE2});var Yt=Y((jz1)=>{Object.defineProperty(jz1,"__esModule",{value:!0});var xE2=Qv(),wO=cG(),cE2=K7(),At=zA(),wN=cE2.GLOBAL_OBJ,pE2=1000,lz1,Vt,Xt;function iE2(I){At.addHandler("dom",I),At.maybeInstrument("dom",hz1)}function hz1(){if(!wN.document)return;let I=At.triggerHandlers.bind(null,"dom"),d=bz1(I,!0);wN.document.addEventListener("click",d,!1),wN.document.addEventListener("keypress",d,!1),["EventTarget","Node"].forEach((G)=>{let Z=wN[G]&&wN[G].prototype;if(!Z||!Z.hasOwnProperty||!Z.hasOwnProperty("addEventListener"))return;wO.fill(Z,"addEventListener",function(C){return function(W,w,B){if(W==="click"||W=="keypress")try{let A=this,V=A.__sentry_instrumentation_handlers__=A.__sentry_instrumentation_handlers__||{},X=V[W]=V[W]||{refCount:0};if(!X.handler){let _=bz1(I);X.handler=_,C.call(this,W,_,B)}X.refCount++}catch(A){}return C.call(this,W,w,B)}}),wO.fill(Z,"removeEventListener",function(C){return function(W,w,B){if(W==="click"||W=="keypress")try{let A=this,V=A.__sentry_instrumentation_handlers__||{},X=V[W];if(X){if(X.refCount--,X.refCount<=0)C.call(this,W,X.handler,B),X.handler=void 0,delete V[W];if(Object.keys(V).length===0)delete A.__sentry_instrumentation_handlers__}}catch(A){}return C.call(this,W,w,B)}})})}function nE2(I){if(I.type!==Vt)return!1;try{if(!I.target||I.target._sentryId!==Xt)return!1}catch(d){}return!0}function rE2(I,d){if(I!=="keypress")return!1;if(!d||!d.tagName)return!0;if(d.tagName==="INPUT"||d.tagName==="TEXTAREA"||d.isContentEditable)return!1;return!0}function bz1(I,d=!1){return(G)=>{if(!G||G._sentryCaptured)return;let Z=aE2(G);if(rE2(G.type,Z))return;if(wO.addNonEnumerableProperty(G,"_sentryCaptured",!0),Z&&!Z._sentryId)wO.addNonEnumerableProperty(Z,"_sentryId",xE2.uuid4());let C=G.type==="keypress"?"input":G.type;if(!nE2(G))I({event:G,name:C,global:d}),Vt=G.type,Xt=Z?Z._sentryId:void 0;clearTimeout(lz1),lz1=wN.setTimeout(()=>{Xt=void 0,Vt=void 0},pE2)}}function aE2(I){try{return I.target}catch(d){return null}}jz1.addClickKeypressInstrumentationHandler=iE2;jz1.instrumentDOM=hz1});var Ht=Y((kz1)=>{Object.defineProperty(kz1,"__esModule",{value:!0});var eE2=Zw(),tE2=DC(),IM2=K7(),BO=IM2.getGlobalObject();function dM2(){try{return new ErrorEvent(""),!0}catch(I){return!1}}function GM2(){try{return new DOMError(""),!0}catch(I){return!1}}function ZM2(){try{return new DOMException(""),!0}catch(I){return!1}}function Dt(){if(!("fetch"in BO))return!1;try{return new Request("http://www.example.com"),!0}catch(I){return!1}}function _t(I){return I&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(I.toString())}function CM2(){if(typeof EdgeRuntime==="string")return!0;if(!Dt())return!1;if(_t(BO.fetch))return!0;let I=!1,d=BO.document;if(d&&typeof d.createElement==="function")try{let G=d.createElement("iframe");if(G.hidden=!0,d.head.appendChild(G),G.contentWindow&&G.contentWindow.fetch)I=_t(G.contentWindow.fetch);d.head.removeChild(G)}catch(G){eE2.DEBUG_BUILD&&tE2.logger.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",G)}return I}function WM2(){return"ReportingObserver"in BO}function wM2(){if(!Dt())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(I){return!1}}kz1.isNativeFetch=_t;kz1.supportsDOMError=GM2;kz1.supportsDOMException=ZM2;kz1.supportsErrorEvent=dM2;kz1.supportsFetch=Dt;kz1.supportsNativeFetch=CM2;kz1.supportsReferrerPolicy=wM2;kz1.supportsReportingObserver=WM2});var gt=Y((iz1)=>{Object.defineProperty(iz1,"__esModule",{value:!0});var FM2=cG(),gM2=Ht(),xz1=K7(),fv=zA();function JM2(I){fv.addHandler("fetch",I),fv.maybeInstrument("fetch",KM2)}function KM2(){if(!gM2.supportsNativeFetch())return;FM2.fill(xz1.GLOBAL_OBJ,"fetch",function(I){return function(...d){let{method:G,url:Z}=pz1(d),C={args:d,fetchData:{method:G,url:Z},startTimestamp:Date.now()};return fv.triggerHandlers("fetch",{...C}),I.apply(xz1.GLOBAL_OBJ,d).then((W)=>{let w={...C,endTimestamp:Date.now(),response:W};return fv.triggerHandlers("fetch",w),W},(W)=>{let w={...C,endTimestamp:Date.now(),error:W};throw fv.triggerHandlers("fetch",w),W})}})}function Ft(I,d){return!!I&&typeof I==="object"&&!!I[d]}function cz1(I){if(typeof I==="string")return I;if(!I)return"";if(Ft(I,"url"))return I.url;if(I.toString)return I.toString();return""}function pz1(I){if(I.length===0)return{method:"GET",url:""};if(I.length===2){let[G,Z]=I;return{url:cz1(G),method:Ft(Z,"method")?String(Z.method).toUpperCase():"GET"}}let d=I[0];return{url:cz1(d),method:Ft(d,"method")?String(d.method).toUpperCase():"GET"}}iz1.addFetchInstrumentationHandler=JM2;iz1.parseFetchArgs=pz1});var Nt=Y((nz1)=>{Object.defineProperty(nz1,"__esModule",{value:!0});var Jt=K7(),Kt=zA(),AO=null;function QM2(I){Kt.addHandler("error",I),Kt.maybeInstrument("error",fM2)}function fM2(){AO=Jt.GLOBAL_OBJ.onerror,Jt.GLOBAL_OBJ.onerror=function(I,d,G,Z,C){let W={column:Z,error:C,line:G,msg:I,url:d};if(Kt.triggerHandlers("error",W),AO&&!AO.__SENTRY_LOADER__)return AO.apply(this,arguments);return!1},Jt.GLOBAL_OBJ.onerror.__SENTRY_INSTRUMENTED__=!0}nz1.addGlobalErrorInstrumentationHandler=QM2});var ft=Y((rz1)=>{Object.defineProperty(rz1,"__esModule",{value:!0});var zt=K7(),Qt=zA(),VO=null;function RM2(I){Qt.addHandler("unhandledrejection",I),Qt.maybeInstrument("unhandledrejection",UM2)}function UM2(){VO=zt.GLOBAL_OBJ.onunhandledrejection,zt.GLOBAL_OBJ.onunhandledrejection=function(I){let d=I;if(Qt.triggerHandlers("unhandledrejection",d),VO&&!VO.__SENTRY_LOADER__)return VO.apply(this,arguments);return!0},zt.GLOBAL_OBJ.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}rz1.addGlobalUnhandledRejectionInstrumentationHandler=RM2});var qt=Y((az1)=>{Object.defineProperty(az1,"__esModule",{value:!0});var EM2=K7(),XO=EM2.getGlobalObject();function MM2(){let I=XO.chrome,d=I&&I.app&&I.app.runtime,G="history"in XO&&!!XO.history.pushState&&!!XO.history.replaceState;return!d&&G}az1.supportsHistory=MM2});var Rt=Y((oz1)=>{Object.defineProperty(oz1,"__esModule",{value:!0});var sz1=cG();Zw();DC();var LM2=K7(),yM2=qt(),_O=zA(),qv=LM2.GLOBAL_OBJ,YO;function PM2(I){_O.addHandler("history",I),_O.maybeInstrument("history",$M2)}function $M2(){if(!yM2.supportsHistory())return;let I=qv.onpopstate;qv.onpopstate=function(...G){let Z=qv.location.href,C=YO;YO=Z;let W={from:C,to:Z};if(_O.triggerHandlers("history",W),I)try{return I.apply(this,G)}catch(w){}};function d(G){return function(...Z){let C=Z.length>2?Z[2]:void 0;if(C){let W=YO,w=String(C);YO=w;let B={from:W,to:w};_O.triggerHandlers("history",B)}return G.apply(this,Z)}}sz1.fill(qv.history,"pushState",d),sz1.fill(qv.history,"replaceState",d)}oz1.addHistoryInstrumentationHandler=PM2});var Ut=Y((tz1)=>{Object.defineProperty(tz1,"__esModule",{value:!0});var HO=xG(),DO=cG(),TM2=K7(),FO=zA(),OM2=TM2.GLOBAL_OBJ,Rv="__sentry_xhr_v3__";function mM2(I){FO.addHandler("xhr",I),FO.maybeInstrument("xhr",ez1)}function ez1(){if(!OM2.XMLHttpRequest)return;let I=XMLHttpRequest.prototype;DO.fill(I,"open",function(d){return function(...G){let Z=Date.now(),C=HO.isString(G[0])?G[0].toUpperCase():void 0,W=lM2(G[1]);if(!C||!W)return d.apply(this,G);if(this[Rv]={method:C,url:W,request_headers:{}},C==="POST"&&W.match(/sentry_key/))this.__sentry_own_request__=!0;let w=()=>{let B=this[Rv];if(!B)return;if(this.readyState===4){try{B.status_code=this.status}catch(V){}let A={args:[C,W],endTimestamp:Date.now(),startTimestamp:Z,xhr:this};FO.triggerHandlers("xhr",A)}};if("onreadystatechange"in this&&typeof this.onreadystatechange==="function")DO.fill(this,"onreadystatechange",function(B){return function(...A){return w(),B.apply(this,A)}});else this.addEventListener("readystatechange",w);return DO.fill(this,"setRequestHeader",function(B){return function(...A){let[V,X]=A,_=this[Rv];if(_&&HO.isString(V)&&HO.isString(X))_.request_headers[V.toLowerCase()]=X;return B.apply(this,A)}}),d.apply(this,G)}}),DO.fill(I,"send",function(d){return function(...G){let Z=this[Rv];if(!Z)return d.apply(this,G);if(G[0]!==void 0)Z.body=G[0];let C={args:[Z.method,Z.url],startTimestamp:Date.now(),xhr:this};return FO.triggerHandlers("xhr",C),d.apply(this,G)}})}function lM2(I){if(HO.isString(I))return I;try{return I.toString()}catch(d){}return}tz1.SENTRY_XHR_DATA_KEY=Rv;tz1.addXhrInstrumentationHandler=mM2;tz1.instrumentXHR=ez1});var BQ1=Y((wQ1)=>{Object.defineProperty(wQ1,"__esModule",{value:!0});var kM2=Zw(),xM2=DC(),IQ1=wt(),dQ1=Yt(),GQ1=gt(),ZQ1=Nt(),CQ1=ft(),WQ1=Rt(),vt=Ut();function cM2(I,d){switch(I){case"console":return IQ1.addConsoleInstrumentationHandler(d);case"dom":return dQ1.addClickKeypressInstrumentationHandler(d);case"xhr":return vt.addXhrInstrumentationHandler(d);case"fetch":return GQ1.addFetchInstrumentationHandler(d);case"history":return WQ1.addHistoryInstrumentationHandler(d);case"error":return ZQ1.addGlobalErrorInstrumentationHandler(d);case"unhandledrejection":return CQ1.addGlobalUnhandledRejectionInstrumentationHandler(d);default:kM2.DEBUG_BUILD&&xM2.logger.warn("unknown instrumentation type:",I)}}wQ1.addConsoleInstrumentationHandler=IQ1.addConsoleInstrumentationHandler;wQ1.addClickKeypressInstrumentationHandler=dQ1.addClickKeypressInstrumentationHandler;wQ1.addFetchInstrumentationHandler=GQ1.addFetchInstrumentationHandler;wQ1.addGlobalErrorInstrumentationHandler=ZQ1.addGlobalErrorInstrumentationHandler;wQ1.addGlobalUnhandledRejectionInstrumentationHandler=CQ1.addGlobalUnhandledRejectionInstrumentationHandler;wQ1.addHistoryInstrumentationHandler=WQ1.addHistoryInstrumentationHandler;wQ1.SENTRY_XHR_DATA_KEY=vt.SENTRY_XHR_DATA_KEY;wQ1.addXhrInstrumentationHandler=vt.addXhrInstrumentationHandler;wQ1.addInstrumentationHandler=cM2});var Et=Y((AQ1)=>{Object.defineProperty(AQ1,"__esModule",{value:!0});function IS2(){return typeof __SENTRY_BROWSER_BUNDLE__!=="undefined"&&!!__SENTRY_BROWSER_BUNDLE__}function dS2(){return"npm"}AQ1.getSDKSource=dS2;AQ1.isBrowserBundle=IS2});var Mt=Y((VQ1,JO)=>{Object.defineProperty(VQ1,"__esModule",{value:!0});var CS2=Et();function WS2(){return!CS2.isBrowserBundle()&&Object.prototype.toString.call(typeof process!=="undefined"?process:0)==="[object process]"}function gO(I,d){return I.require(d)}function wS2(I){let d;try{d=gO(JO,I)}catch(G){}try{let{cwd:G}=gO(JO,"process");d=gO(JO,`${G()}/node_modules/${I}`)}catch(G){}return d}VQ1.dynamicRequire=gO;VQ1.isNodeEnv=WS2;VQ1.loadModule=wS2});var _Q1=Y((YQ1)=>{Object.defineProperty(YQ1,"__esModule",{value:!0});var XS2=Mt(),XQ1=K7();function YS2(){return typeof window!=="undefined"&&(!XS2.isNodeEnv()||_S2())}function _S2(){return XQ1.GLOBAL_OBJ.process!==void 0&&XQ1.GLOBAL_OBJ.process.type==="renderer"}YQ1.isBrowser=YS2});var St=Y((DQ1)=>{Object.defineProperty(DQ1,"__esModule",{value:!0});function HS2(){let I=typeof WeakSet==="function",d=I?new WeakSet:[];function G(C){if(I){if(d.has(C))return!0;return d.add(C),!1}for(let W=0;W<d.length;W++)if(d[W]===C)return!0;return d.push(C),!1}function Z(C){if(I)d.delete(C);else for(let W=0;W<d.length;W++)if(d[W]===C){d.splice(W,1);break}}return[G,Z]}DQ1.memoBuilder=HS2});var Uv=Y((gQ1)=>{Object.defineProperty(gQ1,"__esModule",{value:!0});var Lt=xG(),gS2=St(),JS2=cG(),KS2=CO();function HQ1(I,d=100,G=1/0){try{return KO("",I,d,G)}catch(Z){return{ERROR:`**non-serializable** (${Z})`}}}function FQ1(I,d=3,G=102400){let Z=HQ1(I,d);if(fS2(Z)>G)return FQ1(I,d-1,G);return Z}function KO(I,d,G=1/0,Z=1/0,C=gS2.memoBuilder()){let[W,w]=C;if(d==null||["number","boolean","string"].includes(typeof d)&&!Lt.isNaN(d))return d;let B=NS2(I,d);if(!B.startsWith("[object "))return B;if(d.__sentry_skip_normalization__)return d;let A=typeof d.__sentry_override_normalization_depth__==="number"?d.__sentry_override_normalization_depth__:G;if(A===0)return B.replace("object ","");if(W(d))return"[Circular ~]";let V=d;if(V&&typeof V.toJSON==="function")try{let g=V.toJSON();return KO("",g,A-1,Z,C)}catch(g){}let X=Array.isArray(d)?[]:{},_=0,F=JS2.convertToPlainObject(d);for(let g in F){if(!Object.prototype.hasOwnProperty.call(F,g))continue;if(_>=Z){X[g]="[MaxProperties ~]";break}let J=F[g];X[g]=KO(g,J,A-1,Z,C),_++}return w(d),X}function NS2(I,d){try{if(I==="domain"&&d&&typeof d==="object"&&d._events)return"[Domain]";if(I==="domainEmitter")return"[DomainEmitter]";if(typeof global!=="undefined"&&d===global)return"[Global]";if(typeof window!=="undefined"&&d===window)return"[Window]";if(typeof document!=="undefined"&&d===document)return"[Document]";if(Lt.isVueViewModel(d))return"[VueViewModel]";if(Lt.isSyntheticEvent(d))return"[SyntheticEvent]";if(typeof d==="number"&&d!==d)return"[NaN]";if(typeof d==="function")return`[Function: ${KS2.getFunctionName(d)}]`;if(typeof d==="symbol")return`[${String(d)}]`;if(typeof d==="bigint")return`[BigInt: ${String(d)}]`;let G=zS2(d);if(/^HTML(\w*)Element$/.test(G))return`[HTMLElement: ${G}]`;return`[object ${G}]`}catch(G){return`**non-serializable** (${G})`}}function zS2(I){let d=Object.getPrototypeOf(I);return d?d.constructor.name:"null prototype"}function QS2(I){return~-encodeURI(I).split(/%..|./).length}function fS2(I){return QS2(JSON.stringify(I))}function qS2(I,d){let G=d.replace(/\\/g,"/").replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),Z=I;try{Z=decodeURI(I)}catch(C){}return Z.replace(/\\/g,"/").replace(/webpack:\/?/g,"").replace(new RegExp(`(file://)?/*${G}/*`,"ig"),"app:///")}gQ1.normalize=HQ1;gQ1.normalizeToSize=FQ1;gQ1.normalizeUrlToBase=qS2;gQ1.walk=KO});var qQ1=Y((fQ1)=>{Object.defineProperty(fQ1,"__esModule",{value:!0});function KQ1(I,d){let G=0;for(let Z=I.length-1;Z>=0;Z--){let C=I[Z];if(C===".")I.splice(Z,1);else if(C==="..")I.splice(Z,1),G++;else if(G)I.splice(Z,1),G--}if(d)for(;G--;G)I.unshift("..");return I}var MS2=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function NQ1(I){let d=I.length>1024?`<truncated>${I.slice(-1024)}`:I,G=MS2.exec(d);return G?G.slice(1):[]}function yt(...I){let d="",G=!1;for(let Z=I.length-1;Z>=-1&&!G;Z--){let C=Z>=0?I[Z]:"/";if(!C)continue;d=`${C}/${d}`,G=C.charAt(0)==="/"}return d=KQ1(d.split("/").filter((Z)=>!!Z),!G).join("/"),(G?"/":"")+d||"."}function JQ1(I){let d=0;for(;d<I.length;d++)if(I[d]!=="")break;let G=I.length-1;for(;G>=0;G--)if(I[G]!=="")break;if(d>G)return[];return I.slice(d,G-d+1)}function SS2(I,d){I=yt(I).slice(1),d=yt(d).slice(1);let G=JQ1(I.split("/")),Z=JQ1(d.split("/")),C=Math.min(G.length,Z.length),W=C;for(let B=0;B<C;B++)if(G[B]!==Z[B]){W=B;break}let w=[];for(let B=W;B<G.length;B++)w.push("..");return w=w.concat(Z.slice(W)),w.join("/")}function zQ1(I){let d=QQ1(I),G=I.slice(-1)==="/",Z=KQ1(I.split("/").filter((C)=>!!C),!d).join("/");if(!Z&&!d)Z=".";if(Z&&G)Z+="/";return(d?"/":"")+Z}function QQ1(I){return I.charAt(0)==="/"}function LS2(...I){return zQ1(I.join("/"))}function yS2(I){let d=NQ1(I),G=d[0],Z=d[1];if(!G&&!Z)return".";if(Z)Z=Z.slice(0,Z.length-1);return G+Z}function PS2(I,d){let G=NQ1(I)[2];if(d&&G.slice(d.length*-1)===d)G=G.slice(0,G.length-d.length);return G}fQ1.basename=PS2;fQ1.dirname=yS2;fQ1.isAbsolute=QQ1;fQ1.join=LS2;fQ1.normalizePath=zQ1;fQ1.relative=SS2;fQ1.resolve=yt});var Pt=Y((RQ1)=>{Object.defineProperty(RQ1,"__esModule",{value:!0});var hS2=xG(),QA;(function(I){I[I.PENDING=0]="PENDING";let G=1;I[I.RESOLVED=G]="RESOLVED";let Z=2;I[I.REJECTED=Z]="REJECTED"})(QA||(QA={}));function jS2(I){return new Cw((d)=>{d(I)})}function kS2(I){return new Cw((d,G)=>{G(I)})}class Cw{constructor(I){Cw.prototype.__init.call(this),Cw.prototype.__init2.call(this),Cw.prototype.__init3.call(this),Cw.prototype.__init4.call(this),this._state=QA.PENDING,this._handlers=[];try{I(this._resolve,this._reject)}catch(d){this._reject(d)}}then(I,d){return new Cw((G,Z)=>{this._handlers.push([!1,(C)=>{if(!I)G(C);else try{G(I(C))}catch(W){Z(W)}},(C)=>{if(!d)Z(C);else try{G(d(C))}catch(W){Z(W)}}]),this._executeHandlers()})}catch(I){return this.then((d)=>d,I)}finally(I){return new Cw((d,G)=>{let Z,C;return this.then((W)=>{if(C=!1,Z=W,I)I()},(W)=>{if(C=!0,Z=W,I)I()}).then(()=>{if(C){G(Z);return}d(Z)})})}__init(){this._resolve=(I)=>{this._setResult(QA.RESOLVED,I)}}__init2(){this._reject=(I)=>{this._setResult(QA.REJECTED,I)}}__init3(){this._setResult=(I,d)=>{if(this._state!==QA.PENDING)return;if(hS2.isThenable(d)){d.then(this._resolve,this._reject);return}this._state=I,this._value=d,this._executeHandlers()}}__init4(){this._executeHandlers=()=>{if(this._state===QA.PENDING)return;let I=this._handlers.slice();this._handlers=[],I.forEach((d)=>{if(d[0])return;if(this._state===QA.RESOLVED)d[1](this._value);if(this._state===QA.REJECTED)d[2](this._value);d[0]=!0})}}}RQ1.SyncPromise=Cw;RQ1.rejectedSyncPromise=kS2;RQ1.resolvedSyncPromise=jS2});var vQ1=Y((UQ1)=>{Object.defineProperty(UQ1,"__esModule",{value:!0});var iS2=dt(),$t=Pt();function nS2(I){let d=[];function G(){return I===void 0||d.length<I}function Z(w){return d.splice(d.indexOf(w),1)[0]}function C(w){if(!G())return $t.rejectedSyncPromise(new iS2.SentryError("Not adding Promise because buffer limit was reached."));let B=w();if(d.indexOf(B)===-1)d.push(B);return B.then(()=>Z(B)).then(null,()=>Z(B).then(null,()=>{})),B}function W(w){return new $t.SyncPromise((B,A)=>{let V=d.length;if(!V)return B(!0);let X=setTimeout(()=>{if(w&&w>0)B(!1)},w);d.forEach((_)=>{$t.resolvedSyncPromise(_).then(()=>{if(!--V)clearTimeout(X),B(!0)},A)})})}return{$:d,add:C,drain:W}}UQ1.makePromiseBuffer=nS2});var MQ1=Y((EQ1)=>{Object.defineProperty(EQ1,"__esModule",{value:!0});function aS2(I){let d={},G=0;while(G<I.length){let Z=I.indexOf("=",G);if(Z===-1)break;let C=I.indexOf(";",G);if(C===-1)C=I.length;else if(C<Z){G=I.lastIndexOf(";",Z-1)+1;continue}let W=I.slice(G,Z).trim();if(d[W]===void 0){let w=I.slice(Z+1,C).trim();if(w.charCodeAt(0)===34)w=w.slice(1,-1);try{d[W]=w.indexOf("%")!==-1?decodeURIComponent(w):w}catch(B){d[W]=w}}G=C+1}return d}EQ1.parseCookie=aS2});var ut=Y((SQ1)=>{Object.defineProperty(SQ1,"__esModule",{value:!0});function oS2(I){if(!I)return{};let d=I.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!d)return{};let G=d[6]||"",Z=d[8]||"";return{host:d[4],path:d[5],protocol:d[2],search:G,hash:Z,relative:d[5]+G+Z}}function eS2(I){return I.split(/[\?#]/,1)[0]}function tS2(I){return I.split(/\\?\//).filter((d)=>d.length>0&&d!==",").length}function IL2(I){let{protocol:d,host:G,path:Z}=I,C=G&&G.replace(/^.*@/,"[filtered]:[filtered]@").replace(/(:80)$/,"").replace(/(:443)$/,"")||"";return`${d?`${d}://`:""}${C}${Z}`}SQ1.getNumberOfUrlSegments=tS2;SQ1.getSanitizedUrlString=IL2;SQ1.parseUrl=oS2;SQ1.stripUrlQueryAndFragment=eS2});var TQ1=Y((uQ1)=>{Object.defineProperty(uQ1,"__esModule",{value:!0});var WL2=MQ1(),wL2=Zw(),LQ1=xG(),BL2=DC(),AL2=Uv(),VL2=ut(),XL2={ip:!1,request:!0,transaction:!0,user:!0},YL2=["cookies","data","headers","method","query_string","url"],yQ1=["id","username","email"];function _L2(I,d,G){if(!I)return;if(!I.metadata.source||I.metadata.source==="url"){let[Z,C]=NO(d,{path:!0,method:!0});I.updateName(Z),I.setMetadata({source:C})}if(I.setAttribute("url",d.originalUrl||d.url),d.baseUrl)I.setAttribute("baseUrl",d.baseUrl);I.setData("query",PQ1(d,G))}function NO(I,d={}){let G=I.method&&I.method.toUpperCase(),Z="",C="url";if(d.customRoute||I.route)Z=d.customRoute||`${I.baseUrl||""}${I.route&&I.route.path}`,C="route";else if(I.originalUrl||I.url)Z=VL2.stripUrlQueryAndFragment(I.originalUrl||I.url||"");let W="";if(d.method&&G)W+=G;if(d.method&&d.path)W+=" ";if(d.path&&Z)W+=Z;return[W,C]}function DL2(I,d){switch(d){case"path":return NO(I,{path:!0})[0];case"handler":return I.route&&I.route.stack&&I.route.stack[0]&&I.route.stack[0].name||"<anonymous>";case"methodPath":default:{let G=I._reconstructedRoute?I._reconstructedRoute:void 0;return NO(I,{path:!0,method:!0,customRoute:G})[0]}}}function HL2(I,d){let G={};return(Array.isArray(d)?d:yQ1).forEach((C)=>{if(I&&C in I)G[C]=I[C]}),G}function Tt(I,d){let{include:G=YL2,deps:Z}=d||{},C={},W=I.headers||{},w=I.method,B=W.host||I.hostname||I.host||"<no host>",A=I.protocol==="https"||I.socket&&I.socket.encrypted?"https":"http",V=I.originalUrl||I.url||"",X=V.startsWith(A)?V:`${A}://${B}${V}`;return G.forEach((_)=>{switch(_){case"headers":{if(C.headers=W,!G.includes("cookies"))delete C.headers.cookie;break}case"method":{C.method=w;break}case"url":{C.url=X;break}case"cookies":{C.cookies=I.cookies||W.cookie&&WL2.parseCookie(W.cookie)||{};break}case"query_string":{C.query_string=PQ1(I,Z);break}case"data":{if(w==="GET"||w==="HEAD")break;if(I.body!==void 0)C.data=LQ1.isString(I.body)?I.body:JSON.stringify(AL2.normalize(I.body));break}default:if({}.hasOwnProperty.call(I,_))C[_]=I[_]}}),C}function FL2(I,d,G){let Z={...XL2,...G&&G.include};if(Z.request){let C=Array.isArray(Z.request)?Tt(d,{include:Z.request,deps:G&&G.deps}):Tt(d,{deps:G&&G.deps});I.request={...I.request,...C}}if(Z.user){let C=d.user&&LQ1.isPlainObject(d.user)?HL2(d.user,Z.user):{};if(Object.keys(C).length)I.user={...I.user,...C}}if(Z.ip){let C=d.ip||d.socket&&d.socket.remoteAddress;if(C)I.user={...I.user,ip_address:C}}if(Z.transaction&&!I.transaction)I.transaction=DL2(d,Z.transaction);return I}function PQ1(I,d){let G=I.originalUrl||I.url||"";if(!G)return;if(G.startsWith("/"))G=`http://dogs.are.great${G}`;try{return I.query||typeof URL!=="undefined"&&new URL(G).search.slice(1)||d&&d.url&&d.url.parse(G).query||void 0}catch(Z){return}}function $Q1(I){let d={};try{I.forEach((G,Z)=>{if(typeof G==="string")d[Z]=G})}catch(G){wL2.DEBUG_BUILD&&BL2.logger.warn("Sentry failed extracting headers from a request object. If you see this, please file an issue.")}return d}function gL2(I){let d=$Q1(I.headers);return{method:I.method,url:I.url,headers:d}}uQ1.DEFAULT_USER_INCLUDES=yQ1;uQ1.addRequestDataToEvent=FL2;uQ1.addRequestDataToTransaction=_L2;uQ1.extractPathForTransaction=NO;uQ1.extractRequestData=Tt;uQ1.winterCGHeadersToDict=$Q1;uQ1.winterCGRequestToRequestData=gL2});var bQ1=Y((lQ1)=>{Object.defineProperty(lQ1,"__esModule",{value:!0});var OQ1=["fatal","error","warning","log","info","debug"];function RL2(I){return mQ1(I)}function mQ1(I){return I==="warn"?"warning":OQ1.includes(I)?I:"log"}lQ1.severityFromString=RL2;lQ1.severityLevelFromString=mQ1;lQ1.validSeverityLevels=OQ1});var Ot=Y((cQ1)=>{Object.defineProperty(cQ1,"__esModule",{value:!0});var hQ1=K7(),jQ1=1000;function kQ1(){return Date.now()/jQ1}function ML2(){let{performance:I}=hQ1.GLOBAL_OBJ;if(!I||!I.now)return kQ1;let d=Date.now()-I.now(),G=I.timeOrigin==null?d:I.timeOrigin;return()=>{return(G+I.now())/jQ1}}var xQ1=ML2(),SL2=xQ1;cQ1._browserPerformanceTimeOriginMode=void 0;var LL2=(()=>{let{performance:I}=hQ1.GLOBAL_OBJ;if(!I||!I.now){cQ1._browserPerformanceTimeOriginMode="none";return}let d=3600000,G=I.now(),Z=Date.now(),C=I.timeOrigin?Math.abs(I.timeOrigin+G-Z):d,W=C<d,w=I.timing&&I.timing.navigationStart,A=typeof w==="number"?Math.abs(w+G-Z):d,V=A<d;if(W||V)if(C<=A)return cQ1._browserPerformanceTimeOriginMode="timeOrigin",I.timeOrigin;else return cQ1._browserPerformanceTimeOriginMode="navigationStart",w;return cQ1._browserPerformanceTimeOriginMode="dateNow",Z})();cQ1.browserPerformanceTimeOrigin=LL2;cQ1.dateTimestampInSeconds=kQ1;cQ1.timestampInSeconds=xQ1;cQ1.timestampWithMs=SL2});var lt=Y((rQ1)=>{Object.defineProperty(rQ1,"__esModule",{value:!0});var TL2=Zw(),OL2=xG(),mL2=DC(),lL2="baggage",mt="sentry-",iQ1=/^sentry-/,nQ1=8192;function bL2(I){if(!OL2.isString(I)&&!Array.isArray(I))return;let d={};if(Array.isArray(I))d=I.reduce((Z,C)=>{let W=pQ1(C);for(let w of Object.keys(W))Z[w]=W[w];return Z},{});else{if(!I)return;d=pQ1(I)}let G=Object.entries(d).reduce((Z,[C,W])=>{if(C.match(iQ1)){let w=C.slice(mt.length);Z[w]=W}return Z},{});if(Object.keys(G).length>0)return G;else return}function hL2(I){if(!I)return;let d=Object.entries(I).reduce((G,[Z,C])=>{if(C)G[`${mt}${Z}`]=C;return G},{});return jL2(d)}function pQ1(I){return I.split(",").map((d)=>d.split("=").map((G)=>decodeURIComponent(G.trim()))).reduce((d,[G,Z])=>{return d[G]=Z,d},{})}function jL2(I){if(Object.keys(I).length===0)return;return Object.entries(I).reduce((d,[G,Z],C)=>{let W=`${encodeURIComponent(G)}=${encodeURIComponent(Z)}`,w=C===0?W:`${d},${W}`;if(w.length>nQ1)return TL2.DEBUG_BUILD&&mL2.logger.warn(`Not adding key: ${G} with val: ${Z} to baggage header due to exceeding baggage size limits.`),d;else return w},"")}rQ1.BAGGAGE_HEADER_NAME=lL2;rQ1.MAX_BAGGAGE_STRING_LENGTH=nQ1;rQ1.SENTRY_BAGGAGE_KEY_PREFIX=mt;rQ1.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=iQ1;rQ1.baggageHeaderToDynamicSamplingContext=bL2;rQ1.dynamicSamplingContextToSentryBaggageHeader=hL2});var eQ1=Y((oQ1)=>{Object.defineProperty(oQ1,"__esModule",{value:!0});var aQ1=lt(),pG=Qv(),sQ1=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function bt(I){if(!I)return;let d=I.match(sQ1);if(!d)return;let G;if(d[3]==="1")G=!0;else if(d[3]==="0")G=!1;return{traceId:d[1],parentSampled:G,parentSpanId:d[2]}}function rL2(I,d){let G=bt(I),Z=aQ1.baggageHeaderToDynamicSamplingContext(d),{traceId:C,parentSpanId:W,parentSampled:w}=G||{};if(!G)return{traceparentData:G,dynamicSamplingContext:void 0,propagationContext:{traceId:C||pG.uuid4(),spanId:pG.uuid4().substring(16)}};else return{traceparentData:G,dynamicSamplingContext:Z||{},propagationContext:{traceId:C||pG.uuid4(),parentSpanId:W||pG.uuid4().substring(16),spanId:pG.uuid4().substring(16),sampled:w,dsc:Z||{}}}}function aL2(I,d){let G=bt(I),Z=aQ1.baggageHeaderToDynamicSamplingContext(d),{traceId:C,parentSpanId:W,parentSampled:w}=G||{};if(!G)return{traceId:C||pG.uuid4(),spanId:pG.uuid4().substring(16)};else return{traceId:C||pG.uuid4(),parentSpanId:W||pG.uuid4().substring(16),spanId:pG.uuid4().substring(16),sampled:w,dsc:Z||{}}}function sL2(I=pG.uuid4(),d=pG.uuid4().substring(16),G){let Z="";if(G!==void 0)Z=G?"-1":"-0";return`${I}-${d}${Z}`}oQ1.TRACEPARENT_REGEXP=sQ1;oQ1.extractTraceparentData=bt;oQ1.generateSentryTraceHeader=sL2;oQ1.propagationContextFromHeaders=aL2;oQ1.tracingContextFromHeaders=rL2});var jt=Y((df1)=>{Object.defineProperty(df1,"__esModule",{value:!0});var Gy2=It(),Zy2=Uv(),tQ1=cG();function Cy2(I,d=[]){return[I,d]}function Wy2(I,d){let[G,Z]=I;return[G,[...Z,d]]}function If1(I,d){let G=I[1];for(let Z of G){let C=Z[0].type;if(d(Z,C))return!0}return!1}function wy2(I,d){return If1(I,(G,Z)=>d.includes(Z))}function ht(I,d){return(d||new TextEncoder).encode(I)}function By2(I,d){let[G,Z]=I,C=JSON.stringify(G);function W(w){if(typeof C==="string")C=typeof w==="string"?C+w:[ht(C,d),w];else C.push(typeof w==="string"?ht(w,d):w)}for(let w of Z){let[B,A]=w;if(W(`
${JSON.stringify(B)}
`),typeof A==="string"||A instanceof Uint8Array)W(A);else{let V;try{V=JSON.stringify(A)}catch(X){V=JSON.stringify(Zy2.normalize(A))}W(V)}}return typeof C==="string"?C:Ay2(C)}function Ay2(I){let d=I.reduce((C,W)=>C+W.length,0),G=new Uint8Array(d),Z=0;for(let C of I)G.set(C,Z),Z+=C.length;return G}function Vy2(I,d,G){let Z=typeof I==="string"?d.encode(I):I;function C(A){let V=Z.subarray(0,A);return Z=Z.subarray(A+1),V}function W(){let A=Z.indexOf(10);if(A<0)A=Z.length;return JSON.parse(G.decode(C(A)))}let w=W(),B=[];while(Z.length){let A=W(),V=typeof A.length==="number"?A.length:void 0;B.push([A,V?C(V):W()])}return[w,B]}function Xy2(I,d){let G=typeof I.data==="string"?ht(I.data,d):I.data;return[tQ1.dropUndefinedKeys({type:"attachment",length:G.length,filename:I.filename,content_type:I.contentType,attachment_type:I.attachmentType}),G]}var Yy2={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function _y2(I){return Yy2[I]}function Dy2(I){if(!I||!I.sdk)return;let{name:d,version:G}=I.sdk;return{name:d,version:G}}function Hy2(I,d,G,Z){let C=I.sdkProcessingMetadata&&I.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:I.event_id,sent_at:new Date().toISOString(),...d&&{sdk:d},...!!G&&Z&&{dsn:Gy2.dsnToString(Z)},...C&&{trace:tQ1.dropUndefinedKeys({...C})}}}df1.addItemToEnvelope=Wy2;df1.createAttachmentEnvelopeItem=Xy2;df1.createEnvelope=Cy2;df1.createEventEnvelopeHeaders=Hy2;df1.envelopeContainsItemType=wy2;df1.envelopeItemTypeToDataCategory=_y2;df1.forEachEnvelopeItem=If1;df1.getSdkMetadataForEnvelopeHeader=Dy2;df1.parseEnvelope=Vy2;df1.serializeEnvelope=By2});var Zf1=Y((Gf1)=>{Object.defineProperty(Gf1,"__esModule",{value:!0});var Uy2=jt(),vy2=Ot();function Ey2(I,d,G){let Z=[{type:"client_report"},{timestamp:G||vy2.dateTimestampInSeconds(),discarded_events:I}];return Uy2.createEnvelope(d?{dsn:d}:{},[Z])}Gf1.createClientReportEnvelope=Ey2});var Af1=Y((Bf1)=>{Object.defineProperty(Bf1,"__esModule",{value:!0});var Cf1=60000;function Wf1(I,d=Date.now()){let G=parseInt(`${I}`,10);if(!isNaN(G))return G*1000;let Z=Date.parse(`${I}`);if(!isNaN(Z))return Z-d;return Cf1}function wf1(I,d){return I[d]||I.all||0}function Sy2(I,d,G=Date.now()){return wf1(I,d)>G}function Ly2(I,{statusCode:d,headers:G},Z=Date.now()){let C={...I},W=G&&G["x-sentry-rate-limits"],w=G&&G["retry-after"];if(W)for(let B of W.trim().split(",")){let[A,V,,,X]=B.split(":",5),_=parseInt(A,10),F=(!isNaN(_)?_:60)*1000;if(!V)C.all=Z+F;else for(let g of V.split(";"))if(g==="metric_bucket"){if(!X||X.split(";").includes("custom"))C[g]=Z+F}else C[g]=Z+F}else if(w)C.all=Z+Wf1(w,Z);else if(d===429)C.all=Z+60000;return C}Bf1.DEFAULT_RETRY_AFTER=Cf1;Bf1.disabledUntil=wf1;Bf1.isRateLimited=Sy2;Bf1.parseRetryAfterHeader=Wf1;Bf1.updateRateLimits=Ly2});var _f1=Y((Yf1)=>{Object.defineProperty(Yf1,"__esModule",{value:!0});function Vf1(I,d,G){let Z=d.match(/([a-z_]+)\.(.*)/i);if(Z===null)I[d]=G;else{let C=I[Z[1]];Vf1(C,Z[2],G)}}function Oy2(I,d,G={}){return Array.isArray(d)?Xf1(I,d,G):my2(I,d,G)}function Xf1(I,d,G){let Z=d.find((C)=>C.name===I.name);if(Z){for(let[C,W]of Object.entries(G))Vf1(Z,C,W);return d}return[...d,I]}function my2(I,d,G){return(C)=>{let W=d(C);if(I.allowExclusionByUser){if(!W.find((B)=>B.name===I.name))return W}return Xf1(I,W,G)}}Yf1.addOrUpdateIntegration=Oy2});var Hf1=Y((Df1)=>{Object.defineProperty(Df1,"__esModule",{value:!0});function by2(I){let d=[],G={};return{add(Z,C){while(d.length>=I){let W=d.shift();if(W!==void 0)delete G[W]}if(G[Z])this.delete(Z);d.push(Z),G[Z]=C},clear(){G={},d=[]},get(Z){return G[Z]},size(){return d.length},delete(Z){if(!G[Z])return!1;delete G[Z];for(let C=0;C<d.length;C++)if(d[C]===Z){d.splice(C,1);break}return!0}}}Df1.makeFifoCache=by2});var Kf1=Y((Jf1)=>{Object.defineProperty(Jf1,"__esModule",{value:!0});var kt=xG(),Ff1=Qv(),jy2=Uv(),ky2=cG();function xt(I,d){return I(d.stack||"",1)}function gf1(I,d){let G={type:d.name||d.constructor.name,value:d.message},Z=xt(I,d);if(Z.length)G.stacktrace={frames:Z};return G}function xy2(I){if("name"in I&&typeof I.name==="string"){let d=`'${I.name}' captured as exception`;if("message"in I&&typeof I.message==="string")d+=` with message '${I.message}'`;return d}else if("message"in I&&typeof I.message==="string")return I.message;else return`Object captured as exception with keys: ${ky2.extractExceptionKeysForMessage(I)}`}function cy2(I,d,G,Z){let C=typeof I==="function"?I().getClient():I,W=G,B=Z&&Z.data&&Z.data.mechanism||{handled:!0,type:"generic"},A;if(!kt.isError(G)){if(kt.isPlainObject(G)){let X=C&&C.getOptions().normalizeDepth;A={["__serialized__"]:jy2.normalizeToSize(G,X)};let _=xy2(G);W=Z&&Z.syntheticException||new Error(_),W.message=_}else W=Z&&Z.syntheticException||new Error(G),W.message=G;B.synthetic=!0}let V={exception:{values:[gf1(d,W)]}};if(A)V.extra=A;return Ff1.addExceptionTypeValue(V,void 0,void 0),Ff1.addExceptionMechanism(V,B),{...V,event_id:Z&&Z.event_id}}function py2(I,d,G="info",Z,C){let W={event_id:Z&&Z.event_id,level:G};if(C&&Z&&Z.syntheticException){let w=xt(I,Z.syntheticException);if(w.length)W.exception={values:[{value:d,stacktrace:{frames:w}}]}}if(kt.isParameterizedString(d)){let{__sentry_template_string__:w,__sentry_template_values__:B}=d;return W.logentry={message:w,params:B},W}return W.message=d,W}Jf1.eventFromMessage=py2;Jf1.eventFromUnknownInput=cy2;Jf1.exceptionFromError=gf1;Jf1.parseStackFrames=xt});var zf1=Y((Nf1)=>{Object.defineProperty(Nf1,"__esModule",{value:!0});var sy2=cG(),oy2=ZO();function ey2(I,d,G,Z){let C=I(),W=!1,w=!0;return setInterval(()=>{let B=C.getTimeMs();if(W===!1&&B>d+G){if(W=!0,w)Z()}if(B<d+G)W=!1},20),{poll:()=>{C.reset()},enabled:(B)=>{w=B}}}function ty2(I,d,G){let Z=d?d.replace(/^file:\/\//,""):void 0,C=I.location.columnNumber?I.location.columnNumber+1:void 0,W=I.location.lineNumber?I.location.lineNumber+1:void 0;return sy2.dropUndefinedKeys({filename:Z,module:G(Z),function:I.functionName||"?",colno:C,lineno:W,in_app:Z?oy2.filenameIsInApp(Z):void 0})}Nf1.callFrameToStackFrame=ty2;Nf1.watchdogTimer=ey2});var qf1=Y((ff1)=>{Object.defineProperty(ff1,"__esModule",{value:!0});class Qf1{constructor(I){this._maxSize=I,this._cache=new Map}get size(){return this._cache.size}get(I){let d=this._cache.get(I);if(d===void 0)return;return this._cache.delete(I),this._cache.set(I,d),d}set(I,d){if(this._cache.size>=this._maxSize)this._cache.delete(this._cache.keys().next().value);this._cache.set(I,d)}remove(I){let d=this._cache.get(I);if(d)this._cache.delete(I);return d}clear(){this._cache.clear()}keys(){return Array.from(this._cache.keys())}values(){let I=[];return this._cache.forEach((d)=>I.push(d)),I}}ff1.LRUMap=Qf1});var ct=Y((Rf1)=>{Object.defineProperty(Rf1,"__esModule",{value:!0});function ZP2(I,d){return I!=null?I:d()}Rf1._nullishCoalesce=ZP2});var vf1=Y((Uf1)=>{Object.defineProperty(Uf1,"__esModule",{value:!0});var WP2=ct();async function wP2(I,d){return WP2._nullishCoalesce(I,d)}Uf1._asyncNullishCoalesce=wP2});var pt=Y((Ef1)=>{Object.defineProperty(Ef1,"__esModule",{value:!0});async function AP2(I){let d=void 0,G=I[0],Z=1;while(Z<I.length){let C=I[Z],W=I[Z+1];if(Z+=2,(C==="optionalAccess"||C==="optionalCall")&&G==null)return;if(C==="access"||C==="optionalAccess")d=G,G=await W(G);else if(C==="call"||C==="optionalCall")G=await W((...w)=>G.call(d,...w)),d=void 0}return G}Ef1._asyncOptionalChain=AP2});var Sf1=Y((Mf1)=>{Object.defineProperty(Mf1,"__esModule",{value:!0});var XP2=pt();async function YP2(I){let d=await XP2._asyncOptionalChain(I);return d==null?!0:d}Mf1._asyncOptionalChainDelete=YP2});var it=Y((Lf1)=>{Object.defineProperty(Lf1,"__esModule",{value:!0});function DP2(I){let d=void 0,G=I[0],Z=1;while(Z<I.length){let C=I[Z],W=I[Z+1];if(Z+=2,(C==="optionalAccess"||C==="optionalCall")&&G==null)return;if(C==="access"||C==="optionalAccess")d=G,G=W(G);else if(C==="call"||C==="optionalCall")G=W((...w)=>G.call(d,...w)),d=void 0}return G}Lf1._optionalChain=DP2});var Pf1=Y((yf1)=>{Object.defineProperty(yf1,"__esModule",{value:!0});var FP2=it();function gP2(I){let d=FP2._optionalChain(I);return d==null?!0:d}yf1._optionalChainDelete=gP2});var uf1=Y(($f1)=>{Object.defineProperty($f1,"__esModule",{value:!0});function KP2(I){return I.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}$f1.escapeStringForRegex=KP2});var V0=Y((et)=>{Object.defineProperty(et,"__esModule",{value:!0});var zP2=wz1(),zO=se(),nt=It(),QP2=dt(),rt=K7(),fP2=BQ1(),N7=xG(),qP2=_Q1(),QO=DC(),RP2=St(),xX=Qv(),at=Mt(),fO=Uv(),fA=cG(),YF=qQ1(),UP2=vQ1(),_F=TQ1(),st=bQ1(),Ev=CO(),Mv=Nv(),cX=Ht(),ot=Pt(),Sv=Ot(),Lv=eQ1(),Tf1=Et(),Ww=jt(),vP2=Zf1(),yv=Af1(),BN=lt(),qO=ut(),EP2=_f1(),MP2=Hf1(),RO=Kf1(),Of1=zf1(),SP2=qf1(),LP2=vf1(),yP2=pt(),PP2=Sf1(),$P2=ct(),uP2=it(),TP2=Pf1(),OP2=wt(),mP2=Yt(),mf1=Ut(),lP2=gt(),bP2=Rt(),hP2=Nt(),jP2=ft(),kP2=zA(),xP2=ZO(),cP2=uf1(),pP2=qt();et.applyAggregateErrorsToEvent=zP2.applyAggregateErrorsToEvent;et.getComponentName=zO.getComponentName;et.getDomElement=zO.getDomElement;et.getLocationHref=zO.getLocationHref;et.htmlTreeAsString=zO.htmlTreeAsString;et.dsnFromString=nt.dsnFromString;et.dsnToString=nt.dsnToString;et.makeDsn=nt.makeDsn;et.SentryError=QP2.SentryError;et.GLOBAL_OBJ=rt.GLOBAL_OBJ;et.getGlobalObject=rt.getGlobalObject;et.getGlobalSingleton=rt.getGlobalSingleton;et.addInstrumentationHandler=fP2.addInstrumentationHandler;et.isDOMError=N7.isDOMError;et.isDOMException=N7.isDOMException;et.isElement=N7.isElement;et.isError=N7.isError;et.isErrorEvent=N7.isErrorEvent;et.isEvent=N7.isEvent;et.isInstanceOf=N7.isInstanceOf;et.isNaN=N7.isNaN;et.isParameterizedString=N7.isParameterizedString;et.isPlainObject=N7.isPlainObject;et.isPrimitive=N7.isPrimitive;et.isRegExp=N7.isRegExp;et.isString=N7.isString;et.isSyntheticEvent=N7.isSyntheticEvent;et.isThenable=N7.isThenable;et.isVueViewModel=N7.isVueViewModel;et.isBrowser=qP2.isBrowser;et.CONSOLE_LEVELS=QO.CONSOLE_LEVELS;et.consoleSandbox=QO.consoleSandbox;et.logger=QO.logger;et.originalConsoleMethods=QO.originalConsoleMethods;et.memoBuilder=RP2.memoBuilder;et.addContextToFrame=xX.addContextToFrame;et.addExceptionMechanism=xX.addExceptionMechanism;et.addExceptionTypeValue=xX.addExceptionTypeValue;et.arrayify=xX.arrayify;et.checkOrSetAlreadyCaught=xX.checkOrSetAlreadyCaught;et.getEventDescription=xX.getEventDescription;et.parseSemver=xX.parseSemver;et.uuid4=xX.uuid4;et.dynamicRequire=at.dynamicRequire;et.isNodeEnv=at.isNodeEnv;et.loadModule=at.loadModule;et.normalize=fO.normalize;et.normalizeToSize=fO.normalizeToSize;et.normalizeUrlToBase=fO.normalizeUrlToBase;et.walk=fO.walk;et.addNonEnumerableProperty=fA.addNonEnumerableProperty;et.convertToPlainObject=fA.convertToPlainObject;et.dropUndefinedKeys=fA.dropUndefinedKeys;et.extractExceptionKeysForMessage=fA.extractExceptionKeysForMessage;et.fill=fA.fill;et.getOriginalFunction=fA.getOriginalFunction;et.markFunctionWrapped=fA.markFunctionWrapped;et.objectify=fA.objectify;et.urlEncode=fA.urlEncode;et.basename=YF.basename;et.dirname=YF.dirname;et.isAbsolute=YF.isAbsolute;et.join=YF.join;et.normalizePath=YF.normalizePath;et.relative=YF.relative;et.resolve=YF.resolve;et.makePromiseBuffer=UP2.makePromiseBuffer;et.DEFAULT_USER_INCLUDES=_F.DEFAULT_USER_INCLUDES;et.addRequestDataToEvent=_F.addRequestDataToEvent;et.addRequestDataToTransaction=_F.addRequestDataToTransaction;et.extractPathForTransaction=_F.extractPathForTransaction;et.extractRequestData=_F.extractRequestData;et.winterCGHeadersToDict=_F.winterCGHeadersToDict;et.winterCGRequestToRequestData=_F.winterCGRequestToRequestData;et.severityFromString=st.severityFromString;et.severityLevelFromString=st.severityLevelFromString;et.validSeverityLevels=st.validSeverityLevels;et.createStackParser=Ev.createStackParser;et.getFunctionName=Ev.getFunctionName;et.nodeStackLineParser=Ev.nodeStackLineParser;et.stackParserFromStackParserOptions=Ev.stackParserFromStackParserOptions;et.stripSentryFramesAndReverse=Ev.stripSentryFramesAndReverse;et.isMatchingPattern=Mv.isMatchingPattern;et.safeJoin=Mv.safeJoin;et.snipLine=Mv.snipLine;et.stringMatchesSomePattern=Mv.stringMatchesSomePattern;et.truncate=Mv.truncate;et.isNativeFetch=cX.isNativeFetch;et.supportsDOMError=cX.supportsDOMError;et.supportsDOMException=cX.supportsDOMException;et.supportsErrorEvent=cX.supportsErrorEvent;et.supportsFetch=cX.supportsFetch;et.supportsNativeFetch=cX.supportsNativeFetch;et.supportsReferrerPolicy=cX.supportsReferrerPolicy;et.supportsReportingObserver=cX.supportsReportingObserver;et.SyncPromise=ot.SyncPromise;et.rejectedSyncPromise=ot.rejectedSyncPromise;et.resolvedSyncPromise=ot.resolvedSyncPromise;Object.defineProperty(et,"_browserPerformanceTimeOriginMode",{enumerable:!0,get:()=>Sv._browserPerformanceTimeOriginMode});et.browserPerformanceTimeOrigin=Sv.browserPerformanceTimeOrigin;et.dateTimestampInSeconds=Sv.dateTimestampInSeconds;et.timestampInSeconds=Sv.timestampInSeconds;et.timestampWithMs=Sv.timestampWithMs;et.TRACEPARENT_REGEXP=Lv.TRACEPARENT_REGEXP;et.extractTraceparentData=Lv.extractTraceparentData;et.generateSentryTraceHeader=Lv.generateSentryTraceHeader;et.propagationContextFromHeaders=Lv.propagationContextFromHeaders;et.tracingContextFromHeaders=Lv.tracingContextFromHeaders;et.getSDKSource=Tf1.getSDKSource;et.isBrowserBundle=Tf1.isBrowserBundle;et.addItemToEnvelope=Ww.addItemToEnvelope;et.createAttachmentEnvelopeItem=Ww.createAttachmentEnvelopeItem;et.createEnvelope=Ww.createEnvelope;et.createEventEnvelopeHeaders=Ww.createEventEnvelopeHeaders;et.envelopeContainsItemType=Ww.envelopeContainsItemType;et.envelopeItemTypeToDataCategory=Ww.envelopeItemTypeToDataCategory;et.forEachEnvelopeItem=Ww.forEachEnvelopeItem;et.getSdkMetadataForEnvelopeHeader=Ww.getSdkMetadataForEnvelopeHeader;et.parseEnvelope=Ww.parseEnvelope;et.serializeEnvelope=Ww.serializeEnvelope;et.createClientReportEnvelope=vP2.createClientReportEnvelope;et.DEFAULT_RETRY_AFTER=yv.DEFAULT_RETRY_AFTER;et.disabledUntil=yv.disabledUntil;et.isRateLimited=yv.isRateLimited;et.parseRetryAfterHeader=yv.parseRetryAfterHeader;et.updateRateLimits=yv.updateRateLimits;et.BAGGAGE_HEADER_NAME=BN.BAGGAGE_HEADER_NAME;et.MAX_BAGGAGE_STRING_LENGTH=BN.MAX_BAGGAGE_STRING_LENGTH;et.SENTRY_BAGGAGE_KEY_PREFIX=BN.SENTRY_BAGGAGE_KEY_PREFIX;et.SENTRY_BAGGAGE_KEY_PREFIX_REGEX=BN.SENTRY_BAGGAGE_KEY_PREFIX_REGEX;et.baggageHeaderToDynamicSamplingContext=BN.baggageHeaderToDynamicSamplingContext;et.dynamicSamplingContextToSentryBaggageHeader=BN.dynamicSamplingContextToSentryBaggageHeader;et.getNumberOfUrlSegments=qO.getNumberOfUrlSegments;et.getSanitizedUrlString=qO.getSanitizedUrlString;et.parseUrl=qO.parseUrl;et.stripUrlQueryAndFragment=qO.stripUrlQueryAndFragment;et.addOrUpdateIntegration=EP2.addOrUpdateIntegration;et.makeFifoCache=MP2.makeFifoCache;et.eventFromMessage=RO.eventFromMessage;et.eventFromUnknownInput=RO.eventFromUnknownInput;et.exceptionFromError=RO.exceptionFromError;et.parseStackFrames=RO.parseStackFrames;et.callFrameToStackFrame=Of1.callFrameToStackFrame;et.watchdogTimer=Of1.watchdogTimer;et.LRUMap=SP2.LRUMap;et._asyncNullishCoalesce=LP2._asyncNullishCoalesce;et._asyncOptionalChain=yP2._asyncOptionalChain;et._asyncOptionalChainDelete=PP2._asyncOptionalChainDelete;et._nullishCoalesce=$P2._nullishCoalesce;et._optionalChain=uP2._optionalChain;et._optionalChainDelete=TP2._optionalChainDelete;et.addConsoleInstrumentationHandler=OP2.addConsoleInstrumentationHandler;et.addClickKeypressInstrumentationHandler=mP2.addClickKeypressInstrumentationHandler;et.SENTRY_XHR_DATA_KEY=mf1.SENTRY_XHR_DATA_KEY;et.addXhrInstrumentationHandler=mf1.addXhrInstrumentationHandler;et.addFetchInstrumentationHandler=lP2.addFetchInstrumentationHandler;et.addHistoryInstrumentationHandler=bP2.addHistoryInstrumentationHandler;et.addGlobalErrorInstrumentationHandler=hP2.addGlobalErrorInstrumentationHandler;et.addGlobalUnhandledRejectionInstrumentationHandler=jP2.addGlobalUnhandledRejectionInstrumentationHandler;et.resetInstrumentationHandlers=kP2.resetInstrumentationHandlers;et.filenameIsInApp=xP2.filenameIsInApp;et.escapeStringForRegex=cP2.escapeStringForRegex;et.supportsHistory=pP2.supportsHistory});var F6=Y((lf1)=>{Object.defineProperty(lf1,"__esModule",{value:!0});var iT2=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;lf1.DEBUG_BUILD=iT2});var AN=Y((bf1)=>{Object.defineProperty(bf1,"__esModule",{value:!0});var rT2="production";bf1.DEFAULT_ENVIRONMENT=rT2});var Pv=Y((jf1)=>{Object.defineProperty(jf1,"__esModule",{value:!0});var UO=V0(),sT2=F6();function hf1(){return UO.getGlobalSingleton("globalEventProcessors",()=>[])}function oT2(I){hf1().push(I)}function tt(I,d,G,Z=0){return new UO.SyncPromise((C,W)=>{let w=I[Z];if(d===null||typeof w!=="function")C(d);else{let B=w({...d},G);if(sT2.DEBUG_BUILD&&w.id&&B===null&&UO.logger.log(`Event processor "${w.id}" dropped event`),UO.isThenable(B))B.then((A)=>tt(I,A,G,Z+1).then(C)).then(null,W);else tt(I,B,G,Z+1).then(C).then(null,W)}})}jf1.addGlobalEventProcessor=oT2;jf1.getGlobalEventProcessors=hf1;jf1.notifyEventProcessors=tt});var VN=Y((kf1)=>{Object.defineProperty(kf1,"__esModule",{value:!0});var $v=V0();function dO2(I){let d=$v.timestampInSeconds(),G={sid:$v.uuid4(),init:!0,timestamp:d,started:d,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>ZO2(G)};if(I)I11(G,I);return G}function I11(I,d={}){if(d.user){if(!I.ipAddress&&d.user.ip_address)I.ipAddress=d.user.ip_address;if(!I.did&&!d.did)I.did=d.user.id||d.user.email||d.user.username}if(I.timestamp=d.timestamp||$v.timestampInSeconds(),d.abnormal_mechanism)I.abnormal_mechanism=d.abnormal_mechanism;if(d.ignoreDuration)I.ignoreDuration=d.ignoreDuration;if(d.sid)I.sid=d.sid.length===32?d.sid:$v.uuid4();if(d.init!==void 0)I.init=d.init;if(!I.did&&d.did)I.did=`${d.did}`;if(typeof d.started==="number")I.started=d.started;if(I.ignoreDuration)I.duration=void 0;else if(typeof d.duration==="number")I.duration=d.duration;else{let G=I.timestamp-I.started;I.duration=G>=0?G:0}if(d.release)I.release=d.release;if(d.environment)I.environment=d.environment;if(!I.ipAddress&&d.ipAddress)I.ipAddress=d.ipAddress;if(!I.userAgent&&d.userAgent)I.userAgent=d.userAgent;if(typeof d.errors==="number")I.errors=d.errors;if(d.status)I.status=d.status}function GO2(I,d){let G={};if(d)G={status:d};else if(I.status==="ok")G={status:"exited"};I11(I,G)}function ZO2(I){return $v.dropUndefinedKeys({sid:`${I.sid}`,init:I.init,started:new Date(I.started*1000).toISOString(),timestamp:new Date(I.timestamp*1000).toISOString(),status:I.status,errors:I.errors,did:typeof I.did==="number"||typeof I.did==="string"?`${I.did}`:void 0,duration:I.duration,abnormal_mechanism:I.abnormal_mechanism,attrs:{release:I.release,environment:I.environment,ip_address:I.ipAddress,user_agent:I.userAgent}})}kf1.closeSession=GO2;kf1.makeSession=dO2;kf1.updateSession=I11});var kI=Y((nf1)=>{Object.defineProperty(nf1,"__esModule",{value:!0});var d11=V0(),BO2=0,cf1=1;function AO2(I){let{spanId:d,traceId:G}=I.spanContext(),{data:Z,op:C,parent_span_id:W,status:w,tags:B,origin:A}=pf1(I);return d11.dropUndefinedKeys({data:Z,op:C,parent_span_id:W,span_id:d,status:w,tags:B,trace_id:G,origin:A})}function VO2(I){let{traceId:d,spanId:G}=I.spanContext(),Z=if1(I);return d11.generateSentryTraceHeader(d,G,Z)}function XO2(I){if(typeof I==="number")return xf1(I);if(Array.isArray(I))return I[0]+I[1]/1e9;if(I instanceof Date)return xf1(I.getTime());return d11.timestampInSeconds()}function xf1(I){return I>9999999999?I/1000:I}function pf1(I){if(YO2(I))return I.getSpanJSON();if(typeof I.toJSON==="function")return I.toJSON();return{}}function YO2(I){return typeof I.getSpanJSON==="function"}function if1(I){let{traceFlags:d}=I.spanContext();return Boolean(d&cf1)}nf1.TRACE_FLAG_NONE=BO2;nf1.TRACE_FLAG_SAMPLED=cf1;nf1.spanIsSampled=if1;nf1.spanTimeInputToSeconds=XO2;nf1.spanToJSON=pf1;nf1.spanToTraceContext=AO2;nf1.spanToTraceHeader=VO2});var vO=Y((ef1)=>{Object.defineProperty(ef1,"__esModule",{value:!0});var jd=V0(),NO2=AN(),rf1=Pv(),Z11=MO(),G11=EO(),zO2=kI();function QO2(I,d,G,Z,C,W){let{normalizeDepth:w=3,normalizeMaxBreadth:B=1000}=I,A={...d,event_id:d.event_id||G.event_id||jd.uuid4(),timestamp:d.timestamp||jd.dateTimestampInSeconds()},V=G.integrations||I.integrations.map((Q)=>Q.name);if(fO2(A,I),qO2(A,V),d.type===void 0)sf1(A,I.stackParser);let X=UO2(Z,G.captureContext);if(G.mechanism)jd.addExceptionMechanism(A,G.mechanism);let _=C&&C.getEventProcessors?C.getEventProcessors():[],F=Z11.getGlobalScope().getScopeData();if(W){let Q=W.getScopeData();G11.mergeScopeData(F,Q)}if(X){let Q=X.getScopeData();G11.mergeScopeData(F,Q)}let g=[...G.attachments||[],...F.attachments];if(g.length)G.attachments=g;G11.applyScopeDataToEvent(A,F);let J=[..._,...rf1.getGlobalEventProcessors(),...F.eventProcessors];return rf1.notifyEventProcessors(J,A,G).then((Q)=>{if(Q)of1(Q);if(typeof w==="number"&&w>0)return RO2(Q,w,B);return Q})}function fO2(I,d){let{environment:G,release:Z,dist:C,maxValueLength:W=250}=d;if(!("environment"in I))I.environment="environment"in d?G:NO2.DEFAULT_ENVIRONMENT;if(I.release===void 0&&Z!==void 0)I.release=Z;if(I.dist===void 0&&C!==void 0)I.dist=C;if(I.message)I.message=jd.truncate(I.message,W);let w=I.exception&&I.exception.values&&I.exception.values[0];if(w&&w.value)w.value=jd.truncate(w.value,W);let B=I.request;if(B&&B.url)B.url=jd.truncate(B.url,W)}var af1=new WeakMap;function sf1(I,d){let G=jd.GLOBAL_OBJ._sentryDebugIds;if(!G)return;let Z,C=af1.get(d);if(C)Z=C;else Z=new Map,af1.set(d,Z);let W=Object.keys(G).reduce((w,B)=>{let A,V=Z.get(B);if(V)A=V;else A=d(B),Z.set(B,A);for(let X=A.length-1;X>=0;X--){let _=A[X];if(_.filename){w[_.filename]=G[B];break}}return w},{});try{I.exception.values.forEach((w)=>{w.stacktrace.frames.forEach((B)=>{if(B.filename)B.debug_id=W[B.filename]})})}catch(w){}}function of1(I){let d={};try{I.exception.values.forEach((Z)=>{Z.stacktrace.frames.forEach((C)=>{if(C.debug_id){if(C.abs_path)d[C.abs_path]=C.debug_id;else if(C.filename)d[C.filename]=C.debug_id;delete C.debug_id}})})}catch(Z){}if(Object.keys(d).length===0)return;I.debug_meta=I.debug_meta||{},I.debug_meta.images=I.debug_meta.images||[];let G=I.debug_meta.images;Object.keys(d).forEach((Z)=>{G.push({type:"sourcemap",code_file:Z,debug_id:d[Z]})})}function qO2(I,d){if(d.length>0)I.sdk=I.sdk||{},I.sdk.integrations=[...I.sdk.integrations||[],...d]}function RO2(I,d,G){if(!I)return null;let Z={...I,...I.breadcrumbs&&{breadcrumbs:I.breadcrumbs.map((C)=>({...C,...C.data&&{data:jd.normalize(C.data,d,G)}}))},...I.user&&{user:jd.normalize(I.user,d,G)},...I.contexts&&{contexts:jd.normalize(I.contexts,d,G)},...I.extra&&{extra:jd.normalize(I.extra,d,G)}};if(I.contexts&&I.contexts.trace&&Z.contexts){if(Z.contexts.trace=I.contexts.trace,I.contexts.trace.data)Z.contexts.trace.data=jd.normalize(I.contexts.trace.data,d,G)}if(I.spans)Z.spans=I.spans.map((C)=>{let W=zO2.spanToJSON(C).data;if(W)C.data=jd.normalize(W,d,G);return C});return Z}function UO2(I,d){if(!d)return I;let G=I?I.clone():new Z11.Scope;return G.update(d),G}function vO2(I){if(!I)return;if(EO2(I))return{captureContext:I};if(SO2(I))return{captureContext:I};return I}function EO2(I){return I instanceof Z11.Scope||typeof I==="function"}var MO2=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function SO2(I){return Object.keys(I).some((d)=>MO2.includes(d))}ef1.applyDebugIds=sf1;ef1.applyDebugMeta=of1;ef1.parseEventHintOrCaptureContext=vO2;ef1.prepareEvent=QO2});var iG=Y((dq1)=>{Object.defineProperty(dq1,"__esModule",{value:!0});var qA=V0(),uO2=AN(),SO=F6(),I6=ww(),C11=VN(),TO2=vO();function OO2(I,d){return I6.getCurrentHub().captureException(I,TO2.parseEventHintOrCaptureContext(d))}function mO2(I,d){let G=typeof d==="string"?d:void 0,Z=typeof d!=="string"?{captureContext:d}:void 0;return I6.getCurrentHub().captureMessage(I,G,Z)}function lO2(I,d){return I6.getCurrentHub().captureEvent(I,d)}function bO2(I){I6.getCurrentHub().configureScope(I)}function hO2(I,d){I6.getCurrentHub().addBreadcrumb(I,d)}function jO2(I,d){I6.getCurrentHub().setContext(I,d)}function kO2(I){I6.getCurrentHub().setExtras(I)}function xO2(I,d){I6.getCurrentHub().setExtra(I,d)}function cO2(I){I6.getCurrentHub().setTags(I)}function pO2(I,d){I6.getCurrentHub().setTag(I,d)}function iO2(I){I6.getCurrentHub().setUser(I)}function tf1(...I){let d=I6.getCurrentHub();if(I.length===2){let[G,Z]=I;if(!G)return d.withScope(Z);return d.withScope(()=>{return d.getStackTop().scope=G,Z(G)})}return d.withScope(I[0])}function nO2(I){return I6.runWithAsyncContext(()=>{return I(I6.getIsolationScope())})}function rO2(I,d){return tf1((G)=>{return G.setSpan(I),d(G)})}function aO2(I,d){return I6.getCurrentHub().startTransaction({...I},d)}function W11(I,d){let G=uv(),Z=DF();if(!Z)SO.DEBUG_BUILD&&qA.logger.warn("Cannot capture check-in. No client defined.");else if(!Z.captureCheckIn)SO.DEBUG_BUILD&&qA.logger.warn("Cannot capture check-in. Client does not support sending check-ins.");else return Z.captureCheckIn(I,d,G);return qA.uuid4()}function sO2(I,d,G){let Z=W11({monitorSlug:I,status:"in_progress"},G),C=qA.timestampInSeconds();function W(B){W11({monitorSlug:I,status:B,checkInId:Z,duration:qA.timestampInSeconds()-C})}let w;try{w=d()}catch(B){throw W("error"),B}if(qA.isThenable(w))Promise.resolve(w).then(()=>{W("ok")},()=>{W("error")});else W("ok");return w}async function oO2(I){let d=DF();if(d)return d.flush(I);return SO.DEBUG_BUILD&&qA.logger.warn("Cannot flush events. No client defined."),Promise.resolve(!1)}async function eO2(I){let d=DF();if(d)return d.close(I);return SO.DEBUG_BUILD&&qA.logger.warn("Cannot flush events and disable SDK. No client defined."),Promise.resolve(!1)}function tO2(){return I6.getCurrentHub().lastEventId()}function DF(){return I6.getCurrentHub().getClient()}function Im2(){return!!DF()}function uv(){return I6.getCurrentHub().getScope()}function dm2(I){let d=DF(),G=I6.getIsolationScope(),Z=uv(),{release:C,environment:W=uO2.DEFAULT_ENVIRONMENT}=d&&d.getOptions()||{},{userAgent:w}=qA.GLOBAL_OBJ.navigator||{},B=C11.makeSession({release:C,environment:W,user:Z.getUser()||G.getUser(),...w&&{userAgent:w},...I}),A=G.getSession();if(A&&A.status==="ok")C11.updateSession(A,{status:"exited"});return w11(),G.setSession(B),Z.setSession(B),B}function w11(){let I=I6.getIsolationScope(),d=uv(),G=d.getSession()||I.getSession();if(G)C11.closeSession(G);Iq1(),I.setSession(),d.setSession()}function Iq1(){let I=I6.getIsolationScope(),d=uv(),G=DF(),Z=d.getSession()||I.getSession();if(Z&&G&&G.captureSession)G.captureSession(Z)}function Gm2(I=!1){if(I){w11();return}Iq1()}dq1.addBreadcrumb=hO2;dq1.captureCheckIn=W11;dq1.captureEvent=lO2;dq1.captureException=OO2;dq1.captureMessage=mO2;dq1.captureSession=Gm2;dq1.close=eO2;dq1.configureScope=bO2;dq1.endSession=w11;dq1.flush=oO2;dq1.getClient=DF;dq1.getCurrentScope=uv;dq1.isInitialized=Im2;dq1.lastEventId=tO2;dq1.setContext=jO2;dq1.setExtra=xO2;dq1.setExtras=kO2;dq1.setTag=pO2;dq1.setTags=cO2;dq1.setUser=iO2;dq1.startSession=dm2;dq1.startTransaction=aO2;dq1.withActiveSpan=rO2;dq1.withIsolationScope=nO2;dq1.withMonitor=sO2;dq1.withScope=tf1});var XN=Y((Gq1)=>{Object.defineProperty(Gq1,"__esModule",{value:!0});function Sm2(I){return I.transaction}Gq1.getRootSpan=Sm2});var HF=Y((Wq1)=>{Object.defineProperty(Wq1,"__esModule",{value:!0});var ym2=V0(),Pm2=AN(),Zq1=iG(),$m2=XN(),B11=kI();function Cq1(I,d,G){let Z=d.getOptions(),{publicKey:C}=d.getDsn()||{},{segment:W}=G&&G.getUser()||{},w=ym2.dropUndefinedKeys({environment:Z.environment||Pm2.DEFAULT_ENVIRONMENT,release:Z.release,user_segment:W,public_key:C,trace_id:I});return d.emit&&d.emit("createDsc",w),w}function um2(I){let d=Zq1.getClient();if(!d)return{};let G=Cq1(B11.spanToJSON(I).trace_id||"",d,Zq1.getCurrentScope()),Z=$m2.getRootSpan(I);if(!Z)return G;let C=Z&&Z._frozenDynamicSamplingContext;if(C)return C;let{sampleRate:W,source:w}=Z.metadata;if(W!=null)G.sample_rate=`${W}`;let B=B11.spanToJSON(Z);if(w&&w!=="url")G.transaction=B.description;return G.sampled=String(B11.spanIsSampled(Z)),d.emit&&d.emit("createDsc",G),G}Wq1.getDynamicSamplingContextFromClient=Cq1;Wq1.getDynamicSamplingContextFromSpan=um2});var EO=Y((Bq1)=>{Object.defineProperty(Bq1,"__esModule",{value:!0});var Tv=V0(),mm2=HF(),lm2=XN(),wq1=kI();function bm2(I,d){let{fingerprint:G,span:Z,breadcrumbs:C,sdkProcessingMetadata:W}=d;if(jm2(I,d),Z)cm2(I,Z);pm2(I,G),km2(I,C),xm2(I,W)}function hm2(I,d){let{extra:G,tags:Z,user:C,contexts:W,level:w,sdkProcessingMetadata:B,breadcrumbs:A,fingerprint:V,eventProcessors:X,attachments:_,propagationContext:F,transactionName:g,span:J}=d;if(YN(I,"extra",G),YN(I,"tags",Z),YN(I,"user",C),YN(I,"contexts",W),YN(I,"sdkProcessingMetadata",B),w)I.level=w;if(g)I.transactionName=g;if(J)I.span=J;if(A.length)I.breadcrumbs=[...I.breadcrumbs,...A];if(V.length)I.fingerprint=[...I.fingerprint,...V];if(X.length)I.eventProcessors=[...I.eventProcessors,...X];if(_.length)I.attachments=[...I.attachments,..._];I.propagationContext={...I.propagationContext,...F}}function YN(I,d,G){if(G&&Object.keys(G).length){I[d]={...I[d]};for(let Z in G)if(Object.prototype.hasOwnProperty.call(G,Z))I[d][Z]=G[Z]}}function jm2(I,d){let{extra:G,tags:Z,user:C,contexts:W,level:w,transactionName:B}=d,A=Tv.dropUndefinedKeys(G);if(A&&Object.keys(A).length)I.extra={...A,...I.extra};let V=Tv.dropUndefinedKeys(Z);if(V&&Object.keys(V).length)I.tags={...V,...I.tags};let X=Tv.dropUndefinedKeys(C);if(X&&Object.keys(X).length)I.user={...X,...I.user};let _=Tv.dropUndefinedKeys(W);if(_&&Object.keys(_).length)I.contexts={..._,...I.contexts};if(w)I.level=w;if(B)I.transaction=B}function km2(I,d){let G=[...I.breadcrumbs||[],...d];I.breadcrumbs=G.length?G:void 0}function xm2(I,d){I.sdkProcessingMetadata={...I.sdkProcessingMetadata,...d}}function cm2(I,d){I.contexts={trace:wq1.spanToTraceContext(d),...I.contexts};let G=lm2.getRootSpan(d);if(G){I.sdkProcessingMetadata={dynamicSamplingContext:mm2.getDynamicSamplingContextFromSpan(d),...I.sdkProcessingMetadata};let Z=wq1.spanToJSON(G).description;if(Z)I.tags={transaction:Z,...I.tags}}}function pm2(I,d){if(I.fingerprint=I.fingerprint?Tv.arrayify(I.fingerprint):[],d)I.fingerprint=I.fingerprint.concat(d);if(I.fingerprint&&!I.fingerprint.length)delete I.fingerprint}Bq1.applyScopeDataToEvent=bm2;Bq1.mergeAndOverwriteScopeData=YN;Bq1.mergeScopeData=hm2});var MO=Y((Xq1)=>{Object.defineProperty(Xq1,"__esModule",{value:!0});var Bw=V0(),Aq1=Pv(),am2=VN(),sm2=EO(),om2=100,LO;class _N{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=Vq1()}static clone(I){return I?I.clone():new _N}clone(){let I=new _N;return I._breadcrumbs=[...this._breadcrumbs],I._tags={...this._tags},I._extra={...this._extra},I._contexts={...this._contexts},I._user=this._user,I._level=this._level,I._span=this._span,I._session=this._session,I._transactionName=this._transactionName,I._fingerprint=this._fingerprint,I._eventProcessors=[...this._eventProcessors],I._requestSession=this._requestSession,I._attachments=[...this._attachments],I._sdkProcessingMetadata={...this._sdkProcessingMetadata},I._propagationContext={...this._propagationContext},I._client=this._client,I}setClient(I){this._client=I}getClient(){return this._client}addScopeListener(I){this._scopeListeners.push(I)}addEventProcessor(I){return this._eventProcessors.push(I),this}setUser(I){if(this._user=I||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session)am2.updateSession(this._session,{user:I});return this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(I){return this._requestSession=I,this}setTags(I){return this._tags={...this._tags,...I},this._notifyScopeListeners(),this}setTag(I,d){return this._tags={...this._tags,[I]:d},this._notifyScopeListeners(),this}setExtras(I){return this._extra={...this._extra,...I},this._notifyScopeListeners(),this}setExtra(I,d){return this._extra={...this._extra,[I]:d},this._notifyScopeListeners(),this}setFingerprint(I){return this._fingerprint=I,this._notifyScopeListeners(),this}setLevel(I){return this._level=I,this._notifyScopeListeners(),this}setTransactionName(I){return this._transactionName=I,this._notifyScopeListeners(),this}setContext(I,d){if(d===null)delete this._contexts[I];else this._contexts[I]=d;return this._notifyScopeListeners(),this}setSpan(I){return this._span=I,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let I=this._span;return I&&I.transaction}setSession(I){if(!I)delete this._session;else this._session=I;return this._notifyScopeListeners(),this}getSession(){return this._session}update(I){if(!I)return this;let d=typeof I==="function"?I(this):I;if(d instanceof _N){let G=d.getScopeData();if(this._tags={...this._tags,...G.tags},this._extra={...this._extra,...G.extra},this._contexts={...this._contexts,...G.contexts},G.user&&Object.keys(G.user).length)this._user=G.user;if(G.level)this._level=G.level;if(G.fingerprint.length)this._fingerprint=G.fingerprint;if(d.getRequestSession())this._requestSession=d.getRequestSession();if(G.propagationContext)this._propagationContext=G.propagationContext}else if(Bw.isPlainObject(d)){let G=I;if(this._tags={...this._tags,...G.tags},this._extra={...this._extra,...G.extra},this._contexts={...this._contexts,...G.contexts},G.user)this._user=G.user;if(G.level)this._level=G.level;if(G.fingerprint)this._fingerprint=G.fingerprint;if(G.requestSession)this._requestSession=G.requestSession;if(G.propagationContext)this._propagationContext=G.propagationContext}return this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this._propagationContext=Vq1(),this}addBreadcrumb(I,d){let G=typeof d==="number"?d:om2;if(G<=0)return this;let Z={timestamp:Bw.dateTimestampInSeconds(),...I},C=this._breadcrumbs;return C.push(Z),this._breadcrumbs=C.length>G?C.slice(-G):C,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(I){return this._attachments.push(I),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:I,_attachments:d,_contexts:G,_tags:Z,_extra:C,_user:W,_level:w,_fingerprint:B,_eventProcessors:A,_propagationContext:V,_sdkProcessingMetadata:X,_transactionName:_,_span:F}=this;return{breadcrumbs:I,attachments:d,contexts:G,tags:Z,extra:C,user:W,level:w,fingerprint:B||[],eventProcessors:A,propagationContext:V,sdkProcessingMetadata:X,transactionName:_,span:F}}applyToEvent(I,d={},G=[]){sm2.applyScopeDataToEvent(I,this.getScopeData());let Z=[...G,...Aq1.getGlobalEventProcessors(),...this._eventProcessors];return Aq1.notifyEventProcessors(Z,I,d)}setSDKProcessingMetadata(I){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...I},this}setPropagationContext(I){return this._propagationContext=I,this}getPropagationContext(){return this._propagationContext}captureException(I,d){let G=d&&d.event_id?d.event_id:Bw.uuid4();if(!this._client)return Bw.logger.warn("No client configured on scope - will not capture exception!"),G;let Z=new Error("Sentry syntheticException");return this._client.captureException(I,{originalException:I,syntheticException:Z,...d,event_id:G},this),G}captureMessage(I,d,G){let Z=G&&G.event_id?G.event_id:Bw.uuid4();if(!this._client)return Bw.logger.warn("No client configured on scope - will not capture message!"),Z;let C=new Error(I);return this._client.captureMessage(I,d,{originalException:I,syntheticException:C,...G,event_id:Z},this),Z}captureEvent(I,d){let G=d&&d.event_id?d.event_id:Bw.uuid4();if(!this._client)return Bw.logger.warn("No client configured on scope - will not capture event!"),G;return this._client.captureEvent(I,{...d,event_id:G},this),G}_notifyScopeListeners(){if(!this._notifyingListeners)this._notifyingListeners=!0,this._scopeListeners.forEach((I)=>{I(this)}),this._notifyingListeners=!1}}function em2(){if(!LO)LO=new _N;return LO}function tm2(I){LO=I}function Vq1(){return{traceId:Bw.uuid4(),spanId:Bw.uuid4().substring(16)}}Xq1.Scope=_N;Xq1.getGlobalScope=em2;Xq1.setGlobalScope=tm2});var yO=Y((Yq1)=>{Object.defineProperty(Yq1,"__esModule",{value:!0});var Zl2="7.120.0";Yq1.SDK_VERSION=Zl2});var ww=Y((gq1)=>{Object.defineProperty(gq1,"__esModule",{value:!0});var s7=V0(),Wl2=AN(),A11=F6(),_q1=MO(),V11=VN(),wl2=yO(),PO=parseFloat(wl2.SDK_VERSION),Bl2=100;class mv{constructor(I,d,G,Z=PO){this._version=Z;let C;if(!d)C=new _q1.Scope,C.setClient(I);else C=d;let W;if(!G)W=new _q1.Scope,W.setClient(I);else W=G;if(this._stack=[{scope:C}],I)this.bindClient(I);this._isolationScope=W}isOlderThan(I){return this._version<I}bindClient(I){let d=this.getStackTop();if(d.client=I,d.scope.setClient(I),I&&I.setupIntegrations)I.setupIntegrations()}pushScope(){let I=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:I}),I}popScope(){if(this.getStack().length<=1)return!1;return!!this.getStack().pop()}withScope(I){let d=this.pushScope(),G;try{G=I(d)}catch(Z){throw this.popScope(),Z}if(s7.isThenable(G))return G.then((Z)=>{return this.popScope(),Z},(Z)=>{throw this.popScope(),Z});return this.popScope(),G}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(I,d){let G=this._lastEventId=d&&d.event_id?d.event_id:s7.uuid4(),Z=new Error("Sentry syntheticException");return this.getScope().captureException(I,{originalException:I,syntheticException:Z,...d,event_id:G}),G}captureMessage(I,d,G){let Z=this._lastEventId=G&&G.event_id?G.event_id:s7.uuid4(),C=new Error(I);return this.getScope().captureMessage(I,d,{originalException:I,syntheticException:C,...G,event_id:Z}),Z}captureEvent(I,d){let G=d&&d.event_id?d.event_id:s7.uuid4();if(!I.type)this._lastEventId=G;return this.getScope().captureEvent(I,{...d,event_id:G}),G}lastEventId(){return this._lastEventId}addBreadcrumb(I,d){let{scope:G,client:Z}=this.getStackTop();if(!Z)return;let{beforeBreadcrumb:C=null,maxBreadcrumbs:W=Bl2}=Z.getOptions&&Z.getOptions()||{};if(W<=0)return;let B={timestamp:s7.dateTimestampInSeconds(),...I},A=C?s7.consoleSandbox(()=>C(B,d)):B;if(A===null)return;if(Z.emit)Z.emit("beforeAddBreadcrumb",A,d);G.addBreadcrumb(A,W)}setUser(I){this.getScope().setUser(I),this.getIsolationScope().setUser(I)}setTags(I){this.getScope().setTags(I),this.getIsolationScope().setTags(I)}setExtras(I){this.getScope().setExtras(I),this.getIsolationScope().setExtras(I)}setTag(I,d){this.getScope().setTag(I,d),this.getIsolationScope().setTag(I,d)}setExtra(I,d){this.getScope().setExtra(I,d),this.getIsolationScope().setExtra(I,d)}setContext(I,d){this.getScope().setContext(I,d),this.getIsolationScope().setContext(I,d)}configureScope(I){let{scope:d,client:G}=this.getStackTop();if(G)I(d)}run(I){let d=X11(this);try{I(this)}finally{X11(d)}}getIntegration(I){let d=this.getClient();if(!d)return null;try{return d.getIntegration(I)}catch(G){return A11.DEBUG_BUILD&&s7.logger.warn(`Cannot retrieve integration ${I.id} from the current Hub`),null}}startTransaction(I,d){let G=this._callExtensionMethod("startTransaction",I,d);if(A11.DEBUG_BUILD&&!G)if(!this.getClient())s7.logger.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'");else s7.logger.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':
Sentry.addTracingExtensions();
Sentry.init({...});
`);return G}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(I=!1){if(I)return this.endSession();this._sendSessionUpdate()}endSession(){let d=this.getStackTop().scope,G=d.getSession();if(G)V11.closeSession(G);this._sendSessionUpdate(),d.setSession()}startSession(I){let{scope:d,client:G}=this.getStackTop(),{release:Z,environment:C=Wl2.DEFAULT_ENVIRONMENT}=G&&G.getOptions()||{},{userAgent:W}=s7.GLOBAL_OBJ.navigator||{},w=V11.makeSession({release:Z,environment:C,user:d.getUser(),...W&&{userAgent:W},...I}),B=d.getSession&&d.getSession();if(B&&B.status==="ok")V11.updateSession(B,{status:"exited"});return this.endSession(),d.setSession(w),w}shouldSendDefaultPii(){let I=this.getClient(),d=I&&I.getOptions();return Boolean(d&&d.sendDefaultPii)}_sendSessionUpdate(){let{scope:I,client:d}=this.getStackTop(),G=I.getSession();if(G&&d&&d.captureSession)d.captureSession(G)}_callExtensionMethod(I,...d){let Z=FF().__SENTRY__;if(Z&&Z.extensions&&typeof Z.extensions[I]==="function")return Z.extensions[I].apply(this,d);A11.DEBUG_BUILD&&s7.logger.warn(`Extension method ${I} couldn't be found, doing nothing.`)}}function FF(){return s7.GLOBAL_OBJ.__SENTRY__=s7.GLOBAL_OBJ.__SENTRY__||{extensions:{},hub:void 0},s7.GLOBAL_OBJ}function X11(I){let d=FF(),G=Ov(d);return $O(d,I),G}function Dq1(){let I=FF();if(I.__SENTRY__&&I.__SENTRY__.acs){let d=I.__SENTRY__.acs.getCurrentHub();if(d)return d}return Hq1(I)}function Al2(){return Dq1().getIsolationScope()}function Hq1(I=FF()){if(!Fq1(I)||Ov(I).isOlderThan(PO))$O(I,new mv);return Ov(I)}function Vl2(I,d=Hq1()){if(!Fq1(I)||Ov(I).isOlderThan(PO)){let G=d.getClient(),Z=d.getScope(),C=d.getIsolationScope();$O(I,new mv(G,Z.clone(),C.clone()))}}function Xl2(I){let d=FF();d.__SENTRY__=d.__SENTRY__||{},d.__SENTRY__.acs=I}function Yl2(I,d={}){let G=FF();if(G.__SENTRY__&&G.__SENTRY__.acs)return G.__SENTRY__.acs.runWithAsyncContext(I,d);return I()}function Fq1(I){return!!(I&&I.__SENTRY__&&I.__SENTRY__.hub)}function Ov(I){return s7.getGlobalSingleton("hub",()=>new mv,I)}function $O(I,d){if(!I)return!1;let G=I.__SENTRY__=I.__SENTRY__||{};return G.hub=d,!0}gq1.API_VERSION=PO;gq1.Hub=mv;gq1.ensureHubOnCarrier=Vl2;gq1.getCurrentHub=Dq1;gq1.getHubFromCarrier=Ov;gq1.getIsolationScope=Al2;gq1.getMainCarrier=FF;gq1.makeMain=X11;gq1.runWithAsyncContext=Yl2;gq1.setAsyncContextStrategy=Xl2;gq1.setHubOnCarrier=$O});var uO=Y((Kq1)=>{Object.defineProperty(Kq1,"__esModule",{value:!0});var Jq1=V0(),ql2=ww();function Rl2(I){return(I||ql2.getCurrentHub()).getScope().getTransaction()}var Ul2=Jq1.extractTraceparentData;Kq1.stripUrlQueryAndFragment=Jq1.stripUrlQueryAndFragment;Kq1.extractTraceparentData=Ul2;Kq1.getActiveTransaction=Rl2});var TO=Y((zq1)=>{Object.defineProperty(zq1,"__esModule",{value:!0});var Y11=V0(),Sl2=F6(),Ll2=uO(),Nq1=!1;function yl2(){if(Nq1)return;Nq1=!0,Y11.addGlobalErrorInstrumentationHandler(_11),Y11.addGlobalUnhandledRejectionInstrumentationHandler(_11)}function _11(){let I=Ll2.getActiveTransaction();if(I)Sl2.DEBUG_BUILD&&Y11.logger.log("[Tracing] Transaction: internal_error -> Global error occured"),I.setStatus("internal_error")}_11.tag="sentry_tracingErrorCallback";zq1.registerErrorInstrumentation=yl2});var DN=Y((Qq1)=>{Object.defineProperty(Qq1,"__esModule",{value:!0});Qq1.SpanStatus=void 0;(function(I){I.Ok="ok";let G="deadline_exceeded";I.DeadlineExceeded=G;let Z="unauthenticated";I.Unauthenticated=Z;let C="permission_denied";I.PermissionDenied=C;let W="not_found";I.NotFound=W;let w="resource_exhausted";I.ResourceExhausted=w;let B="invalid_argument";I.InvalidArgument=B;let A="unimplemented";I.Unimplemented=A;let V="unavailable";I.Unavailable=V;let X="internal_error";I.InternalError=X;let _="unknown_error";I.UnknownError=_;let F="cancelled";I.Cancelled=F;let g="already_exists";I.AlreadyExists=g;let J="failed_precondition";I.FailedPrecondition=J;let K="aborted";I.Aborted=K;let Q="out_of_range";I.OutOfRange=Q;let E="data_loss";I.DataLoss=E})(Qq1.SpanStatus||(Qq1.SpanStatus={}));function H11(I){if(I<400&&I>=100)return"ok";if(I>=400&&I<500)switch(I){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(I>=500&&I<600)switch(I){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}var $l2=H11;function ul2(I,d){I.setTag("http.status_code",String(d)),I.setData("http.response.status_code",d);let G=H11(d);if(G!=="unknown_error")I.setStatus(G)}Qq1.getSpanStatusFromHttpCode=H11;Qq1.setHttpStatus=ul2;Qq1.spanStatusfromHttpCode=$l2});var F11=Y((fq1)=>{Object.defineProperty(fq1,"__esModule",{value:!0});var ll2=V0();function bl2(I,d,G=()=>{}){let Z;try{Z=I()}catch(C){throw d(C),G(),C}return hl2(Z,d,G)}function hl2(I,d,G){if(ll2.isThenable(I))return I.then((Z)=>{return G(),Z},(Z)=>{throw d(Z),G(),Z});return G(),I}fq1.handleCallbackErrors=bl2});var OO=Y((qq1)=>{Object.defineProperty(qq1,"__esModule",{value:!0});var kl2=iG();function xl2(I){if(typeof __SENTRY_TRACING__==="boolean"&&!__SENTRY_TRACING__)return!1;let d=kl2.getClient(),G=I||d&&d.getOptions();return!!G&&(G.enableTracing||("tracesSampleRate"in G)||("tracesSampler"in G))}qq1.hasTracingEnabled=xl2});var hO=Y((Sq1)=>{Object.defineProperty(Sq1,"__esModule",{value:!0});var lv=V0(),pl2=F6(),pX=ww(),mO=kI();TO();DN();var il2=HF(),HN=iG(),g11=F11(),Rq1=OO();function nl2(I,d,G=()=>{},Z=()=>{}){let C=pX.getCurrentHub(),W=HN.getCurrentScope(),w=W.getSpan(),B=bO(I),A=lO(C,{parentSpan:w,spanContext:B,forceTransaction:!1,scope:W});return W.setSpan(A),g11.handleCallbackErrors(()=>d(A),(V)=>{A&&A.setStatus("internal_error"),G(V,A)},()=>{A&&A.end(),W.setSpan(w),Z()})}function Uq1(I,d){let G=bO(I);return pX.runWithAsyncContext(()=>{return HN.withScope(I.scope,(Z)=>{let C=pX.getCurrentHub(),W=Z.getSpan(),B=I.onlyIfParent&&!W?void 0:lO(C,{parentSpan:W,spanContext:G,forceTransaction:I.forceTransaction,scope:Z});return g11.handleCallbackErrors(()=>d(B),()=>{if(B){let{status:A}=mO.spanToJSON(B);if(!A||A==="ok")B.setStatus("internal_error")}},()=>B&&B.end())})})}var rl2=Uq1;function al2(I,d){let G=bO(I);return pX.runWithAsyncContext(()=>{return HN.withScope(I.scope,(Z)=>{let C=pX.getCurrentHub(),W=Z.getSpan(),B=I.onlyIfParent&&!W?void 0:lO(C,{parentSpan:W,spanContext:G,forceTransaction:I.forceTransaction,scope:Z});function A(){B&&B.end()}return g11.handleCallbackErrors(()=>d(B,A),()=>{if(B&&B.isRecording()){let{status:V}=mO.spanToJSON(B);if(!V||V==="ok")B.setStatus("internal_error")}})})})}function sl2(I){if(!Rq1.hasTracingEnabled())return;let d=bO(I),G=pX.getCurrentHub(),Z=I.scope?I.scope.getSpan():vq1();if(I.onlyIfParent&&!Z)return;let w=(I.scope||HN.getCurrentScope()).clone();return lO(G,{parentSpan:Z,spanContext:d,forceTransaction:I.forceTransaction,scope:w})}function vq1(){return HN.getCurrentScope().getSpan()}var ol2=({sentryTrace:I,baggage:d},G)=>{let Z=HN.getCurrentScope(),{traceparentData:C,dynamicSamplingContext:W,propagationContext:w}=lv.tracingContextFromHeaders(I,d);if(Z.setPropagationContext(w),pl2.DEBUG_BUILD&&C)lv.logger.log(`[Tracing] Continuing trace ${C.traceId}.`);let B={...C,metadata:lv.dropUndefinedKeys({dynamicSamplingContext:W})};if(!G)return B;return pX.runWithAsyncContext(()=>{return G(B)})};function lO(I,{parentSpan:d,spanContext:G,forceTransaction:Z,scope:C}){if(!Rq1.hasTracingEnabled())return;let W=pX.getIsolationScope(),w;if(d&&!Z)w=d.startChild(G);else if(d){let B=il2.getDynamicSamplingContextFromSpan(d),{traceId:A,spanId:V}=d.spanContext(),X=mO.spanIsSampled(d);w=I.startTransaction({traceId:A,parentSpanId:V,parentSampled:X,...G,metadata:{dynamicSamplingContext:B,...G.metadata}})}else{let{traceId:B,dsc:A,parentSpanId:V,sampled:X}={...W.getPropagationContext(),...C.getPropagationContext()};w=I.startTransaction({traceId:B,parentSpanId:V,parentSampled:X,...G,metadata:{dynamicSamplingContext:A,...G.metadata}})}return C.setSpan(w),el2(w,C,W),w}function bO(I){if(I.startTime){let d={...I};return d.startTimestamp=mO.spanTimeInputToSeconds(I.startTime),delete d.startTime,d}return I}var Eq1="_sentryScope",Mq1="_sentryIsolationScope";function el2(I,d,G){if(I)lv.addNonEnumerableProperty(I,Mq1,G),lv.addNonEnumerableProperty(I,Eq1,d)}function tl2(I){return{scope:I[Eq1],isolationScope:I[Mq1]}}Sq1.continueTrace=ol2;Sq1.getActiveSpan=vq1;Sq1.getCapturedScopesOnSpan=tl2;Sq1.startActiveSpan=rl2;Sq1.startInactiveSpan=sl2;Sq1.startSpan=Uq1;Sq1.startSpanManual=al2;Sq1.trace=nl2});var hv=Y((yq1)=>{Object.defineProperty(yq1,"__esModule",{value:!0});var Ab2=V0();F6();TO();DN();var Vb2=hO(),bv;function Lq1(I){return bv?bv.get(I):void 0}function Xb2(I){let d=Lq1(I);if(!d)return;let G={};for(let[,[Z,C]]of d){if(!G[Z])G[Z]=[];G[Z].push(Ab2.dropUndefinedKeys(C))}return G}function Yb2(I,d,G,Z,C,W){let w=Vb2.getActiveSpan();if(w){let B=Lq1(w)||new Map,A=`${I}:${d}@${Z}`,V=B.get(W);if(V){let[,X]=V;B.set(W,[A,{min:Math.min(X.min,G),max:Math.max(X.max,G),count:X.count+=1,sum:X.sum+=G,tags:X.tags}])}else B.set(W,[A,{min:G,max:G,count:1,sum:G,tags:C}]);if(!bv)bv=new WeakMap;bv.set(w,B)}}yq1.getMetricSummaryJsonForSpan=Xb2;yq1.updateMetricSummaryOnActiveSpan=Yb2});var jv=Y((Pq1)=>{Object.defineProperty(Pq1,"__esModule",{value:!0});var Hb2="sentry.source",Fb2="sentry.sample_rate",gb2="sentry.op",Jb2="sentry.origin",Kb2="profile_id";Pq1.SEMANTIC_ATTRIBUTE_PROFILE_ID=Kb2;Pq1.SEMANTIC_ATTRIBUTE_SENTRY_OP=gb2;Pq1.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=Jb2;Pq1.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=Fb2;Pq1.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=Hb2});var jO=Y((Oq1)=>{Object.defineProperty(Oq1,"__esModule",{value:!0});var gF=V0(),$q1=F6(),Rb2=hv(),RA=jv(),uq1=XN(),FN=kI(),Ub2=DN();class Tq1{constructor(I=1000){this._maxlen=I,this.spans=[]}add(I){if(this.spans.length>this._maxlen)I.spanRecorder=void 0;else this.spans.push(I)}}class J11{constructor(I={}){if(this._traceId=I.traceId||gF.uuid4(),this._spanId=I.spanId||gF.uuid4().substring(16),this._startTime=I.startTimestamp||gF.timestampInSeconds(),this.tags=I.tags?{...I.tags}:{},this.data=I.data?{...I.data}:{},this.instrumenter=I.instrumenter||"sentry",this._attributes={},this.setAttributes({[RA.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:I.origin||"manual",[RA.SEMANTIC_ATTRIBUTE_SENTRY_OP]:I.op,...I.attributes}),this._name=I.name||I.description,I.parentSpanId)this._parentSpanId=I.parentSpanId;if("sampled"in I)this._sampled=I.sampled;if(I.status)this._status=I.status;if(I.endTimestamp)this._endTime=I.endTimestamp;if(I.exclusiveTime!==void 0)this._exclusiveTime=I.exclusiveTime;this._measurements=I.measurements?{...I.measurements}:{}}get name(){return this._name||""}set name(I){this.updateName(I)}get description(){return this._name}set description(I){this._name=I}get traceId(){return this._traceId}set traceId(I){this._traceId=I}get spanId(){return this._spanId}set spanId(I){this._spanId=I}set parentSpanId(I){this._parentSpanId=I}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(I){this._sampled=I}get attributes(){return this._attributes}set attributes(I){this._attributes=I}get startTimestamp(){return this._startTime}set startTimestamp(I){this._startTime=I}get endTimestamp(){return this._endTime}set endTimestamp(I){this._endTime=I}get status(){return this._status}set status(I){this._status=I}get op(){return this._attributes[RA.SEMANTIC_ATTRIBUTE_SENTRY_OP]}set op(I){this.setAttribute(RA.SEMANTIC_ATTRIBUTE_SENTRY_OP,I)}get origin(){return this._attributes[RA.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]}set origin(I){this.setAttribute(RA.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN,I)}spanContext(){let{_spanId:I,_traceId:d,_sampled:G}=this;return{spanId:I,traceId:d,traceFlags:G?FN.TRACE_FLAG_SAMPLED:FN.TRACE_FLAG_NONE}}startChild(I){let d=new J11({...I,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});if(d.spanRecorder=this.spanRecorder,d.spanRecorder)d.spanRecorder.add(d);let G=uq1.getRootSpan(this);if(d.transaction=G,$q1.DEBUG_BUILD&&G){let Z=I&&I.op||"< unknown op >",C=FN.spanToJSON(d).description||"< unknown name >",W=G.spanContext().spanId,w=`[Tracing] Starting '${Z}' span on transaction '${C}' (${W}).`;gF.logger.log(w),this._logMessage=w}return d}setTag(I,d){return this.tags={...this.tags,[I]:d},this}setData(I,d){return this.data={...this.data,[I]:d},this}setAttribute(I,d){if(d===void 0)delete this._attributes[I];else this._attributes[I]=d}setAttributes(I){Object.keys(I).forEach((d)=>this.setAttribute(d,I[d]))}setStatus(I){return this._status=I,this}setHttpStatus(I){return Ub2.setHttpStatus(this,I),this}setName(I){this.updateName(I)}updateName(I){return this._name=I,this}isSuccess(){return this._status==="ok"}finish(I){return this.end(I)}end(I){if(this._endTime)return;let d=uq1.getRootSpan(this);if($q1.DEBUG_BUILD&&d&&d.spanContext().spanId!==this._spanId){let G=this._logMessage;if(G)gF.logger.log(G.replace("Starting","Finishing"))}this._endTime=FN.spanTimeInputToSeconds(I)}toTraceparent(){return FN.spanToTraceHeader(this)}toContext(){return gF.dropUndefinedKeys({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(I){return this.data=I.data||{},this._name=I.name||I.description,this._endTime=I.endTimestamp,this.op=I.op,this._parentSpanId=I.parentSpanId,this._sampled=I.sampled,this._spanId=I.spanId||this._spanId,this._startTime=I.startTimestamp||this._startTime,this._status=I.status,this.tags=I.tags||{},this._traceId=I.traceId||this._traceId,this}getTraceContext(){return FN.spanToTraceContext(this)}getSpanJSON(){return gF.dropUndefinedKeys({data:this._getData(),description:this._name,op:this._attributes[RA.SEMANTIC_ATTRIBUTE_SENTRY_OP],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[RA.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN],_metrics_summary:Rb2.getMetricSummaryJsonForSpan(this),profile_id:this._attributes[RA.SEMANTIC_ATTRIBUTE_PROFILE_ID],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:I,_attributes:d}=this,G=Object.keys(I).length>0,Z=Object.keys(d).length>0;if(!G&&!Z)return;if(G&&Z)return{...I,...d};return G?I:d}}Oq1.Span=J11;Oq1.SpanRecorder=Tq1});var cO=Y((hq1)=>{Object.defineProperty(hq1,"__esModule",{value:!0});var gN=V0(),kO=F6(),Mb2=ww(),Sb2=hv(),kv=jv(),xO=kI(),mq1=HF(),lq1=jO(),Lb2=hO();class bq1 extends lq1.Span{constructor(I,d){super(I);this._contexts={},this._hub=d||Mb2.getCurrentHub(),this._name=I.name||"",this._metadata={...I.metadata},this._trimEnd=I.trimEnd,this.transaction=this;let G=this._metadata.dynamicSamplingContext;if(G)this._frozenDynamicSamplingContext={...G}}get name(){return this._name}set name(I){this.setName(I)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[kv.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]&&{source:this._attributes[kv.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]},...this._attributes[kv.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]&&{sampleRate:this._attributes[kv.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]}}}set metadata(I){this._metadata=I}setName(I,d="custom"){this._name=I,this.setAttribute(kv.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,d)}updateName(I){return this._name=I,this}initSpanRecorder(I=1000){if(!this.spanRecorder)this.spanRecorder=new lq1.SpanRecorder(I);this.spanRecorder.add(this)}setContext(I,d){if(d===null)delete this._contexts[I];else this._contexts[I]=d}setMeasurement(I,d,G=""){this._measurements[I]={value:d,unit:G}}setMetadata(I){this._metadata={...this._metadata,...I}}end(I){let d=xO.spanTimeInputToSeconds(I),G=this._finishTransaction(d);if(!G)return;return this._hub.captureEvent(G)}toContext(){let I=super.toContext();return gN.dropUndefinedKeys({...I,name:this._name,trimEnd:this._trimEnd})}updateWithContext(I){return super.updateWithContext(I),this._name=I.name||"",this._trimEnd=I.trimEnd,this}getDynamicSamplingContext(){return mq1.getDynamicSamplingContextFromSpan(this)}setHub(I){this._hub=I}getProfileId(){if(this._contexts!==void 0&&this._contexts.profile!==void 0)return this._contexts.profile.profile_id;return}_finishTransaction(I){if(this._endTime!==void 0)return;if(!this._name)kO.DEBUG_BUILD&&gN.logger.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>";super.end(I);let d=this._hub.getClient();if(d&&d.emit)d.emit("finishTransaction",this);if(this._sampled!==!0){if(kO.DEBUG_BUILD&&gN.logger.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),d)d.recordDroppedEvent("sample_rate","transaction");return}let G=this.spanRecorder?this.spanRecorder.spans.filter((V)=>V!==this&&xO.spanToJSON(V).timestamp):[];if(this._trimEnd&&G.length>0){let V=G.map((X)=>xO.spanToJSON(X).timestamp).filter(Boolean);this._endTime=V.reduce((X,_)=>{return X>_?X:_})}let{scope:Z,isolationScope:C}=Lb2.getCapturedScopesOnSpan(this),{metadata:W}=this,{source:w}=W,B={contexts:{...this._contexts,trace:xO.spanToTraceContext(this)},spans:G,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...W,capturedSpanScope:Z,capturedSpanIsolationScope:C,...gN.dropUndefinedKeys({dynamicSamplingContext:mq1.getDynamicSamplingContextFromSpan(this)})},_metrics_summary:Sb2.getMetricSummaryJsonForSpan(this),...w&&{transaction_info:{source:w}}};if(Object.keys(this._measurements).length>0)kO.DEBUG_BUILD&&gN.logger.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),B.measurements=this._measurements;return kO.DEBUG_BUILD&&gN.logger.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),B}}hq1.Transaction=bq1});var N11=Y((kq1)=>{Object.defineProperty(kq1,"__esModule",{value:!0});var z7=V0(),xI=F6(),pO=kI(),Pb2=jO(),$b2=cO(),iO={idleTimeout:1000,finalTimeout:30000,heartbeatInterval:5000},ub2="finishReason",JN=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class K11 extends Pb2.SpanRecorder{constructor(I,d,G,Z){super(Z);this._pushActivity=I,this._popActivity=d,this.transactionSpanId=G}add(I){if(I.spanContext().spanId!==this.transactionSpanId){let d=I.end;if(I.end=(...G)=>{return this._popActivity(I.spanContext().spanId),d.apply(I,G)},pO.spanToJSON(I).timestamp===void 0)this._pushActivity(I.spanContext().spanId)}super.add(I)}}class jq1 extends $b2.Transaction{constructor(I,d,G=iO.idleTimeout,Z=iO.finalTimeout,C=iO.heartbeatInterval,W=!1,w=!1){super(I,d);if(this._idleHub=d,this._idleTimeout=G,this._finalTimeout=Z,this._heartbeatInterval=C,this._onScope=W,this.activities={},this._heartbeatCounter=0,this._finished=!1,this._idleTimeoutCanceledPermanently=!1,this._beforeFinishCallbacks=[],this._finishReason=JN[4],this._autoFinishAllowed=!w,W)xI.DEBUG_BUILD&&z7.logger.log(`Setting idle transaction on scope. Span ID: ${this.spanContext().spanId}`),d.getScope().setSpan(this);if(!w)this._restartIdleTimeout();setTimeout(()=>{if(!this._finished)this.setStatus("deadline_exceeded"),this._finishReason=JN[3],this.end()},this._finalTimeout)}end(I){let d=pO.spanTimeInputToSeconds(I);if(this._finished=!0,this.activities={},this.op==="ui.action.click")this.setAttribute(ub2,this._finishReason);if(this.spanRecorder){xI.DEBUG_BUILD&&z7.logger.log("[Tracing] finishing IdleTransaction",new Date(d*1000).toISOString(),this.op);for(let G of this._beforeFinishCallbacks)G(this,d);this.spanRecorder.spans=this.spanRecorder.spans.filter((G)=>{if(G.spanContext().spanId===this.spanContext().spanId)return!0;if(!pO.spanToJSON(G).timestamp)G.setStatus("cancelled"),G.end(d),xI.DEBUG_BUILD&&z7.logger.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(G,void 0,2));let{start_timestamp:Z,timestamp:C}=pO.spanToJSON(G),W=Z&&Z<d,w=(this._finalTimeout+this._idleTimeout)/1000,B=C&&Z&&C-Z<w;if(xI.DEBUG_BUILD){let A=JSON.stringify(G,void 0,2);if(!W)z7.logger.log("[Tracing] discarding Span since it happened after Transaction was finished",A);else if(!B)z7.logger.log("[Tracing] discarding Span since it finished after Transaction final timeout",A)}return W&&B}),xI.DEBUG_BUILD&&z7.logger.log("[Tracing] flushing IdleTransaction")}else xI.DEBUG_BUILD&&z7.logger.log("[Tracing] No active IdleTransaction");if(this._onScope){let G=this._idleHub.getScope();if(G.getTransaction()===this)G.setSpan(void 0)}return super.end(I)}registerBeforeFinishCallback(I){this._beforeFinishCallbacks.push(I)}initSpanRecorder(I){if(!this.spanRecorder){let d=(Z)=>{if(this._finished)return;this._pushActivity(Z)},G=(Z)=>{if(this._finished)return;this._popActivity(Z)};this.spanRecorder=new K11(d,G,this.spanContext().spanId,I),xI.DEBUG_BUILD&&z7.logger.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(I,{restartOnChildSpanChange:d}={restartOnChildSpanChange:!0}){if(this._idleTimeoutCanceledPermanently=d===!1,this._idleTimeoutID){if(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,Object.keys(this.activities).length===0&&this._idleTimeoutCanceledPermanently)this._finishReason=JN[5],this.end(I)}}setFinishReason(I){this._finishReason=I}sendAutoFinishSignal(){if(!this._autoFinishAllowed)xI.DEBUG_BUILD&&z7.logger.log("[Tracing] Received finish signal for idle transaction."),this._restartIdleTimeout(),this._autoFinishAllowed=!0}_restartIdleTimeout(I){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout(()=>{if(!this._finished&&Object.keys(this.activities).length===0)this._finishReason=JN[1],this.end(I)},this._idleTimeout)}_pushActivity(I){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),xI.DEBUG_BUILD&&z7.logger.log(`[Tracing] pushActivity: ${I}`),this.activities[I]=!0,xI.DEBUG_BUILD&&z7.logger.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(I){if(this.activities[I])xI.DEBUG_BUILD&&z7.logger.log(`[Tracing] popActivity ${I}`),delete this.activities[I],xI.DEBUG_BUILD&&z7.logger.log("[Tracing] new activities count",Object.keys(this.activities).length);if(Object.keys(this.activities).length===0){let d=z7.timestampInSeconds();if(this._idleTimeoutCanceledPermanently){if(this._autoFinishAllowed)this._finishReason=JN[5],this.end(d)}else this._restartIdleTimeout(d+this._idleTimeout/1000)}}_beat(){if(this._finished)return;let I=Object.keys(this.activities).join("");if(I===this._prevHeartbeatString)this._heartbeatCounter++;else this._heartbeatCounter=1;if(this._prevHeartbeatString=I,this._heartbeatCounter>=3){if(this._autoFinishAllowed)xI.DEBUG_BUILD&&z7.logger.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=JN[0],this.end()}else this._pingHeartbeat()}_pingHeartbeat(){xI.DEBUG_BUILD&&z7.logger.log(`pinging Heartbeat -> current counter: ${this._heartbeatCounter}`),setTimeout(()=>{this._beat()},this._heartbeatInterval)}}kq1.IdleTransaction=jq1;kq1.IdleTransactionSpanRecorder=K11;kq1.TRACING_DEFAULTS=iO});var z11=Y((cq1)=>{Object.defineProperty(cq1,"__esModule",{value:!0});var JF=V0(),KN=F6(),nO=jv(),lb2=OO(),bb2=kI();function hb2(I,d,G){if(!lb2.hasTracingEnabled(d))return I.sampled=!1,I;if(I.sampled!==void 0)return I.setAttribute(nO.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(I.sampled)),I;let Z;if(typeof d.tracesSampler==="function")Z=d.tracesSampler(G),I.setAttribute(nO.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(Z));else if(G.parentSampled!==void 0)Z=G.parentSampled;else if(typeof d.tracesSampleRate!=="undefined")Z=d.tracesSampleRate,I.setAttribute(nO.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Number(Z));else Z=1,I.setAttribute(nO.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE,Z);if(!xq1(Z))return KN.DEBUG_BUILD&&JF.logger.warn("[Tracing] Discarding transaction because of invalid sample rate."),I.sampled=!1,I;if(!Z)return KN.DEBUG_BUILD&&JF.logger.log(`[Tracing] Discarding transaction because ${typeof d.tracesSampler==="function"?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),I.sampled=!1,I;if(I.sampled=Math.random()<Z,!I.sampled)return KN.DEBUG_BUILD&&JF.logger.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(Z)})`),I;return KN.DEBUG_BUILD&&JF.logger.log(`[Tracing] starting ${I.op} transaction - ${bb2.spanToJSON(I).description}`),I}function xq1(I){if(JF.isNaN(I)||!(typeof I==="number"||typeof I==="boolean"))return KN.DEBUG_BUILD&&JF.logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(I)} of type ${JSON.stringify(typeof I)}.`),!1;if(I<0||I>1)return KN.DEBUG_BUILD&&JF.logger.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${I}.`),!1;return!0}cq1.isValidSampleRate=xq1;cq1.sampleTransaction=hb2});var Q11=Y((iq1)=>{Object.defineProperty(iq1,"__esModule",{value:!0});var xb2=V0(),cb2=F6(),pb2=ww(),ib2=kI(),nb2=TO(),rb2=N11(),pq1=z11(),ab2=cO();function sb2(){let d=this.getScope().getSpan();return d?{"sentry-trace":ib2.spanToTraceHeader(d)}:{}}function ob2(I,d){let G=this.getClient(),Z=G&&G.getOptions()||{},C=Z.instrumenter||"sentry",W=I.instrumenter||"sentry";if(C!==W)cb2.DEBUG_BUILD&&xb2.logger.error(`A transaction was started with instrumenter=\`${W}\`, but the SDK is configured with the \`${C}\` instrumenter.
The transaction will not be sampled. Please use the ${C} instrumentation to start transactions.`),I.sampled=!1;let w=new ab2.Transaction(I,this);if(w=pq1.sampleTransaction(w,Z,{name:I.name,parentSampled:I.parentSampled,transactionContext:I,attributes:{...I.data,...I.attributes},...d}),w.isRecording())w.initSpanRecorder(Z._experiments&&Z._experiments.maxSpans);if(G&&G.emit)G.emit("startTransaction",w);return w}function eb2(I,d,G,Z,C,W,w,B=!1){let A=I.getClient(),V=A&&A.getOptions()||{},X=new rb2.IdleTransaction(d,I,G,Z,w,C,B);if(X=pq1.sampleTransaction(X,V,{name:d.name,parentSampled:d.parentSampled,transactionContext:d,attributes:{...d.data,...d.attributes},...W}),X.isRecording())X.initSpanRecorder(V._experiments&&V._experiments.maxSpans);if(A&&A.emit)A.emit("startTransaction",X);return X}function tb2(){let I=pb2.getMainCarrier();if(!I.__SENTRY__)return;if(I.__SENTRY__.extensions=I.__SENTRY__.extensions||{},!I.__SENTRY__.extensions.startTransaction)I.__SENTRY__.extensions.startTransaction=ob2;if(!I.__SENTRY__.extensions.traceHeaders)I.__SENTRY__.extensions.traceHeaders=sb2;nb2.registerErrorInstrumentation()}iq1.addTracingExtensions=tb2;iq1.startIdleTransaction=eb2});var rq1=Y((nq1)=>{Object.defineProperty(nq1,"__esModule",{value:!0});var Gh2=uO();function Zh2(I,d,G){let Z=Gh2.getActiveTransaction();if(Z)Z.setMeasurement(I,d,G)}nq1.setMeasurement=Zh2});var f11=Y((aq1)=>{Object.defineProperty(aq1,"__esModule",{value:!0});var NN=V0();function Wh2(I,d){if(!d)return I;return I.sdk=I.sdk||{},I.sdk.name=I.sdk.name||d.name,I.sdk.version=I.sdk.version||d.version,I.sdk.integrations=[...I.sdk.integrations||[],...d.integrations||[]],I.sdk.packages=[...I.sdk.packages||[],...d.packages||[]],I}function wh2(I,d,G,Z){let C=NN.getSdkMetadataForEnvelopeHeader(G),W={sent_at:new Date().toISOString(),...C&&{sdk:C},...!!Z&&d&&{dsn:NN.dsnToString(d)}},w="aggregates"in I?[{type:"sessions"},I]:[{type:"session"},I.toJSON()];return NN.createEnvelope(W,[w])}function Bh2(I,d,G,Z){let C=NN.getSdkMetadataForEnvelopeHeader(G),W=I.type&&I.type!=="replay_event"?I.type:"event";Wh2(I,G&&G.sdk);let w=NN.createEventEnvelopeHeaders(I,C,Z,d);delete I.sdkProcessingMetadata;let B=[{type:W},I];return NN.createEnvelope(w,[B])}aq1.createEventEnvelope=Bh2;aq1.createSessionEnvelope=wh2});var q11=Y((oq1)=>{Object.defineProperty(oq1,"__esModule",{value:!0});var Xh2=V0(),Yh2=iG();class sq1{constructor(I,d){if(this._client=I,this.flushTimeout=60,this._pendingAggregates={},this._isEnabled=!0,this._intervalId=setInterval(()=>this.flush(),this.flushTimeout*1000),this._intervalId.unref)this._intervalId.unref();this._sessionAttrs=d}flush(){let I=this.getSessionAggregates();if(I.aggregates.length===0)return;this._pendingAggregates={},this._client.sendSession(I)}getSessionAggregates(){let I=Object.keys(this._pendingAggregates).map((G)=>{return this._pendingAggregates[parseInt(G)]}),d={attrs:this._sessionAttrs,aggregates:I};return Xh2.dropUndefinedKeys(d)}close(){clearInterval(this._intervalId),this._isEnabled=!1,this.flush()}incrementSessionStatusCount(){if(!this._isEnabled)return;let I=Yh2.getCurrentScope(),d=I.getRequestSession();if(d&&d.status)this._incrementSessionStatusCount(d.status,new Date),I.setRequestSession(void 0)}_incrementSessionStatusCount(I,d){let G=new Date(d).setSeconds(0,0);this._pendingAggregates[G]=this._pendingAggregates[G]||{};let Z=this._pendingAggregates[G];if(!Z.started)Z.started=new Date(G).toISOString();switch(I){case"errored":return Z.errored=(Z.errored||0)+1,Z.errored;case"ok":return Z.exited=(Z.exited||0)+1,Z.exited;default:return Z.crashed=(Z.crashed||0)+1,Z.crashed}}}oq1.SessionFlusher=sq1});var rO=Y((tq1)=>{Object.defineProperty(tq1,"__esModule",{value:!0});var R11=V0(),Dh2="7";function eq1(I){let d=I.protocol?`${I.protocol}:`:"",G=I.port?`:${I.port}`:"";return`${d}//${I.host}${G}${I.path?`/${I.path}`:""}/api/`}function Hh2(I){return`${eq1(I)}${I.projectId}/envelope/`}function Fh2(I,d){return R11.urlEncode({sentry_key:I.publicKey,sentry_version:Dh2,...d&&{sentry_client:`${d.name}/${d.version}`}})}function gh2(I,d={}){let G=typeof d==="string"?d:d.tunnel,Z=typeof d==="string"||!d._metadata?void 0:d._metadata.sdk;return G?G:`${Hh2(I)}?${Fh2(I,Z)}`}function Jh2(I,d){let G=R11.makeDsn(I);if(!G)return"";let Z=`${eq1(G)}embed/error-page/`,C=`dsn=${R11.dsnToString(G)}`;for(let W in d){if(W==="dsn")continue;if(W==="onClose")continue;if(W==="user"){let w=d.user;if(!w)continue;if(w.name)C+=`&name=${encodeURIComponent(w.name)}`;if(w.email)C+=`&email=${encodeURIComponent(w.email)}`}else C+=`&${encodeURIComponent(W)}=${encodeURIComponent(d[W])}`}return`${Z}?${C}`}tq1.getEnvelopeEndpointWithUrlEncodedAuth=gh2;tq1.getReportDialogEndpoint=Jh2});var UA=Y((dR1)=>{Object.defineProperty(dR1,"__esModule",{value:!0});var aO=V0(),U11=F6(),zh2=Pv(),Qh2=iG(),fh2=ww(),v11=[];function qh2(I){let d={};return I.forEach((G)=>{let{name:Z}=G,C=d[Z];if(C&&!C.isDefaultInstance&&G.isDefaultInstance)return;d[Z]=G}),Object.keys(d).map((G)=>d[G])}function Rh2(I){let d=I.defaultIntegrations||[],G=I.integrations;d.forEach((w)=>{w.isDefaultInstance=!0});let Z;if(Array.isArray(G))Z=[...d,...G];else if(typeof G==="function")Z=aO.arrayify(G(d));else Z=d;let C=qh2(Z),W=Mh2(C,(w)=>w.name==="Debug");if(W!==-1){let[w]=C.splice(W,1);C.push(w)}return C}function Uh2(I,d){let G={};return d.forEach((Z)=>{if(Z)IR1(I,Z,G)}),G}function vh2(I,d){for(let G of d)if(G&&G.afterAllSetup)G.afterAllSetup(I)}function IR1(I,d,G){if(G[d.name]){U11.DEBUG_BUILD&&aO.logger.log(`Integration skipped because it was already installed: ${d.name}`);return}if(G[d.name]=d,v11.indexOf(d.name)===-1)d.setupOnce(zh2.addGlobalEventProcessor,fh2.getCurrentHub),v11.push(d.name);if(d.setup&&typeof d.setup==="function")d.setup(I);if(I.on&&typeof d.preprocessEvent==="function"){let Z=d.preprocessEvent.bind(d);I.on("preprocessEvent",(C,W)=>Z(C,W,I))}if(I.addEventProcessor&&typeof d.processEvent==="function"){let Z=d.processEvent.bind(d),C=Object.assign((W,w)=>Z(W,w,I),{id:d.name});I.addEventProcessor(C)}U11.DEBUG_BUILD&&aO.logger.log(`Integration installed: ${d.name}`)}function Eh2(I){let d=Qh2.getClient();if(!d||!d.addIntegration){U11.DEBUG_BUILD&&aO.logger.warn(`Cannot add integration "${I.name}" because no SDK Client is available.`);return}d.addIntegration(I)}function Mh2(I,d){for(let G=0;G<I.length;G++)if(d(I[G])===!0)return G;return-1}function Sh2(I,d){return Object.assign(function G(...Z){return d(...Z)},{id:I})}function Lh2(I){return I}dR1.addIntegration=Eh2;dR1.afterSetupIntegrations=vh2;dR1.convertIntegrationFnToClass=Sh2;dR1.defineIntegration=Lh2;dR1.getIntegrationsToSetup=Rh2;dR1.installedIntegrations=v11;dR1.setupIntegration=IR1;dR1.setupIntegrations=Uh2});var xv=Y((GR1)=>{Object.defineProperty(GR1,"__esModule",{value:!0});var bh2=V0();function hh2(I,d,G,Z){let C=Object.entries(bh2.dropUndefinedKeys(Z)).sort((W,w)=>W[0].localeCompare(w[0]));return`${I}${d}${G}${C}`}function jh2(I){let d=0;for(let G=0;G<I.length;G++){let Z=I.charCodeAt(G);d=(d<<5)-d+Z,d&=d}return d>>>0}function kh2(I){let d="";for(let G of I){let Z=Object.entries(G.tags),C=Z.length>0?`|#${Z.map(([W,w])=>`${W}:${w}`).join(",")}`:"";d+=`${G.name}@${G.unit}:${G.metric}|${G.metricType}${C}|T${G.timestamp}
`}return d}function xh2(I){return I.replace(/[^\w]+/gi,"_")}function ch2(I){return I.replace(/[^\w\-.]+/gi,"_")}function ph2(I){return I.replace(/[^\w\-./]+/gi,"")}var ih2=[[`
`,"\\n"],["\r","\\r"],["\t","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function nh2(I){for(let[d,G]of ih2)if(I===d)return G;return I}function rh2(I){return[...I].reduce((d,G)=>d+nh2(G),"")}function ah2(I){let d={};for(let G in I)if(Object.prototype.hasOwnProperty.call(I,G)){let Z=ph2(G);d[Z]=rh2(String(I[G]))}return d}GR1.getBucketKey=hh2;GR1.sanitizeMetricKey=ch2;GR1.sanitizeTags=ah2;GR1.sanitizeUnit=xh2;GR1.serializeMetricBuckets=kh2;GR1.simpleHash=jh2});var WR1=Y((CR1)=>{Object.defineProperty(CR1,"__esModule",{value:!0});var ZR1=V0(),Gj2=xv();function Zj2(I,d,G,Z){let C={sent_at:new Date().toISOString()};if(G&&G.sdk)C.sdk={name:G.sdk.name,version:G.sdk.version};if(!!Z&&d)C.dsn=ZR1.dsnToString(d);let W=Cj2(I);return ZR1.createEnvelope(C,[W])}function Cj2(I){let d=Gj2.serializeMetricBuckets(I);return[{type:"statsd",length:d.length},d]}CR1.createMetricEnvelope=Zj2});var E11=Y((_R1)=>{Object.defineProperty(_R1,"__esModule",{value:!0});var v5=V0(),wj2=rO(),Aw=F6(),wR1=f11(),Bj2=iG(),Aj2=ww(),sO=UA(),Vj2=WR1(),BR1=VN(),Xj2=HF(),Yj2=vO(),AR1="Not capturing exception because it's already been captured.";class VR1{constructor(I){if(this._options=I,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],I.dsn)this._dsn=v5.makeDsn(I.dsn);else Aw.DEBUG_BUILD&&v5.logger.warn("No DSN provided, client will not send events.");if(this._dsn){let d=wj2.getEnvelopeEndpointWithUrlEncodedAuth(this._dsn,I);this._transport=I.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...I.transportOptions,url:d})}}captureException(I,d,G){if(v5.checkOrSetAlreadyCaught(I)){Aw.DEBUG_BUILD&&v5.logger.log(AR1);return}let Z=d&&d.event_id;return this._process(this.eventFromException(I,d).then((C)=>this._captureEvent(C,d,G)).then((C)=>{Z=C})),Z}captureMessage(I,d,G,Z){let C=G&&G.event_id,W=v5.isParameterizedString(I)?I:String(I),w=v5.isPrimitive(I)?this.eventFromMessage(W,d,G):this.eventFromException(I,G);return this._process(w.then((B)=>this._captureEvent(B,G,Z)).then((B)=>{C=B})),C}captureEvent(I,d,G){if(d&&d.originalException&&v5.checkOrSetAlreadyCaught(d.originalException)){Aw.DEBUG_BUILD&&v5.logger.log(AR1);return}let Z=d&&d.event_id,W=(I.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(I,d,W||G).then((w)=>{Z=w})),Z}captureSession(I){if(typeof I.release!=="string")Aw.DEBUG_BUILD&&v5.logger.warn("Discarded session because of missing or non-string release");else this.sendSession(I),BR1.updateSession(I,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(I){let d=this._transport;if(d){if(this.metricsAggregator)this.metricsAggregator.flush();return this._isClientDoneProcessing(I).then((G)=>{return d.flush(I).then((Z)=>G&&Z)})}else return v5.resolvedSyncPromise(!0)}close(I){return this.flush(I).then((d)=>{if(this.getOptions().enabled=!1,this.metricsAggregator)this.metricsAggregator.close();return d})}getEventProcessors(){return this._eventProcessors}addEventProcessor(I){this._eventProcessors.push(I)}setupIntegrations(I){if(I&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)this._setupIntegrations()}init(){if(this._isEnabled())this._setupIntegrations()}getIntegrationById(I){return this.getIntegrationByName(I)}getIntegrationByName(I){return this._integrations[I]}getIntegration(I){try{return this._integrations[I.id]||null}catch(d){return Aw.DEBUG_BUILD&&v5.logger.warn(`Cannot retrieve integration ${I.id} from the current Client`),null}}addIntegration(I){let d=this._integrations[I.name];if(sO.setupIntegration(this,I,this._integrations),!d)sO.afterSetupIntegrations(this,[I])}sendEvent(I,d={}){this.emit("beforeSendEvent",I,d);let G=wR1.createEventEnvelope(I,this._dsn,this._options._metadata,this._options.tunnel);for(let C of d.attachments||[])G=v5.addItemToEnvelope(G,v5.createAttachmentEnvelopeItem(C,this._options.transportOptions&&this._options.transportOptions.textEncoder));let Z=this._sendEnvelope(G);if(Z)Z.then((C)=>this.emit("afterSendEvent",I,C),null)}sendSession(I){let d=wR1.createSessionEnvelope(I,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(d)}recordDroppedEvent(I,d,G){if(this._options.sendClientReports){let Z=typeof G==="number"?G:1,C=`${I}:${d}`;Aw.DEBUG_BUILD&&v5.logger.log(`Recording outcome: "${C}"${Z>1?` (${Z} times)`:""}`),this._outcomes[C]=(this._outcomes[C]||0)+Z}}captureAggregateMetrics(I){Aw.DEBUG_BUILD&&v5.logger.log(`Flushing aggregated metrics, number of metrics: ${I.length}`);let d=Vj2.createMetricEnvelope(I,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(d)}on(I,d){if(!this._hooks[I])this._hooks[I]=[];this._hooks[I].push(d)}emit(I,...d){if(this._hooks[I])this._hooks[I].forEach((G)=>G(...d))}_setupIntegrations(){let{integrations:I}=this._options;this._integrations=sO.setupIntegrations(this,I),sO.afterSetupIntegrations(this,I),this._integrationsInitialized=!0}_updateSessionFromEvent(I,d){let G=!1,Z=!1,C=d.exception&&d.exception.values;if(C){Z=!0;for(let B of C){let A=B.mechanism;if(A&&A.handled===!1){G=!0;break}}}let W=I.status==="ok";if(W&&I.errors===0||W&&G)BR1.updateSession(I,{...G&&{status:"crashed"},errors:I.errors||Number(Z||G)}),this.captureSession(I)}_isClientDoneProcessing(I){return new v5.SyncPromise((d)=>{let G=0,Z=1,C=setInterval(()=>{if(this._numProcessing==0)clearInterval(C),d(!0);else if(G+=Z,I&&G>=I)clearInterval(C),d(!1)},Z)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(I,d,G,Z=Aj2.getIsolationScope()){let C=this.getOptions(),W=Object.keys(this._integrations);if(!d.integrations&&W.length>0)d.integrations=W;return this.emit("preprocessEvent",I,d),Yj2.prepareEvent(C,I,d,G,this,Z).then((w)=>{if(w===null)return w;let B={...Z.getPropagationContext(),...G?G.getPropagationContext():void 0};if(!(w.contexts&&w.contexts.trace)&&B){let{traceId:V,spanId:X,parentSpanId:_,dsc:F}=B;w.contexts={trace:{trace_id:V,span_id:X,parent_span_id:_},...w.contexts};let g=F?F:Xj2.getDynamicSamplingContextFromClient(V,this,G);w.sdkProcessingMetadata={dynamicSamplingContext:g,...w.sdkProcessingMetadata}}return w})}_captureEvent(I,d={},G){return this._processEvent(I,d,G).then((Z)=>{return Z.event_id},(Z)=>{if(Aw.DEBUG_BUILD){let C=Z;if(C.logLevel==="log")v5.logger.log(C.message);else v5.logger.warn(C)}return})}_processEvent(I,d,G){let Z=this.getOptions(),{sampleRate:C}=Z,W=YR1(I),w=XR1(I),B=I.type||"error",A=`before send for type \`${B}\``;if(w&&typeof C==="number"&&Math.random()>C)return this.recordDroppedEvent("sample_rate","error",I),v5.rejectedSyncPromise(new v5.SentryError(`Discarding event because it's not included in the random sample (sampling rate = ${C})`,"log"));let V=B==="replay_event"?"replay":B,_=(I.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(I,d,G,_).then((F)=>{if(F===null)throw this.recordDroppedEvent("event_processor",V,I),new v5.SentryError("An event processor returned `null`, will not send event.","log");if(d.data&&d.data.__sentry__===!0)return F;let J=Dj2(Z,F,d);return _j2(J,A)}).then((F)=>{if(F===null){if(this.recordDroppedEvent("before_send",V,I),W){let Q=1+(I.spans||[]).length;this.recordDroppedEvent("before_send","span",Q)}throw new v5.SentryError(`${A} returned \`null\`, will not send event.`,"log")}let g=G&&G.getSession();if(!W&&g)this._updateSessionFromEvent(g,F);if(W){let K=F.sdkProcessingMetadata&&F.sdkProcessingMetadata.spanCountBeforeProcessing||0,Q=F.spans?F.spans.length:0,E=K-Q;if(E>0)this.recordDroppedEvent("before_send","span",E)}let J=F.transaction_info;if(W&&J&&F.transaction!==I.transaction)F.transaction_info={...J,source:"custom"};return this.sendEvent(F,d),F}).then(null,(F)=>{if(F instanceof v5.SentryError)throw F;throw this.captureException(F,{data:{__sentry__:!0},originalException:F}),new v5.SentryError(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${F}`)})}_process(I){this._numProcessing++,I.then((d)=>{return this._numProcessing--,d},(d)=>{return this._numProcessing--,d})}_sendEnvelope(I){if(this.emit("beforeEnvelope",I),this._isEnabled()&&this._transport)return this._transport.send(I).then(null,(d)=>{Aw.DEBUG_BUILD&&v5.logger.error("Error while sending event:",d)});else Aw.DEBUG_BUILD&&v5.logger.error("Transport disabled")}_clearOutcomes(){let I=this._outcomes;return this._outcomes={},Object.keys(I).map((d)=>{let[G,Z]=d.split(":");return{reason:G,category:Z,quantity:I[d]}})}}function _j2(I,d){let G=`${d} must return \`null\` or a valid event.`;if(v5.isThenable(I))return I.then((Z)=>{if(!v5.isPlainObject(Z)&&Z!==null)throw new v5.SentryError(G);return Z},(Z)=>{throw new v5.SentryError(`${d} rejected with ${Z}`)});else if(!v5.isPlainObject(I)&&I!==null)throw new v5.SentryError(G);return I}function Dj2(I,d,G){let{beforeSend:Z,beforeSendTransaction:C}=I;if(XR1(d)&&Z)return Z(d,G);if(YR1(d)&&C){if(d.spans){let W=d.spans.length;d.sdkProcessingMetadata={...d.sdkProcessingMetadata,spanCountBeforeProcessing:W}}return C(d,G)}return d}function XR1(I){return I.type===void 0}function YR1(I){return I.type==="transaction"}function Hj2(I){let d=Bj2.getClient();if(!d||!d.addEventProcessor)return;d.addEventProcessor(I)}_R1.BaseClient=VR1;_R1.addEventProcessor=Hj2});var S11=Y((DR1)=>{Object.defineProperty(DR1,"__esModule",{value:!0});var M11=V0();function Jj2(I,d,G,Z,C){let W={sent_at:new Date().toISOString()};if(G&&G.sdk)W.sdk={name:G.sdk.name,version:G.sdk.version};if(!!Z&&!!C)W.dsn=M11.dsnToString(C);if(d)W.trace=M11.dropUndefinedKeys(d);let w=Kj2(I);return M11.createEnvelope(W,[w])}function Kj2(I){return[{type:"check_in"},I]}DR1.createCheckInEnvelope=Jj2});var cv=Y((HR1)=>{Object.defineProperty(HR1,"__esModule",{value:!0});var zj2="c",Qj2="g",fj2="s",qj2="d",Rj2=5000,Uj2=1e4,vj2=1e4;HR1.COUNTER_METRIC_TYPE=zj2;HR1.DEFAULT_BROWSER_FLUSH_INTERVAL=Rj2;HR1.DEFAULT_FLUSH_INTERVAL=Uj2;HR1.DISTRIBUTION_METRIC_TYPE=qj2;HR1.GAUGE_METRIC_TYPE=Qj2;HR1.MAX_WEIGHT=vj2;HR1.SET_METRIC_TYPE=fj2});var u11=Y((FR1)=>{Object.defineProperty(FR1,"__esModule",{value:!0});var oO=cv(),uj2=xv();class L11{constructor(I){this._value=I}get weight(){return 1}add(I){this._value+=I}toString(){return`${this._value}`}}class y11{constructor(I){this._last=I,this._min=I,this._max=I,this._sum=I,this._count=1}get weight(){return 5}add(I){if(this._last=I,I<this._min)this._min=I;if(I>this._max)this._max=I;this._sum+=I,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class P11{constructor(I){this._value=[I]}get weight(){return this._value.length}add(I){this._value.push(I)}toString(){return this._value.join(":")}}class $11{constructor(I){this.first=I,this._value=new Set([I])}get weight(){return this._value.size}add(I){this._value.add(I)}toString(){return Array.from(this._value).map((I)=>typeof I==="string"?uj2.simpleHash(I):I).join(":")}}var Tj2={[oO.COUNTER_METRIC_TYPE]:L11,[oO.GAUGE_METRIC_TYPE]:y11,[oO.DISTRIBUTION_METRIC_TYPE]:P11,[oO.SET_METRIC_TYPE]:$11};FR1.CounterMetric=L11;FR1.DistributionMetric=P11;FR1.GaugeMetric=y11;FR1.METRIC_MAP=Tj2;FR1.SetMetric=$11});var NR1=Y((KR1)=>{Object.defineProperty(KR1,"__esModule",{value:!0});var gR1=V0(),pv=cv(),jj2=u11(),kj2=hv(),eO=xv();class JR1{constructor(I){if(this._client=I,this._buckets=new Map,this._bucketsTotalWeight=0,this._interval=setInterval(()=>this._flush(),pv.DEFAULT_FLUSH_INTERVAL),this._interval.unref)this._interval.unref();this._flushShift=Math.floor(Math.random()*pv.DEFAULT_FLUSH_INTERVAL/1000),this._forceFlush=!1}add(I,d,G,Z="none",C={},W=gR1.timestampInSeconds()){let w=Math.floor(W),B=eO.sanitizeMetricKey(d),A=eO.sanitizeTags(C),V=eO.sanitizeUnit(Z),X=eO.getBucketKey(I,B,V,A),_=this._buckets.get(X),F=_&&I===pv.SET_METRIC_TYPE?_.metric.weight:0;if(_){if(_.metric.add(G),_.timestamp<w)_.timestamp=w}else _={metric:new jj2.METRIC_MAP[I](G),timestamp:w,metricType:I,name:B,unit:V,tags:A},this._buckets.set(X,_);let g=typeof G==="string"?_.metric.weight-F:G;if(kj2.updateMetricSummaryOnActiveSpan(I,B,g,V,C,X),this._bucketsTotalWeight+=_.metric.weight,this._bucketsTotalWeight>=pv.MAX_WEIGHT)this.flush()}flush(){this._forceFlush=!0,this._flush()}close(){this._forceFlush=!0,clearInterval(this._interval),this._flush()}_flush(){if(this._forceFlush){this._forceFlush=!1,this._bucketsTotalWeight=0,this._captureMetrics(this._buckets),this._buckets.clear();return}let I=Math.floor(gR1.timestampInSeconds())-pv.DEFAULT_FLUSH_INTERVAL/1000-this._flushShift,d=new Map;for(let[G,Z]of this._buckets)if(Z.timestamp<=I)d.set(G,Z),this._bucketsTotalWeight-=Z.metric.weight;for(let[G]of d)this._buckets.delete(G);this._captureMetrics(d)}_captureMetrics(I){if(I.size>0&&this._client.captureAggregateMetrics){let d=Array.from(I).map(([,G])=>G);this._client.captureAggregateMetrics(d)}}}KR1.MetricsAggregator=JR1});var qR1=Y((fR1)=>{Object.defineProperty(fR1,"__esModule",{value:!0});var vA=V0(),cj2=E11(),pj2=S11(),tO=F6(),ij2=iG(),nj2=NR1(),rj2=q11(),aj2=Q11(),sj2=kI(),oj2=XN();DN();var zR1=HF();class QR1 extends cj2.BaseClient{constructor(I){aj2.addTracingExtensions();super(I);if(I._experiments&&I._experiments.metricsAggregator)this.metricsAggregator=new nj2.MetricsAggregator(this)}eventFromException(I,d){return vA.resolvedSyncPromise(vA.eventFromUnknownInput(ij2.getClient(),this._options.stackParser,I,d))}eventFromMessage(I,d="info",G){return vA.resolvedSyncPromise(vA.eventFromMessage(this._options.stackParser,I,d,G,this._options.attachStacktrace))}captureException(I,d,G){if(this._options.autoSessionTracking&&this._sessionFlusher&&G){let Z=G.getRequestSession();if(Z&&Z.status==="ok")Z.status="errored"}return super.captureException(I,d,G)}captureEvent(I,d,G){if(this._options.autoSessionTracking&&this._sessionFlusher&&G){if((I.type||"exception")==="exception"&&I.exception&&I.exception.values&&I.exception.values.length>0){let W=G.getRequestSession();if(W&&W.status==="ok")W.status="errored"}}return super.captureEvent(I,d,G)}close(I){if(this._sessionFlusher)this._sessionFlusher.close();return super.close(I)}initSessionFlusher(){let{release:I,environment:d}=this._options;if(!I)tO.DEBUG_BUILD&&vA.logger.warn("Cannot initialise an instance of SessionFlusher if no release is provided!");else this._sessionFlusher=new rj2.SessionFlusher(this,{release:I,environment:d})}captureCheckIn(I,d,G){let Z="checkInId"in I&&I.checkInId?I.checkInId:vA.uuid4();if(!this._isEnabled())return tO.DEBUG_BUILD&&vA.logger.warn("SDK not enabled, will not capture checkin."),Z;let C=this.getOptions(),{release:W,environment:w,tunnel:B}=C,A={check_in_id:Z,monitor_slug:I.monitorSlug,status:I.status,release:W,environment:w};if("duration"in I)A.duration=I.duration;if(d)A.monitor_config={schedule:d.schedule,checkin_margin:d.checkinMargin,max_runtime:d.maxRuntime,timezone:d.timezone};let[V,X]=this._getTraceInfoFromScope(G);if(X)A.contexts={trace:X};let _=pj2.createCheckInEnvelope(A,V,this.getSdkMetadata(),B,this.getDsn());return tO.DEBUG_BUILD&&vA.logger.info("Sending checkin:",I.monitorSlug,I.status),this._sendEnvelope(_),Z}_captureRequestSession(){if(!this._sessionFlusher)tO.DEBUG_BUILD&&vA.logger.warn("Discarded request mode session because autoSessionTracking option was disabled");else this._sessionFlusher.incrementSessionStatusCount()}_prepareEvent(I,d,G,Z){if(this._options.platform)I.platform=I.platform||this._options.platform;if(this._options.runtime)I.contexts={...I.contexts,runtime:(I.contexts||{}).runtime||this._options.runtime};if(this._options.serverName)I.server_name=I.server_name||this._options.serverName;return super._prepareEvent(I,d,G,Z)}_getTraceInfoFromScope(I){if(!I)return[void 0,void 0];let d=I.getSpan();if(d)return[oj2.getRootSpan(d)?zR1.getDynamicSamplingContextFromSpan(d):void 0,sj2.spanToTraceContext(d)];let{traceId:G,spanId:Z,parentSpanId:C,dsc:W}=I.getPropagationContext(),w={trace_id:G,span_id:Z,parent_span_id:C};if(W)return[W,w];return[zR1.getDynamicSamplingContextFromClient(G,this,I),w]}}fR1.ServerRuntimeClient=QR1});var ER1=Y((vR1)=>{Object.defineProperty(vR1,"__esModule",{value:!0});var RR1=V0(),tj2=F6(),Ik2=iG(),dk2=ww();function Gk2(I,d){if(d.debug===!0)if(tj2.DEBUG_BUILD)RR1.logger.enable();else RR1.consoleSandbox(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")});Ik2.getCurrentScope().update(d.initialScope);let Z=new I(d);UR1(Z),Zk2(Z)}function UR1(I){let G=dk2.getCurrentHub().getStackTop();G.client=I,G.scope.setClient(I)}function Zk2(I){if(I.init)I.init();else if(I.setupIntegrations)I.setupIntegrations()}vR1.initAndBind=Gk2;vR1.setCurrentClient=UR1});var PR1=Y((yR1)=>{Object.defineProperty(yR1,"__esModule",{value:!0});var cI=V0(),MR1=F6(),LR1=30;function wk2(I,d,G=cI.makePromiseBuffer(I.bufferSize||LR1)){let Z={},C=(w)=>G.drain(w);function W(w){let B=[];if(cI.forEachEnvelopeItem(w,(_,F)=>{let g=cI.envelopeItemTypeToDataCategory(F);if(cI.isRateLimited(Z,g)){let J=SR1(_,F);I.recordDroppedEvent("ratelimit_backoff",g,J)}else B.push(_)}),B.length===0)return cI.resolvedSyncPromise();let A=cI.createEnvelope(w[0],B),V=(_)=>{cI.forEachEnvelopeItem(A,(F,g)=>{let J=SR1(F,g);I.recordDroppedEvent(_,cI.envelopeItemTypeToDataCategory(g),J)})},X=()=>d({body:cI.serializeEnvelope(A,I.textEncoder)}).then((_)=>{if(_.statusCode!==void 0&&(_.statusCode<200||_.statusCode>=300))MR1.DEBUG_BUILD&&cI.logger.warn(`Sentry responded with status code ${_.statusCode} to sent event.`);return Z=cI.updateRateLimits(Z,_),_},(_)=>{throw V("network_error"),_});return G.add(X).then((_)=>_,(_)=>{if(_ instanceof cI.SentryError)return MR1.DEBUG_BUILD&&cI.logger.error("Skipped sending event because buffer is full."),V("queue_overflow"),cI.resolvedSyncPromise();else throw _})}return W.__sentry__baseTransport__=!0,{send:W,flush:C}}function SR1(I,d){if(d!=="event"&&d!=="transaction")return;return Array.isArray(I)?I[1]:void 0}yR1.DEFAULT_TRANSPORT_BUFFER_SIZE=LR1;yR1.createTransport=wk2});var TR1=Y((uR1)=>{Object.defineProperty(uR1,"__esModule",{value:!0});var O11=V0(),Vk2=F6(),$R1=100,m11=5000,Xk2=3600000;function T11(I,d){Vk2.DEBUG_BUILD&&O11.logger.info(`[Offline]: ${I}`,d)}function Yk2(I){return(d)=>{let G=I(d),Z=d.createStore?d.createStore(d):void 0,C=m11,W;function w(X,_,F){if(O11.envelopeContainsItemType(X,["replay_event","replay_recording","client_report"]))return!1;if(d.shouldStore)return d.shouldStore(X,_,F);return!0}function B(X){if(!Z)return;if(W)clearTimeout(W);if(W=setTimeout(async()=>{W=void 0;let _=await Z.pop();if(_)T11("Attempting to send previously queued event"),V(_).catch((F)=>{T11("Failed to retry sending",F)})},X),typeof W!=="number"&&W.unref)W.unref()}function A(){if(W)return;B(C),C=Math.min(C*2,Xk2)}async function V(X){try{let _=await G.send(X),F=$R1;if(_){if(_.headers&&_.headers["retry-after"])F=O11.parseRetryAfterHeader(_.headers["retry-after"]);else if((_.statusCode||0)>=400)return _}return B(F),C=m11,_}catch(_){if(Z&&await w(X,_,C))return await Z.insert(X),A(),T11("Error sending. Event queued",_),{};else throw _}}if(d.flushAtStartup)A();return{send:V,flush:(X)=>G.flush(X)}}}uR1.MIN_DELAY=$R1;uR1.START_DELAY=m11;uR1.makeOfflineTransport=Yk2});var mR1=Y((OR1)=>{Object.defineProperty(OR1,"__esModule",{value:!0});var l11=V0(),Fk2=rO();function b11(I,d){let G;return l11.forEachEnvelopeItem(I,(Z,C)=>{if(d.includes(C))G=Array.isArray(Z)?Z[1]:void 0;return!!G}),G}function gk2(I,d){return(G)=>{let Z=I(G);return{...Z,send:async(C)=>{let W=b11(C,["event","transaction","profile","replay_event"]);if(W)W.release=d;return Z.send(C)}}}}function Jk2(I,d){return l11.createEnvelope(d?{...I[0],dsn:d}:I[0],I[1])}function Kk2(I,d){return(G)=>{let Z=I(G),C=new Map;function W(A,V){let X=V?`${A}:${V}`:A,_=C.get(X);if(!_){let F=l11.dsnFromString(A);if(!F)return;let g=Fk2.getEnvelopeEndpointWithUrlEncodedAuth(F,G.tunnel);_=V?gk2(I,V)({...G,url:g}):I({...G,url:g}),C.set(X,_)}return[A,_]}async function w(A){function V(F){let g=F&&F.length?F:["event"];return b11(A,g)}let X=d({envelope:A,getEvent:V}).map((F)=>{if(typeof F==="string")return W(F,void 0);else return W(F.dsn,F.release)}).filter((F)=>!!F);if(X.length===0)X.push(["",Z]);return(await Promise.all(X.map(([F,g])=>g.send(Jk2(A,F)))))[0]}async function B(A){let V=[await Z.flush(A)];for(let[,X]of C)V.push(await X.flush(A));return V.every((X)=>X)}return{send:w,flush:B}}}OR1.eventFromEnvelope=b11;OR1.makeMultiplexedTransport=Kk2});var hR1=Y((bR1)=>{Object.defineProperty(bR1,"__esModule",{value:!0});var lR1=V0();function Qk2(I,d){let G={sent_at:new Date().toISOString()};if(d)G.dsn=lR1.dsnToString(d);let Z=I.map(fk2);return lR1.createEnvelope(G,Z)}function fk2(I){return[{type:"span"},I]}bR1.createSpanEnvelope=Qk2});var xR1=Y((kR1)=>{Object.defineProperty(kR1,"__esModule",{value:!0});function Rk2(I,d){let G=d&&Ek2(d)?d.getClient():d,Z=G&&G.getDsn(),C=G&&G.getOptions().tunnel;return vk2(I,Z)||Uk2(I,C)}function Uk2(I,d){if(!d)return!1;return jR1(I)===jR1(d)}function vk2(I,d){return d?I.includes(d.host):!1}function jR1(I){return I[I.length-1]==="/"?I.slice(0,-1):I}function Ek2(I){return I.getClient!==void 0}kR1.isSentryRequestUrl=Rk2});var pR1=Y((cR1)=>{Object.defineProperty(cR1,"__esModule",{value:!0});function Sk2(I,...d){let G=new String(String.raw(I,...d));return G.__sentry_template_string__=I.join("\x00").replace(/%/g,"%%").replace(/\0/g,"%s"),G.__sentry_template_values__=d,G}cR1.parameterize=Sk2});var rR1=Y((nR1)=>{Object.defineProperty(nR1,"__esModule",{value:!0});var iR1=yO();function yk2(I,d,G=[d],Z="npm"){let C=I._metadata||{};if(!C.sdk)C.sdk={name:`sentry.javascript.${d}`,packages:G.map((W)=>({name:`${Z}:@sentry/${W}`,version:iR1.SDK_VERSION})),version:iR1.SDK_VERSION};I._metadata=C}nR1.applySdkMetadata=yk2});var tR1=Y((eR1)=>{Object.defineProperty(eR1,"__esModule",{value:!0});var h11=V0(),sR1=new Map,aR1=new Set;function $k2(I){if(!h11.GLOBAL_OBJ._sentryModuleMetadata)return;for(let d of Object.keys(h11.GLOBAL_OBJ._sentryModuleMetadata)){let G=h11.GLOBAL_OBJ._sentryModuleMetadata[d];if(aR1.has(d))continue;aR1.add(d);let Z=I(d);for(let C of Z.reverse())if(C.filename){sR1.set(C.filename,G);break}}}function oR1(I,d){return $k2(I),sR1.get(d)}function uk2(I,d){try{d.exception.values.forEach((G)=>{if(!G.stacktrace)return;for(let Z of G.stacktrace.frames||[]){if(!Z.filename)continue;let C=oR1(I,Z.filename);if(C)Z.module_metadata=C}})}catch(G){}}function Tk2(I){try{I.exception.values.forEach((d)=>{if(!d.stacktrace)return;for(let G of d.stacktrace.frames||[])delete G.module_metadata})}catch(d){}}eR1.addMetadataToStackFrames=uk2;eR1.getMetadataForUrl=oR1;eR1.stripMetadataFromStackFrames=Tk2});var WU1=Y((CU1)=>{Object.defineProperty(CU1,"__esModule",{value:!0});var bk2=V0(),dU1=UA(),IU1=tR1(),GU1="ModuleMetadata",hk2=()=>{return{name:GU1,setupOnce(){},setup(I){if(typeof I.on!=="function")return;I.on("beforeEnvelope",(d)=>{bk2.forEachEnvelopeItem(d,(G,Z)=>{if(Z==="event"){let C=Array.isArray(G)?G[1]:void 0;if(C)IU1.stripMetadataFromStackFrames(C),G[1]=C}})})},processEvent(I,d,G){let Z=G.getOptions().stackParser;return IU1.addMetadataToStackFrames(Z,I),I}}},ZU1=dU1.defineIntegration(hk2),jk2=dU1.convertIntegrationFnToClass(GU1,ZU1);CU1.ModuleMetadata=jk2;CU1.moduleMetadataIntegration=ZU1});var YU1=Y((XU1)=>{Object.defineProperty(XU1,"__esModule",{value:!0});var wU1=V0(),BU1=UA(),ck2=kI(),j11={include:{cookies:!0,data:!0,headers:!0,ip:!1,query_string:!0,url:!0,user:{id:!0,username:!0,email:!0}},transactionNamingScheme:"methodPath"},AU1="RequestData",pk2=(I={})=>{let d=wU1.addRequestDataToEvent,G={...j11,...I,include:{method:!0,...j11.include,...I.include,user:I.include&&typeof I.include.user==="boolean"?I.include.user:{...j11.include.user,...(I.include||{}).user}}};return{name:AU1,setupOnce(){},processEvent(Z,C,W){let{transactionNamingScheme:w}=G,{sdkProcessingMetadata:B={}}=Z,A=B.request;if(!A)return Z;let V=B.requestDataOptionsFromExpressHandler||B.requestDataOptionsFromGCPWrapper||nk2(G),X=d(Z,A,V);if(Z.type==="transaction"||w==="handler")return X;let F=A._sentryTransaction;if(F){let g=ck2.spanToJSON(F).description||"",J=rk2(W)==="sentry.javascript.nextjs"?g.startsWith("/api"):w!=="path",[K]=wU1.extractPathForTransaction(A,{path:!0,method:J,customRoute:g});X.transaction=K}return X}}},VU1=BU1.defineIntegration(pk2),ik2=BU1.convertIntegrationFnToClass(AU1,VU1);function nk2(I){let{transactionNamingScheme:d,include:{ip:G,user:Z,...C}}=I,W=[];for(let[B,A]of Object.entries(C))if(A)W.push(B);let w;if(Z===void 0)w=!0;else if(typeof Z==="boolean")w=Z;else{let B=[];for(let[A,V]of Object.entries(Z))if(V)B.push(A);w=B}return{include:{ip:G,user:w,request:W.length!==0?W:void 0,transaction:d}}}function rk2(I){try{return I.getOptions()._metadata.sdk.name}catch(d){return}}XU1.RequestData=ik2;XU1.requestDataIntegration=VU1});var k11=Y((FU1)=>{Object.defineProperty(FU1,"__esModule",{value:!0});var W8=V0(),KF=F6(),_U1=UA(),ok2=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],ek2=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],DU1="InboundFilters",tk2=(I={})=>{return{name:DU1,setupOnce(){},processEvent(d,G,Z){let C=Z.getOptions(),W=dx2(I,C);return Gx2(d,W)?null:d}}},HU1=_U1.defineIntegration(tk2),Ix2=_U1.convertIntegrationFnToClass(DU1,HU1);function dx2(I={},d={}){return{allowUrls:[...I.allowUrls||[],...d.allowUrls||[]],denyUrls:[...I.denyUrls||[],...d.denyUrls||[]],ignoreErrors:[...I.ignoreErrors||[],...d.ignoreErrors||[],...I.disableErrorDefaults?[]:ok2],ignoreTransactions:[...I.ignoreTransactions||[],...d.ignoreTransactions||[],...I.disableTransactionDefaults?[]:ek2],ignoreInternal:I.ignoreInternal!==void 0?I.ignoreInternal:!0}}function Gx2(I,d){if(d.ignoreInternal&&Ax2(I))return KF.DEBUG_BUILD&&W8.logger.warn(`Event dropped due to being internal Sentry Error.
Event: ${W8.getEventDescription(I)}`),!0;if(Zx2(I,d.ignoreErrors))return KF.DEBUG_BUILD&&W8.logger.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${W8.getEventDescription(I)}`),!0;if(Cx2(I,d.ignoreTransactions))return KF.DEBUG_BUILD&&W8.logger.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${W8.getEventDescription(I)}`),!0;if(Wx2(I,d.denyUrls))return KF.DEBUG_BUILD&&W8.logger.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${W8.getEventDescription(I)}.
Url: ${Im(I)}`),!0;if(!wx2(I,d.allowUrls))return KF.DEBUG_BUILD&&W8.logger.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${W8.getEventDescription(I)}.
Url: ${Im(I)}`),!0;return!1}function Zx2(I,d){if(I.type||!d||!d.length)return!1;return Bx2(I).some((G)=>W8.stringMatchesSomePattern(G,d))}function Cx2(I,d){if(I.type!=="transaction"||!d||!d.length)return!1;let G=I.transaction;return G?W8.stringMatchesSomePattern(G,d):!1}function Wx2(I,d){if(!d||!d.length)return!1;let G=Im(I);return!G?!1:W8.stringMatchesSomePattern(G,d)}function wx2(I,d){if(!d||!d.length)return!0;let G=Im(I);return!G?!0:W8.stringMatchesSomePattern(G,d)}function Bx2(I){let d=[];if(I.message)d.push(I.message);let G;try{G=I.exception.values[I.exception.values.length-1]}catch(Z){}if(G){if(G.value){if(d.push(G.value),G.type)d.push(`${G.type}: ${G.value}`)}}if(KF.DEBUG_BUILD&&d.length===0)W8.logger.error(`Could not extract message for event ${W8.getEventDescription(I)}`);return d}function Ax2(I){try{return I.exception.values[0].type==="SentryError"}catch(d){}return!1}function Vx2(I=[]){for(let d=I.length-1;d>=0;d--){let G=I[d];if(G&&G.filename!=="<anonymous>"&&G.filename!=="[native code]")return G.filename||null}return null}function Im(I){try{let d;try{d=I.exception.values[0].stacktrace.frames}catch(G){}return d?Vx2(d):null}catch(d){return KF.DEBUG_BUILD&&W8.logger.error(`Cannot extract url for event ${W8.getEventDescription(I)}`),null}}FU1.InboundFilters=Ix2;FU1.inboundFiltersIntegration=HU1});var x11=Y((QU1)=>{Object.defineProperty(QU1,"__esModule",{value:!0});var _x2=V0(),Dx2=iG(),KU1=UA(),gU1,NU1="FunctionToString",JU1=new WeakMap,Hx2=()=>{return{name:NU1,setupOnce(){gU1=Function.prototype.toString;try{Function.prototype.toString=function(...I){let d=_x2.getOriginalFunction(this),G=JU1.has(Dx2.getClient())&&d!==void 0?d:this;return gU1.apply(G,I)}}catch(I){}},setup(I){JU1.set(I,!0)}}},zU1=KU1.defineIntegration(Hx2),Fx2=KU1.convertIntegrationFnToClass(NU1,zU1);QU1.FunctionToString=Fx2;QU1.functionToStringIntegration=zU1});var c11=Y((vU1)=>{Object.defineProperty(vU1,"__esModule",{value:!0});var fU1=V0(),qU1=UA(),Kx2="cause",Nx2=5,RU1="LinkedErrors",zx2=(I={})=>{let d=I.limit||Nx2,G=I.key||Kx2;return{name:RU1,setupOnce(){},preprocessEvent(Z,C,W){let w=W.getOptions();fU1.applyAggregateErrorsToEvent(fU1.exceptionFromError,w.stackParser,w.maxValueLength,G,d,Z,C)}}},UU1=qU1.defineIntegration(zx2),Qx2=qU1.convertIntegrationFnToClass(RU1,UU1);vU1.LinkedErrors=Qx2;vU1.linkedErrorsIntegration=UU1});var MU1=Y((EU1)=>{Object.defineProperty(EU1,"__esModule",{value:!0});var Rx2=x11(),Ux2=k11(),vx2=c11();EU1.FunctionToString=Rx2.FunctionToString;EU1.InboundFilters=Ux2.InboundFilters;EU1.LinkedErrors=vx2.LinkedErrors});var PU1=Y((yU1)=>{Object.defineProperty(yU1,"__esModule",{value:!0});var Lx2=V0(),SU1=cv(),yx2=u11(),Px2=hv(),dm=xv();class LU1{constructor(I){this._client=I,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),SU1.DEFAULT_BROWSER_FLUSH_INTERVAL)}add(I,d,G,Z="none",C={},W=Lx2.timestampInSeconds()){let w=Math.floor(W),B=dm.sanitizeMetricKey(d),A=dm.sanitizeTags(C),V=dm.sanitizeUnit(Z),X=dm.getBucketKey(I,B,V,A),_=this._buckets.get(X),F=_&&I===SU1.SET_METRIC_TYPE?_.metric.weight:0;if(_){if(_.metric.add(G),_.timestamp<w)_.timestamp=w}else _={metric:new yx2.METRIC_MAP[I](G),timestamp:w,metricType:I,name:B,unit:V,tags:A},this._buckets.set(X,_);let g=typeof G==="string"?_.metric.weight-F:G;Px2.updateMetricSummaryOnActiveSpan(I,B,g,V,C,X)}flush(){if(this._buckets.size===0)return;if(this._client.captureAggregateMetrics){let I=Array.from(this._buckets).map(([,d])=>d);this._client.captureAggregateMetrics(I)}this._buckets.clear()}close(){clearInterval(this._interval),this.flush()}}yU1.BrowserMetricsAggregator=LU1});var mU1=Y((OU1)=>{Object.defineProperty(OU1,"__esModule",{value:!0});var $U1=UA(),ux2=PU1(),uU1="MetricsAggregator",Tx2=()=>{return{name:uU1,setupOnce(){},setup(I){I.metricsAggregator=new ux2.BrowserMetricsAggregator(I)}}},TU1=$U1.defineIntegration(Tx2),Ox2=$U1.convertIntegrationFnToClass(uU1,TU1);OU1.MetricsAggregator=Ox2;OU1.metricsAggregatorIntegration=TU1});var nU1=Y((iU1)=>{Object.defineProperty(iU1,"__esModule",{value:!0});var lU1=V0(),bU1=F6(),hU1=iG(),bx2=kI(),Gm=cv(),jU1=mU1();function Zm(I,d,G,Z={}){let C=hU1.getClient(),W=hU1.getCurrentScope();if(C){if(!C.metricsAggregator){bU1.DEBUG_BUILD&&lU1.logger.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}let{unit:w,tags:B,timestamp:A}=Z,{release:V,environment:X}=C.getOptions(),_=W.getTransaction(),F={};if(V)F.release=V;if(X)F.environment=X;if(_)F.transaction=bx2.spanToJSON(_).description||"";bU1.DEBUG_BUILD&&lU1.logger.log(`Adding value of ${G} to ${I} metric ${d}`),C.metricsAggregator.add(I,d,G,w,{...F,...B},A)}}function kU1(I,d=1,G){Zm(Gm.COUNTER_METRIC_TYPE,I,d,G)}function xU1(I,d,G){Zm(Gm.DISTRIBUTION_METRIC_TYPE,I,d,G)}function cU1(I,d,G){Zm(Gm.SET_METRIC_TYPE,I,d,G)}function pU1(I,d,G){Zm(Gm.GAUGE_METRIC_TYPE,I,d,G)}var hx2={increment:kU1,distribution:xU1,set:cU1,gauge:pU1,MetricsAggregator:jU1.MetricsAggregator,metricsAggregatorIntegration:jU1.metricsAggregatorIntegration};iU1.distribution=xU1;iU1.gauge=pU1;iU1.increment=kU1;iU1.metrics=hx2;iU1.set=cU1});var V4=Y((n11)=>{Object.defineProperty(n11,"__esModule",{value:!0});var rU1=Q11(),aU1=N11(),ix2=jO(),nx2=cO(),sU1=uO(),Cm=DN(),NF=hO(),oU1=HF(),rx2=rq1(),ax2=z11(),iv=jv(),eU1=f11(),L9=iG(),Vw=ww(),p11=VN(),sx2=q11(),i11=MO(),tU1=Pv(),Iv1=rO(),dv1=E11(),ox2=qR1(),Gv1=ER1(),ex2=PR1(),tx2=TR1(),Ic2=mR1(),dc2=yO(),Wm=UA(),Zv1=EO(),Gc2=vO(),Zc2=S11(),Cc2=hR1(),Wc2=OO(),wc2=xR1(),Bc2=F11(),Ac2=pR1(),wm=kI(),Vc2=XN(),Xc2=rR1(),Yc2=AN(),Cv1=WU1(),Wv1=YU1(),wv1=k11(),Bv1=x11(),Av1=c11(),_c2=MU1(),Dc2=nU1(),Hc2=_c2;n11.addTracingExtensions=rU1.addTracingExtensions;n11.startIdleTransaction=rU1.startIdleTransaction;n11.IdleTransaction=aU1.IdleTransaction;n11.TRACING_DEFAULTS=aU1.TRACING_DEFAULTS;n11.Span=ix2.Span;n11.Transaction=nx2.Transaction;n11.extractTraceparentData=sU1.extractTraceparentData;n11.getActiveTransaction=sU1.getActiveTransaction;Object.defineProperty(n11,"SpanStatus",{enumerable:!0,get:()=>Cm.SpanStatus});n11.getSpanStatusFromHttpCode=Cm.getSpanStatusFromHttpCode;n11.setHttpStatus=Cm.setHttpStatus;n11.spanStatusfromHttpCode=Cm.spanStatusfromHttpCode;n11.continueTrace=NF.continueTrace;n11.getActiveSpan=NF.getActiveSpan;n11.startActiveSpan=NF.startActiveSpan;n11.startInactiveSpan=NF.startInactiveSpan;n11.startSpan=NF.startSpan;n11.startSpanManual=NF.startSpanManual;n11.trace=NF.trace;n11.getDynamicSamplingContextFromClient=oU1.getDynamicSamplingContextFromClient;n11.getDynamicSamplingContextFromSpan=oU1.getDynamicSamplingContextFromSpan;n11.setMeasurement=rx2.setMeasurement;n11.isValidSampleRate=ax2.isValidSampleRate;n11.SEMANTIC_ATTRIBUTE_PROFILE_ID=iv.SEMANTIC_ATTRIBUTE_PROFILE_ID;n11.SEMANTIC_ATTRIBUTE_SENTRY_OP=iv.SEMANTIC_ATTRIBUTE_SENTRY_OP;n11.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=iv.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;n11.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=iv.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE;n11.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=iv.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE;n11.createEventEnvelope=eU1.createEventEnvelope;n11.createSessionEnvelope=eU1.createSessionEnvelope;n11.addBreadcrumb=L9.addBreadcrumb;n11.captureCheckIn=L9.captureCheckIn;n11.captureEvent=L9.captureEvent;n11.captureException=L9.captureException;n11.captureMessage=L9.captureMessage;n11.captureSession=L9.captureSession;n11.close=L9.close;n11.configureScope=L9.configureScope;n11.endSession=L9.endSession;n11.flush=L9.flush;n11.getClient=L9.getClient;n11.getCurrentScope=L9.getCurrentScope;n11.isInitialized=L9.isInitialized;n11.lastEventId=L9.lastEventId;n11.setContext=L9.setContext;n11.setExtra=L9.setExtra;n11.setExtras=L9.setExtras;n11.setTag=L9.setTag;n11.setTags=L9.setTags;n11.setUser=L9.setUser;n11.startSession=L9.startSession;n11.startTransaction=L9.startTransaction;n11.withActiveSpan=L9.withActiveSpan;n11.withIsolationScope=L9.withIsolationScope;n11.withMonitor=L9.withMonitor;n11.withScope=L9.withScope;n11.Hub=Vw.Hub;n11.ensureHubOnCarrier=Vw.ensureHubOnCarrier;n11.getCurrentHub=Vw.getCurrentHub;n11.getHubFromCarrier=Vw.getHubFromCarrier;n11.getIsolationScope=Vw.getIsolationScope;n11.getMainCarrier=Vw.getMainCarrier;n11.makeMain=Vw.makeMain;n11.runWithAsyncContext=Vw.runWithAsyncContext;n11.setAsyncContextStrategy=Vw.setAsyncContextStrategy;n11.setHubOnCarrier=Vw.setHubOnCarrier;n11.closeSession=p11.closeSession;n11.makeSession=p11.makeSession;n11.updateSession=p11.updateSession;n11.SessionFlusher=sx2.SessionFlusher;n11.Scope=i11.Scope;n11.getGlobalScope=i11.getGlobalScope;n11.setGlobalScope=i11.setGlobalScope;n11.addGlobalEventProcessor=tU1.addGlobalEventProcessor;n11.notifyEventProcessors=tU1.notifyEventProcessors;n11.getEnvelopeEndpointWithUrlEncodedAuth=Iv1.getEnvelopeEndpointWithUrlEncodedAuth;n11.getReportDialogEndpoint=Iv1.getReportDialogEndpoint;n11.BaseClient=dv1.BaseClient;n11.addEventProcessor=dv1.addEventProcessor;n11.ServerRuntimeClient=ox2.ServerRuntimeClient;n11.initAndBind=Gv1.initAndBind;n11.setCurrentClient=Gv1.setCurrentClient;n11.createTransport=ex2.createTransport;n11.makeOfflineTransport=tx2.makeOfflineTransport;n11.makeMultiplexedTransport=Ic2.makeMultiplexedTransport;n11.SDK_VERSION=dc2.SDK_VERSION;n11.addIntegration=Wm.addIntegration;n11.convertIntegrationFnToClass=Wm.convertIntegrationFnToClass;n11.defineIntegration=Wm.defineIntegration;n11.getIntegrationsToSetup=Wm.getIntegrationsToSetup;n11.applyScopeDataToEvent=Zv1.applyScopeDataToEvent;n11.mergeScopeData=Zv1.mergeScopeData;n11.prepareEvent=Gc2.prepareEvent;n11.createCheckInEnvelope=Zc2.createCheckInEnvelope;n11.createSpanEnvelope=Cc2.createSpanEnvelope;n11.hasTracingEnabled=Wc2.hasTracingEnabled;n11.isSentryRequestUrl=wc2.isSentryRequestUrl;n11.handleCallbackErrors=Bc2.handleCallbackErrors;n11.parameterize=Ac2.parameterize;n11.spanIsSampled=wm.spanIsSampled;n11.spanToJSON=wm.spanToJSON;n11.spanToTraceContext=wm.spanToTraceContext;n11.spanToTraceHeader=wm.spanToTraceHeader;n11.getRootSpan=Vc2.getRootSpan;n11.applySdkMetadata=Xc2.applySdkMetadata;n11.DEFAULT_ENVIRONMENT=Yc2.DEFAULT_ENVIRONMENT;n11.ModuleMetadata=Cv1.ModuleMetadata;n11.moduleMetadataIntegration=Cv1.moduleMetadataIntegration;n11.RequestData=Wv1.RequestData;n11.requestDataIntegration=Wv1.requestDataIntegration;n11.InboundFilters=wv1.InboundFilters;n11.inboundFiltersIntegration=wv1.inboundFiltersIntegration;n11.FunctionToString=Bv1.FunctionToString;n11.functionToStringIntegration=Bv1.functionToStringIntegration;n11.LinkedErrors=Av1.LinkedErrors;n11.linkedErrorsIntegration=Av1.linkedErrorsIntegration;n11.metrics=Dc2.metrics;n11.Integrations=Hc2});var pI=Y((Vv1)=>{Object.defineProperty(Vv1,"__esModule",{value:!0});var Ri2=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;Vv1.DEBUG_BUILD=Ri2});var iX=Y((Yv1)=>{var{_optionalChain:Xv1}=V0();Object.defineProperty(Yv1,"__esModule",{value:!0});function vi2(I){let d=Xv1([I,"call",(Z)=>Z(),"access",(Z)=>Z.getClient,"call",(Z)=>Z(),"optionalAccess",(Z)=>Z.getOptions,"call",(Z)=>Z()]);return(Xv1([d,"optionalAccess",(Z)=>Z.instrumenter])||"sentry")!=="sentry"}Yv1.shouldDisableAutoInstrumentation=vi2});var gv1=Y((Fv1)=>{var{_optionalChain:Xw}=V0();Object.defineProperty(Fv1,"__esModule",{value:!0});var r11=V4(),iI=V0(),Bm=pI(),Mi2=iX();class Am{static __initStatic(){this.id="Express"}constructor(I={}){this.name=Am.id,this._router=I.router||I.app,this._methods=(Array.isArray(I.methods)?I.methods:[]).concat("use")}setupOnce(I,d){if(!this._router){Bm.DEBUG_BUILD&&iI.logger.error("ExpressIntegration is missing an Express instance");return}if(Mi2.shouldDisableAutoInstrumentation(d)){Bm.DEBUG_BUILD&&iI.logger.log("Express Integration is skipped because of instrumenter configuration.");return}yi2(this._router,this._methods),Pi2(this._router)}}Am.__initStatic();function _v1(I,d){let G=I.length;switch(G){case 2:return function(Z,C){let W=C.__sentry_transaction;if(W){let w=W.startChild({description:I.name,op:`middleware.express.${d}`,origin:"auto.middleware.express"});C.once("finish",()=>{w.end()})}return I.call(this,Z,C)};case 3:return function(Z,C,W){let w=C.__sentry_transaction,B=Xw([w,"optionalAccess",(A)=>A.startChild,"call",(A)=>A({description:I.name,op:`middleware.express.${d}`,origin:"auto.middleware.express"})]);I.call(this,Z,C,function(...A){Xw([B,"optionalAccess",(V)=>V.end,"call",(V)=>V()]),W.call(this,...A)})};case 4:return function(Z,C,W,w){let B=W.__sentry_transaction,A=Xw([B,"optionalAccess",(V)=>V.startChild,"call",(V)=>V({description:I.name,op:`middleware.express.${d}`,origin:"auto.middleware.express"})]);I.call(this,Z,C,W,function(...V){Xw([A,"optionalAccess",(X)=>X.end,"call",(X)=>X()]),w.call(this,...V)})};default:throw new Error(`Express middleware takes 2-4 arguments. Got: ${G}`)}}function Si2(I,d){return I.map((G)=>{if(typeof G==="function")return _v1(G,d);if(Array.isArray(G))return G.map((Z)=>{if(typeof Z==="function")return _v1(Z,d);return Z});return G})}function Li2(I,d){let G=I[d];return I[d]=function(...Z){return G.call(this,...Si2(Z,d))},I}function yi2(I,d=[]){d.forEach((G)=>Li2(I,G))}function Pi2(I){let d="settings"in I;if(d&&I._router===void 0&&I.lazyrouter)I.lazyrouter();let G=d?I._router:I;if(!G){Bm.DEBUG_BUILD&&iI.logger.debug("Cannot instrument router for URL Parameterization (did not find a valid router)."),Bm.DEBUG_BUILD&&iI.logger.debug("Routing instrumentation is currently only supported in Express 4.");return}let Z=Object.getPrototypeOf(G),C=Z.process_params;Z.process_params=function W(w,B,A,V,X){if(!A._reconstructedRoute)A._reconstructedRoute="";let{layerRoutePath:_,isRegex:F,isArray:g,numExtraSegments:J}=$i2(w);if(_||F||g)A._hasParameters=!0;let K;if(_)K=_;else K=Hv1(A.originalUrl,A._reconstructedRoute,w.path)||"";let Q=K.split("/").filter((P)=>P.length>0&&(F||g||!P.includes("*"))).join("/");if(Q&&Q.length>0)A._reconstructedRoute+=`/${Q}${F?"/":""}`;let E=iI.getNumberOfUrlSegments(iI.stripUrlQueryAndFragment(A.originalUrl||""))+J,S=iI.getNumberOfUrlSegments(A._reconstructedRoute);if(E===S){if(!A._hasParameters){if(A._reconstructedRoute!==A.originalUrl)A._reconstructedRoute=A.originalUrl?iI.stripUrlQueryAndFragment(A.originalUrl):A.originalUrl}let P=V.__sentry_transaction,$=P&&r11.spanToJSON(P).data||{};if(P&&$[r11.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]!=="custom"){let h=A._reconstructedRoute||"/",[O,T]=iI.extractPathForTransaction(A,{path:!0,method:!0,customRoute:h});P.updateName(O),P.setAttribute(r11.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,T)}}return C.call(this,w,B,A,V,X)}}var Dv1=(I,d,G)=>{if(!I||!d||!G||Object.keys(G).length===0||!Xw([G,"access",(V)=>V[0],"optionalAccess",(V)=>V.offset]))return;let Z=G.sort((V,X)=>V.offset-X.offset),W=new RegExp(d,`${d.flags}d`).exec(I);if(!W||!W.indices)return;let[,...w]=W.indices;if(w.length!==Z.length)return;let B=I,A=0;return w.forEach((V,X)=>{if(V){let[_,F]=V,g=B.substring(0,_-A),J=`:${Z[X].name}`,K=B.substring(F-A);B=g+J+K,A=A+(F-_-J.length)}}),B};function $i2(I){let d=Xw([I,"access",(w)=>w.route,"optionalAccess",(w)=>w.path]),G=iI.isRegExp(d),Z=Array.isArray(d);if(!d){let[w]=iI.GLOBAL_OBJ.process.versions.node.split(".").map(Number);if(w>=16)d=Dv1(I.path,I.regexp,I.keys)}if(!d)return{isRegex:G,isArray:Z,numExtraSegments:0};let C=Z?Math.max(ui2(d)-iI.getNumberOfUrlSegments(I.path||""),0):0;return{layerRoutePath:Ti2(Z,d),isRegex:G,isArray:Z,numExtraSegments:C}}function ui2(I){return I.reduce((d,G)=>{return d+iI.getNumberOfUrlSegments(G.toString())},0)}function Ti2(I,d){if(I)return d.map((G)=>G.toString()).join(",");return d&&d.toString()}function Hv1(I,d,G){let Z=iI.stripUrlQueryAndFragment(I||""),C=Xw([Z,"optionalAccess",(A)=>A.split,"call",(A)=>A("/"),"access",(A)=>A.filter,"call",(A)=>A((V)=>!!V)]),W=0,w=Xw([d,"optionalAccess",(A)=>A.split,"call",(A)=>A("/"),"access",(A)=>A.filter,"call",(A)=>A((V)=>!!V),"access",(A)=>A.length])||0;return Xw([G,"optionalAccess",(A)=>A.split,"call",(A)=>A("/"),"access",(A)=>A.filter,"call",(A)=>A((V)=>{if(Xw([C,"optionalAccess",(X)=>X[w+W]])===V)return W+=1,!0;return!1}),"access",(A)=>A.join,"call",(A)=>A("/")])}Fv1.Express=Am;Fv1.extractOriginalRoute=Dv1;Fv1.preventDuplicateSegments=Hv1});var Kv1=Y((Jv1)=>{var{_optionalChain:zN}=V0();Object.defineProperty(Jv1,"__esModule",{value:!0});var QN=V0(),a11=pI(),bi2=iX();class Vm{static __initStatic(){this.id="Postgres"}constructor(I={}){this.name=Vm.id,this._usePgNative=!!I.usePgNative,this._module=I.module}loadDependency(){return this._module=this._module||QN.loadModule("pg")}setupOnce(I,d){if(bi2.shouldDisableAutoInstrumentation(d)){a11.DEBUG_BUILD&&QN.logger.log("Postgres Integration is skipped because of instrumenter configuration.");return}let G=this.loadDependency();if(!G){a11.DEBUG_BUILD&&QN.logger.error("Postgres Integration was unable to require `pg` package.");return}let Z=this._usePgNative?zN([G,"access",(C)=>C.native,"optionalAccess",(C)=>C.Client]):G.Client;if(!Z){a11.DEBUG_BUILD&&QN.logger.error("Postgres Integration was unable to access 'pg-native' bindings.");return}QN.fill(Z.prototype,"query",function(C){return function(W,w,B){let V=d().getScope().getSpan(),X={"db.system":"postgresql"};try{if(this.database)X["db.name"]=this.database;if(this.host)X["server.address"]=this.host;if(this.port)X["server.port"]=this.port;if(this.user)X["db.user"]=this.user}catch(g){}let _=zN([V,"optionalAccess",(g)=>g.startChild,"call",(g)=>g({description:typeof W==="string"?W:W.text,op:"db",origin:"auto.db.postgres",data:X})]);if(typeof B==="function")return C.call(this,W,w,function(g,J){zN([_,"optionalAccess",(K)=>K.end,"call",(K)=>K()]),B(g,J)});if(typeof w==="function")return C.call(this,W,function(g,J){zN([_,"optionalAccess",(K)=>K.end,"call",(K)=>K()]),w(g,J)});let F=typeof w!=="undefined"?C.call(this,W,w):C.call(this,W);if(QN.isThenable(F))return F.then((g)=>{return zN([_,"optionalAccess",(J)=>J.end,"call",(J)=>J()]),g});return zN([_,"optionalAccess",(g)=>g.end,"call",(g)=>g()]),F}})}}Vm.__initStatic();Jv1.Postgres=Vm});var zv1=Y((Nv1)=>{var{_optionalChain:ji2}=V0();Object.defineProperty(Nv1,"__esModule",{value:!0});var nv=V0(),s11=pI(),ki2=iX();class Xm{static __initStatic(){this.id="Mysql"}constructor(){this.name=Xm.id}loadDependency(){return this._module=this._module||nv.loadModule("mysql/lib/Connection.js")}setupOnce(I,d){if(ki2.shouldDisableAutoInstrumentation(d)){s11.DEBUG_BUILD&&nv.logger.log("Mysql Integration is skipped because of instrumenter configuration.");return}let G=this.loadDependency();if(!G){s11.DEBUG_BUILD&&nv.logger.error("Mysql Integration was unable to require `mysql` package.");return}let Z=void 0;try{G.prototype.connect=new Proxy(G.prototype.connect,{apply(w,B,A){if(!Z)Z=B.config;return w.apply(B,A)}})}catch(w){s11.DEBUG_BUILD&&nv.logger.error("Mysql Integration was unable to instrument `mysql` config.")}function C(){if(!Z)return{};return{"server.address":Z.host,"server.port":Z.port,"db.user":Z.user}}function W(w){if(!w)return;let B=C();Object.keys(B).forEach((A)=>{w.setAttribute(A,B[A])}),w.end()}nv.fill(G,"createQuery",function(w){return function(B,A,V){let _=d().getScope().getSpan(),F=ji2([_,"optionalAccess",(J)=>J.startChild,"call",(J)=>J({description:typeof B==="string"?B:B.sql,op:"db",origin:"auto.db.mysql",data:{"db.system":"mysql"}})]);if(typeof V==="function")return w.call(this,B,A,function(J,K,Q){W(F),V(J,K,Q)});if(typeof A==="function")return w.call(this,B,function(J,K,Q){W(F),A(J,K,Q)});let g=w.call(this,B,A);return g.on("end",()=>{W(F)}),g}})}}Xm.__initStatic();Nv1.Mysql=Xm});var qv1=Y((fv1)=>{var{_optionalChain:nX}=V0();Object.defineProperty(fv1,"__esModule",{value:!0});var rv=V0(),Qv1=pI(),ci2=iX(),pi2=["aggregate","bulkWrite","countDocuments","createIndex","createIndexes","deleteMany","deleteOne","distinct","drop","dropIndex","dropIndexes","estimatedDocumentCount","find","findOne","findOneAndDelete","findOneAndReplace","findOneAndUpdate","indexes","indexExists","indexInformation","initializeOrderedBulkOp","insertMany","insertOne","isCapped","mapReduce","options","parallelCollectionScan","rename","replaceOne","stats","updateMany","updateOne"],ii2={bulkWrite:["operations"],countDocuments:["query"],createIndex:["fieldOrSpec"],createIndexes:["indexSpecs"],deleteMany:["filter"],deleteOne:["filter"],distinct:["key","query"],dropIndex:["indexName"],find:["query"],findOne:["query"],findOneAndDelete:["filter"],findOneAndReplace:["filter","replacement"],findOneAndUpdate:["filter","update"],indexExists:["indexes"],insertMany:["docs"],insertOne:["doc"],mapReduce:["map","reduce"],rename:["newName"],replaceOne:["filter","doc"],updateMany:["filter","update"],updateOne:["filter","update"]};function ni2(I){return I&&typeof I==="object"&&I.once&&typeof I.once==="function"}class Ym{static __initStatic(){this.id="Mongo"}constructor(I={}){this.name=Ym.id,this._operations=Array.isArray(I.operations)?I.operations:pi2,this._describeOperations="describeOperations"in I?I.describeOperations:!0,this._useMongoose=!!I.useMongoose}loadDependency(){let I=this._useMongoose?"mongoose":"mongodb";return this._module=this._module||rv.loadModule(I)}setupOnce(I,d){if(ci2.shouldDisableAutoInstrumentation(d)){Qv1.DEBUG_BUILD&&rv.logger.log("Mongo Integration is skipped because of instrumenter configuration.");return}let G=this.loadDependency();if(!G){let Z=this._useMongoose?"mongoose":"mongodb";Qv1.DEBUG_BUILD&&rv.logger.error(`Mongo Integration was unable to require \`${Z}\` package.`);return}this._instrumentOperations(G.Collection,this._operations,d)}_instrumentOperations(I,d,G){d.forEach((Z)=>this._patchOperation(I,Z,G))}_patchOperation(I,d,G){if(!(d in I.prototype))return;let Z=this._getSpanContextFromOperationArguments.bind(this);rv.fill(I.prototype,d,function(C){return function(...W){let w=W[W.length-1],B=G(),A=B.getScope(),V=B.getClient(),X=A.getSpan(),_=nX([V,"optionalAccess",(g)=>g.getOptions,"call",(g)=>g(),"access",(g)=>g.sendDefaultPii]);if(typeof w!=="function"||d==="mapReduce"&&W.length===2){let g=nX([X,"optionalAccess",(K)=>K.startChild,"call",(K)=>K(Z(this,d,W,_))]),J=C.call(this,...W);if(rv.isThenable(J))return J.then((K)=>{return nX([g,"optionalAccess",(Q)=>Q.end,"call",(Q)=>Q()]),K});else if(ni2(J)){let K=J;try{K.once("close",()=>{nX([g,"optionalAccess",(Q)=>Q.end,"call",(Q)=>Q()])})}catch(Q){nX([g,"optionalAccess",(E)=>E.end,"call",(E)=>E()])}return K}else return nX([g,"optionalAccess",(K)=>K.end,"call",(K)=>K()]),J}let F=nX([X,"optionalAccess",(g)=>g.startChild,"call",(g)=>g(Z(this,d,W.slice(0,-1)))]);return C.call(this,...W.slice(0,-1),function(g,J){nX([F,"optionalAccess",(K)=>K.end,"call",(K)=>K()]),w(g,J)})}})}_getSpanContextFromOperationArguments(I,d,G,Z=!1){let C={"db.system":"mongodb","db.name":I.dbName,"db.operation":d,"db.mongodb.collection":I.collectionName},W={op:"db",origin:"auto.db.mongo",description:d,data:C},w=ii2[d],B=Array.isArray(this._describeOperations)?this._describeOperations.includes(d):this._describeOperations;if(!w||!B||!Z)return W;try{if(d==="mapReduce"){let[A,V]=G;C[w[0]]=typeof A==="string"?A:A.name||"<anonymous>",C[w[1]]=typeof V==="string"?V:V.name||"<anonymous>"}else for(let A=0;A<w.length;A++)C[`db.mongodb.${w[A]}`]=JSON.stringify(G[A])}catch(A){}return W}}Ym.__initStatic();fv1.Mongo=Ym});var vv1=Y((Uv1)=>{Object.defineProperty(Uv1,"__esModule",{value:!0});var o11=V4(),Rv1=V0(),ai2=pI(),si2=iX();function oi2(I){return!!I&&!!I.$use}class _m{static __initStatic(){this.id="Prisma"}constructor(I={}){if(this.name=_m.id,oi2(I.client)&&!I.client._sentryInstrumented){Rv1.addNonEnumerableProperty(I.client,"_sentryInstrumented",!0);let d={};try{let G=I.client._engineConfig;if(G){let{activeProvider:Z,clientVersion:C}=G;if(Z)d["db.system"]=Z;if(C)d["db.prisma.version"]=C}}catch(G){}I.client.$use((G,Z)=>{if(si2.shouldDisableAutoInstrumentation(o11.getCurrentHub))return Z(G);let{action:C,model:W}=G;return o11.startSpan({name:W?`${W} ${C}`:C,onlyIfParent:!0,op:"db.prisma",attributes:{[o11.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.db.prisma"},data:{...d,"db.operation":C}},()=>Z(G))})}else ai2.DEBUG_BUILD&&Rv1.logger.warn("Unsupported Prisma client provided to PrismaIntegration. Provided client:",I.client)}setupOnce(){}}_m.__initStatic();Uv1.Prisma=_m});var Sv1=Y((Mv1)=>{var{_optionalChain:fN}=V0();Object.defineProperty(Mv1,"__esModule",{value:!0});var av=V0(),Ev1=pI(),ti2=iX();class Dm{static __initStatic(){this.id="GraphQL"}constructor(){this.name=Dm.id}loadDependency(){return this._module=this._module||av.loadModule("graphql/execution/execute.js")}setupOnce(I,d){if(ti2.shouldDisableAutoInstrumentation(d)){Ev1.DEBUG_BUILD&&av.logger.log("GraphQL Integration is skipped because of instrumenter configuration.");return}let G=this.loadDependency();if(!G){Ev1.DEBUG_BUILD&&av.logger.error("GraphQL Integration was unable to require graphql/execution package.");return}av.fill(G,"execute",function(Z){return function(...C){let W=d().getScope(),w=W.getSpan(),B=fN([w,"optionalAccess",(V)=>V.startChild,"call",(V)=>V({description:"execute",op:"graphql.execute",origin:"auto.graphql.graphql"})]);fN([W,"optionalAccess",(V)=>V.setSpan,"call",(V)=>V(B)]);let A=Z.call(this,...C);if(av.isThenable(A))return A.then((V)=>{return fN([B,"optionalAccess",(X)=>X.end,"call",(X)=>X()]),fN([W,"optionalAccess",(X)=>X.setSpan,"call",(X)=>X(w)]),V});return fN([B,"optionalAccess",(V)=>V.end,"call",(V)=>V()]),fN([W,"optionalAccess",(V)=>V.setSpan,"call",(V)=>V(w)]),A}})}}Dm.__initStatic();Mv1.GraphQL=Dm});var Pv1=Y((yv1)=>{var{_optionalChain:e11}=V0();Object.defineProperty(yv1,"__esModule",{value:!0});var Q7=V0(),Hm=pI(),dn2=iX();class Fm{static __initStatic(){this.id="Apollo"}constructor(I={useNestjs:!1}){this.name=Fm.id,this._useNest=!!I.useNestjs}loadDependency(){if(this._useNest)this._module=this._module||Q7.loadModule("@nestjs/graphql");else this._module=this._module||Q7.loadModule("apollo-server-core");return this._module}setupOnce(I,d){if(dn2.shouldDisableAutoInstrumentation(d)){Hm.DEBUG_BUILD&&Q7.logger.log("Apollo Integration is skipped because of instrumenter configuration.");return}if(this._useNest){let G=this.loadDependency();if(!G){Hm.DEBUG_BUILD&&Q7.logger.error("Apollo-NestJS Integration was unable to require @nestjs/graphql package.");return}Q7.fill(G.GraphQLFactory.prototype,"mergeWithSchema",function(Z){return function(...C){return Q7.fill(this.resolversExplorerService,"explore",function(W){return function(){let w=Q7.arrayify(W.call(this));return Lv1(w,d)}}),Z.call(this,...C)}})}else{let G=this.loadDependency();if(!G){Hm.DEBUG_BUILD&&Q7.logger.error("Apollo Integration was unable to require apollo-server-core package.");return}Q7.fill(G.ApolloServerBase.prototype,"constructSchema",function(Z){return function(){if(!this.config.resolvers){if(Hm.DEBUG_BUILD){if(this.config.schema)Q7.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `schema` property.If you are using NestJS with Apollo, please use `Sentry.Integrations.Apollo({ useNestjs: true })` instead."),Q7.logger.warn();else if(this.config.modules)Q7.logger.warn("Apollo integration is not able to trace `ApolloServer` instances constructed via `modules` property.");Q7.logger.error("Skipping tracing as no resolvers found on the `ApolloServer` instance.")}return Z.call(this)}let C=Q7.arrayify(this.config.resolvers);return this.config.resolvers=Lv1(C,d),Z.call(this)}})}}}Fm.__initStatic();function Lv1(I,d){return I.map((G)=>{return Object.keys(G).forEach((Z)=>{Object.keys(G[Z]).forEach((C)=>{if(typeof G[Z][C]!=="function")return;Gn2(G,Z,C,d)})}),G})}function Gn2(I,d,G,Z){Q7.fill(I[d],G,function(C){return function(...W){let B=Z().getScope().getSpan(),A=e11([B,"optionalAccess",(X)=>X.startChild,"call",(X)=>X({description:`${d}.${G}`,op:"graphql.resolve",origin:"auto.graphql.apollo"})]),V=C.call(this,...W);if(Q7.isThenable(V))return V.then((X)=>{return e11([A,"optionalAccess",(_)=>_.end,"call",(_)=>_()]),X});return e11([A,"optionalAccess",(X)=>X.end,"call",(X)=>X()]),V}})}yv1.Apollo=Fm});var uv1=Y(($v1,rX)=>{Object.defineProperty($v1,"__esModule",{value:!0});var zF=V0(),Cn2=[()=>{return new(zF.dynamicRequire(rX,"./apollo")).Apollo},()=>{return new(zF.dynamicRequire(rX,"./apollo")).Apollo({useNestjs:!0})},()=>{return new(zF.dynamicRequire(rX,"./graphql")).GraphQL},()=>{return new(zF.dynamicRequire(rX,"./mongo")).Mongo},()=>{return new(zF.dynamicRequire(rX,"./mongo")).Mongo({mongoose:!0})},()=>{return new(zF.dynamicRequire(rX,"./mysql")).Mysql},()=>{return new(zF.dynamicRequire(rX,"./postgres")).Postgres}];$v1.lazyLoadedNodePerformanceMonitoringIntegrations=Cn2});var kd=Y((Tv1)=>{Object.defineProperty(Tv1,"__esModule",{value:!0});var wn2=V0(),Bn2=wn2.GLOBAL_OBJ;Tv1.WINDOW=Bn2});var I01=Y((bv1)=>{Object.defineProperty(bv1,"__esModule",{value:!0});var Ov1=V4(),mv1=V0(),lv1=pI(),t11=kd();function Vn2(){if(t11.WINDOW.document)t11.WINDOW.document.addEventListener("visibilitychange",()=>{let I=Ov1.getActiveTransaction();if(t11.WINDOW.document.hidden&&I){let{op:G,status:Z}=Ov1.spanToJSON(I);if(lv1.DEBUG_BUILD&&mv1.logger.log(`[Tracing] Transaction: cancelled -> since tab moved to the background, op: ${G}`),!Z)I.setStatus("cancelled");I.setTag("visibilitychange","document.hidden"),I.end()}});else lv1.DEBUG_BUILD&&mv1.logger.warn("[Tracing] Could not set up background tab detection due to lack of global document")}bv1.registerBackgroundTabDetection=Vn2});var qN=Y((hv1)=>{Object.defineProperty(hv1,"__esModule",{value:!0});var Yn2=(I,d,G)=>{let Z,C;return(W)=>{if(d.value>=0){if(W||G){if(C=d.value-(Z||0),C||Z===void 0)Z=d.value,d.delta=C,I(d)}}}};hv1.bindReporter=Yn2});var kv1=Y((jv1)=>{Object.defineProperty(jv1,"__esModule",{value:!0});var Dn2=()=>{return`v3-${Date.now()}-${Math.floor(Math.random()*8999999999999)+1000000000000}`};jv1.generateUniqueID=Dn2});var ov=Y((xv1)=>{Object.defineProperty(xv1,"__esModule",{value:!0});var sv=kd(),Fn2=()=>{let I=sv.WINDOW.performance.timing,d=sv.WINDOW.performance.navigation.type,G={entryType:"navigation",startTime:0,type:d==2?"back_forward":d===1?"reload":"navigate"};for(let Z in I)if(Z!=="navigationStart"&&Z!=="toJSON")G[Z]=Math.max(I[Z]-I.navigationStart,0);return G},gn2=()=>{if(sv.WINDOW.__WEB_VITALS_POLYFILL__)return sv.WINDOW.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||Fn2());else return sv.WINDOW.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]};xv1.getNavigationEntry=gn2});var gm=Y((cv1)=>{Object.defineProperty(cv1,"__esModule",{value:!0});var Kn2=ov(),Nn2=()=>{let I=Kn2.getNavigationEntry();return I&&I.activationStart||0};cv1.getActivationStart=Nn2});var RN=Y((iv1)=>{Object.defineProperty(iv1,"__esModule",{value:!0});var pv1=kd(),Qn2=kv1(),fn2=gm(),qn2=ov(),Rn2=(I,d)=>{let G=qn2.getNavigationEntry(),Z="navigate";if(G)if(pv1.WINDOW.document&&pv1.WINDOW.document.prerendering||fn2.getActivationStart()>0)Z="prerender";else Z=G.type.replace(/_/g,"-");return{name:I,value:typeof d==="undefined"?-1:d,rating:"good",delta:0,entries:[],id:Qn2.generateUniqueID(),navigationType:Z}};iv1.initMetric=Rn2});var QF=Y((nv1)=>{Object.defineProperty(nv1,"__esModule",{value:!0});var vn2=(I,d,G)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(I)){let Z=new PerformanceObserver((C)=>{d(C.getEntries())});return Z.observe(Object.assign({type:I,buffered:!0},G||{})),Z}}catch(Z){}return};nv1.observe=vn2});var UN=Y((av1)=>{Object.defineProperty(av1,"__esModule",{value:!0});var rv1=kd(),Mn2=(I,d)=>{let G=(Z)=>{if(Z.type==="pagehide"||rv1.WINDOW.document.visibilityState==="hidden"){if(I(Z),d)removeEventListener("visibilitychange",G,!0),removeEventListener("pagehide",G,!0)}};if(rv1.WINDOW.document)addEventListener("visibilitychange",G,!0),addEventListener("pagehide",G,!0)};av1.onHidden=Mn2});var ov1=Y((sv1)=>{Object.defineProperty(sv1,"__esModule",{value:!0});var Ln2=qN(),yn2=RN(),Pn2=QF(),$n2=UN(),un2=(I,d={})=>{let G=yn2.initMetric("CLS",0),Z,C=0,W=[],w=(A)=>{A.forEach((V)=>{if(!V.hadRecentInput){let X=W[0],_=W[W.length-1];if(C&&W.length!==0&&V.startTime-_.startTime<1000&&V.startTime-X.startTime<5000)C+=V.value,W.push(V);else C=V.value,W=[V];if(C>G.value){if(G.value=C,G.entries=W,Z)Z()}}})},B=Pn2.observe("layout-shift",w);if(B){Z=Ln2.bindReporter(I,G,d.reportAllChanges);let A=()=>{w(B.takeRecords()),Z(!0)};return $n2.onHidden(A),A}return};sv1.onCLS=un2});var Nm=Y((ev1)=>{Object.defineProperty(ev1,"__esModule",{value:!0});var Jm=kd(),On2=UN(),Km=-1,mn2=()=>{if(Jm.WINDOW.document&&Jm.WINDOW.document.visibilityState)Km=Jm.WINDOW.document.visibilityState==="hidden"&&!Jm.WINDOW.document.prerendering?0:1/0},ln2=()=>{On2.onHidden(({timeStamp:I})=>{Km=I},!0)},bn2=()=>{if(Km<0)mn2(),ln2();return{get firstHiddenTime(){return Km}}};ev1.getVisibilityWatcher=bn2});var IE1=Y((tv1)=>{Object.defineProperty(tv1,"__esModule",{value:!0});var jn2=qN(),kn2=Nm(),xn2=RN(),cn2=QF(),pn2=UN(),in2=(I)=>{let d=kn2.getVisibilityWatcher(),G=xn2.initMetric("FID"),Z,C=(B)=>{if(B.startTime<d.firstHiddenTime)G.value=B.processingStart-B.startTime,G.entries.push(B),Z(!0)},W=(B)=>{B.forEach(C)},w=cn2.observe("first-input",W);if(Z=jn2.bindReporter(I,G),w)pn2.onHidden(()=>{W(w.takeRecords()),w.disconnect()},!0)};tv1.onFID=in2});var ZE1=Y((GE1)=>{Object.defineProperty(GE1,"__esModule",{value:!0});var rn2=QF(),dE1=0,d01=1/0,zm=0,an2=(I)=>{I.forEach((d)=>{if(d.interactionId)d01=Math.min(d01,d.interactionId),zm=Math.max(zm,d.interactionId),dE1=zm?(zm-d01)/7+1:0})},G01,sn2=()=>{return G01?dE1:performance.interactionCount||0},on2=()=>{if("interactionCount"in performance||G01)return;G01=rn2.observe("event",an2,{type:"event",buffered:!0,durationThreshold:0})};GE1.getInteractionCount=sn2;GE1.initInteractionCountPolyfill=on2});var VE1=Y((AE1)=>{Object.defineProperty(AE1,"__esModule",{value:!0});var Ir2=qN(),dr2=RN(),Gr2=QF(),Zr2=UN(),wE1=ZE1(),BE1=()=>{return wE1.getInteractionCount()},CE1=10,EA=[],Z01={},WE1=(I)=>{let d=EA[EA.length-1],G=Z01[I.interactionId];if(G||EA.length<CE1||I.duration>d.latency){if(G)G.entries.push(I),G.latency=Math.max(G.latency,I.duration);else{let Z={id:I.interactionId,latency:I.duration,entries:[I]};Z01[Z.id]=Z,EA.push(Z)}EA.sort((Z,C)=>C.latency-Z.latency),EA.splice(CE1).forEach((Z)=>{delete Z01[Z.id]})}},Cr2=()=>{let I=Math.min(EA.length-1,Math.floor(BE1()/50));return EA[I]},Wr2=(I,d)=>{d=d||{},wE1.initInteractionCountPolyfill();let G=dr2.initMetric("INP"),Z,C=(w)=>{w.forEach((A)=>{if(A.interactionId)WE1(A);if(A.entryType==="first-input"){if(!EA.some((X)=>{return X.entries.some((_)=>{return A.duration===_.duration&&A.startTime===_.startTime})}))WE1(A)}});let B=Cr2();if(B&&B.latency!==G.value)G.value=B.latency,G.entries=B.entries,Z()},W=Gr2.observe("event",C,{durationThreshold:d.durationThreshold||40});if(Z=Ir2.bindReporter(I,G,d.reportAllChanges),W)W.observe({type:"first-input",buffered:!0}),Zr2.onHidden(()=>{if(C(W.takeRecords()),G.value<0&&BE1()>0)G.value=0,G.entries=[];Z(!0)})};AE1.onINP=Wr2});var _E1=Y((YE1)=>{Object.defineProperty(YE1,"__esModule",{value:!0});var Br2=kd(),Ar2=qN(),Vr2=gm(),Xr2=Nm(),Yr2=RN(),_r2=QF(),Dr2=UN(),XE1={},Hr2=(I)=>{let d=Xr2.getVisibilityWatcher(),G=Yr2.initMetric("LCP"),Z,C=(w)=>{let B=w[w.length-1];if(B){let A=Math.max(B.startTime-Vr2.getActivationStart(),0);if(A<d.firstHiddenTime)G.value=A,G.entries=[B],Z()}},W=_r2.observe("largest-contentful-paint",C);if(W){Z=Ar2.bindReporter(I,G);let w=()=>{if(!XE1[G.id])C(W.takeRecords()),W.disconnect(),XE1[G.id]=!0,Z(!0)};return["keydown","click"].forEach((B)=>{if(Br2.WINDOW.document)addEventListener(B,w,{once:!0,capture:!0})}),Dr2.onHidden(w,!0),w}return};YE1.onLCP=Hr2});var HE1=Y((DE1)=>{Object.defineProperty(DE1,"__esModule",{value:!0});var C01=kd(),gr2=qN(),Jr2=gm(),Kr2=ov(),Nr2=RN(),W01=(I)=>{if(!C01.WINDOW.document)return;if(C01.WINDOW.document.prerendering)addEventListener("prerenderingchange",()=>W01(I),!0);else if(C01.WINDOW.document.readyState!=="complete")addEventListener("load",()=>W01(I),!0);else setTimeout(I,0)},zr2=(I,d)=>{d=d||{};let G=Nr2.initMetric("TTFB"),Z=gr2.bindReporter(I,G,d.reportAllChanges);W01(()=>{let C=Kr2.getNavigationEntry();if(C){if(G.value=Math.max(C.responseStart-Jr2.getActivationStart(),0),G.value<0||G.value>performance.now())return;G.entries=[C],Z(!0)}})};DE1.onTTFB=zr2});var EN=Y((qE1)=>{Object.defineProperty(qE1,"__esModule",{value:!0});var FE1=V0(),fr2=pI(),qr2=ov1(),Rr2=IE1(),Ur2=VE1(),vr2=_E1(),Er2=QF(),Mr2=HE1(),ev={},Qm={},gE1,JE1,KE1,NE1,zE1;function Sr2(I,d=!1){return tv("cls",I,Tr2,gE1,d)}function Lr2(I,d=!1){return tv("lcp",I,mr2,KE1,d)}function yr2(I){return tv("ttfb",I,lr2,NE1)}function Pr2(I){return tv("fid",I,Or2,JE1)}function $r2(I){return tv("inp",I,br2,zE1)}function ur2(I,d){if(QE1(I,d),!Qm[I])hr2(I),Qm[I]=!0;return fE1(I,d)}function vN(I,d){let G=ev[I];if(!G||!G.length)return;for(let Z of G)try{Z(d)}catch(C){fr2.DEBUG_BUILD&&FE1.logger.error(`Error while triggering instrumentation handler.
Type: ${I}
Name: ${FE1.getFunctionName(Z)}
Error:`,C)}}function Tr2(){return qr2.onCLS((I)=>{vN("cls",{metric:I}),gE1=I},{reportAllChanges:!0})}function Or2(){return Rr2.onFID((I)=>{vN("fid",{metric:I}),JE1=I})}function mr2(){return vr2.onLCP((I)=>{vN("lcp",{metric:I}),KE1=I})}function lr2(){return Mr2.onTTFB((I)=>{vN("ttfb",{metric:I}),NE1=I})}function br2(){return Ur2.onINP((I)=>{vN("inp",{metric:I}),zE1=I})}function tv(I,d,G,Z,C=!1){QE1(I,d);let W;if(!Qm[I])W=G(),Qm[I]=!0;if(Z)d({metric:Z});return fE1(I,d,C?W:void 0)}function hr2(I){let d={};if(I==="event")d.durationThreshold=0;Er2.observe(I,(G)=>{vN(I,{entries:G})},d)}function QE1(I,d){ev[I]=ev[I]||[],ev[I].push(d)}function fE1(I,d,G){return()=>{if(G)G();let Z=ev[I];if(!Z)return;let C=Z.indexOf(d);if(C!==-1)Z.splice(C,1)}}qE1.addClsInstrumentationHandler=Sr2;qE1.addFidInstrumentationHandler=Pr2;qE1.addInpInstrumentationHandler=$r2;qE1.addLcpInstrumentationHandler=Lr2;qE1.addPerformanceInstrumentationHandler=ur2;qE1.addTtfbInstrumentationHandler=yr2});var UE1=Y((RE1)=>{Object.defineProperty(RE1,"__esModule",{value:!0});function nr2(I){return typeof I==="number"&&isFinite(I)}function rr2(I,{startTimestamp:d,...G}){if(d&&I.startTimestamp>d)I.startTimestamp=d;return I.startChild({startTimestamp:d,...G})}RE1._startChild=rr2;RE1.isMeasurementValue=nr2});var A01=Y((LE1)=>{Object.defineProperty(LE1,"__esModule",{value:!0});var MA=V4(),N9=V0(),xd=pI(),fF=EN(),SA=kd(),or2=Nm(),LA=UE1(),er2=ov(),tr2=2147483647;function x6(I){return I/1000}function B01(){return SA.WINDOW&&SA.WINDOW.addEventListener&&SA.WINDOW.performance}var vE1=0,T3={},Yw,IE;function Ia2(){let I=B01();if(I&&N9.browserPerformanceTimeOrigin){if(I.mark)SA.WINDOW.performance.mark("sentry-tracing-init");let d=wa2(),G=Ca2(),Z=Wa2(),C=Ba2();return()=>{d(),G(),Z(),C()}}return()=>{return}}function da2(){fF.addPerformanceInstrumentationHandler("longtask",({entries:I})=>{for(let d of I){let G=MA.getActiveTransaction();if(!G)return;let Z=x6(N9.browserPerformanceTimeOrigin+d.startTime),C=x6(d.duration);G.startChild({description:"Main UI thread blocked",op:"ui.long-task",origin:"auto.ui.browser.metrics",startTimestamp:Z,endTimestamp:Z+C})}})}function Ga2(){fF.addPerformanceInstrumentationHandler("event",({entries:I})=>{for(let d of I){let G=MA.getActiveTransaction();if(!G)return;if(d.name==="click"){let Z=x6(N9.browserPerformanceTimeOrigin+d.startTime),C=x6(d.duration),W={description:N9.htmlTreeAsString(d.target),op:`ui.interaction.${d.name}`,origin:"auto.ui.browser.metrics",startTimestamp:Z,endTimestamp:Z+C},w=N9.getComponentName(d.target);if(w)W.attributes={"ui.component_name":w};G.startChild(W)}}})}function Za2(I,d){if(B01()&&N9.browserPerformanceTimeOrigin){let Z=Aa2(I,d);return()=>{Z()}}return()=>{return}}function Ca2(){return fF.addClsInstrumentationHandler(({metric:I})=>{let d=I.entries[I.entries.length-1];if(!d)return;xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding CLS"),T3.cls={value:I.value,unit:""},IE=d},!0)}function Wa2(){return fF.addLcpInstrumentationHandler(({metric:I})=>{let d=I.entries[I.entries.length-1];if(!d)return;xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding LCP"),T3.lcp={value:I.value,unit:"millisecond"},Yw=d},!0)}function wa2(){return fF.addFidInstrumentationHandler(({metric:I})=>{let d=I.entries[I.entries.length-1];if(!d)return;let G=x6(N9.browserPerformanceTimeOrigin),Z=x6(d.startTime);xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding FID"),T3.fid={value:I.value,unit:"millisecond"},T3["mark.fid"]={value:G+Z,unit:"second"}})}function Ba2(){return fF.addTtfbInstrumentationHandler(({metric:I})=>{if(!I.entries[I.entries.length-1])return;xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding TTFB"),T3.ttfb={value:I.value,unit:"millisecond"}})}var EE1={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function Aa2(I,d){return fF.addInpInstrumentationHandler(({metric:G})=>{if(G.value===void 0)return;let Z=G.entries.find((P)=>P.duration===G.value&&EE1[P.name]!==void 0),C=MA.getClient();if(!Z||!C)return;let W=EE1[Z.name],w=C.getOptions(),B=x6(N9.browserPerformanceTimeOrigin+Z.startTime),A=x6(G.value),V=Z.interactionId!==void 0?I[Z.interactionId]:void 0;if(V===void 0)return;let{routeName:X,parentContext:_,activeTransaction:F,user:g,replayId:J}=V,K=g!==void 0?g.email||g.id||g.ip_address:void 0,Q=F!==void 0?F.getProfileId():void 0,E=new MA.Span({startTimestamp:B,endTimestamp:B+A,op:`ui.interaction.${W}`,name:N9.htmlTreeAsString(Z.target),attributes:{release:w.release,environment:w.environment,transaction:X,...K!==void 0&&K!==""?{user:K}:{},...Q!==void 0?{profile_id:Q}:{},...J!==void 0?{replay_id:J}:{}},exclusiveTime:G.value,measurements:{inp:{value:G.value,unit:"millisecond"}}}),S=Fa2(_,w,d);if(!S)return;if(Math.random()<S){let P=E?MA.createSpanEnvelope([E],C.getDsn()):void 0,$=C&&C.getTransport();if($&&P)$.send(P).then(null,(h)=>{xd.DEBUG_BUILD&&N9.logger.error("Error while sending interaction:",h)});return}})}function Va2(I){let d=B01();if(!d||!SA.WINDOW.performance.getEntries||!N9.browserPerformanceTimeOrigin)return;xd.DEBUG_BUILD&&N9.logger.log("[Tracing] Adding & adjusting spans using Performance API");let G=x6(N9.browserPerformanceTimeOrigin),Z=d.getEntries(),{op:C,start_timestamp:W}=MA.spanToJSON(I);if(Z.slice(vE1).forEach((w)=>{let B=x6(w.startTime),A=x6(w.duration);if(I.op==="navigation"&&W&&G+B<W)return;switch(w.entryType){case"navigation":{Xa2(I,w,G);break}case"mark":case"paint":case"measure":{ME1(I,w,B,A,G);let V=or2.getVisibilityWatcher(),X=w.startTime<V.firstHiddenTime;if(w.name==="first-paint"&&X)xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding FP"),T3.fp={value:w.startTime,unit:"millisecond"};if(w.name==="first-contentful-paint"&&X)xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding FCP"),T3.fcp={value:w.startTime,unit:"millisecond"};break}case"resource":{SE1(I,w,w.name,B,A,G);break}}}),vE1=Math.max(Z.length-1,0),_a2(I),C==="pageload"){Ha2(T3),["fcp","fp","lcp"].forEach((B)=>{if(!T3[B]||!W||G>=W)return;let A=T3[B].value,V=G+x6(A),X=Math.abs((V-W)*1000),_=X-A;xd.DEBUG_BUILD&&N9.logger.log(`[Measurements] Normalized ${B} from ${A} to ${X} (${_})`),T3[B].value=X});let w=T3["mark.fid"];if(w&&T3.fid)LA._startChild(I,{description:"first input delay",endTimestamp:w.value+x6(T3.fid.value),op:"ui.action",origin:"auto.ui.browser.metrics",startTimestamp:w.value}),delete T3["mark.fid"];if(!("fcp"in T3))delete T3.cls;Object.keys(T3).forEach((B)=>{MA.setMeasurement(B,T3[B].value,T3[B].unit)}),Da2(I)}Yw=void 0,IE=void 0,T3={}}function ME1(I,d,G,Z,C){let W=C+G,w=W+Z;return LA._startChild(I,{description:d.name,endTimestamp:w,op:d.entryType,origin:"auto.resource.browser.metrics",startTimestamp:W}),W}function Xa2(I,d,G){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((Z)=>{fm(I,d,Z,G)}),fm(I,d,"secureConnection",G,"TLS/SSL","connectEnd"),fm(I,d,"fetch",G,"cache","domainLookupStart"),fm(I,d,"domainLookup",G,"DNS"),Ya2(I,d,G)}function fm(I,d,G,Z,C,W){let w=W?d[W]:d[`${G}End`],B=d[`${G}Start`];if(!B||!w)return;LA._startChild(I,{op:"browser",origin:"auto.browser.browser.metrics",description:C||G,startTimestamp:Z+x6(B),endTimestamp:Z+x6(w)})}function Ya2(I,d,G){if(d.responseEnd)LA._startChild(I,{op:"browser",origin:"auto.browser.browser.metrics",description:"request",startTimestamp:G+x6(d.requestStart),endTimestamp:G+x6(d.responseEnd)}),LA._startChild(I,{op:"browser",origin:"auto.browser.browser.metrics",description:"response",startTimestamp:G+x6(d.responseStart),endTimestamp:G+x6(d.responseEnd)})}function SE1(I,d,G,Z,C,W){if(d.initiatorType==="xmlhttprequest"||d.initiatorType==="fetch")return;let w=N9.parseUrl(G),B={};if(w01(B,d,"transferSize","http.response_transfer_size"),w01(B,d,"encodedBodySize","http.response_content_length"),w01(B,d,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in d)B["resource.render_blocking_status"]=d.renderBlockingStatus;if(w.protocol)B["url.scheme"]=w.protocol.split(":").pop();if(w.host)B["server.address"]=w.host;B["url.same_origin"]=G.includes(SA.WINDOW.location.origin);let A=W+Z,V=A+C;LA._startChild(I,{description:G.replace(SA.WINDOW.location.origin,""),endTimestamp:V,op:d.initiatorType?`resource.${d.initiatorType}`:"resource.other",origin:"auto.resource.browser.metrics",startTimestamp:A,data:B})}function _a2(I){let d=SA.WINDOW.navigator;if(!d)return;let G=d.connection;if(G){if(G.effectiveType)I.setTag("effectiveConnectionType",G.effectiveType);if(G.type)I.setTag("connectionType",G.type);if(LA.isMeasurementValue(G.rtt))T3["connection.rtt"]={value:G.rtt,unit:"millisecond"}}if(LA.isMeasurementValue(d.deviceMemory))I.setTag("deviceMemory",`${d.deviceMemory} GB`);if(LA.isMeasurementValue(d.hardwareConcurrency))I.setTag("hardwareConcurrency",String(d.hardwareConcurrency))}function Da2(I){if(Yw){if(xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding LCP Data"),Yw.element)I.setTag("lcp.element",N9.htmlTreeAsString(Yw.element));if(Yw.id)I.setTag("lcp.id",Yw.id);if(Yw.url)I.setTag("lcp.url",Yw.url.trim().slice(0,200));I.setTag("lcp.size",Yw.size)}if(IE&&IE.sources)xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding CLS Data"),IE.sources.forEach((d,G)=>I.setTag(`cls.source.${G+1}`,N9.htmlTreeAsString(d.node)))}function w01(I,d,G,Z){let C=d[G];if(C!=null&&C<tr2)I[Z]=C}function Ha2(I){let d=er2.getNavigationEntry();if(!d)return;let{responseStart:G,requestStart:Z}=d;if(Z<=G)xd.DEBUG_BUILD&&N9.logger.log("[Measurements] Adding TTFB Request Time"),I["ttfb.requestTime"]={value:G-Z,unit:"millisecond"}}function Fa2(I,d,G){if(!MA.hasTracingEnabled(d))return!1;let Z;if(I!==void 0&&typeof d.tracesSampler==="function")Z=d.tracesSampler({transactionContext:I,name:I.name,parentSampled:I.parentSampled,attributes:{...I.data,...I.attributes},location:SA.WINDOW.location});else if(I!==void 0&&I.sampled!==void 0)Z=I.sampled;else if(typeof d.tracesSampleRate!=="undefined")Z=d.tracesSampleRate;else Z=1;if(!MA.isValidSampleRate(Z))return xd.DEBUG_BUILD&&N9.logger.warn("[Tracing] Discarding interaction span because of invalid sample rate."),!1;if(Z===!0)return G;else if(Z===!1)return 0;return Z*G}LE1._addMeasureSpans=ME1;LE1._addResourceSpans=SE1;LE1.addPerformanceEntries=Va2;LE1.startTrackingINP=Za2;LE1.startTrackingInteractions=Ga2;LE1.startTrackingLongTasks=da2;LE1.startTrackingWebVitals=Ia2});var V01=Y((PE1)=>{Object.defineProperty(PE1,"__esModule",{value:!0});var _w=V4(),qF=V0();function qa2(I,d,G,Z,C="auto.http.browser"){if(!_w.hasTracingEnabled()||!I.fetchData)return;let W=d(I.fetchData.url);if(I.endTimestamp&&W){let g=I.fetchData.__span;if(!g)return;let J=Z[g];if(J)Ua2(J,I),delete Z[g];return}let w=_w.getCurrentScope(),B=_w.getClient(),{method:A,url:V}=I.fetchData,X=Ra2(V),_=X?qF.parseUrl(X).host:void 0,F=W?_w.startInactiveSpan({name:`${A} ${V}`,onlyIfParent:!0,attributes:{url:V,type:"fetch","http.method":A,"http.url":X,"server.address":_,[_w.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:C},op:"http.client"}):void 0;if(F)I.fetchData.__span=F.spanContext().spanId,Z[F.spanContext().spanId]=F;if(G(I.fetchData.url)&&B){let g=I.args[0];I.args[1]=I.args[1]||{};let J=I.args[1];J.headers=yE1(g,B,w,J,F)}return F}function yE1(I,d,G,Z,C){let W=C||G.getSpan(),w=_w.getIsolationScope(),{traceId:B,spanId:A,sampled:V,dsc:X}={...w.getPropagationContext(),...G.getPropagationContext()},_=W?_w.spanToTraceHeader(W):qF.generateSentryTraceHeader(B,A,V),F=qF.dynamicSamplingContextToSentryBaggageHeader(X||(W?_w.getDynamicSamplingContextFromSpan(W):_w.getDynamicSamplingContextFromClient(B,d,G))),g=Z.headers||(typeof Request!=="undefined"&&qF.isInstanceOf(I,Request)?I.headers:void 0);if(!g)return{"sentry-trace":_,baggage:F};else if(typeof Headers!=="undefined"&&qF.isInstanceOf(g,Headers)){let J=new Headers(g);if(J.append("sentry-trace",_),F)J.append(qF.BAGGAGE_HEADER_NAME,F);return J}else if(Array.isArray(g)){let J=[...g,["sentry-trace",_]];if(F)J.push([qF.BAGGAGE_HEADER_NAME,F]);return J}else{let J="baggage"in g?g.baggage:void 0,K=[];if(Array.isArray(J))K.push(...J);else if(J)K.push(J);if(F)K.push(F);return{...g,"sentry-trace":_,baggage:K.length>0?K.join(","):void 0}}}function Ra2(I){try{return new URL(I).href}catch(d){return}}function Ua2(I,d){if(d.response){_w.setHttpStatus(I,d.response.status);let G=d.response&&d.response.headers&&d.response.headers.get("content-length");if(G){let Z=parseInt(G);if(Z>0)I.setAttribute("http.response_content_length",Z)}}else if(d.error)I.setStatus("internal_error");I.end()}PE1.addTracingHeadersToFetchRequest=yE1;PE1.instrumentFetchRequest=qa2});var Rm=Y((lE1)=>{Object.defineProperty(lE1,"__esModule",{value:!0});var HC=V4(),FC=V0(),Ma2=V01(),Sa2=EN(),La2=kd(),qm=["localhost",/^\/(?!\/)/],X01={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0,tracingOrigins:qm,tracePropagationTargets:qm};function ya2(I){let{traceFetch:d,traceXHR:G,tracePropagationTargets:Z,tracingOrigins:C,shouldCreateSpanForRequest:W,enableHTTPTimings:w}={traceFetch:X01.traceFetch,traceXHR:X01.traceXHR,...I},B=typeof W==="function"?W:(X)=>!0,A=(X)=>TE1(X,Z||C),V={};if(d)FC.addFetchInstrumentationHandler((X)=>{let _=Ma2.instrumentFetchRequest(X,B,A,V);if(_){let F=mE1(X.fetchData.url),g=F?FC.parseUrl(F).host:void 0;_.setAttributes({"http.url":F,"server.address":g})}if(w&&_)$E1(_)});if(G)FC.addXhrInstrumentationHandler((X)=>{let _=OE1(X,B,A,V);if(w&&_)$E1(_)})}function Pa2(I){return I.entryType==="resource"&&"initiatorType"in I&&typeof I.nextHopProtocol==="string"&&(I.initiatorType==="fetch"||I.initiatorType==="xmlhttprequest")}function $E1(I){let{url:d}=HC.spanToJSON(I).data||{};if(!d||typeof d!=="string")return;let G=Sa2.addPerformanceInstrumentationHandler("resource",({entries:Z})=>{Z.forEach((C)=>{if(Pa2(C)&&C.name.endsWith(d))$a2(C).forEach((w)=>I.setAttribute(...w)),setTimeout(G)})})}function uE1(I){let d="unknown",G="unknown",Z="";for(let C of I){if(C==="/"){[d,G]=I.split("/");break}if(!isNaN(Number(C))){d=Z==="h"?"http":Z,G=I.split(Z)[1];break}Z+=C}if(Z===I)d=Z;return{name:d,version:G}}function Dw(I=0){return((FC.browserPerformanceTimeOrigin||performance.timeOrigin)+I)/1000}function $a2(I){let{name:d,version:G}=uE1(I.nextHopProtocol),Z=[];if(Z.push(["network.protocol.version",G],["network.protocol.name",d]),!FC.browserPerformanceTimeOrigin)return Z;return[...Z,["http.request.redirect_start",Dw(I.redirectStart)],["http.request.fetch_start",Dw(I.fetchStart)],["http.request.domain_lookup_start",Dw(I.domainLookupStart)],["http.request.domain_lookup_end",Dw(I.domainLookupEnd)],["http.request.connect_start",Dw(I.connectStart)],["http.request.secure_connection_start",Dw(I.secureConnectionStart)],["http.request.connection_end",Dw(I.connectEnd)],["http.request.request_start",Dw(I.requestStart)],["http.request.response_start",Dw(I.responseStart)],["http.request.response_end",Dw(I.responseEnd)]]}function TE1(I,d){return FC.stringMatchesSomePattern(I,d||qm)}function OE1(I,d,G,Z){let C=I.xhr,W=C&&C[FC.SENTRY_XHR_DATA_KEY];if(!HC.hasTracingEnabled()||!C||C.__sentry_own_request__||!W)return;let w=d(W.url);if(I.endTimestamp&&w){let g=C.__sentry_xhr_span_id__;if(!g)return;let J=Z[g];if(J&&W.status_code!==void 0)HC.setHttpStatus(J,W.status_code),J.end(),delete Z[g];return}let B=HC.getCurrentScope(),A=HC.getIsolationScope(),V=mE1(W.url),X=V?FC.parseUrl(V).host:void 0,_=w?HC.startInactiveSpan({name:`${W.method} ${W.url}`,onlyIfParent:!0,attributes:{type:"xhr","http.method":W.method,"http.url":V,url:W.url,"server.address":X,[HC.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]:"auto.http.browser"},op:"http.client"}):void 0;if(_)C.__sentry_xhr_span_id__=_.spanContext().spanId,Z[C.__sentry_xhr_span_id__]=_;let F=HC.getClient();if(C.setRequestHeader&&G(W.url)&&F){let{traceId:g,spanId:J,sampled:K,dsc:Q}={...A.getPropagationContext(),...B.getPropagationContext()},E=_?HC.spanToTraceHeader(_):FC.generateSentryTraceHeader(g,J,K),S=FC.dynamicSamplingContextToSentryBaggageHeader(Q||(_?HC.getDynamicSamplingContextFromSpan(_):HC.getDynamicSamplingContextFromClient(g,F,B)));ua2(C,E,S)}return _}function ua2(I,d,G){try{if(I.setRequestHeader("sentry-trace",d),G)I.setRequestHeader(FC.BAGGAGE_HEADER_NAME,G)}catch(Z){}}function mE1(I){try{return new URL(I,La2.WINDOW.location.origin).href}catch(d){return}}lE1.DEFAULT_TRACE_PROPAGATION_TARGETS=qm;lE1.defaultRequestInstrumentationOptions=X01;lE1.extractNetworkProtocol=uE1;lE1.instrumentOutgoingRequests=ya2;lE1.shouldAttachHeaders=TE1;lE1.xhrCallback=OE1});var jE1=Y((hE1)=>{Object.defineProperty(hE1,"__esModule",{value:!0});var dE=V0(),bE1=pI(),GE=kd();function ja2(I,d=!0,G=!0){if(!GE.WINDOW||!GE.WINDOW.location){bE1.DEBUG_BUILD&&dE.logger.warn("Could not initialize routing instrumentation due to invalid location");return}let Z=GE.WINDOW.location.href,C;if(d)C=I({name:GE.WINDOW.location.pathname,startTimestamp:dE.browserPerformanceTimeOrigin?dE.browserPerformanceTimeOrigin/1000:void 0,op:"pageload",origin:"auto.pageload.browser",metadata:{source:"url"}});if(G)dE.addHistoryInstrumentationHandler(({to:W,from:w})=>{if(w===void 0&&Z&&Z.indexOf(W)!==-1){Z=void 0;return}if(w!==W){if(Z=void 0,C)bE1.DEBUG_BUILD&&dE.logger.log(`[Tracing] Finishing current transaction with op: ${C.op}`),C.end();C=I({name:GE.WINDOW.location.pathname,op:"navigation",origin:"auto.navigation.browser",metadata:{source:"url"}})}})}hE1.instrumentRoutingWithDefaults=ja2});var rE1=Y((nE1)=>{Object.defineProperty(nE1,"__esModule",{value:!0});var gC=V4(),yA=V0(),aX=pI(),xa2=I01(),kE1=EN(),ZE=A01(),cE1=Rm(),ca2=jE1(),RF=kd(),pE1="BrowserTracing",pa2={...gC.TRACING_DEFAULTS,markBackgroundTransactions:!0,routingInstrumentation:ca2.instrumentRoutingWithDefaults,startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...cE1.defaultRequestInstrumentationOptions},xE1=10;class iE1{constructor(I){if(this.name=pE1,this._hasSetTracePropagationTargets=!1,gC.addTracingExtensions(),aX.DEBUG_BUILD)this._hasSetTracePropagationTargets=!!(I&&(I.tracePropagationTargets||I.tracingOrigins));if(this.options={...pa2,...I},this.options._experiments.enableLongTask!==void 0)this.options.enableLongTask=this.options._experiments.enableLongTask;if(I&&!I.tracePropagationTargets&&I.tracingOrigins)this.options.tracePropagationTargets=I.tracingOrigins;if(this._collectWebVitals=ZE.startTrackingWebVitals(),this._interactionIdToRouteNameMapping={},this.options.enableInp)ZE.startTrackingINP(this._interactionIdToRouteNameMapping,this.options.interactionsSampleRate);if(this.options.enableLongTask)ZE.startTrackingLongTasks();if(this.options._experiments.enableInteractions)ZE.startTrackingInteractions();this._latestRoute={name:void 0,context:void 0}}setupOnce(I,d){this._getCurrentHub=d;let Z=d().getClient(),C=Z&&Z.getOptions(),{routingInstrumentation:W,startTransactionOnLocationChange:w,startTransactionOnPageLoad:B,markBackgroundTransactions:A,traceFetch:V,traceXHR:X,shouldCreateSpanForRequest:_,enableHTTPTimings:F,_experiments:g}=this.options,J=C&&C.tracePropagationTargets,K=J||this.options.tracePropagationTargets;if(aX.DEBUG_BUILD&&this._hasSetTracePropagationTargets&&J)yA.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");if(W((Q)=>{let E=this._createRouteTransaction(Q);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(E,Q,d),E},B,w),A)xa2.registerBackgroundTabDetection();if(g.enableInteractions)this._registerInteractionListener();if(this.options.enableInp)this._registerInpInteractionListener();cE1.instrumentOutgoingRequests({traceFetch:V,traceXHR:X,tracePropagationTargets:K,shouldCreateSpanForRequest:_,enableHTTPTimings:F})}_createRouteTransaction(I){if(!this._getCurrentHub){aX.DEBUG_BUILD&&yA.logger.warn(`[Tracing] Did not create ${I.op} transaction because _getCurrentHub is invalid.`);return}let d=this._getCurrentHub(),{beforeNavigate:G,idleTimeout:Z,finalTimeout:C,heartbeatInterval:W}=this.options,w=I.op==="pageload",B;if(w){let F=w?Y01("sentry-trace"):"",g=w?Y01("baggage"):void 0,{traceId:J,dsc:K,parentSpanId:Q,sampled:E}=yA.propagationContextFromHeaders(F,g);B={traceId:J,parentSpanId:Q,parentSampled:E,...I,metadata:{...I.metadata,dynamicSamplingContext:K},trimEnd:!0}}else B={trimEnd:!0,...I};let A=typeof G==="function"?G(B):B,V=A===void 0?{...B,sampled:!1}:A;if(V.metadata=V.name!==B.name?{...V.metadata,source:"custom"}:V.metadata,this._latestRoute.name=V.name,this._latestRoute.context=V,V.sampled===!1)aX.DEBUG_BUILD&&yA.logger.log(`[Tracing] Will not send ${V.op} transaction because of beforeNavigate.`);aX.DEBUG_BUILD&&yA.logger.log(`[Tracing] Starting ${V.op} transaction on scope`);let{location:X}=RF.WINDOW,_=gC.startIdleTransaction(d,V,Z,C,!0,{location:X},W,w);if(w){if(RF.WINDOW.document){if(RF.WINDOW.document.addEventListener("readystatechange",()=>{if(["interactive","complete"].includes(RF.WINDOW.document.readyState))_.sendAutoFinishSignal()}),["interactive","complete"].includes(RF.WINDOW.document.readyState))_.sendAutoFinishSignal()}}return _.registerBeforeFinishCallback((F)=>{this._collectWebVitals(),ZE.addPerformanceEntries(F)}),_}_registerInteractionListener(){let I,d=()=>{let{idleTimeout:G,finalTimeout:Z,heartbeatInterval:C}=this.options,W="ui.action.click",w=gC.getActiveTransaction();if(w&&w.op&&["navigation","pageload"].includes(w.op)){aX.DEBUG_BUILD&&yA.logger.warn("[Tracing] Did not create ui.action.click transaction because a pageload or navigation transaction is in progress.");return}if(I)I.setFinishReason("interactionInterrupted"),I.end(),I=void 0;if(!this._getCurrentHub){aX.DEBUG_BUILD&&yA.logger.warn("[Tracing] Did not create ui.action.click transaction because _getCurrentHub is invalid.");return}if(!this._latestRoute.name){aX.DEBUG_BUILD&&yA.logger.warn("[Tracing] Did not create ui.action.click transaction because _latestRouteName is missing.");return}let B=this._getCurrentHub(),{location:A}=RF.WINDOW,V={name:this._latestRoute.name,op:"ui.action.click",trimEnd:!0,data:{[gC.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:this._latestRoute.context?ia2(this._latestRoute.context):"url"}};I=gC.startIdleTransaction(B,V,G,Z,!0,{location:A},C)};["click"].forEach((G)=>{if(RF.WINDOW.document)addEventListener(G,d,{once:!1,capture:!0})})}_registerInpInteractionListener(){let I=({entries:d})=>{let G=gC.getClient(),Z=G!==void 0&&G.getIntegrationByName!==void 0?G.getIntegrationByName("Replay"):void 0,C=Z!==void 0?Z.getReplayId():void 0,W=gC.getActiveTransaction(),w=gC.getCurrentScope(),B=w!==void 0?w.getUser():void 0;d.forEach((A)=>{if(na2(A)){let V=A.interactionId;if(V===void 0)return;let X=this._interactionIdToRouteNameMapping[V],_=A.duration,F=A.startTime,g=Object.keys(this._interactionIdToRouteNameMapping),J=g.length>0?g.reduce((K,Q)=>{return this._interactionIdToRouteNameMapping[K].duration<this._interactionIdToRouteNameMapping[Q].duration?K:Q}):void 0;if(A.entryType==="first-input"){if(g.map((Q)=>this._interactionIdToRouteNameMapping[Q]).some((Q)=>{return Q.duration===_&&Q.startTime===F}))return}if(!V)return;if(X)X.duration=Math.max(X.duration,_);else if(g.length<xE1||J===void 0||_>this._interactionIdToRouteNameMapping[J].duration){let K=this._latestRoute.name,Q=this._latestRoute.context;if(K&&Q){if(J&&Object.keys(this._interactionIdToRouteNameMapping).length>=xE1)delete this._interactionIdToRouteNameMapping[J];this._interactionIdToRouteNameMapping[V]={routeName:K,duration:_,parentContext:Q,user:B,activeTransaction:W,replayId:C,startTime:F}}}}})};kE1.addPerformanceInstrumentationHandler("event",I),kE1.addPerformanceInstrumentationHandler("first-input",I)}}function Y01(I){let d=yA.getDomElement(`meta[name=${I}]`);return d?d.getAttribute("content"):void 0}function ia2(I){let d=I.attributes&&I.attributes[gC.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],G=I.data&&I.data[gC.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],Z=I.metadata&&I.metadata.source;return d||G||Z}function na2(I){return"duration"in I}nE1.BROWSER_TRACING_INTEGRATION_ID=pE1;nE1.BrowserTracing=iE1;nE1.getMetaContent=Y01});var GM1=Y((dM1)=>{Object.defineProperty(dM1,"__esModule",{value:!0});var d6=V4(),nG=V0(),sX=pI(),oa2=I01(),aE1=EN(),CE=A01(),oE1=Rm(),cd=kd(),eE1="BrowserTracing",ea2={...d6.TRACING_DEFAULTS,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!1,interactionsSampleRate:1,_experiments:{},...oE1.defaultRequestInstrumentationOptions},ta2=(I={})=>{let d=sX.DEBUG_BUILD?!!(I.tracePropagationTargets||I.tracingOrigins):!1;if(d6.addTracingExtensions(),!I.tracePropagationTargets&&I.tracingOrigins)I.tracePropagationTargets=I.tracingOrigins;let G={...ea2,...I},Z=CE.startTrackingWebVitals(),C={};if(G.enableInp)CE.startTrackingINP(C,G.interactionsSampleRate);if(G.enableLongTask)CE.startTrackingLongTasks();if(G._experiments.enableInteractions)CE.startTrackingInteractions();let W={name:void 0,context:void 0};function w(B){let A=d6.getCurrentHub(),{beforeStartSpan:V,idleTimeout:X,finalTimeout:_,heartbeatInterval:F}=G,g=B.op==="pageload",J;if(g){let S=g?_01("sentry-trace"):"",P=g?_01("baggage"):void 0,{traceId:$,dsc:h,parentSpanId:O,sampled:T}=nG.propagationContextFromHeaders(S,P);J={traceId:$,parentSpanId:O,parentSampled:T,...B,metadata:{...B.metadata,dynamicSamplingContext:h},trimEnd:!0}}else J={trimEnd:!0,...B};let K=V?V(J):J;if(K.metadata=K.name!==J.name?{...K.metadata,source:"custom"}:K.metadata,W.name=K.name,W.context=K,K.sampled===!1)sX.DEBUG_BUILD&&nG.logger.log(`[Tracing] Will not send ${K.op} transaction because of beforeNavigate.`);sX.DEBUG_BUILD&&nG.logger.log(`[Tracing] Starting ${K.op} transaction on scope`);let{location:Q}=cd.WINDOW,E=d6.startIdleTransaction(A,K,X,_,!0,{location:Q},F,g);if(g&&cd.WINDOW.document){if(cd.WINDOW.document.addEventListener("readystatechange",()=>{if(["interactive","complete"].includes(cd.WINDOW.document.readyState))E.sendAutoFinishSignal()}),["interactive","complete"].includes(cd.WINDOW.document.readyState))E.sendAutoFinishSignal()}return E.registerBeforeFinishCallback((S)=>{Z(),CE.addPerformanceEntries(S)}),E}return{name:eE1,setupOnce:()=>{},afterAllSetup(B){let A=B.getOptions(),{markBackgroundSpan:V,traceFetch:X,traceXHR:_,shouldCreateSpanForRequest:F,enableHTTPTimings:g,_experiments:J}=G,K=A&&A.tracePropagationTargets,Q=K||G.tracePropagationTargets;if(sX.DEBUG_BUILD&&d&&K)nG.logger.warn("[Tracing] The `tracePropagationTargets` option was set in the BrowserTracing integration and top level `Sentry.init`. The top level `Sentry.init` value is being used.");let E,S=cd.WINDOW.location&&cd.WINDOW.location.href;if(B.on)B.on("startNavigationSpan",(P)=>{if(E)sX.DEBUG_BUILD&&nG.logger.log(`[Tracing] Finishing current transaction with op: ${d6.spanToJSON(E).op}`),E.end();E=w({op:"navigation",...P})}),B.on("startPageLoadSpan",(P)=>{if(E)sX.DEBUG_BUILD&&nG.logger.log(`[Tracing] Finishing current transaction with op: ${d6.spanToJSON(E).op}`),E.end();E=w({op:"pageload",...P})});if(G.instrumentPageLoad&&B.emit&&cd.WINDOW.location){let P={name:cd.WINDOW.location.pathname,startTimestamp:nG.browserPerformanceTimeOrigin?nG.browserPerformanceTimeOrigin/1000:void 0,origin:"auto.pageload.browser",attributes:{[d6.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}};tE1(B,P)}if(G.instrumentNavigation&&B.emit&&cd.WINDOW.location)nG.addHistoryInstrumentationHandler(({to:P,from:$})=>{if($===void 0&&S&&S.indexOf(P)!==-1){S=void 0;return}if($!==P){S=void 0;let h={name:cd.WINDOW.location.pathname,origin:"auto.navigation.browser",attributes:{[d6.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:"url"}};IM1(B,h)}});if(V)oa2.registerBackgroundTabDetection();if(J.enableInteractions)Is2(G,W);if(G.enableInp)Gs2(C,W);oE1.instrumentOutgoingRequests({traceFetch:X,traceXHR:_,tracePropagationTargets:Q,shouldCreateSpanForRequest:F,enableHTTPTimings:g})},options:G}};function tE1(I,d){if(!I.emit)return;I.emit("startPageLoadSpan",d);let G=d6.getActiveSpan();return(G&&d6.spanToJSON(G).op)==="pageload"?G:void 0}function IM1(I,d){if(!I.emit)return;I.emit("startNavigationSpan",d);let G=d6.getActiveSpan();return(G&&d6.spanToJSON(G).op)==="navigation"?G:void 0}function _01(I){let d=nG.getDomElement(`meta[name=${I}]`);return d?d.getAttribute("content"):void 0}function Is2(I,d){let G,Z=()=>{let{idleTimeout:C,finalTimeout:W,heartbeatInterval:w}=I,B="ui.action.click",A=d6.getActiveTransaction();if(A&&A.op&&["navigation","pageload"].includes(A.op)){sX.DEBUG_BUILD&&nG.logger.warn("[Tracing] Did not create ui.action.click transaction because a pageload or navigation transaction is in progress.");return}if(G)G.setFinishReason("interactionInterrupted"),G.end(),G=void 0;if(!d.name){sX.DEBUG_BUILD&&nG.logger.warn("[Tracing] Did not create ui.action.click transaction because _latestRouteName is missing.");return}let{location:V}=cd.WINDOW,X={name:d.name,op:"ui.action.click",trimEnd:!0,data:{[d6.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:d.context?Zs2(d.context):"url"}};G=d6.startIdleTransaction(d6.getCurrentHub(),X,C,W,!0,{location:V},w)};["click"].forEach((C)=>{if(cd.WINDOW.document)addEventListener(C,Z,{once:!1,capture:!0})})}function ds2(I){return"duration"in I}var sE1=10;function Gs2(I,d){let G=({entries:Z})=>{let C=d6.getClient(),W=C!==void 0&&C.getIntegrationByName!==void 0?C.getIntegrationByName("Replay"):void 0,w=W!==void 0?W.getReplayId():void 0,B=d6.getActiveTransaction(),A=d6.getCurrentScope(),V=A!==void 0?A.getUser():void 0;Z.forEach((X)=>{if(ds2(X)){let _=X.interactionId;if(_===void 0)return;let F=I[_],g=X.duration,J=X.startTime,K=Object.keys(I),Q=K.length>0?K.reduce((E,S)=>{return I[E].duration<I[S].duration?E:S}):void 0;if(X.entryType==="first-input"){if(K.map((S)=>I[S]).some((S)=>{return S.duration===g&&S.startTime===J}))return}if(!_)return;if(F)F.duration=Math.max(F.duration,g);else if(K.length<sE1||Q===void 0||g>I[Q].duration){let{name:E,context:S}=d;if(E&&S){if(Q&&Object.keys(I).length>=sE1)delete I[Q];I[_]={routeName:E,duration:g,parentContext:S,user:V,activeTransaction:B,replayId:w,startTime:J}}}}})};aE1.addPerformanceInstrumentationHandler("event",G),aE1.addPerformanceInstrumentationHandler("first-input",G)}function Zs2(I){let d=I.attributes&&I.attributes[d6.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],G=I.data&&I.data[d6.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE],Z=I.metadata&&I.metadata.source;return d||G||Z}dM1.BROWSER_TRACING_INTEGRATION_ID=eE1;dM1.browserTracingIntegration=ta2;dM1.getMetaContent=_01;dM1.startBrowserTracingNavigationSpan=IM1;dM1.startBrowserTracingPageLoadSpan=tE1});var WM1=Y((CM1,WE)=>{Object.defineProperty(CM1,"__esModule",{value:!0});var ZM1=V4(),MN=V0();function Vs2(){let I=ZM1.getMainCarrier();if(!I.__SENTRY__)return;let d={mongodb(){return new(MN.dynamicRequire(WE,"./node/integrations/mongo")).Mongo},mongoose(){return new(MN.dynamicRequire(WE,"./node/integrations/mongo")).Mongo},mysql(){return new(MN.dynamicRequire(WE,"./node/integrations/mysql")).Mysql},pg(){return new(MN.dynamicRequire(WE,"./node/integrations/postgres")).Postgres}},G=Object.keys(d).filter((Z)=>!!MN.loadModule(Z)).map((Z)=>{try{return d[Z]()}catch(C){return}}).filter((Z)=>Z);if(G.length>0)I.__SENTRY__.integrations=[...I.__SENTRY__.integrations||[],...G]}function Xs2(){if(ZM1.addTracingExtensions(),MN.isNodeEnv())Vs2()}CM1.addExtensionMethods=Xs2});var H01=Y((XM1)=>{Object.defineProperty(XM1,"__esModule",{value:!0});var PA=V4(),wM1=V0(),_s2=gv1(),Ds2=Kv1(),Hs2=zv1(),Fs2=qv1(),gs2=vv1(),Js2=Sv1(),Ks2=Pv1(),Ns2=uv1(),BM1=rE1(),D01=GM1(),AM1=Rm(),Um=EN(),VM1=V01(),zs2=WM1();XM1.IdleTransaction=PA.IdleTransaction;XM1.Span=PA.Span;XM1.SpanStatus=PA.SpanStatus;XM1.Transaction=PA.Transaction;XM1.extractTraceparentData=PA.extractTraceparentData;XM1.getActiveTransaction=PA.getActiveTransaction;XM1.hasTracingEnabled=PA.hasTracingEnabled;XM1.spanStatusfromHttpCode=PA.spanStatusfromHttpCode;XM1.startIdleTransaction=PA.startIdleTransaction;XM1.TRACEPARENT_REGEXP=wM1.TRACEPARENT_REGEXP;XM1.stripUrlQueryAndFragment=wM1.stripUrlQueryAndFragment;XM1.Express=_s2.Express;XM1.Postgres=Ds2.Postgres;XM1.Mysql=Hs2.Mysql;XM1.Mongo=Fs2.Mongo;XM1.Prisma=gs2.Prisma;XM1.GraphQL=Js2.GraphQL;XM1.Apollo=Ks2.Apollo;XM1.lazyLoadedNodePerformanceMonitoringIntegrations=Ns2.lazyLoadedNodePerformanceMonitoringIntegrations;XM1.BROWSER_TRACING_INTEGRATION_ID=BM1.BROWSER_TRACING_INTEGRATION_ID;XM1.BrowserTracing=BM1.BrowserTracing;XM1.browserTracingIntegration=D01.browserTracingIntegration;XM1.startBrowserTracingNavigationSpan=D01.startBrowserTracingNavigationSpan;XM1.startBrowserTracingPageLoadSpan=D01.startBrowserTracingPageLoadSpan;XM1.defaultRequestInstrumentationOptions=AM1.defaultRequestInstrumentationOptions;XM1.instrumentOutgoingRequests=AM1.instrumentOutgoingRequests;XM1.addClsInstrumentationHandler=Um.addClsInstrumentationHandler;XM1.addFidInstrumentationHandler=Um.addFidInstrumentationHandler;XM1.addLcpInstrumentationHandler=Um.addLcpInstrumentationHandler;XM1.addPerformanceInstrumentationHandler=Um.addPerformanceInstrumentationHandler;XM1.addTracingHeadersToFetchRequest=VM1.addTracingHeadersToFetchRequest;XM1.instrumentFetchRequest=VM1.instrumentFetchRequest;XM1.addExtensionMethods=zs2.addExtensionMethods});var _M1=Y((YM1)=>{Object.defineProperty(YM1,"__esModule",{value:!0});var Io2=H01(),do2=V0();function Go2(){let I=Io2.lazyLoadedNodePerformanceMonitoringIntegrations.map((d)=>{try{return d()}catch(G){return}}).filter((d)=>!!d);if(I.length===0)do2.logger.warn("Performance monitoring integrations could not be automatically loaded.");return I.filter((d)=>!!d.loadDependency())}YM1.autoDiscoverNodePerformanceMonitoringIntegrations=Go2});var F01=Y((FM1)=>{Object.defineProperty(FM1,"__esModule",{value:!0});var Co2=B1("os"),Wo2=B1("util"),DM1=V4();class HM1 extends DM1.ServerRuntimeClient{constructor(I){DM1.applySdkMetadata(I,"node"),I.transportOptions={textEncoder:new Wo2.TextEncoder,...I.transportOptions};let d={...I,platform:"node",runtime:{name:"node",version:global.process.version},serverName:I.serverName||global.process.env.SENTRY_NAME||Co2.hostname()};super(d)}}FM1.NodeClient=HM1});var zM1=Y((NM1)=>{var{_nullishCoalesce:gM1}=V0();Object.defineProperty(NM1,"__esModule",{value:!0});var JM1=B1("http");B1("https");var Hw=Symbol("AgentBaseInternalState");class KM1 extends JM1.Agent{constructor(I){super(I);this[Hw]={}}isSecureEndpoint(I){if(I){if(typeof I.secureEndpoint==="boolean")return I.secureEndpoint;if(typeof I.protocol==="string")return I.protocol==="https:"}let{stack:d}=new Error;if(typeof d!=="string")return!1;return d.split(`
`).some((G)=>G.indexOf("(https.js:")!==-1||G.indexOf("node:https:")!==-1)}createSocket(I,d,G){let Z={...d,secureEndpoint:this.isSecureEndpoint(d)};Promise.resolve().then(()=>this.connect(I,Z)).then((C)=>{if(C instanceof JM1.Agent)return C.addRequest(I,Z);this[Hw].currentSocket=C,super.createSocket(I,d,G)},G)}createConnection(){let I=this[Hw].currentSocket;if(this[Hw].currentSocket=void 0,!I)throw new Error("No socket was returned in the `connect()` function");return I}get defaultPort(){return gM1(this[Hw].defaultPort,()=>this.protocol==="https:"?443:80)}set defaultPort(I){if(this[Hw])this[Hw].defaultPort=I}get protocol(){return gM1(this[Hw].protocol,()=>this.isSecureEndpoint()?"https:":"http:")}set protocol(I){if(this[Hw])this[Hw].protocol=I}}NM1.Agent=KM1});var fM1=Y((QM1)=>{Object.defineProperty(QM1,"__esModule",{value:!0});var Ao2=V0();function vm(...I){Ao2.logger.log("[https-proxy-agent:parse-proxy-response]",...I)}function Vo2(I){return new Promise((d,G)=>{let Z=0,C=[];function W(){let X=I.read();if(X)V(X);else I.once("readable",W)}function w(){I.removeListener("end",B),I.removeListener("error",A),I.removeListener("readable",W)}function B(){w(),vm("onend"),G(new Error("Proxy connection ended before receiving CONNECT response"))}function A(X){w(),vm("onerror %o",X),G(X)}function V(X){C.push(X),Z+=X.length;let _=Buffer.concat(C,Z),F=_.indexOf(`\r
\r
`);if(F===-1){vm("have not received end of HTTP headers yet..."),W();return}let g=_.slice(0,F).toString("ascii").split(`\r
`),J=g.shift();if(!J)return I.destroy(),G(new Error("No header received from proxy CONNECT response"));let K=J.split(" "),Q=+K[1],E=K.slice(2).join(" "),S={};for(let P of g){if(!P)continue;let $=P.indexOf(":");if($===-1)return I.destroy(),G(new Error(`Invalid header from proxy CONNECT response: "${P}"`));let h=P.slice(0,$).toLowerCase(),O=P.slice($+1).trimStart(),T=S[h];if(typeof T==="string")S[h]=[T,O];else if(Array.isArray(T))T.push(O);else S[h]=O}vm("got proxy server response: %o %o",J,S),w(),d({connect:{statusCode:Q,statusText:E,headers:S},buffered:_})}I.on("error",A),I.on("end",B),W()})}QM1.parseProxyResponse=Vo2});var vM1=Y((UM1)=>{var{_nullishCoalesce:Yo2,_optionalChain:_o2}=V0();Object.defineProperty(UM1,"__esModule",{value:!0});var wE=B1("net"),qM1=B1("tls"),Do2=B1("url"),Ho2=V0(),Fo2=zM1(),go2=fM1();function BE(...I){Ho2.logger.log("[https-proxy-agent]",...I)}class g01 extends Fo2.Agent{static __initStatic(){this.protocols=["http","https"]}constructor(I,d){super(d);this.options={},this.proxy=typeof I==="string"?new Do2.URL(I):I,this.proxyHeaders=Yo2(_o2([d,"optionalAccess",(C)=>C.headers]),()=>({})),BE("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let G=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),Z=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...d?RM1(d,"headers"):null,host:G,port:Z}}async connect(I,d){let{proxy:G}=this;if(!d.host)throw new TypeError('No "host" provided');let Z;if(G.protocol==="https:"){BE("Creating `tls.Socket`: %o",this.connectOpts);let _=this.connectOpts.servername||this.connectOpts.host;Z=qM1.connect({...this.connectOpts,servername:_&&wE.isIP(_)?void 0:_})}else BE("Creating `net.Socket`: %o",this.connectOpts),Z=wE.connect(this.connectOpts);let C=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},W=wE.isIPv6(d.host)?`[${d.host}]`:d.host,w=`CONNECT ${W}:${d.port} HTTP/1.1\r
`;if(G.username||G.password){let _=`${decodeURIComponent(G.username)}:${decodeURIComponent(G.password)}`;C["Proxy-Authorization"]=`Basic ${Buffer.from(_).toString("base64")}`}if(C.Host=`${W}:${d.port}`,!C["Proxy-Connection"])C["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let _ of Object.keys(C))w+=`${_}: ${C[_]}\r
`;let B=go2.parseProxyResponse(Z);Z.write(`${w}\r
`);let{connect:A,buffered:V}=await B;if(I.emit("proxyConnect",A),this.emit("proxyConnect",A,I),A.statusCode===200){if(I.once("socket",Jo2),d.secureEndpoint){BE("Upgrading socket connection to TLS");let _=d.servername||d.host;return qM1.connect({...RM1(d,"host","path","port"),socket:Z,servername:wE.isIP(_)?void 0:_})}return Z}Z.destroy();let X=new wE.Socket({writable:!1});return X.readable=!0,I.once("socket",(_)=>{BE("Replaying proxy buffer for failed request"),_.push(V),_.push(null)}),X}}g01.__initStatic();function Jo2(I){I.resume()}function RM1(I,...d){let G={},Z;for(Z in I)if(!d.includes(Z))G[Z]=I[Z];return G}UM1.HttpsProxyAgent=g01});var K01=Y((SM1)=>{var{_nullishCoalesce:J01}=V0();Object.defineProperty(SM1,"__esModule",{value:!0});var No2=B1("http"),zo2=B1("https"),Qo2=B1("stream"),MM1=B1("url"),fo2=B1("zlib"),EM1=V4(),qo2=V0(),Ro2=vM1(),Uo2=32768;function vo2(I){return new Qo2.Readable({read(){this.push(I),this.push(null)}})}function Eo2(I){let d;try{d=new MM1.URL(I.url)}catch(A){return qo2.consoleSandbox(()=>{console.warn("[@sentry/node]: Invalid dsn or tunnel option, will not send any events. The tunnel option must be a full URL when used.")}),EM1.createTransport(I,()=>Promise.resolve({}))}let G=d.protocol==="https:",Z=Mo2(d,I.proxy||(G?process.env.https_proxy:void 0)||process.env.http_proxy),C=G?zo2:No2,W=I.keepAlive===void 0?!1:I.keepAlive,w=Z?new Ro2.HttpsProxyAgent(Z):new C.Agent({keepAlive:W,maxSockets:30,timeout:2000}),B=So2(I,J01(I.httpModule,()=>C),w);return EM1.createTransport(I,B)}function Mo2(I,d){let{no_proxy:G}=process.env;if(G&&G.split(",").some((C)=>I.host.endsWith(C)||I.hostname.endsWith(C)))return;else return d}function So2(I,d,G){let{hostname:Z,pathname:C,port:W,protocol:w,search:B}=new MM1.URL(I.url);return function A(V){return new Promise((X,_)=>{let F=vo2(V.body),g={...I.headers};if(V.body.length>Uo2)g["content-encoding"]="gzip",F=F.pipe(fo2.createGzip());let J=d.request({method:"POST",agent:G,headers:g,hostname:Z,path:`${C}${B}`,port:W,protocol:w,ca:I.caCerts},(K)=>{K.on("data",()=>{}),K.on("end",()=>{}),K.setEncoding("utf8");let Q=J01(K.headers["retry-after"],()=>null),E=J01(K.headers["x-sentry-rate-limits"],()=>null);X({statusCode:K.statusCode,headers:{"retry-after":Q,"x-sentry-rate-limits":Array.isArray(E)?E[0]:E}})});J.on("error",_),F.pipe(J)})}}SM1.makeNodeTransport=Eo2});var UF=Y((LM1)=>{Object.defineProperty(LM1,"__esModule",{value:!0});var yo2=V0(),Po2=yo2.parseSemver(process.versions.node);LM1.NODE_VERSION=Po2});var uM1=Y(($M1)=>{var{_optionalChain:uo2}=V0();Object.defineProperty($M1,"__esModule",{value:!0});var yM1=B1("domain"),vF=V4();function PM1(){return yM1.active}function To2(){let I=PM1();if(!I)return;return vF.ensureHubOnCarrier(I),vF.getHubFromCarrier(I)}function Oo2(I){let d={};return vF.ensureHubOnCarrier(d,I),vF.getHubFromCarrier(d)}function mo2(I,d){let G=PM1();if(G&&uo2([d,"optionalAccess",(w)=>w.reuseExisting]))return I();let Z=yM1.create(),C=G?vF.getHubFromCarrier(G):void 0,W=Oo2(C);return vF.setHubOnCarrier(Z,W),Z.bind(()=>{return I()})()}function lo2(){vF.setAsyncContextStrategy({getCurrentHub:To2,runWithAsyncContext:mo2})}$M1.setDomainAsyncContextStrategy=lo2});var OM1=Y((TM1)=>{var{_optionalChain:ho2}=V0();Object.defineProperty(TM1,"__esModule",{value:!0});var N01=V4(),jo2=B1("async_hooks"),Em;function ko2(){if(!Em)Em=new jo2.AsyncLocalStorage;function I(){return Em.getStore()}function d(Z){let C={};return N01.ensureHubOnCarrier(C,Z),N01.getHubFromCarrier(C)}function G(Z,C){let W=I();if(W&&ho2([C,"optionalAccess",(B)=>B.reuseExisting]))return Z();let w=d(W);return Em.run(w,()=>{return Z()})}N01.setAsyncContextStrategy({getCurrentHub:I,runWithAsyncContext:G})}TM1.setHooksAsyncContextStrategy=ko2});var lM1=Y((mM1)=>{Object.defineProperty(mM1,"__esModule",{value:!0});var co2=UF(),po2=uM1(),io2=OM1();function no2(){if(co2.NODE_VERSION.major>=14)io2.setHooksAsyncContextStrategy();else po2.setDomainAsyncContextStrategy()}mM1.setNodeAsyncContextStrategy=no2});var Sm=Y((kM1)=>{Object.defineProperty(kM1,"__esModule",{value:!0});var ao2=B1("util"),Mm=V4(),bM1=V0(),hM1="Console",so2=()=>{return{name:hM1,setupOnce(){},setup(I){bM1.addConsoleInstrumentationHandler(({args:d,level:G})=>{if(Mm.getClient()!==I)return;Mm.addBreadcrumb({category:"console",level:bM1.severityLevelFromString(G),message:ao2.format.apply(void 0,d)},{input:[...d],level:G})})}}},jM1=Mm.defineIntegration(so2),oo2=Mm.convertIntegrationFnToClass(hM1,jM1);kM1.Console=oo2;kM1.consoleIntegration=jM1});var Lm=Y((eM1)=>{var{_optionalChain:EF}=V0();Object.defineProperty(eM1,"__esModule",{value:!0});var Ie2=B1("child_process"),cM1=B1("fs"),rG=B1("os"),de2=B1("path"),pM1=B1("util"),iM1=V4(),nM1=pM1.promisify(cM1.readFile),rM1=pM1.promisify(cM1.readdir),aM1="Context",Ge2=(I={})=>{let d,G={app:!0,os:!0,device:!0,culture:!0,cloudResource:!0,...I};async function Z(W){if(d===void 0)d=C();let w=Ce2(await d);return W.contexts={...W.contexts,app:{...w.app,...EF([W,"access",(B)=>B.contexts,"optionalAccess",(B)=>B.app])},os:{...w.os,...EF([W,"access",(B)=>B.contexts,"optionalAccess",(B)=>B.os])},device:{...w.device,...EF([W,"access",(B)=>B.contexts,"optionalAccess",(B)=>B.device])},culture:{...w.culture,...EF([W,"access",(B)=>B.contexts,"optionalAccess",(B)=>B.culture])},cloud_resource:{...w.cloud_resource,...EF([W,"access",(B)=>B.contexts,"optionalAccess",(B)=>B.cloud_resource])}},W}async function C(){let W={};if(G.os)W.os=await We2();if(G.app)W.app=Be2();if(G.device)W.device=oM1(G.device);if(G.culture){let w=we2();if(w)W.culture=w}if(G.cloudResource)W.cloud_resource=De2();return W}return{name:aM1,setupOnce(){},processEvent(W){return Z(W)}}},sM1=iM1.defineIntegration(Ge2),Ze2=iM1.convertIntegrationFnToClass(aM1,sM1);function Ce2(I){if(EF([I,"optionalAccess",(d)=>d.app,"optionalAccess",(d)=>d.app_memory]))I.app.app_memory=process.memoryUsage().rss;if(EF([I,"optionalAccess",(d)=>d.device,"optionalAccess",(d)=>d.free_memory]))I.device.free_memory=rG.freemem();return I}async function We2(){let I=rG.platform();switch(I){case"darwin":return Ye2();case"linux":return _e2();default:return{name:Ae2[I]||I,version:rG.release()}}}function we2(){try{if(typeof process.versions.icu!=="string")return;let I=new Date(900000000);if(new Intl.DateTimeFormat("es",{month:"long"}).format(I)==="enero"){let G=Intl.DateTimeFormat().resolvedOptions();return{locale:G.locale,timezone:G.timeZone}}}catch(I){}return}function Be2(){let I=process.memoryUsage().rss;return{app_start_time:new Date(Date.now()-process.uptime()*1000).toISOString(),app_memory:I}}function oM1(I){let d={},G;try{G=rG.uptime&&rG.uptime()}catch(Z){}if(typeof G==="number")d.boot_time=new Date(Date.now()-G*1000).toISOString();if(d.arch=rG.arch(),I===!0||I.memory)d.memory_size=rG.totalmem(),d.free_memory=rG.freemem();if(I===!0||I.cpu){let Z=rG.cpus();if(Z&&Z.length){let C=Z[0];d.processor_count=Z.length,d.cpu_description=C.model,d.processor_frequency=C.speed}}return d}var Ae2={aix:"IBM AIX",freebsd:"FreeBSD",openbsd:"OpenBSD",sunos:"SunOS",win32:"Windows"},Ve2=[{name:"fedora-release",distros:["Fedora"]},{name:"redhat-release",distros:["Red Hat Linux","Centos"]},{name:"redhat_version",distros:["Red Hat Linux"]},{name:"SuSE-release",distros:["SUSE Linux"]},{name:"lsb-release",distros:["Ubuntu Linux","Arch Linux"]},{name:"debian_version",distros:["Debian"]},{name:"debian_release",distros:["Debian"]},{name:"arch-release",distros:["Arch Linux"]},{name:"gentoo-release",distros:["Gentoo Linux"]},{name:"novell-release",distros:["SUSE Linux"]},{name:"alpine-release",distros:["Alpine Linux"]}],Xe2={alpine:(I)=>I,arch:(I)=>Fw(/distrib_release=(.*)/,I),centos:(I)=>Fw(/release ([^ ]+)/,I),debian:(I)=>I,fedora:(I)=>Fw(/release (..)/,I),mint:(I)=>Fw(/distrib_release=(.*)/,I),red:(I)=>Fw(/release ([^ ]+)/,I),suse:(I)=>Fw(/VERSION = (.*)\n/,I),ubuntu:(I)=>Fw(/distrib_release=(.*)/,I)};function Fw(I,d){let G=I.exec(d);return G?G[1]:void 0}async function Ye2(){let I={kernel_version:rG.release(),name:"Mac OS X",version:`10.${Number(rG.release().split(".")[0])-4}`};try{let d=await new Promise((G,Z)=>{Ie2.execFile("/usr/bin/sw_vers",(C,W)=>{if(C){Z(C);return}G(W)})});I.name=Fw(/^ProductName:\s+(.*)$/m,d),I.version=Fw(/^ProductVersion:\s+(.*)$/m,d),I.build=Fw(/^BuildVersion:\s+(.*)$/m,d)}catch(d){}return I}function xM1(I){return I.split(" ")[0].toLowerCase()}async function _e2(){let I={kernel_version:rG.release(),name:"Linux"};try{let d=await rM1("/etc"),G=Ve2.find((B)=>d.includes(B.name));if(!G)return I;let Z=de2.join("/etc",G.name),C=(await nM1(Z,{encoding:"utf-8"})).toLowerCase(),{distros:W}=G;I.name=W.find((B)=>C.indexOf(xM1(B))>=0)||W[0];let w=xM1(I.name);I.version=Xe2[w](C)}catch(d){}return I}function De2(){if(process.env.VERCEL)return{"cloud.provider":"vercel","cloud.region":process.env.VERCEL_REGION};else if(process.env.AWS_REGION)return{"cloud.provider":"aws","cloud.region":process.env.AWS_REGION,"cloud.platform":process.env.AWS_EXECUTION_ENV};else if(process.env.GCP_PROJECT)return{"cloud.provider":"gcp"};else if(process.env.ALIYUN_REGION_ID)return{"cloud.provider":"alibaba_cloud","cloud.region":process.env.ALIYUN_REGION_ID};else if(process.env.WEBSITE_SITE_NAME&&process.env.REGION_NAME)return{"cloud.provider":"azure","cloud.region":process.env.REGION_NAME};else if(process.env.IBM_CLOUD_REGION)return{"cloud.provider":"ibm_cloud","cloud.region":process.env.IBM_CLOUD_REGION};else if(process.env.TENCENTCLOUD_REGION)return{"cloud.provider":"tencent_cloud","cloud.region":process.env.TENCENTCLOUD_REGION,"cloud.account.id":process.env.TENCENTCLOUD_APPID,"cloud.availability_zone":process.env.TENCENTCLOUD_ZONE};else if(process.env.NETLIFY)return{"cloud.provider":"netlify"};else if(process.env.FLY_REGION)return{"cloud.provider":"fly.io","cloud.region":process.env.FLY_REGION};else if(process.env.DYNO)return{"cloud.provider":"heroku"};else return}eM1.Context=Ze2;eM1.getDeviceContext=oM1;eM1.nodeContextIntegration=sM1;eM1.readDirAsync=rM1;eM1.readFileAsync=nM1});var Pm=Y((ZS1)=>{var{_optionalChain:z01}=V0();Object.defineProperty(ZS1,"__esModule",{value:!0});var Ne2=B1("fs"),tM1=V4(),IS1=V0(),ym=new IS1.LRUMap(100),ze2=7,dS1="ContextLines";function Qe2(I){return new Promise((d,G)=>{Ne2.readFile(I,"utf8",(Z,C)=>{if(Z)G(Z);else d(C)})})}var fe2=(I={})=>{let d=I.frameContextLines!==void 0?I.frameContextLines:ze2;return{name:dS1,setupOnce(){},processEvent(G){return Re2(G,d)}}},GS1=tM1.defineIntegration(fe2),qe2=tM1.convertIntegrationFnToClass(dS1,GS1);async function Re2(I,d){let G={},Z=[];if(d>0&&z01([I,"access",(C)=>C.exception,"optionalAccess",(C)=>C.values]))for(let C of I.exception.values){if(!z01([C,"access",(W)=>W.stacktrace,"optionalAccess",(W)=>W.frames]))continue;for(let W=C.stacktrace.frames.length-1;W>=0;W--){let w=C.stacktrace.frames[W];if(w.filename&&!G[w.filename]&&!ym.get(w.filename))Z.push(ve2(w.filename)),G[w.filename]=1}}if(Z.length>0)await Promise.all(Z);if(d>0&&z01([I,"access",(C)=>C.exception,"optionalAccess",(C)=>C.values])){for(let C of I.exception.values)if(C.stacktrace&&C.stacktrace.frames)await Ue2(C.stacktrace.frames,d)}return I}function Ue2(I,d){for(let G of I)if(G.filename&&G.context_line===void 0){let Z=ym.get(G.filename);if(Z)try{IS1.addContextToFrame(Z,G,d)}catch(C){}}}async function ve2(I){let d=ym.get(I);if(d===null)return null;if(d!==void 0)return d;let G=null;try{G=(await Qe2(I)).split(`
`)}catch(Z){}return ym.set(I,G),G}ZS1.ContextLines=qe2;ZS1.contextLinesIntegration=GS1});var AE=Y((CS1)=>{Object.defineProperty(CS1,"__esModule",{value:!0});var Se2=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;CS1.DEBUG_BUILD=Se2});var AS1=Y((BS1)=>{var{_optionalChain:gw}=V0();Object.defineProperty(BS1,"__esModule",{value:!0});var Q01=B1("url"),ye2=UF();function Pe2(I){let{protocol:d,hostname:G,port:Z}=wS1(I),C=I.path?I.path:"/";return`${d}//${G}${Z}${C}`}function WS1(I){let{protocol:d,hostname:G,port:Z}=wS1(I),C=I.pathname||"/",W=I.auth?$e2(I.auth):"";return`${d}//${W}${G}${Z}${C}`}function $e2(I){let[d,G]=I.split(":");return`${d?"[Filtered]":""}:${G?"[Filtered]":""}@`}function ue2(I,d,G){if(!I)return I;let[Z,C]=I.split(" ");if(d.host&&!d.protocol)d.protocol=gw([G,"optionalAccess",(W)=>W.agent,"optionalAccess",(W)=>W.protocol]),C=WS1(d);if(gw([C,"optionalAccess",(W)=>W.startsWith,"call",(W)=>W("///")]))C=C.slice(2);return`${Z} ${C}`}function f01(I){let d={protocol:I.protocol,hostname:typeof I.hostname==="string"&&I.hostname.startsWith("[")?I.hostname.slice(1,-1):I.hostname,hash:I.hash,search:I.search,pathname:I.pathname,path:`${I.pathname||""}${I.search||""}`,href:I.href};if(I.port!=="")d.port=Number(I.port);if(I.username||I.password)d.auth=`${I.username}:${I.password}`;return d}function Te2(I,d){let G,Z;if(typeof d[d.length-1]==="function")G=d.pop();if(typeof d[0]==="string")Z=f01(new Q01.URL(d[0]));else if(d[0]instanceof Q01.URL)Z=f01(d[0]);else{Z=d[0];try{let C=new Q01.URL(Z.path||"",`${Z.protocol||"http:"}//${Z.hostname}`);Z={pathname:C.pathname,search:C.search,hash:C.hash,...Z}}catch(C){}}if(d.length===2)Z={...Z,...d[1]};if(Z.protocol===void 0)if(ye2.NODE_VERSION.major>8)Z.protocol=gw([gw([I,"optionalAccess",(C)=>C.globalAgent]),"optionalAccess",(C)=>C.protocol])||gw([Z.agent,"optionalAccess",(C)=>C.protocol])||gw([Z._defaultAgent,"optionalAccess",(C)=>C.protocol]);else Z.protocol=gw([Z.agent,"optionalAccess",(C)=>C.protocol])||gw([Z._defaultAgent,"optionalAccess",(C)=>C.protocol])||gw([gw([I,"optionalAccess",(C)=>C.globalAgent]),"optionalAccess",(C)=>C.protocol]);if(G)return[Z,G];else return[Z]}function wS1(I){let d=I.protocol||"",G=I.hostname||I.host||"",Z=!I.port||I.port===80||I.port===443||/^(.*):(\d+)$/.test(G)?"":`:${I.port}`;return{protocol:d,hostname:G,port:Z}}BS1.cleanSpanDescription=ue2;BS1.extractRawUrl=Pe2;BS1.extractUrl=WS1;BS1.normalizeRequestArgs=Te2;BS1.urlToOptions=f01});var $m=Y((_S1)=>{var{_optionalChain:SN}=V0();Object.defineProperty(_S1,"__esModule",{value:!0});var f7=V4(),pd=V0(),q01=AE(),je2=UF(),VE=AS1(),ke2=(I={})=>{let{breadcrumbs:d,tracing:G,shouldCreateSpanForRequest:Z}=I,C={breadcrumbs:d,tracing:G===!1?!1:pd.dropUndefinedKeys({enableIfHasTracingEnabled:G===!0?void 0:!0,shouldCreateSpanForRequest:Z})};return new MF(C)},xe2=f7.defineIntegration(ke2);class MF{static __initStatic(){this.id="Http"}__init(){this.name=MF.id}constructor(I={}){MF.prototype.__init.call(this),this._breadcrumbs=typeof I.breadcrumbs==="undefined"?!0:I.breadcrumbs,this._tracing=!I.tracing?void 0:I.tracing===!0?{}:I.tracing}setupOnce(I,d){let G=SN([d,"call",(A)=>A(),"access",(A)=>A.getClient,"call",(A)=>A(),"optionalAccess",(A)=>A.getOptions,"call",(A)=>A()]),Z=XS1(this._tracing,G);if(!this._breadcrumbs&&!Z)return;if(G&&G.instrumenter!=="sentry"){q01.DEBUG_BUILD&&pd.logger.log("HTTP Integration is skipped because of instrumenter configuration.");return}let C=YS1(Z,this._tracing,G),W=SN([G,"optionalAccess",(A)=>A.tracePropagationTargets])||SN([this,"access",(A)=>A._tracing,"optionalAccess",(A)=>A.tracePropagationTargets]),w=B1("http"),B=VS1(w,this._breadcrumbs,C,W);if(pd.fill(w,"get",B),pd.fill(w,"request",B),je2.NODE_VERSION.major>8){let A=B1("https"),V=VS1(A,this._breadcrumbs,C,W);pd.fill(A,"get",V),pd.fill(A,"request",V)}}}MF.__initStatic();function VS1(I,d,G,Z){let C=new pd.LRUMap(100),W=new pd.LRUMap(100),w=(V)=>{if(G===void 0)return!0;let X=C.get(V);if(X!==void 0)return X;let _=G(V);return C.set(V,_),_},B=(V)=>{if(Z===void 0)return!0;let X=W.get(V);if(X!==void 0)return X;let _=pd.stringMatchesSomePattern(V,Z);return W.set(V,_),_};function A(V,X,_,F){if(!f7.getCurrentHub().getIntegration(MF))return;f7.addBreadcrumb({category:"http",data:{status_code:F&&F.statusCode,...X},type:"http"},{event:V,request:_,response:F})}return function V(X){return function _(...F){let g=VE.normalizeRequestArgs(I,F),J=g[0],K=VE.extractRawUrl(J),Q=VE.extractUrl(J),E=f7.getClient();if(f7.isSentryRequestUrl(Q,E))return X.apply(I,g);let S=f7.getCurrentScope(),P=f7.getIsolationScope(),$=f7.getActiveSpan(),h=pe2(Q,J),O=w(K)?SN([$,"optionalAccess",(T)=>T.startChild,"call",(T)=>T({op:"http.client",origin:"auto.http.node.http",description:`${h["http.method"]} ${h.url}`,data:h})]):void 0;if(E&&B(K)){let{traceId:T,spanId:V1,sampled:c,dsc:c1}={...P.getPropagationContext(),...S.getPropagationContext()},o1=O?f7.spanToTraceHeader(O):pd.generateSentryTraceHeader(T,V1,c),a1=pd.dynamicSamplingContextToSentryBaggageHeader(c1||(O?f7.getDynamicSamplingContextFromSpan(O):f7.getDynamicSamplingContextFromClient(T,E,S)));ce2(J,Q,o1,a1)}else q01.DEBUG_BUILD&&pd.logger.log(`[Tracing] Not adding sentry-trace header to outgoing request (${Q}) due to mismatching tracePropagationTargets option.`);return X.apply(I,g).once("response",function(T){let V1=this;if(d)A("response",h,V1,T);if(O){if(T.statusCode)f7.setHttpStatus(O,T.statusCode);O.updateName(VE.cleanSpanDescription(f7.spanToJSON(O).description||"",J,V1)||""),O.end()}}).once("error",function(){let T=this;if(d)A("error",h,T);if(O)f7.setHttpStatus(O,500),O.updateName(VE.cleanSpanDescription(f7.spanToJSON(O).description||"",J,T)||""),O.end()})}}}function ce2(I,d,G,Z){if((I.headers||{})["sentry-trace"])return;q01.DEBUG_BUILD&&pd.logger.log(`[Tracing] Adding sentry-trace header ${G} to outgoing request to "${d}": `),I.headers={...I.headers,"sentry-trace":G,...Z&&Z.length>0&&{baggage:ie2(I,Z)}}}function pe2(I,d){let G=d.method||"GET",Z={url:I,"http.method":G};if(d.hash)Z["http.fragment"]=d.hash.substring(1);if(d.search)Z["http.query"]=d.search.substring(1);return Z}function ie2(I,d){if(!I.headers||!I.headers.baggage)return d;else if(!d)return I.headers.baggage;else if(Array.isArray(I.headers.baggage))return[...I.headers.baggage,d];return[I.headers.baggage,d]}function XS1(I,d){return I===void 0?!1:I.enableIfHasTracingEnabled?f7.hasTracingEnabled(d):!0}function YS1(I,d,G){return I?SN([d,"optionalAccess",(C)=>C.shouldCreateSpanForRequest])||SN([G,"optionalAccess",(C)=>C.shouldCreateSpanForRequest]):()=>!1}_S1.Http=MF;_S1._getShouldCreateSpanForRequest=YS1;_S1._shouldCreateSpans=XS1;_S1.httpIntegration=xe2});var FS1=Y((HS1)=>{Object.defineProperty(HS1,"__esModule",{value:!0});function oe2(I,d,G){let Z=0,C=5,W=0;return setInterval(()=>{if(W===0){if(Z>I){if(C*=2,G(C),C>86400)C=86400;W=C}}else if(W-=1,W===0)d();Z=0},1000).unref(),()=>{Z+=1}}function R01(I){return I!==void 0&&(I.length===0||I==="?"||I==="<anonymous>")}function ee2(I,d){return I===d||R01(I)&&R01(d)}function DS1(I){if(I===void 0)return;return I.slice(-10).reduce((d,G)=>`${d},${G.function},${G.lineno},${G.colno}`,"")}function te2(I,d){if(d===void 0)return;return DS1(I(d,1))}HS1.createRateLimiter=oe2;HS1.functionNamesMatch=ee2;HS1.hashFrames=DS1;HS1.hashFromStack=te2;HS1.isAnonymous=R01});var zS1=Y((NS1)=>{var{_optionalChain:O3}=V0();Object.defineProperty(NS1,"__esModule",{value:!0});var U01=V4(),um=V0(),Wt2=UF(),Tm=FS1();function v01(I){let d=[],G=!1;function Z(w){if(d=[],G)return;G=!0,I(w)}d.push(Z);function C(w){d.push(w)}function W(w){let B=d.pop()||Z;try{B(w)}catch(A){Z(w)}}return{add:C,next:W}}class gS1{constructor(){let{Session:I}=B1("inspector");this._session=new I}configureAndConnect(I,d){this._session.connect(),this._session.on("Debugger.paused",(G)=>{I(G,()=>{this._session.post("Debugger.resume")})}),this._session.post("Debugger.enable"),this._session.post("Debugger.setPauseOnExceptions",{state:d?"all":"uncaught"})}setPauseOnExceptions(I){this._session.post("Debugger.setPauseOnExceptions",{state:I?"all":"uncaught"})}getLocalVariables(I,d){this._getProperties(I,(G)=>{let{add:Z,next:C}=v01(d);for(let W of G)if(O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.objectId])&&O3([W,"optionalAccess",(w)=>w.value,"access",(w)=>w.className])==="Array"){let w=W.value.objectId;Z((B)=>this._unrollArray(w,W.name,B,C))}else if(O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.objectId])&&O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.className])==="Object"){let w=W.value.objectId;Z((B)=>this._unrollObject(w,W.name,B,C))}else if(O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.value])!=null||O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.description])!=null)Z((w)=>this._unrollOther(W,w,C));C({})})}_getProperties(I,d){this._session.post("Runtime.getProperties",{objectId:I,ownProperties:!0},(G,Z)=>{if(G)d([]);else d(Z.result)})}_unrollArray(I,d,G,Z){this._getProperties(I,(C)=>{G[d]=C.filter((W)=>W.name!=="length"&&!isNaN(parseInt(W.name,10))).sort((W,w)=>parseInt(W.name,10)-parseInt(w.name,10)).map((W)=>O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.value])),Z(G)})}_unrollObject(I,d,G,Z){this._getProperties(I,(C)=>{G[d]=C.map((W)=>[W.name,O3([W,"optionalAccess",(w)=>w.value,"optionalAccess",(w)=>w.value])]).reduce((W,[w,B])=>{return W[w]=B,W},{}),Z(G)})}_unrollOther(I,d,G){if(O3([I,"optionalAccess",(Z)=>Z.value,"optionalAccess",(Z)=>Z.value])!=null)d[I.name]=I.value.value;else if(O3([I,"optionalAccess",(Z)=>Z.value,"optionalAccess",(Z)=>Z.description])!=null&&O3([I,"optionalAccess",(Z)=>Z.value,"optionalAccess",(Z)=>Z.type])!=="function")d[I.name]=`<${I.value.description}>`;G(d)}}function wt2(){try{return new gS1}catch(I){return}}var JS1="LocalVariables",Bt2=(I={},d=wt2())=>{let G=new um.LRUMap(20),Z,C=!1;function W(A,{params:{reason:V,data:X,callFrames:_}},F){if(V!=="exception"&&V!=="promiseRejection"){F();return}O3([Z,"optionalCall",(Q)=>Q()]);let g=Tm.hashFromStack(A,O3([X,"optionalAccess",(Q)=>Q.description]));if(g==null){F();return}let{add:J,next:K}=v01((Q)=>{G.set(g,Q),F()});for(let Q=0;Q<Math.min(_.length,5);Q++){let{scopeChain:E,functionName:S,this:P}=_[Q],$=E.find((O)=>O.type==="local"),h=P.className==="global"||!P.className?S:`${P.className}.${S}`;if(O3([$,"optionalAccess",(O)=>O.object,"access",(O)=>O.objectId])===void 0)J((O)=>{O[Q]={function:h},K(O)});else{let O=$.object.objectId;J((T)=>O3([d,"optionalAccess",(V1)=>V1.getLocalVariables,"call",(V1)=>V1(O,(c)=>{T[Q]={function:h,vars:c},K(T)})]))}}K([])}function w(A){let V=Tm.hashFrames(O3([A,"optionalAccess",(F)=>F.stacktrace,"optionalAccess",(F)=>F.frames]));if(V===void 0)return;let X=G.remove(V);if(X===void 0)return;let _=(O3([A,"access",(F)=>F.stacktrace,"optionalAccess",(F)=>F.frames])||[]).filter((F)=>F.function!=="new Promise");for(let F=0;F<_.length;F++){let g=_.length-F-1;if(!_[g]||!X[F])break;if(X[F].vars===void 0||_[g].in_app===!1||!Tm.functionNamesMatch(_[g].function,X[F].function))continue;_[g].vars=X[F].vars}}function B(A){for(let V of O3([A,"optionalAccess",(X)=>X.exception,"optionalAccess",(X)=>X.values])||[])w(V);return A}return{name:JS1,setupOnce(){let A=U01.getClient(),V=O3([A,"optionalAccess",(X)=>X.getOptions,"call",(X)=>X()]);if(d&&O3([V,"optionalAccess",(X)=>X.includeLocalVariables])){if(Wt2.NODE_VERSION.major<18){um.logger.log("The `LocalVariables` integration is only supported on Node >= v18.");return}let _=I.captureAllExceptions!==!1;if(d.configureAndConnect((F,g)=>W(V.stackParser,F,g),_),_){let F=I.maxExceptionsPerSecond||50;Z=Tm.createRateLimiter(F,()=>{um.logger.log("Local variables rate-limit lifted."),O3([d,"optionalAccess",(g)=>g.setPauseOnExceptions,"call",(g)=>g(!0)])},(g)=>{um.logger.log(`Local variables rate-limit exceeded. Disabling capturing of caught exceptions for ${g} seconds.`),O3([d,"optionalAccess",(J)=>J.setPauseOnExceptions,"call",(J)=>J(!1)])})}C=!0}},processEvent(A){if(C)return B(A);return A},_getCachedFramesCount(){return G.size},_getFirstCachedFrame(){return G.values()[0]}}},KS1=U01.defineIntegration(Bt2),At2=U01.convertIntegrationFnToClass(JS1,KS1);NS1.LocalVariablesSync=At2;NS1.createCallbackList=v01;NS1.localVariablesSyncIntegration=KS1});var Om=Y((fS1)=>{Object.defineProperty(fS1,"__esModule",{value:!0});var QS1=zS1(),_t2=QS1.LocalVariablesSync,Dt2=QS1.localVariablesSyncIntegration;fS1.LocalVariables=_t2;fS1.localVariablesIntegration=Dt2});var mm=Y((MS1)=>{Object.defineProperty(MS1,"__esModule",{value:!0});var qS1=B1("fs"),RS1=B1("path"),US1=V4(),E01,vS1="Modules";function gt2(){try{return B1.cache?Object.keys(B1.cache):[]}catch(I){return[]}}function Jt2(){let I=B1.main&&B1.main.paths||[],d=gt2(),G={},Z={};return d.forEach((C)=>{let W=C,w=()=>{let B=W;if(W=RS1.dirname(B),!W||B===W||Z[B])return;if(I.indexOf(W)<0)return w();let A=RS1.join(B,"package.json");if(Z[B]=!0,!qS1.existsSync(A))return w();try{let V=JSON.parse(qS1.readFileSync(A,"utf8"));G[V.name]=V.version}catch(V){}};w()}),G}function Kt2(){if(!E01)E01=Jt2();return E01}var Nt2=()=>{return{name:vS1,setupOnce(){},processEvent(I){return I.modules={...I.modules,...Kt2()},I}}},ES1=US1.defineIntegration(Nt2),zt2=US1.convertIntegrationFnToClass(vS1,ES1);MS1.Modules=zt2;MS1.modulesIntegration=ES1});var S01=Y((SS1)=>{Object.defineProperty(SS1,"__esModule",{value:!0});var qt2=V4(),lm=V0(),M01=AE(),Rt2=2000;function Ut2(I){lm.consoleSandbox(()=>{console.error(I)});let d=qt2.getClient();if(d===void 0)M01.DEBUG_BUILD&&lm.logger.warn("No NodeClient was defined, we are exiting the process now."),global.process.exit(1);let G=d.getOptions(),Z=G&&G.shutdownTimeout&&G.shutdownTimeout>0&&G.shutdownTimeout||Rt2;d.close(Z).then((C)=>{if(!C)M01.DEBUG_BUILD&&lm.logger.warn("We reached the timeout for emptying the request buffer, still exiting now!");global.process.exit(1)},(C)=>{M01.DEBUG_BUILD&&lm.logger.error(C)})}SS1.logAndExitProcess=Ut2});var hm=Y((uS1)=>{Object.defineProperty(uS1,"__esModule",{value:!0});var bm=V4(),Et2=V0(),Mt2=AE(),LS1=S01(),yS1="OnUncaughtException",St2=(I={})=>{let d={exitEvenIfOtherHandlersAreRegistered:!0,...I};return{name:yS1,setupOnce(){},setup(G){global.process.on("uncaughtException",$S1(G,d))}}},PS1=bm.defineIntegration(St2),Lt2=bm.convertIntegrationFnToClass(yS1,PS1);function $S1(I,d){let Z=!1,C=!1,W=!1,w,B=I.getOptions();return Object.assign((A)=>{let V=LS1.logAndExitProcess;if(d.onFatalError)V=d.onFatalError;else if(B.onFatalError)V=B.onFatalError;let _=global.process.listeners("uncaughtException").reduce((g,J)=>{if(J.name==="domainUncaughtExceptionClear"||J.tag&&J.tag==="sentry_tracingErrorCallback"||J._errorHandler)return g;else return g+1},0)===0,F=d.exitEvenIfOtherHandlersAreRegistered||_;if(!Z){if(w=A,Z=!0,bm.getClient()===I)bm.captureException(A,{originalException:A,captureContext:{level:"fatal"},mechanism:{handled:!1,type:"onuncaughtexception"}});if(!W&&F)W=!0,V(A)}else if(F){if(W)Mt2.DEBUG_BUILD&&Et2.logger.warn("uncaught exception after calling fatal error shutdown callback - this is bad! forcing shutdown"),LS1.logAndExitProcess(A);else if(!C)C=!0,setTimeout(()=>{if(!W)W=!0,V(w,A)},2000)}},{_errorHandler:!0})}uS1.OnUncaughtException=Lt2;uS1.makeErrorHandler=$S1;uS1.onUncaughtExceptionIntegration=PS1});var km=Y((bS1)=>{Object.defineProperty(bS1,"__esModule",{value:!0});var jm=V4(),TS1=V0(),ut2=S01(),OS1="OnUnhandledRejection",Tt2=(I={})=>{let d=I.mode||"warn";return{name:OS1,setupOnce(){},setup(G){global.process.on("unhandledRejection",lS1(G,{mode:d}))}}},mS1=jm.defineIntegration(Tt2),Ot2=jm.convertIntegrationFnToClass(OS1,mS1);function lS1(I,d){return function G(Z,C){if(jm.getClient()!==I)return;jm.captureException(Z,{originalException:C,captureContext:{extra:{unhandledPromiseRejection:!0}},mechanism:{handled:!1,type:"onunhandledrejection"}}),mt2(Z,d)}}function mt2(I,d){let G="This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:";if(d.mode==="warn")TS1.consoleSandbox(()=>{console.warn(G),console.error(I&&I.stack?I.stack:I)});else if(d.mode==="strict")TS1.consoleSandbox(()=>{console.warn(G)}),ut2.logAndExitProcess(I)}bS1.OnUnhandledRejection=Ot2;bS1.makeUnhandledPromiseHandler=lS1;bS1.onUnhandledRejectionIntegration=mS1});var xm=Y((cS1)=>{Object.defineProperty(cS1,"__esModule",{value:!0});var jt2=B1("http"),kt2=B1("url"),hS1=V4(),LN=V0(),jS1="Spotlight",xt2=(I={})=>{let d={sidecarUrl:I.sidecarUrl||"http://localhost:8969/stream"};return{name:jS1,setupOnce(){},setup(G){if(typeof process==="object"&&process.env)LN.logger.warn("[Spotlight] It seems you're not in dev mode. Do you really want to have Spotlight enabled?");pt2(G,d)}}},kS1=hS1.defineIntegration(xt2),ct2=hS1.convertIntegrationFnToClass(jS1,kS1);function pt2(I,d){let G=it2(d.sidecarUrl);if(!G)return;let Z=0;if(typeof I.on!=="function"){LN.logger.warn("[Spotlight] Cannot connect to spotlight due to missing method on SDK client (`client.on`)");return}I.on("beforeEnvelope",(C)=>{if(Z>3){LN.logger.warn("[Spotlight] Disabled Sentry -> Spotlight integration due to too many failed requests");return}let W=LN.serializeEnvelope(C),B=xS1()({method:"POST",path:G.pathname,hostname:G.hostname,port:G.port,headers:{"Content-Type":"application/x-sentry-envelope"}},(A)=>{A.on("data",()=>{}),A.on("end",()=>{}),A.setEncoding("utf8")});B.on("error",()=>{Z++,LN.logger.warn("[Spotlight] Failed to send envelope to Spotlight Sidecar")}),B.write(W),B.end()})}function it2(I){try{return new kt2.URL(`${I}`)}catch(d){LN.logger.warn(`[Spotlight] Invalid sidecar URL: ${I}`);return}}function xS1(){let{request:I}=jt2;if(nt2(I))return I.__sentry_original__;return I}function nt2(I){return"__sentry_original__"in I}cS1.Spotlight=ct2;cS1.getNativeHttpRequest=xS1;cS1.spotlightIntegration=kS1});var pm=Y((pS1)=>{var{_optionalChain:cm}=V0();Object.defineProperty(pS1,"__esModule",{value:!0});var g6=V4(),SF=V0(),ot2=UF();pS1.ChannelName=void 0;(function(I){I.RequestCreate="undici:request:create";let G="undici:request:headers";I.RequestEnd=G;let Z="undici:request:error";I.RequestError=Z})(pS1.ChannelName||(pS1.ChannelName={}));var et2=(I)=>{return new nI(I)},tt2=g6.defineIntegration(et2);class nI{static __initStatic(){this.id="Undici"}__init(){this.name=nI.id}__init2(){this._createSpanUrlMap=new SF.LRUMap(100)}__init3(){this._headersUrlMap=new SF.LRUMap(100)}constructor(I={}){nI.prototype.__init.call(this),nI.prototype.__init2.call(this),nI.prototype.__init3.call(this),nI.prototype.__init4.call(this),nI.prototype.__init5.call(this),nI.prototype.__init6.call(this),this._options={breadcrumbs:I.breadcrumbs===void 0?!0:I.breadcrumbs,tracing:I.tracing,shouldCreateSpanForRequest:I.shouldCreateSpanForRequest}}setupOnce(I){if(ot2.NODE_VERSION.major<16)return;let d;try{d=B1("diagnostics_channel")}catch(G){}if(!d||!d.subscribe)return;d.subscribe(pS1.ChannelName.RequestCreate,this._onRequestCreate),d.subscribe(pS1.ChannelName.RequestEnd,this._onRequestEnd),d.subscribe(pS1.ChannelName.RequestError,this._onRequestError)}_shouldCreateSpan(I){if(this._options.tracing===!1||this._options.tracing===void 0&&!g6.hasTracingEnabled())return!1;if(this._options.shouldCreateSpanForRequest===void 0)return!0;let d=this._createSpanUrlMap.get(I);if(d!==void 0)return d;let G=this._options.shouldCreateSpanForRequest(I);return this._createSpanUrlMap.set(I,G),G}__init4(){this._onRequestCreate=(I)=>{if(!cm([g6.getClient,"call",(X)=>X(),"optionalAccess",(X)=>X.getIntegration,"call",(X)=>X(nI)]))return;let{request:d}=I,G=d.origin?d.origin.toString()+d.path:d.path,Z=g6.getClient();if(!Z)return;if(g6.isSentryRequestUrl(G,Z)||d.__sentry_span__!==void 0)return;let C=Z.getOptions(),W=g6.getCurrentScope(),w=g6.getIsolationScope(),B=g6.getActiveSpan(),A=this._shouldCreateSpan(G)?d14(B,d,G):void 0;if(A)d.__sentry_span__=A;if(((X)=>{if(C.tracePropagationTargets===void 0)return!0;let _=this._headersUrlMap.get(X);if(_!==void 0)return _;let F=SF.stringMatchesSomePattern(X,C.tracePropagationTargets);return this._headersUrlMap.set(X,F),F})(G)){let{traceId:X,spanId:_,sampled:F,dsc:g}={...w.getPropagationContext(),...W.getPropagationContext()},J=A?g6.spanToTraceHeader(A):SF.generateSentryTraceHeader(X,_,F),K=SF.dynamicSamplingContextToSentryBaggageHeader(g||(A?g6.getDynamicSamplingContextFromSpan(A):g6.getDynamicSamplingContextFromClient(X,Z,W)));I14(d,J,K)}}}__init5(){this._onRequestEnd=(I)=>{if(!cm([g6.getClient,"call",(W)=>W(),"optionalAccess",(W)=>W.getIntegration,"call",(W)=>W(nI)]))return;let{request:d,response:G}=I,Z=d.origin?d.origin.toString()+d.path:d.path;if(g6.isSentryRequestUrl(Z,g6.getClient()))return;let C=d.__sentry_span__;if(C)g6.setHttpStatus(C,G.statusCode),C.end();if(this._options.breadcrumbs)g6.addBreadcrumb({category:"http",data:{method:d.method,status_code:G.statusCode,url:Z},type:"http"},{event:"response",request:d,response:G})}}__init6(){this._onRequestError=(I)=>{if(!cm([g6.getClient,"call",(C)=>C(),"optionalAccess",(C)=>C.getIntegration,"call",(C)=>C(nI)]))return;let{request:d}=I,G=d.origin?d.origin.toString()+d.path:d.path;if(g6.isSentryRequestUrl(G,g6.getClient()))return;let Z=d.__sentry_span__;if(Z)Z.setStatus("internal_error"),Z.end();if(this._options.breadcrumbs)g6.addBreadcrumb({category:"http",data:{method:d.method,url:G},level:"error",type:"http"},{event:"error",request:d})}}}nI.__initStatic();function I14(I,d,G){let Z;if(Array.isArray(I.headers))Z=I.headers.some((C)=>C==="sentry-trace");else Z=I.headers.split(`\r
`).some((W)=>W.startsWith("sentry-trace:"));if(Z)return;if(I.addHeader("sentry-trace",d),G)I.addHeader("baggage",G)}function d14(I,d,G){let Z=SF.parseUrl(G),C=d.method||"GET",W={"http.method":C};if(Z.search)W["http.query"]=Z.search;if(Z.hash)W["http.fragment"]=Z.hash;return cm([I,"optionalAccess",(w)=>w.startChild,"call",(w)=>w({op:"http.client",origin:"auto.http.node.undici",description:`${C} ${SF.getSanitizedUrlString(Z)}`,data:W})])}pS1.Undici=nI;pS1.nativeNodeFetchintegration=tt2});var L01=Y((rS1)=>{Object.defineProperty(rS1,"__esModule",{value:!0});var iS1=B1("path"),C14=V0();function nS1(I){return I.replace(/^[A-Z]:/,"").replace(/\\/g,"/")}function W14(I=process.argv[1]?C14.dirname(process.argv[1]):process.cwd(),d=iS1.sep==="\\"){let G=d?nS1(I):I;return(Z)=>{if(!Z)return;let C=d?nS1(Z):Z,{dir:W,base:w,ext:B}=iS1.posix.parse(C);if(B===".js"||B===".mjs"||B===".cjs")w=w.slice(0,B.length*-1);if(!W)W=".";let A=W.lastIndexOf("/node_modules");if(A>-1)return`${W.slice(A+14).replace(/\//g,".")}:${w}`;if(W.startsWith(G)){let V=W.slice(G.length+1).replace(/\//g,".");if(V)V+=":";return V+=w,V}return w}}rS1.createGetModuleFromFilename=W14});var y01=Y((tS1)=>{var{_optionalChain:B14}=V0();Object.defineProperty(tS1,"__esModule",{value:!0});var aG=V4(),LF=V0(),A14=lM1(),V14=F01(),X14=Sm(),Y14=Lm(),_14=Pm(),D14=$m(),H14=Om(),F14=mm(),g14=hm(),J14=km(),K14=xm(),N14=pm(),z14=L01(),Q14=K01(),aS1=[aG.inboundFiltersIntegration(),aG.functionToStringIntegration(),aG.linkedErrorsIntegration(),aG.requestDataIntegration(),X14.consoleIntegration(),D14.httpIntegration(),N14.nativeNodeFetchintegration(),g14.onUncaughtExceptionIntegration(),J14.onUnhandledRejectionIntegration(),_14.contextLinesIntegration(),H14.localVariablesIntegration(),Y14.nodeContextIntegration(),F14.modulesIntegration()];function sS1(I){let d=aG.getMainCarrier(),G=B14([d,"access",(Z)=>Z.__SENTRY__,"optionalAccess",(Z)=>Z.integrations])||[];return[...aS1,...G]}function f14(I={}){if(A14.setNodeAsyncContextStrategy(),I.defaultIntegrations===void 0)I.defaultIntegrations=sS1();if(I.dsn===void 0&&process.env.SENTRY_DSN)I.dsn=process.env.SENTRY_DSN;let d=process.env.SENTRY_TRACES_SAMPLE_RATE;if(I.tracesSampleRate===void 0&&d){let Z=parseFloat(d);if(isFinite(Z))I.tracesSampleRate=Z}if(I.release===void 0){let Z=oS1();if(Z!==void 0)I.release=Z;else I.autoSessionTracking=!1}if(I.environment===void 0&&process.env.SENTRY_ENVIRONMENT)I.environment=process.env.SENTRY_ENVIRONMENT;if(I.autoSessionTracking===void 0&&I.dsn!==void 0)I.autoSessionTracking=!0;if(I.instrumenter===void 0)I.instrumenter="sentry";let G={...I,stackParser:LF.stackParserFromStackParserOptions(I.stackParser||eS1),integrations:aG.getIntegrationsToSetup(I),transport:I.transport||Q14.makeNodeTransport};if(aG.initAndBind(I.clientClass||V14.NodeClient,G),I.autoSessionTracking)R14();if(U14(),I.spotlight){let Z=aG.getClient();if(Z&&Z.addIntegration){let C=Z.getOptions().integrations;for(let W of C)Z.addIntegration(W);Z.addIntegration(K14.spotlightIntegration({sidecarUrl:typeof I.spotlight==="string"?I.spotlight:void 0}))}}}function q14(I){if(I===void 0)return!1;let d=I&&I.getOptions();if(d&&d.autoSessionTracking!==void 0)return d.autoSessionTracking;return!1}function oS1(I){if(process.env.SENTRY_RELEASE)return process.env.SENTRY_RELEASE;if(LF.GLOBAL_OBJ.SENTRY_RELEASE&&LF.GLOBAL_OBJ.SENTRY_RELEASE.id)return LF.GLOBAL_OBJ.SENTRY_RELEASE.id;return process.env.GITHUB_SHA||process.env.COMMIT_REF||process.env.VERCEL_GIT_COMMIT_SHA||process.env.VERCEL_GITHUB_COMMIT_SHA||process.env.VERCEL_GITLAB_COMMIT_SHA||process.env.VERCEL_BITBUCKET_COMMIT_SHA||process.env.ZEIT_GITHUB_COMMIT_SHA||process.env.ZEIT_GITLAB_COMMIT_SHA||process.env.ZEIT_BITBUCKET_COMMIT_SHA||process.env.CF_PAGES_COMMIT_SHA||I}var eS1=LF.createStackParser(LF.nodeStackLineParser(z14.createGetModuleFromFilename()));function R14(){aG.startSession(),process.on("beforeExit",()=>{let I=aG.getIsolationScope().getSession();if(I&&!["exited","crashed"].includes(I.status))aG.endSession()})}function U14(){let I=(process.env.SENTRY_USE_ENVIRONMENT||"").toLowerCase();if(!["false","n","no","off","0"].includes(I)){let d=process.env.SENTRY_TRACE,G=process.env.SENTRY_BAGGAGE,Z=LF.propagationContextFromHeaders(d,G);aG.getCurrentScope().setPropagationContext(Z)}}tS1.defaultIntegrations=aS1;tS1.defaultStackParser=eS1;tS1.getDefaultIntegrations=sS1;tS1.getSentryRelease=oS1;tS1.init=f14;tS1.isAutoSessionTrackingEnabled=q14});var dL1=Y((IL1)=>{Object.defineProperty(IL1,"__esModule",{value:!0});var im=B1("fs"),P01=B1("path");function P14(I){let d=P01.resolve(I);if(!im.existsSync(d))throw new Error(`Cannot read contents of ${d}. Directory does not exist.`);if(!im.statSync(d).isDirectory())throw new Error(`Cannot read contents of ${d}, because it is not a directory.`);let G=(Z)=>{return im.readdirSync(Z).reduce((C,W)=>{let w=P01.join(Z,W);if(im.statSync(w).isDirectory())return C.concat(G(w));return C.push(w),C},[])};return G(d).map((Z)=>P01.relative(d,Z))}IL1.deepReadDirSync=P14});var GL1=Y((u14)=>{/*! @sentry/node 7.120.0 (611282e) | https://github.com/getsentry/sentry-javascript */u14.base64WorkerScript="[encoded data, 189028 characters]"});var rm=Y((wL1,BL1)=>{var{_optionalChain:O14,_optionalChainDelete:ZL1}=V0();Object.defineProperty(wL1,"__esModule",{value:!0});var m14=B1("url"),$A=V4(),nm=V0(),$01=UF(),l14=GL1(),b14=50,h14=5000;function u01(I,...d){nm.logger.log(`[ANR] ${I}`,...d)}function j14(){return nm.GLOBAL_OBJ}function k14(){let I=$A.getGlobalScope().getScopeData();return $A.mergeScopeData(I,$A.getIsolationScope().getScopeData()),$A.mergeScopeData(I,$A.getCurrentScope().getScopeData()),I.attachments=[],I.eventProcessors=[],I}function x14(){return nm.dynamicRequire(BL1,"worker_threads")}async function c14(I){let d={message:"ANR"},G={};for(let Z of I.getEventProcessors()){if(d===null)break;d=await Z(d,G)}return O14([d,"optionalAccess",(Z)=>Z.contexts])||{}}var CL1="Anr",p14=(I={})=>{if($01.NODE_VERSION.major<16||$01.NODE_VERSION.major===16&&$01.NODE_VERSION.minor<17)throw new Error("ANR detection requires Node 16.17.0 or later");let d,G,Z=j14();return Z.__SENTRY_GET_SCOPES__=k14,{name:CL1,setupOnce(){},startWorker:()=>{if(d)return;if(G)d=n14(G,I)},stopWorker:()=>{if(d)d.then((C)=>{C(),d=void 0})},setup(C){G=C,setImmediate(()=>this.startWorker())}}},WL1=$A.defineIntegration(p14),i14=$A.convertIntegrationFnToClass(CL1,WL1);async function n14(I,d){let G=I.getDsn();if(!G)return()=>{};let Z=await c14(I);ZL1([Z,"access",(X)=>X.app,"optionalAccess",(X)=>delete X.app_memory]),ZL1([Z,"access",(X)=>X.device,"optionalAccess",(X)=>delete X.free_memory]);let C=I.getOptions(),W=I.getSdkMetadata()||{};if(W.sdk)W.sdk.integrations=C.integrations.map((X)=>X.name);let w={debug:nm.logger.isEnabled(),dsn:G,environment:C.environment||"production",release:C.release,dist:C.dist,sdkMetadata:W,appRootPath:d.appRootPath,pollInterval:d.pollInterval||b14,anrThreshold:d.anrThreshold||h14,captureStackTrace:!!d.captureStackTrace,staticTags:d.staticTags||{},contexts:Z};if(w.captureStackTrace){let X=B1("inspector");if(!X.url())X.open(0)}let{Worker:B}=x14(),A=new B(new m14.URL(`data:application/javascript;base64,${l14.base64WorkerScript}`),{workerData:w});process.on("exit",()=>{A.terminate()});let V=setInterval(()=>{try{let X=$A.getCurrentScope().getSession(),_=X?{...X,toJSON:void 0}:void 0;A.postMessage({session:_})}catch(X){}},w.pollInterval);return V.unref(),A.on("message",(X)=>{if(X==="session-ended")u01("ANR event sent from ANR worker. Clearing session in this thread."),$A.getCurrentScope().setSession(void 0)}),A.once("error",(X)=>{clearInterval(V),u01("ANR worker error",X)}),A.once("exit",(X)=>{clearInterval(V),u01("ANR worker exit",X)}),A.unref(),()=>{A.terminate(),clearInterval(V)}}wL1.Anr=i14;wL1.anrIntegration=WL1});var VL1=Y((AL1)=>{Object.defineProperty(AL1,"__esModule",{value:!0});var s14=V4(),o14=rm();function e14(I){let d=s14.getClient();return new o14.Anr(I).setup(d),Promise.resolve()}AL1.enableAnrDetection=e14});var T01=Y((_L1)=>{var{_optionalChain:XL1}=V0();Object.defineProperty(_L1,"__esModule",{value:!0});var PN=V4(),YL1=V0();function I04(I={}){return function({path:d,type:G,next:Z,rawInput:C}){let W=XL1([PN.getClient,"call",(V)=>V(),"optionalAccess",(V)=>V.getOptions,"call",(V)=>V()]),w=PN.getCurrentScope().getTransaction();if(w){w.updateName(`trpc/${d}`),w.setAttribute(PN.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE,"route"),w.op="rpc.server";let V={procedure_type:G};if(I.attachRpcInput!==void 0?I.attachRpcInput:XL1([W,"optionalAccess",(X)=>X.sendDefaultPii]))V.input=YL1.normalize(C);w.setContext("trpc",V)}function B(V){if(!V.ok)PN.captureException(V.error,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}})}let A;try{A=Z()}catch(V){throw PN.captureException(V,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}}),V}if(YL1.isThenable(A))Promise.resolve(A).then((V)=>{B(V)},(V)=>{PN.captureException(V,{mechanism:{handled:!1,data:{function:"trpcMiddleware"}}})});else B(A);return A}}_L1.trpcMiddleware=I04});var FL1=Y((HL1)=>{Object.defineProperty(HL1,"__esModule",{value:!0});var DL1=V0();function G04(I,d){return DL1.extractRequestData(I,{include:d})}function Z04(I,d,G={}){return DL1.addRequestDataToEvent(I,d,{include:G})}HL1.extractRequestData=G04;HL1.parseRequest=Z04});var KL1=Y((JL1)=>{var{_optionalChain:am}=V0();Object.defineProperty(JL1,"__esModule",{value:!0});var w8=V4(),$N=V0(),w04=AE(),sm=y01(),B04=T01(),gL1=FL1();function A04(){return function I(d,G,Z){let C=am([w8.getClient,"call",(X)=>X(),"optionalAccess",(X)=>X.getOptions,"call",(X)=>X()]);if(!C||C.instrumenter!=="sentry"||am([d,"access",(X)=>X.method,"optionalAccess",(X)=>X.toUpperCase,"call",(X)=>X()])==="OPTIONS"||am([d,"access",(X)=>X.method,"optionalAccess",(X)=>X.toUpperCase,"call",(X)=>X()])==="HEAD")return Z();let W=d.headers&&$N.isString(d.headers["sentry-trace"])?d.headers["sentry-trace"]:void 0,w=am([d,"access",(X)=>X.headers,"optionalAccess",(X)=>X.baggage]);if(!w8.hasTracingEnabled(C))return Z();let[B,A]=$N.extractPathForTransaction(d,{path:!0,method:!0}),V=w8.continueTrace({sentryTrace:W,baggage:w},(X)=>w8.startTransaction({name:B,op:"http.server",origin:"auto.http.node.tracingHandler",...X,data:{[w8.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]:A},metadata:{...X.metadata,request:d}},{request:$N.extractRequestData(d)}));w8.getCurrentScope().setSpan(V),G.__sentry_transaction=V,G.once("finish",()=>{setImmediate(()=>{$N.addRequestDataToTransaction(V,d),w8.setHttpStatus(V,G.statusCode),V.end()})}),Z()}}function V04(I={}){let d;if("include"in I)d={include:I.include};else{let{ip:G,request:Z,transaction:C,user:W}=I;if(G||Z||C||W)d={include:$N.dropUndefinedKeys({ip:G,request:Z,transaction:C,user:W})}}return d}function X04(I){let d=V04(I),G=w8.getClient();if(G&&sm.isAutoSessionTrackingEnabled(G)){G.initSessionFlusher();let Z=w8.getCurrentScope();if(Z.getSession())Z.setSession()}return function Z(C,W,w){if(I&&I.flushTimeout&&I.flushTimeout>0){let B=W.end;W.end=function(A,V,X){w8.flush(I.flushTimeout).then(()=>{B.call(this,A,V,X)}).then(null,(_)=>{w04.DEBUG_BUILD&&$N.logger.error(_),B.call(this,A,V,X)})}}w8.runWithAsyncContext(()=>{let B=w8.getCurrentScope();B.setSDKProcessingMetadata({request:C,requestDataOptionsFromExpressHandler:d});let A=w8.getClient();if(sm.isAutoSessionTrackingEnabled(A))B.setRequestSession({status:"ok"});W.once("finish",()=>{let V=w8.getClient();if(sm.isAutoSessionTrackingEnabled(V))setImmediate(()=>{if(V&&V._captureRequestSession)V._captureRequestSession()})}),w()})}}function Y04(I){let d=I.status||I.statusCode||I.status_code||I.output&&I.output.statusCode;return d?parseInt(d,10):500}function _04(I){return Y04(I)>=500}function D04(I){return function d(G,Z,C,W){if((I&&I.shouldHandleError||_04)(G)){w8.withScope((B)=>{B.setSDKProcessingMetadata({request:Z});let A=C.__sentry_transaction;if(A&&!w8.getActiveSpan())B.setSpan(A);let V=w8.getClient();if(V&&sm.isAutoSessionTrackingEnabled(V)){if(V._sessionFlusher!==void 0){let F=B.getRequestSession();if(F&&F.status!==void 0)F.status="crashed"}}let X=w8.captureException(G,{mechanism:{type:"middleware",handled:!1}});C.sentry=X,W(G)});return}W(G)}}var H04=B04.trpcMiddleware;JL1.extractRequestData=gL1.extractRequestData;JL1.parseRequest=gL1.parseRequest;JL1.errorHandler=D04;JL1.requestHandler=X04;JL1.tracingHandler=A04;JL1.trpcMiddleware=H04});var O01=Y((UL1)=>{Object.defineProperty(UL1,"__esModule",{value:!0});var rI=V4(),zL1=V0();function NL1(I){return I&&I.statusCode!==void 0}function Q04(I){return I&&I.error!==void 0}function f04(I){rI.captureException(I,{mechanism:{type:"hapi",handled:!1,data:{function:"hapiErrorPlugin"}}})}var QL1={name:"SentryHapiErrorPlugin",version:rI.SDK_VERSION,register:async function(I){I.events.on("request",(G,Z)=>{let C=rI.getActiveTransaction();if(Q04(Z))f04(Z.error);if(C)C.setStatus("internal_error"),C.end()})}},fL1={name:"SentryHapiTracingPlugin",version:rI.SDK_VERSION,register:async function(I){let d=I;d.ext("onPreHandler",(G,Z)=>{let C=rI.continueTrace({sentryTrace:G.headers["sentry-trace"]||void 0,baggage:G.headers.baggage||void 0},(W)=>{return rI.startTransaction({...W,op:"hapi.request",name:G.route.path,description:`${G.route.method} ${G.path}`})});return rI.getCurrentScope().setSpan(C),Z.continue}),d.ext("onPreResponse",(G,Z)=>{let C=rI.getActiveTransaction();if(G.response&&NL1(G.response)&&C){let W=G.response;W.header("sentry-trace",rI.spanToTraceHeader(C));let w=zL1.dynamicSamplingContextToSentryBaggageHeader(rI.getDynamicSamplingContextFromSpan(C));if(w)W.header("baggage",w)}return Z.continue}),d.ext("onPostHandler",(G,Z)=>{let C=rI.getActiveTransaction();if(C){if(G.response&&NL1(G.response))rI.setHttpStatus(C,G.response.statusCode);C.end()}return Z.continue})}},qL1="Hapi",q04=(I={})=>{let d=I.server;return{name:qL1,setupOnce(){if(!d)return;zL1.fill(d,"start",(G)=>{return async function(){return await this.register(fL1),await this.register(QL1),G.apply(this)}})}}},RL1=rI.defineIntegration(q04),R04=rI.convertIntegrationFnToClass(qL1,RL1);UL1.Hapi=R04;UL1.hapiErrorPlugin=QL1;UL1.hapiIntegration=RL1;UL1.hapiTracingPlugin=fL1});var EL1=Y((vL1)=>{Object.defineProperty(vL1,"__esModule",{value:!0});var S04=Sm(),L04=$m(),y04=hm(),P04=km(),$04=mm(),u04=Pm(),T04=Lm(),O04=V4(),m04=Om(),l04=pm(),b04=xm(),h04=rm(),j04=O01();vL1.Console=S04.Console;vL1.Http=L04.Http;vL1.OnUncaughtException=y04.OnUncaughtException;vL1.OnUnhandledRejection=P04.OnUnhandledRejection;vL1.Modules=$04.Modules;vL1.ContextLines=u04.ContextLines;vL1.Context=T04.Context;vL1.RequestData=O04.RequestData;vL1.LocalVariables=m04.LocalVariables;vL1.Undici=l04.Undici;vL1.Spotlight=b04.Spotlight;vL1.Anr=h04.Anr;vL1.Hapi=j04.Hapi});var SL1=Y((ML1)=>{Object.defineProperty(ML1,"__esModule",{value:!0});var yF=H01();ML1.Apollo=yF.Apollo;ML1.Express=yF.Express;ML1.GraphQL=yF.GraphQL;ML1.Mongo=yF.Mongo;ML1.Mysql=yF.Mysql;ML1.Postgres=yF.Postgres;ML1.Prisma=yF.Prisma});var $L1=Y((PL1)=>{Object.defineProperty(PL1,"__esModule",{value:!0});var PF=V4(),$F=V0(),LL1="CaptureConsole",A24=(I={})=>{let d=I.levels||$F.CONSOLE_LEVELS;return{name:LL1,setupOnce(){},setup(G){if(!("console"in $F.GLOBAL_OBJ))return;$F.addConsoleInstrumentationHandler(({args:Z,level:C})=>{if(PF.getClient()!==G||!d.includes(C))return;X24(Z,C)})}}},yL1=PF.defineIntegration(A24),V24=PF.convertIntegrationFnToClass(LL1,yL1);function X24(I,d){let G={level:$F.severityLevelFromString(d),extra:{arguments:I}};PF.withScope((Z)=>{if(Z.addEventProcessor((w)=>{return w.logger="console",$F.addExceptionMechanism(w,{handled:!1,type:"console"}),w}),d==="assert"&&I[0]===!1){let w=`Assertion failed: ${$F.safeJoin(I.slice(1)," ")||"console.assert"}`;Z.setExtra("arguments",I.slice(1)),PF.captureMessage(w,G);return}let C=I.find((w)=>w instanceof Error);if(d==="error"&&C){PF.captureException(C,G);return}let W=$F.safeJoin(I," ");PF.captureMessage(W,G)})}PL1.CaptureConsole=V24;PL1.captureConsoleIntegration=yL1});var lL1=Y((mL1)=>{Object.defineProperty(mL1,"__esModule",{value:!0});var uL1=V4(),D24=V0(),TL1="Debug",H24=(I={})=>{let d={debugger:!1,stringify:!1,...I};return{name:TL1,setupOnce(){},setup(G){if(!G.on)return;G.on("beforeSendEvent",(Z,C)=>{if(d.debugger)debugger;D24.consoleSandbox(()=>{if(d.stringify){if(console.log(JSON.stringify(Z,null,2)),C&&Object.keys(C).length)console.log(JSON.stringify(C,null,2))}else if(console.log(Z),C&&Object.keys(C).length)console.log(C)})})}}},OL1=uL1.defineIntegration(H24),F24=uL1.convertIntegrationFnToClass(TL1,OL1);mL1.Debug=F24;mL1.debugIntegration=OL1});var XE=Y((bL1)=>{Object.defineProperty(bL1,"__esModule",{value:!0});var K24=typeof __SENTRY_DEBUG__==="undefined"||__SENTRY_DEBUG__;bL1.DEBUG_BUILD=K24});var aL1=Y((rL1)=>{Object.defineProperty(rL1,"__esModule",{value:!0});var kL1=V4(),z24=V0(),Q24=XE(),xL1="Dedupe",f24=()=>{let I;return{name:xL1,setupOnce(){},processEvent(d){if(d.type)return d;try{if(pL1(d,I))return Q24.DEBUG_BUILD&&z24.logger.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(G){}return I=d}}},cL1=kL1.defineIntegration(f24),q24=kL1.convertIntegrationFnToClass(xL1,cL1);function pL1(I,d){if(!d)return!1;if(R24(I,d))return!0;if(U24(I,d))return!0;return!1}function R24(I,d){let G=I.message,Z=d.message;if(!G&&!Z)return!1;if(G&&!Z||!G&&Z)return!1;if(G!==Z)return!1;if(!nL1(I,d))return!1;if(!iL1(I,d))return!1;return!0}function U24(I,d){let G=hL1(d),Z=hL1(I);if(!G||!Z)return!1;if(G.type!==Z.type||G.value!==Z.value)return!1;if(!nL1(I,d))return!1;if(!iL1(I,d))return!1;return!0}function iL1(I,d){let G=jL1(I),Z=jL1(d);if(!G&&!Z)return!0;if(G&&!Z||!G&&Z)return!1;if(G=G,Z=Z,Z.length!==G.length)return!1;for(let C=0;C<Z.length;C++){let W=Z[C],w=G[C];if(W.filename!==w.filename||W.lineno!==w.lineno||W.colno!==w.colno||W.function!==w.function)return!1}return!0}function nL1(I,d){let G=I.fingerprint,Z=d.fingerprint;if(!G&&!Z)return!0;if(G&&!Z||!G&&Z)return!1;G=G,Z=Z;try{return G.join("")===Z.join("")}catch(C){return!1}}function hL1(I){return I.exception&&I.exception.values&&I.exception.values[0]}function jL1(I){let d=I.exception;if(d)try{return d.values[0].stacktrace.frames}catch(G){return}return}rL1.Dedupe=q24;rL1._shouldDropEvent=pL1;rL1.dedupeIntegration=cL1});var Iy1=Y((tL1)=>{Object.defineProperty(tL1,"__esModule",{value:!0});var sL1=V4(),oX=V0(),S24=XE(),oL1="ExtraErrorData",L24=(I={})=>{let d=I.depth||3,G=I.captureErrorCause||!1;return{name:oL1,setupOnce(){},processEvent(Z,C){return P24(Z,C,d,G)}}},eL1=sL1.defineIntegration(L24),y24=sL1.convertIntegrationFnToClass(oL1,eL1);function P24(I,d={},G,Z){if(!d.originalException||!oX.isError(d.originalException))return I;let C=d.originalException.name||d.originalException.constructor.name,W=$24(d.originalException,Z);if(W){let w={...I.contexts},B=oX.normalize(W,G);if(oX.isPlainObject(B))oX.addNonEnumerableProperty(B,"__sentry_skip_normalization__",!0),w[C]=B;return{...I,contexts:w}}return I}function $24(I,d){try{let G=["name","message","stack","line","column","fileName","lineNumber","columnNumber","toJSON"],Z={};for(let C of Object.keys(I)){if(G.indexOf(C)!==-1)continue;let W=I[C];Z[C]=oX.isError(W)?W.toString():W}if(d&&I.cause!==void 0)Z.cause=oX.isError(I.cause)?I.cause.toString():I.cause;if(typeof I.toJSON==="function"){let C=I.toJSON();for(let W of Object.keys(C)){let w=C[W];Z[W]=oX.isError(w)?w.toString():w}}return Z}catch(G){S24.DEBUG_BUILD&&oX.logger.error("Unable to extract extra data from the Error object:",G)}return null}tL1.ExtraErrorData=y24;tL1.extraErrorDataIntegration=eL1});var Gy1=Y((dy1,m01)=>{/*!
    localForage -- Offline Storage, Improved
    Version 1.10.0
    https://localforage.github.io/localForage
    (c) 2013-2017 Mozilla, Apache License 2.0
*/(function(I){if(typeof dy1==="object"&&typeof m01!=="undefined")m01.exports=I();else if(typeof define==="function"&&define.amd)define([],I);else{var d;if(typeof window!=="undefined")d=window;else if(typeof global!=="undefined")d=global;else if(typeof self!=="undefined")d=self;else d=this;d.localforage=I()}})(function(){var I,d,G;return function Z(C,W,w){function B(X,_){if(!W[X]){if(!C[X]){var F=B1;if(!_&&F)return F(X,!0);if(A)return A(X,!0);var g=new Error("Cannot find module '"+X+"'");throw g.code="MODULE_NOT_FOUND",g}var J=W[X]={exports:{}};C[X][0].call(J.exports,function(K){var Q=C[X][1][K];return B(Q?Q:K)},J,J.exports,Z,C,W,w)}return W[X].exports}var A=B1;for(var V=0;V<w.length;V++)B(w[V]);return B}({1:[function(Z,C,W){(function(w){var B=w.MutationObserver||w.WebKitMutationObserver,A;if(B){var V=0,X=new B(K),_=w.document.createTextNode("");X.observe(_,{characterData:!0}),A=function(){_.data=V=++V%2}}else if(!w.setImmediate&&typeof w.MessageChannel!=="undefined"){var F=new w.MessageChannel;F.port1.onmessage=K,A=function(){F.port2.postMessage(0)}}else if("document"in w&&"onreadystatechange"in w.document.createElement("script"))A=function(){var E=w.document.createElement("script");E.onreadystatechange=function(){K(),E.onreadystatechange=null,E.parentNode.removeChild(E),E=null},w.document.documentElement.appendChild(E)};else A=function(){setTimeout(K,0)};var g,J=[];function K(){g=!0;var E,S,P=J.length;while(P){S=J,J=[],E=-1;while(++E<P)S[E]();P=J.length}g=!1}C.exports=Q;function Q(E){if(J.push(E)===1&&!g)A()}}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{}],2:[function(Z,C,W){var w=Z(1);function B(){}var A={},V=["REJECTED"],X=["FULFILLED"],_=["PENDING"];C.exports=F;function F(O){if(typeof O!=="function")throw new TypeError("resolver must be a function");if(this.state=_,this.queue=[],this.outcome=void 0,O!==B)Q(this,O)}F.prototype.catch=function(O){return this.then(null,O)},F.prototype.then=function(O,T){if(typeof O!=="function"&&this.state===X||typeof T!=="function"&&this.state===V)return this;var V1=new this.constructor(B);if(this.state!==_){var c=this.state===X?O:T;J(V1,c,this.outcome)}else this.queue.push(new g(V1,O,T));return V1};function g(O,T,V1){if(this.promise=O,typeof T==="function")this.onFulfilled=T,this.callFulfilled=this.otherCallFulfilled;if(typeof V1==="function")this.onRejected=V1,this.callRejected=this.otherCallRejected}g.prototype.callFulfilled=function(O){A.resolve(this.promise,O)},g.prototype.otherCallFulfilled=function(O){J(this.promise,this.onFulfilled,O)},g.prototype.callRejected=function(O){A.reject(this.promise,O)},g.prototype.otherCallRejected=function(O){J(this.promise,this.onRejected,O)};function J(O,T,V1){w(function(){var c;try{c=T(V1)}catch(c1){return A.reject(O,c1)}if(c===O)A.reject(O,new TypeError("Cannot resolve promise with itself"));else A.resolve(O,c)})}A.resolve=function(O,T){var V1=E(K,T);if(V1.status==="error")return A.reject(O,V1.value);var c=V1.value;if(c)Q(O,c);else{O.state=X,O.outcome=T;var c1=-1,o1=O.queue.length;while(++c1<o1)O.queue[c1].callFulfilled(T)}return O},A.reject=function(O,T){O.state=V,O.outcome=T;var V1=-1,c=O.queue.length;while(++V1<c)O.queue[V1].callRejected(T);return O};function K(O){var T=O&&O.then;if(O&&(typeof O==="object"||typeof O==="function")&&typeof T==="function")return function V1(){T.apply(O,arguments)}}function Q(O,T){var V1=!1;function c(f1){if(V1)return;V1=!0,A.reject(O,f1)}function c1(f1){if(V1)return;V1=!0,A.resolve(O,f1)}function o1(){T(c1,c)}var a1=E(o1);if(a1.status==="error")c(a1.value)}function E(O,T){var V1={};try{V1.value=O(T),V1.status="success"}catch(c){V1.status="error",V1.value=c}return V1}F.resolve=S;function S(O){if(O instanceof this)return O;return A.resolve(new this(B),O)}F.reject=P;function P(O){var T=new this(B);return A.reject(T,O)}F.all=$;function $(O){var T=this;if(Object.prototype.toString.call(O)!=="[object Array]")return this.reject(new TypeError("must be an array"));var V1=O.length,c=!1;if(!V1)return this.resolve([]);var c1=new Array(V1),o1=0,a1=-1,f1=new this(B);while(++a1<V1)r(O[a1],a1);return f1;function r(A1,m1){T.resolve(A1).then(T1,function(e1){if(!c)c=!0,A.reject(f1,e1)});function T1(e1){if(c1[m1]=e1,++o1===V1&&!c)c=!0,A.resolve(f1,c1)}}}F.race=h;function h(O){var T=this;if(Object.prototype.toString.call(O)!=="[object Array]")return this.reject(new TypeError("must be an array"));var V1=O.length,c=!1;if(!V1)return this.resolve([]);var c1=-1,o1=new this(B);while(++c1<V1)a1(O[c1]);return o1;function a1(f1){T.resolve(f1).then(function(r){if(!c)c=!0,A.resolve(o1,r)},function(r){if(!c)c=!0,A.reject(o1,r)})}}},{"1":1}],3:[function(Z,C,W){(function(w){if(typeof w.Promise!=="function")w.Promise=Z(2)}).call(this,typeof global!=="undefined"?global:typeof self!=="undefined"?self:typeof window!=="undefined"?window:{})},{"2":2}],4:[function(Z,C,W){var w=typeof Symbol==="function"&&typeof Symbol.iterator==="symbol"?function(l){return typeof l}:function(l){return l&&typeof Symbol==="function"&&l.constructor===Symbol&&l!==Symbol.prototype?"symbol":typeof l};function B(l,_1){if(!(l instanceof _1))throw new TypeError("Cannot call a class as a function")}function A(){try{if(typeof indexedDB!=="undefined")return indexedDB;if(typeof webkitIndexedDB!=="undefined")return webkitIndexedDB;if(typeof mozIndexedDB!=="undefined")return mozIndexedDB;if(typeof OIndexedDB!=="undefined")return OIndexedDB;if(typeof msIndexedDB!=="undefined")return msIndexedDB}catch(l){return}}var V=A();function X(){try{if(!V||!V.open)return!1;var l=typeof openDatabase!=="undefined"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),_1=typeof fetch==="function"&&fetch.toString().indexOf("[native code")!==-1;return(!l||_1)&&typeof indexedDB!=="undefined"&&typeof IDBKeyRange!=="undefined"}catch(I1){return!1}}function _(l,_1){l=l||[],_1=_1||{};try{return new Blob(l,_1)}catch(E1){if(E1.name!=="TypeError")throw E1;var I1=typeof BlobBuilder!=="undefined"?BlobBuilder:typeof MSBlobBuilder!=="undefined"?MSBlobBuilder:typeof MozBlobBuilder!=="undefined"?MozBlobBuilder:WebKitBlobBuilder,v1=new I1;for(var y1=0;y1<l.length;y1+=1)v1.append(l[y1]);return v1.getBlob(_1.type)}}if(typeof Promise==="undefined")Z(3);var F=Promise;function g(l,_1){if(_1)l.then(function(I1){_1(null,I1)},function(I1){_1(I1)})}function J(l,_1,I1){if(typeof _1==="function")l.then(_1);if(typeof I1==="function")l.catch(I1)}function K(l){if(typeof l!=="string")console.warn(l+" used as a key, but it is not a string."),l=String(l);return l}function Q(){if(arguments.length&&typeof arguments[arguments.length-1]==="function")return arguments[arguments.length-1]}var E="local-forage-detect-blob-support",S=void 0,P={},$=Object.prototype.toString,h="readonly",O="readwrite";function T(l){var _1=l.length,I1=new ArrayBuffer(_1),v1=new Uint8Array(I1);for(var y1=0;y1<_1;y1++)v1[y1]=l.charCodeAt(y1);return I1}function V1(l){return new F(function(_1){var I1=l.transaction(E,O),v1=_([""]);I1.objectStore(E).put(v1,"key"),I1.onabort=function(y1){y1.preventDefault(),y1.stopPropagation(),_1(!1)},I1.oncomplete=function(){var y1=navigator.userAgent.match(/Chrome\/(\d+)/),E1=navigator.userAgent.match(/Edge\//);_1(E1||!y1||parseInt(y1[1],10)>=43)}}).catch(function(){return!1})}function c(l){if(typeof S==="boolean")return F.resolve(S);return V1(l).then(function(_1){return S=_1,S})}function c1(l){var _1=P[l.name],I1={};if(I1.promise=new F(function(v1,y1){I1.resolve=v1,I1.reject=y1}),_1.deferredOperations.push(I1),!_1.dbReady)_1.dbReady=I1.promise;else _1.dbReady=_1.dbReady.then(function(){return I1.promise})}function o1(l){var _1=P[l.name],I1=_1.deferredOperations.pop();if(I1)return I1.resolve(),I1.promise}function a1(l,_1){var I1=P[l.name],v1=I1.deferredOperations.pop();if(v1)return v1.reject(_1),v1.promise}function f1(l,_1){return new F(function(I1,v1){if(P[l.name]=P[l.name]||e(),l.db)if(_1)c1(l),l.db.close();else return I1(l.db);var y1=[l.name];if(_1)y1.push(l.version);var E1=V.open.apply(V,y1);if(_1)E1.onupgradeneeded=function(Z0){var Q0=E1.result;try{if(Q0.createObjectStore(l.storeName),Z0.oldVersion<=1)Q0.createObjectStore(E)}catch(N0){if(N0.name==="ConstraintError")console.warn('The database "'+l.name+'" has been upgraded from version '+Z0.oldVersion+" to version "+Z0.newVersion+', but the storage "'+l.storeName+'" already exists.');else throw N0}};E1.onerror=function(Z0){Z0.preventDefault(),v1(E1.error)},E1.onsuccess=function(){var Z0=E1.result;Z0.onversionchange=function(Q0){Q0.target.close()},I1(Z0),o1(l)}})}function r(l){return f1(l,!1)}function A1(l){return f1(l,!0)}function m1(l,_1){if(!l.db)return!0;var I1=!l.db.objectStoreNames.contains(l.storeName),v1=l.version<l.db.version,y1=l.version>l.db.version;if(v1){if(l.version!==_1)console.warn('The database "'+l.name+`" can't be downgraded from version `+l.db.version+" to version "+l.version+".");l.version=l.db.version}if(y1||I1){if(I1){var E1=l.db.version+1;if(E1>l.version)l.version=E1}return!0}return!1}function T1(l){return new F(function(_1,I1){var v1=new FileReader;v1.onerror=I1,v1.onloadend=function(y1){var E1=btoa(y1.target.result||"");_1({__local_forage_encoded_blob:!0,data:E1,type:l.type})},v1.readAsBinaryString(l)})}function e1(l){var _1=T(atob(l.data));return _([_1],{type:l.type})}function F0(l){return l&&l.__local_forage_encoded_blob}function P0(l){var _1=this,I1=_1._initReady().then(function(){var v1=P[_1._dbInfo.name];if(v1&&v1.dbReady)return v1.dbReady});return J(I1,l,l),I1}function B0(l){c1(l);var _1=P[l.name],I1=_1.forages;for(var v1=0;v1<I1.length;v1++){var y1=I1[v1];if(y1._dbInfo.db)y1._dbInfo.db.close(),y1._dbInfo.db=null}return l.db=null,r(l).then(function(E1){if(l.db=E1,m1(l))return A1(l);return E1}).then(function(E1){l.db=_1.db=E1;for(var Z0=0;Z0<I1.length;Z0++)I1[Z0]._dbInfo.db=E1}).catch(function(E1){throw a1(l,E1),E1})}function a0(l,_1,I1,v1){if(v1===void 0)v1=1;try{var y1=l.db.transaction(l.storeName,_1);I1(null,y1)}catch(E1){if(v1>0&&(!l.db||E1.name==="InvalidStateError"||E1.name==="NotFoundError"))return F.resolve().then(function(){if(!l.db||E1.name==="NotFoundError"&&!l.db.objectStoreNames.contains(l.storeName)&&l.version<=l.db.version){if(l.db)l.version=l.db.version+1;return A1(l)}}).then(function(){return B0(l).then(function(){a0(l,_1,I1,v1-1)})}).catch(I1);I1(E1)}}function e(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function G0(l){var _1=this,I1={db:null};if(l)for(var v1 in l)I1[v1]=l[v1];var y1=P[I1.name];if(!y1)y1=e(),P[I1.name]=y1;if(y1.forages.push(_1),!_1._initReady)_1._initReady=_1.ready,_1.ready=P0;var E1=[];function Z0(){return F.resolve()}for(var Q0=0;Q0<y1.forages.length;Q0++){var N0=y1.forages[Q0];if(N0!==_1)E1.push(N0._initReady().catch(Z0))}var $0=y1.forages.slice(0);return F.all(E1).then(function(){return I1.db=y1.db,r(I1)}).then(function(h0){if(I1.db=h0,m1(I1,_1._defaultConfig.version))return A1(I1);return h0}).then(function(h0){I1.db=y1.db=h0,_1._dbInfo=I1;for(var g2=0;g2<$0.length;g2++){var F4=$0[g2];if(F4!==_1)F4._dbInfo.db=I1.db,F4._dbInfo.version=I1.version}})}function H1(l,_1){var I1=this;l=K(l);var v1=new F(function(y1,E1){I1.ready().then(function(){a0(I1._dbInfo,h,function(Z0,Q0){if(Z0)return E1(Z0);try{var N0=Q0.objectStore(I1._dbInfo.storeName),$0=N0.get(l);$0.onsuccess=function(){var h0=$0.result;if(h0===void 0)h0=null;if(F0(h0))h0=e1(h0);y1(h0)},$0.onerror=function(){E1($0.error)}}catch(h0){E1(h0)}})}).catch(E1)});return g(v1,_1),v1}function j1(l,_1){var I1=this,v1=new F(function(y1,E1){I1.ready().then(function(){a0(I1._dbInfo,h,function(Z0,Q0){if(Z0)return E1(Z0);try{var N0=Q0.objectStore(I1._dbInfo.storeName),$0=N0.openCursor(),h0=1;$0.onsuccess=function(){var g2=$0.result;if(g2){var F4=g2.value;if(F0(F4))F4=e1(F4);var x4=l(F4,g2.key,h0++);if(x4!==void 0)y1(x4);else g2.continue()}else y1()},$0.onerror=function(){E1($0.error)}}catch(g2){E1(g2)}})}).catch(E1)});return g(v1,_1),v1}function i1(l,_1,I1){var v1=this;l=K(l);var y1=new F(function(E1,Z0){var Q0;v1.ready().then(function(){if(Q0=v1._dbInfo,$.call(_1)==="[object Blob]")return c(Q0.db).then(function(N0){if(N0)return _1;return T1(_1)});return _1}).then(function(N0){a0(v1._dbInfo,O,function($0,h0){if($0)return Z0($0);try{var g2=h0.objectStore(v1._dbInfo.storeName);if(N0===null)N0=void 0;var F4=g2.put(N0,l);h0.oncomplete=function(){if(N0===void 0)N0=null;E1(N0)},h0.onabort=h0.onerror=function(){var x4=F4.error?F4.error:F4.transaction.error;Z0(x4)}}catch(x4){Z0(x4)}})}).catch(Z0)});return g(y1,I1),y1}function E0(l,_1){var I1=this;l=K(l);var v1=new F(function(y1,E1){I1.ready().then(function(){a0(I1._dbInfo,O,function(Z0,Q0){if(Z0)return E1(Z0);try{var N0=Q0.objectStore(I1._dbInfo.storeName),$0=N0.delete(l);Q0.oncomplete=function(){y1()},Q0.onerror=function(){E1($0.error)},Q0.onabort=function(){var h0=$0.error?$0.error:$0.transaction.error;E1(h0)}}catch(h0){E1(h0)}})}).catch(E1)});return g(v1,_1),v1}function k(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){a0(_1._dbInfo,O,function(E1,Z0){if(E1)return y1(E1);try{var Q0=Z0.objectStore(_1._dbInfo.storeName),N0=Q0.clear();Z0.oncomplete=function(){v1()},Z0.onabort=Z0.onerror=function(){var $0=N0.error?N0.error:N0.transaction.error;y1($0)}}catch($0){y1($0)}})}).catch(y1)});return g(I1,l),I1}function a(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){a0(_1._dbInfo,h,function(E1,Z0){if(E1)return y1(E1);try{var Q0=Z0.objectStore(_1._dbInfo.storeName),N0=Q0.count();N0.onsuccess=function(){v1(N0.result)},N0.onerror=function(){y1(N0.error)}}catch($0){y1($0)}})}).catch(y1)});return g(I1,l),I1}function Z1(l,_1){var I1=this,v1=new F(function(y1,E1){if(l<0){y1(null);return}I1.ready().then(function(){a0(I1._dbInfo,h,function(Z0,Q0){if(Z0)return E1(Z0);try{var N0=Q0.objectStore(I1._dbInfo.storeName),$0=!1,h0=N0.openKeyCursor();h0.onsuccess=function(){var g2=h0.result;if(!g2){y1(null);return}if(l===0)y1(g2.key);else if(!$0)$0=!0,g2.advance(l);else y1(g2.key)},h0.onerror=function(){E1(h0.error)}}catch(g2){E1(g2)}})}).catch(E1)});return g(v1,_1),v1}function Q1(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){a0(_1._dbInfo,h,function(E1,Z0){if(E1)return y1(E1);try{var Q0=Z0.objectStore(_1._dbInfo.storeName),N0=Q0.openKeyCursor(),$0=[];N0.onsuccess=function(){var h0=N0.result;if(!h0){v1($0);return}$0.push(h0.key),h0.continue()},N0.onerror=function(){y1(N0.error)}}catch(h0){y1(h0)}})}).catch(y1)});return g(I1,l),I1}function N1(l,_1){_1=Q.apply(this,arguments);var I1=this.config();if(l=typeof l!=="function"&&l||{},!l.name)l.name=l.name||I1.name,l.storeName=l.storeName||I1.storeName;var v1=this,y1;if(!l.name)y1=F.reject("Invalid arguments");else{var E1=l.name===I1.name&&v1._dbInfo.db,Z0=E1?F.resolve(v1._dbInfo.db):r(l).then(function(Q0){var N0=P[l.name],$0=N0.forages;N0.db=Q0;for(var h0=0;h0<$0.length;h0++)$0[h0]._dbInfo.db=Q0;return Q0});if(!l.storeName)y1=Z0.then(function(Q0){c1(l);var N0=P[l.name],$0=N0.forages;Q0.close();for(var h0=0;h0<$0.length;h0++){var g2=$0[h0];g2._dbInfo.db=null}var F4=new F(function(x4,c4){var W9=V.deleteDatabase(l.name);W9.onerror=function(){var u9=W9.result;if(u9)u9.close();c4(W9.error)},W9.onblocked=function(){console.warn('dropInstance blocked for database "'+l.name+'" until all open connections are closed')},W9.onsuccess=function(){var u9=W9.result;if(u9)u9.close();x4(u9)}});return F4.then(function(x4){N0.db=x4;for(var c4=0;c4<$0.length;c4++){var W9=$0[c4];o1(W9._dbInfo)}}).catch(function(x4){throw(a1(l,x4)||F.resolve()).catch(function(){}),x4})});else y1=Z0.then(function(Q0){if(!Q0.objectStoreNames.contains(l.storeName))return;var N0=Q0.version+1;c1(l);var $0=P[l.name],h0=$0.forages;Q0.close();for(var g2=0;g2<h0.length;g2++){var F4=h0[g2];F4._dbInfo.db=null,F4._dbInfo.version=N0}var x4=new F(function(c4,W9){var u9=V.open(l.name,N0);u9.onerror=function(e6){var vd=u9.result;vd.close(),W9(e6)},u9.onupgradeneeded=function(){var e6=u9.result;e6.deleteObjectStore(l.storeName)},u9.onsuccess=function(){var e6=u9.result;e6.close(),c4(e6)}});return x4.then(function(c4){$0.db=c4;for(var W9=0;W9<h0.length;W9++){var u9=h0[W9];u9._dbInfo.db=c4,o1(u9._dbInfo)}}).catch(function(c4){throw(a1(l,c4)||F.resolve()).catch(function(){}),c4})})}return g(y1,_1),y1}var F1={_driver:"asyncStorage",_initStorage:G0,_support:X(),iterate:j1,getItem:H1,setItem:i1,removeItem:E0,clear:k,length:a,key:Z1,keys:Q1,dropInstance:N1};function O1(){return typeof openDatabase==="function"}var K1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",R1="~~local_forage_type~",h1=/^~~local_forage_type~([^~]+)~/,j="__lfsc__:",W1=j.length,U1="arbf",L1="blob",D0="si08",O0="ui08",k0="uic8",i0="si16",s0="si32",P2="ur16",a5="ui32",n0="fl32",B2="fl64",A2=W1+U1.length,B4=Object.prototype.toString;function A4(l){var _1=l.length*0.75,I1=l.length,v1,y1=0,E1,Z0,Q0,N0;if(l[l.length-1]==="="){if(_1--,l[l.length-2]==="=")_1--}var $0=new ArrayBuffer(_1),h0=new Uint8Array($0);for(v1=0;v1<I1;v1+=4)E1=K1.indexOf(l[v1]),Z0=K1.indexOf(l[v1+1]),Q0=K1.indexOf(l[v1+2]),N0=K1.indexOf(l[v1+3]),h0[y1++]=E1<<2|Z0>>4,h0[y1++]=(Z0&15)<<4|Q0>>2,h0[y1++]=(Q0&3)<<6|N0&63;return $0}function _5(l){var _1=new Uint8Array(l),I1="",v1;for(v1=0;v1<_1.length;v1+=3)I1+=K1[_1[v1]>>2],I1+=K1[(_1[v1]&3)<<4|_1[v1+1]>>4],I1+=K1[(_1[v1+1]&15)<<2|_1[v1+2]>>6],I1+=K1[_1[v1+2]&63];if(_1.length%3===2)I1=I1.substring(0,I1.length-1)+"=";else if(_1.length%3===1)I1=I1.substring(0,I1.length-2)+"==";return I1}function D5(l,_1){var I1="";if(l)I1=B4.call(l);if(l&&(I1==="[object ArrayBuffer]"||l.buffer&&B4.call(l.buffer)==="[object ArrayBuffer]")){var v1,y1=j;if(l instanceof ArrayBuffer)v1=l,y1+=U1;else if(v1=l.buffer,I1==="[object Int8Array]")y1+=D0;else if(I1==="[object Uint8Array]")y1+=O0;else if(I1==="[object Uint8ClampedArray]")y1+=k0;else if(I1==="[object Int16Array]")y1+=i0;else if(I1==="[object Uint16Array]")y1+=P2;else if(I1==="[object Int32Array]")y1+=s0;else if(I1==="[object Uint32Array]")y1+=a5;else if(I1==="[object Float32Array]")y1+=n0;else if(I1==="[object Float64Array]")y1+=B2;else _1(new Error("Failed to get type for BinaryArray"));_1(y1+_5(v1))}else if(I1==="[object Blob]"){var E1=new FileReader;E1.onload=function(){var Z0=R1+l.type+"~"+_5(this.result);_1(j+L1+Z0)},E1.readAsArrayBuffer(l)}else try{_1(JSON.stringify(l))}catch(Z0){console.error("Couldn't convert value into a JSON string: ",l),_1(null,Z0)}}function tZ(l){if(l.substring(0,W1)!==j)return JSON.parse(l);var _1=l.substring(A2),I1=l.substring(W1,A2),v1;if(I1===L1&&h1.test(_1)){var y1=_1.match(h1);v1=y1[1],_1=_1.substring(y1[0].length)}var E1=A4(_1);switch(I1){case U1:return E1;case L1:return _([E1],{type:v1});case D0:return new Int8Array(E1);case O0:return new Uint8Array(E1);case k0:return new Uint8ClampedArray(E1);case i0:return new Int16Array(E1);case P2:return new Uint16Array(E1);case s0:return new Int32Array(E1);case a5:return new Uint32Array(E1);case n0:return new Float32Array(E1);case B2:return new Float64Array(E1);default:throw new Error("Unkown type: "+I1)}}var T6={serialize:D5,deserialize:tZ,stringToBuffer:A4,bufferToString:_5};function pB(l,_1,I1,v1){l.executeSql("CREATE TABLE IF NOT EXISTS "+_1.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],I1,v1)}function iB(l){var _1=this,I1={db:null};if(l)for(var v1 in l)I1[v1]=typeof l[v1]!=="string"?l[v1].toString():l[v1];var y1=new F(function(E1,Z0){try{I1.db=openDatabase(I1.name,String(I1.version),I1.description,I1.size)}catch(Q0){return Z0(Q0)}I1.db.transaction(function(Q0){pB(Q0,I1,function(){_1._dbInfo=I1,E1()},function(N0,$0){Z0($0)})},Z0)});return I1.serializer=T6,y1}function X3(l,_1,I1,v1,y1,E1){l.executeSql(I1,v1,y1,function(Z0,Q0){if(Q0.code===Q0.SYNTAX_ERR)Z0.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[_1.storeName],function(N0,$0){if(!$0.rows.length)pB(N0,_1,function(){N0.executeSql(I1,v1,y1,E1)},E1);else E1(N0,Q0)},E1);else E1(Z0,Q0)},E1)}function Nd(l,_1){var I1=this;l=K(l);var v1=new F(function(y1,E1){I1.ready().then(function(){var Z0=I1._dbInfo;Z0.db.transaction(function(Q0){X3(Q0,Z0,"SELECT * FROM "+Z0.storeName+" WHERE key = ? LIMIT 1",[l],function(N0,$0){var h0=$0.rows.length?$0.rows.item(0).value:null;if(h0)h0=Z0.serializer.deserialize(h0);y1(h0)},function(N0,$0){E1($0)})})}).catch(E1)});return g(v1,_1),v1}function IC(l,_1){var I1=this,v1=new F(function(y1,E1){I1.ready().then(function(){var Z0=I1._dbInfo;Z0.db.transaction(function(Q0){X3(Q0,Z0,"SELECT * FROM "+Z0.storeName,[],function(N0,$0){var h0=$0.rows,g2=h0.length;for(var F4=0;F4<g2;F4++){var x4=h0.item(F4),c4=x4.value;if(c4)c4=Z0.serializer.deserialize(c4);if(c4=l(c4,x4.key,F4+1),c4!==void 0){y1(c4);return}}y1()},function(N0,$0){E1($0)})})}).catch(E1)});return g(v1,_1),v1}function Y3(l,_1,I1,v1){var y1=this;l=K(l);var E1=new F(function(Z0,Q0){y1.ready().then(function(){if(_1===void 0)_1=null;var N0=_1,$0=y1._dbInfo;$0.serializer.serialize(_1,function(h0,g2){if(g2)Q0(g2);else $0.db.transaction(function(F4){X3(F4,$0,"INSERT OR REPLACE INTO "+$0.storeName+" (key, value) VALUES (?, ?)",[l,h0],function(){Z0(N0)},function(x4,c4){Q0(c4)})},function(F4){if(F4.code===F4.QUOTA_ERR){if(v1>0){Z0(Y3.apply(y1,[l,N0,I1,v1-1]));return}Q0(F4)}})})}).catch(Q0)});return g(E1,I1),E1}function zd(l,_1,I1){return Y3.apply(this,[l,_1,I1,1])}function Qd(l,_1){var I1=this;l=K(l);var v1=new F(function(y1,E1){I1.ready().then(function(){var Z0=I1._dbInfo;Z0.db.transaction(function(Q0){X3(Q0,Z0,"DELETE FROM "+Z0.storeName+" WHERE key = ?",[l],function(){y1()},function(N0,$0){E1($0)})})}).catch(E1)});return g(v1,_1),v1}function QG(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){var E1=_1._dbInfo;E1.db.transaction(function(Z0){X3(Z0,E1,"DELETE FROM "+E1.storeName,[],function(){v1()},function(Q0,N0){y1(N0)})})}).catch(y1)});return g(I1,l),I1}function fG(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){var E1=_1._dbInfo;E1.db.transaction(function(Z0){X3(Z0,E1,"SELECT COUNT(key) as c FROM "+E1.storeName,[],function(Q0,N0){var $0=N0.rows.item(0).c;v1($0)},function(Q0,N0){y1(N0)})})}).catch(y1)});return g(I1,l),I1}function X7(l,_1){var I1=this,v1=new F(function(y1,E1){I1.ready().then(function(){var Z0=I1._dbInfo;Z0.db.transaction(function(Q0){X3(Q0,Z0,"SELECT key FROM "+Z0.storeName+" WHERE id = ? LIMIT 1",[l+1],function(N0,$0){var h0=$0.rows.length?$0.rows.item(0).key:null;y1(h0)},function(N0,$0){E1($0)})})}).catch(E1)});return g(v1,_1),v1}function vI(l){var _1=this,I1=new F(function(v1,y1){_1.ready().then(function(){var E1=_1._dbInfo;E1.db.transaction(function(Z0){X3(Z0,E1,"SELECT key FROM "+E1.storeName,[],function(Q0,N0){var $0=[];for(var h0=0;h0<N0.rows.length;h0++)$0.push(N0.rows.item(h0).key);v1($0)},function(Q0,N0){y1(N0)})})}).catch(y1)});return g(I1,l),I1}function i7(l){return new F(function(_1,I1){l.transaction(function(v1){v1.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(y1,E1){var Z0=[];for(var Q0=0;Q0<E1.rows.length;Q0++)Z0.push(E1.rows.item(Q0).name);_1({db:l,storeNames:Z0})},function(y1,E1){I1(E1)})},function(v1){I1(v1)})})}function fd(l,_1){_1=Q.apply(this,arguments);var I1=this.config();if(l=typeof l!=="function"&&l||{},!l.name)l.name=l.name||I1.name,l.storeName=l.storeName||I1.storeName;var v1=this,y1;if(!l.name)y1=F.reject("Invalid arguments");else y1=new F(function(E1){var Z0;if(l.name===I1.name)Z0=v1._dbInfo.db;else Z0=openDatabase(l.name,"","",0);if(!l.storeName)E1(i7(Z0));else E1({db:Z0,storeNames:[l.storeName]})}).then(function(E1){return new F(function(Z0,Q0){E1.db.transaction(function(N0){function $0(x4){return new F(function(c4,W9){N0.executeSql("DROP TABLE IF EXISTS "+x4,[],function(){c4()},function(u9,e6){W9(e6)})})}var h0=[];for(var g2=0,F4=E1.storeNames.length;g2<F4;g2++)h0.push($0(E1.storeNames[g2]));F.all(h0).then(function(){Z0()}).catch(function(x4){Q0(x4)})},function(N0){Q0(N0)})})});return g(y1,_1),y1}var Y7={_driver:"webSQLStorage",_initStorage:iB,_support:O1(),iterate:IC,getItem:Nd,setItem:zd,removeItem:Qd,clear:QG,length:fG,key:X7,keys:vI,dropInstance:fd};function nB(){try{return typeof localStorage!=="undefined"&&"setItem"in localStorage&&!!localStorage.setItem}catch(l){return!1}}function qd(l,_1){var I1=l.name+"/";if(l.storeName!==_1.storeName)I1+=l.storeName+"/";return I1}function rB(){var l="_localforage_support_test";try{return localStorage.setItem(l,!0),localStorage.removeItem(l),!1}catch(_1){return!0}}function PW(){return!rB()||localStorage.length>0}function $W(l){var _1=this,I1={};if(l)for(var v1 in l)I1[v1]=l[v1];if(I1.keyPrefix=qd(l,_1._defaultConfig),!PW())return F.reject();return _1._dbInfo=I1,I1.serializer=T6,F.resolve()}function v8(l){var _1=this,I1=_1.ready().then(function(){var v1=_1._dbInfo.keyPrefix;for(var y1=localStorage.length-1;y1>=0;y1--){var E1=localStorage.key(y1);if(E1.indexOf(v1)===0)localStorage.removeItem(E1)}});return g(I1,l),I1}function qG(l,_1){var I1=this;l=K(l);var v1=I1.ready().then(function(){var y1=I1._dbInfo,E1=localStorage.getItem(y1.keyPrefix+l);if(E1)E1=y1.serializer.deserialize(E1);return E1});return g(v1,_1),v1}function aB(l,_1){var I1=this,v1=I1.ready().then(function(){var y1=I1._dbInfo,E1=y1.keyPrefix,Z0=E1.length,Q0=localStorage.length,N0=1;for(var $0=0;$0<Q0;$0++){var h0=localStorage.key($0);if(h0.indexOf(E1)!==0)continue;var g2=localStorage.getItem(h0);if(g2)g2=y1.serializer.deserialize(g2);if(g2=l(g2,h0.substring(Z0),N0++),g2!==void 0)return g2}});return g(v1,_1),v1}function uW(l,_1){var I1=this,v1=I1.ready().then(function(){var y1=I1._dbInfo,E1;try{E1=localStorage.key(l)}catch(Z0){E1=null}if(E1)E1=E1.substring(y1.keyPrefix.length);return E1});return g(v1,_1),v1}function Rd(l){var _1=this,I1=_1.ready().then(function(){var v1=_1._dbInfo,y1=localStorage.length,E1=[];for(var Z0=0;Z0<y1;Z0++){var Q0=localStorage.key(Z0);if(Q0.indexOf(v1.keyPrefix)===0)E1.push(Q0.substring(v1.keyPrefix.length))}return E1});return g(I1,l),I1}function sB(l){var _1=this,I1=_1.keys().then(function(v1){return v1.length});return g(I1,l),I1}function TW(l,_1){var I1=this;l=K(l);var v1=I1.ready().then(function(){var y1=I1._dbInfo;localStorage.removeItem(y1.keyPrefix+l)});return g(v1,_1),v1}function Ud(l,_1,I1){var v1=this;l=K(l);var y1=v1.ready().then(function(){if(_1===void 0)_1=null;var E1=_1;return new F(function(Z0,Q0){var N0=v1._dbInfo;N0.serializer.serialize(_1,function($0,h0){if(h0)Q0(h0);else try{localStorage.setItem(N0.keyPrefix+l,$0),Z0(E1)}catch(g2){if(g2.name==="QuotaExceededError"||g2.name==="NS_ERROR_DOM_QUOTA_REACHED")Q0(g2);Q0(g2)}})})});return g(y1,I1),y1}function _7(l,_1){if(_1=Q.apply(this,arguments),l=typeof l!=="function"&&l||{},!l.name){var I1=this.config();l.name=l.name||I1.name,l.storeName=l.storeName||I1.storeName}var v1=this,y1;if(!l.name)y1=F.reject("Invalid arguments");else y1=new F(function(E1){if(!l.storeName)E1(l.name+"/");else E1(qd(l,v1._defaultConfig))}).then(function(E1){for(var Z0=localStorage.length-1;Z0>=0;Z0--){var Q0=localStorage.key(Z0);if(Q0.indexOf(E1)===0)localStorage.removeItem(Q0)}});return g(y1,_1),y1}var OW={_driver:"localStorageWrapper",_initStorage:$W,_support:nB(),iterate:aB,getItem:qG,setItem:Ud,removeItem:TW,clear:v8,length:sB,key:uW,keys:Rd,dropInstance:_7},d1=function l(_1,I1){return _1===I1||typeof _1==="number"&&typeof I1==="number"&&isNaN(_1)&&isNaN(I1)},o=function l(_1,I1){var v1=_1.length,y1=0;while(y1<v1){if(d1(_1[y1],I1))return!0;y1++}return!1},S1=Array.isArray||function(l){return Object.prototype.toString.call(l)==="[object Array]"},p1={},l1={},s1={INDEXEDDB:F1,WEBSQL:Y7,LOCALSTORAGE:OW},U0=[s1.INDEXEDDB._driver,s1.WEBSQL._driver,s1.LOCALSTORAGE._driver],w0=["dropInstance"],J0=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(w0),W0={description:"",driver:U0.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function g0(l,_1){l[_1]=function(){var I1=arguments;return l.ready().then(function(){return l[_1].apply(l,I1)})}}function c2(){for(var l=1;l<arguments.length;l++){var _1=arguments[l];if(_1){for(var I1 in _1)if(_1.hasOwnProperty(I1))if(S1(_1[I1]))arguments[0][I1]=_1[I1].slice();else arguments[0][I1]=_1[I1]}}return arguments[0]}var L2=function(){function l(_1){B(this,l);for(var I1 in s1)if(s1.hasOwnProperty(I1)){var v1=s1[I1],y1=v1._driver;if(this[I1]=y1,!p1[y1])this.defineDriver(v1)}this._defaultConfig=c2({},W0),this._config=c2({},this._defaultConfig,_1),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return l.prototype.config=function _1(I1){if((typeof I1==="undefined"?"undefined":w(I1))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var v1 in I1){if(v1==="storeName")I1[v1]=I1[v1].replace(/\W/g,"_");if(v1==="version"&&typeof I1[v1]!=="number")return new Error("Database version must be a number.");this._config[v1]=I1[v1]}if("driver"in I1&&I1.driver)return this.setDriver(this._config.driver);return!0}else if(typeof I1==="string")return this._config[I1];else return this._config},l.prototype.defineDriver=function _1(I1,v1,y1){var E1=new F(function(Z0,Q0){try{var N0=I1._driver,$0=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!I1._driver){Q0($0);return}var h0=J0.concat("_initStorage");for(var g2=0,F4=h0.length;g2<F4;g2++){var x4=h0[g2],c4=!o(w0,x4);if((c4||I1[x4])&&typeof I1[x4]!=="function"){Q0($0);return}}var W9=function e6(){var vd=function HK(Ed){return function(){var $4=new Error("Method "+Ed+" is not implemented by the current driver"),oB=F.reject($4);return g(oB,arguments[arguments.length-1]),oB}};for(var dC=0,qX=w0.length;dC<qX;dC++){var RG=w0[dC];if(!I1[RG])I1[RG]=vd(RG)}};W9();var u9=function e6(vd){if(p1[N0])console.info("Redefining LocalForage driver: "+N0);p1[N0]=I1,l1[N0]=vd,Z0()};if("_support"in I1)if(I1._support&&typeof I1._support==="function")I1._support().then(u9,Q0);else u9(!!I1._support);else u9(!0)}catch(e6){Q0(e6)}});return J(E1,v1,y1),E1},l.prototype.driver=function _1(){return this._driver||null},l.prototype.getDriver=function _1(I1,v1,y1){var E1=p1[I1]?F.resolve(p1[I1]):F.reject(new Error("Driver not found."));return J(E1,v1,y1),E1},l.prototype.getSerializer=function _1(I1){var v1=F.resolve(T6);return J(v1,I1),v1},l.prototype.ready=function _1(I1){var v1=this,y1=v1._driverSet.then(function(){if(v1._ready===null)v1._ready=v1._initDriver();return v1._ready});return J(y1,I1,I1),y1},l.prototype.setDriver=function _1(I1,v1,y1){var E1=this;if(!S1(I1))I1=[I1];var Z0=this._getSupportedDrivers(I1);function Q0(){E1._config.driver=E1.driver()}function N0(g2){return E1._extend(g2),Q0(),E1._ready=E1._initStorage(E1._config),E1._ready}function $0(g2){return function(){var F4=0;function x4(){while(F4<g2.length){var c4=g2[F4];return F4++,E1._dbInfo=null,E1._ready=null,E1.getDriver(c4).then(N0).catch(x4)}Q0();var W9=new Error("No available storage method found.");return E1._driverSet=F.reject(W9),E1._driverSet}return x4()}}var h0=this._driverSet!==null?this._driverSet.catch(function(){return F.resolve()}):F.resolve();return this._driverSet=h0.then(function(){var g2=Z0[0];return E1._dbInfo=null,E1._ready=null,E1.getDriver(g2).then(function(F4){E1._driver=F4._driver,Q0(),E1._wrapLibraryMethodsWithReady(),E1._initDriver=$0(Z0)})}).catch(function(){Q0();var g2=new Error("No available storage method found.");return E1._driverSet=F.reject(g2),E1._driverSet}),J(this._driverSet,v1,y1),this._driverSet},l.prototype.supports=function _1(I1){return!!l1[I1]},l.prototype._extend=function _1(I1){c2(this,I1)},l.prototype._getSupportedDrivers=function _1(I1){var v1=[];for(var y1=0,E1=I1.length;y1<E1;y1++){var Z0=I1[y1];if(this.supports(Z0))v1.push(Z0)}return v1},l.prototype._wrapLibraryMethodsWithReady=function _1(){for(var I1=0,v1=J0.length;I1<v1;I1++)g0(this,J0[I1])},l.prototype.createInstance=function _1(I1){return new l(I1)},l}(),R2=new L2;C.exports=R2},{"3":3}]},{},[4])(4)})});var Cy1=Y((Zy1)=>{Object.defineProperty(Zy1,"__esModule",{value:!0});var Jw=V0(),O24=Gy1(),uF=XE(),eX=Jw.GLOBAL_OBJ;class YE{static __initStatic(){this.id="Offline"}constructor(I={}){this.name=YE.id,this.maxStoredEvents=I.maxStoredEvents||30,this.offlineEventStore=O24.createInstance({name:"sentry/offlineEventStore"})}setupOnce(I,d){if(this.hub=d(),"addEventListener"in eX)eX.addEventListener("online",()=>{this._sendEvents().catch(()=>{uF.DEBUG_BUILD&&Jw.logger.warn("could not send cached events")})});let G=(Z)=>{if(this.hub&&this.hub.getIntegration(YE)){if("navigator"in eX&&"onLine"in eX.navigator&&!eX.navigator.onLine)return uF.DEBUG_BUILD&&Jw.logger.log("Event dropped due to being a offline - caching instead"),this._cacheEvent(Z).then((C)=>this._enforceMaxEvents()).catch((C)=>{uF.DEBUG_BUILD&&Jw.logger.warn("could not cache event while offline")}),null}return Z};if(G.id=this.name,I(G),"navigator"in eX&&"onLine"in eX.navigator&&eX.navigator.onLine)this._sendEvents().catch(()=>{uF.DEBUG_BUILD&&Jw.logger.warn("could not send cached events")})}async _cacheEvent(I){return this.offlineEventStore.setItem(Jw.uuid4(),Jw.normalize(I))}async _enforceMaxEvents(){let I=[];return this.offlineEventStore.iterate((d,G,Z)=>{I.push({cacheKey:G,event:d})}).then(()=>this._purgeEvents(I.sort((d,G)=>(G.event.timestamp||0)-(d.event.timestamp||0)).slice(this.maxStoredEvents<I.length?this.maxStoredEvents:I.length).map((d)=>d.cacheKey))).catch((d)=>{uF.DEBUG_BUILD&&Jw.logger.warn("could not enforce max events")})}async _purgeEvent(I){return this.offlineEventStore.removeItem(I)}async _purgeEvents(I){return Promise.all(I.map((d)=>this._purgeEvent(d))).then()}async _sendEvents(){return this.offlineEventStore.iterate((I,d,G)=>{if(this.hub)this.hub.captureEvent(I),this._purgeEvent(d).catch((Z)=>{uF.DEBUG_BUILD&&Jw.logger.warn("could not purge event from cache")});else uF.DEBUG_BUILD&&Jw.logger.warn("no hub found - could not send cached event")})}}YE.__initStatic();Zy1.Offline=YE});var Xy1=Y((Vy1)=>{Object.defineProperty(Vy1,"__esModule",{value:!0});var _E=V4(),wy1=V0(),l24=wy1.GLOBAL_OBJ,By1="ReportingObserver",Wy1=new WeakMap,b24=(I={})=>{let d=I.types||["crash","deprecation","intervention"];function G(Z){if(!Wy1.has(_E.getClient()))return;for(let C of Z)_E.withScope((W)=>{W.setExtra("url",C.url);let w=`ReportingObserver [${C.type}]`,B="No details available";if(C.body){let A={};for(let V in C.body)A[V]=C.body[V];if(W.setExtra("body",A),C.type==="crash"){let V=C.body;B=[V.crashId||"",V.reason||""].join(" ").trim()||B}else B=C.body.message||B}_E.captureMessage(`${w}: ${B}`)})}return{name:By1,setupOnce(){if(!wy1.supportsReportingObserver())return;new l24.ReportingObserver(G,{buffered:!0,types:d}).observe()},setup(Z){Wy1.set(Z,!0)}}},Ay1=_E.defineIntegration(b24),h24=_E.convertIntegrationFnToClass(By1,Ay1);Vy1.ReportingObserver=h24;Vy1.reportingObserverIntegration=Ay1});var gy1=Y((Fy1)=>{Object.defineProperty(Fy1,"__esModule",{value:!0});var _y1=V4(),Yy1=V0(),Dy1="RewriteFrames",x24=(I={})=>{let d=I.root,G=I.prefix||"app:///",Z=I.iteratee||((w)=>{if(!w.filename)return w;let B=/^[a-zA-Z]:\\/.test(w.filename)||w.filename.includes("\\")&&!w.filename.includes("/"),A=/^\//.test(w.filename);if(B||A){let V=B?w.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):w.filename,X=d?Yy1.relative(d,V):Yy1.basename(V);w.filename=`${G}${X}`}return w});function C(w){try{return{...w,exception:{...w.exception,values:w.exception.values.map((B)=>({...B,...B.stacktrace&&{stacktrace:W(B.stacktrace)}}))}}}catch(B){return w}}function W(w){return{...w,frames:w&&w.frames&&w.frames.map((B)=>Z(B))}}return{name:Dy1,setupOnce(){},processEvent(w){let B=w;if(w.exception&&Array.isArray(w.exception.values))B=C(B);return B}}},Hy1=_y1.defineIntegration(x24),c24=_y1.convertIntegrationFnToClass(Dy1,Hy1);Fy1.RewriteFrames=c24;Fy1.rewriteFramesIntegration=Hy1});var Qy1=Y((zy1)=>{Object.defineProperty(zy1,"__esModule",{value:!0});var Jy1=V4(),Ky1="SessionTiming",n24=()=>{let I=Date.now();return{name:Ky1,setupOnce(){},processEvent(d){let G=Date.now();return{...d,extra:{...d.extra,["session:start"]:I,["session:duration"]:G-I,["session:end"]:G}}}}},Ny1=Jy1.defineIntegration(n24),r24=Jy1.convertIntegrationFnToClass(Ky1,Ny1);zy1.SessionTiming=r24;zy1.sessionTimingIntegration=Ny1});var Ry1=Y((qy1)=>{Object.defineProperty(qy1,"__esModule",{value:!0});var o24=V4(),fy1="Transaction",e24=()=>{return{name:fy1,setupOnce(){},processEvent(I){let d=I44(I);for(let G=d.length-1;G>=0;G--){let Z=d[G];if(Z.in_app===!0){I.transaction=d44(Z);break}}return I}}},t24=o24.convertIntegrationFnToClass(fy1,e24);function I44(I){let d=I.exception&&I.exception.values&&I.exception.values[0];return d&&d.stacktrace&&d.stacktrace.frames||[]}function d44(I){return I.module||I.function?`${I.module||"?"}/${I.function||"?"}`:"<unknown>"}qy1.Transaction=t24});var Py1=Y((yy1)=>{Object.defineProperty(yy1,"__esModule",{value:!0});var uA=V4(),Kw=V0(),om=XE(),Uy1="HttpClient",Z44=(I={})=>{let d={failedRequestStatusCodes:[[500,599]],failedRequestTargets:[/.*/],...I};return{name:Uy1,setupOnce(){},setup(G){_44(G,d),D44(G,d)}}},vy1=uA.defineIntegration(Z44),C44=uA.convertIntegrationFnToClass(Uy1,vy1);function W44(I,d,G,Z){if(My1(I,G.status,G.url)){let C=H44(d,Z),W,w,B,A;if(Ly1())[{headers:W,cookies:B},{headers:w,cookies:A}]=[{cookieHeader:"Cookie",obj:C},{cookieHeader:"Set-Cookie",obj:G}].map(({cookieHeader:X,obj:_})=>{let F=A44(_.headers),g;try{let J=F[X]||F[X.toLowerCase()]||void 0;if(J)g=Ey1(J)}catch(J){om.DEBUG_BUILD&&Kw.logger.log(`Could not extract cookies from header ${X}`)}return{headers:F,cookies:g}});let V=Sy1({url:C.url,method:C.method,status:G.status,requestHeaders:W,responseHeaders:w,requestCookies:B,responseCookies:A});uA.captureEvent(V)}}function w44(I,d,G,Z){if(My1(I,d.status,d.responseURL)){let C,W,w;if(Ly1()){try{let A=d.getResponseHeader("Set-Cookie")||d.getResponseHeader("set-cookie")||void 0;if(A)W=Ey1(A)}catch(A){om.DEBUG_BUILD&&Kw.logger.log("Could not extract cookies from response headers")}try{w=V44(d)}catch(A){om.DEBUG_BUILD&&Kw.logger.log("Could not extract headers from response")}C=Z}let B=Sy1({url:d.responseURL,method:G,status:d.status,requestHeaders:C,responseHeaders:w,responseCookies:W});uA.captureEvent(B)}}function B44(I){if(I){let d=I["Content-Length"]||I["content-length"];if(d)return parseInt(d,10)}return}function Ey1(I){return I.split("; ").reduce((d,G)=>{let[Z,C]=G.split("=");return d[Z]=C,d},{})}function A44(I){let d={};return I.forEach((G,Z)=>{d[Z]=G}),d}function V44(I){let d=I.getAllResponseHeaders();if(!d)return{};return d.split(`\r
`).reduce((G,Z)=>{let[C,W]=Z.split(": ");return G[C]=W,G},{})}function X44(I,d){return I.some((G)=>{if(typeof G==="string")return d.includes(G);return G.test(d)})}function Y44(I,d){return I.some((G)=>{if(typeof G==="number")return G===d;return d>=G[0]&&d<=G[1]})}function _44(I,d){if(!Kw.supportsNativeFetch())return;Kw.addFetchInstrumentationHandler((G)=>{if(uA.getClient()!==I)return;let{response:Z,args:C}=G,[W,w]=C;if(!Z)return;W44(d,W,Z,w)})}function D44(I,d){if(!("XMLHttpRequest"in Kw.GLOBAL_OBJ))return;Kw.addXhrInstrumentationHandler((G)=>{if(uA.getClient()!==I)return;let Z=G.xhr,C=Z[Kw.SENTRY_XHR_DATA_KEY];if(!C)return;let{method:W,request_headers:w}=C;try{w44(d,Z,W,w)}catch(B){om.DEBUG_BUILD&&Kw.logger.warn("Error while extracting response event form XHR response",B)}})}function My1(I,d,G){return Y44(I.failedRequestStatusCodes,d)&&X44(I.failedRequestTargets,G)&&!uA.isSentryRequestUrl(G,uA.getClient())}function Sy1(I){let d=`HTTP Client Error with status code: ${I.status}`,G={message:d,exception:{values:[{type:"Error",value:d}]},request:{url:I.url,method:I.method,headers:I.requestHeaders,cookies:I.requestCookies},contexts:{response:{status_code:I.status,headers:I.responseHeaders,cookies:I.responseCookies,body_size:B44(I.responseHeaders)}}};return Kw.addExceptionMechanism(G,{type:"http.client",handled:!1}),G}function H44(I,d){if(!d&&I instanceof Request)return I;if(I instanceof Request&&I.bodyUsed)return I;return new Request(I,d)}function Ly1(){let I=uA.getClient();return I?Boolean(I.getOptions().sendDefaultPii):!1}yy1.HttpClient=C44;yy1.httpClientIntegration=vy1});var ly1=Y((my1)=>{Object.defineProperty(my1,"__esModule",{value:!0});var $y1=V4(),b01=V0(),l01=b01.GLOBAL_OBJ,J44=7,uy1="ContextLines",K44=(I={})=>{let d=I.frameContextLines!=null?I.frameContextLines:J44;return{name:uy1,setupOnce(){},processEvent(G){return z44(G,d)}}},Ty1=$y1.defineIntegration(K44),N44=$y1.convertIntegrationFnToClass(uy1,Ty1);function z44(I,d){let G=l01.document,Z=l01.location&&b01.stripUrlQueryAndFragment(l01.location.href);if(!G||!Z)return I;let C=I.exception&&I.exception.values;if(!C||!C.length)return I;let W=G.documentElement.innerHTML;if(!W)return I;let w=["<!DOCTYPE html>","<html>",...W.split(`
`),"</html>"];return C.forEach((B)=>{let A=B.stacktrace;if(A&&A.frames)A.frames=A.frames.map((V)=>Oy1(V,w,Z,d))}),I}function Oy1(I,d,G,Z){if(I.filename!==G||!I.lineno||!d.length)return I;return b01.addContextToFrame(d,I,Z),I}my1.ContextLines=N44;my1.applySourceContextToFrame=Oy1;my1.contextLinesIntegration=Ty1});var ay1=Y((ry1)=>{Object.defineProperty(ry1,"__esModule",{value:!0});var by1=$L1(),hy1=lL1(),jy1=aL1(),ky1=Iy1(),R44=Cy1(),xy1=Xy1(),cy1=gy1(),py1=Qy1(),U44=Ry1(),iy1=Py1(),ny1=ly1();ry1.CaptureConsole=by1.CaptureConsole;ry1.captureConsoleIntegration=by1.captureConsoleIntegration;ry1.Debug=hy1.Debug;ry1.debugIntegration=hy1.debugIntegration;ry1.Dedupe=jy1.Dedupe;ry1.dedupeIntegration=jy1.dedupeIntegration;ry1.ExtraErrorData=ky1.ExtraErrorData;ry1.extraErrorDataIntegration=ky1.extraErrorDataIntegration;ry1.Offline=R44.Offline;ry1.ReportingObserver=xy1.ReportingObserver;ry1.reportingObserverIntegration=xy1.reportingObserverIntegration;ry1.RewriteFrames=cy1.RewriteFrames;ry1.rewriteFramesIntegration=cy1.rewriteFramesIntegration;ry1.SessionTiming=py1.SessionTiming;ry1.sessionTimingIntegration=py1.sessionTimingIntegration;ry1.Transaction=U44.Transaction;ry1.HttpClient=iy1.HttpClient;ry1.httpClientIntegration=iy1.httpClientIntegration;ry1.ContextLines=ny1.ContextLines;ry1.contextLinesIntegration=ny1.contextLinesIntegration});var em=Y((sy1)=>{Object.defineProperty(sy1,"__esModule",{value:!0});var i44=[["january","1"],["february","2"],["march","3"],["april","4"],["may","5"],["june","6"],["july","7"],["august","8"],["september","9"],["october","10"],["november","11"],["december","12"],["jan","1"],["feb","2"],["mar","3"],["apr","4"],["may","5"],["jun","6"],["jul","7"],["aug","8"],["sep","9"],["oct","10"],["nov","11"],["dec","12"],["sunday","0"],["monday","1"],["tuesday","2"],["wednesday","3"],["thursday","4"],["friday","5"],["saturday","6"],["sun","0"],["mon","1"],["tue","2"],["wed","3"],["thu","4"],["fri","5"],["sat","6"]];function n44(I){return i44.reduce((d,[G,Z])=>d.replace(new RegExp(G,"gi"),Z),I)}sy1.replaceCronNames=n44});var dP1=Y((IP1)=>{Object.defineProperty(IP1,"__esModule",{value:!0});var oy1=V4(),ey1=em(),ty1="Automatic instrumentation of CronJob only supports crontab string";function a44(I,d){let G=!1;return new Proxy(I,{construct(Z,C){let[W,w,B,A,V,...X]=C;if(typeof W!=="string")throw new Error(ty1);if(G)throw new Error(`A job named '${d}' has already been scheduled`);G=!0;let _=ey1.replaceCronNames(W);function F(g,J){return oy1.withMonitor(d,()=>{return w(g,J)},{schedule:{type:"crontab",value:_},timezone:V||void 0})}return new Z(W,F,B,A,V,...X)},get(Z,C){if(C==="from")return(W)=>{let{cronTime:w,onTick:B,timeZone:A}=W;if(typeof w!=="string")throw new Error(ty1);if(G)throw new Error(`A job named '${d}' has already been scheduled`);G=!0;let V=ey1.replaceCronNames(w);return W.onTick=(X,_)=>{return oy1.withMonitor(d,()=>{return B(X,_)},{schedule:{type:"crontab",value:V},timezone:A||void 0})},Z.from(W)};else return Z[C]}})}IP1.instrumentCron=a44});var CP1=Y((ZP1)=>{var{_optionalChain:GP1}=V0();Object.defineProperty(ZP1,"__esModule",{value:!0});var o44=V4(),e44=em();function t44(I){return new Proxy(I,{get(d,G){if(G==="schedule"&&d.schedule)return new Proxy(d.schedule,{apply(Z,C,W){let[w,,B]=W;if(!GP1([B,"optionalAccess",(A)=>A.name]))throw new Error('Missing "name" for scheduled job. A name is required for Sentry check-in monitoring.');return o44.withMonitor(B.name,()=>{return Z.apply(C,W)},{schedule:{type:"crontab",value:e44.replaceCronNames(w)},timezone:GP1([B,"optionalAccess",(A)=>A.timezone])})}});else return d[G]}})}ZP1.instrumentNodeCron=t44});var wP1=Y((WP1)=>{Object.defineProperty(WP1,"__esModule",{value:!0});var d54=V4(),G54=em();function Z54(I){return new Proxy(I,{get(d,G){if(G==="scheduleJob")return new Proxy(d.scheduleJob,{apply(Z,C,W){let[w,B]=W;if(typeof w!=="string"||typeof B!=="string")throw new Error("Automatic instrumentation of 'node-schedule' requires the first parameter of 'scheduleJob' to be a job name string and the second parameter to be a crontab string");let A=w,V=B;return d54.withMonitor(A,()=>{return Z.apply(C,W)},{schedule:{type:"crontab",value:G54.replaceCronNames(V)}})}});return d[G]}})}WP1.instrumentNodeSchedule=Z54});var _P1=Y((YP1)=>{Object.defineProperty(YP1,"__esModule",{value:!0});var Q2=V4(),W54=_M1(),w54=F01(),B54=K01(),DE=y01(),h01=V0(),A54=dL1(),BP1=L01(),V54=VL1(),X54=KL1(),Y54=EL1(),_54=SL1(),tX=ay1(),D54=Sm(),H54=hm(),F54=km(),g54=mm(),J54=Pm(),K54=Lm(),N54=Om(),z54=xm(),Q54=rm(),AP1=O01(),VP1=pm(),XP1=$m(),f54=T01(),q54=dP1(),R54=CP1(),U54=wP1(),v54=BP1.createGetModuleFromFilename(),E54={...Q2.Integrations,...Y54,..._54},M54={instrumentCron:q54.instrumentCron,instrumentNodeCron:R54.instrumentNodeCron,instrumentNodeSchedule:U54.instrumentNodeSchedule};YP1.Hub=Q2.Hub;YP1.SDK_VERSION=Q2.SDK_VERSION;YP1.SEMANTIC_ATTRIBUTE_SENTRY_OP=Q2.SEMANTIC_ATTRIBUTE_SENTRY_OP;YP1.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN=Q2.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN;YP1.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE=Q2.SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE;YP1.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE=Q2.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE;YP1.Scope=Q2.Scope;YP1.addBreadcrumb=Q2.addBreadcrumb;YP1.addEventProcessor=Q2.addEventProcessor;YP1.addGlobalEventProcessor=Q2.addGlobalEventProcessor;YP1.addIntegration=Q2.addIntegration;YP1.captureCheckIn=Q2.captureCheckIn;YP1.captureEvent=Q2.captureEvent;YP1.captureException=Q2.captureException;YP1.captureMessage=Q2.captureMessage;YP1.captureSession=Q2.captureSession;YP1.close=Q2.close;YP1.configureScope=Q2.configureScope;YP1.continueTrace=Q2.continueTrace;YP1.createTransport=Q2.createTransport;YP1.endSession=Q2.endSession;YP1.extractTraceparentData=Q2.extractTraceparentData;YP1.flush=Q2.flush;YP1.functionToStringIntegration=Q2.functionToStringIntegration;YP1.getActiveSpan=Q2.getActiveSpan;YP1.getActiveTransaction=Q2.getActiveTransaction;YP1.getClient=Q2.getClient;YP1.getCurrentHub=Q2.getCurrentHub;YP1.getCurrentScope=Q2.getCurrentScope;YP1.getGlobalScope=Q2.getGlobalScope;YP1.getHubFromCarrier=Q2.getHubFromCarrier;YP1.getIsolationScope=Q2.getIsolationScope;YP1.getSpanStatusFromHttpCode=Q2.getSpanStatusFromHttpCode;YP1.inboundFiltersIntegration=Q2.inboundFiltersIntegration;YP1.isInitialized=Q2.isInitialized;YP1.lastEventId=Q2.lastEventId;YP1.linkedErrorsIntegration=Q2.linkedErrorsIntegration;YP1.makeMain=Q2.makeMain;YP1.metrics=Q2.metrics;YP1.parameterize=Q2.parameterize;YP1.requestDataIntegration=Q2.requestDataIntegration;YP1.runWithAsyncContext=Q2.runWithAsyncContext;YP1.setContext=Q2.setContext;YP1.setCurrentClient=Q2.setCurrentClient;YP1.setExtra=Q2.setExtra;YP1.setExtras=Q2.setExtras;YP1.setHttpStatus=Q2.setHttpStatus;YP1.setMeasurement=Q2.setMeasurement;YP1.setTag=Q2.setTag;YP1.setTags=Q2.setTags;YP1.setUser=Q2.setUser;YP1.spanStatusfromHttpCode=Q2.spanStatusfromHttpCode;YP1.startActiveSpan=Q2.startActiveSpan;YP1.startInactiveSpan=Q2.startInactiveSpan;YP1.startSession=Q2.startSession;YP1.startSpan=Q2.startSpan;YP1.startSpanManual=Q2.startSpanManual;YP1.startTransaction=Q2.startTransaction;YP1.trace=Q2.trace;YP1.withActiveSpan=Q2.withActiveSpan;YP1.withIsolationScope=Q2.withIsolationScope;YP1.withMonitor=Q2.withMonitor;YP1.withScope=Q2.withScope;YP1.autoDiscoverNodePerformanceMonitoringIntegrations=W54.autoDiscoverNodePerformanceMonitoringIntegrations;YP1.NodeClient=w54.NodeClient;YP1.makeNodeTransport=B54.makeNodeTransport;YP1.defaultIntegrations=DE.defaultIntegrations;YP1.defaultStackParser=DE.defaultStackParser;YP1.getDefaultIntegrations=DE.getDefaultIntegrations;YP1.getSentryRelease=DE.getSentryRelease;YP1.init=DE.init;YP1.DEFAULT_USER_INCLUDES=h01.DEFAULT_USER_INCLUDES;YP1.addRequestDataToEvent=h01.addRequestDataToEvent;YP1.extractRequestData=h01.extractRequestData;YP1.deepReadDirSync=A54.deepReadDirSync;YP1.createGetModuleFromFilename=BP1.createGetModuleFromFilename;YP1.enableAnrDetection=V54.enableAnrDetection;YP1.Handlers=X54;YP1.captureConsoleIntegration=tX.captureConsoleIntegration;YP1.debugIntegration=tX.debugIntegration;YP1.dedupeIntegration=tX.dedupeIntegration;YP1.extraErrorDataIntegration=tX.extraErrorDataIntegration;YP1.httpClientIntegration=tX.httpClientIntegration;YP1.reportingObserverIntegration=tX.reportingObserverIntegration;YP1.rewriteFramesIntegration=tX.rewriteFramesIntegration;YP1.sessionTimingIntegration=tX.sessionTimingIntegration;YP1.consoleIntegration=D54.consoleIntegration;YP1.onUncaughtExceptionIntegration=H54.onUncaughtExceptionIntegration;YP1.onUnhandledRejectionIntegration=F54.onUnhandledRejectionIntegration;YP1.modulesIntegration=g54.modulesIntegration;YP1.contextLinesIntegration=J54.contextLinesIntegration;YP1.nodeContextIntegration=K54.nodeContextIntegration;YP1.localVariablesIntegration=N54.localVariablesIntegration;YP1.spotlightIntegration=z54.spotlightIntegration;YP1.anrIntegration=Q54.anrIntegration;YP1.hapiErrorPlugin=AP1.hapiErrorPlugin;YP1.hapiIntegration=AP1.hapiIntegration;YP1.Undici=VP1.Undici;YP1.nativeNodeFetchintegration=VP1.nativeNodeFetchintegration;YP1.Http=XP1.Http;YP1.httpIntegration=XP1.httpIntegration;YP1.trpcMiddleware=f54.trpcMiddleware;YP1.Integrations=E54;YP1.cron=M54;YP1.getModuleFromFilename=v54});var bu1=Y((yq9,lu1)=>{lu1.exports=function I(d){return d.map(function(G){if(G&&typeof G==="object")return G.op.replace(/(.)/g,"\\$1");if(/["\s]/.test(G)&&!/'/.test(G))return"'"+G.replace(/(['\\])/g,"\\$1")+"'";if(/["'\s]/.test(G))return'"'+G.replace(/(["\\$`!])/g,"\\$1")+'"';return String(G).replace(/([A-Za-z]:)?([#!"$&'()*,:;<=>?@[\\\]^`{|}])/g,"$1\\$2")}).join(" ")}});var iu1=Y((Pq9,pu1)=>{var cu1="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",hu1=new RegExp("^"+cu1+"$"),ju1="|&;()<> \\t",xG4='"((\\\\"|[^"])*?)"',cG4="'((\\\\'|[^'])*?)'",pG4=/^#$/,ku1="'",xu1='"',o01="$",lF="",iG4=4294967296;for(e01=0;e01<4;e01++)lF+=(iG4*Math.random()).toString(16);var e01,nG4=new RegExp("^"+lF);function rG4(I,d){var G=d.lastIndex,Z=[],C;while(C=d.exec(I))if(Z.push(C),d.lastIndex===C.index)d.lastIndex+=1;return d.lastIndex=G,Z}function aG4(I,d,G){var Z=typeof I==="function"?I(G):I[G];if(typeof Z==="undefined"&&G!="")Z="";else if(typeof Z==="undefined")Z="$";if(typeof Z==="object")return d+lF+JSON.stringify(Z)+lF;return d+Z}function sG4(I,d,G){if(!G)G={};var Z=G.escape||"\\",C="(\\"+Z+`['"`+ju1+`]|[^\\s'"`+ju1+"])+",W=new RegExp(["("+cu1+")","("+C+"|"+xG4+"|"+cG4+")+"].join("|"),"g"),w=rG4(I,W);if(w.length===0)return[];if(!d)d={};var B=!1;return w.map(function(A){var V=A[0];if(!V||B)return;if(hu1.test(V))return{op:V};var X=!1,_=!1,F="",g=!1,J;function K(){J+=1;var S,P,$=V.charAt(J);if($==="{"){if(J+=1,V.charAt(J)==="}")throw new Error("Bad substitution: "+V.slice(J-2,J+1));if(S=V.indexOf("}",J),S<0)throw new Error("Bad substitution: "+V.slice(J));P=V.slice(J,S),J=S}else if(/[*@#?$!_-]/.test($))P=$,J+=1;else{var h=V.slice(J);if(S=h.match(/[^\w\d_]/),!S)P=h,J=V.length;else P=h.slice(0,S.index),J+=S.index-1}return aG4(d,"",P)}for(J=0;J<V.length;J++){var Q=V.charAt(J);if(g=g||!X&&(Q==="*"||Q==="?"),_)F+=Q,_=!1;else if(X)if(Q===X)X=!1;else if(X==ku1)F+=Q;else if(Q===Z)if(J+=1,Q=V.charAt(J),Q===xu1||Q===Z||Q===o01)F+=Q;else F+=Z+Q;else if(Q===o01)F+=K();else F+=Q;else if(Q===xu1||Q===ku1)X=Q;else if(hu1.test(Q))return{op:V};else if(pG4.test(Q)){B=!0;var E={comment:I.slice(A.index+J+1)};if(F.length)return[F,E];return[E]}else if(Q===Z)_=!0;else if(Q===o01)F+=K();else F+=Q}if(g)return{op:"glob",pattern:F};return F}).reduce(function(A,V){return typeof V==="undefined"?A:A.concat(V)},[])}pu1.exports=function I(d,G,Z){var C=sG4(d,G,Z);if(typeof G!=="function")return C;return C.reduce(function(W,w){if(typeof w==="object")return W.concat(w);var B=w.split(RegExp("("+lF+".*?"+lF+")","g"));if(B.length===1)return W.concat(B[0]);return W.concat(B.filter(Boolean).map(function(A){if(nG4.test(A))return JSON.parse(A.split(lF)[1]);return A}))},[])}});var t01=Y((oG4)=>{oG4.quote=bu1();oG4.parse=iu1()});var u1=Y((qZ4)=>{var NE=Symbol.for("react.element"),AZ4=Symbol.for("react.portal"),VZ4=Symbol.for("react.fragment"),XZ4=Symbol.for("react.strict_mode"),YZ4=Symbol.for("react.profiler"),_Z4=Symbol.for("react.provider"),DZ4=Symbol.for("react.context"),HZ4=Symbol.for("react.forward_ref"),FZ4=Symbol.for("react.suspense"),gZ4=Symbol.for("react.memo"),JZ4=Symbol.for("react.lazy"),tu1=Symbol.iterator;function KZ4(I){if(I===null||typeof I!=="object")return null;return I=tu1&&I[tu1]||I["@@iterator"],typeof I==="function"?I:null}var GT1={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ZT1=Object.assign,CT1={};function Bz(I,d,G){this.props=I,this.context=d,this.refs=CT1,this.updater=G||GT1}Bz.prototype.isReactComponent={};Bz.prototype.setState=function(I,d){if(typeof I!=="object"&&typeof I!=="function"&&I!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,I,d,"setState")};Bz.prototype.forceUpdate=function(I){this.updater.enqueueForceUpdate(this,I,"forceUpdate")};function WT1(){}WT1.prototype=Bz.prototype;function A21(I,d,G){this.props=I,this.context=d,this.refs=CT1,this.updater=G||GT1}var V21=A21.prototype=new WT1;V21.constructor=A21;ZT1(V21,Bz.prototype);V21.isPureReactComponent=!0;var IT1=Array.isArray,wT1=Object.prototype.hasOwnProperty,X21={current:null},BT1={key:!0,ref:!0,__self:!0,__source:!0};function AT1(I,d,G){var Z,C={},W=null,w=null;if(d!=null)for(Z in d.ref!==void 0&&(w=d.ref),d.key!==void 0&&(W=""+d.key),d)wT1.call(d,Z)&&!BT1.hasOwnProperty(Z)&&(C[Z]=d[Z]);var B=arguments.length-2;if(B===1)C.children=G;else if(1<B){for(var A=Array(B),V=0;V<B;V++)A[V]=arguments[V+2];C.children=A}if(I&&I.defaultProps)for(Z in B=I.defaultProps,B)C[Z]===void 0&&(C[Z]=B[Z]);return{$$typeof:NE,type:I,key:W,ref:w,props:C,_owner:X21.current}}function NZ4(I,d){return{$$typeof:NE,type:I.type,key:d,ref:I.ref,props:I.props,_owner:I._owner}}function Y21(I){return typeof I==="object"&&I!==null&&I.$$typeof===NE}function zZ4(I){var d={"=":"=0",":":"=2"};return"$"+I.replace(/[=:]/g,function(G){return d[G]})}var dT1=/\/+/g;function B21(I,d){return typeof I==="object"&&I!==null&&I.key!=null?zZ4(""+I.key):d.toString(36)}function jl(I,d,G,Z,C){var W=typeof I;if(W==="undefined"||W==="boolean")I=null;var w=!1;if(I===null)w=!0;else switch(W){case"string":case"number":w=!0;break;case"object":switch(I.$$typeof){case NE:case AZ4:w=!0}}if(w)return w=I,C=C(w),I=Z===""?"."+B21(w,0):Z,IT1(C)?(G="",I!=null&&(G=I.replace(dT1,"$&/")+"/"),jl(C,d,G,"",function(V){return V})):C!=null&&(Y21(C)&&(C=NZ4(C,G+(!C.key||w&&w.key===C.key?"":(""+C.key).replace(dT1,"$&/")+"/")+I)),d.push(C)),1;if(w=0,Z=Z===""?".":Z+":",IT1(I))for(var B=0;B<I.length;B++){W=I[B];var A=Z+B21(W,B);w+=jl(W,d,G,A,C)}else if(A=KZ4(I),typeof A==="function")for(I=A.call(I),B=0;!(W=I.next()).done;)W=W.value,A=Z+B21(W,B++),w+=jl(W,d,G,A,C);else if(W==="object")throw d=String(I),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(I).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.");return w}function hl(I,d,G){if(I==null)return I;var Z=[],C=0;return jl(I,Z,"","",function(W){return d.call(G,W,C++)}),Z}function QZ4(I){if(I._status===-1){var d=I._result;d=d(),d.then(function(G){if(I._status===0||I._status===-1)I._status=1,I._result=G},function(G){if(I._status===0||I._status===-1)I._status=2,I._result=G}),I._status===-1&&(I._status=0,I._result=d)}if(I._status===1)return I._result.default;throw I._result}var e7={current:null},kl={transition:null},fZ4={ReactCurrentDispatcher:e7,ReactCurrentBatchConfig:kl,ReactCurrentOwner:X21};function VT1(){throw Error("act(...) is not supported in production builds of React.")}qZ4.Children={map:hl,forEach:function(I,d,G){hl(I,function(){d.apply(this,arguments)},G)},count:function(I){var d=0;return hl(I,function(){d++}),d},toArray:function(I){return hl(I,function(d){return d})||[]},only:function(I){if(!Y21(I))throw Error("React.Children.only expected to receive a single React element child.");return I}};qZ4.Component=Bz;qZ4.Fragment=VZ4;qZ4.Profiler=YZ4;qZ4.PureComponent=A21;qZ4.StrictMode=XZ4;qZ4.Suspense=FZ4;qZ4.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=fZ4;qZ4.act=VT1;qZ4.cloneElement=function(I,d,G){if(I===null||I===void 0)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+I+".");var Z=ZT1({},I.props),C=I.key,W=I.ref,w=I._owner;if(d!=null){if(d.ref!==void 0&&(W=d.ref,w=X21.current),d.key!==void 0&&(C=""+d.key),I.type&&I.type.defaultProps)var B=I.type.defaultProps;for(A in d)wT1.call(d,A)&&!BT1.hasOwnProperty(A)&&(Z[A]=d[A]===void 0&&B!==void 0?B[A]:d[A])}var A=arguments.length-2;if(A===1)Z.children=G;else if(1<A){B=Array(A);for(var V=0;V<A;V++)B[V]=arguments[V+2];Z.children=B}return{$$typeof:NE,type:I.type,key:C,ref:W,props:Z,_owner:w}};qZ4.createContext=function(I){return I={$$typeof:DZ4,_currentValue:I,_currentValue2:I,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},I.Provider={$$typeof:_Z4,_context:I},I.Consumer=I};qZ4.createElement=AT1;qZ4.createFactory=function(I){var d=AT1.bind(null,I);return d.type=I,d};qZ4.createRef=function(){return{current:null}};qZ4.forwardRef=function(I){return{$$typeof:HZ4,render:I}};qZ4.isValidElement=Y21;qZ4.lazy=function(I){return{$$typeof:JZ4,_payload:{_status:-1,_result:I},_init:QZ4}};qZ4.memo=function(I,d){return{$$typeof:gZ4,type:I,compare:d===void 0?null:d}};qZ4.startTransition=function(I){var d=kl.transition;kl.transition={};try{I()}finally{kl.transition=d}};qZ4.unstable_act=VT1;qZ4.useCallback=function(I,d){return e7.current.useCallback(I,d)};qZ4.useContext=function(I){return e7.current.useContext(I)};qZ4.useDebugValue=function(){};qZ4.useDeferredValue=function(I){return e7.current.useDeferredValue(I)};qZ4.useEffect=function(I,d){return e7.current.useEffect(I,d)};qZ4.useId=function(){return e7.current.useId()};qZ4.useImperativeHandle=function(I,d,G){return e7.current.useImperativeHandle(I,d,G)};qZ4.useInsertionEffect=function(I,d){return e7.current.useInsertionEffect(I,d)};qZ4.useLayoutEffect=function(I,d){return e7.current.useLayoutEffect(I,d)};qZ4.useMemo=function(I,d){return e7.current.useMemo(I,d)};qZ4.useReducer=function(I,d,G){return e7.current.useReducer(I,d,G)};qZ4.useRef=function(I){return e7.current.useRef(I)};qZ4.useState=function(I){return e7.current.useState(I)};qZ4.useSyncExternalStore=function(I,d,G){return e7.current.useSyncExternalStore(I,d,G)};qZ4.useTransition=function(){return e7.current.useTransition()};qZ4.version="18.3.1"});var q7=Y((QT1)=>{Object.defineProperty(QT1,"__esModule",{value:!0});QT1.Log=QT1.LogLevel=void 0;var QC4=" DEBUG ",fC4="  INFO ",qC4="  WARN ",RC4=" ERROR ";function pl(I){return I.unshift("[Statsig]"),I}QT1.LogLevel={None:0,Error:1,Warn:2,Info:3,Debug:4};class bF{static info(...I){if(bF.level>=QT1.LogLevel.Info)console.info(fC4,...pl(I))}static debug(...I){if(bF.level>=QT1.LogLevel.Debug)console.debug(QC4,...pl(I))}static warn(...I){if(bF.level>=QT1.LogLevel.Warn)console.warn(qC4,...pl(I))}static error(...I){if(bF.level>=QT1.LogLevel.Error)console.error(RC4,...pl(I))}}QT1.Log=bF;bF.level=QT1.LogLevel.Warn});var hF=Y((vT1)=>{var g21,J21,K21;Object.defineProperty(vT1,"__esModule",{value:!0});vT1._getInstance=vT1._getStatsigGlobalFlag=vT1._getStatsigGlobal=void 0;var UC4=q7(),vC4=()=>{return __STATSIG__?__STATSIG__:il};vT1._getStatsigGlobal=vC4;var EC4=(I)=>{return vT1._getStatsigGlobal()[I]};vT1._getStatsigGlobalFlag=EC4;var MC4=(I)=>{let d=vT1._getStatsigGlobal();if(!I){if(d.instances&&Object.keys(d.instances).length>1)UC4.Log.warn("Call made to Statsig global instance without an SDK key but there is more than one client instance. If you are using mulitple clients, please specify the SDK key.");return d.firstInstance}return d.instances&&d.instances[I]};vT1._getInstance=MC4;var Yz="__STATSIG__",qT1=typeof window!=="undefined"?window:{},RT1=typeof global!=="undefined"?global:{},UT1=typeof globalThis!=="undefined"?globalThis:{},il=(K21=(J21=(g21=qT1[Yz])!==null&&g21!==void 0?g21:RT1[Yz])!==null&&J21!==void 0?J21:UT1[Yz])!==null&&K21!==void 0?K21:{instance:vT1._getInstance};qT1[Yz]=il;RT1[Yz]=il;UT1[Yz]=il});var rl=Y((ET1)=>{Object.defineProperty(ET1,"__esModule",{value:!0});ET1.Diagnostics=void 0;var nl=new Map,Q21="start",f21="end",LC4="statsig::diagnostics";ET1.Diagnostics={_getMarkers:(I)=>{return nl.get(I)},_markInitOverallStart:(I)=>{Dz(I,_z({},Q21,"overall"))},_markInitOverallEnd:(I,d,G)=>{Dz(I,_z({success:d,error:d?void 0:{name:"InitializeError",message:"Failed to initialize"},evaluationDetails:G},f21,"overall"))},_markInitNetworkReqStart:(I,d)=>{Dz(I,_z(d,Q21,"initialize","network_request"))},_markInitNetworkReqEnd:(I,d)=>{Dz(I,_z(d,f21,"initialize","network_request"))},_markInitProcessStart:(I)=>{Dz(I,_z({},Q21,"initialize","process"))},_markInitProcessEnd:(I,d)=>{Dz(I,_z(d,f21,"initialize","process"))},_clearMarkers:(I)=>{nl.delete(I)},_formatError(I){if(!(I&&typeof I==="object"))return;return{code:q21(I,"code"),name:q21(I,"name"),message:q21(I,"message")}},_getDiagnosticsData(I,d,G,Z){var C;return{success:(I===null||I===void 0?void 0:I.ok)===!0,statusCode:I===null||I===void 0?void 0:I.status,sdkRegion:(C=I===null||I===void 0?void 0:I.headers)===null||C===void 0?void 0:C.get("x-statsig-region"),isDelta:G.includes('"is_delta":true')===!0?!0:void 0,attempt:d,error:ET1.Diagnostics._formatError(Z)}},_enqueueDiagnosticsEvent(I,d,G,Z){let C=ET1.Diagnostics._getMarkers(G);if(C==null||C.length<=0)return-1;let W=C[C.length-1].timestamp-C[0].timestamp;ET1.Diagnostics._clearMarkers(G);let w=yC4(I,{context:"initialize",markers:C.slice(),statsigOptions:Z});return d.enqueue(w),W}};function _z(I,d,G,Z){return Object.assign({key:G,action:d,step:Z,timestamp:Date.now()},I)}function yC4(I,d){return{eventName:LC4,user:I,value:null,metadata:d,time:Date.now()}}function Dz(I,d){var G;let Z=(G=nl.get(I))!==null&&G!==void 0?G:[];Z.push(d),nl.set(I,Z)}function q21(I,d){if(d in I)return I[d];return}});var al=Y((MT1)=>{Object.defineProperty(MT1,"__esModule",{value:!0});MT1._isTypeMatch=MT1._typeOf=void 0;function PC4(I){return Array.isArray(I)?"array":typeof I}MT1._typeOf=PC4;function $C4(I,d){let G=(Z)=>Array.isArray(Z)?"array":typeof Z;return G(I)===G(d)}MT1._isTypeMatch=$C4});var Hz=Y((LT1)=>{Object.defineProperty(LT1,"__esModule",{value:!0});LT1._getSortedObject=LT1._DJB2Object=LT1._DJB2=void 0;var TC4=al(),OC4=(I)=>{let d=0;for(let G=0;G<I.length;G++){let Z=I.charCodeAt(G);d=(d<<5)-d+Z,d=d&d}return String(d>>>0)};LT1._DJB2=OC4;var mC4=(I,d)=>{return LT1._DJB2(JSON.stringify(LT1._getSortedObject(I,d)))};LT1._DJB2Object=mC4;var lC4=(I,d)=>{if(I==null)return null;let G=Object.keys(I).sort(),Z={};return G.forEach((C)=>{let W=I[C];if(d===0||TC4._typeOf(W)!=="object"){Z[C]=W;return}Z[C]=LT1._getSortedObject(W,d!=null?d-1:d)}),Z};LT1._getSortedObject=lC4});var qE=Y((uT1)=>{Object.defineProperty(uT1,"__esModule",{value:!0});uT1._getStorageKey=uT1._getUserStorageKey=void 0;var PT1=Hz();function $T1(I,d,G){var Z;if(G)return G(I,d);let C=d&&d.customIDs?d.customIDs:{},W=[`uid:${(Z=d===null||d===void 0?void 0:d.userID)!==null&&Z!==void 0?Z:""}`,`cids:${Object.keys(C).sort((w,B)=>w.localeCompare(B)).map((w)=>`${w}-${C[w]}`).join(",")}`,`k:${I}`];return PT1._DJB2(W.join("|"))}uT1._getUserStorageKey=$T1;function hC4(I,d,G){if(d)return $T1(I,d,G);return PT1._DJB2(`k:${I}`)}uT1._getStorageKey=hC4});var RE=Y((OT1)=>{Object.defineProperty(OT1,"__esModule",{value:!0});OT1.NetworkParam=OT1.NetworkDefault=OT1.Endpoint=void 0;OT1.Endpoint={_initialize:"initialize",_rgstr:"rgstr",_download_config_specs:"download_config_specs"};OT1.NetworkDefault={[OT1.Endpoint._rgstr]:"https://prodregistryv2.org/v1",[OT1.Endpoint._initialize]:"https://featureassets.org/v1",[OT1.Endpoint._download_config_specs]:"https://api.statsigcdn.com/v1"};OT1.NetworkParam={EventCount:"ec",SdkKey:"k",SdkType:"st",SdkVersion:"sv",Time:"t",SessionID:"sid",StatsigEncoded:"se",IsGzipped:"gz"}});var jF=Y((lT1)=>{Object.defineProperty(lT1,"__esModule",{value:!0});lT1._getCurrentPageUrlSafe=lT1._addDocumentEventListenerSafe=lT1._addWindowEventListenerSafe=lT1._isServerEnv=lT1._getDocumentSafe=lT1._getWindowSafe=void 0;var xC4=()=>{return typeof window!=="undefined"?window:null};lT1._getWindowSafe=xC4;var cC4=()=>{var I;let d=lT1._getWindowSafe();return(I=d===null||d===void 0?void 0:d.document)!==null&&I!==void 0?I:null};lT1._getDocumentSafe=cC4;var pC4=()=>{if(lT1._getDocumentSafe()!==null)return!1;let I=typeof process!=="undefined"&&process.versions!=null&&process.versions.node!=null;return typeof EdgeRuntime==="string"||I};lT1._isServerEnv=pC4;var iC4=(I,d)=>{let G=lT1._getWindowSafe();if(typeof(G===null||G===void 0?void 0:G.addEventListener)==="function")G.addEventListener(I,d)};lT1._addWindowEventListenerSafe=iC4;var nC4=(I,d)=>{let G=lT1._getDocumentSafe();if(typeof(G===null||G===void 0?void 0:G.addEventListener)==="function")G.addEventListener(I,d)};lT1._addDocumentEventListenerSafe=nC4;var rC4=()=>{var I;try{return(I=lT1._getWindowSafe())===null||I===void 0?void 0:I.location.href.split(/[?#]/)[0]}catch(d){return}};lT1._getCurrentPageUrlSafe=rC4});var v21=Y((xT1)=>{Object.defineProperty(xT1,"__esModule",{value:!0});xT1._createLayerParameterExposure=xT1._createConfigExposure=xT1._createGateExposure=xT1._isExposureEvent=void 0;var hT1="statsig::config_exposure",jT1="statsig::gate_exposure",kT1="statsig::layer_exposure",U21=(I,d,G,Z,C)=>{if(G.bootstrapMetadata)Z.bootstrapMetadata=G.bootstrapMetadata;return{eventName:I,user:d,value:null,metadata:GW4(G,Z),secondaryExposures:C,time:Date.now()}},eC4=({eventName:I})=>{return I===jT1||I===hT1||I===kT1};xT1._isExposureEvent=eC4;var tC4=(I,d)=>{var G,Z,C;let W={gate:d.name,gateValue:String(d.value),ruleID:d.ruleID};if(((G=d.__evaluation)===null||G===void 0?void 0:G.version)!=null)W.configVersion=d.__evaluation.version;return U21(jT1,I,d.details,W,(C=(Z=d.__evaluation)===null||Z===void 0?void 0:Z.secondary_exposures)!==null&&C!==void 0?C:[])};xT1._createGateExposure=tC4;var IW4=(I,d)=>{var G,Z,C,W;let w={config:d.name,ruleID:d.ruleID};if(((G=d.__evaluation)===null||G===void 0?void 0:G.version)!=null)w.configVersion=d.__evaluation.version;if(((Z=d.__evaluation)===null||Z===void 0?void 0:Z.passed)!=null)w.rulePassed=String(d.__evaluation.passed);return U21(hT1,I,d.details,w,(W=(C=d.__evaluation)===null||C===void 0?void 0:C.secondary_exposures)!==null&&W!==void 0?W:[])};xT1._createConfigExposure=IW4;var dW4=(I,d,G)=>{var Z,C,W,w;let B=d.__evaluation,A=((Z=B===null||B===void 0?void 0:B.explicit_parameters)===null||Z===void 0?void 0:Z.includes(G))===!0,V="",X=(C=B===null||B===void 0?void 0:B.undelegated_secondary_exposures)!==null&&C!==void 0?C:[];if(A)V=(W=B.allocated_experiment_name)!==null&&W!==void 0?W:"",X=B.secondary_exposures;let _={config:d.name,parameterName:G,ruleID:d.ruleID,allocatedExperiment:V,isExplicitParameter:String(A)};if(((w=d.__evaluation)===null||w===void 0?void 0:w.version)!=null)_.configVersion=d.__evaluation.version;return U21(kT1,I,d.details,_,X)};xT1._createLayerParameterExposure=dW4;var GW4=(I,d)=>{if(d.reason=I.reason,I.lcut)d.lcut=String(I.lcut);if(I.receivedAt)d.receivedAt=String(I.receivedAt);return d}});var bA=Y((pT1)=>{Object.defineProperty(pT1,"__esModule",{value:!0});pT1._setObjectInStorage=pT1._getObjectFromStorage=pT1.Storage=void 0;var wW4=q7(),BW4=jF(),UE={},M21={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"InMemory",getItem:(I)=>UE[I]?UE[I]:null,setItem:(I,d)=>{UE[I]=d},removeItem:(I)=>{delete UE[I]},getAllKeys:()=>Object.keys(UE)},tl=null;try{let I=BW4._getWindowSafe();if(I&&I.localStorage&&typeof I.localStorage.getItem==="function")tl={isReady:()=>!0,isReadyResolver:()=>null,getProviderName:()=>"LocalStorage",getItem:(d)=>I.localStorage.getItem(d),setItem:(d,G)=>I.localStorage.setItem(d,G),removeItem:(d)=>I.localStorage.removeItem(d),getAllKeys:()=>Object.keys(I.localStorage)}}catch(I){wW4.Log.warn("Failed to setup localStorageProvider.")}var E21=tl!==null&&tl!==void 0?tl:M21,Qw=E21;function AW4(I){try{return I()}catch(d){if(d instanceof Error&&d.name==="SecurityError")return pT1.Storage._setProvider(M21),null;throw d}}pT1.Storage={isReady:()=>Qw.isReady(),isReadyResolver:()=>Qw.isReadyResolver(),getProviderName:()=>Qw.getProviderName(),getItem:(I)=>AW4(()=>Qw.getItem(I)),setItem:(I,d)=>Qw.setItem(I,d),removeItem:(I)=>Qw.removeItem(I),getAllKeys:()=>Qw.getAllKeys(),_setProvider:(I)=>{E21=I,Qw=I},_setDisabled:(I)=>{if(I)Qw=M21;else Qw=E21}};function VW4(I){let d=pT1.Storage.getItem(I);return JSON.parse(d!==null&&d!==void 0?d:"null")}pT1._getObjectFromStorage=VW4;function XW4(I,d){pT1.Storage.setItem(I,JSON.stringify(d))}pT1._setObjectInStorage=XW4});var S21=Y((rT1)=>{Object.defineProperty(rT1,"__esModule",{value:!0});rT1.UrlConfiguration=void 0;var db=RE(),_W4={[db.Endpoint._initialize]:"i",[db.Endpoint._rgstr]:"e",[db.Endpoint._download_config_specs]:"d"};class nT1{constructor(I,d,G,Z){if(this.customUrl=null,this.fallbackUrls=null,this.endpoint=I,this.endpointDnsKey=_W4[I],d)this.customUrl=d;if(!d&&G)this.customUrl=G.endsWith("/")?`${G}${I}`:`${G}/${I}`;if(Z)this.fallbackUrls=Z;let C=db.NetworkDefault[I];this.defaultUrl=`${C}/${I}`}getUrl(){var I;return(I=this.customUrl)!==null&&I!==void 0?I:this.defaultUrl}}rT1.UrlConfiguration=nT1});var Cb=Y((oT1)=>{Object.defineProperty(oT1,"__esModule",{value:!0});oT1._notifyVisibilityChanged=oT1._subscribeToVisiblityChanged=oT1._isUnloading=oT1._isCurrentlyVisible=void 0;var Gb=jF(),Zb="foreground",y21="background",sT1=[],L21=Zb,P21=!1,DW4=()=>{return L21===Zb};oT1._isCurrentlyVisible=DW4;var HW4=()=>P21;oT1._isUnloading=HW4;var FW4=(I)=>{sT1.unshift(I)};oT1._subscribeToVisiblityChanged=FW4;var gW4=(I)=>{if(I===L21)return;L21=I,sT1.forEach((d)=>d(I))};oT1._notifyVisibilityChanged=gW4;Gb._addWindowEventListenerSafe("focus",()=>{P21=!1,oT1._notifyVisibilityChanged(Zb)});Gb._addWindowEventListenerSafe("blur",()=>oT1._notifyVisibilityChanged(y21));Gb._addWindowEventListenerSafe("beforeunload",()=>{P21=!0,oT1._notifyVisibilityChanged(y21)});Gb._addDocumentEventListenerSafe("visibilitychange",()=>{oT1._notifyVisibilityChanged(document.visibilityState==="visible"?Zb:y21)})});var u21=Y((Kz)=>{var gz=Kz&&Kz.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(Kz,"__esModule",{value:!0});Kz.EventLogger=void 0;var zW4=qE(),QW4=Hz(),vE=q7(),eT1=RE(),$21=jF(),fW4=v21(),Jz=bA(),qW4=S21(),tT1=Cb(),RW4=100,UW4=1e4,vW4=1000,EW4=600000,MW4=500,IO1=200,EE={},Wb={Startup:"startup",GainedFocus:"gained_focus"};class kF{static _safeFlushAndForget(I){var d;(d=EE[I])===null||d===void 0||d.flush().catch(()=>{})}static _safeRetryFailedLogs(I){var d;(d=EE[I])===null||d===void 0||d._retryFailedLogs(Wb.GainedFocus)}constructor(I,d,G,Z){var C;this._sdkKey=I,this._emitter=d,this._network=G,this._options=Z,this._queue=[],this._lastExposureTimeMap={},this._nonExposedChecks={},this._hasRunQuickFlush=!1,this._creationTime=Date.now(),this._isLoggingDisabled=(Z===null||Z===void 0?void 0:Z.disableLogging)===!0,this._maxQueueSize=(C=Z===null||Z===void 0?void 0:Z.loggingBufferMaxSize)!==null&&C!==void 0?C:RW4;let W=Z===null||Z===void 0?void 0:Z.networkConfig;this._logEventUrlConfig=new qW4.UrlConfiguration(eT1.Endpoint._rgstr,W===null||W===void 0?void 0:W.logEventUrl,W===null||W===void 0?void 0:W.api,W===null||W===void 0?void 0:W.logEventFallbackUrls)}setLoggingDisabled(I){this._isLoggingDisabled=I}enqueue(I){if(!this._shouldLogEvent(I))return;if(this._normalizeAndAppendEvent(I),this._quickFlushIfNeeded(),this._queue.length>this._maxQueueSize)kF._safeFlushAndForget(this._sdkKey)}incrementNonExposureCount(I){var d;let G=(d=this._nonExposedChecks[I])!==null&&d!==void 0?d:0;this._nonExposedChecks[I]=G+1}reset(){this._lastExposureTimeMap={}}start(){if($21._isServerEnv())return;EE[this._sdkKey]=this,tT1._subscribeToVisiblityChanged((I)=>{if(I==="background")kF._safeFlushAndForget(this._sdkKey);else if(I==="foreground")kF._safeRetryFailedLogs(this._sdkKey)}),this._retryFailedLogs(Wb.Startup),this._startBackgroundFlushInterval()}stop(){return gz(this,void 0,void 0,function*(){if(this._flushIntervalId)clearInterval(this._flushIntervalId),this._flushIntervalId=null;delete EE[this._sdkKey],yield this.flush()})}flush(){return gz(this,void 0,void 0,function*(){if(this._appendAndResetNonExposedChecks(),this._queue.length===0)return;let I=this._queue;this._queue=[],yield this._sendEvents(I)})}_quickFlushIfNeeded(){if(this._hasRunQuickFlush)return;if(this._hasRunQuickFlush=!0,Date.now()-this._creationTime>IO1)return;setTimeout(()=>kF._safeFlushAndForget(this._sdkKey),IO1)}_shouldLogEvent(I){if($21._isServerEnv())return!1;if(!fW4._isExposureEvent(I))return!0;let d=I.user?I.user:{statsigEnvironment:void 0},G=zW4._getUserStorageKey(this._sdkKey,d),Z=I.metadata?I.metadata:{},C=[I.eventName,G,Z.gate,Z.config,Z.ruleID,Z.allocatedExperiment,Z.parameterName,String(Z.isExplicitParameter),Z.reason].join("|"),W=this._lastExposureTimeMap[C],w=Date.now();if(W&&w-W<EW4)return!1;if(Object.keys(this._lastExposureTimeMap).length>vW4)this._lastExposureTimeMap={};return this._lastExposureTimeMap[C]=w,!0}_sendEvents(I){var d,G;return gz(this,void 0,void 0,function*(){if(this._isLoggingDisabled)return this._saveFailedLogsToStorage(I),!1;try{let C=tT1._isUnloading()&&this._network.isBeaconSupported()&&((G=(d=this._options)===null||d===void 0?void 0:d.networkConfig)===null||G===void 0?void 0:G.networkOverrideFunc)==null;if(this._emitter({name:"pre_logs_flushed",events:I}),(C?yield this._sendEventsViaBeacon(I):yield this._sendEventsViaPost(I)).success)return this._emitter({name:"logs_flushed",events:I}),!0;else return vE.Log.warn("Failed to flush events."),this._saveFailedLogsToStorage(I),!1}catch(Z){return vE.Log.warn("Failed to flush events."),!1}})}_sendEventsViaPost(I){var d;return gz(this,void 0,void 0,function*(){let G=yield this._network.post(this._getRequestData(I)),Z=(d=G===null||G===void 0?void 0:G.code)!==null&&d!==void 0?d:-1;return{success:Z>=200&&Z<300}})}_sendEventsViaBeacon(I){return gz(this,void 0,void 0,function*(){return{success:yield this._network.beacon(this._getRequestData(I))}})}_getRequestData(I){return{sdkKey:this._sdkKey,data:{events:I},urlConfig:this._logEventUrlConfig,retries:3,isCompressable:!0,params:{[eT1.NetworkParam.EventCount]:String(I.length)}}}_saveFailedLogsToStorage(I){while(I.length>MW4)I.shift();let d=this._getStorageKey();try{Jz._setObjectInStorage(d,I)}catch(G){vE.Log.warn("Unable to save failed logs to storage")}}_retryFailedLogs(I){let d=this._getStorageKey();(()=>gz(this,void 0,void 0,function*(){if(!Jz.Storage.isReady())yield Jz.Storage.isReadyResolver();let G=Jz._getObjectFromStorage(d);if(!G)return;if(I===Wb.Startup)Jz.Storage.removeItem(d);if((yield this._sendEvents(G))&&I===Wb.GainedFocus)Jz.Storage.removeItem(d)}))().catch(()=>{vE.Log.warn("Failed to flush stored logs")})}_getStorageKey(){return`statsig.failed_logs.${QW4._DJB2(this._sdkKey)}`}_normalizeAndAppendEvent(I){if(I.user)I.user=Object.assign({},I.user),delete I.user.privateAttributes;let d={},G=this._getCurrentPageUrl();if(G)d.statsigMetadata={currentPage:G};let Z=Object.assign(Object.assign({},I),d);vE.Log.debug("Enqueued Event:",Z),this._queue.push(Z)}_appendAndResetNonExposedChecks(){if(Object.keys(this._nonExposedChecks).length===0)return;this._normalizeAndAppendEvent({eventName:"statsig::non_exposed_checks",user:null,time:Date.now(),metadata:{checks:Object.assign({},this._nonExposedChecks)}}),this._nonExposedChecks={}}_getCurrentPageUrl(){var I;if(((I=this._options)===null||I===void 0?void 0:I.includeCurrentPageUrlWithEvents)===!1)return;return $21._getCurrentPageUrlSafe()}_startBackgroundFlushInterval(){var I,d;let G=(d=(I=this._options)===null||I===void 0?void 0:I.loggingIntervalMs)!==null&&d!==void 0?d:UW4,Z=setInterval(()=>{let C=EE[this._sdkKey];if(!C||C._flushIntervalId!==Z)clearInterval(Z);else kF._safeFlushAndForget(this._sdkKey)},G);this._flushIntervalId=Z}}Kz.EventLogger=kF});var ME=Y((dO1)=>{Object.defineProperty(dO1,"__esModule",{value:!0});dO1.StatsigMetadataProvider=dO1.SDK_VERSION=void 0;dO1.SDK_VERSION="3.12.0";var T21={sdkVersion:dO1.SDK_VERSION,sdkType:"js-mono"};dO1.StatsigMetadataProvider={get:()=>T21,add:(I)=>{T21=Object.assign(Object.assign({},T21),I)}}});var WO1=Y((CO1)=>{Object.defineProperty(CO1,"__esModule",{value:!0})});var wb=Y((wO1)=>{Object.defineProperty(wO1,"__esModule",{value:!0});wO1.getUUID=void 0;function SW4(){if(typeof crypto!=="undefined"&&typeof crypto.randomUUID==="function")return crypto.randomUUID();let I=new Date().getTime(),d=typeof performance!=="undefined"&&performance.now&&performance.now()*1000||0;return`xxxxxxxx-xxxx-4xxx-${"89ab"[Math.floor(Math.random()*4)]}xxx-xxxxxxxxxxxx`.replace(/[xy]/g,(Z)=>{let C=Math.random()*16;if(I>0)C=(I+C)%16|0,I=Math.floor(I/16);else C=(d+C)%16|0,d=Math.floor(d/16);return(Z==="x"?C:C&7|8).toString(16)})}wO1.getUUID=SW4});var Ab=Y((YO1)=>{Object.defineProperty(YO1,"__esModule",{value:!0});YO1.StableID=void 0;var LW4=qE(),yW4=q7(),VO1=bA(),PW4=wb(),Bb={};YO1.StableID={get:(I)=>{if(Bb[I]==null){let d=$W4(I);if(d==null)d=PW4.getUUID(),AO1(d,I);Bb[I]=d}return Bb[I]},setOverride:(I,d)=>{Bb[d]=I,AO1(I,d)}};function XO1(I){return`statsig.stable_id.${LW4._getStorageKey(I)}`}function AO1(I,d){let G=XO1(d);try{VO1._setObjectInStorage(G,I)}catch(Z){yW4.Log.warn("Failed to save StableID")}}function $W4(I){let d=XO1(I);return VO1._getObjectFromStorage(d)}});var O21=Y((DO1)=>{Object.defineProperty(DO1,"__esModule",{value:!0});DO1._getFullUserHash=DO1._normalizeUser=void 0;var uW4=Hz(),TW4=q7();function OW4(I,d,G){try{let Z=JSON.parse(JSON.stringify(I));if(d!=null&&d.environment!=null)Z.statsigEnvironment=d.environment;else if(G!=null)Z.statsigEnvironment={tier:G};return Z}catch(Z){return TW4.Log.error("Failed to JSON.stringify user"),{statsigEnvironment:void 0}}}DO1._normalizeUser=OW4;function mW4(I){return I?uW4._DJB2Object(I):null}DO1._getFullUserHash=mW4});var m21=Y((FO1)=>{Object.defineProperty(FO1,"__esModule",{value:!0});FO1._typedJsonParse=void 0;var bW4=q7();function hW4(I,d,G){try{let Z=JSON.parse(I);if(Z&&typeof Z==="object"&&d in Z)return Z}catch(Z){}return bW4.Log.error(`Failed to parse ${G}`),null}FO1._typedJsonParse=hW4});var fO1=Y((FY)=>{var l21=FY&&FY.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(FY,"__esModule",{value:!0});FY._makeDataAdapterResult=FY.DataAdapterCore=void 0;var Vb=q7(),jW4=Ab(),Xb=O21(),HY=bA(),JO1=m21(),KO1=10;class NO1{constructor(I,d){this._adapterName=I,this._cacheSuffix=d,this._options=null,this._sdkKey=null,this._lastModifiedStoreKey=`statsig.last_modified_time.${d}`,this._inMemoryCache=new zO1}attach(I,d){this._sdkKey=I,this._options=d}getDataSync(I){let d=I&&Xb._normalizeUser(I,this._options),G=this._getCacheKey(d),Z=this._inMemoryCache.get(G,d);if(Z)return Z;let C=this._loadFromCache(G);if(C)return this._inMemoryCache.add(G,C),this._inMemoryCache.get(G,d);return null}setData(I,d){let G=d&&Xb._normalizeUser(d,this._options),Z=this._getCacheKey(G);this._inMemoryCache.add(Z,Yb("Bootstrap",I,null,G))}_getDataAsyncImpl(I,d,G){return l21(this,void 0,void 0,function*(){if(!HY.Storage.isReady())yield HY.Storage.isReadyResolver();let Z=I!==null&&I!==void 0?I:this.getDataSync(d),C=[this._fetchAndPrepFromNetwork(Z,d,G)];if(G===null||G===void 0?void 0:G.timeoutMs)C.push(new Promise((W)=>setTimeout(W,G.timeoutMs)).then(()=>{return Vb.Log.debug("Fetching latest value timed out"),null}));return yield Promise.race(C)})}_prefetchDataImpl(I,d){return l21(this,void 0,void 0,function*(){let G=I&&Xb._normalizeUser(I,this._options),Z=this._getCacheKey(G),C=yield this._getDataAsyncImpl(null,G,d);if(C)this._inMemoryCache.add(Z,Object.assign(Object.assign({},C),{source:"Prefetch"}))})}_fetchAndPrepFromNetwork(I,d,G){return l21(this,void 0,void 0,function*(){let Z=null;if(I&&this._isCachedResultValidFor204(I,d))Z=I.data;let C=yield this._fetchFromNetwork(Z,d,G);if(!C)return Vb.Log.debug("No response returned for latest value"),null;let W=JO1._typedJsonParse(C,"has_updates","Response"),w=this._getSdkKey(),B=jW4.StableID.get(w),A=null;if((W===null||W===void 0?void 0:W.has_updates)===!0)A=Yb("Network",C,B,d);else if(Z&&(W===null||W===void 0?void 0:W.has_updates)===!1)A=Yb("NetworkNotModified",Z,B,d);else return null;let V=this._getCacheKey(d);return this._inMemoryCache.add(V,A),this._writeToCache(V,A),A})}_getSdkKey(){if(this._sdkKey!=null)return this._sdkKey;return Vb.Log.error(`${this._adapterName} is not attached to a Client`),""}_loadFromCache(I){var d;let G=(d=HY.Storage.getItem)===null||d===void 0?void 0:d.call(HY.Storage,I);if(G==null)return null;let Z=JO1._typedJsonParse(G,"source","Cached Result");return Z?Object.assign(Object.assign({},Z),{source:"Cache"}):null}_writeToCache(I,d){HY.Storage.setItem(I,JSON.stringify(d)),this._runLocalStorageCacheEviction(I)}_runLocalStorageCacheEviction(I){var d;let G=(d=HY._getObjectFromStorage(this._lastModifiedStoreKey))!==null&&d!==void 0?d:{};G[I]=Date.now();let Z=QO1(G,KO1);if(Z)delete G[Z],HY.Storage.removeItem(Z);HY._setObjectInStorage(this._lastModifiedStoreKey,G)}}FY.DataAdapterCore=NO1;function Yb(I,d,G,Z){return{source:I,data:d,receivedAt:Date.now(),stableID:G,fullUserHash:Xb._getFullUserHash(Z)}}FY._makeDataAdapterResult=Yb;class zO1{constructor(){this._data={}}get(I,d){var G;let Z=this._data[I],C=Z===null||Z===void 0?void 0:Z.stableID,W=(G=d===null||d===void 0?void 0:d.customIDs)===null||G===void 0?void 0:G.stableID;if(W&&C&&W!==C)return Vb.Log.warn("'StatsigUser.customIDs.stableID' mismatch"),null;return Z}add(I,d){let G=QO1(this._data,KO1-1);if(G)delete this._data[G];this._data[I]=d}merge(I){this._data=Object.assign(Object.assign({},this._data),I)}}function QO1(I,d){let G=Object.keys(I);if(G.length<=d)return null;return G.reduce((Z,C)=>{let W=I[Z],w=I[C];if(typeof W==="object"&&typeof w==="object")return w.receivedAt<W.receivedAt?C:Z;return w<W?C:Z})}});var RO1=Y((qO1)=>{Object.defineProperty(qO1,"__esModule",{value:!0})});var _b=Y((vO1)=>{Object.defineProperty(vO1,"__esModule",{value:!0});vO1.SDKType=void 0;var UO1={},Nz;vO1.SDKType={_get:(I)=>{var d;return((d=UO1[I])!==null&&d!==void 0?d:"js-mono")+(Nz!==null&&Nz!==void 0?Nz:"")},_setClientType(I,d){UO1[I]=d},_setBindingType(I){if(!Nz||Nz==="-react")Nz="-"+I}}});var b21=Y((hA)=>{var kW4=hA&&hA.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(hA,"__esModule",{value:!0});hA.ErrorBoundary=hA.EXCEPTION_ENDPOINT=void 0;var xW4=q7(),cW4=_b(),pW4=ME();hA.EXCEPTION_ENDPOINT="https://statsigapi.net/v1/sdk_exception";var SO1="[Statsig] UnknownError";class LO1{constructor(I,d,G,Z){this._sdkKey=I,this._options=d,this._emitter=G,this._lastSeenError=Z,this._seen=new Set}wrap(I){try{let d=I;nW4(d).forEach((G)=>{let Z=d[G];if("$EB"in Z)return;d[G]=(...C)=>{return this._capture(G,()=>Z.apply(I,C))},d[G].$EB=!0})}catch(d){this._onError("eb:wrap",d)}}logError(I,d){this._onError(I,d)}getLastSeenErrorAndReset(){let I=this._lastSeenError;return this._lastSeenError=void 0,I!==null&&I!==void 0?I:null}attachErrorIfNoneExists(I){if(this._lastSeenError)return;this._lastSeenError=MO1(I)}_capture(I,d){try{let G=d();if(G&&G instanceof Promise)return G.catch((Z)=>this._onError(I,Z));return G}catch(G){return this._onError(I,G),null}}_onError(I,d){try{xW4.Log.warn(`Caught error in ${I}`,{error:d}),(()=>kW4(this,void 0,void 0,function*(){var Z,C,W,w,B,A,V;let X=d?d:Error(SO1),_=X instanceof Error,F=_?X.name:"No Name",g=MO1(X);if(this._lastSeenError=g,this._seen.has(F))return;if(this._seen.add(F),(C=(Z=this._options)===null||Z===void 0?void 0:Z.networkConfig)===null||C===void 0?void 0:C.preventAllNetworkTraffic){(W=this._emitter)===null||W===void 0||W.call(this,{name:"error",error:d,tag:I});return}let J=cW4.SDKType._get(this._sdkKey),K=pW4.StatsigMetadataProvider.get(),Q=_?X.stack:iW4(X),E=JSON.stringify(Object.assign({tag:I,exception:F,info:Q},Object.assign(Object.assign({},K),{sdkType:J})));yield((A=(B=(w=this._options)===null||w===void 0?void 0:w.networkConfig)===null||B===void 0?void 0:B.networkOverrideFunc)!==null&&A!==void 0?A:fetch)(hA.EXCEPTION_ENDPOINT,{method:"POST",headers:{"STATSIG-API-KEY":this._sdkKey,"STATSIG-SDK-TYPE":String(J),"STATSIG-SDK-VERSION":String(K.sdkVersion),"Content-Type":"application/json"},body:E}),(V=this._emitter)===null||V===void 0||V.call(this,{name:"error",error:d,tag:I})}))().then(()=>{}).catch(()=>{})}catch(G){}}}hA.ErrorBoundary=LO1;function MO1(I){if(I instanceof Error)return I;else if(typeof I==="string")return new Error(I);else return new Error("An unknown error occurred.")}function iW4(I){try{return JSON.stringify(I)}catch(d){return SO1}}function nW4(I){let d=new Set,G=Object.getPrototypeOf(I);while(G&&G!==Object.prototype)Object.getOwnPropertyNames(G).filter((Z)=>typeof(G===null||G===void 0?void 0:G[Z])==="function").forEach((Z)=>d.add(Z)),G=Object.getPrototypeOf(G);return Array.from(d)}});var PO1=Y((yO1)=>{Object.defineProperty(yO1,"__esModule",{value:!0})});var uO1=Y(($O1)=>{Object.defineProperty($O1,"__esModule",{value:!0})});var OO1=Y((TO1)=>{Object.defineProperty(TO1,"__esModule",{value:!0})});var h21=Y((mO1)=>{Object.defineProperty(mO1,"__esModule",{value:!0});mO1.createMemoKey=mO1.MemoPrefix=void 0;mO1.MemoPrefix={_gate:"g",_dynamicConfig:"c",_experiment:"e",_layer:"l",_paramStore:"p"};var rW4=new Set([]),aW4=new Set(["userPersistedValues"]);function sW4(I,d,G){let Z=`${I}|${d}`;if(!G)return Z;for(let C of Object.keys(G)){if(aW4.has(C))return;if(rW4.has(C))Z+=`|${C}=true`;else Z+=`|${C}=${G[C]}`}return Z}mO1.createMemoKey=sW4});var bO1=Y((zz)=>{var eW4=zz&&zz.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(zz,"__esModule",{value:!0});zz._fetchTxtRecords=void 0;var tW4=new Uint8Array([0,0,1,0,0,1,0,0,0,0,0,0,13,102,101,97,116,117,114,101,97,115,115,101,116,115,3,111,114,103,0,0,16,0,1]),Iw4="https://cloudflare-dns.com/dns-query",dw4=["i","e","d"],Gw4=200;function Zw4(I){return eW4(this,void 0,void 0,function*(){let d=yield I(Iw4,{method:"POST",headers:{"Content-Type":"application/dns-message",Accept:"application/dns-message"},body:tW4});if(!d.ok){let C=new Error("Failed to fetch TXT records from DNS");throw C.name="DnsTxtFetchError",C}let G=yield d.arrayBuffer(),Z=new Uint8Array(G);return Cw4(Z)})}zz._fetchTxtRecords=Zw4;function Cw4(I){let d=I.findIndex((Z,C)=>C<Gw4&&String.fromCharCode(Z)==="="&&dw4.includes(String.fromCharCode(I[C-1])));if(d===-1){let Z=new Error("Failed to parse TXT records from DNS");throw Z.name="DnsTxtParseError",Z}let G="";for(let Z=d-1;Z<I.length;Z++)G+=String.fromCharCode(I[Z]);return G.split(",")}});var iO1=Y((gY)=>{var hO1=gY&&gY.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(gY,"__esModule",{value:!0});gY._isDomainFailure=gY.NetworkFallbackResolver=void 0;var Ww4=bO1(),ww4=Hz(),Bw4=q7(),k21=bA(),jO1=604800000,Aw4=14400000;class xO1{constructor(I){var d;this._fallbackInfo=null,this._errorBoundary=null,this._dnsQueryCooldowns={},this._networkOverrideFunc=(d=I.networkConfig)===null||d===void 0?void 0:d.networkOverrideFunc}setErrorBoundary(I){this._errorBoundary=I}tryBumpExpiryTime(I,d){var G;let Z=(G=this._fallbackInfo)===null||G===void 0?void 0:G[d.endpoint];if(!Z)return;Z.expiryTime=Date.now()+jO1,j21(I,Object.assign(Object.assign({},this._fallbackInfo),{[d.endpoint]:Z}))}getActiveFallbackUrl(I,d){var G,Z;let C=this._fallbackInfo;if(C==null)C=(G=Vw4(I))!==null&&G!==void 0?G:{},this._fallbackInfo=C;let W=C[d.endpoint];if(!W||Date.now()>((Z=W.expiryTime)!==null&&Z!==void 0?Z:0))return delete C[d.endpoint],this._fallbackInfo=C,j21(I,this._fallbackInfo),null;if(W.url)return W.url;return null}getFallbackFromProvided(I){let d=kO1(I);if(d)return I.replace(d,"");return null}tryFetchUpdatedFallbackInfo(I,d,G,Z){var C,W;return hO1(this,void 0,void 0,function*(){try{if(!cO1(G,Z))return!1;let B=d.customUrl==null&&d.fallbackUrls==null?yield this._tryFetchFallbackUrlsFromNetwork(d):d.fallbackUrls,A=this._pickNewFallbackUrl((C=this._fallbackInfo)===null||C===void 0?void 0:C[d.endpoint],B);if(!A)return!1;return this._updateFallbackInfoWithNewUrl(I,d.endpoint,A),!0}catch(w){return(W=this._errorBoundary)===null||W===void 0||W.logError("tryFetchUpdatedFallbackInfo",w),!1}})}_updateFallbackInfoWithNewUrl(I,d,G){var Z,C,W;let w={url:G,expiryTime:Date.now()+jO1,previous:[]},B=(Z=this._fallbackInfo)===null||Z===void 0?void 0:Z[d];if(B)w.previous.push(...B.previous);if(w.previous.length>10)w.previous=[];let A=(W=(C=this._fallbackInfo)===null||C===void 0?void 0:C[d])===null||W===void 0?void 0:W.url;if(A!=null)w.previous.push(A);this._fallbackInfo=Object.assign(Object.assign({},this._fallbackInfo),{[d]:w}),j21(I,this._fallbackInfo)}_tryFetchFallbackUrlsFromNetwork(I){var d;return hO1(this,void 0,void 0,function*(){let G=this._dnsQueryCooldowns[I.endpoint];if(G&&Date.now()<G)return null;this._dnsQueryCooldowns[I.endpoint]=Date.now()+Aw4;let Z=[],C=yield Ww4._fetchTxtRecords((d=this._networkOverrideFunc)!==null&&d!==void 0?d:fetch),W=kO1(I.defaultUrl);for(let w of C){if(!w.startsWith(I.endpointDnsKey+"="))continue;let B=w.split("=");if(B.length>1){let A=B[1];if(A.endsWith("/"))A=A.slice(0,-1);Z.push(`https://${A}${W}`)}}return Z})}_pickNewFallbackUrl(I,d){var G;if(d==null)return null;let Z=new Set((G=I===null||I===void 0?void 0:I.previous)!==null&&G!==void 0?G:[]),C=I===null||I===void 0?void 0:I.url,W=null;for(let w of d){let B=w.endsWith("/")?w.slice(0,-1):w;if(!Z.has(w)&&B!==C){W=B;break}}return W}}gY.NetworkFallbackResolver=xO1;function cO1(I,d){var G;let Z=(G=I===null||I===void 0?void 0:I.toLowerCase())!==null&&G!==void 0?G:"";return d||Z.includes("uncaught exception")||Z.includes("failed to fetch")||Z.includes("networkerror when attempting to fetch resource")}gY._isDomainFailure=cO1;function pO1(I){return`statsig.network_fallback.${ww4._DJB2(I)}`}function j21(I,d){let G=pO1(I);if(!d||Object.keys(d).length===0){k21.Storage.removeItem(G);return}k21.Storage.setItem(G,JSON.stringify(d))}function Vw4(I){let d=pO1(I),G=k21.Storage.getItem(d);if(!G)return null;try{return JSON.parse(G)}catch(Z){return Bw4.Log.error("Failed to parse FallbackInfo"),null}}function kO1(I){try{return new URL(I).pathname}catch(d){return null}}});var Hb=Y((tO1)=>{Object.defineProperty(tO1,"__esModule",{value:!0});tO1.StatsigSession=tO1.SessionID=void 0;var Xw4=qE(),Yw4=q7(),rO1=bA(),aO1=wb(),sO1=1800000,oO1=14400000,Db={};tO1.SessionID={get:(I)=>{return tO1.StatsigSession.get(I).data.sessionID}};tO1.StatsigSession={get:(I)=>{if(Db[I]==null)Db[I]=_w4(I);let d=Db[I];return Hw4(d)},overrideInitialSessionID:(I,d)=>{Db[d]=Dw4(I,d)}};function _w4(I){let d=Kw4(I),G=Date.now();if(!d)d={sessionID:aO1.getUUID(),startTime:G,lastUpdate:G};return{data:d,sdkKey:I}}function Dw4(I,d){let G=Date.now();return{data:{sessionID:I,startTime:G,lastUpdate:G},sdkKey:d}}function Hw4(I){let d=Date.now(),G=I.data;if(Fw4(G)||gw4(G))G.sessionID=aO1.getUUID(),G.startTime=d;G.lastUpdate=d,Jw4(G,I.sdkKey),clearTimeout(I.idleTimeoutID),clearTimeout(I.ageTimeoutID);let Z=d-G.startTime,C=I.sdkKey;return I.idleTimeoutID=nO1(C,sO1),I.ageTimeoutID=nO1(C,oO1-Z),I}function nO1(I,d){return setTimeout(()=>{let G=__STATSIG__===null||__STATSIG__===void 0?void 0:__STATSIG__.instance(I);if(G)G.$emt({name:"session_expired"})},d)}function Fw4({lastUpdate:I}){return Date.now()-I>sO1}function gw4({startTime:I}){return Date.now()-I>oO1}function eO1(I){return`statsig.session_id.${Xw4._getStorageKey(I)}`}function Jw4(I,d){let G=eO1(d);try{rO1._setObjectInStorage(G,I)}catch(Z){Yw4.Log.warn("Failed to save SessionID")}}function Kw4(I){let d=eO1(I);return rO1._getObjectFromStorage(d)}});var c21=Y((Im1)=>{Object.defineProperty(Im1,"__esModule",{value:!0});Im1.ErrorTag=void 0;Im1.ErrorTag={NetworkError:"NetworkError"}});var Vm1=Y((fz)=>{var Qz=fz&&fz.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(fz,"__esModule",{value:!0});fz.NetworkCore=void 0;hF();var zw4=hF(),p21=rl(),Fb=q7(),fw=RE(),Qw4=iO1(),Gm1=_b(),fw4=jF(),Zm1=Hb(),qw4=Ab(),Rw4=c21(),Cm1=ME(),Uw4=Cb(),vw4=1e4,Ew4=500,Mw4=30000,Sw4=1000,Bm1=50,Lw4=Bm1/Sw4,yw4=new Set([408,500,502,503,504,522,524,599]);class Am1{constructor(I,d){if(this._emitter=d,this._errorBoundary=null,this._timeout=vw4,this._netConfig={},this._options={},this._leakyBucket={},this._lastUsedInitUrl=null,I)this._options=I;if(this._options.networkConfig)this._netConfig=this._options.networkConfig;if(this._netConfig.networkTimeoutMs)this._timeout=this._netConfig.networkTimeoutMs;this._fallbackResolver=new Qw4.NetworkFallbackResolver(this._options)}setErrorBoundary(I){this._errorBoundary=I,this._errorBoundary.wrap(this),this._errorBoundary.wrap(this._fallbackResolver),this._fallbackResolver.setErrorBoundary(I)}isBeaconSupported(){return typeof navigator!=="undefined"&&typeof navigator.sendBeacon==="function"}getLastUsedInitUrlAndReset(){let I=this._lastUsedInitUrl;return this._lastUsedInitUrl=null,I}beacon(I){return Qz(this,void 0,void 0,function*(){if(!Wm1(I))return!1;let d=this._getInternalRequestArgs("POST",I),G=yield this._getPopulatedBody(d,I.data),Z=yield this._getPopulatedURL(d),C=navigator;return C.sendBeacon.bind(C)(Z,G)})}post(I){return Qz(this,void 0,void 0,function*(){let d=this._getInternalRequestArgs("POST",I);if(d.body=yield this._getPopulatedBody(d,I.data),I.isStatsigEncodable)d.body=this._attemptToEncodeString(d,d.body);return this._sendRequest(d)})}get(I){let d=this._getInternalRequestArgs("GET",I);return this._sendRequest(d)}_sendRequest(I){var d,G,Z,C;return Qz(this,void 0,void 0,function*(){if(!Wm1(I))return null;if(this._netConfig.preventAllNetworkTraffic)return null;let{method:W,body:w,retries:B,attempt:A}=I,V=I.urlConfig.endpoint;if(this._isRateLimited(V))return Fb.Log.warn(`Request to ${V} was blocked because you are making requests too frequently.`),null;let X=A!==null&&A!==void 0?A:1,_=typeof AbortController!=="undefined"?new AbortController:null,F=setTimeout(()=>{_===null||_===void 0||_.abort(`Timeout of ${this._timeout}ms expired.`)},this._timeout),g=yield this._getPopulatedURL(I),J=null,K=Uw4._isUnloading();try{let Q={method:W,body:w,headers:Object.assign({},I.headers),signal:_===null||_===void 0?void 0:_.signal,priority:I.priority,keepalive:K};uw4(I,X);let E=this._leakyBucket[V];if(E)E.lastRequestTime=Date.now(),this._leakyBucket[V]=E;if(J=yield((d=this._netConfig.networkOverrideFunc)!==null&&d!==void 0?d:fetch)(g,Q),clearTimeout(F),!J.ok){let $=yield J.text().catch(()=>"No Text"),h=new Error(`NetworkError: ${g} ${$}`);throw h.name="NetworkError",h}let P=yield J.text();return wm1(I,J,X,P),this._fallbackResolver.tryBumpExpiryTime(I.sdkKey,I.urlConfig),{body:P,code:J.status}}catch(Q){let E=Pw4(_,Q),S=$w4(_);if(wm1(I,J,X,"",Q),yield this._fallbackResolver.tryFetchUpdatedFallbackInfo(I.sdkKey,I.urlConfig,E,S))I.fallbackUrl=this._fallbackResolver.getActiveFallbackUrl(I.sdkKey,I.urlConfig);if(!B||X>B||!yw4.has((G=J===null||J===void 0?void 0:J.status)!==null&&G!==void 0?G:500)){(Z=this._emitter)===null||Z===void 0||Z.call(this,{name:"error",error:Q,tag:Rw4.ErrorTag.NetworkError,requestArgs:I});let $=`A networking error occurred during ${W} request to ${g}.`;return Fb.Log.error($,E,Q),(C=this._errorBoundary)===null||C===void 0||C.attachErrorIfNoneExists($),null}return yield Tw4(X),this._sendRequest(Object.assign(Object.assign({},I),{retries:B,attempt:X+1}))}})}_isRateLimited(I){var d;let G=Date.now(),Z=(d=this._leakyBucket[I])!==null&&d!==void 0?d:{count:0,lastRequestTime:G},C=G-Z.lastRequestTime,W=Math.floor(C*Lw4);if(Z.count=Math.max(0,Z.count-W),Z.count>=Bm1)return!0;return Z.count+=1,Z.lastRequestTime=G,this._leakyBucket[I]=Z,!1}_getPopulatedURL(I){var d;return Qz(this,void 0,void 0,function*(){let G=(d=I.fallbackUrl)!==null&&d!==void 0?d:I.urlConfig.getUrl();if(I.urlConfig.endpoint===fw.Endpoint._initialize||I.urlConfig.endpoint===fw.Endpoint._download_config_specs)this._lastUsedInitUrl=G;let Z=Object.assign({[fw.NetworkParam.SdkKey]:I.sdkKey,[fw.NetworkParam.SdkType]:Gm1.SDKType._get(I.sdkKey),[fw.NetworkParam.SdkVersion]:Cm1.SDK_VERSION,[fw.NetworkParam.Time]:String(Date.now()),[fw.NetworkParam.SessionID]:Zm1.SessionID.get(I.sdkKey)},I.params),C=Object.keys(Z).map((W)=>{return`${encodeURIComponent(W)}=${encodeURIComponent(Z[W])}`}).join("&");return`${G}${C?`?${C}`:""}`})}_getPopulatedBody(I,d){return Qz(this,void 0,void 0,function*(){let{sdkKey:G,fallbackUrl:Z}=I,C=qw4.StableID.get(G),W=Zm1.SessionID.get(G),w=Gm1.SDKType._get(G);return JSON.stringify(Object.assign(Object.assign({},d),{statsigMetadata:Object.assign(Object.assign({},Cm1.StatsigMetadataProvider.get()),{stableID:C,sessionID:W,sdkType:w,fallbackUrl:Z})}))})}_attemptToEncodeString(I,d){var G,Z;let C=fw4._getWindowSafe();if(this._options.disableStatsigEncoding||zw4._getStatsigGlobalFlag("no-encode")!=null||!(C===null||C===void 0?void 0:C.btoa))return d;try{let W=(G=C.btoa(d).split("").reverse().join(""))!==null&&G!==void 0?G:d;return I.params=Object.assign(Object.assign({},(Z=I.params)!==null&&Z!==void 0?Z:{}),{[fw.NetworkParam.StatsigEncoded]:"1"}),W}catch(W){return Fb.Log.warn(`Request encoding failed for ${I.urlConfig.getUrl()}`),d}}_getInternalRequestArgs(I,d){let G=this._fallbackResolver.getActiveFallbackUrl(d.sdkKey,d.urlConfig);return Object.assign(Object.assign({},d),{method:I,fallbackUrl:G})}}fz.NetworkCore=Am1;var Wm1=(I)=>{if(!I.sdkKey)return Fb.Log.warn("Unable to make request without an SDK key"),!1;return!0};function Pw4(I,d){if((I===null||I===void 0?void 0:I.signal.aborted)&&typeof I.signal.reason==="string")return I.signal.reason;if(typeof d==="string")return d;if(d instanceof Error)return`${d.name}: ${d.message}`;return"Unknown Error"}function $w4(I){return(I===null||I===void 0?void 0:I.signal.aborted)&&typeof I.signal.reason==="string"&&I.signal.reason.includes("Timeout")||!1}function uw4(I,d){if(I.urlConfig.endpoint!==fw.Endpoint._initialize)return;p21.Diagnostics._markInitNetworkReqStart(I.sdkKey,{attempt:d})}function wm1(I,d,G,Z,C){if(I.urlConfig.endpoint!==fw.Endpoint._initialize)return;p21.Diagnostics._markInitNetworkReqEnd(I.sdkKey,p21.Diagnostics._getDiagnosticsData(d,G,Z,C))}function Tw4(I){return Qz(this,void 0,void 0,function*(){yield new Promise((d)=>setTimeout(d,Math.min(Ew4*(I*I),Mw4)))})}});var Ym1=Y((Xm1)=>{Object.defineProperty(Xm1,"__esModule",{value:!0})});var Dm1=Y((_m1)=>{Object.defineProperty(_m1,"__esModule",{value:!0})});var Fm1=Y((qz)=>{var Ow4=qz&&qz.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(qz,"__esModule",{value:!0});qz.StatsigClientBase=void 0;hF();var mw4=hF(),lw4=b21(),bw4=u21(),i21=q7(),hw4=h21(),jw4=jF(),kw4=Hb(),gb=bA(),xw4=3000;class Hm1{constructor(I,d,G,Z){var C;this.loadingStatus="Uninitialized",this._initializePromise=null,this._listeners={};let W=this.$emt.bind(this);(Z===null||Z===void 0?void 0:Z.logLevel)!=null&&(i21.Log.level=Z.logLevel),(Z===null||Z===void 0?void 0:Z.disableStorage)&&gb.Storage._setDisabled(!0),(Z===null||Z===void 0?void 0:Z.initialSessionID)&&kw4.StatsigSession.overrideInitialSessionID(Z.initialSessionID,I),(Z===null||Z===void 0?void 0:Z.storageProvider)&&gb.Storage._setProvider(Z.storageProvider),this._sdkKey=I,this._options=Z!==null&&Z!==void 0?Z:{},this._memoCache={},this.overrideAdapter=(C=Z===null||Z===void 0?void 0:Z.overrideAdapter)!==null&&C!==void 0?C:null,this._logger=new bw4.EventLogger(I,W,G,Z),this._errorBoundary=new lw4.ErrorBoundary(I,Z,W),this._errorBoundary.wrap(this),this._errorBoundary.wrap(d),this._errorBoundary.wrap(this._logger),G.setErrorBoundary(this._errorBoundary),this.dataAdapter=d,this.dataAdapter.attach(I,Z),this.storageProvider=gb.Storage,this._primeReadyRipcord(),cw4(I,this)}updateRuntimeOptions(I){if(I.disableLogging!=null)this._options.disableLogging=I.disableLogging,this._logger.setLoggingDisabled(I.disableLogging);if(I.disableStorage!=null)this._options.disableStorage=I.disableStorage,gb.Storage._setDisabled(I.disableStorage)}flush(){return this._logger.flush()}shutdown(){return Ow4(this,void 0,void 0,function*(){this.$emt({name:"pre_shutdown"}),this._setStatus("Uninitialized",null),this._initializePromise=null,yield this._logger.stop()})}on(I,d){if(!this._listeners[I])this._listeners[I]=[];this._listeners[I].push(d)}off(I,d){if(this._listeners[I]){let G=this._listeners[I].indexOf(d);if(G!==-1)this._listeners[I].splice(G,1)}}$on(I,d){d.__isInternal=!0,this.on(I,d)}$emt(I){var d;let G=(Z)=>{try{Z(I)}catch(C){if(Z.__isInternal===!0){this._errorBoundary.logError(`__emit:${I.name}`,C);return}i21.Log.error("An error occurred in a StatsigClientEvent listener. This is not an issue with Statsig.",I)}};if(this._listeners[I.name])this._listeners[I.name].forEach((Z)=>G(Z));(d=this._listeners["*"])===null||d===void 0||d.forEach(G)}_setStatus(I,d){this.loadingStatus=I,this._memoCache={},this.$emt({name:"values_updated",status:I,values:d})}_enqueueExposure(I,d,G){if((G===null||G===void 0?void 0:G.disableExposureLog)===!0){this._logger.incrementNonExposureCount(I);return}this._logger.enqueue(d)}_memoize(I,d){return(G,Z)=>{if(this._options.disableEvaluationMemoization)return d(G,Z);let C=hw4.createMemoKey(I,G,Z);if(!C)return d(G,Z);if(!(C in this._memoCache)){if(Object.keys(this._memoCache).length>=xw4)this._memoCache={};this._memoCache[C]=d(G,Z)}return this._memoCache[C]}}}qz.StatsigClientBase=Hm1;function cw4(I,d){var G;if(jw4._isServerEnv())return;let Z=mw4._getStatsigGlobal(),C=(G=Z.instances)!==null&&G!==void 0?G:{},W=d;if(C[I]!=null)i21.Log.warn("Creating multiple Statsig clients with the same SDK key can lead to unexpected behavior. Multi-instance support requires different SDK keys.");if(C[I]=W,!Z.firstInstance)Z.firstInstance=W;Z.instances=C,__STATSIG__=Z}});var Km1=Y((gm1)=>{Object.defineProperty(gm1,"__esModule",{value:!0});gm1.DataAdapterCachePrefix=void 0;gm1.DataAdapterCachePrefix="statsig.cached"});var zm1=Y((Nm1)=>{Object.defineProperty(Nm1,"__esModule",{value:!0})});var fm1=Y((Qm1)=>{Object.defineProperty(Qm1,"__esModule",{value:!0})});var vm1=Y((Rm1)=>{Object.defineProperty(Rm1,"__esModule",{value:!0});Rm1._makeTypedGet=Rm1._mergeOverride=Rm1._makeLayer=Rm1._makeExperiment=Rm1._makeDynamicConfig=Rm1._makeFeatureGate=void 0;var pw4=q7(),iw4=al(),nw4="default";function n21(I,d,G,Z){var C;return{name:I,details:d,ruleID:(C=G===null||G===void 0?void 0:G.rule_id)!==null&&C!==void 0?C:nw4,__evaluation:G,value:Z}}function rw4(I,d,G){return n21(I,d,G,(G===null||G===void 0?void 0:G.value)===!0)}Rm1._makeFeatureGate=rw4;function qm1(I,d,G){var Z;let C=(Z=G===null||G===void 0?void 0:G.value)!==null&&Z!==void 0?Z:{};return Object.assign(Object.assign({},n21(I,d,G,C)),{get:Jb(I,G===null||G===void 0?void 0:G.value)})}Rm1._makeDynamicConfig=qm1;function aw4(I,d,G){var Z;let C=qm1(I,d,G);return Object.assign(Object.assign({},C),{groupName:(Z=G===null||G===void 0?void 0:G.group_name)!==null&&Z!==void 0?Z:null})}Rm1._makeExperiment=aw4;function sw4(I,d,G,Z){var C,W;return Object.assign(Object.assign({},n21(I,d,G,void 0)),{get:Jb(I,G===null||G===void 0?void 0:G.value,Z),groupName:(C=G===null||G===void 0?void 0:G.group_name)!==null&&C!==void 0?C:null,__value:(W=G===null||G===void 0?void 0:G.value)!==null&&W!==void 0?W:{}})}Rm1._makeLayer=sw4;function ow4(I,d,G,Z){return Object.assign(Object.assign(Object.assign({},I),d),{get:Jb(I.name,G,Z)})}Rm1._mergeOverride=ow4;function Jb(I,d,G){return(Z,C)=>{var W;let w=(W=d===null||d===void 0?void 0:d[Z])!==null&&W!==void 0?W:null;if(w==null)return C!==null&&C!==void 0?C:null;if(C!=null&&!iw4._isTypeMatch(w,C))return pw4.Log.warn(`Parameter type mismatch. '${I}.${Z}' was found to be type '${typeof w}' but fallback/return type is '${typeof C}'. See https://docs.statsig.com/client/javascript-sdk/#typed-getters`),C!==null&&C!==void 0?C:null;return G===null||G===void 0||G(Z),w}}Rm1._makeTypedGet=Jb});var Mm1=Y((Em1)=>{Object.defineProperty(Em1,"__esModule",{value:!0})});var ym1=Y((Sm1)=>{Object.defineProperty(Sm1,"__esModule",{value:!0});Sm1.UPDATE_DETAIL_ERROR_MESSAGES=Sm1.createUpdateDetails=void 0;var ZB4=(I,d,G,Z,C,W)=>{return{duration:G,source:d,success:I,error:Z,sourceUrl:C,warnings:W}};Sm1.createUpdateDetails=ZB4;Sm1.UPDATE_DETAIL_ERROR_MESSAGES={NO_NETWORK_DATA:"No data was returned from the network. This may be due to a network timeout if a timeout value was specified in the options or ad blocker error."}});var Tm1=Y(($m1)=>{Object.defineProperty($m1,"__esModule",{value:!0});$m1.SDKFlags=void 0;var Pm1={};$m1.SDKFlags={setFlags:(I,d)=>{Pm1[I]=d},get:(I,d)=>{var G,Z;return(Z=(G=Pm1[I])===null||G===void 0?void 0:G[d])!==null&&Z!==void 0?Z:!1}}});var JY=Y((n2)=>{var WB4=n2&&n2.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),l4=n2&&n2.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))WB4(d,I,G)};Object.defineProperty(n2,"__esModule",{value:!0});n2.Storage=n2.Log=n2.EventLogger=n2.Diagnostics=void 0;hF();var wB4=rl();Object.defineProperty(n2,"Diagnostics",{enumerable:!0,get:function(){return wB4.Diagnostics}});var BB4=u21();Object.defineProperty(n2,"EventLogger",{enumerable:!0,get:function(){return BB4.EventLogger}});var Om1=q7();Object.defineProperty(n2,"Log",{enumerable:!0,get:function(){return Om1.Log}});var AB4=ME(),VB4=bA();Object.defineProperty(n2,"Storage",{enumerable:!0,get:function(){return VB4.Storage}});l4(hF(),n2);l4(qE(),n2);l4(WO1(),n2);l4(fO1(),n2);l4(rl(),n2);l4(RO1(),n2);l4(b21(),n2);l4(PO1(),n2);l4(uO1(),n2);l4(Hz(),n2);l4(OO1(),n2);l4(q7(),n2);l4(h21(),n2);l4(RE(),n2);l4(Vm1(),n2);l4(Ym1(),n2);l4(Dm1(),n2);l4(jF(),n2);l4(_b(),n2);l4(Hb(),n2);l4(Ab(),n2);l4(Fm1(),n2);l4(c21(),n2);l4(Km1(),n2);l4(v21(),n2);l4(ME(),n2);l4(zm1(),n2);l4(fm1(),n2);l4(vm1(),n2);l4(Mm1(),n2);l4(O21(),n2);l4(bA(),n2);l4(m21(),n2);l4(al(),n2);l4(S21(),n2);l4(wb(),n2);l4(Cb(),n2);l4(ym1(),n2);l4(Tm1(),n2);__STATSIG__=Object.assign(Object.assign({},__STATSIG__!==null&&__STATSIG__!==void 0?__STATSIG__:{}),{Log:Om1.Log,SDK_VERSION:AB4.SDK_VERSION})});var bm1=Y((lm1)=>{Object.defineProperty(lm1,"__esModule",{value:!0});var KY=JY();class mm1{constructor(I){this._sdkKey=I,this._rawValues=null,this._values=null,this._source="Uninitialized",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null,this._warnings=new Set}reset(){this._values=null,this._rawValues=null,this._source="Loading",this._lcut=0,this._receivedAt=0,this._bootstrapMetadata=null}finalize(){if(this._values)return;this._source="NoValues"}getValues(){return this._rawValues?KY._typedJsonParse(this._rawValues,"has_updates","EvaluationStoreValues"):null}setValues(I,d){if(!I)return!1;let G=KY._typedJsonParse(I.data,"has_updates","EvaluationResponse");if(G==null)return!1;if(this._source=I.source,(G===null||G===void 0?void 0:G.has_updates)!==!0)return!0;if(this._rawValues=I.data,this._lcut=G.time,this._receivedAt=I.receivedAt,this._values=G,this._bootstrapMetadata=this._extractBootstrapMetadata(I.source,G),I.source&&G.user)this._setWarningState(d,G);if(G.sdk_flags)KY.SDKFlags.setFlags(this._sdkKey,G.sdk_flags);else KY.SDKFlags.setFlags(this._sdkKey,{});return!0}getWarnings(){if(this._warnings.size===0)return;return Array.from(this._warnings)}getGate(I){var d;return this._getDetailedStoreResult((d=this._values)===null||d===void 0?void 0:d.feature_gates,I)}getConfig(I){var d;return this._getDetailedStoreResult((d=this._values)===null||d===void 0?void 0:d.dynamic_configs,I)}getLayer(I){var d;return this._getDetailedStoreResult((d=this._values)===null||d===void 0?void 0:d.layer_configs,I)}getParamStore(I){var d;return this._getDetailedStoreResult((d=this._values)===null||d===void 0?void 0:d.param_stores,I)}getSource(){return this._source}_extractBootstrapMetadata(I,d){if(I!=="Bootstrap")return null;let G={};if(d.user)G.user=d.user;if(d.sdkInfo)G.generatorSDKInfo=d.sdkInfo;return G.lcut=d.time,G}_getDetailedStoreResult(I,d){let G=null;if(I)G=I[d]?I[d]:I[KY._DJB2(d)];return{result:G,details:this._getDetails(G==null)}}_setWarningState(I,d){var G;let Z=KY.StableID.get(this._sdkKey);if(((G=I.customIDs)===null||G===void 0?void 0:G.stableID)!==Z){this._warnings.add("StableIDMismatch");return}if("user"in d){let C=d.user;if(KY._getFullUserHash(I)!==KY._getFullUserHash(C))this._warnings.add("PartialUserMatch")}}getCurrentSourceDetails(){if(this._source==="Uninitialized"||this._source==="NoValues")return{reason:this._source};let I={reason:this._source,lcut:this._lcut,receivedAt:this._receivedAt};if(this._warnings.size>0)I.warnings=Array.from(this._warnings);return I}_getDetails(I){var d,G;let Z=this.getCurrentSourceDetails(),C=Z.reason,W=(d=Z.warnings)!==null&&d!==void 0?d:[];if(this._source==="Bootstrap"&&W.length>0)C=C+W[0];if(C!=="Uninitialized"&&C!=="NoValues")C=`${C}:${I?"Unrecognized":"Recognized"}`;let w=this._source==="Bootstrap"?(G=this._bootstrapMetadata)!==null&&G!==void 0?G:void 0:void 0;if(w)Z.bootstrapMetadata=w;return Object.assign(Object.assign({},Z),{reason:C})}}lm1.default=mm1});var xm1=Y((jm1)=>{Object.defineProperty(jm1,"__esModule",{value:!0});jm1._resolveDeltasResponse=void 0;var hm1=JY(),YB4=2;function _B4(I,d){let G=hm1._typedJsonParse(d,"checksum","DeltasEvaluationResponse");if(!G)return{hadBadDeltaChecksum:!0};let Z=DB4(I,G),C=HB4(Z),W=hm1._DJB2Object({feature_gates:C.feature_gates,dynamic_configs:C.dynamic_configs,layer_configs:C.layer_configs},YB4);if(W!==G.checksumV2)return{hadBadDeltaChecksum:!0,badChecksum:W,badMergedConfigs:C,badFullResponse:G.deltas_full_response};return JSON.stringify(C)}jm1._resolveDeltasResponse=_B4;function DB4(I,d){return Object.assign(Object.assign(Object.assign({},I),d),{feature_gates:Object.assign(Object.assign({},I.feature_gates),d.feature_gates),layer_configs:Object.assign(Object.assign({},I.layer_configs),d.layer_configs),dynamic_configs:Object.assign(Object.assign({},I.dynamic_configs),d.dynamic_configs)})}function HB4(I){let d=I;return r21(I.deleted_gates,d.feature_gates),delete d.deleted_gates,r21(I.deleted_configs,d.dynamic_configs),delete d.deleted_configs,r21(I.deleted_layers,d.layer_configs),delete d.deleted_layers,d}function r21(I,d){I===null||I===void 0||I.forEach((G)=>{delete d[G]})}});var a21=Y((SE)=>{var cm1=SE&&SE.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(SE,"__esModule",{value:!0});var Kb=JY(),FB4=xm1();class pm1 extends Kb.NetworkCore{constructor(I,d){super(I,d);let G=I===null||I===void 0?void 0:I.networkConfig;this._initializeUrlConfig=new Kb.UrlConfiguration(Kb.Endpoint._initialize,G===null||G===void 0?void 0:G.initializeUrl,G===null||G===void 0?void 0:G.api,G===null||G===void 0?void 0:G.initializeFallbackUrls)}fetchEvaluations(I,d,G,Z){return cm1(this,void 0,void 0,function*(){let C=d?Kb._typedJsonParse(d,"has_updates","InitializeResponse"):null,W={user:Z,hash:"djb2",deltasResponseRequested:!1,full_checksum:null};if(C===null||C===void 0?void 0:C.has_updates)W=Object.assign(Object.assign({},W),{sinceTime:C.time,previousDerivedFields:"derived_fields"in C?C.derived_fields:{},deltasResponseRequested:!0,full_checksum:C.full_checksum});return this._fetchEvaluations(I,C,W,G)})}_fetchEvaluations(I,d,G,Z){var C,W;return cm1(this,void 0,void 0,function*(){let w=yield this.post({sdkKey:I,urlConfig:this._initializeUrlConfig,data:G,retries:2,isStatsigEncodable:!0,priority:Z});if((w===null||w===void 0?void 0:w.code)===204)return'{"has_updates": false}';if((w===null||w===void 0?void 0:w.code)!==200)return(C=w===null||w===void 0?void 0:w.body)!==null&&C!==void 0?C:null;if((d===null||d===void 0?void 0:d.has_updates)!==!0||((W=w.body)===null||W===void 0?void 0:W.includes('"is_delta":true'))!==!0||G.deltasResponseRequested!==!0)return w.body;let B=FB4._resolveDeltasResponse(d,w.body);if(typeof B==="string")return B;return this._fetchEvaluations(I,d,Object.assign(Object.assign(Object.assign({},G),B),{deltasResponseRequested:!1}),Z)})}}SE.default=pm1});var am1=Y((nm1)=>{Object.defineProperty(nm1,"__esModule",{value:!0});nm1._makeParamStoreGetter=void 0;var im1=JY(),Nb={disableExposureLog:!0};function zb(I){return I==null||I.disableExposureLog===!1}function s21(I,d){return d!=null&&!im1._isTypeMatch(I,d)}function gB4(I,d){return I.value}function JB4(I,d,G){if(I.getFeatureGate(d.gate_name,zb(G)?void 0:Nb).value)return d.pass_value;return d.fail_value}function KB4(I,d,G,Z){let W=I.getDynamicConfig(d.config_name,Nb).get(d.param_name);if(s21(W,G))return G;if(zb(Z))I.getDynamicConfig(d.config_name);return W}function NB4(I,d,G,Z){let W=I.getExperiment(d.experiment_name,Nb).get(d.param_name);if(s21(W,G))return G;if(zb(Z))I.getExperiment(d.experiment_name);return W}function zB4(I,d,G,Z){let W=I.getLayer(d.layer_name,Nb).get(d.param_name);if(s21(W,G))return G;if(zb(Z))I.getLayer(d.layer_name).get(d.param_name);return W}function QB4(I,d,G){return(Z,C)=>{if(d==null)return C;let W=d[Z];if(W==null||C!=null&&im1._typeOf(C)!==W.param_type)return C;switch(W.ref_type){case"static":return gB4(W,G);case"gate":return JB4(I,W,G);case"dynamic_config":return KB4(I,W,C,G);case"experiment":return NB4(I,W,C,G);case"layer":return zB4(I,W,C,G);default:return C}}}nm1._makeParamStoreGetter=QB4});var om1=Y((Rz)=>{var fB4=Rz&&Rz.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(Rz,"__esModule",{value:!0});Rz.StatsigEvaluationsDataAdapter=void 0;var xF=JY(),qB4=a21();class sm1 extends xF.DataAdapterCore{constructor(){super("EvaluationsDataAdapter","evaluations");this._network=null,this._options=null}attach(I,d){super.attach(I,d),this._network=new qB4.default(d!==null&&d!==void 0?d:{})}getDataAsync(I,d,G){return this._getDataAsyncImpl(I,xF._normalizeUser(d,this._options),G)}prefetchData(I,d){return this._prefetchDataImpl(I,d)}setData(I){let d=xF._typedJsonParse(I,"has_updates","data");if(d&&"user"in d)super.setData(I,d.user);else xF.Log.error("StatsigUser not found. You may be using an older server SDK version. Please upgrade your SDK or use setDataLegacy.")}setDataLegacy(I,d){super.setData(I,d)}_fetchFromNetwork(I,d,G){var Z;return fB4(this,void 0,void 0,function*(){let C=yield(Z=this._network)===null||Z===void 0?void 0:Z.fetchEvaluations(this._getSdkKey(),I,G===null||G===void 0?void 0:G.priority,d);return C!==null&&C!==void 0?C:null})}_getCacheKey(I){var d;let G=xF._getStorageKey(this._getSdkKey(),I,(d=this._options)===null||d===void 0?void 0:d.customUserCacheKeyFunc);return`${xF.DataAdapterCachePrefix}.${this._cacheSuffix}.${G}`}_isCachedResultValidFor204(I,d){return I.fullUserHash!=null&&I.fullUserHash===xF._getFullUserHash(d)}}Rz.StatsigEvaluationsDataAdapter=sm1});var em1=Y((LE)=>{var o21=LE&&LE.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})};Object.defineProperty(LE,"__esModule",{value:!0});var a4=JY(),RB4=bm1(),UB4=a21(),vB4=am1(),EB4=om1();class Qb extends a4.StatsigClientBase{static instance(I){let d=a4._getStatsigGlobal().instance(I);if(d instanceof Qb)return d;return a4.Log.warn(a4._isServerEnv()?"StatsigClient.instance is not supported in server environments":"Unable to find StatsigClient instance"),new Qb(I!==null&&I!==void 0?I:"",{})}constructor(I,d,G=null){var Z,C;a4.SDKType._setClientType(I,"javascript-client");let W=new UB4.default(G,(B)=>{this.$emt(B)});super(I,(Z=G===null||G===void 0?void 0:G.dataAdapter)!==null&&Z!==void 0?Z:new EB4.StatsigEvaluationsDataAdapter,W,G);this.getFeatureGate=this._memoize(a4.MemoPrefix._gate,this._getFeatureGateImpl.bind(this)),this.getDynamicConfig=this._memoize(a4.MemoPrefix._dynamicConfig,this._getDynamicConfigImpl.bind(this)),this.getExperiment=this._memoize(a4.MemoPrefix._experiment,this._getExperimentImpl.bind(this)),this.getLayer=this._memoize(a4.MemoPrefix._layer,this._getLayerImpl.bind(this)),this.getParameterStore=this._memoize(a4.MemoPrefix._paramStore,this._getParameterStoreImpl.bind(this)),this._store=new RB4.default(I),this._network=W,this._user=this._configureUser(d,G);let w=(C=G===null||G===void 0?void 0:G.plugins)!==null&&C!==void 0?C:[];for(let B of w)B.bind(this)}initializeSync(I){var d;if(this.loadingStatus!=="Uninitialized")return a4.createUpdateDetails(!0,this._store.getSource(),-1,null,null,["MultipleInitializations",...(d=this._store.getWarnings())!==null&&d!==void 0?d:[]]);return this._logger.start(),this.updateUserSync(this._user,I)}initializeAsync(I){return o21(this,void 0,void 0,function*(){if(this._initializePromise)return this._initializePromise;return this._initializePromise=this._initializeAsyncImpl(I),this._initializePromise})}updateUserSync(I,d){var G;let Z=performance.now(),C=[...(G=this._store.getWarnings())!==null&&G!==void 0?G:[]];this._resetForUser(I);let W=this.dataAdapter.getDataSync(this._user);if(W==null)C.push("NoCachedValues");this._store.setValues(W,this._user),this._finalizeUpdate(W);let w=d===null||d===void 0?void 0:d.disableBackgroundCacheRefresh;if(w===!0||w==null&&(W===null||W===void 0?void 0:W.source)==="Bootstrap")return a4.createUpdateDetails(!0,this._store.getSource(),performance.now()-Z,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),C);return this._runPostUpdate(W!==null&&W!==void 0?W:null,this._user),a4.createUpdateDetails(!0,this._store.getSource(),performance.now()-Z,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),C)}updateUserAsync(I,d){return o21(this,void 0,void 0,function*(){this._resetForUser(I);let G=this._user;a4.Diagnostics._markInitOverallStart(this._sdkKey);let Z=this.dataAdapter.getDataSync(G);if(this._store.setValues(Z,this._user),this._setStatus("Loading",Z),Z=yield this.dataAdapter.getDataAsync(Z,G,d),G!==this._user)return a4.createUpdateDetails(!1,this._store.getSource(),-1,new Error("User changed during update"),this._network.getLastUsedInitUrlAndReset());let C=!1;if(Z!=null)a4.Diagnostics._markInitProcessStart(this._sdkKey),C=this._store.setValues(Z,this._user),a4.Diagnostics._markInitProcessEnd(this._sdkKey,{success:C});if(this._finalizeUpdate(Z),!C)this._errorBoundary.attachErrorIfNoneExists(a4.UPDATE_DETAIL_ERROR_MESSAGES.NO_NETWORK_DATA),this.$emt({name:"initialization_failure"});a4.Diagnostics._markInitOverallEnd(this._sdkKey,C,this._store.getCurrentSourceDetails());let W=a4.Diagnostics._enqueueDiagnosticsEvent(this._user,this._logger,this._sdkKey,this._options);return a4.createUpdateDetails(C,this._store.getSource(),W,this._errorBoundary.getLastSeenErrorAndReset(),this._network.getLastUsedInitUrlAndReset(),this._store.getWarnings())})}getContext(){return{sdkKey:this._sdkKey,options:this._options,values:this._store.getValues(),user:JSON.parse(JSON.stringify(this._user)),errorBoundary:this._errorBoundary,session:a4.StatsigSession.get(this._sdkKey),stableID:a4.StableID.get(this._sdkKey)}}checkGate(I,d){return this.getFeatureGate(I,d).value}logEvent(I,d,G){let Z=typeof I==="string"?{eventName:I,value:d,metadata:G}:I;this._logger.enqueue(Object.assign(Object.assign({},Z),{user:this._user,time:Date.now()}))}_primeReadyRipcord(){this.$on("error",()=>{this.loadingStatus==="Loading"&&this._finalizeUpdate(null)})}_initializeAsyncImpl(I){return o21(this,void 0,void 0,function*(){if(!a4.Storage.isReady())yield a4.Storage.isReadyResolver();return this._logger.start(),this.updateUserAsync(this._user,I)})}_finalizeUpdate(I){this._store.finalize(),this._setStatus("Ready",I)}_runPostUpdate(I,d){this.dataAdapter.getDataAsync(I,d,{priority:"low"}).catch((G)=>{a4.Log.error("An error occurred after update.",G)})}_resetForUser(I){this._logger.reset(),this._store.reset(),this._user=this._configureUser(I,this._options)}_configureUser(I,d){var G;let Z=a4._normalizeUser(I,d),C=(G=Z.customIDs)===null||G===void 0?void 0:G.stableID;if(C)a4.StableID.setOverride(C,this._sdkKey);return Z}_getFeatureGateImpl(I,d){var G,Z;let{result:C,details:W}=this._store.getGate(I),w=a4._makeFeatureGate(I,W,C),B=(Z=(G=this.overrideAdapter)===null||G===void 0?void 0:G.getGateOverride)===null||Z===void 0?void 0:Z.call(G,w,this._user,d),A=B!==null&&B!==void 0?B:w;return this._enqueueExposure(I,a4._createGateExposure(this._user,A),d),this.$emt({name:"gate_evaluation",gate:A}),A}_getDynamicConfigImpl(I,d){var G,Z;let{result:C,details:W}=this._store.getConfig(I),w=a4._makeDynamicConfig(I,W,C),B=(Z=(G=this.overrideAdapter)===null||G===void 0?void 0:G.getDynamicConfigOverride)===null||Z===void 0?void 0:Z.call(G,w,this._user,d),A=B!==null&&B!==void 0?B:w;return this._enqueueExposure(I,a4._createConfigExposure(this._user,A),d),this.$emt({name:"dynamic_config_evaluation",dynamicConfig:A}),A}_getExperimentImpl(I,d){var G,Z;let{result:C,details:W}=this._store.getConfig(I),w=a4._makeExperiment(I,W,C),B=(Z=(G=this.overrideAdapter)===null||G===void 0?void 0:G.getExperimentOverride)===null||Z===void 0?void 0:Z.call(G,w,this._user,d),A=B!==null&&B!==void 0?B:w;return this._enqueueExposure(I,a4._createConfigExposure(this._user,A),d),this.$emt({name:"experiment_evaluation",experiment:A}),A}_getLayerImpl(I,d){var G,Z,C;let{result:W,details:w}=this._store.getLayer(I),B=a4._makeLayer(I,w,W),A=(Z=(G=this.overrideAdapter)===null||G===void 0?void 0:G.getLayerOverride)===null||Z===void 0?void 0:Z.call(G,B,this._user,d);if(d===null||d===void 0?void 0:d.disableExposureLog)this._logger.incrementNonExposureCount(I);let V=a4._mergeOverride(B,A,(C=A===null||A===void 0?void 0:A.__value)!==null&&C!==void 0?C:B.__value,(X)=>{if(d===null||d===void 0?void 0:d.disableExposureLog)return;this._enqueueExposure(I,a4._createLayerParameterExposure(this._user,V,X),d)});return this.$emt({name:"layer_evaluation",layer:V}),V}_getParameterStoreImpl(I,d){let{result:G,details:Z}=this._store.getParamStore(I);return this._logger.incrementNonExposureCount(I),{name:I,details:Z,__configuration:G,get:vB4._makeParamStoreGetter(this,G,d)}}}LE.default=Qb});var Il1=Y((qw)=>{var MB4=qw&&qw.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),SB4=qw&&qw.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))MB4(d,I,G)};Object.defineProperty(qw,"__esModule",{value:!0});qw.StatsigClient=void 0;var tm1=em1();qw.StatsigClient=tm1.default;SB4(JY(),qw);__STATSIG__=Object.assign(Object.assign({},__STATSIG__!==null&&__STATSIG__!==void 0?__STATSIG__:{}),{StatsigClient:tm1.default});qw.default=__STATSIG__});var ll1=Y((Pv9,ml1)=>{var m3={};ml1.exports=m3;function Ol1(I){return I<0?-1:1}function DA4(I){if(I%1===0.5&&(I&1)===0)return Math.floor(I);else return Math.round(I)}function zY(I,d){if(!d.unsigned)--I;let G=d.unsigned?0:-Math.pow(2,I),Z=Math.pow(2,I)-1,C=d.moduloBitLength?Math.pow(2,d.moduloBitLength):Math.pow(2,I),W=d.moduloBitLength?Math.pow(2,d.moduloBitLength-1):Math.pow(2,I-1);return function(w,B){if(!B)B={};let A=+w;if(B.enforceRange){if(!Number.isFinite(A))throw new TypeError("Argument is not a finite number");if(A=Ol1(A)*Math.floor(Math.abs(A)),A<G||A>Z)throw new TypeError("Argument is not in byte range");return A}if(!isNaN(A)&&B.clamp){if(A=DA4(A),A<G)A=G;if(A>Z)A=Z;return A}if(!Number.isFinite(A)||A===0)return 0;if(A=Ol1(A)*Math.floor(Math.abs(A)),A=A%C,!d.unsigned&&A>=W)return A-C;else if(d.unsigned){if(A<0)A+=C;else if(A===-0)return 0}return A}}m3.void=function(){return};m3.boolean=function(I){return!!I};m3.byte=zY(8,{unsigned:!1});m3.octet=zY(8,{unsigned:!0});m3.short=zY(16,{unsigned:!1});m3["unsigned short"]=zY(16,{unsigned:!0});m3.long=zY(32,{unsigned:!1});m3["unsigned long"]=zY(32,{unsigned:!0});m3["long long"]=zY(32,{unsigned:!1,moduloBitLength:64});m3["unsigned long long"]=zY(32,{unsigned:!0,moduloBitLength:64});m3.double=function(I){let d=+I;if(!Number.isFinite(d))throw new TypeError("Argument is not a finite floating-point value");return d};m3["unrestricted double"]=function(I){let d=+I;if(isNaN(d))throw new TypeError("Argument is NaN");return d};m3.float=m3.double;m3["unrestricted float"]=m3["unrestricted double"];m3.DOMString=function(I,d){if(!d)d={};if(d.treatNullAsEmptyString&&I===null)return"";return String(I)};m3.ByteString=function(I,d){let G=String(I),Z=void 0;for(let C=0;(Z=G.codePointAt(C))!==void 0;++C)if(Z>255)throw new TypeError("Argument is not a valid bytestring");return G};m3.USVString=function(I){let d=String(I),G=d.length,Z=[];for(let C=0;C<G;++C){let W=d.charCodeAt(C);if(W<55296||W>57343)Z.push(String.fromCodePoint(W));else if(56320<=W&&W<=57343)Z.push(String.fromCodePoint(65533));else if(C===G-1)Z.push(String.fromCodePoint(65533));else{let w=d.charCodeAt(C+1);if(56320<=w&&w<=57343){let B=W&1023,A=w&1023;Z.push(String.fromCodePoint(65536+1024*B+A)),++C}else Z.push(String.fromCodePoint(65533))}}return Z.join("")};m3.Date=function(I,d){if(!(I instanceof Date))throw new TypeError("Argument is not a Date object");if(isNaN(I))return;return I};m3.RegExp=function(I,d){if(!(I instanceof RegExp))I=new RegExp(I);return I}});var jl1=Y((HA4,QY)=>{HA4.mixin=function I(d,G){let Z=Object.getOwnPropertyNames(G);for(let C=0;C<Z.length;++C)Object.defineProperty(d,Z[C],Object.getOwnPropertyDescriptor(G,Z[C]))};HA4.wrapperSymbol=Symbol("wrapper");HA4.implSymbol=Symbol("impl");HA4.wrapperForImpl=function(I){return I[HA4.wrapperSymbol]};HA4.implForWrapper=function(I){return I[HA4.implSymbol]}});var kl1=Y(($v9,KA4)=>{KA4.exports=[[[0,44],"disallowed_STD3_valid"],[[45,46],"valid"],[[47,47],"disallowed_STD3_valid"],[[48,57],"valid"],[[58,64],"disallowed_STD3_valid"],[[65,65],"mapped",[97]],[[66,66],"mapped",[98]],[[67,67],"mapped",[99]],[[68,68],"mapped",[100]],[[69,69],"mapped",[101]],[[70,70],"mapped",[102]],[[71,71],"mapped",[103]],[[72,72],"mapped",[104]],[[73,73],"mapped",[105]],[[74,74],"mapped",[106]],[[75,75],"mapped",[107]],[[76,76],"mapped",[108]],[[77,77],"mapped",[109]],[[78,78],"mapped",[110]],[[79,79],"mapped",[111]],[[80,80],"mapped",[112]],[[81,81],"mapped",[113]],[[82,82],"mapped",[114]],[[83,83],"mapped",[115]],[[84,84],"mapped",[116]],[[85,85],"mapped",[117]],[[86,86],"mapped",[118]],[[87,87],"mapped",[119]],[[88,88],"mapped",[120]],[[89,89],"mapped",[121]],[[90,90],"mapped",[122]],[[91,96],"disallowed_STD3_valid"],[[97,122],"valid"],[[123,127],"disallowed_STD3_valid"],[[128,159],"disallowed"],[[160,160],"disallowed_STD3_mapped",[32]],[[161,167],"valid",[],"NV8"],[[168,168],"disallowed_STD3_mapped",[32,776]],[[169,169],"valid",[],"NV8"],[[170,170],"mapped",[97]],[[171,172],"valid",[],"NV8"],[[173,173],"ignored"],[[174,174],"valid",[],"NV8"],[[175,175],"disallowed_STD3_mapped",[32,772]],[[176,177],"valid",[],"NV8"],[[178,178],"mapped",[50]],[[179,179],"mapped",[51]],[[180,180],"disallowed_STD3_mapped",[32,769]],[[181,181],"mapped",[956]],[[182,182],"valid",[],"NV8"],[[183,183],"valid"],[[184,184],"disallowed_STD3_mapped",[32,807]],[[185,185],"mapped",[49]],[[186,186],"mapped",[111]],[[187,187],"valid",[],"NV8"],[[188,188],"mapped",[49,8260,52]],[[189,189],"mapped",[49,8260,50]],[[190,190],"mapped",[51,8260,52]],[[191,191],"valid",[],"NV8"],[[192,192],"mapped",[224]],[[193,193],"mapped",[225]],[[194,194],"mapped",[226]],[[195,195],"mapped",[227]],[[196,196],"mapped",[228]],[[197,197],"mapped",[229]],[[198,198],"mapped",[230]],[[199,199],"mapped",[231]],[[200,200],"mapped",[232]],[[201,201],"mapped",[233]],[[202,202],"mapped",[234]],[[203,203],"mapped",[235]],[[204,204],"mapped",[236]],[[205,205],"mapped",[237]],[[206,206],"mapped",[238]],[[207,207],"mapped",[239]],[[208,208],"mapped",[240]],[[209,209],"mapped",[241]],[[210,210],"mapped",[242]],[[211,211],"mapped",[243]],[[212,212],"mapped",[244]],[[213,213],"mapped",[245]],[[214,214],"mapped",[246]],[[215,215],"valid",[],"NV8"],[[216,216],"mapped",[248]],[[217,217],"mapped",[249]],[[218,218],"mapped",[250]],[[219,219],"mapped",[251]],[[220,220],"mapped",[252]],[[221,221],"mapped",[253]],[[222,222],"mapped",[254]],[[223,223],"deviation",[115,115]],[[224,246],"valid"],[[247,247],"valid",[],"NV8"],[[248,255],"valid"],[[256,256],"mapped",[257]],[[257,257],"valid"],[[258,258],"mapped",[259]],[[259,259],"valid"],[[260,260],"mapped",[261]],[[261,261],"valid"],[[262,262],"mapped",[263]],[[263,263],"valid"],[[264,264],"mapped",[265]],[[265,265],"valid"],[[266,266],"mapped",[267]],[[267,267],"valid"],[[268,268],"mapped",[269]],[[269,269],"valid"],[[270,270],"mapped",[271]],[[271,271],"valid"],[[272,272],"mapped",[273]],[[273,273],"valid"],[[274,274],"mapped",[275]],[[275,275],"valid"],[[276,276],"mapped",[277]],[[277,277],"valid"],[[278,278],"mapped",[279]],[[279,279],"valid"],[[280,280],"mapped",[281]],[[281,281],"valid"],[[282,282],"mapped",[283]],[[283,283],"valid"],[[284,284],"mapped",[285]],[[285,285],"valid"],[[286,286],"mapped",[287]],[[287,287],"valid"],[[288,288],"mapped",[289]],[[289,289],"valid"],[[290,290],"mapped",[291]],[[291,291],"valid"],[[292,292],"mapped",[293]],[[293,293],"valid"],[[294,294],"mapped",[295]],[[295,295],"valid"],[[296,296],"mapped",[297]],[[297,297],"valid"],[[298,298],"mapped",[299]],[[299,299],"valid"],[[300,300],"mapped",[301]],[[301,301],"valid"],[[302,302],"mapped",[303]],[[303,303],"valid"],[[304,304],"mapped",[105,775]],[[305,305],"valid"],[[306,307],"mapped",[105,106]],[[308,308],"mapped",[309]],[[309,309],"valid"],[[310,310],"mapped",[311]],[[311,312],"valid"],[[313,313],"mapped",[314]],[[314,314],"valid"],[[315,315],"mapped",[316]],[[316,316],"valid"],[[317,317],"mapped",[318]],[[318,318],"valid"],[[319,320],"mapped",[108,183]],[[321,321],"mapped",[322]],[[322,322],"valid"],[[323,323],"mapped",[324]],[[324,324],"valid"],[[325,325],"mapped",[326]],[[326,326],"valid"],[[327,327],"mapped",[328]],[[328,328],"valid"],[[329,329],"mapped",[700,110]],[[330,330],"mapped",[331]],[[331,331],"valid"],[[332,332],"mapped",[333]],[[333,333],"valid"],[[334,334],"mapped",[335]],[[335,335],"valid"],[[336,336],"mapped",[337]],[[337,337],"valid"],[[338,338],"mapped",[339]],[[339,339],"valid"],[[340,340],"mapped",[341]],[[341,341],"valid"],[[342,342],"mapped",[343]],[[343,343],"valid"],[[344,344],"mapped",[345]],[[345,345],"valid"],[[346,346],"mapped",[347]],[[347,347],"valid"],[[348,348],"mapped",[349]],[[349,349],"valid"],[[350,350],"mapped",[351]],[[351,351],"valid"],[[352,352],"mapped",[353]],[[353,353],"valid"],[[354,354],"mapped",[355]],[[355,355],"valid"],[[356,356],"mapped",[357]],[[357,357],"valid"],[[358,358],"mapped",[359]],[[359,359],"valid"],[[360,360],"mapped",[361]],[[361,361],"valid"],[[362,362],"mapped",[363]],[[363,363],"valid"],[[364,364],"mapped",[365]],[[365,365],"valid"],[[366,366],"mapped",[367]],[[367,367],"valid"],[[368,368],"mapped",[369]],[[369,369],"valid"],[[370,370],"mapped",[371]],[[371,371],"valid"],[[372,372],"mapped",[373]],[[373,373],"valid"],[[374,374],"mapped",[375]],[[375,375],"valid"],[[376,376],"mapped",[255]],[[377,377],"mapped",[378]],[[378,378],"valid"],[[379,379],"mapped",[380]],[[380,380],"valid"],[[381,381],"mapped",[382]],[[382,382],"valid"],[[383,383],"mapped",[115]],[[384,384],"valid"],[[385,385],"mapped",[595]],[[386,386],"mapped",[387]],[[387,387],"valid"],[[388,388],"mapped",[389]],[[389,389],"valid"],[[390,390],"mapped",[596]],[[391,391],"mapped",[392]],[[392,392],"valid"],[[393,393],"mapped",[598]],[[394,394],"mapped",[599]],[[395,395],"mapped",[396]],[[396,397],"valid"],[[398,398],"mapped",[477]],[[399,399],"mapped",[601]],[[400,400],"mapped",[603]],[[401,401],"mapped",[402]],[[402,402],"valid"],[[403,403],"mapped",[608]],[[404,404],"mapped",[611]],[[405,405],"valid"],[[406,406],"mapped",[617]],[[407,407],"mapped",[616]],[[408,408],"mapped",[409]],[[409,411],"valid"],[[412,412],"mapped",[623]],[[413,413],"mapped",[626]],[[414,414],"valid"],[[415,415],"mapped",[629]],[[416,416],"mapped",[417]],[[417,417],"valid"],[[418,418],"mapped",[419]],[[419,419],"valid"],[[420,420],"mapped",[421]],[[421,421],"valid"],[[422,422],"mapped",[640]],[[423,423],"mapped",[424]],[[424,424],"valid"],[[425,425],"mapped",[643]],[[426,427],"valid"],[[428,428],"mapped",[429]],[[429,429],"valid"],[[430,430],"mapped",[648]],[[431,431],"mapped",[432]],[[432,432],"valid"],[[433,433],"mapped",[650]],[[434,434],"mapped",[651]],[[435,435],"mapped",[436]],[[436,436],"valid"],[[437,437],"mapped",[438]],[[438,438],"valid"],[[439,439],"mapped",[658]],[[440,440],"mapped",[441]],[[441,443],"valid"],[[444,444],"mapped",[445]],[[445,451],"valid"],[[452,454],"mapped",[100,382]],[[455,457],"mapped",[108,106]],[[458,460],"mapped",[110,106]],[[461,461],"mapped",[462]],[[462,462],"valid"],[[463,463],"mapped",[464]],[[464,464],"valid"],[[465,465],"mapped",[466]],[[466,466],"valid"],[[467,467],"mapped",[468]],[[468,468],"valid"],[[469,469],"mapped",[470]],[[470,470],"valid"],[[471,471],"mapped",[472]],[[472,472],"valid"],[[473,473],"mapped",[474]],[[474,474],"valid"],[[475,475],"mapped",[476]],[[476,477],"valid"],[[478,478],"mapped",[479]],[[479,479],"valid"],[[480,480],"mapped",[481]],[[481,481],"valid"],[[482,482],"mapped",[483]],[[483,483],"valid"],[[484,484],"mapped",[485]],[[485,485],"valid"],[[486,486],"mapped",[487]],[[487,487],"valid"],[[488,488],"mapped",[489]],[[489,489],"valid"],[[490,490],"mapped",[491]],[[491,491],"valid"],[[492,492],"mapped",[493]],[[493,493],"valid"],[[494,494],"mapped",[495]],[[495,496],"valid"],[[497,499],"mapped",[100,122]],[[500,500],"mapped",[501]],[[501,501],"valid"],[[502,502],"mapped",[405]],[[503,503],"mapped",[447]],[[504,504],"mapped",[505]],[[505,505],"valid"],[[506,506],"mapped",[507]],[[507,507],"valid"],[[508,508],"mapped",[509]],[[509,509],"valid"],[[510,510],"mapped",[511]],[[511,511],"valid"],[[512,512],"mapped",[513]],[[513,513],"valid"],[[514,514],"mapped",[515]],[[515,515],"valid"],[[516,516],"mapped",[517]],[[517,517],"valid"],[[518,518],"mapped",[519]],[[519,519],"valid"],[[520,520],"mapped",[521]],[[521,521],"valid"],[[522,522],"mapped",[523]],[[523,523],"valid"],[[524,524],"mapped",[525]],[[525,525],"valid"],[[526,526],"mapped",[527]],[[527,527],"valid"],[[528,528],"mapped",[529]],[[529,529],"valid"],[[530,530],"mapped",[531]],[[531,531],"valid"],[[532,532],"mapped",[533]],[[533,533],"valid"],[[534,534],"mapped",[535]],[[535,535],"valid"],[[536,536],"mapped",[537]],[[537,537],"valid"],[[538,538],"mapped",[539]],[[539,539],"valid"],[[540,540],"mapped",[541]],[[541,541],"valid"],[[542,542],"mapped",[543]],[[543,543],"valid"],[[544,544],"mapped",[414]],[[545,545],"valid"],[[546,546],"mapped",[547]],[[547,547],"valid"],[[548,548],"mapped",[549]],[[549,549],"valid"],[[550,550],"mapped",[551]],[[551,551],"valid"],[[552,552],"mapped",[553]],[[553,553],"valid"],[[554,554],"mapped",[555]],[[555,555],"valid"],[[556,556],"mapped",[557]],[[557,557],"valid"],[[558,558],"mapped",[559]],[[559,559],"valid"],[[560,560],"mapped",[561]],[[561,561],"valid"],[[562,562],"mapped",[563]],[[563,563],"valid"],[[564,566],"valid"],[[567,569],"valid"],[[570,570],"mapped",[11365]],[[571,571],"mapped",[572]],[[572,572],"valid"],[[573,573],"mapped",[410]],[[574,574],"mapped",[11366]],[[575,576],"valid"],[[577,577],"mapped",[578]],[[578,578],"valid"],[[579,579],"mapped",[384]],[[580,580],"mapped",[649]],[[581,581],"mapped",[652]],[[582,582],"mapped",[583]],[[583,583],"valid"],[[584,584],"mapped",[585]],[[585,585],"valid"],[[586,586],"mapped",[587]],[[587,587],"valid"],[[588,588],"mapped",[589]],[[589,589],"valid"],[[590,590],"mapped",[591]],[[591,591],"valid"],[[592,680],"valid"],[[681,685],"valid"],[[686,687],"valid"],[[688,688],"mapped",[104]],[[689,689],"mapped",[614]],[[690,690],"mapped",[106]],[[691,691],"mapped",[114]],[[692,692],"mapped",[633]],[[693,693],"mapped",[635]],[[694,694],"mapped",[641]],[[695,695],"mapped",[119]],[[696,696],"mapped",[121]],[[697,705],"valid"],[[706,709],"valid",[],"NV8"],[[710,721],"valid"],[[722,727],"valid",[],"NV8"],[[728,728],"disallowed_STD3_mapped",[32,774]],[[729,729],"disallowed_STD3_mapped",[32,775]],[[730,730],"disallowed_STD3_mapped",[32,778]],[[731,731],"disallowed_STD3_mapped",[32,808]],[[732,732],"disallowed_STD3_mapped",[32,771]],[[733,733],"disallowed_STD3_mapped",[32,779]],[[734,734],"valid",[],"NV8"],[[735,735],"valid",[],"NV8"],[[736,736],"mapped",[611]],[[737,737],"mapped",[108]],[[738,738],"mapped",[115]],[[739,739],"mapped",[120]],[[740,740],"mapped",[661]],[[741,745],"valid",[],"NV8"],[[746,747],"valid",[],"NV8"],[[748,748],"valid"],[[749,749],"valid",[],"NV8"],[[750,750],"valid"],[[751,767],"valid",[],"NV8"],[[768,831],"valid"],[[832,832],"mapped",[768]],[[833,833],"mapped",[769]],[[834,834],"valid"],[[835,835],"mapped",[787]],[[836,836],"mapped",[776,769]],[[837,837],"mapped",[953]],[[838,846],"valid"],[[847,847],"ignored"],[[848,855],"valid"],[[856,860],"valid"],[[861,863],"valid"],[[864,865],"valid"],[[866,866],"valid"],[[867,879],"valid"],[[880,880],"mapped",[881]],[[881,881],"valid"],[[882,882],"mapped",[883]],[[883,883],"valid"],[[884,884],"mapped",[697]],[[885,885],"valid"],[[886,886],"mapped",[887]],[[887,887],"valid"],[[888,889],"disallowed"],[[890,890],"disallowed_STD3_mapped",[32,953]],[[891,893],"valid"],[[894,894],"disallowed_STD3_mapped",[59]],[[895,895],"mapped",[1011]],[[896,899],"disallowed"],[[900,900],"disallowed_STD3_mapped",[32,769]],[[901,901],"disallowed_STD3_mapped",[32,776,769]],[[902,902],"mapped",[940]],[[903,903],"mapped",[183]],[[904,904],"mapped",[941]],[[905,905],"mapped",[942]],[[906,906],"mapped",[943]],[[907,907],"disallowed"],[[908,908],"mapped",[972]],[[909,909],"disallowed"],[[910,910],"mapped",[973]],[[911,911],"mapped",[974]],[[912,912],"valid"],[[913,913],"mapped",[945]],[[914,914],"mapped",[946]],[[915,915],"mapped",[947]],[[916,916],"mapped",[948]],[[917,917],"mapped",[949]],[[918,918],"mapped",[950]],[[919,919],"mapped",[951]],[[920,920],"mapped",[952]],[[921,921],"mapped",[953]],[[922,922],"mapped",[954]],[[923,923],"mapped",[955]],[[924,924],"mapped",[956]],[[925,925],"mapped",[957]],[[926,926],"mapped",[958]],[[927,927],"mapped",[959]],[[928,928],"mapped",[960]],[[929,929],"mapped",[961]],[[930,930],"disallowed"],[[931,931],"mapped",[963]],[[932,932],"mapped",[964]],[[933,933],"mapped",[965]],[[934,934],"mapped",[966]],[[935,935],"mapped",[967]],[[936,936],"mapped",[968]],[[937,937],"mapped",[969]],[[938,938],"mapped",[970]],[[939,939],"mapped",[971]],[[940,961],"valid"],[[962,962],"deviation",[963]],[[963,974],"valid"],[[975,975],"mapped",[983]],[[976,976],"mapped",[946]],[[977,977],"mapped",[952]],[[978,978],"mapped",[965]],[[979,979],"mapped",[973]],[[980,980],"mapped",[971]],[[981,981],"mapped",[966]],[[982,982],"mapped",[960]],[[983,983],"valid"],[[984,984],"mapped",[985]],[[985,985],"valid"],[[986,986],"mapped",[987]],[[987,987],"valid"],[[988,988],"mapped",[989]],[[989,989],"valid"],[[990,990],"mapped",[991]],[[991,991],"valid"],[[992,992],"mapped",[993]],[[993,993],"valid"],[[994,994],"mapped",[995]],[[995,995],"valid"],[[996,996],"mapped",[997]],[[997,997],"valid"],[[998,998],"mapped",[999]],[[999,999],"valid"],[[1000,1000],"mapped",[1001]],[[1001,1001],"valid"],[[1002,1002],"mapped",[1003]],[[1003,1003],"valid"],[[1004,1004],"mapped",[1005]],[[1005,1005],"valid"],[[1006,1006],"mapped",[1007]],[[1007,1007],"valid"],[[1008,1008],"mapped",[954]],[[1009,1009],"mapped",[961]],[[1010,1010],"mapped",[963]],[[1011,1011],"valid"],[[1012,1012],"mapped",[952]],[[1013,1013],"mapped",[949]],[[1014,1014],"valid",[],"NV8"],[[1015,1015],"mapped",[1016]],[[1016,1016],"valid"],[[1017,1017],"mapped",[963]],[[1018,1018],"mapped",[1019]],[[1019,1019],"valid"],[[1020,1020],"valid"],[[1021,1021],"mapped",[891]],[[1022,1022],"mapped",[892]],[[1023,1023],"mapped",[893]],[[1024,1024],"mapped",[1104]],[[1025,1025],"mapped",[1105]],[[1026,1026],"mapped",[1106]],[[1027,1027],"mapped",[1107]],[[1028,1028],"mapped",[1108]],[[1029,1029],"mapped",[1109]],[[1030,1030],"mapped",[1110]],[[1031,1031],"mapped",[1111]],[[1032,1032],"mapped",[1112]],[[1033,1033],"mapped",[1113]],[[1034,1034],"mapped",[1114]],[[1035,1035],"mapped",[1115]],[[1036,1036],"mapped",[1116]],[[1037,1037],"mapped",[1117]],[[1038,1038],"mapped",[1118]],[[1039,1039],"mapped",[1119]],[[1040,1040],"mapped",[1072]],[[1041,1041],"mapped",[1073]],[[1042,1042],"mapped",[1074]],[[1043,1043],"mapped",[1075]],[[1044,1044],"mapped",[1076]],[[1045,1045],"mapped",[1077]],[[1046,1046],"mapped",[1078]],[[1047,1047],"mapped",[1079]],[[1048,1048],"mapped",[1080]],[[1049,1049],"mapped",[1081]],[[1050,1050],"mapped",[1082]],[[1051,1051],"mapped",[1083]],[[1052,1052],"mapped",[1084]],[[1053,1053],"mapped",[1085]],[[1054,1054],"mapped",[1086]],[[1055,1055],"mapped",[1087]],[[1056,1056],"mapped",[1088]],[[1057,1057],"mapped",[1089]],[[1058,1058],"mapped",[1090]],[[1059,1059],"mapped",[1091]],[[1060,1060],"mapped",[1092]],[[1061,1061],"mapped",[1093]],[[1062,1062],"mapped",[1094]],[[1063,1063],"mapped",[1095]],[[1064,1064],"mapped",[1096]],[[1065,1065],"mapped",[1097]],[[1066,1066],"mapped",[1098]],[[1067,1067],"mapped",[1099]],[[1068,1068],"mapped",[1100]],[[1069,1069],"mapped",[1101]],[[1070,1070],"mapped",[1102]],[[1071,1071],"mapped",[1103]],[[1072,1103],"valid"],[[1104,1104],"valid"],[[1105,1116],"valid"],[[1117,1117],"valid"],[[1118,1119],"valid"],[[1120,1120],"mapped",[1121]],[[1121,1121],"valid"],[[1122,1122],"mapped",[1123]],[[1123,1123],"valid"],[[1124,1124],"mapped",[1125]],[[1125,1125],"valid"],[[1126,1126],"mapped",[1127]],[[1127,1127],"valid"],[[1128,1128],"mapped",[1129]],[[1129,1129],"valid"],[[1130,1130],"mapped",[1131]],[[1131,1131],"valid"],[[1132,1132],"mapped",[1133]],[[1133,1133],"valid"],[[1134,1134],"mapped",[1135]],[[1135,1135],"valid"],[[1136,1136],"mapped",[1137]],[[1137,1137],"valid"],[[1138,1138],"mapped",[1139]],[[1139,1139],"valid"],[[1140,1140],"mapped",[1141]],[[1141,1141],"valid"],[[1142,1142],"mapped",[1143]],[[1143,1143],"valid"],[[1144,1144],"mapped",[1145]],[[1145,1145],"valid"],[[1146,1146],"mapped",[1147]],[[1147,1147],"valid"],[[1148,1148],"mapped",[1149]],[[1149,1149],"valid"],[[1150,1150],"mapped",[1151]],[[1151,1151],"valid"],[[1152,1152],"mapped",[1153]],[[1153,1153],"valid"],[[1154,1154],"valid",[],"NV8"],[[1155,1158],"valid"],[[1159,1159],"valid"],[[1160,1161],"valid",[],"NV8"],[[1162,1162],"mapped",[1163]],[[1163,1163],"valid"],[[1164,1164],"mapped",[1165]],[[1165,1165],"valid"],[[1166,1166],"mapped",[1167]],[[1167,1167],"valid"],[[1168,1168],"mapped",[1169]],[[1169,1169],"valid"],[[1170,1170],"mapped",[1171]],[[1171,1171],"valid"],[[1172,1172],"mapped",[1173]],[[1173,1173],"valid"],[[1174,1174],"mapped",[1175]],[[1175,1175],"valid"],[[1176,1176],"mapped",[1177]],[[1177,1177],"valid"],[[1178,1178],"mapped",[1179]],[[1179,1179],"valid"],[[1180,1180],"mapped",[1181]],[[1181,1181],"valid"],[[1182,1182],"mapped",[1183]],[[1183,1183],"valid"],[[1184,1184],"mapped",[1185]],[[1185,1185],"valid"],[[1186,1186],"mapped",[1187]],[[1187,1187],"valid"],[[1188,1188],"mapped",[1189]],[[1189,1189],"valid"],[[1190,1190],"mapped",[1191]],[[1191,1191],"valid"],[[1192,1192],"mapped",[1193]],[[1193,1193],"valid"],[[1194,1194],"mapped",[1195]],[[1195,1195],"valid"],[[1196,1196],"mapped",[1197]],[[1197,1197],"valid"],[[1198,1198],"mapped",[1199]],[[1199,1199],"valid"],[[1200,1200],"mapped",[1201]],[[1201,1201],"valid"],[[1202,1202],"mapped",[1203]],[[1203,1203],"valid"],[[1204,1204],"mapped",[1205]],[[1205,1205],"valid"],[[1206,1206],"mapped",[1207]],[[1207,1207],"valid"],[[1208,1208],"mapped",[1209]],[[1209,1209],"valid"],[[1210,1210],"mapped",[1211]],[[1211,1211],"valid"],[[1212,1212],"mapped",[1213]],[[1213,1213],"valid"],[[1214,1214],"mapped",[1215]],[[1215,1215],"valid"],[[1216,1216],"disallowed"],[[1217,1217],"mapped",[1218]],[[1218,1218],"valid"],[[1219,1219],"mapped",[1220]],[[1220,1220],"valid"],[[1221,1221],"mapped",[1222]],[[1222,1222],"valid"],[[1223,1223],"mapped",[1224]],[[1224,1224],"valid"],[[1225,1225],"mapped",[1226]],[[1226,1226],"valid"],[[1227,1227],"mapped",[1228]],[[1228,1228],"valid"],[[1229,1229],"mapped",[1230]],[[1230,1230],"valid"],[[1231,1231],"valid"],[[1232,1232],"mapped",[1233]],[[1233,1233],"valid"],[[1234,1234],"mapped",[1235]],[[1235,1235],"valid"],[[1236,1236],"mapped",[1237]],[[1237,1237],"valid"],[[1238,1238],"mapped",[1239]],[[1239,1239],"valid"],[[1240,1240],"mapped",[1241]],[[1241,1241],"valid"],[[1242,1242],"mapped",[1243]],[[1243,1243],"valid"],[[1244,1244],"mapped",[1245]],[[1245,1245],"valid"],[[1246,1246],"mapped",[1247]],[[1247,1247],"valid"],[[1248,1248],"mapped",[1249]],[[1249,1249],"valid"],[[1250,1250],"mapped",[1251]],[[1251,1251],"valid"],[[1252,1252],"mapped",[1253]],[[1253,1253],"valid"],[[1254,1254],"mapped",[1255]],[[1255,1255],"valid"],[[1256,1256],"mapped",[1257]],[[1257,1257],"valid"],[[1258,1258],"mapped",[1259]],[[1259,1259],"valid"],[[1260,1260],"mapped",[1261]],[[1261,1261],"valid"],[[1262,1262],"mapped",[1263]],[[1263,1263],"valid"],[[1264,1264],"mapped",[1265]],[[1265,1265],"valid"],[[1266,1266],"mapped",[1267]],[[1267,1267],"valid"],[[1268,1268],"mapped",[1269]],[[1269,1269],"valid"],[[1270,1270],"mapped",[1271]],[[1271,1271],"valid"],[[1272,1272],"mapped",[1273]],[[1273,1273],"valid"],[[1274,1274],"mapped",[1275]],[[1275,1275],"valid"],[[1276,1276],"mapped",[1277]],[[1277,1277],"valid"],[[1278,1278],"mapped",[1279]],[[1279,1279],"valid"],[[1280,1280],"mapped",[1281]],[[1281,1281],"valid"],[[1282,1282],"mapped",[1283]],[[1283,1283],"valid"],[[1284,1284],"mapped",[1285]],[[1285,1285],"valid"],[[1286,1286],"mapped",[1287]],[[1287,1287],"valid"],[[1288,1288],"mapped",[1289]],[[1289,1289],"valid"],[[1290,1290],"mapped",[1291]],[[1291,1291],"valid"],[[1292,1292],"mapped",[1293]],[[1293,1293],"valid"],[[1294,1294],"mapped",[1295]],[[1295,1295],"valid"],[[1296,1296],"mapped",[1297]],[[1297,1297],"valid"],[[1298,1298],"mapped",[1299]],[[1299,1299],"valid"],[[1300,1300],"mapped",[1301]],[[1301,1301],"valid"],[[1302,1302],"mapped",[1303]],[[1303,1303],"valid"],[[1304,1304],"mapped",[1305]],[[1305,1305],"valid"],[[1306,1306],"mapped",[1307]],[[1307,1307],"valid"],[[1308,1308],"mapped",[1309]],[[1309,1309],"valid"],[[1310,1310],"mapped",[1311]],[[1311,1311],"valid"],[[1312,1312],"mapped",[1313]],[[1313,1313],"valid"],[[1314,1314],"mapped",[1315]],[[1315,1315],"valid"],[[1316,1316],"mapped",[1317]],[[1317,1317],"valid"],[[1318,1318],"mapped",[1319]],[[1319,1319],"valid"],[[1320,1320],"mapped",[1321]],[[1321,1321],"valid"],[[1322,1322],"mapped",[1323]],[[1323,1323],"valid"],[[1324,1324],"mapped",[1325]],[[1325,1325],"valid"],[[1326,1326],"mapped",[1327]],[[1327,1327],"valid"],[[1328,1328],"disallowed"],[[1329,1329],"mapped",[1377]],[[1330,1330],"mapped",[1378]],[[1331,1331],"mapped",[1379]],[[1332,1332],"mapped",[1380]],[[1333,1333],"mapped",[1381]],[[1334,1334],"mapped",[1382]],[[1335,1335],"mapped",[1383]],[[1336,1336],"mapped",[1384]],[[1337,1337],"mapped",[1385]],[[1338,1338],"mapped",[1386]],[[1339,1339],"mapped",[1387]],[[1340,1340],"mapped",[1388]],[[1341,1341],"mapped",[1389]],[[1342,1342],"mapped",[1390]],[[1343,1343],"mapped",[1391]],[[1344,1344],"mapped",[1392]],[[1345,1345],"mapped",[1393]],[[1346,1346],"mapped",[1394]],[[1347,1347],"mapped",[1395]],[[1348,1348],"mapped",[1396]],[[1349,1349],"mapped",[1397]],[[1350,1350],"mapped",[1398]],[[1351,1351],"mapped",[1399]],[[1352,1352],"mapped",[1400]],[[1353,1353],"mapped",[1401]],[[1354,1354],"mapped",[1402]],[[1355,1355],"mapped",[1403]],[[1356,1356],"mapped",[1404]],[[1357,1357],"mapped",[1405]],[[1358,1358],"mapped",[1406]],[[1359,1359],"mapped",[1407]],[[1360,1360],"mapped",[1408]],[[1361,1361],"mapped",[1409]],[[1362,1362],"mapped",[1410]],[[1363,1363],"mapped",[1411]],[[1364,1364],"mapped",[1412]],[[1365,1365],"mapped",[1413]],[[1366,1366],"mapped",[1414]],[[1367,1368],"disallowed"],[[1369,1369],"valid"],[[1370,1375],"valid",[],"NV8"],[[1376,1376],"disallowed"],[[1377,1414],"valid"],[[1415,1415],"mapped",[1381,1410]],[[1416,1416],"disallowed"],[[1417,1417],"valid",[],"NV8"],[[1418,1418],"valid",[],"NV8"],[[1419,1420],"disallowed"],[[1421,1422],"valid",[],"NV8"],[[1423,1423],"valid",[],"NV8"],[[1424,1424],"disallowed"],[[1425,1441],"valid"],[[1442,1442],"valid"],[[1443,1455],"valid"],[[1456,1465],"valid"],[[1466,1466],"valid"],[[1467,1469],"valid"],[[1470,1470],"valid",[],"NV8"],[[1471,1471],"valid"],[[1472,1472],"valid",[],"NV8"],[[1473,1474],"valid"],[[1475,1475],"valid",[],"NV8"],[[1476,1476],"valid"],[[1477,1477],"valid"],[[1478,1478],"valid",[],"NV8"],[[1479,1479],"valid"],[[1480,1487],"disallowed"],[[1488,1514],"valid"],[[1515,1519],"disallowed"],[[1520,1524],"valid"],[[1525,1535],"disallowed"],[[1536,1539],"disallowed"],[[1540,1540],"disallowed"],[[1541,1541],"disallowed"],[[1542,1546],"valid",[],"NV8"],[[1547,1547],"valid",[],"NV8"],[[1548,1548],"valid",[],"NV8"],[[1549,1551],"valid",[],"NV8"],[[1552,1557],"valid"],[[1558,1562],"valid"],[[1563,1563],"valid",[],"NV8"],[[1564,1564],"disallowed"],[[1565,1565],"disallowed"],[[1566,1566],"valid",[],"NV8"],[[1567,1567],"valid",[],"NV8"],[[1568,1568],"valid"],[[1569,1594],"valid"],[[1595,1599],"valid"],[[1600,1600],"valid",[],"NV8"],[[1601,1618],"valid"],[[1619,1621],"valid"],[[1622,1624],"valid"],[[1625,1630],"valid"],[[1631,1631],"valid"],[[1632,1641],"valid"],[[1642,1645],"valid",[],"NV8"],[[1646,1647],"valid"],[[1648,1652],"valid"],[[1653,1653],"mapped",[1575,1652]],[[1654,1654],"mapped",[1608,1652]],[[1655,1655],"mapped",[1735,1652]],[[1656,1656],"mapped",[1610,1652]],[[1657,1719],"valid"],[[1720,1721],"valid"],[[1722,1726],"valid"],[[1727,1727],"valid"],[[1728,1742],"valid"],[[1743,1743],"valid"],[[1744,1747],"valid"],[[1748,1748],"valid",[],"NV8"],[[1749,1756],"valid"],[[1757,1757],"disallowed"],[[1758,1758],"valid",[],"NV8"],[[1759,1768],"valid"],[[1769,1769],"valid",[],"NV8"],[[1770,1773],"valid"],[[1774,1775],"valid"],[[1776,1785],"valid"],[[1786,1790],"valid"],[[1791,1791],"valid"],[[1792,1805],"valid",[],"NV8"],[[1806,1806],"disallowed"],[[1807,1807],"disallowed"],[[1808,1836],"valid"],[[1837,1839],"valid"],[[1840,1866],"valid"],[[1867,1868],"disallowed"],[[1869,1871],"valid"],[[1872,1901],"valid"],[[1902,1919],"valid"],[[1920,1968],"valid"],[[1969,1969],"valid"],[[1970,1983],"disallowed"],[[1984,2037],"valid"],[[2038,2042],"valid",[],"NV8"],[[2043,2047],"disallowed"],[[2048,2093],"valid"],[[2094,2095],"disallowed"],[[2096,2110],"valid",[],"NV8"],[[2111,2111],"disallowed"],[[2112,2139],"valid"],[[2140,2141],"disallowed"],[[2142,2142],"valid",[],"NV8"],[[2143,2207],"disallowed"],[[2208,2208],"valid"],[[2209,2209],"valid"],[[2210,2220],"valid"],[[2221,2226],"valid"],[[2227,2228],"valid"],[[2229,2274],"disallowed"],[[2275,2275],"valid"],[[2276,2302],"valid"],[[2303,2303],"valid"],[[2304,2304],"valid"],[[2305,2307],"valid"],[[2308,2308],"valid"],[[2309,2361],"valid"],[[2362,2363],"valid"],[[2364,2381],"valid"],[[2382,2382],"valid"],[[2383,2383],"valid"],[[2384,2388],"valid"],[[2389,2389],"valid"],[[2390,2391],"valid"],[[2392,2392],"mapped",[2325,2364]],[[2393,2393],"mapped",[2326,2364]],[[2394,2394],"mapped",[2327,2364]],[[2395,2395],"mapped",[2332,2364]],[[2396,2396],"mapped",[2337,2364]],[[2397,2397],"mapped",[2338,2364]],[[2398,2398],"mapped",[2347,2364]],[[2399,2399],"mapped",[2351,2364]],[[2400,2403],"valid"],[[2404,2405],"valid",[],"NV8"],[[2406,2415],"valid"],[[2416,2416],"valid",[],"NV8"],[[2417,2418],"valid"],[[2419,2423],"valid"],[[2424,2424],"valid"],[[2425,2426],"valid"],[[2427,2428],"valid"],[[2429,2429],"valid"],[[2430,2431],"valid"],[[2432,2432],"valid"],[[2433,2435],"valid"],[[2436,2436],"disallowed"],[[2437,2444],"valid"],[[2445,2446],"disallowed"],[[2447,2448],"valid"],[[2449,2450],"disallowed"],[[2451,2472],"valid"],[[2473,2473],"disallowed"],[[2474,2480],"valid"],[[2481,2481],"disallowed"],[[2482,2482],"valid"],[[2483,2485],"disallowed"],[[2486,2489],"valid"],[[2490,2491],"disallowed"],[[2492,2492],"valid"],[[2493,2493],"valid"],[[2494,2500],"valid"],[[2501,2502],"disallowed"],[[2503,2504],"valid"],[[2505,2506],"disallowed"],[[2507,2509],"valid"],[[2510,2510],"valid"],[[2511,2518],"disallowed"],[[2519,2519],"valid"],[[2520,2523],"disallowed"],[[2524,2524],"mapped",[2465,2492]],[[2525,2525],"mapped",[2466,2492]],[[2526,2526],"disallowed"],[[2527,2527],"mapped",[2479,2492]],[[2528,2531],"valid"],[[2532,2533],"disallowed"],[[2534,2545],"valid"],[[2546,2554],"valid",[],"NV8"],[[2555,2555],"valid",[],"NV8"],[[2556,2560],"disallowed"],[[2561,2561],"valid"],[[2562,2562],"valid"],[[2563,2563],"valid"],[[2564,2564],"disallowed"],[[2565,2570],"valid"],[[2571,2574],"disallowed"],[[2575,2576],"valid"],[[2577,2578],"disallowed"],[[2579,2600],"valid"],[[2601,2601],"disallowed"],[[2602,2608],"valid"],[[2609,2609],"disallowed"],[[2610,2610],"valid"],[[2611,2611],"mapped",[2610,2620]],[[2612,2612],"disallowed"],[[2613,2613],"valid"],[[2614,2614],"mapped",[2616,2620]],[[2615,2615],"disallowed"],[[2616,2617],"valid"],[[2618,2619],"disallowed"],[[2620,2620],"valid"],[[2621,2621],"disallowed"],[[2622,2626],"valid"],[[2627,2630],"disallowed"],[[2631,2632],"valid"],[[2633,2634],"disallowed"],[[2635,2637],"valid"],[[2638,2640],"disallowed"],[[2641,2641],"valid"],[[2642,2648],"disallowed"],[[2649,2649],"mapped",[2582,2620]],[[2650,2650],"mapped",[2583,2620]],[[2651,2651],"mapped",[2588,2620]],[[2652,2652],"valid"],[[2653,2653],"disallowed"],[[2654,2654],"mapped",[2603,2620]],[[2655,2661],"disallowed"],[[2662,2676],"valid"],[[2677,2677],"valid"],[[2678,2688],"disallowed"],[[2689,2691],"valid"],[[2692,2692],"disallowed"],[[2693,2699],"valid"],[[2700,2700],"valid"],[[2701,2701],"valid"],[[2702,2702],"disallowed"],[[2703,2705],"valid"],[[2706,2706],"disallowed"],[[2707,2728],"valid"],[[2729,2729],"disallowed"],[[2730,2736],"valid"],[[2737,2737],"disallowed"],[[2738,2739],"valid"],[[2740,2740],"disallowed"],[[2741,2745],"valid"],[[2746,2747],"disallowed"],[[2748,2757],"valid"],[[2758,2758],"disallowed"],[[2759,2761],"valid"],[[2762,2762],"disallowed"],[[2763,2765],"valid"],[[2766,2767],"disallowed"],[[2768,2768],"valid"],[[2769,2783],"disallowed"],[[2784,2784],"valid"],[[2785,2787],"valid"],[[2788,2789],"disallowed"],[[2790,2799],"valid"],[[2800,2800],"valid",[],"NV8"],[[2801,2801],"valid",[],"NV8"],[[2802,2808],"disallowed"],[[2809,2809],"valid"],[[2810,2816],"disallowed"],[[2817,2819],"valid"],[[2820,2820],"disallowed"],[[2821,2828],"valid"],[[2829,2830],"disallowed"],[[2831,2832],"valid"],[[2833,2834],"disallowed"],[[2835,2856],"valid"],[[2857,2857],"disallowed"],[[2858,2864],"valid"],[[2865,2865],"disallowed"],[[2866,2867],"valid"],[[2868,2868],"disallowed"],[[2869,2869],"valid"],[[2870,2873],"valid"],[[2874,2875],"disallowed"],[[2876,2883],"valid"],[[2884,2884],"valid"],[[2885,2886],"disallowed"],[[2887,2888],"valid"],[[2889,2890],"disallowed"],[[2891,2893],"valid"],[[2894,2901],"disallowed"],[[2902,2903],"valid"],[[2904,2907],"disallowed"],[[2908,2908],"mapped",[2849,2876]],[[2909,2909],"mapped",[2850,2876]],[[2910,2910],"disallowed"],[[2911,2913],"valid"],[[2914,2915],"valid"],[[2916,2917],"disallowed"],[[2918,2927],"valid"],[[2928,2928],"valid",[],"NV8"],[[2929,2929],"valid"],[[2930,2935],"valid",[],"NV8"],[[2936,2945],"disallowed"],[[2946,2947],"valid"],[[2948,2948],"disallowed"],[[2949,2954],"valid"],[[2955,2957],"disallowed"],[[2958,2960],"valid"],[[2961,2961],"disallowed"],[[2962,2965],"valid"],[[2966,2968],"disallowed"],[[2969,2970],"valid"],[[2971,2971],"disallowed"],[[2972,2972],"valid"],[[2973,2973],"disallowed"],[[2974,2975],"valid"],[[2976,2978],"disallowed"],[[2979,2980],"valid"],[[2981,2983],"disallowed"],[[2984,2986],"valid"],[[2987,2989],"disallowed"],[[2990,2997],"valid"],[[2998,2998],"valid"],[[2999,3001],"valid"],[[3002,3005],"disallowed"],[[3006,3010],"valid"],[[3011,3013],"disallowed"],[[3014,3016],"valid"],[[3017,3017],"disallowed"],[[3018,3021],"valid"],[[3022,3023],"disallowed"],[[3024,3024],"valid"],[[3025,3030],"disallowed"],[[3031,3031],"valid"],[[3032,3045],"disallowed"],[[3046,3046],"valid"],[[3047,3055],"valid"],[[3056,3058],"valid",[],"NV8"],[[3059,3066],"valid",[],"NV8"],[[3067,3071],"disallowed"],[[3072,3072],"valid"],[[3073,3075],"valid"],[[3076,3076],"disallowed"],[[3077,3084],"valid"],[[3085,3085],"disallowed"],[[3086,3088],"valid"],[[3089,3089],"disallowed"],[[3090,3112],"valid"],[[3113,3113],"disallowed"],[[3114,3123],"valid"],[[3124,3124],"valid"],[[3125,3129],"valid"],[[3130,3132],"disallowed"],[[3133,3133],"valid"],[[3134,3140],"valid"],[[3141,3141],"disallowed"],[[3142,3144],"valid"],[[3145,3145],"disallowed"],[[3146,3149],"valid"],[[3150,3156],"disallowed"],[[3157,3158],"valid"],[[3159,3159],"disallowed"],[[3160,3161],"valid"],[[3162,3162],"valid"],[[3163,3167],"disallowed"],[[3168,3169],"valid"],[[3170,3171],"valid"],[[3172,3173],"disallowed"],[[3174,3183],"valid"],[[3184,3191],"disallowed"],[[3192,3199],"valid",[],"NV8"],[[3200,3200],"disallowed"],[[3201,3201],"valid"],[[3202,3203],"valid"],[[3204,3204],"disallowed"],[[3205,3212],"valid"],[[3213,3213],"disallowed"],[[3214,3216],"valid"],[[3217,3217],"disallowed"],[[3218,3240],"valid"],[[3241,3241],"disallowed"],[[3242,3251],"valid"],[[3252,3252],"disallowed"],[[3253,3257],"valid"],[[3258,3259],"disallowed"],[[3260,3261],"valid"],[[3262,3268],"valid"],[[3269,3269],"disallowed"],[[3270,3272],"valid"],[[3273,3273],"disallowed"],[[3274,3277],"valid"],[[3278,3284],"disallowed"],[[3285,3286],"valid"],[[3287,3293],"disallowed"],[[3294,3294],"valid"],[[3295,3295],"disallowed"],[[3296,3297],"valid"],[[3298,3299],"valid"],[[3300,3301],"disallowed"],[[3302,3311],"valid"],[[3312,3312],"disallowed"],[[3313,3314],"valid"],[[3315,3328],"disallowed"],[[3329,3329],"valid"],[[3330,3331],"valid"],[[3332,3332],"disallowed"],[[3333,3340],"valid"],[[3341,3341],"disallowed"],[[3342,3344],"valid"],[[3345,3345],"disallowed"],[[3346,3368],"valid"],[[3369,3369],"valid"],[[3370,3385],"valid"],[[3386,3386],"valid"],[[3387,3388],"disallowed"],[[3389,3389],"valid"],[[3390,3395],"valid"],[[3396,3396],"valid"],[[3397,3397],"disallowed"],[[3398,3400],"valid"],[[3401,3401],"disallowed"],[[3402,3405],"valid"],[[3406,3406],"valid"],[[3407,3414],"disallowed"],[[3415,3415],"valid"],[[3416,3422],"disallowed"],[[3423,3423],"valid"],[[3424,3425],"valid"],[[3426,3427],"valid"],[[3428,3429],"disallowed"],[[3430,3439],"valid"],[[3440,3445],"valid",[],"NV8"],[[3446,3448],"disallowed"],[[3449,3449],"valid",[],"NV8"],[[3450,3455],"valid"],[[3456,3457],"disallowed"],[[3458,3459],"valid"],[[3460,3460],"disallowed"],[[3461,3478],"valid"],[[3479,3481],"disallowed"],[[3482,3505],"valid"],[[3506,3506],"disallowed"],[[3507,3515],"valid"],[[3516,3516],"disallowed"],[[3517,3517],"valid"],[[3518,3519],"disallowed"],[[3520,3526],"valid"],[[3527,3529],"disallowed"],[[3530,3530],"valid"],[[3531,3534],"disallowed"],[[3535,3540],"valid"],[[3541,3541],"disallowed"],[[3542,3542],"valid"],[[3543,3543],"disallowed"],[[3544,3551],"valid"],[[3552,3557],"disallowed"],[[3558,3567],"valid"],[[3568,3569],"disallowed"],[[3570,3571],"valid"],[[3572,3572],"valid",[],"NV8"],[[3573,3584],"disallowed"],[[3585,3634],"valid"],[[3635,3635],"mapped",[3661,3634]],[[3636,3642],"valid"],[[3643,3646],"disallowed"],[[3647,3647],"valid",[],"NV8"],[[3648,3662],"valid"],[[3663,3663],"valid",[],"NV8"],[[3664,3673],"valid"],[[3674,3675],"valid",[],"NV8"],[[3676,3712],"disallowed"],[[3713,3714],"valid"],[[3715,3715],"disallowed"],[[3716,3716],"valid"],[[3717,3718],"disallowed"],[[3719,3720],"valid"],[[3721,3721],"disallowed"],[[3722,3722],"valid"],[[3723,3724],"disallowed"],[[3725,3725],"valid"],[[3726,3731],"disallowed"],[[3732,3735],"valid"],[[3736,3736],"disallowed"],[[3737,3743],"valid"],[[3744,3744],"disallowed"],[[3745,3747],"valid"],[[3748,3748],"disallowed"],[[3749,3749],"valid"],[[3750,3750],"disallowed"],[[3751,3751],"valid"],[[3752,3753],"disallowed"],[[3754,3755],"valid"],[[3756,3756],"disallowed"],[[3757,3762],"valid"],[[3763,3763],"mapped",[3789,3762]],[[3764,3769],"valid"],[[3770,3770],"disallowed"],[[3771,3773],"valid"],[[3774,3775],"disallowed"],[[3776,3780],"valid"],[[3781,3781],"disallowed"],[[3782,3782],"valid"],[[3783,3783],"disallowed"],[[3784,3789],"valid"],[[3790,3791],"disallowed"],[[3792,3801],"valid"],[[3802,3803],"disallowed"],[[3804,3804],"mapped",[3755,3737]],[[3805,3805],"mapped",[3755,3745]],[[3806,3807],"valid"],[[3808,3839],"disallowed"],[[3840,3840],"valid"],[[3841,3850],"valid",[],"NV8"],[[3851,3851],"valid"],[[3852,3852],"mapped",[3851]],[[3853,3863],"valid",[],"NV8"],[[3864,3865],"valid"],[[3866,3871],"valid",[],"NV8"],[[3872,3881],"valid"],[[3882,3892],"valid",[],"NV8"],[[3893,3893],"valid"],[[3894,3894],"valid",[],"NV8"],[[3895,3895],"valid"],[[3896,3896],"valid",[],"NV8"],[[3897,3897],"valid"],[[3898,3901],"valid",[],"NV8"],[[3902,3906],"valid"],[[3907,3907],"mapped",[3906,4023]],[[3908,3911],"valid"],[[3912,3912],"disallowed"],[[3913,3916],"valid"],[[3917,3917],"mapped",[3916,4023]],[[3918,3921],"valid"],[[3922,3922],"mapped",[3921,4023]],[[3923,3926],"valid"],[[3927,3927],"mapped",[3926,4023]],[[3928,3931],"valid"],[[3932,3932],"mapped",[3931,4023]],[[3933,3944],"valid"],[[3945,3945],"mapped",[3904,4021]],[[3946,3946],"valid"],[[3947,3948],"valid"],[[3949,3952],"disallowed"],[[3953,3954],"valid"],[[3955,3955],"mapped",[3953,3954]],[[3956,3956],"valid"],[[3957,3957],"mapped",[3953,3956]],[[3958,3958],"mapped",[4018,3968]],[[3959,3959],"mapped",[4018,3953,3968]],[[3960,3960],"mapped",[4019,3968]],[[3961,3961],"mapped",[4019,3953,3968]],[[3962,3968],"valid"],[[3969,3969],"mapped",[3953,3968]],[[3970,3972],"valid"],[[3973,3973],"valid",[],"NV8"],[[3974,3979],"valid"],[[3980,3983],"valid"],[[3984,3986],"valid"],[[3987,3987],"mapped",[3986,4023]],[[3988,3989],"valid"],[[3990,3990],"valid"],[[3991,3991],"valid"],[[3992,3992],"disallowed"],[[3993,3996],"valid"],[[3997,3997],"mapped",[3996,4023]],[[3998,4001],"valid"],[[4002,4002],"mapped",[4001,4023]],[[4003,4006],"valid"],[[4007,4007],"mapped",[4006,4023]],[[4008,4011],"valid"],[[4012,4012],"mapped",[4011,4023]],[[4013,4013],"valid"],[[4014,4016],"valid"],[[4017,4023],"valid"],[[4024,4024],"valid"],[[4025,4025],"mapped",[3984,4021]],[[4026,4028],"valid"],[[4029,4029],"disallowed"],[[4030,4037],"valid",[],"NV8"],[[4038,4038],"valid"],[[4039,4044],"valid",[],"NV8"],[[4045,4045],"disallowed"],[[4046,4046],"valid",[],"NV8"],[[4047,4047],"valid",[],"NV8"],[[4048,4049],"valid",[],"NV8"],[[4050,4052],"valid",[],"NV8"],[[4053,4056],"valid",[],"NV8"],[[4057,4058],"valid",[],"NV8"],[[4059,4095],"disallowed"],[[4096,4129],"valid"],[[4130,4130],"valid"],[[4131,4135],"valid"],[[4136,4136],"valid"],[[4137,4138],"valid"],[[4139,4139],"valid"],[[4140,4146],"valid"],[[4147,4149],"valid"],[[4150,4153],"valid"],[[4154,4159],"valid"],[[4160,4169],"valid"],[[4170,4175],"valid",[],"NV8"],[[4176,4185],"valid"],[[4186,4249],"valid"],[[4250,4253],"valid"],[[4254,4255],"valid",[],"NV8"],[[4256,4293],"disallowed"],[[4294,4294],"disallowed"],[[4295,4295],"mapped",[11559]],[[4296,4300],"disallowed"],[[4301,4301],"mapped",[11565]],[[4302,4303],"disallowed"],[[4304,4342],"valid"],[[4343,4344],"valid"],[[4345,4346],"valid"],[[4347,4347],"valid",[],"NV8"],[[4348,4348],"mapped",[4316]],[[4349,4351],"valid"],[[4352,4441],"valid",[],"NV8"],[[4442,4446],"valid",[],"NV8"],[[4447,4448],"disallowed"],[[4449,4514],"valid",[],"NV8"],[[4515,4519],"valid",[],"NV8"],[[4520,4601],"valid",[],"NV8"],[[4602,4607],"valid",[],"NV8"],[[4608,4614],"valid"],[[4615,4615],"valid"],[[4616,4678],"valid"],[[4679,4679],"valid"],[[4680,4680],"valid"],[[4681,4681],"disallowed"],[[4682,4685],"valid"],[[4686,4687],"disallowed"],[[4688,4694],"valid"],[[4695,4695],"disallowed"],[[4696,4696],"valid"],[[4697,4697],"disallowed"],[[4698,4701],"valid"],[[4702,4703],"disallowed"],[[4704,4742],"valid"],[[4743,4743],"valid"],[[4744,4744],"valid"],[[4745,4745],"disallowed"],[[4746,4749],"valid"],[[4750,4751],"disallowed"],[[4752,4782],"valid"],[[4783,4783],"valid"],[[4784,4784],"valid"],[[4785,4785],"disallowed"],[[4786,4789],"valid"],[[4790,4791],"disallowed"],[[4792,4798],"valid"],[[4799,4799],"disallowed"],[[4800,4800],"valid"],[[4801,4801],"disallowed"],[[4802,4805],"valid"],[[4806,4807],"disallowed"],[[4808,4814],"valid"],[[4815,4815],"valid"],[[4816,4822],"valid"],[[4823,4823],"disallowed"],[[4824,4846],"valid"],[[4847,4847],"valid"],[[4848,4878],"valid"],[[4879,4879],"valid"],[[4880,4880],"valid"],[[4881,4881],"disallowed"],[[4882,4885],"valid"],[[4886,4887],"disallowed"],[[4888,4894],"valid"],[[4895,4895],"valid"],[[4896,4934],"valid"],[[4935,4935],"valid"],[[4936,4954],"valid"],[[4955,4956],"disallowed"],[[4957,4958],"valid"],[[4959,4959],"valid"],[[4960,4960],"valid",[],"NV8"],[[4961,4988],"valid",[],"NV8"],[[4989,4991],"disallowed"],[[4992,5007],"valid"],[[5008,5017],"valid",[],"NV8"],[[5018,5023],"disallowed"],[[5024,5108],"valid"],[[5109,5109],"valid"],[[5110,5111],"disallowed"],[[5112,5112],"mapped",[5104]],[[5113,5113],"mapped",[5105]],[[5114,5114],"mapped",[5106]],[[5115,5115],"mapped",[5107]],[[5116,5116],"mapped",[5108]],[[5117,5117],"mapped",[5109]],[[5118,5119],"disallowed"],[[5120,5120],"valid",[],"NV8"],[[5121,5740],"valid"],[[5741,5742],"valid",[],"NV8"],[[5743,5750],"valid"],[[5751,5759],"valid"],[[5760,5760],"disallowed"],[[5761,5786],"valid"],[[5787,5788],"valid",[],"NV8"],[[5789,5791],"disallowed"],[[5792,5866],"valid"],[[5867,5872],"valid",[],"NV8"],[[5873,5880],"valid"],[[5881,5887],"disallowed"],[[5888,5900],"valid"],[[5901,5901],"disallowed"],[[5902,5908],"valid"],[[5909,5919],"disallowed"],[[5920,5940],"valid"],[[5941,5942],"valid",[],"NV8"],[[5943,5951],"disallowed"],[[5952,5971],"valid"],[[5972,5983],"disallowed"],[[5984,5996],"valid"],[[5997,5997],"disallowed"],[[5998,6000],"valid"],[[6001,6001],"disallowed"],[[6002,6003],"valid"],[[6004,6015],"disallowed"],[[6016,6067],"valid"],[[6068,6069],"disallowed"],[[6070,6099],"valid"],[[6100,6102],"valid",[],"NV8"],[[6103,6103],"valid"],[[6104,6107],"valid",[],"NV8"],[[6108,6108],"valid"],[[6109,6109],"valid"],[[6110,6111],"disallowed"],[[6112,6121],"valid"],[[6122,6127],"disallowed"],[[6128,6137],"valid",[],"NV8"],[[6138,6143],"disallowed"],[[6144,6149],"valid",[],"NV8"],[[6150,6150],"disallowed"],[[6151,6154],"valid",[],"NV8"],[[6155,6157],"ignored"],[[6158,6158],"disallowed"],[[6159,6159],"disallowed"],[[6160,6169],"valid"],[[6170,6175],"disallowed"],[[6176,6263],"valid"],[[6264,6271],"disallowed"],[[6272,6313],"valid"],[[6314,6314],"valid"],[[6315,6319],"disallowed"],[[6320,6389],"valid"],[[6390,6399],"disallowed"],[[6400,6428],"valid"],[[6429,6430],"valid"],[[6431,6431],"disallowed"],[[6432,6443],"valid"],[[6444,6447],"disallowed"],[[6448,6459],"valid"],[[6460,6463],"disallowed"],[[6464,6464],"valid",[],"NV8"],[[6465,6467],"disallowed"],[[6468,6469],"valid",[],"NV8"],[[6470,6509],"valid"],[[6510,6511],"disallowed"],[[6512,6516],"valid"],[[6517,6527],"disallowed"],[[6528,6569],"valid"],[[6570,6571],"valid"],[[6572,6575],"disallowed"],[[6576,6601],"valid"],[[6602,6607],"disallowed"],[[6608,6617],"valid"],[[6618,6618],"valid",[],"XV8"],[[6619,6621],"disallowed"],[[6622,6623],"valid",[],"NV8"],[[6624,6655],"valid",[],"NV8"],[[6656,6683],"valid"],[[6684,6685],"disallowed"],[[6686,6687],"valid",[],"NV8"],[[6688,6750],"valid"],[[6751,6751],"disallowed"],[[6752,6780],"valid"],[[6781,6782],"disallowed"],[[6783,6793],"valid"],[[6794,6799],"disallowed"],[[6800,6809],"valid"],[[6810,6815],"disallowed"],[[6816,6822],"valid",[],"NV8"],[[6823,6823],"valid"],[[6824,6829],"valid",[],"NV8"],[[6830,6831],"disallowed"],[[6832,6845],"valid"],[[6846,6846],"valid",[],"NV8"],[[6847,6911],"disallowed"],[[6912,6987],"valid"],[[6988,6991],"disallowed"],[[6992,7001],"valid"],[[7002,7018],"valid",[],"NV8"],[[7019,7027],"valid"],[[7028,7036],"valid",[],"NV8"],[[7037,7039],"disallowed"],[[7040,7082],"valid"],[[7083,7085],"valid"],[[7086,7097],"valid"],[[7098,7103],"valid"],[[7104,7155],"valid"],[[7156,7163],"disallowed"],[[7164,7167],"valid",[],"NV8"],[[7168,7223],"valid"],[[7224,7226],"disallowed"],[[7227,7231],"valid",[],"NV8"],[[7232,7241],"valid"],[[7242,7244],"disallowed"],[[7245,7293],"valid"],[[7294,7295],"valid",[],"NV8"],[[7296,7359],"disallowed"],[[7360,7367],"valid",[],"NV8"],[[7368,7375],"disallowed"],[[7376,7378],"valid"],[[7379,7379],"valid",[],"NV8"],[[7380,7410],"valid"],[[7411,7414],"valid"],[[7415,7415],"disallowed"],[[7416,7417],"valid"],[[7418,7423],"disallowed"],[[7424,7467],"valid"],[[7468,7468],"mapped",[97]],[[7469,7469],"mapped",[230]],[[7470,7470],"mapped",[98]],[[7471,7471],"valid"],[[7472,7472],"mapped",[100]],[[7473,7473],"mapped",[101]],[[7474,7474],"mapped",[477]],[[7475,7475],"mapped",[103]],[[7476,7476],"mapped",[104]],[[7477,7477],"mapped",[105]],[[7478,7478],"mapped",[106]],[[7479,7479],"mapped",[107]],[[7480,7480],"mapped",[108]],[[7481,7481],"mapped",[109]],[[7482,7482],"mapped",[110]],[[7483,7483],"valid"],[[7484,7484],"mapped",[111]],[[7485,7485],"mapped",[547]],[[7486,7486],"mapped",[112]],[[7487,7487],"mapped",[114]],[[7488,7488],"mapped",[116]],[[7489,7489],"mapped",[117]],[[7490,7490],"mapped",[119]],[[7491,7491],"mapped",[97]],[[7492,7492],"mapped",[592]],[[7493,7493],"mapped",[593]],[[7494,7494],"mapped",[7426]],[[7495,7495],"mapped",[98]],[[7496,7496],"mapped",[100]],[[7497,7497],"mapped",[101]],[[7498,7498],"mapped",[601]],[[7499,7499],"mapped",[603]],[[7500,7500],"mapped",[604]],[[7501,7501],"mapped",[103]],[[7502,7502],"valid"],[[7503,7503],"mapped",[107]],[[7504,7504],"mapped",[109]],[[7505,7505],"mapped",[331]],[[7506,7506],"mapped",[111]],[[7507,7507],"mapped",[596]],[[7508,7508],"mapped",[7446]],[[7509,7509],"mapped",[7447]],[[7510,7510],"mapped",[112]],[[7511,7511],"mapped",[116]],[[7512,7512],"mapped",[117]],[[7513,7513],"mapped",[7453]],[[7514,7514],"mapped",[623]],[[7515,7515],"mapped",[118]],[[7516,7516],"mapped",[7461]],[[7517,7517],"mapped",[946]],[[7518,7518],"mapped",[947]],[[7519,7519],"mapped",[948]],[[7520,7520],"mapped",[966]],[[7521,7521],"mapped",[967]],[[7522,7522],"mapped",[105]],[[7523,7523],"mapped",[114]],[[7524,7524],"mapped",[117]],[[7525,7525],"mapped",[118]],[[7526,7526],"mapped",[946]],[[7527,7527],"mapped",[947]],[[7528,7528],"mapped",[961]],[[7529,7529],"mapped",[966]],[[7530,7530],"mapped",[967]],[[7531,7531],"valid"],[[7532,7543],"valid"],[[7544,7544],"mapped",[1085]],[[7545,7578],"valid"],[[7579,7579],"mapped",[594]],[[7580,7580],"mapped",[99]],[[7581,7581],"mapped",[597]],[[7582,7582],"mapped",[240]],[[7583,7583],"mapped",[604]],[[7584,7584],"mapped",[102]],[[7585,7585],"mapped",[607]],[[7586,7586],"mapped",[609]],[[7587,7587],"mapped",[613]],[[7588,7588],"mapped",[616]],[[7589,7589],"mapped",[617]],[[7590,7590],"mapped",[618]],[[7591,7591],"mapped",[7547]],[[7592,7592],"mapped",[669]],[[7593,7593],"mapped",[621]],[[7594,7594],"mapped",[7557]],[[7595,7595],"mapped",[671]],[[7596,7596],"mapped",[625]],[[7597,7597],"mapped",[624]],[[7598,7598],"mapped",[626]],[[7599,7599],"mapped",[627]],[[7600,7600],"mapped",[628]],[[7601,7601],"mapped",[629]],[[7602,7602],"mapped",[632]],[[7603,7603],"mapped",[642]],[[7604,7604],"mapped",[643]],[[7605,7605],"mapped",[427]],[[7606,7606],"mapped",[649]],[[7607,7607],"mapped",[650]],[[7608,7608],"mapped",[7452]],[[7609,7609],"mapped",[651]],[[7610,7610],"mapped",[652]],[[7611,7611],"mapped",[122]],[[7612,7612],"mapped",[656]],[[7613,7613],"mapped",[657]],[[7614,7614],"mapped",[658]],[[7615,7615],"mapped",[952]],[[7616,7619],"valid"],[[7620,7626],"valid"],[[7627,7654],"valid"],[[7655,7669],"valid"],[[7670,7675],"disallowed"],[[7676,7676],"valid"],[[7677,7677],"valid"],[[7678,7679],"valid"],[[7680,7680],"mapped",[7681]],[[7681,7681],"valid"],[[7682,7682],"mapped",[7683]],[[7683,7683],"valid"],[[7684,7684],"mapped",[7685]],[[7685,7685],"valid"],[[7686,7686],"mapped",[7687]],[[7687,7687],"valid"],[[7688,7688],"mapped",[7689]],[[7689,7689],"valid"],[[7690,7690],"mapped",[7691]],[[7691,7691],"valid"],[[7692,7692],"mapped",[7693]],[[7693,7693],"valid"],[[7694,7694],"mapped",[7695]],[[7695,7695],"valid"],[[7696,7696],"mapped",[7697]],[[7697,7697],"valid"],[[7698,7698],"mapped",[7699]],[[7699,7699],"valid"],[[7700,7700],"mapped",[7701]],[[7701,7701],"valid"],[[7702,7702],"mapped",[7703]],[[7703,7703],"valid"],[[7704,7704],"mapped",[7705]],[[7705,7705],"valid"],[[7706,7706],"mapped",[7707]],[[7707,7707],"valid"],[[7708,7708],"mapped",[7709]],[[7709,7709],"valid"],[[7710,7710],"mapped",[7711]],[[7711,7711],"valid"],[[7712,7712],"mapped",[7713]],[[7713,7713],"valid"],[[7714,7714],"mapped",[7715]],[[7715,7715],"valid"],[[7716,7716],"mapped",[7717]],[[7717,7717],"valid"],[[7718,7718],"mapped",[7719]],[[7719,7719],"valid"],[[7720,7720],"mapped",[7721]],[[7721,7721],"valid"],[[7722,7722],"mapped",[7723]],[[7723,7723],"valid"],[[7724,7724],"mapped",[7725]],[[7725,7725],"valid"],[[7726,7726],"mapped",[7727]],[[7727,7727],"valid"],[[7728,7728],"mapped",[7729]],[[7729,7729],"valid"],[[7730,7730],"mapped",[7731]],[[7731,7731],"valid"],[[7732,7732],"mapped",[7733]],[[7733,7733],"valid"],[[7734,7734],"mapped",[7735]],[[7735,7735],"valid"],[[7736,7736],"mapped",[7737]],[[7737,7737],"valid"],[[7738,7738],"mapped",[7739]],[[7739,7739],"valid"],[[7740,7740],"mapped",[7741]],[[7741,7741],"valid"],[[7742,7742],"mapped",[7743]],[[7743,7743],"valid"],[[7744,7744],"mapped",[7745]],[[7745,7745],"valid"],[[7746,7746],"mapped",[7747]],[[7747,7747],"valid"],[[7748,7748],"mapped",[7749]],[[7749,7749],"valid"],[[7750,7750],"mapped",[7751]],[[7751,7751],"valid"],[[7752,7752],"mapped",[7753]],[[7753,7753],"valid"],[[7754,7754],"mapped",[7755]],[[7755,7755],"valid"],[[7756,7756],"mapped",[7757]],[[7757,7757],"valid"],[[7758,7758],"mapped",[7759]],[[7759,7759],"valid"],[[7760,7760],"mapped",[7761]],[[7761,7761],"valid"],[[7762,7762],"mapped",[7763]],[[7763,7763],"valid"],[[7764,7764],"mapped",[7765]],[[7765,7765],"valid"],[[7766,7766],"mapped",[7767]],[[7767,7767],"valid"],[[7768,7768],"mapped",[7769]],[[7769,7769],"valid"],[[7770,7770],"mapped",[7771]],[[7771,7771],"valid"],[[7772,7772],"mapped",[7773]],[[7773,7773],"valid"],[[7774,7774],"mapped",[7775]],[[7775,7775],"valid"],[[7776,7776],"mapped",[7777]],[[7777,7777],"valid"],[[7778,7778],"mapped",[7779]],[[7779,7779],"valid"],[[7780,7780],"mapped",[7781]],[[7781,7781],"valid"],[[7782,7782],"mapped",[7783]],[[7783,7783],"valid"],[[7784,7784],"mapped",[7785]],[[7785,7785],"valid"],[[7786,7786],"mapped",[7787]],[[7787,7787],"valid"],[[7788,7788],"mapped",[7789]],[[7789,7789],"valid"],[[7790,7790],"mapped",[7791]],[[7791,7791],"valid"],[[7792,7792],"mapped",[7793]],[[7793,7793],"valid"],[[7794,7794],"mapped",[7795]],[[7795,7795],"valid"],[[7796,7796],"mapped",[7797]],[[7797,7797],"valid"],[[7798,7798],"mapped",[7799]],[[7799,7799],"valid"],[[7800,7800],"mapped",[7801]],[[7801,7801],"valid"],[[7802,7802],"mapped",[7803]],[[7803,7803],"valid"],[[7804,7804],"mapped",[7805]],[[7805,7805],"valid"],[[7806,7806],"mapped",[7807]],[[7807,7807],"valid"],[[7808,7808],"mapped",[7809]],[[7809,7809],"valid"],[[7810,7810],"mapped",[7811]],[[7811,7811],"valid"],[[7812,7812],"mapped",[7813]],[[7813,7813],"valid"],[[7814,7814],"mapped",[7815]],[[7815,7815],"valid"],[[7816,7816],"mapped",[7817]],[[7817,7817],"valid"],[[7818,7818],"mapped",[7819]],[[7819,7819],"valid"],[[7820,7820],"mapped",[7821]],[[7821,7821],"valid"],[[7822,7822],"mapped",[7823]],[[7823,7823],"valid"],[[7824,7824],"mapped",[7825]],[[7825,7825],"valid"],[[7826,7826],"mapped",[7827]],[[7827,7827],"valid"],[[7828,7828],"mapped",[7829]],[[7829,7833],"valid"],[[7834,7834],"mapped",[97,702]],[[7835,7835],"mapped",[7777]],[[7836,7837],"valid"],[[7838,7838],"mapped",[115,115]],[[7839,7839],"valid"],[[7840,7840],"mapped",[7841]],[[7841,7841],"valid"],[[7842,7842],"mapped",[7843]],[[7843,7843],"valid"],[[7844,7844],"mapped",[7845]],[[7845,7845],"valid"],[[7846,7846],"mapped",[7847]],[[7847,7847],"valid"],[[7848,7848],"mapped",[7849]],[[7849,7849],"valid"],[[7850,7850],"mapped",[7851]],[[7851,7851],"valid"],[[7852,7852],"mapped",[7853]],[[7853,7853],"valid"],[[7854,7854],"mapped",[7855]],[[7855,7855],"valid"],[[7856,7856],"mapped",[7857]],[[7857,7857],"valid"],[[7858,7858],"mapped",[7859]],[[7859,7859],"valid"],[[7860,7860],"mapped",[7861]],[[7861,7861],"valid"],[[7862,7862],"mapped",[7863]],[[7863,7863],"valid"],[[7864,7864],"mapped",[7865]],[[7865,7865],"valid"],[[7866,7866],"mapped",[7867]],[[7867,7867],"valid"],[[7868,7868],"mapped",[7869]],[[7869,7869],"valid"],[[7870,7870],"mapped",[7871]],[[7871,7871],"valid"],[[7872,7872],"mapped",[7873]],[[7873,7873],"valid"],[[7874,7874],"mapped",[7875]],[[7875,7875],"valid"],[[7876,7876],"mapped",[7877]],[[7877,7877],"valid"],[[7878,7878],"mapped",[7879]],[[7879,7879],"valid"],[[7880,7880],"mapped",[7881]],[[7881,7881],"valid"],[[7882,7882],"mapped",[7883]],[[7883,7883],"valid"],[[7884,7884],"mapped",[7885]],[[7885,7885],"valid"],[[7886,7886],"mapped",[7887]],[[7887,7887],"valid"],[[7888,7888],"mapped",[7889]],[[7889,7889],"valid"],[[7890,7890],"mapped",[7891]],[[7891,7891],"valid"],[[7892,7892],"mapped",[7893]],[[7893,7893],"valid"],[[7894,7894],"mapped",[7895]],[[7895,7895],"valid"],[[7896,7896],"mapped",[7897]],[[7897,7897],"valid"],[[7898,7898],"mapped",[7899]],[[7899,7899],"valid"],[[7900,7900],"mapped",[7901]],[[7901,7901],"valid"],[[7902,7902],"mapped",[7903]],[[7903,7903],"valid"],[[7904,7904],"mapped",[7905]],[[7905,7905],"valid"],[[7906,7906],"mapped",[7907]],[[7907,7907],"valid"],[[7908,7908],"mapped",[7909]],[[7909,7909],"valid"],[[7910,7910],"mapped",[7911]],[[7911,7911],"valid"],[[7912,7912],"mapped",[7913]],[[7913,7913],"valid"],[[7914,7914],"mapped",[7915]],[[7915,7915],"valid"],[[7916,7916],"mapped",[7917]],[[7917,7917],"valid"],[[7918,7918],"mapped",[7919]],[[7919,7919],"valid"],[[7920,7920],"mapped",[7921]],[[7921,7921],"valid"],[[7922,7922],"mapped",[7923]],[[7923,7923],"valid"],[[7924,7924],"mapped",[7925]],[[7925,7925],"valid"],[[7926,7926],"mapped",[7927]],[[7927,7927],"valid"],[[7928,7928],"mapped",[7929]],[[7929,7929],"valid"],[[7930,7930],"mapped",[7931]],[[7931,7931],"valid"],[[7932,7932],"mapped",[7933]],[[7933,7933],"valid"],[[7934,7934],"mapped",[7935]],[[7935,7935],"valid"],[[7936,7943],"valid"],[[7944,7944],"mapped",[7936]],[[7945,7945],"mapped",[7937]],[[7946,7946],"mapped",[7938]],[[7947,7947],"mapped",[7939]],[[7948,7948],"mapped",[7940]],[[7949,7949],"mapped",[7941]],[[7950,7950],"mapped",[7942]],[[7951,7951],"mapped",[7943]],[[7952,7957],"valid"],[[7958,7959],"disallowed"],[[7960,7960],"mapped",[7952]],[[7961,7961],"mapped",[7953]],[[7962,7962],"mapped",[7954]],[[7963,7963],"mapped",[7955]],[[7964,7964],"mapped",[7956]],[[7965,7965],"mapped",[7957]],[[7966,7967],"disallowed"],[[7968,7975],"valid"],[[7976,7976],"mapped",[7968]],[[7977,7977],"mapped",[7969]],[[7978,7978],"mapped",[7970]],[[7979,7979],"mapped",[7971]],[[7980,7980],"mapped",[7972]],[[7981,7981],"mapped",[7973]],[[7982,7982],"mapped",[7974]],[[7983,7983],"mapped",[7975]],[[7984,7991],"valid"],[[7992,7992],"mapped",[7984]],[[7993,7993],"mapped",[7985]],[[7994,7994],"mapped",[7986]],[[7995,7995],"mapped",[7987]],[[7996,7996],"mapped",[7988]],[[7997,7997],"mapped",[7989]],[[7998,7998],"mapped",[7990]],[[7999,7999],"mapped",[7991]],[[8000,8005],"valid"],[[8006,8007],"disallowed"],[[8008,8008],"mapped",[8000]],[[8009,8009],"mapped",[8001]],[[8010,8010],"mapped",[8002]],[[8011,8011],"mapped",[8003]],[[8012,8012],"mapped",[8004]],[[8013,8013],"mapped",[8005]],[[8014,8015],"disallowed"],[[8016,8023],"valid"],[[8024,8024],"disallowed"],[[8025,8025],"mapped",[8017]],[[8026,8026],"disallowed"],[[8027,8027],"mapped",[8019]],[[8028,8028],"disallowed"],[[8029,8029],"mapped",[8021]],[[8030,8030],"disallowed"],[[8031,8031],"mapped",[8023]],[[8032,8039],"valid"],[[8040,8040],"mapped",[8032]],[[8041,8041],"mapped",[8033]],[[8042,8042],"mapped",[8034]],[[8043,8043],"mapped",[8035]],[[8044,8044],"mapped",[8036]],[[8045,8045],"mapped",[8037]],[[8046,8046],"mapped",[8038]],[[8047,8047],"mapped",[8039]],[[8048,8048],"valid"],[[8049,8049],"mapped",[940]],[[8050,8050],"valid"],[[8051,8051],"mapped",[941]],[[8052,8052],"valid"],[[8053,8053],"mapped",[942]],[[8054,8054],"valid"],[[8055,8055],"mapped",[943]],[[8056,8056],"valid"],[[8057,8057],"mapped",[972]],[[8058,8058],"valid"],[[8059,8059],"mapped",[973]],[[8060,8060],"valid"],[[8061,8061],"mapped",[974]],[[8062,8063],"disallowed"],[[8064,8064],"mapped",[7936,953]],[[8065,8065],"mapped",[7937,953]],[[8066,8066],"mapped",[7938,953]],[[8067,8067],"mapped",[7939,953]],[[8068,8068],"mapped",[7940,953]],[[8069,8069],"mapped",[7941,953]],[[8070,8070],"mapped",[7942,953]],[[8071,8071],"mapped",[7943,953]],[[8072,8072],"mapped",[7936,953]],[[8073,8073],"mapped",[7937,953]],[[8074,8074],"mapped",[7938,953]],[[8075,8075],"mapped",[7939,953]],[[8076,8076],"mapped",[7940,953]],[[8077,8077],"mapped",[7941,953]],[[8078,8078],"mapped",[7942,953]],[[8079,8079],"mapped",[7943,953]],[[8080,8080],"mapped",[7968,953]],[[8081,8081],"mapped",[7969,953]],[[8082,8082],"mapped",[7970,953]],[[8083,8083],"mapped",[7971,953]],[[8084,8084],"mapped",[7972,953]],[[8085,8085],"mapped",[7973,953]],[[8086,8086],"mapped",[7974,953]],[[8087,8087],"mapped",[7975,953]],[[8088,8088],"mapped",[7968,953]],[[8089,8089],"mapped",[7969,953]],[[8090,8090],"mapped",[7970,953]],[[8091,8091],"mapped",[7971,953]],[[8092,8092],"mapped",[7972,953]],[[8093,8093],"mapped",[7973,953]],[[8094,8094],"mapped",[7974,953]],[[8095,8095],"mapped",[7975,953]],[[8096,8096],"mapped",[8032,953]],[[8097,8097],"mapped",[8033,953]],[[8098,8098],"mapped",[8034,953]],[[8099,8099],"mapped",[8035,953]],[[8100,8100],"mapped",[8036,953]],[[8101,8101],"mapped",[8037,953]],[[8102,8102],"mapped",[8038,953]],[[8103,8103],"mapped",[8039,953]],[[8104,8104],"mapped",[8032,953]],[[8105,8105],"mapped",[8033,953]],[[8106,8106],"mapped",[8034,953]],[[8107,8107],"mapped",[8035,953]],[[8108,8108],"mapped",[8036,953]],[[8109,8109],"mapped",[8037,953]],[[8110,8110],"mapped",[8038,953]],[[8111,8111],"mapped",[8039,953]],[[8112,8113],"valid"],[[8114,8114],"mapped",[8048,953]],[[8115,8115],"mapped",[945,953]],[[8116,8116],"mapped",[940,953]],[[8117,8117],"disallowed"],[[8118,8118],"valid"],[[8119,8119],"mapped",[8118,953]],[[8120,8120],"mapped",[8112]],[[8121,8121],"mapped",[8113]],[[8122,8122],"mapped",[8048]],[[8123,8123],"mapped",[940]],[[8124,8124],"mapped",[945,953]],[[8125,8125],"disallowed_STD3_mapped",[32,787]],[[8126,8126],"mapped",[953]],[[8127,8127],"disallowed_STD3_mapped",[32,787]],[[8128,8128],"disallowed_STD3_mapped",[32,834]],[[8129,8129],"disallowed_STD3_mapped",[32,776,834]],[[8130,8130],"mapped",[8052,953]],[[8131,8131],"mapped",[951,953]],[[8132,8132],"mapped",[942,953]],[[8133,8133],"disallowed"],[[8134,8134],"valid"],[[8135,8135],"mapped",[8134,953]],[[8136,8136],"mapped",[8050]],[[8137,8137],"mapped",[941]],[[8138,8138],"mapped",[8052]],[[8139,8139],"mapped",[942]],[[8140,8140],"mapped",[951,953]],[[8141,8141],"disallowed_STD3_mapped",[32,787,768]],[[8142,8142],"disallowed_STD3_mapped",[32,787,769]],[[8143,8143],"disallowed_STD3_mapped",[32,787,834]],[[8144,8146],"valid"],[[8147,8147],"mapped",[912]],[[8148,8149],"disallowed"],[[8150,8151],"valid"],[[8152,8152],"mapped",[8144]],[[8153,8153],"mapped",[8145]],[[8154,8154],"mapped",[8054]],[[8155,8155],"mapped",[943]],[[8156,8156],"disallowed"],[[8157,8157],"disallowed_STD3_mapped",[32,788,768]],[[8158,8158],"disallowed_STD3_mapped",[32,788,769]],[[8159,8159],"disallowed_STD3_mapped",[32,788,834]],[[8160,8162],"valid"],[[8163,8163],"mapped",[944]],[[8164,8167],"valid"],[[8168,8168],"mapped",[8160]],[[8169,8169],"mapped",[8161]],[[8170,8170],"mapped",[8058]],[[8171,8171],"mapped",[973]],[[8172,8172],"mapped",[8165]],[[8173,8173],"disallowed_STD3_mapped",[32,776,768]],[[8174,8174],"disallowed_STD3_mapped",[32,776,769]],[[8175,8175],"disallowed_STD3_mapped",[96]],[[8176,8177],"disallowed"],[[8178,8178],"mapped",[8060,953]],[[8179,8179],"mapped",[969,953]],[[8180,8180],"mapped",[974,953]],[[8181,8181],"disallowed"],[[8182,8182],"valid"],[[8183,8183],"mapped",[8182,953]],[[8184,8184],"mapped",[8056]],[[8185,8185],"mapped",[972]],[[8186,8186],"mapped",[8060]],[[8187,8187],"mapped",[974]],[[8188,8188],"mapped",[969,953]],[[8189,8189],"disallowed_STD3_mapped",[32,769]],[[8190,8190],"disallowed_STD3_mapped",[32,788]],[[8191,8191],"disallowed"],[[8192,8202],"disallowed_STD3_mapped",[32]],[[8203,8203],"ignored"],[[8204,8205],"deviation",[]],[[8206,8207],"disallowed"],[[8208,8208],"valid",[],"NV8"],[[8209,8209],"mapped",[8208]],[[8210,8214],"valid",[],"NV8"],[[8215,8215],"disallowed_STD3_mapped",[32,819]],[[8216,8227],"valid",[],"NV8"],[[8228,8230],"disallowed"],[[8231,8231],"valid",[],"NV8"],[[8232,8238],"disallowed"],[[8239,8239],"disallowed_STD3_mapped",[32]],[[8240,8242],"valid",[],"NV8"],[[8243,8243],"mapped",[8242,8242]],[[8244,8244],"mapped",[8242,8242,8242]],[[8245,8245],"valid",[],"NV8"],[[8246,8246],"mapped",[8245,8245]],[[8247,8247],"mapped",[8245,8245,8245]],[[8248,8251],"valid",[],"NV8"],[[8252,8252],"disallowed_STD3_mapped",[33,33]],[[8253,8253],"valid",[],"NV8"],[[8254,8254],"disallowed_STD3_mapped",[32,773]],[[8255,8262],"valid",[],"NV8"],[[8263,8263],"disallowed_STD3_mapped",[63,63]],[[8264,8264],"disallowed_STD3_mapped",[63,33]],[[8265,8265],"disallowed_STD3_mapped",[33,63]],[[8266,8269],"valid",[],"NV8"],[[8270,8274],"valid",[],"NV8"],[[8275,8276],"valid",[],"NV8"],[[8277,8278],"valid",[],"NV8"],[[8279,8279],"mapped",[8242,8242,8242,8242]],[[8280,8286],"valid",[],"NV8"],[[8287,8287],"disallowed_STD3_mapped",[32]],[[8288,8288],"ignored"],[[8289,8291],"disallowed"],[[8292,8292],"ignored"],[[8293,8293],"disallowed"],[[8294,8297],"disallowed"],[[8298,8303],"disallowed"],[[8304,8304],"mapped",[48]],[[8305,8305],"mapped",[105]],[[8306,8307],"disallowed"],[[8308,8308],"mapped",[52]],[[8309,8309],"mapped",[53]],[[8310,8310],"mapped",[54]],[[8311,8311],"mapped",[55]],[[8312,8312],"mapped",[56]],[[8313,8313],"mapped",[57]],[[8314,8314],"disallowed_STD3_mapped",[43]],[[8315,8315],"mapped",[8722]],[[8316,8316],"disallowed_STD3_mapped",[61]],[[8317,8317],"disallowed_STD3_mapped",[40]],[[8318,8318],"disallowed_STD3_mapped",[41]],[[8319,8319],"mapped",[110]],[[8320,8320],"mapped",[48]],[[8321,8321],"mapped",[49]],[[8322,8322],"mapped",[50]],[[8323,8323],"mapped",[51]],[[8324,8324],"mapped",[52]],[[8325,8325],"mapped",[53]],[[8326,8326],"mapped",[54]],[[8327,8327],"mapped",[55]],[[8328,8328],"mapped",[56]],[[8329,8329],"mapped",[57]],[[8330,8330],"disallowed_STD3_mapped",[43]],[[8331,8331],"mapped",[8722]],[[8332,8332],"disallowed_STD3_mapped",[61]],[[8333,8333],"disallowed_STD3_mapped",[40]],[[8334,8334],"disallowed_STD3_mapped",[41]],[[8335,8335],"disallowed"],[[8336,8336],"mapped",[97]],[[8337,8337],"mapped",[101]],[[8338,8338],"mapped",[111]],[[8339,8339],"mapped",[120]],[[8340,8340],"mapped",[601]],[[8341,8341],"mapped",[104]],[[8342,8342],"mapped",[107]],[[8343,8343],"mapped",[108]],[[8344,8344],"mapped",[109]],[[8345,8345],"mapped",[110]],[[8346,8346],"mapped",[112]],[[8347,8347],"mapped",[115]],[[8348,8348],"mapped",[116]],[[8349,8351],"disallowed"],[[8352,8359],"valid",[],"NV8"],[[8360,8360],"mapped",[114,115]],[[8361,8362],"valid",[],"NV8"],[[8363,8363],"valid",[],"NV8"],[[8364,8364],"valid",[],"NV8"],[[8365,8367],"valid",[],"NV8"],[[8368,8369],"valid",[],"NV8"],[[8370,8373],"valid",[],"NV8"],[[8374,8376],"valid",[],"NV8"],[[8377,8377],"valid",[],"NV8"],[[8378,8378],"valid",[],"NV8"],[[8379,8381],"valid",[],"NV8"],[[8382,8382],"valid",[],"NV8"],[[8383,8399],"disallowed"],[[8400,8417],"valid",[],"NV8"],[[8418,8419],"valid",[],"NV8"],[[8420,8426],"valid",[],"NV8"],[[8427,8427],"valid",[],"NV8"],[[8428,8431],"valid",[],"NV8"],[[8432,8432],"valid",[],"NV8"],[[8433,8447],"disallowed"],[[8448,8448],"disallowed_STD3_mapped",[97,47,99]],[[8449,8449],"disallowed_STD3_mapped",[97,47,115]],[[8450,8450],"mapped",[99]],[[8451,8451],"mapped",[176,99]],[[8452,8452],"valid",[],"NV8"],[[8453,8453],"disallowed_STD3_mapped",[99,47,111]],[[8454,8454],"disallowed_STD3_mapped",[99,47,117]],[[8455,8455],"mapped",[603]],[[8456,8456],"valid",[],"NV8"],[[8457,8457],"mapped",[176,102]],[[8458,8458],"mapped",[103]],[[8459,8462],"mapped",[104]],[[8463,8463],"mapped",[295]],[[8464,8465],"mapped",[105]],[[8466,8467],"mapped",[108]],[[8468,8468],"valid",[],"NV8"],[[8469,8469],"mapped",[110]],[[8470,8470],"mapped",[110,111]],[[8471,8472],"valid",[],"NV8"],[[8473,8473],"mapped",[112]],[[8474,8474],"mapped",[113]],[[8475,8477],"mapped",[114]],[[8478,8479],"valid",[],"NV8"],[[8480,8480],"mapped",[115,109]],[[8481,8481],"mapped",[116,101,108]],[[8482,8482],"mapped",[116,109]],[[8483,8483],"valid",[],"NV8"],[[8484,8484],"mapped",[122]],[[8485,8485],"valid",[],"NV8"],[[8486,8486],"mapped",[969]],[[8487,8487],"valid",[],"NV8"],[[8488,8488],"mapped",[122]],[[8489,8489],"valid",[],"NV8"],[[8490,8490],"mapped",[107]],[[8491,8491],"mapped",[229]],[[8492,8492],"mapped",[98]],[[8493,8493],"mapped",[99]],[[8494,8494],"valid",[],"NV8"],[[8495,8496],"mapped",[101]],[[8497,8497],"mapped",[102]],[[8498,8498],"disallowed"],[[8499,8499],"mapped",[109]],[[8500,8500],"mapped",[111]],[[8501,8501],"mapped",[1488]],[[8502,8502],"mapped",[1489]],[[8503,8503],"mapped",[1490]],[[8504,8504],"mapped",[1491]],[[8505,8505],"mapped",[105]],[[8506,8506],"valid",[],"NV8"],[[8507,8507],"mapped",[102,97,120]],[[8508,8508],"mapped",[960]],[[8509,8510],"mapped",[947]],[[8511,8511],"mapped",[960]],[[8512,8512],"mapped",[8721]],[[8513,8516],"valid",[],"NV8"],[[8517,8518],"mapped",[100]],[[8519,8519],"mapped",[101]],[[8520,8520],"mapped",[105]],[[8521,8521],"mapped",[106]],[[8522,8523],"valid",[],"NV8"],[[8524,8524],"valid",[],"NV8"],[[8525,8525],"valid",[],"NV8"],[[8526,8526],"valid"],[[8527,8527],"valid",[],"NV8"],[[8528,8528],"mapped",[49,8260,55]],[[8529,8529],"mapped",[49,8260,57]],[[8530,8530],"mapped",[49,8260,49,48]],[[8531,8531],"mapped",[49,8260,51]],[[8532,8532],"mapped",[50,8260,51]],[[8533,8533],"mapped",[49,8260,53]],[[8534,8534],"mapped",[50,8260,53]],[[8535,8535],"mapped",[51,8260,53]],[[8536,8536],"mapped",[52,8260,53]],[[8537,8537],"mapped",[49,8260,54]],[[8538,8538],"mapped",[53,8260,54]],[[8539,8539],"mapped",[49,8260,56]],[[8540,8540],"mapped",[51,8260,56]],[[8541,8541],"mapped",[53,8260,56]],[[8542,8542],"mapped",[55,8260,56]],[[8543,8543],"mapped",[49,8260]],[[8544,8544],"mapped",[105]],[[8545,8545],"mapped",[105,105]],[[8546,8546],"mapped",[105,105,105]],[[8547,8547],"mapped",[105,118]],[[8548,8548],"mapped",[118]],[[8549,8549],"mapped",[118,105]],[[8550,8550],"mapped",[118,105,105]],[[8551,8551],"mapped",[118,105,105,105]],[[8552,8552],"mapped",[105,120]],[[8553,8553],"mapped",[120]],[[8554,8554],"mapped",[120,105]],[[8555,8555],"mapped",[120,105,105]],[[8556,8556],"mapped",[108]],[[8557,8557],"mapped",[99]],[[8558,8558],"mapped",[100]],[[8559,8559],"mapped",[109]],[[8560,8560],"mapped",[105]],[[8561,8561],"mapped",[105,105]],[[8562,8562],"mapped",[105,105,105]],[[8563,8563],"mapped",[105,118]],[[8564,8564],"mapped",[118]],[[8565,8565],"mapped",[118,105]],[[8566,8566],"mapped",[118,105,105]],[[8567,8567],"mapped",[118,105,105,105]],[[8568,8568],"mapped",[105,120]],[[8569,8569],"mapped",[120]],[[8570,8570],"mapped",[120,105]],[[8571,8571],"mapped",[120,105,105]],[[8572,8572],"mapped",[108]],[[8573,8573],"mapped",[99]],[[8574,8574],"mapped",[100]],[[8575,8575],"mapped",[109]],[[8576,8578],"valid",[],"NV8"],[[8579,8579],"disallowed"],[[8580,8580],"valid"],[[8581,8584],"valid",[],"NV8"],[[8585,8585],"mapped",[48,8260,51]],[[8586,8587],"valid",[],"NV8"],[[8588,8591],"disallowed"],[[8592,8682],"valid",[],"NV8"],[[8683,8691],"valid",[],"NV8"],[[8692,8703],"valid",[],"NV8"],[[8704,8747],"valid",[],"NV8"],[[8748,8748],"mapped",[8747,8747]],[[8749,8749],"mapped",[8747,8747,8747]],[[8750,8750],"valid",[],"NV8"],[[8751,8751],"mapped",[8750,8750]],[[8752,8752],"mapped",[8750,8750,8750]],[[8753,8799],"valid",[],"NV8"],[[8800,8800],"disallowed_STD3_valid"],[[8801,8813],"valid",[],"NV8"],[[8814,8815],"disallowed_STD3_valid"],[[8816,8945],"valid",[],"NV8"],[[8946,8959],"valid",[],"NV8"],[[8960,8960],"valid",[],"NV8"],[[8961,8961],"valid",[],"NV8"],[[8962,9000],"valid",[],"NV8"],[[9001,9001],"mapped",[12296]],[[9002,9002],"mapped",[12297]],[[9003,9082],"valid",[],"NV8"],[[9083,9083],"valid",[],"NV8"],[[9084,9084],"valid",[],"NV8"],[[9085,9114],"valid",[],"NV8"],[[9115,9166],"valid",[],"NV8"],[[9167,9168],"valid",[],"NV8"],[[9169,9179],"valid",[],"NV8"],[[9180,9191],"valid",[],"NV8"],[[9192,9192],"valid",[],"NV8"],[[9193,9203],"valid",[],"NV8"],[[9204,9210],"valid",[],"NV8"],[[9211,9215],"disallowed"],[[9216,9252],"valid",[],"NV8"],[[9253,9254],"valid",[],"NV8"],[[9255,9279],"disallowed"],[[9280,9290],"valid",[],"NV8"],[[9291,9311],"disallowed"],[[9312,9312],"mapped",[49]],[[9313,9313],"mapped",[50]],[[9314,9314],"mapped",[51]],[[9315,9315],"mapped",[52]],[[9316,9316],"mapped",[53]],[[9317,9317],"mapped",[54]],[[9318,9318],"mapped",[55]],[[9319,9319],"mapped",[56]],[[9320,9320],"mapped",[57]],[[9321,9321],"mapped",[49,48]],[[9322,9322],"mapped",[49,49]],[[9323,9323],"mapped",[49,50]],[[9324,9324],"mapped",[49,51]],[[9325,9325],"mapped",[49,52]],[[9326,9326],"mapped",[49,53]],[[9327,9327],"mapped",[49,54]],[[9328,9328],"mapped",[49,55]],[[9329,9329],"mapped",[49,56]],[[9330,9330],"mapped",[49,57]],[[9331,9331],"mapped",[50,48]],[[9332,9332],"disallowed_STD3_mapped",[40,49,41]],[[9333,9333],"disallowed_STD3_mapped",[40,50,41]],[[9334,9334],"disallowed_STD3_mapped",[40,51,41]],[[9335,9335],"disallowed_STD3_mapped",[40,52,41]],[[9336,9336],"disallowed_STD3_mapped",[40,53,41]],[[9337,9337],"disallowed_STD3_mapped",[40,54,41]],[[9338,9338],"disallowed_STD3_mapped",[40,55,41]],[[9339,9339],"disallowed_STD3_mapped",[40,56,41]],[[9340,9340],"disallowed_STD3_mapped",[40,57,41]],[[9341,9341],"disallowed_STD3_mapped",[40,49,48,41]],[[9342,9342],"disallowed_STD3_mapped",[40,49,49,41]],[[9343,9343],"disallowed_STD3_mapped",[40,49,50,41]],[[9344,9344],"disallowed_STD3_mapped",[40,49,51,41]],[[9345,9345],"disallowed_STD3_mapped",[40,49,52,41]],[[9346,9346],"disallowed_STD3_mapped",[40,49,53,41]],[[9347,9347],"disallowed_STD3_mapped",[40,49,54,41]],[[9348,9348],"disallowed_STD3_mapped",[40,49,55,41]],[[9349,9349],"disallowed_STD3_mapped",[40,49,56,41]],[[9350,9350],"disallowed_STD3_mapped",[40,49,57,41]],[[9351,9351],"disallowed_STD3_mapped",[40,50,48,41]],[[9352,9371],"disallowed"],[[9372,9372],"disallowed_STD3_mapped",[40,97,41]],[[9373,9373],"disallowed_STD3_mapped",[40,98,41]],[[9374,9374],"disallowed_STD3_mapped",[40,99,41]],[[9375,9375],"disallowed_STD3_mapped",[40,100,41]],[[9376,9376],"disallowed_STD3_mapped",[40,101,41]],[[9377,9377],"disallowed_STD3_mapped",[40,102,41]],[[9378,9378],"disallowed_STD3_mapped",[40,103,41]],[[9379,9379],"disallowed_STD3_mapped",[40,104,41]],[[9380,9380],"disallowed_STD3_mapped",[40,105,41]],[[9381,9381],"disallowed_STD3_mapped",[40,106,41]],[[9382,9382],"disallowed_STD3_mapped",[40,107,41]],[[9383,9383],"disallowed_STD3_mapped",[40,108,41]],[[9384,9384],"disallowed_STD3_mapped",[40,109,41]],[[9385,9385],"disallowed_STD3_mapped",[40,110,41]],[[9386,9386],"disallowed_STD3_mapped",[40,111,41]],[[9387,9387],"disallowed_STD3_mapped",[40,112,41]],[[9388,9388],"disallowed_STD3_mapped",[40,113,41]],[[9389,9389],"disallowed_STD3_mapped",[40,114,41]],[[9390,9390],"disallowed_STD3_mapped",[40,115,41]],[[9391,9391],"disallowed_STD3_mapped",[40,116,41]],[[9392,9392],"disallowed_STD3_mapped",[40,117,41]],[[9393,9393],"disallowed_STD3_mapped",[40,118,41]],[[9394,9394],"disallowed_STD3_mapped",[40,119,41]],[[9395,9395],"disallowed_STD3_mapped",[40,120,41]],[[9396,9396],"disallowed_STD3_mapped",[40,121,41]],[[9397,9397],"disallowed_STD3_mapped",[40,122,41]],[[9398,9398],"mapped",[97]],[[9399,9399],"mapped",[98]],[[9400,9400],"mapped",[99]],[[9401,9401],"mapped",[100]],[[9402,9402],"mapped",[101]],[[9403,9403],"mapped",[102]],[[9404,9404],"mapped",[103]],[[9405,9405],"mapped",[104]],[[9406,9406],"mapped",[105]],[[9407,9407],"mapped",[106]],[[9408,9408],"mapped",[107]],[[9409,9409],"mapped",[108]],[[9410,9410],"mapped",[109]],[[9411,9411],"mapped",[110]],[[9412,9412],"mapped",[111]],[[9413,9413],"mapped",[112]],[[9414,9414],"mapped",[113]],[[9415,9415],"mapped",[114]],[[9416,9416],"mapped",[115]],[[9417,9417],"mapped",[116]],[[9418,9418],"mapped",[117]],[[9419,9419],"mapped",[118]],[[9420,9420],"mapped",[119]],[[9421,9421],"mapped",[120]],[[9422,9422],"mapped",[121]],[[9423,9423],"mapped",[122]],[[9424,9424],"mapped",[97]],[[9425,9425],"mapped",[98]],[[9426,9426],"mapped",[99]],[[9427,9427],"mapped",[100]],[[9428,9428],"mapped",[101]],[[9429,9429],"mapped",[102]],[[9430,9430],"mapped",[103]],[[9431,9431],"mapped",[104]],[[9432,9432],"mapped",[105]],[[9433,9433],"mapped",[106]],[[9434,9434],"mapped",[107]],[[9435,9435],"mapped",[108]],[[9436,9436],"mapped",[109]],[[9437,9437],"mapped",[110]],[[9438,9438],"mapped",[111]],[[9439,9439],"mapped",[112]],[[9440,9440],"mapped",[113]],[[9441,9441],"mapped",[114]],[[9442,9442],"mapped",[115]],[[9443,9443],"mapped",[116]],[[9444,9444],"mapped",[117]],[[9445,9445],"mapped",[118]],[[9446,9446],"mapped",[119]],[[9447,9447],"mapped",[120]],[[9448,9448],"mapped",[121]],[[9449,9449],"mapped",[122]],[[9450,9450],"mapped",[48]],[[9451,9470],"valid",[],"NV8"],[[9471,9471],"valid",[],"NV8"],[[9472,9621],"valid",[],"NV8"],[[9622,9631],"valid",[],"NV8"],[[9632,9711],"valid",[],"NV8"],[[9712,9719],"valid",[],"NV8"],[[9720,9727],"valid",[],"NV8"],[[9728,9747],"valid",[],"NV8"],[[9748,9749],"valid",[],"NV8"],[[9750,9751],"valid",[],"NV8"],[[9752,9752],"valid",[],"NV8"],[[9753,9753],"valid",[],"NV8"],[[9754,9839],"valid",[],"NV8"],[[9840,9841],"valid",[],"NV8"],[[9842,9853],"valid",[],"NV8"],[[9854,9855],"valid",[],"NV8"],[[9856,9865],"valid",[],"NV8"],[[9866,9873],"valid",[],"NV8"],[[9874,9884],"valid",[],"NV8"],[[9885,9885],"valid",[],"NV8"],[[9886,9887],"valid",[],"NV8"],[[9888,9889],"valid",[],"NV8"],[[9890,9905],"valid",[],"NV8"],[[9906,9906],"valid",[],"NV8"],[[9907,9916],"valid",[],"NV8"],[[9917,9919],"valid",[],"NV8"],[[9920,9923],"valid",[],"NV8"],[[9924,9933],"valid",[],"NV8"],[[9934,9934],"valid",[],"NV8"],[[9935,9953],"valid",[],"NV8"],[[9954,9954],"valid",[],"NV8"],[[9955,9955],"valid",[],"NV8"],[[9956,9959],"valid",[],"NV8"],[[9960,9983],"valid",[],"NV8"],[[9984,9984],"valid",[],"NV8"],[[9985,9988],"valid",[],"NV8"],[[9989,9989],"valid",[],"NV8"],[[9990,9993],"valid",[],"NV8"],[[9994,9995],"valid",[],"NV8"],[[9996,10023],"valid",[],"NV8"],[[10024,10024],"valid",[],"NV8"],[[10025,10059],"valid",[],"NV8"],[[10060,10060],"valid",[],"NV8"],[[10061,10061],"valid",[],"NV8"],[[10062,10062],"valid",[],"NV8"],[[10063,10066],"valid",[],"NV8"],[[10067,10069],"valid",[],"NV8"],[[10070,10070],"valid",[],"NV8"],[[10071,10071],"valid",[],"NV8"],[[10072,10078],"valid",[],"NV8"],[[10079,10080],"valid",[],"NV8"],[[10081,10087],"valid",[],"NV8"],[[10088,10101],"valid",[],"NV8"],[[10102,10132],"valid",[],"NV8"],[[10133,10135],"valid",[],"NV8"],[[10136,10159],"valid",[],"NV8"],[[10160,10160],"valid",[],"NV8"],[[10161,10174],"valid",[],"NV8"],[[10175,10175],"valid",[],"NV8"],[[10176,10182],"valid",[],"NV8"],[[10183,10186],"valid",[],"NV8"],[[10187,10187],"valid",[],"NV8"],[[10188,10188],"valid",[],"NV8"],[[10189,10189],"valid",[],"NV8"],[[10190,10191],"valid",[],"NV8"],[[10192,10219],"valid",[],"NV8"],[[10220,10223],"valid",[],"NV8"],[[10224,10239],"valid",[],"NV8"],[[10240,10495],"valid",[],"NV8"],[[10496,10763],"valid",[],"NV8"],[[10764,10764],"mapped",[8747,8747,8747,8747]],[[10765,10867],"valid",[],"NV8"],[[10868,10868],"disallowed_STD3_mapped",[58,58,61]],[[10869,10869],"disallowed_STD3_mapped",[61,61]],[[10870,10870],"disallowed_STD3_mapped",[61,61,61]],[[10871,10971],"valid",[],"NV8"],[[10972,10972],"mapped",[10973,824]],[[10973,11007],"valid",[],"NV8"],[[11008,11021],"valid",[],"NV8"],[[11022,11027],"valid",[],"NV8"],[[11028,11034],"valid",[],"NV8"],[[11035,11039],"valid",[],"NV8"],[[11040,11043],"valid",[],"NV8"],[[11044,11084],"valid",[],"NV8"],[[11085,11087],"valid",[],"NV8"],[[11088,11092],"valid",[],"NV8"],[[11093,11097],"valid",[],"NV8"],[[11098,11123],"valid",[],"NV8"],[[11124,11125],"disallowed"],[[11126,11157],"valid",[],"NV8"],[[11158,11159],"disallowed"],[[11160,11193],"valid",[],"NV8"],[[11194,11196],"disallowed"],[[11197,11208],"valid",[],"NV8"],[[11209,11209],"disallowed"],[[11210,11217],"valid",[],"NV8"],[[11218,11243],"disallowed"],[[11244,11247],"valid",[],"NV8"],[[11248,11263],"disallowed"],[[11264,11264],"mapped",[11312]],[[11265,11265],"mapped",[11313]],[[11266,11266],"mapped",[11314]],[[11267,11267],"mapped",[11315]],[[11268,11268],"mapped",[11316]],[[11269,11269],"mapped",[11317]],[[11270,11270],"mapped",[11318]],[[11271,11271],"mapped",[11319]],[[11272,11272],"mapped",[11320]],[[11273,11273],"mapped",[11321]],[[11274,11274],"mapped",[11322]],[[11275,11275],"mapped",[11323]],[[11276,11276],"mapped",[11324]],[[11277,11277],"mapped",[11325]],[[11278,11278],"mapped",[11326]],[[11279,11279],"mapped",[11327]],[[11280,11280],"mapped",[11328]],[[11281,11281],"mapped",[11329]],[[11282,11282],"mapped",[11330]],[[11283,11283],"mapped",[11331]],[[11284,11284],"mapped",[11332]],[[11285,11285],"mapped",[11333]],[[11286,11286],"mapped",[11334]],[[11287,11287],"mapped",[11335]],[[11288,11288],"mapped",[11336]],[[11289,11289],"mapped",[11337]],[[11290,11290],"mapped",[11338]],[[11291,11291],"mapped",[11339]],[[11292,11292],"mapped",[11340]],[[11293,11293],"mapped",[11341]],[[11294,11294],"mapped",[11342]],[[11295,11295],"mapped",[11343]],[[11296,11296],"mapped",[11344]],[[11297,11297],"mapped",[11345]],[[11298,11298],"mapped",[11346]],[[11299,11299],"mapped",[11347]],[[11300,11300],"mapped",[11348]],[[11301,11301],"mapped",[11349]],[[11302,11302],"mapped",[11350]],[[11303,11303],"mapped",[11351]],[[11304,11304],"mapped",[11352]],[[11305,11305],"mapped",[11353]],[[11306,11306],"mapped",[11354]],[[11307,11307],"mapped",[11355]],[[11308,11308],"mapped",[11356]],[[11309,11309],"mapped",[11357]],[[11310,11310],"mapped",[11358]],[[11311,11311],"disallowed"],[[11312,11358],"valid"],[[11359,11359],"disallowed"],[[11360,11360],"mapped",[11361]],[[11361,11361],"valid"],[[11362,11362],"mapped",[619]],[[11363,11363],"mapped",[7549]],[[11364,11364],"mapped",[637]],[[11365,11366],"valid"],[[11367,11367],"mapped",[11368]],[[11368,11368],"valid"],[[11369,11369],"mapped",[11370]],[[11370,11370],"valid"],[[11371,11371],"mapped",[11372]],[[11372,11372],"valid"],[[11373,11373],"mapped",[593]],[[11374,11374],"mapped",[625]],[[11375,11375],"mapped",[592]],[[11376,11376],"mapped",[594]],[[11377,11377],"valid"],[[11378,11378],"mapped",[11379]],[[11379,11379],"valid"],[[11380,11380],"valid"],[[11381,11381],"mapped",[11382]],[[11382,11383],"valid"],[[11384,11387],"valid"],[[11388,11388],"mapped",[106]],[[11389,11389],"mapped",[118]],[[11390,11390],"mapped",[575]],[[11391,11391],"mapped",[576]],[[11392,11392],"mapped",[11393]],[[11393,11393],"valid"],[[11394,11394],"mapped",[11395]],[[11395,11395],"valid"],[[11396,11396],"mapped",[11397]],[[11397,11397],"valid"],[[11398,11398],"mapped",[11399]],[[11399,11399],"valid"],[[11400,11400],"mapped",[11401]],[[11401,11401],"valid"],[[11402,11402],"mapped",[11403]],[[11403,11403],"valid"],[[11404,11404],"mapped",[11405]],[[11405,11405],"valid"],[[11406,11406],"mapped",[11407]],[[11407,11407],"valid"],[[11408,11408],"mapped",[11409]],[[11409,11409],"valid"],[[11410,11410],"mapped",[11411]],[[11411,11411],"valid"],[[11412,11412],"mapped",[11413]],[[11413,11413],"valid"],[[11414,11414],"mapped",[11415]],[[11415,11415],"valid"],[[11416,11416],"mapped",[11417]],[[11417,11417],"valid"],[[11418,11418],"mapped",[11419]],[[11419,11419],"valid"],[[11420,11420],"mapped",[11421]],[[11421,11421],"valid"],[[11422,11422],"mapped",[11423]],[[11423,11423],"valid"],[[11424,11424],"mapped",[11425]],[[11425,11425],"valid"],[[11426,11426],"mapped",[11427]],[[11427,11427],"valid"],[[11428,11428],"mapped",[11429]],[[11429,11429],"valid"],[[11430,11430],"mapped",[11431]],[[11431,11431],"valid"],[[11432,11432],"mapped",[11433]],[[11433,11433],"valid"],[[11434,11434],"mapped",[11435]],[[11435,11435],"valid"],[[11436,11436],"mapped",[11437]],[[11437,11437],"valid"],[[11438,11438],"mapped",[11439]],[[11439,11439],"valid"],[[11440,11440],"mapped",[11441]],[[11441,11441],"valid"],[[11442,11442],"mapped",[11443]],[[11443,11443],"valid"],[[11444,11444],"mapped",[11445]],[[11445,11445],"valid"],[[11446,11446],"mapped",[11447]],[[11447,11447],"valid"],[[11448,11448],"mapped",[11449]],[[11449,11449],"valid"],[[11450,11450],"mapped",[11451]],[[11451,11451],"valid"],[[11452,11452],"mapped",[11453]],[[11453,11453],"valid"],[[11454,11454],"mapped",[11455]],[[11455,11455],"valid"],[[11456,11456],"mapped",[11457]],[[11457,11457],"valid"],[[11458,11458],"mapped",[11459]],[[11459,11459],"valid"],[[11460,11460],"mapped",[11461]],[[11461,11461],"valid"],[[11462,11462],"mapped",[11463]],[[11463,11463],"valid"],[[11464,11464],"mapped",[11465]],[[11465,11465],"valid"],[[11466,11466],"mapped",[11467]],[[11467,11467],"valid"],[[11468,11468],"mapped",[11469]],[[11469,11469],"valid"],[[11470,11470],"mapped",[11471]],[[11471,11471],"valid"],[[11472,11472],"mapped",[11473]],[[11473,11473],"valid"],[[11474,11474],"mapped",[11475]],[[11475,11475],"valid"],[[11476,11476],"mapped",[11477]],[[11477,11477],"valid"],[[11478,11478],"mapped",[11479]],[[11479,11479],"valid"],[[11480,11480],"mapped",[11481]],[[11481,11481],"valid"],[[11482,11482],"mapped",[11483]],[[11483,11483],"valid"],[[11484,11484],"mapped",[11485]],[[11485,11485],"valid"],[[11486,11486],"mapped",[11487]],[[11487,11487],"valid"],[[11488,11488],"mapped",[11489]],[[11489,11489],"valid"],[[11490,11490],"mapped",[11491]],[[11491,11492],"valid"],[[11493,11498],"valid",[],"NV8"],[[11499,11499],"mapped",[11500]],[[11500,11500],"valid"],[[11501,11501],"mapped",[11502]],[[11502,11505],"valid"],[[11506,11506],"mapped",[11507]],[[11507,11507],"valid"],[[11508,11512],"disallowed"],[[11513,11519],"valid",[],"NV8"],[[11520,11557],"valid"],[[11558,11558],"disallowed"],[[11559,11559],"valid"],[[11560,11564],"disallowed"],[[11565,11565],"valid"],[[11566,11567],"disallowed"],[[11568,11621],"valid"],[[11622,11623],"valid"],[[11624,11630],"disallowed"],[[11631,11631],"mapped",[11617]],[[11632,11632],"valid",[],"NV8"],[[11633,11646],"disallowed"],[[11647,11647],"valid"],[[11648,11670],"valid"],[[11671,11679],"disallowed"],[[11680,11686],"valid"],[[11687,11687],"disallowed"],[[11688,11694],"valid"],[[11695,11695],"disallowed"],[[11696,11702],"valid"],[[11703,11703],"disallowed"],[[11704,11710],"valid"],[[11711,11711],"disallowed"],[[11712,11718],"valid"],[[11719,11719],"disallowed"],[[11720,11726],"valid"],[[11727,11727],"disallowed"],[[11728,11734],"valid"],[[11735,11735],"disallowed"],[[11736,11742],"valid"],[[11743,11743],"disallowed"],[[11744,11775],"valid"],[[11776,11799],"valid",[],"NV8"],[[11800,11803],"valid",[],"NV8"],[[11804,11805],"valid",[],"NV8"],[[11806,11822],"valid",[],"NV8"],[[11823,11823],"valid"],[[11824,11824],"valid",[],"NV8"],[[11825,11825],"valid",[],"NV8"],[[11826,11835],"valid",[],"NV8"],[[11836,11842],"valid",[],"NV8"],[[11843,11903],"disallowed"],[[11904,11929],"valid",[],"NV8"],[[11930,11930],"disallowed"],[[11931,11934],"valid",[],"NV8"],[[11935,11935],"mapped",[27597]],[[11936,12018],"valid",[],"NV8"],[[12019,12019],"mapped",[40863]],[[12020,12031],"disallowed"],[[12032,12032],"mapped",[19968]],[[12033,12033],"mapped",[20008]],[[12034,12034],"mapped",[20022]],[[12035,12035],"mapped",[20031]],[[12036,12036],"mapped",[20057]],[[12037,12037],"mapped",[20101]],[[12038,12038],"mapped",[20108]],[[12039,12039],"mapped",[20128]],[[12040,12040],"mapped",[20154]],[[12041,12041],"mapped",[20799]],[[12042,12042],"mapped",[20837]],[[12043,12043],"mapped",[20843]],[[12044,12044],"mapped",[20866]],[[12045,12045],"mapped",[20886]],[[12046,12046],"mapped",[20907]],[[12047,12047],"mapped",[20960]],[[12048,12048],"mapped",[20981]],[[12049,12049],"mapped",[20992]],[[12050,12050],"mapped",[21147]],[[12051,12051],"mapped",[21241]],[[12052,12052],"mapped",[21269]],[[12053,12053],"mapped",[21274]],[[12054,12054],"mapped",[21304]],[[12055,12055],"mapped",[21313]],[[12056,12056],"mapped",[21340]],[[12057,12057],"mapped",[21353]],[[12058,12058],"mapped",[21378]],[[12059,12059],"mapped",[21430]],[[12060,12060],"mapped",[21448]],[[12061,12061],"mapped",[21475]],[[12062,12062],"mapped",[22231]],[[12063,12063],"mapped",[22303]],[[12064,12064],"mapped",[22763]],[[12065,12065],"mapped",[22786]],[[12066,12066],"mapped",[22794]],[[12067,12067],"mapped",[22805]],[[12068,12068],"mapped",[22823]],[[12069,12069],"mapped",[22899]],[[12070,12070],"mapped",[23376]],[[12071,12071],"mapped",[23424]],[[12072,12072],"mapped",[23544]],[[12073,12073],"mapped",[23567]],[[12074,12074],"mapped",[23586]],[[12075,12075],"mapped",[23608]],[[12076,12076],"mapped",[23662]],[[12077,12077],"mapped",[23665]],[[12078,12078],"mapped",[24027]],[[12079,12079],"mapped",[24037]],[[12080,12080],"mapped",[24049]],[[12081,12081],"mapped",[24062]],[[12082,12082],"mapped",[24178]],[[12083,12083],"mapped",[24186]],[[12084,12084],"mapped",[24191]],[[12085,12085],"mapped",[24308]],[[12086,12086],"mapped",[24318]],[[12087,12087],"mapped",[24331]],[[12088,12088],"mapped",[24339]],[[12089,12089],"mapped",[24400]],[[12090,12090],"mapped",[24417]],[[12091,12091],"mapped",[24435]],[[12092,12092],"mapped",[24515]],[[12093,12093],"mapped",[25096]],[[12094,12094],"mapped",[25142]],[[12095,12095],"mapped",[25163]],[[12096,12096],"mapped",[25903]],[[12097,12097],"mapped",[25908]],[[12098,12098],"mapped",[25991]],[[12099,12099],"mapped",[26007]],[[12100,12100],"mapped",[26020]],[[12101,12101],"mapped",[26041]],[[12102,12102],"mapped",[26080]],[[12103,12103],"mapped",[26085]],[[12104,12104],"mapped",[26352]],[[12105,12105],"mapped",[26376]],[[12106,12106],"mapped",[26408]],[[12107,12107],"mapped",[27424]],[[12108,12108],"mapped",[27490]],[[12109,12109],"mapped",[27513]],[[12110,12110],"mapped",[27571]],[[12111,12111],"mapped",[27595]],[[12112,12112],"mapped",[27604]],[[12113,12113],"mapped",[27611]],[[12114,12114],"mapped",[27663]],[[12115,12115],"mapped",[27668]],[[12116,12116],"mapped",[27700]],[[12117,12117],"mapped",[28779]],[[12118,12118],"mapped",[29226]],[[12119,12119],"mapped",[29238]],[[12120,12120],"mapped",[29243]],[[12121,12121],"mapped",[29247]],[[12122,12122],"mapped",[29255]],[[12123,12123],"mapped",[29273]],[[12124,12124],"mapped",[29275]],[[12125,12125],"mapped",[29356]],[[12126,12126],"mapped",[29572]],[[12127,12127],"mapped",[29577]],[[12128,12128],"mapped",[29916]],[[12129,12129],"mapped",[29926]],[[12130,12130],"mapped",[29976]],[[12131,12131],"mapped",[29983]],[[12132,12132],"mapped",[29992]],[[12133,12133],"mapped",[30000]],[[12134,12134],"mapped",[30091]],[[12135,12135],"mapped",[30098]],[[12136,12136],"mapped",[30326]],[[12137,12137],"mapped",[30333]],[[12138,12138],"mapped",[30382]],[[12139,12139],"mapped",[30399]],[[12140,12140],"mapped",[30446]],[[12141,12141],"mapped",[30683]],[[12142,12142],"mapped",[30690]],[[12143,12143],"mapped",[30707]],[[12144,12144],"mapped",[31034]],[[12145,12145],"mapped",[31160]],[[12146,12146],"mapped",[31166]],[[12147,12147],"mapped",[31348]],[[12148,12148],"mapped",[31435]],[[12149,12149],"mapped",[31481]],[[12150,12150],"mapped",[31859]],[[12151,12151],"mapped",[31992]],[[12152,12152],"mapped",[32566]],[[12153,12153],"mapped",[32593]],[[12154,12154],"mapped",[32650]],[[12155,12155],"mapped",[32701]],[[12156,12156],"mapped",[32769]],[[12157,12157],"mapped",[32780]],[[12158,12158],"mapped",[32786]],[[12159,12159],"mapped",[32819]],[[12160,12160],"mapped",[32895]],[[12161,12161],"mapped",[32905]],[[12162,12162],"mapped",[33251]],[[12163,12163],"mapped",[33258]],[[12164,12164],"mapped",[33267]],[[12165,12165],"mapped",[33276]],[[12166,12166],"mapped",[33292]],[[12167,12167],"mapped",[33307]],[[12168,12168],"mapped",[33311]],[[12169,12169],"mapped",[33390]],[[12170,12170],"mapped",[33394]],[[12171,12171],"mapped",[33400]],[[12172,12172],"mapped",[34381]],[[12173,12173],"mapped",[34411]],[[12174,12174],"mapped",[34880]],[[12175,12175],"mapped",[34892]],[[12176,12176],"mapped",[34915]],[[12177,12177],"mapped",[35198]],[[12178,12178],"mapped",[35211]],[[12179,12179],"mapped",[35282]],[[12180,12180],"mapped",[35328]],[[12181,12181],"mapped",[35895]],[[12182,12182],"mapped",[35910]],[[12183,12183],"mapped",[35925]],[[12184,12184],"mapped",[35960]],[[12185,12185],"mapped",[35997]],[[12186,12186],"mapped",[36196]],[[12187,12187],"mapped",[36208]],[[12188,12188],"mapped",[36275]],[[12189,12189],"mapped",[36523]],[[12190,12190],"mapped",[36554]],[[12191,12191],"mapped",[36763]],[[12192,12192],"mapped",[36784]],[[12193,12193],"mapped",[36789]],[[12194,12194],"mapped",[37009]],[[12195,12195],"mapped",[37193]],[[12196,12196],"mapped",[37318]],[[12197,12197],"mapped",[37324]],[[12198,12198],"mapped",[37329]],[[12199,12199],"mapped",[38263]],[[12200,12200],"mapped",[38272]],[[12201,12201],"mapped",[38428]],[[12202,12202],"mapped",[38582]],[[12203,12203],"mapped",[38585]],[[12204,12204],"mapped",[38632]],[[12205,12205],"mapped",[38737]],[[12206,12206],"mapped",[38750]],[[12207,12207],"mapped",[38754]],[[12208,12208],"mapped",[38761]],[[12209,12209],"mapped",[38859]],[[12210,12210],"mapped",[38893]],[[12211,12211],"mapped",[38899]],[[12212,12212],"mapped",[38913]],[[12213,12213],"mapped",[39080]],[[12214,12214],"mapped",[39131]],[[12215,12215],"mapped",[39135]],[[12216,12216],"mapped",[39318]],[[12217,12217],"mapped",[39321]],[[12218,12218],"mapped",[39340]],[[12219,12219],"mapped",[39592]],[[12220,12220],"mapped",[39640]],[[12221,12221],"mapped",[39647]],[[12222,12222],"mapped",[39717]],[[12223,12223],"mapped",[39727]],[[12224,12224],"mapped",[39730]],[[12225,12225],"mapped",[39740]],[[12226,12226],"mapped",[39770]],[[12227,12227],"mapped",[40165]],[[12228,12228],"mapped",[40565]],[[12229,12229],"mapped",[40575]],[[12230,12230],"mapped",[40613]],[[12231,12231],"mapped",[40635]],[[12232,12232],"mapped",[40643]],[[12233,12233],"mapped",[40653]],[[12234,12234],"mapped",[40657]],[[12235,12235],"mapped",[40697]],[[12236,12236],"mapped",[40701]],[[12237,12237],"mapped",[40718]],[[12238,12238],"mapped",[40723]],[[12239,12239],"mapped",[40736]],[[12240,12240],"mapped",[40763]],[[12241,12241],"mapped",[40778]],[[12242,12242],"mapped",[40786]],[[12243,12243],"mapped",[40845]],[[12244,12244],"mapped",[40860]],[[12245,12245],"mapped",[40864]],[[12246,12271],"disallowed"],[[12272,12283],"disallowed"],[[12284,12287],"disallowed"],[[12288,12288],"disallowed_STD3_mapped",[32]],[[12289,12289],"valid",[],"NV8"],[[12290,12290],"mapped",[46]],[[12291,12292],"valid",[],"NV8"],[[12293,12295],"valid"],[[12296,12329],"valid",[],"NV8"],[[12330,12333],"valid"],[[12334,12341],"valid",[],"NV8"],[[12342,12342],"mapped",[12306]],[[12343,12343],"valid",[],"NV8"],[[12344,12344],"mapped",[21313]],[[12345,12345],"mapped",[21316]],[[12346,12346],"mapped",[21317]],[[12347,12347],"valid",[],"NV8"],[[12348,12348],"valid"],[[12349,12349],"valid",[],"NV8"],[[12350,12350],"valid",[],"NV8"],[[12351,12351],"valid",[],"NV8"],[[12352,12352],"disallowed"],[[12353,12436],"valid"],[[12437,12438],"valid"],[[12439,12440],"disallowed"],[[12441,12442],"valid"],[[12443,12443],"disallowed_STD3_mapped",[32,12441]],[[12444,12444],"disallowed_STD3_mapped",[32,12442]],[[12445,12446],"valid"],[[12447,12447],"mapped",[12424,12426]],[[12448,12448],"valid",[],"NV8"],[[12449,12542],"valid"],[[12543,12543],"mapped",[12467,12488]],[[12544,12548],"disallowed"],[[12549,12588],"valid"],[[12589,12589],"valid"],[[12590,12592],"disallowed"],[[12593,12593],"mapped",[4352]],[[12594,12594],"mapped",[4353]],[[12595,12595],"mapped",[4522]],[[12596,12596],"mapped",[4354]],[[12597,12597],"mapped",[4524]],[[12598,12598],"mapped",[4525]],[[12599,12599],"mapped",[4355]],[[12600,12600],"mapped",[4356]],[[12601,12601],"mapped",[4357]],[[12602,12602],"mapped",[4528]],[[12603,12603],"mapped",[4529]],[[12604,12604],"mapped",[4530]],[[12605,12605],"mapped",[4531]],[[12606,12606],"mapped",[4532]],[[12607,12607],"mapped",[4533]],[[12608,12608],"mapped",[4378]],[[12609,12609],"mapped",[4358]],[[12610,12610],"mapped",[4359]],[[12611,12611],"mapped",[4360]],[[12612,12612],"mapped",[4385]],[[12613,12613],"mapped",[4361]],[[12614,12614],"mapped",[4362]],[[12615,12615],"mapped",[4363]],[[12616,12616],"mapped",[4364]],[[12617,12617],"mapped",[4365]],[[12618,12618],"mapped",[4366]],[[12619,12619],"mapped",[4367]],[[12620,12620],"mapped",[4368]],[[12621,12621],"mapped",[4369]],[[12622,12622],"mapped",[4370]],[[12623,12623],"mapped",[4449]],[[12624,12624],"mapped",[4450]],[[12625,12625],"mapped",[4451]],[[12626,12626],"mapped",[4452]],[[12627,12627],"mapped",[4453]],[[12628,12628],"mapped",[4454]],[[12629,12629],"mapped",[4455]],[[12630,12630],"mapped",[4456]],[[12631,12631],"mapped",[4457]],[[12632,12632],"mapped",[4458]],[[12633,12633],"mapped",[4459]],[[12634,12634],"mapped",[4460]],[[12635,12635],"mapped",[4461]],[[12636,12636],"mapped",[4462]],[[12637,12637],"mapped",[4463]],[[12638,12638],"mapped",[4464]],[[12639,12639],"mapped",[4465]],[[12640,12640],"mapped",[4466]],[[12641,12641],"mapped",[4467]],[[12642,12642],"mapped",[4468]],[[12643,12643],"mapped",[4469]],[[12644,12644],"disallowed"],[[12645,12645],"mapped",[4372]],[[12646,12646],"mapped",[4373]],[[12647,12647],"mapped",[4551]],[[12648,12648],"mapped",[4552]],[[12649,12649],"mapped",[4556]],[[12650,12650],"mapped",[4558]],[[12651,12651],"mapped",[4563]],[[12652,12652],"mapped",[4567]],[[12653,12653],"mapped",[4569]],[[12654,12654],"mapped",[4380]],[[12655,12655],"mapped",[4573]],[[12656,12656],"mapped",[4575]],[[12657,12657],"mapped",[4381]],[[12658,12658],"mapped",[4382]],[[12659,12659],"mapped",[4384]],[[12660,12660],"mapped",[4386]],[[12661,12661],"mapped",[4387]],[[12662,12662],"mapped",[4391]],[[12663,12663],"mapped",[4393]],[[12664,12664],"mapped",[4395]],[[12665,12665],"mapped",[4396]],[[12666,12666],"mapped",[4397]],[[12667,12667],"mapped",[4398]],[[12668,12668],"mapped",[4399]],[[12669,12669],"mapped",[4402]],[[12670,12670],"mapped",[4406]],[[12671,12671],"mapped",[4416]],[[12672,12672],"mapped",[4423]],[[12673,12673],"mapped",[4428]],[[12674,12674],"mapped",[4593]],[[12675,12675],"mapped",[4594]],[[12676,12676],"mapped",[4439]],[[12677,12677],"mapped",[4440]],[[12678,12678],"mapped",[4441]],[[12679,12679],"mapped",[4484]],[[12680,12680],"mapped",[4485]],[[12681,12681],"mapped",[4488]],[[12682,12682],"mapped",[4497]],[[12683,12683],"mapped",[4498]],[[12684,12684],"mapped",[4500]],[[12685,12685],"mapped",[4510]],[[12686,12686],"mapped",[4513]],[[12687,12687],"disallowed"],[[12688,12689],"valid",[],"NV8"],[[12690,12690],"mapped",[19968]],[[12691,12691],"mapped",[20108]],[[12692,12692],"mapped",[19977]],[[12693,12693],"mapped",[22235]],[[12694,12694],"mapped",[19978]],[[12695,12695],"mapped",[20013]],[[12696,12696],"mapped",[19979]],[[12697,12697],"mapped",[30002]],[[12698,12698],"mapped",[20057]],[[12699,12699],"mapped",[19993]],[[12700,12700],"mapped",[19969]],[[12701,12701],"mapped",[22825]],[[12702,12702],"mapped",[22320]],[[12703,12703],"mapped",[20154]],[[12704,12727],"valid"],[[12728,12730],"valid"],[[12731,12735],"disallowed"],[[12736,12751],"valid",[],"NV8"],[[12752,12771],"valid",[],"NV8"],[[12772,12783],"disallowed"],[[12784,12799],"valid"],[[12800,12800],"disallowed_STD3_mapped",[40,4352,41]],[[12801,12801],"disallowed_STD3_mapped",[40,4354,41]],[[12802,12802],"disallowed_STD3_mapped",[40,4355,41]],[[12803,12803],"disallowed_STD3_mapped",[40,4357,41]],[[12804,12804],"disallowed_STD3_mapped",[40,4358,41]],[[12805,12805],"disallowed_STD3_mapped",[40,4359,41]],[[12806,12806],"disallowed_STD3_mapped",[40,4361,41]],[[12807,12807],"disallowed_STD3_mapped",[40,4363,41]],[[12808,12808],"disallowed_STD3_mapped",[40,4364,41]],[[12809,12809],"disallowed_STD3_mapped",[40,4366,41]],[[12810,12810],"disallowed_STD3_mapped",[40,4367,41]],[[12811,12811],"disallowed_STD3_mapped",[40,4368,41]],[[12812,12812],"disallowed_STD3_mapped",[40,4369,41]],[[12813,12813],"disallowed_STD3_mapped",[40,4370,41]],[[12814,12814],"disallowed_STD3_mapped",[40,44032,41]],[[12815,12815],"disallowed_STD3_mapped",[40,45208,41]],[[12816,12816],"disallowed_STD3_mapped",[40,45796,41]],[[12817,12817],"disallowed_STD3_mapped",[40,46972,41]],[[12818,12818],"disallowed_STD3_mapped",[40,47560,41]],[[12819,12819],"disallowed_STD3_mapped",[40,48148,41]],[[12820,12820],"disallowed_STD3_mapped",[40,49324,41]],[[12821,12821],"disallowed_STD3_mapped",[40,50500,41]],[[12822,12822],"disallowed_STD3_mapped",[40,51088,41]],[[12823,12823],"disallowed_STD3_mapped",[40,52264,41]],[[12824,12824],"disallowed_STD3_mapped",[40,52852,41]],[[12825,12825],"disallowed_STD3_mapped",[40,53440,41]],[[12826,12826],"disallowed_STD3_mapped",[40,54028,41]],[[12827,12827],"disallowed_STD3_mapped",[40,54616,41]],[[12828,12828],"disallowed_STD3_mapped",[40,51452,41]],[[12829,12829],"disallowed_STD3_mapped",[40,50724,51204,41]],[[12830,12830],"disallowed_STD3_mapped",[40,50724,54980,41]],[[12831,12831],"disallowed"],[[12832,12832],"disallowed_STD3_mapped",[40,19968,41]],[[12833,12833],"disallowed_STD3_mapped",[40,20108,41]],[[12834,12834],"disallowed_STD3_mapped",[40,19977,41]],[[12835,12835],"disallowed_STD3_mapped",[40,22235,41]],[[12836,12836],"disallowed_STD3_mapped",[40,20116,41]],[[12837,12837],"disallowed_STD3_mapped",[40,20845,41]],[[12838,12838],"disallowed_STD3_mapped",[40,19971,41]],[[12839,12839],"disallowed_STD3_mapped",[40,20843,41]],[[12840,12840],"disallowed_STD3_mapped",[40,20061,41]],[[12841,12841],"disallowed_STD3_mapped",[40,21313,41]],[[12842,12842],"disallowed_STD3_mapped",[40,26376,41]],[[12843,12843],"disallowed_STD3_mapped",[40,28779,41]],[[12844,12844],"disallowed_STD3_mapped",[40,27700,41]],[[12845,12845],"disallowed_STD3_mapped",[40,26408,41]],[[12846,12846],"disallowed_STD3_mapped",[40,37329,41]],[[12847,12847],"disallowed_STD3_mapped",[40,22303,41]],[[12848,12848],"disallowed_STD3_mapped",[40,26085,41]],[[12849,12849],"disallowed_STD3_mapped",[40,26666,41]],[[12850,12850],"disallowed_STD3_mapped",[40,26377,41]],[[12851,12851],"disallowed_STD3_mapped",[40,31038,41]],[[12852,12852],"disallowed_STD3_mapped",[40,21517,41]],[[12853,12853],"disallowed_STD3_mapped",[40,29305,41]],[[12854,12854],"disallowed_STD3_mapped",[40,36001,41]],[[12855,12855],"disallowed_STD3_mapped",[40,31069,41]],[[12856,12856],"disallowed_STD3_mapped",[40,21172,41]],[[12857,12857],"disallowed_STD3_mapped",[40,20195,41]],[[12858,12858],"disallowed_STD3_mapped",[40,21628,41]],[[12859,12859],"disallowed_STD3_mapped",[40,23398,41]],[[12860,12860],"disallowed_STD3_mapped",[40,30435,41]],[[12861,12861],"disallowed_STD3_mapped",[40,20225,41]],[[12862,12862],"disallowed_STD3_mapped",[40,36039,41]],[[12863,12863],"disallowed_STD3_mapped",[40,21332,41]],[[12864,12864],"disallowed_STD3_mapped",[40,31085,41]],[[12865,12865],"disallowed_STD3_mapped",[40,20241,41]],[[12866,12866],"disallowed_STD3_mapped",[40,33258,41]],[[12867,12867],"disallowed_STD3_mapped",[40,33267,41]],[[12868,12868],"mapped",[21839]],[[12869,12869],"mapped",[24188]],[[12870,12870],"mapped",[25991]],[[12871,12871],"mapped",[31631]],[[12872,12879],"valid",[],"NV8"],[[12880,12880],"mapped",[112,116,101]],[[12881,12881],"mapped",[50,49]],[[12882,12882],"mapped",[50,50]],[[12883,12883],"mapped",[50,51]],[[12884,12884],"mapped",[50,52]],[[12885,12885],"mapped",[50,53]],[[12886,12886],"mapped",[50,54]],[[12887,12887],"mapped",[50,55]],[[12888,12888],"mapped",[50,56]],[[12889,12889],"mapped",[50,57]],[[12890,12890],"mapped",[51,48]],[[12891,12891],"mapped",[51,49]],[[12892,12892],"mapped",[51,50]],[[12893,12893],"mapped",[51,51]],[[12894,12894],"mapped",[51,52]],[[12895,12895],"mapped",[51,53]],[[12896,12896],"mapped",[4352]],[[12897,12897],"mapped",[4354]],[[12898,12898],"mapped",[4355]],[[12899,12899],"mapped",[4357]],[[12900,12900],"mapped",[4358]],[[12901,12901],"mapped",[4359]],[[12902,12902],"mapped",[4361]],[[12903,12903],"mapped",[4363]],[[12904,12904],"mapped",[4364]],[[12905,12905],"mapped",[4366]],[[12906,12906],"mapped",[4367]],[[12907,12907],"mapped",[4368]],[[12908,12908],"mapped",[4369]],[[12909,12909],"mapped",[4370]],[[12910,12910],"mapped",[44032]],[[12911,12911],"mapped",[45208]],[[12912,12912],"mapped",[45796]],[[12913,12913],"mapped",[46972]],[[12914,12914],"mapped",[47560]],[[12915,12915],"mapped",[48148]],[[12916,12916],"mapped",[49324]],[[12917,12917],"mapped",[50500]],[[12918,12918],"mapped",[51088]],[[12919,12919],"mapped",[52264]],[[12920,12920],"mapped",[52852]],[[12921,12921],"mapped",[53440]],[[12922,12922],"mapped",[54028]],[[12923,12923],"mapped",[54616]],[[12924,12924],"mapped",[52280,44256]],[[12925,12925],"mapped",[51452,51032]],[[12926,12926],"mapped",[50864]],[[12927,12927],"valid",[],"NV8"],[[12928,12928],"mapped",[19968]],[[12929,12929],"mapped",[20108]],[[12930,12930],"mapped",[19977]],[[12931,12931],"mapped",[22235]],[[12932,12932],"mapped",[20116]],[[12933,12933],"mapped",[20845]],[[12934,12934],"mapped",[19971]],[[12935,12935],"mapped",[20843]],[[12936,12936],"mapped",[20061]],[[12937,12937],"mapped",[21313]],[[12938,12938],"mapped",[26376]],[[12939,12939],"mapped",[28779]],[[12940,12940],"mapped",[27700]],[[12941,12941],"mapped",[26408]],[[12942,12942],"mapped",[37329]],[[12943,12943],"mapped",[22303]],[[12944,12944],"mapped",[26085]],[[12945,12945],"mapped",[26666]],[[12946,12946],"mapped",[26377]],[[12947,12947],"mapped",[31038]],[[12948,12948],"mapped",[21517]],[[12949,12949],"mapped",[29305]],[[12950,12950],"mapped",[36001]],[[12951,12951],"mapped",[31069]],[[12952,12952],"mapped",[21172]],[[12953,12953],"mapped",[31192]],[[12954,12954],"mapped",[30007]],[[12955,12955],"mapped",[22899]],[[12956,12956],"mapped",[36969]],[[12957,12957],"mapped",[20778]],[[12958,12958],"mapped",[21360]],[[12959,12959],"mapped",[27880]],[[12960,12960],"mapped",[38917]],[[12961,12961],"mapped",[20241]],[[12962,12962],"mapped",[20889]],[[12963,12963],"mapped",[27491]],[[12964,12964],"mapped",[19978]],[[12965,12965],"mapped",[20013]],[[12966,12966],"mapped",[19979]],[[12967,12967],"mapped",[24038]],[[12968,12968],"mapped",[21491]],[[12969,12969],"mapped",[21307]],[[12970,12970],"mapped",[23447]],[[12971,12971],"mapped",[23398]],[[12972,12972],"mapped",[30435]],[[12973,12973],"mapped",[20225]],[[12974,12974],"mapped",[36039]],[[12975,12975],"mapped",[21332]],[[12976,12976],"mapped",[22812]],[[12977,12977],"mapped",[51,54]],[[12978,12978],"mapped",[51,55]],[[12979,12979],"mapped",[51,56]],[[12980,12980],"mapped",[51,57]],[[12981,12981],"mapped",[52,48]],[[12982,12982],"mapped",[52,49]],[[12983,12983],"mapped",[52,50]],[[12984,12984],"mapped",[52,51]],[[12985,12985],"mapped",[52,52]],[[12986,12986],"mapped",[52,53]],[[12987,12987],"mapped",[52,54]],[[12988,12988],"mapped",[52,55]],[[12989,12989],"mapped",[52,56]],[[12990,12990],"mapped",[52,57]],[[12991,12991],"mapped",[53,48]],[[12992,12992],"mapped",[49,26376]],[[12993,12993],"mapped",[50,26376]],[[12994,12994],"mapped",[51,26376]],[[12995,12995],"mapped",[52,26376]],[[12996,12996],"mapped",[53,26376]],[[12997,12997],"mapped",[54,26376]],[[12998,12998],"mapped",[55,26376]],[[12999,12999],"mapped",[56,26376]],[[13000,13000],"mapped",[57,26376]],[[13001,13001],"mapped",[49,48,26376]],[[13002,13002],"mapped",[49,49,26376]],[[13003,13003],"mapped",[49,50,26376]],[[13004,13004],"mapped",[104,103]],[[13005,13005],"mapped",[101,114,103]],[[13006,13006],"mapped",[101,118]],[[13007,13007],"mapped",[108,116,100]],[[13008,13008],"mapped",[12450]],[[13009,13009],"mapped",[12452]],[[13010,13010],"mapped",[12454]],[[13011,13011],"mapped",[12456]],[[13012,13012],"mapped",[12458]],[[13013,13013],"mapped",[12459]],[[13014,13014],"mapped",[12461]],[[13015,13015],"mapped",[12463]],[[13016,13016],"mapped",[12465]],[[13017,13017],"mapped",[12467]],[[13018,13018],"mapped",[12469]],[[13019,13019],"mapped",[12471]],[[13020,13020],"mapped",[12473]],[[13021,13021],"mapped",[12475]],[[13022,13022],"mapped",[12477]],[[13023,13023],"mapped",[12479]],[[13024,13024],"mapped",[12481]],[[13025,13025],"mapped",[12484]],[[13026,13026],"mapped",[12486]],[[13027,13027],"mapped",[12488]],[[13028,13028],"mapped",[12490]],[[13029,13029],"mapped",[12491]],[[13030,13030],"mapped",[12492]],[[13031,13031],"mapped",[12493]],[[13032,13032],"mapped",[12494]],[[13033,13033],"mapped",[12495]],[[13034,13034],"mapped",[12498]],[[13035,13035],"mapped",[12501]],[[13036,13036],"mapped",[12504]],[[13037,13037],"mapped",[12507]],[[13038,13038],"mapped",[12510]],[[13039,13039],"mapped",[12511]],[[13040,13040],"mapped",[12512]],[[13041,13041],"mapped",[12513]],[[13042,13042],"mapped",[12514]],[[13043,13043],"mapped",[12516]],[[13044,13044],"mapped",[12518]],[[13045,13045],"mapped",[12520]],[[13046,13046],"mapped",[12521]],[[13047,13047],"mapped",[12522]],[[13048,13048],"mapped",[12523]],[[13049,13049],"mapped",[12524]],[[13050,13050],"mapped",[12525]],[[13051,13051],"mapped",[12527]],[[13052,13052],"mapped",[12528]],[[13053,13053],"mapped",[12529]],[[13054,13054],"mapped",[12530]],[[13055,13055],"disallowed"],[[13056,13056],"mapped",[12450,12497,12540,12488]],[[13057,13057],"mapped",[12450,12523,12501,12449]],[[13058,13058],"mapped",[12450,12531,12506,12450]],[[13059,13059],"mapped",[12450,12540,12523]],[[13060,13060],"mapped",[12452,12491,12531,12464]],[[13061,13061],"mapped",[12452,12531,12481]],[[13062,13062],"mapped",[12454,12457,12531]],[[13063,13063],"mapped",[12456,12473,12463,12540,12489]],[[13064,13064],"mapped",[12456,12540,12459,12540]],[[13065,13065],"mapped",[12458,12531,12473]],[[13066,13066],"mapped",[12458,12540,12512]],[[13067,13067],"mapped",[12459,12452,12522]],[[13068,13068],"mapped",[12459,12521,12483,12488]],[[13069,13069],"mapped",[12459,12525,12522,12540]],[[13070,13070],"mapped",[12460,12525,12531]],[[13071,13071],"mapped",[12460,12531,12510]],[[13072,13072],"mapped",[12462,12460]],[[13073,13073],"mapped",[12462,12491,12540]],[[13074,13074],"mapped",[12461,12517,12522,12540]],[[13075,13075],"mapped",[12462,12523,12480,12540]],[[13076,13076],"mapped",[12461,12525]],[[13077,13077],"mapped",[12461,12525,12464,12521,12512]],[[13078,13078],"mapped",[12461,12525,12513,12540,12488,12523]],[[13079,13079],"mapped",[12461,12525,12527,12483,12488]],[[13080,13080],"mapped",[12464,12521,12512]],[[13081,13081],"mapped",[12464,12521,12512,12488,12531]],[[13082,13082],"mapped",[12463,12523,12476,12452,12525]],[[13083,13083],"mapped",[12463,12525,12540,12493]],[[13084,13084],"mapped",[12465,12540,12473]],[[13085,13085],"mapped",[12467,12523,12490]],[[13086,13086],"mapped",[12467,12540,12509]],[[13087,13087],"mapped",[12469,12452,12463,12523]],[[13088,13088],"mapped",[12469,12531,12481,12540,12512]],[[13089,13089],"mapped",[12471,12522,12531,12464]],[[13090,13090],"mapped",[12475,12531,12481]],[[13091,13091],"mapped",[12475,12531,12488]],[[13092,13092],"mapped",[12480,12540,12473]],[[13093,13093],"mapped",[12487,12471]],[[13094,13094],"mapped",[12489,12523]],[[13095,13095],"mapped",[12488,12531]],[[13096,13096],"mapped",[12490,12494]],[[13097,13097],"mapped",[12494,12483,12488]],[[13098,13098],"mapped",[12495,12452,12484]],[[13099,13099],"mapped",[12497,12540,12475,12531,12488]],[[13100,13100],"mapped",[12497,12540,12484]],[[13101,13101],"mapped",[12496,12540,12524,12523]],[[13102,13102],"mapped",[12500,12450,12473,12488,12523]],[[13103,13103],"mapped",[12500,12463,12523]],[[13104,13104],"mapped",[12500,12467]],[[13105,13105],"mapped",[12499,12523]],[[13106,13106],"mapped",[12501,12449,12521,12483,12489]],[[13107,13107],"mapped",[12501,12451,12540,12488]],[[13108,13108],"mapped",[12502,12483,12471,12455,12523]],[[13109,13109],"mapped",[12501,12521,12531]],[[13110,13110],"mapped",[12504,12463,12479,12540,12523]],[[13111,13111],"mapped",[12506,12477]],[[13112,13112],"mapped",[12506,12491,12498]],[[13113,13113],"mapped",[12504,12523,12484]],[[13114,13114],"mapped",[12506,12531,12473]],[[13115,13115],"mapped",[12506,12540,12472]],[[13116,13116],"mapped",[12505,12540,12479]],[[13117,13117],"mapped",[12509,12452,12531,12488]],[[13118,13118],"mapped",[12508,12523,12488]],[[13119,13119],"mapped",[12507,12531]],[[13120,13120],"mapped",[12509,12531,12489]],[[13121,13121],"mapped",[12507,12540,12523]],[[13122,13122],"mapped",[12507,12540,12531]],[[13123,13123],"mapped",[12510,12452,12463,12525]],[[13124,13124],"mapped",[12510,12452,12523]],[[13125,13125],"mapped",[12510,12483,12495]],[[13126,13126],"mapped",[12510,12523,12463]],[[13127,13127],"mapped",[12510,12531,12471,12519,12531]],[[13128,13128],"mapped",[12511,12463,12525,12531]],[[13129,13129],"mapped",[12511,12522]],[[13130,13130],"mapped",[12511,12522,12496,12540,12523]],[[13131,13131],"mapped",[12513,12460]],[[13132,13132],"mapped",[12513,12460,12488,12531]],[[13133,13133],"mapped",[12513,12540,12488,12523]],[[13134,13134],"mapped",[12516,12540,12489]],[[13135,13135],"mapped",[12516,12540,12523]],[[13136,13136],"mapped",[12518,12450,12531]],[[13137,13137],"mapped",[12522,12483,12488,12523]],[[13138,13138],"mapped",[12522,12521]],[[13139,13139],"mapped",[12523,12500,12540]],[[13140,13140],"mapped",[12523,12540,12502,12523]],[[13141,13141],"mapped",[12524,12512]],[[13142,13142],"mapped",[12524,12531,12488,12466,12531]],[[13143,13143],"mapped",[12527,12483,12488]],[[13144,13144],"mapped",[48,28857]],[[13145,13145],"mapped",[49,28857]],[[13146,13146],"mapped",[50,28857]],[[13147,13147],"mapped",[51,28857]],[[13148,13148],"mapped",[52,28857]],[[13149,13149],"mapped",[53,28857]],[[13150,13150],"mapped",[54,28857]],[[13151,13151],"mapped",[55,28857]],[[13152,13152],"mapped",[56,28857]],[[13153,13153],"mapped",[57,28857]],[[13154,13154],"mapped",[49,48,28857]],[[13155,13155],"mapped",[49,49,28857]],[[13156,13156],"mapped",[49,50,28857]],[[13157,13157],"mapped",[49,51,28857]],[[13158,13158],"mapped",[49,52,28857]],[[13159,13159],"mapped",[49,53,28857]],[[13160,13160],"mapped",[49,54,28857]],[[13161,13161],"mapped",[49,55,28857]],[[13162,13162],"mapped",[49,56,28857]],[[13163,13163],"mapped",[49,57,28857]],[[13164,13164],"mapped",[50,48,28857]],[[13165,13165],"mapped",[50,49,28857]],[[13166,13166],"mapped",[50,50,28857]],[[13167,13167],"mapped",[50,51,28857]],[[13168,13168],"mapped",[50,52,28857]],[[13169,13169],"mapped",[104,112,97]],[[13170,13170],"mapped",[100,97]],[[13171,13171],"mapped",[97,117]],[[13172,13172],"mapped",[98,97,114]],[[13173,13173],"mapped",[111,118]],[[13174,13174],"mapped",[112,99]],[[13175,13175],"mapped",[100,109]],[[13176,13176],"mapped",[100,109,50]],[[13177,13177],"mapped",[100,109,51]],[[13178,13178],"mapped",[105,117]],[[13179,13179],"mapped",[24179,25104]],[[13180,13180],"mapped",[26157,21644]],[[13181,13181],"mapped",[22823,27491]],[[13182,13182],"mapped",[26126,27835]],[[13183,13183],"mapped",[26666,24335,20250,31038]],[[13184,13184],"mapped",[112,97]],[[13185,13185],"mapped",[110,97]],[[13186,13186],"mapped",[956,97]],[[13187,13187],"mapped",[109,97]],[[13188,13188],"mapped",[107,97]],[[13189,13189],"mapped",[107,98]],[[13190,13190],"mapped",[109,98]],[[13191,13191],"mapped",[103,98]],[[13192,13192],"mapped",[99,97,108]],[[13193,13193],"mapped",[107,99,97,108]],[[13194,13194],"mapped",[112,102]],[[13195,13195],"mapped",[110,102]],[[13196,13196],"mapped",[956,102]],[[13197,13197],"mapped",[956,103]],[[13198,13198],"mapped",[109,103]],[[13199,13199],"mapped",[107,103]],[[13200,13200],"mapped",[104,122]],[[13201,13201],"mapped",[107,104,122]],[[13202,13202],"mapped",[109,104,122]],[[13203,13203],"mapped",[103,104,122]],[[13204,13204],"mapped",[116,104,122]],[[13205,13205],"mapped",[956,108]],[[13206,13206],"mapped",[109,108]],[[13207,13207],"mapped",[100,108]],[[13208,13208],"mapped",[107,108]],[[13209,13209],"mapped",[102,109]],[[13210,13210],"mapped",[110,109]],[[13211,13211],"mapped",[956,109]],[[13212,13212],"mapped",[109,109]],[[13213,13213],"mapped",[99,109]],[[13214,13214],"mapped",[107,109]],[[13215,13215],"mapped",[109,109,50]],[[13216,13216],"mapped",[99,109,50]],[[13217,13217],"mapped",[109,50]],[[13218,13218],"mapped",[107,109,50]],[[13219,13219],"mapped",[109,109,51]],[[13220,13220],"mapped",[99,109,51]],[[13221,13221],"mapped",[109,51]],[[13222,13222],"mapped",[107,109,51]],[[13223,13223],"mapped",[109,8725,115]],[[13224,13224],"mapped",[109,8725,115,50]],[[13225,13225],"mapped",[112,97]],[[13226,13226],"mapped",[107,112,97]],[[13227,13227],"mapped",[109,112,97]],[[13228,13228],"mapped",[103,112,97]],[[13229,13229],"mapped",[114,97,100]],[[13230,13230],"mapped",[114,97,100,8725,115]],[[13231,13231],"mapped",[114,97,100,8725,115,50]],[[13232,13232],"mapped",[112,115]],[[13233,13233],"mapped",[110,115]],[[13234,13234],"mapped",[956,115]],[[13235,13235],"mapped",[109,115]],[[13236,13236],"mapped",[112,118]],[[13237,13237],"mapped",[110,118]],[[13238,13238],"mapped",[956,118]],[[13239,13239],"mapped",[109,118]],[[13240,13240],"mapped",[107,118]],[[13241,13241],"mapped",[109,118]],[[13242,13242],"mapped",[112,119]],[[13243,13243],"mapped",[110,119]],[[13244,13244],"mapped",[956,119]],[[13245,13245],"mapped",[109,119]],[[13246,13246],"mapped",[107,119]],[[13247,13247],"mapped",[109,119]],[[13248,13248],"mapped",[107,969]],[[13249,13249],"mapped",[109,969]],[[13250,13250],"disallowed"],[[13251,13251],"mapped",[98,113]],[[13252,13252],"mapped",[99,99]],[[13253,13253],"mapped",[99,100]],[[13254,13254],"mapped",[99,8725,107,103]],[[13255,13255],"disallowed"],[[13256,13256],"mapped",[100,98]],[[13257,13257],"mapped",[103,121]],[[13258,13258],"mapped",[104,97]],[[13259,13259],"mapped",[104,112]],[[13260,13260],"mapped",[105,110]],[[13261,13261],"mapped",[107,107]],[[13262,13262],"mapped",[107,109]],[[13263,13263],"mapped",[107,116]],[[13264,13264],"mapped",[108,109]],[[13265,13265],"mapped",[108,110]],[[13266,13266],"mapped",[108,111,103]],[[13267,13267],"mapped",[108,120]],[[13268,13268],"mapped",[109,98]],[[13269,13269],"mapped",[109,105,108]],[[13270,13270],"mapped",[109,111,108]],[[13271,13271],"mapped",[112,104]],[[13272,13272],"disallowed"],[[13273,13273],"mapped",[112,112,109]],[[13274,13274],"mapped",[112,114]],[[13275,13275],"mapped",[115,114]],[[13276,13276],"mapped",[115,118]],[[13277,13277],"mapped",[119,98]],[[13278,13278],"mapped",[118,8725,109]],[[13279,13279],"mapped",[97,8725,109]],[[13280,13280],"mapped",[49,26085]],[[13281,13281],"mapped",[50,26085]],[[13282,13282],"mapped",[51,26085]],[[13283,13283],"mapped",[52,26085]],[[13284,13284],"mapped",[53,26085]],[[13285,13285],"mapped",[54,26085]],[[13286,13286],"mapped",[55,26085]],[[13287,13287],"mapped",[56,26085]],[[13288,13288],"mapped",[57,26085]],[[13289,13289],"mapped",[49,48,26085]],[[13290,13290],"mapped",[49,49,26085]],[[13291,13291],"mapped",[49,50,26085]],[[13292,13292],"mapped",[49,51,26085]],[[13293,13293],"mapped",[49,52,26085]],[[13294,13294],"mapped",[49,53,26085]],[[13295,13295],"mapped",[49,54,26085]],[[13296,13296],"mapped",[49,55,26085]],[[13297,13297],"mapped",[49,56,26085]],[[13298,13298],"mapped",[49,57,26085]],[[13299,13299],"mapped",[50,48,26085]],[[13300,13300],"mapped",[50,49,26085]],[[13301,13301],"mapped",[50,50,26085]],[[13302,13302],"mapped",[50,51,26085]],[[13303,13303],"mapped",[50,52,26085]],[[13304,13304],"mapped",[50,53,26085]],[[13305,13305],"mapped",[50,54,26085]],[[13306,13306],"mapped",[50,55,26085]],[[13307,13307],"mapped",[50,56,26085]],[[13308,13308],"mapped",[50,57,26085]],[[13309,13309],"mapped",[51,48,26085]],[[13310,13310],"mapped",[51,49,26085]],[[13311,13311],"mapped",[103,97,108]],[[13312,19893],"valid"],[[19894,19903],"disallowed"],[[19904,19967],"valid",[],"NV8"],[[19968,40869],"valid"],[[40870,40891],"valid"],[[40892,40899],"valid"],[[40900,40907],"valid"],[[40908,40908],"valid"],[[40909,40917],"valid"],[[40918,40959],"disallowed"],[[40960,42124],"valid"],[[42125,42127],"disallowed"],[[42128,42145],"valid",[],"NV8"],[[42146,42147],"valid",[],"NV8"],[[42148,42163],"valid",[],"NV8"],[[42164,42164],"valid",[],"NV8"],[[42165,42176],"valid",[],"NV8"],[[42177,42177],"valid",[],"NV8"],[[42178,42180],"valid",[],"NV8"],[[42181,42181],"valid",[],"NV8"],[[42182,42182],"valid",[],"NV8"],[[42183,42191],"disallowed"],[[42192,42237],"valid"],[[42238,42239],"valid",[],"NV8"],[[42240,42508],"valid"],[[42509,42511],"valid",[],"NV8"],[[42512,42539],"valid"],[[42540,42559],"disallowed"],[[42560,42560],"mapped",[42561]],[[42561,42561],"valid"],[[42562,42562],"mapped",[42563]],[[42563,42563],"valid"],[[42564,42564],"mapped",[42565]],[[42565,42565],"valid"],[[42566,42566],"mapped",[42567]],[[42567,42567],"valid"],[[42568,42568],"mapped",[42569]],[[42569,42569],"valid"],[[42570,42570],"mapped",[42571]],[[42571,42571],"valid"],[[42572,42572],"mapped",[42573]],[[42573,42573],"valid"],[[42574,42574],"mapped",[42575]],[[42575,42575],"valid"],[[42576,42576],"mapped",[42577]],[[42577,42577],"valid"],[[42578,42578],"mapped",[42579]],[[42579,42579],"valid"],[[42580,42580],"mapped",[42581]],[[42581,42581],"valid"],[[42582,42582],"mapped",[42583]],[[42583,42583],"valid"],[[42584,42584],"mapped",[42585]],[[42585,42585],"valid"],[[42586,42586],"mapped",[42587]],[[42587,42587],"valid"],[[42588,42588],"mapped",[42589]],[[42589,42589],"valid"],[[42590,42590],"mapped",[42591]],[[42591,42591],"valid"],[[42592,42592],"mapped",[42593]],[[42593,42593],"valid"],[[42594,42594],"mapped",[42595]],[[42595,42595],"valid"],[[42596,42596],"mapped",[42597]],[[42597,42597],"valid"],[[42598,42598],"mapped",[42599]],[[42599,42599],"valid"],[[42600,42600],"mapped",[42601]],[[42601,42601],"valid"],[[42602,42602],"mapped",[42603]],[[42603,42603],"valid"],[[42604,42604],"mapped",[42605]],[[42605,42607],"valid"],[[42608,42611],"valid",[],"NV8"],[[42612,42619],"valid"],[[42620,42621],"valid"],[[42622,42622],"valid",[],"NV8"],[[42623,42623],"valid"],[[42624,42624],"mapped",[42625]],[[42625,42625],"valid"],[[42626,42626],"mapped",[42627]],[[42627,42627],"valid"],[[42628,42628],"mapped",[42629]],[[42629,42629],"valid"],[[42630,42630],"mapped",[42631]],[[42631,42631],"valid"],[[42632,42632],"mapped",[42633]],[[42633,42633],"valid"],[[42634,42634],"mapped",[42635]],[[42635,42635],"valid"],[[42636,42636],"mapped",[42637]],[[42637,42637],"valid"],[[42638,42638],"mapped",[42639]],[[42639,42639],"valid"],[[42640,42640],"mapped",[42641]],[[42641,42641],"valid"],[[42642,42642],"mapped",[42643]],[[42643,42643],"valid"],[[42644,42644],"mapped",[42645]],[[42645,42645],"valid"],[[42646,42646],"mapped",[42647]],[[42647,42647],"valid"],[[42648,42648],"mapped",[42649]],[[42649,42649],"valid"],[[42650,42650],"mapped",[42651]],[[42651,42651],"valid"],[[42652,42652],"mapped",[1098]],[[42653,42653],"mapped",[1100]],[[42654,42654],"valid"],[[42655,42655],"valid"],[[42656,42725],"valid"],[[42726,42735],"valid",[],"NV8"],[[42736,42737],"valid"],[[42738,42743],"valid",[],"NV8"],[[42744,42751],"disallowed"],[[42752,42774],"valid",[],"NV8"],[[42775,42778],"valid"],[[42779,42783],"valid"],[[42784,42785],"valid",[],"NV8"],[[42786,42786],"mapped",[42787]],[[42787,42787],"valid"],[[42788,42788],"mapped",[42789]],[[42789,42789],"valid"],[[42790,42790],"mapped",[42791]],[[42791,42791],"valid"],[[42792,42792],"mapped",[42793]],[[42793,42793],"valid"],[[42794,42794],"mapped",[42795]],[[42795,42795],"valid"],[[42796,42796],"mapped",[42797]],[[42797,42797],"valid"],[[42798,42798],"mapped",[42799]],[[42799,42801],"valid"],[[42802,42802],"mapped",[42803]],[[42803,42803],"valid"],[[42804,42804],"mapped",[42805]],[[42805,42805],"valid"],[[42806,42806],"mapped",[42807]],[[42807,42807],"valid"],[[42808,42808],"mapped",[42809]],[[42809,42809],"valid"],[[42810,42810],"mapped",[42811]],[[42811,42811],"valid"],[[42812,42812],"mapped",[42813]],[[42813,42813],"valid"],[[42814,42814],"mapped",[42815]],[[42815,42815],"valid"],[[42816,42816],"mapped",[42817]],[[42817,42817],"valid"],[[42818,42818],"mapped",[42819]],[[42819,42819],"valid"],[[42820,42820],"mapped",[42821]],[[42821,42821],"valid"],[[42822,42822],"mapped",[42823]],[[42823,42823],"valid"],[[42824,42824],"mapped",[42825]],[[42825,42825],"valid"],[[42826,42826],"mapped",[42827]],[[42827,42827],"valid"],[[42828,42828],"mapped",[42829]],[[42829,42829],"valid"],[[42830,42830],"mapped",[42831]],[[42831,42831],"valid"],[[42832,42832],"mapped",[42833]],[[42833,42833],"valid"],[[42834,42834],"mapped",[42835]],[[42835,42835],"valid"],[[42836,42836],"mapped",[42837]],[[42837,42837],"valid"],[[42838,42838],"mapped",[42839]],[[42839,42839],"valid"],[[42840,42840],"mapped",[42841]],[[42841,42841],"valid"],[[42842,42842],"mapped",[42843]],[[42843,42843],"valid"],[[42844,42844],"mapped",[42845]],[[42845,42845],"valid"],[[42846,42846],"mapped",[42847]],[[42847,42847],"valid"],[[42848,42848],"mapped",[42849]],[[42849,42849],"valid"],[[42850,42850],"mapped",[42851]],[[42851,42851],"valid"],[[42852,42852],"mapped",[42853]],[[42853,42853],"valid"],[[42854,42854],"mapped",[42855]],[[42855,42855],"valid"],[[42856,42856],"mapped",[42857]],[[42857,42857],"valid"],[[42858,42858],"mapped",[42859]],[[42859,42859],"valid"],[[42860,42860],"mapped",[42861]],[[42861,42861],"valid"],[[42862,42862],"mapped",[42863]],[[42863,42863],"valid"],[[42864,42864],"mapped",[42863]],[[42865,42872],"valid"],[[42873,42873],"mapped",[42874]],[[42874,42874],"valid"],[[42875,42875],"mapped",[42876]],[[42876,42876],"valid"],[[42877,42877],"mapped",[7545]],[[42878,42878],"mapped",[42879]],[[42879,42879],"valid"],[[42880,42880],"mapped",[42881]],[[42881,42881],"valid"],[[42882,42882],"mapped",[42883]],[[42883,42883],"valid"],[[42884,42884],"mapped",[42885]],[[42885,42885],"valid"],[[42886,42886],"mapped",[42887]],[[42887,42888],"valid"],[[42889,42890],"valid",[],"NV8"],[[42891,42891],"mapped",[42892]],[[42892,42892],"valid"],[[42893,42893],"mapped",[613]],[[42894,42894],"valid"],[[42895,42895],"valid"],[[42896,42896],"mapped",[42897]],[[42897,42897],"valid"],[[42898,42898],"mapped",[42899]],[[42899,42899],"valid"],[[42900,42901],"valid"],[[42902,42902],"mapped",[42903]],[[42903,42903],"valid"],[[42904,42904],"mapped",[42905]],[[42905,42905],"valid"],[[42906,42906],"mapped",[42907]],[[42907,42907],"valid"],[[42908,42908],"mapped",[42909]],[[42909,42909],"valid"],[[42910,42910],"mapped",[42911]],[[42911,42911],"valid"],[[42912,42912],"mapped",[42913]],[[42913,42913],"valid"],[[42914,42914],"mapped",[42915]],[[42915,42915],"valid"],[[42916,42916],"mapped",[42917]],[[42917,42917],"valid"],[[42918,42918],"mapped",[42919]],[[42919,42919],"valid"],[[42920,42920],"mapped",[42921]],[[42921,42921],"valid"],[[42922,42922],"mapped",[614]],[[42923,42923],"mapped",[604]],[[42924,42924],"mapped",[609]],[[42925,42925],"mapped",[620]],[[42926,42927],"disallowed"],[[42928,42928],"mapped",[670]],[[42929,42929],"mapped",[647]],[[42930,42930],"mapped",[669]],[[42931,42931],"mapped",[43859]],[[42932,42932],"mapped",[42933]],[[42933,42933],"valid"],[[42934,42934],"mapped",[42935]],[[42935,42935],"valid"],[[42936,42998],"disallowed"],[[42999,42999],"valid"],[[43000,43000],"mapped",[295]],[[43001,43001],"mapped",[339]],[[43002,43002],"valid"],[[43003,43007],"valid"],[[43008,43047],"valid"],[[43048,43051],"valid",[],"NV8"],[[43052,43055],"disallowed"],[[43056,43065],"valid",[],"NV8"],[[43066,43071],"disallowed"],[[43072,43123],"valid"],[[43124,43127],"valid",[],"NV8"],[[43128,43135],"disallowed"],[[43136,43204],"valid"],[[43205,43213],"disallowed"],[[43214,43215],"valid",[],"NV8"],[[43216,43225],"valid"],[[43226,43231],"disallowed"],[[43232,43255],"valid"],[[43256,43258],"valid",[],"NV8"],[[43259,43259],"valid"],[[43260,43260],"valid",[],"NV8"],[[43261,43261],"valid"],[[43262,43263],"disallowed"],[[43264,43309],"valid"],[[43310,43311],"valid",[],"NV8"],[[43312,43347],"valid"],[[43348,43358],"disallowed"],[[43359,43359],"valid",[],"NV8"],[[43360,43388],"valid",[],"NV8"],[[43389,43391],"disallowed"],[[43392,43456],"valid"],[[43457,43469],"valid",[],"NV8"],[[43470,43470],"disallowed"],[[43471,43481],"valid"],[[43482,43485],"disallowed"],[[43486,43487],"valid",[],"NV8"],[[43488,43518],"valid"],[[43519,43519],"disallowed"],[[43520,43574],"valid"],[[43575,43583],"disallowed"],[[43584,43597],"valid"],[[43598,43599],"disallowed"],[[43600,43609],"valid"],[[43610,43611],"disallowed"],[[43612,43615],"valid",[],"NV8"],[[43616,43638],"valid"],[[43639,43641],"valid",[],"NV8"],[[43642,43643],"valid"],[[43644,43647],"valid"],[[43648,43714],"valid"],[[43715,43738],"disallowed"],[[43739,43741],"valid"],[[43742,43743],"valid",[],"NV8"],[[43744,43759],"valid"],[[43760,43761],"valid",[],"NV8"],[[43762,43766],"valid"],[[43767,43776],"disallowed"],[[43777,43782],"valid"],[[43783,43784],"disallowed"],[[43785,43790],"valid"],[[43791,43792],"disallowed"],[[43793,43798],"valid"],[[43799,43807],"disallowed"],[[43808,43814],"valid"],[[43815,43815],"disallowed"],[[43816,43822],"valid"],[[43823,43823],"disallowed"],[[43824,43866],"valid"],[[43867,43867],"valid",[],"NV8"],[[43868,43868],"mapped",[42791]],[[43869,43869],"mapped",[43831]],[[43870,43870],"mapped",[619]],[[43871,43871],"mapped",[43858]],[[43872,43875],"valid"],[[43876,43877],"valid"],[[43878,43887],"disallowed"],[[43888,43888],"mapped",[5024]],[[43889,43889],"mapped",[5025]],[[43890,43890],"mapped",[5026]],[[43891,43891],"mapped",[5027]],[[43892,43892],"mapped",[5028]],[[43893,43893],"mapped",[5029]],[[43894,43894],"mapped",[5030]],[[43895,43895],"mapped",[5031]],[[43896,43896],"mapped",[5032]],[[43897,43897],"mapped",[5033]],[[43898,43898],"mapped",[5034]],[[43899,43899],"mapped",[5035]],[[43900,43900],"mapped",[5036]],[[43901,43901],"mapped",[5037]],[[43902,43902],"mapped",[5038]],[[43903,43903],"mapped",[5039]],[[43904,43904],"mapped",[5040]],[[43905,43905],"mapped",[5041]],[[43906,43906],"mapped",[5042]],[[43907,43907],"mapped",[5043]],[[43908,43908],"mapped",[5044]],[[43909,43909],"mapped",[5045]],[[43910,43910],"mapped",[5046]],[[43911,43911],"mapped",[5047]],[[43912,43912],"mapped",[5048]],[[43913,43913],"mapped",[5049]],[[43914,43914],"mapped",[5050]],[[43915,43915],"mapped",[5051]],[[43916,43916],"mapped",[5052]],[[43917,43917],"mapped",[5053]],[[43918,43918],"mapped",[5054]],[[43919,43919],"mapped",[5055]],[[43920,43920],"mapped",[5056]],[[43921,43921],"mapped",[5057]],[[43922,43922],"mapped",[5058]],[[43923,43923],"mapped",[5059]],[[43924,43924],"mapped",[5060]],[[43925,43925],"mapped",[5061]],[[43926,43926],"mapped",[5062]],[[43927,43927],"mapped",[5063]],[[43928,43928],"mapped",[5064]],[[43929,43929],"mapped",[5065]],[[43930,43930],"mapped",[5066]],[[43931,43931],"mapped",[5067]],[[43932,43932],"mapped",[5068]],[[43933,43933],"mapped",[5069]],[[43934,43934],"mapped",[5070]],[[43935,43935],"mapped",[5071]],[[43936,43936],"mapped",[5072]],[[43937,43937],"mapped",[5073]],[[43938,43938],"mapped",[5074]],[[43939,43939],"mapped",[5075]],[[43940,43940],"mapped",[5076]],[[43941,43941],"mapped",[5077]],[[43942,43942],"mapped",[5078]],[[43943,43943],"mapped",[5079]],[[43944,43944],"mapped",[5080]],[[43945,43945],"mapped",[5081]],[[43946,43946],"mapped",[5082]],[[43947,43947],"mapped",[5083]],[[43948,43948],"mapped",[5084]],[[43949,43949],"mapped",[5085]],[[43950,43950],"mapped",[5086]],[[43951,43951],"mapped",[5087]],[[43952,43952],"mapped",[5088]],[[43953,43953],"mapped",[5089]],[[43954,43954],"mapped",[5090]],[[43955,43955],"mapped",[5091]],[[43956,43956],"mapped",[5092]],[[43957,43957],"mapped",[5093]],[[43958,43958],"mapped",[5094]],[[43959,43959],"mapped",[5095]],[[43960,43960],"mapped",[5096]],[[43961,43961],"mapped",[5097]],[[43962,43962],"mapped",[5098]],[[43963,43963],"mapped",[5099]],[[43964,43964],"mapped",[5100]],[[43965,43965],"mapped",[5101]],[[43966,43966],"mapped",[5102]],[[43967,43967],"mapped",[5103]],[[43968,44010],"valid"],[[44011,44011],"valid",[],"NV8"],[[44012,44013],"valid"],[[44014,44015],"disallowed"],[[44016,44025],"valid"],[[44026,44031],"disallowed"],[[44032,55203],"valid"],[[55204,55215],"disallowed"],[[55216,55238],"valid",[],"NV8"],[[55239,55242],"disallowed"],[[55243,55291],"valid",[],"NV8"],[[55292,55295],"disallowed"],[[55296,57343],"disallowed"],[[57344,63743],"disallowed"],[[63744,63744],"mapped",[35912]],[[63745,63745],"mapped",[26356]],[[63746,63746],"mapped",[36554]],[[63747,63747],"mapped",[36040]],[[63748,63748],"mapped",[28369]],[[63749,63749],"mapped",[20018]],[[63750,63750],"mapped",[21477]],[[63751,63752],"mapped",[40860]],[[63753,63753],"mapped",[22865]],[[63754,63754],"mapped",[37329]],[[63755,63755],"mapped",[21895]],[[63756,63756],"mapped",[22856]],[[63757,63757],"mapped",[25078]],[[63758,63758],"mapped",[30313]],[[63759,63759],"mapped",[32645]],[[63760,63760],"mapped",[34367]],[[63761,63761],"mapped",[34746]],[[63762,63762],"mapped",[35064]],[[63763,63763],"mapped",[37007]],[[63764,63764],"mapped",[27138]],[[63765,63765],"mapped",[27931]],[[63766,63766],"mapped",[28889]],[[63767,63767],"mapped",[29662]],[[63768,63768],"mapped",[33853]],[[63769,63769],"mapped",[37226]],[[63770,63770],"mapped",[39409]],[[63771,63771],"mapped",[20098]],[[63772,63772],"mapped",[21365]],[[63773,63773],"mapped",[27396]],[[63774,63774],"mapped",[29211]],[[63775,63775],"mapped",[34349]],[[63776,63776],"mapped",[40478]],[[63777,63777],"mapped",[23888]],[[63778,63778],"mapped",[28651]],[[63779,63779],"mapped",[34253]],[[63780,63780],"mapped",[35172]],[[63781,63781],"mapped",[25289]],[[63782,63782],"mapped",[33240]],[[63783,63783],"mapped",[34847]],[[63784,63784],"mapped",[24266]],[[63785,63785],"mapped",[26391]],[[63786,63786],"mapped",[28010]],[[63787,63787],"mapped",[29436]],[[63788,63788],"mapped",[37070]],[[63789,63789],"mapped",[20358]],[[63790,63790],"mapped",[20919]],[[63791,63791],"mapped",[21214]],[[63792,63792],"mapped",[25796]],[[63793,63793],"mapped",[27347]],[[63794,63794],"mapped",[29200]],[[63795,63795],"mapped",[30439]],[[63796,63796],"mapped",[32769]],[[63797,63797],"mapped",[34310]],[[63798,63798],"mapped",[34396]],[[63799,63799],"mapped",[36335]],[[63800,63800],"mapped",[38706]],[[63801,63801],"mapped",[39791]],[[63802,63802],"mapped",[40442]],[[63803,63803],"mapped",[30860]],[[63804,63804],"mapped",[31103]],[[63805,63805],"mapped",[32160]],[[63806,63806],"mapped",[33737]],[[63807,63807],"mapped",[37636]],[[63808,63808],"mapped",[40575]],[[63809,63809],"mapped",[35542]],[[63810,63810],"mapped",[22751]],[[63811,63811],"mapped",[24324]],[[63812,63812],"mapped",[31840]],[[63813,63813],"mapped",[32894]],[[63814,63814],"mapped",[29282]],[[63815,63815],"mapped",[30922]],[[63816,63816],"mapped",[36034]],[[63817,63817],"mapped",[38647]],[[63818,63818],"mapped",[22744]],[[63819,63819],"mapped",[23650]],[[63820,63820],"mapped",[27155]],[[63821,63821],"mapped",[28122]],[[63822,63822],"mapped",[28431]],[[63823,63823],"mapped",[32047]],[[63824,63824],"mapped",[32311]],[[63825,63825],"mapped",[38475]],[[63826,63826],"mapped",[21202]],[[63827,63827],"mapped",[32907]],[[63828,63828],"mapped",[20956]],[[63829,63829],"mapped",[20940]],[[63830,63830],"mapped",[31260]],[[63831,63831],"mapped",[32190]],[[63832,63832],"mapped",[33777]],[[63833,63833],"mapped",[38517]],[[63834,63834],"mapped",[35712]],[[63835,63835],"mapped",[25295]],[[63836,63836],"mapped",[27138]],[[63837,63837],"mapped",[35582]],[[63838,63838],"mapped",[20025]],[[63839,63839],"mapped",[23527]],[[63840,63840],"mapped",[24594]],[[63841,63841],"mapped",[29575]],[[63842,63842],"mapped",[30064]],[[63843,63843],"mapped",[21271]],[[63844,63844],"mapped",[30971]],[[63845,63845],"mapped",[20415]],[[63846,63846],"mapped",[24489]],[[63847,63847],"mapped",[19981]],[[63848,63848],"mapped",[27852]],[[63849,63849],"mapped",[25976]],[[63850,63850],"mapped",[32034]],[[63851,63851],"mapped",[21443]],[[63852,63852],"mapped",[22622]],[[63853,63853],"mapped",[30465]],[[63854,63854],"mapped",[33865]],[[63855,63855],"mapped",[35498]],[[63856,63856],"mapped",[27578]],[[63857,63857],"mapped",[36784]],[[63858,63858],"mapped",[27784]],[[63859,63859],"mapped",[25342]],[[63860,63860],"mapped",[33509]],[[63861,63861],"mapped",[25504]],[[63862,63862],"mapped",[30053]],[[63863,63863],"mapped",[20142]],[[63864,63864],"mapped",[20841]],[[63865,63865],"mapped",[20937]],[[63866,63866],"mapped",[26753]],[[63867,63867],"mapped",[31975]],[[63868,63868],"mapped",[33391]],[[63869,63869],"mapped",[35538]],[[63870,63870],"mapped",[37327]],[[63871,63871],"mapped",[21237]],[[63872,63872],"mapped",[21570]],[[63873,63873],"mapped",[22899]],[[63874,63874],"mapped",[24300]],[[63875,63875],"mapped",[26053]],[[63876,63876],"mapped",[28670]],[[63877,63877],"mapped",[31018]],[[63878,63878],"mapped",[38317]],[[63879,63879],"mapped",[39530]],[[63880,63880],"mapped",[40599]],[[63881,63881],"mapped",[40654]],[[63882,63882],"mapped",[21147]],[[63883,63883],"mapped",[26310]],[[63884,63884],"mapped",[27511]],[[63885,63885],"mapped",[36706]],[[63886,63886],"mapped",[24180]],[[63887,63887],"mapped",[24976]],[[63888,63888],"mapped",[25088]],[[63889,63889],"mapped",[25754]],[[63890,63890],"mapped",[28451]],[[63891,63891],"mapped",[29001]],[[63892,63892],"mapped",[29833]],[[63893,63893],"mapped",[31178]],[[63894,63894],"mapped",[32244]],[[63895,63895],"mapped",[32879]],[[63896,63896],"mapped",[36646]],[[63897,63897],"mapped",[34030]],[[63898,63898],"mapped",[36899]],[[63899,63899],"mapped",[37706]],[[63900,63900],"mapped",[21015]],[[63901,63901],"mapped",[21155]],[[63902,63902],"mapped",[21693]],[[63903,63903],"mapped",[28872]],[[63904,63904],"mapped",[35010]],[[63905,63905],"mapped",[35498]],[[63906,63906],"mapped",[24265]],[[63907,63907],"mapped",[24565]],[[63908,63908],"mapped",[25467]],[[63909,63909],"mapped",[27566]],[[63910,63910],"mapped",[31806]],[[63911,63911],"mapped",[29557]],[[63912,63912],"mapped",[20196]],[[63913,63913],"mapped",[22265]],[[63914,63914],"mapped",[23527]],[[63915,63915],"mapped",[23994]],[[63916,63916],"mapped",[24604]],[[63917,63917],"mapped",[29618]],[[63918,63918],"mapped",[29801]],[[63919,63919],"mapped",[32666]],[[63920,63920],"mapped",[32838]],[[63921,63921],"mapped",[37428]],[[63922,63922],"mapped",[38646]],[[63923,63923],"mapped",[38728]],[[63924,63924],"mapped",[38936]],[[63925,63925],"mapped",[20363]],[[63926,63926],"mapped",[31150]],[[63927,63927],"mapped",[37300]],[[63928,63928],"mapped",[38584]],[[63929,63929],"mapped",[24801]],[[63930,63930],"mapped",[20102]],[[63931,63931],"mapped",[20698]],[[63932,63932],"mapped",[23534]],[[63933,63933],"mapped",[23615]],[[63934,63934],"mapped",[26009]],[[63935,63935],"mapped",[27138]],[[63936,63936],"mapped",[29134]],[[63937,63937],"mapped",[30274]],[[63938,63938],"mapped",[34044]],[[63939,63939],"mapped",[36988]],[[63940,63940],"mapped",[40845]],[[63941,63941],"mapped",[26248]],[[63942,63942],"mapped",[38446]],[[63943,63943],"mapped",[21129]],[[63944,63944],"mapped",[26491]],[[63945,63945],"mapped",[26611]],[[63946,63946],"mapped",[27969]],[[63947,63947],"mapped",[28316]],[[63948,63948],"mapped",[29705]],[[63949,63949],"mapped",[30041]],[[63950,63950],"mapped",[30827]],[[63951,63951],"mapped",[32016]],[[63952,63952],"mapped",[39006]],[[63953,63953],"mapped",[20845]],[[63954,63954],"mapped",[25134]],[[63955,63955],"mapped",[38520]],[[63956,63956],"mapped",[20523]],[[63957,63957],"mapped",[23833]],[[63958,63958],"mapped",[28138]],[[63959,63959],"mapped",[36650]],[[63960,63960],"mapped",[24459]],[[63961,63961],"mapped",[24900]],[[63962,63962],"mapped",[26647]],[[63963,63963],"mapped",[29575]],[[63964,63964],"mapped",[38534]],[[63965,63965],"mapped",[21033]],[[63966,63966],"mapped",[21519]],[[63967,63967],"mapped",[23653]],[[63968,63968],"mapped",[26131]],[[63969,63969],"mapped",[26446]],[[63970,63970],"mapped",[26792]],[[63971,63971],"mapped",[27877]],[[63972,63972],"mapped",[29702]],[[63973,63973],"mapped",[30178]],[[63974,63974],"mapped",[32633]],[[63975,63975],"mapped",[35023]],[[63976,63976],"mapped",[35041]],[[63977,63977],"mapped",[37324]],[[63978,63978],"mapped",[38626]],[[63979,63979],"mapped",[21311]],[[63980,63980],"mapped",[28346]],[[63981,63981],"mapped",[21533]],[[63982,63982],"mapped",[29136]],[[63983,63983],"mapped",[29848]],[[63984,63984],"mapped",[34298]],[[63985,63985],"mapped",[38563]],[[63986,63986],"mapped",[40023]],[[63987,63987],"mapped",[40607]],[[63988,63988],"mapped",[26519]],[[63989,63989],"mapped",[28107]],[[63990,63990],"mapped",[33256]],[[63991,63991],"mapped",[31435]],[[63992,63992],"mapped",[31520]],[[63993,63993],"mapped",[31890]],[[63994,63994],"mapped",[29376]],[[63995,63995],"mapped",[28825]],[[63996,63996],"mapped",[35672]],[[63997,63997],"mapped",[20160]],[[63998,63998],"mapped",[33590]],[[63999,63999],"mapped",[21050]],[[64000,64000],"mapped",[20999]],[[64001,64001],"mapped",[24230]],[[64002,64002],"mapped",[25299]],[[64003,64003],"mapped",[31958]],[[64004,64004],"mapped",[23429]],[[64005,64005],"mapped",[27934]],[[64006,64006],"mapped",[26292]],[[64007,64007],"mapped",[36667]],[[64008,64008],"mapped",[34892]],[[64009,64009],"mapped",[38477]],[[64010,64010],"mapped",[35211]],[[64011,64011],"mapped",[24275]],[[64012,64012],"mapped",[20800]],[[64013,64013],"mapped",[21952]],[[64014,64015],"valid"],[[64016,64016],"mapped",[22618]],[[64017,64017],"valid"],[[64018,64018],"mapped",[26228]],[[64019,64020],"valid"],[[64021,64021],"mapped",[20958]],[[64022,64022],"mapped",[29482]],[[64023,64023],"mapped",[30410]],[[64024,64024],"mapped",[31036]],[[64025,64025],"mapped",[31070]],[[64026,64026],"mapped",[31077]],[[64027,64027],"mapped",[31119]],[[64028,64028],"mapped",[38742]],[[64029,64029],"mapped",[31934]],[[64030,64030],"mapped",[32701]],[[64031,64031],"valid"],[[64032,64032],"mapped",[34322]],[[64033,64033],"valid"],[[64034,64034],"mapped",[35576]],[[64035,64036],"valid"],[[64037,64037],"mapped",[36920]],[[64038,64038],"mapped",[37117]],[[64039,64041],"valid"],[[64042,64042],"mapped",[39151]],[[64043,64043],"mapped",[39164]],[[64044,64044],"mapped",[39208]],[[64045,64045],"mapped",[40372]],[[64046,64046],"mapped",[37086]],[[64047,64047],"mapped",[38583]],[[64048,64048],"mapped",[20398]],[[64049,64049],"mapped",[20711]],[[64050,64050],"mapped",[20813]],[[64051,64051],"mapped",[21193]],[[64052,64052],"mapped",[21220]],[[64053,64053],"mapped",[21329]],[[64054,64054],"mapped",[21917]],[[64055,64055],"mapped",[22022]],[[64056,64056],"mapped",[22120]],[[64057,64057],"mapped",[22592]],[[64058,64058],"mapped",[22696]],[[64059,64059],"mapped",[23652]],[[64060,64060],"mapped",[23662]],[[64061,64061],"mapped",[24724]],[[64062,64062],"mapped",[24936]],[[64063,64063],"mapped",[24974]],[[64064,64064],"mapped",[25074]],[[64065,64065],"mapped",[25935]],[[64066,64066],"mapped",[26082]],[[64067,64067],"mapped",[26257]],[[64068,64068],"mapped",[26757]],[[64069,64069],"mapped",[28023]],[[64070,64070],"mapped",[28186]],[[64071,64071],"mapped",[28450]],[[64072,64072],"mapped",[29038]],[[64073,64073],"mapped",[29227]],[[64074,64074],"mapped",[29730]],[[64075,64075],"mapped",[30865]],[[64076,64076],"mapped",[31038]],[[64077,64077],"mapped",[31049]],[[64078,64078],"mapped",[31048]],[[64079,64079],"mapped",[31056]],[[64080,64080],"mapped",[31062]],[[64081,64081],"mapped",[31069]],[[64082,64082],"mapped",[31117]],[[64083,64083],"mapped",[31118]],[[64084,64084],"mapped",[31296]],[[64085,64085],"mapped",[31361]],[[64086,64086],"mapped",[31680]],[[64087,64087],"mapped",[32244]],[[64088,64088],"mapped",[32265]],[[64089,64089],"mapped",[32321]],[[64090,64090],"mapped",[32626]],[[64091,64091],"mapped",[32773]],[[64092,64092],"mapped",[33261]],[[64093,64094],"mapped",[33401]],[[64095,64095],"mapped",[33879]],[[64096,64096],"mapped",[35088]],[[64097,64097],"mapped",[35222]],[[64098,64098],"mapped",[35585]],[[64099,64099],"mapped",[35641]],[[64100,64100],"mapped",[36051]],[[64101,64101],"mapped",[36104]],[[64102,64102],"mapped",[36790]],[[64103,64103],"mapped",[36920]],[[64104,64104],"mapped",[38627]],[[64105,64105],"mapped",[38911]],[[64106,64106],"mapped",[38971]],[[64107,64107],"mapped",[24693]],[[64108,64108],"mapped",[148206]],[[64109,64109],"mapped",[33304]],[[64110,64111],"disallowed"],[[64112,64112],"mapped",[20006]],[[64113,64113],"mapped",[20917]],[[64114,64114],"mapped",[20840]],[[64115,64115],"mapped",[20352]],[[64116,64116],"mapped",[20805]],[[64117,64117],"mapped",[20864]],[[64118,64118],"mapped",[21191]],[[64119,64119],"mapped",[21242]],[[64120,64120],"mapped",[21917]],[[64121,64121],"mapped",[21845]],[[64122,64122],"mapped",[21913]],[[64123,64123],"mapped",[21986]],[[64124,64124],"mapped",[22618]],[[64125,64125],"mapped",[22707]],[[64126,64126],"mapped",[22852]],[[64127,64127],"mapped",[22868]],[[64128,64128],"mapped",[23138]],[[64129,64129],"mapped",[23336]],[[64130,64130],"mapped",[24274]],[[64131,64131],"mapped",[24281]],[[64132,64132],"mapped",[24425]],[[64133,64133],"mapped",[24493]],[[64134,64134],"mapped",[24792]],[[64135,64135],"mapped",[24910]],[[64136,64136],"mapped",[24840]],[[64137,64137],"mapped",[24974]],[[64138,64138],"mapped",[24928]],[[64139,64139],"mapped",[25074]],[[64140,64140],"mapped",[25140]],[[64141,64141],"mapped",[25540]],[[64142,64142],"mapped",[25628]],[[64143,64143],"mapped",[25682]],[[64144,64144],"mapped",[25942]],[[64145,64145],"mapped",[26228]],[[64146,64146],"mapped",[26391]],[[64147,64147],"mapped",[26395]],[[64148,64148],"mapped",[26454]],[[64149,64149],"mapped",[27513]],[[64150,64150],"mapped",[27578]],[[64151,64151],"mapped",[27969]],[[64152,64152],"mapped",[28379]],[[64153,64153],"mapped",[28363]],[[64154,64154],"mapped",[28450]],[[64155,64155],"mapped",[28702]],[[64156,64156],"mapped",[29038]],[[64157,64157],"mapped",[30631]],[[64158,64158],"mapped",[29237]],[[64159,64159],"mapped",[29359]],[[64160,64160],"mapped",[29482]],[[64161,64161],"mapped",[29809]],[[64162,64162],"mapped",[29958]],[[64163,64163],"mapped",[30011]],[[64164,64164],"mapped",[30237]],[[64165,64165],"mapped",[30239]],[[64166,64166],"mapped",[30410]],[[64167,64167],"mapped",[30427]],[[64168,64168],"mapped",[30452]],[[64169,64169],"mapped",[30538]],[[64170,64170],"mapped",[30528]],[[64171,64171],"mapped",[30924]],[[64172,64172],"mapped",[31409]],[[64173,64173],"mapped",[31680]],[[64174,64174],"mapped",[31867]],[[64175,64175],"mapped",[32091]],[[64176,64176],"mapped",[32244]],[[64177,64177],"mapped",[32574]],[[64178,64178],"mapped",[32773]],[[64179,64179],"mapped",[33618]],[[64180,64180],"mapped",[33775]],[[64181,64181],"mapped",[34681]],[[64182,64182],"mapped",[35137]],[[64183,64183],"mapped",[35206]],[[64184,64184],"mapped",[35222]],[[64185,64185],"mapped",[35519]],[[64186,64186],"mapped",[35576]],[[64187,64187],"mapped",[35531]],[[64188,64188],"mapped",[35585]],[[64189,64189],"mapped",[35582]],[[64190,64190],"mapped",[35565]],[[64191,64191],"mapped",[35641]],[[64192,64192],"mapped",[35722]],[[64193,64193],"mapped",[36104]],[[64194,64194],"mapped",[36664]],[[64195,64195],"mapped",[36978]],[[64196,64196],"mapped",[37273]],[[64197,64197],"mapped",[37494]],[[64198,64198],"mapped",[38524]],[[64199,64199],"mapped",[38627]],[[64200,64200],"mapped",[38742]],[[64201,64201],"mapped",[38875]],[[64202,64202],"mapped",[38911]],[[64203,64203],"mapped",[38923]],[[64204,64204],"mapped",[38971]],[[64205,64205],"mapped",[39698]],[[64206,64206],"mapped",[40860]],[[64207,64207],"mapped",[141386]],[[64208,64208],"mapped",[141380]],[[64209,64209],"mapped",[144341]],[[64210,64210],"mapped",[15261]],[[64211,64211],"mapped",[16408]],[[64212,64212],"mapped",[16441]],[[64213,64213],"mapped",[152137]],[[64214,64214],"mapped",[154832]],[[64215,64215],"mapped",[163539]],[[64216,64216],"mapped",[40771]],[[64217,64217],"mapped",[40846]],[[64218,64255],"disallowed"],[[64256,64256],"mapped",[102,102]],[[64257,64257],"mapped",[102,105]],[[64258,64258],"mapped",[102,108]],[[64259,64259],"mapped",[102,102,105]],[[64260,64260],"mapped",[102,102,108]],[[64261,64262],"mapped",[115,116]],[[64263,64274],"disallowed"],[[64275,64275],"mapped",[1396,1398]],[[64276,64276],"mapped",[1396,1381]],[[64277,64277],"mapped",[1396,1387]],[[64278,64278],"mapped",[1406,1398]],[[64279,64279],"mapped",[1396,1389]],[[64280,64284],"disallowed"],[[64285,64285],"mapped",[1497,1460]],[[64286,64286],"valid"],[[64287,64287],"mapped",[1522,1463]],[[64288,64288],"mapped",[1506]],[[64289,64289],"mapped",[1488]],[[64290,64290],"mapped",[1491]],[[64291,64291],"mapped",[1492]],[[64292,64292],"mapped",[1499]],[[64293,64293],"mapped",[1500]],[[64294,64294],"mapped",[1501]],[[64295,64295],"mapped",[1512]],[[64296,64296],"mapped",[1514]],[[64297,64297],"disallowed_STD3_mapped",[43]],[[64298,64298],"mapped",[1513,1473]],[[64299,64299],"mapped",[1513,1474]],[[64300,64300],"mapped",[1513,1468,1473]],[[64301,64301],"mapped",[1513,1468,1474]],[[64302,64302],"mapped",[1488,1463]],[[64303,64303],"mapped",[1488,1464]],[[64304,64304],"mapped",[1488,1468]],[[64305,64305],"mapped",[1489,1468]],[[64306,64306],"mapped",[1490,1468]],[[64307,64307],"mapped",[1491,1468]],[[64308,64308],"mapped",[1492,1468]],[[64309,64309],"mapped",[1493,1468]],[[64310,64310],"mapped",[1494,1468]],[[64311,64311],"disallowed"],[[64312,64312],"mapped",[1496,1468]],[[64313,64313],"mapped",[1497,1468]],[[64314,64314],"mapped",[1498,1468]],[[64315,64315],"mapped",[1499,1468]],[[64316,64316],"mapped",[1500,1468]],[[64317,64317],"disallowed"],[[64318,64318],"mapped",[1502,1468]],[[64319,64319],"disallowed"],[[64320,64320],"mapped",[1504,1468]],[[64321,64321],"mapped",[1505,1468]],[[64322,64322],"disallowed"],[[64323,64323],"mapped",[1507,1468]],[[64324,64324],"mapped",[1508,1468]],[[64325,64325],"disallowed"],[[64326,64326],"mapped",[1510,1468]],[[64327,64327],"mapped",[1511,1468]],[[64328,64328],"mapped",[1512,1468]],[[64329,64329],"mapped",[1513,1468]],[[64330,64330],"mapped",[1514,1468]],[[64331,64331],"mapped",[1493,1465]],[[64332,64332],"mapped",[1489,1471]],[[64333,64333],"mapped",[1499,1471]],[[64334,64334],"mapped",[1508,1471]],[[64335,64335],"mapped",[1488,1500]],[[64336,64337],"mapped",[1649]],[[64338,64341],"mapped",[1659]],[[64342,64345],"mapped",[1662]],[[64346,64349],"mapped",[1664]],[[64350,64353],"mapped",[1658]],[[64354,64357],"mapped",[1663]],[[64358,64361],"mapped",[1657]],[[64362,64365],"mapped",[1700]],[[64366,64369],"mapped",[1702]],[[64370,64373],"mapped",[1668]],[[64374,64377],"mapped",[1667]],[[64378,64381],"mapped",[1670]],[[64382,64385],"mapped",[1671]],[[64386,64387],"mapped",[1677]],[[64388,64389],"mapped",[1676]],[[64390,64391],"mapped",[1678]],[[64392,64393],"mapped",[1672]],[[64394,64395],"mapped",[1688]],[[64396,64397],"mapped",[1681]],[[64398,64401],"mapped",[1705]],[[64402,64405],"mapped",[1711]],[[64406,64409],"mapped",[1715]],[[64410,64413],"mapped",[1713]],[[64414,64415],"mapped",[1722]],[[64416,64419],"mapped",[1723]],[[64420,64421],"mapped",[1728]],[[64422,64425],"mapped",[1729]],[[64426,64429],"mapped",[1726]],[[64430,64431],"mapped",[1746]],[[64432,64433],"mapped",[1747]],[[64434,64449],"valid",[],"NV8"],[[64450,64466],"disallowed"],[[64467,64470],"mapped",[1709]],[[64471,64472],"mapped",[1735]],[[64473,64474],"mapped",[1734]],[[64475,64476],"mapped",[1736]],[[64477,64477],"mapped",[1735,1652]],[[64478,64479],"mapped",[1739]],[[64480,64481],"mapped",[1733]],[[64482,64483],"mapped",[1737]],[[64484,64487],"mapped",[1744]],[[64488,64489],"mapped",[1609]],[[64490,64491],"mapped",[1574,1575]],[[64492,64493],"mapped",[1574,1749]],[[64494,64495],"mapped",[1574,1608]],[[64496,64497],"mapped",[1574,1735]],[[64498,64499],"mapped",[1574,1734]],[[64500,64501],"mapped",[1574,1736]],[[64502,64504],"mapped",[1574,1744]],[[64505,64507],"mapped",[1574,1609]],[[64508,64511],"mapped",[1740]],[[64512,64512],"mapped",[1574,1580]],[[64513,64513],"mapped",[1574,1581]],[[64514,64514],"mapped",[1574,1605]],[[64515,64515],"mapped",[1574,1609]],[[64516,64516],"mapped",[1574,1610]],[[64517,64517],"mapped",[1576,1580]],[[64518,64518],"mapped",[1576,1581]],[[64519,64519],"mapped",[1576,1582]],[[64520,64520],"mapped",[1576,1605]],[[64521,64521],"mapped",[1576,1609]],[[64522,64522],"mapped",[1576,1610]],[[64523,64523],"mapped",[1578,1580]],[[64524,64524],"mapped",[1578,1581]],[[64525,64525],"mapped",[1578,1582]],[[64526,64526],"mapped",[1578,1605]],[[64527,64527],"mapped",[1578,1609]],[[64528,64528],"mapped",[1578,1610]],[[64529,64529],"mapped",[1579,1580]],[[64530,64530],"mapped",[1579,1605]],[[64531,64531],"mapped",[1579,1609]],[[64532,64532],"mapped",[1579,1610]],[[64533,64533],"mapped",[1580,1581]],[[64534,64534],"mapped",[1580,1605]],[[64535,64535],"mapped",[1581,1580]],[[64536,64536],"mapped",[1581,1605]],[[64537,64537],"mapped",[1582,1580]],[[64538,64538],"mapped",[1582,1581]],[[64539,64539],"mapped",[1582,1605]],[[64540,64540],"mapped",[1587,1580]],[[64541,64541],"mapped",[1587,1581]],[[64542,64542],"mapped",[1587,1582]],[[64543,64543],"mapped",[1587,1605]],[[64544,64544],"mapped",[1589,1581]],[[64545,64545],"mapped",[1589,1605]],[[64546,64546],"mapped",[1590,1580]],[[64547,64547],"mapped",[1590,1581]],[[64548,64548],"mapped",[1590,1582]],[[64549,64549],"mapped",[1590,1605]],[[64550,64550],"mapped",[1591,1581]],[[64551,64551],"mapped",[1591,1605]],[[64552,64552],"mapped",[1592,1605]],[[64553,64553],"mapped",[1593,1580]],[[64554,64554],"mapped",[1593,1605]],[[64555,64555],"mapped",[1594,1580]],[[64556,64556],"mapped",[1594,1605]],[[64557,64557],"mapped",[1601,1580]],[[64558,64558],"mapped",[1601,1581]],[[64559,64559],"mapped",[1601,1582]],[[64560,64560],"mapped",[1601,1605]],[[64561,64561],"mapped",[1601,1609]],[[64562,64562],"mapped",[1601,1610]],[[64563,64563],"mapped",[1602,1581]],[[64564,64564],"mapped",[1602,1605]],[[64565,64565],"mapped",[1602,1609]],[[64566,64566],"mapped",[1602,1610]],[[64567,64567],"mapped",[1603,1575]],[[64568,64568],"mapped",[1603,1580]],[[64569,64569],"mapped",[1603,1581]],[[64570,64570],"mapped",[1603,1582]],[[64571,64571],"mapped",[1603,1604]],[[64572,64572],"mapped",[1603,1605]],[[64573,64573],"mapped",[1603,1609]],[[64574,64574],"mapped",[1603,1610]],[[64575,64575],"mapped",[1604,1580]],[[64576,64576],"mapped",[1604,1581]],[[64577,64577],"mapped",[1604,1582]],[[64578,64578],"mapped",[1604,1605]],[[64579,64579],"mapped",[1604,1609]],[[64580,64580],"mapped",[1604,1610]],[[64581,64581],"mapped",[1605,1580]],[[64582,64582],"mapped",[1605,1581]],[[64583,64583],"mapped",[1605,1582]],[[64584,64584],"mapped",[1605,1605]],[[64585,64585],"mapped",[1605,1609]],[[64586,64586],"mapped",[1605,1610]],[[64587,64587],"mapped",[1606,1580]],[[64588,64588],"mapped",[1606,1581]],[[64589,64589],"mapped",[1606,1582]],[[64590,64590],"mapped",[1606,1605]],[[64591,64591],"mapped",[1606,1609]],[[64592,64592],"mapped",[1606,1610]],[[64593,64593],"mapped",[1607,1580]],[[64594,64594],"mapped",[1607,1605]],[[64595,64595],"mapped",[1607,1609]],[[64596,64596],"mapped",[1607,1610]],[[64597,64597],"mapped",[1610,1580]],[[64598,64598],"mapped",[1610,1581]],[[64599,64599],"mapped",[1610,1582]],[[64600,64600],"mapped",[1610,1605]],[[64601,64601],"mapped",[1610,1609]],[[64602,64602],"mapped",[1610,1610]],[[64603,64603],"mapped",[1584,1648]],[[64604,64604],"mapped",[1585,1648]],[[64605,64605],"mapped",[1609,1648]],[[64606,64606],"disallowed_STD3_mapped",[32,1612,1617]],[[64607,64607],"disallowed_STD3_mapped",[32,1613,1617]],[[64608,64608],"disallowed_STD3_mapped",[32,1614,1617]],[[64609,64609],"disallowed_STD3_mapped",[32,1615,1617]],[[64610,64610],"disallowed_STD3_mapped",[32,1616,1617]],[[64611,64611],"disallowed_STD3_mapped",[32,1617,1648]],[[64612,64612],"mapped",[1574,1585]],[[64613,64613],"mapped",[1574,1586]],[[64614,64614],"mapped",[1574,1605]],[[64615,64615],"mapped",[1574,1606]],[[64616,64616],"mapped",[1574,1609]],[[64617,64617],"mapped",[1574,1610]],[[64618,64618],"mapped",[1576,1585]],[[64619,64619],"mapped",[1576,1586]],[[64620,64620],"mapped",[1576,1605]],[[64621,64621],"mapped",[1576,1606]],[[64622,64622],"mapped",[1576,1609]],[[64623,64623],"mapped",[1576,1610]],[[64624,64624],"mapped",[1578,1585]],[[64625,64625],"mapped",[1578,1586]],[[64626,64626],"mapped",[1578,1605]],[[64627,64627],"mapped",[1578,1606]],[[64628,64628],"mapped",[1578,1609]],[[64629,64629],"mapped",[1578,1610]],[[64630,64630],"mapped",[1579,1585]],[[64631,64631],"mapped",[1579,1586]],[[64632,64632],"mapped",[1579,1605]],[[64633,64633],"mapped",[1579,1606]],[[64634,64634],"mapped",[1579,1609]],[[64635,64635],"mapped",[1579,1610]],[[64636,64636],"mapped",[1601,1609]],[[64637,64637],"mapped",[1601,1610]],[[64638,64638],"mapped",[1602,1609]],[[64639,64639],"mapped",[1602,1610]],[[64640,64640],"mapped",[1603,1575]],[[64641,64641],"mapped",[1603,1604]],[[64642,64642],"mapped",[1603,1605]],[[64643,64643],"mapped",[1603,1609]],[[64644,64644],"mapped",[1603,1610]],[[64645,64645],"mapped",[1604,1605]],[[64646,64646],"mapped",[1604,1609]],[[64647,64647],"mapped",[1604,1610]],[[64648,64648],"mapped",[1605,1575]],[[64649,64649],"mapped",[1605,1605]],[[64650,64650],"mapped",[1606,1585]],[[64651,64651],"mapped",[1606,1586]],[[64652,64652],"mapped",[1606,1605]],[[64653,64653],"mapped",[1606,1606]],[[64654,64654],"mapped",[1606,1609]],[[64655,64655],"mapped",[1606,1610]],[[64656,64656],"mapped",[1609,1648]],[[64657,64657],"mapped",[1610,1585]],[[64658,64658],"mapped",[1610,1586]],[[64659,64659],"mapped",[1610,1605]],[[64660,64660],"mapped",[1610,1606]],[[64661,64661],"mapped",[1610,1609]],[[64662,64662],"mapped",[1610,1610]],[[64663,64663],"mapped",[1574,1580]],[[64664,64664],"mapped",[1574,1581]],[[64665,64665],"mapped",[1574,1582]],[[64666,64666],"mapped",[1574,1605]],[[64667,64667],"mapped",[1574,1607]],[[64668,64668],"mapped",[1576,1580]],[[64669,64669],"mapped",[1576,1581]],[[64670,64670],"mapped",[1576,1582]],[[64671,64671],"mapped",[1576,1605]],[[64672,64672],"mapped",[1576,1607]],[[64673,64673],"mapped",[1578,1580]],[[64674,64674],"mapped",[1578,1581]],[[64675,64675],"mapped",[1578,1582]],[[64676,64676],"mapped",[1578,1605]],[[64677,64677],"mapped",[1578,1607]],[[64678,64678],"mapped",[1579,1605]],[[64679,64679],"mapped",[1580,1581]],[[64680,64680],"mapped",[1580,1605]],[[64681,64681],"mapped",[1581,1580]],[[64682,64682],"mapped",[1581,1605]],[[64683,64683],"mapped",[1582,1580]],[[64684,64684],"mapped",[1582,1605]],[[64685,64685],"mapped",[1587,1580]],[[64686,64686],"mapped",[1587,1581]],[[64687,64687],"mapped",[1587,1582]],[[64688,64688],"mapped",[1587,1605]],[[64689,64689],"mapped",[1589,1581]],[[64690,64690],"mapped",[1589,1582]],[[64691,64691],"mapped",[1589,1605]],[[64692,64692],"mapped",[1590,1580]],[[64693,64693],"mapped",[1590,1581]],[[64694,64694],"mapped",[1590,1582]],[[64695,64695],"mapped",[1590,1605]],[[64696,64696],"mapped",[1591,1581]],[[64697,64697],"mapped",[1592,1605]],[[64698,64698],"mapped",[1593,1580]],[[64699,64699],"mapped",[1593,1605]],[[64700,64700],"mapped",[1594,1580]],[[64701,64701],"mapped",[1594,1605]],[[64702,64702],"mapped",[1601,1580]],[[64703,64703],"mapped",[1601,1581]],[[64704,64704],"mapped",[1601,1582]],[[64705,64705],"mapped",[1601,1605]],[[64706,64706],"mapped",[1602,1581]],[[64707,64707],"mapped",[1602,1605]],[[64708,64708],"mapped",[1603,1580]],[[64709,64709],"mapped",[1603,1581]],[[64710,64710],"mapped",[1603,1582]],[[64711,64711],"mapped",[1603,1604]],[[64712,64712],"mapped",[1603,1605]],[[64713,64713],"mapped",[1604,1580]],[[64714,64714],"mapped",[1604,1581]],[[64715,64715],"mapped",[1604,1582]],[[64716,64716],"mapped",[1604,1605]],[[64717,64717],"mapped",[1604,1607]],[[64718,64718],"mapped",[1605,1580]],[[64719,64719],"mapped",[1605,1581]],[[64720,64720],"mapped",[1605,1582]],[[64721,64721],"mapped",[1605,1605]],[[64722,64722],"mapped",[1606,1580]],[[64723,64723],"mapped",[1606,1581]],[[64724,64724],"mapped",[1606,1582]],[[64725,64725],"mapped",[1606,1605]],[[64726,64726],"mapped",[1606,1607]],[[64727,64727],"mapped",[1607,1580]],[[64728,64728],"mapped",[1607,1605]],[[64729,64729],"mapped",[1607,1648]],[[64730,64730],"mapped",[1610,1580]],[[64731,64731],"mapped",[1610,1581]],[[64732,64732],"mapped",[1610,1582]],[[64733,64733],"mapped",[1610,1605]],[[64734,64734],"mapped",[1610,1607]],[[64735,64735],"mapped",[1574,1605]],[[64736,64736],"mapped",[1574,1607]],[[64737,64737],"mapped",[1576,1605]],[[64738,64738],"mapped",[1576,1607]],[[64739,64739],"mapped",[1578,1605]],[[64740,64740],"mapped",[1578,1607]],[[64741,64741],"mapped",[1579,1605]],[[64742,64742],"mapped",[1579,1607]],[[64743,64743],"mapped",[1587,1605]],[[64744,64744],"mapped",[1587,1607]],[[64745,64745],"mapped",[1588,1605]],[[64746,64746],"mapped",[1588,1607]],[[64747,64747],"mapped",[1603,1604]],[[64748,64748],"mapped",[1603,1605]],[[64749,64749],"mapped",[1604,1605]],[[64750,64750],"mapped",[1606,1605]],[[64751,64751],"mapped",[1606,1607]],[[64752,64752],"mapped",[1610,1605]],[[64753,64753],"mapped",[1610,1607]],[[64754,64754],"mapped",[1600,1614,1617]],[[64755,64755],"mapped",[1600,1615,1617]],[[64756,64756],"mapped",[1600,1616,1617]],[[64757,64757],"mapped",[1591,1609]],[[64758,64758],"mapped",[1591,1610]],[[64759,64759],"mapped",[1593,1609]],[[64760,64760],"mapped",[1593,1610]],[[64761,64761],"mapped",[1594,1609]],[[64762,64762],"mapped",[1594,1610]],[[64763,64763],"mapped",[1587,1609]],[[64764,64764],"mapped",[1587,1610]],[[64765,64765],"mapped",[1588,1609]],[[64766,64766],"mapped",[1588,1610]],[[64767,64767],"mapped",[1581,1609]],[[64768,64768],"mapped",[1581,1610]],[[64769,64769],"mapped",[1580,1609]],[[64770,64770],"mapped",[1580,1610]],[[64771,64771],"mapped",[1582,1609]],[[64772,64772],"mapped",[1582,1610]],[[64773,64773],"mapped",[1589,1609]],[[64774,64774],"mapped",[1589,1610]],[[64775,64775],"mapped",[1590,1609]],[[64776,64776],"mapped",[1590,1610]],[[64777,64777],"mapped",[1588,1580]],[[64778,64778],"mapped",[1588,1581]],[[64779,64779],"mapped",[1588,1582]],[[64780,64780],"mapped",[1588,1605]],[[64781,64781],"mapped",[1588,1585]],[[64782,64782],"mapped",[1587,1585]],[[64783,64783],"mapped",[1589,1585]],[[64784,64784],"mapped",[1590,1585]],[[64785,64785],"mapped",[1591,1609]],[[64786,64786],"mapped",[1591,1610]],[[64787,64787],"mapped",[1593,1609]],[[64788,64788],"mapped",[1593,1610]],[[64789,64789],"mapped",[1594,1609]],[[64790,64790],"mapped",[1594,1610]],[[64791,64791],"mapped",[1587,1609]],[[64792,64792],"mapped",[1587,1610]],[[64793,64793],"mapped",[1588,1609]],[[64794,64794],"mapped",[1588,1610]],[[64795,64795],"mapped",[1581,1609]],[[64796,64796],"mapped",[1581,1610]],[[64797,64797],"mapped",[1580,1609]],[[64798,64798],"mapped",[1580,1610]],[[64799,64799],"mapped",[1582,1609]],[[64800,64800],"mapped",[1582,1610]],[[64801,64801],"mapped",[1589,1609]],[[64802,64802],"mapped",[1589,1610]],[[64803,64803],"mapped",[1590,1609]],[[64804,64804],"mapped",[1590,1610]],[[64805,64805],"mapped",[1588,1580]],[[64806,64806],"mapped",[1588,1581]],[[64807,64807],"mapped",[1588,1582]],[[64808,64808],"mapped",[1588,1605]],[[64809,64809],"mapped",[1588,1585]],[[64810,64810],"mapped",[1587,1585]],[[64811,64811],"mapped",[1589,1585]],[[64812,64812],"mapped",[1590,1585]],[[64813,64813],"mapped",[1588,1580]],[[64814,64814],"mapped",[1588,1581]],[[64815,64815],"mapped",[1588,1582]],[[64816,64816],"mapped",[1588,1605]],[[64817,64817],"mapped",[1587,1607]],[[64818,64818],"mapped",[1588,1607]],[[64819,64819],"mapped",[1591,1605]],[[64820,64820],"mapped",[1587,1580]],[[64821,64821],"mapped",[1587,1581]],[[64822,64822],"mapped",[1587,1582]],[[64823,64823],"mapped",[1588,1580]],[[64824,64824],"mapped",[1588,1581]],[[64825,64825],"mapped",[1588,1582]],[[64826,64826],"mapped",[1591,1605]],[[64827,64827],"mapped",[1592,1605]],[[64828,64829],"mapped",[1575,1611]],[[64830,64831],"valid",[],"NV8"],[[64832,64847],"disallowed"],[[64848,64848],"mapped",[1578,1580,1605]],[[64849,64850],"mapped",[1578,1581,1580]],[[64851,64851],"mapped",[1578,1581,1605]],[[64852,64852],"mapped",[1578,1582,1605]],[[64853,64853],"mapped",[1578,1605,1580]],[[64854,64854],"mapped",[1578,1605,1581]],[[64855,64855],"mapped",[1578,1605,1582]],[[64856,64857],"mapped",[1580,1605,1581]],[[64858,64858],"mapped",[1581,1605,1610]],[[64859,64859],"mapped",[1581,1605,1609]],[[64860,64860],"mapped",[1587,1581,1580]],[[64861,64861],"mapped",[1587,1580,1581]],[[64862,64862],"mapped",[1587,1580,1609]],[[64863,64864],"mapped",[1587,1605,1581]],[[64865,64865],"mapped",[1587,1605,1580]],[[64866,64867],"mapped",[1587,1605,1605]],[[64868,64869],"mapped",[1589,1581,1581]],[[64870,64870],"mapped",[1589,1605,1605]],[[64871,64872],"mapped",[1588,1581,1605]],[[64873,64873],"mapped",[1588,1580,1610]],[[64874,64875],"mapped",[1588,1605,1582]],[[64876,64877],"mapped",[1588,1605,1605]],[[64878,64878],"mapped",[1590,1581,1609]],[[64879,64880],"mapped",[1590,1582,1605]],[[64881,64882],"mapped",[1591,1605,1581]],[[64883,64883],"mapped",[1591,1605,1605]],[[64884,64884],"mapped",[1591,1605,1610]],[[64885,64885],"mapped",[1593,1580,1605]],[[64886,64887],"mapped",[1593,1605,1605]],[[64888,64888],"mapped",[1593,1605,1609]],[[64889,64889],"mapped",[1594,1605,1605]],[[64890,64890],"mapped",[1594,1605,1610]],[[64891,64891],"mapped",[1594,1605,1609]],[[64892,64893],"mapped",[1601,1582,1605]],[[64894,64894],"mapped",[1602,1605,1581]],[[64895,64895],"mapped",[1602,1605,1605]],[[64896,64896],"mapped",[1604,1581,1605]],[[64897,64897],"mapped",[1604,1581,1610]],[[64898,64898],"mapped",[1604,1581,1609]],[[64899,64900],"mapped",[1604,1580,1580]],[[64901,64902],"mapped",[1604,1582,1605]],[[64903,64904],"mapped",[1604,1605,1581]],[[64905,64905],"mapped",[1605,1581,1580]],[[64906,64906],"mapped",[1605,1581,1605]],[[64907,64907],"mapped",[1605,1581,1610]],[[64908,64908],"mapped",[1605,1580,1581]],[[64909,64909],"mapped",[1605,1580,1605]],[[64910,64910],"mapped",[1605,1582,1580]],[[64911,64911],"mapped",[1605,1582,1605]],[[64912,64913],"disallowed"],[[64914,64914],"mapped",[1605,1580,1582]],[[64915,64915],"mapped",[1607,1605,1580]],[[64916,64916],"mapped",[1607,1605,1605]],[[64917,64917],"mapped",[1606,1581,1605]],[[64918,64918],"mapped",[1606,1581,1609]],[[64919,64920],"mapped",[1606,1580,1605]],[[64921,64921],"mapped",[1606,1580,1609]],[[64922,64922],"mapped",[1606,1605,1610]],[[64923,64923],"mapped",[1606,1605,1609]],[[64924,64925],"mapped",[1610,1605,1605]],[[64926,64926],"mapped",[1576,1582,1610]],[[64927,64927],"mapped",[1578,1580,1610]],[[64928,64928],"mapped",[1578,1580,1609]],[[64929,64929],"mapped",[1578,1582,1610]],[[64930,64930],"mapped",[1578,1582,1609]],[[64931,64931],"mapped",[1578,1605,1610]],[[64932,64932],"mapped",[1578,1605,1609]],[[64933,64933],"mapped",[1580,1605,1610]],[[64934,64934],"mapped",[1580,1581,1609]],[[64935,64935],"mapped",[1580,1605,1609]],[[64936,64936],"mapped",[1587,1582,1609]],[[64937,64937],"mapped",[1589,1581,1610]],[[64938,64938],"mapped",[1588,1581,1610]],[[64939,64939],"mapped",[1590,1581,1610]],[[64940,64940],"mapped",[1604,1580,1610]],[[64941,64941],"mapped",[1604,1605,1610]],[[64942,64942],"mapped",[1610,1581,1610]],[[64943,64943],"mapped",[1610,1580,1610]],[[64944,64944],"mapped",[1610,1605,1610]],[[64945,64945],"mapped",[1605,1605,1610]],[[64946,64946],"mapped",[1602,1605,1610]],[[64947,64947],"mapped",[1606,1581,1610]],[[64948,64948],"mapped",[1602,1605,1581]],[[64949,64949],"mapped",[1604,1581,1605]],[[64950,64950],"mapped",[1593,1605,1610]],[[64951,64951],"mapped",[1603,1605,1610]],[[64952,64952],"mapped",[1606,1580,1581]],[[64953,64953],"mapped",[1605,1582,1610]],[[64954,64954],"mapped",[1604,1580,1605]],[[64955,64955],"mapped",[1603,1605,1605]],[[64956,64956],"mapped",[1604,1580,1605]],[[64957,64957],"mapped",[1606,1580,1581]],[[64958,64958],"mapped",[1580,1581,1610]],[[64959,64959],"mapped",[1581,1580,1610]],[[64960,64960],"mapped",[1605,1580,1610]],[[64961,64961],"mapped",[1601,1605,1610]],[[64962,64962],"mapped",[1576,1581,1610]],[[64963,64963],"mapped",[1603,1605,1605]],[[64964,64964],"mapped",[1593,1580,1605]],[[64965,64965],"mapped",[1589,1605,1605]],[[64966,64966],"mapped",[1587,1582,1610]],[[64967,64967],"mapped",[1606,1580,1610]],[[64968,64975],"disallowed"],[[64976,65007],"disallowed"],[[65008,65008],"mapped",[1589,1604,1746]],[[65009,65009],"mapped",[1602,1604,1746]],[[65010,65010],"mapped",[1575,1604,1604,1607]],[[65011,65011],"mapped",[1575,1603,1576,1585]],[[65012,65012],"mapped",[1605,1581,1605,1583]],[[65013,65013],"mapped",[1589,1604,1593,1605]],[[65014,65014],"mapped",[1585,1587,1608,1604]],[[65015,65015],"mapped",[1593,1604,1610,1607]],[[65016,65016],"mapped",[1608,1587,1604,1605]],[[65017,65017],"mapped",[1589,1604,1609]],[[65018,65018],"disallowed_STD3_mapped",[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605]],[[65019,65019],"disallowed_STD3_mapped",[1580,1604,32,1580,1604,1575,1604,1607]],[[65020,65020],"mapped",[1585,1740,1575,1604]],[[65021,65021],"valid",[],"NV8"],[[65022,65023],"disallowed"],[[65024,65039],"ignored"],[[65040,65040],"disallowed_STD3_mapped",[44]],[[65041,65041],"mapped",[12289]],[[65042,65042],"disallowed"],[[65043,65043],"disallowed_STD3_mapped",[58]],[[65044,65044],"disallowed_STD3_mapped",[59]],[[65045,65045],"disallowed_STD3_mapped",[33]],[[65046,65046],"disallowed_STD3_mapped",[63]],[[65047,65047],"mapped",[12310]],[[65048,65048],"mapped",[12311]],[[65049,65049],"disallowed"],[[65050,65055],"disallowed"],[[65056,65059],"valid"],[[65060,65062],"valid"],[[65063,65069],"valid"],[[65070,65071],"valid"],[[65072,65072],"disallowed"],[[65073,65073],"mapped",[8212]],[[65074,65074],"mapped",[8211]],[[65075,65076],"disallowed_STD3_mapped",[95]],[[65077,65077],"disallowed_STD3_mapped",[40]],[[65078,65078],"disallowed_STD3_mapped",[41]],[[65079,65079],"disallowed_STD3_mapped",[123]],[[65080,65080],"disallowed_STD3_mapped",[125]],[[65081,65081],"mapped",[12308]],[[65082,65082],"mapped",[12309]],[[65083,65083],"mapped",[12304]],[[65084,65084],"mapped",[12305]],[[65085,65085],"mapped",[12298]],[[65086,65086],"mapped",[12299]],[[65087,65087],"mapped",[12296]],[[65088,65088],"mapped",[12297]],[[65089,65089],"mapped",[12300]],[[65090,65090],"mapped",[12301]],[[65091,65091],"mapped",[12302]],[[65092,65092],"mapped",[12303]],[[65093,65094],"valid",[],"NV8"],[[65095,65095],"disallowed_STD3_mapped",[91]],[[65096,65096],"disallowed_STD3_mapped",[93]],[[65097,65100],"disallowed_STD3_mapped",[32,773]],[[65101,65103],"disallowed_STD3_mapped",[95]],[[65104,65104],"disallowed_STD3_mapped",[44]],[[65105,65105],"mapped",[12289]],[[65106,65106],"disallowed"],[[65107,65107],"disallowed"],[[65108,65108],"disallowed_STD3_mapped",[59]],[[65109,65109],"disallowed_STD3_mapped",[58]],[[65110,65110],"disallowed_STD3_mapped",[63]],[[65111,65111],"disallowed_STD3_mapped",[33]],[[65112,65112],"mapped",[8212]],[[65113,65113],"disallowed_STD3_mapped",[40]],[[65114,65114],"disallowed_STD3_mapped",[41]],[[65115,65115],"disallowed_STD3_mapped",[123]],[[65116,65116],"disallowed_STD3_mapped",[125]],[[65117,65117],"mapped",[12308]],[[65118,65118],"mapped",[12309]],[[65119,65119],"disallowed_STD3_mapped",[35]],[[65120,65120],"disallowed_STD3_mapped",[38]],[[65121,65121],"disallowed_STD3_mapped",[42]],[[65122,65122],"disallowed_STD3_mapped",[43]],[[65123,65123],"mapped",[45]],[[65124,65124],"disallowed_STD3_mapped",[60]],[[65125,65125],"disallowed_STD3_mapped",[62]],[[65126,65126],"disallowed_STD3_mapped",[61]],[[65127,65127],"disallowed"],[[65128,65128],"disallowed_STD3_mapped",[92]],[[65129,65129],"disallowed_STD3_mapped",[36]],[[65130,65130],"disallowed_STD3_mapped",[37]],[[65131,65131],"disallowed_STD3_mapped",[64]],[[65132,65135],"disallowed"],[[65136,65136],"disallowed_STD3_mapped",[32,1611]],[[65137,65137],"mapped",[1600,1611]],[[65138,65138],"disallowed_STD3_mapped",[32,1612]],[[65139,65139],"valid"],[[65140,65140],"disallowed_STD3_mapped",[32,1613]],[[65141,65141],"disallowed"],[[65142,65142],"disallowed_STD3_mapped",[32,1614]],[[65143,65143],"mapped",[1600,1614]],[[65144,65144],"disallowed_STD3_mapped",[32,1615]],[[65145,65145],"mapped",[1600,1615]],[[65146,65146],"disallowed_STD3_mapped",[32,1616]],[[65147,65147],"mapped",[1600,1616]],[[65148,65148],"disallowed_STD3_mapped",[32,1617]],[[65149,65149],"mapped",[1600,1617]],[[65150,65150],"disallowed_STD3_mapped",[32,1618]],[[65151,65151],"mapped",[1600,1618]],[[65152,65152],"mapped",[1569]],[[65153,65154],"mapped",[1570]],[[65155,65156],"mapped",[1571]],[[65157,65158],"mapped",[1572]],[[65159,65160],"mapped",[1573]],[[65161,65164],"mapped",[1574]],[[65165,65166],"mapped",[1575]],[[65167,65170],"mapped",[1576]],[[65171,65172],"mapped",[1577]],[[65173,65176],"mapped",[1578]],[[65177,65180],"mapped",[1579]],[[65181,65184],"mapped",[1580]],[[65185,65188],"mapped",[1581]],[[65189,65192],"mapped",[1582]],[[65193,65194],"mapped",[1583]],[[65195,65196],"mapped",[1584]],[[65197,65198],"mapped",[1585]],[[65199,65200],"mapped",[1586]],[[65201,65204],"mapped",[1587]],[[65205,65208],"mapped",[1588]],[[65209,65212],"mapped",[1589]],[[65213,65216],"mapped",[1590]],[[65217,65220],"mapped",[1591]],[[65221,65224],"mapped",[1592]],[[65225,65228],"mapped",[1593]],[[65229,65232],"mapped",[1594]],[[65233,65236],"mapped",[1601]],[[65237,65240],"mapped",[1602]],[[65241,65244],"mapped",[1603]],[[65245,65248],"mapped",[1604]],[[65249,65252],"mapped",[1605]],[[65253,65256],"mapped",[1606]],[[65257,65260],"mapped",[1607]],[[65261,65262],"mapped",[1608]],[[65263,65264],"mapped",[1609]],[[65265,65268],"mapped",[1610]],[[65269,65270],"mapped",[1604,1570]],[[65271,65272],"mapped",[1604,1571]],[[65273,65274],"mapped",[1604,1573]],[[65275,65276],"mapped",[1604,1575]],[[65277,65278],"disallowed"],[[65279,65279],"ignored"],[[65280,65280],"disallowed"],[[65281,65281],"disallowed_STD3_mapped",[33]],[[65282,65282],"disallowed_STD3_mapped",[34]],[[65283,65283],"disallowed_STD3_mapped",[35]],[[65284,65284],"disallowed_STD3_mapped",[36]],[[65285,65285],"disallowed_STD3_mapped",[37]],[[65286,65286],"disallowed_STD3_mapped",[38]],[[65287,65287],"disallowed_STD3_mapped",[39]],[[65288,65288],"disallowed_STD3_mapped",[40]],[[65289,65289],"disallowed_STD3_mapped",[41]],[[65290,65290],"disallowed_STD3_mapped",[42]],[[65291,65291],"disallowed_STD3_mapped",[43]],[[65292,65292],"disallowed_STD3_mapped",[44]],[[65293,65293],"mapped",[45]],[[65294,65294],"mapped",[46]],[[65295,65295],"disallowed_STD3_mapped",[47]],[[65296,65296],"mapped",[48]],[[65297,65297],"mapped",[49]],[[65298,65298],"mapped",[50]],[[65299,65299],"mapped",[51]],[[65300,65300],"mapped",[52]],[[65301,65301],"mapped",[53]],[[65302,65302],"mapped",[54]],[[65303,65303],"mapped",[55]],[[65304,65304],"mapped",[56]],[[65305,65305],"mapped",[57]],[[65306,65306],"disallowed_STD3_mapped",[58]],[[65307,65307],"disallowed_STD3_mapped",[59]],[[65308,65308],"disallowed_STD3_mapped",[60]],[[65309,65309],"disallowed_STD3_mapped",[61]],[[65310,65310],"disallowed_STD3_mapped",[62]],[[65311,65311],"disallowed_STD3_mapped",[63]],[[65312,65312],"disallowed_STD3_mapped",[64]],[[65313,65313],"mapped",[97]],[[65314,65314],"mapped",[98]],[[65315,65315],"mapped",[99]],[[65316,65316],"mapped",[100]],[[65317,65317],"mapped",[101]],[[65318,65318],"mapped",[102]],[[65319,65319],"mapped",[103]],[[65320,65320],"mapped",[104]],[[65321,65321],"mapped",[105]],[[65322,65322],"mapped",[106]],[[65323,65323],"mapped",[107]],[[65324,65324],"mapped",[108]],[[65325,65325],"mapped",[109]],[[65326,65326],"mapped",[110]],[[65327,65327],"mapped",[111]],[[65328,65328],"mapped",[112]],[[65329,65329],"mapped",[113]],[[65330,65330],"mapped",[114]],[[65331,65331],"mapped",[115]],[[65332,65332],"mapped",[116]],[[65333,65333],"mapped",[117]],[[65334,65334],"mapped",[118]],[[65335,65335],"mapped",[119]],[[65336,65336],"mapped",[120]],[[65337,65337],"mapped",[121]],[[65338,65338],"mapped",[122]],[[65339,65339],"disallowed_STD3_mapped",[91]],[[65340,65340],"disallowed_STD3_mapped",[92]],[[65341,65341],"disallowed_STD3_mapped",[93]],[[65342,65342],"disallowed_STD3_mapped",[94]],[[65343,65343],"disallowed_STD3_mapped",[95]],[[65344,65344],"disallowed_STD3_mapped",[96]],[[65345,65345],"mapped",[97]],[[65346,65346],"mapped",[98]],[[65347,65347],"mapped",[99]],[[65348,65348],"mapped",[100]],[[65349,65349],"mapped",[101]],[[65350,65350],"mapped",[102]],[[65351,65351],"mapped",[103]],[[65352,65352],"mapped",[104]],[[65353,65353],"mapped",[105]],[[65354,65354],"mapped",[106]],[[65355,65355],"mapped",[107]],[[65356,65356],"mapped",[108]],[[65357,65357],"mapped",[109]],[[65358,65358],"mapped",[110]],[[65359,65359],"mapped",[111]],[[65360,65360],"mapped",[112]],[[65361,65361],"mapped",[113]],[[65362,65362],"mapped",[114]],[[65363,65363],"mapped",[115]],[[65364,65364],"mapped",[116]],[[65365,65365],"mapped",[117]],[[65366,65366],"mapped",[118]],[[65367,65367],"mapped",[119]],[[65368,65368],"mapped",[120]],[[65369,65369],"mapped",[121]],[[65370,65370],"mapped",[122]],[[65371,65371],"disallowed_STD3_mapped",[123]],[[65372,65372],"disallowed_STD3_mapped",[124]],[[65373,65373],"disallowed_STD3_mapped",[125]],[[65374,65374],"disallowed_STD3_mapped",[126]],[[65375,65375],"mapped",[10629]],[[65376,65376],"mapped",[10630]],[[65377,65377],"mapped",[46]],[[65378,65378],"mapped",[12300]],[[65379,65379],"mapped",[12301]],[[65380,65380],"mapped",[12289]],[[65381,65381],"mapped",[12539]],[[65382,65382],"mapped",[12530]],[[65383,65383],"mapped",[12449]],[[65384,65384],"mapped",[12451]],[[65385,65385],"mapped",[12453]],[[65386,65386],"mapped",[12455]],[[65387,65387],"mapped",[12457]],[[65388,65388],"mapped",[12515]],[[65389,65389],"mapped",[12517]],[[65390,65390],"mapped",[12519]],[[65391,65391],"mapped",[12483]],[[65392,65392],"mapped",[12540]],[[65393,65393],"mapped",[12450]],[[65394,65394],"mapped",[12452]],[[65395,65395],"mapped",[12454]],[[65396,65396],"mapped",[12456]],[[65397,65397],"mapped",[12458]],[[65398,65398],"mapped",[12459]],[[65399,65399],"mapped",[12461]],[[65400,65400],"mapped",[12463]],[[65401,65401],"mapped",[12465]],[[65402,65402],"mapped",[12467]],[[65403,65403],"mapped",[12469]],[[65404,65404],"mapped",[12471]],[[65405,65405],"mapped",[12473]],[[65406,65406],"mapped",[12475]],[[65407,65407],"mapped",[12477]],[[65408,65408],"mapped",[12479]],[[65409,65409],"mapped",[12481]],[[65410,65410],"mapped",[12484]],[[65411,65411],"mapped",[12486]],[[65412,65412],"mapped",[12488]],[[65413,65413],"mapped",[12490]],[[65414,65414],"mapped",[12491]],[[65415,65415],"mapped",[12492]],[[65416,65416],"mapped",[12493]],[[65417,65417],"mapped",[12494]],[[65418,65418],"mapped",[12495]],[[65419,65419],"mapped",[12498]],[[65420,65420],"mapped",[12501]],[[65421,65421],"mapped",[12504]],[[65422,65422],"mapped",[12507]],[[65423,65423],"mapped",[12510]],[[65424,65424],"mapped",[12511]],[[65425,65425],"mapped",[12512]],[[65426,65426],"mapped",[12513]],[[65427,65427],"mapped",[12514]],[[65428,65428],"mapped",[12516]],[[65429,65429],"mapped",[12518]],[[65430,65430],"mapped",[12520]],[[65431,65431],"mapped",[12521]],[[65432,65432],"mapped",[12522]],[[65433,65433],"mapped",[12523]],[[65434,65434],"mapped",[12524]],[[65435,65435],"mapped",[12525]],[[65436,65436],"mapped",[12527]],[[65437,65437],"mapped",[12531]],[[65438,65438],"mapped",[12441]],[[65439,65439],"mapped",[12442]],[[65440,65440],"disallowed"],[[65441,65441],"mapped",[4352]],[[65442,65442],"mapped",[4353]],[[65443,65443],"mapped",[4522]],[[65444,65444],"mapped",[4354]],[[65445,65445],"mapped",[4524]],[[65446,65446],"mapped",[4525]],[[65447,65447],"mapped",[4355]],[[65448,65448],"mapped",[4356]],[[65449,65449],"mapped",[4357]],[[65450,65450],"mapped",[4528]],[[65451,65451],"mapped",[4529]],[[65452,65452],"mapped",[4530]],[[65453,65453],"mapped",[4531]],[[65454,65454],"mapped",[4532]],[[65455,65455],"mapped",[4533]],[[65456,65456],"mapped",[4378]],[[65457,65457],"mapped",[4358]],[[65458,65458],"mapped",[4359]],[[65459,65459],"mapped",[4360]],[[65460,65460],"mapped",[4385]],[[65461,65461],"mapped",[4361]],[[65462,65462],"mapped",[4362]],[[65463,65463],"mapped",[4363]],[[65464,65464],"mapped",[4364]],[[65465,65465],"mapped",[4365]],[[65466,65466],"mapped",[4366]],[[65467,65467],"mapped",[4367]],[[65468,65468],"mapped",[4368]],[[65469,65469],"mapped",[4369]],[[65470,65470],"mapped",[4370]],[[65471,65473],"disallowed"],[[65474,65474],"mapped",[4449]],[[65475,65475],"mapped",[4450]],[[65476,65476],"mapped",[4451]],[[65477,65477],"mapped",[4452]],[[65478,65478],"mapped",[4453]],[[65479,65479],"mapped",[4454]],[[65480,65481],"disallowed"],[[65482,65482],"mapped",[4455]],[[65483,65483],"mapped",[4456]],[[65484,65484],"mapped",[4457]],[[65485,65485],"mapped",[4458]],[[65486,65486],"mapped",[4459]],[[65487,65487],"mapped",[4460]],[[65488,65489],"disallowed"],[[65490,65490],"mapped",[4461]],[[65491,65491],"mapped",[4462]],[[65492,65492],"mapped",[4463]],[[65493,65493],"mapped",[4464]],[[65494,65494],"mapped",[4465]],[[65495,65495],"mapped",[4466]],[[65496,65497],"disallowed"],[[65498,65498],"mapped",[4467]],[[65499,65499],"mapped",[4468]],[[65500,65500],"mapped",[4469]],[[65501,65503],"disallowed"],[[65504,65504],"mapped",[162]],[[65505,65505],"mapped",[163]],[[65506,65506],"mapped",[172]],[[65507,65507],"disallowed_STD3_mapped",[32,772]],[[65508,65508],"mapped",[166]],[[65509,65509],"mapped",[165]],[[65510,65510],"mapped",[8361]],[[65511,65511],"disallowed"],[[65512,65512],"mapped",[9474]],[[65513,65513],"mapped",[8592]],[[65514,65514],"mapped",[8593]],[[65515,65515],"mapped",[8594]],[[65516,65516],"mapped",[8595]],[[65517,65517],"mapped",[9632]],[[65518,65518],"mapped",[9675]],[[65519,65528],"disallowed"],[[65529,65531],"disallowed"],[[65532,65532],"disallowed"],[[65533,65533],"disallowed"],[[65534,65535],"disallowed"],[[65536,65547],"valid"],[[65548,65548],"disallowed"],[[65549,65574],"valid"],[[65575,65575],"disallowed"],[[65576,65594],"valid"],[[65595,65595],"disallowed"],[[65596,65597],"valid"],[[65598,65598],"disallowed"],[[65599,65613],"valid"],[[65614,65615],"disallowed"],[[65616,65629],"valid"],[[65630,65663],"disallowed"],[[65664,65786],"valid"],[[65787,65791],"disallowed"],[[65792,65794],"valid",[],"NV8"],[[65795,65798],"disallowed"],[[65799,65843],"valid",[],"NV8"],[[65844,65846],"disallowed"],[[65847,65855],"valid",[],"NV8"],[[65856,65930],"valid",[],"NV8"],[[65931,65932],"valid",[],"NV8"],[[65933,65935],"disallowed"],[[65936,65947],"valid",[],"NV8"],[[65948,65951],"disallowed"],[[65952,65952],"valid",[],"NV8"],[[65953,65999],"disallowed"],[[66000,66044],"valid",[],"NV8"],[[66045,66045],"valid"],[[66046,66175],"disallowed"],[[66176,66204],"valid"],[[66205,66207],"disallowed"],[[66208,66256],"valid"],[[66257,66271],"disallowed"],[[66272,66272],"valid"],[[66273,66299],"valid",[],"NV8"],[[66300,66303],"disallowed"],[[66304,66334],"valid"],[[66335,66335],"valid"],[[66336,66339],"valid",[],"NV8"],[[66340,66351],"disallowed"],[[66352,66368],"valid"],[[66369,66369],"valid",[],"NV8"],[[66370,66377],"valid"],[[66378,66378],"valid",[],"NV8"],[[66379,66383],"disallowed"],[[66384,66426],"valid"],[[66427,66431],"disallowed"],[[66432,66461],"valid"],[[66462,66462],"disallowed"],[[66463,66463],"valid",[],"NV8"],[[66464,66499],"valid"],[[66500,66503],"disallowed"],[[66504,66511],"valid"],[[66512,66517],"valid",[],"NV8"],[[66518,66559],"disallowed"],[[66560,66560],"mapped",[66600]],[[66561,66561],"mapped",[66601]],[[66562,66562],"mapped",[66602]],[[66563,66563],"mapped",[66603]],[[66564,66564],"mapped",[66604]],[[66565,66565],"mapped",[66605]],[[66566,66566],"mapped",[66606]],[[66567,66567],"mapped",[66607]],[[66568,66568],"mapped",[66608]],[[66569,66569],"mapped",[66609]],[[66570,66570],"mapped",[66610]],[[66571,66571],"mapped",[66611]],[[66572,66572],"mapped",[66612]],[[66573,66573],"mapped",[66613]],[[66574,66574],"mapped",[66614]],[[66575,66575],"mapped",[66615]],[[66576,66576],"mapped",[66616]],[[66577,66577],"mapped",[66617]],[[66578,66578],"mapped",[66618]],[[66579,66579],"mapped",[66619]],[[66580,66580],"mapped",[66620]],[[66581,66581],"mapped",[66621]],[[66582,66582],"mapped",[66622]],[[66583,66583],"mapped",[66623]],[[66584,66584],"mapped",[66624]],[[66585,66585],"mapped",[66625]],[[66586,66586],"mapped",[66626]],[[66587,66587],"mapped",[66627]],[[66588,66588],"mapped",[66628]],[[66589,66589],"mapped",[66629]],[[66590,66590],"mapped",[66630]],[[66591,66591],"mapped",[66631]],[[66592,66592],"mapped",[66632]],[[66593,66593],"mapped",[66633]],[[66594,66594],"mapped",[66634]],[[66595,66595],"mapped",[66635]],[[66596,66596],"mapped",[66636]],[[66597,66597],"mapped",[66637]],[[66598,66598],"mapped",[66638]],[[66599,66599],"mapped",[66639]],[[66600,66637],"valid"],[[66638,66717],"valid"],[[66718,66719],"disallowed"],[[66720,66729],"valid"],[[66730,66815],"disallowed"],[[66816,66855],"valid"],[[66856,66863],"disallowed"],[[66864,66915],"valid"],[[66916,66926],"disallowed"],[[66927,66927],"valid",[],"NV8"],[[66928,67071],"disallowed"],[[67072,67382],"valid"],[[67383,67391],"disallowed"],[[67392,67413],"valid"],[[67414,67423],"disallowed"],[[67424,67431],"valid"],[[67432,67583],"disallowed"],[[67584,67589],"valid"],[[67590,67591],"disallowed"],[[67592,67592],"valid"],[[67593,67593],"disallowed"],[[67594,67637],"valid"],[[67638,67638],"disallowed"],[[67639,67640],"valid"],[[67641,67643],"disallowed"],[[67644,67644],"valid"],[[67645,67646],"disallowed"],[[67647,67647],"valid"],[[67648,67669],"valid"],[[67670,67670],"disallowed"],[[67671,67679],"valid",[],"NV8"],[[67680,67702],"valid"],[[67703,67711],"valid",[],"NV8"],[[67712,67742],"valid"],[[67743,67750],"disallowed"],[[67751,67759],"valid",[],"NV8"],[[67760,67807],"disallowed"],[[67808,67826],"valid"],[[67827,67827],"disallowed"],[[67828,67829],"valid"],[[67830,67834],"disallowed"],[[67835,67839],"valid",[],"NV8"],[[67840,67861],"valid"],[[67862,67865],"valid",[],"NV8"],[[67866,67867],"valid",[],"NV8"],[[67868,67870],"disallowed"],[[67871,67871],"valid",[],"NV8"],[[67872,67897],"valid"],[[67898,67902],"disallowed"],[[67903,67903],"valid",[],"NV8"],[[67904,67967],"disallowed"],[[67968,68023],"valid"],[[68024,68027],"disallowed"],[[68028,68029],"valid",[],"NV8"],[[68030,68031],"valid"],[[68032,68047],"valid",[],"NV8"],[[68048,68049],"disallowed"],[[68050,68095],"valid",[],"NV8"],[[68096,68099],"valid"],[[68100,68100],"disallowed"],[[68101,68102],"valid"],[[68103,68107],"disallowed"],[[68108,68115],"valid"],[[68116,68116],"disallowed"],[[68117,68119],"valid"],[[68120,68120],"disallowed"],[[68121,68147],"valid"],[[68148,68151],"disallowed"],[[68152,68154],"valid"],[[68155,68158],"disallowed"],[[68159,68159],"valid"],[[68160,68167],"valid",[],"NV8"],[[68168,68175],"disallowed"],[[68176,68184],"valid",[],"NV8"],[[68185,68191],"disallowed"],[[68192,68220],"valid"],[[68221,68223],"valid",[],"NV8"],[[68224,68252],"valid"],[[68253,68255],"valid",[],"NV8"],[[68256,68287],"disallowed"],[[68288,68295],"valid"],[[68296,68296],"valid",[],"NV8"],[[68297,68326],"valid"],[[68327,68330],"disallowed"],[[68331,68342],"valid",[],"NV8"],[[68343,68351],"disallowed"],[[68352,68405],"valid"],[[68406,68408],"disallowed"],[[68409,68415],"valid",[],"NV8"],[[68416,68437],"valid"],[[68438,68439],"disallowed"],[[68440,68447],"valid",[],"NV8"],[[68448,68466],"valid"],[[68467,68471],"disallowed"],[[68472,68479],"valid",[],"NV8"],[[68480,68497],"valid"],[[68498,68504],"disallowed"],[[68505,68508],"valid",[],"NV8"],[[68509,68520],"disallowed"],[[68521,68527],"valid",[],"NV8"],[[68528,68607],"disallowed"],[[68608,68680],"valid"],[[68681,68735],"disallowed"],[[68736,68736],"mapped",[68800]],[[68737,68737],"mapped",[68801]],[[68738,68738],"mapped",[68802]],[[68739,68739],"mapped",[68803]],[[68740,68740],"mapped",[68804]],[[68741,68741],"mapped",[68805]],[[68742,68742],"mapped",[68806]],[[68743,68743],"mapped",[68807]],[[68744,68744],"mapped",[68808]],[[68745,68745],"mapped",[68809]],[[68746,68746],"mapped",[68810]],[[68747,68747],"mapped",[68811]],[[68748,68748],"mapped",[68812]],[[68749,68749],"mapped",[68813]],[[68750,68750],"mapped",[68814]],[[68751,68751],"mapped",[68815]],[[68752,68752],"mapped",[68816]],[[68753,68753],"mapped",[68817]],[[68754,68754],"mapped",[68818]],[[68755,68755],"mapped",[68819]],[[68756,68756],"mapped",[68820]],[[68757,68757],"mapped",[68821]],[[68758,68758],"mapped",[68822]],[[68759,68759],"mapped",[68823]],[[68760,68760],"mapped",[68824]],[[68761,68761],"mapped",[68825]],[[68762,68762],"mapped",[68826]],[[68763,68763],"mapped",[68827]],[[68764,68764],"mapped",[68828]],[[68765,68765],"mapped",[68829]],[[68766,68766],"mapped",[68830]],[[68767,68767],"mapped",[68831]],[[68768,68768],"mapped",[68832]],[[68769,68769],"mapped",[68833]],[[68770,68770],"mapped",[68834]],[[68771,68771],"mapped",[68835]],[[68772,68772],"mapped",[68836]],[[68773,68773],"mapped",[68837]],[[68774,68774],"mapped",[68838]],[[68775,68775],"mapped",[68839]],[[68776,68776],"mapped",[68840]],[[68777,68777],"mapped",[68841]],[[68778,68778],"mapped",[68842]],[[68779,68779],"mapped",[68843]],[[68780,68780],"mapped",[68844]],[[68781,68781],"mapped",[68845]],[[68782,68782],"mapped",[68846]],[[68783,68783],"mapped",[68847]],[[68784,68784],"mapped",[68848]],[[68785,68785],"mapped",[68849]],[[68786,68786],"mapped",[68850]],[[68787,68799],"disallowed"],[[68800,68850],"valid"],[[68851,68857],"disallowed"],[[68858,68863],"valid",[],"NV8"],[[68864,69215],"disallowed"],[[69216,69246],"valid",[],"NV8"],[[69247,69631],"disallowed"],[[69632,69702],"valid"],[[69703,69709],"valid",[],"NV8"],[[69710,69713],"disallowed"],[[69714,69733],"valid",[],"NV8"],[[69734,69743],"valid"],[[69744,69758],"disallowed"],[[69759,69759],"valid"],[[69760,69818],"valid"],[[69819,69820],"valid",[],"NV8"],[[69821,69821],"disallowed"],[[69822,69825],"valid",[],"NV8"],[[69826,69839],"disallowed"],[[69840,69864],"valid"],[[69865,69871],"disallowed"],[[69872,69881],"valid"],[[69882,69887],"disallowed"],[[69888,69940],"valid"],[[69941,69941],"disallowed"],[[69942,69951],"valid"],[[69952,69955],"valid",[],"NV8"],[[69956,69967],"disallowed"],[[69968,70003],"valid"],[[70004,70005],"valid",[],"NV8"],[[70006,70006],"valid"],[[70007,70015],"disallowed"],[[70016,70084],"valid"],[[70085,70088],"valid",[],"NV8"],[[70089,70089],"valid",[],"NV8"],[[70090,70092],"valid"],[[70093,70093],"valid",[],"NV8"],[[70094,70095],"disallowed"],[[70096,70105],"valid"],[[70106,70106],"valid"],[[70107,70107],"valid",[],"NV8"],[[70108,70108],"valid"],[[70109,70111],"valid",[],"NV8"],[[70112,70112],"disallowed"],[[70113,70132],"valid",[],"NV8"],[[70133,70143],"disallowed"],[[70144,70161],"valid"],[[70162,70162],"disallowed"],[[70163,70199],"valid"],[[70200,70205],"valid",[],"NV8"],[[70206,70271],"disallowed"],[[70272,70278],"valid"],[[70279,70279],"disallowed"],[[70280,70280],"valid"],[[70281,70281],"disallowed"],[[70282,70285],"valid"],[[70286,70286],"disallowed"],[[70287,70301],"valid"],[[70302,70302],"disallowed"],[[70303,70312],"valid"],[[70313,70313],"valid",[],"NV8"],[[70314,70319],"disallowed"],[[70320,70378],"valid"],[[70379,70383],"disallowed"],[[70384,70393],"valid"],[[70394,70399],"disallowed"],[[70400,70400],"valid"],[[70401,70403],"valid"],[[70404,70404],"disallowed"],[[70405,70412],"valid"],[[70413,70414],"disallowed"],[[70415,70416],"valid"],[[70417,70418],"disallowed"],[[70419,70440],"valid"],[[70441,70441],"disallowed"],[[70442,70448],"valid"],[[70449,70449],"disallowed"],[[70450,70451],"valid"],[[70452,70452],"disallowed"],[[70453,70457],"valid"],[[70458,70459],"disallowed"],[[70460,70468],"valid"],[[70469,70470],"disallowed"],[[70471,70472],"valid"],[[70473,70474],"disallowed"],[[70475,70477],"valid"],[[70478,70479],"disallowed"],[[70480,70480],"valid"],[[70481,70486],"disallowed"],[[70487,70487],"valid"],[[70488,70492],"disallowed"],[[70493,70499],"valid"],[[70500,70501],"disallowed"],[[70502,70508],"valid"],[[70509,70511],"disallowed"],[[70512,70516],"valid"],[[70517,70783],"disallowed"],[[70784,70853],"valid"],[[70854,70854],"valid",[],"NV8"],[[70855,70855],"valid"],[[70856,70863],"disallowed"],[[70864,70873],"valid"],[[70874,71039],"disallowed"],[[71040,71093],"valid"],[[71094,71095],"disallowed"],[[71096,71104],"valid"],[[71105,71113],"valid",[],"NV8"],[[71114,71127],"valid",[],"NV8"],[[71128,71133],"valid"],[[71134,71167],"disallowed"],[[71168,71232],"valid"],[[71233,71235],"valid",[],"NV8"],[[71236,71236],"valid"],[[71237,71247],"disallowed"],[[71248,71257],"valid"],[[71258,71295],"disallowed"],[[71296,71351],"valid"],[[71352,71359],"disallowed"],[[71360,71369],"valid"],[[71370,71423],"disallowed"],[[71424,71449],"valid"],[[71450,71452],"disallowed"],[[71453,71467],"valid"],[[71468,71471],"disallowed"],[[71472,71481],"valid"],[[71482,71487],"valid",[],"NV8"],[[71488,71839],"disallowed"],[[71840,71840],"mapped",[71872]],[[71841,71841],"mapped",[71873]],[[71842,71842],"mapped",[71874]],[[71843,71843],"mapped",[71875]],[[71844,71844],"mapped",[71876]],[[71845,71845],"mapped",[71877]],[[71846,71846],"mapped",[71878]],[[71847,71847],"mapped",[71879]],[[71848,71848],"mapped",[71880]],[[71849,71849],"mapped",[71881]],[[71850,71850],"mapped",[71882]],[[71851,71851],"mapped",[71883]],[[71852,71852],"mapped",[71884]],[[71853,71853],"mapped",[71885]],[[71854,71854],"mapped",[71886]],[[71855,71855],"mapped",[71887]],[[71856,71856],"mapped",[71888]],[[71857,71857],"mapped",[71889]],[[71858,71858],"mapped",[71890]],[[71859,71859],"mapped",[71891]],[[71860,71860],"mapped",[71892]],[[71861,71861],"mapped",[71893]],[[71862,71862],"mapped",[71894]],[[71863,71863],"mapped",[71895]],[[71864,71864],"mapped",[71896]],[[71865,71865],"mapped",[71897]],[[71866,71866],"mapped",[71898]],[[71867,71867],"mapped",[71899]],[[71868,71868],"mapped",[71900]],[[71869,71869],"mapped",[71901]],[[71870,71870],"mapped",[71902]],[[71871,71871],"mapped",[71903]],[[71872,71913],"valid"],[[71914,71922],"valid",[],"NV8"],[[71923,71934],"disallowed"],[[71935,71935],"valid"],[[71936,72383],"disallowed"],[[72384,72440],"valid"],[[72441,73727],"disallowed"],[[73728,74606],"valid"],[[74607,74648],"valid"],[[74649,74649],"valid"],[[74650,74751],"disallowed"],[[74752,74850],"valid",[],"NV8"],[[74851,74862],"valid",[],"NV8"],[[74863,74863],"disallowed"],[[74864,74867],"valid",[],"NV8"],[[74868,74868],"valid",[],"NV8"],[[74869,74879],"disallowed"],[[74880,75075],"valid"],[[75076,77823],"disallowed"],[[77824,78894],"valid"],[[78895,82943],"disallowed"],[[82944,83526],"valid"],[[83527,92159],"disallowed"],[[92160,92728],"valid"],[[92729,92735],"disallowed"],[[92736,92766],"valid"],[[92767,92767],"disallowed"],[[92768,92777],"valid"],[[92778,92781],"disallowed"],[[92782,92783],"valid",[],"NV8"],[[92784,92879],"disallowed"],[[92880,92909],"valid"],[[92910,92911],"disallowed"],[[92912,92916],"valid"],[[92917,92917],"valid",[],"NV8"],[[92918,92927],"disallowed"],[[92928,92982],"valid"],[[92983,92991],"valid",[],"NV8"],[[92992,92995],"valid"],[[92996,92997],"valid",[],"NV8"],[[92998,93007],"disallowed"],[[93008,93017],"valid"],[[93018,93018],"disallowed"],[[93019,93025],"valid",[],"NV8"],[[93026,93026],"disallowed"],[[93027,93047],"valid"],[[93048,93052],"disallowed"],[[93053,93071],"valid"],[[93072,93951],"disallowed"],[[93952,94020],"valid"],[[94021,94031],"disallowed"],[[94032,94078],"valid"],[[94079,94094],"disallowed"],[[94095,94111],"valid"],[[94112,110591],"disallowed"],[[110592,110593],"valid"],[[110594,113663],"disallowed"],[[113664,113770],"valid"],[[113771,113775],"disallowed"],[[113776,113788],"valid"],[[113789,113791],"disallowed"],[[113792,113800],"valid"],[[113801,113807],"disallowed"],[[113808,113817],"valid"],[[113818,113819],"disallowed"],[[113820,113820],"valid",[],"NV8"],[[113821,113822],"valid"],[[113823,113823],"valid",[],"NV8"],[[113824,113827],"ignored"],[[113828,118783],"disallowed"],[[118784,119029],"valid",[],"NV8"],[[119030,119039],"disallowed"],[[119040,119078],"valid",[],"NV8"],[[119079,119080],"disallowed"],[[119081,119081],"valid",[],"NV8"],[[119082,119133],"valid",[],"NV8"],[[119134,119134],"mapped",[119127,119141]],[[119135,119135],"mapped",[119128,119141]],[[119136,119136],"mapped",[119128,119141,119150]],[[119137,119137],"mapped",[119128,119141,119151]],[[119138,119138],"mapped",[119128,119141,119152]],[[119139,119139],"mapped",[119128,119141,119153]],[[119140,119140],"mapped",[119128,119141,119154]],[[119141,119154],"valid",[],"NV8"],[[119155,119162],"disallowed"],[[119163,119226],"valid",[],"NV8"],[[119227,119227],"mapped",[119225,119141]],[[119228,119228],"mapped",[119226,119141]],[[119229,119229],"mapped",[119225,119141,119150]],[[119230,119230],"mapped",[119226,119141,119150]],[[119231,119231],"mapped",[119225,119141,119151]],[[119232,119232],"mapped",[119226,119141,119151]],[[119233,119261],"valid",[],"NV8"],[[119262,119272],"valid",[],"NV8"],[[119273,119295],"disallowed"],[[119296,119365],"valid",[],"NV8"],[[119366,119551],"disallowed"],[[119552,119638],"valid",[],"NV8"],[[119639,119647],"disallowed"],[[119648,119665],"valid",[],"NV8"],[[119666,119807],"disallowed"],[[119808,119808],"mapped",[97]],[[119809,119809],"mapped",[98]],[[119810,119810],"mapped",[99]],[[119811,119811],"mapped",[100]],[[119812,119812],"mapped",[101]],[[119813,119813],"mapped",[102]],[[119814,119814],"mapped",[103]],[[119815,119815],"mapped",[104]],[[119816,119816],"mapped",[105]],[[119817,119817],"mapped",[106]],[[119818,119818],"mapped",[107]],[[119819,119819],"mapped",[108]],[[119820,119820],"mapped",[109]],[[119821,119821],"mapped",[110]],[[119822,119822],"mapped",[111]],[[119823,119823],"mapped",[112]],[[119824,119824],"mapped",[113]],[[119825,119825],"mapped",[114]],[[119826,119826],"mapped",[115]],[[119827,119827],"mapped",[116]],[[119828,119828],"mapped",[117]],[[119829,119829],"mapped",[118]],[[119830,119830],"mapped",[119]],[[119831,119831],"mapped",[120]],[[119832,119832],"mapped",[121]],[[119833,119833],"mapped",[122]],[[119834,119834],"mapped",[97]],[[119835,119835],"mapped",[98]],[[119836,119836],"mapped",[99]],[[119837,119837],"mapped",[100]],[[119838,119838],"mapped",[101]],[[119839,119839],"mapped",[102]],[[119840,119840],"mapped",[103]],[[119841,119841],"mapped",[104]],[[119842,119842],"mapped",[105]],[[119843,119843],"mapped",[106]],[[119844,119844],"mapped",[107]],[[119845,119845],"mapped",[108]],[[119846,119846],"mapped",[109]],[[119847,119847],"mapped",[110]],[[119848,119848],"mapped",[111]],[[119849,119849],"mapped",[112]],[[119850,119850],"mapped",[113]],[[119851,119851],"mapped",[114]],[[119852,119852],"mapped",[115]],[[119853,119853],"mapped",[116]],[[119854,119854],"mapped",[117]],[[119855,119855],"mapped",[118]],[[119856,119856],"mapped",[119]],[[119857,119857],"mapped",[120]],[[119858,119858],"mapped",[121]],[[119859,119859],"mapped",[122]],[[119860,119860],"mapped",[97]],[[119861,119861],"mapped",[98]],[[119862,119862],"mapped",[99]],[[119863,119863],"mapped",[100]],[[119864,119864],"mapped",[101]],[[119865,119865],"mapped",[102]],[[119866,119866],"mapped",[103]],[[119867,119867],"mapped",[104]],[[119868,119868],"mapped",[105]],[[119869,119869],"mapped",[106]],[[119870,119870],"mapped",[107]],[[119871,119871],"mapped",[108]],[[119872,119872],"mapped",[109]],[[119873,119873],"mapped",[110]],[[119874,119874],"mapped",[111]],[[119875,119875],"mapped",[112]],[[119876,119876],"mapped",[113]],[[119877,119877],"mapped",[114]],[[119878,119878],"mapped",[115]],[[119879,119879],"mapped",[116]],[[119880,119880],"mapped",[117]],[[119881,119881],"mapped",[118]],[[119882,119882],"mapped",[119]],[[119883,119883],"mapped",[120]],[[119884,119884],"mapped",[121]],[[119885,119885],"mapped",[122]],[[119886,119886],"mapped",[97]],[[119887,119887],"mapped",[98]],[[119888,119888],"mapped",[99]],[[119889,119889],"mapped",[100]],[[119890,119890],"mapped",[101]],[[119891,119891],"mapped",[102]],[[119892,119892],"mapped",[103]],[[119893,119893],"disallowed"],[[119894,119894],"mapped",[105]],[[119895,119895],"mapped",[106]],[[119896,119896],"mapped",[107]],[[119897,119897],"mapped",[108]],[[119898,119898],"mapped",[109]],[[119899,119899],"mapped",[110]],[[119900,119900],"mapped",[111]],[[119901,119901],"mapped",[112]],[[119902,119902],"mapped",[113]],[[119903,119903],"mapped",[114]],[[119904,119904],"mapped",[115]],[[119905,119905],"mapped",[116]],[[119906,119906],"mapped",[117]],[[119907,119907],"mapped",[118]],[[119908,119908],"mapped",[119]],[[119909,119909],"mapped",[120]],[[119910,119910],"mapped",[121]],[[119911,119911],"mapped",[122]],[[119912,119912],"mapped",[97]],[[119913,119913],"mapped",[98]],[[119914,119914],"mapped",[99]],[[119915,119915],"mapped",[100]],[[119916,119916],"mapped",[101]],[[119917,119917],"mapped",[102]],[[119918,119918],"mapped",[103]],[[119919,119919],"mapped",[104]],[[119920,119920],"mapped",[105]],[[119921,119921],"mapped",[106]],[[119922,119922],"mapped",[107]],[[119923,119923],"mapped",[108]],[[119924,119924],"mapped",[109]],[[119925,119925],"mapped",[110]],[[119926,119926],"mapped",[111]],[[119927,119927],"mapped",[112]],[[119928,119928],"mapped",[113]],[[119929,119929],"mapped",[114]],[[119930,119930],"mapped",[115]],[[119931,119931],"mapped",[116]],[[119932,119932],"mapped",[117]],[[119933,119933],"mapped",[118]],[[119934,119934],"mapped",[119]],[[119935,119935],"mapped",[120]],[[119936,119936],"mapped",[121]],[[119937,119937],"mapped",[122]],[[119938,119938],"mapped",[97]],[[119939,119939],"mapped",[98]],[[119940,119940],"mapped",[99]],[[119941,119941],"mapped",[100]],[[119942,119942],"mapped",[101]],[[119943,119943],"mapped",[102]],[[119944,119944],"mapped",[103]],[[119945,119945],"mapped",[104]],[[119946,119946],"mapped",[105]],[[119947,119947],"mapped",[106]],[[119948,119948],"mapped",[107]],[[119949,119949],"mapped",[108]],[[119950,119950],"mapped",[109]],[[119951,119951],"mapped",[110]],[[119952,119952],"mapped",[111]],[[119953,119953],"mapped",[112]],[[119954,119954],"mapped",[113]],[[119955,119955],"mapped",[114]],[[119956,119956],"mapped",[115]],[[119957,119957],"mapped",[116]],[[119958,119958],"mapped",[117]],[[119959,119959],"mapped",[118]],[[119960,119960],"mapped",[119]],[[119961,119961],"mapped",[120]],[[119962,119962],"mapped",[121]],[[119963,119963],"mapped",[122]],[[119964,119964],"mapped",[97]],[[119965,119965],"disallowed"],[[119966,119966],"mapped",[99]],[[119967,119967],"mapped",[100]],[[119968,119969],"disallowed"],[[119970,119970],"mapped",[103]],[[119971,119972],"disallowed"],[[119973,119973],"mapped",[106]],[[119974,119974],"mapped",[107]],[[119975,119976],"disallowed"],[[119977,119977],"mapped",[110]],[[119978,119978],"mapped",[111]],[[119979,119979],"mapped",[112]],[[119980,119980],"mapped",[113]],[[119981,119981],"disallowed"],[[119982,119982],"mapped",[115]],[[119983,119983],"mapped",[116]],[[119984,119984],"mapped",[117]],[[119985,119985],"mapped",[118]],[[119986,119986],"mapped",[119]],[[119987,119987],"mapped",[120]],[[119988,119988],"mapped",[121]],[[119989,119989],"mapped",[122]],[[119990,119990],"mapped",[97]],[[119991,119991],"mapped",[98]],[[119992,119992],"mapped",[99]],[[119993,119993],"mapped",[100]],[[119994,119994],"disallowed"],[[119995,119995],"mapped",[102]],[[119996,119996],"disallowed"],[[119997,119997],"mapped",[104]],[[119998,119998],"mapped",[105]],[[119999,119999],"mapped",[106]],[[120000,120000],"mapped",[107]],[[120001,120001],"mapped",[108]],[[120002,120002],"mapped",[109]],[[120003,120003],"mapped",[110]],[[120004,120004],"disallowed"],[[120005,120005],"mapped",[112]],[[120006,120006],"mapped",[113]],[[120007,120007],"mapped",[114]],[[120008,120008],"mapped",[115]],[[120009,120009],"mapped",[116]],[[120010,120010],"mapped",[117]],[[120011,120011],"mapped",[118]],[[120012,120012],"mapped",[119]],[[120013,120013],"mapped",[120]],[[120014,120014],"mapped",[121]],[[120015,120015],"mapped",[122]],[[120016,120016],"mapped",[97]],[[120017,120017],"mapped",[98]],[[120018,120018],"mapped",[99]],[[120019,120019],"mapped",[100]],[[120020,120020],"mapped",[101]],[[120021,120021],"mapped",[102]],[[120022,120022],"mapped",[103]],[[120023,120023],"mapped",[104]],[[120024,120024],"mapped",[105]],[[120025,120025],"mapped",[106]],[[120026,120026],"mapped",[107]],[[120027,120027],"mapped",[108]],[[120028,120028],"mapped",[109]],[[120029,120029],"mapped",[110]],[[120030,120030],"mapped",[111]],[[120031,120031],"mapped",[112]],[[120032,120032],"mapped",[113]],[[120033,120033],"mapped",[114]],[[120034,120034],"mapped",[115]],[[120035,120035],"mapped",[116]],[[120036,120036],"mapped",[117]],[[120037,120037],"mapped",[118]],[[120038,120038],"mapped",[119]],[[120039,120039],"mapped",[120]],[[120040,120040],"mapped",[121]],[[120041,120041],"mapped",[122]],[[120042,120042],"mapped",[97]],[[120043,120043],"mapped",[98]],[[120044,120044],"mapped",[99]],[[120045,120045],"mapped",[100]],[[120046,120046],"mapped",[101]],[[120047,120047],"mapped",[102]],[[120048,120048],"mapped",[103]],[[120049,120049],"mapped",[104]],[[120050,120050],"mapped",[105]],[[120051,120051],"mapped",[106]],[[120052,120052],"mapped",[107]],[[120053,120053],"mapped",[108]],[[120054,120054],"mapped",[109]],[[120055,120055],"mapped",[110]],[[120056,120056],"mapped",[111]],[[120057,120057],"mapped",[112]],[[120058,120058],"mapped",[113]],[[120059,120059],"mapped",[114]],[[120060,120060],"mapped",[115]],[[120061,120061],"mapped",[116]],[[120062,120062],"mapped",[117]],[[120063,120063],"mapped",[118]],[[120064,120064],"mapped",[119]],[[120065,120065],"mapped",[120]],[[120066,120066],"mapped",[121]],[[120067,120067],"mapped",[122]],[[120068,120068],"mapped",[97]],[[120069,120069],"mapped",[98]],[[120070,120070],"disallowed"],[[120071,120071],"mapped",[100]],[[120072,120072],"mapped",[101]],[[120073,120073],"mapped",[102]],[[120074,120074],"mapped",[103]],[[120075,120076],"disallowed"],[[120077,120077],"mapped",[106]],[[120078,120078],"mapped",[107]],[[120079,120079],"mapped",[108]],[[120080,120080],"mapped",[109]],[[120081,120081],"mapped",[110]],[[120082,120082],"mapped",[111]],[[120083,120083],"mapped",[112]],[[120084,120084],"mapped",[113]],[[120085,120085],"disallowed"],[[120086,120086],"mapped",[115]],[[120087,120087],"mapped",[116]],[[120088,120088],"mapped",[117]],[[120089,120089],"mapped",[118]],[[120090,120090],"mapped",[119]],[[120091,120091],"mapped",[120]],[[120092,120092],"mapped",[121]],[[120093,120093],"disallowed"],[[120094,120094],"mapped",[97]],[[120095,120095],"mapped",[98]],[[120096,120096],"mapped",[99]],[[120097,120097],"mapped",[100]],[[120098,120098],"mapped",[101]],[[120099,120099],"mapped",[102]],[[120100,120100],"mapped",[103]],[[120101,120101],"mapped",[104]],[[120102,120102],"mapped",[105]],[[120103,120103],"mapped",[106]],[[120104,120104],"mapped",[107]],[[120105,120105],"mapped",[108]],[[120106,120106],"mapped",[109]],[[120107,120107],"mapped",[110]],[[120108,120108],"mapped",[111]],[[120109,120109],"mapped",[112]],[[120110,120110],"mapped",[113]],[[120111,120111],"mapped",[114]],[[120112,120112],"mapped",[115]],[[120113,120113],"mapped",[116]],[[120114,120114],"mapped",[117]],[[120115,120115],"mapped",[118]],[[120116,120116],"mapped",[119]],[[120117,120117],"mapped",[120]],[[120118,120118],"mapped",[121]],[[120119,120119],"mapped",[122]],[[120120,120120],"mapped",[97]],[[120121,120121],"mapped",[98]],[[120122,120122],"disallowed"],[[120123,120123],"mapped",[100]],[[120124,120124],"mapped",[101]],[[120125,120125],"mapped",[102]],[[120126,120126],"mapped",[103]],[[120127,120127],"disallowed"],[[120128,120128],"mapped",[105]],[[120129,120129],"mapped",[106]],[[120130,120130],"mapped",[107]],[[120131,120131],"mapped",[108]],[[120132,120132],"mapped",[109]],[[120133,120133],"disallowed"],[[120134,120134],"mapped",[111]],[[120135,120137],"disallowed"],[[120138,120138],"mapped",[115]],[[120139,120139],"mapped",[116]],[[120140,120140],"mapped",[117]],[[120141,120141],"mapped",[118]],[[120142,120142],"mapped",[119]],[[120143,120143],"mapped",[120]],[[120144,120144],"mapped",[121]],[[120145,120145],"disallowed"],[[120146,120146],"mapped",[97]],[[120147,120147],"mapped",[98]],[[120148,120148],"mapped",[99]],[[120149,120149],"mapped",[100]],[[120150,120150],"mapped",[101]],[[120151,120151],"mapped",[102]],[[120152,120152],"mapped",[103]],[[120153,120153],"mapped",[104]],[[120154,120154],"mapped",[105]],[[120155,120155],"mapped",[106]],[[120156,120156],"mapped",[107]],[[120157,120157],"mapped",[108]],[[120158,120158],"mapped",[109]],[[120159,120159],"mapped",[110]],[[120160,120160],"mapped",[111]],[[120161,120161],"mapped",[112]],[[120162,120162],"mapped",[113]],[[120163,120163],"mapped",[114]],[[120164,120164],"mapped",[115]],[[120165,120165],"mapped",[116]],[[120166,120166],"mapped",[117]],[[120167,120167],"mapped",[118]],[[120168,120168],"mapped",[119]],[[120169,120169],"mapped",[120]],[[120170,120170],"mapped",[121]],[[120171,120171],"mapped",[122]],[[120172,120172],"mapped",[97]],[[120173,120173],"mapped",[98]],[[120174,120174],"mapped",[99]],[[120175,120175],"mapped",[100]],[[120176,120176],"mapped",[101]],[[120177,120177],"mapped",[102]],[[120178,120178],"mapped",[103]],[[120179,120179],"mapped",[104]],[[120180,120180],"mapped",[105]],[[120181,120181],"mapped",[106]],[[120182,120182],"mapped",[107]],[[120183,120183],"mapped",[108]],[[120184,120184],"mapped",[109]],[[120185,120185],"mapped",[110]],[[120186,120186],"mapped",[111]],[[120187,120187],"mapped",[112]],[[120188,120188],"mapped",[113]],[[120189,120189],"mapped",[114]],[[120190,120190],"mapped",[115]],[[120191,120191],"mapped",[116]],[[120192,120192],"mapped",[117]],[[120193,120193],"mapped",[118]],[[120194,120194],"mapped",[119]],[[120195,120195],"mapped",[120]],[[120196,120196],"mapped",[121]],[[120197,120197],"mapped",[122]],[[120198,120198],"mapped",[97]],[[120199,120199],"mapped",[98]],[[120200,120200],"mapped",[99]],[[120201,120201],"mapped",[100]],[[120202,120202],"mapped",[101]],[[120203,120203],"mapped",[102]],[[120204,120204],"mapped",[103]],[[120205,120205],"mapped",[104]],[[120206,120206],"mapped",[105]],[[120207,120207],"mapped",[106]],[[120208,120208],"mapped",[107]],[[120209,120209],"mapped",[108]],[[120210,120210],"mapped",[109]],[[120211,120211],"mapped",[110]],[[120212,120212],"mapped",[111]],[[120213,120213],"mapped",[112]],[[120214,120214],"mapped",[113]],[[120215,120215],"mapped",[114]],[[120216,120216],"mapped",[115]],[[120217,120217],"mapped",[116]],[[120218,120218],"mapped",[117]],[[120219,120219],"mapped",[118]],[[120220,120220],"mapped",[119]],[[120221,120221],"mapped",[120]],[[120222,120222],"mapped",[121]],[[120223,120223],"mapped",[122]],[[120224,120224],"mapped",[97]],[[120225,120225],"mapped",[98]],[[120226,120226],"mapped",[99]],[[120227,120227],"mapped",[100]],[[120228,120228],"mapped",[101]],[[120229,120229],"mapped",[102]],[[120230,120230],"mapped",[103]],[[120231,120231],"mapped",[104]],[[120232,120232],"mapped",[105]],[[120233,120233],"mapped",[106]],[[120234,120234],"mapped",[107]],[[120235,120235],"mapped",[108]],[[120236,120236],"mapped",[109]],[[120237,120237],"mapped",[110]],[[120238,120238],"mapped",[111]],[[120239,120239],"mapped",[112]],[[120240,120240],"mapped",[113]],[[120241,120241],"mapped",[114]],[[120242,120242],"mapped",[115]],[[120243,120243],"mapped",[116]],[[120244,120244],"mapped",[117]],[[120245,120245],"mapped",[118]],[[120246,120246],"mapped",[119]],[[120247,120247],"mapped",[120]],[[120248,120248],"mapped",[121]],[[120249,120249],"mapped",[122]],[[120250,120250],"mapped",[97]],[[120251,120251],"mapped",[98]],[[120252,120252],"mapped",[99]],[[120253,120253],"mapped",[100]],[[120254,120254],"mapped",[101]],[[120255,120255],"mapped",[102]],[[120256,120256],"mapped",[103]],[[120257,120257],"mapped",[104]],[[120258,120258],"mapped",[105]],[[120259,120259],"mapped",[106]],[[120260,120260],"mapped",[107]],[[120261,120261],"mapped",[108]],[[120262,120262],"mapped",[109]],[[120263,120263],"mapped",[110]],[[120264,120264],"mapped",[111]],[[120265,120265],"mapped",[112]],[[120266,120266],"mapped",[113]],[[120267,120267],"mapped",[114]],[[120268,120268],"mapped",[115]],[[120269,120269],"mapped",[116]],[[120270,120270],"mapped",[117]],[[120271,120271],"mapped",[118]],[[120272,120272],"mapped",[119]],[[120273,120273],"mapped",[120]],[[120274,120274],"mapped",[121]],[[120275,120275],"mapped",[122]],[[120276,120276],"mapped",[97]],[[120277,120277],"mapped",[98]],[[120278,120278],"mapped",[99]],[[120279,120279],"mapped",[100]],[[120280,120280],"mapped",[101]],[[120281,120281],"mapped",[102]],[[120282,120282],"mapped",[103]],[[120283,120283],"mapped",[104]],[[120284,120284],"mapped",[105]],[[120285,120285],"mapped",[106]],[[120286,120286],"mapped",[107]],[[120287,120287],"mapped",[108]],[[120288,120288],"mapped",[109]],[[120289,120289],"mapped",[110]],[[120290,120290],"mapped",[111]],[[120291,120291],"mapped",[112]],[[120292,120292],"mapped",[113]],[[120293,120293],"mapped",[114]],[[120294,120294],"mapped",[115]],[[120295,120295],"mapped",[116]],[[120296,120296],"mapped",[117]],[[120297,120297],"mapped",[118]],[[120298,120298],"mapped",[119]],[[120299,120299],"mapped",[120]],[[120300,120300],"mapped",[121]],[[120301,120301],"mapped",[122]],[[120302,120302],"mapped",[97]],[[120303,120303],"mapped",[98]],[[120304,120304],"mapped",[99]],[[120305,120305],"mapped",[100]],[[120306,120306],"mapped",[101]],[[120307,120307],"mapped",[102]],[[120308,120308],"mapped",[103]],[[120309,120309],"mapped",[104]],[[120310,120310],"mapped",[105]],[[120311,120311],"mapped",[106]],[[120312,120312],"mapped",[107]],[[120313,120313],"mapped",[108]],[[120314,120314],"mapped",[109]],[[120315,120315],"mapped",[110]],[[120316,120316],"mapped",[111]],[[120317,120317],"mapped",[112]],[[120318,120318],"mapped",[113]],[[120319,120319],"mapped",[114]],[[120320,120320],"mapped",[115]],[[120321,120321],"mapped",[116]],[[120322,120322],"mapped",[117]],[[120323,120323],"mapped",[118]],[[120324,120324],"mapped",[119]],[[120325,120325],"mapped",[120]],[[120326,120326],"mapped",[121]],[[120327,120327],"mapped",[122]],[[120328,120328],"mapped",[97]],[[120329,120329],"mapped",[98]],[[120330,120330],"mapped",[99]],[[120331,120331],"mapped",[100]],[[120332,120332],"mapped",[101]],[[120333,120333],"mapped",[102]],[[120334,120334],"mapped",[103]],[[120335,120335],"mapped",[104]],[[120336,120336],"mapped",[105]],[[120337,120337],"mapped",[106]],[[120338,120338],"mapped",[107]],[[120339,120339],"mapped",[108]],[[120340,120340],"mapped",[109]],[[120341,120341],"mapped",[110]],[[120342,120342],"mapped",[111]],[[120343,120343],"mapped",[112]],[[120344,120344],"mapped",[113]],[[120345,120345],"mapped",[114]],[[120346,120346],"mapped",[115]],[[120347,120347],"mapped",[116]],[[120348,120348],"mapped",[117]],[[120349,120349],"mapped",[118]],[[120350,120350],"mapped",[119]],[[120351,120351],"mapped",[120]],[[120352,120352],"mapped",[121]],[[120353,120353],"mapped",[122]],[[120354,120354],"mapped",[97]],[[120355,120355],"mapped",[98]],[[120356,120356],"mapped",[99]],[[120357,120357],"mapped",[100]],[[120358,120358],"mapped",[101]],[[120359,120359],"mapped",[102]],[[120360,120360],"mapped",[103]],[[120361,120361],"mapped",[104]],[[120362,120362],"mapped",[105]],[[120363,120363],"mapped",[106]],[[120364,120364],"mapped",[107]],[[120365,120365],"mapped",[108]],[[120366,120366],"mapped",[109]],[[120367,120367],"mapped",[110]],[[120368,120368],"mapped",[111]],[[120369,120369],"mapped",[112]],[[120370,120370],"mapped",[113]],[[120371,120371],"mapped",[114]],[[120372,120372],"mapped",[115]],[[120373,120373],"mapped",[116]],[[120374,120374],"mapped",[117]],[[120375,120375],"mapped",[118]],[[120376,120376],"mapped",[119]],[[120377,120377],"mapped",[120]],[[120378,120378],"mapped",[121]],[[120379,120379],"mapped",[122]],[[120380,120380],"mapped",[97]],[[120381,120381],"mapped",[98]],[[120382,120382],"mapped",[99]],[[120383,120383],"mapped",[100]],[[120384,120384],"mapped",[101]],[[120385,120385],"mapped",[102]],[[120386,120386],"mapped",[103]],[[120387,120387],"mapped",[104]],[[120388,120388],"mapped",[105]],[[120389,120389],"mapped",[106]],[[120390,120390],"mapped",[107]],[[120391,120391],"mapped",[108]],[[120392,120392],"mapped",[109]],[[120393,120393],"mapped",[110]],[[120394,120394],"mapped",[111]],[[120395,120395],"mapped",[112]],[[120396,120396],"mapped",[113]],[[120397,120397],"mapped",[114]],[[120398,120398],"mapped",[115]],[[120399,120399],"mapped",[116]],[[120400,120400],"mapped",[117]],[[120401,120401],"mapped",[118]],[[120402,120402],"mapped",[119]],[[120403,120403],"mapped",[120]],[[120404,120404],"mapped",[121]],[[120405,120405],"mapped",[122]],[[120406,120406],"mapped",[97]],[[120407,120407],"mapped",[98]],[[120408,120408],"mapped",[99]],[[120409,120409],"mapped",[100]],[[120410,120410],"mapped",[101]],[[120411,120411],"mapped",[102]],[[120412,120412],"mapped",[103]],[[120413,120413],"mapped",[104]],[[120414,120414],"mapped",[105]],[[120415,120415],"mapped",[106]],[[120416,120416],"mapped",[107]],[[120417,120417],"mapped",[108]],[[120418,120418],"mapped",[109]],[[120419,120419],"mapped",[110]],[[120420,120420],"mapped",[111]],[[120421,120421],"mapped",[112]],[[120422,120422],"mapped",[113]],[[120423,120423],"mapped",[114]],[[120424,120424],"mapped",[115]],[[120425,120425],"mapped",[116]],[[120426,120426],"mapped",[117]],[[120427,120427],"mapped",[118]],[[120428,120428],"mapped",[119]],[[120429,120429],"mapped",[120]],[[120430,120430],"mapped",[121]],[[120431,120431],"mapped",[122]],[[120432,120432],"mapped",[97]],[[120433,120433],"mapped",[98]],[[120434,120434],"mapped",[99]],[[120435,120435],"mapped",[100]],[[120436,120436],"mapped",[101]],[[120437,120437],"mapped",[102]],[[120438,120438],"mapped",[103]],[[120439,120439],"mapped",[104]],[[120440,120440],"mapped",[105]],[[120441,120441],"mapped",[106]],[[120442,120442],"mapped",[107]],[[120443,120443],"mapped",[108]],[[120444,120444],"mapped",[109]],[[120445,120445],"mapped",[110]],[[120446,120446],"mapped",[111]],[[120447,120447],"mapped",[112]],[[120448,120448],"mapped",[113]],[[120449,120449],"mapped",[114]],[[120450,120450],"mapped",[115]],[[120451,120451],"mapped",[116]],[[120452,120452],"mapped",[117]],[[120453,120453],"mapped",[118]],[[120454,120454],"mapped",[119]],[[120455,120455],"mapped",[120]],[[120456,120456],"mapped",[121]],[[120457,120457],"mapped",[122]],[[120458,120458],"mapped",[97]],[[120459,120459],"mapped",[98]],[[120460,120460],"mapped",[99]],[[120461,120461],"mapped",[100]],[[120462,120462],"mapped",[101]],[[120463,120463],"mapped",[102]],[[120464,120464],"mapped",[103]],[[120465,120465],"mapped",[104]],[[120466,120466],"mapped",[105]],[[120467,120467],"mapped",[106]],[[120468,120468],"mapped",[107]],[[120469,120469],"mapped",[108]],[[120470,120470],"mapped",[109]],[[120471,120471],"mapped",[110]],[[120472,120472],"mapped",[111]],[[120473,120473],"mapped",[112]],[[120474,120474],"mapped",[113]],[[120475,120475],"mapped",[114]],[[120476,120476],"mapped",[115]],[[120477,120477],"mapped",[116]],[[120478,120478],"mapped",[117]],[[120479,120479],"mapped",[118]],[[120480,120480],"mapped",[119]],[[120481,120481],"mapped",[120]],[[120482,120482],"mapped",[121]],[[120483,120483],"mapped",[122]],[[120484,120484],"mapped",[305]],[[120485,120485],"mapped",[567]],[[120486,120487],"disallowed"],[[120488,120488],"mapped",[945]],[[120489,120489],"mapped",[946]],[[120490,120490],"mapped",[947]],[[120491,120491],"mapped",[948]],[[120492,120492],"mapped",[949]],[[120493,120493],"mapped",[950]],[[120494,120494],"mapped",[951]],[[120495,120495],"mapped",[952]],[[120496,120496],"mapped",[953]],[[120497,120497],"mapped",[954]],[[120498,120498],"mapped",[955]],[[120499,120499],"mapped",[956]],[[120500,120500],"mapped",[957]],[[120501,120501],"mapped",[958]],[[120502,120502],"mapped",[959]],[[120503,120503],"mapped",[960]],[[120504,120504],"mapped",[961]],[[120505,120505],"mapped",[952]],[[120506,120506],"mapped",[963]],[[120507,120507],"mapped",[964]],[[120508,120508],"mapped",[965]],[[120509,120509],"mapped",[966]],[[120510,120510],"mapped",[967]],[[120511,120511],"mapped",[968]],[[120512,120512],"mapped",[969]],[[120513,120513],"mapped",[8711]],[[120514,120514],"mapped",[945]],[[120515,120515],"mapped",[946]],[[120516,120516],"mapped",[947]],[[120517,120517],"mapped",[948]],[[120518,120518],"mapped",[949]],[[120519,120519],"mapped",[950]],[[120520,120520],"mapped",[951]],[[120521,120521],"mapped",[952]],[[120522,120522],"mapped",[953]],[[120523,120523],"mapped",[954]],[[120524,120524],"mapped",[955]],[[120525,120525],"mapped",[956]],[[120526,120526],"mapped",[957]],[[120527,120527],"mapped",[958]],[[120528,120528],"mapped",[959]],[[120529,120529],"mapped",[960]],[[120530,120530],"mapped",[961]],[[120531,120532],"mapped",[963]],[[120533,120533],"mapped",[964]],[[120534,120534],"mapped",[965]],[[120535,120535],"mapped",[966]],[[120536,120536],"mapped",[967]],[[120537,120537],"mapped",[968]],[[120538,120538],"mapped",[969]],[[120539,120539],"mapped",[8706]],[[120540,120540],"mapped",[949]],[[120541,120541],"mapped",[952]],[[120542,120542],"mapped",[954]],[[120543,120543],"mapped",[966]],[[120544,120544],"mapped",[961]],[[120545,120545],"mapped",[960]],[[120546,120546],"mapped",[945]],[[120547,120547],"mapped",[946]],[[120548,120548],"mapped",[947]],[[120549,120549],"mapped",[948]],[[120550,120550],"mapped",[949]],[[120551,120551],"mapped",[950]],[[120552,120552],"mapped",[951]],[[120553,120553],"mapped",[952]],[[120554,120554],"mapped",[953]],[[120555,120555],"mapped",[954]],[[120556,120556],"mapped",[955]],[[120557,120557],"mapped",[956]],[[120558,120558],"mapped",[957]],[[120559,120559],"mapped",[958]],[[120560,120560],"mapped",[959]],[[120561,120561],"mapped",[960]],[[120562,120562],"mapped",[961]],[[120563,120563],"mapped",[952]],[[120564,120564],"mapped",[963]],[[120565,120565],"mapped",[964]],[[120566,120566],"mapped",[965]],[[120567,120567],"mapped",[966]],[[120568,120568],"mapped",[967]],[[120569,120569],"mapped",[968]],[[120570,120570],"mapped",[969]],[[120571,120571],"mapped",[8711]],[[120572,120572],"mapped",[945]],[[120573,120573],"mapped",[946]],[[120574,120574],"mapped",[947]],[[120575,120575],"mapped",[948]],[[120576,120576],"mapped",[949]],[[120577,120577],"mapped",[950]],[[120578,120578],"mapped",[951]],[[120579,120579],"mapped",[952]],[[120580,120580],"mapped",[953]],[[120581,120581],"mapped",[954]],[[120582,120582],"mapped",[955]],[[120583,120583],"mapped",[956]],[[120584,120584],"mapped",[957]],[[120585,120585],"mapped",[958]],[[120586,120586],"mapped",[959]],[[120587,120587],"mapped",[960]],[[120588,120588],"mapped",[961]],[[120589,120590],"mapped",[963]],[[120591,120591],"mapped",[964]],[[120592,120592],"mapped",[965]],[[120593,120593],"mapped",[966]],[[120594,120594],"mapped",[967]],[[120595,120595],"mapped",[968]],[[120596,120596],"mapped",[969]],[[120597,120597],"mapped",[8706]],[[120598,120598],"mapped",[949]],[[120599,120599],"mapped",[952]],[[120600,120600],"mapped",[954]],[[120601,120601],"mapped",[966]],[[120602,120602],"mapped",[961]],[[120603,120603],"mapped",[960]],[[120604,120604],"mapped",[945]],[[120605,120605],"mapped",[946]],[[120606,120606],"mapped",[947]],[[120607,120607],"mapped",[948]],[[120608,120608],"mapped",[949]],[[120609,120609],"mapped",[950]],[[120610,120610],"mapped",[951]],[[120611,120611],"mapped",[952]],[[120612,120612],"mapped",[953]],[[120613,120613],"mapped",[954]],[[120614,120614],"mapped",[955]],[[120615,120615],"mapped",[956]],[[120616,120616],"mapped",[957]],[[120617,120617],"mapped",[958]],[[120618,120618],"mapped",[959]],[[120619,120619],"mapped",[960]],[[120620,120620],"mapped",[961]],[[120621,120621],"mapped",[952]],[[120622,120622],"mapped",[963]],[[120623,120623],"mapped",[964]],[[120624,120624],"mapped",[965]],[[120625,120625],"mapped",[966]],[[120626,120626],"mapped",[967]],[[120627,120627],"mapped",[968]],[[120628,120628],"mapped",[969]],[[120629,120629],"mapped",[8711]],[[120630,120630],"mapped",[945]],[[120631,120631],"mapped",[946]],[[120632,120632],"mapped",[947]],[[120633,120633],"mapped",[948]],[[120634,120634],"mapped",[949]],[[120635,120635],"mapped",[950]],[[120636,120636],"mapped",[951]],[[120637,120637],"mapped",[952]],[[120638,120638],"mapped",[953]],[[120639,120639],"mapped",[954]],[[120640,120640],"mapped",[955]],[[120641,120641],"mapped",[956]],[[120642,120642],"mapped",[957]],[[120643,120643],"mapped",[958]],[[120644,120644],"mapped",[959]],[[120645,120645],"mapped",[960]],[[120646,120646],"mapped",[961]],[[120647,120648],"mapped",[963]],[[120649,120649],"mapped",[964]],[[120650,120650],"mapped",[965]],[[120651,120651],"mapped",[966]],[[120652,120652],"mapped",[967]],[[120653,120653],"mapped",[968]],[[120654,120654],"mapped",[969]],[[120655,120655],"mapped",[8706]],[[120656,120656],"mapped",[949]],[[120657,120657],"mapped",[952]],[[120658,120658],"mapped",[954]],[[120659,120659],"mapped",[966]],[[120660,120660],"mapped",[961]],[[120661,120661],"mapped",[960]],[[120662,120662],"mapped",[945]],[[120663,120663],"mapped",[946]],[[120664,120664],"mapped",[947]],[[120665,120665],"mapped",[948]],[[120666,120666],"mapped",[949]],[[120667,120667],"mapped",[950]],[[120668,120668],"mapped",[951]],[[120669,120669],"mapped",[952]],[[120670,120670],"mapped",[953]],[[120671,120671],"mapped",[954]],[[120672,120672],"mapped",[955]],[[120673,120673],"mapped",[956]],[[120674,120674],"mapped",[957]],[[120675,120675],"mapped",[958]],[[120676,120676],"mapped",[959]],[[120677,120677],"mapped",[960]],[[120678,120678],"mapped",[961]],[[120679,120679],"mapped",[952]],[[120680,120680],"mapped",[963]],[[120681,120681],"mapped",[964]],[[120682,120682],"mapped",[965]],[[120683,120683],"mapped",[966]],[[120684,120684],"mapped",[967]],[[120685,120685],"mapped",[968]],[[120686,120686],"mapped",[969]],[[120687,120687],"mapped",[8711]],[[120688,120688],"mapped",[945]],[[120689,120689],"mapped",[946]],[[120690,120690],"mapped",[947]],[[120691,120691],"mapped",[948]],[[120692,120692],"mapped",[949]],[[120693,120693],"mapped",[950]],[[120694,120694],"mapped",[951]],[[120695,120695],"mapped",[952]],[[120696,120696],"mapped",[953]],[[120697,120697],"mapped",[954]],[[120698,120698],"mapped",[955]],[[120699,120699],"mapped",[956]],[[120700,120700],"mapped",[957]],[[120701,120701],"mapped",[958]],[[120702,120702],"mapped",[959]],[[120703,120703],"mapped",[960]],[[120704,120704],"mapped",[961]],[[120705,120706],"mapped",[963]],[[120707,120707],"mapped",[964]],[[120708,120708],"mapped",[965]],[[120709,120709],"mapped",[966]],[[120710,120710],"mapped",[967]],[[120711,120711],"mapped",[968]],[[120712,120712],"mapped",[969]],[[120713,120713],"mapped",[8706]],[[120714,120714],"mapped",[949]],[[120715,120715],"mapped",[952]],[[120716,120716],"mapped",[954]],[[120717,120717],"mapped",[966]],[[120718,120718],"mapped",[961]],[[120719,120719],"mapped",[960]],[[120720,120720],"mapped",[945]],[[120721,120721],"mapped",[946]],[[120722,120722],"mapped",[947]],[[120723,120723],"mapped",[948]],[[120724,120724],"mapped",[949]],[[120725,120725],"mapped",[950]],[[120726,120726],"mapped",[951]],[[120727,120727],"mapped",[952]],[[120728,120728],"mapped",[953]],[[120729,120729],"mapped",[954]],[[120730,120730],"mapped",[955]],[[120731,120731],"mapped",[956]],[[120732,120732],"mapped",[957]],[[120733,120733],"mapped",[958]],[[120734,120734],"mapped",[959]],[[120735,120735],"mapped",[960]],[[120736,120736],"mapped",[961]],[[120737,120737],"mapped",[952]],[[120738,120738],"mapped",[963]],[[120739,120739],"mapped",[964]],[[120740,120740],"mapped",[965]],[[120741,120741],"mapped",[966]],[[120742,120742],"mapped",[967]],[[120743,120743],"mapped",[968]],[[120744,120744],"mapped",[969]],[[120745,120745],"mapped",[8711]],[[120746,120746],"mapped",[945]],[[120747,120747],"mapped",[946]],[[120748,120748],"mapped",[947]],[[120749,120749],"mapped",[948]],[[120750,120750],"mapped",[949]],[[120751,120751],"mapped",[950]],[[120752,120752],"mapped",[951]],[[120753,120753],"mapped",[952]],[[120754,120754],"mapped",[953]],[[120755,120755],"mapped",[954]],[[120756,120756],"mapped",[955]],[[120757,120757],"mapped",[956]],[[120758,120758],"mapped",[957]],[[120759,120759],"mapped",[958]],[[120760,120760],"mapped",[959]],[[120761,120761],"mapped",[960]],[[120762,120762],"mapped",[961]],[[120763,120764],"mapped",[963]],[[120765,120765],"mapped",[964]],[[120766,120766],"mapped",[965]],[[120767,120767],"mapped",[966]],[[120768,120768],"mapped",[967]],[[120769,120769],"mapped",[968]],[[120770,120770],"mapped",[969]],[[120771,120771],"mapped",[8706]],[[120772,120772],"mapped",[949]],[[120773,120773],"mapped",[952]],[[120774,120774],"mapped",[954]],[[120775,120775],"mapped",[966]],[[120776,120776],"mapped",[961]],[[120777,120777],"mapped",[960]],[[120778,120779],"mapped",[989]],[[120780,120781],"disallowed"],[[120782,120782],"mapped",[48]],[[120783,120783],"mapped",[49]],[[120784,120784],"mapped",[50]],[[120785,120785],"mapped",[51]],[[120786,120786],"mapped",[52]],[[120787,120787],"mapped",[53]],[[120788,120788],"mapped",[54]],[[120789,120789],"mapped",[55]],[[120790,120790],"mapped",[56]],[[120791,120791],"mapped",[57]],[[120792,120792],"mapped",[48]],[[120793,120793],"mapped",[49]],[[120794,120794],"mapped",[50]],[[120795,120795],"mapped",[51]],[[120796,120796],"mapped",[52]],[[120797,120797],"mapped",[53]],[[120798,120798],"mapped",[54]],[[120799,120799],"mapped",[55]],[[120800,120800],"mapped",[56]],[[120801,120801],"mapped",[57]],[[120802,120802],"mapped",[48]],[[120803,120803],"mapped",[49]],[[120804,120804],"mapped",[50]],[[120805,120805],"mapped",[51]],[[120806,120806],"mapped",[52]],[[120807,120807],"mapped",[53]],[[120808,120808],"mapped",[54]],[[120809,120809],"mapped",[55]],[[120810,120810],"mapped",[56]],[[120811,120811],"mapped",[57]],[[120812,120812],"mapped",[48]],[[120813,120813],"mapped",[49]],[[120814,120814],"mapped",[50]],[[120815,120815],"mapped",[51]],[[120816,120816],"mapped",[52]],[[120817,120817],"mapped",[53]],[[120818,120818],"mapped",[54]],[[120819,120819],"mapped",[55]],[[120820,120820],"mapped",[56]],[[120821,120821],"mapped",[57]],[[120822,120822],"mapped",[48]],[[120823,120823],"mapped",[49]],[[120824,120824],"mapped",[50]],[[120825,120825],"mapped",[51]],[[120826,120826],"mapped",[52]],[[120827,120827],"mapped",[53]],[[120828,120828],"mapped",[54]],[[120829,120829],"mapped",[55]],[[120830,120830],"mapped",[56]],[[120831,120831],"mapped",[57]],[[120832,121343],"valid",[],"NV8"],[[121344,121398],"valid"],[[121399,121402],"valid",[],"NV8"],[[121403,121452],"valid"],[[121453,121460],"valid",[],"NV8"],[[121461,121461],"valid"],[[121462,121475],"valid",[],"NV8"],[[121476,121476],"valid"],[[121477,121483],"valid",[],"NV8"],[[121484,121498],"disallowed"],[[121499,121503],"valid"],[[121504,121504],"disallowed"],[[121505,121519],"valid"],[[121520,124927],"disallowed"],[[124928,125124],"valid"],[[125125,125126],"disallowed"],[[125127,125135],"valid",[],"NV8"],[[125136,125142],"valid"],[[125143,126463],"disallowed"],[[126464,126464],"mapped",[1575]],[[126465,126465],"mapped",[1576]],[[126466,126466],"mapped",[1580]],[[126467,126467],"mapped",[1583]],[[126468,126468],"disallowed"],[[126469,126469],"mapped",[1608]],[[126470,126470],"mapped",[1586]],[[126471,126471],"mapped",[1581]],[[126472,126472],"mapped",[1591]],[[126473,126473],"mapped",[1610]],[[126474,126474],"mapped",[1603]],[[126475,126475],"mapped",[1604]],[[126476,126476],"mapped",[1605]],[[126477,126477],"mapped",[1606]],[[126478,126478],"mapped",[1587]],[[126479,126479],"mapped",[1593]],[[126480,126480],"mapped",[1601]],[[126481,126481],"mapped",[1589]],[[126482,126482],"mapped",[1602]],[[126483,126483],"mapped",[1585]],[[126484,126484],"mapped",[1588]],[[126485,126485],"mapped",[1578]],[[126486,126486],"mapped",[1579]],[[126487,126487],"mapped",[1582]],[[126488,126488],"mapped",[1584]],[[126489,126489],"mapped",[1590]],[[126490,126490],"mapped",[1592]],[[126491,126491],"mapped",[1594]],[[126492,126492],"mapped",[1646]],[[126493,126493],"mapped",[1722]],[[126494,126494],"mapped",[1697]],[[126495,126495],"mapped",[1647]],[[126496,126496],"disallowed"],[[126497,126497],"mapped",[1576]],[[126498,126498],"mapped",[1580]],[[126499,126499],"disallowed"],[[126500,126500],"mapped",[1607]],[[126501,126502],"disallowed"],[[126503,126503],"mapped",[1581]],[[126504,126504],"disallowed"],[[126505,126505],"mapped",[1610]],[[126506,126506],"mapped",[1603]],[[126507,126507],"mapped",[1604]],[[126508,126508],"mapped",[1605]],[[126509,126509],"mapped",[1606]],[[126510,126510],"mapped",[1587]],[[126511,126511],"mapped",[1593]],[[126512,126512],"mapped",[1601]],[[126513,126513],"mapped",[1589]],[[126514,126514],"mapped",[1602]],[[126515,126515],"disallowed"],[[126516,126516],"mapped",[1588]],[[126517,126517],"mapped",[1578]],[[126518,126518],"mapped",[1579]],[[126519,126519],"mapped",[1582]],[[126520,126520],"disallowed"],[[126521,126521],"mapped",[1590]],[[126522,126522],"disallowed"],[[126523,126523],"mapped",[1594]],[[126524,126529],"disallowed"],[[126530,126530],"mapped",[1580]],[[126531,126534],"disallowed"],[[126535,126535],"mapped",[1581]],[[126536,126536],"disallowed"],[[126537,126537],"mapped",[1610]],[[126538,126538],"disallowed"],[[126539,126539],"mapped",[1604]],[[126540,126540],"disallowed"],[[126541,126541],"mapped",[1606]],[[126542,126542],"mapped",[1587]],[[126543,126543],"mapped",[1593]],[[126544,126544],"disallowed"],[[126545,126545],"mapped",[1589]],[[126546,126546],"mapped",[1602]],[[126547,126547],"disallowed"],[[126548,126548],"mapped",[1588]],[[126549,126550],"disallowed"],[[126551,126551],"mapped",[1582]],[[126552,126552],"disallowed"],[[126553,126553],"mapped",[1590]],[[126554,126554],"disallowed"],[[126555,126555],"mapped",[1594]],[[126556,126556],"disallowed"],[[126557,126557],"mapped",[1722]],[[126558,126558],"disallowed"],[[126559,126559],"mapped",[1647]],[[126560,126560],"disallowed"],[[126561,126561],"mapped",[1576]],[[126562,126562],"mapped",[1580]],[[126563,126563],"disallowed"],[[126564,126564],"mapped",[1607]],[[126565,126566],"disallowed"],[[126567,126567],"mapped",[1581]],[[126568,126568],"mapped",[1591]],[[126569,126569],"mapped",[1610]],[[126570,126570],"mapped",[1603]],[[126571,126571],"disallowed"],[[126572,126572],"mapped",[1605]],[[126573,126573],"mapped",[1606]],[[126574,126574],"mapped",[1587]],[[126575,126575],"mapped",[1593]],[[126576,126576],"mapped",[1601]],[[126577,126577],"mapped",[1589]],[[126578,126578],"mapped",[1602]],[[126579,126579],"disallowed"],[[126580,126580],"mapped",[1588]],[[126581,126581],"mapped",[1578]],[[126582,126582],"mapped",[1579]],[[126583,126583],"mapped",[1582]],[[126584,126584],"disallowed"],[[126585,126585],"mapped",[1590]],[[126586,126586],"mapped",[1592]],[[126587,126587],"mapped",[1594]],[[126588,126588],"mapped",[1646]],[[126589,126589],"disallowed"],[[126590,126590],"mapped",[1697]],[[126591,126591],"disallowed"],[[126592,126592],"mapped",[1575]],[[126593,126593],"mapped",[1576]],[[126594,126594],"mapped",[1580]],[[126595,126595],"mapped",[1583]],[[126596,126596],"mapped",[1607]],[[126597,126597],"mapped",[1608]],[[126598,126598],"mapped",[1586]],[[126599,126599],"mapped",[1581]],[[126600,126600],"mapped",[1591]],[[126601,126601],"mapped",[1610]],[[126602,126602],"disallowed"],[[126603,126603],"mapped",[1604]],[[126604,126604],"mapped",[1605]],[[126605,126605],"mapped",[1606]],[[126606,126606],"mapped",[1587]],[[126607,126607],"mapped",[1593]],[[126608,126608],"mapped",[1601]],[[126609,126609],"mapped",[1589]],[[126610,126610],"mapped",[1602]],[[126611,126611],"mapped",[1585]],[[126612,126612],"mapped",[1588]],[[126613,126613],"mapped",[1578]],[[126614,126614],"mapped",[1579]],[[126615,126615],"mapped",[1582]],[[126616,126616],"mapped",[1584]],[[126617,126617],"mapped",[1590]],[[126618,126618],"mapped",[1592]],[[126619,126619],"mapped",[1594]],[[126620,126624],"disallowed"],[[126625,126625],"mapped",[1576]],[[126626,126626],"mapped",[1580]],[[126627,126627],"mapped",[1583]],[[126628,126628],"disallowed"],[[126629,126629],"mapped",[1608]],[[126630,126630],"mapped",[1586]],[[126631,126631],"mapped",[1581]],[[126632,126632],"mapped",[1591]],[[126633,126633],"mapped",[1610]],[[126634,126634],"disallowed"],[[126635,126635],"mapped",[1604]],[[126636,126636],"mapped",[1605]],[[126637,126637],"mapped",[1606]],[[126638,126638],"mapped",[1587]],[[126639,126639],"mapped",[1593]],[[126640,126640],"mapped",[1601]],[[126641,126641],"mapped",[1589]],[[126642,126642],"mapped",[1602]],[[126643,126643],"mapped",[1585]],[[126644,126644],"mapped",[1588]],[[126645,126645],"mapped",[1578]],[[126646,126646],"mapped",[1579]],[[126647,126647],"mapped",[1582]],[[126648,126648],"mapped",[1584]],[[126649,126649],"mapped",[1590]],[[126650,126650],"mapped",[1592]],[[126651,126651],"mapped",[1594]],[[126652,126703],"disallowed"],[[126704,126705],"valid",[],"NV8"],[[126706,126975],"disallowed"],[[126976,127019],"valid",[],"NV8"],[[127020,127023],"disallowed"],[[127024,127123],"valid",[],"NV8"],[[127124,127135],"disallowed"],[[127136,127150],"valid",[],"NV8"],[[127151,127152],"disallowed"],[[127153,127166],"valid",[],"NV8"],[[127167,127167],"valid",[],"NV8"],[[127168,127168],"disallowed"],[[127169,127183],"valid",[],"NV8"],[[127184,127184],"disallowed"],[[127185,127199],"valid",[],"NV8"],[[127200,127221],"valid",[],"NV8"],[[127222,127231],"disallowed"],[[127232,127232],"disallowed"],[[127233,127233],"disallowed_STD3_mapped",[48,44]],[[127234,127234],"disallowed_STD3_mapped",[49,44]],[[127235,127235],"disallowed_STD3_mapped",[50,44]],[[127236,127236],"disallowed_STD3_mapped",[51,44]],[[127237,127237],"disallowed_STD3_mapped",[52,44]],[[127238,127238],"disallowed_STD3_mapped",[53,44]],[[127239,127239],"disallowed_STD3_mapped",[54,44]],[[127240,127240],"disallowed_STD3_mapped",[55,44]],[[127241,127241],"disallowed_STD3_mapped",[56,44]],[[127242,127242],"disallowed_STD3_mapped",[57,44]],[[127243,127244],"valid",[],"NV8"],[[127245,127247],"disallowed"],[[127248,127248],"disallowed_STD3_mapped",[40,97,41]],[[127249,127249],"disallowed_STD3_mapped",[40,98,41]],[[127250,127250],"disallowed_STD3_mapped",[40,99,41]],[[127251,127251],"disallowed_STD3_mapped",[40,100,41]],[[127252,127252],"disallowed_STD3_mapped",[40,101,41]],[[127253,127253],"disallowed_STD3_mapped",[40,102,41]],[[127254,127254],"disallowed_STD3_mapped",[40,103,41]],[[127255,127255],"disallowed_STD3_mapped",[40,104,41]],[[127256,127256],"disallowed_STD3_mapped",[40,105,41]],[[127257,127257],"disallowed_STD3_mapped",[40,106,41]],[[127258,127258],"disallowed_STD3_mapped",[40,107,41]],[[127259,127259],"disallowed_STD3_mapped",[40,108,41]],[[127260,127260],"disallowed_STD3_mapped",[40,109,41]],[[127261,127261],"disallowed_STD3_mapped",[40,110,41]],[[127262,127262],"disallowed_STD3_mapped",[40,111,41]],[[127263,127263],"disallowed_STD3_mapped",[40,112,41]],[[127264,127264],"disallowed_STD3_mapped",[40,113,41]],[[127265,127265],"disallowed_STD3_mapped",[40,114,41]],[[127266,127266],"disallowed_STD3_mapped",[40,115,41]],[[127267,127267],"disallowed_STD3_mapped",[40,116,41]],[[127268,127268],"disallowed_STD3_mapped",[40,117,41]],[[127269,127269],"disallowed_STD3_mapped",[40,118,41]],[[127270,127270],"disallowed_STD3_mapped",[40,119,41]],[[127271,127271],"disallowed_STD3_mapped",[40,120,41]],[[127272,127272],"disallowed_STD3_mapped",[40,121,41]],[[127273,127273],"disallowed_STD3_mapped",[40,122,41]],[[127274,127274],"mapped",[12308,115,12309]],[[127275,127275],"mapped",[99]],[[127276,127276],"mapped",[114]],[[127277,127277],"mapped",[99,100]],[[127278,127278],"mapped",[119,122]],[[127279,127279],"disallowed"],[[127280,127280],"mapped",[97]],[[127281,127281],"mapped",[98]],[[127282,127282],"mapped",[99]],[[127283,127283],"mapped",[100]],[[127284,127284],"mapped",[101]],[[127285,127285],"mapped",[102]],[[127286,127286],"mapped",[103]],[[127287,127287],"mapped",[104]],[[127288,127288],"mapped",[105]],[[127289,127289],"mapped",[106]],[[127290,127290],"mapped",[107]],[[127291,127291],"mapped",[108]],[[127292,127292],"mapped",[109]],[[127293,127293],"mapped",[110]],[[127294,127294],"mapped",[111]],[[127295,127295],"mapped",[112]],[[127296,127296],"mapped",[113]],[[127297,127297],"mapped",[114]],[[127298,127298],"mapped",[115]],[[127299,127299],"mapped",[116]],[[127300,127300],"mapped",[117]],[[127301,127301],"mapped",[118]],[[127302,127302],"mapped",[119]],[[127303,127303],"mapped",[120]],[[127304,127304],"mapped",[121]],[[127305,127305],"mapped",[122]],[[127306,127306],"mapped",[104,118]],[[127307,127307],"mapped",[109,118]],[[127308,127308],"mapped",[115,100]],[[127309,127309],"mapped",[115,115]],[[127310,127310],"mapped",[112,112,118]],[[127311,127311],"mapped",[119,99]],[[127312,127318],"valid",[],"NV8"],[[127319,127319],"valid",[],"NV8"],[[127320,127326],"valid",[],"NV8"],[[127327,127327],"valid",[],"NV8"],[[127328,127337],"valid",[],"NV8"],[[127338,127338],"mapped",[109,99]],[[127339,127339],"mapped",[109,100]],[[127340,127343],"disallowed"],[[127344,127352],"valid",[],"NV8"],[[127353,127353],"valid",[],"NV8"],[[127354,127354],"valid",[],"NV8"],[[127355,127356],"valid",[],"NV8"],[[127357,127358],"valid",[],"NV8"],[[127359,127359],"valid",[],"NV8"],[[127360,127369],"valid",[],"NV8"],[[127370,127373],"valid",[],"NV8"],[[127374,127375],"valid",[],"NV8"],[[127376,127376],"mapped",[100,106]],[[127377,127386],"valid",[],"NV8"],[[127387,127461],"disallowed"],[[127462,127487],"valid",[],"NV8"],[[127488,127488],"mapped",[12411,12363]],[[127489,127489],"mapped",[12467,12467]],[[127490,127490],"mapped",[12469]],[[127491,127503],"disallowed"],[[127504,127504],"mapped",[25163]],[[127505,127505],"mapped",[23383]],[[127506,127506],"mapped",[21452]],[[127507,127507],"mapped",[12487]],[[127508,127508],"mapped",[20108]],[[127509,127509],"mapped",[22810]],[[127510,127510],"mapped",[35299]],[[127511,127511],"mapped",[22825]],[[127512,127512],"mapped",[20132]],[[127513,127513],"mapped",[26144]],[[127514,127514],"mapped",[28961]],[[127515,127515],"mapped",[26009]],[[127516,127516],"mapped",[21069]],[[127517,127517],"mapped",[24460]],[[127518,127518],"mapped",[20877]],[[127519,127519],"mapped",[26032]],[[127520,127520],"mapped",[21021]],[[127521,127521],"mapped",[32066]],[[127522,127522],"mapped",[29983]],[[127523,127523],"mapped",[36009]],[[127524,127524],"mapped",[22768]],[[127525,127525],"mapped",[21561]],[[127526,127526],"mapped",[28436]],[[127527,127527],"mapped",[25237]],[[127528,127528],"mapped",[25429]],[[127529,127529],"mapped",[19968]],[[127530,127530],"mapped",[19977]],[[127531,127531],"mapped",[36938]],[[127532,127532],"mapped",[24038]],[[127533,127533],"mapped",[20013]],[[127534,127534],"mapped",[21491]],[[127535,127535],"mapped",[25351]],[[127536,127536],"mapped",[36208]],[[127537,127537],"mapped",[25171]],[[127538,127538],"mapped",[31105]],[[127539,127539],"mapped",[31354]],[[127540,127540],"mapped",[21512]],[[127541,127541],"mapped",[28288]],[[127542,127542],"mapped",[26377]],[[127543,127543],"mapped",[26376]],[[127544,127544],"mapped",[30003]],[[127545,127545],"mapped",[21106]],[[127546,127546],"mapped",[21942]],[[127547,127551],"disallowed"],[[127552,127552],"mapped",[12308,26412,12309]],[[127553,127553],"mapped",[12308,19977,12309]],[[127554,127554],"mapped",[12308,20108,12309]],[[127555,127555],"mapped",[12308,23433,12309]],[[127556,127556],"mapped",[12308,28857,12309]],[[127557,127557],"mapped",[12308,25171,12309]],[[127558,127558],"mapped",[12308,30423,12309]],[[127559,127559],"mapped",[12308,21213,12309]],[[127560,127560],"mapped",[12308,25943,12309]],[[127561,127567],"disallowed"],[[127568,127568],"mapped",[24471]],[[127569,127569],"mapped",[21487]],[[127570,127743],"disallowed"],[[127744,127776],"valid",[],"NV8"],[[127777,127788],"valid",[],"NV8"],[[127789,127791],"valid",[],"NV8"],[[127792,127797],"valid",[],"NV8"],[[127798,127798],"valid",[],"NV8"],[[127799,127868],"valid",[],"NV8"],[[127869,127869],"valid",[],"NV8"],[[127870,127871],"valid",[],"NV8"],[[127872,127891],"valid",[],"NV8"],[[127892,127903],"valid",[],"NV8"],[[127904,127940],"valid",[],"NV8"],[[127941,127941],"valid",[],"NV8"],[[127942,127946],"valid",[],"NV8"],[[127947,127950],"valid",[],"NV8"],[[127951,127955],"valid",[],"NV8"],[[127956,127967],"valid",[],"NV8"],[[127968,127984],"valid",[],"NV8"],[[127985,127991],"valid",[],"NV8"],[[127992,127999],"valid",[],"NV8"],[[128000,128062],"valid",[],"NV8"],[[128063,128063],"valid",[],"NV8"],[[128064,128064],"valid",[],"NV8"],[[128065,128065],"valid",[],"NV8"],[[128066,128247],"valid",[],"NV8"],[[128248,128248],"valid",[],"NV8"],[[128249,128252],"valid",[],"NV8"],[[128253,128254],"valid",[],"NV8"],[[128255,128255],"valid",[],"NV8"],[[128256,128317],"valid",[],"NV8"],[[128318,128319],"valid",[],"NV8"],[[128320,128323],"valid",[],"NV8"],[[128324,128330],"valid",[],"NV8"],[[128331,128335],"valid",[],"NV8"],[[128336,128359],"valid",[],"NV8"],[[128360,128377],"valid",[],"NV8"],[[128378,128378],"disallowed"],[[128379,128419],"valid",[],"NV8"],[[128420,128420],"disallowed"],[[128421,128506],"valid",[],"NV8"],[[128507,128511],"valid",[],"NV8"],[[128512,128512],"valid",[],"NV8"],[[128513,128528],"valid",[],"NV8"],[[128529,128529],"valid",[],"NV8"],[[128530,128532],"valid",[],"NV8"],[[128533,128533],"valid",[],"NV8"],[[128534,128534],"valid",[],"NV8"],[[128535,128535],"valid",[],"NV8"],[[128536,128536],"valid",[],"NV8"],[[128537,128537],"valid",[],"NV8"],[[128538,128538],"valid",[],"NV8"],[[128539,128539],"valid",[],"NV8"],[[128540,128542],"valid",[],"NV8"],[[128543,128543],"valid",[],"NV8"],[[128544,128549],"valid",[],"NV8"],[[128550,128551],"valid",[],"NV8"],[[128552,128555],"valid",[],"NV8"],[[128556,128556],"valid",[],"NV8"],[[128557,128557],"valid",[],"NV8"],[[128558,128559],"valid",[],"NV8"],[[128560,128563],"valid",[],"NV8"],[[128564,128564],"valid",[],"NV8"],[[128565,128576],"valid",[],"NV8"],[[128577,128578],"valid",[],"NV8"],[[128579,128580],"valid",[],"NV8"],[[128581,128591],"valid",[],"NV8"],[[128592,128639],"valid",[],"NV8"],[[128640,128709],"valid",[],"NV8"],[[128710,128719],"valid",[],"NV8"],[[128720,128720],"valid",[],"NV8"],[[128721,128735],"disallowed"],[[128736,128748],"valid",[],"NV8"],[[128749,128751],"disallowed"],[[128752,128755],"valid",[],"NV8"],[[128756,128767],"disallowed"],[[128768,128883],"valid",[],"NV8"],[[128884,128895],"disallowed"],[[128896,128980],"valid",[],"NV8"],[[128981,129023],"disallowed"],[[129024,129035],"valid",[],"NV8"],[[129036,129039],"disallowed"],[[129040,129095],"valid",[],"NV8"],[[129096,129103],"disallowed"],[[129104,129113],"valid",[],"NV8"],[[129114,129119],"disallowed"],[[129120,129159],"valid",[],"NV8"],[[129160,129167],"disallowed"],[[129168,129197],"valid",[],"NV8"],[[129198,129295],"disallowed"],[[129296,129304],"valid",[],"NV8"],[[129305,129407],"disallowed"],[[129408,129412],"valid",[],"NV8"],[[129413,129471],"disallowed"],[[129472,129472],"valid",[],"NV8"],[[129473,131069],"disallowed"],[[131070,131071],"disallowed"],[[131072,173782],"valid"],[[173783,173823],"disallowed"],[[173824,177972],"valid"],[[177973,177983],"disallowed"],[[177984,178205],"valid"],[[178206,178207],"disallowed"],[[178208,183969],"valid"],[[183970,194559],"disallowed"],[[194560,194560],"mapped",[20029]],[[194561,194561],"mapped",[20024]],[[194562,194562],"mapped",[20033]],[[194563,194563],"mapped",[131362]],[[194564,194564],"mapped",[20320]],[[194565,194565],"mapped",[20398]],[[194566,194566],"mapped",[20411]],[[194567,194567],"mapped",[20482]],[[194568,194568],"mapped",[20602]],[[194569,194569],"mapped",[20633]],[[194570,194570],"mapped",[20711]],[[194571,194571],"mapped",[20687]],[[194572,194572],"mapped",[13470]],[[194573,194573],"mapped",[132666]],[[194574,194574],"mapped",[20813]],[[194575,194575],"mapped",[20820]],[[194576,194576],"mapped",[20836]],[[194577,194577],"mapped",[20855]],[[194578,194578],"mapped",[132380]],[[194579,194579],"mapped",[13497]],[[194580,194580],"mapped",[20839]],[[194581,194581],"mapped",[20877]],[[194582,194582],"mapped",[132427]],[[194583,194583],"mapped",[20887]],[[194584,194584],"mapped",[20900]],[[194585,194585],"mapped",[20172]],[[194586,194586],"mapped",[20908]],[[194587,194587],"mapped",[20917]],[[194588,194588],"mapped",[168415]],[[194589,194589],"mapped",[20981]],[[194590,194590],"mapped",[20995]],[[194591,194591],"mapped",[13535]],[[194592,194592],"mapped",[21051]],[[194593,194593],"mapped",[21062]],[[194594,194594],"mapped",[21106]],[[194595,194595],"mapped",[21111]],[[194596,194596],"mapped",[13589]],[[194597,194597],"mapped",[21191]],[[194598,194598],"mapped",[21193]],[[194599,194599],"mapped",[21220]],[[194600,194600],"mapped",[21242]],[[194601,194601],"mapped",[21253]],[[194602,194602],"mapped",[21254]],[[194603,194603],"mapped",[21271]],[[194604,194604],"mapped",[21321]],[[194605,194605],"mapped",[21329]],[[194606,194606],"mapped",[21338]],[[194607,194607],"mapped",[21363]],[[194608,194608],"mapped",[21373]],[[194609,194611],"mapped",[21375]],[[194612,194612],"mapped",[133676]],[[194613,194613],"mapped",[28784]],[[194614,194614],"mapped",[21450]],[[194615,194615],"mapped",[21471]],[[194616,194616],"mapped",[133987]],[[194617,194617],"mapped",[21483]],[[194618,194618],"mapped",[21489]],[[194619,194619],"mapped",[21510]],[[194620,194620],"mapped",[21662]],[[194621,194621],"mapped",[21560]],[[194622,194622],"mapped",[21576]],[[194623,194623],"mapped",[21608]],[[194624,194624],"mapped",[21666]],[[194625,194625],"mapped",[21750]],[[194626,194626],"mapped",[21776]],[[194627,194627],"mapped",[21843]],[[194628,194628],"mapped",[21859]],[[194629,194630],"mapped",[21892]],[[194631,194631],"mapped",[21913]],[[194632,194632],"mapped",[21931]],[[194633,194633],"mapped",[21939]],[[194634,194634],"mapped",[21954]],[[194635,194635],"mapped",[22294]],[[194636,194636],"mapped",[22022]],[[194637,194637],"mapped",[22295]],[[194638,194638],"mapped",[22097]],[[194639,194639],"mapped",[22132]],[[194640,194640],"mapped",[20999]],[[194641,194641],"mapped",[22766]],[[194642,194642],"mapped",[22478]],[[194643,194643],"mapped",[22516]],[[194644,194644],"mapped",[22541]],[[194645,194645],"mapped",[22411]],[[194646,194646],"mapped",[22578]],[[194647,194647],"mapped",[22577]],[[194648,194648],"mapped",[22700]],[[194649,194649],"mapped",[136420]],[[194650,194650],"mapped",[22770]],[[194651,194651],"mapped",[22775]],[[194652,194652],"mapped",[22790]],[[194653,194653],"mapped",[22810]],[[194654,194654],"mapped",[22818]],[[194655,194655],"mapped",[22882]],[[194656,194656],"mapped",[136872]],[[194657,194657],"mapped",[136938]],[[194658,194658],"mapped",[23020]],[[194659,194659],"mapped",[23067]],[[194660,194660],"mapped",[23079]],[[194661,194661],"mapped",[23000]],[[194662,194662],"mapped",[23142]],[[194663,194663],"mapped",[14062]],[[194664,194664],"disallowed"],[[194665,194665],"mapped",[23304]],[[194666,194667],"mapped",[23358]],[[194668,194668],"mapped",[137672]],[[194669,194669],"mapped",[23491]],[[194670,194670],"mapped",[23512]],[[194671,194671],"mapped",[23527]],[[194672,194672],"mapped",[23539]],[[194673,194673],"mapped",[138008]],[[194674,194674],"mapped",[23551]],[[194675,194675],"mapped",[23558]],[[194676,194676],"disallowed"],[[194677,194677],"mapped",[23586]],[[194678,194678],"mapped",[14209]],[[194679,194679],"mapped",[23648]],[[194680,194680],"mapped",[23662]],[[194681,194681],"mapped",[23744]],[[194682,194682],"mapped",[23693]],[[194683,194683],"mapped",[138724]],[[194684,194684],"mapped",[23875]],[[194685,194685],"mapped",[138726]],[[194686,194686],"mapped",[23918]],[[194687,194687],"mapped",[23915]],[[194688,194688],"mapped",[23932]],[[194689,194689],"mapped",[24033]],[[194690,194690],"mapped",[24034]],[[194691,194691],"mapped",[14383]],[[194692,194692],"mapped",[24061]],[[194693,194693],"mapped",[24104]],[[194694,194694],"mapped",[24125]],[[194695,194695],"mapped",[24169]],[[194696,194696],"mapped",[14434]],[[194697,194697],"mapped",[139651]],[[194698,194698],"mapped",[14460]],[[194699,194699],"mapped",[24240]],[[194700,194700],"mapped",[24243]],[[194701,194701],"mapped",[24246]],[[194702,194702],"mapped",[24266]],[[194703,194703],"mapped",[172946]],[[194704,194704],"mapped",[24318]],[[194705,194706],"mapped",[140081]],[[194707,194707],"mapped",[33281]],[[194708,194709],"mapped",[24354]],[[194710,194710],"mapped",[14535]],[[194711,194711],"mapped",[144056]],[[194712,194712],"mapped",[156122]],[[194713,194713],"mapped",[24418]],[[194714,194714],"mapped",[24427]],[[194715,194715],"mapped",[14563]],[[194716,194716],"mapped",[24474]],[[194717,194717],"mapped",[24525]],[[194718,194718],"mapped",[24535]],[[194719,194719],"mapped",[24569]],[[194720,194720],"mapped",[24705]],[[194721,194721],"mapped",[14650]],[[194722,194722],"mapped",[14620]],[[194723,194723],"mapped",[24724]],[[194724,194724],"mapped",[141012]],[[194725,194725],"mapped",[24775]],[[194726,194726],"mapped",[24904]],[[194727,194727],"mapped",[24908]],[[194728,194728],"mapped",[24910]],[[194729,194729],"mapped",[24908]],[[194730,194730],"mapped",[24954]],[[194731,194731],"mapped",[24974]],[[194732,194732],"mapped",[25010]],[[194733,194733],"mapped",[24996]],[[194734,194734],"mapped",[25007]],[[194735,194735],"mapped",[25054]],[[194736,194736],"mapped",[25074]],[[194737,194737],"mapped",[25078]],[[194738,194738],"mapped",[25104]],[[194739,194739],"mapped",[25115]],[[194740,194740],"mapped",[25181]],[[194741,194741],"mapped",[25265]],[[194742,194742],"mapped",[25300]],[[194743,194743],"mapped",[25424]],[[194744,194744],"mapped",[142092]],[[194745,194745],"mapped",[25405]],[[194746,194746],"mapped",[25340]],[[194747,194747],"mapped",[25448]],[[194748,194748],"mapped",[25475]],[[194749,194749],"mapped",[25572]],[[194750,194750],"mapped",[142321]],[[194751,194751],"mapped",[25634]],[[194752,194752],"mapped",[25541]],[[194753,194753],"mapped",[25513]],[[194754,194754],"mapped",[14894]],[[194755,194755],"mapped",[25705]],[[194756,194756],"mapped",[25726]],[[194757,194757],"mapped",[25757]],[[194758,194758],"mapped",[25719]],[[194759,194759],"mapped",[14956]],[[194760,194760],"mapped",[25935]],[[194761,194761],"mapped",[25964]],[[194762,194762],"mapped",[143370]],[[194763,194763],"mapped",[26083]],[[194764,194764],"mapped",[26360]],[[194765,194765],"mapped",[26185]],[[194766,194766],"mapped",[15129]],[[194767,194767],"mapped",[26257]],[[194768,194768],"mapped",[15112]],[[194769,194769],"mapped",[15076]],[[194770,194770],"mapped",[20882]],[[194771,194771],"mapped",[20885]],[[194772,194772],"mapped",[26368]],[[194773,194773],"mapped",[26268]],[[194774,194774],"mapped",[32941]],[[194775,194775],"mapped",[17369]],[[194776,194776],"mapped",[26391]],[[194777,194777],"mapped",[26395]],[[194778,194778],"mapped",[26401]],[[194779,194779],"mapped",[26462]],[[194780,194780],"mapped",[26451]],[[194781,194781],"mapped",[144323]],[[194782,194782],"mapped",[15177]],[[194783,194783],"mapped",[26618]],[[194784,194784],"mapped",[26501]],[[194785,194785],"mapped",[26706]],[[194786,194786],"mapped",[26757]],[[194787,194787],"mapped",[144493]],[[194788,194788],"mapped",[26766]],[[194789,194789],"mapped",[26655]],[[194790,194790],"mapped",[26900]],[[194791,194791],"mapped",[15261]],[[194792,194792],"mapped",[26946]],[[194793,194793],"mapped",[27043]],[[194794,194794],"mapped",[27114]],[[194795,194795],"mapped",[27304]],[[194796,194796],"mapped",[145059]],[[194797,194797],"mapped",[27355]],[[194798,194798],"mapped",[15384]],[[194799,194799],"mapped",[27425]],[[194800,194800],"mapped",[145575]],[[194801,194801],"mapped",[27476]],[[194802,194802],"mapped",[15438]],[[194803,194803],"mapped",[27506]],[[194804,194804],"mapped",[27551]],[[194805,194805],"mapped",[27578]],[[194806,194806],"mapped",[27579]],[[194807,194807],"mapped",[146061]],[[194808,194808],"mapped",[138507]],[[194809,194809],"mapped",[146170]],[[194810,194810],"mapped",[27726]],[[194811,194811],"mapped",[146620]],[[194812,194812],"mapped",[27839]],[[194813,194813],"mapped",[27853]],[[194814,194814],"mapped",[27751]],[[194815,194815],"mapped",[27926]],[[194816,194816],"mapped",[27966]],[[194817,194817],"mapped",[28023]],[[194818,194818],"mapped",[27969]],[[194819,194819],"mapped",[28009]],[[194820,194820],"mapped",[28024]],[[194821,194821],"mapped",[28037]],[[194822,194822],"mapped",[146718]],[[194823,194823],"mapped",[27956]],[[194824,194824],"mapped",[28207]],[[194825,194825],"mapped",[28270]],[[194826,194826],"mapped",[15667]],[[194827,194827],"mapped",[28363]],[[194828,194828],"mapped",[28359]],[[194829,194829],"mapped",[147153]],[[194830,194830],"mapped",[28153]],[[194831,194831],"mapped",[28526]],[[194832,194832],"mapped",[147294]],[[194833,194833],"mapped",[147342]],[[194834,194834],"mapped",[28614]],[[194835,194835],"mapped",[28729]],[[194836,194836],"mapped",[28702]],[[194837,194837],"mapped",[28699]],[[194838,194838],"mapped",[15766]],[[194839,194839],"mapped",[28746]],[[194840,194840],"mapped",[28797]],[[194841,194841],"mapped",[28791]],[[194842,194842],"mapped",[28845]],[[194843,194843],"mapped",[132389]],[[194844,194844],"mapped",[28997]],[[194845,194845],"mapped",[148067]],[[194846,194846],"mapped",[29084]],[[194847,194847],"disallowed"],[[194848,194848],"mapped",[29224]],[[194849,194849],"mapped",[29237]],[[194850,194850],"mapped",[29264]],[[194851,194851],"mapped",[149000]],[[194852,194852],"mapped",[29312]],[[194853,194853],"mapped",[29333]],[[194854,194854],"mapped",[149301]],[[194855,194855],"mapped",[149524]],[[194856,194856],"mapped",[29562]],[[194857,194857],"mapped",[29579]],[[194858,194858],"mapped",[16044]],[[194859,194859],"mapped",[29605]],[[194860,194861],"mapped",[16056]],[[194862,194862],"mapped",[29767]],[[194863,194863],"mapped",[29788]],[[194864,194864],"mapped",[29809]],[[194865,194865],"mapped",[29829]],[[194866,194866],"mapped",[29898]],[[194867,194867],"mapped",[16155]],[[194868,194868],"mapped",[29988]],[[194869,194869],"mapped",[150582]],[[194870,194870],"mapped",[30014]],[[194871,194871],"mapped",[150674]],[[194872,194872],"mapped",[30064]],[[194873,194873],"mapped",[139679]],[[194874,194874],"mapped",[30224]],[[194875,194875],"mapped",[151457]],[[194876,194876],"mapped",[151480]],[[194877,194877],"mapped",[151620]],[[194878,194878],"mapped",[16380]],[[194879,194879],"mapped",[16392]],[[194880,194880],"mapped",[30452]],[[194881,194881],"mapped",[151795]],[[194882,194882],"mapped",[151794]],[[194883,194883],"mapped",[151833]],[[194884,194884],"mapped",[151859]],[[194885,194885],"mapped",[30494]],[[194886,194887],"mapped",[30495]],[[194888,194888],"mapped",[30538]],[[194889,194889],"mapped",[16441]],[[194890,194890],"mapped",[30603]],[[194891,194891],"mapped",[16454]],[[194892,194892],"mapped",[16534]],[[194893,194893],"mapped",[152605]],[[194894,194894],"mapped",[30798]],[[194895,194895],"mapped",[30860]],[[194896,194896],"mapped",[30924]],[[194897,194897],"mapped",[16611]],[[194898,194898],"mapped",[153126]],[[194899,194899],"mapped",[31062]],[[194900,194900],"mapped",[153242]],[[194901,194901],"mapped",[153285]],[[194902,194902],"mapped",[31119]],[[194903,194903],"mapped",[31211]],[[194904,194904],"mapped",[16687]],[[194905,194905],"mapped",[31296]],[[194906,194906],"mapped",[31306]],[[194907,194907],"mapped",[31311]],[[194908,194908],"mapped",[153980]],[[194909,194910],"mapped",[154279]],[[194911,194911],"disallowed"],[[194912,194912],"mapped",[16898]],[[194913,194913],"mapped",[154539]],[[194914,194914],"mapped",[31686]],[[194915,194915],"mapped",[31689]],[[194916,194916],"mapped",[16935]],[[194917,194917],"mapped",[154752]],[[194918,194918],"mapped",[31954]],[[194919,194919],"mapped",[17056]],[[194920,194920],"mapped",[31976]],[[194921,194921],"mapped",[31971]],[[194922,194922],"mapped",[32000]],[[194923,194923],"mapped",[155526]],[[194924,194924],"mapped",[32099]],[[194925,194925],"mapped",[17153]],[[194926,194926],"mapped",[32199]],[[194927,194927],"mapped",[32258]],[[194928,194928],"mapped",[32325]],[[194929,194929],"mapped",[17204]],[[194930,194930],"mapped",[156200]],[[194931,194931],"mapped",[156231]],[[194932,194932],"mapped",[17241]],[[194933,194933],"mapped",[156377]],[[194934,194934],"mapped",[32634]],[[194935,194935],"mapped",[156478]],[[194936,194936],"mapped",[32661]],[[194937,194937],"mapped",[32762]],[[194938,194938],"mapped",[32773]],[[194939,194939],"mapped",[156890]],[[194940,194940],"mapped",[156963]],[[194941,194941],"mapped",[32864]],[[194942,194942],"mapped",[157096]],[[194943,194943],"mapped",[32880]],[[194944,194944],"mapped",[144223]],[[194945,194945],"mapped",[17365]],[[194946,194946],"mapped",[32946]],[[194947,194947],"mapped",[33027]],[[194948,194948],"mapped",[17419]],[[194949,194949],"mapped",[33086]],[[194950,194950],"mapped",[23221]],[[194951,194951],"mapped",[157607]],[[194952,194952],"mapped",[157621]],[[194953,194953],"mapped",[144275]],[[194954,194954],"mapped",[144284]],[[194955,194955],"mapped",[33281]],[[194956,194956],"mapped",[33284]],[[194957,194957],"mapped",[36766]],[[194958,194958],"mapped",[17515]],[[194959,194959],"mapped",[33425]],[[194960,194960],"mapped",[33419]],[[194961,194961],"mapped",[33437]],[[194962,194962],"mapped",[21171]],[[194963,194963],"mapped",[33457]],[[194964,194964],"mapped",[33459]],[[194965,194965],"mapped",[33469]],[[194966,194966],"mapped",[33510]],[[194967,194967],"mapped",[158524]],[[194968,194968],"mapped",[33509]],[[194969,194969],"mapped",[33565]],[[194970,194970],"mapped",[33635]],[[194971,194971],"mapped",[33709]],[[194972,194972],"mapped",[33571]],[[194973,194973],"mapped",[33725]],[[194974,194974],"mapped",[33767]],[[194975,194975],"mapped",[33879]],[[194976,194976],"mapped",[33619]],[[194977,194977],"mapped",[33738]],[[194978,194978],"mapped",[33740]],[[194979,194979],"mapped",[33756]],[[194980,194980],"mapped",[158774]],[[194981,194981],"mapped",[159083]],[[194982,194982],"mapped",[158933]],[[194983,194983],"mapped",[17707]],[[194984,194984],"mapped",[34033]],[[194985,194985],"mapped",[34035]],[[194986,194986],"mapped",[34070]],[[194987,194987],"mapped",[160714]],[[194988,194988],"mapped",[34148]],[[194989,194989],"mapped",[159532]],[[194990,194990],"mapped",[17757]],[[194991,194991],"mapped",[17761]],[[194992,194992],"mapped",[159665]],[[194993,194993],"mapped",[159954]],[[194994,194994],"mapped",[17771]],[[194995,194995],"mapped",[34384]],[[194996,194996],"mapped",[34396]],[[194997,194997],"mapped",[34407]],[[194998,194998],"mapped",[34409]],[[194999,194999],"mapped",[34473]],[[195000,195000],"mapped",[34440]],[[195001,195001],"mapped",[34574]],[[195002,195002],"mapped",[34530]],[[195003,195003],"mapped",[34681]],[[195004,195004],"mapped",[34600]],[[195005,195005],"mapped",[34667]],[[195006,195006],"mapped",[34694]],[[195007,195007],"disallowed"],[[195008,195008],"mapped",[34785]],[[195009,195009],"mapped",[34817]],[[195010,195010],"mapped",[17913]],[[195011,195011],"mapped",[34912]],[[195012,195012],"mapped",[34915]],[[195013,195013],"mapped",[161383]],[[195014,195014],"mapped",[35031]],[[195015,195015],"mapped",[35038]],[[195016,195016],"mapped",[17973]],[[195017,195017],"mapped",[35066]],[[195018,195018],"mapped",[13499]],[[195019,195019],"mapped",[161966]],[[195020,195020],"mapped",[162150]],[[195021,195021],"mapped",[18110]],[[195022,195022],"mapped",[18119]],[[195023,195023],"mapped",[35488]],[[195024,195024],"mapped",[35565]],[[195025,195025],"mapped",[35722]],[[195026,195026],"mapped",[35925]],[[195027,195027],"mapped",[162984]],[[195028,195028],"mapped",[36011]],[[195029,195029],"mapped",[36033]],[[195030,195030],"mapped",[36123]],[[195031,195031],"mapped",[36215]],[[195032,195032],"mapped",[163631]],[[195033,195033],"mapped",[133124]],[[195034,195034],"mapped",[36299]],[[195035,195035],"mapped",[36284]],[[195036,195036],"mapped",[36336]],[[195037,195037],"mapped",[133342]],[[195038,195038],"mapped",[36564]],[[195039,195039],"mapped",[36664]],[[195040,195040],"mapped",[165330]],[[195041,195041],"mapped",[165357]],[[195042,195042],"mapped",[37012]],[[195043,195043],"mapped",[37105]],[[195044,195044],"mapped",[37137]],[[195045,195045],"mapped",[165678]],[[195046,195046],"mapped",[37147]],[[195047,195047],"mapped",[37432]],[[195048,195048],"mapped",[37591]],[[195049,195049],"mapped",[37592]],[[195050,195050],"mapped",[37500]],[[195051,195051],"mapped",[37881]],[[195052,195052],"mapped",[37909]],[[195053,195053],"mapped",[166906]],[[195054,195054],"mapped",[38283]],[[195055,195055],"mapped",[18837]],[[195056,195056],"mapped",[38327]],[[195057,195057],"mapped",[167287]],[[195058,195058],"mapped",[18918]],[[195059,195059],"mapped",[38595]],[[195060,195060],"mapped",[23986]],[[195061,195061],"mapped",[38691]],[[195062,195062],"mapped",[168261]],[[195063,195063],"mapped",[168474]],[[195064,195064],"mapped",[19054]],[[195065,195065],"mapped",[19062]],[[195066,195066],"mapped",[38880]],[[195067,195067],"mapped",[168970]],[[195068,195068],"mapped",[19122]],[[195069,195069],"mapped",[169110]],[[195070,195071],"mapped",[38923]],[[195072,195072],"mapped",[38953]],[[195073,195073],"mapped",[169398]],[[195074,195074],"mapped",[39138]],[[195075,195075],"mapped",[19251]],[[195076,195076],"mapped",[39209]],[[195077,195077],"mapped",[39335]],[[195078,195078],"mapped",[39362]],[[195079,195079],"mapped",[39422]],[[195080,195080],"mapped",[19406]],[[195081,195081],"mapped",[170800]],[[195082,195082],"mapped",[39698]],[[195083,195083],"mapped",[40000]],[[195084,195084],"mapped",[40189]],[[195085,195085],"mapped",[19662]],[[195086,195086],"mapped",[19693]],[[195087,195087],"mapped",[40295]],[[195088,195088],"mapped",[172238]],[[195089,195089],"mapped",[19704]],[[195090,195090],"mapped",[172293]],[[195091,195091],"mapped",[172558]],[[195092,195092],"mapped",[172689]],[[195093,195093],"mapped",[40635]],[[195094,195094],"mapped",[19798]],[[195095,195095],"mapped",[40697]],[[195096,195096],"mapped",[40702]],[[195097,195097],"mapped",[40709]],[[195098,195098],"mapped",[40719]],[[195099,195099],"mapped",[40726]],[[195100,195100],"mapped",[40763]],[[195101,195101],"mapped",[173568]],[[195102,196605],"disallowed"],[[196606,196607],"disallowed"],[[196608,262141],"disallowed"],[[262142,262143],"disallowed"],[[262144,327677],"disallowed"],[[327678,327679],"disallowed"],[[327680,393213],"disallowed"],[[393214,393215],"disallowed"],[[393216,458749],"disallowed"],[[458750,458751],"disallowed"],[[458752,524285],"disallowed"],[[524286,524287],"disallowed"],[[524288,589821],"disallowed"],[[589822,589823],"disallowed"],[[589824,655357],"disallowed"],[[655358,655359],"disallowed"],[[655360,720893],"disallowed"],[[720894,720895],"disallowed"],[[720896,786429],"disallowed"],[[786430,786431],"disallowed"],[[786432,851965],"disallowed"],[[851966,851967],"disallowed"],[[851968,917501],"disallowed"],[[917502,917503],"disallowed"],[[917504,917504],"disallowed"],[[917505,917505],"disallowed"],[[917506,917535],"disallowed"],[[917536,917631],"disallowed"],[[917632,917759],"disallowed"],[[917760,917999],"ignored"],[[918000,983037],"disallowed"],[[983038,983039],"disallowed"],[[983040,1048573],"disallowed"],[[1048574,1048575],"disallowed"],[[1048576,1114109],"disallowed"],[[1114110,1114111],"disallowed"]]});var rl1=Y((qA4,Ob)=>{var cl1=B1("punycode"),xl1=kl1(),Lz={TRANSITIONAL:0,NONTRANSITIONAL:1};function pl1(I){return I.split("\x00").map(function(d){return d.normalize("NFC")}).join("\x00")}function il1(I){var d=0,G=xl1.length-1;while(d<=G){var Z=Math.floor((d+G)/2),C=xl1[Z];if(C[0][0]<=I&&C[0][1]>=I)return C;else if(C[0][0]>I)G=Z-1;else d=Z+1}return null}var NA4=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function nl1(I){return I.replace(NA4,"_").length}function zA4(I,d,G){var Z=!1,C="",W=nl1(I);for(var w=0;w<W;++w){var B=I.codePointAt(w),A=il1(B);switch(A[1]){case"disallowed":Z=!0,C+=String.fromCodePoint(B);break;case"ignored":break;case"mapped":C+=String.fromCodePoint.apply(String,A[2]);break;case"deviation":if(G===Lz.TRANSITIONAL)C+=String.fromCodePoint.apply(String,A[2]);else C+=String.fromCodePoint(B);break;case"valid":C+=String.fromCodePoint(B);break;case"disallowed_STD3_mapped":if(d)Z=!0,C+=String.fromCodePoint(B);else C+=String.fromCodePoint.apply(String,A[2]);break;case"disallowed_STD3_valid":if(d)Z=!0;C+=String.fromCodePoint(B);break}}return{string:C,error:Z}}var QA4=/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD804[\uDC00-\uDC02\uDC38-\uDC46\uDC7F-\uDC82\uDCB0-\uDCBA\uDD00-\uDD02\uDD27-\uDD34\uDD73\uDD80-\uDD82\uDDB3-\uDDC0\uDE2C-\uDE37\uDEDF-\uDEEA\uDF01-\uDF03\uDF3C\uDF3E-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF57\uDF62\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDCB0-\uDCC3\uDDAF-\uDDB5\uDDB8-\uDDC0\uDE30-\uDE40\uDEAB-\uDEB7]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF51-\uDF7E\uDF8F-\uDF92]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD83A[\uDCD0-\uDCD6]|\uDB40[\uDD00-\uDDEF]/;function fA4(I,d){if(I.substr(0,4)==="xn--")I=cl1.toUnicode(I),d=Lz.NONTRANSITIONAL;var G=!1;if(pl1(I)!==I||I[3]==="-"&&I[4]==="-"||I[0]==="-"||I[I.length-1]==="-"||I.indexOf(".")!==-1||I.search(QA4)===0)G=!0;var Z=nl1(I);for(var C=0;C<Z;++C){var W=il1(I.codePointAt(C));if(Tb===Lz.TRANSITIONAL&&W[1]!=="valid"||Tb===Lz.NONTRANSITIONAL&&W[1]!=="valid"&&W[1]!=="deviation"){G=!0;break}}return{label:I,error:G}}function Tb(I,d,G){var Z=zA4(I,d,G);Z.string=pl1(Z.string);var C=Z.string.split(".");for(var W=0;W<C.length;++W)try{var w=fA4(C[W]);C[W]=w.label,Z.error=Z.error||w.error}catch(B){Z.error=!0}return{string:C.join("."),error:Z.error}}qA4.toASCII=function(I,d,G,Z){var C=Tb(I,d,G),W=C.string.split(".");if(W=W.map(function(A){try{return cl1.toASCII(A)}catch(V){return C.error=!0,A}}),Z){var w=W.slice(0,W.length-1).join(".").length;if(w.length>253||w.length===0)C.error=!0;for(var B=0;B<W.length;++B)if(W.length>63||W.length===0){C.error=!0;break}}if(C.error)return null;return W.join(".")};qA4.toUnicode=function(I,d){var G=Tb(I,d,Lz.NONTRANSITIONAL);return{domain:G.string,error:G.error}};qA4.PROCESSING_OPTIONS=Lz});var Ew=Y((eA4,nd)=>{var yz=B1("punycode"),al1=rl1(),Ib1={ftp:21,file:null,gopher:70,http:80,https:443,ws:80,wss:443},s4=Symbol("failure");function sl1(I){return yz.ucs2.decode(I).length}function ol1(I,d){let G=I[d];return isNaN(G)?void 0:String.fromCodePoint(G)}function mE(I){return I>=48&&I<=57}function lE(I){return I>=65&&I<=90||I>=97&&I<=122}function EA4(I){return lE(I)||mE(I)}function QC(I){return mE(I)||I>=65&&I<=70||I>=97&&I<=102}function el1(I){return I==="."||I.toLowerCase()==="%2e"}function MA4(I){return I=I.toLowerCase(),I===".."||I==="%2e."||I===".%2e"||I==="%2e%2e"}function SA4(I,d){return lE(I)&&(d===58||d===124)}function db1(I){return I.length===2&&lE(I.codePointAt(0))&&(I[1]===":"||I[1]==="|")}function LA4(I){return I.length===2&&lE(I.codePointAt(0))&&I[1]===":"}function yA4(I){return I.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|%|\/|:|\?|@|\[|\\|\]/)!==-1}function PA4(I){return I.search(/\u0000|\u0009|\u000A|\u000D|\u0020|#|\/|:|\?|@|\[|\\|\]/)!==-1}function V41(I){return Ib1[I]!==void 0}function c6(I){return V41(I.scheme)}function $A4(I){return Ib1[I]}function Gb1(I){let d=I.toString(16).toUpperCase();if(d.length===1)d="0"+d;return"%"+d}function uA4(I){let d=new Buffer(I),G="";for(let Z=0;Z<d.length;++Z)G+=Gb1(d[Z]);return G}function TA4(I){let d=new Buffer(I),G=[];for(let Z=0;Z<d.length;++Z)if(d[Z]!==37)G.push(d[Z]);else if(d[Z]===37&&QC(d[Z+1])&&QC(d[Z+2]))G.push(parseInt(d.slice(Z+1,Z+3).toString(),16)),Z+=2;else G.push(d[Z]);return new Buffer(G).toString()}function mb(I){return I<=31||I>126}var OA4=new Set([32,34,35,60,62,63,96,123,125]);function Zb1(I){return mb(I)||OA4.has(I)}var mA4=new Set([47,58,59,61,64,91,92,93,94,124]);function Y41(I){return Zb1(I)||mA4.has(I)}function iF(I,d){let G=String.fromCodePoint(I);if(d(I))return uA4(G);return G}function lA4(I){let d=10;if(I.length>=2&&I.charAt(0)==="0"&&I.charAt(1).toLowerCase()==="x")I=I.substring(2),d=16;else if(I.length>=2&&I.charAt(0)==="0")I=I.substring(1),d=8;if(I==="")return 0;if((d===10?/[^0-9]/:d===16?/[^0-9A-Fa-f]/:/[^0-7]/).test(I))return s4;return parseInt(I,d)}function bA4(I){let d=I.split(".");if(d[d.length-1]===""){if(d.length>1)d.pop()}if(d.length>4)return I;let G=[];for(let W of d){if(W==="")return I;let w=lA4(W);if(w===s4)return I;G.push(w)}for(let W=0;W<G.length-1;++W)if(G[W]>255)return s4;if(G[G.length-1]>=Math.pow(256,5-G.length))return s4;let Z=G.pop(),C=0;for(let W of G)Z+=W*Math.pow(256,3-C),++C;return Z}function hA4(I){let d="",G=I;for(let Z=1;Z<=4;++Z){if(d=String(G%256)+d,Z!==4)d="."+d;G=Math.floor(G/256)}return d}function jA4(I){let d=[0,0,0,0,0,0,0,0],G=0,Z=null,C=0;if(I=yz.ucs2.decode(I),I[C]===58){if(I[C+1]!==58)return s4;C+=2,++G,Z=G}while(C<I.length){if(G===8)return s4;if(I[C]===58){if(Z!==null)return s4;++C,++G,Z=G;continue}let W=0,w=0;while(w<4&&QC(I[C]))W=W*16+parseInt(ol1(I,C),16),++C,++w;if(I[C]===46){if(w===0)return s4;if(C-=w,G>6)return s4;let B=0;while(I[C]!==void 0){let A=null;if(B>0)if(I[C]===46&&B<4)++C;else return s4;if(!mE(I[C]))return s4;while(mE(I[C])){let V=parseInt(ol1(I,C));if(A===null)A=V;else if(A===0)return s4;else A=A*10+V;if(A>255)return s4;++C}if(d[G]=d[G]*256+A,++B,B===2||B===4)++G}if(B!==4)return s4;break}else if(I[C]===58){if(++C,I[C]===void 0)return s4}else if(I[C]!==void 0)return s4;d[G]=W,++G}if(Z!==null){let W=G-Z;G=7;while(G!==0&&W>0){let w=d[Z+W-1];d[Z+W-1]=d[G],d[G]=w,--G,--W}}else if(Z===null&&G!==8)return s4;return d}function kA4(I){let d="",Z=cA4(I).idx,C=!1;for(let W=0;W<=7;++W){if(C&&I[W]===0)continue;else if(C)C=!1;if(Z===W){d+=W===0?"::":":",C=!0;continue}if(d+=I[W].toString(16),W!==7)d+=":"}return d}function X41(I,d){if(I[0]==="["){if(I[I.length-1]!=="]")return s4;return jA4(I.substring(1,I.length-1))}if(!d)return xA4(I);let G=TA4(I),Z=al1.toASCII(G,!1,al1.PROCESSING_OPTIONS.NONTRANSITIONAL,!1);if(Z===null)return s4;if(yA4(Z))return s4;let C=bA4(Z);if(typeof C==="number"||C===s4)return C;return Z}function xA4(I){if(PA4(I))return s4;let d="",G=yz.ucs2.decode(I);for(let Z=0;Z<G.length;++Z)d+=iF(G[Z],mb);return d}function cA4(I){let d=null,G=1,Z=null,C=0;for(let W=0;W<I.length;++W)if(I[W]!==0){if(C>G)d=Z,G=C;Z=null,C=0}else{if(Z===null)Z=W;++C}if(C>G)d=Z,G=C;return{idx:d,len:G}}function _41(I){if(typeof I==="number")return hA4(I);if(I instanceof Array)return"["+kA4(I)+"]";return I}function pA4(I){return I.replace(/^[\u0000-\u001F\u0020]+|[\u0000-\u001F\u0020]+$/g,"")}function iA4(I){return I.replace(/\u0009|\u000A|\u000D/g,"")}function Cb1(I){let d=I.path;if(d.length===0)return;if(I.scheme==="file"&&d.length===1&&rA4(d[0]))return;d.pop()}function Wb1(I){return I.username!==""||I.password!==""}function nA4(I){return I.host===null||I.host===""||I.cannotBeABaseURL||I.scheme==="file"}function rA4(I){return/^[A-Za-z]:$/.test(I)}function l3(I,d,G,Z,C){if(this.pointer=0,this.input=I,this.base=d||null,this.encodingOverride=G||"utf-8",this.stateOverride=C,this.url=Z,this.failure=!1,this.parseError=!1,!this.url){this.url={scheme:"",username:"",password:"",host:null,port:null,path:[],query:null,fragment:null,cannotBeABaseURL:!1};let w=pA4(this.input);if(w!==this.input)this.parseError=!0;this.input=w}let W=iA4(this.input);if(W!==this.input)this.parseError=!0;this.input=W,this.state=C||"scheme start",this.buffer="",this.atFlag=!1,this.arrFlag=!1,this.passwordTokenSeenFlag=!1,this.input=yz.ucs2.decode(this.input);for(;this.pointer<=this.input.length;++this.pointer){let w=this.input[this.pointer],B=isNaN(w)?void 0:String.fromCodePoint(w),A=this["parse "+this.state](w,B);if(!A)break;else if(A===s4){this.failure=!0;break}}}l3.prototype["parse scheme start"]=function I(d,G){if(lE(d))this.buffer+=G.toLowerCase(),this.state="scheme";else if(!this.stateOverride)this.state="no scheme",--this.pointer;else return this.parseError=!0,s4;return!0};l3.prototype["parse scheme"]=function I(d,G){if(EA4(d)||d===43||d===45||d===46)this.buffer+=G.toLowerCase();else if(d===58){if(this.stateOverride){if(c6(this.url)&&!V41(this.buffer))return!1;if(!c6(this.url)&&V41(this.buffer))return!1;if((Wb1(this.url)||this.url.port!==null)&&this.buffer==="file")return!1;if(this.url.scheme==="file"&&(this.url.host===""||this.url.host===null))return!1}if(this.url.scheme=this.buffer,this.buffer="",this.stateOverride)return!1;if(this.url.scheme==="file"){if(this.input[this.pointer+1]!==47||this.input[this.pointer+2]!==47)this.parseError=!0;this.state="file"}else if(c6(this.url)&&this.base!==null&&this.base.scheme===this.url.scheme)this.state="special relative or authority";else if(c6(this.url))this.state="special authority slashes";else if(this.input[this.pointer+1]===47)this.state="path or authority",++this.pointer;else this.url.cannotBeABaseURL=!0,this.url.path.push(""),this.state="cannot-be-a-base-URL path"}else if(!this.stateOverride)this.buffer="",this.state="no scheme",this.pointer=-1;else return this.parseError=!0,s4;return!0};l3.prototype["parse no scheme"]=function I(d){if(this.base===null||this.base.cannotBeABaseURL&&d!==35)return s4;else if(this.base.cannotBeABaseURL&&d===35)this.url.scheme=this.base.scheme,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.url.cannotBeABaseURL=!0,this.state="fragment";else if(this.base.scheme==="file")this.state="file",--this.pointer;else this.state="relative",--this.pointer;return!0};l3.prototype["parse special relative or authority"]=function I(d){if(d===47&&this.input[this.pointer+1]===47)this.state="special authority ignore slashes",++this.pointer;else this.parseError=!0,this.state="relative",--this.pointer;return!0};l3.prototype["parse path or authority"]=function I(d){if(d===47)this.state="authority";else this.state="path",--this.pointer;return!0};l3.prototype["parse relative"]=function I(d){if(this.url.scheme=this.base.scheme,isNaN(d))this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query;else if(d===47)this.state="relative slash";else if(d===63)this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query="",this.state="query";else if(d===35)this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment";else if(c6(this.url)&&d===92)this.parseError=!0,this.state="relative slash";else this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.url.path=this.base.path.slice(0,this.base.path.length-1),this.state="path",--this.pointer;return!0};l3.prototype["parse relative slash"]=function I(d){if(c6(this.url)&&(d===47||d===92)){if(d===92)this.parseError=!0;this.state="special authority ignore slashes"}else if(d===47)this.state="authority";else this.url.username=this.base.username,this.url.password=this.base.password,this.url.host=this.base.host,this.url.port=this.base.port,this.state="path",--this.pointer;return!0};l3.prototype["parse special authority slashes"]=function I(d){if(d===47&&this.input[this.pointer+1]===47)this.state="special authority ignore slashes",++this.pointer;else this.parseError=!0,this.state="special authority ignore slashes",--this.pointer;return!0};l3.prototype["parse special authority ignore slashes"]=function I(d){if(d!==47&&d!==92)this.state="authority",--this.pointer;else this.parseError=!0;return!0};l3.prototype["parse authority"]=function I(d,G){if(d===64){if(this.parseError=!0,this.atFlag)this.buffer="%40"+this.buffer;this.atFlag=!0;let Z=sl1(this.buffer);for(let C=0;C<Z;++C){let W=this.buffer.codePointAt(C);if(W===58&&!this.passwordTokenSeenFlag){this.passwordTokenSeenFlag=!0;continue}let w=iF(W,Y41);if(this.passwordTokenSeenFlag)this.url.password+=w;else this.url.username+=w}this.buffer=""}else if(isNaN(d)||d===47||d===63||d===35||c6(this.url)&&d===92){if(this.atFlag&&this.buffer==="")return this.parseError=!0,s4;this.pointer-=sl1(this.buffer)+1,this.buffer="",this.state="host"}else this.buffer+=G;return!0};l3.prototype["parse hostname"]=l3.prototype["parse host"]=function I(d,G){if(this.stateOverride&&this.url.scheme==="file")--this.pointer,this.state="file host";else if(d===58&&!this.arrFlag){if(this.buffer==="")return this.parseError=!0,s4;let Z=X41(this.buffer,c6(this.url));if(Z===s4)return s4;if(this.url.host=Z,this.buffer="",this.state="port",this.stateOverride==="hostname")return!1}else if(isNaN(d)||d===47||d===63||d===35||c6(this.url)&&d===92){if(--this.pointer,c6(this.url)&&this.buffer==="")return this.parseError=!0,s4;else if(this.stateOverride&&this.buffer===""&&(Wb1(this.url)||this.url.port!==null))return this.parseError=!0,!1;let Z=X41(this.buffer,c6(this.url));if(Z===s4)return s4;if(this.url.host=Z,this.buffer="",this.state="path start",this.stateOverride)return!1}else{if(d===91)this.arrFlag=!0;else if(d===93)this.arrFlag=!1;this.buffer+=G}return!0};l3.prototype["parse port"]=function I(d,G){if(mE(d))this.buffer+=G;else if(isNaN(d)||d===47||d===63||d===35||c6(this.url)&&d===92||this.stateOverride){if(this.buffer!==""){let Z=parseInt(this.buffer);if(Z>Math.pow(2,16)-1)return this.parseError=!0,s4;this.url.port=Z===$A4(this.url.scheme)?null:Z,this.buffer=""}if(this.stateOverride)return!1;this.state="path start",--this.pointer}else return this.parseError=!0,s4;return!0};var aA4=new Set([47,92,63,35]);l3.prototype["parse file"]=function I(d){if(this.url.scheme="file",d===47||d===92){if(d===92)this.parseError=!0;this.state="file slash"}else if(this.base!==null&&this.base.scheme==="file")if(isNaN(d))this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query;else if(d===63)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query="",this.state="query";else if(d===35)this.url.host=this.base.host,this.url.path=this.base.path.slice(),this.url.query=this.base.query,this.url.fragment="",this.state="fragment";else{if(this.input.length-this.pointer-1===0||!SA4(d,this.input[this.pointer+1])||this.input.length-this.pointer-1>=2&&!aA4.has(this.input[this.pointer+2]))this.url.host=this.base.host,this.url.path=this.base.path.slice(),Cb1(this.url);else this.parseError=!0;this.state="path",--this.pointer}else this.state="path",--this.pointer;return!0};l3.prototype["parse file slash"]=function I(d){if(d===47||d===92){if(d===92)this.parseError=!0;this.state="file host"}else{if(this.base!==null&&this.base.scheme==="file")if(LA4(this.base.path[0]))this.url.path.push(this.base.path[0]);else this.url.host=this.base.host;this.state="path",--this.pointer}return!0};l3.prototype["parse file host"]=function I(d,G){if(isNaN(d)||d===47||d===92||d===63||d===35)if(--this.pointer,!this.stateOverride&&db1(this.buffer))this.parseError=!0,this.state="path";else if(this.buffer===""){if(this.url.host="",this.stateOverride)return!1;this.state="path start"}else{let Z=X41(this.buffer,c6(this.url));if(Z===s4)return s4;if(Z==="localhost")Z="";if(this.url.host=Z,this.stateOverride)return!1;this.buffer="",this.state="path start"}else this.buffer+=G;return!0};l3.prototype["parse path start"]=function I(d){if(c6(this.url)){if(d===92)this.parseError=!0;if(this.state="path",d!==47&&d!==92)--this.pointer}else if(!this.stateOverride&&d===63)this.url.query="",this.state="query";else if(!this.stateOverride&&d===35)this.url.fragment="",this.state="fragment";else if(d!==void 0){if(this.state="path",d!==47)--this.pointer}return!0};l3.prototype["parse path"]=function I(d){if(isNaN(d)||d===47||c6(this.url)&&d===92||!this.stateOverride&&(d===63||d===35)){if(c6(this.url)&&d===92)this.parseError=!0;if(MA4(this.buffer)){if(Cb1(this.url),d!==47&&!(c6(this.url)&&d===92))this.url.path.push("")}else if(el1(this.buffer)&&d!==47&&!(c6(this.url)&&d===92))this.url.path.push("");else if(!el1(this.buffer)){if(this.url.scheme==="file"&&this.url.path.length===0&&db1(this.buffer)){if(this.url.host!==""&&this.url.host!==null)this.parseError=!0,this.url.host="";this.buffer=this.buffer[0]+":"}this.url.path.push(this.buffer)}if(this.buffer="",this.url.scheme==="file"&&(d===void 0||d===63||d===35))while(this.url.path.length>1&&this.url.path[0]==="")this.parseError=!0,this.url.path.shift();if(d===63)this.url.query="",this.state="query";if(d===35)this.url.fragment="",this.state="fragment"}else{if(d===37&&(!QC(this.input[this.pointer+1])||!QC(this.input[this.pointer+2])))this.parseError=!0;this.buffer+=iF(d,Zb1)}return!0};l3.prototype["parse cannot-be-a-base-URL path"]=function I(d){if(d===63)this.url.query="",this.state="query";else if(d===35)this.url.fragment="",this.state="fragment";else{if(!isNaN(d)&&d!==37)this.parseError=!0;if(d===37&&(!QC(this.input[this.pointer+1])||!QC(this.input[this.pointer+2])))this.parseError=!0;if(!isNaN(d))this.url.path[0]=this.url.path[0]+iF(d,mb)}return!0};l3.prototype["parse query"]=function I(d,G){if(isNaN(d)||!this.stateOverride&&d===35){if(!c6(this.url)||this.url.scheme==="ws"||this.url.scheme==="wss")this.encodingOverride="utf-8";let Z=new Buffer(this.buffer);for(let C=0;C<Z.length;++C)if(Z[C]<33||Z[C]>126||Z[C]===34||Z[C]===35||Z[C]===60||Z[C]===62)this.url.query+=Gb1(Z[C]);else this.url.query+=String.fromCodePoint(Z[C]);if(this.buffer="",d===35)this.url.fragment="",this.state="fragment"}else{if(d===37&&(!QC(this.input[this.pointer+1])||!QC(this.input[this.pointer+2])))this.parseError=!0;this.buffer+=G}return!0};l3.prototype["parse fragment"]=function I(d){if(isNaN(d));else if(d===0)this.parseError=!0;else{if(d===37&&(!QC(this.input[this.pointer+1])||!QC(this.input[this.pointer+2])))this.parseError=!0;this.url.fragment+=iF(d,mb)}return!0};function sA4(I,d){let G=I.scheme+":";if(I.host!==null){if(G+="//",I.username!==""||I.password!==""){if(G+=I.username,I.password!=="")G+=":"+I.password;G+="@"}if(G+=_41(I.host),I.port!==null)G+=":"+I.port}else if(I.host===null&&I.scheme==="file")G+="//";if(I.cannotBeABaseURL)G+=I.path[0];else for(let Z of I.path)G+="/"+Z;if(I.query!==null)G+="?"+I.query;if(!d&&I.fragment!==null)G+="#"+I.fragment;return G}function oA4(I){let d=I.scheme+"://";if(d+=_41(I.host),I.port!==null)d+=":"+I.port;return d}eA4.serializeURL=sA4;eA4.serializeURLOrigin=function(I){switch(I.scheme){case"blob":try{return eA4.serializeURLOrigin(eA4.parseURL(I.path[0]))}catch(d){return"null"}case"ftp":case"gopher":case"http":case"https":case"ws":case"wss":return oA4({scheme:I.scheme,host:I.host,port:I.port});case"file":return"file://";default:return"null"}};eA4.basicURLParse=function(I,d){if(d===void 0)d={};let G=new l3(I,d.baseURL,d.encodingOverride,d.url,d.stateOverride);if(G.failure)return"failure";return G.url};eA4.setTheUsername=function(I,d){I.username="";let G=yz.ucs2.decode(d);for(let Z=0;Z<G.length;++Z)I.username+=iF(G[Z],Y41)};eA4.setThePassword=function(I,d){I.password="";let G=yz.ucs2.decode(d);for(let Z=0;Z<G.length;++Z)I.password+=iF(G[Z],Y41)};eA4.serializeHost=_41;eA4.cannotHaveAUsernamePasswordPort=nA4;eA4.serializeInteger=function(I){return String(I)};eA4.parseURL=function(I,d){if(d===void 0)d={};return eA4.basicURLParse(I,{baseURL:d.baseURL,encodingOverride:d.encodingOverride})}});var Bb1=Y((wV4)=>{var b3=Ew();wV4.implementation=class I{constructor(d){let G=d[0],Z=d[1],C=null;if(Z!==void 0){if(C=b3.basicURLParse(Z),C==="failure")throw new TypeError("Invalid base URL")}let W=b3.basicURLParse(G,{baseURL:C});if(W==="failure")throw new TypeError("Invalid URL");this._url=W}get href(){return b3.serializeURL(this._url)}set href(d){let G=b3.basicURLParse(d);if(G==="failure")throw new TypeError("Invalid URL");this._url=G}get origin(){return b3.serializeURLOrigin(this._url)}get protocol(){return this._url.scheme+":"}set protocol(d){b3.basicURLParse(d+":",{url:this._url,stateOverride:"scheme start"})}get username(){return this._url.username}set username(d){if(b3.cannotHaveAUsernamePasswordPort(this._url))return;b3.setTheUsername(this._url,d)}get password(){return this._url.password}set password(d){if(b3.cannotHaveAUsernamePasswordPort(this._url))return;b3.setThePassword(this._url,d)}get host(){let d=this._url;if(d.host===null)return"";if(d.port===null)return b3.serializeHost(d.host);return b3.serializeHost(d.host)+":"+b3.serializeInteger(d.port)}set host(d){if(this._url.cannotBeABaseURL)return;b3.basicURLParse(d,{url:this._url,stateOverride:"host"})}get hostname(){if(this._url.host===null)return"";return b3.serializeHost(this._url.host)}set hostname(d){if(this._url.cannotBeABaseURL)return;b3.basicURLParse(d,{url:this._url,stateOverride:"hostname"})}get port(){if(this._url.port===null)return"";return b3.serializeInteger(this._url.port)}set port(d){if(b3.cannotHaveAUsernamePasswordPort(this._url))return;if(d==="")this._url.port=null;else b3.basicURLParse(d,{url:this._url,stateOverride:"port"})}get pathname(){if(this._url.cannotBeABaseURL)return this._url.path[0];if(this._url.path.length===0)return"";return"/"+this._url.path.join("/")}set pathname(d){if(this._url.cannotBeABaseURL)return;this._url.path=[],b3.basicURLParse(d,{url:this._url,stateOverride:"path start"})}get search(){if(this._url.query===null||this._url.query==="")return"";return"?"+this._url.query}set search(d){let G=this._url;if(d===""){G.query=null;return}let Z=d[0]==="?"?d.substring(1):d;G.query="",b3.basicURLParse(Z,{url:G,stateOverride:"query"})}get hash(){if(this._url.fragment===null||this._url.fragment==="")return"";return"#"+this._url.fragment}set hash(d){if(d===""){this._url.fragment=null;return}let G=d[0]==="#"?d.substring(1):d;this._url.fragment="",b3.basicURLParse(G,{url:this._url,stateOverride:"fragment"})}toJSON(){return this.href}}});var Xb1=Y((Tv9,bE)=>{var IZ=ll1(),Vb1=jl1(),Ab1=Bb1(),z9=Vb1.implSymbol;function A8(I){if(!this||this[z9]||!(this instanceof A8))throw new TypeError("Failed to construct 'URL': Please use the 'new' operator, this DOM object constructor cannot be called as a function.");if(arguments.length<1)throw new TypeError("Failed to construct 'URL': 1 argument required, but only "+arguments.length+" present.");let d=[];for(let G=0;G<arguments.length&&G<2;++G)d[G]=arguments[G];if(d[0]=IZ.USVString(d[0]),d[1]!==void 0)d[1]=IZ.USVString(d[1]);bE.exports.setup(this,d)}A8.prototype.toJSON=function I(){if(!this||!bE.exports.is(this))throw new TypeError("Illegal invocation");let d=[];for(let G=0;G<arguments.length&&G<0;++G)d[G]=arguments[G];return this[z9].toJSON.apply(this[z9],d)};Object.defineProperty(A8.prototype,"href",{get(){return this[z9].href},set(I){I=IZ.USVString(I),this[z9].href=I},enumerable:!0,configurable:!0});A8.prototype.toString=function(){if(!this||!bE.exports.is(this))throw new TypeError("Illegal invocation");return this.href};Object.defineProperty(A8.prototype,"origin",{get(){return this[z9].origin},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"protocol",{get(){return this[z9].protocol},set(I){I=IZ.USVString(I),this[z9].protocol=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"username",{get(){return this[z9].username},set(I){I=IZ.USVString(I),this[z9].username=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"password",{get(){return this[z9].password},set(I){I=IZ.USVString(I),this[z9].password=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"host",{get(){return this[z9].host},set(I){I=IZ.USVString(I),this[z9].host=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"hostname",{get(){return this[z9].hostname},set(I){I=IZ.USVString(I),this[z9].hostname=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"port",{get(){return this[z9].port},set(I){I=IZ.USVString(I),this[z9].port=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"pathname",{get(){return this[z9].pathname},set(I){I=IZ.USVString(I),this[z9].pathname=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"search",{get(){return this[z9].search},set(I){I=IZ.USVString(I),this[z9].search=I},enumerable:!0,configurable:!0});Object.defineProperty(A8.prototype,"hash",{get(){return this[z9].hash},set(I){I=IZ.USVString(I),this[z9].hash=I},enumerable:!0,configurable:!0});bE.exports={is(I){return!!I&&I[z9]instanceof Ab1.implementation},create(I,d){let G=Object.create(A8.prototype);return this.setup(G,I,d),G},setup(I,d,G){if(!G)G={};G.wrapper=I,I[z9]=new Ab1.implementation(d,G),I[z9][Vb1.wrapperSymbol]=I},interface:A8,expose:{Window:{URL:A8},Worker:{URL:A8}}}});var Yb1=Y((VV4)=>{VV4.URL=Xb1().interface;VV4.serializeURL=Ew().serializeURL;VV4.serializeURLOrigin=Ew().serializeURLOrigin;VV4.basicURLParse=Ew().basicURLParse;VV4.setTheUsername=Ew().setTheUsername;VV4.setThePassword=Ew().setThePassword;VV4.serializeHost=Ew().serializeHost;VV4.serializeInteger=Ew().serializeInteger;VV4.parseURL=Ew().parseURL});var f41=Y((qC,fb1)=>{Object.defineProperty(qC,"__esModule",{value:!0});function Oz(I){return I&&typeof I==="object"&&"default"in I?I.default:I}var fC=Oz(B1("stream")),Fb1=Oz(B1("http")),bb=Oz(B1("url")),gb1=Oz(Yb1()),NV4=Oz(B1("https")),nF=Oz(B1("zlib")),zV4=fC.Readable,kA=Symbol("buffer"),D41=Symbol("type");class uz{constructor(){this[D41]="";let I=arguments[0],d=arguments[1],G=[],Z=0;if(I){let W=I,w=Number(W.length);for(let B=0;B<w;B++){let A=W[B],V;if(A instanceof Buffer)V=A;else if(ArrayBuffer.isView(A))V=Buffer.from(A.buffer,A.byteOffset,A.byteLength);else if(A instanceof ArrayBuffer)V=Buffer.from(A);else if(A instanceof uz)V=A[kA];else V=Buffer.from(typeof A==="string"?A:String(A));Z+=V.length,G.push(V)}}this[kA]=Buffer.concat(G);let C=d&&d.type!==void 0&&String(d.type).toLowerCase();if(C&&!/[^\u0020-\u007E]/.test(C))this[D41]=C}get size(){return this[kA].length}get type(){return this[D41]}text(){return Promise.resolve(this[kA].toString())}arrayBuffer(){let I=this[kA],d=I.buffer.slice(I.byteOffset,I.byteOffset+I.byteLength);return Promise.resolve(d)}stream(){let I=new zV4;return I._read=function(){},I.push(this[kA]),I.push(null),I}toString(){return"[object Blob]"}slice(){let I=this.size,d=arguments[0],G=arguments[1],Z,C;if(d===void 0)Z=0;else if(d<0)Z=Math.max(I+d,0);else Z=Math.min(d,I);if(G===void 0)C=I;else if(G<0)C=Math.max(I+G,0);else C=Math.min(G,I);let W=Math.max(C-Z,0),B=this[kA].slice(Z,Z+W),A=new uz([],{type:arguments[2]});return A[kA]=B,A}}Object.defineProperties(uz.prototype,{size:{enumerable:!0},type:{enumerable:!0},slice:{enumerable:!0}});Object.defineProperty(uz.prototype,Symbol.toStringTag,{value:"Blob",writable:!1,enumerable:!1,configurable:!0});function l8(I,d,G){if(Error.call(this,I),this.message=I,this.type=d,G)this.code=this.errno=G.code;Error.captureStackTrace(this,this.constructor)}l8.prototype=Object.create(Error.prototype);l8.prototype.constructor=l8;l8.prototype.name="FetchError";var J41;try{J41=(()=>{throw new Error("Cannot require module "+"encoding");})().convert}catch(I){}var cA=Symbol("Body internals"),_b1=fC.PassThrough;function V8(I){var d=this,G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=G.size;let C=Z===void 0?0:Z;var W=G.timeout;let w=W===void 0?0:W;if(I==null)I=null;else if(Jb1(I))I=Buffer.from(I.toString());else if(kE(I));else if(Buffer.isBuffer(I));else if(Object.prototype.toString.call(I)==="[object ArrayBuffer]")I=Buffer.from(I);else if(ArrayBuffer.isView(I))I=Buffer.from(I.buffer,I.byteOffset,I.byteLength);else if(I instanceof fC);else I=Buffer.from(String(I));if(this[cA]={body:I,disturbed:!1,error:null},this.size=C,this.timeout=w,I instanceof fC)I.on("error",function(B){let A=B.name==="AbortError"?B:new l8(`Invalid response body while trying to fetch ${d.url}: ${B.message}`,"system",B);d[cA].error=A})}V8.prototype={get body(){return this[cA].body},get bodyUsed(){return this[cA].disturbed},arrayBuffer(){return Pz.call(this).then(function(I){return I.buffer.slice(I.byteOffset,I.byteOffset+I.byteLength)})},blob(){let I=this.headers&&this.headers.get("content-type")||"";return Pz.call(this).then(function(d){return Object.assign(new uz([],{type:I.toLowerCase()}),{[kA]:d})})},json(){var I=this;return Pz.call(this).then(function(d){try{return JSON.parse(d.toString())}catch(G){return V8.Promise.reject(new l8(`invalid json response body at ${I.url} reason: ${G.message}`,"invalid-json"))}})},text(){return Pz.call(this).then(function(I){return I.toString()})},buffer(){return Pz.call(this)},textConverted(){var I=this;return Pz.call(this).then(function(d){return QV4(d,I.headers)})}};Object.defineProperties(V8.prototype,{body:{enumerable:!0},bodyUsed:{enumerable:!0},arrayBuffer:{enumerable:!0},blob:{enumerable:!0},json:{enumerable:!0},text:{enumerable:!0}});V8.mixIn=function(I){for(let d of Object.getOwnPropertyNames(V8.prototype))if(!(d in I)){let G=Object.getOwnPropertyDescriptor(V8.prototype,d);Object.defineProperty(I,d,G)}};function Pz(){var I=this;if(this[cA].disturbed)return V8.Promise.reject(new TypeError(`body used already for: ${this.url}`));if(this[cA].disturbed=!0,this[cA].error)return V8.Promise.reject(this[cA].error);let d=this.body;if(d===null)return V8.Promise.resolve(Buffer.alloc(0));if(kE(d))d=d.stream();if(Buffer.isBuffer(d))return V8.Promise.resolve(d);if(!(d instanceof fC))return V8.Promise.resolve(Buffer.alloc(0));let G=[],Z=0,C=!1;return new V8.Promise(function(W,w){let B;if(I.timeout)B=setTimeout(function(){C=!0,w(new l8(`Response timeout while trying to fetch ${I.url} (over ${I.timeout}ms)`,"body-timeout"))},I.timeout);d.on("error",function(A){if(A.name==="AbortError")C=!0,w(A);else w(new l8(`Invalid response body while trying to fetch ${I.url}: ${A.message}`,"system",A))}),d.on("data",function(A){if(C||A===null)return;if(I.size&&Z+A.length>I.size){C=!0,w(new l8(`content size at ${I.url} over limit: ${I.size}`,"max-size"));return}Z+=A.length,G.push(A)}),d.on("end",function(){if(C)return;clearTimeout(B);try{W(Buffer.concat(G,Z))}catch(A){w(new l8(`Could not create Buffer from response body for ${I.url}: ${A.message}`,"system",A))}})})}function QV4(I,d){if(typeof J41!=="function")throw new Error("The package `encoding` must be installed to use the textConverted() function");let G=d.get("content-type"),Z="utf-8",C,W;if(G)C=/charset=([^;]*)/i.exec(G);if(W=I.slice(0,1024).toString(),!C&&W)C=/<meta.+?charset=(['"])(.+?)\1/i.exec(W);if(!C&&W){if(C=/<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(W),!C){if(C=/<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(W),C)C.pop()}if(C)C=/charset=(.*)/i.exec(C.pop())}if(!C&&W)C=/<\?xml.+?encoding=(['"])(.+?)\1/i.exec(W);if(C){if(Z=C.pop(),Z==="gb2312"||Z==="gbk")Z="gb18030"}return J41(I,"UTF-8",Z).toString()}function Jb1(I){if(typeof I!=="object"||typeof I.append!=="function"||typeof I.delete!=="function"||typeof I.get!=="function"||typeof I.getAll!=="function"||typeof I.has!=="function"||typeof I.set!=="function")return!1;return I.constructor.name==="URLSearchParams"||Object.prototype.toString.call(I)==="[object URLSearchParams]"||typeof I.sort==="function"}function kE(I){return typeof I==="object"&&typeof I.arrayBuffer==="function"&&typeof I.type==="string"&&typeof I.stream==="function"&&typeof I.constructor==="function"&&typeof I.constructor.name==="string"&&/^(Blob|File)$/.test(I.constructor.name)&&/^(Blob|File)$/.test(I[Symbol.toStringTag])}function Kb1(I){let d,G,Z=I.body;if(I.bodyUsed)throw new Error("cannot clone body after it is used");if(Z instanceof fC&&typeof Z.getBoundary!=="function")d=new _b1,G=new _b1,Z.pipe(d),Z.pipe(G),I[cA].body=d,Z=G;return Z}function Nb1(I){if(I===null)return null;else if(typeof I==="string")return"text/plain;charset=UTF-8";else if(Jb1(I))return"application/x-www-form-urlencoded;charset=UTF-8";else if(kE(I))return I.type||null;else if(Buffer.isBuffer(I))return null;else if(Object.prototype.toString.call(I)==="[object ArrayBuffer]")return null;else if(ArrayBuffer.isView(I))return null;else if(typeof I.getBoundary==="function")return`multipart/form-data;boundary=${I.getBoundary()}`;else if(I instanceof fC)return null;else return"text/plain;charset=UTF-8"}function zb1(I){let d=I.body;if(d===null)return 0;else if(kE(d))return d.size;else if(Buffer.isBuffer(d))return d.length;else if(d&&typeof d.getLengthSync==="function"){if(d._lengthRetrievers&&d._lengthRetrievers.length==0||d.hasKnownLength&&d.hasKnownLength())return d.getLengthSync();return null}else return null}function fV4(I,d){let G=d.body;if(G===null)I.end();else if(kE(G))G.stream().pipe(I);else if(Buffer.isBuffer(G))I.write(G),I.end();else G.pipe(I)}V8.Promise=global.Promise;var Qb1=/[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/,K41=/[^\t\x20-\x7e\x80-\xff]/;function hE(I){if(I=`${I}`,Qb1.test(I)||I==="")throw new TypeError(`${I} is not a legal HTTP header name`)}function Db1(I){if(I=`${I}`,K41.test(I))throw new TypeError(`${I} is not a legal HTTP header value`)}function $z(I,d){d=d.toLowerCase();for(let G in I)if(G.toLowerCase()===d)return G;return}var G6=Symbol("map");class GZ{constructor(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:void 0;if(this[G6]=Object.create(null),I instanceof GZ){let d=I.raw(),G=Object.keys(d);for(let Z of G)for(let C of d[Z])this.append(Z,C);return}if(I==null);else if(typeof I==="object"){let d=I[Symbol.iterator];if(d!=null){if(typeof d!=="function")throw new TypeError("Header pairs must be iterable");let G=[];for(let Z of I){if(typeof Z!=="object"||typeof Z[Symbol.iterator]!=="function")throw new TypeError("Each header pair must be iterable");G.push(Array.from(Z))}for(let Z of G){if(Z.length!==2)throw new TypeError("Each header pair must be a name/value tuple");this.append(Z[0],Z[1])}}else for(let G of Object.keys(I)){let Z=I[G];this.append(G,Z)}}else throw new TypeError("Provided initializer must be an object")}get(I){I=`${I}`,hE(I);let d=$z(this[G6],I);if(d===void 0)return null;return this[G6][d].join(", ")}forEach(I){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,G=N41(this),Z=0;while(Z<G.length){var C=G[Z];let W=C[0],w=C[1];I.call(d,w,W,this),G=N41(this),Z++}}set(I,d){I=`${I}`,d=`${d}`,hE(I),Db1(d);let G=$z(this[G6],I);this[G6][G!==void 0?G:I]=[d]}append(I,d){I=`${I}`,d=`${d}`,hE(I),Db1(d);let G=$z(this[G6],I);if(G!==void 0)this[G6][G].push(d);else this[G6][I]=[d]}has(I){return I=`${I}`,hE(I),$z(this[G6],I)!==void 0}delete(I){I=`${I}`,hE(I);let d=$z(this[G6],I);if(d!==void 0)delete this[G6][d]}raw(){return this[G6]}keys(){return H41(this,"key")}values(){return H41(this,"value")}[Symbol.iterator](){return H41(this,"key+value")}}GZ.prototype.entries=GZ.prototype[Symbol.iterator];Object.defineProperty(GZ.prototype,Symbol.toStringTag,{value:"Headers",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(GZ.prototype,{get:{enumerable:!0},forEach:{enumerable:!0},set:{enumerable:!0},append:{enumerable:!0},has:{enumerable:!0},delete:{enumerable:!0},keys:{enumerable:!0},values:{enumerable:!0},entries:{enumerable:!0}});function N41(I){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key+value";return Object.keys(I[G6]).sort().map(d==="key"?function(Z){return Z.toLowerCase()}:d==="value"?function(Z){return I[G6][Z].join(", ")}:function(Z){return[Z.toLowerCase(),I[G6][Z].join(", ")]})}var z41=Symbol("internal");function H41(I,d){let G=Object.create(Q41);return G[z41]={target:I,kind:d,index:0},G}var Q41=Object.setPrototypeOf({next(){if(!this||Object.getPrototypeOf(this)!==Q41)throw new TypeError("Value of `this` is not a HeadersIterator");var I=this[z41];let{target:d,kind:G,index:Z}=I,C=N41(d,G),W=C.length;if(Z>=W)return{value:void 0,done:!0};return this[z41].index=Z+1,{value:C[Z],done:!1}}},Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));Object.defineProperty(Q41,Symbol.toStringTag,{value:"HeadersIterator",writable:!1,enumerable:!1,configurable:!0});function qV4(I){let d=Object.assign({__proto__:null},I[G6]),G=$z(I[G6],"Host");if(G!==void 0)d[G]=d[G][0];return d}function RV4(I){let d=new GZ;for(let G of Object.keys(I)){if(Qb1.test(G))continue;if(Array.isArray(I[G]))for(let Z of I[G]){if(K41.test(Z))continue;if(d[G6][G]===void 0)d[G6][G]=[Z];else d[G6][G].push(Z)}else if(!K41.test(I[G]))d[G6][G]=[I[G]]}return d}var fY=Symbol("Response internals"),UV4=Fb1.STATUS_CODES;class dZ{constructor(){let I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};V8.call(this,I,d);let G=d.status||200,Z=new GZ(d.headers);if(I!=null&&!Z.has("Content-Type")){let C=Nb1(I);if(C)Z.append("Content-Type",C)}this[fY]={url:d.url,status:G,statusText:d.statusText||UV4[G],headers:Z,counter:d.counter}}get url(){return this[fY].url||""}get status(){return this[fY].status}get ok(){return this[fY].status>=200&&this[fY].status<300}get redirected(){return this[fY].counter>0}get statusText(){return this[fY].statusText}get headers(){return this[fY].headers}clone(){return new dZ(Kb1(this),{url:this.url,status:this.status,statusText:this.statusText,headers:this.headers,ok:this.ok,redirected:this.redirected})}}V8.mixIn(dZ.prototype);Object.defineProperties(dZ.prototype,{url:{enumerable:!0},status:{enumerable:!0},ok:{enumerable:!0},redirected:{enumerable:!0},statusText:{enumerable:!0},headers:{enumerable:!0},clone:{enumerable:!0}});Object.defineProperty(dZ.prototype,Symbol.toStringTag,{value:"Response",writable:!1,enumerable:!1,configurable:!0});var xA=Symbol("Request internals"),vV4=bb.URL||gb1.URL,EV4=bb.parse,MV4=bb.format;function F41(I){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(I))I=new vV4(I).toString();return EV4(I)}var SV4="destroy"in fC.Readable.prototype;function lb(I){return typeof I==="object"&&typeof I[xA]==="object"}function LV4(I){let d=I&&typeof I==="object"&&Object.getPrototypeOf(I);return!!(d&&d.constructor.name==="AbortSignal")}class RY{constructor(I){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G;if(!lb(I)){if(I&&I.href)G=F41(I.href);else G=F41(`${I}`);I={}}else G=F41(I.url);let Z=d.method||I.method||"GET";if(Z=Z.toUpperCase(),(d.body!=null||lb(I)&&I.body!==null)&&(Z==="GET"||Z==="HEAD"))throw new TypeError("Request with GET/HEAD method cannot have body");let C=d.body!=null?d.body:lb(I)&&I.body!==null?Kb1(I):null;V8.call(this,C,{timeout:d.timeout||I.timeout||0,size:d.size||I.size||0});let W=new GZ(d.headers||I.headers||{});if(C!=null&&!W.has("Content-Type")){let B=Nb1(C);if(B)W.append("Content-Type",B)}let w=lb(I)?I.signal:null;if("signal"in d)w=d.signal;if(w!=null&&!LV4(w))throw new TypeError("Expected signal to be an instanceof AbortSignal");this[xA]={method:Z,redirect:d.redirect||I.redirect||"follow",headers:W,parsedURL:G,signal:w},this.follow=d.follow!==void 0?d.follow:I.follow!==void 0?I.follow:20,this.compress=d.compress!==void 0?d.compress:I.compress!==void 0?I.compress:!0,this.counter=d.counter||I.counter||0,this.agent=d.agent||I.agent}get method(){return this[xA].method}get url(){return MV4(this[xA].parsedURL)}get headers(){return this[xA].headers}get redirect(){return this[xA].redirect}get signal(){return this[xA].signal}clone(){return new RY(this)}}V8.mixIn(RY.prototype);Object.defineProperty(RY.prototype,Symbol.toStringTag,{value:"Request",writable:!1,enumerable:!1,configurable:!0});Object.defineProperties(RY.prototype,{method:{enumerable:!0},url:{enumerable:!0},headers:{enumerable:!0},redirect:{enumerable:!0},clone:{enumerable:!0},signal:{enumerable:!0}});function yV4(I){let d=I[xA].parsedURL,G=new GZ(I[xA].headers);if(!G.has("Accept"))G.set("Accept","*/*");if(!d.protocol||!d.hostname)throw new TypeError("Only absolute URLs are supported");if(!/^https?:$/.test(d.protocol))throw new TypeError("Only HTTP(S) protocols are supported");if(I.signal&&I.body instanceof fC.Readable&&!SV4)throw new Error("Cancellation of streamed requests with AbortSignal is not supported in node < 8");let Z=null;if(I.body==null&&/^(POST|PUT)$/i.test(I.method))Z="0";if(I.body!=null){let W=zb1(I);if(typeof W==="number")Z=String(W)}if(Z)G.set("Content-Length",Z);if(!G.has("User-Agent"))G.set("User-Agent","node-fetch/1.0 (+https://github.com/bitinn/node-fetch)");if(I.compress&&!G.has("Accept-Encoding"))G.set("Accept-Encoding","gzip,deflate");let C=I.agent;if(typeof C==="function")C=C(d);return Object.assign({},d,{method:I.method,headers:qV4(G),agent:C})}function Tz(I){Error.call(this,I),this.type="aborted",this.message=I,Error.captureStackTrace(this,this.constructor)}Tz.prototype=Object.create(Error.prototype);Tz.prototype.constructor=Tz;Tz.prototype.name="AbortError";var jE=bb.URL||gb1.URL,Hb1=fC.PassThrough,PV4=function I(d,G){let Z=new jE(G).hostname,C=new jE(d).hostname;return Z===C||Z[Z.length-C.length-1]==="."&&Z.endsWith(C)},$V4=function I(d,G){let Z=new jE(G).protocol,C=new jE(d).protocol;return Z===C};function qY(I,d){if(!qY.Promise)throw new Error("native promise missing, set fetch.Promise to your favorite alternative");return V8.Promise=qY.Promise,new qY.Promise(function(G,Z){let C=new RY(I,d),W=yV4(C),w=(W.protocol==="https:"?NV4:Fb1).request,B=C.signal,A=null,V=function J(){let K=new Tz("The user aborted a request.");if(Z(K),C.body&&C.body instanceof fC.Readable)g41(C.body,K);if(!A||!A.body)return;A.body.emit("error",K)};if(B&&B.aborted){V();return}let X=function J(){V(),g()},_=w(W),F;if(B)B.addEventListener("abort",X);function g(){if(_.abort(),B)B.removeEventListener("abort",X);clearTimeout(F)}if(C.timeout)_.once("socket",function(J){F=setTimeout(function(){Z(new l8(`network timeout at: ${C.url}`,"request-timeout")),g()},C.timeout)});if(_.on("error",function(J){if(Z(new l8(`request to ${C.url} failed, reason: ${J.message}`,"system",J)),A&&A.body)g41(A.body,J);g()}),uV4(_,function(J){if(B&&B.aborted)return;if(A&&A.body)g41(A.body,J)}),parseInt(process.version.substring(1))<14)_.on("socket",function(J){J.addListener("close",function(K){let Q=J.listenerCount("data")>0;if(A&&Q&&!K&&!(B&&B.aborted)){let E=new Error("Premature close");E.code="ERR_STREAM_PREMATURE_CLOSE",A.body.emit("error",E)}})});_.on("response",function(J){clearTimeout(F);let K=RV4(J.headers);if(qY.isRedirect(J.statusCode)){let $=K.get("Location"),h=null;try{h=$===null?null:new jE($,C.url).toString()}catch(O){if(C.redirect!=="manual"){Z(new l8(`uri requested responds with an invalid redirect URL: ${$}`,"invalid-redirect")),g();return}}switch(C.redirect){case"error":Z(new l8(`uri requested responds with a redirect, redirect mode is set to error: ${C.url}`,"no-redirect")),g();return;case"manual":if(h!==null)try{K.set("Location",h)}catch(T){Z(T)}break;case"follow":if(h===null)break;if(C.counter>=C.follow){Z(new l8(`maximum redirect reached at: ${C.url}`,"max-redirect")),g();return}let O={headers:new GZ(C.headers),follow:C.follow,counter:C.counter+1,agent:C.agent,compress:C.compress,method:C.method,body:C.body,signal:C.signal,timeout:C.timeout,size:C.size};if(!PV4(C.url,h)||!$V4(C.url,h))for(let T of["authorization","www-authenticate","cookie","cookie2"])O.headers.delete(T);if(J.statusCode!==303&&C.body&&zb1(C)===null){Z(new l8("Cannot follow redirect with body being a readable stream","unsupported-redirect")),g();return}if(J.statusCode===303||(J.statusCode===301||J.statusCode===302)&&C.method==="POST")O.method="GET",O.body=void 0,O.headers.delete("content-length");G(qY(new RY(h,O))),g();return}}J.once("end",function(){if(B)B.removeEventListener("abort",X)});let Q=J.pipe(new Hb1),E={url:C.url,status:J.statusCode,statusText:J.statusMessage,headers:K,size:C.size,timeout:C.timeout,counter:C.counter},S=K.get("Content-Encoding");if(!C.compress||C.method==="HEAD"||S===null||J.statusCode===204||J.statusCode===304){A=new dZ(Q,E),G(A);return}let P={flush:nF.Z_SYNC_FLUSH,finishFlush:nF.Z_SYNC_FLUSH};if(S=="gzip"||S=="x-gzip"){Q=Q.pipe(nF.createGunzip(P)),A=new dZ(Q,E),G(A);return}if(S=="deflate"||S=="x-deflate"){let $=J.pipe(new Hb1);$.once("data",function(h){if((h[0]&15)===8)Q=Q.pipe(nF.createInflate());else Q=Q.pipe(nF.createInflateRaw());A=new dZ(Q,E),G(A)}),$.on("end",function(){if(!A)A=new dZ(Q,E),G(A)});return}if(S=="br"&&typeof nF.createBrotliDecompress==="function"){Q=Q.pipe(nF.createBrotliDecompress()),A=new dZ(Q,E),G(A);return}A=new dZ(Q,E),G(A)}),fV4(_,C)})}function uV4(I,d){let G;I.on("socket",function(Z){G=Z}),I.on("response",function(Z){let C=Z.headers;if(C["transfer-encoding"]==="chunked"&&!C["content-length"])Z.once("close",function(W){if(G&&G.listenerCount("data")>0&&!W){let B=new Error("Premature close");B.code="ERR_STREAM_PREMATURE_CLOSE",d(B)}})})}function g41(I,d){if(I.destroy)I.destroy(d);else I.emit("error",d),I.end()}qY.isRedirect=function(I){return I===301||I===302||I===303||I===307||I===308};qY.Promise=global.Promise;fb1.exports=qC=qY;Object.defineProperty(qC,"__esModule",{value:!0});qC.default=qC;qC.Headers=GZ;qC.Request=RY;qC.Response=dZ;qC.FetchError=l8;qC.AbortError=Tz});function nb1(){}function U7(I){return typeof I=="object"&&I!==null||typeof I=="function"}function M5(I,d){try{Object.defineProperty(I,"name",{value:d,configurable:!0})}catch(G){}}function II(I){return new T41(I)}function P5(I){return OV4(I)}function Z4(I){return mV4(I)}function iA(I,d,G){return TV4.call(I,d,G)}function R7(I,d,G){iA(iA(I,d,G),void 0,rb1)}function qb1(I,d){R7(I,d)}function Rb1(I,d){R7(I,void 0,d)}function RC(I,d,G){return iA(I,d,G)}function hz(I){iA(I,void 0,rb1)}function Xh(I,d,G){if(typeof I!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(I,d,G)}function dg(I,d,G){try{return P5(Xh(I,d,G))}catch(Z){return Z4(Z)}}class rd{constructor(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}get length(){return this._size}push(I){let d=this._back,G=d;d._elements.length===16383&&(G={_elements:[],_next:void 0}),d._elements.push(I),G!==d&&(this._back=G,d._next=G),++this._size}shift(){let I=this._front,d=I,G=this._cursor,Z=G+1,C=I._elements,W=C[G];return Z===16384&&(d=I._next,Z=0),--this._size,this._cursor=Z,I!==d&&(this._front=d),C[G]=void 0,W}forEach(I){let d=this._cursor,G=this._front,Z=G._elements;for(;!(d===Z.length&&G._next===void 0||d===Z.length&&(G=G._next,Z=G._elements,d=0,Z.length===0));)I(Z[d]),++d}peek(){let I=this._front,d=this._cursor;return I._elements[d]}}function ob1(I,d){I._ownerReadableStream=d,d._reader=I,d._state==="readable"?M41(I):d._state==="closed"?function(G){M41(G),dh1(G)}(I):Ih1(I,d._storedError)}function eb1(I,d){return yh1(I._ownerReadableStream,d)}function tb1(I){let d=I._ownerReadableStream;d._state==="readable"?b41(I,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):function(G,Z){Ih1(G,Z)}(I,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),d._readableStreamController[l41](),d._reader=void 0,I._ownerReadableStream=void 0}function jz(I){return new TypeError("Cannot "+I+" a stream using a released reader")}function M41(I){I._closedPromise=II((d,G)=>{I._closedPromise_resolve=d,I._closedPromise_reject=G})}function Ih1(I,d){M41(I),b41(I,d)}function b41(I,d){I._closedPromise_reject!==void 0&&(hz(I._closedPromise),I._closedPromise_reject(d),I._closedPromise_resolve=void 0,I._closedPromise_reject=void 0)}function dh1(I){I._closedPromise_resolve!==void 0&&(I._closedPromise_resolve(void 0),I._closedPromise_resolve=void 0,I._closedPromise_reject=void 0)}function nA(I,d){if(I!==void 0&&(typeof(G=I)!="object"&&typeof G!="function"))throw new TypeError(`${d} is not an object.`);var G}function UC(I,d){if(typeof I!="function")throw new TypeError(`${d} is not a function.`)}function Gh1(I,d){if(!function(G){return typeof G=="object"&&G!==null||typeof G=="function"}(I))throw new TypeError(`${d} is not an object.`)}function rA(I,d,G){if(I===void 0)throw new TypeError(`Parameter ${d} is required in '${G}'.`)}function S41(I,d,G){if(I===void 0)throw new TypeError(`${d} is required in '${G}'.`)}function h41(I){return Number(I)}function vb1(I){return I===0?0:I}function Zh1(I,d){let G=Number.MAX_SAFE_INTEGER,Z=Number(I);if(Z=vb1(Z),!Ub1(Z))throw new TypeError(`${d} is not a finite number`);if(Z=function(C){return vb1(lV4(C))}(Z),Z<0||Z>G)throw new TypeError(`${d} is outside the accepted range of 0 to ${G}, inclusive`);return Ub1(Z)&&Z!==0?Z:0}function pE(I){if(!U7(I))return!1;if(typeof I.getReader!="function")return!1;try{return typeof I.locked=="boolean"}catch(d){return!1}}function Ch1(I){if(!U7(I))return!1;if(typeof I.getWriter!="function")return!1;try{return typeof I.locked=="boolean"}catch(d){return!1}}function Wh1(I,d){if(!tF(I))throw new TypeError(`${d} is not a ReadableStream.`)}function wh1(I,d){I._reader._readRequests.push(d)}function j41(I,d,G){let Z=I._reader._readRequests.shift();G?Z._closeSteps():Z._chunkSteps(d)}function Yh(I){return I._reader._readRequests.length}function Bh1(I){let d=I._reader;return d!==void 0&&!!oF(d)}class UY{constructor(I){if(rA(I,1,"ReadableStreamDefaultReader"),Wh1(I,"First parameter"),xz(I))throw new TypeError("This stream has already been locked for exclusive reading by another reader");ob1(this,I),this._readRequests=new rd}get closed(){return oF(this)?this._closedPromise:Z4(hb("closed"))}cancel(I){return oF(this)?this._ownerReadableStream===void 0?Z4(jz("cancel")):eb1(this,I):Z4(hb("cancel"))}read(){if(!oF(this))return Z4(hb("read"));if(this._ownerReadableStream===void 0)return Z4(jz("read from"));let I,d,G=II((Z,C)=>{I=Z,d=C});return function(Z,C){let W=Z._ownerReadableStream;W._disturbed=!0,W._state==="closed"?C._closeSteps():W._state==="errored"?C._errorSteps(W._storedError):W._readableStreamController[m41](C)}(this,{_chunkSteps:(Z)=>I({value:Z,done:!1}),_closeSteps:()=>I({value:void 0,done:!0}),_errorSteps:(Z)=>d(Z)}),G}releaseLock(){if(!oF(this))throw hb("releaseLock");this._ownerReadableStream!==void 0&&function(I){tb1(I);let d=new TypeError("Reader was released");Ah1(I,d)}(this)}}function oF(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_readRequests")&&I instanceof UY)}function Ah1(I,d){let G=I._readRequests;I._readRequests=new rd,G.forEach((Z)=>{Z._errorSteps(d)})}function hb(I){return new TypeError(`ReadableStreamDefaultReader.prototype.${I} can only be used on a ReadableStreamDefaultReader`)}class k41{constructor(I,d){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=I,this._preventCancel=d}next(){let I=()=>this._nextSteps();return this._ongoingPromise=this._ongoingPromise?RC(this._ongoingPromise,I,I):I(),this._ongoingPromise}return(I){let d=()=>this._returnSteps(I);return this._ongoingPromise?RC(this._ongoingPromise,d,d):d()}_nextSteps(){if(this._isFinished)return Promise.resolve({value:void 0,done:!0});let I=this._reader;return I===void 0?Z4(jz("iterate")):iA(I.read(),(d)=>{var G;return this._ongoingPromise=void 0,d.done&&(this._isFinished=!0,(G=this._reader)===null||G===void 0||G.releaseLock(),this._reader=void 0),d},(d)=>{var G;throw this._ongoingPromise=void 0,this._isFinished=!0,(G=this._reader)===null||G===void 0||G.releaseLock(),this._reader=void 0,d})}_returnSteps(I){if(this._isFinished)return Promise.resolve({value:I,done:!0});this._isFinished=!0;let d=this._reader;if(d===void 0)return Z4(jz("finish iterating"));if(this._reader=void 0,!this._preventCancel){let G=d.cancel(I);return d.releaseLock(),RC(G,()=>({value:I,done:!0}))}return d.releaseLock(),P5({value:I,done:!0})}}function Eb1(I){if(!U7(I))return!1;if(!Object.prototype.hasOwnProperty.call(I,"_asyncIteratorImpl"))return!1;try{return I._asyncIteratorImpl instanceof k41}catch(d){return!1}}function Mb1(I){return new TypeError(`ReadableStreamAsyncIterator.${I} can only be used on a ReadableSteamAsyncIterator`)}function Yh1(I,d,G,Z,C){new Uint8Array(I).set(new Uint8Array(G,Z,C),d)}function Sb1(I){let d=function(G,Z,C){if(G.slice)return G.slice(Z,C);let W=C-Z,w=new ArrayBuffer(W);return Yh1(w,0,G,Z,W),w}(I.buffer,I.byteOffset,I.byteOffset+I.byteLength);return new Uint8Array(d)}function L41(I){let d=I._queue.shift();return I._queueTotalSize-=d.size,I._queueTotalSize<0&&(I._queueTotalSize=0),d.value}function x41(I,d,G){if(typeof(Z=G)!="number"||Xh1(Z)||Z<0||G===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");var Z;I._queue.push({value:d,size:G}),I._queueTotalSize+=G}function PY(I){I._queue=new rd,I._queueTotalSize=0}class eF{constructor(){throw new TypeError("Illegal constructor")}get view(){if(!q41(this))throw R41("view");return this._view}respond(I){if(!q41(this))throw R41("respond");if(rA(I,1,"respond"),I=Zh1(I,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");this._view.buffer,function(d,G){let Z=d._pendingPullIntos.peek();if(d._controlledReadableByteStream._state==="closed"){if(G!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(G===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Z.bytesFilled+G>Z.byteLength)throw new RangeError("bytesWritten out of range")}Z.buffer=Z.buffer,Lb1(d,G)}(this._associatedReadableByteStreamController,I)}respondWithNewView(I){if(!q41(this))throw R41("respondWithNewView");if(rA(I,1,"respondWithNewView"),!ArrayBuffer.isView(I))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");I.buffer,function(d,G){let Z=d._pendingPullIntos.peek();if(d._controlledReadableByteStream._state==="closed"){if(G.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(G.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Z.byteOffset+Z.bytesFilled!==G.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Z.bufferByteLength!==G.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Z.bytesFilled+G.byteLength>Z.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");let C=G.byteLength;Z.buffer=G.buffer,Lb1(d,C)}(this._associatedReadableByteStreamController,I)}}function mz(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_controlledReadableByteStream")&&I instanceof vY)}function q41(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_associatedReadableByteStreamController")&&I instanceof eF)}function Ig(I){if(!function(G){let Z=G._controlledReadableByteStream;if(Z._state!=="readable")return!1;if(G._closeRequested)return!1;if(!G._started)return!1;if(Bh1(Z)&&Yh(Z)>0)return!0;if(p41(Z)&&zh1(Z)>0)return!0;if(Nh1(G)>0)return!0;return!1}(I))return;if(I._pulling)return void(I._pullAgain=!0);I._pulling=!0,R7(I._pullAlgorithm(),()=>(I._pulling=!1,I._pullAgain&&(I._pullAgain=!1,Ig(I)),null),(G)=>(kz(I,G),null))}function _h1(I){c41(I),I._pendingPullIntos=new rd}function y41(I,d){let G=!1;I._state==="closed"&&(G=!0);let Z=Dh1(d);d.readerType==="default"?j41(I,Z,G):function(C,W,w){let B=C._reader._readIntoRequests.shift();w?B._closeSteps(W):B._chunkSteps(W)}(I,Z,G)}function Dh1(I){let{bytesFilled:d,elementSize:G}=I;return new I.viewConstructor(I.buffer,I.byteOffset,d/G)}function ab(I,d,G,Z){I._queue.push({buffer:d,byteOffset:G,byteLength:Z}),I._queueTotalSize+=Z}function Hh1(I,d,G,Z){let C;try{C=d.slice(G,G+Z)}catch(W){throw kz(I,W),W}ab(I,C,0,Z)}function Fh1(I,d){d.bytesFilled>0&&Hh1(I,d.buffer,d.byteOffset,d.bytesFilled),bz(I)}function gh1(I,d){let G=d.elementSize,Z=d.bytesFilled-d.bytesFilled%G,C=Math.min(I._queueTotalSize,d.byteLength-d.bytesFilled),W=d.bytesFilled+C,w=W-W%G,B=C,A=!1;w>Z&&(B=w-d.bytesFilled,A=!0);let V=I._queue;for(;B>0;){let X=V.peek(),_=Math.min(B,X.byteLength),F=d.byteOffset+d.bytesFilled;Yh1(d.buffer,F,X.buffer,X.byteOffset,_),X.byteLength===_?V.shift():(X.byteOffset+=_,X.byteLength-=_),I._queueTotalSize-=_,Jh1(I,_,d),B-=_}return A}function Jh1(I,d,G){G.bytesFilled+=d}function Kh1(I){I._queueTotalSize===0&&I._closeRequested?(tb(I),oE(I._controlledReadableByteStream)):Ig(I)}function c41(I){I._byobRequest!==null&&(I._byobRequest._associatedReadableByteStreamController=void 0,I._byobRequest._view=null,I._byobRequest=null)}function P41(I){for(;I._pendingPullIntos.length>0;){if(I._queueTotalSize===0)return;let d=I._pendingPullIntos.peek();gh1(I,d)&&(bz(I),y41(I._controlledReadableByteStream,d))}}function Lb1(I,d){let G=I._pendingPullIntos.peek();c41(I),I._controlledReadableByteStream._state==="closed"?function(Z,C){C.readerType==="none"&&bz(Z);let W=Z._controlledReadableByteStream;if(p41(W))for(;zh1(W)>0;)y41(W,bz(Z))}(I,G):function(Z,C,W){if(Jh1(0,C,W),W.readerType==="none")return Fh1(Z,W),void P41(Z);if(W.bytesFilled<W.elementSize)return;bz(Z);let w=W.bytesFilled%W.elementSize;if(w>0){let B=W.byteOffset+W.bytesFilled;Hh1(Z,W.buffer,B-w,w)}W.bytesFilled-=w,y41(Z._controlledReadableByteStream,W),P41(Z)}(I,d,G),Ig(I)}function bz(I){return I._pendingPullIntos.shift()}function tb(I){I._pullAlgorithm=void 0,I._cancelAlgorithm=void 0}function kz(I,d){let G=I._controlledReadableByteStream;G._state==="readable"&&(_h1(I),PY(I),tb(I),Ph1(G,d))}function yb1(I,d){let G=I._queue.shift();I._queueTotalSize-=G.byteLength,Kh1(I);let Z=new Uint8Array(G.buffer,G.byteOffset,G.byteLength);d._chunkSteps(Z)}function Nh1(I){let d=I._controlledReadableByteStream._state;return d==="errored"?null:d==="closed"?0:I._strategyHWM-I._queueTotalSize}function bV4(I,d,G){let Z=Object.create(vY.prototype),C,W,w;C=d.start!==void 0?()=>d.start(Z):()=>{},W=d.pull!==void 0?()=>d.pull(Z):()=>P5(void 0),w=d.cancel!==void 0?(A)=>d.cancel(A):()=>P5(void 0);let B=d.autoAllocateChunkSize;if(B===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");(function(A,V,X,_,F,g,J){V._controlledReadableByteStream=A,V._pullAgain=!1,V._pulling=!1,V._byobRequest=null,V._queue=V._queueTotalSize=void 0,PY(V),V._closeRequested=!1,V._started=!1,V._strategyHWM=g,V._pullAlgorithm=_,V._cancelAlgorithm=F,V._autoAllocateChunkSize=J,V._pendingPullIntos=new rd,A._readableStreamController=V,R7(P5(X()),()=>(V._started=!0,Ig(V),null),(K)=>(kz(V,K),null))})(I,Z,C,W,w,G,B)}function R41(I){return new TypeError(`ReadableStreamBYOBRequest.prototype.${I} can only be used on a ReadableStreamBYOBRequest`)}function xE(I){return new TypeError(`ReadableByteStreamController.prototype.${I} can only be used on a ReadableByteStreamController`)}function Pb1(I,d){I._reader._readIntoRequests.push(d)}function zh1(I){return I._reader._readIntoRequests.length}function p41(I){let d=I._reader;return d!==void 0&&!!lz(d)}class EY{constructor(I){if(rA(I,1,"ReadableStreamBYOBReader"),Wh1(I,"First parameter"),xz(I))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!mz(I._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");ob1(this,I),this._readIntoRequests=new rd}get closed(){return lz(this)?this._closedPromise:Z4(jb("closed"))}cancel(I){return lz(this)?this._ownerReadableStream===void 0?Z4(jz("cancel")):eb1(this,I):Z4(jb("cancel"))}read(I){if(!lz(this))return Z4(jb("read"));if(!ArrayBuffer.isView(I))return Z4(new TypeError("view must be an array buffer view"));if(I.byteLength===0)return Z4(new TypeError("view must have non-zero byteLength"));if(I.buffer.byteLength===0)return Z4(new TypeError("view's buffer must have non-zero byteLength"));if(I.buffer,this._ownerReadableStream===void 0)return Z4(jz("read from"));let d,G,Z=II((C,W)=>{d=C,G=W});return function(C,W,w){let B=C._ownerReadableStream;B._disturbed=!0,B._state==="errored"?w._errorSteps(B._storedError):function(A,V,X){let _=A._controlledReadableByteStream,F=1;V.constructor!==DataView&&(F=V.constructor.BYTES_PER_ELEMENT);let{constructor:g,buffer:J}=V,K={buffer:J,bufferByteLength:J.byteLength,byteOffset:V.byteOffset,byteLength:V.byteLength,bytesFilled:0,elementSize:F,viewConstructor:g,readerType:"byob"};if(A._pendingPullIntos.length>0)return A._pendingPullIntos.push(K),void Pb1(_,X);if(_._state!=="closed"){if(A._queueTotalSize>0){if(gh1(A,K)){let Q=Dh1(K);return Kh1(A),void X._chunkSteps(Q)}if(A._closeRequested){let Q=new TypeError("Insufficient bytes to fill elements in the given buffer");return kz(A,Q),void X._errorSteps(Q)}}A._pendingPullIntos.push(K),Pb1(_,X),Ig(A)}else{let Q=new g(K.buffer,K.byteOffset,0);X._closeSteps(Q)}}(B._readableStreamController,W,w)}(this,I,{_chunkSteps:(C)=>d({value:C,done:!1}),_closeSteps:(C)=>d({value:C,done:!0}),_errorSteps:(C)=>G(C)}),Z}releaseLock(){if(!lz(this))throw jb("releaseLock");this._ownerReadableStream!==void 0&&function(I){tb1(I);let d=new TypeError("Reader was released");Qh1(I,d)}(this)}}function lz(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_readIntoRequests")&&I instanceof EY)}function Qh1(I,d){let G=I._readIntoRequests;I._readIntoRequests=new rd,G.forEach((Z)=>{Z._errorSteps(d)})}function jb(I){return new TypeError(`ReadableStreamBYOBReader.prototype.${I} can only be used on a ReadableStreamBYOBReader`)}function aE(I,d){let{highWaterMark:G}=I;if(G===void 0)return d;if(Xh1(G)||G<0)throw new RangeError("Invalid highWaterMark");return G}function Ih(I){let{size:d}=I;return d||(()=>1)}function dh(I,d){nA(I,d);let G=I==null?void 0:I.highWaterMark,Z=I==null?void 0:I.size;return{highWaterMark:G===void 0?void 0:h41(G),size:Z===void 0?void 0:hV4(Z,`${d} has member 'size' that`)}}function hV4(I,d){return UC(I,d),(G)=>h41(I(G))}function jV4(I,d,G){return UC(I,G),(Z)=>dg(I,d,[Z])}function kV4(I,d,G){return UC(I,G),()=>dg(I,d,[])}function xV4(I,d,G){return UC(I,G),(Z)=>Xh(I,d,[Z])}function cV4(I,d,G){return UC(I,G),(Z,C)=>dg(I,d,[Z,C])}class MY{constructor(I={},d={}){I===void 0?I=null:Gh1(I,"First parameter");let G=dh(d,"Second parameter"),Z=function(w,B){nA(w,B);let A=w==null?void 0:w.abort,V=w==null?void 0:w.close,X=w==null?void 0:w.start,_=w==null?void 0:w.type,F=w==null?void 0:w.write;return{abort:A===void 0?void 0:jV4(A,w,`${B} has member 'abort' that`),close:V===void 0?void 0:kV4(V,w,`${B} has member 'close' that`),start:X===void 0?void 0:xV4(X,w,`${B} has member 'start' that`),write:F===void 0?void 0:cV4(F,w,`${B} has member 'write' that`),type:_}}(I,"First parameter");var C;if((C=this)._state="writable",C._storedError=void 0,C._writer=void 0,C._writableStreamController=void 0,C._writeRequests=new rd,C._inFlightWriteRequest=void 0,C._closeRequest=void 0,C._inFlightCloseRequest=void 0,C._pendingAbortRequest=void 0,C._backpressure=!1,Z.type!==void 0)throw new RangeError("Invalid type is specified");let W=Ih(G);(function(w,B,A,V){let X=Object.create(sE.prototype),_,F,g,J;_=B.start!==void 0?()=>B.start(X):()=>{},F=B.write!==void 0?(K)=>B.write(K,X):()=>P5(void 0),g=B.close!==void 0?()=>B.close():()=>P5(void 0),J=B.abort!==void 0?(K)=>B.abort(K):()=>P5(void 0),function(K,Q,E,S,P,$,h,O){Q._controlledWritableStream=K,K._writableStreamController=Q,Q._queue=void 0,Q._queueTotalSize=void 0,PY(Q),Q._abortReason=void 0,Q._abortController=function(){if(pV4)return new AbortController}(),Q._started=!1,Q._strategySizeAlgorithm=O,Q._strategyHWM=h,Q._writeAlgorithm=S,Q._closeAlgorithm=P,Q._abortAlgorithm=$;let T=a41(Q);r41(K,T);let V1=E();R7(P5(V1),()=>(Q._started=!0,_h(Q),null),(c)=>(Q._started=!0,$41(K,c),null))}(w,X,_,F,g,J,A,V)})(this,Z,aE(G,1),W)}get locked(){if(!Mw(this))throw xb("locked");return sb(this)}abort(I){return Mw(this)?sb(this)?Z4(new TypeError("Cannot abort a stream that already has a writer")):fh1(this,I):Z4(xb("abort"))}close(){return Mw(this)?sb(this)?Z4(new TypeError("Cannot close a stream that already has a writer")):yY(this)?Z4(new TypeError("Cannot close an already-closing stream")):qh1(this):Z4(xb("close"))}getWriter(){if(!Mw(this))throw xb("getWriter");return new pA(this)}}function Mw(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_writableStreamController")&&I instanceof MY)}function sb(I){return I._writer!==void 0}function fh1(I,d){var G;if(I._state==="closed"||I._state==="errored")return P5(void 0);I._writableStreamController._abortReason=d,(G=I._writableStreamController._abortController)===null||G===void 0||G.abort(d);let Z=I._state;if(Z==="closed"||Z==="errored")return P5(void 0);if(I._pendingAbortRequest!==void 0)return I._pendingAbortRequest._promise;let C=!1;Z==="erroring"&&(C=!0,d=void 0);let W=II((w,B)=>{I._pendingAbortRequest={_promise:void 0,_resolve:w,_reject:B,_reason:d,_wasAlreadyErroring:C}});return I._pendingAbortRequest._promise=W,C||i41(I,d),W}function qh1(I){let d=I._state;if(d==="closed"||d==="errored")return Z4(new TypeError(`The stream (in ${d} state) is not in the writable state and cannot be closed`));let G=II((W,w)=>{let B={_resolve:W,_reject:w};I._closeRequest=B}),Z=I._writer;var C;return Z!==void 0&&I._backpressure&&d==="writable"&&o41(Z),x41(C=I._writableStreamController,Uh1,0),_h(C),G}function $41(I,d){I._state!=="writable"?n41(I):i41(I,d)}function i41(I,d){let G=I._writableStreamController;I._state="erroring",I._storedError=d;let Z=I._writer;Z!==void 0&&Rh1(Z,d),!function(C){if(C._inFlightWriteRequest===void 0&&C._inFlightCloseRequest===void 0)return!1;return!0}(I)&&G._started&&n41(I)}function n41(I){I._state="errored",I._writableStreamController[sb1]();let d=I._storedError;if(I._writeRequests.forEach((Z)=>{Z._reject(d)}),I._writeRequests=new rd,I._pendingAbortRequest===void 0)return void kb(I);let G=I._pendingAbortRequest;if(I._pendingAbortRequest=void 0,G._wasAlreadyErroring)return G._reject(d),void kb(I);R7(I._writableStreamController[ab1](G._reason),()=>(G._resolve(),kb(I),null),(Z)=>(G._reject(Z),kb(I),null))}function yY(I){return I._closeRequest!==void 0||I._inFlightCloseRequest!==void 0}function kb(I){I._closeRequest!==void 0&&(I._closeRequest._reject(I._storedError),I._closeRequest=void 0);let d=I._writer;d!==void 0&&s41(d,I._storedError)}function r41(I,d){let G=I._writer;G!==void 0&&d!==I._backpressure&&(d?function(Z){Dh(Z)}(G):o41(G)),I._backpressure=d}class pA{constructor(I){if(rA(I,1,"WritableStreamDefaultWriter"),function(Z,C){if(!Mw(Z))throw new TypeError(`${C} is not a WritableStream.`)}(I,"First parameter"),sb(I))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=I,I._writer=this;let d=I._state;if(d==="writable")!yY(I)&&I._backpressure?Dh(this):Tb1(this),ob(this);else if(d==="erroring")u41(this,I._storedError),ob(this);else if(d==="closed")Tb1(this),ob(G=this),Mh1(G);else{let Z=I._storedError;u41(this,Z),ub1(this,Z)}var G}get closed(){return rF(this)?this._closedPromise:Z4(aF("closed"))}get desiredSize(){if(!rF(this))throw aF("desiredSize");if(this._ownerWritableStream===void 0)throw cE("desiredSize");return function(I){let d=I._ownerWritableStream,G=d._state;if(G==="errored"||G==="erroring")return null;if(G==="closed")return 0;return vh1(d._writableStreamController)}(this)}get ready(){return rF(this)?this._readyPromise:Z4(aF("ready"))}abort(I){return rF(this)?this._ownerWritableStream===void 0?Z4(cE("abort")):function(d,G){return fh1(d._ownerWritableStream,G)}(this,I):Z4(aF("abort"))}close(){if(!rF(this))return Z4(aF("close"));let I=this._ownerWritableStream;return I===void 0?Z4(cE("close")):yY(I)?Z4(new TypeError("Cannot close an already-closing stream")):qh1(this._ownerWritableStream)}releaseLock(){if(!rF(this))throw aF("releaseLock");this._ownerWritableStream!==void 0&&function(I){let d=I._ownerWritableStream,G=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Rh1(I,G),function(Z,C){Z._closedPromiseState==="pending"?s41(Z,C):function(W,w){ub1(W,w)}(Z,C)}(I,G),d._writer=void 0,I._ownerWritableStream=void 0}(this)}write(I){return rF(this)?this._ownerWritableStream===void 0?Z4(cE("write to")):function(d,G){let Z=d._ownerWritableStream,C=Z._writableStreamController,W=function(A,V){try{return A._strategySizeAlgorithm(V)}catch(X){return $b1(A,X),1}}(C,G);if(Z!==d._ownerWritableStream)return Z4(cE("write to"));let w=Z._state;if(w==="errored")return Z4(Z._storedError);if(yY(Z)||w==="closed")return Z4(new TypeError("The stream is closing or closed and cannot be written to"));if(w==="erroring")return Z4(Z._storedError);let B=function(A){return II((V,X)=>{let _={_resolve:V,_reject:X};A._writeRequests.push(_)})}(Z);return function(A,V,X){try{x41(A,V,X)}catch(F){return void $b1(A,F)}let _=A._controlledWritableStream;if(!yY(_)&&_._state==="writable")r41(_,a41(A));_h(A)}(C,G,W),B}(this,I):Z4(aF("write"))}}function rF(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_ownerWritableStream")&&I instanceof pA)}function Rh1(I,d){I._readyPromiseState==="pending"?Sh1(I,d):function(G,Z){u41(G,Z)}(I,d)}function U41(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_controlledWritableStream")&&I instanceof sE)}function Gh(I){I._writeAlgorithm=void 0,I._closeAlgorithm=void 0,I._abortAlgorithm=void 0,I._strategySizeAlgorithm=void 0}function vh1(I){return I._strategyHWM-I._queueTotalSize}function _h(I){let d=I._controlledWritableStream;if(!I._started)return;if(d._inFlightWriteRequest!==void 0)return;if(d._state==="erroring")return void n41(d);if(I._queue.length===0)return;let G=I._queue.peek().value;G===Uh1?function(Z){let C=Z._controlledWritableStream;(function(w){w._inFlightCloseRequest=w._closeRequest,w._closeRequest=void 0})(C),L41(Z);let W=Z._closeAlgorithm();Gh(Z),R7(W,()=>(function(w){w._inFlightCloseRequest._resolve(void 0),w._inFlightCloseRequest=void 0,w._state==="erroring"&&(w._storedError=void 0,w._pendingAbortRequest!==void 0&&(w._pendingAbortRequest._resolve(),w._pendingAbortRequest=void 0)),w._state="closed";let B=w._writer;B!==void 0&&Mh1(B)}(C),null),(w)=>(function(B,A){B._inFlightCloseRequest._reject(A),B._inFlightCloseRequest=void 0,B._pendingAbortRequest!==void 0&&(B._pendingAbortRequest._reject(A),B._pendingAbortRequest=void 0),$41(B,A)}(C,w),null))}(I):function(Z,C){let W=Z._controlledWritableStream;(function(w){w._inFlightWriteRequest=w._writeRequests.shift()})(W),R7(Z._writeAlgorithm(C),()=>{(function(B){B._inFlightWriteRequest._resolve(void 0),B._inFlightWriteRequest=void 0})(W);let w=W._state;if(L41(Z),!yY(W)&&w==="writable"){let B=a41(Z);r41(W,B)}return _h(Z),null},(w)=>(W._state==="writable"&&Gh(Z),function(B,A){B._inFlightWriteRequest._reject(A),B._inFlightWriteRequest=void 0,$41(B,A)}(W,w),null))}(I,G)}function $b1(I,d){I._controlledWritableStream._state==="writable"&&Eh1(I,d)}function a41(I){return vh1(I)<=0}function Eh1(I,d){let G=I._controlledWritableStream;Gh(I),i41(G,d)}function xb(I){return new TypeError(`WritableStream.prototype.${I} can only be used on a WritableStream`)}function v41(I){return new TypeError(`WritableStreamDefaultController.prototype.${I} can only be used on a WritableStreamDefaultController`)}function aF(I){return new TypeError(`WritableStreamDefaultWriter.prototype.${I} can only be used on a WritableStreamDefaultWriter`)}function cE(I){return new TypeError("Cannot "+I+" a stream using a released writer")}function ob(I){I._closedPromise=II((d,G)=>{I._closedPromise_resolve=d,I._closedPromise_reject=G,I._closedPromiseState="pending"})}function ub1(I,d){ob(I),s41(I,d)}function s41(I,d){I._closedPromise_reject!==void 0&&(hz(I._closedPromise),I._closedPromise_reject(d),I._closedPromise_resolve=void 0,I._closedPromise_reject=void 0,I._closedPromiseState="rejected")}function Mh1(I){I._closedPromise_resolve!==void 0&&(I._closedPromise_resolve(void 0),I._closedPromise_resolve=void 0,I._closedPromise_reject=void 0,I._closedPromiseState="resolved")}function Dh(I){I._readyPromise=II((d,G)=>{I._readyPromise_resolve=d,I._readyPromise_reject=G}),I._readyPromiseState="pending"}function u41(I,d){Dh(I),Sh1(I,d)}function Tb1(I){Dh(I),o41(I)}function Sh1(I,d){I._readyPromise_reject!==void 0&&(hz(I._readyPromise),I._readyPromise_reject(d),I._readyPromise_resolve=void 0,I._readyPromise_reject=void 0,I._readyPromiseState="rejected")}function o41(I){I._readyPromise_resolve!==void 0&&(I._readyPromise_resolve(void 0),I._readyPromise_resolve=void 0,I._readyPromise_reject=void 0,I._readyPromiseState="fulfilled")}function mb1(I,d,G,Z,C,W){let w=I.getReader(),B=d.getWriter();tF(I)&&(I._disturbed=!0);let A,V,X,_=!1,F=!1,g="readable",J="writable",K=!1,Q=!1,E=II((P)=>{X=P}),S=Promise.resolve(void 0);return II((P,$)=>{let h;function O(){if(_)return;let f1=II((r,A1)=>{(function m1(T1){T1?r():iA(function(){if(_)return P5(!0);return iA(B.ready,()=>iA(w.read(),(e1)=>!!e1.done||(S=B.write(e1.value),hz(S),!1)))}(),m1,A1)})(!1)});hz(f1)}function T(){return g="closed",G?o1():c1(()=>(Mw(d)&&(K=yY(d),J=d._state),K||J==="closed"?P5(void 0):J==="erroring"||J==="errored"?Z4(V):(K=!0,B.close())),!1,void 0),null}function V1(f1){return _||(g="errored",A=f1,Z?o1(!0,f1):c1(()=>B.abort(f1),!0,f1)),null}function c(f1){return F||(J="errored",V=f1,C?o1(!0,f1):c1(()=>w.cancel(f1),!0,f1)),null}if(W!==void 0&&(h=()=>{let f1=W.reason!==void 0?W.reason:new iV4("Aborted","AbortError"),r=[];Z||r.push(()=>J==="writable"?B.abort(f1):P5(void 0)),C||r.push(()=>g==="readable"?w.cancel(f1):P5(void 0)),c1(()=>Promise.all(r.map((A1)=>A1())),!0,f1)},W.aborted?h():W.addEventListener("abort",h)),tF(I)&&(g=I._state,A=I._storedError),Mw(d)&&(J=d._state,V=d._storedError,K=yY(d)),tF(I)&&Mw(d)&&(Q=!0,X()),g==="errored")V1(A);else if(J==="erroring"||J==="errored")c(V);else if(g==="closed")T();else if(K||J==="closed"){let f1=new TypeError("the destination writable stream closed before all data could be piped to it");C?o1(!0,f1):c1(()=>w.cancel(f1),!0,f1)}function c1(f1,r,A1){function m1(){return J!=="writable"||K?T1():qb1(function(){let e1;return P5(function F0(){if(e1!==S)return e1=S,RC(S,F0,F0)}())}(),T1),null}function T1(){return f1?R7(f1(),()=>a1(r,A1),(e1)=>a1(!0,e1)):a1(r,A1),null}_||(_=!0,Q?m1():qb1(E,m1))}function o1(f1,r){c1(void 0,f1,r)}function a1(f1,r){return F=!0,B.releaseLock(),w.releaseLock(),W!==void 0&&W.removeEventListener("abort",h),f1?$(r):P(void 0),null}_||(R7(w.closed,T,V1),R7(B.closed,function(){return F||(J="closed"),null},c)),Q?O():rb(()=>{Q=!0,X(),O()})})}function nV4(I,d){return function(G){try{return G.getReader({mode:"byob"}).releaseLock(),!0}catch(Z){return!1}}(I)?function(G){let Z,C,W,w,B,A=G.getReader(),V=!1,X=!1,_=!1,F=!1,g=!1,J=!1,K=II((c)=>{B=c});function Q(c){Rb1(c.closed,(c1)=>(c!==A||(W.error(c1),w.error(c1),g&&J||B(void 0)),null))}function E(){V&&(A.releaseLock(),A=G.getReader(),Q(A),V=!1),R7(A.read(),(c)=>{var c1,o1;if(_=!1,F=!1,c.done)return g||W.close(),J||w.close(),(c1=W.byobRequest)===null||c1===void 0||c1.respond(0),(o1=w.byobRequest)===null||o1===void 0||o1.respond(0),g&&J||B(void 0),null;let a1=c.value,f1=a1,r=a1;if(!g&&!J)try{r=Sb1(a1)}catch(A1){return W.error(A1),w.error(A1),B(A.cancel(A1)),null}return g||W.enqueue(f1),J||w.enqueue(r),X=!1,_?P():F&&$(),null},()=>(X=!1,null))}function S(c,c1){V||(A.releaseLock(),A=G.getReader({mode:"byob"}),Q(A),V=!0);let o1=c1?w:W,a1=c1?W:w;R7(A.read(c),(f1)=>{var r;_=!1,F=!1;let A1=c1?J:g,m1=c1?g:J;if(f1.done){A1||o1.close(),m1||a1.close();let e1=f1.value;return e1!==void 0&&(A1||o1.byobRequest.respondWithNewView(e1),m1||(r=a1.byobRequest)===null||r===void 0||r.respond(0)),A1&&m1||B(void 0),null}let T1=f1.value;if(m1)A1||o1.byobRequest.respondWithNewView(T1);else{let e1;try{e1=Sb1(T1)}catch(F0){return o1.error(F0),a1.error(F0),B(A.cancel(F0)),null}A1||o1.byobRequest.respondWithNewView(T1),a1.enqueue(e1)}return X=!1,_?P():F&&$(),null},()=>(X=!1,null))}function P(){if(X)return _=!0,P5(void 0);X=!0;let c=W.byobRequest;return c===null?E():S(c.view,!1),P5(void 0)}function $(){if(X)return F=!0,P5(void 0);X=!0;let c=w.byobRequest;return c===null?E():S(c.view,!0),P5(void 0)}function h(c){if(g=!0,Z=c,J){let c1=[Z,C],o1=A.cancel(c1);B(o1)}return K}function O(c){if(J=!0,C=c,g){let c1=[Z,C],o1=A.cancel(c1);B(o1)}return K}let T=new p6({type:"bytes",start(c){W=c},pull:P,cancel:h}),V1=new p6({type:"bytes",start(c){w=c},pull:$,cancel:O});return Q(A),[T,V1]}(I):function(G,Z){let C=G.getReader(),W,w,B,A,V,X=!1,_=!1,F=!1,g=!1,J=II(($)=>{V=$});function K(){return X?(_=!0,P5(void 0)):(X=!0,R7(C.read(),($)=>{if(_=!1,$.done)return F||B.close(),g||A.close(),F&&g||V(void 0),null;let h=$.value,O=h,T=h;return F||B.enqueue(O),g||A.enqueue(T),X=!1,_&&K(),null},()=>(X=!1,null)),P5(void 0))}function Q($){if(F=!0,W=$,g){let h=[W,w],O=C.cancel(h);V(O)}return J}function E($){if(g=!0,w=$,F){let h=[W,w],O=C.cancel(h);V(O)}return J}let S=new p6({start($){B=$},pull:K,cancel:Q}),P=new p6({start($){A=$},pull:K,cancel:E});return Rb1(C.closed,($)=>(B.error($),A.error($),F&&g||V(void 0),null)),[S,P]}(I)}function cb(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_controlledReadableStream")&&I instanceof SY)}function nE(I){if(!function(G){let Z=G._controlledReadableStream;if(!iE(G))return!1;if(!G._started)return!1;if(xz(Z)&&Yh(Z)>0)return!0;if(Lh1(G)>0)return!0;return!1}(I))return;if(I._pulling)return void(I._pullAgain=!0);I._pulling=!0,R7(I._pullAlgorithm(),()=>(I._pulling=!1,I._pullAgain&&(I._pullAgain=!1,nE(I)),null),(G)=>(rE(I,G),null))}function eb(I){I._pullAlgorithm=void 0,I._cancelAlgorithm=void 0,I._strategySizeAlgorithm=void 0}function rE(I,d){let G=I._controlledReadableStream;G._state==="readable"&&(PY(I),eb(I),Ph1(G,d))}function Lh1(I){let d=I._controlledReadableStream._state;return d==="errored"?null:d==="closed"?0:I._strategyHWM-I._queueTotalSize}function iE(I){return!I._closeRequested&&I._controlledReadableStream._state==="readable"}function rV4(I,d,G,Z){let C=Object.create(SY.prototype),W,w,B;W=d.start!==void 0?()=>d.start(C):()=>{},w=d.pull!==void 0?()=>d.pull(C):()=>P5(void 0),B=d.cancel!==void 0?(A)=>d.cancel(A):()=>P5(void 0),function(A,V,X,_,F,g,J){V._controlledReadableStream=A,V._queue=void 0,V._queueTotalSize=void 0,PY(V),V._started=!1,V._closeRequested=!1,V._pullAgain=!1,V._pulling=!1,V._strategySizeAlgorithm=J,V._strategyHWM=g,V._pullAlgorithm=_,V._cancelAlgorithm=F,A._readableStreamController=V,R7(P5(X()),()=>(V._started=!0,nE(V),null),(K)=>(rE(V,K),null))}(I,C,W,w,B,G,Z)}function pb(I){return new TypeError(`ReadableStreamDefaultController.prototype.${I} can only be used on a ReadableStreamDefaultController`)}function aV4(I,d,G){return UC(I,G),(Z)=>dg(I,d,[Z])}function sV4(I,d,G){return UC(I,G),(Z)=>dg(I,d,[Z])}function oV4(I,d,G){return UC(I,G),(Z)=>Xh(I,d,[Z])}function eV4(I,d){if((I=`${I}`)!=="bytes")throw new TypeError(`${d} '${I}' is not a valid enumeration value for ReadableStreamType`);return I}function tV4(I,d){if((I=`${I}`)!=="byob")throw new TypeError(`${d} '${I}' is not a valid enumeration value for ReadableStreamReaderMode`);return I}function lb1(I,d){nA(I,d);let G=I==null?void 0:I.preventAbort,Z=I==null?void 0:I.preventCancel,C=I==null?void 0:I.preventClose,W=I==null?void 0:I.signal;return W!==void 0&&function(w,B){if(!function(A){if(typeof A!="object"||A===null)return!1;try{return typeof A.aborted=="boolean"}catch(V){return!1}}(w))throw new TypeError(`${B} is not an AbortSignal.`)}(W,`${d} has member 'signal' that`),{preventAbort:Boolean(G),preventCancel:Boolean(Z),preventClose:Boolean(C),signal:W}}function IX4(I,d){nA(I,d);let G=I==null?void 0:I.readable;S41(G,"readable","ReadableWritablePair"),function(C,W){if(!pE(C))throw new TypeError(`${W} is not a ReadableStream.`)}(G,`${d} has member 'readable' that`);let Z=I==null?void 0:I.writable;return S41(Z,"writable","ReadableWritablePair"),function(C,W){if(!Ch1(C))throw new TypeError(`${W} is not a WritableStream.`)}(Z,`${d} has member 'writable' that`),{readable:G,writable:Z}}class p6{constructor(I={},d={}){I===void 0?I=null:Gh1(I,"First parameter");let G=dh(d,"Second parameter"),Z=function(W,w){nA(W,w);let B=W,A=B==null?void 0:B.autoAllocateChunkSize,V=B==null?void 0:B.cancel,X=B==null?void 0:B.pull,_=B==null?void 0:B.start,F=B==null?void 0:B.type;return{autoAllocateChunkSize:A===void 0?void 0:Zh1(A,`${w} has member 'autoAllocateChunkSize' that`),cancel:V===void 0?void 0:aV4(V,B,`${w} has member 'cancel' that`),pull:X===void 0?void 0:sV4(X,B,`${w} has member 'pull' that`),start:_===void 0?void 0:oV4(_,B,`${w} has member 'start' that`),type:F===void 0?void 0:eV4(F,`${w} has member 'type' that`)}}(I,"First parameter");var C;if((C=this)._state="readable",C._reader=void 0,C._storedError=void 0,C._disturbed=!1,Z.type==="bytes"){if(G.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");bV4(this,Z,aE(G,0))}else{let W=Ih(G);rV4(this,Z,aE(G,1),W)}}get locked(){if(!tF(this))throw sF("locked");return xz(this)}cancel(I){return tF(this)?xz(this)?Z4(new TypeError("Cannot cancel a stream that already has a reader")):yh1(this,I):Z4(sF("cancel"))}getReader(I){if(!tF(this))throw sF("getReader");return function(d,G){nA(d,G);let Z=d==null?void 0:d.mode;return{mode:Z===void 0?void 0:tV4(Z,`${G} has member 'mode' that`)}}(I,"First parameter").mode===void 0?new UY(this):function(d){return new EY(d)}(this)}pipeThrough(I,d={}){if(!pE(this))throw sF("pipeThrough");rA(I,1,"pipeThrough");let G=IX4(I,"First parameter"),Z=lb1(d,"Second parameter");if(this.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(G.writable.locked)throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return hz(mb1(this,G.writable,Z.preventClose,Z.preventAbort,Z.preventCancel,Z.signal)),G.readable}pipeTo(I,d={}){if(!pE(this))return Z4(sF("pipeTo"));if(I===void 0)return Z4("Parameter 1 is required in 'pipeTo'.");if(!Ch1(I))return Z4(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));let G;try{G=lb1(d,"Second parameter")}catch(Z){return Z4(Z)}return this.locked?Z4(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):I.locked?Z4(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):mb1(this,I,G.preventClose,G.preventAbort,G.preventCancel,G.signal)}tee(){if(!pE(this))throw sF("tee");if(this.locked)throw new TypeError("Cannot tee a stream that already has a reader");return nV4(this)}values(I){if(!pE(this))throw sF("values");return function(d,G){let Z=d.getReader(),C=new k41(Z,G),W=Object.create(Vh1);return W._asyncIteratorImpl=C,W}(this,function(d,G){nA(d,G);let Z=d==null?void 0:d.preventCancel;return{preventCancel:Boolean(Z)}}(I,"First parameter").preventCancel)}}function tF(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_readableStreamController")&&I instanceof p6)}function xz(I){return I._reader!==void 0}function yh1(I,d){if(I._disturbed=!0,I._state==="closed")return P5(void 0);if(I._state==="errored")return Z4(I._storedError);oE(I);let G=I._reader;if(G!==void 0&&lz(G)){let Z=G._readIntoRequests;G._readIntoRequests=new rd,Z.forEach((C)=>{C._closeSteps(void 0)})}return RC(I._readableStreamController[O41](d),nb1)}function oE(I){I._state="closed";let d=I._reader;if(d!==void 0&&(dh1(d),oF(d))){let G=d._readRequests;d._readRequests=new rd,G.forEach((Z)=>{Z._closeSteps()})}}function Ph1(I,d){I._state="errored",I._storedError=d;let G=I._reader;G!==void 0&&(b41(G,d),oF(G)?Ah1(G,d):Qh1(G,d))}function sF(I){return new TypeError(`ReadableStream.prototype.${I} can only be used on a ReadableStream`)}function $h1(I,d){nA(I,d);let G=I==null?void 0:I.highWaterMark;return S41(G,"highWaterMark","QueuingStrategyInit"),{highWaterMark:h41(G)}}class Zh{constructor(I){rA(I,1,"ByteLengthQueuingStrategy"),I=$h1(I,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=I.highWaterMark}get highWaterMark(){if(!hb1(this))throw bb1("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark}get size(){if(!hb1(this))throw bb1("size");return uh1}}function bb1(I){return new TypeError(`ByteLengthQueuingStrategy.prototype.${I} can only be used on a ByteLengthQueuingStrategy`)}function hb1(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_byteLengthQueuingStrategyHighWaterMark")&&I instanceof Zh)}class Ch{constructor(I){rA(I,1,"CountQueuingStrategy"),I=$h1(I,"First parameter"),this._countQueuingStrategyHighWaterMark=I.highWaterMark}get highWaterMark(){if(!kb1(this))throw jb1("highWaterMark");return this._countQueuingStrategyHighWaterMark}get size(){if(!kb1(this))throw jb1("size");return Th1}}function jb1(I){return new TypeError(`CountQueuingStrategy.prototype.${I} can only be used on a CountQueuingStrategy`)}function kb1(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_countQueuingStrategyHighWaterMark")&&I instanceof Ch)}function dX4(I,d,G){return UC(I,G),(Z)=>dg(I,d,[Z])}function GX4(I,d,G){return UC(I,G),(Z)=>Xh(I,d,[Z])}function ZX4(I,d,G){return UC(I,G),(Z,C)=>dg(I,d,[Z,C])}class Wh{constructor(I={},d={},G={}){I===void 0&&(I=null);let Z=dh(d,"Second parameter"),C=dh(G,"Third parameter"),W=function(_,F){nA(_,F);let g=_==null?void 0:_.flush,J=_==null?void 0:_.readableType,K=_==null?void 0:_.start,Q=_==null?void 0:_.transform,E=_==null?void 0:_.writableType;return{flush:g===void 0?void 0:dX4(g,_,`${F} has member 'flush' that`),readableType:J,start:K===void 0?void 0:GX4(K,_,`${F} has member 'start' that`),transform:Q===void 0?void 0:ZX4(Q,_,`${F} has member 'transform' that`),writableType:E}}(I,"First parameter");if(W.readableType!==void 0)throw new RangeError("Invalid readableType specified");if(W.writableType!==void 0)throw new RangeError("Invalid writableType specified");let w=aE(C,0),B=Ih(C),A=aE(Z,1),V=Ih(Z),X;(function(_,F,g,J,K,Q){function E(){return F}function S(T){return function(V1,c){let c1=V1._transformStreamController;if(V1._backpressure)return RC(V1._backpressureChangePromise,()=>{if((Mw(V1._writable)?V1._writable._state:V1._writableState)==="erroring")throw Mw(V1._writable)?V1._writable._storedError:V1._writableStoredError;return cb1(c1,c)});return cb1(c1,c)}(_,T)}function P(T){return function(V1,c){return wh(V1,c),P5(void 0)}(_,T)}function $(){return function(T){let V1=T._transformStreamController,c=V1._flushAlgorithm();return Oh1(V1),RC(c,()=>{if(T._readableState==="errored")throw T._readableStoredError;Ah(T)&&lh1(T)},(c1)=>{throw wh(T,c1),T._readableStoredError})}(_)}function h(){return function(T){return Bh(T,!1),T._backpressureChangePromise}(_)}function O(T){return Hh(_,T),P5(void 0)}_._writableState="writable",_._writableStoredError=void 0,_._writableHasInFlightOperation=!1,_._writableStarted=!1,_._writable=function(T,V1,c,c1,o1,a1,f1){return new MY({start(r){T._writableController=r;try{let A1=r.signal;A1!==void 0&&A1.addEventListener("abort",()=>{T._writableState==="writable"&&(T._writableState="erroring",A1.reason&&(T._writableStoredError=A1.reason))})}catch(A1){}return RC(V1(),()=>(T._writableStarted=!0,ib1(T),null),(A1)=>{throw T._writableStarted=!0,E41(T,A1),A1})},write:(r)=>(function(A1){A1._writableHasInFlightOperation=!0}(T),RC(c(r),()=>(function(A1){A1._writableHasInFlightOperation=!1}(T),ib1(T),null),(A1)=>{throw function(m1,T1){m1._writableHasInFlightOperation=!1,E41(m1,T1)}(T,A1),A1})),close:()=>(function(r){r._writableHasInFlightOperation=!0}(T),RC(c1(),()=>(function(r){r._writableHasInFlightOperation=!1,r._writableState==="erroring"&&(r._writableStoredError=void 0),r._writableState="closed"}(T),null),(r)=>{throw function(A1,m1){A1._writableHasInFlightOperation=!1,A1._writableState,E41(A1,m1)}(T,r),r})),abort:(r)=>(T._writableState="errored",T._writableStoredError=r,o1(r))},{highWaterMark:a1,size:f1})}(_,E,S,$,P,g,J),_._readableState="readable",_._readableStoredError=void 0,_._readableCloseRequested=!1,_._readablePulling=!1,_._readable=function(T,V1,c,c1,o1,a1){return new p6({start:(f1)=>(T._readableController=f1,V1().catch((r)=>{Vh(T,r)})),pull:()=>(T._readablePulling=!0,c().catch((f1)=>{Vh(T,f1)})),cancel:(f1)=>(T._readableState="closed",c1(f1))},{highWaterMark:o1,size:a1})}(_,E,h,O,K,Q),_._backpressure=void 0,_._backpressureChangePromise=void 0,_._backpressureChangePromise_resolve=void 0,Bh(_,!0),_._transformStreamController=void 0})(this,II((_)=>{X=_}),A,V,w,B),function(_,F){let g=Object.create(LY.prototype),J,K;J=F.transform!==void 0?(Q)=>F.transform(Q,g):(Q)=>{try{return mh1(g,Q),P5(void 0)}catch(E){return Z4(E)}},K=F.flush!==void 0?()=>F.flush(g):()=>P5(void 0),function(Q,E,S,P){E._controlledTransformStream=Q,Q._transformStreamController=E,E._transformAlgorithm=S,E._flushAlgorithm=P}(_,g,J,K)}(this,W),W.start!==void 0?X(W.start(this._transformStreamController)):X(void 0)}get readable(){if(!xb1(this))throw pb1("readable");return this._readable}get writable(){if(!xb1(this))throw pb1("writable");return this._writable}}function xb1(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_transformStreamController")&&I instanceof Wh)}function wh(I,d){Vh(I,d),Hh(I,d)}function Hh(I,d){Oh1(I._transformStreamController),function(G,Z){G._writableController.error(Z),G._writableState==="writable"&&hh1(G,Z)}(I,d),I._backpressure&&Bh(I,!1)}function Bh(I,d){I._backpressureChangePromise!==void 0&&I._backpressureChangePromise_resolve(),I._backpressureChangePromise=II((G)=>{I._backpressureChangePromise_resolve=G}),I._backpressure=d}class LY{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!ib(this))throw nb("desiredSize");return bh1(this._controlledTransformStream)}enqueue(I){if(!ib(this))throw nb("enqueue");mh1(this,I)}error(I){if(!ib(this))throw nb("error");var d;d=I,wh(this._controlledTransformStream,d)}terminate(){if(!ib(this))throw nb("terminate");(function(I){let d=I._controlledTransformStream;Ah(d)&&lh1(d);let G=new TypeError("TransformStream terminated");Hh(d,G)})(this)}}function ib(I){return!!U7(I)&&(!!Object.prototype.hasOwnProperty.call(I,"_controlledTransformStream")&&I instanceof LY)}function Oh1(I){I._transformAlgorithm=void 0,I._flushAlgorithm=void 0}function mh1(I,d){let G=I._controlledTransformStream;if(!Ah(G))throw new TypeError("Readable side is not in a state that permits enqueue");try{(function(C,W){C._readablePulling=!1;try{C._readableController.enqueue(W)}catch(w){throw Vh(C,w),w}})(G,d)}catch(C){throw Hh(G,C),G._readableStoredError}(function(C){return!function(W){if(!Ah(W))return!1;if(W._readablePulling)return!0;if(bh1(W)>0)return!0;return!1}(C)})(G)!==G._backpressure&&Bh(G,!0)}function cb1(I,d){return RC(I._transformAlgorithm(d),void 0,(G)=>{throw wh(I._controlledTransformStream,G),G})}function nb(I){return new TypeError(`TransformStreamDefaultController.prototype.${I} can only be used on a TransformStreamDefaultController`)}function pb1(I){return new TypeError(`TransformStream.prototype.${I} can only be used on a TransformStream`)}function Ah(I){return!I._readableCloseRequested&&I._readableState==="readable"}function lh1(I){I._readableState="closed",I._readableCloseRequested=!0,I._readableController.close()}function Vh(I,d){I._readableState==="readable"&&(I._readableState="errored",I._readableStoredError=d),I._readableController.error(d)}function bh1(I){return I._readableController.desiredSize}function E41(I,d){I._writableState!=="writable"?e41(I):hh1(I,d)}function hh1(I,d){I._writableState="erroring",I._writableStoredError=d,!function(G){return G._writableHasInFlightOperation}(I)&&I._writableStarted&&e41(I)}function e41(I){I._writableState="errored"}function ib1(I){I._writableState==="erroring"&&e41(I)}var W5,rb1,T41,TV4,OV4,mV4,rb=(I)=>{if(typeof queueMicrotask=="function")rb=queueMicrotask;else{let d=P5(void 0);rb=(G)=>iA(d,G)}return rb(I)},ab1,sb1,O41,m41,l41,Ub1,lV4,Vh1,Xh1,vY,pV4,Uh1,sE,Ob1,iV4,SY,uh1=(I)=>I.byteLength,Th1=()=>1;var jh1=Gw(()=>{W5=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:(I)=>`Symbol(${I})`;rb1=nb1;T41=Promise,TV4=Promise.prototype.then,OV4=Promise.resolve.bind(T41),mV4=Promise.reject.bind(T41);ab1=W5("[[AbortSteps]]"),sb1=W5("[[ErrorSteps]]"),O41=W5("[[CancelSteps]]"),m41=W5("[[PullSteps]]"),l41=W5("[[ReleaseSteps]]");Ub1=Number.isFinite||function(I){return typeof I=="number"&&isFinite(I)},lV4=Math.trunc||function(I){return I<0?Math.ceil(I):Math.floor(I)};Object.defineProperties(UY.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),M5(UY.prototype.cancel,"cancel"),M5(UY.prototype.read,"read"),M5(UY.prototype.releaseLock,"releaseLock"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(UY.prototype,W5.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});Vh1={next(){return Eb1(this)?this._asyncIteratorImpl.next():Z4(Mb1("next"))},return(I){return Eb1(this)?this._asyncIteratorImpl.return(I):Z4(Mb1("return"))}};typeof W5.asyncIterator=="symbol"&&Object.defineProperty(Vh1,W5.asyncIterator,{value(){return this},writable:!0,configurable:!0});Xh1=Number.isNaN||function(I){return I!=I};Object.defineProperties(eF.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),M5(eF.prototype.respond,"respond"),M5(eF.prototype.respondWithNewView,"respondWithNewView"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(eF.prototype,W5.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});vY=class vY{constructor(){throw new TypeError("Illegal constructor")}get byobRequest(){if(!mz(this))throw xE("byobRequest");return function(I){if(I._byobRequest===null&&I._pendingPullIntos.length>0){let d=I._pendingPullIntos.peek(),G=new Uint8Array(d.buffer,d.byteOffset+d.bytesFilled,d.byteLength-d.bytesFilled),Z=Object.create(eF.prototype);(function(C,W,w){C._associatedReadableByteStreamController=W,C._view=w})(Z,I,G),I._byobRequest=Z}return I._byobRequest}(this)}get desiredSize(){if(!mz(this))throw xE("desiredSize");return Nh1(this)}close(){if(!mz(this))throw xE("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");let I=this._controlledReadableByteStream._state;if(I!=="readable")throw new TypeError(`The stream (in ${I} state) is not in the readable state and cannot be closed`);(function(d){let G=d._controlledReadableByteStream;if(d._closeRequested||G._state!=="readable")return;if(d._queueTotalSize>0)return void(d._closeRequested=!0);if(d._pendingPullIntos.length>0){if(d._pendingPullIntos.peek().bytesFilled>0){let Z=new TypeError("Insufficient bytes to fill elements in the given buffer");throw kz(d,Z),Z}}tb(d),oE(G)})(this)}enqueue(I){if(!mz(this))throw xE("enqueue");if(rA(I,1,"enqueue"),!ArrayBuffer.isView(I))throw new TypeError("chunk must be an array buffer view");if(I.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(I.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");let d=this._controlledReadableByteStream._state;if(d!=="readable")throw new TypeError(`The stream (in ${d} state) is not in the readable state and cannot be enqueued to`);(function(G,Z){let C=G._controlledReadableByteStream;if(G._closeRequested||C._state!=="readable")return;let{buffer:W,byteOffset:w,byteLength:B}=Z,A=W;if(G._pendingPullIntos.length>0){let V=G._pendingPullIntos.peek();V.buffer,c41(G),V.buffer=V.buffer,V.readerType==="none"&&Fh1(G,V)}if(Bh1(C))if(function(V){let X=V._controlledReadableByteStream._reader;for(;X._readRequests.length>0;){if(V._queueTotalSize===0)return;yb1(V,X._readRequests.shift())}}(G),Yh(C)===0)ab(G,A,w,B);else G._pendingPullIntos.length>0&&bz(G),j41(C,new Uint8Array(A,w,B),!1);else p41(C)?(ab(G,A,w,B),P41(G)):ab(G,A,w,B);Ig(G)})(this,I)}error(I){if(!mz(this))throw xE("error");kz(this,I)}[O41](I){_h1(this),PY(this);let d=this._cancelAlgorithm(I);return tb(this),d}[m41](I){let d=this._controlledReadableByteStream;if(this._queueTotalSize>0)return void yb1(this,I);let G=this._autoAllocateChunkSize;if(G!==void 0){let Z;try{Z=new ArrayBuffer(G)}catch(W){return void I._errorSteps(W)}let C={buffer:Z,bufferByteLength:G,byteOffset:0,byteLength:G,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(C)}wh1(d,I),Ig(this)}[l41](){if(this._pendingPullIntos.length>0){let I=this._pendingPullIntos.peek();I.readerType="none",this._pendingPullIntos=new rd,this._pendingPullIntos.push(I)}}};Object.defineProperties(vY.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),M5(vY.prototype.close,"close"),M5(vY.prototype.enqueue,"enqueue"),M5(vY.prototype.error,"error"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(vY.prototype,W5.toStringTag,{value:"ReadableByteStreamController",configurable:!0});Object.defineProperties(EY.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),M5(EY.prototype.cancel,"cancel"),M5(EY.prototype.read,"read"),M5(EY.prototype.releaseLock,"releaseLock"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(EY.prototype,W5.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});pV4=typeof AbortController=="function";Object.defineProperties(MY.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),M5(MY.prototype.abort,"abort"),M5(MY.prototype.close,"close"),M5(MY.prototype.getWriter,"getWriter"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(MY.prototype,W5.toStringTag,{value:"WritableStream",configurable:!0});Object.defineProperties(pA.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),M5(pA.prototype.abort,"abort"),M5(pA.prototype.close,"close"),M5(pA.prototype.releaseLock,"releaseLock"),M5(pA.prototype.write,"write"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(pA.prototype,W5.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});Uh1={};sE=class sE{constructor(){throw new TypeError("Illegal constructor")}get abortReason(){if(!U41(this))throw v41("abortReason");return this._abortReason}get signal(){if(!U41(this))throw v41("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal}error(I){if(!U41(this))throw v41("error");this._controlledWritableStream._state==="writable"&&Eh1(this,I)}[ab1](I){let d=this._abortAlgorithm(I);return Gh(this),d}[sb1](){PY(this)}};Object.defineProperties(sE.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof W5.toStringTag=="symbol"&&Object.defineProperty(sE.prototype,W5.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});Ob1=typeof DOMException!="undefined"?DOMException:void 0,iV4=function(I){if(typeof I!="function"&&typeof I!="object")return!1;try{return new I,!0}catch(d){return!1}}(Ob1)?Ob1:function(){let I=function(d,G){this.message=d||"",this.name=G||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return I.prototype=Object.create(Error.prototype),Object.defineProperty(I.prototype,"constructor",{value:I,writable:!0,configurable:!0}),I}();SY=class SY{constructor(){throw new TypeError("Illegal constructor")}get desiredSize(){if(!cb(this))throw pb("desiredSize");return Lh1(this)}close(){if(!cb(this))throw pb("close");if(!iE(this))throw new TypeError("The stream is not in a state that permits close");(function(I){if(!iE(I))return;let d=I._controlledReadableStream;I._closeRequested=!0,I._queue.length===0&&(eb(I),oE(d))})(this)}enqueue(I){if(!cb(this))throw pb("enqueue");if(!iE(this))throw new TypeError("The stream is not in a state that permits enqueue");return function(d,G){if(!iE(d))return;let Z=d._controlledReadableStream;if(xz(Z)&&Yh(Z)>0)j41(Z,G,!1);else{let C;try{C=d._strategySizeAlgorithm(G)}catch(W){throw rE(d,W),W}try{x41(d,G,C)}catch(W){throw rE(d,W),W}}nE(d)}(this,I)}error(I){if(!cb(this))throw pb("error");rE(this,I)}[O41](I){PY(this);let d=this._cancelAlgorithm(I);return eb(this),d}[m41](I){let d=this._controlledReadableStream;if(this._queue.length>0){let G=L41(this);this._closeRequested&&this._queue.length===0?(eb(this),oE(d)):nE(this),I._chunkSteps(G)}else wh1(d,I),nE(this)}[l41](){}};Object.defineProperties(SY.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),M5(SY.prototype.close,"close"),M5(SY.prototype.enqueue,"enqueue"),M5(SY.prototype.error,"error"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(SY.prototype,W5.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});Object.defineProperties(p6.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),M5(p6.prototype.cancel,"cancel"),M5(p6.prototype.getReader,"getReader"),M5(p6.prototype.pipeThrough,"pipeThrough"),M5(p6.prototype.pipeTo,"pipeTo"),M5(p6.prototype.tee,"tee"),M5(p6.prototype.values,"values"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(p6.prototype,W5.toStringTag,{value:"ReadableStream",configurable:!0}),typeof W5.asyncIterator=="symbol"&&Object.defineProperty(p6.prototype,W5.asyncIterator,{value:p6.prototype.values,writable:!0,configurable:!0});M5(uh1,"size");Object.defineProperties(Zh.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof W5.toStringTag=="symbol"&&Object.defineProperty(Zh.prototype,W5.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});M5(Th1,"size");Object.defineProperties(Ch.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof W5.toStringTag=="symbol"&&Object.defineProperty(Ch.prototype,W5.toStringTag,{value:"CountQueuingStrategy",configurable:!0});Object.defineProperties(Wh.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof W5.toStringTag=="symbol"&&Object.defineProperty(Wh.prototype,W5.toStringTag,{value:"TransformStream",configurable:!0});Object.defineProperties(LY.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),M5(LY.prototype.enqueue,"enqueue"),M5(LY.prototype.error,"error"),M5(LY.prototype.terminate,"terminate"),typeof W5.toStringTag=="symbol"&&Object.defineProperty(LY.prototype,W5.toStringTag,{value:"TransformStreamDefaultController",configurable:!0})});var Z6=(I)=>typeof I==="function";async function*WX4(I){let d=I.byteOffset+I.byteLength,G=I.byteOffset;while(G!==d){let Z=Math.min(d-G,kh1),C=I.buffer.slice(G,G+Z);G+=C.byteLength,yield new Uint8Array(C)}}async function*wX4(I){let d=0;while(d!==I.size){let Z=await I.slice(d,Math.min(I.size,d+kh1)).arrayBuffer();d+=Z.byteLength,yield new Uint8Array(Z)}}async function*Fh(I,d=!1){for(let G of I)if(ArrayBuffer.isView(G))if(d)yield*WX4(G);else yield G;else if(Z6(G.stream))yield*G.stream();else yield*wX4(G)}function*xh1(I,d,G=0,Z){Z!==null&&Z!==void 0||(Z=d);let C=G<0?Math.max(d+G,0):Math.min(G,d),W=Z<0?Math.max(d+Z,0):Math.min(Z,d),w=Math.max(W-C,0),B=0;for(let A of I){if(B>=w)break;let V=ArrayBuffer.isView(A)?A.byteLength:A.size;if(C&&V<=C)C-=V,W-=V;else{let X;if(ArrayBuffer.isView(A))X=A.subarray(C,Math.min(V,W)),B+=X.byteLength;else X=A.slice(C,Math.min(V,W)),B+=X.size;W-=V,C=0,yield X}}}var kh1=65536;var ch1=Gw(()=>{/*! Based on fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> & David Frank */});var $Y=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},ph1=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},Gg,gh,eE,vC;var t41=Gw(()=>{jh1();ch1();/*! Based on fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> & David Frank */vC=class vC{constructor(I=[],d={}){if(Gg.set(this,[]),gh.set(this,""),eE.set(this,0),d!==null&&d!==void 0||(d={}),typeof I!=="object"||I===null)throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");if(!Z6(I[Symbol.iterator]))throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");if(typeof d!=="object"&&!Z6(d))throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");let G=new TextEncoder;for(let C of I){let W;if(ArrayBuffer.isView(C))W=new Uint8Array(C.buffer.slice(C.byteOffset,C.byteOffset+C.byteLength));else if(C instanceof ArrayBuffer)W=new Uint8Array(C.slice(0));else if(C instanceof vC)W=C;else W=G.encode(String(C));ph1(this,eE,$Y(this,eE,"f")+(ArrayBuffer.isView(W)?W.byteLength:W.size),"f"),$Y(this,Gg,"f").push(W)}let Z=d.type===void 0?"":String(d.type);ph1(this,gh,/^[\x20-\x7E]*$/.test(Z)?Z:"","f")}static[(Gg=new WeakMap,gh=new WeakMap,eE=new WeakMap,Symbol.hasInstance)](I){return Boolean(I&&typeof I==="object"&&Z6(I.constructor)&&(Z6(I.stream)||Z6(I.arrayBuffer))&&/^(Blob|File)$/.test(I[Symbol.toStringTag]))}get type(){return $Y(this,gh,"f")}get size(){return $Y(this,eE,"f")}slice(I,d,G){return new vC(xh1($Y(this,Gg,"f"),this.size,I,d),{type:G})}async text(){let I=new TextDecoder,d="";for await(let G of Fh($Y(this,Gg,"f")))d+=I.decode(G,{stream:!0});return d+=I.decode(),d}async arrayBuffer(){let I=new Uint8Array(this.size),d=0;for await(let G of Fh($Y(this,Gg,"f")))I.set(G,d),d+=G.length;return I.buffer}stream(){let I=Fh($Y(this,Gg,"f"),!0);return new p6({async pull(d){let{value:G,done:Z}=await I.next();if(Z)return queueMicrotask(()=>d.close());d.enqueue(G)},async cancel(){await I.return()}})}get[Symbol.toStringTag](){return"Blob"}};Object.defineProperties(vC.prototype,{type:{enumerable:!0},size:{enumerable:!0},slice:{enumerable:!0},stream:{enumerable:!0},text:{enumerable:!0},arrayBuffer:{enumerable:!0}})});var ih1=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},nh1=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},Jh,Kh,Sw;var Nh=Gw(()=>{t41();Sw=class Sw extends vC{constructor(I,d,G={}){super(I,G);if(Jh.set(this,void 0),Kh.set(this,0),arguments.length<2)throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);ih1(this,Jh,String(d),"f");let Z=G.lastModified===void 0?Date.now():Number(G.lastModified);if(!Number.isNaN(Z))ih1(this,Kh,Z,"f")}static[(Jh=new WeakMap,Kh=new WeakMap,Symbol.hasInstance)](I){return I instanceof vC&&I[Symbol.toStringTag]==="File"&&typeof I.name==="string"}get name(){return nh1(this,Jh,"f")}get lastModified(){return nh1(this,Kh,"f")}get webkitRelativePath(){return""}get[Symbol.toStringTag](){return"File"}}});var I51=(I)=>I instanceof Sw;var d51=Gw(()=>{Nh()});var C51=Y((BE9,sh1)=>{var cz=1000,pz=cz*60,iz=pz*60,Zg=iz*24,VX4=Zg*7,XX4=Zg*365.25;sh1.exports=function(I,d){d=d||{};var G=typeof I;if(G==="string"&&I.length>0)return YX4(I);else if(G==="number"&&isFinite(I))return d.long?DX4(I):_X4(I);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(I))};function YX4(I){if(I=String(I),I.length>100)return;var d=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(I);if(!d)return;var G=parseFloat(d[1]),Z=(d[2]||"ms").toLowerCase();switch(Z){case"years":case"year":case"yrs":case"yr":case"y":return G*XX4;case"weeks":case"week":case"w":return G*VX4;case"days":case"day":case"d":return G*Zg;case"hours":case"hour":case"hrs":case"hr":case"h":return G*iz;case"minutes":case"minute":case"mins":case"min":case"m":return G*pz;case"seconds":case"second":case"secs":case"sec":case"s":return G*cz;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return G;default:return}}function _X4(I){var d=Math.abs(I);if(d>=Zg)return Math.round(I/Zg)+"d";if(d>=iz)return Math.round(I/iz)+"h";if(d>=pz)return Math.round(I/pz)+"m";if(d>=cz)return Math.round(I/cz)+"s";return I+"ms"}function DX4(I){var d=Math.abs(I);if(d>=Zg)return Qh(I,d,Zg,"day");if(d>=iz)return Qh(I,d,iz,"hour");if(d>=pz)return Qh(I,d,pz,"minute");if(d>=cz)return Qh(I,d,cz,"second");return I+" ms"}function Qh(I,d,G,Z){var C=d>=G*1.5;return Math.round(I/G)+" "+Z+(C?"s":"")}});var eh1=Y((AE9,oh1)=>{/*!
 * humanize-ms - index.js
 * Copyright(c) 2014 dead_horse <dead_horse@qq.com>
 * MIT Licensed
 */var HX4=B1("util"),FX4=C51();oh1.exports=function(I){if(typeof I==="number")return I;var d=FX4(I);if(d===void 0){var G=new Error(HX4.format("humanize-ms(%j) result undefined",I));console.warn(G.stack)}return d}});var fh=Y((VE9,th1)=>{th1.exports={CURRENT_ID:Symbol("agentkeepalive#currentId"),CREATE_ID:Symbol("agentkeepalive#createId"),INIT_SOCKET:Symbol("agentkeepalive#initSocket"),CREATE_HTTPS_CONNECTION:Symbol("agentkeepalive#createHttpsConnection"),SOCKET_CREATED_TIME:Symbol("agentkeepalive#socketCreatedTime"),SOCKET_NAME:Symbol("agentkeepalive#socketName"),SOCKET_REQUEST_COUNT:Symbol("agentkeepalive#socketRequestCount"),SOCKET_REQUEST_FINISHED_COUNT:Symbol("agentkeepalive#socketRequestFinishedCount")}});var V51=Y((XE9,Cj1)=>{var gX4=B1("http").Agent,W51=eh1(),dI=B1("util").debuglog("agentkeepalive"),{INIT_SOCKET:Ij1,CURRENT_ID:qh,CREATE_ID:dj1,SOCKET_CREATED_TIME:Gj1,SOCKET_NAME:oI,SOCKET_REQUEST_COUNT:ZZ,SOCKET_REQUEST_FINISHED_COUNT:Pw}=fh(),A51=1,w51=parseInt(process.version.split(".",1)[0].substring(1));if(w51>=11&&w51<=12)A51=2;else if(w51>=13)A51=3;function tE(I){console.log("[agentkeepalive:deprecated] %s",I)}class Zj1 extends gX4{constructor(I){if(I=I||{},I.keepAlive=I.keepAlive!==!1,I.freeSocketTimeout===void 0)I.freeSocketTimeout=4000;if(I.keepAliveTimeout)tE("options.keepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),I.freeSocketTimeout=I.keepAliveTimeout,delete I.keepAliveTimeout;if(I.freeSocketKeepAliveTimeout)tE("options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead"),I.freeSocketTimeout=I.freeSocketKeepAliveTimeout,delete I.freeSocketKeepAliveTimeout;if(I.timeout===void 0)I.timeout=Math.max(I.freeSocketTimeout*2,8000);I.timeout=W51(I.timeout),I.freeSocketTimeout=W51(I.freeSocketTimeout),I.socketActiveTTL=I.socketActiveTTL?W51(I.socketActiveTTL):0;super(I);this[qh]=0,this.createSocketCount=0,this.createSocketCountLastCheck=0,this.createSocketErrorCount=0,this.createSocketErrorCountLastCheck=0,this.closeSocketCount=0,this.closeSocketCountLastCheck=0,this.errorSocketCount=0,this.errorSocketCountLastCheck=0,this.requestCount=0,this.requestCountLastCheck=0,this.timeoutSocketCount=0,this.timeoutSocketCountLastCheck=0,this.on("free",(d)=>{let G=this.calcSocketTimeout(d);if(G>0&&d.timeout!==G)d.setTimeout(G)})}get freeSocketKeepAliveTimeout(){return tE("agent.freeSocketKeepAliveTimeout is deprecated, please use agent.options.freeSocketTimeout instead"),this.options.freeSocketTimeout}get timeout(){return tE("agent.timeout is deprecated, please use agent.options.timeout instead"),this.options.timeout}get socketActiveTTL(){return tE("agent.socketActiveTTL is deprecated, please use agent.options.socketActiveTTL instead"),this.options.socketActiveTTL}calcSocketTimeout(I){let d=this.options.freeSocketTimeout,G=this.options.socketActiveTTL;if(G){let Z=Date.now()-I[Gj1],C=G-Z;if(C<=0)return C;if(d&&C<d)d=C}if(d)return I.freeSocketTimeout||I.freeSocketKeepAliveTimeout||d}keepSocketAlive(I){let d=super.keepSocketAlive(I);if(!d)return d;let G=this.calcSocketTimeout(I);if(typeof G==="undefined")return!0;if(G<=0)return dI("%s(requests: %s, finished: %s) free but need to destroy by TTL, request count %s, diff is %s",I[oI],I[ZZ],I[Pw],G),!1;if(I.timeout!==G)I.setTimeout(G);return!0}reuseSocket(...I){super.reuseSocket(...I);let d=I[0],G=I[1];G.reusedSocket=!0;let Z=this.options.timeout;if(IM(d)!==Z)d.setTimeout(Z),dI("%s reset timeout to %sms",d[oI],Z);d[ZZ]++,dI("%s(requests: %s, finished: %s) reuse on addRequest, timeout %sms",d[oI],d[ZZ],d[Pw],IM(d))}[dj1](){let I=this[qh]++;if(this[qh]===Number.MAX_SAFE_INTEGER)this[qh]=0;return I}[Ij1](I,d){if(d.timeout){if(!IM(I))I.setTimeout(d.timeout)}if(this.options.keepAlive)I.setNoDelay(!0);if(this.createSocketCount++,this.options.socketActiveTTL)I[Gj1]=Date.now();I[oI]=`sock[${this[dj1]()}#${d._agentKey}]`.split("-----BEGIN",1)[0],I[ZZ]=1,I[Pw]=0,JX4(this,I,d)}createConnection(I,d){let G=!1,Z=(W,w)=>{if(G)return;if(G=!0,W)return this.createSocketErrorCount++,d(W);this[Ij1](w,I),d(W,w)},C=super.createConnection(I,Z);if(C)Z(null,C);return C}get statusChanged(){let I=this.createSocketCount!==this.createSocketCountLastCheck||this.createSocketErrorCount!==this.createSocketErrorCountLastCheck||this.closeSocketCount!==this.closeSocketCountLastCheck||this.errorSocketCount!==this.errorSocketCountLastCheck||this.timeoutSocketCount!==this.timeoutSocketCountLastCheck||this.requestCount!==this.requestCountLastCheck;if(I)this.createSocketCountLastCheck=this.createSocketCount,this.createSocketErrorCountLastCheck=this.createSocketErrorCount,this.closeSocketCountLastCheck=this.closeSocketCount,this.errorSocketCountLastCheck=this.errorSocketCount,this.timeoutSocketCountLastCheck=this.timeoutSocketCount,this.requestCountLastCheck=this.requestCount;return I}getCurrentStatus(){return{createSocketCount:this.createSocketCount,createSocketErrorCount:this.createSocketErrorCount,closeSocketCount:this.closeSocketCount,errorSocketCount:this.errorSocketCount,timeoutSocketCount:this.timeoutSocketCount,requestCount:this.requestCount,freeSockets:B51(this.freeSockets),sockets:B51(this.sockets),requests:B51(this.requests)}}}function IM(I){return I.timeout||I._idleTimeout}function JX4(I,d,G){dI("%s create, timeout %sms",d[oI],IM(d));function Z(){if(!d._httpMessage&&d[ZZ]===1)return;d[Pw]++,I.requestCount++,dI("%s(requests: %s, finished: %s) free",d[oI],d[ZZ],d[Pw]);let A=I.getName(G);if(d.writable&&I.requests[A]&&I.requests[A].length)d[ZZ]++,dI("%s(requests: %s, finished: %s) will be reuse on agent free event",d[oI],d[ZZ],d[Pw])}d.on("free",Z);function C(A){dI("%s(requests: %s, finished: %s) close, isError: %s",d[oI],d[ZZ],d[Pw],A),I.closeSocketCount++}d.on("close",C);function W(){let A=d.listeners("timeout").length,V=IM(d),X=d._httpMessage,_=X&&X.listeners("timeout").length||0;if(dI("%s(requests: %s, finished: %s) timeout after %sms, listeners %s, defaultTimeoutListenerCount %s, hasHttpRequest %s, HttpRequest timeoutListenerCount %s",d[oI],d[ZZ],d[Pw],V,A,A51,!!X,_),dI.enabled)dI("timeout listeners: %s",d.listeners("timeout").map((g)=>g.name).join(", "));I.timeoutSocketCount++;let F=I.getName(G);if(I.freeSockets[F]&&I.freeSockets[F].indexOf(d)!==-1)d.destroy(),I.removeSocket(d,G),dI("%s is free, destroy quietly",d[oI]);else if(_===0){let g=new Error("Socket timeout");g.code="ERR_SOCKET_TIMEOUT",g.timeout=V,d.destroy(g),I.removeSocket(d,G),dI("%s destroy with timeout error",d[oI])}}d.on("timeout",W);function w(A){let V=d.listeners("error").length;if(dI("%s(requests: %s, finished: %s) error: %s, listenerCount: %s",d[oI],d[ZZ],d[Pw],A,V),I.errorSocketCount++,V===1)dI("%s emit uncaught error event",d[oI]),d.removeListener("error",w),d.emit("error",A)}d.on("error",w);function B(){dI("%s(requests: %s, finished: %s) agentRemove",d[oI],d[ZZ],d[Pw]),d.removeListener("close",C),d.removeListener("error",w),d.removeListener("free",Z),d.removeListener("timeout",W),d.removeListener("agentRemove",B)}d.on("agentRemove",B)}Cj1.exports=Zj1;function B51(I){let d={};for(let G in I)d[G]=I[G].length;return d}});var Bj1=Y((YE9,wj1)=>{var X51=B1("https").Agent,KX4=V51(),{INIT_SOCKET:NX4,CREATE_HTTPS_CONNECTION:Wj1}=fh();class Rh extends KX4{constructor(I){super(I);if(this.defaultPort=443,this.protocol="https:",this.maxCachedSessions=this.options.maxCachedSessions,this.maxCachedSessions===void 0)this.maxCachedSessions=100;this._sessionCache={map:{},list:[]}}createConnection(I,d){let G=this[Wj1](I,d);return this[NX4](G,I),G}}Rh.prototype[Wj1]=X51.prototype.createConnection;["getName","_getSession","_cacheSession","_evictSession"].forEach(function(I){if(typeof X51.prototype[I]==="function")Rh.prototype[I]=X51.prototype[I]});wj1.exports=Rh});var Aj1=Y((_E9,Uh)=>{Uh.exports=V51();Uh.exports.HttpsAgent=Bj1();Uh.exports.constants=fh()});var Nj1=Y((Kj1,GM)=>{Object.defineProperty(Kj1,"__esModule",{value:!0});var Hj1=new WeakMap,Y51=new WeakMap;function j9(I){let d=Hj1.get(I);return console.assert(d!=null,"'this' is expected an Event object, but got",I),d}function Vj1(I){if(I.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function")console.error("Unable to preventDefault inside passive event listener invocation.",I.passiveListener);return}if(!I.event.cancelable)return;if(I.canceled=!0,typeof I.event.preventDefault==="function")I.event.preventDefault()}function nz(I,d){Hj1.set(this,{eventTarget:I,event:d,eventPhase:2,currentTarget:I,canceled:!1,stopped:!1,immediateStopped:!1,passiveListener:null,timeStamp:d.timeStamp||Date.now()}),Object.defineProperty(this,"isTrusted",{value:!1,enumerable:!0});let G=Object.keys(d);for(let Z=0;Z<G.length;++Z){let C=G[Z];if(!(C in this))Object.defineProperty(this,C,Fj1(C))}}nz.prototype={get type(){return j9(this).event.type},get target(){return j9(this).eventTarget},get currentTarget(){return j9(this).currentTarget},composedPath(){let I=j9(this).currentTarget;if(I==null)return[];return[I]},get NONE(){return 0},get CAPTURING_PHASE(){return 1},get AT_TARGET(){return 2},get BUBBLING_PHASE(){return 3},get eventPhase(){return j9(this).eventPhase},stopPropagation(){let I=j9(this);if(I.stopped=!0,typeof I.event.stopPropagation==="function")I.event.stopPropagation()},stopImmediatePropagation(){let I=j9(this);if(I.stopped=!0,I.immediateStopped=!0,typeof I.event.stopImmediatePropagation==="function")I.event.stopImmediatePropagation()},get bubbles(){return Boolean(j9(this).event.bubbles)},get cancelable(){return Boolean(j9(this).event.cancelable)},preventDefault(){Vj1(j9(this))},get defaultPrevented(){return j9(this).canceled},get composed(){return Boolean(j9(this).event.composed)},get timeStamp(){return j9(this).timeStamp},get srcElement(){return j9(this).eventTarget},get cancelBubble(){return j9(this).stopped},set cancelBubble(I){if(!I)return;let d=j9(this);if(d.stopped=!0,typeof d.event.cancelBubble==="boolean")d.event.cancelBubble=!0},get returnValue(){return!j9(this).canceled},set returnValue(I){if(!I)Vj1(j9(this))},initEvent(){}};Object.defineProperty(nz.prototype,"constructor",{value:nz,configurable:!0,writable:!0});if(typeof window!=="undefined"&&typeof window.Event!=="undefined")Object.setPrototypeOf(nz.prototype,window.Event.prototype),Y51.set(window.Event.prototype,nz);function Fj1(I){return{get(){return j9(this).event[I]},set(d){j9(this).event[I]=d},configurable:!0,enumerable:!0}}function zX4(I){return{value(){let d=j9(this).event;return d[I].apply(d,arguments)},configurable:!0,enumerable:!0}}function QX4(I,d){let G=Object.keys(d);if(G.length===0)return I;function Z(C,W){I.call(this,C,W)}Z.prototype=Object.create(I.prototype,{constructor:{value:Z,configurable:!0,writable:!0}});for(let C=0;C<G.length;++C){let W=G[C];if(!(W in I.prototype)){let B=typeof Object.getOwnPropertyDescriptor(d,W).value==="function";Object.defineProperty(Z.prototype,W,B?zX4(W):Fj1(W))}}return Z}function gj1(I){if(I==null||I===Object.prototype)return nz;let d=Y51.get(I);if(d==null)d=QX4(gj1(Object.getPrototypeOf(I)),I),Y51.set(I,d);return d}function fX4(I,d){return new(gj1(Object.getPrototypeOf(d)))(I,d)}function qX4(I){return j9(I).immediateStopped}function RX4(I,d){j9(I).eventPhase=d}function UX4(I,d){j9(I).currentTarget=d}function Xj1(I,d){j9(I).passiveListener=d}var Jj1=new WeakMap,Yj1=1,_j1=2,vh=3;function Eh(I){return I!==null&&typeof I==="object"}function dM(I){let d=Jj1.get(I);if(d==null)throw new TypeError("'this' is expected an EventTarget object, but got another value.");return d}function vX4(I){return{get(){let G=dM(this).get(I);while(G!=null){if(G.listenerType===vh)return G.listener;G=G.next}return null},set(d){if(typeof d!=="function"&&!Eh(d))d=null;let G=dM(this),Z=null,C=G.get(I);while(C!=null){if(C.listenerType===vh)if(Z!==null)Z.next=C.next;else if(C.next!==null)G.set(I,C.next);else G.delete(I);else Z=C;C=C.next}if(d!==null){let W={listener:d,listenerType:vh,passive:!1,once:!1,next:null};if(Z===null)G.set(I,W);else Z.next=W}},configurable:!0,enumerable:!0}}function _51(I,d){Object.defineProperty(I,`on${d}`,vX4(d))}function Dj1(I){function d(){EC.call(this)}d.prototype=Object.create(EC.prototype,{constructor:{value:d,configurable:!0,writable:!0}});for(let G=0;G<I.length;++G)_51(d.prototype,I[G]);return d}function EC(){if(this instanceof EC){Jj1.set(this,new Map);return}if(arguments.length===1&&Array.isArray(arguments[0]))return Dj1(arguments[0]);if(arguments.length>0){let I=new Array(arguments.length);for(let d=0;d<arguments.length;++d)I[d]=arguments[d];return Dj1(I)}throw new TypeError("Cannot call a class as a function")}EC.prototype={addEventListener(I,d,G){if(d==null)return;if(typeof d!=="function"&&!Eh(d))throw new TypeError("'listener' should be a function or an object.");let Z=dM(this),C=Eh(G),w=(C?Boolean(G.capture):Boolean(G))?Yj1:_j1,B={listener:d,listenerType:w,passive:C&&Boolean(G.passive),once:C&&Boolean(G.once),next:null},A=Z.get(I);if(A===void 0){Z.set(I,B);return}let V=null;while(A!=null){if(A.listener===d&&A.listenerType===w)return;V=A,A=A.next}V.next=B},removeEventListener(I,d,G){if(d==null)return;let Z=dM(this),W=(Eh(G)?Boolean(G.capture):Boolean(G))?Yj1:_j1,w=null,B=Z.get(I);while(B!=null){if(B.listener===d&&B.listenerType===W){if(w!==null)w.next=B.next;else if(B.next!==null)Z.set(I,B.next);else Z.delete(I);return}w=B,B=B.next}},dispatchEvent(I){if(I==null||typeof I.type!=="string")throw new TypeError('"event.type" should be a string.');let d=dM(this),G=I.type,Z=d.get(G);if(Z==null)return!0;let C=fX4(this,I),W=null;while(Z!=null){if(Z.once)if(W!==null)W.next=Z.next;else if(Z.next!==null)d.set(G,Z.next);else d.delete(G);else W=Z;if(Xj1(C,Z.passive?Z.listener:null),typeof Z.listener==="function")try{Z.listener.call(this,C)}catch(w){if(typeof console!=="undefined"&&typeof console.error==="function")console.error(w)}else if(Z.listenerType!==vh&&typeof Z.listener.handleEvent==="function")Z.listener.handleEvent(C);if(qX4(C))break;Z=Z.next}return Xj1(C,null),RX4(C,0),UX4(C,null),!C.defaultPrevented}};Object.defineProperty(EC.prototype,"constructor",{value:EC,configurable:!0,writable:!0});if(typeof window!=="undefined"&&typeof window.EventTarget!=="undefined")Object.setPrototypeOf(EC.prototype,window.EventTarget.prototype);Kj1.defineEventAttribute=_51;Kj1.EventTarget=EC;Kj1.default=EC;GM.exports=EC;GM.exports.EventTarget=GM.exports.default=EC;GM.exports.defineEventAttribute=_51});var qj1=Y((fj1,ZM)=>{Object.defineProperty(fj1,"__esModule",{value:!0});var D51=Nj1();class Cg extends D51.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){let I=Mh.get(this);if(typeof I!=="boolean")throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`);return I}}D51.defineEventAttribute(Cg.prototype,"abort");function LX4(){let I=Object.create(Cg.prototype);return D51.EventTarget.call(I),Mh.set(I,!1),I}function yX4(I){if(Mh.get(I)!==!1)return;Mh.set(I,!0),I.dispatchEvent({type:"abort"})}var Mh=new WeakMap;Object.defineProperties(Cg.prototype,{aborted:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Cg.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortSignal"});class Wg{constructor(){Qj1.set(this,LX4())}get signal(){return zj1(this)}abort(){yX4(zj1(this))}}var Qj1=new WeakMap;function zj1(I){let d=Qj1.get(I);if(d==null)throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${I===null?"null":typeof I}`);return d}Object.defineProperties(Wg.prototype,{signal:{enumerable:!0},abort:{enumerable:!0}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol")Object.defineProperty(Wg.prototype,Symbol.toStringTag,{configurable:!0,value:"AbortController"});fj1.AbortController=Wg;fj1.AbortSignal=Cg;fj1.default=Wg;ZM.exports=Wg;ZM.exports.AbortController=ZM.exports.default=Wg;ZM.exports.AbortSignal=Cg});var Ej1=Y((LE9,vj1)=>{/*! node-domexception. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */if(!globalThis.DOMException)try{let{MessageChannel:I}=B1("worker_threads"),d=new I().port1,G=new ArrayBuffer;d.postMessage(G,[G,G])}catch(I){I.constructor.name==="DOMException"&&(globalThis.DOMException=I.constructor)}vj1.exports=globalThis.DOMException});function xX4(I){if(kX4(I)!=="object")return!1;let d=Object.getPrototypeOf(I);if(d===null||d===void 0)return!0;return(d.constructor&&d.constructor.toString())===Object.toString()}var kX4=(I)=>Object.prototype.toString.call(I).slice(8,-1).toLowerCase(),Mj1;var Sj1=Gw(()=>{Mj1=xX4});var uj1={};Kv(uj1,{isFile:()=>I51,fileFromPathSync:()=>rX4,fileFromPath:()=>aX4});import{statSync as cX4,createReadStream as pX4,promises as yj1}from"fs";import{basename as iX4}from"path";function $j1(I,{mtimeMs:d,size:G},Z,C={}){let W;if(Mj1(Z))[C,W]=[Z,void 0];else W=Z;let w=new z51({path:I,size:G,lastModified:d});if(!W)W=w.name;return new Sw([w],W,{...C,lastModified:w.lastModified})}function rX4(I,d,G={}){let Z=cX4(I);return $j1(I,Z,d,G)}async function aX4(I,d,G){let Z=await yj1.stat(I);return $j1(I,Z,d,G)}var Pj1,Lj1=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},rz=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},Ag,VM,nX4="The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.",z51;var Tj1=Gw(()=>{Pj1=J1(Ej1(),1);Nh();Sj1();d51();z51=class z51{constructor(I){Ag.set(this,void 0),VM.set(this,void 0),Lj1(this,Ag,I.path,"f"),Lj1(this,VM,I.start||0,"f"),this.name=iX4(rz(this,Ag,"f")),this.size=I.size,this.lastModified=I.lastModified}slice(I,d){return new z51({path:rz(this,Ag,"f"),lastModified:this.lastModified,size:d-I,start:I})}async*stream(){let{mtimeMs:I}=await yj1.stat(rz(this,Ag,"f"));if(I>this.lastModified)throw new Pj1.default(nX4,"NotReadableError");if(this.size)yield*pX4(rz(this,Ag,"f"),{start:rz(this,VM,"f"),end:rz(this,VM,"f")+this.size-1})}get[(Ag=new WeakMap,VM=new WeakMap,Symbol.toStringTag)](){return"File"}}});var pj1=Y((QM9,Th)=>{Th.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32")Th.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")Th.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var sj1=Y((fM9,ez)=>{var t9=global.process,Xg=function(I){return I&&typeof I==="object"&&typeof I.removeListener==="function"&&typeof I.emit==="function"&&typeof I.reallyExit==="function"&&typeof I.listeners==="function"&&typeof I.kill==="function"&&typeof I.pid==="number"&&typeof I.on==="function"};if(!Xg(t9))ez.exports=function(){return function(){}};else{if(ij1=B1("assert"),sz=pj1(),nj1=/^win/i.test(t9.platform),HM=B1("events"),typeof HM!=="function")HM=HM.EventEmitter;if(t9.__signal_exit_emitter__)X8=t9.__signal_exit_emitter__;else X8=t9.__signal_exit_emitter__=new HM,X8.count=0,X8.emitted={};if(!X8.infinite)X8.setMaxListeners(1/0),X8.infinite=!0;ez.exports=function(I,d){if(!Xg(global.process))return function(){};if(ij1.equal(typeof I,"function","a callback must be provided for exit handler"),oz===!1)v51();var G="exit";if(d&&d.alwaysLast)G="afterexit";var Z=function(){if(X8.removeListener(G,I),X8.listeners("exit").length===0&&X8.listeners("afterexit").length===0)Oh()};return X8.on(G,I),Z},Oh=function I(){if(!oz||!Xg(global.process))return;oz=!1,sz.forEach(function(d){try{t9.removeListener(d,mh[d])}catch(G){}}),t9.emit=lh,t9.reallyExit=E51,X8.count-=1},ez.exports.unload=Oh,Yg=function I(d,G,Z){if(X8.emitted[d])return;X8.emitted[d]=!0,X8.emit(d,G,Z)},mh={},sz.forEach(function(I){mh[I]=function d(){if(!Xg(global.process))return;var G=t9.listeners(I);if(G.length===X8.count){if(Oh(),Yg("exit",null,I),Yg("afterexit",null,I),nj1&&I==="SIGHUP")I="SIGINT";t9.kill(t9.pid,I)}}}),ez.exports.signals=function(){return sz},oz=!1,v51=function I(){if(oz||!Xg(global.process))return;oz=!0,X8.count+=1,sz=sz.filter(function(d){try{return t9.on(d,mh[d]),!0}catch(G){return!1}}),t9.emit=aj1,t9.reallyExit=rj1},ez.exports.load=v51,E51=t9.reallyExit,rj1=function I(d){if(!Xg(global.process))return;t9.exitCode=d||0,Yg("exit",t9.exitCode,null),Yg("afterexit",t9.exitCode,null),E51.call(t9,t9.exitCode)},lh=t9.emit,aj1=function I(d,G){if(d==="exit"&&Xg(global.process)){if(G!==void 0)t9.exitCode=G;var Z=lh.apply(this,arguments);return Yg("exit",t9.exitCode,null),Yg("afterexit",t9.exitCode,null),Z}else return lh.apply(this,arguments)}}var ij1,sz,nj1,HM,X8,Oh,Yg,mh,oz,v51,E51,rj1,lh,aj1});var Vk1=Y((TY4)=>{function P51(I,d){var G=I.length;I.push(d);I:for(;0<G;){var Z=G-1>>>1,C=I[Z];if(0<bh(C,d))I[Z]=d,I[G]=C,G=Z;else break I}}function MC(I){return I.length===0?null:I[0]}function jh(I){if(I.length===0)return null;var d=I[0],G=I.pop();if(G!==d){I[0]=G;I:for(var Z=0,C=I.length,W=C>>>1;Z<W;){var w=2*(Z+1)-1,B=I[w],A=w+1,V=I[A];if(0>bh(B,G))A<C&&0>bh(V,B)?(I[Z]=V,I[A]=G,Z=A):(I[Z]=B,I[w]=G,Z=w);else if(A<C&&0>bh(V,G))I[Z]=V,I[A]=G,Z=A;else break I}}return d}function bh(I,d){var G=I.sortIndex-d.sortIndex;return G!==0?G:I.id-d.id}if(typeof performance==="object"&&typeof performance.now==="function")Ik1=performance,TY4.unstable_now=function(){return Ik1.now()};else S51=Date,dk1=S51.now(),TY4.unstable_now=function(){return S51.now()-dk1};var Ik1,S51,dk1,$w=[],mY=[],uY4=1,CZ=null,v7=3,kh=!1,_g=!1,gM=!1,Ck1=typeof setTimeout==="function"?setTimeout:null,Wk1=typeof clearTimeout==="function"?clearTimeout:null,Gk1=typeof setImmediate!=="undefined"?setImmediate:null;typeof navigator!=="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function $51(I){for(var d=MC(mY);d!==null;){if(d.callback===null)jh(mY);else if(d.startTime<=I)jh(mY),d.sortIndex=d.expirationTime,P51($w,d);else break;d=MC(mY)}}function u51(I){if(gM=!1,$51(I),!_g)if(MC($w)!==null)_g=!0,O51(T51);else{var d=MC(mY);d!==null&&m51(u51,d.startTime-I)}}function T51(I,d){_g=!1,gM&&(gM=!1,Wk1(JM),JM=-1),kh=!0;var G=v7;try{$51(d);for(CZ=MC($w);CZ!==null&&(!(CZ.expirationTime>d)||I&&!Ak1());){var Z=CZ.callback;if(typeof Z==="function"){CZ.callback=null,v7=CZ.priorityLevel;var C=Z(CZ.expirationTime<=d);d=TY4.unstable_now(),typeof C==="function"?CZ.callback=C:CZ===MC($w)&&jh($w),$51(d)}else jh($w);CZ=MC($w)}if(CZ!==null)var W=!0;else{var w=MC(mY);w!==null&&m51(u51,w.startTime-d),W=!1}return W}finally{CZ=null,v7=G,kh=!1}}var xh=!1,hh=null,JM=-1,wk1=5,Bk1=-1;function Ak1(){return TY4.unstable_now()-Bk1<wk1?!1:!0}function L51(){if(hh!==null){var I=TY4.unstable_now();Bk1=I;var d=!0;try{d=hh(!0,I)}finally{d?FM():(xh=!1,hh=null)}}else xh=!1}var FM;if(typeof Gk1==="function")FM=function(){Gk1(L51)};else if(typeof MessageChannel!=="undefined")y51=new MessageChannel,Zk1=y51.port2,y51.port1.onmessage=L51,FM=function(){Zk1.postMessage(null)};else FM=function(){Ck1(L51,0)};var y51,Zk1;function O51(I){hh=I,xh||(xh=!0,FM())}function m51(I,d){JM=Ck1(function(){I(TY4.unstable_now())},d)}TY4.unstable_IdlePriority=5;TY4.unstable_ImmediatePriority=1;TY4.unstable_LowPriority=4;TY4.unstable_NormalPriority=3;TY4.unstable_Profiling=null;TY4.unstable_UserBlockingPriority=2;TY4.unstable_cancelCallback=function(I){I.callback=null};TY4.unstable_continueExecution=function(){_g||kh||(_g=!0,O51(T51))};TY4.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):wk1=0<I?Math.floor(1000/I):5};TY4.unstable_getCurrentPriorityLevel=function(){return v7};TY4.unstable_getFirstCallbackNode=function(){return MC($w)};TY4.unstable_next=function(I){switch(v7){case 1:case 2:case 3:var d=3;break;default:d=v7}var G=v7;v7=d;try{return I()}finally{v7=G}};TY4.unstable_pauseExecution=function(){};TY4.unstable_requestPaint=function(){};TY4.unstable_runWithPriority=function(I,d){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var G=v7;v7=I;try{return d()}finally{v7=G}};TY4.unstable_scheduleCallback=function(I,d,G){var Z=TY4.unstable_now();switch(typeof G==="object"&&G!==null?(G=G.delay,G=typeof G==="number"&&0<G?Z+G:Z):G=Z,I){case 1:var C=-1;break;case 2:C=250;break;case 5:C=1073741823;break;case 4:C=1e4;break;default:C=5000}return C=G+C,I={id:uY4++,callback:d,priorityLevel:I,startTime:G,expirationTime:C,sortIndex:-1},G>Z?(I.sortIndex=G,P51(mY,I),MC($w)===null&&I===MC(mY)&&(gM?(Wk1(JM),JM=-1):gM=!0,m51(u51,G-Z))):(I.sortIndex=C,P51($w,I),_g||kh||(_g=!0,O51(T51))),I};TY4.unstable_shouldYield=Ak1;TY4.unstable_wrapCallback=function(I){var d=v7;return function(){var G=v7;v7=d;try{return I.apply(this,arguments)}finally{v7=G}}}});var Yk1=Y((vM9,Xk1)=>{var l51=J1(u1(),1),i6=J1(Vk1(),1);Xk1.exports=function I(d){var G={},Z=Object.assign;function C(D){for(var H="https://reactjs.org/docs/error-decoder.html?invariant="+D,z=1;z<arguments.length;z++)H+="&args[]="+encodeURIComponent(arguments[z]);return"Minified React error #"+D+"; visit "+H+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var W=l51.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),B=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),X=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),F=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),J=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),E=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var S=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var P=Symbol.iterator;function $(D){if(D===null||typeof D!=="object")return null;return D=P&&D[P]||D["@@iterator"],typeof D==="function"?D:null}function h(D){if(D==null)return null;if(typeof D==="function")return D.displayName||D.name||null;if(typeof D==="string")return D;switch(D){case A:return"Fragment";case B:return"Portal";case X:return"Profiler";case V:return"StrictMode";case J:return"Suspense";case K:return"SuspenseList"}if(typeof D==="object")switch(D.$$typeof){case F:return(D.displayName||"Context")+".Consumer";case _:return(D._context.displayName||"Context")+".Provider";case g:var H=D.render;return D=D.displayName,D||(D=H.displayName||H.name||"",D=D!==""?"ForwardRef("+D+")":"ForwardRef"),D;case Q:return H=D.displayName||null,H!==null?H:h(D.type)||"Memo";case E:H=D._payload,D=D._init;try{return h(D(H))}catch(z){}}return null}function O(D){var H=D.type;switch(D.tag){case 24:return"Cache";case 9:return(H.displayName||"Context")+".Consumer";case 10:return(H._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return D=H.render,D=D.displayName||D.name||"",H.displayName||(D!==""?"ForwardRef("+D+")":"ForwardRef");case 7:return"Fragment";case 5:return H;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return h(H);case 8:return H===V?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof H==="function")return H.displayName||H.name||null;if(typeof H==="string")return H}return null}function T(D){var H=D,z=D;if(D.alternate)for(;H.return;)H=H.return;else{D=H;do H=D,(H.flags&4098)!==0&&(z=H.return),D=H.return;while(D)}return H.tag===3?z:null}function V1(D){if(T(D)!==D)throw Error(C(188))}function c(D){var H=D.alternate;if(!H){if(H=T(D),H===null)throw Error(C(188));return H!==D?null:D}for(var z=D,q=H;;){var M=z.return;if(M===null)break;var y=M.alternate;if(y===null){if(q=M.return,q!==null){z=q;continue}break}if(M.child===y.child){for(y=M.child;y;){if(y===z)return V1(M),D;if(y===q)return V1(M),H;y=y.sibling}throw Error(C(188))}if(z.return!==q.return)z=M,q=y;else{for(var t=!1,$1=M.child;$1;){if($1===z){t=!0,z=M,q=y;break}if($1===q){t=!0,q=M,z=y;break}$1=$1.sibling}if(!t){for($1=y.child;$1;){if($1===z){t=!0,z=y,q=M;break}if($1===q){t=!0,q=y,z=M;break}$1=$1.sibling}if(!t)throw Error(C(189))}}if(z.alternate!==q)throw Error(C(190))}if(z.tag!==3)throw Error(C(188));return z.stateNode.current===z?D:H}function c1(D){return D=c(D),D!==null?o1(D):null}function o1(D){if(D.tag===5||D.tag===6)return D;for(D=D.child;D!==null;){var H=o1(D);if(H!==null)return H;D=D.sibling}return null}function a1(D){if(D.tag===5||D.tag===6)return D;for(D=D.child;D!==null;){if(D.tag!==4){var H=a1(D);if(H!==null)return H}D=D.sibling}return null}var f1=Array.isArray,r=d.getPublicInstance,A1=d.getRootHostContext,m1=d.getChildHostContext,T1=d.prepareForCommit,e1=d.resetAfterCommit,F0=d.createInstance,P0=d.appendInitialChild,B0=d.finalizeInitialChildren,a0=d.prepareUpdate,e=d.shouldSetTextContent,G0=d.createTextInstance,H1=d.scheduleTimeout,j1=d.cancelTimeout,i1=d.noTimeout,E0=d.isPrimaryRenderer,k=d.supportsMutation,a=d.supportsPersistence,Z1=d.supportsHydration,Q1=d.getInstanceFromNode,N1=d.preparePortalMount,F1=d.getCurrentEventPriority,O1=d.detachDeletedInstance,K1=d.supportsMicrotasks,R1=d.scheduleMicrotask,h1=d.supportsTestSelectors,j=d.findFiberRoot,W1=d.getBoundingRect,U1=d.getTextContent,L1=d.isHiddenSubtree,D0=d.matchAccessibilityRole,O0=d.setFocusIfFocusable,k0=d.setupIntersectionObserver,i0=d.appendChild,s0=d.appendChildToContainer,P2=d.commitTextUpdate,a5=d.commitMount,n0=d.commitUpdate,B2=d.insertBefore,A2=d.insertInContainerBefore,B4=d.removeChild,A4=d.removeChildFromContainer,_5=d.resetTextContent,D5=d.hideInstance,tZ=d.hideTextInstance,T6=d.unhideInstance,pB=d.unhideTextInstance,iB=d.clearContainer,X3=d.cloneInstance,Nd=d.createContainerChildSet,IC=d.appendChildToContainerChildSet,Y3=d.finalizeContainerChildren,zd=d.replaceContainerChildren,Qd=d.cloneHiddenInstance,QG=d.cloneHiddenTextInstance,fG=d.canHydrateInstance,X7=d.canHydrateTextInstance,vI=d.canHydrateSuspenseInstance,i7=d.isSuspenseInstancePending,fd=d.isSuspenseInstanceFallback,Y7=d.getSuspenseInstanceFallbackErrorDetails,nB=d.registerSuspenseInstanceRetry,qd=d.getNextHydratableSibling,rB=d.getFirstHydratableChild,PW=d.getFirstHydratableChildWithinContainer,$W=d.getFirstHydratableChildWithinSuspenseInstance,v8=d.hydrateInstance,qG=d.hydrateTextInstance,aB=d.hydrateSuspenseInstance,uW=d.getNextHydratableInstanceAfterSuspenseInstance,Rd=d.commitHydratedContainer,sB=d.commitHydratedSuspenseInstance,TW=d.clearSuspenseBoundary,Ud=d.clearSuspenseBoundaryFromContainer,_7=d.shouldDeleteUnhydratedTailInstances,OW=d.didNotMatchHydratedContainerTextInstance,d1=d.didNotMatchHydratedTextInstance,o;function S1(D){if(o===void 0)try{throw Error()}catch(z){var H=z.stack.trim().match(/\n( *(at )?)/);o=H&&H[1]||""}return`
`+o+D}var p1=!1;function l1(D,H){if(!D||p1)return"";p1=!0;var z=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(H)if(H=function(){throw Error()},Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect==="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(m0){var q=m0}Reflect.construct(D,[],H)}else{try{H.call()}catch(m0){q=m0}D.call(H.prototype)}else{try{throw Error()}catch(m0){q=m0}D()}}catch(m0){if(m0&&q&&typeof m0.stack==="string"){for(var M=m0.stack.split(`
`),y=q.stack.split(`
`),t=M.length-1,$1=y.length-1;1<=t&&0<=$1&&M[t]!==y[$1];)$1--;for(;1<=t&&0<=$1;t--,$1--)if(M[t]!==y[$1]){if(t!==1||$1!==1)do if(t--,$1--,0>$1||M[t]!==y[$1]){var t1=`
`+M[t].replace(" at new "," at ");return D.displayName&&t1.includes("<anonymous>")&&(t1=t1.replace("<anonymous>",D.displayName)),t1}while(1<=t&&0<=$1);break}}}finally{p1=!1,Error.prepareStackTrace=z}return(D=D?D.displayName||D.name:"")?S1(D):""}var s1=Object.prototype.hasOwnProperty,U0=[],w0=-1;function J0(D){return{current:D}}function W0(D){0>w0||(D.current=U0[w0],U0[w0]=null,w0--)}function g0(D,H){w0++,U0[w0]=D.current,D.current=H}var c2={},L2=J0(c2),R2=J0(!1),l=c2;function _1(D,H){var z=D.type.contextTypes;if(!z)return c2;var q=D.stateNode;if(q&&q.__reactInternalMemoizedUnmaskedChildContext===H)return q.__reactInternalMemoizedMaskedChildContext;var M={},y;for(y in z)M[y]=H[y];return q&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=H,D.__reactInternalMemoizedMaskedChildContext=M),M}function I1(D){return D=D.childContextTypes,D!==null&&D!==void 0}function v1(){W0(R2),W0(L2)}function y1(D,H,z){if(L2.current!==c2)throw Error(C(168));g0(L2,H),g0(R2,z)}function E1(D,H,z){var q=D.stateNode;if(H=H.childContextTypes,typeof q.getChildContext!=="function")return z;q=q.getChildContext();for(var M in q)if(!(M in H))throw Error(C(108,O(D)||"Unknown",M));return Z({},z,q)}function Z0(D){return D=(D=D.stateNode)&&D.__reactInternalMemoizedMergedChildContext||c2,l=L2.current,g0(L2,D),g0(R2,R2.current),!0}function Q0(D,H,z){var q=D.stateNode;if(!q)throw Error(C(169));z?(D=E1(D,H,l),q.__reactInternalMemoizedMergedChildContext=D,W0(R2),W0(L2),g0(L2,D)):W0(R2),g0(R2,z)}var N0=Math.clz32?Math.clz32:g2,$0=Math.log,h0=Math.LN2;function g2(D){return D>>>=0,D===0?32:31-($0(D)/h0|0)|0}var F4=64,x4=4194304;function c4(D){switch(D&-D){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return D&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return D&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return D}}function W9(D,H){var z=D.pendingLanes;if(z===0)return 0;var q=0,M=D.suspendedLanes,y=D.pingedLanes,t=z&268435455;if(t!==0){var $1=t&~M;$1!==0?q=c4($1):(y&=t,y!==0&&(q=c4(y)))}else t=z&~M,t!==0?q=c4(t):y!==0&&(q=c4(y));if(q===0)return 0;if(H!==0&&H!==q&&(H&M)===0&&(M=q&-q,y=H&-H,M>=y||M===16&&(y&4194240)!==0))return H;if((q&4)!==0&&(q|=z&16),H=D.entangledLanes,H!==0)for(D=D.entanglements,H&=q;0<H;)z=31-N0(H),M=1<<z,q|=D[z],H&=~M;return q}function u9(D,H){switch(D){case 1:case 2:case 4:return H+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return H+5000;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function e6(D,H){for(var{suspendedLanes:z,pingedLanes:q,expirationTimes:M,pendingLanes:y}=D;0<y;){var t=31-N0(y),$1=1<<t,t1=M[t];if(t1===-1){if(($1&z)===0||($1&q)!==0)M[t]=u9($1,H)}else t1<=H&&(D.expiredLanes|=$1);y&=~$1}}function vd(D){return D=D.pendingLanes&-1073741825,D!==0?D:D&1073741824?1073741824:0}function dC(){var D=F4;return F4<<=1,(F4&4194240)===0&&(F4=64),D}function qX(D){for(var H=[],z=0;31>z;z++)H.push(D);return H}function RG(D,H,z){D.pendingLanes|=H,H!==536870912&&(D.suspendedLanes=0,D.pingedLanes=0),D=D.eventTimes,H=31-N0(H),D[H]=z}function HK(D,H){var z=D.pendingLanes&~H;D.pendingLanes=H,D.suspendedLanes=0,D.pingedLanes=0,D.expiredLanes&=H,D.mutableReadLanes&=H,D.entangledLanes&=H,H=D.entanglements;var q=D.eventTimes;for(D=D.expirationTimes;0<z;){var M=31-N0(z),y=1<<M;H[M]=0,q[M]=-1,D[M]=-1,z&=~y}}function Ed(D,H){var z=D.entangledLanes|=H;for(D=D.entanglements;z;){var q=31-N0(z),M=1<<q;M&H|D[q]&H&&(D[q]|=H),z&=~M}}var $4=0;function oB(D){return D&=-D,1<D?4<D?(D&268435455)!==0?16:536870912:4:1}var E8=i6.unstable_scheduleCallback,eB=i6.unstable_cancelCallback,UG=i6.unstable_shouldYield,tB=i6.unstable_requestPaint,n9=i6.unstable_now,mW=i6.unstable_ImmediatePriority,Md=i6.unstable_UserBlockingPriority,JU=i6.unstable_NormalPriority,FK=i6.unstable_IdlePriority,gK=null,vG=null;function Ze(D){if(vG&&typeof vG.onCommitFiberRoot==="function")try{vG.onCommitFiberRoot(gK,D,void 0,(D.current.flags&128)===128)}catch(H){}}function au(D,H){return D===H&&(D!==0||1/D===1/H)||D!==D&&H!==H}var Sd=typeof Object.is==="function"?Object.is:au,GC=null,JK=!1,KU=!1;function su(D){GC===null?GC=[D]:GC.push(D)}function EG(D){JK=!0,su(D)}function Ld(){if(!KU&&GC!==null){KU=!0;var D=0,H=$4;try{var z=GC;for($4=1;D<z.length;D++){var q=z[D];do q=q(!0);while(q!==null)}GC=null,JK=!1}catch(M){throw GC!==null&&(GC=GC.slice(D+1)),E8(mW,Ld),M}finally{$4=H,KU=!1}}return null}var ZC=[],IA=0,KK=null,NK=0,EI=[],MI=0,CC=null,SI=1,MG="";function lW(D,H){ZC[IA++]=NK,ZC[IA++]=KK,KK=D,NK=H}function ou(D,H,z){EI[MI++]=SI,EI[MI++]=MG,EI[MI++]=CC,CC=D;var q=SI;D=MG;var M=32-N0(q)-1;q&=~(1<<M),z+=1;var y=32-N0(H)+M;if(30<y){var t=M-M%5;y=(q&(1<<t)-1).toString(32),q>>=t,M-=t,SI=1<<32-N0(H)+M|z<<M|q,MG=y+D}else SI=1<<y|z<<M|q,MG=D}function EH(D){D.return!==null&&(lW(D,1),ou(D,1,0))}function zK(D){for(;D===KK;)KK=ZC[--IA],ZC[IA]=null,NK=ZC[--IA],ZC[IA]=null;for(;D===CC;)CC=EI[--MI],EI[MI]=null,MG=EI[--MI],EI[MI]=null,SI=EI[--MI],EI[MI]=null}var O6=null,LI=null,K9=!1,MH=!1,yd=null;function NU(D,H){var z=bI(5,null,null,0);z.elementType="DELETED",z.stateNode=H,z.return=D,H=D.deletions,H===null?(D.deletions=[z],D.flags|=16):H.push(z)}function eu(D,H){switch(D.tag){case 5:return H=fG(H,D.type,D.pendingProps),H!==null?(D.stateNode=H,O6=D,LI=rB(H),!0):!1;case 6:return H=X7(H,D.pendingProps),H!==null?(D.stateNode=H,O6=D,LI=null,!0):!1;case 13:if(H=vI(H),H!==null){var z=CC!==null?{id:SI,overflow:MG}:null;return D.memoizedState={dehydrated:H,treeContext:z,retryLane:1073741824},z=bI(18,null,null,0),z.stateNode=H,z.return=D,D.child=z,O6=D,LI=null,!0}return!1;default:return!1}}function SH(D){return(D.mode&1)!==0&&(D.flags&128)===0}function tu(D){if(K9){var H=LI;if(H){var z=H;if(!eu(D,H)){if(SH(D))throw Error(C(418));H=qd(z);var q=O6;H&&eu(D,H)?NU(q,z):(D.flags=D.flags&-4097|2,K9=!1,O6=D)}}else{if(SH(D))throw Error(C(418));D.flags=D.flags&-4097|2,K9=!1,O6=D}}}function Ce(D){for(D=D.return;D!==null&&D.tag!==5&&D.tag!==3&&D.tag!==13;)D=D.return;O6=D}function dA(D){if(!Z1||D!==O6)return!1;if(!K9)return Ce(D),K9=!0,!1;if(D.tag!==3&&(D.tag!==5||_7(D.type)&&!e(D.type,D.memoizedProps))){var H=LI;if(H){if(SH(D))throw WC(),Error(C(418));for(;H;)NU(D,H),H=qd(H)}}if(Ce(D),D.tag===13){if(!Z1)throw Error(C(316));if(D=D.memoizedState,D=D!==null?D.dehydrated:null,!D)throw Error(C(317));LI=uW(D)}else LI=O6?qd(D.stateNode):null;return!0}function WC(){for(var D=LI;D;)D=qd(D)}function GA(){Z1&&(LI=O6=null,MH=K9=!1)}function IT(D){yd===null?yd=[D]:yd.push(D)}var NN1=W.ReactCurrentBatchConfig;function zU(D,H){if(Sd(D,H))return!0;if(typeof D!=="object"||D===null||typeof H!=="object"||H===null)return!1;var z=Object.keys(D),q=Object.keys(H);if(z.length!==q.length)return!1;for(q=0;q<z.length;q++){var M=z[q];if(!s1.call(H,M)||!Sd(D[M],H[M]))return!1}return!0}function zN1(D){switch(D.tag){case 5:return S1(D.type);case 16:return S1("Lazy");case 13:return S1("Suspense");case 19:return S1("SuspenseList");case 0:case 2:case 15:return D=l1(D.type,!1),D;case 11:return D=l1(D.type.render,!1),D;case 1:return D=l1(D.type,!0),D;default:return""}}function LH(D,H,z){if(D=z.ref,D!==null&&typeof D!=="function"&&typeof D!=="object"){if(z._owner){if(z=z._owner,z){if(z.tag!==1)throw Error(C(309));var q=z.stateNode}if(!q)throw Error(C(147,D));var M=q,y=""+D;if(H!==null&&H.ref!==null&&typeof H.ref==="function"&&H.ref._stringRef===y)return H.ref;return H=function(t){var $1=M.refs;t===null?delete $1[y]:$1[y]=t},H._stringRef=y,H}if(typeof D!=="string")throw Error(C(284));if(!z._owner)throw Error(C(290,D))}return D}function QU(D,H){throw D=Object.prototype.toString.call(H),Error(C(31,D==="[object Object]"?"object with keys {"+Object.keys(H).join(", ")+"}":D))}function We(D){var H=D._init;return H(D._payload)}function we(D){function H(f,U){if(D){var v=f.deletions;v===null?(f.deletions=[U],f.flags|=16):v.push(U)}}function z(f,U){if(!D)return null;for(;U!==null;)H(f,U),U=U.sibling;return null}function q(f,U){for(f=new Map;U!==null;)U.key!==null?f.set(U.key,U):f.set(U.index,U),U=U.sibling;return f}function M(f,U){return f=Z8(f,U),f.index=0,f.sibling=null,f}function y(f,U,v){if(f.index=v,!D)return f.flags|=1048576,U;if(v=f.alternate,v!==null)return v=v.index,v<U?(f.flags|=2,U):v;return f.flags|=2,U}function t(f){return D&&f.alternate===null&&(f.flags|=2),f}function $1(f,U,v,m){if(U===null||U.tag!==6)return U=_A(v,f.mode,m),U.return=f,U;return U=M(U,v),U.return=f,U}function t1(f,U,v,m){var C1=v.type;if(C1===A)return J2(f,U,v.props.children,m,v.key);if(U!==null&&(U.elementType===C1||typeof C1==="object"&&C1!==null&&C1.$$typeof===E&&We(C1)===U.type))return m=M(U,v.props),m.ref=LH(f,U,v),m.return=f,m;return m=wF(v.type,v.key,v.props,null,f.mode,m),m.ref=LH(f,U,v),m.return=f,m}function m0(f,U,v,m){if(U===null||U.tag!==4||U.stateNode.containerInfo!==v.containerInfo||U.stateNode.implementation!==v.implementation)return U=DA(v,f.mode,m),U.return=f,U;return U=M(U,v.children||[]),U.return=f,U}function J2(f,U,v,m,C1){if(U===null||U.tag!==7)return U=hI(v,f.mode,m,C1),U.return=f,U;return U=M(U,v),U.return=f,U}function l2(f,U,v){if(typeof U==="string"&&U!==""||typeof U==="number")return U=_A(""+U,f.mode,v),U.return=f,U;if(typeof U==="object"&&U!==null){switch(U.$$typeof){case w:return v=wF(U.type,U.key,U.props,null,f.mode,v),v.ref=LH(f,null,U),v.return=f,v;case B:return U=DA(U,f.mode,v),U.return=f,U;case E:var m=U._init;return l2(f,m(U._payload),v)}if(f1(U)||$(U))return U=hI(U,f.mode,v,null),U.return=f,U;QU(f,U)}return null}function Z2(f,U,v,m){var C1=U!==null?U.key:null;if(typeof v==="string"&&v!==""||typeof v==="number")return C1!==null?null:$1(f,U,""+v,m);if(typeof v==="object"&&v!==null){switch(v.$$typeof){case w:return v.key===C1?t1(f,U,v,m):null;case B:return v.key===C1?m0(f,U,v,m):null;case E:return C1=v._init,Z2(f,U,C1(v._payload),m)}if(f1(v)||$(v))return C1!==null?null:J2(f,U,v,m,null);QU(f,v)}return null}function L5(f,U,v,m,C1){if(typeof m==="string"&&m!==""||typeof m==="number")return f=f.get(v)||null,$1(U,f,""+m,C1);if(typeof m==="object"&&m!==null){switch(m.$$typeof){case w:return f=f.get(m.key===null?v:m.key)||null,t1(U,f,m,C1);case B:return f=f.get(m.key===null?v:m.key)||null,m0(U,f,m,C1);case E:var w1=m._init;return L5(f,U,v,w1(m._payload),C1)}if(f1(m)||$(m))return f=f.get(v)||null,J2(U,f,m,C1,null);QU(U,m)}return null}function j5(f,U,v,m){for(var C1=null,w1=null,x=U,X1=U=0,q1=null;x!==null&&X1<v.length;X1++){x.index>X1?(q1=x,x=null):q1=x.sibling;var P1=Z2(f,x,v[X1],m);if(P1===null){x===null&&(x=q1);break}D&&x&&P1.alternate===null&&H(f,x),U=y(P1,U,X1),w1===null?C1=P1:w1.sibling=P1,w1=P1,x=q1}if(X1===v.length)return z(f,x),K9&&lW(f,X1),C1;if(x===null){for(;X1<v.length;X1++)x=l2(f,v[X1],m),x!==null&&(U=y(x,U,X1),w1===null?C1=x:w1.sibling=x,w1=x);return K9&&lW(f,X1),C1}for(x=q(f,x);X1<v.length;X1++)q1=L5(x,f,X1,v[X1],m),q1!==null&&(D&&q1.alternate!==null&&x.delete(q1.key===null?X1:q1.key),U=y(q1,U,X1),w1===null?C1=q1:w1.sibling=q1,w1=q1);return D&&x.forEach(function(b1){return H(f,b1)}),K9&&lW(f,X1),C1}function N(f,U,v,m){var C1=$(v);if(typeof C1!=="function")throw Error(C(150));if(v=C1.call(v),v==null)throw Error(C(151));for(var w1=C1=null,x=U,X1=U=0,q1=null,P1=v.next();x!==null&&!P1.done;X1++,P1=v.next()){x.index>X1?(q1=x,x=null):q1=x.sibling;var b1=Z2(f,x,P1.value,m);if(b1===null){x===null&&(x=q1);break}D&&x&&b1.alternate===null&&H(f,x),U=y(b1,U,X1),w1===null?C1=b1:w1.sibling=b1,w1=b1,x=q1}if(P1.done)return z(f,x),K9&&lW(f,X1),C1;if(x===null){for(;!P1.done;X1++,P1=v.next())P1=l2(f,P1.value,m),P1!==null&&(U=y(P1,U,X1),w1===null?C1=P1:w1.sibling=P1,w1=P1);return K9&&lW(f,X1),C1}for(x=q(f,x);!P1.done;X1++,P1=v.next())P1=L5(x,f,X1,P1.value,m),P1!==null&&(D&&P1.alternate!==null&&x.delete(P1.key===null?X1:P1.key),U=y(P1,U,X1),w1===null?C1=P1:w1.sibling=P1,w1=P1);return D&&x.forEach(function(f0){return H(f,f0)}),K9&&lW(f,X1),C1}function R(f,U,v,m){if(typeof v==="object"&&v!==null&&v.type===A&&v.key===null&&(v=v.props.children),typeof v==="object"&&v!==null){switch(v.$$typeof){case w:I:{for(var C1=v.key,w1=U;w1!==null;){if(w1.key===C1){if(C1=v.type,C1===A){if(w1.tag===7){z(f,w1.sibling),U=M(w1,v.props.children),U.return=f,f=U;break I}}else if(w1.elementType===C1||typeof C1==="object"&&C1!==null&&C1.$$typeof===E&&We(C1)===w1.type){z(f,w1.sibling),U=M(w1,v.props),U.ref=LH(f,w1,v),U.return=f,f=U;break I}z(f,w1);break}else H(f,w1);w1=w1.sibling}v.type===A?(U=hI(v.props.children,f.mode,m,v.key),U.return=f,f=U):(m=wF(v.type,v.key,v.props,null,f.mode,m),m.ref=LH(f,U,v),m.return=f,f=m)}return t(f);case B:I:{for(w1=v.key;U!==null;){if(U.key===w1)if(U.tag===4&&U.stateNode.containerInfo===v.containerInfo&&U.stateNode.implementation===v.implementation){z(f,U.sibling),U=M(U,v.children||[]),U.return=f,f=U;break I}else{z(f,U);break}else H(f,U);U=U.sibling}U=DA(v,f.mode,m),U.return=f,f=U}return t(f);case E:return w1=v._init,R(f,U,w1(v._payload),m)}if(f1(v))return j5(f,U,v,m);if($(v))return N(f,U,v,m);QU(f,v)}return typeof v==="string"&&v!==""||typeof v==="number"?(v=""+v,U!==null&&U.tag===6?(z(f,U.sibling),U=M(U,v),U.return=f,f=U):(z(f,U),U=_A(v,f.mode,m),U.return=f,f=U),t(f)):z(f,U)}return R}var M8=we(!0),yH=we(!1),ZA=J0(null),CA=null,WA=null,QK=null;function wA(){QK=WA=CA=null}function yI(D,H,z){E0?(g0(ZA,H._currentValue),H._currentValue=z):(g0(ZA,H._currentValue2),H._currentValue2=z)}function z5(D){var H=ZA.current;W0(ZA),E0?D._currentValue=H:D._currentValue2=H}function fU(D,H,z){for(;D!==null;){var q=D.alternate;if((D.childLanes&H)!==H?(D.childLanes|=H,q!==null&&(q.childLanes|=H)):q!==null&&(q.childLanes&H)!==H&&(q.childLanes|=H),D===z)break;D=D.return}}function BA(D,H){CA=D,QK=WA=null,D=D.dependencies,D!==null&&D.firstContext!==null&&((D.lanes&H)!==0&&(y8=!0),D.firstContext=null)}function PI(D){var H=E0?D._currentValue:D._currentValue2;if(QK!==D)if(D={context:D,memoizedValue:H,next:null},WA===null){if(CA===null)throw Error(C(308));WA=D,CA.dependencies={lanes:0,firstContext:D}}else WA=WA.next=D;return H}var S8=null;function H5(D){S8===null?S8=[D]:S8.push(D)}function PH(D,H,z,q){var M=H.interleaved;return M===null?(z.next=z,H5(H)):(z.next=M.next,M.next=z),H.interleaved=z,n7(D,q)}function n7(D,H){D.lanes|=H;var z=D.alternate;z!==null&&(z.lanes|=H),z=D;for(D=D.return;D!==null;)D.childLanes|=H,z=D.alternate,z!==null&&(z.childLanes|=H),z=D,D=D.return;return z.tag===3?z.stateNode:null}var $I=!1;function dT(D){D.updateQueue={baseState:D.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Be(D,H){D=D.updateQueue,H.updateQueue===D&&(H.updateQueue={baseState:D.baseState,firstBaseUpdate:D.firstBaseUpdate,lastBaseUpdate:D.lastBaseUpdate,shared:D.shared,effects:D.effects})}function SG(D,H){return{eventTime:D,lane:H,tag:0,payload:null,callback:null,next:null}}function bW(D,H,z){var q=D.updateQueue;if(q===null)return null;if(q=q.shared,(E4&2)!==0){var M=q.pending;return M===null?H.next=H:(H.next=M.next,M.next=H),q.pending=H,n7(D,z)}return M=q.interleaved,M===null?(H.next=H,H5(q)):(H.next=M.next,M.next=H),q.interleaved=H,n7(D,z)}function fK(D,H,z){if(H=H.updateQueue,H!==null&&(H=H.shared,(z&4194240)!==0)){var q=H.lanes;q&=D.pendingLanes,z|=q,H.lanes=z,Ed(D,z)}}function wC(D,H){var{updateQueue:z,alternate:q}=D;if(q!==null&&(q=q.updateQueue,z===q)){var M=null,y=null;if(z=z.firstBaseUpdate,z!==null){do{var t={eventTime:z.eventTime,lane:z.lane,tag:z.tag,payload:z.payload,callback:z.callback,next:null};y===null?M=y=t:y=y.next=t,z=z.next}while(z!==null);y===null?M=y=H:y=y.next=H}else M=y=H;z={baseState:q.baseState,firstBaseUpdate:M,lastBaseUpdate:y,shared:q.shared,effects:q.effects},D.updateQueue=z;return}D=z.lastBaseUpdate,D===null?z.firstBaseUpdate=H:D.next=H,z.lastBaseUpdate=H}function $H(D,H,z,q){var M=D.updateQueue;$I=!1;var{firstBaseUpdate:y,lastBaseUpdate:t}=M,$1=M.shared.pending;if($1!==null){M.shared.pending=null;var t1=$1,m0=t1.next;t1.next=null,t===null?y=m0:t.next=m0,t=t1;var J2=D.alternate;J2!==null&&(J2=J2.updateQueue,$1=J2.lastBaseUpdate,$1!==t&&($1===null?J2.firstBaseUpdate=m0:$1.next=m0,J2.lastBaseUpdate=t1))}if(y!==null){var l2=M.baseState;t=0,J2=m0=t1=null,$1=y;do{var{lane:Z2,eventTime:L5}=$1;if((q&Z2)===Z2){J2!==null&&(J2=J2.next={eventTime:L5,lane:0,tag:$1.tag,payload:$1.payload,callback:$1.callback,next:null});I:{var j5=D,N=$1;switch(Z2=H,L5=z,N.tag){case 1:if(j5=N.payload,typeof j5==="function"){l2=j5.call(L5,l2,Z2);break I}l2=j5;break I;case 3:j5.flags=j5.flags&-65537|128;case 0:if(j5=N.payload,Z2=typeof j5==="function"?j5.call(L5,l2,Z2):j5,Z2===null||Z2===void 0)break I;l2=Z({},l2,Z2);break I;case 2:$I=!0}}$1.callback!==null&&$1.lane!==0&&(D.flags|=64,Z2=M.effects,Z2===null?M.effects=[$1]:Z2.push($1))}else L5={eventTime:L5,lane:Z2,tag:$1.tag,payload:$1.payload,callback:$1.callback,next:null},J2===null?(m0=J2=L5,t1=l2):J2=J2.next=L5,t|=Z2;if($1=$1.next,$1===null)if($1=M.shared.pending,$1===null)break;else Z2=$1,$1=Z2.next,Z2.next=null,M.lastBaseUpdate=Z2,M.shared.pending=null}while(1);if(J2===null&&(t1=l2),M.baseState=t1,M.firstBaseUpdate=m0,M.lastBaseUpdate=J2,H=M.shared.interleaved,H!==null){M=H;do t|=M.lane,M=M.next;while(M!==H)}else y===null&&(M.shared.lanes=0);XA|=t,D.lanes=t,D.memoizedState=l2}}function GT(D,H,z){if(D=H.effects,H.effects=null,D!==null)for(H=0;H<D.length;H++){var q=D[H],M=q.callback;if(M!==null){if(q.callback=null,q=z,typeof M!=="function")throw Error(C(191,M));M.call(q)}}}var uH={},uI=J0(uH),TH=J0(uH),hW=J0(uH);function D7(D){if(D===uH)throw Error(C(174));return D}function qK(D,H){g0(hW,H),g0(TH,D),g0(uI,uH),D=A1(H),W0(uI),g0(uI,D)}function jW(){W0(uI),W0(TH),W0(hW)}function ZT(D){var H=D7(hW.current),z=D7(uI.current);H=m1(z,D.type,H),z!==H&&(g0(TH,D),g0(uI,H))}function qU(D){TH.current===D&&(W0(uI),W0(TH))}var T9=J0(0);function Pd(D){for(var H=D;H!==null;){if(H.tag===13){var z=H.memoizedState;if(z!==null&&(z=z.dehydrated,z===null||i7(z)||fd(z)))return H}else if(H.tag===19&&H.memoizedProps.revealOrder!==void 0){if((H.flags&128)!==0)return H}else if(H.child!==null){H.child.return=H,H=H.child;continue}if(H===D)break;for(;H.sibling===null;){if(H.return===null||H.return===D)return null;H=H.return}H.sibling.return=H.return,H=H.sibling}return null}var OH=[];function mH(){for(var D=0;D<OH.length;D++){var H=OH[D];E0?H._workInProgressVersionPrimary=null:H._workInProgressVersionSecondary=null}OH.length=0}var{ReactCurrentDispatcher:RX,ReactCurrentBatchConfig:RU}=W,kW=0,O9=null,P3=null,A6=null,lH=!1,$d=!1,bH=0,UU=0;function V6(){throw Error(C(321))}function hH(D,H){if(H===null)return!1;for(var z=0;z<H.length&&z<D.length;z++)if(!Sd(D[z],H[z]))return!1;return!0}function jH(D,H,z,q,M,y){if(kW=y,O9=H,H.memoizedState=null,H.updateQueue=null,H.lanes=0,RX.current=D===null||D.memoizedState===null?Ke:Ne,D=z(q,M),$d){y=0;do{if($d=!1,bH=0,25<=y)throw Error(C(301));y+=1,A6=P3=null,H.updateQueue=null,RX.current=MU,D=z(q,M)}while($d)}if(RX.current=SK,H=P3!==null&&P3.next!==null,kW=0,A6=P3=O9=null,lH=!1,H)throw Error(C(300));return D}function vU(){var D=bH!==0;return bH=0,D}function TI(){var D={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return A6===null?O9.memoizedState=A6=D:A6=A6.next=D,A6}function ud(){if(P3===null){var D=O9.alternate;D=D!==null?D.memoizedState:null}else D=P3.next;var H=A6===null?O9.memoizedState:A6.next;if(H!==null)A6=H,P3=D;else{if(D===null)throw Error(C(310));P3=D,D={memoizedState:P3.memoizedState,baseState:P3.baseState,baseQueue:P3.baseQueue,queue:P3.queue,next:null},A6===null?O9.memoizedState=A6=D:A6=A6.next=D}return A6}function RK(D,H){return typeof H==="function"?H(D):H}function CT(D){var H=ud(),z=H.queue;if(z===null)throw Error(C(311));z.lastRenderedReducer=D;var q=P3,M=q.baseQueue,y=z.pending;if(y!==null){if(M!==null){var t=M.next;M.next=y.next,y.next=t}q.baseQueue=M=y,z.pending=null}if(M!==null){y=M.next,q=q.baseState;var $1=t=null,t1=null,m0=y;do{var J2=m0.lane;if((kW&J2)===J2)t1!==null&&(t1=t1.next={lane:0,action:m0.action,hasEagerState:m0.hasEagerState,eagerState:m0.eagerState,next:null}),q=m0.hasEagerState?m0.eagerState:D(q,m0.action);else{var l2={lane:J2,action:m0.action,hasEagerState:m0.hasEagerState,eagerState:m0.eagerState,next:null};t1===null?($1=t1=l2,t=q):t1=t1.next=l2,O9.lanes|=J2,XA|=J2}m0=m0.next}while(m0!==null&&m0!==y);t1===null?t=q:t1.next=$1,Sd(q,H.memoizedState)||(y8=!0),H.memoizedState=q,H.baseState=t,H.baseQueue=t1,z.lastRenderedState=q}if(D=z.interleaved,D!==null){M=D;do y=M.lane,O9.lanes|=y,XA|=y,M=M.next;while(M!==D)}else M===null&&(z.lanes=0);return[H.memoizedState,z.dispatch]}function WT(D){var H=ud(),z=H.queue;if(z===null)throw Error(C(311));z.lastRenderedReducer=D;var{dispatch:q,pending:M}=z,y=H.memoizedState;if(M!==null){z.pending=null;var t=M=M.next;do y=D(y,t.action),t=t.next;while(t!==M);Sd(y,H.memoizedState)||(y8=!0),H.memoizedState=y,H.baseQueue===null&&(H.baseState=y),z.lastRenderedState=y}return[y,q]}function wT(){}function BT(D,H){var z=O9,q=ud(),M=H(),y=!Sd(q.memoizedState,M);if(y&&(q.memoizedState=M,y8=!0),q=q.queue,cH(Xe.bind(null,z,q,D),[D]),q.getSnapshot!==H||y||A6!==null&&A6.memoizedState.tag&1){if(z.flags|=2048,UK(9,Ve.bind(null,z,q,M,H),void 0,null),o3===null)throw Error(C(349));(kW&30)!==0||Ae(z,H,M)}return M}function Ae(D,H,z){D.flags|=16384,D={getSnapshot:H,value:z},H=O9.updateQueue,H===null?(H={lastEffect:null,stores:null},O9.updateQueue=H,H.stores=[D]):(z=H.stores,z===null?H.stores=[D]:z.push(D))}function Ve(D,H,z,q){H.value=z,H.getSnapshot=q,Ye(H)&&AT(D)}function Xe(D,H,z){return z(function(){Ye(H)&&AT(D)})}function Ye(D){var H=D.getSnapshot;D=D.value;try{var z=H();return!Sd(D,z)}catch(q){return!0}}function AT(D){var H=n7(D,1);H!==null&&e3(H,D,1,-1)}function VT(D){var H=TI();return typeof D==="function"&&(D=D()),H.memoizedState=H.baseState=D,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:RK,lastRenderedState:D},H.queue=D,D=D.dispatch=ge.bind(null,O9,D),[H.memoizedState,D]}function UK(D,H,z,q){return D={tag:D,create:H,destroy:z,deps:q,next:null},H=O9.updateQueue,H===null?(H={lastEffect:null,stores:null},O9.updateQueue=H,H.lastEffect=D.next=D):(z=H.lastEffect,z===null?H.lastEffect=D.next=D:(q=z.next,z.next=D,D.next=q,H.lastEffect=D)),D}function _e(){return ud().memoizedState}function kH(D,H,z,q){var M=TI();O9.flags|=D,M.memoizedState=UK(1|H,z,void 0,q===void 0?null:q)}function xH(D,H,z,q){var M=ud();q=q===void 0?null:q;var y=void 0;if(P3!==null){var t=P3.memoizedState;if(y=t.destroy,q!==null&&hH(q,t.deps)){M.memoizedState=UK(H,z,y,q);return}}O9.flags|=D,M.memoizedState=UK(1|H,z,y,q)}function vK(D,H){return kH(8390656,8,D,H)}function cH(D,H){return xH(2048,8,D,H)}function XT(D,H){return xH(4,2,D,H)}function YT(D,H){return xH(4,4,D,H)}function EK(D,H){if(typeof H==="function")return D=D(),H(D),function(){H(null)};if(H!==null&&H!==void 0)return D=D(),H.current=D,function(){H.current=null}}function MK(D,H,z){return z=z!==null&&z!==void 0?z.concat([D]):null,xH(4,4,EK.bind(null,H,D),z)}function _T(){}function De(D,H){var z=ud();H=H===void 0?null:H;var q=z.memoizedState;if(q!==null&&H!==null&&hH(H,q[1]))return q[0];return z.memoizedState=[D,H],D}function He(D,H){var z=ud();H=H===void 0?null:H;var q=z.memoizedState;if(q!==null&&H!==null&&hH(H,q[1]))return q[0];return D=D(),z.memoizedState=[D,H],D}function Fe(D,H,z){if((kW&21)===0)return D.baseState&&(D.baseState=!1,y8=!0),D.memoizedState=z;return Sd(z,H)||(z=dC(),O9.lanes|=z,XA|=z,D.baseState=!0),H}function QN1(D,H){var z=$4;$4=z!==0&&4>z?z:4,D(!0);var q=RU.transition;RU.transition={};try{D(!1),H()}finally{$4=z,RU.transition=q}}function EU(){return ud().memoizedState}function fN1(D,H,z){var q=rW(D);if(z={lane:q,action:z,hasEagerState:!1,eagerState:null,next:null},Je(D))DT(H,z);else if(z=PH(D,H,z,q),z!==null){var M=G8();e3(z,D,q,M),HT(z,H,q)}}function ge(D,H,z){var q=rW(D),M={lane:q,action:z,hasEagerState:!1,eagerState:null,next:null};if(Je(D))DT(H,M);else{var y=D.alternate;if(D.lanes===0&&(y===null||y.lanes===0)&&(y=H.lastRenderedReducer,y!==null))try{var t=H.lastRenderedState,$1=y(t,z);if(M.hasEagerState=!0,M.eagerState=$1,Sd($1,t)){var t1=H.interleaved;t1===null?(M.next=M,H5(H)):(M.next=t1.next,t1.next=M),H.interleaved=M;return}}catch(m0){}finally{}z=PH(D,H,M,q),z!==null&&(M=G8(),e3(z,D,q,M),HT(z,H,q))}}function Je(D){var H=D.alternate;return D===O9||H!==null&&H===O9}function DT(D,H){$d=lH=!0;var z=D.pending;z===null?H.next=H:(H.next=z.next,z.next=H),D.pending=H}function HT(D,H,z){if((z&4194240)!==0){var q=H.lanes;q&=D.pendingLanes,z|=q,H.lanes=z,Ed(D,z)}}var SK={readContext:PI,useCallback:V6,useContext:V6,useEffect:V6,useImperativeHandle:V6,useInsertionEffect:V6,useLayoutEffect:V6,useMemo:V6,useReducer:V6,useRef:V6,useState:V6,useDebugValue:V6,useDeferredValue:V6,useTransition:V6,useMutableSource:V6,useSyncExternalStore:V6,useId:V6,unstable_isNewReconciler:!1},Ke={readContext:PI,useCallback:function(D,H){return TI().memoizedState=[D,H===void 0?null:H],D},useContext:PI,useEffect:vK,useImperativeHandle:function(D,H,z){return z=z!==null&&z!==void 0?z.concat([D]):null,kH(4194308,4,EK.bind(null,H,D),z)},useLayoutEffect:function(D,H){return kH(4194308,4,D,H)},useInsertionEffect:function(D,H){return kH(4,2,D,H)},useMemo:function(D,H){var z=TI();return H=H===void 0?null:H,D=D(),z.memoizedState=[D,H],D},useReducer:function(D,H,z){var q=TI();return H=z!==void 0?z(H):H,q.memoizedState=q.baseState=H,D={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:D,lastRenderedState:H},q.queue=D,D=D.dispatch=fN1.bind(null,O9,D),[q.memoizedState,D]},useRef:function(D){var H=TI();return D={current:D},H.memoizedState=D},useState:VT,useDebugValue:_T,useDeferredValue:function(D){return TI().memoizedState=D},useTransition:function(){var D=VT(!1),H=D[0];return D=QN1.bind(null,D[1]),TI().memoizedState=D,[H,D]},useMutableSource:function(){},useSyncExternalStore:function(D,H,z){var q=O9,M=TI();if(K9){if(z===void 0)throw Error(C(407));z=z()}else{if(z=H(),o3===null)throw Error(C(349));(kW&30)!==0||Ae(q,H,z)}M.memoizedState=z;var y={value:z,getSnapshot:H};return M.queue=y,vK(Xe.bind(null,q,y,D),[D]),q.flags|=2048,UK(9,Ve.bind(null,q,y,z,H),void 0,null),z},useId:function(){var D=TI(),H=o3.identifierPrefix;if(K9){var z=MG,q=SI;z=(q&~(1<<32-N0(q)-1)).toString(32)+z,H=":"+H+"R"+z,z=bH++,0<z&&(H+="H"+z.toString(32)),H+=":"}else z=UU++,H=":"+H+"r"+z.toString(32)+":";return D.memoizedState=H},unstable_isNewReconciler:!1},Ne={readContext:PI,useCallback:De,useContext:PI,useEffect:cH,useImperativeHandle:MK,useInsertionEffect:XT,useLayoutEffect:YT,useMemo:He,useReducer:CT,useRef:_e,useState:function(){return CT(RK)},useDebugValue:_T,useDeferredValue:function(D){var H=ud();return Fe(H,P3.memoizedState,D)},useTransition:function(){var D=CT(RK)[0],H=ud().memoizedState;return[D,H]},useMutableSource:wT,useSyncExternalStore:BT,useId:EU,unstable_isNewReconciler:!1},MU={readContext:PI,useCallback:De,useContext:PI,useEffect:cH,useImperativeHandle:MK,useInsertionEffect:XT,useLayoutEffect:YT,useMemo:He,useReducer:WT,useRef:_e,useState:function(){return WT(RK)},useDebugValue:_T,useDeferredValue:function(D){var H=ud();return P3===null?H.memoizedState=D:Fe(H,P3.memoizedState,D)},useTransition:function(){var D=WT(RK)[0],H=ud().memoizedState;return[D,H]},useMutableSource:wT,useSyncExternalStore:BT,useId:EU,unstable_isNewReconciler:!1};function Td(D,H){if(D&&D.defaultProps){H=Z({},H),D=D.defaultProps;for(var z in D)H[z]===void 0&&(H[z]=D[z]);return H}return H}function pH(D,H,z,q){H=D.memoizedState,z=z(q,H),z=z===null||z===void 0?H:Z({},H,z),D.memoizedState=z,D.lanes===0&&(D.updateQueue.baseState=z)}var iH={isMounted:function(D){return(D=D._reactInternals)?T(D)===D:!1},enqueueSetState:function(D,H,z){D=D._reactInternals;var q=G8(),M=rW(D),y=SG(q,M);y.payload=H,z!==void 0&&z!==null&&(y.callback=z),H=bW(D,y,M),H!==null&&(e3(H,D,M,q),fK(H,D,M))},enqueueReplaceState:function(D,H,z){D=D._reactInternals;var q=G8(),M=rW(D),y=SG(q,M);y.tag=1,y.payload=H,z!==void 0&&z!==null&&(y.callback=z),H=bW(D,y,M),H!==null&&(e3(H,D,M,q),fK(H,D,M))},enqueueForceUpdate:function(D,H){D=D._reactInternals;var z=G8(),q=rW(D),M=SG(z,q);M.tag=2,H!==void 0&&H!==null&&(M.callback=H),H=bW(D,M,q),H!==null&&(e3(H,D,q,z),fK(H,D,q))}};function FT(D,H,z,q,M,y,t){return D=D.stateNode,typeof D.shouldComponentUpdate==="function"?D.shouldComponentUpdate(q,y,t):H.prototype&&H.prototype.isPureReactComponent?!zU(z,q)||!zU(M,y):!0}function ze(D,H,z){var q=!1,M=c2,y=H.contextType;return typeof y==="object"&&y!==null?y=PI(y):(M=I1(H)?l:L2.current,q=H.contextTypes,y=(q=q!==null&&q!==void 0)?_1(D,M):c2),H=new H(z,y),D.memoizedState=H.state!==null&&H.state!==void 0?H.state:null,H.updater=iH,D.stateNode=H,H._reactInternals=D,q&&(D=D.stateNode,D.__reactInternalMemoizedUnmaskedChildContext=M,D.__reactInternalMemoizedMaskedChildContext=y),H}function Qe(D,H,z,q){D=H.state,typeof H.componentWillReceiveProps==="function"&&H.componentWillReceiveProps(z,q),typeof H.UNSAFE_componentWillReceiveProps==="function"&&H.UNSAFE_componentWillReceiveProps(z,q),H.state!==D&&iH.enqueueReplaceState(H,H.state,null)}function gT(D,H,z,q){var M=D.stateNode;M.props=z,M.state=D.memoizedState,M.refs={},dT(D);var y=H.contextType;typeof y==="object"&&y!==null?M.context=PI(y):(y=I1(H)?l:L2.current,M.context=_1(D,y)),M.state=D.memoizedState,y=H.getDerivedStateFromProps,typeof y==="function"&&(pH(D,H,y,z),M.state=D.memoizedState),typeof H.getDerivedStateFromProps==="function"||typeof M.getSnapshotBeforeUpdate==="function"||typeof M.UNSAFE_componentWillMount!=="function"&&typeof M.componentWillMount!=="function"||(H=M.state,typeof M.componentWillMount==="function"&&M.componentWillMount(),typeof M.UNSAFE_componentWillMount==="function"&&M.UNSAFE_componentWillMount(),H!==M.state&&iH.enqueueReplaceState(M,M.state,null),$H(D,z,M,q),M.state=D.memoizedState),typeof M.componentDidMount==="function"&&(D.flags|=4194308)}function AA(D,H){try{var z="",q=H;do z+=zN1(q),q=q.return;while(q);var M=z}catch(y){M=`
Error generating stack: `+y.message+`
`+y.stack}return{value:D,source:H,stack:M,digest:null}}function JT(D,H,z){return{value:D,source:null,stack:z!=null?z:null,digest:H!=null?H:null}}function KT(D,H){try{console.error(H.value)}catch(z){setTimeout(function(){throw z})}}var NT=typeof WeakMap==="function"?WeakMap:Map;function zT(D,H,z){z=SG(-1,z),z.tag=3,z.payload={element:null};var q=H.value;return z.callback=function(){hK||(hK=!0,eU=q),KT(D,H)},z}function fe(D,H,z){z=SG(-1,z),z.tag=3;var q=D.type.getDerivedStateFromError;if(typeof q==="function"){var M=H.value;z.payload=function(){return q(M)},z.callback=function(){KT(D,H)}}var y=D.stateNode;return y!==null&&typeof y.componentDidCatch==="function"&&(z.callback=function(){KT(D,H),typeof q!=="function"&&(nW===null?nW=new Set([this]):nW.add(this));var t=H.stack;this.componentDidCatch(H.value,{componentStack:t!==null?t:""})}),z}function SU(D,H,z){var q=D.pingCache;if(q===null){q=D.pingCache=new NT;var M=new Set;q.set(H,M)}else M=q.get(H),M===void 0&&(M=new Set,q.set(H,M));M.has(z)||(M.add(z),D=Zv.bind(null,D,H,z),H.then(D,D))}function L8(D){do{var H;if(H=D.tag===13)H=D.memoizedState,H=H!==null?H.dehydrated!==null?!0:!1:!0;if(H)return D;D=D.return}while(D!==null);return null}function QT(D,H,z,q,M){if((D.mode&1)===0)return D===H?D.flags|=65536:(D.flags|=128,z.flags|=131072,z.flags&=-52805,z.tag===1&&(z.alternate===null?z.tag=17:(H=SG(-1,1),H.tag=2,bW(z,H,1))),z.lanes|=1),D;return D.flags|=65536,D.lanes=M,D}var nH=W.ReactCurrentOwner,y8=!1;function t6(D,H,z,q){H.child=D===null?yH(H,null,z,q):M8(H,D.child,z,q)}function LU(D,H,z,q,M){z=z.render;var y=H.ref;if(BA(H,M),q=jH(D,H,z,q,y,M),z=vU(),D!==null&&!y8)return H.updateQueue=D.updateQueue,H.flags&=-2053,D.lanes&=~M,BC(D,H,M);return K9&&z&&EH(H),H.flags|=1,t6(D,H,q,M),H.child}function yU(D,H,z,q,M){if(D===null){var y=z.type;if(typeof y==="function"&&!Cv(y)&&y.defaultProps===void 0&&z.compare===null&&z.defaultProps===void 0)return H.tag=15,H.type=y,PU(D,H,y,q,M);return D=wF(z.type,null,q,H,H.mode,M),D.ref=H.ref,D.return=H,H.child=D}if(y=D.child,(D.lanes&M)===0){var t=y.memoizedProps;if(z=z.compare,z=z!==null?z:zU,z(t,q)&&D.ref===H.ref)return BC(D,H,M)}return H.flags|=1,D=Z8(y,q),D.ref=H.ref,D.return=H,H.child=D}function PU(D,H,z,q,M){if(D!==null){var y=D.memoizedProps;if(zU(y,q)&&D.ref===H.ref)if(y8=!1,H.pendingProps=q=y,(D.lanes&M)!==0)(D.flags&131072)!==0&&(y8=!0);else return H.lanes=D.lanes,BC(D,H,M)}return LK(D,H,z,q,M)}function $U(D,H,z){var q=H.pendingProps,M=q.children,y=D!==null?D.memoizedState:null;if(q.mode==="hidden")if((H.mode&1)===0)H.memoizedState={baseLanes:0,cachePool:null,transitions:null},g0(VA,mI),mI|=z;else{if((z&1073741824)===0)return D=y!==null?y.baseLanes|z:z,H.lanes=H.childLanes=1073741824,H.memoizedState={baseLanes:D,cachePool:null,transitions:null},H.updateQueue=null,g0(VA,mI),mI|=D,null;H.memoizedState={baseLanes:0,cachePool:null,transitions:null},q=y!==null?y.baseLanes:z,g0(VA,mI),mI|=q}else y!==null?(q=y.baseLanes|z,H.memoizedState=null):q=z,g0(VA,mI),mI|=q;return t6(D,H,M,z),H.child}function uU(D,H){var z=H.ref;if(D===null&&z!==null||D!==null&&D.ref!==z)H.flags|=512,H.flags|=2097152}function LK(D,H,z,q,M){var y=I1(z)?l:L2.current;if(y=_1(H,y),BA(H,M),z=jH(D,H,z,q,y,M),q=vU(),D!==null&&!y8)return H.updateQueue=D.updateQueue,H.flags&=-2053,D.lanes&=~M,BC(D,H,M);return K9&&q&&EH(H),H.flags|=1,t6(D,H,z,M),H.child}function fT(D,H,z,q,M){if(I1(z)){var y=!0;Z0(H)}else y=!1;if(BA(H,M),H.stateNode===null)aH(D,H),ze(H,z,q),gT(H,z,q,M),q=!0;else if(D===null){var{stateNode:t,memoizedProps:$1}=H;t.props=$1;var t1=t.context,m0=z.contextType;typeof m0==="object"&&m0!==null?m0=PI(m0):(m0=I1(z)?l:L2.current,m0=_1(H,m0));var J2=z.getDerivedStateFromProps,l2=typeof J2==="function"||typeof t.getSnapshotBeforeUpdate==="function";l2||typeof t.UNSAFE_componentWillReceiveProps!=="function"&&typeof t.componentWillReceiveProps!=="function"||($1!==q||t1!==m0)&&Qe(H,t,q,m0),$I=!1;var Z2=H.memoizedState;t.state=Z2,$H(H,q,t,M),t1=H.memoizedState,$1!==q||Z2!==t1||R2.current||$I?(typeof J2==="function"&&(pH(H,z,J2,q),t1=H.memoizedState),($1=$I||FT(H,z,$1,q,Z2,t1,m0))?(l2||typeof t.UNSAFE_componentWillMount!=="function"&&typeof t.componentWillMount!=="function"||(typeof t.componentWillMount==="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount==="function"&&t.UNSAFE_componentWillMount()),typeof t.componentDidMount==="function"&&(H.flags|=4194308)):(typeof t.componentDidMount==="function"&&(H.flags|=4194308),H.memoizedProps=q,H.memoizedState=t1),t.props=q,t.state=t1,t.context=m0,q=$1):(typeof t.componentDidMount==="function"&&(H.flags|=4194308),q=!1)}else{t=H.stateNode,Be(D,H),$1=H.memoizedProps,m0=H.type===H.elementType?$1:Td(H.type,$1),t.props=m0,l2=H.pendingProps,Z2=t.context,t1=z.contextType,typeof t1==="object"&&t1!==null?t1=PI(t1):(t1=I1(z)?l:L2.current,t1=_1(H,t1));var L5=z.getDerivedStateFromProps;(J2=typeof L5==="function"||typeof t.getSnapshotBeforeUpdate==="function")||typeof t.UNSAFE_componentWillReceiveProps!=="function"&&typeof t.componentWillReceiveProps!=="function"||($1!==l2||Z2!==t1)&&Qe(H,t,q,t1),$I=!1,Z2=H.memoizedState,t.state=Z2,$H(H,q,t,M);var j5=H.memoizedState;$1!==l2||Z2!==j5||R2.current||$I?(typeof L5==="function"&&(pH(H,z,L5,q),j5=H.memoizedState),(m0=$I||FT(H,z,m0,q,Z2,j5,t1)||!1)?(J2||typeof t.UNSAFE_componentWillUpdate!=="function"&&typeof t.componentWillUpdate!=="function"||(typeof t.componentWillUpdate==="function"&&t.componentWillUpdate(q,j5,t1),typeof t.UNSAFE_componentWillUpdate==="function"&&t.UNSAFE_componentWillUpdate(q,j5,t1)),typeof t.componentDidUpdate==="function"&&(H.flags|=4),typeof t.getSnapshotBeforeUpdate==="function"&&(H.flags|=1024)):(typeof t.componentDidUpdate!=="function"||$1===D.memoizedProps&&Z2===D.memoizedState||(H.flags|=4),typeof t.getSnapshotBeforeUpdate!=="function"||$1===D.memoizedProps&&Z2===D.memoizedState||(H.flags|=1024),H.memoizedProps=q,H.memoizedState=j5),t.props=q,t.state=j5,t.context=t1,q=m0):(typeof t.componentDidUpdate!=="function"||$1===D.memoizedProps&&Z2===D.memoizedState||(H.flags|=4),typeof t.getSnapshotBeforeUpdate!=="function"||$1===D.memoizedProps&&Z2===D.memoizedState||(H.flags|=1024),q=!1)}return TU(D,H,z,q,y,M)}function TU(D,H,z,q,M,y){uU(D,H);var t=(H.flags&128)!==0;if(!q&&!t)return M&&Q0(H,z,!1),BC(D,H,y);q=H.stateNode,nH.current=H;var $1=t&&typeof z.getDerivedStateFromError!=="function"?null:q.render();return H.flags|=1,D!==null&&t?(H.child=M8(H,D.child,null,y),H.child=M8(H,null,$1,y)):t6(D,H,$1,y),H.memoizedState=q.state,M&&Q0(H,z,!0),H.child}function UX(D){var H=D.stateNode;H.pendingContext?y1(D,H.pendingContext,H.pendingContext!==H.context):H.context&&y1(D,H.context,!1),qK(D,H.containerInfo)}function yK(D,H,z,q,M){return GA(),IT(M),H.flags|=256,t6(D,H,z,q),H.child}var LG={dehydrated:null,treeContext:null,retryLane:0};function rH(D){return{baseLanes:D,cachePool:null,transitions:null}}function qe(D,H,z){var q=H.pendingProps,M=T9.current,y=!1,t=(H.flags&128)!==0,$1;if(($1=t)||($1=D!==null&&D.memoizedState===null?!1:(M&2)!==0),$1)y=!0,H.flags&=-129;else if(D===null||D.memoizedState!==null)M|=1;if(g0(T9,M&1),D===null){if(tu(H),D=H.memoizedState,D!==null&&(D=D.dehydrated,D!==null))return(H.mode&1)===0?H.lanes=1:fd(D)?H.lanes=8:H.lanes=1073741824,null;return t=q.children,D=q.fallback,y?(q=H.mode,y=H.child,t={mode:"hidden",children:t},(q&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=t):y=pK(t,q,0,null),D=hI(D,q,z,null),y.return=H,D.return=H,y.sibling=D,H.child=y,H.child.memoizedState=rH(z),H.memoizedState=LG,D):qT(H,t)}if(M=D.memoizedState,M!==null&&($1=M.dehydrated,$1!==null))return Re(D,H,t,q,$1,M,z);if(y){y=q.fallback,t=H.mode,M=D.child,$1=M.sibling;var t1={mode:"hidden",children:q.children};return(t&1)===0&&H.child!==M?(q=H.child,q.childLanes=0,q.pendingProps=t1,H.deletions=null):(q=Z8(M,t1),q.subtreeFlags=M.subtreeFlags&14680064),$1!==null?y=Z8($1,y):(y=hI(y,t,z,null),y.flags|=2),y.return=H,q.return=H,q.sibling=y,H.child=q,q=y,y=H.child,t=D.child.memoizedState,t=t===null?rH(z):{baseLanes:t.baseLanes|z,cachePool:null,transitions:t.transitions},y.memoizedState=t,y.childLanes=D.childLanes&~z,H.memoizedState=LG,q}return y=D.child,D=y.sibling,q=Z8(y,{mode:"visible",children:q.children}),(H.mode&1)===0&&(q.lanes=z),q.return=H,q.sibling=null,D!==null&&(z=H.deletions,z===null?(H.deletions=[D],H.flags|=16):z.push(D)),H.child=q,H.memoizedState=null,q}function qT(D,H){return H=pK({mode:"visible",children:H},D.mode,0,null),H.return=D,D.child=H}function vX(D,H,z,q){return q!==null&&IT(q),M8(H,D.child,null,z),D=qT(H,H.pendingProps.children),D.flags|=2,H.memoizedState=null,D}function Re(D,H,z,q,M,y,t){if(z){if(H.flags&256)return H.flags&=-257,q=JT(Error(C(422))),vX(D,H,t,q);if(H.memoizedState!==null)return H.child=D.child,H.flags|=128,null;return y=q.fallback,M=H.mode,q=pK({mode:"visible",children:q.children},M,0,null),y=hI(y,M,t,null),y.flags|=2,q.return=H,y.return=H,q.sibling=y,H.child=q,(H.mode&1)!==0&&M8(H,D.child,null,t),H.child.memoizedState=rH(t),H.memoizedState=LG,y}if((H.mode&1)===0)return vX(D,H,t,null);if(fd(M))return q=Y7(M).digest,y=Error(C(419)),q=JT(y,q,void 0),vX(D,H,t,q);if(z=(t&D.childLanes)!==0,y8||z){if(q=o3,q!==null){switch(t&-t){case 4:M=2;break;case 16:M=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:M=32;break;case 536870912:M=268435456;break;default:M=0}M=(M&(q.suspendedLanes|t))!==0?0:M,M!==0&&M!==y.retryLane&&(y.retryLane=M,n7(D,M),e3(q,D,M,-1))}return Gv(),q=JT(Error(C(421))),vX(D,H,t,q)}if(i7(M))return H.flags|=128,H.child=D.child,H=Me.bind(null,D),nB(M,H),null;return D=y.treeContext,Z1&&(LI=$W(M),O6=H,K9=!0,yd=null,MH=!1,D!==null&&(EI[MI++]=SI,EI[MI++]=MG,EI[MI++]=CC,SI=D.id,MG=D.overflow,CC=H)),H=qT(H,q.children),H.flags|=4096,H}function PK(D,H,z){D.lanes|=H;var q=D.alternate;q!==null&&(q.lanes|=H),fU(D.return,H,z)}function OU(D,H,z,q,M){var y=D.memoizedState;y===null?D.memoizedState={isBackwards:H,rendering:null,renderingStartTime:0,last:q,tail:z,tailMode:M}:(y.isBackwards=H,y.rendering=null,y.renderingStartTime=0,y.last=q,y.tail=z,y.tailMode=M)}function mU(D,H,z){var q=H.pendingProps,M=q.revealOrder,y=q.tail;if(t6(D,H,q.children,z),q=T9.current,(q&2)!==0)q=q&1|2,H.flags|=128;else{if(D!==null&&(D.flags&128)!==0)I:for(D=H.child;D!==null;){if(D.tag===13)D.memoizedState!==null&&PK(D,z,H);else if(D.tag===19)PK(D,z,H);else if(D.child!==null){D.child.return=D,D=D.child;continue}if(D===H)break I;for(;D.sibling===null;){if(D.return===null||D.return===H)break I;D=D.return}D.sibling.return=D.return,D=D.sibling}q&=1}if(g0(T9,q),(H.mode&1)===0)H.memoizedState=null;else switch(M){case"forwards":z=H.child;for(M=null;z!==null;)D=z.alternate,D!==null&&Pd(D)===null&&(M=z),z=z.sibling;z=M,z===null?(M=H.child,H.child=null):(M=z.sibling,z.sibling=null),OU(H,!1,M,z,y);break;case"backwards":z=null,M=H.child;for(H.child=null;M!==null;){if(D=M.alternate,D!==null&&Pd(D)===null){H.child=M;break}D=M.sibling,M.sibling=z,z=M,M=D}OU(H,!0,z,null,y);break;case"together":OU(H,!1,null,null,void 0);break;default:H.memoizedState=null}return H.child}function aH(D,H){(H.mode&1)===0&&D!==null&&(D.alternate=null,H.alternate=null,H.flags|=2)}function BC(D,H,z){if(D!==null&&(H.dependencies=D.dependencies),XA|=H.lanes,(z&H.childLanes)===0)return null;if(D!==null&&H.child!==D.child)throw Error(C(153));if(H.child!==null){D=H.child,z=Z8(D,D.pendingProps),H.child=z;for(z.return=H;D.sibling!==null;)D=D.sibling,z=z.sibling=Z8(D,D.pendingProps),z.return=H;z.sibling=null}return H.child}function RT(D,H,z){switch(H.tag){case 3:UX(H),GA();break;case 5:ZT(H);break;case 1:I1(H.type)&&Z0(H);break;case 4:qK(H,H.stateNode.containerInfo);break;case 10:yI(H,H.type._context,H.memoizedProps.value);break;case 13:var q=H.memoizedState;if(q!==null){if(q.dehydrated!==null)return g0(T9,T9.current&1),H.flags|=128,null;if((z&H.child.childLanes)!==0)return qe(D,H,z);return g0(T9,T9.current&1),D=BC(D,H,z),D!==null?D.sibling:null}g0(T9,T9.current&1);break;case 19:if(q=(z&H.childLanes)!==0,(D.flags&128)!==0){if(q)return mU(D,H,z);H.flags|=128}var M=H.memoizedState;if(M!==null&&(M.rendering=null,M.tail=null,M.lastEffect=null),g0(T9,T9.current),q)break;else return null;case 22:case 23:return H.lanes=0,$U(D,H,z)}return BC(D,H,z)}function yG(D){D.flags|=4}function UT(D,H){if(D!==null&&D.child===H.child)return!0;if((H.flags&16)!==0)return!1;for(D=H.child;D!==null;){if((D.flags&12854)!==0||(D.subtreeFlags&12854)!==0)return!1;D=D.sibling}return!0}var EX,sH,$K,xW;if(k)EX=function(D,H){for(var z=H.child;z!==null;){if(z.tag===5||z.tag===6)P0(D,z.stateNode);else if(z.tag!==4&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===H)break;for(;z.sibling===null;){if(z.return===null||z.return===H)return;z=z.return}z.sibling.return=z.return,z=z.sibling}},sH=function(){},$K=function(D,H,z,q,M){if(D=D.memoizedProps,D!==q){var y=H.stateNode,t=D7(uI.current);z=a0(y,z,D,q,M,t),(H.updateQueue=z)&&yG(H)}},xW=function(D,H,z,q){z!==q&&yG(H)};else if(a){EX=function(D,H,z,q){for(var M=H.child;M!==null;){if(M.tag===5){var y=M.stateNode;z&&q&&(y=Qd(y,M.type,M.memoizedProps,M)),P0(D,y)}else if(M.tag===6)y=M.stateNode,z&&q&&(y=QG(y,M.memoizedProps,M)),P0(D,y);else if(M.tag!==4){if(M.tag===22&&M.memoizedState!==null)y=M.child,y!==null&&(y.return=M),EX(D,M,!0,!0);else if(M.child!==null){M.child.return=M,M=M.child;continue}}if(M===H)break;for(;M.sibling===null;){if(M.return===null||M.return===H)return;M=M.return}M.sibling.return=M.return,M=M.sibling}};var lU=function(D,H,z,q){for(var M=H.child;M!==null;){if(M.tag===5){var y=M.stateNode;z&&q&&(y=Qd(y,M.type,M.memoizedProps,M)),IC(D,y)}else if(M.tag===6)y=M.stateNode,z&&q&&(y=QG(y,M.memoizedProps,M)),IC(D,y);else if(M.tag!==4){if(M.tag===22&&M.memoizedState!==null)y=M.child,y!==null&&(y.return=M),lU(D,M,!0,!0);else if(M.child!==null){M.child.return=M,M=M.child;continue}}if(M===H)break;for(;M.sibling===null;){if(M.return===null||M.return===H)return;M=M.return}M.sibling.return=M.return,M=M.sibling}};sH=function(D,H){var z=H.stateNode;if(!UT(D,H)){D=z.containerInfo;var q=Nd(D);lU(q,H,!1,!1),z.pendingChildren=q,yG(H),Y3(D,q)}},$K=function(D,H,z,q,M){var{stateNode:y,memoizedProps:t}=D;if((D=UT(D,H))&&t===q)H.stateNode=y;else{var $1=H.stateNode,t1=D7(uI.current),m0=null;t!==q&&(m0=a0($1,z,t,q,M,t1)),D&&m0===null?H.stateNode=y:(y=X3(y,m0,z,t,q,H,D,$1),B0(y,z,q,M,t1)&&yG(H),H.stateNode=y,D?yG(H):EX(y,H,!1,!1))}},xW=function(D,H,z,q){z!==q?(D=D7(hW.current),z=D7(uI.current),H.stateNode=G0(q,D,z,H),yG(H)):H.stateNode=D.stateNode}}else sH=function(){},$K=function(){},xW=function(){};function cW(D,H){if(!K9)switch(D.tailMode){case"hidden":H=D.tail;for(var z=null;H!==null;)H.alternate!==null&&(z=H),H=H.sibling;z===null?D.tail=null:z.sibling=null;break;case"collapsed":z=D.tail;for(var q=null;z!==null;)z.alternate!==null&&(q=z),z=z.sibling;q===null?H||D.tail===null?D.tail=null:D.tail.sibling=null:q.sibling=null}}function m6(D){var H=D.alternate!==null&&D.alternate.child===D.child,z=0,q=0;if(H)for(var M=D.child;M!==null;)z|=M.lanes|M.childLanes,q|=M.subtreeFlags&14680064,q|=M.flags&14680064,M.return=D,M=M.sibling;else for(M=D.child;M!==null;)z|=M.lanes|M.childLanes,q|=M.subtreeFlags,q|=M.flags,M.return=D,M=M.sibling;return D.subtreeFlags|=q,D.childLanes=z,H}function L4(D,H,z){var q=H.pendingProps;switch(zK(H),H.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return m6(H),null;case 1:return I1(H.type)&&v1(),m6(H),null;case 3:if(z=H.stateNode,jW(),W0(R2),W0(L2),mH(),z.pendingContext&&(z.context=z.pendingContext,z.pendingContext=null),D===null||D.child===null)dA(H)?yG(H):D===null||D.memoizedState.isDehydrated&&(H.flags&256)===0||(H.flags|=1024,yd!==null&&(Iv(yd),yd=null));return sH(D,H),m6(H),null;case 5:qU(H),z=D7(hW.current);var M=H.type;if(D!==null&&H.stateNode!=null)$K(D,H,M,q,z),D.ref!==H.ref&&(H.flags|=512,H.flags|=2097152);else{if(!q){if(H.stateNode===null)throw Error(C(166));return m6(H),null}if(D=D7(uI.current),dA(H)){if(!Z1)throw Error(C(175));D=v8(H.stateNode,H.type,H.memoizedProps,z,D,H,!MH),H.updateQueue=D,D!==null&&yG(H)}else{var y=F0(M,q,z,D,H);EX(y,H,!1,!1),H.stateNode=y,B0(y,M,q,z,D)&&yG(H)}H.ref!==null&&(H.flags|=512,H.flags|=2097152)}return m6(H),null;case 6:if(D&&H.stateNode!=null)xW(D,H,D.memoizedProps,q);else{if(typeof q!=="string"&&H.stateNode===null)throw Error(C(166));if(D=D7(hW.current),z=D7(uI.current),dA(H)){if(!Z1)throw Error(C(176));if(D=H.stateNode,z=H.memoizedProps,q=qG(D,z,H,!MH)){if(M=O6,M!==null)switch(M.tag){case 3:OW(M.stateNode.containerInfo,D,z,(M.mode&1)!==0);break;case 5:d1(M.type,M.memoizedProps,M.stateNode,D,z,(M.mode&1)!==0)}}q&&yG(H)}else H.stateNode=G0(q,D,z,H)}return m6(H),null;case 13:if(W0(T9),q=H.memoizedState,D===null||D.memoizedState!==null&&D.memoizedState.dehydrated!==null){if(K9&&LI!==null&&(H.mode&1)!==0&&(H.flags&128)===0)WC(),GA(),H.flags|=98560,M=!1;else if(M=dA(H),q!==null&&q.dehydrated!==null){if(D===null){if(!M)throw Error(C(318));if(!Z1)throw Error(C(344));if(M=H.memoizedState,M=M!==null?M.dehydrated:null,!M)throw Error(C(317));aB(M,H)}else GA(),(H.flags&128)===0&&(H.memoizedState=null),H.flags|=4;m6(H),M=!1}else yd!==null&&(Iv(yd),yd=null),M=!0;if(!M)return H.flags&65536?H:null}if((H.flags&128)!==0)return H.lanes=z,H;return z=q!==null,z!==(D!==null&&D.memoizedState!==null)&&z&&(H.child.flags|=8192,(H.mode&1)!==0&&(D===null||(T9.current&1)!==0?R5===0&&(R5=3):Gv())),H.updateQueue!==null&&(H.flags|=4),m6(H),null;case 4:return jW(),sH(D,H),D===null&&N1(H.stateNode.containerInfo),m6(H),null;case 10:return z5(H.type._context),m6(H),null;case 17:return I1(H.type)&&v1(),m6(H),null;case 19:if(W0(T9),M=H.memoizedState,M===null)return m6(H),null;if(q=(H.flags&128)!==0,y=M.rendering,y===null)if(q)cW(M,!1);else{if(R5!==0||D!==null&&(D.flags&128)!==0)for(D=H.child;D!==null;){if(y=Pd(D),y!==null){H.flags|=128,cW(M,!1),D=y.updateQueue,D!==null&&(H.updateQueue=D,H.flags|=4),H.subtreeFlags=0,D=z;for(z=H.child;z!==null;)q=z,M=D,q.flags&=14680066,y=q.alternate,y===null?(q.childLanes=0,q.lanes=M,q.child=null,q.subtreeFlags=0,q.memoizedProps=null,q.memoizedState=null,q.updateQueue=null,q.dependencies=null,q.stateNode=null):(q.childLanes=y.childLanes,q.lanes=y.lanes,q.child=y.child,q.subtreeFlags=0,q.deletions=null,q.memoizedProps=y.memoizedProps,q.memoizedState=y.memoizedState,q.updateQueue=y.updateQueue,q.type=y.type,M=y.dependencies,q.dependencies=M===null?null:{lanes:M.lanes,firstContext:M.firstContext}),z=z.sibling;return g0(T9,T9.current&1|2),H.child}D=D.sibling}M.tail!==null&&n9()>oU&&(H.flags|=128,q=!0,cW(M,!1),H.lanes=4194304)}else{if(!q)if(D=Pd(y),D!==null){if(H.flags|=128,q=!0,D=D.updateQueue,D!==null&&(H.updateQueue=D,H.flags|=4),cW(M,!0),M.tail===null&&M.tailMode==="hidden"&&!y.alternate&&!K9)return m6(H),null}else 2*n9()-M.renderingStartTime>oU&&z!==1073741824&&(H.flags|=128,q=!0,cW(M,!1),H.lanes=4194304);M.isBackwards?(y.sibling=H.child,H.child=y):(D=M.last,D!==null?D.sibling=y:H.child=y,M.last=y)}if(M.tail!==null)return H=M.tail,M.rendering=H,M.tail=H.sibling,M.renderingStartTime=n9(),H.sibling=null,D=T9.current,g0(T9,q?D&1|2:D&1),H;return m6(H),null;case 22:case 23:return uX(),z=H.memoizedState!==null,D!==null&&D.memoizedState!==null!==z&&(H.flags|=8192),z&&(H.mode&1)!==0?(mI&1073741824)!==0&&(m6(H),k&&H.subtreeFlags&6&&(H.flags|=8192)):m6(H),null;case 24:return null;case 25:return null}throw Error(C(156,H.tag))}function vT(D,H){switch(zK(H),H.tag){case 1:return I1(H.type)&&v1(),D=H.flags,D&65536?(H.flags=D&-65537|128,H):null;case 3:return jW(),W0(R2),W0(L2),mH(),D=H.flags,(D&65536)!==0&&(D&128)===0?(H.flags=D&-65537|128,H):null;case 5:return qU(H),null;case 13:if(W0(T9),D=H.memoizedState,D!==null&&D.dehydrated!==null){if(H.alternate===null)throw Error(C(340));GA()}return D=H.flags,D&65536?(H.flags=D&-65537|128,H):null;case 19:return W0(T9),null;case 4:return jW(),null;case 10:return z5(H.type._context),null;case 22:case 23:return uX(),null;case 24:return null;default:return null}}var oH=!1,I8=!1,qN1=typeof WeakSet==="function"?WeakSet:Set,D2=null;function MX(D,H){var z=D.ref;if(z!==null)if(typeof z==="function")try{z(null)}catch(q){s5(D,H,q)}else z.current=null}function bU(D,H,z){try{z()}catch(q){s5(D,H,q)}}var hU=!1;function jU(D,H){T1(D.containerInfo);for(D2=H;D2!==null;)if(D=D2,H=D.child,(D.subtreeFlags&1028)!==0&&H!==null)H.return=D,D2=H;else for(;D2!==null;){D=D2;try{var z=D.alternate;if((D.flags&1024)!==0)switch(D.tag){case 0:case 11:case 15:break;case 1:if(z!==null){var{memoizedProps:q,memoizedState:M}=z,y=D.stateNode,t=y.getSnapshotBeforeUpdate(D.elementType===D.type?q:Td(D.type,q),M);y.__reactInternalSnapshotBeforeUpdate=t}break;case 3:k&&iB(D.stateNode.containerInfo);break;case 5:case 6:case 4:case 17:break;default:throw Error(C(163))}}catch($1){s5(D,D.return,$1)}if(H=D.sibling,H!==null){H.return=D.return,D2=H;break}D2=D.return}return z=hU,hU=!1,z}function eH(D,H,z){var q=H.updateQueue;if(q=q!==null?q.lastEffect:null,q!==null){var M=q=q.next;do{if((M.tag&D)===D){var y=M.destroy;M.destroy=void 0,y!==void 0&&bU(H,z,y)}M=M.next}while(M!==q)}}function tH(D,H){if(H=H.updateQueue,H=H!==null?H.lastEffect:null,H!==null){var z=H=H.next;do{if((z.tag&D)===D){var q=z.create;z.destroy=q()}z=z.next}while(z!==H)}}function kU(D){var H=D.ref;if(H!==null){var z=D.stateNode;switch(D.tag){case 5:D=r(z);break;default:D=z}typeof H==="function"?H(D):H.current=D}}function ET(D){var H=D.alternate;H!==null&&(D.alternate=null,ET(H)),D.child=null,D.deletions=null,D.sibling=null,D.tag===5&&(H=D.stateNode,H!==null&&O1(H)),D.stateNode=null,D.return=null,D.dependencies=null,D.memoizedProps=null,D.memoizedState=null,D.pendingProps=null,D.stateNode=null,D.updateQueue=null}function MT(D){return D.tag===5||D.tag===3||D.tag===4}function uK(D){I:for(;;){for(;D.sibling===null;){if(D.return===null||MT(D.return))return null;D=D.return}D.sibling.return=D.return;for(D=D.sibling;D.tag!==5&&D.tag!==6&&D.tag!==18;){if(D.flags&2)continue I;if(D.child===null||D.tag===4)continue I;else D.child.return=D,D=D.child}if(!(D.flags&2))return D.stateNode}}function xU(D,H,z){var q=D.tag;if(q===5||q===6)D=D.stateNode,H?A2(z,D,H):s0(z,D);else if(q!==4&&(D=D.child,D!==null))for(xU(D,H,z),D=D.sibling;D!==null;)xU(D,H,z),D=D.sibling}function cU(D,H,z){var q=D.tag;if(q===5||q===6)D=D.stateNode,H?B2(z,D,H):i0(z,D);else if(q!==4&&(D=D.child,D!==null))for(cU(D,H,z),D=D.sibling;D!==null;)cU(D,H,z),D=D.sibling}var l6=null,P8=!1;function OI(D,H,z){for(z=z.child;z!==null;)IF(D,H,z),z=z.sibling}function IF(D,H,z){if(vG&&typeof vG.onCommitFiberUnmount==="function")try{vG.onCommitFiberUnmount(gK,z)}catch($1){}switch(z.tag){case 5:I8||MX(z,H);case 6:if(k){var q=l6,M=P8;l6=null,OI(D,H,z),l6=q,P8=M,l6!==null&&(P8?A4(l6,z.stateNode):B4(l6,z.stateNode))}else OI(D,H,z);break;case 18:k&&l6!==null&&(P8?Ud(l6,z.stateNode):TW(l6,z.stateNode));break;case 4:k?(q=l6,M=P8,l6=z.stateNode.containerInfo,P8=!0,OI(D,H,z),l6=q,P8=M):(a&&(q=z.stateNode.containerInfo,M=Nd(q),zd(q,M)),OI(D,H,z));break;case 0:case 11:case 14:case 15:if(!I8&&(q=z.updateQueue,q!==null&&(q=q.lastEffect,q!==null))){M=q=q.next;do{var y=M,t=y.destroy;y=y.tag,t!==void 0&&((y&2)!==0?bU(z,H,t):(y&4)!==0&&bU(z,H,t)),M=M.next}while(M!==q)}OI(D,H,z);break;case 1:if(!I8&&(MX(z,H),q=z.stateNode,typeof q.componentWillUnmount==="function"))try{q.props=z.memoizedProps,q.state=z.memoizedState,q.componentWillUnmount()}catch($1){s5(z,H,$1)}OI(D,H,z);break;case 21:OI(D,H,z);break;case 22:z.mode&1?(I8=(q=I8)||z.memoizedState!==null,OI(D,H,z),I8=q):OI(D,H,z);break;default:OI(D,H,z)}}function pW(D){var H=D.updateQueue;if(H!==null){D.updateQueue=null;var z=D.stateNode;z===null&&(z=D.stateNode=new qN1),H.forEach(function(q){var M=Se.bind(null,D,q);z.has(q)||(z.add(q),q.then(M,M))})}}function Od(D,H){var z=H.deletions;if(z!==null)for(var q=0;q<z.length;q++){var M=z[q];try{var y=D,t=H;if(k){var $1=t;I:for(;$1!==null;){switch($1.tag){case 5:l6=$1.stateNode,P8=!1;break I;case 3:l6=$1.stateNode.containerInfo,P8=!0;break I;case 4:l6=$1.stateNode.containerInfo,P8=!0;break I}$1=$1.return}if(l6===null)throw Error(C(160));IF(y,t,M),l6=null,P8=!1}else IF(y,t,M);var t1=M.alternate;t1!==null&&(t1.return=null),M.return=null}catch(m0){s5(M,H,m0)}}if(H.subtreeFlags&12854)for(H=H.child;H!==null;)TK(H,D),H=H.sibling}function TK(D,H){var{alternate:z,flags:q}=D;switch(D.tag){case 0:case 11:case 14:case 15:if(Od(H,D),md(D),q&4){try{eH(3,D,D.return),tH(3,D)}catch(Z2){s5(D,D.return,Z2)}try{eH(5,D,D.return)}catch(Z2){s5(D,D.return,Z2)}}break;case 1:Od(H,D),md(D),q&512&&z!==null&&MX(z,z.return);break;case 5:if(Od(H,D),md(D),q&512&&z!==null&&MX(z,z.return),k){if(D.flags&32){var M=D.stateNode;try{_5(M)}catch(Z2){s5(D,D.return,Z2)}}if(q&4&&(M=D.stateNode,M!=null)){var y=D.memoizedProps;if(z=z!==null?z.memoizedProps:y,q=D.type,H=D.updateQueue,D.updateQueue=null,H!==null)try{n0(M,H,q,z,y,D)}catch(Z2){s5(D,D.return,Z2)}}}break;case 6:if(Od(H,D),md(D),q&4&&k){if(D.stateNode===null)throw Error(C(162));M=D.stateNode,y=D.memoizedProps,z=z!==null?z.memoizedProps:y;try{P2(M,z,y)}catch(Z2){s5(D,D.return,Z2)}}break;case 3:if(Od(H,D),md(D),q&4){if(k&&Z1&&z!==null&&z.memoizedState.isDehydrated)try{Rd(H.containerInfo)}catch(Z2){s5(D,D.return,Z2)}if(a){M=H.containerInfo,y=H.pendingChildren;try{zd(M,y)}catch(Z2){s5(D,D.return,Z2)}}}break;case 4:if(Od(H,D),md(D),q&4&&a){y=D.stateNode,M=y.containerInfo,y=y.pendingChildren;try{zd(M,y)}catch(Z2){s5(D,D.return,Z2)}}break;case 13:Od(H,D),md(D),M=D.child,M.flags&8192&&(y=M.memoizedState!==null,M.stateNode.isHidden=y,!y||M.alternate!==null&&M.alternate.memoizedState!==null||(sU=n9())),q&4&&pW(D);break;case 22:var t=z!==null&&z.memoizedState!==null;if(D.mode&1?(I8=(z=I8)||t,Od(H,D),I8=z):Od(H,D),md(D),q&8192){if(z=D.memoizedState!==null,(D.stateNode.isHidden=z)&&!t&&(D.mode&1)!==0)for(D2=D,q=D.child;q!==null;){for(H=D2=q;D2!==null;){t=D2;var $1=t.child;switch(t.tag){case 0:case 11:case 14:case 15:eH(4,t,t.return);break;case 1:MX(t,t.return);var t1=t.stateNode;if(typeof t1.componentWillUnmount==="function"){var m0=t,J2=t.return;try{var l2=m0;t1.props=l2.memoizedProps,t1.state=l2.memoizedState,t1.componentWillUnmount()}catch(Z2){s5(m0,J2,Z2)}}break;case 5:MX(t,t.return);break;case 22:if(t.memoizedState!==null){LT(H);continue}}$1!==null?($1.return=t,D2=$1):LT(H)}q=q.sibling}if(k)I:if(q=null,k)for(H=D;;){if(H.tag===5){if(q===null){q=H;try{M=H.stateNode,z?D5(M):T6(H.stateNode,H.memoizedProps)}catch(Z2){s5(D,D.return,Z2)}}}else if(H.tag===6){if(q===null)try{y=H.stateNode,z?tZ(y):pB(y,H.memoizedProps)}catch(Z2){s5(D,D.return,Z2)}}else if((H.tag!==22&&H.tag!==23||H.memoizedState===null||H===D)&&H.child!==null){H.child.return=H,H=H.child;continue}if(H===D)break I;for(;H.sibling===null;){if(H.return===null||H.return===D)break I;q===H&&(q=null),H=H.return}q===H&&(q=null),H.sibling.return=H.return,H=H.sibling}}break;case 19:Od(H,D),md(D),q&4&&pW(D);break;case 21:break;default:Od(H,D),md(D)}}function md(D){var H=D.flags;if(H&2){try{if(k){I:{for(var z=D.return;z!==null;){if(MT(z)){var q=z;break I}z=z.return}throw Error(C(160))}switch(q.tag){case 5:var M=q.stateNode;q.flags&32&&(_5(M),q.flags&=-33);var y=uK(D);cU(D,y,M);break;case 3:case 4:var t=q.stateNode.containerInfo,$1=uK(D);xU(D,$1,t);break;default:throw Error(C(161))}}}catch(t1){s5(D,D.return,t1)}D.flags&=-3}H&4096&&(D.flags&=-4097)}function H7(D,H,z){D2=D,d8(D,H,z)}function d8(D,H,z){for(var q=(D.mode&1)!==0;D2!==null;){var M=D2,y=M.child;if(M.tag===22&&q){var t=M.memoizedState!==null||oH;if(!t){var $1=M.alternate,t1=$1!==null&&$1.memoizedState!==null||I8;$1=oH;var m0=I8;if(oH=t,(I8=t1)&&!m0)for(D2=M;D2!==null;)t=D2,t1=t.child,t.tag===22&&t.memoizedState!==null?yT(M):t1!==null?(t1.return=t,D2=t1):yT(M);for(;y!==null;)D2=y,d8(y,H,z),y=y.sibling;D2=M,oH=$1,I8=m0}ST(D,H,z)}else(M.subtreeFlags&8772)!==0&&y!==null?(y.return=M,D2=y):ST(D,H,z)}}function ST(D){for(;D2!==null;){var H=D2;if((H.flags&8772)!==0){var z=H.alternate;try{if((H.flags&8772)!==0)switch(H.tag){case 0:case 11:case 15:I8||tH(5,H);break;case 1:var q=H.stateNode;if(H.flags&4&&!I8)if(z===null)q.componentDidMount();else{var M=H.elementType===H.type?z.memoizedProps:Td(H.type,z.memoizedProps);q.componentDidUpdate(M,z.memoizedState,q.__reactInternalSnapshotBeforeUpdate)}var y=H.updateQueue;y!==null&&GT(H,y,q);break;case 3:var t=H.updateQueue;if(t!==null){if(z=null,H.child!==null)switch(H.child.tag){case 5:z=r(H.child.stateNode);break;case 1:z=H.child.stateNode}GT(H,t,z)}break;case 5:var $1=H.stateNode;z===null&&H.flags&4&&a5($1,H.type,H.memoizedProps,H);break;case 6:break;case 4:break;case 12:break;case 13:if(Z1&&H.memoizedState===null){var t1=H.alternate;if(t1!==null){var m0=t1.memoizedState;if(m0!==null){var J2=m0.dehydrated;J2!==null&&sB(J2)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(C(163))}I8||H.flags&512&&kU(H)}catch(l2){s5(H,H.return,l2)}}if(H===D){D2=null;break}if(z=H.sibling,z!==null){z.return=H.return,D2=z;break}D2=H.return}}function LT(D){for(;D2!==null;){var H=D2;if(H===D){D2=null;break}var z=H.sibling;if(z!==null){z.return=H.return,D2=z;break}D2=H.return}}function yT(D){for(;D2!==null;){var H=D2;try{switch(H.tag){case 0:case 11:case 15:var z=H.return;try{tH(4,H)}catch(t1){s5(H,z,t1)}break;case 1:var q=H.stateNode;if(typeof q.componentDidMount==="function"){var M=H.return;try{q.componentDidMount()}catch(t1){s5(H,M,t1)}}var y=H.return;try{kU(H)}catch(t1){s5(H,y,t1)}break;case 5:var t=H.return;try{kU(H)}catch(t1){s5(H,t,t1)}}}catch(t1){s5(H,H.return,t1)}if(H===D){D2=null;break}var $1=H.sibling;if($1!==null){$1.return=H.return,D2=$1;break}D2=H.return}}var OK=0,mK=1,lK=2,dF=3,SX=4;if(typeof Symbol==="function"&&Symbol.for){var GF=Symbol.for;OK=GF("selector.component"),mK=GF("selector.has_pseudo_class"),lK=GF("selector.role"),dF=GF("selector.test_id"),SX=GF("selector.text")}function pU(D){var H=Q1(D);if(H!=null){if(typeof H.memoizedProps["data-testname"]!=="string")throw Error(C(364));return H}if(D=j(D),D===null)throw Error(C(362));return D.stateNode.current}function iU(D,H){switch(H.$$typeof){case OK:if(D.type===H.value)return!0;break;case mK:I:{H=H.value,D=[D,0];for(var z=0;z<D.length;){var q=D[z++],M=D[z++],y=H[M];if(q.tag!==5||!L1(q)){for(;y!=null&&iU(q,y);)M++,y=H[M];if(M===H.length){H=!0;break I}else for(q=q.child;q!==null;)D.push(q,M),q=q.sibling}}H=!1}return H;case lK:if(D.tag===5&&D0(D.stateNode,H.value))return!0;break;case SX:if(D.tag===5||D.tag===6){if(D=U1(D),D!==null&&0<=D.indexOf(H.value))return!0}break;case dF:if(D.tag===5&&(D=D.memoizedProps["data-testname"],typeof D==="string"&&D.toLowerCase()===H.value.toLowerCase()))return!0;break;default:throw Error(C(365))}return!1}function nU(D){switch(D.$$typeof){case OK:return"<"+(h(D.value)||"Unknown")+">";case mK:return":has("+(nU(D)||"")+")";case lK:return'[role="'+D.value+'"]';case SX:return'"'+D.value+'"';case dF:return'[data-testname="'+D.value+'"]';default:throw Error(C(365))}}function PT(D,H){var z=[];D=[D,0];for(var q=0;q<D.length;){var M=D[q++],y=D[q++],t=H[y];if(M.tag!==5||!L1(M)){for(;t!=null&&iU(M,t);)y++,t=H[y];if(y===H.length)z.push(M);else for(M=M.child;M!==null;)D.push(M,y),M=M.sibling}}return z}function rU(D,H){if(!h1)throw Error(C(363));D=pU(D),D=PT(D,H),H=[],D=Array.from(D);for(var z=0;z<D.length;){var q=D[z++];if(q.tag===5)L1(q)||H.push(q.stateNode);else for(q=q.child;q!==null;)D.push(q),q=q.sibling}return H}var Ue=Math.ceil,ZF=W.ReactCurrentDispatcher,bK=W.ReactCurrentOwner,F5=W.ReactCurrentBatchConfig,E4=0,o3=null,E9=null,X6=0,mI=0,VA=J0(0),R5=0,LX=null,XA=0,iW=0,aU=0,CF=null,$8=null,sU=0,oU=1/0,lI=null;function yX(){oU=n9()+500}var hK=!1,eU=null,nW=null,jK=!1,PG=null,kK=0,PX=0,tU=null,xK=-1,$X=0;function G8(){return(E4&6)!==0?n9():xK!==-1?xK:xK=n9()}function rW(D){if((D.mode&1)===0)return 1;if((E4&2)!==0&&X6!==0)return X6&-X6;if(NN1.transition!==null)return $X===0&&($X=dC()),$X;return D=$4,D!==0?D:F1()}function e3(D,H,z,q){if(50<PX)throw PX=0,tU=null,Error(C(185));if(RG(D,z,q),(E4&2)===0||D!==o3)D===o3&&((E4&2)===0&&(iW|=z),R5===4&&AC(D,X6)),F7(D,q),z===1&&E4===0&&(H.mode&1)===0&&(yX(),JK&&Ld())}function F7(D,H){var z=D.callbackNode;e6(D,H);var q=W9(D,D===o3?X6:0);if(q===0)z!==null&&eB(z),D.callbackNode=null,D.callbackPriority=0;else if(H=q&-q,D.callbackPriority!==H){if(z!=null&&eB(z),H===1)D.tag===0?EG(uT.bind(null,D)):su(uT.bind(null,D)),K1?R1(function(){(E4&6)===0&&Ld()}):E8(mW,Ld),z=null;else{switch(oB(q)){case 1:z=mW;break;case 4:z=Md;break;case 16:z=JU;break;case 536870912:z=FK;break;default:z=JU}z=cK(z,WF.bind(null,D))}D.callbackPriority=H,D.callbackNode=z}}function WF(D,H){if(xK=-1,$X=0,(E4&6)!==0)throw Error(C(327));var z=D.callbackNode;if(sW()&&D.callbackNode!==z)return null;var q=W9(D,D===o3?X6:0);if(q===0)return null;if((q&30)!==0||(q&D.expiredLanes)!==0||H)H=TX(D,q);else{H=q;var M=E4;E4|=2;var y=OT();if(o3!==D||X6!==H)lI=null,yX(),YA(D,H);do try{Ee();break}catch($1){dv(D,$1)}while(1);wA(),ZF.current=y,E4=M,E9!==null?H=0:(o3=null,X6=0,H=R5)}if(H!==0){if(H===2&&(M=vd(D),M!==0&&(q=M,H=aW(D,M))),H===1)throw z=LX,YA(D,0),AC(D,q),F7(D,n9()),z;if(H===6)AC(D,q);else{if(M=D.current.alternate,(q&30)===0&&!$T(M)&&(H=TX(D,q),H===2&&(y=vd(D),y!==0&&(q=y,H=aW(D,y))),H===1))throw z=LX,YA(D,0),AC(D,q),F7(D,n9()),z;switch(D.finishedWork=M,D.finishedLanes=q,H){case 0:case 1:throw Error(C(345));case 2:$G(D,$8,lI);break;case 3:if(AC(D,q),(q&130023424)===q&&(H=sU+500-n9(),10<H)){if(W9(D,0)!==0)break;if(M=D.suspendedLanes,(M&q)!==q){G8(),D.pingedLanes|=D.suspendedLanes&M;break}D.timeoutHandle=H1($G.bind(null,D,$8,lI),H);break}$G(D,$8,lI);break;case 4:if(AC(D,q),(q&4194240)===q)break;H=D.eventTimes;for(M=-1;0<q;){var t=31-N0(q);y=1<<t,t=H[t],t>M&&(M=t),q&=~y}if(q=M,q=n9()-q,q=(120>q?120:480>q?480:1080>q?1080:1920>q?1920:3000>q?3000:4320>q?4320:1960*Ue(q/1960))-q,10<q){D.timeoutHandle=H1($G.bind(null,D,$8,lI),q);break}$G(D,$8,lI);break;case 5:$G(D,$8,lI);break;default:throw Error(C(329))}}}return F7(D,n9()),D.callbackNode===z?WF.bind(null,D):null}function aW(D,H){var z=CF;return D.current.memoizedState.isDehydrated&&(YA(D,H).flags|=256),D=TX(D,H),D!==2&&(H=$8,$8=z,H!==null&&Iv(H)),D}function Iv(D){$8===null?$8=D:$8.push.apply($8,D)}function $T(D){for(var H=D;;){if(H.flags&16384){var z=H.updateQueue;if(z!==null&&(z=z.stores,z!==null))for(var q=0;q<z.length;q++){var M=z[q],y=M.getSnapshot;M=M.value;try{if(!Sd(y(),M))return!1}catch(t){return!1}}}if(z=H.child,H.subtreeFlags&16384&&z!==null)z.return=H,H=z;else{if(H===D)break;for(;H.sibling===null;){if(H.return===null||H.return===D)return!0;H=H.return}H.sibling.return=H.return,H=H.sibling}}return!0}function AC(D,H){H&=~aU,H&=~iW,D.suspendedLanes|=H,D.pingedLanes&=~H;for(D=D.expirationTimes;0<H;){var z=31-N0(H),q=1<<z;D[z]=-1,H&=~q}}function uT(D){if((E4&6)!==0)throw Error(C(327));sW();var H=W9(D,0);if((H&1)===0)return F7(D,n9()),null;var z=TX(D,H);if(D.tag!==0&&z===2){var q=vd(D);q!==0&&(H=q,z=aW(D,q))}if(z===1)throw z=LX,YA(D,0),AC(D,H),F7(D,n9()),z;if(z===6)throw Error(C(345));return D.finishedWork=D.current.alternate,D.finishedLanes=H,$G(D,$8,lI),F7(D,n9()),null}function TT(D){PG!==null&&PG.tag===0&&(E4&6)===0&&sW();var H=E4;E4|=1;var z=F5.transition,q=$4;try{if(F5.transition=null,$4=1,D)return D()}finally{$4=q,F5.transition=z,E4=H,(E4&6)===0&&Ld()}}function uX(){mI=VA.current,W0(VA)}function YA(D,H){D.finishedWork=null,D.finishedLanes=0;var z=D.timeoutHandle;if(z!==i1&&(D.timeoutHandle=i1,j1(z)),E9!==null)for(z=E9.return;z!==null;){var q=z;switch(zK(q),q.tag){case 1:q=q.type.childContextTypes,q!==null&&q!==void 0&&v1();break;case 3:jW(),W0(R2),W0(L2),mH();break;case 5:qU(q);break;case 4:jW();break;case 13:W0(T9);break;case 19:W0(T9);break;case 10:z5(q.type._context);break;case 22:case 23:uX()}z=z.return}if(o3=D,E9=D=Z8(D.current,null),X6=mI=H,R5=0,LX=null,aU=iW=XA=0,$8=CF=null,S8!==null){for(H=0;H<S8.length;H++)if(z=S8[H],q=z.interleaved,q!==null){z.interleaved=null;var M=q.next,y=z.pending;if(y!==null){var t=y.next;y.next=M,q.next=t}z.pending=q}S8=null}return D}function dv(D,H){do{var z=E9;try{if(wA(),RX.current=SK,lH){for(var q=O9.memoizedState;q!==null;){var M=q.queue;M!==null&&(M.pending=null),q=q.next}lH=!1}if(kW=0,A6=P3=O9=null,$d=!1,bH=0,bK.current=null,z===null||z.return===null){R5=1,LX=H,E9=null;break}I:{var y=D,t=z.return,$1=z,t1=H;if(H=X6,$1.flags|=32768,t1!==null&&typeof t1==="object"&&typeof t1.then==="function"){var m0=t1,J2=$1,l2=J2.tag;if((J2.mode&1)===0&&(l2===0||l2===11||l2===15)){var Z2=J2.alternate;Z2?(J2.updateQueue=Z2.updateQueue,J2.memoizedState=Z2.memoizedState,J2.lanes=Z2.lanes):(J2.updateQueue=null,J2.memoizedState=null)}var L5=L8(t);if(L5!==null){L5.flags&=-257,QT(L5,t,$1,y,H),L5.mode&1&&SU(y,m0,H),H=L5,t1=m0;var j5=H.updateQueue;if(j5===null){var N=new Set;N.add(t1),H.updateQueue=N}else j5.add(t1);break I}else{if((H&1)===0){SU(y,m0,H),Gv();break I}t1=Error(C(426))}}else if(K9&&$1.mode&1){var R=L8(t);if(R!==null){(R.flags&65536)===0&&(R.flags|=256),QT(R,t,$1,y,H),IT(AA(t1,$1));break I}}y=t1=AA(t1,$1),R5!==4&&(R5=2),CF===null?CF=[y]:CF.push(y),y=t;do{switch(y.tag){case 3:y.flags|=65536,H&=-H,y.lanes|=H;var f=zT(y,t1,H);wC(y,f);break I;case 1:$1=t1;var{type:U,stateNode:v}=y;if((y.flags&128)===0&&(typeof U.getDerivedStateFromError==="function"||v!==null&&typeof v.componentDidCatch==="function"&&(nW===null||!nW.has(v)))){y.flags|=65536,H&=-H,y.lanes|=H;var m=fe(y,$1,H);wC(y,m);break I}}y=y.return}while(y!==null)}mT(z)}catch(C1){H=C1,E9===z&&z!==null&&(E9=z=z.return);continue}break}while(1)}function OT(){var D=ZF.current;return ZF.current=SK,D===null?SK:D}function Gv(){if(R5===0||R5===3||R5===2)R5=4;o3===null||(XA&268435455)===0&&(iW&268435455)===0||AC(o3,X6)}function TX(D,H){var z=E4;E4|=2;var q=OT();if(o3!==D||X6!==H)lI=null,YA(D,H);do try{ve();break}catch(M){dv(D,M)}while(1);if(wA(),E4=z,ZF.current=q,E9!==null)throw Error(C(261));return o3=null,X6=0,R5}function ve(){for(;E9!==null;)d4(E9)}function Ee(){for(;E9!==null&&!UG();)d4(E9)}function d4(D){var H=Le(D.alternate,D,mI);D.memoizedProps=D.pendingProps,H===null?mT(D):E9=H,bK.current=null}function mT(D){var H=D;do{var z=H.alternate;if(D=H.return,(H.flags&32768)===0){if(z=L4(z,H,mI),z!==null){E9=z;return}}else{if(z=vT(z,H),z!==null){z.flags&=32767,E9=z;return}if(D!==null)D.flags|=32768,D.subtreeFlags=0,D.deletions=null;else{R5=6,E9=null;return}}if(H=H.sibling,H!==null){E9=H;return}E9=H=D}while(H!==null);R5===0&&(R5=5)}function $G(D,H,z){var q=$4,M=F5.transition;try{F5.transition=null,$4=1,Q4(D,H,z,q)}finally{F5.transition=M,$4=q}return null}function Q4(D,H,z,q){do sW();while(PG!==null);if((E4&6)!==0)throw Error(C(327));z=D.finishedWork;var M=D.finishedLanes;if(z===null)return null;if(D.finishedWork=null,D.finishedLanes=0,z===D.current)throw Error(C(177));D.callbackNode=null,D.callbackPriority=0;var y=z.lanes|z.childLanes;if(HK(D,y),D===o3&&(E9=o3=null,X6=0),(z.subtreeFlags&2064)===0&&(z.flags&2064)===0||jK||(jK=!0,cK(JU,function(){return sW(),null})),y=(z.flags&15990)!==0,(z.subtreeFlags&15990)!==0||y){y=F5.transition,F5.transition=null;var t=$4;$4=1;var $1=E4;E4|=4,bK.current=null,jU(D,z),TK(z,D),e1(D.containerInfo),D.current=z,H7(z,D,M),tB(),E4=$1,$4=t,F5.transition=y}else D.current=z;if(jK&&(jK=!1,PG=D,kK=M),y=D.pendingLanes,y===0&&(nW=null),Ze(z.stateNode,q),F7(D,n9()),H!==null)for(q=D.onRecoverableError,z=0;z<H.length;z++)M=H[z],q(M.value,{componentStack:M.stack,digest:M.digest});if(hK)throw hK=!1,D=eU,eU=null,D;return(kK&1)!==0&&D.tag!==0&&sW(),y=D.pendingLanes,(y&1)!==0?D===tU?PX++:(PX=0,tU=D):PX=0,Ld(),null}function sW(){if(PG!==null){var D=oB(kK),H=F5.transition,z=$4;try{if(F5.transition=null,$4=16>D?16:D,PG===null)var q=!1;else{if(D=PG,PG=null,kK=0,(E4&6)!==0)throw Error(C(331));var M=E4;E4|=4;for(D2=D.current;D2!==null;){var y=D2,t=y.child;if((D2.flags&16)!==0){var $1=y.deletions;if($1!==null){for(var t1=0;t1<$1.length;t1++){var m0=$1[t1];for(D2=m0;D2!==null;){var J2=D2;switch(J2.tag){case 0:case 11:case 15:eH(8,J2,y)}var l2=J2.child;if(l2!==null)l2.return=J2,D2=l2;else for(;D2!==null;){J2=D2;var{sibling:Z2,return:L5}=J2;if(ET(J2),J2===m0){D2=null;break}if(Z2!==null){Z2.return=L5,D2=Z2;break}D2=L5}}}var j5=y.alternate;if(j5!==null){var N=j5.child;if(N!==null){j5.child=null;do{var R=N.sibling;N.sibling=null,N=R}while(N!==null)}}D2=y}}if((y.subtreeFlags&2064)!==0&&t!==null)t.return=y,D2=t;else I:for(;D2!==null;){if(y=D2,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:eH(9,y,y.return)}var f=y.sibling;if(f!==null){f.return=y.return,D2=f;break I}D2=y.return}}var U=D.current;for(D2=U;D2!==null;){t=D2;var v=t.child;if((t.subtreeFlags&2064)!==0&&v!==null)v.return=t,D2=v;else I:for(t=U;D2!==null;){if($1=D2,($1.flags&2048)!==0)try{switch($1.tag){case 0:case 11:case 15:tH(9,$1)}}catch(C1){s5($1,$1.return,C1)}if($1===t){D2=null;break I}var m=$1.sibling;if(m!==null){m.return=$1.return,D2=m;break I}D2=$1.return}}if(E4=M,Ld(),vG&&typeof vG.onPostCommitFiberRoot==="function")try{vG.onPostCommitFiberRoot(gK,D)}catch(C1){}q=!0}return q}finally{$4=z,F5.transition=H}}return!1}function lT(D,H,z){H=AA(z,H),H=zT(D,H,1),D=bW(D,H,1),H=G8(),D!==null&&(RG(D,1,H),F7(D,H))}function s5(D,H,z){if(D.tag===3)lT(D,D,z);else for(;H!==null;){if(H.tag===3){lT(H,D,z);break}else if(H.tag===1){var q=H.stateNode;if(typeof H.type.getDerivedStateFromError==="function"||typeof q.componentDidCatch==="function"&&(nW===null||!nW.has(q))){D=AA(z,D),D=fe(H,D,1),H=bW(H,D,1),D=G8(),H!==null&&(RG(H,1,D),F7(H,D));break}}H=H.return}}function Zv(D,H,z){var q=D.pingCache;q!==null&&q.delete(H),H=G8(),D.pingedLanes|=D.suspendedLanes&z,o3===D&&(X6&z)===z&&(R5===4||R5===3&&(X6&130023424)===X6&&500>n9()-sU?YA(D,0):aU|=z),F7(D,H)}function bT(D,H){H===0&&((D.mode&1)===0?H=1:(H=x4,x4<<=1,(x4&130023424)===0&&(x4=4194304)));var z=G8();D=n7(D,H),D!==null&&(RG(D,H,z),F7(D,z))}function Me(D){var H=D.memoizedState,z=0;H!==null&&(z=H.retryLane),bT(D,z)}function Se(D,H){var z=0;switch(D.tag){case 13:var{stateNode:q,memoizedState:M}=D;M!==null&&(z=M.retryLane);break;case 19:q=D.stateNode;break;default:throw Error(C(314))}q!==null&&q.delete(H),bT(D,z)}var Le=function(D,H,z){if(D!==null)if(D.memoizedProps!==H.pendingProps||R2.current)y8=!0;else{if((D.lanes&z)===0&&(H.flags&128)===0)return y8=!1,RT(D,H,z);y8=(D.flags&131072)!==0?!0:!1}else y8=!1,K9&&(H.flags&1048576)!==0&&ou(H,NK,H.index);switch(H.lanes=0,H.tag){case 2:var q=H.type;aH(D,H),D=H.pendingProps;var M=_1(H,L2.current);BA(H,z),M=jH(null,H,q,D,M,z);var y=vU();return H.flags|=1,typeof M==="object"&&M!==null&&typeof M.render==="function"&&M.$$typeof===void 0?(H.tag=1,H.memoizedState=null,H.updateQueue=null,I1(q)?(y=!0,Z0(H)):y=!1,H.memoizedState=M.state!==null&&M.state!==void 0?M.state:null,dT(H),M.updater=iH,H.stateNode=M,M._reactInternals=H,gT(H,q,D,z),H=TU(null,H,q,!0,y,z)):(H.tag=0,K9&&y&&EH(H),t6(null,H,M,z),H=H.child),H;case 16:q=H.elementType;I:{switch(aH(D,H),D=H.pendingProps,M=q._init,q=M(q._payload),H.type=q,M=H.tag=hT(q),D=Td(q,D),M){case 0:H=LK(null,H,q,D,z);break I;case 1:H=fT(null,H,q,D,z);break I;case 11:H=LU(null,H,q,D,z);break I;case 14:H=yU(null,H,q,Td(q.type,D),z);break I}throw Error(C(306,q,""))}return H;case 0:return q=H.type,M=H.pendingProps,M=H.elementType===q?M:Td(q,M),LK(D,H,q,M,z);case 1:return q=H.type,M=H.pendingProps,M=H.elementType===q?M:Td(q,M),fT(D,H,q,M,z);case 3:I:{if(UX(H),D===null)throw Error(C(387));q=H.pendingProps,y=H.memoizedState,M=y.element,Be(D,H),$H(H,q,null,z);var t=H.memoizedState;if(q=t.element,Z1&&y.isDehydrated)if(y={element:q,isDehydrated:!1,cache:t.cache,pendingSuspenseBoundaries:t.pendingSuspenseBoundaries,transitions:t.transitions},H.updateQueue.baseState=y,H.memoizedState=y,H.flags&256){M=AA(Error(C(423)),H),H=yK(D,H,q,z,M);break I}else if(q!==M){M=AA(Error(C(424)),H),H=yK(D,H,q,z,M);break I}else for(Z1&&(LI=PW(H.stateNode.containerInfo),O6=H,K9=!0,yd=null,MH=!1),z=yH(H,null,q,z),H.child=z;z;)z.flags=z.flags&-3|4096,z=z.sibling;else{if(GA(),q===M){H=BC(D,H,z);break I}t6(D,H,q,z)}H=H.child}return H;case 5:return ZT(H),D===null&&tu(H),q=H.type,M=H.pendingProps,y=D!==null?D.memoizedProps:null,t=M.children,e(q,M)?t=null:y!==null&&e(q,y)&&(H.flags|=32),uU(D,H),t6(D,H,t,z),H.child;case 6:return D===null&&tu(H),null;case 13:return qe(D,H,z);case 4:return qK(H,H.stateNode.containerInfo),q=H.pendingProps,D===null?H.child=M8(H,null,q,z):t6(D,H,q,z),H.child;case 11:return q=H.type,M=H.pendingProps,M=H.elementType===q?M:Td(q,M),LU(D,H,q,M,z);case 7:return t6(D,H,H.pendingProps,z),H.child;case 8:return t6(D,H,H.pendingProps.children,z),H.child;case 12:return t6(D,H,H.pendingProps.children,z),H.child;case 10:I:{if(q=H.type._context,M=H.pendingProps,y=H.memoizedProps,t=M.value,yI(H,q,t),y!==null)if(Sd(y.value,t)){if(y.children===M.children&&!R2.current){H=BC(D,H,z);break I}}else for(y=H.child,y!==null&&(y.return=H);y!==null;){var $1=y.dependencies;if($1!==null){t=y.child;for(var t1=$1.firstContext;t1!==null;){if(t1.context===q){if(y.tag===1){t1=SG(-1,z&-z),t1.tag=2;var m0=y.updateQueue;if(m0!==null){m0=m0.shared;var J2=m0.pending;J2===null?t1.next=t1:(t1.next=J2.next,J2.next=t1),m0.pending=t1}}y.lanes|=z,t1=y.alternate,t1!==null&&(t1.lanes|=z),fU(y.return,z,H),$1.lanes|=z;break}t1=t1.next}}else if(y.tag===10)t=y.type===H.type?null:y.child;else if(y.tag===18){if(t=y.return,t===null)throw Error(C(341));t.lanes|=z,$1=t.alternate,$1!==null&&($1.lanes|=z),fU(t,z,H),t=y.sibling}else t=y.child;if(t!==null)t.return=y;else for(t=y;t!==null;){if(t===H){t=null;break}if(y=t.sibling,y!==null){y.return=t.return,t=y;break}t=t.return}y=t}t6(D,H,M.children,z),H=H.child}return H;case 9:return M=H.type,q=H.pendingProps.children,BA(H,z),M=PI(M),q=q(M),H.flags|=1,t6(D,H,q,z),H.child;case 14:return q=H.type,M=Td(q,H.pendingProps),M=Td(q.type,M),yU(D,H,q,M,z);case 15:return PU(D,H,H.type,H.pendingProps,z);case 17:return q=H.type,M=H.pendingProps,M=H.elementType===q?M:Td(q,M),aH(D,H),H.tag=1,I1(q)?(D=!0,Z0(H)):D=!1,BA(H,z),ze(H,q,M),gT(H,q,M,z),TU(null,H,q,!0,D,z);case 19:return mU(D,H,z);case 22:return $U(D,H,z)}throw Error(C(156,H.tag))};function cK(D,H){return E8(D,H)}function ye(D,H,z,q){this.tag=D,this.key=z,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=H,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=q,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function bI(D,H,z,q){return new ye(D,H,z,q)}function Cv(D){return D=D.prototype,!(!D||!D.isReactComponent)}function hT(D){if(typeof D==="function")return Cv(D)?1:0;if(D!==void 0&&D!==null){if(D=D.$$typeof,D===g)return 11;if(D===Q)return 14}return 2}function Z8(D,H){var z=D.alternate;return z===null?(z=bI(D.tag,H,D.key,D.mode),z.elementType=D.elementType,z.type=D.type,z.stateNode=D.stateNode,z.alternate=D,D.alternate=z):(z.pendingProps=H,z.type=D.type,z.flags=0,z.subtreeFlags=0,z.deletions=null),z.flags=D.flags&14680064,z.childLanes=D.childLanes,z.lanes=D.lanes,z.child=D.child,z.memoizedProps=D.memoizedProps,z.memoizedState=D.memoizedState,z.updateQueue=D.updateQueue,H=D.dependencies,z.dependencies=H===null?null:{lanes:H.lanes,firstContext:H.firstContext},z.sibling=D.sibling,z.index=D.index,z.ref=D.ref,z}function wF(D,H,z,q,M,y){var t=2;if(q=D,typeof D==="function")Cv(D)&&(t=1);else if(typeof D==="string")t=5;else I:switch(D){case A:return hI(z.children,M,y,H);case V:t=8,M|=8;break;case X:return D=bI(12,z,H,M|2),D.elementType=X,D.lanes=y,D;case J:return D=bI(13,z,H,M),D.elementType=J,D.lanes=y,D;case K:return D=bI(19,z,H,M),D.elementType=K,D.lanes=y,D;case S:return pK(z,M,y,H);default:if(typeof D==="object"&&D!==null)switch(D.$$typeof){case _:t=10;break I;case F:t=9;break I;case g:t=11;break I;case Q:t=14;break I;case E:t=16,q=null;break I}throw Error(C(130,D==null?D:typeof D,""))}return H=bI(t,z,H,M),H.elementType=D,H.type=q,H.lanes=y,H}function hI(D,H,z,q){return D=bI(7,D,q,H),D.lanes=z,D}function pK(D,H,z,q){return D=bI(22,D,q,H),D.elementType=S,D.lanes=z,D.stateNode={isHidden:!1},D}function _A(D,H,z){return D=bI(6,D,null,H),D.lanes=z,D}function DA(D,H,z){return H=bI(4,D.children!==null?D.children:[],D.key,H),H.lanes=z,H.stateNode={containerInfo:D.containerInfo,pendingChildren:null,implementation:D.implementation},H}function uG(D,H,z,q,M){this.tag=H,this.containerInfo=D,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=i1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=qX(0),this.expirationTimes=qX(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qX(0),this.identifierPrefix=q,this.onRecoverableError=M,Z1&&(this.mutableSourceEagerHydrationData=null)}function OX(D,H,z,q,M,y,t,$1,t1){return D=new uG(D,H,z,$1,t1),H===1?(H=1,y===!0&&(H|=8)):H=0,y=bI(3,null,null,H),D.current=y,y.stateNode=D,y.memoizedState={element:q,isDehydrated:z,cache:null,transitions:null,pendingSuspenseBoundaries:null},dT(y),D}function jT(D){if(!D)return c2;D=D._reactInternals;I:{if(T(D)!==D||D.tag!==1)throw Error(C(170));var H=D;do{switch(H.tag){case 3:H=H.stateNode.context;break I;case 1:if(I1(H.type)){H=H.stateNode.__reactInternalMemoizedMergedChildContext;break I}}H=H.return}while(H!==null);throw Error(C(171))}if(D.tag===1){var z=D.type;if(I1(z))return E1(D,z,H)}return H}function kT(D){var H=D._reactInternals;if(H===void 0){if(typeof D.render==="function")throw Error(C(188));throw D=Object.keys(D).join(","),Error(C(268,D))}return D=c1(H),D===null?null:D.stateNode}function xT(D,H){if(D=D.memoizedState,D!==null&&D.dehydrated!==null){var z=D.retryLane;D.retryLane=z!==0&&z<H?z:H}}function BF(D,H){xT(D,H),(D=D.alternate)&&xT(D,H)}function mX(D){return D=c1(D),D===null?null:D.stateNode}function iK(){return null}return G.attemptContinuousHydration=function(D){if(D.tag===13){var H=n7(D,134217728);if(H!==null){var z=G8();e3(H,D,134217728,z)}BF(D,134217728)}},G.attemptDiscreteHydration=function(D){if(D.tag===13){var H=n7(D,1);if(H!==null){var z=G8();e3(H,D,1,z)}BF(D,1)}},G.attemptHydrationAtCurrentPriority=function(D){if(D.tag===13){var H=rW(D),z=n7(D,H);if(z!==null){var q=G8();e3(z,D,H,q)}BF(D,H)}},G.attemptSynchronousHydration=function(D){switch(D.tag){case 3:var H=D.stateNode;if(H.current.memoizedState.isDehydrated){var z=c4(H.pendingLanes);z!==0&&(Ed(H,z|1),F7(H,n9()),(E4&6)===0&&(yX(),Ld()))}break;case 13:TT(function(){var q=n7(D,1);if(q!==null){var M=G8();e3(q,D,1,M)}}),BF(D,1)}},G.batchedUpdates=function(D,H){var z=E4;E4|=1;try{return D(H)}finally{E4=z,E4===0&&(yX(),JK&&Ld())}},G.createComponentSelector=function(D){return{$$typeof:OK,value:D}},G.createContainer=function(D,H,z,q,M,y,t){return OX(D,H,!1,null,z,q,M,y,t)},G.createHasPseudoClassSelector=function(D){return{$$typeof:mK,value:D}},G.createHydrationContainer=function(D,H,z,q,M,y,t,$1,t1){return D=OX(z,q,!0,D,M,y,t,$1,t1),D.context=jT(null),z=D.current,q=G8(),M=rW(z),y=SG(q,M),y.callback=H!==void 0&&H!==null?H:null,bW(z,y,M),D.current.lanes=M,RG(D,M,q),F7(D,q),D},G.createPortal=function(D,H,z){var q=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:B,key:q==null?null:""+q,children:D,containerInfo:H,implementation:z}},G.createRoleSelector=function(D){return{$$typeof:lK,value:D}},G.createTestNameSelector=function(D){return{$$typeof:dF,value:D}},G.createTextSelector=function(D){return{$$typeof:SX,value:D}},G.deferredUpdates=function(D){var H=$4,z=F5.transition;try{return F5.transition=null,$4=16,D()}finally{$4=H,F5.transition=z}},G.discreteUpdates=function(D,H,z,q,M){var y=$4,t=F5.transition;try{return F5.transition=null,$4=1,D(H,z,q,M)}finally{$4=y,F5.transition=t,E4===0&&yX()}},G.findAllNodes=rU,G.findBoundingRects=function(D,H){if(!h1)throw Error(C(363));H=rU(D,H),D=[];for(var z=0;z<H.length;z++)D.push(W1(H[z]));for(H=D.length-1;0<H;H--){z=D[H];for(var q=z.x,M=q+z.width,y=z.y,t=y+z.height,$1=H-1;0<=$1;$1--)if(H!==$1){var t1=D[$1],m0=t1.x,J2=m0+t1.width,l2=t1.y,Z2=l2+t1.height;if(q>=m0&&y>=l2&&M<=J2&&t<=Z2){D.splice(H,1);break}else if(!(q!==m0||z.width!==t1.width||Z2<y||l2>t)){l2>y&&(t1.height+=l2-y,t1.y=y),Z2<t&&(t1.height=t-l2),D.splice(H,1);break}else if(!(y!==l2||z.height!==t1.height||J2<q||m0>M)){m0>q&&(t1.width+=m0-q,t1.x=q),J2<M&&(t1.width=M-m0),D.splice(H,1);break}}}return D},G.findHostInstance=kT,G.findHostInstanceWithNoPortals=function(D){return D=c(D),D=D!==null?a1(D):null,D===null?null:D.stateNode},G.findHostInstanceWithWarning=function(D){return kT(D)},G.flushControlled=function(D){var H=E4;E4|=1;var z=F5.transition,q=$4;try{F5.transition=null,$4=1,D()}finally{$4=q,F5.transition=z,E4=H,E4===0&&(yX(),Ld())}},G.flushPassiveEffects=sW,G.flushSync=TT,G.focusWithin=function(D,H){if(!h1)throw Error(C(363));D=pU(D),H=PT(D,H),H=Array.from(H);for(D=0;D<H.length;){var z=H[D++];if(!L1(z)){if(z.tag===5&&O0(z.stateNode))return!0;for(z=z.child;z!==null;)H.push(z),z=z.sibling}}return!1},G.getCurrentUpdatePriority=function(){return $4},G.getFindAllNodesFailureDescription=function(D,H){if(!h1)throw Error(C(363));var z=0,q=[];D=[pU(D),0];for(var M=0;M<D.length;){var y=D[M++],t=D[M++],$1=H[t];if(y.tag!==5||!L1(y)){if(iU(y,$1)&&(q.push(nU($1)),t++,t>z&&(z=t)),t<H.length)for(y=y.child;y!==null;)D.push(y,t),y=y.sibling}}if(z<H.length){for(D=[];z<H.length;z++)D.push(nU(H[z]));return`findAllNodes was able to match part of the selector:
  `+(q.join(" > ")+`

No matching component was found for:
  `)+D.join(" > ")}return null},G.getPublicRootInstance=function(D){if(D=D.current,!D.child)return null;switch(D.child.tag){case 5:return r(D.child.stateNode);default:return D.child.stateNode}},G.injectIntoDevTools=function(D){if(D={bundleType:D.bundleType,version:D.version,rendererPackageName:D.rendererPackageName,rendererConfig:D.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:W.ReactCurrentDispatcher,findHostInstanceByFiber:mX,findFiberByHostInstance:D.findFiberByHostInstance||iK,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1"},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__==="undefined")D=!1;else{var H=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(H.isDisabled||!H.supportsFiber)D=!0;else{try{gK=H.inject(D),vG=H}catch(z){}D=H.checkDCE?!0:!1}}return D},G.isAlreadyRendering=function(){return!1},G.observeVisibleRects=function(D,H,z,q){if(!h1)throw Error(C(363));D=rU(D,H);var M=k0(D,z,q).disconnect;return{disconnect:function(){M()}}},G.registerMutableSourceForHydration=function(D,H){var z=H._getVersion;z=z(H._source),D.mutableSourceEagerHydrationData==null?D.mutableSourceEagerHydrationData=[H,z]:D.mutableSourceEagerHydrationData.push(H,z)},G.runWithPriority=function(D,H){var z=$4;try{return $4=D,H()}finally{$4=z}},G.shouldError=function(){return null},G.shouldSuspend=function(){return!1},G.updateContainer=function(D,H,z,q){var M=H.current,y=G8(),t=rW(M);return z=jT(z),H.context===null?H.context=z:H.pendingContext=z,H=SG(y,t),H.payload={element:D},q=q===void 0?null:q,q!==null&&(H.callback=q),D=bW(M,H,t),D!==null&&(e3(D,M,t,y),fK(D,M,t)),t},G}});var ok1=Y((pM9,sk1)=>{sk1.exports=()=>{return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g}});var gx1=Y((fS9,Fx1)=>{var{Duplex:L_4}=B1("stream");function Dx1(I){I.emit("close")}function y_4(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function Hx1(I){if(this.removeListener("error",Hx1),this.destroy(),this.listenerCount("error")===0)this.emit("error",I)}function P_4(I,d){let G=!0,Z=new L_4({...d,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return I.on("message",function C(W,w){let B=!w&&Z._readableState.objectMode?W.toString():W;if(!Z.push(B))I.pause()}),I.once("error",function C(W){if(Z.destroyed)return;G=!1,Z.destroy(W)}),I.once("close",function C(){if(Z.destroyed)return;Z.push(null)}),Z._destroy=function(C,W){if(I.readyState===I.CLOSED){W(C),process.nextTick(Dx1,Z);return}let w=!1;if(I.once("error",function B(A){w=!0,W(A)}),I.once("close",function B(){if(!w)W(C);process.nextTick(Dx1,Z)}),G)I.terminate()},Z._final=function(C){if(I.readyState===I.CONNECTING){I.once("open",function W(){Z._final(C)});return}if(I._socket===null)return;if(I._socket._writableState.finished){if(C(),Z._readableState.endEmitted)Z.destroy()}else I._socket.once("finish",function W(){C()}),I.close()},Z._read=function(){if(I.isPaused)I.resume()},Z._write=function(C,W,w){if(I.readyState===I.CONNECTING){I.once("open",function B(){Z._write(C,W,w)});return}I.send(C,w)},Z.on("end",y_4),Z.on("error",Hx1),Z}Fx1.exports=P_4});var sA=Y((qS9,Nx1)=>{var Jx1=["nodebuffer","arraybuffer","fragments"],Kx1=typeof Blob!=="undefined";if(Kx1)Jx1.push("blob");Nx1.exports={BINARY_TYPES:Jx1,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:Kx1,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var SM=Y((RS9,Rj)=>{var{EMPTY_BUFFER:$_4}=sA(),a51=Buffer[Symbol.species];function u_4(I,d){if(I.length===0)return $_4;if(I.length===1)return I[0];let G=Buffer.allocUnsafe(d),Z=0;for(let C=0;C<I.length;C++){let W=I[C];G.set(W,Z),Z+=W.length}if(Z<d)return new a51(G.buffer,G.byteOffset,Z);return G}function zx1(I,d,G,Z,C){for(let W=0;W<C;W++)G[Z+W]=I[W]^d[W&3]}function Qx1(I,d){for(let G=0;G<I.length;G++)I[G]^=d[G&3]}function T_4(I){if(I.length===I.buffer.byteLength)return I.buffer;return I.buffer.slice(I.byteOffset,I.byteOffset+I.length)}function s51(I){if(s51.readOnly=!0,Buffer.isBuffer(I))return I;let d;if(I instanceof ArrayBuffer)d=new a51(I);else if(ArrayBuffer.isView(I))d=new a51(I.buffer,I.byteOffset,I.byteLength);else d=Buffer.from(I),s51.readOnly=!1;return d}Rj.exports={concat:u_4,mask:zx1,toArrayBuffer:T_4,toBuffer:s51,unmask:Qx1};if(!process.env.WS_NO_BUFFER_UTIL)try{let I=(()=>{throw new Error("Cannot require module "+"bufferutil");})();Rj.exports.mask=function(d,G,Z,C,W){if(W<48)zx1(d,G,Z,C,W);else I.mask(d,G,Z,C,W)},Rj.exports.unmask=function(d,G){if(d.length<32)Qx1(d,G);else I.unmask(d,G)}}catch(I){}});var Ux1=Y((US9,Rx1)=>{var fx1=Symbol("kDone"),o51=Symbol("kRun");class qx1{constructor(I){this[fx1]=()=>{this.pending--,this[o51]()},this.concurrency=I||1/0,this.jobs=[],this.pending=0}add(I){this.jobs.push(I),this[o51]()}[o51](){if(this.pending===this.concurrency)return;if(this.jobs.length){let I=this.jobs.shift();this.pending++,I(this[fx1])}}}Rx1.exports=qx1});var PM=Y((vS9,Lx1)=>{var LM=B1("zlib"),vx1=SM(),O_4=Ux1(),{kStatusCode:Ex1}=sA(),m_4=Buffer[Symbol.species],l_4=Buffer.from([0,0,255,255]),Ej=Symbol("permessage-deflate"),oA=Symbol("total-length"),yM=Symbol("callback"),jY=Symbol("buffers"),vj=Symbol("error"),Uj;class Mx1{constructor(I,d,G){if(this._maxPayload=G|0,this._options=I||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._isServer=!!d,this._deflate=null,this._inflate=null,this.params=null,!Uj){let Z=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Uj=new O_4(Z)}}static get extensionName(){return"permessage-deflate"}offer(){let I={};if(this._options.serverNoContextTakeover)I.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)I.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)I.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)I.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)I.client_max_window_bits=!0;return I}accept(I){return I=this.normalizeParams(I),this.params=this._isServer?this.acceptAsServer(I):this.acceptAsClient(I),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let I=this._deflate[yM];if(this._deflate.close(),this._deflate=null,I)I(new Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(I){let d=this._options,G=I.find((Z)=>{if(d.serverNoContextTakeover===!1&&Z.server_no_context_takeover||Z.server_max_window_bits&&(d.serverMaxWindowBits===!1||typeof d.serverMaxWindowBits==="number"&&d.serverMaxWindowBits>Z.server_max_window_bits)||typeof d.clientMaxWindowBits==="number"&&!Z.client_max_window_bits)return!1;return!0});if(!G)throw new Error("None of the extension offers can be accepted");if(d.serverNoContextTakeover)G.server_no_context_takeover=!0;if(d.clientNoContextTakeover)G.client_no_context_takeover=!0;if(typeof d.serverMaxWindowBits==="number")G.server_max_window_bits=d.serverMaxWindowBits;if(typeof d.clientMaxWindowBits==="number")G.client_max_window_bits=d.clientMaxWindowBits;else if(G.client_max_window_bits===!0||d.clientMaxWindowBits===!1)delete G.client_max_window_bits;return G}acceptAsClient(I){let d=I[0];if(this._options.clientNoContextTakeover===!1&&d.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(!d.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")d.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&d.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"');return d}normalizeParams(I){return I.forEach((d)=>{Object.keys(d).forEach((G)=>{let Z=d[G];if(Z.length>1)throw new Error(`Parameter "${G}" must have only a single value`);if(Z=Z[0],G==="client_max_window_bits"){if(Z!==!0){let C=+Z;if(!Number.isInteger(C)||C<8||C>15)throw new TypeError(`Invalid value for parameter "${G}": ${Z}`);Z=C}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${G}": ${Z}`)}else if(G==="server_max_window_bits"){let C=+Z;if(!Number.isInteger(C)||C<8||C>15)throw new TypeError(`Invalid value for parameter "${G}": ${Z}`);Z=C}else if(G==="client_no_context_takeover"||G==="server_no_context_takeover"){if(Z!==!0)throw new TypeError(`Invalid value for parameter "${G}": ${Z}`)}else throw new Error(`Unknown parameter "${G}"`);d[G]=Z})}),I}decompress(I,d,G){Uj.add((Z)=>{this._decompress(I,d,(C,W)=>{Z(),G(C,W)})})}compress(I,d,G){Uj.add((Z)=>{this._compress(I,d,(C,W)=>{Z(),G(C,W)})})}_decompress(I,d,G){let Z=this._isServer?"client":"server";if(!this._inflate){let C=`${Z}_max_window_bits`,W=typeof this.params[C]!=="number"?LM.Z_DEFAULT_WINDOWBITS:this.params[C];this._inflate=LM.createInflateRaw({...this._options.zlibInflateOptions,windowBits:W}),this._inflate[Ej]=this,this._inflate[oA]=0,this._inflate[jY]=[],this._inflate.on("error",h_4),this._inflate.on("data",Sx1)}if(this._inflate[yM]=G,this._inflate.write(I),d)this._inflate.write(l_4);this._inflate.flush(()=>{let C=this._inflate[vj];if(C){this._inflate.close(),this._inflate=null,G(C);return}let W=vx1.concat(this._inflate[jY],this._inflate[oA]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[oA]=0,this._inflate[jY]=[],d&&this.params[`${Z}_no_context_takeover`])this._inflate.reset();G(null,W)})}_compress(I,d,G){let Z=this._isServer?"server":"client";if(!this._deflate){let C=`${Z}_max_window_bits`,W=typeof this.params[C]!=="number"?LM.Z_DEFAULT_WINDOWBITS:this.params[C];this._deflate=LM.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:W}),this._deflate[oA]=0,this._deflate[jY]=[],this._deflate.on("data",b_4)}this._deflate[yM]=G,this._deflate.write(I),this._deflate.flush(LM.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let C=vx1.concat(this._deflate[jY],this._deflate[oA]);if(d)C=new m_4(C.buffer,C.byteOffset,C.length-4);if(this._deflate[yM]=null,this._deflate[oA]=0,this._deflate[jY]=[],d&&this.params[`${Z}_no_context_takeover`])this._deflate.reset();G(null,C)})}}Lx1.exports=Mx1;function b_4(I){this[jY].push(I),this[oA]+=I.length}function Sx1(I){if(this[oA]+=I.length,this[Ej]._maxPayload<1||this[oA]<=this[Ej]._maxPayload){this[jY].push(I);return}this[vj]=new RangeError("Max payload size exceeded"),this[vj].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[vj][Ex1]=1009,this.removeListener("data",Sx1),this.reset()}function h_4(I){this[Ej]._inflate=null,I[Ex1]=1007,this[yM](I)}});var GQ=Y((ES9,Mj)=>{var{isUtf8:yx1}=B1("buffer"),{hasBlob:j_4}=sA(),k_4=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function x_4(I){return I>=1000&&I<=1014&&I!==1004&&I!==1005&&I!==1006||I>=3000&&I<=4999}function e51(I){let d=I.length,G=0;while(G<d)if((I[G]&128)===0)G++;else if((I[G]&224)===192){if(G+1===d||(I[G+1]&192)!==128||(I[G]&254)===192)return!1;G+=2}else if((I[G]&240)===224){if(G+2>=d||(I[G+1]&192)!==128||(I[G+2]&192)!==128||I[G]===224&&(I[G+1]&224)===128||I[G]===237&&(I[G+1]&224)===160)return!1;G+=3}else if((I[G]&248)===240){if(G+3>=d||(I[G+1]&192)!==128||(I[G+2]&192)!==128||(I[G+3]&192)!==128||I[G]===240&&(I[G+1]&240)===128||I[G]===244&&I[G+1]>143||I[G]>244)return!1;G+=4}else return!1;return!0}function c_4(I){return j_4&&typeof I==="object"&&typeof I.arrayBuffer==="function"&&typeof I.type==="string"&&typeof I.stream==="function"&&(I[Symbol.toStringTag]==="Blob"||I[Symbol.toStringTag]==="File")}Mj.exports={isBlob:c_4,isValidStatusCode:x_4,isValidUTF8:e51,tokenChars:k_4};if(yx1)Mj.exports.isValidUTF8=function(I){return I.length<24?e51(I):yx1(I)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let I=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();Mj.exports.isValidUTF8=function(d){return d.length<32?e51(d):I(d)}}catch(I){}});var I91=Y((MS9,Ox1)=>{var{Writable:p_4}=B1("stream"),Px1=PM(),{BINARY_TYPES:i_4,EMPTY_BUFFER:$x1,kStatusCode:n_4,kWebSocket:r_4}=sA(),{concat:t51,toArrayBuffer:a_4,unmask:s_4}=SM(),{isValidStatusCode:o_4,isValidUTF8:ux1}=GQ(),Sj=Buffer[Symbol.species];class Tx1 extends p_4{constructor(I={}){super();this._allowSynchronousEvents=I.allowSynchronousEvents!==void 0?I.allowSynchronousEvents:!0,this._binaryType=I.binaryType||i_4[0],this._extensions=I.extensions||{},this._isServer=!!I.isServer,this._maxPayload=I.maxPayload|0,this._skipUTF8Validation=!!I.skipUTF8Validation,this[r_4]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(I,d,G){if(this._opcode===8&&this._state==0)return G();this._bufferedBytes+=I.length,this._buffers.push(I),this.startLoop(G)}consume(I){if(this._bufferedBytes-=I,I===this._buffers[0].length)return this._buffers.shift();if(I<this._buffers[0].length){let G=this._buffers[0];return this._buffers[0]=new Sj(G.buffer,G.byteOffset+I,G.length-I),new Sj(G.buffer,G.byteOffset,I)}let d=Buffer.allocUnsafe(I);do{let G=this._buffers[0],Z=d.length-I;if(I>=G.length)d.set(this._buffers.shift(),Z);else d.set(new Uint8Array(G.buffer,G.byteOffset,I),Z),this._buffers[0]=new Sj(G.buffer,G.byteOffset+I,G.length-I);I-=G.length}while(I>0);return d}startLoop(I){this._loop=!0;do switch(this._state){case 0:this.getInfo(I);break;case 1:this.getPayloadLength16(I);break;case 2:this.getPayloadLength64(I);break;case 3:this.getMask();break;case 4:this.getData(I);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)I()}getInfo(I){if(this._bufferedBytes<2){this._loop=!1;return}let d=this.consume(2);if((d[0]&48)!==0){let Z=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");I(Z);return}let G=(d[0]&64)===64;if(G&&!this._extensions[Px1.extensionName]){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");I(Z);return}if(this._fin=(d[0]&128)===128,this._opcode=d[0]&15,this._payloadLength=d[1]&127,this._opcode===0){if(G){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");I(Z);return}if(!this._fragmented){let Z=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");I(Z);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");I(Z);return}this._compressed=G}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let Z=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");I(Z);return}if(G){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");I(Z);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let Z=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");I(Z);return}}else{let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");I(Z);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(d[1]&128)===128,this._isServer){if(!this._masked){let Z=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");I(Z);return}}else if(this._masked){let Z=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");I(Z);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(I)}getPayloadLength16(I){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(I)}getPayloadLength64(I){if(this._bufferedBytes<8){this._loop=!1;return}let d=this.consume(8),G=d.readUInt32BE(0);if(G>Math.pow(2,21)-1){let Z=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");I(Z);return}this._payloadLength=G*Math.pow(2,32)+d.readUInt32BE(4),this.haveLength(I)}haveLength(I){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let d=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");I(d);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(I){let d=$x1;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(d=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)s_4(d,this._mask)}if(this._opcode>7){this.controlMessage(d,I);return}if(this._compressed){this._state=5,this.decompress(d,I);return}if(d.length)this._messageLength=this._totalPayloadLength,this._fragments.push(d);this.dataMessage(I)}decompress(I,d){this._extensions[Px1.extensionName].decompress(I,this._fin,(Z,C)=>{if(Z)return d(Z);if(C.length){if(this._messageLength+=C.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let W=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");d(W);return}this._fragments.push(C)}if(this.dataMessage(d),this._state===0)this.startLoop(d)})}dataMessage(I){if(!this._fin){this._state=0;return}let d=this._messageLength,G=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],this._opcode===2){let Z;if(this._binaryType==="nodebuffer")Z=t51(G,d);else if(this._binaryType==="arraybuffer")Z=a_4(t51(G,d));else if(this._binaryType==="blob")Z=new Blob(G);else Z=G;if(this._allowSynchronousEvents)this.emit("message",Z,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!0),this._state=0,this.startLoop(I)})}else{let Z=t51(G,d);if(!this._skipUTF8Validation&&!ux1(Z)){let C=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");I(C);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",Z,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!1),this._state=0,this.startLoop(I)})}}controlMessage(I,d){if(this._opcode===8){if(I.length===0)this._loop=!1,this.emit("conclude",1005,$x1),this.end();else{let G=I.readUInt16BE(0);if(!o_4(G)){let C=this.createError(RangeError,`invalid status code ${G}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");d(C);return}let Z=new Sj(I.buffer,I.byteOffset+2,I.length-2);if(!this._skipUTF8Validation&&!ux1(Z)){let C=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");d(C);return}this._loop=!1,this.emit("conclude",G,Z),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",I),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",I),this._state=0,this.startLoop(d)})}createError(I,d,G,Z,C){this._loop=!1,this._errored=!0;let W=new I(G?`Invalid WebSocket frame: ${d}`:d);return Error.captureStackTrace(W,this.createError),W.code=C,W[n_4]=Z,W}}Ox1.exports=Tx1});var G91=Y((LS9,bx1)=>{var{Duplex:SS9}=B1("stream"),{randomFillSync:e_4}=B1("crypto"),mx1=PM(),{EMPTY_BUFFER:t_4,kWebSocket:ID4,NOOP:dD4}=sA(),{isBlob:ZQ,isValidStatusCode:GD4}=GQ(),{mask:lx1,toBuffer:Dg}=SM(),WZ=Symbol("kByteLength"),ZD4=Buffer.alloc(4),Hg,CQ=8192,SC=0,CD4=1,WD4=2;class kY{constructor(I,d,G){if(this._extensions=d||{},G)this._generateMask=G,this._maskBuffer=Buffer.alloc(4);this._socket=I,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=SC,this.onerror=dD4,this[ID4]=void 0}static frame(I,d){let G,Z=!1,C=2,W=!1;if(d.mask){if(G=d.maskBuffer||ZD4,d.generateMask)d.generateMask(G);else{if(CQ===8192){if(Hg===void 0)Hg=Buffer.alloc(8192);e_4(Hg,0,8192),CQ=0}G[0]=Hg[CQ++],G[1]=Hg[CQ++],G[2]=Hg[CQ++],G[3]=Hg[CQ++]}W=(G[0]|G[1]|G[2]|G[3])===0,C=6}let w;if(typeof I==="string")if((!d.mask||W)&&d[WZ]!==void 0)w=d[WZ];else I=Buffer.from(I),w=I.length;else w=I.length,Z=d.mask&&d.readOnly&&!W;let B=w;if(w>=65536)C+=8,B=127;else if(w>125)C+=2,B=126;let A=Buffer.allocUnsafe(Z?w+C:C);if(A[0]=d.fin?d.opcode|128:d.opcode,d.rsv1)A[0]|=64;if(A[1]=B,B===126)A.writeUInt16BE(w,2);else if(B===127)A[2]=A[3]=0,A.writeUIntBE(w,4,6);if(!d.mask)return[A,I];if(A[1]|=128,A[C-4]=G[0],A[C-3]=G[1],A[C-2]=G[2],A[C-1]=G[3],W)return[A,I];if(Z)return lx1(I,G,A,C,w),[A];return lx1(I,G,I,0,w),[A,I]}close(I,d,G,Z){let C;if(I===void 0)C=t_4;else if(typeof I!=="number"||!GD4(I))throw new TypeError("First argument must be a valid error code number");else if(d===void 0||!d.length)C=Buffer.allocUnsafe(2),C.writeUInt16BE(I,0);else{let w=Buffer.byteLength(d);if(w>123)throw new RangeError("The message must not be greater than 123 bytes");if(C=Buffer.allocUnsafe(2+w),C.writeUInt16BE(I,0),typeof d==="string")C.write(d,2);else C.set(d,2)}let W={[WZ]:C.length,fin:!0,generateMask:this._generateMask,mask:G,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==SC)this.enqueue([this.dispatch,C,!1,W,Z]);else this.sendFrame(kY.frame(C,W),Z)}ping(I,d,G){let Z,C;if(typeof I==="string")Z=Buffer.byteLength(I),C=!1;else if(ZQ(I))Z=I.size,C=!1;else I=Dg(I),Z=I.length,C=Dg.readOnly;if(Z>125)throw new RangeError("The data size must not be greater than 125 bytes");let W={[WZ]:Z,fin:!0,generateMask:this._generateMask,mask:d,maskBuffer:this._maskBuffer,opcode:9,readOnly:C,rsv1:!1};if(ZQ(I))if(this._state!==SC)this.enqueue([this.getBlobData,I,!1,W,G]);else this.getBlobData(I,!1,W,G);else if(this._state!==SC)this.enqueue([this.dispatch,I,!1,W,G]);else this.sendFrame(kY.frame(I,W),G)}pong(I,d,G){let Z,C;if(typeof I==="string")Z=Buffer.byteLength(I),C=!1;else if(ZQ(I))Z=I.size,C=!1;else I=Dg(I),Z=I.length,C=Dg.readOnly;if(Z>125)throw new RangeError("The data size must not be greater than 125 bytes");let W={[WZ]:Z,fin:!0,generateMask:this._generateMask,mask:d,maskBuffer:this._maskBuffer,opcode:10,readOnly:C,rsv1:!1};if(ZQ(I))if(this._state!==SC)this.enqueue([this.getBlobData,I,!1,W,G]);else this.getBlobData(I,!1,W,G);else if(this._state!==SC)this.enqueue([this.dispatch,I,!1,W,G]);else this.sendFrame(kY.frame(I,W),G)}send(I,d,G){let Z=this._extensions[mx1.extensionName],C=d.binary?2:1,W=d.compress,w,B;if(typeof I==="string")w=Buffer.byteLength(I),B=!1;else if(ZQ(I))w=I.size,B=!1;else I=Dg(I),w=I.length,B=Dg.readOnly;if(this._firstFragment){if(this._firstFragment=!1,W&&Z&&Z.params[Z._isServer?"server_no_context_takeover":"client_no_context_takeover"])W=w>=Z._threshold;this._compress=W}else W=!1,C=0;if(d.fin)this._firstFragment=!0;let A={[WZ]:w,fin:d.fin,generateMask:this._generateMask,mask:d.mask,maskBuffer:this._maskBuffer,opcode:C,readOnly:B,rsv1:W};if(ZQ(I))if(this._state!==SC)this.enqueue([this.getBlobData,I,this._compress,A,G]);else this.getBlobData(I,this._compress,A,G);else if(this._state!==SC)this.enqueue([this.dispatch,I,this._compress,A,G]);else this.dispatch(I,this._compress,A,G)}getBlobData(I,d,G,Z){this._bufferedBytes+=G[WZ],this._state=WD4,I.arrayBuffer().then((C)=>{if(this._socket.destroyed){let w=new Error("The socket was closed while the blob was being read");process.nextTick(d91,this,w,Z);return}this._bufferedBytes-=G[WZ];let W=Dg(C);if(!d)this._state=SC,this.sendFrame(kY.frame(W,G),Z),this.dequeue();else this.dispatch(W,d,G,Z)}).catch((C)=>{process.nextTick(wD4,this,C,Z)})}dispatch(I,d,G,Z){if(!d){this.sendFrame(kY.frame(I,G),Z);return}let C=this._extensions[mx1.extensionName];this._bufferedBytes+=G[WZ],this._state=CD4,C.compress(I,G.fin,(W,w)=>{if(this._socket.destroyed){let B=new Error("The socket was closed while data was being compressed");d91(this,B,Z);return}this._bufferedBytes-=G[WZ],this._state=SC,G.readOnly=!1,this.sendFrame(kY.frame(w,G),Z),this.dequeue()})}dequeue(){while(this._state===SC&&this._queue.length){let I=this._queue.shift();this._bufferedBytes-=I[3][WZ],Reflect.apply(I[0],this,I.slice(1))}}enqueue(I){this._bufferedBytes+=I[3][WZ],this._queue.push(I)}sendFrame(I,d){if(I.length===2)this._socket.cork(),this._socket.write(I[0]),this._socket.write(I[1],d),this._socket.uncork();else this._socket.write(I[0],d)}}bx1.exports=kY;function d91(I,d,G){if(typeof G==="function")G(d);for(let Z=0;Z<I._queue.length;Z++){let C=I._queue[Z],W=C[C.length-1];if(typeof W==="function")W(d)}}function wD4(I,d,G){d91(I,d,G),I.onerror(d)}});var rx1=Y((yS9,nx1)=>{var{kForOnEventAttribute:$M,kListener:Z91}=sA(),hx1=Symbol("kCode"),jx1=Symbol("kData"),kx1=Symbol("kError"),xx1=Symbol("kMessage"),cx1=Symbol("kReason"),WQ=Symbol("kTarget"),px1=Symbol("kType"),ix1=Symbol("kWasClean");class xY{constructor(I){this[WQ]=null,this[px1]=I}get target(){return this[WQ]}get type(){return this[px1]}}Object.defineProperty(xY.prototype,"target",{enumerable:!0});Object.defineProperty(xY.prototype,"type",{enumerable:!0});class wQ extends xY{constructor(I,d={}){super(I);this[hx1]=d.code===void 0?0:d.code,this[cx1]=d.reason===void 0?"":d.reason,this[ix1]=d.wasClean===void 0?!1:d.wasClean}get code(){return this[hx1]}get reason(){return this[cx1]}get wasClean(){return this[ix1]}}Object.defineProperty(wQ.prototype,"code",{enumerable:!0});Object.defineProperty(wQ.prototype,"reason",{enumerable:!0});Object.defineProperty(wQ.prototype,"wasClean",{enumerable:!0});class uM extends xY{constructor(I,d={}){super(I);this[kx1]=d.error===void 0?null:d.error,this[xx1]=d.message===void 0?"":d.message}get error(){return this[kx1]}get message(){return this[xx1]}}Object.defineProperty(uM.prototype,"error",{enumerable:!0});Object.defineProperty(uM.prototype,"message",{enumerable:!0});class yj extends xY{constructor(I,d={}){super(I);this[jx1]=d.data===void 0?null:d.data}get data(){return this[jx1]}}Object.defineProperty(yj.prototype,"data",{enumerable:!0});var BD4={addEventListener(I,d,G={}){for(let C of this.listeners(I))if(!G[$M]&&C[Z91]===d&&!C[$M])return;let Z;if(I==="message")Z=function C(W,w){let B=new yj("message",{data:w?W:W.toString()});B[WQ]=this,Lj(d,this,B)};else if(I==="close")Z=function C(W,w){let B=new wQ("close",{code:W,reason:w.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});B[WQ]=this,Lj(d,this,B)};else if(I==="error")Z=function C(W){let w=new uM("error",{error:W,message:W.message});w[WQ]=this,Lj(d,this,w)};else if(I==="open")Z=function C(){let W=new xY("open");W[WQ]=this,Lj(d,this,W)};else return;if(Z[$M]=!!G[$M],Z[Z91]=d,G.once)this.once(I,Z);else this.on(I,Z)},removeEventListener(I,d){for(let G of this.listeners(I))if(G[Z91]===d&&!G[$M]){this.removeListener(I,G);break}}};nx1.exports={CloseEvent:wQ,ErrorEvent:uM,Event:xY,EventTarget:BD4,MessageEvent:yj};function Lj(I,d,G){if(typeof I==="object"&&I.handleEvent)I.handleEvent.call(I,G);else I.call(d,G)}});var C91=Y((PS9,ax1)=>{var{tokenChars:TM}=GQ();function mw(I,d,G){if(I[d]===void 0)I[d]=[G];else I[d].push(G)}function AD4(I){let d=Object.create(null),G=Object.create(null),Z=!1,C=!1,W=!1,w,B,A=-1,V=-1,X=-1,_=0;for(;_<I.length;_++)if(V=I.charCodeAt(_),w===void 0)if(X===-1&&TM[V]===1){if(A===-1)A=_}else if(_!==0&&(V===32||V===9)){if(X===-1&&A!==-1)X=_}else if(V===59||V===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${_}`);if(X===-1)X=_;let g=I.slice(A,X);if(V===44)mw(d,g,G),G=Object.create(null);else w=g;A=X=-1}else throw new SyntaxError(`Unexpected character at index ${_}`);else if(B===void 0)if(X===-1&&TM[V]===1){if(A===-1)A=_}else if(V===32||V===9){if(X===-1&&A!==-1)X=_}else if(V===59||V===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${_}`);if(X===-1)X=_;if(mw(G,I.slice(A,X),!0),V===44)mw(d,w,G),G=Object.create(null),w=void 0;A=X=-1}else if(V===61&&A!==-1&&X===-1)B=I.slice(A,_),A=X=-1;else throw new SyntaxError(`Unexpected character at index ${_}`);else if(C){if(TM[V]!==1)throw new SyntaxError(`Unexpected character at index ${_}`);if(A===-1)A=_;else if(!Z)Z=!0;C=!1}else if(W)if(TM[V]===1){if(A===-1)A=_}else if(V===34&&A!==-1)W=!1,X=_;else if(V===92)C=!0;else throw new SyntaxError(`Unexpected character at index ${_}`);else if(V===34&&I.charCodeAt(_-1)===61)W=!0;else if(X===-1&&TM[V]===1){if(A===-1)A=_}else if(A!==-1&&(V===32||V===9)){if(X===-1)X=_}else if(V===59||V===44){if(A===-1)throw new SyntaxError(`Unexpected character at index ${_}`);if(X===-1)X=_;let g=I.slice(A,X);if(Z)g=g.replace(/\\/g,""),Z=!1;if(mw(G,B,g),V===44)mw(d,w,G),G=Object.create(null),w=void 0;B=void 0,A=X=-1}else throw new SyntaxError(`Unexpected character at index ${_}`);if(A===-1||W||V===32||V===9)throw new SyntaxError("Unexpected end of input");if(X===-1)X=_;let F=I.slice(A,X);if(w===void 0)mw(d,F,G);else{if(B===void 0)mw(G,F,!0);else if(Z)mw(G,B,F.replace(/\\/g,""));else mw(G,B,F);mw(d,w,G)}return d}function VD4(I){return Object.keys(I).map((d)=>{let G=I[d];if(!Array.isArray(G))G=[G];return G.map((Z)=>{return[d].concat(Object.keys(Z).map((C)=>{let W=Z[C];if(!Array.isArray(W))W=[W];return W.map((w)=>w===!0?C:`${C}=${w}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}ax1.exports={format:VD4,parse:AD4}});var V91=Y((TS9,Bc1)=>{var XD4=B1("events"),YD4=B1("https"),_D4=B1("http"),ex1=B1("net"),DD4=B1("tls"),{randomBytes:HD4,createHash:FD4}=B1("crypto"),{Duplex:$S9,Readable:uS9}=B1("stream"),{URL:W91}=B1("url"),cY=PM(),gD4=I91(),JD4=G91(),{isBlob:KD4}=GQ(),{BINARY_TYPES:sx1,EMPTY_BUFFER:Pj,GUID:ND4,kForOnEventAttribute:w91,kListener:zD4,kStatusCode:QD4,kWebSocket:Y8,NOOP:tx1}=sA(),{EventTarget:{addEventListener:fD4,removeEventListener:qD4}}=rx1(),{format:RD4,parse:UD4}=C91(),{toBuffer:vD4}=SM(),Ic1=Symbol("kAborted"),B91=[8,13],eA=["CONNECTING","OPEN","CLOSING","CLOSED"],ED4=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class f4 extends XD4{constructor(I,d,G){super();if(this._binaryType=sx1[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Pj,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=f4.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,I!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,d===void 0)d=[];else if(!Array.isArray(d))if(typeof d==="object"&&d!==null)G=d,d=[];else d=[d];dc1(this,I,d,G)}else this._autoPong=G.autoPong,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(I){if(!sx1.includes(I))return;if(this._binaryType=I,this._receiver)this._receiver._binaryType=I}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(I,d,G){let Z=new gD4({allowSynchronousEvents:G.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxPayload:G.maxPayload,skipUTF8Validation:G.skipUTF8Validation}),C=new JD4(I,this._extensions,G.generateMask);if(this._receiver=Z,this._sender=C,this._socket=I,Z[Y8]=this,C[Y8]=this,I[Y8]=this,Z.on("conclude",LD4),Z.on("drain",yD4),Z.on("error",PD4),Z.on("message",$D4),Z.on("ping",uD4),Z.on("pong",TD4),C.onerror=OD4,I.setTimeout)I.setTimeout(0);if(I.setNoDelay)I.setNoDelay();if(d.length>0)I.unshift(d);I.on("close",Cc1),I.on("data",uj),I.on("end",Wc1),I.on("error",wc1),this._readyState=f4.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=f4.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[cY.extensionName])this._extensions[cY.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=f4.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(I,d){if(this.readyState===f4.CLOSED)return;if(this.readyState===f4.CONNECTING){ad(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===f4.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=f4.CLOSING,this._sender.close(I,d,!this._isServer,(G)=>{if(G)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),Zc1(this)}pause(){if(this.readyState===f4.CONNECTING||this.readyState===f4.CLOSED)return;this._paused=!0,this._socket.pause()}ping(I,d,G){if(this.readyState===f4.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof I==="function")G=I,I=d=void 0;else if(typeof d==="function")G=d,d=void 0;if(typeof I==="number")I=I.toString();if(this.readyState!==f4.OPEN){A91(this,I,G);return}if(d===void 0)d=!this._isServer;this._sender.ping(I||Pj,d,G)}pong(I,d,G){if(this.readyState===f4.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof I==="function")G=I,I=d=void 0;else if(typeof d==="function")G=d,d=void 0;if(typeof I==="number")I=I.toString();if(this.readyState!==f4.OPEN){A91(this,I,G);return}if(d===void 0)d=!this._isServer;this._sender.pong(I||Pj,d,G)}resume(){if(this.readyState===f4.CONNECTING||this.readyState===f4.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(I,d,G){if(this.readyState===f4.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof d==="function")G=d,d={};if(typeof I==="number")I=I.toString();if(this.readyState!==f4.OPEN){A91(this,I,G);return}let Z={binary:typeof I!=="string",mask:!this._isServer,compress:!0,fin:!0,...d};if(!this._extensions[cY.extensionName])Z.compress=!1;this._sender.send(I||Pj,Z,G)}terminate(){if(this.readyState===f4.CLOSED)return;if(this.readyState===f4.CONNECTING){ad(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=f4.CLOSING,this._socket.destroy()}}Object.defineProperty(f4,"CONNECTING",{enumerable:!0,value:eA.indexOf("CONNECTING")});Object.defineProperty(f4.prototype,"CONNECTING",{enumerable:!0,value:eA.indexOf("CONNECTING")});Object.defineProperty(f4,"OPEN",{enumerable:!0,value:eA.indexOf("OPEN")});Object.defineProperty(f4.prototype,"OPEN",{enumerable:!0,value:eA.indexOf("OPEN")});Object.defineProperty(f4,"CLOSING",{enumerable:!0,value:eA.indexOf("CLOSING")});Object.defineProperty(f4.prototype,"CLOSING",{enumerable:!0,value:eA.indexOf("CLOSING")});Object.defineProperty(f4,"CLOSED",{enumerable:!0,value:eA.indexOf("CLOSED")});Object.defineProperty(f4.prototype,"CLOSED",{enumerable:!0,value:eA.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((I)=>{Object.defineProperty(f4.prototype,I,{enumerable:!0})});["open","error","close","message"].forEach((I)=>{Object.defineProperty(f4.prototype,`on${I}`,{enumerable:!0,get(){for(let d of this.listeners(I))if(d[w91])return d[zD4];return null},set(d){for(let G of this.listeners(I))if(G[w91]){this.removeListener(I,G);break}if(typeof d!=="function")return;this.addEventListener(I,d,{[w91]:!0})}})});f4.prototype.addEventListener=fD4;f4.prototype.removeEventListener=qD4;Bc1.exports=f4;function dc1(I,d,G,Z){let C={allowSynchronousEvents:!0,autoPong:!0,protocolVersion:B91[1],maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...Z,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(I._autoPong=C.autoPong,!B91.includes(C.protocolVersion))throw new RangeError(`Unsupported protocol version: ${C.protocolVersion} (supported versions: ${B91.join(", ")})`);let W;if(d instanceof W91)W=d;else try{W=new W91(d)}catch(K){throw new SyntaxError(`Invalid URL: ${d}`)}if(W.protocol==="http:")W.protocol="ws:";else if(W.protocol==="https:")W.protocol="wss:";I._url=W.href;let w=W.protocol==="wss:",B=W.protocol==="ws+unix:",A;if(W.protocol!=="ws:"&&!w&&!B)A=`The URL's protocol must be one of "ws:", "wss:", "http:", "https", or "ws+unix:"`;else if(B&&!W.pathname)A="The URL's pathname is empty";else if(W.hash)A="The URL contains a fragment identifier";if(A){let K=new SyntaxError(A);if(I._redirects===0)throw K;else{$j(I,K);return}}let V=w?443:80,X=HD4(16).toString("base64"),_=w?YD4.request:_D4.request,F=new Set,g;if(C.createConnection=C.createConnection||(w?SD4:MD4),C.defaultPort=C.defaultPort||V,C.port=W.port||V,C.host=W.hostname.startsWith("[")?W.hostname.slice(1,-1):W.hostname,C.headers={...C.headers,"Sec-WebSocket-Version":C.protocolVersion,"Sec-WebSocket-Key":X,Connection:"Upgrade",Upgrade:"websocket"},C.path=W.pathname+W.search,C.timeout=C.handshakeTimeout,C.perMessageDeflate)g=new cY(C.perMessageDeflate!==!0?C.perMessageDeflate:{},!1,C.maxPayload),C.headers["Sec-WebSocket-Extensions"]=RD4({[cY.extensionName]:g.offer()});if(G.length){for(let K of G){if(typeof K!=="string"||!ED4.test(K)||F.has(K))throw new SyntaxError("An invalid or duplicated subprotocol was specified");F.add(K)}C.headers["Sec-WebSocket-Protocol"]=G.join(",")}if(C.origin)if(C.protocolVersion<13)C.headers["Sec-WebSocket-Origin"]=C.origin;else C.headers.Origin=C.origin;if(W.username||W.password)C.auth=`${W.username}:${W.password}`;if(B){let K=C.path.split(":");C.socketPath=K[0],C.path=K[1]}let J;if(C.followRedirects){if(I._redirects===0){I._originalIpc=B,I._originalSecure=w,I._originalHostOrSocketPath=B?C.socketPath:W.host;let K=Z&&Z.headers;if(Z={...Z,headers:{}},K)for(let[Q,E]of Object.entries(K))Z.headers[Q.toLowerCase()]=E}else if(I.listenerCount("redirect")===0){let K=B?I._originalIpc?C.socketPath===I._originalHostOrSocketPath:!1:I._originalIpc?!1:W.host===I._originalHostOrSocketPath;if(!K||I._originalSecure&&!w){if(delete C.headers.authorization,delete C.headers.cookie,!K)delete C.headers.host;C.auth=void 0}}if(C.auth&&!Z.headers.authorization)Z.headers.authorization="Basic "+Buffer.from(C.auth).toString("base64");if(J=I._req=_(C),I._redirects)I.emit("redirect",I.url,J)}else J=I._req=_(C);if(C.timeout)J.on("timeout",()=>{ad(I,J,"Opening handshake has timed out")});if(J.on("error",(K)=>{if(J===null||J[Ic1])return;J=I._req=null,$j(I,K)}),J.on("response",(K)=>{let Q=K.headers.location,E=K.statusCode;if(Q&&C.followRedirects&&E>=300&&E<400){if(++I._redirects>C.maxRedirects){ad(I,J,"Maximum redirects exceeded");return}J.abort();let S;try{S=new W91(Q,d)}catch(P){let $=new SyntaxError(`Invalid URL: ${Q}`);$j(I,$);return}dc1(I,S,G,Z)}else if(!I.emit("unexpected-response",J,K))ad(I,J,`Unexpected server response: ${K.statusCode}`)}),J.on("upgrade",(K,Q,E)=>{if(I.emit("upgrade",K),I.readyState!==f4.CONNECTING)return;J=I._req=null;let S=K.headers.upgrade;if(S===void 0||S.toLowerCase()!=="websocket"){ad(I,Q,"Invalid Upgrade header");return}let P=FD4("sha1").update(X+ND4).digest("base64");if(K.headers["sec-websocket-accept"]!==P){ad(I,Q,"Invalid Sec-WebSocket-Accept header");return}let $=K.headers["sec-websocket-protocol"],h;if($!==void 0){if(!F.size)h="Server sent a subprotocol but none was requested";else if(!F.has($))h="Server sent an invalid subprotocol"}else if(F.size)h="Server sent no subprotocol";if(h){ad(I,Q,h);return}if($)I._protocol=$;let O=K.headers["sec-websocket-extensions"];if(O!==void 0){if(!g){ad(I,Q,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let T;try{T=UD4(O)}catch(c){ad(I,Q,"Invalid Sec-WebSocket-Extensions header");return}let V1=Object.keys(T);if(V1.length!==1||V1[0]!==cY.extensionName){ad(I,Q,"Server indicated an extension that was not requested");return}try{g.accept(T[cY.extensionName])}catch(c){ad(I,Q,"Invalid Sec-WebSocket-Extensions header");return}I._extensions[cY.extensionName]=g}I.setSocket(Q,E,{allowSynchronousEvents:C.allowSynchronousEvents,generateMask:C.generateMask,maxPayload:C.maxPayload,skipUTF8Validation:C.skipUTF8Validation})}),C.finishRequest)C.finishRequest(J,I);else J.end()}function $j(I,d){I._readyState=f4.CLOSING,I._errorEmitted=!0,I.emit("error",d),I.emitClose()}function MD4(I){return I.path=I.socketPath,ex1.connect(I)}function SD4(I){if(I.path=void 0,!I.servername&&I.servername!=="")I.servername=ex1.isIP(I.host)?"":I.host;return DD4.connect(I)}function ad(I,d,G){I._readyState=f4.CLOSING;let Z=new Error(G);if(Error.captureStackTrace(Z,ad),d.setHeader){if(d[Ic1]=!0,d.abort(),d.socket&&!d.socket.destroyed)d.socket.destroy();process.nextTick($j,I,Z)}else d.destroy(Z),d.once("error",I.emit.bind(I,"error")),d.once("close",I.emitClose.bind(I))}function A91(I,d,G){if(d){let Z=KD4(d)?d.size:vD4(d).length;if(I._socket)I._sender._bufferedBytes+=Z;else I._bufferedAmount+=Z}if(G){let Z=new Error(`WebSocket is not open: readyState ${I.readyState} (${eA[I.readyState]})`);process.nextTick(G,Z)}}function LD4(I,d){let G=this[Y8];if(G._closeFrameReceived=!0,G._closeMessage=d,G._closeCode=I,G._socket[Y8]===void 0)return;if(G._socket.removeListener("data",uj),process.nextTick(Gc1,G._socket),I===1005)G.close();else G.close(I,d)}function yD4(){let I=this[Y8];if(!I.isPaused)I._socket.resume()}function PD4(I){let d=this[Y8];if(d._socket[Y8]!==void 0)d._socket.removeListener("data",uj),process.nextTick(Gc1,d._socket),d.close(I[QD4]);if(!d._errorEmitted)d._errorEmitted=!0,d.emit("error",I)}function ox1(){this[Y8].emitClose()}function $D4(I,d){this[Y8].emit("message",I,d)}function uD4(I){let d=this[Y8];if(d._autoPong)d.pong(I,!this._isServer,tx1);d.emit("ping",I)}function TD4(I){this[Y8].emit("pong",I)}function Gc1(I){I.resume()}function OD4(I){let d=this[Y8];if(d.readyState===f4.CLOSED)return;if(d.readyState===f4.OPEN)d._readyState=f4.CLOSING,Zc1(d);if(this._socket.end(),!d._errorEmitted)d._errorEmitted=!0,d.emit("error",I)}function Zc1(I){I._closeTimer=setTimeout(I._socket.destroy.bind(I._socket),30000)}function Cc1(){let I=this[Y8];this.removeListener("close",Cc1),this.removeListener("data",uj),this.removeListener("end",Wc1),I._readyState=f4.CLOSING;let d;if(!this._readableState.endEmitted&&!I._closeFrameReceived&&!I._receiver._writableState.errorEmitted&&(d=I._socket.read())!==null)I._receiver.write(d);if(I._receiver.end(),this[Y8]=void 0,clearTimeout(I._closeTimer),I._receiver._writableState.finished||I._receiver._writableState.errorEmitted)I.emitClose();else I._receiver.on("error",ox1),I._receiver.on("finish",ox1)}function uj(I){if(!this[Y8]._receiver.write(I))this.pause()}function Wc1(){let I=this[Y8];I._readyState=f4.CLOSING,I._receiver.end(),this.end()}function wc1(){let I=this[Y8];if(this.removeListener("error",wc1),this.on("error",tx1),I)I._readyState=f4.CLOSING,this.destroy()}});var Vc1=Y((OS9,Ac1)=>{var{tokenChars:mD4}=GQ();function lD4(I){let d=new Set,G=-1,Z=-1,C=0;for(C;C<I.length;C++){let w=I.charCodeAt(C);if(Z===-1&&mD4[w]===1){if(G===-1)G=C}else if(C!==0&&(w===32||w===9)){if(Z===-1&&G!==-1)Z=C}else if(w===44){if(G===-1)throw new SyntaxError(`Unexpected character at index ${C}`);if(Z===-1)Z=C;let B=I.slice(G,Z);if(d.has(B))throw new SyntaxError(`The "${B}" subprotocol is duplicated`);d.add(B),G=Z=-1}else throw new SyntaxError(`Unexpected character at index ${C}`)}if(G===-1||Z!==-1)throw new SyntaxError("Unexpected end of input");let W=I.slice(G,C);if(d.has(W))throw new SyntaxError(`The "${W}" subprotocol is duplicated`);return d.add(W),d}Ac1.exports={parse:lD4}});var Hc1=Y((lS9,Dc1)=>{var bD4=B1("events"),Tj=B1("http"),{Duplex:mS9}=B1("stream"),{createHash:hD4}=B1("crypto"),Xc1=C91(),Fg=PM(),jD4=Vc1(),kD4=V91(),{GUID:xD4,kWebSocket:cD4}=sA(),pD4=/^[+/0-9A-Za-z]{22}==$/;class _c1 extends bD4{constructor(I,d){super();if(I={allowSynchronousEvents:!0,autoPong:!0,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:kD4,...I},I.port==null&&!I.server&&!I.noServer||I.port!=null&&(I.server||I.noServer)||I.server&&I.noServer)throw new TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(I.port!=null)this._server=Tj.createServer((G,Z)=>{let C=Tj.STATUS_CODES[426];Z.writeHead(426,{"Content-Length":C.length,"Content-Type":"text/plain"}),Z.end(C)}),this._server.listen(I.port,I.host,I.backlog,d);else if(I.server)this._server=I.server;if(this._server){let G=this.emit.bind(this,"connection");this._removeListeners=iD4(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(Z,C,W)=>{this.handleUpgrade(Z,C,W,G)}})}if(I.perMessageDeflate===!0)I.perMessageDeflate={};if(I.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=I,this._state=0}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(I){if(this._state===2){if(I)this.once("close",()=>{I(new Error("The server is not running"))});process.nextTick(OM,this);return}if(I)this.once("close",I);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(OM,this);else this._shouldEmitClose=!0;else process.nextTick(OM,this)}else{let d=this._server;this._removeListeners(),this._removeListeners=this._server=null,d.close(()=>{OM(this)})}}shouldHandle(I){if(this.options.path){let d=I.url.indexOf("?");if((d!==-1?I.url.slice(0,d):I.url)!==this.options.path)return!1}return!0}handleUpgrade(I,d,G,Z){d.on("error",Yc1);let C=I.headers["sec-websocket-key"],W=I.headers.upgrade,w=+I.headers["sec-websocket-version"];if(I.method!=="GET"){gg(this,I,d,405,"Invalid HTTP method");return}if(W===void 0||W.toLowerCase()!=="websocket"){gg(this,I,d,400,"Invalid Upgrade header");return}if(C===void 0||!pD4.test(C)){gg(this,I,d,400,"Missing or invalid Sec-WebSocket-Key header");return}if(w!==8&&w!==13){gg(this,I,d,400,"Missing or invalid Sec-WebSocket-Version header");return}if(!this.shouldHandle(I)){mM(d,400);return}let B=I.headers["sec-websocket-protocol"],A=new Set;if(B!==void 0)try{A=jD4.parse(B)}catch(_){gg(this,I,d,400,"Invalid Sec-WebSocket-Protocol header");return}let V=I.headers["sec-websocket-extensions"],X={};if(this.options.perMessageDeflate&&V!==void 0){let _=new Fg(this.options.perMessageDeflate,!0,this.options.maxPayload);try{let F=Xc1.parse(V);if(F[Fg.extensionName])_.accept(F[Fg.extensionName]),X[Fg.extensionName]=_}catch(F){gg(this,I,d,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let _={origin:I.headers[`${w===8?"sec-websocket-origin":"origin"}`],secure:!!(I.socket.authorized||I.socket.encrypted),req:I};if(this.options.verifyClient.length===2){this.options.verifyClient(_,(F,g,J,K)=>{if(!F)return mM(d,g||401,J,K);this.completeUpgrade(X,C,A,I,d,G,Z)});return}if(!this.options.verifyClient(_))return mM(d,401)}this.completeUpgrade(X,C,A,I,d,G,Z)}completeUpgrade(I,d,G,Z,C,W,w){if(!C.readable||!C.writable)return C.destroy();if(C[cD4])throw new Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return mM(C,503);let A=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${hD4("sha1").update(d+xD4).digest("base64")}`],V=new this.options.WebSocket(null,void 0,this.options);if(G.size){let X=this.options.handleProtocols?this.options.handleProtocols(G,Z):G.values().next().value;if(X)A.push(`Sec-WebSocket-Protocol: ${X}`),V._protocol=X}if(I[Fg.extensionName]){let X=I[Fg.extensionName].params,_=Xc1.format({[Fg.extensionName]:[X]});A.push(`Sec-WebSocket-Extensions: ${_}`),V._extensions=I}if(this.emit("headers",A,Z),C.write(A.concat(`\r
`).join(`\r
`)),C.removeListener("error",Yc1),V.setSocket(C,W,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(V),V.on("close",()=>{if(this.clients.delete(V),this._shouldEmitClose&&!this.clients.size)process.nextTick(OM,this)});w(V,Z)}}Dc1.exports=_c1;function iD4(I,d){for(let G of Object.keys(d))I.on(G,d[G]);return function G(){for(let Z of Object.keys(d))I.removeListener(Z,d[Z])}}function OM(I){I._state=2,I.emit("close")}function Yc1(){this.destroy()}function mM(I,d,G,Z){G=G||Tj.STATUS_CODES[d],Z={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(G),...Z},I.once("finish",I.destroy),I.end(`HTTP/1.1 ${d} ${Tj.STATUS_CODES[d]}\r
`+Object.keys(Z).map((C)=>`${C}: ${Z[C]}`).join(`\r
`)+`\r
\r
`+G)}function gg(I,d,G,Z,C){if(I.listenerCount("wsClientError")){let W=new Error(C);Error.captureStackTrace(W,gg),I.emit("wsClientError",W,G,d)}else mM(G,Z,C)}});var nD4,rD4,aD4,Fc1,sD4,gc1;var Jc1=Gw(()=>{nD4=J1(gx1(),1),rD4=J1(I91(),1),aD4=J1(G91(),1),Fc1=J1(V91(),1),sD4=J1(Hc1(),1),gc1=Fc1.default});var Oj;var Kc1=Gw(()=>{Jc1();Oj=global;Oj.WebSocket||=gc1;Oj.window||=global;Oj.self||=global;Oj.window.__REACT_DEVTOOLS_COMPONENT_FILTERS__=[{type:1,value:7,isEnabled:!0},{type:2,value:"InternalApp",isEnabled:!0,isValid:!0},{type:2,value:"InternalAppContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdoutContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStderrContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalStdinContext",isEnabled:!0,isValid:!0},{type:2,value:"InternalFocusContext",isEnabled:!0,isValid:!0}]});var Nc1=Y((mj,X91)=>{(function I(d,G){if(typeof mj==="object"&&typeof X91==="object")X91.exports=G();else if(typeof define==="function"&&define.amd)define([],G);else if(typeof mj==="object")mj.ReactDevToolsBackend=G();else d.ReactDevToolsBackend=G()})(self,()=>{return(()=>{var I={602:(C,W,w)=>{var B;function A(f1){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")A=function r(A1){return typeof A1};else A=function r(A1){return A1&&typeof Symbol==="function"&&A1.constructor===Symbol&&A1!==Symbol.prototype?"symbol":typeof A1};return A(f1)}var V=w(206),X=w(189),_=Object.assign,F=X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,g=[],J=null;function K(){if(J===null){var f1=new Map;try{S.useContext({_currentValue:null}),S.useState(null),S.useReducer(function(T1){return T1},null),S.useRef(null),typeof S.useCacheRefresh==="function"&&S.useCacheRefresh(),S.useLayoutEffect(function(){}),S.useInsertionEffect(function(){}),S.useEffect(function(){}),S.useImperativeHandle(void 0,function(){return null}),S.useDebugValue(null),S.useCallback(function(){}),S.useMemo(function(){return null}),typeof S.useMemoCache==="function"&&S.useMemoCache(0)}finally{var r=g;g=[]}for(var A1=0;A1<r.length;A1++){var m1=r[A1];f1.set(m1.primitive,V.parse(m1.stackError))}J=f1}return J}var Q=null;function E(){var f1=Q;return f1!==null&&(Q=f1.next),f1}var S={use:function f1(){throw Error("Support for `use` not yet implemented in react-debug-tools.")},readContext:function f1(r){return r._currentValue},useCacheRefresh:function f1(){var r=E();return g.push({primitive:"CacheRefresh",stackError:Error(),value:r!==null?r.memoizedState:function(){}}),function(){}},useCallback:function f1(r){var A1=E();return g.push({primitive:"Callback",stackError:Error(),value:A1!==null?A1.memoizedState[0]:r}),r},useContext:function f1(r){return g.push({primitive:"Context",stackError:Error(),value:r._currentValue}),r._currentValue},useEffect:function f1(r){E(),g.push({primitive:"Effect",stackError:Error(),value:r})},useImperativeHandle:function f1(r){E();var A1=void 0;r!==null&&A(r)==="object"&&(A1=r.current),g.push({primitive:"ImperativeHandle",stackError:Error(),value:A1})},useDebugValue:function f1(r,A1){g.push({primitive:"DebugValue",stackError:Error(),value:typeof A1==="function"?A1(r):r})},useLayoutEffect:function f1(r){E(),g.push({primitive:"LayoutEffect",stackError:Error(),value:r})},useInsertionEffect:function f1(r){E(),g.push({primitive:"InsertionEffect",stackError:Error(),value:r})},useMemo:function f1(r){var A1=E();return r=A1!==null?A1.memoizedState[0]:r(),g.push({primitive:"Memo",stackError:Error(),value:r}),r},useMemoCache:function f1(){return[]},useReducer:function f1(r,A1,m1){return r=E(),A1=r!==null?r.memoizedState:m1!==void 0?m1(A1):A1,g.push({primitive:"Reducer",stackError:Error(),value:A1}),[A1,function(){}]},useRef:function f1(r){var A1=E();return r=A1!==null?A1.memoizedState:{current:r},g.push({primitive:"Ref",stackError:Error(),value:r.current}),r},useState:function f1(r){var A1=E();return r=A1!==null?A1.memoizedState:typeof r==="function"?r():r,g.push({primitive:"State",stackError:Error(),value:r}),[r,function(){}]},useTransition:function f1(){return E(),E(),g.push({primitive:"Transition",stackError:Error(),value:void 0}),[!1,function(){}]},useSyncExternalStore:function f1(r,A1){return E(),E(),r=A1(),g.push({primitive:"SyncExternalStore",stackError:Error(),value:r}),r},useDeferredValue:function f1(r){var A1=E();return g.push({primitive:"DeferredValue",stackError:Error(),value:A1!==null?A1.memoizedState:r}),r},useId:function f1(){var r=E();return r=r!==null?r.memoizedState:"",g.push({primitive:"Id",stackError:Error(),value:r}),r}},P={get:function f1(r,A1){if(r.hasOwnProperty(A1))return r[A1];throw r=Error("Missing method in Dispatcher: "+A1),r.name="ReactDebugToolsUnsupportedHookError",r}},$=typeof Proxy==="undefined"?S:new Proxy(S,P),h=0;function O(f1,r,A1){var m1=r[A1].source,T1=0;I:for(;T1<f1.length;T1++)if(f1[T1].source===m1){for(var e1=A1+1,F0=T1+1;e1<r.length&&F0<f1.length;e1++,F0++)if(f1[F0].source!==r[e1].source)continue I;return T1}return-1}function T(f1,r){if(!f1)return!1;return r="use"+r,f1.length<r.length?!1:f1.lastIndexOf(r)===f1.length-r.length}function V1(f1,r,A1){for(var m1=[],T1=null,e1=m1,F0=0,P0=[],B0=0;B0<r.length;B0++){var a0=r[B0],e=f1,G0=V.parse(a0.stackError);I:{var H1=G0,j1=O(H1,e,h);if(j1!==-1)e=j1;else{for(var i1=0;i1<e.length&&5>i1;i1++)if(j1=O(H1,e,i1),j1!==-1){h=i1,e=j1;break I}e=-1}}I:{if(H1=G0,j1=K().get(a0.primitive),j1!==void 0){for(i1=0;i1<j1.length&&i1<H1.length;i1++)if(j1[i1].source!==H1[i1].source){i1<H1.length-1&&T(H1[i1].functionName,a0.primitive)&&i1++,i1<H1.length-1&&T(H1[i1].functionName,a0.primitive)&&i1++,H1=i1;break I}}H1=-1}if(G0=e===-1||H1===-1||2>e-H1?null:G0.slice(H1,e-1),G0!==null){if(e=0,T1!==null){for(;e<G0.length&&e<T1.length&&G0[G0.length-e-1].source===T1[T1.length-e-1].source;)e++;for(T1=T1.length-1;T1>e;T1--)e1=P0.pop()}for(T1=G0.length-e-1;1<=T1;T1--)e=[],H1=G0[T1],(j1=G0[T1-1].functionName)?(i1=j1.lastIndexOf("."),i1===-1&&(i1=0),j1.slice(i1,i1+3)==="use"&&(i1+=3),j1=j1.slice(i1)):j1="",j1={id:null,isStateEditable:!1,name:j1,value:void 0,subHooks:e},A1&&(j1.hookSource={lineNumber:H1.lineNumber,columnNumber:H1.columnNumber,functionName:H1.functionName,fileName:H1.fileName}),e1.push(j1),P0.push(e1),e1=e;T1=G0}e=a0.primitive,a0={id:e==="Context"||e==="DebugValue"?null:F0++,isStateEditable:e==="Reducer"||e==="State",name:e,value:a0.value,subHooks:[]},A1&&(e={lineNumber:null,functionName:null,fileName:null,columnNumber:null},G0&&1<=G0.length&&(G0=G0[0],e.lineNumber=G0.lineNumber,e.functionName=G0.functionName,e.fileName=G0.fileName,e.columnNumber=G0.columnNumber),a0.hookSource=e),e1.push(a0)}return c(m1,null),m1}function c(f1,r){for(var A1=[],m1=0;m1<f1.length;m1++){var T1=f1[m1];T1.name==="DebugValue"&&T1.subHooks.length===0?(f1.splice(m1,1),m1--,A1.push(T1)):c(T1.subHooks,T1)}r!==null&&(A1.length===1?r.value=A1[0].value:1<A1.length&&(r.value=A1.map(function(e1){return e1.value})))}function c1(f1){if(f1 instanceof Error&&f1.name==="ReactDebugToolsUnsupportedHookError")throw f1;var r=Error("Error rendering inspected component",{cause:f1});throw r.name="ReactDebugToolsRenderError",r.cause=f1,r}function o1(f1,r,A1){var m1=3<arguments.length&&arguments[3]!==void 0?arguments[3]:!1;A1==null&&(A1=F.ReactCurrentDispatcher);var T1=A1.current;A1.current=$;try{var e1=Error();f1(r)}catch(P0){c1(P0)}finally{var F0=g;g=[],A1.current=T1}return T1=V.parse(e1),V1(T1,F0,m1)}function a1(f1){f1.forEach(function(r,A1){return A1._currentValue=r})}B=o1,W.inspectHooksOfFiber=function(f1,r){var A1=2<arguments.length&&arguments[2]!==void 0?arguments[2]:!1;if(r==null&&(r=F.ReactCurrentDispatcher),f1.tag!==0&&f1.tag!==15&&f1.tag!==11)throw Error("Unknown Fiber. Needs to be a function component to inspect hooks.");K();var{type:m1,memoizedProps:T1}=f1;if(m1!==f1.elementType&&m1&&m1.defaultProps){T1=_({},T1);var e1=m1.defaultProps;for(F0 in e1)T1[F0]===void 0&&(T1[F0]=e1[F0])}Q=f1.memoizedState;var F0=new Map;try{for(e1=f1;e1;){if(e1.tag===10){var P0=e1.type._context;F0.has(P0)||(F0.set(P0,P0._currentValue),P0._currentValue=e1.memoizedProps.value)}e1=e1.return}if(f1.tag===11){var B0=m1.render;m1=T1;var a0=f1.ref;P0=r;var e=P0.current;P0.current=$;try{var G0=Error();B0(m1,a0)}catch(i1){c1(i1)}finally{var H1=g;g=[],P0.current=e}var j1=V.parse(G0);return V1(j1,H1,A1)}return o1(m1,T1,r,A1)}finally{Q=null,a1(F0)}}},987:(C,W,w)=>{C.exports=w(602)},9:(C,W)=>{var w;function B(c){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")B=function c1(o1){return typeof o1};else B=function c1(o1){return o1&&typeof Symbol==="function"&&o1.constructor===Symbol&&o1!==Symbol.prototype?"symbol":typeof o1};return B(c)}var A=Symbol.for("react.element"),V=Symbol.for("react.portal"),X=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),J=Symbol.for("react.context"),K=Symbol.for("react.server_context"),Q=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),$=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),O=Symbol.for("react.cache"),T=Symbol.for("react.client.reference");function V1(c){if(B(c)==="object"&&c!==null){var c1=c.$$typeof;switch(c1){case A:switch(c=c.type,c){case X:case F:case _:case E:case S:return c;default:switch(c=c&&c.$$typeof,c){case K:case J:case Q:case $:case P:case g:return c;default:return c1}}case V:return c1}}}W.ContextConsumer=J,W.ContextProvider=g,w=A,W.ForwardRef=Q,W.Fragment=X,W.Lazy=$,W.Memo=P,W.Portal=V,W.Profiler=F,W.StrictMode=_,W.Suspense=E,w=S,w=function(){return!1},w=function(){return!1},w=function(c){return V1(c)===J},w=function(c){return V1(c)===g},W.isElement=function(c){return B(c)==="object"&&c!==null&&c.$$typeof===A},w=function(c){return V1(c)===Q},w=function(c){return V1(c)===X},w=function(c){return V1(c)===$},w=function(c){return V1(c)===P},w=function(c){return V1(c)===V},w=function(c){return V1(c)===F},w=function(c){return V1(c)===_},w=function(c){return V1(c)===E},w=function(c){return V1(c)===S},w=function(c){return typeof c==="string"||typeof c==="function"||c===X||c===F||c===_||c===E||c===S||c===h||c===O||B(c)==="object"&&c!==null&&(c.$$typeof===$||c.$$typeof===P||c.$$typeof===g||c.$$typeof===J||c.$$typeof===Q||c.$$typeof===T||c.getModuleId!==void 0)?!0:!1},W.typeOf=V1},550:(C,W,w)=>{C.exports=w(9)},978:(C,W)=>{function w(j){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")w=function W1(U1){return typeof U1};else w=function W1(U1){return U1&&typeof Symbol==="function"&&U1.constructor===Symbol&&U1!==Symbol.prototype?"symbol":typeof U1};return w(j)}var B=Symbol.for("react.element"),A=Symbol.for("react.portal"),V=Symbol.for("react.fragment"),X=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),F=Symbol.for("react.provider"),g=Symbol.for("react.context"),J=Symbol.for("react.server_context"),K=Symbol.for("react.forward_ref"),Q=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),$=Symbol.for("react.debug_trace_mode"),h=Symbol.for("react.offscreen"),O=Symbol.for("react.cache"),T=Symbol.for("react.default_value"),V1=Symbol.for("react.postpone"),c=Symbol.iterator;function c1(j){if(j===null||w(j)!=="object")return null;return j=c&&j[c]||j["@@iterator"],typeof j==="function"?j:null}var o1={isMounted:function j(){return!1},enqueueForceUpdate:function j(){},enqueueReplaceState:function j(){},enqueueSetState:function j(){}},a1=Object.assign,f1={};function r(j,W1,U1){this.props=j,this.context=W1,this.refs=f1,this.updater=U1||o1}r.prototype.isReactComponent={},r.prototype.setState=function(j,W1){if(w(j)!=="object"&&typeof j!=="function"&&j!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,j,W1,"setState")},r.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function A1(){}A1.prototype=r.prototype;function m1(j,W1,U1){this.props=j,this.context=W1,this.refs=f1,this.updater=U1||o1}var T1=m1.prototype=new A1;T1.constructor=m1,a1(T1,r.prototype),T1.isPureReactComponent=!0;var e1=Array.isArray,F0=Object.prototype.hasOwnProperty,P0={current:null},B0={key:!0,ref:!0,__self:!0,__source:!0};function a0(j,W1,U1){var L1,D0={},O0=null,k0=null;if(W1!=null)for(L1 in W1.ref!==void 0&&(k0=W1.ref),W1.key!==void 0&&(O0=""+W1.key),W1)F0.call(W1,L1)&&!B0.hasOwnProperty(L1)&&(D0[L1]=W1[L1]);var i0=arguments.length-2;if(i0===1)D0.children=U1;else if(1<i0){for(var s0=Array(i0),P2=0;P2<i0;P2++)s0[P2]=arguments[P2+2];D0.children=s0}if(j&&j.defaultProps)for(L1 in i0=j.defaultProps,i0)D0[L1]===void 0&&(D0[L1]=i0[L1]);return{$$typeof:B,type:j,key:O0,ref:k0,props:D0,_owner:P0.current}}function e(j,W1){return{$$typeof:B,type:j.type,key:W1,ref:j.ref,props:j.props,_owner:j._owner}}function G0(j){return w(j)==="object"&&j!==null&&j.$$typeof===B}function H1(j){var W1={"=":"=0",":":"=2"};return"$"+j.replace(/[=:]/g,function(U1){return W1[U1]})}var j1=/\/+/g;function i1(j,W1){return w(j)==="object"&&j!==null&&j.key!=null?H1(""+j.key):W1.toString(36)}function E0(j,W1,U1,L1,D0){var O0=w(j);if(O0==="undefined"||O0==="boolean")j=null;var k0=!1;if(j===null)k0=!0;else switch(O0){case"string":case"number":k0=!0;break;case"object":switch(j.$$typeof){case B:case A:k0=!0}}if(k0)return k0=j,D0=D0(k0),j=L1===""?"."+i1(k0,0):L1,e1(D0)?(U1="",j!=null&&(U1=j.replace(j1,"$&/")+"/"),E0(D0,W1,U1,"",function(P2){return P2})):D0!=null&&(G0(D0)&&(D0=e(D0,U1+(!D0.key||k0&&k0.key===D0.key?"":(""+D0.key).replace(j1,"$&/")+"/")+j)),W1.push(D0)),1;if(k0=0,L1=L1===""?".":L1+":",e1(j))for(var i0=0;i0<j.length;i0++){O0=j[i0];var s0=L1+i1(O0,i0);k0+=E0(O0,W1,U1,s0,D0)}else if(s0=c1(j),typeof s0==="function")for(j=s0.call(j),i0=0;!(O0=j.next()).done;)O0=O0.value,s0=L1+i1(O0,i0++),k0+=E0(O0,W1,U1,s0,D0);else if(O0==="object")throw W1=String(j),Error("Objects are not valid as a React child (found: "+(W1==="[object Object]"?"object with keys {"+Object.keys(j).join(", ")+"}":W1)+"). If you meant to render a collection of children, use an array instead.");return k0}function k(j,W1,U1){if(j==null)return j;var L1=[],D0=0;return E0(j,L1,"","",function(O0){return W1.call(U1,O0,D0++)}),L1}function a(j){if(j._status===-1){var W1=j._result;W1=W1(),W1.then(function(U1){if(j._status===0||j._status===-1)j._status=1,j._result=U1},function(U1){if(j._status===0||j._status===-1)j._status=2,j._result=U1}),j._status===-1&&(j._status=0,j._result=W1)}if(j._status===1)return j._result.default;throw j._result}var Z1={current:null};function Q1(){return new WeakMap}function N1(){return{s:0,v:void 0,o:null,p:null}}var F1={current:null};function O1(j,W1){return F1.current.useOptimistic(j,W1)}var K1={transition:null},R1={},h1={ReactCurrentDispatcher:F1,ReactCurrentCache:Z1,ReactCurrentBatchConfig:K1,ReactCurrentOwner:P0,ContextRegistry:R1};W.Children={map:k,forEach:function j(W1,U1,L1){k(W1,function(){U1.apply(this,arguments)},L1)},count:function j(W1){var U1=0;return k(W1,function(){U1++}),U1},toArray:function j(W1){return k(W1,function(U1){return U1})||[]},only:function j(W1){if(!G0(W1))throw Error("React.Children.only expected to receive a single React element child.");return W1}},W.Component=r,W.Fragment=V,W.Profiler=_,W.PureComponent=m1,W.StrictMode=X,W.Suspense=Q,W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=h1,W.cache=function(j){return function(){var W1=Z1.current;if(!W1)return j.apply(null,arguments);var U1=W1.getCacheForType(Q1);W1=U1.get(j),W1===void 0&&(W1=N1(),U1.set(j,W1)),U1=0;for(var L1=arguments.length;U1<L1;U1++){var D0=arguments[U1];if(typeof D0==="function"||w(D0)==="object"&&D0!==null){var O0=W1.o;O0===null&&(W1.o=O0=new WeakMap),W1=O0.get(D0),W1===void 0&&(W1=N1(),O0.set(D0,W1))}else O0=W1.p,O0===null&&(W1.p=O0=new Map),W1=O0.get(D0),W1===void 0&&(W1=N1(),O0.set(D0,W1))}if(W1.s===1)return W1.v;if(W1.s===2)throw W1.v;try{var k0=j.apply(null,arguments);return U1=W1,U1.s=1,U1.v=k0}catch(i0){throw k0=W1,k0.s=2,k0.v=i0,i0}}},W.cloneElement=function(j,W1,U1){if(j===null||j===void 0)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+j+".");var L1=a1({},j.props),D0=j.key,O0=j.ref,k0=j._owner;if(W1!=null){if(W1.ref!==void 0&&(O0=W1.ref,k0=P0.current),W1.key!==void 0&&(D0=""+W1.key),j.type&&j.type.defaultProps)var i0=j.type.defaultProps;for(s0 in W1)F0.call(W1,s0)&&!B0.hasOwnProperty(s0)&&(L1[s0]=W1[s0]===void 0&&i0!==void 0?i0[s0]:W1[s0])}var s0=arguments.length-2;if(s0===1)L1.children=U1;else if(1<s0){i0=Array(s0);for(var P2=0;P2<s0;P2++)i0[P2]=arguments[P2+2];L1.children=i0}return{$$typeof:B,type:j.type,key:D0,ref:O0,props:L1,_owner:k0}},W.createContext=function(j){return j={$$typeof:g,_currentValue:j,_currentValue2:j,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},j.Provider={$$typeof:F,_context:j},j.Consumer=j},W.createElement=a0,W.createFactory=function(j){var W1=a0.bind(null,j);return W1.type=j,W1},W.createRef=function(){return{current:null}},W.createServerContext=function(j,W1){var U1=!0;if(!R1[j]){U1=!1;var L1={$$typeof:J,_currentValue:W1,_currentValue2:W1,_defaultValue:W1,_threadCount:0,Provider:null,Consumer:null,_globalName:j};L1.Provider={$$typeof:F,_context:L1},R1[j]=L1}if(L1=R1[j],L1._defaultValue===T)L1._defaultValue=W1,L1._currentValue===T&&(L1._currentValue=W1),L1._currentValue2===T&&(L1._currentValue2=W1);else if(U1)throw Error("ServerContext: "+j+" already defined");return L1},W.experimental_useEffectEvent=function(j){return F1.current.useEffectEvent(j)},W.experimental_useOptimistic=function(j,W1){return O1(j,W1)},W.forwardRef=function(j){return{$$typeof:K,render:j}},W.isValidElement=G0,W.lazy=function(j){return{$$typeof:P,_payload:{_status:-1,_result:j},_init:a}},W.memo=function(j,W1){return{$$typeof:S,type:j,compare:W1===void 0?null:W1}},W.startTransition=function(j){var W1=K1.transition;K1.transition={};try{j()}finally{K1.transition=W1}},W.unstable_Cache=O,W.unstable_DebugTracingMode=$,W.unstable_Offscreen=h,W.unstable_SuspenseList=E,W.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},W.unstable_getCacheForType=function(j){var W1=Z1.current;return W1?W1.getCacheForType(j):j()},W.unstable_getCacheSignal=function(){var j=Z1.current;return j?j.getCacheSignal():(j=new AbortController,j.abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),j.signal)},W.unstable_postpone=function(j){throw j=Error(j),j.$$typeof=V1,j},W.unstable_useCacheRefresh=function(){return F1.current.useCacheRefresh()},W.unstable_useMemoCache=function(j){return F1.current.useMemoCache(j)},W.use=function(j){return F1.current.use(j)},W.useCallback=function(j,W1){return F1.current.useCallback(j,W1)},W.useContext=function(j){return F1.current.useContext(j)},W.useDebugValue=function(){},W.useDeferredValue=function(j,W1){return F1.current.useDeferredValue(j,W1)},W.useEffect=function(j,W1){return F1.current.useEffect(j,W1)},W.useId=function(){return F1.current.useId()},W.useImperativeHandle=function(j,W1,U1){return F1.current.useImperativeHandle(j,W1,U1)},W.useInsertionEffect=function(j,W1){return F1.current.useInsertionEffect(j,W1)},W.useLayoutEffect=function(j,W1){return F1.current.useLayoutEffect(j,W1)},W.useMemo=function(j,W1){return F1.current.useMemo(j,W1)},W.useOptimistic=O1,W.useReducer=function(j,W1,U1){return F1.current.useReducer(j,W1,U1)},W.useRef=function(j){return F1.current.useRef(j)},W.useState=function(j){return F1.current.useState(j)},W.useSyncExternalStore=function(j,W1,U1){return F1.current.useSyncExternalStore(j,W1,U1)},W.useTransition=function(){return F1.current.useTransition()},W.version="18.3.0-experimental-51ffd3564-20231025"},189:(C,W,w)=>{C.exports=w(978)},206:function(C,W,w){var B,A,V;function X(_){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")X=function F(g){return typeof g};else X=function F(g){return g&&typeof Symbol==="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g};return X(_)}(function(_,F){A=[w(430)],B=F,V=typeof B==="function"?B.apply(W,A):B,V!==void 0&&(C.exports=V)})(this,function _(F){var g=/(^|@)\S+:\d+/,J=/^\s*at .*(\S+:\d+|\(native\))/m,K=/^(eval@)?(\[native code])?$/;return{parse:function Q(E){if(typeof E.stacktrace!=="undefined"||typeof E["opera#sourceloc"]!=="undefined")return this.parseOpera(E);else if(E.stack&&E.stack.match(J))return this.parseV8OrIE(E);else if(E.stack)return this.parseFFOrSafari(E);else throw new Error("Cannot parse given Error object")},extractLocation:function Q(E){if(E.indexOf(":")===-1)return[E];var S=/(.+?)(?::(\d+))?(?::(\d+))?$/,P=S.exec(E.replace(/[()]/g,""));return[P[1],P[2]||void 0,P[3]||void 0]},parseV8OrIE:function Q(E){var S=E.stack.split(`
`).filter(function(P){return!!P.match(J)},this);return S.map(function(P){if(P.indexOf("(eval ")>-1)P=P.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,"");var $=P.replace(/^\s+/,"").replace(/\(eval code/g,"("),h=$.match(/ (\((.+):(\d+):(\d+)\)$)/);$=h?$.replace(h[0],""):$;var O=$.split(/\s+/).slice(1),T=this.extractLocation(h?h[1]:O.pop()),V1=O.join(" ")||void 0,c=["eval","<anonymous>"].indexOf(T[0])>-1?void 0:T[0];return new F({functionName:V1,fileName:c,lineNumber:T[1],columnNumber:T[2],source:P})},this)},parseFFOrSafari:function Q(E){var S=E.stack.split(`
`).filter(function(P){return!P.match(K)},this);return S.map(function(P){if(P.indexOf(" > eval")>-1)P=P.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1");if(P.indexOf("@")===-1&&P.indexOf(":")===-1)return new F({functionName:P});else{var $=/((.*".+"[^@]*)?[^@]*)(?:@)/,h=P.match($),O=h&&h[1]?h[1]:void 0,T=this.extractLocation(P.replace($,""));return new F({functionName:O,fileName:T[0],lineNumber:T[1],columnNumber:T[2],source:P})}},this)},parseOpera:function Q(E){if(!E.stacktrace||E.message.indexOf(`
`)>-1&&E.message.split(`
`).length>E.stacktrace.split(`
`).length)return this.parseOpera9(E);else if(!E.stack)return this.parseOpera10(E);else return this.parseOpera11(E)},parseOpera9:function Q(E){var S=/Line (\d+).*script (?:in )?(\S+)/i,P=E.message.split(`
`),$=[];for(var h=2,O=P.length;h<O;h+=2){var T=S.exec(P[h]);if(T)$.push(new F({fileName:T[2],lineNumber:T[1],source:P[h]}))}return $},parseOpera10:function Q(E){var S=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,P=E.stacktrace.split(`
`),$=[];for(var h=0,O=P.length;h<O;h+=2){var T=S.exec(P[h]);if(T)$.push(new F({functionName:T[3]||void 0,fileName:T[2],lineNumber:T[1],source:P[h]}))}return $},parseOpera11:function Q(E){var S=E.stack.split(`
`).filter(function(P){return!!P.match(g)&&!P.match(/^Error created at/)},this);return S.map(function(P){var $=P.split("@"),h=this.extractLocation($.pop()),O=$.shift()||"",T=O.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,V1;if(O.match(/\(([^)]*)\)/))V1=O.replace(/^[^(]+\(([^)]*)\)$/,"$1");var c=V1===void 0||V1==="[arguments not available]"?void 0:V1.split(",");return new F({functionName:T,args:c,fileName:h[0],lineNumber:h[1],columnNumber:h[2],source:P})},this)}}})},172:(C)=>{function W(a1){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")W=function f1(r){return typeof r};else W=function f1(r){return r&&typeof Symbol==="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r};return W(a1)}var w="Expected a function",B=NaN,A="[object Symbol]",V=/^\s+|\s+$/g,X=/^[-+]0x[0-9a-f]+$/i,_=/^0b[01]+$/i,F=/^0o[0-7]+$/i,g=parseInt,J=(typeof global==="undefined"?"undefined":W(global))=="object"&&global&&global.Object===Object&&global,K=(typeof self==="undefined"?"undefined":W(self))=="object"&&self&&self.Object===Object&&self,Q=J||K||Function("return this")(),E=Object.prototype,S=E.toString,P=Math.max,$=Math.min,h=function a1(){return Q.Date.now()};function O(a1,f1,r){var A1,m1,T1,e1,F0,P0,B0=0,a0=!1,e=!1,G0=!0;if(typeof a1!="function")throw new TypeError(w);if(f1=o1(f1)||0,V1(r))a0=!!r.leading,e="maxWait"in r,T1=e?P(o1(r.maxWait)||0,f1):T1,G0="trailing"in r?!!r.trailing:G0;function H1(F1){var O1=A1,K1=m1;return A1=m1=void 0,B0=F1,e1=a1.apply(K1,O1),e1}function j1(F1){return B0=F1,F0=setTimeout(k,f1),a0?H1(F1):e1}function i1(F1){var O1=F1-P0,K1=F1-B0,R1=f1-O1;return e?$(R1,T1-K1):R1}function E0(F1){var O1=F1-P0,K1=F1-B0;return P0===void 0||O1>=f1||O1<0||e&&K1>=T1}function k(){var F1=h();if(E0(F1))return a(F1);F0=setTimeout(k,i1(F1))}function a(F1){if(F0=void 0,G0&&A1)return H1(F1);return A1=m1=void 0,e1}function Z1(){if(F0!==void 0)clearTimeout(F0);B0=0,A1=P0=m1=F0=void 0}function Q1(){return F0===void 0?e1:a(h())}function N1(){var F1=h(),O1=E0(F1);if(A1=arguments,m1=this,P0=F1,O1){if(F0===void 0)return j1(P0);if(e)return F0=setTimeout(k,f1),H1(P0)}if(F0===void 0)F0=setTimeout(k,f1);return e1}return N1.cancel=Z1,N1.flush=Q1,N1}function T(a1,f1,r){var A1=!0,m1=!0;if(typeof a1!="function")throw new TypeError(w);if(V1(r))A1="leading"in r?!!r.leading:A1,m1="trailing"in r?!!r.trailing:m1;return O(a1,f1,{leading:A1,maxWait:f1,trailing:m1})}function V1(a1){var f1=W(a1);return!!a1&&(f1=="object"||f1=="function")}function c(a1){return!!a1&&W(a1)=="object"}function c1(a1){return W(a1)=="symbol"||c(a1)&&S.call(a1)==A}function o1(a1){if(typeof a1=="number")return a1;if(c1(a1))return B;if(V1(a1)){var f1=typeof a1.valueOf=="function"?a1.valueOf():a1;a1=V1(f1)?f1+"":f1}if(typeof a1!="string")return a1===0?a1:+a1;a1=a1.replace(V,"");var r=_.test(a1);return r||F.test(a1)?g(a1.slice(2),r?2:8):X.test(a1)?B:+a1}C.exports=T},730:(C,W,w)=>{var B=w(169);C.exports=T;var A=w(307),V=w(82),X=w(695),_=typeof Symbol==="function"&&B.env._nodeLRUCacheForceNoSymbol!=="1",F;if(_)F=function r(A1){return Symbol(A1)};else F=function r(A1){return"_"+A1};var g=F("max"),J=F("length"),K=F("lengthCalculator"),Q=F("allowStale"),E=F("maxAge"),S=F("dispose"),P=F("noDisposeOnSet"),$=F("lruList"),h=F("cache");function O(){return 1}function T(r){if(!(this instanceof T))return new T(r);if(typeof r==="number")r={max:r};if(!r)r={};var A1=this[g]=r.max;if(!A1||typeof A1!=="number"||A1<=0)this[g]=1/0;var m1=r.length||O;if(typeof m1!=="function")m1=O;this[K]=m1,this[Q]=r.stale||!1,this[E]=r.maxAge||0,this[S]=r.dispose,this[P]=r.noDisposeOnSet||!1,this.reset()}Object.defineProperty(T.prototype,"max",{set:function r(A1){if(!A1||typeof A1!=="number"||A1<=0)A1=1/0;this[g]=A1,o1(this)},get:function r(){return this[g]},enumerable:!0}),Object.defineProperty(T.prototype,"allowStale",{set:function r(A1){this[Q]=!!A1},get:function r(){return this[Q]},enumerable:!0}),Object.defineProperty(T.prototype,"maxAge",{set:function r(A1){if(!A1||typeof A1!=="number"||A1<0)A1=0;this[E]=A1,o1(this)},get:function r(){return this[E]},enumerable:!0}),Object.defineProperty(T.prototype,"lengthCalculator",{set:function r(A1){if(typeof A1!=="function")A1=O;if(A1!==this[K])this[K]=A1,this[J]=0,this[$].forEach(function(m1){m1.length=this[K](m1.value,m1.key),this[J]+=m1.length},this);o1(this)},get:function r(){return this[K]},enumerable:!0}),Object.defineProperty(T.prototype,"length",{get:function r(){return this[J]},enumerable:!0}),Object.defineProperty(T.prototype,"itemCount",{get:function r(){return this[$].length},enumerable:!0}),T.prototype.rforEach=function(r,A1){A1=A1||this;for(var m1=this[$].tail;m1!==null;){var T1=m1.prev;V1(this,r,m1,A1),m1=T1}};function V1(r,A1,m1,T1){var e1=m1.value;if(c1(r,e1)){if(a1(r,m1),!r[Q])e1=void 0}if(e1)A1.call(T1,e1.value,e1.key,r)}T.prototype.forEach=function(r,A1){A1=A1||this;for(var m1=this[$].head;m1!==null;){var T1=m1.next;V1(this,r,m1,A1),m1=T1}},T.prototype.keys=function(){return this[$].toArray().map(function(r){return r.key},this)},T.prototype.values=function(){return this[$].toArray().map(function(r){return r.value},this)},T.prototype.reset=function(){if(this[S]&&this[$]&&this[$].length)this[$].forEach(function(r){this[S](r.key,r.value)},this);this[h]=new A,this[$]=new X,this[J]=0},T.prototype.dump=function(){return this[$].map(function(r){if(!c1(this,r))return{k:r.key,v:r.value,e:r.now+(r.maxAge||0)}},this).toArray().filter(function(r){return r})},T.prototype.dumpLru=function(){return this[$]},T.prototype.inspect=function(r,A1){var m1="LRUCache {",T1=!1,e1=this[Q];if(e1)m1+=`
  allowStale: true`,T1=!0;var F0=this[g];if(F0&&F0!==1/0){if(T1)m1+=",";m1+=`
  max: `+V.inspect(F0,A1),T1=!0}var P0=this[E];if(P0){if(T1)m1+=",";m1+=`
  maxAge: `+V.inspect(P0,A1),T1=!0}var B0=this[K];if(B0&&B0!==O){if(T1)m1+=",";m1+=`
  length: `+V.inspect(this[J],A1),T1=!0}var a0=!1;if(this[$].forEach(function(e){if(a0)m1+=`,
  `;else{if(T1)m1+=`,
`;a0=!0,m1+=`
  `}var G0=V.inspect(e.key).split(`
`).join(`
  `),H1={value:e.value};if(e.maxAge!==P0)H1.maxAge=e.maxAge;if(B0!==O)H1.length=e.length;if(c1(this,e))H1.stale=!0;H1=V.inspect(H1,A1).split(`
`).join(`
  `),m1+=G0+" => "+H1}),a0||T1)m1+=`
`;return m1+="}",m1},T.prototype.set=function(r,A1,m1){m1=m1||this[E];var T1=m1?Date.now():0,e1=this[K](A1,r);if(this[h].has(r)){if(e1>this[g])return a1(this,this[h].get(r)),!1;var F0=this[h].get(r),P0=F0.value;if(this[S]){if(!this[P])this[S](r,P0.value)}return P0.now=T1,P0.maxAge=m1,P0.value=A1,this[J]+=e1-P0.length,P0.length=e1,this.get(r),o1(this),!0}var B0=new f1(r,A1,e1,T1,m1);if(B0.length>this[g]){if(this[S])this[S](r,A1);return!1}return this[J]+=B0.length,this[$].unshift(B0),this[h].set(r,this[$].head),o1(this),!0},T.prototype.has=function(r){if(!this[h].has(r))return!1;var A1=this[h].get(r).value;if(c1(this,A1))return!1;return!0},T.prototype.get=function(r){return c(this,r,!0)},T.prototype.peek=function(r){return c(this,r,!1)},T.prototype.pop=function(){var r=this[$].tail;if(!r)return null;return a1(this,r),r.value},T.prototype.del=function(r){a1(this,this[h].get(r))},T.prototype.load=function(r){this.reset();var A1=Date.now();for(var m1=r.length-1;m1>=0;m1--){var T1=r[m1],e1=T1.e||0;if(e1===0)this.set(T1.k,T1.v);else{var F0=e1-A1;if(F0>0)this.set(T1.k,T1.v,F0)}}},T.prototype.prune=function(){var r=this;this[h].forEach(function(A1,m1){c(r,m1,!1)})};function c(r,A1,m1){var T1=r[h].get(A1);if(T1){var e1=T1.value;if(c1(r,e1)){if(a1(r,T1),!r[Q])e1=void 0}else if(m1)r[$].unshiftNode(T1);if(e1)e1=e1.value}return e1}function c1(r,A1){if(!A1||!A1.maxAge&&!r[E])return!1;var m1=!1,T1=Date.now()-A1.now;if(A1.maxAge)m1=T1>A1.maxAge;else m1=r[E]&&T1>r[E];return m1}function o1(r){if(r[J]>r[g])for(var A1=r[$].tail;r[J]>r[g]&&A1!==null;){var m1=A1.prev;a1(r,A1),A1=m1}}function a1(r,A1){if(A1){var m1=A1.value;if(r[S])r[S](m1.key,m1.value);r[J]-=m1.length,r[h].delete(m1.key),r[$].removeNode(A1)}}function f1(r,A1,m1,T1,e1){this.key=r,this.value=A1,this.length=m1,this.now=T1,this.maxAge=e1||0}},169:(C)=>{var W=C.exports={},w,B;function A(){throw new Error("setTimeout has not been defined")}function V(){throw new Error("clearTimeout has not been defined")}(function(){try{if(typeof setTimeout==="function")w=setTimeout;else w=A}catch($){w=A}try{if(typeof clearTimeout==="function")B=clearTimeout;else B=V}catch($){B=V}})();function X($){if(w===setTimeout)return setTimeout($,0);if((w===A||!w)&&setTimeout)return w=setTimeout,setTimeout($,0);try{return w($,0)}catch(h){try{return w.call(null,$,0)}catch(O){return w.call(this,$,0)}}}function _($){if(B===clearTimeout)return clearTimeout($);if((B===V||!B)&&clearTimeout)return B=clearTimeout,clearTimeout($);try{return B($)}catch(h){try{return B.call(null,$)}catch(O){return B.call(this,$)}}}var F=[],g=!1,J,K=-1;function Q(){if(!g||!J)return;if(g=!1,J.length)F=J.concat(F);else K=-1;if(F.length)E()}function E(){if(g)return;var $=X(Q);g=!0;var h=F.length;while(h){J=F,F=[];while(++K<h)if(J)J[K].run();K=-1,h=F.length}J=null,g=!1,_($)}W.nextTick=function($){var h=new Array(arguments.length-1);if(arguments.length>1)for(var O=1;O<arguments.length;O++)h[O-1]=arguments[O];if(F.push(new S($,h)),F.length===1&&!g)X(E)};function S($,h){this.fun=$,this.array=h}S.prototype.run=function(){this.fun.apply(null,this.array)},W.title="browser",W.browser=!0,W.env={},W.argv=[],W.version="",W.versions={};function P(){}W.on=P,W.addListener=P,W.once=P,W.off=P,W.removeListener=P,W.removeAllListeners=P,W.emit=P,W.prependListener=P,W.prependOnceListener=P,W.listeners=function($){return[]},W.binding=function($){throw new Error("process.binding is not supported")},W.cwd=function(){return"/"},W.chdir=function($){throw new Error("process.chdir is not supported")},W.umask=function(){return 0}},307:(C,W,w)=>{var B=w(169);if(B.env.npm_package_name==="pseudomap"&&B.env.npm_lifecycle_script==="test")B.env.TEST_PSEUDOMAP="true";if(typeof Map==="function"&&!B.env.TEST_PSEUDOMAP)C.exports=Map;else C.exports=w(761)},761:(C)=>{var W=Object.prototype.hasOwnProperty;C.exports=w;function w(_){if(!(this instanceof w))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),_)if(_ instanceof w||typeof Map==="function"&&_ instanceof Map)_.forEach(function(F,g){this.set(g,F)},this);else if(Array.isArray(_))_.forEach(function(F){this.set(F[0],F[1])},this);else throw new TypeError("invalid argument")}w.prototype.forEach=function(_,F){F=F||this,Object.keys(this._data).forEach(function(g){if(g!=="size")_.call(F,this._data[g].value,this._data[g].key)},this)},w.prototype.has=function(_){return!!V(this._data,_)},w.prototype.get=function(_){var F=V(this._data,_);return F&&F.value},w.prototype.set=function(_,F){X(this._data,_,F)},w.prototype.delete=function(_){var F=V(this._data,_);if(F)delete this._data[F._index],this._data.size--},w.prototype.clear=function(){var _=Object.create(null);_.size=0,Object.defineProperty(this,"_data",{value:_,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(w.prototype,"size",{get:function _(){return this._data.size},set:function _(F){},enumerable:!0,configurable:!0}),w.prototype.values=w.prototype.keys=w.prototype.entries=function(){throw new Error("iterators are not implemented in this version")};function B(_,F){return _===F||_!==_&&F!==F}function A(_,F,g){this.key=_,this.value=F,this._index=g}function V(_,F){for(var g=0,J="_"+F,K=J;W.call(_,K);K=J+g++)if(B(_[K].key,F))return _[K]}function X(_,F,g){for(var J=0,K="_"+F,Q=K;W.call(_,Q);Q=K+J++)if(B(_[Q].key,F)){_[Q].value=g;return}_.size++,_[Q]=new A(F,g,Q)}},430:function(C,W){var w,B,A;function V(X){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")V=function _(F){return typeof F};else V=function _(F){return F&&typeof Symbol==="function"&&F.constructor===Symbol&&F!==Symbol.prototype?"symbol":typeof F};return V(X)}(function(X,_){B=[],w=_,A=typeof w==="function"?w.apply(W,B):w,A!==void 0&&(C.exports=A)})(this,function(){function X(O){return!isNaN(parseFloat(O))&&isFinite(O)}function _(O){return O.charAt(0).toUpperCase()+O.substring(1)}function F(O){return function(){return this[O]}}var g=["isConstructor","isEval","isNative","isToplevel"],J=["columnNumber","lineNumber"],K=["fileName","functionName","source"],Q=["args"],E=g.concat(J,K,Q);function S(O){if(!O)return;for(var T=0;T<E.length;T++)if(O[E[T]]!==void 0)this["set"+_(E[T])](O[E[T]])}S.prototype={getArgs:function O(){return this.args},setArgs:function O(T){if(Object.prototype.toString.call(T)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=T},getEvalOrigin:function O(){return this.evalOrigin},setEvalOrigin:function O(T){if(T instanceof S)this.evalOrigin=T;else if(T instanceof Object)this.evalOrigin=new S(T);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function O(){var T=this.getFileName()||"",V1=this.getLineNumber()||"",c=this.getColumnNumber()||"",c1=this.getFunctionName()||"";if(this.getIsEval()){if(T)return"[eval] ("+T+":"+V1+":"+c+")";return"[eval]:"+V1+":"+c}if(c1)return c1+" ("+T+":"+V1+":"+c+")";return T+":"+V1+":"+c}},S.fromString=function O(T){var V1=T.indexOf("("),c=T.lastIndexOf(")"),c1=T.substring(0,V1),o1=T.substring(V1+1,c).split(","),a1=T.substring(c+1);if(a1.indexOf("@")===0)var f1=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(a1,""),r=f1[1],A1=f1[2],m1=f1[3];return new S({functionName:c1,args:o1||void 0,fileName:r,lineNumber:A1||void 0,columnNumber:m1||void 0})};for(var P=0;P<g.length;P++)S.prototype["get"+_(g[P])]=F(g[P]),S.prototype["set"+_(g[P])]=function(O){return function(T){this[O]=Boolean(T)}}(g[P]);for(var $=0;$<J.length;$++)S.prototype["get"+_(J[$])]=F(J[$]),S.prototype["set"+_(J[$])]=function(O){return function(T){if(!X(T))throw new TypeError(O+" must be a Number");this[O]=Number(T)}}(J[$]);for(var h=0;h<K.length;h++)S.prototype["get"+_(K[h])]=F(K[h]),S.prototype["set"+_(K[h])]=function(O){return function(T){this[O]=String(T)}}(K[h]);return S})},718:(C)=>{if(typeof Object.create==="function")C.exports=function W(w,B){w.super_=B,w.prototype=Object.create(B.prototype,{constructor:{value:w,enumerable:!1,writable:!0,configurable:!0}})};else C.exports=function W(w,B){w.super_=B;var A=function V(){};A.prototype=B.prototype,w.prototype=new A,w.prototype.constructor=w}},715:(C)=>{function W(w){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")W=function B(A){return typeof A};else W=function B(A){return A&&typeof Symbol==="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A};return W(w)}C.exports=function w(B){return B&&W(B)==="object"&&typeof B.copy==="function"&&typeof B.fill==="function"&&typeof B.readUInt8==="function"}},82:(C,W,w)=>{var B=w(169);function A(H1){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")A=function j1(i1){return typeof i1};else A=function j1(i1){return i1&&typeof Symbol==="function"&&i1.constructor===Symbol&&i1!==Symbol.prototype?"symbol":typeof i1};return A(H1)}var V=/%[sdj%]/g;W.format=function(H1){if(!o1(H1)){var j1=[];for(var i1=0;i1<arguments.length;i1++)j1.push(F(arguments[i1]));return j1.join(" ")}var i1=1,E0=arguments,k=E0.length,a=String(H1).replace(V,function(Q1){if(Q1==="%%")return"%";if(i1>=k)return Q1;switch(Q1){case"%s":return String(E0[i1++]);case"%d":return Number(E0[i1++]);case"%j":try{return JSON.stringify(E0[i1++])}catch(N1){return"[Circular]"}default:return Q1}});for(var Z1=E0[i1];i1<k;Z1=E0[++i1])if(V1(Z1)||!A1(Z1))a+=" "+Z1;else a+=" "+F(Z1);return a},W.deprecate=function(H1,j1){if(f1(global.process))return function(){return W.deprecate(H1,j1).apply(this,arguments)};if(B.noDeprecation===!0)return H1;var i1=!1;function E0(){if(!i1){if(B.throwDeprecation)throw new Error(j1);else if(B.traceDeprecation)console.trace(j1);else console.error(j1);i1=!0}return H1.apply(this,arguments)}return E0};var X={},_;W.debuglog=function(H1){if(f1(_))_=B.env.NODE_DEBUG||"";if(H1=H1.toUpperCase(),!X[H1])if(new RegExp("\\b"+H1+"\\b","i").test(_)){var j1=B.pid;X[H1]=function(){var i1=W.format.apply(W,arguments);console.error("%s %d: %s",H1,j1,i1)}}else X[H1]=function(){};return X[H1]};function F(H1,j1){var i1={seen:[],stylize:J};if(arguments.length>=3)i1.depth=arguments[2];if(arguments.length>=4)i1.colors=arguments[3];if(T(j1))i1.showHidden=j1;else if(j1)W._extend(i1,j1);if(f1(i1.showHidden))i1.showHidden=!1;if(f1(i1.depth))i1.depth=2;if(f1(i1.colors))i1.colors=!1;if(f1(i1.customInspect))i1.customInspect=!0;if(i1.colors)i1.stylize=g;return Q(i1,H1,i1.depth)}W.inspect=F,F.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},F.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function g(H1,j1){var i1=F.styles[j1];if(i1)return"\x1B["+F.colors[i1][0]+"m"+H1+"\x1B["+F.colors[i1][1]+"m";else return H1}function J(H1,j1){return H1}function K(H1){var j1={};return H1.forEach(function(i1,E0){j1[i1]=!0}),j1}function Q(H1,j1,i1){if(H1.customInspect&&j1&&e1(j1.inspect)&&j1.inspect!==W.inspect&&!(j1.constructor&&j1.constructor.prototype===j1)){var E0=j1.inspect(i1,H1);if(!o1(E0))E0=Q(H1,E0,i1);return E0}var k=E(H1,j1);if(k)return k;var a=Object.keys(j1),Z1=K(a);if(H1.showHidden)a=Object.getOwnPropertyNames(j1);if(T1(j1)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return S(j1);if(a.length===0){if(e1(j1)){var Q1=j1.name?": "+j1.name:"";return H1.stylize("[Function"+Q1+"]","special")}if(r(j1))return H1.stylize(RegExp.prototype.toString.call(j1),"regexp");if(m1(j1))return H1.stylize(Date.prototype.toString.call(j1),"date");if(T1(j1))return S(j1)}var N1="",F1=!1,O1=["{","}"];if(O(j1))F1=!0,O1=["[","]"];if(e1(j1)){var K1=j1.name?": "+j1.name:"";N1=" [Function"+K1+"]"}if(r(j1))N1=" "+RegExp.prototype.toString.call(j1);if(m1(j1))N1=" "+Date.prototype.toUTCString.call(j1);if(T1(j1))N1=" "+S(j1);if(a.length===0&&(!F1||j1.length==0))return O1[0]+N1+O1[1];if(i1<0)if(r(j1))return H1.stylize(RegExp.prototype.toString.call(j1),"regexp");else return H1.stylize("[Object]","special");H1.seen.push(j1);var R1;if(F1)R1=P(H1,j1,i1,Z1,a);else R1=a.map(function(h1){return $(H1,j1,i1,Z1,h1,F1)});return H1.seen.pop(),h(R1,N1,O1)}function E(H1,j1){if(f1(j1))return H1.stylize("undefined","undefined");if(o1(j1)){var i1="'"+JSON.stringify(j1).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return H1.stylize(i1,"string")}if(c1(j1))return H1.stylize(""+j1,"number");if(T(j1))return H1.stylize(""+j1,"boolean");if(V1(j1))return H1.stylize("null","null")}function S(H1){return"["+Error.prototype.toString.call(H1)+"]"}function P(H1,j1,i1,E0,k){var a=[];for(var Z1=0,Q1=j1.length;Z1<Q1;++Z1)if(G0(j1,String(Z1)))a.push($(H1,j1,i1,E0,String(Z1),!0));else a.push("");return k.forEach(function(N1){if(!N1.match(/^\d+$/))a.push($(H1,j1,i1,E0,N1,!0))}),a}function $(H1,j1,i1,E0,k,a){var Z1,Q1,N1;if(N1=Object.getOwnPropertyDescriptor(j1,k)||{value:j1[k]},N1.get)if(N1.set)Q1=H1.stylize("[Getter/Setter]","special");else Q1=H1.stylize("[Getter]","special");else if(N1.set)Q1=H1.stylize("[Setter]","special");if(!G0(E0,k))Z1="["+k+"]";if(!Q1)if(H1.seen.indexOf(N1.value)<0){if(V1(i1))Q1=Q(H1,N1.value,null);else Q1=Q(H1,N1.value,i1-1);if(Q1.indexOf(`
`)>-1)if(a)Q1=Q1.split(`
`).map(function(F1){return"  "+F1}).join(`
`).substr(2);else Q1=`
`+Q1.split(`
`).map(function(F1){return"   "+F1}).join(`
`)}else Q1=H1.stylize("[Circular]","special");if(f1(Z1)){if(a&&k.match(/^\d+$/))return Q1;if(Z1=JSON.stringify(""+k),Z1.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/))Z1=Z1.substr(1,Z1.length-2),Z1=H1.stylize(Z1,"name");else Z1=Z1.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z1=H1.stylize(Z1,"string")}return Z1+": "+Q1}function h(H1,j1,i1){var E0=0,k=H1.reduce(function(a,Z1){if(E0++,Z1.indexOf(`
`)>=0)E0++;return a+Z1.replace(/\u001b\[\d\d?m/g,"").length+1},0);if(k>60)return i1[0]+(j1===""?"":j1+`
 `)+" "+H1.join(`,
  `)+" "+i1[1];return i1[0]+j1+" "+H1.join(", ")+" "+i1[1]}function O(H1){return Array.isArray(H1)}W.isArray=O;function T(H1){return typeof H1==="boolean"}W.isBoolean=T;function V1(H1){return H1===null}W.isNull=V1;function c(H1){return H1==null}W.isNullOrUndefined=c;function c1(H1){return typeof H1==="number"}W.isNumber=c1;function o1(H1){return typeof H1==="string"}W.isString=o1;function a1(H1){return A(H1)==="symbol"}W.isSymbol=a1;function f1(H1){return H1===void 0}W.isUndefined=f1;function r(H1){return A1(H1)&&P0(H1)==="[object RegExp]"}W.isRegExp=r;function A1(H1){return A(H1)==="object"&&H1!==null}W.isObject=A1;function m1(H1){return A1(H1)&&P0(H1)==="[object Date]"}W.isDate=m1;function T1(H1){return A1(H1)&&(P0(H1)==="[object Error]"||H1 instanceof Error)}W.isError=T1;function e1(H1){return typeof H1==="function"}W.isFunction=e1;function F0(H1){return H1===null||typeof H1==="boolean"||typeof H1==="number"||typeof H1==="string"||A(H1)==="symbol"||typeof H1==="undefined"}W.isPrimitive=F0,W.isBuffer=w(715);function P0(H1){return Object.prototype.toString.call(H1)}function B0(H1){return H1<10?"0"+H1.toString(10):H1.toString(10)}var a0=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function e(){var H1=new Date,j1=[B0(H1.getHours()),B0(H1.getMinutes()),B0(H1.getSeconds())].join(":");return[H1.getDate(),a0[H1.getMonth()],j1].join(" ")}W.log=function(){console.log("%s - %s",e(),W.format.apply(W,arguments))},W.inherits=w(718),W._extend=function(H1,j1){if(!j1||!A1(j1))return H1;var i1=Object.keys(j1),E0=i1.length;while(E0--)H1[i1[E0]]=j1[i1[E0]];return H1};function G0(H1,j1){return Object.prototype.hasOwnProperty.call(H1,j1)}},695:(C)=>{C.exports=W,W.Node=A,W.create=W;function W(V){var X=this;if(!(X instanceof W))X=new W;if(X.tail=null,X.head=null,X.length=0,V&&typeof V.forEach==="function")V.forEach(function(g){X.push(g)});else if(arguments.length>0)for(var _=0,F=arguments.length;_<F;_++)X.push(arguments[_]);return X}W.prototype.removeNode=function(V){if(V.list!==this)throw new Error("removing node which does not belong to this list");var{next:X,prev:_}=V;if(X)X.prev=_;if(_)_.next=X;if(V===this.head)this.head=X;if(V===this.tail)this.tail=_;V.list.length--,V.next=null,V.prev=null,V.list=null},W.prototype.unshiftNode=function(V){if(V===this.head)return;if(V.list)V.list.removeNode(V);var X=this.head;if(V.list=this,V.next=X,X)X.prev=V;if(this.head=V,!this.tail)this.tail=V;this.length++},W.prototype.pushNode=function(V){if(V===this.tail)return;if(V.list)V.list.removeNode(V);var X=this.tail;if(V.list=this,V.prev=X,X)X.next=V;if(this.tail=V,!this.head)this.head=V;this.length++},W.prototype.push=function(){for(var V=0,X=arguments.length;V<X;V++)w(this,arguments[V]);return this.length},W.prototype.unshift=function(){for(var V=0,X=arguments.length;V<X;V++)B(this,arguments[V]);return this.length},W.prototype.pop=function(){if(!this.tail)return;var V=this.tail.value;if(this.tail=this.tail.prev,this.tail)this.tail.next=null;else this.head=null;return this.length--,V},W.prototype.shift=function(){if(!this.head)return;var V=this.head.value;if(this.head=this.head.next,this.head)this.head.prev=null;else this.tail=null;return this.length--,V},W.prototype.forEach=function(V,X){X=X||this;for(var _=this.head,F=0;_!==null;F++)V.call(X,_.value,F,this),_=_.next},W.prototype.forEachReverse=function(V,X){X=X||this;for(var _=this.tail,F=this.length-1;_!==null;F--)V.call(X,_.value,F,this),_=_.prev},W.prototype.get=function(V){for(var X=0,_=this.head;_!==null&&X<V;X++)_=_.next;if(X===V&&_!==null)return _.value},W.prototype.getReverse=function(V){for(var X=0,_=this.tail;_!==null&&X<V;X++)_=_.prev;if(X===V&&_!==null)return _.value},W.prototype.map=function(V,X){X=X||this;var _=new W;for(var F=this.head;F!==null;)_.push(V.call(X,F.value,this)),F=F.next;return _},W.prototype.mapReverse=function(V,X){X=X||this;var _=new W;for(var F=this.tail;F!==null;)_.push(V.call(X,F.value,this)),F=F.prev;return _},W.prototype.reduce=function(V,X){var _,F=this.head;if(arguments.length>1)_=X;else if(this.head)F=this.head.next,_=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var g=0;F!==null;g++)_=V(_,F.value,g),F=F.next;return _},W.prototype.reduceReverse=function(V,X){var _,F=this.tail;if(arguments.length>1)_=X;else if(this.tail)F=this.tail.prev,_=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var g=this.length-1;F!==null;g--)_=V(_,F.value,g),F=F.prev;return _},W.prototype.toArray=function(){var V=new Array(this.length);for(var X=0,_=this.head;_!==null;X++)V[X]=_.value,_=_.next;return V},W.prototype.toArrayReverse=function(){var V=new Array(this.length);for(var X=0,_=this.tail;_!==null;X++)V[X]=_.value,_=_.prev;return V},W.prototype.slice=function(V,X){if(X=X||this.length,X<0)X+=this.length;if(V=V||0,V<0)V+=this.length;var _=new W;if(X<V||X<0)return _;if(V<0)V=0;if(X>this.length)X=this.length;for(var F=0,g=this.head;g!==null&&F<V;F++)g=g.next;for(;g!==null&&F<X;F++,g=g.next)_.push(g.value);return _},W.prototype.sliceReverse=function(V,X){if(X=X||this.length,X<0)X+=this.length;if(V=V||0,V<0)V+=this.length;var _=new W;if(X<V||X<0)return _;if(V<0)V=0;if(X>this.length)X=this.length;for(var F=this.length,g=this.tail;g!==null&&F>X;F--)g=g.prev;for(;g!==null&&F>V;F--,g=g.prev)_.push(g.value);return _},W.prototype.reverse=function(){var V=this.head,X=this.tail;for(var _=V;_!==null;_=_.prev){var F=_.prev;_.prev=_.next,_.next=F}return this.head=X,this.tail=V,this};function w(V,X){if(V.tail=new A(X,V.tail,null,V),!V.head)V.head=V.tail;V.length++}function B(V,X){if(V.head=new A(X,null,V.head,V),!V.tail)V.tail=V.head;V.length++}function A(V,X,_,F){if(!(this instanceof A))return new A(V,X,_,F);if(this.list=F,this.value=V,X)X.next=this,this.prev=X;else this.prev=null;if(_)_.prev=this,this.next=_;else this.next=null}}},d={};function G(C){var W=d[C];if(W!==void 0)return W.exports;var w=d[C]={exports:{}};return I[C].call(w.exports,w,w.exports,G),w.exports}(()=>{G.n=(C)=>{var W=C&&C.__esModule?()=>C.default:()=>C;return G.d(W,{a:W}),W}})(),(()=>{G.d=(C,W)=>{for(var w in W)if(G.o(W,w)&&!G.o(C,w))Object.defineProperty(C,w,{enumerable:!0,get:W[w]})}})(),(()=>{G.o=(C,W)=>Object.prototype.hasOwnProperty.call(C,W)})(),(()=>{G.r=(C)=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag)Object.defineProperty(C,Symbol.toStringTag,{value:"Module"});Object.defineProperty(C,"__esModule",{value:!0})}})();var Z={};return(()=>{G.r(Z),G.d(Z,{connectToDevTools:()=>j5});function C(N,R){if(!(N instanceof R))throw new TypeError("Cannot call a class as a function")}function W(N,R){for(var f=0;f<R.length;f++){var U=R[f];if(U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U)U.writable=!0;Object.defineProperty(N,U.key,U)}}function w(N,R,f){if(R)W(N.prototype,R);if(f)W(N,f);return N}function B(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var A=function(){function N(){C(this,N),B(this,"listenersMap",new Map)}return w(N,[{key:"addListener",value:function R(f,U){var v=this.listenersMap.get(f);if(v===void 0)this.listenersMap.set(f,[U]);else{var m=v.indexOf(U);if(m<0)v.push(U)}}},{key:"emit",value:function R(f){var U=this.listenersMap.get(f);if(U!==void 0){for(var v=arguments.length,m=new Array(v>1?v-1:0),C1=1;C1<v;C1++)m[C1-1]=arguments[C1];if(U.length===1){var w1=U[0];w1.apply(null,m)}else{var x=!1,X1=null,q1=Array.from(U);for(var P1=0;P1<q1.length;P1++){var b1=q1[P1];try{b1.apply(null,m)}catch(f0){if(X1===null)x=!0,X1=f0}}if(x)throw X1}}}},{key:"removeAllListeners",value:function R(){this.listenersMap.clear()}},{key:"removeListener",value:function R(f,U){var v=this.listenersMap.get(f);if(v!==void 0){var m=v.indexOf(U);if(m>=0)v.splice(m,1)}}}]),N}(),V=G(172),X=G.n(V),_="fmkadmapgofadopljbjfkapdkoienihi",F="dnjnjgbfilfphmojnmhliehogmojhclc",g="ikiahnapldjmdmpkmfhjdjilojjhgcbf",J=!1,K=!1,Q=1,E=2,S=3,P=4,$=5,h=6,O=7,T=1,V1=2,c="React::DevTools::defaultTab",c1="React::DevTools::componentFilters",o1="React::DevTools::lastSelection",a1="React::DevTools::openInEditorUrl",f1="React::DevTools::openInEditorUrlPreset",r="React::DevTools::parseHookNames",A1="React::DevTools::recordChangeDescriptions",m1="React::DevTools::reloadAndProfile",T1="React::DevTools::breakOnConsoleErrors",e1="React::DevTools::theme",F0="React::DevTools::appendComponentStack",P0="React::DevTools::showInlineWarningsAndErrors",B0="React::DevTools::traceUpdatesEnabled",a0="React::DevTools::hideConsoleLogsInStrictMode",e="React::DevTools::supportsProfiling",G0=5;function H1(N){try{return localStorage.getItem(N)}catch(R){return null}}function j1(N){try{localStorage.removeItem(N)}catch(R){}}function i1(N,R){try{return localStorage.setItem(N,R)}catch(f){}}function E0(N){try{return sessionStorage.getItem(N)}catch(R){return null}}function k(N){try{sessionStorage.removeItem(N)}catch(R){}}function a(N,R){try{return sessionStorage.setItem(N,R)}catch(f){}}var Z1=function N(R,f){return R===f};function Q1(N){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Z1,f=void 0,U=[],v=void 0,m=!1,C1=function x(X1,q1){return R(X1,U[q1])},w1=function x(){for(var X1=arguments.length,q1=Array(X1),P1=0;P1<X1;P1++)q1[P1]=arguments[P1];if(m&&f===this&&q1.length===U.length&&q1.every(C1))return v;return m=!0,f=this,U=q1,v=N.apply(this,q1),v};return w1}function N1(N){if(!N.ownerDocument)return null;return N.ownerDocument.defaultView}function F1(N){var R=N1(N);if(R)return R.frameElement;return null}function O1(N){var R=h1(N);return K1([N.getBoundingClientRect(),{top:R.borderTop,left:R.borderLeft,bottom:R.borderBottom,right:R.borderRight,width:0,height:0}])}function K1(N){return N.reduce(function(R,f){if(R==null)return f;return{top:R.top+f.top,left:R.left+f.left,width:R.width,height:R.height,bottom:R.bottom+f.bottom,right:R.right+f.right}})}function R1(N,R){var f=F1(N);if(f&&f!==R){var U=[N.getBoundingClientRect()],v=f,m=!1;while(v){var C1=O1(v);if(U.push(C1),v=F1(v),m)break;if(v&&N1(v)===R)m=!0}return K1(U)}else return N.getBoundingClientRect()}function h1(N){var R=window.getComputedStyle(N);return{borderLeft:parseInt(R.borderLeftWidth,10),borderRight:parseInt(R.borderRightWidth,10),borderTop:parseInt(R.borderTopWidth,10),borderBottom:parseInt(R.borderBottomWidth,10),marginLeft:parseInt(R.marginLeft,10),marginRight:parseInt(R.marginRight,10),marginTop:parseInt(R.marginTop,10),marginBottom:parseInt(R.marginBottom,10),paddingLeft:parseInt(R.paddingLeft,10),paddingRight:parseInt(R.paddingRight,10),paddingTop:parseInt(R.paddingTop,10),paddingBottom:parseInt(R.paddingBottom,10)}}function j(N,R){if(!(N instanceof R))throw new TypeError("Cannot call a class as a function")}function W1(N,R){for(var f=0;f<R.length;f++){var U=R[f];if(U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U)U.writable=!0;Object.defineProperty(N,U.key,U)}}function U1(N,R,f){if(R)W1(N.prototype,R);if(f)W1(N,f);return N}var L1=Object.assign,D0=function(){function N(R,f){j(this,N),this.node=R.createElement("div"),this.border=R.createElement("div"),this.padding=R.createElement("div"),this.content=R.createElement("div"),this.border.style.borderColor=P2.border,this.padding.style.borderColor=P2.padding,this.content.style.backgroundColor=P2.background,L1(this.node.style,{borderColor:P2.margin,pointerEvents:"none",position:"fixed"}),this.node.style.zIndex="10000000",this.node.appendChild(this.border),this.border.appendChild(this.padding),this.padding.appendChild(this.content),f.appendChild(this.node)}return U1(N,[{key:"remove",value:function R(){if(this.node.parentNode)this.node.parentNode.removeChild(this.node)}},{key:"update",value:function R(f,U){s0(U,"margin",this.node),s0(U,"border",this.border),s0(U,"padding",this.padding),L1(this.content.style,{height:f.height-U.borderTop-U.borderBottom-U.paddingTop-U.paddingBottom+"px",width:f.width-U.borderLeft-U.borderRight-U.paddingLeft-U.paddingRight+"px"}),L1(this.node.style,{top:f.top-U.marginTop+"px",left:f.left-U.marginLeft+"px"})}}]),N}(),O0=function(){function N(R,f){j(this,N),this.tip=R.createElement("div"),L1(this.tip.style,{display:"flex",flexFlow:"row nowrap",backgroundColor:"#333740",borderRadius:"2px",fontFamily:'"SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace',fontWeight:"bold",padding:"3px 5px",pointerEvents:"none",position:"fixed",fontSize:"12px",whiteSpace:"nowrap"}),this.nameSpan=R.createElement("span"),this.tip.appendChild(this.nameSpan),L1(this.nameSpan.style,{color:"#ee78e6",borderRight:"1px solid #aaaaaa",paddingRight:"0.5rem",marginRight:"0.5rem"}),this.dimSpan=R.createElement("span"),this.tip.appendChild(this.dimSpan),L1(this.dimSpan.style,{color:"#d7d7d7"}),this.tip.style.zIndex="10000000",f.appendChild(this.tip)}return U1(N,[{key:"remove",value:function R(){if(this.tip.parentNode)this.tip.parentNode.removeChild(this.tip)}},{key:"updateText",value:function R(f,U,v){this.nameSpan.textContent=f,this.dimSpan.textContent=Math.round(U)+"px × "+Math.round(v)+"px"}},{key:"updatePosition",value:function R(f,U){var v=this.tip.getBoundingClientRect(),m=i0(f,U,{width:v.width,height:v.height});L1(this.tip.style,m.style)}}]),N}(),k0=function(){function N(R){j(this,N);var f=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.window=f;var U=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;this.tipBoundsWindow=U;var v=f.document;this.container=v.createElement("div"),this.container.style.zIndex="10000000",this.tip=new O0(v,this.container),this.rects=[],this.agent=R,v.body.appendChild(this.container)}return U1(N,[{key:"remove",value:function R(){if(this.tip.remove(),this.rects.forEach(function(f){f.remove()}),this.rects.length=0,this.container.parentNode)this.container.parentNode.removeChild(this.container)}},{key:"inspect",value:function R(f,U){var v=this,m=f.filter(function(f0){return f0.nodeType===Node.ELEMENT_NODE});while(this.rects.length>m.length){var C1=this.rects.pop();C1.remove()}if(m.length===0)return;while(this.rects.length<m.length)this.rects.push(new D0(this.window.document,this.container));var w1={top:Number.POSITIVE_INFINITY,right:Number.NEGATIVE_INFINITY,bottom:Number.NEGATIVE_INFINITY,left:Number.POSITIVE_INFINITY};if(m.forEach(function(f0,e0){var U2=R1(f0,v.window),x0=h1(f0);w1.top=Math.min(w1.top,U2.top-x0.marginTop),w1.right=Math.max(w1.right,U2.left+U2.width+x0.marginRight),w1.bottom=Math.max(w1.bottom,U2.top+U2.height+x0.marginBottom),w1.left=Math.min(w1.left,U2.left-x0.marginLeft);var b2=v.rects[e0];b2.update(U2,x0)}),!U){U=m[0].nodeName.toLowerCase();var x=m[0],X1=this.agent.getBestMatchingRendererInterface(x);if(X1){var q1=X1.getFiberIDForNative(x,!0);if(q1){var P1=X1.getDisplayNameForFiberID(q1,!0);if(P1)U+=" (in "+P1+")"}}}this.tip.updateText(U,w1.right-w1.left,w1.bottom-w1.top);var b1=R1(this.tipBoundsWindow.document.documentElement,this.window);this.tip.updatePosition({top:w1.top,left:w1.left,height:w1.bottom-w1.top,width:w1.right-w1.left},{top:b1.top+this.tipBoundsWindow.scrollY,left:b1.left+this.tipBoundsWindow.scrollX,height:this.tipBoundsWindow.innerHeight,width:this.tipBoundsWindow.innerWidth})}}]),N}();function i0(N,R,f){var U=Math.max(f.height,20),v=Math.max(f.width,60),m=5,C1;if(N.top+N.height+U<=R.top+R.height)if(N.top+N.height<R.top+0)C1=R.top+m;else C1=N.top+N.height+m;else if(N.top-U<=R.top+R.height)if(N.top-U-m<R.top+m)C1=R.top+m;else C1=N.top-U-m;else C1=R.top+R.height-U-m;var w1=N.left+m;if(N.left<R.left)w1=R.left+m;if(N.left+v>R.left+R.width)w1=R.left+R.width-v-m;return C1+="px",w1+="px",{style:{top:C1,left:w1}}}function s0(N,R,f){L1(f.style,{borderTopWidth:N[R+"Top"]+"px",borderLeftWidth:N[R+"Left"]+"px",borderRightWidth:N[R+"Right"]+"px",borderBottomWidth:N[R+"Bottom"]+"px",borderStyle:"solid"})}var P2={background:"rgba(120, 170, 210, 0.7)",padding:"rgba(77, 200, 0, 0.3)",margin:"rgba(255, 155, 0, 0.3)",border:"rgba(255, 200, 50, 0.3)"},a5=2000,n0=null,B2=null;function A2(N){if(window.document==null){N.emit("hideNativeHighlight");return}if(n0=null,B2!==null)B2.remove(),B2=null}function B4(N,R,f,U){if(window.document==null){if(N!=null&&N[0]!=null)f.emit("showNativeHighlight",N[0]);return}if(n0!==null)clearTimeout(n0);if(N==null)return;if(B2===null)B2=new k0(f);if(B2.inspect(N,R),U)n0=setTimeout(function(){return A2(f)},a5)}var A4=new Set;function _5(N,R){N.addListener("clearNativeElementHighlight",C1),N.addListener("highlightNativeElement",w1),N.addListener("shutdown",v),N.addListener("startInspectingNative",f),N.addListener("stopInspectingNative",v);function f(){U(window)}function U(x0){if(x0&&typeof x0.addEventListener==="function")x0.addEventListener("click",x,!0),x0.addEventListener("mousedown",X1,!0),x0.addEventListener("mouseover",X1,!0),x0.addEventListener("mouseup",X1,!0),x0.addEventListener("pointerdown",q1,!0),x0.addEventListener("pointermove",b1,!0),x0.addEventListener("pointerup",f0,!0);else R.emit("startInspectingNative")}function v(){A2(R),m(window),A4.forEach(function(x0){try{m(x0.contentWindow)}catch(b2){}}),A4=new Set}function m(x0){if(x0&&typeof x0.removeEventListener==="function")x0.removeEventListener("click",x,!0),x0.removeEventListener("mousedown",X1,!0),x0.removeEventListener("mouseover",X1,!0),x0.removeEventListener("mouseup",X1,!0),x0.removeEventListener("pointerdown",q1,!0),x0.removeEventListener("pointermove",b1,!0),x0.removeEventListener("pointerup",f0,!0);else R.emit("stopInspectingNative")}function C1(){A2(R)}function w1(x0){var{displayName:b2,hideAfterTimeout:R4,id:U5,openNativeElementsPanel:V2,rendererID:g5,scrollIntoView:o5}=x0,Z5=R.rendererInterfaces[g5];if(Z5==null){console.warn('Invalid renderer id "'.concat(g5,'" for element "').concat(U5,'"')),A2(R);return}if(!Z5.hasFiberWithId(U5)){A2(R);return}var w9=Z5.findNativeNodesForFiberID(U5);if(w9!=null&&w9[0]!=null){var e5=w9[0];if(o5&&typeof e5.scrollIntoView==="function")e5.scrollIntoView({block:"nearest",inline:"nearest"});if(B4(w9,b2,R,R4),V2)window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0=e5,N.send("syncSelectionToNativeElementsPanel")}else A2(R)}function x(x0){x0.preventDefault(),x0.stopPropagation(),v(),N.send("stopInspectingNative",!0)}function X1(x0){x0.preventDefault(),x0.stopPropagation()}function q1(x0){x0.preventDefault(),x0.stopPropagation(),e0(U2(x0))}var P1=null;function b1(x0){x0.preventDefault(),x0.stopPropagation();var b2=U2(x0);if(P1===b2)return;if(P1=b2,b2.tagName==="IFRAME"){var R4=b2;try{if(!A4.has(R4)){var U5=R4.contentWindow;U(U5),A4.add(R4)}}catch(V2){}}B4([b2],null,R,!1),e0(b2)}function f0(x0){x0.preventDefault(),x0.stopPropagation()}var e0=X()(Q1(function(x0){var b2=R.getIDForNode(x0);if(b2!==null)N.send("selectFiber",b2)}),200,{leading:!1});function U2(x0){if(x0.composed)return x0.composedPath()[0];return x0.target}}var D5="#f0f0f0",tZ=["#37afa9","#63b19e","#80b393","#97b488","#abb67d","#beb771","#cfb965","#dfba57","#efbb49","#febc38"],T6=null;function pB(N,R){if(window.document==null){var f=[];iB(N,function(m,C1,w1){f.push({node:w1,color:C1})}),R.emit("drawTraceUpdates",f);return}if(T6===null)IC();var U=T6;U.width=window.innerWidth,U.height=window.innerHeight;var v=U.getContext("2d");v.clearRect(0,0,U.width,U.height),iB(N,function(m,C1){if(m!==null)X3(v,m,C1)})}function iB(N,R){N.forEach(function(f,U){var{count:v,rect:m}=f,C1=Math.min(tZ.length-1,v-1),w1=tZ[C1];R(m,w1,U)})}function X3(N,R,f){var{height:U,left:v,top:m,width:C1}=R;N.lineWidth=1,N.strokeStyle=D5,N.strokeRect(v-1,m-1,C1+2,U+2),N.lineWidth=1,N.strokeStyle=D5,N.strokeRect(v+1,m+1,C1-1,U-1),N.strokeStyle=f,N.setLineDash([0]),N.lineWidth=1,N.strokeRect(v,m,C1-1,U-1),N.setLineDash([0])}function Nd(N){if(window.document==null){N.emit("disableTraceUpdates");return}if(T6!==null){if(T6.parentNode!=null)T6.parentNode.removeChild(T6);T6=null}}function IC(){T6=window.document.createElement("canvas"),T6.style.cssText=`
    xx-background-color: red;
    xx-opacity: 0.5;
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000000000;
  `;var N=window.document.documentElement;N.insertBefore(T6,N.firstChild)}function Y3(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")Y3=function R(f){return typeof f};else Y3=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return Y3(N)}var zd=250,Qd=3000,QG=250,fG=(typeof performance==="undefined"?"undefined":Y3(performance))==="object"&&typeof performance.now==="function"?function(){return performance.now()}:function(){return Date.now()},X7=new Map,vI=null,i7=null,fd=!1,Y7=null;function nB(N){vI=N,vI.addListener("traceUpdates",rB)}function qd(N){if(fd=N,!fd){if(X7.clear(),i7!==null)cancelAnimationFrame(i7),i7=null;if(Y7!==null)clearTimeout(Y7),Y7=null;Nd(vI)}}function rB(N){if(!fd)return;if(N.forEach(function(R){var f=X7.get(R),U=fG(),v=f!=null?f.lastMeasuredAt:0,m=f!=null?f.rect:null;if(m===null||v+QG<U)v=U,m=$W(R);X7.set(R,{count:f!=null?f.count+1:1,expirationTime:f!=null?Math.min(U+Qd,f.expirationTime+zd):U+zd,lastMeasuredAt:v,rect:m})}),Y7!==null)clearTimeout(Y7),Y7=null;if(i7===null)i7=requestAnimationFrame(PW)}function PW(){i7=null,Y7=null;var N=fG(),R=Number.MAX_VALUE;if(X7.forEach(function(f,U){if(f.expirationTime<N)X7.delete(U);else R=Math.min(R,f.expirationTime)}),pB(X7,vI),R!==Number.MAX_VALUE)Y7=setTimeout(PW,R-N)}function $W(N){if(!N||typeof N.getBoundingClientRect!=="function")return null;var R=window.__REACT_DEVTOOLS_TARGET_WINDOW__||window;return R1(N,R)}function v8(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")v8=function R(f){return typeof f};else v8=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return v8(N)}function qG(N,R){return TW(N)||sB(N,R)||uW(N,R)||aB()}function aB(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uW(N,R){if(!N)return;if(typeof N==="string")return Rd(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return Rd(N,R)}function Rd(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function sB(N,R){if(typeof Symbol==="undefined"||!(Symbol.iterator in Object(N)))return;var f=[],U=!0,v=!1,m=void 0;try{for(var C1=N[Symbol.iterator](),w1;!(U=(w1=C1.next()).done);U=!0)if(f.push(w1.value),R&&f.length===R)break}catch(x){v=!0,m=x}finally{try{if(!U&&C1.return!=null)C1.return()}finally{if(v)throw m}}return f}function TW(N){if(Array.isArray(N))return N}var Ud=function N(R,f){var U=S1(R),v=S1(f),m=U.pop(),C1=v.pop(),w1=w0(U,v);if(w1!==0)return w1;if(m&&C1)return w0(m.split("."),C1.split("."));else if(m||C1)return m?-1:1;return 0},_7=function N(R){return typeof R==="string"&&/^[v\d]/.test(R)&&o.test(R)},OW=function N(R,f,U){g0(U);var v=Ud(R,f);return J0[U].includes(v)},d1=function N(R,f){var U=f.match(/^([<>=~^]+)/),v=U?U[1]:"=";if(v!=="^"&&v!=="~")return OW(R,f,v);var m=S1(R),C1=qG(m,5),w1=C1[0],x=C1[1],X1=C1[2],q1=C1[4],P1=S1(f),b1=qG(P1,5),f0=b1[0],e0=b1[1],U2=b1[2],x0=b1[4],b2=[w1,x,X1],R4=[f0,e0!==null&&e0!==void 0?e0:"x",U2!==null&&U2!==void 0?U2:"x"];if(x0){if(!q1)return!1;if(w0(b2,R4)!==0)return!1;if(w0(q1.split("."),x0.split("."))===-1)return!1}var U5=R4.findIndex(function(g5){return g5!=="0"})+1,V2=v==="~"?2:U5>1?U5:1;if(w0(b2.slice(0,V2),R4.slice(0,V2))!==0)return!1;if(w0(b2.slice(V2),R4.slice(V2))===-1)return!1;return!0},o=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,S1=function N(R){if(typeof R!=="string")throw new TypeError("Invalid argument expected string");var f=R.match(o);if(!f)throw new Error("Invalid argument not valid semver ('".concat(R,"' received)"));return f.shift(),f},p1=function N(R){return R==="*"||R==="x"||R==="X"},l1=function N(R){var f=parseInt(R,10);return isNaN(f)?R:f},s1=function N(R,f){return v8(R)!==v8(f)?[String(R),String(f)]:[R,f]},U0=function N(R,f){if(p1(R)||p1(f))return 0;var U=s1(l1(R),l1(f)),v=qG(U,2),m=v[0],C1=v[1];if(m>C1)return 1;if(m<C1)return-1;return 0},w0=function N(R,f){for(var U=0;U<Math.max(R.length,f.length);U++){var v=U0(R[U]||"0",f[U]||"0");if(v!==0)return v}return 0},J0={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},W0=Object.keys(J0),g0=function N(R){if(typeof R!=="string")throw new TypeError("Invalid operator type, expected string but got ".concat(v8(R)));if(W0.indexOf(R)===-1)throw new Error("Invalid operator, expected one of ".concat(W0.join("|")))},c2=G(730),L2=G.n(c2),R2=G(550);function l(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")l=function R(f){return typeof f};else l=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return l(N)}var _1=Symbol.for("react.element"),I1=Symbol.for("react.portal"),v1=Symbol.for("react.fragment"),y1=Symbol.for("react.strict_mode"),E1=Symbol.for("react.profiler"),Z0=Symbol.for("react.provider"),Q0=Symbol.for("react.context"),N0=Symbol.for("react.server_context"),$0=Symbol.for("react.forward_ref"),h0=Symbol.for("react.suspense"),g2=Symbol.for("react.suspense_list"),F4=Symbol.for("react.memo"),x4=Symbol.for("react.lazy"),c4=Symbol.for("react.scope"),W9=Symbol.for("react.debug_trace_mode"),u9=Symbol.for("react.offscreen"),e6=Symbol.for("react.legacy_hidden"),vd=Symbol.for("react.cache"),dC=Symbol.for("react.tracing_marker"),qX=Symbol.for("react.default_value"),RG=Symbol.for("react.memo_cache_sentinel"),HK=Symbol.for("react.postpone"),Ed=Symbol.iterator,$4="@@iterator";function oB(N){if(N===null||l(N)!=="object")return null;var R=Ed&&N[Ed]||N[$4];if(typeof R==="function")return R;return null}var E8=1,eB=2,UG=5,tB=6,n9=7,mW=8,Md=9,JU=10,FK=11,gK=12,vG=13,Ze=14,au=1,Sd=2,GC=3,JK=4,KU=1,su=Array.isArray;let EG=su;var Ld=G(169);function ZC(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")ZC=function R(f){return typeof f};else ZC=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return ZC(N)}function IA(N){return MI(N)||EI(N)||NK(N)||KK()}function KK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NK(N,R){if(!N)return;if(typeof N==="string")return CC(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return CC(N,R)}function EI(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function MI(N){if(Array.isArray(N))return CC(N)}function CC(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}var SI=Object.prototype.hasOwnProperty,MG=new WeakMap,lW=new(L2())({max:1000});function ou(N,R){if(N.toString()>R.toString())return 1;else if(R.toString()>N.toString())return-1;else return 0}function EH(N){var R=new Set,f=N,U=function v(){var m=[].concat(IA(Object.keys(f)),IA(Object.getOwnPropertySymbols(f))),C1=Object.getOwnPropertyDescriptors(f);m.forEach(function(w1){if(C1[w1].enumerable)R.add(w1)}),f=Object.getPrototypeOf(f)};while(f!=null)U();return R}function zK(N,R,f,U){var v=N.displayName;return v||"".concat(f,"(").concat(O6(R,U),")")}function O6(N){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Anonymous",f=MG.get(N);if(f!=null)return f;var U=R;if(typeof N.displayName==="string")U=N.displayName;else if(typeof N.name==="string"&&N.name!=="")U=N.name;return MG.set(N,U),U}var LI=0;function K9(){return++LI}function MH(N){var R="";for(var f=0;f<N.length;f++){var U=N[f];R+=String.fromCodePoint(U)}return R}function yd(N,R){return((N&1023)<<10)+(R&1023)+65536}function NU(N){var R=lW.get(N);if(R!==void 0)return R;var f=[],U=0,v;while(U<N.length){if(v=N.charCodeAt(U),(v&63488)===55296)f.push(yd(v,N.charCodeAt(++U)));else f.push(v);++U}return lW.set(N,f),f}function eu(N){var R=N[0],f=N[1],U=["operations for renderer:".concat(R," and root:").concat(f)],v=2,m=[null],C1=N[v++],w1=v+C1;while(v<w1){var x=N[v++],X1=MH(N.slice(v,v+x));m.push(X1),v+=x}while(v<N.length){var q1=N[v];switch(q1){case Q:{var P1=N[v+1],b1=N[v+2];if(v+=3,b1===FK)U.push("Add new root node ".concat(P1)),v++,v++,v++,v++;else{var f0=N[v];v++,v++;var e0=N[v],U2=m[e0];v++,v++,U.push("Add node ".concat(P1," (").concat(U2||"null",") as child of ").concat(f0))}break}case E:{var x0=N[v+1];v+=2;for(var b2=0;b2<x0;b2++){var R4=N[v];v+=1,U.push("Remove node ".concat(R4))}break}case h:{v+=1,U.push("Remove root ".concat(f));break}case O:{var U5=N[v+1],V2=N[v+1];v+=3,U.push("Mode ".concat(V2," set for subtree with root ").concat(U5));break}case S:{var g5=N[v+1],o5=N[v+2];v+=3;var Z5=N.slice(v,v+o5);v+=o5,U.push("Re-order node ".concat(g5," children ").concat(Z5.join(",")));break}case P:v+=3;break;case $:var w9=N[v+1],e5=N[v+2],t3=N[v+3];v+=4,U.push("Node ".concat(w9," has ").concat(e5," errors and ").concat(t3," warnings"));break;default:throw Error('Unsupported Bridge operation "'.concat(q1,'"'))}}console.log(U.join(`
  `))}function SH(){return[{type:au,value:n9,isEnabled:!0}]}function tu(){try{var N=localStorageGetItem(LOCAL_STORAGE_COMPONENT_FILTER_PREFERENCES_KEY);if(N!=null)return JSON.parse(N)}catch(R){}return SH()}function Ce(N){localStorageSetItem(LOCAL_STORAGE_COMPONENT_FILTER_PREFERENCES_KEY,JSON.stringify(N))}function dA(N){if(N==="true")return!0;if(N==="false")return!1}function WC(N){if(N===!0||N===!1)return N}function GA(N){if(N==="light"||N==="dark"||N==="auto")return N}function IT(){var N,R=localStorageGetItem(LOCAL_STORAGE_SHOULD_APPEND_COMPONENT_STACK_KEY);return(N=dA(R))!==null&&N!==void 0?N:!0}function NN1(){var N,R=localStorageGetItem(LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS);return(N=dA(R))!==null&&N!==void 0?N:!1}function zU(){var N,R=localStorageGetItem(LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE);return(N=dA(R))!==null&&N!==void 0?N:!1}function zN1(){var N,R=localStorageGetItem(LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY);return(N=dA(R))!==null&&N!==void 0?N:!0}function LH(){return typeof Ld.env.EDITOR_URL==="string"?Ld.env.EDITOR_URL:""}function QU(){try{var N=localStorageGetItem(LOCAL_STORAGE_OPEN_IN_EDITOR_URL);if(N!=null)return JSON.parse(N)}catch(R){}return LH()}function We(N,R){if(N===null)return[null,null];var f=null;switch(R){case ElementTypeClass:case ElementTypeForwardRef:case ElementTypeFunction:case ElementTypeMemo:if(N.indexOf("(")>=0){var U=N.match(/[^()]+/g);if(U!=null)N=U.pop(),f=U}break;default:break}return[N,f]}function we(N,R){for(var f in N)if(!(f in R))return!0;for(var U in R)if(N[U]!==R[U])return!0;return!1}function M8(N,R){return R.reduce(function(f,U){if(f){if(SI.call(f,U))return f[U];if(typeof f[Symbol.iterator]==="function")return Array.from(f)[U]}return null},N)}function yH(N,R){var f=R.length,U=R[f-1];if(N!=null){var v=M8(N,R.slice(0,f-1));if(v)if(EG(v))v.splice(U,1);else delete v[U]}}function ZA(N,R,f){var U=R.length;if(N!=null){var v=M8(N,R.slice(0,U-1));if(v){var m=R[U-1],C1=f[U-1];if(v[C1]=v[m],EG(v))v.splice(m,1);else delete v[m]}}}function CA(N,R,f){var U=R.length,v=R[U-1];if(N!=null){var m=M8(N,R.slice(0,U-1));if(m)m[v]=f}}function WA(N){if(N===null)return"null";else if(N===void 0)return"undefined";if(R2.isElement(N))return"react_element";if(typeof HTMLElement!=="undefined"&&N instanceof HTMLElement)return"html_element";var R=ZC(N);switch(R){case"bigint":return"bigint";case"boolean":return"boolean";case"function":return"function";case"number":if(Number.isNaN(N))return"nan";else if(!Number.isFinite(N))return"infinity";else return"number";case"object":if(EG(N))return"array";else if(ArrayBuffer.isView(N))return SI.call(N.constructor,"BYTES_PER_ELEMENT")?"typed_array":"data_view";else if(N.constructor&&N.constructor.name==="ArrayBuffer")return"array_buffer";else if(typeof N[Symbol.iterator]==="function"){var f=N[Symbol.iterator]();if(!f);else return f===N?"opaque_iterator":"iterator"}else if(N.constructor&&N.constructor.name==="RegExp")return"regexp";else{var U=Object.prototype.toString.call(N);if(U==="[object Date]")return"date";else if(U==="[object HTMLAllCollection]")return"html_all_collection"}if(!fU(N))return"class_instance";return"object";case"string":return"string";case"symbol":return"symbol";case"undefined":if(Object.prototype.toString.call(N)==="[object HTMLAllCollection]")return"html_all_collection";return"undefined";default:return"unknown"}}function QK(N){var R=R2.typeOf(N);switch(R){case R2.ContextConsumer:return"ContextConsumer";case R2.ContextProvider:return"ContextProvider";case R2.ForwardRef:return"ForwardRef";case R2.Fragment:return"Fragment";case R2.Lazy:return"Lazy";case R2.Memo:return"Memo";case R2.Portal:return"Portal";case R2.Profiler:return"Profiler";case R2.StrictMode:return"StrictMode";case R2.Suspense:return"Suspense";case g2:return"SuspenseList";case dC:return"TracingMarker";default:var f=N.type;if(typeof f==="string")return f;else if(typeof f==="function")return O6(f,"Anonymous");else if(f!=null)return"NotImplementedInDevtools";else return"Element"}}var wA=50;function yI(N){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wA;if(N.length>R)return N.slice(0,R)+"…";else return N}function z5(N,R){if(N!=null&&SI.call(N,H5.type))return R?N[H5.preview_long]:N[H5.preview_short];var f=WA(N);switch(f){case"html_element":return"<".concat(yI(N.tagName.toLowerCase())," />");case"function":return yI("ƒ ".concat(typeof N.name==="function"?"":N.name,"() {}"));case"string":return'"'.concat(N,'"');case"bigint":return yI(N.toString()+"n");case"regexp":return yI(N.toString());case"symbol":return yI(N.toString());case"react_element":return"<".concat(yI(QK(N)||"Unknown")," />");case"array_buffer":return"ArrayBuffer(".concat(N.byteLength,")");case"data_view":return"DataView(".concat(N.buffer.byteLength,")");case"array":if(R){var U="";for(var v=0;v<N.length;v++){if(v>0)U+=", ";if(U+=z5(N[v],!1),U.length>wA)break}return"[".concat(yI(U),"]")}else{var m=SI.call(N,H5.size)?N[H5.size]:N.length;return"Array(".concat(m,")")}case"typed_array":var C1="".concat(N.constructor.name,"(").concat(N.length,")");if(R){var w1="";for(var x=0;x<N.length;x++){if(x>0)w1+=", ";if(w1+=N[x],w1.length>wA)break}return"".concat(C1," [").concat(yI(w1),"]")}else return C1;case"iterator":var X1=N.constructor.name;if(R){var q1=Array.from(N),P1="";for(var b1=0;b1<q1.length;b1++){var f0=q1[b1];if(b1>0)P1+=", ";if(EG(f0)){var e0=z5(f0[0],!0),U2=z5(f0[1],!1);P1+="".concat(e0," => ").concat(U2)}else P1+=z5(f0,!1);if(P1.length>wA)break}return"".concat(X1,"(").concat(N.size,") {").concat(yI(P1),"}")}else return"".concat(X1,"(").concat(N.size,")");case"opaque_iterator":return N[Symbol.toStringTag];case"date":return N.toString();case"class_instance":return N.constructor.name;case"object":if(R){var x0=Array.from(EH(N)).sort(ou),b2="";for(var R4=0;R4<x0.length;R4++){var U5=x0[R4];if(R4>0)b2+=", ";if(b2+="".concat(U5.toString(),": ").concat(z5(N[U5],!1)),b2.length>wA)break}return"{".concat(yI(b2),"}")}else return"{…}";case"boolean":case"number":case"infinity":case"nan":case"null":case"undefined":return N;default:try{return yI(String(N))}catch(V2){return"unserializable"}}}var fU=function N(R){var f=Object.getPrototypeOf(R);if(!f)return!0;var U=Object.getPrototypeOf(f);return!U};function BA(N,R){var f=Object.keys(N);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(N);if(R)U=U.filter(function(v){return Object.getOwnPropertyDescriptor(N,v).enumerable});f.push.apply(f,U)}return f}function PI(N){for(var R=1;R<arguments.length;R++){var f=arguments[R]!=null?arguments[R]:{};if(R%2)BA(Object(f),!0).forEach(function(U){S8(N,U,f[U])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(N,Object.getOwnPropertyDescriptors(f));else BA(Object(f)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(f,U))})}return N}function S8(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var H5={inspectable:Symbol("inspectable"),inspected:Symbol("inspected"),name:Symbol("name"),preview_long:Symbol("preview_long"),preview_short:Symbol("preview_short"),readonly:Symbol("readonly"),size:Symbol("size"),type:Symbol("type"),unserializable:Symbol("unserializable")},PH=2;function n7(N,R,f,U,v){U.push(v);var m={inspectable:R,type:N,preview_long:z5(f,!0),preview_short:z5(f,!1),name:!f.constructor||f.constructor.name==="Object"?"":f.constructor.name};if(N==="array"||N==="typed_array")m.size=f.length;else if(N==="object")m.size=Object.keys(f).length;if(N==="iterator"||N==="typed_array")m.readonly=!0;return m}function $I(N,R,f,U,v){var m=arguments.length>5&&arguments[5]!==void 0?arguments[5]:0,C1=WA(N),w1;switch(C1){case"html_element":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.tagName,type:C1};case"function":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:typeof N.name==="function"||!N.name?"function":N.name,type:C1};case"string":if(w1=v(U),w1)return N;else return N.length<=500?N:N.slice(0,500)+"...";case"bigint":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.toString(),type:C1};case"symbol":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.toString(),type:C1};case"react_element":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:QK(N)||"Unknown",type:C1};case"array_buffer":case"data_view":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:C1==="data_view"?"DataView":"ArrayBuffer",size:N.byteLength,type:C1};case"array":if(w1=v(U),m>=PH&&!w1)return n7(C1,!0,N,R,U);return N.map(function(P1,b1){return $I(P1,R,f,U.concat([b1]),v,w1?1:m+1)});case"html_all_collection":case"typed_array":case"iterator":if(w1=v(U),m>=PH&&!w1)return n7(C1,!0,N,R,U);else{var x={unserializable:!0,type:C1,readonly:!0,size:C1==="typed_array"?N.length:void 0,preview_short:z5(N,!1),preview_long:z5(N,!0),name:!N.constructor||N.constructor.name==="Object"?"":N.constructor.name};return Array.from(N).forEach(function(P1,b1){return x[b1]=$I(P1,R,f,U.concat([b1]),v,w1?1:m+1)}),f.push(U),x}case"opaque_iterator":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N[Symbol.toStringTag],type:C1};case"date":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.toString(),type:C1};case"regexp":return R.push(U),{inspectable:!1,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.toString(),type:C1};case"object":if(w1=v(U),m>=PH&&!w1)return n7(C1,!0,N,R,U);else{var X1={};return EH(N).forEach(function(P1){var b1=P1.toString();X1[b1]=$I(N[P1],R,f,U.concat([b1]),v,w1?1:m+1)}),X1}case"class_instance":if(w1=v(U),m>=PH&&!w1)return n7(C1,!0,N,R,U);var q1={unserializable:!0,type:C1,readonly:!0,preview_short:z5(N,!1),preview_long:z5(N,!0),name:N.constructor.name};return EH(N).forEach(function(P1){var b1=P1.toString();q1[b1]=$I(N[P1],R,f,U.concat([b1]),v,w1?1:m+1)}),f.push(U),q1;case"infinity":case"nan":case"undefined":return R.push(U),{type:C1};default:return N}}function dT(N,R,f,U){var v=getInObject(N,f);if(v!=null){if(!v[H5.unserializable])delete v[H5.inspectable],delete v[H5.inspected],delete v[H5.name],delete v[H5.preview_long],delete v[H5.preview_short],delete v[H5.readonly],delete v[H5.size],delete v[H5.type]}if(U!==null&&R.unserializable.length>0){var m=R.unserializable[0],C1=m.length===f.length;for(var w1=0;w1<f.length;w1++)if(f[w1]!==m[w1]){C1=!1;break}if(C1)SG(U,U)}setInObject(N,f,U)}function Be(N,R,f){return R.forEach(function(U){var v=U.length,m=U[v-1],C1=getInObject(N,U.slice(0,v-1));if(!C1||!C1.hasOwnProperty(m))return;var w1=C1[m];if(!w1)return;else if(w1.type==="infinity")C1[m]=1/0;else if(w1.type==="nan")C1[m]=NaN;else if(w1.type==="undefined")C1[m]=void 0;else{var x={};x[H5.inspectable]=!!w1.inspectable,x[H5.inspected]=!1,x[H5.name]=w1.name,x[H5.preview_long]=w1.preview_long,x[H5.preview_short]=w1.preview_short,x[H5.size]=w1.size,x[H5.readonly]=!!w1.readonly,x[H5.type]=w1.type,C1[m]=x}}),f.forEach(function(U){var v=U.length,m=U[v-1],C1=getInObject(N,U.slice(0,v-1));if(!C1||!C1.hasOwnProperty(m))return;var w1=C1[m],x=PI({},w1);SG(x,w1),C1[m]=x}),N}function SG(N,R){var f;Object.defineProperties(N,(f={},S8(f,H5.inspected,{configurable:!0,enumerable:!1,value:!!R.inspected}),S8(f,H5.name,{configurable:!0,enumerable:!1,value:R.name}),S8(f,H5.preview_long,{configurable:!0,enumerable:!1,value:R.preview_long}),S8(f,H5.preview_short,{configurable:!0,enumerable:!1,value:R.preview_short}),S8(f,H5.size,{configurable:!0,enumerable:!1,value:R.size}),S8(f,H5.readonly,{configurable:!0,enumerable:!1,value:!!R.readonly}),S8(f,H5.type,{configurable:!0,enumerable:!1,value:R.type}),S8(f,H5.unserializable,{configurable:!0,enumerable:!1,value:!!R.unserializable}),f)),delete N.inspected,delete N.name,delete N.preview_long,delete N.preview_short,delete N.size,delete N.readonly,delete N.type,delete N.unserializable}var bW=Array.isArray;function fK(N){return bW(N)}let wC=fK;function $H(N){return TH(N)||uI(N)||uH(N)||GT()}function GT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uH(N,R){if(!N)return;if(typeof N==="string")return hW(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return hW(N,R)}function uI(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function TH(N){if(Array.isArray(N))return hW(N)}function hW(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function D7(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")D7=function R(f){return typeof f};else D7=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return D7(N)}function qK(N,R){var f=Object.keys(N);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(N);if(R)U=U.filter(function(v){return Object.getOwnPropertyDescriptor(N,v).enumerable});f.push.apply(f,U)}return f}function jW(N){for(var R=1;R<arguments.length;R++){var f=arguments[R]!=null?arguments[R]:{};if(R%2)qK(Object(f),!0).forEach(function(U){ZT(N,U,f[U])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(N,Object.getOwnPropertyDescriptors(f));else qK(Object(f)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(f,U))})}return N}function ZT(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var qU="999.9.9";function T9(N){if(N==null||N==="")return!1;return $d(N,qU)}function Pd(N,R){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(N!==null){var U=[],v=[],m=$I(N,U,v,f,R);return{data:m,cleaned:U,unserializable:v}}else return null}function OH(N,R){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,U=R[f],v=wC(N)?N.slice():jW({},N);if(f+1===R.length)if(wC(v))v.splice(U,1);else delete v[U];else v[U]=OH(N[U],R,f+1);return v}function mH(N,R,f){var U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,v=R[U],m=wC(N)?N.slice():jW({},N);if(U+1===R.length){var C1=f[U];if(m[C1]=m[v],wC(m))m.splice(v,1);else delete m[v]}else m[v]=mH(N[v],R,f,U+1);return m}function RX(N,R,f){var U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(U>=R.length)return f;var v=R[U],m=wC(N)?N.slice():jW({},N);return m[v]=RX(N[v],R,f,U+1),m}function RU(N){var R=null,f=null,U=N.current;if(U!=null){var v=U.stateNode;if(v!=null)R=v.effectDuration!=null?v.effectDuration:null,f=v.passiveEffectDuration!=null?v.passiveEffectDuration:null}return{effectDuration:R,passiveEffectDuration:f}}function kW(N){if(N===void 0)return"undefined";var R=new Set;return JSON.stringify(N,function(f,U){if(D7(U)==="object"&&U!==null){if(R.has(U))return;R.add(U)}if(typeof U==="bigint")return U.toString()+"n";return U},2)}function O9(N,R){if(N===void 0||N===null||N.length===0||typeof N[0]==="string"&&N[0].match(/([^%]|^)(%c)/g)||R===void 0)return N;var f=/([^%]|^)((%%)*)(%([oOdisf]))/g;if(typeof N[0]==="string"&&N[0].match(f))return["%c".concat(N[0]),R].concat($H(N.slice(1)));else{var U=N.reduce(function(v,m,C1){if(C1>0)v+=" ";switch(D7(m)){case"string":case"boolean":case"symbol":return v+="%s";case"number":var w1=Number.isInteger(m)?"%i":"%f";return v+=w1;default:return v+="%o"}},"%c");return[U,R].concat($H(N))}}function P3(N){for(var R=arguments.length,f=new Array(R>1?R-1:0),U=1;U<R;U++)f[U-1]=arguments[U];var v=f.slice(),m=String(N);if(typeof N==="string"){if(v.length){var C1=/(%?)(%([jds]))/g;m=m.replace(C1,function(x,X1,q1,P1){var b1=v.shift();switch(P1){case"s":b1+="";break;case"d":case"i":b1=parseInt(b1,10).toString();break;case"f":b1=parseFloat(b1).toString();break}if(!X1)return b1;return v.unshift(b1),x})}}if(v.length)for(var w1=0;w1<v.length;w1++)m+=" "+String(v[w1]);return m=m.replace(/%{2,2}/g,"%"),String(m)}function A6(){return!!(window.document&&window.document.featurePolicy&&window.document.featurePolicy.allowsFeature("sync-xhr"))}function lH(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Ud(N,R)===1}function $d(){var N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return Ud(N,R)>-1}var bH=G(987),UU=60111,V6="Symbol(react.concurrent_mode)",hH=60110,jH="Symbol(react.context)",vU="Symbol(react.server_context)",TI="Symbol(react.async_mode)",ud=60103,RK="Symbol(react.element)",CT=60129,WT="Symbol(react.debug_trace_mode)",wT=60112,BT="Symbol(react.forward_ref)",Ae=60107,Ve="Symbol(react.fragment)",Xe=60116,Ye="Symbol(react.lazy)",AT=60115,VT="Symbol(react.memo)",UK=60106,_e="Symbol(react.portal)",kH=60114,xH="Symbol(react.profiler)",vK=60109,cH="Symbol(react.provider)",XT=60119,YT="Symbol(react.scope)",EK=60108,MK="Symbol(react.strict_mode)",_T=60113,De="Symbol(react.suspense)",He=60120,Fe="Symbol(react.suspense_list)",QN1="Symbol(react.server_context.defaultValue)",EU=!1,fN1=!1,ge=!1,Je=!1;function DT(N,R){return N===R&&(N!==0||1/N===1/R)||N!==N&&R!==R}var HT=typeof Object.is==="function"?Object.is:DT;let SK=HT;var Ke=Object.prototype.hasOwnProperty;let Ne=Ke;var MU=new Map;function Td(N){var R=new Set,f={};return pH(N,R,f),{sources:Array.from(R).sort(),resolvedStyles:f}}function pH(N,R,f){if(N==null)return;if(EG(N))N.forEach(function(U){if(U==null)return;if(EG(U))pH(U,R,f);else iH(U,R,f)});else iH(N,R,f);f=Object.fromEntries(Object.entries(f).sort())}function iH(N,R,f){var U=Object.keys(N);U.forEach(function(v){var m=N[v];if(typeof m==="string")if(v===m)R.add(v);else{var C1=FT(m);if(C1!=null)f[v]=C1}else{var w1={};f[v]=w1,pH([m],R,w1)}})}function FT(N){if(MU.has(N))return MU.get(N);for(var R=0;R<document.styleSheets.length;R++){var f=document.styleSheets[R],U=null;try{U=f.cssRules}catch(b1){continue}for(var v=0;v<U.length;v++){if(!(U[v]instanceof CSSStyleRule))continue;var m=U[v],C1=m.cssText,w1=m.selectorText,x=m.style;if(w1!=null){if(w1.startsWith(".".concat(N))){var X1=C1.match(/{ *([a-z\-]+):/);if(X1!==null){var q1=X1[1],P1=x.getPropertyValue(q1);return MU.set(N,P1),P1}else return null}}}}return null}var ze="https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md",Qe="https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back",gT="https://fburl.com/react-devtools-workplace-group",AA={light:{"--color-attribute-name":"#ef6632","--color-attribute-name-not-editable":"#23272f","--color-attribute-name-inverted":"rgba(255, 255, 255, 0.7)","--color-attribute-value":"#1a1aa6","--color-attribute-value-inverted":"#ffffff","--color-attribute-editable-value":"#1a1aa6","--color-background":"#ffffff","--color-background-hover":"rgba(0, 136, 250, 0.1)","--color-background-inactive":"#e5e5e5","--color-background-invalid":"#fff0f0","--color-background-selected":"#0088fa","--color-button-background":"#ffffff","--color-button-background-focus":"#ededed","--color-button":"#5f6673","--color-button-disabled":"#cfd1d5","--color-button-active":"#0088fa","--color-button-focus":"#23272f","--color-button-hover":"#23272f","--color-border":"#eeeeee","--color-commit-did-not-render-fill":"#cfd1d5","--color-commit-did-not-render-fill-text":"#000000","--color-commit-did-not-render-pattern":"#cfd1d5","--color-commit-did-not-render-pattern-text":"#333333","--color-commit-gradient-0":"#37afa9","--color-commit-gradient-1":"#63b19e","--color-commit-gradient-2":"#80b393","--color-commit-gradient-3":"#97b488","--color-commit-gradient-4":"#abb67d","--color-commit-gradient-5":"#beb771","--color-commit-gradient-6":"#cfb965","--color-commit-gradient-7":"#dfba57","--color-commit-gradient-8":"#efbb49","--color-commit-gradient-9":"#febc38","--color-commit-gradient-text":"#000000","--color-component-name":"#6a51b2","--color-component-name-inverted":"#ffffff","--color-component-badge-background":"rgba(0, 0, 0, 0.1)","--color-component-badge-background-inverted":"rgba(255, 255, 255, 0.25)","--color-component-badge-count":"#777d88","--color-component-badge-count-inverted":"rgba(255, 255, 255, 0.7)","--color-console-error-badge-text":"#ffffff","--color-console-error-background":"#fff0f0","--color-console-error-border":"#ffd6d6","--color-console-error-icon":"#eb3941","--color-console-error-text":"#fe2e31","--color-console-warning-badge-text":"#000000","--color-console-warning-background":"#fffbe5","--color-console-warning-border":"#fff5c1","--color-console-warning-icon":"#f4bd00","--color-console-warning-text":"#64460c","--color-context-background":"rgba(0,0,0,.9)","--color-context-background-hover":"rgba(255, 255, 255, 0.1)","--color-context-background-selected":"#178fb9","--color-context-border":"#3d424a","--color-context-text":"#ffffff","--color-context-text-selected":"#ffffff","--color-dim":"#777d88","--color-dimmer":"#cfd1d5","--color-dimmest":"#eff0f1","--color-error-background":"hsl(0, 100%, 97%)","--color-error-border":"hsl(0, 100%, 92%)","--color-error-text":"#ff0000","--color-expand-collapse-toggle":"#777d88","--color-link":"#0000ff","--color-modal-background":"rgba(255, 255, 255, 0.75)","--color-bridge-version-npm-background":"#eff0f1","--color-bridge-version-npm-text":"#000000","--color-bridge-version-number":"#0088fa","--color-primitive-hook-badge-background":"#e5e5e5","--color-primitive-hook-badge-text":"#5f6673","--color-record-active":"#fc3a4b","--color-record-hover":"#3578e5","--color-record-inactive":"#0088fa","--color-resize-bar":"#eeeeee","--color-resize-bar-active":"#dcdcdc","--color-resize-bar-border":"#d1d1d1","--color-resize-bar-dot":"#333333","--color-timeline-internal-module":"#d1d1d1","--color-timeline-internal-module-hover":"#c9c9c9","--color-timeline-internal-module-text":"#444","--color-timeline-native-event":"#ccc","--color-timeline-native-event-hover":"#aaa","--color-timeline-network-primary":"#fcf3dc","--color-timeline-network-primary-hover":"#f0e7d1","--color-timeline-network-secondary":"#efc457","--color-timeline-network-secondary-hover":"#e3ba52","--color-timeline-priority-background":"#f6f6f6","--color-timeline-priority-border":"#eeeeee","--color-timeline-user-timing":"#c9cacd","--color-timeline-user-timing-hover":"#93959a","--color-timeline-react-idle":"#d3e5f6","--color-timeline-react-idle-hover":"#c3d9ef","--color-timeline-react-render":"#9fc3f3","--color-timeline-react-render-hover":"#83afe9","--color-timeline-react-render-text":"#11365e","--color-timeline-react-commit":"#c88ff0","--color-timeline-react-commit-hover":"#b281d6","--color-timeline-react-commit-text":"#3e2c4a","--color-timeline-react-layout-effects":"#b281d6","--color-timeline-react-layout-effects-hover":"#9d71bd","--color-timeline-react-layout-effects-text":"#3e2c4a","--color-timeline-react-passive-effects":"#b281d6","--color-timeline-react-passive-effects-hover":"#9d71bd","--color-timeline-react-passive-effects-text":"#3e2c4a","--color-timeline-react-schedule":"#9fc3f3","--color-timeline-react-schedule-hover":"#2683E2","--color-timeline-react-suspense-rejected":"#f1cc14","--color-timeline-react-suspense-rejected-hover":"#ffdf37","--color-timeline-react-suspense-resolved":"#a6e59f","--color-timeline-react-suspense-resolved-hover":"#89d281","--color-timeline-react-suspense-unresolved":"#c9cacd","--color-timeline-react-suspense-unresolved-hover":"#93959a","--color-timeline-thrown-error":"#ee1638","--color-timeline-thrown-error-hover":"#da1030","--color-timeline-text-color":"#000000","--color-timeline-text-dim-color":"#ccc","--color-timeline-react-work-border":"#eeeeee","--color-search-match":"yellow","--color-search-match-current":"#f7923b","--color-selected-tree-highlight-active":"rgba(0, 136, 250, 0.1)","--color-selected-tree-highlight-inactive":"rgba(0, 0, 0, 0.05)","--color-scroll-caret":"rgba(150, 150, 150, 0.5)","--color-tab-selected-border":"#0088fa","--color-text":"#000000","--color-text-invalid":"#ff0000","--color-text-selected":"#ffffff","--color-toggle-background-invalid":"#fc3a4b","--color-toggle-background-on":"#0088fa","--color-toggle-background-off":"#cfd1d5","--color-toggle-text":"#ffffff","--color-warning-background":"#fb3655","--color-warning-background-hover":"#f82042","--color-warning-text-color":"#ffffff","--color-warning-text-color-inverted":"#fd4d69","--color-scroll-thumb":"#c2c2c2","--color-scroll-track":"#fafafa","--color-tooltip-background":"rgba(0, 0, 0, 0.9)","--color-tooltip-text":"#ffffff"},dark:{"--color-attribute-name":"#9d87d2","--color-attribute-name-not-editable":"#ededed","--color-attribute-name-inverted":"#282828","--color-attribute-value":"#cedae0","--color-attribute-value-inverted":"#ffffff","--color-attribute-editable-value":"yellow","--color-background":"#282c34","--color-background-hover":"rgba(255, 255, 255, 0.1)","--color-background-inactive":"#3d424a","--color-background-invalid":"#5c0000","--color-background-selected":"#178fb9","--color-button-background":"#282c34","--color-button-background-focus":"#3d424a","--color-button":"#afb3b9","--color-button-active":"#61dafb","--color-button-disabled":"#4f5766","--color-button-focus":"#a2e9fc","--color-button-hover":"#ededed","--color-border":"#3d424a","--color-commit-did-not-render-fill":"#777d88","--color-commit-did-not-render-fill-text":"#000000","--color-commit-did-not-render-pattern":"#666c77","--color-commit-did-not-render-pattern-text":"#ffffff","--color-commit-gradient-0":"#37afa9","--color-commit-gradient-1":"#63b19e","--color-commit-gradient-2":"#80b393","--color-commit-gradient-3":"#97b488","--color-commit-gradient-4":"#abb67d","--color-commit-gradient-5":"#beb771","--color-commit-gradient-6":"#cfb965","--color-commit-gradient-7":"#dfba57","--color-commit-gradient-8":"#efbb49","--color-commit-gradient-9":"#febc38","--color-commit-gradient-text":"#000000","--color-component-name":"#61dafb","--color-component-name-inverted":"#282828","--color-component-badge-background":"rgba(255, 255, 255, 0.25)","--color-component-badge-background-inverted":"rgba(0, 0, 0, 0.25)","--color-component-badge-count":"#8f949d","--color-component-badge-count-inverted":"rgba(255, 255, 255, 0.7)","--color-console-error-badge-text":"#000000","--color-console-error-background":"#290000","--color-console-error-border":"#5c0000","--color-console-error-icon":"#eb3941","--color-console-error-text":"#fc7f7f","--color-console-warning-badge-text":"#000000","--color-console-warning-background":"#332b00","--color-console-warning-border":"#665500","--color-console-warning-icon":"#f4bd00","--color-console-warning-text":"#f5f2ed","--color-context-background":"rgba(255,255,255,.95)","--color-context-background-hover":"rgba(0, 136, 250, 0.1)","--color-context-background-selected":"#0088fa","--color-context-border":"#eeeeee","--color-context-text":"#000000","--color-context-text-selected":"#ffffff","--color-dim":"#8f949d","--color-dimmer":"#777d88","--color-dimmest":"#4f5766","--color-error-background":"#200","--color-error-border":"#900","--color-error-text":"#f55","--color-expand-collapse-toggle":"#8f949d","--color-link":"#61dafb","--color-modal-background":"rgba(0, 0, 0, 0.75)","--color-bridge-version-npm-background":"rgba(0, 0, 0, 0.25)","--color-bridge-version-npm-text":"#ffffff","--color-bridge-version-number":"yellow","--color-primitive-hook-badge-background":"rgba(0, 0, 0, 0.25)","--color-primitive-hook-badge-text":"rgba(255, 255, 255, 0.7)","--color-record-active":"#fc3a4b","--color-record-hover":"#a2e9fc","--color-record-inactive":"#61dafb","--color-resize-bar":"#282c34","--color-resize-bar-active":"#31363f","--color-resize-bar-border":"#3d424a","--color-resize-bar-dot":"#cfd1d5","--color-timeline-internal-module":"#303542","--color-timeline-internal-module-hover":"#363b4a","--color-timeline-internal-module-text":"#7f8899","--color-timeline-native-event":"#b2b2b2","--color-timeline-native-event-hover":"#949494","--color-timeline-network-primary":"#fcf3dc","--color-timeline-network-primary-hover":"#e3dbc5","--color-timeline-network-secondary":"#efc457","--color-timeline-network-secondary-hover":"#d6af4d","--color-timeline-priority-background":"#1d2129","--color-timeline-priority-border":"#282c34","--color-timeline-user-timing":"#c9cacd","--color-timeline-user-timing-hover":"#93959a","--color-timeline-react-idle":"#3d485b","--color-timeline-react-idle-hover":"#465269","--color-timeline-react-render":"#2683E2","--color-timeline-react-render-hover":"#1a76d4","--color-timeline-react-render-text":"#11365e","--color-timeline-react-commit":"#731fad","--color-timeline-react-commit-hover":"#611b94","--color-timeline-react-commit-text":"#e5c1ff","--color-timeline-react-layout-effects":"#611b94","--color-timeline-react-layout-effects-hover":"#51167a","--color-timeline-react-layout-effects-text":"#e5c1ff","--color-timeline-react-passive-effects":"#611b94","--color-timeline-react-passive-effects-hover":"#51167a","--color-timeline-react-passive-effects-text":"#e5c1ff","--color-timeline-react-schedule":"#2683E2","--color-timeline-react-schedule-hover":"#1a76d4","--color-timeline-react-suspense-rejected":"#f1cc14","--color-timeline-react-suspense-rejected-hover":"#e4c00f","--color-timeline-react-suspense-resolved":"#a6e59f","--color-timeline-react-suspense-resolved-hover":"#89d281","--color-timeline-react-suspense-unresolved":"#c9cacd","--color-timeline-react-suspense-unresolved-hover":"#93959a","--color-timeline-thrown-error":"#fb3655","--color-timeline-thrown-error-hover":"#f82042","--color-timeline-text-color":"#282c34","--color-timeline-text-dim-color":"#555b66","--color-timeline-react-work-border":"#3d424a","--color-search-match":"yellow","--color-search-match-current":"#f7923b","--color-selected-tree-highlight-active":"rgba(23, 143, 185, 0.15)","--color-selected-tree-highlight-inactive":"rgba(255, 255, 255, 0.05)","--color-scroll-caret":"#4f5766","--color-shadow":"rgba(0, 0, 0, 0.5)","--color-tab-selected-border":"#178fb9","--color-text":"#ffffff","--color-text-invalid":"#ff8080","--color-text-selected":"#ffffff","--color-toggle-background-invalid":"#fc3a4b","--color-toggle-background-on":"#178fb9","--color-toggle-background-off":"#777d88","--color-toggle-text":"#ffffff","--color-warning-background":"#ee1638","--color-warning-background-hover":"#da1030","--color-warning-text-color":"#ffffff","--color-warning-text-color-inverted":"#ee1638","--color-scroll-thumb":"#afb3b9","--color-scroll-track":"#313640","--color-tooltip-background":"rgba(255, 255, 255, 0.95)","--color-tooltip-text":"#000000"},compact:{"--font-size-monospace-small":"9px","--font-size-monospace-normal":"11px","--font-size-monospace-large":"15px","--font-size-sans-small":"10px","--font-size-sans-normal":"12px","--font-size-sans-large":"14px","--line-height-data":"18px"},comfortable:{"--font-size-monospace-small":"10px","--font-size-monospace-normal":"13px","--font-size-monospace-large":"17px","--font-size-sans-small":"12px","--font-size-sans-normal":"14px","--font-size-sans-large":"16px","--line-height-data":"22px"}},JT=parseInt(AA.comfortable["--line-height-data"],10),KT=parseInt(AA.compact["--line-height-data"],10),NT=31,zT=1,fe=60;function SU(N,R){var f=Object.keys(N);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(N);if(R)U=U.filter(function(v){return Object.getOwnPropertyDescriptor(N,v).enumerable});f.push.apply(f,U)}return f}function L8(N){for(var R=1;R<arguments.length;R++){var f=arguments[R]!=null?arguments[R]:{};if(R%2)SU(Object(f),!0).forEach(function(U){QT(N,U,f[U])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(N,Object.getOwnPropertyDescriptors(f));else SU(Object(f)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(f,U))})}return N}function QT(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var nH=0,y8,t6,LU,yU,PU,$U,uU;function LK(){}LK.__reactDisabledLog=!0;function fT(){if(nH===0){y8=console.log,t6=console.info,LU=console.warn,yU=console.error,PU=console.group,$U=console.groupCollapsed,uU=console.groupEnd;var N={configurable:!0,enumerable:!0,value:LK,writable:!0};Object.defineProperties(console,{info:N,log:N,warn:N,error:N,group:N,groupCollapsed:N,groupEnd:N})}nH++}function TU(){if(nH--,nH===0){var N={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L8(L8({},N),{},{value:y8}),info:L8(L8({},N),{},{value:t6}),warn:L8(L8({},N),{},{value:LU}),error:L8(L8({},N),{},{value:yU}),group:L8(L8({},N),{},{value:PU}),groupCollapsed:L8(L8({},N),{},{value:$U}),groupEnd:L8(L8({},N),{},{value:uU})})}if(nH<0)console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function UX(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")UX=function R(f){return typeof f};else UX=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return UX(N)}var yK;function LG(N,R){if(yK===void 0)try{throw Error()}catch(U){var f=U.stack.trim().match(/\n( *(at )?)/);yK=f&&f[1]||""}return`
`+yK+N}var rH=!1,qe;if(!1)var qT;function vX(N,R,f){if(!N||rH)return"";if(!1)var U;var v,m=Error.prepareStackTrace;Error.prepareStackTrace=void 0,rH=!0;var C1=f.current;f.current=null,fT();try{if(R){var w1=function U2(){throw Error()};if(Object.defineProperty(w1.prototype,"props",{set:function U2(){throw Error()}}),(typeof Reflect==="undefined"?"undefined":UX(Reflect))==="object"&&Reflect.construct){try{Reflect.construct(w1,[])}catch(U2){v=U2}Reflect.construct(N,[],w1)}else{try{w1.call()}catch(U2){v=U2}N.call(w1.prototype)}}else{try{throw Error()}catch(U2){v=U2}N()}}catch(U2){if(U2&&v&&typeof U2.stack==="string"){var x=U2.stack.split(`
`),X1=v.stack.split(`
`),q1=x.length-1,P1=X1.length-1;while(q1>=1&&P1>=0&&x[q1]!==X1[P1])P1--;for(;q1>=1&&P1>=0;q1--,P1--)if(x[q1]!==X1[P1]){if(q1!==1||P1!==1)do if(q1--,P1--,P1<0||x[q1]!==X1[P1]){var b1=`
`+x[q1].replace(" at new "," at ");return b1}while(q1>=1&&P1>=0);break}}}finally{rH=!1,Error.prepareStackTrace=m,f.current=C1,TU()}var f0=N?N.displayName||N.name:"",e0=f0?LG(f0):"";return e0}function Re(N,R,f){return vX(N,!0,f)}function PK(N,R,f){return vX(N,!1,f)}function OU(N){var R=N.prototype;return!!(R&&R.isReactComponent)}function mU(N,R,f){return"";switch(N){case SUSPENSE_NUMBER:case SUSPENSE_SYMBOL_STRING:return LG("Suspense",R);case SUSPENSE_LIST_NUMBER:case SUSPENSE_LIST_SYMBOL_STRING:return LG("SuspenseList",R)}if(UX(N)==="object")switch(N.$$typeof){case FORWARD_REF_NUMBER:case FORWARD_REF_SYMBOL_STRING:return PK(N.render,R,f);case MEMO_NUMBER:case MEMO_SYMBOL_STRING:return mU(N.type,R,f);case LAZY_NUMBER:case LAZY_SYMBOL_STRING:{var U=N,v=U._payload,m=U._init;try{return mU(m(v),R,f)}catch(C1){}}}}function aH(N,R,f){var{HostComponent:U,LazyComponent:v,SuspenseComponent:m,SuspenseListComponent:C1,FunctionComponent:w1,IndeterminateComponent:x,SimpleMemoComponent:X1,ForwardRef:q1,ClassComponent:P1}=N,b1=null;switch(R.tag){case U:return LG(R.type,b1);case v:return LG("Lazy",b1);case m:return LG("Suspense",b1);case C1:return LG("SuspenseList",b1);case w1:case x:case X1:return PK(R.type,b1,f);case q1:return PK(R.type.render,b1,f);case P1:return Re(R.type,b1,f);default:return""}}function BC(N,R,f){try{var U="",v=R;do U+=aH(N,v,f),v=v.return;while(v);return U}catch(m){return`
Error generating stack: `+m.message+`
`+m.stack}}function RT(N,R){return $K(N)||sH(N,R)||UT(N,R)||yG()}function yG(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function UT(N,R){if(!N)return;if(typeof N==="string")return EX(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return EX(N,R)}function EX(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function sH(N,R){if(typeof Symbol==="undefined"||!(Symbol.iterator in Object(N)))return;var f=[],U=!0,v=!1,m=void 0;try{for(var C1=N[Symbol.iterator](),w1;!(U=(w1=C1.next()).done);U=!0)if(f.push(w1.value),R&&f.length===R)break}catch(x){v=!0,m=x}finally{try{if(!U&&C1.return!=null)C1.return()}finally{if(v)throw m}}return f}function $K(N){if(Array.isArray(N))return N}function xW(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")xW=function R(f){return typeof f};else xW=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return xW(N)}var lU=10,cW=null,m6=typeof performance!=="undefined"&&typeof performance.mark==="function"&&typeof performance.clearMarks==="function",L4=!1;if(m6){var vT="__v3",oH={};Object.defineProperty(oH,"startTime",{get:function N(){return L4=!0,0},set:function N(){}});try{performance.mark(vT,oH)}catch(N){}finally{performance.clearMarks(vT)}}if(L4)cW=performance;var I8=(typeof performance==="undefined"?"undefined":xW(performance))==="object"&&typeof performance.now==="function"?function(){return performance.now()}:function(){return Date.now()};function qN1(N){cW=N,m6=N!==null,L4=N!==null}function D2(N){var{getDisplayNameForFiber:R,getIsProfiling:f,getLaneLabelMap:U,workTagMap:v,currentDispatcherRef:m,reactVersion:C1}=N,w1=0,x=null,X1=[],q1=null,P1=new Map,b1=!1,f0=!1;function e0(){var C2=I8();if(q1){if(q1.startTime===0)q1.startTime=C2-lU;return C2-q1.startTime}return 0}function U2(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!=="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.getInternalModuleRanges==="function"){var C2=__REACT_DEVTOOLS_GLOBAL_HOOK__.getInternalModuleRanges();if(wC(C2))return C2}return null}function x0(){return q1}function b2(C2){var S2=[],O4=1;for(var C5=0;C5<NT;C5++){if(O4&C2)S2.push(O4);O4*=2}return S2}var R4=typeof U==="function"?U():null;function U5(){V2("--react-version-".concat(C1)),V2("--profiler-version-".concat(zT));var C2=U2();if(C2)for(var S2=0;S2<C2.length;S2++){var O4=C2[S2];if(wC(O4)&&O4.length===2){var C5=RT(C2[S2],2),D3=C5[0],S9=C5[1];V2("--react-internal-module-start-".concat(D3)),V2("--react-internal-module-stop-".concat(S9))}}if(R4!=null){var C8=Array.from(R4.values()).join(",");V2("--react-lane-labels-".concat(C8))}}function V2(C2){cW.mark(C2),cW.clearMarks(C2)}function g5(C2,S2){var O4=0;if(X1.length>0){var C5=X1[X1.length-1];O4=C5.type==="render-idle"?C5.depth:C5.depth+1}var D3=b2(S2),S9={type:C2,batchUID:w1,depth:O4,lanes:D3,timestamp:e0(),duration:0};if(X1.push(S9),q1){var C8=q1,g7=C8.batchUIDToMeasuresMap,h6=C8.laneToReactMeasureMap,bd=g7.get(w1);if(bd!=null)bd.push(S9);else g7.set(w1,[S9]);D3.forEach(function(FA){if(bd=h6.get(FA),bd)bd.push(S9)})}}function o5(C2){var S2=e0();if(X1.length===0){console.error('Unexpected type "%s" completed at %sms while currentReactMeasuresStack is empty.',C2,S2);return}var O4=X1.pop();if(O4.type!==C2)console.error('Unexpected type "%s" completed at %sms before "%s" completed.',C2,S2,O4.type);if(O4.duration=S2-O4.timestamp,q1)q1.duration=e0()+lU}function Z5(C2){if(b1)g5("commit",C2),f0=!0;if(L4)V2("--commit-start-".concat(C2)),U5()}function w9(){if(b1)o5("commit"),o5("render-idle");if(L4)V2("--commit-stop")}function e5(C2){if(b1||L4){var S2=R(C2)||"Unknown";if(b1){if(b1)x={componentName:S2,duration:0,timestamp:e0(),type:"render",warning:null}}if(L4)V2("--component-render-start-".concat(S2))}}function t3(){if(b1){if(x){if(q1)q1.componentMeasures.push(x);x.duration=e0()-x.timestamp,x=null}}if(L4)V2("--component-render-stop")}function J4(C2){if(b1||L4){var S2=R(C2)||"Unknown";if(b1){if(b1)x={componentName:S2,duration:0,timestamp:e0(),type:"layout-effect-mount",warning:null}}if(L4)V2("--component-layout-effect-mount-start-".concat(S2))}}function Y6(){if(b1){if(x){if(q1)q1.componentMeasures.push(x);x.duration=e0()-x.timestamp,x=null}}if(L4)V2("--component-layout-effect-mount-stop")}function _3(C2){if(b1||L4){var S2=R(C2)||"Unknown";if(b1){if(b1)x={componentName:S2,duration:0,timestamp:e0(),type:"layout-effect-unmount",warning:null}}if(L4)V2("--component-layout-effect-unmount-start-".concat(S2))}}function r9(){if(b1){if(x){if(q1)q1.componentMeasures.push(x);x.duration=e0()-x.timestamp,x=null}}if(L4)V2("--component-layout-effect-unmount-stop")}function G4(C2){if(b1||L4){var S2=R(C2)||"Unknown";if(b1){if(b1)x={componentName:S2,duration:0,timestamp:e0(),type:"passive-effect-mount",warning:null}}if(L4)V2("--component-passive-effect-mount-start-".concat(S2))}}function t5(){if(b1){if(x){if(q1)q1.componentMeasures.push(x);x.duration=e0()-x.timestamp,x=null}}if(L4)V2("--component-passive-effect-mount-stop")}function _6(C2){if(b1||L4){var S2=R(C2)||"Unknown";if(b1){if(b1)x={componentName:S2,duration:0,timestamp:e0(),type:"passive-effect-unmount",warning:null}}if(L4)V2("--component-passive-effect-unmount-start-".concat(S2))}}function u8(){if(b1){if(x){if(q1)q1.componentMeasures.push(x);x.duration=e0()-x.timestamp,x=null}}if(L4)V2("--component-passive-effect-unmount-stop")}function o0(C2,S2,O4){if(b1||L4){var C5=R(C2)||"Unknown",D3=C2.alternate===null?"mount":"update",S9="";if(S2!==null&&xW(S2)==="object"&&typeof S2.message==="string")S9=S2.message;else if(typeof S2==="string")S9=S2;if(b1){if(q1)q1.thrownErrors.push({componentName:C5,message:S9,phase:D3,timestamp:e0(),type:"thrown-error"})}if(L4)V2("--error-".concat(C5,"-").concat(D3,"-").concat(S9))}}var f2=typeof WeakMap==="function"?WeakMap:Map,O2=new f2,M9=0;function $3(C2){if(!O2.has(C2))O2.set(C2,M9++);return O2.get(C2)}function a9(C2,S2,O4){if(b1||L4){var C5=O2.has(S2)?"resuspend":"suspend",D3=$3(S2),S9=R(C2)||"Unknown",C8=C2.alternate===null?"mount":"update",g7=S2.displayName||"",h6=null;if(b1){if(h6={componentName:S9,depth:0,duration:0,id:"".concat(D3),phase:C8,promiseName:g7,resolution:"unresolved",timestamp:e0(),type:"suspense",warning:null},q1)q1.suspenseEvents.push(h6)}if(L4)V2("--suspense-".concat(C5,"-").concat(D3,"-").concat(S9,"-").concat(C8,"-").concat(O4,"-").concat(g7));S2.then(function(){if(h6)h6.duration=e0()-h6.timestamp,h6.resolution="resolved";if(L4)V2("--suspense-resolved-".concat(D3,"-").concat(S9))},function(){if(h6)h6.duration=e0()-h6.timestamp,h6.resolution="rejected";if(L4)V2("--suspense-rejected-".concat(D3,"-").concat(S9))})}}function u3(C2){if(b1)g5("layout-effects",C2);if(L4)V2("--layout-effects-start-".concat(C2))}function b6(){if(b1)o5("layout-effects");if(L4)V2("--layout-effects-stop")}function HA(C2){if(b1)g5("passive-effects",C2);if(L4)V2("--passive-effects-start-".concat(C2))}function ld(){if(b1)o5("passive-effects");if(L4)V2("--passive-effects-stop")}function oW(C2){if(b1){if(f0)f0=!1,w1++;if(X1.length===0||X1[X1.length-1].type!=="render-idle")g5("render-idle",C2);g5("render",C2)}if(L4)V2("--render-start-".concat(C2))}function eW(){if(b1)o5("render");if(L4)V2("--render-yield")}function VC(){if(b1)o5("render");if(L4)V2("--render-stop")}function XC(C2){if(b1){if(q1)q1.schedulingEvents.push({lanes:b2(C2),timestamp:e0(),type:"schedule-render",warning:null})}if(L4)V2("--schedule-render-".concat(C2))}function lX(C2,S2){if(b1||L4){var O4=R(C2)||"Unknown";if(b1){if(q1)q1.schedulingEvents.push({componentName:O4,lanes:b2(S2),timestamp:e0(),type:"schedule-force-update",warning:null})}if(L4)V2("--schedule-forced-update-".concat(S2,"-").concat(O4))}}function tW(C2){var S2=[],O4=C2;while(O4!==null)S2.push(O4),O4=O4.return;return S2}function Wv(C2,S2){if(b1||L4){var O4=R(C2)||"Unknown";if(b1){if(q1){var C5={componentName:O4,lanes:b2(S2),timestamp:e0(),type:"schedule-state-update",warning:null};P1.set(C5,tW(C2)),q1.schedulingEvents.push(C5)}}if(L4)V2("--schedule-state-update-".concat(S2,"-").concat(O4))}}function wv(C2){if(b1!==C2)if(b1=C2,b1){var S2=new Map;if(L4){var O4=U2();if(O4)for(var C5=0;C5<O4.length;C5++){var D3=O4[C5];if(wC(D3)&&D3.length===2){var S9=RT(O4[C5],2),C8=S9[0],g7=S9[1];V2("--react-internal-module-start-".concat(C8)),V2("--react-internal-module-stop-".concat(g7))}}}var h6=new Map,bd=1;for(var FA=0;FA<NT;FA++)h6.set(bd,[]),bd*=2;w1=0,x=null,X1=[],P1=new Map,q1={internalModuleSourceToRanges:S2,laneToLabelMap:R4||new Map,reactVersion:C1,componentMeasures:[],schedulingEvents:[],suspenseEvents:[],thrownErrors:[],batchUIDToMeasuresMap:new Map,duration:0,laneToReactMeasureMap:h6,startTime:0,flamechart:[],nativeEvents:[],networkMeasures:[],otherUserTimingMarks:[],snapshots:[],snapshotHeight:0},f0=!0}else{if(q1!==null)q1.schedulingEvents.forEach(function(bX){if(bX.type==="schedule-state-update"){var H0=P1.get(bX);if(H0&&m!=null)bX.componentStack=H0.reduce(function(z0,q0){return z0+aH(v,q0,m)},"")}});P1.clear()}}return{getTimelineData:x0,profilingHooks:{markCommitStarted:Z5,markCommitStopped:w9,markComponentRenderStarted:e5,markComponentRenderStopped:t3,markComponentPassiveEffectMountStarted:G4,markComponentPassiveEffectMountStopped:t5,markComponentPassiveEffectUnmountStarted:_6,markComponentPassiveEffectUnmountStopped:u8,markComponentLayoutEffectMountStarted:J4,markComponentLayoutEffectMountStopped:Y6,markComponentLayoutEffectUnmountStarted:_3,markComponentLayoutEffectUnmountStopped:r9,markComponentErrored:o0,markComponentSuspended:a9,markLayoutEffectsStarted:u3,markLayoutEffectsStopped:b6,markPassiveEffectsStarted:HA,markPassiveEffectsStopped:ld,markRenderStarted:oW,markRenderYielded:eW,markRenderStopped:VC,markRenderScheduled:XC,markForceUpdateScheduled:lX,markStateUpdateScheduled:Wv},toggleProfilingStatus:wv}}function MX(N,R){if(N==null)return{};var f=bU(N,R),U,v;if(Object.getOwnPropertySymbols){var m=Object.getOwnPropertySymbols(N);for(v=0;v<m.length;v++){if(U=m[v],R.indexOf(U)>=0)continue;if(!Object.prototype.propertyIsEnumerable.call(N,U))continue;f[U]=N[U]}}return f}function bU(N,R){if(N==null)return{};var f={},U=Object.keys(N),v,m;for(m=0;m<U.length;m++){if(v=U[m],R.indexOf(v)>=0)continue;f[v]=N[v]}return f}function hU(N,R){var f=Object.keys(N);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(N);if(R)U=U.filter(function(v){return Object.getOwnPropertyDescriptor(N,v).enumerable});f.push.apply(f,U)}return f}function jU(N){for(var R=1;R<arguments.length;R++){var f=arguments[R]!=null?arguments[R]:{};if(R%2)hU(Object(f),!0).forEach(function(U){eH(N,U,f[U])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(N,Object.getOwnPropertyDescriptors(f));else hU(Object(f)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(f,U))})}return N}function eH(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}function tH(N,R){return MT(N)||ET(N,R)||OI(N,R)||kU()}function kU(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ET(N,R){if(typeof Symbol==="undefined"||!(Symbol.iterator in Object(N)))return;var f=[],U=!0,v=!1,m=void 0;try{for(var C1=N[Symbol.iterator](),w1;!(U=(w1=C1.next()).done);U=!0)if(f.push(w1.value),R&&f.length===R)break}catch(x){v=!0,m=x}finally{try{if(!U&&C1.return!=null)C1.return()}finally{if(v)throw m}}return f}function MT(N){if(Array.isArray(N))return N}function uK(N){return l6(N)||cU(N)||OI(N)||xU()}function xU(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cU(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function l6(N){if(Array.isArray(N))return IF(N)}function P8(N,R){var f;if(typeof Symbol==="undefined"||N[Symbol.iterator]==null){if(Array.isArray(N)||(f=OI(N))||R&&N&&typeof N.length==="number"){if(f)N=f;var U=0,v=function x(){};return{s:v,n:function x(){if(U>=N.length)return{done:!0};return{done:!1,value:N[U++]}},e:function x(X1){throw X1},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,C1=!1,w1;return{s:function x(){f=N[Symbol.iterator]()},n:function x(){var X1=f.next();return m=X1.done,X1},e:function x(X1){C1=!0,w1=X1},f:function x(){try{if(!m&&f.return!=null)f.return()}finally{if(C1)throw w1}}}}function OI(N,R){if(!N)return;if(typeof N==="string")return IF(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return IF(N,R)}function IF(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function pW(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")pW=function R(f){return typeof f};else pW=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return pW(N)}function Od(N){return N.flags!==void 0?N.flags:N.effectTag}var TK=(typeof performance==="undefined"?"undefined":pW(performance))==="object"&&typeof performance.now==="function"?function(){return performance.now()}:function(){return Date.now()};function md(N){var R={ImmediatePriority:99,UserBlockingPriority:98,NormalPriority:97,LowPriority:96,IdlePriority:95,NoPriority:90};if(lH(N,"17.0.2"))R={ImmediatePriority:1,UserBlockingPriority:2,NormalPriority:3,LowPriority:4,IdlePriority:5,NoPriority:0};var f=0;if($d(N,"18.0.0-alpha"))f=24;else if($d(N,"16.9.0"))f=1;else if($d(N,"16.3.0"))f=2;var U=null;if(lH(N,"17.0.1"))U={CacheComponent:24,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:26,HostSingleton:27,HostText:6,IncompleteClassComponent:17,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:23,MemoComponent:14,Mode:8,OffscreenComponent:22,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:25,YieldComponent:-1};else if($d(N,"17.0.0-alpha"))U={CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:24,MemoComponent:14,Mode:8,OffscreenComponent:23,Profiler:12,ScopeComponent:21,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:-1,YieldComponent:-1};else if($d(N,"16.6.0-beta.0"))U={CacheComponent:-1,ClassComponent:1,ContextConsumer:9,ContextProvider:10,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:18,ForwardRef:11,Fragment:7,FunctionComponent:0,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:17,IndeterminateComponent:2,LazyComponent:16,LegacyHiddenComponent:-1,MemoComponent:14,Mode:8,OffscreenComponent:-1,Profiler:12,ScopeComponent:-1,SimpleMemoComponent:15,SuspenseComponent:13,SuspenseListComponent:19,TracingMarkerComponent:-1,YieldComponent:-1};else if($d(N,"16.4.3-alpha"))U={CacheComponent:-1,ClassComponent:2,ContextConsumer:11,ContextProvider:12,CoroutineComponent:-1,CoroutineHandlerPhase:-1,DehydratedSuspenseComponent:-1,ForwardRef:13,Fragment:9,FunctionComponent:0,HostComponent:7,HostPortal:6,HostRoot:5,HostHoistable:-1,HostSingleton:-1,HostText:8,IncompleteClassComponent:-1,IndeterminateComponent:4,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:10,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,TracingMarkerComponent:-1,YieldComponent:-1};else U={CacheComponent:-1,ClassComponent:2,ContextConsumer:12,ContextProvider:13,CoroutineComponent:7,CoroutineHandlerPhase:8,DehydratedSuspenseComponent:-1,ForwardRef:14,Fragment:10,FunctionComponent:1,HostComponent:5,HostPortal:4,HostRoot:3,HostHoistable:-1,HostSingleton:-1,HostText:6,IncompleteClassComponent:-1,IndeterminateComponent:0,LazyComponent:-1,LegacyHiddenComponent:-1,MemoComponent:-1,Mode:11,OffscreenComponent:-1,Profiler:15,ScopeComponent:-1,SimpleMemoComponent:-1,SuspenseComponent:16,SuspenseListComponent:-1,TracingMarkerComponent:-1,YieldComponent:9};function v(G4){var t5=pW(G4)==="object"&&G4!==null?G4.$$typeof:G4;return pW(t5)==="symbol"?t5.toString():t5}var m=U,C1=m.CacheComponent,w1=m.ClassComponent,x=m.IncompleteClassComponent,X1=m.FunctionComponent,q1=m.IndeterminateComponent,P1=m.ForwardRef,b1=m.HostRoot,f0=m.HostHoistable,e0=m.HostSingleton,U2=m.HostComponent,x0=m.HostPortal,b2=m.HostText,R4=m.Fragment,U5=m.LazyComponent,V2=m.LegacyHiddenComponent,g5=m.MemoComponent,o5=m.OffscreenComponent,Z5=m.Profiler,w9=m.ScopeComponent,e5=m.SimpleMemoComponent,t3=m.SuspenseComponent,J4=m.SuspenseListComponent,Y6=m.TracingMarkerComponent;function _3(G4){var t5=v(G4);switch(t5){case AT:case VT:return _3(G4.type);case wT:case BT:return G4.render;default:return G4}}function r9(G4){var{elementType:t5,type:_6,tag:u8}=G4,o0=_6;if(pW(_6)==="object"&&_6!==null)o0=_3(_6);var f2=null;switch(u8){case C1:return"Cache";case w1:case x:return O6(o0);case X1:case q1:return O6(o0);case P1:return zK(t5,o0,"ForwardRef","Anonymous");case b1:var O2=G4.stateNode;if(O2!=null&&O2._debugRootType!==null)return O2._debugRootType;return null;case U2:case e0:case f0:return _6;case x0:case b2:return null;case R4:return"Fragment";case U5:return"Lazy";case g5:case e5:return zK(t5,o0,"Memo","Anonymous");case t3:return"Suspense";case V2:return"LegacyHidden";case o5:return"Offscreen";case w9:return"Scope";case J4:return"SuspenseList";case Z5:return"Profiler";case Y6:return"TracingMarker";default:var M9=v(_6);switch(M9){case UU:case V6:case TI:return null;case vK:case cH:return f2=G4.type._context||G4.type.context,"".concat(f2.displayName||"Context",".Provider");case hH:case jH:case vU:return f2=G4.type._context||G4.type,"".concat(f2.displayName||"Context",".Consumer");case EK:case MK:return null;case kH:case xH:return"Profiler(".concat(G4.memoizedProps.id,")");case XT:case YT:return"Scope";default:return null}}}return{getDisplayNameForFiber:r9,getTypeSymbol:v,ReactPriorityLevels:R,ReactTypeOfWork:U,StrictModeBits:f}}var H7=new Map,d8=new Map;function ST(N,R,f,U){var v=f.reconcilerVersion||f.version,m=md(v),C1=m.getDisplayNameForFiber,w1=m.getTypeSymbol,x=m.ReactPriorityLevels,X1=m.ReactTypeOfWork,q1=m.StrictModeBits,P1=X1.CacheComponent,b1=X1.ClassComponent,f0=X1.ContextConsumer,e0=X1.DehydratedSuspenseComponent,U2=X1.ForwardRef,x0=X1.Fragment,b2=X1.FunctionComponent,R4=X1.HostRoot,U5=X1.HostHoistable,V2=X1.HostSingleton,g5=X1.HostPortal,o5=X1.HostComponent,Z5=X1.HostText,w9=X1.IncompleteClassComponent,e5=X1.IndeterminateComponent,t3=X1.LegacyHiddenComponent,J4=X1.MemoComponent,Y6=X1.OffscreenComponent,_3=X1.SimpleMemoComponent,r9=X1.SuspenseComponent,G4=X1.SuspenseListComponent,t5=X1.TracingMarkerComponent,_6=x.ImmediatePriority,u8=x.UserBlockingPriority,o0=x.NormalPriority,f2=x.LowPriority,O2=x.IdlePriority,M9=x.NoPriority,$3=f.getLaneLabelMap,a9=f.injectProfilingHooks,u3=f.overrideHookState,b6=f.overrideHookStateDeletePath,HA=f.overrideHookStateRenamePath,ld=f.overrideProps,oW=f.overridePropsDeletePath,eW=f.overridePropsRenamePath,VC=f.scheduleRefresh,XC=f.setErrorHandler,lX=f.setSuspenseHandler,tW=f.scheduleUpdate,Wv=typeof XC==="function"&&typeof tW==="function",wv=typeof lX==="function"&&typeof tW==="function";if(typeof VC==="function")f.scheduleRefresh=function(){try{N.emit("fastRefreshScheduled")}finally{return VC.apply(void 0,arguments)}};var C2=null,S2=null;if(typeof a9==="function"){var O4=D2({getDisplayNameForFiber:C1,getIsProfiling:function b(){return hG},getLaneLabelMap:$3,currentDispatcherRef:f.currentDispatcherRef,workTagMap:X1,reactVersion:v});a9(O4.profilingHooks),C2=O4.getTimelineData,S2=O4.toggleProfilingStatus}var C5=new Set,D3=new Map,S9=new Map,C8=new Map,g7=new Map;function h6(){var b=P8(C8.keys()),n;try{for(b.s();!(n=b.n()).done;){var Y1=n.value,D1=d8.get(Y1);if(D1!=null)C5.add(D1),H0(Y1)}}catch(p2){b.e(p2)}finally{b.f()}var k1=P8(g7.keys()),A0;try{for(k1.s();!(A0=k1.n()).done;){var M0=A0.value,m2=d8.get(M0);if(m2!=null)C5.add(m2),H0(M0)}}catch(p2){k1.e(p2)}finally{k1.f()}C8.clear(),g7.clear(),XF()}function bd(b,n,Y1){var D1=d8.get(b);if(D1!=null)if(D3.delete(D1),Y1.has(b))Y1.delete(b),C5.add(D1),XF(),H0(b);else C5.delete(D1)}function FA(b){bd(b,D3,C8)}function bX(b){bd(b,S9,g7)}function H0(b){if(r7!==null&&r7.id===b)Yv=!0}function z0(b,n,Y1){if(n==="error"){var D1=lG(b);if(D1!=null&&_C.get(D1)===!0)return}var k1=P3.apply(void 0,uK(Y1));if(J)q0("onErrorOrWarning",b,null,"".concat(n,': "').concat(k1,'"'));C5.add(b);var A0=n==="error"?D3:S9,M0=A0.get(b);if(M0!=null){var m2=M0.get(k1)||0;M0.set(k1,m2+1)}else A0.set(b,new Map([[k1,1]]));YR2()}VA(f,z0),$8();var q0=function b(n,Y1,D1){var k1=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";if(J){var A0=Y1.tag+":"+(C1(Y1)||"null"),M0=lG(Y1)||"<no id>",m2=D1?D1.tag+":"+(C1(D1)||"null"):"",p2=D1?lG(D1)||"<no-id>":"";console.groupCollapsed("[renderer] %c".concat(n," %c").concat(A0," (").concat(M0,") %c").concat(D1?"".concat(m2," (").concat(p2,")"):""," %c").concat(k1),"color: red; font-weight: bold;","color: blue;","color: purple;","color: black;"),console.log(new Error().stack.split(`
`).slice(1).join(`
`)),console.groupEnd()}},u0=new Set,z2=new Set,U4=new Set,m4=!1,y5=new Set;function D6(b){U4.clear(),u0.clear(),z2.clear(),b.forEach(function(n){if(!n.isEnabled)return;switch(n.type){case Sd:if(n.isValid&&n.value!=="")u0.add(new RegExp(n.value,"i"));break;case au:U4.add(n.value);break;case GC:if(n.isValid&&n.value!=="")z2.add(new RegExp(n.value,"i"));break;case JK:u0.add(new RegExp("\\("));break;default:console.warn('Invalid component filter type "'.concat(n.type,'"'));break}})}if(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__!=null)D6(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__);else D6(SH());function T8(b){if(hG)throw Error("Cannot modify filter preferences while profiling");N.getFiberRoots(R).forEach(function(n){H6=Iw(n.current),I9(h),XF(n),H6=-1}),D6(b),tK.clear(),N.getFiberRoots(R).forEach(function(n){H6=Iw(n.current),sT(H6,n.current),YC(n.current,null,!1,!1),XF(n),H6=-1}),_R2(),XF()}function TG(b){var{_debugSource:n,tag:Y1,type:D1,key:k1}=b;switch(Y1){case e0:return!0;case g5:case Z5:case t3:case Y6:return!0;case R4:return!1;case x0:return k1===null;default:var A0=w1(D1);switch(A0){case UU:case V6:case TI:case EK:case MK:return!0;default:break}}var M0=j6(b);if(U4.has(M0))return!0;if(u0.size>0){var m2=C1(b);if(m2!=null){var p2=P8(u0),$2;try{for(p2.s();!($2=p2.n()).done;){var i2=$2.value;if(i2.test(m2))return!0}}catch(jI){p2.e(jI)}finally{p2.f()}}}if(n!=null&&z2.size>0){var r4=n.fileName,k6=P8(z2),m9;try{for(k6.s();!(m9=k6.n()).done;){var J7=m9.value;if(J7.test(r4))return!0}}catch(jI){k6.e(jI)}finally{k6.f()}}return!1}function j6(b){var{type:n,tag:Y1}=b;switch(Y1){case b1:case w9:return E8;case b2:case e5:return UG;case U2:return tB;case R4:return FK;case o5:case U5:case V2:return n9;case g5:case Z5:case x0:return Md;case J4:case _3:return mW;case r9:return gK;case G4:return vG;case t5:return Ze;default:var D1=w1(n);switch(D1){case UU:case V6:case TI:return Md;case vK:case cH:return eB;case hH:case jH:return eB;case EK:case MK:return Md;case kH:case xH:return JU;default:return Md}}}var OG=new Map,AF=new Map,H6=-1;function Iw(b){var n=null;if(H7.has(b))n=H7.get(b);else{var Y1=b.alternate;if(Y1!==null&&H7.has(Y1))n=H7.get(Y1)}var D1=!1;if(n===null)D1=!0,n=K9();var k1=n;if(!H7.has(b))H7.set(b,k1),d8.set(k1,b);var A0=b.alternate;if(A0!==null){if(!H7.has(A0))H7.set(A0,k1)}if(J){if(D1)q0("getOrGenerateFiberID()",b,b.return,"Generated a new UID")}return k1}function mG(b){var n=lG(b);if(n!==null)return n;throw Error('Could not find ID for Fiber "'.concat(C1(b)||"",'"'))}function lG(b){if(H7.has(b))return H7.get(b);else{var n=b.alternate;if(n!==null&&H7.has(n))return H7.get(n)}return null}function WR2(b){if(J)q0("untrackFiberID()",b,b.return,"schedule after delay");Bv.add(b);var n=b.alternate;if(n!==null)Bv.add(n);if(Av===null)Av=setTimeout(RN1,1000)}var Bv=new Set,Av=null;function RN1(){if(Av!==null)clearTimeout(Av),Av=null;Bv.forEach(function(b){var n=lG(b);if(n!==null)d8.delete(n),FA(n),bX(n);H7.delete(b);var Y1=b.alternate;if(Y1!==null)H7.delete(Y1);if(_C.has(n)){if(_C.delete(n),_C.size===0&&XC!=null)XC(cN1)}}),Bv.clear()}function wR2(b,n){switch(j6(n)){case E8:case UG:case mW:case tB:if(b===null)return{context:null,didHooksChange:!1,isFirstMount:!0,props:null,state:null};else{var Y1={context:BR2(n),didHooksChange:!1,isFirstMount:!1,props:Pe(b.memoizedProps,n.memoizedProps),state:Pe(b.memoizedState,n.memoizedState)},D1=XR2(b.memoizedState,n.memoizedState);return Y1.hooks=D1,Y1.didHooksChange=D1!==null&&D1.length>0,Y1}default:return null}}function UN1(b){switch(j6(b)){case E8:case tB:case UG:case mW:if(oK!==null){var n=mG(b),Y1=vN1(b);if(Y1!==null)oK.set(n,Y1)}break;default:break}}var nK={};function vN1(b){var n=nK,Y1=nK;switch(j6(b)){case E8:var D1=b.stateNode;if(D1!=null){if(D1.constructor&&D1.constructor.contextType!=null)Y1=D1.context;else if(n=D1.context,n&&Object.keys(n).length===0)n=nK}return[n,Y1];case tB:case UG:case mW:var k1=b.dependencies;if(k1&&k1.firstContext)Y1=k1.firstContext;return[n,Y1];default:return null}}function EN1(b){var n=lG(b);if(n!==null){UN1(b);var Y1=b.child;while(Y1!==null)EN1(Y1),Y1=Y1.sibling}}function BR2(b){if(oK!==null){var n=mG(b),Y1=oK.has(n)?oK.get(n):null,D1=vN1(b);if(Y1==null||D1==null)return null;var k1=tH(Y1,2),A0=k1[0],M0=k1[1],m2=tH(D1,2),p2=m2[0],$2=m2[1];switch(j6(b)){case E8:if(Y1&&D1){if(p2!==nK)return Pe(A0,p2);else if($2!==nK)return M0!==$2}break;case tB:case UG:case mW:if($2!==nK){var i2=M0,r4=$2;while(i2&&r4){if(!SK(i2.memoizedValue,r4.memoizedValue))return!0;i2=i2.next,r4=r4.next}return!1}break;default:break}}return null}function AR2(b){var n=b.queue;if(!n)return!1;var Y1=Ne.bind(n);if(Y1("pending"))return!0;return Y1("value")&&Y1("getSnapshot")&&typeof n.getSnapshot==="function"}function VR2(b,n){var Y1=b.memoizedState,D1=n.memoizedState;if(AR2(b))return Y1!==D1;return!1}function XR2(b,n){if(b==null||n==null)return null;var Y1=[],D1=0;if(n.hasOwnProperty("baseState")&&n.hasOwnProperty("memoizedState")&&n.hasOwnProperty("next")&&n.hasOwnProperty("queue"))while(n!==null){if(VR2(b,n))Y1.push(D1);n=n.next,b=b.next,D1++}return Y1}function Pe(b,n){if(b==null||n==null)return null;if(n.hasOwnProperty("baseState")&&n.hasOwnProperty("memoizedState")&&n.hasOwnProperty("next")&&n.hasOwnProperty("queue"))return null;var Y1=new Set([].concat(uK(Object.keys(b)),uK(Object.keys(n)))),D1=[],k1=P8(Y1),A0;try{for(k1.s();!(A0=k1.n()).done;){var M0=A0.value;if(b[M0]!==n[M0])D1.push(M0)}}catch(m2){k1.e(m2)}finally{k1.f()}return D1}function $e(b,n){switch(n.tag){case b1:case b2:case f0:case J4:case _3:case U2:var Y1=1;return(Od(n)&Y1)===Y1;default:return b.memoizedProps!==n.memoizedProps||b.memoizedState!==n.memoizedState||b.ref!==n.ref}}var bG=[],rK=[],VF=[],cT=[],Vv=new Map,pT=0,aK=null;function I9(b){bG.push(b)}function iT(){if(hG){if(dw!=null&&dw.durations.length>0)return!1}return bG.length===0&&rK.length===0&&VF.length===0&&aK===null}function MN1(b){if(iT())return;if(cT!==null)cT.push(b);else N.emit("operations",b)}var Xv=null;function SN1(){if(Xv!==null)clearTimeout(Xv),Xv=null}function YR2(){SN1(),Xv=setTimeout(function(){if(Xv=null,bG.length>0)return;if(ue(),iT())return;var b=new Array(3+bG.length);b[0]=R,b[1]=H6,b[2]=0;for(var n=0;n<bG.length;n++)b[3+n]=bG[n];MN1(b),bG.length=0},1000)}function _R2(){C5.clear(),C8.forEach(function(b,n){var Y1=d8.get(n);if(Y1!=null)C5.add(Y1)}),g7.forEach(function(b,n){var Y1=d8.get(n);if(Y1!=null)C5.add(Y1)}),ue()}function LN1(b,n,Y1,D1){var k1=0,A0=D1.get(n),M0=Y1.get(b);if(M0!=null)if(A0==null)A0=M0,D1.set(n,M0);else{var m2=A0;M0.forEach(function(p2,$2){var i2=m2.get($2)||0;m2.set($2,i2+p2)})}if(!TG(b)){if(A0!=null)A0.forEach(function(p2){k1+=p2})}return Y1.delete(b),k1}function ue(){SN1(),C5.forEach(function(b){var n=lG(b);if(n===null);else{var Y1=LN1(b,n,D3,C8),D1=LN1(b,n,S9,g7);I9($),I9(n),I9(Y1),I9(D1)}D3.delete(b),S9.delete(b)}),C5.clear()}function XF(b){if(ue(),iT())return;var n=rK.length+VF.length+(aK===null?0:1),Y1=new Array(3+pT+(n>0?2+n:0)+bG.length),D1=0;if(Y1[D1++]=R,Y1[D1++]=H6,Y1[D1++]=pT,Vv.forEach(function(m2,p2){var $2=m2.encodedString,i2=$2.length;Y1[D1++]=i2;for(var r4=0;r4<i2;r4++)Y1[D1+r4]=$2[r4];D1+=i2}),n>0){Y1[D1++]=E,Y1[D1++]=n;for(var k1=rK.length-1;k1>=0;k1--)Y1[D1++]=rK[k1];for(var A0=0;A0<VF.length;A0++)Y1[D1+A0]=VF[A0];if(D1+=VF.length,aK!==null)Y1[D1]=aK,D1++}for(var M0=0;M0<bG.length;M0++)Y1[D1+M0]=bG[M0];D1+=bG.length,MN1(Y1),bG.length=0,rK.length=0,VF.length=0,aK=null,Vv.clear(),pT=0}function yN1(b){if(b===null)return 0;var n=Vv.get(b);if(n!==void 0)return n.id;var Y1=Vv.size+1,D1=NU(b);return Vv.set(b,{encodedString:D1,id:Y1}),pT+=D1.length+1,Y1}function DR2(b,n){var Y1=b.tag===R4,D1=Iw(b);if(J)q0("recordMount()",b,n);var k1=b.hasOwnProperty("_debugOwner"),A0=b.hasOwnProperty("treeBaseDuration"),M0=0;if(A0){if(M0=T,typeof a9==="function")M0|=V1}if(Y1){if(I9(Q),I9(D1),I9(FK),I9((b.mode&q1)!==0?1:0),I9(M0),I9(q1!==0?1:0),I9(k1?1:0),hG){if(sK!==null)sK.set(D1,je(b))}}else{var m2=b.key,p2=C1(b),$2=j6(b),i2=b._debugOwner,r4=i2!=null?Iw(i2):0,k6=n?mG(n):0,m9=yN1(p2),J7=m2===null?null:String(m2),jI=yN1(J7);if(I9(Q),I9(D1),I9($2),I9(k6),I9(r4),I9(m9),I9(jI),(b.mode&q1)!==0&&(n.mode&q1)===0)I9(O),I9(D1),I9(KU)}if(A0)AF.set(D1,H6),$N1(b)}function Te(b,n){if(J)q0("recordUnmount()",b,null,n?"unmount is simulated":"");if(JA!==null){if(b===JA||b===JA.alternate)pN1(null)}var Y1=lG(b);if(Y1===null)return;var D1=Y1,k1=b.tag===R4;if(k1)aK=D1;else if(!TG(b))if(n)VF.push(D1);else rK.push(D1);if(!b._debugNeedsRemount){WR2(b);var A0=b.hasOwnProperty("treeBaseDuration");if(A0)AF.delete(D1),OG.delete(D1)}}function YC(b,n,Y1,D1){var k1=b;while(k1!==null){if(Iw(k1),J)q0("mountFiberRecursively()",k1,n);var A0=cR2(k1),M0=!TG(k1);if(M0)DR2(k1,n);if(m4){if(D1){var m2=j6(k1);if(m2===n9)y5.add(k1.stateNode),D1=!1}}var p2=k1.tag===X1.SuspenseComponent;if(p2){var $2=k1.memoizedState!==null;if($2){var i2=k1.child,r4=i2?i2.sibling:null,k6=r4?r4.child:null;if(k6!==null)YC(k6,M0?k1:n,!0,D1)}else{var m9=null,J7=Y6===-1;if(J7)m9=k1.child;else if(k1.child!==null)m9=k1.child.child;if(m9!==null)YC(m9,M0?k1:n,!0,D1)}}else if(k1.child!==null)YC(k1.child,M0?k1:n,!0,D1);pR2(A0),k1=Y1?k1.sibling:null}}function PN1(b){if(J)q0("unmountFiberChildrenRecursively()",b);var n=b.tag===X1.SuspenseComponent&&b.memoizedState!==null,Y1=b.child;if(n){var D1=b.child,k1=D1?D1.sibling:null;Y1=k1?k1.child:null}while(Y1!==null){if(Y1.return!==null)PN1(Y1),Te(Y1,!0);Y1=Y1.sibling}}function $N1(b){var n=mG(b),Y1=b.actualDuration,D1=b.treeBaseDuration;if(OG.set(n,D1||0),hG){var k1=b.alternate;if(k1==null||D1!==k1.treeBaseDuration){var A0=Math.floor((D1||0)*1000);I9(P),I9(n),I9(A0)}if(k1==null||$e(k1,b)){if(Y1!=null){var M0=Y1,m2=b.child;while(m2!==null)M0-=m2.actualDuration||0,m2=m2.sibling;var p2=dw;if(p2.durations.push(n,Y1,M0),p2.maxActualDuration=Math.max(p2.maxActualDuration,Y1),Hv){var $2=wR2(k1,b);if($2!==null){if(p2.changeDescriptions!==null)p2.changeDescriptions.set(n,$2)}UN1(b)}}}}}function HR2(b,n){if(J)q0("recordResetChildren()",n,b);var Y1=[],D1=n;while(D1!==null)uN1(D1,Y1),D1=D1.sibling;var k1=Y1.length;if(k1<2)return;I9(S),I9(mG(b)),I9(k1);for(var A0=0;A0<Y1.length;A0++)I9(Y1[A0])}function uN1(b,n){if(!TG(b))n.push(mG(b));else{var Y1=b.child,D1=b.tag===r9&&b.memoizedState!==null;if(D1){var k1=b.child,A0=k1?k1.sibling:null,M0=A0?A0.child:null;if(M0!==null)Y1=M0}while(Y1!==null)uN1(Y1,n),Y1=Y1.sibling}}function Oe(b,n,Y1,D1){var k1=Iw(b);if(J)q0("updateFiberRecursively()",b,Y1);if(m4){var A0=j6(b);if(D1){if(A0===n9)y5.add(b.stateNode),D1=!1}else if(A0===UG||A0===E8||A0===eB||A0===mW||A0===tB)D1=$e(n,b)}if(r7!==null&&r7.id===k1&&$e(n,b))Yv=!0;var M0=!TG(b),m2=b.tag===r9,p2=!1,$2=m2&&n.memoizedState!==null,i2=m2&&b.memoizedState!==null;if($2&&i2){var r4=b.child,k6=r4?r4.sibling:null,m9=n.child,J7=m9?m9.sibling:null;if(J7==null&&k6!=null)YC(k6,M0?b:Y1,!0,D1),p2=!0;if(k6!=null&&J7!=null&&Oe(k6,J7,b,D1))p2=!0}else if($2&&!i2){var jI=b.child;if(jI!==null)YC(jI,M0?b:Y1,!0,D1);p2=!0}else if(!$2&&i2){PN1(n);var a7=b.child,IN=a7?a7.sibling:null;if(IN!=null)YC(IN,M0?b:Y1,!0,D1),p2=!0}else if(b.child!==n.child){var jG=b.child,hd=n.child;while(jG){if(jG.alternate){var kX=jG.alternate;if(Oe(jG,kX,M0?b:Y1,D1))p2=!0;if(kX!==hd)p2=!0}else YC(jG,M0?b:Y1,!1,D1),p2=!0;if(jG=jG.sibling,!p2&&hd!==null)hd=hd.sibling}if(hd!==null)p2=!0}else if(m4){if(D1){var dN=ON1(mG(b));dN.forEach(function(kG){y5.add(kG.stateNode)})}}if(M0){var Jv=b.hasOwnProperty("treeBaseDuration");if(Jv)$N1(b)}if(p2)if(M0){var KA=b.child;if(i2){var NA=b.child;KA=NA?NA.sibling:null}if(KA!=null)HR2(b,KA);return!1}else return!0;else return!1}function FR2(){}function me(b){if(b.memoizedInteractions!=null)return!0;else if(b.current!=null&&b.current.hasOwnProperty("treeBaseDuration"))return!0;else return!1}function gR2(){var b=cT;if(cT=null,b!==null&&b.length>0)b.forEach(function(n){N.emit("operations",n)});else{if(hX!==null)jX=!0;N.getFiberRoots(R).forEach(function(n){if(H6=Iw(n.current),sT(H6,n.current),hG&&me(n))dw={changeDescriptions:Hv?new Map:null,durations:[],commitTime:TK()-he,maxActualDuration:0,priorityLevel:null,updaters:TN1(n),effectDuration:null,passiveEffectDuration:null};YC(n.current,null,!1,!1),XF(n),H6=-1})}}function TN1(b){return b.memoizedUpdaters!=null?Array.from(b.memoizedUpdaters).filter(function(n){return lG(n)!==null}).map(nT):null}function JR2(b){if(!Bv.has(b))Te(b,!1)}function KR2(b){if(hG&&me(b)){if(dw!==null){var n=RU(b),Y1=n.effectDuration,D1=n.passiveEffectDuration;dw.effectDuration=Y1,dw.passiveEffectDuration=D1}}}function NR2(b,n){var Y1=b.current,D1=Y1.alternate;if(RN1(),H6=Iw(Y1),hX!==null)jX=!0;if(m4)y5.clear();var k1=me(b);if(hG&&k1)dw={changeDescriptions:Hv?new Map:null,durations:[],commitTime:TK()-he,maxActualDuration:0,priorityLevel:n==null?null:aR2(n),updaters:TN1(b),effectDuration:null,passiveEffectDuration:null};if(D1){var A0=D1.memoizedState!=null&&D1.memoizedState.element!=null&&D1.memoizedState.isDehydrated!==!0,M0=Y1.memoizedState!=null&&Y1.memoizedState.element!=null&&Y1.memoizedState.isDehydrated!==!0;if(!A0&&M0)sT(H6,Y1),YC(Y1,null,!1,!1);else if(A0&&M0)Oe(Y1,D1,null,!1);else if(A0&&!M0)iR2(H6),Te(Y1,!1)}else sT(H6,Y1),YC(Y1,null,!1,!1);if(hG&&k1){if(!iT()){var m2=Fv.get(H6);if(m2!=null)m2.push(dw);else Fv.set(H6,[dw])}}if(XF(b),m4)N.emit("traceUpdates",y5);H6=-1}function ON1(b){var n=[],Y1=gA(b);if(!Y1)return n;var D1=Y1;while(!0){if(D1.tag===o5||D1.tag===Z5)n.push(D1);else if(D1.child){D1.child.return=D1,D1=D1.child;continue}if(D1===Y1)return n;while(!D1.sibling){if(!D1.return||D1.return===Y1)return n;D1=D1.return}D1.sibling.return=D1.return,D1=D1.sibling}return n}function mN1(b){try{var n=gA(b);if(n===null)return null;var Y1=ON1(b);return Y1.map(function(D1){return D1.stateNode}).filter(Boolean)}catch(D1){return null}}function zR2(b){var n=d8.get(b);return n!=null?C1(n):null}function QR2(b){return f.findFiberByHostInstance(b)}function fR2(b){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Y1=f.findFiberByHostInstance(b);if(Y1!=null){if(n)while(Y1!==null&&TG(Y1))Y1=Y1.return;return mG(Y1)}return null}function lN1(b){if(bN1(b)!==b)throw new Error("Unable to find node on an unmounted component.")}function bN1(b){var n=b,Y1=b;if(!b.alternate){var D1=n;do{n=D1;var k1=2,A0=4096;if((n.flags&(k1|A0))!==0)Y1=n.return;D1=n.return}while(D1)}else while(n.return)n=n.return;if(n.tag===R4)return Y1;return null}function gA(b){var n=d8.get(b);if(n==null)return console.warn('Could not find Fiber with id "'.concat(b,'"')),null;var Y1=n.alternate;if(!Y1){var D1=bN1(n);if(D1===null)throw new Error("Unable to find node on an unmounted component.");if(D1!==n)return null;return n}var k1=n,A0=Y1;while(!0){var M0=k1.return;if(M0===null)break;var m2=M0.alternate;if(m2===null){var p2=M0.return;if(p2!==null){k1=A0=p2;continue}break}if(M0.child===m2.child){var $2=M0.child;while($2){if($2===k1)return lN1(M0),n;if($2===A0)return lN1(M0),Y1;$2=$2.sibling}throw new Error("Unable to find node on an unmounted component.")}if(k1.return!==A0.return)k1=M0,A0=m2;else{var i2=!1,r4=M0.child;while(r4){if(r4===k1){i2=!0,k1=M0,A0=m2;break}if(r4===A0){i2=!0,A0=M0,k1=m2;break}r4=r4.sibling}if(!i2){r4=m2.child;while(r4){if(r4===k1){i2=!0,k1=m2,A0=M0;break}if(r4===A0){i2=!0,A0=m2,k1=M0;break}r4=r4.sibling}if(!i2)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(k1.alternate!==A0)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(k1.tag!==R4)throw new Error("Unable to find node on an unmounted component.");if(k1.stateNode.current===k1)return n;return Y1}function qR2(b,n){if(_v(b))window.$attribute=M8(r7,n)}function RR2(b){var n=d8.get(b);if(n==null){console.warn('Could not find Fiber with id "'.concat(b,'"'));return}var{elementType:Y1,tag:D1,type:k1}=n;switch(D1){case b1:case w9:case e5:case b2:U.$type=k1;break;case U2:U.$type=k1.render;break;case J4:case _3:U.$type=Y1!=null&&Y1.type!=null?Y1.type:k1;break;default:U.$type=null;break}}function nT(b){return{displayName:C1(b)||"Anonymous",id:mG(b),key:b.key,type:j6(b)}}function UR2(b){var n=gA(b);if(n==null)return null;var Y1=n._debugOwner,D1=[nT(n)];if(Y1){var k1=Y1;while(k1!==null)D1.unshift(nT(k1)),k1=k1._debugOwner||null}return D1}function vR2(b){var n=null,Y1=null,D1=gA(b);if(D1!==null){if(n=D1.stateNode,D1.memoizedProps!==null)Y1=D1.memoizedProps.style}return{instance:n,style:Y1}}function hN1(b){var{tag:n,type:Y1}=b;switch(n){case b1:case w9:var D1=b.stateNode;return typeof Y1.getDerivedStateFromError==="function"||D1!==null&&typeof D1.componentDidCatch==="function";default:return!1}}function jN1(b){var n=b.return;while(n!==null){if(hN1(n))return lG(n);n=n.return}return null}function kN1(b){var n=gA(b);if(n==null)return null;var{_debugOwner:Y1,_debugSource:D1,stateNode:k1,key:A0,memoizedProps:M0,memoizedState:m2,dependencies:p2,tag:$2,type:i2}=n,r4=j6(n),k6=($2===b2||$2===_3||$2===U2)&&(!!m2||!!p2),m9=!k6&&$2!==P1,J7=w1(i2),jI=!1,a7=null;if($2===b1||$2===b2||$2===w9||$2===e5||$2===J4||$2===U2||$2===_3){if(jI=!0,k1&&k1.context!=null){var IN=r4===E8&&!(i2.contextTypes||i2.contextType);if(!IN)a7=k1.context}}else if(J7===hH||J7===jH){var jG=i2._context||i2;a7=jG._currentValue||null;var hd=n.return;while(hd!==null){var kX=hd.type,dN=w1(kX);if(dN===vK||dN===cH){var Jv=kX._context||kX.context;if(Jv===jG){a7=hd.memoizedProps.value;break}}hd=hd.return}}var KA=!1;if(a7!==null)KA=!!i2.contextTypes,a7={value:a7};var NA=null;if(Y1){NA=[];var kG=Y1;while(kG!==null)NA.push(nT(kG)),kG=kG._debugOwner||null}var oT=$2===r9&&m2!==null,nN1=null;if(k6){var ke={};for(var xe in console)try{ke[xe]=console[xe],console[xe]=function(){}}catch(dU2){}try{nN1=bH.inspectHooksOfFiber(n,f.currentDispatcherRef,!0)}finally{for(var rN1 in ke)try{console[rN1]=ke[rN1]}catch(dU2){}}}var aN1=null,eT=n;while(eT.return!==null)eT=eT.return;var ce=eT.stateNode;if(ce!=null&&ce._debugRootType!==null)aN1=ce._debugRootType;var eR2=C8.get(b)||new Map,tR2=g7.get(b)||new Map,pe=!1,tT;if(hN1(n)){var IU2=128;pe=(n.flags&IU2)!==0||_C.get(b)===!0,tT=pe?b:jN1(n)}else tT=jN1(n);var sN1={stylex:null};if(ge){if(M0!=null&&M0.hasOwnProperty("xstyle"))sN1.stylex=Td(M0.xstyle)}return{id:b,canEditHooks:typeof u3==="function",canEditFunctionProps:typeof ld==="function",canEditHooksAndDeletePaths:typeof b6==="function",canEditHooksAndRenamePaths:typeof HA==="function",canEditFunctionPropsDeletePaths:typeof oW==="function",canEditFunctionPropsRenamePaths:typeof eW==="function",canToggleError:Wv&&tT!=null,isErrored:pe,targetErrorBoundaryID:tT,canToggleSuspense:wv&&(!oT||eK.has(b)),canViewSource:jI,hasLegacyContext:KA,key:A0!=null?A0:null,displayName:C1(n),type:r4,context:a7,hooks:nN1,props:M0,state:m9?m2:null,errors:Array.from(eR2.entries()),warnings:Array.from(tR2.entries()),owners:NA,source:D1||null,rootType:aN1,rendererPackageName:f.rendererPackageName,rendererVersion:f.version,plugins:sN1}}var r7=null,Yv=!1,rT={};function _v(b){return r7!==null&&r7.id===b}function ER2(b){return _v(b)&&!Yv}function MR2(b){var n=rT;b.forEach(function(Y1){if(!n[Y1])n[Y1]={};n=n[Y1]})}function Dv(b,n){return function Y1(D1){switch(n){case"hooks":if(D1.length===1)return!0;if(D1[D1.length-2]==="hookSource"&&D1[D1.length-1]==="fileName")return!0;if(D1[D1.length-1]==="subHooks"||D1[D1.length-2]==="subHooks")return!0;break;default:break}var k1=b===null?rT:rT[b];if(!k1)return!1;for(var A0=0;A0<D1.length;A0++)if(k1=k1[D1[A0]],!k1)return!1;return!0}}function SR2(b){var{hooks:n,id:Y1,props:D1}=b,k1=d8.get(Y1);if(k1==null){console.warn('Could not find Fiber with id "'.concat(Y1,'"'));return}var{elementType:A0,stateNode:M0,tag:m2,type:p2}=k1;switch(m2){case b1:case w9:case e5:U.$r=M0;break;case b2:U.$r={hooks:n,props:D1,type:p2};break;case U2:U.$r={hooks:n,props:D1,type:p2.render};break;case J4:case _3:U.$r={hooks:n,props:D1,type:A0!=null&&A0.type!=null?A0.type:p2};break;default:U.$r=null;break}}function LR2(b,n,Y1){if(_v(b)){var D1=M8(r7,n),k1="$reactTemp".concat(Y1);window[k1]=D1,console.log(k1),console.log(D1)}}function yR2(b,n){if(_v(b)){var Y1=M8(r7,n);return kW(Y1)}}function PR2(b,n,Y1,D1){if(Y1!==null)MR2(Y1);if(_v(n)&&!D1){if(!Yv)if(Y1!==null){var k1=null;if(Y1[0]==="hooks")k1="hooks";return{id:n,responseID:b,type:"hydrated-path",path:Y1,value:Pd(M8(r7,Y1),Dv(null,k1),Y1)}}else return{id:n,responseID:b,type:"no-change"}}else rT={};Yv=!1;try{r7=kN1(n)}catch(i2){if(i2.name==="ReactDebugToolsRenderError"){var A0="Error rendering inspected element.",M0;if(console.error(A0+`

`,i2),i2.cause!=null){var m2=gA(n),p2=m2!=null?C1(m2):null;if(console.error("React DevTools encountered an error while trying to inspect hooks. This is most likely caused by an error in current inspected component"+(p2!=null?': "'.concat(p2,'".'):".")+`
The error thrown in the component is: 

`,i2.cause),i2.cause instanceof Error)A0=i2.cause.message||A0,M0=i2.cause.stack}return{type:"error",errorType:"user",id:n,responseID:b,message:A0,stack:M0}}if(i2.name==="ReactDebugToolsUnsupportedHookError")return{type:"error",errorType:"unknown-hook",id:n,responseID:b,message:"Unsupported hook in the react-debug-tools package: "+i2.message};return console.error(`Error inspecting element.

`,i2),{type:"error",errorType:"uncaught",id:n,responseID:b,message:i2.message,stack:i2.stack}}if(r7===null)return{id:n,responseID:b,type:"not-found"};SR2(r7);var $2=jU({},r7);return $2.context=Pd($2.context,Dv("context",null)),$2.hooks=Pd($2.hooks,Dv("hooks","hooks")),$2.props=Pd($2.props,Dv("props",null)),$2.state=Pd($2.state,Dv("state",null)),{id:n,responseID:b,type:"full-data",value:$2}}function $R2(b){var n=ER2(b)?r7:kN1(b);if(n===null){console.warn('Could not find Fiber with id "'.concat(b,'"'));return}var Y1=typeof console.groupCollapsed==="function";if(Y1)console.groupCollapsed("[Click to expand] %c<".concat(n.displayName||"Component"," />"),"color: var(--dom-tag-name-color); font-weight: normal;");if(n.props!==null)console.log("Props:",n.props);if(n.state!==null)console.log("State:",n.state);if(n.hooks!==null)console.log("Hooks:",n.hooks);var D1=mN1(b);if(D1!==null)console.log("Nodes:",D1);if(n.source!==null)console.log("Location:",n.source);if(window.chrome||/firefox/i.test(navigator.userAgent))console.log("Right-click any value to save it as a global variable for further inspection.");if(Y1)console.groupEnd()}function uR2(b,n,Y1,D1){var k1=gA(n);if(k1!==null){var A0=k1.stateNode;switch(b){case"context":switch(D1=D1.slice(1),k1.tag){case b1:if(D1.length===0);else yH(A0.context,D1);A0.forceUpdate();break;case b2:break}break;case"hooks":if(typeof b6==="function")b6(k1,Y1,D1);break;case"props":if(A0===null){if(typeof oW==="function")oW(k1,D1)}else k1.pendingProps=OH(A0.props,D1),A0.forceUpdate();break;case"state":yH(A0.state,D1),A0.forceUpdate();break}}}function TR2(b,n,Y1,D1,k1){var A0=gA(n);if(A0!==null){var M0=A0.stateNode;switch(b){case"context":switch(D1=D1.slice(1),k1=k1.slice(1),A0.tag){case b1:if(D1.length===0);else ZA(M0.context,D1,k1);M0.forceUpdate();break;case b2:break}break;case"hooks":if(typeof HA==="function")HA(A0,Y1,D1,k1);break;case"props":if(M0===null){if(typeof eW==="function")eW(A0,D1,k1)}else A0.pendingProps=mH(M0.props,D1,k1),M0.forceUpdate();break;case"state":ZA(M0.state,D1,k1),M0.forceUpdate();break}}}function OR2(b,n,Y1,D1,k1){var A0=gA(n);if(A0!==null){var M0=A0.stateNode;switch(b){case"context":switch(D1=D1.slice(1),A0.tag){case b1:if(D1.length===0)M0.context=k1;else CA(M0.context,D1,k1);M0.forceUpdate();break;case b2:break}break;case"hooks":if(typeof u3==="function")u3(A0,Y1,D1,k1);break;case"props":switch(A0.tag){case b1:A0.pendingProps=RX(M0.props,D1,k1),M0.forceUpdate();break;default:if(typeof ld==="function")ld(A0,D1,k1);break}break;case"state":switch(A0.tag){case b1:CA(M0.state,D1,k1),M0.forceUpdate();break}break}}}var dw=null,sK=null,oK=null,le=null,be=null,hG=!1,he=0,Hv=!1,Fv=null;function mR2(){var b=[];if(Fv===null)throw Error("getProfilingData() called before any profiling data was recorded");Fv.forEach(function(p2,$2){var i2=[],r4=[],k6=sK!==null&&sK.get($2)||"Unknown";if(le!=null)le.forEach(function(m9,J7){if(be!=null&&be.get(J7)===$2)r4.push([J7,m9])});p2.forEach(function(m9,J7){var{changeDescriptions:jI,durations:a7,effectDuration:IN,maxActualDuration:jG,passiveEffectDuration:hd,priorityLevel:kX,commitTime:dN,updaters:Jv}=m9,KA=[],NA=[];for(var kG=0;kG<a7.length;kG+=3){var oT=a7[kG];KA.push([oT,a7[kG+1]]),NA.push([oT,a7[kG+2]])}i2.push({changeDescriptions:jI!==null?Array.from(jI.entries()):null,duration:jG,effectDuration:IN,fiberActualDurations:KA,fiberSelfDurations:NA,passiveEffectDuration:hd,priorityLevel:kX,timestamp:dN,updaters:Jv})}),b.push({commitData:i2,displayName:k6,initialTreeBaseDurations:r4,rootID:$2})});var n=null;if(typeof C2==="function"){var Y1=C2();if(Y1){var{batchUIDToMeasuresMap:D1,internalModuleSourceToRanges:k1,laneToLabelMap:A0,laneToReactMeasureMap:M0}=Y1,m2=MX(Y1,["batchUIDToMeasuresMap","internalModuleSourceToRanges","laneToLabelMap","laneToReactMeasureMap"]);n=jU(jU({},m2),{},{batchUIDToMeasuresKeyValueArray:Array.from(D1.entries()),internalModuleSourceToRanges:Array.from(k1.entries()),laneToLabelKeyValueArray:Array.from(A0.entries()),laneToReactMeasureKeyValueArray:Array.from(M0.entries())})}}return{dataForRoots:b,rendererID:R,timelineData:n}}function xN1(b){if(hG)return;if(Hv=b,sK=new Map,le=new Map(OG),be=new Map(AF),oK=new Map,N.getFiberRoots(R).forEach(function(n){var Y1=mG(n.current);if(sK.set(Y1,je(n.current)),b)EN1(n.current)}),hG=!0,he=TK(),Fv=new Map,S2!==null)S2(!0)}function lR2(){if(hG=!1,Hv=!1,S2!==null)S2(!1)}if(E0(m1)==="true")xN1(E0(A1)==="true");function cN1(){return null}var _C=new Map;function bR2(b){if(typeof XC!=="function")throw new Error("Expected overrideError() to not get called for earlier React versions.");var n=lG(b);if(n===null)return null;var Y1=null;if(_C.has(n)){if(Y1=_C.get(n),Y1===!1){if(_C.delete(n),_C.size===0)XC(cN1)}}return Y1}function hR2(b,n){if(typeof XC!=="function"||typeof tW!=="function")throw new Error("Expected overrideError() to not get called for earlier React versions.");if(_C.set(b,n),_C.size===1)XC(bR2);var Y1=d8.get(b);if(Y1!=null)tW(Y1)}function jR2(){return!1}var eK=new Set;function kR2(b){var n=lG(b);return n!==null&&eK.has(n)}function xR2(b,n){if(typeof lX!=="function"||typeof tW!=="function")throw new Error("Expected overrideSuspense() to not get called for earlier React versions.");if(n){if(eK.add(b),eK.size===1)lX(kR2)}else if(eK.delete(b),eK.size===0)lX(jR2);var Y1=d8.get(b);if(Y1!=null)tW(Y1)}var hX=null,JA=null,gv=-1,jX=!1;function pN1(b){if(b===null)JA=null,gv=-1,jX=!1;hX=b}function cR2(b){if(hX===null||!jX)return!1;var n=b.return,Y1=n!==null?n.alternate:null;if(JA===n||JA===Y1&&Y1!==null){var D1=iN1(b),k1=hX[gv+1];if(k1===void 0)throw new Error("Expected to see a frame at the next depth.");if(D1.index===k1.index&&D1.key===k1.key&&D1.displayName===k1.displayName){if(JA=b,gv++,gv===hX.length-1)jX=!1;else jX=!0;return!1}}return jX=!1,!0}function pR2(b){jX=b}var aT=new Map,tK=new Map;function sT(b,n){var Y1=je(n),D1=tK.get(Y1)||0;tK.set(Y1,D1+1);var k1="".concat(Y1,":").concat(D1);aT.set(b,k1)}function iR2(b){var n=aT.get(b);if(n===void 0)throw new Error("Expected root pseudo key to be known.");var Y1=n.slice(0,n.lastIndexOf(":")),D1=tK.get(Y1);if(D1===void 0)throw new Error("Expected counter to be known.");if(D1>1)tK.set(Y1,D1-1);else tK.delete(Y1);aT.delete(b)}function je(b){var n=null,Y1=null,D1=b.child;for(var k1=0;k1<3;k1++){if(D1===null)break;var A0=C1(D1);if(A0!==null){if(typeof D1.type==="function")n=A0;else if(Y1===null)Y1=A0}if(n!==null)break;D1=D1.child}return n||Y1||"Anonymous"}function iN1(b){var n=b.key,Y1=C1(b),D1=b.index;switch(b.tag){case R4:var k1=mG(b),A0=aT.get(k1);if(A0===void 0)throw new Error("Expected mounted root to have known pseudo key.");Y1=A0;break;case o5:Y1=b.type;break;default:break}return{displayName:Y1,key:n,index:D1}}function nR2(b){var n=d8.get(b);if(n==null)return null;var Y1=[];while(n!==null)Y1.push(iN1(n)),n=n.return;return Y1.reverse(),Y1}function rR2(){if(hX===null)return null;if(JA===null)return null;var b=JA;while(b!==null&&TG(b))b=b.return;if(b===null)return null;return{id:mG(b),isFullMatch:gv===hX.length-1}}var aR2=function b(n){if(n==null)return"Unknown";switch(n){case _6:return"Immediate";case u8:return"User-Blocking";case o0:return"Normal";case f2:return"Low";case O2:return"Idle";case M9:default:return"Unknown"}};function sR2(b){m4=b}function oR2(b){return d8.has(b)}return{cleanup:FR2,clearErrorsAndWarnings:h6,clearErrorsForFiberID:FA,clearWarningsForFiberID:bX,getSerializedElementValueByPath:yR2,deletePath:uR2,findNativeNodesForFiberID:mN1,flushInitialOperations:gR2,getBestMatchForTrackedPath:rR2,getDisplayNameForFiberID:zR2,getFiberForNative:QR2,getFiberIDForNative:fR2,getInstanceAndStyle:vR2,getOwnersList:UR2,getPathForElement:nR2,getProfilingData:mR2,handleCommitFiberRoot:NR2,handleCommitFiberUnmount:JR2,handlePostCommitFiberRoot:KR2,hasFiberWithId:oR2,inspectElement:PR2,logElementToConsole:$R2,patchConsoleForStrictMode:aU,prepareViewAttributeSource:qR2,prepareViewElementSource:RR2,overrideError:hR2,overrideSuspense:xR2,overrideValueAtPath:OR2,renamePath:TR2,renderer:f,setTraceUpdatesEnabled:sR2,setTrackedPath:pN1,startProfiling:xN1,stopProfiling:lR2,storeAsGlobal:LR2,unpatchConsoleForStrictMode:CF,updateComponentFilters:T8}}function LT(N){return mK(N)||OK(N)||dF(N)||yT()}function yT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function OK(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function mK(N){if(Array.isArray(N))return SX(N)}function lK(N,R){var f;if(typeof Symbol==="undefined"||N[Symbol.iterator]==null){if(Array.isArray(N)||(f=dF(N))||R&&N&&typeof N.length==="number"){if(f)N=f;var U=0,v=function x(){};return{s:v,n:function x(){if(U>=N.length)return{done:!0};return{done:!1,value:N[U++]}},e:function x(X1){throw X1},f:v}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var m=!0,C1=!1,w1;return{s:function x(){f=N[Symbol.iterator]()},n:function x(){var X1=f.next();return m=X1.done,X1},e:function x(X1){C1=!0,w1=X1},f:function x(){try{if(!m&&f.return!=null)f.return()}finally{if(C1)throw w1}}}}function dF(N,R){if(!N)return;if(typeof N==="string")return SX(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return SX(N,R)}function SX(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}var GF=["error","trace","warn"],pU="\x1B[2m%s\x1B[0m",iU=/\s{4}(in|at)\s{1}/,nU=/:\d+:\d+(\n|$)/;function PT(N){return iU.test(N)||nU.test(N)}var rU=/^%c/;function Ue(N,R){return N.length>=2&&rU.test(N[0])&&N[1]==="color: ".concat(ZF(R)||"")}function ZF(N){switch(N){case"warn":return R5.browserTheme==="light"?"rgba(250, 180, 50, 0.75)":"rgba(250, 180, 50, 0.5)";case"error":return R5.browserTheme==="light"?"rgba(250, 123, 130, 0.75)":"rgba(250, 123, 130, 0.5)";case"log":default:return R5.browserTheme==="light"?"rgba(125, 125, 125, 0.75)":"rgba(125, 125, 125, 0.5)"}}var bK=new Map,F5=console,E4={};for(var o3 in console)E4[o3]=console[o3];var E9=null,X6=!1;try{X6=global===void 0}catch(N){}function mI(N){F5=N,E4={};for(var R in F5)E4[R]=console[R]}function VA(N,R){var{currentDispatcherRef:f,getCurrentFiber:U,findFiberByHostInstance:v,version:m}=N;if(typeof v!=="function")return;if(f!=null&&typeof U==="function"){var C1=md(m),w1=C1.ReactTypeOfWork;bK.set(N,{currentDispatcherRef:f,getCurrentFiber:U,workTagMap:w1,onErrorOrWarning:R})}}var R5={appendComponentStack:!1,breakOnConsoleErrors:!1,showInlineWarningsAndErrors:!1,hideConsoleLogsInStrictMode:!1,browserTheme:"dark"};function LX(N){var{appendComponentStack:R,breakOnConsoleErrors:f,showInlineWarningsAndErrors:U,hideConsoleLogsInStrictMode:v,browserTheme:m}=N;if(R5.appendComponentStack=R,R5.breakOnConsoleErrors=f,R5.showInlineWarningsAndErrors=U,R5.hideConsoleLogsInStrictMode=v,R5.browserTheme=m,R||f||U){if(E9!==null)return;var C1={};E9=function w1(){for(var x in C1)try{F5[x]=C1[x]}catch(X1){}},GF.forEach(function(w1){try{var x=C1[w1]=F5[w1].__REACT_DEVTOOLS_ORIGINAL_METHOD__?F5[w1].__REACT_DEVTOOLS_ORIGINAL_METHOD__:F5[w1],X1=function q1(){var P1=!1;for(var b1=arguments.length,f0=new Array(b1),e0=0;e0<b1;e0++)f0[e0]=arguments[e0];if(w1!=="log"){if(R5.appendComponentStack){var U2=f0.length>0?f0[f0.length-1]:null,x0=typeof U2==="string"&&PT(U2);P1=!x0}}var b2=R5.showInlineWarningsAndErrors&&(w1==="error"||w1==="warn"),R4=lK(bK.values()),U5;try{for(R4.s();!(U5=R4.n()).done;){var V2=U5.value,g5=V2.currentDispatcherRef,o5=V2.getCurrentFiber,Z5=V2.onErrorOrWarning,w9=V2.workTagMap,e5=o5();if(e5!=null)try{if(b2){if(typeof Z5==="function")Z5(e5,w1,f0.slice())}if(P1){var t3=BC(w9,e5,g5);if(t3!=="")if(Ue(f0,w1))f0[0]="".concat(f0[0]," %s"),f0.push(t3);else f0.push(t3)}}catch(J4){setTimeout(function(){throw J4},0)}finally{break}}}catch(J4){R4.e(J4)}finally{R4.f()}if(R5.breakOnConsoleErrors)debugger;x.apply(void 0,f0)};X1.__REACT_DEVTOOLS_ORIGINAL_METHOD__=x,x.__REACT_DEVTOOLS_OVERRIDE_METHOD__=X1,F5[w1]=X1}catch(q1){}})}else XA()}function XA(){if(E9!==null)E9(),E9=null}var iW=null;function aU(){if(EU){var N=["error","group","groupCollapsed","info","log","trace","warn"];if(iW!==null)return;var R={};iW=function f(){for(var U in R)try{F5[U]=R[U]}catch(v){}},N.forEach(function(f){try{var U=R[f]=F5[f].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__?F5[f].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__:F5[f],v=function m(){if(!R5.hideConsoleLogsInStrictMode){for(var C1=arguments.length,w1=new Array(C1),x=0;x<C1;x++)w1[x]=arguments[x];if(X6)U(pU,P3.apply(void 0,w1));else{var X1=ZF(f);if(X1)U.apply(void 0,LT(O9(w1,"color: ".concat(X1))));else throw Error("Console color is not defined")}}};v.__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__=U,U.__REACT_DEVTOOLS_STRICT_MODE_OVERRIDE_METHOD__=v,F5[f]=v}catch(m){}})}}function CF(){if(EU){if(iW!==null)iW(),iW=null}}function $8(){var N,R,f,U,v,m=(N=WC(window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__))!==null&&N!==void 0?N:!0,C1=(R=WC(window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__))!==null&&R!==void 0?R:!1,w1=(f=WC(window.__REACT_DEVTOOLS_SHOW_INLINE_WARNINGS_AND_ERRORS__))!==null&&f!==void 0?f:!0,x=(U=WC(window.__REACT_DEVTOOLS_HIDE_CONSOLE_LOGS_IN_STRICT_MODE__))!==null&&U!==void 0?U:!1,X1=(v=GA(window.__REACT_DEVTOOLS_BROWSER_THEME__))!==null&&v!==void 0?v:"dark";LX({appendComponentStack:m,breakOnConsoleErrors:C1,showInlineWarningsAndErrors:w1,hideConsoleLogsInStrictMode:x,browserTheme:X1})}function sU(N){window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__=N.appendComponentStack,window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__=N.breakOnConsoleErrors,window.__REACT_DEVTOOLS_SHOW_INLINE_WARNINGS_AND_ERRORS__=N.showInlineWarningsAndErrors,window.__REACT_DEVTOOLS_HIDE_CONSOLE_LOGS_IN_STRICT_MODE__=N.hideConsoleLogsInStrictMode,window.__REACT_DEVTOOLS_BROWSER_THEME__=N.browserTheme}function oU(){window.__REACT_DEVTOOLS_CONSOLE_FUNCTIONS__={patchConsoleUsingWindowValues:$8,registerRendererWithConsole:VA}}function lI(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")lI=function R(f){return typeof f};else lI=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return lI(N)}function yX(N){return jK(N)||nW(N)||eU(N)||hK()}function hK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eU(N,R){if(!N)return;if(typeof N==="string")return PG(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return PG(N,R)}function nW(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function jK(N){if(Array.isArray(N))return PG(N)}function PG(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function kK(N,R){if(!(N instanceof R))throw new TypeError("Cannot call a class as a function")}function PX(N,R){for(var f=0;f<R.length;f++){var U=R[f];if(U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U)U.writable=!0;Object.defineProperty(N,U.key,U)}}function tU(N,R,f){if(R)PX(N.prototype,R);if(f)PX(N,f);return N}function xK(N,R){if(typeof R!=="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");if(N.prototype=Object.create(R&&R.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),R)$X(N,R)}function $X(N,R){return $X=Object.setPrototypeOf||function f(U,v){return U.__proto__=v,U},$X(N,R)}function G8(N){var R=F7();return function f(){var U=WF(N),v;if(R){var m=WF(this).constructor;v=Reflect.construct(U,arguments,m)}else v=U.apply(this,arguments);return rW(this,v)}}function rW(N,R){if(R&&(lI(R)==="object"||typeof R==="function"))return R;return e3(N)}function e3(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function F7(){if(typeof Reflect==="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy==="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}function WF(N){return WF=Object.setPrototypeOf?Object.getPrototypeOf:function R(f){return f.__proto__||Object.getPrototypeOf(f)},WF(N)}function aW(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var Iv=100,$T=[{version:0,minNpmVersion:'"<4.11.0"',maxNpmVersion:'"<4.11.0"'},{version:1,minNpmVersion:"4.13.0",maxNpmVersion:"4.21.0"},{version:2,minNpmVersion:"4.22.0",maxNpmVersion:null}],AC=$T[$T.length-1],uT=function(N){xK(f,N);var R=G8(f);function f(U){var v;return kK(this,f),v=R.call(this),aW(e3(v),"_isShutdown",!1),aW(e3(v),"_messageQueue",[]),aW(e3(v),"_timeoutID",null),aW(e3(v),"_wallUnlisten",null),aW(e3(v),"_flush",function(){if(v._timeoutID!==null)clearTimeout(v._timeoutID),v._timeoutID=null;if(v._messageQueue.length){for(var m=0;m<v._messageQueue.length;m+=2){var C1;(C1=v._wall).send.apply(C1,[v._messageQueue[m]].concat(yX(v._messageQueue[m+1])))}v._messageQueue.length=0,v._timeoutID=setTimeout(v._flush,Iv)}}),aW(e3(v),"overrideValueAtPath",function(m){var{id:C1,path:w1,rendererID:x,type:X1,value:q1}=m;switch(X1){case"context":v.send("overrideContext",{id:C1,path:w1,rendererID:x,wasForwarded:!0,value:q1});break;case"hooks":v.send("overrideHookState",{id:C1,path:w1,rendererID:x,wasForwarded:!0,value:q1});break;case"props":v.send("overrideProps",{id:C1,path:w1,rendererID:x,wasForwarded:!0,value:q1});break;case"state":v.send("overrideState",{id:C1,path:w1,rendererID:x,wasForwarded:!0,value:q1});break}}),v._wall=U,v._wallUnlisten=U.listen(function(m){if(m&&m.event)e3(v).emit(m.event,m.payload)})||null,v.addListener("overrideValueAtPath",v.overrideValueAtPath),v}return tU(f,[{key:"send",value:function U(v){if(this._isShutdown){console.warn('Cannot send message "'.concat(v,'" through a Bridge that has been shutdown.'));return}for(var m=arguments.length,C1=new Array(m>1?m-1:0),w1=1;w1<m;w1++)C1[w1-1]=arguments[w1];if(this._messageQueue.push(v,C1),!this._timeoutID)this._timeoutID=setTimeout(this._flush,0)}},{key:"shutdown",value:function U(){if(this._isShutdown){console.warn("Bridge was already shutdown.");return}this.emit("shutdown"),this.send("shutdown"),this._isShutdown=!0,this.addListener=function(){},this.emit=function(){},this.removeAllListeners();var v=this._wallUnlisten;if(v)v();do this._flush();while(this._messageQueue.length);if(this._timeoutID!==null)clearTimeout(this._timeoutID),this._timeoutID=null}},{key:"wall",get:function U(){return this._wall}}]),f}(A);let TT=uT;function uX(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")uX=function R(f){return typeof f};else uX=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return uX(N)}function YA(N,R){if(!(N instanceof R))throw new TypeError("Cannot call a class as a function")}function dv(N,R){for(var f=0;f<R.length;f++){var U=R[f];if(U.enumerable=U.enumerable||!1,U.configurable=!0,"value"in U)U.writable=!0;Object.defineProperty(N,U.key,U)}}function OT(N,R,f){if(R)dv(N.prototype,R);if(f)dv(N,f);return N}function Gv(N,R){if(typeof R!=="function"&&R!==null)throw new TypeError("Super expression must either be null or a function");if(N.prototype=Object.create(R&&R.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),R)TX(N,R)}function TX(N,R){return TX=Object.setPrototypeOf||function f(U,v){return U.__proto__=v,U},TX(N,R)}function ve(N){var R=mT();return function f(){var U=$G(N),v;if(R){var m=$G(this).constructor;v=Reflect.construct(U,arguments,m)}else v=U.apply(this,arguments);return Ee(this,v)}}function Ee(N,R){if(R&&(uX(R)==="object"||typeof R==="function"))return R;return d4(N)}function d4(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function mT(){if(typeof Reflect==="undefined"||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(typeof Proxy==="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(N){return!1}}function $G(N){return $G=Object.setPrototypeOf?Object.getPrototypeOf:function R(f){return f.__proto__||Object.getPrototypeOf(f)},$G(N)}function Q4(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}var sW=function N(R){if(J){var f;for(var U=arguments.length,v=new Array(U>1?U-1:0),m=1;m<U;m++)v[m-1]=arguments[m];(f=console).log.apply(f,["%cAgent %c".concat(R),"color: purple; font-weight: bold;","font-weight: bold;"].concat(v))}},lT=function(N){Gv(f,N);var R=ve(f);function f(U){var v;if(YA(this,f),v=R.call(this),Q4(d4(v),"_isProfiling",!1),Q4(d4(v),"_recordChangeDescriptions",!1),Q4(d4(v),"_rendererInterfaces",{}),Q4(d4(v),"_persistedSelection",null),Q4(d4(v),"_persistedSelectionMatch",null),Q4(d4(v),"_traceUpdatesEnabled",!1),Q4(d4(v),"clearErrorsAndWarnings",function(x){var X1=x.rendererID,q1=v._rendererInterfaces[X1];if(q1==null)console.warn('Invalid renderer id "'.concat(X1,'"'));else q1.clearErrorsAndWarnings()}),Q4(d4(v),"clearErrorsForFiberID",function(x){var{id:X1,rendererID:q1}=x,P1=v._rendererInterfaces[q1];if(P1==null)console.warn('Invalid renderer id "'.concat(q1,'"'));else P1.clearErrorsForFiberID(X1)}),Q4(d4(v),"clearWarningsForFiberID",function(x){var{id:X1,rendererID:q1}=x,P1=v._rendererInterfaces[q1];if(P1==null)console.warn('Invalid renderer id "'.concat(q1,'"'));else P1.clearWarningsForFiberID(X1)}),Q4(d4(v),"copyElementPath",function(x){var{id:X1,path:q1,rendererID:P1}=x,b1=v._rendererInterfaces[P1];if(b1==null)console.warn('Invalid renderer id "'.concat(P1,'" for element "').concat(X1,'"'));else{var f0=b1.getSerializedElementValueByPath(X1,q1);if(f0!=null)v._bridge.send("saveToClipboard",f0);else console.warn('Unable to obtain serialized value for element "'.concat(X1,'"'))}}),Q4(d4(v),"deletePath",function(x){var{hookID:X1,id:q1,path:P1,rendererID:b1,type:f0}=x,e0=v._rendererInterfaces[b1];if(e0==null)console.warn('Invalid renderer id "'.concat(b1,'" for element "').concat(q1,'"'));else e0.deletePath(f0,q1,X1,P1)}),Q4(d4(v),"getBackendVersion",function(){var x="4.28.5-ef8a840bd";if(x)v._bridge.send("backendVersion",x)}),Q4(d4(v),"getBridgeProtocol",function(){v._bridge.send("bridgeProtocol",AC)}),Q4(d4(v),"getProfilingData",function(x){var X1=x.rendererID,q1=v._rendererInterfaces[X1];if(q1==null)console.warn('Invalid renderer id "'.concat(X1,'"'));v._bridge.send("profilingData",q1.getProfilingData())}),Q4(d4(v),"getProfilingStatus",function(){v._bridge.send("profilingStatus",v._isProfiling)}),Q4(d4(v),"getOwnersList",function(x){var{id:X1,rendererID:q1}=x,P1=v._rendererInterfaces[q1];if(P1==null)console.warn('Invalid renderer id "'.concat(q1,'" for element "').concat(X1,'"'));else{var b1=P1.getOwnersList(X1);v._bridge.send("ownersList",{id:X1,owners:b1})}}),Q4(d4(v),"inspectElement",function(x){var{forceFullData:X1,id:q1,path:P1,rendererID:b1,requestID:f0}=x,e0=v._rendererInterfaces[b1];if(e0==null)console.warn('Invalid renderer id "'.concat(b1,'" for element "').concat(q1,'"'));else if(v._bridge.send("inspectedElement",e0.inspectElement(f0,q1,P1,X1)),v._persistedSelectionMatch===null||v._persistedSelectionMatch.id!==q1)v._persistedSelection=null,v._persistedSelectionMatch=null,e0.setTrackedPath(null),v._throttledPersistSelection(b1,q1)}),Q4(d4(v),"logElementToConsole",function(x){var{id:X1,rendererID:q1}=x,P1=v._rendererInterfaces[q1];if(P1==null)console.warn('Invalid renderer id "'.concat(q1,'" for element "').concat(X1,'"'));else P1.logElementToConsole(X1)}),Q4(d4(v),"overrideError",function(x){var{id:X1,rendererID:q1,forceError:P1}=x,b1=v._rendererInterfaces[q1];if(b1==null)console.warn('Invalid renderer id "'.concat(q1,'" for element "').concat(X1,'"'));else b1.overrideError(X1,P1)}),Q4(d4(v),"overrideSuspense",function(x){var{id:X1,rendererID:q1,forceFallback:P1}=x,b1=v._rendererInterfaces[q1];if(b1==null)console.warn('Invalid renderer id "'.concat(q1,'" for element "').concat(X1,'"'));else b1.overrideSuspense(X1,P1)}),Q4(d4(v),"overrideValueAtPath",function(x){var{hookID:X1,id:q1,path:P1,rendererID:b1,type:f0,value:e0}=x,U2=v._rendererInterfaces[b1];if(U2==null)console.warn('Invalid renderer id "'.concat(b1,'" for element "').concat(q1,'"'));else U2.overrideValueAtPath(f0,q1,X1,P1,e0)}),Q4(d4(v),"overrideContext",function(x){var{id:X1,path:q1,rendererID:P1,wasForwarded:b1,value:f0}=x;if(!b1)v.overrideValueAtPath({id:X1,path:q1,rendererID:P1,type:"context",value:f0})}),Q4(d4(v),"overrideHookState",function(x){var{id:X1,hookID:q1,path:P1,rendererID:b1,wasForwarded:f0,value:e0}=x;if(!f0)v.overrideValueAtPath({id:X1,path:P1,rendererID:b1,type:"hooks",value:e0})}),Q4(d4(v),"overrideProps",function(x){var{id:X1,path:q1,rendererID:P1,wasForwarded:b1,value:f0}=x;if(!b1)v.overrideValueAtPath({id:X1,path:q1,rendererID:P1,type:"props",value:f0})}),Q4(d4(v),"overrideState",function(x){var{id:X1,path:q1,rendererID:P1,wasForwarded:b1,value:f0}=x;if(!b1)v.overrideValueAtPath({id:X1,path:q1,rendererID:P1,type:"state",value:f0})}),Q4(d4(v),"reloadAndProfile",function(x){a(m1,"true"),a(A1,x?"true":"false"),v._bridge.send("reloadAppForProfiling")}),Q4(d4(v),"renamePath",function(x){var{hookID:X1,id:q1,newPath:P1,oldPath:b1,rendererID:f0,type:e0}=x,U2=v._rendererInterfaces[f0];if(U2==null)console.warn('Invalid renderer id "'.concat(f0,'" for element "').concat(q1,'"'));else U2.renamePath(e0,q1,X1,b1,P1)}),Q4(d4(v),"setTraceUpdatesEnabled",function(x){v._traceUpdatesEnabled=x,qd(x);for(var X1 in v._rendererInterfaces){var q1=v._rendererInterfaces[X1];q1.setTraceUpdatesEnabled(x)}}),Q4(d4(v),"syncSelectionFromNativeElementsPanel",function(){var x=window.__REACT_DEVTOOLS_GLOBAL_HOOK__.$0;if(x==null)return;v.selectNode(x)}),Q4(d4(v),"shutdown",function(){v.emit("shutdown")}),Q4(d4(v),"startProfiling",function(x){v._recordChangeDescriptions=x,v._isProfiling=!0;for(var X1 in v._rendererInterfaces){var q1=v._rendererInterfaces[X1];q1.startProfiling(x)}v._bridge.send("profilingStatus",v._isProfiling)}),Q4(d4(v),"stopProfiling",function(){v._isProfiling=!1,v._recordChangeDescriptions=!1;for(var x in v._rendererInterfaces){var X1=v._rendererInterfaces[x];X1.stopProfiling()}v._bridge.send("profilingStatus",v._isProfiling)}),Q4(d4(v),"stopInspectingNative",function(x){v._bridge.send("stopInspectingNative",x)}),Q4(d4(v),"storeAsGlobal",function(x){var{count:X1,id:q1,path:P1,rendererID:b1}=x,f0=v._rendererInterfaces[b1];if(f0==null)console.warn('Invalid renderer id "'.concat(b1,'" for element "').concat(q1,'"'));else f0.storeAsGlobal(q1,P1,X1)}),Q4(d4(v),"updateConsolePatchSettings",function(x){var{appendComponentStack:X1,breakOnConsoleErrors:q1,showInlineWarningsAndErrors:P1,hideConsoleLogsInStrictMode:b1,browserTheme:f0}=x;LX({appendComponentStack:X1,breakOnConsoleErrors:q1,showInlineWarningsAndErrors:P1,hideConsoleLogsInStrictMode:b1,browserTheme:f0})}),Q4(d4(v),"updateComponentFilters",function(x){for(var X1 in v._rendererInterfaces){var q1=v._rendererInterfaces[X1];q1.updateComponentFilters(x)}}),Q4(d4(v),"viewAttributeSource",function(x){var{id:X1,path:q1,rendererID:P1}=x,b1=v._rendererInterfaces[P1];if(b1==null)console.warn('Invalid renderer id "'.concat(P1,'" for element "').concat(X1,'"'));else b1.prepareViewAttributeSource(X1,q1)}),Q4(d4(v),"viewElementSource",function(x){var{id:X1,rendererID:q1}=x,P1=v._rendererInterfaces[q1];if(P1==null)console.warn('Invalid renderer id "'.concat(q1,'" for element "').concat(X1,'"'));else P1.prepareViewElementSource(X1)}),Q4(d4(v),"onTraceUpdates",function(x){v.emit("traceUpdates",x)}),Q4(d4(v),"onFastRefreshScheduled",function(){if(J)sW("onFastRefreshScheduled");v._bridge.send("fastRefreshScheduled")}),Q4(d4(v),"onHookOperations",function(x){if(J)sW("onHookOperations","(".concat(x.length,") [").concat(x.join(", "),"]"));if(v._bridge.send("operations",x),v._persistedSelection!==null){var X1=x[0];if(v._persistedSelection.rendererID===X1){var q1=v._rendererInterfaces[X1];if(q1==null)console.warn('Invalid renderer id "'.concat(X1,'"'));else{var P1=v._persistedSelectionMatch,b1=q1.getBestMatchForTrackedPath();v._persistedSelectionMatch=b1;var f0=P1!==null?P1.id:null,e0=b1!==null?b1.id:null;if(f0!==e0){if(e0!==null)v._bridge.send("selectFiber",e0)}if(b1!==null&&b1.isFullMatch)v._persistedSelection=null,v._persistedSelectionMatch=null,q1.setTrackedPath(null)}}}}),Q4(d4(v),"_throttledPersistSelection",X()(function(x,X1){var q1=v._rendererInterfaces[x],P1=q1!=null?q1.getPathForElement(X1):null;if(P1!==null)a(o1,JSON.stringify({rendererID:x,path:P1}));else k(o1)},1000)),E0(m1)==="true")v._recordChangeDescriptions=E0(A1)==="true",v._isProfiling=!0,k(A1),k(m1);var m=E0(o1);if(m!=null)v._persistedSelection=JSON.parse(m);if(v._bridge=U,U.addListener("clearErrorsAndWarnings",v.clearErrorsAndWarnings),U.addListener("clearErrorsForFiberID",v.clearErrorsForFiberID),U.addListener("clearWarningsForFiberID",v.clearWarningsForFiberID),U.addListener("copyElementPath",v.copyElementPath),U.addListener("deletePath",v.deletePath),U.addListener("getBackendVersion",v.getBackendVersion),U.addListener("getBridgeProtocol",v.getBridgeProtocol),U.addListener("getProfilingData",v.getProfilingData),U.addListener("getProfilingStatus",v.getProfilingStatus),U.addListener("getOwnersList",v.getOwnersList),U.addListener("inspectElement",v.inspectElement),U.addListener("logElementToConsole",v.logElementToConsole),U.addListener("overrideError",v.overrideError),U.addListener("overrideSuspense",v.overrideSuspense),U.addListener("overrideValueAtPath",v.overrideValueAtPath),U.addListener("reloadAndProfile",v.reloadAndProfile),U.addListener("renamePath",v.renamePath),U.addListener("setTraceUpdatesEnabled",v.setTraceUpdatesEnabled),U.addListener("startProfiling",v.startProfiling),U.addListener("stopProfiling",v.stopProfiling),U.addListener("storeAsGlobal",v.storeAsGlobal),U.addListener("syncSelectionFromNativeElementsPanel",v.syncSelectionFromNativeElementsPanel),U.addListener("shutdown",v.shutdown),U.addListener("updateConsolePatchSettings",v.updateConsolePatchSettings),U.addListener("updateComponentFilters",v.updateComponentFilters),U.addListener("viewAttributeSource",v.viewAttributeSource),U.addListener("viewElementSource",v.viewElementSource),U.addListener("overrideContext",v.overrideContext),U.addListener("overrideHookState",v.overrideHookState),U.addListener("overrideProps",v.overrideProps),U.addListener("overrideState",v.overrideState),v._isProfiling)U.send("profilingStatus",!0);var C1="4.28.5-ef8a840bd";if(C1)v._bridge.send("backendVersion",C1);v._bridge.send("bridgeProtocol",AC);var w1=!1;try{localStorage.getItem("test"),w1=!0}catch(x){}return U.send("isBackendStorageAPISupported",w1),U.send("isSynchronousXHRSupported",A6()),_5(U,d4(v)),nB(d4(v)),v}return OT(f,[{key:"getInstanceAndStyle",value:function U(v){var{id:m,rendererID:C1}=v,w1=this._rendererInterfaces[C1];if(w1==null)return console.warn('Invalid renderer id "'.concat(C1,'"')),null;return w1.getInstanceAndStyle(m)}},{key:"getBestMatchingRendererInterface",value:function U(v){var m=null;for(var C1 in this._rendererInterfaces){var w1=this._rendererInterfaces[C1],x=w1.getFiberForNative(v);if(x!==null){if(x.stateNode===v)return w1;else if(m===null)m=w1}}return m}},{key:"getIDForNode",value:function U(v){var m=this.getBestMatchingRendererInterface(v);if(m!=null)try{return m.getFiberIDForNative(v,!0)}catch(C1){}return null}},{key:"selectNode",value:function U(v){var m=this.getIDForNode(v);if(m!==null)this._bridge.send("selectFiber",m)}},{key:"setRendererInterface",value:function U(v,m){if(this._rendererInterfaces[v]=m,this._isProfiling)m.startProfiling(this._recordChangeDescriptions);m.setTraceUpdatesEnabled(this._traceUpdatesEnabled);var C1=this._persistedSelection;if(C1!==null&&C1.rendererID===v)m.setTrackedPath(C1.path)}},{key:"onUnsupportedRenderer",value:function U(v){this._bridge.send("unsupportedRendererVersion",v)}},{key:"rendererInterfaces",get:function U(){return this._rendererInterfaces}}]),f}(A);function s5(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")s5=function R(f){return typeof f};else s5=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return s5(N)}function Zv(N){return Le(N)||Se(N)||Me(N)||bT()}function bT(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(N,R){if(!N)return;if(typeof N==="string")return cK(N,R);var f=Object.prototype.toString.call(N).slice(8,-1);if(f==="Object"&&N.constructor)f=N.constructor.name;if(f==="Map"||f==="Set")return Array.from(N);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return cK(N,R)}function Se(N){if(typeof Symbol!=="undefined"&&Symbol.iterator in Object(N))return Array.from(N)}function Le(N){if(Array.isArray(N))return cK(N)}function cK(N,R){if(R==null||R>N.length)R=N.length;for(var f=0,U=new Array(R);f<R;f++)U[f]=N[f];return U}function ye(N){if(N.hasOwnProperty("__REACT_DEVTOOLS_GLOBAL_HOOK__"))return null;var R=console,f={};for(var U in console)f[U]=console[U];function v(o0){R=o0,f={};for(var f2 in R)f[f2]=console[f2]}function m(o0){try{if(typeof o0.version==="string"){if(o0.bundleType>0)return"development";return"production"}var f2=Function.prototype.toString;if(o0.Mount&&o0.Mount._renderNewRootComponent){var O2=f2.call(o0.Mount._renderNewRootComponent);if(O2.indexOf("function")!==0)return"production";if(O2.indexOf("storedMeasure")!==-1)return"development";if(O2.indexOf("should be a pure function")!==-1){if(O2.indexOf("NODE_ENV")!==-1)return"development";if(O2.indexOf("development")!==-1)return"development";if(O2.indexOf("true")!==-1)return"development";if(O2.indexOf("nextElement")!==-1||O2.indexOf("nextComponent")!==-1)return"unminified";else return"development"}if(O2.indexOf("nextElement")!==-1||O2.indexOf("nextComponent")!==-1)return"unminified";return"outdated"}}catch(M9){}return"production"}function C1(o0){try{var f2=Function.prototype.toString,O2=f2.call(o0);if(O2.indexOf("^_^")>-1)f0=!0,setTimeout(function(){throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")})}catch(M9){}}function w1(o0,f2){if(o0===void 0||o0===null||o0.length===0||typeof o0[0]==="string"&&o0[0].match(/([^%]|^)(%c)/g)||f2===void 0)return o0;var O2=/([^%]|^)((%%)*)(%([oOdisf]))/g;if(typeof o0[0]==="string"&&o0[0].match(O2))return["%c".concat(o0[0]),f2].concat(Zv(o0.slice(1)));else{var M9=o0.reduce(function($3,a9,u3){if(u3>0)$3+=" ";switch(s5(a9)){case"string":case"boolean":case"symbol":return $3+="%s";case"number":var b6=Number.isInteger(a9)?"%i":"%f";return $3+=b6;default:return $3+="%o"}},"%c");return[M9,f2].concat(Zv(o0))}}var x=null;function X1(o0){var{hideConsoleLogsInStrictMode:f2,browserTheme:O2}=o0,M9=["error","group","groupCollapsed","info","log","trace","warn"];if(x!==null)return;var $3={};x=function a9(){for(var u3 in $3)try{R[u3]=$3[u3]}catch(b6){}},M9.forEach(function(a9){try{var u3=$3[a9]=R[a9].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__?R[a9].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__:R[a9],b6=function HA(){if(!f2){var ld;switch(a9){case"warn":ld=O2==="light"?"rgba(250, 180, 50, 0.75)":"rgba(250, 180, 50, 0.5)";break;case"error":ld=O2==="light"?"rgba(250, 123, 130, 0.75)":"rgba(250, 123, 130, 0.5)";break;case"log":default:ld=O2==="light"?"rgba(125, 125, 125, 0.75)":"rgba(125, 125, 125, 0.5)";break}if(ld){for(var oW=arguments.length,eW=new Array(oW),VC=0;VC<oW;VC++)eW[VC]=arguments[VC];u3.apply(void 0,Zv(w1(eW,"color: ".concat(ld))))}else throw Error("Console color is not defined")}};b6.__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__=u3,u3.__REACT_DEVTOOLS_STRICT_MODE_OVERRIDE_METHOD__=b6,R[a9]=b6}catch(HA){}})}function q1(){if(x!==null)x(),x=null}var P1=0;function b1(o0){var f2=++P1;t5.set(f2,o0);var O2=f0?"deadcode":m(o0);if(N.hasOwnProperty("__REACT_DEVTOOLS_CONSOLE_FUNCTIONS__")){var M9=N.__REACT_DEVTOOLS_CONSOLE_FUNCTIONS__,$3=M9.registerRendererWithConsole,a9=M9.patchConsoleUsingWindowValues;if(typeof $3==="function"&&typeof a9==="function")$3(o0),a9()}var u3=N.__REACT_DEVTOOLS_ATTACH__;if(typeof u3==="function"){var b6=u3(u8,f2,o0,N);u8.rendererInterfaces.set(f2,b6)}return u8.emit("renderer",{id:f2,renderer:o0,reactBuildType:O2}),f2}var f0=!1;function e0(o0,f2){return u8.on(o0,f2),function(){return u8.off(o0,f2)}}function U2(o0,f2){if(!G4[o0])G4[o0]=[];G4[o0].push(f2)}function x0(o0,f2){if(!G4[o0])return;var O2=G4[o0].indexOf(f2);if(O2!==-1)G4[o0].splice(O2,1);if(!G4[o0].length)delete G4[o0]}function b2(o0,f2){if(G4[o0])G4[o0].map(function(O2){return O2(f2)})}function R4(o0){var f2=_3;if(!f2[o0])f2[o0]=new Set;return f2[o0]}function U5(o0,f2){var O2=r9.get(o0);if(O2!=null)O2.handleCommitFiberUnmount(f2)}function V2(o0,f2,O2){var M9=u8.getFiberRoots(o0),$3=f2.current,a9=M9.has(f2),u3=$3.memoizedState==null||$3.memoizedState.element==null;if(!a9&&!u3)M9.add(f2);else if(a9&&u3)M9.delete(f2);var b6=r9.get(o0);if(b6!=null)b6.handleCommitFiberRoot(f2,O2)}function g5(o0,f2){var O2=r9.get(o0);if(O2!=null)O2.handlePostCommitFiberRoot(f2)}function o5(o0,f2){var O2=r9.get(o0);if(O2!=null)if(f2)O2.patchConsoleForStrictMode();else O2.unpatchConsoleForStrictMode();else if(f2){var M9=window.__REACT_DEVTOOLS_HIDE_CONSOLE_LOGS_IN_STRICT_MODE__===!0,$3=window.__REACT_DEVTOOLS_BROWSER_THEME__;X1({hideConsoleLogsInStrictMode:M9,browserTheme:$3})}else q1()}var Z5=[],w9=[];function e5(o0){var f2=o0.stack.split(`
`),O2=f2.length>1?f2[1]:null;return O2}function t3(){return w9}function J4(o0){var f2=e5(o0);if(f2!==null)Z5.push(f2)}function Y6(o0){if(Z5.length>0){var f2=Z5.pop(),O2=e5(o0);if(O2!==null)w9.push([f2,O2])}}var _3={},r9=new Map,G4={},t5=new Map,_6=new Map,u8={rendererInterfaces:r9,listeners:G4,backends:_6,renderers:t5,emit:b2,getFiberRoots:R4,inject:b1,on:U2,off:x0,sub:e0,supportsFiber:!0,checkDCE:C1,onCommitFiberUnmount:U5,onCommitFiberRoot:V2,onPostCommitFiberRoot:g5,setStrictMode:o5,getInternalModuleRanges:t3,registerInternalModuleStart:J4,registerInternalModuleStop:Y6};return Object.defineProperty(N,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!1,enumerable:!1,get:function o0(){return u8}}),u8}function bI(N,R,f){var U=N[R];return N[R]=function(v){return f.call(this,U,arguments)},U}function Cv(N,R){var f={};for(var U in R)f[U]=bI(N,U,R[U]);return f}function hT(N,R){for(var f in R)N[f]=R[f]}function Z8(N){if(typeof N.forceUpdate==="function")N.forceUpdate();else if(N.updater!=null&&typeof N.updater.enqueueForceUpdate==="function")N.updater.enqueueForceUpdate(this,function(){},"forceUpdate")}function wF(N,R){var f=Object.keys(N);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(N);if(R)U=U.filter(function(v){return Object.getOwnPropertyDescriptor(N,v).enumerable});f.push.apply(f,U)}return f}function hI(N){for(var R=1;R<arguments.length;R++){var f=arguments[R]!=null?arguments[R]:{};if(R%2)wF(Object(f),!0).forEach(function(U){pK(N,U,f[U])});else if(Object.getOwnPropertyDescriptors)Object.defineProperties(N,Object.getOwnPropertyDescriptors(f));else wF(Object(f)).forEach(function(U){Object.defineProperty(N,U,Object.getOwnPropertyDescriptor(f,U))})}return N}function pK(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}function _A(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")_A=function R(f){return typeof f};else _A=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return _A(N)}function DA(N){var R=null,f=null;if(N._currentElement!=null){if(N._currentElement.key)f=String(N._currentElement.key);var U=N._currentElement.type;if(typeof U==="string")R=U;else if(typeof U==="function")R=O6(U)}return{displayName:R,key:f}}function uG(N){if(N._currentElement!=null){var R=N._currentElement.type;if(typeof R==="function"){var f=N.getPublicInstance();if(f!==null)return E8;else return UG}else if(typeof R==="string")return n9}return Md}function OX(N){var R=[];if(_A(N)!=="object");else if(N._currentElement===null||N._currentElement===!1);else if(N._renderedComponent){var f=N._renderedComponent;if(uG(f)!==Md)R.push(f)}else if(N._renderedChildren){var U=N._renderedChildren;for(var v in U){var m=U[v];if(uG(m)!==Md)R.push(m)}}return R}function jT(N,R,f,U){var v=new Map,m=new WeakMap,C1=new WeakMap,w1=null,x,X1=function H0(z0){return null};if(f.ComponentTree)w1=function H0(z0,q0){var u0=f.ComponentTree.getClosestInstanceFromNode(z0);return m.get(u0)||null},x=function H0(z0){var q0=v.get(z0);return f.ComponentTree.getNodeFromInstance(q0)},X1=function H0(z0){return f.ComponentTree.getClosestInstanceFromNode(z0)};else if(f.Mount.getID&&f.Mount.getNode)w1=function H0(z0,q0){return null},x=function H0(z0){return null};function q1(H0){var z0=v.get(H0);return z0?DA(z0).displayName:null}function P1(H0){if(_A(H0)!=="object"||H0===null)throw new Error("Invalid internal instance: "+H0);if(!m.has(H0)){var z0=K9();m.set(H0,z0),v.set(z0,H0)}return m.get(H0)}function b1(H0,z0){if(H0.length!==z0.length)return!1;for(var q0=0;q0<H0.length;q0++)if(H0[q0]!==z0[q0])return!1;return!0}var f0=[],e0=null;if(f.Reconciler)e0=Cv(f.Reconciler,{mountComponent:function H0(z0,q0){var u0=q0[0],z2=q0[3];if(uG(u0)===Md)return z0.apply(this,q0);if(z2._topLevelWrapper===void 0)return z0.apply(this,q0);var U4=P1(u0),m4=f0.length>0?f0[f0.length-1]:0;x0(u0,U4,m4),f0.push(U4),C1.set(u0,P1(z2._topLevelWrapper));try{var y5=z0.apply(this,q0);return f0.pop(),y5}catch(T8){throw f0=[],T8}finally{if(f0.length===0){var D6=C1.get(u0);if(D6===void 0)throw new Error("Expected to find root ID.");t3(D6)}}},performUpdateIfNecessary:function H0(z0,q0){var u0=q0[0];if(uG(u0)===Md)return z0.apply(this,q0);var z2=P1(u0);f0.push(z2);var U4=OX(u0);try{var m4=z0.apply(this,q0),y5=OX(u0);if(!b1(U4,y5))b2(u0,z2,y5);return f0.pop(),m4}catch(T8){throw f0=[],T8}finally{if(f0.length===0){var D6=C1.get(u0);if(D6===void 0)throw new Error("Expected to find root ID.");t3(D6)}}},receiveComponent:function H0(z0,q0){var u0=q0[0];if(uG(u0)===Md)return z0.apply(this,q0);var z2=P1(u0);f0.push(z2);var U4=OX(u0);try{var m4=z0.apply(this,q0),y5=OX(u0);if(!b1(U4,y5))b2(u0,z2,y5);return f0.pop(),m4}catch(T8){throw f0=[],T8}finally{if(f0.length===0){var D6=C1.get(u0);if(D6===void 0)throw new Error("Expected to find root ID.");t3(D6)}}},unmountComponent:function H0(z0,q0){var u0=q0[0];if(uG(u0)===Md)return z0.apply(this,q0);var z2=P1(u0);f0.push(z2);try{var U4=z0.apply(this,q0);return f0.pop(),R4(u0,z2),U4}catch(y5){throw f0=[],y5}finally{if(f0.length===0){var m4=C1.get(u0);if(m4===void 0)throw new Error("Expected to find root ID.");t3(m4)}}}});function U2(){if(e0!==null)if(f.Component)hT(f.Component.Mixin,e0);else hT(f.Reconciler,e0);e0=null}function x0(H0,z0,q0){var u0=q0===0;if(J)console.log("%crecordMount()","color: green; font-weight: bold;",z0,DA(H0).displayName);if(u0){var z2=H0._currentElement!=null&&H0._currentElement._owner!=null;J4(Q),J4(z0),J4(FK),J4(0),J4(0),J4(0),J4(z2?1:0)}else{var U4=uG(H0),m4=DA(H0),y5=m4.displayName,D6=m4.key,T8=H0._currentElement!=null&&H0._currentElement._owner!=null?P1(H0._currentElement._owner):0,TG=Y6(y5),j6=Y6(D6);J4(Q),J4(z0),J4(U4),J4(q0),J4(T8),J4(TG),J4(j6)}}function b2(H0,z0,q0){J4(S),J4(z0);var u0=q0.map(P1);J4(u0.length);for(var z2=0;z2<u0.length;z2++)J4(u0[z2])}function R4(H0,z0){Z5.push(z0),v.delete(z0)}function U5(H0,z0,q0){if(J)console.group("crawlAndRecordInitialMounts() id:",H0);var u0=v.get(H0);if(u0!=null)C1.set(u0,q0),x0(u0,H0,z0),OX(u0).forEach(function(z2){return U5(P1(z2),H0,q0)});if(J)console.groupEnd()}function V2(){var H0=f.Mount._instancesByReactRootID||f.Mount._instancesByContainerID;for(var z0 in H0){var q0=H0[z0],u0=P1(q0);U5(u0,0,u0),t3(u0)}}var g5=[],o5=new Map,Z5=[],w9=0,e5=null;function t3(H0){if(g5.length===0&&Z5.length===0&&e5===null)return;var z0=Z5.length+(e5===null?0:1),q0=new Array(3+w9+(z0>0?2+z0:0)+g5.length),u0=0;if(q0[u0++]=R,q0[u0++]=H0,q0[u0++]=w9,o5.forEach(function(m4,y5){q0[u0++]=y5.length;var D6=NU(y5);for(var T8=0;T8<D6.length;T8++)q0[u0+T8]=D6[T8];u0+=y5.length}),z0>0){q0[u0++]=E,q0[u0++]=z0;for(var z2=0;z2<Z5.length;z2++)q0[u0++]=Z5[z2];if(e5!==null)q0[u0]=e5,u0++}for(var U4=0;U4<g5.length;U4++)q0[u0+U4]=g5[U4];if(u0+=g5.length,J)eu(q0);N.emit("operations",q0),g5.length=0,Z5=[],e5=null,o5.clear(),w9=0}function J4(H0){g5.push(H0)}function Y6(H0){if(H0===null)return 0;var z0=o5.get(H0);if(z0!==void 0)return z0;var q0=o5.size+1;return o5.set(H0,q0),w9+=H0.length+1,q0}var _3=null,r9={};function G4(H0){var z0=r9;H0.forEach(function(q0){if(!z0[q0])z0[q0]={};z0=z0[q0]})}function t5(H0){return function z0(q0){var u0=r9[H0];if(!u0)return!1;for(var z2=0;z2<q0.length;z2++)if(u0=u0[q0[z2]],!u0)return!1;return!0}}function _6(H0){var z0=null,q0=null,u0=v.get(H0);if(u0!=null){z0=u0._instance||null;var z2=u0._currentElement;if(z2!=null&&z2.props!=null)q0=z2.props.style||null}return{instance:z0,style:q0}}function u8(H0){var z0=v.get(H0);if(z0==null){console.warn('Could not find instance with id "'.concat(H0,'"'));return}switch(uG(z0)){case E8:U.$r=z0._instance;break;case UG:var q0=z0._currentElement;if(q0==null){console.warn('Could not find element with id "'.concat(H0,'"'));return}U.$r={props:q0.props,type:q0.type};break;default:U.$r=null;break}}function o0(H0,z0,q0){var u0=M9(H0);if(u0!==null){var z2=M8(u0,z0),U4="$reactTemp".concat(q0);window[U4]=z2,console.log(U4),console.log(z2)}}function f2(H0,z0){var q0=M9(H0);if(q0!==null){var u0=M8(q0,z0);return kW(u0)}}function O2(H0,z0,q0,u0){if(u0||_3!==z0)_3=z0,r9={};var z2=M9(z0);if(z2===null)return{id:z0,responseID:H0,type:"not-found"};if(q0!==null)G4(q0);return u8(z0),z2.context=Pd(z2.context,t5("context")),z2.props=Pd(z2.props,t5("props")),z2.state=Pd(z2.state,t5("state")),{id:z0,responseID:H0,type:"full-data",value:z2}}function M9(H0){var z0=v.get(H0);if(z0==null)return null;var q0=DA(z0),u0=q0.displayName,z2=q0.key,U4=uG(z0),m4=null,y5=null,D6=null,T8=null,TG=null,j6=z0._currentElement;if(j6!==null){D6=j6.props,TG=j6._source!=null?j6._source:null;var OG=j6._owner;if(OG){y5=[];while(OG!=null)if(y5.push({displayName:DA(OG).displayName||"Unknown",id:P1(OG),key:j6.key,type:uG(OG)}),OG._currentElement)OG=OG._currentElement._owner}}var AF=z0._instance;if(AF!=null)m4=AF.context||null,T8=AF.state||null;var H6=[],Iw=[];return{id:H0,canEditHooks:!1,canEditFunctionProps:!1,canEditHooksAndDeletePaths:!1,canEditHooksAndRenamePaths:!1,canEditFunctionPropsDeletePaths:!1,canEditFunctionPropsRenamePaths:!1,canToggleError:!1,isErrored:!1,targetErrorBoundaryID:null,canToggleSuspense:!1,canViewSource:U4===E8||U4===UG,hasLegacyContext:!0,displayName:u0,type:U4,key:z2!=null?z2:null,context:m4,hooks:null,props:D6,state:T8,errors:H6,warnings:Iw,owners:y5,source:TG,rootType:null,rendererPackageName:null,rendererVersion:null,plugins:{stylex:null}}}function $3(H0){var z0=M9(H0);if(z0===null){console.warn('Could not find element with id "'.concat(H0,'"'));return}var q0=typeof console.groupCollapsed==="function";if(q0)console.groupCollapsed("[Click to expand] %c<".concat(z0.displayName||"Component"," />"),"color: var(--dom-tag-name-color); font-weight: normal;");if(z0.props!==null)console.log("Props:",z0.props);if(z0.state!==null)console.log("State:",z0.state);if(z0.context!==null)console.log("Context:",z0.context);var u0=x(H0);if(u0!==null)console.log("Node:",u0);if(window.chrome||/firefox/i.test(navigator.userAgent))console.log("Right-click any value to save it as a global variable for further inspection.");if(q0)console.groupEnd()}function a9(H0,z0){var q0=M9(H0);if(q0!==null)window.$attribute=M8(q0,z0)}function u3(H0){var z0=v.get(H0);if(z0==null){console.warn('Could not find instance with id "'.concat(H0,'"'));return}var q0=z0._currentElement;if(q0==null){console.warn('Could not find element with id "'.concat(H0,'"'));return}U.$type=q0.type}function b6(H0,z0,q0,u0){var z2=v.get(z0);if(z2!=null){var U4=z2._instance;if(U4!=null)switch(H0){case"context":yH(U4.context,u0),Z8(U4);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var m4=z2._currentElement;z2._currentElement=hI(hI({},m4),{},{props:OH(m4.props,u0)}),Z8(U4);break;case"state":yH(U4.state,u0),Z8(U4);break}}}function HA(H0,z0,q0,u0,z2){var U4=v.get(z0);if(U4!=null){var m4=U4._instance;if(m4!=null)switch(H0){case"context":ZA(m4.context,u0,z2),Z8(m4);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var y5=U4._currentElement;U4._currentElement=hI(hI({},y5),{},{props:mH(y5.props,u0,z2)}),Z8(m4);break;case"state":ZA(m4.state,u0,z2),Z8(m4);break}}}function ld(H0,z0,q0,u0,z2){var U4=v.get(z0);if(U4!=null){var m4=U4._instance;if(m4!=null)switch(H0){case"context":CA(m4.context,u0,z2),Z8(m4);break;case"hooks":throw new Error("Hooks not supported by this renderer");case"props":var y5=U4._currentElement;U4._currentElement=hI(hI({},y5),{},{props:RX(y5.props,u0,z2)}),Z8(m4);break;case"state":CA(m4.state,u0,z2),Z8(m4);break}}}var oW=function H0(){throw new Error("getProfilingData not supported by this renderer")},eW=function H0(){throw new Error("handleCommitFiberRoot not supported by this renderer")},VC=function H0(){throw new Error("handleCommitFiberUnmount not supported by this renderer")},XC=function H0(){throw new Error("handlePostCommitFiberRoot not supported by this renderer")},lX=function H0(){throw new Error("overrideError not supported by this renderer")},tW=function H0(){throw new Error("overrideSuspense not supported by this renderer")},Wv=function H0(){},wv=function H0(){};function C2(){return null}function S2(H0){return null}function O4(H0){}function C5(H0){}function D3(H0){}function S9(H0){return null}function C8(){}function g7(H0){}function h6(H0){}function bd(){}function FA(){}function bX(H0){return v.has(H0)}return{clearErrorsAndWarnings:C8,clearErrorsForFiberID:g7,clearWarningsForFiberID:h6,cleanup:U2,getSerializedElementValueByPath:f2,deletePath:b6,flushInitialOperations:V2,getBestMatchForTrackedPath:C2,getDisplayNameForFiberID:q1,getFiberForNative:X1,getFiberIDForNative:w1,getInstanceAndStyle:_6,findNativeNodesForFiberID:function H0(z0){var q0=x(z0);return q0==null?null:[q0]},getOwnersList:S9,getPathForElement:S2,getProfilingData:oW,handleCommitFiberRoot:eW,handleCommitFiberUnmount:VC,handlePostCommitFiberRoot:XC,hasFiberWithId:bX,inspectElement:O2,logElementToConsole:$3,overrideError:lX,overrideSuspense:tW,overrideValueAtPath:ld,renamePath:HA,patchConsoleForStrictMode:bd,prepareViewAttributeSource:a9,prepareViewElementSource:u3,renderer:f,setTraceUpdatesEnabled:C5,setTrackedPath:D3,startProfiling:Wv,stopProfiling:wv,storeAsGlobal:o0,unpatchConsoleForStrictMode:FA,updateComponentFilters:O4}}function kT(N){return!T9(N)}function xT(N,R,f){if(N==null)return function(){};var U=[N.sub("renderer-attached",function(C1){var{id:w1,renderer:x,rendererInterface:X1}=C1;R.setRendererInterface(w1,X1),X1.flushInitialOperations()}),N.sub("unsupported-renderer-version",function(C1){R.onUnsupportedRenderer(C1)}),N.sub("fastRefreshScheduled",R.onFastRefreshScheduled),N.sub("operations",R.onHookOperations),N.sub("traceUpdates",R.onTraceUpdates)],v=function C1(w1,x){if(!kT(x.reconcilerVersion||x.version))return;var X1=N.rendererInterfaces.get(w1);if(X1==null){if(typeof x.findFiberByHostInstance==="function")X1=ST(N,w1,x,f);else if(x.ComponentTree)X1=jT(N,w1,x,f);if(X1!=null)N.rendererInterfaces.set(w1,X1)}if(X1!=null)N.emit("renderer-attached",{id:w1,renderer:x,rendererInterface:X1});else N.emit("unsupported-renderer-version",w1)};N.renderers.forEach(function(C1,w1){v(w1,C1)}),U.push(N.sub("renderer",function(C1){var{id:w1,renderer:x}=C1;v(w1,x)})),N.emit("react-devtools",R),N.reactDevtoolsAgent=R;var m=function C1(){U.forEach(function(w1){return w1()}),N.rendererInterfaces.forEach(function(w1){w1.cleanup()}),N.reactDevtoolsAgent=null};return R.addListener("shutdown",m),U.push(function(){R.removeListener("shutdown",m)}),function(){U.forEach(function(C1){return C1()})}}function BF(N,R){var f=!1,U={bottom:0,left:0,right:0,top:0},v=R[N];if(v!=null){for(var m=0,C1=Object.keys(U);m<C1.length;m++){var w1=C1[m];U[w1]=v}f=!0}var x=R[N+"Horizontal"];if(x!=null)U.left=x,U.right=x,f=!0;else{var X1=R[N+"Left"];if(X1!=null)U.left=X1,f=!0;var q1=R[N+"Right"];if(q1!=null)U.right=q1,f=!0;var P1=R[N+"End"];if(P1!=null)U.right=P1,f=!0;var b1=R[N+"Start"];if(b1!=null)U.left=b1,f=!0}var f0=R[N+"Vertical"];if(f0!=null)U.bottom=f0,U.top=f0,f=!0;else{var e0=R[N+"Bottom"];if(e0!=null)U.bottom=e0,f=!0;var U2=R[N+"Top"];if(U2!=null)U.top=U2,f=!0}return f?U:null}function mX(N){if(typeof Symbol==="function"&&typeof Symbol.iterator==="symbol")mX=function R(f){return typeof f};else mX=function R(f){return f&&typeof Symbol==="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f};return mX(N)}function iK(N,R,f){if(R in N)Object.defineProperty(N,R,{value:f,enumerable:!0,configurable:!0,writable:!0});else N[R]=f;return N}function D(N,R,f,U){N.addListener("NativeStyleEditor_measure",function(v){var{id:m,rendererID:C1}=v;q(R,N,f,m,C1)}),N.addListener("NativeStyleEditor_renameAttribute",function(v){var{id:m,rendererID:C1,oldName:w1,newName:x,value:X1}=v;y(R,m,C1,w1,x,X1),setTimeout(function(){return q(R,N,f,m,C1)})}),N.addListener("NativeStyleEditor_setValue",function(v){var{id:m,rendererID:C1,name:w1,value:x}=v;t(R,m,C1,w1,x),setTimeout(function(){return q(R,N,f,m,C1)})}),N.send("isNativeStyleEditorSupported",{isSupported:!0,validAttributes:U})}var H={top:0,left:0,right:0,bottom:0},z=new Map;function q(N,R,f,U,v){var m=N.getInstanceAndStyle({id:U,rendererID:v});if(!m||!m.style){R.send("NativeStyleEditor_styleAndLayout",{id:U,layout:null,style:null});return}var{instance:C1,style:w1}=m,x=f(w1),X1=z.get(U);if(X1!=null)x=Object.assign({},x,X1);if(!C1||typeof C1.measure!=="function"){R.send("NativeStyleEditor_styleAndLayout",{id:U,layout:null,style:x||null});return}C1.measure(function(q1,P1,b1,f0,e0,U2){if(typeof q1!=="number"){R.send("NativeStyleEditor_styleAndLayout",{id:U,layout:null,style:x||null});return}var x0=x!=null&&BF("margin",x)||H,b2=x!=null&&BF("padding",x)||H;R.send("NativeStyleEditor_styleAndLayout",{id:U,layout:{x:q1,y:P1,width:b1,height:f0,left:e0,top:U2,margin:x0,padding:b2},style:x||null})})}function M(N){var R={};for(var f in N)R[f]=N[f];return R}function y(N,R,f,U,v,m){var C1,w1=N.getInstanceAndStyle({id:R,rendererID:f});if(!w1||!w1.style)return;var{instance:x,style:X1}=w1,q1=v?(C1={},iK(C1,U,void 0),iK(C1,v,m),C1):iK({},U,void 0),P1;if(x!==null&&typeof x.setNativeProps==="function"){var b1=z.get(R);if(!b1)z.set(R,q1);else Object.assign(b1,q1);x.setNativeProps({style:q1})}else if(EG(X1)){var f0=X1.length-1;if(mX(X1[f0])==="object"&&!EG(X1[f0])){if(P1=M(X1[f0]),delete P1[U],v)P1[v]=m;else P1[U]=void 0;N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style",f0],value:P1})}else N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style"],value:X1.concat([q1])})}else if(mX(X1)==="object"){if(P1=M(X1),delete P1[U],v)P1[v]=m;else P1[U]=void 0;N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style"],value:P1})}else N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style"],value:[X1,q1]});N.emit("hideNativeHighlight")}function t(N,R,f,U,v){var m=N.getInstanceAndStyle({id:R,rendererID:f});if(!m||!m.style)return;var{instance:C1,style:w1}=m,x=iK({},U,v);if(C1!==null&&typeof C1.setNativeProps==="function"){var X1=z.get(R);if(!X1)z.set(R,x);else Object.assign(X1,x);C1.setNativeProps({style:x})}else if(EG(w1)){var q1=w1.length-1;if(mX(w1[q1])==="object"&&!EG(w1[q1]))N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style",q1,U],value:v});else N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style"],value:w1.concat([x])})}else N.overrideValueAtPath({type:"props",id:R,rendererID:f,path:["style"],value:[w1,x]});N.emit("hideNativeHighlight")}function $1(N){t1(N)}function t1(N){if(N.getConsolePatchSettings==null)return;var R=N.getConsolePatchSettings();if(R==null)return;var f=m0(R);if(f==null)return;sU(f)}function m0(N){var R,f,U,v,m,C1=JSON.parse(N!==null&&N!==void 0?N:"{}"),w1=C1.appendComponentStack,x=C1.breakOnConsoleErrors,X1=C1.showInlineWarningsAndErrors,q1=C1.hideConsoleLogsInStrictMode,P1=C1.browserTheme;return{appendComponentStack:(R=WC(w1))!==null&&R!==void 0?R:!0,breakOnConsoleErrors:(f=WC(x))!==null&&f!==void 0?f:!1,showInlineWarningsAndErrors:(U=WC(X1))!==null&&U!==void 0?U:!0,hideConsoleLogsInStrictMode:(v=WC(q1))!==null&&v!==void 0?v:!1,browserTheme:(m=GA(P1))!==null&&m!==void 0?m:"dark"}}function J2(N,R){if(N.setConsolePatchSettings==null)return;N.setConsolePatchSettings(JSON.stringify(R))}oU(),ye(window);var l2=window.__REACT_DEVTOOLS_GLOBAL_HOOK__,Z2=SH();function L5(N){if(J){var R;for(var f=arguments.length,U=new Array(f>1?f-1:0),v=1;v<f;v++)U[v-1]=arguments[v];(R=console).log.apply(R,["%c[core/backend] %c".concat(N),"color: teal; font-weight: bold;","font-weight: bold;"].concat(U))}}function j5(N){if(l2==null)return;var R=N||{},f=R.host,U=f===void 0?"localhost":f,v=R.nativeStyleEditorValidAttributes,m=R.useHttps,C1=m===void 0?!1:m,w1=R.port,x=w1===void 0?8097:w1,X1=R.websocket,q1=R.resolveRNStyle,P1=q1===void 0?null:q1,b1=R.retryConnectionDelay,f0=b1===void 0?2000:b1,e0=R.isAppActive,U2=e0===void 0?function(){return!0}:e0,x0=R.devToolsSettingsManager,b2=C1?"wss":"ws",R4=null;function U5(){if(R4===null)R4=setTimeout(function(){return j5(N)},f0)}if(x0!=null)try{$1(x0)}catch(J4){console.error(J4)}if(!U2()){U5();return}var V2=null,g5=[],o5=b2+"://"+U+":"+x,Z5=X1?X1:new window.WebSocket(o5);Z5.onclose=w9,Z5.onerror=e5,Z5.onmessage=t3,Z5.onopen=function(){if(V2=new TT({listen:function G4(t5){return g5.push(t5),function(){var _6=g5.indexOf(t5);if(_6>=0)g5.splice(_6,1)}},send:function G4(t5,_6,u8){if(Z5.readyState===Z5.OPEN){if(J)L5("wall.send()",t5,_6);Z5.send(JSON.stringify({event:t5,payload:_6}))}else{if(J)L5("wall.send()","Shutting down bridge because of closed WebSocket connection");if(V2!==null)V2.shutdown();U5()}}}),V2.addListener("updateComponentFilters",function(G4){Z2=G4}),x0!=null&&V2!=null)V2.addListener("updateConsolePatchSettings",function(G4){return J2(x0,G4)});if(window.__REACT_DEVTOOLS_COMPONENT_FILTERS__==null)V2.send("overrideComponentFilters",Z2);var J4=new lT(V2);if(J4.addListener("shutdown",function(){l2.emit("shutdown")}),xT(l2,J4,window),P1!=null||l2.resolveRNStyle!=null)D(V2,J4,P1||l2.resolveRNStyle,v||l2.nativeStyleEditorValidAttributes||null);else{var Y6,_3,r9=function G4(){if(V2!==null)D(V2,J4,Y6,_3)};if(!l2.hasOwnProperty("resolveRNStyle"))Object.defineProperty(l2,"resolveRNStyle",{enumerable:!1,get:function G4(){return Y6},set:function G4(t5){Y6=t5,r9()}});if(!l2.hasOwnProperty("nativeStyleEditorValidAttributes"))Object.defineProperty(l2,"nativeStyleEditorValidAttributes",{enumerable:!1,get:function G4(){return _3},set:function G4(t5){_3=t5,r9()}})}};function w9(){if(J)L5("WebSocket.onclose");if(V2!==null)V2.emit("shutdown");U5()}function e5(){if(J)L5("WebSocket.onerror");U5()}function t3(J4){var Y6;try{if(typeof J4.data==="string"){if(Y6=JSON.parse(J4.data),J)L5("WebSocket.onmessage",Y6)}else throw Error()}catch(_3){console.error("[React DevTools] Failed to parse JSON: "+J4.data);return}g5.forEach(function(_3){try{_3(Y6)}catch(r9){throw console.log("[React DevTools] Error calling listener",Y6),console.log("error:",r9),r9}})}}})(),Z})()})});var oD4={};var zc1;var Qc1=Gw(()=>{Kc1();zc1=J1(Nc1(),1);zc1.default.connectToDevTools()});var vc1=Y((aS9,IH4)=>{IH4.exports={single:{topLeft:"┌",top:"─",topRight:"┐",right:"│",bottomRight:"┘",bottom:"─",bottomLeft:"└",left:"│"},double:{topLeft:"╔",top:"═",topRight:"╗",right:"║",bottomRight:"╝",bottom:"═",bottomLeft:"╚",left:"║"},round:{topLeft:"╭",top:"─",topRight:"╮",right:"│",bottomRight:"╯",bottom:"─",bottomLeft:"╰",left:"│"},bold:{topLeft:"┏",top:"━",topRight:"┓",right:"┃",bottomRight:"┛",bottom:"━",bottomLeft:"┗",left:"┃"},singleDouble:{topLeft:"╓",top:"─",topRight:"╖",right:"║",bottomRight:"╜",bottom:"─",bottomLeft:"╙",left:"║"},doubleSingle:{topLeft:"╒",top:"═",topRight:"╕",right:"│",bottomRight:"╛",bottom:"═",bottomLeft:"╘",left:"│"},classic:{topLeft:"+",top:"-",topRight:"+",right:"|",bottomRight:"+",bottom:"-",bottomLeft:"+",left:"|"},arrow:{topLeft:"↘",top:"↓",topRight:"↙",right:"←",bottomRight:"↖",bottom:"↑",bottomLeft:"↗",left:"→"}}});var Mc1=Y((sS9,_91)=>{var Ec1=vc1();_91.exports=Ec1;_91.exports.default=Ec1});var jc1=Y((iL9,f91)=>{var hc1=(I,d)=>{for(let G of Reflect.ownKeys(d))Object.defineProperty(I,G,Object.getOwnPropertyDescriptor(d,G));return I};f91.exports=hc1;f91.exports.default=hc1});var xc1=Y((nL9,xj)=>{var zH4=jc1(),kj=new WeakMap,kc1=(I,d={})=>{if(typeof I!=="function")throw new TypeError("Expected a function");let G,Z=0,C=I.displayName||I.name||"<anonymous>",W=function(...w){if(kj.set(W,++Z),Z===1)G=I.apply(this,w),I=null;else if(d.throw===!0)throw new Error(`Function \`${C}\` can only be called once`);return G};return zH4(W,I),kj.set(W,Z),W};xj.exports=kc1;xj.exports.default=kc1;xj.exports.callCount=(I)=>{if(!kj.has(I))throw new Error(`The given function \`${I.name}\` is not wrapped by the \`onetime\` package`);return kj.get(I)}});var cc1=Y((rL9,cj)=>{cj.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];if(process.platform!=="win32")cj.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");if(process.platform==="linux")cj.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var ac1=Y((aL9,VQ)=>{var G3=global.process,Kg=function(I){return I&&typeof I==="object"&&typeof I.removeListener==="function"&&typeof I.emit==="function"&&typeof I.reallyExit==="function"&&typeof I.listeners==="function"&&typeof I.kill==="function"&&typeof I.pid==="number"&&typeof I.on==="function"};if(!Kg(G3))VQ.exports=function(){return function(){}};else{if(pc1=B1("assert"),BQ=cc1(),ic1=/^win/i.test(G3.platform),hM=B1("events"),typeof hM!=="function")hM=hM.EventEmitter;if(G3.__signal_exit_emitter__)_8=G3.__signal_exit_emitter__;else _8=G3.__signal_exit_emitter__=new hM,_8.count=0,_8.emitted={};if(!_8.infinite)_8.setMaxListeners(1/0),_8.infinite=!0;VQ.exports=function(I,d){if(!Kg(global.process))return function(){};if(pc1.equal(typeof I,"function","a callback must be provided for exit handler"),AQ===!1)q91();var G="exit";if(d&&d.alwaysLast)G="afterexit";var Z=function(){if(_8.removeListener(G,I),_8.listeners("exit").length===0&&_8.listeners("afterexit").length===0)pj()};return _8.on(G,I),Z},pj=function I(){if(!AQ||!Kg(global.process))return;AQ=!1,BQ.forEach(function(d){try{G3.removeListener(d,ij[d])}catch(G){}}),G3.emit=nj,G3.reallyExit=R91,_8.count-=1},VQ.exports.unload=pj,Ng=function I(d,G,Z){if(_8.emitted[d])return;_8.emitted[d]=!0,_8.emit(d,G,Z)},ij={},BQ.forEach(function(I){ij[I]=function d(){if(!Kg(global.process))return;var G=G3.listeners(I);if(G.length===_8.count){if(pj(),Ng("exit",null,I),Ng("afterexit",null,I),ic1&&I==="SIGHUP")I="SIGINT";G3.kill(G3.pid,I)}}}),VQ.exports.signals=function(){return BQ},AQ=!1,q91=function I(){if(AQ||!Kg(global.process))return;AQ=!0,_8.count+=1,BQ=BQ.filter(function(d){try{return G3.on(d,ij[d]),!0}catch(G){return!1}}),G3.emit=rc1,G3.reallyExit=nc1},VQ.exports.load=q91,R91=G3.reallyExit,nc1=function I(d){if(!Kg(global.process))return;G3.exitCode=d||0,Ng("exit",G3.exitCode,null),Ng("afterexit",G3.exitCode,null),R91.call(G3,G3.exitCode)},nj=G3.emit,rc1=function I(d,G){if(d==="exit"&&Kg(global.process)){if(G!==void 0)G3.exitCode=G;var Z=nj.apply(this,arguments);return Ng("exit",G3.exitCode,null),Ng("afterexit",G3.exitCode,null),Z}else return nj.apply(this,arguments)}}var pc1,BQ,ic1,hM,_8,pj,Ng,ij,AQ,q91,R91,nc1,nj,rc1});var _p1=Y((Hy9,Yp1)=>{var LH4=/[|\\{}()[\]^$+*?.-]/g;Yp1.exports=(I)=>{if(typeof I!=="string")throw new TypeError("Expected a string");return I.replace(LH4,"\\$&")}});var gp1=Y((Fy9,Fp1)=>{var yH4=_p1(),PH4=typeof process==="object"&&process&&typeof process.cwd==="function"?process.cwd():".",Hp1=[].concat(B1("module").builtinModules,"bootstrap_node","node").map((I)=>new RegExp(`(?:\\((?:node:)?${I}(?:\\.js)?:\\d+:\\d+\\)$|^\\s*at (?:node:)?${I}(?:\\.js)?:\\d+:\\d+$)`));Hp1.push(/\((?:node:)?internal\/[^:]+:\d+:\d+\)$/,/\s*at (?:node:)?internal\/[^:]+:\d+:\d+$/,/\/\.node-spawn-wrap-\w+-\w+\/node:\d+:\d+\)?$/);class M91{constructor(I){if(I={ignoredPackages:[],...I},"internals"in I===!1)I.internals=M91.nodeInternals();if("cwd"in I===!1)I.cwd=PH4;this._cwd=I.cwd.replace(/\\/g,"/"),this._internals=[].concat(I.internals,$H4(I.ignoredPackages)),this._wrapCallSite=I.wrapCallSite||!1}static nodeInternals(){return[...Hp1]}clean(I,d=0){if(d=" ".repeat(d),!Array.isArray(I))I=I.split(`
`);if(!/^\s*at /.test(I[0])&&/^\s*at /.test(I[1]))I=I.slice(1);let G=!1,Z=null,C=[];return I.forEach((W)=>{if(W=W.replace(/\\/g,"/"),this._internals.some((B)=>B.test(W)))return;let w=/^\s*at /.test(W);if(G)W=W.trimEnd().replace(/^(\s+)at /,"$1");else if(W=W.trim(),w)W=W.slice(3);if(W=W.replace(`${this._cwd}/`,""),W)if(w){if(Z)C.push(Z),Z=null;C.push(W)}else G=!0,Z=W}),C.map((W)=>`${d}${W}
`).join("")}captureString(I,d=this.captureString){if(typeof I==="function")d=I,I=1/0;let{stackTraceLimit:G}=Error;if(I)Error.stackTraceLimit=I;let Z={};Error.captureStackTrace(Z,d);let{stack:C}=Z;return Error.stackTraceLimit=G,this.clean(C)}capture(I,d=this.capture){if(typeof I==="function")d=I,I=1/0;let{prepareStackTrace:G,stackTraceLimit:Z}=Error;if(Error.prepareStackTrace=(w,B)=>{if(this._wrapCallSite)return B.map(this._wrapCallSite);return B},I)Error.stackTraceLimit=I;let C={};Error.captureStackTrace(C,d);let{stack:W}=C;return Object.assign(Error,{prepareStackTrace:G,stackTraceLimit:Z}),W}at(I=this.at){let[d]=this.capture(1,I);if(!d)return{};let G={line:d.getLineNumber(),column:d.getColumnNumber()};if(Dp1(G,d.getFileName(),this._cwd),d.isConstructor())Object.defineProperty(G,"constructor",{value:!0,configurable:!0});if(d.isEval())G.evalOrigin=d.getEvalOrigin();if(d.isNative())G.native=!0;let Z;try{Z=d.getTypeName()}catch(w){}if(Z&&Z!=="Object"&&Z!=="[object Object]")G.type=Z;let C=d.getFunctionName();if(C)G.function=C;let W=d.getMethodName();if(W&&C!==W)G.method=W;return G}parseLine(I){let d=I&&I.match(uH4);if(!d)return null;let G=d[1]==="new",Z=d[2],C=d[3],W=d[4],w=Number(d[5]),B=Number(d[6]),A=d[7],V=d[8],X=d[9],_=d[10]==="native",F=d[11]===")",g,J={};if(V)J.line=Number(V);if(X)J.column=Number(X);if(F&&A){let K=0;for(let Q=A.length-1;Q>0;Q--)if(A.charAt(Q)===")")K++;else if(A.charAt(Q)==="("&&A.charAt(Q-1)===" "){if(K--,K===-1&&A.charAt(Q-1)===" "){let E=A.slice(0,Q-1);A=A.slice(Q+1),Z+=` (${E}`;break}}}if(Z){let K=Z.match(TH4);if(K)Z=K[1],g=K[2]}if(Dp1(J,A,this._cwd),G)Object.defineProperty(J,"constructor",{value:!0,configurable:!0});if(C)J.evalOrigin=C,J.evalLine=w,J.evalColumn=B,J.evalFile=W&&W.replace(/\\/g,"/");if(_)J.native=!0;if(Z)J.function=Z;if(g&&Z!==g)J.method=g;return J}}function Dp1(I,d,G){if(d){if(d=d.replace(/\\/g,"/"),d.startsWith(`${G}/`))d=d.slice(G.length+1);I.file=d}}function $H4(I){if(I.length===0)return[];let d=I.map((G)=>yH4(G));return new RegExp(`[/\\\\]node_modules[/\\\\](?:${d.join("|")})[/\\\\][^:]+:\\d+:\\d+`)}var uH4=new RegExp("^(?:\\s*at )?(?:(new) )?(?:(.*?) \\()?(?:eval at ([^ ]+) \\((.+?):(\\d+):(\\d+)\\), )?(?:(.+?):(\\d+):(\\d+)|(native))(\\)?)$"),TH4=/^(.*?) \[as (.*?)\]$/;Fp1.exports=M91});var Tp1=Y((aP9,up1)=>{var VF4=function I(d){return XF4(d)&&!YF4(d)};function XF4(I){return!!I&&typeof I==="object"}function YF4(I){var d=Object.prototype.toString.call(I);return d==="[object RegExp]"||d==="[object Date]"||HF4(I)}var _F4=typeof Symbol==="function"&&Symbol.for,DF4=_F4?Symbol.for("react.element"):60103;function HF4(I){return I.$$typeof===DF4}function FF4(I){return Array.isArray(I)?[]:{}}function jM(I,d){return d.clone!==!1&&d.isMergeableObject(I)?HQ(FF4(I),I,d):I}function gF4(I,d,G){return I.concat(d).map(function(Z){return jM(Z,G)})}function JF4(I,d){if(!d.customMerge)return HQ;var G=d.customMerge(I);return typeof G==="function"?G:HQ}function KF4(I){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(I).filter(function(d){return Object.propertyIsEnumerable.call(I,d)}):[]}function Pp1(I){return Object.keys(I).concat(KF4(I))}function $p1(I,d){try{return d in I}catch(G){return!1}}function NF4(I,d){return $p1(I,d)&&!(Object.hasOwnProperty.call(I,d)&&Object.propertyIsEnumerable.call(I,d))}function zF4(I,d,G){var Z={};if(G.isMergeableObject(I))Pp1(I).forEach(function(C){Z[C]=jM(I[C],G)});return Pp1(d).forEach(function(C){if(NF4(I,C))return;if($p1(I,C)&&G.isMergeableObject(d[C]))Z[C]=JF4(C,G)(I[C],d[C],G);else Z[C]=jM(d[C],G)}),Z}function HQ(I,d,G){G=G||{},G.arrayMerge=G.arrayMerge||gF4,G.isMergeableObject=G.isMergeableObject||VF4,G.cloneUnlessOtherwiseSpecified=jM;var Z=Array.isArray(d),C=Array.isArray(I),W=Z===C;if(!W)return jM(d,G);else if(Z)return G.arrayMerge(I,d,G);else return zF4(I,d,G)}HQ.all=function I(d,G){if(!Array.isArray(d))throw new Error("first argument should be an array");return d.reduce(function(Z,C){return HQ(Z,C,G)},{})};var QF4=HQ;up1.exports=QF4});var Fk=Y((X4,Fi1)=>{X4=Fi1.exports=u4;var c5;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG))c5=function(){var I=Array.prototype.slice.call(arguments,0);I.unshift("SEMVER"),console.log.apply(console,I)};else c5=function(){};X4.SEMVER_SPEC_VERSION="2.0.0";var nM=256,Yk=Number.MAX_SAFE_INTEGER||9007199254740991,b91=16,Jg4=nM-6,QQ=X4.re=[],x5=X4.safeRe=[],K0=X4.src=[],d0=X4.tokens={},Di1=0;function i4(I){d0[I]=Di1++}var j91="[a-zA-Z0-9-]",h91=[["\\s",1],["\\d",nM],[j91,Jg4]];function aM(I){for(var d=0;d<h91.length;d++){var G=h91[d][0],Z=h91[d][1];I=I.split(G+"*").join(G+"{0,"+Z+"}").split(G+"+").join(G+"{1,"+Z+"}")}return I}i4("NUMERICIDENTIFIER");K0[d0.NUMERICIDENTIFIER]="0|[1-9]\\d*";i4("NUMERICIDENTIFIERLOOSE");K0[d0.NUMERICIDENTIFIERLOOSE]="\\d+";i4("NONNUMERICIDENTIFIER");K0[d0.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+j91+"*";i4("MAINVERSION");K0[d0.MAINVERSION]="("+K0[d0.NUMERICIDENTIFIER]+")\\.("+K0[d0.NUMERICIDENTIFIER]+")\\.("+K0[d0.NUMERICIDENTIFIER]+")";i4("MAINVERSIONLOOSE");K0[d0.MAINVERSIONLOOSE]="("+K0[d0.NUMERICIDENTIFIERLOOSE]+")\\.("+K0[d0.NUMERICIDENTIFIERLOOSE]+")\\.("+K0[d0.NUMERICIDENTIFIERLOOSE]+")";i4("PRERELEASEIDENTIFIER");K0[d0.PRERELEASEIDENTIFIER]="(?:"+K0[d0.NUMERICIDENTIFIER]+"|"+K0[d0.NONNUMERICIDENTIFIER]+")";i4("PRERELEASEIDENTIFIERLOOSE");K0[d0.PRERELEASEIDENTIFIERLOOSE]="(?:"+K0[d0.NUMERICIDENTIFIERLOOSE]+"|"+K0[d0.NONNUMERICIDENTIFIER]+")";i4("PRERELEASE");K0[d0.PRERELEASE]="(?:-("+K0[d0.PRERELEASEIDENTIFIER]+"(?:\\."+K0[d0.PRERELEASEIDENTIFIER]+")*))";i4("PRERELEASELOOSE");K0[d0.PRERELEASELOOSE]="(?:-?("+K0[d0.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+K0[d0.PRERELEASEIDENTIFIERLOOSE]+")*))";i4("BUILDIDENTIFIER");K0[d0.BUILDIDENTIFIER]=j91+"+";i4("BUILD");K0[d0.BUILD]="(?:\\+("+K0[d0.BUILDIDENTIFIER]+"(?:\\."+K0[d0.BUILDIDENTIFIER]+")*))";i4("FULL");i4("FULLPLAIN");K0[d0.FULLPLAIN]="v?"+K0[d0.MAINVERSION]+K0[d0.PRERELEASE]+"?"+K0[d0.BUILD]+"?";K0[d0.FULL]="^"+K0[d0.FULLPLAIN]+"$";i4("LOOSEPLAIN");K0[d0.LOOSEPLAIN]="[v=\\s]*"+K0[d0.MAINVERSIONLOOSE]+K0[d0.PRERELEASELOOSE]+"?"+K0[d0.BUILD]+"?";i4("LOOSE");K0[d0.LOOSE]="^"+K0[d0.LOOSEPLAIN]+"$";i4("GTLT");K0[d0.GTLT]="((?:<|>)?=?)";i4("XRANGEIDENTIFIERLOOSE");K0[d0.XRANGEIDENTIFIERLOOSE]=K0[d0.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";i4("XRANGEIDENTIFIER");K0[d0.XRANGEIDENTIFIER]=K0[d0.NUMERICIDENTIFIER]+"|x|X|\\*";i4("XRANGEPLAIN");K0[d0.XRANGEPLAIN]="[v=\\s]*("+K0[d0.XRANGEIDENTIFIER]+")(?:\\.("+K0[d0.XRANGEIDENTIFIER]+")(?:\\.("+K0[d0.XRANGEIDENTIFIER]+")(?:"+K0[d0.PRERELEASE]+")?"+K0[d0.BUILD]+"?)?)?";i4("XRANGEPLAINLOOSE");K0[d0.XRANGEPLAINLOOSE]="[v=\\s]*("+K0[d0.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+K0[d0.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+K0[d0.XRANGEIDENTIFIERLOOSE]+")(?:"+K0[d0.PRERELEASELOOSE]+")?"+K0[d0.BUILD]+"?)?)?";i4("XRANGE");K0[d0.XRANGE]="^"+K0[d0.GTLT]+"\\s*"+K0[d0.XRANGEPLAIN]+"$";i4("XRANGELOOSE");K0[d0.XRANGELOOSE]="^"+K0[d0.GTLT]+"\\s*"+K0[d0.XRANGEPLAINLOOSE]+"$";i4("COERCE");K0[d0.COERCE]="(^|[^\\d])(\\d{1,"+b91+"})(?:\\.(\\d{1,"+b91+"}))?(?:\\.(\\d{1,"+b91+"}))?(?:$|[^\\d])";i4("COERCERTL");QQ[d0.COERCERTL]=new RegExp(K0[d0.COERCE],"g");x5[d0.COERCERTL]=new RegExp(aM(K0[d0.COERCE]),"g");i4("LONETILDE");K0[d0.LONETILDE]="(?:~>?)";i4("TILDETRIM");K0[d0.TILDETRIM]="(\\s*)"+K0[d0.LONETILDE]+"\\s+";QQ[d0.TILDETRIM]=new RegExp(K0[d0.TILDETRIM],"g");x5[d0.TILDETRIM]=new RegExp(aM(K0[d0.TILDETRIM]),"g");var Kg4="$1~";i4("TILDE");K0[d0.TILDE]="^"+K0[d0.LONETILDE]+K0[d0.XRANGEPLAIN]+"$";i4("TILDELOOSE");K0[d0.TILDELOOSE]="^"+K0[d0.LONETILDE]+K0[d0.XRANGEPLAINLOOSE]+"$";i4("LONECARET");K0[d0.LONECARET]="(?:\\^)";i4("CARETTRIM");K0[d0.CARETTRIM]="(\\s*)"+K0[d0.LONECARET]+"\\s+";QQ[d0.CARETTRIM]=new RegExp(K0[d0.CARETTRIM],"g");x5[d0.CARETTRIM]=new RegExp(aM(K0[d0.CARETTRIM]),"g");var Ng4="$1^";i4("CARET");K0[d0.CARET]="^"+K0[d0.LONECARET]+K0[d0.XRANGEPLAIN]+"$";i4("CARETLOOSE");K0[d0.CARETLOOSE]="^"+K0[d0.LONECARET]+K0[d0.XRANGEPLAINLOOSE]+"$";i4("COMPARATORLOOSE");K0[d0.COMPARATORLOOSE]="^"+K0[d0.GTLT]+"\\s*("+K0[d0.LOOSEPLAIN]+")$|^$";i4("COMPARATOR");K0[d0.COMPARATOR]="^"+K0[d0.GTLT]+"\\s*("+K0[d0.FULLPLAIN]+")$|^$";i4("COMPARATORTRIM");K0[d0.COMPARATORTRIM]="(\\s*)"+K0[d0.GTLT]+"\\s*("+K0[d0.LOOSEPLAIN]+"|"+K0[d0.XRANGEPLAIN]+")";QQ[d0.COMPARATORTRIM]=new RegExp(K0[d0.COMPARATORTRIM],"g");x5[d0.COMPARATORTRIM]=new RegExp(aM(K0[d0.COMPARATORTRIM]),"g");var zg4="$1$2$3";i4("HYPHENRANGE");K0[d0.HYPHENRANGE]="^\\s*("+K0[d0.XRANGEPLAIN]+")\\s+-\\s+("+K0[d0.XRANGEPLAIN]+")\\s*$";i4("HYPHENRANGELOOSE");K0[d0.HYPHENRANGELOOSE]="^\\s*("+K0[d0.XRANGEPLAINLOOSE]+")\\s+-\\s+("+K0[d0.XRANGEPLAINLOOSE]+")\\s*$";i4("STAR");K0[d0.STAR]="(<|>)?=?\\s*\\*";for(lw=0;lw<Di1;lw++)if(c5(lw,K0[lw]),!QQ[lw])QQ[lw]=new RegExp(K0[lw]),x5[lw]=new RegExp(aM(K0[lw]));var lw;X4.parse=Qg;function Qg(I,d){if(!d||typeof d!=="object")d={loose:!!d,includePrerelease:!1};if(I instanceof u4)return I;if(typeof I!=="string")return null;if(I.length>nM)return null;var G=d.loose?x5[d0.LOOSE]:x5[d0.FULL];if(!G.test(I))return null;try{return new u4(I,d)}catch(Z){return null}}X4.valid=Qg4;function Qg4(I,d){var G=Qg(I,d);return G?G.version:null}X4.clean=fg4;function fg4(I,d){var G=Qg(I.trim().replace(/^[=v]+/,""),d);return G?G.version:null}X4.SemVer=u4;function u4(I,d){if(!d||typeof d!=="object")d={loose:!!d,includePrerelease:!1};if(I instanceof u4)if(I.loose===d.loose)return I;else I=I.version;else if(typeof I!=="string")throw new TypeError("Invalid Version: "+I);if(I.length>nM)throw new TypeError("version is longer than "+nM+" characters");if(!(this instanceof u4))return new u4(I,d);c5("SemVer",I,d),this.options=d,this.loose=!!d.loose;var G=I.trim().match(d.loose?x5[d0.LOOSE]:x5[d0.FULL]);if(!G)throw new TypeError("Invalid Version: "+I);if(this.raw=I,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>Yk||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Yk||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Yk||this.patch<0)throw new TypeError("Invalid patch version");if(!G[4])this.prerelease=[];else this.prerelease=G[4].split(".").map(function(Z){if(/^[0-9]+$/.test(Z)){var C=+Z;if(C>=0&&C<Yk)return C}return Z});this.build=G[5]?G[5].split("."):[],this.format()}u4.prototype.format=function(){if(this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length)this.version+="-"+this.prerelease.join(".");return this.version};u4.prototype.toString=function(){return this.version};u4.prototype.compare=function(I){if(c5("SemVer.compare",this.version,this.options,I),!(I instanceof u4))I=new u4(I,this.options);return this.compareMain(I)||this.comparePre(I)};u4.prototype.compareMain=function(I){if(!(I instanceof u4))I=new u4(I,this.options);return zg(this.major,I.major)||zg(this.minor,I.minor)||zg(this.patch,I.patch)};u4.prototype.comparePre=function(I){if(!(I instanceof u4))I=new u4(I,this.options);if(this.prerelease.length&&!I.prerelease.length)return-1;else if(!this.prerelease.length&&I.prerelease.length)return 1;else if(!this.prerelease.length&&!I.prerelease.length)return 0;var d=0;do{var G=this.prerelease[d],Z=I.prerelease[d];if(c5("prerelease compare",d,G,Z),G===void 0&&Z===void 0)return 0;else if(Z===void 0)return 1;else if(G===void 0)return-1;else if(G===Z)continue;else return zg(G,Z)}while(++d)};u4.prototype.compareBuild=function(I){if(!(I instanceof u4))I=new u4(I,this.options);var d=0;do{var G=this.build[d],Z=I.build[d];if(c5("prerelease compare",d,G,Z),G===void 0&&Z===void 0)return 0;else if(Z===void 0)return 1;else if(G===void 0)return-1;else if(G===Z)continue;else return zg(G,Z)}while(++d)};u4.prototype.inc=function(I,d){switch(I){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",d);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",d);break;case"prepatch":this.prerelease.length=0,this.inc("patch",d),this.inc("pre",d);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",d);this.inc("pre",d);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{var G=this.prerelease.length;while(--G>=0)if(typeof this.prerelease[G]==="number")this.prerelease[G]++,G=-2;if(G===-1)this.prerelease.push(0)}if(d)if(this.prerelease[0]===d){if(isNaN(this.prerelease[1]))this.prerelease=[d,0]}else this.prerelease=[d,0];break;default:throw new Error("invalid increment argument: "+I)}return this.format(),this.raw=this.version,this};X4.inc=qg4;function qg4(I,d,G,Z){if(typeof G==="string")Z=G,G=void 0;try{return new u4(I,G).inc(d,Z).version}catch(C){return null}}X4.diff=Rg4;function Rg4(I,d){if(k91(I,d))return null;else{var G=Qg(I),Z=Qg(d),C="";if(G.prerelease.length||Z.prerelease.length){C="pre";var W="prerelease"}for(var w in G)if(w==="major"||w==="minor"||w==="patch"){if(G[w]!==Z[w])return C+w}return W}}X4.compareIdentifiers=zg;var Yi1=/^[0-9]+$/;function zg(I,d){var G=Yi1.test(I),Z=Yi1.test(d);if(G&&Z)I=+I,d=+d;return I===d?0:G&&!Z?-1:Z&&!G?1:I<d?-1:1}X4.rcompareIdentifiers=Ug4;function Ug4(I,d){return zg(d,I)}X4.major=vg4;function vg4(I,d){return new u4(I,d).major}X4.minor=Eg4;function Eg4(I,d){return new u4(I,d).minor}X4.patch=Mg4;function Mg4(I,d){return new u4(I,d).patch}X4.compare=GV;function GV(I,d,G){return new u4(I,G).compare(new u4(d,G))}X4.compareLoose=Sg4;function Sg4(I,d){return GV(I,d,!0)}X4.compareBuild=Lg4;function Lg4(I,d,G){var Z=new u4(I,G),C=new u4(d,G);return Z.compare(C)||Z.compareBuild(C)}X4.rcompare=yg4;function yg4(I,d,G){return GV(d,I,G)}X4.sort=Pg4;function Pg4(I,d){return I.sort(function(G,Z){return X4.compareBuild(G,Z,d)})}X4.rsort=$g4;function $g4(I,d){return I.sort(function(G,Z){return X4.compareBuild(Z,G,d)})}X4.gt=rM;function rM(I,d,G){return GV(I,d,G)>0}X4.lt=_k;function _k(I,d,G){return GV(I,d,G)<0}X4.eq=k91;function k91(I,d,G){return GV(I,d,G)===0}X4.neq=Hi1;function Hi1(I,d,G){return GV(I,d,G)!==0}X4.gte=x91;function x91(I,d,G){return GV(I,d,G)>=0}X4.lte=c91;function c91(I,d,G){return GV(I,d,G)<=0}X4.cmp=Dk;function Dk(I,d,G,Z){switch(d){case"===":if(typeof I==="object")I=I.version;if(typeof G==="object")G=G.version;return I===G;case"!==":if(typeof I==="object")I=I.version;if(typeof G==="object")G=G.version;return I!==G;case"":case"=":case"==":return k91(I,G,Z);case"!=":return Hi1(I,G,Z);case">":return rM(I,G,Z);case">=":return x91(I,G,Z);case"<":return _k(I,G,Z);case"<=":return c91(I,G,Z);default:throw new TypeError("Invalid operator: "+d)}}X4.Comparator=AZ;function AZ(I,d){if(!d||typeof d!=="object")d={loose:!!d,includePrerelease:!1};if(I instanceof AZ)if(I.loose===!!d.loose)return I;else I=I.value;if(!(this instanceof AZ))return new AZ(I,d);if(I=I.trim().split(/\s+/).join(" "),c5("comparator",I,d),this.options=d,this.loose=!!d.loose,this.parse(I),this.semver===fQ)this.value="";else this.value=this.operator+this.semver.version;c5("comp",this)}var fQ={};AZ.prototype.parse=function(I){var d=this.options.loose?x5[d0.COMPARATORLOOSE]:x5[d0.COMPARATOR],G=I.match(d);if(!G)throw new TypeError("Invalid comparator: "+I);if(this.operator=G[1]!==void 0?G[1]:"",this.operator==="=")this.operator="";if(!G[2])this.semver=fQ;else this.semver=new u4(G[2],this.options.loose)};AZ.prototype.toString=function(){return this.value};AZ.prototype.test=function(I){if(c5("Comparator.test",I,this.options.loose),this.semver===fQ||I===fQ)return!0;if(typeof I==="string")try{I=new u4(I,this.options)}catch(d){return!1}return Dk(I,this.operator,this.semver,this.options)};AZ.prototype.intersects=function(I,d){if(!(I instanceof AZ))throw new TypeError("a Comparator is required");if(!d||typeof d!=="object")d={loose:!!d,includePrerelease:!1};var G;if(this.operator===""){if(this.value==="")return!0;return G=new J3(I.value,d),Hk(this.value,G,d)}else if(I.operator===""){if(I.value==="")return!0;return G=new J3(this.value,d),Hk(I.semver,G,d)}var Z=(this.operator===">="||this.operator===">")&&(I.operator===">="||I.operator===">"),C=(this.operator==="<="||this.operator==="<")&&(I.operator==="<="||I.operator==="<"),W=this.semver.version===I.semver.version,w=(this.operator===">="||this.operator==="<=")&&(I.operator===">="||I.operator==="<="),B=Dk(this.semver,"<",I.semver,d)&&((this.operator===">="||this.operator===">")&&(I.operator==="<="||I.operator==="<")),A=Dk(this.semver,">",I.semver,d)&&((this.operator==="<="||this.operator==="<")&&(I.operator===">="||I.operator===">"));return Z||C||W&&w||B||A};X4.Range=J3;function J3(I,d){if(!d||typeof d!=="object")d={loose:!!d,includePrerelease:!1};if(I instanceof J3)if(I.loose===!!d.loose&&I.includePrerelease===!!d.includePrerelease)return I;else return new J3(I.raw,d);if(I instanceof AZ)return new J3(I.value,d);if(!(this instanceof J3))return new J3(I,d);if(this.options=d,this.loose=!!d.loose,this.includePrerelease=!!d.includePrerelease,this.raw=I.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(G){return this.parseRange(G.trim())},this).filter(function(G){return G.length}),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}J3.prototype.format=function(){return this.range=this.set.map(function(I){return I.join(" ").trim()}).join("||").trim(),this.range};J3.prototype.toString=function(){return this.range};J3.prototype.parseRange=function(I){var d=this.options.loose,G=d?x5[d0.HYPHENRANGELOOSE]:x5[d0.HYPHENRANGE];I=I.replace(G,xg4),c5("hyphen replace",I),I=I.replace(x5[d0.COMPARATORTRIM],zg4),c5("comparator trim",I,x5[d0.COMPARATORTRIM]),I=I.replace(x5[d0.TILDETRIM],Kg4),I=I.replace(x5[d0.CARETTRIM],Ng4),I=I.split(/\s+/).join(" ");var Z=d?x5[d0.COMPARATORLOOSE]:x5[d0.COMPARATOR],C=I.split(" ").map(function(W){return Tg4(W,this.options)},this).join(" ").split(/\s+/);if(this.options.loose)C=C.filter(function(W){return!!W.match(Z)});return C=C.map(function(W){return new AZ(W,this.options)},this),C};J3.prototype.intersects=function(I,d){if(!(I instanceof J3))throw new TypeError("a Range is required");return this.set.some(function(G){return _i1(G,d)&&I.set.some(function(Z){return _i1(Z,d)&&G.every(function(C){return Z.every(function(W){return C.intersects(W,d)})})})})};function _i1(I,d){var G=!0,Z=I.slice(),C=Z.pop();while(G&&Z.length)G=Z.every(function(W){return C.intersects(W,d)}),C=Z.pop();return G}X4.toComparators=ug4;function ug4(I,d){return new J3(I,d).set.map(function(G){return G.map(function(Z){return Z.value}).join(" ").trim().split(" ")})}function Tg4(I,d){return c5("comp",I,d),I=lg4(I,d),c5("caret",I),I=Og4(I,d),c5("tildes",I),I=hg4(I,d),c5("xrange",I),I=kg4(I,d),c5("stars",I),I}function GI(I){return!I||I.toLowerCase()==="x"||I==="*"}function Og4(I,d){return I.trim().split(/\s+/).map(function(G){return mg4(G,d)}).join(" ")}function mg4(I,d){var G=d.loose?x5[d0.TILDELOOSE]:x5[d0.TILDE];return I.replace(G,function(Z,C,W,w,B){c5("tilde",I,Z,C,W,w,B);var A;if(GI(C))A="";else if(GI(W))A=">="+C+".0.0 <"+(+C+1)+".0.0";else if(GI(w))A=">="+C+"."+W+".0 <"+C+"."+(+W+1)+".0";else if(B)c5("replaceTilde pr",B),A=">="+C+"."+W+"."+w+"-"+B+" <"+C+"."+(+W+1)+".0";else A=">="+C+"."+W+"."+w+" <"+C+"."+(+W+1)+".0";return c5("tilde return",A),A})}function lg4(I,d){return I.trim().split(/\s+/).map(function(G){return bg4(G,d)}).join(" ")}function bg4(I,d){c5("caret",I,d);var G=d.loose?x5[d0.CARETLOOSE]:x5[d0.CARET];return I.replace(G,function(Z,C,W,w,B){c5("caret",I,Z,C,W,w,B);var A;if(GI(C))A="";else if(GI(W))A=">="+C+".0.0 <"+(+C+1)+".0.0";else if(GI(w))if(C==="0")A=">="+C+"."+W+".0 <"+C+"."+(+W+1)+".0";else A=">="+C+"."+W+".0 <"+(+C+1)+".0.0";else if(B)if(c5("replaceCaret pr",B),C==="0")if(W==="0")A=">="+C+"."+W+"."+w+"-"+B+" <"+C+"."+W+"."+(+w+1);else A=">="+C+"."+W+"."+w+"-"+B+" <"+C+"."+(+W+1)+".0";else A=">="+C+"."+W+"."+w+"-"+B+" <"+(+C+1)+".0.0";else if(c5("no pr"),C==="0")if(W==="0")A=">="+C+"."+W+"."+w+" <"+C+"."+W+"."+(+w+1);else A=">="+C+"."+W+"."+w+" <"+C+"."+(+W+1)+".0";else A=">="+C+"."+W+"."+w+" <"+(+C+1)+".0.0";return c5("caret return",A),A})}function hg4(I,d){return c5("replaceXRanges",I,d),I.split(/\s+/).map(function(G){return jg4(G,d)}).join(" ")}function jg4(I,d){I=I.trim();var G=d.loose?x5[d0.XRANGELOOSE]:x5[d0.XRANGE];return I.replace(G,function(Z,C,W,w,B,A){c5("xRange",I,Z,C,W,w,B,A);var V=GI(W),X=V||GI(w),_=X||GI(B),F=_;if(C==="="&&F)C="";if(A=d.includePrerelease?"-0":"",V)if(C===">"||C==="<")Z="<0.0.0-0";else Z="*";else if(C&&F){if(X)w=0;if(B=0,C===">")if(C=">=",X)W=+W+1,w=0,B=0;else w=+w+1,B=0;else if(C==="<=")if(C="<",X)W=+W+1;else w=+w+1;Z=C+W+"."+w+"."+B+A}else if(X)Z=">="+W+".0.0"+A+" <"+(+W+1)+".0.0"+A;else if(_)Z=">="+W+"."+w+".0"+A+" <"+W+"."+(+w+1)+".0"+A;return c5("xRange return",Z),Z})}function kg4(I,d){return c5("replaceStars",I,d),I.trim().replace(x5[d0.STAR],"")}function xg4(I,d,G,Z,C,W,w,B,A,V,X,_,F){if(GI(G))d="";else if(GI(Z))d=">="+G+".0.0";else if(GI(C))d=">="+G+"."+Z+".0";else d=">="+d;if(GI(A))B="";else if(GI(V))B="<"+(+A+1)+".0.0";else if(GI(X))B="<"+A+"."+(+V+1)+".0";else if(_)B="<="+A+"."+V+"."+X+"-"+_;else B="<="+B;return(d+" "+B).trim()}J3.prototype.test=function(I){if(!I)return!1;if(typeof I==="string")try{I=new u4(I,this.options)}catch(G){return!1}for(var d=0;d<this.set.length;d++)if(cg4(this.set[d],I,this.options))return!0;return!1};function cg4(I,d,G){for(var Z=0;Z<I.length;Z++)if(!I[Z].test(d))return!1;if(d.prerelease.length&&!G.includePrerelease){for(Z=0;Z<I.length;Z++){if(c5(I[Z].semver),I[Z].semver===fQ)continue;if(I[Z].semver.prerelease.length>0){var C=I[Z].semver;if(C.major===d.major&&C.minor===d.minor&&C.patch===d.patch)return!0}}return!1}return!0}X4.satisfies=Hk;function Hk(I,d,G){try{d=new J3(d,G)}catch(Z){return!1}return d.test(I)}X4.maxSatisfying=pg4;function pg4(I,d,G){var Z=null,C=null;try{var W=new J3(d,G)}catch(w){return null}return I.forEach(function(w){if(W.test(w)){if(!Z||C.compare(w)===-1)Z=w,C=new u4(Z,G)}}),Z}X4.minSatisfying=ig4;function ig4(I,d,G){var Z=null,C=null;try{var W=new J3(d,G)}catch(w){return null}return I.forEach(function(w){if(W.test(w)){if(!Z||C.compare(w)===1)Z=w,C=new u4(Z,G)}}),Z}X4.minVersion=ng4;function ng4(I,d){I=new J3(I,d);var G=new u4("0.0.0");if(I.test(G))return G;if(G=new u4("0.0.0-0"),I.test(G))return G;G=null;for(var Z=0;Z<I.set.length;++Z){var C=I.set[Z];C.forEach(function(W){var w=new u4(W.semver.version);switch(W.operator){case">":if(w.prerelease.length===0)w.patch++;else w.prerelease.push(0);w.raw=w.format();case"":case">=":if(!G||rM(G,w))G=w;break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+W.operator)}})}if(G&&I.test(G))return G;return null}X4.validRange=rg4;function rg4(I,d){try{return new J3(I,d).range||"*"}catch(G){return null}}X4.ltr=ag4;function ag4(I,d,G){return p91(I,d,"<",G)}X4.gtr=sg4;function sg4(I,d,G){return p91(I,d,">",G)}X4.outside=p91;function p91(I,d,G,Z){I=new u4(I,Z),d=new J3(d,Z);var C,W,w,B,A;switch(G){case">":C=rM,W=c91,w=_k,B=">",A=">=";break;case"<":C=_k,W=x91,w=rM,B="<",A="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Hk(I,d,Z))return!1;for(var V=0;V<d.set.length;++V){var X=d.set[V],_=null,F=null;if(X.forEach(function(g){if(g.semver===fQ)g=new AZ(">=0.0.0");if(_=_||g,F=F||g,C(g.semver,_.semver,Z))_=g;else if(w(g.semver,F.semver,Z))F=g}),_.operator===B||_.operator===A)return!1;if((!F.operator||F.operator===B)&&W(I,F.semver))return!1;else if(F.operator===A&&w(I,F.semver))return!1}return!0}X4.prerelease=og4;function og4(I,d){var G=Qg(I,d);return G&&G.prerelease.length?G.prerelease:null}X4.intersects=eg4;function eg4(I,d,G){return I=new J3(I,G),d=new J3(d,G),I.intersects(d)}X4.coerce=tg4;function tg4(I,d){if(I instanceof u4)return I;if(typeof I==="number")I=String(I);if(typeof I!=="string")return null;d=d||{};var G=null;if(!d.rtl)G=I.match(x5[d0.COERCE]);else{var Z;while((Z=x5[d0.COERCERTL].exec(I))&&(!G||G.index+G[0].length!==I.length)){if(!G||Z.index+Z[0].length!==G.index+G[0].length)G=Z;x5[d0.COERCERTL].lastIndex=Z.index+Z[1].length+Z[2].length}x5[d0.COERCERTL].lastIndex=-1}if(G===null)return null;return Qg(G[2]+"."+(G[3]||"0")+"."+(G[4]||"0"),d)}});var zi1=Y((cO9,Ni1)=>{Ni1.exports=Ji1;function Ji1(I,d,G){if(I instanceof RegExp)I=gi1(I,G);if(d instanceof RegExp)d=gi1(d,G);var Z=Ki1(I,d,G);return Z&&{start:Z[0],end:Z[1],pre:G.slice(0,Z[0]),body:G.slice(Z[0]+I.length,Z[1]),post:G.slice(Z[1]+d.length)}}function gi1(I,d){var G=d.match(I);return G?G[0]:null}Ji1.range=Ki1;function Ki1(I,d,G){var Z,C,W,w,B,A=G.indexOf(I),V=G.indexOf(d,A+1),X=A;if(A>=0&&V>0){if(I===d)return[A,V];Z=[],W=G.length;while(X>=0&&!B){if(X==A)Z.push(X),A=G.indexOf(I,X+1);else if(Z.length==1)B=[Z.pop(),V];else{if(C=Z.pop(),C<W)W=C,w=V;V=G.indexOf(d,X+1)}X=A<V&&A>=0?A:V}if(Z.length)B=[W,w]}return B}});var Mi1=Y((pO9,Ei1)=>{var Qi1=zi1();Ei1.exports=GJ4;var fi1="\x00SLASH"+Math.random()+"\x00",qi1="\x00OPEN"+Math.random()+"\x00",n91="\x00CLOSE"+Math.random()+"\x00",Ri1="\x00COMMA"+Math.random()+"\x00",Ui1="\x00PERIOD"+Math.random()+"\x00";function i91(I){return parseInt(I,10)==I?parseInt(I,10):I.charCodeAt(0)}function IJ4(I){return I.split("\\\\").join(fi1).split("\\{").join(qi1).split("\\}").join(n91).split("\\,").join(Ri1).split("\\.").join(Ui1)}function dJ4(I){return I.split(fi1).join("\\").split(qi1).join("{").split(n91).join("}").split(Ri1).join(",").split(Ui1).join(".")}function vi1(I){if(!I)return[""];var d=[],G=Qi1("{","}",I);if(!G)return I.split(",");var{pre:Z,body:C,post:W}=G,w=Z.split(",");w[w.length-1]+="{"+C+"}";var B=vi1(W);if(W.length)w[w.length-1]+=B.shift(),w.push.apply(w,B);return d.push.apply(d,w),d}function GJ4(I){if(!I)return[];if(I.substr(0,2)==="{}")I="\\{\\}"+I.substr(2);return sM(IJ4(I),!0).map(dJ4)}function ZJ4(I){return"{"+I+"}"}function CJ4(I){return/^-?0\d/.test(I)}function WJ4(I,d){return I<=d}function wJ4(I,d){return I>=d}function sM(I,d){var G=[],Z=Qi1("{","}",I);if(!Z)return[I];var C=Z.pre,W=Z.post.length?sM(Z.post,!1):[""];if(/\$$/.test(Z.pre))for(var w=0;w<W.length;w++){var B=C+"{"+Z.body+"}"+W[w];G.push(B)}else{var A=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(Z.body),V=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(Z.body),X=A||V,_=Z.body.indexOf(",")>=0;if(!X&&!_){if(Z.post.match(/,.*\}/))return I=Z.pre+"{"+Z.body+n91+Z.post,sM(I);return[I]}var F;if(X)F=Z.body.split(/\.\./);else if(F=vi1(Z.body),F.length===1){if(F=sM(F[0],!1).map(ZJ4),F.length===1)return W.map(function(c1){return Z.pre+F[0]+c1})}var g;if(X){var J=i91(F[0]),K=i91(F[1]),Q=Math.max(F[0].length,F[1].length),E=F.length==3?Math.abs(i91(F[2])):1,S=WJ4,P=K<J;if(P)E*=-1,S=wJ4;var $=F.some(CJ4);g=[];for(var h=J;S(h,K);h+=E){var O;if(V){if(O=String.fromCharCode(h),O==="\\")O=""}else if(O=String(h),$){var T=Q-O.length;if(T>0){var V1=new Array(T+1).join("0");if(h<0)O="-"+V1+O.slice(1);else O=V1+O}}g.push(O)}}else{g=[];for(var c=0;c<F.length;c++)g.push.apply(g,sM(F[c],!1))}for(var c=0;c<g.length;c++)for(var w=0;w<W.length;w++){var B=C+g[c]+W[w];if(!d||X||B)G.push(B)}}return G}});var d9=Y((Jn1)=>{Object.defineProperty(Jn1,"__esModule",{value:!0});Jn1.isFunction=void 0;function EK4(I){return typeof I==="function"}Jn1.isFunction=EK4});var rY=Y((Nn1)=>{Object.defineProperty(Nn1,"__esModule",{value:!0});Nn1.createErrorClass=void 0;function MK4(I){var d=function(Z){Error.call(Z),Z.stack=new Error().stack},G=I(d);return G.prototype=Object.create(Error.prototype),G.prototype.constructor=G,G}Nn1.createErrorClass=MK4});var Y31=Y((Qn1)=>{Object.defineProperty(Qn1,"__esModule",{value:!0});Qn1.UnsubscriptionError=void 0;var SK4=rY();Qn1.UnsubscriptionError=SK4.createErrorClass(function(I){return function d(G){I(this),this.message=G?G.length+` errors occurred during unsubscription:
`+G.map(function(Z,C){return C+1+") "+Z.toString()}).join(`
  `):"",this.name="UnsubscriptionError",this.errors=G}})});var wV=Y((qn1)=>{Object.defineProperty(qn1,"__esModule",{value:!0});qn1.arrRemove=void 0;function LK4(I,d){if(I){var G=I.indexOf(d);0<=G&&I.splice(G,1)}}qn1.arrRemove=LK4});var od=Y((eI)=>{var Un1=eI&&eI.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")},vn1=eI&&eI.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},En1=eI&&eI.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(eI,"__esModule",{value:!0});eI.isSubscription=eI.EMPTY_SUBSCRIPTION=eI.Subscription=void 0;var _S=d9(),_31=Y31(),Mn1=wV(),D31=function(){function I(d){this.initialTeardown=d,this.closed=!1,this._parentage=null,this._finalizers=null}return I.prototype.unsubscribe=function(){var d,G,Z,C,W;if(!this.closed){this.closed=!0;var w=this._parentage;if(w)if(this._parentage=null,Array.isArray(w))try{for(var B=Un1(w),A=B.next();!A.done;A=B.next()){var V=A.value;V.remove(this)}}catch(K){d={error:K}}finally{try{if(A&&!A.done&&(G=B.return))G.call(B)}finally{if(d)throw d.error}}else w.remove(this);var X=this.initialTeardown;if(_S.isFunction(X))try{X()}catch(K){W=K instanceof _31.UnsubscriptionError?K.errors:[K]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var F=Un1(_),g=F.next();!g.done;g=F.next()){var J=g.value;try{Sn1(J)}catch(K){if(W=W!==null&&W!==void 0?W:[],K instanceof _31.UnsubscriptionError)W=En1(En1([],vn1(W)),vn1(K.errors));else W.push(K)}}}catch(K){Z={error:K}}finally{try{if(g&&!g.done&&(C=F.return))C.call(F)}finally{if(Z)throw Z.error}}}if(W)throw new _31.UnsubscriptionError(W)}},I.prototype.add=function(d){var G;if(d&&d!==this)if(this.closed)Sn1(d);else{if(d instanceof I){if(d.closed||d._hasParent(this))return;d._addParent(this)}(this._finalizers=(G=this._finalizers)!==null&&G!==void 0?G:[]).push(d)}},I.prototype._hasParent=function(d){var G=this._parentage;return G===d||Array.isArray(G)&&G.includes(d)},I.prototype._addParent=function(d){var G=this._parentage;this._parentage=Array.isArray(G)?(G.push(d),G):G?[G,d]:d},I.prototype._removeParent=function(d){var G=this._parentage;if(G===d)this._parentage=null;else if(Array.isArray(G))Mn1.arrRemove(G,d)},I.prototype.remove=function(d){var G=this._finalizers;if(G&&Mn1.arrRemove(G,d),d instanceof I)d._removeParent(this)},I.EMPTY=function(){var d=new I;return d.closed=!0,d}(),I}();eI.Subscription=D31;eI.EMPTY_SUBSCRIPTION=D31.EMPTY;function yK4(I){return I instanceof D31||I&&"closed"in I&&_S.isFunction(I.remove)&&_S.isFunction(I.add)&&_S.isFunction(I.unsubscribe)}eI.isSubscription=yK4;function Sn1(I){if(_S.isFunction(I))I();else I.unsubscribe()}});var SQ=Y((Ln1)=>{Object.defineProperty(Ln1,"__esModule",{value:!0});Ln1.config=void 0;Ln1.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}});var H31=Y((kw)=>{var Pn1=kw&&kw.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},$n1=kw&&kw.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(kw,"__esModule",{value:!0});kw.timeoutProvider=void 0;kw.timeoutProvider={setTimeout:function(I,d){var G=[];for(var Z=2;Z<arguments.length;Z++)G[Z-2]=arguments[Z];var C=kw.timeoutProvider.delegate;if(C===null||C===void 0?void 0:C.setTimeout)return C.setTimeout.apply(C,$n1([I,d],Pn1(G)));return setTimeout.apply(void 0,$n1([I,d],Pn1(G)))},clearTimeout:function(I){var d=kw.timeoutProvider.delegate;return((d===null||d===void 0?void 0:d.clearTimeout)||clearTimeout)(I)},delegate:void 0}});var F31=Y((un1)=>{Object.defineProperty(un1,"__esModule",{value:!0});un1.reportUnhandledError=void 0;var PK4=SQ(),$K4=H31();function uK4(I){$K4.timeoutProvider.setTimeout(function(){var d=PK4.config.onUnhandledError;if(d)d(I);else throw I})}un1.reportUnhandledError=uK4});var k8=Y((On1)=>{Object.defineProperty(On1,"__esModule",{value:!0});On1.noop=void 0;function TK4(){}On1.noop=TK4});var hn1=Y((ln1)=>{Object.defineProperty(ln1,"__esModule",{value:!0});ln1.createNotification=ln1.nextNotification=ln1.errorNotification=ln1.COMPLETE_NOTIFICATION=void 0;ln1.COMPLETE_NOTIFICATION=function(){return uk("C",void 0,void 0)}();function OK4(I){return uk("E",void 0,I)}ln1.errorNotification=OK4;function mK4(I){return uk("N",I,void 0)}ln1.nextNotification=mK4;function uk(I,d,G){return{kind:I,value:d,error:G}}ln1.createNotification=uk});var Tk=Y((kn1)=>{Object.defineProperty(kn1,"__esModule",{value:!0});kn1.captureError=kn1.errorContext=void 0;var jn1=SQ(),Ug=null;function jK4(I){if(jn1.config.useDeprecatedSynchronousErrorHandling){var d=!Ug;if(d)Ug={errorThrown:!1,error:null};if(I(),d){var G=Ug,Z=G.errorThrown,C=G.error;if(Ug=null,Z)throw C}}else I()}kn1.errorContext=jK4;function kK4(I){if(jn1.config.useDeprecatedSynchronousErrorHandling&&Ug)Ug.errorThrown=!0,Ug.error=I}kn1.captureError=kK4});var LQ=Y((uC)=>{var in1=uC&&uC.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(uC,"__esModule",{value:!0});uC.EMPTY_OBSERVER=uC.SafeSubscriber=uC.Subscriber=void 0;var cK4=d9(),cn1=od(),N31=SQ(),pK4=F31(),pn1=k8(),g31=hn1(),iK4=H31(),nK4=Tk(),nn1=function(I){in1(d,I);function d(G){var Z=I.call(this)||this;if(Z.isStopped=!1,G){if(Z.destination=G,cn1.isSubscription(G))G.add(Z)}else Z.destination=uC.EMPTY_OBSERVER;return Z}return d.create=function(G,Z,C){return new rn1(G,Z,C)},d.prototype.next=function(G){if(this.isStopped)K31(g31.nextNotification(G),this);else this._next(G)},d.prototype.error=function(G){if(this.isStopped)K31(g31.errorNotification(G),this);else this.isStopped=!0,this._error(G)},d.prototype.complete=function(){if(this.isStopped)K31(g31.COMPLETE_NOTIFICATION,this);else this.isStopped=!0,this._complete()},d.prototype.unsubscribe=function(){if(!this.closed)this.isStopped=!0,I.prototype.unsubscribe.call(this),this.destination=null},d.prototype._next=function(G){this.destination.next(G)},d.prototype._error=function(G){try{this.destination.error(G)}finally{this.unsubscribe()}},d.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},d}(cn1.Subscription);uC.Subscriber=nn1;var rK4=Function.prototype.bind;function J31(I,d){return rK4.call(I,d)}var aK4=function(){function I(d){this.partialObserver=d}return I.prototype.next=function(d){var G=this.partialObserver;if(G.next)try{G.next(d)}catch(Z){Ok(Z)}},I.prototype.error=function(d){var G=this.partialObserver;if(G.error)try{G.error(d)}catch(Z){Ok(Z)}else Ok(d)},I.prototype.complete=function(){var d=this.partialObserver;if(d.complete)try{d.complete()}catch(G){Ok(G)}},I}(),rn1=function(I){in1(d,I);function d(G,Z,C){var W=I.call(this)||this,w;if(cK4.isFunction(G)||!G)w={next:G!==null&&G!==void 0?G:void 0,error:Z!==null&&Z!==void 0?Z:void 0,complete:C!==null&&C!==void 0?C:void 0};else{var B;if(W&&N31.config.useDeprecatedNextContext)B=Object.create(G),B.unsubscribe=function(){return W.unsubscribe()},w={next:G.next&&J31(G.next,B),error:G.error&&J31(G.error,B),complete:G.complete&&J31(G.complete,B)};else w=G}return W.destination=new aK4(w),W}return d}(nn1);uC.SafeSubscriber=rn1;function Ok(I){if(N31.config.useDeprecatedSynchronousErrorHandling)nK4.captureError(I);else pK4.reportUnhandledError(I)}function sK4(I){throw I}function K31(I,d){var G=N31.config.onStoppedNotification;G&&iK4.timeoutProvider.setTimeout(function(){return G(I,d)})}uC.EMPTY_OBSERVER={closed:!0,next:pn1.noop,error:sK4,complete:pn1.noop}});var DS=Y((an1)=>{Object.defineProperty(an1,"__esModule",{value:!0});an1.observable=void 0;an1.observable=function(){return typeof Symbol==="function"&&Symbol.observable||"@@observable"}()});var x8=Y((on1)=>{Object.defineProperty(on1,"__esModule",{value:!0});on1.identity=void 0;function oK4(I){return I}on1.identity=oK4});var HS=Y((Ir1)=>{Object.defineProperty(Ir1,"__esModule",{value:!0});Ir1.pipeFromArray=Ir1.pipe=void 0;var eK4=x8();function tK4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return tn1(I)}Ir1.pipe=tK4;function tn1(I){if(I.length===0)return eK4.identity;if(I.length===1)return I[0];return function d(G){return I.reduce(function(Z,C){return C(Z)},G)}}Ir1.pipeFromArray=tn1});var B9=Y((Zr1)=>{Object.defineProperty(Zr1,"__esModule",{value:!0});Zr1.Observable=void 0;var Q31=LQ(),dN4=od(),GN4=DS(),ZN4=HS(),CN4=SQ(),z31=d9(),WN4=Tk(),wN4=function(){function I(d){if(d)this._subscribe=d}return I.prototype.lift=function(d){var G=new I;return G.source=this,G.operator=d,G},I.prototype.subscribe=function(d,G,Z){var C=this,W=AN4(d)?d:new Q31.SafeSubscriber(d,G,Z);return WN4.errorContext(function(){var w=C,B=w.operator,A=w.source;W.add(B?B.call(W,A):A?C._subscribe(W):C._trySubscribe(W))}),W},I.prototype._trySubscribe=function(d){try{return this._subscribe(d)}catch(G){d.error(G)}},I.prototype.forEach=function(d,G){var Z=this;return G=Gr1(G),new G(function(C,W){var w=new Q31.SafeSubscriber({next:function(B){try{d(B)}catch(A){W(A),w.unsubscribe()}},error:W,complete:C});Z.subscribe(w)})},I.prototype._subscribe=function(d){var G;return(G=this.source)===null||G===void 0?void 0:G.subscribe(d)},I.prototype[GN4.observable]=function(){return this},I.prototype.pipe=function(){var d=[];for(var G=0;G<arguments.length;G++)d[G]=arguments[G];return ZN4.pipeFromArray(d)(this)},I.prototype.toPromise=function(d){var G=this;return d=Gr1(d),new d(function(Z,C){var W;G.subscribe(function(w){return W=w},function(w){return C(w)},function(){return Z(W)})})},I.create=function(d){return new I(d)},I}();Zr1.Observable=wN4;function Gr1(I){var d;return(d=I!==null&&I!==void 0?I:CN4.config.Promise)!==null&&d!==void 0?d:Promise}function BN4(I){return I&&z31.isFunction(I.next)&&z31.isFunction(I.error)&&z31.isFunction(I.complete)}function AN4(I){return I&&I instanceof Q31.Subscriber||BN4(I)&&dN4.isSubscription(I)}});var X2=Y((wr1)=>{Object.defineProperty(wr1,"__esModule",{value:!0});wr1.operate=wr1.hasLift=void 0;var VN4=d9();function Wr1(I){return VN4.isFunction(I===null||I===void 0?void 0:I.lift)}wr1.hasLift=Wr1;function XN4(I){return function(d){if(Wr1(d))return d.lift(function(G){try{return I(G,this)}catch(Z){this.error(Z)}});throw new TypeError("Unable to lift unknown Observable type")}}wr1.operate=XN4});var E2=Y((aY)=>{var _N4=aY&&aY.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(aY,"__esModule",{value:!0});aY.OperatorSubscriber=aY.createOperatorSubscriber=void 0;var DN4=LQ();function HN4(I,d,G,Z,C){return new Ar1(I,d,G,Z,C)}aY.createOperatorSubscriber=HN4;var Ar1=function(I){_N4(d,I);function d(G,Z,C,W,w,B){var A=I.call(this,G)||this;return A.onFinalize=w,A.shouldUnsubscribe=B,A._next=Z?function(V){try{Z(V)}catch(X){G.error(X)}}:I.prototype._next,A._error=W?function(V){try{W(V)}catch(X){G.error(X)}finally{this.unsubscribe()}}:I.prototype._error,A._complete=C?function(){try{C()}catch(V){G.error(V)}finally{this.unsubscribe()}}:I.prototype._complete,A}return d.prototype.unsubscribe=function(){var G;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var Z=this.closed;I.prototype.unsubscribe.call(this),!Z&&((G=this.onFinalize)===null||G===void 0||G.call(this))}},d}(DN4.Subscriber);aY.OperatorSubscriber=Ar1});var mk=Y((Vr1)=>{Object.defineProperty(Vr1,"__esModule",{value:!0});Vr1.refCount=void 0;var FN4=X2(),gN4=E2();function JN4(){return FN4.operate(function(I,d){var G=null;I._refCount++;var Z=gN4.createOperatorSubscriber(d,void 0,void 0,void 0,function(){if(!I||I._refCount<=0||0<--I._refCount){G=null;return}var C=I._connection,W=G;if(G=null,C&&(!W||C===W))C.unsubscribe();d.unsubscribe()});if(I.subscribe(Z),!Z.closed)G=I.connect()})}Vr1.refCount=JN4});var FS=Y((yQ)=>{var KN4=yQ&&yQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(yQ,"__esModule",{value:!0});yQ.ConnectableObservable=void 0;var NN4=B9(),Yr1=od(),zN4=mk(),QN4=E2(),fN4=X2(),qN4=function(I){KN4(d,I);function d(G,Z){var C=I.call(this)||this;if(C.source=G,C.subjectFactory=Z,C._subject=null,C._refCount=0,C._connection=null,fN4.hasLift(G))C.lift=G.lift;return C}return d.prototype._subscribe=function(G){return this.getSubject().subscribe(G)},d.prototype.getSubject=function(){var G=this._subject;if(!G||G.isStopped)this._subject=this.subjectFactory();return this._subject},d.prototype._teardown=function(){this._refCount=0;var G=this._connection;this._subject=this._connection=null,G===null||G===void 0||G.unsubscribe()},d.prototype.connect=function(){var G=this,Z=this._connection;if(!Z){Z=this._connection=new Yr1.Subscription;var C=this.getSubject();if(Z.add(this.source.subscribe(QN4.createOperatorSubscriber(C,void 0,function(){G._teardown(),C.complete()},function(W){G._teardown(),C.error(W)},function(){return G._teardown()}))),Z.closed)this._connection=null,Z=Yr1.Subscription.EMPTY}return Z},d.prototype.refCount=function(){return zN4.refCount()(this)},d}(NN4.Observable);yQ.ConnectableObservable=qN4});var Dr1=Y((_r1)=>{Object.defineProperty(_r1,"__esModule",{value:!0});_r1.performanceTimestampProvider=void 0;_r1.performanceTimestampProvider={now:function(){return(_r1.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}});var q31=Y((TC)=>{var Hr1=TC&&TC.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},Fr1=TC&&TC.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(TC,"__esModule",{value:!0});TC.animationFrameProvider=void 0;var RN4=od();TC.animationFrameProvider={schedule:function(I){var d=requestAnimationFrame,G=cancelAnimationFrame,Z=TC.animationFrameProvider.delegate;if(Z)d=Z.requestAnimationFrame,G=Z.cancelAnimationFrame;var C=d(function(W){G=void 0,I(W)});return new RN4.Subscription(function(){return G===null||G===void 0?void 0:G(C)})},requestAnimationFrame:function(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=TC.animationFrameProvider.delegate;return((G===null||G===void 0?void 0:G.requestAnimationFrame)||requestAnimationFrame).apply(void 0,Fr1([],Hr1(I)))},cancelAnimationFrame:function(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=TC.animationFrameProvider.delegate;return((G===null||G===void 0?void 0:G.cancelAnimationFrame)||cancelAnimationFrame).apply(void 0,Fr1([],Hr1(I)))},delegate:void 0}});var zr1=Y((Kr1)=>{Object.defineProperty(Kr1,"__esModule",{value:!0});Kr1.animationFrames=void 0;var UN4=B9(),vN4=Dr1(),gr1=q31();function EN4(I){return I?Jr1(I):MN4}Kr1.animationFrames=EN4;function Jr1(I){return new UN4.Observable(function(d){var G=I||vN4.performanceTimestampProvider,Z=G.now(),C=0,W=function(){if(!d.closed)C=gr1.animationFrameProvider.requestAnimationFrame(function(w){C=0;var B=G.now();d.next({timestamp:I?B:w,elapsed:B-Z}),W()})};return W(),function(){if(C)gr1.animationFrameProvider.cancelAnimationFrame(C)}})}var MN4=Jr1()});var R31=Y((Qr1)=>{Object.defineProperty(Qr1,"__esModule",{value:!0});Qr1.ObjectUnsubscribedError=void 0;var SN4=rY();Qr1.ObjectUnsubscribedError=SN4.createErrorClass(function(I){return function d(){I(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})});var c8=Y((xw)=>{var Rr1=xw&&xw.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}(),LN4=xw&&xw.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(xw,"__esModule",{value:!0});xw.AnonymousSubject=xw.Subject=void 0;var qr1=B9(),v31=od(),yN4=R31(),PN4=wV(),U31=Tk(),Ur1=function(I){Rr1(d,I);function d(){var G=I.call(this)||this;return G.closed=!1,G.currentObservers=null,G.observers=[],G.isStopped=!1,G.hasError=!1,G.thrownError=null,G}return d.prototype.lift=function(G){var Z=new E31(this,this);return Z.operator=G,Z},d.prototype._throwIfClosed=function(){if(this.closed)throw new yN4.ObjectUnsubscribedError},d.prototype.next=function(G){var Z=this;U31.errorContext(function(){var C,W;if(Z._throwIfClosed(),!Z.isStopped){if(!Z.currentObservers)Z.currentObservers=Array.from(Z.observers);try{for(var w=LN4(Z.currentObservers),B=w.next();!B.done;B=w.next()){var A=B.value;A.next(G)}}catch(V){C={error:V}}finally{try{if(B&&!B.done&&(W=w.return))W.call(w)}finally{if(C)throw C.error}}}})},d.prototype.error=function(G){var Z=this;U31.errorContext(function(){if(Z._throwIfClosed(),!Z.isStopped){Z.hasError=Z.isStopped=!0,Z.thrownError=G;var C=Z.observers;while(C.length)C.shift().error(G)}})},d.prototype.complete=function(){var G=this;U31.errorContext(function(){if(G._throwIfClosed(),!G.isStopped){G.isStopped=!0;var Z=G.observers;while(Z.length)Z.shift().complete()}})},d.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(d.prototype,"observed",{get:function(){var G;return((G=this.observers)===null||G===void 0?void 0:G.length)>0},enumerable:!1,configurable:!0}),d.prototype._trySubscribe=function(G){return this._throwIfClosed(),I.prototype._trySubscribe.call(this,G)},d.prototype._subscribe=function(G){return this._throwIfClosed(),this._checkFinalizedStatuses(G),this._innerSubscribe(G)},d.prototype._innerSubscribe=function(G){var Z=this,C=this,W=C.hasError,w=C.isStopped,B=C.observers;if(W||w)return v31.EMPTY_SUBSCRIPTION;return this.currentObservers=null,B.push(G),new v31.Subscription(function(){Z.currentObservers=null,PN4.arrRemove(B,G)})},d.prototype._checkFinalizedStatuses=function(G){var Z=this,C=Z.hasError,W=Z.thrownError,w=Z.isStopped;if(C)G.error(W);else if(w)G.complete()},d.prototype.asObservable=function(){var G=new qr1.Observable;return G.source=this,G},d.create=function(G,Z){return new E31(G,Z)},d}(qr1.Observable);xw.Subject=Ur1;var E31=function(I){Rr1(d,I);function d(G,Z){var C=I.call(this)||this;return C.destination=G,C.source=Z,C}return d.prototype.next=function(G){var Z,C;(C=(Z=this.destination)===null||Z===void 0?void 0:Z.next)===null||C===void 0||C.call(Z,G)},d.prototype.error=function(G){var Z,C;(C=(Z=this.destination)===null||Z===void 0?void 0:Z.error)===null||C===void 0||C.call(Z,G)},d.prototype.complete=function(){var G,Z;(Z=(G=this.destination)===null||G===void 0?void 0:G.complete)===null||Z===void 0||Z.call(G)},d.prototype._subscribe=function(G){var Z,C;return(C=(Z=this.source)===null||Z===void 0?void 0:Z.subscribe(G))!==null&&C!==void 0?C:v31.EMPTY_SUBSCRIPTION},d}(Ur1);xw.AnonymousSubject=E31});var M31=Y((PQ)=>{var $N4=PQ&&PQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(PQ,"__esModule",{value:!0});PQ.BehaviorSubject=void 0;var uN4=c8(),TN4=function(I){$N4(d,I);function d(G){var Z=I.call(this)||this;return Z._value=G,Z}return Object.defineProperty(d.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),d.prototype._subscribe=function(G){var Z=I.prototype._subscribe.call(this,G);return!Z.closed&&G.next(this._value),Z},d.prototype.getValue=function(){var G=this,Z=G.hasError,C=G.thrownError,W=G._value;if(Z)throw C;return this._throwIfClosed(),W},d.prototype.next=function(G){I.prototype.next.call(this,this._value=G)},d}(uN4.Subject);PQ.BehaviorSubject=TN4});var lk=Y((vr1)=>{Object.defineProperty(vr1,"__esModule",{value:!0});vr1.dateTimestampProvider=void 0;vr1.dateTimestampProvider={now:function(){return(vr1.dateTimestampProvider.delegate||Date).now()},delegate:void 0}});var bk=Y(($Q)=>{var ON4=$Q&&$Q.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty($Q,"__esModule",{value:!0});$Q.ReplaySubject=void 0;var mN4=c8(),lN4=lk(),bN4=function(I){ON4(d,I);function d(G,Z,C){if(G===void 0)G=1/0;if(Z===void 0)Z=1/0;if(C===void 0)C=lN4.dateTimestampProvider;var W=I.call(this)||this;return W._bufferSize=G,W._windowTime=Z,W._timestampProvider=C,W._buffer=[],W._infiniteTimeWindow=!0,W._infiniteTimeWindow=Z===1/0,W._bufferSize=Math.max(1,G),W._windowTime=Math.max(1,Z),W}return d.prototype.next=function(G){var Z=this,C=Z.isStopped,W=Z._buffer,w=Z._infiniteTimeWindow,B=Z._timestampProvider,A=Z._windowTime;if(!C)W.push(G),!w&&W.push(B.now()+A);this._trimBuffer(),I.prototype.next.call(this,G)},d.prototype._subscribe=function(G){this._throwIfClosed(),this._trimBuffer();var Z=this._innerSubscribe(G),C=this,W=C._infiniteTimeWindow,w=C._buffer,B=w.slice();for(var A=0;A<B.length&&!G.closed;A+=W?1:2)G.next(B[A]);return this._checkFinalizedStatuses(G),Z},d.prototype._trimBuffer=function(){var G=this,Z=G._bufferSize,C=G._timestampProvider,W=G._buffer,w=G._infiniteTimeWindow,B=(w?1:2)*Z;if(Z<1/0&&B<W.length&&W.splice(0,W.length-B),!w){var A=C.now(),V=0;for(var X=1;X<W.length&&W[X]<=A;X+=2)V=X;V&&W.splice(0,V+1)}},d}(mN4.Subject);$Q.ReplaySubject=bN4});var hk=Y((uQ)=>{var hN4=uQ&&uQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(uQ,"__esModule",{value:!0});uQ.AsyncSubject=void 0;var jN4=c8(),kN4=function(I){hN4(d,I);function d(){var G=I!==null&&I.apply(this,arguments)||this;return G._value=null,G._hasValue=!1,G._isComplete=!1,G}return d.prototype._checkFinalizedStatuses=function(G){var Z=this,C=Z.hasError,W=Z._hasValue,w=Z._value,B=Z.thrownError,A=Z.isStopped,V=Z._isComplete;if(C)G.error(B);else if(A||V)W&&G.next(w),G.complete()},d.prototype.next=function(G){if(!this.isStopped)this._value=G,this._hasValue=!0},d.prototype.complete=function(){var G=this,Z=G._hasValue,C=G._value,W=G._isComplete;if(!W)this._isComplete=!0,Z&&I.prototype.next.call(this,C),I.prototype.complete.call(this)},d}(jN4.Subject);uQ.AsyncSubject=kN4});var Er1=Y((TQ)=>{var xN4=TQ&&TQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(TQ,"__esModule",{value:!0});TQ.Action=void 0;var cN4=od(),pN4=function(I){xN4(d,I);function d(G,Z){return I.call(this)||this}return d.prototype.schedule=function(G,Z){if(Z===void 0)Z=0;return this},d}(cN4.Subscription);TQ.Action=pN4});var Lr1=Y((cw)=>{var Mr1=cw&&cw.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},Sr1=cw&&cw.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(cw,"__esModule",{value:!0});cw.intervalProvider=void 0;cw.intervalProvider={setInterval:function(I,d){var G=[];for(var Z=2;Z<arguments.length;Z++)G[Z-2]=arguments[Z];var C=cw.intervalProvider.delegate;if(C===null||C===void 0?void 0:C.setInterval)return C.setInterval.apply(C,Sr1([I,d],Mr1(G)));return setInterval.apply(void 0,Sr1([I,d],Mr1(G)))},clearInterval:function(I){var d=cw.intervalProvider.delegate;return((d===null||d===void 0?void 0:d.clearInterval)||clearInterval)(I)},delegate:void 0}});var mQ=Y((OQ)=>{var iN4=OQ&&OQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(OQ,"__esModule",{value:!0});OQ.AsyncAction=void 0;var nN4=Er1(),yr1=Lr1(),rN4=wV(),aN4=function(I){iN4(d,I);function d(G,Z){var C=I.call(this,G,Z)||this;return C.scheduler=G,C.work=Z,C.pending=!1,C}return d.prototype.schedule=function(G,Z){var C;if(Z===void 0)Z=0;if(this.closed)return this;this.state=G;var W=this.id,w=this.scheduler;if(W!=null)this.id=this.recycleAsyncId(w,W,Z);return this.pending=!0,this.delay=Z,this.id=(C=this.id)!==null&&C!==void 0?C:this.requestAsyncId(w,this.id,Z),this},d.prototype.requestAsyncId=function(G,Z,C){if(C===void 0)C=0;return yr1.intervalProvider.setInterval(G.flush.bind(G,this),C)},d.prototype.recycleAsyncId=function(G,Z,C){if(C===void 0)C=0;if(C!=null&&this.delay===C&&this.pending===!1)return Z;if(Z!=null)yr1.intervalProvider.clearInterval(Z);return},d.prototype.execute=function(G,Z){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var C=this._execute(G,Z);if(C)return C;else if(this.pending===!1&&this.id!=null)this.id=this.recycleAsyncId(this.scheduler,this.id,null)},d.prototype._execute=function(G,Z){var C=!1,W;try{this.work(G)}catch(w){C=!0,W=w?w:new Error("Scheduled action threw falsy error")}if(C)return this.unsubscribe(),W},d.prototype.unsubscribe=function(){if(!this.closed){var G=this,Z=G.id,C=G.scheduler,W=C.actions;if(this.work=this.state=this.scheduler=null,this.pending=!1,rN4.arrRemove(W,this),Z!=null)this.id=this.recycleAsyncId(C,Z,null);this.delay=null,I.prototype.unsubscribe.call(this)}},d}(nN4.Action);OQ.AsyncAction=aN4});var Tr1=Y(($r1)=>{Object.defineProperty($r1,"__esModule",{value:!0});$r1.TestTools=$r1.Immediate=void 0;var sN4=1,L31,jk={};function Pr1(I){if(I in jk)return delete jk[I],!0;return!1}$r1.Immediate={setImmediate:function(I){var d=sN4++;if(jk[d]=!0,!L31)L31=Promise.resolve();return L31.then(function(){return Pr1(d)&&I()}),d},clearImmediate:function(I){Pr1(I)}};$r1.TestTools={pending:function(){return Object.keys(jk).length}}});var mr1=Y((pw)=>{var eN4=pw&&pw.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},tN4=pw&&pw.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(pw,"__esModule",{value:!0});pw.immediateProvider=void 0;var Or1=Tr1(),Iz4=Or1.Immediate.setImmediate,dz4=Or1.Immediate.clearImmediate;pw.immediateProvider={setImmediate:function(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=pw.immediateProvider.delegate;return((G===null||G===void 0?void 0:G.setImmediate)||Iz4).apply(void 0,tN4([],eN4(I)))},clearImmediate:function(I){var d=pw.immediateProvider.delegate;return((d===null||d===void 0?void 0:d.clearImmediate)||dz4)(I)},delegate:void 0}});var br1=Y((lQ)=>{var Gz4=lQ&&lQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(lQ,"__esModule",{value:!0});lQ.AsapAction=void 0;var Zz4=mQ(),lr1=mr1(),Cz4=function(I){Gz4(d,I);function d(G,Z){var C=I.call(this,G,Z)||this;return C.scheduler=G,C.work=Z,C}return d.prototype.requestAsyncId=function(G,Z,C){if(C===void 0)C=0;if(C!==null&&C>0)return I.prototype.requestAsyncId.call(this,G,Z,C);return G.actions.push(this),G._scheduled||(G._scheduled=lr1.immediateProvider.setImmediate(G.flush.bind(G,void 0)))},d.prototype.recycleAsyncId=function(G,Z,C){var W;if(C===void 0)C=0;if(C!=null?C>0:this.delay>0)return I.prototype.recycleAsyncId.call(this,G,Z,C);var w=G.actions;if(Z!=null&&((W=w[w.length-1])===null||W===void 0?void 0:W.id)!==Z){if(lr1.immediateProvider.clearImmediate(Z),G._scheduled===Z)G._scheduled=void 0}return},d}(Zz4.AsyncAction);lQ.AsapAction=Cz4});var y31=Y((hr1)=>{Object.defineProperty(hr1,"__esModule",{value:!0});hr1.Scheduler=void 0;var Wz4=lk(),wz4=function(){function I(d,G){if(G===void 0)G=I.now;this.schedulerActionCtor=d,this.now=G}return I.prototype.schedule=function(d,G,Z){if(G===void 0)G=0;return new this.schedulerActionCtor(this,d).schedule(Z,G)},I.now=Wz4.dateTimestampProvider.now,I}();hr1.Scheduler=wz4});var hQ=Y((bQ)=>{var Bz4=bQ&&bQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(bQ,"__esModule",{value:!0});bQ.AsyncScheduler=void 0;var kr1=y31(),Az4=function(I){Bz4(d,I);function d(G,Z){if(Z===void 0)Z=kr1.Scheduler.now;var C=I.call(this,G,Z)||this;return C.actions=[],C._active=!1,C}return d.prototype.flush=function(G){var Z=this.actions;if(this._active){Z.push(G);return}var C;this._active=!0;do if(C=G.execute(G.state,G.delay))break;while(G=Z.shift());if(this._active=!1,C){while(G=Z.shift())G.unsubscribe();throw C}},d}(kr1.Scheduler);bQ.AsyncScheduler=Az4});var xr1=Y((jQ)=>{var Vz4=jQ&&jQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(jQ,"__esModule",{value:!0});jQ.AsapScheduler=void 0;var Xz4=hQ(),Yz4=function(I){Vz4(d,I);function d(){return I!==null&&I.apply(this,arguments)||this}return d.prototype.flush=function(G){this._active=!0;var Z=this._scheduled;this._scheduled=void 0;var C=this.actions,W;G=G||C.shift();do if(W=G.execute(G.state,G.delay))break;while((G=C[0])&&G.id===Z&&C.shift());if(this._active=!1,W){while((G=C[0])&&G.id===Z&&C.shift())G.unsubscribe();throw W}},d}(Xz4.AsyncScheduler);jQ.AsapScheduler=Yz4});var nr1=Y((cr1)=>{Object.defineProperty(cr1,"__esModule",{value:!0});cr1.asap=cr1.asapScheduler=void 0;var _z4=br1(),Dz4=xr1();cr1.asapScheduler=new Dz4.AsapScheduler(_z4.AsapAction);cr1.asap=cr1.asapScheduler});var tI=Y((rr1)=>{Object.defineProperty(rr1,"__esModule",{value:!0});rr1.async=rr1.asyncScheduler=void 0;var Hz4=mQ(),Fz4=hQ();rr1.asyncScheduler=new Fz4.AsyncScheduler(Hz4.AsyncAction);rr1.async=rr1.asyncScheduler});var or1=Y((kQ)=>{var gz4=kQ&&kQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(kQ,"__esModule",{value:!0});kQ.QueueAction=void 0;var Jz4=mQ(),Kz4=function(I){gz4(d,I);function d(G,Z){var C=I.call(this,G,Z)||this;return C.scheduler=G,C.work=Z,C}return d.prototype.schedule=function(G,Z){if(Z===void 0)Z=0;if(Z>0)return I.prototype.schedule.call(this,G,Z);return this.delay=Z,this.state=G,this.scheduler.flush(this),this},d.prototype.execute=function(G,Z){return Z>0||this.closed?I.prototype.execute.call(this,G,Z):this._execute(G,Z)},d.prototype.requestAsyncId=function(G,Z,C){if(C===void 0)C=0;if(C!=null&&C>0||C==null&&this.delay>0)return I.prototype.requestAsyncId.call(this,G,Z,C);return G.flush(this),0},d}(Jz4.AsyncAction);kQ.QueueAction=Kz4});var er1=Y((xQ)=>{var Nz4=xQ&&xQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(xQ,"__esModule",{value:!0});xQ.QueueScheduler=void 0;var zz4=hQ(),Qz4=function(I){Nz4(d,I);function d(){return I!==null&&I.apply(this,arguments)||this}return d}(zz4.AsyncScheduler);xQ.QueueScheduler=Qz4});var Ga1=Y((tr1)=>{Object.defineProperty(tr1,"__esModule",{value:!0});tr1.queue=tr1.queueScheduler=void 0;var fz4=or1(),qz4=er1();tr1.queueScheduler=new qz4.QueueScheduler(fz4.QueueAction);tr1.queue=tr1.queueScheduler});var Ca1=Y((cQ)=>{var Rz4=cQ&&cQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(cQ,"__esModule",{value:!0});cQ.AnimationFrameAction=void 0;var Uz4=mQ(),Za1=q31(),vz4=function(I){Rz4(d,I);function d(G,Z){var C=I.call(this,G,Z)||this;return C.scheduler=G,C.work=Z,C}return d.prototype.requestAsyncId=function(G,Z,C){if(C===void 0)C=0;if(C!==null&&C>0)return I.prototype.requestAsyncId.call(this,G,Z,C);return G.actions.push(this),G._scheduled||(G._scheduled=Za1.animationFrameProvider.requestAnimationFrame(function(){return G.flush(void 0)}))},d.prototype.recycleAsyncId=function(G,Z,C){var W;if(C===void 0)C=0;if(C!=null?C>0:this.delay>0)return I.prototype.recycleAsyncId.call(this,G,Z,C);var w=G.actions;if(Z!=null&&((W=w[w.length-1])===null||W===void 0?void 0:W.id)!==Z)Za1.animationFrameProvider.cancelAnimationFrame(Z),G._scheduled=void 0;return},d}(Uz4.AsyncAction);cQ.AnimationFrameAction=vz4});var Wa1=Y((pQ)=>{var Ez4=pQ&&pQ.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(pQ,"__esModule",{value:!0});pQ.AnimationFrameScheduler=void 0;var Mz4=hQ(),Sz4=function(I){Ez4(d,I);function d(){return I!==null&&I.apply(this,arguments)||this}return d.prototype.flush=function(G){this._active=!0;var Z=this._scheduled;this._scheduled=void 0;var C=this.actions,W;G=G||C.shift();do if(W=G.execute(G.state,G.delay))break;while((G=C[0])&&G.id===Z&&C.shift());if(this._active=!1,W){while((G=C[0])&&G.id===Z&&C.shift())G.unsubscribe();throw W}},d}(Mz4.AsyncScheduler);pQ.AnimationFrameScheduler=Sz4});var Va1=Y((wa1)=>{Object.defineProperty(wa1,"__esModule",{value:!0});wa1.animationFrame=wa1.animationFrameScheduler=void 0;var Lz4=Ca1(),yz4=Wa1();wa1.animationFrameScheduler=new yz4.AnimationFrameScheduler(Lz4.AnimationFrameAction);wa1.animationFrame=wa1.animationFrameScheduler});var _a1=Y((sY)=>{var Xa1=sY&&sY.__extends||function(){var I=function(d,G){return I=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Z,C){Z.__proto__=C}||function(Z,C){for(var W in C)if(Object.prototype.hasOwnProperty.call(C,W))Z[W]=C[W]},I(d,G)};return function(d,G){if(typeof G!=="function"&&G!==null)throw new TypeError("Class extends value "+String(G)+" is not a constructor or null");I(d,G);function Z(){this.constructor=d}d.prototype=G===null?Object.create(G):(Z.prototype=G.prototype,new Z)}}();Object.defineProperty(sY,"__esModule",{value:!0});sY.VirtualAction=sY.VirtualTimeScheduler=void 0;var Pz4=mQ(),$z4=od(),uz4=hQ(),Tz4=function(I){Xa1(d,I);function d(G,Z){if(G===void 0)G=Ya1;if(Z===void 0)Z=1/0;var C=I.call(this,G,function(){return C.frame})||this;return C.maxFrames=Z,C.frame=0,C.index=-1,C}return d.prototype.flush=function(){var G=this,Z=G.actions,C=G.maxFrames,W,w;while((w=Z[0])&&w.delay<=C)if(Z.shift(),this.frame=w.delay,W=w.execute(w.state,w.delay))break;if(W){while(w=Z.shift())w.unsubscribe();throw W}},d.frameTimeFactor=10,d}(uz4.AsyncScheduler);sY.VirtualTimeScheduler=Tz4;var Ya1=function(I){Xa1(d,I);function d(G,Z,C){if(C===void 0)C=G.index+=1;var W=I.call(this,G,Z)||this;return W.scheduler=G,W.work=Z,W.index=C,W.active=!0,W.index=G.index=C,W}return d.prototype.schedule=function(G,Z){if(Z===void 0)Z=0;if(Number.isFinite(Z)){if(!this.id)return I.prototype.schedule.call(this,G,Z);this.active=!1;var C=new d(this.scheduler,this.work);return this.add(C),C.schedule(G,Z)}else return $z4.Subscription.EMPTY},d.prototype.requestAsyncId=function(G,Z,C){if(C===void 0)C=0;this.delay=G.frame+C;var W=G.actions;return W.push(this),W.sort(d.sortActions),1},d.prototype.recycleAsyncId=function(G,Z,C){if(C===void 0)C=0;return},d.prototype._execute=function(G,Z){if(this.active===!0)return I.prototype._execute.call(this,G,Z)},d.sortActions=function(G,Z){if(G.delay===Z.delay)if(G.index===Z.index)return 0;else if(G.index>Z.index)return 1;else return-1;else if(G.delay>Z.delay)return 1;else return-1},d}(Pz4.AsyncAction);sY.VirtualAction=Ya1});var OC=Y((Ha1)=>{Object.defineProperty(Ha1,"__esModule",{value:!0});Ha1.empty=Ha1.EMPTY=void 0;var Da1=B9();Ha1.EMPTY=new Da1.Observable(function(I){return I.complete()});function Oz4(I){return I?mz4(I):Ha1.EMPTY}Ha1.empty=Oz4;function mz4(I){return new Da1.Observable(function(d){return I.schedule(function(){return d.complete()})})}});var gS=Y((Ja1)=>{Object.defineProperty(Ja1,"__esModule",{value:!0});Ja1.isScheduler=void 0;var lz4=d9();function bz4(I){return I&&lz4.isFunction(I.schedule)}Ja1.isScheduler=bz4});var Id=Y((Na1)=>{Object.defineProperty(Na1,"__esModule",{value:!0});Na1.popNumber=Na1.popScheduler=Na1.popResultSelector=void 0;var hz4=d9(),jz4=gS();function P31(I){return I[I.length-1]}function kz4(I){return hz4.isFunction(P31(I))?I.pop():void 0}Na1.popResultSelector=kz4;function xz4(I){return jz4.isScheduler(P31(I))?I.pop():void 0}Na1.popScheduler=xz4;function cz4(I,d){return typeof P31(I)==="number"?I.pop():d}Na1.popNumber=cz4});var kk=Y((Qa1)=>{Object.defineProperty(Qa1,"__esModule",{value:!0});Qa1.isArrayLike=void 0;Qa1.isArrayLike=function(I){return I&&typeof I.length==="number"&&typeof I!=="function"}});var $31=Y((qa1)=>{Object.defineProperty(qa1,"__esModule",{value:!0});qa1.isPromise=void 0;var nz4=d9();function rz4(I){return nz4.isFunction(I===null||I===void 0?void 0:I.then)}qa1.isPromise=rz4});var u31=Y((Ua1)=>{Object.defineProperty(Ua1,"__esModule",{value:!0});Ua1.isInteropObservable=void 0;var az4=DS(),sz4=d9();function oz4(I){return sz4.isFunction(I[az4.observable])}Ua1.isInteropObservable=oz4});var T31=Y((Ea1)=>{Object.defineProperty(Ea1,"__esModule",{value:!0});Ea1.isAsyncIterable=void 0;var ez4=d9();function tz4(I){return Symbol.asyncIterator&&ez4.isFunction(I===null||I===void 0?void 0:I[Symbol.asyncIterator])}Ea1.isAsyncIterable=tz4});var O31=Y((Sa1)=>{Object.defineProperty(Sa1,"__esModule",{value:!0});Sa1.createInvalidObservableTypeError=void 0;function IQ4(I){return new TypeError("You provided "+(I!==null&&typeof I==="object"?"an invalid object":"'"+I+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}Sa1.createInvalidObservableTypeError=IQ4});var m31=Y((Pa1)=>{Object.defineProperty(Pa1,"__esModule",{value:!0});Pa1.iterator=Pa1.getSymbolIterator=void 0;function ya1(){if(typeof Symbol!=="function"||!Symbol.iterator)return"@@iterator";return Symbol.iterator}Pa1.getSymbolIterator=ya1;Pa1.iterator=ya1()});var l31=Y((ua1)=>{Object.defineProperty(ua1,"__esModule",{value:!0});ua1.isIterable=void 0;var GQ4=m31(),ZQ4=d9();function CQ4(I){return ZQ4.isFunction(I===null||I===void 0?void 0:I[GQ4.iterator])}ua1.isIterable=CQ4});var xk=Y((DZ)=>{var WQ4=DZ&&DZ.__generator||function(I,d){var G={label:0,sent:function(){if(W[0]&1)throw W[1];return W[1]},trys:[],ops:[]},Z,C,W,w;return w={next:B(0),throw:B(1),return:B(2)},typeof Symbol==="function"&&(w[Symbol.iterator]=function(){return this}),w;function B(V){return function(X){return A([V,X])}}function A(V){if(Z)throw new TypeError("Generator is already executing.");while(G)try{if(Z=1,C&&(W=V[0]&2?C.return:V[0]?C.throw||((W=C.return)&&W.call(C),0):C.next)&&!(W=W.call(C,V[1])).done)return W;if(C=0,W)V=[V[0]&2,W.value];switch(V[0]){case 0:case 1:W=V;break;case 4:return G.label++,{value:V[1],done:!1};case 5:G.label++,C=V[1],V=[0];continue;case 7:V=G.ops.pop(),G.trys.pop();continue;default:if((W=G.trys,!(W=W.length>0&&W[W.length-1]))&&(V[0]===6||V[0]===2)){G=0;continue}if(V[0]===3&&(!W||V[1]>W[0]&&V[1]<W[3])){G.label=V[1];break}if(V[0]===6&&G.label<W[1]){G.label=W[1],W=V;break}if(W&&G.label<W[2]){G.label=W[2],G.ops.push(V);break}if(W[2])G.ops.pop();G.trys.pop();continue}V=d.call(I,G)}catch(X){V=[6,X],C=0}finally{Z=W=0}if(V[0]&5)throw V[1];return{value:V[0]?V[1]:void 0,done:!0}}},iQ=DZ&&DZ.__await||function(I){return this instanceof iQ?(this.v=I,this):new iQ(I)},wQ4=DZ&&DZ.__asyncGenerator||function(I,d,G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z=G.apply(I,d||[]),C,W=[];return C={},w("next"),w("throw"),w("return"),C[Symbol.asyncIterator]=function(){return this},C;function w(F){if(Z[F])C[F]=function(g){return new Promise(function(J,K){W.push([F,g,J,K])>1||B(F,g)})}}function B(F,g){try{A(Z[F](g))}catch(J){_(W[0][3],J)}}function A(F){F.value instanceof iQ?Promise.resolve(F.value.v).then(V,X):_(W[0][2],F)}function V(F){B("next",F)}function X(F){B("throw",F)}function _(F,g){if(F(g),W.shift(),W.length)B(W[0][0],W[0][1])}};Object.defineProperty(DZ,"__esModule",{value:!0});DZ.isReadableStreamLike=DZ.readableStreamLikeToAsyncGenerator=void 0;var BQ4=d9();function AQ4(I){return wQ4(this,arguments,function d(){var G,Z,C,W;return WQ4(this,function(w){switch(w.label){case 0:G=I.getReader(),w.label=1;case 1:w.trys.push([1,,9,10]),w.label=2;case 2:return[4,iQ(G.read())];case 3:if(Z=w.sent(),C=Z.value,W=Z.done,!W)return[3,5];return[4,iQ(void 0)];case 4:return[2,w.sent()];case 5:return[4,iQ(C)];case 6:return[4,w.sent()];case 7:return w.sent(),[3,2];case 8:return[3,10];case 9:return G.releaseLock(),[7];case 10:return[2]}})})}DZ.readableStreamLikeToAsyncGenerator=AQ4;function VQ4(I){return BQ4.isFunction(I===null||I===void 0?void 0:I.getReader)}DZ.isReadableStreamLike=VQ4});var M4=Y((Z3)=>{var XQ4=Z3&&Z3.__awaiter||function(I,d,G,Z){function C(W){return W instanceof G?W:new G(function(w){w(W)})}return new(G||(G=Promise))(function(W,w){function B(X){try{V(Z.next(X))}catch(_){w(_)}}function A(X){try{V(Z.throw(X))}catch(_){w(_)}}function V(X){X.done?W(X.value):C(X.value).then(B,A)}V((Z=Z.apply(I,d||[])).next())})},YQ4=Z3&&Z3.__generator||function(I,d){var G={label:0,sent:function(){if(W[0]&1)throw W[1];return W[1]},trys:[],ops:[]},Z,C,W,w;return w={next:B(0),throw:B(1),return:B(2)},typeof Symbol==="function"&&(w[Symbol.iterator]=function(){return this}),w;function B(V){return function(X){return A([V,X])}}function A(V){if(Z)throw new TypeError("Generator is already executing.");while(G)try{if(Z=1,C&&(W=V[0]&2?C.return:V[0]?C.throw||((W=C.return)&&W.call(C),0):C.next)&&!(W=W.call(C,V[1])).done)return W;if(C=0,W)V=[V[0]&2,W.value];switch(V[0]){case 0:case 1:W=V;break;case 4:return G.label++,{value:V[1],done:!1};case 5:G.label++,C=V[1],V=[0];continue;case 7:V=G.ops.pop(),G.trys.pop();continue;default:if((W=G.trys,!(W=W.length>0&&W[W.length-1]))&&(V[0]===6||V[0]===2)){G=0;continue}if(V[0]===3&&(!W||V[1]>W[0]&&V[1]<W[3])){G.label=V[1];break}if(V[0]===6&&G.label<W[1]){G.label=W[1],W=V;break}if(W&&G.label<W[2]){G.label=W[2],G.ops.push(V);break}if(W[2])G.ops.pop();G.trys.pop();continue}V=d.call(I,G)}catch(X){V=[6,X],C=0}finally{Z=W=0}if(V[0]&5)throw V[1];return{value:V[0]?V[1]:void 0,done:!0}}},_Q4=Z3&&Z3.__asyncValues||function(I){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=I[Symbol.asyncIterator],G;return d?d.call(I):(I=typeof b31==="function"?b31(I):I[Symbol.iterator](),G={},Z("next"),Z("throw"),Z("return"),G[Symbol.asyncIterator]=function(){return this},G);function Z(W){G[W]=I[W]&&function(w){return new Promise(function(B,A){w=I[W](w),C(B,A,w.done,w.value)})}}function C(W,w,B,A){Promise.resolve(A).then(function(V){W({value:V,done:B})},w)}},b31=Z3&&Z3.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Z3,"__esModule",{value:!0});Z3.fromReadableStreamLike=Z3.fromAsyncIterable=Z3.fromIterable=Z3.fromPromise=Z3.fromArrayLike=Z3.fromInteropObservable=Z3.innerFrom=void 0;var DQ4=kk(),HQ4=$31(),nQ=B9(),FQ4=u31(),gQ4=T31(),JQ4=O31(),KQ4=l31(),Oa1=xk(),NQ4=d9(),zQ4=F31(),QQ4=DS();function fQ4(I){if(I instanceof nQ.Observable)return I;if(I!=null){if(FQ4.isInteropObservable(I))return ma1(I);if(DQ4.isArrayLike(I))return la1(I);if(HQ4.isPromise(I))return ba1(I);if(gQ4.isAsyncIterable(I))return h31(I);if(KQ4.isIterable(I))return ha1(I);if(Oa1.isReadableStreamLike(I))return ja1(I)}throw JQ4.createInvalidObservableTypeError(I)}Z3.innerFrom=fQ4;function ma1(I){return new nQ.Observable(function(d){var G=I[QQ4.observable]();if(NQ4.isFunction(G.subscribe))return G.subscribe(d);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}Z3.fromInteropObservable=ma1;function la1(I){return new nQ.Observable(function(d){for(var G=0;G<I.length&&!d.closed;G++)d.next(I[G]);d.complete()})}Z3.fromArrayLike=la1;function ba1(I){return new nQ.Observable(function(d){I.then(function(G){if(!d.closed)d.next(G),d.complete()},function(G){return d.error(G)}).then(null,zQ4.reportUnhandledError)})}Z3.fromPromise=ba1;function ha1(I){return new nQ.Observable(function(d){var G,Z;try{for(var C=b31(I),W=C.next();!W.done;W=C.next()){var w=W.value;if(d.next(w),d.closed)return}}catch(B){G={error:B}}finally{try{if(W&&!W.done&&(Z=C.return))Z.call(C)}finally{if(G)throw G.error}}d.complete()})}Z3.fromIterable=ha1;function h31(I){return new nQ.Observable(function(d){qQ4(I,d).catch(function(G){return d.error(G)})})}Z3.fromAsyncIterable=h31;function ja1(I){return h31(Oa1.readableStreamLikeToAsyncGenerator(I))}Z3.fromReadableStreamLike=ja1;function qQ4(I,d){var G,Z,C,W;return XQ4(this,void 0,void 0,function(){var w,B;return YQ4(this,function(A){switch(A.label){case 0:A.trys.push([0,5,6,11]),G=_Q4(I),A.label=1;case 1:return[4,G.next()];case 2:if(Z=A.sent(),!!Z.done)return[3,4];if(w=Z.value,d.next(w),d.closed)return[2];A.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return B=A.sent(),C={error:B},[3,11];case 6:if(A.trys.push([6,,9,10]),!(Z&&!Z.done&&(W=G.return)))return[3,8];return[4,W.call(G)];case 7:A.sent(),A.label=8;case 8:return[3,10];case 9:if(C)throw C.error;return[7];case 10:return[7];case 11:return d.complete(),[2]}})})}});var BV=Y((ka1)=>{Object.defineProperty(ka1,"__esModule",{value:!0});ka1.executeSchedule=void 0;function RQ4(I,d,G,Z,C){if(Z===void 0)Z=0;if(C===void 0)C=!1;var W=d.schedule(function(){if(G(),C)I.add(this.schedule(null,Z));else this.unsubscribe()},Z);if(I.add(W),!C)return W}ka1.executeSchedule=RQ4});var rQ=Y((ca1)=>{Object.defineProperty(ca1,"__esModule",{value:!0});ca1.observeOn=void 0;var j31=BV(),UQ4=X2(),vQ4=E2();function EQ4(I,d){if(d===void 0)d=0;return UQ4.operate(function(G,Z){G.subscribe(vQ4.createOperatorSubscriber(Z,function(C){return j31.executeSchedule(Z,I,function(){return Z.next(C)},d)},function(){return j31.executeSchedule(Z,I,function(){return Z.complete()},d)},function(C){return j31.executeSchedule(Z,I,function(){return Z.error(C)},d)}))})}ca1.observeOn=EQ4});var aQ=Y((ia1)=>{Object.defineProperty(ia1,"__esModule",{value:!0});ia1.subscribeOn=void 0;var MQ4=X2();function SQ4(I,d){if(d===void 0)d=0;return MQ4.operate(function(G,Z){Z.add(I.schedule(function(){return G.subscribe(Z)},d))})}ia1.subscribeOn=SQ4});var sa1=Y((ra1)=>{Object.defineProperty(ra1,"__esModule",{value:!0});ra1.scheduleObservable=void 0;var LQ4=M4(),yQ4=rQ(),PQ4=aQ();function $Q4(I,d){return LQ4.innerFrom(I).pipe(PQ4.subscribeOn(d),yQ4.observeOn(d))}ra1.scheduleObservable=$Q4});var ta1=Y((oa1)=>{Object.defineProperty(oa1,"__esModule",{value:!0});oa1.schedulePromise=void 0;var uQ4=M4(),TQ4=rQ(),OQ4=aQ();function mQ4(I,d){return uQ4.innerFrom(I).pipe(OQ4.subscribeOn(d),TQ4.observeOn(d))}oa1.schedulePromise=mQ4});var Gs1=Y((Is1)=>{Object.defineProperty(Is1,"__esModule",{value:!0});Is1.scheduleArray=void 0;var lQ4=B9();function bQ4(I,d){return new lQ4.Observable(function(G){var Z=0;return d.schedule(function(){if(Z===I.length)G.complete();else if(G.next(I[Z++]),!G.closed)this.schedule()})})}Is1.scheduleArray=bQ4});var k31=Y((Cs1)=>{Object.defineProperty(Cs1,"__esModule",{value:!0});Cs1.scheduleIterable=void 0;var hQ4=B9(),jQ4=m31(),kQ4=d9(),Zs1=BV();function xQ4(I,d){return new hQ4.Observable(function(G){var Z;return Zs1.executeSchedule(G,d,function(){Z=I[jQ4.iterator](),Zs1.executeSchedule(G,d,function(){var C,W,w;try{C=Z.next(),W=C.value,w=C.done}catch(B){G.error(B);return}if(w)G.complete();else G.next(W)},0,!0)}),function(){return kQ4.isFunction(Z===null||Z===void 0?void 0:Z.return)&&Z.return()}})}Cs1.scheduleIterable=xQ4});var x31=Y((Bs1)=>{Object.defineProperty(Bs1,"__esModule",{value:!0});Bs1.scheduleAsyncIterable=void 0;var cQ4=B9(),ws1=BV();function pQ4(I,d){if(!I)throw new Error("Iterable cannot be null");return new cQ4.Observable(function(G){ws1.executeSchedule(G,d,function(){var Z=I[Symbol.asyncIterator]();ws1.executeSchedule(G,d,function(){Z.next().then(function(C){if(C.done)G.complete();else G.next(C.value)})},0,!0)})})}Bs1.scheduleAsyncIterable=pQ4});var Ys1=Y((Vs1)=>{Object.defineProperty(Vs1,"__esModule",{value:!0});Vs1.scheduleReadableStreamLike=void 0;var iQ4=x31(),nQ4=xk();function rQ4(I,d){return iQ4.scheduleAsyncIterable(nQ4.readableStreamLikeToAsyncGenerator(I),d)}Vs1.scheduleReadableStreamLike=rQ4});var c31=Y((_s1)=>{Object.defineProperty(_s1,"__esModule",{value:!0});_s1.scheduled=void 0;var aQ4=sa1(),sQ4=ta1(),oQ4=Gs1(),eQ4=k31(),tQ4=x31(),If4=u31(),df4=$31(),Gf4=kk(),Zf4=l31(),Cf4=T31(),Wf4=O31(),wf4=xk(),Bf4=Ys1();function Af4(I,d){if(I!=null){if(If4.isInteropObservable(I))return aQ4.scheduleObservable(I,d);if(Gf4.isArrayLike(I))return oQ4.scheduleArray(I,d);if(df4.isPromise(I))return sQ4.schedulePromise(I,d);if(Cf4.isAsyncIterable(I))return tQ4.scheduleAsyncIterable(I,d);if(Zf4.isIterable(I))return eQ4.scheduleIterable(I,d);if(wf4.isReadableStreamLike(I))return Bf4.scheduleReadableStreamLike(I,d)}throw Wf4.createInvalidObservableTypeError(I)}_s1.scheduled=Af4});var AV=Y((Hs1)=>{Object.defineProperty(Hs1,"__esModule",{value:!0});Hs1.from=void 0;var Vf4=c31(),Xf4=M4();function Yf4(I,d){return d?Vf4.scheduled(I,d):Xf4.innerFrom(I)}Hs1.from=Yf4});var ck=Y((gs1)=>{Object.defineProperty(gs1,"__esModule",{value:!0});gs1.of=void 0;var _f4=Id(),Df4=AV();function Hf4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=_f4.popScheduler(I);return Df4.from(I,G)}gs1.of=Hf4});var p31=Y((Ks1)=>{Object.defineProperty(Ks1,"__esModule",{value:!0});Ks1.throwError=void 0;var Ff4=B9(),gf4=d9();function Jf4(I,d){var G=gf4.isFunction(I)?I:function(){return I},Z=function(C){return C.error(G())};return new Ff4.Observable(d?function(C){return d.schedule(Z,0,C)}:Z)}Ks1.throwError=Jf4});var pk=Y((fs1)=>{Object.defineProperty(fs1,"__esModule",{value:!0});fs1.observeNotification=fs1.Notification=fs1.NotificationKind=void 0;var Kf4=OC(),Nf4=ck(),zf4=p31(),Qf4=d9(),ff4;(function(I){I.NEXT="N",I.ERROR="E",I.COMPLETE="C"})(ff4=fs1.NotificationKind||(fs1.NotificationKind={}));var qf4=function(){function I(d,G,Z){this.kind=d,this.value=G,this.error=Z,this.hasValue=d==="N"}return I.prototype.observe=function(d){return Qs1(this,d)},I.prototype.do=function(d,G,Z){var C=this,W=C.kind,w=C.value,B=C.error;return W==="N"?d===null||d===void 0?void 0:d(w):W==="E"?G===null||G===void 0?void 0:G(B):Z===null||Z===void 0?void 0:Z()},I.prototype.accept=function(d,G,Z){var C;return Qf4.isFunction((C=d)===null||C===void 0?void 0:C.next)?this.observe(d):this.do(d,G,Z)},I.prototype.toObservable=function(){var d=this,G=d.kind,Z=d.value,C=d.error,W=G==="N"?Nf4.of(Z):G==="E"?zf4.throwError(function(){return C}):G==="C"?Kf4.EMPTY:0;if(!W)throw new TypeError("Unexpected notification kind "+G);return W},I.createNext=function(d){return new I("N",d)},I.createError=function(d){return new I("E",void 0,d)},I.createComplete=function(){return I.completeNotification},I.completeNotification=new I("C"),I}();fs1.Notification=qf4;function Qs1(I,d){var G,Z,C,W=I,w=W.kind,B=W.value,A=W.error;if(typeof w!=="string")throw new TypeError('Invalid notification, missing "kind"');w==="N"?(G=d.next)===null||G===void 0||G.call(d,B):w==="E"?(Z=d.error)===null||Z===void 0||Z.call(d,A):(C=d.complete)===null||C===void 0||C.call(d)}fs1.observeNotification=Qs1});var Es1=Y((Us1)=>{Object.defineProperty(Us1,"__esModule",{value:!0});Us1.isObservable=void 0;var Uf4=B9(),Rs1=d9();function vf4(I){return!!I&&(I instanceof Uf4.Observable||Rs1.isFunction(I.lift)&&Rs1.isFunction(I.subscribe))}Us1.isObservable=vf4});var oY=Y((Ms1)=>{Object.defineProperty(Ms1,"__esModule",{value:!0});Ms1.EmptyError=void 0;var Ef4=rY();Ms1.EmptyError=Ef4.createErrorClass(function(I){return function d(){I(this),this.name="EmptyError",this.message="no elements in sequence"}})});var Ps1=Y((Ls1)=>{Object.defineProperty(Ls1,"__esModule",{value:!0});Ls1.lastValueFrom=void 0;var Mf4=oY();function Sf4(I,d){var G=typeof d==="object";return new Promise(function(Z,C){var W=!1,w;I.subscribe({next:function(B){w=B,W=!0},error:C,complete:function(){if(W)Z(w);else if(G)Z(d.defaultValue);else C(new Mf4.EmptyError)}})})}Ls1.lastValueFrom=Sf4});var Ts1=Y(($s1)=>{Object.defineProperty($s1,"__esModule",{value:!0});$s1.firstValueFrom=void 0;var Lf4=oY(),yf4=LQ();function Pf4(I,d){var G=typeof d==="object";return new Promise(function(Z,C){var W=new yf4.SafeSubscriber({next:function(w){Z(w),W.unsubscribe()},error:C,complete:function(){if(G)Z(d.defaultValue);else C(new Lf4.EmptyError)}});I.subscribe(W)})}$s1.firstValueFrom=Pf4});var i31=Y((Os1)=>{Object.defineProperty(Os1,"__esModule",{value:!0});Os1.ArgumentOutOfRangeError=void 0;var $f4=rY();Os1.ArgumentOutOfRangeError=$f4.createErrorClass(function(I){return function d(){I(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})});var n31=Y((ls1)=>{Object.defineProperty(ls1,"__esModule",{value:!0});ls1.NotFoundError=void 0;var uf4=rY();ls1.NotFoundError=uf4.createErrorClass(function(I){return function d(G){I(this),this.name="NotFoundError",this.message=G}})});var r31=Y((hs1)=>{Object.defineProperty(hs1,"__esModule",{value:!0});hs1.SequenceError=void 0;var Tf4=rY();hs1.SequenceError=Tf4.createErrorClass(function(I){return function d(G){I(this),this.name="SequenceError",this.message=G}})});var ik=Y((ks1)=>{Object.defineProperty(ks1,"__esModule",{value:!0});ks1.isValidDate=void 0;function Of4(I){return I instanceof Date&&!isNaN(I)}ks1.isValidDate=Of4});var JS=Y((cs1)=>{Object.defineProperty(cs1,"__esModule",{value:!0});cs1.timeout=cs1.TimeoutError=void 0;var mf4=tI(),lf4=ik(),bf4=X2(),hf4=M4(),jf4=rY(),kf4=E2(),xf4=BV();cs1.TimeoutError=jf4.createErrorClass(function(I){return function d(G){if(G===void 0)G=null;I(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=G}});function cf4(I,d){var G=lf4.isValidDate(I)?{first:I}:typeof I==="number"?{each:I}:I,Z=G.first,C=G.each,W=G.with,w=W===void 0?pf4:W,B=G.scheduler,A=B===void 0?d!==null&&d!==void 0?d:mf4.asyncScheduler:B,V=G.meta,X=V===void 0?null:V;if(Z==null&&C==null)throw new TypeError("No timeout provided.");return bf4.operate(function(_,F){var g,J,K=null,Q=0,E=function(S){J=xf4.executeSchedule(F,A,function(){try{g.unsubscribe(),hf4.innerFrom(w({meta:X,lastValue:K,seen:Q})).subscribe(F)}catch(P){F.error(P)}},S)};g=_.subscribe(kf4.createOperatorSubscriber(F,function(S){J===null||J===void 0||J.unsubscribe(),Q++,F.next(K=S),C>0&&E(C)},void 0,void 0,function(){if(!(J===null||J===void 0?void 0:J.closed))J===null||J===void 0||J.unsubscribe();K=null})),!Q&&E(Z!=null?typeof Z==="number"?Z:+Z-A.now():C)})}cs1.timeout=cf4;function pf4(I){throw new cs1.TimeoutError(I)}});var VV=Y((ns1)=>{Object.defineProperty(ns1,"__esModule",{value:!0});ns1.map=void 0;var if4=X2(),nf4=E2();function rf4(I,d){return if4.operate(function(G,Z){var C=0;G.subscribe(nf4.createOperatorSubscriber(Z,function(W){Z.next(I.call(d,W,C++))}))})}ns1.map=rf4});var tY=Y((eY)=>{var af4=eY&&eY.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},sf4=eY&&eY.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(eY,"__esModule",{value:!0});eY.mapOneOrManyArgs=void 0;var of4=VV(),ef4=Array.isArray;function tf4(I,d){return ef4(d)?I.apply(void 0,sf4([],af4(d))):I(d)}function Iq4(I){return of4.map(function(d){return tf4(I,d)})}eY.mapOneOrManyArgs=Iq4});var s31=Y((I_)=>{var dq4=I_&&I_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},as1=I_&&I_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(I_,"__esModule",{value:!0});I_.bindCallbackInternals=void 0;var Gq4=gS(),Zq4=B9(),Cq4=aQ(),Wq4=tY(),wq4=rQ(),Bq4=hk();function a31(I,d,G,Z){if(G)if(Gq4.isScheduler(G))Z=G;else return function(){var C=[];for(var W=0;W<arguments.length;W++)C[W]=arguments[W];return a31(I,d,Z).apply(this,C).pipe(Wq4.mapOneOrManyArgs(G))};if(Z)return function(){var C=[];for(var W=0;W<arguments.length;W++)C[W]=arguments[W];return a31(I,d).apply(this,C).pipe(Cq4.subscribeOn(Z),wq4.observeOn(Z))};return function(){var C=this,W=[];for(var w=0;w<arguments.length;w++)W[w]=arguments[w];var B=new Bq4.AsyncSubject,A=!0;return new Zq4.Observable(function(V){var X=B.subscribe(V);if(A){A=!1;var _=!1,F=!1;if(d.apply(C,as1(as1([],dq4(W)),[function(){var g=[];for(var J=0;J<arguments.length;J++)g[J]=arguments[J];if(I){var K=g.shift();if(K!=null){B.error(K);return}}if(B.next(1<g.length?g:g[0]),F=!0,_)B.complete()}])),F)B.complete();_=!0}return X})}}I_.bindCallbackInternals=a31});var es1=Y((ss1)=>{Object.defineProperty(ss1,"__esModule",{value:!0});ss1.bindCallback=void 0;var Aq4=s31();function Vq4(I,d,G){return Aq4.bindCallbackInternals(!1,I,d,G)}ss1.bindCallback=Vq4});var do1=Y((ts1)=>{Object.defineProperty(ts1,"__esModule",{value:!0});ts1.bindNodeCallback=void 0;var Xq4=s31();function Yq4(I,d,G){return Xq4.bindCallbackInternals(!0,I,d,G)}ts1.bindNodeCallback=Yq4});var o31=Y((Go1)=>{Object.defineProperty(Go1,"__esModule",{value:!0});Go1.argsArgArrayOrObject=void 0;var _q4=Array.isArray,Dq4=Object.getPrototypeOf,Hq4=Object.prototype,Fq4=Object.keys;function gq4(I){if(I.length===1){var d=I[0];if(_q4(d))return{args:d,keys:null};if(Jq4(d)){var G=Fq4(d);return{args:G.map(function(Z){return d[Z]}),keys:G}}}return{args:I,keys:null}}Go1.argsArgArrayOrObject=gq4;function Jq4(I){return I&&typeof I==="object"&&Dq4(I)===Hq4}});var e31=Y((Co1)=>{Object.defineProperty(Co1,"__esModule",{value:!0});Co1.createObject=void 0;function Kq4(I,d){return I.reduce(function(G,Z,C){return G[Z]=d[C],G},{})}Co1.createObject=Kq4});var nk=Y((Yo1)=>{Object.defineProperty(Yo1,"__esModule",{value:!0});Yo1.combineLatestInit=Yo1.combineLatest=void 0;var Nq4=B9(),zq4=o31(),Ao1=AV(),Vo1=x8(),Qq4=tY(),wo1=Id(),fq4=e31(),qq4=E2(),Rq4=BV();function Uq4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=wo1.popScheduler(I),Z=wo1.popResultSelector(I),C=zq4.argsArgArrayOrObject(I),W=C.args,w=C.keys;if(W.length===0)return Ao1.from([],G);var B=new Nq4.Observable(Xo1(W,G,w?function(A){return fq4.createObject(w,A)}:Vo1.identity));return Z?B.pipe(Qq4.mapOneOrManyArgs(Z)):B}Yo1.combineLatest=Uq4;function Xo1(I,d,G){if(G===void 0)G=Vo1.identity;return function(Z){Bo1(d,function(){var C=I.length,W=new Array(C),w=C,B=C,A=function(X){Bo1(d,function(){var _=Ao1.from(I[X],d),F=!1;_.subscribe(qq4.createOperatorSubscriber(Z,function(g){if(W[X]=g,!F)F=!0,B--;if(!B)Z.next(G(W.slice()))},function(){if(!--w)Z.complete()}))},Z)};for(var V=0;V<C;V++)A(V)},Z)}}Yo1.combineLatestInit=Xo1;function Bo1(I,d,G){if(I)Rq4.executeSchedule(G,I,d);else d()}});var rk=Y((Ho1)=>{Object.defineProperty(Ho1,"__esModule",{value:!0});Ho1.mergeInternals=void 0;var Eq4=M4(),Mq4=BV(),Do1=E2();function Sq4(I,d,G,Z,C,W,w,B){var A=[],V=0,X=0,_=!1,F=function(){if(_&&!A.length&&!V)d.complete()},g=function(K){return V<Z?J(K):A.push(K)},J=function(K){W&&d.next(K),V++;var Q=!1;Eq4.innerFrom(G(K,X++)).subscribe(Do1.createOperatorSubscriber(d,function(E){if(C===null||C===void 0||C(E),W)g(E);else d.next(E)},function(){Q=!0},void 0,function(){if(Q)try{V--;var E=function(){var S=A.shift();if(w)Mq4.executeSchedule(d,w,function(){return J(S)});else J(S)};while(A.length&&V<Z)E();F()}catch(S){d.error(S)}}))};return I.subscribe(Do1.createOperatorSubscriber(d,g,function(){_=!0,F()})),function(){B===null||B===void 0||B()}}Ho1.mergeInternals=Sq4});var iw=Y((Jo1)=>{Object.defineProperty(Jo1,"__esModule",{value:!0});Jo1.mergeMap=void 0;var Lq4=VV(),yq4=M4(),Pq4=X2(),$q4=rk(),uq4=d9();function go1(I,d,G){if(G===void 0)G=1/0;if(uq4.isFunction(d))return go1(function(Z,C){return Lq4.map(function(W,w){return d(Z,W,C,w)})(yq4.innerFrom(I(Z,C)))},G);else if(typeof d==="number")G=d;return Pq4.operate(function(Z,C){return $q4.mergeInternals(Z,C,I,G)})}Jo1.mergeMap=go1});var sQ=Y((No1)=>{Object.defineProperty(No1,"__esModule",{value:!0});No1.mergeAll=void 0;var Tq4=iw(),Oq4=x8();function mq4(I){if(I===void 0)I=1/0;return Tq4.mergeMap(Oq4.identity,I)}No1.mergeAll=mq4});var KS=Y((Qo1)=>{Object.defineProperty(Qo1,"__esModule",{value:!0});Qo1.concatAll=void 0;var lq4=sQ();function bq4(){return lq4.mergeAll(1)}Qo1.concatAll=bq4});var NS=Y((qo1)=>{Object.defineProperty(qo1,"__esModule",{value:!0});qo1.concat=void 0;var hq4=KS(),jq4=Id(),kq4=AV();function xq4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return hq4.concatAll()(kq4.from(I,jq4.popScheduler(I)))}qo1.concat=xq4});var zS=Y((Uo1)=>{Object.defineProperty(Uo1,"__esModule",{value:!0});Uo1.defer=void 0;var cq4=B9(),pq4=M4();function iq4(I){return new cq4.Observable(function(d){pq4.innerFrom(I()).subscribe(d)})}Uo1.defer=iq4});var So1=Y((Eo1)=>{Object.defineProperty(Eo1,"__esModule",{value:!0});Eo1.connectable=void 0;var nq4=c8(),rq4=B9(),aq4=zS(),sq4={connector:function(){return new nq4.Subject},resetOnDisconnect:!0};function oq4(I,d){if(d===void 0)d=sq4;var G=null,Z=d.connector,C=d.resetOnDisconnect,W=C===void 0?!0:C,w=Z(),B=new rq4.Observable(function(A){return w.subscribe(A)});return B.connect=function(){if(!G||G.closed){if(G=aq4.defer(function(){return I}).subscribe(w),W)G.add(function(){return w=Z()})}return G},B}Eo1.connectable=oq4});var Po1=Y((Lo1)=>{Object.defineProperty(Lo1,"__esModule",{value:!0});Lo1.forkJoin=void 0;var eq4=B9(),tq4=o31(),IR4=M4(),dR4=Id(),GR4=E2(),ZR4=tY(),CR4=e31();function WR4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=dR4.popResultSelector(I),Z=tq4.argsArgArrayOrObject(I),C=Z.args,W=Z.keys,w=new eq4.Observable(function(B){var A=C.length;if(!A){B.complete();return}var V=new Array(A),X=A,_=A,F=function(J){var K=!1;IR4.innerFrom(C[J]).subscribe(GR4.createOperatorSubscriber(B,function(Q){if(!K)K=!0,_--;V[J]=Q},function(){return X--},void 0,function(){if(!X||!K){if(!_)B.next(W?CR4.createObject(W,V):V);B.complete()}}))};for(var g=0;g<A;g++)F(g)});return G?w.pipe(ZR4.mapOneOrManyArgs(G)):w}Lo1.forkJoin=WR4});var uo1=Y((oQ)=>{var wR4=oQ&&oQ.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W};Object.defineProperty(oQ,"__esModule",{value:!0});oQ.fromEvent=void 0;var BR4=M4(),AR4=B9(),VR4=iw(),XR4=kk(),vg=d9(),YR4=tY(),_R4=["addListener","removeListener"],DR4=["addEventListener","removeEventListener"],HR4=["on","off"];function t31(I,d,G,Z){if(vg.isFunction(G))Z=G,G=void 0;if(Z)return t31(I,d,G).pipe(YR4.mapOneOrManyArgs(Z));var C=wR4(JR4(I)?DR4.map(function(B){return function(A){return I[B](d,A,G)}}):FR4(I)?_R4.map($o1(I,d)):gR4(I)?HR4.map($o1(I,d)):[],2),W=C[0],w=C[1];if(!W){if(XR4.isArrayLike(I))return VR4.mergeMap(function(B){return t31(B,d,G)})(BR4.innerFrom(I))}if(!W)throw new TypeError("Invalid event target");return new AR4.Observable(function(B){var A=function(){var V=[];for(var X=0;X<arguments.length;X++)V[X]=arguments[X];return B.next(1<V.length?V:V[0])};return W(A),function(){return w(A)}})}oQ.fromEvent=t31;function $o1(I,d){return function(G){return function(Z){return I[G](d,Z)}}}function FR4(I){return vg.isFunction(I.addListener)&&vg.isFunction(I.removeListener)}function gR4(I){return vg.isFunction(I.on)&&vg.isFunction(I.off)}function JR4(I){return vg.isFunction(I.addEventListener)&&vg.isFunction(I.removeEventListener)}});var lo1=Y((Oo1)=>{Object.defineProperty(Oo1,"__esModule",{value:!0});Oo1.fromEventPattern=void 0;var KR4=B9(),NR4=d9(),zR4=tY();function To1(I,d,G){if(G)return To1(I,d).pipe(zR4.mapOneOrManyArgs(G));return new KR4.Observable(function(Z){var C=function(){var w=[];for(var B=0;B<arguments.length;B++)w[B]=arguments[B];return Z.next(w.length===1?w[0]:w)},W=I(C);return NR4.isFunction(d)?function(){return d(C,W)}:void 0})}Oo1.fromEventPattern=To1});var ho1=Y((eQ)=>{var QR4=eQ&&eQ.__generator||function(I,d){var G={label:0,sent:function(){if(W[0]&1)throw W[1];return W[1]},trys:[],ops:[]},Z,C,W,w;return w={next:B(0),throw:B(1),return:B(2)},typeof Symbol==="function"&&(w[Symbol.iterator]=function(){return this}),w;function B(V){return function(X){return A([V,X])}}function A(V){if(Z)throw new TypeError("Generator is already executing.");while(G)try{if(Z=1,C&&(W=V[0]&2?C.return:V[0]?C.throw||((W=C.return)&&W.call(C),0):C.next)&&!(W=W.call(C,V[1])).done)return W;if(C=0,W)V=[V[0]&2,W.value];switch(V[0]){case 0:case 1:W=V;break;case 4:return G.label++,{value:V[1],done:!1};case 5:G.label++,C=V[1],V=[0];continue;case 7:V=G.ops.pop(),G.trys.pop();continue;default:if((W=G.trys,!(W=W.length>0&&W[W.length-1]))&&(V[0]===6||V[0]===2)){G=0;continue}if(V[0]===3&&(!W||V[1]>W[0]&&V[1]<W[3])){G.label=V[1];break}if(V[0]===6&&G.label<W[1]){G.label=W[1],W=V;break}if(W&&G.label<W[2]){G.label=W[2],G.ops.push(V);break}if(W[2])G.ops.pop();G.trys.pop();continue}V=d.call(I,G)}catch(X){V=[6,X],C=0}finally{Z=W=0}if(V[0]&5)throw V[1];return{value:V[0]?V[1]:void 0,done:!0}}};Object.defineProperty(eQ,"__esModule",{value:!0});eQ.generate=void 0;var bo1=x8(),fR4=gS(),qR4=zS(),RR4=k31();function UR4(I,d,G,Z,C){var W,w,B,A;if(arguments.length===1)W=I,A=W.initialState,d=W.condition,G=W.iterate,w=W.resultSelector,B=w===void 0?bo1.identity:w,C=W.scheduler;else if(A=I,!Z||fR4.isScheduler(Z))B=bo1.identity,C=Z;else B=Z;function V(){var X;return QR4(this,function(_){switch(_.label){case 0:X=A,_.label=1;case 1:if(!(!d||d(X)))return[3,4];return[4,B(X)];case 2:_.sent(),_.label=3;case 3:return X=G(X),[3,1];case 4:return[2]}})}return qR4.defer(C?function(){return RR4.scheduleIterable(V(),C)}:V)}eQ.generate=UR4});var xo1=Y((jo1)=>{Object.defineProperty(jo1,"__esModule",{value:!0});jo1.iif=void 0;var vR4=zS();function ER4(I,d,G){return vR4.defer(function(){return I()?d:G})}jo1.iif=ER4});var d_=Y((co1)=>{Object.defineProperty(co1,"__esModule",{value:!0});co1.timer=void 0;var MR4=B9(),SR4=tI(),LR4=gS(),yR4=ik();function PR4(I,d,G){if(I===void 0)I=0;if(G===void 0)G=SR4.async;var Z=-1;if(d!=null)if(LR4.isScheduler(d))G=d;else Z=d;return new MR4.Observable(function(C){var W=yR4.isValidDate(I)?+I-G.now():I;if(W<0)W=0;var w=0;return G.schedule(function(){if(!C.closed)if(C.next(w++),0<=Z)this.schedule(void 0,Z);else C.complete()},W)})}co1.timer=PR4});var I61=Y((io1)=>{Object.defineProperty(io1,"__esModule",{value:!0});io1.interval=void 0;var $R4=tI(),uR4=d_();function TR4(I,d){if(I===void 0)I=0;if(d===void 0)d=$R4.asyncScheduler;if(I<0)I=0;return uR4.timer(I,I,d)}io1.interval=TR4});var oo1=Y((ao1)=>{Object.defineProperty(ao1,"__esModule",{value:!0});ao1.merge=void 0;var OR4=sQ(),mR4=M4(),lR4=OC(),ro1=Id(),bR4=AV();function hR4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=ro1.popScheduler(I),Z=ro1.popNumber(I,1/0),C=I;return!C.length?lR4.EMPTY:C.length===1?mR4.innerFrom(C[0]):OR4.mergeAll(Z)(bR4.from(C,G))}ao1.merge=hR4});var d61=Y((eo1)=>{Object.defineProperty(eo1,"__esModule",{value:!0});eo1.never=eo1.NEVER=void 0;var jR4=B9(),kR4=k8();eo1.NEVER=new jR4.Observable(kR4.noop);function xR4(){return eo1.NEVER}eo1.never=xR4});var G_=Y((de1)=>{Object.defineProperty(de1,"__esModule",{value:!0});de1.argsOrArgArray=void 0;var cR4=Array.isArray;function pR4(I){return I.length===1&&cR4(I[0])?I[0]:I}de1.argsOrArgArray=pR4});var G61=Y((Ce1)=>{Object.defineProperty(Ce1,"__esModule",{value:!0});Ce1.onErrorResumeNext=void 0;var iR4=B9(),nR4=G_(),rR4=E2(),Ze1=k8(),aR4=M4();function sR4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=nR4.argsOrArgArray(I);return new iR4.Observable(function(Z){var C=0,W=function(){if(C<G.length){var w=void 0;try{w=aR4.innerFrom(G[C++])}catch(A){W();return}var B=new rR4.OperatorSubscriber(Z,void 0,Ze1.noop,Ze1.noop);w.subscribe(B),B.add(W)}else Z.complete()};W()})}Ce1.onErrorResumeNext=sR4});var Ae1=Y((we1)=>{Object.defineProperty(we1,"__esModule",{value:!0});we1.pairs=void 0;var oR4=AV();function eR4(I,d){return oR4.from(Object.entries(I),d)}we1.pairs=eR4});var Z61=Y((Ve1)=>{Object.defineProperty(Ve1,"__esModule",{value:!0});Ve1.not=void 0;function tR4(I,d){return function(G,Z){return!I.call(d,G,Z)}}Ve1.not=tR4});var XV=Y((Ye1)=>{Object.defineProperty(Ye1,"__esModule",{value:!0});Ye1.filter=void 0;var IU4=X2(),dU4=E2();function GU4(I,d){return IU4.operate(function(G,Z){var C=0;G.subscribe(dU4.createOperatorSubscriber(Z,function(W){return I.call(d,W,C++)&&Z.next(W)}))})}Ye1.filter=GU4});var Je1=Y((Fe1)=>{Object.defineProperty(Fe1,"__esModule",{value:!0});Fe1.partition=void 0;var ZU4=Z61(),De1=XV(),He1=M4();function CU4(I,d,G){return[De1.filter(d,G)(He1.innerFrom(I)),De1.filter(ZU4.not(d,G))(He1.innerFrom(I))]}Fe1.partition=CU4});var C61=Y((ze1)=>{Object.defineProperty(ze1,"__esModule",{value:!0});ze1.raceInit=ze1.race=void 0;var WU4=B9(),Ke1=M4(),wU4=G_(),BU4=E2();function AU4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return I=wU4.argsOrArgArray(I),I.length===1?Ke1.innerFrom(I[0]):new WU4.Observable(Ne1(I))}ze1.race=AU4;function Ne1(I){return function(d){var G=[],Z=function(W){G.push(Ke1.innerFrom(I[W]).subscribe(BU4.createOperatorSubscriber(d,function(w){if(G){for(var B=0;B<G.length;B++)B!==W&&G[B].unsubscribe();G=null}d.next(w)})))};for(var C=0;G&&!d.closed&&C<I.length;C++)Z(C)}}ze1.raceInit=Ne1});var Re1=Y((fe1)=>{Object.defineProperty(fe1,"__esModule",{value:!0});fe1.range=void 0;var XU4=B9(),YU4=OC();function _U4(I,d,G){if(d==null)d=I,I=0;if(d<=0)return YU4.EMPTY;var Z=d+I;return new XU4.Observable(G?function(C){var W=I;return G.schedule(function(){if(W<Z)C.next(W++),this.schedule();else C.complete()})}:function(C){var W=I;while(W<Z&&!C.closed)C.next(W++);C.complete()})}fe1.range=_U4});var Ee1=Y((Ue1)=>{Object.defineProperty(Ue1,"__esModule",{value:!0});Ue1.using=void 0;var DU4=B9(),HU4=M4(),FU4=OC();function gU4(I,d){return new DU4.Observable(function(G){var Z=I(),C=d(Z),W=C?HU4.innerFrom(C):FU4.EMPTY;return W.subscribe(G),function(){if(Z)Z.unsubscribe()}})}Ue1.using=gU4});var ak=Y((Z_)=>{var JU4=Z_&&Z_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},KU4=Z_&&Z_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(Z_,"__esModule",{value:!0});Z_.zip=void 0;var NU4=B9(),zU4=M4(),QU4=G_(),fU4=OC(),qU4=E2(),RU4=Id();function UU4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=RU4.popResultSelector(I),Z=QU4.argsOrArgArray(I);return Z.length?new NU4.Observable(function(C){var W=Z.map(function(){return[]}),w=Z.map(function(){return!1});C.add(function(){W=w=null});var B=function(V){zU4.innerFrom(Z[V]).subscribe(qU4.createOperatorSubscriber(C,function(X){if(W[V].push(X),W.every(function(F){return F.length})){var _=W.map(function(F){return F.shift()});if(C.next(G?G.apply(void 0,KU4([],JU4(_))):_),W.some(function(F,g){return!F.length&&w[g]}))C.complete()}},function(){w[V]=!0,!W[V].length&&C.complete()}))};for(var A=0;!C.closed&&A<Z.length;A++)B(A);return function(){W=w=null}}):fU4.EMPTY}Z_.zip=UU4});var Se1=Y((Me1)=>{Object.defineProperty(Me1,"__esModule",{value:!0})});var sk=Y((ye1)=>{Object.defineProperty(ye1,"__esModule",{value:!0});ye1.audit=void 0;var vU4=X2(),EU4=M4(),Le1=E2();function MU4(I){return vU4.operate(function(d,G){var Z=!1,C=null,W=null,w=!1,B=function(){if(W===null||W===void 0||W.unsubscribe(),W=null,Z){Z=!1;var V=C;C=null,G.next(V)}w&&G.complete()},A=function(){W=null,w&&G.complete()};d.subscribe(Le1.createOperatorSubscriber(G,function(V){if(Z=!0,C=V,!W)EU4.innerFrom(I(V)).subscribe(W=Le1.createOperatorSubscriber(G,B,A))},function(){w=!0,(!Z||!W||W.closed)&&G.complete()}))})}ye1.audit=MU4});var W61=Y(($e1)=>{Object.defineProperty($e1,"__esModule",{value:!0});$e1.auditTime=void 0;var SU4=tI(),LU4=sk(),yU4=d_();function PU4(I,d){if(d===void 0)d=SU4.asyncScheduler;return LU4.audit(function(){return yU4.timer(I,d)})}$e1.auditTime=PU4});var w61=Y((Oe1)=>{Object.defineProperty(Oe1,"__esModule",{value:!0});Oe1.buffer=void 0;var $U4=X2(),uU4=k8(),Te1=E2(),TU4=M4();function OU4(I){return $U4.operate(function(d,G){var Z=[];return d.subscribe(Te1.createOperatorSubscriber(G,function(C){return Z.push(C)},function(){G.next(Z),G.complete()})),TU4.innerFrom(I).subscribe(Te1.createOperatorSubscriber(G,function(){var C=Z;Z=[],G.next(C)},uU4.noop)),function(){Z=null}})}Oe1.buffer=OU4});var A61=Y((tQ)=>{var B61=tQ&&tQ.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(tQ,"__esModule",{value:!0});tQ.bufferCount=void 0;var mU4=X2(),lU4=E2(),bU4=wV();function hU4(I,d){if(d===void 0)d=null;return d=d!==null&&d!==void 0?d:I,mU4.operate(function(G,Z){var C=[],W=0;G.subscribe(lU4.createOperatorSubscriber(Z,function(w){var B,A,V,X,_=null;if(W++%d===0)C.push([]);try{for(var F=B61(C),g=F.next();!g.done;g=F.next()){var J=g.value;if(J.push(w),I<=J.length)_=_!==null&&_!==void 0?_:[],_.push(J)}}catch(E){B={error:E}}finally{try{if(g&&!g.done&&(A=F.return))A.call(F)}finally{if(B)throw B.error}}if(_)try{for(var K=B61(_),Q=K.next();!Q.done;Q=K.next()){var J=Q.value;bU4.arrRemove(C,J),Z.next(J)}}catch(E){V={error:E}}finally{try{if(Q&&!Q.done&&(X=K.return))X.call(K)}finally{if(V)throw V.error}}},function(){var w,B;try{for(var A=B61(C),V=A.next();!V.done;V=A.next()){var X=V.value;Z.next(X)}}catch(_){w={error:_}}finally{try{if(V&&!V.done&&(B=A.return))B.call(A)}finally{if(w)throw w.error}}Z.complete()},void 0,function(){C=null}))})}tQ.bufferCount=hU4});var V61=Y((If)=>{var jU4=If&&If.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(If,"__esModule",{value:!0});If.bufferTime=void 0;var kU4=od(),xU4=X2(),cU4=E2(),pU4=wV(),iU4=tI(),nU4=Id(),le1=BV();function rU4(I){var d,G,Z=[];for(var C=1;C<arguments.length;C++)Z[C-1]=arguments[C];var W=(d=nU4.popScheduler(Z))!==null&&d!==void 0?d:iU4.asyncScheduler,w=(G=Z[0])!==null&&G!==void 0?G:null,B=Z[1]||1/0;return xU4.operate(function(A,V){var X=[],_=!1,F=function(K){var{buffer:Q,subs:E}=K;E.unsubscribe(),pU4.arrRemove(X,K),V.next(Q),_&&g()},g=function(){if(X){var K=new kU4.Subscription;V.add(K);var Q=[],E={buffer:Q,subs:K};X.push(E),le1.executeSchedule(K,W,function(){return F(E)},I)}};if(w!==null&&w>=0)le1.executeSchedule(V,W,g,w,!0);else _=!0;g();var J=cU4.createOperatorSubscriber(V,function(K){var Q,E,S=X.slice();try{for(var P=jU4(S),$=P.next();!$.done;$=P.next()){var h=$.value,O=h.buffer;O.push(K),B<=O.length&&F(h)}}catch(T){Q={error:T}}finally{try{if($&&!$.done&&(E=P.return))E.call(P)}finally{if(Q)throw Q.error}}},function(){while(X===null||X===void 0?void 0:X.length)V.next(X.shift().buffer);J===null||J===void 0||J.unsubscribe(),V.complete(),V.unsubscribe()},void 0,function(){return X=null});A.subscribe(J)})}If.bufferTime=rU4});var Y61=Y((df)=>{var aU4=df&&df.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(df,"__esModule",{value:!0});df.bufferToggle=void 0;var sU4=od(),oU4=X2(),be1=M4(),X61=E2(),he1=k8(),eU4=wV();function tU4(I,d){return oU4.operate(function(G,Z){var C=[];be1.innerFrom(I).subscribe(X61.createOperatorSubscriber(Z,function(W){var w=[];C.push(w);var B=new sU4.Subscription,A=function(){eU4.arrRemove(C,w),Z.next(w),B.unsubscribe()};B.add(be1.innerFrom(d(W)).subscribe(X61.createOperatorSubscriber(Z,A,he1.noop)))},he1.noop)),G.subscribe(X61.createOperatorSubscriber(Z,function(W){var w,B;try{for(var A=aU4(C),V=A.next();!V.done;V=A.next()){var X=V.value;X.push(W)}}catch(_){w={error:_}}finally{try{if(V&&!V.done&&(B=A.return))B.call(A)}finally{if(w)throw w.error}}},function(){while(C.length>0)Z.next(C.shift());Z.complete()}))})}df.bufferToggle=tU4});var _61=Y((ke1)=>{Object.defineProperty(ke1,"__esModule",{value:!0});ke1.bufferWhen=void 0;var Iv4=X2(),dv4=k8(),je1=E2(),Gv4=M4();function Zv4(I){return Iv4.operate(function(d,G){var Z=null,C=null,W=function(){C===null||C===void 0||C.unsubscribe();var w=Z;Z=[],w&&G.next(w),Gv4.innerFrom(I()).subscribe(C=je1.createOperatorSubscriber(G,W,dv4.noop))};W(),d.subscribe(je1.createOperatorSubscriber(G,function(w){return Z===null||Z===void 0?void 0:Z.push(w)},function(){Z&&G.next(Z),G.complete()},void 0,function(){return Z=C=null}))})}ke1.bufferWhen=Zv4});var D61=Y((pe1)=>{Object.defineProperty(pe1,"__esModule",{value:!0});pe1.catchError=void 0;var Cv4=M4(),Wv4=E2(),wv4=X2();function ce1(I){return wv4.operate(function(d,G){var Z=null,C=!1,W;if(Z=d.subscribe(Wv4.createOperatorSubscriber(G,void 0,void 0,function(w){if(W=Cv4.innerFrom(I(w,ce1(I)(d))),Z)Z.unsubscribe(),Z=null,W.subscribe(G);else C=!0})),C)Z.unsubscribe(),Z=null,W.subscribe(G)})}pe1.catchError=ce1});var H61=Y((ne1)=>{Object.defineProperty(ne1,"__esModule",{value:!0});ne1.scanInternals=void 0;var Bv4=E2();function Av4(I,d,G,Z,C){return function(W,w){var B=G,A=d,V=0;W.subscribe(Bv4.createOperatorSubscriber(w,function(X){var _=V++;A=B?I(A,X,_):(B=!0,X),Z&&w.next(A)},C&&function(){B&&w.next(A),w.complete()}))}}ne1.scanInternals=Av4});var Eg=Y((ae1)=>{Object.defineProperty(ae1,"__esModule",{value:!0});ae1.reduce=void 0;var Vv4=H61(),Xv4=X2();function Yv4(I,d){return Xv4.operate(Vv4.scanInternals(I,d,arguments.length>=2,!1,!0))}ae1.reduce=Yv4});var ok=Y((oe1)=>{Object.defineProperty(oe1,"__esModule",{value:!0});oe1.toArray=void 0;var _v4=Eg(),Dv4=X2(),Hv4=function(I,d){return I.push(d),I};function Fv4(){return Dv4.operate(function(I,d){_v4.reduce(Hv4,[])(I).subscribe(d)})}oe1.toArray=Fv4});var F61=Y((te1)=>{Object.defineProperty(te1,"__esModule",{value:!0});te1.joinAllInternals=void 0;var gv4=x8(),Jv4=tY(),Kv4=HS(),Nv4=iw(),zv4=ok();function Qv4(I,d){return Kv4.pipe(zv4.toArray(),Nv4.mergeMap(function(G){return I(G)}),d?Jv4.mapOneOrManyArgs(d):gv4.identity)}te1.joinAllInternals=Qv4});var ek=Y((dt1)=>{Object.defineProperty(dt1,"__esModule",{value:!0});dt1.combineLatestAll=void 0;var fv4=nk(),qv4=F61();function Rv4(I){return qv4.joinAllInternals(fv4.combineLatest,I)}dt1.combineLatestAll=Rv4});var g61=Y((Zt1)=>{Object.defineProperty(Zt1,"__esModule",{value:!0});Zt1.combineAll=void 0;var Uv4=ek();Zt1.combineAll=Uv4.combineLatestAll});var J61=Y((C_)=>{var Wt1=C_&&C_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},wt1=C_&&C_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(C_,"__esModule",{value:!0});C_.combineLatest=void 0;var vv4=nk(),Ev4=X2(),Mv4=G_(),Sv4=tY(),Lv4=HS(),yv4=Id();function Bt1(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=yv4.popResultSelector(I);return G?Lv4.pipe(Bt1.apply(void 0,wt1([],Wt1(I))),Sv4.mapOneOrManyArgs(G)):Ev4.operate(function(Z,C){vv4.combineLatestInit(wt1([Z],Wt1(Mv4.argsOrArgArray(I))))(C)})}C_.combineLatest=Bt1});var K61=Y((W_)=>{var Pv4=W_&&W_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},$v4=W_&&W_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(W_,"__esModule",{value:!0});W_.combineLatestWith=void 0;var uv4=J61();function Tv4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return uv4.combineLatest.apply(void 0,$v4([],Pv4(I)))}W_.combineLatestWith=Tv4});var tk=Y((Vt1)=>{Object.defineProperty(Vt1,"__esModule",{value:!0});Vt1.concatMap=void 0;var At1=iw(),Ov4=d9();function mv4(I,d){return Ov4.isFunction(d)?At1.mergeMap(I,d,1):At1.mergeMap(I,1)}Vt1.concatMap=mv4});var N61=Y((_t1)=>{Object.defineProperty(_t1,"__esModule",{value:!0});_t1.concatMapTo=void 0;var Yt1=tk(),lv4=d9();function bv4(I,d){return lv4.isFunction(d)?Yt1.concatMap(function(){return I},d):Yt1.concatMap(function(){return I})}_t1.concatMapTo=bv4});var z61=Y((w_)=>{var hv4=w_&&w_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},jv4=w_&&w_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(w_,"__esModule",{value:!0});w_.concat=void 0;var kv4=X2(),xv4=KS(),cv4=Id(),pv4=AV();function iv4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=cv4.popScheduler(I);return kv4.operate(function(Z,C){xv4.concatAll()(pv4.from(jv4([Z],hv4(I)),G)).subscribe(C)})}w_.concat=iv4});var Q61=Y((B_)=>{var nv4=B_&&B_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},rv4=B_&&B_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(B_,"__esModule",{value:!0});B_.concatWith=void 0;var av4=z61();function sv4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return av4.concat.apply(void 0,rv4([],nv4(I)))}B_.concatWith=sv4});var gt1=Y((Ht1)=>{Object.defineProperty(Ht1,"__esModule",{value:!0});Ht1.fromSubscribable=void 0;var ov4=B9();function ev4(I){return new ov4.Observable(function(d){return I.subscribe(d)})}Ht1.fromSubscribable=ev4});var QS=Y((Jt1)=>{Object.defineProperty(Jt1,"__esModule",{value:!0});Jt1.connect=void 0;var tv4=c8(),IE4=M4(),dE4=X2(),GE4=gt1(),ZE4={connector:function(){return new tv4.Subject}};function CE4(I,d){if(d===void 0)d=ZE4;var G=d.connector;return dE4.operate(function(Z,C){var W=G();IE4.innerFrom(I(GE4.fromSubscribable(W))).subscribe(C),C.add(Z.subscribe(W))})}Jt1.connect=CE4});var f61=Y((Nt1)=>{Object.defineProperty(Nt1,"__esModule",{value:!0});Nt1.count=void 0;var WE4=Eg();function wE4(I){return WE4.reduce(function(d,G,Z){return!I||I(G,Z)?d+1:d},0)}Nt1.count=wE4});var q61=Y((ft1)=>{Object.defineProperty(ft1,"__esModule",{value:!0});ft1.debounce=void 0;var BE4=X2(),AE4=k8(),Qt1=E2(),VE4=M4();function XE4(I){return BE4.operate(function(d,G){var Z=!1,C=null,W=null,w=function(){if(W===null||W===void 0||W.unsubscribe(),W=null,Z){Z=!1;var B=C;C=null,G.next(B)}};d.subscribe(Qt1.createOperatorSubscriber(G,function(B){W===null||W===void 0||W.unsubscribe(),Z=!0,C=B,W=Qt1.createOperatorSubscriber(G,w,AE4.noop),VE4.innerFrom(I(B)).subscribe(W)},function(){w(),G.complete()},void 0,function(){C=W=null}))})}ft1.debounce=XE4});var R61=Y((Rt1)=>{Object.defineProperty(Rt1,"__esModule",{value:!0});Rt1.debounceTime=void 0;var YE4=tI(),_E4=X2(),DE4=E2();function HE4(I,d){if(d===void 0)d=YE4.asyncScheduler;return _E4.operate(function(G,Z){var C=null,W=null,w=null,B=function(){if(C){C.unsubscribe(),C=null;var V=W;W=null,Z.next(V)}};function A(){var V=w+I,X=d.now();if(X<V){C=this.schedule(void 0,V-X),Z.add(C);return}B()}G.subscribe(DE4.createOperatorSubscriber(Z,function(V){if(W=V,w=d.now(),!C)C=d.schedule(A,I),Z.add(C)},function(){B(),Z.complete()},void 0,function(){W=C=null}))})}Rt1.debounceTime=HE4});var Gf=Y((vt1)=>{Object.defineProperty(vt1,"__esModule",{value:!0});vt1.defaultIfEmpty=void 0;var FE4=X2(),gE4=E2();function JE4(I){return FE4.operate(function(d,G){var Z=!1;d.subscribe(gE4.createOperatorSubscriber(G,function(C){Z=!0,G.next(C)},function(){if(!Z)G.next(I);G.complete()}))})}vt1.defaultIfEmpty=JE4});var Zf=Y((Mt1)=>{Object.defineProperty(Mt1,"__esModule",{value:!0});Mt1.take=void 0;var KE4=OC(),NE4=X2(),zE4=E2();function QE4(I){return I<=0?function(){return KE4.EMPTY}:NE4.operate(function(d,G){var Z=0;d.subscribe(zE4.createOperatorSubscriber(G,function(C){if(++Z<=I){if(G.next(C),I<=Z)G.complete()}}))})}Mt1.take=QE4});var Ix=Y((Lt1)=>{Object.defineProperty(Lt1,"__esModule",{value:!0});Lt1.ignoreElements=void 0;var fE4=X2(),qE4=E2(),RE4=k8();function UE4(){return fE4.operate(function(I,d){I.subscribe(qE4.createOperatorSubscriber(d,RE4.noop))})}Lt1.ignoreElements=UE4});var dx=Y((Pt1)=>{Object.defineProperty(Pt1,"__esModule",{value:!0});Pt1.mapTo=void 0;var vE4=VV();function EE4(I){return vE4.map(function(){return I})}Pt1.mapTo=EE4});var Gx=Y((Ot1)=>{Object.defineProperty(Ot1,"__esModule",{value:!0});Ot1.delayWhen=void 0;var ME4=NS(),ut1=Zf(),SE4=Ix(),LE4=dx(),yE4=iw(),PE4=M4();function Tt1(I,d){if(d)return function(G){return ME4.concat(d.pipe(ut1.take(1),SE4.ignoreElements()),G.pipe(Tt1(I)))};return yE4.mergeMap(function(G,Z){return PE4.innerFrom(I(G,Z)).pipe(ut1.take(1),LE4.mapTo(G))})}Ot1.delayWhen=Tt1});var U61=Y((lt1)=>{Object.defineProperty(lt1,"__esModule",{value:!0});lt1.delay=void 0;var $E4=tI(),uE4=Gx(),TE4=d_();function OE4(I,d){if(d===void 0)d=$E4.asyncScheduler;var G=TE4.timer(I,d);return uE4.delayWhen(function(){return G})}lt1.delay=OE4});var v61=Y((ht1)=>{Object.defineProperty(ht1,"__esModule",{value:!0});ht1.dematerialize=void 0;var mE4=pk(),lE4=X2(),bE4=E2();function hE4(){return lE4.operate(function(I,d){I.subscribe(bE4.createOperatorSubscriber(d,function(G){return mE4.observeNotification(G,d)}))})}ht1.dematerialize=hE4});var E61=Y((xt1)=>{Object.defineProperty(xt1,"__esModule",{value:!0});xt1.distinct=void 0;var jE4=X2(),kt1=E2(),kE4=k8(),xE4=M4();function cE4(I,d){return jE4.operate(function(G,Z){var C=new Set;G.subscribe(kt1.createOperatorSubscriber(Z,function(W){var w=I?I(W):W;if(!C.has(w))C.add(w),Z.next(W)})),d&&xE4.innerFrom(d).subscribe(kt1.createOperatorSubscriber(Z,function(){return C.clear()},kE4.noop))})}xt1.distinct=cE4});var Zx=Y((pt1)=>{Object.defineProperty(pt1,"__esModule",{value:!0});pt1.distinctUntilChanged=void 0;var pE4=x8(),iE4=X2(),nE4=E2();function rE4(I,d){if(d===void 0)d=pE4.identity;return I=I!==null&&I!==void 0?I:aE4,iE4.operate(function(G,Z){var C,W=!0;G.subscribe(nE4.createOperatorSubscriber(Z,function(w){var B=d(w);if(W||!I(C,B))W=!1,C=B,Z.next(w)}))})}pt1.distinctUntilChanged=rE4;function aE4(I,d){return I===d}});var M61=Y((nt1)=>{Object.defineProperty(nt1,"__esModule",{value:!0});nt1.distinctUntilKeyChanged=void 0;var sE4=Zx();function oE4(I,d){return sE4.distinctUntilChanged(function(G,Z){return d?d(G[I],Z[I]):G[I]===Z[I]})}nt1.distinctUntilKeyChanged=oE4});var Cf=Y((at1)=>{Object.defineProperty(at1,"__esModule",{value:!0});at1.throwIfEmpty=void 0;var eE4=oY(),tE4=X2(),IM4=E2();function dM4(I){if(I===void 0)I=GM4;return tE4.operate(function(d,G){var Z=!1;d.subscribe(IM4.createOperatorSubscriber(G,function(C){Z=!0,G.next(C)},function(){return Z?G.complete():G.error(I())}))})}at1.throwIfEmpty=dM4;function GM4(){return new eE4.EmptyError}});var S61=Y((et1)=>{Object.defineProperty(et1,"__esModule",{value:!0});et1.elementAt=void 0;var ot1=i31(),ZM4=XV(),CM4=Cf(),WM4=Gf(),wM4=Zf();function BM4(I,d){if(I<0)throw new ot1.ArgumentOutOfRangeError;var G=arguments.length>=2;return function(Z){return Z.pipe(ZM4.filter(function(C,W){return W===I}),wM4.take(1),G?WM4.defaultIfEmpty(d):CM4.throwIfEmpty(function(){return new ot1.ArgumentOutOfRangeError}))}}et1.elementAt=BM4});var L61=Y((A_)=>{var AM4=A_&&A_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},VM4=A_&&A_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(A_,"__esModule",{value:!0});A_.endWith=void 0;var XM4=NS(),YM4=ck();function _M4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return function(G){return XM4.concat(G,YM4.of.apply(void 0,VM4([],AM4(I))))}}A_.endWith=_M4});var y61=Y((I10)=>{Object.defineProperty(I10,"__esModule",{value:!0});I10.every=void 0;var DM4=X2(),HM4=E2();function FM4(I,d){return DM4.operate(function(G,Z){var C=0;G.subscribe(HM4.createOperatorSubscriber(Z,function(W){if(!I.call(d,W,C++,G))Z.next(!1),Z.complete()},function(){Z.next(!0),Z.complete()}))})}I10.every=FM4});var Cx=Y((W10)=>{Object.defineProperty(W10,"__esModule",{value:!0});W10.exhaustMap=void 0;var gM4=VV(),G10=M4(),JM4=X2(),Z10=E2();function C10(I,d){if(d)return function(G){return G.pipe(C10(function(Z,C){return G10.innerFrom(I(Z,C)).pipe(gM4.map(function(W,w){return d(Z,W,C,w)}))}))};return JM4.operate(function(G,Z){var C=0,W=null,w=!1;G.subscribe(Z10.createOperatorSubscriber(Z,function(B){if(!W)W=Z10.createOperatorSubscriber(Z,void 0,function(){W=null,w&&Z.complete()}),G10.innerFrom(I(B,C++)).subscribe(W)},function(){w=!0,!W&&Z.complete()}))})}W10.exhaustMap=C10});var Wx=Y((B10)=>{Object.defineProperty(B10,"__esModule",{value:!0});B10.exhaustAll=void 0;var KM4=Cx(),NM4=x8();function zM4(){return KM4.exhaustMap(NM4.identity)}B10.exhaustAll=zM4});var P61=Y((V10)=>{Object.defineProperty(V10,"__esModule",{value:!0});V10.exhaust=void 0;var QM4=Wx();V10.exhaust=QM4.exhaustAll});var $61=Y((Y10)=>{Object.defineProperty(Y10,"__esModule",{value:!0});Y10.expand=void 0;var fM4=X2(),qM4=rk();function RM4(I,d,G){if(d===void 0)d=1/0;return d=(d||0)<1?1/0:d,fM4.operate(function(Z,C){return qM4.mergeInternals(Z,C,I,d,void 0,!0,G)})}Y10.expand=RM4});var u61=Y((D10)=>{Object.defineProperty(D10,"__esModule",{value:!0});D10.finalize=void 0;var UM4=X2();function vM4(I){return UM4.operate(function(d,G){try{d.subscribe(G)}finally{G.add(I)}})}D10.finalize=vM4});var wx=Y((g10)=>{Object.defineProperty(g10,"__esModule",{value:!0});g10.createFind=g10.find=void 0;var EM4=X2(),MM4=E2();function SM4(I,d){return EM4.operate(F10(I,d,"value"))}g10.find=SM4;function F10(I,d,G){var Z=G==="index";return function(C,W){var w=0;C.subscribe(MM4.createOperatorSubscriber(W,function(B){var A=w++;if(I.call(d,B,A,C))W.next(Z?A:B),W.complete()},function(){W.next(Z?-1:void 0),W.complete()}))}}g10.createFind=F10});var T61=Y((K10)=>{Object.defineProperty(K10,"__esModule",{value:!0});K10.findIndex=void 0;var yM4=X2(),PM4=wx();function $M4(I,d){return yM4.operate(PM4.createFind(I,d,"index"))}K10.findIndex=$M4});var O61=Y((z10)=>{Object.defineProperty(z10,"__esModule",{value:!0});z10.first=void 0;var uM4=oY(),TM4=XV(),OM4=Zf(),mM4=Gf(),lM4=Cf(),bM4=x8();function hM4(I,d){var G=arguments.length>=2;return function(Z){return Z.pipe(I?TM4.filter(function(C,W){return I(C,W,Z)}):bM4.identity,OM4.take(1),G?mM4.defaultIfEmpty(d):lM4.throwIfEmpty(function(){return new uM4.EmptyError}))}}z10.first=hM4});var m61=Y((q10)=>{Object.defineProperty(q10,"__esModule",{value:!0});q10.groupBy=void 0;var jM4=B9(),kM4=M4(),xM4=c8(),cM4=X2(),f10=E2();function pM4(I,d,G,Z){return cM4.operate(function(C,W){var w;if(!d||typeof d==="function")w=d;else G=d.duration,w=d.element,Z=d.connector;var B=new Map,A=function(J){B.forEach(J),J(W)},V=function(J){return A(function(K){return K.error(J)})},X=0,_=!1,F=new f10.OperatorSubscriber(W,function(J){try{var K=I(J),Q=B.get(K);if(!Q){B.set(K,Q=Z?Z():new xM4.Subject);var E=g(K,Q);if(W.next(E),G){var S=f10.createOperatorSubscriber(Q,function(){Q.complete(),S===null||S===void 0||S.unsubscribe()},void 0,void 0,function(){return B.delete(K)});F.add(kM4.innerFrom(G(E)).subscribe(S))}}Q.next(w?w(J):J)}catch(P){V(P)}},function(){return A(function(J){return J.complete()})},V,function(){return B.clear()},function(){return _=!0,X===0});C.subscribe(F);function g(J,K){var Q=new jM4.Observable(function(E){X++;var S=K.subscribe(E);return function(){S.unsubscribe(),--X===0&&_&&F.unsubscribe()}});return Q.key=J,Q}})}q10.groupBy=pM4});var l61=Y((U10)=>{Object.defineProperty(U10,"__esModule",{value:!0});U10.isEmpty=void 0;var iM4=X2(),nM4=E2();function rM4(){return iM4.operate(function(I,d){I.subscribe(nM4.createOperatorSubscriber(d,function(){d.next(!1),d.complete()},function(){d.next(!0),d.complete()}))})}U10.isEmpty=rM4});var Bx=Y((Wf)=>{var aM4=Wf&&Wf.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Wf,"__esModule",{value:!0});Wf.takeLast=void 0;var sM4=OC(),oM4=X2(),eM4=E2();function tM4(I){return I<=0?function(){return sM4.EMPTY}:oM4.operate(function(d,G){var Z=[];d.subscribe(eM4.createOperatorSubscriber(G,function(C){Z.push(C),I<Z.length&&Z.shift()},function(){var C,W;try{for(var w=aM4(Z),B=w.next();!B.done;B=w.next()){var A=B.value;G.next(A)}}catch(V){C={error:V}}finally{try{if(B&&!B.done&&(W=w.return))W.call(w)}finally{if(C)throw C.error}}G.complete()},void 0,function(){Z=null}))})}Wf.takeLast=tM4});var b61=Y((E10)=>{Object.defineProperty(E10,"__esModule",{value:!0});E10.last=void 0;var IS4=oY(),dS4=XV(),GS4=Bx(),ZS4=Cf(),CS4=Gf(),WS4=x8();function wS4(I,d){var G=arguments.length>=2;return function(Z){return Z.pipe(I?dS4.filter(function(C,W){return I(C,W,Z)}):WS4.identity,GS4.takeLast(1),G?CS4.defaultIfEmpty(d):ZS4.throwIfEmpty(function(){return new IS4.EmptyError}))}}E10.last=wS4});var j61=Y((S10)=>{Object.defineProperty(S10,"__esModule",{value:!0});S10.materialize=void 0;var h61=pk(),BS4=X2(),AS4=E2();function VS4(){return BS4.operate(function(I,d){I.subscribe(AS4.createOperatorSubscriber(d,function(G){d.next(h61.Notification.createNext(G))},function(){d.next(h61.Notification.createComplete()),d.complete()},function(G){d.next(h61.Notification.createError(G)),d.complete()}))})}S10.materialize=VS4});var k61=Y((y10)=>{Object.defineProperty(y10,"__esModule",{value:!0});y10.max=void 0;var XS4=Eg(),YS4=d9();function _S4(I){return XS4.reduce(YS4.isFunction(I)?function(d,G){return I(d,G)>0?d:G}:function(d,G){return d>G?d:G})}y10.max=_S4});var x61=Y(($10)=>{Object.defineProperty($10,"__esModule",{value:!0});$10.flatMap=void 0;var DS4=iw();$10.flatMap=DS4.mergeMap});var c61=Y((O10)=>{Object.defineProperty(O10,"__esModule",{value:!0});O10.mergeMapTo=void 0;var T10=iw(),HS4=d9();function FS4(I,d,G){if(G===void 0)G=1/0;if(HS4.isFunction(d))return T10.mergeMap(function(){return I},d,G);if(typeof d==="number")G=d;return T10.mergeMap(function(){return I},G)}O10.mergeMapTo=FS4});var p61=Y((l10)=>{Object.defineProperty(l10,"__esModule",{value:!0});l10.mergeScan=void 0;var gS4=X2(),JS4=rk();function KS4(I,d,G){if(G===void 0)G=1/0;return gS4.operate(function(Z,C){var W=d;return JS4.mergeInternals(Z,C,function(w,B){return I(W,w,B)},G,function(w){W=w},!1,void 0,function(){return W=null})})}l10.mergeScan=KS4});var i61=Y((V_)=>{var NS4=V_&&V_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},zS4=V_&&V_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(V_,"__esModule",{value:!0});V_.merge=void 0;var QS4=X2(),fS4=G_(),qS4=sQ(),h10=Id(),RS4=AV();function US4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=h10.popScheduler(I),Z=h10.popNumber(I,1/0);return I=fS4.argsOrArgArray(I),QS4.operate(function(C,W){qS4.mergeAll(Z)(RS4.from(zS4([C],NS4(I)),G)).subscribe(W)})}V_.merge=US4});var n61=Y((X_)=>{var vS4=X_&&X_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},ES4=X_&&X_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(X_,"__esModule",{value:!0});X_.mergeWith=void 0;var MS4=i61();function SS4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return MS4.merge.apply(void 0,ES4([],vS4(I)))}X_.mergeWith=SS4});var r61=Y((j10)=>{Object.defineProperty(j10,"__esModule",{value:!0});j10.min=void 0;var LS4=Eg(),yS4=d9();function PS4(I){return LS4.reduce(yS4.isFunction(I)?function(d,G){return I(d,G)<0?d:G}:function(d,G){return d<G?d:G})}j10.min=PS4});var fS=Y((c10)=>{Object.defineProperty(c10,"__esModule",{value:!0});c10.multicast=void 0;var $S4=FS(),x10=d9(),uS4=QS();function TS4(I,d){var G=x10.isFunction(I)?I:function(){return I};if(x10.isFunction(d))return uS4.connect(d,{connector:G});return function(Z){return new $S4.ConnectableObservable(Z,G)}}c10.multicast=TS4});var a61=Y((nw)=>{var OS4=nw&&nw.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},mS4=nw&&nw.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(nw,"__esModule",{value:!0});nw.onErrorResumeNext=nw.onErrorResumeNextWith=void 0;var lS4=G_(),bS4=G61();function i10(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=lS4.argsOrArgArray(I);return function(Z){return bS4.onErrorResumeNext.apply(void 0,mS4([Z],OS4(G)))}}nw.onErrorResumeNextWith=i10;nw.onErrorResumeNext=i10});var s61=Y((n10)=>{Object.defineProperty(n10,"__esModule",{value:!0});n10.pairwise=void 0;var hS4=X2(),jS4=E2();function kS4(){return hS4.operate(function(I,d){var G,Z=!1;I.subscribe(jS4.createOperatorSubscriber(d,function(C){var W=G;G=C,Z&&d.next([W,C]),Z=!0}))})}n10.pairwise=kS4});var o61=Y((a10)=>{Object.defineProperty(a10,"__esModule",{value:!0});a10.pluck=void 0;var xS4=VV();function cS4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=I.length;if(G===0)throw new Error("list of properties cannot be empty.");return xS4.map(function(Z){var C=Z;for(var W=0;W<G;W++){var w=C===null||C===void 0?void 0:C[I[W]];if(typeof w!=="undefined")C=w;else return}return C})}a10.pluck=cS4});var e61=Y((o10)=>{Object.defineProperty(o10,"__esModule",{value:!0});o10.publish=void 0;var pS4=c8(),iS4=fS(),nS4=QS();function rS4(I){return I?function(d){return nS4.connect(I)(d)}:function(d){return iS4.multicast(new pS4.Subject)(d)}}o10.publish=rS4});var t61=Y((t10)=>{Object.defineProperty(t10,"__esModule",{value:!0});t10.publishBehavior=void 0;var aS4=M31(),sS4=FS();function oS4(I){return function(d){var G=new aS4.BehaviorSubject(I);return new sS4.ConnectableObservable(d,function(){return G})}}t10.publishBehavior=oS4});var I81=Y((d00)=>{Object.defineProperty(d00,"__esModule",{value:!0});d00.publishLast=void 0;var eS4=hk(),tS4=FS();function IL4(){return function(I){var d=new eS4.AsyncSubject;return new tS4.ConnectableObservable(I,function(){return d})}}d00.publishLast=IL4});var d81=Y((C00)=>{Object.defineProperty(C00,"__esModule",{value:!0});C00.publishReplay=void 0;var dL4=bk(),GL4=fS(),Z00=d9();function ZL4(I,d,G,Z){if(G&&!Z00.isFunction(G))Z=G;var C=Z00.isFunction(G)?G:void 0;return function(W){return GL4.multicast(new dL4.ReplaySubject(I,d,Z),C)(W)}}C00.publishReplay=ZL4});var Ax=Y((Y_)=>{var CL4=Y_&&Y_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},WL4=Y_&&Y_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(Y_,"__esModule",{value:!0});Y_.raceWith=void 0;var wL4=C61(),BL4=X2(),AL4=x8();function VL4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return!I.length?AL4.identity:BL4.operate(function(G,Z){wL4.raceInit(WL4([G],CL4(I)))(Z)})}Y_.raceWith=VL4});var G81=Y((B00)=>{Object.defineProperty(B00,"__esModule",{value:!0});B00.repeat=void 0;var XL4=OC(),YL4=X2(),w00=E2(),_L4=M4(),DL4=d_();function HL4(I){var d,G=1/0,Z;if(I!=null)if(typeof I==="object")d=I.count,G=d===void 0?1/0:d,Z=I.delay;else G=I;return G<=0?function(){return XL4.EMPTY}:YL4.operate(function(C,W){var w=0,B,A=function(){if(B===null||B===void 0||B.unsubscribe(),B=null,Z!=null){var X=typeof Z==="number"?DL4.timer(Z):_L4.innerFrom(Z(w)),_=w00.createOperatorSubscriber(W,function(){_.unsubscribe(),V()});X.subscribe(_)}else V()},V=function(){var X=!1;if(B=C.subscribe(w00.createOperatorSubscriber(W,void 0,function(){if(++w<G)if(B)A();else X=!0;else W.complete()})),X)A()};V()})}B00.repeat=HL4});var Z81=Y((X00)=>{Object.defineProperty(X00,"__esModule",{value:!0});X00.repeatWhen=void 0;var FL4=M4(),gL4=c8(),JL4=X2(),V00=E2();function KL4(I){return JL4.operate(function(d,G){var Z,C=!1,W,w=!1,B=!1,A=function(){return B&&w&&(G.complete(),!0)},V=function(){if(!W)W=new gL4.Subject,FL4.innerFrom(I(W)).subscribe(V00.createOperatorSubscriber(G,function(){if(Z)X();else C=!0},function(){w=!0,A()}));return W},X=function(){if(B=!1,Z=d.subscribe(V00.createOperatorSubscriber(G,void 0,function(){B=!0,!A()&&V().next()})),C)Z.unsubscribe(),Z=null,C=!1,X()};X()})}X00.repeatWhen=KL4});var C81=Y((D00)=>{Object.defineProperty(D00,"__esModule",{value:!0});D00.retry=void 0;var NL4=X2(),_00=E2(),zL4=x8(),QL4=d_(),fL4=M4();function qL4(I){if(I===void 0)I=1/0;var d;if(I&&typeof I==="object")d=I;else d={count:I};var G=d.count,Z=G===void 0?1/0:G,C=d.delay,W=d.resetOnSuccess,w=W===void 0?!1:W;return Z<=0?zL4.identity:NL4.operate(function(B,A){var V=0,X,_=function(){var F=!1;if(X=B.subscribe(_00.createOperatorSubscriber(A,function(g){if(w)V=0;A.next(g)},void 0,function(g){if(V++<Z){var J=function(){if(X)X.unsubscribe(),X=null,_();else F=!0};if(C!=null){var K=typeof C==="number"?QL4.timer(C):fL4.innerFrom(C(g,V)),Q=_00.createOperatorSubscriber(A,function(){Q.unsubscribe(),J()},function(){A.complete()});K.subscribe(Q)}else J()}else A.error(g)})),F)X.unsubscribe(),X=null,_()};_()})}D00.retry=qL4});var W81=Y((g00)=>{Object.defineProperty(g00,"__esModule",{value:!0});g00.retryWhen=void 0;var RL4=M4(),UL4=c8(),vL4=X2(),F00=E2();function EL4(I){return vL4.operate(function(d,G){var Z,C=!1,W,w=function(){if(Z=d.subscribe(F00.createOperatorSubscriber(G,void 0,void 0,function(B){if(!W)W=new UL4.Subject,RL4.innerFrom(I(W)).subscribe(F00.createOperatorSubscriber(G,function(){return Z?w():C=!0}));if(W)W.next(B)})),C)Z.unsubscribe(),Z=null,C=!1,w()};w()})}g00.retryWhen=EL4});var Vx=Y((N00)=>{Object.defineProperty(N00,"__esModule",{value:!0});N00.sample=void 0;var ML4=M4(),SL4=X2(),LL4=k8(),K00=E2();function yL4(I){return SL4.operate(function(d,G){var Z=!1,C=null;d.subscribe(K00.createOperatorSubscriber(G,function(W){Z=!0,C=W})),ML4.innerFrom(I).subscribe(K00.createOperatorSubscriber(G,function(){if(Z){Z=!1;var W=C;C=null,G.next(W)}},LL4.noop))})}N00.sample=yL4});var w81=Y((Q00)=>{Object.defineProperty(Q00,"__esModule",{value:!0});Q00.sampleTime=void 0;var PL4=tI(),$L4=Vx(),uL4=I61();function TL4(I,d){if(d===void 0)d=PL4.asyncScheduler;return $L4.sample(uL4.interval(I,d))}Q00.sampleTime=TL4});var B81=Y((q00)=>{Object.defineProperty(q00,"__esModule",{value:!0});q00.scan=void 0;var OL4=X2(),mL4=H61();function lL4(I,d){return OL4.operate(mL4.scanInternals(I,d,arguments.length>=2,!0))}q00.scan=lL4});var A81=Y((v00)=>{Object.defineProperty(v00,"__esModule",{value:!0});v00.sequenceEqual=void 0;var bL4=X2(),hL4=E2(),jL4=M4();function kL4(I,d){if(d===void 0)d=function(G,Z){return G===Z};return bL4.operate(function(G,Z){var C=U00(),W=U00(),w=function(A){Z.next(A),Z.complete()},B=function(A,V){var X=hL4.createOperatorSubscriber(Z,function(_){var{buffer:F,complete:g}=V;if(F.length===0)g?w(!1):A.buffer.push(_);else!d(_,F.shift())&&w(!1)},function(){A.complete=!0;var{complete:_,buffer:F}=V;_&&w(F.length===0),X===null||X===void 0||X.unsubscribe()});return X};G.subscribe(B(C,W)),jL4.innerFrom(I).subscribe(B(W,C))})}v00.sequenceEqual=kL4;function U00(){return{buffer:[],complete:!1}}});var Xx=Y((__)=>{var xL4=__&&__.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},cL4=__&&__.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(__,"__esModule",{value:!0});__.share=void 0;var M00=M4(),pL4=c8(),S00=LQ(),iL4=X2();function nL4(I){if(I===void 0)I={};var d=I.connector,G=d===void 0?function(){return new pL4.Subject}:d,Z=I.resetOnError,C=Z===void 0?!0:Z,W=I.resetOnComplete,w=W===void 0?!0:W,B=I.resetOnRefCountZero,A=B===void 0?!0:B;return function(V){var X,_,F,g=0,J=!1,K=!1,Q=function(){_===null||_===void 0||_.unsubscribe(),_=void 0},E=function(){Q(),X=F=void 0,J=K=!1},S=function(){var P=X;E(),P===null||P===void 0||P.unsubscribe()};return iL4.operate(function(P,$){if(g++,!K&&!J)Q();var h=F=F!==null&&F!==void 0?F:G();if($.add(function(){if(g--,g===0&&!K&&!J)_=V81(S,A)}),h.subscribe($),!X&&g>0)X=new S00.SafeSubscriber({next:function(O){return h.next(O)},error:function(O){K=!0,Q(),_=V81(E,C,O),h.error(O)},complete:function(){J=!0,Q(),_=V81(E,w),h.complete()}}),M00.innerFrom(P).subscribe(X)})(V)}}__.share=nL4;function V81(I,d){var G=[];for(var Z=2;Z<arguments.length;Z++)G[Z-2]=arguments[Z];if(d===!0){I();return}if(d===!1)return;var C=new S00.SafeSubscriber({next:function(){C.unsubscribe(),I()}});return M00.innerFrom(d.apply(void 0,cL4([],xL4(G)))).subscribe(C)}});var X81=Y((L00)=>{Object.defineProperty(L00,"__esModule",{value:!0});L00.shareReplay=void 0;var rL4=bk(),aL4=Xx();function sL4(I,d,G){var Z,C,W,w,B=!1;if(I&&typeof I==="object")Z=I.bufferSize,w=Z===void 0?1/0:Z,C=I.windowTime,d=C===void 0?1/0:C,W=I.refCount,B=W===void 0?!1:W,G=I.scheduler;else w=I!==null&&I!==void 0?I:1/0;return aL4.share({connector:function(){return new rL4.ReplaySubject(w,d,G)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:B})}L00.shareReplay=sL4});var Y81=Y((P00)=>{Object.defineProperty(P00,"__esModule",{value:!0});P00.single=void 0;var oL4=oY(),eL4=r31(),tL4=n31(),Iy4=X2(),dy4=E2();function Gy4(I){return Iy4.operate(function(d,G){var Z=!1,C,W=!1,w=0;d.subscribe(dy4.createOperatorSubscriber(G,function(B){if(W=!0,!I||I(B,w++,d))Z&&G.error(new eL4.SequenceError("Too many matching values")),Z=!0,C=B},function(){if(Z)G.next(C),G.complete();else G.error(W?new tL4.NotFoundError("No matching values"):new oL4.EmptyError)}))})}P00.single=Gy4});var _81=Y((u00)=>{Object.defineProperty(u00,"__esModule",{value:!0});u00.skip=void 0;var Zy4=XV();function Cy4(I){return Zy4.filter(function(d,G){return I<=G})}u00.skip=Cy4});var D81=Y((O00)=>{Object.defineProperty(O00,"__esModule",{value:!0});O00.skipLast=void 0;var Wy4=x8(),wy4=X2(),By4=E2();function Ay4(I){return I<=0?Wy4.identity:wy4.operate(function(d,G){var Z=new Array(I),C=0;return d.subscribe(By4.createOperatorSubscriber(G,function(W){var w=C++;if(w<I)Z[w]=W;else{var B=w%I,A=Z[B];Z[B]=W,G.next(A)}})),function(){Z=null}})}O00.skipLast=Ay4});var H81=Y((b00)=>{Object.defineProperty(b00,"__esModule",{value:!0});b00.skipUntil=void 0;var Vy4=X2(),l00=E2(),Xy4=M4(),Yy4=k8();function _y4(I){return Vy4.operate(function(d,G){var Z=!1,C=l00.createOperatorSubscriber(G,function(){C===null||C===void 0||C.unsubscribe(),Z=!0},Yy4.noop);Xy4.innerFrom(I).subscribe(C),d.subscribe(l00.createOperatorSubscriber(G,function(W){return Z&&G.next(W)}))})}b00.skipUntil=_y4});var F81=Y((j00)=>{Object.defineProperty(j00,"__esModule",{value:!0});j00.skipWhile=void 0;var Dy4=X2(),Hy4=E2();function Fy4(I){return Dy4.operate(function(d,G){var Z=!1,C=0;d.subscribe(Hy4.createOperatorSubscriber(G,function(W){return(Z||(Z=!I(W,C++)))&&G.next(W)}))})}j00.skipWhile=Fy4});var g81=Y((c00)=>{Object.defineProperty(c00,"__esModule",{value:!0});c00.startWith=void 0;var x00=NS(),gy4=Id(),Jy4=X2();function Ky4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=gy4.popScheduler(I);return Jy4.operate(function(Z,C){(G?x00.concat(I,Z,G):x00.concat(I,Z)).subscribe(C)})}c00.startWith=Ky4});var wf=Y((n00)=>{Object.defineProperty(n00,"__esModule",{value:!0});n00.switchMap=void 0;var Ny4=M4(),zy4=X2(),i00=E2();function Qy4(I,d){return zy4.operate(function(G,Z){var C=null,W=0,w=!1,B=function(){return w&&!C&&Z.complete()};G.subscribe(i00.createOperatorSubscriber(Z,function(A){C===null||C===void 0||C.unsubscribe();var V=0,X=W++;Ny4.innerFrom(I(A,X)).subscribe(C=i00.createOperatorSubscriber(Z,function(_){return Z.next(d?d(A,_,X,V++):_)},function(){C=null,B()}))},function(){w=!0,B()}))})}n00.switchMap=Qy4});var J81=Y((a00)=>{Object.defineProperty(a00,"__esModule",{value:!0});a00.switchAll=void 0;var fy4=wf(),qy4=x8();function Ry4(){return fy4.switchMap(qy4.identity)}a00.switchAll=Ry4});var K81=Y((e00)=>{Object.defineProperty(e00,"__esModule",{value:!0});e00.switchMapTo=void 0;var o00=wf(),Uy4=d9();function vy4(I,d){return Uy4.isFunction(d)?o00.switchMap(function(){return I},d):o00.switchMap(function(){return I})}e00.switchMapTo=vy4});var N81=Y((I20)=>{Object.defineProperty(I20,"__esModule",{value:!0});I20.switchScan=void 0;var Ey4=wf(),My4=X2();function Sy4(I,d){return My4.operate(function(G,Z){var C=d;return Ey4.switchMap(function(W,w){return I(C,W,w)},function(W,w){return C=w,w})(G).subscribe(Z),function(){C=null}})}I20.switchScan=Sy4});var z81=Y((G20)=>{Object.defineProperty(G20,"__esModule",{value:!0});G20.takeUntil=void 0;var Ly4=X2(),yy4=E2(),Py4=M4(),$y4=k8();function uy4(I){return Ly4.operate(function(d,G){Py4.innerFrom(I).subscribe(yy4.createOperatorSubscriber(G,function(){return G.complete()},$y4.noop)),!G.closed&&d.subscribe(G)})}G20.takeUntil=uy4});var Q81=Y((C20)=>{Object.defineProperty(C20,"__esModule",{value:!0});C20.takeWhile=void 0;var Ty4=X2(),Oy4=E2();function my4(I,d){if(d===void 0)d=!1;return Ty4.operate(function(G,Z){var C=0;G.subscribe(Oy4.createOperatorSubscriber(Z,function(W){var w=I(W,C++);(w||d)&&Z.next(W),!w&&Z.complete()}))})}C20.takeWhile=my4});var f81=Y((w20)=>{Object.defineProperty(w20,"__esModule",{value:!0});w20.tap=void 0;var ly4=d9(),by4=X2(),hy4=E2(),jy4=x8();function ky4(I,d,G){var Z=ly4.isFunction(I)||d||G?{next:I,error:d,complete:G}:I;return Z?by4.operate(function(C,W){var w;(w=Z.subscribe)===null||w===void 0||w.call(Z);var B=!0;C.subscribe(hy4.createOperatorSubscriber(W,function(A){var V;(V=Z.next)===null||V===void 0||V.call(Z,A),W.next(A)},function(){var A;B=!1,(A=Z.complete)===null||A===void 0||A.call(Z),W.complete()},function(A){var V;B=!1,(V=Z.error)===null||V===void 0||V.call(Z,A),W.error(A)},function(){var A,V;if(B)(A=Z.unsubscribe)===null||A===void 0||A.call(Z);(V=Z.finalize)===null||V===void 0||V.call(Z)}))}):jy4.identity}w20.tap=ky4});var Yx=Y((V20)=>{Object.defineProperty(V20,"__esModule",{value:!0});V20.throttle=void 0;var xy4=X2(),A20=E2(),cy4=M4();function py4(I,d){return xy4.operate(function(G,Z){var C=d!==null&&d!==void 0?d:{},W=C.leading,w=W===void 0?!0:W,B=C.trailing,A=B===void 0?!1:B,V=!1,X=null,_=null,F=!1,g=function(){if(_===null||_===void 0||_.unsubscribe(),_=null,A)Q(),F&&Z.complete()},J=function(){_=null,F&&Z.complete()},K=function(E){return _=cy4.innerFrom(I(E)).subscribe(A20.createOperatorSubscriber(Z,g,J))},Q=function(){if(V){V=!1;var E=X;X=null,Z.next(E),!F&&K(E)}};G.subscribe(A20.createOperatorSubscriber(Z,function(E){V=!0,X=E,!(_&&!_.closed)&&(w?Q():K(E))},function(){F=!0,!(A&&V&&_&&!_.closed)&&Z.complete()}))})}V20.throttle=py4});var q81=Y((Y20)=>{Object.defineProperty(Y20,"__esModule",{value:!0});Y20.throttleTime=void 0;var iy4=tI(),ny4=Yx(),ry4=d_();function ay4(I,d,G){if(d===void 0)d=iy4.asyncScheduler;var Z=ry4.timer(I,d);return ny4.throttle(function(){return Z},G)}Y20.throttleTime=ay4});var R81=Y((H20)=>{Object.defineProperty(H20,"__esModule",{value:!0});H20.TimeInterval=H20.timeInterval=void 0;var sy4=tI(),oy4=X2(),ey4=E2();function ty4(I){if(I===void 0)I=sy4.asyncScheduler;return oy4.operate(function(d,G){var Z=I.now();d.subscribe(ey4.createOperatorSubscriber(G,function(C){var W=I.now(),w=W-Z;Z=W,G.next(new D20(C,w))}))})}H20.timeInterval=ty4;var D20=function(){function I(d,G){this.value=d,this.interval=G}return I}();H20.TimeInterval=D20});var U81=Y((g20)=>{Object.defineProperty(g20,"__esModule",{value:!0});g20.timeoutWith=void 0;var dP4=tI(),GP4=ik(),ZP4=JS();function CP4(I,d,G){var Z,C,W;if(G=G!==null&&G!==void 0?G:dP4.async,GP4.isValidDate(I))Z=I;else if(typeof I==="number")C=I;if(d)W=function(){return d};else throw new TypeError("No observable provided to switch to");if(Z==null&&C==null)throw new TypeError("No timeout provided.");return ZP4.timeout({first:Z,each:C,scheduler:G,with:W})}g20.timeoutWith=CP4});var v81=Y((K20)=>{Object.defineProperty(K20,"__esModule",{value:!0});K20.timestamp=void 0;var WP4=lk(),wP4=VV();function BP4(I){if(I===void 0)I=WP4.dateTimestampProvider;return wP4.map(function(d){return{value:d,timestamp:I.now()}})}K20.timestamp=BP4});var E81=Y((f20)=>{Object.defineProperty(f20,"__esModule",{value:!0});f20.window=void 0;var z20=c8(),AP4=X2(),Q20=E2(),VP4=k8(),XP4=M4();function YP4(I){return AP4.operate(function(d,G){var Z=new z20.Subject;G.next(Z.asObservable());var C=function(W){Z.error(W),G.error(W)};return d.subscribe(Q20.createOperatorSubscriber(G,function(W){return Z===null||Z===void 0?void 0:Z.next(W)},function(){Z.complete(),G.complete()},C)),XP4.innerFrom(I).subscribe(Q20.createOperatorSubscriber(G,function(){Z.complete(),G.next(Z=new z20.Subject)},VP4.noop,C)),function(){Z===null||Z===void 0||Z.unsubscribe(),Z=null}})}f20.window=YP4});var M81=Y((Bf)=>{var _P4=Bf&&Bf.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Bf,"__esModule",{value:!0});Bf.windowCount=void 0;var R20=c8(),DP4=X2(),HP4=E2();function FP4(I,d){if(d===void 0)d=0;var G=d>0?d:I;return DP4.operate(function(Z,C){var W=[new R20.Subject],w=[],B=0;C.next(W[0].asObservable()),Z.subscribe(HP4.createOperatorSubscriber(C,function(A){var V,X;try{for(var _=_P4(W),F=_.next();!F.done;F=_.next()){var g=F.value;g.next(A)}}catch(Q){V={error:Q}}finally{try{if(F&&!F.done&&(X=_.return))X.call(_)}finally{if(V)throw V.error}}var J=B-I+1;if(J>=0&&J%G===0)W.shift().complete();if(++B%G===0){var K=new R20.Subject;W.push(K),C.next(K.asObservable())}},function(){while(W.length>0)W.shift().complete();C.complete()},function(A){while(W.length>0)W.shift().error(A);C.error(A)},function(){w=null,W=null}))})}Bf.windowCount=FP4});var S81=Y((v20)=>{Object.defineProperty(v20,"__esModule",{value:!0});v20.windowTime=void 0;var gP4=c8(),JP4=tI(),KP4=od(),NP4=X2(),zP4=E2(),QP4=wV(),fP4=Id(),U20=BV();function qP4(I){var d,G,Z=[];for(var C=1;C<arguments.length;C++)Z[C-1]=arguments[C];var W=(d=fP4.popScheduler(Z))!==null&&d!==void 0?d:JP4.asyncScheduler,w=(G=Z[0])!==null&&G!==void 0?G:null,B=Z[1]||1/0;return NP4.operate(function(A,V){var X=[],_=!1,F=function(Q){var{window:E,subs:S}=Q;E.complete(),S.unsubscribe(),QP4.arrRemove(X,Q),_&&g()},g=function(){if(X){var Q=new KP4.Subscription;V.add(Q);var E=new gP4.Subject,S={window:E,subs:Q,seen:0};X.push(S),V.next(E.asObservable()),U20.executeSchedule(Q,W,function(){return F(S)},I)}};if(w!==null&&w>=0)U20.executeSchedule(V,W,g,w,!0);else _=!0;g();var J=function(Q){return X.slice().forEach(Q)},K=function(Q){J(function(E){var S=E.window;return Q(S)}),Q(V),V.unsubscribe()};return A.subscribe(zP4.createOperatorSubscriber(V,function(Q){J(function(E){E.window.next(Q),B<=++E.seen&&F(E)})},function(){return K(function(Q){return Q.complete()})},function(Q){return K(function(E){return E.error(Q)})})),function(){X=null}})}v20.windowTime=qP4});var y81=Y((Af)=>{var RP4=Af&&Af.__values||function(I){var d=typeof Symbol==="function"&&Symbol.iterator,G=d&&I[d],Z=0;if(G)return G.call(I);if(I&&typeof I.length==="number")return{next:function(){if(I&&Z>=I.length)I=void 0;return{value:I&&I[Z++],done:!I}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Af,"__esModule",{value:!0});Af.windowToggle=void 0;var UP4=c8(),vP4=od(),EP4=X2(),M20=M4(),L81=E2(),S20=k8(),MP4=wV();function SP4(I,d){return EP4.operate(function(G,Z){var C=[],W=function(w){while(0<C.length)C.shift().error(w);Z.error(w)};M20.innerFrom(I).subscribe(L81.createOperatorSubscriber(Z,function(w){var B=new UP4.Subject;C.push(B);var A=new vP4.Subscription,V=function(){MP4.arrRemove(C,B),B.complete(),A.unsubscribe()},X;try{X=M20.innerFrom(d(w))}catch(_){W(_);return}Z.next(B.asObservable()),A.add(X.subscribe(L81.createOperatorSubscriber(Z,V,S20.noop,W)))},S20.noop)),G.subscribe(L81.createOperatorSubscriber(Z,function(w){var B,A,V=C.slice();try{for(var X=RP4(V),_=X.next();!_.done;_=X.next()){var F=_.value;F.next(w)}}catch(g){B={error:g}}finally{try{if(_&&!_.done&&(A=X.return))A.call(X)}finally{if(B)throw B.error}}},function(){while(0<C.length)C.shift().complete();Z.complete()},W,function(){while(0<C.length)C.shift().unsubscribe()}))})}Af.windowToggle=SP4});var P81=Y((y20)=>{Object.defineProperty(y20,"__esModule",{value:!0});y20.windowWhen=void 0;var LP4=c8(),yP4=X2(),L20=E2(),PP4=M4();function $P4(I){return yP4.operate(function(d,G){var Z,C,W=function(B){Z.error(B),G.error(B)},w=function(){C===null||C===void 0||C.unsubscribe(),Z===null||Z===void 0||Z.complete(),Z=new LP4.Subject,G.next(Z.asObservable());var B;try{B=PP4.innerFrom(I())}catch(A){W(A);return}B.subscribe(C=L20.createOperatorSubscriber(G,w,w,W))};w(),d.subscribe(L20.createOperatorSubscriber(G,function(B){return Z.next(B)},function(){Z.complete(),G.complete()},W,function(){C===null||C===void 0||C.unsubscribe(),Z=null}))})}y20.windowWhen=$P4});var $81=Y((D_)=>{var $20=D_&&D_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},u20=D_&&D_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(D_,"__esModule",{value:!0});D_.withLatestFrom=void 0;var uP4=X2(),T20=E2(),TP4=M4(),OP4=x8(),mP4=k8(),lP4=Id();function bP4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];var G=lP4.popResultSelector(I);return uP4.operate(function(Z,C){var W=I.length,w=new Array(W),B=I.map(function(){return!1}),A=!1,V=function(_){TP4.innerFrom(I[_]).subscribe(T20.createOperatorSubscriber(C,function(F){if(w[_]=F,!A&&!B[_])B[_]=!0,(A=B.every(OP4.identity))&&(B=null)},mP4.noop))};for(var X=0;X<W;X++)V(X);Z.subscribe(T20.createOperatorSubscriber(C,function(_){if(A){var F=u20([_],$20(w));C.next(G?G.apply(void 0,u20([],$20(F))):F)}}))})}D_.withLatestFrom=bP4});var u81=Y((O20)=>{Object.defineProperty(O20,"__esModule",{value:!0});O20.zipAll=void 0;var hP4=ak(),jP4=F61();function kP4(I){return jP4.joinAllInternals(hP4.zip,I)}O20.zipAll=kP4});var T81=Y((H_)=>{var xP4=H_&&H_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},cP4=H_&&H_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(H_,"__esModule",{value:!0});H_.zip=void 0;var pP4=ak(),iP4=X2();function nP4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return iP4.operate(function(G,Z){pP4.zip.apply(void 0,cP4([G],xP4(I))).subscribe(Z)})}H_.zip=nP4});var O81=Y((F_)=>{var rP4=F_&&F_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},aP4=F_&&F_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(F_,"__esModule",{value:!0});F_.zipWith=void 0;var sP4=T81();function oP4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return sP4.zip.apply(void 0,aP4([],rP4(I)))}F_.zipWith=oP4});var c20=Y((i)=>{var eP4=i&&i.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;Object.defineProperty(I,Z,{enumerable:!0,get:function(){return d[G]}})}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),tP4=i&&i.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))eP4(d,I,G)};Object.defineProperty(i,"__esModule",{value:!0});i.interval=i.iif=i.generate=i.fromEventPattern=i.fromEvent=i.from=i.forkJoin=i.empty=i.defer=i.connectable=i.concat=i.combineLatest=i.bindNodeCallback=i.bindCallback=i.UnsubscriptionError=i.TimeoutError=i.SequenceError=i.ObjectUnsubscribedError=i.NotFoundError=i.EmptyError=i.ArgumentOutOfRangeError=i.firstValueFrom=i.lastValueFrom=i.isObservable=i.identity=i.noop=i.pipe=i.NotificationKind=i.Notification=i.Subscriber=i.Subscription=i.Scheduler=i.VirtualAction=i.VirtualTimeScheduler=i.animationFrameScheduler=i.animationFrame=i.queueScheduler=i.queue=i.asyncScheduler=i.async=i.asapScheduler=i.asap=i.AsyncSubject=i.ReplaySubject=i.BehaviorSubject=i.Subject=i.animationFrames=i.observable=i.ConnectableObservable=i.Observable=void 0;i.filter=i.expand=i.exhaustMap=i.exhaustAll=i.exhaust=i.every=i.endWith=i.elementAt=i.distinctUntilKeyChanged=i.distinctUntilChanged=i.distinct=i.dematerialize=i.delayWhen=i.delay=i.defaultIfEmpty=i.debounceTime=i.debounce=i.count=i.connect=i.concatWith=i.concatMapTo=i.concatMap=i.concatAll=i.combineLatestWith=i.combineLatestAll=i.combineAll=i.catchError=i.bufferWhen=i.bufferToggle=i.bufferTime=i.bufferCount=i.buffer=i.auditTime=i.audit=i.config=i.NEVER=i.EMPTY=i.scheduled=i.zip=i.using=i.timer=i.throwError=i.range=i.race=i.partition=i.pairs=i.onErrorResumeNext=i.of=i.never=i.merge=void 0;i.switchMap=i.switchAll=i.subscribeOn=i.startWith=i.skipWhile=i.skipUntil=i.skipLast=i.skip=i.single=i.shareReplay=i.share=i.sequenceEqual=i.scan=i.sampleTime=i.sample=i.refCount=i.retryWhen=i.retry=i.repeatWhen=i.repeat=i.reduce=i.raceWith=i.publishReplay=i.publishLast=i.publishBehavior=i.publish=i.pluck=i.pairwise=i.onErrorResumeNextWith=i.observeOn=i.multicast=i.min=i.mergeWith=i.mergeScan=i.mergeMapTo=i.mergeMap=i.flatMap=i.mergeAll=i.max=i.materialize=i.mapTo=i.map=i.last=i.isEmpty=i.ignoreElements=i.groupBy=i.first=i.findIndex=i.find=i.finalize=void 0;i.zipWith=i.zipAll=i.withLatestFrom=i.windowWhen=i.windowToggle=i.windowTime=i.windowCount=i.window=i.toArray=i.timestamp=i.timeoutWith=i.timeout=i.timeInterval=i.throwIfEmpty=i.throttleTime=i.throttle=i.tap=i.takeWhile=i.takeUntil=i.takeLast=i.take=i.switchScan=i.switchMapTo=void 0;var I$4=B9();Object.defineProperty(i,"Observable",{enumerable:!0,get:function(){return I$4.Observable}});var d$4=FS();Object.defineProperty(i,"ConnectableObservable",{enumerable:!0,get:function(){return d$4.ConnectableObservable}});var G$4=DS();Object.defineProperty(i,"observable",{enumerable:!0,get:function(){return G$4.observable}});var Z$4=zr1();Object.defineProperty(i,"animationFrames",{enumerable:!0,get:function(){return Z$4.animationFrames}});var C$4=c8();Object.defineProperty(i,"Subject",{enumerable:!0,get:function(){return C$4.Subject}});var W$4=M31();Object.defineProperty(i,"BehaviorSubject",{enumerable:!0,get:function(){return W$4.BehaviorSubject}});var w$4=bk();Object.defineProperty(i,"ReplaySubject",{enumerable:!0,get:function(){return w$4.ReplaySubject}});var B$4=hk();Object.defineProperty(i,"AsyncSubject",{enumerable:!0,get:function(){return B$4.AsyncSubject}});var l20=nr1();Object.defineProperty(i,"asap",{enumerable:!0,get:function(){return l20.asap}});Object.defineProperty(i,"asapScheduler",{enumerable:!0,get:function(){return l20.asapScheduler}});var b20=tI();Object.defineProperty(i,"async",{enumerable:!0,get:function(){return b20.async}});Object.defineProperty(i,"asyncScheduler",{enumerable:!0,get:function(){return b20.asyncScheduler}});var h20=Ga1();Object.defineProperty(i,"queue",{enumerable:!0,get:function(){return h20.queue}});Object.defineProperty(i,"queueScheduler",{enumerable:!0,get:function(){return h20.queueScheduler}});var j20=Va1();Object.defineProperty(i,"animationFrame",{enumerable:!0,get:function(){return j20.animationFrame}});Object.defineProperty(i,"animationFrameScheduler",{enumerable:!0,get:function(){return j20.animationFrameScheduler}});var k20=_a1();Object.defineProperty(i,"VirtualTimeScheduler",{enumerable:!0,get:function(){return k20.VirtualTimeScheduler}});Object.defineProperty(i,"VirtualAction",{enumerable:!0,get:function(){return k20.VirtualAction}});var A$4=y31();Object.defineProperty(i,"Scheduler",{enumerable:!0,get:function(){return A$4.Scheduler}});var V$4=od();Object.defineProperty(i,"Subscription",{enumerable:!0,get:function(){return V$4.Subscription}});var X$4=LQ();Object.defineProperty(i,"Subscriber",{enumerable:!0,get:function(){return X$4.Subscriber}});var x20=pk();Object.defineProperty(i,"Notification",{enumerable:!0,get:function(){return x20.Notification}});Object.defineProperty(i,"NotificationKind",{enumerable:!0,get:function(){return x20.NotificationKind}});var Y$4=HS();Object.defineProperty(i,"pipe",{enumerable:!0,get:function(){return Y$4.pipe}});var _$4=k8();Object.defineProperty(i,"noop",{enumerable:!0,get:function(){return _$4.noop}});var D$4=x8();Object.defineProperty(i,"identity",{enumerable:!0,get:function(){return D$4.identity}});var H$4=Es1();Object.defineProperty(i,"isObservable",{enumerable:!0,get:function(){return H$4.isObservable}});var F$4=Ps1();Object.defineProperty(i,"lastValueFrom",{enumerable:!0,get:function(){return F$4.lastValueFrom}});var g$4=Ts1();Object.defineProperty(i,"firstValueFrom",{enumerable:!0,get:function(){return g$4.firstValueFrom}});var J$4=i31();Object.defineProperty(i,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return J$4.ArgumentOutOfRangeError}});var K$4=oY();Object.defineProperty(i,"EmptyError",{enumerable:!0,get:function(){return K$4.EmptyError}});var N$4=n31();Object.defineProperty(i,"NotFoundError",{enumerable:!0,get:function(){return N$4.NotFoundError}});var z$4=R31();Object.defineProperty(i,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return z$4.ObjectUnsubscribedError}});var Q$4=r31();Object.defineProperty(i,"SequenceError",{enumerable:!0,get:function(){return Q$4.SequenceError}});var f$4=JS();Object.defineProperty(i,"TimeoutError",{enumerable:!0,get:function(){return f$4.TimeoutError}});var q$4=Y31();Object.defineProperty(i,"UnsubscriptionError",{enumerable:!0,get:function(){return q$4.UnsubscriptionError}});var R$4=es1();Object.defineProperty(i,"bindCallback",{enumerable:!0,get:function(){return R$4.bindCallback}});var U$4=do1();Object.defineProperty(i,"bindNodeCallback",{enumerable:!0,get:function(){return U$4.bindNodeCallback}});var v$4=nk();Object.defineProperty(i,"combineLatest",{enumerable:!0,get:function(){return v$4.combineLatest}});var E$4=NS();Object.defineProperty(i,"concat",{enumerable:!0,get:function(){return E$4.concat}});var M$4=So1();Object.defineProperty(i,"connectable",{enumerable:!0,get:function(){return M$4.connectable}});var S$4=zS();Object.defineProperty(i,"defer",{enumerable:!0,get:function(){return S$4.defer}});var L$4=OC();Object.defineProperty(i,"empty",{enumerable:!0,get:function(){return L$4.empty}});var y$4=Po1();Object.defineProperty(i,"forkJoin",{enumerable:!0,get:function(){return y$4.forkJoin}});var P$4=AV();Object.defineProperty(i,"from",{enumerable:!0,get:function(){return P$4.from}});var $$4=uo1();Object.defineProperty(i,"fromEvent",{enumerable:!0,get:function(){return $$4.fromEvent}});var u$4=lo1();Object.defineProperty(i,"fromEventPattern",{enumerable:!0,get:function(){return u$4.fromEventPattern}});var T$4=ho1();Object.defineProperty(i,"generate",{enumerable:!0,get:function(){return T$4.generate}});var O$4=xo1();Object.defineProperty(i,"iif",{enumerable:!0,get:function(){return O$4.iif}});var m$4=I61();Object.defineProperty(i,"interval",{enumerable:!0,get:function(){return m$4.interval}});var l$4=oo1();Object.defineProperty(i,"merge",{enumerable:!0,get:function(){return l$4.merge}});var b$4=d61();Object.defineProperty(i,"never",{enumerable:!0,get:function(){return b$4.never}});var h$4=ck();Object.defineProperty(i,"of",{enumerable:!0,get:function(){return h$4.of}});var j$4=G61();Object.defineProperty(i,"onErrorResumeNext",{enumerable:!0,get:function(){return j$4.onErrorResumeNext}});var k$4=Ae1();Object.defineProperty(i,"pairs",{enumerable:!0,get:function(){return k$4.pairs}});var x$4=Je1();Object.defineProperty(i,"partition",{enumerable:!0,get:function(){return x$4.partition}});var c$4=C61();Object.defineProperty(i,"race",{enumerable:!0,get:function(){return c$4.race}});var p$4=Re1();Object.defineProperty(i,"range",{enumerable:!0,get:function(){return p$4.range}});var i$4=p31();Object.defineProperty(i,"throwError",{enumerable:!0,get:function(){return i$4.throwError}});var n$4=d_();Object.defineProperty(i,"timer",{enumerable:!0,get:function(){return n$4.timer}});var r$4=Ee1();Object.defineProperty(i,"using",{enumerable:!0,get:function(){return r$4.using}});var a$4=ak();Object.defineProperty(i,"zip",{enumerable:!0,get:function(){return a$4.zip}});var s$4=c31();Object.defineProperty(i,"scheduled",{enumerable:!0,get:function(){return s$4.scheduled}});var o$4=OC();Object.defineProperty(i,"EMPTY",{enumerable:!0,get:function(){return o$4.EMPTY}});var e$4=d61();Object.defineProperty(i,"NEVER",{enumerable:!0,get:function(){return e$4.NEVER}});tP4(Se1(),i);var t$4=SQ();Object.defineProperty(i,"config",{enumerable:!0,get:function(){return t$4.config}});var Iu4=sk();Object.defineProperty(i,"audit",{enumerable:!0,get:function(){return Iu4.audit}});var du4=W61();Object.defineProperty(i,"auditTime",{enumerable:!0,get:function(){return du4.auditTime}});var Gu4=w61();Object.defineProperty(i,"buffer",{enumerable:!0,get:function(){return Gu4.buffer}});var Zu4=A61();Object.defineProperty(i,"bufferCount",{enumerable:!0,get:function(){return Zu4.bufferCount}});var Cu4=V61();Object.defineProperty(i,"bufferTime",{enumerable:!0,get:function(){return Cu4.bufferTime}});var Wu4=Y61();Object.defineProperty(i,"bufferToggle",{enumerable:!0,get:function(){return Wu4.bufferToggle}});var wu4=_61();Object.defineProperty(i,"bufferWhen",{enumerable:!0,get:function(){return wu4.bufferWhen}});var Bu4=D61();Object.defineProperty(i,"catchError",{enumerable:!0,get:function(){return Bu4.catchError}});var Au4=g61();Object.defineProperty(i,"combineAll",{enumerable:!0,get:function(){return Au4.combineAll}});var Vu4=ek();Object.defineProperty(i,"combineLatestAll",{enumerable:!0,get:function(){return Vu4.combineLatestAll}});var Xu4=K61();Object.defineProperty(i,"combineLatestWith",{enumerable:!0,get:function(){return Xu4.combineLatestWith}});var Yu4=KS();Object.defineProperty(i,"concatAll",{enumerable:!0,get:function(){return Yu4.concatAll}});var _u4=tk();Object.defineProperty(i,"concatMap",{enumerable:!0,get:function(){return _u4.concatMap}});var Du4=N61();Object.defineProperty(i,"concatMapTo",{enumerable:!0,get:function(){return Du4.concatMapTo}});var Hu4=Q61();Object.defineProperty(i,"concatWith",{enumerable:!0,get:function(){return Hu4.concatWith}});var Fu4=QS();Object.defineProperty(i,"connect",{enumerable:!0,get:function(){return Fu4.connect}});var gu4=f61();Object.defineProperty(i,"count",{enumerable:!0,get:function(){return gu4.count}});var Ju4=q61();Object.defineProperty(i,"debounce",{enumerable:!0,get:function(){return Ju4.debounce}});var Ku4=R61();Object.defineProperty(i,"debounceTime",{enumerable:!0,get:function(){return Ku4.debounceTime}});var Nu4=Gf();Object.defineProperty(i,"defaultIfEmpty",{enumerable:!0,get:function(){return Nu4.defaultIfEmpty}});var zu4=U61();Object.defineProperty(i,"delay",{enumerable:!0,get:function(){return zu4.delay}});var Qu4=Gx();Object.defineProperty(i,"delayWhen",{enumerable:!0,get:function(){return Qu4.delayWhen}});var fu4=v61();Object.defineProperty(i,"dematerialize",{enumerable:!0,get:function(){return fu4.dematerialize}});var qu4=E61();Object.defineProperty(i,"distinct",{enumerable:!0,get:function(){return qu4.distinct}});var Ru4=Zx();Object.defineProperty(i,"distinctUntilChanged",{enumerable:!0,get:function(){return Ru4.distinctUntilChanged}});var Uu4=M61();Object.defineProperty(i,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return Uu4.distinctUntilKeyChanged}});var vu4=S61();Object.defineProperty(i,"elementAt",{enumerable:!0,get:function(){return vu4.elementAt}});var Eu4=L61();Object.defineProperty(i,"endWith",{enumerable:!0,get:function(){return Eu4.endWith}});var Mu4=y61();Object.defineProperty(i,"every",{enumerable:!0,get:function(){return Mu4.every}});var Su4=P61();Object.defineProperty(i,"exhaust",{enumerable:!0,get:function(){return Su4.exhaust}});var Lu4=Wx();Object.defineProperty(i,"exhaustAll",{enumerable:!0,get:function(){return Lu4.exhaustAll}});var yu4=Cx();Object.defineProperty(i,"exhaustMap",{enumerable:!0,get:function(){return yu4.exhaustMap}});var Pu4=$61();Object.defineProperty(i,"expand",{enumerable:!0,get:function(){return Pu4.expand}});var $u4=XV();Object.defineProperty(i,"filter",{enumerable:!0,get:function(){return $u4.filter}});var uu4=u61();Object.defineProperty(i,"finalize",{enumerable:!0,get:function(){return uu4.finalize}});var Tu4=wx();Object.defineProperty(i,"find",{enumerable:!0,get:function(){return Tu4.find}});var Ou4=T61();Object.defineProperty(i,"findIndex",{enumerable:!0,get:function(){return Ou4.findIndex}});var mu4=O61();Object.defineProperty(i,"first",{enumerable:!0,get:function(){return mu4.first}});var lu4=m61();Object.defineProperty(i,"groupBy",{enumerable:!0,get:function(){return lu4.groupBy}});var bu4=Ix();Object.defineProperty(i,"ignoreElements",{enumerable:!0,get:function(){return bu4.ignoreElements}});var hu4=l61();Object.defineProperty(i,"isEmpty",{enumerable:!0,get:function(){return hu4.isEmpty}});var ju4=b61();Object.defineProperty(i,"last",{enumerable:!0,get:function(){return ju4.last}});var ku4=VV();Object.defineProperty(i,"map",{enumerable:!0,get:function(){return ku4.map}});var xu4=dx();Object.defineProperty(i,"mapTo",{enumerable:!0,get:function(){return xu4.mapTo}});var cu4=j61();Object.defineProperty(i,"materialize",{enumerable:!0,get:function(){return cu4.materialize}});var pu4=k61();Object.defineProperty(i,"max",{enumerable:!0,get:function(){return pu4.max}});var iu4=sQ();Object.defineProperty(i,"mergeAll",{enumerable:!0,get:function(){return iu4.mergeAll}});var nu4=x61();Object.defineProperty(i,"flatMap",{enumerable:!0,get:function(){return nu4.flatMap}});var ru4=iw();Object.defineProperty(i,"mergeMap",{enumerable:!0,get:function(){return ru4.mergeMap}});var au4=c61();Object.defineProperty(i,"mergeMapTo",{enumerable:!0,get:function(){return au4.mergeMapTo}});var su4=p61();Object.defineProperty(i,"mergeScan",{enumerable:!0,get:function(){return su4.mergeScan}});var ou4=n61();Object.defineProperty(i,"mergeWith",{enumerable:!0,get:function(){return ou4.mergeWith}});var eu4=r61();Object.defineProperty(i,"min",{enumerable:!0,get:function(){return eu4.min}});var tu4=fS();Object.defineProperty(i,"multicast",{enumerable:!0,get:function(){return tu4.multicast}});var IT4=rQ();Object.defineProperty(i,"observeOn",{enumerable:!0,get:function(){return IT4.observeOn}});var dT4=a61();Object.defineProperty(i,"onErrorResumeNextWith",{enumerable:!0,get:function(){return dT4.onErrorResumeNextWith}});var GT4=s61();Object.defineProperty(i,"pairwise",{enumerable:!0,get:function(){return GT4.pairwise}});var ZT4=o61();Object.defineProperty(i,"pluck",{enumerable:!0,get:function(){return ZT4.pluck}});var CT4=e61();Object.defineProperty(i,"publish",{enumerable:!0,get:function(){return CT4.publish}});var WT4=t61();Object.defineProperty(i,"publishBehavior",{enumerable:!0,get:function(){return WT4.publishBehavior}});var wT4=I81();Object.defineProperty(i,"publishLast",{enumerable:!0,get:function(){return wT4.publishLast}});var BT4=d81();Object.defineProperty(i,"publishReplay",{enumerable:!0,get:function(){return BT4.publishReplay}});var AT4=Ax();Object.defineProperty(i,"raceWith",{enumerable:!0,get:function(){return AT4.raceWith}});var VT4=Eg();Object.defineProperty(i,"reduce",{enumerable:!0,get:function(){return VT4.reduce}});var XT4=G81();Object.defineProperty(i,"repeat",{enumerable:!0,get:function(){return XT4.repeat}});var YT4=Z81();Object.defineProperty(i,"repeatWhen",{enumerable:!0,get:function(){return YT4.repeatWhen}});var _T4=C81();Object.defineProperty(i,"retry",{enumerable:!0,get:function(){return _T4.retry}});var DT4=W81();Object.defineProperty(i,"retryWhen",{enumerable:!0,get:function(){return DT4.retryWhen}});var HT4=mk();Object.defineProperty(i,"refCount",{enumerable:!0,get:function(){return HT4.refCount}});var FT4=Vx();Object.defineProperty(i,"sample",{enumerable:!0,get:function(){return FT4.sample}});var gT4=w81();Object.defineProperty(i,"sampleTime",{enumerable:!0,get:function(){return gT4.sampleTime}});var JT4=B81();Object.defineProperty(i,"scan",{enumerable:!0,get:function(){return JT4.scan}});var KT4=A81();Object.defineProperty(i,"sequenceEqual",{enumerable:!0,get:function(){return KT4.sequenceEqual}});var NT4=Xx();Object.defineProperty(i,"share",{enumerable:!0,get:function(){return NT4.share}});var zT4=X81();Object.defineProperty(i,"shareReplay",{enumerable:!0,get:function(){return zT4.shareReplay}});var QT4=Y81();Object.defineProperty(i,"single",{enumerable:!0,get:function(){return QT4.single}});var fT4=_81();Object.defineProperty(i,"skip",{enumerable:!0,get:function(){return fT4.skip}});var qT4=D81();Object.defineProperty(i,"skipLast",{enumerable:!0,get:function(){return qT4.skipLast}});var RT4=H81();Object.defineProperty(i,"skipUntil",{enumerable:!0,get:function(){return RT4.skipUntil}});var UT4=F81();Object.defineProperty(i,"skipWhile",{enumerable:!0,get:function(){return UT4.skipWhile}});var vT4=g81();Object.defineProperty(i,"startWith",{enumerable:!0,get:function(){return vT4.startWith}});var ET4=aQ();Object.defineProperty(i,"subscribeOn",{enumerable:!0,get:function(){return ET4.subscribeOn}});var MT4=J81();Object.defineProperty(i,"switchAll",{enumerable:!0,get:function(){return MT4.switchAll}});var ST4=wf();Object.defineProperty(i,"switchMap",{enumerable:!0,get:function(){return ST4.switchMap}});var LT4=K81();Object.defineProperty(i,"switchMapTo",{enumerable:!0,get:function(){return LT4.switchMapTo}});var yT4=N81();Object.defineProperty(i,"switchScan",{enumerable:!0,get:function(){return yT4.switchScan}});var PT4=Zf();Object.defineProperty(i,"take",{enumerable:!0,get:function(){return PT4.take}});var $T4=Bx();Object.defineProperty(i,"takeLast",{enumerable:!0,get:function(){return $T4.takeLast}});var uT4=z81();Object.defineProperty(i,"takeUntil",{enumerable:!0,get:function(){return uT4.takeUntil}});var TT4=Q81();Object.defineProperty(i,"takeWhile",{enumerable:!0,get:function(){return TT4.takeWhile}});var OT4=f81();Object.defineProperty(i,"tap",{enumerable:!0,get:function(){return OT4.tap}});var mT4=Yx();Object.defineProperty(i,"throttle",{enumerable:!0,get:function(){return mT4.throttle}});var lT4=q81();Object.defineProperty(i,"throttleTime",{enumerable:!0,get:function(){return lT4.throttleTime}});var bT4=Cf();Object.defineProperty(i,"throwIfEmpty",{enumerable:!0,get:function(){return bT4.throwIfEmpty}});var hT4=R81();Object.defineProperty(i,"timeInterval",{enumerable:!0,get:function(){return hT4.timeInterval}});var jT4=JS();Object.defineProperty(i,"timeout",{enumerable:!0,get:function(){return jT4.timeout}});var kT4=U81();Object.defineProperty(i,"timeoutWith",{enumerable:!0,get:function(){return kT4.timeoutWith}});var xT4=v81();Object.defineProperty(i,"timestamp",{enumerable:!0,get:function(){return xT4.timestamp}});var cT4=ok();Object.defineProperty(i,"toArray",{enumerable:!0,get:function(){return cT4.toArray}});var pT4=E81();Object.defineProperty(i,"window",{enumerable:!0,get:function(){return pT4.window}});var iT4=M81();Object.defineProperty(i,"windowCount",{enumerable:!0,get:function(){return iT4.windowCount}});var nT4=S81();Object.defineProperty(i,"windowTime",{enumerable:!0,get:function(){return nT4.windowTime}});var rT4=y81();Object.defineProperty(i,"windowToggle",{enumerable:!0,get:function(){return rT4.windowToggle}});var aT4=P81();Object.defineProperty(i,"windowWhen",{enumerable:!0,get:function(){return aT4.windowWhen}});var sT4=$81();Object.defineProperty(i,"withLatestFrom",{enumerable:!0,get:function(){return sT4.withLatestFrom}});var oT4=u81();Object.defineProperty(i,"zipAll",{enumerable:!0,get:function(){return oT4.zipAll}});var eT4=O81();Object.defineProperty(i,"zipWith",{enumerable:!0,get:function(){return eT4.zipWith}})});var r20=Y((i20)=>{Object.defineProperty(i20,"__esModule",{value:!0});i20.partition=void 0;var tT4=Z61(),p20=XV();function IO4(I,d){return function(G){return[p20.filter(I,d)(G),p20.filter(tT4.not(I,d))(G)]}}i20.partition=IO4});var a20=Y((g_)=>{var dO4=g_&&g_.__read||function(I,d){var G=typeof Symbol==="function"&&I[Symbol.iterator];if(!G)return I;var Z=G.call(I),C,W=[],w;try{while((d===void 0||d-- >0)&&!(C=Z.next()).done)W.push(C.value)}catch(B){w={error:B}}finally{try{if(C&&!C.done&&(G=Z.return))G.call(Z)}finally{if(w)throw w.error}}return W},GO4=g_&&g_.__spreadArray||function(I,d){for(var G=0,Z=d.length,C=I.length;G<Z;G++,C++)I[C]=d[G];return I};Object.defineProperty(g_,"__esModule",{value:!0});g_.race=void 0;var ZO4=G_(),CO4=Ax();function WO4(){var I=[];for(var d=0;d<arguments.length;d++)I[d]=arguments[d];return CO4.raceWith.apply(void 0,GO4([],dO4(ZO4.argsOrArgArray(I))))}g_.race=WO4});var s20=Y((Y0)=>{Object.defineProperty(Y0,"__esModule",{value:!0});Y0.mergeAll=Y0.merge=Y0.max=Y0.materialize=Y0.mapTo=Y0.map=Y0.last=Y0.isEmpty=Y0.ignoreElements=Y0.groupBy=Y0.first=Y0.findIndex=Y0.find=Y0.finalize=Y0.filter=Y0.expand=Y0.exhaustMap=Y0.exhaustAll=Y0.exhaust=Y0.every=Y0.endWith=Y0.elementAt=Y0.distinctUntilKeyChanged=Y0.distinctUntilChanged=Y0.distinct=Y0.dematerialize=Y0.delayWhen=Y0.delay=Y0.defaultIfEmpty=Y0.debounceTime=Y0.debounce=Y0.count=Y0.connect=Y0.concatWith=Y0.concatMapTo=Y0.concatMap=Y0.concatAll=Y0.concat=Y0.combineLatestWith=Y0.combineLatest=Y0.combineLatestAll=Y0.combineAll=Y0.catchError=Y0.bufferWhen=Y0.bufferToggle=Y0.bufferTime=Y0.bufferCount=Y0.buffer=Y0.auditTime=Y0.audit=void 0;Y0.timeInterval=Y0.throwIfEmpty=Y0.throttleTime=Y0.throttle=Y0.tap=Y0.takeWhile=Y0.takeUntil=Y0.takeLast=Y0.take=Y0.switchScan=Y0.switchMapTo=Y0.switchMap=Y0.switchAll=Y0.subscribeOn=Y0.startWith=Y0.skipWhile=Y0.skipUntil=Y0.skipLast=Y0.skip=Y0.single=Y0.shareReplay=Y0.share=Y0.sequenceEqual=Y0.scan=Y0.sampleTime=Y0.sample=Y0.refCount=Y0.retryWhen=Y0.retry=Y0.repeatWhen=Y0.repeat=Y0.reduce=Y0.raceWith=Y0.race=Y0.publishReplay=Y0.publishLast=Y0.publishBehavior=Y0.publish=Y0.pluck=Y0.partition=Y0.pairwise=Y0.onErrorResumeNext=Y0.observeOn=Y0.multicast=Y0.min=Y0.mergeWith=Y0.mergeScan=Y0.mergeMapTo=Y0.mergeMap=Y0.flatMap=void 0;Y0.zipWith=Y0.zipAll=Y0.zip=Y0.withLatestFrom=Y0.windowWhen=Y0.windowToggle=Y0.windowTime=Y0.windowCount=Y0.window=Y0.toArray=Y0.timestamp=Y0.timeoutWith=Y0.timeout=void 0;var wO4=sk();Object.defineProperty(Y0,"audit",{enumerable:!0,get:function(){return wO4.audit}});var BO4=W61();Object.defineProperty(Y0,"auditTime",{enumerable:!0,get:function(){return BO4.auditTime}});var AO4=w61();Object.defineProperty(Y0,"buffer",{enumerable:!0,get:function(){return AO4.buffer}});var VO4=A61();Object.defineProperty(Y0,"bufferCount",{enumerable:!0,get:function(){return VO4.bufferCount}});var XO4=V61();Object.defineProperty(Y0,"bufferTime",{enumerable:!0,get:function(){return XO4.bufferTime}});var YO4=Y61();Object.defineProperty(Y0,"bufferToggle",{enumerable:!0,get:function(){return YO4.bufferToggle}});var _O4=_61();Object.defineProperty(Y0,"bufferWhen",{enumerable:!0,get:function(){return _O4.bufferWhen}});var DO4=D61();Object.defineProperty(Y0,"catchError",{enumerable:!0,get:function(){return DO4.catchError}});var HO4=g61();Object.defineProperty(Y0,"combineAll",{enumerable:!0,get:function(){return HO4.combineAll}});var FO4=ek();Object.defineProperty(Y0,"combineLatestAll",{enumerable:!0,get:function(){return FO4.combineLatestAll}});var gO4=J61();Object.defineProperty(Y0,"combineLatest",{enumerable:!0,get:function(){return gO4.combineLatest}});var JO4=K61();Object.defineProperty(Y0,"combineLatestWith",{enumerable:!0,get:function(){return JO4.combineLatestWith}});var KO4=z61();Object.defineProperty(Y0,"concat",{enumerable:!0,get:function(){return KO4.concat}});var NO4=KS();Object.defineProperty(Y0,"concatAll",{enumerable:!0,get:function(){return NO4.concatAll}});var zO4=tk();Object.defineProperty(Y0,"concatMap",{enumerable:!0,get:function(){return zO4.concatMap}});var QO4=N61();Object.defineProperty(Y0,"concatMapTo",{enumerable:!0,get:function(){return QO4.concatMapTo}});var fO4=Q61();Object.defineProperty(Y0,"concatWith",{enumerable:!0,get:function(){return fO4.concatWith}});var qO4=QS();Object.defineProperty(Y0,"connect",{enumerable:!0,get:function(){return qO4.connect}});var RO4=f61();Object.defineProperty(Y0,"count",{enumerable:!0,get:function(){return RO4.count}});var UO4=q61();Object.defineProperty(Y0,"debounce",{enumerable:!0,get:function(){return UO4.debounce}});var vO4=R61();Object.defineProperty(Y0,"debounceTime",{enumerable:!0,get:function(){return vO4.debounceTime}});var EO4=Gf();Object.defineProperty(Y0,"defaultIfEmpty",{enumerable:!0,get:function(){return EO4.defaultIfEmpty}});var MO4=U61();Object.defineProperty(Y0,"delay",{enumerable:!0,get:function(){return MO4.delay}});var SO4=Gx();Object.defineProperty(Y0,"delayWhen",{enumerable:!0,get:function(){return SO4.delayWhen}});var LO4=v61();Object.defineProperty(Y0,"dematerialize",{enumerable:!0,get:function(){return LO4.dematerialize}});var yO4=E61();Object.defineProperty(Y0,"distinct",{enumerable:!0,get:function(){return yO4.distinct}});var PO4=Zx();Object.defineProperty(Y0,"distinctUntilChanged",{enumerable:!0,get:function(){return PO4.distinctUntilChanged}});var $O4=M61();Object.defineProperty(Y0,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return $O4.distinctUntilKeyChanged}});var uO4=S61();Object.defineProperty(Y0,"elementAt",{enumerable:!0,get:function(){return uO4.elementAt}});var TO4=L61();Object.defineProperty(Y0,"endWith",{enumerable:!0,get:function(){return TO4.endWith}});var OO4=y61();Object.defineProperty(Y0,"every",{enumerable:!0,get:function(){return OO4.every}});var mO4=P61();Object.defineProperty(Y0,"exhaust",{enumerable:!0,get:function(){return mO4.exhaust}});var lO4=Wx();Object.defineProperty(Y0,"exhaustAll",{enumerable:!0,get:function(){return lO4.exhaustAll}});var bO4=Cx();Object.defineProperty(Y0,"exhaustMap",{enumerable:!0,get:function(){return bO4.exhaustMap}});var hO4=$61();Object.defineProperty(Y0,"expand",{enumerable:!0,get:function(){return hO4.expand}});var jO4=XV();Object.defineProperty(Y0,"filter",{enumerable:!0,get:function(){return jO4.filter}});var kO4=u61();Object.defineProperty(Y0,"finalize",{enumerable:!0,get:function(){return kO4.finalize}});var xO4=wx();Object.defineProperty(Y0,"find",{enumerable:!0,get:function(){return xO4.find}});var cO4=T61();Object.defineProperty(Y0,"findIndex",{enumerable:!0,get:function(){return cO4.findIndex}});var pO4=O61();Object.defineProperty(Y0,"first",{enumerable:!0,get:function(){return pO4.first}});var iO4=m61();Object.defineProperty(Y0,"groupBy",{enumerable:!0,get:function(){return iO4.groupBy}});var nO4=Ix();Object.defineProperty(Y0,"ignoreElements",{enumerable:!0,get:function(){return nO4.ignoreElements}});var rO4=l61();Object.defineProperty(Y0,"isEmpty",{enumerable:!0,get:function(){return rO4.isEmpty}});var aO4=b61();Object.defineProperty(Y0,"last",{enumerable:!0,get:function(){return aO4.last}});var sO4=VV();Object.defineProperty(Y0,"map",{enumerable:!0,get:function(){return sO4.map}});var oO4=dx();Object.defineProperty(Y0,"mapTo",{enumerable:!0,get:function(){return oO4.mapTo}});var eO4=j61();Object.defineProperty(Y0,"materialize",{enumerable:!0,get:function(){return eO4.materialize}});var tO4=k61();Object.defineProperty(Y0,"max",{enumerable:!0,get:function(){return tO4.max}});var Im4=i61();Object.defineProperty(Y0,"merge",{enumerable:!0,get:function(){return Im4.merge}});var dm4=sQ();Object.defineProperty(Y0,"mergeAll",{enumerable:!0,get:function(){return dm4.mergeAll}});var Gm4=x61();Object.defineProperty(Y0,"flatMap",{enumerable:!0,get:function(){return Gm4.flatMap}});var Zm4=iw();Object.defineProperty(Y0,"mergeMap",{enumerable:!0,get:function(){return Zm4.mergeMap}});var Cm4=c61();Object.defineProperty(Y0,"mergeMapTo",{enumerable:!0,get:function(){return Cm4.mergeMapTo}});var Wm4=p61();Object.defineProperty(Y0,"mergeScan",{enumerable:!0,get:function(){return Wm4.mergeScan}});var wm4=n61();Object.defineProperty(Y0,"mergeWith",{enumerable:!0,get:function(){return wm4.mergeWith}});var Bm4=r61();Object.defineProperty(Y0,"min",{enumerable:!0,get:function(){return Bm4.min}});var Am4=fS();Object.defineProperty(Y0,"multicast",{enumerable:!0,get:function(){return Am4.multicast}});var Vm4=rQ();Object.defineProperty(Y0,"observeOn",{enumerable:!0,get:function(){return Vm4.observeOn}});var Xm4=a61();Object.defineProperty(Y0,"onErrorResumeNext",{enumerable:!0,get:function(){return Xm4.onErrorResumeNext}});var Ym4=s61();Object.defineProperty(Y0,"pairwise",{enumerable:!0,get:function(){return Ym4.pairwise}});var _m4=r20();Object.defineProperty(Y0,"partition",{enumerable:!0,get:function(){return _m4.partition}});var Dm4=o61();Object.defineProperty(Y0,"pluck",{enumerable:!0,get:function(){return Dm4.pluck}});var Hm4=e61();Object.defineProperty(Y0,"publish",{enumerable:!0,get:function(){return Hm4.publish}});var Fm4=t61();Object.defineProperty(Y0,"publishBehavior",{enumerable:!0,get:function(){return Fm4.publishBehavior}});var gm4=I81();Object.defineProperty(Y0,"publishLast",{enumerable:!0,get:function(){return gm4.publishLast}});var Jm4=d81();Object.defineProperty(Y0,"publishReplay",{enumerable:!0,get:function(){return Jm4.publishReplay}});var Km4=a20();Object.defineProperty(Y0,"race",{enumerable:!0,get:function(){return Km4.race}});var Nm4=Ax();Object.defineProperty(Y0,"raceWith",{enumerable:!0,get:function(){return Nm4.raceWith}});var zm4=Eg();Object.defineProperty(Y0,"reduce",{enumerable:!0,get:function(){return zm4.reduce}});var Qm4=G81();Object.defineProperty(Y0,"repeat",{enumerable:!0,get:function(){return Qm4.repeat}});var fm4=Z81();Object.defineProperty(Y0,"repeatWhen",{enumerable:!0,get:function(){return fm4.repeatWhen}});var qm4=C81();Object.defineProperty(Y0,"retry",{enumerable:!0,get:function(){return qm4.retry}});var Rm4=W81();Object.defineProperty(Y0,"retryWhen",{enumerable:!0,get:function(){return Rm4.retryWhen}});var Um4=mk();Object.defineProperty(Y0,"refCount",{enumerable:!0,get:function(){return Um4.refCount}});var vm4=Vx();Object.defineProperty(Y0,"sample",{enumerable:!0,get:function(){return vm4.sample}});var Em4=w81();Object.defineProperty(Y0,"sampleTime",{enumerable:!0,get:function(){return Em4.sampleTime}});var Mm4=B81();Object.defineProperty(Y0,"scan",{enumerable:!0,get:function(){return Mm4.scan}});var Sm4=A81();Object.defineProperty(Y0,"sequenceEqual",{enumerable:!0,get:function(){return Sm4.sequenceEqual}});var Lm4=Xx();Object.defineProperty(Y0,"share",{enumerable:!0,get:function(){return Lm4.share}});var ym4=X81();Object.defineProperty(Y0,"shareReplay",{enumerable:!0,get:function(){return ym4.shareReplay}});var Pm4=Y81();Object.defineProperty(Y0,"single",{enumerable:!0,get:function(){return Pm4.single}});var $m4=_81();Object.defineProperty(Y0,"skip",{enumerable:!0,get:function(){return $m4.skip}});var um4=D81();Object.defineProperty(Y0,"skipLast",{enumerable:!0,get:function(){return um4.skipLast}});var Tm4=H81();Object.defineProperty(Y0,"skipUntil",{enumerable:!0,get:function(){return Tm4.skipUntil}});var Om4=F81();Object.defineProperty(Y0,"skipWhile",{enumerable:!0,get:function(){return Om4.skipWhile}});var mm4=g81();Object.defineProperty(Y0,"startWith",{enumerable:!0,get:function(){return mm4.startWith}});var lm4=aQ();Object.defineProperty(Y0,"subscribeOn",{enumerable:!0,get:function(){return lm4.subscribeOn}});var bm4=J81();Object.defineProperty(Y0,"switchAll",{enumerable:!0,get:function(){return bm4.switchAll}});var hm4=wf();Object.defineProperty(Y0,"switchMap",{enumerable:!0,get:function(){return hm4.switchMap}});var jm4=K81();Object.defineProperty(Y0,"switchMapTo",{enumerable:!0,get:function(){return jm4.switchMapTo}});var km4=N81();Object.defineProperty(Y0,"switchScan",{enumerable:!0,get:function(){return km4.switchScan}});var xm4=Zf();Object.defineProperty(Y0,"take",{enumerable:!0,get:function(){return xm4.take}});var cm4=Bx();Object.defineProperty(Y0,"takeLast",{enumerable:!0,get:function(){return cm4.takeLast}});var pm4=z81();Object.defineProperty(Y0,"takeUntil",{enumerable:!0,get:function(){return pm4.takeUntil}});var im4=Q81();Object.defineProperty(Y0,"takeWhile",{enumerable:!0,get:function(){return im4.takeWhile}});var nm4=f81();Object.defineProperty(Y0,"tap",{enumerable:!0,get:function(){return nm4.tap}});var rm4=Yx();Object.defineProperty(Y0,"throttle",{enumerable:!0,get:function(){return rm4.throttle}});var am4=q81();Object.defineProperty(Y0,"throttleTime",{enumerable:!0,get:function(){return am4.throttleTime}});var sm4=Cf();Object.defineProperty(Y0,"throwIfEmpty",{enumerable:!0,get:function(){return sm4.throwIfEmpty}});var om4=R81();Object.defineProperty(Y0,"timeInterval",{enumerable:!0,get:function(){return om4.timeInterval}});var em4=JS();Object.defineProperty(Y0,"timeout",{enumerable:!0,get:function(){return em4.timeout}});var tm4=U81();Object.defineProperty(Y0,"timeoutWith",{enumerable:!0,get:function(){return tm4.timeoutWith}});var Il4=v81();Object.defineProperty(Y0,"timestamp",{enumerable:!0,get:function(){return Il4.timestamp}});var dl4=ok();Object.defineProperty(Y0,"toArray",{enumerable:!0,get:function(){return dl4.toArray}});var Gl4=E81();Object.defineProperty(Y0,"window",{enumerable:!0,get:function(){return Gl4.window}});var Zl4=M81();Object.defineProperty(Y0,"windowCount",{enumerable:!0,get:function(){return Zl4.windowCount}});var Cl4=S81();Object.defineProperty(Y0,"windowTime",{enumerable:!0,get:function(){return Cl4.windowTime}});var Wl4=y81();Object.defineProperty(Y0,"windowToggle",{enumerable:!0,get:function(){return Wl4.windowToggle}});var wl4=P81();Object.defineProperty(Y0,"windowWhen",{enumerable:!0,get:function(){return wl4.windowWhen}});var Bl4=$81();Object.defineProperty(Y0,"withLatestFrom",{enumerable:!0,get:function(){return Bl4.withLatestFrom}});var Al4=T81();Object.defineProperty(Y0,"zip",{enumerable:!0,get:function(){return Al4.zip}});var Vl4=u81();Object.defineProperty(Y0,"zipAll",{enumerable:!0,get:function(){return Vl4.zipAll}});var Xl4=O81();Object.defineProperty(Y0,"zipWith",{enumerable:!0,get:function(){return Xl4.zipWith}})});var m81=Y((wc9,o20)=>{function Hl4(I){G.debug=G,G.default=G,G.coerce=A,G.disable=w,G.enable=C,G.enabled=B,G.humanize=C51(),G.destroy=V,Object.keys(I).forEach((X)=>{G[X]=I[X]}),G.names=[],G.skips=[],G.formatters={};function d(X){let _=0;for(let F=0;F<X.length;F++)_=(_<<5)-_+X.charCodeAt(F),_|=0;return G.colors[Math.abs(_)%G.colors.length]}G.selectColor=d;function G(X){let _,F=null,g,J;function K(...Q){if(!K.enabled)return;let E=K,S=Number(new Date),P=S-(_||S);if(E.diff=P,E.prev=_,E.curr=S,_=S,Q[0]=G.coerce(Q[0]),typeof Q[0]!=="string")Q.unshift("%O");let $=0;Q[0]=Q[0].replace(/%([a-zA-Z%])/g,(O,T)=>{if(O==="%%")return"%";$++;let V1=G.formatters[T];if(typeof V1==="function"){let c=Q[$];O=V1.call(E,c),Q.splice($,1),$--}return O}),G.formatArgs.call(E,Q),(E.log||G.log).apply(E,Q)}if(K.namespace=X,K.useColors=G.useColors(),K.color=G.selectColor(X),K.extend=Z,K.destroy=G.destroy,Object.defineProperty(K,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(F!==null)return F;if(g!==G.namespaces)g=G.namespaces,J=G.enabled(X);return J},set:(Q)=>{F=Q}}),typeof G.init==="function")G.init(K);return K}function Z(X,_){let F=G(this.namespace+(typeof _==="undefined"?":":_)+X);return F.log=this.log,F}function C(X){G.save(X),G.namespaces=X,G.names=[],G.skips=[];let _=(typeof X==="string"?X:"").trim().replace(" ",",").split(",").filter(Boolean);for(let F of _)if(F[0]==="-")G.skips.push(F.slice(1));else G.names.push(F)}function W(X,_){let F=0,g=0,J=-1,K=0;while(F<X.length)if(g<_.length&&(_[g]===X[F]||_[g]==="*"))if(_[g]==="*")J=g,K=F,g++;else F++,g++;else if(J!==-1)g=J+1,K++,F=K;else return!1;while(g<_.length&&_[g]==="*")g++;return g===_.length}function w(){let X=[...G.names,...G.skips.map((_)=>"-"+_)].join(",");return G.enable(""),X}function B(X){for(let _ of G.skips)if(W(X,_))return!1;for(let _ of G.names)if(W(X,_))return!0;return!1}function A(X){if(X instanceof Error)return X.stack||X.message;return X}function V(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return G.enable(G.load()),G}o20.exports=Hl4});var t20=Y((e20,Dx)=>{e20.formatArgs=gl4;e20.save=Jl4;e20.load=Kl4;e20.useColors=Fl4;e20.storage=Nl4();e20.destroy=(()=>{let I=!1;return()=>{if(!I)I=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();e20.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Fl4(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let I;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(I=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(I[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function gl4(I){if(I[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+I[0]+(this.useColors?"%c ":" ")+"+"+Dx.exports.humanize(this.diff),!this.useColors)return;let d="color: "+this.color;I.splice(1,0,d,"color: inherit");let G=0,Z=0;I[0].replace(/%[a-zA-Z%]/g,(C)=>{if(C==="%%")return;if(G++,C==="%c")Z=G}),I.splice(Z,0,d)}e20.log=console.debug||console.log||(()=>{});function Jl4(I){try{if(I)e20.storage.setItem("debug",I);else e20.storage.removeItem("debug")}catch(d){}}function Kl4(){let I;try{I=e20.storage.getItem("debug")}catch(d){}if(!I&&typeof process!=="undefined"&&"env"in process)I=process.env.DEBUG;return I}function Nl4(){try{return localStorage}catch(I){}}Dx.exports=m81()(e20);var{formatters:zl4}=Dx.exports;zl4.j=function(I){try{return JSON.stringify(I)}catch(d){return"[UnexpectedJSONParseError]: "+d.message}}});var l81=Y((Ac9,I40)=>{I40.exports=(I,d=process.argv)=>{let G=I.startsWith("-")?"":I.length===1?"-":"--",Z=d.indexOf(G+I),C=d.indexOf("--");return Z!==-1&&(C===-1||Z<C)}});var Hx=Y((Vc9,G40)=>{var Ml4=B1("os"),d40=B1("tty"),HZ=l81(),{env:g8}=process,J_;if(HZ("no-color")||HZ("no-colors")||HZ("color=false")||HZ("color=never"))J_=0;else if(HZ("color")||HZ("colors")||HZ("color=true")||HZ("color=always"))J_=1;if("FORCE_COLOR"in g8)if(g8.FORCE_COLOR==="true")J_=1;else if(g8.FORCE_COLOR==="false")J_=0;else J_=g8.FORCE_COLOR.length===0?1:Math.min(parseInt(g8.FORCE_COLOR,10),3);function b81(I){if(I===0)return!1;return{level:I,hasBasic:!0,has256:I>=2,has16m:I>=3}}function h81(I,d){if(J_===0)return 0;if(HZ("color=16m")||HZ("color=full")||HZ("color=truecolor"))return 3;if(HZ("color=256"))return 2;if(I&&!d&&J_===void 0)return 0;let G=J_||0;if(g8.TERM==="dumb")return G;if(process.platform==="win32"){let Z=Ml4.release().split(".");if(Number(Z[0])>=10&&Number(Z[2])>=10586)return Number(Z[2])>=14931?3:2;return 1}if("CI"in g8){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((Z)=>(Z in g8))||g8.CI_NAME==="codeship")return 1;return G}if("TEAMCITY_VERSION"in g8)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g8.TEAMCITY_VERSION)?1:0;if(g8.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in g8){let Z=parseInt((g8.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g8.TERM_PROGRAM){case"iTerm.app":return Z>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(g8.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g8.TERM))return 1;if("COLORTERM"in g8)return 1;return G}function Sl4(I){let d=h81(I,I&&I.isTTY);return b81(d)}G40.exports={supportsColor:Sl4,stdout:b81(h81(!0,d40.isatty(1))),stderr:b81(h81(!0,d40.isatty(2)))}});var w40=Y((C40,gx)=>{var Ll4=B1("tty"),Fx=B1("util");C40.init=ml4;C40.log=ul4;C40.formatArgs=Pl4;C40.save=Tl4;C40.load=Ol4;C40.useColors=yl4;C40.destroy=Fx.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");C40.colors=[6,2,3,4,5,1];try{let I=Hx();if(I&&(I.stderr||I).level>=2)C40.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(I){}C40.inspectOpts=Object.keys(process.env).filter((I)=>{return/^debug_/i.test(I)}).reduce((I,d)=>{let G=d.substring(6).toLowerCase().replace(/_([a-z])/g,(C,W)=>{return W.toUpperCase()}),Z=process.env[d];if(/^(yes|on|true|enabled)$/i.test(Z))Z=!0;else if(/^(no|off|false|disabled)$/i.test(Z))Z=!1;else if(Z==="null")Z=null;else Z=Number(Z);return I[G]=Z,I},{});function yl4(){return"colors"in C40.inspectOpts?Boolean(C40.inspectOpts.colors):Ll4.isatty(process.stderr.fd)}function Pl4(I){let{namespace:d,useColors:G}=this;if(G){let Z=this.color,C="\x1B[3"+(Z<8?Z:"8;5;"+Z),W=`  ${C};1m${d} \x1B[0m`;I[0]=W+I[0].split(`
`).join(`
`+W),I.push(C+"m+"+gx.exports.humanize(this.diff)+"\x1B[0m")}else I[0]=$l4()+d+" "+I[0]}function $l4(){if(C40.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function ul4(...I){return process.stderr.write(Fx.formatWithOptions(C40.inspectOpts,...I)+`
`)}function Tl4(I){if(I)process.env.DEBUG=I;else delete process.env.DEBUG}function Ol4(){return process.env.DEBUG}function ml4(I){I.inspectOpts={};let d=Object.keys(C40.inspectOpts);for(let G=0;G<d.length;G++)I.inspectOpts[d[G]]=C40.inspectOpts[d[G]]}gx.exports=m81()(C40);var{formatters:Z40}=gx.exports;Z40.o=function(I){return this.inspectOpts.colors=this.useColors,Fx.inspect(I,this.inspectOpts).split(`
`).map((d)=>d.trim()).join(" ")};Z40.O=function(I){return this.inspectOpts.colors=this.useColors,Fx.inspect(I,this.inspectOpts)}});var qS=Y((Yc9,j81)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)j81.exports=t20();else j81.exports=w40()});var D40=Y((ed)=>{var __dirname="/Users/boris/code/claude-cli/node_modules/spawn-rx/lib/src",FZ=ed&&ed.__assign||function(){return FZ=Object.assign||function(I){for(var d,G=1,Z=arguments.length;G<Z;G++){d=arguments[G];for(var C in d)if(Object.prototype.hasOwnProperty.call(d,C))I[C]=d[C]}return I},FZ.apply(this,arguments)},pl4=ed&&ed.__rest||function(I,d){var G={};for(var Z in I)if(Object.prototype.hasOwnProperty.call(I,Z)&&d.indexOf(Z)<0)G[Z]=I[Z];if(I!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var C=0,Z=Object.getOwnPropertySymbols(I);C<Z.length;C++)if(d.indexOf(Z[C])<0&&Object.prototype.propertyIsEnumerable.call(I,Z[C]))G[Z[C]]=I[Z[C]]}return G},il4=ed&&ed.__spreadArray||function(I,d,G){if(G||arguments.length===2){for(var Z=0,C=d.length,W;Z<C;Z++)if(W||!(Z in d)){if(!W)W=Array.prototype.slice.call(d,0,Z);W[Z]=d[Z]}}return I.concat(W||Array.prototype.slice.call(d))};Object.defineProperty(ed,"__esModule",{value:!0});ed.findActualExecutable=Jx;ed.spawnDetached=k81;ed.spawn=vS;ed.spawnDetachedPromise=sl4;ed.spawnPromise=ol4;var RS=B1("path"),nl4=B1("net"),US=B1("fs"),K_=c20(),B40=s20(),rl4=B1("child_process"),al4=qS(),X40=process.platform==="win32",Vf=al4.default("spawn-rx");function A40(I){try{return US.statSync(I)}catch(d){return null}}function V40(I){if(I.match(/[\\/]/))return Vf("Path has slash in directory, bailing"),I;var d=RS.join(".",I);if(A40(d))return Vf("Found executable in currect directory: ".concat(d)),US.realpathSync(d);var G=process.env.PATH.split(X40?";":":");for(var Z=0,C=G;Z<C.length;Z++){var W=C[Z],w=RS.join(W,I);if(A40(w))return US.realpathSync(w)}return Vf("Failed to find executable anywhere in path"),I}function Jx(I,d){if(process.platform!=="win32")return{cmd:V40(I),args:d};if(!US.existsSync(I)){var G=[".exe",".bat",".cmd",".ps1"];for(var Z=0,C=G;Z<C.length;Z++){var W=C[Z],w=V40("".concat(I).concat(W));if(US.existsSync(w))return Jx(w,d)}}if(I.match(/\.ps1$/i)){var B=RS.join(process.env.SYSTEMROOT,"System32","WindowsPowerShell","v1.0","PowerShell.exe"),A=["-ExecutionPolicy","Unrestricted","-NoLogo","-NonInteractive","-File",I];return{cmd:B,args:A.concat(d)}}if(I.match(/\.(bat|cmd)$/i)){var B=RS.join(process.env.SYSTEMROOT,"System32","cmd.exe"),V=il4(["/C",I],d,!0);return{cmd:B,args:V}}if(I.match(/\.(js)$/i)){var B=process.execPath,X=[I];return{cmd:B,args:X.concat(d)}}return{cmd:I,args:d}}function k81(I,d,G){var Z=Jx(I,d!==null&&d!==void 0?d:[]),C=Z.cmd,W=Z.args;if(!X40)return vS(C,W,Object.assign({},G||{},{detached:!0}));var w=[C].concat(W),B=RS.join(__dirname,"..","..","vendor","jobber","Jobber.exe"),A=FZ(FZ({},G!==null&&G!==void 0?G:{}),{detached:!0,jobber:!0});return Vf("spawnDetached: ".concat(B,", ").concat(w)),vS(B,w,A)}function vS(I,d,G){G=G!==null&&G!==void 0?G:{};var Z=new K_.Observable(function(C){var{stdin:W,jobber:w,split:B,encoding:A}=G,V=pl4(G,["stdin","jobber","split","encoding"]),X=Jx(I,d),_=X.cmd,F=X.args;Vf("spawning process: ".concat(_," ").concat(F.join(),", ").concat(JSON.stringify(V)));var g=rl4.spawn(_,F,V),J=function(P){return function($){if($.length<1)return;if(G.echoOutput)(P==="stdout"?process.stdout:process.stderr).write($);var h="<< String sent back was too long >>";try{if(typeof $==="string")h=$.toString();else h=$.toString(A||"utf8")}catch(O){h="<< Lost chunk of process output for ".concat(I," - length was ").concat($.length,">>")}C.next({source:P,text:h})}},K=new K_.Subscription;if(G.stdin)if(g.stdin)K.add(G.stdin.subscribe({next:function(P){return g.stdin.write(P)},error:C.error.bind(C),complete:function(){return g.stdin.end()}}));else C.error(new Error("opts.stdio conflicts with provided spawn opts.stdin observable, 'pipe' is required"));var Q=null,E=null,S=!1;if(g.stdout)E=new K_.AsyncSubject,g.stdout.on("data",J("stdout")),g.stdout.on("close",function(){E.next(!0),E.complete()});else E=K_.of(!0);if(g.stderr)Q=new K_.AsyncSubject,g.stderr.on("data",J("stderr")),g.stderr.on("close",function(){Q.next(!0),Q.complete()});else Q=K_.of(!0);return g.on("error",function(P){S=!0,C.error(P)}),g.on("close",function(P){S=!0;var $=K_.merge(E,Q).pipe(B40.reduce(function(h){return h},!0));if(P===0)$.subscribe(function(){return C.complete()});else $.subscribe(function(){var h=new Error("Failed with exit code: ".concat(P));h.exitCode=P,h.code=P,C.error(h)})}),K.add(new K_.Subscription(function(){if(S)return;if(Vf("Killing process: ".concat(_," ").concat(F.join())),G.jobber)nl4.connect("\\\\.\\pipe\\jobber-".concat(g.pid)),setTimeout(function(){return g.kill()},5000);else g.kill()})),K});return G.split?Z:Z.pipe(B40.map(function(C){return C===null||C===void 0?void 0:C.text}))}function Y40(I){return new Promise(function(d,G){var Z="";I.subscribe({next:function(C){return Z+=C},error:function(C){var W=new Error("".concat(Z,`
`).concat(C.message));if("exitCode"in C)W.exitCode=C.exitCode,W.code=C.exitCode;G(W)},complete:function(){return d(Z)}})})}function _40(I){return new Promise(function(d,G){var Z="",C="";I.subscribe({next:function(W){return W.source==="stdout"?Z+=W.text:C+=W.text},error:function(W){var w=new Error("".concat(Z,`
`).concat(W.message));if("exitCode"in W)w.exitCode=W.exitCode,w.code=W.exitCode,w.stdout=Z,w.stderr=C;G(w)},complete:function(){return d([Z,C])}})})}function sl4(I,d,G){if(G===null||G===void 0?void 0:G.split)return _40(k81(I,d,FZ(FZ({},G!==null&&G!==void 0?G:{}),{split:!0})));else return Y40(k81(I,d,FZ(FZ({},G!==null&&G!==void 0?G:{}),{split:!1})))}function ol4(I,d,G){if(G===null||G===void 0?void 0:G.split)return _40(vS(I,d,FZ(FZ({},G!==null&&G!==void 0?G:{}),{split:!0})));else return Y40(vS(I,d,FZ(FZ({},G!==null&&G!==void 0?G:{}),{split:!1})))}});var k40=Y((Wp9,j40)=>{var fb4="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";j40.exports=fb4});var i40=Y((wp9,p40)=>{var qb4=k40();function x40(){}function c40(){}c40.resetWarningCache=x40;p40.exports=function(){function I(Z,C,W,w,B,A){if(A===qb4)return;var V=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw V.name="Invariant Violation",V}I.isRequired=I;function d(){return I}var G={array:I,bigint:I,bool:I,func:I,number:I,object:I,string:I,symbol:I,any:I,arrayOf:d,element:I,elementType:I,instanceOf:d,node:I,objectOf:d,oneOf:d,oneOfType:d,shape:d,exact:d,checkPropTypes:c40,resetWarningCache:x40};return G.PropTypes=G,G}});var r40=Y((Vp9,n40)=>{n40.exports=i40()();var Bp9,Ap9});var t40=Y((Yp9,e40)=>{var Rb4=Hx(),Hf=l81();function o40(I){if(/^\d{3,4}$/.test(I)){let G=/(\d{1,2})(\d{2})/.exec(I);return{major:0,minor:parseInt(G[1],10),patch:parseInt(G[2],10)}}let d=(I||"").split(".").map((G)=>parseInt(G,10));return{major:d[0],minor:d[1],patch:d[2]}}function a81(I){let{env:d}=process;if("FORCE_HYPERLINK"in d)return!(d.FORCE_HYPERLINK.length>0&&parseInt(d.FORCE_HYPERLINK,10)===0);if(Hf("no-hyperlink")||Hf("no-hyperlinks")||Hf("hyperlink=false")||Hf("hyperlink=never"))return!1;if(Hf("hyperlink=true")||Hf("hyperlink=always"))return!0;if("NETLIFY"in d)return!0;if(!Rb4.supportsColor(I))return!1;if(I&&!I.isTTY)return!1;if(process.platform==="win32")return!1;if("CI"in d)return!1;if("TEAMCITY_VERSION"in d)return!1;if("TERM_PROGRAM"in d){let G=o40(d.TERM_PROGRAM_VERSION);switch(d.TERM_PROGRAM){case"iTerm.app":if(G.major===3)return G.minor>=1;return G.major>3;case"WezTerm":return G.major>=20200620;case"vscode":return G.major>1||G.major===1&&G.minor>=72}}if("VTE_VERSION"in d){if(d.VTE_VERSION==="0.50.0")return!1;let G=o40(d.VTE_VERSION);return G.major>0||G.minor>=50}return!1}e40.exports={supportsHyperlink:a81,stdout:a81(process.stdout),stderr:a81(process.stderr)}});var p50=Y((Qn9,c50)=>{var{defineProperty:xx,getOwnPropertyDescriptor:Wh4,getOwnPropertyNames:wh4}=Object,Bh4=Object.prototype.hasOwnProperty,cx=(I,d)=>xx(I,"name",{value:d,configurable:!0}),Ah4=(I,d)=>{for(var G in d)xx(I,G,{get:d[G],enumerable:!0})},Vh4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of wh4(d))if(!Bh4.call(I,C)&&C!==G)xx(I,C,{get:()=>d[C],enumerable:!(Z=Wh4(d,C))||Z.enumerable})}return I},Xh4=(I)=>Vh4(xx({},"__esModule",{value:!0}),I),O50={};Ah4(O50,{AlgorithmId:()=>h50,EndpointURLScheme:()=>b50,FieldPosition:()=>j50,HttpApiKeyAuthLocation:()=>l50,HttpAuthLocation:()=>m50,IniSectionType:()=>k50,RequestHandlerProtocol:()=>x50,SMITHY_CONTEXT_KEY:()=>Fh4,getDefaultClientConfiguration:()=>Dh4,resolveDefaultRuntimeConfig:()=>Hh4});c50.exports=Xh4(O50);var m50=((I)=>{return I.HEADER="header",I.QUERY="query",I})(m50||{}),l50=((I)=>{return I.HEADER="header",I.QUERY="query",I})(l50||{}),b50=((I)=>{return I.HTTP="http",I.HTTPS="https",I})(b50||{}),h50=((I)=>{return I.MD5="md5",I.CRC32="crc32",I.CRC32C="crc32c",I.SHA1="sha1",I.SHA256="sha256",I})(h50||{}),Yh4=cx((I)=>{let d=[];if(I.sha256!==void 0)d.push({algorithmId:()=>"sha256",checksumConstructor:()=>I.sha256});if(I.md5!=null)d.push({algorithmId:()=>"md5",checksumConstructor:()=>I.md5});return{_checksumAlgorithms:d,addChecksumAlgorithm(G){this._checksumAlgorithms.push(G)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),_h4=cx((I)=>{let d={};return I.checksumAlgorithms().forEach((G)=>{d[G.algorithmId()]=G.checksumConstructor()}),d},"resolveChecksumRuntimeConfig"),Dh4=cx((I)=>{return{...Yh4(I)}},"getDefaultClientConfiguration"),Hh4=cx((I)=>{return{..._h4(I)}},"resolveDefaultRuntimeConfig"),j50=((I)=>{return I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER",I})(j50||{}),Fh4="__smithy_context",k50=((I)=>{return I.PROFILE="profile",I.SSO_SESSION="sso-session",I.SERVICES="services",I})(k50||{}),x50=((I)=>{return I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0",I})(x50||{})});var s50=Y((fn9,a50)=>{var{defineProperty:px,getOwnPropertyDescriptor:gh4,getOwnPropertyNames:Jh4}=Object,Kh4=Object.prototype.hasOwnProperty,n50=(I,d)=>px(I,"name",{value:d,configurable:!0}),Nh4=(I,d)=>{for(var G in d)px(I,G,{get:d[G],enumerable:!0})},zh4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Jh4(d))if(!Kh4.call(I,C)&&C!==G)px(I,C,{get:()=>d[C],enumerable:!(Z=gh4(d,C))||Z.enumerable})}return I},Qh4=(I)=>zh4(px({},"__esModule",{value:!0}),I),r50={};Nh4(r50,{getSmithyContext:()=>fh4,normalizeProvider:()=>qh4});a50.exports=Qh4(r50);var i50=p50(),fh4=n50((I)=>I[i50.SMITHY_CONTEXT_KEY]||(I[i50.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),qh4=n50((I)=>{if(typeof I==="function")return I;let d=Promise.resolve(I);return()=>d},"normalizeProvider")});var z71=Y((qn9,e50)=>{var{defineProperty:ix,getOwnPropertyDescriptor:Rh4,getOwnPropertyNames:Uh4}=Object,vh4=Object.prototype.hasOwnProperty,Eh4=(I,d)=>ix(I,"name",{value:d,configurable:!0}),Mh4=(I,d)=>{for(var G in d)ix(I,G,{get:d[G],enumerable:!0})},Sh4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Uh4(d))if(!vh4.call(I,C)&&C!==G)ix(I,C,{get:()=>d[C],enumerable:!(Z=Rh4(d,C))||Z.enumerable})}return I},Lh4=(I)=>Sh4(ix({},"__esModule",{value:!0}),I),o50={};Mh4(o50,{isArrayBuffer:()=>yh4});e50.exports=Lh4(o50);var yh4=Eh4((I)=>typeof ArrayBuffer==="function"&&I instanceof ArrayBuffer||Object.prototype.toString.call(I)==="[object ArrayBuffer]","isArrayBuffer")});var G90=Y((Rn9,d90)=>{var{defineProperty:nx,getOwnPropertyDescriptor:Ph4,getOwnPropertyNames:$h4}=Object,uh4=Object.prototype.hasOwnProperty,t50=(I,d)=>nx(I,"name",{value:d,configurable:!0}),Th4=(I,d)=>{for(var G in d)nx(I,G,{get:d[G],enumerable:!0})},Oh4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of $h4(d))if(!uh4.call(I,C)&&C!==G)nx(I,C,{get:()=>d[C],enumerable:!(Z=Ph4(d,C))||Z.enumerable})}return I},mh4=(I)=>Oh4(nx({},"__esModule",{value:!0}),I),I90={};Th4(I90,{fromArrayBuffer:()=>bh4,fromString:()=>hh4});d90.exports=mh4(I90);var lh4=z71(),Q71=B1("buffer"),bh4=t50((I,d=0,G=I.byteLength-d)=>{if(!lh4.isArrayBuffer(I))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof I} (${I})`);return Q71.Buffer.from(I,d,G)},"fromArrayBuffer"),hh4=t50((I,d)=>{if(typeof I!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof I} (${I})`);return d?Q71.Buffer.from(I,d):Q71.Buffer.from(I)},"fromString")});var WL=Y((Un9,w90)=>{var{defineProperty:rx,getOwnPropertyDescriptor:jh4,getOwnPropertyNames:kh4}=Object,xh4=Object.prototype.hasOwnProperty,f71=(I,d)=>rx(I,"name",{value:d,configurable:!0}),ch4=(I,d)=>{for(var G in d)rx(I,G,{get:d[G],enumerable:!0})},ph4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of kh4(d))if(!xh4.call(I,C)&&C!==G)rx(I,C,{get:()=>d[C],enumerable:!(Z=jh4(d,C))||Z.enumerable})}return I},ih4=(I)=>ph4(rx({},"__esModule",{value:!0}),I),Z90={};ch4(Z90,{fromUtf8:()=>W90,toUint8Array:()=>nh4,toUtf8:()=>rh4});w90.exports=ih4(Z90);var C90=G90(),W90=f71((I)=>{let d=C90.fromString(I,"utf8");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),nh4=f71((I)=>{if(typeof I==="string")return W90(I);if(ArrayBuffer.isView(I))return new Uint8Array(I.buffer,I.byteOffset,I.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(I)},"toUint8Array"),rh4=f71((I)=>{if(typeof I==="string")return I;if(typeof I!=="object"||typeof I.byteOffset!=="number"||typeof I.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return C90.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength).toString("utf8")},"toUtf8")});var D90=Y((vn9,_90)=>{var{defineProperty:ax,getOwnPropertyDescriptor:ah4,getOwnPropertyNames:sh4}=Object,oh4=Object.prototype.hasOwnProperty,B90=(I,d)=>ax(I,"name",{value:d,configurable:!0}),eh4=(I,d)=>{for(var G in d)ax(I,G,{get:d[G],enumerable:!0})},th4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of sh4(d))if(!oh4.call(I,C)&&C!==G)ax(I,C,{get:()=>d[C],enumerable:!(Z=ah4(d,C))||Z.enumerable})}return I},Ij4=(I)=>th4(ax({},"__esModule",{value:!0}),I),A90={};eh4(A90,{fromHex:()=>X90,toHex:()=>Y90});_90.exports=Ij4(A90);var V90={},q71={};for(let I=0;I<256;I++){let d=I.toString(16).toLowerCase();if(d.length===1)d=`0${d}`;V90[I]=d,q71[d]=I}function X90(I){if(I.length%2!==0)throw new Error("Hex encoded strings must have an even number length");let d=new Uint8Array(I.length/2);for(let G=0;G<I.length;G+=2){let Z=I.slice(G,G+2).toLowerCase();if(Z in q71)d[G/2]=q71[Z];else throw new Error(`Cannot decode unrecognized sequence ${Z} as hexadecimal`)}return d}B90(X90,"fromHex");function Y90(I){let d="";for(let G=0;G<I.byteLength;G++)d+=V90[I[G]];return d}B90(Y90,"toHex")});var J90=Y((En9,g90)=>{var{defineProperty:sx,getOwnPropertyDescriptor:dj4,getOwnPropertyNames:Gj4}=Object,Zj4=Object.prototype.hasOwnProperty,R71=(I,d)=>sx(I,"name",{value:d,configurable:!0}),Cj4=(I,d)=>{for(var G in d)sx(I,G,{get:d[G],enumerable:!0})},Wj4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Gj4(d))if(!Zj4.call(I,C)&&C!==G)sx(I,C,{get:()=>d[C],enumerable:!(Z=dj4(d,C))||Z.enumerable})}return I},wj4=(I)=>Wj4(sx({},"__esModule",{value:!0}),I),H90={};Cj4(H90,{escapeUri:()=>F90,escapeUriPath:()=>Aj4});g90.exports=wj4(H90);var F90=R71((I)=>encodeURIComponent(I).replace(/[!'()*]/g,Bj4),"escapeUri"),Bj4=R71((I)=>`%${I.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),Aj4=R71((I)=>I.split("/").map(F90).join("/"),"escapeUriPath")});var m90=Y((Mn9,O90)=>{var{defineProperty:dc,getOwnPropertyDescriptor:Vj4,getOwnPropertyNames:Xj4}=Object,Yj4=Object.prototype.hasOwnProperty,f6=(I,d)=>dc(I,"name",{value:d,configurable:!0}),_j4=(I,d)=>{for(var G in d)dc(I,G,{get:d[G],enumerable:!0})},Dj4=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Xj4(d))if(!Yj4.call(I,C)&&C!==G)dc(I,C,{get:()=>d[C],enumerable:!(Z=Vj4(d,C))||Z.enumerable})}return I},Hj4=(I)=>Dj4(dc({},"__esModule",{value:!0}),I),f90={};_j4(f90,{SignatureV4:()=>jj4,clearCredentialCache:()=>yj4,createScope:()=>tx,getCanonicalHeaders:()=>M71,getCanonicalQuery:()=>L90,getPayloadHash:()=>Ic,getSigningKey:()=>S90,moveHeadersToQuery:()=>u90,prepareRequest:()=>L71});O90.exports=Hj4(f90);var K90=s50(),U71=WL(),Fj4="X-Amz-Algorithm",gj4="X-Amz-Credential",q90="X-Amz-Date",Jj4="X-Amz-SignedHeaders",Kj4="X-Amz-Expires",R90="X-Amz-Signature",U90="X-Amz-Security-Token",v90="authorization",E90=q90.toLowerCase(),Nj4="date",zj4=[v90,E90,Nj4],Qj4=R90.toLowerCase(),E71="x-amz-content-sha256",fj4=U90.toLowerCase(),qj4={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Rj4=/^proxy-/,Uj4=/^sec-/,v71="AWS4-HMAC-SHA256",vj4="AWS4-HMAC-SHA256-PAYLOAD",Ej4="UNSIGNED-PAYLOAD",Mj4=50,M90="aws4_request",Sj4=604800,E_=D90(),Lj4=WL(),vf={},ex=[],tx=f6((I,d,G)=>`${I}/${d}/${G}/${M90}`,"createScope"),S90=f6(async(I,d,G,Z,C)=>{let W=await N90(I,d.secretAccessKey,d.accessKeyId),w=`${G}:${Z}:${C}:${E_.toHex(W)}:${d.sessionToken}`;if(w in vf)return vf[w];ex.push(w);while(ex.length>Mj4)delete vf[ex.shift()];let B=`AWS4${d.secretAccessKey}`;for(let A of[G,Z,C,M90])B=await N90(I,B,A);return vf[w]=B},"getSigningKey"),yj4=f6(()=>{ex.length=0,Object.keys(vf).forEach((I)=>{delete vf[I]})},"clearCredentialCache"),N90=f6((I,d,G)=>{let Z=new I(d);return Z.update(Lj4.toUint8Array(G)),Z.digest()},"hmac"),M71=f6(({headers:I},d,G)=>{let Z={};for(let C of Object.keys(I).sort()){if(I[C]==null)continue;let W=C.toLowerCase();if(W in qj4||(d==null?void 0:d.has(W))||Rj4.test(W)||Uj4.test(W)){if(!G||G&&!G.has(W))continue}Z[W]=I[C].trim().replace(/\s+/g," ")}return Z},"getCanonicalHeaders"),wL=J90(),L90=f6(({query:I={}})=>{let d=[],G={};for(let Z of Object.keys(I).sort()){if(Z.toLowerCase()===Qj4)continue;d.push(Z);let C=I[Z];if(typeof C==="string")G[Z]=`${wL.escapeUri(Z)}=${wL.escapeUri(C)}`;else if(Array.isArray(C))G[Z]=C.slice(0).reduce((W,w)=>W.concat([`${wL.escapeUri(Z)}=${wL.escapeUri(w)}`]),[]).sort().join("&")}return d.map((Z)=>G[Z]).filter((Z)=>Z).join("&")},"getCanonicalQuery"),Pj4=z71(),$j4=WL(),Ic=f6(async({headers:I,body:d},G)=>{for(let Z of Object.keys(I))if(Z.toLowerCase()===E71)return I[Z];if(d==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof d==="string"||ArrayBuffer.isView(d)||Pj4.isArrayBuffer(d)){let Z=new G;return Z.update($j4.toUint8Array(d)),E_.toHex(await Z.digest())}return Ej4},"getPayloadHash"),z90=WL(),y90=class I{format(d){let G=[];for(let W of Object.keys(d)){let w=z90.fromUtf8(W);G.push(Uint8Array.from([w.byteLength]),w,this.formatHeaderValue(d[W]))}let Z=new Uint8Array(G.reduce((W,w)=>W+w.byteLength,0)),C=0;for(let W of G)Z.set(W,C),C+=W.byteLength;return Z}formatHeaderValue(d){switch(d.type){case"boolean":return Uint8Array.from([d.value?0:1]);case"byte":return Uint8Array.from([2,d.value]);case"short":let G=new DataView(new ArrayBuffer(3));return G.setUint8(0,3),G.setInt16(1,d.value,!1),new Uint8Array(G.buffer);case"integer":let Z=new DataView(new ArrayBuffer(5));return Z.setUint8(0,4),Z.setInt32(1,d.value,!1),new Uint8Array(Z.buffer);case"long":let C=new Uint8Array(9);return C[0]=5,C.set(d.value.bytes,1),C;case"binary":let W=new DataView(new ArrayBuffer(3+d.value.byteLength));W.setUint8(0,6),W.setUint16(1,d.value.byteLength,!1);let w=new Uint8Array(W.buffer);return w.set(d.value,3),w;case"string":let B=z90.fromUtf8(d.value),A=new DataView(new ArrayBuffer(3+B.byteLength));A.setUint8(0,7),A.setUint16(1,B.byteLength,!1);let V=new Uint8Array(A.buffer);return V.set(B,3),V;case"timestamp":let X=new Uint8Array(9);return X[0]=8,X.set(Oj4.fromNumber(d.value.valueOf()).bytes,1),X;case"uuid":if(!Tj4.test(d.value))throw new Error(`Invalid UUID received: ${d.value}`);let _=new Uint8Array(17);return _[0]=9,_.set(E_.fromHex(d.value.replace(/\-/g,"")),1),_}}};f6(y90,"HeaderFormatter");var uj4=y90,Tj4=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,P90=class I{constructor(d){if(this.bytes=d,d.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(d){if(d>9223372036854776000||d<-9223372036854776000)throw new Error(`${d} is too large (or, if negative, too small) to represent as an Int64`);let G=new Uint8Array(8);for(let Z=7,C=Math.abs(Math.round(d));Z>-1&&C>0;Z--,C/=256)G[Z]=C;if(d<0)S71(G);return new I(G)}valueOf(){let d=this.bytes.slice(0),G=d[0]&128;if(G)S71(d);return parseInt(E_.toHex(d),16)*(G?-1:1)}toString(){return String(this.valueOf())}};f6(P90,"Int64");var Oj4=P90;function S71(I){for(let d=0;d<8;d++)I[d]^=255;for(let d=7;d>-1;d--)if(I[d]++,I[d]!==0)break}f6(S71,"negate");var mj4=f6((I,d)=>{I=I.toLowerCase();for(let G of Object.keys(d))if(I===G.toLowerCase())return!0;return!1},"hasHeader"),$90=f6(({headers:I,query:d,...G})=>({...G,headers:{...I},query:d?lj4(d):void 0}),"cloneRequest"),lj4=f6((I)=>Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{}),"cloneQuery"),u90=f6((I,d={})=>{var G;let{headers:Z,query:C={}}=typeof I.clone==="function"?I.clone():$90(I);for(let W of Object.keys(Z)){let w=W.toLowerCase();if(w.slice(0,6)==="x-amz-"&&!((G=d.unhoistableHeaders)==null?void 0:G.has(w)))C[W]=Z[W],delete Z[W]}return{...I,headers:Z,query:C}},"moveHeadersToQuery"),L71=f6((I)=>{I=typeof I.clone==="function"?I.clone():$90(I);for(let d of Object.keys(I.headers))if(zj4.indexOf(d.toLowerCase())>-1)delete I.headers[d];return I},"prepareRequest"),bj4=f6((I)=>hj4(I).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),hj4=f6((I)=>{if(typeof I==="number")return new Date(I*1000);if(typeof I==="string"){if(Number(I))return new Date(Number(I)*1000);return new Date(I)}return I},"toDate"),T90=class I{constructor({applyChecksum:d,credentials:G,region:Z,service:C,sha256:W,uriEscapePath:w=!0}){this.headerFormatter=new uj4,this.service=C,this.sha256=W,this.uriEscapePath=w,this.applyChecksum=typeof d==="boolean"?d:!0,this.regionProvider=K90.normalizeProvider(Z),this.credentialProvider=K90.normalizeProvider(G)}async presign(d,G={}){let{signingDate:Z=new Date,expiresIn:C=3600,unsignableHeaders:W,unhoistableHeaders:w,signableHeaders:B,signingRegion:A,signingService:V}=G,X=await this.credentialProvider();this.validateResolvedCredentials(X);let _=A??await this.regionProvider(),{longDate:F,shortDate:g}=ox(Z);if(C>Sj4)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let J=tx(g,_,V??this.service),K=u90(L71(d),{unhoistableHeaders:w});if(X.sessionToken)K.query[U90]=X.sessionToken;K.query[Fj4]=v71,K.query[gj4]=`${X.accessKeyId}/${J}`,K.query[q90]=F,K.query[Kj4]=C.toString(10);let Q=M71(K,W,B);return K.query[Jj4]=Q90(Q),K.query[R90]=await this.getSignature(F,J,this.getSigningKey(X,_,g,V),this.createCanonicalRequest(K,Q,await Ic(d,this.sha256))),K}async sign(d,G){if(typeof d==="string")return this.signString(d,G);else if(d.headers&&d.payload)return this.signEvent(d,G);else if(d.message)return this.signMessage(d,G);else return this.signRequest(d,G)}async signEvent({headers:d,payload:G},{signingDate:Z=new Date,priorSignature:C,signingRegion:W,signingService:w}){let B=W??await this.regionProvider(),{shortDate:A,longDate:V}=ox(Z),X=tx(A,B,w??this.service),_=await Ic({headers:{},body:G},this.sha256),F=new this.sha256;F.update(d);let g=E_.toHex(await F.digest()),J=[vj4,V,X,C,g,_].join(`
`);return this.signString(J,{signingDate:Z,signingRegion:B,signingService:w})}async signMessage(d,{signingDate:G=new Date,signingRegion:Z,signingService:C}){return this.signEvent({headers:this.headerFormatter.format(d.message.headers),payload:d.message.body},{signingDate:G,signingRegion:Z,signingService:C,priorSignature:d.priorSignature}).then((w)=>{return{message:d.message,signature:w}})}async signString(d,{signingDate:G=new Date,signingRegion:Z,signingService:C}={}){let W=await this.credentialProvider();this.validateResolvedCredentials(W);let w=Z??await this.regionProvider(),{shortDate:B}=ox(G),A=new this.sha256(await this.getSigningKey(W,w,B,C));return A.update(U71.toUint8Array(d)),E_.toHex(await A.digest())}async signRequest(d,{signingDate:G=new Date,signableHeaders:Z,unsignableHeaders:C,signingRegion:W,signingService:w}={}){let B=await this.credentialProvider();this.validateResolvedCredentials(B);let A=W??await this.regionProvider(),V=L71(d),{longDate:X,shortDate:_}=ox(G),F=tx(_,A,w??this.service);if(V.headers[E90]=X,B.sessionToken)V.headers[fj4]=B.sessionToken;let g=await Ic(V,this.sha256);if(!mj4(E71,V.headers)&&this.applyChecksum)V.headers[E71]=g;let J=M71(V,C,Z),K=await this.getSignature(X,F,this.getSigningKey(B,A,_,w),this.createCanonicalRequest(V,J,g));return V.headers[v90]=`${v71} Credential=${B.accessKeyId}/${F}, SignedHeaders=${Q90(J)}, Signature=${K}`,V}createCanonicalRequest(d,G,Z){let C=Object.keys(G).sort();return`${d.method}
${this.getCanonicalPath(d)}
${L90(d)}
${C.map((W)=>`${W}:${G[W]}`).join(`
`)}

${C.join(";")}
${Z}`}async createStringToSign(d,G,Z){let C=new this.sha256;C.update(U71.toUint8Array(Z));let W=await C.digest();return`${v71}
${d}
${G}
${E_.toHex(W)}`}getCanonicalPath({path:d}){if(this.uriEscapePath){let G=[];for(let W of d.split("/")){if((W==null?void 0:W.length)===0)continue;if(W===".")continue;if(W==="..")G.pop();else G.push(W)}let Z=`${(d==null?void 0:d.startsWith("/"))?"/":""}${G.join("/")}${G.length>0&&(d==null?void 0:d.endsWith("/"))?"/":""}`;return wL.escapeUri(Z).replace(/%2F/g,"/")}return d}async getSignature(d,G,Z,C){let W=await this.createStringToSign(d,G,C),w=new this.sha256(await Z);return w.update(U71.toUint8Array(W)),E_.toHex(await w.digest())}getSigningKey(d,G,Z,C){return S90(this.sha256,d,Z,G,C||this.service)}validateResolvedCredentials(d){if(typeof d!=="object"||typeof d.accessKeyId!=="string"||typeof d.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};f6(T90,"SignatureV4");var jj4=T90,ox=f6((I)=>{let d=bj4(I).replace(/[\-:]/g,"");return{longDate:d,shortDate:d.slice(0,8)}},"formatDate"),Q90=f6((I)=>Object.keys(I).sort().join(";"),"getCanonicalHeaderList")});var x1=Y((Sn9,Cc)=>{var l90,b90,h90,j90,k90,x90,c90,p90,i90,n90,r90,a90,s90,Gc,y71,o90,e90,t90,Ef,I30,d30,G30,Z30,C30,W30,w30,B30,A30,Zc,V30,X30,Y30;(function(I){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(Z){I(G(d,G(Z)))});else if(typeof Cc==="object"&&typeof Sn9==="object")I(G(d,G(Sn9)));else I(G(d));function G(Z,C){if(Z!==d)if(typeof Object.create==="function")Object.defineProperty(Z,"__esModule",{value:!0});else Z.__esModule=!0;return function(W,w){return Z[W]=C?C(W,w):w}}})(function(I){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(W,w){W.__proto__=w}||function(W,w){for(var B in w)if(Object.prototype.hasOwnProperty.call(w,B))W[B]=w[B]};l90=function(W,w){if(typeof w!=="function"&&w!==null)throw new TypeError("Class extends value "+String(w)+" is not a constructor or null");d(W,w);function B(){this.constructor=W}W.prototype=w===null?Object.create(w):(B.prototype=w.prototype,new B)},b90=Object.assign||function(W){for(var w,B=1,A=arguments.length;B<A;B++){w=arguments[B];for(var V in w)if(Object.prototype.hasOwnProperty.call(w,V))W[V]=w[V]}return W},h90=function(W,w){var B={};for(var A in W)if(Object.prototype.hasOwnProperty.call(W,A)&&w.indexOf(A)<0)B[A]=W[A];if(W!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var V=0,A=Object.getOwnPropertySymbols(W);V<A.length;V++)if(w.indexOf(A[V])<0&&Object.prototype.propertyIsEnumerable.call(W,A[V]))B[A[V]]=W[A[V]]}return B},j90=function(W,w,B,A){var V=arguments.length,X=V<3?w:A===null?A=Object.getOwnPropertyDescriptor(w,B):A,_;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")X=Reflect.decorate(W,w,B,A);else for(var F=W.length-1;F>=0;F--)if(_=W[F])X=(V<3?_(X):V>3?_(w,B,X):_(w,B))||X;return V>3&&X&&Object.defineProperty(w,B,X),X},k90=function(W,w){return function(B,A){w(B,A,W)}},x90=function(W,w,B,A,V,X){function _(O){if(O!==void 0&&typeof O!=="function")throw new TypeError("Function expected");return O}var F=A.kind,g=F==="getter"?"get":F==="setter"?"set":"value",J=!w&&W?A.static?W:W.prototype:null,K=w||(J?Object.getOwnPropertyDescriptor(J,A.name):{}),Q,E=!1;for(var S=B.length-1;S>=0;S--){var P={};for(var $ in A)P[$]=$==="access"?{}:A[$];for(var $ in A.access)P.access[$]=A.access[$];P.addInitializer=function(O){if(E)throw new TypeError("Cannot add initializers after decoration has completed");X.push(_(O||null))};var h=B[S](F==="accessor"?{get:K.get,set:K.set}:K[g],P);if(F==="accessor"){if(h===void 0)continue;if(h===null||typeof h!=="object")throw new TypeError("Object expected");if(Q=_(h.get))K.get=Q;if(Q=_(h.set))K.set=Q;if(Q=_(h.init))V.unshift(Q)}else if(Q=_(h))if(F==="field")V.unshift(Q);else K[g]=Q}if(J)Object.defineProperty(J,A.name,K);E=!0},c90=function(W,w,B){var A=arguments.length>2;for(var V=0;V<w.length;V++)B=A?w[V].call(W,B):w[V].call(W);return A?B:void 0},p90=function(W){return typeof W==="symbol"?W:"".concat(W)},i90=function(W,w,B){if(typeof w==="symbol")w=w.description?"[".concat(w.description,"]"):"";return Object.defineProperty(W,"name",{configurable:!0,value:B?"".concat(B," ",w):w})},n90=function(W,w){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(W,w)},r90=function(W,w,B,A){function V(X){return X instanceof B?X:new B(function(_){_(X)})}return new(B||(B=Promise))(function(X,_){function F(K){try{J(A.next(K))}catch(Q){_(Q)}}function g(K){try{J(A.throw(K))}catch(Q){_(Q)}}function J(K){K.done?X(K.value):V(K.value).then(F,g)}J((A=A.apply(W,w||[])).next())})},a90=function(W,w){var B={label:0,sent:function(){if(X[0]&1)throw X[1];return X[1]},trys:[],ops:[]},A,V,X,_=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return _.next=F(0),_.throw=F(1),_.return=F(2),typeof Symbol==="function"&&(_[Symbol.iterator]=function(){return this}),_;function F(J){return function(K){return g([J,K])}}function g(J){if(A)throw new TypeError("Generator is already executing.");while(_&&(_=0,J[0]&&(B=0)),B)try{if(A=1,V&&(X=J[0]&2?V.return:J[0]?V.throw||((X=V.return)&&X.call(V),0):V.next)&&!(X=X.call(V,J[1])).done)return X;if(V=0,X)J=[J[0]&2,X.value];switch(J[0]){case 0:case 1:X=J;break;case 4:return B.label++,{value:J[1],done:!1};case 5:B.label++,V=J[1],J=[0];continue;case 7:J=B.ops.pop(),B.trys.pop();continue;default:if((X=B.trys,!(X=X.length>0&&X[X.length-1]))&&(J[0]===6||J[0]===2)){B=0;continue}if(J[0]===3&&(!X||J[1]>X[0]&&J[1]<X[3])){B.label=J[1];break}if(J[0]===6&&B.label<X[1]){B.label=X[1],X=J;break}if(X&&B.label<X[2]){B.label=X[2],B.ops.push(J);break}if(X[2])B.ops.pop();B.trys.pop();continue}J=w.call(W,B)}catch(K){J=[6,K],V=0}finally{A=X=0}if(J[0]&5)throw J[1];return{value:J[0]?J[1]:void 0,done:!0}}},s90=function(W,w){for(var B in W)if(B!=="default"&&!Object.prototype.hasOwnProperty.call(w,B))Zc(w,W,B)},Zc=Object.create?function(W,w,B,A){if(A===void 0)A=B;var V=Object.getOwnPropertyDescriptor(w,B);if(!V||("get"in V?!w.__esModule:V.writable||V.configurable))V={enumerable:!0,get:function(){return w[B]}};Object.defineProperty(W,A,V)}:function(W,w,B,A){if(A===void 0)A=B;W[A]=w[B]},Gc=function(W){var w=typeof Symbol==="function"&&Symbol.iterator,B=w&&W[w],A=0;if(B)return B.call(W);if(W&&typeof W.length==="number")return{next:function(){if(W&&A>=W.length)W=void 0;return{value:W&&W[A++],done:!W}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")},y71=function(W,w){var B=typeof Symbol==="function"&&W[Symbol.iterator];if(!B)return W;var A=B.call(W),V,X=[],_;try{while((w===void 0||w-- >0)&&!(V=A.next()).done)X.push(V.value)}catch(F){_={error:F}}finally{try{if(V&&!V.done&&(B=A.return))B.call(A)}finally{if(_)throw _.error}}return X},o90=function(){for(var W=[],w=0;w<arguments.length;w++)W=W.concat(y71(arguments[w]));return W},e90=function(){for(var W=0,w=0,B=arguments.length;w<B;w++)W+=arguments[w].length;for(var A=Array(W),V=0,w=0;w<B;w++)for(var X=arguments[w],_=0,F=X.length;_<F;_++,V++)A[V]=X[_];return A},t90=function(W,w,B){if(B||arguments.length===2){for(var A=0,V=w.length,X;A<V;A++)if(X||!(A in w)){if(!X)X=Array.prototype.slice.call(w,0,A);X[A]=w[A]}}return W.concat(X||Array.prototype.slice.call(w))},Ef=function(W){return this instanceof Ef?(this.v=W,this):new Ef(W)},I30=function(W,w,B){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var A=B.apply(W,w||[]),V,X=[];return V=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),F("next"),F("throw"),F("return",_),V[Symbol.asyncIterator]=function(){return this},V;function _(S){return function(P){return Promise.resolve(P).then(S,Q)}}function F(S,P){if(A[S]){if(V[S]=function($){return new Promise(function(h,O){X.push([S,$,h,O])>1||g(S,$)})},P)V[S]=P(V[S])}}function g(S,P){try{J(A[S](P))}catch($){E(X[0][3],$)}}function J(S){S.value instanceof Ef?Promise.resolve(S.value.v).then(K,Q):E(X[0][2],S)}function K(S){g("next",S)}function Q(S){g("throw",S)}function E(S,P){if(S(P),X.shift(),X.length)g(X[0][0],X[0][1])}},d30=function(W){var w,B;return w={},A("next"),A("throw",function(V){throw V}),A("return"),w[Symbol.iterator]=function(){return this},w;function A(V,X){w[V]=W[V]?function(_){return(B=!B)?{value:Ef(W[V](_)),done:!1}:X?X(_):_}:X}},G30=function(W){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var w=W[Symbol.asyncIterator],B;return w?w.call(W):(W=typeof Gc==="function"?Gc(W):W[Symbol.iterator](),B={},A("next"),A("throw"),A("return"),B[Symbol.asyncIterator]=function(){return this},B);function A(X){B[X]=W[X]&&function(_){return new Promise(function(F,g){_=W[X](_),V(F,g,_.done,_.value)})}}function V(X,_,F,g){Promise.resolve(g).then(function(J){X({value:J,done:F})},_)}},Z30=function(W,w){if(Object.defineProperty)Object.defineProperty(W,"raw",{value:w});else W.raw=w;return W};var G=Object.create?function(W,w){Object.defineProperty(W,"default",{enumerable:!0,value:w})}:function(W,w){W.default=w},Z=function(W){return Z=Object.getOwnPropertyNames||function(w){var B=[];for(var A in w)if(Object.prototype.hasOwnProperty.call(w,A))B[B.length]=A;return B},Z(W)};C30=function(W){if(W&&W.__esModule)return W;var w={};if(W!=null){for(var B=Z(W),A=0;A<B.length;A++)if(B[A]!=="default")Zc(w,W,B[A])}return G(w,W),w},W30=function(W){return W&&W.__esModule?W:{default:W}},w30=function(W,w,B,A){if(B==="a"&&!A)throw new TypeError("Private accessor was defined without a getter");if(typeof w==="function"?W!==w||!A:!w.has(W))throw new TypeError("Cannot read private member from an object whose class did not declare it");return B==="m"?A:B==="a"?A.call(W):A?A.value:w.get(W)},B30=function(W,w,B,A,V){if(A==="m")throw new TypeError("Private method is not writable");if(A==="a"&&!V)throw new TypeError("Private accessor was defined without a setter");if(typeof w==="function"?W!==w||!V:!w.has(W))throw new TypeError("Cannot write private member to an object whose class did not declare it");return A==="a"?V.call(W,B):V?V.value=B:w.set(W,B),B},A30=function(W,w){if(w===null||typeof w!=="object"&&typeof w!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof W==="function"?w===W:W.has(w)},V30=function(W,w,B){if(w!==null&&w!==void 0){if(typeof w!=="object"&&typeof w!=="function")throw new TypeError("Object expected.");var A,V;if(B){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");A=w[Symbol.asyncDispose]}if(A===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");if(A=w[Symbol.dispose],B)V=A}if(typeof A!=="function")throw new TypeError("Object not disposable.");if(V)A=function(){try{V.call(this)}catch(X){return Promise.reject(X)}};W.stack.push({value:w,dispose:A,async:B})}else if(B)W.stack.push({async:!0});return w};var C=typeof SuppressedError==="function"?SuppressedError:function(W,w,B){var A=new Error(B);return A.name="SuppressedError",A.error=W,A.suppressed=w,A};X30=function(W){function w(X){W.error=W.hasError?new C(X,W.error,"An error was suppressed during disposal."):X,W.hasError=!0}var B,A=0;function V(){while(B=W.stack.pop())try{if(!B.async&&A===1)return A=0,W.stack.push(B),Promise.resolve().then(V);if(B.dispose){var X=B.dispose.call(B.value);if(B.async)return A|=2,Promise.resolve(X).then(V,function(_){return w(_),V()})}else A|=1}catch(_){w(_)}if(A===1)return W.hasError?Promise.reject(W.error):Promise.resolve();if(W.hasError)throw W.error}return V()},Y30=function(W,w){if(typeof W==="string"&&/^\.\.?\//.test(W))return W.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(B,A,V,X,_){return A?w?".jsx":".js":V&&(!X||!_)?B:V+X+"."+_.toLowerCase()+"js"});return W},I("__extends",l90),I("__assign",b90),I("__rest",h90),I("__decorate",j90),I("__param",k90),I("__esDecorate",x90),I("__runInitializers",c90),I("__propKey",p90),I("__setFunctionName",i90),I("__metadata",n90),I("__awaiter",r90),I("__generator",a90),I("__exportStar",s90),I("__createBinding",Zc),I("__values",Gc),I("__read",y71),I("__spread",o90),I("__spreadArrays",e90),I("__spreadArray",t90),I("__await",Ef),I("__asyncGenerator",I30),I("__asyncDelegator",d30),I("__asyncValues",G30),I("__makeTemplateObject",Z30),I("__importStar",C30),I("__importDefault",W30),I("__classPrivateFieldGet",w30),I("__classPrivateFieldSet",B30),I("__classPrivateFieldIn",A30),I("__addDisposableResource",V30),I("__disposeResources",X30),I("__rewriteRelativeImportExtension",Y30)})});var F30=Y((D30)=>{Object.defineProperty(D30,"__esModule",{value:!0});D30.booleanSelector=D30.SelectorType=void 0;var kj4;(function(I){I.ENV="env",I.CONFIG="shared config entry"})(kj4=D30.SelectorType||(D30.SelectorType={}));var xj4=(I,d,G)=>{if(!(d in I))return;if(I[d]==="true")return!0;if(I[d]==="false")return!1;throw new Error(`Cannot load ${G} "${d}". Expected "true" or "false", got ${I[d]}.`)};D30.booleanSelector=xj4});var $71=Y((P71)=>{Object.defineProperty(P71,"__esModule",{value:!0});var cj4=x1();cj4.__exportStar(F30(),P71)});var z30=Y((g30)=>{Object.defineProperty(g30,"__esModule",{value:!0});g30.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=g30.DEFAULT_USE_DUALSTACK_ENDPOINT=g30.CONFIG_USE_DUALSTACK_ENDPOINT=g30.ENV_USE_DUALSTACK_ENDPOINT=void 0;var Wc=$71();g30.ENV_USE_DUALSTACK_ENDPOINT="AWS_USE_DUALSTACK_ENDPOINT";g30.CONFIG_USE_DUALSTACK_ENDPOINT="use_dualstack_endpoint";g30.DEFAULT_USE_DUALSTACK_ENDPOINT=!1;g30.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:(I)=>Wc.booleanSelector(I,g30.ENV_USE_DUALSTACK_ENDPOINT,Wc.SelectorType.ENV),configFileSelector:(I)=>Wc.booleanSelector(I,g30.CONFIG_USE_DUALSTACK_ENDPOINT,Wc.SelectorType.CONFIG),default:!1}});var U30=Y((Q30)=>{Object.defineProperty(Q30,"__esModule",{value:!0});Q30.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=Q30.DEFAULT_USE_FIPS_ENDPOINT=Q30.CONFIG_USE_FIPS_ENDPOINT=Q30.ENV_USE_FIPS_ENDPOINT=void 0;var wc=$71();Q30.ENV_USE_FIPS_ENDPOINT="AWS_USE_FIPS_ENDPOINT";Q30.CONFIG_USE_FIPS_ENDPOINT="use_fips_endpoint";Q30.DEFAULT_USE_FIPS_ENDPOINT=!1;Q30.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:(I)=>wc.booleanSelector(I,Q30.ENV_USE_FIPS_ENDPOINT,wc.SelectorType.ENV),configFileSelector:(I)=>wc.booleanSelector(I,Q30.CONFIG_USE_FIPS_ENDPOINT,wc.SelectorType.CONFIG),default:!1}});var M30=Y((v30)=>{Object.defineProperty(v30,"__esModule",{value:!0});v30.normalizeProvider=void 0;var nj4=(I)=>{if(typeof I==="function")return I;let d=Promise.resolve(I);return()=>d};v30.normalizeProvider=nj4});var M_=Y((u71)=>{Object.defineProperty(u71,"__esModule",{value:!0});var rj4=x1();rj4.__exportStar(M30(),u71)});var P30=Y((L30)=>{Object.defineProperty(L30,"__esModule",{value:!0});L30.resolveCustomEndpointsConfig=void 0;var S30=M_(),aj4=(I)=>{var d,G;let{endpoint:Z,urlParser:C}=I;return{...I,tls:(d=I.tls)!==null&&d!==void 0?d:!0,endpoint:S30.normalizeProvider(typeof Z==="string"?C(Z):Z),isCustomEndpoint:!0,useDualstackEndpoint:S30.normalizeProvider((G=I.useDualstackEndpoint)!==null&&G!==void 0?G:!1)}};L30.resolveCustomEndpointsConfig=aj4});var T30=Y(($30)=>{Object.defineProperty($30,"__esModule",{value:!0});$30.getEndpointFromRegion=void 0;var sj4=async(I)=>{var d;let{tls:G=!0}=I,Z=await I.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(Z))throw new Error("Invalid region in client config");let W=await I.useDualstackEndpoint(),w=await I.useFipsEndpoint(),{hostname:B}=(d=await I.regionInfoProvider(Z,{useDualstackEndpoint:W,useFipsEndpoint:w}))!==null&&d!==void 0?d:{};if(!B)throw new Error("Cannot resolve hostname from client config");return I.urlParser(`${G?"https:":"http:"}//${B}`)};$30.getEndpointFromRegion=sj4});var b30=Y((m30)=>{Object.defineProperty(m30,"__esModule",{value:!0});m30.resolveEndpointsConfig=void 0;var O30=M_(),oj4=T30(),ej4=(I)=>{var d,G;let Z=O30.normalizeProvider((d=I.useDualstackEndpoint)!==null&&d!==void 0?d:!1),{endpoint:C,useFipsEndpoint:W,urlParser:w}=I;return{...I,tls:(G=I.tls)!==null&&G!==void 0?G:!0,endpoint:C?O30.normalizeProvider(typeof C==="string"?w(C):C):()=>oj4.getEndpointFromRegion({...I,useDualstackEndpoint:Z,useFipsEndpoint:W}),isCustomEndpoint:!!C,useDualstackEndpoint:Z}};m30.resolveEndpointsConfig=ej4});var h30=Y((Mf)=>{Object.defineProperty(Mf,"__esModule",{value:!0});var Bc=x1();Bc.__exportStar(z30(),Mf);Bc.__exportStar(U30(),Mf);Bc.__exportStar(P30(),Mf);Bc.__exportStar(b30(),Mf)});var p30=Y((j30)=>{Object.defineProperty(j30,"__esModule",{value:!0});j30.NODE_REGION_CONFIG_FILE_OPTIONS=j30.NODE_REGION_CONFIG_OPTIONS=j30.REGION_INI_NAME=j30.REGION_ENV_NAME=void 0;j30.REGION_ENV_NAME="AWS_REGION";j30.REGION_INI_NAME="region";j30.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:(I)=>I[j30.REGION_ENV_NAME],configFileSelector:(I)=>I[j30.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};j30.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var T71=Y((i30)=>{Object.defineProperty(i30,"__esModule",{value:!0});i30.isFipsRegion=void 0;var Ik4=(I)=>typeof I==="string"&&(I.startsWith("fips-")||I.endsWith("-fips"));i30.isFipsRegion=Ik4});var s30=Y((r30)=>{Object.defineProperty(r30,"__esModule",{value:!0});r30.getRealRegion=void 0;var dk4=T71(),Gk4=(I)=>dk4.isFipsRegion(I)?["fips-aws-global","aws-fips"].includes(I)?"us-east-1":I.replace(/fips-(dkr-|prod-)?|-fips/,""):I;r30.getRealRegion=Gk4});var I60=Y((e30)=>{Object.defineProperty(e30,"__esModule",{value:!0});e30.resolveRegionConfig=void 0;var o30=s30(),Zk4=T71(),Ck4=(I)=>{let{region:d,useFipsEndpoint:G}=I;if(!d)throw new Error("Region is missing");return{...I,region:async()=>{if(typeof d==="string")return o30.getRealRegion(d);let Z=await d();return o30.getRealRegion(Z)},useFipsEndpoint:async()=>{let Z=typeof d==="string"?d:await d();if(Zk4.isFipsRegion(Z))return!0;return typeof G!=="function"?Promise.resolve(!!G):G()}}};e30.resolveRegionConfig=Ck4});var G60=Y((Ac)=>{Object.defineProperty(Ac,"__esModule",{value:!0});var d60=x1();d60.__exportStar(p30(),Ac);d60.__exportStar(I60(),Ac)});var C60=Y((Z60)=>{Object.defineProperty(Z60,"__esModule",{value:!0})});var w60=Y((W60)=>{Object.defineProperty(W60,"__esModule",{value:!0})});var V60=Y((B60)=>{Object.defineProperty(B60,"__esModule",{value:!0});B60.getHostnameFromVariants=void 0;var Wk4=(I=[],{useFipsEndpoint:d,useDualstackEndpoint:G})=>{var Z;return(Z=I.find(({tags:C})=>d===C.includes("fips")&&G===C.includes("dualstack")))===null||Z===void 0?void 0:Z.hostname};B60.getHostnameFromVariants=Wk4});var _60=Y((X60)=>{Object.defineProperty(X60,"__esModule",{value:!0});X60.getResolvedHostname=void 0;var wk4=(I,{regionHostname:d,partitionHostname:G})=>d?d:G?G.replace("{region}",I):void 0;X60.getResolvedHostname=wk4});var F60=Y((D60)=>{Object.defineProperty(D60,"__esModule",{value:!0});D60.getResolvedPartition=void 0;var Bk4=(I,{partitionHash:d})=>{var G;return(G=Object.keys(d||{}).find((Z)=>d[Z].regions.includes(I)))!==null&&G!==void 0?G:"aws"};D60.getResolvedPartition=Bk4});var K60=Y((g60)=>{Object.defineProperty(g60,"__esModule",{value:!0});g60.getResolvedSigningRegion=void 0;var Ak4=(I,{signingRegion:d,regionRegex:G,useFipsEndpoint:Z})=>{if(d)return d;else if(Z){let C=G.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),W=I.match(C);if(W)return W[0].slice(1,-1)}};g60.getResolvedSigningRegion=Ak4});var f60=Y((z60)=>{Object.defineProperty(z60,"__esModule",{value:!0});z60.getRegionInfo=void 0;var N60=V60(),Vk4=_60(),Xk4=F60(),Yk4=K60(),_k4=(I,{useFipsEndpoint:d=!1,useDualstackEndpoint:G=!1,signingService:Z,regionHash:C,partitionHash:W})=>{var w,B,A,V,X,_;let F=Xk4.getResolvedPartition(I,{partitionHash:W}),g=I in C?I:(B=(w=W[F])===null||w===void 0?void 0:w.endpoint)!==null&&B!==void 0?B:I,J={useFipsEndpoint:d,useDualstackEndpoint:G},K=N60.getHostnameFromVariants((A=C[g])===null||A===void 0?void 0:A.variants,J),Q=N60.getHostnameFromVariants((V=W[F])===null||V===void 0?void 0:V.variants,J),E=Vk4.getResolvedHostname(g,{regionHostname:K,partitionHostname:Q});if(E===void 0)throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:g,useFipsEndpoint:d,useDualstackEndpoint:G}}`);let S=Yk4.getResolvedSigningRegion(E,{signingRegion:(X=C[g])===null||X===void 0?void 0:X.signingRegion,regionRegex:W[F].regionRegex,useFipsEndpoint:d});return{partition:F,signingService:Z,hostname:E,...S&&{signingRegion:S},...((_=C[g])===null||_===void 0?void 0:_.signingService)&&{signingService:C[g].signingService}}};z60.getRegionInfo=_k4});var q60=Y((BL)=>{Object.defineProperty(BL,"__esModule",{value:!0});var O71=x1();O71.__exportStar(C60(),BL);O71.__exportStar(w60(),BL);O71.__exportStar(f60(),BL)});var Cd=Y((AL)=>{Object.defineProperty(AL,"__esModule",{value:!0});var m71=x1();m71.__exportStar(h30(),AL);m71.__exportStar(G60(),AL);m71.__exportStar(q60(),AL)});var b71=Y((R60)=>{Object.defineProperty(R60,"__esModule",{value:!0});R60.FieldPosition=void 0;var Dk4;(function(I){I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER"})(Dk4=R60.FieldPosition||(R60.FieldPosition={}))});var M60=Y((v60)=>{Object.defineProperty(v60,"__esModule",{value:!0});v60.Field=void 0;var Hk4=b71();class U60{constructor({name:I,kind:d=Hk4.FieldPosition.HEADER,values:G=[]}){this.name=I,this.kind=d,this.values=G}add(I){this.values.push(I)}set(I){this.values=I}remove(I){this.values=this.values.filter((d)=>d!==I)}toString(){return this.values.map((I)=>I.includes(",")||I.includes(" ")?`"${I}"`:I).join(", ")}get(){return this.values}}v60.Field=U60});var P60=Y((L60)=>{Object.defineProperty(L60,"__esModule",{value:!0});L60.Fields=void 0;class S60{constructor({fields:I=[],encoding:d="utf-8"}){this.entries={},I.forEach(this.setField.bind(this)),this.encoding=d}setField(I){this.entries[I.name.toLowerCase()]=I}getField(I){return this.entries[I.toLowerCase()]}removeField(I){delete this.entries[I.toLowerCase()]}getByType(I){return Object.values(this.entries).filter((d)=>d.kind===I)}}L60.Fields=S60});var u60=Y(($60)=>{Object.defineProperty($60,"__esModule",{value:!0})});var m60=Y((T60)=>{Object.defineProperty(T60,"__esModule",{value:!0});T60.HttpRequest=void 0;class h71{constructor(I){this.method=I.method||"GET",this.hostname=I.hostname||"localhost",this.port=I.port,this.query=I.query||{},this.headers=I.headers||{},this.body=I.body,this.protocol=I.protocol?I.protocol.slice(-1)!==":"?`${I.protocol}:`:I.protocol:"https:",this.path=I.path?I.path.charAt(0)!=="/"?`/${I.path}`:I.path:"/"}static isInstance(I){if(!I)return!1;let d=I;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d.query==="object"&&typeof d.headers==="object"}clone(){let I=new h71({...this,headers:{...this.headers}});if(I.query)I.query=Fk4(I.query);return I}}T60.HttpRequest=h71;function Fk4(I){return Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{})}});var j60=Y((b60)=>{Object.defineProperty(b60,"__esModule",{value:!0});b60.HttpResponse=void 0;class l60{constructor(I){this.statusCode=I.statusCode,this.headers=I.headers||{},this.body=I.body}static isInstance(I){if(!I)return!1;let d=I;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}b60.HttpResponse=l60});var c60=Y((k60)=>{Object.defineProperty(k60,"__esModule",{value:!0});k60.isValidHostname=void 0;function gk4(I){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(I)}k60.isValidHostname=gk4});var J8=Y((HV)=>{Object.defineProperty(HV,"__esModule",{value:!0});var hg=x1();hg.__exportStar(M60(),HV);hg.__exportStar(b71(),HV);hg.__exportStar(P60(),HV);hg.__exportStar(u60(),HV);hg.__exportStar(m60(),HV);hg.__exportStar(j60(),HV);hg.__exportStar(c60(),HV)});var jg=Y((n60)=>{Object.defineProperty(n60,"__esModule",{value:!0});n60.getContentLengthPlugin=n60.contentLengthMiddlewareOptions=n60.contentLengthMiddleware=void 0;var Jk4=J8(),p60="content-length";function i60(I){return(d)=>async(G)=>{let Z=G.request;if(Jk4.HttpRequest.isInstance(Z)){let{body:C,headers:W}=Z;if(C&&Object.keys(W).map((w)=>w.toLowerCase()).indexOf(p60)===-1)try{let w=I(C);Z.headers={...Z.headers,[p60]:String(w)}}catch(w){}}return d({...G,request:Z})}}n60.contentLengthMiddleware=i60;n60.contentLengthMiddlewareOptions={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0};var Kk4=(I)=>({applyToStack:(d)=>{d.add(i60(I.bodyLengthChecker),n60.contentLengthMiddlewareOptions)}});n60.getContentLengthPlugin=Kk4});var e60=Y((s60)=>{Object.defineProperty(s60,"__esModule",{value:!0});s60.isArnBucketName=s60.isDnsCompatibleBucketName=s60.S3_HOSTNAME_PATTERN=s60.DOT_PATTERN=s60.resolveParamsForS3=void 0;var zk4=async(I)=>{let d=(I===null||I===void 0?void 0:I.Bucket)||"";if(typeof I.Bucket==="string")I.Bucket=d.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(s60.isArnBucketName(d)){if(I.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!s60.isDnsCompatibleBucketName(d)||d.indexOf(".")!==-1&&!String(I.Endpoint).startsWith("http:")||d.toLowerCase()!==d||d.length<3)I.ForcePathStyle=!0;if(I.DisableMultiRegionAccessPoints)I.disableMultiRegionAccessPoints=!0,I.DisableMRAP=!0;return I};s60.resolveParamsForS3=zk4;var Qk4=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,fk4=/(\d+\.){3}\d+/,qk4=/\.\./;s60.DOT_PATTERN=/\./;s60.S3_HOSTNAME_PATTERN=/^(.+\.)?s3(-fips)?(\.dualstack)?[.-]([a-z0-9-]+)\./;var Rk4=(I)=>Qk4.test(I)&&!fk4.test(I)&&!qk4.test(I);s60.isDnsCompatibleBucketName=Rk4;var Uk4=(I)=>{let[d,G,Z,C,W,w]=I.split(":"),B=d==="arn"&&I.split(":").length>=6,A=[d,G,Z,W,w].filter(Boolean).length===5;if(B&&!A)throw new Error(`Invalid ARN: ${I} was an invalid ARN.`);return d==="arn"&&!!G&&!!Z&&!!W&&!!w};s60.isArnBucketName=Uk4});var t60=Y((k71)=>{Object.defineProperty(k71,"__esModule",{value:!0});var Sk4=x1();Sk4.__exportStar(e60(),k71)});var G80=Y((I80)=>{Object.defineProperty(I80,"__esModule",{value:!0});I80.createConfigValueProvider=void 0;var Lk4=(I,d,G)=>{let Z=async()=>{var C;let W=(C=G[I])!==null&&C!==void 0?C:G[d];if(typeof W==="function")return W();return W};if(I==="endpoint"||d==="endpoint")return async()=>{let C=await Z();if(C&&typeof C==="object"){if("url"in C)return C.url.href;if("hostname"in C){let{protocol:W,hostname:w,port:B,path:A}=C;return`${W}//${w}${B?":"+B:""}${A}`}}return C};return Z};I80.createConfigValueProvider=Lk4});var c71=Y((Z80)=>{Object.defineProperty(Z80,"__esModule",{value:!0});Z80.resolveParams=Z80.getEndpointFromInstructions=void 0;var yk4=t60(),Pk4=G80(),$k4=async(I,d,G,Z)=>{let C=await Z80.resolveParams(I,d,G);if(typeof G.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return G.endpointProvider(C,Z)};Z80.getEndpointFromInstructions=$k4;var uk4=async(I,d,G)=>{var Z;let C={},W=((Z=d===null||d===void 0?void 0:d.getEndpointParameterInstructions)===null||Z===void 0?void 0:Z.call(d))||{};for(let[w,B]of Object.entries(W))switch(B.type){case"staticContextParams":C[w]=B.value;break;case"contextParams":C[w]=I[B.name];break;case"clientContextParams":case"builtInParams":C[w]=await Pk4.createConfigValueProvider(B.name,w,G)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(B))}if(Object.keys(W).length===0)Object.assign(C,G);if(String(G.serviceId).toLowerCase()==="s3")await yk4.resolveParamsForS3(C);return C};Z80.resolveParams=uk4});var w80=Y((C80)=>{Object.defineProperty(C80,"__esModule",{value:!0});C80.parseQueryString=void 0;function Ok4(I){let d={};if(I=I.replace(/^\?/,""),I)for(let G of I.split("&")){let[Z,C=null]=G.split("=");if(Z=decodeURIComponent(Z),C)C=decodeURIComponent(C);if(!(Z in d))d[Z]=C;else if(Array.isArray(d[Z]))d[Z].push(C);else d[Z]=[d[Z],C]}return d}C80.parseQueryString=Ok4});var FV=Y((B80)=>{Object.defineProperty(B80,"__esModule",{value:!0});B80.parseUrl=void 0;var mk4=w80(),lk4=(I)=>{if(typeof I==="string")return B80.parseUrl(new URL(I));let{hostname:d,pathname:G,port:Z,protocol:C,search:W}=I,w;if(W)w=mk4.parseQueryString(W);return{hostname:d,port:Z?parseInt(Z):void 0,protocol:C,path:G,query:w}};B80.parseUrl=lk4});var i71=Y((V80)=>{Object.defineProperty(V80,"__esModule",{value:!0});V80.toEndpointV1=void 0;var A80=FV(),bk4=(I)=>{if(typeof I==="object"){if("url"in I)return A80.parseUrl(I.url);return I}return A80.parseUrl(I)};V80.toEndpointV1=bk4});var _80=Y((Vc)=>{Object.defineProperty(Vc,"__esModule",{value:!0});var Y80=x1();Y80.__exportStar(c71(),Vc);Y80.__exportStar(i71(),Vc)});var n71=Y((D80)=>{Object.defineProperty(D80,"__esModule",{value:!0});D80.endpointMiddleware=void 0;var hk4=c71(),jk4=({config:I,instructions:d})=>{return(G,Z)=>async(C)=>{var W,w;let B=await hk4.getEndpointFromInstructions(C.input,{getEndpointParameterInstructions(){return d}},{...I},Z);Z.endpointV2=B,Z.authSchemes=(W=B.properties)===null||W===void 0?void 0:W.authSchemes;let A=(w=Z.authSchemes)===null||w===void 0?void 0:w[0];if(A)Z.signing_region=A.signingRegion,Z.signing_service=A.signingName;return G({...C})}};D80.endpointMiddleware=jk4});var r71=Y((F80)=>{Object.defineProperty(F80,"__esModule",{value:!0});F80.deserializerMiddleware=void 0;var kk4=(I,d)=>(G,Z)=>async(C)=>{let{response:W}=await G(C);try{let w=await d(W,I);return{response:W,output:w}}catch(w){if(Object.defineProperty(w,"$response",{value:W}),!("$metadata"in w))w.message+=`
  Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;throw w}};F80.deserializerMiddleware=kk4});var a71=Y((J80)=>{Object.defineProperty(J80,"__esModule",{value:!0});J80.serializerMiddleware=void 0;var xk4=(I,d)=>(G,Z)=>async(C)=>{var W;let w=((W=Z.endpointV2)===null||W===void 0?void 0:W.url)&&I.urlParser?async()=>I.urlParser(Z.endpointV2.url):I.endpoint;if(!w)throw new Error("No valid endpoint provider available.");let B=await d(C.input,{...I,endpoint:w});return G({...C,request:B})};J80.serializerMiddleware=xk4});var q80=Y((N80)=>{Object.defineProperty(N80,"__esModule",{value:!0});N80.getSerdePlugin=N80.serializerMiddlewareOption=N80.deserializerMiddlewareOption=void 0;var ck4=r71(),pk4=a71();N80.deserializerMiddlewareOption={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0};N80.serializerMiddlewareOption={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function ik4(I,d,G){return{applyToStack:(Z)=>{Z.add(ck4.deserializerMiddleware(I,G),N80.deserializerMiddlewareOption),Z.add(pk4.serializerMiddleware(I,d),N80.serializerMiddlewareOption)}}}N80.getSerdePlugin=ik4});var r2=Y((VL)=>{Object.defineProperty(VL,"__esModule",{value:!0});var s71=x1();s71.__exportStar(r71(),VL);s71.__exportStar(q80(),VL);s71.__exportStar(a71(),VL)});var E80=Y((R80)=>{Object.defineProperty(R80,"__esModule",{value:!0});R80.getEndpointPlugin=R80.endpointMiddlewareOptions=void 0;var nk4=r2(),rk4=n71();R80.endpointMiddlewareOptions={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:nk4.serializerMiddlewareOption.name};var ak4=(I,d)=>({applyToStack:(G)=>{G.addRelativeTo(rk4.endpointMiddleware({config:I,instructions:d}),R80.endpointMiddlewareOptions)}});R80.getEndpointPlugin=ak4});var L80=Y((M80)=>{Object.defineProperty(M80,"__esModule",{value:!0});M80.resolveEndpointConfig=void 0;var o71=M_(),sk4=i71(),ok4=(I)=>{var d,G,Z;let C=(d=I.tls)!==null&&d!==void 0?d:!0,{endpoint:W}=I,w=W!=null?async()=>sk4.toEndpointV1(await o71.normalizeProvider(W)()):void 0;return{...I,endpoint:w,tls:C,isCustomEndpoint:!!W,useDualstackEndpoint:o71.normalizeProvider((G=I.useDualstackEndpoint)!==null&&G!==void 0?G:!1),useFipsEndpoint:o71.normalizeProvider((Z=I.useFipsEndpoint)!==null&&Z!==void 0?Z:!1)}};M80.resolveEndpointConfig=ok4});var P80=Y((y80)=>{Object.defineProperty(y80,"__esModule",{value:!0})});var u2=Y((kg)=>{Object.defineProperty(kg,"__esModule",{value:!0});var XL=x1();XL.__exportStar(_80(),kg);XL.__exportStar(n71(),kg);XL.__exportStar(E80(),kg);XL.__exportStar(L80(),kg);XL.__exportStar(P80(),kg)});var Xc=Y(($80)=>{Object.defineProperty($80,"__esModule",{value:!0});$80.getHostHeaderPlugin=$80.hostHeaderMiddlewareOptions=$80.hostHeaderMiddleware=$80.resolveHostHeaderConfig=void 0;var ek4=J8();function tk4(I){return I}$80.resolveHostHeaderConfig=tk4;var Ix4=(I)=>(d)=>async(G)=>{if(!ek4.HttpRequest.isInstance(G.request))return d(G);let{request:Z}=G,{handlerProtocol:C=""}=I.requestHandler.metadata||{};if(C.indexOf("h2")>=0&&!Z.headers[":authority"])delete Z.headers.host,Z.headers[":authority"]="";else if(!Z.headers.host){let W=Z.hostname;if(Z.port!=null)W+=`:${Z.port}`;Z.headers.host=W}return d(G)};$80.hostHeaderMiddleware=Ix4;$80.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var dx4=(I)=>({applyToStack:(d)=>{d.add($80.hostHeaderMiddleware(I),$80.hostHeaderMiddlewareOptions)}});$80.getHostHeaderPlugin=dx4});var j80=Y((m80)=>{Object.defineProperty(m80,"__esModule",{value:!0});m80.getLoggerPlugin=m80.loggerMiddlewareOptions=m80.loggerMiddleware=void 0;var Zx4=()=>(I,d)=>async(G)=>{var Z,C;try{let W=await I(G),{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X,overrideOutputFilterSensitiveLog:_}=V,F=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog,g=_!==null&&_!==void 0?_:d.outputFilterSensitiveLog,{$metadata:J,...K}=W.output;return(Z=A===null||A===void 0?void 0:A.info)===null||Z===void 0||Z.call(A,{clientName:w,commandName:B,input:F(G.input),output:g(K),metadata:J}),W}catch(W){let{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X}=V,_=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog;throw(C=A===null||A===void 0?void 0:A.error)===null||C===void 0||C.call(A,{clientName:w,commandName:B,input:_(G.input),error:W,metadata:W.$metadata}),W}};m80.loggerMiddleware=Zx4;m80.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var Cx4=(I)=>({applyToStack:(d)=>{d.add(m80.loggerMiddleware(),m80.loggerMiddlewareOptions)}});m80.getLoggerPlugin=Cx4});var Yc=Y((e71)=>{Object.defineProperty(e71,"__esModule",{value:!0});var Wx4=x1();Wx4.__exportStar(j80(),e71)});var _c=Y((x80)=>{Object.defineProperty(x80,"__esModule",{value:!0});x80.getRecursionDetectionPlugin=x80.addRecursionDetectionMiddlewareOptions=x80.recursionDetectionMiddleware=void 0;var wx4=J8(),k80="X-Amzn-Trace-Id",Bx4="AWS_LAMBDA_FUNCTION_NAME",Ax4="_X_AMZN_TRACE_ID",Vx4=(I)=>(d)=>async(G)=>{let{request:Z}=G;if(!wx4.HttpRequest.isInstance(Z)||I.runtime!=="node"||Z.headers.hasOwnProperty(k80))return d(G);let C=process.env[Bx4],W=process.env[Ax4],w=(B)=>typeof B==="string"&&B.length>0;if(w(C)&&w(W))Z.headers[k80]=W;return d({...G,request:Z})};x80.recursionDetectionMiddleware=Vx4;x80.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var Xx4=(I)=>({applyToStack:(d)=>{d.add(x80.recursionDetectionMiddleware(I),x80.addRecursionDetectionMiddlewareOptions)}});x80.getRecursionDetectionPlugin=Xx4});var Dc=Y((a80)=>{Object.defineProperty(a80,"__esModule",{value:!0});a80.DEFAULT_RETRY_MODE=a80.DEFAULT_MAX_ATTEMPTS=a80.RETRY_MODES=void 0;var r80;(function(I){I.STANDARD="standard",I.ADAPTIVE="adaptive"})(r80=a80.RETRY_MODES||(a80.RETRY_MODES={}));a80.DEFAULT_MAX_ATTEMPTS=3;a80.DEFAULT_RETRY_MODE=r80.STANDARD});var t80=Y((o80)=>{Object.defineProperty(o80,"__esModule",{value:!0});o80.NODEJS_TIMEOUT_ERROR_CODES=o80.TRANSIENT_ERROR_STATUS_CODES=o80.TRANSIENT_ERROR_CODES=o80.THROTTLING_ERROR_CODES=o80.CLOCK_SKEW_ERROR_CODES=void 0;o80.CLOCK_SKEW_ERROR_CODES=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];o80.THROTTLING_ERROR_CODES=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];o80.TRANSIENT_ERROR_CODES=["AbortError","TimeoutError","RequestTimeout","RequestTimeoutException"];o80.TRANSIENT_ERROR_STATUS_CODES=[500,502,503,504];o80.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"]});var _L=Y((I70)=>{Object.defineProperty(I70,"__esModule",{value:!0});I70.isServerError=I70.isTransientError=I70.isThrottlingError=I70.isClockSkewError=I70.isRetryableByTrait=void 0;var YL=t80(),gx4=(I)=>I.$retryable!==void 0;I70.isRetryableByTrait=gx4;var Jx4=(I)=>YL.CLOCK_SKEW_ERROR_CODES.includes(I.name);I70.isClockSkewError=Jx4;var Kx4=(I)=>{var d,G;return((d=I.$metadata)===null||d===void 0?void 0:d.httpStatusCode)===429||YL.THROTTLING_ERROR_CODES.includes(I.name)||((G=I.$retryable)===null||G===void 0?void 0:G.throttling)==!0};I70.isThrottlingError=Kx4;var Nx4=(I)=>{var d;return YL.TRANSIENT_ERROR_CODES.includes(I.name)||YL.NODEJS_TIMEOUT_ERROR_CODES.includes((I===null||I===void 0?void 0:I.code)||"")||YL.TRANSIENT_ERROR_STATUS_CODES.includes(((d=I.$metadata)===null||d===void 0?void 0:d.httpStatusCode)||0)};I70.isTransientError=Nx4;var zx4=(I)=>{var d;if(((d=I.$metadata)===null||d===void 0?void 0:d.httpStatusCode)!==void 0){let G=I.$metadata.httpStatusCode;if(500<=G&&G<=599&&!I70.isTransientError(I))return!0;return!1}return!1};I70.isServerError=zx4});var t71=Y((C70)=>{Object.defineProperty(C70,"__esModule",{value:!0});C70.DefaultRateLimiter=void 0;var Rx4=_L();class Z70{constructor(I){var d,G,Z,C,W;this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(d=I===null||I===void 0?void 0:I.beta)!==null&&d!==void 0?d:0.7,this.minCapacity=(G=I===null||I===void 0?void 0:I.minCapacity)!==null&&G!==void 0?G:1,this.minFillRate=(Z=I===null||I===void 0?void 0:I.minFillRate)!==null&&Z!==void 0?Z:0.5,this.scaleConstant=(C=I===null||I===void 0?void 0:I.scaleConstant)!==null&&C!==void 0?C:0.4,this.smooth=(W=I===null||I===void 0?void 0:I.smooth)!==null&&W!==void 0?W:0.8;let w=this.getCurrentTimeInSeconds();this.lastThrottleTime=w,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(I){if(!this.enabled)return;if(this.refillTokenBucket(),I>this.currentCapacity){let d=(I-this.currentCapacity)/this.fillRate*1000;await new Promise((G)=>setTimeout(G,d))}this.currentCapacity=this.currentCapacity-I}refillTokenBucket(){let I=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=I;return}let d=(I-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+d),this.lastTimestamp=I}updateClientSendingRate(I){let d;if(this.updateMeasuredRate(),Rx4.isThrottlingError(I)){let Z=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=Z,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),d=this.cubicThrottle(Z),this.enableTokenBucket()}else this.calculateTimeWindow(),d=this.cubicSuccess(this.getCurrentTimeInSeconds());let G=Math.min(d,2*this.measuredTxRate);this.updateTokenBucketRate(G)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(I){return this.getPrecise(I*this.beta)}cubicSuccess(I){return this.getPrecise(this.scaleConstant*Math.pow(I-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(I){this.refillTokenBucket(),this.fillRate=Math.max(I,this.minFillRate),this.maxCapacity=Math.max(I,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let I=this.getCurrentTimeInSeconds(),d=Math.floor(I*2)/2;if(this.requestCount++,d>this.lastTxRateBucket){let G=this.requestCount/(d-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(G*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=d}}getPrecise(I){return parseFloat(I.toFixed(8))}}C70.DefaultRateLimiter=Z70});var Sf=Y((w70)=>{Object.defineProperty(w70,"__esModule",{value:!0});w70.REQUEST_HEADER=w70.INVOCATION_ID_HEADER=w70.NO_RETRY_INCREMENT=w70.TIMEOUT_RETRY_COST=w70.RETRY_COST=w70.INITIAL_RETRY_TOKENS=w70.THROTTLING_RETRY_DELAY_BASE=w70.MAXIMUM_RETRY_DELAY=w70.DEFAULT_RETRY_DELAY_BASE=void 0;w70.DEFAULT_RETRY_DELAY_BASE=100;w70.MAXIMUM_RETRY_DELAY=20000;w70.THROTTLING_RETRY_DELAY_BASE=500;w70.INITIAL_RETRY_TOKENS=500;w70.RETRY_COST=5;w70.TIMEOUT_RETRY_COST=10;w70.NO_RETRY_INCREMENT=1;w70.INVOCATION_ID_HEADER="amz-sdk-invocation-id";w70.REQUEST_HEADER="amz-sdk-request"});var Y70=Y((V70)=>{Object.defineProperty(V70,"__esModule",{value:!0});V70.getDefaultRetryBackoffStrategy=void 0;var A70=Sf(),$x4=()=>{let I=A70.DEFAULT_RETRY_DELAY_BASE;return{computeNextBackoffDelay:(Z)=>{return Math.floor(Math.min(A70.MAXIMUM_RETRY_DELAY,Math.random()*2**Z*I))},setDelayBase:(Z)=>{I=Z}}};V70.getDefaultRetryBackoffStrategy=$x4});var H70=Y((_70)=>{Object.defineProperty(_70,"__esModule",{value:!0});_70.createDefaultRetryToken=void 0;var ux4=Sf(),Tx4=({retryDelay:I,retryCount:d,retryCost:G})=>{return{getRetryCount:()=>d,getRetryDelay:()=>Math.min(ux4.MAXIMUM_RETRY_DELAY,I),getRetryCost:()=>G}};_70.createDefaultRetryToken=Tx4});var Hc=Y((J70)=>{Object.defineProperty(J70,"__esModule",{value:!0});J70.StandardRetryStrategy=void 0;var II1=Dc(),S_=Sf(),Ox4=Y70(),F70=H70();class g70{constructor(I){this.maxAttempts=I,this.mode=II1.RETRY_MODES.STANDARD,this.capacity=S_.INITIAL_RETRY_TOKENS,this.retryBackoffStrategy=Ox4.getDefaultRetryBackoffStrategy(),this.maxAttemptsProvider=typeof I==="function"?I:async()=>I}async acquireInitialRetryToken(I){return F70.createDefaultRetryToken({retryDelay:S_.DEFAULT_RETRY_DELAY_BASE,retryCount:0})}async refreshRetryTokenForRetry(I,d){let G=await this.getMaxAttempts();if(this.shouldRetry(I,d,G)){let Z=d.errorType;this.retryBackoffStrategy.setDelayBase(Z==="THROTTLING"?S_.THROTTLING_RETRY_DELAY_BASE:S_.DEFAULT_RETRY_DELAY_BASE);let C=this.retryBackoffStrategy.computeNextBackoffDelay(I.getRetryCount()),W=d.retryAfterHint?Math.max(d.retryAfterHint.getTime()-Date.now()||0,C):C,w=this.getCapacityCost(Z);return this.capacity-=w,F70.createDefaultRetryToken({retryDelay:W,retryCount:I.getRetryCount()+1,retryCost:w})}throw new Error("No retry token available")}recordSuccess(I){var d;this.capacity=Math.max(S_.INITIAL_RETRY_TOKENS,this.capacity+((d=I.getRetryCost())!==null&&d!==void 0?d:S_.NO_RETRY_INCREMENT))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(I){return console.warn(`Max attempts provider could not resolve. Using default of ${II1.DEFAULT_MAX_ATTEMPTS}`),II1.DEFAULT_MAX_ATTEMPTS}}shouldRetry(I,d,G){return I.getRetryCount()<G&&this.capacity>=this.getCapacityCost(d.errorType)&&this.isRetryableError(d.errorType)}getCapacityCost(I){return I==="TRANSIENT"?S_.TIMEOUT_RETRY_COST:S_.RETRY_COST}isRetryableError(I){return I==="THROTTLING"||I==="TRANSIENT"}}J70.StandardRetryStrategy=g70});var f70=Y((z70)=>{Object.defineProperty(z70,"__esModule",{value:!0});z70.AdaptiveRetryStrategy=void 0;var mx4=Dc(),lx4=t71(),bx4=Hc();class N70{constructor(I,d){this.maxAttemptsProvider=I,this.mode=mx4.RETRY_MODES.ADAPTIVE;let{rateLimiter:G}=d!==null&&d!==void 0?d:{};this.rateLimiter=G!==null&&G!==void 0?G:new lx4.DefaultRateLimiter,this.standardRetryStrategy=new bx4.StandardRetryStrategy(I)}async acquireInitialRetryToken(I){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(I)}async refreshRetryTokenForRetry(I,d){return this.rateLimiter.updateClientSendingRate(d),this.standardRetryStrategy.refreshRetryTokenForRetry(I,d)}recordSuccess(I){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(I)}}z70.AdaptiveRetryStrategy=N70});var v70=Y((R70)=>{Object.defineProperty(R70,"__esModule",{value:!0});R70.ConfiguredRetryStrategy=void 0;var hx4=Sf(),jx4=Hc();class q70 extends jx4.StandardRetryStrategy{constructor(I,d=hx4.DEFAULT_RETRY_DELAY_BASE){super(typeof I==="function"?I:async()=>I);if(typeof d==="number")this.computeNextBackoffDelay=()=>d;else this.computeNextBackoffDelay=d}async refreshRetryTokenForRetry(I,d){let G=await super.refreshRetryTokenForRetry(I,d);return G.getRetryDelay=()=>this.computeNextBackoffDelay(G.getRetryCount()),G}}R70.ConfiguredRetryStrategy=q70});var M70=Y((E70)=>{Object.defineProperty(E70,"__esModule",{value:!0})});var Wd=Y((gV)=>{Object.defineProperty(gV,"__esModule",{value:!0});var xg=x1();xg.__exportStar(f70(),gV);xg.__exportStar(v70(),gV);xg.__exportStar(t71(),gV);xg.__exportStar(Hc(),gV);xg.__exportStar(Dc(),gV);xg.__exportStar(Sf(),gV);xg.__exportStar(M70(),gV)});var dI1=Y((S70)=>{Object.defineProperty(S70,"__esModule",{value:!0});S70.default=cx4;var kx4=xx4(B1("crypto"));function xx4(I){return I&&I.__esModule?I:{default:I}}var gc=new Uint8Array(256),Fc=gc.length;function cx4(){if(Fc>gc.length-16)kx4.default.randomFillSync(gc),Fc=0;return gc.slice(Fc,Fc+=16)}});var P70=Y((L70)=>{Object.defineProperty(L70,"__esModule",{value:!0});L70.default=void 0;var ix4=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;L70.default=ix4});var DL=Y(($70)=>{Object.defineProperty($70,"__esModule",{value:!0});$70.default=void 0;var nx4=rx4(P70());function rx4(I){return I&&I.__esModule?I:{default:I}}function ax4(I){return typeof I==="string"&&nx4.default.test(I)}var sx4=ax4;$70.default=sx4});var HL=Y((T70)=>{Object.defineProperty(T70,"__esModule",{value:!0});T70.default=void 0;var ox4=ex4(DL());function ex4(I){return I&&I.__esModule?I:{default:I}}var n8=[];for(let I=0;I<256;++I)n8.push((I+256).toString(16).substr(1));function tx4(I,d=0){let G=(n8[I[d+0]]+n8[I[d+1]]+n8[I[d+2]]+n8[I[d+3]]+"-"+n8[I[d+4]]+n8[I[d+5]]+"-"+n8[I[d+6]]+n8[I[d+7]]+"-"+n8[I[d+8]]+n8[I[d+9]]+"-"+n8[I[d+10]]+n8[I[d+11]]+n8[I[d+12]]+n8[I[d+13]]+n8[I[d+14]]+n8[I[d+15]]).toLowerCase();if(!ox4.default(G))throw TypeError("Stringified UUID is invalid");return G}var Ic4=tx4;T70.default=Ic4});var j70=Y((b70)=>{Object.defineProperty(b70,"__esModule",{value:!0});b70.default=void 0;var dc4=l70(dI1()),Gc4=l70(HL());function l70(I){return I&&I.__esModule?I:{default:I}}var m70,GI1,ZI1=0,CI1=0;function Zc4(I,d,G){let Z=d&&G||0,C=d||new Array(16);I=I||{};let W=I.node||m70,w=I.clockseq!==void 0?I.clockseq:GI1;if(W==null||w==null){let F=I.random||(I.rng||dc4.default)();if(W==null)W=m70=[F[0]|1,F[1],F[2],F[3],F[4],F[5]];if(w==null)w=GI1=(F[6]<<8|F[7])&16383}let B=I.msecs!==void 0?I.msecs:Date.now(),A=I.nsecs!==void 0?I.nsecs:CI1+1,V=B-ZI1+(A-CI1)/1e4;if(V<0&&I.clockseq===void 0)w=w+1&16383;if((V<0||B>ZI1)&&I.nsecs===void 0)A=0;if(A>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ZI1=B,CI1=A,GI1=w,B+=12219292800000;let X=((B&268435455)*1e4+A)%4294967296;C[Z++]=X>>>24&255,C[Z++]=X>>>16&255,C[Z++]=X>>>8&255,C[Z++]=X&255;let _=B/4294967296*1e4&268435455;C[Z++]=_>>>8&255,C[Z++]=_&255,C[Z++]=_>>>24&15|16,C[Z++]=_>>>16&255,C[Z++]=w>>>8|128,C[Z++]=w&255;for(let F=0;F<6;++F)C[Z+F]=W[F];return d||Gc4.default(C)}var Cc4=Zc4;b70.default=Cc4});var WI1=Y((k70)=>{Object.defineProperty(k70,"__esModule",{value:!0});k70.default=void 0;var Wc4=wc4(DL());function wc4(I){return I&&I.__esModule?I:{default:I}}function Bc4(I){if(!Wc4.default(I))throw TypeError("Invalid UUID");let d,G=new Uint8Array(16);return G[0]=(d=parseInt(I.slice(0,8),16))>>>24,G[1]=d>>>16&255,G[2]=d>>>8&255,G[3]=d&255,G[4]=(d=parseInt(I.slice(9,13),16))>>>8,G[5]=d&255,G[6]=(d=parseInt(I.slice(14,18),16))>>>8,G[7]=d&255,G[8]=(d=parseInt(I.slice(19,23),16))>>>8,G[9]=d&255,G[10]=(d=parseInt(I.slice(24,36),16))/1099511627776&255,G[11]=d/4294967296&255,G[12]=d>>>24&255,G[13]=d>>>16&255,G[14]=d>>>8&255,G[15]=d&255,G}var Ac4=Bc4;k70.default=Ac4});var wI1=Y((n70)=>{Object.defineProperty(n70,"__esModule",{value:!0});n70.default=_c4;n70.URL=n70.DNS=void 0;var Vc4=c70(HL()),Xc4=c70(WI1());function c70(I){return I&&I.__esModule?I:{default:I}}function Yc4(I){I=unescape(encodeURIComponent(I));let d=[];for(let G=0;G<I.length;++G)d.push(I.charCodeAt(G));return d}var p70="6ba7b810-9dad-11d1-80b4-00c04fd430c8";n70.DNS=p70;var i70="6ba7b811-9dad-11d1-80b4-00c04fd430c8";n70.URL=i70;function _c4(I,d,G){function Z(C,W,w,B){if(typeof C==="string")C=Yc4(C);if(typeof W==="string")W=Xc4.default(W);if(W.length!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let A=new Uint8Array(16+C.length);if(A.set(W),A.set(C,W.length),A=G(A),A[6]=A[6]&15|d,A[8]=A[8]&63|128,w){B=B||0;for(let V=0;V<16;++V)w[B+V]=A[V];return w}return Vc4.default(A)}try{Z.name=I}catch(C){}return Z.DNS=p70,Z.URL=i70,Z}});var o70=Y((a70)=>{Object.defineProperty(a70,"__esModule",{value:!0});a70.default=void 0;var Fc4=gc4(B1("crypto"));function gc4(I){return I&&I.__esModule?I:{default:I}}function Jc4(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return Fc4.default.createHash("md5").update(I).digest()}var Kc4=Jc4;a70.default=Kc4});var dI0=Y((t70)=>{Object.defineProperty(t70,"__esModule",{value:!0});t70.default=void 0;var Nc4=e70(wI1()),zc4=e70(o70());function e70(I){return I&&I.__esModule?I:{default:I}}var Qc4=Nc4.default("v3",48,zc4.default),fc4=Qc4;t70.default=fc4});var WI0=Y((ZI0)=>{Object.defineProperty(ZI0,"__esModule",{value:!0});ZI0.default=void 0;var qc4=GI0(dI1()),Rc4=GI0(HL());function GI0(I){return I&&I.__esModule?I:{default:I}}function Uc4(I,d,G){I=I||{};let Z=I.random||(I.rng||qc4.default)();if(Z[6]=Z[6]&15|64,Z[8]=Z[8]&63|128,d){G=G||0;for(let C=0;C<16;++C)d[G+C]=Z[C];return d}return Rc4.default(Z)}var vc4=Uc4;ZI0.default=vc4});var AI0=Y((wI0)=>{Object.defineProperty(wI0,"__esModule",{value:!0});wI0.default=void 0;var Ec4=Mc4(B1("crypto"));function Mc4(I){return I&&I.__esModule?I:{default:I}}function Sc4(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return Ec4.default.createHash("sha1").update(I).digest()}var Lc4=Sc4;wI0.default=Lc4});var _I0=Y((XI0)=>{Object.defineProperty(XI0,"__esModule",{value:!0});XI0.default=void 0;var yc4=VI0(wI1()),Pc4=VI0(AI0());function VI0(I){return I&&I.__esModule?I:{default:I}}var $c4=yc4.default("v5",80,Pc4.default),uc4=$c4;XI0.default=uc4});var FI0=Y((DI0)=>{Object.defineProperty(DI0,"__esModule",{value:!0});DI0.default=void 0;var Tc4="00000000-0000-0000-0000-000000000000";DI0.default=Tc4});var KI0=Y((gI0)=>{Object.defineProperty(gI0,"__esModule",{value:!0});gI0.default=void 0;var Oc4=mc4(DL());function mc4(I){return I&&I.__esModule?I:{default:I}}function lc4(I){if(!Oc4.default(I))throw TypeError("Invalid UUID");return parseInt(I.substr(14,1),16)}var bc4=lc4;gI0.default=bc4});var BI1=Y((bC)=>{Object.defineProperty(bC,"__esModule",{value:!0});Object.defineProperty(bC,"v1",{enumerable:!0,get:function(){return hc4.default}});Object.defineProperty(bC,"v3",{enumerable:!0,get:function(){return jc4.default}});Object.defineProperty(bC,"v4",{enumerable:!0,get:function(){return kc4.default}});Object.defineProperty(bC,"v5",{enumerable:!0,get:function(){return xc4.default}});Object.defineProperty(bC,"NIL",{enumerable:!0,get:function(){return cc4.default}});Object.defineProperty(bC,"version",{enumerable:!0,get:function(){return pc4.default}});Object.defineProperty(bC,"validate",{enumerable:!0,get:function(){return ic4.default}});Object.defineProperty(bC,"stringify",{enumerable:!0,get:function(){return nc4.default}});Object.defineProperty(bC,"parse",{enumerable:!0,get:function(){return rc4.default}});var hc4=JV(j70()),jc4=JV(dI0()),kc4=JV(WI0()),xc4=JV(_I0()),cc4=JV(FI0()),pc4=JV(KI0()),ic4=JV(DL()),nc4=JV(HL()),rc4=JV(WI1());function JV(I){return I&&I.__esModule?I:{default:I}}});var QI0=Y((NI0)=>{Object.defineProperty(NI0,"__esModule",{value:!0});NI0.getDefaultRetryQuota=void 0;var AI1=Wd(),ac4=(I,d)=>{var G,Z,C;let W=I,w=(G=d===null||d===void 0?void 0:d.noRetryIncrement)!==null&&G!==void 0?G:AI1.NO_RETRY_INCREMENT,B=(Z=d===null||d===void 0?void 0:d.retryCost)!==null&&Z!==void 0?Z:AI1.RETRY_COST,A=(C=d===null||d===void 0?void 0:d.timeoutRetryCost)!==null&&C!==void 0?C:AI1.TIMEOUT_RETRY_COST,V=I,X=(J)=>J.name==="TimeoutError"?A:B,_=(J)=>X(J)<=V;return Object.freeze({hasRetryTokens:_,retrieveRetryTokens:(J)=>{if(!_(J))throw new Error("No retry token available");let K=X(J);return V-=K,K},releaseRetryTokens:(J)=>{V+=J!==null&&J!==void 0?J:w,V=Math.min(V,W)}})};NI0.getDefaultRetryQuota=ac4});var VI1=Y((fI0)=>{Object.defineProperty(fI0,"__esModule",{value:!0});fI0.defaultDelayDecider=void 0;var sc4=Wd(),oc4=(I,d)=>Math.floor(Math.min(sc4.MAXIMUM_RETRY_DELAY,Math.random()*2**d*I));fI0.defaultDelayDecider=oc4});var XI1=Y((RI0)=>{Object.defineProperty(RI0,"__esModule",{value:!0});RI0.defaultRetryDecider=void 0;var Jc=_L(),ec4=(I)=>{if(!I)return!1;return Jc.isRetryableByTrait(I)||Jc.isClockSkewError(I)||Jc.isThrottlingError(I)||Jc.isTransientError(I)};RI0.defaultRetryDecider=ec4});var YI1=Y((vI0)=>{Object.defineProperty(vI0,"__esModule",{value:!0});vI0.asSdkError=void 0;var tc4=(I)=>{if(I instanceof Error)return I;if(I instanceof Object)return Object.assign(new Error,I);if(typeof I==="string")return new Error(I);return new Error(`AWS SDK error wrapper for ${I}`)};vI0.asSdkError=tc4});var DI1=Y((SI0)=>{Object.defineProperty(SI0,"__esModule",{value:!0});SI0.StandardRetryStrategy=void 0;var _I1=J8(),Ip4=_L(),cg=Wd(),dp4=BI1(),Gp4=QI0(),Zp4=VI1(),Cp4=XI1(),Wp4=YI1();class MI0{constructor(I,d){var G,Z,C;this.maxAttemptsProvider=I,this.mode=cg.RETRY_MODES.STANDARD,this.retryDecider=(G=d===null||d===void 0?void 0:d.retryDecider)!==null&&G!==void 0?G:Cp4.defaultRetryDecider,this.delayDecider=(Z=d===null||d===void 0?void 0:d.delayDecider)!==null&&Z!==void 0?Z:Zp4.defaultDelayDecider,this.retryQuota=(C=d===null||d===void 0?void 0:d.retryQuota)!==null&&C!==void 0?C:Gp4.getDefaultRetryQuota(cg.INITIAL_RETRY_TOKENS)}shouldRetry(I,d,G){return d<G&&this.retryDecider(I)&&this.retryQuota.hasRetryTokens(I)}async getMaxAttempts(){let I;try{I=await this.maxAttemptsProvider()}catch(d){I=cg.DEFAULT_MAX_ATTEMPTS}return I}async retry(I,d,G){let Z,C=0,W=0,w=await this.getMaxAttempts(),{request:B}=d;if(_I1.HttpRequest.isInstance(B))B.headers[cg.INVOCATION_ID_HEADER]=dp4.v4();while(!0)try{if(_I1.HttpRequest.isInstance(B))B.headers[cg.REQUEST_HEADER]=`attempt=${C+1}; max=${w}`;if(G===null||G===void 0?void 0:G.beforeRequest)await G.beforeRequest();let{response:A,output:V}=await I(d);if(G===null||G===void 0?void 0:G.afterRequest)G.afterRequest(A);return this.retryQuota.releaseRetryTokens(Z),V.$metadata.attempts=C+1,V.$metadata.totalRetryDelay=W,{response:A,output:V}}catch(A){let V=Wp4.asSdkError(A);if(C++,this.shouldRetry(V,C,w)){Z=this.retryQuota.retrieveRetryTokens(V);let X=this.delayDecider(Ip4.isThrottlingError(V)?cg.THROTTLING_RETRY_DELAY_BASE:cg.DEFAULT_RETRY_DELAY_BASE,C),_=wp4(V.$response),F=Math.max(_||0,X);W+=F,await new Promise((g)=>setTimeout(g,F));continue}if(!V.$metadata)V.$metadata={};throw V.$metadata.attempts=C,V.$metadata.totalRetryDelay=W,V}}}SI0.StandardRetryStrategy=MI0;var wp4=(I)=>{if(!_I1.HttpResponse.isInstance(I))return;let d=Object.keys(I.headers).find((W)=>W.toLowerCase()==="retry-after");if(!d)return;let G=I.headers[d],Z=Number(G);if(!Number.isNaN(Z))return Z*1000;return new Date(G).getTime()-Date.now()}});var TI0=Y(($I0)=>{Object.defineProperty($I0,"__esModule",{value:!0});$I0.AdaptiveRetryStrategy=void 0;var yI0=Wd(),Bp4=DI1();class PI0 extends Bp4.StandardRetryStrategy{constructor(I,d){let{rateLimiter:G,...Z}=d!==null&&d!==void 0?d:{};super(I,Z);this.rateLimiter=G!==null&&G!==void 0?G:new yI0.DefaultRateLimiter,this.mode=yI0.RETRY_MODES.ADAPTIVE}async retry(I,d){return super.retry(I,d,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(G)=>{this.rateLimiter.updateClientSendingRate(G)}})}}$I0.AdaptiveRetryStrategy=PI0});var jI0=Y((mI0)=>{Object.defineProperty(mI0,"__esModule",{value:!0});mI0.NODE_RETRY_MODE_CONFIG_OPTIONS=mI0.CONFIG_RETRY_MODE=mI0.ENV_RETRY_MODE=mI0.resolveRetryConfig=mI0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=mI0.CONFIG_MAX_ATTEMPTS=mI0.ENV_MAX_ATTEMPTS=void 0;var OI0=M_(),Lf=Wd();mI0.ENV_MAX_ATTEMPTS="AWS_MAX_ATTEMPTS";mI0.CONFIG_MAX_ATTEMPTS="max_attempts";mI0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS={environmentVariableSelector:(I)=>{let d=I[mI0.ENV_MAX_ATTEMPTS];if(!d)return;let G=parseInt(d);if(Number.isNaN(G))throw new Error(`Environment variable ${mI0.ENV_MAX_ATTEMPTS} mast be a number, got "${d}"`);return G},configFileSelector:(I)=>{let d=I[mI0.CONFIG_MAX_ATTEMPTS];if(!d)return;let G=parseInt(d);if(Number.isNaN(G))throw new Error(`Shared config file entry ${mI0.CONFIG_MAX_ATTEMPTS} mast be a number, got "${d}"`);return G},default:Lf.DEFAULT_MAX_ATTEMPTS};var Ap4=(I)=>{var d;let{retryStrategy:G}=I,Z=OI0.normalizeProvider((d=I.maxAttempts)!==null&&d!==void 0?d:Lf.DEFAULT_MAX_ATTEMPTS);return{...I,maxAttempts:Z,retryStrategy:async()=>{if(G)return G;if(await OI0.normalizeProvider(I.retryMode)()===Lf.RETRY_MODES.ADAPTIVE)return new Lf.AdaptiveRetryStrategy(Z);return new Lf.StandardRetryStrategy(Z)}}};mI0.resolveRetryConfig=Ap4;mI0.ENV_RETRY_MODE="AWS_RETRY_MODE";mI0.CONFIG_RETRY_MODE="retry_mode";mI0.NODE_RETRY_MODE_CONFIG_OPTIONS={environmentVariableSelector:(I)=>I[mI0.ENV_RETRY_MODE],configFileSelector:(I)=>I[mI0.CONFIG_RETRY_MODE],default:Lf.DEFAULT_RETRY_MODE}});var nI0=Y((xI0)=>{Object.defineProperty(xI0,"__esModule",{value:!0});xI0.getOmitRetryHeadersPlugin=xI0.omitRetryHeadersMiddlewareOptions=xI0.omitRetryHeadersMiddleware=void 0;var Yp4=J8(),kI0=Wd(),_p4=()=>(I)=>async(d)=>{let{request:G}=d;if(Yp4.HttpRequest.isInstance(G))delete G.headers[kI0.INVOCATION_ID_HEADER],delete G.headers[kI0.REQUEST_HEADER];return I(d)};xI0.omitRetryHeadersMiddleware=_p4;xI0.omitRetryHeadersMiddlewareOptions={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0};var Dp4=(I)=>({applyToStack:(d)=>{d.addRelativeTo(xI0.omitRetryHeadersMiddleware(),xI0.omitRetryHeadersMiddlewareOptions)}});xI0.getOmitRetryHeadersPlugin=Dp4});var eI0=Y((aI0)=>{Object.defineProperty(aI0,"__esModule",{value:!0});aI0.getRetryAfterHint=aI0.getRetryPlugin=aI0.retryMiddlewareOptions=aI0.retryMiddleware=void 0;var JI1=J8(),gI1=_L(),rI0=Wd(),Hp4=BI1(),Fp4=YI1(),gp4=(I)=>(d,G)=>async(Z)=>{let C=await I.retryStrategy(),W=await I.maxAttempts();if(Jp4(C)){C=C;let w=await C.acquireInitialRetryToken(G.partition_id),B=new Error,A=0,V=0,{request:X}=Z;if(JI1.HttpRequest.isInstance(X))X.headers[rI0.INVOCATION_ID_HEADER]=Hp4.v4();while(!0)try{if(JI1.HttpRequest.isInstance(X))X.headers[rI0.REQUEST_HEADER]=`attempt=${A+1}; max=${W}`;let{response:_,output:F}=await d(Z);return C.recordSuccess(w),F.$metadata.attempts=A+1,F.$metadata.totalRetryDelay=V,{response:_,output:F}}catch(_){let F=Kp4(_);B=Fp4.asSdkError(_);try{w=await C.refreshRetryTokenForRetry(w,F)}catch(J){if(!B.$metadata)B.$metadata={};throw B.$metadata.attempts=A+1,B.$metadata.totalRetryDelay=V,B}A=w.getRetryCount();let g=w.getRetryDelay();V+=g,await new Promise((J)=>setTimeout(J,g))}}else{if(C=C,C===null||C===void 0?void 0:C.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",C.mode]];return C.retry(d,Z)}};aI0.retryMiddleware=gp4;var Jp4=(I)=>typeof I.acquireInitialRetryToken!=="undefined"&&typeof I.refreshRetryTokenForRetry!=="undefined"&&typeof I.recordSuccess!=="undefined",Kp4=(I)=>{let d={errorType:Np4(I)},G=aI0.getRetryAfterHint(I.$response);if(G)d.retryAfterHint=G;return d},Np4=(I)=>{if(gI1.isThrottlingError(I))return"THROTTLING";if(gI1.isTransientError(I))return"TRANSIENT";if(gI1.isServerError(I))return"SERVER_ERROR";return"CLIENT_ERROR"};aI0.retryMiddlewareOptions={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0};var zp4=(I)=>({applyToStack:(d)=>{d.add(aI0.retryMiddleware(I),aI0.retryMiddlewareOptions)}});aI0.getRetryPlugin=zp4;var Qp4=(I)=>{if(!JI1.HttpResponse.isInstance(I))return;let d=Object.keys(I.headers).find((W)=>W.toLowerCase()==="retry-after");if(!d)return;let G=I.headers[d],Z=Number(G);if(!Number.isNaN(Z))return new Date(Z*1000);return new Date(G)};aI0.getRetryAfterHint=Qp4});var dG=Y((KV)=>{Object.defineProperty(KV,"__esModule",{value:!0});var pg=x1();pg.__exportStar(TI0(),KV);pg.__exportStar(DI1(),KV);pg.__exportStar(jI0(),KV);pg.__exportStar(VI1(),KV);pg.__exportStar(nI0(),KV);pg.__exportStar(XI1(),KV);pg.__exportStar(eI0(),KV)});var FL=Y((tI0)=>{Object.defineProperty(tI0,"__esModule",{value:!0});tI0.ProviderError=void 0;class NI1 extends Error{constructor(I,d=!0){super(I);this.tryNextLink=d,this.name="ProviderError",Object.setPrototypeOf(this,NI1.prototype)}static from(I,d=!0){return Object.assign(new this(I.message,d),I)}}tI0.ProviderError=NI1});var Zd0=Y((dd0)=>{Object.defineProperty(dd0,"__esModule",{value:!0});dd0.CredentialsProviderError=void 0;var qp4=FL();class zI1 extends qp4.ProviderError{constructor(I,d=!0){super(I,d);this.tryNextLink=d,this.name="CredentialsProviderError",Object.setPrototypeOf(this,zI1.prototype)}}dd0.CredentialsProviderError=zI1});var wd0=Y((Cd0)=>{Object.defineProperty(Cd0,"__esModule",{value:!0});Cd0.TokenProviderError=void 0;var Rp4=FL();class QI1 extends Rp4.ProviderError{constructor(I,d=!0){super(I,d);this.tryNextLink=d,this.name="TokenProviderError",Object.setPrototypeOf(this,QI1.prototype)}}Cd0.TokenProviderError=QI1});var Vd0=Y((Bd0)=>{Object.defineProperty(Bd0,"__esModule",{value:!0});Bd0.chain=void 0;var Up4=FL();function vp4(...I){return()=>{let d=Promise.reject(new Up4.ProviderError("No providers in chain"));for(let G of I)d=d.catch((Z)=>{if(Z===null||Z===void 0?void 0:Z.tryNextLink)return G();throw Z});return d}}Bd0.chain=vp4});var _d0=Y((Xd0)=>{Object.defineProperty(Xd0,"__esModule",{value:!0});Xd0.fromStatic=void 0;var Ep4=(I)=>()=>Promise.resolve(I);Xd0.fromStatic=Ep4});var Fd0=Y((Dd0)=>{Object.defineProperty(Dd0,"__esModule",{value:!0});Dd0.memoize=void 0;var Mp4=(I,d,G)=>{let Z,C,W,w=!1,B=async()=>{if(!C)C=I();try{Z=await C,W=!0,w=!1}finally{C=void 0}return Z};if(d===void 0)return async(A)=>{if(!W||(A===null||A===void 0?void 0:A.forceRefresh))Z=await B();return Z};return async(A)=>{if(!W||(A===null||A===void 0?void 0:A.forceRefresh))Z=await B();if(w)return Z;if(G&&!G(Z))return w=!0,Z;if(d(Z))return await B(),Z;return Z}};Dd0.memoize=Mp4});var W4=Y((L_)=>{Object.defineProperty(L_,"__esModule",{value:!0});var yf=x1();yf.__exportStar(Zd0(),L_);yf.__exportStar(FL(),L_);yf.__exportStar(wd0(),L_);yf.__exportStar(Vd0(),L_);yf.__exportStar(_d0(),L_);yf.__exportStar(Fd0(),L_)});var Kc=Y((Jd0)=>{Object.defineProperty(Jd0,"__esModule",{value:!0});Jd0.toHex=Jd0.fromHex=void 0;var gd0={},fI1={};for(let I=0;I<256;I++){let d=I.toString(16).toLowerCase();if(d.length===1)d=`0${d}`;gd0[I]=d,fI1[d]=I}function Sp4(I){if(I.length%2!==0)throw new Error("Hex encoded strings must have an even number length");let d=new Uint8Array(I.length/2);for(let G=0;G<I.length;G+=2){let Z=I.slice(G,G+2).toLowerCase();if(Z in fI1)d[G/2]=fI1[Z];else throw new Error(`Cannot decode unrecognized sequence ${Z} as hexadecimal`)}return d}Jd0.fromHex=Sp4;function Lp4(I){let d="";for(let G=0;G<I.byteLength;G++)d+=gd0[I[G]];return d}Jd0.toHex=Lp4});var qI1=Y((Nd0)=>{Object.defineProperty(Nd0,"__esModule",{value:!0});Nd0.isArrayBuffer=void 0;var Pp4=(I)=>typeof ArrayBuffer==="function"&&I instanceof ArrayBuffer||Object.prototype.toString.call(I)==="[object ArrayBuffer]";Nd0.isArrayBuffer=Pp4});var Pf=Y((Qd0)=>{Object.defineProperty(Qd0,"__esModule",{value:!0});Qd0.fromString=Qd0.fromArrayBuffer=void 0;var $p4=qI1(),RI1=B1("buffer"),up4=(I,d=0,G=I.byteLength-d)=>{if(!$p4.isArrayBuffer(I))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof I} (${I})`);return RI1.Buffer.from(I,d,G)};Qd0.fromArrayBuffer=up4;var Tp4=(I,d)=>{if(typeof I!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof I} (${I})`);return d?RI1.Buffer.from(I,d):RI1.Buffer.from(I)};Qd0.fromString=Tp4});var UI1=Y((qd0)=>{Object.defineProperty(qd0,"__esModule",{value:!0});qd0.fromUtf8=void 0;var mp4=Pf(),lp4=(I)=>{let d=mp4.fromString(I,"utf8");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength/Uint8Array.BYTES_PER_ELEMENT)};qd0.fromUtf8=lp4});var Ed0=Y((Ud0)=>{Object.defineProperty(Ud0,"__esModule",{value:!0});Ud0.toUint8Array=void 0;var bp4=UI1(),hp4=(I)=>{if(typeof I==="string")return bp4.fromUtf8(I);if(ArrayBuffer.isView(I))return new Uint8Array(I.buffer,I.byteOffset,I.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(I)};Ud0.toUint8Array=hp4});var Ld0=Y((Md0)=>{Object.defineProperty(Md0,"__esModule",{value:!0});Md0.toUtf8=void 0;var jp4=Pf(),kp4=(I)=>jp4.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength).toString("utf8");Md0.toUtf8=kp4});var hC=Y((gL)=>{Object.defineProperty(gL,"__esModule",{value:!0});var vI1=x1();vI1.__exportStar(UI1(),gL);vI1.__exportStar(Ed0(),gL);vI1.__exportStar(Ld0(),gL)});var ig=Y((yd0)=>{Object.defineProperty(yd0,"__esModule",{value:!0});yd0.MAX_PRESIGNED_TTL=yd0.KEY_TYPE_IDENTIFIER=yd0.MAX_CACHE_SIZE=yd0.UNSIGNED_PAYLOAD=yd0.EVENT_ALGORITHM_IDENTIFIER=yd0.ALGORITHM_IDENTIFIER_V4A=yd0.ALGORITHM_IDENTIFIER=yd0.UNSIGNABLE_PATTERNS=yd0.SEC_HEADER_PATTERN=yd0.PROXY_HEADER_PATTERN=yd0.ALWAYS_UNSIGNABLE_HEADERS=yd0.HOST_HEADER=yd0.TOKEN_HEADER=yd0.SHA256_HEADER=yd0.SIGNATURE_HEADER=yd0.GENERATED_HEADERS=yd0.DATE_HEADER=yd0.AMZ_DATE_HEADER=yd0.AUTH_HEADER=yd0.REGION_SET_PARAM=yd0.TOKEN_QUERY_PARAM=yd0.SIGNATURE_QUERY_PARAM=yd0.EXPIRES_QUERY_PARAM=yd0.SIGNED_HEADERS_QUERY_PARAM=yd0.AMZ_DATE_QUERY_PARAM=yd0.CREDENTIAL_QUERY_PARAM=yd0.ALGORITHM_QUERY_PARAM=void 0;yd0.ALGORITHM_QUERY_PARAM="X-Amz-Algorithm";yd0.CREDENTIAL_QUERY_PARAM="X-Amz-Credential";yd0.AMZ_DATE_QUERY_PARAM="X-Amz-Date";yd0.SIGNED_HEADERS_QUERY_PARAM="X-Amz-SignedHeaders";yd0.EXPIRES_QUERY_PARAM="X-Amz-Expires";yd0.SIGNATURE_QUERY_PARAM="X-Amz-Signature";yd0.TOKEN_QUERY_PARAM="X-Amz-Security-Token";yd0.REGION_SET_PARAM="X-Amz-Region-Set";yd0.AUTH_HEADER="authorization";yd0.AMZ_DATE_HEADER=yd0.AMZ_DATE_QUERY_PARAM.toLowerCase();yd0.DATE_HEADER="date";yd0.GENERATED_HEADERS=[yd0.AUTH_HEADER,yd0.AMZ_DATE_HEADER,yd0.DATE_HEADER];yd0.SIGNATURE_HEADER=yd0.SIGNATURE_QUERY_PARAM.toLowerCase();yd0.SHA256_HEADER="x-amz-content-sha256";yd0.TOKEN_HEADER=yd0.TOKEN_QUERY_PARAM.toLowerCase();yd0.HOST_HEADER="host";yd0.ALWAYS_UNSIGNABLE_HEADERS={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0};yd0.PROXY_HEADER_PATTERN=/^proxy-/;yd0.SEC_HEADER_PATTERN=/^sec-/;yd0.UNSIGNABLE_PATTERNS=[/^proxy-/i,/^sec-/i];yd0.ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256";yd0.ALGORITHM_IDENTIFIER_V4A="AWS4-ECDSA-P256-SHA256";yd0.EVENT_ALGORITHM_IDENTIFIER="AWS4-HMAC-SHA256-PAYLOAD";yd0.UNSIGNED_PAYLOAD="UNSIGNED-PAYLOAD";yd0.MAX_CACHE_SIZE=50;yd0.KEY_TYPE_IDENTIFIER="aws4_request";yd0.MAX_PRESIGNED_TTL=604800});var MI1=Y((hd0)=>{Object.defineProperty(hd0,"__esModule",{value:!0});hd0.clearCredentialCache=hd0.getSigningKey=hd0.createScope=void 0;var Vi4=Kc(),Xi4=hC(),EI1=ig(),$f={},Nc=[],Yi4=(I,d,G)=>`${I}/${d}/${G}/${EI1.KEY_TYPE_IDENTIFIER}`;hd0.createScope=Yi4;var _i4=async(I,d,G,Z,C)=>{let W=await bd0(I,d.secretAccessKey,d.accessKeyId),w=`${G}:${Z}:${C}:${Vi4.toHex(W)}:${d.sessionToken}`;if(w in $f)return $f[w];Nc.push(w);while(Nc.length>EI1.MAX_CACHE_SIZE)delete $f[Nc.shift()];let B=`AWS4${d.secretAccessKey}`;for(let A of[G,Z,C,EI1.KEY_TYPE_IDENTIFIER])B=await bd0(I,B,A);return $f[w]=B};hd0.getSigningKey=_i4;var Di4=()=>{Nc.length=0,Object.keys($f).forEach((I)=>{delete $f[I]})};hd0.clearCredentialCache=Di4;var bd0=(I,d,G)=>{let Z=new I(d);return Z.update(Xi4.toUint8Array(G)),Z.digest()}});var LI1=Y((kd0)=>{Object.defineProperty(kd0,"__esModule",{value:!0});kd0.getCanonicalHeaders=void 0;var SI1=ig(),gi4=({headers:I},d,G)=>{let Z={};for(let C of Object.keys(I).sort()){if(I[C]==null)continue;let W=C.toLowerCase();if(W in SI1.ALWAYS_UNSIGNABLE_HEADERS||(d===null||d===void 0?void 0:d.has(W))||SI1.PROXY_HEADER_PATTERN.test(W)||SI1.SEC_HEADER_PATTERN.test(W)){if(!G||G&&!G.has(W))continue}Z[W]=I[C].trim().replace(/\s+/g," ")}return Z};kd0.getCanonicalHeaders=gi4});var yI1=Y((cd0)=>{Object.defineProperty(cd0,"__esModule",{value:!0});cd0.escapeUri=void 0;var Ji4=(I)=>encodeURIComponent(I).replace(/[!'()*]/g,Ki4);cd0.escapeUri=Ji4;var Ki4=(I)=>`%${I.charCodeAt(0).toString(16).toUpperCase()}`});var rd0=Y((id0)=>{Object.defineProperty(id0,"__esModule",{value:!0});id0.escapeUriPath=void 0;var Ni4=yI1(),zi4=(I)=>I.split("/").map(Ni4.escapeUri).join("/");id0.escapeUriPath=zi4});var PI1=Y((zc)=>{Object.defineProperty(zc,"__esModule",{value:!0});var ad0=x1();ad0.__exportStar(yI1(),zc);ad0.__exportStar(rd0(),zc)});var $I1=Y((sd0)=>{Object.defineProperty(sd0,"__esModule",{value:!0});sd0.getCanonicalQuery=void 0;var Qc=PI1(),Qi4=ig(),fi4=({query:I={}})=>{let d=[],G={};for(let Z of Object.keys(I).sort()){if(Z.toLowerCase()===Qi4.SIGNATURE_HEADER)continue;d.push(Z);let C=I[Z];if(typeof C==="string")G[Z]=`${Qc.escapeUri(Z)}=${Qc.escapeUri(C)}`;else if(Array.isArray(C))G[Z]=C.slice(0).sort().reduce((W,w)=>W.concat([`${Qc.escapeUri(Z)}=${Qc.escapeUri(w)}`]),[]).join("&")}return d.map((Z)=>G[Z]).filter((Z)=>Z).join("&")};sd0.getCanonicalQuery=fi4});var uI1=Y((td0)=>{Object.defineProperty(td0,"__esModule",{value:!0});td0.getPayloadHash=void 0;var qi4=qI1(),Ri4=Kc(),Ui4=hC(),ed0=ig(),vi4=async({headers:I,body:d},G)=>{for(let Z of Object.keys(I))if(Z.toLowerCase()===ed0.SHA256_HEADER)return I[Z];if(d==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof d==="string"||ArrayBuffer.isView(d)||qi4.isArrayBuffer(d)){let Z=new G;return Z.update(Ui4.toUint8Array(d)),Ri4.toHex(await Z.digest())}return ed0.UNSIGNED_PAYLOAD};td0.getPayloadHash=vi4});var ZG0=Y((dG0)=>{Object.defineProperty(dG0,"__esModule",{value:!0});dG0.deleteHeader=dG0.getHeaderValue=dG0.hasHeader=void 0;var Ei4=(I,d)=>{I=I.toLowerCase();for(let G of Object.keys(d))if(I===G.toLowerCase())return!0;return!1};dG0.hasHeader=Ei4;var Mi4=(I,d)=>{I=I.toLowerCase();for(let G of Object.keys(d))if(I===G.toLowerCase())return d[G];return};dG0.getHeaderValue=Mi4;var Si4=(I,d)=>{I=I.toLowerCase();for(let G of Object.keys(d))if(I===G.toLowerCase())delete d[G]};dG0.deleteHeader=Si4});var OI1=Y((CG0)=>{Object.defineProperty(CG0,"__esModule",{value:!0});CG0.cloneQuery=CG0.cloneRequest=void 0;var Pi4=({headers:I,query:d,...G})=>({...G,headers:{...I},query:d?CG0.cloneQuery(d):void 0});CG0.cloneRequest=Pi4;var $i4=(I)=>Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{});CG0.cloneQuery=$i4});var mI1=Y((WG0)=>{Object.defineProperty(WG0,"__esModule",{value:!0});WG0.moveHeadersToQuery=void 0;var Ti4=OI1(),Oi4=(I,d={})=>{var G;let{headers:Z,query:C={}}=typeof I.clone==="function"?I.clone():Ti4.cloneRequest(I);for(let W of Object.keys(Z)){let w=W.toLowerCase();if(w.slice(0,6)==="x-amz-"&&!((G=d.unhoistableHeaders)===null||G===void 0?void 0:G.has(w)))C[W]=Z[W],delete Z[W]}return{...I,headers:Z,query:C}};WG0.moveHeadersToQuery=Oi4});var lI1=Y((BG0)=>{Object.defineProperty(BG0,"__esModule",{value:!0});BG0.prepareRequest=void 0;var mi4=OI1(),li4=ig(),bi4=(I)=>{I=typeof I.clone==="function"?I.clone():mi4.cloneRequest(I);for(let d of Object.keys(I.headers))if(li4.GENERATED_HEADERS.indexOf(d.toLowerCase())>-1)delete I.headers[d];return I};BG0.prepareRequest=bi4});var XG0=Y((VG0)=>{Object.defineProperty(VG0,"__esModule",{value:!0});VG0.toDate=VG0.iso8601=void 0;var hi4=(I)=>VG0.toDate(I).toISOString().replace(/\.\d{3}Z$/,"Z");VG0.iso8601=hi4;var ji4=(I)=>{if(typeof I==="number")return new Date(I*1000);if(typeof I==="string"){if(Number(I))return new Date(Number(I)*1000);return new Date(I)}return I};VG0.toDate=ji4});var KG0=Y((gG0)=>{Object.defineProperty(gG0,"__esModule",{value:!0});gG0.SignatureV4=void 0;var fc=Kc(),YG0=M_(),hI1=hC(),r8=ig(),qc=MI1(),_G0=LI1(),xi4=$I1(),jI1=uI1(),ci4=ZG0(),pi4=mI1(),DG0=lI1(),ii4=XG0();class FG0{constructor({applyChecksum:I,credentials:d,region:G,service:Z,sha256:C,uriEscapePath:W=!0}){this.service=Z,this.sha256=C,this.uriEscapePath=W,this.applyChecksum=typeof I==="boolean"?I:!0,this.regionProvider=YG0.normalizeProvider(G),this.credentialProvider=YG0.normalizeProvider(d)}async presign(I,d={}){let{signingDate:G=new Date,expiresIn:Z=3600,unsignableHeaders:C,unhoistableHeaders:W,signableHeaders:w,signingRegion:B,signingService:A}=d,V=await this.credentialProvider();this.validateResolvedCredentials(V);let X=B!==null&&B!==void 0?B:await this.regionProvider(),{longDate:_,shortDate:F}=Rc(G);if(Z>r8.MAX_PRESIGNED_TTL)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let g=qc.createScope(F,X,A!==null&&A!==void 0?A:this.service),J=pi4.moveHeadersToQuery(DG0.prepareRequest(I),{unhoistableHeaders:W});if(V.sessionToken)J.query[r8.TOKEN_QUERY_PARAM]=V.sessionToken;J.query[r8.ALGORITHM_QUERY_PARAM]=r8.ALGORITHM_IDENTIFIER,J.query[r8.CREDENTIAL_QUERY_PARAM]=`${V.accessKeyId}/${g}`,J.query[r8.AMZ_DATE_QUERY_PARAM]=_,J.query[r8.EXPIRES_QUERY_PARAM]=Z.toString(10);let K=_G0.getCanonicalHeaders(J,C,w);return J.query[r8.SIGNED_HEADERS_QUERY_PARAM]=HG0(K),J.query[r8.SIGNATURE_QUERY_PARAM]=await this.getSignature(_,g,this.getSigningKey(V,X,F,A),this.createCanonicalRequest(J,K,await jI1.getPayloadHash(I,this.sha256))),J}async sign(I,d){if(typeof I==="string")return this.signString(I,d);else if(I.headers&&I.payload)return this.signEvent(I,d);else return this.signRequest(I,d)}async signEvent({headers:I,payload:d},{signingDate:G=new Date,priorSignature:Z,signingRegion:C,signingService:W}){let w=C!==null&&C!==void 0?C:await this.regionProvider(),{shortDate:B,longDate:A}=Rc(G),V=qc.createScope(B,w,W!==null&&W!==void 0?W:this.service),X=await jI1.getPayloadHash({headers:{},body:d},this.sha256),_=new this.sha256;_.update(I);let F=fc.toHex(await _.digest()),g=[r8.EVENT_ALGORITHM_IDENTIFIER,A,V,Z,F,X].join(`
`);return this.signString(g,{signingDate:G,signingRegion:w,signingService:W})}async signString(I,{signingDate:d=new Date,signingRegion:G,signingService:Z}={}){let C=await this.credentialProvider();this.validateResolvedCredentials(C);let W=G!==null&&G!==void 0?G:await this.regionProvider(),{shortDate:w}=Rc(d),B=new this.sha256(await this.getSigningKey(C,W,w,Z));return B.update(hI1.toUint8Array(I)),fc.toHex(await B.digest())}async signRequest(I,{signingDate:d=new Date,signableHeaders:G,unsignableHeaders:Z,signingRegion:C,signingService:W}={}){let w=await this.credentialProvider();this.validateResolvedCredentials(w);let B=C!==null&&C!==void 0?C:await this.regionProvider(),A=DG0.prepareRequest(I),{longDate:V,shortDate:X}=Rc(d),_=qc.createScope(X,B,W!==null&&W!==void 0?W:this.service);if(A.headers[r8.AMZ_DATE_HEADER]=V,w.sessionToken)A.headers[r8.TOKEN_HEADER]=w.sessionToken;let F=await jI1.getPayloadHash(A,this.sha256);if(!ci4.hasHeader(r8.SHA256_HEADER,A.headers)&&this.applyChecksum)A.headers[r8.SHA256_HEADER]=F;let g=_G0.getCanonicalHeaders(A,Z,G),J=await this.getSignature(V,_,this.getSigningKey(w,B,X,W),this.createCanonicalRequest(A,g,F));return A.headers[r8.AUTH_HEADER]=`${r8.ALGORITHM_IDENTIFIER} Credential=${w.accessKeyId}/${_}, SignedHeaders=${HG0(g)}, Signature=${J}`,A}createCanonicalRequest(I,d,G){let Z=Object.keys(d).sort();return`${I.method}
${this.getCanonicalPath(I)}
${xi4.getCanonicalQuery(I)}
${Z.map((C)=>`${C}:${d[C]}`).join(`
`)}

${Z.join(";")}
${G}`}async createStringToSign(I,d,G){let Z=new this.sha256;Z.update(hI1.toUint8Array(G));let C=await Z.digest();return`${r8.ALGORITHM_IDENTIFIER}
${I}
${d}
${fc.toHex(C)}`}getCanonicalPath({path:I}){if(this.uriEscapePath){let d=[];for(let C of I.split("/")){if((C===null||C===void 0?void 0:C.length)===0)continue;if(C===".")continue;if(C==="..")d.pop();else d.push(C)}let G=`${(I===null||I===void 0?void 0:I.startsWith("/"))?"/":""}${d.join("/")}${d.length>0&&(I===null||I===void 0?void 0:I.endsWith("/"))?"/":""}`;return encodeURIComponent(G).replace(/%2F/g,"/")}return I}async getSignature(I,d,G,Z){let C=await this.createStringToSign(I,d,Z),W=new this.sha256(await G);return W.update(hI1.toUint8Array(C)),fc.toHex(await W.digest())}getSigningKey(I,d,G,Z){return qc.getSigningKey(this.sha256,I,G,d,Z||this.service)}validateResolvedCredentials(I){if(typeof I!=="object"||typeof I.accessKeyId!=="string"||typeof I.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}}gG0.SignatureV4=FG0;var Rc=(I)=>{let d=ii4.iso8601(I).replace(/[\-:]/g,"");return{longDate:d,shortDate:d.slice(0,8)}},HG0=(I)=>Object.keys(I).sort().join(";")});var kI1=Y((NV)=>{Object.defineProperty(NV,"__esModule",{value:!0});NV.prepareRequest=NV.moveHeadersToQuery=NV.getPayloadHash=NV.getCanonicalQuery=NV.getCanonicalHeaders=void 0;var NG0=x1();NG0.__exportStar(KG0(),NV);var ni4=LI1();Object.defineProperty(NV,"getCanonicalHeaders",{enumerable:!0,get:function(){return ni4.getCanonicalHeaders}});var ri4=$I1();Object.defineProperty(NV,"getCanonicalQuery",{enumerable:!0,get:function(){return ri4.getCanonicalQuery}});var ai4=uI1();Object.defineProperty(NV,"getPayloadHash",{enumerable:!0,get:function(){return ai4.getPayloadHash}});var si4=mI1();Object.defineProperty(NV,"moveHeadersToQuery",{enumerable:!0,get:function(){return si4.moveHeadersToQuery}});var oi4=lI1();Object.defineProperty(NV,"prepareRequest",{enumerable:!0,get:function(){return oi4.prepareRequest}});NG0.__exportStar(MI1(),NV)});var qG0=Y((QG0)=>{Object.defineProperty(QG0,"__esModule",{value:!0});QG0.resolveSigV4AuthConfig=QG0.resolveAwsAuthConfig=void 0;var ti4=W4(),xI1=kI1(),uf=M_(),In4=300000,dn4=(I)=>{let d=I.credentials?zG0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=uf.normalizeProvider(I.signer);else if(I.regionInfoProvider)W=()=>uf.normalizeProvider(I.region)().then(async(w)=>[await I.regionInfoProvider(w,{useFipsEndpoint:await I.useFipsEndpoint(),useDualstackEndpoint:await I.useDualstackEndpoint()})||{},w]).then(([w,B])=>{let{signingRegion:A,signingService:V}=w;I.signingRegion=I.signingRegion||A||B,I.signingName=I.signingName||V||I.serviceId;let X={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||xI1.SignatureV4)(X)});else W=async(w)=>{w=Object.assign({},{name:"sigv4",signingName:I.signingName||I.defaultSigningName,signingRegion:await uf.normalizeProvider(I.region)(),properties:{}},w);let{signingRegion:B,signingName:A}=w;I.signingRegion=I.signingRegion||B,I.signingName=I.signingName||A||I.serviceId;let V={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||xI1.SignatureV4)(V)};return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};QG0.resolveAwsAuthConfig=dn4;var Gn4=(I)=>{let d=I.credentials?zG0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=uf.normalizeProvider(I.signer);else W=uf.normalizeProvider(new xI1.SignatureV4({credentials:d,region:I.region,service:I.signingName,sha256:C,uriEscapePath:G}));return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};QG0.resolveSigV4AuthConfig=Gn4;var zG0=(I)=>{if(typeof I==="function")return ti4.memoize(I,(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<In4,(d)=>d.expiration!==void 0);return uf.normalizeProvider(I)}});var cI1=Y((RG0)=>{Object.defineProperty(RG0,"__esModule",{value:!0});RG0.getSkewCorrectedDate=void 0;var Cn4=(I)=>new Date(Date.now()+I);RG0.getSkewCorrectedDate=Cn4});var MG0=Y((vG0)=>{Object.defineProperty(vG0,"__esModule",{value:!0});vG0.isClockSkewed=void 0;var Wn4=cI1(),wn4=(I,d)=>Math.abs(Wn4.getSkewCorrectedDate(d).getTime()-I)>=300000;vG0.isClockSkewed=wn4});var yG0=Y((SG0)=>{Object.defineProperty(SG0,"__esModule",{value:!0});SG0.getUpdatedSystemClockOffset=void 0;var Bn4=MG0(),An4=(I,d)=>{let G=Date.parse(I);if(Bn4.isClockSkewed(G,d))return G-Date.now();return d};SG0.getUpdatedSystemClockOffset=An4});var hG0=Y((TG0)=>{Object.defineProperty(TG0,"__esModule",{value:!0});TG0.getSigV4AuthPlugin=TG0.getAwsAuthPlugin=TG0.awsAuthMiddlewareOptions=TG0.awsAuthMiddleware=void 0;var uG0=J8(),Vn4=cI1(),PG0=yG0(),Xn4=(I)=>(d,G)=>async function(Z){var C,W,w,B;if(!uG0.HttpRequest.isInstance(Z.request))return d(Z);let A=(w=(W=(C=G.endpointV2)===null||C===void 0?void 0:C.properties)===null||W===void 0?void 0:W.authSchemes)===null||w===void 0?void 0:w[0],V=(A===null||A===void 0?void 0:A.name)==="sigv4a"?(B=A===null||A===void 0?void 0:A.signingRegionSet)===null||B===void 0?void 0:B.join(","):void 0,X=await I.signer(A),_=await d({...Z,request:await X.sign(Z.request,{signingDate:Vn4.getSkewCorrectedDate(I.systemClockOffset),signingRegion:V||G.signing_region,signingService:G.signing_service})}).catch((g)=>{var J;let K=(J=g.ServerTime)!==null&&J!==void 0?J:$G0(g.$response);if(K)I.systemClockOffset=PG0.getUpdatedSystemClockOffset(K,I.systemClockOffset);throw g}),F=$G0(_.response);if(F)I.systemClockOffset=PG0.getUpdatedSystemClockOffset(F,I.systemClockOffset);return _};TG0.awsAuthMiddleware=Xn4;var $G0=(I)=>{var d,G,Z;return uG0.HttpResponse.isInstance(I)?(G=(d=I.headers)===null||d===void 0?void 0:d.date)!==null&&G!==void 0?G:(Z=I.headers)===null||Z===void 0?void 0:Z.Date:void 0};TG0.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var Yn4=(I)=>({applyToStack:(d)=>{d.addRelativeTo(TG0.awsAuthMiddleware(I),TG0.awsAuthMiddlewareOptions)}});TG0.getAwsAuthPlugin=Yn4;TG0.getSigV4AuthPlugin=TG0.getAwsAuthPlugin});var A9=Y((Uc)=>{Object.defineProperty(Uc,"__esModule",{value:!0});var jG0=x1();jG0.__exportStar(qG0(),Uc);jG0.__exportStar(hG0(),Uc)});var cG0=Y((kG0)=>{Object.defineProperty(kG0,"__esModule",{value:!0});kG0.resolveUserAgentConfig=void 0;function _n4(I){return{...I,customUserAgent:typeof I.customUserAgent==="string"?[[I.customUserAgent]]:I.customUserAgent}}kG0.resolveUserAgentConfig=_n4});var pG0=Y((ta9,Dn4)=>{Dn4.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var pI1=Y((aG0)=>{Object.defineProperty(aG0,"__esModule",{value:!0});aG0.getUserAgentPrefix=aG0.useDefaultPartitionInfo=aG0.setPartitionInfo=aG0.partition=void 0;var Hn4=x1(),iG0=Hn4.__importDefault(pG0()),nG0=iG0.default,rG0="",Fn4=(I)=>{let{partitions:d}=nG0;for(let Z of d){let{regions:C,outputs:W}=Z;for(let[w,B]of Object.entries(C))if(w===I)return{...W,...B}}for(let Z of d){let{regionRegex:C,outputs:W}=Z;if(new RegExp(C).test(I))return{...W}}let G=d.find((Z)=>Z.id==="aws");if(!G)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...G.outputs}};aG0.partition=Fn4;var gn4=(I,d="")=>{nG0=I,rG0=d};aG0.setPartitionInfo=gn4;var Jn4=()=>{aG0.setPartitionInfo(iG0.default,"")};aG0.useDefaultPartitionInfo=Jn4;var Kn4=()=>rG0;aG0.getUserAgentPrefix=Kn4});var IZ0=Y((eG0)=>{Object.defineProperty(eG0,"__esModule",{value:!0});eG0.debugId=void 0;eG0.debugId="endpoints"});var ZZ0=Y((dZ0)=>{Object.defineProperty(dZ0,"__esModule",{value:!0});dZ0.toDebugString=void 0;function iI1(I){if(typeof I!=="object"||I==null)return I;if("ref"in I)return`$${iI1(I.ref)}`;if("fn"in I)return`${I.fn}(${(I.argv||[]).map(iI1).join(", ")})`;return JSON.stringify(I,null,2)}dZ0.toDebugString=iI1});var JL=Y((vc)=>{Object.defineProperty(vc,"__esModule",{value:!0});var CZ0=x1();CZ0.__exportStar(IZ0(),vc);CZ0.__exportStar(ZZ0(),vc)});var AZ0=Y((wZ0)=>{Object.defineProperty(wZ0,"__esModule",{value:!0});wZ0.EndpointError=void 0;class WZ0 extends Error{constructor(I){super(I);this.name="EndpointError"}}wZ0.EndpointError=WZ0});var XZ0=Y((VZ0)=>{Object.defineProperty(VZ0,"__esModule",{value:!0})});var _Z0=Y((YZ0)=>{Object.defineProperty(YZ0,"__esModule",{value:!0})});var HZ0=Y((DZ0)=>{Object.defineProperty(DZ0,"__esModule",{value:!0})});var gZ0=Y((FZ0)=>{Object.defineProperty(FZ0,"__esModule",{value:!0})});var KZ0=Y((JZ0)=>{Object.defineProperty(JZ0,"__esModule",{value:!0})});var zZ=Y((y_)=>{Object.defineProperty(y_,"__esModule",{value:!0});var Tf=x1();Tf.__exportStar(AZ0(),y_);Tf.__exportStar(XZ0(),y_);Tf.__exportStar(_Z0(),y_);Tf.__exportStar(HZ0(),y_);Tf.__exportStar(gZ0(),y_);Tf.__exportStar(KZ0(),y_)});var nI1=Y((NZ0)=>{Object.defineProperty(NZ0,"__esModule",{value:!0});NZ0.isIpAddress=void 0;var Qn4=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),fn4=(I)=>Qn4.test(I)||I.startsWith("[")&&I.endsWith("]");NZ0.isIpAddress=fn4});var aI1=Y((QZ0)=>{Object.defineProperty(QZ0,"__esModule",{value:!0});QZ0.isValidHostLabel=void 0;var qn4=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),Rn4=(I,d=!1)=>{if(!d)return qn4.test(I);let G=I.split(".");for(let Z of G)if(!QZ0.isValidHostLabel(Z))return!1;return!0};QZ0.isValidHostLabel=Rn4});var qZ0=Y((fZ0)=>{Object.defineProperty(fZ0,"__esModule",{value:!0});fZ0.isVirtualHostableS3Bucket=void 0;var Un4=nI1(),vn4=aI1(),En4=(I,d=!1)=>{if(d){for(let G of I.split("."))if(!fZ0.isVirtualHostableS3Bucket(G))return!1;return!0}if(!vn4.isValidHostLabel(I))return!1;if(I.length<3||I.length>63)return!1;if(I!==I.toLowerCase())return!1;if(Un4.isIpAddress(I))return!1;return!0};fZ0.isVirtualHostableS3Bucket=En4});var vZ0=Y((RZ0)=>{Object.defineProperty(RZ0,"__esModule",{value:!0});RZ0.parseArn=void 0;var Mn4=(I)=>{let d=I.split(":");if(d.length<6)return null;let[G,Z,C,W,w,...B]=d;if(G!=="arn"||Z===""||C===""||B[0]==="")return null;return{partition:Z,service:C,region:W,accountId:w,resourceId:B[0].includes("/")?B[0].split("/"):B}};RZ0.parseArn=Mn4});var EZ0=Y((KL)=>{Object.defineProperty(KL,"__esModule",{value:!0});var oI1=x1();oI1.__exportStar(qZ0(),KL);oI1.__exportStar(vZ0(),KL);oI1.__exportStar(pI1(),KL)});var LZ0=Y((MZ0)=>{Object.defineProperty(MZ0,"__esModule",{value:!0});MZ0.booleanEquals=void 0;var Sn4=(I,d)=>I===d;MZ0.booleanEquals=Sn4});var uZ0=Y((PZ0)=>{Object.defineProperty(PZ0,"__esModule",{value:!0});PZ0.getAttrPathList=void 0;var yZ0=zZ(),Ln4=(I)=>{let d=I.split("."),G=[];for(let Z of d){let C=Z.indexOf("[");if(C!==-1){if(Z.indexOf("]")!==Z.length-1)throw new yZ0.EndpointError(`Path: '${I}' does not end with ']'`);let W=Z.slice(C+1,-1);if(Number.isNaN(parseInt(W)))throw new yZ0.EndpointError(`Invalid array index: '${W}' in path: '${I}'`);if(C!==0)G.push(Z.slice(0,C));G.push(W)}else G.push(Z)}return G};PZ0.getAttrPathList=Ln4});var mZ0=Y((TZ0)=>{Object.defineProperty(TZ0,"__esModule",{value:!0});TZ0.getAttr=void 0;var yn4=zZ(),Pn4=uZ0(),$n4=(I,d)=>Pn4.getAttrPathList(d).reduce((G,Z)=>{if(typeof G!=="object")throw new yn4.EndpointError(`Index '${Z}' in '${d}' not found in '${JSON.stringify(I)}'`);else if(Array.isArray(G))return G[parseInt(Z)];return G[Z]},I);TZ0.getAttr=$n4});var hZ0=Y((lZ0)=>{Object.defineProperty(lZ0,"__esModule",{value:!0});lZ0.isSet=void 0;var un4=(I)=>I!=null;lZ0.isSet=un4});var xZ0=Y((jZ0)=>{Object.defineProperty(jZ0,"__esModule",{value:!0});jZ0.not=void 0;var Tn4=(I)=>!I;jZ0.not=Tn4});var pZ0=Y((cZ0)=>{Object.defineProperty(cZ0,"__esModule",{value:!0})});var nZ0=Y((iZ0)=>{Object.defineProperty(iZ0,"__esModule",{value:!0});iZ0.HttpAuthLocation=void 0;var On4;(function(I){I.HEADER="header",I.QUERY="query"})(On4=iZ0.HttpAuthLocation||(iZ0.HttpAuthLocation={}))});var aZ0=Y((rZ0)=>{Object.defineProperty(rZ0,"__esModule",{value:!0})});var oZ0=Y((sZ0)=>{Object.defineProperty(sZ0,"__esModule",{value:!0})});var tZ0=Y((eZ0)=>{Object.defineProperty(eZ0,"__esModule",{value:!0})});var dC0=Y((IC0)=>{Object.defineProperty(IC0,"__esModule",{value:!0})});var ZC0=Y((GC0)=>{Object.defineProperty(GC0,"__esModule",{value:!0})});var WC0=Y((CC0)=>{Object.defineProperty(CC0,"__esModule",{value:!0})});var wC0=Y((NL)=>{Object.defineProperty(NL,"__esModule",{value:!0});var tI1=x1();tI1.__exportStar(dC0(),NL);tI1.__exportStar(ZC0(),NL);tI1.__exportStar(WC0(),NL)});var AC0=Y((BC0)=>{Object.defineProperty(BC0,"__esModule",{value:!0})});var XC0=Y((VC0)=>{Object.defineProperty(VC0,"__esModule",{value:!0})});var _C0=Y((YC0)=>{Object.defineProperty(YC0,"__esModule",{value:!0});YC0.HostAddressType=void 0;var mn4;(function(I){I.AAAA="AAAA",I.A="A"})(mn4=YC0.HostAddressType||(YC0.HostAddressType={}))});var HC0=Y((DC0)=>{Object.defineProperty(DC0,"__esModule",{value:!0});DC0.EndpointURLScheme=void 0;var ln4;(function(I){I.HTTP="http",I.HTTPS="https"})(ln4=DC0.EndpointURLScheme||(DC0.EndpointURLScheme={}))});var gC0=Y((FC0)=>{Object.defineProperty(FC0,"__esModule",{value:!0})});var KC0=Y((JC0)=>{Object.defineProperty(JC0,"__esModule",{value:!0})});var zC0=Y((NC0)=>{Object.defineProperty(NC0,"__esModule",{value:!0})});var fC0=Y((QC0)=>{Object.defineProperty(QC0,"__esModule",{value:!0})});var RC0=Y((qC0)=>{Object.defineProperty(qC0,"__esModule",{value:!0})});var vC0=Y((UC0)=>{Object.defineProperty(UC0,"__esModule",{value:!0})});var MC0=Y((EC0)=>{Object.defineProperty(EC0,"__esModule",{value:!0})});var SC0=Y((ng)=>{Object.defineProperty(ng,"__esModule",{value:!0});var zL=x1();zL.__exportStar(zC0(),ng);zL.__exportStar(fC0(),ng);zL.__exportStar(RC0(),ng);zL.__exportStar(vC0(),ng);zL.__exportStar(MC0(),ng)});var yC0=Y((LC0)=>{Object.defineProperty(LC0,"__esModule",{value:!0})});var $C0=Y((PC0)=>{Object.defineProperty(PC0,"__esModule",{value:!0})});var TC0=Y((uC0)=>{Object.defineProperty(uC0,"__esModule",{value:!0})});var mC0=Y((OC0)=>{Object.defineProperty(OC0,"__esModule",{value:!0})});var bC0=Y((lC0)=>{Object.defineProperty(lC0,"__esModule",{value:!0})});var jC0=Y((hC0)=>{Object.defineProperty(hC0,"__esModule",{value:!0})});var xC0=Y((kC0)=>{Object.defineProperty(kC0,"__esModule",{value:!0})});var pC0=Y((cC0)=>{Object.defineProperty(cC0,"__esModule",{value:!0})});var nC0=Y((iC0)=>{Object.defineProperty(iC0,"__esModule",{value:!0})});var aC0=Y((rC0)=>{Object.defineProperty(rC0,"__esModule",{value:!0})});var oC0=Y((sC0)=>{Object.defineProperty(sC0,"__esModule",{value:!0})});var tC0=Y((eC0)=>{Object.defineProperty(eC0,"__esModule",{value:!0})});var dW0=Y((IW0)=>{Object.defineProperty(IW0,"__esModule",{value:!0});IW0.RequestHandlerProtocol=void 0;var bn4;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(bn4=IW0.RequestHandlerProtocol||(IW0.RequestHandlerProtocol={}))});var ZW0=Y((GW0)=>{Object.defineProperty(GW0,"__esModule",{value:!0})});var WW0=Y((CW0)=>{Object.defineProperty(CW0,"__esModule",{value:!0})});var wW0=Y((p5)=>{Object.defineProperty(p5,"__esModule",{value:!0});var V9=x1();V9.__exportStar(pZ0(),p5);V9.__exportStar(nZ0(),p5);V9.__exportStar(aZ0(),p5);V9.__exportStar(oZ0(),p5);V9.__exportStar(tZ0(),p5);V9.__exportStar(wC0(),p5);V9.__exportStar(AC0(),p5);V9.__exportStar(XC0(),p5);V9.__exportStar(_C0(),p5);V9.__exportStar(HC0(),p5);V9.__exportStar(gC0(),p5);V9.__exportStar(KC0(),p5);V9.__exportStar(SC0(),p5);V9.__exportStar(yC0(),p5);V9.__exportStar($C0(),p5);V9.__exportStar(TC0(),p5);V9.__exportStar(mC0(),p5);V9.__exportStar(bC0(),p5);V9.__exportStar(jC0(),p5);V9.__exportStar(xC0(),p5);V9.__exportStar(pC0(),p5);V9.__exportStar(nC0(),p5);V9.__exportStar(aC0(),p5);V9.__exportStar(oC0(),p5);V9.__exportStar(tC0(),p5);V9.__exportStar(dW0(),p5);V9.__exportStar(ZW0(),p5);V9.__exportStar(WW0(),p5)});var VW0=Y((BW0)=>{Object.defineProperty(BW0,"__esModule",{value:!0});BW0.parseURL=void 0;var Cd1=wW0(),hn4=nI1(),Zd1={[Cd1.EndpointURLScheme.HTTP]:80,[Cd1.EndpointURLScheme.HTTPS]:443},jn4=(I)=>{let d=(()=>{try{if(I instanceof URL)return I;if(typeof I==="object"&&"hostname"in I){let{hostname:F,port:g,protocol:J="",path:K="",query:Q={}}=I,E=new URL(`${J}//${F}${g?`:${g}`:""}${K}`);return E.search=Object.entries(Q).map(([S,P])=>`${S}=${P}`).join("&"),E}return new URL(I)}catch(F){return null}})();if(!d)return console.error(`Unable to parse ${JSON.stringify(I)} as a whatwg URL.`),null;let G=d.href,{host:Z,hostname:C,pathname:W,protocol:w,search:B}=d;if(B)return null;let A=w.slice(0,-1);if(!Object.values(Cd1.EndpointURLScheme).includes(A))return null;let V=hn4.isIpAddress(C),X=G.includes(`${Z}:${Zd1[A]}`)||typeof I==="string"&&I.includes(`${Z}:${Zd1[A]}`),_=`${Z}${X?`:${Zd1[A]}`:""}`;return{scheme:A,authority:_,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:V}};BW0.parseURL=jn4});var _W0=Y((XW0)=>{Object.defineProperty(XW0,"__esModule",{value:!0});XW0.stringEquals=void 0;var kn4=(I,d)=>I===d;XW0.stringEquals=kn4});var FW0=Y((DW0)=>{Object.defineProperty(DW0,"__esModule",{value:!0});DW0.substring=void 0;var xn4=(I,d,G,Z)=>{if(d>=G||I.length<G)return null;if(!Z)return I.substring(d,G);return I.substring(I.length-G,I.length-d)};DW0.substring=xn4});var KW0=Y((gW0)=>{Object.defineProperty(gW0,"__esModule",{value:!0});gW0.uriEncode=void 0;var cn4=(I)=>encodeURIComponent(I).replace(/[!*'()]/g,(d)=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`);gW0.uriEncode=cn4});var Wd1=Y((jC)=>{Object.defineProperty(jC,"__esModule",{value:!0});jC.aws=void 0;var aw=x1();jC.aws=aw.__importStar(EZ0());aw.__exportStar(LZ0(),jC);aw.__exportStar(mZ0(),jC);aw.__exportStar(hZ0(),jC);aw.__exportStar(aI1(),jC);aw.__exportStar(xZ0(),jC);aw.__exportStar(VW0(),jC);aw.__exportStar(_W0(),jC);aw.__exportStar(FW0(),jC);aw.__exportStar(KW0(),jC)});var wd1=Y((zW0)=>{Object.defineProperty(zW0,"__esModule",{value:!0});zW0.evaluateTemplate=void 0;var pn4=Wd1(),in4=(I,d)=>{let G=[],Z={...d.endpointParams,...d.referenceRecord},C=0;while(C<I.length){let W=I.indexOf("{",C);if(W===-1){G.push(I.slice(C));break}G.push(I.slice(C,W));let w=I.indexOf("}",W);if(w===-1){G.push(I.slice(W));break}if(I[W+1]==="{"&&I[w+1]==="}")G.push(I.slice(W+1,w)),C=w+2;let B=I.substring(W+1,w);if(B.includes("#")){let[A,V]=B.split("#");G.push(pn4.getAttr(Z[A],V))}else G.push(Z[B]);C=w+1}return G.join("")};zW0.evaluateTemplate=in4});var RW0=Y((fW0)=>{Object.defineProperty(fW0,"__esModule",{value:!0});fW0.getReferenceValue=void 0;var nn4=({ref:I},d)=>{return{...d.endpointParams,...d.referenceRecord}[I]};fW0.getReferenceValue=nn4});var QL=Y((UW0)=>{Object.defineProperty(UW0,"__esModule",{value:!0});UW0.evaluateExpression=void 0;var rn4=zZ(),an4=Bd1(),sn4=wd1(),on4=RW0(),en4=(I,d,G)=>{if(typeof I==="string")return sn4.evaluateTemplate(I,G);else if(I.fn)return an4.callFunction(I,G);else if(I.ref)return on4.getReferenceValue(I,G);throw new rn4.EndpointError(`'${d}': ${String(I)} is not a string, function or reference.`)};UW0.evaluateExpression=en4});var Bd1=Y((EW0)=>{Object.defineProperty(EW0,"__esModule",{value:!0});EW0.callFunction=void 0;var tn4=x1(),Ir4=tn4.__importStar(Wd1()),dr4=QL(),Gr4=({fn:I,argv:d},G)=>{let Z=d.map((C)=>["boolean","number"].includes(typeof C)?C:dr4.evaluateExpression(C,"arg",G));return I.split(".").reduce((C,W)=>C[W],Ir4)(...Z)};EW0.callFunction=Gr4});var yW0=Y((SW0)=>{Object.defineProperty(SW0,"__esModule",{value:!0});SW0.evaluateCondition=void 0;var Ad1=JL(),Zr4=zZ(),Cr4=Bd1(),Wr4=({assign:I,...d},G)=>{var Z,C;if(I&&I in G.referenceRecord)throw new Zr4.EndpointError(`'${I}' is already defined in Reference Record.`);let W=Cr4.callFunction(d,G);return(C=(Z=G.logger)===null||Z===void 0?void 0:Z.debug)===null||C===void 0||C.call(Z,Ad1.debugId,`evaluateCondition: ${Ad1.toDebugString(d)} = ${Ad1.toDebugString(W)}`),{result:W===""?!0:!!W,...I!=null&&{toAssign:{name:I,value:W}}}};SW0.evaluateCondition=Wr4});var Ec=Y(($W0)=>{Object.defineProperty($W0,"__esModule",{value:!0});$W0.evaluateConditions=void 0;var PW0=JL(),wr4=yW0(),Br4=(I=[],d)=>{var G,Z;let C={};for(let W of I){let{result:w,toAssign:B}=wr4.evaluateCondition(W,{...d,referenceRecord:{...d.referenceRecord,...C}});if(!w)return{result:w};if(B)C[B.name]=B.value,(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,PW0.debugId,`assign: ${B.name} := ${PW0.toDebugString(B.value)}`)}return{result:!0,referenceRecord:C}};$W0.evaluateConditions=Br4});var mW0=Y((TW0)=>{Object.defineProperty(TW0,"__esModule",{value:!0});TW0.getEndpointHeaders=void 0;var Ar4=zZ(),Vr4=QL(),Xr4=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:C.map((W)=>{let w=Vr4.evaluateExpression(W,"Header value entry",d);if(typeof w!=="string")throw new Ar4.EndpointError(`Header '${Z}' value '${w}' is not a string`);return w})}),{});TW0.getEndpointHeaders=Xr4});var hW0=Y((bW0)=>{Object.defineProperty(bW0,"__esModule",{value:!0});bW0.getEndpointProperty=void 0;var lW0=zZ(),Yr4=wd1(),_r4=Xd1(),Dr4=(I,d)=>{if(Array.isArray(I))return I.map((G)=>bW0.getEndpointProperty(G,d));switch(typeof I){case"string":return Yr4.evaluateTemplate(I,d);case"object":if(I===null)throw new lW0.EndpointError(`Unexpected endpoint property: ${I}`);return _r4.getEndpointProperties(I,d);case"boolean":return I;default:throw new lW0.EndpointError(`Unexpected endpoint property type: ${typeof I}`)}};bW0.getEndpointProperty=Dr4});var Xd1=Y((jW0)=>{Object.defineProperty(jW0,"__esModule",{value:!0});jW0.getEndpointProperties=void 0;var Hr4=hW0(),Fr4=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:Hr4.getEndpointProperty(C,d)}),{});jW0.getEndpointProperties=Fr4});var pW0=Y((xW0)=>{Object.defineProperty(xW0,"__esModule",{value:!0});xW0.getEndpointUrl=void 0;var gr4=zZ(),Jr4=QL(),Kr4=(I,d)=>{let G=Jr4.evaluateExpression(I,"Endpoint URL",d);if(typeof G==="string")try{return new URL(G)}catch(Z){throw console.error(`Failed to construct URL with ${G}`,Z),Z}throw new gr4.EndpointError(`Endpoint URL must be a string, got ${typeof G}`)};xW0.getEndpointUrl=Kr4});var aW0=Y((nW0)=>{Object.defineProperty(nW0,"__esModule",{value:!0});nW0.evaluateEndpointRule=void 0;var iW0=JL(),Nr4=Ec(),zr4=mW0(),Qr4=Xd1(),fr4=pW0(),qr4=(I,d)=>{var G,Z;let{conditions:C,endpoint:W}=I,{result:w,referenceRecord:B}=Nr4.evaluateConditions(C,d);if(!w)return;let A={...d,referenceRecord:{...d.referenceRecord,...B}},{url:V,properties:X,headers:_}=W;return(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,iW0.debugId,`Resolving endpoint from template: ${iW0.toDebugString(W)}`),{..._!=null&&{headers:zr4.getEndpointHeaders(_,A)},...X!=null&&{properties:Qr4.getEndpointProperties(X,A)},url:fr4.getEndpointUrl(V,A)}};nW0.evaluateEndpointRule=qr4});var eW0=Y((sW0)=>{Object.defineProperty(sW0,"__esModule",{value:!0});sW0.evaluateErrorRule=void 0;var Rr4=zZ(),Ur4=Ec(),vr4=QL(),Er4=(I,d)=>{let{conditions:G,error:Z}=I,{result:C,referenceRecord:W}=Ur4.evaluateConditions(G,d);if(!C)return;throw new Rr4.EndpointError(vr4.evaluateExpression(Z,"Error",{...d,referenceRecord:{...d.referenceRecord,...W}}))};sW0.evaluateErrorRule=Er4});var dw0=Y((tW0)=>{Object.defineProperty(tW0,"__esModule",{value:!0});tW0.evaluateTreeRule=void 0;var Mr4=Ec(),Sr4=Yd1(),Lr4=(I,d)=>{let{conditions:G,rules:Z}=I,{result:C,referenceRecord:W}=Mr4.evaluateConditions(G,d);if(!C)return;return Sr4.evaluateRules(Z,{...d,referenceRecord:{...d.referenceRecord,...W}})};tW0.evaluateTreeRule=Lr4});var Yd1=Y((Zw0)=>{Object.defineProperty(Zw0,"__esModule",{value:!0});Zw0.evaluateRules=void 0;var Gw0=zZ(),yr4=aW0(),Pr4=eW0(),$r4=dw0(),ur4=(I,d)=>{for(let G of I)if(G.type==="endpoint"){let Z=yr4.evaluateEndpointRule(G,d);if(Z)return Z}else if(G.type==="error")Pr4.evaluateErrorRule(G,d);else if(G.type==="tree"){let Z=$r4.evaluateTreeRule(G,d);if(Z)return Z}else throw new Gw0.EndpointError(`Unknown endpoint rule: ${G}`);throw new Gw0.EndpointError("Rules evaluation failed")};Zw0.evaluateRules=ur4});var Ww0=Y((_d1)=>{Object.defineProperty(_d1,"__esModule",{value:!0});var Tr4=x1();Tr4.__exportStar(Yd1(),_d1)});var Aw0=Y((ww0)=>{Object.defineProperty(ww0,"__esModule",{value:!0});ww0.resolveEndpoint=void 0;var Mc=JL(),Or4=zZ(),mr4=Ww0(),lr4=(I,d)=>{var G,Z,C,W,w,B;let{endpointParams:A,logger:V}=d,{parameters:X,rules:_}=I;(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,`${Mc.debugId} Initial EndpointParams: ${Mc.toDebugString(A)}`);let F=Object.entries(X).filter(([,K])=>K.default!=null).map(([K,Q])=>[K,Q.default]);if(F.length>0)for(let[K,Q]of F)A[K]=(C=A[K])!==null&&C!==void 0?C:Q;let g=Object.entries(X).filter(([,K])=>K.required).map(([K])=>K);for(let K of g)if(A[K]==null)throw new Or4.EndpointError(`Missing required parameter: '${K}'`);let J=mr4.evaluateRules(_,{endpointParams:A,logger:V,referenceRecord:{}});if((W=d.endpointParams)===null||W===void 0?void 0:W.Endpoint)try{let K=new URL(d.endpointParams.Endpoint),{protocol:Q,port:E}=K;J.url.protocol=Q,J.url.port=E}catch(K){}return(B=(w=d.logger)===null||w===void 0?void 0:w.debug)===null||B===void 0||B.call(w,`${Mc.debugId} Resolved endpoint: ${Mc.toDebugString(J)}`),J};ww0.resolveEndpoint=lr4});var qL=Y((fL)=>{Object.defineProperty(fL,"__esModule",{value:!0});var Dd1=x1();Dd1.__exportStar(pI1(),fL);Dd1.__exportStar(Aw0(),fL);Dd1.__exportStar(zZ(),fL)});var Yw0=Y((Vw0)=>{Object.defineProperty(Vw0,"__esModule",{value:!0});Vw0.UA_ESCAPE_REGEX=Vw0.SPACE=Vw0.X_AMZ_USER_AGENT=Vw0.USER_AGENT=void 0;Vw0.USER_AGENT="user-agent";Vw0.X_AMZ_USER_AGENT="x-amz-user-agent";Vw0.SPACE=" ";Vw0.UA_ESCAPE_REGEX=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g});var gw0=Y((_w0)=>{Object.defineProperty(_w0,"__esModule",{value:!0});_w0.getUserAgentPlugin=_w0.getUserAgentMiddlewareOptions=_w0.userAgentMiddleware=void 0;var kr4=J8(),xr4=qL(),P_=Yw0(),cr4=(I)=>(d,G)=>async(Z)=>{var C,W;let{request:w}=Z;if(!kr4.HttpRequest.isInstance(w))return d(Z);let{headers:B}=w,A=((C=G===null||G===void 0?void 0:G.userAgent)===null||C===void 0?void 0:C.map(Hd1))||[],V=(await I.defaultUserAgentProvider()).map(Hd1),X=((W=I===null||I===void 0?void 0:I.customUserAgent)===null||W===void 0?void 0:W.map(Hd1))||[],_=xr4.getUserAgentPrefix(),F=(_?[_]:[]).concat([...V,...A,...X]).join(P_.SPACE),g=[...V.filter((J)=>J.startsWith("aws-sdk-")),...X].join(P_.SPACE);if(I.runtime!=="browser"){if(g)B[P_.X_AMZ_USER_AGENT]=B[P_.X_AMZ_USER_AGENT]?`${B[P_.USER_AGENT]} ${g}`:g;B[P_.USER_AGENT]=F}else B[P_.X_AMZ_USER_AGENT]=F;return d({...Z,request:w})};_w0.userAgentMiddleware=cr4;var Hd1=([I,d])=>{let G=I.indexOf("/"),Z=I.substring(0,G),C=I.substring(G+1);if(Z==="api")C=C.toLowerCase();return[Z,C,d].filter((W)=>W&&W.length>0).map((W)=>W===null||W===void 0?void 0:W.replace(P_.UA_ESCAPE_REGEX,"_")).join("/")};_w0.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var pr4=(I)=>({applyToStack:(d)=>{d.add(_w0.userAgentMiddleware(I),_w0.getUserAgentMiddlewareOptions)}});_w0.getUserAgentPlugin=pr4});var Lc=Y((Sc)=>{Object.defineProperty(Sc,"__esModule",{value:!0});var Jw0=x1();Jw0.__exportStar(cG0(),Sc);Jw0.__exportStar(gw0(),Sc)});var Qw0=Y((Nw0)=>{Object.defineProperty(Nw0,"__esModule",{value:!0});Nw0.NoOpLogger=void 0;class Kw0{trace(){}debug(){}info(){}warn(){}error(){}}Nw0.NoOpLogger=Kw0});var Uw0=Y((Rw0)=>{Object.defineProperty(Rw0,"__esModule",{value:!0});Rw0.constructStack=void 0;var ir4=()=>{let I=[],d=[],G=new Set,Z=(X)=>X.sort((_,F)=>fw0[F.step]-fw0[_.step]||qw0[F.priority||"normal"]-qw0[_.priority||"normal"]),C=(X)=>{let _=!1,F=(g)=>{if(g.name&&g.name===X)return _=!0,G.delete(X),!1;return!0};return I=I.filter(F),d=d.filter(F),_},W=(X)=>{let _=!1,F=(g)=>{if(g.middleware===X){if(_=!0,g.name)G.delete(g.name);return!1}return!0};return I=I.filter(F),d=d.filter(F),_},w=(X)=>{return I.forEach((_)=>{X.add(_.middleware,{..._})}),d.forEach((_)=>{X.addRelativeTo(_.middleware,{..._})}),X},B=(X)=>{let _=[];return X.before.forEach((F)=>{if(F.before.length===0&&F.after.length===0)_.push(F);else _.push(...B(F))}),_.push(X),X.after.reverse().forEach((F)=>{if(F.before.length===0&&F.after.length===0)_.push(F);else _.push(...B(F))}),_},A=(X=!1)=>{let _=[],F=[],g={};return I.forEach((K)=>{let Q={...K,before:[],after:[]};if(Q.name)g[Q.name]=Q;_.push(Q)}),d.forEach((K)=>{let Q={...K,before:[],after:[]};if(Q.name)g[Q.name]=Q;F.push(Q)}),F.forEach((K)=>{if(K.toMiddleware){let Q=g[K.toMiddleware];if(Q===void 0){if(X)return;throw new Error(`${K.toMiddleware} is not found when adding ${K.name||"anonymous"} middleware ${K.relation} ${K.toMiddleware}`)}if(K.relation==="after")Q.after.push(K);if(K.relation==="before")Q.before.push(K)}}),Z(_).map(B).reduce((K,Q)=>{return K.push(...Q),K},[])},V={add:(X,_={})=>{let{name:F,override:g}=_,J={step:"initialize",priority:"normal",middleware:X,..._};if(F){if(G.has(F)){if(!g)throw new Error(`Duplicate middleware name '${F}'`);let K=I.findIndex((E)=>E.name===F),Q=I[K];if(Q.step!==J.step||Q.priority!==J.priority)throw new Error(`"${F}" middleware with ${Q.priority} priority in ${Q.step} step cannot be overridden by same-name middleware with ${J.priority} priority in ${J.step} step.`);I.splice(K,1)}G.add(F)}I.push(J)},addRelativeTo:(X,_)=>{let{name:F,override:g}=_,J={middleware:X,..._};if(F){if(G.has(F)){if(!g)throw new Error(`Duplicate middleware name '${F}'`);let K=d.findIndex((E)=>E.name===F),Q=d[K];if(Q.toMiddleware!==J.toMiddleware||Q.relation!==J.relation)throw new Error(`"${F}" middleware ${Q.relation} "${Q.toMiddleware}" middleware cannot be overridden by same-name middleware ${J.relation} "${J.toMiddleware}" middleware.`);d.splice(K,1)}G.add(F)}d.push(J)},clone:()=>w(Rw0.constructStack()),use:(X)=>{X.applyToStack(V)},remove:(X)=>{if(typeof X==="string")return C(X);else return W(X)},removeByTag:(X)=>{let _=!1,F=(g)=>{let{tags:J,name:K}=g;if(J&&J.includes(X)){if(K)G.delete(K);return _=!0,!1}return!0};return I=I.filter(F),d=d.filter(F),_},concat:(X)=>{let _=w(Rw0.constructStack());return _.use(X),_},applyToStack:w,identify:()=>{return A(!0).map((X)=>{return X.name+": "+(X.tags||[]).join(",")})},resolve:(X,_)=>{for(let F of A().map((g)=>g.middleware).reverse())X=F(X,_);return X}};return V};Rw0.constructStack=ir4;var fw0={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},qw0={high:3,normal:2,low:1}});var gd1=Y((Fd1)=>{Object.defineProperty(Fd1,"__esModule",{value:!0});var nr4=x1();nr4.__exportStar(Uw0(),Fd1)});var Sw0=Y((Ew0)=>{Object.defineProperty(Ew0,"__esModule",{value:!0});Ew0.Client=void 0;var rr4=gd1();class vw0{constructor(I){this.middlewareStack=rr4.constructStack(),this.config=I}send(I,d,G){let Z=typeof d!=="function"?d:void 0,C=typeof d==="function"?d:G,W=I.resolveMiddleware(this.middlewareStack,this.config,Z);if(C)W(I).then((w)=>C(null,w.output),(w)=>C(w)).catch(()=>{});else return W(I).then((w)=>w.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}}Ew0.Client=vw0});var $w0=Y((yw0)=>{Object.defineProperty(yw0,"__esModule",{value:!0});yw0.Command=void 0;var ar4=gd1();class Lw0{constructor(){this.middlewareStack=ar4.constructStack()}}yw0.Command=Lw0});var Ow0=Y((uw0)=>{Object.defineProperty(uw0,"__esModule",{value:!0});uw0.SENSITIVE_STRING=void 0;uw0.SENSITIVE_STRING="***SensitiveInformation***"});var bw0=Y((mw0)=>{Object.defineProperty(mw0,"__esModule",{value:!0});mw0.createAggregatedClient=void 0;var sr4=(I,d)=>{for(let G of Object.keys(I)){let Z=I[G],C=async function(w,B,A){let V=new Z(w);if(typeof B==="function")this.send(V,B);else if(typeof A==="function"){if(typeof B!=="object")throw new Error(`Expected http options but got ${typeof B}`);this.send(V,B||{},A)}else return this.send(V,B)},W=(G[0].toLowerCase()+G.slice(1)).replace(/Command$/,"");d.prototype[W]=C}};mw0.createAggregatedClient=sr4});var fd1=Y((jw0)=>{Object.defineProperty(jw0,"__esModule",{value:!0});jw0.logger=jw0.strictParseByte=jw0.strictParseShort=jw0.strictParseInt32=jw0.strictParseInt=jw0.strictParseLong=jw0.limitedParseFloat32=jw0.limitedParseFloat=jw0.handleFloat=jw0.limitedParseDouble=jw0.strictParseFloat32=jw0.strictParseFloat=jw0.strictParseDouble=jw0.expectUnion=jw0.expectString=jw0.expectObject=jw0.expectNonNull=jw0.expectByte=jw0.expectShort=jw0.expectInt32=jw0.expectInt=jw0.expectLong=jw0.expectFloat32=jw0.expectNumber=jw0.expectBoolean=jw0.parseBoolean=void 0;var or4=(I)=>{switch(I){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${I}"`)}};jw0.parseBoolean=or4;var er4=(I)=>{if(I===null||I===void 0)return;if(typeof I==="number"){if(I===0||I===1)jw0.logger.warn(Pc(`Expected boolean, got ${typeof I}: ${I}`));if(I===0)return!1;if(I===1)return!0}if(typeof I==="string"){let d=I.toLowerCase();if(d==="false"||d==="true")jw0.logger.warn(Pc(`Expected boolean, got ${typeof I}: ${I}`));if(d==="false")return!1;if(d==="true")return!0}if(typeof I==="boolean")return I;throw new TypeError(`Expected boolean, got ${typeof I}: ${I}`)};jw0.expectBoolean=er4;var tr4=(I)=>{if(I===null||I===void 0)return;if(typeof I==="string"){let d=parseFloat(I);if(!Number.isNaN(d)){if(String(d)!==String(I))jw0.logger.warn(Pc(`Expected number but observed string: ${I}`));return d}}if(typeof I==="number")return I;throw new TypeError(`Expected number, got ${typeof I}: ${I}`)};jw0.expectNumber=tr4;var Ia4=Math.ceil(340282346638528860000000000000000000000),da4=(I)=>{let d=jw0.expectNumber(I);if(d!==void 0&&!Number.isNaN(d)&&d!==1/0&&d!==-1/0){if(Math.abs(d)>Ia4)throw new TypeError(`Expected 32-bit float, got ${I}`)}return d};jw0.expectFloat32=da4;var Ga4=(I)=>{if(I===null||I===void 0)return;if(Number.isInteger(I)&&!Number.isNaN(I))return I;throw new TypeError(`Expected integer, got ${typeof I}: ${I}`)};jw0.expectLong=Ga4;jw0.expectInt=jw0.expectLong;var Za4=(I)=>zd1(I,32);jw0.expectInt32=Za4;var Ca4=(I)=>zd1(I,16);jw0.expectShort=Ca4;var Wa4=(I)=>zd1(I,8);jw0.expectByte=Wa4;var zd1=(I,d)=>{let G=jw0.expectLong(I);if(G!==void 0&&wa4(G,d)!==G)throw new TypeError(`Expected ${d}-bit integer, got ${I}`);return G},wa4=(I,d)=>{switch(d){case 32:return Int32Array.of(I)[0];case 16:return Int16Array.of(I)[0];case 8:return Int8Array.of(I)[0]}},Ba4=(I,d)=>{if(I===null||I===void 0){if(d)throw new TypeError(`Expected a non-null value for ${d}`);throw new TypeError("Expected a non-null value")}return I};jw0.expectNonNull=Ba4;var Aa4=(I)=>{if(I===null||I===void 0)return;if(typeof I==="object"&&!Array.isArray(I))return I;let d=Array.isArray(I)?"array":typeof I;throw new TypeError(`Expected object, got ${d}: ${I}`)};jw0.expectObject=Aa4;var Va4=(I)=>{if(I===null||I===void 0)return;if(typeof I==="string")return I;if(["boolean","number","bigint"].includes(typeof I))return jw0.logger.warn(Pc(`Expected string, got ${typeof I}: ${I}`)),String(I);throw new TypeError(`Expected string, got ${typeof I}: ${I}`)};jw0.expectString=Va4;var Xa4=(I)=>{if(I===null||I===void 0)return;let d=jw0.expectObject(I),G=Object.entries(d).filter(([,Z])=>Z!=null).map(([Z])=>Z);if(G.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(G.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${G} were not null.`);return d};jw0.expectUnion=Xa4;var Ya4=(I)=>{if(typeof I=="string")return jw0.expectNumber(mf(I));return jw0.expectNumber(I)};jw0.strictParseDouble=Ya4;jw0.strictParseFloat=jw0.strictParseDouble;var _a4=(I)=>{if(typeof I=="string")return jw0.expectFloat32(mf(I));return jw0.expectFloat32(I)};jw0.strictParseFloat32=_a4;var Da4=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,mf=(I)=>{let d=I.match(Da4);if(d===null||d[0].length!==I.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(I)},Ha4=(I)=>{if(typeof I=="string")return hw0(I);return jw0.expectNumber(I)};jw0.limitedParseDouble=Ha4;jw0.handleFloat=jw0.limitedParseDouble;jw0.limitedParseFloat=jw0.limitedParseDouble;var Fa4=(I)=>{if(typeof I=="string")return hw0(I);return jw0.expectFloat32(I)};jw0.limitedParseFloat32=Fa4;var hw0=(I)=>{switch(I){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw new Error(`Unable to parse float value: ${I}`)}},ga4=(I)=>{if(typeof I==="string")return jw0.expectLong(mf(I));return jw0.expectLong(I)};jw0.strictParseLong=ga4;jw0.strictParseInt=jw0.strictParseLong;var Ja4=(I)=>{if(typeof I==="string")return jw0.expectInt32(mf(I));return jw0.expectInt32(I)};jw0.strictParseInt32=Ja4;var Ka4=(I)=>{if(typeof I==="string")return jw0.expectShort(mf(I));return jw0.expectShort(I)};jw0.strictParseShort=Ka4;var Na4=(I)=>{if(typeof I==="string")return jw0.expectByte(mf(I));return jw0.expectByte(I)};jw0.strictParseByte=Na4;var Pc=(I)=>{return String(new TypeError(I).stack||I).split(`
`).slice(0,5).filter((d)=>!d.includes("stackTraceWarning")).join(`
`)};jw0.logger={warn:console.warn}});var nw0=Y((pw0)=>{Object.defineProperty(pw0,"__esModule",{value:!0});pw0.parseEpochTimestamp=pw0.parseRfc7231DateTime=pw0.parseRfc3339DateTimeWithOffset=pw0.parseRfc3339DateTime=pw0.dateToUtcString=void 0;var $_=fd1(),Ta4=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Rd1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Oa4(I){let d=I.getUTCFullYear(),G=I.getUTCMonth(),Z=I.getUTCDay(),C=I.getUTCDate(),W=I.getUTCHours(),w=I.getUTCMinutes(),B=I.getUTCSeconds(),A=C<10?`0${C}`:`${C}`,V=W<10?`0${W}`:`${W}`,X=w<10?`0${w}`:`${w}`,_=B<10?`0${B}`:`${B}`;return`${Ta4[Z]}, ${A} ${Rd1[G]} ${d} ${V}:${X}:${_} GMT`}pw0.dateToUtcString=Oa4;var ma4=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),la4=(I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let d=ma4.exec(I);if(!d)throw new TypeError("Invalid RFC-3339 date-time value");let[G,Z,C,W,w,B,A,V]=d,X=$_.strictParseShort(lf(Z)),_=sw(C,"month",1,12),F=sw(W,"day",1,31);return vL(X,_,F,{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V})};pw0.parseRfc3339DateTime=la4;var ba4=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),ha4=(I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let d=ba4.exec(I);if(!d)throw new TypeError("Invalid RFC-3339 date-time value");let[G,Z,C,W,w,B,A,V,X]=d,_=$_.strictParseShort(lf(Z)),F=sw(C,"month",1,12),g=sw(W,"day",1,31),J=vL(_,F,g,{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V});if(X.toUpperCase()!="Z")J.setTime(J.getTime()-ta4(X));return J};pw0.parseRfc3339DateTimeWithOffset=ha4;var ja4=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),ka4=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),xa4=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),ca4=(I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let d=ja4.exec(I);if(d){let[G,Z,C,W,w,B,A,V]=d;return vL($_.strictParseShort(lf(W)),qd1(C),sw(Z,"day",1,31),{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V})}if(d=ka4.exec(I),d){let[G,Z,C,W,w,B,A,V]=d;return ra4(vL(ia4(W),qd1(C),sw(Z,"day",1,31),{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V}))}if(d=xa4.exec(I),d){let[G,Z,C,W,w,B,A,V]=d;return vL($_.strictParseShort(lf(V)),qd1(Z),sw(C.trimLeft(),"day",1,31),{hours:W,minutes:w,seconds:B,fractionalMilliseconds:A})}throw new TypeError("Invalid RFC-7231 date-time value")};pw0.parseRfc7231DateTime=ca4;var pa4=(I)=>{if(I===null||I===void 0)return;let d;if(typeof I==="number")d=I;else if(typeof I==="string")d=$_.strictParseDouble(I);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(d)||d===1/0||d===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(d*1000))};pw0.parseEpochTimestamp=pa4;var vL=(I,d,G,Z)=>{let C=d-1;return sa4(I,C,G),new Date(Date.UTC(I,C,G,sw(Z.hours,"hour",0,23),sw(Z.minutes,"minute",0,59),sw(Z.seconds,"seconds",0,60),ea4(Z.fractionalMilliseconds)))},ia4=(I)=>{let d=new Date().getUTCFullYear(),G=Math.floor(d/100)*100+$_.strictParseShort(lf(I));if(G<d)return G+100;return G},na4=1576800000000,ra4=(I)=>{if(I.getTime()-new Date().getTime()>na4)return new Date(Date.UTC(I.getUTCFullYear()-100,I.getUTCMonth(),I.getUTCDate(),I.getUTCHours(),I.getUTCMinutes(),I.getUTCSeconds(),I.getUTCMilliseconds()));return I},qd1=(I)=>{let d=Rd1.indexOf(I);if(d<0)throw new TypeError(`Invalid month: ${I}`);return d+1},aa4=[31,28,31,30,31,30,31,31,30,31,30,31],sa4=(I,d,G)=>{let Z=aa4[d];if(d===1&&oa4(I))Z=29;if(G>Z)throw new TypeError(`Invalid day for ${Rd1[d]} in ${I}: ${G}`)},oa4=(I)=>{return I%4===0&&(I%100!==0||I%400===0)},sw=(I,d,G,Z)=>{let C=$_.strictParseByte(lf(I));if(C<G||C>Z)throw new TypeError(`${d} must be between ${G} and ${Z}, inclusive`);return C},ea4=(I)=>{if(I===null||I===void 0)return 0;return $_.strictParseFloat32("0."+I)*1000},ta4=(I)=>{let d=I[0],G=1;if(d=="+")G=1;else if(d=="-")G=-1;else throw new TypeError(`Offset direction, ${d}, must be "+" or "-"`);let Z=Number(I.substring(1,3)),C=Number(I.substring(4,6));return G*(Z*60+C)*60*1000},lf=(I)=>{let d=0;while(d<I.length-1&&I.charAt(d)==="0")d++;if(d===0)return I;return I.slice(d)}});var vd1=Y((rw0)=>{Object.defineProperty(rw0,"__esModule",{value:!0});rw0.decorateServiceException=rw0.ServiceException=void 0;class Ud1 extends Error{constructor(I){super(I.message);Object.setPrototypeOf(this,Ud1.prototype),this.name=I.name,this.$fault=I.$fault,this.$metadata=I.$metadata}}rw0.ServiceException=Ud1;var Cs4=(I,d={})=>{Object.entries(d).filter(([,Z])=>Z!==void 0).forEach(([Z,C])=>{if(I[Z]==null||I[Z]==="")I[Z]=C});let G=I.message||I.Message||"UnknownError";return I.message=G,delete I.Message,I};rw0.decorateServiceException=Cs4});var tw0=Y((sw0)=>{Object.defineProperty(sw0,"__esModule",{value:!0});sw0.withBaseException=sw0.throwDefaultError=void 0;var ws4=vd1(),Bs4=({output:I,parsedBody:d,exceptionCtor:G,errorCode:Z})=>{let C=Vs4(I),W=C.httpStatusCode?C.httpStatusCode+"":void 0,w=new G({name:(d===null||d===void 0?void 0:d.code)||(d===null||d===void 0?void 0:d.Code)||Z||W||"UnknownError",$fault:"client",$metadata:C});throw ws4.decorateServiceException(w,d)};sw0.throwDefaultError=Bs4;var As4=(I)=>{return({output:d,parsedBody:G,errorCode:Z})=>{sw0.throwDefaultError({output:d,parsedBody:G,exceptionCtor:I,errorCode:Z})}};sw0.withBaseException=As4;var Vs4=(I)=>{var d,G;return{httpStatusCode:I.statusCode,requestId:(G=(d=I.headers["x-amzn-requestid"])!==null&&d!==void 0?d:I.headers["x-amzn-request-id"])!==null&&G!==void 0?G:I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}}});var GB0=Y((IB0)=>{Object.defineProperty(IB0,"__esModule",{value:!0});IB0.loadConfigsForDefaultMode=void 0;var Xs4=(I)=>{switch(I){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}};IB0.loadConfigsForDefaultMode=Xs4});var wB0=Y((CB0)=>{Object.defineProperty(CB0,"__esModule",{value:!0});CB0.emitWarningIfUnsupportedVersion=void 0;var ZB0=!1,Ys4=(I)=>{if(I&&!ZB0&&parseInt(I.substring(1,I.indexOf(".")))<14)ZB0=!0};CB0.emitWarningIfUnsupportedVersion=Ys4});var Ed1=Y((BB0)=>{Object.defineProperty(BB0,"__esModule",{value:!0});BB0.extendedEncodeURIComponent=void 0;function _s4(I){return encodeURIComponent(I).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()})}BB0.extendedEncodeURIComponent=_s4});var YB0=Y((VB0)=>{Object.defineProperty(VB0,"__esModule",{value:!0});VB0.getArrayIfSingleItem=void 0;var Ds4=(I)=>Array.isArray(I)?I:[I];VB0.getArrayIfSingleItem=Ds4});var DB0=Y((_B0)=>{Object.defineProperty(_B0,"__esModule",{value:!0});_B0.getValueFromTextNode=void 0;var Hs4=(I)=>{for(let G in I)if(I.hasOwnProperty(G)&&I[G]["#text"]!==void 0)I[G]=I[G]["#text"];else if(typeof I[G]==="object"&&I[G]!==null)I[G]=_B0.getValueFromTextNode(I[G]);return I};_B0.getValueFromTextNode=Hs4});var gB0=Y((HB0)=>{Object.defineProperty(HB0,"__esModule",{value:!0});HB0.LazyJsonString=HB0.StringWrapper=void 0;var Fs4=function(){let I=Object.getPrototypeOf(this).constructor,G=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(G,I.prototype),G};HB0.StringWrapper=Fs4;HB0.StringWrapper.prototype=Object.create(String.prototype,{constructor:{value:HB0.StringWrapper,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(HB0.StringWrapper,String);class EL extends HB0.StringWrapper{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(I){if(I instanceof EL)return I;else if(I instanceof String||typeof I==="string")return new EL(I);return new EL(JSON.stringify(I))}}HB0.LazyJsonString=EL});var QB0=Y((NB0)=>{Object.defineProperty(NB0,"__esModule",{value:!0});NB0.take=NB0.convertMap=NB0.map=void 0;function JB0(I,d,G){let Z,C,W;if(typeof d==="undefined"&&typeof G==="undefined")Z={},W=I;else if(Z=I,typeof d==="function")return C=d,W=G,Ks4(Z,C,W);else W=d;for(let w of Object.keys(W)){if(!Array.isArray(W[w])){Z[w]=W[w];continue}KB0(Z,null,W,w)}return Z}NB0.map=JB0;var gs4=(I)=>{let d={};for(let[G,Z]of Object.entries(I||{}))d[G]=[,Z];return d};NB0.convertMap=gs4;var Js4=(I,d)=>{let G={};for(let Z in d)KB0(G,I,d,Z);return G};NB0.take=Js4;var Ks4=(I,d,G)=>{return JB0(I,Object.entries(G).reduce((Z,[C,W])=>{if(Array.isArray(W))Z[C]=W;else if(typeof W==="function")Z[C]=[d,W()];else Z[C]=[d,W];return Z},{}))},KB0=(I,d,G,Z)=>{if(d!==null){let w=G[Z];if(typeof w==="function")w=[,w];let[B=Ns4,A=zs4,V=Z]=w;if(typeof B==="function"&&B(d[V])||typeof B!=="function"&&!!B)I[Z]=A(d[V]);return}let[C,W]=G[Z];if(typeof W==="function"){let w,B=C===void 0&&(w=W())!=null,A=typeof C==="function"&&!!C(void 0)||typeof C!=="function"&&!!C;if(B)I[Z]=w;else if(A)I[Z]=W()}else{let w=C===void 0&&W!=null,B=typeof C==="function"&&!!C(W)||typeof C!=="function"&&!!C;if(w||B)I[Z]=W}},Ns4=(I)=>I!=null,zs4=(I)=>I});var UB0=Y((qB0)=>{Object.defineProperty(qB0,"__esModule",{value:!0});qB0.resolvedPath=void 0;var fB0=Ed1(),qs4=(I,d,G,Z,C,W)=>{if(d!=null&&d[G]!==void 0){let w=Z();if(w.length<=0)throw new Error("Empty value provided for input HTTP label: "+G+".");I=I.replace(C,W?w.split("/").map((B)=>fB0.extendedEncodeURIComponent(B)).join("/"):fB0.extendedEncodeURIComponent(w))}else throw new Error("No value provided for input HTTP label: "+G+".");return I};qB0.resolvedPath=qs4});var MB0=Y((vB0)=>{Object.defineProperty(vB0,"__esModule",{value:!0});vB0.serializeFloat=void 0;var Rs4=(I)=>{if(I!==I)return"NaN";switch(I){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return I}};vB0.serializeFloat=Rs4});var LB0=Y((SB0)=>{Object.defineProperty(SB0,"__esModule",{value:!0});SB0._json=void 0;var Us4=(I)=>{if(I==null)return{};if(Array.isArray(I))return I.filter((d)=>d!=null);if(typeof I==="object"){let d={};for(let G of Object.keys(I)){if(I[G]==null)continue;d[G]=SB0._json(I[G])}return d}return I};SB0._json=Us4});var $B0=Y((yB0)=>{Object.defineProperty(yB0,"__esModule",{value:!0});yB0.splitEvery=void 0;function vs4(I,d,G){if(G<=0||!Number.isInteger(G))throw new Error("Invalid number of delimiters ("+G+") for splitEvery.");let Z=I.split(d);if(G===1)return Z;let C=[],W="";for(let w=0;w<Z.length;w++){if(W==="")W=Z[w];else W+=d+Z[w];if((w+1)%G===0)C.push(W),W=""}if(W!=="")C.push(W);return C}yB0.splitEvery=vs4});var v0=Y((h3)=>{Object.defineProperty(h3,"__esModule",{value:!0});var q6=x1();q6.__exportStar(Qw0(),h3);q6.__exportStar(Sw0(),h3);q6.__exportStar($w0(),h3);q6.__exportStar(Ow0(),h3);q6.__exportStar(bw0(),h3);q6.__exportStar(nw0(),h3);q6.__exportStar(tw0(),h3);q6.__exportStar(GB0(),h3);q6.__exportStar(wB0(),h3);q6.__exportStar(vd1(),h3);q6.__exportStar(Ed1(),h3);q6.__exportStar(YB0(),h3);q6.__exportStar(DB0(),h3);q6.__exportStar(gB0(),h3);q6.__exportStar(QB0(),h3);q6.__exportStar(fd1(),h3);q6.__exportStar(UB0(),h3);q6.__exportStar(MB0(),h3);q6.__exportStar(LB0(),h3);q6.__exportStar($B0(),h3)});var OB0=Y((uB0)=>{Object.defineProperty(uB0,"__esModule",{value:!0});uB0.resolveClientEndpointParameters=void 0;var Es4=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"cognito-identity"}};uB0.resolveClientEndpointParameters=Es4});var mB0=Y((to9,Ms4)=>{Ms4.exports={name:"@aws-sdk/client-cognito-identity",description:"AWS SDK for JavaScript Cognito Identity Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo cognito-identity","test:e2e":"ts-mocha test/**/*.ispec.ts && karma start karma.conf.js"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/client-sts":"3.341.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/credential-provider-node":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-signing":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/client-iam":"3.341.0","@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/chai":"^4.2.11","@types/mocha":"^8.0.4","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cognito-identity",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-cognito-identity"}}});var hB0=Y((lB0)=>{Object.defineProperty(lB0,"__esModule",{value:!0});lB0.resolveStsAuthConfig=void 0;var Ss4=A9(),Ls4=(I,{stsClientCtor:d})=>Ss4.resolveAwsAuthConfig({...I,stsClientCtor:d});lB0.resolveStsAuthConfig=Ls4});var xB0=Y((jB0)=>{Object.defineProperty(jB0,"__esModule",{value:!0});jB0.resolveClientEndpointParameters=void 0;var ys4=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,useGlobalEndpoint:I.useGlobalEndpoint??!1,defaultSigningName:"sts"}};jB0.resolveClientEndpointParameters=ys4});var cB0=Y((Ge9,Ps4)=>{Ps4.exports={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/credential-provider-node":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-sdk-sts":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-signing":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0","fast-xml-parser":"4.1.2",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sts"}}});var uc=Y((yd1)=>{Object.defineProperty(yd1,"__esModule",{value:!0});yd1.STSServiceException=yd1.__ServiceException=void 0;var pB0=v0();Object.defineProperty(yd1,"__ServiceException",{enumerable:!0,get:function(){return pB0.ServiceException}});class Ld1 extends pB0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,Ld1.prototype)}}yd1.STSServiceException=Ld1});var T_=Y((nB0)=>{Object.defineProperty(nB0,"__esModule",{value:!0});nB0.GetSessionTokenResponseFilterSensitiveLog=nB0.GetFederationTokenResponseFilterSensitiveLog=nB0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=nB0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=nB0.AssumeRoleWithSAMLResponseFilterSensitiveLog=nB0.AssumeRoleWithSAMLRequestFilterSensitiveLog=nB0.AssumeRoleResponseFilterSensitiveLog=nB0.CredentialsFilterSensitiveLog=nB0.InvalidAuthorizationMessageException=nB0.IDPCommunicationErrorException=nB0.InvalidIdentityTokenException=nB0.IDPRejectedClaimException=nB0.RegionDisabledException=nB0.PackedPolicyTooLargeException=nB0.MalformedPolicyDocumentException=nB0.ExpiredTokenException=void 0;var Pd1=v0(),u_=uc();class $d1 extends u_.STSServiceException{constructor(I){super({name:"ExpiredTokenException",$fault:"client",...I});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,$d1.prototype)}}nB0.ExpiredTokenException=$d1;class ud1 extends u_.STSServiceException{constructor(I){super({name:"MalformedPolicyDocumentException",$fault:"client",...I});this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,ud1.prototype)}}nB0.MalformedPolicyDocumentException=ud1;class Td1 extends u_.STSServiceException{constructor(I){super({name:"PackedPolicyTooLargeException",$fault:"client",...I});this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,Td1.prototype)}}nB0.PackedPolicyTooLargeException=Td1;class Od1 extends u_.STSServiceException{constructor(I){super({name:"RegionDisabledException",$fault:"client",...I});this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,Od1.prototype)}}nB0.RegionDisabledException=Od1;class md1 extends u_.STSServiceException{constructor(I){super({name:"IDPRejectedClaimException",$fault:"client",...I});this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,md1.prototype)}}nB0.IDPRejectedClaimException=md1;class ld1 extends u_.STSServiceException{constructor(I){super({name:"InvalidIdentityTokenException",$fault:"client",...I});this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,ld1.prototype)}}nB0.InvalidIdentityTokenException=ld1;class bd1 extends u_.STSServiceException{constructor(I){super({name:"IDPCommunicationErrorException",$fault:"client",...I});this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,bd1.prototype)}}nB0.IDPCommunicationErrorException=bd1;class hd1 extends u_.STSServiceException{constructor(I){super({name:"InvalidAuthorizationMessageException",$fault:"client",...I});this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,hd1.prototype)}}nB0.InvalidAuthorizationMessageException=hd1;var $s4=(I)=>({...I,...I.SecretAccessKey&&{SecretAccessKey:Pd1.SENSITIVE_STRING}});nB0.CredentialsFilterSensitiveLog=$s4;var us4=(I)=>({...I,...I.Credentials&&{Credentials:nB0.CredentialsFilterSensitiveLog(I.Credentials)}});nB0.AssumeRoleResponseFilterSensitiveLog=us4;var Ts4=(I)=>({...I,...I.SAMLAssertion&&{SAMLAssertion:Pd1.SENSITIVE_STRING}});nB0.AssumeRoleWithSAMLRequestFilterSensitiveLog=Ts4;var Os4=(I)=>({...I,...I.Credentials&&{Credentials:nB0.CredentialsFilterSensitiveLog(I.Credentials)}});nB0.AssumeRoleWithSAMLResponseFilterSensitiveLog=Os4;var ms4=(I)=>({...I,...I.WebIdentityToken&&{WebIdentityToken:Pd1.SENSITIVE_STRING}});nB0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=ms4;var ls4=(I)=>({...I,...I.Credentials&&{Credentials:nB0.CredentialsFilterSensitiveLog(I.Credentials)}});nB0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=ls4;var bs4=(I)=>({...I,...I.Credentials&&{Credentials:nB0.CredentialsFilterSensitiveLog(I.Credentials)}});nB0.GetFederationTokenResponseFilterSensitiveLog=bs4;var hs4=(I)=>({...I,...I.Credentials&&{Credentials:nB0.CredentialsFilterSensitiveLog(I.Credentials)}});nB0.GetSessionTokenResponseFilterSensitiveLog=hs4});var sB0=Y((aB0)=>{Object.defineProperty(aB0,"__esModule",{value:!0})});var eB0=Y((oB0)=>{Object.defineProperty(oB0,"__esModule",{value:!0});oB0.HttpAuthLocation=void 0;var do4;(function(I){I.HEADER="header",I.QUERY="query"})(do4=oB0.HttpAuthLocation||(oB0.HttpAuthLocation={}))});var IA0=Y((tB0)=>{Object.defineProperty(tB0,"__esModule",{value:!0})});var GA0=Y((dA0)=>{Object.defineProperty(dA0,"__esModule",{value:!0})});var CA0=Y((ZA0)=>{Object.defineProperty(ZA0,"__esModule",{value:!0})});var wA0=Y((WA0)=>{Object.defineProperty(WA0,"__esModule",{value:!0})});var AA0=Y((BA0)=>{Object.defineProperty(BA0,"__esModule",{value:!0})});var XA0=Y((VA0)=>{Object.defineProperty(VA0,"__esModule",{value:!0})});var _A0=Y((YA0)=>{Object.defineProperty(YA0,"__esModule",{value:!0})});var DA0=Y((SL)=>{Object.defineProperty(SL,"__esModule",{value:!0});var kd1=x1();kd1.__exportStar(AA0(),SL);kd1.__exportStar(XA0(),SL);kd1.__exportStar(_A0(),SL)});var FA0=Y((HA0)=>{Object.defineProperty(HA0,"__esModule",{value:!0})});var JA0=Y((gA0)=>{Object.defineProperty(gA0,"__esModule",{value:!0})});var NA0=Y((KA0)=>{Object.defineProperty(KA0,"__esModule",{value:!0});KA0.EndpointURLScheme=void 0;var Go4;(function(I){I.HTTP="http",I.HTTPS="https"})(Go4=KA0.EndpointURLScheme||(KA0.EndpointURLScheme={}))});var QA0=Y((zA0)=>{Object.defineProperty(zA0,"__esModule",{value:!0})});var qA0=Y((fA0)=>{Object.defineProperty(fA0,"__esModule",{value:!0})});var UA0=Y((RA0)=>{Object.defineProperty(RA0,"__esModule",{value:!0})});var EA0=Y((vA0)=>{Object.defineProperty(vA0,"__esModule",{value:!0})});var SA0=Y((MA0)=>{Object.defineProperty(MA0,"__esModule",{value:!0})});var LA0=Y((rg)=>{Object.defineProperty(rg,"__esModule",{value:!0});var LL=x1();LL.__exportStar(QA0(),rg);LL.__exportStar(qA0(),rg);LL.__exportStar(UA0(),rg);LL.__exportStar(EA0(),rg);LL.__exportStar(SA0(),rg)});var PA0=Y((yA0)=>{Object.defineProperty(yA0,"__esModule",{value:!0})});var uA0=Y(($A0)=>{Object.defineProperty($A0,"__esModule",{value:!0});$A0.FieldPosition=void 0;var Zo4;(function(I){I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER"})(Zo4=$A0.FieldPosition||($A0.FieldPosition={}))});var OA0=Y((TA0)=>{Object.defineProperty(TA0,"__esModule",{value:!0})});var lA0=Y((mA0)=>{Object.defineProperty(mA0,"__esModule",{value:!0})});var hA0=Y((Tc)=>{Object.defineProperty(Tc,"__esModule",{value:!0});var bA0=x1();bA0.__exportStar(OA0(),Tc);bA0.__exportStar(lA0(),Tc)});var kA0=Y((jA0)=>{Object.defineProperty(jA0,"__esModule",{value:!0})});var cA0=Y((xA0)=>{Object.defineProperty(xA0,"__esModule",{value:!0})});var iA0=Y((pA0)=>{Object.defineProperty(pA0,"__esModule",{value:!0})});var rA0=Y((nA0)=>{Object.defineProperty(nA0,"__esModule",{value:!0})});var sA0=Y((aA0)=>{Object.defineProperty(aA0,"__esModule",{value:!0})});var eA0=Y((oA0)=>{Object.defineProperty(oA0,"__esModule",{value:!0})});var IV0=Y((tA0)=>{Object.defineProperty(tA0,"__esModule",{value:!0})});var GV0=Y((dV0)=>{Object.defineProperty(dV0,"__esModule",{value:!0})});var CV0=Y((ZV0)=>{Object.defineProperty(ZV0,"__esModule",{value:!0})});var wV0=Y((WV0)=>{Object.defineProperty(WV0,"__esModule",{value:!0})});var AV0=Y((BV0)=>{Object.defineProperty(BV0,"__esModule",{value:!0})});var XV0=Y((VV0)=>{Object.defineProperty(VV0,"__esModule",{value:!0})});var _V0=Y((YV0)=>{Object.defineProperty(YV0,"__esModule",{value:!0})});var HV0=Y((DV0)=>{Object.defineProperty(DV0,"__esModule",{value:!0});DV0.RequestHandlerProtocol=void 0;var Co4;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(Co4=DV0.RequestHandlerProtocol||(DV0.RequestHandlerProtocol={}))});var gV0=Y((FV0)=>{Object.defineProperty(FV0,"__esModule",{value:!0})});var KV0=Y((JV0)=>{Object.defineProperty(JV0,"__esModule",{value:!0})});var zV0=Y((NV0)=>{Object.defineProperty(NV0,"__esModule",{value:!0})});var fV0=Y((QV0)=>{Object.defineProperty(QV0,"__esModule",{value:!0})});var RV0=Y((qV0)=>{Object.defineProperty(qV0,"__esModule",{value:!0})});var UV0=Y((B5)=>{Object.defineProperty(B5,"__esModule",{value:!0});var Q5=x1();Q5.__exportStar(sB0(),B5);Q5.__exportStar(eB0(),B5);Q5.__exportStar(IA0(),B5);Q5.__exportStar(GA0(),B5);Q5.__exportStar(CA0(),B5);Q5.__exportStar(wA0(),B5);Q5.__exportStar(DA0(),B5);Q5.__exportStar(FA0(),B5);Q5.__exportStar(JA0(),B5);Q5.__exportStar(NA0(),B5);Q5.__exportStar(LA0(),B5);Q5.__exportStar(PA0(),B5);Q5.__exportStar(uA0(),B5);Q5.__exportStar(hA0(),B5);Q5.__exportStar(kA0(),B5);Q5.__exportStar(cA0(),B5);Q5.__exportStar(iA0(),B5);Q5.__exportStar(rA0(),B5);Q5.__exportStar(sA0(),B5);Q5.__exportStar(eA0(),B5);Q5.__exportStar(IV0(),B5);Q5.__exportStar(GV0(),B5);Q5.__exportStar(CV0(),B5);Q5.__exportStar(wV0(),B5);Q5.__exportStar(AV0(),B5);Q5.__exportStar(XV0(),B5);Q5.__exportStar(_V0(),B5);Q5.__exportStar(HV0(),B5);Q5.__exportStar(gV0(),B5);Q5.__exportStar(KV0(),B5);Q5.__exportStar(zV0(),B5);Q5.__exportStar(fV0(),B5);Q5.__exportStar(RV0(),B5)});var SV0=Y((EV0)=>{Object.defineProperty(EV0,"__esModule",{value:!0});EV0.Field=void 0;var Wo4=UV0();class vV0{constructor({name:I,kind:d=Wo4.FieldPosition.HEADER,values:G=[]}){this.name=I,this.kind=d,this.values=G}add(I){this.values.push(I)}set(I){this.values=I}remove(I){this.values=this.values.filter((d)=>d!==I)}toString(){return this.values.map((I)=>I.includes(",")||I.includes(" ")?`"${I}"`:I).join(", ")}get(){return this.values}}EV0.Field=vV0});var $V0=Y((yV0)=>{Object.defineProperty(yV0,"__esModule",{value:!0});yV0.Fields=void 0;class LV0{constructor({fields:I=[],encoding:d="utf-8"}){this.entries={},I.forEach(this.setField.bind(this)),this.encoding=d}setField(I){this.entries[I.name.toLowerCase()]=I}getField(I){return this.entries[I.toLowerCase()]}removeField(I){delete this.entries[I.toLowerCase()]}getByType(I){return Object.values(this.entries).filter((d)=>d.kind===I)}}yV0.Fields=LV0});var TV0=Y((uV0)=>{Object.defineProperty(uV0,"__esModule",{value:!0})});var lV0=Y((OV0)=>{Object.defineProperty(OV0,"__esModule",{value:!0});OV0.HttpRequest=void 0;class id1{constructor(I){this.method=I.method||"GET",this.hostname=I.hostname||"localhost",this.port=I.port,this.query=I.query||{},this.headers=I.headers||{},this.body=I.body,this.protocol=I.protocol?I.protocol.slice(-1)!==":"?`${I.protocol}:`:I.protocol:"https:",this.path=I.path?I.path.charAt(0)!=="/"?`/${I.path}`:I.path:"/",this.username=I.username,this.password=I.password,this.fragment=I.fragment}static isInstance(I){if(!I)return!1;let d=I;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d.query==="object"&&typeof d.headers==="object"}clone(){let I=new id1({...this,headers:{...this.headers}});if(I.query)I.query=wo4(I.query);return I}}OV0.HttpRequest=id1;function wo4(I){return Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{})}});var kV0=Y((hV0)=>{Object.defineProperty(hV0,"__esModule",{value:!0});hV0.HttpResponse=void 0;class bV0{constructor(I){this.statusCode=I.statusCode,this.reason=I.reason,this.headers=I.headers||{},this.body=I.body}static isInstance(I){if(!I)return!1;let d=I;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}hV0.HttpResponse=bV0});var pV0=Y((xV0)=>{Object.defineProperty(xV0,"__esModule",{value:!0});xV0.isValidHostname=void 0;function Bo4(I){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(I)}xV0.isValidHostname=Bo4});var nV0=Y((iV0)=>{Object.defineProperty(iV0,"__esModule",{value:!0})});var Oc=Y((zV)=>{Object.defineProperty(zV,"__esModule",{value:!0});var ag=x1();ag.__exportStar(SV0(),zV);ag.__exportStar($V0(),zV);ag.__exportStar(TV0(),zV);ag.__exportStar(lV0(),zV);ag.__exportStar(kV0(),zV);ag.__exportStar(pV0(),zV);ag.__exportStar(nV0(),zV)});var nd1=Y((_o4)=>{var Ao4=":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\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",rV0="[: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]["+Ao4+"]*",Vo4=new RegExp("^"+rV0+"$"),Xo4=function(I,d){let G=[],Z=d.exec(I);while(Z){let C=[];C.startIndex=d.lastIndex-Z[0].length;let W=Z.length;for(let w=0;w<W;w++)C.push(Z[w]);G.push(C),Z=d.exec(I)}return G},Yo4=function(I){let d=Vo4.exec(I);return!(d===null||typeof d==="undefined")};_o4.isExist=function(I){return typeof I!=="undefined"};_o4.isEmptyObject=function(I){return Object.keys(I).length===0};_o4.merge=function(I,d,G){if(d){let Z=Object.keys(d),C=Z.length;for(let W=0;W<C;W++)if(G==="strict")I[Z[W]]=[d[Z[W]]];else I[Z[W]]=d[Z[W]]}};_o4.getValue=function(I){if(_o4.isExist(I))return I;else return""};_o4.isName=Yo4;_o4.getAllMatches=Xo4;_o4.nameRegexp=rV0});var ad1=Y((Mo4)=>{var rd1=nd1(),No4={allowBooleanAttributes:!1,unpairedTags:[]};Mo4.validate=function(I,d){d=Object.assign({},No4,d);let G=[],Z=!1,C=!1;if(I[0]==="\uFEFF")I=I.substr(1);for(let W=0;W<I.length;W++)if(I[W]==="<"&&I[W+1]==="?"){if(W+=2,W=oV0(I,W),W.err)return W}else if(I[W]==="<"){let w=W;if(W++,I[W]==="!"){W=eV0(I,W);continue}else{let B=!1;if(I[W]==="/")B=!0,W++;let A="";for(;W<I.length&&I[W]!==">"&&I[W]!==" "&&I[W]!=="\t"&&I[W]!==`
`&&I[W]!=="\r";W++)A+=I[W];if(A=A.trim(),A[A.length-1]==="/")A=A.substring(0,A.length-1),W--;if(!Eo4(A)){let _;if(A.trim().length===0)_="Invalid space after '<'.";else _="Tag '"+A+"' is an invalid name.";return R6("InvalidTag",_,wd(I,W))}let V=fo4(I,W);if(V===!1)return R6("InvalidAttr","Attributes for '"+A+"' have open quote.",wd(I,W));let X=V.value;if(W=V.index,X[X.length-1]==="/"){let _=W-X.length;X=X.substring(0,X.length-1);let F=tV0(X,d);if(F===!0)Z=!0;else return R6(F.err.code,F.err.msg,wd(I,_+F.err.line))}else if(B)if(!V.tagClosed)return R6("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",wd(I,W));else if(X.trim().length>0)return R6("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",wd(I,w));else{let _=G.pop();if(A!==_.tagName){let F=wd(I,_.tagStartPos);return R6("InvalidTag","Expected closing tag '"+_.tagName+"' (opened in line "+F.line+", col "+F.col+") instead of closing tag '"+A+"'.",wd(I,w))}if(G.length==0)C=!0}else{let _=tV0(X,d);if(_!==!0)return R6(_.err.code,_.err.msg,wd(I,W-X.length+_.err.line));if(C===!0)return R6("InvalidXml","Multiple possible root nodes found.",wd(I,W));else if(d.unpairedTags.indexOf(A)!==-1);else G.push({tagName:A,tagStartPos:w});Z=!0}for(W++;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="!"){W++,W=eV0(I,W);continue}else if(I[W+1]==="?"){if(W=oV0(I,++W),W.err)return W}else break;else if(I[W]==="&"){let _=Uo4(I,W);if(_==-1)return R6("InvalidChar","char '&' is not expected.",wd(I,W));W=_}else if(C===!0&&!sV0(I[W]))return R6("InvalidXml","Extra text at the end",wd(I,W));if(I[W]==="<")W--}}else{if(sV0(I[W]))continue;return R6("InvalidChar","char '"+I[W]+"' is not expected.",wd(I,W))}if(!Z)return R6("InvalidXml","Start tag expected.",1);else if(G.length==1)return R6("InvalidTag","Unclosed tag '"+G[0].tagName+"'.",wd(I,G[0].tagStartPos));else if(G.length>0)return R6("InvalidXml","Invalid '"+JSON.stringify(G.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};function sV0(I){return I===" "||I==="\t"||I===`
`||I==="\r"}function oV0(I,d){let G=d;for(;d<I.length;d++)if(I[d]=="?"||I[d]==" "){let Z=I.substr(G,d-G);if(d>5&&Z==="xml")return R6("InvalidXml","XML declaration allowed only at the start of the document.",wd(I,d));else if(I[d]=="?"&&I[d+1]==">"){d++;break}else continue}return d}function eV0(I,d){if(I.length>d+5&&I[d+1]==="-"&&I[d+2]==="-"){for(d+=3;d<I.length;d++)if(I[d]==="-"&&I[d+1]==="-"&&I[d+2]===">"){d+=2;break}}else if(I.length>d+8&&I[d+1]==="D"&&I[d+2]==="O"&&I[d+3]==="C"&&I[d+4]==="T"&&I[d+5]==="Y"&&I[d+6]==="P"&&I[d+7]==="E"){let G=1;for(d+=8;d<I.length;d++)if(I[d]==="<")G++;else if(I[d]===">"){if(G--,G===0)break}}else if(I.length>d+9&&I[d+1]==="["&&I[d+2]==="C"&&I[d+3]==="D"&&I[d+4]==="A"&&I[d+5]==="T"&&I[d+6]==="A"&&I[d+7]==="["){for(d+=8;d<I.length;d++)if(I[d]==="]"&&I[d+1]==="]"&&I[d+2]===">"){d+=2;break}}return d}var zo4='"',Qo4="'";function fo4(I,d){let G="",Z="",C=!1;for(;d<I.length;d++){if(I[d]===zo4||I[d]===Qo4)if(Z==="")Z=I[d];else if(Z!==I[d]);else Z="";else if(I[d]===">"){if(Z===""){C=!0;break}}G+=I[d]}if(Z!=="")return!1;return{value:G,index:d,tagClosed:C}}var qo4=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function tV0(I,d){let G=rd1.getAllMatches(I,qo4),Z={};for(let C=0;C<G.length;C++){if(G[C][1].length===0)return R6("InvalidAttr","Attribute '"+G[C][2]+"' has no space in starting.",yL(G[C]));else if(G[C][3]!==void 0&&G[C][4]===void 0)return R6("InvalidAttr","Attribute '"+G[C][2]+"' is without value.",yL(G[C]));else if(G[C][3]===void 0&&!d.allowBooleanAttributes)return R6("InvalidAttr","boolean attribute '"+G[C][2]+"' is not allowed.",yL(G[C]));let W=G[C][2];if(!vo4(W))return R6("InvalidAttr","Attribute '"+W+"' is an invalid name.",yL(G[C]));if(!Z.hasOwnProperty(W))Z[W]=1;else return R6("InvalidAttr","Attribute '"+W+"' is repeated.",yL(G[C]))}return!0}function Ro4(I,d){let G=/\d/;if(I[d]==="x")d++,G=/[\da-fA-F]/;for(;d<I.length;d++){if(I[d]===";")return d;if(!I[d].match(G))break}return-1}function Uo4(I,d){if(d++,I[d]===";")return-1;if(I[d]==="#")return d++,Ro4(I,d);let G=0;for(;d<I.length;d++,G++){if(I[d].match(/\w/)&&G<20)continue;if(I[d]===";")break;return-1}return d}function R6(I,d,G){return{err:{code:I,msg:d,line:G.line||G,col:G.col}}}function vo4(I){return rd1.isName(I)}function Eo4(I){return rd1.isName(I)}function wd(I,d){let G=I.substring(0,d).split(/\r?\n/);return{line:G.length,col:G[G.length-1].length+1}}function yL(I){return I.startIndex+I[1].length}});var dX0=Y((yo4)=>{var IX0={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(I,d){return d},attributeValueProcessor:function(I,d){return d},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1},Lo4=function(I){return Object.assign({},IX0,I)};yo4.buildOptions=Lo4;yo4.defaultOptions=IX0});var CX0=Y((Bt9,ZX0)=>{class GX0{constructor(I){this.tagname=I,this.child=[],this[":@"]={}}add(I,d){if(I==="__proto__")I="#__proto__";this.child.push({[I]:d})}addChild(I){if(I.tagname==="__proto__")I.tagname="#__proto__";if(I[":@"]&&Object.keys(I[":@"]).length>0)this.child.push({[I.tagname]:I.child,[":@"]:I[":@"]});else this.child.push({[I.tagname]:I.child})}}ZX0.exports=GX0});var wX0=Y((At9,WX0)=>{function uo4(I,d){let G={};if(I[d+3]==="O"&&I[d+4]==="C"&&I[d+5]==="T"&&I[d+6]==="Y"&&I[d+7]==="P"&&I[d+8]==="E"){d=d+9;let Z=1,C=!1,W=!1,w=!1,B="";for(;d<I.length;d++)if(I[d]==="<"&&!w){if(C&&I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="N"&&I[d+4]==="T"&&I[d+5]==="I"&&I[d+6]==="T"&&I[d+7]==="Y")d+=7,W=!0;else if(C&&I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="L"&&I[d+4]==="E"&&I[d+5]==="M"&&I[d+6]==="E"&&I[d+7]==="N"&&I[d+8]==="T")d+=8;else if(C&&I[d+1]==="!"&&I[d+2]==="A"&&I[d+3]==="T"&&I[d+4]==="T"&&I[d+5]==="L"&&I[d+6]==="I"&&I[d+7]==="S"&&I[d+8]==="T")d+=8;else if(C&&I[d+1]==="!"&&I[d+2]==="N"&&I[d+3]==="O"&&I[d+4]==="T"&&I[d+5]==="A"&&I[d+6]==="T"&&I[d+7]==="I"&&I[d+8]==="O"&&I[d+9]==="N")d+=9;else if(I[d+1]==="!"&&I[d+2]==="-"&&I[d+3]==="-")w=!0;else throw new Error("Invalid DOCTYPE");Z++,B=""}else if(I[d]===">"){if(w){if(I[d-1]==="-"&&I[d-2]==="-")w=!1,Z--}else{if(W)Oo4(B,G),W=!1;Z--}if(Z===0)break}else if(I[d]==="[")C=!0;else B+=I[d];if(Z!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:G,i:d}}var To4=RegExp(`^\\s([a-zA-z0-0]+)[ 	](['"])([^&]+)\\2`);function Oo4(I,d){let G=To4.exec(I);if(G)d[G[1]]={regx:RegExp(`&${G[1]};`,"g"),val:G[3]}}WX0.exports=uo4});var mc=Y((Vt9,BX0)=>{var mo4=/^[-+]?0x[a-fA-F0-9]+$/,lo4=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;if(!Number.parseInt&&window.parseInt)Number.parseInt=window.parseInt;if(!Number.parseFloat&&window.parseFloat)Number.parseFloat=window.parseFloat;var bo4={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function ho4(I,d={}){if(d=Object.assign({},bo4,d),!I||typeof I!=="string")return I;let G=I.trim();if(d.skipLike!==void 0&&d.skipLike.test(G))return I;else if(d.hex&&mo4.test(G))return Number.parseInt(G,16);else{let Z=lo4.exec(G);if(Z){let C=Z[1],W=Z[2],w=jo4(Z[3]),B=Z[4]||Z[6];if(!d.leadingZeros&&W.length>0&&C&&G[2]!==".")return I;else if(!d.leadingZeros&&W.length>0&&!C&&G[1]!==".")return I;else{let A=Number(G),V=""+A;if(V.search(/[eE]/)!==-1)if(d.eNotation)return A;else return I;else if(B)if(d.eNotation)return A;else return I;else if(G.indexOf(".")!==-1)if(V==="0"&&w==="")return A;else if(V===w)return A;else if(C&&V==="-"+w)return A;else return I;if(W)if(w===V)return A;else if(C+w===V)return A;else return I;if(G===V)return A;else if(G===C+V)return A;return I}}else return I}}function jo4(I){if(I&&I.indexOf(".")!==-1){if(I=I.replace(/0+$/,""),I===".")I="0";else if(I[0]===".")I="0"+I;else if(I[I.length-1]===".")I=I.substr(0,I.length-1);return I}return I}BX0.exports=ho4});var XX0=Y((Yt9,VX0)=>{var ed1=nd1(),PL=CX0(),ko4=wX0(),xo4=mc(),Xt9="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,ed1.nameRegexp);class AX0{constructor(I){this.options=I,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:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=co4,this.parseXml=ao4,this.parseTextData=po4,this.resolveNameSpace=io4,this.buildAttributesMap=ro4,this.isItStopNode=eo4,this.replaceEntitiesValue=so4,this.readStopNodeData=Ie4,this.saveTextToParentTag=oo4}}function co4(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];this.lastEntities[Z]={regex:new RegExp("&"+Z+";","g"),val:I[Z]}}}function po4(I,d,G,Z,C,W,w){if(I!==void 0){if(this.options.trimValues&&!Z)I=I.trim();if(I.length>0){if(!w)I=this.replaceEntitiesValue(I);let B=this.options.tagValueProcessor(d,I,G,C,W);if(B===null||B===void 0)return I;else if(typeof B!==typeof I||B!==I)return B;else if(this.options.trimValues)return od1(I,this.options.parseTagValue,this.options.numberParseOptions);else if(I.trim()===I)return od1(I,this.options.parseTagValue,this.options.numberParseOptions);else return I}}}function io4(I){if(this.options.removeNSPrefix){let d=I.split(":"),G=I.charAt(0)==="/"?"/":"";if(d[0]==="xmlns")return"";if(d.length===2)I=G+d[1]}return I}var no4=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function ro4(I,d){if(!this.options.ignoreAttributes&&typeof I==="string"){let G=ed1.getAllMatches(I,no4),Z=G.length,C={};for(let W=0;W<Z;W++){let w=this.resolveNameSpace(G[W][1]),B=G[W][4],A=this.options.attributeNamePrefix+w;if(w.length){if(this.options.transformAttributeName)A=this.options.transformAttributeName(A);if(A==="__proto__")A="#__proto__";if(B!==void 0){if(this.options.trimValues)B=B.trim();B=this.replaceEntitiesValue(B);let V=this.options.attributeValueProcessor(w,B,d);if(V===null||V===void 0)C[A]=B;else if(typeof V!==typeof B||V!==B)C[A]=V;else C[A]=od1(B,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)C[A]=!0}}if(!Object.keys(C).length)return;if(this.options.attributesGroupName){let W={};return W[this.options.attributesGroupName]=C,W}return C}}var ao4=function(I){I=I.replace(/\r\n?/g,`
`);let d=new PL("!xml"),G=d,Z="",C="";for(let W=0;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="/"){let B=sg(I,">",W,"Closing Tag is not closed."),A=I.substring(W+2,B).trim();if(this.options.removeNSPrefix){let V=A.indexOf(":");if(V!==-1)A=A.substr(V+1)}if(this.options.transformTagName)A=this.options.transformTagName(A);if(G)Z=this.saveTextToParentTag(Z,G,C);C=C.substr(0,C.lastIndexOf(".")),G=this.tagsNodeStack.pop(),Z="",W=B}else if(I[W+1]==="?"){let B=sd1(I,W,!1,"?>");if(!B)throw new Error("Pi Tag is not closed.");if(Z=this.saveTextToParentTag(Z,G,C),this.options.ignoreDeclaration&&B.tagName==="?xml"||this.options.ignorePiTags);else{let A=new PL(B.tagName);if(A.add(this.options.textNodeName,""),B.tagName!==B.tagExp&&B.attrExpPresent)A[":@"]=this.buildAttributesMap(B.tagExp,C);G.addChild(A)}W=B.closeIndex+1}else if(I.substr(W+1,3)==="!--"){let B=sg(I,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){let A=I.substring(W+4,B-2);Z=this.saveTextToParentTag(Z,G,C),G.add(this.options.commentPropName,[{[this.options.textNodeName]:A}])}W=B}else if(I.substr(W+1,2)==="!D"){let B=ko4(I,W);this.docTypeEntities=B.entities,W=B.i}else if(I.substr(W+1,2)==="!["){let B=sg(I,"]]>",W,"CDATA is not closed.")-2,A=I.substring(W+9,B);if(Z=this.saveTextToParentTag(Z,G,C),this.options.cdataPropName)G.add(this.options.cdataPropName,[{[this.options.textNodeName]:A}]);else{let V=this.parseTextData(A,G.tagname,C,!0,!1,!0);if(V==null)V="";G.add(this.options.textNodeName,V)}W=B+2}else{let B=sd1(I,W,this.options.removeNSPrefix),A=B.tagName,V=B.tagExp,X=B.attrExpPresent,_=B.closeIndex;if(this.options.transformTagName)A=this.options.transformTagName(A);if(G&&Z){if(G.tagname!=="!xml")Z=this.saveTextToParentTag(Z,G,C,!1)}if(A!==d.tagname)C+=C?"."+A:A;let F=G;if(F&&this.options.unpairedTags.indexOf(F.tagname)!==-1)G=this.tagsNodeStack.pop();if(this.isItStopNode(this.options.stopNodes,C,A)){let g="";if(V.length>0&&V.lastIndexOf("/")===V.length-1)W=B.closeIndex;else if(this.options.unpairedTags.indexOf(A)!==-1)W=B.closeIndex;else{let K=this.readStopNodeData(I,A,_+1);if(!K)throw new Error(`Unexpected end of ${A}`);W=K.i,g=K.tagContent}let J=new PL(A);if(A!==V&&X)J[":@"]=this.buildAttributesMap(V,C);if(g)g=this.parseTextData(g,A,C,!0,X,!0,!0);C=C.substr(0,C.lastIndexOf(".")),J.add(this.options.textNodeName,g),G.addChild(J)}else{if(V.length>0&&V.lastIndexOf("/")===V.length-1){if(A[A.length-1]==="/")A=A.substr(0,A.length-1),V=A;else V=V.substr(0,V.length-1);if(this.options.transformTagName)A=this.options.transformTagName(A);let g=new PL(A);if(A!==V&&X)g[":@"]=this.buildAttributesMap(V,C);C=C.substr(0,C.lastIndexOf(".")),G.addChild(g)}else{let g=new PL(A);if(this.tagsNodeStack.push(G),A!==V&&X)g[":@"]=this.buildAttributesMap(V,C);G.addChild(g),G=g}Z="",W=_}}else Z+=I[W];return d.child},so4=function(I){if(this.options.processEntities){for(let d in this.docTypeEntities){let G=this.docTypeEntities[d];I=I.replace(G.regx,G.val)}for(let d in this.lastEntities){let G=this.lastEntities[d];I=I.replace(G.regex,G.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){let G=this.htmlEntities[d];I=I.replace(G.regex,G.val)}I=I.replace(this.ampEntity.regex,this.ampEntity.val)}return I};function oo4(I,d,G,Z){if(I){if(Z===void 0)Z=Object.keys(d.child).length===0;if(I=this.parseTextData(I,d.tagname,G,!1,d[":@"]?Object.keys(d[":@"]).length!==0:!1,Z),I!==void 0&&I!=="")d.add(this.options.textNodeName,I);I=""}return I}function eo4(I,d,G){let Z="*."+G;for(let C in I){let W=I[C];if(Z===W||d===W)return!0}return!1}function to4(I,d,G=">"){let Z,C="";for(let W=d;W<I.length;W++){let w=I[W];if(Z){if(w===Z)Z=""}else if(w==='"'||w==="'")Z=w;else if(w===G[0])if(G[1]){if(I[W+1]===G[1])return{data:C,index:W}}else return{data:C,index:W};else if(w==="\t")w=" ";C+=w}}function sg(I,d,G,Z){let C=I.indexOf(d,G);if(C===-1)throw new Error(Z);else return C+d.length-1}function sd1(I,d,G,Z=">"){let C=to4(I,d+1,Z);if(!C)return;let{data:W,index:w}=C,B=W.search(/\s/),A=W,V=!0;if(B!==-1)A=W.substr(0,B).replace(/\s\s*$/,""),W=W.substr(B+1);if(G){let X=A.indexOf(":");if(X!==-1)A=A.substr(X+1),V=A!==C.data.substr(X+1)}return{tagName:A,tagExp:W,closeIndex:w,attrExpPresent:V}}function Ie4(I,d,G){let Z=G,C=1;for(;G<I.length;G++)if(I[G]==="<")if(I[G+1]==="/"){let W=sg(I,">",G,`${d} is not closed`);if(I.substring(G+2,W).trim()===d){if(C--,C===0)return{tagContent:I.substring(Z,G),i:W}}G=W}else if(I[G+1]==="?")G=sg(I,"?>",G+1,"StopNode is not closed.");else if(I.substr(G+1,3)==="!--")G=sg(I,"-->",G+3,"StopNode is not closed.");else if(I.substr(G+1,2)==="![")G=sg(I,"]]>",G,"StopNode is not closed.")-2;else{let W=sd1(I,G,">");if(W){if((W&&W.tagName)===d&&W.tagExp[W.tagExp.length-1]!=="/")C++;G=W.closeIndex}}}function od1(I,d,G){if(d&&typeof I==="string"){let Z=I.trim();if(Z==="true")return!0;else if(Z==="false")return!1;else return xo4(I,G)}else if(ed1.isExist(I))return I;else return""}VX0.exports=AX0});var _X0=Y((We4)=>{function de4(I,d){return YX0(I,d)}function YX0(I,d,G){let Z,C={};for(let W=0;W<I.length;W++){let w=I[W],B=Ge4(w),A="";if(G===void 0)A=B;else A=G+"."+B;if(B===d.textNodeName)if(Z===void 0)Z=w[B];else Z+=""+w[B];else if(B===void 0)continue;else if(w[B]){let V=YX0(w[B],d,A),X=Ce4(V,d);if(w[":@"])Ze4(V,w[":@"],A,d);else if(Object.keys(V).length===1&&V[d.textNodeName]!==void 0&&!d.alwaysCreateTextNode)V=V[d.textNodeName];else if(Object.keys(V).length===0)if(d.alwaysCreateTextNode)V[d.textNodeName]="";else V="";if(C[B]!==void 0&&C.hasOwnProperty(B)){if(!Array.isArray(C[B]))C[B]=[C[B]];C[B].push(V)}else if(d.isArray(B,A,X))C[B]=[V];else C[B]=V}}if(typeof Z==="string"){if(Z.length>0)C[d.textNodeName]=Z}else if(Z!==void 0)C[d.textNodeName]=Z;return C}function Ge4(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function Ze4(I,d,G,Z){if(d){let C=Object.keys(d),W=C.length;for(let w=0;w<W;w++){let B=C[w];if(Z.isArray(B,G+"."+B,!0,!0))I[B]=[d[B]];else I[B]=d[B]}}}function Ce4(I,d){let G=Object.keys(I).length;if(G===0||G===1&&I[d.textNodeName])return!0;return!1}We4.prettify=de4});var FX0=Y((Dt9,HX0)=>{var{buildOptions:Be4}=dX0(),Ae4=XX0(),{prettify:Ve4}=_X0(),Xe4=ad1();class DX0{constructor(I){this.externalEntities={},this.options=Be4(I)}parse(I,d){if(typeof I==="string");else if(I.toString)I=I.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(d){if(d===!0)d={};let C=Xe4.validate(I,d);if(C!==!0)throw Error(`${C.err.msg}:${C.err.line}:${C.err.col}`)}let G=new Ae4(this.options);G.addExternalEntities(this.externalEntities);let Z=G.parseXml(I);if(this.options.preserveOrder||Z===void 0)return Z;else return Ve4(Z,this.options)}addEntity(I,d){if(d.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if(I.indexOf("&")!==-1||I.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");else if(d==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[I]=d}}HX0.exports=DX0});var zX0=Y((Ht9,NX0)=>{function Ye4(I,d){let G="";if(d.format&&d.indentBy.length>0)G=`
`;return JX0(I,d,"",G)}function JX0(I,d,G,Z){let C="",W=!1;for(let w=0;w<I.length;w++){let B=I[w],A=_e4(B),V="";if(G.length===0)V=A;else V=`${G}.${A}`;if(A===d.textNodeName){let J=B[A];if(!De4(V,d))J=d.tagValueProcessor(A,J),J=KX0(J,d);if(W)C+=Z;C+=J,W=!1;continue}else if(A===d.cdataPropName){if(W)C+=Z;C+=`<![CDATA[${B[A][0][d.textNodeName]}]]>`,W=!1;continue}else if(A===d.commentPropName){C+=Z+`<!--${B[A][0][d.textNodeName]}-->`,W=!0;continue}else if(A[0]==="?"){let J=gX0(B[":@"],d),K=A==="?xml"?"":Z,Q=B[A][0][d.textNodeName];Q=Q.length!==0?" "+Q:"",C+=K+`<${A}${Q}${J}?>`,W=!0;continue}let X=Z;if(X!=="")X+=d.indentBy;let _=gX0(B[":@"],d),F=Z+`<${A}${_}`,g=JX0(B[A],d,V,X);if(d.unpairedTags.indexOf(A)!==-1)if(d.suppressUnpairedNode)C+=F+">";else C+=F+"/>";else if((!g||g.length===0)&&d.suppressEmptyNode)C+=F+"/>";else if(g&&g.endsWith(">"))C+=F+`>${g}${Z}</${A}>`;else{if(C+=F+">",g&&Z!==""&&(g.includes("/>")||g.includes("</")))C+=Z+d.indentBy+g+Z;else C+=g;C+=`</${A}>`}W=!0}return C}function _e4(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function gX0(I,d){let G="";if(I&&!d.ignoreAttributes)for(let Z in I){let C=d.attributeValueProcessor(Z,I[Z]);if(C=KX0(C,d),C===!0&&d.suppressBooleanAttributes)G+=` ${Z.substr(d.attributeNamePrefix.length)}`;else G+=` ${Z.substr(d.attributeNamePrefix.length)}="${C}"`}return G}function De4(I,d){I=I.substr(0,I.length-d.textNodeName.length-1);let G=I.substr(I.lastIndexOf(".")+1);for(let Z in d.stopNodes)if(d.stopNodes[Z]===I||d.stopNodes[Z]==="*."+G)return!0;return!1}function KX0(I,d){if(I&&I.length>0&&d.processEntities)for(let G=0;G<d.entities.length;G++){let Z=d.entities[G];I=I.replace(Z.regex,Z.val)}return I}NX0.exports=Ye4});var fX0=Y((Ft9,QX0)=>{var He4=zX0(),Fe4={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(I,d){return d},attributeValueProcessor:function(I,d){return d},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:[]};function O_(I){if(this.options=Object.assign({},Fe4,I),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ke4;if(this.processTextOrObjNode=ge4,this.options.format)this.indentate=Je4,this.tagEndChar=`>
`,this.newLine=`
`;else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""}O_.prototype.build=function(I){if(this.options.preserveOrder)return He4(I,this.options);else{if(Array.isArray(I)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)I={[this.options.arrayNodeName]:I};return this.j2x(I,0).val}};O_.prototype.j2x=function(I,d){let G="",Z="";for(let C in I)if(typeof I[C]==="undefined");else if(I[C]===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(I[C]instanceof Date)Z+=this.buildTextValNode(I[C],C,"",d);else if(typeof I[C]!=="object"){let W=this.isAttribute(C);if(W)G+=this.buildAttrPairStr(W,""+I[C]);else if(C===this.options.textNodeName){let w=this.options.tagValueProcessor(C,""+I[C]);Z+=this.replaceEntitiesValue(w)}else Z+=this.buildTextValNode(I[C],C,"",d)}else if(Array.isArray(I[C])){let W=I[C].length;for(let w=0;w<W;w++){let B=I[C][w];if(typeof B==="undefined");else if(B===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(typeof B==="object")Z+=this.processTextOrObjNode(B,C,d);else Z+=this.buildTextValNode(B,C,"",d)}}else if(this.options.attributesGroupName&&C===this.options.attributesGroupName){let W=Object.keys(I[C]),w=W.length;for(let B=0;B<w;B++)G+=this.buildAttrPairStr(W[B],""+I[C][W[B]])}else Z+=this.processTextOrObjNode(I[C],C,d);return{attrStr:G,val:Z}};O_.prototype.buildAttrPairStr=function(I,d){if(d=this.options.attributeValueProcessor(I,""+d),d=this.replaceEntitiesValue(d),this.options.suppressBooleanAttributes&&d==="true")return" "+I;else return" "+I+'="'+d+'"'};function ge4(I,d,G){let Z=this.j2x(I,G+1);if(I[this.options.textNodeName]!==void 0&&Object.keys(I).length===1)return this.buildTextValNode(I[this.options.textNodeName],d,Z.attrStr,G);else return this.buildObjectNode(Z.val,d,Z.attrStr,G)}O_.prototype.buildObjectNode=function(I,d,G,Z){if(I==="")if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else{let C="</"+d+this.tagEndChar,W="";if(d[0]==="?")W="?",C="";if(G&&I.indexOf("<")===-1)return this.indentate(Z)+"<"+d+G+W+">"+I+C;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName&&W.length===0)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else return this.indentate(Z)+"<"+d+G+W+this.tagEndChar+I+this.indentate(Z)+C}};O_.prototype.closeTag=function(I){let d="";if(this.options.unpairedTags.indexOf(I)!==-1){if(!this.options.suppressUnpairedNode)d="/"}else if(this.options.suppressEmptyNode)d="/";else d=`></${I}`;return d};O_.prototype.buildTextValNode=function(I,d,G,Z){if(this.options.cdataPropName!==!1&&d===this.options.cdataPropName)return this.indentate(Z)+`<![CDATA[${I}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else{let C=this.options.tagValueProcessor(d,I);if(C=this.replaceEntitiesValue(C),C==="")return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+">"+C+"</"+d+this.tagEndChar}};O_.prototype.replaceEntitiesValue=function(I){if(I&&I.length>0&&this.options.processEntities)for(let d=0;d<this.options.entities.length;d++){let G=this.options.entities[d];I=I.replace(G.regex,G.val)}return I};function Je4(I){return this.options.indentBy.repeat(I)}function Ke4(I){if(I.startsWith(this.options.attributeNamePrefix))return I.substr(this.attrPrefixLen);else return!1}QX0.exports=O_});var RX0=Y((gt9,qX0)=>{var Ne4=ad1(),ze4=FX0(),Qe4=fX0();qX0.exports={XMLParser:ze4,XMLValidator:Ne4,XMLBuilder:Qe4}});var fV=Y((MX0)=>{Object.defineProperty(MX0,"__esModule",{value:!0});MX0.de_GetSessionTokenCommand=MX0.de_GetFederationTokenCommand=MX0.de_GetCallerIdentityCommand=MX0.de_GetAccessKeyInfoCommand=MX0.de_DecodeAuthorizationMessageCommand=MX0.de_AssumeRoleWithWebIdentityCommand=MX0.de_AssumeRoleWithSAMLCommand=MX0.de_AssumeRoleCommand=MX0.se_GetSessionTokenCommand=MX0.se_GetFederationTokenCommand=MX0.se_GetCallerIdentityCommand=MX0.se_GetAccessKeyInfoCommand=MX0.se_DecodeAuthorizationMessageCommand=MX0.se_AssumeRoleWithWebIdentityCommand=MX0.se_AssumeRoleWithSAMLCommand=MX0.se_AssumeRoleCommand=void 0;var e2=v0(),fe4=Oc(),qe4=RX0(),m_=T_(),Re4=uc(),Ue4=async(I,d)=>{let G=h_,Z;return Z=k_({...oe4(I,d),Action:"AssumeRole",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_AssumeRoleCommand=Ue4;var ve4=async(I,d)=>{let G=h_,Z;return Z=k_({...ee4(I,d),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_AssumeRoleWithSAMLCommand=ve4;var Ee4=async(I,d)=>{let G=h_,Z;return Z=k_({...te4(I,d),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_AssumeRoleWithWebIdentityCommand=Ee4;var Me4=async(I,d)=>{let G=h_,Z;return Z=k_({...It4(I,d),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_DecodeAuthorizationMessageCommand=Me4;var Se4=async(I,d)=>{let G=h_,Z;return Z=k_({...dt4(I,d),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_GetAccessKeyInfoCommand=Se4;var Le4=async(I,d)=>{let G=h_,Z;return Z=k_({...Gt4(I,d),Action:"GetCallerIdentity",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_GetCallerIdentityCommand=Le4;var ye4=async(I,d)=>{let G=h_,Z;return Z=k_({...Zt4(I,d),Action:"GetFederationToken",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_GetFederationTokenCommand=ye4;var Pe4=async(I,d)=>{let G=h_,Z;return Z=k_({...Ct4(I,d),Action:"GetSessionToken",Version:"2011-06-15"}),b_(d,G,"/",void 0,Z)};MX0.se_GetSessionTokenCommand=Pe4;var $e4=async(I,d)=>{if(I.statusCode>=300)return ue4(I,d);let G=await QV(I.body,d),Z={};return Z=At4(G.AssumeRoleResult,d),{$metadata:y7(I),...Z}};MX0.de_AssumeRoleCommand=$e4;var ue4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await td1(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await lc(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await bc(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await $L(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},Te4=async(I,d)=>{if(I.statusCode>=300)return Oe4(I,d);let G=await QV(I.body,d),Z={};return Z=Vt4(G.AssumeRoleWithSAMLResult,d),{$metadata:y7(I),...Z}};MX0.de_AssumeRoleWithSAMLCommand=Te4;var Oe4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await td1(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await UX0(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await vX0(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await lc(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await bc(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await $L(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},me4=async(I,d)=>{if(I.statusCode>=300)return le4(I,d);let G=await QV(I.body,d),Z={};return Z=Xt4(G.AssumeRoleWithWebIdentityResult,d),{$metadata:y7(I),...Z}};MX0.de_AssumeRoleWithWebIdentityCommand=me4;var le4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await td1(G,d);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await ae4(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await UX0(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await vX0(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await lc(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await bc(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await $L(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},be4=async(I,d)=>{if(I.statusCode>=300)return he4(I,d);let G=await QV(I.body,d),Z={};return Z=Yt4(G.DecodeAuthorizationMessageResult,d),{$metadata:y7(I),...Z}};MX0.de_DecodeAuthorizationMessageCommand=be4;var he4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await se4(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},je4=async(I,d)=>{if(I.statusCode>=300)return ke4(I,d);let G=await QV(I.body,d),Z={};return Z=Ht4(G.GetAccessKeyInfoResult,d),{$metadata:y7(I),...Z}};MX0.de_GetAccessKeyInfoCommand=je4;var ke4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body),C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})},xe4=async(I,d)=>{if(I.statusCode>=300)return ce4(I,d);let G=await QV(I.body,d),Z={};return Z=Ft4(G.GetCallerIdentityResult,d),{$metadata:y7(I),...Z}};MX0.de_GetCallerIdentityCommand=xe4;var ce4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body),C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})},pe4=async(I,d)=>{if(I.statusCode>=300)return ie4(I,d);let G=await QV(I.body,d),Z={};return Z=gt4(G.GetFederationTokenResult,d),{$metadata:y7(I),...Z}};MX0.de_GetFederationTokenCommand=pe4;var ie4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await lc(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await bc(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await $L(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},ne4=async(I,d)=>{if(I.statusCode>=300)return re4(I,d);let G=await QV(I.body,d),Z={};return Z=Jt4(G.GetSessionTokenResult,d),{$metadata:y7(I),...Z}};MX0.de_GetSessionTokenCommand=ne4;var re4=async(I,d)=>{let G={...I,body:await j_(I.body,d)},Z=x_(I,G.body);switch(Z){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await $L(G,d);default:let C=G.body;return l_({output:I,parsedBody:C.Error,errorCode:Z})}},td1=async(I,d)=>{let G=I.body,Z=_t4(G.Error,d),C=new m_.ExpiredTokenException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},ae4=async(I,d)=>{let G=I.body,Z=Kt4(G.Error,d),C=new m_.IDPCommunicationErrorException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},UX0=async(I,d)=>{let G=I.body,Z=Nt4(G.Error,d),C=new m_.IDPRejectedClaimException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},se4=async(I,d)=>{let G=I.body,Z=zt4(G.Error,d),C=new m_.InvalidAuthorizationMessageException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},vX0=async(I,d)=>{let G=I.body,Z=Qt4(G.Error,d),C=new m_.InvalidIdentityTokenException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},lc=async(I,d)=>{let G=I.body,Z=ft4(G.Error,d),C=new m_.MalformedPolicyDocumentException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},bc=async(I,d)=>{let G=I.body,Z=qt4(G.Error,d),C=new m_.PackedPolicyTooLargeException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},$L=async(I,d)=>{let G=I.body,Z=Rt4(G.Error,d),C=new m_.RegionDisabledException({$metadata:y7(I),...Z});return e2.decorateServiceException(C,G)},oe4=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.PolicyArns!=null){let Z=hc(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=EX0(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}if(I.TransitiveTagKeys!=null){let Z=Bt4(I.TransitiveTagKeys,d);if(I.TransitiveTagKeys?.length===0)G.TransitiveTagKeys=[];Object.entries(Z).forEach(([C,W])=>{let w=`TransitiveTagKeys.${C}`;G[w]=W})}if(I.ExternalId!=null)G.ExternalId=I.ExternalId;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;if(I.SourceIdentity!=null)G.SourceIdentity=I.SourceIdentity;return G},ee4=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.PrincipalArn!=null)G.PrincipalArn=I.PrincipalArn;if(I.SAMLAssertion!=null)G.SAMLAssertion=I.SAMLAssertion;if(I.PolicyArns!=null){let Z=hc(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},te4=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.WebIdentityToken!=null)G.WebIdentityToken=I.WebIdentityToken;if(I.ProviderId!=null)G.ProviderId=I.ProviderId;if(I.PolicyArns!=null){let Z=hc(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},It4=(I,d)=>{let G={};if(I.EncodedMessage!=null)G.EncodedMessage=I.EncodedMessage;return G},dt4=(I,d)=>{let G={};if(I.AccessKeyId!=null)G.AccessKeyId=I.AccessKeyId;return G},Gt4=(I,d)=>{return{}},Zt4=(I,d)=>{let G={};if(I.Name!=null)G.Name=I.Name;if(I.Policy!=null)G.Policy=I.Policy;if(I.PolicyArns!=null){let Z=hc(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=EX0(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}return G},Ct4=(I,d)=>{let G={};if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;return G},hc=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=Wt4(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},Wt4=(I,d)=>{let G={};if(I.arn!=null)G.arn=I.arn;return G},wt4=(I,d)=>{let G={};if(I.Key!=null)G.Key=I.Key;if(I.Value!=null)G.Value=I.Value;return G},Bt4=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;G[`member.${Z}`]=C,Z++}return G},EX0=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=wt4(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},IG1=(I,d)=>{let G={};if(I.AssumedRoleId!==void 0)G.AssumedRoleId=e2.expectString(I.AssumedRoleId);if(I.Arn!==void 0)G.Arn=e2.expectString(I.Arn);return G},At4=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=uL(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=IG1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=e2.strictParseInt32(I.PackedPolicySize);if(I.SourceIdentity!==void 0)G.SourceIdentity=e2.expectString(I.SourceIdentity);return G},Vt4=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=uL(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=IG1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=e2.strictParseInt32(I.PackedPolicySize);if(I.Subject!==void 0)G.Subject=e2.expectString(I.Subject);if(I.SubjectType!==void 0)G.SubjectType=e2.expectString(I.SubjectType);if(I.Issuer!==void 0)G.Issuer=e2.expectString(I.Issuer);if(I.Audience!==void 0)G.Audience=e2.expectString(I.Audience);if(I.NameQualifier!==void 0)G.NameQualifier=e2.expectString(I.NameQualifier);if(I.SourceIdentity!==void 0)G.SourceIdentity=e2.expectString(I.SourceIdentity);return G},Xt4=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=uL(I.Credentials,d);if(I.SubjectFromWebIdentityToken!==void 0)G.SubjectFromWebIdentityToken=e2.expectString(I.SubjectFromWebIdentityToken);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=IG1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=e2.strictParseInt32(I.PackedPolicySize);if(I.Provider!==void 0)G.Provider=e2.expectString(I.Provider);if(I.Audience!==void 0)G.Audience=e2.expectString(I.Audience);if(I.SourceIdentity!==void 0)G.SourceIdentity=e2.expectString(I.SourceIdentity);return G},uL=(I,d)=>{let G={};if(I.AccessKeyId!==void 0)G.AccessKeyId=e2.expectString(I.AccessKeyId);if(I.SecretAccessKey!==void 0)G.SecretAccessKey=e2.expectString(I.SecretAccessKey);if(I.SessionToken!==void 0)G.SessionToken=e2.expectString(I.SessionToken);if(I.Expiration!==void 0)G.Expiration=e2.expectNonNull(e2.parseRfc3339DateTimeWithOffset(I.Expiration));return G},Yt4=(I,d)=>{let G={};if(I.DecodedMessage!==void 0)G.DecodedMessage=e2.expectString(I.DecodedMessage);return G},_t4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},Dt4=(I,d)=>{let G={};if(I.FederatedUserId!==void 0)G.FederatedUserId=e2.expectString(I.FederatedUserId);if(I.Arn!==void 0)G.Arn=e2.expectString(I.Arn);return G},Ht4=(I,d)=>{let G={};if(I.Account!==void 0)G.Account=e2.expectString(I.Account);return G},Ft4=(I,d)=>{let G={};if(I.UserId!==void 0)G.UserId=e2.expectString(I.UserId);if(I.Account!==void 0)G.Account=e2.expectString(I.Account);if(I.Arn!==void 0)G.Arn=e2.expectString(I.Arn);return G},gt4=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=uL(I.Credentials,d);if(I.FederatedUser!==void 0)G.FederatedUser=Dt4(I.FederatedUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=e2.strictParseInt32(I.PackedPolicySize);return G},Jt4=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=uL(I.Credentials,d);return G},Kt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},Nt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},zt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},Qt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},ft4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},qt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},Rt4=(I,d)=>{let G={};if(I.message!==void 0)G.message=e2.expectString(I.message);return G},y7=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),Ut4=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},vt4=(I,d)=>Ut4(I,d).then((G)=>d.utf8Encoder(G)),l_=e2.withBaseException(Re4.STSServiceException),b_=async(I,d,G,Z,C)=>{let{hostname:W,protocol:w="https",port:B,path:A}=await I.endpoint(),V={protocol:w,hostname:W,port:B,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+G:A+G,headers:d};if(Z!==void 0)V.hostname=Z;if(C!==void 0)V.body=C;return new fe4.HttpRequest(V)},h_={"content-type":"application/x-www-form-urlencoded"},QV=(I,d)=>vt4(I,d).then((G)=>{if(G.length){let Z=new qe4.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(A,V)=>V.trim()===""&&V.includes(`
`)?"":void 0});Z.addEntity("#xD","\r"),Z.addEntity("#10",`
`);let C=Z.parse(G),W="#text",w=Object.keys(C)[0],B=C[w];if(B[W])B[w]=B[W],delete B[W];return e2.getValueFromTextNode(B)}return{}}),j_=async(I,d)=>{let G=await QV(I,d);if(G.Error)G.Error.message=G.Error.message??G.Error.Message;return G},k_=(I)=>Object.entries(I).map(([d,G])=>e2.extendedEncodeURIComponent(d)+"="+e2.extendedEncodeURIComponent(G)).join("&"),x_=(I,d)=>{if(d.Error?.Code!==void 0)return d.Error.Code;if(I.statusCode==404)return"NotFound"}});var jc=Y((GG1)=>{Object.defineProperty(GG1,"__esModule",{value:!0});GG1.AssumeRoleCommand=GG1.$Command=void 0;var kt4=u2(),xt4=r2(),ct4=A9(),yX0=v0();Object.defineProperty(GG1,"$Command",{enumerable:!0,get:function(){return yX0.Command}});var pt4=T_(),LX0=fV();class dG1 extends yX0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(xt4.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(kt4.getEndpointPlugin(d,dG1.getEndpointParameterInstructions())),this.middlewareStack.use(ct4.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:pt4.AssumeRoleResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return LX0.se_AssumeRoleCommand(I,d)}deserialize(I,d){return LX0.de_AssumeRoleCommand(I,d)}}GG1.AssumeRoleCommand=dG1});var kc=Y((CG1)=>{Object.defineProperty(CG1,"__esModule",{value:!0});CG1.AssumeRoleWithWebIdentityCommand=CG1.$Command=void 0;var it4=u2(),nt4=r2(),TX0=v0();Object.defineProperty(CG1,"$Command",{enumerable:!0,get:function(){return TX0.Command}});var $X0=T_(),uX0=fV();class ZG1 extends TX0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(nt4.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(it4.getEndpointPlugin(d,ZG1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:$X0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:$X0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return uX0.se_AssumeRoleWithWebIdentityCommand(I,d)}deserialize(I,d){return uX0.de_AssumeRoleWithWebIdentityCommand(I,d)}}CG1.AssumeRoleWithWebIdentityCommand=ZG1});var WG1=Y((bX0)=>{Object.defineProperty(bX0,"__esModule",{value:!0});bX0.decorateDefaultCredentialProvider=bX0.getDefaultRoleAssumerWithWebIdentity=bX0.getDefaultRoleAssumer=void 0;var rt4=jc(),at4=kc(),mX0="us-east-1",lX0=(I)=>{if(typeof I!=="function")return I===void 0?mX0:I;return async()=>{try{return await I()}catch(d){return mX0}}},st4=(I,d)=>{let G,Z;return async(C,W)=>{if(Z=C,!G){let{logger:B,region:A,requestHandler:V}=I;G=new d({logger:B,credentialDefaultProvider:()=>async()=>Z,region:lX0(A||I.region),...V?{requestHandler:V}:{}})}let{Credentials:w}=await G.send(new rt4.AssumeRoleCommand(W));if(!w||!w.AccessKeyId||!w.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${W.RoleArn}`);return{accessKeyId:w.AccessKeyId,secretAccessKey:w.SecretAccessKey,sessionToken:w.SessionToken,expiration:w.Expiration}}};bX0.getDefaultRoleAssumer=st4;var ot4=(I,d)=>{let G;return async(Z)=>{if(!G){let{logger:W,region:w,requestHandler:B}=I;G=new d({logger:W,region:lX0(w||I.region),...B?{requestHandler:B}:{}})}let{Credentials:C}=await G.send(new at4.AssumeRoleWithWebIdentityCommand(Z));if(!C||!C.AccessKeyId||!C.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${Z.RoleArn}`);return{accessKeyId:C.AccessKeyId,secretAccessKey:C.SecretAccessKey,sessionToken:C.SessionToken,expiration:C.Expiration}}};bX0.getDefaultRoleAssumerWithWebIdentity=ot4;var et4=(I)=>(d)=>I({roleAssumer:bX0.getDefaultRoleAssumer(d,d.stsClientCtor),roleAssumerWithWebIdentity:bX0.getDefaultRoleAssumerWithWebIdentity(d,d.stsClientCtor),...d});bX0.decorateDefaultCredentialProvider=et4});var aX0=Y((xX0)=>{Object.defineProperty(xX0,"__esModule",{value:!0});xX0.fromEnv=xX0.ENV_EXPIRATION=xX0.ENV_SESSION=xX0.ENV_SECRET=xX0.ENV_KEY=void 0;var tt4=W4();xX0.ENV_KEY="AWS_ACCESS_KEY_ID";xX0.ENV_SECRET="AWS_SECRET_ACCESS_KEY";xX0.ENV_SESSION="AWS_SESSION_TOKEN";xX0.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var I15=()=>async()=>{let I=process.env[xX0.ENV_KEY],d=process.env[xX0.ENV_SECRET],G=process.env[xX0.ENV_SESSION],Z=process.env[xX0.ENV_EXPIRATION];if(I&&d)return{accessKeyId:I,secretAccessKey:d,...G&&{sessionToken:G},...Z&&{expiration:new Date(Z)}};throw new tt4.CredentialsProviderError("Unable to find environment variable credentials.")};xX0.fromEnv=I15});var BG1=Y((wG1)=>{Object.defineProperty(wG1,"__esModule",{value:!0});var d15=x1();d15.__exportStar(aX0(),wG1)});var TL=Y((sX0)=>{Object.defineProperty(sX0,"__esModule",{value:!0});sX0.getHomeDir=void 0;var G15=B1("os"),Z15=B1("path"),C15=()=>{let{HOME:I,USERPROFILE:d,HOMEPATH:G,HOMEDRIVE:Z=`C:${Z15.sep}`}=process.env;if(I)return I;if(d)return d;if(G)return`${Z}${G}`;return G15.homedir()};sX0.getHomeDir=C15});var GY0=Y((eX0)=>{Object.defineProperty(eX0,"__esModule",{value:!0});eX0.getProfileName=eX0.DEFAULT_PROFILE=eX0.ENV_PROFILE=void 0;eX0.ENV_PROFILE="AWS_PROFILE";eX0.DEFAULT_PROFILE="default";var W15=(I)=>I.profile||process.env[eX0.ENV_PROFILE]||eX0.DEFAULT_PROFILE;eX0.getProfileName=W15});var AG1=Y((ZY0)=>{Object.defineProperty(ZY0,"__esModule",{value:!0});ZY0.getSSOTokenFilepath=void 0;var w15=B1("crypto"),B15=B1("path"),A15=TL(),V15=(I)=>{let G=w15.createHash("sha1").update(I).digest("hex");return B15.join(A15.getHomeDir(),".aws","sso","cache",`${G}.json`)};ZY0.getSSOTokenFilepath=V15});var BY0=Y((WY0)=>{Object.defineProperty(WY0,"__esModule",{value:!0});WY0.getSSOTokenFromFile=void 0;var X15=B1("fs"),Y15=AG1(),{readFile:_15}=X15.promises,D15=async(I)=>{let d=Y15.getSSOTokenFilepath(I),G=await _15(d,"utf8");return JSON.parse(G)};WY0.getSSOTokenFromFile=D15});var VG1=Y((AY0)=>{Object.defineProperty(AY0,"__esModule",{value:!0});AY0.getConfigFilepath=AY0.ENV_CONFIG_PATH=void 0;var H15=B1("path"),F15=TL();AY0.ENV_CONFIG_PATH="AWS_CONFIG_FILE";var g15=()=>process.env[AY0.ENV_CONFIG_PATH]||H15.join(F15.getHomeDir(),".aws","config");AY0.getConfigFilepath=g15});var HY0=Y((YY0)=>{Object.defineProperty(YY0,"__esModule",{value:!0});YY0.getCredentialsFilepath=YY0.ENV_CREDENTIALS_PATH=void 0;var J15=B1("path"),K15=TL();YY0.ENV_CREDENTIALS_PATH="AWS_SHARED_CREDENTIALS_FILE";var N15=()=>process.env[YY0.ENV_CREDENTIALS_PATH]||J15.join(K15.getHomeDir(),".aws","credentials");YY0.getCredentialsFilepath=N15});var KY0=Y((gY0)=>{Object.defineProperty(gY0,"__esModule",{value:!0});gY0.getProfileData=void 0;var FY0=/^profile\s(["'])?([^\1]+)\1$/,z15=(I)=>Object.entries(I).filter(([d])=>FY0.test(d)).reduce((d,[G,Z])=>({...d,[FY0.exec(G)[2]]:Z}),{...I.default&&{default:I.default}});gY0.getProfileData=z15});var XG1=Y((NY0)=>{Object.defineProperty(NY0,"__esModule",{value:!0});NY0.parseIni=void 0;var Q15=["__proto__","profile __proto__"],f15=(I)=>{let d={},G;for(let Z of I.split(/\r?\n/))if(Z=Z.split(/(^|\s)[;#]/)[0].trim(),Z[0]==="["&&Z[Z.length-1]==="]"){if(G=Z.substring(1,Z.length-1),Q15.includes(G))throw new Error(`Found invalid profile name "${G}"`)}else if(G){let W=Z.indexOf("="),w=0,B=Z.length-1;if(W!==-1&&W!==0&&W!==B){let[V,X]=[Z.substring(0,W).trim(),Z.substring(W+1).trim()];d[G]=d[G]||{},d[G][V]=X}}return d};NY0.parseIni=f15});var _G1=Y((QY0)=>{Object.defineProperty(QY0,"__esModule",{value:!0});QY0.slurpFile=void 0;var q15=B1("fs"),{readFile:R15}=q15.promises,YG1={},U15=(I,d)=>{if(!YG1[I]||(d===null||d===void 0?void 0:d.ignoreCache))YG1[I]=R15(I,"utf8");return YG1[I]};QY0.slurpFile=U15});var DG1=Y((vY0)=>{Object.defineProperty(vY0,"__esModule",{value:!0});vY0.loadSharedConfigFiles=void 0;var v15=VG1(),E15=HY0(),M15=KY0(),qY0=XG1(),RY0=_G1(),UY0=()=>({}),S15=async(I={})=>{let{filepath:d=E15.getCredentialsFilepath(),configFilepath:G=v15.getConfigFilepath()}=I,Z=await Promise.all([RY0.slurpFile(G,{ignoreCache:I.ignoreCache}).then(qY0.parseIni).then(M15.getProfileData).catch(UY0),RY0.slurpFile(d,{ignoreCache:I.ignoreCache}).then(qY0.parseIni).catch(UY0)]);return{configFile:Z[0],credentialsFile:Z[1]}};vY0.loadSharedConfigFiles=S15});var yY0=Y((SY0)=>{Object.defineProperty(SY0,"__esModule",{value:!0});SY0.getSsoSessionData=void 0;var MY0=/^sso-session\s(["'])?([^\1]+)\1$/,L15=(I)=>Object.entries(I).filter(([d])=>MY0.test(d)).reduce((d,[G,Z])=>({...d,[MY0.exec(G)[2]]:Z}),{});SY0.getSsoSessionData=L15});var uY0=Y((PY0)=>{Object.defineProperty(PY0,"__esModule",{value:!0});PY0.loadSsoSessionData=void 0;var y15=VG1(),P15=yY0(),$15=XG1(),u15=_G1(),T15=()=>({}),O15=async(I={})=>{var d;return u15.slurpFile((d=I.configFilepath)!==null&&d!==void 0?d:y15.getConfigFilepath()).then($15.parseIni).then(P15.getSsoSessionData).catch(T15)};PY0.loadSsoSessionData=O15});var mY0=Y((TY0)=>{Object.defineProperty(TY0,"__esModule",{value:!0});TY0.mergeConfigFiles=void 0;var m15=(...I)=>{let d={};for(let G of I)for(let[Z,C]of Object.entries(G))if(d[Z]!==void 0)Object.assign(d[Z],C);else d[Z]=C;return d};TY0.mergeConfigFiles=m15});var hY0=Y((lY0)=>{Object.defineProperty(lY0,"__esModule",{value:!0});lY0.parseKnownFiles=void 0;var l15=DG1(),b15=mY0(),h15=async(I)=>{let d=await l15.loadSharedConfigFiles(I);return b15.mergeConfigFiles(d.configFile,d.credentialsFile)};lY0.parseKnownFiles=h15});var kY0=Y((jY0)=>{Object.defineProperty(jY0,"__esModule",{value:!0})});var K8=Y((ow)=>{Object.defineProperty(ow,"__esModule",{value:!0});var c_=x1();c_.__exportStar(TL(),ow);c_.__exportStar(GY0(),ow);c_.__exportStar(AG1(),ow);c_.__exportStar(BY0(),ow);c_.__exportStar(DG1(),ow);c_.__exportStar(uY0(),ow);c_.__exportStar(hY0(),ow);c_.__exportStar(kY0(),ow)});var xc=Y((xY0)=>{Object.defineProperty(xY0,"__esModule",{value:!0});xY0.httpRequest=void 0;var HG1=W4(),j15=B1("buffer"),k15=B1("http");function x15(I){return new Promise((d,G)=>{var Z;let C=k15.request({method:"GET",...I,hostname:(Z=I.hostname)===null||Z===void 0?void 0:Z.replace(/^\[(.+)\]$/,"$1")});C.on("error",(W)=>{G(Object.assign(new HG1.ProviderError("Unable to connect to instance metadata service"),W)),C.destroy()}),C.on("timeout",()=>{G(new HG1.ProviderError("TimeoutError from instance metadata service")),C.destroy()}),C.on("response",(W)=>{let{statusCode:w=400}=W;if(w<200||300<=w)G(Object.assign(new HG1.ProviderError("Error response received from instance metadata service"),{statusCode:w})),C.destroy();let B=[];W.on("data",(A)=>{B.push(A)}),W.on("end",()=>{d(j15.Buffer.concat(B)),C.destroy()})}),C.end()})}xY0.httpRequest=x15});var FG1=Y((pY0)=>{Object.defineProperty(pY0,"__esModule",{value:!0});pY0.fromImdsCredentials=pY0.isImdsCredentials=void 0;var c15=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.AccessKeyId==="string"&&typeof I.SecretAccessKey==="string"&&typeof I.Token==="string"&&typeof I.Expiration==="string";pY0.isImdsCredentials=c15;var p15=(I)=>({accessKeyId:I.AccessKeyId,secretAccessKey:I.SecretAccessKey,sessionToken:I.Token,expiration:new Date(I.Expiration)});pY0.fromImdsCredentials=p15});var cc=Y((nY0)=>{Object.defineProperty(nY0,"__esModule",{value:!0});nY0.providerConfigFromInit=nY0.DEFAULT_MAX_RETRIES=nY0.DEFAULT_TIMEOUT=void 0;nY0.DEFAULT_TIMEOUT=1000;nY0.DEFAULT_MAX_RETRIES=0;var n15=({maxRetries:I=nY0.DEFAULT_MAX_RETRIES,timeout:d=nY0.DEFAULT_TIMEOUT})=>({maxRetries:I,timeout:d});nY0.providerConfigFromInit=n15});var gG1=Y((oY0)=>{Object.defineProperty(oY0,"__esModule",{value:!0});oY0.retry=void 0;var r15=(I,d)=>{let G=I();for(let Z=0;Z<d;Z++)G=G.catch(I);return G};oY0.retry=r15});var G_0=Y((I_0)=>{Object.defineProperty(I_0,"__esModule",{value:!0});I_0.fromContainerMetadata=I_0.ENV_CMDS_AUTH_TOKEN=I_0.ENV_CMDS_RELATIVE_URI=I_0.ENV_CMDS_FULL_URI=void 0;var pc=W4(),a15=B1("url"),s15=xc(),tY0=FG1(),o15=cc(),e15=gG1();I_0.ENV_CMDS_FULL_URI="AWS_CONTAINER_CREDENTIALS_FULL_URI";I_0.ENV_CMDS_RELATIVE_URI="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI";I_0.ENV_CMDS_AUTH_TOKEN="AWS_CONTAINER_AUTHORIZATION_TOKEN";var t15=(I={})=>{let{timeout:d,maxRetries:G}=o15.providerConfigFromInit(I);return()=>e15.retry(async()=>{let Z=await C05(),C=JSON.parse(await I05(d,Z));if(!tY0.isImdsCredentials(C))throw new pc.CredentialsProviderError("Invalid response received from instance metadata service.");return tY0.fromImdsCredentials(C)},G)};I_0.fromContainerMetadata=t15;var I05=async(I,d)=>{if(process.env[I_0.ENV_CMDS_AUTH_TOKEN])d.headers={...d.headers,Authorization:process.env[I_0.ENV_CMDS_AUTH_TOKEN]};return(await s15.httpRequest({...d,timeout:I})).toString()},d05="169.254.170.2",G05={localhost:!0,"127.0.0.1":!0},Z05={"http:":!0,"https:":!0},C05=async()=>{if(process.env[I_0.ENV_CMDS_RELATIVE_URI])return{hostname:d05,path:process.env[I_0.ENV_CMDS_RELATIVE_URI]};if(process.env[I_0.ENV_CMDS_FULL_URI]){let I=a15.parse(process.env[I_0.ENV_CMDS_FULL_URI]);if(!I.hostname||!(I.hostname in G05))throw new pc.CredentialsProviderError(`${I.hostname} is not a valid container metadata service hostname`,!1);if(!I.protocol||!(I.protocol in Z05))throw new pc.CredentialsProviderError(`${I.protocol} is not a valid container metadata service protocol`,!1);return{...I,port:I.port?parseInt(I.port,10):void 0}}throw new pc.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${I_0.ENV_CMDS_RELATIVE_URI} or ${I_0.ENV_CMDS_FULL_URI} environment variable is set`,!1)}});var W_0=Y((Z_0)=>{Object.defineProperty(Z_0,"__esModule",{value:!0});Z_0.fromEnv=void 0;var W05=W4(),w05=(I)=>async()=>{try{let d=I(process.env);if(d===void 0)throw new Error;return d}catch(d){throw new W05.CredentialsProviderError(d.message||`Cannot load config from environment variables with getter: ${I}`)}};Z_0.fromEnv=w05});var V_0=Y((B_0)=>{Object.defineProperty(B_0,"__esModule",{value:!0});B_0.fromSharedConfigFiles=void 0;var B05=W4(),w_0=K8(),A05=(I,{preferredFile:d="config",...G}={})=>async()=>{let Z=w_0.getProfileName(G),{configFile:C,credentialsFile:W}=await w_0.loadSharedConfigFiles(G),w=W[Z]||{},B=C[Z]||{},A=d==="config"?{...w,...B}:{...B,...w};try{let V=I(A);if(V===void 0)throw new Error;return V}catch(V){throw new B05.CredentialsProviderError(V.message||`Cannot load config for profile ${Z} in SDK configuration files with getter: ${I}`)}};B_0.fromSharedConfigFiles=A05});var __0=Y((X_0)=>{Object.defineProperty(X_0,"__esModule",{value:!0});X_0.fromStatic=void 0;var V05=W4(),X05=(I)=>typeof I==="function",Y05=(I)=>X05(I)?async()=>await I():V05.fromStatic(I);X_0.fromStatic=Y05});var g_0=Y((H_0)=>{Object.defineProperty(H_0,"__esModule",{value:!0});H_0.loadConfig=void 0;var D_0=W4(),_05=W_0(),D05=V_0(),H05=__0(),F05=({environmentVariableSelector:I,configFileSelector:d,default:G},Z={})=>D_0.memoize(D_0.chain(_05.fromEnv(I),D05.fromSharedConfigFiles(d,Z),H05.fromStatic(G)));H_0.loadConfig=F05});var QZ=Y((KG1)=>{Object.defineProperty(KG1,"__esModule",{value:!0});var g05=x1();g05.__exportStar(g_0(),KG1)});var K_0=Y((J_0)=>{Object.defineProperty(J_0,"__esModule",{value:!0});J_0.Endpoint=void 0;var J05;(function(I){I.IPv4="http://169.254.169.254",I.IPv6="http://[fd00:ec2::254]"})(J05=J_0.Endpoint||(J_0.Endpoint={}))});var q_0=Y((N_0)=>{Object.defineProperty(N_0,"__esModule",{value:!0});N_0.ENDPOINT_CONFIG_OPTIONS=N_0.CONFIG_ENDPOINT_NAME=N_0.ENV_ENDPOINT_NAME=void 0;N_0.ENV_ENDPOINT_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT";N_0.CONFIG_ENDPOINT_NAME="ec2_metadata_service_endpoint";N_0.ENDPOINT_CONFIG_OPTIONS={environmentVariableSelector:(I)=>I[N_0.ENV_ENDPOINT_NAME],configFileSelector:(I)=>I[N_0.CONFIG_ENDPOINT_NAME],default:void 0}});var QG1=Y((R_0)=>{Object.defineProperty(R_0,"__esModule",{value:!0});R_0.EndpointMode=void 0;var K05;(function(I){I.IPv4="IPv4",I.IPv6="IPv6"})(K05=R_0.EndpointMode||(R_0.EndpointMode={}))});var S_0=Y((U_0)=>{Object.defineProperty(U_0,"__esModule",{value:!0});U_0.ENDPOINT_MODE_CONFIG_OPTIONS=U_0.CONFIG_ENDPOINT_MODE_NAME=U_0.ENV_ENDPOINT_MODE_NAME=void 0;var N05=QG1();U_0.ENV_ENDPOINT_MODE_NAME="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE";U_0.CONFIG_ENDPOINT_MODE_NAME="ec2_metadata_service_endpoint_mode";U_0.ENDPOINT_MODE_CONFIG_OPTIONS={environmentVariableSelector:(I)=>I[U_0.ENV_ENDPOINT_MODE_NAME],configFileSelector:(I)=>I[U_0.CONFIG_ENDPOINT_MODE_NAME],default:N05.EndpointMode.IPv4}});var qG1=Y((P_0)=>{Object.defineProperty(P_0,"__esModule",{value:!0});P_0.getInstanceMetadataEndpoint=void 0;var y_0=QZ(),z05=FV(),L_0=K_0(),Q05=q_0(),fG1=QG1(),f05=S_0(),q05=async()=>z05.parseUrl(await R05()||await U05());P_0.getInstanceMetadataEndpoint=q05;var R05=async()=>y_0.loadConfig(Q05.ENDPOINT_CONFIG_OPTIONS)(),U05=async()=>{let I=await y_0.loadConfig(f05.ENDPOINT_MODE_CONFIG_OPTIONS)();switch(I){case fG1.EndpointMode.IPv4:return L_0.Endpoint.IPv4;case fG1.EndpointMode.IPv6:return L_0.Endpoint.IPv6;default:throw new Error(`Unsupported endpoint mode: ${I}. Select from ${Object.values(fG1.EndpointMode)}`)}}});var O_0=Y((u_0)=>{Object.defineProperty(u_0,"__esModule",{value:!0});u_0.getExtendedInstanceMetadataCredentials=void 0;var v05=300,E05=300,M05="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",S05=(I,d)=>{var G;let Z=v05+Math.floor(Math.random()*E05),C=new Date(Date.now()+Z*1000);d.warn("Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}.\nFor more information, please visit: "+M05);let W=(G=I.originalExpiration)!==null&&G!==void 0?G:I.expiration;return{...I,...W?{originalExpiration:W}:{},expiration:C}};u_0.getExtendedInstanceMetadataCredentials=S05});var h_0=Y((l_0)=>{Object.defineProperty(l_0,"__esModule",{value:!0});l_0.staticStabilityProvider=void 0;var m_0=O_0(),L05=(I,d={})=>{let G=(d===null||d===void 0?void 0:d.logger)||console,Z;return async()=>{let C;try{if(C=await I(),C.expiration&&C.expiration.getTime()<Date.now())C=m_0.getExtendedInstanceMetadataCredentials(C,G)}catch(W){if(Z)G.warn("Credential renew failed: ",W),C=m_0.getExtendedInstanceMetadataCredentials(Z,G);else throw W}return Z=C,C}};l_0.staticStabilityProvider=L05});var i_0=Y((c_0)=>{Object.defineProperty(c_0,"__esModule",{value:!0});c_0.fromInstanceMetadata=void 0;var y05=W4(),RG1=xc(),j_0=FG1(),P05=cc(),k_0=gG1(),$05=qG1(),u05=h_0(),x_0="/latest/meta-data/iam/security-credentials/",T05="/latest/api/token",O05=(I={})=>u05.staticStabilityProvider(m05(I),{logger:I.logger});c_0.fromInstanceMetadata=O05;var m05=(I)=>{let d=!1,{timeout:G,maxRetries:Z}=P05.providerConfigFromInit(I),C=async(W,w)=>{let B=(await k_0.retry(async()=>{let A;try{A=await b05(w)}catch(V){if(V.statusCode===401)d=!1;throw V}return A},W)).trim();return k_0.retry(async()=>{let A;try{A=await h05(B,w)}catch(V){if(V.statusCode===401)d=!1;throw V}return A},W)};return async()=>{let W=await $05.getInstanceMetadataEndpoint();if(d)return C(Z,{...W,timeout:G});else{let w;try{w=(await l05({...W,timeout:G})).toString()}catch(B){if((B===null||B===void 0?void 0:B.statusCode)===400)throw Object.assign(B,{message:"EC2 Metadata token request returned error"});else if(B.message==="TimeoutError"||[403,404,405].includes(B.statusCode))d=!0;return C(Z,{...W,timeout:G})}return C(Z,{...W,headers:{"x-aws-ec2-metadata-token":w},timeout:G})}}},l05=async(I)=>RG1.httpRequest({...I,path:T05,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),b05=async(I)=>(await RG1.httpRequest({...I,path:x_0})).toString(),h05=async(I,d)=>{let G=JSON.parse((await RG1.httpRequest({...d,path:x_0+I})).toString());if(!j_0.isImdsCredentials(G))throw new y05.CredentialsProviderError("Invalid response received from instance metadata service.");return j_0.fromImdsCredentials(G)}});var r_0=Y((n_0)=>{Object.defineProperty(n_0,"__esModule",{value:!0})});var i_=Y((p_)=>{Object.defineProperty(p_,"__esModule",{value:!0});p_.getInstanceMetadataEndpoint=p_.httpRequest=void 0;var rc=x1();rc.__exportStar(G_0(),p_);rc.__exportStar(i_0(),p_);rc.__exportStar(cc(),p_);rc.__exportStar(r_0(),p_);var j05=xc();Object.defineProperty(p_,"httpRequest",{enumerable:!0,get:function(){return j05.httpRequest}});var k05=qG1();Object.defineProperty(p_,"getInstanceMetadataEndpoint",{enumerable:!0,get:function(){return k05.getInstanceMetadataEndpoint}})});var e_0=Y((s_0)=>{Object.defineProperty(s_0,"__esModule",{value:!0});s_0.resolveCredentialSource=void 0;var c05=BG1(),a_0=i_(),p05=W4(),i05=(I,d)=>{let G={EcsContainer:a_0.fromContainerMetadata,Ec2InstanceMetadata:a_0.fromInstanceMetadata,Environment:c05.fromEnv};if(I in G)return G[I]();else throw new p05.CredentialsProviderError(`Unsupported credential source in profile ${d}. Got ${I}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};s_0.resolveCredentialSource=i05});var dD0=Y((t_0)=>{Object.defineProperty(t_0,"__esModule",{value:!0});t_0.resolveAssumeRoleCredentials=t_0.isAssumeRoleProfile=void 0;var UG1=W4(),n05=K8(),r05=e_0(),a05=vG1(),s05=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1&&["undefined","string"].indexOf(typeof I.external_id)>-1&&["undefined","string"].indexOf(typeof I.mfa_serial)>-1&&(o05(I)||e05(I));t_0.isAssumeRoleProfile=s05;var o05=(I)=>typeof I.source_profile==="string"&&typeof I.credential_source==="undefined",e05=(I)=>typeof I.credential_source==="string"&&typeof I.source_profile==="undefined",t05=async(I,d,G,Z={})=>{let C=d[I];if(!G.roleAssumer)throw new UG1.CredentialsProviderError(`Profile ${I} requires a role to be assumed, but no role assumption callback was provided.`,!1);let{source_profile:W}=C;if(W&&W in Z)throw new UG1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${n05.getProfileName(G)}. Profiles visited: `+Object.keys(Z).join(", "),!1);let w=W?a05.resolveProfileData(W,d,G,{...Z,[W]:!0}):r05.resolveCredentialSource(C.credential_source,I)(),B={RoleArn:C.role_arn,RoleSessionName:C.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:C.external_id},{mfa_serial:A}=C;if(A){if(!G.mfaCodeProvider)throw new UG1.CredentialsProviderError(`Profile ${I} requires multi-factor authentication, but no MFA code callback was provided.`,!1);B.SerialNumber=A,B.TokenCode=await G.mfaCodeProvider(A)}let V=await w;return G.roleAssumer(V,B)};t_0.resolveAssumeRoleCredentials=t05});var CD0=Y((GD0)=>{Object.defineProperty(GD0,"__esModule",{value:!0});GD0.getValidatedProcessCredentials=void 0;var d25=(I,d)=>{if(d.Version!==1)throw Error(`Profile ${I} credential_process did not return Version 1.`);if(d.AccessKeyId===void 0||d.SecretAccessKey===void 0)throw Error(`Profile ${I} credential_process returned invalid credentials.`);if(d.Expiration){let G=new Date;if(new Date(d.Expiration)<G)throw Error(`Profile ${I} credential_process returned expired credentials.`)}return{accessKeyId:d.AccessKeyId,secretAccessKey:d.SecretAccessKey,...d.SessionToken&&{sessionToken:d.SessionToken},...d.Expiration&&{expiration:new Date(d.Expiration)}}};GD0.getValidatedProcessCredentials=d25});var BD0=Y((WD0)=>{Object.defineProperty(WD0,"__esModule",{value:!0});WD0.resolveProcessCredentials=void 0;var EG1=W4(),G25=B1("child_process"),Z25=B1("util"),C25=CD0(),W25=async(I,d)=>{let G=d[I];if(d[I]){let Z=G.credential_process;if(Z!==void 0){let C=Z25.promisify(G25.exec);try{let{stdout:W}=await C(Z),w;try{w=JSON.parse(W.trim())}catch(B){throw Error(`Profile ${I} credential_process returned invalid JSON.`)}return C25.getValidatedProcessCredentials(I,w)}catch(W){throw new EG1.CredentialsProviderError(W.message)}}else throw new EG1.CredentialsProviderError(`Profile ${I} did not contain credential_process.`)}else throw new EG1.CredentialsProviderError(`Profile ${I} could not be found in shared credentials file.`)};WD0.resolveProcessCredentials=W25});var YD0=Y((VD0)=>{Object.defineProperty(VD0,"__esModule",{value:!0});VD0.fromProcess=void 0;var AD0=K8(),w25=BD0(),B25=(I={})=>async()=>{let d=await AD0.parseKnownFiles(I);return w25.resolveProcessCredentials(AD0.getProfileName(I),d)};VD0.fromProcess=B25});var SG1=Y((MG1)=>{Object.defineProperty(MG1,"__esModule",{value:!0});var A25=x1();A25.__exportStar(YD0(),MG1)});var HD0=Y((_D0)=>{Object.defineProperty(_D0,"__esModule",{value:!0});_D0.resolveProcessCredentials=_D0.isProcessProfile=void 0;var V25=SG1(),X25=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.credential_process==="string";_D0.isProcessProfile=X25;var Y25=async(I,d)=>V25.fromProcess({...I,profile:d})();_D0.resolveProcessCredentials=Y25});var LG1=Y((FD0)=>{Object.defineProperty(FD0,"__esModule",{value:!0});FD0.isSsoProfile=void 0;var D25=(I)=>I&&(typeof I.sso_start_url==="string"||typeof I.sso_account_id==="string"||typeof I.sso_session==="string"||typeof I.sso_region==="string"||typeof I.sso_role_name==="string");FD0.isSsoProfile=D25});var ND0=Y((JD0)=>{Object.defineProperty(JD0,"__esModule",{value:!0});JD0.resolveClientEndpointParameters=void 0;var H25=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}};JD0.resolveClientEndpointParameters=H25});var zD0=Y((J13,F25)=>{F25.exports={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso"}}});var og=Y((RD0)=>{Object.defineProperty(RD0,"__esModule",{value:!0});RD0.Hash=void 0;var yG1=Pf(),g25=hC(),J25=B1("buffer"),QD0=B1("crypto");class qD0{constructor(I,d){this.algorithmIdentifier=I,this.secret=d,this.reset()}update(I,d){this.hash.update(g25.toUint8Array(fD0(I,d)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?QD0.createHmac(this.algorithmIdentifier,fD0(this.secret)):QD0.createHash(this.algorithmIdentifier)}}RD0.Hash=qD0;function fD0(I,d){if(J25.Buffer.isBuffer(I))return I;if(typeof I==="string")return yG1.fromString(I,d);if(ArrayBuffer.isView(I))return yG1.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength);return yG1.fromArrayBuffer(I)}});var $G1=Y((vD0)=>{Object.defineProperty(vD0,"__esModule",{value:!0});vD0.buildQueryString=void 0;var PG1=PI1();function K25(I){let d=[];for(let G of Object.keys(I).sort()){let Z=I[G];if(G=PG1.escapeUri(G),Array.isArray(Z))for(let C=0,W=Z.length;C<W;C++)d.push(`${G}=${PG1.escapeUri(Z[C])}`);else{let C=G;if(Z||typeof Z==="string")C+=`=${PG1.escapeUri(Z)}`;d.push(C)}}return d.join("&")}vD0.buildQueryString=K25});var LD0=Y((MD0)=>{Object.defineProperty(MD0,"__esModule",{value:!0});MD0.NODEJS_TIMEOUT_ERROR_CODES=void 0;MD0.NODEJS_TIMEOUT_ERROR_CODES=["ECONNRESET","EPIPE","ETIMEDOUT"]});var uG1=Y((yD0)=>{Object.defineProperty(yD0,"__esModule",{value:!0});yD0.getTransformedHeaders=void 0;var N25=(I)=>{let d={};for(let G of Object.keys(I)){let Z=I[G];d[G]=Array.isArray(Z)?Z.join(","):Z}return d};yD0.getTransformedHeaders=N25});var TD0=Y(($D0)=>{Object.defineProperty($D0,"__esModule",{value:!0});$D0.setConnectionTimeout=void 0;var z25=(I,d,G=0)=>{if(!G)return;I.on("socket",(Z)=>{if(Z.connecting){let C=setTimeout(()=>{I.destroy(),d(Object.assign(new Error(`Socket timed out without establishing a connection within ${G} ms`),{name:"TimeoutError"}))},G);Z.on("connect",()=>{clearTimeout(C)})}})};$D0.setConnectionTimeout=z25});var lD0=Y((OD0)=>{Object.defineProperty(OD0,"__esModule",{value:!0});OD0.setSocketKeepAlive=void 0;var Q25=(I,{keepAlive:d,keepAliveMsecs:G})=>{if(d!==!0)return;I.on("socket",(Z)=>{Z.setKeepAlive(d,G||0)})};OD0.setSocketKeepAlive=Q25});var jD0=Y((bD0)=>{Object.defineProperty(bD0,"__esModule",{value:!0});bD0.setSocketTimeout=void 0;var f25=(I,d,G=0)=>{I.setTimeout(G,()=>{I.destroy(),d(Object.assign(new Error(`Connection timed out after ${G} ms`),{name:"TimeoutError"}))})};bD0.setSocketTimeout=f25});var TG1=Y((xD0)=>{Object.defineProperty(xD0,"__esModule",{value:!0});xD0.writeRequestBody=void 0;var q25=B1("stream"),kD0=1000;async function R25(I,d,G=kD0){var Z;let C=(Z=d.headers)!==null&&Z!==void 0?Z:{};if((C.Expect||C.expect)==="100-continue")await Promise.race([new Promise((w)=>{setTimeout(w,Math.max(kD0,G))}),new Promise((w)=>{I.on("continue",()=>{w()})})]);U25(I,d.body)}xD0.writeRequestBody=R25;function U25(I,d){if(d instanceof q25.Readable)d.pipe(I);else if(d)I.end(Buffer.from(d));else I.end()}});var sD0=Y((rD0)=>{Object.defineProperty(rD0,"__esModule",{value:!0});rD0.NodeHttpHandler=rD0.DEFAULT_REQUEST_TIMEOUT=void 0;var v25=J8(),E25=$G1(),pD0=B1("http"),iD0=B1("https"),M25=LD0(),S25=uG1(),L25=TD0(),y25=lD0(),P25=jD0(),$25=TG1();rD0.DEFAULT_REQUEST_TIMEOUT=0;class nD0{constructor(I){this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((d,G)=>{if(typeof I==="function")I().then((Z)=>{d(this.resolveDefaultConfig(Z))}).catch(G);else d(this.resolveDefaultConfig(I))})}resolveDefaultConfig(I){let{requestTimeout:d,connectionTimeout:G,socketTimeout:Z,httpAgent:C,httpsAgent:W}=I||{},w=!0,B=50;return{connectionTimeout:G,requestTimeout:d!==null&&d!==void 0?d:Z,httpAgent:C||new pD0.Agent({keepAlive:!0,maxSockets:50}),httpsAgent:W||new iD0.Agent({keepAlive:!0,maxSockets:50})}}destroy(){var I,d,G,Z;(d=(I=this.config)===null||I===void 0?void 0:I.httpAgent)===null||d===void 0||d.destroy(),(Z=(G=this.config)===null||G===void 0?void 0:G.httpsAgent)===null||Z===void 0||Z.destroy()}async handle(I,{abortSignal:d}={}){if(!this.config)this.config=await this.configProvider;return new Promise((G,Z)=>{let C=void 0,W=async(g)=>{await C,G(g)},w=async(g)=>{await C,Z(g)};if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(d===null||d===void 0?void 0:d.aborted){let g=new Error("Request aborted");g.name="AbortError",w(g);return}let B=I.protocol==="https:",A=E25.buildQueryString(I.query||{}),V={headers:I.headers,host:I.hostname,method:I.method,path:A?`${I.path}?${A}`:I.path,port:I.port,agent:B?this.config.httpsAgent:this.config.httpAgent},_=(B?iD0.request:pD0.request)(V,(g)=>{let J=new v25.HttpResponse({statusCode:g.statusCode||-1,headers:S25.getTransformedHeaders(g.headers),body:g});W({response:J})});if(_.on("error",(g)=>{if(M25.NODEJS_TIMEOUT_ERROR_CODES.includes(g.code))w(Object.assign(g,{name:"TimeoutError"}));else w(g)}),L25.setConnectionTimeout(_,w,this.config.connectionTimeout),P25.setSocketTimeout(_,w,this.config.requestTimeout),d)d.onabort=()=>{_.abort();let g=new Error("Request aborted");g.name="AbortError",w(g)};let F=V.agent;if(typeof F==="object"&&"keepAlive"in F)y25.setSocketKeepAlive(_,{keepAlive:F.keepAlive,keepAliveMsecs:F.keepAliveMsecs});C=$25.writeRequestBody(_,I,this.config.requestTimeout)})}}rD0.NodeHttpHandler=nD0});var IH0=Y((eD0)=>{Object.defineProperty(eD0,"__esModule",{value:!0});eD0.NodeHttp2ConnectionPool=void 0;class oD0{constructor(I){this.sessions=[],this.sessions=I!==null&&I!==void 0?I:[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(I){this.sessions.push(I)}contains(I){return this.sessions.includes(I)}remove(I){this.sessions=this.sessions.filter((d)=>d!==I)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(I){for(let d of this.sessions)if(d===I){if(!d.destroyed)d.destroy()}}}eD0.NodeHttp2ConnectionPool=oD0});var CH0=Y((GH0)=>{Object.defineProperty(GH0,"__esModule",{value:!0});GH0.NodeHttp2ConnectionManager=void 0;var T25=x1(),O25=T25.__importDefault(B1("http2")),m25=IH0();class dH0{constructor(I){if(this.sessionCache=new Map,this.config=I,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(I,d){let G=this.getUrlString(I),Z=this.sessionCache.get(G);if(Z){let B=Z.poll();if(B&&!this.config.disableConcurrency)return B}let C=O25.default.connect(G);if(this.config.maxConcurrency)C.settings({maxConcurrentStreams:this.config.maxConcurrency},(B)=>{if(B)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+I.destination.toString())});C.unref();let W=()=>{C.destroy(),this.deleteSession(G,C)};if(C.on("goaway",W),C.on("error",W),C.on("frameError",W),C.on("close",()=>this.deleteSession(G,C)),d.requestTimeout)C.setTimeout(d.requestTimeout,W);let w=this.sessionCache.get(G)||new m25.NodeHttp2ConnectionPool;return w.offerLast(C),this.sessionCache.set(G,w),C}deleteSession(I,d){let G=this.sessionCache.get(I);if(!G)return;if(!G.contains(d))return;G.remove(d),this.sessionCache.set(I,G)}release(I,d){var G;let Z=this.getUrlString(I);(G=this.sessionCache.get(Z))===null||G===void 0||G.offerLast(d)}destroy(){for(let[I,d]of this.sessionCache){for(let G of d){if(!G.destroyed)G.destroy();d.remove(G)}this.sessionCache.delete(I)}}setMaxConcurrentStreams(I){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=I}setDisableConcurrentStreams(I){this.config.disableConcurrency=I}getUrlString(I){return I.destination.toString()}}GH0.NodeHttp2ConnectionManager=dH0});var VH0=Y((BH0)=>{Object.defineProperty(BH0,"__esModule",{value:!0});BH0.NodeHttp2Handler=void 0;var l25=J8(),b25=$G1(),WH0=B1("http2"),h25=uG1(),j25=CH0(),k25=TG1();class wH0{constructor(I){this.metadata={handlerProtocol:"h2"},this.connectionManager=new j25.NodeHttp2ConnectionManager({}),this.configProvider=new Promise((d,G)=>{if(typeof I==="function")I().then((Z)=>{d(Z||{})}).catch(G);else d(I||{})})}destroy(){this.connectionManager.destroy()}async handle(I,{abortSignal:d}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}let{requestTimeout:G,disableConcurrentStreams:Z}=this.config;return new Promise((C,W)=>{var w;let B=!1,A=void 0,V=async(T)=>{await A,C(T)},X=async(T)=>{await A,W(T)};if(d===null||d===void 0?void 0:d.aborted){B=!0;let T=new Error("Request aborted");T.name="AbortError",X(T);return}let{hostname:_,method:F,port:g,protocol:J,path:K,query:Q}=I,E=`${J}//${_}${g?`:${g}`:""}`,S={destination:new URL(E)},P=this.connectionManager.lease(S,{requestTimeout:(w=this.config)===null||w===void 0?void 0:w.sessionTimeout,disableConcurrentStreams:Z||!1}),$=(T)=>{if(Z)this.destroySession(P);B=!0,X(T)},h=b25.buildQueryString(Q||{}),O=P.request({...I.headers,[WH0.constants.HTTP2_HEADER_PATH]:h?`${K}?${h}`:K,[WH0.constants.HTTP2_HEADER_METHOD]:F});if(P.ref(),O.on("response",(T)=>{let V1=new l25.HttpResponse({statusCode:T[":status"]||-1,headers:h25.getTransformedHeaders(T),body:O});if(B=!0,V({response:V1}),Z)P.close(),this.connectionManager.deleteSession(E,P)}),G)O.setTimeout(G,()=>{O.close();let T=new Error(`Stream timed out because of no activity for ${G} ms`);T.name="TimeoutError",$(T)});if(d)d.onabort=()=>{O.close();let T=new Error("Request aborted");T.name="AbortError",$(T)};O.on("frameError",(T,V1,c)=>{$(new Error(`Frame type id ${T} in stream id ${c} has failed with code ${V1}.`))}),O.on("error",$),O.on("aborted",()=>{$(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${O.rstCode}.`))}),O.on("close",()=>{if(P.unref(),Z)P.destroy();if(!B)$(new Error("Unexpected error: http2 request did not get a response"))}),A=k25.writeRequestBody(O,I,G)})}destroySession(I){if(!I.destroyed)I.destroy()}}BH0.NodeHttp2Handler=wH0});var DH0=Y((YH0)=>{Object.defineProperty(YH0,"__esModule",{value:!0});YH0.Collector=void 0;var x25=B1("stream");class XH0 extends x25.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(I,d,G){this.bufferedBytes.push(I),G()}}YH0.Collector=XH0});var gH0=Y((HH0)=>{Object.defineProperty(HH0,"__esModule",{value:!0});HH0.streamCollector=void 0;var c25=DH0(),p25=(I)=>new Promise((d,G)=>{let Z=new c25.Collector;I.pipe(Z),I.on("error",(C)=>{Z.end(),G(C)}),Z.on("error",G),Z.on("finish",function(){let C=new Uint8Array(Buffer.concat(this.bufferedBytes));d(C)})});HH0.streamCollector=p25});var eg=Y((OL)=>{Object.defineProperty(OL,"__esModule",{value:!0});var OG1=x1();OG1.__exportStar(sD0(),OL);OG1.__exportStar(VH0(),OL);OG1.__exportStar(gH0(),OL)});var zH0=Y((KH0)=>{Object.defineProperty(KH0,"__esModule",{value:!0});KH0.calculateBodyLength=void 0;var JH0=B1("fs"),i25=(I)=>{if(!I)return 0;if(typeof I==="string")return Buffer.from(I).length;else if(typeof I.byteLength==="number")return I.byteLength;else if(typeof I.size==="number")return I.size;else if(typeof I.path==="string"||Buffer.isBuffer(I.path))return JH0.lstatSync(I.path).size;else if(typeof I.fd==="number")return JH0.fstatSync(I.fd).size;throw new Error(`Body Length computation failed for ${I}`)};KH0.calculateBodyLength=i25});var tg=Y((mG1)=>{Object.defineProperty(mG1,"__esModule",{value:!0});var n25=x1();n25.__exportStar(zH0(),mG1)});var RH0=Y((QH0,fH0)=>{Object.defineProperty(QH0,"__esModule",{value:!0});QH0.isCrtAvailable=void 0;var r25=()=>{try{if(typeof fH0!=="undefined"&&(()=>{throw new Error("Cannot require module "+"aws-crt");})())return["md/crt-avail"];return null}catch(I){return null}};QH0.isCrtAvailable=r25});var ac=Y((vH0)=>{Object.defineProperty(vH0,"__esModule",{value:!0});vH0.defaultUserAgent=vH0.UA_APP_ID_INI_NAME=vH0.UA_APP_ID_ENV_NAME=void 0;var a25=QZ(),UH0=B1("os"),lG1=B1("process"),s25=RH0();vH0.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";vH0.UA_APP_ID_INI_NAME="sdk-ua-app-id";var o25=({serviceId:I,clientVersion:d})=>{let G=[["aws-sdk-js",d],[`os/${UH0.platform()}`,UH0.release()],["lang/js"],["md/nodejs",`${lG1.versions.node}`]],Z=s25.isCrtAvailable();if(Z)G.push(Z);if(I)G.push([`api/${I}`,d]);if(lG1.env.AWS_EXECUTION_ENV)G.push([`exec-env/${lG1.env.AWS_EXECUTION_ENV}`]);let C=a25.loadConfig({environmentVariableSelector:(w)=>w[vH0.UA_APP_ID_ENV_NAME],configFileSelector:(w)=>w[vH0.UA_APP_ID_INI_NAME],default:void 0})(),W=void 0;return async()=>{if(!W){let w=await C;W=w?[...G,[`app/${w}`]]:[...G]}return W}};vH0.defaultUserAgent=o25});var PH0=Y((LH0)=>{Object.defineProperty(LH0,"__esModule",{value:!0});LH0.fromBase64=void 0;var e25=Pf(),t25=/^[A-Za-z0-9+/]*={0,2}$/,I45=(I)=>{if(I.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!t25.exec(I))throw new TypeError("Invalid base64 string.");let d=e25.fromString(I,"base64");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength)};LH0.fromBase64=I45});var TH0=Y(($H0)=>{Object.defineProperty($H0,"__esModule",{value:!0});$H0.toBase64=void 0;var d45=Pf(),G45=(I)=>d45.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength).toString("base64");$H0.toBase64=G45});var IJ=Y((sc)=>{Object.defineProperty(sc,"__esModule",{value:!0});var OH0=x1();OH0.__exportStar(PH0(),sc);OH0.__exportStar(TH0(),sc)});var sH0=Y((rH0)=>{Object.defineProperty(rH0,"__esModule",{value:!0});rH0.ruleSet=void 0;var cH0="required",qV="fn",RV="argv",hf="ref",bG1="PartitionResult",ew="tree",mL="error",lL="endpoint",mH0={[cH0]:!1,type:"String"},lH0={[cH0]:!0,default:!1,type:"Boolean"},pH0={[hf]:"Endpoint"},iH0={[qV]:"booleanEquals",[RV]:[{[hf]:"UseFIPS"},!0]},nH0={[qV]:"booleanEquals",[RV]:[{[hf]:"UseDualStack"},!0]},tw={},bH0={[qV]:"booleanEquals",[RV]:[!0,{[qV]:"getAttr",[RV]:[{[hf]:bG1},"supportsFIPS"]}]},hH0={[qV]:"booleanEquals",[RV]:[!0,{[qV]:"getAttr",[RV]:[{[hf]:bG1},"supportsDualStack"]}]},jH0=[pH0],kH0=[iH0],xH0=[nH0],Z45={version:"1.0",parameters:{Region:mH0,UseDualStack:lH0,UseFIPS:lH0,Endpoint:mH0},rules:[{conditions:[{[qV]:"aws.partition",[RV]:[{[hf]:"Region"}],assign:bG1}],type:ew,rules:[{conditions:[{[qV]:"isSet",[RV]:jH0},{[qV]:"parseURL",[RV]:jH0,assign:"url"}],type:ew,rules:[{conditions:kH0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:mL},{type:ew,rules:[{conditions:xH0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:mL},{endpoint:{url:pH0,properties:tw,headers:tw},type:lL}]}]},{conditions:[iH0,nH0],type:ew,rules:[{conditions:[bH0,hH0],type:ew,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:tw,headers:tw},type:lL}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:mL}]},{conditions:kH0,type:ew,rules:[{conditions:[bH0],type:ew,rules:[{type:ew,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:tw,headers:tw},type:lL}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:mL}]},{conditions:xH0,type:ew,rules:[{conditions:[hH0],type:ew,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:tw,headers:tw},type:lL}]},{error:"DualStack is enabled but this partition does not support DualStack",type:mL}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:tw,headers:tw},type:lL}]}]};rH0.ruleSet=Z45});var tH0=Y((oH0)=>{Object.defineProperty(oH0,"__esModule",{value:!0});oH0.defaultEndpointResolver=void 0;var C45=qL(),W45=sH0(),w45=(I,d={})=>{return C45.resolveEndpoint(W45.ruleSet,{endpointParams:I,logger:d.logger})};oH0.defaultEndpointResolver=w45});var CF0=Y((GF0)=>{Object.defineProperty(GF0,"__esModule",{value:!0});GF0.getRuntimeConfig=void 0;var B45=v0(),A45=FV(),IF0=IJ(),dF0=hC(),V45=tH0(),X45=(I)=>({apiVersion:"2019-06-10",base64Decoder:I?.base64Decoder??IF0.fromBase64,base64Encoder:I?.base64Encoder??IF0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??V45.defaultEndpointResolver,logger:I?.logger??new B45.NoOpLogger,serviceId:I?.serviceId??"SSO",urlParser:I?.urlParser??A45.parseUrl,utf8Decoder:I?.utf8Decoder??dF0.fromUtf8,utf8Encoder:I?.utf8Encoder??dF0.toUtf8});GF0.getRuntimeConfig=X45});var BF0=Y((WF0)=>{Object.defineProperty(WF0,"__esModule",{value:!0});WF0.IMDS_REGION_PATH=WF0.DEFAULTS_MODE_OPTIONS=WF0.ENV_IMDS_DISABLED=WF0.AWS_DEFAULT_REGION_ENV=WF0.AWS_REGION_ENV=WF0.AWS_EXECUTION_ENV=void 0;WF0.AWS_EXECUTION_ENV="AWS_EXECUTION_ENV";WF0.AWS_REGION_ENV="AWS_REGION";WF0.AWS_DEFAULT_REGION_ENV="AWS_DEFAULT_REGION";WF0.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";WF0.DEFAULTS_MODE_OPTIONS=["in-region","cross-region","mobile","standard","legacy"];WF0.IMDS_REGION_PATH="/latest/meta-data/placement/region"});var XF0=Y((AF0)=>{Object.defineProperty(AF0,"__esModule",{value:!0});AF0.NODE_DEFAULTS_MODE_CONFIG_OPTIONS=void 0;var g45="AWS_DEFAULTS_MODE",J45="defaults_mode";AF0.NODE_DEFAULTS_MODE_CONFIG_OPTIONS={environmentVariableSelector:(I)=>{return I[g45]},configFileSelector:(I)=>{return I[J45]},default:"legacy"}});var FF0=Y((DF0)=>{Object.defineProperty(DF0,"__esModule",{value:!0});DF0.resolveDefaultsModeConfig=void 0;var K45=Cd(),YF0=i_(),_F0=QZ(),N45=W4(),n_=BF0(),z45=XF0(),Q45=({region:I=_F0.loadConfig(K45.NODE_REGION_CONFIG_OPTIONS),defaultsMode:d=_F0.loadConfig(z45.NODE_DEFAULTS_MODE_CONFIG_OPTIONS)}={})=>N45.memoize(async()=>{let G=typeof d==="function"?await d():d;switch(G===null||G===void 0?void 0:G.toLowerCase()){case"auto":return f45(I);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(G===null||G===void 0?void 0:G.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${n_.DEFAULTS_MODE_OPTIONS.join(", ")}, got ${G}`)}});DF0.resolveDefaultsModeConfig=Q45;var f45=async(I)=>{if(I){let d=typeof I==="function"?await I():I,G=await q45();if(!G)return"standard";if(d===G)return"in-region";else return"cross-region"}return"standard"},q45=async()=>{var I;if(process.env[n_.AWS_EXECUTION_ENV]&&(process.env[n_.AWS_REGION_ENV]||process.env[n_.AWS_DEFAULT_REGION_ENV]))return(I=process.env[n_.AWS_REGION_ENV])!==null&&I!==void 0?I:process.env[n_.AWS_DEFAULT_REGION_ENV];if(!process.env[n_.ENV_IMDS_DISABLED])try{let d=await YF0.getInstanceMetadataEndpoint();return(await YF0.httpRequest({...d,path:n_.IMDS_REGION_PATH})).toString()}catch(d){}}});var dJ=Y((hG1)=>{Object.defineProperty(hG1,"__esModule",{value:!0});var R45=x1();R45.__exportStar(FF0(),hG1)});var zF0=Y((KF0)=>{Object.defineProperty(KF0,"__esModule",{value:!0});KF0.getRuntimeConfig=void 0;var U45=x1(),v45=U45.__importDefault(zD0()),oc=Cd(),E45=og(),gF0=dG(),bL=QZ(),JF0=eg(),M45=tg(),S45=Wd(),L45=ac(),y45=CF0(),P45=v0(),$45=dJ(),u45=v0(),T45=(I)=>{u45.emitWarningIfUnsupportedVersion(process.version);let d=$45.resolveDefaultsModeConfig(I),G=()=>d().then(P45.loadConfigsForDefaultMode),Z=y45.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??M45.calculateBodyLength,defaultUserAgentProvider:I?.defaultUserAgentProvider??L45.defaultUserAgent({serviceId:Z.serviceId,clientVersion:v45.default.version}),maxAttempts:I?.maxAttempts??bL.loadConfig(gF0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??bL.loadConfig(oc.NODE_REGION_CONFIG_OPTIONS,oc.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new JF0.NodeHttpHandler(G),retryMode:I?.retryMode??bL.loadConfig({...gF0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||S45.DEFAULT_RETRY_MODE}),sha256:I?.sha256??E45.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??JF0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??bL.loadConfig(oc.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??bL.loadConfig(oc.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};KF0.getRuntimeConfig=T45});var hL=Y((jG1)=>{Object.defineProperty(jG1,"__esModule",{value:!0});jG1.SSOClient=jG1.__Client=void 0;var O45=Cd(),m45=jg(),l45=u2(),QF0=Xc(),b45=Yc(),h45=_c(),fF0=dG(),qF0=Lc(),RF0=v0();Object.defineProperty(jG1,"__Client",{enumerable:!0,get:function(){return RF0.Client}});var j45=ND0(),k45=zF0();class UF0 extends RF0.Client{constructor(I){let d=k45.getRuntimeConfig(I),G=j45.resolveClientEndpointParameters(d),Z=O45.resolveRegionConfig(G),C=l45.resolveEndpointConfig(Z),W=fF0.resolveRetryConfig(C),w=QF0.resolveHostHeaderConfig(W),B=qF0.resolveUserAgentConfig(w);super(B);this.config=B,this.middlewareStack.use(fF0.getRetryPlugin(this.config)),this.middlewareStack.use(m45.getContentLengthPlugin(this.config)),this.middlewareStack.use(QF0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(b45.getLoggerPlugin(this.config)),this.middlewareStack.use(h45.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(qF0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}jG1.SSOClient=UF0});var ec=Y((xG1)=>{Object.defineProperty(xG1,"__esModule",{value:!0});xG1.SSOServiceException=xG1.__ServiceException=void 0;var EF0=v0();Object.defineProperty(xG1,"__ServiceException",{enumerable:!0,get:function(){return EF0.ServiceException}});class kG1 extends EF0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,kG1.prototype)}}xG1.SSOServiceException=kG1});var GJ=Y((SF0)=>{Object.defineProperty(SF0,"__esModule",{value:!0});SF0.LogoutRequestFilterSensitiveLog=SF0.ListAccountsRequestFilterSensitiveLog=SF0.ListAccountRolesRequestFilterSensitiveLog=SF0.GetRoleCredentialsResponseFilterSensitiveLog=SF0.RoleCredentialsFilterSensitiveLog=SF0.GetRoleCredentialsRequestFilterSensitiveLog=SF0.UnauthorizedException=SF0.TooManyRequestsException=SF0.ResourceNotFoundException=SF0.InvalidRequestException=void 0;var jf=v0(),tc=ec();class cG1 extends tc.SSOServiceException{constructor(I){super({name:"InvalidRequestException",$fault:"client",...I});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,cG1.prototype)}}SF0.InvalidRequestException=cG1;class pG1 extends tc.SSOServiceException{constructor(I){super({name:"ResourceNotFoundException",$fault:"client",...I});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,pG1.prototype)}}SF0.ResourceNotFoundException=pG1;class iG1 extends tc.SSOServiceException{constructor(I){super({name:"TooManyRequestsException",$fault:"client",...I});this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,iG1.prototype)}}SF0.TooManyRequestsException=iG1;class nG1 extends tc.SSOServiceException{constructor(I){super({name:"UnauthorizedException",$fault:"client",...I});this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,nG1.prototype)}}SF0.UnauthorizedException=nG1;var x45=(I)=>({...I,...I.accessToken&&{accessToken:jf.SENSITIVE_STRING}});SF0.GetRoleCredentialsRequestFilterSensitiveLog=x45;var c45=(I)=>({...I,...I.secretAccessKey&&{secretAccessKey:jf.SENSITIVE_STRING},...I.sessionToken&&{sessionToken:jf.SENSITIVE_STRING}});SF0.RoleCredentialsFilterSensitiveLog=c45;var p45=(I)=>({...I,...I.roleCredentials&&{roleCredentials:SF0.RoleCredentialsFilterSensitiveLog(I.roleCredentials)}});SF0.GetRoleCredentialsResponseFilterSensitiveLog=p45;var i45=(I)=>({...I,...I.accessToken&&{accessToken:jf.SENSITIVE_STRING}});SF0.ListAccountRolesRequestFilterSensitiveLog=i45;var n45=(I)=>({...I,...I.accessToken&&{accessToken:jf.SENSITIVE_STRING}});SF0.ListAccountsRequestFilterSensitiveLog=n45;var r45=(I)=>({...I,...I.accessToken&&{accessToken:jf.SENSITIVE_STRING}});SF0.LogoutRequestFilterSensitiveLog=r45});var jL=Y(($F0)=>{Object.defineProperty($F0,"__esModule",{value:!0});$F0.de_LogoutCommand=$F0.de_ListAccountsCommand=$F0.de_ListAccountRolesCommand=$F0.de_GetRoleCredentialsCommand=$F0.se_LogoutCommand=$F0.se_ListAccountsCommand=$F0.se_ListAccountRolesCommand=$F0.se_GetRoleCredentialsCommand=void 0;var N4=v0(),Ip=Oc(),dp=GJ(),Z55=ec(),C55=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=N4.map({},wp,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/federation/credentials`,A=N4.map({role_name:[,N4.expectNonNull(I.roleName,"roleName")],account_id:[,N4.expectNonNull(I.accountId,"accountId")]}),V;return new Ip.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};$F0.se_GetRoleCredentialsCommand=C55;var W55=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=N4.map({},wp,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/roles`,A=N4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()],account_id:[,N4.expectNonNull(I.accountId,"accountId")]}),V;return new Ip.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};$F0.se_ListAccountRolesCommand=W55;var w55=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=N4.map({},wp,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/accounts`,A=N4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()]}),V;return new Ip.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};$F0.se_ListAccountsCommand=w55;var B55=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=N4.map({},wp,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/logout`,A;return new Ip.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};$F0.se_LogoutCommand=B55;var A55=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return V55(I,d);let G=N4.map({$metadata:r_(I)}),Z=N4.expectNonNull(N4.expectObject(await Bp(I.body,d)),"body"),C=N4.take(Z,{roleCredentials:N4._json});return Object.assign(G,C),G};$F0.de_GetRoleCredentialsCommand=A55;var V55=async(I,d)=>{let G={...I,body:await Ap(I.body,d)},Z=Vp(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Zp(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await rG1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Cp(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Wp(G,d);default:let C=G.body;return Gp({output:I,parsedBody:C,errorCode:Z})}},X55=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return Y55(I,d);let G=N4.map({$metadata:r_(I)}),Z=N4.expectNonNull(N4.expectObject(await Bp(I.body,d)),"body"),C=N4.take(Z,{nextToken:N4.expectString,roleList:N4._json});return Object.assign(G,C),G};$F0.de_ListAccountRolesCommand=X55;var Y55=async(I,d)=>{let G={...I,body:await Ap(I.body,d)},Z=Vp(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Zp(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await rG1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Cp(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Wp(G,d);default:let C=G.body;return Gp({output:I,parsedBody:C,errorCode:Z})}},_55=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return D55(I,d);let G=N4.map({$metadata:r_(I)}),Z=N4.expectNonNull(N4.expectObject(await Bp(I.body,d)),"body"),C=N4.take(Z,{accountList:N4._json,nextToken:N4.expectString});return Object.assign(G,C),G};$F0.de_ListAccountsCommand=_55;var D55=async(I,d)=>{let G={...I,body:await Ap(I.body,d)},Z=Vp(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Zp(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await rG1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Cp(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Wp(G,d);default:let C=G.body;return Gp({output:I,parsedBody:C,errorCode:Z})}},H55=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return F55(I,d);let G=N4.map({$metadata:r_(I)});return await PF0(I.body,d),G};$F0.de_LogoutCommand=H55;var F55=async(I,d)=>{let G={...I,body:await Ap(I.body,d)},Z=Vp(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Zp(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Cp(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Wp(G,d);default:let C=G.body;return Gp({output:I,parsedBody:C,errorCode:Z})}},Gp=N4.withBaseException(Z55.SSOServiceException),Zp=async(I,d)=>{let G=N4.map({}),Z=I.body,C=N4.take(Z,{message:N4.expectString});Object.assign(G,C);let W=new dp.InvalidRequestException({$metadata:r_(I),...G});return N4.decorateServiceException(W,I.body)},rG1=async(I,d)=>{let G=N4.map({}),Z=I.body,C=N4.take(Z,{message:N4.expectString});Object.assign(G,C);let W=new dp.ResourceNotFoundException({$metadata:r_(I),...G});return N4.decorateServiceException(W,I.body)},Cp=async(I,d)=>{let G=N4.map({}),Z=I.body,C=N4.take(Z,{message:N4.expectString});Object.assign(G,C);let W=new dp.TooManyRequestsException({$metadata:r_(I),...G});return N4.decorateServiceException(W,I.body)},Wp=async(I,d)=>{let G=N4.map({}),Z=I.body,C=N4.take(Z,{message:N4.expectString});Object.assign(G,C);let W=new dp.UnauthorizedException({$metadata:r_(I),...G});return N4.decorateServiceException(W,I.body)},r_=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),PF0=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},g55=(I,d)=>PF0(I,d).then((G)=>d.utf8Encoder(G)),wp=(I)=>I!==void 0&&I!==null&&I!==""&&(!Object.getOwnPropertyNames(I).includes("length")||I.length!=0)&&(!Object.getOwnPropertyNames(I).includes("size")||I.size!=0),Bp=(I,d)=>g55(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),Ap=async(I,d)=>{let G=await Bp(I,d);return G.message=G.message??G.Message,G},Vp=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var oG1=Y((sG1)=>{Object.defineProperty(sG1,"__esModule",{value:!0});sG1.GetRoleCredentialsCommand=sG1.$Command=void 0;var R55=u2(),U55=r2(),mF0=v0();Object.defineProperty(sG1,"$Command",{enumerable:!0,get:function(){return mF0.Command}});var TF0=GJ(),OF0=jL();class aG1 extends mF0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(U55.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(R55.getEndpointPlugin(d,aG1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"GetRoleCredentialsCommand",inputFilterSensitiveLog:TF0.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:TF0.GetRoleCredentialsResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return OF0.se_GetRoleCredentialsCommand(I,d)}deserialize(I,d){return OF0.de_GetRoleCredentialsCommand(I,d)}}sG1.GetRoleCredentialsCommand=aG1});var Xp=Y((tG1)=>{Object.defineProperty(tG1,"__esModule",{value:!0});tG1.ListAccountRolesCommand=tG1.$Command=void 0;var v55=u2(),E55=r2(),hF0=v0();Object.defineProperty(tG1,"$Command",{enumerable:!0,get:function(){return hF0.Command}});var M55=GJ(),bF0=jL();class eG1 extends hF0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(E55.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(v55.getEndpointPlugin(d,eG1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:M55.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return bF0.se_ListAccountRolesCommand(I,d)}deserialize(I,d){return bF0.de_ListAccountRolesCommand(I,d)}}tG1.ListAccountRolesCommand=eG1});var Yp=Y((dZ1)=>{Object.defineProperty(dZ1,"__esModule",{value:!0});dZ1.ListAccountsCommand=dZ1.$Command=void 0;var S55=u2(),L55=r2(),xF0=v0();Object.defineProperty(dZ1,"$Command",{enumerable:!0,get:function(){return xF0.Command}});var y55=GJ(),kF0=jL();class IZ1 extends xF0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(L55.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(S55.getEndpointPlugin(d,IZ1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:y55.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return kF0.se_ListAccountsCommand(I,d)}deserialize(I,d){return kF0.de_ListAccountsCommand(I,d)}}dZ1.ListAccountsCommand=IZ1});var CZ1=Y((ZZ1)=>{Object.defineProperty(ZZ1,"__esModule",{value:!0});ZZ1.LogoutCommand=ZZ1.$Command=void 0;var P55=u2(),$55=r2(),iF0=v0();Object.defineProperty(ZZ1,"$Command",{enumerable:!0,get:function(){return iF0.Command}});var u55=GJ(),pF0=jL();class GZ1 extends iF0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use($55.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(P55.getEndpointPlugin(d,GZ1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:u55.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return pF0.se_LogoutCommand(I,d)}deserialize(I,d){return pF0.de_LogoutCommand(I,d)}}ZZ1.LogoutCommand=GZ1});var sF0=Y((rF0)=>{Object.defineProperty(rF0,"__esModule",{value:!0});rF0.SSO=void 0;var T55=v0(),O55=oG1(),m55=Xp(),l55=Yp(),b55=CZ1(),h55=hL(),j55={GetRoleCredentialsCommand:O55.GetRoleCredentialsCommand,ListAccountRolesCommand:m55.ListAccountRolesCommand,ListAccountsCommand:l55.ListAccountsCommand,LogoutCommand:b55.LogoutCommand};class WZ1 extends h55.SSOClient{}rF0.SSO=WZ1;T55.createAggregatedClient(j55,WZ1)});var oF0=Y((kf)=>{Object.defineProperty(kf,"__esModule",{value:!0});var _p=x1();_p.__exportStar(oG1(),kf);_p.__exportStar(Xp(),kf);_p.__exportStar(Yp(),kf);_p.__exportStar(CZ1(),kf)});var tF0=Y((eF0)=>{Object.defineProperty(eF0,"__esModule",{value:!0})});var Gg0=Y((Ig0)=>{Object.defineProperty(Ig0,"__esModule",{value:!0});Ig0.paginateListAccountRoles=void 0;var k55=Xp(),x55=hL(),c55=async(I,d,...G)=>{return await I.send(new k55.ListAccountRolesCommand(d),...G)};async function*p55(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof x55.SSOClient)W=await c55(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}Ig0.paginateListAccountRoles=p55});var Wg0=Y((Zg0)=>{Object.defineProperty(Zg0,"__esModule",{value:!0});Zg0.paginateListAccounts=void 0;var i55=Yp(),n55=hL(),r55=async(I,d,...G)=>{return await I.send(new i55.ListAccountsCommand(d),...G)};async function*a55(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof n55.SSOClient)W=await r55(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}Zg0.paginateListAccounts=a55});var wg0=Y((kL)=>{Object.defineProperty(kL,"__esModule",{value:!0});var wZ1=x1();wZ1.__exportStar(tF0(),kL);wZ1.__exportStar(Gg0(),kL);wZ1.__exportStar(Wg0(),kL)});var Bg0=Y((BZ1)=>{Object.defineProperty(BZ1,"__esModule",{value:!0});var s55=x1();s55.__exportStar(GJ(),BZ1)});var Ag0=Y((a_)=>{Object.defineProperty(a_,"__esModule",{value:!0});a_.SSOServiceException=void 0;var xL=x1();xL.__exportStar(hL(),a_);xL.__exportStar(sF0(),a_);xL.__exportStar(oF0(),a_);xL.__exportStar(wg0(),a_);xL.__exportStar(Bg0(),a_);var o55=ec();Object.defineProperty(a_,"SSOServiceException",{enumerable:!0,get:function(){return o55.SSOServiceException}})});var Dp=Y((Vg0)=>{Object.defineProperty(Vg0,"__esModule",{value:!0});Vg0.REFRESH_MESSAGE=Vg0.EXPIRE_WINDOW_MS=void 0;Vg0.EXPIRE_WINDOW_MS=300000;Vg0.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var Fg0=Y((Yg0)=>{Object.defineProperty(Yg0,"__esModule",{value:!0});Yg0.getHostHeaderPlugin=Yg0.hostHeaderMiddlewareOptions=Yg0.hostHeaderMiddleware=Yg0.resolveHostHeaderConfig=void 0;var I95=J8();function d95(I){return I}Yg0.resolveHostHeaderConfig=d95;var G95=(I)=>(d)=>async(G)=>{if(!I95.HttpRequest.isInstance(G.request))return d(G);let{request:Z}=G,{handlerProtocol:C=""}=I.requestHandler.metadata||{};if(C.indexOf("h2")>=0&&!Z.headers[":authority"])delete Z.headers.host,Z.headers[":authority"]="";else if(!Z.headers.host){let W=Z.hostname;if(Z.port!=null)W+=`:${Z.port}`;Z.headers.host=W}return d(G)};Yg0.hostHeaderMiddleware=G95;Yg0.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var Z95=(I)=>({applyToStack:(d)=>{d.add(Yg0.hostHeaderMiddleware(I),Yg0.hostHeaderMiddlewareOptions)}});Yg0.getHostHeaderPlugin=Z95});var zg0=Y((gg0)=>{Object.defineProperty(gg0,"__esModule",{value:!0});gg0.getLoggerPlugin=gg0.loggerMiddlewareOptions=gg0.loggerMiddleware=void 0;var W95=()=>(I,d)=>async(G)=>{var Z,C;try{let W=await I(G),{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X,overrideOutputFilterSensitiveLog:_}=V,F=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog,g=_!==null&&_!==void 0?_:d.outputFilterSensitiveLog,{$metadata:J,...K}=W.output;return(Z=A===null||A===void 0?void 0:A.info)===null||Z===void 0||Z.call(A,{clientName:w,commandName:B,input:F(G.input),output:g(K),metadata:J}),W}catch(W){let{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X}=V,_=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog;throw(C=A===null||A===void 0?void 0:A.error)===null||C===void 0||C.call(A,{clientName:w,commandName:B,input:_(G.input),error:W,metadata:W.$metadata}),W}};gg0.loggerMiddleware=W95;gg0.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var w95=(I)=>({applyToStack:(d)=>{d.add(gg0.loggerMiddleware(),gg0.loggerMiddlewareOptions)}});gg0.getLoggerPlugin=w95});var Qg0=Y((AZ1)=>{Object.defineProperty(AZ1,"__esModule",{value:!0});var B95=x1();B95.__exportStar(zg0(),AZ1)});var Eg0=Y((qg0)=>{Object.defineProperty(qg0,"__esModule",{value:!0});qg0.getRecursionDetectionPlugin=qg0.addRecursionDetectionMiddlewareOptions=qg0.recursionDetectionMiddleware=void 0;var A95=J8(),fg0="X-Amzn-Trace-Id",V95="AWS_LAMBDA_FUNCTION_NAME",X95="_X_AMZN_TRACE_ID",Y95=(I)=>(d)=>async(G)=>{let{request:Z}=G;if(!A95.HttpRequest.isInstance(Z)||I.runtime!=="node"||Z.headers.hasOwnProperty(fg0))return d(G);let C=process.env[V95],W=process.env[X95],w=(B)=>typeof B==="string"&&B.length>0;if(w(C)&&w(W))Z.headers[fg0]=W;return d({...G,request:Z})};qg0.recursionDetectionMiddleware=Y95;qg0.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var _95=(I)=>({applyToStack:(d)=>{d.add(qg0.recursionDetectionMiddleware(I),qg0.addRecursionDetectionMiddlewareOptions)}});qg0.getRecursionDetectionPlugin=_95});var Lg0=Y((Mg0)=>{Object.defineProperty(Mg0,"__esModule",{value:!0});Mg0.resolveUserAgentConfig=void 0;function D95(I){return{...I,customUserAgent:typeof I.customUserAgent==="string"?[[I.customUserAgent]]:I.customUserAgent}}Mg0.resolveUserAgentConfig=D95});var yg0=Y((f03,H95)=>{H95.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var VZ1=Y((Tg0)=>{Object.defineProperty(Tg0,"__esModule",{value:!0});Tg0.getUserAgentPrefix=Tg0.useDefaultPartitionInfo=Tg0.setPartitionInfo=Tg0.partition=void 0;var F95=x1(),Pg0=F95.__importDefault(yg0()),$g0=Pg0.default,ug0="",g95=(I)=>{let{partitions:d}=$g0;for(let Z of d){let{regions:C,outputs:W}=Z;for(let[w,B]of Object.entries(C))if(w===I)return{...W,...B}}for(let Z of d){let{regionRegex:C,outputs:W}=Z;if(new RegExp(C).test(I))return{...W}}let G=d.find((Z)=>Z.id==="aws");if(!G)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...G.outputs}};Tg0.partition=g95;var J95=(I,d="")=>{$g0=I,ug0=d};Tg0.setPartitionInfo=J95;var K95=()=>{Tg0.setPartitionInfo(Pg0.default,"")};Tg0.useDefaultPartitionInfo=K95;var N95=()=>ug0;Tg0.getUserAgentPrefix=N95});var hg0=Y((lg0)=>{Object.defineProperty(lg0,"__esModule",{value:!0});lg0.debugId=void 0;lg0.debugId="endpoints"});var xg0=Y((jg0)=>{Object.defineProperty(jg0,"__esModule",{value:!0});jg0.toDebugString=void 0;function XZ1(I){if(typeof I!=="object"||I==null)return I;if("ref"in I)return`$${XZ1(I.ref)}`;if("fn"in I)return`${I.fn}(${(I.argv||[]).map(XZ1).join(", ")})`;return JSON.stringify(I,null,2)}jg0.toDebugString=XZ1});var cL=Y((Hp)=>{Object.defineProperty(Hp,"__esModule",{value:!0});var cg0=x1();cg0.__exportStar(hg0(),Hp);cg0.__exportStar(xg0(),Hp)});var rg0=Y((ig0)=>{Object.defineProperty(ig0,"__esModule",{value:!0});ig0.EndpointError=void 0;class pg0 extends Error{constructor(I){super(I);this.name="EndpointError"}}ig0.EndpointError=pg0});var sg0=Y((ag0)=>{Object.defineProperty(ag0,"__esModule",{value:!0})});var eg0=Y((og0)=>{Object.defineProperty(og0,"__esModule",{value:!0})});var IJ0=Y((tg0)=>{Object.defineProperty(tg0,"__esModule",{value:!0})});var GJ0=Y((dJ0)=>{Object.defineProperty(dJ0,"__esModule",{value:!0})});var CJ0=Y((ZJ0)=>{Object.defineProperty(ZJ0,"__esModule",{value:!0})});var fZ=Y((s_)=>{Object.defineProperty(s_,"__esModule",{value:!0});var xf=x1();xf.__exportStar(rg0(),s_);xf.__exportStar(sg0(),s_);xf.__exportStar(eg0(),s_);xf.__exportStar(IJ0(),s_);xf.__exportStar(GJ0(),s_);xf.__exportStar(CJ0(),s_)});var YZ1=Y((WJ0)=>{Object.defineProperty(WJ0,"__esModule",{value:!0});WJ0.isIpAddress=void 0;var f95=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),q95=(I)=>f95.test(I)||I.startsWith("[")&&I.endsWith("]");WJ0.isIpAddress=q95});var DZ1=Y((BJ0)=>{Object.defineProperty(BJ0,"__esModule",{value:!0});BJ0.isValidHostLabel=void 0;var R95=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),U95=(I,d=!1)=>{if(!d)return R95.test(I);let G=I.split(".");for(let Z of G)if(!BJ0.isValidHostLabel(Z))return!1;return!0};BJ0.isValidHostLabel=U95});var VJ0=Y((AJ0)=>{Object.defineProperty(AJ0,"__esModule",{value:!0});AJ0.isVirtualHostableS3Bucket=void 0;var v95=YZ1(),E95=DZ1(),M95=(I,d=!1)=>{if(d){for(let G of I.split("."))if(!AJ0.isVirtualHostableS3Bucket(G))return!1;return!0}if(!E95.isValidHostLabel(I))return!1;if(I.length<3||I.length>63)return!1;if(I!==I.toLowerCase())return!1;if(v95.isIpAddress(I))return!1;return!0};AJ0.isVirtualHostableS3Bucket=M95});var _J0=Y((XJ0)=>{Object.defineProperty(XJ0,"__esModule",{value:!0});XJ0.parseArn=void 0;var S95=(I)=>{let d=I.split(":");if(d.length<6)return null;let[G,Z,C,W,w,...B]=d;if(G!=="arn"||Z===""||C===""||B[0]==="")return null;return{partition:Z,service:C,region:W,accountId:w,resourceId:B[0].includes("/")?B[0].split("/"):B}};XJ0.parseArn=S95});var DJ0=Y((pL)=>{Object.defineProperty(pL,"__esModule",{value:!0});var FZ1=x1();FZ1.__exportStar(VJ0(),pL);FZ1.__exportStar(_J0(),pL);FZ1.__exportStar(VZ1(),pL)});var gJ0=Y((HJ0)=>{Object.defineProperty(HJ0,"__esModule",{value:!0});HJ0.booleanEquals=void 0;var L95=(I,d)=>I===d;HJ0.booleanEquals=L95});var zJ0=Y((KJ0)=>{Object.defineProperty(KJ0,"__esModule",{value:!0});KJ0.getAttrPathList=void 0;var JJ0=fZ(),y95=(I)=>{let d=I.split("."),G=[];for(let Z of d){let C=Z.indexOf("[");if(C!==-1){if(Z.indexOf("]")!==Z.length-1)throw new JJ0.EndpointError(`Path: '${I}' does not end with ']'`);let W=Z.slice(C+1,-1);if(Number.isNaN(parseInt(W)))throw new JJ0.EndpointError(`Invalid array index: '${W}' in path: '${I}'`);if(C!==0)G.push(Z.slice(0,C));G.push(W)}else G.push(Z)}return G};KJ0.getAttrPathList=y95});var qJ0=Y((QJ0)=>{Object.defineProperty(QJ0,"__esModule",{value:!0});QJ0.getAttr=void 0;var P95=fZ(),$95=zJ0(),u95=(I,d)=>$95.getAttrPathList(d).reduce((G,Z)=>{if(typeof G!=="object")throw new P95.EndpointError(`Index '${Z}' in '${d}' not found in '${JSON.stringify(I)}'`);else if(Array.isArray(G))return G[parseInt(Z)];return G[Z]},I);QJ0.getAttr=u95});var vJ0=Y((RJ0)=>{Object.defineProperty(RJ0,"__esModule",{value:!0});RJ0.isSet=void 0;var T95=(I)=>I!=null;RJ0.isSet=T95});var SJ0=Y((EJ0)=>{Object.defineProperty(EJ0,"__esModule",{value:!0});EJ0.not=void 0;var O95=(I)=>!I;EJ0.not=O95});var yJ0=Y((LJ0)=>{Object.defineProperty(LJ0,"__esModule",{value:!0})});var $J0=Y((PJ0)=>{Object.defineProperty(PJ0,"__esModule",{value:!0});PJ0.HttpAuthLocation=void 0;var m95;(function(I){I.HEADER="header",I.QUERY="query"})(m95=PJ0.HttpAuthLocation||(PJ0.HttpAuthLocation={}))});var TJ0=Y((uJ0)=>{Object.defineProperty(uJ0,"__esModule",{value:!0})});var mJ0=Y((OJ0)=>{Object.defineProperty(OJ0,"__esModule",{value:!0})});var bJ0=Y((lJ0)=>{Object.defineProperty(lJ0,"__esModule",{value:!0})});var jJ0=Y((hJ0)=>{Object.defineProperty(hJ0,"__esModule",{value:!0})});var xJ0=Y((kJ0)=>{Object.defineProperty(kJ0,"__esModule",{value:!0})});var pJ0=Y((cJ0)=>{Object.defineProperty(cJ0,"__esModule",{value:!0})});var iJ0=Y((iL)=>{Object.defineProperty(iL,"__esModule",{value:!0});var JZ1=x1();JZ1.__exportStar(jJ0(),iL);JZ1.__exportStar(xJ0(),iL);JZ1.__exportStar(pJ0(),iL)});var rJ0=Y((nJ0)=>{Object.defineProperty(nJ0,"__esModule",{value:!0})});var sJ0=Y((aJ0)=>{Object.defineProperty(aJ0,"__esModule",{value:!0})});var eJ0=Y((oJ0)=>{Object.defineProperty(oJ0,"__esModule",{value:!0});oJ0.HostAddressType=void 0;var l95;(function(I){I.AAAA="AAAA",I.A="A"})(l95=oJ0.HostAddressType||(oJ0.HostAddressType={}))});var IK0=Y((tJ0)=>{Object.defineProperty(tJ0,"__esModule",{value:!0});tJ0.EndpointURLScheme=void 0;var b95;(function(I){I.HTTP="http",I.HTTPS="https"})(b95=tJ0.EndpointURLScheme||(tJ0.EndpointURLScheme={}))});var GK0=Y((dK0)=>{Object.defineProperty(dK0,"__esModule",{value:!0})});var CK0=Y((ZK0)=>{Object.defineProperty(ZK0,"__esModule",{value:!0})});var wK0=Y((WK0)=>{Object.defineProperty(WK0,"__esModule",{value:!0})});var AK0=Y((BK0)=>{Object.defineProperty(BK0,"__esModule",{value:!0})});var XK0=Y((VK0)=>{Object.defineProperty(VK0,"__esModule",{value:!0})});var _K0=Y((YK0)=>{Object.defineProperty(YK0,"__esModule",{value:!0})});var HK0=Y((DK0)=>{Object.defineProperty(DK0,"__esModule",{value:!0})});var FK0=Y((ZJ)=>{Object.defineProperty(ZJ,"__esModule",{value:!0});var nL=x1();nL.__exportStar(wK0(),ZJ);nL.__exportStar(AK0(),ZJ);nL.__exportStar(XK0(),ZJ);nL.__exportStar(_K0(),ZJ);nL.__exportStar(HK0(),ZJ)});var JK0=Y((gK0)=>{Object.defineProperty(gK0,"__esModule",{value:!0})});var NK0=Y((KK0)=>{Object.defineProperty(KK0,"__esModule",{value:!0})});var QK0=Y((zK0)=>{Object.defineProperty(zK0,"__esModule",{value:!0})});var qK0=Y((fK0)=>{Object.defineProperty(fK0,"__esModule",{value:!0})});var UK0=Y((RK0)=>{Object.defineProperty(RK0,"__esModule",{value:!0})});var EK0=Y((vK0)=>{Object.defineProperty(vK0,"__esModule",{value:!0})});var SK0=Y((MK0)=>{Object.defineProperty(MK0,"__esModule",{value:!0})});var yK0=Y((LK0)=>{Object.defineProperty(LK0,"__esModule",{value:!0})});var $K0=Y((PK0)=>{Object.defineProperty(PK0,"__esModule",{value:!0})});var TK0=Y((uK0)=>{Object.defineProperty(uK0,"__esModule",{value:!0})});var mK0=Y((OK0)=>{Object.defineProperty(OK0,"__esModule",{value:!0})});var bK0=Y((lK0)=>{Object.defineProperty(lK0,"__esModule",{value:!0})});var jK0=Y((hK0)=>{Object.defineProperty(hK0,"__esModule",{value:!0});hK0.RequestHandlerProtocol=void 0;var h95;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(h95=hK0.RequestHandlerProtocol||(hK0.RequestHandlerProtocol={}))});var xK0=Y((kK0)=>{Object.defineProperty(kK0,"__esModule",{value:!0})});var pK0=Y((cK0)=>{Object.defineProperty(cK0,"__esModule",{value:!0})});var iK0=Y((i5)=>{Object.defineProperty(i5,"__esModule",{value:!0});var X9=x1();X9.__exportStar(yJ0(),i5);X9.__exportStar($J0(),i5);X9.__exportStar(TJ0(),i5);X9.__exportStar(mJ0(),i5);X9.__exportStar(bJ0(),i5);X9.__exportStar(iJ0(),i5);X9.__exportStar(rJ0(),i5);X9.__exportStar(sJ0(),i5);X9.__exportStar(eJ0(),i5);X9.__exportStar(IK0(),i5);X9.__exportStar(GK0(),i5);X9.__exportStar(CK0(),i5);X9.__exportStar(FK0(),i5);X9.__exportStar(JK0(),i5);X9.__exportStar(NK0(),i5);X9.__exportStar(QK0(),i5);X9.__exportStar(qK0(),i5);X9.__exportStar(UK0(),i5);X9.__exportStar(EK0(),i5);X9.__exportStar(SK0(),i5);X9.__exportStar(yK0(),i5);X9.__exportStar($K0(),i5);X9.__exportStar(TK0(),i5);X9.__exportStar(mK0(),i5);X9.__exportStar(bK0(),i5);X9.__exportStar(jK0(),i5);X9.__exportStar(xK0(),i5);X9.__exportStar(pK0(),i5)});var aK0=Y((nK0)=>{Object.defineProperty(nK0,"__esModule",{value:!0});nK0.parseURL=void 0;var fZ1=iK0(),j95=YZ1(),QZ1={[fZ1.EndpointURLScheme.HTTP]:80,[fZ1.EndpointURLScheme.HTTPS]:443},k95=(I)=>{let d=(()=>{try{if(I instanceof URL)return I;if(typeof I==="object"&&"hostname"in I){let{hostname:F,port:g,protocol:J="",path:K="",query:Q={}}=I,E=new URL(`${J}//${F}${g?`:${g}`:""}${K}`);return E.search=Object.entries(Q).map(([S,P])=>`${S}=${P}`).join("&"),E}return new URL(I)}catch(F){return null}})();if(!d)return console.error(`Unable to parse ${JSON.stringify(I)} as a whatwg URL.`),null;let G=d.href,{host:Z,hostname:C,pathname:W,protocol:w,search:B}=d;if(B)return null;let A=w.slice(0,-1);if(!Object.values(fZ1.EndpointURLScheme).includes(A))return null;let V=j95.isIpAddress(C),X=G.includes(`${Z}:${QZ1[A]}`)||typeof I==="string"&&I.includes(`${Z}:${QZ1[A]}`),_=`${Z}${X?`:${QZ1[A]}`:""}`;return{scheme:A,authority:_,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:V}};nK0.parseURL=k95});var eK0=Y((sK0)=>{Object.defineProperty(sK0,"__esModule",{value:!0});sK0.stringEquals=void 0;var x95=(I,d)=>I===d;sK0.stringEquals=x95});var dN0=Y((tK0)=>{Object.defineProperty(tK0,"__esModule",{value:!0});tK0.substring=void 0;var c95=(I,d,G,Z)=>{if(d>=G||I.length<G)return null;if(!Z)return I.substring(d,G);return I.substring(I.length-G,I.length-d)};tK0.substring=c95});var CN0=Y((GN0)=>{Object.defineProperty(GN0,"__esModule",{value:!0});GN0.uriEncode=void 0;var p95=(I)=>encodeURIComponent(I).replace(/[!*'()]/g,(d)=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`);GN0.uriEncode=p95});var qZ1=Y((kC)=>{Object.defineProperty(kC,"__esModule",{value:!0});kC.aws=void 0;var IB=x1();kC.aws=IB.__importStar(DJ0());IB.__exportStar(gJ0(),kC);IB.__exportStar(qJ0(),kC);IB.__exportStar(vJ0(),kC);IB.__exportStar(DZ1(),kC);IB.__exportStar(SJ0(),kC);IB.__exportStar(aK0(),kC);IB.__exportStar(eK0(),kC);IB.__exportStar(dN0(),kC);IB.__exportStar(CN0(),kC)});var RZ1=Y((wN0)=>{Object.defineProperty(wN0,"__esModule",{value:!0});wN0.evaluateTemplate=void 0;var i95=qZ1(),n95=(I,d)=>{let G=[],Z={...d.endpointParams,...d.referenceRecord},C=0;while(C<I.length){let W=I.indexOf("{",C);if(W===-1){G.push(I.slice(C));break}G.push(I.slice(C,W));let w=I.indexOf("}",W);if(w===-1){G.push(I.slice(W));break}if(I[W+1]==="{"&&I[w+1]==="}")G.push(I.slice(W+1,w)),C=w+2;let B=I.substring(W+1,w);if(B.includes("#")){let[A,V]=B.split("#");G.push(i95.getAttr(Z[A],V))}else G.push(Z[B]);C=w+1}return G.join("")};wN0.evaluateTemplate=n95});var XN0=Y((AN0)=>{Object.defineProperty(AN0,"__esModule",{value:!0});AN0.getReferenceValue=void 0;var r95=({ref:I},d)=>{return{...d.endpointParams,...d.referenceRecord}[I]};AN0.getReferenceValue=r95});var rL=Y((YN0)=>{Object.defineProperty(YN0,"__esModule",{value:!0});YN0.evaluateExpression=void 0;var a95=fZ(),s95=UZ1(),o95=RZ1(),e95=XN0(),t95=(I,d,G)=>{if(typeof I==="string")return o95.evaluateTemplate(I,G);else if(I.fn)return s95.callFunction(I,G);else if(I.ref)return e95.getReferenceValue(I,G);throw new a95.EndpointError(`'${d}': ${String(I)} is not a string, function or reference.`)};YN0.evaluateExpression=t95});var UZ1=Y((DN0)=>{Object.defineProperty(DN0,"__esModule",{value:!0});DN0.callFunction=void 0;var I35=x1(),d35=I35.__importStar(qZ1()),G35=rL(),Z35=({fn:I,argv:d},G)=>{let Z=d.map((C)=>["boolean","number"].includes(typeof C)?C:G35.evaluateExpression(C,"arg",G));return I.split(".").reduce((C,W)=>C[W],d35)(...Z)};DN0.callFunction=Z35});var JN0=Y((FN0)=>{Object.defineProperty(FN0,"__esModule",{value:!0});FN0.evaluateCondition=void 0;var vZ1=cL(),C35=fZ(),W35=UZ1(),w35=({assign:I,...d},G)=>{var Z,C;if(I&&I in G.referenceRecord)throw new C35.EndpointError(`'${I}' is already defined in Reference Record.`);let W=W35.callFunction(d,G);return(C=(Z=G.logger)===null||Z===void 0?void 0:Z.debug)===null||C===void 0||C.call(Z,vZ1.debugId,`evaluateCondition: ${vZ1.toDebugString(d)} = ${vZ1.toDebugString(W)}`),{result:W===""?!0:!!W,...I!=null&&{toAssign:{name:I,value:W}}}};FN0.evaluateCondition=w35});var Fp=Y((NN0)=>{Object.defineProperty(NN0,"__esModule",{value:!0});NN0.evaluateConditions=void 0;var KN0=cL(),B35=JN0(),A35=(I=[],d)=>{var G,Z;let C={};for(let W of I){let{result:w,toAssign:B}=B35.evaluateCondition(W,{...d,referenceRecord:{...d.referenceRecord,...C}});if(!w)return{result:w};if(B)C[B.name]=B.value,(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,KN0.debugId,`assign: ${B.name} := ${KN0.toDebugString(B.value)}`)}return{result:!0,referenceRecord:C}};NN0.evaluateConditions=A35});var qN0=Y((QN0)=>{Object.defineProperty(QN0,"__esModule",{value:!0});QN0.getEndpointHeaders=void 0;var V35=fZ(),X35=rL(),Y35=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:C.map((W)=>{let w=X35.evaluateExpression(W,"Header value entry",d);if(typeof w!=="string")throw new V35.EndpointError(`Header '${Z}' value '${w}' is not a string`);return w})}),{});QN0.getEndpointHeaders=Y35});var vN0=Y((UN0)=>{Object.defineProperty(UN0,"__esModule",{value:!0});UN0.getEndpointProperty=void 0;var RN0=fZ(),_35=RZ1(),D35=MZ1(),H35=(I,d)=>{if(Array.isArray(I))return I.map((G)=>UN0.getEndpointProperty(G,d));switch(typeof I){case"string":return _35.evaluateTemplate(I,d);case"object":if(I===null)throw new RN0.EndpointError(`Unexpected endpoint property: ${I}`);return D35.getEndpointProperties(I,d);case"boolean":return I;default:throw new RN0.EndpointError(`Unexpected endpoint property type: ${typeof I}`)}};UN0.getEndpointProperty=H35});var MZ1=Y((EN0)=>{Object.defineProperty(EN0,"__esModule",{value:!0});EN0.getEndpointProperties=void 0;var F35=vN0(),g35=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:F35.getEndpointProperty(C,d)}),{});EN0.getEndpointProperties=g35});var yN0=Y((SN0)=>{Object.defineProperty(SN0,"__esModule",{value:!0});SN0.getEndpointUrl=void 0;var J35=fZ(),K35=rL(),N35=(I,d)=>{let G=K35.evaluateExpression(I,"Endpoint URL",d);if(typeof G==="string")try{return new URL(G)}catch(Z){throw console.error(`Failed to construct URL with ${G}`,Z),Z}throw new J35.EndpointError(`Endpoint URL must be a string, got ${typeof G}`)};SN0.getEndpointUrl=N35});var TN0=Y(($N0)=>{Object.defineProperty($N0,"__esModule",{value:!0});$N0.evaluateEndpointRule=void 0;var PN0=cL(),z35=Fp(),Q35=qN0(),f35=MZ1(),q35=yN0(),R35=(I,d)=>{var G,Z;let{conditions:C,endpoint:W}=I,{result:w,referenceRecord:B}=z35.evaluateConditions(C,d);if(!w)return;let A={...d,referenceRecord:{...d.referenceRecord,...B}},{url:V,properties:X,headers:_}=W;return(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,PN0.debugId,`Resolving endpoint from template: ${PN0.toDebugString(W)}`),{..._!=null&&{headers:Q35.getEndpointHeaders(_,A)},...X!=null&&{properties:f35.getEndpointProperties(X,A)},url:q35.getEndpointUrl(V,A)}};$N0.evaluateEndpointRule=R35});var lN0=Y((ON0)=>{Object.defineProperty(ON0,"__esModule",{value:!0});ON0.evaluateErrorRule=void 0;var U35=fZ(),v35=Fp(),E35=rL(),M35=(I,d)=>{let{conditions:G,error:Z}=I,{result:C,referenceRecord:W}=v35.evaluateConditions(G,d);if(!C)return;throw new U35.EndpointError(E35.evaluateExpression(Z,"Error",{...d,referenceRecord:{...d.referenceRecord,...W}}))};ON0.evaluateErrorRule=M35});var jN0=Y((bN0)=>{Object.defineProperty(bN0,"__esModule",{value:!0});bN0.evaluateTreeRule=void 0;var S35=Fp(),L35=SZ1(),y35=(I,d)=>{let{conditions:G,rules:Z}=I,{result:C,referenceRecord:W}=S35.evaluateConditions(G,d);if(!C)return;return L35.evaluateRules(Z,{...d,referenceRecord:{...d.referenceRecord,...W}})};bN0.evaluateTreeRule=y35});var SZ1=Y((xN0)=>{Object.defineProperty(xN0,"__esModule",{value:!0});xN0.evaluateRules=void 0;var kN0=fZ(),P35=TN0(),$35=lN0(),u35=jN0(),T35=(I,d)=>{for(let G of I)if(G.type==="endpoint"){let Z=P35.evaluateEndpointRule(G,d);if(Z)return Z}else if(G.type==="error")$35.evaluateErrorRule(G,d);else if(G.type==="tree"){let Z=u35.evaluateTreeRule(G,d);if(Z)return Z}else throw new kN0.EndpointError(`Unknown endpoint rule: ${G}`);throw new kN0.EndpointError("Rules evaluation failed")};xN0.evaluateRules=T35});var pN0=Y((LZ1)=>{Object.defineProperty(LZ1,"__esModule",{value:!0});var O35=x1();O35.__exportStar(SZ1(),LZ1)});var rN0=Y((iN0)=>{Object.defineProperty(iN0,"__esModule",{value:!0});iN0.resolveEndpoint=void 0;var gp=cL(),m35=fZ(),l35=pN0(),b35=(I,d)=>{var G,Z,C,W,w,B;let{endpointParams:A,logger:V}=d,{parameters:X,rules:_}=I;(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,`${gp.debugId} Initial EndpointParams: ${gp.toDebugString(A)}`);let F=Object.entries(X).filter(([,K])=>K.default!=null).map(([K,Q])=>[K,Q.default]);if(F.length>0)for(let[K,Q]of F)A[K]=(C=A[K])!==null&&C!==void 0?C:Q;let g=Object.entries(X).filter(([,K])=>K.required).map(([K])=>K);for(let K of g)if(A[K]==null)throw new m35.EndpointError(`Missing required parameter: '${K}'`);let J=l35.evaluateRules(_,{endpointParams:A,logger:V,referenceRecord:{}});if((W=d.endpointParams)===null||W===void 0?void 0:W.Endpoint)try{let K=new URL(d.endpointParams.Endpoint),{protocol:Q,port:E}=K;J.url.protocol=Q,J.url.port=E}catch(K){}return(B=(w=d.logger)===null||w===void 0?void 0:w.debug)===null||B===void 0||B.call(w,`${gp.debugId} Resolved endpoint: ${gp.toDebugString(J)}`),J};iN0.resolveEndpoint=b35});var PZ1=Y((aL)=>{Object.defineProperty(aL,"__esModule",{value:!0});var yZ1=x1();yZ1.__exportStar(VZ1(),aL);yZ1.__exportStar(rN0(),aL);yZ1.__exportStar(fZ(),aL)});var oN0=Y((aN0)=>{Object.defineProperty(aN0,"__esModule",{value:!0});aN0.UA_ESCAPE_REGEX=aN0.SPACE=aN0.X_AMZ_USER_AGENT=aN0.USER_AGENT=void 0;aN0.USER_AGENT="user-agent";aN0.X_AMZ_USER_AGENT="x-amz-user-agent";aN0.SPACE=" ";aN0.UA_ESCAPE_REGEX=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g});var Gz0=Y((eN0)=>{Object.defineProperty(eN0,"__esModule",{value:!0});eN0.getUserAgentPlugin=eN0.getUserAgentMiddlewareOptions=eN0.userAgentMiddleware=void 0;var x35=J8(),c35=PZ1(),o_=oN0(),p35=(I)=>(d,G)=>async(Z)=>{var C,W;let{request:w}=Z;if(!x35.HttpRequest.isInstance(w))return d(Z);let{headers:B}=w,A=((C=G===null||G===void 0?void 0:G.userAgent)===null||C===void 0?void 0:C.map($Z1))||[],V=(await I.defaultUserAgentProvider()).map($Z1),X=((W=I===null||I===void 0?void 0:I.customUserAgent)===null||W===void 0?void 0:W.map($Z1))||[],_=c35.getUserAgentPrefix(),F=(_?[_]:[]).concat([...V,...A,...X]).join(o_.SPACE),g=[...V.filter((J)=>J.startsWith("aws-sdk-")),...X].join(o_.SPACE);if(I.runtime!=="browser"){if(g)B[o_.X_AMZ_USER_AGENT]=B[o_.X_AMZ_USER_AGENT]?`${B[o_.USER_AGENT]} ${g}`:g;B[o_.USER_AGENT]=F}else B[o_.X_AMZ_USER_AGENT]=F;return d({...Z,request:w})};eN0.userAgentMiddleware=p35;var $Z1=([I,d])=>{let G=I.indexOf("/"),Z=I.substring(0,G),C=I.substring(G+1);if(Z==="api")C=C.toLowerCase();return[Z,C,d].filter((W)=>W&&W.length>0).map((W)=>W===null||W===void 0?void 0:W.replace(o_.UA_ESCAPE_REGEX,"_")).join("/")};eN0.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var i35=(I)=>({applyToStack:(d)=>{d.add(eN0.userAgentMiddleware(I),eN0.getUserAgentMiddlewareOptions)}});eN0.getUserAgentPlugin=i35});var Cz0=Y((Jp)=>{Object.defineProperty(Jp,"__esModule",{value:!0});var Zz0=x1();Zz0.__exportStar(Lg0(),Jp);Zz0.__exportStar(Gz0(),Jp)});var Bz0=Y((Wz0)=>{Object.defineProperty(Wz0,"__esModule",{value:!0});Wz0.resolveClientEndpointParameters=void 0;var n35=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"awsssooidc"}};Wz0.resolveClientEndpointParameters=n35});var Az0=Y((t23,r35)=>{r35.exports={name:"@aws-sdk/client-sso-oidc",description:"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso-oidc"}}});var _z0=Y((Vz0,Xz0)=>{Object.defineProperty(Vz0,"__esModule",{value:!0});Vz0.isCrtAvailable=void 0;var a35=()=>{try{if(typeof Xz0!=="undefined"&&(()=>{throw new Error("Cannot require module "+"aws-crt");})())return["md/crt-avail"];return null}catch(I){return null}};Vz0.isCrtAvailable=a35});var Kz0=Y((Hz0)=>{Object.defineProperty(Hz0,"__esModule",{value:!0});Hz0.defaultUserAgent=Hz0.UA_APP_ID_INI_NAME=Hz0.UA_APP_ID_ENV_NAME=void 0;var s35=QZ(),Dz0=B1("os"),uZ1=B1("process"),o35=_z0();Hz0.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";Hz0.UA_APP_ID_INI_NAME="sdk-ua-app-id";var e35=({serviceId:I,clientVersion:d})=>{let G=[["aws-sdk-js",d],[`os/${Dz0.platform()}`,Dz0.release()],["lang/js"],["md/nodejs",`${uZ1.versions.node}`]],Z=o35.isCrtAvailable();if(Z)G.push(Z);if(I)G.push([`api/${I}`,d]);if(uZ1.env.AWS_EXECUTION_ENV)G.push([`exec-env/${uZ1.env.AWS_EXECUTION_ENV}`]);let C=s35.loadConfig({environmentVariableSelector:(w)=>w[Hz0.UA_APP_ID_ENV_NAME],configFileSelector:(w)=>w[Hz0.UA_APP_ID_INI_NAME],default:void 0})(),W=void 0;return async()=>{if(!W){let w=await C;W=w?[...G,[`app/${w}`]]:[...G]}return W}};Hz0.defaultUserAgent=e35});var Pz0=Y((Lz0)=>{Object.defineProperty(Lz0,"__esModule",{value:!0});Lz0.ruleSet=void 0;var vz0="required",UV="fn",vV="argv",cf="ref",TZ1="PartitionResult",dB="tree",sL="error",oL="endpoint",Nz0={[vz0]:!1,type:"String"},zz0={[vz0]:!0,default:!1,type:"Boolean"},Ez0={[cf]:"Endpoint"},Mz0={[UV]:"booleanEquals",[vV]:[{[cf]:"UseFIPS"},!0]},Sz0={[UV]:"booleanEquals",[vV]:[{[cf]:"UseDualStack"},!0]},GB={},Qz0={[UV]:"booleanEquals",[vV]:[!0,{[UV]:"getAttr",[vV]:[{[cf]:TZ1},"supportsFIPS"]}]},fz0={[UV]:"booleanEquals",[vV]:[!0,{[UV]:"getAttr",[vV]:[{[cf]:TZ1},"supportsDualStack"]}]},qz0=[Ez0],Rz0=[Mz0],Uz0=[Sz0],t35={version:"1.0",parameters:{Region:Nz0,UseDualStack:zz0,UseFIPS:zz0,Endpoint:Nz0},rules:[{conditions:[{[UV]:"aws.partition",[vV]:[{[cf]:"Region"}],assign:TZ1}],type:dB,rules:[{conditions:[{[UV]:"isSet",[vV]:qz0},{[UV]:"parseURL",[vV]:qz0,assign:"url"}],type:dB,rules:[{conditions:Rz0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:sL},{type:dB,rules:[{conditions:Uz0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:sL},{endpoint:{url:Ez0,properties:GB,headers:GB},type:oL}]}]},{conditions:[Mz0,Sz0],type:dB,rules:[{conditions:[Qz0,fz0],type:dB,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:GB,headers:GB},type:oL}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:sL}]},{conditions:Rz0,type:dB,rules:[{conditions:[Qz0],type:dB,rules:[{type:dB,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:GB,headers:GB},type:oL}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:sL}]},{conditions:Uz0,type:dB,rules:[{conditions:[fz0],type:dB,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:GB,headers:GB},type:oL}]},{error:"DualStack is enabled but this partition does not support DualStack",type:sL}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:GB,headers:GB},type:oL}]}]};Lz0.ruleSet=t35});var Tz0=Y(($z0)=>{Object.defineProperty($z0,"__esModule",{value:!0});$z0.defaultEndpointResolver=void 0;var I65=PZ1(),d65=Pz0(),G65=(I,d={})=>{return I65.resolveEndpoint(d65.ruleSet,{endpointParams:I,logger:d.logger})};$z0.defaultEndpointResolver=G65});var hz0=Y((lz0)=>{Object.defineProperty(lz0,"__esModule",{value:!0});lz0.getRuntimeConfig=void 0;var Z65=v0(),C65=FV(),Oz0=IJ(),mz0=hC(),W65=Tz0(),w65=(I)=>({apiVersion:"2019-06-10",base64Decoder:I?.base64Decoder??Oz0.fromBase64,base64Encoder:I?.base64Encoder??Oz0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??W65.defaultEndpointResolver,logger:I?.logger??new Z65.NoOpLogger,serviceId:I?.serviceId??"SSO OIDC",urlParser:I?.urlParser??C65.parseUrl,utf8Decoder:I?.utf8Decoder??mz0.fromUtf8,utf8Encoder:I?.utf8Encoder??mz0.toUtf8});lz0.getRuntimeConfig=w65});var pz0=Y((xz0)=>{Object.defineProperty(xz0,"__esModule",{value:!0});xz0.getRuntimeConfig=void 0;var B65=x1(),A65=B65.__importDefault(Az0()),Kp=Cd(),V65=og(),jz0=dG(),eL=QZ(),kz0=eg(),X65=tg(),Y65=Wd(),_65=Kz0(),D65=hz0(),H65=v0(),F65=dJ(),g65=v0(),J65=(I)=>{g65.emitWarningIfUnsupportedVersion(process.version);let d=F65.resolveDefaultsModeConfig(I),G=()=>d().then(H65.loadConfigsForDefaultMode),Z=D65.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??X65.calculateBodyLength,defaultUserAgentProvider:I?.defaultUserAgentProvider??_65.defaultUserAgent({serviceId:Z.serviceId,clientVersion:A65.default.version}),maxAttempts:I?.maxAttempts??eL.loadConfig(jz0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??eL.loadConfig(Kp.NODE_REGION_CONFIG_OPTIONS,Kp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new kz0.NodeHttpHandler(G),retryMode:I?.retryMode??eL.loadConfig({...jz0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||Y65.DEFAULT_RETRY_MODE}),sha256:I?.sha256??V65.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??kz0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??eL.loadConfig(Kp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??eL.loadConfig(Kp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};xz0.getRuntimeConfig=J65});var mZ1=Y((OZ1)=>{Object.defineProperty(OZ1,"__esModule",{value:!0});OZ1.SSOOIDCClient=OZ1.__Client=void 0;var K65=Cd(),N65=jg(),z65=u2(),iz0=Fg0(),Q65=Qg0(),f65=Eg0(),nz0=dG(),rz0=Cz0(),az0=v0();Object.defineProperty(OZ1,"__Client",{enumerable:!0,get:function(){return az0.Client}});var q65=Bz0(),R65=pz0();class sz0 extends az0.Client{constructor(I){let d=R65.getRuntimeConfig(I),G=q65.resolveClientEndpointParameters(d),Z=K65.resolveRegionConfig(G),C=z65.resolveEndpointConfig(Z),W=nz0.resolveRetryConfig(C),w=iz0.resolveHostHeaderConfig(W),B=rz0.resolveUserAgentConfig(w);super(B);this.config=B,this.middlewareStack.use(nz0.getRetryPlugin(this.config)),this.middlewareStack.use(N65.getContentLengthPlugin(this.config)),this.middlewareStack.use(iz0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Q65.getLoggerPlugin(this.config)),this.middlewareStack.use(f65.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(rz0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}OZ1.SSOOIDCClient=sz0});var tz0=Y((ez0)=>{Object.defineProperty(ez0,"__esModule",{value:!0})});var dQ0=Y((IQ0)=>{Object.defineProperty(IQ0,"__esModule",{value:!0});IQ0.HttpAuthLocation=void 0;var U65;(function(I){I.HEADER="header",I.QUERY="query"})(U65=IQ0.HttpAuthLocation||(IQ0.HttpAuthLocation={}))});var ZQ0=Y((GQ0)=>{Object.defineProperty(GQ0,"__esModule",{value:!0})});var WQ0=Y((CQ0)=>{Object.defineProperty(CQ0,"__esModule",{value:!0})});var BQ0=Y((wQ0)=>{Object.defineProperty(wQ0,"__esModule",{value:!0})});var VQ0=Y((AQ0)=>{Object.defineProperty(AQ0,"__esModule",{value:!0})});var YQ0=Y((XQ0)=>{Object.defineProperty(XQ0,"__esModule",{value:!0})});var DQ0=Y((_Q0)=>{Object.defineProperty(_Q0,"__esModule",{value:!0})});var FQ0=Y((HQ0)=>{Object.defineProperty(HQ0,"__esModule",{value:!0})});var gQ0=Y((tL)=>{Object.defineProperty(tL,"__esModule",{value:!0});var bZ1=x1();bZ1.__exportStar(YQ0(),tL);bZ1.__exportStar(DQ0(),tL);bZ1.__exportStar(FQ0(),tL)});var KQ0=Y((JQ0)=>{Object.defineProperty(JQ0,"__esModule",{value:!0})});var zQ0=Y((NQ0)=>{Object.defineProperty(NQ0,"__esModule",{value:!0})});var fQ0=Y((QQ0)=>{Object.defineProperty(QQ0,"__esModule",{value:!0});QQ0.EndpointURLScheme=void 0;var v65;(function(I){I.HTTP="http",I.HTTPS="https"})(v65=QQ0.EndpointURLScheme||(QQ0.EndpointURLScheme={}))});var RQ0=Y((qQ0)=>{Object.defineProperty(qQ0,"__esModule",{value:!0})});var vQ0=Y((UQ0)=>{Object.defineProperty(UQ0,"__esModule",{value:!0})});var MQ0=Y((EQ0)=>{Object.defineProperty(EQ0,"__esModule",{value:!0})});var LQ0=Y((SQ0)=>{Object.defineProperty(SQ0,"__esModule",{value:!0})});var PQ0=Y((yQ0)=>{Object.defineProperty(yQ0,"__esModule",{value:!0})});var $Q0=Y((CJ)=>{Object.defineProperty(CJ,"__esModule",{value:!0});var Iy=x1();Iy.__exportStar(RQ0(),CJ);Iy.__exportStar(vQ0(),CJ);Iy.__exportStar(MQ0(),CJ);Iy.__exportStar(LQ0(),CJ);Iy.__exportStar(PQ0(),CJ)});var TQ0=Y((uQ0)=>{Object.defineProperty(uQ0,"__esModule",{value:!0})});var mQ0=Y((OQ0)=>{Object.defineProperty(OQ0,"__esModule",{value:!0});OQ0.FieldPosition=void 0;var E65;(function(I){I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER"})(E65=OQ0.FieldPosition||(OQ0.FieldPosition={}))});var bQ0=Y((lQ0)=>{Object.defineProperty(lQ0,"__esModule",{value:!0})});var jQ0=Y((hQ0)=>{Object.defineProperty(hQ0,"__esModule",{value:!0})});var xQ0=Y((Np)=>{Object.defineProperty(Np,"__esModule",{value:!0});var kQ0=x1();kQ0.__exportStar(bQ0(),Np);kQ0.__exportStar(jQ0(),Np)});var pQ0=Y((cQ0)=>{Object.defineProperty(cQ0,"__esModule",{value:!0})});var nQ0=Y((iQ0)=>{Object.defineProperty(iQ0,"__esModule",{value:!0})});var aQ0=Y((rQ0)=>{Object.defineProperty(rQ0,"__esModule",{value:!0})});var oQ0=Y((sQ0)=>{Object.defineProperty(sQ0,"__esModule",{value:!0})});var tQ0=Y((eQ0)=>{Object.defineProperty(eQ0,"__esModule",{value:!0})});var df0=Y((If0)=>{Object.defineProperty(If0,"__esModule",{value:!0})});var Zf0=Y((Gf0)=>{Object.defineProperty(Gf0,"__esModule",{value:!0})});var Wf0=Y((Cf0)=>{Object.defineProperty(Cf0,"__esModule",{value:!0})});var Bf0=Y((wf0)=>{Object.defineProperty(wf0,"__esModule",{value:!0})});var Vf0=Y((Af0)=>{Object.defineProperty(Af0,"__esModule",{value:!0})});var Yf0=Y((Xf0)=>{Object.defineProperty(Xf0,"__esModule",{value:!0})});var Df0=Y((_f0)=>{Object.defineProperty(_f0,"__esModule",{value:!0})});var Ff0=Y((Hf0)=>{Object.defineProperty(Hf0,"__esModule",{value:!0})});var Jf0=Y((gf0)=>{Object.defineProperty(gf0,"__esModule",{value:!0});gf0.RequestHandlerProtocol=void 0;var M65;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(M65=gf0.RequestHandlerProtocol||(gf0.RequestHandlerProtocol={}))});var Nf0=Y((Kf0)=>{Object.defineProperty(Kf0,"__esModule",{value:!0})});var Qf0=Y((zf0)=>{Object.defineProperty(zf0,"__esModule",{value:!0})});var qf0=Y((ff0)=>{Object.defineProperty(ff0,"__esModule",{value:!0})});var Uf0=Y((Rf0)=>{Object.defineProperty(Rf0,"__esModule",{value:!0})});var Ef0=Y((vf0)=>{Object.defineProperty(vf0,"__esModule",{value:!0})});var Mf0=Y((A5)=>{Object.defineProperty(A5,"__esModule",{value:!0});var f5=x1();f5.__exportStar(tz0(),A5);f5.__exportStar(dQ0(),A5);f5.__exportStar(ZQ0(),A5);f5.__exportStar(WQ0(),A5);f5.__exportStar(BQ0(),A5);f5.__exportStar(VQ0(),A5);f5.__exportStar(gQ0(),A5);f5.__exportStar(KQ0(),A5);f5.__exportStar(zQ0(),A5);f5.__exportStar(fQ0(),A5);f5.__exportStar($Q0(),A5);f5.__exportStar(TQ0(),A5);f5.__exportStar(mQ0(),A5);f5.__exportStar(xQ0(),A5);f5.__exportStar(pQ0(),A5);f5.__exportStar(nQ0(),A5);f5.__exportStar(aQ0(),A5);f5.__exportStar(oQ0(),A5);f5.__exportStar(tQ0(),A5);f5.__exportStar(df0(),A5);f5.__exportStar(Zf0(),A5);f5.__exportStar(Wf0(),A5);f5.__exportStar(Bf0(),A5);f5.__exportStar(Vf0(),A5);f5.__exportStar(Yf0(),A5);f5.__exportStar(Df0(),A5);f5.__exportStar(Ff0(),A5);f5.__exportStar(Jf0(),A5);f5.__exportStar(Nf0(),A5);f5.__exportStar(Qf0(),A5);f5.__exportStar(qf0(),A5);f5.__exportStar(Uf0(),A5);f5.__exportStar(Ef0(),A5)});var Pf0=Y((Lf0)=>{Object.defineProperty(Lf0,"__esModule",{value:!0});Lf0.Field=void 0;var S65=Mf0();class Sf0{constructor({name:I,kind:d=S65.FieldPosition.HEADER,values:G=[]}){this.name=I,this.kind=d,this.values=G}add(I){this.values.push(I)}set(I){this.values=I}remove(I){this.values=this.values.filter((d)=>d!==I)}toString(){return this.values.map((I)=>I.includes(",")||I.includes(" ")?`"${I}"`:I).join(", ")}get(){return this.values}}Lf0.Field=Sf0});var Of0=Y((uf0)=>{Object.defineProperty(uf0,"__esModule",{value:!0});uf0.Fields=void 0;class $f0{constructor({fields:I=[],encoding:d="utf-8"}){this.entries={},I.forEach(this.setField.bind(this)),this.encoding=d}setField(I){this.entries[I.name.toLowerCase()]=I}getField(I){return this.entries[I.toLowerCase()]}removeField(I){delete this.entries[I.toLowerCase()]}getByType(I){return Object.values(this.entries).filter((d)=>d.kind===I)}}uf0.Fields=$f0});var lf0=Y((mf0)=>{Object.defineProperty(mf0,"__esModule",{value:!0})});var jf0=Y((bf0)=>{Object.defineProperty(bf0,"__esModule",{value:!0});bf0.HttpRequest=void 0;class xZ1{constructor(I){this.method=I.method||"GET",this.hostname=I.hostname||"localhost",this.port=I.port,this.query=I.query||{},this.headers=I.headers||{},this.body=I.body,this.protocol=I.protocol?I.protocol.slice(-1)!==":"?`${I.protocol}:`:I.protocol:"https:",this.path=I.path?I.path.charAt(0)!=="/"?`/${I.path}`:I.path:"/",this.username=I.username,this.password=I.password,this.fragment=I.fragment}static isInstance(I){if(!I)return!1;let d=I;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d.query==="object"&&typeof d.headers==="object"}clone(){let I=new xZ1({...this,headers:{...this.headers}});if(I.query)I.query=L65(I.query);return I}}bf0.HttpRequest=xZ1;function L65(I){return Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{})}});var pf0=Y((xf0)=>{Object.defineProperty(xf0,"__esModule",{value:!0});xf0.HttpResponse=void 0;class kf0{constructor(I){this.statusCode=I.statusCode,this.reason=I.reason,this.headers=I.headers||{},this.body=I.body}static isInstance(I){if(!I)return!1;let d=I;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}xf0.HttpResponse=kf0});var rf0=Y((if0)=>{Object.defineProperty(if0,"__esModule",{value:!0});if0.isValidHostname=void 0;function y65(I){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(I)}if0.isValidHostname=y65});var sf0=Y((af0)=>{Object.defineProperty(af0,"__esModule",{value:!0})});var of0=Y((EV)=>{Object.defineProperty(EV,"__esModule",{value:!0});var WJ=x1();WJ.__exportStar(Pf0(),EV);WJ.__exportStar(Of0(),EV);WJ.__exportStar(lf0(),EV);WJ.__exportStar(jf0(),EV);WJ.__exportStar(pf0(),EV);WJ.__exportStar(rf0(),EV);WJ.__exportStar(sf0(),EV)});var zp=Y((pZ1)=>{Object.defineProperty(pZ1,"__esModule",{value:!0});pZ1.SSOOIDCServiceException=pZ1.__ServiceException=void 0;var ef0=v0();Object.defineProperty(pZ1,"__ServiceException",{enumerable:!0,get:function(){return ef0.ServiceException}});class cZ1 extends ef0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,cZ1.prototype)}}pZ1.SSOOIDCServiceException=cZ1});var CC1=Y((Iq0)=>{Object.defineProperty(Iq0,"__esModule",{value:!0});Iq0.InvalidClientMetadataException=Iq0.UnsupportedGrantTypeException=Iq0.UnauthorizedClientException=Iq0.SlowDownException=Iq0.InvalidScopeException=Iq0.InvalidRequestException=Iq0.InvalidGrantException=Iq0.InvalidClientException=Iq0.InternalServerException=Iq0.ExpiredTokenException=Iq0.AuthorizationPendingException=Iq0.AccessDeniedException=void 0;var qZ=zp();class iZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"AccessDeniedException",$fault:"client",...I});this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,iZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.AccessDeniedException=iZ1;class nZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"AuthorizationPendingException",$fault:"client",...I});this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,nZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.AuthorizationPendingException=nZ1;class rZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"ExpiredTokenException",$fault:"client",...I});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,rZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.ExpiredTokenException=rZ1;class aZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InternalServerException",$fault:"server",...I});this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,aZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InternalServerException=aZ1;class sZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InvalidClientException",$fault:"client",...I});this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,sZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InvalidClientException=sZ1;class oZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InvalidGrantException",$fault:"client",...I});this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,oZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InvalidGrantException=oZ1;class eZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InvalidRequestException",$fault:"client",...I});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,eZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InvalidRequestException=eZ1;class tZ1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InvalidScopeException",$fault:"client",...I});this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,tZ1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InvalidScopeException=tZ1;class IC1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"SlowDownException",$fault:"client",...I});this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,IC1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.SlowDownException=IC1;class dC1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"UnauthorizedClientException",$fault:"client",...I});this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,dC1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.UnauthorizedClientException=dC1;class GC1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"UnsupportedGrantTypeException",$fault:"client",...I});this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,GC1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.UnsupportedGrantTypeException=GC1;class ZC1 extends qZ.SSOOIDCServiceException{constructor(I){super({name:"InvalidClientMetadataException",$fault:"client",...I});this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,ZC1.prototype),this.error=I.error,this.error_description=I.error_description}}Iq0.InvalidClientMetadataException=ZC1});var fp=Y((wq0)=>{Object.defineProperty(wq0,"__esModule",{value:!0});wq0.de_StartDeviceAuthorizationCommand=wq0.de_RegisterClientCommand=wq0.de_CreateTokenCommand=wq0.se_StartDeviceAuthorizationCommand=wq0.se_RegisterClientCommand=wq0.se_CreateTokenCommand=void 0;var L0=v0(),WC1=of0(),RZ=CC1(),x65=zp(),c65=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/token`,A;return A=JSON.stringify(L0.take(I,{clientId:[],clientSecret:[],code:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:(V)=>L0._json(V)})),new WC1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};wq0.se_CreateTokenCommand=c65;var p65=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/client/register`,A;return A=JSON.stringify(L0.take(I,{clientName:[],clientType:[],scopes:(V)=>L0._json(V)})),new WC1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};wq0.se_RegisterClientCommand=p65;var i65=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/device_authorization`,A;return A=JSON.stringify(L0.take(I,{clientId:[],clientSecret:[],startUrl:[]})),new WC1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};wq0.se_StartDeviceAuthorizationCommand=i65;var n65=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return r65(I,d);let G=L0.map({$metadata:AI(I)}),Z=L0.expectNonNull(L0.expectObject(await Qp(I.body,d)),"body"),C=L0.take(Z,{accessToken:L0.expectString,expiresIn:L0.expectInt32,idToken:L0.expectString,refreshToken:L0.expectString,tokenType:L0.expectString});return Object.assign(G,C),G};wq0.de_CreateTokenCommand=n65;var r65=async(I,d)=>{let G={...I,body:await VC1(I.body,d)},Z=XC1(I,G.body);switch(Z){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await t65(G,d);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await I85(G,d);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await d85(G,d);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await BC1(G,d);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await Gq0(G,d);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await Z85(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await AC1(G,d);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await Zq0(G,d);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await Cq0(G,d);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await Wq0(G,d);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await C85(G,d);default:let C=G.body;return wC1({output:I,parsedBody:C,errorCode:Z})}},a65=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return s65(I,d);let G=L0.map({$metadata:AI(I)}),Z=L0.expectNonNull(L0.expectObject(await Qp(I.body,d)),"body"),C=L0.take(Z,{authorizationEndpoint:L0.expectString,clientId:L0.expectString,clientIdIssuedAt:L0.expectLong,clientSecret:L0.expectString,clientSecretExpiresAt:L0.expectLong,tokenEndpoint:L0.expectString});return Object.assign(G,C),G};wq0.de_RegisterClientCommand=a65;var s65=async(I,d)=>{let G={...I,body:await VC1(I.body,d)},Z=XC1(I,G.body);switch(Z){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await BC1(G,d);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await G85(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await AC1(G,d);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await Zq0(G,d);default:let C=G.body;return wC1({output:I,parsedBody:C,errorCode:Z})}},o65=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return e65(I,d);let G=L0.map({$metadata:AI(I)}),Z=L0.expectNonNull(L0.expectObject(await Qp(I.body,d)),"body"),C=L0.take(Z,{deviceCode:L0.expectString,expiresIn:L0.expectInt32,interval:L0.expectInt32,userCode:L0.expectString,verificationUri:L0.expectString,verificationUriComplete:L0.expectString});return Object.assign(G,C),G};wq0.de_StartDeviceAuthorizationCommand=o65;var e65=async(I,d)=>{let G={...I,body:await VC1(I.body,d)},Z=XC1(I,G.body);switch(Z){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await BC1(G,d);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await Gq0(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await AC1(G,d);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await Cq0(G,d);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await Wq0(G,d);default:let C=G.body;return wC1({output:I,parsedBody:C,errorCode:Z})}},wC1=L0.withBaseException(x65.SSOOIDCServiceException),t65=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.AccessDeniedException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},I85=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.AuthorizationPendingException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},d85=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.ExpiredTokenException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},BC1=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InternalServerException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},Gq0=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InvalidClientException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},G85=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InvalidClientMetadataException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},Z85=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InvalidGrantException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},AC1=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InvalidRequestException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},Zq0=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.InvalidScopeException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},Cq0=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.SlowDownException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},Wq0=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.UnauthorizedClientException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},C85=async(I,d)=>{let G=L0.map({}),Z=I.body,C=L0.take(Z,{error:L0.expectString,error_description:L0.expectString});Object.assign(G,C);let W=new RZ.UnsupportedGrantTypeException({$metadata:AI(I),...G});return L0.decorateServiceException(W,I.body)},AI=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),W85=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},w85=(I,d)=>W85(I,d).then((G)=>d.utf8Encoder(G)),Qp=(I,d)=>w85(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),VC1=async(I,d)=>{let G=await Qp(I,d);return G.message=G.message??G.Message,G},XC1=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var DC1=Y((_C1)=>{Object.defineProperty(_C1,"__esModule",{value:!0});_C1.CreateTokenCommand=_C1.$Command=void 0;var _85=u2(),D85=r2(),Vq0=v0();Object.defineProperty(_C1,"$Command",{enumerable:!0,get:function(){return Vq0.Command}});var Aq0=fp();class YC1 extends Vq0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(D85.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(_85.getEndpointPlugin(d,YC1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOOIDCClient",commandName:"CreateTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Aq0.se_CreateTokenCommand(I,d)}deserialize(I,d){return Aq0.de_CreateTokenCommand(I,d)}}_C1.CreateTokenCommand=YC1});var gC1=Y((FC1)=>{Object.defineProperty(FC1,"__esModule",{value:!0});FC1.RegisterClientCommand=FC1.$Command=void 0;var H85=u2(),F85=r2(),_q0=v0();Object.defineProperty(FC1,"$Command",{enumerable:!0,get:function(){return _q0.Command}});var Yq0=fp();class HC1 extends _q0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(F85.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(H85.getEndpointPlugin(d,HC1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOOIDCClient",commandName:"RegisterClientCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Yq0.se_RegisterClientCommand(I,d)}deserialize(I,d){return Yq0.de_RegisterClientCommand(I,d)}}FC1.RegisterClientCommand=HC1});var NC1=Y((KC1)=>{Object.defineProperty(KC1,"__esModule",{value:!0});KC1.StartDeviceAuthorizationCommand=KC1.$Command=void 0;var g85=u2(),J85=r2(),Fq0=v0();Object.defineProperty(KC1,"$Command",{enumerable:!0,get:function(){return Fq0.Command}});var Hq0=fp();class JC1 extends Fq0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(J85.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(g85.getEndpointPlugin(d,JC1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOOIDCClient",commandName:"StartDeviceAuthorizationCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Hq0.se_StartDeviceAuthorizationCommand(I,d)}deserialize(I,d){return Hq0.de_StartDeviceAuthorizationCommand(I,d)}}KC1.StartDeviceAuthorizationCommand=JC1});var Nq0=Y((Jq0)=>{Object.defineProperty(Jq0,"__esModule",{value:!0});Jq0.SSOOIDC=void 0;var K85=v0(),N85=DC1(),z85=gC1(),Q85=NC1(),f85=mZ1(),q85={CreateTokenCommand:N85.CreateTokenCommand,RegisterClientCommand:z85.RegisterClientCommand,StartDeviceAuthorizationCommand:Q85.StartDeviceAuthorizationCommand};class zC1 extends f85.SSOOIDCClient{}Jq0.SSOOIDC=zC1;K85.createAggregatedClient(q85,zC1)});var zq0=Y((dy)=>{Object.defineProperty(dy,"__esModule",{value:!0});var QC1=x1();QC1.__exportStar(DC1(),dy);QC1.__exportStar(gC1(),dy);QC1.__exportStar(NC1(),dy)});var Qq0=Y((fC1)=>{Object.defineProperty(fC1,"__esModule",{value:!0});var R85=x1();R85.__exportStar(CC1(),fC1)});var Gy=Y((wJ)=>{Object.defineProperty(wJ,"__esModule",{value:!0});wJ.SSOOIDCServiceException=void 0;var qp=x1();qp.__exportStar(mZ1(),wJ);qp.__exportStar(Nq0(),wJ);qp.__exportStar(zq0(),wJ);qp.__exportStar(Qq0(),wJ);var U85=zp();Object.defineProperty(wJ,"SSOOIDCServiceException",{enumerable:!0,get:function(){return U85.SSOOIDCServiceException}})});var Rq0=Y((fq0)=>{Object.defineProperty(fq0,"__esModule",{value:!0});fq0.getSsoOidcClient=void 0;var E85=Gy(),qC1={},M85=(I)=>{if(qC1[I])return qC1[I];let d=new E85.SSOOIDCClient({region:I});return qC1[I]=d,d};fq0.getSsoOidcClient=M85});var Eq0=Y((Uq0)=>{Object.defineProperty(Uq0,"__esModule",{value:!0});Uq0.getNewSsoOidcToken=void 0;var S85=Gy(),L85=Rq0(),y85=(I,d)=>{return L85.getSsoOidcClient(d).send(new S85.CreateTokenCommand({clientId:I.clientId,clientSecret:I.clientSecret,refreshToken:I.refreshToken,grantType:"refresh_token"}))};Uq0.getNewSsoOidcToken=y85});var Lq0=Y((Mq0)=>{Object.defineProperty(Mq0,"__esModule",{value:!0});Mq0.validateTokenExpiry=void 0;var P85=W4(),$85=Dp(),u85=(I)=>{if(I.expiration&&I.expiration.getTime()<Date.now())throw new P85.TokenProviderError(`Token is expired. ${$85.REFRESH_MESSAGE}`,!1)};Mq0.validateTokenExpiry=u85});var $q0=Y((yq0)=>{Object.defineProperty(yq0,"__esModule",{value:!0});yq0.validateTokenKey=void 0;var T85=W4(),O85=Dp(),m85=(I,d,G=!1)=>{if(typeof d==="undefined")throw new T85.TokenProviderError(`Value not present for '${I}' in SSO Token${G?". Cannot refresh":""}. ${O85.REFRESH_MESSAGE}`,!1)};yq0.validateTokenKey=m85});var Oq0=Y((uq0)=>{Object.defineProperty(uq0,"__esModule",{value:!0});uq0.writeSSOTokenToFile=void 0;var l85=K8(),b85=B1("fs"),{writeFile:h85}=b85.promises,j85=(I,d)=>{let G=l85.getSSOTokenFilepath(I),Z=JSON.stringify(d,null,2);return h85(G,Z)};uq0.writeSSOTokenToFile=j85});var RC1=Y((hq0)=>{Object.defineProperty(hq0,"__esModule",{value:!0});hq0.fromSso=void 0;var Zy=W4(),Rp=K8(),mq0=Dp(),k85=Eq0(),lq0=Lq0(),BJ=$q0(),x85=Oq0(),bq0=new Date(0),c85=(I={})=>async()=>{let d=await Rp.parseKnownFiles(I),G=Rp.getProfileName(I),Z=d[G];if(!Z)throw new Zy.TokenProviderError(`Profile '${G}' could not be found in shared credentials file.`,!1);else if(!Z.sso_session)throw new Zy.TokenProviderError(`Profile '${G}' is missing required property 'sso_session'.`);let C=Z.sso_session,w=(await Rp.loadSsoSessionData(I))[C];if(!w)throw new Zy.TokenProviderError(`Sso session '${C}' could not be found in shared credentials file.`,!1);for(let g of["sso_start_url","sso_region"])if(!w[g])throw new Zy.TokenProviderError(`Sso session '${C}' is missing required property '${g}'.`,!1);let{sso_start_url:B,sso_region:A}=w,V;try{V=await Rp.getSSOTokenFromFile(C)}catch(g){throw new Zy.TokenProviderError(`The SSO session token associated with profile=${G} was not found or is invalid. ${mq0.REFRESH_MESSAGE}`,!1)}BJ.validateTokenKey("accessToken",V.accessToken),BJ.validateTokenKey("expiresAt",V.expiresAt);let{accessToken:X,expiresAt:_}=V,F={token:X,expiration:new Date(_)};if(F.expiration.getTime()-Date.now()>mq0.EXPIRE_WINDOW_MS)return F;if(Date.now()-bq0.getTime()<30000)return lq0.validateTokenExpiry(F),F;BJ.validateTokenKey("clientId",V.clientId,!0),BJ.validateTokenKey("clientSecret",V.clientSecret,!0),BJ.validateTokenKey("refreshToken",V.refreshToken,!0);try{bq0.setTime(Date.now());let g=await k85.getNewSsoOidcToken(V,A);BJ.validateTokenKey("accessToken",g.accessToken),BJ.validateTokenKey("expiresIn",g.expiresIn);let J=new Date(Date.now()+g.expiresIn*1000);try{await x85.writeSSOTokenToFile(C,{...V,accessToken:g.accessToken,expiresAt:J.toISOString(),refreshToken:g.refreshToken})}catch(K){}return{token:g.accessToken,expiration:J}}catch(g){return lq0.validateTokenExpiry(F),F}};hq0.fromSso=c85});var cq0=Y((kq0)=>{Object.defineProperty(kq0,"__esModule",{value:!0});kq0.fromStatic=void 0;var p85=W4(),i85=({token:I})=>async()=>{if(!I||!I.token)throw new p85.TokenProviderError("Please pass a valid token to fromStatic",!1);return I};kq0.fromStatic=i85});var nq0=Y((pq0)=>{Object.defineProperty(pq0,"__esModule",{value:!0});pq0.nodeProvider=void 0;var UC1=W4(),n85=RC1(),r85=(I={})=>UC1.memoize(UC1.chain(n85.fromSso(I),async()=>{throw new UC1.TokenProviderError("Could not load token from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);pq0.nodeProvider=r85});var rq0=Y((Cy)=>{Object.defineProperty(Cy,"__esModule",{value:!0});var vC1=x1();vC1.__exportStar(RC1(),Cy);vC1.__exportStar(cq0(),Cy);vC1.__exportStar(nq0(),Cy)});var eq0=Y((sq0)=>{Object.defineProperty(sq0,"__esModule",{value:!0});sq0.resolveSSOCredentials=void 0;var aq0=Ag0(),Wy=W4(),a85=K8(),s85=rq0(),o85=900000,wy=!1,e85=async({ssoStartUrl:I,ssoSession:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:w})=>{let B,A="To refresh this SSO session run aws sso login with the corresponding profile.";if(d)try{let Q=await s85.fromSso({profile:w})();B={accessToken:Q.token,expiresAt:new Date(Q.expiration).toISOString()}}catch(Q){throw new Wy.CredentialsProviderError(Q.message,wy)}else try{B=await a85.getSSOTokenFromFile(I)}catch(Q){throw new Wy.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",wy)}if(new Date(B.expiresAt).getTime()-Date.now()<=o85)throw new Wy.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",wy);let{accessToken:V}=B,X=W||new aq0.SSOClient({region:Z}),_;try{_=await X.send(new aq0.GetRoleCredentialsCommand({accountId:G,roleName:C,accessToken:V}))}catch(Q){throw Wy.CredentialsProviderError.from(Q,wy)}let{roleCredentials:{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:K}={}}=_;if(!F||!g||!J||!K)throw new Wy.CredentialsProviderError("SSO returns an invalid temporary credential.",wy);return{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:new Date(K)}};sq0.resolveSSOCredentials=e85});var EC1=Y((tq0)=>{Object.defineProperty(tq0,"__esModule",{value:!0});tq0.validateSsoProfile=void 0;var t85=W4(),I75=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_region:Z,sso_role_name:C}=I;if(!d||!G||!Z||!C)throw new t85.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(I).join(", ")}
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,!1);return I};tq0.validateSsoProfile=I75});var CR0=Y((GR0)=>{Object.defineProperty(GR0,"__esModule",{value:!0});GR0.fromSSO=void 0;var By=W4(),MC1=K8(),d75=LG1(),dR0=eq0(),G75=EC1(),Z75=(I={})=>async()=>{let{ssoStartUrl:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,ssoSession:w}=I,B=MC1.getProfileName(I);if(!d&&!G&&!Z&&!C&&!w){let V=(await MC1.parseKnownFiles(I))[B];if(!V)throw new By.CredentialsProviderError(`Profile ${B} was not found.`);if(!d75.isSsoProfile(V))throw new By.CredentialsProviderError(`Profile ${B} is not configured with SSO credentials.`);if(V===null||V===void 0?void 0:V.sso_session){let Q=(await MC1.loadSsoSessionData(I))[V.sso_session],E=` configurations in profile ${B} and sso-session ${V.sso_session}`;if(Z&&Z!==Q.sso_region)throw new By.CredentialsProviderError("Conflicting SSO region"+E,!1);if(d&&d!==Q.sso_start_url)throw new By.CredentialsProviderError("Conflicting SSO start_url"+E,!1);V.sso_region=Q.sso_region,V.sso_start_url=Q.sso_start_url}let{sso_start_url:X,sso_account_id:_,sso_region:F,sso_role_name:g,sso_session:J}=G75.validateSsoProfile(V);return dR0.resolveSSOCredentials({ssoStartUrl:X,ssoSession:J,ssoAccountId:_,ssoRegion:F,ssoRoleName:g,ssoClient:W,profile:B})}else if(!d||!G||!Z||!C)throw new By.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');else return dR0.resolveSSOCredentials({ssoStartUrl:d,ssoSession:w,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:B})};GR0.fromSSO=Z75});var wR0=Y((WR0)=>{Object.defineProperty(WR0,"__esModule",{value:!0})});var vp=Y((pf)=>{Object.defineProperty(pf,"__esModule",{value:!0});var Up=x1();Up.__exportStar(CR0(),pf);Up.__exportStar(LG1(),pf);Up.__exportStar(wR0(),pf);Up.__exportStar(EC1(),pf)});var VR0=Y((SC1)=>{Object.defineProperty(SC1,"__esModule",{value:!0});SC1.resolveSsoCredentials=SC1.isSsoProfile=void 0;var BR0=vp(),C75=vp();Object.defineProperty(SC1,"isSsoProfile",{enumerable:!0,get:function(){return C75.isSsoProfile}});var W75=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_session:Z,sso_region:C,sso_role_name:W}=BR0.validateSsoProfile(I);return BR0.fromSSO({ssoStartUrl:d,ssoAccountId:G,ssoSession:Z,ssoRegion:C,ssoRoleName:W})()};SC1.resolveSsoCredentials=W75});var _R0=Y((XR0)=>{Object.defineProperty(XR0,"__esModule",{value:!0});XR0.resolveStaticCredentials=XR0.isStaticCredsProfile=void 0;var w75=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.aws_access_key_id==="string"&&typeof I.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof I.aws_session_token)>-1;XR0.isStaticCredsProfile=w75;var B75=(I)=>Promise.resolve({accessKeyId:I.aws_access_key_id,secretAccessKey:I.aws_secret_access_key,sessionToken:I.aws_session_token});XR0.resolveStaticCredentials=B75});var LC1=Y((DR0)=>{Object.defineProperty(DR0,"__esModule",{value:!0});DR0.fromWebToken=void 0;var V75=W4(),X75=(I)=>()=>{let{roleArn:d,roleSessionName:G,webIdentityToken:Z,providerId:C,policyArns:W,policy:w,durationSeconds:B,roleAssumerWithWebIdentity:A}=I;if(!A)throw new V75.CredentialsProviderError(`Role Arn '${d}' needs to be assumed with web identity, but no role assumption callback was provided.`,!1);return A({RoleArn:d,RoleSessionName:G!==null&&G!==void 0?G:`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:Z,ProviderId:C,PolicyArns:W,Policy:w,DurationSeconds:B})};DR0.fromWebToken=X75});var JR0=Y((FR0)=>{Object.defineProperty(FR0,"__esModule",{value:!0});FR0.fromTokenFile=void 0;var Y75=W4(),_75=B1("fs"),D75=LC1(),H75="AWS_WEB_IDENTITY_TOKEN_FILE",F75="AWS_ROLE_ARN",g75="AWS_ROLE_SESSION_NAME",J75=(I={})=>async()=>{return K75(I)};FR0.fromTokenFile=J75;var K75=(I)=>{var d,G,Z;let C=(d=I===null||I===void 0?void 0:I.webIdentityTokenFile)!==null&&d!==void 0?d:process.env[H75],W=(G=I===null||I===void 0?void 0:I.roleArn)!==null&&G!==void 0?G:process.env[F75],w=(Z=I===null||I===void 0?void 0:I.roleSessionName)!==null&&Z!==void 0?Z:process.env[g75];if(!C||!W)throw new Y75.CredentialsProviderError("Web identity configuration not specified");return D75.fromWebToken({...I,webIdentityToken:_75.readFileSync(C,{encoding:"ascii"}),roleArn:W,roleSessionName:w})()}});var yC1=Y((Ep)=>{Object.defineProperty(Ep,"__esModule",{value:!0});var KR0=x1();KR0.__exportStar(JR0(),Ep);KR0.__exportStar(LC1(),Ep)});var QR0=Y((NR0)=>{Object.defineProperty(NR0,"__esModule",{value:!0});NR0.resolveWebIdentityCredentials=NR0.isWebIdentityProfile=void 0;var N75=yC1(),z75=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.web_identity_token_file==="string"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1;NR0.isWebIdentityProfile=z75;var Q75=async(I,d)=>N75.fromTokenFile({webIdentityTokenFile:I.web_identity_token_file,roleArn:I.role_arn,roleSessionName:I.role_session_name,roleAssumerWithWebIdentity:d.roleAssumerWithWebIdentity})();NR0.resolveWebIdentityCredentials=Q75});var vG1=Y((vR0)=>{Object.defineProperty(vR0,"__esModule",{value:!0});vR0.resolveProfileData=void 0;var q75=W4(),fR0=dD0(),qR0=HD0(),RR0=VR0(),Mp=_R0(),UR0=QR0(),R75=async(I,d,G,Z={})=>{let C=d[I];if(Object.keys(Z).length>0&&Mp.isStaticCredsProfile(C))return Mp.resolveStaticCredentials(C);if(fR0.isAssumeRoleProfile(C))return fR0.resolveAssumeRoleCredentials(I,d,G,Z);if(Mp.isStaticCredsProfile(C))return Mp.resolveStaticCredentials(C);if(UR0.isWebIdentityProfile(C))return UR0.resolveWebIdentityCredentials(C,G);if(qR0.isProcessProfile(C))return qR0.resolveProcessCredentials(G,I);if(RR0.isSsoProfile(C))return RR0.resolveSsoCredentials(C);throw new q75.CredentialsProviderError(`Profile ${I} could not be found or parsed in shared credentials file.`)};vR0.resolveProfileData=R75});var yR0=Y((SR0)=>{Object.defineProperty(SR0,"__esModule",{value:!0});SR0.fromIni=void 0;var MR0=K8(),U75=vG1(),v75=(I={})=>async()=>{let d=await MR0.parseKnownFiles(I);return U75.resolveProfileData(MR0.getProfileName(I),d,I)};SR0.fromIni=v75});var PR0=Y((PC1)=>{Object.defineProperty(PC1,"__esModule",{value:!0});var E75=x1();E75.__exportStar(yR0(),PC1)});var OR0=Y(($R0)=>{Object.defineProperty($R0,"__esModule",{value:!0});$R0.remoteProvider=$R0.ENV_IMDS_DISABLED=void 0;var Sp=i_(),M75=W4();$R0.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var S75=(I)=>{if(process.env[Sp.ENV_CMDS_RELATIVE_URI]||process.env[Sp.ENV_CMDS_FULL_URI])return Sp.fromContainerMetadata(I);if(process.env[$R0.ENV_IMDS_DISABLED])return async()=>{throw new M75.CredentialsProviderError("EC2 Instance Metadata Service access disabled")};return Sp.fromInstanceMetadata(I)};$R0.remoteProvider=S75});var bR0=Y((mR0)=>{Object.defineProperty(mR0,"__esModule",{value:!0});mR0.defaultProvider=void 0;var L75=BG1(),y75=PR0(),P75=SG1(),$75=vp(),u75=yC1(),$C1=W4(),T75=K8(),O75=OR0(),m75=(I={})=>$C1.memoize($C1.chain(...I.profile||process.env[T75.ENV_PROFILE]?[]:[L75.fromEnv()],$75.fromSSO(I),y75.fromIni(I),P75.fromProcess(I),u75.fromTokenFile(I),O75.remoteProvider(I),async()=>{throw new $C1.CredentialsProviderError("Could not load credentials from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);mR0.defaultProvider=m75});var TC1=Y((uC1)=>{Object.defineProperty(uC1,"__esModule",{value:!0});var l75=x1();l75.__exportStar(bR0(),uC1)});var VU0=Y((BU0)=>{Object.defineProperty(BU0,"__esModule",{value:!0});BU0.ruleSet=void 0;var oR0="required",_4="type",u5="fn",T5="argv",e_="ref",hR0=!1,b75=!0,AJ="booleanEquals",P7="tree",a8="stringEquals",eR0="sigv4",tR0="sts",IU0="us-east-1",C3="endpoint",jR0="https://sts.{Region}.{PartitionResult#dnsSuffix}",nf="error",mC1="getAttr",kR0={[oR0]:!1,[_4]:"String"},OC1={[oR0]:!0,default:!1,[_4]:"Boolean"},dU0={[e_]:"Endpoint"},xR0={[u5]:"isSet",[T5]:[{[e_]:"Region"}]},s8={[e_]:"Region"},cR0={[u5]:"aws.partition",[T5]:[s8],assign:"PartitionResult"},GU0={[e_]:"UseFIPS"},ZU0={[e_]:"UseDualStack"},$7={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:eR0,signingName:tR0,signingRegion:IU0}]},headers:{}},GG={},pR0={conditions:[{[u5]:a8,[T5]:[s8,"aws-global"]}],[C3]:$7,[_4]:C3},CU0={[u5]:AJ,[T5]:[GU0,!0]},WU0={[u5]:AJ,[T5]:[ZU0,!0]},iR0={[u5]:AJ,[T5]:[!0,{[u5]:mC1,[T5]:[{[e_]:"PartitionResult"},"supportsFIPS"]}]},wU0={[e_]:"PartitionResult"},nR0={[u5]:AJ,[T5]:[!0,{[u5]:mC1,[T5]:[wU0,"supportsDualStack"]}]},rR0=[{[u5]:"isSet",[T5]:[dU0]}],aR0=[CU0],sR0=[WU0],h75={version:"1.0",parameters:{Region:kR0,UseDualStack:OC1,UseFIPS:OC1,Endpoint:kR0,UseGlobalEndpoint:OC1},rules:[{conditions:[{[u5]:AJ,[T5]:[{[e_]:"UseGlobalEndpoint"},b75]},{[u5]:"not",[T5]:rR0},xR0,cR0,{[u5]:AJ,[T5]:[GU0,hR0]},{[u5]:AJ,[T5]:[ZU0,hR0]}],[_4]:P7,rules:[{conditions:[{[u5]:a8,[T5]:[s8,"ap-northeast-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"ap-south-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"ap-southeast-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"ap-southeast-2"]}],endpoint:$7,[_4]:C3},pR0,{conditions:[{[u5]:a8,[T5]:[s8,"ca-central-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"eu-central-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"eu-north-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"eu-west-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"eu-west-2"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"eu-west-3"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"sa-east-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,IU0]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"us-east-2"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"us-west-1"]}],endpoint:$7,[_4]:C3},{conditions:[{[u5]:a8,[T5]:[s8,"us-west-2"]}],endpoint:$7,[_4]:C3},{endpoint:{url:jR0,properties:{authSchemes:[{name:eR0,signingName:tR0,signingRegion:"{Region}"}]},headers:GG},[_4]:C3}]},{conditions:rR0,[_4]:P7,rules:[{conditions:aR0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[_4]:nf},{[_4]:P7,rules:[{conditions:sR0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[_4]:nf},{endpoint:{url:dU0,properties:GG,headers:GG},[_4]:C3}]}]},{[_4]:P7,rules:[{conditions:[xR0],[_4]:P7,rules:[{conditions:[cR0],[_4]:P7,rules:[{conditions:[CU0,WU0],[_4]:P7,rules:[{conditions:[iR0,nR0],[_4]:P7,rules:[{[_4]:P7,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:GG,headers:GG},[_4]:C3}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[_4]:nf}]},{conditions:aR0,[_4]:P7,rules:[{conditions:[iR0],[_4]:P7,rules:[{[_4]:P7,rules:[{conditions:[{[u5]:a8,[T5]:["aws-us-gov",{[u5]:mC1,[T5]:[wU0,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:GG,headers:GG},[_4]:C3},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:GG,headers:GG},[_4]:C3}]}]},{error:"FIPS is enabled but this partition does not support FIPS",[_4]:nf}]},{conditions:sR0,[_4]:P7,rules:[{conditions:[nR0],[_4]:P7,rules:[{[_4]:P7,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:GG,headers:GG},[_4]:C3}]}]},{error:"DualStack is enabled but this partition does not support DualStack",[_4]:nf}]},{[_4]:P7,rules:[pR0,{endpoint:{url:jR0,properties:GG,headers:GG},[_4]:C3}]}]}]},{error:"Invalid Configuration: Missing Region",[_4]:nf}]}]};BU0.ruleSet=h75});var _U0=Y((XU0)=>{Object.defineProperty(XU0,"__esModule",{value:!0});XU0.defaultEndpointResolver=void 0;var j75=qL(),k75=VU0(),x75=(I,d={})=>{return j75.resolveEndpoint(k75.ruleSet,{endpointParams:I,logger:d.logger})};XU0.defaultEndpointResolver=x75});var JU0=Y((FU0)=>{Object.defineProperty(FU0,"__esModule",{value:!0});FU0.getRuntimeConfig=void 0;var c75=v0(),p75=FV(),DU0=IJ(),HU0=hC(),i75=_U0(),n75=(I)=>({apiVersion:"2011-06-15",base64Decoder:I?.base64Decoder??DU0.fromBase64,base64Encoder:I?.base64Encoder??DU0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??i75.defaultEndpointResolver,logger:I?.logger??new c75.NoOpLogger,serviceId:I?.serviceId??"STS",urlParser:I?.urlParser??p75.parseUrl,utf8Decoder:I?.utf8Decoder??HU0.fromUtf8,utf8Encoder:I?.utf8Encoder??HU0.toUtf8});FU0.getRuntimeConfig=n75});var fU0=Y((zU0)=>{Object.defineProperty(zU0,"__esModule",{value:!0});zU0.getRuntimeConfig=void 0;var r75=x1(),a75=r75.__importDefault(cB0()),s75=WG1(),Lp=Cd(),o75=TC1(),e75=og(),KU0=dG(),Ay=QZ(),NU0=eg(),t75=tg(),II5=Wd(),dI5=ac(),GI5=JU0(),ZI5=v0(),CI5=dJ(),WI5=v0(),wI5=(I)=>{WI5.emitWarningIfUnsupportedVersion(process.version);let d=CI5.resolveDefaultsModeConfig(I),G=()=>d().then(ZI5.loadConfigsForDefaultMode),Z=GI5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??t75.calculateBodyLength,credentialDefaultProvider:I?.credentialDefaultProvider??s75.decorateDefaultCredentialProvider(o75.defaultProvider),defaultUserAgentProvider:I?.defaultUserAgentProvider??dI5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:a75.default.version}),maxAttempts:I?.maxAttempts??Ay.loadConfig(KU0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??Ay.loadConfig(Lp.NODE_REGION_CONFIG_OPTIONS,Lp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new NU0.NodeHttpHandler(G),retryMode:I?.retryMode??Ay.loadConfig({...KU0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||II5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??e75.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??NU0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??Ay.loadConfig(Lp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??Ay.loadConfig(Lp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};zU0.getRuntimeConfig=wI5});var yp=Y((bC1)=>{Object.defineProperty(bC1,"__esModule",{value:!0});bC1.STSClient=bC1.__Client=void 0;var BI5=Cd(),AI5=jg(),VI5=u2(),qU0=Xc(),XI5=Yc(),YI5=_c(),RU0=dG(),_I5=hB0(),UU0=Lc(),vU0=v0();Object.defineProperty(bC1,"__Client",{enumerable:!0,get:function(){return vU0.Client}});var DI5=xB0(),HI5=fU0();class lC1 extends vU0.Client{constructor(I){let d=HI5.getRuntimeConfig(I),G=DI5.resolveClientEndpointParameters(d),Z=BI5.resolveRegionConfig(G),C=VI5.resolveEndpointConfig(Z),W=RU0.resolveRetryConfig(C),w=qU0.resolveHostHeaderConfig(W),B=_I5.resolveStsAuthConfig(w,{stsClientCtor:lC1}),A=UU0.resolveUserAgentConfig(B);super(A);this.config=A,this.middlewareStack.use(RU0.getRetryPlugin(this.config)),this.middlewareStack.use(AI5.getContentLengthPlugin(this.config)),this.middlewareStack.use(qU0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(XI5.getLoggerPlugin(this.config)),this.middlewareStack.use(YI5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(UU0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}bC1.STSClient=lC1});var kC1=Y((jC1)=>{Object.defineProperty(jC1,"__esModule",{value:!0});jC1.AssumeRoleWithSAMLCommand=jC1.$Command=void 0;var FI5=u2(),gI5=r2(),LU0=v0();Object.defineProperty(jC1,"$Command",{enumerable:!0,get:function(){return LU0.Command}});var MU0=T_(),SU0=fV();class hC1 extends LU0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(gI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(FI5.getEndpointPlugin(d,hC1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:MU0.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:MU0.AssumeRoleWithSAMLResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return SU0.se_AssumeRoleWithSAMLCommand(I,d)}deserialize(I,d){return SU0.de_AssumeRoleWithSAMLCommand(I,d)}}jC1.AssumeRoleWithSAMLCommand=hC1});var pC1=Y((cC1)=>{Object.defineProperty(cC1,"__esModule",{value:!0});cC1.DecodeAuthorizationMessageCommand=cC1.$Command=void 0;var JI5=u2(),KI5=r2(),NI5=A9(),$U0=v0();Object.defineProperty(cC1,"$Command",{enumerable:!0,get:function(){return $U0.Command}});var PU0=fV();class xC1 extends $U0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(KI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(JI5.getEndpointPlugin(d,xC1.getEndpointParameterInstructions())),this.middlewareStack.use(NI5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return PU0.se_DecodeAuthorizationMessageCommand(I,d)}deserialize(I,d){return PU0.de_DecodeAuthorizationMessageCommand(I,d)}}cC1.DecodeAuthorizationMessageCommand=xC1});var rC1=Y((nC1)=>{Object.defineProperty(nC1,"__esModule",{value:!0});nC1.GetAccessKeyInfoCommand=nC1.$Command=void 0;var zI5=u2(),QI5=r2(),fI5=A9(),OU0=v0();Object.defineProperty(nC1,"$Command",{enumerable:!0,get:function(){return OU0.Command}});var TU0=fV();class iC1 extends OU0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(QI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(zI5.getEndpointPlugin(d,iC1.getEndpointParameterInstructions())),this.middlewareStack.use(fI5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return TU0.se_GetAccessKeyInfoCommand(I,d)}deserialize(I,d){return TU0.de_GetAccessKeyInfoCommand(I,d)}}nC1.GetAccessKeyInfoCommand=iC1});var oC1=Y((sC1)=>{Object.defineProperty(sC1,"__esModule",{value:!0});sC1.GetCallerIdentityCommand=sC1.$Command=void 0;var qI5=u2(),RI5=r2(),UI5=A9(),bU0=v0();Object.defineProperty(sC1,"$Command",{enumerable:!0,get:function(){return bU0.Command}});var lU0=fV();class aC1 extends bU0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(RI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(qI5.getEndpointPlugin(d,aC1.getEndpointParameterInstructions())),this.middlewareStack.use(UI5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return lU0.se_GetCallerIdentityCommand(I,d)}deserialize(I,d){return lU0.de_GetCallerIdentityCommand(I,d)}}sC1.GetCallerIdentityCommand=aC1});var IW1=Y((tC1)=>{Object.defineProperty(tC1,"__esModule",{value:!0});tC1.GetFederationTokenCommand=tC1.$Command=void 0;var vI5=u2(),EI5=r2(),MI5=A9(),kU0=v0();Object.defineProperty(tC1,"$Command",{enumerable:!0,get:function(){return kU0.Command}});var SI5=T_(),jU0=fV();class eC1 extends kU0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(EI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(vI5.getEndpointPlugin(d,eC1.getEndpointParameterInstructions())),this.middlewareStack.use(MI5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:SI5.GetFederationTokenResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return jU0.se_GetFederationTokenCommand(I,d)}deserialize(I,d){return jU0.de_GetFederationTokenCommand(I,d)}}tC1.GetFederationTokenCommand=eC1});var ZW1=Y((GW1)=>{Object.defineProperty(GW1,"__esModule",{value:!0});GW1.GetSessionTokenCommand=GW1.$Command=void 0;var LI5=u2(),yI5=r2(),PI5=A9(),pU0=v0();Object.defineProperty(GW1,"$Command",{enumerable:!0,get:function(){return pU0.Command}});var $I5=T_(),cU0=fV();class dW1 extends pU0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(yI5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(LI5.getEndpointPlugin(d,dW1.getEndpointParameterInstructions())),this.middlewareStack.use(PI5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:$I5.GetSessionTokenResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return cU0.se_GetSessionTokenCommand(I,d)}deserialize(I,d){return cU0.de_GetSessionTokenCommand(I,d)}}GW1.GetSessionTokenCommand=dW1});var aU0=Y((nU0)=>{Object.defineProperty(nU0,"__esModule",{value:!0});nU0.STS=void 0;var uI5=v0(),TI5=jc(),OI5=kC1(),mI5=kc(),lI5=pC1(),bI5=rC1(),hI5=oC1(),jI5=IW1(),kI5=ZW1(),xI5=yp(),cI5={AssumeRoleCommand:TI5.AssumeRoleCommand,AssumeRoleWithSAMLCommand:OI5.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:mI5.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:lI5.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:bI5.GetAccessKeyInfoCommand,GetCallerIdentityCommand:hI5.GetCallerIdentityCommand,GetFederationTokenCommand:jI5.GetFederationTokenCommand,GetSessionTokenCommand:kI5.GetSessionTokenCommand};class CW1 extends xI5.STSClient{}nU0.STS=CW1;uI5.createAggregatedClient(cI5,CW1)});var sU0=Y((ZB)=>{Object.defineProperty(ZB,"__esModule",{value:!0});var t_=x1();t_.__exportStar(jc(),ZB);t_.__exportStar(kC1(),ZB);t_.__exportStar(kc(),ZB);t_.__exportStar(pC1(),ZB);t_.__exportStar(rC1(),ZB);t_.__exportStar(oC1(),ZB);t_.__exportStar(IW1(),ZB);t_.__exportStar(ZW1(),ZB)});var oU0=Y((WW1)=>{Object.defineProperty(WW1,"__esModule",{value:!0});var pI5=x1();pI5.__exportStar(T_(),WW1)});var Wv0=Y((dv0)=>{Object.defineProperty(dv0,"__esModule",{value:!0});dv0.decorateDefaultCredentialProvider=dv0.getDefaultRoleAssumerWithWebIdentity=dv0.getDefaultRoleAssumer=void 0;var eU0=WG1(),tU0=yp(),Iv0=(I,d)=>{if(!d)return I;else return class G extends I{constructor(Z){super(Z);for(let C of d)this.middlewareStack.use(C)}}},iI5=(I={},d)=>eU0.getDefaultRoleAssumer(I,Iv0(tU0.STSClient,d));dv0.getDefaultRoleAssumer=iI5;var nI5=(I={},d)=>eU0.getDefaultRoleAssumerWithWebIdentity(I,Iv0(tU0.STSClient,d));dv0.getDefaultRoleAssumerWithWebIdentity=nI5;var rI5=(I)=>(d)=>I({roleAssumer:dv0.getDefaultRoleAssumer(d),roleAssumerWithWebIdentity:dv0.getDefaultRoleAssumerWithWebIdentity(d),...d});dv0.decorateDefaultCredentialProvider=rI5});var wv0=Y((ID)=>{Object.defineProperty(ID,"__esModule",{value:!0});ID.STSServiceException=void 0;var Vy=x1();Vy.__exportStar(yp(),ID);Vy.__exportStar(aU0(),ID);Vy.__exportStar(sU0(),ID);Vy.__exportStar(oU0(),ID);Vy.__exportStar(Wv0(),ID);var aI5=uc();Object.defineProperty(ID,"STSServiceException",{enumerable:!0,get:function(){return aI5.STSServiceException}})});var zv0=Y((Kv0)=>{Object.defineProperty(Kv0,"__esModule",{value:!0});Kv0.ruleSet=void 0;var Hv0="required",MV="fn",SV="argv",rf="ref",wW1="PartitionResult",CB="tree",Xy="error",Yy="endpoint",Bv0={[Hv0]:!1,type:"String"},Av0={[Hv0]:!0,default:!1,type:"Boolean"},Fv0={[rf]:"Endpoint"},gv0={[MV]:"booleanEquals",[SV]:[{[rf]:"UseFIPS"},!0]},Jv0={[MV]:"booleanEquals",[SV]:[{[rf]:"UseDualStack"},!0]},WB={},Vv0={[MV]:"booleanEquals",[SV]:[!0,{[MV]:"getAttr",[SV]:[{[rf]:wW1},"supportsFIPS"]}]},Xv0={[MV]:"booleanEquals",[SV]:[!0,{[MV]:"getAttr",[SV]:[{[rf]:wW1},"supportsDualStack"]}]},Yv0=[Fv0],_v0=[gv0],Dv0=[Jv0],oI5={version:"1.0",parameters:{Region:Bv0,UseDualStack:Av0,UseFIPS:Av0,Endpoint:Bv0},rules:[{conditions:[{[MV]:"aws.partition",[SV]:[{[rf]:"Region"}],assign:wW1}],type:CB,rules:[{conditions:[{[MV]:"isSet",[SV]:Yv0},{[MV]:"parseURL",[SV]:Yv0,assign:"url"}],type:CB,rules:[{conditions:_v0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Xy},{type:CB,rules:[{conditions:Dv0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Xy},{endpoint:{url:Fv0,properties:WB,headers:WB},type:Yy}]}]},{conditions:[gv0,Jv0],type:CB,rules:[{conditions:[Vv0,Xv0],type:CB,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:WB,headers:WB},type:Yy}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Xy}]},{conditions:_v0,type:CB,rules:[{conditions:[Vv0],type:CB,rules:[{type:CB,rules:[{endpoint:{url:"https://cognito-identity-fips.{Region}.{PartitionResult#dnsSuffix}",properties:WB,headers:WB},type:Yy}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Xy}]},{conditions:Dv0,type:CB,rules:[{conditions:[Xv0],type:CB,rules:[{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:WB,headers:WB},type:Yy}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Xy}]},{endpoint:{url:"https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}",properties:WB,headers:WB},type:Yy}]}]};Kv0.ruleSet=oI5});var qv0=Y((Qv0)=>{Object.defineProperty(Qv0,"__esModule",{value:!0});Qv0.defaultEndpointResolver=void 0;var eI5=qL(),tI5=zv0(),Id5=(I,d={})=>{return eI5.resolveEndpoint(tI5.ruleSet,{endpointParams:I,logger:d.logger})};Qv0.defaultEndpointResolver=Id5});var Mv0=Y((vv0)=>{Object.defineProperty(vv0,"__esModule",{value:!0});vv0.getRuntimeConfig=void 0;var dd5=v0(),Gd5=FV(),Rv0=IJ(),Uv0=hC(),Zd5=qv0(),Cd5=(I)=>({apiVersion:"2014-06-30",base64Decoder:I?.base64Decoder??Rv0.fromBase64,base64Encoder:I?.base64Encoder??Rv0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??Zd5.defaultEndpointResolver,logger:I?.logger??new dd5.NoOpLogger,serviceId:I?.serviceId??"Cognito Identity",urlParser:I?.urlParser??Gd5.parseUrl,utf8Decoder:I?.utf8Decoder??Uv0.fromUtf8,utf8Encoder:I?.utf8Encoder??Uv0.toUtf8});vv0.getRuntimeConfig=Cd5});var $v0=Y((yv0)=>{Object.defineProperty(yv0,"__esModule",{value:!0});yv0.getRuntimeConfig=void 0;var Wd5=x1(),wd5=Wd5.__importDefault(mB0()),Bd5=wv0(),Pp=Cd(),Ad5=TC1(),Vd5=og(),Sv0=dG(),_y=QZ(),Lv0=eg(),Xd5=tg(),Yd5=Wd(),_d5=ac(),Dd5=Mv0(),Hd5=v0(),Fd5=dJ(),gd5=v0(),Jd5=(I)=>{gd5.emitWarningIfUnsupportedVersion(process.version);let d=Fd5.resolveDefaultsModeConfig(I),G=()=>d().then(Hd5.loadConfigsForDefaultMode),Z=Dd5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??Xd5.calculateBodyLength,credentialDefaultProvider:I?.credentialDefaultProvider??Bd5.decorateDefaultCredentialProvider(Ad5.defaultProvider),defaultUserAgentProvider:I?.defaultUserAgentProvider??_d5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:wd5.default.version}),maxAttempts:I?.maxAttempts??_y.loadConfig(Sv0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??_y.loadConfig(Pp.NODE_REGION_CONFIG_OPTIONS,Pp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new Lv0.NodeHttpHandler(G),retryMode:I?.retryMode??_y.loadConfig({...Sv0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||Yd5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??Vd5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??Lv0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??_y.loadConfig(Pp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??_y.loadConfig(Pp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};yv0.getRuntimeConfig=Jd5});var $p=Y((BW1)=>{Object.defineProperty(BW1,"__esModule",{value:!0});BW1.CognitoIdentityClient=BW1.__Client=void 0;var Kd5=Cd(),Nd5=jg(),zd5=u2(),uv0=Xc(),Qd5=Yc(),fd5=_c(),Tv0=dG(),qd5=A9(),Ov0=Lc(),mv0=v0();Object.defineProperty(BW1,"__Client",{enumerable:!0,get:function(){return mv0.Client}});var Rd5=OB0(),Ud5=$v0();class lv0 extends mv0.Client{constructor(I){let d=Ud5.getRuntimeConfig(I),G=Rd5.resolveClientEndpointParameters(d),Z=Kd5.resolveRegionConfig(G),C=zd5.resolveEndpointConfig(Z),W=Tv0.resolveRetryConfig(C),w=uv0.resolveHostHeaderConfig(W),B=qd5.resolveAwsAuthConfig(w),A=Ov0.resolveUserAgentConfig(B);super(A);this.config=A,this.middlewareStack.use(Tv0.getRetryPlugin(this.config)),this.middlewareStack.use(Nd5.getContentLengthPlugin(this.config)),this.middlewareStack.use(uv0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Qd5.getLoggerPlugin(this.config)),this.middlewareStack.use(fd5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(Ov0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}BW1.CognitoIdentityClient=lv0});var up=Y((VW1)=>{Object.defineProperty(VW1,"__esModule",{value:!0});VW1.CognitoIdentityServiceException=VW1.__ServiceException=void 0;var hv0=v0();Object.defineProperty(VW1,"__ServiceException",{enumerable:!0,get:function(){return hv0.ServiceException}});class AW1 extends hv0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,AW1.prototype)}}VW1.CognitoIdentityServiceException=AW1});var QW1=Y((kv0)=>{Object.defineProperty(kv0,"__esModule",{value:!0});kv0.ConcurrentModificationException=kv0.DeveloperUserAlreadyRegisteredException=kv0.RoleMappingType=kv0.MappingRuleMatchType=kv0.InvalidIdentityPoolConfigurationException=kv0.ExternalServiceException=kv0.ResourceNotFoundException=kv0.ErrorCode=kv0.TooManyRequestsException=kv0.ResourceConflictException=kv0.NotAuthorizedException=kv0.LimitExceededException=kv0.InvalidParameterException=kv0.InternalErrorException=kv0.AmbiguousRoleResolutionType=void 0;var xC=up();kv0.AmbiguousRoleResolutionType={AUTHENTICATED_ROLE:"AuthenticatedRole",DENY:"Deny"};class XW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"InternalErrorException",$fault:"server",...I});this.name="InternalErrorException",this.$fault="server",Object.setPrototypeOf(this,XW1.prototype)}}kv0.InternalErrorException=XW1;class YW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"InvalidParameterException",$fault:"client",...I});this.name="InvalidParameterException",this.$fault="client",Object.setPrototypeOf(this,YW1.prototype)}}kv0.InvalidParameterException=YW1;class _W1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"LimitExceededException",$fault:"client",...I});this.name="LimitExceededException",this.$fault="client",Object.setPrototypeOf(this,_W1.prototype)}}kv0.LimitExceededException=_W1;class DW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"NotAuthorizedException",$fault:"client",...I});this.name="NotAuthorizedException",this.$fault="client",Object.setPrototypeOf(this,DW1.prototype)}}kv0.NotAuthorizedException=DW1;class HW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"ResourceConflictException",$fault:"client",...I});this.name="ResourceConflictException",this.$fault="client",Object.setPrototypeOf(this,HW1.prototype)}}kv0.ResourceConflictException=HW1;class FW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"TooManyRequestsException",$fault:"client",...I});this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,FW1.prototype)}}kv0.TooManyRequestsException=FW1;kv0.ErrorCode={ACCESS_DENIED:"AccessDenied",INTERNAL_SERVER_ERROR:"InternalServerError"};class gW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"ResourceNotFoundException",$fault:"client",...I});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,gW1.prototype)}}kv0.ResourceNotFoundException=gW1;class JW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"ExternalServiceException",$fault:"client",...I});this.name="ExternalServiceException",this.$fault="client",Object.setPrototypeOf(this,JW1.prototype)}}kv0.ExternalServiceException=JW1;class KW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"InvalidIdentityPoolConfigurationException",$fault:"client",...I});this.name="InvalidIdentityPoolConfigurationException",this.$fault="client",Object.setPrototypeOf(this,KW1.prototype)}}kv0.InvalidIdentityPoolConfigurationException=KW1;kv0.MappingRuleMatchType={CONTAINS:"Contains",EQUALS:"Equals",NOT_EQUAL:"NotEqual",STARTS_WITH:"StartsWith"};kv0.RoleMappingType={RULES:"Rules",TOKEN:"Token"};class NW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"DeveloperUserAlreadyRegisteredException",$fault:"client",...I});this.name="DeveloperUserAlreadyRegisteredException",this.$fault="client",Object.setPrototypeOf(this,NW1.prototype)}}kv0.DeveloperUserAlreadyRegisteredException=NW1;class zW1 extends xC.CognitoIdentityServiceException{constructor(I){super({name:"ConcurrentModificationException",$fault:"client",...I});this.name="ConcurrentModificationException",this.$fault="client",Object.setPrototypeOf(this,zW1.prototype)}}kv0.ConcurrentModificationException=zW1});var W3=Y((iv0)=>{Object.defineProperty(iv0,"__esModule",{value:!0});iv0.de_UpdateIdentityPoolCommand=iv0.de_UntagResourceCommand=iv0.de_UnlinkIdentityCommand=iv0.de_UnlinkDeveloperIdentityCommand=iv0.de_TagResourceCommand=iv0.de_SetPrincipalTagAttributeMapCommand=iv0.de_SetIdentityPoolRolesCommand=iv0.de_MergeDeveloperIdentitiesCommand=iv0.de_LookupDeveloperIdentityCommand=iv0.de_ListTagsForResourceCommand=iv0.de_ListIdentityPoolsCommand=iv0.de_ListIdentitiesCommand=iv0.de_GetPrincipalTagAttributeMapCommand=iv0.de_GetOpenIdTokenForDeveloperIdentityCommand=iv0.de_GetOpenIdTokenCommand=iv0.de_GetIdentityPoolRolesCommand=iv0.de_GetIdCommand=iv0.de_GetCredentialsForIdentityCommand=iv0.de_DescribeIdentityPoolCommand=iv0.de_DescribeIdentityCommand=iv0.de_DeleteIdentityPoolCommand=iv0.de_DeleteIdentitiesCommand=iv0.de_CreateIdentityPoolCommand=iv0.se_UpdateIdentityPoolCommand=iv0.se_UntagResourceCommand=iv0.se_UnlinkIdentityCommand=iv0.se_UnlinkDeveloperIdentityCommand=iv0.se_TagResourceCommand=iv0.se_SetPrincipalTagAttributeMapCommand=iv0.se_SetIdentityPoolRolesCommand=iv0.se_MergeDeveloperIdentitiesCommand=iv0.se_LookupDeveloperIdentityCommand=iv0.se_ListTagsForResourceCommand=iv0.se_ListIdentityPoolsCommand=iv0.se_ListIdentitiesCommand=iv0.se_GetPrincipalTagAttributeMapCommand=iv0.se_GetOpenIdTokenForDeveloperIdentityCommand=iv0.se_GetOpenIdTokenCommand=iv0.se_GetIdentityPoolRolesCommand=iv0.se_GetIdCommand=iv0.se_GetCredentialsForIdentityCommand=iv0.se_DescribeIdentityPoolCommand=iv0.se_DescribeIdentityCommand=iv0.se_DeleteIdentityPoolCommand=iv0.se_DeleteIdentitiesCommand=iv0.se_CreateIdentityPoolCommand=void 0;var r0=v0(),hd5=Oc(),jd5=up(),cC=QW1(),kd5=async(I,d)=>{let G=q3("CreateIdentityPool"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_CreateIdentityPoolCommand=kd5;var xd5=async(I,d)=>{let G=q3("DeleteIdentities"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_DeleteIdentitiesCommand=xd5;var cd5=async(I,d)=>{let G=q3("DeleteIdentityPool"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_DeleteIdentityPoolCommand=cd5;var pd5=async(I,d)=>{let G=q3("DescribeIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_DescribeIdentityCommand=pd5;var id5=async(I,d)=>{let G=q3("DescribeIdentityPool"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_DescribeIdentityPoolCommand=id5;var nd5=async(I,d)=>{let G=q3("GetCredentialsForIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetCredentialsForIdentityCommand=nd5;var rd5=async(I,d)=>{let G=q3("GetId"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetIdCommand=rd5;var ad5=async(I,d)=>{let G=q3("GetIdentityPoolRoles"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetIdentityPoolRolesCommand=ad5;var sd5=async(I,d)=>{let G=q3("GetOpenIdToken"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetOpenIdTokenCommand=sd5;var od5=async(I,d)=>{let G=q3("GetOpenIdTokenForDeveloperIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetOpenIdTokenForDeveloperIdentityCommand=od5;var ed5=async(I,d)=>{let G=q3("GetPrincipalTagAttributeMap"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_GetPrincipalTagAttributeMapCommand=ed5;var td5=async(I,d)=>{let G=q3("ListIdentities"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_ListIdentitiesCommand=td5;var IG5=async(I,d)=>{let G=q3("ListIdentityPools"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_ListIdentityPoolsCommand=IG5;var dG5=async(I,d)=>{let G=q3("ListTagsForResource"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_ListTagsForResourceCommand=dG5;var GG5=async(I,d)=>{let G=q3("LookupDeveloperIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_LookupDeveloperIdentityCommand=GG5;var ZG5=async(I,d)=>{let G=q3("MergeDeveloperIdentities"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_MergeDeveloperIdentitiesCommand=ZG5;var CG5=async(I,d)=>{let G=q3("SetIdentityPoolRoles"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_SetIdentityPoolRolesCommand=CG5;var WG5=async(I,d)=>{let G=q3("SetPrincipalTagAttributeMap"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_SetPrincipalTagAttributeMapCommand=WG5;var wG5=async(I,d)=>{let G=q3("TagResource"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_TagResourceCommand=wG5;var BG5=async(I,d)=>{let G=q3("UnlinkDeveloperIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_UnlinkDeveloperIdentityCommand=BG5;var AG5=async(I,d)=>{let G=q3("UnlinkIdentity"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_UnlinkIdentityCommand=AG5;var VG5=async(I,d)=>{let G=q3("UntagResource"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_UntagResourceCommand=VG5;var XG5=async(I,d)=>{let G=q3("UpdateIdentityPool"),Z;return Z=JSON.stringify(r0._json(I)),f3(d,G,"/",void 0,Z)};iv0.se_UpdateIdentityPoolCommand=XG5;var YG5=async(I,d)=>{if(I.statusCode>=300)return _G5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_CreateIdentityPoolCommand=YG5;var _G5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":throw await fW1(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},DG5=async(I,d)=>{if(I.statusCode>=300)return HG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_DeleteIdentitiesCommand=DG5;var HG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},FG5=async(I,d)=>{if(I.statusCode>=300)return gG5(I,d);return await Dy(I.body,d),{$metadata:J5(I)}};iv0.de_DeleteIdentityPoolCommand=FG5;var gG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},JG5=async(I,d)=>{if(I.statusCode>=300)return KG5(I,d);let G=await U6(I.body,d),Z={};return Z=pv0(G,d),{$metadata:J5(I),...Z}};iv0.de_DescribeIdentityCommand=JG5;var KG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},NG5=async(I,d)=>{if(I.statusCode>=300)return zG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_DescribeIdentityPoolCommand=NG5;var zG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},QG5=async(I,d)=>{if(I.statusCode>=300)return fG5(I,d);let G=await U6(I.body,d),Z={};return Z=wZ5(G,d),{$metadata:J5(I),...Z}};iv0.de_GetCredentialsForIdentityCommand=QG5;var fG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await Tp(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidIdentityPoolConfigurationException":case"com.amazonaws.cognitoidentity#InvalidIdentityPoolConfigurationException":throw await CZ5(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},qG5=async(I,d)=>{if(I.statusCode>=300)return RG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_GetIdCommand=qG5;var RG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await Tp(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":throw await fW1(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},UG5=async(I,d)=>{if(I.statusCode>=300)return vG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_GetIdentityPoolRolesCommand=UG5;var vG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},EG5=async(I,d)=>{if(I.statusCode>=300)return MG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_GetOpenIdTokenCommand=EG5;var MG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await Tp(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},SG5=async(I,d)=>{if(I.statusCode>=300)return LG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_GetOpenIdTokenForDeveloperIdentityCommand=SG5;var LG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"DeveloperUserAlreadyRegisteredException":case"com.amazonaws.cognitoidentity#DeveloperUserAlreadyRegisteredException":throw await ZZ5(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},yG5=async(I,d)=>{if(I.statusCode>=300)return PG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_GetPrincipalTagAttributeMapCommand=yG5;var PG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},$G5=async(I,d)=>{if(I.statusCode>=300)return uG5(I,d);let G=await U6(I.body,d),Z={};return Z=AZ5(G,d),{$metadata:J5(I),...Z}};iv0.de_ListIdentitiesCommand=$G5;var uG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},TG5=async(I,d)=>{if(I.statusCode>=300)return OG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_ListIdentityPoolsCommand=TG5;var OG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},mG5=async(I,d)=>{if(I.statusCode>=300)return lG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_ListTagsForResourceCommand=mG5;var lG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},bG5=async(I,d)=>{if(I.statusCode>=300)return hG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_LookupDeveloperIdentityCommand=bG5;var hG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},jG5=async(I,d)=>{if(I.statusCode>=300)return kG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_MergeDeveloperIdentitiesCommand=jG5;var kG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},xG5=async(I,d)=>{if(I.statusCode>=300)return cG5(I,d);return await Dy(I.body,d),{$metadata:J5(I)}};iv0.de_SetIdentityPoolRolesCommand=xG5;var cG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ConcurrentModificationException":case"com.amazonaws.cognitoidentity#ConcurrentModificationException":throw await cv0(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},pG5=async(I,d)=>{if(I.statusCode>=300)return iG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_SetPrincipalTagAttributeMapCommand=pG5;var iG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},nG5=async(I,d)=>{if(I.statusCode>=300)return rG5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_TagResourceCommand=nG5;var rG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},aG5=async(I,d)=>{if(I.statusCode>=300)return sG5(I,d);return await Dy(I.body,d),{$metadata:J5(I)}};iv0.de_UnlinkDeveloperIdentityCommand=aG5;var sG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},oG5=async(I,d)=>{if(I.statusCode>=300)return eG5(I,d);return await Dy(I.body,d),{$metadata:J5(I)}};iv0.de_UnlinkIdentityCommand=oG5;var eG5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ExternalServiceException":case"com.amazonaws.cognitoidentity#ExternalServiceException":throw await Tp(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},tG5=async(I,d)=>{if(I.statusCode>=300)return IZ5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_UntagResourceCommand=tG5;var IZ5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},dZ5=async(I,d)=>{if(I.statusCode>=300)return GZ5(I,d);let G=await U6(I.body,d),Z={};return Z=r0._json(G),{$metadata:J5(I),...Z}};iv0.de_UpdateIdentityPoolCommand=dZ5;var GZ5=async(I,d)=>{let G={...I,body:await R3(I.body,d)},Z=U3(I,G.body);switch(Z){case"ConcurrentModificationException":case"com.amazonaws.cognitoidentity#ConcurrentModificationException":throw await cv0(G,d);case"InternalErrorException":case"com.amazonaws.cognitoidentity#InternalErrorException":throw await K3(G,d);case"InvalidParameterException":case"com.amazonaws.cognitoidentity#InvalidParameterException":throw await N3(G,d);case"LimitExceededException":case"com.amazonaws.cognitoidentity#LimitExceededException":throw await fW1(G,d);case"NotAuthorizedException":case"com.amazonaws.cognitoidentity#NotAuthorizedException":throw await j3(G,d);case"ResourceConflictException":case"com.amazonaws.cognitoidentity#ResourceConflictException":throw await UZ(G,d);case"ResourceNotFoundException":case"com.amazonaws.cognitoidentity#ResourceNotFoundException":throw await w6(G,d);case"TooManyRequestsException":case"com.amazonaws.cognitoidentity#TooManyRequestsException":throw await z3(G,d);default:let C=G.body;return Q3({output:I,parsedBody:C,errorCode:Z})}},cv0=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.ConcurrentModificationException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},ZZ5=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.DeveloperUserAlreadyRegisteredException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},Tp=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.ExternalServiceException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},K3=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.InternalErrorException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},CZ5=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.InvalidIdentityPoolConfigurationException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},N3=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.InvalidParameterException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},fW1=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.LimitExceededException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},j3=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.NotAuthorizedException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},UZ=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.ResourceConflictException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},w6=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.ResourceNotFoundException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},z3=async(I,d)=>{let G=I.body,Z=r0._json(G),C=new cC.TooManyRequestsException({$metadata:J5(I),...Z});return r0.decorateServiceException(C,G)},WZ5=(I,d)=>{return r0.take(I,{AccessKeyId:r0.expectString,Expiration:(G)=>r0.expectNonNull(r0.parseEpochTimestamp(r0.expectNumber(G))),SecretKey:r0.expectString,SessionToken:r0.expectString})},wZ5=(I,d)=>{return r0.take(I,{Credentials:(G)=>WZ5(G,d),IdentityId:r0.expectString})},BZ5=(I,d)=>{return(I||[]).filter((Z)=>Z!=null).map((Z)=>{return pv0(Z,d)})},pv0=(I,d)=>{return r0.take(I,{CreationDate:(G)=>r0.expectNonNull(r0.parseEpochTimestamp(r0.expectNumber(G))),IdentityId:r0.expectString,LastModifiedDate:(G)=>r0.expectNonNull(r0.parseEpochTimestamp(r0.expectNumber(G))),Logins:r0._json})},AZ5=(I,d)=>{return r0.take(I,{Identities:(G)=>BZ5(G,d),IdentityPoolId:r0.expectString,NextToken:r0.expectString})},J5=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),Dy=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},VZ5=(I,d)=>Dy(I,d).then((G)=>d.utf8Encoder(G)),Q3=r0.withBaseException(jd5.CognitoIdentityServiceException),f3=async(I,d,G,Z,C)=>{let{hostname:W,protocol:w="https",port:B,path:A}=await I.endpoint(),V={protocol:w,hostname:W,port:B,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+G:A+G,headers:d};if(Z!==void 0)V.hostname=Z;if(C!==void 0)V.body=C;return new hd5.HttpRequest(V)};function q3(I){return{"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${I}`}}var U6=(I,d)=>VZ5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),R3=async(I,d)=>{let G=await U6(I,d);return G.message=G.message??G.Message,G},U3=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var UW1=Y((RW1)=>{Object.defineProperty(RW1,"__esModule",{value:!0});RW1.CreateIdentityPoolCommand=RW1.$Command=void 0;var dC5=u2(),GC5=r2(),ZC5=A9(),av0=v0();Object.defineProperty(RW1,"$Command",{enumerable:!0,get:function(){return av0.Command}});var rv0=W3();class qW1 extends av0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(GC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(dC5.getEndpointPlugin(d,qW1.getEndpointParameterInstructions())),this.middlewareStack.use(ZC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"CreateIdentityPoolCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return rv0.se_CreateIdentityPoolCommand(I,d)}deserialize(I,d){return rv0.de_CreateIdentityPoolCommand(I,d)}}RW1.CreateIdentityPoolCommand=qW1});var MW1=Y((EW1)=>{Object.defineProperty(EW1,"__esModule",{value:!0});EW1.DeleteIdentitiesCommand=EW1.$Command=void 0;var CC5=u2(),WC5=r2(),wC5=A9(),ev0=v0();Object.defineProperty(EW1,"$Command",{enumerable:!0,get:function(){return ev0.Command}});var ov0=W3();class vW1 extends ev0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(WC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(CC5.getEndpointPlugin(d,vW1.getEndpointParameterInstructions())),this.middlewareStack.use(wC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"DeleteIdentitiesCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return ov0.se_DeleteIdentitiesCommand(I,d)}deserialize(I,d){return ov0.de_DeleteIdentitiesCommand(I,d)}}EW1.DeleteIdentitiesCommand=vW1});var yW1=Y((LW1)=>{Object.defineProperty(LW1,"__esModule",{value:!0});LW1.DeleteIdentityPoolCommand=LW1.$Command=void 0;var BC5=u2(),AC5=r2(),VC5=A9(),dE0=v0();Object.defineProperty(LW1,"$Command",{enumerable:!0,get:function(){return dE0.Command}});var IE0=W3();class SW1 extends dE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(AC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(BC5.getEndpointPlugin(d,SW1.getEndpointParameterInstructions())),this.middlewareStack.use(VC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"DeleteIdentityPoolCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return IE0.se_DeleteIdentityPoolCommand(I,d)}deserialize(I,d){return IE0.de_DeleteIdentityPoolCommand(I,d)}}LW1.DeleteIdentityPoolCommand=SW1});var uW1=Y(($W1)=>{Object.defineProperty($W1,"__esModule",{value:!0});$W1.DescribeIdentityCommand=$W1.$Command=void 0;var XC5=u2(),YC5=r2(),_C5=A9(),CE0=v0();Object.defineProperty($W1,"$Command",{enumerable:!0,get:function(){return CE0.Command}});var ZE0=W3();class PW1 extends CE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(YC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(XC5.getEndpointPlugin(d,PW1.getEndpointParameterInstructions())),this.middlewareStack.use(_C5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"DescribeIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return ZE0.se_DescribeIdentityCommand(I,d)}deserialize(I,d){return ZE0.de_DescribeIdentityCommand(I,d)}}$W1.DescribeIdentityCommand=PW1});var mW1=Y((OW1)=>{Object.defineProperty(OW1,"__esModule",{value:!0});OW1.DescribeIdentityPoolCommand=OW1.$Command=void 0;var DC5=u2(),HC5=r2(),FC5=A9(),BE0=v0();Object.defineProperty(OW1,"$Command",{enumerable:!0,get:function(){return BE0.Command}});var wE0=W3();class TW1 extends BE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(HC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(DC5.getEndpointPlugin(d,TW1.getEndpointParameterInstructions())),this.middlewareStack.use(FC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"DescribeIdentityPoolCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return wE0.se_DescribeIdentityPoolCommand(I,d)}deserialize(I,d){return wE0.de_DescribeIdentityPoolCommand(I,d)}}OW1.DescribeIdentityPoolCommand=TW1});var hW1=Y((bW1)=>{Object.defineProperty(bW1,"__esModule",{value:!0});bW1.GetCredentialsForIdentityCommand=bW1.$Command=void 0;var gC5=u2(),JC5=r2(),XE0=v0();Object.defineProperty(bW1,"$Command",{enumerable:!0,get:function(){return XE0.Command}});var VE0=W3();class lW1 extends XE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(JC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(gC5.getEndpointPlugin(d,lW1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetCredentialsForIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return VE0.se_GetCredentialsForIdentityCommand(I,d)}deserialize(I,d){return VE0.de_GetCredentialsForIdentityCommand(I,d)}}bW1.GetCredentialsForIdentityCommand=lW1});var xW1=Y((kW1)=>{Object.defineProperty(kW1,"__esModule",{value:!0});kW1.GetIdCommand=kW1.$Command=void 0;var KC5=u2(),NC5=r2(),DE0=v0();Object.defineProperty(kW1,"$Command",{enumerable:!0,get:function(){return DE0.Command}});var _E0=W3();class jW1 extends DE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(NC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(KC5.getEndpointPlugin(d,jW1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetIdCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return _E0.se_GetIdCommand(I,d)}deserialize(I,d){return _E0.de_GetIdCommand(I,d)}}kW1.GetIdCommand=jW1});var iW1=Y((pW1)=>{Object.defineProperty(pW1,"__esModule",{value:!0});pW1.GetIdentityPoolRolesCommand=pW1.$Command=void 0;var zC5=u2(),QC5=r2(),fC5=A9(),gE0=v0();Object.defineProperty(pW1,"$Command",{enumerable:!0,get:function(){return gE0.Command}});var FE0=W3();class cW1 extends gE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(QC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(zC5.getEndpointPlugin(d,cW1.getEndpointParameterInstructions())),this.middlewareStack.use(fC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetIdentityPoolRolesCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return FE0.se_GetIdentityPoolRolesCommand(I,d)}deserialize(I,d){return FE0.de_GetIdentityPoolRolesCommand(I,d)}}pW1.GetIdentityPoolRolesCommand=cW1});var aW1=Y((rW1)=>{Object.defineProperty(rW1,"__esModule",{value:!0});rW1.GetOpenIdTokenCommand=rW1.$Command=void 0;var qC5=u2(),RC5=r2(),NE0=v0();Object.defineProperty(rW1,"$Command",{enumerable:!0,get:function(){return NE0.Command}});var KE0=W3();class nW1 extends NE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(RC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(qC5.getEndpointPlugin(d,nW1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetOpenIdTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return KE0.se_GetOpenIdTokenCommand(I,d)}deserialize(I,d){return KE0.de_GetOpenIdTokenCommand(I,d)}}rW1.GetOpenIdTokenCommand=nW1});var eW1=Y((oW1)=>{Object.defineProperty(oW1,"__esModule",{value:!0});oW1.GetOpenIdTokenForDeveloperIdentityCommand=oW1.$Command=void 0;var UC5=u2(),vC5=r2(),EC5=A9(),fE0=v0();Object.defineProperty(oW1,"$Command",{enumerable:!0,get:function(){return fE0.Command}});var QE0=W3();class sW1 extends fE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(vC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(UC5.getEndpointPlugin(d,sW1.getEndpointParameterInstructions())),this.middlewareStack.use(EC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetOpenIdTokenForDeveloperIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return QE0.se_GetOpenIdTokenForDeveloperIdentityCommand(I,d)}deserialize(I,d){return QE0.de_GetOpenIdTokenForDeveloperIdentityCommand(I,d)}}oW1.GetOpenIdTokenForDeveloperIdentityCommand=sW1});var dw1=Y((Iw1)=>{Object.defineProperty(Iw1,"__esModule",{value:!0});Iw1.GetPrincipalTagAttributeMapCommand=Iw1.$Command=void 0;var MC5=u2(),SC5=r2(),LC5=A9(),UE0=v0();Object.defineProperty(Iw1,"$Command",{enumerable:!0,get:function(){return UE0.Command}});var RE0=W3();class tW1 extends UE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(SC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(MC5.getEndpointPlugin(d,tW1.getEndpointParameterInstructions())),this.middlewareStack.use(LC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"GetPrincipalTagAttributeMapCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return RE0.se_GetPrincipalTagAttributeMapCommand(I,d)}deserialize(I,d){return RE0.de_GetPrincipalTagAttributeMapCommand(I,d)}}Iw1.GetPrincipalTagAttributeMapCommand=tW1});var Cw1=Y((Zw1)=>{Object.defineProperty(Zw1,"__esModule",{value:!0});Zw1.ListIdentitiesCommand=Zw1.$Command=void 0;var yC5=u2(),PC5=r2(),$C5=A9(),ME0=v0();Object.defineProperty(Zw1,"$Command",{enumerable:!0,get:function(){return ME0.Command}});var EE0=W3();class Gw1 extends ME0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(PC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(yC5.getEndpointPlugin(d,Gw1.getEndpointParameterInstructions())),this.middlewareStack.use($C5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"ListIdentitiesCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return EE0.se_ListIdentitiesCommand(I,d)}deserialize(I,d){return EE0.de_ListIdentitiesCommand(I,d)}}Zw1.ListIdentitiesCommand=Gw1});var Op=Y((ww1)=>{Object.defineProperty(ww1,"__esModule",{value:!0});ww1.ListIdentityPoolsCommand=ww1.$Command=void 0;var uC5=u2(),TC5=r2(),OC5=A9(),yE0=v0();Object.defineProperty(ww1,"$Command",{enumerable:!0,get:function(){return yE0.Command}});var LE0=W3();class Ww1 extends yE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(TC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(uC5.getEndpointPlugin(d,Ww1.getEndpointParameterInstructions())),this.middlewareStack.use(OC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"ListIdentityPoolsCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return LE0.se_ListIdentityPoolsCommand(I,d)}deserialize(I,d){return LE0.de_ListIdentityPoolsCommand(I,d)}}ww1.ListIdentityPoolsCommand=Ww1});var Vw1=Y((Aw1)=>{Object.defineProperty(Aw1,"__esModule",{value:!0});Aw1.ListTagsForResourceCommand=Aw1.$Command=void 0;var mC5=u2(),lC5=r2(),bC5=A9(),uE0=v0();Object.defineProperty(Aw1,"$Command",{enumerable:!0,get:function(){return uE0.Command}});var $E0=W3();class Bw1 extends uE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(lC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(mC5.getEndpointPlugin(d,Bw1.getEndpointParameterInstructions())),this.middlewareStack.use(bC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"ListTagsForResourceCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return $E0.se_ListTagsForResourceCommand(I,d)}deserialize(I,d){return $E0.de_ListTagsForResourceCommand(I,d)}}Aw1.ListTagsForResourceCommand=Bw1});var _w1=Y((Yw1)=>{Object.defineProperty(Yw1,"__esModule",{value:!0});Yw1.LookupDeveloperIdentityCommand=Yw1.$Command=void 0;var hC5=u2(),jC5=r2(),kC5=A9(),mE0=v0();Object.defineProperty(Yw1,"$Command",{enumerable:!0,get:function(){return mE0.Command}});var OE0=W3();class Xw1 extends mE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(jC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(hC5.getEndpointPlugin(d,Xw1.getEndpointParameterInstructions())),this.middlewareStack.use(kC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"LookupDeveloperIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return OE0.se_LookupDeveloperIdentityCommand(I,d)}deserialize(I,d){return OE0.de_LookupDeveloperIdentityCommand(I,d)}}Yw1.LookupDeveloperIdentityCommand=Xw1});var Fw1=Y((Hw1)=>{Object.defineProperty(Hw1,"__esModule",{value:!0});Hw1.MergeDeveloperIdentitiesCommand=Hw1.$Command=void 0;var xC5=u2(),cC5=r2(),pC5=A9(),hE0=v0();Object.defineProperty(Hw1,"$Command",{enumerable:!0,get:function(){return hE0.Command}});var bE0=W3();class Dw1 extends hE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(cC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(xC5.getEndpointPlugin(d,Dw1.getEndpointParameterInstructions())),this.middlewareStack.use(pC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"MergeDeveloperIdentitiesCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return bE0.se_MergeDeveloperIdentitiesCommand(I,d)}deserialize(I,d){return bE0.de_MergeDeveloperIdentitiesCommand(I,d)}}Hw1.MergeDeveloperIdentitiesCommand=Dw1});var Kw1=Y((Jw1)=>{Object.defineProperty(Jw1,"__esModule",{value:!0});Jw1.SetIdentityPoolRolesCommand=Jw1.$Command=void 0;var iC5=u2(),nC5=r2(),rC5=A9(),xE0=v0();Object.defineProperty(Jw1,"$Command",{enumerable:!0,get:function(){return xE0.Command}});var kE0=W3();class gw1 extends xE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(nC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(iC5.getEndpointPlugin(d,gw1.getEndpointParameterInstructions())),this.middlewareStack.use(rC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"SetIdentityPoolRolesCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return kE0.se_SetIdentityPoolRolesCommand(I,d)}deserialize(I,d){return kE0.de_SetIdentityPoolRolesCommand(I,d)}}Jw1.SetIdentityPoolRolesCommand=gw1});var Qw1=Y((zw1)=>{Object.defineProperty(zw1,"__esModule",{value:!0});zw1.SetPrincipalTagAttributeMapCommand=zw1.$Command=void 0;var aC5=u2(),sC5=r2(),oC5=A9(),iE0=v0();Object.defineProperty(zw1,"$Command",{enumerable:!0,get:function(){return iE0.Command}});var pE0=W3();class Nw1 extends iE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(sC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(aC5.getEndpointPlugin(d,Nw1.getEndpointParameterInstructions())),this.middlewareStack.use(oC5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"SetPrincipalTagAttributeMapCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return pE0.se_SetPrincipalTagAttributeMapCommand(I,d)}deserialize(I,d){return pE0.de_SetPrincipalTagAttributeMapCommand(I,d)}}zw1.SetPrincipalTagAttributeMapCommand=Nw1});var Rw1=Y((qw1)=>{Object.defineProperty(qw1,"__esModule",{value:!0});qw1.TagResourceCommand=qw1.$Command=void 0;var eC5=u2(),tC5=r2(),IW5=A9(),aE0=v0();Object.defineProperty(qw1,"$Command",{enumerable:!0,get:function(){return aE0.Command}});var rE0=W3();class fw1 extends aE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(tC5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(eC5.getEndpointPlugin(d,fw1.getEndpointParameterInstructions())),this.middlewareStack.use(IW5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"TagResourceCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return rE0.se_TagResourceCommand(I,d)}deserialize(I,d){return rE0.de_TagResourceCommand(I,d)}}qw1.TagResourceCommand=fw1});var Ew1=Y((vw1)=>{Object.defineProperty(vw1,"__esModule",{value:!0});vw1.UnlinkDeveloperIdentityCommand=vw1.$Command=void 0;var dW5=u2(),GW5=r2(),ZW5=A9(),eE0=v0();Object.defineProperty(vw1,"$Command",{enumerable:!0,get:function(){return eE0.Command}});var oE0=W3();class Uw1 extends eE0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(GW5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(dW5.getEndpointPlugin(d,Uw1.getEndpointParameterInstructions())),this.middlewareStack.use(ZW5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"UnlinkDeveloperIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return oE0.se_UnlinkDeveloperIdentityCommand(I,d)}deserialize(I,d){return oE0.de_UnlinkDeveloperIdentityCommand(I,d)}}vw1.UnlinkDeveloperIdentityCommand=Uw1});var Lw1=Y((Sw1)=>{Object.defineProperty(Sw1,"__esModule",{value:!0});Sw1.UnlinkIdentityCommand=Sw1.$Command=void 0;var CW5=u2(),WW5=r2(),dM0=v0();Object.defineProperty(Sw1,"$Command",{enumerable:!0,get:function(){return dM0.Command}});var IM0=W3();class Mw1 extends dM0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(WW5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(CW5.getEndpointPlugin(d,Mw1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"UnlinkIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return IM0.se_UnlinkIdentityCommand(I,d)}deserialize(I,d){return IM0.de_UnlinkIdentityCommand(I,d)}}Sw1.UnlinkIdentityCommand=Mw1});var $w1=Y((Pw1)=>{Object.defineProperty(Pw1,"__esModule",{value:!0});Pw1.UntagResourceCommand=Pw1.$Command=void 0;var wW5=u2(),BW5=r2(),AW5=A9(),CM0=v0();Object.defineProperty(Pw1,"$Command",{enumerable:!0,get:function(){return CM0.Command}});var ZM0=W3();class yw1 extends CM0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(BW5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(wW5.getEndpointPlugin(d,yw1.getEndpointParameterInstructions())),this.middlewareStack.use(AW5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"UntagResourceCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return ZM0.se_UntagResourceCommand(I,d)}deserialize(I,d){return ZM0.de_UntagResourceCommand(I,d)}}Pw1.UntagResourceCommand=yw1});var Ow1=Y((Tw1)=>{Object.defineProperty(Tw1,"__esModule",{value:!0});Tw1.UpdateIdentityPoolCommand=Tw1.$Command=void 0;var VW5=u2(),XW5=r2(),YW5=A9(),BM0=v0();Object.defineProperty(Tw1,"$Command",{enumerable:!0,get:function(){return BM0.Command}});var wM0=W3();class uw1 extends BM0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(XW5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(VW5.getEndpointPlugin(d,uw1.getEndpointParameterInstructions())),this.middlewareStack.use(YW5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"CognitoIdentityClient",commandName:"UpdateIdentityPoolCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return wM0.se_UpdateIdentityPoolCommand(I,d)}deserialize(I,d){return wM0.de_UpdateIdentityPoolCommand(I,d)}}Tw1.UpdateIdentityPoolCommand=uw1});var YM0=Y((VM0)=>{Object.defineProperty(VM0,"__esModule",{value:!0});VM0.CognitoIdentity=void 0;var _W5=v0(),DW5=$p(),HW5=UW1(),FW5=MW1(),gW5=yW1(),JW5=uW1(),KW5=mW1(),NW5=hW1(),zW5=xW1(),QW5=iW1(),fW5=aW1(),qW5=eW1(),RW5=dw1(),UW5=Cw1(),vW5=Op(),EW5=Vw1(),MW5=_w1(),SW5=Fw1(),LW5=Kw1(),yW5=Qw1(),PW5=Rw1(),$W5=Ew1(),uW5=Lw1(),TW5=$w1(),OW5=Ow1(),mW5={CreateIdentityPoolCommand:HW5.CreateIdentityPoolCommand,DeleteIdentitiesCommand:FW5.DeleteIdentitiesCommand,DeleteIdentityPoolCommand:gW5.DeleteIdentityPoolCommand,DescribeIdentityCommand:JW5.DescribeIdentityCommand,DescribeIdentityPoolCommand:KW5.DescribeIdentityPoolCommand,GetCredentialsForIdentityCommand:NW5.GetCredentialsForIdentityCommand,GetIdCommand:zW5.GetIdCommand,GetIdentityPoolRolesCommand:QW5.GetIdentityPoolRolesCommand,GetOpenIdTokenCommand:fW5.GetOpenIdTokenCommand,GetOpenIdTokenForDeveloperIdentityCommand:qW5.GetOpenIdTokenForDeveloperIdentityCommand,GetPrincipalTagAttributeMapCommand:RW5.GetPrincipalTagAttributeMapCommand,ListIdentitiesCommand:UW5.ListIdentitiesCommand,ListIdentityPoolsCommand:vW5.ListIdentityPoolsCommand,ListTagsForResourceCommand:EW5.ListTagsForResourceCommand,LookupDeveloperIdentityCommand:MW5.LookupDeveloperIdentityCommand,MergeDeveloperIdentitiesCommand:SW5.MergeDeveloperIdentitiesCommand,SetIdentityPoolRolesCommand:LW5.SetIdentityPoolRolesCommand,SetPrincipalTagAttributeMapCommand:yW5.SetPrincipalTagAttributeMapCommand,TagResourceCommand:PW5.TagResourceCommand,UnlinkDeveloperIdentityCommand:$W5.UnlinkDeveloperIdentityCommand,UnlinkIdentityCommand:uW5.UnlinkIdentityCommand,UntagResourceCommand:TW5.UntagResourceCommand,UpdateIdentityPoolCommand:OW5.UpdateIdentityPoolCommand};class mw1 extends DW5.CognitoIdentityClient{}VM0.CognitoIdentity=mw1;_W5.createAggregatedClient(mW5,mw1)});var _M0=Y((k9)=>{Object.defineProperty(k9,"__esModule",{value:!0});var v3=x1();v3.__exportStar(UW1(),k9);v3.__exportStar(MW1(),k9);v3.__exportStar(yW1(),k9);v3.__exportStar(uW1(),k9);v3.__exportStar(mW1(),k9);v3.__exportStar(hW1(),k9);v3.__exportStar(xW1(),k9);v3.__exportStar(iW1(),k9);v3.__exportStar(aW1(),k9);v3.__exportStar(eW1(),k9);v3.__exportStar(dw1(),k9);v3.__exportStar(Cw1(),k9);v3.__exportStar(Op(),k9);v3.__exportStar(Vw1(),k9);v3.__exportStar(_w1(),k9);v3.__exportStar(Fw1(),k9);v3.__exportStar(Kw1(),k9);v3.__exportStar(Qw1(),k9);v3.__exportStar(Rw1(),k9);v3.__exportStar(Ew1(),k9);v3.__exportStar(Lw1(),k9);v3.__exportStar($w1(),k9);v3.__exportStar(Ow1(),k9)});var HM0=Y((DM0)=>{Object.defineProperty(DM0,"__esModule",{value:!0})});var JM0=Y((FM0)=>{Object.defineProperty(FM0,"__esModule",{value:!0});FM0.paginateListIdentityPools=void 0;var lW5=$p(),bW5=Op(),hW5=async(I,d,...G)=>{return await I.send(new bW5.ListIdentityPoolsCommand(d),...G)};async function*jW5(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.NextToken=Z,d.MaxResults=I.pageSize,I.client instanceof lW5.CognitoIdentityClient)W=await hW5(I.client,d,...G);else throw new Error("Invalid client, expected CognitoIdentity | CognitoIdentityClient");yield W;let w=Z;Z=W.NextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}FM0.paginateListIdentityPools=jW5});var NM0=Y((mp)=>{Object.defineProperty(mp,"__esModule",{value:!0});var KM0=x1();KM0.__exportStar(HM0(),mp);KM0.__exportStar(JM0(),mp)});var zM0=Y((lw1)=>{Object.defineProperty(lw1,"__esModule",{value:!0});var kW5=x1();kW5.__exportStar(QW1(),lw1)});var Fy=Y((dD)=>{Object.defineProperty(dD,"__esModule",{value:!0});dD.CognitoIdentityServiceException=void 0;var Hy=x1();Hy.__exportStar($p(),dD);Hy.__exportStar(YM0(),dD);Hy.__exportStar(_M0(),dD);Hy.__exportStar(NM0(),dD);Hy.__exportStar(zM0(),dD);var xW5=up();Object.defineProperty(dD,"CognitoIdentityServiceException",{enumerable:!0,get:function(){return xW5.CognitoIdentityServiceException}})});var fM0=Y((QM0)=>{Object.defineProperty(QM0,"__esModule",{value:!0})});var RM0=Y((qM0)=>{Object.defineProperty(qM0,"__esModule",{value:!0})});var vM0=Y((UM0)=>{Object.defineProperty(UM0,"__esModule",{value:!0})});var bw1=Y((EM0)=>{Object.defineProperty(EM0,"__esModule",{value:!0});EM0.resolveLogins=void 0;function pW5(I){return Promise.all(Object.keys(I).reduce((d,G)=>{let Z=I[G];if(typeof Z==="string")d.push([G,Z]);else d.push(Z().then((C)=>[G,C]));return d},[])).then((d)=>d.reduce((G,[Z,C])=>{return G[Z]=C,G},{}))}EM0.resolveLogins=pW5});var jw1=Y((SM0)=>{Object.defineProperty(SM0,"__esModule",{value:!0});SM0.fromCognitoIdentity=void 0;var iW5=Fy(),hw1=W4(),nW5=bw1();function rW5(I){return async()=>{let{Credentials:{AccessKeyId:d=aW5(),Expiration:G,SecretKey:Z=oW5(),SessionToken:C}=sW5()}=await I.client.send(new iW5.GetCredentialsForIdentityCommand({CustomRoleArn:I.customRoleArn,IdentityId:I.identityId,Logins:I.logins?await nW5.resolveLogins(I.logins):void 0}));return{identityId:I.identityId,accessKeyId:d,secretAccessKey:Z,sessionToken:C,expiration:G}}}SM0.fromCognitoIdentity=rW5;function aW5(){throw new hw1.CredentialsProviderError("Response from Amazon Cognito contained no access key ID")}function sW5(){throw new hw1.CredentialsProviderError("Response from Amazon Cognito contained no credentials")}function oW5(){throw new hw1.CredentialsProviderError("Response from Amazon Cognito contained no secret key")}});var uM0=Y((PM0)=>{Object.defineProperty(PM0,"__esModule",{value:!0});PM0.IndexedDbStorage=void 0;var kw1="IdentityIds";class yM0{constructor(I="aws:cognito-identity-ids"){this.dbName=I}getItem(I){return this.withObjectStore("readonly",(d)=>{let G=d.get(I);return new Promise((Z)=>{G.onerror=()=>Z(null),G.onsuccess=()=>Z(G.result?G.result.value:null)})}).catch(()=>null)}removeItem(I){return this.withObjectStore("readwrite",(d)=>{let G=d.delete(I);return new Promise((Z,C)=>{G.onerror=()=>C(G.error),G.onsuccess=()=>Z()})})}setItem(I,d){return this.withObjectStore("readwrite",(G)=>{let Z=G.put({id:I,value:d});return new Promise((C,W)=>{Z.onerror=()=>W(Z.error),Z.onsuccess=()=>C()})})}getDb(){let I=self.indexedDB.open(this.dbName,1);return new Promise((d,G)=>{I.onsuccess=()=>{d(I.result)},I.onerror=()=>{G(I.error)},I.onblocked=()=>{G(new Error("Unable to access DB"))},I.onupgradeneeded=()=>{let Z=I.result;Z.onerror=()=>{G(new Error("Failed to create object store"))},Z.createObjectStore(kw1,{keyPath:"id"})}})}withObjectStore(I,d){return this.getDb().then((G)=>{let Z=G.transaction(kw1,I);return Z.oncomplete=()=>G.close(),new Promise((C,W)=>{Z.onerror=()=>W(Z.error),C(d(Z.objectStore(kw1)))}).catch((C)=>{throw G.close(),C})})}}PM0.IndexedDbStorage=yM0});var lM0=Y((OM0)=>{Object.defineProperty(OM0,"__esModule",{value:!0});OM0.InMemoryStorage=void 0;class TM0{constructor(I={}){this.store=I}getItem(I){if(I in this.store)return this.store[I];return null}removeItem(I){delete this.store[I]}setItem(I,d){this.store[I]=d}}OM0.InMemoryStorage=TM0});var jM0=Y((bM0)=>{Object.defineProperty(bM0,"__esModule",{value:!0});bM0.localStorage=void 0;var eW5=uM0(),tW5=lM0(),Iw5=new tW5.InMemoryStorage;function dw5(){if(typeof self==="object"&&self.indexedDB)return new eW5.IndexedDbStorage;if(typeof window==="object"&&window.localStorage)return window.localStorage;return Iw5}bM0.localStorage=dw5});var cM0=Y((kM0)=>{Object.defineProperty(kM0,"__esModule",{value:!0});kM0.fromCognitoIdentityPool=void 0;var Gw5=Fy(),Zw5=W4(),Cw5=jw1(),Ww5=jM0(),ww5=bw1();function Bw5({accountId:I,cache:d=Ww5.localStorage(),client:G,customRoleArn:Z,identityPoolId:C,logins:W,userIdentifier:w=!W||Object.keys(W).length===0?"ANONYMOUS":void 0}){let B=w?`aws:cognito-identity-credentials:${C}:${w}`:void 0,A=async()=>{let V=B&&await d.getItem(B);if(!V){let{IdentityId:X=Aw5()}=await G.send(new Gw5.GetIdCommand({AccountId:I,IdentityPoolId:C,Logins:W?await ww5.resolveLogins(W):void 0}));if(V=X,B)Promise.resolve(d.setItem(B,V)).catch(()=>{})}return A=Cw5.fromCognitoIdentity({client:G,customRoleArn:Z,logins:W,identityId:V}),A()};return()=>A().catch(async(V)=>{if(B)Promise.resolve(d.removeItem(B)).catch(()=>{});throw V})}kM0.fromCognitoIdentityPool=Bw5;function Aw5(){throw new Zw5.CredentialsProviderError("Response from Amazon Cognito contained no identity ID")}});var xw1=Y((VJ)=>{Object.defineProperty(VJ,"__esModule",{value:!0});var gy=x1();gy.__exportStar(fM0(),VJ);gy.__exportStar(RM0(),VJ);gy.__exportStar(vM0(),VJ);gy.__exportStar(jw1(),VJ);gy.__exportStar(cM0(),VJ)});var nM0=Y((pM0)=>{Object.defineProperty(pM0,"__esModule",{value:!0});pM0.fromCognitoIdentity=void 0;var Vw5=Fy(),Xw5=xw1(),Yw5=(I)=>{var d;return Xw5.fromCognitoIdentity({...I,client:new Vw5.CognitoIdentityClient((d=I.clientConfig)!==null&&d!==void 0?d:{})})};pM0.fromCognitoIdentity=Yw5});var sM0=Y((rM0)=>{Object.defineProperty(rM0,"__esModule",{value:!0});rM0.fromCognitoIdentityPool=void 0;var _w5=Fy(),Dw5=xw1(),Hw5=(I)=>{var d;return Dw5.fromCognitoIdentityPool({...I,client:new _w5.CognitoIdentityClient((d=I.clientConfig)!==null&&d!==void 0?d:{})})};rM0.fromCognitoIdentityPool=Hw5});var tM0=Y((oM0)=>{Object.defineProperty(oM0,"__esModule",{value:!0});oM0.fromContainerMetadata=void 0;var Fw5=i_(),gw5=(I)=>Fw5.fromContainerMetadata(I);oM0.fromContainerMetadata=gw5});var wS0=Y((IS0)=>{Object.defineProperty(IS0,"__esModule",{value:!0});IS0.fromEnv=IS0.ENV_EXPIRATION=IS0.ENV_SESSION=IS0.ENV_SECRET=IS0.ENV_KEY=void 0;var Jw5=W4();IS0.ENV_KEY="AWS_ACCESS_KEY_ID";IS0.ENV_SECRET="AWS_SECRET_ACCESS_KEY";IS0.ENV_SESSION="AWS_SESSION_TOKEN";IS0.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var Kw5=()=>async()=>{let I=process.env[IS0.ENV_KEY],d=process.env[IS0.ENV_SECRET],G=process.env[IS0.ENV_SESSION],Z=process.env[IS0.ENV_EXPIRATION];if(I&&d)return{accessKeyId:I,secretAccessKey:d,...G&&{sessionToken:G},...Z&&{expiration:new Date(Z)}};throw new Jw5.CredentialsProviderError("Unable to find environment variable credentials.")};IS0.fromEnv=Kw5});var lp=Y((cw1)=>{Object.defineProperty(cw1,"__esModule",{value:!0});var Nw5=x1();Nw5.__exportStar(wS0(),cw1)});var VS0=Y((BS0)=>{Object.defineProperty(BS0,"__esModule",{value:!0});BS0.fromEnv=void 0;var zw5=lp(),Qw5=()=>zw5.fromEnv();BS0.fromEnv=Qw5});var pw1=Y((XS0)=>{Object.defineProperty(XS0,"__esModule",{value:!0});XS0.getHostHeaderPlugin=XS0.hostHeaderMiddlewareOptions=XS0.hostHeaderMiddleware=XS0.resolveHostHeaderConfig=void 0;var fw5=J8();function qw5(I){return I}XS0.resolveHostHeaderConfig=qw5;var Rw5=(I)=>(d)=>async(G)=>{if(!fw5.HttpRequest.isInstance(G.request))return d(G);let{request:Z}=G,{handlerProtocol:C=""}=I.requestHandler.metadata||{};if(C.indexOf("h2")>=0&&!Z.headers[":authority"])delete Z.headers.host,Z.headers[":authority"]="";else if(!Z.headers.host){let W=Z.hostname;if(Z.port!=null)W+=`:${Z.port}`;Z.headers.host=W}return d(G)};XS0.hostHeaderMiddleware=Rw5;XS0.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var Uw5=(I)=>({applyToStack:(d)=>{d.add(XS0.hostHeaderMiddleware(I),XS0.hostHeaderMiddlewareOptions)}});XS0.getHostHeaderPlugin=Uw5});var KS0=Y((HS0)=>{Object.defineProperty(HS0,"__esModule",{value:!0});HS0.getLoggerPlugin=HS0.loggerMiddlewareOptions=HS0.loggerMiddleware=void 0;var Ew5=()=>(I,d)=>async(G)=>{var Z,C;try{let W=await I(G),{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X,overrideOutputFilterSensitiveLog:_}=V,F=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog,g=_!==null&&_!==void 0?_:d.outputFilterSensitiveLog,{$metadata:J,...K}=W.output;return(Z=A===null||A===void 0?void 0:A.info)===null||Z===void 0||Z.call(A,{clientName:w,commandName:B,input:F(G.input),output:g(K),metadata:J}),W}catch(W){let{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X}=V,_=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog;throw(C=A===null||A===void 0?void 0:A.error)===null||C===void 0||C.call(A,{clientName:w,commandName:B,input:_(G.input),error:W,metadata:W.$metadata}),W}};HS0.loggerMiddleware=Ew5;HS0.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var Mw5=(I)=>({applyToStack:(d)=>{d.add(HS0.loggerMiddleware(),HS0.loggerMiddlewareOptions)}});HS0.getLoggerPlugin=Mw5});var nw1=Y((iw1)=>{Object.defineProperty(iw1,"__esModule",{value:!0});var Sw5=x1();Sw5.__exportStar(KS0(),iw1)});var rw1=Y((zS0)=>{Object.defineProperty(zS0,"__esModule",{value:!0});zS0.getRecursionDetectionPlugin=zS0.addRecursionDetectionMiddlewareOptions=zS0.recursionDetectionMiddleware=void 0;var Lw5=J8(),NS0="X-Amzn-Trace-Id",yw5="AWS_LAMBDA_FUNCTION_NAME",Pw5="_X_AMZN_TRACE_ID",$w5=(I)=>(d)=>async(G)=>{let{request:Z}=G;if(!Lw5.HttpRequest.isInstance(Z)||I.runtime!=="node"||Z.headers.hasOwnProperty(NS0))return d(G);let C=process.env[yw5],W=process.env[Pw5],w=(B)=>typeof B==="string"&&B.length>0;if(w(C)&&w(W))Z.headers[NS0]=W;return d({...G,request:Z})};zS0.recursionDetectionMiddleware=$w5;zS0.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var uw5=(I)=>({applyToStack:(d)=>{d.add(zS0.recursionDetectionMiddleware(I),zS0.addRecursionDetectionMiddlewareOptions)}});zS0.getRecursionDetectionPlugin=uw5});var ES0=Y((US0)=>{Object.defineProperty(US0,"__esModule",{value:!0});US0.resolveSigV4AuthConfig=US0.resolveAwsAuthConfig=void 0;var Tw5=W4(),aw1=kI1(),af=M_(),Ow5=300000,mw5=(I)=>{let d=I.credentials?RS0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=af.normalizeProvider(I.signer);else if(I.regionInfoProvider)W=()=>af.normalizeProvider(I.region)().then(async(w)=>[await I.regionInfoProvider(w,{useFipsEndpoint:await I.useFipsEndpoint(),useDualstackEndpoint:await I.useDualstackEndpoint()})||{},w]).then(([w,B])=>{let{signingRegion:A,signingService:V}=w;I.signingRegion=I.signingRegion||A||B,I.signingName=I.signingName||V||I.serviceId;let X={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||aw1.SignatureV4)(X)});else W=async(w)=>{w=Object.assign({},{name:"sigv4",signingName:I.signingName||I.defaultSigningName,signingRegion:await af.normalizeProvider(I.region)(),properties:{}},w);let{signingRegion:B,signingName:A}=w;I.signingRegion=I.signingRegion||B,I.signingName=I.signingName||A||I.serviceId;let V={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||aw1.SignatureV4)(V)};return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};US0.resolveAwsAuthConfig=mw5;var lw5=(I)=>{let d=I.credentials?RS0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=af.normalizeProvider(I.signer);else W=af.normalizeProvider(new aw1.SignatureV4({credentials:d,region:I.region,service:I.signingName,sha256:C,uriEscapePath:G}));return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};US0.resolveSigV4AuthConfig=lw5;var RS0=(I)=>{if(typeof I==="function")return Tw5.memoize(I,(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<Ow5,(d)=>d.expiration!==void 0);return af.normalizeProvider(I)}});var sw1=Y((MS0)=>{Object.defineProperty(MS0,"__esModule",{value:!0});MS0.getSkewCorrectedDate=void 0;var hw5=(I)=>new Date(Date.now()+I);MS0.getSkewCorrectedDate=hw5});var PS0=Y((LS0)=>{Object.defineProperty(LS0,"__esModule",{value:!0});LS0.isClockSkewed=void 0;var jw5=sw1(),kw5=(I,d)=>Math.abs(jw5.getSkewCorrectedDate(d).getTime()-I)>=300000;LS0.isClockSkewed=kw5});var TS0=Y(($S0)=>{Object.defineProperty($S0,"__esModule",{value:!0});$S0.getUpdatedSystemClockOffset=void 0;var xw5=PS0(),cw5=(I,d)=>{let G=Date.parse(I);if(xw5.isClockSkewed(G,d))return G-Date.now();return d};$S0.getUpdatedSystemClockOffset=cw5});var cS0=Y((bS0)=>{Object.defineProperty(bS0,"__esModule",{value:!0});bS0.getSigV4AuthPlugin=bS0.getAwsAuthPlugin=bS0.awsAuthMiddlewareOptions=bS0.awsAuthMiddleware=void 0;var lS0=J8(),pw5=sw1(),OS0=TS0(),iw5=(I)=>(d,G)=>async function(Z){var C,W,w,B;if(!lS0.HttpRequest.isInstance(Z.request))return d(Z);let A=(w=(W=(C=G.endpointV2)===null||C===void 0?void 0:C.properties)===null||W===void 0?void 0:W.authSchemes)===null||w===void 0?void 0:w[0],V=(A===null||A===void 0?void 0:A.name)==="sigv4a"?(B=A===null||A===void 0?void 0:A.signingRegionSet)===null||B===void 0?void 0:B.join(","):void 0,X=await I.signer(A),_=await d({...Z,request:await X.sign(Z.request,{signingDate:pw5.getSkewCorrectedDate(I.systemClockOffset),signingRegion:V||G.signing_region,signingService:G.signing_service})}).catch((g)=>{var J;let K=(J=g.ServerTime)!==null&&J!==void 0?J:mS0(g.$response);if(K)I.systemClockOffset=OS0.getUpdatedSystemClockOffset(K,I.systemClockOffset);throw g}),F=mS0(_.response);if(F)I.systemClockOffset=OS0.getUpdatedSystemClockOffset(F,I.systemClockOffset);return _};bS0.awsAuthMiddleware=iw5;var mS0=(I)=>{var d,G,Z;return lS0.HttpResponse.isInstance(I)?(G=(d=I.headers)===null||d===void 0?void 0:d.date)!==null&&G!==void 0?G:(Z=I.headers)===null||Z===void 0?void 0:Z.Date:void 0};bS0.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var nw5=(I)=>({applyToStack:(d)=>{d.addRelativeTo(bS0.awsAuthMiddleware(I),bS0.awsAuthMiddlewareOptions)}});bS0.getAwsAuthPlugin=nw5;bS0.getSigV4AuthPlugin=bS0.getAwsAuthPlugin});var GD=Y((bp)=>{Object.defineProperty(bp,"__esModule",{value:!0});var pS0=x1();pS0.__exportStar(ES0(),bp);pS0.__exportStar(cS0(),bp)});var rS0=Y((iS0)=>{Object.defineProperty(iS0,"__esModule",{value:!0});iS0.resolveStsAuthConfig=void 0;var rw5=GD(),aw5=(I,{stsClientCtor:d})=>rw5.resolveAwsAuthConfig({...I,stsClientCtor:d});iS0.resolveStsAuthConfig=aw5});var oS0=Y((aS0)=>{Object.defineProperty(aS0,"__esModule",{value:!0});aS0.resolveUserAgentConfig=void 0;function sw5(I){return{...I,customUserAgent:typeof I.customUserAgent==="string"?[[I.customUserAgent]]:I.customUserAgent}}aS0.resolveUserAgentConfig=sw5});var eS0=Y((t33,ow5)=>{ow5.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var ow1=Y((GL0)=>{Object.defineProperty(GL0,"__esModule",{value:!0});GL0.getUserAgentPrefix=GL0.useDefaultPartitionInfo=GL0.setPartitionInfo=GL0.partition=void 0;var ew5=x1(),tS0=ew5.__importDefault(eS0()),IL0=tS0.default,dL0="",tw5=(I)=>{let{partitions:d}=IL0;for(let Z of d){let{regions:C,outputs:W}=Z;for(let[w,B]of Object.entries(C))if(w===I)return{...W,...B}}for(let Z of d){let{regionRegex:C,outputs:W}=Z;if(new RegExp(C).test(I))return{...W}}let G=d.find((Z)=>Z.id==="aws");if(!G)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...G.outputs}};GL0.partition=tw5;var IB5=(I,d="")=>{IL0=I,dL0=d};GL0.setPartitionInfo=IB5;var dB5=()=>{GL0.setPartitionInfo(tS0.default,"")};GL0.useDefaultPartitionInfo=dB5;var GB5=()=>dL0;GL0.getUserAgentPrefix=GB5});var BL0=Y((WL0)=>{Object.defineProperty(WL0,"__esModule",{value:!0});WL0.debugId=void 0;WL0.debugId="endpoints"});var XL0=Y((AL0)=>{Object.defineProperty(AL0,"__esModule",{value:!0});AL0.toDebugString=void 0;function ew1(I){if(typeof I!=="object"||I==null)return I;if("ref"in I)return`$${ew1(I.ref)}`;if("fn"in I)return`${I.fn}(${(I.argv||[]).map(ew1).join(", ")})`;return JSON.stringify(I,null,2)}AL0.toDebugString=ew1});var Jy=Y((hp)=>{Object.defineProperty(hp,"__esModule",{value:!0});var YL0=x1();YL0.__exportStar(BL0(),hp);YL0.__exportStar(XL0(),hp)});var FL0=Y((DL0)=>{Object.defineProperty(DL0,"__esModule",{value:!0});DL0.EndpointError=void 0;class _L0 extends Error{constructor(I){super(I);this.name="EndpointError"}}DL0.EndpointError=_L0});var JL0=Y((gL0)=>{Object.defineProperty(gL0,"__esModule",{value:!0})});var NL0=Y((KL0)=>{Object.defineProperty(KL0,"__esModule",{value:!0})});var QL0=Y((zL0)=>{Object.defineProperty(zL0,"__esModule",{value:!0})});var qL0=Y((fL0)=>{Object.defineProperty(fL0,"__esModule",{value:!0})});var UL0=Y((RL0)=>{Object.defineProperty(RL0,"__esModule",{value:!0})});var vZ=Y((ZD)=>{Object.defineProperty(ZD,"__esModule",{value:!0});var sf=x1();sf.__exportStar(FL0(),ZD);sf.__exportStar(JL0(),ZD);sf.__exportStar(NL0(),ZD);sf.__exportStar(QL0(),ZD);sf.__exportStar(qL0(),ZD);sf.__exportStar(UL0(),ZD)});var tw1=Y((vL0)=>{Object.defineProperty(vL0,"__esModule",{value:!0});vL0.isIpAddress=void 0;var WB5=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),wB5=(I)=>WB5.test(I)||I.startsWith("[")&&I.endsWith("]");vL0.isIpAddress=wB5});var dB1=Y((ML0)=>{Object.defineProperty(ML0,"__esModule",{value:!0});ML0.isValidHostLabel=void 0;var BB5=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),AB5=(I,d=!1)=>{if(!d)return BB5.test(I);let G=I.split(".");for(let Z of G)if(!ML0.isValidHostLabel(Z))return!1;return!0};ML0.isValidHostLabel=AB5});var LL0=Y((SL0)=>{Object.defineProperty(SL0,"__esModule",{value:!0});SL0.isVirtualHostableS3Bucket=void 0;var VB5=tw1(),XB5=dB1(),YB5=(I,d=!1)=>{if(d){for(let G of I.split("."))if(!SL0.isVirtualHostableS3Bucket(G))return!1;return!0}if(!XB5.isValidHostLabel(I))return!1;if(I.length<3||I.length>63)return!1;if(I!==I.toLowerCase())return!1;if(VB5.isIpAddress(I))return!1;return!0};SL0.isVirtualHostableS3Bucket=YB5});var $L0=Y((yL0)=>{Object.defineProperty(yL0,"__esModule",{value:!0});yL0.parseArn=void 0;var _B5=(I)=>{let d=I.split(":");if(d.length<6)return null;let[G,Z,C,W,w,...B]=d;if(G!=="arn"||Z===""||C===""||B[0]==="")return null;return{partition:Z,service:C,region:W,accountId:w,resourceId:B[0].includes("/")?B[0].split("/"):B}};yL0.parseArn=_B5});var uL0=Y((Ky)=>{Object.defineProperty(Ky,"__esModule",{value:!0});var ZB1=x1();ZB1.__exportStar(LL0(),Ky);ZB1.__exportStar($L0(),Ky);ZB1.__exportStar(ow1(),Ky)});var mL0=Y((TL0)=>{Object.defineProperty(TL0,"__esModule",{value:!0});TL0.booleanEquals=void 0;var DB5=(I,d)=>I===d;TL0.booleanEquals=DB5});var jL0=Y((bL0)=>{Object.defineProperty(bL0,"__esModule",{value:!0});bL0.getAttrPathList=void 0;var lL0=vZ(),HB5=(I)=>{let d=I.split("."),G=[];for(let Z of d){let C=Z.indexOf("[");if(C!==-1){if(Z.indexOf("]")!==Z.length-1)throw new lL0.EndpointError(`Path: '${I}' does not end with ']'`);let W=Z.slice(C+1,-1);if(Number.isNaN(parseInt(W)))throw new lL0.EndpointError(`Invalid array index: '${W}' in path: '${I}'`);if(C!==0)G.push(Z.slice(0,C));G.push(W)}else G.push(Z)}return G};bL0.getAttrPathList=HB5});var cL0=Y((kL0)=>{Object.defineProperty(kL0,"__esModule",{value:!0});kL0.getAttr=void 0;var FB5=vZ(),gB5=jL0(),JB5=(I,d)=>gB5.getAttrPathList(d).reduce((G,Z)=>{if(typeof G!=="object")throw new FB5.EndpointError(`Index '${Z}' in '${d}' not found in '${JSON.stringify(I)}'`);else if(Array.isArray(G))return G[parseInt(Z)];return G[Z]},I);kL0.getAttr=JB5});var nL0=Y((pL0)=>{Object.defineProperty(pL0,"__esModule",{value:!0});pL0.isSet=void 0;var KB5=(I)=>I!=null;pL0.isSet=KB5});var sL0=Y((rL0)=>{Object.defineProperty(rL0,"__esModule",{value:!0});rL0.not=void 0;var NB5=(I)=>!I;rL0.not=NB5});var eL0=Y((oL0)=>{Object.defineProperty(oL0,"__esModule",{value:!0})});var Iy0=Y((tL0)=>{Object.defineProperty(tL0,"__esModule",{value:!0});tL0.HttpAuthLocation=void 0;var zB5;(function(I){I.HEADER="header",I.QUERY="query"})(zB5=tL0.HttpAuthLocation||(tL0.HttpAuthLocation={}))});var Gy0=Y((dy0)=>{Object.defineProperty(dy0,"__esModule",{value:!0})});var Cy0=Y((Zy0)=>{Object.defineProperty(Zy0,"__esModule",{value:!0})});var wy0=Y((Wy0)=>{Object.defineProperty(Wy0,"__esModule",{value:!0})});var Ay0=Y((By0)=>{Object.defineProperty(By0,"__esModule",{value:!0})});var Xy0=Y((Vy0)=>{Object.defineProperty(Vy0,"__esModule",{value:!0})});var _y0=Y((Yy0)=>{Object.defineProperty(Yy0,"__esModule",{value:!0})});var Dy0=Y((Ny)=>{Object.defineProperty(Ny,"__esModule",{value:!0});var WB1=x1();WB1.__exportStar(Ay0(),Ny);WB1.__exportStar(Xy0(),Ny);WB1.__exportStar(_y0(),Ny)});var Fy0=Y((Hy0)=>{Object.defineProperty(Hy0,"__esModule",{value:!0})});var Jy0=Y((gy0)=>{Object.defineProperty(gy0,"__esModule",{value:!0})});var Ny0=Y((Ky0)=>{Object.defineProperty(Ky0,"__esModule",{value:!0});Ky0.HostAddressType=void 0;var QB5;(function(I){I.AAAA="AAAA",I.A="A"})(QB5=Ky0.HostAddressType||(Ky0.HostAddressType={}))});var Qy0=Y((zy0)=>{Object.defineProperty(zy0,"__esModule",{value:!0});zy0.EndpointURLScheme=void 0;var fB5;(function(I){I.HTTP="http",I.HTTPS="https"})(fB5=zy0.EndpointURLScheme||(zy0.EndpointURLScheme={}))});var qy0=Y((fy0)=>{Object.defineProperty(fy0,"__esModule",{value:!0})});var Uy0=Y((Ry0)=>{Object.defineProperty(Ry0,"__esModule",{value:!0})});var Ey0=Y((vy0)=>{Object.defineProperty(vy0,"__esModule",{value:!0})});var Sy0=Y((My0)=>{Object.defineProperty(My0,"__esModule",{value:!0})});var yy0=Y((Ly0)=>{Object.defineProperty(Ly0,"__esModule",{value:!0})});var $y0=Y((Py0)=>{Object.defineProperty(Py0,"__esModule",{value:!0})});var Ty0=Y((uy0)=>{Object.defineProperty(uy0,"__esModule",{value:!0})});var Oy0=Y((XJ)=>{Object.defineProperty(XJ,"__esModule",{value:!0});var zy=x1();zy.__exportStar(Ey0(),XJ);zy.__exportStar(Sy0(),XJ);zy.__exportStar(yy0(),XJ);zy.__exportStar($y0(),XJ);zy.__exportStar(Ty0(),XJ)});var ly0=Y((my0)=>{Object.defineProperty(my0,"__esModule",{value:!0})});var hy0=Y((by0)=>{Object.defineProperty(by0,"__esModule",{value:!0})});var ky0=Y((jy0)=>{Object.defineProperty(jy0,"__esModule",{value:!0})});var cy0=Y((xy0)=>{Object.defineProperty(xy0,"__esModule",{value:!0})});var iy0=Y((py0)=>{Object.defineProperty(py0,"__esModule",{value:!0})});var ry0=Y((ny0)=>{Object.defineProperty(ny0,"__esModule",{value:!0})});var sy0=Y((ay0)=>{Object.defineProperty(ay0,"__esModule",{value:!0})});var ey0=Y((oy0)=>{Object.defineProperty(oy0,"__esModule",{value:!0})});var IP0=Y((ty0)=>{Object.defineProperty(ty0,"__esModule",{value:!0})});var GP0=Y((dP0)=>{Object.defineProperty(dP0,"__esModule",{value:!0})});var CP0=Y((ZP0)=>{Object.defineProperty(ZP0,"__esModule",{value:!0})});var wP0=Y((WP0)=>{Object.defineProperty(WP0,"__esModule",{value:!0})});var AP0=Y((BP0)=>{Object.defineProperty(BP0,"__esModule",{value:!0});BP0.RequestHandlerProtocol=void 0;var qB5;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(qB5=BP0.RequestHandlerProtocol||(BP0.RequestHandlerProtocol={}))});var XP0=Y((VP0)=>{Object.defineProperty(VP0,"__esModule",{value:!0})});var _P0=Y((YP0)=>{Object.defineProperty(YP0,"__esModule",{value:!0})});var DP0=Y((n5)=>{Object.defineProperty(n5,"__esModule",{value:!0});var Y9=x1();Y9.__exportStar(eL0(),n5);Y9.__exportStar(Iy0(),n5);Y9.__exportStar(Gy0(),n5);Y9.__exportStar(Cy0(),n5);Y9.__exportStar(wy0(),n5);Y9.__exportStar(Dy0(),n5);Y9.__exportStar(Fy0(),n5);Y9.__exportStar(Jy0(),n5);Y9.__exportStar(Ny0(),n5);Y9.__exportStar(Qy0(),n5);Y9.__exportStar(qy0(),n5);Y9.__exportStar(Uy0(),n5);Y9.__exportStar(Oy0(),n5);Y9.__exportStar(ly0(),n5);Y9.__exportStar(hy0(),n5);Y9.__exportStar(ky0(),n5);Y9.__exportStar(cy0(),n5);Y9.__exportStar(iy0(),n5);Y9.__exportStar(ry0(),n5);Y9.__exportStar(sy0(),n5);Y9.__exportStar(ey0(),n5);Y9.__exportStar(IP0(),n5);Y9.__exportStar(GP0(),n5);Y9.__exportStar(CP0(),n5);Y9.__exportStar(wP0(),n5);Y9.__exportStar(AP0(),n5);Y9.__exportStar(XP0(),n5);Y9.__exportStar(_P0(),n5)});var gP0=Y((HP0)=>{Object.defineProperty(HP0,"__esModule",{value:!0});HP0.parseURL=void 0;var XB1=DP0(),RB5=tw1(),VB1={[XB1.EndpointURLScheme.HTTP]:80,[XB1.EndpointURLScheme.HTTPS]:443},UB5=(I)=>{let d=(()=>{try{if(I instanceof URL)return I;if(typeof I==="object"&&"hostname"in I){let{hostname:F,port:g,protocol:J="",path:K="",query:Q={}}=I,E=new URL(`${J}//${F}${g?`:${g}`:""}${K}`);return E.search=Object.entries(Q).map(([S,P])=>`${S}=${P}`).join("&"),E}return new URL(I)}catch(F){return null}})();if(!d)return console.error(`Unable to parse ${JSON.stringify(I)} as a whatwg URL.`),null;let G=d.href,{host:Z,hostname:C,pathname:W,protocol:w,search:B}=d;if(B)return null;let A=w.slice(0,-1);if(!Object.values(XB1.EndpointURLScheme).includes(A))return null;let V=RB5.isIpAddress(C),X=G.includes(`${Z}:${VB1[A]}`)||typeof I==="string"&&I.includes(`${Z}:${VB1[A]}`),_=`${Z}${X?`:${VB1[A]}`:""}`;return{scheme:A,authority:_,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:V}};HP0.parseURL=UB5});var NP0=Y((JP0)=>{Object.defineProperty(JP0,"__esModule",{value:!0});JP0.stringEquals=void 0;var vB5=(I,d)=>I===d;JP0.stringEquals=vB5});var fP0=Y((zP0)=>{Object.defineProperty(zP0,"__esModule",{value:!0});zP0.substring=void 0;var EB5=(I,d,G,Z)=>{if(d>=G||I.length<G)return null;if(!Z)return I.substring(d,G);return I.substring(I.length-G,I.length-d)};zP0.substring=EB5});var UP0=Y((qP0)=>{Object.defineProperty(qP0,"__esModule",{value:!0});qP0.uriEncode=void 0;var MB5=(I)=>encodeURIComponent(I).replace(/[!*'()]/g,(d)=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`);qP0.uriEncode=MB5});var YB1=Y((pC)=>{Object.defineProperty(pC,"__esModule",{value:!0});pC.aws=void 0;var wB=x1();pC.aws=wB.__importStar(uL0());wB.__exportStar(mL0(),pC);wB.__exportStar(cL0(),pC);wB.__exportStar(nL0(),pC);wB.__exportStar(dB1(),pC);wB.__exportStar(sL0(),pC);wB.__exportStar(gP0(),pC);wB.__exportStar(NP0(),pC);wB.__exportStar(fP0(),pC);wB.__exportStar(UP0(),pC)});var _B1=Y((EP0)=>{Object.defineProperty(EP0,"__esModule",{value:!0});EP0.evaluateTemplate=void 0;var SB5=YB1(),LB5=(I,d)=>{let G=[],Z={...d.endpointParams,...d.referenceRecord},C=0;while(C<I.length){let W=I.indexOf("{",C);if(W===-1){G.push(I.slice(C));break}G.push(I.slice(C,W));let w=I.indexOf("}",W);if(w===-1){G.push(I.slice(W));break}if(I[W+1]==="{"&&I[w+1]==="}")G.push(I.slice(W+1,w)),C=w+2;let B=I.substring(W+1,w);if(B.includes("#")){let[A,V]=B.split("#");G.push(SB5.getAttr(Z[A],V))}else G.push(Z[B]);C=w+1}return G.join("")};EP0.evaluateTemplate=LB5});var yP0=Y((SP0)=>{Object.defineProperty(SP0,"__esModule",{value:!0});SP0.getReferenceValue=void 0;var yB5=({ref:I},d)=>{return{...d.endpointParams,...d.referenceRecord}[I]};SP0.getReferenceValue=yB5});var Qy=Y((PP0)=>{Object.defineProperty(PP0,"__esModule",{value:!0});PP0.evaluateExpression=void 0;var PB5=vZ(),$B5=DB1(),uB5=_B1(),TB5=yP0(),OB5=(I,d,G)=>{if(typeof I==="string")return uB5.evaluateTemplate(I,G);else if(I.fn)return $B5.callFunction(I,G);else if(I.ref)return TB5.getReferenceValue(I,G);throw new PB5.EndpointError(`'${d}': ${String(I)} is not a string, function or reference.`)};PP0.evaluateExpression=OB5});var DB1=Y((uP0)=>{Object.defineProperty(uP0,"__esModule",{value:!0});uP0.callFunction=void 0;var mB5=x1(),lB5=mB5.__importStar(YB1()),bB5=Qy(),hB5=({fn:I,argv:d},G)=>{let Z=d.map((C)=>["boolean","number"].includes(typeof C)?C:bB5.evaluateExpression(C,"arg",G));return I.split(".").reduce((C,W)=>C[W],lB5)(...Z)};uP0.callFunction=hB5});var lP0=Y((OP0)=>{Object.defineProperty(OP0,"__esModule",{value:!0});OP0.evaluateCondition=void 0;var HB1=Jy(),jB5=vZ(),kB5=DB1(),xB5=({assign:I,...d},G)=>{var Z,C;if(I&&I in G.referenceRecord)throw new jB5.EndpointError(`'${I}' is already defined in Reference Record.`);let W=kB5.callFunction(d,G);return(C=(Z=G.logger)===null||Z===void 0?void 0:Z.debug)===null||C===void 0||C.call(Z,HB1.debugId,`evaluateCondition: ${HB1.toDebugString(d)} = ${HB1.toDebugString(W)}`),{result:W===""?!0:!!W,...I!=null&&{toAssign:{name:I,value:W}}}};OP0.evaluateCondition=xB5});var jp=Y((hP0)=>{Object.defineProperty(hP0,"__esModule",{value:!0});hP0.evaluateConditions=void 0;var bP0=Jy(),cB5=lP0(),pB5=(I=[],d)=>{var G,Z;let C={};for(let W of I){let{result:w,toAssign:B}=cB5.evaluateCondition(W,{...d,referenceRecord:{...d.referenceRecord,...C}});if(!w)return{result:w};if(B)C[B.name]=B.value,(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,bP0.debugId,`assign: ${B.name} := ${bP0.toDebugString(B.value)}`)}return{result:!0,referenceRecord:C}};hP0.evaluateConditions=pB5});var cP0=Y((kP0)=>{Object.defineProperty(kP0,"__esModule",{value:!0});kP0.getEndpointHeaders=void 0;var iB5=vZ(),nB5=Qy(),rB5=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:C.map((W)=>{let w=nB5.evaluateExpression(W,"Header value entry",d);if(typeof w!=="string")throw new iB5.EndpointError(`Header '${Z}' value '${w}' is not a string`);return w})}),{});kP0.getEndpointHeaders=rB5});var nP0=Y((iP0)=>{Object.defineProperty(iP0,"__esModule",{value:!0});iP0.getEndpointProperty=void 0;var pP0=vZ(),aB5=_B1(),sB5=gB1(),oB5=(I,d)=>{if(Array.isArray(I))return I.map((G)=>iP0.getEndpointProperty(G,d));switch(typeof I){case"string":return aB5.evaluateTemplate(I,d);case"object":if(I===null)throw new pP0.EndpointError(`Unexpected endpoint property: ${I}`);return sB5.getEndpointProperties(I,d);case"boolean":return I;default:throw new pP0.EndpointError(`Unexpected endpoint property type: ${typeof I}`)}};iP0.getEndpointProperty=oB5});var gB1=Y((rP0)=>{Object.defineProperty(rP0,"__esModule",{value:!0});rP0.getEndpointProperties=void 0;var eB5=nP0(),tB5=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:eB5.getEndpointProperty(C,d)}),{});rP0.getEndpointProperties=tB5});var eP0=Y((sP0)=>{Object.defineProperty(sP0,"__esModule",{value:!0});sP0.getEndpointUrl=void 0;var IA5=vZ(),dA5=Qy(),GA5=(I,d)=>{let G=dA5.evaluateExpression(I,"Endpoint URL",d);if(typeof G==="string")try{return new URL(G)}catch(Z){throw console.error(`Failed to construct URL with ${G}`,Z),Z}throw new IA5.EndpointError(`Endpoint URL must be a string, got ${typeof G}`)};sP0.getEndpointUrl=GA5});var G$0=Y((I$0)=>{Object.defineProperty(I$0,"__esModule",{value:!0});I$0.evaluateEndpointRule=void 0;var tP0=Jy(),ZA5=jp(),CA5=cP0(),WA5=gB1(),wA5=eP0(),BA5=(I,d)=>{var G,Z;let{conditions:C,endpoint:W}=I,{result:w,referenceRecord:B}=ZA5.evaluateConditions(C,d);if(!w)return;let A={...d,referenceRecord:{...d.referenceRecord,...B}},{url:V,properties:X,headers:_}=W;return(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,tP0.debugId,`Resolving endpoint from template: ${tP0.toDebugString(W)}`),{..._!=null&&{headers:CA5.getEndpointHeaders(_,A)},...X!=null&&{properties:WA5.getEndpointProperties(X,A)},url:wA5.getEndpointUrl(V,A)}};I$0.evaluateEndpointRule=BA5});var W$0=Y((Z$0)=>{Object.defineProperty(Z$0,"__esModule",{value:!0});Z$0.evaluateErrorRule=void 0;var AA5=vZ(),VA5=jp(),XA5=Qy(),YA5=(I,d)=>{let{conditions:G,error:Z}=I,{result:C,referenceRecord:W}=VA5.evaluateConditions(G,d);if(!C)return;throw new AA5.EndpointError(XA5.evaluateExpression(Z,"Error",{...d,referenceRecord:{...d.referenceRecord,...W}}))};Z$0.evaluateErrorRule=YA5});var A$0=Y((w$0)=>{Object.defineProperty(w$0,"__esModule",{value:!0});w$0.evaluateTreeRule=void 0;var _A5=jp(),DA5=JB1(),HA5=(I,d)=>{let{conditions:G,rules:Z}=I,{result:C,referenceRecord:W}=_A5.evaluateConditions(G,d);if(!C)return;return DA5.evaluateRules(Z,{...d,referenceRecord:{...d.referenceRecord,...W}})};w$0.evaluateTreeRule=HA5});var JB1=Y((X$0)=>{Object.defineProperty(X$0,"__esModule",{value:!0});X$0.evaluateRules=void 0;var V$0=vZ(),FA5=G$0(),gA5=W$0(),JA5=A$0(),KA5=(I,d)=>{for(let G of I)if(G.type==="endpoint"){let Z=FA5.evaluateEndpointRule(G,d);if(Z)return Z}else if(G.type==="error")gA5.evaluateErrorRule(G,d);else if(G.type==="tree"){let Z=JA5.evaluateTreeRule(G,d);if(Z)return Z}else throw new V$0.EndpointError(`Unknown endpoint rule: ${G}`);throw new V$0.EndpointError("Rules evaluation failed")};X$0.evaluateRules=KA5});var _$0=Y((KB1)=>{Object.defineProperty(KB1,"__esModule",{value:!0});var NA5=x1();NA5.__exportStar(JB1(),KB1)});var F$0=Y((D$0)=>{Object.defineProperty(D$0,"__esModule",{value:!0});D$0.resolveEndpoint=void 0;var kp=Jy(),zA5=vZ(),QA5=_$0(),fA5=(I,d)=>{var G,Z,C,W,w,B;let{endpointParams:A,logger:V}=d,{parameters:X,rules:_}=I;(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,`${kp.debugId} Initial EndpointParams: ${kp.toDebugString(A)}`);let F=Object.entries(X).filter(([,K])=>K.default!=null).map(([K,Q])=>[K,Q.default]);if(F.length>0)for(let[K,Q]of F)A[K]=(C=A[K])!==null&&C!==void 0?C:Q;let g=Object.entries(X).filter(([,K])=>K.required).map(([K])=>K);for(let K of g)if(A[K]==null)throw new zA5.EndpointError(`Missing required parameter: '${K}'`);let J=QA5.evaluateRules(_,{endpointParams:A,logger:V,referenceRecord:{}});if((W=d.endpointParams)===null||W===void 0?void 0:W.Endpoint)try{let K=new URL(d.endpointParams.Endpoint),{protocol:Q,port:E}=K;J.url.protocol=Q,J.url.port=E}catch(K){}return(B=(w=d.logger)===null||w===void 0?void 0:w.debug)===null||B===void 0||B.call(w,`${kp.debugId} Resolved endpoint: ${kp.toDebugString(J)}`),J};D$0.resolveEndpoint=fA5});var xp=Y((fy)=>{Object.defineProperty(fy,"__esModule",{value:!0});var NB1=x1();NB1.__exportStar(ow1(),fy);NB1.__exportStar(F$0(),fy);NB1.__exportStar(vZ(),fy)});var K$0=Y((g$0)=>{Object.defineProperty(g$0,"__esModule",{value:!0});g$0.UA_ESCAPE_REGEX=g$0.SPACE=g$0.X_AMZ_USER_AGENT=g$0.USER_AGENT=void 0;g$0.USER_AGENT="user-agent";g$0.X_AMZ_USER_AGENT="x-amz-user-agent";g$0.SPACE=" ";g$0.UA_ESCAPE_REGEX=/[^\!\#\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g});var q$0=Y((N$0)=>{Object.defineProperty(N$0,"__esModule",{value:!0});N$0.getUserAgentPlugin=N$0.getUserAgentMiddlewareOptions=N$0.userAgentMiddleware=void 0;var vA5=J8(),EA5=xp(),CD=K$0(),MA5=(I)=>(d,G)=>async(Z)=>{var C,W;let{request:w}=Z;if(!vA5.HttpRequest.isInstance(w))return d(Z);let{headers:B}=w,A=((C=G===null||G===void 0?void 0:G.userAgent)===null||C===void 0?void 0:C.map(zB1))||[],V=(await I.defaultUserAgentProvider()).map(zB1),X=((W=I===null||I===void 0?void 0:I.customUserAgent)===null||W===void 0?void 0:W.map(zB1))||[],_=EA5.getUserAgentPrefix(),F=(_?[_]:[]).concat([...V,...A,...X]).join(CD.SPACE),g=[...V.filter((J)=>J.startsWith("aws-sdk-")),...X].join(CD.SPACE);if(I.runtime!=="browser"){if(g)B[CD.X_AMZ_USER_AGENT]=B[CD.X_AMZ_USER_AGENT]?`${B[CD.USER_AGENT]} ${g}`:g;B[CD.USER_AGENT]=F}else B[CD.X_AMZ_USER_AGENT]=F;return d({...Z,request:w})};N$0.userAgentMiddleware=MA5;var zB1=([I,d])=>{let G=I.indexOf("/"),Z=I.substring(0,G),C=I.substring(G+1);if(Z==="api")C=C.toLowerCase();return[Z,C,d].filter((W)=>W&&W.length>0).map((W)=>W===null||W===void 0?void 0:W.replace(CD.UA_ESCAPE_REGEX,"_")).join("/")};N$0.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var SA5=(I)=>({applyToStack:(d)=>{d.add(N$0.userAgentMiddleware(I),N$0.getUserAgentMiddlewareOptions)}});N$0.getUserAgentPlugin=SA5});var QB1=Y((cp)=>{Object.defineProperty(cp,"__esModule",{value:!0});var R$0=x1();R$0.__exportStar(oS0(),cp);R$0.__exportStar(q$0(),cp)});var E$0=Y((U$0)=>{Object.defineProperty(U$0,"__esModule",{value:!0});U$0.resolveClientEndpointParameters=void 0;var LA5=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,useGlobalEndpoint:I.useGlobalEndpoint??!1,defaultSigningName:"sts"}};U$0.resolveClientEndpointParameters=LA5});var M$0=Y((L83,yA5)=>{yA5.exports={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/credential-provider-node":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-sdk-sts":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-signing":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0","fast-xml-parser":"4.1.2",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sts"}}});var pp=Y((qB1)=>{Object.defineProperty(qB1,"__esModule",{value:!0});qB1.STSServiceException=qB1.__ServiceException=void 0;var S$0=v0();Object.defineProperty(qB1,"__ServiceException",{enumerable:!0,get:function(){return S$0.ServiceException}});class fB1 extends S$0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,fB1.prototype)}}qB1.STSServiceException=fB1});var wD=Y((y$0)=>{Object.defineProperty(y$0,"__esModule",{value:!0});y$0.GetSessionTokenResponseFilterSensitiveLog=y$0.GetFederationTokenResponseFilterSensitiveLog=y$0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=y$0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=y$0.AssumeRoleWithSAMLResponseFilterSensitiveLog=y$0.AssumeRoleWithSAMLRequestFilterSensitiveLog=y$0.AssumeRoleResponseFilterSensitiveLog=y$0.CredentialsFilterSensitiveLog=y$0.InvalidAuthorizationMessageException=y$0.IDPCommunicationErrorException=y$0.InvalidIdentityTokenException=y$0.IDPRejectedClaimException=y$0.RegionDisabledException=y$0.PackedPolicyTooLargeException=y$0.MalformedPolicyDocumentException=y$0.ExpiredTokenException=void 0;var RB1=v0(),WD=pp();class UB1 extends WD.STSServiceException{constructor(I){super({name:"ExpiredTokenException",$fault:"client",...I});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,UB1.prototype)}}y$0.ExpiredTokenException=UB1;class vB1 extends WD.STSServiceException{constructor(I){super({name:"MalformedPolicyDocumentException",$fault:"client",...I});this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,vB1.prototype)}}y$0.MalformedPolicyDocumentException=vB1;class EB1 extends WD.STSServiceException{constructor(I){super({name:"PackedPolicyTooLargeException",$fault:"client",...I});this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,EB1.prototype)}}y$0.PackedPolicyTooLargeException=EB1;class MB1 extends WD.STSServiceException{constructor(I){super({name:"RegionDisabledException",$fault:"client",...I});this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,MB1.prototype)}}y$0.RegionDisabledException=MB1;class SB1 extends WD.STSServiceException{constructor(I){super({name:"IDPRejectedClaimException",$fault:"client",...I});this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,SB1.prototype)}}y$0.IDPRejectedClaimException=SB1;class LB1 extends WD.STSServiceException{constructor(I){super({name:"InvalidIdentityTokenException",$fault:"client",...I});this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,LB1.prototype)}}y$0.InvalidIdentityTokenException=LB1;class yB1 extends WD.STSServiceException{constructor(I){super({name:"IDPCommunicationErrorException",$fault:"client",...I});this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,yB1.prototype)}}y$0.IDPCommunicationErrorException=yB1;class PB1 extends WD.STSServiceException{constructor(I){super({name:"InvalidAuthorizationMessageException",$fault:"client",...I});this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,PB1.prototype)}}y$0.InvalidAuthorizationMessageException=PB1;var PA5=(I)=>({...I,...I.SecretAccessKey&&{SecretAccessKey:RB1.SENSITIVE_STRING}});y$0.CredentialsFilterSensitiveLog=PA5;var $A5=(I)=>({...I,...I.Credentials&&{Credentials:y$0.CredentialsFilterSensitiveLog(I.Credentials)}});y$0.AssumeRoleResponseFilterSensitiveLog=$A5;var uA5=(I)=>({...I,...I.SAMLAssertion&&{SAMLAssertion:RB1.SENSITIVE_STRING}});y$0.AssumeRoleWithSAMLRequestFilterSensitiveLog=uA5;var TA5=(I)=>({...I,...I.Credentials&&{Credentials:y$0.CredentialsFilterSensitiveLog(I.Credentials)}});y$0.AssumeRoleWithSAMLResponseFilterSensitiveLog=TA5;var OA5=(I)=>({...I,...I.WebIdentityToken&&{WebIdentityToken:RB1.SENSITIVE_STRING}});y$0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=OA5;var mA5=(I)=>({...I,...I.Credentials&&{Credentials:y$0.CredentialsFilterSensitiveLog(I.Credentials)}});y$0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=mA5;var lA5=(I)=>({...I,...I.Credentials&&{Credentials:y$0.CredentialsFilterSensitiveLog(I.Credentials)}});y$0.GetFederationTokenResponseFilterSensitiveLog=lA5;var bA5=(I)=>({...I,...I.Credentials&&{Credentials:y$0.CredentialsFilterSensitiveLog(I.Credentials)}});y$0.GetSessionTokenResponseFilterSensitiveLog=bA5});var u$0=Y(($$0)=>{Object.defineProperty($$0,"__esModule",{value:!0})});var O$0=Y((T$0)=>{Object.defineProperty(T$0,"__esModule",{value:!0});T$0.HttpAuthLocation=void 0;var IV5;(function(I){I.HEADER="header",I.QUERY="query"})(IV5=T$0.HttpAuthLocation||(T$0.HttpAuthLocation={}))});var l$0=Y((m$0)=>{Object.defineProperty(m$0,"__esModule",{value:!0})});var h$0=Y((b$0)=>{Object.defineProperty(b$0,"__esModule",{value:!0})});var k$0=Y((j$0)=>{Object.defineProperty(j$0,"__esModule",{value:!0})});var c$0=Y((x$0)=>{Object.defineProperty(x$0,"__esModule",{value:!0})});var i$0=Y((p$0)=>{Object.defineProperty(p$0,"__esModule",{value:!0})});var r$0=Y((n$0)=>{Object.defineProperty(n$0,"__esModule",{value:!0})});var s$0=Y((a$0)=>{Object.defineProperty(a$0,"__esModule",{value:!0})});var o$0=Y((qy)=>{Object.defineProperty(qy,"__esModule",{value:!0});var uB1=x1();uB1.__exportStar(i$0(),qy);uB1.__exportStar(r$0(),qy);uB1.__exportStar(s$0(),qy)});var t$0=Y((e$0)=>{Object.defineProperty(e$0,"__esModule",{value:!0})});var du0=Y((Iu0)=>{Object.defineProperty(Iu0,"__esModule",{value:!0})});var Zu0=Y((Gu0)=>{Object.defineProperty(Gu0,"__esModule",{value:!0});Gu0.EndpointURLScheme=void 0;var dV5;(function(I){I.HTTP="http",I.HTTPS="https"})(dV5=Gu0.EndpointURLScheme||(Gu0.EndpointURLScheme={}))});var Wu0=Y((Cu0)=>{Object.defineProperty(Cu0,"__esModule",{value:!0})});var Bu0=Y((wu0)=>{Object.defineProperty(wu0,"__esModule",{value:!0})});var Vu0=Y((Au0)=>{Object.defineProperty(Au0,"__esModule",{value:!0})});var Yu0=Y((Xu0)=>{Object.defineProperty(Xu0,"__esModule",{value:!0})});var Du0=Y((_u0)=>{Object.defineProperty(_u0,"__esModule",{value:!0})});var Hu0=Y((YJ)=>{Object.defineProperty(YJ,"__esModule",{value:!0});var Ry=x1();Ry.__exportStar(Wu0(),YJ);Ry.__exportStar(Bu0(),YJ);Ry.__exportStar(Vu0(),YJ);Ry.__exportStar(Yu0(),YJ);Ry.__exportStar(Du0(),YJ)});var gu0=Y((Fu0)=>{Object.defineProperty(Fu0,"__esModule",{value:!0})});var Ku0=Y((Ju0)=>{Object.defineProperty(Ju0,"__esModule",{value:!0});Ju0.FieldPosition=void 0;var GV5;(function(I){I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER"})(GV5=Ju0.FieldPosition||(Ju0.FieldPosition={}))});var zu0=Y((Nu0)=>{Object.defineProperty(Nu0,"__esModule",{value:!0})});var fu0=Y((Qu0)=>{Object.defineProperty(Qu0,"__esModule",{value:!0})});var Ru0=Y((ip)=>{Object.defineProperty(ip,"__esModule",{value:!0});var qu0=x1();qu0.__exportStar(zu0(),ip);qu0.__exportStar(fu0(),ip)});var vu0=Y((Uu0)=>{Object.defineProperty(Uu0,"__esModule",{value:!0})});var Mu0=Y((Eu0)=>{Object.defineProperty(Eu0,"__esModule",{value:!0})});var Lu0=Y((Su0)=>{Object.defineProperty(Su0,"__esModule",{value:!0})});var Pu0=Y((yu0)=>{Object.defineProperty(yu0,"__esModule",{value:!0})});var uu0=Y(($u0)=>{Object.defineProperty($u0,"__esModule",{value:!0})});var Ou0=Y((Tu0)=>{Object.defineProperty(Tu0,"__esModule",{value:!0})});var lu0=Y((mu0)=>{Object.defineProperty(mu0,"__esModule",{value:!0})});var hu0=Y((bu0)=>{Object.defineProperty(bu0,"__esModule",{value:!0})});var ku0=Y((ju0)=>{Object.defineProperty(ju0,"__esModule",{value:!0})});var cu0=Y((xu0)=>{Object.defineProperty(xu0,"__esModule",{value:!0})});var iu0=Y((pu0)=>{Object.defineProperty(pu0,"__esModule",{value:!0})});var ru0=Y((nu0)=>{Object.defineProperty(nu0,"__esModule",{value:!0})});var su0=Y((au0)=>{Object.defineProperty(au0,"__esModule",{value:!0})});var eu0=Y((ou0)=>{Object.defineProperty(ou0,"__esModule",{value:!0});ou0.RequestHandlerProtocol=void 0;var ZV5;(function(I){I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0"})(ZV5=ou0.RequestHandlerProtocol||(ou0.RequestHandlerProtocol={}))});var IT0=Y((tu0)=>{Object.defineProperty(tu0,"__esModule",{value:!0})});var GT0=Y((dT0)=>{Object.defineProperty(dT0,"__esModule",{value:!0})});var CT0=Y((ZT0)=>{Object.defineProperty(ZT0,"__esModule",{value:!0})});var wT0=Y((WT0)=>{Object.defineProperty(WT0,"__esModule",{value:!0})});var AT0=Y((BT0)=>{Object.defineProperty(BT0,"__esModule",{value:!0})});var VT0=Y((V5)=>{Object.defineProperty(V5,"__esModule",{value:!0});var q5=x1();q5.__exportStar(u$0(),V5);q5.__exportStar(O$0(),V5);q5.__exportStar(l$0(),V5);q5.__exportStar(h$0(),V5);q5.__exportStar(k$0(),V5);q5.__exportStar(c$0(),V5);q5.__exportStar(o$0(),V5);q5.__exportStar(t$0(),V5);q5.__exportStar(du0(),V5);q5.__exportStar(Zu0(),V5);q5.__exportStar(Hu0(),V5);q5.__exportStar(gu0(),V5);q5.__exportStar(Ku0(),V5);q5.__exportStar(Ru0(),V5);q5.__exportStar(vu0(),V5);q5.__exportStar(Mu0(),V5);q5.__exportStar(Lu0(),V5);q5.__exportStar(Pu0(),V5);q5.__exportStar(uu0(),V5);q5.__exportStar(Ou0(),V5);q5.__exportStar(lu0(),V5);q5.__exportStar(hu0(),V5);q5.__exportStar(ku0(),V5);q5.__exportStar(cu0(),V5);q5.__exportStar(iu0(),V5);q5.__exportStar(ru0(),V5);q5.__exportStar(su0(),V5);q5.__exportStar(eu0(),V5);q5.__exportStar(IT0(),V5);q5.__exportStar(GT0(),V5);q5.__exportStar(CT0(),V5);q5.__exportStar(wT0(),V5);q5.__exportStar(AT0(),V5)});var DT0=Y((YT0)=>{Object.defineProperty(YT0,"__esModule",{value:!0});YT0.Field=void 0;var CV5=VT0();class XT0{constructor({name:I,kind:d=CV5.FieldPosition.HEADER,values:G=[]}){this.name=I,this.kind=d,this.values=G}add(I){this.values.push(I)}set(I){this.values=I}remove(I){this.values=this.values.filter((d)=>d!==I)}toString(){return this.values.map((I)=>I.includes(",")||I.includes(" ")?`"${I}"`:I).join(", ")}get(){return this.values}}YT0.Field=XT0});var JT0=Y((FT0)=>{Object.defineProperty(FT0,"__esModule",{value:!0});FT0.Fields=void 0;class HT0{constructor({fields:I=[],encoding:d="utf-8"}){this.entries={},I.forEach(this.setField.bind(this)),this.encoding=d}setField(I){this.entries[I.name.toLowerCase()]=I}getField(I){return this.entries[I.toLowerCase()]}removeField(I){delete this.entries[I.toLowerCase()]}getByType(I){return Object.values(this.entries).filter((d)=>d.kind===I)}}FT0.Fields=HT0});var NT0=Y((KT0)=>{Object.defineProperty(KT0,"__esModule",{value:!0})});var fT0=Y((zT0)=>{Object.defineProperty(zT0,"__esModule",{value:!0});zT0.HttpRequest=void 0;class lB1{constructor(I){this.method=I.method||"GET",this.hostname=I.hostname||"localhost",this.port=I.port,this.query=I.query||{},this.headers=I.headers||{},this.body=I.body,this.protocol=I.protocol?I.protocol.slice(-1)!==":"?`${I.protocol}:`:I.protocol:"https:",this.path=I.path?I.path.charAt(0)!=="/"?`/${I.path}`:I.path:"/",this.username=I.username,this.password=I.password,this.fragment=I.fragment}static isInstance(I){if(!I)return!1;let d=I;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d.query==="object"&&typeof d.headers==="object"}clone(){let I=new lB1({...this,headers:{...this.headers}});if(I.query)I.query=WV5(I.query);return I}}zT0.HttpRequest=lB1;function WV5(I){return Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{})}});var vT0=Y((RT0)=>{Object.defineProperty(RT0,"__esModule",{value:!0});RT0.HttpResponse=void 0;class qT0{constructor(I){this.statusCode=I.statusCode,this.reason=I.reason,this.headers=I.headers||{},this.body=I.body}static isInstance(I){if(!I)return!1;let d=I;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}RT0.HttpResponse=qT0});var ST0=Y((ET0)=>{Object.defineProperty(ET0,"__esModule",{value:!0});ET0.isValidHostname=void 0;function wV5(I){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(I)}ET0.isValidHostname=wV5});var yT0=Y((LT0)=>{Object.defineProperty(LT0,"__esModule",{value:!0})});var bB1=Y((LV)=>{Object.defineProperty(LV,"__esModule",{value:!0});var _J=x1();_J.__exportStar(DT0(),LV);_J.__exportStar(JT0(),LV);_J.__exportStar(NT0(),LV);_J.__exportStar(fT0(),LV);_J.__exportStar(vT0(),LV);_J.__exportStar(ST0(),LV);_J.__exportStar(yT0(),LV)});var hB1=Y((YV5)=>{var BV5=":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\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",PT0="[: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]["+BV5+"]*",AV5=new RegExp("^"+PT0+"$"),VV5=function(I,d){let G=[],Z=d.exec(I);while(Z){let C=[];C.startIndex=d.lastIndex-Z[0].length;let W=Z.length;for(let w=0;w<W;w++)C.push(Z[w]);G.push(C),Z=d.exec(I)}return G},XV5=function(I){let d=AV5.exec(I);return!(d===null||typeof d==="undefined")};YV5.isExist=function(I){return typeof I!=="undefined"};YV5.isEmptyObject=function(I){return Object.keys(I).length===0};YV5.merge=function(I,d,G){if(d){let Z=Object.keys(d),C=Z.length;for(let W=0;W<C;W++)if(G==="strict")I[Z[W]]=[d[Z[W]]];else I[Z[W]]=d[Z[W]]}};YV5.getValue=function(I){if(YV5.isExist(I))return I;else return""};YV5.isName=XV5;YV5.getAllMatches=VV5;YV5.nameRegexp=PT0});var kB1=Y((EV5)=>{var jB1=hB1(),KV5={allowBooleanAttributes:!1,unpairedTags:[]};EV5.validate=function(I,d){d=Object.assign({},KV5,d);let G=[],Z=!1,C=!1;if(I[0]==="\uFEFF")I=I.substr(1);for(let W=0;W<I.length;W++)if(I[W]==="<"&&I[W+1]==="?"){if(W+=2,W=TT0(I,W),W.err)return W}else if(I[W]==="<"){let w=W;if(W++,I[W]==="!"){W=OT0(I,W);continue}else{let B=!1;if(I[W]==="/")B=!0,W++;let A="";for(;W<I.length&&I[W]!==">"&&I[W]!==" "&&I[W]!=="\t"&&I[W]!==`
`&&I[W]!=="\r";W++)A+=I[W];if(A=A.trim(),A[A.length-1]==="/")A=A.substring(0,A.length-1),W--;if(!vV5(A)){let _;if(A.trim().length===0)_="Invalid space after '<'.";else _="Tag '"+A+"' is an invalid name.";return v6("InvalidTag",_,Bd(I,W))}let V=QV5(I,W);if(V===!1)return v6("InvalidAttr","Attributes for '"+A+"' have open quote.",Bd(I,W));let X=V.value;if(W=V.index,X[X.length-1]==="/"){let _=W-X.length;X=X.substring(0,X.length-1);let F=mT0(X,d);if(F===!0)Z=!0;else return v6(F.err.code,F.err.msg,Bd(I,_+F.err.line))}else if(B)if(!V.tagClosed)return v6("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",Bd(I,W));else if(X.trim().length>0)return v6("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",Bd(I,w));else{let _=G.pop();if(A!==_.tagName){let F=Bd(I,_.tagStartPos);return v6("InvalidTag","Expected closing tag '"+_.tagName+"' (opened in line "+F.line+", col "+F.col+") instead of closing tag '"+A+"'.",Bd(I,w))}if(G.length==0)C=!0}else{let _=mT0(X,d);if(_!==!0)return v6(_.err.code,_.err.msg,Bd(I,W-X.length+_.err.line));if(C===!0)return v6("InvalidXml","Multiple possible root nodes found.",Bd(I,W));else if(d.unpairedTags.indexOf(A)!==-1);else G.push({tagName:A,tagStartPos:w});Z=!0}for(W++;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="!"){W++,W=OT0(I,W);continue}else if(I[W+1]==="?"){if(W=TT0(I,++W),W.err)return W}else break;else if(I[W]==="&"){let _=RV5(I,W);if(_==-1)return v6("InvalidChar","char '&' is not expected.",Bd(I,W));W=_}else if(C===!0&&!uT0(I[W]))return v6("InvalidXml","Extra text at the end",Bd(I,W));if(I[W]==="<")W--}}else{if(uT0(I[W]))continue;return v6("InvalidChar","char '"+I[W]+"' is not expected.",Bd(I,W))}if(!Z)return v6("InvalidXml","Start tag expected.",1);else if(G.length==1)return v6("InvalidTag","Unclosed tag '"+G[0].tagName+"'.",Bd(I,G[0].tagStartPos));else if(G.length>0)return v6("InvalidXml","Invalid '"+JSON.stringify(G.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};function uT0(I){return I===" "||I==="\t"||I===`
`||I==="\r"}function TT0(I,d){let G=d;for(;d<I.length;d++)if(I[d]=="?"||I[d]==" "){let Z=I.substr(G,d-G);if(d>5&&Z==="xml")return v6("InvalidXml","XML declaration allowed only at the start of the document.",Bd(I,d));else if(I[d]=="?"&&I[d+1]==">"){d++;break}else continue}return d}function OT0(I,d){if(I.length>d+5&&I[d+1]==="-"&&I[d+2]==="-"){for(d+=3;d<I.length;d++)if(I[d]==="-"&&I[d+1]==="-"&&I[d+2]===">"){d+=2;break}}else if(I.length>d+8&&I[d+1]==="D"&&I[d+2]==="O"&&I[d+3]==="C"&&I[d+4]==="T"&&I[d+5]==="Y"&&I[d+6]==="P"&&I[d+7]==="E"){let G=1;for(d+=8;d<I.length;d++)if(I[d]==="<")G++;else if(I[d]===">"){if(G--,G===0)break}}else if(I.length>d+9&&I[d+1]==="["&&I[d+2]==="C"&&I[d+3]==="D"&&I[d+4]==="A"&&I[d+5]==="T"&&I[d+6]==="A"&&I[d+7]==="["){for(d+=8;d<I.length;d++)if(I[d]==="]"&&I[d+1]==="]"&&I[d+2]===">"){d+=2;break}}return d}var NV5='"',zV5="'";function QV5(I,d){let G="",Z="",C=!1;for(;d<I.length;d++){if(I[d]===NV5||I[d]===zV5)if(Z==="")Z=I[d];else if(Z!==I[d]);else Z="";else if(I[d]===">"){if(Z===""){C=!0;break}}G+=I[d]}if(Z!=="")return!1;return{value:G,index:d,tagClosed:C}}var fV5=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function mT0(I,d){let G=jB1.getAllMatches(I,fV5),Z={};for(let C=0;C<G.length;C++){if(G[C][1].length===0)return v6("InvalidAttr","Attribute '"+G[C][2]+"' has no space in starting.",Uy(G[C]));else if(G[C][3]!==void 0&&G[C][4]===void 0)return v6("InvalidAttr","Attribute '"+G[C][2]+"' is without value.",Uy(G[C]));else if(G[C][3]===void 0&&!d.allowBooleanAttributes)return v6("InvalidAttr","boolean attribute '"+G[C][2]+"' is not allowed.",Uy(G[C]));let W=G[C][2];if(!UV5(W))return v6("InvalidAttr","Attribute '"+W+"' is an invalid name.",Uy(G[C]));if(!Z.hasOwnProperty(W))Z[W]=1;else return v6("InvalidAttr","Attribute '"+W+"' is repeated.",Uy(G[C]))}return!0}function qV5(I,d){let G=/\d/;if(I[d]==="x")d++,G=/[\da-fA-F]/;for(;d<I.length;d++){if(I[d]===";")return d;if(!I[d].match(G))break}return-1}function RV5(I,d){if(d++,I[d]===";")return-1;if(I[d]==="#")return d++,qV5(I,d);let G=0;for(;d<I.length;d++,G++){if(I[d].match(/\w/)&&G<20)continue;if(I[d]===";")break;return-1}return d}function v6(I,d,G){return{err:{code:I,msg:d,line:G.line||G,col:G.col}}}function UV5(I){return jB1.isName(I)}function vV5(I){return jB1.isName(I)}function Bd(I,d){let G=I.substring(0,d).split(/\r?\n/);return{line:G.length,col:G[G.length-1].length+1}}function Uy(I){return I.startIndex+I[1].length}});var bT0=Y((LV5)=>{var lT0={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(I,d){return d},attributeValueProcessor:function(I,d){return d},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1},SV5=function(I){return Object.assign({},lT0,I)};LV5.buildOptions=SV5;LV5.defaultOptions=lT0});var kT0=Y((T73,jT0)=>{class hT0{constructor(I){this.tagname=I,this.child=[],this[":@"]={}}add(I,d){if(I==="__proto__")I="#__proto__";this.child.push({[I]:d})}addChild(I){if(I.tagname==="__proto__")I.tagname="#__proto__";if(I[":@"]&&Object.keys(I[":@"]).length>0)this.child.push({[I.tagname]:I.child,[":@"]:I[":@"]});else this.child.push({[I.tagname]:I.child})}}jT0.exports=hT0});var cT0=Y((O73,xT0)=>{function $V5(I,d){let G={};if(I[d+3]==="O"&&I[d+4]==="C"&&I[d+5]==="T"&&I[d+6]==="Y"&&I[d+7]==="P"&&I[d+8]==="E"){d=d+9;let Z=1,C=!1,W=!1,w=!1,B="";for(;d<I.length;d++)if(I[d]==="<"&&!w){if(C&&I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="N"&&I[d+4]==="T"&&I[d+5]==="I"&&I[d+6]==="T"&&I[d+7]==="Y")d+=7,W=!0;else if(C&&I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="L"&&I[d+4]==="E"&&I[d+5]==="M"&&I[d+6]==="E"&&I[d+7]==="N"&&I[d+8]==="T")d+=8;else if(C&&I[d+1]==="!"&&I[d+2]==="A"&&I[d+3]==="T"&&I[d+4]==="T"&&I[d+5]==="L"&&I[d+6]==="I"&&I[d+7]==="S"&&I[d+8]==="T")d+=8;else if(C&&I[d+1]==="!"&&I[d+2]==="N"&&I[d+3]==="O"&&I[d+4]==="T"&&I[d+5]==="A"&&I[d+6]==="T"&&I[d+7]==="I"&&I[d+8]==="O"&&I[d+9]==="N")d+=9;else if(I[d+1]==="!"&&I[d+2]==="-"&&I[d+3]==="-")w=!0;else throw new Error("Invalid DOCTYPE");Z++,B=""}else if(I[d]===">"){if(w){if(I[d-1]==="-"&&I[d-2]==="-")w=!1,Z--}else{if(W)TV5(B,G),W=!1;Z--}if(Z===0)break}else if(I[d]==="[")C=!0;else B+=I[d];if(Z!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:G,i:d}}var uV5=RegExp(`^\\s([a-zA-z0-0]+)[ 	](['"])([^&]+)\\2`);function TV5(I,d){let G=uV5.exec(I);if(G)d[G[1]]={regx:RegExp(`&${G[1]};`,"g"),val:G[3]}}xT0.exports=$V5});var nT0=Y((l73,iT0)=>{var pB1=hB1(),vy=kT0(),OV5=cT0(),mV5=mc(),m73="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,pB1.nameRegexp);class pT0{constructor(I){this.options=I,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:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=lV5,this.parseXml=xV5,this.parseTextData=bV5,this.resolveNameSpace=hV5,this.buildAttributesMap=kV5,this.isItStopNode=iV5,this.replaceEntitiesValue=cV5,this.readStopNodeData=rV5,this.saveTextToParentTag=pV5}}function lV5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];this.lastEntities[Z]={regex:new RegExp("&"+Z+";","g"),val:I[Z]}}}function bV5(I,d,G,Z,C,W,w){if(I!==void 0){if(this.options.trimValues&&!Z)I=I.trim();if(I.length>0){if(!w)I=this.replaceEntitiesValue(I);let B=this.options.tagValueProcessor(d,I,G,C,W);if(B===null||B===void 0)return I;else if(typeof B!==typeof I||B!==I)return B;else if(this.options.trimValues)return cB1(I,this.options.parseTagValue,this.options.numberParseOptions);else if(I.trim()===I)return cB1(I,this.options.parseTagValue,this.options.numberParseOptions);else return I}}}function hV5(I){if(this.options.removeNSPrefix){let d=I.split(":"),G=I.charAt(0)==="/"?"/":"";if(d[0]==="xmlns")return"";if(d.length===2)I=G+d[1]}return I}var jV5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function kV5(I,d){if(!this.options.ignoreAttributes&&typeof I==="string"){let G=pB1.getAllMatches(I,jV5),Z=G.length,C={};for(let W=0;W<Z;W++){let w=this.resolveNameSpace(G[W][1]),B=G[W][4],A=this.options.attributeNamePrefix+w;if(w.length){if(this.options.transformAttributeName)A=this.options.transformAttributeName(A);if(A==="__proto__")A="#__proto__";if(B!==void 0){if(this.options.trimValues)B=B.trim();B=this.replaceEntitiesValue(B);let V=this.options.attributeValueProcessor(w,B,d);if(V===null||V===void 0)C[A]=B;else if(typeof V!==typeof B||V!==B)C[A]=V;else C[A]=cB1(B,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)C[A]=!0}}if(!Object.keys(C).length)return;if(this.options.attributesGroupName){let W={};return W[this.options.attributesGroupName]=C,W}return C}}var xV5=function(I){I=I.replace(/\r\n?/g,`
`);let d=new vy("!xml"),G=d,Z="",C="";for(let W=0;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="/"){let B=DJ(I,">",W,"Closing Tag is not closed."),A=I.substring(W+2,B).trim();if(this.options.removeNSPrefix){let V=A.indexOf(":");if(V!==-1)A=A.substr(V+1)}if(this.options.transformTagName)A=this.options.transformTagName(A);if(G)Z=this.saveTextToParentTag(Z,G,C);C=C.substr(0,C.lastIndexOf(".")),G=this.tagsNodeStack.pop(),Z="",W=B}else if(I[W+1]==="?"){let B=xB1(I,W,!1,"?>");if(!B)throw new Error("Pi Tag is not closed.");if(Z=this.saveTextToParentTag(Z,G,C),this.options.ignoreDeclaration&&B.tagName==="?xml"||this.options.ignorePiTags);else{let A=new vy(B.tagName);if(A.add(this.options.textNodeName,""),B.tagName!==B.tagExp&&B.attrExpPresent)A[":@"]=this.buildAttributesMap(B.tagExp,C);G.addChild(A)}W=B.closeIndex+1}else if(I.substr(W+1,3)==="!--"){let B=DJ(I,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){let A=I.substring(W+4,B-2);Z=this.saveTextToParentTag(Z,G,C),G.add(this.options.commentPropName,[{[this.options.textNodeName]:A}])}W=B}else if(I.substr(W+1,2)==="!D"){let B=OV5(I,W);this.docTypeEntities=B.entities,W=B.i}else if(I.substr(W+1,2)==="!["){let B=DJ(I,"]]>",W,"CDATA is not closed.")-2,A=I.substring(W+9,B);if(Z=this.saveTextToParentTag(Z,G,C),this.options.cdataPropName)G.add(this.options.cdataPropName,[{[this.options.textNodeName]:A}]);else{let V=this.parseTextData(A,G.tagname,C,!0,!1,!0);if(V==null)V="";G.add(this.options.textNodeName,V)}W=B+2}else{let B=xB1(I,W,this.options.removeNSPrefix),A=B.tagName,V=B.tagExp,X=B.attrExpPresent,_=B.closeIndex;if(this.options.transformTagName)A=this.options.transformTagName(A);if(G&&Z){if(G.tagname!=="!xml")Z=this.saveTextToParentTag(Z,G,C,!1)}if(A!==d.tagname)C+=C?"."+A:A;let F=G;if(F&&this.options.unpairedTags.indexOf(F.tagname)!==-1)G=this.tagsNodeStack.pop();if(this.isItStopNode(this.options.stopNodes,C,A)){let g="";if(V.length>0&&V.lastIndexOf("/")===V.length-1)W=B.closeIndex;else if(this.options.unpairedTags.indexOf(A)!==-1)W=B.closeIndex;else{let K=this.readStopNodeData(I,A,_+1);if(!K)throw new Error(`Unexpected end of ${A}`);W=K.i,g=K.tagContent}let J=new vy(A);if(A!==V&&X)J[":@"]=this.buildAttributesMap(V,C);if(g)g=this.parseTextData(g,A,C,!0,X,!0,!0);C=C.substr(0,C.lastIndexOf(".")),J.add(this.options.textNodeName,g),G.addChild(J)}else{if(V.length>0&&V.lastIndexOf("/")===V.length-1){if(A[A.length-1]==="/")A=A.substr(0,A.length-1),V=A;else V=V.substr(0,V.length-1);if(this.options.transformTagName)A=this.options.transformTagName(A);let g=new vy(A);if(A!==V&&X)g[":@"]=this.buildAttributesMap(V,C);C=C.substr(0,C.lastIndexOf(".")),G.addChild(g)}else{let g=new vy(A);if(this.tagsNodeStack.push(G),A!==V&&X)g[":@"]=this.buildAttributesMap(V,C);G.addChild(g),G=g}Z="",W=_}}else Z+=I[W];return d.child},cV5=function(I){if(this.options.processEntities){for(let d in this.docTypeEntities){let G=this.docTypeEntities[d];I=I.replace(G.regx,G.val)}for(let d in this.lastEntities){let G=this.lastEntities[d];I=I.replace(G.regex,G.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){let G=this.htmlEntities[d];I=I.replace(G.regex,G.val)}I=I.replace(this.ampEntity.regex,this.ampEntity.val)}return I};function pV5(I,d,G,Z){if(I){if(Z===void 0)Z=Object.keys(d.child).length===0;if(I=this.parseTextData(I,d.tagname,G,!1,d[":@"]?Object.keys(d[":@"]).length!==0:!1,Z),I!==void 0&&I!=="")d.add(this.options.textNodeName,I);I=""}return I}function iV5(I,d,G){let Z="*."+G;for(let C in I){let W=I[C];if(Z===W||d===W)return!0}return!1}function nV5(I,d,G=">"){let Z,C="";for(let W=d;W<I.length;W++){let w=I[W];if(Z){if(w===Z)Z=""}else if(w==='"'||w==="'")Z=w;else if(w===G[0])if(G[1]){if(I[W+1]===G[1])return{data:C,index:W}}else return{data:C,index:W};else if(w==="\t")w=" ";C+=w}}function DJ(I,d,G,Z){let C=I.indexOf(d,G);if(C===-1)throw new Error(Z);else return C+d.length-1}function xB1(I,d,G,Z=">"){let C=nV5(I,d+1,Z);if(!C)return;let{data:W,index:w}=C,B=W.search(/\s/),A=W,V=!0;if(B!==-1)A=W.substr(0,B).replace(/\s\s*$/,""),W=W.substr(B+1);if(G){let X=A.indexOf(":");if(X!==-1)A=A.substr(X+1),V=A!==C.data.substr(X+1)}return{tagName:A,tagExp:W,closeIndex:w,attrExpPresent:V}}function rV5(I,d,G){let Z=G,C=1;for(;G<I.length;G++)if(I[G]==="<")if(I[G+1]==="/"){let W=DJ(I,">",G,`${d} is not closed`);if(I.substring(G+2,W).trim()===d){if(C--,C===0)return{tagContent:I.substring(Z,G),i:W}}G=W}else if(I[G+1]==="?")G=DJ(I,"?>",G+1,"StopNode is not closed.");else if(I.substr(G+1,3)==="!--")G=DJ(I,"-->",G+3,"StopNode is not closed.");else if(I.substr(G+1,2)==="![")G=DJ(I,"]]>",G,"StopNode is not closed.")-2;else{let W=xB1(I,G,">");if(W){if((W&&W.tagName)===d&&W.tagExp[W.tagExp.length-1]!=="/")C++;G=W.closeIndex}}}function cB1(I,d,G){if(d&&typeof I==="string"){let Z=I.trim();if(Z==="true")return!0;else if(Z==="false")return!1;else return mV5(I,G)}else if(pB1.isExist(I))return I;else return""}iT0.exports=pT0});var aT0=Y((tV5)=>{function aV5(I,d){return rT0(I,d)}function rT0(I,d,G){let Z,C={};for(let W=0;W<I.length;W++){let w=I[W],B=sV5(w),A="";if(G===void 0)A=B;else A=G+"."+B;if(B===d.textNodeName)if(Z===void 0)Z=w[B];else Z+=""+w[B];else if(B===void 0)continue;else if(w[B]){let V=rT0(w[B],d,A),X=eV5(V,d);if(w[":@"])oV5(V,w[":@"],A,d);else if(Object.keys(V).length===1&&V[d.textNodeName]!==void 0&&!d.alwaysCreateTextNode)V=V[d.textNodeName];else if(Object.keys(V).length===0)if(d.alwaysCreateTextNode)V[d.textNodeName]="";else V="";if(C[B]!==void 0&&C.hasOwnProperty(B)){if(!Array.isArray(C[B]))C[B]=[C[B]];C[B].push(V)}else if(d.isArray(B,A,X))C[B]=[V];else C[B]=V}}if(typeof Z==="string"){if(Z.length>0)C[d.textNodeName]=Z}else if(Z!==void 0)C[d.textNodeName]=Z;return C}function sV5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function oV5(I,d,G,Z){if(d){let C=Object.keys(d),W=C.length;for(let w=0;w<W;w++){let B=C[w];if(Z.isArray(B,G+"."+B,!0,!0))I[B]=[d[B]];else I[B]=d[B]}}}function eV5(I,d){let G=Object.keys(I).length;if(G===0||G===1&&I[d.textNodeName])return!0;return!1}tV5.prettify=aV5});var eT0=Y((h73,oT0)=>{var{buildOptions:dX5}=bT0(),GX5=nT0(),{prettify:ZX5}=aT0(),CX5=kB1();class sT0{constructor(I){this.externalEntities={},this.options=dX5(I)}parse(I,d){if(typeof I==="string");else if(I.toString)I=I.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(d){if(d===!0)d={};let C=CX5.validate(I,d);if(C!==!0)throw Error(`${C.err.msg}:${C.err.line}:${C.err.col}`)}let G=new GX5(this.options);G.addExternalEntities(this.externalEntities);let Z=G.parseXml(I);if(this.options.preserveOrder||Z===void 0)return Z;else return ZX5(Z,this.options)}addEntity(I,d){if(d.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if(I.indexOf("&")!==-1||I.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");else if(d==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[I]=d}}oT0.exports=sT0});var ZO0=Y((j73,GO0)=>{function WX5(I,d){let G="";if(d.format&&d.indentBy.length>0)G=`
`;return IO0(I,d,"",G)}function IO0(I,d,G,Z){let C="",W=!1;for(let w=0;w<I.length;w++){let B=I[w],A=wX5(B),V="";if(G.length===0)V=A;else V=`${G}.${A}`;if(A===d.textNodeName){let J=B[A];if(!BX5(V,d))J=d.tagValueProcessor(A,J),J=dO0(J,d);if(W)C+=Z;C+=J,W=!1;continue}else if(A===d.cdataPropName){if(W)C+=Z;C+=`<![CDATA[${B[A][0][d.textNodeName]}]]>`,W=!1;continue}else if(A===d.commentPropName){C+=Z+`<!--${B[A][0][d.textNodeName]}-->`,W=!0;continue}else if(A[0]==="?"){let J=tT0(B[":@"],d),K=A==="?xml"?"":Z,Q=B[A][0][d.textNodeName];Q=Q.length!==0?" "+Q:"",C+=K+`<${A}${Q}${J}?>`,W=!0;continue}let X=Z;if(X!=="")X+=d.indentBy;let _=tT0(B[":@"],d),F=Z+`<${A}${_}`,g=IO0(B[A],d,V,X);if(d.unpairedTags.indexOf(A)!==-1)if(d.suppressUnpairedNode)C+=F+">";else C+=F+"/>";else if((!g||g.length===0)&&d.suppressEmptyNode)C+=F+"/>";else if(g&&g.endsWith(">"))C+=F+`>${g}${Z}</${A}>`;else{if(C+=F+">",g&&Z!==""&&(g.includes("/>")||g.includes("</")))C+=Z+d.indentBy+g+Z;else C+=g;C+=`</${A}>`}W=!0}return C}function wX5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function tT0(I,d){let G="";if(I&&!d.ignoreAttributes)for(let Z in I){let C=d.attributeValueProcessor(Z,I[Z]);if(C=dO0(C,d),C===!0&&d.suppressBooleanAttributes)G+=` ${Z.substr(d.attributeNamePrefix.length)}`;else G+=` ${Z.substr(d.attributeNamePrefix.length)}="${C}"`}return G}function BX5(I,d){I=I.substr(0,I.length-d.textNodeName.length-1);let G=I.substr(I.lastIndexOf(".")+1);for(let Z in d.stopNodes)if(d.stopNodes[Z]===I||d.stopNodes[Z]==="*."+G)return!0;return!1}function dO0(I,d){if(I&&I.length>0&&d.processEntities)for(let G=0;G<d.entities.length;G++){let Z=d.entities[G];I=I.replace(Z.regex,Z.val)}return I}GO0.exports=WX5});var WO0=Y((k73,CO0)=>{var AX5=ZO0(),VX5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(I,d){return d},attributeValueProcessor:function(I,d){return d},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:[]};function BD(I){if(this.options=Object.assign({},VX5,I),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=_X5;if(this.processTextOrObjNode=XX5,this.options.format)this.indentate=YX5,this.tagEndChar=`>
`,this.newLine=`
`;else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""}BD.prototype.build=function(I){if(this.options.preserveOrder)return AX5(I,this.options);else{if(Array.isArray(I)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)I={[this.options.arrayNodeName]:I};return this.j2x(I,0).val}};BD.prototype.j2x=function(I,d){let G="",Z="";for(let C in I)if(typeof I[C]==="undefined");else if(I[C]===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(I[C]instanceof Date)Z+=this.buildTextValNode(I[C],C,"",d);else if(typeof I[C]!=="object"){let W=this.isAttribute(C);if(W)G+=this.buildAttrPairStr(W,""+I[C]);else if(C===this.options.textNodeName){let w=this.options.tagValueProcessor(C,""+I[C]);Z+=this.replaceEntitiesValue(w)}else Z+=this.buildTextValNode(I[C],C,"",d)}else if(Array.isArray(I[C])){let W=I[C].length;for(let w=0;w<W;w++){let B=I[C][w];if(typeof B==="undefined");else if(B===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(typeof B==="object")Z+=this.processTextOrObjNode(B,C,d);else Z+=this.buildTextValNode(B,C,"",d)}}else if(this.options.attributesGroupName&&C===this.options.attributesGroupName){let W=Object.keys(I[C]),w=W.length;for(let B=0;B<w;B++)G+=this.buildAttrPairStr(W[B],""+I[C][W[B]])}else Z+=this.processTextOrObjNode(I[C],C,d);return{attrStr:G,val:Z}};BD.prototype.buildAttrPairStr=function(I,d){if(d=this.options.attributeValueProcessor(I,""+d),d=this.replaceEntitiesValue(d),this.options.suppressBooleanAttributes&&d==="true")return" "+I;else return" "+I+'="'+d+'"'};function XX5(I,d,G){let Z=this.j2x(I,G+1);if(I[this.options.textNodeName]!==void 0&&Object.keys(I).length===1)return this.buildTextValNode(I[this.options.textNodeName],d,Z.attrStr,G);else return this.buildObjectNode(Z.val,d,Z.attrStr,G)}BD.prototype.buildObjectNode=function(I,d,G,Z){if(I==="")if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else{let C="</"+d+this.tagEndChar,W="";if(d[0]==="?")W="?",C="";if(G&&I.indexOf("<")===-1)return this.indentate(Z)+"<"+d+G+W+">"+I+C;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName&&W.length===0)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else return this.indentate(Z)+"<"+d+G+W+this.tagEndChar+I+this.indentate(Z)+C}};BD.prototype.closeTag=function(I){let d="";if(this.options.unpairedTags.indexOf(I)!==-1){if(!this.options.suppressUnpairedNode)d="/"}else if(this.options.suppressEmptyNode)d="/";else d=`></${I}`;return d};BD.prototype.buildTextValNode=function(I,d,G,Z){if(this.options.cdataPropName!==!1&&d===this.options.cdataPropName)return this.indentate(Z)+`<![CDATA[${I}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else{let C=this.options.tagValueProcessor(d,I);if(C=this.replaceEntitiesValue(C),C==="")return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+">"+C+"</"+d+this.tagEndChar}};BD.prototype.replaceEntitiesValue=function(I){if(I&&I.length>0&&this.options.processEntities)for(let d=0;d<this.options.entities.length;d++){let G=this.options.entities[d];I=I.replace(G.regex,G.val)}return I};function YX5(I){return this.options.indentBy.repeat(I)}function _X5(I){if(I.startsWith(this.options.attributeNamePrefix))return I.substr(this.attrPrefixLen);else return!1}CO0.exports=BD});var BO0=Y((x73,wO0)=>{var DX5=kB1(),HX5=eT0(),FX5=WO0();wO0.exports={XMLParser:HX5,XMLValidator:DX5,XMLBuilder:FX5}});var PV=Y((YO0)=>{Object.defineProperty(YO0,"__esModule",{value:!0});YO0.de_GetSessionTokenCommand=YO0.de_GetFederationTokenCommand=YO0.de_GetCallerIdentityCommand=YO0.de_GetAccessKeyInfoCommand=YO0.de_DecodeAuthorizationMessageCommand=YO0.de_AssumeRoleWithWebIdentityCommand=YO0.de_AssumeRoleWithSAMLCommand=YO0.de_AssumeRoleCommand=YO0.se_GetSessionTokenCommand=YO0.se_GetFederationTokenCommand=YO0.se_GetCallerIdentityCommand=YO0.se_GetAccessKeyInfoCommand=YO0.se_DecodeAuthorizationMessageCommand=YO0.se_AssumeRoleWithWebIdentityCommand=YO0.se_AssumeRoleWithSAMLCommand=YO0.se_AssumeRoleCommand=void 0;var t2=v0(),gX5=bB1(),JX5=BO0(),AD=wD(),KX5=pp(),NX5=async(I,d)=>{let G=YD,Z;return Z=DD({...pX5(I,d),Action:"AssumeRole",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_AssumeRoleCommand=NX5;var zX5=async(I,d)=>{let G=YD,Z;return Z=DD({...iX5(I,d),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_AssumeRoleWithSAMLCommand=zX5;var QX5=async(I,d)=>{let G=YD,Z;return Z=DD({...nX5(I,d),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_AssumeRoleWithWebIdentityCommand=QX5;var fX5=async(I,d)=>{let G=YD,Z;return Z=DD({...rX5(I,d),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_DecodeAuthorizationMessageCommand=fX5;var qX5=async(I,d)=>{let G=YD,Z;return Z=DD({...aX5(I,d),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_GetAccessKeyInfoCommand=qX5;var RX5=async(I,d)=>{let G=YD,Z;return Z=DD({...sX5(I,d),Action:"GetCallerIdentity",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_GetCallerIdentityCommand=RX5;var UX5=async(I,d)=>{let G=YD,Z;return Z=DD({...oX5(I,d),Action:"GetFederationToken",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_GetFederationTokenCommand=UX5;var vX5=async(I,d)=>{let G=YD,Z;return Z=DD({...eX5(I,d),Action:"GetSessionToken",Version:"2011-06-15"}),XD(d,G,"/",void 0,Z)};YO0.se_GetSessionTokenCommand=vX5;var EX5=async(I,d)=>{if(I.statusCode>=300)return MX5(I,d);let G=await yV(I.body,d),Z={};return Z=GY5(G.AssumeRoleResult,d),{$metadata:u7(I),...Z}};YO0.de_AssumeRoleCommand=EX5;var MX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await iB1(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await np(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await rp(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Ey(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},SX5=async(I,d)=>{if(I.statusCode>=300)return LX5(I,d);let G=await yV(I.body,d),Z={};return Z=ZY5(G.AssumeRoleWithSAMLResult,d),{$metadata:u7(I),...Z}};YO0.de_AssumeRoleWithSAMLCommand=SX5;var LX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await iB1(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await AO0(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await VO0(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await np(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await rp(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Ey(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},yX5=async(I,d)=>{if(I.statusCode>=300)return PX5(I,d);let G=await yV(I.body,d),Z={};return Z=CY5(G.AssumeRoleWithWebIdentityResult,d),{$metadata:u7(I),...Z}};YO0.de_AssumeRoleWithWebIdentityCommand=yX5;var PX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await iB1(G,d);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await xX5(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await AO0(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await VO0(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await np(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await rp(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Ey(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},$X5=async(I,d)=>{if(I.statusCode>=300)return uX5(I,d);let G=await yV(I.body,d),Z={};return Z=WY5(G.DecodeAuthorizationMessageResult,d),{$metadata:u7(I),...Z}};YO0.de_DecodeAuthorizationMessageCommand=$X5;var uX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await cX5(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},TX5=async(I,d)=>{if(I.statusCode>=300)return OX5(I,d);let G=await yV(I.body,d),Z={};return Z=AY5(G.GetAccessKeyInfoResult,d),{$metadata:u7(I),...Z}};YO0.de_GetAccessKeyInfoCommand=TX5;var OX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body),C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})},mX5=async(I,d)=>{if(I.statusCode>=300)return lX5(I,d);let G=await yV(I.body,d),Z={};return Z=VY5(G.GetCallerIdentityResult,d),{$metadata:u7(I),...Z}};YO0.de_GetCallerIdentityCommand=mX5;var lX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body),C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})},bX5=async(I,d)=>{if(I.statusCode>=300)return hX5(I,d);let G=await yV(I.body,d),Z={};return Z=XY5(G.GetFederationTokenResult,d),{$metadata:u7(I),...Z}};YO0.de_GetFederationTokenCommand=bX5;var hX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await np(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await rp(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Ey(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},jX5=async(I,d)=>{if(I.statusCode>=300)return kX5(I,d);let G=await yV(I.body,d),Z={};return Z=YY5(G.GetSessionTokenResult,d),{$metadata:u7(I),...Z}};YO0.de_GetSessionTokenCommand=jX5;var kX5=async(I,d)=>{let G={...I,body:await _D(I.body,d)},Z=HD(I,G.body);switch(Z){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await Ey(G,d);default:let C=G.body;return VD({output:I,parsedBody:C.Error,errorCode:Z})}},iB1=async(I,d)=>{let G=I.body,Z=wY5(G.Error,d),C=new AD.ExpiredTokenException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},xX5=async(I,d)=>{let G=I.body,Z=_Y5(G.Error,d),C=new AD.IDPCommunicationErrorException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},AO0=async(I,d)=>{let G=I.body,Z=DY5(G.Error,d),C=new AD.IDPRejectedClaimException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},cX5=async(I,d)=>{let G=I.body,Z=HY5(G.Error,d),C=new AD.InvalidAuthorizationMessageException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},VO0=async(I,d)=>{let G=I.body,Z=FY5(G.Error,d),C=new AD.InvalidIdentityTokenException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},np=async(I,d)=>{let G=I.body,Z=gY5(G.Error,d),C=new AD.MalformedPolicyDocumentException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},rp=async(I,d)=>{let G=I.body,Z=JY5(G.Error,d),C=new AD.PackedPolicyTooLargeException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},Ey=async(I,d)=>{let G=I.body,Z=KY5(G.Error,d),C=new AD.RegionDisabledException({$metadata:u7(I),...Z});return t2.decorateServiceException(C,G)},pX5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.PolicyArns!=null){let Z=ap(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=XO0(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}if(I.TransitiveTagKeys!=null){let Z=dY5(I.TransitiveTagKeys,d);if(I.TransitiveTagKeys?.length===0)G.TransitiveTagKeys=[];Object.entries(Z).forEach(([C,W])=>{let w=`TransitiveTagKeys.${C}`;G[w]=W})}if(I.ExternalId!=null)G.ExternalId=I.ExternalId;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;if(I.SourceIdentity!=null)G.SourceIdentity=I.SourceIdentity;return G},iX5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.PrincipalArn!=null)G.PrincipalArn=I.PrincipalArn;if(I.SAMLAssertion!=null)G.SAMLAssertion=I.SAMLAssertion;if(I.PolicyArns!=null){let Z=ap(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},nX5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.WebIdentityToken!=null)G.WebIdentityToken=I.WebIdentityToken;if(I.ProviderId!=null)G.ProviderId=I.ProviderId;if(I.PolicyArns!=null){let Z=ap(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},rX5=(I,d)=>{let G={};if(I.EncodedMessage!=null)G.EncodedMessage=I.EncodedMessage;return G},aX5=(I,d)=>{let G={};if(I.AccessKeyId!=null)G.AccessKeyId=I.AccessKeyId;return G},sX5=(I,d)=>{return{}},oX5=(I,d)=>{let G={};if(I.Name!=null)G.Name=I.Name;if(I.Policy!=null)G.Policy=I.Policy;if(I.PolicyArns!=null){let Z=ap(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=XO0(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}return G},eX5=(I,d)=>{let G={};if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;return G},ap=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=tX5(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},tX5=(I,d)=>{let G={};if(I.arn!=null)G.arn=I.arn;return G},IY5=(I,d)=>{let G={};if(I.Key!=null)G.Key=I.Key;if(I.Value!=null)G.Value=I.Value;return G},dY5=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;G[`member.${Z}`]=C,Z++}return G},XO0=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=IY5(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},nB1=(I,d)=>{let G={};if(I.AssumedRoleId!==void 0)G.AssumedRoleId=t2.expectString(I.AssumedRoleId);if(I.Arn!==void 0)G.Arn=t2.expectString(I.Arn);return G},GY5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=My(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=nB1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=t2.strictParseInt32(I.PackedPolicySize);if(I.SourceIdentity!==void 0)G.SourceIdentity=t2.expectString(I.SourceIdentity);return G},ZY5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=My(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=nB1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=t2.strictParseInt32(I.PackedPolicySize);if(I.Subject!==void 0)G.Subject=t2.expectString(I.Subject);if(I.SubjectType!==void 0)G.SubjectType=t2.expectString(I.SubjectType);if(I.Issuer!==void 0)G.Issuer=t2.expectString(I.Issuer);if(I.Audience!==void 0)G.Audience=t2.expectString(I.Audience);if(I.NameQualifier!==void 0)G.NameQualifier=t2.expectString(I.NameQualifier);if(I.SourceIdentity!==void 0)G.SourceIdentity=t2.expectString(I.SourceIdentity);return G},CY5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=My(I.Credentials,d);if(I.SubjectFromWebIdentityToken!==void 0)G.SubjectFromWebIdentityToken=t2.expectString(I.SubjectFromWebIdentityToken);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=nB1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=t2.strictParseInt32(I.PackedPolicySize);if(I.Provider!==void 0)G.Provider=t2.expectString(I.Provider);if(I.Audience!==void 0)G.Audience=t2.expectString(I.Audience);if(I.SourceIdentity!==void 0)G.SourceIdentity=t2.expectString(I.SourceIdentity);return G},My=(I,d)=>{let G={};if(I.AccessKeyId!==void 0)G.AccessKeyId=t2.expectString(I.AccessKeyId);if(I.SecretAccessKey!==void 0)G.SecretAccessKey=t2.expectString(I.SecretAccessKey);if(I.SessionToken!==void 0)G.SessionToken=t2.expectString(I.SessionToken);if(I.Expiration!==void 0)G.Expiration=t2.expectNonNull(t2.parseRfc3339DateTimeWithOffset(I.Expiration));return G},WY5=(I,d)=>{let G={};if(I.DecodedMessage!==void 0)G.DecodedMessage=t2.expectString(I.DecodedMessage);return G},wY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},BY5=(I,d)=>{let G={};if(I.FederatedUserId!==void 0)G.FederatedUserId=t2.expectString(I.FederatedUserId);if(I.Arn!==void 0)G.Arn=t2.expectString(I.Arn);return G},AY5=(I,d)=>{let G={};if(I.Account!==void 0)G.Account=t2.expectString(I.Account);return G},VY5=(I,d)=>{let G={};if(I.UserId!==void 0)G.UserId=t2.expectString(I.UserId);if(I.Account!==void 0)G.Account=t2.expectString(I.Account);if(I.Arn!==void 0)G.Arn=t2.expectString(I.Arn);return G},XY5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=My(I.Credentials,d);if(I.FederatedUser!==void 0)G.FederatedUser=BY5(I.FederatedUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=t2.strictParseInt32(I.PackedPolicySize);return G},YY5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=My(I.Credentials,d);return G},_Y5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},DY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},HY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},FY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},gY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},JY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},KY5=(I,d)=>{let G={};if(I.message!==void 0)G.message=t2.expectString(I.message);return G},u7=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),NY5=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},zY5=(I,d)=>NY5(I,d).then((G)=>d.utf8Encoder(G)),VD=t2.withBaseException(KX5.STSServiceException),XD=async(I,d,G,Z,C)=>{let{hostname:W,protocol:w="https",port:B,path:A}=await I.endpoint(),V={protocol:w,hostname:W,port:B,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+G:A+G,headers:d};if(Z!==void 0)V.hostname=Z;if(C!==void 0)V.body=C;return new gX5.HttpRequest(V)},YD={"content-type":"application/x-www-form-urlencoded"},yV=(I,d)=>zY5(I,d).then((G)=>{if(G.length){let Z=new JX5.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(A,V)=>V.trim()===""&&V.includes(`
`)?"":void 0});Z.addEntity("#xD","\r"),Z.addEntity("#10",`
`);let C=Z.parse(G),W="#text",w=Object.keys(C)[0],B=C[w];if(B[W])B[w]=B[W],delete B[W];return t2.getValueFromTextNode(B)}return{}}),_D=async(I,d)=>{let G=await yV(I,d);if(G.Error)G.Error.message=G.Error.message??G.Error.Message;return G},DD=(I)=>Object.entries(I).map(([d,G])=>t2.extendedEncodeURIComponent(d)+"="+t2.extendedEncodeURIComponent(G)).join("&"),HD=(I,d)=>{if(d.Error?.Code!==void 0)return d.Error.Code;if(I.statusCode==404)return"NotFound"}});var sp=Y((aB1)=>{Object.defineProperty(aB1,"__esModule",{value:!0});aB1.AssumeRoleCommand=aB1.$Command=void 0;var OY5=u2(),mY5=r2(),lY5=GD(),HO0=v0();Object.defineProperty(aB1,"$Command",{enumerable:!0,get:function(){return HO0.Command}});var bY5=wD(),DO0=PV();class rB1 extends HO0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(mY5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(OY5.getEndpointPlugin(d,rB1.getEndpointParameterInstructions())),this.middlewareStack.use(lY5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:bY5.AssumeRoleResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return DO0.se_AssumeRoleCommand(I,d)}deserialize(I,d){return DO0.de_AssumeRoleCommand(I,d)}}aB1.AssumeRoleCommand=rB1});var op=Y((oB1)=>{Object.defineProperty(oB1,"__esModule",{value:!0});oB1.AssumeRoleWithWebIdentityCommand=oB1.$Command=void 0;var hY5=u2(),jY5=r2(),KO0=v0();Object.defineProperty(oB1,"$Command",{enumerable:!0,get:function(){return KO0.Command}});var gO0=wD(),JO0=PV();class sB1 extends KO0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(jY5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(hY5.getEndpointPlugin(d,sB1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:gO0.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:gO0.AssumeRoleWithWebIdentityResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return JO0.se_AssumeRoleWithWebIdentityCommand(I,d)}deserialize(I,d){return JO0.de_AssumeRoleWithWebIdentityCommand(I,d)}}oB1.AssumeRoleWithWebIdentityCommand=sB1});var eB1=Y((fO0)=>{Object.defineProperty(fO0,"__esModule",{value:!0});fO0.decorateDefaultCredentialProvider=fO0.getDefaultRoleAssumerWithWebIdentity=fO0.getDefaultRoleAssumer=void 0;var kY5=sp(),xY5=op(),zO0="us-east-1",QO0=(I)=>{if(typeof I!=="function")return I===void 0?zO0:I;return async()=>{try{return await I()}catch(d){return zO0}}},cY5=(I,d)=>{let G,Z;return async(C,W)=>{if(Z=C,!G){let{logger:B,region:A,requestHandler:V}=I;G=new d({logger:B,credentialDefaultProvider:()=>async()=>Z,region:QO0(A||I.region),...V?{requestHandler:V}:{}})}let{Credentials:w}=await G.send(new kY5.AssumeRoleCommand(W));if(!w||!w.AccessKeyId||!w.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${W.RoleArn}`);return{accessKeyId:w.AccessKeyId,secretAccessKey:w.SecretAccessKey,sessionToken:w.SessionToken,expiration:w.Expiration}}};fO0.getDefaultRoleAssumer=cY5;var pY5=(I,d)=>{let G;return async(Z)=>{if(!G){let{logger:W,region:w,requestHandler:B}=I;G=new d({logger:W,region:QO0(w||I.region),...B?{requestHandler:B}:{}})}let{Credentials:C}=await G.send(new xY5.AssumeRoleWithWebIdentityCommand(Z));if(!C||!C.AccessKeyId||!C.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${Z.RoleArn}`);return{accessKeyId:C.AccessKeyId,secretAccessKey:C.SecretAccessKey,sessionToken:C.SessionToken,expiration:C.Expiration}}};fO0.getDefaultRoleAssumerWithWebIdentity=pY5;var iY5=(I)=>(d)=>I({roleAssumer:fO0.getDefaultRoleAssumer(d,d.stsClientCtor),roleAssumerWithWebIdentity:fO0.getDefaultRoleAssumerWithWebIdentity(d,d.stsClientCtor),...d});fO0.decorateDefaultCredentialProvider=iY5});var SO0=Y((EO0)=>{Object.defineProperty(EO0,"__esModule",{value:!0});EO0.resolveCredentialSource=void 0;var nY5=lp(),vO0=i_(),rY5=W4(),aY5=(I,d)=>{let G={EcsContainer:vO0.fromContainerMetadata,Ec2InstanceMetadata:vO0.fromInstanceMetadata,Environment:nY5.fromEnv};if(I in G)return G[I]();else throw new rY5.CredentialsProviderError(`Unsupported credential source in profile ${d}. Got ${I}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};EO0.resolveCredentialSource=aY5});var PO0=Y((LO0)=>{Object.defineProperty(LO0,"__esModule",{value:!0});LO0.resolveAssumeRoleCredentials=LO0.isAssumeRoleProfile=void 0;var tB1=W4(),sY5=K8(),oY5=SO0(),eY5=IA1(),tY5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1&&["undefined","string"].indexOf(typeof I.external_id)>-1&&["undefined","string"].indexOf(typeof I.mfa_serial)>-1&&(I_5(I)||d_5(I));LO0.isAssumeRoleProfile=tY5;var I_5=(I)=>typeof I.source_profile==="string"&&typeof I.credential_source==="undefined",d_5=(I)=>typeof I.credential_source==="string"&&typeof I.source_profile==="undefined",G_5=async(I,d,G,Z={})=>{let C=d[I];if(!G.roleAssumer)throw new tB1.CredentialsProviderError(`Profile ${I} requires a role to be assumed, but no role assumption callback was provided.`,!1);let{source_profile:W}=C;if(W&&W in Z)throw new tB1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${sY5.getProfileName(G)}. Profiles visited: `+Object.keys(Z).join(", "),!1);let w=W?eY5.resolveProfileData(W,d,G,{...Z,[W]:!0}):oY5.resolveCredentialSource(C.credential_source,I)(),B={RoleArn:C.role_arn,RoleSessionName:C.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:C.external_id},{mfa_serial:A}=C;if(A){if(!G.mfaCodeProvider)throw new tB1.CredentialsProviderError(`Profile ${I} requires multi-factor authentication, but no MFA code callback was provided.`,!1);B.SerialNumber=A,B.TokenCode=await G.mfaCodeProvider(A)}let V=await w;return G.roleAssumer(V,B)};LO0.resolveAssumeRoleCredentials=G_5});var TO0=Y(($O0)=>{Object.defineProperty($O0,"__esModule",{value:!0});$O0.getValidatedProcessCredentials=void 0;var C_5=(I,d)=>{if(d.Version!==1)throw Error(`Profile ${I} credential_process did not return Version 1.`);if(d.AccessKeyId===void 0||d.SecretAccessKey===void 0)throw Error(`Profile ${I} credential_process returned invalid credentials.`);if(d.Expiration){let G=new Date;if(new Date(d.Expiration)<G)throw Error(`Profile ${I} credential_process returned expired credentials.`)}return{accessKeyId:d.AccessKeyId,secretAccessKey:d.SecretAccessKey,...d.SessionToken&&{sessionToken:d.SessionToken},...d.Expiration&&{expiration:new Date(d.Expiration)}}};$O0.getValidatedProcessCredentials=C_5});var lO0=Y((OO0)=>{Object.defineProperty(OO0,"__esModule",{value:!0});OO0.resolveProcessCredentials=void 0;var dA1=W4(),W_5=B1("child_process"),w_5=B1("util"),B_5=TO0(),A_5=async(I,d)=>{let G=d[I];if(d[I]){let Z=G.credential_process;if(Z!==void 0){let C=w_5.promisify(W_5.exec);try{let{stdout:W}=await C(Z),w;try{w=JSON.parse(W.trim())}catch(B){throw Error(`Profile ${I} credential_process returned invalid JSON.`)}return B_5.getValidatedProcessCredentials(I,w)}catch(W){throw new dA1.CredentialsProviderError(W.message)}}else throw new dA1.CredentialsProviderError(`Profile ${I} did not contain credential_process.`)}else throw new dA1.CredentialsProviderError(`Profile ${I} could not be found in shared credentials file.`)};OO0.resolveProcessCredentials=A_5});var kO0=Y((hO0)=>{Object.defineProperty(hO0,"__esModule",{value:!0});hO0.fromProcess=void 0;var bO0=K8(),V_5=lO0(),X_5=(I={})=>async()=>{let d=await bO0.parseKnownFiles(I);return V_5.resolveProcessCredentials(bO0.getProfileName(I),d)};hO0.fromProcess=X_5});var ep=Y((GA1)=>{Object.defineProperty(GA1,"__esModule",{value:!0});var Y_5=x1();Y_5.__exportStar(kO0(),GA1)});var pO0=Y((xO0)=>{Object.defineProperty(xO0,"__esModule",{value:!0});xO0.resolveProcessCredentials=xO0.isProcessProfile=void 0;var __5=ep(),D_5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.credential_process==="string";xO0.isProcessProfile=D_5;var H_5=async(I,d)=>__5.fromProcess({...I,profile:d})();xO0.resolveProcessCredentials=H_5});var ZA1=Y((iO0)=>{Object.defineProperty(iO0,"__esModule",{value:!0});iO0.isSsoProfile=void 0;var g_5=(I)=>I&&(typeof I.sso_start_url==="string"||typeof I.sso_account_id==="string"||typeof I.sso_session==="string"||typeof I.sso_region==="string"||typeof I.sso_role_name==="string");iO0.isSsoProfile=g_5});var sO0=Y((rO0)=>{Object.defineProperty(rO0,"__esModule",{value:!0});rO0.resolveClientEndpointParameters=void 0;var J_5=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}};rO0.resolveClientEndpointParameters=J_5});var oO0=Y((WI3,K_5)=>{K_5.exports={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.341.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/config-resolver":"3.341.0","@aws-sdk/fetch-http-handler":"3.341.0","@aws-sdk/hash-node":"3.341.0","@aws-sdk/invalid-dependency":"3.341.0","@aws-sdk/middleware-content-length":"3.341.0","@aws-sdk/middleware-endpoint":"3.341.0","@aws-sdk/middleware-host-header":"3.341.0","@aws-sdk/middleware-logger":"3.341.0","@aws-sdk/middleware-recursion-detection":"3.341.0","@aws-sdk/middleware-retry":"3.341.0","@aws-sdk/middleware-serde":"3.341.0","@aws-sdk/middleware-stack":"3.341.0","@aws-sdk/middleware-user-agent":"3.341.0","@aws-sdk/node-config-provider":"3.341.0","@aws-sdk/node-http-handler":"3.341.0","@aws-sdk/smithy-client":"3.341.0","@aws-sdk/types":"3.341.0","@aws-sdk/url-parser":"3.341.0","@aws-sdk/util-base64":"3.310.0","@aws-sdk/util-body-length-browser":"3.310.0","@aws-sdk/util-body-length-node":"3.310.0","@aws-sdk/util-defaults-mode-browser":"3.341.0","@aws-sdk/util-defaults-mode-node":"3.341.0","@aws-sdk/util-endpoints":"3.341.0","@aws-sdk/util-retry":"3.341.0","@aws-sdk/util-user-agent-browser":"3.341.0","@aws-sdk/util-user-agent-node":"3.341.0","@aws-sdk/util-utf8":"3.310.0","@smithy/protocol-http":"^1.0.1","@smithy/types":"^1.0.0",tslib:"^2.5.0"},devDependencies:{"@aws-sdk/service-client-documentation-generator":"3.310.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso"}}});var dm0=Y((eO0,tO0)=>{Object.defineProperty(eO0,"__esModule",{value:!0});eO0.isCrtAvailable=void 0;var N_5=()=>{try{if(typeof tO0!=="undefined"&&(()=>{throw new Error("Cannot require module "+"aws-crt");})())return["md/crt-avail"];return null}catch(I){return null}};eO0.isCrtAvailable=N_5});var WA1=Y((Zm0)=>{Object.defineProperty(Zm0,"__esModule",{value:!0});Zm0.defaultUserAgent=Zm0.UA_APP_ID_INI_NAME=Zm0.UA_APP_ID_ENV_NAME=void 0;var z_5=QZ(),Gm0=B1("os"),CA1=B1("process"),Q_5=dm0();Zm0.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";Zm0.UA_APP_ID_INI_NAME="sdk-ua-app-id";var f_5=({serviceId:I,clientVersion:d})=>{let G=[["aws-sdk-js",d],[`os/${Gm0.platform()}`,Gm0.release()],["lang/js"],["md/nodejs",`${CA1.versions.node}`]],Z=Q_5.isCrtAvailable();if(Z)G.push(Z);if(I)G.push([`api/${I}`,d]);if(CA1.env.AWS_EXECUTION_ENV)G.push([`exec-env/${CA1.env.AWS_EXECUTION_ENV}`]);let C=z_5.loadConfig({environmentVariableSelector:(w)=>w[Zm0.UA_APP_ID_ENV_NAME],configFileSelector:(w)=>w[Zm0.UA_APP_ID_INI_NAME],default:void 0})(),W=void 0;return async()=>{if(!W){let w=await C;W=w?[...G,[`app/${w}`]]:[...G]}return W}};Zm0.defaultUserAgent=f_5});var zm0=Y((Km0)=>{Object.defineProperty(Km0,"__esModule",{value:!0});Km0.ruleSet=void 0;var Hm0="required",$V="fn",uV="argv",ef="ref",wA1="PartitionResult",BB="tree",Sy="error",Ly="endpoint",Bm0={[Hm0]:!1,type:"String"},Am0={[Hm0]:!0,default:!1,type:"Boolean"},Fm0={[ef]:"Endpoint"},gm0={[$V]:"booleanEquals",[uV]:[{[ef]:"UseFIPS"},!0]},Jm0={[$V]:"booleanEquals",[uV]:[{[ef]:"UseDualStack"},!0]},AB={},Vm0={[$V]:"booleanEquals",[uV]:[!0,{[$V]:"getAttr",[uV]:[{[ef]:wA1},"supportsFIPS"]}]},Xm0={[$V]:"booleanEquals",[uV]:[!0,{[$V]:"getAttr",[uV]:[{[ef]:wA1},"supportsDualStack"]}]},Ym0=[Fm0],_m0=[gm0],Dm0=[Jm0],q_5={version:"1.0",parameters:{Region:Bm0,UseDualStack:Am0,UseFIPS:Am0,Endpoint:Bm0},rules:[{conditions:[{[$V]:"aws.partition",[uV]:[{[ef]:"Region"}],assign:wA1}],type:BB,rules:[{conditions:[{[$V]:"isSet",[uV]:Ym0},{[$V]:"parseURL",[uV]:Ym0,assign:"url"}],type:BB,rules:[{conditions:_m0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Sy},{type:BB,rules:[{conditions:Dm0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Sy},{endpoint:{url:Fm0,properties:AB,headers:AB},type:Ly}]}]},{conditions:[gm0,Jm0],type:BB,rules:[{conditions:[Vm0,Xm0],type:BB,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:AB,headers:AB},type:Ly}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Sy}]},{conditions:_m0,type:BB,rules:[{conditions:[Vm0],type:BB,rules:[{type:BB,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:AB,headers:AB},type:Ly}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Sy}]},{conditions:Dm0,type:BB,rules:[{conditions:[Xm0],type:BB,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:AB,headers:AB},type:Ly}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Sy}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:AB,headers:AB},type:Ly}]}]};Km0.ruleSet=q_5});var qm0=Y((Qm0)=>{Object.defineProperty(Qm0,"__esModule",{value:!0});Qm0.defaultEndpointResolver=void 0;var R_5=xp(),U_5=zm0(),v_5=(I,d={})=>{return R_5.resolveEndpoint(U_5.ruleSet,{endpointParams:I,logger:d.logger})};Qm0.defaultEndpointResolver=v_5});var Mm0=Y((vm0)=>{Object.defineProperty(vm0,"__esModule",{value:!0});vm0.getRuntimeConfig=void 0;var E_5=v0(),M_5=FV(),Rm0=IJ(),Um0=hC(),S_5=qm0(),L_5=(I)=>({apiVersion:"2019-06-10",base64Decoder:I?.base64Decoder??Rm0.fromBase64,base64Encoder:I?.base64Encoder??Rm0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??S_5.defaultEndpointResolver,logger:I?.logger??new E_5.NoOpLogger,serviceId:I?.serviceId??"SSO",urlParser:I?.urlParser??M_5.parseUrl,utf8Decoder:I?.utf8Decoder??Um0.fromUtf8,utf8Encoder:I?.utf8Encoder??Um0.toUtf8});vm0.getRuntimeConfig=L_5});var $m0=Y((ym0)=>{Object.defineProperty(ym0,"__esModule",{value:!0});ym0.getRuntimeConfig=void 0;var y_5=x1(),P_5=y_5.__importDefault(oO0()),tp=Cd(),$_5=og(),Sm0=dG(),yy=QZ(),Lm0=eg(),u_5=tg(),T_5=Wd(),O_5=WA1(),m_5=Mm0(),l_5=v0(),b_5=dJ(),h_5=v0(),j_5=(I)=>{h_5.emitWarningIfUnsupportedVersion(process.version);let d=b_5.resolveDefaultsModeConfig(I),G=()=>d().then(l_5.loadConfigsForDefaultMode),Z=m_5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??u_5.calculateBodyLength,defaultUserAgentProvider:I?.defaultUserAgentProvider??O_5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:P_5.default.version}),maxAttempts:I?.maxAttempts??yy.loadConfig(Sm0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??yy.loadConfig(tp.NODE_REGION_CONFIG_OPTIONS,tp.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new Lm0.NodeHttpHandler(G),retryMode:I?.retryMode??yy.loadConfig({...Sm0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||T_5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??$_5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??Lm0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??yy.loadConfig(tp.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??yy.loadConfig(tp.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};ym0.getRuntimeConfig=j_5});var Py=Y((BA1)=>{Object.defineProperty(BA1,"__esModule",{value:!0});BA1.SSOClient=BA1.__Client=void 0;var k_5=Cd(),x_5=jg(),c_5=u2(),um0=pw1(),p_5=nw1(),i_5=rw1(),Tm0=dG(),Om0=QB1(),mm0=v0();Object.defineProperty(BA1,"__Client",{enumerable:!0,get:function(){return mm0.Client}});var n_5=sO0(),r_5=$m0();class lm0 extends mm0.Client{constructor(I){let d=r_5.getRuntimeConfig(I),G=n_5.resolveClientEndpointParameters(d),Z=k_5.resolveRegionConfig(G),C=c_5.resolveEndpointConfig(Z),W=Tm0.resolveRetryConfig(C),w=um0.resolveHostHeaderConfig(W),B=Om0.resolveUserAgentConfig(w);super(B);this.config=B,this.middlewareStack.use(Tm0.getRetryPlugin(this.config)),this.middlewareStack.use(x_5.getContentLengthPlugin(this.config)),this.middlewareStack.use(um0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(p_5.getLoggerPlugin(this.config)),this.middlewareStack.use(i_5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(Om0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}BA1.SSOClient=lm0});var Ii=Y((VA1)=>{Object.defineProperty(VA1,"__esModule",{value:!0});VA1.SSOServiceException=VA1.__ServiceException=void 0;var hm0=v0();Object.defineProperty(VA1,"__ServiceException",{enumerable:!0,get:function(){return hm0.ServiceException}});class AA1 extends hm0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,AA1.prototype)}}VA1.SSOServiceException=AA1});var HJ=Y((km0)=>{Object.defineProperty(km0,"__esModule",{value:!0});km0.LogoutRequestFilterSensitiveLog=km0.ListAccountsRequestFilterSensitiveLog=km0.ListAccountRolesRequestFilterSensitiveLog=km0.GetRoleCredentialsResponseFilterSensitiveLog=km0.RoleCredentialsFilterSensitiveLog=km0.GetRoleCredentialsRequestFilterSensitiveLog=km0.UnauthorizedException=km0.TooManyRequestsException=km0.ResourceNotFoundException=km0.InvalidRequestException=void 0;var tf=v0(),di=Ii();class XA1 extends di.SSOServiceException{constructor(I){super({name:"InvalidRequestException",$fault:"client",...I});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,XA1.prototype)}}km0.InvalidRequestException=XA1;class YA1 extends di.SSOServiceException{constructor(I){super({name:"ResourceNotFoundException",$fault:"client",...I});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,YA1.prototype)}}km0.ResourceNotFoundException=YA1;class _A1 extends di.SSOServiceException{constructor(I){super({name:"TooManyRequestsException",$fault:"client",...I});this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,_A1.prototype)}}km0.TooManyRequestsException=_A1;class DA1 extends di.SSOServiceException{constructor(I){super({name:"UnauthorizedException",$fault:"client",...I});this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,DA1.prototype)}}km0.UnauthorizedException=DA1;var a_5=(I)=>({...I,...I.accessToken&&{accessToken:tf.SENSITIVE_STRING}});km0.GetRoleCredentialsRequestFilterSensitiveLog=a_5;var s_5=(I)=>({...I,...I.secretAccessKey&&{secretAccessKey:tf.SENSITIVE_STRING},...I.sessionToken&&{sessionToken:tf.SENSITIVE_STRING}});km0.RoleCredentialsFilterSensitiveLog=s_5;var o_5=(I)=>({...I,...I.roleCredentials&&{roleCredentials:km0.RoleCredentialsFilterSensitiveLog(I.roleCredentials)}});km0.GetRoleCredentialsResponseFilterSensitiveLog=o_5;var e_5=(I)=>({...I,...I.accessToken&&{accessToken:tf.SENSITIVE_STRING}});km0.ListAccountRolesRequestFilterSensitiveLog=e_5;var t_5=(I)=>({...I,...I.accessToken&&{accessToken:tf.SENSITIVE_STRING}});km0.ListAccountsRequestFilterSensitiveLog=t_5;var ID5=(I)=>({...I,...I.accessToken&&{accessToken:tf.SENSITIVE_STRING}});km0.LogoutRequestFilterSensitiveLog=ID5});var $y=Y((im0)=>{Object.defineProperty(im0,"__esModule",{value:!0});im0.de_LogoutCommand=im0.de_ListAccountsCommand=im0.de_ListAccountRolesCommand=im0.de_GetRoleCredentialsCommand=im0.se_LogoutCommand=im0.se_ListAccountsCommand=im0.se_ListAccountRolesCommand=im0.se_GetRoleCredentialsCommand=void 0;var z4=v0(),Gi=bB1(),Zi=HJ(),VD5=Ii(),XD5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=z4.map({},Ai,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/federation/credentials`,A=z4.map({role_name:[,z4.expectNonNull(I.roleName,"roleName")],account_id:[,z4.expectNonNull(I.accountId,"accountId")]}),V;return new Gi.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};im0.se_GetRoleCredentialsCommand=XD5;var YD5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=z4.map({},Ai,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/roles`,A=z4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()],account_id:[,z4.expectNonNull(I.accountId,"accountId")]}),V;return new Gi.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};im0.se_ListAccountRolesCommand=YD5;var _D5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=z4.map({},Ai,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/accounts`,A=z4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()]}),V;return new Gi.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};im0.se_ListAccountsCommand=_D5;var DD5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=z4.map({},Ai,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/logout`,A;return new Gi.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};im0.se_LogoutCommand=DD5;var HD5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return FD5(I,d);let G=z4.map({$metadata:FD(I)}),Z=z4.expectNonNull(z4.expectObject(await Vi(I.body,d)),"body"),C=z4.take(Z,{roleCredentials:z4._json});return Object.assign(G,C),G};im0.de_GetRoleCredentialsCommand=HD5;var FD5=async(I,d)=>{let G={...I,body:await Xi(I.body,d)},Z=Yi(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Wi(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await HA1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await wi(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Bi(G,d);default:let C=G.body;return Ci({output:I,parsedBody:C,errorCode:Z})}},gD5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return JD5(I,d);let G=z4.map({$metadata:FD(I)}),Z=z4.expectNonNull(z4.expectObject(await Vi(I.body,d)),"body"),C=z4.take(Z,{nextToken:z4.expectString,roleList:z4._json});return Object.assign(G,C),G};im0.de_ListAccountRolesCommand=gD5;var JD5=async(I,d)=>{let G={...I,body:await Xi(I.body,d)},Z=Yi(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Wi(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await HA1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await wi(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Bi(G,d);default:let C=G.body;return Ci({output:I,parsedBody:C,errorCode:Z})}},KD5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return ND5(I,d);let G=z4.map({$metadata:FD(I)}),Z=z4.expectNonNull(z4.expectObject(await Vi(I.body,d)),"body"),C=z4.take(Z,{accountList:z4._json,nextToken:z4.expectString});return Object.assign(G,C),G};im0.de_ListAccountsCommand=KD5;var ND5=async(I,d)=>{let G={...I,body:await Xi(I.body,d)},Z=Yi(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Wi(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await HA1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await wi(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Bi(G,d);default:let C=G.body;return Ci({output:I,parsedBody:C,errorCode:Z})}},zD5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return QD5(I,d);let G=z4.map({$metadata:FD(I)});return await pm0(I.body,d),G};im0.de_LogoutCommand=zD5;var QD5=async(I,d)=>{let G={...I,body:await Xi(I.body,d)},Z=Yi(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await Wi(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await wi(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Bi(G,d);default:let C=G.body;return Ci({output:I,parsedBody:C,errorCode:Z})}},Ci=z4.withBaseException(VD5.SSOServiceException),Wi=async(I,d)=>{let G=z4.map({}),Z=I.body,C=z4.take(Z,{message:z4.expectString});Object.assign(G,C);let W=new Zi.InvalidRequestException({$metadata:FD(I),...G});return z4.decorateServiceException(W,I.body)},HA1=async(I,d)=>{let G=z4.map({}),Z=I.body,C=z4.take(Z,{message:z4.expectString});Object.assign(G,C);let W=new Zi.ResourceNotFoundException({$metadata:FD(I),...G});return z4.decorateServiceException(W,I.body)},wi=async(I,d)=>{let G=z4.map({}),Z=I.body,C=z4.take(Z,{message:z4.expectString});Object.assign(G,C);let W=new Zi.TooManyRequestsException({$metadata:FD(I),...G});return z4.decorateServiceException(W,I.body)},Bi=async(I,d)=>{let G=z4.map({}),Z=I.body,C=z4.take(Z,{message:z4.expectString});Object.assign(G,C);let W=new Zi.UnauthorizedException({$metadata:FD(I),...G});return z4.decorateServiceException(W,I.body)},FD=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),pm0=(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return Promise.resolve(I);return d.streamCollector(I)||Promise.resolve(new Uint8Array)},fD5=(I,d)=>pm0(I,d).then((G)=>d.utf8Encoder(G)),Ai=(I)=>I!==void 0&&I!==null&&I!==""&&(!Object.getOwnPropertyNames(I).includes("length")||I.length!=0)&&(!Object.getOwnPropertyNames(I).includes("size")||I.size!=0),Vi=(I,d)=>fD5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),Xi=async(I,d)=>{let G=await Vi(I,d);return G.message=G.message??G.Message,G},Yi=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var JA1=Y((gA1)=>{Object.defineProperty(gA1,"__esModule",{value:!0});gA1.GetRoleCredentialsCommand=gA1.$Command=void 0;var LD5=u2(),yD5=r2(),sm0=v0();Object.defineProperty(gA1,"$Command",{enumerable:!0,get:function(){return sm0.Command}});var rm0=HJ(),am0=$y();class FA1 extends sm0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(yD5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(LD5.getEndpointPlugin(d,FA1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"GetRoleCredentialsCommand",inputFilterSensitiveLog:rm0.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:rm0.GetRoleCredentialsResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return am0.se_GetRoleCredentialsCommand(I,d)}deserialize(I,d){return am0.de_GetRoleCredentialsCommand(I,d)}}gA1.GetRoleCredentialsCommand=FA1});var _i=Y((NA1)=>{Object.defineProperty(NA1,"__esModule",{value:!0});NA1.ListAccountRolesCommand=NA1.$Command=void 0;var PD5=u2(),$D5=r2(),tm0=v0();Object.defineProperty(NA1,"$Command",{enumerable:!0,get:function(){return tm0.Command}});var uD5=HJ(),em0=$y();class KA1 extends tm0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use($D5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(PD5.getEndpointPlugin(d,KA1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:uD5.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return em0.se_ListAccountRolesCommand(I,d)}deserialize(I,d){return em0.de_ListAccountRolesCommand(I,d)}}NA1.ListAccountRolesCommand=KA1});var Di=Y((QA1)=>{Object.defineProperty(QA1,"__esModule",{value:!0});QA1.ListAccountsCommand=QA1.$Command=void 0;var TD5=u2(),OD5=r2(),Gl0=v0();Object.defineProperty(QA1,"$Command",{enumerable:!0,get:function(){return Gl0.Command}});var mD5=HJ(),dl0=$y();class zA1 extends Gl0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(OD5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(TD5.getEndpointPlugin(d,zA1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:mD5.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return dl0.se_ListAccountsCommand(I,d)}deserialize(I,d){return dl0.de_ListAccountsCommand(I,d)}}QA1.ListAccountsCommand=zA1});var RA1=Y((qA1)=>{Object.defineProperty(qA1,"__esModule",{value:!0});qA1.LogoutCommand=qA1.$Command=void 0;var lD5=u2(),bD5=r2(),Wl0=v0();Object.defineProperty(qA1,"$Command",{enumerable:!0,get:function(){return Wl0.Command}});var hD5=HJ(),Cl0=$y();class fA1 extends Wl0.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(bD5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(lD5.getEndpointPlugin(d,fA1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:hD5.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Cl0.se_LogoutCommand(I,d)}deserialize(I,d){return Cl0.de_LogoutCommand(I,d)}}qA1.LogoutCommand=fA1});var Vl0=Y((Bl0)=>{Object.defineProperty(Bl0,"__esModule",{value:!0});Bl0.SSO=void 0;var jD5=v0(),kD5=JA1(),xD5=_i(),cD5=Di(),pD5=RA1(),iD5=Py(),nD5={GetRoleCredentialsCommand:kD5.GetRoleCredentialsCommand,ListAccountRolesCommand:xD5.ListAccountRolesCommand,ListAccountsCommand:cD5.ListAccountsCommand,LogoutCommand:pD5.LogoutCommand};class UA1 extends iD5.SSOClient{}Bl0.SSO=UA1;jD5.createAggregatedClient(nD5,UA1)});var Xl0=Y((Iq)=>{Object.defineProperty(Iq,"__esModule",{value:!0});var Hi=x1();Hi.__exportStar(JA1(),Iq);Hi.__exportStar(_i(),Iq);Hi.__exportStar(Di(),Iq);Hi.__exportStar(RA1(),Iq)});var _l0=Y((Yl0)=>{Object.defineProperty(Yl0,"__esModule",{value:!0})});var Fl0=Y((Dl0)=>{Object.defineProperty(Dl0,"__esModule",{value:!0});Dl0.paginateListAccountRoles=void 0;var rD5=_i(),aD5=Py(),sD5=async(I,d,...G)=>{return await I.send(new rD5.ListAccountRolesCommand(d),...G)};async function*oD5(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof aD5.SSOClient)W=await sD5(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}Dl0.paginateListAccountRoles=oD5});var Kl0=Y((gl0)=>{Object.defineProperty(gl0,"__esModule",{value:!0});gl0.paginateListAccounts=void 0;var eD5=Di(),tD5=Py(),IH5=async(I,d,...G)=>{return await I.send(new eD5.ListAccountsCommand(d),...G)};async function*dH5(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof tD5.SSOClient)W=await IH5(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}gl0.paginateListAccounts=dH5});var Nl0=Y((uy)=>{Object.defineProperty(uy,"__esModule",{value:!0});var vA1=x1();vA1.__exportStar(_l0(),uy);vA1.__exportStar(Fl0(),uy);vA1.__exportStar(Kl0(),uy)});var zl0=Y((EA1)=>{Object.defineProperty(EA1,"__esModule",{value:!0});var GH5=x1();GH5.__exportStar(HJ(),EA1)});var MA1=Y((gD)=>{Object.defineProperty(gD,"__esModule",{value:!0});gD.SSOServiceException=void 0;var Ty=x1();Ty.__exportStar(Py(),gD);Ty.__exportStar(Vl0(),gD);Ty.__exportStar(Xl0(),gD);Ty.__exportStar(Nl0(),gD);Ty.__exportStar(zl0(),gD);var ZH5=Ii();Object.defineProperty(gD,"SSOServiceException",{enumerable:!0,get:function(){return ZH5.SSOServiceException}})});var Fi=Y((Ql0)=>{Object.defineProperty(Ql0,"__esModule",{value:!0});Ql0.REFRESH_MESSAGE=Ql0.EXPIRE_WINDOW_MS=void 0;Ql0.EXPIRE_WINDOW_MS=300000;Ql0.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var Ul0=Y((ql0)=>{Object.defineProperty(ql0,"__esModule",{value:!0});ql0.getSsoOidcClient=void 0;var wH5=Gy(),SA1={},BH5=(I)=>{if(SA1[I])return SA1[I];let d=new wH5.SSOOIDCClient({region:I});return SA1[I]=d,d};ql0.getSsoOidcClient=BH5});var Ml0=Y((vl0)=>{Object.defineProperty(vl0,"__esModule",{value:!0});vl0.getNewSsoOidcToken=void 0;var AH5=Gy(),VH5=Ul0(),XH5=(I,d)=>{return VH5.getSsoOidcClient(d).send(new AH5.CreateTokenCommand({clientId:I.clientId,clientSecret:I.clientSecret,refreshToken:I.refreshToken,grantType:"refresh_token"}))};vl0.getNewSsoOidcToken=XH5});var yl0=Y((Sl0)=>{Object.defineProperty(Sl0,"__esModule",{value:!0});Sl0.validateTokenExpiry=void 0;var YH5=W4(),_H5=Fi(),DH5=(I)=>{if(I.expiration&&I.expiration.getTime()<Date.now())throw new YH5.TokenProviderError(`Token is expired. ${_H5.REFRESH_MESSAGE}`,!1)};Sl0.validateTokenExpiry=DH5});var ul0=Y((Pl0)=>{Object.defineProperty(Pl0,"__esModule",{value:!0});Pl0.validateTokenKey=void 0;var HH5=W4(),FH5=Fi(),gH5=(I,d,G=!1)=>{if(typeof d==="undefined")throw new HH5.TokenProviderError(`Value not present for '${I}' in SSO Token${G?". Cannot refresh":""}. ${FH5.REFRESH_MESSAGE}`,!1)};Pl0.validateTokenKey=gH5});var ml0=Y((Tl0)=>{Object.defineProperty(Tl0,"__esModule",{value:!0});Tl0.writeSSOTokenToFile=void 0;var JH5=K8(),KH5=B1("fs"),{writeFile:NH5}=KH5.promises,zH5=(I,d)=>{let G=JH5.getSSOTokenFilepath(I),Z=JSON.stringify(d,null,2);return NH5(G,Z)};Tl0.writeSSOTokenToFile=zH5});var LA1=Y((jl0)=>{Object.defineProperty(jl0,"__esModule",{value:!0});jl0.fromSso=void 0;var Oy=W4(),gi=K8(),ll0=Fi(),QH5=Ml0(),bl0=yl0(),FJ=ul0(),fH5=ml0(),hl0=new Date(0),qH5=(I={})=>async()=>{let d=await gi.parseKnownFiles(I),G=gi.getProfileName(I),Z=d[G];if(!Z)throw new Oy.TokenProviderError(`Profile '${G}' could not be found in shared credentials file.`,!1);else if(!Z.sso_session)throw new Oy.TokenProviderError(`Profile '${G}' is missing required property 'sso_session'.`);let C=Z.sso_session,w=(await gi.loadSsoSessionData(I))[C];if(!w)throw new Oy.TokenProviderError(`Sso session '${C}' could not be found in shared credentials file.`,!1);for(let g of["sso_start_url","sso_region"])if(!w[g])throw new Oy.TokenProviderError(`Sso session '${C}' is missing required property '${g}'.`,!1);let{sso_start_url:B,sso_region:A}=w,V;try{V=await gi.getSSOTokenFromFile(C)}catch(g){throw new Oy.TokenProviderError(`The SSO session token associated with profile=${G} was not found or is invalid. ${ll0.REFRESH_MESSAGE}`,!1)}FJ.validateTokenKey("accessToken",V.accessToken),FJ.validateTokenKey("expiresAt",V.expiresAt);let{accessToken:X,expiresAt:_}=V,F={token:X,expiration:new Date(_)};if(F.expiration.getTime()-Date.now()>ll0.EXPIRE_WINDOW_MS)return F;if(Date.now()-hl0.getTime()<30000)return bl0.validateTokenExpiry(F),F;FJ.validateTokenKey("clientId",V.clientId,!0),FJ.validateTokenKey("clientSecret",V.clientSecret,!0),FJ.validateTokenKey("refreshToken",V.refreshToken,!0);try{hl0.setTime(Date.now());let g=await QH5.getNewSsoOidcToken(V,A);FJ.validateTokenKey("accessToken",g.accessToken),FJ.validateTokenKey("expiresIn",g.expiresIn);let J=new Date(Date.now()+g.expiresIn*1000);try{await fH5.writeSSOTokenToFile(C,{...V,accessToken:g.accessToken,expiresAt:J.toISOString(),refreshToken:g.refreshToken})}catch(K){}return{token:g.accessToken,expiration:J}}catch(g){return bl0.validateTokenExpiry(F),F}};jl0.fromSso=qH5});var pl0=Y((xl0)=>{Object.defineProperty(xl0,"__esModule",{value:!0});xl0.fromStatic=void 0;var RH5=W4(),UH5=({token:I})=>async()=>{if(!I||!I.token)throw new RH5.TokenProviderError("Please pass a valid token to fromStatic",!1);return I};xl0.fromStatic=UH5});var rl0=Y((il0)=>{Object.defineProperty(il0,"__esModule",{value:!0});il0.nodeProvider=void 0;var yA1=W4(),vH5=LA1(),EH5=(I={})=>yA1.memoize(yA1.chain(vH5.fromSso(I),async()=>{throw new yA1.TokenProviderError("Could not load token from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);il0.nodeProvider=EH5});var al0=Y((my)=>{Object.defineProperty(my,"__esModule",{value:!0});var PA1=x1();PA1.__exportStar(LA1(),my);PA1.__exportStar(pl0(),my);PA1.__exportStar(rl0(),my)});var tl0=Y((ol0)=>{Object.defineProperty(ol0,"__esModule",{value:!0});ol0.resolveSSOCredentials=void 0;var sl0=MA1(),ly=W4(),MH5=K8(),SH5=al0(),LH5=900000,by=!1,yH5=async({ssoStartUrl:I,ssoSession:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:w})=>{let B,A="To refresh this SSO session run aws sso login with the corresponding profile.";if(d)try{let Q=await SH5.fromSso({profile:w})();B={accessToken:Q.token,expiresAt:new Date(Q.expiration).toISOString()}}catch(Q){throw new ly.CredentialsProviderError(Q.message,by)}else try{B=await MH5.getSSOTokenFromFile(I)}catch(Q){throw new ly.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",by)}if(new Date(B.expiresAt).getTime()-Date.now()<=LH5)throw new ly.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",by);let{accessToken:V}=B,X=W||new sl0.SSOClient({region:Z}),_;try{_=await X.send(new sl0.GetRoleCredentialsCommand({accountId:G,roleName:C,accessToken:V}))}catch(Q){throw ly.CredentialsProviderError.from(Q,by)}let{roleCredentials:{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:K}={}}=_;if(!F||!g||!J||!K)throw new ly.CredentialsProviderError("SSO returns an invalid temporary credential.",by);return{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:new Date(K)}};ol0.resolveSSOCredentials=yH5});var $A1=Y((Ib0)=>{Object.defineProperty(Ib0,"__esModule",{value:!0});Ib0.validateSsoProfile=void 0;var PH5=W4(),$H5=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_region:Z,sso_role_name:C}=I;if(!d||!G||!Z||!C)throw new PH5.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(I).join(", ")}
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,!1);return I};Ib0.validateSsoProfile=$H5});var Wb0=Y((Zb0)=>{Object.defineProperty(Zb0,"__esModule",{value:!0});Zb0.fromSSO=void 0;var hy=W4(),uA1=K8(),uH5=ZA1(),Gb0=tl0(),TH5=$A1(),OH5=(I={})=>async()=>{let{ssoStartUrl:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,ssoSession:w}=I,B=uA1.getProfileName(I);if(!d&&!G&&!Z&&!C&&!w){let V=(await uA1.parseKnownFiles(I))[B];if(!V)throw new hy.CredentialsProviderError(`Profile ${B} was not found.`);if(!uH5.isSsoProfile(V))throw new hy.CredentialsProviderError(`Profile ${B} is not configured with SSO credentials.`);if(V===null||V===void 0?void 0:V.sso_session){let Q=(await uA1.loadSsoSessionData(I))[V.sso_session],E=` configurations in profile ${B} and sso-session ${V.sso_session}`;if(Z&&Z!==Q.sso_region)throw new hy.CredentialsProviderError("Conflicting SSO region"+E,!1);if(d&&d!==Q.sso_start_url)throw new hy.CredentialsProviderError("Conflicting SSO start_url"+E,!1);V.sso_region=Q.sso_region,V.sso_start_url=Q.sso_start_url}let{sso_start_url:X,sso_account_id:_,sso_region:F,sso_role_name:g,sso_session:J}=TH5.validateSsoProfile(V);return Gb0.resolveSSOCredentials({ssoStartUrl:X,ssoSession:J,ssoAccountId:_,ssoRegion:F,ssoRoleName:g,ssoClient:W,profile:B})}else if(!d||!G||!Z||!C)throw new hy.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');else return Gb0.resolveSSOCredentials({ssoStartUrl:d,ssoSession:w,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:B})};Zb0.fromSSO=OH5});var Bb0=Y((wb0)=>{Object.defineProperty(wb0,"__esModule",{value:!0})});var jy=Y((dq)=>{Object.defineProperty(dq,"__esModule",{value:!0});var Ji=x1();Ji.__exportStar(Wb0(),dq);Ji.__exportStar(ZA1(),dq);Ji.__exportStar(Bb0(),dq);Ji.__exportStar($A1(),dq)});var Xb0=Y((TA1)=>{Object.defineProperty(TA1,"__esModule",{value:!0});TA1.resolveSsoCredentials=TA1.isSsoProfile=void 0;var Ab0=jy(),mH5=jy();Object.defineProperty(TA1,"isSsoProfile",{enumerable:!0,get:function(){return mH5.isSsoProfile}});var lH5=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_session:Z,sso_region:C,sso_role_name:W}=Ab0.validateSsoProfile(I);return Ab0.fromSSO({ssoStartUrl:d,ssoAccountId:G,ssoSession:Z,ssoRegion:C,ssoRoleName:W})()};TA1.resolveSsoCredentials=lH5});var Db0=Y((Yb0)=>{Object.defineProperty(Yb0,"__esModule",{value:!0});Yb0.resolveStaticCredentials=Yb0.isStaticCredsProfile=void 0;var bH5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.aws_access_key_id==="string"&&typeof I.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof I.aws_session_token)>-1;Yb0.isStaticCredsProfile=bH5;var hH5=(I)=>Promise.resolve({accessKeyId:I.aws_access_key_id,secretAccessKey:I.aws_secret_access_key,sessionToken:I.aws_session_token});Yb0.resolveStaticCredentials=hH5});var OA1=Y((Hb0)=>{Object.defineProperty(Hb0,"__esModule",{value:!0});Hb0.fromWebToken=void 0;var kH5=W4(),xH5=(I)=>()=>{let{roleArn:d,roleSessionName:G,webIdentityToken:Z,providerId:C,policyArns:W,policy:w,durationSeconds:B,roleAssumerWithWebIdentity:A}=I;if(!A)throw new kH5.CredentialsProviderError(`Role Arn '${d}' needs to be assumed with web identity, but no role assumption callback was provided.`,!1);return A({RoleArn:d,RoleSessionName:G!==null&&G!==void 0?G:`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:Z,ProviderId:C,PolicyArns:W,Policy:w,DurationSeconds:B})};Hb0.fromWebToken=xH5});var Kb0=Y((gb0)=>{Object.defineProperty(gb0,"__esModule",{value:!0});gb0.fromTokenFile=void 0;var cH5=W4(),pH5=B1("fs"),iH5=OA1(),nH5="AWS_WEB_IDENTITY_TOKEN_FILE",rH5="AWS_ROLE_ARN",aH5="AWS_ROLE_SESSION_NAME",sH5=(I={})=>async()=>{return oH5(I)};gb0.fromTokenFile=sH5;var oH5=(I)=>{var d,G,Z;let C=(d=I===null||I===void 0?void 0:I.webIdentityTokenFile)!==null&&d!==void 0?d:process.env[nH5],W=(G=I===null||I===void 0?void 0:I.roleArn)!==null&&G!==void 0?G:process.env[rH5],w=(Z=I===null||I===void 0?void 0:I.roleSessionName)!==null&&Z!==void 0?Z:process.env[aH5];if(!C||!W)throw new cH5.CredentialsProviderError("Web identity configuration not specified");return iH5.fromWebToken({...I,webIdentityToken:pH5.readFileSync(C,{encoding:"ascii"}),roleArn:W,roleSessionName:w})()}});var ky=Y((Ki)=>{Object.defineProperty(Ki,"__esModule",{value:!0});var Nb0=x1();Nb0.__exportStar(Kb0(),Ki);Nb0.__exportStar(OA1(),Ki)});var fb0=Y((zb0)=>{Object.defineProperty(zb0,"__esModule",{value:!0});zb0.resolveWebIdentityCredentials=zb0.isWebIdentityProfile=void 0;var eH5=ky(),tH5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.web_identity_token_file==="string"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1;zb0.isWebIdentityProfile=tH5;var IF5=async(I,d)=>eH5.fromTokenFile({webIdentityTokenFile:I.web_identity_token_file,roleArn:I.role_arn,roleSessionName:I.role_session_name,roleAssumerWithWebIdentity:d.roleAssumerWithWebIdentity})();zb0.resolveWebIdentityCredentials=IF5});var IA1=Y((Eb0)=>{Object.defineProperty(Eb0,"__esModule",{value:!0});Eb0.resolveProfileData=void 0;var GF5=W4(),qb0=PO0(),Rb0=pO0(),Ub0=Xb0(),Ni=Db0(),vb0=fb0(),ZF5=async(I,d,G,Z={})=>{let C=d[I];if(Object.keys(Z).length>0&&Ni.isStaticCredsProfile(C))return Ni.resolveStaticCredentials(C);if(qb0.isAssumeRoleProfile(C))return qb0.resolveAssumeRoleCredentials(I,d,G,Z);if(Ni.isStaticCredsProfile(C))return Ni.resolveStaticCredentials(C);if(vb0.isWebIdentityProfile(C))return vb0.resolveWebIdentityCredentials(C,G);if(Rb0.isProcessProfile(C))return Rb0.resolveProcessCredentials(G,I);if(Ub0.isSsoProfile(C))return Ub0.resolveSsoCredentials(C);throw new GF5.CredentialsProviderError(`Profile ${I} could not be found or parsed in shared credentials file.`)};Eb0.resolveProfileData=ZF5});var Pb0=Y((Lb0)=>{Object.defineProperty(Lb0,"__esModule",{value:!0});Lb0.fromIni=void 0;var Sb0=K8(),CF5=IA1(),WF5=(I={})=>async()=>{let d=await Sb0.parseKnownFiles(I);return CF5.resolveProfileData(Sb0.getProfileName(I),d,I)};Lb0.fromIni=WF5});var lA1=Y((mA1)=>{Object.defineProperty(mA1,"__esModule",{value:!0});var wF5=x1();wF5.__exportStar(Pb0(),mA1)});var Ob0=Y(($b0)=>{Object.defineProperty($b0,"__esModule",{value:!0});$b0.remoteProvider=$b0.ENV_IMDS_DISABLED=void 0;var zi=i_(),BF5=W4();$b0.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var AF5=(I)=>{if(process.env[zi.ENV_CMDS_RELATIVE_URI]||process.env[zi.ENV_CMDS_FULL_URI])return zi.fromContainerMetadata(I);if(process.env[$b0.ENV_IMDS_DISABLED])return async()=>{throw new BF5.CredentialsProviderError("EC2 Instance Metadata Service access disabled")};return zi.fromInstanceMetadata(I)};$b0.remoteProvider=AF5});var bb0=Y((mb0)=>{Object.defineProperty(mb0,"__esModule",{value:!0});mb0.defaultProvider=void 0;var VF5=lp(),XF5=lA1(),YF5=ep(),_F5=jy(),DF5=ky(),bA1=W4(),HF5=K8(),FF5=Ob0(),gF5=(I={})=>bA1.memoize(bA1.chain(...I.profile||process.env[HF5.ENV_PROFILE]?[]:[VF5.fromEnv()],_F5.fromSSO(I),XF5.fromIni(I),YF5.fromProcess(I),DF5.fromTokenFile(I),FF5.remoteProvider(I),async()=>{throw new bA1.CredentialsProviderError("Could not load credentials from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);mb0.defaultProvider=gF5});var jA1=Y((hA1)=>{Object.defineProperty(hA1,"__esModule",{value:!0});var JF5=x1();JF5.__exportStar(bb0(),hA1)});var Vh0=Y((Bh0)=>{Object.defineProperty(Bh0,"__esModule",{value:!0});Bh0.ruleSet=void 0;var ob0="required",D4="type",O5="fn",m5="argv",JD="ref",hb0=!1,KF5=!0,gJ="booleanEquals",T7="tree",o8="stringEquals",eb0="sigv4",tb0="sts",Ih0="us-east-1",w3="endpoint",jb0="https://sts.{Region}.{PartitionResult#dnsSuffix}",Gq="error",xA1="getAttr",kb0={[ob0]:!1,[D4]:"String"},kA1={[ob0]:!0,default:!1,[D4]:"Boolean"},dh0={[JD]:"Endpoint"},xb0={[O5]:"isSet",[m5]:[{[JD]:"Region"}]},e8={[JD]:"Region"},cb0={[O5]:"aws.partition",[m5]:[e8],assign:"PartitionResult"},Gh0={[JD]:"UseFIPS"},Zh0={[JD]:"UseDualStack"},O7={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:eb0,signingName:tb0,signingRegion:Ih0}]},headers:{}},ZG={},pb0={conditions:[{[O5]:o8,[m5]:[e8,"aws-global"]}],[w3]:O7,[D4]:w3},Ch0={[O5]:gJ,[m5]:[Gh0,!0]},Wh0={[O5]:gJ,[m5]:[Zh0,!0]},ib0={[O5]:gJ,[m5]:[!0,{[O5]:xA1,[m5]:[{[JD]:"PartitionResult"},"supportsFIPS"]}]},wh0={[JD]:"PartitionResult"},nb0={[O5]:gJ,[m5]:[!0,{[O5]:xA1,[m5]:[wh0,"supportsDualStack"]}]},rb0=[{[O5]:"isSet",[m5]:[dh0]}],ab0=[Ch0],sb0=[Wh0],NF5={version:"1.0",parameters:{Region:kb0,UseDualStack:kA1,UseFIPS:kA1,Endpoint:kb0,UseGlobalEndpoint:kA1},rules:[{conditions:[{[O5]:gJ,[m5]:[{[JD]:"UseGlobalEndpoint"},KF5]},{[O5]:"not",[m5]:rb0},xb0,cb0,{[O5]:gJ,[m5]:[Gh0,hb0]},{[O5]:gJ,[m5]:[Zh0,hb0]}],[D4]:T7,rules:[{conditions:[{[O5]:o8,[m5]:[e8,"ap-northeast-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"ap-south-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"ap-southeast-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"ap-southeast-2"]}],endpoint:O7,[D4]:w3},pb0,{conditions:[{[O5]:o8,[m5]:[e8,"ca-central-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"eu-central-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"eu-north-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"eu-west-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"eu-west-2"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"eu-west-3"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"sa-east-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,Ih0]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"us-east-2"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"us-west-1"]}],endpoint:O7,[D4]:w3},{conditions:[{[O5]:o8,[m5]:[e8,"us-west-2"]}],endpoint:O7,[D4]:w3},{endpoint:{url:jb0,properties:{authSchemes:[{name:eb0,signingName:tb0,signingRegion:"{Region}"}]},headers:ZG},[D4]:w3}]},{conditions:rb0,[D4]:T7,rules:[{conditions:ab0,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[D4]:Gq},{[D4]:T7,rules:[{conditions:sb0,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[D4]:Gq},{endpoint:{url:dh0,properties:ZG,headers:ZG},[D4]:w3}]}]},{[D4]:T7,rules:[{conditions:[xb0],[D4]:T7,rules:[{conditions:[cb0],[D4]:T7,rules:[{conditions:[Ch0,Wh0],[D4]:T7,rules:[{conditions:[ib0,nb0],[D4]:T7,rules:[{[D4]:T7,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ZG,headers:ZG},[D4]:w3}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[D4]:Gq}]},{conditions:ab0,[D4]:T7,rules:[{conditions:[ib0],[D4]:T7,rules:[{[D4]:T7,rules:[{conditions:[{[O5]:o8,[m5]:["aws-us-gov",{[O5]:xA1,[m5]:[wh0,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:ZG,headers:ZG},[D4]:w3},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:ZG,headers:ZG},[D4]:w3}]}]},{error:"FIPS is enabled but this partition does not support FIPS",[D4]:Gq}]},{conditions:sb0,[D4]:T7,rules:[{conditions:[nb0],[D4]:T7,rules:[{[D4]:T7,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:ZG,headers:ZG},[D4]:w3}]}]},{error:"DualStack is enabled but this partition does not support DualStack",[D4]:Gq}]},{[D4]:T7,rules:[pb0,{endpoint:{url:jb0,properties:ZG,headers:ZG},[D4]:w3}]}]}]},{error:"Invalid Configuration: Missing Region",[D4]:Gq}]}]};Bh0.ruleSet=NF5});var _h0=Y((Xh0)=>{Object.defineProperty(Xh0,"__esModule",{value:!0});Xh0.defaultEndpointResolver=void 0;var zF5=xp(),QF5=Vh0(),fF5=(I,d={})=>{return zF5.resolveEndpoint(QF5.ruleSet,{endpointParams:I,logger:d.logger})};Xh0.defaultEndpointResolver=fF5});var Jh0=Y((Fh0)=>{Object.defineProperty(Fh0,"__esModule",{value:!0});Fh0.getRuntimeConfig=void 0;var qF5=v0(),RF5=FV(),Dh0=IJ(),Hh0=hC(),UF5=_h0(),vF5=(I)=>({apiVersion:"2011-06-15",base64Decoder:I?.base64Decoder??Dh0.fromBase64,base64Encoder:I?.base64Encoder??Dh0.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??UF5.defaultEndpointResolver,logger:I?.logger??new qF5.NoOpLogger,serviceId:I?.serviceId??"STS",urlParser:I?.urlParser??RF5.parseUrl,utf8Decoder:I?.utf8Decoder??Hh0.fromUtf8,utf8Encoder:I?.utf8Encoder??Hh0.toUtf8});Fh0.getRuntimeConfig=vF5});var fh0=Y((zh0)=>{Object.defineProperty(zh0,"__esModule",{value:!0});zh0.getRuntimeConfig=void 0;var EF5=x1(),MF5=EF5.__importDefault(M$0()),SF5=eB1(),Qi=Cd(),LF5=jA1(),yF5=og(),Kh0=dG(),xy=QZ(),Nh0=eg(),PF5=tg(),$F5=Wd(),uF5=WA1(),TF5=Jh0(),OF5=v0(),mF5=dJ(),lF5=v0(),bF5=(I)=>{lF5.emitWarningIfUnsupportedVersion(process.version);let d=mF5.resolveDefaultsModeConfig(I),G=()=>d().then(OF5.loadConfigsForDefaultMode),Z=TF5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??PF5.calculateBodyLength,credentialDefaultProvider:I?.credentialDefaultProvider??SF5.decorateDefaultCredentialProvider(LF5.defaultProvider),defaultUserAgentProvider:I?.defaultUserAgentProvider??uF5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:MF5.default.version}),maxAttempts:I?.maxAttempts??xy.loadConfig(Kh0.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??xy.loadConfig(Qi.NODE_REGION_CONFIG_OPTIONS,Qi.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new Nh0.NodeHttpHandler(G),retryMode:I?.retryMode??xy.loadConfig({...Kh0.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||$F5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??yF5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??Nh0.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??xy.loadConfig(Qi.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??xy.loadConfig(Qi.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};zh0.getRuntimeConfig=bF5});var fi=Y((pA1)=>{Object.defineProperty(pA1,"__esModule",{value:!0});pA1.STSClient=pA1.__Client=void 0;var hF5=Cd(),jF5=jg(),kF5=u2(),qh0=pw1(),xF5=nw1(),cF5=rw1(),Rh0=dG(),pF5=rS0(),Uh0=QB1(),vh0=v0();Object.defineProperty(pA1,"__Client",{enumerable:!0,get:function(){return vh0.Client}});var iF5=E$0(),nF5=fh0();class cA1 extends vh0.Client{constructor(I){let d=nF5.getRuntimeConfig(I),G=iF5.resolveClientEndpointParameters(d),Z=hF5.resolveRegionConfig(G),C=kF5.resolveEndpointConfig(Z),W=Rh0.resolveRetryConfig(C),w=qh0.resolveHostHeaderConfig(W),B=pF5.resolveStsAuthConfig(w,{stsClientCtor:cA1}),A=Uh0.resolveUserAgentConfig(B);super(A);this.config=A,this.middlewareStack.use(Rh0.getRetryPlugin(this.config)),this.middlewareStack.use(jF5.getContentLengthPlugin(this.config)),this.middlewareStack.use(qh0.getHostHeaderPlugin(this.config)),this.middlewareStack.use(xF5.getLoggerPlugin(this.config)),this.middlewareStack.use(cF5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(Uh0.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}pA1.STSClient=cA1});var rA1=Y((nA1)=>{Object.defineProperty(nA1,"__esModule",{value:!0});nA1.AssumeRoleWithSAMLCommand=nA1.$Command=void 0;var rF5=u2(),aF5=r2(),Lh0=v0();Object.defineProperty(nA1,"$Command",{enumerable:!0,get:function(){return Lh0.Command}});var Mh0=wD(),Sh0=PV();class iA1 extends Lh0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(aF5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(rF5.getEndpointPlugin(d,iA1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:Mh0.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:Mh0.AssumeRoleWithSAMLResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Sh0.se_AssumeRoleWithSAMLCommand(I,d)}deserialize(I,d){return Sh0.de_AssumeRoleWithSAMLCommand(I,d)}}nA1.AssumeRoleWithSAMLCommand=iA1});var oA1=Y((sA1)=>{Object.defineProperty(sA1,"__esModule",{value:!0});sA1.DecodeAuthorizationMessageCommand=sA1.$Command=void 0;var sF5=u2(),oF5=r2(),eF5=GD(),$h0=v0();Object.defineProperty(sA1,"$Command",{enumerable:!0,get:function(){return $h0.Command}});var Ph0=PV();class aA1 extends $h0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(oF5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(sF5.getEndpointPlugin(d,aA1.getEndpointParameterInstructions())),this.middlewareStack.use(eF5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Ph0.se_DecodeAuthorizationMessageCommand(I,d)}deserialize(I,d){return Ph0.de_DecodeAuthorizationMessageCommand(I,d)}}sA1.DecodeAuthorizationMessageCommand=aA1});var IV1=Y((tA1)=>{Object.defineProperty(tA1,"__esModule",{value:!0});tA1.GetAccessKeyInfoCommand=tA1.$Command=void 0;var tF5=u2(),Ig5=r2(),dg5=GD(),Oh0=v0();Object.defineProperty(tA1,"$Command",{enumerable:!0,get:function(){return Oh0.Command}});var Th0=PV();class eA1 extends Oh0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Ig5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(tF5.getEndpointPlugin(d,eA1.getEndpointParameterInstructions())),this.middlewareStack.use(dg5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return Th0.se_GetAccessKeyInfoCommand(I,d)}deserialize(I,d){return Th0.de_GetAccessKeyInfoCommand(I,d)}}tA1.GetAccessKeyInfoCommand=eA1});var ZV1=Y((GV1)=>{Object.defineProperty(GV1,"__esModule",{value:!0});GV1.GetCallerIdentityCommand=GV1.$Command=void 0;var Gg5=u2(),Zg5=r2(),Cg5=GD(),bh0=v0();Object.defineProperty(GV1,"$Command",{enumerable:!0,get:function(){return bh0.Command}});var lh0=PV();class dV1 extends bh0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Zg5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Gg5.getEndpointPlugin(d,dV1.getEndpointParameterInstructions())),this.middlewareStack.use(Cg5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return lh0.se_GetCallerIdentityCommand(I,d)}deserialize(I,d){return lh0.de_GetCallerIdentityCommand(I,d)}}GV1.GetCallerIdentityCommand=dV1});var wV1=Y((WV1)=>{Object.defineProperty(WV1,"__esModule",{value:!0});WV1.GetFederationTokenCommand=WV1.$Command=void 0;var Wg5=u2(),wg5=r2(),Bg5=GD(),kh0=v0();Object.defineProperty(WV1,"$Command",{enumerable:!0,get:function(){return kh0.Command}});var Ag5=wD(),jh0=PV();class CV1 extends kh0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(wg5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Wg5.getEndpointPlugin(d,CV1.getEndpointParameterInstructions())),this.middlewareStack.use(Bg5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:Ag5.GetFederationTokenResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return jh0.se_GetFederationTokenCommand(I,d)}deserialize(I,d){return jh0.de_GetFederationTokenCommand(I,d)}}WV1.GetFederationTokenCommand=CV1});var VV1=Y((AV1)=>{Object.defineProperty(AV1,"__esModule",{value:!0});AV1.GetSessionTokenCommand=AV1.$Command=void 0;var Vg5=u2(),Xg5=r2(),Yg5=GD(),ph0=v0();Object.defineProperty(AV1,"$Command",{enumerable:!0,get:function(){return ph0.Command}});var _g5=wD(),ch0=PV();class BV1 extends ph0.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Xg5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Vg5.getEndpointPlugin(d,BV1.getEndpointParameterInstructions())),this.middlewareStack.use(Yg5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:_g5.GetSessionTokenResponseFilterSensitiveLog},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return ch0.se_GetSessionTokenCommand(I,d)}deserialize(I,d){return ch0.de_GetSessionTokenCommand(I,d)}}AV1.GetSessionTokenCommand=BV1});var ah0=Y((nh0)=>{Object.defineProperty(nh0,"__esModule",{value:!0});nh0.STS=void 0;var Dg5=v0(),Hg5=sp(),Fg5=rA1(),gg5=op(),Jg5=oA1(),Kg5=IV1(),Ng5=ZV1(),zg5=wV1(),Qg5=VV1(),fg5=fi(),qg5={AssumeRoleCommand:Hg5.AssumeRoleCommand,AssumeRoleWithSAMLCommand:Fg5.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:gg5.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:Jg5.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:Kg5.GetAccessKeyInfoCommand,GetCallerIdentityCommand:Ng5.GetCallerIdentityCommand,GetFederationTokenCommand:zg5.GetFederationTokenCommand,GetSessionTokenCommand:Qg5.GetSessionTokenCommand};class XV1 extends fg5.STSClient{}nh0.STS=XV1;Dg5.createAggregatedClient(qg5,XV1)});var sh0=Y((VB)=>{Object.defineProperty(VB,"__esModule",{value:!0});var KD=x1();KD.__exportStar(sp(),VB);KD.__exportStar(rA1(),VB);KD.__exportStar(op(),VB);KD.__exportStar(oA1(),VB);KD.__exportStar(IV1(),VB);KD.__exportStar(ZV1(),VB);KD.__exportStar(wV1(),VB);KD.__exportStar(VV1(),VB)});var oh0=Y((YV1)=>{Object.defineProperty(YV1,"__esModule",{value:!0});var Rg5=x1();Rg5.__exportStar(wD(),YV1)});var Wj0=Y((dj0)=>{Object.defineProperty(dj0,"__esModule",{value:!0});dj0.decorateDefaultCredentialProvider=dj0.getDefaultRoleAssumerWithWebIdentity=dj0.getDefaultRoleAssumer=void 0;var eh0=eB1(),th0=fi(),Ij0=(I,d)=>{if(!d)return I;else return class G extends I{constructor(Z){super(Z);for(let C of d)this.middlewareStack.use(C)}}},Ug5=(I={},d)=>eh0.getDefaultRoleAssumer(I,Ij0(th0.STSClient,d));dj0.getDefaultRoleAssumer=Ug5;var vg5=(I={},d)=>eh0.getDefaultRoleAssumerWithWebIdentity(I,Ij0(th0.STSClient,d));dj0.getDefaultRoleAssumerWithWebIdentity=vg5;var Eg5=(I)=>(d)=>I({roleAssumer:dj0.getDefaultRoleAssumer(d),roleAssumerWithWebIdentity:dj0.getDefaultRoleAssumerWithWebIdentity(d),...d});dj0.decorateDefaultCredentialProvider=Eg5});var Zq=Y((ND)=>{Object.defineProperty(ND,"__esModule",{value:!0});ND.STSServiceException=void 0;var cy=x1();cy.__exportStar(fi(),ND);cy.__exportStar(ah0(),ND);cy.__exportStar(sh0(),ND);cy.__exportStar(oh0(),ND);cy.__exportStar(Wj0(),ND);var Mg5=pp();Object.defineProperty(ND,"STSServiceException",{enumerable:!0,get:function(){return Mg5.STSServiceException}})});var Vj0=Y((Bj0)=>{Object.defineProperty(Bj0,"__esModule",{value:!0});Bj0.fromIni=void 0;var wj0=Zq(),Lg5=lA1(),yg5=(I={})=>{var d,G;return Lg5.fromIni({...I,roleAssumer:(d=I.roleAssumer)!==null&&d!==void 0?d:wj0.getDefaultRoleAssumer(I.clientConfig,I.clientPlugins),roleAssumerWithWebIdentity:(G=I.roleAssumerWithWebIdentity)!==null&&G!==void 0?G:wj0.getDefaultRoleAssumerWithWebIdentity(I.clientConfig,I.clientPlugins)})};Bj0.fromIni=yg5});var _j0=Y((Xj0)=>{Object.defineProperty(Xj0,"__esModule",{value:!0});Xj0.fromInstanceMetadata=void 0;var Pg5=i_(),$g5=(I)=>Pg5.fromInstanceMetadata(I);Xj0.fromInstanceMetadata=$g5});var gj0=Y((Hj0)=>{Object.defineProperty(Hj0,"__esModule",{value:!0});Hj0.fromNodeProviderChain=void 0;var Dj0=Zq(),ug5=jA1(),Tg5=(I={})=>{var d,G;return ug5.defaultProvider({...I,roleAssumer:(d=I.roleAssumer)!==null&&d!==void 0?d:Dj0.getDefaultRoleAssumer(I.clientConfig,I.clientPlugins),roleAssumerWithWebIdentity:(G=I.roleAssumerWithWebIdentity)!==null&&G!==void 0?G:Dj0.getDefaultRoleAssumerWithWebIdentity(I.clientConfig,I.clientPlugins)})};Hj0.fromNodeProviderChain=Tg5});var Nj0=Y((Jj0)=>{Object.defineProperty(Jj0,"__esModule",{value:!0});Jj0.fromProcess=void 0;var Og5=ep(),mg5=(I)=>Og5.fromProcess(I);Jj0.fromProcess=mg5});var fj0=Y((zj0)=>{Object.defineProperty(zj0,"__esModule",{value:!0});zj0.fromSSO=void 0;var lg5=MA1(),bg5=jy(),hg5=(I={})=>bg5.fromSSO({...{ssoClient:I.clientConfig?new lg5.SSOClient(I.clientConfig):void 0},...I});zj0.fromSSO=hg5});var Ej0=Y((Uj0)=>{Object.defineProperty(Uj0,"__esModule",{value:!0});Uj0.fromTemporaryCredentials=void 0;var qj0=Zq(),Rj0=W4(),jg5=(I)=>{let d;return async()=>{var G;let Z={...I.params,RoleSessionName:(G=I.params.RoleSessionName)!==null&&G!==void 0?G:"aws-sdk-js-"+Date.now()};if(Z===null||Z===void 0?void 0:Z.SerialNumber){if(!I.mfaCodeProvider)throw new Rj0.CredentialsProviderError("Temporary credential requires multi-factor authentication, but no MFA code callback was provided.",!1);Z.TokenCode=await I.mfaCodeProvider(Z===null||Z===void 0?void 0:Z.SerialNumber)}if(!d)d=new qj0.STSClient({...I.clientConfig,credentials:I.masterCredentials});if(I.clientPlugins)for(let W of I.clientPlugins)d.middlewareStack.use(W);let{Credentials:C}=await d.send(new qj0.AssumeRoleCommand(Z));if(!C||!C.AccessKeyId||!C.SecretAccessKey)throw new Rj0.CredentialsProviderError(`Invalid response from STS.assumeRole call with role ${Z.RoleArn}`);return{accessKeyId:C.AccessKeyId,secretAccessKey:C.SecretAccessKey,sessionToken:C.SessionToken,expiration:C.Expiration}}};Uj0.fromTemporaryCredentials=jg5});var Lj0=Y((Mj0)=>{Object.defineProperty(Mj0,"__esModule",{value:!0});Mj0.fromTokenFile=void 0;var kg5=Zq(),xg5=ky(),cg5=(I={})=>{var d;return xg5.fromTokenFile({...I,roleAssumerWithWebIdentity:(d=I.roleAssumerWithWebIdentity)!==null&&d!==void 0?d:kg5.getDefaultRoleAssumerWithWebIdentity(I.clientConfig,I.clientPlugins)})};Mj0.fromTokenFile=cg5});var $j0=Y((yj0)=>{Object.defineProperty(yj0,"__esModule",{value:!0});yj0.fromWebToken=void 0;var pg5=Zq(),ig5=ky(),ng5=(I)=>{var d;return ig5.fromWebToken({...I,roleAssumerWithWebIdentity:(d=I.roleAssumerWithWebIdentity)!==null&&d!==void 0?d:pg5.getDefaultRoleAssumerWithWebIdentity(I.clientConfig,I.clientPlugins)})};yj0.fromWebToken=ng5});var uj0=Y((Ad)=>{Object.defineProperty(Ad,"__esModule",{value:!0});var EZ=x1();EZ.__exportStar(nM0(),Ad);EZ.__exportStar(sM0(),Ad);EZ.__exportStar(tM0(),Ad);EZ.__exportStar(VS0(),Ad);EZ.__exportStar(Vj0(),Ad);EZ.__exportStar(_j0(),Ad);EZ.__exportStar(gj0(),Ad);EZ.__exportStar(Nj0(),Ad);EZ.__exportStar(fj0(),Ad);EZ.__exportStar(Ej0(),Ad);EZ.__exportStar(Lj0(),Ad);EZ.__exportStar($j0(),Ad)});var k3=Y((hd3,xj0)=>{var{defineProperty:qi,getOwnPropertyDescriptor:rg5,getOwnPropertyNames:ag5}=Object,sg5=Object.prototype.hasOwnProperty,Ri=(I,d)=>qi(I,"name",{value:d,configurable:!0}),og5=(I,d)=>{for(var G in d)qi(I,G,{get:d[G],enumerable:!0})},eg5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of ag5(d))if(!sg5.call(I,C)&&C!==G)qi(I,C,{get:()=>d[C],enumerable:!(Z=rg5(d,C))||Z.enumerable})}return I},tg5=(I)=>eg5(qi({},"__esModule",{value:!0}),I),Tj0={};og5(Tj0,{AlgorithmId:()=>bj0,EndpointURLScheme:()=>lj0,FieldPosition:()=>hj0,HttpApiKeyAuthLocation:()=>mj0,HttpAuthLocation:()=>Oj0,IniSectionType:()=>jj0,RequestHandlerProtocol:()=>kj0,SMITHY_CONTEXT_KEY:()=>CJ5,getDefaultClientConfiguration:()=>GJ5,resolveDefaultRuntimeConfig:()=>ZJ5});xj0.exports=tg5(Tj0);var Oj0=((I)=>{return I.HEADER="header",I.QUERY="query",I})(Oj0||{}),mj0=((I)=>{return I.HEADER="header",I.QUERY="query",I})(mj0||{}),lj0=((I)=>{return I.HTTP="http",I.HTTPS="https",I})(lj0||{}),bj0=((I)=>{return I.MD5="md5",I.CRC32="crc32",I.CRC32C="crc32c",I.SHA1="sha1",I.SHA256="sha256",I})(bj0||{}),IJ5=Ri((I)=>{let d=[];if(I.sha256!==void 0)d.push({algorithmId:()=>"sha256",checksumConstructor:()=>I.sha256});if(I.md5!=null)d.push({algorithmId:()=>"md5",checksumConstructor:()=>I.md5});return{_checksumAlgorithms:d,addChecksumAlgorithm(G){this._checksumAlgorithms.push(G)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),dJ5=Ri((I)=>{let d={};return I.checksumAlgorithms().forEach((G)=>{d[G.algorithmId()]=G.checksumConstructor()}),d},"resolveChecksumRuntimeConfig"),GJ5=Ri((I)=>{return{...IJ5(I)}},"getDefaultClientConfiguration"),ZJ5=Ri((I)=>{return{...dJ5(I)}},"resolveDefaultRuntimeConfig"),hj0=((I)=>{return I[I.HEADER=0]="HEADER",I[I.TRAILER=1]="TRAILER",I})(hj0||{}),CJ5="__smithy_context",jj0=((I)=>{return I.PROFILE="profile",I.SSO_SESSION="sso-session",I.SERVICES="services",I})(jj0||{}),kj0=((I)=>{return I.HTTP_0_9="http/0.9",I.HTTP_1_0="http/1.0",I.TDS_8_0="tds/8.0",I})(kj0||{})});var t8=Y((jd3,oj0)=>{var{defineProperty:Ui,getOwnPropertyDescriptor:WJ5,getOwnPropertyNames:wJ5}=Object,BJ5=Object.prototype.hasOwnProperty,zD=(I,d)=>Ui(I,"name",{value:d,configurable:!0}),AJ5=(I,d)=>{for(var G in d)Ui(I,G,{get:d[G],enumerable:!0})},VJ5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of wJ5(d))if(!BJ5.call(I,C)&&C!==G)Ui(I,C,{get:()=>d[C],enumerable:!(Z=WJ5(d,C))||Z.enumerable})}return I},XJ5=(I)=>VJ5(Ui({},"__esModule",{value:!0}),I),cj0={};AJ5(cj0,{Field:()=>HJ5,Fields:()=>FJ5,HttpRequest:()=>gJ5,HttpResponse:()=>JJ5,getHttpHandlerExtensionConfiguration:()=>YJ5,isValidHostname:()=>sj0,resolveHttpHandlerRuntimeConfig:()=>_J5});oj0.exports=XJ5(cj0);var YJ5=zD((I)=>{let d=I.httpHandler;return{setHttpHandler(G){d=G},httpHandler(){return d},updateHttpClientConfig(G,Z){d.updateHttpClientConfig(G,Z)},httpHandlerConfigs(){return d.httpHandlerConfigs()}}},"getHttpHandlerExtensionConfiguration"),_J5=zD((I)=>{return{httpHandler:I.httpHandler()}},"resolveHttpHandlerRuntimeConfig"),DJ5=k3(),pj0=class I{constructor({name:d,kind:G=DJ5.FieldPosition.HEADER,values:Z=[]}){this.name=d,this.kind=G,this.values=Z}add(d){this.values.push(d)}set(d){this.values=d}remove(d){this.values=this.values.filter((G)=>G!==d)}toString(){return this.values.map((d)=>d.includes(",")||d.includes(" ")?`"${d}"`:d).join(", ")}get(){return this.values}};zD(pj0,"Field");var HJ5=pj0,ij0=class I{constructor({fields:d=[],encoding:G="utf-8"}){this.entries={},d.forEach(this.setField.bind(this)),this.encoding=G}setField(d){this.entries[d.name.toLowerCase()]=d}getField(d){return this.entries[d.toLowerCase()]}removeField(d){delete this.entries[d.toLowerCase()]}getByType(d){return Object.values(this.entries).filter((G)=>G.kind===d)}};zD(ij0,"Fields");var FJ5=ij0,nj0=class I{constructor(d){this.method=d.method||"GET",this.hostname=d.hostname||"localhost",this.port=d.port,this.query=d.query||{},this.headers=d.headers||{},this.body=d.body,this.protocol=d.protocol?d.protocol.slice(-1)!==":"?`${d.protocol}:`:d.protocol:"https:",this.path=d.path?d.path.charAt(0)!=="/"?`/${d.path}`:d.path:"/",this.username=d.username,this.password=d.password,this.fragment=d.fragment}static isInstance(d){if(!d)return!1;let G=d;return"method"in G&&"protocol"in G&&"hostname"in G&&"path"in G&&typeof G.query==="object"&&typeof G.headers==="object"}clone(){let d=new I({...this,headers:{...this.headers}});if(d.query)d.query=rj0(d.query);return d}};zD(nj0,"HttpRequest");var gJ5=nj0;function rj0(I){return Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{})}zD(rj0,"cloneQuery");var aj0=class I{constructor(d){this.statusCode=d.statusCode,this.reason=d.reason,this.headers=d.headers||{},this.body=d.body}static isInstance(d){if(!d)return!1;let G=d;return typeof G.statusCode==="number"&&typeof G.headers==="object"}};zD(aj0,"HttpResponse");var JJ5=aj0;function sj0(I){return/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/.test(I)}zD(sj0,"isValidHostname")});var DV1=Y((kd3,Ei)=>{/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var ej0,tj0,Ik0,dk0,Gk0,Zk0,Ck0,Wk0,wk0,vi,_V1,Bk0,Ak0,Cq,Vk0,Xk0,Yk0,_k0,Dk0,Hk0,Fk0,gk0,Jk0;(function(I){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(Z){I(G(d,G(Z)))});else if(typeof Ei==="object"&&typeof kd3==="object")I(G(d,G(kd3)));else I(G(d));function G(Z,C){if(Z!==d)if(typeof Object.create==="function")Object.defineProperty(Z,"__esModule",{value:!0});else Z.__esModule=!0;return function(W,w){return Z[W]=C?C(W,w):w}}})(function(I){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,Z){G.__proto__=Z}||function(G,Z){for(var C in Z)if(Z.hasOwnProperty(C))G[C]=Z[C]};ej0=function(G,Z){d(G,Z);function C(){this.constructor=G}G.prototype=Z===null?Object.create(Z):(C.prototype=Z.prototype,new C)},tj0=Object.assign||function(G){for(var Z,C=1,W=arguments.length;C<W;C++){Z=arguments[C];for(var w in Z)if(Object.prototype.hasOwnProperty.call(Z,w))G[w]=Z[w]}return G},Ik0=function(G,Z){var C={};for(var W in G)if(Object.prototype.hasOwnProperty.call(G,W)&&Z.indexOf(W)<0)C[W]=G[W];if(G!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var w=0,W=Object.getOwnPropertySymbols(G);w<W.length;w++)if(Z.indexOf(W[w])<0&&Object.prototype.propertyIsEnumerable.call(G,W[w]))C[W[w]]=G[W[w]]}return C},dk0=function(G,Z,C,W){var w=arguments.length,B=w<3?Z:W===null?W=Object.getOwnPropertyDescriptor(Z,C):W,A;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")B=Reflect.decorate(G,Z,C,W);else for(var V=G.length-1;V>=0;V--)if(A=G[V])B=(w<3?A(B):w>3?A(Z,C,B):A(Z,C))||B;return w>3&&B&&Object.defineProperty(Z,C,B),B},Gk0=function(G,Z){return function(C,W){Z(C,W,G)}},Zk0=function(G,Z){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(G,Z)},Ck0=function(G,Z,C,W){function w(B){return B instanceof C?B:new C(function(A){A(B)})}return new(C||(C=Promise))(function(B,A){function V(F){try{_(W.next(F))}catch(g){A(g)}}function X(F){try{_(W.throw(F))}catch(g){A(g)}}function _(F){F.done?B(F.value):w(F.value).then(V,X)}_((W=W.apply(G,Z||[])).next())})},Wk0=function(G,Z){var C={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},W,w,B,A;return A={next:V(0),throw:V(1),return:V(2)},typeof Symbol==="function"&&(A[Symbol.iterator]=function(){return this}),A;function V(_){return function(F){return X([_,F])}}function X(_){if(W)throw new TypeError("Generator is already executing.");while(C)try{if(W=1,w&&(B=_[0]&2?w.return:_[0]?w.throw||((B=w.return)&&B.call(w),0):w.next)&&!(B=B.call(w,_[1])).done)return B;if(w=0,B)_=[_[0]&2,B.value];switch(_[0]){case 0:case 1:B=_;break;case 4:return C.label++,{value:_[1],done:!1};case 5:C.label++,w=_[1],_=[0];continue;case 7:_=C.ops.pop(),C.trys.pop();continue;default:if((B=C.trys,!(B=B.length>0&&B[B.length-1]))&&(_[0]===6||_[0]===2)){C=0;continue}if(_[0]===3&&(!B||_[1]>B[0]&&_[1]<B[3])){C.label=_[1];break}if(_[0]===6&&C.label<B[1]){C.label=B[1],B=_;break}if(B&&C.label<B[2]){C.label=B[2],C.ops.push(_);break}if(B[2])C.ops.pop();C.trys.pop();continue}_=Z.call(G,C)}catch(F){_=[6,F],w=0}finally{W=B=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}},Jk0=function(G,Z,C,W){if(W===void 0)W=C;G[W]=Z[C]},wk0=function(G,Z){for(var C in G)if(C!=="default"&&!Z.hasOwnProperty(C))Z[C]=G[C]},vi=function(G){var Z=typeof Symbol==="function"&&Symbol.iterator,C=Z&&G[Z],W=0;if(C)return C.call(G);if(G&&typeof G.length==="number")return{next:function(){if(G&&W>=G.length)G=void 0;return{value:G&&G[W++],done:!G}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")},_V1=function(G,Z){var C=typeof Symbol==="function"&&G[Symbol.iterator];if(!C)return G;var W=C.call(G),w,B=[],A;try{while((Z===void 0||Z-- >0)&&!(w=W.next()).done)B.push(w.value)}catch(V){A={error:V}}finally{try{if(w&&!w.done&&(C=W.return))C.call(W)}finally{if(A)throw A.error}}return B},Bk0=function(){for(var G=[],Z=0;Z<arguments.length;Z++)G=G.concat(_V1(arguments[Z]));return G},Ak0=function(){for(var G=0,Z=0,C=arguments.length;Z<C;Z++)G+=arguments[Z].length;for(var W=Array(G),w=0,Z=0;Z<C;Z++)for(var B=arguments[Z],A=0,V=B.length;A<V;A++,w++)W[w]=B[A];return W},Cq=function(G){return this instanceof Cq?(this.v=G,this):new Cq(G)},Vk0=function(G,Z,C){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=C.apply(G,Z||[]),w,B=[];return w={},A("next"),A("throw"),A("return"),w[Symbol.asyncIterator]=function(){return this},w;function A(J){if(W[J])w[J]=function(K){return new Promise(function(Q,E){B.push([J,K,Q,E])>1||V(J,K)})}}function V(J,K){try{X(W[J](K))}catch(Q){g(B[0][3],Q)}}function X(J){J.value instanceof Cq?Promise.resolve(J.value.v).then(_,F):g(B[0][2],J)}function _(J){V("next",J)}function F(J){V("throw",J)}function g(J,K){if(J(K),B.shift(),B.length)V(B[0][0],B[0][1])}},Xk0=function(G){var Z,C;return Z={},W("next"),W("throw",function(w){throw w}),W("return"),Z[Symbol.iterator]=function(){return this},Z;function W(w,B){Z[w]=G[w]?function(A){return(C=!C)?{value:Cq(G[w](A)),done:w==="return"}:B?B(A):A}:B}},Yk0=function(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z=G[Symbol.asyncIterator],C;return Z?Z.call(G):(G=typeof vi==="function"?vi(G):G[Symbol.iterator](),C={},W("next"),W("throw"),W("return"),C[Symbol.asyncIterator]=function(){return this},C);function W(B){C[B]=G[B]&&function(A){return new Promise(function(V,X){A=G[B](A),w(V,X,A.done,A.value)})}}function w(B,A,V,X){Promise.resolve(X).then(function(_){B({value:_,done:V})},A)}},_k0=function(G,Z){if(Object.defineProperty)Object.defineProperty(G,"raw",{value:Z});else G.raw=Z;return G},Dk0=function(G){if(G&&G.__esModule)return G;var Z={};if(G!=null){for(var C in G)if(Object.hasOwnProperty.call(G,C))Z[C]=G[C]}return Z.default=G,Z},Hk0=function(G){return G&&G.__esModule?G:{default:G}},Fk0=function(G,Z){if(!Z.has(G))throw new TypeError("attempted to get private field on non-instance");return Z.get(G)},gk0=function(G,Z,C){if(!Z.has(G))throw new TypeError("attempted to set private field on non-instance");return Z.set(G,C),C},I("__extends",ej0),I("__assign",tj0),I("__rest",Ik0),I("__decorate",dk0),I("__param",Gk0),I("__metadata",Zk0),I("__awaiter",Ck0),I("__generator",Wk0),I("__exportStar",wk0),I("__createBinding",Jk0),I("__values",vi),I("__read",_V1),I("__spread",Bk0),I("__spreadArrays",Ak0),I("__await",Cq),I("__asyncGenerator",Vk0),I("__asyncDelegator",Xk0),I("__asyncValues",Yk0),I("__makeTemplateObject",_k0),I("__importStar",Dk0),I("__importDefault",Hk0),I("__classPrivateFieldGet",Fk0),I("__classPrivateFieldSet",gk0)})});var HV1=Y((Kk0)=>{Object.defineProperty(Kk0,"__esModule",{value:!0});Kk0.MAX_HASHABLE_LENGTH=Kk0.INIT=Kk0.KEY=Kk0.DIGEST_LENGTH=Kk0.BLOCK_SIZE=void 0;Kk0.BLOCK_SIZE=64;Kk0.DIGEST_LENGTH=32;Kk0.KEY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]);Kk0.INIT=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];Kk0.MAX_HASHABLE_LENGTH=Math.pow(2,53)-1});var fk0=Y((zk0)=>{Object.defineProperty(zk0,"__esModule",{value:!0});zk0.RawSha256=void 0;var MZ=HV1(),fJ5=function(){function I(){this.state=Int32Array.from(MZ.INIT),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return I.prototype.update=function(d){if(this.finished)throw new Error("Attempted to update an already finished hash.");var G=0,Z=d.byteLength;if(this.bytesHashed+=Z,this.bytesHashed*8>MZ.MAX_HASHABLE_LENGTH)throw new Error("Cannot hash more than 2^53 - 1 bits");while(Z>0)if(this.buffer[this.bufferLength++]=d[G++],Z--,this.bufferLength===MZ.BLOCK_SIZE)this.hashBuffer(),this.bufferLength=0},I.prototype.digest=function(){if(!this.finished){var d=this.bytesHashed*8,G=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),Z=this.bufferLength;if(G.setUint8(this.bufferLength++,128),Z%MZ.BLOCK_SIZE>=MZ.BLOCK_SIZE-8){for(var C=this.bufferLength;C<MZ.BLOCK_SIZE;C++)G.setUint8(C,0);this.hashBuffer(),this.bufferLength=0}for(var C=this.bufferLength;C<MZ.BLOCK_SIZE-8;C++)G.setUint8(C,0);G.setUint32(MZ.BLOCK_SIZE-8,Math.floor(d/4294967296),!0),G.setUint32(MZ.BLOCK_SIZE-4,d),this.hashBuffer(),this.finished=!0}var W=new Uint8Array(MZ.DIGEST_LENGTH);for(var C=0;C<8;C++)W[C*4]=this.state[C]>>>24&255,W[C*4+1]=this.state[C]>>>16&255,W[C*4+2]=this.state[C]>>>8&255,W[C*4+3]=this.state[C]>>>0&255;return W},I.prototype.hashBuffer=function(){var d=this,G=d.buffer,Z=d.state,C=Z[0],W=Z[1],w=Z[2],B=Z[3],A=Z[4],V=Z[5],X=Z[6],_=Z[7];for(var F=0;F<MZ.BLOCK_SIZE;F++){if(F<16)this.temp[F]=(G[F*4]&255)<<24|(G[F*4+1]&255)<<16|(G[F*4+2]&255)<<8|G[F*4+3]&255;else{var g=this.temp[F-2],J=(g>>>17|g<<15)^(g>>>19|g<<13)^g>>>10;g=this.temp[F-15];var K=(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3;this.temp[F]=(J+this.temp[F-7]|0)+(K+this.temp[F-16]|0)}var Q=(((A>>>6|A<<26)^(A>>>11|A<<21)^(A>>>25|A<<7))+(A&V^~A&X)|0)+(_+(MZ.KEY[F]+this.temp[F]|0)|0)|0,E=((C>>>2|C<<30)^(C>>>13|C<<19)^(C>>>22|C<<10))+(C&W^C&w^W&w)|0;_=X,X=V,V=A,A=B+Q|0,B=w,w=W,W=C,C=Q+E|0}Z[0]+=C,Z[1]+=W,Z[2]+=w,Z[3]+=B,Z[4]+=A,Z[5]+=V,Z[6]+=X,Z[7]+=_},I}();zk0.RawSha256=fJ5});var Uk0=Y((qk0)=>{Object.defineProperty(qk0,"__esModule",{value:!0});qk0.toUtf8=qk0.fromUtf8=void 0;var qJ5=(I)=>{let d=[];for(let G=0,Z=I.length;G<Z;G++){let C=I.charCodeAt(G);if(C<128)d.push(C);else if(C<2048)d.push(C>>6|192,C&63|128);else if(G+1<I.length&&(C&64512)===55296&&(I.charCodeAt(G+1)&64512)===56320){let W=65536+((C&1023)<<10)+(I.charCodeAt(++G)&1023);d.push(W>>18|240,W>>12&63|128,W>>6&63|128,W&63|128)}else d.push(C>>12|224,C>>6&63|128,C&63|128)}return Uint8Array.from(d)};qk0.fromUtf8=qJ5;var RJ5=(I)=>{let d="";for(let G=0,Z=I.length;G<Z;G++){let C=I[G];if(C<128)d+=String.fromCharCode(C);else if(192<=C&&C<224){let W=I[++G];d+=String.fromCharCode((C&31)<<6|W&63)}else if(240<=C&&C<365){let w="%"+[C,I[++G],I[++G],I[++G]].map((B)=>B.toString(16)).join("%");d+=decodeURIComponent(w)}else d+=String.fromCharCode((C&15)<<12|(I[++G]&63)<<6|I[++G]&63)}return d};qk0.toUtf8=RJ5});var Mk0=Y((vk0)=>{Object.defineProperty(vk0,"__esModule",{value:!0});vk0.toUtf8=vk0.fromUtf8=void 0;function vJ5(I){return new TextEncoder().encode(I)}vk0.fromUtf8=vJ5;function EJ5(I){return new TextDecoder("utf-8").decode(I)}vk0.toUtf8=EJ5});var FV1=Y((yk0)=>{Object.defineProperty(yk0,"__esModule",{value:!0});yk0.toUtf8=yk0.fromUtf8=void 0;var Sk0=Uk0(),Lk0=Mk0(),SJ5=(I)=>typeof TextEncoder==="function"?Lk0.fromUtf8(I):Sk0.fromUtf8(I);yk0.fromUtf8=SJ5;var LJ5=(I)=>typeof TextDecoder==="function"?Lk0.toUtf8(I):Sk0.toUtf8(I);yk0.toUtf8=LJ5});var Tk0=Y(($k0)=>{Object.defineProperty($k0,"__esModule",{value:!0});$k0.convertToBuffer=void 0;var PJ5=FV1(),$J5=typeof Buffer!=="undefined"&&Buffer.from?function(I){return Buffer.from(I,"utf8")}:PJ5.fromUtf8;function uJ5(I){if(I instanceof Uint8Array)return I;if(typeof I==="string")return $J5(I);if(ArrayBuffer.isView(I))return new Uint8Array(I.buffer,I.byteOffset,I.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(I)}$k0.convertToBuffer=uJ5});var lk0=Y((Ok0)=>{Object.defineProperty(Ok0,"__esModule",{value:!0});Ok0.isEmptyData=void 0;function TJ5(I){if(typeof I==="string")return I.length===0;return I.byteLength===0}Ok0.isEmptyData=TJ5});var jk0=Y((bk0)=>{Object.defineProperty(bk0,"__esModule",{value:!0});bk0.numToUint8=void 0;function OJ5(I){return new Uint8Array([(I&4278190080)>>24,(I&16711680)>>16,(I&65280)>>8,I&255])}bk0.numToUint8=OJ5});var ck0=Y((kk0)=>{Object.defineProperty(kk0,"__esModule",{value:!0});kk0.uint32ArrayFrom=void 0;function mJ5(I){if(!Uint32Array.from){var d=new Uint32Array(I.length),G=0;while(G<I.length)d[G]=I[G],G+=1;return d}return Uint32Array.from(I)}kk0.uint32ArrayFrom=mJ5});var pk0=Y((Wq)=>{Object.defineProperty(Wq,"__esModule",{value:!0});Wq.uint32ArrayFrom=Wq.numToUint8=Wq.isEmptyData=Wq.convertToBuffer=void 0;var lJ5=Tk0();Object.defineProperty(Wq,"convertToBuffer",{enumerable:!0,get:function(){return lJ5.convertToBuffer}});var bJ5=lk0();Object.defineProperty(Wq,"isEmptyData",{enumerable:!0,get:function(){return bJ5.isEmptyData}});var hJ5=jk0();Object.defineProperty(Wq,"numToUint8",{enumerable:!0,get:function(){return hJ5.numToUint8}});var jJ5=ck0();Object.defineProperty(Wq,"uint32ArrayFrom",{enumerable:!0,get:function(){return jJ5.uint32ArrayFrom}})});var ak0=Y((nk0)=>{Object.defineProperty(nk0,"__esModule",{value:!0});nk0.Sha256=void 0;var ik0=DV1(),Si=HV1(),Mi=fk0(),gV1=pk0(),xJ5=function(){function I(d){this.secret=d,this.hash=new Mi.RawSha256,this.reset()}return I.prototype.update=function(d){if(gV1.isEmptyData(d)||this.error)return;try{this.hash.update(gV1.convertToBuffer(d))}catch(G){this.error=G}},I.prototype.digestSync=function(){if(this.error)throw this.error;if(this.outer){if(!this.outer.finished)this.outer.update(this.hash.digest());return this.outer.digest()}return this.hash.digest()},I.prototype.digest=function(){return ik0.__awaiter(this,void 0,void 0,function(){return ik0.__generator(this,function(d){return[2,this.digestSync()]})})},I.prototype.reset=function(){if(this.hash=new Mi.RawSha256,this.secret){this.outer=new Mi.RawSha256;var d=cJ5(this.secret),G=new Uint8Array(Si.BLOCK_SIZE);G.set(d);for(var Z=0;Z<Si.BLOCK_SIZE;Z++)d[Z]^=54,G[Z]^=92;this.hash.update(d),this.outer.update(G);for(var Z=0;Z<d.byteLength;Z++)d[Z]=0}},I}();nk0.Sha256=xJ5;function cJ5(I){var d=gV1.convertToBuffer(I);if(d.byteLength>Si.BLOCK_SIZE){var G=new Mi.RawSha256;G.update(d),d=G.digest()}var Z=new Uint8Array(Si.BLOCK_SIZE);return Z.set(d),Z}});var sk0=Y((JV1)=>{Object.defineProperty(JV1,"__esModule",{value:!0});var pJ5=DV1();pJ5.__exportStar(ak0(),JV1)});var NV1=Y((wG3,yi)=>{/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Gx0,Zx0,Cx0,Wx0,wx0,Bx0,Ax0,Vx0,Xx0,Li,KV1,Yx0,_x0,wq,Dx0,Hx0,Fx0,gx0,Jx0,Kx0,Nx0,zx0,Qx0;(function(I){var d=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd)define("tslib",["exports"],function(Z){I(G(d,G(Z)))});else if(typeof yi==="object"&&typeof wG3==="object")I(G(d,G(wG3)));else I(G(d));function G(Z,C){if(Z!==d)if(typeof Object.create==="function")Object.defineProperty(Z,"__esModule",{value:!0});else Z.__esModule=!0;return function(W,w){return Z[W]=C?C(W,w):w}}})(function(I){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(G,Z){G.__proto__=Z}||function(G,Z){for(var C in Z)if(Z.hasOwnProperty(C))G[C]=Z[C]};Gx0=function(G,Z){d(G,Z);function C(){this.constructor=G}G.prototype=Z===null?Object.create(Z):(C.prototype=Z.prototype,new C)},Zx0=Object.assign||function(G){for(var Z,C=1,W=arguments.length;C<W;C++){Z=arguments[C];for(var w in Z)if(Object.prototype.hasOwnProperty.call(Z,w))G[w]=Z[w]}return G},Cx0=function(G,Z){var C={};for(var W in G)if(Object.prototype.hasOwnProperty.call(G,W)&&Z.indexOf(W)<0)C[W]=G[W];if(G!=null&&typeof Object.getOwnPropertySymbols==="function"){for(var w=0,W=Object.getOwnPropertySymbols(G);w<W.length;w++)if(Z.indexOf(W[w])<0&&Object.prototype.propertyIsEnumerable.call(G,W[w]))C[W[w]]=G[W[w]]}return C},Wx0=function(G,Z,C,W){var w=arguments.length,B=w<3?Z:W===null?W=Object.getOwnPropertyDescriptor(Z,C):W,A;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")B=Reflect.decorate(G,Z,C,W);else for(var V=G.length-1;V>=0;V--)if(A=G[V])B=(w<3?A(B):w>3?A(Z,C,B):A(Z,C))||B;return w>3&&B&&Object.defineProperty(Z,C,B),B},wx0=function(G,Z){return function(C,W){Z(C,W,G)}},Bx0=function(G,Z){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(G,Z)},Ax0=function(G,Z,C,W){function w(B){return B instanceof C?B:new C(function(A){A(B)})}return new(C||(C=Promise))(function(B,A){function V(F){try{_(W.next(F))}catch(g){A(g)}}function X(F){try{_(W.throw(F))}catch(g){A(g)}}function _(F){F.done?B(F.value):w(F.value).then(V,X)}_((W=W.apply(G,Z||[])).next())})},Vx0=function(G,Z){var C={label:0,sent:function(){if(B[0]&1)throw B[1];return B[1]},trys:[],ops:[]},W,w,B,A;return A={next:V(0),throw:V(1),return:V(2)},typeof Symbol==="function"&&(A[Symbol.iterator]=function(){return this}),A;function V(_){return function(F){return X([_,F])}}function X(_){if(W)throw new TypeError("Generator is already executing.");while(C)try{if(W=1,w&&(B=_[0]&2?w.return:_[0]?w.throw||((B=w.return)&&B.call(w),0):w.next)&&!(B=B.call(w,_[1])).done)return B;if(w=0,B)_=[_[0]&2,B.value];switch(_[0]){case 0:case 1:B=_;break;case 4:return C.label++,{value:_[1],done:!1};case 5:C.label++,w=_[1],_=[0];continue;case 7:_=C.ops.pop(),C.trys.pop();continue;default:if((B=C.trys,!(B=B.length>0&&B[B.length-1]))&&(_[0]===6||_[0]===2)){C=0;continue}if(_[0]===3&&(!B||_[1]>B[0]&&_[1]<B[3])){C.label=_[1];break}if(_[0]===6&&C.label<B[1]){C.label=B[1],B=_;break}if(B&&C.label<B[2]){C.label=B[2],C.ops.push(_);break}if(B[2])C.ops.pop();C.trys.pop();continue}_=Z.call(G,C)}catch(F){_=[6,F],w=0}finally{W=B=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}},Qx0=function(G,Z,C,W){if(W===void 0)W=C;G[W]=Z[C]},Xx0=function(G,Z){for(var C in G)if(C!=="default"&&!Z.hasOwnProperty(C))Z[C]=G[C]},Li=function(G){var Z=typeof Symbol==="function"&&Symbol.iterator,C=Z&&G[Z],W=0;if(C)return C.call(G);if(G&&typeof G.length==="number")return{next:function(){if(G&&W>=G.length)G=void 0;return{value:G&&G[W++],done:!G}}};throw new TypeError(Z?"Object is not iterable.":"Symbol.iterator is not defined.")},KV1=function(G,Z){var C=typeof Symbol==="function"&&G[Symbol.iterator];if(!C)return G;var W=C.call(G),w,B=[],A;try{while((Z===void 0||Z-- >0)&&!(w=W.next()).done)B.push(w.value)}catch(V){A={error:V}}finally{try{if(w&&!w.done&&(C=W.return))C.call(W)}finally{if(A)throw A.error}}return B},Yx0=function(){for(var G=[],Z=0;Z<arguments.length;Z++)G=G.concat(KV1(arguments[Z]));return G},_x0=function(){for(var G=0,Z=0,C=arguments.length;Z<C;Z++)G+=arguments[Z].length;for(var W=Array(G),w=0,Z=0;Z<C;Z++)for(var B=arguments[Z],A=0,V=B.length;A<V;A++,w++)W[w]=B[A];return W},wq=function(G){return this instanceof wq?(this.v=G,this):new wq(G)},Dx0=function(G,Z,C){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var W=C.apply(G,Z||[]),w,B=[];return w={},A("next"),A("throw"),A("return"),w[Symbol.asyncIterator]=function(){return this},w;function A(J){if(W[J])w[J]=function(K){return new Promise(function(Q,E){B.push([J,K,Q,E])>1||V(J,K)})}}function V(J,K){try{X(W[J](K))}catch(Q){g(B[0][3],Q)}}function X(J){J.value instanceof wq?Promise.resolve(J.value.v).then(_,F):g(B[0][2],J)}function _(J){V("next",J)}function F(J){V("throw",J)}function g(J,K){if(J(K),B.shift(),B.length)V(B[0][0],B[0][1])}},Hx0=function(G){var Z,C;return Z={},W("next"),W("throw",function(w){throw w}),W("return"),Z[Symbol.iterator]=function(){return this},Z;function W(w,B){Z[w]=G[w]?function(A){return(C=!C)?{value:wq(G[w](A)),done:w==="return"}:B?B(A):A}:B}},Fx0=function(G){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Z=G[Symbol.asyncIterator],C;return Z?Z.call(G):(G=typeof Li==="function"?Li(G):G[Symbol.iterator](),C={},W("next"),W("throw"),W("return"),C[Symbol.asyncIterator]=function(){return this},C);function W(B){C[B]=G[B]&&function(A){return new Promise(function(V,X){A=G[B](A),w(V,X,A.done,A.value)})}}function w(B,A,V,X){Promise.resolve(X).then(function(_){B({value:_,done:V})},A)}},gx0=function(G,Z){if(Object.defineProperty)Object.defineProperty(G,"raw",{value:Z});else G.raw=Z;return G},Jx0=function(G){if(G&&G.__esModule)return G;var Z={};if(G!=null){for(var C in G)if(Object.hasOwnProperty.call(G,C))Z[C]=G[C]}return Z.default=G,Z},Kx0=function(G){return G&&G.__esModule?G:{default:G}},Nx0=function(G,Z){if(!Z.has(G))throw new TypeError("attempted to get private field on non-instance");return Z.get(G)},zx0=function(G,Z,C){if(!Z.has(G))throw new TypeError("attempted to set private field on non-instance");return Z.set(G,C),C},I("__extends",Gx0),I("__assign",Zx0),I("__rest",Cx0),I("__decorate",Wx0),I("__param",wx0),I("__metadata",Bx0),I("__awaiter",Ax0),I("__generator",Vx0),I("__exportStar",Xx0),I("__createBinding",Qx0),I("__values",Li),I("__read",KV1),I("__spread",Yx0),I("__spreadArrays",_x0),I("__await",wq),I("__asyncGenerator",Dx0),I("__asyncDelegator",Hx0),I("__asyncValues",Fx0),I("__makeTemplateObject",gx0),I("__importStar",Jx0),I("__importDefault",Kx0),I("__classPrivateFieldGet",Nx0),I("__classPrivateFieldSet",zx0)})});var Rx0=Y((fx0)=>{Object.defineProperty(fx0,"__esModule",{value:!0});fx0.convertToBuffer=void 0;var rJ5=FV1(),aJ5=typeof Buffer!=="undefined"&&Buffer.from?function(I){return Buffer.from(I,"utf8")}:rJ5.fromUtf8;function sJ5(I){if(I instanceof Uint8Array)return I;if(typeof I==="string")return aJ5(I);if(ArrayBuffer.isView(I))return new Uint8Array(I.buffer,I.byteOffset,I.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(I)}fx0.convertToBuffer=sJ5});var Ex0=Y((Ux0)=>{Object.defineProperty(Ux0,"__esModule",{value:!0});Ux0.isEmptyData=void 0;function oJ5(I){if(typeof I==="string")return I.length===0;return I.byteLength===0}Ux0.isEmptyData=oJ5});var Lx0=Y((Mx0)=>{Object.defineProperty(Mx0,"__esModule",{value:!0});Mx0.numToUint8=void 0;function eJ5(I){return new Uint8Array([(I&4278190080)>>24,(I&16711680)>>16,(I&65280)>>8,I&255])}Mx0.numToUint8=eJ5});var $x0=Y((yx0)=>{Object.defineProperty(yx0,"__esModule",{value:!0});yx0.uint32ArrayFrom=void 0;function tJ5(I){if(!Uint32Array.from){var d=new Uint32Array(I.length),G=0;while(G<I.length)d[G]=I[G],G+=1;return d}return Uint32Array.from(I)}yx0.uint32ArrayFrom=tJ5});var zV1=Y((Bq)=>{Object.defineProperty(Bq,"__esModule",{value:!0});Bq.uint32ArrayFrom=Bq.numToUint8=Bq.isEmptyData=Bq.convertToBuffer=void 0;var IK5=Rx0();Object.defineProperty(Bq,"convertToBuffer",{enumerable:!0,get:function(){return IK5.convertToBuffer}});var dK5=Ex0();Object.defineProperty(Bq,"isEmptyData",{enumerable:!0,get:function(){return dK5.isEmptyData}});var GK5=Lx0();Object.defineProperty(Bq,"numToUint8",{enumerable:!0,get:function(){return GK5.numToUint8}});var ZK5=$x0();Object.defineProperty(Bq,"uint32ArrayFrom",{enumerable:!0,get:function(){return ZK5.uint32ArrayFrom}})});var lx0=Y((Ox0)=>{Object.defineProperty(Ox0,"__esModule",{value:!0});Ox0.AwsCrc32=void 0;var ux0=NV1(),QV1=zV1(),Tx0=Pi(),WK5=function(){function I(){this.crc32=new Tx0.Crc32}return I.prototype.update=function(d){if(QV1.isEmptyData(d))return;this.crc32.update(QV1.convertToBuffer(d))},I.prototype.digest=function(){return ux0.__awaiter(this,void 0,void 0,function(){return ux0.__generator(this,function(d){return[2,QV1.numToUint8(this.crc32.digest())]})})},I.prototype.reset=function(){this.crc32=new Tx0.Crc32},I}();Ox0.AwsCrc32=WK5});var Pi=Y((fV1)=>{Object.defineProperty(fV1,"__esModule",{value:!0});fV1.AwsCrc32=fV1.Crc32=fV1.crc32=void 0;var wK5=NV1(),BK5=zV1();function AK5(I){return new bx0().update(I).digest()}fV1.crc32=AK5;var bx0=function(){function I(){this.checksum=4294967295}return I.prototype.update=function(d){var G,Z;try{for(var C=wK5.__values(d),W=C.next();!W.done;W=C.next()){var w=W.value;this.checksum=this.checksum>>>8^XK5[(this.checksum^w)&255]}}catch(B){G={error:B}}finally{try{if(W&&!W.done&&(Z=C.return))Z.call(C)}finally{if(G)throw G.error}}return this},I.prototype.digest=function(){return(this.checksum^4294967295)>>>0},I}();fV1.Crc32=bx0;var VK5=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918000,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117],XK5=BK5.uint32ArrayFrom(VK5),YK5=lx0();Object.defineProperty(fV1,"AwsCrc32",{enumerable:!0,get:function(){return YK5.AwsCrc32}})});var RV1=Y((JG3,px0)=>{var{defineProperty:$i,getOwnPropertyDescriptor:FK5,getOwnPropertyNames:gK5}=Object,JK5=Object.prototype.hasOwnProperty,hx0=(I,d)=>$i(I,"name",{value:d,configurable:!0}),KK5=(I,d)=>{for(var G in d)$i(I,G,{get:d[G],enumerable:!0})},NK5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of gK5(d))if(!JK5.call(I,C)&&C!==G)$i(I,C,{get:()=>d[C],enumerable:!(Z=FK5(d,C))||Z.enumerable})}return I},zK5=(I)=>NK5($i({},"__esModule",{value:!0}),I),jx0={};KK5(jx0,{fromHex:()=>xx0,toHex:()=>cx0});px0.exports=zK5(jx0);var kx0={},qV1={};for(let I=0;I<256;I++){let d=I.toString(16).toLowerCase();if(d.length===1)d=`0${d}`;kx0[I]=d,qV1[d]=I}function xx0(I){if(I.length%2!==0)throw new Error("Hex encoded strings must have an even number length");let d=new Uint8Array(I.length/2);for(let G=0;G<I.length;G+=2){let Z=I.slice(G,G+2).toLowerCase();if(Z in qV1)d[G/2]=qV1[Z];else throw new Error(`Cannot decode unrecognized sequence ${Z} as hexadecimal`)}return d}hx0(xx0,"fromHex");function cx0(I){let d="";for(let G=0;G<I.byteLength;G++)d+=kx0[I[G]];return d}hx0(cx0,"toHex")});var Wc0=Y((KG3,Cc0)=>{var{defineProperty:Ti,getOwnPropertyDescriptor:QK5,getOwnPropertyNames:fK5}=Object,qK5=Object.prototype.hasOwnProperty,TV=(I,d)=>Ti(I,"name",{value:d,configurable:!0}),RK5=(I,d)=>{for(var G in d)Ti(I,G,{get:d[G],enumerable:!0})},UK5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of fK5(d))if(!qK5.call(I,C)&&C!==G)Ti(I,C,{get:()=>d[C],enumerable:!(Z=QK5(d,C))||Z.enumerable})}return I},vK5=(I)=>UK5(Ti({},"__esModule",{value:!0}),I),nx0={};RK5(nx0,{EventStreamCodec:()=>bK5,HeaderMarshaller:()=>sx0,Int64:()=>ui,MessageDecoderStream:()=>hK5,MessageEncoderStream:()=>jK5,SmithyMessageDecoderStream:()=>kK5,SmithyMessageEncoderStream:()=>xK5});Cc0.exports=vK5(nx0);var EK5=Pi(),JJ=RV1(),rx0=class I{constructor(d){if(this.bytes=d,d.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(d){if(d>9223372036854776000||d<-9223372036854776000)throw new Error(`${d} is too large (or, if negative, too small) to represent as an Int64`);let G=new Uint8Array(8);for(let Z=7,C=Math.abs(Math.round(d));Z>-1&&C>0;Z--,C/=256)G[Z]=C;if(d<0)UV1(G);return new I(G)}valueOf(){let d=this.bytes.slice(0),G=d[0]&128;if(G)UV1(d);return parseInt(JJ.toHex(d),16)*(G?-1:1)}toString(){return String(this.valueOf())}};TV(rx0,"Int64");var ui=rx0;function UV1(I){for(let d=0;d<8;d++)I[d]^=255;for(let d=7;d>-1;d--)if(I[d]++,I[d]!==0)break}TV(UV1,"negate");var ax0=class I{constructor(d,G){this.toUtf8=d,this.fromUtf8=G}format(d){let G=[];for(let W of Object.keys(d)){let w=this.fromUtf8(W);G.push(Uint8Array.from([w.byteLength]),w,this.formatHeaderValue(d[W]))}let Z=new Uint8Array(G.reduce((W,w)=>W+w.byteLength,0)),C=0;for(let W of G)Z.set(W,C),C+=W.byteLength;return Z}formatHeaderValue(d){switch(d.type){case"boolean":return Uint8Array.from([d.value?0:1]);case"byte":return Uint8Array.from([2,d.value]);case"short":let G=new DataView(new ArrayBuffer(3));return G.setUint8(0,3),G.setInt16(1,d.value,!1),new Uint8Array(G.buffer);case"integer":let Z=new DataView(new ArrayBuffer(5));return Z.setUint8(0,4),Z.setInt32(1,d.value,!1),new Uint8Array(Z.buffer);case"long":let C=new Uint8Array(9);return C[0]=5,C.set(d.value.bytes,1),C;case"binary":let W=new DataView(new ArrayBuffer(3+d.value.byteLength));W.setUint8(0,6),W.setUint16(1,d.value.byteLength,!1);let w=new Uint8Array(W.buffer);return w.set(d.value,3),w;case"string":let B=this.fromUtf8(d.value),A=new DataView(new ArrayBuffer(3+B.byteLength));A.setUint8(0,7),A.setUint16(1,B.byteLength,!1);let V=new Uint8Array(A.buffer);return V.set(B,3),V;case"timestamp":let X=new Uint8Array(9);return X[0]=8,X.set(ui.fromNumber(d.value.valueOf()).bytes,1),X;case"uuid":if(!OK5.test(d.value))throw new Error(`Invalid UUID received: ${d.value}`);let _=new Uint8Array(17);return _[0]=9,_.set(JJ.fromHex(d.value.replace(/\-/g,"")),1),_}}parse(d){let G={},Z=0;while(Z<d.byteLength){let C=d.getUint8(Z++),W=this.toUtf8(new Uint8Array(d.buffer,d.byteOffset+Z,C));switch(Z+=C,d.getUint8(Z++)){case 0:G[W]={type:ix0,value:!0};break;case 1:G[W]={type:ix0,value:!1};break;case 2:G[W]={type:MK5,value:d.getInt8(Z++)};break;case 3:G[W]={type:SK5,value:d.getInt16(Z,!1)},Z+=2;break;case 4:G[W]={type:LK5,value:d.getInt32(Z,!1)},Z+=4;break;case 5:G[W]={type:yK5,value:new ui(new Uint8Array(d.buffer,d.byteOffset+Z,8))},Z+=8;break;case 6:let w=d.getUint16(Z,!1);Z+=2,G[W]={type:PK5,value:new Uint8Array(d.buffer,d.byteOffset+Z,w)},Z+=w;break;case 7:let B=d.getUint16(Z,!1);Z+=2,G[W]={type:$K5,value:this.toUtf8(new Uint8Array(d.buffer,d.byteOffset+Z,B))},Z+=B;break;case 8:G[W]={type:uK5,value:new Date(new ui(new Uint8Array(d.buffer,d.byteOffset+Z,8)).valueOf())},Z+=8;break;case 9:let A=new Uint8Array(d.buffer,d.byteOffset+Z,16);Z+=16,G[W]={type:TK5,value:`${JJ.toHex(A.subarray(0,4))}-${JJ.toHex(A.subarray(4,6))}-${JJ.toHex(A.subarray(6,8))}-${JJ.toHex(A.subarray(8,10))}-${JJ.toHex(A.subarray(10))}`};break;default:throw new Error("Unrecognized header type tag")}}return G}};TV(ax0,"HeaderMarshaller");var sx0=ax0,ix0="boolean",MK5="byte",SK5="short",LK5="integer",yK5="long",PK5="binary",$K5="string",uK5="timestamp",TK5="uuid",OK5=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,mK5=Pi(),ox0=4,QD=ox0*2,KJ=4,lK5=QD+KJ*2;function ex0({byteLength:I,byteOffset:d,buffer:G}){if(I<lK5)throw new Error("Provided message too short to accommodate event stream message overhead");let Z=new DataView(G,d,I),C=Z.getUint32(0,!1);if(I!==C)throw new Error("Reported message length does not match received message length");let W=Z.getUint32(ox0,!1),w=Z.getUint32(QD,!1),B=Z.getUint32(I-KJ,!1),A=new mK5.Crc32().update(new Uint8Array(G,d,QD));if(w!==A.digest())throw new Error(`The prelude checksum specified in the message (${w}) does not match the calculated CRC32 checksum (${A.digest()})`);if(A.update(new Uint8Array(G,d+QD,I-(QD+KJ))),B!==A.digest())throw new Error(`The message checksum (${A.digest()}) did not match the expected value of ${B}`);return{headers:new DataView(G,d+QD+KJ,W),body:new Uint8Array(G,d+QD+KJ+W,C-W-(QD+KJ+KJ))}}TV(ex0,"splitMessage");var tx0=class I{constructor(d,G){this.headerMarshaller=new sx0(d,G),this.messageBuffer=[],this.isEndOfStream=!1}feed(d){this.messageBuffer.push(this.decode(d))}endOfStream(){this.isEndOfStream=!0}getMessage(){let d=this.messageBuffer.pop(),G=this.isEndOfStream;return{getMessage(){return d},isEndOfStream(){return G}}}getAvailableMessages(){let d=this.messageBuffer;this.messageBuffer=[];let G=this.isEndOfStream;return{getMessages(){return d},isEndOfStream(){return G}}}encode({headers:d,body:G}){let Z=this.headerMarshaller.format(d),C=Z.byteLength+G.byteLength+16,W=new Uint8Array(C),w=new DataView(W.buffer,W.byteOffset,W.byteLength),B=new EK5.Crc32;return w.setUint32(0,C,!1),w.setUint32(4,Z.byteLength,!1),w.setUint32(8,B.update(W.subarray(0,8)).digest(),!1),W.set(Z,12),W.set(G,Z.byteLength+12),w.setUint32(C-4,B.update(W.subarray(8,C-4)).digest(),!1),W}decode(d){let{headers:G,body:Z}=ex0(d);return{headers:this.headerMarshaller.parse(G),body:Z}}formatHeaders(d){return this.headerMarshaller.format(d)}};TV(tx0,"EventStreamCodec");var bK5=tx0,Ic0=class I{constructor(d){this.options=d}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let d of this.options.inputStream)yield this.options.decoder.decode(d)}};TV(Ic0,"MessageDecoderStream");var hK5=Ic0,dc0=class I{constructor(d){this.options=d}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let d of this.options.messageStream)yield this.options.encoder.encode(d);if(this.options.includeEndFrame)yield new Uint8Array(0)}};TV(dc0,"MessageEncoderStream");var jK5=dc0,Gc0=class I{constructor(d){this.options=d}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let d of this.options.messageStream){let G=await this.options.deserializer(d);if(G===void 0)continue;yield G}}};TV(Gc0,"SmithyMessageDecoderStream");var kK5=Gc0,Zc0=class I{constructor(d){this.options=d}[Symbol.asyncIterator](){return this.asyncIterator()}async*asyncIterator(){for await(let d of this.options.inputStream)yield this.options.serializer(d)}};TV(Zc0,"SmithyMessageEncoderStream");var xK5=Zc0});var _c0=Y((NG3,Yc0)=>{var{defineProperty:Oi,getOwnPropertyDescriptor:cK5,getOwnPropertyNames:pK5}=Object,iK5=Object.prototype.hasOwnProperty,Aq=(I,d)=>Oi(I,"name",{value:d,configurable:!0}),nK5=(I,d)=>{for(var G in d)Oi(I,G,{get:d[G],enumerable:!0})},rK5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of pK5(d))if(!iK5.call(I,C)&&C!==G)Oi(I,C,{get:()=>d[C],enumerable:!(Z=cK5(d,C))||Z.enumerable})}return I},aK5=(I)=>rK5(Oi({},"__esModule",{value:!0}),I),wc0={};nK5(wc0,{EventStreamMarshaller:()=>Xc0,eventStreamSerdeProvider:()=>sK5});Yc0.exports=aK5(wc0);var py=Wc0();function Bc0(I){let d=0,G=0,Z=null,C=null,W=Aq((B)=>{if(typeof B!=="number")throw new Error("Attempted to allocate an event message where size was not a number: "+B);d=B,G=4,Z=new Uint8Array(B),new DataView(Z.buffer).setUint32(0,B,!1)},"allocateMessage"),w=Aq(async function*(){let B=I[Symbol.asyncIterator]();while(!0){let{value:A,done:V}=await B.next();if(V){if(!d)return;else if(d===G)yield Z;else throw new Error("Truncated event message received.");return}let X=A.length,_=0;while(_<X){if(!Z){let g=X-_;if(!C)C=new Uint8Array(4);let J=Math.min(4-G,g);if(C.set(A.slice(_,_+J),G),G+=J,_+=J,G<4)break;W(new DataView(C.buffer).getUint32(0,!1)),C=null}let F=Math.min(d-G,X-_);if(Z.set(A.slice(_,_+F),G),G+=F,_+=F,d&&d===G)yield Z,Z=null,d=0,G=0}}},"iterator");return{[Symbol.asyncIterator]:w}}Aq(Bc0,"getChunkedStream");function Ac0(I,d){return async function(G){let{value:Z}=G.headers[":message-type"];if(Z==="error"){let C=new Error(G.headers[":error-message"].value||"UnknownError");throw C.name=G.headers[":error-code"].value,C}else if(Z==="exception"){let C=G.headers[":exception-type"].value,W={[C]:G},w=await I(W);if(w.$unknown){let B=new Error(d(G.body));throw B.name=C,B}throw w[C]}else if(Z==="event"){let C={[G.headers[":event-type"].value]:G},W=await I(C);if(W.$unknown)return;return W}else throw Error(`Unrecognizable event type: ${G.headers[":event-type"].value}`)}}Aq(Ac0,"getMessageUnmarshaller");var Vc0=class I{constructor({utf8Encoder:d,utf8Decoder:G}){this.eventStreamCodec=new py.EventStreamCodec(d,G),this.utfEncoder=d}deserialize(d,G){let Z=Bc0(d);return new py.SmithyMessageDecoderStream({messageStream:new py.MessageDecoderStream({inputStream:Z,decoder:this.eventStreamCodec}),deserializer:Ac0(G,this.utfEncoder)})}serialize(d,G){return new py.MessageEncoderStream({messageStream:new py.SmithyMessageEncoderStream({inputStream:d,serializer:G}),encoder:this.eventStreamCodec,includeEndFrame:!0})}};Aq(Vc0,"EventStreamMarshaller");var Xc0=Vc0,sK5=Aq((I)=>new Xc0(I),"eventStreamSerdeProvider")});var EV1=Y((zG3,Jc0)=>{var{defineProperty:mi,getOwnPropertyDescriptor:oK5,getOwnPropertyNames:eK5}=Object,tK5=Object.prototype.hasOwnProperty,vV1=(I,d)=>mi(I,"name",{value:d,configurable:!0}),IN5=(I,d)=>{for(var G in d)mi(I,G,{get:d[G],enumerable:!0})},dN5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of eK5(d))if(!tK5.call(I,C)&&C!==G)mi(I,C,{get:()=>d[C],enumerable:!(Z=oK5(d,C))||Z.enumerable})}return I},GN5=(I)=>dN5(mi({},"__esModule",{value:!0}),I),Dc0={};IN5(Dc0,{EventStreamMarshaller:()=>gc0,eventStreamSerdeProvider:()=>WN5});Jc0.exports=GN5(Dc0);var ZN5=_c0(),CN5=B1("stream");async function*Hc0(I){let d=!1,G=!1,Z=new Array;I.on("error",(C)=>{if(!d)d=!0;if(C)throw C}),I.on("data",(C)=>{Z.push(C)}),I.on("end",()=>{d=!0});while(!G){let C=await new Promise((W)=>setTimeout(()=>W(Z.shift()),0));if(C)yield C;G=d&&Z.length===0}}vV1(Hc0,"readabletoIterable");var Fc0=class I{constructor({utf8Encoder:d,utf8Decoder:G}){this.universalMarshaller=new ZN5.EventStreamMarshaller({utf8Decoder:G,utf8Encoder:d})}deserialize(d,G){let Z=typeof d[Symbol.asyncIterator]==="function"?d:Hc0(d);return this.universalMarshaller.deserialize(Z,G)}serialize(d,G){return CN5.Readable.from(this.universalMarshaller.serialize(d,G))}};vV1(Fc0,"EventStreamMarshaller");var gc0=Fc0,WN5=vV1((I)=>new gc0(I),"eventStreamSerdeProvider")});var zc0=Y((QG3,Nc0)=>{var{defineProperty:li,getOwnPropertyDescriptor:wN5,getOwnPropertyNames:BN5}=Object,AN5=Object.prototype.hasOwnProperty,VN5=(I,d)=>li(I,"name",{value:d,configurable:!0}),XN5=(I,d)=>{for(var G in d)li(I,G,{get:d[G],enumerable:!0})},YN5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of BN5(d))if(!AN5.call(I,C)&&C!==G)li(I,C,{get:()=>d[C],enumerable:!(Z=wN5(d,C))||Z.enumerable})}return I},_N5=(I)=>YN5(li({},"__esModule",{value:!0}),I),Kc0={};XN5(Kc0,{isArrayBuffer:()=>DN5});Nc0.exports=_N5(Kc0);var DN5=VN5((I)=>typeof ArrayBuffer==="function"&&I instanceof ArrayBuffer||Object.prototype.toString.call(I)==="[object ArrayBuffer]","isArrayBuffer")});var Vq=Y((fG3,qc0)=>{var{defineProperty:bi,getOwnPropertyDescriptor:HN5,getOwnPropertyNames:FN5}=Object,gN5=Object.prototype.hasOwnProperty,Qc0=(I,d)=>bi(I,"name",{value:d,configurable:!0}),JN5=(I,d)=>{for(var G in d)bi(I,G,{get:d[G],enumerable:!0})},KN5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of FN5(d))if(!gN5.call(I,C)&&C!==G)bi(I,C,{get:()=>d[C],enumerable:!(Z=HN5(d,C))||Z.enumerable})}return I},NN5=(I)=>KN5(bi({},"__esModule",{value:!0}),I),fc0={};JN5(fc0,{fromArrayBuffer:()=>QN5,fromString:()=>fN5});qc0.exports=NN5(fc0);var zN5=zc0(),MV1=B1("buffer"),QN5=Qc0((I,d=0,G=I.byteLength-d)=>{if(!zN5.isArrayBuffer(I))throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof I} (${I})`);return MV1.Buffer.from(I,d,G)},"fromArrayBuffer"),fN5=Qc0((I,d)=>{if(typeof I!=="string")throw new TypeError(`The "input" argument must be of type string. Received type ${typeof I} (${I})`);return d?MV1.Buffer.from(I,d):MV1.Buffer.from(I)},"fromString")});var vc0=Y((Rc0)=>{Object.defineProperty(Rc0,"__esModule",{value:!0});Rc0.fromBase64=void 0;var qN5=Vq(),RN5=/^[A-Za-z0-9+/]*={0,2}$/,UN5=(I)=>{if(I.length*3%4!==0)throw new TypeError("Incorrect padding on base64 string.");if(!RN5.exec(I))throw new TypeError("Invalid base64 string.");let d=qN5.fromString(I,"base64");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength)};Rc0.fromBase64=UN5});var SZ=Y((RG3,Lc0)=>{var{defineProperty:hi,getOwnPropertyDescriptor:vN5,getOwnPropertyNames:EN5}=Object,MN5=Object.prototype.hasOwnProperty,SV1=(I,d)=>hi(I,"name",{value:d,configurable:!0}),SN5=(I,d)=>{for(var G in d)hi(I,G,{get:d[G],enumerable:!0})},LN5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of EN5(d))if(!MN5.call(I,C)&&C!==G)hi(I,C,{get:()=>d[C],enumerable:!(Z=vN5(d,C))||Z.enumerable})}return I},yN5=(I)=>LN5(hi({},"__esModule",{value:!0}),I),Ec0={};SN5(Ec0,{fromUtf8:()=>Sc0,toUint8Array:()=>PN5,toUtf8:()=>$N5});Lc0.exports=yN5(Ec0);var Mc0=Vq(),Sc0=SV1((I)=>{let d=Mc0.fromString(I,"utf8");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength/Uint8Array.BYTES_PER_ELEMENT)},"fromUtf8"),PN5=SV1((I)=>{if(typeof I==="string")return Sc0(I);if(ArrayBuffer.isView(I))return new Uint8Array(I.buffer,I.byteOffset,I.byteLength/Uint8Array.BYTES_PER_ELEMENT);return new Uint8Array(I)},"toUint8Array"),$N5=SV1((I)=>{if(typeof I==="string")return I;if(typeof I!=="object"||typeof I.byteOffset!=="number"||typeof I.byteLength!=="number")throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.");return Mc0.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength).toString("utf8")},"toUtf8")});var $c0=Y((yc0)=>{Object.defineProperty(yc0,"__esModule",{value:!0});yc0.toBase64=void 0;var uN5=Vq(),TN5=SZ(),ON5=(I)=>{let d;if(typeof I==="string")d=TN5.fromUtf8(I);else d=I;if(typeof d!=="object"||typeof d.byteOffset!=="number"||typeof d.byteLength!=="number")throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.");return uN5.fromArrayBuffer(d.buffer,d.byteOffset,d.byteLength).toString("base64")};yc0.toBase64=ON5});var fD=Y((vG3,ji)=>{var{defineProperty:uc0,getOwnPropertyDescriptor:mN5,getOwnPropertyNames:lN5}=Object,bN5=Object.prototype.hasOwnProperty,LV1=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of lN5(d))if(!bN5.call(I,C)&&C!==G)uc0(I,C,{get:()=>d[C],enumerable:!(Z=mN5(d,C))||Z.enumerable})}return I},Tc0=(I,d,G)=>(LV1(I,d,"default"),G&&LV1(G,d,"default")),hN5=(I)=>LV1(uc0({},"__esModule",{value:!0}),I),yV1={};ji.exports=hN5(yV1);Tc0(yV1,vc0(),ji.exports);Tc0(yV1,$c0(),ji.exports)});var $V1=Y((EG3,lc0)=>{var{defineProperty:ki,getOwnPropertyDescriptor:jN5,getOwnPropertyNames:kN5}=Object,xN5=Object.prototype.hasOwnProperty,PV1=(I,d)=>ki(I,"name",{value:d,configurable:!0}),cN5=(I,d)=>{for(var G in d)ki(I,G,{get:d[G],enumerable:!0})},pN5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of kN5(d))if(!xN5.call(I,C)&&C!==G)ki(I,C,{get:()=>d[C],enumerable:!(Z=jN5(d,C))||Z.enumerable})}return I},iN5=(I)=>pN5(ki({},"__esModule",{value:!0}),I),Oc0={};cN5(Oc0,{escapeUri:()=>mc0,escapeUriPath:()=>rN5});lc0.exports=iN5(Oc0);var mc0=PV1((I)=>encodeURIComponent(I).replace(/[!'()*]/g,nN5),"escapeUri"),nN5=PV1((I)=>`%${I.charCodeAt(0).toString(16).toUpperCase()}`,"hexEncode"),rN5=PV1((I)=>I.split("/").map(mc0).join("/"),"escapeUriPath")});var TV1=Y((MG3,jc0)=>{var{defineProperty:xi,getOwnPropertyDescriptor:aN5,getOwnPropertyNames:sN5}=Object,oN5=Object.prototype.hasOwnProperty,eN5=(I,d)=>xi(I,"name",{value:d,configurable:!0}),tN5=(I,d)=>{for(var G in d)xi(I,G,{get:d[G],enumerable:!0})},Iz5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of sN5(d))if(!oN5.call(I,C)&&C!==G)xi(I,C,{get:()=>d[C],enumerable:!(Z=aN5(d,C))||Z.enumerable})}return I},dz5=(I)=>Iz5(xi({},"__esModule",{value:!0}),I),bc0={};tN5(bc0,{buildQueryString:()=>hc0});jc0.exports=dz5(bc0);var uV1=$V1();function hc0(I){let d=[];for(let G of Object.keys(I).sort()){let Z=I[G];if(G=uV1.escapeUri(G),Array.isArray(Z))for(let C=0,W=Z.length;C<W;C++)d.push(`${G}=${uV1.escapeUri(Z[C])}`);else{let C=G;if(Z||typeof Z==="string")C+=`=${uV1.escapeUri(Z)}`;d.push(C)}}return d.join("&")}eN5(hc0,"buildQueryString")});var oc0=Y((SG3,sc0)=>{var{defineProperty:ci,getOwnPropertyDescriptor:Gz5,getOwnPropertyNames:Zz5}=Object,Cz5=Object.prototype.hasOwnProperty,Xq=(I,d)=>ci(I,"name",{value:d,configurable:!0}),Wz5=(I,d)=>{for(var G in d)ci(I,G,{get:d[G],enumerable:!0})},wz5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Zz5(d))if(!Cz5.call(I,C)&&C!==G)ci(I,C,{get:()=>d[C],enumerable:!(Z=Gz5(d,C))||Z.enumerable})}return I},Bz5=(I)=>wz5(ci({},"__esModule",{value:!0}),I),xc0={};Wz5(xc0,{FetchHttpHandler:()=>Vz5,keepAliveSupport:()=>pc0,streamCollector:()=>Yz5});sc0.exports=Bz5(xc0);var kc0=t8(),Az5=TV1();function cc0(I=0){return new Promise((d,G)=>{if(I)setTimeout(()=>{let Z=new Error(`Request did not complete within ${I} ms`);Z.name="TimeoutError",G(Z)},I)})}Xq(cc0,"requestTimeout");var pc0={supported:Boolean(typeof Request!=="undefined"&&"keepalive"in new Request("https://[::1]"))},ic0=class I{static create(d){if(typeof(d==null?void 0:d.handle)==="function")return d;return new I(d)}constructor(d){if(typeof d==="function")this.configProvider=d().then((G)=>G||{});else this.config=d??{},this.configProvider=Promise.resolve(this.config)}destroy(){}async handle(d,{abortSignal:G}={}){if(!this.config)this.config=await this.configProvider;let Z=this.config.requestTimeout,C=this.config.keepAlive===!0;if(G==null?void 0:G.aborted){let K=new Error("Request aborted");return K.name="AbortError",Promise.reject(K)}let W=d.path,w=Az5.buildQueryString(d.query||{});if(w)W+=`?${w}`;if(d.fragment)W+=`#${d.fragment}`;let B="";if(d.username!=null||d.password!=null){let K=d.username??"",Q=d.password??"";B=`${K}:${Q}@`}let{port:A,method:V}=d,X=`${d.protocol}//${B}${d.hostname}${A?`:${A}`:""}${W}`,F={body:V==="GET"||V==="HEAD"?void 0:d.body,headers:new Headers(d.headers),method:V};if(typeof AbortController!=="undefined")F.signal=G;if(pc0.supported)F.keepalive=C;let g=new Request(X,F),J=[fetch(g).then((K)=>{let Q=K.headers,E={};for(let P of Q.entries())E[P[0]]=P[1];if(K.body==null)return K.blob().then((P)=>({response:new kc0.HttpResponse({headers:E,reason:K.statusText,statusCode:K.status,body:P})}));return{response:new kc0.HttpResponse({headers:E,reason:K.statusText,statusCode:K.status,body:K.body})}}),cc0(Z)];if(G)J.push(new Promise((K,Q)=>{G.onabort=()=>{let E=new Error("Request aborted");E.name="AbortError",Q(E)}}));return Promise.race(J)}updateHttpClientConfig(d,G){this.config=void 0,this.configProvider=this.configProvider.then((Z)=>{return Z[d]=G,Z})}httpHandlerConfigs(){return this.config??{}}};Xq(ic0,"FetchHttpHandler");var Vz5=ic0,Xz5=fD(),Yz5=Xq((I)=>{if(typeof Blob==="function"&&I instanceof Blob)return nc0(I);return rc0(I)},"streamCollector");async function nc0(I){let d=await ac0(I),G=Xz5.fromBase64(d);return new Uint8Array(G)}Xq(nc0,"collectBlob");async function rc0(I){let d=new Uint8Array(0),G=I.getReader(),Z=!1;while(!Z){let{done:C,value:W}=await G.read();if(W){let w=d;d=new Uint8Array(w.length+W.length),d.set(w),d.set(W,w.length)}Z=C}return d}Xq(rc0,"collectStream");function ac0(I){return new Promise((d,G)=>{let Z=new FileReader;Z.onloadend=()=>{if(Z.readyState!==2)return G(new Error("Reader aborted too early"));let C=Z.result??"",W=C.indexOf(","),w=W>-1?W+1:C.length;d(C.substring(w))},Z.onabort=()=>G(new Error("Read aborted")),Z.onerror=()=>G(Z.error),Z.readAsDataURL(I)})}Xq(ac0,"readToBase64")});var Gp0=Y((LG3,dp0)=>{var{defineProperty:pi,getOwnPropertyDescriptor:_z5,getOwnPropertyNames:Dz5}=Object,Hz5=Object.prototype.hasOwnProperty,LZ=(I,d)=>pi(I,"name",{value:d,configurable:!0}),Fz5=(I,d)=>{for(var G in d)pi(I,G,{get:d[G],enumerable:!0})},gz5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Dz5(d))if(!Hz5.call(I,C)&&C!==G)pi(I,C,{get:()=>d[C],enumerable:!(Z=_z5(d,C))||Z.enumerable})}return I},Jz5=(I)=>gz5(pi({},"__esModule",{value:!0}),I),Ip0={};Fz5(Ip0,{constructStack:()=>OV1});dp0.exports=Jz5(Ip0);var NJ=LZ((I,d)=>{let G=[];if(I)G.push(I);if(d)for(let Z of d)G.push(Z);return G},"getAllAliases"),qD=LZ((I,d)=>{return`${I||"anonymous"}${d&&d.length>0?` (a.k.a. ${d.join(",")})`:""}`},"getMiddlewareNameWithAliases"),OV1=LZ(()=>{let I=[],d=[],G=!1,Z=new Set,C=LZ((_)=>_.sort((F,g)=>ec0[g.step]-ec0[F.step]||tc0[g.priority||"normal"]-tc0[F.priority||"normal"]),"sort"),W=LZ((_)=>{let F=!1,g=LZ((J)=>{let K=NJ(J.name,J.aliases);if(K.includes(_)){F=!0;for(let Q of K)Z.delete(Q);return!1}return!0},"filterCb");return I=I.filter(g),d=d.filter(g),F},"removeByName"),w=LZ((_)=>{let F=!1,g=LZ((J)=>{if(J.middleware===_){F=!0;for(let K of NJ(J.name,J.aliases))Z.delete(K);return!1}return!0},"filterCb");return I=I.filter(g),d=d.filter(g),F},"removeByReference"),B=LZ((_)=>{var F;return I.forEach((g)=>{_.add(g.middleware,{...g})}),d.forEach((g)=>{_.addRelativeTo(g.middleware,{...g})}),(F=_.identifyOnResolve)==null||F.call(_,X.identifyOnResolve()),_},"cloneTo"),A=LZ((_)=>{let F=[];return _.before.forEach((g)=>{if(g.before.length===0&&g.after.length===0)F.push(g);else F.push(...A(g))}),F.push(_),_.after.reverse().forEach((g)=>{if(g.before.length===0&&g.after.length===0)F.push(g);else F.push(...A(g))}),F},"expandRelativeMiddlewareList"),V=LZ((_=!1)=>{let F=[],g=[],J={};return I.forEach((Q)=>{let E={...Q,before:[],after:[]};for(let S of NJ(E.name,E.aliases))J[S]=E;F.push(E)}),d.forEach((Q)=>{let E={...Q,before:[],after:[]};for(let S of NJ(E.name,E.aliases))J[S]=E;g.push(E)}),g.forEach((Q)=>{if(Q.toMiddleware){let E=J[Q.toMiddleware];if(E===void 0){if(_)return;throw new Error(`${Q.toMiddleware} is not found when adding ${qD(Q.name,Q.aliases)} middleware ${Q.relation} ${Q.toMiddleware}`)}if(Q.relation==="after")E.after.push(Q);if(Q.relation==="before")E.before.push(Q)}}),C(F).map(A).reduce((Q,E)=>{return Q.push(...E),Q},[])},"getMiddlewareList"),X={add:(_,F={})=>{let{name:g,override:J,aliases:K}=F,Q={step:"initialize",priority:"normal",middleware:_,...F},E=NJ(g,K);if(E.length>0){if(E.some((S)=>Z.has(S))){if(!J)throw new Error(`Duplicate middleware name '${qD(g,K)}'`);for(let S of E){let P=I.findIndex((h)=>{var O;return h.name===S||((O=h.aliases)==null?void 0:O.some((T)=>T===S))});if(P===-1)continue;let $=I[P];if($.step!==Q.step||Q.priority!==$.priority)throw new Error(`"${qD($.name,$.aliases)}" middleware with ${$.priority} priority in ${$.step} step cannot be overridden by "${qD(g,K)}" middleware with ${Q.priority} priority in ${Q.step} step.`);I.splice(P,1)}}for(let S of E)Z.add(S)}I.push(Q)},addRelativeTo:(_,F)=>{let{name:g,override:J,aliases:K}=F,Q={middleware:_,...F},E=NJ(g,K);if(E.length>0){if(E.some((S)=>Z.has(S))){if(!J)throw new Error(`Duplicate middleware name '${qD(g,K)}'`);for(let S of E){let P=d.findIndex((h)=>{var O;return h.name===S||((O=h.aliases)==null?void 0:O.some((T)=>T===S))});if(P===-1)continue;let $=d[P];if($.toMiddleware!==Q.toMiddleware||$.relation!==Q.relation)throw new Error(`"${qD($.name,$.aliases)}" middleware ${$.relation} "${$.toMiddleware}" middleware cannot be overridden by "${qD(g,K)}" middleware ${Q.relation} "${Q.toMiddleware}" middleware.`);d.splice(P,1)}}for(let S of E)Z.add(S)}d.push(Q)},clone:()=>B(OV1()),use:(_)=>{_.applyToStack(X)},remove:(_)=>{if(typeof _==="string")return W(_);else return w(_)},removeByTag:(_)=>{let F=!1,g=LZ((J)=>{let{tags:K,name:Q,aliases:E}=J;if(K&&K.includes(_)){let S=NJ(Q,E);for(let P of S)Z.delete(P);return F=!0,!1}return!0},"filterCb");return I=I.filter(g),d=d.filter(g),F},concat:(_)=>{var F;let g=B(OV1());return g.use(_),g.identifyOnResolve(G||g.identifyOnResolve()||(((F=_.identifyOnResolve)==null?void 0:F.call(_))??!1)),g},applyToStack:B,identify:()=>{return V(!0).map((_)=>{let F=_.step??_.relation+" "+_.toMiddleware;return qD(_.name,_.aliases)+" - "+F})},identifyOnResolve(_){if(typeof _==="boolean")G=_;return G},resolve:(_,F)=>{for(let g of V().map((J)=>J.middleware).reverse())_=g(_,F);if(G)console.log(X.identify());return _}};return X},"constructStack"),ec0={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1},tc0={high:3,normal:2,low:1}});var Wp0=Y((Zp0)=>{Object.defineProperty(Zp0,"__esModule",{value:!0});Zp0.getAwsChunkedEncodingStream=void 0;var Kz5=B1("stream"),Nz5=(I,d)=>{let{base64Encoder:G,bodyLengthChecker:Z,checksumAlgorithmFn:C,checksumLocationName:W,streamHasher:w}=d,B=G!==void 0&&C!==void 0&&W!==void 0&&w!==void 0,A=B?w(C,I):void 0,V=new Kz5.Readable({read:()=>{}});return I.on("data",(X)=>{let _=Z(X)||0;V.push(`${_.toString(16)}\r
`),V.push(X),V.push(`\r
`)}),I.on("end",async()=>{if(V.push(`0\r
`),B){let X=G(await A);V.push(`${W}:${X}\r
`),V.push(`\r
`)}V.push(null)}),V};Zp0.getAwsChunkedEncodingStream=Nz5});var Yq=Y((PG3,zp0)=>{var{create:zz5,defineProperty:iy,getOwnPropertyDescriptor:Qz5,getOwnPropertyNames:fz5,getPrototypeOf:qz5}=Object,Rz5=Object.prototype.hasOwnProperty,N8=(I,d)=>iy(I,"name",{value:d,configurable:!0}),Uz5=(I,d)=>{for(var G in d)iy(I,G,{get:d[G],enumerable:!0})},Ap0=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of fz5(d))if(!Rz5.call(I,C)&&C!==G)iy(I,C,{get:()=>d[C],enumerable:!(Z=Qz5(d,C))||Z.enumerable})}return I},vz5=(I,d,G)=>(G=I!=null?zz5(qz5(I)):{},Ap0(d||!I||!I.__esModule?iy(G,"default",{value:I,enumerable:!0}):G,I)),Ez5=(I)=>Ap0(iy({},"__esModule",{value:!0}),I),Vp0={};Uz5(Vp0,{DEFAULT_REQUEST_TIMEOUT:()=>Pz5,NodeHttp2Handler:()=>mz5,NodeHttpHandler:()=>$z5,streamCollector:()=>bz5});zp0.exports=Ez5(Vp0);var Xp0=t8(),Yp0=TV1(),mV1=B1("http"),lV1=B1("https"),Mz5=["ECONNRESET","EPIPE","ETIMEDOUT"],_p0=N8((I)=>{let d={};for(let G of Object.keys(I)){let Z=I[G];d[G]=Array.isArray(Z)?Z.join(","):Z}return d},"getTransformedHeaders"),Sz5=N8((I,d,G=0)=>{if(!G)return;let Z=setTimeout(()=>{I.destroy(),d(Object.assign(new Error(`Socket timed out without establishing a connection within ${G} ms`),{name:"TimeoutError"}))},G);I.on("socket",(C)=>{if(C.connecting)C.on("connect",()=>{clearTimeout(Z)});else clearTimeout(Z)})},"setConnectionTimeout"),Lz5=N8((I,{keepAlive:d,keepAliveMsecs:G})=>{if(d!==!0)return;I.on("socket",(Z)=>{Z.setKeepAlive(d,G||0)})},"setSocketKeepAlive"),yz5=N8((I,d,G=0)=>{I.setTimeout(G,()=>{I.destroy(),d(Object.assign(new Error(`Connection timed out after ${G} ms`),{name:"TimeoutError"}))})},"setSocketTimeout"),Dp0=B1("stream"),wp0=1000;async function bV1(I,d,G=wp0){let Z=d.headers??{},C=Z.Expect||Z.expect,W=-1,w=!1;if(C==="100-continue")await Promise.race([new Promise((B)=>{W=Number(setTimeout(B,Math.max(wp0,G)))}),new Promise((B)=>{I.on("continue",()=>{clearTimeout(W),B()}),I.on("error",()=>{w=!0,clearTimeout(W),B()})})]);if(!w)Hp0(I,d.body)}N8(bV1,"writeRequestBody");function Hp0(I,d){if(d instanceof Dp0.Readable){d.pipe(I);return}if(d){if(Buffer.isBuffer(d)||typeof d==="string"){I.end(d);return}let G=d;if(typeof G==="object"&&G.buffer&&typeof G.byteOffset==="number"&&typeof G.byteLength==="number"){I.end(Buffer.from(G.buffer,G.byteOffset,G.byteLength));return}I.end(Buffer.from(d));return}I.end()}N8(Hp0,"writeBody");var Pz5=0,Fp0=class I{constructor(d){this.socketWarningTimestamp=0,this.metadata={handlerProtocol:"http/1.1"},this.configProvider=new Promise((G,Z)=>{if(typeof d==="function")d().then((C)=>{G(this.resolveDefaultConfig(C))}).catch(Z);else G(this.resolveDefaultConfig(d))})}static create(d){if(typeof(d==null?void 0:d.handle)==="function")return d;return new I(d)}static checkSocketUsage(d,G){var Z,C;let{sockets:W,requests:w,maxSockets:B}=d;if(typeof B!=="number"||B===1/0)return G;let A=15000;if(Date.now()-A<G)return G;if(W&&w)for(let V in W){let X=((Z=W[V])==null?void 0:Z.length)??0,_=((C=w[V])==null?void 0:C.length)??0;if(X>=B&&_>=2*B)return console.warn("@smithy/node-http-handler:WARN",`socket usage at capacity=${X} and ${_} additional requests are enqueued.`,"See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html","or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config."),Date.now()}return G}resolveDefaultConfig(d){let{requestTimeout:G,connectionTimeout:Z,socketTimeout:C,httpAgent:W,httpsAgent:w}=d||{},B=!0,A=50;return{connectionTimeout:Z,requestTimeout:G??C,httpAgent:(()=>{if(W instanceof mV1.Agent||typeof(W==null?void 0:W.destroy)==="function")return W;return new mV1.Agent({keepAlive:!0,maxSockets:50,...W})})(),httpsAgent:(()=>{if(w instanceof lV1.Agent||typeof(w==null?void 0:w.destroy)==="function")return w;return new lV1.Agent({keepAlive:!0,maxSockets:50,...w})})()}}destroy(){var d,G,Z,C;(G=(d=this.config)==null?void 0:d.httpAgent)==null||G.destroy(),(C=(Z=this.config)==null?void 0:Z.httpsAgent)==null||C.destroy()}async handle(d,{abortSignal:G}={}){if(!this.config)this.config=await this.configProvider;let Z;return new Promise((C,W)=>{let w=void 0,B=N8(async(S)=>{await w,clearTimeout(Z),C(S)},"resolve"),A=N8(async(S)=>{await w,W(S)},"reject");if(!this.config)throw new Error("Node HTTP request handler config is not resolved");if(G==null?void 0:G.aborted){let S=new Error("Request aborted");S.name="AbortError",A(S);return}let V=d.protocol==="https:",X=V?this.config.httpsAgent:this.config.httpAgent;Z=setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(X,this.socketWarningTimestamp)},this.config.socketAcquisitionWarningTimeout??(this.config.requestTimeout??2000)+(this.config.connectionTimeout??1000));let _=Yp0.buildQueryString(d.query||{}),F=void 0;if(d.username!=null||d.password!=null){let S=d.username??"",P=d.password??"";F=`${S}:${P}`}let g=d.path;if(_)g+=`?${_}`;if(d.fragment)g+=`#${d.fragment}`;let J={headers:d.headers,host:d.hostname,method:d.method,path:g,port:d.port,agent:X,auth:F},Q=(V?lV1.request:mV1.request)(J,(S)=>{let P=new Xp0.HttpResponse({statusCode:S.statusCode||-1,reason:S.statusMessage,headers:_p0(S.headers),body:S});B({response:P})});if(Q.on("error",(S)=>{if(Mz5.includes(S.code))A(Object.assign(S,{name:"TimeoutError"}));else A(S)}),Sz5(Q,A,this.config.connectionTimeout),yz5(Q,A,this.config.requestTimeout),G)G.onabort=()=>{Q.abort();let S=new Error("Request aborted");S.name="AbortError",A(S)};let E=J.agent;if(typeof E==="object"&&"keepAlive"in E)Lz5(Q,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});w=bV1(Q,d,this.config.requestTimeout).catch(W)})}updateHttpClientConfig(d,G){this.config=void 0,this.configProvider=this.configProvider.then((Z)=>{return{...Z,[d]:G}})}httpHandlerConfigs(){return this.config??{}}};N8(Fp0,"NodeHttpHandler");var $z5=Fp0,Bp0=B1("http2"),uz5=vz5(B1("http2")),gp0=class I{constructor(d){this.sessions=[],this.sessions=d??[]}poll(){if(this.sessions.length>0)return this.sessions.shift()}offerLast(d){this.sessions.push(d)}contains(d){return this.sessions.includes(d)}remove(d){this.sessions=this.sessions.filter((G)=>G!==d)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(d){for(let G of this.sessions)if(G===d){if(!G.destroyed)G.destroy()}}};N8(gp0,"NodeHttp2ConnectionPool");var Tz5=gp0,Jp0=class I{constructor(d){if(this.sessionCache=new Map,this.config=d,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrency must be greater than zero.")}lease(d,G){let Z=this.getUrlString(d),C=this.sessionCache.get(Z);if(C){let A=C.poll();if(A&&!this.config.disableConcurrency)return A}let W=uz5.default.connect(Z);if(this.config.maxConcurrency)W.settings({maxConcurrentStreams:this.config.maxConcurrency},(A)=>{if(A)throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+d.destination.toString())});W.unref();let w=N8(()=>{W.destroy(),this.deleteSession(Z,W)},"destroySessionCb");if(W.on("goaway",w),W.on("error",w),W.on("frameError",w),W.on("close",()=>this.deleteSession(Z,W)),G.requestTimeout)W.setTimeout(G.requestTimeout,w);let B=this.sessionCache.get(Z)||new Tz5;return B.offerLast(W),this.sessionCache.set(Z,B),W}deleteSession(d,G){let Z=this.sessionCache.get(d);if(!Z)return;if(!Z.contains(G))return;Z.remove(G),this.sessionCache.set(d,Z)}release(d,G){var Z;let C=this.getUrlString(d);(Z=this.sessionCache.get(C))==null||Z.offerLast(G)}destroy(){for(let[d,G]of this.sessionCache){for(let Z of G){if(!Z.destroyed)Z.destroy();G.remove(Z)}this.sessionCache.delete(d)}}setMaxConcurrentStreams(d){if(this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw new RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=d}setDisableConcurrentStreams(d){this.config.disableConcurrency=d}getUrlString(d){return d.destination.toString()}};N8(Jp0,"NodeHttp2ConnectionManager");var Oz5=Jp0,Kp0=class I{constructor(d){this.metadata={handlerProtocol:"h2"},this.connectionManager=new Oz5({}),this.configProvider=new Promise((G,Z)=>{if(typeof d==="function")d().then((C)=>{G(C||{})}).catch(Z);else G(d||{})})}static create(d){if(typeof(d==null?void 0:d.handle)==="function")return d;return new I(d)}destroy(){this.connectionManager.destroy()}async handle(d,{abortSignal:G}={}){if(!this.config){if(this.config=await this.configProvider,this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||!1),this.config.maxConcurrentStreams)this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}let{requestTimeout:Z,disableConcurrentStreams:C}=this.config;return new Promise((W,w)=>{var B;let A=!1,V=void 0,X=N8(async(c)=>{await V,W(c)},"resolve"),_=N8(async(c)=>{await V,w(c)},"reject");if(G==null?void 0:G.aborted){A=!0;let c=new Error("Request aborted");c.name="AbortError",_(c);return}let{hostname:F,method:g,port:J,protocol:K,query:Q}=d,E="";if(d.username!=null||d.password!=null){let c=d.username??"",c1=d.password??"";E=`${c}:${c1}@`}let S=`${K}//${E}${F}${J?`:${J}`:""}`,P={destination:new URL(S)},$=this.connectionManager.lease(P,{requestTimeout:(B=this.config)==null?void 0:B.sessionTimeout,disableConcurrentStreams:C||!1}),h=N8((c)=>{if(C)this.destroySession($);A=!0,_(c)},"rejectWithDestroy"),O=Yp0.buildQueryString(Q||{}),T=d.path;if(O)T+=`?${O}`;if(d.fragment)T+=`#${d.fragment}`;let V1=$.request({...d.headers,[Bp0.constants.HTTP2_HEADER_PATH]:T,[Bp0.constants.HTTP2_HEADER_METHOD]:g});if($.ref(),V1.on("response",(c)=>{let c1=new Xp0.HttpResponse({statusCode:c[":status"]||-1,headers:_p0(c),body:V1});if(A=!0,X({response:c1}),C)$.close(),this.connectionManager.deleteSession(S,$)}),Z)V1.setTimeout(Z,()=>{V1.close();let c=new Error(`Stream timed out because of no activity for ${Z} ms`);c.name="TimeoutError",h(c)});if(G)G.onabort=()=>{V1.close();let c=new Error("Request aborted");c.name="AbortError",h(c)};V1.on("frameError",(c,c1,o1)=>{h(new Error(`Frame type id ${c} in stream id ${o1} has failed with code ${c1}.`))}),V1.on("error",h),V1.on("aborted",()=>{h(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${V1.rstCode}.`))}),V1.on("close",()=>{if($.unref(),C)$.destroy();if(!A)h(new Error("Unexpected error: http2 request did not get a response"))}),V=bV1(V1,d,Z)})}updateHttpClientConfig(d,G){this.config=void 0,this.configProvider=this.configProvider.then((Z)=>{return{...Z,[d]:G}})}httpHandlerConfigs(){return this.config??{}}destroySession(d){if(!d.destroyed)d.destroy()}};N8(Kp0,"NodeHttp2Handler");var mz5=Kp0,Np0=class I extends Dp0.Writable{constructor(){super(...arguments);this.bufferedBytes=[]}_write(d,G,Z){this.bufferedBytes.push(d),Z()}};N8(Np0,"Collector");var lz5=Np0,bz5=N8((I)=>new Promise((d,G)=>{let Z=new lz5;I.pipe(Z),I.on("error",(C)=>{Z.end(),G(C)}),Z.on("error",G),Z.on("finish",function(){let C=new Uint8Array(Buffer.concat(this.bufferedBytes));d(C)})}),"streamCollector")});var Rp0=Y((fp0)=>{Object.defineProperty(fp0,"__esModule",{value:!0});fp0.sdkStreamMixin=void 0;var hz5=Yq(),jz5=Vq(),hV1=B1("stream"),kz5=B1("util"),Qp0="The stream has already been transformed.",xz5=(I)=>{var d,G;if(!(I instanceof hV1.Readable)){let W=((G=(d=I===null||I===void 0?void 0:I.__proto__)===null||d===void 0?void 0:d.constructor)===null||G===void 0?void 0:G.name)||I;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${W}`)}let Z=!1,C=async()=>{if(Z)throw new Error(Qp0);return Z=!0,await hz5.streamCollector(I)};return Object.assign(I,{transformToByteArray:C,transformToString:async(W)=>{let w=await C();if(W===void 0||Buffer.isEncoding(W))return jz5.fromArrayBuffer(w.buffer,w.byteOffset,w.byteLength).toString(W);else return new kz5.TextDecoder(W).decode(w)},transformToWebStream:()=>{if(Z)throw new Error(Qp0);if(I.readableFlowing!==null)throw new Error("The stream has been consumed by other callbacks.");if(typeof hV1.Readable.toWeb!=="function")throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available.");return Z=!0,hV1.Readable.toWeb(I)}})};fp0.sdkStreamMixin=xz5});var yp0=Y((uG3,ri)=>{var{defineProperty:ii,getOwnPropertyDescriptor:cz5,getOwnPropertyNames:pz5}=Object,iz5=Object.prototype.hasOwnProperty,xV1=(I,d)=>ii(I,"name",{value:d,configurable:!0}),nz5=(I,d)=>{for(var G in d)ii(I,G,{get:d[G],enumerable:!0})},jV1=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of pz5(d))if(!iz5.call(I,C)&&C!==G)ii(I,C,{get:()=>d[C],enumerable:!(Z=cz5(d,C))||Z.enumerable})}return I},Up0=(I,d,G)=>(jV1(I,d,"default"),G&&jV1(G,d,"default")),rz5=(I)=>jV1(ii({},"__esModule",{value:!0}),I),ni={};nz5(ni,{Uint8ArrayBlobAdapter:()=>kV1});ri.exports=rz5(ni);var vp0=fD(),Ep0=SZ();function Mp0(I,d="utf-8"){if(d==="base64")return vp0.toBase64(I);return Ep0.toUtf8(I)}xV1(Mp0,"transformToString");function Sp0(I,d){if(d==="base64")return kV1.mutate(vp0.fromBase64(I));return kV1.mutate(Ep0.fromUtf8(I))}xV1(Sp0,"transformFromString");var Lp0=class I extends Uint8Array{static fromString(d,G="utf-8"){switch(typeof d){case"string":return Sp0(d,G);default:throw new Error(`Unsupported conversion from ${typeof d} to Uint8ArrayBlobAdapter.`)}}static mutate(d){return Object.setPrototypeOf(d,I.prototype),d}transformToString(d="utf-8"){return Mp0(this,d)}};xV1(Lp0,"Uint8ArrayBlobAdapter");var kV1=Lp0;Up0(ni,Wp0(),ri.exports);Up0(ni,Rp0(),ri.exports)});var h2=Y((TG3,Ii0)=>{var{defineProperty:ei,getOwnPropertyDescriptor:az5,getOwnPropertyNames:sz5}=Object,oz5=Object.prototype.hasOwnProperty,t0=(I,d)=>ei(I,"name",{value:d,configurable:!0}),ez5=(I,d)=>{for(var G in d)ei(I,G,{get:d[G],enumerable:!0})},tz5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of sz5(d))if(!oz5.call(I,C)&&C!==G)ei(I,C,{get:()=>d[C],enumerable:!(Z=az5(d,C))||Z.enumerable})}return I},IQ5=(I)=>tz5(ei({},"__esModule",{value:!0}),I),$p0={};ez5($p0,{Client:()=>GQ5,Command:()=>lp0,LazyJsonString:()=>eQ5,NoOpLogger:()=>dQ5,SENSITIVE_STRING:()=>WQ5,ServiceException:()=>hQ5,StringWrapper:()=>oy,_json:()=>sV1,collectBody:()=>ZQ5,convertMap:()=>tQ5,createAggregatedClient:()=>wQ5,dateToUtcString:()=>pp0,decorateServiceException:()=>np0,emitWarningIfUnsupportedVersion:()=>cQ5,expectBoolean:()=>AQ5,expectByte:()=>aV1,expectFloat32:()=>ai,expectInt:()=>XQ5,expectInt32:()=>nV1,expectLong:()=>ay,expectNonNull:()=>_Q5,expectNumber:()=>ry,expectObject:()=>hp0,expectShort:()=>rV1,expectString:()=>DQ5,expectUnion:()=>HQ5,extendedEncodeURIComponent:()=>oi,getArrayIfSingleItem:()=>oQ5,getDefaultClientConfiguration:()=>aQ5,getDefaultExtensionConfiguration:()=>ap0,getValueFromTextNode:()=>sp0,handleFloat:()=>JQ5,limitedParseDouble:()=>tV1,limitedParseFloat:()=>KQ5,limitedParseFloat32:()=>NQ5,loadConfigsForDefaultMode:()=>xQ5,logger:()=>sy,map:()=>dX1,parseBoolean:()=>BQ5,parseEpochTimestamp:()=>yQ5,parseRfc3339DateTime:()=>RQ5,parseRfc3339DateTimeWithOffset:()=>vQ5,parseRfc7231DateTime:()=>LQ5,resolveDefaultRuntimeConfig:()=>sQ5,resolvedPath:()=>Cf5,serializeFloat:()=>Wf5,splitEvery:()=>tp0,strictParseByte:()=>cp0,strictParseDouble:()=>eV1,strictParseFloat:()=>FQ5,strictParseFloat32:()=>jp0,strictParseInt:()=>zQ5,strictParseInt32:()=>QQ5,strictParseLong:()=>xp0,strictParseShort:()=>_q,take:()=>If5,throwDefaultError:()=>rp0,withBaseException:()=>jQ5});Ii0.exports=IQ5($p0);var up0=class I{trace(){}debug(){}info(){}warn(){}error(){}};t0(up0,"NoOpLogger");var dQ5=up0,Tp0=Gp0(),Op0=class I{constructor(d){this.middlewareStack=Tp0.constructStack(),this.config=d}send(d,G,Z){let C=typeof G!=="function"?G:void 0,W=typeof G==="function"?G:Z,w=d.resolveMiddleware(this.middlewareStack,this.config,C);if(W)w(d).then((B)=>W(null,B.output),(B)=>W(B)).catch(()=>{});else return w(d).then((B)=>B.output)}destroy(){if(this.config.requestHandler.destroy)this.config.requestHandler.destroy()}};t0(Op0,"Client");var GQ5=Op0,cV1=yp0(),ZQ5=t0(async(I=new Uint8Array,d)=>{if(I instanceof Uint8Array)return cV1.Uint8ArrayBlobAdapter.mutate(I);if(!I)return cV1.Uint8ArrayBlobAdapter.mutate(new Uint8Array);let G=d.streamCollector(I);return cV1.Uint8ArrayBlobAdapter.mutate(await G)},"collectBody"),iV1=k3(),mp0=class I{constructor(){this.middlewareStack=Tp0.constructStack()}static classBuilder(){return new CQ5}resolveMiddlewareWithContext(d,G,Z,{middlewareFn:C,clientName:W,commandName:w,inputFilterSensitiveLog:B,outputFilterSensitiveLog:A,smithyContext:V,additionalContext:X,CommandCtor:_}){for(let Q of C.bind(this)(_,d,G,Z))this.middlewareStack.use(Q);let F=d.concat(this.middlewareStack),{logger:g}=G,J={logger:g,clientName:W,commandName:w,inputFilterSensitiveLog:B,outputFilterSensitiveLog:A,[iV1.SMITHY_CONTEXT_KEY]:{...V},...X},{requestHandler:K}=G;return F.resolve((Q)=>K.handle(Q.request,Z||{}),J)}};t0(mp0,"Command");var lp0=mp0,bp0=class I{constructor(){this._init=()=>{},this._ep={},this._middlewareFn=()=>[],this._commandName="",this._clientName="",this._additionalContext={},this._smithyContext={},this._inputFilterSensitiveLog=(d)=>d,this._outputFilterSensitiveLog=(d)=>d,this._serializer=null,this._deserializer=null}init(d){this._init=d}ep(d){return this._ep=d,this}m(d){return this._middlewareFn=d,this}s(d,G,Z={}){return this._smithyContext={service:d,operation:G,...Z},this}c(d={}){return this._additionalContext=d,this}n(d,G){return this._clientName=d,this._commandName=G,this}f(d=(Z)=>Z,G=(Z)=>Z){return this._inputFilterSensitiveLog=d,this._outputFilterSensitiveLog=G,this}ser(d){return this._serializer=d,this}de(d){return this._deserializer=d,this}build(){var d;let G=this,Z;return Z=(d=class extends lp0{constructor(...[C]){super();this.serialize=G._serializer,this.deserialize=G._deserializer,this.input=C??{},G._init(this)}static getEndpointParameterInstructions(){return G._ep}resolveMiddleware(C,W,w){return this.resolveMiddlewareWithContext(C,W,w,{CommandCtor:Z,middlewareFn:G._middlewareFn,clientName:G._clientName,commandName:G._commandName,inputFilterSensitiveLog:G._inputFilterSensitiveLog,outputFilterSensitiveLog:G._outputFilterSensitiveLog,smithyContext:G._smithyContext,additionalContext:G._additionalContext})}},t0(d,"CommandRef"),d)}};t0(bp0,"ClassBuilder");var CQ5=bp0,WQ5="***SensitiveInformation***",wQ5=t0((I,d)=>{for(let G of Object.keys(I)){let Z=I[G],C=t0(async function(w,B,A){let V=new Z(w);if(typeof B==="function")this.send(V,B);else if(typeof A==="function"){if(typeof B!=="object")throw new Error(`Expected http options but got ${typeof B}`);this.send(V,B||{},A)}else return this.send(V,B)},"methodImpl"),W=(G[0].toLowerCase()+G.slice(1)).replace(/Command$/,"");d.prototype[W]=C}},"createAggregatedClient"),BQ5=t0((I)=>{switch(I){case"true":return!0;case"false":return!1;default:throw new Error(`Unable to parse boolean value "${I}"`)}},"parseBoolean"),AQ5=t0((I)=>{if(I===null||I===void 0)return;if(typeof I==="number"){if(I===0||I===1)sy.warn(si(`Expected boolean, got ${typeof I}: ${I}`));if(I===0)return!1;if(I===1)return!0}if(typeof I==="string"){let d=I.toLowerCase();if(d==="false"||d==="true")sy.warn(si(`Expected boolean, got ${typeof I}: ${I}`));if(d==="false")return!1;if(d==="true")return!0}if(typeof I==="boolean")return I;throw new TypeError(`Expected boolean, got ${typeof I}: ${I}`)},"expectBoolean"),ry=t0((I)=>{if(I===null||I===void 0)return;if(typeof I==="string"){let d=parseFloat(I);if(!Number.isNaN(d)){if(String(d)!==String(I))sy.warn(si(`Expected number but observed string: ${I}`));return d}}if(typeof I==="number")return I;throw new TypeError(`Expected number, got ${typeof I}: ${I}`)},"expectNumber"),VQ5=Math.ceil(340282346638528860000000000000000000000),ai=t0((I)=>{let d=ry(I);if(d!==void 0&&!Number.isNaN(d)&&d!==1/0&&d!==-1/0){if(Math.abs(d)>VQ5)throw new TypeError(`Expected 32-bit float, got ${I}`)}return d},"expectFloat32"),ay=t0((I)=>{if(I===null||I===void 0)return;if(Number.isInteger(I)&&!Number.isNaN(I))return I;throw new TypeError(`Expected integer, got ${typeof I}: ${I}`)},"expectLong"),XQ5=ay,nV1=t0((I)=>oV1(I,32),"expectInt32"),rV1=t0((I)=>oV1(I,16),"expectShort"),aV1=t0((I)=>oV1(I,8),"expectByte"),oV1=t0((I,d)=>{let G=ay(I);if(G!==void 0&&YQ5(G,d)!==G)throw new TypeError(`Expected ${d}-bit integer, got ${I}`);return G},"expectSizedInt"),YQ5=t0((I,d)=>{switch(d){case 32:return Int32Array.of(I)[0];case 16:return Int16Array.of(I)[0];case 8:return Int8Array.of(I)[0]}},"castInt"),_Q5=t0((I,d)=>{if(I===null||I===void 0){if(d)throw new TypeError(`Expected a non-null value for ${d}`);throw new TypeError("Expected a non-null value")}return I},"expectNonNull"),hp0=t0((I)=>{if(I===null||I===void 0)return;if(typeof I==="object"&&!Array.isArray(I))return I;let d=Array.isArray(I)?"array":typeof I;throw new TypeError(`Expected object, got ${d}: ${I}`)},"expectObject"),DQ5=t0((I)=>{if(I===null||I===void 0)return;if(typeof I==="string")return I;if(["boolean","number","bigint"].includes(typeof I))return sy.warn(si(`Expected string, got ${typeof I}: ${I}`)),String(I);throw new TypeError(`Expected string, got ${typeof I}: ${I}`)},"expectString"),HQ5=t0((I)=>{if(I===null||I===void 0)return;let d=hp0(I),G=Object.entries(d).filter(([,Z])=>Z!=null).map(([Z])=>Z);if(G.length===0)throw new TypeError("Unions must have exactly one non-null member. None were found.");if(G.length>1)throw new TypeError(`Unions must have exactly one non-null member. Keys ${G} were not null.`);return d},"expectUnion"),eV1=t0((I)=>{if(typeof I=="string")return ry(Hq(I));return ry(I)},"strictParseDouble"),FQ5=eV1,jp0=t0((I)=>{if(typeof I=="string")return ai(Hq(I));return ai(I)},"strictParseFloat32"),gQ5=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g,Hq=t0((I)=>{let d=I.match(gQ5);if(d===null||d[0].length!==I.length)throw new TypeError("Expected real number, got implicit NaN");return parseFloat(I)},"parseNumber"),tV1=t0((I)=>{if(typeof I=="string")return kp0(I);return ry(I)},"limitedParseDouble"),JQ5=tV1,KQ5=tV1,NQ5=t0((I)=>{if(typeof I=="string")return kp0(I);return ai(I)},"limitedParseFloat32"),kp0=t0((I)=>{switch(I){case"NaN":return NaN;case"Infinity":return 1/0;case"-Infinity":return-1/0;default:throw new Error(`Unable to parse float value: ${I}`)}},"parseFloatString"),xp0=t0((I)=>{if(typeof I==="string")return ay(Hq(I));return ay(I)},"strictParseLong"),zQ5=xp0,QQ5=t0((I)=>{if(typeof I==="string")return nV1(Hq(I));return nV1(I)},"strictParseInt32"),_q=t0((I)=>{if(typeof I==="string")return rV1(Hq(I));return rV1(I)},"strictParseShort"),cp0=t0((I)=>{if(typeof I==="string")return aV1(Hq(I));return aV1(I)},"strictParseByte"),si=t0((I)=>{return String(new TypeError(I).stack||I).split(`
`).slice(0,5).filter((d)=>!d.includes("stackTraceWarning")).join(`
`)},"stackTraceWarning"),sy={warn:console.warn},fQ5=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],IX1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function pp0(I){let d=I.getUTCFullYear(),G=I.getUTCMonth(),Z=I.getUTCDay(),C=I.getUTCDate(),W=I.getUTCHours(),w=I.getUTCMinutes(),B=I.getUTCSeconds(),A=C<10?`0${C}`:`${C}`,V=W<10?`0${W}`:`${W}`,X=w<10?`0${w}`:`${w}`,_=B<10?`0${B}`:`${B}`;return`${fQ5[Z]}, ${A} ${IX1[G]} ${d} ${V}:${X}:${_} GMT`}t0(pp0,"dateToUtcString");var qQ5=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/),RQ5=t0((I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let d=qQ5.exec(I);if(!d)throw new TypeError("Invalid RFC-3339 date-time value");let[G,Z,C,W,w,B,A,V]=d,X=_q(Dq(Z)),_=XB(C,"month",1,12),F=XB(W,"day",1,31);return ny(X,_,F,{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V})},"parseRfc3339DateTime"),UQ5=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/),vQ5=t0((I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-3339 date-times must be expressed as strings");let d=UQ5.exec(I);if(!d)throw new TypeError("Invalid RFC-3339 date-time value");let[G,Z,C,W,w,B,A,V,X]=d,_=_q(Dq(Z)),F=XB(C,"month",1,12),g=XB(W,"day",1,31),J=ny(_,F,g,{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V});if(X.toUpperCase()!="Z")J.setTime(J.getTime()-bQ5(X));return J},"parseRfc3339DateTimeWithOffset"),EQ5=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),MQ5=new RegExp(/^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/),SQ5=new RegExp(/^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/),LQ5=t0((I)=>{if(I===null||I===void 0)return;if(typeof I!=="string")throw new TypeError("RFC-7231 date-times must be expressed as strings");let d=EQ5.exec(I);if(d){let[G,Z,C,W,w,B,A,V]=d;return ny(_q(Dq(W)),pV1(C),XB(Z,"day",1,31),{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V})}if(d=MQ5.exec(I),d){let[G,Z,C,W,w,B,A,V]=d;return uQ5(ny(PQ5(W),pV1(C),XB(Z,"day",1,31),{hours:w,minutes:B,seconds:A,fractionalMilliseconds:V}))}if(d=SQ5.exec(I),d){let[G,Z,C,W,w,B,A,V]=d;return ny(_q(Dq(V)),pV1(Z),XB(C.trimLeft(),"day",1,31),{hours:W,minutes:w,seconds:B,fractionalMilliseconds:A})}throw new TypeError("Invalid RFC-7231 date-time value")},"parseRfc7231DateTime"),yQ5=t0((I)=>{if(I===null||I===void 0)return;let d;if(typeof I==="number")d=I;else if(typeof I==="string")d=eV1(I);else throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation");if(Number.isNaN(d)||d===1/0||d===-1/0)throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics");return new Date(Math.round(d*1000))},"parseEpochTimestamp"),ny=t0((I,d,G,Z)=>{let C=d-1;return OQ5(I,C,G),new Date(Date.UTC(I,C,G,XB(Z.hours,"hour",0,23),XB(Z.minutes,"minute",0,59),XB(Z.seconds,"seconds",0,60),lQ5(Z.fractionalMilliseconds)))},"buildDate"),PQ5=t0((I)=>{let d=new Date().getUTCFullYear(),G=Math.floor(d/100)*100+_q(Dq(I));if(G<d)return G+100;return G},"parseTwoDigitYear"),$Q5=1576800000000,uQ5=t0((I)=>{if(I.getTime()-new Date().getTime()>$Q5)return new Date(Date.UTC(I.getUTCFullYear()-100,I.getUTCMonth(),I.getUTCDate(),I.getUTCHours(),I.getUTCMinutes(),I.getUTCSeconds(),I.getUTCMilliseconds()));return I},"adjustRfc850Year"),pV1=t0((I)=>{let d=IX1.indexOf(I);if(d<0)throw new TypeError(`Invalid month: ${I}`);return d+1},"parseMonthByShortName"),TQ5=[31,28,31,30,31,30,31,31,30,31,30,31],OQ5=t0((I,d,G)=>{let Z=TQ5[d];if(d===1&&mQ5(I))Z=29;if(G>Z)throw new TypeError(`Invalid day for ${IX1[d]} in ${I}: ${G}`)},"validateDayOfMonth"),mQ5=t0((I)=>{return I%4===0&&(I%100!==0||I%400===0)},"isLeapYear"),XB=t0((I,d,G,Z)=>{let C=cp0(Dq(I));if(C<G||C>Z)throw new TypeError(`${d} must be between ${G} and ${Z}, inclusive`);return C},"parseDateValue"),lQ5=t0((I)=>{if(I===null||I===void 0)return 0;return jp0("0."+I)*1000},"parseMilliseconds"),bQ5=t0((I)=>{let d=I[0],G=1;if(d=="+")G=1;else if(d=="-")G=-1;else throw new TypeError(`Offset direction, ${d}, must be "+" or "-"`);let Z=Number(I.substring(1,3)),C=Number(I.substring(4,6));return G*(Z*60+C)*60*1000},"parseOffsetToMilliseconds"),Dq=t0((I)=>{let d=0;while(d<I.length-1&&I.charAt(d)==="0")d++;if(d===0)return I;return I.slice(d)},"stripLeadingZeroes"),ip0=class I extends Error{constructor(d){super(d.message);Object.setPrototypeOf(this,I.prototype),this.name=d.name,this.$fault=d.$fault,this.$metadata=d.$metadata}};t0(ip0,"ServiceException");var hQ5=ip0,np0=t0((I,d={})=>{Object.entries(d).filter(([,Z])=>Z!==void 0).forEach(([Z,C])=>{if(I[Z]==null||I[Z]==="")I[Z]=C});let G=I.message||I.Message||"UnknownError";return I.message=G,delete I.Message,I},"decorateServiceException"),rp0=t0(({output:I,parsedBody:d,exceptionCtor:G,errorCode:Z})=>{let C=kQ5(I),W=C.httpStatusCode?C.httpStatusCode+"":void 0,w=new G({name:(d==null?void 0:d.code)||(d==null?void 0:d.Code)||Z||W||"UnknownError",$fault:"client",$metadata:C});throw np0(w,d)},"throwDefaultError"),jQ5=t0((I)=>{return({output:d,parsedBody:G,errorCode:Z})=>{rp0({output:d,parsedBody:G,exceptionCtor:I,errorCode:Z})}},"withBaseException"),kQ5=t0((I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),"deserializeMetadata"),xQ5=t0((I)=>{switch(I){case"standard":return{retryMode:"standard",connectionTimeout:3100};case"in-region":return{retryMode:"standard",connectionTimeout:1100};case"cross-region":return{retryMode:"standard",connectionTimeout:3100};case"mobile":return{retryMode:"standard",connectionTimeout:30000};default:return{}}},"loadConfigsForDefaultMode"),Pp0=!1,cQ5=t0((I)=>{if(I&&!Pp0&&parseInt(I.substring(1,I.indexOf(".")))<14)Pp0=!0},"emitWarningIfUnsupportedVersion"),pQ5=t0((I)=>{let d=[];for(let G in iV1.AlgorithmId){let Z=iV1.AlgorithmId[G];if(I[Z]===void 0)continue;d.push({algorithmId:()=>Z,checksumConstructor:()=>I[Z]})}return{_checksumAlgorithms:d,addChecksumAlgorithm(G){this._checksumAlgorithms.push(G)},checksumAlgorithms(){return this._checksumAlgorithms}}},"getChecksumConfiguration"),iQ5=t0((I)=>{let d={};return I.checksumAlgorithms().forEach((G)=>{d[G.algorithmId()]=G.checksumConstructor()}),d},"resolveChecksumRuntimeConfig"),nQ5=t0((I)=>{let d=I.retryStrategy;return{setRetryStrategy(G){d=G},retryStrategy(){return d}}},"getRetryConfiguration"),rQ5=t0((I)=>{let d={};return d.retryStrategy=I.retryStrategy(),d},"resolveRetryRuntimeConfig"),ap0=t0((I)=>{return{...pQ5(I),...nQ5(I)}},"getDefaultExtensionConfiguration"),aQ5=ap0,sQ5=t0((I)=>{return{...iQ5(I),...rQ5(I)}},"resolveDefaultRuntimeConfig");function oi(I){return encodeURIComponent(I).replace(/[!'()*]/g,function(d){return"%"+d.charCodeAt(0).toString(16).toUpperCase()})}t0(oi,"extendedEncodeURIComponent");var oQ5=t0((I)=>Array.isArray(I)?I:[I],"getArrayIfSingleItem"),sp0=t0((I)=>{for(let G in I)if(I.hasOwnProperty(G)&&I[G]["#text"]!==void 0)I[G]=I[G]["#text"];else if(typeof I[G]==="object"&&I[G]!==null)I[G]=sp0(I[G]);return I},"getValueFromTextNode"),oy=t0(function(){let I=Object.getPrototypeOf(this).constructor,G=new(Function.bind.apply(String,[null,...arguments]));return Object.setPrototypeOf(G,I.prototype),G},"StringWrapper");oy.prototype=Object.create(String.prototype,{constructor:{value:oy,enumerable:!1,writable:!0,configurable:!0}});Object.setPrototypeOf(oy,String);var op0=class I extends oy{deserializeJSON(){return JSON.parse(super.toString())}toJSON(){return super.toString()}static fromObject(d){if(d instanceof I)return d;else if(d instanceof String||typeof d==="string")return new I(d);return new I(JSON.stringify(d))}};t0(op0,"LazyJsonString");var eQ5=op0;function dX1(I,d,G){let Z,C,W;if(typeof d==="undefined"&&typeof G==="undefined")Z={},W=I;else if(Z=I,typeof d==="function")return C=d,W=G,df5(Z,C,W);else W=d;for(let w of Object.keys(W)){if(!Array.isArray(W[w])){Z[w]=W[w];continue}ep0(Z,null,W,w)}return Z}t0(dX1,"map");var tQ5=t0((I)=>{let d={};for(let[G,Z]of Object.entries(I||{}))d[G]=[,Z];return d},"convertMap"),If5=t0((I,d)=>{let G={};for(let Z in d)ep0(G,I,d,Z);return G},"take"),df5=t0((I,d,G)=>{return dX1(I,Object.entries(G).reduce((Z,[C,W])=>{if(Array.isArray(W))Z[C]=W;else if(typeof W==="function")Z[C]=[d,W()];else Z[C]=[d,W];return Z},{}))},"mapWithFilter"),ep0=t0((I,d,G,Z)=>{if(d!==null){let w=G[Z];if(typeof w==="function")w=[,w];let[B=Gf5,A=Zf5,V=Z]=w;if(typeof B==="function"&&B(d[V])||typeof B!=="function"&&!!B)I[Z]=A(d[V]);return}let[C,W]=G[Z];if(typeof W==="function"){let w,B=C===void 0&&(w=W())!=null,A=typeof C==="function"&&!!C(void 0)||typeof C!=="function"&&!!C;if(B)I[Z]=w;else if(A)I[Z]=W()}else{let w=C===void 0&&W!=null,B=typeof C==="function"&&!!C(W)||typeof C!=="function"&&!!C;if(w||B)I[Z]=W}},"applyInstruction"),Gf5=t0((I)=>I!=null,"nonNullish"),Zf5=t0((I)=>I,"pass"),Cf5=t0((I,d,G,Z,C,W)=>{if(d!=null&&d[G]!==void 0){let w=Z();if(w.length<=0)throw new Error("Empty value provided for input HTTP label: "+G+".");I=I.replace(C,W?w.split("/").map((B)=>oi(B)).join("/"):oi(w))}else throw new Error("No value provided for input HTTP label: "+G+".");return I},"resolvedPath"),Wf5=t0((I)=>{if(I!==I)return"NaN";switch(I){case 1/0:return"Infinity";case-1/0:return"-Infinity";default:return I}},"serializeFloat"),sV1=t0((I)=>{if(I==null)return{};if(Array.isArray(I))return I.filter((d)=>d!=null).map(sV1);if(typeof I==="object"){let d={};for(let G of Object.keys(I)){if(I[G]==null)continue;d[G]=sV1(I[G])}return d}return I},"_json");function tp0(I,d,G){if(G<=0||!Number.isInteger(G))throw new Error("Invalid number of delimiters ("+G+") for splitEvery.");let Z=I.split(d);if(G===1)return Z;let C=[],W="";for(let w=0;w<Z.length;w++){if(W==="")W=Z[w];else W+=d+Z[w];if((w+1)%G===0)C.push(W),W=""}if(W!=="")C.push(W);return C}t0(tp0,"splitEvery")});var ey=Y((di0)=>{Object.defineProperty(di0,"__esModule",{value:!0});di0.getHostHeaderPlugin=di0.hostHeaderMiddlewareOptions=di0.hostHeaderMiddleware=di0.resolveHostHeaderConfig=void 0;var wf5=t8();function Bf5(I){return I}di0.resolveHostHeaderConfig=Bf5;var Af5=(I)=>(d)=>async(G)=>{if(!wf5.HttpRequest.isInstance(G.request))return d(G);let{request:Z}=G,{handlerProtocol:C=""}=I.requestHandler.metadata||{};if(C.indexOf("h2")>=0&&!Z.headers[":authority"])delete Z.headers.host,Z.headers[":authority"]="";else if(!Z.headers.host){let W=Z.hostname;if(Z.port!=null)W+=`:${Z.port}`;Z.headers.host=W}return d(G)};di0.hostHeaderMiddleware=Af5;di0.hostHeaderMiddlewareOptions={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:!0};var Vf5=(I)=>({applyToStack:(d)=>{d.add(di0.hostHeaderMiddleware(I),di0.hostHeaderMiddlewareOptions)}});di0.getHostHeaderPlugin=Vf5});var Vi0=Y((Wi0)=>{Object.defineProperty(Wi0,"__esModule",{value:!0});Wi0.getLoggerPlugin=Wi0.loggerMiddlewareOptions=Wi0.loggerMiddleware=void 0;var Yf5=()=>(I,d)=>async(G)=>{var Z,C;try{let W=await I(G),{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X,overrideOutputFilterSensitiveLog:_}=V,F=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog,g=_!==null&&_!==void 0?_:d.outputFilterSensitiveLog,{$metadata:J,...K}=W.output;return(Z=A===null||A===void 0?void 0:A.info)===null||Z===void 0||Z.call(A,{clientName:w,commandName:B,input:F(G.input),output:g(K),metadata:J}),W}catch(W){let{clientName:w,commandName:B,logger:A,dynamoDbDocumentClientOptions:V={}}=d,{overrideInputFilterSensitiveLog:X}=V,_=X!==null&&X!==void 0?X:d.inputFilterSensitiveLog;throw(C=A===null||A===void 0?void 0:A.error)===null||C===void 0||C.call(A,{clientName:w,commandName:B,input:_(G.input),error:W,metadata:W.$metadata}),W}};Wi0.loggerMiddleware=Yf5;Wi0.loggerMiddlewareOptions={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:!0};var _f5=(I)=>({applyToStack:(d)=>{d.add(Wi0.loggerMiddleware(),Wi0.loggerMiddlewareOptions)}});Wi0.getLoggerPlugin=_f5});var ty=Y((GX1)=>{Object.defineProperty(GX1,"__esModule",{value:!0});var Df5=x1();Df5.__exportStar(Vi0(),GX1)});var IP=Y((Yi0)=>{Object.defineProperty(Yi0,"__esModule",{value:!0});Yi0.getRecursionDetectionPlugin=Yi0.addRecursionDetectionMiddlewareOptions=Yi0.recursionDetectionMiddleware=void 0;var Hf5=t8(),Xi0="X-Amzn-Trace-Id",Ff5="AWS_LAMBDA_FUNCTION_NAME",gf5="_X_AMZN_TRACE_ID",Jf5=(I)=>(d)=>async(G)=>{let{request:Z}=G;if(!Hf5.HttpRequest.isInstance(Z)||I.runtime!=="node"||Z.headers.hasOwnProperty(Xi0))return d(G);let C=process.env[Ff5],W=process.env[gf5],w=(B)=>typeof B==="string"&&B.length>0;if(w(C)&&w(W))Z.headers[Xi0]=W;return d({...G,request:Z})};Yi0.recursionDetectionMiddleware=Jf5;Yi0.addRecursionDetectionMiddlewareOptions={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:!0,priority:"low"};var Kf5=(I)=>({applyToStack:(d)=>{d.add(Yi0.recursionDetectionMiddleware(I),Yi0.addRecursionDetectionMiddlewareOptions)}});Yi0.getRecursionDetectionPlugin=Kf5});var x3=Y((jG3,Ni0)=>{var{defineProperty:ti,getOwnPropertyDescriptor:Nf5,getOwnPropertyNames:zf5}=Object,Qf5=Object.prototype.hasOwnProperty,zJ=(I,d)=>ti(I,"name",{value:d,configurable:!0}),ff5=(I,d)=>{for(var G in d)ti(I,G,{get:d[G],enumerable:!0})},qf5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of zf5(d))if(!Qf5.call(I,C)&&C!==G)ti(I,C,{get:()=>d[C],enumerable:!(Z=Nf5(d,C))||Z.enumerable})}return I},Rf5=(I)=>qf5(ti({},"__esModule",{value:!0}),I),Fi0={};ff5(Fi0,{CredentialsProviderError:()=>Uf5,ProviderError:()=>In,TokenProviderError:()=>vf5,chain:()=>Ef5,fromStatic:()=>Mf5,memoize:()=>Sf5});Ni0.exports=Rf5(Fi0);var gi0=class I extends Error{constructor(d,G=!0){super(d);this.tryNextLink=G,this.name="ProviderError",Object.setPrototypeOf(this,I.prototype)}static from(d,G=!0){return Object.assign(new this(d.message,G),d)}};zJ(gi0,"ProviderError");var In=gi0,Ji0=class I extends In{constructor(d,G=!0){super(d,G);this.tryNextLink=G,this.name="CredentialsProviderError",Object.setPrototypeOf(this,I.prototype)}};zJ(Ji0,"CredentialsProviderError");var Uf5=Ji0,Ki0=class I extends In{constructor(d,G=!0){super(d,G);this.tryNextLink=G,this.name="TokenProviderError",Object.setPrototypeOf(this,I.prototype)}};zJ(Ki0,"TokenProviderError");var vf5=Ki0,Ef5=zJ((...I)=>async()=>{if(I.length===0)throw new In("No providers in chain");let d;for(let G of I)try{return await G()}catch(Z){if(d=Z,Z==null?void 0:Z.tryNextLink)continue;throw Z}throw d},"chain"),Mf5=zJ((I)=>()=>Promise.resolve(I),"fromStatic"),Sf5=zJ((I,d,G)=>{let Z,C,W,w=!1,B=zJ(async()=>{if(!C)C=I();try{Z=await C,W=!0,w=!1}finally{C=void 0}return Z},"coalesceProvider");if(d===void 0)return async(A)=>{if(!W||(A==null?void 0:A.forceRefresh))Z=await B();return Z};return async(A)=>{if(!W||(A==null?void 0:A.forceRefresh))Z=await B();if(w)return Z;if(G&&!G(Z))return w=!0,Z;if(d(Z))return await B(),Z;return Z}},"memoize")});var Fq=Y((kG3,qi0)=>{var{defineProperty:dn,getOwnPropertyDescriptor:Lf5,getOwnPropertyNames:yf5}=Object,Pf5=Object.prototype.hasOwnProperty,Qi0=(I,d)=>dn(I,"name",{value:d,configurable:!0}),$f5=(I,d)=>{for(var G in d)dn(I,G,{get:d[G],enumerable:!0})},uf5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of yf5(d))if(!Pf5.call(I,C)&&C!==G)dn(I,C,{get:()=>d[C],enumerable:!(Z=Lf5(d,C))||Z.enumerable})}return I},Tf5=(I)=>uf5(dn({},"__esModule",{value:!0}),I),fi0={};$f5(fi0,{getSmithyContext:()=>Of5,normalizeProvider:()=>mf5});qi0.exports=Tf5(fi0);var zi0=k3(),Of5=Qi0((I)=>I[zi0.SMITHY_CONTEXT_KEY]||(I[zi0.SMITHY_CONTEXT_KEY]={}),"getSmithyContext"),mf5=Qi0((I)=>{if(typeof I==="function")return I;let d=Promise.resolve(I);return()=>d},"normalizeProvider")});var vi0=Y((xG3,Ui0)=>{var{defineProperty:Gn,getOwnPropertyDescriptor:lf5,getOwnPropertyNames:bf5}=Object,hf5=Object.prototype.hasOwnProperty,jf5=(I,d)=>Gn(I,"name",{value:d,configurable:!0}),kf5=(I,d)=>{for(var G in d)Gn(I,G,{get:d[G],enumerable:!0})},xf5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of bf5(d))if(!hf5.call(I,C)&&C!==G)Gn(I,C,{get:()=>d[C],enumerable:!(Z=lf5(d,C))||Z.enumerable})}return I},cf5=(I)=>xf5(Gn({},"__esModule",{value:!0}),I),Ri0={};kf5(Ri0,{isArrayBuffer:()=>pf5});Ui0.exports=cf5(Ri0);var pf5=jf5((I)=>typeof ArrayBuffer==="function"&&I instanceof ArrayBuffer||Object.prototype.toString.call(I)==="[object ArrayBuffer]","isArrayBuffer")});var ii0=Y((cG3,pi0)=>{var{defineProperty:Bn,getOwnPropertyDescriptor:if5,getOwnPropertyNames:nf5}=Object,rf5=Object.prototype.hasOwnProperty,E6=(I,d)=>Bn(I,"name",{value:d,configurable:!0}),af5=(I,d)=>{for(var G in d)Bn(I,G,{get:d[G],enumerable:!0})},sf5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of nf5(d))if(!rf5.call(I,C)&&C!==G)Bn(I,C,{get:()=>d[C],enumerable:!(Z=if5(d,C))||Z.enumerable})}return I},of5=(I)=>sf5(Bn({},"__esModule",{value:!0}),I),yi0={};af5(yi0,{SignatureV4:()=>Rq5,clearCredentialCache:()=>Hq5,createScope:()=>Wn,getCanonicalHeaders:()=>wX1,getCanonicalQuery:()=>bi0,getPayloadHash:()=>wn,getSigningKey:()=>li0,moveHeadersToQuery:()=>xi0,prepareRequest:()=>AX1});pi0.exports=of5(yi0);var Ei0=Fq(),ZX1=SZ(),ef5="X-Amz-Algorithm",tf5="X-Amz-Credential",Pi0="X-Amz-Date",Iq5="X-Amz-SignedHeaders",dq5="X-Amz-Expires",$i0="X-Amz-Signature",ui0="X-Amz-Security-Token",Ti0="authorization",Oi0=Pi0.toLowerCase(),Gq5="date",Zq5=[Ti0,Oi0,Gq5],Cq5=$i0.toLowerCase(),WX1="x-amz-content-sha256",Wq5=ui0.toLowerCase(),wq5={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Bq5=/^proxy-/,Aq5=/^sec-/,CX1="AWS4-HMAC-SHA256",Vq5="AWS4-HMAC-SHA256-PAYLOAD",Xq5="UNSIGNED-PAYLOAD",Yq5=50,mi0="aws4_request",_q5=604800,RD=RV1(),Dq5=SZ(),gq={},Cn=[],Wn=E6((I,d,G)=>`${I}/${d}/${G}/${mi0}`,"createScope"),li0=E6(async(I,d,G,Z,C)=>{let W=await Mi0(I,d.secretAccessKey,d.accessKeyId),w=`${G}:${Z}:${C}:${RD.toHex(W)}:${d.sessionToken}`;if(w in gq)return gq[w];Cn.push(w);while(Cn.length>Yq5)delete gq[Cn.shift()];let B=`AWS4${d.secretAccessKey}`;for(let A of[G,Z,C,mi0])B=await Mi0(I,B,A);return gq[w]=B},"getSigningKey"),Hq5=E6(()=>{Cn.length=0,Object.keys(gq).forEach((I)=>{delete gq[I]})},"clearCredentialCache"),Mi0=E6((I,d,G)=>{let Z=new I(d);return Z.update(Dq5.toUint8Array(G)),Z.digest()},"hmac"),wX1=E6(({headers:I},d,G)=>{let Z={};for(let C of Object.keys(I).sort()){if(I[C]==null)continue;let W=C.toLowerCase();if(W in wq5||(d==null?void 0:d.has(W))||Bq5.test(W)||Aq5.test(W)){if(!G||G&&!G.has(W))continue}Z[W]=I[C].trim().replace(/\s+/g," ")}return Z},"getCanonicalHeaders"),dP=$V1(),bi0=E6(({query:I={}})=>{let d=[],G={};for(let Z of Object.keys(I).sort()){if(Z.toLowerCase()===Cq5)continue;d.push(Z);let C=I[Z];if(typeof C==="string")G[Z]=`${dP.escapeUri(Z)}=${dP.escapeUri(C)}`;else if(Array.isArray(C))G[Z]=C.slice(0).reduce((W,w)=>W.concat([`${dP.escapeUri(Z)}=${dP.escapeUri(w)}`]),[]).sort().join("&")}return d.map((Z)=>G[Z]).filter((Z)=>Z).join("&")},"getCanonicalQuery"),Fq5=vi0(),gq5=SZ(),wn=E6(async({headers:I,body:d},G)=>{for(let Z of Object.keys(I))if(Z.toLowerCase()===WX1)return I[Z];if(d==null)return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";else if(typeof d==="string"||ArrayBuffer.isView(d)||Fq5.isArrayBuffer(d)){let Z=new G;return Z.update(gq5.toUint8Array(d)),RD.toHex(await Z.digest())}return Xq5},"getPayloadHash"),Si0=SZ(),hi0=class I{format(d){let G=[];for(let W of Object.keys(d)){let w=Si0.fromUtf8(W);G.push(Uint8Array.from([w.byteLength]),w,this.formatHeaderValue(d[W]))}let Z=new Uint8Array(G.reduce((W,w)=>W+w.byteLength,0)),C=0;for(let W of G)Z.set(W,C),C+=W.byteLength;return Z}formatHeaderValue(d){switch(d.type){case"boolean":return Uint8Array.from([d.value?0:1]);case"byte":return Uint8Array.from([2,d.value]);case"short":let G=new DataView(new ArrayBuffer(3));return G.setUint8(0,3),G.setInt16(1,d.value,!1),new Uint8Array(G.buffer);case"integer":let Z=new DataView(new ArrayBuffer(5));return Z.setUint8(0,4),Z.setInt32(1,d.value,!1),new Uint8Array(Z.buffer);case"long":let C=new Uint8Array(9);return C[0]=5,C.set(d.value.bytes,1),C;case"binary":let W=new DataView(new ArrayBuffer(3+d.value.byteLength));W.setUint8(0,6),W.setUint16(1,d.value.byteLength,!1);let w=new Uint8Array(W.buffer);return w.set(d.value,3),w;case"string":let B=Si0.fromUtf8(d.value),A=new DataView(new ArrayBuffer(3+B.byteLength));A.setUint8(0,7),A.setUint16(1,B.byteLength,!1);let V=new Uint8Array(A.buffer);return V.set(B,3),V;case"timestamp":let X=new Uint8Array(9);return X[0]=8,X.set(Nq5.fromNumber(d.value.valueOf()).bytes,1),X;case"uuid":if(!Kq5.test(d.value))throw new Error(`Invalid UUID received: ${d.value}`);let _=new Uint8Array(17);return _[0]=9,_.set(RD.fromHex(d.value.replace(/\-/g,"")),1),_}}};E6(hi0,"HeaderFormatter");var Jq5=hi0,Kq5=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/,ji0=class I{constructor(d){if(this.bytes=d,d.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(d){if(d>9223372036854776000||d<-9223372036854776000)throw new Error(`${d} is too large (or, if negative, too small) to represent as an Int64`);let G=new Uint8Array(8);for(let Z=7,C=Math.abs(Math.round(d));Z>-1&&C>0;Z--,C/=256)G[Z]=C;if(d<0)BX1(G);return new I(G)}valueOf(){let d=this.bytes.slice(0),G=d[0]&128;if(G)BX1(d);return parseInt(RD.toHex(d),16)*(G?-1:1)}toString(){return String(this.valueOf())}};E6(ji0,"Int64");var Nq5=ji0;function BX1(I){for(let d=0;d<8;d++)I[d]^=255;for(let d=7;d>-1;d--)if(I[d]++,I[d]!==0)break}E6(BX1,"negate");var zq5=E6((I,d)=>{I=I.toLowerCase();for(let G of Object.keys(d))if(I===G.toLowerCase())return!0;return!1},"hasHeader"),ki0=E6(({headers:I,query:d,...G})=>({...G,headers:{...I},query:d?Qq5(d):void 0}),"cloneRequest"),Qq5=E6((I)=>Object.keys(I).reduce((d,G)=>{let Z=I[G];return{...d,[G]:Array.isArray(Z)?[...Z]:Z}},{}),"cloneQuery"),xi0=E6((I,d={})=>{var G;let{headers:Z,query:C={}}=typeof I.clone==="function"?I.clone():ki0(I);for(let W of Object.keys(Z)){let w=W.toLowerCase();if(w.slice(0,6)==="x-amz-"&&!((G=d.unhoistableHeaders)==null?void 0:G.has(w)))C[W]=Z[W],delete Z[W]}return{...I,headers:Z,query:C}},"moveHeadersToQuery"),AX1=E6((I)=>{I=typeof I.clone==="function"?I.clone():ki0(I);for(let d of Object.keys(I.headers))if(Zq5.indexOf(d.toLowerCase())>-1)delete I.headers[d];return I},"prepareRequest"),fq5=E6((I)=>qq5(I).toISOString().replace(/\.\d{3}Z$/,"Z"),"iso8601"),qq5=E6((I)=>{if(typeof I==="number")return new Date(I*1000);if(typeof I==="string"){if(Number(I))return new Date(Number(I)*1000);return new Date(I)}return I},"toDate"),ci0=class I{constructor({applyChecksum:d,credentials:G,region:Z,service:C,sha256:W,uriEscapePath:w=!0}){this.headerFormatter=new Jq5,this.service=C,this.sha256=W,this.uriEscapePath=w,this.applyChecksum=typeof d==="boolean"?d:!0,this.regionProvider=Ei0.normalizeProvider(Z),this.credentialProvider=Ei0.normalizeProvider(G)}async presign(d,G={}){let{signingDate:Z=new Date,expiresIn:C=3600,unsignableHeaders:W,unhoistableHeaders:w,signableHeaders:B,signingRegion:A,signingService:V}=G,X=await this.credentialProvider();this.validateResolvedCredentials(X);let _=A??await this.regionProvider(),{longDate:F,shortDate:g}=Zn(Z);if(C>_q5)return Promise.reject("Signature version 4 presigned URLs must have an expiration date less than one week in the future");let J=Wn(g,_,V??this.service),K=xi0(AX1(d),{unhoistableHeaders:w});if(X.sessionToken)K.query[ui0]=X.sessionToken;K.query[ef5]=CX1,K.query[tf5]=`${X.accessKeyId}/${J}`,K.query[Pi0]=F,K.query[dq5]=C.toString(10);let Q=wX1(K,W,B);return K.query[Iq5]=Li0(Q),K.query[$i0]=await this.getSignature(F,J,this.getSigningKey(X,_,g,V),this.createCanonicalRequest(K,Q,await wn(d,this.sha256))),K}async sign(d,G){if(typeof d==="string")return this.signString(d,G);else if(d.headers&&d.payload)return this.signEvent(d,G);else if(d.message)return this.signMessage(d,G);else return this.signRequest(d,G)}async signEvent({headers:d,payload:G},{signingDate:Z=new Date,priorSignature:C,signingRegion:W,signingService:w}){let B=W??await this.regionProvider(),{shortDate:A,longDate:V}=Zn(Z),X=Wn(A,B,w??this.service),_=await wn({headers:{},body:G},this.sha256),F=new this.sha256;F.update(d);let g=RD.toHex(await F.digest()),J=[Vq5,V,X,C,g,_].join(`
`);return this.signString(J,{signingDate:Z,signingRegion:B,signingService:w})}async signMessage(d,{signingDate:G=new Date,signingRegion:Z,signingService:C}){return this.signEvent({headers:this.headerFormatter.format(d.message.headers),payload:d.message.body},{signingDate:G,signingRegion:Z,signingService:C,priorSignature:d.priorSignature}).then((w)=>{return{message:d.message,signature:w}})}async signString(d,{signingDate:G=new Date,signingRegion:Z,signingService:C}={}){let W=await this.credentialProvider();this.validateResolvedCredentials(W);let w=Z??await this.regionProvider(),{shortDate:B}=Zn(G),A=new this.sha256(await this.getSigningKey(W,w,B,C));return A.update(ZX1.toUint8Array(d)),RD.toHex(await A.digest())}async signRequest(d,{signingDate:G=new Date,signableHeaders:Z,unsignableHeaders:C,signingRegion:W,signingService:w}={}){let B=await this.credentialProvider();this.validateResolvedCredentials(B);let A=W??await this.regionProvider(),V=AX1(d),{longDate:X,shortDate:_}=Zn(G),F=Wn(_,A,w??this.service);if(V.headers[Oi0]=X,B.sessionToken)V.headers[Wq5]=B.sessionToken;let g=await wn(V,this.sha256);if(!zq5(WX1,V.headers)&&this.applyChecksum)V.headers[WX1]=g;let J=wX1(V,C,Z),K=await this.getSignature(X,F,this.getSigningKey(B,A,_,w),this.createCanonicalRequest(V,J,g));return V.headers[Ti0]=`${CX1} Credential=${B.accessKeyId}/${F}, SignedHeaders=${Li0(J)}, Signature=${K}`,V}createCanonicalRequest(d,G,Z){let C=Object.keys(G).sort();return`${d.method}
${this.getCanonicalPath(d)}
${bi0(d)}
${C.map((W)=>`${W}:${G[W]}`).join(`
`)}

${C.join(";")}
${Z}`}async createStringToSign(d,G,Z){let C=new this.sha256;C.update(ZX1.toUint8Array(Z));let W=await C.digest();return`${CX1}
${d}
${G}
${RD.toHex(W)}`}getCanonicalPath({path:d}){if(this.uriEscapePath){let G=[];for(let W of d.split("/")){if((W==null?void 0:W.length)===0)continue;if(W===".")continue;if(W==="..")G.pop();else G.push(W)}let Z=`${(d==null?void 0:d.startsWith("/"))?"/":""}${G.join("/")}${G.length>0&&(d==null?void 0:d.endsWith("/"))?"/":""}`;return dP.escapeUri(Z).replace(/%2F/g,"/")}return d}async getSignature(d,G,Z,C){let W=await this.createStringToSign(d,G,C),w=new this.sha256(await Z);return w.update(ZX1.toUint8Array(W)),RD.toHex(await w.digest())}getSigningKey(d,G,Z,C){return li0(this.sha256,d,Z,G,C||this.service)}validateResolvedCredentials(d){if(typeof d!=="object"||typeof d.accessKeyId!=="string"||typeof d.secretAccessKey!=="string")throw new Error("Resolved credential object is not valid")}};E6(ci0,"SignatureV4");var Rq5=ci0,Zn=E6((I)=>{let d=fq5(I).replace(/[\-:]/g,"");return{longDate:d,shortDate:d.slice(0,8)}},"formatDate"),Li0=E6((I)=>Object.keys(I).sort().join(";"),"getCanonicalHeaderList")});var si0=Y((ri0)=>{Object.defineProperty(ri0,"__esModule",{value:!0});ri0.resolveSigV4AuthConfig=ri0.resolveAwsAuthConfig=void 0;var Uq5=x3(),VX1=ii0(),Jq=Fq(),vq5=300000,Eq5=(I)=>{let d=I.credentials?ni0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=Jq.normalizeProvider(I.signer);else if(I.regionInfoProvider)W=()=>Jq.normalizeProvider(I.region)().then(async(w)=>[await I.regionInfoProvider(w,{useFipsEndpoint:await I.useFipsEndpoint(),useDualstackEndpoint:await I.useDualstackEndpoint()})||{},w]).then(([w,B])=>{let{signingRegion:A,signingService:V}=w;I.signingRegion=I.signingRegion||A||B,I.signingName=I.signingName||V||I.serviceId;let X={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||VX1.SignatureV4)(X)});else W=async(w)=>{w=Object.assign({},{name:"sigv4",signingName:I.signingName||I.defaultSigningName,signingRegion:await Jq.normalizeProvider(I.region)(),properties:{}},w);let{signingRegion:B,signingName:A}=w;I.signingRegion=I.signingRegion||B,I.signingName=I.signingName||A||I.serviceId;let V={...I,credentials:d,region:I.signingRegion,service:I.signingName,sha256:C,uriEscapePath:G};return new(I.signerConstructor||VX1.SignatureV4)(V)};return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};ri0.resolveAwsAuthConfig=Eq5;var Mq5=(I)=>{let d=I.credentials?ni0(I.credentials):I.credentialDefaultProvider(I),{signingEscapePath:G=!0,systemClockOffset:Z=I.systemClockOffset||0,sha256:C}=I,W;if(I.signer)W=Jq.normalizeProvider(I.signer);else W=Jq.normalizeProvider(new VX1.SignatureV4({credentials:d,region:I.region,service:I.signingName,sha256:C,uriEscapePath:G}));return{...I,systemClockOffset:Z,signingEscapePath:G,credentials:d,signer:W}};ri0.resolveSigV4AuthConfig=Mq5;var ni0=(I)=>{if(typeof I==="function")return Uq5.memoize(I,(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<vq5,(d)=>d.expiration!==void 0);return Jq.normalizeProvider(I)}});var XX1=Y((oi0)=>{Object.defineProperty(oi0,"__esModule",{value:!0});oi0.getSkewCorrectedDate=void 0;var Lq5=(I)=>new Date(Date.now()+I);oi0.getSkewCorrectedDate=Lq5});var dn0=Y((ti0)=>{Object.defineProperty(ti0,"__esModule",{value:!0});ti0.isClockSkewed=void 0;var yq5=XX1(),Pq5=(I,d)=>Math.abs(yq5.getSkewCorrectedDate(d).getTime()-I)>=300000;ti0.isClockSkewed=Pq5});var Cn0=Y((Gn0)=>{Object.defineProperty(Gn0,"__esModule",{value:!0});Gn0.getUpdatedSystemClockOffset=void 0;var $q5=dn0(),uq5=(I,d)=>{let G=Date.parse(I);if($q5.isClockSkewed(G,d))return G-Date.now();return d};Gn0.getUpdatedSystemClockOffset=uq5});var Dn0=Y((An0)=>{Object.defineProperty(An0,"__esModule",{value:!0});An0.getSigV4AuthPlugin=An0.getAwsAuthPlugin=An0.awsAuthMiddlewareOptions=An0.awsAuthMiddleware=void 0;var Bn0=t8(),Tq5=XX1(),Wn0=Cn0(),Oq5=(I)=>(d,G)=>async function(Z){var C,W,w,B;if(!Bn0.HttpRequest.isInstance(Z.request))return d(Z);let A=(w=(W=(C=G.endpointV2)===null||C===void 0?void 0:C.properties)===null||W===void 0?void 0:W.authSchemes)===null||w===void 0?void 0:w[0],V=(A===null||A===void 0?void 0:A.name)==="sigv4a"?(B=A===null||A===void 0?void 0:A.signingRegionSet)===null||B===void 0?void 0:B.join(","):void 0,X=await I.signer(A),_=await d({...Z,request:await X.sign(Z.request,{signingDate:Tq5.getSkewCorrectedDate(I.systemClockOffset),signingRegion:V||G.signing_region,signingService:G.signing_service})}).catch((g)=>{var J;let K=(J=g.ServerTime)!==null&&J!==void 0?J:wn0(g.$response);if(K)I.systemClockOffset=Wn0.getUpdatedSystemClockOffset(K,I.systemClockOffset);throw g}),F=wn0(_.response);if(F)I.systemClockOffset=Wn0.getUpdatedSystemClockOffset(F,I.systemClockOffset);return _};An0.awsAuthMiddleware=Oq5;var wn0=(I)=>{var d,G,Z;return Bn0.HttpResponse.isInstance(I)?(G=(d=I.headers)===null||d===void 0?void 0:d.date)!==null&&G!==void 0?G:(Z=I.headers)===null||Z===void 0?void 0:Z.Date:void 0};An0.awsAuthMiddlewareOptions={name:"awsAuthMiddleware",tags:["SIGNATURE","AWSAUTH"],relation:"after",toMiddleware:"retryMiddleware",override:!0};var mq5=(I)=>({applyToStack:(d)=>{d.addRelativeTo(An0.awsAuthMiddleware(I),An0.awsAuthMiddlewareOptions)}});An0.getAwsAuthPlugin=mq5;An0.getSigV4AuthPlugin=An0.getAwsAuthPlugin});var OV=Y((An)=>{Object.defineProperty(An,"__esModule",{value:!0});var Hn0=x1();Hn0.__exportStar(si0(),An);Hn0.__exportStar(Dn0(),An)});var Jn0=Y((Fn0)=>{Object.defineProperty(Fn0,"__esModule",{value:!0});Fn0.resolveUserAgentConfig=void 0;function lq5(I){return{...I,customUserAgent:typeof I.customUserAgent==="string"?[[I.customUserAgent]]:I.customUserAgent}}Fn0.resolveUserAgentConfig=lq5});var Kn0=Y((eG3,bq5)=>{bq5.exports={partitions:[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^(us|eu|ap|sa|ca|me|af|il)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"aws-global":{description:"AWS Standard global region"},"ca-central-1":{description:"Canada (Central)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"AWS China global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:!0,supportsFIPS:!0},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"AWS GovCloud (US) global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"c2s.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"AWS ISO (US) global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"sc2s.sgov.gov",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"AWS ISOB (US) global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"cloud.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"csp.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:!1,supportsFIPS:!0},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{}}],version:"1.1"}});var YX1=Y((fn0)=>{Object.defineProperty(fn0,"__esModule",{value:!0});fn0.getUserAgentPrefix=fn0.useDefaultPartitionInfo=fn0.setPartitionInfo=fn0.partition=void 0;var hq5=x1(),Nn0=hq5.__importDefault(Kn0()),zn0=Nn0.default,Qn0="",jq5=(I)=>{let{partitions:d}=zn0;for(let Z of d){let{regions:C,outputs:W}=Z;for(let[w,B]of Object.entries(C))if(w===I)return{...W,...B}}for(let Z of d){let{regionRegex:C,outputs:W}=Z;if(new RegExp(C).test(I))return{...W}}let G=d.find((Z)=>Z.id==="aws");if(!G)throw new Error("Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist.");return{...G.outputs}};fn0.partition=jq5;var kq5=(I,d="")=>{zn0=I,Qn0=d};fn0.setPartitionInfo=kq5;var xq5=()=>{fn0.setPartitionInfo(Nn0.default,"")};fn0.useDefaultPartitionInfo=xq5;var cq5=()=>Qn0;fn0.getUserAgentPrefix=cq5});var Vn=Y((Un0)=>{Object.defineProperty(Un0,"__esModule",{value:!0});Un0.isIpAddress=void 0;var nq5=new RegExp("^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$"),rq5=(I)=>nq5.test(I)||I.startsWith("[")&&I.endsWith("]");Un0.isIpAddress=rq5});var Sn0=Y((En0)=>{Object.defineProperty(En0,"__esModule",{value:!0});En0.debugId=void 0;En0.debugId="endpoints"});var Pn0=Y((Ln0)=>{Object.defineProperty(Ln0,"__esModule",{value:!0});Ln0.toDebugString=void 0;function _X1(I){if(typeof I!=="object"||I==null)return I;if("ref"in I)return`$${_X1(I.ref)}`;if("fn"in I)return`${I.fn}(${(I.argv||[]).map(_X1).join(", ")})`;return JSON.stringify(I,null,2)}Ln0.toDebugString=_X1});var GP=Y((Xn)=>{Object.defineProperty(Xn,"__esModule",{value:!0});var $n0=x1();$n0.__exportStar(Sn0(),Xn);$n0.__exportStar(Pn0(),Xn)});var mn0=Y((Tn0)=>{Object.defineProperty(Tn0,"__esModule",{value:!0});Tn0.EndpointError=void 0;class un0 extends Error{constructor(I){super(I);this.name="EndpointError"}}Tn0.EndpointError=un0});var bn0=Y((ln0)=>{Object.defineProperty(ln0,"__esModule",{value:!0})});var jn0=Y((hn0)=>{Object.defineProperty(hn0,"__esModule",{value:!0})});var xn0=Y((kn0)=>{Object.defineProperty(kn0,"__esModule",{value:!0})});var pn0=Y((cn0)=>{Object.defineProperty(cn0,"__esModule",{value:!0})});var nn0=Y((in0)=>{Object.defineProperty(in0,"__esModule",{value:!0})});var yZ=Y((UD)=>{Object.defineProperty(UD,"__esModule",{value:!0});var Kq=x1();Kq.__exportStar(mn0(),UD);Kq.__exportStar(bn0(),UD);Kq.__exportStar(jn0(),UD);Kq.__exportStar(xn0(),UD);Kq.__exportStar(pn0(),UD);Kq.__exportStar(nn0(),UD)});var HX1=Y((rn0)=>{Object.defineProperty(rn0,"__esModule",{value:!0});rn0.isValidHostLabel=void 0;var aq5=new RegExp("^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$"),sq5=(I,d=!1)=>{if(!d)return aq5.test(I);let G=I.split(".");for(let Z of G)if(!rn0.isValidHostLabel(Z))return!1;return!0};rn0.isValidHostLabel=sq5});var sn0=Y((an0)=>{Object.defineProperty(an0,"__esModule",{value:!0});an0.isVirtualHostableS3Bucket=void 0;var oq5=Vn(),eq5=HX1(),tq5=(I,d=!1)=>{if(d){for(let G of I.split("."))if(!an0.isVirtualHostableS3Bucket(G))return!1;return!0}if(!eq5.isValidHostLabel(I))return!1;if(I.length<3||I.length>63)return!1;if(I!==I.toLowerCase())return!1;if(oq5.isIpAddress(I))return!1;return!0};an0.isVirtualHostableS3Bucket=tq5});var tn0=Y((on0)=>{Object.defineProperty(on0,"__esModule",{value:!0});on0.parseArn=void 0;var IR5=(I)=>{let d=I.split(":");if(d.length<6)return null;let[G,Z,C,W,w,...B]=d;if(G!=="arn"||Z===""||C===""||B[0]==="")return null;return{partition:Z,service:C,region:W,accountId:w,resourceId:B[0].includes("/")?B[0].split("/"):B}};on0.parseArn=IR5});var Ir0=Y((ZP)=>{Object.defineProperty(ZP,"__esModule",{value:!0});var gX1=x1();gX1.__exportStar(sn0(),ZP);gX1.__exportStar(tn0(),ZP);gX1.__exportStar(YX1(),ZP)});var Zr0=Y((dr0)=>{Object.defineProperty(dr0,"__esModule",{value:!0});dr0.booleanEquals=void 0;var dR5=(I,d)=>I===d;dr0.booleanEquals=dR5});var Br0=Y((Wr0)=>{Object.defineProperty(Wr0,"__esModule",{value:!0});Wr0.getAttrPathList=void 0;var Cr0=yZ(),GR5=(I)=>{let d=I.split("."),G=[];for(let Z of d){let C=Z.indexOf("[");if(C!==-1){if(Z.indexOf("]")!==Z.length-1)throw new Cr0.EndpointError(`Path: '${I}' does not end with ']'`);let W=Z.slice(C+1,-1);if(Number.isNaN(parseInt(W)))throw new Cr0.EndpointError(`Invalid array index: '${W}' in path: '${I}'`);if(C!==0)G.push(Z.slice(0,C));G.push(W)}else G.push(Z)}return G};Wr0.getAttrPathList=GR5});var Xr0=Y((Ar0)=>{Object.defineProperty(Ar0,"__esModule",{value:!0});Ar0.getAttr=void 0;var ZR5=yZ(),CR5=Br0(),WR5=(I,d)=>CR5.getAttrPathList(d).reduce((G,Z)=>{if(typeof G!=="object")throw new ZR5.EndpointError(`Index '${Z}' in '${d}' not found in '${JSON.stringify(I)}'`);else if(Array.isArray(G))return G[parseInt(Z)];return G[Z]},I);Ar0.getAttr=WR5});var Dr0=Y((Yr0)=>{Object.defineProperty(Yr0,"__esModule",{value:!0});Yr0.isSet=void 0;var wR5=(I)=>I!=null;Yr0.isSet=wR5});var gr0=Y((Hr0)=>{Object.defineProperty(Hr0,"__esModule",{value:!0});Hr0.not=void 0;var BR5=(I)=>!I;Hr0.not=BR5});var Kr0=Y((Jr0)=>{Object.defineProperty(Jr0,"__esModule",{value:!0})});var Nr0=Y((JX1)=>{Object.defineProperty(JX1,"__esModule",{value:!0});JX1.HttpAuthLocation=void 0;var AR5=k3();Object.defineProperty(JX1,"HttpAuthLocation",{enumerable:!0,get:function(){return AR5.HttpAuthLocation}})});var Qr0=Y((zr0)=>{Object.defineProperty(zr0,"__esModule",{value:!0})});var qr0=Y((fr0)=>{Object.defineProperty(fr0,"__esModule",{value:!0})});var Ur0=Y((Rr0)=>{Object.defineProperty(Rr0,"__esModule",{value:!0})});var Er0=Y((vr0)=>{Object.defineProperty(vr0,"__esModule",{value:!0})});var Sr0=Y((Mr0)=>{Object.defineProperty(Mr0,"__esModule",{value:!0})});var yr0=Y((Lr0)=>{Object.defineProperty(Lr0,"__esModule",{value:!0})});var $r0=Y((Pr0)=>{Object.defineProperty(Pr0,"__esModule",{value:!0})});var Tr0=Y((ur0)=>{Object.defineProperty(ur0,"__esModule",{value:!0});ur0.HostAddressType=void 0;var XR5;(function(I){I.AAAA="AAAA",I.A="A"})(XR5=ur0.HostAddressType||(ur0.HostAddressType={}))});var mr0=Y((Or0)=>{Object.defineProperty(Or0,"__esModule",{value:!0})});var lr0=Y((NX1)=>{Object.defineProperty(NX1,"__esModule",{value:!0});NX1.EndpointURLScheme=void 0;var YR5=k3();Object.defineProperty(NX1,"EndpointURLScheme",{enumerable:!0,get:function(){return YR5.EndpointURLScheme}})});var hr0=Y((br0)=>{Object.defineProperty(br0,"__esModule",{value:!0})});var kr0=Y((jr0)=>{Object.defineProperty(jr0,"__esModule",{value:!0})});var cr0=Y((xr0)=>{Object.defineProperty(xr0,"__esModule",{value:!0})});var ir0=Y((pr0)=>{Object.defineProperty(pr0,"__esModule",{value:!0})});var rr0=Y((nr0)=>{Object.defineProperty(nr0,"__esModule",{value:!0})});var sr0=Y((ar0)=>{Object.defineProperty(ar0,"__esModule",{value:!0})});var er0=Y((or0)=>{Object.defineProperty(or0,"__esModule",{value:!0})});var Ia0=Y((tr0)=>{Object.defineProperty(tr0,"__esModule",{value:!0})});var da0=Y((QJ)=>{Object.defineProperty(QJ,"__esModule",{value:!0});var CP=x1();CP.__exportStar(ir0(),QJ);CP.__exportStar(rr0(),QJ);CP.__exportStar(sr0(),QJ);CP.__exportStar(er0(),QJ);CP.__exportStar(Ia0(),QJ)});var Za0=Y((Ga0)=>{Object.defineProperty(Ga0,"__esModule",{value:!0})});var Wa0=Y((Ca0)=>{Object.defineProperty(Ca0,"__esModule",{value:!0})});var Ba0=Y((wa0)=>{Object.defineProperty(wa0,"__esModule",{value:!0})});var Va0=Y((Aa0)=>{Object.defineProperty(Aa0,"__esModule",{value:!0})});var Ya0=Y((Xa0)=>{Object.defineProperty(Xa0,"__esModule",{value:!0})});var Da0=Y((_a0)=>{Object.defineProperty(_a0,"__esModule",{value:!0})});var Fa0=Y((Ha0)=>{Object.defineProperty(Ha0,"__esModule",{value:!0})});var Ja0=Y((ga0)=>{Object.defineProperty(ga0,"__esModule",{value:!0})});var Na0=Y((Ka0)=>{Object.defineProperty(Ka0,"__esModule",{value:!0})});var Qa0=Y((za0)=>{Object.defineProperty(za0,"__esModule",{value:!0})});var qa0=Y((fa0)=>{Object.defineProperty(fa0,"__esModule",{value:!0})});var Ua0=Y((Ra0)=>{Object.defineProperty(Ra0,"__esModule",{value:!0})});var va0=Y((zX1)=>{Object.defineProperty(zX1,"__esModule",{value:!0});zX1.RequestHandlerProtocol=void 0;var DR5=k3();Object.defineProperty(zX1,"RequestHandlerProtocol",{enumerable:!0,get:function(){return DR5.RequestHandlerProtocol}})});var Ma0=Y((Ea0)=>{Object.defineProperty(Ea0,"__esModule",{value:!0})});var La0=Y((Sa0)=>{Object.defineProperty(Sa0,"__esModule",{value:!0})});var Pa0=Y((ya0)=>{Object.defineProperty(ya0,"__esModule",{value:!0})});var $a0=Y((K5)=>{Object.defineProperty(K5,"__esModule",{value:!0});var S5=x1();S5.__exportStar(Kr0(),K5);S5.__exportStar(Nr0(),K5);S5.__exportStar(Qr0(),K5);S5.__exportStar(qr0(),K5);S5.__exportStar(Ur0(),K5);S5.__exportStar(Er0(),K5);S5.__exportStar(Sr0(),K5);S5.__exportStar(yr0(),K5);S5.__exportStar($r0(),K5);S5.__exportStar(Tr0(),K5);S5.__exportStar(mr0(),K5);S5.__exportStar(lr0(),K5);S5.__exportStar(hr0(),K5);S5.__exportStar(kr0(),K5);S5.__exportStar(cr0(),K5);S5.__exportStar(da0(),K5);S5.__exportStar(Za0(),K5);S5.__exportStar(Wa0(),K5);S5.__exportStar(Ba0(),K5);S5.__exportStar(Va0(),K5);S5.__exportStar(Ya0(),K5);S5.__exportStar(Da0(),K5);S5.__exportStar(Fa0(),K5);S5.__exportStar(Ja0(),K5);S5.__exportStar(Na0(),K5);S5.__exportStar(Qa0(),K5);S5.__exportStar(qa0(),K5);S5.__exportStar(Ua0(),K5);S5.__exportStar(va0(),K5);S5.__exportStar(Ma0(),K5);S5.__exportStar(La0(),K5);S5.__exportStar(Pa0(),K5)});var Oa0=Y((ua0)=>{Object.defineProperty(ua0,"__esModule",{value:!0});ua0.parseURL=void 0;var fX1=$a0(),FR5=Vn(),QX1={[fX1.EndpointURLScheme.HTTP]:80,[fX1.EndpointURLScheme.HTTPS]:443},gR5=(I)=>{let d=(()=>{try{if(I instanceof URL)return I;if(typeof I==="object"&&"hostname"in I){let{hostname:F,port:g,protocol:J="",path:K="",query:Q={}}=I,E=new URL(`${J}//${F}${g?`:${g}`:""}${K}`);return E.search=Object.entries(Q).map(([S,P])=>`${S}=${P}`).join("&"),E}return new URL(I)}catch(F){return null}})();if(!d)return console.error(`Unable to parse ${JSON.stringify(I)} as a whatwg URL.`),null;let G=d.href,{host:Z,hostname:C,pathname:W,protocol:w,search:B}=d;if(B)return null;let A=w.slice(0,-1);if(!Object.values(fX1.EndpointURLScheme).includes(A))return null;let V=FR5.isIpAddress(C),X=G.includes(`${Z}:${QX1[A]}`)||typeof I==="string"&&I.includes(`${Z}:${QX1[A]}`),_=`${Z}${X?`:${QX1[A]}`:""}`;return{scheme:A,authority:_,path:W,normalizedPath:W.endsWith("/")?W:`${W}/`,isIp:V}};ua0.parseURL=gR5});var ba0=Y((ma0)=>{Object.defineProperty(ma0,"__esModule",{value:!0});ma0.stringEquals=void 0;var JR5=(I,d)=>I===d;ma0.stringEquals=JR5});var ka0=Y((ha0)=>{Object.defineProperty(ha0,"__esModule",{value:!0});ha0.substring=void 0;var KR5=(I,d,G,Z)=>{if(d>=G||I.length<G)return null;if(!Z)return I.substring(d,G);return I.substring(I.length-G,I.length-d)};ha0.substring=KR5});var pa0=Y((xa0)=>{Object.defineProperty(xa0,"__esModule",{value:!0});xa0.uriEncode=void 0;var NR5=(I)=>encodeURIComponent(I).replace(/[!*'()]/g,(d)=>`%${d.charCodeAt(0).toString(16).toUpperCase()}`);xa0.uriEncode=NR5});var qX1=Y((iC)=>{Object.defineProperty(iC,"__esModule",{value:!0});iC.aws=void 0;var YB=x1();iC.aws=YB.__importStar(Ir0());YB.__exportStar(Zr0(),iC);YB.__exportStar(Xr0(),iC);YB.__exportStar(Dr0(),iC);YB.__exportStar(HX1(),iC);YB.__exportStar(gr0(),iC);YB.__exportStar(Oa0(),iC);YB.__exportStar(ba0(),iC);YB.__exportStar(ka0(),iC);YB.__exportStar(pa0(),iC)});var RX1=Y((na0)=>{Object.defineProperty(na0,"__esModule",{value:!0});na0.evaluateTemplate=void 0;var zR5=qX1(),QR5=(I,d)=>{let G=[],Z={...d.endpointParams,...d.referenceRecord},C=0;while(C<I.length){let W=I.indexOf("{",C);if(W===-1){G.push(I.slice(C));break}G.push(I.slice(C,W));let w=I.indexOf("}",W);if(w===-1){G.push(I.slice(W));break}if(I[W+1]==="{"&&I[w+1]==="}")G.push(I.slice(W+1,w)),C=w+2;let B=I.substring(W+1,w);if(B.includes("#")){let[A,V]=B.split("#");G.push(zR5.getAttr(Z[A],V))}else G.push(Z[B]);C=w+1}return G.join("")};na0.evaluateTemplate=QR5});var oa0=Y((aa0)=>{Object.defineProperty(aa0,"__esModule",{value:!0});aa0.getReferenceValue=void 0;var fR5=({ref:I},d)=>{return{...d.endpointParams,...d.referenceRecord}[I]};aa0.getReferenceValue=fR5});var WP=Y((ea0)=>{Object.defineProperty(ea0,"__esModule",{value:!0});ea0.evaluateExpression=void 0;var qR5=yZ(),RR5=UX1(),UR5=RX1(),vR5=oa0(),ER5=(I,d,G)=>{if(typeof I==="string")return UR5.evaluateTemplate(I,G);else if(I.fn)return RR5.callFunction(I,G);else if(I.ref)return vR5.getReferenceValue(I,G);throw new qR5.EndpointError(`'${d}': ${String(I)} is not a string, function or reference.`)};ea0.evaluateExpression=ER5});var UX1=Y((Is0)=>{Object.defineProperty(Is0,"__esModule",{value:!0});Is0.callFunction=void 0;var MR5=x1(),SR5=MR5.__importStar(qX1()),LR5=WP(),yR5=({fn:I,argv:d},G)=>{let Z=d.map((C)=>["boolean","number"].includes(typeof C)?C:LR5.evaluateExpression(C,"arg",G));return I.split(".").reduce((C,W)=>C[W],SR5)(...Z)};Is0.callFunction=yR5});var Cs0=Y((Gs0)=>{Object.defineProperty(Gs0,"__esModule",{value:!0});Gs0.evaluateCondition=void 0;var vX1=GP(),PR5=yZ(),$R5=UX1(),uR5=({assign:I,...d},G)=>{var Z,C;if(I&&I in G.referenceRecord)throw new PR5.EndpointError(`'${I}' is already defined in Reference Record.`);let W=$R5.callFunction(d,G);return(C=(Z=G.logger)===null||Z===void 0?void 0:Z.debug)===null||C===void 0||C.call(Z,vX1.debugId,`evaluateCondition: ${vX1.toDebugString(d)} = ${vX1.toDebugString(W)}`),{result:W===""?!0:!!W,...I!=null&&{toAssign:{name:I,value:W}}}};Gs0.evaluateCondition=uR5});var Yn=Y((ws0)=>{Object.defineProperty(ws0,"__esModule",{value:!0});ws0.evaluateConditions=void 0;var Ws0=GP(),TR5=Cs0(),OR5=(I=[],d)=>{var G,Z;let C={};for(let W of I){let{result:w,toAssign:B}=TR5.evaluateCondition(W,{...d,referenceRecord:{...d.referenceRecord,...C}});if(!w)return{result:w};if(B)C[B.name]=B.value,(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,Ws0.debugId,`assign: ${B.name} := ${Ws0.toDebugString(B.value)}`)}return{result:!0,referenceRecord:C}};ws0.evaluateConditions=OR5});var Xs0=Y((As0)=>{Object.defineProperty(As0,"__esModule",{value:!0});As0.getEndpointHeaders=void 0;var mR5=yZ(),lR5=WP(),bR5=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:C.map((W)=>{let w=lR5.evaluateExpression(W,"Header value entry",d);if(typeof w!=="string")throw new mR5.EndpointError(`Header '${Z}' value '${w}' is not a string`);return w})}),{});As0.getEndpointHeaders=bR5});var Ds0=Y((_s0)=>{Object.defineProperty(_s0,"__esModule",{value:!0});_s0.getEndpointProperty=void 0;var Ys0=yZ(),hR5=RX1(),jR5=MX1(),kR5=(I,d)=>{if(Array.isArray(I))return I.map((G)=>_s0.getEndpointProperty(G,d));switch(typeof I){case"string":return hR5.evaluateTemplate(I,d);case"object":if(I===null)throw new Ys0.EndpointError(`Unexpected endpoint property: ${I}`);return jR5.getEndpointProperties(I,d);case"boolean":return I;default:throw new Ys0.EndpointError(`Unexpected endpoint property type: ${typeof I}`)}};_s0.getEndpointProperty=kR5});var MX1=Y((Hs0)=>{Object.defineProperty(Hs0,"__esModule",{value:!0});Hs0.getEndpointProperties=void 0;var xR5=Ds0(),cR5=(I,d)=>Object.entries(I).reduce((G,[Z,C])=>({...G,[Z]:xR5.getEndpointProperty(C,d)}),{});Hs0.getEndpointProperties=cR5});var Ks0=Y((gs0)=>{Object.defineProperty(gs0,"__esModule",{value:!0});gs0.getEndpointUrl=void 0;var pR5=yZ(),iR5=WP(),nR5=(I,d)=>{let G=iR5.evaluateExpression(I,"Endpoint URL",d);if(typeof G==="string")try{return new URL(G)}catch(Z){throw console.error(`Failed to construct URL with ${G}`,Z),Z}throw new pR5.EndpointError(`Endpoint URL must be a string, got ${typeof G}`)};gs0.getEndpointUrl=nR5});var fs0=Y((zs0)=>{Object.defineProperty(zs0,"__esModule",{value:!0});zs0.evaluateEndpointRule=void 0;var Ns0=GP(),rR5=Yn(),aR5=Xs0(),sR5=MX1(),oR5=Ks0(),eR5=(I,d)=>{var G,Z;let{conditions:C,endpoint:W}=I,{result:w,referenceRecord:B}=rR5.evaluateConditions(C,d);if(!w)return;let A={...d,referenceRecord:{...d.referenceRecord,...B}},{url:V,properties:X,headers:_}=W;return(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,Ns0.debugId,`Resolving endpoint from template: ${Ns0.toDebugString(W)}`),{..._!=null&&{headers:aR5.getEndpointHeaders(_,A)},...X!=null&&{properties:sR5.getEndpointProperties(X,A)},url:oR5.getEndpointUrl(V,A)}};zs0.evaluateEndpointRule=eR5});var Us0=Y((qs0)=>{Object.defineProperty(qs0,"__esModule",{value:!0});qs0.evaluateErrorRule=void 0;var tR5=yZ(),IU5=Yn(),dU5=WP(),GU5=(I,d)=>{let{conditions:G,error:Z}=I,{result:C,referenceRecord:W}=IU5.evaluateConditions(G,d);if(!C)return;throw new tR5.EndpointError(dU5.evaluateExpression(Z,"Error",{...d,referenceRecord:{...d.referenceRecord,...W}}))};qs0.evaluateErrorRule=GU5});var Ms0=Y((vs0)=>{Object.defineProperty(vs0,"__esModule",{value:!0});vs0.evaluateTreeRule=void 0;var ZU5=Yn(),CU5=SX1(),WU5=(I,d)=>{let{conditions:G,rules:Z}=I,{result:C,referenceRecord:W}=ZU5.evaluateConditions(G,d);if(!C)return;return CU5.evaluateRules(Z,{...d,referenceRecord:{...d.referenceRecord,...W}})};vs0.evaluateTreeRule=WU5});var SX1=Y((Ls0)=>{Object.defineProperty(Ls0,"__esModule",{value:!0});Ls0.evaluateRules=void 0;var Ss0=yZ(),wU5=fs0(),BU5=Us0(),AU5=Ms0(),VU5=(I,d)=>{for(let G of I)if(G.type==="endpoint"){let Z=wU5.evaluateEndpointRule(G,d);if(Z)return Z}else if(G.type==="error")BU5.evaluateErrorRule(G,d);else if(G.type==="tree"){let Z=AU5.evaluateTreeRule(G,d);if(Z)return Z}else throw new Ss0.EndpointError(`Unknown endpoint rule: ${G}`);throw new Ss0.EndpointError("Rules evaluation failed")};Ls0.evaluateRules=VU5});var Ps0=Y((LX1)=>{Object.defineProperty(LX1,"__esModule",{value:!0});var XU5=x1();XU5.__exportStar(SX1(),LX1)});var Ts0=Y(($s0)=>{Object.defineProperty($s0,"__esModule",{value:!0});$s0.resolveEndpoint=void 0;var _n=GP(),YU5=yZ(),_U5=Ps0(),DU5=(I,d)=>{var G,Z,C,W,w,B;let{endpointParams:A,logger:V}=d,{parameters:X,rules:_}=I;(Z=(G=d.logger)===null||G===void 0?void 0:G.debug)===null||Z===void 0||Z.call(G,`${_n.debugId} Initial EndpointParams: ${_n.toDebugString(A)}`);let F=Object.entries(X).filter(([,K])=>K.default!=null).map(([K,Q])=>[K,Q.default]);if(F.length>0)for(let[K,Q]of F)A[K]=(C=A[K])!==null&&C!==void 0?C:Q;let g=Object.entries(X).filter(([,K])=>K.required).map(([K])=>K);for(let K of g)if(A[K]==null)throw new YU5.EndpointError(`Missing required parameter: '${K}'`);let J=_U5.evaluateRules(_,{endpointParams:A,logger:V,referenceRecord:{}});if((W=d.endpointParams)===null||W===void 0?void 0:W.Endpoint)try{let K=new URL(d.endpointParams.Endpoint),{protocol:Q,port:E}=K;J.url.protocol=Q,J.url.port=E}catch(K){}return(B=(w=d.logger)===null||w===void 0?void 0:w.debug)===null||B===void 0||B.call(w,`${_n.debugId} Resolved endpoint: ${_n.toDebugString(J)}`),J};$s0.resolveEndpoint=DU5});var zq=Y((Nq)=>{Object.defineProperty(Nq,"__esModule",{value:!0});var Dn=x1();Dn.__exportStar(YX1(),Nq);Dn.__exportStar(Vn(),Nq);Dn.__exportStar(Ts0(),Nq);Dn.__exportStar(yZ(),Nq)});var ls0=Y((Os0)=>{Object.defineProperty(Os0,"__esModule",{value:!0});Os0.UA_ESCAPE_CHAR=Os0.UA_VALUE_ESCAPE_REGEX=Os0.UA_NAME_ESCAPE_REGEX=Os0.UA_NAME_SEPARATOR=Os0.SPACE=Os0.X_AMZ_USER_AGENT=Os0.USER_AGENT=void 0;Os0.USER_AGENT="user-agent";Os0.X_AMZ_USER_AGENT="x-amz-user-agent";Os0.SPACE=" ";Os0.UA_NAME_SEPARATOR="/";Os0.UA_NAME_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g;Os0.UA_VALUE_ESCAPE_REGEX=/[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g;Os0.UA_ESCAPE_CHAR="-"});var xs0=Y((bs0)=>{Object.defineProperty(bs0,"__esModule",{value:!0});bs0.getUserAgentPlugin=bs0.getUserAgentMiddlewareOptions=bs0.userAgentMiddleware=void 0;var zU5=zq(),QU5=t8(),Vd=ls0(),fU5=(I)=>(d,G)=>async(Z)=>{var C,W;let{request:w}=Z;if(!QU5.HttpRequest.isInstance(w))return d(Z);let{headers:B}=w,A=((C=G===null||G===void 0?void 0:G.userAgent)===null||C===void 0?void 0:C.map(yX1))||[],V=(await I.defaultUserAgentProvider()).map(yX1),X=((W=I===null||I===void 0?void 0:I.customUserAgent)===null||W===void 0?void 0:W.map(yX1))||[],_=zU5.getUserAgentPrefix(),F=(_?[_]:[]).concat([...V,...A,...X]).join(Vd.SPACE),g=[...V.filter((J)=>J.startsWith("aws-sdk-")),...X].join(Vd.SPACE);if(I.runtime!=="browser"){if(g)B[Vd.X_AMZ_USER_AGENT]=B[Vd.X_AMZ_USER_AGENT]?`${B[Vd.USER_AGENT]} ${g}`:g;B[Vd.USER_AGENT]=F}else B[Vd.X_AMZ_USER_AGENT]=F;return d({...Z,request:w})};bs0.userAgentMiddleware=fU5;var yX1=(I)=>{var d;let G=I[0].split(Vd.UA_NAME_SEPARATOR).map((B)=>B.replace(Vd.UA_NAME_ESCAPE_REGEX,Vd.UA_ESCAPE_CHAR)).join(Vd.UA_NAME_SEPARATOR),Z=(d=I[1])===null||d===void 0?void 0:d.replace(Vd.UA_VALUE_ESCAPE_REGEX,Vd.UA_ESCAPE_CHAR),C=G.indexOf(Vd.UA_NAME_SEPARATOR),W=G.substring(0,C),w=G.substring(C+1);if(W==="api")w=w.toLowerCase();return[W,w,Z].filter((B)=>B&&B.length>0).reduce((B,A,V)=>{switch(V){case 0:return A;case 1:return`${B}/${A}`;default:return`${B}#${A}`}},"")};bs0.getUserAgentMiddlewareOptions={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:!0};var qU5=(I)=>({applyToStack:(d)=>{d.add(bs0.userAgentMiddleware(I),bs0.getUserAgentMiddlewareOptions)}});bs0.getUserAgentPlugin=qU5});var wP=Y((Hn)=>{Object.defineProperty(Hn,"__esModule",{value:!0});var cs0=x1();cs0.__exportStar(Jn0(),Hn);cs0.__exportStar(xs0(),Hn)});var as0=Y((SC3,rs0)=>{var{defineProperty:Fn,getOwnPropertyDescriptor:RU5,getOwnPropertyNames:UU5}=Object,vU5=Object.prototype.hasOwnProperty,ps0=(I,d)=>Fn(I,"name",{value:d,configurable:!0}),EU5=(I,d)=>{for(var G in d)Fn(I,G,{get:d[G],enumerable:!0})},MU5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of UU5(d))if(!vU5.call(I,C)&&C!==G)Fn(I,C,{get:()=>d[C],enumerable:!(Z=RU5(d,C))||Z.enumerable})}return I},SU5=(I)=>MU5(Fn({},"__esModule",{value:!0}),I),is0={};EU5(is0,{SelectorType:()=>ns0,booleanSelector:()=>LU5,numberSelector:()=>yU5});rs0.exports=SU5(is0);var LU5=ps0((I,d,G)=>{if(!(d in I))return;if(I[d]==="true")return!0;if(I[d]==="false")return!1;throw new Error(`Cannot load ${G} "${d}". Expected "true" or "false", got ${I[d]}.`)},"booleanSelector"),yU5=ps0((I,d,G)=>{if(!(d in I))return;let Z=parseInt(I[d],10);if(Number.isNaN(Z))throw new TypeError(`Cannot load ${G} '${d}'. Expected number, got '${I[d]}'.`);return Z},"numberSelector"),ns0=((I)=>{return I.ENV="env",I.CONFIG="shared config entry",I})(ns0||{})});var _B=Y((LC3,wo0)=>{var{defineProperty:Jn,getOwnPropertyDescriptor:PU5,getOwnPropertyNames:$U5}=Object,uU5=Object.prototype.hasOwnProperty,nC=(I,d)=>Jn(I,"name",{value:d,configurable:!0}),TU5=(I,d)=>{for(var G in d)Jn(I,G,{get:d[G],enumerable:!0})},OU5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of $U5(d))if(!uU5.call(I,C)&&C!==G)Jn(I,C,{get:()=>d[C],enumerable:!(Z=PU5(d,C))||Z.enumerable})}return I},mU5=(I)=>OU5(Jn({},"__esModule",{value:!0}),I),es0={};TU5(es0,{CONFIG_USE_DUALSTACK_ENDPOINT:()=>Io0,CONFIG_USE_FIPS_ENDPOINT:()=>Go0,DEFAULT_USE_DUALSTACK_ENDPOINT:()=>lU5,DEFAULT_USE_FIPS_ENDPOINT:()=>hU5,ENV_USE_DUALSTACK_ENDPOINT:()=>ts0,ENV_USE_FIPS_ENDPOINT:()=>do0,NODE_REGION_CONFIG_FILE_OPTIONS:()=>iU5,NODE_REGION_CONFIG_OPTIONS:()=>pU5,NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS:()=>bU5,NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS:()=>jU5,REGION_ENV_NAME:()=>Zo0,REGION_INI_NAME:()=>Co0,getRegionInfo:()=>oU5,resolveCustomEndpointsConfig:()=>kU5,resolveEndpointsConfig:()=>cU5,resolveRegionConfig:()=>nU5});wo0.exports=mU5(es0);var vD=as0(),ts0="AWS_USE_DUALSTACK_ENDPOINT",Io0="use_dualstack_endpoint",lU5=!1,bU5={environmentVariableSelector:(I)=>vD.booleanSelector(I,ts0,vD.SelectorType.ENV),configFileSelector:(I)=>vD.booleanSelector(I,Io0,vD.SelectorType.CONFIG),default:!1},do0="AWS_USE_FIPS_ENDPOINT",Go0="use_fips_endpoint",hU5=!1,jU5={environmentVariableSelector:(I)=>vD.booleanSelector(I,do0,vD.SelectorType.ENV),configFileSelector:(I)=>vD.booleanSelector(I,Go0,vD.SelectorType.CONFIG),default:!1},gn=Fq(),kU5=nC((I)=>{let{endpoint:d,urlParser:G}=I;return{...I,tls:I.tls??!0,endpoint:gn.normalizeProvider(typeof d==="string"?G(d):d),isCustomEndpoint:!0,useDualstackEndpoint:gn.normalizeProvider(I.useDualstackEndpoint??!1)}},"resolveCustomEndpointsConfig"),xU5=nC(async(I)=>{let{tls:d=!0}=I,G=await I.region();if(!new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/).test(G))throw new Error("Invalid region in client config");let C=await I.useDualstackEndpoint(),W=await I.useFipsEndpoint(),{hostname:w}=await I.regionInfoProvider(G,{useDualstackEndpoint:C,useFipsEndpoint:W})??{};if(!w)throw new Error("Cannot resolve hostname from client config");return I.urlParser(`${d?"https:":"http:"}//${w}`)},"getEndpointFromRegion"),cU5=nC((I)=>{let d=gn.normalizeProvider(I.useDualstackEndpoint??!1),{endpoint:G,useFipsEndpoint:Z,urlParser:C}=I;return{...I,tls:I.tls??!0,endpoint:G?gn.normalizeProvider(typeof G==="string"?C(G):G):()=>xU5({...I,useDualstackEndpoint:d,useFipsEndpoint:Z}),isCustomEndpoint:!!G,useDualstackEndpoint:d}},"resolveEndpointsConfig"),Zo0="AWS_REGION",Co0="region",pU5={environmentVariableSelector:(I)=>I[Zo0],configFileSelector:(I)=>I[Co0],default:()=>{throw new Error("Region is missing")}},iU5={preferredFile:"credentials"},Wo0=nC((I)=>typeof I==="string"&&(I.startsWith("fips-")||I.endsWith("-fips")),"isFipsRegion"),ss0=nC((I)=>Wo0(I)?["fips-aws-global","aws-fips"].includes(I)?"us-east-1":I.replace(/fips-(dkr-|prod-)?|-fips/,""):I,"getRealRegion"),nU5=nC((I)=>{let{region:d,useFipsEndpoint:G}=I;if(!d)throw new Error("Region is missing");return{...I,region:async()=>{if(typeof d==="string")return ss0(d);let Z=await d();return ss0(Z)},useFipsEndpoint:async()=>{let Z=typeof d==="string"?d:await d();if(Wo0(Z))return!0;return typeof G!=="function"?Promise.resolve(!!G):G()}}},"resolveRegionConfig"),os0=nC((I=[],{useFipsEndpoint:d,useDualstackEndpoint:G})=>{var Z;return(Z=I.find(({tags:C})=>d===C.includes("fips")&&G===C.includes("dualstack")))==null?void 0:Z.hostname},"getHostnameFromVariants"),rU5=nC((I,{regionHostname:d,partitionHostname:G})=>d?d:G?G.replace("{region}",I):void 0,"getResolvedHostname"),aU5=nC((I,{partitionHash:d})=>Object.keys(d||{}).find((G)=>d[G].regions.includes(I))??"aws","getResolvedPartition"),sU5=nC((I,{signingRegion:d,regionRegex:G,useFipsEndpoint:Z})=>{if(d)return d;else if(Z){let C=G.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\."),W=I.match(C);if(W)return W[0].slice(1,-1)}},"getResolvedSigningRegion"),oU5=nC((I,{useFipsEndpoint:d=!1,useDualstackEndpoint:G=!1,signingService:Z,regionHash:C,partitionHash:W})=>{var w,B,A,V,X;let _=aU5(I,{partitionHash:W}),F=I in C?I:((w=W[_])==null?void 0:w.endpoint)??I,g={useFipsEndpoint:d,useDualstackEndpoint:G},J=os0((B=C[F])==null?void 0:B.variants,g),K=os0((A=W[_])==null?void 0:A.variants,g),Q=rU5(F,{regionHostname:J,partitionHostname:K});if(Q===void 0)throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:F,useFipsEndpoint:d,useDualstackEndpoint:G}}`);let E=sU5(Q,{signingRegion:(V=C[F])==null?void 0:V.signingRegion,regionRegex:W[_].regionRegex,useFipsEndpoint:d});return{partition:_,signingService:Z,hostname:Q,...E&&{signingRegion:E},...((X=C[F])==null?void 0:X.signingService)&&{signingService:C[F].signingService}}},"getRegionInfo")});var Vo0=Y((Bo0)=>{Object.defineProperty(Bo0,"__esModule",{value:!0});Bo0.resolveEventStreamSerdeConfig=void 0;var eU5=(I)=>({...I,eventStreamMarshaller:I.eventStreamSerdeProvider(I)});Bo0.resolveEventStreamSerdeConfig=eU5});var Xo0=Y((PX1)=>{Object.defineProperty(PX1,"__esModule",{value:!0});var tU5=x1();tU5.__exportStar(Vo0(),PX1)});var BP=Y(($C3,Fo0)=>{var{defineProperty:Kn,getOwnPropertyDescriptor:Iv5,getOwnPropertyNames:dv5}=Object,Gv5=Object.prototype.hasOwnProperty,_o0=(I,d)=>Kn(I,"name",{value:d,configurable:!0}),Zv5=(I,d)=>{for(var G in d)Kn(I,G,{get:d[G],enumerable:!0})},Cv5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of dv5(d))if(!Gv5.call(I,C)&&C!==G)Kn(I,C,{get:()=>d[C],enumerable:!(Z=Iv5(d,C))||Z.enumerable})}return I},Wv5=(I)=>Cv5(Kn({},"__esModule",{value:!0}),I),Do0={};Zv5(Do0,{contentLengthMiddleware:()=>$X1,contentLengthMiddlewareOptions:()=>Ho0,getContentLengthPlugin:()=>Bv5});Fo0.exports=Wv5(Do0);var wv5=t8(),Yo0="content-length";function $X1(I){return(d)=>async(G)=>{let Z=G.request;if(wv5.HttpRequest.isInstance(Z)){let{body:C,headers:W}=Z;if(C&&Object.keys(W).map((w)=>w.toLowerCase()).indexOf(Yo0)===-1)try{let w=I(C);Z.headers={...Z.headers,[Yo0]:String(w)}}catch(w){}}return d({...G,request:Z})}}_o0($X1,"contentLengthMiddleware");var Ho0={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:!0},Bv5=_o0((I)=>({applyToStack:(d)=>{d.add($X1(I.bodyLengthChecker),Ho0)}}),"getContentLengthPlugin")});var AP=Y((go0)=>{Object.defineProperty(go0,"__esModule",{value:!0});go0.getHomeDir=void 0;var Av5=B1("os"),Vv5=B1("path"),uX1={},Xv5=()=>{if(process&&process.geteuid)return`${process.geteuid()}`;return"DEFAULT"},Yv5=()=>{let{HOME:I,USERPROFILE:d,HOMEPATH:G,HOMEDRIVE:Z=`C:${Vv5.sep}`}=process.env;if(I)return I;if(d)return d;if(G)return`${Z}${G}`;let C=Xv5();if(!uX1[C])uX1[C]=Av5.homedir();return uX1[C]};go0.getHomeDir=Yv5});var TX1=Y((Ko0)=>{Object.defineProperty(Ko0,"__esModule",{value:!0});Ko0.getSSOTokenFilepath=void 0;var _v5=B1("crypto"),Dv5=B1("path"),Hv5=AP(),Fv5=(I)=>{let G=_v5.createHash("sha1").update(I).digest("hex");return Dv5.join(Hv5.getHomeDir(),".aws","sso","cache",`${G}.json`)};Ko0.getSSOTokenFilepath=Fv5});var fo0=Y((zo0)=>{Object.defineProperty(zo0,"__esModule",{value:!0});zo0.getSSOTokenFromFile=void 0;var gv5=B1("fs"),Jv5=TX1(),{readFile:Kv5}=gv5.promises,Nv5=async(I)=>{let d=Jv5.getSSOTokenFilepath(I),G=await Kv5(d,"utf8");return JSON.parse(G)};zo0.getSSOTokenFromFile=Nv5});var mX1=Y((qo0)=>{Object.defineProperty(qo0,"__esModule",{value:!0});qo0.slurpFile=void 0;var zv5=B1("fs"),{readFile:Qv5}=zv5.promises,OX1={},fv5=(I,d)=>{if(!OX1[I]||(d===null||d===void 0?void 0:d.ignoreCache))OX1[I]=Qv5(I,"utf8");return OX1[I]};qo0.slurpFile=fv5});var rC=Y((lC3,XP)=>{var{defineProperty:zn,getOwnPropertyDescriptor:qv5,getOwnPropertyNames:Rv5}=Object,Uv5=Object.prototype.hasOwnProperty,PZ=(I,d)=>zn(I,"name",{value:d,configurable:!0}),vv5=(I,d)=>{for(var G in d)zn(I,G,{get:d[G],enumerable:!0})},lX1=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Rv5(d))if(!Uv5.call(I,C)&&C!==G)zn(I,C,{get:()=>d[C],enumerable:!(Z=qv5(d,C))||Z.enumerable})}return I},hX1=(I,d,G)=>(lX1(I,d,"default"),G&&lX1(G,d,"default")),Ev5=(I)=>lX1(zn({},"__esModule",{value:!0}),I),VP={};vv5(VP,{CONFIG_PREFIX_SEPARATOR:()=>fJ,DEFAULT_PROFILE:()=>Mo0,ENV_PROFILE:()=>Eo0,getProfileName:()=>Mv5,loadSharedConfigFiles:()=>yo0,loadSsoSessionData:()=>hv5,parseKnownFiles:()=>kv5});XP.exports=Ev5(VP);hX1(VP,AP(),XP.exports);var Eo0="AWS_PROFILE",Mo0="default",Mv5=PZ((I)=>I.profile||process.env[Eo0]||Mo0,"getProfileName");hX1(VP,TX1(),XP.exports);hX1(VP,fo0(),XP.exports);var Nn=k3(),Sv5=PZ((I)=>Object.entries(I).filter(([d])=>{let G=d.indexOf(fJ);if(G===-1)return!1;return Object.values(Nn.IniSectionType).includes(d.substring(0,G))}).reduce((d,[G,Z])=>{let C=G.indexOf(fJ),W=G.substring(0,C)===Nn.IniSectionType.PROFILE?G.substring(C+1):G;return d[W]=Z,d},{...I.default&&{default:I.default}}),"getConfigData"),So0=B1("path"),Lv5=AP(),yv5="AWS_CONFIG_FILE",Lo0=PZ(()=>process.env[yv5]||So0.join(Lv5.getHomeDir(),".aws","config"),"getConfigFilepath"),Pv5=AP(),$v5="AWS_SHARED_CREDENTIALS_FILE",uv5=PZ(()=>process.env[$v5]||So0.join(Pv5.getHomeDir(),".aws","credentials"),"getCredentialsFilepath"),Tv5=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/,Ov5=["__proto__","profile __proto__"],bX1=PZ((I)=>{let d={},G,Z;for(let C of I.split(/\r?\n/)){let W=C.split(/(^|\s)[;#]/)[0].trim();if(W[0]==="["&&W[W.length-1]==="]"){G=void 0,Z=void 0;let B=W.substring(1,W.length-1),A=Tv5.exec(B);if(A){let[,V,,X]=A;if(Object.values(Nn.IniSectionType).includes(V))G=[V,X].join(fJ)}else G=B;if(Ov5.includes(B))throw new Error(`Found invalid profile name "${B}"`)}else if(G){let B=W.indexOf("=");if(![0,-1].includes(B)){let[A,V]=[W.substring(0,B).trim(),W.substring(B+1).trim()];if(V==="")Z=A;else{if(Z&&C.trimStart()===C)Z=void 0;d[G]=d[G]||{};let X=Z?[Z,A].join(fJ):A;d[G][X]=V}}}}return d},"parseIni"),Uo0=mX1(),vo0=PZ(()=>({}),"swallowError"),fJ=".",yo0=PZ(async(I={})=>{let{filepath:d=uv5(),configFilepath:G=Lo0()}=I,Z=await Promise.all([Uo0.slurpFile(G,{ignoreCache:I.ignoreCache}).then(bX1).then(Sv5).catch(vo0),Uo0.slurpFile(d,{ignoreCache:I.ignoreCache}).then(bX1).catch(vo0)]);return{configFile:Z[0],credentialsFile:Z[1]}},"loadSharedConfigFiles"),mv5=PZ((I)=>Object.entries(I).filter(([d])=>d.startsWith(Nn.IniSectionType.SSO_SESSION+fJ)).reduce((d,[G,Z])=>({...d,[G.substring(G.indexOf(fJ)+1)]:Z}),{}),"getSsoSessionData"),lv5=mX1(),bv5=PZ(()=>({}),"swallowError"),hv5=PZ(async(I={})=>lv5.slurpFile(I.configFilepath??Lo0()).then(bX1).then(mv5).catch(bv5),"loadSsoSessionData"),jv5=PZ((...I)=>{let d={};for(let G of I)for(let[Z,C]of Object.entries(G))if(d[Z]!==void 0)Object.assign(d[Z],C);else d[Z]=C;return d},"mergeConfigFiles"),kv5=PZ(async(I)=>{let d=await yo0(I);return jv5(d.configFile,d.credentialsFile)},"parseKnownFiles")});var mV=Y((bC3,uo0)=>{var{defineProperty:Qn,getOwnPropertyDescriptor:xv5,getOwnPropertyNames:cv5}=Object,pv5=Object.prototype.hasOwnProperty,_P=(I,d)=>Qn(I,"name",{value:d,configurable:!0}),iv5=(I,d)=>{for(var G in d)Qn(I,G,{get:d[G],enumerable:!0})},nv5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of cv5(d))if(!pv5.call(I,C)&&C!==G)Qn(I,C,{get:()=>d[C],enumerable:!(Z=xv5(d,C))||Z.enumerable})}return I},rv5=(I)=>nv5(Qn({},"__esModule",{value:!0}),I),$o0={};iv5($o0,{loadConfig:()=>tv5});uo0.exports=rv5($o0);var YP=x3(),av5=_P((I)=>async()=>{try{let d=I(process.env);if(d===void 0)throw new Error;return d}catch(d){throw new YP.CredentialsProviderError(d.message||`Cannot load config from environment variables with getter: ${I}`)}},"fromEnv"),Po0=rC(),sv5=_P((I,{preferredFile:d="config",...G}={})=>async()=>{let Z=Po0.getProfileName(G),{configFile:C,credentialsFile:W}=await Po0.loadSharedConfigFiles(G),w=W[Z]||{},B=C[Z]||{},A=d==="config"?{...w,...B}:{...B,...w};try{let X=I(A,d==="config"?C:W);if(X===void 0)throw new Error;return X}catch(V){throw new YP.CredentialsProviderError(V.message||`Cannot load config for profile ${Z} in SDK configuration files with getter: ${I}`)}},"fromSharedConfigFiles"),ov5=_P((I)=>typeof I==="function","isFunction"),ev5=_P((I)=>ov5(I)?async()=>await I():YP.fromStatic(I),"fromStatic"),tv5=_P(({environmentVariableSelector:I,configFileSelector:d,default:G},Z={})=>YP.memoize(YP.chain(av5(I),sv5(d,Z),ev5(G))),"loadConfig")});var ho0=Y((lo0)=>{Object.defineProperty(lo0,"__esModule",{value:!0});lo0.getEndpointUrlConfig=void 0;var To0=rC(),Oo0="AWS_ENDPOINT_URL",mo0="endpoint_url",IE5=(I)=>({environmentVariableSelector:(d)=>{let G=I.split(" ").map((W)=>W.toUpperCase()),Z=d[[Oo0,...G].join("_")];if(Z)return Z;let C=d[Oo0];if(C)return C;return},configFileSelector:(d,G)=>{if(G&&d.services){let C=G[["services",d.services].join(To0.CONFIG_PREFIX_SEPARATOR)];if(C){let W=I.split(" ").map((B)=>B.toLowerCase()),w=C[[W.join("_"),mo0].join(To0.CONFIG_PREFIX_SEPARATOR)];if(w)return w}}let Z=d[mo0];if(Z)return Z;return},default:void 0});lo0.getEndpointUrlConfig=IE5});var xo0=Y((jo0)=>{Object.defineProperty(jo0,"__esModule",{value:!0});jo0.getEndpointFromConfig=void 0;var dE5=mV(),GE5=ho0(),ZE5=async(I)=>dE5.loadConfig(GE5.getEndpointUrlConfig(I))();jo0.getEndpointFromConfig=ZE5});var no0=Y((kC3,io0)=>{var{defineProperty:fn,getOwnPropertyDescriptor:CE5,getOwnPropertyNames:WE5}=Object,wE5=Object.prototype.hasOwnProperty,BE5=(I,d)=>fn(I,"name",{value:d,configurable:!0}),AE5=(I,d)=>{for(var G in d)fn(I,G,{get:d[G],enumerable:!0})},VE5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of WE5(d))if(!wE5.call(I,C)&&C!==G)fn(I,C,{get:()=>d[C],enumerable:!(Z=CE5(d,C))||Z.enumerable})}return I},XE5=(I)=>VE5(fn({},"__esModule",{value:!0}),I),co0={};AE5(co0,{parseQueryString:()=>po0});io0.exports=XE5(co0);function po0(I){let d={};if(I=I.replace(/^\?/,""),I)for(let G of I.split("&")){let[Z,C=null]=G.split("=");if(Z=decodeURIComponent(Z),C)C=decodeURIComponent(C);if(!(Z in d))d[Z]=C;else if(Array.isArray(d[Z]))d[Z].push(C);else d[Z]=[d[Z],C]}return d}BE5(po0,"parseQueryString")});var qJ=Y((xC3,so0)=>{var{defineProperty:qn,getOwnPropertyDescriptor:YE5,getOwnPropertyNames:_E5}=Object,DE5=Object.prototype.hasOwnProperty,HE5=(I,d)=>qn(I,"name",{value:d,configurable:!0}),FE5=(I,d)=>{for(var G in d)qn(I,G,{get:d[G],enumerable:!0})},gE5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of _E5(d))if(!DE5.call(I,C)&&C!==G)qn(I,C,{get:()=>d[C],enumerable:!(Z=YE5(d,C))||Z.enumerable})}return I},JE5=(I)=>gE5(qn({},"__esModule",{value:!0}),I),ro0={};FE5(ro0,{parseUrl:()=>ao0});so0.exports=JE5(ro0);var KE5=no0(),ao0=HE5((I)=>{if(typeof I==="string")return ao0(new URL(I));let{hostname:d,pathname:G,port:Z,protocol:C,search:W}=I,w;if(W)w=KE5.parseQueryString(W);return{hostname:d,port:Z?parseInt(Z):void 0,protocol:C,path:G,query:w}},"parseUrl")});var n6=Y((cC3,Ze0)=>{var{defineProperty:Rn,getOwnPropertyDescriptor:NE5,getOwnPropertyNames:zE5}=Object,QE5=Object.prototype.hasOwnProperty,jX1=(I,d)=>Rn(I,"name",{value:d,configurable:!0}),fE5=(I,d)=>{for(var G in d)Rn(I,G,{get:d[G],enumerable:!0})},qE5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of zE5(d))if(!QE5.call(I,C)&&C!==G)Rn(I,C,{get:()=>d[C],enumerable:!(Z=NE5(d,C))||Z.enumerable})}return I},RE5=(I)=>qE5(Rn({},"__esModule",{value:!0}),I),oo0={};fE5(oo0,{deserializerMiddleware:()=>eo0,deserializerMiddlewareOption:()=>Ie0,getSerdePlugin:()=>Ge0,serializerMiddleware:()=>to0,serializerMiddlewareOption:()=>de0});Ze0.exports=RE5(oo0);var eo0=jX1((I,d)=>(G,Z)=>async(C)=>{let{response:W}=await G(C);try{let w=await d(W,I);return{response:W,output:w}}catch(w){if(Object.defineProperty(w,"$response",{value:W}),!("$metadata"in w)){if(w.message+=`
  Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`,typeof w.$responseBodyText!=="undefined"){if(w.$response)w.$response.body=w.$responseBodyText}}throw w}},"deserializerMiddleware"),to0=jX1((I,d)=>(G,Z)=>async(C)=>{var W;let w=((W=Z.endpointV2)==null?void 0:W.url)&&I.urlParser?async()=>I.urlParser(Z.endpointV2.url):I.endpoint;if(!w)throw new Error("No valid endpoint provider available.");let B=await d(C.input,{...I,endpoint:w});return G({...C,request:B})},"serializerMiddleware"),Ie0={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:!0},de0={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:!0};function Ge0(I,d,G){return{applyToStack:(Z)=>{Z.add(eo0(I,G),Ie0),Z.add(to0(I,d),de0)}}}jX1(Ge0,"getSerdePlugin")});var c3=Y((pC3,Xe0)=>{var{defineProperty:vn,getOwnPropertyDescriptor:UE5,getOwnPropertyNames:vE5}=Object,EE5=Object.prototype.hasOwnProperty,aC=(I,d)=>vn(I,"name",{value:d,configurable:!0}),ME5=(I,d)=>{for(var G in d)vn(I,G,{get:d[G],enumerable:!0})},SE5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of vE5(d))if(!EE5.call(I,C)&&C!==G)vn(I,C,{get:()=>d[C],enumerable:!(Z=UE5(d,C))||Z.enumerable})}return I},LE5=(I)=>SE5(vn({},"__esModule",{value:!0}),I),We0={};ME5(We0,{endpointMiddleware:()=>Ae0,endpointMiddlewareOptions:()=>Ve0,getEndpointFromInstructions:()=>we0,getEndpointPlugin:()=>hE5,resolveEndpointConfig:()=>jE5,resolveParams:()=>Be0,toEndpointV1:()=>kX1});Xe0.exports=LE5(We0);var yE5=aC(async(I)=>{let d=(I==null?void 0:I.Bucket)||"";if(typeof I.Bucket==="string")I.Bucket=d.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"));if(OE5(d)){if(I.ForcePathStyle===!0)throw new Error("Path-style addressing cannot be used with ARN buckets")}else if(!TE5(d)||d.indexOf(".")!==-1&&!String(I.Endpoint).startsWith("http:")||d.toLowerCase()!==d||d.length<3)I.ForcePathStyle=!0;if(I.DisableMultiRegionAccessPoints)I.disableMultiRegionAccessPoints=!0,I.DisableMRAP=!0;return I},"resolveParamsForS3"),PE5=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/,$E5=/(\d+\.){3}\d+/,uE5=/\.\./,TE5=aC((I)=>PE5.test(I)&&!$E5.test(I)&&!uE5.test(I),"isDnsCompatibleBucketName"),OE5=aC((I)=>{let[d,G,Z,,,C]=I.split(":"),W=d==="arn"&&I.split(":").length>=6,w=Boolean(W&&G&&Z&&C);if(W&&!w)throw new Error(`Invalid ARN: ${I} was an invalid ARN.`);return w},"isArnBucketName"),mE5=aC((I,d,G)=>{let Z=aC(async()=>{let C=G[I]??G[d];if(typeof C==="function")return C();return C},"configProvider");if(I==="credentialScope"||d==="CredentialScope")return async()=>{let C=typeof G.credentials==="function"?await G.credentials():G.credentials;return(C==null?void 0:C.credentialScope)??(C==null?void 0:C.CredentialScope)};if(I==="endpoint"||d==="endpoint")return async()=>{let C=await Z();if(C&&typeof C==="object"){if("url"in C)return C.url.href;if("hostname"in C){let{protocol:W,hostname:w,port:B,path:A}=C;return`${W}//${w}${B?":"+B:""}${A}`}}return C};return Z},"createConfigValueProvider"),lE5=xo0(),Ce0=qJ(),kX1=aC((I)=>{if(typeof I==="object"){if("url"in I)return Ce0.parseUrl(I.url);return I}return Ce0.parseUrl(I)},"toEndpointV1"),we0=aC(async(I,d,G,Z)=>{if(!G.endpoint){let w=await lE5.getEndpointFromConfig(G.serviceId||"");if(w)G.endpoint=()=>Promise.resolve(kX1(w))}let C=await Be0(I,d,G);if(typeof G.endpointProvider!=="function")throw new Error("config.endpointProvider is not set.");return G.endpointProvider(C,Z)},"getEndpointFromInstructions"),Be0=aC(async(I,d,G)=>{var Z;let C={},W=((Z=d==null?void 0:d.getEndpointParameterInstructions)==null?void 0:Z.call(d))||{};for(let[w,B]of Object.entries(W))switch(B.type){case"staticContextParams":C[w]=B.value;break;case"contextParams":C[w]=I[B.name];break;case"clientContextParams":case"builtInParams":C[w]=await mE5(B.name,w,G)();break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(B))}if(Object.keys(W).length===0)Object.assign(C,G);if(String(G.serviceId).toLowerCase()==="s3")await yE5(C);return C},"resolveParams"),Un=Fq(),Ae0=aC(({config:I,instructions:d})=>{return(G,Z)=>async(C)=>{var W,w,B;let A=await we0(C.input,{getEndpointParameterInstructions(){return d}},{...I},Z);Z.endpointV2=A,Z.authSchemes=(W=A.properties)==null?void 0:W.authSchemes;let V=(w=Z.authSchemes)==null?void 0:w[0];if(V){Z.signing_region=V.signingRegion,Z.signing_service=V.signingName;let X=Un.getSmithyContext(Z),_=(B=X==null?void 0:X.selectedHttpAuthScheme)==null?void 0:B.httpAuthOption;if(_)_.signingProperties=Object.assign(_.signingProperties||{},{signing_region:V.signingRegion,signingRegion:V.signingRegion,signing_service:V.signingName,signingName:V.signingName,signingRegionSet:V.signingRegionSet},V.properties)}return G({...C})}},"endpointMiddleware"),bE5=n6(),Ve0={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:!0,relation:"before",toMiddleware:bE5.serializerMiddlewareOption.name},hE5=aC((I,d)=>({applyToStack:(G)=>{G.addRelativeTo(Ae0({config:I,instructions:d}),Ve0)}}),"getEndpointPlugin"),jE5=aC((I)=>{let d=I.tls??!0,{endpoint:G}=I,Z=G!=null?async()=>kX1(await Un.normalizeProvider(G)()):void 0;return{...I,endpoint:Z,tls:d,isCustomEndpoint:!!G,useDualstackEndpoint:Un.normalizeProvider(I.useDualstackEndpoint??!1),useFipsEndpoint:Un.normalizeProvider(I.useFipsEndpoint??!1)}},"resolveEndpointConfig")});var xX1=Y((Ye0)=>{Object.defineProperty(Ye0,"__esModule",{value:!0});Ye0.default=cE5;var kE5=xE5(B1("crypto"));function xE5(I){return I&&I.__esModule?I:{default:I}}var Mn=new Uint8Array(256),En=Mn.length;function cE5(){if(En>Mn.length-16)kE5.default.randomFillSync(Mn),En=0;return Mn.slice(En,En+=16)}});var He0=Y((_e0)=>{Object.defineProperty(_e0,"__esModule",{value:!0});_e0.default=void 0;var iE5=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;_e0.default=iE5});var DP=Y((Fe0)=>{Object.defineProperty(Fe0,"__esModule",{value:!0});Fe0.default=void 0;var nE5=rE5(He0());function rE5(I){return I&&I.__esModule?I:{default:I}}function aE5(I){return typeof I==="string"&&nE5.default.test(I)}var sE5=aE5;Fe0.default=sE5});var HP=Y((Ke0)=>{Object.defineProperty(Ke0,"__esModule",{value:!0});Ke0.default=void 0;Ke0.unsafeStringify=Je0;var oE5=eE5(DP());function eE5(I){return I&&I.__esModule?I:{default:I}}var I7=[];for(let I=0;I<256;++I)I7.push((I+256).toString(16).slice(1));function Je0(I,d=0){return I7[I[d+0]]+I7[I[d+1]]+I7[I[d+2]]+I7[I[d+3]]+"-"+I7[I[d+4]]+I7[I[d+5]]+"-"+I7[I[d+6]]+I7[I[d+7]]+"-"+I7[I[d+8]]+I7[I[d+9]]+"-"+I7[I[d+10]]+I7[I[d+11]]+I7[I[d+12]]+I7[I[d+13]]+I7[I[d+14]]+I7[I[d+15]]}function tE5(I,d=0){let G=Je0(I,d);if(!oE5.default(G))throw TypeError("Stringified UUID is invalid");return G}var IM5=tE5;Ke0.default=IM5});var qe0=Y((Qe0)=>{Object.defineProperty(Qe0,"__esModule",{value:!0});Qe0.default=void 0;var GM5=CM5(xX1()),ZM5=HP();function CM5(I){return I&&I.__esModule?I:{default:I}}var ze0,cX1,pX1=0,iX1=0;function WM5(I,d,G){let Z=d&&G||0,C=d||new Array(16);I=I||{};let W=I.node||ze0,w=I.clockseq!==void 0?I.clockseq:cX1;if(W==null||w==null){let F=I.random||(I.rng||GM5.default)();if(W==null)W=ze0=[F[0]|1,F[1],F[2],F[3],F[4],F[5]];if(w==null)w=cX1=(F[6]<<8|F[7])&16383}let B=I.msecs!==void 0?I.msecs:Date.now(),A=I.nsecs!==void 0?I.nsecs:iX1+1,V=B-pX1+(A-iX1)/1e4;if(V<0&&I.clockseq===void 0)w=w+1&16383;if((V<0||B>pX1)&&I.nsecs===void 0)A=0;if(A>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");pX1=B,iX1=A,cX1=w,B+=12219292800000;let X=((B&268435455)*1e4+A)%4294967296;C[Z++]=X>>>24&255,C[Z++]=X>>>16&255,C[Z++]=X>>>8&255,C[Z++]=X&255;let _=B/4294967296*1e4&268435455;C[Z++]=_>>>8&255,C[Z++]=_&255,C[Z++]=_>>>24&15|16,C[Z++]=_>>>16&255,C[Z++]=w>>>8|128,C[Z++]=w&255;for(let F=0;F<6;++F)C[Z+F]=W[F];return d||ZM5.unsafeStringify(C)}var wM5=WM5;Qe0.default=wM5});var nX1=Y((Re0)=>{Object.defineProperty(Re0,"__esModule",{value:!0});Re0.default=void 0;var BM5=AM5(DP());function AM5(I){return I&&I.__esModule?I:{default:I}}function VM5(I){if(!BM5.default(I))throw TypeError("Invalid UUID");let d,G=new Uint8Array(16);return G[0]=(d=parseInt(I.slice(0,8),16))>>>24,G[1]=d>>>16&255,G[2]=d>>>8&255,G[3]=d&255,G[4]=(d=parseInt(I.slice(9,13),16))>>>8,G[5]=d&255,G[6]=(d=parseInt(I.slice(14,18),16))>>>8,G[7]=d&255,G[8]=(d=parseInt(I.slice(19,23),16))>>>8,G[9]=d&255,G[10]=(d=parseInt(I.slice(24,36),16))/1099511627776&255,G[11]=d/4294967296&255,G[12]=d>>>24&255,G[13]=d>>>16&255,G[14]=d>>>8&255,G[15]=d&255,G}var XM5=VM5;Re0.default=XM5});var rX1=Y((Me0)=>{Object.defineProperty(Me0,"__esModule",{value:!0});Me0.URL=Me0.DNS=void 0;Me0.default=FM5;var YM5=HP(),_M5=DM5(nX1());function DM5(I){return I&&I.__esModule?I:{default:I}}function HM5(I){I=unescape(encodeURIComponent(I));let d=[];for(let G=0;G<I.length;++G)d.push(I.charCodeAt(G));return d}var ve0="6ba7b810-9dad-11d1-80b4-00c04fd430c8";Me0.DNS=ve0;var Ee0="6ba7b811-9dad-11d1-80b4-00c04fd430c8";Me0.URL=Ee0;function FM5(I,d,G){function Z(C,W,w,B){var A;if(typeof C==="string")C=HM5(C);if(typeof W==="string")W=_M5.default(W);if(((A=W)===null||A===void 0?void 0:A.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let V=new Uint8Array(16+C.length);if(V.set(W),V.set(C,W.length),V=G(V),V[6]=V[6]&15|d,V[8]=V[8]&63|128,w){B=B||0;for(let X=0;X<16;++X)w[B+X]=V[X];return w}return YM5.unsafeStringify(V)}try{Z.name=I}catch(C){}return Z.DNS=ve0,Z.URL=Ee0,Z}});var Pe0=Y((Le0)=>{Object.defineProperty(Le0,"__esModule",{value:!0});Le0.default=void 0;var KM5=NM5(B1("crypto"));function NM5(I){return I&&I.__esModule?I:{default:I}}function zM5(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return KM5.default.createHash("md5").update(I).digest()}var QM5=zM5;Le0.default=QM5});var Oe0=Y((ue0)=>{Object.defineProperty(ue0,"__esModule",{value:!0});ue0.default=void 0;var fM5=$e0(rX1()),qM5=$e0(Pe0());function $e0(I){return I&&I.__esModule?I:{default:I}}var RM5=fM5.default("v3",48,qM5.default),UM5=RM5;ue0.default=UM5});var be0=Y((me0)=>{Object.defineProperty(me0,"__esModule",{value:!0});me0.default=void 0;var vM5=EM5(B1("crypto"));function EM5(I){return I&&I.__esModule?I:{default:I}}var MM5={randomUUID:vM5.default.randomUUID};me0.default=MM5});var ce0=Y((ke0)=>{Object.defineProperty(ke0,"__esModule",{value:!0});ke0.default=void 0;var he0=je0(be0()),SM5=je0(xX1()),LM5=HP();function je0(I){return I&&I.__esModule?I:{default:I}}function yM5(I,d,G){if(he0.default.randomUUID&&!d&&!I)return he0.default.randomUUID();I=I||{};let Z=I.random||(I.rng||SM5.default)();if(Z[6]=Z[6]&15|64,Z[8]=Z[8]&63|128,d){G=G||0;for(let C=0;C<16;++C)d[G+C]=Z[C];return d}return LM5.unsafeStringify(Z)}var PM5=yM5;ke0.default=PM5});var ne0=Y((pe0)=>{Object.defineProperty(pe0,"__esModule",{value:!0});pe0.default=void 0;var $M5=uM5(B1("crypto"));function uM5(I){return I&&I.__esModule?I:{default:I}}function TM5(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return $M5.default.createHash("sha1").update(I).digest()}var OM5=TM5;pe0.default=OM5});var oe0=Y((ae0)=>{Object.defineProperty(ae0,"__esModule",{value:!0});ae0.default=void 0;var mM5=re0(rX1()),lM5=re0(ne0());function re0(I){return I&&I.__esModule?I:{default:I}}var bM5=mM5.default("v5",80,lM5.default),hM5=bM5;ae0.default=hM5});var It0=Y((ee0)=>{Object.defineProperty(ee0,"__esModule",{value:!0});ee0.default=void 0;var jM5="00000000-0000-0000-0000-000000000000";ee0.default=jM5});var Zt0=Y((dt0)=>{Object.defineProperty(dt0,"__esModule",{value:!0});dt0.default=void 0;var kM5=xM5(DP());function xM5(I){return I&&I.__esModule?I:{default:I}}function cM5(I){if(!kM5.default(I))throw TypeError("Invalid UUID");return parseInt(I.slice(14,15),16)}var pM5=cM5;dt0.default=pM5});var Ct0=Y((sC)=>{Object.defineProperty(sC,"__esModule",{value:!0});Object.defineProperty(sC,"NIL",{enumerable:!0,get:function(){return sM5.default}});Object.defineProperty(sC,"parse",{enumerable:!0,get:function(){return IS5.default}});Object.defineProperty(sC,"stringify",{enumerable:!0,get:function(){return tM5.default}});Object.defineProperty(sC,"v1",{enumerable:!0,get:function(){return iM5.default}});Object.defineProperty(sC,"v3",{enumerable:!0,get:function(){return nM5.default}});Object.defineProperty(sC,"v4",{enumerable:!0,get:function(){return rM5.default}});Object.defineProperty(sC,"v5",{enumerable:!0,get:function(){return aM5.default}});Object.defineProperty(sC,"validate",{enumerable:!0,get:function(){return eM5.default}});Object.defineProperty(sC,"version",{enumerable:!0,get:function(){return oM5.default}});var iM5=lV(qe0()),nM5=lV(Oe0()),rM5=lV(ce0()),aM5=lV(oe0()),sM5=lV(It0()),oM5=lV(Zt0()),eM5=lV(DP()),tM5=lV(HP()),IS5=lV(nX1());function lV(I){return I&&I.__esModule?I:{default:I}}});var aX1=Y((AW3,At0)=>{var{defineProperty:Sn,getOwnPropertyDescriptor:dS5,getOwnPropertyNames:GS5}=Object,ZS5=Object.prototype.hasOwnProperty,Qq=(I,d)=>Sn(I,"name",{value:d,configurable:!0}),CS5=(I,d)=>{for(var G in d)Sn(I,G,{get:d[G],enumerable:!0})},WS5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of GS5(d))if(!ZS5.call(I,C)&&C!==G)Sn(I,C,{get:()=>d[C],enumerable:!(Z=dS5(d,C))||Z.enumerable})}return I},wS5=(I)=>WS5(Sn({},"__esModule",{value:!0}),I),Wt0={};CS5(Wt0,{isClockSkewCorrectedError:()=>wt0,isClockSkewError:()=>DS5,isRetryableByTrait:()=>_S5,isServerError:()=>FS5,isThrottlingError:()=>HS5,isTransientError:()=>Bt0});At0.exports=wS5(Wt0);var BS5=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"],AS5=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"],VS5=["TimeoutError","RequestTimeout","RequestTimeoutException"],XS5=[500,502,503,504],YS5=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"],_S5=Qq((I)=>I.$retryable!==void 0,"isRetryableByTrait"),DS5=Qq((I)=>BS5.includes(I.name),"isClockSkewError"),wt0=Qq((I)=>{var d;return(d=I.$metadata)==null?void 0:d.clockSkewCorrected},"isClockSkewCorrectedError"),HS5=Qq((I)=>{var d,G;return((d=I.$metadata)==null?void 0:d.httpStatusCode)===429||AS5.includes(I.name)||((G=I.$retryable)==null?void 0:G.throttling)==!0},"isThrottlingError"),Bt0=Qq((I)=>{var d;return wt0(I)||VS5.includes(I.name)||YS5.includes((I==null?void 0:I.code)||"")||XS5.includes(((d=I.$metadata)==null?void 0:d.httpStatusCode)||0)},"isTransientError"),FS5=Qq((I)=>{var d;if(((d=I.$metadata)==null?void 0:d.httpStatusCode)!==void 0){let G=I.$metadata.httpStatusCode;if(500<=G&&G<=599&&!Bt0(I))return!0;return!1}return!1},"isServerError")});var fq=Y((VW3,Qt0)=>{var{defineProperty:Ln,getOwnPropertyDescriptor:gS5,getOwnPropertyNames:JS5}=Object,KS5=Object.prototype.hasOwnProperty,oC=(I,d)=>Ln(I,"name",{value:d,configurable:!0}),NS5=(I,d)=>{for(var G in d)Ln(I,G,{get:d[G],enumerable:!0})},zS5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of JS5(d))if(!KS5.call(I,C)&&C!==G)Ln(I,C,{get:()=>d[C],enumerable:!(Z=gS5(d,C))||Z.enumerable})}return I},QS5=(I)=>zS5(Ln({},"__esModule",{value:!0}),I),Xt0={};NS5(Xt0,{AdaptiveRetryStrategy:()=>ES5,ConfiguredRetryStrategy:()=>MS5,DEFAULT_MAX_ATTEMPTS:()=>sX1,DEFAULT_RETRY_DELAY_BASE:()=>FP,DEFAULT_RETRY_MODE:()=>fS5,DefaultRateLimiter:()=>Dt0,INITIAL_RETRY_TOKENS:()=>oX1,INVOCATION_ID_HEADER:()=>RS5,MAXIMUM_RETRY_DELAY:()=>eX1,NO_RETRY_INCREMENT:()=>Jt0,REQUEST_HEADER:()=>US5,RETRY_COST:()=>Ft0,RETRY_MODES:()=>Yt0,StandardRetryStrategy:()=>tX1,THROTTLING_RETRY_DELAY_BASE:()=>Ht0,TIMEOUT_RETRY_COST:()=>gt0});Qt0.exports=QS5(Xt0);var Yt0=((I)=>{return I.STANDARD="standard",I.ADAPTIVE="adaptive",I})(Yt0||{}),sX1=3,fS5="standard",qS5=aX1(),_t0=class I{constructor(d){this.currentCapacity=0,this.enabled=!1,this.lastMaxRate=0,this.measuredTxRate=0,this.requestCount=0,this.lastTimestamp=0,this.timeWindow=0,this.beta=(d==null?void 0:d.beta)??0.7,this.minCapacity=(d==null?void 0:d.minCapacity)??1,this.minFillRate=(d==null?void 0:d.minFillRate)??0.5,this.scaleConstant=(d==null?void 0:d.scaleConstant)??0.4,this.smooth=(d==null?void 0:d.smooth)??0.8;let G=this.getCurrentTimeInSeconds();this.lastThrottleTime=G,this.lastTxRateBucket=Math.floor(this.getCurrentTimeInSeconds()),this.fillRate=this.minFillRate,this.maxCapacity=this.minCapacity}getCurrentTimeInSeconds(){return Date.now()/1000}async getSendToken(){return this.acquireTokenBucket(1)}async acquireTokenBucket(d){if(!this.enabled)return;if(this.refillTokenBucket(),d>this.currentCapacity){let G=(d-this.currentCapacity)/this.fillRate*1000;await new Promise((Z)=>setTimeout(Z,G))}this.currentCapacity=this.currentCapacity-d}refillTokenBucket(){let d=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=d;return}let G=(d-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+G),this.lastTimestamp=d}updateClientSendingRate(d){let G;if(this.updateMeasuredRate(),qS5.isThrottlingError(d)){let C=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=C,this.calculateTimeWindow(),this.lastThrottleTime=this.getCurrentTimeInSeconds(),G=this.cubicThrottle(C),this.enableTokenBucket()}else this.calculateTimeWindow(),G=this.cubicSuccess(this.getCurrentTimeInSeconds());let Z=Math.min(G,2*this.measuredTxRate);this.updateTokenBucketRate(Z)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,0.3333333333333333))}cubicThrottle(d){return this.getPrecise(d*this.beta)}cubicSuccess(d){return this.getPrecise(this.scaleConstant*Math.pow(d-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=!0}updateTokenBucketRate(d){this.refillTokenBucket(),this.fillRate=Math.max(d,this.minFillRate),this.maxCapacity=Math.max(d,this.minCapacity),this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){let d=this.getCurrentTimeInSeconds(),G=Math.floor(d*2)/2;if(this.requestCount++,G>this.lastTxRateBucket){let Z=this.requestCount/(G-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(Z*this.smooth+this.measuredTxRate*(1-this.smooth)),this.requestCount=0,this.lastTxRateBucket=G}}getPrecise(d){return parseFloat(d.toFixed(8))}};oC(_t0,"DefaultRateLimiter");var Dt0=_t0,FP=100,eX1=20000,Ht0=500,oX1=500,Ft0=5,gt0=10,Jt0=1,RS5="amz-sdk-invocation-id",US5="amz-sdk-request",vS5=oC(()=>{let I=FP;return{computeNextBackoffDelay:oC((Z)=>{return Math.floor(Math.min(eX1,Math.random()*2**Z*I))},"computeNextBackoffDelay"),setDelayBase:oC((Z)=>{I=Z},"setDelayBase")}},"getDefaultRetryBackoffStrategy"),Vt0=oC(({retryDelay:I,retryCount:d,retryCost:G})=>{return{getRetryCount:oC(()=>d,"getRetryCount"),getRetryDelay:oC(()=>Math.min(eX1,I),"getRetryDelay"),getRetryCost:oC(()=>G,"getRetryCost")}},"createDefaultRetryToken"),Kt0=class I{constructor(d){this.maxAttempts=d,this.mode="standard",this.capacity=oX1,this.retryBackoffStrategy=vS5(),this.maxAttemptsProvider=typeof d==="function"?d:async()=>d}async acquireInitialRetryToken(d){return Vt0({retryDelay:FP,retryCount:0})}async refreshRetryTokenForRetry(d,G){let Z=await this.getMaxAttempts();if(this.shouldRetry(d,G,Z)){let C=G.errorType;this.retryBackoffStrategy.setDelayBase(C==="THROTTLING"?Ht0:FP);let W=this.retryBackoffStrategy.computeNextBackoffDelay(d.getRetryCount()),w=G.retryAfterHint?Math.max(G.retryAfterHint.getTime()-Date.now()||0,W):W,B=this.getCapacityCost(C);return this.capacity-=B,Vt0({retryDelay:w,retryCount:d.getRetryCount()+1,retryCost:B})}throw new Error("No retry token available")}recordSuccess(d){this.capacity=Math.max(oX1,this.capacity+(d.getRetryCost()??Jt0))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(d){return console.warn(`Max attempts provider could not resolve. Using default of ${sX1}`),sX1}}shouldRetry(d,G,Z){return d.getRetryCount()+1<Z&&this.capacity>=this.getCapacityCost(G.errorType)&&this.isRetryableError(G.errorType)}getCapacityCost(d){return d==="TRANSIENT"?gt0:Ft0}isRetryableError(d){return d==="THROTTLING"||d==="TRANSIENT"}};oC(Kt0,"StandardRetryStrategy");var tX1=Kt0,Nt0=class I{constructor(d,G){this.maxAttemptsProvider=d,this.mode="adaptive";let{rateLimiter:Z}=G??{};this.rateLimiter=Z??new Dt0,this.standardRetryStrategy=new tX1(d)}async acquireInitialRetryToken(d){return await this.rateLimiter.getSendToken(),this.standardRetryStrategy.acquireInitialRetryToken(d)}async refreshRetryTokenForRetry(d,G){return this.rateLimiter.updateClientSendingRate(G),this.standardRetryStrategy.refreshRetryTokenForRetry(d,G)}recordSuccess(d){this.rateLimiter.updateClientSendingRate({}),this.standardRetryStrategy.recordSuccess(d)}};oC(Nt0,"AdaptiveRetryStrategy");var ES5=Nt0,zt0=class I extends tX1{constructor(d,G=FP){super(typeof d==="function"?d:async()=>d);if(typeof G==="number")this.computeNextBackoffDelay=()=>G;else this.computeNextBackoffDelay=G}async refreshRetryTokenForRetry(d,G){let Z=await super.refreshRetryTokenForRetry(d,G);return Z.getRetryDelay=()=>this.computeNextBackoffDelay(Z.getRetryCount()),Z}};oC(zt0,"ConfiguredRetryStrategy");var MS5=zt0});var Rt0=Y((ft0)=>{Object.defineProperty(ft0,"__esModule",{value:!0});ft0.isStreamingPayload=void 0;var SS5=B1("stream"),LS5=(I)=>(I===null||I===void 0?void 0:I.body)instanceof SS5.Readable||typeof ReadableStream!=="undefined"&&(I===null||I===void 0?void 0:I.body)instanceof ReadableStream;ft0.isStreamingPayload=LS5});var bV=Y((YW3,jt0)=>{var{defineProperty:yn,getOwnPropertyDescriptor:yS5,getOwnPropertyNames:PS5}=Object,$S5=Object.prototype.hasOwnProperty,M6=(I,d)=>yn(I,"name",{value:d,configurable:!0}),uS5=(I,d)=>{for(var G in d)yn(I,G,{get:d[G],enumerable:!0})},TS5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of PS5(d))if(!$S5.call(I,C)&&C!==G)yn(I,C,{get:()=>d[C],enumerable:!(Z=yS5(d,C))||Z.enumerable})}return I},OS5=(I)=>TS5(yn({},"__esModule",{value:!0}),I),vt0={};uS5(vt0,{AdaptiveRetryStrategy:()=>bS5,CONFIG_MAX_ATTEMPTS:()=>dY1,CONFIG_RETRY_MODE:()=>Tt0,ENV_MAX_ATTEMPTS:()=>IY1,ENV_RETRY_MODE:()=>ut0,NODE_MAX_ATTEMPT_CONFIG_OPTIONS:()=>hS5,NODE_RETRY_MODE_CONFIG_OPTIONS:()=>kS5,StandardRetryStrategy:()=>Pt0,defaultDelayDecider:()=>Mt0,defaultRetryDecider:()=>St0,getOmitRetryHeadersPlugin:()=>xS5,getRetryAfterHint:()=>ht0,getRetryPlugin:()=>aS5,omitRetryHeadersMiddleware:()=>Ot0,omitRetryHeadersMiddlewareOptions:()=>mt0,resolveRetryConfig:()=>jS5,retryMiddleware:()=>lt0,retryMiddlewareOptions:()=>bt0});jt0.exports=OS5(vt0);var qq=t8(),Et0=Ct0(),E3=fq(),mS5=M6((I,d)=>{let G=I,Z=(d==null?void 0:d.noRetryIncrement)??E3.NO_RETRY_INCREMENT,C=(d==null?void 0:d.retryCost)??E3.RETRY_COST,W=(d==null?void 0:d.timeoutRetryCost)??E3.TIMEOUT_RETRY_COST,w=I,B=M6((_)=>_.name==="TimeoutError"?W:C,"getCapacityAmount"),A=M6((_)=>B(_)<=w,"hasRetryTokens");return Object.freeze({hasRetryTokens:A,retrieveRetryTokens:M6((_)=>{if(!A(_))throw new Error("No retry token available");let F=B(_);return w-=F,F},"retrieveRetryTokens"),releaseRetryTokens:M6((_)=>{w+=_??Z,w=Math.min(w,G)},"releaseRetryTokens")})},"getDefaultRetryQuota"),Mt0=M6((I,d)=>Math.floor(Math.min(E3.MAXIMUM_RETRY_DELAY,Math.random()*2**d*I)),"defaultDelayDecider"),ED=aX1(),St0=M6((I)=>{if(!I)return!1;return ED.isRetryableByTrait(I)||ED.isClockSkewError(I)||ED.isThrottlingError(I)||ED.isTransientError(I)},"defaultRetryDecider"),Lt0=M6((I)=>{if(I instanceof Error)return I;if(I instanceof Object)return Object.assign(new Error,I);if(typeof I==="string")return new Error(I);return new Error(`AWS SDK error wrapper for ${I}`)},"asSdkError"),yt0=class I{constructor(d,G){this.maxAttemptsProvider=d,this.mode=E3.RETRY_MODES.STANDARD,this.retryDecider=(G==null?void 0:G.retryDecider)??St0,this.delayDecider=(G==null?void 0:G.delayDecider)??Mt0,this.retryQuota=(G==null?void 0:G.retryQuota)??mS5(E3.INITIAL_RETRY_TOKENS)}shouldRetry(d,G,Z){return G<Z&&this.retryDecider(d)&&this.retryQuota.hasRetryTokens(d)}async getMaxAttempts(){let d;try{d=await this.maxAttemptsProvider()}catch(G){d=E3.DEFAULT_MAX_ATTEMPTS}return d}async retry(d,G,Z){let C,W=0,w=0,B=await this.getMaxAttempts(),{request:A}=G;if(qq.HttpRequest.isInstance(A))A.headers[E3.INVOCATION_ID_HEADER]=Et0.v4();while(!0)try{if(qq.HttpRequest.isInstance(A))A.headers[E3.REQUEST_HEADER]=`attempt=${W+1}; max=${B}`;if(Z==null?void 0:Z.beforeRequest)await Z.beforeRequest();let{response:V,output:X}=await d(G);if(Z==null?void 0:Z.afterRequest)Z.afterRequest(V);return this.retryQuota.releaseRetryTokens(C),X.$metadata.attempts=W+1,X.$metadata.totalRetryDelay=w,{response:V,output:X}}catch(V){let X=Lt0(V);if(W++,this.shouldRetry(X,W,B)){C=this.retryQuota.retrieveRetryTokens(X);let _=this.delayDecider(ED.isThrottlingError(X)?E3.THROTTLING_RETRY_DELAY_BASE:E3.DEFAULT_RETRY_DELAY_BASE,W),F=lS5(X.$response),g=Math.max(F||0,_);w+=g,await new Promise((J)=>setTimeout(J,g));continue}if(!X.$metadata)X.$metadata={};throw X.$metadata.attempts=W,X.$metadata.totalRetryDelay=w,X}}};M6(yt0,"StandardRetryStrategy");var Pt0=yt0,lS5=M6((I)=>{if(!qq.HttpResponse.isInstance(I))return;let d=Object.keys(I.headers).find((W)=>W.toLowerCase()==="retry-after");if(!d)return;let G=I.headers[d],Z=Number(G);if(!Number.isNaN(Z))return Z*1000;return new Date(G).getTime()-Date.now()},"getDelayFromRetryAfterHeader"),$t0=class I extends Pt0{constructor(d,G){let{rateLimiter:Z,...C}=G??{};super(d,C);this.rateLimiter=Z??new E3.DefaultRateLimiter,this.mode=E3.RETRY_MODES.ADAPTIVE}async retry(d,G){return super.retry(d,G,{beforeRequest:async()=>{return this.rateLimiter.getSendToken()},afterRequest:(Z)=>{this.rateLimiter.updateClientSendingRate(Z)}})}};M6($t0,"AdaptiveRetryStrategy");var bS5=$t0,Ut0=Fq(),IY1="AWS_MAX_ATTEMPTS",dY1="max_attempts",hS5={environmentVariableSelector:(I)=>{let d=I[IY1];if(!d)return;let G=parseInt(d);if(Number.isNaN(G))throw new Error(`Environment variable ${IY1} mast be a number, got "${d}"`);return G},configFileSelector:(I)=>{let d=I[dY1];if(!d)return;let G=parseInt(d);if(Number.isNaN(G))throw new Error(`Shared config file entry ${dY1} mast be a number, got "${d}"`);return G},default:E3.DEFAULT_MAX_ATTEMPTS},jS5=M6((I)=>{let{retryStrategy:d}=I,G=Ut0.normalizeProvider(I.maxAttempts??E3.DEFAULT_MAX_ATTEMPTS);return{...I,maxAttempts:G,retryStrategy:async()=>{if(d)return d;if(await Ut0.normalizeProvider(I.retryMode)()===E3.RETRY_MODES.ADAPTIVE)return new E3.AdaptiveRetryStrategy(G);return new E3.StandardRetryStrategy(G)}}},"resolveRetryConfig"),ut0="AWS_RETRY_MODE",Tt0="retry_mode",kS5={environmentVariableSelector:(I)=>I[ut0],configFileSelector:(I)=>I[Tt0],default:E3.DEFAULT_RETRY_MODE},Ot0=M6(()=>(I)=>async(d)=>{let{request:G}=d;if(qq.HttpRequest.isInstance(G))delete G.headers[E3.INVOCATION_ID_HEADER],delete G.headers[E3.REQUEST_HEADER];return I(d)},"omitRetryHeadersMiddleware"),mt0={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:!0},xS5=M6((I)=>({applyToStack:(d)=>{d.addRelativeTo(Ot0(),mt0)}}),"getOmitRetryHeadersPlugin"),cS5=h2(),pS5=Rt0(),lt0=M6((I)=>(d,G)=>async(Z)=>{var C;let W=await I.retryStrategy(),w=await I.maxAttempts();if(iS5(W)){W=W;let B=await W.acquireInitialRetryToken(G.partition_id),A=new Error,V=0,X=0,{request:_}=Z,F=qq.HttpRequest.isInstance(_);if(F)_.headers[E3.INVOCATION_ID_HEADER]=Et0.v4();while(!0)try{if(F)_.headers[E3.REQUEST_HEADER]=`attempt=${V+1}; max=${w}`;let{response:g,output:J}=await d(Z);return W.recordSuccess(B),J.$metadata.attempts=V+1,J.$metadata.totalRetryDelay=X,{response:g,output:J}}catch(g){let J=nS5(g);if(A=Lt0(g),F&&pS5.isStreamingPayload(_))throw(C=G.logger instanceof cS5.NoOpLogger?console:G.logger)==null||C.warn("An error was encountered in a non-retryable streaming request."),A;try{B=await W.refreshRetryTokenForRetry(B,J)}catch(Q){if(!A.$metadata)A.$metadata={};throw A.$metadata.attempts=V+1,A.$metadata.totalRetryDelay=X,A}V=B.getRetryCount();let K=B.getRetryDelay();X+=K,await new Promise((Q)=>setTimeout(Q,K))}}else{if(W=W,W==null?void 0:W.mode)G.userAgent=[...G.userAgent||[],["cfg/retry-mode",W.mode]];return W.retry(d,Z)}},"retryMiddleware"),iS5=M6((I)=>typeof I.acquireInitialRetryToken!=="undefined"&&typeof I.refreshRetryTokenForRetry!=="undefined"&&typeof I.recordSuccess!=="undefined","isRetryStrategyV2"),nS5=M6((I)=>{let d={error:I,errorType:rS5(I)},G=ht0(I.$response);if(G)d.retryAfterHint=G;return d},"getRetryErrorInfo"),rS5=M6((I)=>{if(ED.isThrottlingError(I))return"THROTTLING";if(ED.isTransientError(I))return"TRANSIENT";if(ED.isServerError(I))return"SERVER_ERROR";return"CLIENT_ERROR"},"getRetryErrorType"),bt0={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:!0},aS5=M6((I)=>({applyToStack:(d)=>{d.add(lt0(I),bt0)}}),"getRetryPlugin"),ht0=M6((I)=>{if(!qq.HttpResponse.isInstance(I))return;let d=Object.keys(I.headers).find((W)=>W.toLowerCase()==="retry-after");if(!d)return;let G=I.headers[d],Z=Number(G);if(!Number.isNaN(Z))return new Date(Z*1000);return new Date(G)},"getRetryAfterHint")});var ct0=Y((kt0)=>{Object.defineProperty(kt0,"__esModule",{value:!0});kt0.resolveClientEndpointParameters=void 0;var sS5=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"bedrock"}};kt0.resolveClientEndpointParameters=sS5});var pt0=Y((DW3,oS5)=>{oS5.exports={name:"@aws-sdk/client-bedrock-runtime",description:"AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",version:"3.423.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo bedrock-runtime"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/client-sts":"3.423.0","@aws-sdk/credential-provider-node":"3.423.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/eventstream-serde-browser":"^2.0.9","@smithy/eventstream-serde-config-resolver":"^2.0.9","@smithy/eventstream-serde-node":"^2.0.9","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-stream":"^2.0.12","@smithy/util-utf8":"^2.0.0",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-runtime",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-bedrock-runtime"}}});var rt0=Y((it0)=>{Object.defineProperty(it0,"__esModule",{value:!0});it0.resolveStsAuthConfig=void 0;var eS5=OV(),tS5=(I,{stsClientCtor:d})=>eS5.resolveAwsAuthConfig({...I,stsClientCtor:d});it0.resolveStsAuthConfig=tS5});var ot0=Y((at0)=>{Object.defineProperty(at0,"__esModule",{value:!0});at0.resolveClientEndpointParameters=void 0;var IL5=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,useGlobalEndpoint:I.useGlobalEndpoint??!1,defaultSigningName:"sts"}};at0.resolveClientEndpointParameters=IL5});var et0=Y((gW3,dL5)=>{dL5.exports={name:"@aws-sdk/client-sts",description:"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native",version:"3.423.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts",test:"yarn test:unit","test:unit":"jest"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/credential-provider-node":"3.423.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-sdk-sts":"3.418.0","@aws-sdk/middleware-signing":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0","fast-xml-parser":"4.2.5",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sts"}}});var Pn=Y((ZY1)=>{Object.defineProperty(ZY1,"__esModule",{value:!0});ZY1.STSServiceException=ZY1.__ServiceException=void 0;var tt0=h2();Object.defineProperty(ZY1,"__ServiceException",{enumerable:!0,get:function(){return tt0.ServiceException}});class GY1 extends tt0.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,GY1.prototype)}}ZY1.STSServiceException=GY1});var SD=Y((d12)=>{Object.defineProperty(d12,"__esModule",{value:!0});d12.GetSessionTokenResponseFilterSensitiveLog=d12.GetFederationTokenResponseFilterSensitiveLog=d12.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=d12.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=d12.AssumeRoleWithSAMLResponseFilterSensitiveLog=d12.AssumeRoleWithSAMLRequestFilterSensitiveLog=d12.AssumeRoleResponseFilterSensitiveLog=d12.CredentialsFilterSensitiveLog=d12.InvalidAuthorizationMessageException=d12.IDPCommunicationErrorException=d12.InvalidIdentityTokenException=d12.IDPRejectedClaimException=d12.RegionDisabledException=d12.PackedPolicyTooLargeException=d12.MalformedPolicyDocumentException=d12.ExpiredTokenException=void 0;var CY1=h2(),MD=Pn();class WY1 extends MD.STSServiceException{constructor(I){super({name:"ExpiredTokenException",$fault:"client",...I});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,WY1.prototype)}}d12.ExpiredTokenException=WY1;class wY1 extends MD.STSServiceException{constructor(I){super({name:"MalformedPolicyDocumentException",$fault:"client",...I});this.name="MalformedPolicyDocumentException",this.$fault="client",Object.setPrototypeOf(this,wY1.prototype)}}d12.MalformedPolicyDocumentException=wY1;class BY1 extends MD.STSServiceException{constructor(I){super({name:"PackedPolicyTooLargeException",$fault:"client",...I});this.name="PackedPolicyTooLargeException",this.$fault="client",Object.setPrototypeOf(this,BY1.prototype)}}d12.PackedPolicyTooLargeException=BY1;class AY1 extends MD.STSServiceException{constructor(I){super({name:"RegionDisabledException",$fault:"client",...I});this.name="RegionDisabledException",this.$fault="client",Object.setPrototypeOf(this,AY1.prototype)}}d12.RegionDisabledException=AY1;class VY1 extends MD.STSServiceException{constructor(I){super({name:"IDPRejectedClaimException",$fault:"client",...I});this.name="IDPRejectedClaimException",this.$fault="client",Object.setPrototypeOf(this,VY1.prototype)}}d12.IDPRejectedClaimException=VY1;class XY1 extends MD.STSServiceException{constructor(I){super({name:"InvalidIdentityTokenException",$fault:"client",...I});this.name="InvalidIdentityTokenException",this.$fault="client",Object.setPrototypeOf(this,XY1.prototype)}}d12.InvalidIdentityTokenException=XY1;class YY1 extends MD.STSServiceException{constructor(I){super({name:"IDPCommunicationErrorException",$fault:"client",...I});this.name="IDPCommunicationErrorException",this.$fault="client",Object.setPrototypeOf(this,YY1.prototype)}}d12.IDPCommunicationErrorException=YY1;class _Y1 extends MD.STSServiceException{constructor(I){super({name:"InvalidAuthorizationMessageException",$fault:"client",...I});this.name="InvalidAuthorizationMessageException",this.$fault="client",Object.setPrototypeOf(this,_Y1.prototype)}}d12.InvalidAuthorizationMessageException=_Y1;var GL5=(I)=>({...I,...I.SecretAccessKey&&{SecretAccessKey:CY1.SENSITIVE_STRING}});d12.CredentialsFilterSensitiveLog=GL5;var ZL5=(I)=>({...I,...I.Credentials&&{Credentials:d12.CredentialsFilterSensitiveLog(I.Credentials)}});d12.AssumeRoleResponseFilterSensitiveLog=ZL5;var CL5=(I)=>({...I,...I.SAMLAssertion&&{SAMLAssertion:CY1.SENSITIVE_STRING}});d12.AssumeRoleWithSAMLRequestFilterSensitiveLog=CL5;var WL5=(I)=>({...I,...I.Credentials&&{Credentials:d12.CredentialsFilterSensitiveLog(I.Credentials)}});d12.AssumeRoleWithSAMLResponseFilterSensitiveLog=WL5;var wL5=(I)=>({...I,...I.WebIdentityToken&&{WebIdentityToken:CY1.SENSITIVE_STRING}});d12.AssumeRoleWithWebIdentityRequestFilterSensitiveLog=wL5;var BL5=(I)=>({...I,...I.Credentials&&{Credentials:d12.CredentialsFilterSensitiveLog(I.Credentials)}});d12.AssumeRoleWithWebIdentityResponseFilterSensitiveLog=BL5;var AL5=(I)=>({...I,...I.Credentials&&{Credentials:d12.CredentialsFilterSensitiveLog(I.Credentials)}});d12.GetFederationTokenResponseFilterSensitiveLog=AL5;var VL5=(I)=>({...I,...I.Credentials&&{Credentials:d12.CredentialsFilterSensitiveLog(I.Credentials)}});d12.GetSessionTokenResponseFilterSensitiveLog=VL5});var $n=Y((ML5)=>{var RL5=":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\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",Z12="[: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]["+RL5+"]*",UL5=new RegExp("^"+Z12+"$"),vL5=function(I,d){let G=[],Z=d.exec(I);while(Z){let C=[];C.startIndex=d.lastIndex-Z[0].length;let W=Z.length;for(let w=0;w<W;w++)C.push(Z[w]);G.push(C),Z=d.exec(I)}return G},EL5=function(I){let d=UL5.exec(I);return!(d===null||typeof d==="undefined")};ML5.isExist=function(I){return typeof I!=="undefined"};ML5.isEmptyObject=function(I){return Object.keys(I).length===0};ML5.merge=function(I,d,G){if(d){let Z=Object.keys(d),C=Z.length;for(let W=0;W<C;W++)if(G==="strict")I[Z[W]]=[d[Z[W]]];else I[Z[W]]=d[Z[W]]}};ML5.getValue=function(I){if(ML5.isExist(I))return I;else return""};ML5.isName=EL5;ML5.getAllMatches=vL5;ML5.nameRegexp=Z12});var HY1=Y((cL5)=>{var DY1=$n(),TL5={allowBooleanAttributes:!1,unpairedTags:[]};cL5.validate=function(I,d){d=Object.assign({},TL5,d);let G=[],Z=!1,C=!1;if(I[0]==="\uFEFF")I=I.substr(1);for(let W=0;W<I.length;W++)if(I[W]==="<"&&I[W+1]==="?"){if(W+=2,W=w12(I,W),W.err)return W}else if(I[W]==="<"){let w=W;if(W++,I[W]==="!"){W=B12(I,W);continue}else{let B=!1;if(I[W]==="/")B=!0,W++;let A="";for(;W<I.length&&I[W]!==">"&&I[W]!==" "&&I[W]!=="\t"&&I[W]!==`
`&&I[W]!=="\r";W++)A+=I[W];if(A=A.trim(),A[A.length-1]==="/")A=A.substring(0,A.length-1),W--;if(!xL5(A)){let _;if(A.trim().length===0)_="Invalid space after '<'.";else _="Tag '"+A+"' is an invalid name.";return S6("InvalidTag",_,Xd(I,W))}let V=lL5(I,W);if(V===!1)return S6("InvalidAttr","Attributes for '"+A+"' have open quote.",Xd(I,W));let X=V.value;if(W=V.index,X[X.length-1]==="/"){let _=W-X.length;X=X.substring(0,X.length-1);let F=A12(X,d);if(F===!0)Z=!0;else return S6(F.err.code,F.err.msg,Xd(I,_+F.err.line))}else if(B)if(!V.tagClosed)return S6("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",Xd(I,W));else if(X.trim().length>0)return S6("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",Xd(I,w));else{let _=G.pop();if(A!==_.tagName){let F=Xd(I,_.tagStartPos);return S6("InvalidTag","Expected closing tag '"+_.tagName+"' (opened in line "+F.line+", col "+F.col+") instead of closing tag '"+A+"'.",Xd(I,w))}if(G.length==0)C=!0}else{let _=A12(X,d);if(_!==!0)return S6(_.err.code,_.err.msg,Xd(I,W-X.length+_.err.line));if(C===!0)return S6("InvalidXml","Multiple possible root nodes found.",Xd(I,W));else if(d.unpairedTags.indexOf(A)!==-1);else G.push({tagName:A,tagStartPos:w});Z=!0}for(W++;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="!"){W++,W=B12(I,W);continue}else if(I[W+1]==="?"){if(W=w12(I,++W),W.err)return W}else break;else if(I[W]==="&"){let _=jL5(I,W);if(_==-1)return S6("InvalidChar","char '&' is not expected.",Xd(I,W));W=_}else if(C===!0&&!W12(I[W]))return S6("InvalidXml","Extra text at the end",Xd(I,W));if(I[W]==="<")W--}}else{if(W12(I[W]))continue;return S6("InvalidChar","char '"+I[W]+"' is not expected.",Xd(I,W))}if(!Z)return S6("InvalidXml","Start tag expected.",1);else if(G.length==1)return S6("InvalidTag","Unclosed tag '"+G[0].tagName+"'.",Xd(I,G[0].tagStartPos));else if(G.length>0)return S6("InvalidXml","Invalid '"+JSON.stringify(G.map((W)=>W.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1});return!0};function W12(I){return I===" "||I==="\t"||I===`
`||I==="\r"}function w12(I,d){let G=d;for(;d<I.length;d++)if(I[d]=="?"||I[d]==" "){let Z=I.substr(G,d-G);if(d>5&&Z==="xml")return S6("InvalidXml","XML declaration allowed only at the start of the document.",Xd(I,d));else if(I[d]=="?"&&I[d+1]==">"){d++;break}else continue}return d}function B12(I,d){if(I.length>d+5&&I[d+1]==="-"&&I[d+2]==="-"){for(d+=3;d<I.length;d++)if(I[d]==="-"&&I[d+1]==="-"&&I[d+2]===">"){d+=2;break}}else if(I.length>d+8&&I[d+1]==="D"&&I[d+2]==="O"&&I[d+3]==="C"&&I[d+4]==="T"&&I[d+5]==="Y"&&I[d+6]==="P"&&I[d+7]==="E"){let G=1;for(d+=8;d<I.length;d++)if(I[d]==="<")G++;else if(I[d]===">"){if(G--,G===0)break}}else if(I.length>d+9&&I[d+1]==="["&&I[d+2]==="C"&&I[d+3]==="D"&&I[d+4]==="A"&&I[d+5]==="T"&&I[d+6]==="A"&&I[d+7]==="["){for(d+=8;d<I.length;d++)if(I[d]==="]"&&I[d+1]==="]"&&I[d+2]===">"){d+=2;break}}return d}var OL5='"',mL5="'";function lL5(I,d){let G="",Z="",C=!1;for(;d<I.length;d++){if(I[d]===OL5||I[d]===mL5)if(Z==="")Z=I[d];else if(Z!==I[d]);else Z="";else if(I[d]===">"){if(Z===""){C=!0;break}}G+=I[d]}if(Z!=="")return!1;return{value:G,index:d,tagClosed:C}}var bL5=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function A12(I,d){let G=DY1.getAllMatches(I,bL5),Z={};for(let C=0;C<G.length;C++){if(G[C][1].length===0)return S6("InvalidAttr","Attribute '"+G[C][2]+"' has no space in starting.",gP(G[C]));else if(G[C][3]!==void 0&&G[C][4]===void 0)return S6("InvalidAttr","Attribute '"+G[C][2]+"' is without value.",gP(G[C]));else if(G[C][3]===void 0&&!d.allowBooleanAttributes)return S6("InvalidAttr","boolean attribute '"+G[C][2]+"' is not allowed.",gP(G[C]));let W=G[C][2];if(!kL5(W))return S6("InvalidAttr","Attribute '"+W+"' is an invalid name.",gP(G[C]));if(!Z.hasOwnProperty(W))Z[W]=1;else return S6("InvalidAttr","Attribute '"+W+"' is repeated.",gP(G[C]))}return!0}function hL5(I,d){let G=/\d/;if(I[d]==="x")d++,G=/[\da-fA-F]/;for(;d<I.length;d++){if(I[d]===";")return d;if(!I[d].match(G))break}return-1}function jL5(I,d){if(d++,I[d]===";")return-1;if(I[d]==="#")return d++,hL5(I,d);let G=0;for(;d<I.length;d++,G++){if(I[d].match(/\w/)&&G<20)continue;if(I[d]===";")break;return-1}return d}function S6(I,d,G){return{err:{code:I,msg:d,line:G.line||G,col:G.col}}}function kL5(I){return DY1.isName(I)}function xL5(I){return DY1.isName(I)}function Xd(I,d){let G=I.substring(0,d).split(/\r?\n/);return{line:G.length,col:G[G.length-1].length+1}}function gP(I){return I.startIndex+I[1].length}});var X12=Y((nL5)=>{var V12={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(I,d){return d},attributeValueProcessor:function(I,d){return d},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(I,d,G){return I}},iL5=function(I){return Object.assign({},V12,I)};nL5.buildOptions=iL5;nL5.defaultOptions=V12});var D12=Y((qW3,_12)=>{class Y12{constructor(I){this.tagname=I,this.child=[],this[":@"]={}}add(I,d){if(I==="__proto__")I="#__proto__";this.child.push({[I]:d})}addChild(I){if(I.tagname==="__proto__")I.tagname="#__proto__";if(I[":@"]&&Object.keys(I[":@"]).length>0)this.child.push({[I.tagname]:I.child,[":@"]:I[":@"]});else this.child.push({[I.tagname]:I.child})}}_12.exports=Y12});var F12=Y((RW3,H12)=>{var sL5=$n();function oL5(I,d){let G={};if(I[d+3]==="O"&&I[d+4]==="C"&&I[d+5]==="T"&&I[d+6]==="Y"&&I[d+7]==="P"&&I[d+8]==="E"){d=d+9;let Z=1,C=!1,W=!1,w="";for(;d<I.length;d++)if(I[d]==="<"&&!W){if(C&&Iy5(I,d)){if(d+=7,[entityName,val,d]=eL5(I,d+1),val.indexOf("&")===-1)G[Cy5(entityName)]={regx:RegExp(`&${entityName};`,"g"),val}}else if(C&&dy5(I,d))d+=8;else if(C&&Gy5(I,d))d+=8;else if(C&&Zy5(I,d))d+=9;else if(tL5)W=!0;else throw new Error("Invalid DOCTYPE");Z++,w=""}else if(I[d]===">"){if(W){if(I[d-1]==="-"&&I[d-2]==="-")W=!1,Z--}else Z--;if(Z===0)break}else if(I[d]==="[")C=!0;else w+=I[d];if(Z!==0)throw new Error("Unclosed DOCTYPE")}else throw new Error("Invalid Tag instead of DOCTYPE");return{entities:G,i:d}}function eL5(I,d){let G="";for(;d<I.length&&(I[d]!=="'"&&I[d]!=='"');d++)G+=I[d];if(G=G.trim(),G.indexOf(" ")!==-1)throw new Error("External entites are not supported");let Z=I[d++],C="";for(;d<I.length&&I[d]!==Z;d++)C+=I[d];return[G,C,d]}function tL5(I,d){if(I[d+1]==="!"&&I[d+2]==="-"&&I[d+3]==="-")return!0;return!1}function Iy5(I,d){if(I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="N"&&I[d+4]==="T"&&I[d+5]==="I"&&I[d+6]==="T"&&I[d+7]==="Y")return!0;return!1}function dy5(I,d){if(I[d+1]==="!"&&I[d+2]==="E"&&I[d+3]==="L"&&I[d+4]==="E"&&I[d+5]==="M"&&I[d+6]==="E"&&I[d+7]==="N"&&I[d+8]==="T")return!0;return!1}function Gy5(I,d){if(I[d+1]==="!"&&I[d+2]==="A"&&I[d+3]==="T"&&I[d+4]==="T"&&I[d+5]==="L"&&I[d+6]==="I"&&I[d+7]==="S"&&I[d+8]==="T")return!0;return!1}function Zy5(I,d){if(I[d+1]==="!"&&I[d+2]==="N"&&I[d+3]==="O"&&I[d+4]==="T"&&I[d+5]==="A"&&I[d+6]==="T"&&I[d+7]==="I"&&I[d+8]==="O"&&I[d+9]==="N")return!0;return!1}function Cy5(I){if(sL5.isName(I))return I;else throw new Error(`Invalid entity name ${I}`)}H12.exports=oL5});var K12=Y((vW3,J12)=>{var JY1=$n(),JP=D12(),Wy5=F12(),wy5=mc(),UW3="<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,JY1.nameRegexp);class g12{constructor(I){this.options=I,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:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"}},this.addExternalEntities=By5,this.parseXml=_y5,this.parseTextData=Ay5,this.resolveNameSpace=Vy5,this.buildAttributesMap=Yy5,this.isItStopNode=gy5,this.replaceEntitiesValue=Hy5,this.readStopNodeData=Ky5,this.saveTextToParentTag=Fy5,this.addChild=Dy5}}function By5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];this.lastEntities[Z]={regex:new RegExp("&"+Z+";","g"),val:I[Z]}}}function Ay5(I,d,G,Z,C,W,w){if(I!==void 0){if(this.options.trimValues&&!Z)I=I.trim();if(I.length>0){if(!w)I=this.replaceEntitiesValue(I);let B=this.options.tagValueProcessor(d,I,G,C,W);if(B===null||B===void 0)return I;else if(typeof B!==typeof I||B!==I)return B;else if(this.options.trimValues)return gY1(I,this.options.parseTagValue,this.options.numberParseOptions);else if(I.trim()===I)return gY1(I,this.options.parseTagValue,this.options.numberParseOptions);else return I}}}function Vy5(I){if(this.options.removeNSPrefix){let d=I.split(":"),G=I.charAt(0)==="/"?"/":"";if(d[0]==="xmlns")return"";if(d.length===2)I=G+d[1]}return I}var Xy5=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,"gm");function Yy5(I,d,G){if(!this.options.ignoreAttributes&&typeof I==="string"){let Z=JY1.getAllMatches(I,Xy5),C=Z.length,W={};for(let w=0;w<C;w++){let B=this.resolveNameSpace(Z[w][1]),A=Z[w][4],V=this.options.attributeNamePrefix+B;if(B.length){if(this.options.transformAttributeName)V=this.options.transformAttributeName(V);if(V==="__proto__")V="#__proto__";if(A!==void 0){if(this.options.trimValues)A=A.trim();A=this.replaceEntitiesValue(A);let X=this.options.attributeValueProcessor(B,A,d);if(X===null||X===void 0)W[V]=A;else if(typeof X!==typeof A||X!==A)W[V]=X;else W[V]=gY1(A,this.options.parseAttributeValue,this.options.numberParseOptions)}else if(this.options.allowBooleanAttributes)W[V]=!0}}if(!Object.keys(W).length)return;if(this.options.attributesGroupName){let w={};return w[this.options.attributesGroupName]=W,w}return W}}var _y5=function(I){I=I.replace(/\r\n?/g,`
`);let d=new JP("!xml"),G=d,Z="",C="";for(let W=0;W<I.length;W++)if(I[W]==="<")if(I[W+1]==="/"){let B=RJ(I,">",W,"Closing Tag is not closed."),A=I.substring(W+2,B).trim();if(this.options.removeNSPrefix){let _=A.indexOf(":");if(_!==-1)A=A.substr(_+1)}if(this.options.transformTagName)A=this.options.transformTagName(A);if(G)Z=this.saveTextToParentTag(Z,G,C);let V=C.substring(C.lastIndexOf(".")+1);if(A&&this.options.unpairedTags.indexOf(A)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${A}>`);let X=0;if(V&&this.options.unpairedTags.indexOf(V)!==-1)X=C.lastIndexOf(".",C.lastIndexOf(".")-1),this.tagsNodeStack.pop();else X=C.lastIndexOf(".");C=C.substring(0,X),G=this.tagsNodeStack.pop(),Z="",W=B}else if(I[W+1]==="?"){let B=FY1(I,W,!1,"?>");if(!B)throw new Error("Pi Tag is not closed.");if(Z=this.saveTextToParentTag(Z,G,C),this.options.ignoreDeclaration&&B.tagName==="?xml"||this.options.ignorePiTags);else{let A=new JP(B.tagName);if(A.add(this.options.textNodeName,""),B.tagName!==B.tagExp&&B.attrExpPresent)A[":@"]=this.buildAttributesMap(B.tagExp,C,B.tagName);this.addChild(G,A,C)}W=B.closeIndex+1}else if(I.substr(W+1,3)==="!--"){let B=RJ(I,"-->",W+4,"Comment is not closed.");if(this.options.commentPropName){let A=I.substring(W+4,B-2);Z=this.saveTextToParentTag(Z,G,C),G.add(this.options.commentPropName,[{[this.options.textNodeName]:A}])}W=B}else if(I.substr(W+1,2)==="!D"){let B=Wy5(I,W);this.docTypeEntities=B.entities,W=B.i}else if(I.substr(W+1,2)==="!["){let B=RJ(I,"]]>",W,"CDATA is not closed.")-2,A=I.substring(W+9,B);if(Z=this.saveTextToParentTag(Z,G,C),this.options.cdataPropName)G.add(this.options.cdataPropName,[{[this.options.textNodeName]:A}]);else{let V=this.parseTextData(A,G.tagname,C,!0,!1,!0);if(V==null)V="";G.add(this.options.textNodeName,V)}W=B+2}else{let B=FY1(I,W,this.options.removeNSPrefix),A=B.tagName,V=B.tagExp,X=B.attrExpPresent,_=B.closeIndex;if(this.options.transformTagName)A=this.options.transformTagName(A);if(G&&Z){if(G.tagname!=="!xml")Z=this.saveTextToParentTag(Z,G,C,!1)}let F=G;if(F&&this.options.unpairedTags.indexOf(F.tagname)!==-1)G=this.tagsNodeStack.pop(),C=C.substring(0,C.lastIndexOf("."));if(A!==d.tagname)C+=C?"."+A:A;if(this.isItStopNode(this.options.stopNodes,C,A)){let g="";if(V.length>0&&V.lastIndexOf("/")===V.length-1)W=B.closeIndex;else if(this.options.unpairedTags.indexOf(A)!==-1)W=B.closeIndex;else{let K=this.readStopNodeData(I,A,_+1);if(!K)throw new Error(`Unexpected end of ${A}`);W=K.i,g=K.tagContent}let J=new JP(A);if(A!==V&&X)J[":@"]=this.buildAttributesMap(V,C,A);if(g)g=this.parseTextData(g,A,C,!0,X,!0,!0);C=C.substr(0,C.lastIndexOf(".")),J.add(this.options.textNodeName,g),this.addChild(G,J,C)}else{if(V.length>0&&V.lastIndexOf("/")===V.length-1){if(A[A.length-1]==="/")A=A.substr(0,A.length-1),V=A;else V=V.substr(0,V.length-1);if(this.options.transformTagName)A=this.options.transformTagName(A);let g=new JP(A);if(A!==V&&X)g[":@"]=this.buildAttributesMap(V,C,A);this.addChild(G,g,C),C=C.substr(0,C.lastIndexOf("."))}else{let g=new JP(A);if(this.tagsNodeStack.push(G),A!==V&&X)g[":@"]=this.buildAttributesMap(V,C,A);this.addChild(G,g,C),G=g}Z="",W=_}}else Z+=I[W];return d.child};function Dy5(I,d,G){let Z=this.options.updateTag(d.tagname,G,d[":@"]);if(Z===!1);else if(typeof Z==="string")d.tagname=Z,I.addChild(d);else I.addChild(d)}var Hy5=function(I){if(this.options.processEntities){for(let d in this.docTypeEntities){let G=this.docTypeEntities[d];I=I.replace(G.regx,G.val)}for(let d in this.lastEntities){let G=this.lastEntities[d];I=I.replace(G.regex,G.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){let G=this.htmlEntities[d];I=I.replace(G.regex,G.val)}I=I.replace(this.ampEntity.regex,this.ampEntity.val)}return I};function Fy5(I,d,G,Z){if(I){if(Z===void 0)Z=Object.keys(d.child).length===0;if(I=this.parseTextData(I,d.tagname,G,!1,d[":@"]?Object.keys(d[":@"]).length!==0:!1,Z),I!==void 0&&I!=="")d.add(this.options.textNodeName,I);I=""}return I}function gy5(I,d,G){let Z="*."+G;for(let C in I){let W=I[C];if(Z===W||d===W)return!0}return!1}function Jy5(I,d,G=">"){let Z,C="";for(let W=d;W<I.length;W++){let w=I[W];if(Z){if(w===Z)Z=""}else if(w==='"'||w==="'")Z=w;else if(w===G[0])if(G[1]){if(I[W+1]===G[1])return{data:C,index:W}}else return{data:C,index:W};else if(w==="\t")w=" ";C+=w}}function RJ(I,d,G,Z){let C=I.indexOf(d,G);if(C===-1)throw new Error(Z);else return C+d.length-1}function FY1(I,d,G,Z=">"){let C=Jy5(I,d+1,Z);if(!C)return;let{data:W,index:w}=C,B=W.search(/\s/),A=W,V=!0;if(B!==-1)A=W.substr(0,B).replace(/\s\s*$/,""),W=W.substr(B+1);if(G){let X=A.indexOf(":");if(X!==-1)A=A.substr(X+1),V=A!==C.data.substr(X+1)}return{tagName:A,tagExp:W,closeIndex:w,attrExpPresent:V}}function Ky5(I,d,G){let Z=G,C=1;for(;G<I.length;G++)if(I[G]==="<")if(I[G+1]==="/"){let W=RJ(I,">",G,`${d} is not closed`);if(I.substring(G+2,W).trim()===d){if(C--,C===0)return{tagContent:I.substring(Z,G),i:W}}G=W}else if(I[G+1]==="?")G=RJ(I,"?>",G+1,"StopNode is not closed.");else if(I.substr(G+1,3)==="!--")G=RJ(I,"-->",G+3,"StopNode is not closed.");else if(I.substr(G+1,2)==="![")G=RJ(I,"]]>",G,"StopNode is not closed.")-2;else{let W=FY1(I,G,">");if(W){if((W&&W.tagName)===d&&W.tagExp[W.tagExp.length-1]!=="/")C++;G=W.closeIndex}}}function gY1(I,d,G){if(d&&typeof I==="string"){let Z=I.trim();if(Z==="true")return!0;else if(Z==="false")return!1;else return wy5(I,G)}else if(JY1.isExist(I))return I;else return""}J12.exports=g12});var z12=Y((qy5)=>{function Ny5(I,d){return N12(I,d)}function N12(I,d,G){let Z,C={};for(let W=0;W<I.length;W++){let w=I[W],B=zy5(w),A="";if(G===void 0)A=B;else A=G+"."+B;if(B===d.textNodeName)if(Z===void 0)Z=w[B];else Z+=""+w[B];else if(B===void 0)continue;else if(w[B]){let V=N12(w[B],d,A),X=fy5(V,d);if(w[":@"])Qy5(V,w[":@"],A,d);else if(Object.keys(V).length===1&&V[d.textNodeName]!==void 0&&!d.alwaysCreateTextNode)V=V[d.textNodeName];else if(Object.keys(V).length===0)if(d.alwaysCreateTextNode)V[d.textNodeName]="";else V="";if(C[B]!==void 0&&C.hasOwnProperty(B)){if(!Array.isArray(C[B]))C[B]=[C[B]];C[B].push(V)}else if(d.isArray(B,A,X))C[B]=[V];else C[B]=V}}if(typeof Z==="string"){if(Z.length>0)C[d.textNodeName]=Z}else if(Z!==void 0)C[d.textNodeName]=Z;return C}function zy5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function Qy5(I,d,G,Z){if(d){let C=Object.keys(d),W=C.length;for(let w=0;w<W;w++){let B=C[w];if(Z.isArray(B,G+"."+B,!0,!0))I[B]=[d[B]];else I[B]=d[B]}}}function fy5(I,d){let{textNodeName:G}=d,Z=Object.keys(I).length;if(Z===0)return!0;if(Z===1&&(I[G]||typeof I[G]==="boolean"||I[G]===0))return!0;return!1}qy5.prettify=Ny5});var q12=Y((MW3,f12)=>{var{buildOptions:Uy5}=X12(),vy5=K12(),{prettify:Ey5}=z12(),My5=HY1();class Q12{constructor(I){this.externalEntities={},this.options=Uy5(I)}parse(I,d){if(typeof I==="string");else if(I.toString)I=I.toString();else throw new Error("XML data is accepted in String or Bytes[] form.");if(d){if(d===!0)d={};let C=My5.validate(I,d);if(C!==!0)throw Error(`${C.err.msg}:${C.err.line}:${C.err.col}`)}let G=new vy5(this.options);G.addExternalEntities(this.externalEntities);let Z=G.parseXml(I);if(this.options.preserveOrder||Z===void 0)return Z;else return Ey5(Z,this.options)}addEntity(I,d){if(d.indexOf("&")!==-1)throw new Error("Entity value can't have '&'");else if(I.indexOf("&")!==-1||I.indexOf(";")!==-1)throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");else if(d==="&")throw new Error("An entity with value '&' is not permitted");else this.externalEntities[I]=d}}f12.exports=Q12});var M12=Y((SW3,E12)=>{function Sy5(I,d){let G="";if(d.format&&d.indentBy.length>0)G=`
`;return U12(I,d,"",G)}function U12(I,d,G,Z){let C="",W=!1;for(let w=0;w<I.length;w++){let B=I[w],A=Ly5(B),V="";if(G.length===0)V=A;else V=`${G}.${A}`;if(A===d.textNodeName){let J=B[A];if(!yy5(V,d))J=d.tagValueProcessor(A,J),J=v12(J,d);if(W)C+=Z;C+=J,W=!1;continue}else if(A===d.cdataPropName){if(W)C+=Z;C+=`<![CDATA[${B[A][0][d.textNodeName]}]]>`,W=!1;continue}else if(A===d.commentPropName){C+=Z+`<!--${B[A][0][d.textNodeName]}-->`,W=!0;continue}else if(A[0]==="?"){let J=R12(B[":@"],d),K=A==="?xml"?"":Z,Q=B[A][0][d.textNodeName];Q=Q.length!==0?" "+Q:"",C+=K+`<${A}${Q}${J}?>`,W=!0;continue}let X=Z;if(X!=="")X+=d.indentBy;let _=R12(B[":@"],d),F=Z+`<${A}${_}`,g=U12(B[A],d,V,X);if(d.unpairedTags.indexOf(A)!==-1)if(d.suppressUnpairedNode)C+=F+">";else C+=F+"/>";else if((!g||g.length===0)&&d.suppressEmptyNode)C+=F+"/>";else if(g&&g.endsWith(">"))C+=F+`>${g}${Z}</${A}>`;else{if(C+=F+">",g&&Z!==""&&(g.includes("/>")||g.includes("</")))C+=Z+d.indentBy+g+Z;else C+=g;C+=`</${A}>`}W=!0}return C}function Ly5(I){let d=Object.keys(I);for(let G=0;G<d.length;G++){let Z=d[G];if(Z!==":@")return Z}}function R12(I,d){let G="";if(I&&!d.ignoreAttributes)for(let Z in I){let C=d.attributeValueProcessor(Z,I[Z]);if(C=v12(C,d),C===!0&&d.suppressBooleanAttributes)G+=` ${Z.substr(d.attributeNamePrefix.length)}`;else G+=` ${Z.substr(d.attributeNamePrefix.length)}="${C}"`}return G}function yy5(I,d){I=I.substr(0,I.length-d.textNodeName.length-1);let G=I.substr(I.lastIndexOf(".")+1);for(let Z in d.stopNodes)if(d.stopNodes[Z]===I||d.stopNodes[Z]==="*."+G)return!0;return!1}function v12(I,d){if(I&&I.length>0&&d.processEntities)for(let G=0;G<d.entities.length;G++){let Z=d.entities[G];I=I.replace(Z.regex,Z.val)}return I}E12.exports=Sy5});var L12=Y((LW3,S12)=>{var Py5=M12(),$y5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:"  ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(I,d){return d},attributeValueProcessor:function(I,d){return d},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 LD(I){if(this.options=Object.assign({},$y5,I),this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Oy5;if(this.processTextOrObjNode=uy5,this.options.format)this.indentate=Ty5,this.tagEndChar=`>
`,this.newLine=`
`;else this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""}LD.prototype.build=function(I){if(this.options.preserveOrder)return Py5(I,this.options);else{if(Array.isArray(I)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1)I={[this.options.arrayNodeName]:I};return this.j2x(I,0).val}};LD.prototype.j2x=function(I,d){let G="",Z="";for(let C in I)if(typeof I[C]==="undefined");else if(I[C]===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(I[C]instanceof Date)Z+=this.buildTextValNode(I[C],C,"",d);else if(typeof I[C]!=="object"){let W=this.isAttribute(C);if(W)G+=this.buildAttrPairStr(W,""+I[C]);else if(C===this.options.textNodeName){let w=this.options.tagValueProcessor(C,""+I[C]);Z+=this.replaceEntitiesValue(w)}else Z+=this.buildTextValNode(I[C],C,"",d)}else if(Array.isArray(I[C])){let W=I[C].length,w="";for(let B=0;B<W;B++){let A=I[C][B];if(typeof A==="undefined");else if(A===null)if(C[0]==="?")Z+=this.indentate(d)+"<"+C+"?"+this.tagEndChar;else Z+=this.indentate(d)+"<"+C+"/"+this.tagEndChar;else if(typeof A==="object")if(this.options.oneListGroup)w+=this.j2x(A,d+1).val;else w+=this.processTextOrObjNode(A,C,d);else w+=this.buildTextValNode(A,C,"",d)}if(this.options.oneListGroup)w=this.buildObjectNode(w,C,"",d);Z+=w}else if(this.options.attributesGroupName&&C===this.options.attributesGroupName){let W=Object.keys(I[C]),w=W.length;for(let B=0;B<w;B++)G+=this.buildAttrPairStr(W[B],""+I[C][W[B]])}else Z+=this.processTextOrObjNode(I[C],C,d);return{attrStr:G,val:Z}};LD.prototype.buildAttrPairStr=function(I,d){if(d=this.options.attributeValueProcessor(I,""+d),d=this.replaceEntitiesValue(d),this.options.suppressBooleanAttributes&&d==="true")return" "+I;else return" "+I+'="'+d+'"'};function uy5(I,d,G){let Z=this.j2x(I,G+1);if(I[this.options.textNodeName]!==void 0&&Object.keys(I).length===1)return this.buildTextValNode(I[this.options.textNodeName],d,Z.attrStr,G);else return this.buildObjectNode(Z.val,d,Z.attrStr,G)}LD.prototype.buildObjectNode=function(I,d,G,Z){if(I==="")if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else{let C="</"+d+this.tagEndChar,W="";if(d[0]==="?")W="?",C="";if(G&&I.indexOf("<")===-1)return this.indentate(Z)+"<"+d+G+W+">"+I+C;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName&&W.length===0)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else return this.indentate(Z)+"<"+d+G+W+this.tagEndChar+I+this.indentate(Z)+C}};LD.prototype.closeTag=function(I){let d="";if(this.options.unpairedTags.indexOf(I)!==-1){if(!this.options.suppressUnpairedNode)d="/"}else if(this.options.suppressEmptyNode)d="/";else d=`></${I}`;return d};LD.prototype.buildTextValNode=function(I,d,G,Z){if(this.options.cdataPropName!==!1&&d===this.options.cdataPropName)return this.indentate(Z)+`<![CDATA[${I}]]>`+this.newLine;else if(this.options.commentPropName!==!1&&d===this.options.commentPropName)return this.indentate(Z)+`<!--${I}-->`+this.newLine;else if(d[0]==="?")return this.indentate(Z)+"<"+d+G+"?"+this.tagEndChar;else{let C=this.options.tagValueProcessor(d,I);if(C=this.replaceEntitiesValue(C),C==="")return this.indentate(Z)+"<"+d+G+this.closeTag(d)+this.tagEndChar;else return this.indentate(Z)+"<"+d+G+">"+C+"</"+d+this.tagEndChar}};LD.prototype.replaceEntitiesValue=function(I){if(I&&I.length>0&&this.options.processEntities)for(let d=0;d<this.options.entities.length;d++){let G=this.options.entities[d];I=I.replace(G.regex,G.val)}return I};function Ty5(I){return this.options.indentBy.repeat(I)}function Oy5(I){if(I.startsWith(this.options.attributeNamePrefix))return I.substr(this.attrPrefixLen);else return!1}S12.exports=LD});var P12=Y((yW3,y12)=>{var my5=HY1(),ly5=q12(),by5=L12();y12.exports={XMLParser:ly5,XMLValidator:my5,XMLBuilder:by5}});var jV=Y((O12)=>{Object.defineProperty(O12,"__esModule",{value:!0});O12.de_GetSessionTokenCommand=O12.de_GetFederationTokenCommand=O12.de_GetCallerIdentityCommand=O12.de_GetAccessKeyInfoCommand=O12.de_DecodeAuthorizationMessageCommand=O12.de_AssumeRoleWithWebIdentityCommand=O12.de_AssumeRoleWithSAMLCommand=O12.de_AssumeRoleCommand=O12.se_GetSessionTokenCommand=O12.se_GetFederationTokenCommand=O12.se_GetCallerIdentityCommand=O12.se_GetAccessKeyInfoCommand=O12.se_DecodeAuthorizationMessageCommand=O12.se_AssumeRoleWithWebIdentityCommand=O12.se_AssumeRoleWithSAMLCommand=O12.se_AssumeRoleCommand=void 0;var hy5=t8(),s2=h2(),jy5=P12(),yD=SD(),ky5=Pn(),xy5=async(I,d)=>{let G=uD,Z;return Z=OD({...FP5(I,d),Action:"AssumeRole",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_AssumeRoleCommand=xy5;var cy5=async(I,d)=>{let G=uD,Z;return Z=OD({...gP5(I,d),Action:"AssumeRoleWithSAML",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_AssumeRoleWithSAMLCommand=cy5;var py5=async(I,d)=>{let G=uD,Z;return Z=OD({...JP5(I,d),Action:"AssumeRoleWithWebIdentity",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_AssumeRoleWithWebIdentityCommand=py5;var iy5=async(I,d)=>{let G=uD,Z;return Z=OD({...KP5(I,d),Action:"DecodeAuthorizationMessage",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_DecodeAuthorizationMessageCommand=iy5;var ny5=async(I,d)=>{let G=uD,Z;return Z=OD({...NP5(I,d),Action:"GetAccessKeyInfo",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_GetAccessKeyInfoCommand=ny5;var ry5=async(I,d)=>{let G=uD,Z;return Z=OD({...zP5(I,d),Action:"GetCallerIdentity",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_GetCallerIdentityCommand=ry5;var ay5=async(I,d)=>{let G=uD,Z;return Z=OD({...QP5(I,d),Action:"GetFederationToken",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_GetFederationTokenCommand=ay5;var sy5=async(I,d)=>{let G=uD,Z;return Z=OD({...fP5(I,d),Action:"GetSessionToken",Version:"2011-06-15"}),$D(d,G,"/",void 0,Z)};O12.se_GetSessionTokenCommand=sy5;var oy5=async(I,d)=>{if(I.statusCode>=300)return ey5(I,d);let G=await hV(I.body,d),Z={};return Z=MP5(G.AssumeRoleResult,d),{$metadata:m7(I),...Z}};O12.de_AssumeRoleCommand=oy5;var ey5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await KY1(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await un(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Tn(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await KP(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},ty5=async(I,d)=>{if(I.statusCode>=300)return IP5(I,d);let G=await hV(I.body,d),Z={};return Z=SP5(G.AssumeRoleWithSAMLResult,d),{$metadata:m7(I),...Z}};O12.de_AssumeRoleWithSAMLCommand=ty5;var IP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await KY1(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await $12(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await u12(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await un(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Tn(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await KP(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},dP5=async(I,d)=>{if(I.statusCode>=300)return GP5(I,d);let G=await hV(I.body,d),Z={};return Z=LP5(G.AssumeRoleWithWebIdentityResult,d),{$metadata:m7(I),...Z}};O12.de_AssumeRoleWithWebIdentityCommand=dP5;var GP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"ExpiredTokenException":case"com.amazonaws.sts#ExpiredTokenException":throw await KY1(G,d);case"IDPCommunicationError":case"com.amazonaws.sts#IDPCommunicationErrorException":throw await DP5(G,d);case"IDPRejectedClaim":case"com.amazonaws.sts#IDPRejectedClaimException":throw await $12(G,d);case"InvalidIdentityToken":case"com.amazonaws.sts#InvalidIdentityTokenException":throw await u12(G,d);case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await un(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Tn(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await KP(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},ZP5=async(I,d)=>{if(I.statusCode>=300)return CP5(I,d);let G=await hV(I.body,d),Z={};return Z=yP5(G.DecodeAuthorizationMessageResult,d),{$metadata:m7(I),...Z}};O12.de_DecodeAuthorizationMessageCommand=ZP5;var CP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"InvalidAuthorizationMessageException":case"com.amazonaws.sts#InvalidAuthorizationMessageException":throw await HP5(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},WP5=async(I,d)=>{if(I.statusCode>=300)return wP5(I,d);let G=await hV(I.body,d),Z={};return Z=uP5(G.GetAccessKeyInfoResult,d),{$metadata:m7(I),...Z}};O12.de_GetAccessKeyInfoCommand=WP5;var wP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body),C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})},BP5=async(I,d)=>{if(I.statusCode>=300)return AP5(I,d);let G=await hV(I.body,d),Z={};return Z=TP5(G.GetCallerIdentityResult,d),{$metadata:m7(I),...Z}};O12.de_GetCallerIdentityCommand=BP5;var AP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body),C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})},VP5=async(I,d)=>{if(I.statusCode>=300)return XP5(I,d);let G=await hV(I.body,d),Z={};return Z=OP5(G.GetFederationTokenResult,d),{$metadata:m7(I),...Z}};O12.de_GetFederationTokenCommand=VP5;var XP5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"MalformedPolicyDocument":case"com.amazonaws.sts#MalformedPolicyDocumentException":throw await un(G,d);case"PackedPolicyTooLarge":case"com.amazonaws.sts#PackedPolicyTooLargeException":throw await Tn(G,d);case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await KP(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},YP5=async(I,d)=>{if(I.statusCode>=300)return _P5(I,d);let G=await hV(I.body,d),Z={};return Z=mP5(G.GetSessionTokenResult,d),{$metadata:m7(I),...Z}};O12.de_GetSessionTokenCommand=YP5;var _P5=async(I,d)=>{let G={...I,body:await TD(I.body,d)},Z=mD(I,G.body);switch(Z){case"RegionDisabledException":case"com.amazonaws.sts#RegionDisabledException":throw await KP(G,d);default:let C=G.body;return PD({output:I,parsedBody:C.Error,errorCode:Z})}},KY1=async(I,d)=>{let G=I.body,Z=PP5(G.Error,d),C=new yD.ExpiredTokenException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},DP5=async(I,d)=>{let G=I.body,Z=lP5(G.Error,d),C=new yD.IDPCommunicationErrorException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},$12=async(I,d)=>{let G=I.body,Z=bP5(G.Error,d),C=new yD.IDPRejectedClaimException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},HP5=async(I,d)=>{let G=I.body,Z=hP5(G.Error,d),C=new yD.InvalidAuthorizationMessageException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},u12=async(I,d)=>{let G=I.body,Z=jP5(G.Error,d),C=new yD.InvalidIdentityTokenException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},un=async(I,d)=>{let G=I.body,Z=kP5(G.Error,d),C=new yD.MalformedPolicyDocumentException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},Tn=async(I,d)=>{let G=I.body,Z=xP5(G.Error,d),C=new yD.PackedPolicyTooLargeException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},KP=async(I,d)=>{let G=I.body,Z=cP5(G.Error,d),C=new yD.RegionDisabledException({$metadata:m7(I),...Z});return s2.decorateServiceException(C,G)},FP5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.PolicyArns!=null){let Z=On(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=T12(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}if(I.TransitiveTagKeys!=null){let Z=EP5(I.TransitiveTagKeys,d);if(I.TransitiveTagKeys?.length===0)G.TransitiveTagKeys=[];Object.entries(Z).forEach(([C,W])=>{let w=`TransitiveTagKeys.${C}`;G[w]=W})}if(I.ExternalId!=null)G.ExternalId=I.ExternalId;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;if(I.SourceIdentity!=null)G.SourceIdentity=I.SourceIdentity;if(I.ProvidedContexts!=null){let Z=UP5(I.ProvidedContexts,d);if(I.ProvidedContexts?.length===0)G.ProvidedContexts=[];Object.entries(Z).forEach(([C,W])=>{let w=`ProvidedContexts.${C}`;G[w]=W})}return G},gP5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.PrincipalArn!=null)G.PrincipalArn=I.PrincipalArn;if(I.SAMLAssertion!=null)G.SAMLAssertion=I.SAMLAssertion;if(I.PolicyArns!=null){let Z=On(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},JP5=(I,d)=>{let G={};if(I.RoleArn!=null)G.RoleArn=I.RoleArn;if(I.RoleSessionName!=null)G.RoleSessionName=I.RoleSessionName;if(I.WebIdentityToken!=null)G.WebIdentityToken=I.WebIdentityToken;if(I.ProviderId!=null)G.ProviderId=I.ProviderId;if(I.PolicyArns!=null){let Z=On(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.Policy!=null)G.Policy=I.Policy;if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;return G},KP5=(I,d)=>{let G={};if(I.EncodedMessage!=null)G.EncodedMessage=I.EncodedMessage;return G},NP5=(I,d)=>{let G={};if(I.AccessKeyId!=null)G.AccessKeyId=I.AccessKeyId;return G},zP5=(I,d)=>{return{}},QP5=(I,d)=>{let G={};if(I.Name!=null)G.Name=I.Name;if(I.Policy!=null)G.Policy=I.Policy;if(I.PolicyArns!=null){let Z=On(I.PolicyArns,d);if(I.PolicyArns?.length===0)G.PolicyArns=[];Object.entries(Z).forEach(([C,W])=>{let w=`PolicyArns.${C}`;G[w]=W})}if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.Tags!=null){let Z=T12(I.Tags,d);if(I.Tags?.length===0)G.Tags=[];Object.entries(Z).forEach(([C,W])=>{let w=`Tags.${C}`;G[w]=W})}return G},fP5=(I,d)=>{let G={};if(I.DurationSeconds!=null)G.DurationSeconds=I.DurationSeconds;if(I.SerialNumber!=null)G.SerialNumber=I.SerialNumber;if(I.TokenCode!=null)G.TokenCode=I.TokenCode;return G},On=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=qP5(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},qP5=(I,d)=>{let G={};if(I.arn!=null)G.arn=I.arn;return G},RP5=(I,d)=>{let G={};if(I.ProviderArn!=null)G.ProviderArn=I.ProviderArn;if(I.ContextAssertion!=null)G.ContextAssertion=I.ContextAssertion;return G},UP5=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=RP5(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},vP5=(I,d)=>{let G={};if(I.Key!=null)G.Key=I.Key;if(I.Value!=null)G.Value=I.Value;return G},EP5=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;G[`member.${Z}`]=C,Z++}return G},T12=(I,d)=>{let G={},Z=1;for(let C of I){if(C===null)continue;let W=vP5(C,d);Object.entries(W).forEach(([w,B])=>{G[`member.${Z}.${w}`]=B}),Z++}return G},NY1=(I,d)=>{let G={};if(I.AssumedRoleId!==void 0)G.AssumedRoleId=s2.expectString(I.AssumedRoleId);if(I.Arn!==void 0)G.Arn=s2.expectString(I.Arn);return G},MP5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=NP(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=NY1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=s2.strictParseInt32(I.PackedPolicySize);if(I.SourceIdentity!==void 0)G.SourceIdentity=s2.expectString(I.SourceIdentity);return G},SP5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=NP(I.Credentials,d);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=NY1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=s2.strictParseInt32(I.PackedPolicySize);if(I.Subject!==void 0)G.Subject=s2.expectString(I.Subject);if(I.SubjectType!==void 0)G.SubjectType=s2.expectString(I.SubjectType);if(I.Issuer!==void 0)G.Issuer=s2.expectString(I.Issuer);if(I.Audience!==void 0)G.Audience=s2.expectString(I.Audience);if(I.NameQualifier!==void 0)G.NameQualifier=s2.expectString(I.NameQualifier);if(I.SourceIdentity!==void 0)G.SourceIdentity=s2.expectString(I.SourceIdentity);return G},LP5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=NP(I.Credentials,d);if(I.SubjectFromWebIdentityToken!==void 0)G.SubjectFromWebIdentityToken=s2.expectString(I.SubjectFromWebIdentityToken);if(I.AssumedRoleUser!==void 0)G.AssumedRoleUser=NY1(I.AssumedRoleUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=s2.strictParseInt32(I.PackedPolicySize);if(I.Provider!==void 0)G.Provider=s2.expectString(I.Provider);if(I.Audience!==void 0)G.Audience=s2.expectString(I.Audience);if(I.SourceIdentity!==void 0)G.SourceIdentity=s2.expectString(I.SourceIdentity);return G},NP=(I,d)=>{let G={};if(I.AccessKeyId!==void 0)G.AccessKeyId=s2.expectString(I.AccessKeyId);if(I.SecretAccessKey!==void 0)G.SecretAccessKey=s2.expectString(I.SecretAccessKey);if(I.SessionToken!==void 0)G.SessionToken=s2.expectString(I.SessionToken);if(I.Expiration!==void 0)G.Expiration=s2.expectNonNull(s2.parseRfc3339DateTimeWithOffset(I.Expiration));return G},yP5=(I,d)=>{let G={};if(I.DecodedMessage!==void 0)G.DecodedMessage=s2.expectString(I.DecodedMessage);return G},PP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},$P5=(I,d)=>{let G={};if(I.FederatedUserId!==void 0)G.FederatedUserId=s2.expectString(I.FederatedUserId);if(I.Arn!==void 0)G.Arn=s2.expectString(I.Arn);return G},uP5=(I,d)=>{let G={};if(I.Account!==void 0)G.Account=s2.expectString(I.Account);return G},TP5=(I,d)=>{let G={};if(I.UserId!==void 0)G.UserId=s2.expectString(I.UserId);if(I.Account!==void 0)G.Account=s2.expectString(I.Account);if(I.Arn!==void 0)G.Arn=s2.expectString(I.Arn);return G},OP5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=NP(I.Credentials,d);if(I.FederatedUser!==void 0)G.FederatedUser=$P5(I.FederatedUser,d);if(I.PackedPolicySize!==void 0)G.PackedPolicySize=s2.strictParseInt32(I.PackedPolicySize);return G},mP5=(I,d)=>{let G={};if(I.Credentials!==void 0)G.Credentials=NP(I.Credentials,d);return G},lP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},bP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},hP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},jP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},kP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},xP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},cP5=(I,d)=>{let G={};if(I.message!==void 0)G.message=s2.expectString(I.message);return G},m7=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),pP5=(I,d)=>s2.collectBody(I,d).then((G)=>d.utf8Encoder(G)),PD=s2.withBaseException(ky5.STSServiceException),$D=async(I,d,G,Z,C)=>{let{hostname:W,protocol:w="https",port:B,path:A}=await I.endpoint(),V={protocol:w,hostname:W,port:B,method:"POST",path:A.endsWith("/")?A.slice(0,-1)+G:A+G,headers:d};if(Z!==void 0)V.hostname=Z;if(C!==void 0)V.body=C;return new hy5.HttpRequest(V)},uD={"content-type":"application/x-www-form-urlencoded"},hV=(I,d)=>pP5(I,d).then((G)=>{if(G.length){let Z=new jy5.XMLParser({attributeNamePrefix:"",htmlEntities:!0,ignoreAttributes:!1,ignoreDeclaration:!0,parseTagValue:!1,trimValues:!1,tagValueProcessor:(A,V)=>V.trim()===""&&V.includes(`
`)?"":void 0});Z.addEntity("#xD","\r"),Z.addEntity("#10",`
`);let C=Z.parse(G),W="#text",w=Object.keys(C)[0],B=C[w];if(B[W])B[w]=B[W],delete B[W];return s2.getValueFromTextNode(B)}return{}}),TD=async(I,d)=>{let G=await hV(I,d);if(G.Error)G.Error.message=G.Error.message??G.Error.Message;return G},OD=(I)=>Object.entries(I).map(([d,G])=>s2.extendedEncodeURIComponent(d)+"="+s2.extendedEncodeURIComponent(G)).join("&"),mD=(I,d)=>{if(d.Error?.Code!==void 0)return d.Error.Code;if(I.statusCode==404)return"NotFound"}});var mn=Y((QY1)=>{Object.defineProperty(QY1,"__esModule",{value:!0});QY1.AssumeRoleCommand=QY1.$Command=void 0;var B$5=OV(),A$5=c3(),V$5=n6(),b12=h2();Object.defineProperty(QY1,"$Command",{enumerable:!0,get:function(){return b12.Command}});var X$5=k3(),Y$5=SD(),l12=jV();class zY1 extends b12.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(V$5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(A$5.getEndpointPlugin(d,zY1.getEndpointParameterInstructions())),this.middlewareStack.use(B$5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:Y$5.AssumeRoleResponseFilterSensitiveLog,[X$5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRole"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return l12.se_AssumeRoleCommand(I,d)}deserialize(I,d){return l12.de_AssumeRoleCommand(I,d)}}QY1.AssumeRoleCommand=zY1});var ln=Y((qY1)=>{Object.defineProperty(qY1,"__esModule",{value:!0});qY1.AssumeRoleWithWebIdentityCommand=qY1.$Command=void 0;var _$5=c3(),D$5=n6(),x12=h2();Object.defineProperty(qY1,"$Command",{enumerable:!0,get:function(){return x12.Command}});var H$5=k3(),j12=SD(),k12=jV();class fY1 extends x12.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(D$5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(_$5.getEndpointPlugin(d,fY1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithWebIdentityCommand",inputFilterSensitiveLog:j12.AssumeRoleWithWebIdentityRequestFilterSensitiveLog,outputFilterSensitiveLog:j12.AssumeRoleWithWebIdentityResponseFilterSensitiveLog,[H$5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithWebIdentity"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return k12.se_AssumeRoleWithWebIdentityCommand(I,d)}deserialize(I,d){return k12.de_AssumeRoleWithWebIdentityCommand(I,d)}}qY1.AssumeRoleWithWebIdentityCommand=fY1});var RY1=Y((n12)=>{Object.defineProperty(n12,"__esModule",{value:!0});n12.decorateDefaultCredentialProvider=n12.getDefaultRoleAssumerWithWebIdentity=n12.getDefaultRoleAssumer=void 0;var F$5=mn(),g$5=ln(),p12="us-east-1",i12=(I)=>{if(typeof I!=="function")return I===void 0?p12:I;return async()=>{try{return await I()}catch(d){return p12}}},J$5=(I,d)=>{let G,Z;return async(C,W)=>{if(Z=C,!G){let{logger:B,region:A,requestHandler:V}=I;G=new d({logger:B,credentialDefaultProvider:()=>async()=>Z,region:i12(A||I.region),...V?{requestHandler:V}:{}})}let{Credentials:w}=await G.send(new F$5.AssumeRoleCommand(W));if(!w||!w.AccessKeyId||!w.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRole call with role ${W.RoleArn}`);return{accessKeyId:w.AccessKeyId,secretAccessKey:w.SecretAccessKey,sessionToken:w.SessionToken,expiration:w.Expiration}}};n12.getDefaultRoleAssumer=J$5;var K$5=(I,d)=>{let G;return async(Z)=>{if(!G){let{logger:W,region:w,requestHandler:B}=I;G=new d({logger:W,region:i12(w||I.region),...B?{requestHandler:B}:{}})}let{Credentials:C}=await G.send(new g$5.AssumeRoleWithWebIdentityCommand(Z));if(!C||!C.AccessKeyId||!C.SecretAccessKey)throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${Z.RoleArn}`);return{accessKeyId:C.AccessKeyId,secretAccessKey:C.SecretAccessKey,sessionToken:C.SessionToken,expiration:C.Expiration}}};n12.getDefaultRoleAssumerWithWebIdentity=K$5;var N$5=(I)=>(d)=>I({roleAssumer:n12.getDefaultRoleAssumer(d,d.stsClientCtor),roleAssumerWithWebIdentity:n12.getDefaultRoleAssumerWithWebIdentity(d,d.stsClientCtor),...d});n12.decorateDefaultCredentialProvider=N$5});var Z02=Y((o12)=>{Object.defineProperty(o12,"__esModule",{value:!0});o12.fromEnv=o12.ENV_EXPIRATION=o12.ENV_SESSION=o12.ENV_SECRET=o12.ENV_KEY=void 0;var z$5=x3();o12.ENV_KEY="AWS_ACCESS_KEY_ID";o12.ENV_SECRET="AWS_SECRET_ACCESS_KEY";o12.ENV_SESSION="AWS_SESSION_TOKEN";o12.ENV_EXPIRATION="AWS_CREDENTIAL_EXPIRATION";var Q$5=()=>async()=>{let I=process.env[o12.ENV_KEY],d=process.env[o12.ENV_SECRET],G=process.env[o12.ENV_SESSION],Z=process.env[o12.ENV_EXPIRATION];if(I&&d)return{accessKeyId:I,secretAccessKey:d,...G&&{sessionToken:G},...Z&&{expiration:new Date(Z)}};throw new z$5.CredentialsProviderError("Unable to find environment variable credentials.")};o12.fromEnv=Q$5});var vY1=Y((UY1)=>{Object.defineProperty(UY1,"__esModule",{value:!0});var f$5=x1();f$5.__exportStar(Z02(),UY1)});var kn=Y((hW3,J02)=>{var{defineProperty:jn,getOwnPropertyDescriptor:q$5,getOwnPropertyNames:R$5}=Object,U$5=Object.prototype.hasOwnProperty,L6=(I,d)=>jn(I,"name",{value:d,configurable:!0}),v$5=(I,d)=>{for(var G in d)jn(I,G,{get:d[G],enumerable:!0})},E$5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of R$5(d))if(!U$5.call(I,C)&&C!==G)jn(I,C,{get:()=>d[C],enumerable:!(Z=q$5(d,C))||Z.enumerable})}return I},M$5=(I)=>E$5(jn({},"__esModule",{value:!0}),I),B02={};v$5(B02,{DEFAULT_MAX_RETRIES:()=>Y02,DEFAULT_TIMEOUT:()=>X02,ENV_CMDS_AUTH_TOKEN:()=>SY1,ENV_CMDS_FULL_URI:()=>bn,ENV_CMDS_RELATIVE_URI:()=>hn,Endpoint:()=>D02,fromContainerMetadata:()=>P$5,fromInstanceMetadata:()=>t$5,getInstanceMetadataEndpoint:()=>F02,httpRequest:()=>Uq,providerConfigFromInit:()=>LY1});J02.exports=M$5(B02);var S$5=B1("url"),DB=x3(),L$5=B1("buffer"),y$5=B1("http");function Uq(I){return new Promise((d,G)=>{var Z;let C=y$5.request({method:"GET",...I,hostname:(Z=I.hostname)==null?void 0:Z.replace(/^\[(.+)\]$/,"$1")});C.on("error",(W)=>{G(Object.assign(new DB.ProviderError("Unable to connect to instance metadata service"),W)),C.destroy()}),C.on("timeout",()=>{G(new DB.ProviderError("TimeoutError from instance metadata service")),C.destroy()}),C.on("response",(W)=>{let{statusCode:w=400}=W;if(w<200||300<=w)G(Object.assign(new DB.ProviderError("Error response received from instance metadata service"),{statusCode:w})),C.destroy();let B=[];W.on("data",(A)=>{B.push(A)}),W.on("end",()=>{d(L$5.Buffer.concat(B)),C.destroy()})}),C.end()})}L6(Uq,"httpRequest");var A02=L6((I)=>Boolean(I)&&typeof I==="object"&&typeof I.AccessKeyId==="string"&&typeof I.SecretAccessKey==="string"&&typeof I.Token==="string"&&typeof I.Expiration==="string","isImdsCredentials"),V02=L6((I)=>({accessKeyId:I.AccessKeyId,secretAccessKey:I.SecretAccessKey,sessionToken:I.Token,expiration:new Date(I.Expiration)}),"fromImdsCredentials"),X02=1000,Y02=0,LY1=L6(({maxRetries:I=Y02,timeout:d=X02})=>({maxRetries:I,timeout:d}),"providerConfigFromInit"),MY1=L6((I,d)=>{let G=I();for(let Z=0;Z<d;Z++)G=G.catch(I);return G},"retry"),bn="AWS_CONTAINER_CREDENTIALS_FULL_URI",hn="AWS_CONTAINER_CREDENTIALS_RELATIVE_URI",SY1="AWS_CONTAINER_AUTHORIZATION_TOKEN",P$5=L6((I={})=>{let{timeout:d,maxRetries:G}=LY1(I);return()=>MY1(async()=>{let Z=await m$5(),C=JSON.parse(await $$5(d,Z));if(!A02(C))throw new DB.CredentialsProviderError("Invalid response received from instance metadata service.");return V02(C)},G)},"fromContainerMetadata"),$$5=L6(async(I,d)=>{if(process.env[SY1])d.headers={...d.headers,Authorization:process.env[SY1]};return(await Uq({...d,timeout:I})).toString()},"requestFromEcsImds"),u$5="169.254.170.2",T$5={localhost:!0,"127.0.0.1":!0},O$5={"http:":!0,"https:":!0},m$5=L6(async()=>{if(process.env[hn])return{hostname:u$5,path:process.env[hn]};if(process.env[bn]){let I=S$5.parse(process.env[bn]);if(!I.hostname||!(I.hostname in T$5))throw new DB.CredentialsProviderError(`${I.hostname} is not a valid container metadata service hostname`,!1);if(!I.protocol||!(I.protocol in O$5))throw new DB.CredentialsProviderError(`${I.protocol} is not a valid container metadata service protocol`,!1);return{...I,port:I.port?parseInt(I.port,10):void 0}}throw new DB.CredentialsProviderError(`The container metadata credential provider cannot be used unless the ${hn} or ${bn} environment variable is set`,!1)},"getCmdsUri"),_02=class I extends DB.CredentialsProviderError{constructor(d,G=!0){super(d,G);this.tryNextLink=G,this.name="InstanceMetadataV1FallbackError",Object.setPrototypeOf(this,I.prototype)}};L6(_02,"InstanceMetadataV1FallbackError");var l$5=_02,yY1=mV(),b$5=qJ(),D02=((I)=>{return I.IPv4="http://169.254.169.254",I.IPv6="http://[fd00:ec2::254]",I})(D02||{}),h$5="AWS_EC2_METADATA_SERVICE_ENDPOINT",j$5="ec2_metadata_service_endpoint",k$5={environmentVariableSelector:(I)=>I[h$5],configFileSelector:(I)=>I[j$5],default:void 0},H02=((I)=>{return I.IPv4="IPv4",I.IPv6="IPv6",I})(H02||{}),x$5="AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE",c$5="ec2_metadata_service_endpoint_mode",p$5={environmentVariableSelector:(I)=>I[x$5],configFileSelector:(I)=>I[c$5],default:"IPv4"},F02=L6(async()=>b$5.parseUrl(await i$5()||await n$5()),"getInstanceMetadataEndpoint"),i$5=L6(async()=>yY1.loadConfig(k$5)(),"getFromEndpointConfig"),n$5=L6(async()=>{let I=await yY1.loadConfig(p$5)();switch(I){case"IPv4":return"http://169.254.169.254";case"IPv6":return"http://[fd00:ec2::254]";default:throw new Error(`Unsupported endpoint mode: ${I}. Select from ${Object.values(H02)}`)}},"getFromEndpointModeConfig"),r$5=300,a$5=300,s$5="https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html",C02=L6((I,d)=>{let G=r$5+Math.floor(Math.random()*a$5),Z=new Date(Date.now()+G*1000);d.warn(`Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(Z)}.
For more information, please visit: `+s$5);let C=I.originalExpiration??I.expiration;return{...I,...C?{originalExpiration:C}:{},expiration:Z}},"getExtendedInstanceMetadataCredentials"),o$5=L6((I,d={})=>{let G=(d==null?void 0:d.logger)||console,Z;return async()=>{let C;try{if(C=await I(),C.expiration&&C.expiration.getTime()<Date.now())C=C02(C,G)}catch(W){if(Z)G.warn("Credential renew failed: ",W),C=C02(Z,G);else throw W}return Z=C,C}},"staticStabilityProvider"),g02="/latest/meta-data/iam/security-credentials/",e$5="/latest/api/token",EY1="AWS_EC2_METADATA_V1_DISABLED",W02="ec2_metadata_v1_disabled",w02="x-aws-ec2-metadata-token",t$5=L6((I={})=>o$5(Iu5(I),{logger:I.logger}),"fromInstanceMetadata"),Iu5=L6((I)=>{let d=!1,{logger:G,profile:Z}=I,{timeout:C,maxRetries:W}=LY1(I),w=L6(async(B,A)=>{var V;if(d||((V=A.headers)==null?void 0:V[w02])==null){let F=!1,g=!1,J=await yY1.loadConfig({environmentVariableSelector:(K)=>{let Q=K[EY1];if(g=!!Q&&Q!=="false",Q===void 0)throw new DB.CredentialsProviderError(`${EY1} not set in env, checking config file next.`);return g},configFileSelector:(K)=>{let Q=K[W02];return F=!!Q&&Q!=="false",F},default:!1},{profile:Z})();if(I.ec2MetadataV1Disabled||J){let K=[];if(I.ec2MetadataV1Disabled)K.push("credential provider initialization (runtime option ec2MetadataV1Disabled)");if(F)K.push(`config file profile (${W02})`);if(g)K.push(`process environment variable (${EY1})`);throw new l$5(`AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${K.join(", ")}].`)}}let _=(await MY1(async()=>{let F;try{F=await Gu5(A)}catch(g){if(g.statusCode===401)d=!1;throw g}return F},B)).trim();return MY1(async()=>{let F;try{F=await Zu5(_,A)}catch(g){if(g.statusCode===401)d=!1;throw g}return F},B)},"getCredentials");return async()=>{let B=await F02();if(d)return G==null||G.debug("AWS SDK Instance Metadata","using v1 fallback (no token fetch)"),w(W,{...B,timeout:C});else{let A;try{A=(await du5({...B,timeout:C})).toString()}catch(V){if((V==null?void 0:V.statusCode)===400)throw Object.assign(V,{message:"EC2 Metadata token request returned error"});else if(V.message==="TimeoutError"||[403,404,405].includes(V.statusCode))d=!0;return G==null||G.debug("AWS SDK Instance Metadata","using v1 fallback (initial)"),w(W,{...B,timeout:C})}return w(W,{...B,headers:{[w02]:A},timeout:C})}}},"getInstanceImdsProvider"),du5=L6(async(I)=>Uq({...I,path:e$5,method:"PUT",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"21600"}}),"getMetadataToken"),Gu5=L6(async(I)=>(await Uq({...I,path:g02})).toString(),"getProfile"),Zu5=L6(async(I,d)=>{let G=JSON.parse((await Uq({...d,path:g02+I})).toString());if(!A02(G))throw new DB.CredentialsProviderError("Invalid response received from instance metadata service.");return V02(G)},"getCredentialsFromProfile")});var Q02=Y((N02)=>{Object.defineProperty(N02,"__esModule",{value:!0});N02.resolveCredentialSource=void 0;var Cu5=vY1(),K02=kn(),Wu5=x3(),wu5=(I,d)=>{let G={EcsContainer:K02.fromContainerMetadata,Ec2InstanceMetadata:K02.fromInstanceMetadata,Environment:Cu5.fromEnv};if(I in G)return G[I]();else throw new Wu5.CredentialsProviderError(`Unsupported credential source in profile ${d}. Got ${I}, expected EcsContainer or Ec2InstanceMetadata or Environment.`)};N02.resolveCredentialSource=wu5});var R02=Y((f02)=>{Object.defineProperty(f02,"__esModule",{value:!0});f02.resolveAssumeRoleCredentials=f02.isAssumeRoleProfile=void 0;var PY1=x3(),Bu5=rC(),Au5=Q02(),Vu5=$Y1(),Xu5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1&&["undefined","string"].indexOf(typeof I.external_id)>-1&&["undefined","string"].indexOf(typeof I.mfa_serial)>-1&&(Yu5(I)||_u5(I));f02.isAssumeRoleProfile=Xu5;var Yu5=(I)=>typeof I.source_profile==="string"&&typeof I.credential_source==="undefined",_u5=(I)=>typeof I.credential_source==="string"&&typeof I.source_profile==="undefined",Du5=async(I,d,G,Z={})=>{let C=d[I];if(!G.roleAssumer)throw new PY1.CredentialsProviderError(`Profile ${I} requires a role to be assumed, but no role assumption callback was provided.`,!1);let{source_profile:W}=C;if(W&&W in Z)throw new PY1.CredentialsProviderError(`Detected a cycle attempting to resolve credentials for profile ${Bu5.getProfileName(G)}. Profiles visited: `+Object.keys(Z).join(", "),!1);let w=W?Vu5.resolveProfileData(W,d,G,{...Z,[W]:!0}):Au5.resolveCredentialSource(C.credential_source,I)(),B={RoleArn:C.role_arn,RoleSessionName:C.role_session_name||`aws-sdk-js-${Date.now()}`,ExternalId:C.external_id,DurationSeconds:parseInt(C.duration_seconds||"3600",10)},{mfa_serial:A}=C;if(A){if(!G.mfaCodeProvider)throw new PY1.CredentialsProviderError(`Profile ${I} requires multi-factor authentication, but no MFA code callback was provided.`,!1);B.SerialNumber=A,B.TokenCode=await G.mfaCodeProvider(A)}let V=await w;return G.roleAssumer(V,B)};f02.resolveAssumeRoleCredentials=Du5});var E02=Y((U02)=>{Object.defineProperty(U02,"__esModule",{value:!0});U02.getValidatedProcessCredentials=void 0;var Fu5=(I,d)=>{if(d.Version!==1)throw Error(`Profile ${I} credential_process did not return Version 1.`);if(d.AccessKeyId===void 0||d.SecretAccessKey===void 0)throw Error(`Profile ${I} credential_process returned invalid credentials.`);if(d.Expiration){let G=new Date;if(new Date(d.Expiration)<G)throw Error(`Profile ${I} credential_process returned expired credentials.`)}return{accessKeyId:d.AccessKeyId,secretAccessKey:d.SecretAccessKey,...d.SessionToken&&{sessionToken:d.SessionToken},...d.Expiration&&{expiration:new Date(d.Expiration)}}};U02.getValidatedProcessCredentials=Fu5});var L02=Y((M02)=>{Object.defineProperty(M02,"__esModule",{value:!0});M02.resolveProcessCredentials=void 0;var uY1=x3(),gu5=B1("child_process"),Ju5=B1("util"),Ku5=E02(),Nu5=async(I,d)=>{let G=d[I];if(d[I]){let Z=G.credential_process;if(Z!==void 0){let C=Ju5.promisify(gu5.exec);try{let{stdout:W}=await C(Z),w;try{w=JSON.parse(W.trim())}catch(B){throw Error(`Profile ${I} credential_process returned invalid JSON.`)}return Ku5.getValidatedProcessCredentials(I,w)}catch(W){throw new uY1.CredentialsProviderError(W.message)}}else throw new uY1.CredentialsProviderError(`Profile ${I} did not contain credential_process.`)}else throw new uY1.CredentialsProviderError(`Profile ${I} could not be found in shared credentials file.`)};M02.resolveProcessCredentials=Nu5});var u02=Y((P02)=>{Object.defineProperty(P02,"__esModule",{value:!0});P02.fromProcess=void 0;var y02=rC(),zu5=L02(),Qu5=(I={})=>async()=>{let d=await y02.parseKnownFiles(I);return zu5.resolveProcessCredentials(y02.getProfileName(I),d)};P02.fromProcess=Qu5});var OY1=Y((TY1)=>{Object.defineProperty(TY1,"__esModule",{value:!0});var fu5=x1();fu5.__exportStar(u02(),TY1)});var m02=Y((T02)=>{Object.defineProperty(T02,"__esModule",{value:!0});T02.resolveProcessCredentials=T02.isProcessProfile=void 0;var qu5=OY1(),Ru5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.credential_process==="string";T02.isProcessProfile=Ru5;var Uu5=async(I,d)=>qu5.fromProcess({...I,profile:d})();T02.resolveProcessCredentials=Uu5});var mY1=Y((l02)=>{Object.defineProperty(l02,"__esModule",{value:!0});l02.isSsoProfile=void 0;var Eu5=(I)=>I&&(typeof I.sso_start_url==="string"||typeof I.sso_account_id==="string"||typeof I.sso_session==="string"||typeof I.sso_region==="string"||typeof I.sso_role_name==="string");l02.isSsoProfile=Eu5});var k02=Y((h02)=>{Object.defineProperty(h02,"__esModule",{value:!0});h02.resolveClientEndpointParameters=void 0;var Mu5=(I)=>{return{...I,useDualstackEndpoint:I.useDualstackEndpoint??!1,useFipsEndpoint:I.useFipsEndpoint??!1,defaultSigningName:"awsssoportal"}};h02.resolveClientEndpointParameters=Mu5});var x02=Y((sW3,Su5)=>{Su5.exports={name:"@aws-sdk/client-sso",description:"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",version:"3.423.0",scripts:{build:"concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'","build:cjs":"tsc -p tsconfig.cjs.json","build:docs":"typedoc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4",clean:"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},main:"./dist-cjs/index.js",types:"./dist-types/index.d.ts",module:"./dist-es/index.js",sideEffects:!1,dependencies:{"@aws-crypto/sha256-browser":"3.0.0","@aws-crypto/sha256-js":"3.0.0","@aws-sdk/middleware-host-header":"3.418.0","@aws-sdk/middleware-logger":"3.418.0","@aws-sdk/middleware-recursion-detection":"3.418.0","@aws-sdk/middleware-user-agent":"3.418.0","@aws-sdk/region-config-resolver":"3.418.0","@aws-sdk/types":"3.418.0","@aws-sdk/util-endpoints":"3.418.0","@aws-sdk/util-user-agent-browser":"3.418.0","@aws-sdk/util-user-agent-node":"3.418.0","@smithy/config-resolver":"^2.0.10","@smithy/fetch-http-handler":"^2.1.5","@smithy/hash-node":"^2.0.9","@smithy/invalid-dependency":"^2.0.9","@smithy/middleware-content-length":"^2.0.11","@smithy/middleware-endpoint":"^2.0.9","@smithy/middleware-retry":"^2.0.12","@smithy/middleware-serde":"^2.0.9","@smithy/middleware-stack":"^2.0.2","@smithy/node-config-provider":"^2.0.12","@smithy/node-http-handler":"^2.1.5","@smithy/protocol-http":"^3.0.5","@smithy/smithy-client":"^2.1.6","@smithy/types":"^2.3.3","@smithy/url-parser":"^2.0.9","@smithy/util-base64":"^2.0.0","@smithy/util-body-length-browser":"^2.0.0","@smithy/util-body-length-node":"^2.1.0","@smithy/util-defaults-mode-browser":"^2.0.10","@smithy/util-defaults-mode-node":"^2.0.12","@smithy/util-retry":"^2.0.2","@smithy/util-utf8":"^2.0.0",tslib:"^2.5.0"},devDependencies:{"@smithy/service-client-documentation-generator":"^2.0.0","@tsconfig/node14":"1.0.3","@types/node":"^14.14.31",concurrently:"7.0.0","downlevel-dts":"0.10.1",rimraf:"3.0.2",typedoc:"0.23.23",typescript:"~4.9.5"},engines:{node:">=14.0.0"},typesVersions:{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},files:["dist-*/**"],author:{name:"AWS SDK for JavaScript Team",url:"https://aws.amazon.com/javascript/"},license:"Apache-2.0",browser:{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},homepage:"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso",repository:{type:"git",url:"https://github.com/aws/aws-sdk-js-v3.git",directory:"clients/client-sso"}}});var n02=Y((c02,p02)=>{Object.defineProperty(c02,"__esModule",{value:!0});c02.isCrtAvailable=void 0;var Lu5=()=>{try{if(typeof p02!=="undefined"&&(()=>{throw new Error("Cannot require module "+"aws-crt");})())return["md/crt-avail"];return null}catch(I){return null}};c02.isCrtAvailable=Lu5});var zP=Y((a02)=>{Object.defineProperty(a02,"__esModule",{value:!0});a02.defaultUserAgent=a02.UA_APP_ID_INI_NAME=a02.UA_APP_ID_ENV_NAME=void 0;var yu5=mV(),r02=B1("os"),lY1=B1("process"),Pu5=n02();a02.UA_APP_ID_ENV_NAME="AWS_SDK_UA_APP_ID";a02.UA_APP_ID_INI_NAME="sdk-ua-app-id";var $u5=({serviceId:I,clientVersion:d})=>{let G=[["aws-sdk-js",d],["ua","2.0"],[`os/${r02.platform()}`,r02.release()],["lang/js"],["md/nodejs",`${lY1.versions.node}`]],Z=Pu5.isCrtAvailable();if(Z)G.push(Z);if(I)G.push([`api/${I}`,d]);if(lY1.env.AWS_EXECUTION_ENV)G.push([`exec-env/${lY1.env.AWS_EXECUTION_ENV}`]);let C=yu5.loadConfig({environmentVariableSelector:(w)=>w[a02.UA_APP_ID_ENV_NAME],configFileSelector:(w)=>w[a02.UA_APP_ID_INI_NAME],default:void 0})(),W=void 0;return async()=>{if(!W){let w=await C;W=w?[...G,[`app/${w}`]]:[...G]}return W}};a02.defaultUserAgent=$u5});var QP=Y((tW3,Z22)=>{var{defineProperty:xn,getOwnPropertyDescriptor:uu5,getOwnPropertyNames:Tu5}=Object,Ou5=Object.prototype.hasOwnProperty,I22=(I,d)=>xn(I,"name",{value:d,configurable:!0}),mu5=(I,d)=>{for(var G in d)xn(I,G,{get:d[G],enumerable:!0})},lu5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of Tu5(d))if(!Ou5.call(I,C)&&C!==G)xn(I,C,{get:()=>d[C],enumerable:!(Z=uu5(d,C))||Z.enumerable})}return I},bu5=(I)=>lu5(xn({},"__esModule",{value:!0}),I),d22={};mu5(d22,{Hash:()=>ku5});Z22.exports=bu5(d22);var bY1=Vq(),hu5=SZ(),ju5=B1("buffer"),t02=B1("crypto"),G22=class I{constructor(d,G){this.algorithmIdentifier=d,this.secret=G,this.reset()}update(d,G){this.hash.update(hu5.toUint8Array(hY1(d,G)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?t02.createHmac(this.algorithmIdentifier,hY1(this.secret)):t02.createHash(this.algorithmIdentifier)}};I22(G22,"Hash");var ku5=G22;function hY1(I,d){if(ju5.Buffer.isBuffer(I))return I;if(typeof I==="string")return bY1.fromString(I,d);if(ArrayBuffer.isView(I))return bY1.fromArrayBuffer(I.buffer,I.byteOffset,I.byteLength);return bY1.fromArrayBuffer(I)}I22(hY1,"castSourceData")});var fP=Y((Iw3,w22)=>{var{defineProperty:cn,getOwnPropertyDescriptor:xu5,getOwnPropertyNames:cu5}=Object,pu5=Object.prototype.hasOwnProperty,iu5=(I,d)=>cn(I,"name",{value:d,configurable:!0}),nu5=(I,d)=>{for(var G in d)cn(I,G,{get:d[G],enumerable:!0})},ru5=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of cu5(d))if(!pu5.call(I,C)&&C!==G)cn(I,C,{get:()=>d[C],enumerable:!(Z=xu5(d,C))||Z.enumerable})}return I},au5=(I)=>ru5(cn({},"__esModule",{value:!0}),I),W22={};nu5(W22,{calculateBodyLength:()=>su5});w22.exports=au5(W22);var C22=B1("fs"),su5=iu5((I)=>{if(!I)return 0;if(typeof I==="string")return Buffer.byteLength(I);else if(typeof I.byteLength==="number")return I.byteLength;else if(typeof I.size==="number")return I.size;else if(typeof I.start==="number"&&typeof I.end==="number")return I.end+1-I.start;else if(typeof I.path==="string"||Buffer.isBuffer(I.path))return C22.lstatSync(I.path).size;else if(typeof I.fd==="number")return C22.fstatSync(I.fd).size;throw new Error(`Body Length computation failed for ${I}`)},"calculateBodyLength")});var f22=Y((z22)=>{Object.defineProperty(z22,"__esModule",{value:!0});z22.ruleSet=void 0;var g22="required",eC="fn",tC="argv",Mq="ref",B22="isSet",kV="tree",vq="error",Eq="endpoint",jY1="PartitionResult",kY1="getAttr",A22={[g22]:!1,type:"String"},V22={[g22]:!0,default:!1,type:"Boolean"},X22={[Mq]:"Endpoint"},J22={[eC]:"booleanEquals",[tC]:[{[Mq]:"UseFIPS"},!0]},K22={[eC]:"booleanEquals",[tC]:[{[Mq]:"UseDualStack"},!0]},$Z={},Y22={[eC]:"booleanEquals",[tC]:[!0,{[eC]:kY1,[tC]:[{[Mq]:jY1},"supportsFIPS"]}]},N22={[Mq]:jY1},_22={[eC]:"booleanEquals",[tC]:[!0,{[eC]:kY1,[tC]:[N22,"supportsDualStack"]}]},D22=[J22],H22=[K22],F22=[{[Mq]:"Region"}],ou5={version:"1.0",parameters:{Region:A22,UseDualStack:V22,UseFIPS:V22,Endpoint:A22},rules:[{conditions:[{[eC]:B22,[tC]:[X22]}],type:kV,rules:[{conditions:D22,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:vq},{conditions:H22,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:vq},{endpoint:{url:X22,properties:$Z,headers:$Z},type:Eq}]},{conditions:[{[eC]:B22,[tC]:F22}],type:kV,rules:[{conditions:[{[eC]:"aws.partition",[tC]:F22,assign:jY1}],type:kV,rules:[{conditions:[J22,K22],type:kV,rules:[{conditions:[Y22,_22],type:kV,rules:[{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:$Z,headers:$Z},type:Eq}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:vq}]},{conditions:D22,type:kV,rules:[{conditions:[Y22],type:kV,rules:[{conditions:[{[eC]:"stringEquals",[tC]:["aws-us-gov",{[eC]:kY1,[tC]:[N22,"name"]}]}],endpoint:{url:"https://portal.sso.{Region}.amazonaws.com",properties:$Z,headers:$Z},type:Eq},{endpoint:{url:"https://portal.sso-fips.{Region}.{PartitionResult#dnsSuffix}",properties:$Z,headers:$Z},type:Eq}]},{error:"FIPS is enabled but this partition does not support FIPS",type:vq}]},{conditions:H22,type:kV,rules:[{conditions:[_22],type:kV,rules:[{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:$Z,headers:$Z},type:Eq}]},{error:"DualStack is enabled but this partition does not support DualStack",type:vq}]},{endpoint:{url:"https://portal.sso.{Region}.{PartitionResult#dnsSuffix}",properties:$Z,headers:$Z},type:Eq}]}]},{error:"Invalid Configuration: Missing Region",type:vq}]};z22.ruleSet=ou5});var U22=Y((q22)=>{Object.defineProperty(q22,"__esModule",{value:!0});q22.defaultEndpointResolver=void 0;var eu5=zq(),tu5=f22(),IT5=(I,d={})=>{return eu5.resolveEndpoint(tu5.ruleSet,{endpointParams:I,logger:d.logger})};q22.defaultEndpointResolver=IT5});var L22=Y((M22)=>{Object.defineProperty(M22,"__esModule",{value:!0});M22.getRuntimeConfig=void 0;var dT5=h2(),GT5=qJ(),v22=fD(),E22=SZ(),ZT5=U22(),CT5=(I)=>({apiVersion:"2019-06-10",base64Decoder:I?.base64Decoder??v22.fromBase64,base64Encoder:I?.base64Encoder??v22.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??ZT5.defaultEndpointResolver,extensions:I?.extensions??[],logger:I?.logger??new dT5.NoOpLogger,serviceId:I?.serviceId??"SSO",urlParser:I?.urlParser??GT5.parseUrl,utf8Decoder:I?.utf8Decoder??E22.fromUtf8,utf8Encoder:I?.utf8Encoder??E22.toUtf8});M22.getRuntimeConfig=CT5});var RP=Y((Cw3,O22)=>{var{create:WT5,defineProperty:qP,getOwnPropertyDescriptor:wT5,getOwnPropertyNames:BT5,getPrototypeOf:AT5}=Object,VT5=Object.prototype.hasOwnProperty,xY1=(I,d)=>qP(I,"name",{value:d,configurable:!0}),XT5=(I,d)=>{for(var G in d)qP(I,G,{get:d[G],enumerable:!0})},u22=(I,d,G,Z)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let C of BT5(d))if(!VT5.call(I,C)&&C!==G)qP(I,C,{get:()=>d[C],enumerable:!(Z=wT5(d,C))||Z.enumerable})}return I},YT5=(I,d,G)=>(G=I!=null?WT5(AT5(I)):{},u22(d||!I||!I.__esModule?qP(G,"default",{value:I,enumerable:!0}):G,I)),_T5=(I)=>u22(qP({},"__esModule",{value:!0}),I),T22={};XT5(T22,{resolveDefaultsModeConfig:()=>fT5});O22.exports=_T5(T22);var DT5=_B(),y22=mV(),HT5=x3(),FT5="AWS_EXECUTION_ENV",P22="AWS_REGION",$22="AWS_DEFAULT_REGION",gT5="AWS_EC2_METADATA_DISABLED",JT5=["in-region","cross-region","mobile","standard","legacy"],KT5="/latest/meta-data/placement/region",NT5="AWS_DEFAULTS_MODE",zT5="defaults_mode",QT5={environmentVariableSelector:(I)=>{return I[NT5]},configFileSelector:(I)=>{return I[zT5]},default:"legacy"},fT5=xY1(({region:I=y22.loadConfig(DT5.NODE_REGION_CONFIG_OPTIONS),defaultsMode:d=y22.loadConfig(QT5)}={})=>HT5.memoize(async()=>{let G=typeof d==="function"?await d():d;switch(G==null?void 0:G.toLowerCase()){case"auto":return qT5(I);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(G==null?void 0:G.toLocaleLowerCase());case void 0:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${JT5.join(", ")}, got ${G}`)}}),"resolveDefaultsModeConfig"),qT5=xY1(async(I)=>{if(I){let d=typeof I==="function"?await I():I,G=await RT5();if(!G)return"standard";if(d===G)return"in-region";else return"cross-region"}return"standard"},"resolveNodeDefaultsModeAuto"),RT5=xY1(async()=>{if(process.env[FT5]&&(process.env[P22]||process.env[$22]))return process.env[P22]??process.env[$22];if(!process.env[gT5])try{let{getInstanceMetadataEndpoint:I,httpRequest:d}=await Promise.resolve().then(()=>YT5(kn())),G=await I();return(await d({...G,path:KT5})).toString()}catch(I){}},"inferPhysicalRegion")});var j22=Y((b22)=>{Object.defineProperty(b22,"__esModule",{value:!0});b22.getRuntimeConfig=void 0;var UT5=x1(),vT5=UT5.__importDefault(x02()),ET5=zP(),pn=_B(),MT5=QP(),m22=bV(),UP=mV(),l22=Yq(),ST5=fP(),LT5=fq(),yT5=L22(),PT5=h2(),$T5=RP(),uT5=h2(),TT5=(I)=>{uT5.emitWarningIfUnsupportedVersion(process.version);let d=$T5.resolveDefaultsModeConfig(I),G=()=>d().then(PT5.loadConfigsForDefaultMode),Z=yT5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??ST5.calculateBodyLength,defaultUserAgentProvider:I?.defaultUserAgentProvider??ET5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:vT5.default.version}),maxAttempts:I?.maxAttempts??UP.loadConfig(m22.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??UP.loadConfig(pn.NODE_REGION_CONFIG_OPTIONS,pn.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new l22.NodeHttpHandler(G),retryMode:I?.retryMode??UP.loadConfig({...m22.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||LT5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??MT5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??l22.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??UP.loadConfig(pn.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??UP.loadConfig(pn.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};b22.getRuntimeConfig=TT5});var c22=Y((k22)=>{Object.defineProperty(k22,"__esModule",{value:!0});k22.resolveAwsRegionExtensionConfiguration=k22.getAwsRegionExtensionConfiguration=void 0;var OT5=(I)=>{let d=async()=>{if(I.region===void 0)throw new Error("Region is missing from runtimeConfig");let G=I.region;if(typeof G==="string")return G;return G()};return{setRegion(G){d=G},region(){return d}}};k22.getAwsRegionExtensionConfiguration=OT5;var mT5=(I)=>{return{region:I.region()}};k22.resolveAwsRegionExtensionConfiguration=mT5});var a22=Y((p22)=>{Object.defineProperty(p22,"__esModule",{value:!0});p22.NODE_REGION_CONFIG_FILE_OPTIONS=p22.NODE_REGION_CONFIG_OPTIONS=p22.REGION_INI_NAME=p22.REGION_ENV_NAME=void 0;p22.REGION_ENV_NAME="AWS_REGION";p22.REGION_INI_NAME="region";p22.NODE_REGION_CONFIG_OPTIONS={environmentVariableSelector:(I)=>I[p22.REGION_ENV_NAME],configFileSelector:(I)=>I[p22.REGION_INI_NAME],default:()=>{throw new Error("Region is missing")}};p22.NODE_REGION_CONFIG_FILE_OPTIONS={preferredFile:"credentials"}});var cY1=Y((s22)=>{Object.defineProperty(s22,"__esModule",{value:!0});s22.isFipsRegion=void 0;var hT5=(I)=>typeof I==="string"&&(I.startsWith("fips-")||I.endsWith("-fips"));s22.isFipsRegion=hT5});var I42=Y((e22)=>{Object.defineProperty(e22,"__esModule",{value:!0});e22.getRealRegion=void 0;var jT5=cY1(),kT5=(I)=>jT5.isFipsRegion(I)?["fips-aws-global","aws-fips"].includes(I)?"us-east-1":I.replace(/fips-(dkr-|prod-)?|-fips/,""):I;e22.getRealRegion=kT5});var C42=Y((G42)=>{Object.defineProperty(G42,"__esModule",{value:!0});G42.resolveRegionConfig=void 0;var d42=I42(),xT5=cY1(),cT5=(I)=>{let{region:d,useFipsEndpoint:G}=I;if(!d)throw new Error("Region is missing");return{...I,region:async()=>{if(typeof d==="string")return d42.getRealRegion(d);let Z=await d();return d42.getRealRegion(Z)},useFipsEndpoint:async()=>{let Z=typeof d==="string"?d:await d();if(xT5.isFipsRegion(Z))return!0;return typeof G!=="function"?Promise.resolve(!!G):G()}}};G42.resolveRegionConfig=cT5});var w42=Y((nn)=>{Object.defineProperty(nn,"__esModule",{value:!0});var W42=x1();W42.__exportStar(a22(),nn);W42.__exportStar(C42(),nn)});var an=Y((rn)=>{Object.defineProperty(rn,"__esModule",{value:!0});var B42=x1();B42.__exportStar(c22(),rn);B42.__exportStar(w42(),rn)});var D42=Y((Y42)=>{Object.defineProperty(Y42,"__esModule",{value:!0});Y42.resolveRuntimeExtensions=void 0;var A42=an(),V42=t8(),X42=h2(),pY1=(I)=>I,pT5=(I,d)=>{let G={...pY1(A42.getAwsRegionExtensionConfiguration(I)),...pY1(X42.getDefaultExtensionConfiguration(I)),...pY1(V42.getHttpHandlerExtensionConfiguration(I))};return d.forEach((Z)=>Z.configure(G)),{...I,...A42.resolveAwsRegionExtensionConfiguration(G),...X42.resolveDefaultRuntimeConfig(G),...V42.resolveHttpHandlerRuntimeConfig(G)}};Y42.resolveRuntimeExtensions=pT5});var vP=Y((iY1)=>{Object.defineProperty(iY1,"__esModule",{value:!0});iY1.SSOClient=iY1.__Client=void 0;var H42=ey(),iT5=ty(),nT5=IP(),F42=wP(),rT5=_B(),aT5=BP(),sT5=c3(),g42=bV(),J42=h2();Object.defineProperty(iY1,"__Client",{enumerable:!0,get:function(){return J42.Client}});var oT5=k02(),eT5=j22(),tT5=D42();class K42 extends J42.Client{constructor(...[I]){let d=eT5.getRuntimeConfig(I||{}),G=oT5.resolveClientEndpointParameters(d),Z=rT5.resolveRegionConfig(G),C=sT5.resolveEndpointConfig(Z),W=g42.resolveRetryConfig(C),w=H42.resolveHostHeaderConfig(W),B=F42.resolveUserAgentConfig(w),A=tT5.resolveRuntimeExtensions(B,I?.extensions||[]);super(A);this.config=A,this.middlewareStack.use(g42.getRetryPlugin(this.config)),this.middlewareStack.use(aT5.getContentLengthPlugin(this.config)),this.middlewareStack.use(H42.getHostHeaderPlugin(this.config)),this.middlewareStack.use(iT5.getLoggerPlugin(this.config)),this.middlewareStack.use(nT5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(F42.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}iY1.SSOClient=K42});var sn=Y((rY1)=>{Object.defineProperty(rY1,"__esModule",{value:!0});rY1.SSOServiceException=rY1.__ServiceException=void 0;var z42=h2();Object.defineProperty(rY1,"__ServiceException",{enumerable:!0,get:function(){return z42.ServiceException}});class nY1 extends z42.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,nY1.prototype)}}rY1.SSOServiceException=nY1});var UJ=Y((f42)=>{Object.defineProperty(f42,"__esModule",{value:!0});f42.LogoutRequestFilterSensitiveLog=f42.ListAccountsRequestFilterSensitiveLog=f42.ListAccountRolesRequestFilterSensitiveLog=f42.GetRoleCredentialsResponseFilterSensitiveLog=f42.RoleCredentialsFilterSensitiveLog=f42.GetRoleCredentialsRequestFilterSensitiveLog=f42.UnauthorizedException=f42.TooManyRequestsException=f42.ResourceNotFoundException=f42.InvalidRequestException=void 0;var Sq=h2(),on=sn();class aY1 extends on.SSOServiceException{constructor(I){super({name:"InvalidRequestException",$fault:"client",...I});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,aY1.prototype)}}f42.InvalidRequestException=aY1;class sY1 extends on.SSOServiceException{constructor(I){super({name:"ResourceNotFoundException",$fault:"client",...I});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,sY1.prototype)}}f42.ResourceNotFoundException=sY1;class oY1 extends on.SSOServiceException{constructor(I){super({name:"TooManyRequestsException",$fault:"client",...I});this.name="TooManyRequestsException",this.$fault="client",Object.setPrototypeOf(this,oY1.prototype)}}f42.TooManyRequestsException=oY1;class eY1 extends on.SSOServiceException{constructor(I){super({name:"UnauthorizedException",$fault:"client",...I});this.name="UnauthorizedException",this.$fault="client",Object.setPrototypeOf(this,eY1.prototype)}}f42.UnauthorizedException=eY1;var IO5=(I)=>({...I,...I.accessToken&&{accessToken:Sq.SENSITIVE_STRING}});f42.GetRoleCredentialsRequestFilterSensitiveLog=IO5;var dO5=(I)=>({...I,...I.secretAccessKey&&{secretAccessKey:Sq.SENSITIVE_STRING},...I.sessionToken&&{sessionToken:Sq.SENSITIVE_STRING}});f42.RoleCredentialsFilterSensitiveLog=dO5;var GO5=(I)=>({...I,...I.roleCredentials&&{roleCredentials:f42.RoleCredentialsFilterSensitiveLog(I.roleCredentials)}});f42.GetRoleCredentialsResponseFilterSensitiveLog=GO5;var ZO5=(I)=>({...I,...I.accessToken&&{accessToken:Sq.SENSITIVE_STRING}});f42.ListAccountRolesRequestFilterSensitiveLog=ZO5;var CO5=(I)=>({...I,...I.accessToken&&{accessToken:Sq.SENSITIVE_STRING}});f42.ListAccountsRequestFilterSensitiveLog=CO5;var WO5=(I)=>({...I,...I.accessToken&&{accessToken:Sq.SENSITIVE_STRING}});f42.LogoutRequestFilterSensitiveLog=WO5});var EP=Y((U42)=>{Object.defineProperty(U42,"__esModule",{value:!0});U42.de_LogoutCommand=U42.de_ListAccountsCommand=U42.de_ListAccountRolesCommand=U42.de_GetRoleCredentialsCommand=U42.se_LogoutCommand=U42.se_ListAccountsCommand=U42.se_ListAccountRolesCommand=U42.se_GetRoleCredentialsCommand=void 0;var en=t8(),H4=h2(),tn=UJ(),HO5=sn(),FO5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=H4.map({},Cr,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/federation/credentials`,A=H4.map({role_name:[,H4.expectNonNull(I.roleName,"roleName")],account_id:[,H4.expectNonNull(I.accountId,"accountId")]}),V;return new en.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};U42.se_GetRoleCredentialsCommand=FO5;var gO5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=H4.map({},Cr,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/roles`,A=H4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()],account_id:[,H4.expectNonNull(I.accountId,"accountId")]}),V;return new en.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};U42.se_ListAccountRolesCommand=gO5;var JO5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=H4.map({},Cr,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/assignment/accounts`,A=H4.map({next_token:[,I.nextToken],max_result:[()=>I.maxResults!==void 0,()=>I.maxResults.toString()]}),V;return new en.HttpRequest({protocol:Z,hostname:G,port:C,method:"GET",headers:w,path:B,query:A,body:V})};U42.se_ListAccountsCommand=JO5;var KO5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=H4.map({},Cr,{"x-amz-sso_bearer_token":I.accessToken}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/logout`,A;return new en.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};U42.se_LogoutCommand=KO5;var NO5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return zO5(I,d);let G=H4.map({$metadata:lD(I)}),Z=H4.expectNonNull(H4.expectObject(await Wr(I.body,d)),"body"),C=H4.take(Z,{roleCredentials:H4._json});return Object.assign(G,C),G};U42.de_GetRoleCredentialsCommand=NO5;var zO5=async(I,d)=>{let G={...I,body:await wr(I.body,d)},Z=Br(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await dr(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await tY1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Gr(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Zr(G,d);default:let C=G.body;return Ir({output:I,parsedBody:C,errorCode:Z})}},QO5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return fO5(I,d);let G=H4.map({$metadata:lD(I)}),Z=H4.expectNonNull(H4.expectObject(await Wr(I.body,d)),"body"),C=H4.take(Z,{nextToken:H4.expectString,roleList:H4._json});return Object.assign(G,C),G};U42.de_ListAccountRolesCommand=QO5;var fO5=async(I,d)=>{let G={...I,body:await wr(I.body,d)},Z=Br(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await dr(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await tY1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Gr(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Zr(G,d);default:let C=G.body;return Ir({output:I,parsedBody:C,errorCode:Z})}},qO5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return RO5(I,d);let G=H4.map({$metadata:lD(I)}),Z=H4.expectNonNull(H4.expectObject(await Wr(I.body,d)),"body"),C=H4.take(Z,{accountList:H4._json,nextToken:H4.expectString});return Object.assign(G,C),G};U42.de_ListAccountsCommand=qO5;var RO5=async(I,d)=>{let G={...I,body:await wr(I.body,d)},Z=Br(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await dr(G,d);case"ResourceNotFoundException":case"com.amazonaws.sso#ResourceNotFoundException":throw await tY1(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Gr(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Zr(G,d);default:let C=G.body;return Ir({output:I,parsedBody:C,errorCode:Z})}},UO5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return vO5(I,d);let G=H4.map({$metadata:lD(I)});return await H4.collectBody(I.body,d),G};U42.de_LogoutCommand=UO5;var vO5=async(I,d)=>{let G={...I,body:await wr(I.body,d)},Z=Br(I,G.body);switch(Z){case"InvalidRequestException":case"com.amazonaws.sso#InvalidRequestException":throw await dr(G,d);case"TooManyRequestsException":case"com.amazonaws.sso#TooManyRequestsException":throw await Gr(G,d);case"UnauthorizedException":case"com.amazonaws.sso#UnauthorizedException":throw await Zr(G,d);default:let C=G.body;return Ir({output:I,parsedBody:C,errorCode:Z})}},Ir=H4.withBaseException(HO5.SSOServiceException),dr=async(I,d)=>{let G=H4.map({}),Z=I.body,C=H4.take(Z,{message:H4.expectString});Object.assign(G,C);let W=new tn.InvalidRequestException({$metadata:lD(I),...G});return H4.decorateServiceException(W,I.body)},tY1=async(I,d)=>{let G=H4.map({}),Z=I.body,C=H4.take(Z,{message:H4.expectString});Object.assign(G,C);let W=new tn.ResourceNotFoundException({$metadata:lD(I),...G});return H4.decorateServiceException(W,I.body)},Gr=async(I,d)=>{let G=H4.map({}),Z=I.body,C=H4.take(Z,{message:H4.expectString});Object.assign(G,C);let W=new tn.TooManyRequestsException({$metadata:lD(I),...G});return H4.decorateServiceException(W,I.body)},Zr=async(I,d)=>{let G=H4.map({}),Z=I.body,C=H4.take(Z,{message:H4.expectString});Object.assign(G,C);let W=new tn.UnauthorizedException({$metadata:lD(I),...G});return H4.decorateServiceException(W,I.body)},lD=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),EO5=(I,d)=>H4.collectBody(I,d).then((G)=>d.utf8Encoder(G)),Cr=(I)=>I!==void 0&&I!==null&&I!==""&&(!Object.getOwnPropertyNames(I).includes("length")||I.length!=0)&&(!Object.getOwnPropertyNames(I).includes("size")||I.size!=0),Wr=(I,d)=>EO5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),wr=async(I,d)=>{let G=await Wr(I,d);return G.message=G.message??G.Message,G},Br=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var G_1=Y((d_1)=>{Object.defineProperty(d_1,"__esModule",{value:!0});d_1.GetRoleCredentialsCommand=d_1.$Command=void 0;var TO5=c3(),OO5=n6(),S42=h2();Object.defineProperty(d_1,"$Command",{enumerable:!0,get:function(){return S42.Command}});var mO5=k3(),E42=UJ(),M42=EP();class I_1 extends S42.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(OO5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(TO5.getEndpointPlugin(d,I_1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"GetRoleCredentialsCommand",inputFilterSensitiveLog:E42.GetRoleCredentialsRequestFilterSensitiveLog,outputFilterSensitiveLog:E42.GetRoleCredentialsResponseFilterSensitiveLog,[mO5.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"GetRoleCredentials"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return M42.se_GetRoleCredentialsCommand(I,d)}deserialize(I,d){return M42.de_GetRoleCredentialsCommand(I,d)}}d_1.GetRoleCredentialsCommand=I_1});var Ar=Y((C_1)=>{Object.defineProperty(C_1,"__esModule",{value:!0});C_1.ListAccountRolesCommand=C_1.$Command=void 0;var lO5=c3(),bO5=n6(),P42=h2();Object.defineProperty(C_1,"$Command",{enumerable:!0,get:function(){return P42.Command}});var hO5=k3(),jO5=UJ(),y42=EP();class Z_1 extends P42.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(bO5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(lO5.getEndpointPlugin(d,Z_1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountRolesCommand",inputFilterSensitiveLog:jO5.ListAccountRolesRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V,[hO5.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccountRoles"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return y42.se_ListAccountRolesCommand(I,d)}deserialize(I,d){return y42.de_ListAccountRolesCommand(I,d)}}C_1.ListAccountRolesCommand=Z_1});var Vr=Y((w_1)=>{Object.defineProperty(w_1,"__esModule",{value:!0});w_1.ListAccountsCommand=w_1.$Command=void 0;var kO5=c3(),xO5=n6(),T42=h2();Object.defineProperty(w_1,"$Command",{enumerable:!0,get:function(){return T42.Command}});var cO5=k3(),pO5=UJ(),u42=EP();class W_1 extends T42.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(xO5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(kO5.getEndpointPlugin(d,W_1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"ListAccountsCommand",inputFilterSensitiveLog:pO5.ListAccountsRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V,[cO5.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"ListAccounts"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return u42.se_ListAccountsCommand(I,d)}deserialize(I,d){return u42.de_ListAccountsCommand(I,d)}}w_1.ListAccountsCommand=W_1});var V_1=Y((A_1)=>{Object.defineProperty(A_1,"__esModule",{value:!0});A_1.LogoutCommand=A_1.$Command=void 0;var iO5=c3(),nO5=n6(),l42=h2();Object.defineProperty(A_1,"$Command",{enumerable:!0,get:function(){return l42.Command}});var rO5=k3(),aO5=UJ(),m42=EP();class B_1 extends l42.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(nO5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(iO5.getEndpointPlugin(d,B_1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"SSOClient",commandName:"LogoutCommand",inputFilterSensitiveLog:aO5.LogoutRequestFilterSensitiveLog,outputFilterSensitiveLog:(V)=>V,[rO5.SMITHY_CONTEXT_KEY]:{service:"SWBPortalService",operation:"Logout"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return m42.se_LogoutCommand(I,d)}deserialize(I,d){return m42.de_LogoutCommand(I,d)}}A_1.LogoutCommand=B_1});var k42=Y((h42)=>{Object.defineProperty(h42,"__esModule",{value:!0});h42.SSO=void 0;var sO5=h2(),oO5=G_1(),eO5=Ar(),tO5=Vr(),Im5=V_1(),dm5=vP(),Gm5={GetRoleCredentialsCommand:oO5.GetRoleCredentialsCommand,ListAccountRolesCommand:eO5.ListAccountRolesCommand,ListAccountsCommand:tO5.ListAccountsCommand,LogoutCommand:Im5.LogoutCommand};class X_1 extends dm5.SSOClient{}h42.SSO=X_1;sO5.createAggregatedClient(Gm5,X_1)});var x42=Y((Lq)=>{Object.defineProperty(Lq,"__esModule",{value:!0});var Xr=x1();Xr.__exportStar(G_1(),Lq);Xr.__exportStar(Ar(),Lq);Xr.__exportStar(Vr(),Lq);Xr.__exportStar(V_1(),Lq)});var p42=Y((c42)=>{Object.defineProperty(c42,"__esModule",{value:!0})});var r42=Y((i42)=>{Object.defineProperty(i42,"__esModule",{value:!0});i42.paginateListAccountRoles=void 0;var Zm5=Ar(),Cm5=vP(),Wm5=async(I,d,...G)=>{return await I.send(new Zm5.ListAccountRolesCommand(d),...G)};async function*wm5(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof Cm5.SSOClient)W=await Wm5(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}i42.paginateListAccountRoles=wm5});var o42=Y((a42)=>{Object.defineProperty(a42,"__esModule",{value:!0});a42.paginateListAccounts=void 0;var Bm5=Vr(),Am5=vP(),Vm5=async(I,d,...G)=>{return await I.send(new Bm5.ListAccountsCommand(d),...G)};async function*Xm5(I,d,...G){let Z=I.startingToken||void 0,C=!0,W;while(C){if(d.nextToken=Z,d.maxResults=I.pageSize,I.client instanceof Am5.SSOClient)W=await Vm5(I.client,d,...G);else throw new Error("Invalid client, expected SSO | SSOClient");yield W;let w=Z;Z=W.nextToken,C=!!(Z&&(!I.stopOnSameToken||Z!==w))}return}a42.paginateListAccounts=Xm5});var e42=Y((MP)=>{Object.defineProperty(MP,"__esModule",{value:!0});var Y_1=x1();Y_1.__exportStar(p42(),MP);Y_1.__exportStar(r42(),MP);Y_1.__exportStar(o42(),MP)});var t42=Y((__1)=>{Object.defineProperty(__1,"__esModule",{value:!0});var Ym5=x1();Ym5.__exportStar(UJ(),__1)});var I52=Y((bD)=>{Object.defineProperty(bD,"__esModule",{value:!0});bD.SSOServiceException=void 0;var SP=x1();SP.__exportStar(vP(),bD);SP.__exportStar(k42(),bD);SP.__exportStar(x42(),bD);SP.__exportStar(e42(),bD);SP.__exportStar(t42(),bD);var _m5=sn();Object.defineProperty(bD,"SSOServiceException",{enumerable:!0,get:function(){return _m5.SSOServiceException}})});var Dr=Y((T52)=>{Object.defineProperty(T52,"__esModule",{value:!0});T52.UnsupportedGrantTypeException=T52.UnauthorizedClientException=T52.SlowDownException=T52.SSOOIDCClient=T52.InvalidScopeException=T52.InvalidRequestException=T52.InvalidClientException=T52.InternalServerException=T52.ExpiredTokenException=T52.CreateTokenCommand=T52.AuthorizationPendingException=T52.AccessDeniedException=void 0;var d52=ey(),Hm5=ty(),Fm5=IP(),G52=wP(),gm5=_B(),Jm5=BP(),Km5=c3(),Z52=bV(),Nm5=h2(),zm5=(I)=>{var d,G;return{...I,useDualstackEndpoint:(d=I.useDualstackEndpoint)!==null&&d!==void 0?d:!1,useFipsEndpoint:(G=I.useFipsEndpoint)!==null&&G!==void 0?G:!1,defaultSigningName:"awsssooidc"}},Qm5={version:"3.387.0"},fm5=zP(),Yr=_B(),qm5=QP(),C52=bV(),LP=mV(),W52=Yq(),Rm5=fP(),Um5=fq(),vm5=h2(),Em5=qJ(),w52=fD(),B52=SZ(),Mm5=zq(),F52="required",xV="fn",cV="argv",yq="ref",D_1="PartitionResult",HB="tree",yP="error",PP="endpoint",A52={[F52]:!1,type:"String"},V52={[F52]:!0,default:!1,type:"Boolean"},g52={[yq]:"Endpoint"},J52={[xV]:"booleanEquals",[cV]:[{[yq]:"UseFIPS"},!0]},K52={[xV]:"booleanEquals",[cV]:[{[yq]:"UseDualStack"},!0]},FB={},X52={[xV]:"booleanEquals",[cV]:[!0,{[xV]:"getAttr",[cV]:[{[yq]:D_1},"supportsFIPS"]}]},Y52={[xV]:"booleanEquals",[cV]:[!0,{[xV]:"getAttr",[cV]:[{[yq]:D_1},"supportsDualStack"]}]},_52=[g52],D52=[J52],H52=[K52],Sm5={version:"1.0",parameters:{Region:A52,UseDualStack:V52,UseFIPS:V52,Endpoint:A52},rules:[{conditions:[{[xV]:"aws.partition",[cV]:[{[yq]:"Region"}],assign:D_1}],type:HB,rules:[{conditions:[{[xV]:"isSet",[cV]:_52},{[xV]:"parseURL",[cV]:_52,assign:"url"}],type:HB,rules:[{conditions:D52,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:yP},{type:HB,rules:[{conditions:H52,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:yP},{endpoint:{url:g52,properties:FB,headers:FB},type:PP}]}]},{conditions:[J52,K52],type:HB,rules:[{conditions:[X52,Y52],type:HB,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:FB,headers:FB},type:PP}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:yP}]},{conditions:D52,type:HB,rules:[{conditions:[X52],type:HB,rules:[{type:HB,rules:[{endpoint:{url:"https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",properties:FB,headers:FB},type:PP}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:yP}]},{conditions:H52,type:HB,rules:[{conditions:[Y52],type:HB,rules:[{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:FB,headers:FB},type:PP}]},{error:"DualStack is enabled but this partition does not support DualStack",type:yP}]},{endpoint:{url:"https://oidc.{Region}.{PartitionResult#dnsSuffix}",properties:FB,headers:FB},type:PP}]}]},Lm5=Sm5,ym5=(I,d={})=>{return Mm5.resolveEndpoint(Lm5,{endpointParams:I,logger:d.logger})},Pm5=(I)=>{var d,G,Z,C,W,w,B,A,V;return{apiVersion:"2019-06-10",base64Decoder:(d=I===null||I===void 0?void 0:I.base64Decoder)!==null&&d!==void 0?d:w52.fromBase64,base64Encoder:(G=I===null||I===void 0?void 0:I.base64Encoder)!==null&&G!==void 0?G:w52.toBase64,disableHostPrefix:(Z=I===null||I===void 0?void 0:I.disableHostPrefix)!==null&&Z!==void 0?Z:!1,endpointProvider:(C=I===null||I===void 0?void 0:I.endpointProvider)!==null&&C!==void 0?C:ym5,logger:(W=I===null||I===void 0?void 0:I.logger)!==null&&W!==void 0?W:new vm5.NoOpLogger,serviceId:(w=I===null||I===void 0?void 0:I.serviceId)!==null&&w!==void 0?w:"SSO OIDC",urlParser:(B=I===null||I===void 0?void 0:I.urlParser)!==null&&B!==void 0?B:Em5.parseUrl,utf8Decoder:(A=I===null||I===void 0?void 0:I.utf8Decoder)!==null&&A!==void 0?A:B52.fromUtf8,utf8Encoder:(V=I===null||I===void 0?void 0:I.utf8Encoder)!==null&&V!==void 0?V:B52.toUtf8}},$m5=h2(),um5=RP(),Tm5=h2(),Om5=(I)=>{var d,G,Z,C,W,w,B,A,V,X;Tm5.emitWarningIfUnsupportedVersion(process.version);let _=um5.resolveDefaultsModeConfig(I),F=()=>_().then($m5.loadConfigsForDefaultMode),g=Pm5(I);return{...g,...I,runtime:"node",defaultsMode:_,bodyLengthChecker:(d=I===null||I===void 0?void 0:I.bodyLengthChecker)!==null&&d!==void 0?d:Rm5.calculateBodyLength,defaultUserAgentProvider:(G=I===null||I===void 0?void 0:I.defaultUserAgentProvider)!==null&&G!==void 0?G:fm5.defaultUserAgent({serviceId:g.serviceId,clientVersion:Qm5.version}),maxAttempts:(Z=I===null||I===void 0?void 0:I.maxAttempts)!==null&&Z!==void 0?Z:LP.loadConfig(C52.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:(C=I===null||I===void 0?void 0:I.region)!==null&&C!==void 0?C:LP.loadConfig(Yr.NODE_REGION_CONFIG_OPTIONS,Yr.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:(W=I===null||I===void 0?void 0:I.requestHandler)!==null&&W!==void 0?W:new W52.NodeHttpHandler(F),retryMode:(w=I===null||I===void 0?void 0:I.retryMode)!==null&&w!==void 0?w:LP.loadConfig({...C52.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await F()).retryMode||Um5.DEFAULT_RETRY_MODE}),sha256:(B=I===null||I===void 0?void 0:I.sha256)!==null&&B!==void 0?B:qm5.Hash.bind(null,"sha256"),streamCollector:(A=I===null||I===void 0?void 0:I.streamCollector)!==null&&A!==void 0?A:W52.streamCollector,useDualstackEndpoint:(V=I===null||I===void 0?void 0:I.useDualstackEndpoint)!==null&&V!==void 0?V:LP.loadConfig(Yr.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:(X=I===null||I===void 0?void 0:I.useFipsEndpoint)!==null&&X!==void 0?X:LP.loadConfig(Yr.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}},N52=class extends Nm5.Client{constructor(...[I]){let d=Om5(I||{}),G=zm5(d),Z=gm5.resolveRegionConfig(G),C=Km5.resolveEndpointConfig(Z),W=Z52.resolveRetryConfig(C),w=d52.resolveHostHeaderConfig(W),B=G52.resolveUserAgentConfig(w);super(B);this.config=B,this.middlewareStack.use(Z52.getRetryPlugin(this.config)),this.middlewareStack.use(Jm5.getContentLengthPlugin(this.config)),this.middlewareStack.use(d52.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Hm5.getLoggerPlugin(this.config)),this.middlewareStack.use(Fm5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(G52.getUserAgentPlugin(this.config))}destroy(){super.destroy()}};T52.SSOOIDCClient=N52;var mm5=h2(),lm5=c3(),bm5=n6(),hm5=h2(),H_1=t8(),S0=h2(),jm5=h2(),CG=class I extends jm5.ServiceException{constructor(d){super(d);Object.setPrototypeOf(this,I.prototype)}},z52=class I extends CG{constructor(d){super({name:"AccessDeniedException",$fault:"client",...d});this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.AccessDeniedException=z52;var Q52=class I extends CG{constructor(d){super({name:"AuthorizationPendingException",$fault:"client",...d});this.name="AuthorizationPendingException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.AuthorizationPendingException=Q52;var f52=class I extends CG{constructor(d){super({name:"ExpiredTokenException",$fault:"client",...d});this.name="ExpiredTokenException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.ExpiredTokenException=f52;var q52=class I extends CG{constructor(d){super({name:"InternalServerException",$fault:"server",...d});this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.InternalServerException=q52;var R52=class I extends CG{constructor(d){super({name:"InvalidClientException",$fault:"client",...d});this.name="InvalidClientException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.InvalidClientException=R52;var km5=class I extends CG{constructor(d){super({name:"InvalidGrantException",$fault:"client",...d});this.name="InvalidGrantException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}},U52=class I extends CG{constructor(d){super({name:"InvalidRequestException",$fault:"client",...d});this.name="InvalidRequestException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.InvalidRequestException=U52;var v52=class I extends CG{constructor(d){super({name:"InvalidScopeException",$fault:"client",...d});this.name="InvalidScopeException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.InvalidScopeException=v52;var E52=class I extends CG{constructor(d){super({name:"SlowDownException",$fault:"client",...d});this.name="SlowDownException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.SlowDownException=E52;var M52=class I extends CG{constructor(d){super({name:"UnauthorizedClientException",$fault:"client",...d});this.name="UnauthorizedClientException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.UnauthorizedClientException=M52;var S52=class I extends CG{constructor(d){super({name:"UnsupportedGrantTypeException",$fault:"client",...d});this.name="UnsupportedGrantTypeException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}};T52.UnsupportedGrantTypeException=S52;var xm5=class I extends CG{constructor(d){super({name:"InvalidClientMetadataException",$fault:"client",...d});this.name="InvalidClientMetadataException",this.$fault="client",Object.setPrototypeOf(this,I.prototype),this.error=d.error,this.error_description=d.error_description}},cm5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${(W===null||W===void 0?void 0:W.endsWith("/"))?W.slice(0,-1):W||""}/token`,A;return A=JSON.stringify(S0.take(I,{clientId:[],clientSecret:[],code:[],deviceCode:[],grantType:[],redirectUri:[],refreshToken:[],scope:(V)=>S0._json(V)})),new H_1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})},pm5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${(W===null||W===void 0?void 0:W.endsWith("/"))?W.slice(0,-1):W||""}/client/register`,A;return A=JSON.stringify(S0.take(I,{clientName:[],clientType:[],scopes:(V)=>S0._json(V)})),new H_1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})},im5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w={"content-type":"application/json"},B=`${(W===null||W===void 0?void 0:W.endsWith("/"))?W.slice(0,-1):W||""}/device_authorization`,A;return A=JSON.stringify(S0.take(I,{clientId:[],clientSecret:[],startUrl:[]})),new H_1.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})},nm5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return rm5(I,d);let G=S0.map({$metadata:VI(I)}),Z=S0.expectNonNull(S0.expectObject(await _r(I.body,d)),"body"),C=S0.take(Z,{accessToken:S0.expectString,expiresIn:S0.expectInt32,idToken:S0.expectString,refreshToken:S0.expectString,tokenType:S0.expectString});return Object.assign(G,C),G},rm5=async(I,d)=>{let G={...I,body:await K_1(I.body,d)},Z=N_1(I,G.body);switch(Z){case"AccessDeniedException":case"com.amazonaws.ssooidc#AccessDeniedException":throw await tm5(G,d);case"AuthorizationPendingException":case"com.amazonaws.ssooidc#AuthorizationPendingException":throw await Il5(G,d);case"ExpiredTokenException":case"com.amazonaws.ssooidc#ExpiredTokenException":throw await dl5(G,d);case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await g_1(G,d);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await L52(G,d);case"InvalidGrantException":case"com.amazonaws.ssooidc#InvalidGrantException":throw await Zl5(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await J_1(G,d);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await y52(G,d);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await P52(G,d);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await $52(G,d);case"UnsupportedGrantTypeException":case"com.amazonaws.ssooidc#UnsupportedGrantTypeException":throw await Cl5(G,d);default:let C=G.body;return F_1({output:I,parsedBody:C,errorCode:Z})}},am5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return sm5(I,d);let G=S0.map({$metadata:VI(I)}),Z=S0.expectNonNull(S0.expectObject(await _r(I.body,d)),"body"),C=S0.take(Z,{authorizationEndpoint:S0.expectString,clientId:S0.expectString,clientIdIssuedAt:S0.expectLong,clientSecret:S0.expectString,clientSecretExpiresAt:S0.expectLong,tokenEndpoint:S0.expectString});return Object.assign(G,C),G},sm5=async(I,d)=>{let G={...I,body:await K_1(I.body,d)},Z=N_1(I,G.body);switch(Z){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await g_1(G,d);case"InvalidClientMetadataException":case"com.amazonaws.ssooidc#InvalidClientMetadataException":throw await Gl5(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await J_1(G,d);case"InvalidScopeException":case"com.amazonaws.ssooidc#InvalidScopeException":throw await y52(G,d);default:let C=G.body;return F_1({output:I,parsedBody:C,errorCode:Z})}},om5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return em5(I,d);let G=S0.map({$metadata:VI(I)}),Z=S0.expectNonNull(S0.expectObject(await _r(I.body,d)),"body"),C=S0.take(Z,{deviceCode:S0.expectString,expiresIn:S0.expectInt32,interval:S0.expectInt32,userCode:S0.expectString,verificationUri:S0.expectString,verificationUriComplete:S0.expectString});return Object.assign(G,C),G},em5=async(I,d)=>{let G={...I,body:await K_1(I.body,d)},Z=N_1(I,G.body);switch(Z){case"InternalServerException":case"com.amazonaws.ssooidc#InternalServerException":throw await g_1(G,d);case"InvalidClientException":case"com.amazonaws.ssooidc#InvalidClientException":throw await L52(G,d);case"InvalidRequestException":case"com.amazonaws.ssooidc#InvalidRequestException":throw await J_1(G,d);case"SlowDownException":case"com.amazonaws.ssooidc#SlowDownException":throw await P52(G,d);case"UnauthorizedClientException":case"com.amazonaws.ssooidc#UnauthorizedClientException":throw await $52(G,d);default:let C=G.body;return F_1({output:I,parsedBody:C,errorCode:Z})}},F_1=S0.withBaseException(CG),tm5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new z52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},Il5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new Q52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},dl5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new f52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},g_1=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new q52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},L52=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new R52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},Gl5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new xm5({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},Zl5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new km5({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},J_1=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new U52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},y52=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new v52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},P52=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new E52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},$52=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new M52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},Cl5=async(I,d)=>{let G=S0.map({}),Z=I.body,C=S0.take(Z,{error:S0.expectString,error_description:S0.expectString});Object.assign(G,C);let W=new S52({$metadata:VI(I),...G});return S0.decorateServiceException(W,I.body)},VI=(I)=>{var d,G;return{httpStatusCode:I.statusCode,requestId:(G=(d=I.headers["x-amzn-requestid"])!==null&&d!==void 0?d:I.headers["x-amzn-request-id"])!==null&&G!==void 0?G:I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}},Wl5=(I,d)=>S0.collectBody(I,d).then((G)=>d.utf8Encoder(G)),_r=(I,d)=>Wl5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),K_1=async(I,d)=>{var G;let Z=await _r(I,d);return Z.message=(G=Z.message)!==null&&G!==void 0?G:Z.Message,Z},N_1=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)},u52=class I extends hm5.Command{constructor(d){super();this.input=d}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(d,G,Z){this.middlewareStack.use(bm5.getSerdePlugin(G,this.serialize,this.deserialize)),this.middlewareStack.use(lm5.getEndpointPlugin(G,I.getEndpointParameterInstructions()));let C=d.concat(this.middlewareStack),{logger:W}=G,A={logger:W,clientName:"SSOOIDCClient",commandName:"CreateTokenCommand",inputFilterSensitiveLog:(X)=>X,outputFilterSensitiveLog:(X)=>X},{requestHandler:V}=G;return C.resolve((X)=>V.handle(X.request,Z||{}),A)}serialize(d,G){return cm5(d,G)}deserialize(d,G){return nm5(d,G)}};T52.CreateTokenCommand=u52;var wl5=c3(),Bl5=n6(),Al5=h2(),Vl5=class I extends Al5.Command{constructor(d){super();this.input=d}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(d,G,Z){this.middlewareStack.use(Bl5.getSerdePlugin(G,this.serialize,this.deserialize)),this.middlewareStack.use(wl5.getEndpointPlugin(G,I.getEndpointParameterInstructions()));let C=d.concat(this.middlewareStack),{logger:W}=G,A={logger:W,clientName:"SSOOIDCClient",commandName:"RegisterClientCommand",inputFilterSensitiveLog:(X)=>X,outputFilterSensitiveLog:(X)=>X},{requestHandler:V}=G;return C.resolve((X)=>V.handle(X.request,Z||{}),A)}serialize(d,G){return pm5(d,G)}deserialize(d,G){return am5(d,G)}},Xl5=c3(),Yl5=n6(),_l5=h2(),Dl5=class I extends _l5.Command{constructor(d){super();this.input=d}static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}resolveMiddleware(d,G,Z){this.middlewareStack.use(Yl5.getSerdePlugin(G,this.serialize,this.deserialize)),this.middlewareStack.use(Xl5.getEndpointPlugin(G,I.getEndpointParameterInstructions()));let C=d.concat(this.middlewareStack),{logger:W}=G,A={logger:W,clientName:"SSOOIDCClient",commandName:"StartDeviceAuthorizationCommand",inputFilterSensitiveLog:(X)=>X,outputFilterSensitiveLog:(X)=>X},{requestHandler:V}=G;return C.resolve((X)=>V.handle(X.request,Z||{}),A)}serialize(d,G){return im5(d,G)}deserialize(d,G){return om5(d,G)}},Hl5={CreateTokenCommand:u52,RegisterClientCommand:Vl5,StartDeviceAuthorizationCommand:Dl5},Fl5=class extends N52{};mm5.createAggregatedClient(Hl5,Fl5)});var Hr=Y((m52)=>{Object.defineProperty(m52,"__esModule",{value:!0});m52.REFRESH_MESSAGE=m52.EXPIRE_WINDOW_MS=void 0;m52.EXPIRE_WINDOW_MS=300000;m52.REFRESH_MESSAGE="To refresh this SSO session run 'aws sso login' with the corresponding profile."});var j52=Y((b52)=>{Object.defineProperty(b52,"__esModule",{value:!0});b52.getSsoOidcClient=void 0;var Ml5=Dr(),z_1={},Sl5=(I)=>{if(z_1[I])return z_1[I];let d=new Ml5.SSOOIDCClient({region:I});return z_1[I]=d,d};b52.getSsoOidcClient=Sl5});var c52=Y((k52)=>{Object.defineProperty(k52,"__esModule",{value:!0});k52.getNewSsoOidcToken=void 0;var Ll5=Dr(),yl5=j52(),Pl5=(I,d)=>{return yl5.getSsoOidcClient(d).send(new Ll5.CreateTokenCommand({clientId:I.clientId,clientSecret:I.clientSecret,refreshToken:I.refreshToken,grantType:"refresh_token"}))};k52.getNewSsoOidcToken=Pl5});var n52=Y((p52)=>{Object.defineProperty(p52,"__esModule",{value:!0});p52.validateTokenExpiry=void 0;var $l5=x3(),ul5=Hr(),Tl5=(I)=>{if(I.expiration&&I.expiration.getTime()<Date.now())throw new $l5.TokenProviderError(`Token is expired. ${ul5.REFRESH_MESSAGE}`,!1)};p52.validateTokenExpiry=Tl5});var s52=Y((r52)=>{Object.defineProperty(r52,"__esModule",{value:!0});r52.validateTokenKey=void 0;var Ol5=x3(),ml5=Hr(),ll5=(I,d,G=!1)=>{if(typeof d==="undefined")throw new Ol5.TokenProviderError(`Value not present for '${I}' in SSO Token${G?". Cannot refresh":""}. ${ml5.REFRESH_MESSAGE}`,!1)};r52.validateTokenKey=ll5});var t52=Y((o52)=>{Object.defineProperty(o52,"__esModule",{value:!0});o52.writeSSOTokenToFile=void 0;var bl5=rC(),hl5=B1("fs"),{writeFile:jl5}=hl5.promises,kl5=(I,d)=>{let G=bl5.getSSOTokenFilepath(I),Z=JSON.stringify(d,null,2);return jl5(G,Z)};o52.writeSSOTokenToFile=kl5});var Q_1=Y((Z92)=>{Object.defineProperty(Z92,"__esModule",{value:!0});Z92.fromSso=void 0;var $P=x3(),Fr=rC(),I92=Hr(),xl5=c52(),d92=n52(),vJ=s52(),cl5=t52(),G92=new Date(0),pl5=(I={})=>async()=>{let d=await Fr.parseKnownFiles(I),G=Fr.getProfileName(I),Z=d[G];if(!Z)throw new $P.TokenProviderError(`Profile '${G}' could not be found in shared credentials file.`,!1);else if(!Z.sso_session)throw new $P.TokenProviderError(`Profile '${G}' is missing required property 'sso_session'.`);let C=Z.sso_session,w=(await Fr.loadSsoSessionData(I))[C];if(!w)throw new $P.TokenProviderError(`Sso session '${C}' could not be found in shared credentials file.`,!1);for(let g of["sso_start_url","sso_region"])if(!w[g])throw new $P.TokenProviderError(`Sso session '${C}' is missing required property '${g}'.`,!1);let{sso_start_url:B,sso_region:A}=w,V;try{V=await Fr.getSSOTokenFromFile(C)}catch(g){throw new $P.TokenProviderError(`The SSO session token associated with profile=${G} was not found or is invalid. ${I92.REFRESH_MESSAGE}`,!1)}vJ.validateTokenKey("accessToken",V.accessToken),vJ.validateTokenKey("expiresAt",V.expiresAt);let{accessToken:X,expiresAt:_}=V,F={token:X,expiration:new Date(_)};if(F.expiration.getTime()-Date.now()>I92.EXPIRE_WINDOW_MS)return F;if(Date.now()-G92.getTime()<30000)return d92.validateTokenExpiry(F),F;vJ.validateTokenKey("clientId",V.clientId,!0),vJ.validateTokenKey("clientSecret",V.clientSecret,!0),vJ.validateTokenKey("refreshToken",V.refreshToken,!0);try{G92.setTime(Date.now());let g=await xl5.getNewSsoOidcToken(V,A);vJ.validateTokenKey("accessToken",g.accessToken),vJ.validateTokenKey("expiresIn",g.expiresIn);let J=new Date(Date.now()+g.expiresIn*1000);try{await cl5.writeSSOTokenToFile(C,{...V,accessToken:g.accessToken,expiresAt:J.toISOString(),refreshToken:g.refreshToken})}catch(K){}return{token:g.accessToken,expiration:J}}catch(g){return d92.validateTokenExpiry(F),F}};Z92.fromSso=pl5});var B92=Y((W92)=>{Object.defineProperty(W92,"__esModule",{value:!0});W92.fromStatic=void 0;var il5=x3(),nl5=({token:I})=>async()=>{if(!I||!I.token)throw new il5.TokenProviderError("Please pass a valid token to fromStatic",!1);return I};W92.fromStatic=nl5});var X92=Y((A92)=>{Object.defineProperty(A92,"__esModule",{value:!0});A92.nodeProvider=void 0;var f_1=x3(),rl5=Q_1(),al5=(I={})=>f_1.memoize(f_1.chain(rl5.fromSso(I),async()=>{throw new f_1.TokenProviderError("Could not load token from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);A92.nodeProvider=al5});var Y92=Y((Pq)=>{Object.defineProperty(Pq,"__esModule",{value:!0});var gr=x1();gr.__exportStar(Dr(),Pq);gr.__exportStar(Q_1(),Pq);gr.__exportStar(B92(),Pq);gr.__exportStar(X92(),Pq)});var F92=Y((D92)=>{Object.defineProperty(D92,"__esModule",{value:!0});D92.resolveSSOCredentials=void 0;var _92=I52(),sl5=Y92(),uP=x3(),ol5=rC(),TP=!1,el5=async({ssoStartUrl:I,ssoSession:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:w})=>{let B,A="To refresh this SSO session run aws sso login with the corresponding profile.";if(d)try{let Q=await sl5.fromSso({profile:w})();B={accessToken:Q.token,expiresAt:new Date(Q.expiration).toISOString()}}catch(Q){throw new uP.CredentialsProviderError(Q.message,TP)}else try{B=await ol5.getSSOTokenFromFile(I)}catch(Q){throw new uP.CredentialsProviderError("The SSO session associated with this profile is invalid. To refresh this SSO session run aws sso login with the corresponding profile.",TP)}if(new Date(B.expiresAt).getTime()-Date.now()<=0)throw new uP.CredentialsProviderError("The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.",TP);let{accessToken:V}=B,X=W||new _92.SSOClient({region:Z}),_;try{_=await X.send(new _92.GetRoleCredentialsCommand({accountId:G,roleName:C,accessToken:V}))}catch(Q){throw uP.CredentialsProviderError.from(Q,TP)}let{roleCredentials:{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:K}={}}=_;if(!F||!g||!J||!K)throw new uP.CredentialsProviderError("SSO returns an invalid temporary credential.",TP);return{accessKeyId:F,secretAccessKey:g,sessionToken:J,expiration:new Date(K)}};D92.resolveSSOCredentials=el5});var q_1=Y((g92)=>{Object.defineProperty(g92,"__esModule",{value:!0});g92.validateSsoProfile=void 0;var tl5=x3(),Ib5=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_region:Z,sso_role_name:C}=I;if(!d||!G||!Z||!C)throw new tl5.CredentialsProviderError(`Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(I).join(", ")}
Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`,!1);return I};g92.validateSsoProfile=Ib5});var Q92=Y((N92)=>{Object.defineProperty(N92,"__esModule",{value:!0});N92.fromSSO=void 0;var OP=x3(),R_1=rC(),db5=mY1(),K92=F92(),Gb5=q_1(),Zb5=(I={})=>async()=>{let{ssoStartUrl:d,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,ssoSession:w}=I,B=R_1.getProfileName(I);if(!d&&!G&&!Z&&!C&&!w){let V=(await R_1.parseKnownFiles(I))[B];if(!V)throw new OP.CredentialsProviderError(`Profile ${B} was not found.`);if(!db5.isSsoProfile(V))throw new OP.CredentialsProviderError(`Profile ${B} is not configured with SSO credentials.`);if(V===null||V===void 0?void 0:V.sso_session){let Q=(await R_1.loadSsoSessionData(I))[V.sso_session],E=` configurations in profile ${B} and sso-session ${V.sso_session}`;if(Z&&Z!==Q.sso_region)throw new OP.CredentialsProviderError("Conflicting SSO region"+E,!1);if(d&&d!==Q.sso_start_url)throw new OP.CredentialsProviderError("Conflicting SSO start_url"+E,!1);V.sso_region=Q.sso_region,V.sso_start_url=Q.sso_start_url}let{sso_start_url:X,sso_account_id:_,sso_region:F,sso_role_name:g,sso_session:J}=Gb5.validateSsoProfile(V);return K92.resolveSSOCredentials({ssoStartUrl:X,ssoSession:J,ssoAccountId:_,ssoRegion:F,ssoRoleName:g,ssoClient:W,profile:B})}else if(!d||!G||!Z||!C)throw new OP.CredentialsProviderError('Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"');else return K92.resolveSSOCredentials({ssoStartUrl:d,ssoSession:w,ssoAccountId:G,ssoRegion:Z,ssoRoleName:C,ssoClient:W,profile:B})};N92.fromSSO=Zb5});var q92=Y((f92)=>{Object.defineProperty(f92,"__esModule",{value:!0})});var Kr=Y(($q)=>{Object.defineProperty($q,"__esModule",{value:!0});var Jr=x1();Jr.__exportStar(Q92(),$q);Jr.__exportStar(mY1(),$q);Jr.__exportStar(q92(),$q);Jr.__exportStar(q_1(),$q)});var v92=Y((U_1)=>{Object.defineProperty(U_1,"__esModule",{value:!0});U_1.resolveSsoCredentials=U_1.isSsoProfile=void 0;var R92=Kr(),Cb5=Kr();Object.defineProperty(U_1,"isSsoProfile",{enumerable:!0,get:function(){return Cb5.isSsoProfile}});var Wb5=(I)=>{let{sso_start_url:d,sso_account_id:G,sso_session:Z,sso_region:C,sso_role_name:W}=R92.validateSsoProfile(I);return R92.fromSSO({ssoStartUrl:d,ssoAccountId:G,ssoSession:Z,ssoRegion:C,ssoRoleName:W})()};U_1.resolveSsoCredentials=Wb5});var S92=Y((E92)=>{Object.defineProperty(E92,"__esModule",{value:!0});E92.resolveStaticCredentials=E92.isStaticCredsProfile=void 0;var wb5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.aws_access_key_id==="string"&&typeof I.aws_secret_access_key==="string"&&["undefined","string"].indexOf(typeof I.aws_session_token)>-1;E92.isStaticCredsProfile=wb5;var Bb5=(I)=>Promise.resolve({accessKeyId:I.aws_access_key_id,secretAccessKey:I.aws_secret_access_key,sessionToken:I.aws_session_token});E92.resolveStaticCredentials=Bb5});var v_1=Y((L92)=>{Object.defineProperty(L92,"__esModule",{value:!0});L92.fromWebToken=void 0;var Vb5=x3(),Xb5=(I)=>()=>{let{roleArn:d,roleSessionName:G,webIdentityToken:Z,providerId:C,policyArns:W,policy:w,durationSeconds:B,roleAssumerWithWebIdentity:A}=I;if(!A)throw new Vb5.CredentialsProviderError(`Role Arn '${d}' needs to be assumed with web identity, but no role assumption callback was provided.`,!1);return A({RoleArn:d,RoleSessionName:G!==null&&G!==void 0?G:`aws-sdk-js-session-${Date.now()}`,WebIdentityToken:Z,ProviderId:C,PolicyArns:W,Policy:w,DurationSeconds:B})};L92.fromWebToken=Xb5});var u92=Y((P92)=>{Object.defineProperty(P92,"__esModule",{value:!0});P92.fromTokenFile=void 0;var Yb5=x3(),_b5=B1("fs"),Db5=v_1(),Hb5="AWS_WEB_IDENTITY_TOKEN_FILE",Fb5="AWS_ROLE_ARN",gb5="AWS_ROLE_SESSION_NAME",Jb5=(I={})=>async()=>{var d,G,Z;let C=(d=I===null||I===void 0?void 0:I.webIdentityTokenFile)!==null&&d!==void 0?d:process.env[Hb5],W=(G=I===null||I===void 0?void 0:I.roleArn)!==null&&G!==void 0?G:process.env[Fb5],w=(Z=I===null||I===void 0?void 0:I.roleSessionName)!==null&&Z!==void 0?Z:process.env[gb5];if(!C||!W)throw new Yb5.CredentialsProviderError("Web identity configuration not specified");return Db5.fromWebToken({...I,webIdentityToken:_b5.readFileSync(C,{encoding:"ascii"}),roleArn:W,roleSessionName:w})()};P92.fromTokenFile=Jb5});var E_1=Y((Nr)=>{Object.defineProperty(Nr,"__esModule",{value:!0});var T92=x1();T92.__exportStar(u92(),Nr);T92.__exportStar(v_1(),Nr)});var l92=Y((O92)=>{Object.defineProperty(O92,"__esModule",{value:!0});O92.resolveWebIdentityCredentials=O92.isWebIdentityProfile=void 0;var Kb5=E_1(),Nb5=(I)=>Boolean(I)&&typeof I==="object"&&typeof I.web_identity_token_file==="string"&&typeof I.role_arn==="string"&&["undefined","string"].indexOf(typeof I.role_session_name)>-1;O92.isWebIdentityProfile=Nb5;var zb5=async(I,d)=>Kb5.fromTokenFile({webIdentityTokenFile:I.web_identity_token_file,roleArn:I.role_arn,roleSessionName:I.role_session_name,roleAssumerWithWebIdentity:d.roleAssumerWithWebIdentity})();O92.resolveWebIdentityCredentials=zb5});var $Y1=Y((x92)=>{Object.defineProperty(x92,"__esModule",{value:!0});x92.resolveProfileData=void 0;var fb5=x3(),b92=R02(),h92=m02(),j92=v92(),zr=S92(),k92=l92(),qb5=async(I,d,G,Z={})=>{let C=d[I];if(Object.keys(Z).length>0&&zr.isStaticCredsProfile(C))return zr.resolveStaticCredentials(C);if(b92.isAssumeRoleProfile(C))return b92.resolveAssumeRoleCredentials(I,d,G,Z);if(zr.isStaticCredsProfile(C))return zr.resolveStaticCredentials(C);if(k92.isWebIdentityProfile(C))return k92.resolveWebIdentityCredentials(C,G);if(h92.isProcessProfile(C))return h92.resolveProcessCredentials(G,I);if(j92.isSsoProfile(C))return j92.resolveSsoCredentials(C);throw new fb5.CredentialsProviderError(`Profile ${I} could not be found or parsed in shared credentials file.`)};x92.resolveProfileData=qb5});var r92=Y((i92)=>{Object.defineProperty(i92,"__esModule",{value:!0});i92.fromIni=void 0;var p92=rC(),Rb5=$Y1(),Ub5=(I={})=>async()=>{let d=await p92.parseKnownFiles(I);return Rb5.resolveProfileData(p92.getProfileName(I),d,I)};i92.fromIni=Ub5});var a92=Y((M_1)=>{Object.defineProperty(M_1,"__esModule",{value:!0});var vb5=x1();vb5.__exportStar(r92(),M_1)});var t92=Y((s92)=>{Object.defineProperty(s92,"__esModule",{value:!0});s92.remoteProvider=s92.ENV_IMDS_DISABLED=void 0;var Qr=kn(),Eb5=x3();s92.ENV_IMDS_DISABLED="AWS_EC2_METADATA_DISABLED";var Mb5=(I)=>{if(process.env[Qr.ENV_CMDS_RELATIVE_URI]||process.env[Qr.ENV_CMDS_FULL_URI])return Qr.fromContainerMetadata(I);if(process.env[s92.ENV_IMDS_DISABLED])return async()=>{throw new Eb5.CredentialsProviderError("EC2 Instance Metadata Service access disabled")};return Qr.fromInstanceMetadata(I)};s92.remoteProvider=Mb5});var G32=Y((I32)=>{Object.defineProperty(I32,"__esModule",{value:!0});I32.defaultProvider=void 0;var Sb5=vY1(),Lb5=a92(),yb5=OY1(),Pb5=Kr(),$b5=E_1(),S_1=x3(),ub5=rC(),Tb5=t92(),Ob5=(I={})=>S_1.memoize(S_1.chain(...I.profile||process.env[ub5.ENV_PROFILE]?[]:[Sb5.fromEnv()],Pb5.fromSSO(I),Lb5.fromIni(I),yb5.fromProcess(I),$b5.fromTokenFile(I),Tb5.remoteProvider(I),async()=>{throw new S_1.CredentialsProviderError("Could not load credentials from any providers",!1)}),(d)=>d.expiration!==void 0&&d.expiration.getTime()-Date.now()<300000,(d)=>d.expiration!==void 0);I32.defaultProvider=Ob5});var y_1=Y((L_1)=>{Object.defineProperty(L_1,"__esModule",{value:!0});var mb5=x1();mb5.__exportStar(G32(),L_1)});var v32=Y((R32)=>{Object.defineProperty(R32,"__esModule",{value:!0});R32.ruleSet=void 0;var H32="required",y4="type",l5="fn",b5="argv",hD="ref",Z32=!1,lb5=!0,EJ="booleanEquals",gB="tree",d7="stringEquals",F32="sigv4",g32="sts",J32="us-east-1",B3="endpoint",C32="https://sts.{Region}.{PartitionResult#dnsSuffix}",uq="error",$_1="getAttr",W32={[H32]:!1,[y4]:"String"},P_1={[H32]:!0,default:!1,[y4]:"Boolean"},K32={[hD]:"Endpoint"},w32={[l5]:"isSet",[b5]:[{[hD]:"Region"}]},G7={[hD]:"Region"},B32={[l5]:"aws.partition",[b5]:[G7],assign:"PartitionResult"},N32={[hD]:"UseFIPS"},z32={[hD]:"UseDualStack"},l7={url:"https://sts.amazonaws.com",properties:{authSchemes:[{name:F32,signingName:g32,signingRegion:J32}]},headers:{}},WG={},A32={conditions:[{[l5]:d7,[b5]:[G7,"aws-global"]}],[B3]:l7,[y4]:B3},Q32={[l5]:EJ,[b5]:[N32,!0]},f32={[l5]:EJ,[b5]:[z32,!0]},V32={[l5]:EJ,[b5]:[!0,{[l5]:$_1,[b5]:[{[hD]:"PartitionResult"},"supportsFIPS"]}]},q32={[hD]:"PartitionResult"},X32={[l5]:EJ,[b5]:[!0,{[l5]:$_1,[b5]:[q32,"supportsDualStack"]}]},Y32=[{[l5]:"isSet",[b5]:[K32]}],_32=[Q32],D32=[f32],bb5={version:"1.0",parameters:{Region:W32,UseDualStack:P_1,UseFIPS:P_1,Endpoint:W32,UseGlobalEndpoint:P_1},rules:[{conditions:[{[l5]:EJ,[b5]:[{[hD]:"UseGlobalEndpoint"},lb5]},{[l5]:"not",[b5]:Y32},w32,B32,{[l5]:EJ,[b5]:[N32,Z32]},{[l5]:EJ,[b5]:[z32,Z32]}],[y4]:gB,rules:[{conditions:[{[l5]:d7,[b5]:[G7,"ap-northeast-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"ap-south-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"ap-southeast-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"ap-southeast-2"]}],endpoint:l7,[y4]:B3},A32,{conditions:[{[l5]:d7,[b5]:[G7,"ca-central-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"eu-central-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"eu-north-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"eu-west-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"eu-west-2"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"eu-west-3"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"sa-east-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,J32]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"us-east-2"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"us-west-1"]}],endpoint:l7,[y4]:B3},{conditions:[{[l5]:d7,[b5]:[G7,"us-west-2"]}],endpoint:l7,[y4]:B3},{endpoint:{url:C32,properties:{authSchemes:[{name:F32,signingName:g32,signingRegion:"{Region}"}]},headers:WG},[y4]:B3}]},{conditions:Y32,[y4]:gB,rules:[{conditions:_32,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[y4]:uq},{conditions:D32,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[y4]:uq},{endpoint:{url:K32,properties:WG,headers:WG},[y4]:B3}]},{conditions:[w32],[y4]:gB,rules:[{conditions:[B32],[y4]:gB,rules:[{conditions:[Q32,f32],[y4]:gB,rules:[{conditions:[V32,X32],[y4]:gB,rules:[{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:WG,headers:WG},[y4]:B3}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[y4]:uq}]},{conditions:_32,[y4]:gB,rules:[{conditions:[V32],[y4]:gB,rules:[{conditions:[{[l5]:d7,[b5]:["aws-us-gov",{[l5]:$_1,[b5]:[q32,"name"]}]}],endpoint:{url:"https://sts.{Region}.amazonaws.com",properties:WG,headers:WG},[y4]:B3},{endpoint:{url:"https://sts-fips.{Region}.{PartitionResult#dnsSuffix}",properties:WG,headers:WG},[y4]:B3}]},{error:"FIPS is enabled but this partition does not support FIPS",[y4]:uq}]},{conditions:D32,[y4]:gB,rules:[{conditions:[X32],[y4]:gB,rules:[{endpoint:{url:"https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:WG,headers:WG},[y4]:B3}]},{error:"DualStack is enabled but this partition does not support DualStack",[y4]:uq}]},A32,{endpoint:{url:C32,properties:WG,headers:WG},[y4]:B3}]}]},{error:"Invalid Configuration: Missing Region",[y4]:uq}]};R32.ruleSet=bb5});var S32=Y((E32)=>{Object.defineProperty(E32,"__esModule",{value:!0});E32.defaultEndpointResolver=void 0;var hb5=zq(),jb5=v32(),kb5=(I,d={})=>{return hb5.resolveEndpoint(jb5.ruleSet,{endpointParams:I,logger:d.logger})};E32.defaultEndpointResolver=kb5});var u32=Y((P32)=>{Object.defineProperty(P32,"__esModule",{value:!0});P32.getRuntimeConfig=void 0;var xb5=h2(),cb5=qJ(),L32=fD(),y32=SZ(),pb5=S32(),ib5=(I)=>({apiVersion:"2011-06-15",base64Decoder:I?.base64Decoder??L32.fromBase64,base64Encoder:I?.base64Encoder??L32.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??pb5.defaultEndpointResolver,extensions:I?.extensions??[],logger:I?.logger??new xb5.NoOpLogger,serviceId:I?.serviceId??"STS",urlParser:I?.urlParser??cb5.parseUrl,utf8Decoder:I?.utf8Decoder??y32.fromUtf8,utf8Encoder:I?.utf8Encoder??y32.toUtf8});P32.getRuntimeConfig=ib5});var b32=Y((m32)=>{Object.defineProperty(m32,"__esModule",{value:!0});m32.getRuntimeConfig=void 0;var nb5=x1(),rb5=nb5.__importDefault(et0()),ab5=RY1(),sb5=y_1(),ob5=zP(),fr=_B(),eb5=QP(),T32=bV(),mP=mV(),O32=Yq(),tb5=fP(),Ih5=fq(),dh5=u32(),Gh5=h2(),Zh5=RP(),Ch5=h2(),Wh5=(I)=>{Ch5.emitWarningIfUnsupportedVersion(process.version);let d=Zh5.resolveDefaultsModeConfig(I),G=()=>d().then(Gh5.loadConfigsForDefaultMode),Z=dh5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??tb5.calculateBodyLength,credentialDefaultProvider:I?.credentialDefaultProvider??ab5.decorateDefaultCredentialProvider(sb5.defaultProvider),defaultUserAgentProvider:I?.defaultUserAgentProvider??ob5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:rb5.default.version}),maxAttempts:I?.maxAttempts??mP.loadConfig(T32.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??mP.loadConfig(fr.NODE_REGION_CONFIG_OPTIONS,fr.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new O32.NodeHttpHandler(G),retryMode:I?.retryMode??mP.loadConfig({...T32.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||Ih5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??eb5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??O32.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??mP.loadConfig(fr.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??mP.loadConfig(fr.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};m32.getRuntimeConfig=Wh5});var p32=Y((x32)=>{Object.defineProperty(x32,"__esModule",{value:!0});x32.resolveRuntimeExtensions=void 0;var h32=an(),j32=t8(),k32=h2(),u_1=(I)=>I,wh5=(I,d)=>{let G={...u_1(h32.getAwsRegionExtensionConfiguration(I)),...u_1(k32.getDefaultExtensionConfiguration(I)),...u_1(j32.getHttpHandlerExtensionConfiguration(I))};return d.forEach((Z)=>Z.configure(G)),{...I,...h32.resolveAwsRegionExtensionConfiguration(G),...k32.resolveDefaultRuntimeConfig(G),...j32.resolveHttpHandlerRuntimeConfig(G)}};x32.resolveRuntimeExtensions=wh5});var qr=Y((O_1)=>{Object.defineProperty(O_1,"__esModule",{value:!0});O_1.STSClient=O_1.__Client=void 0;var i32=ey(),Bh5=ty(),Ah5=IP(),Vh5=rt0(),n32=wP(),Xh5=_B(),Yh5=BP(),_h5=c3(),r32=bV(),a32=h2();Object.defineProperty(O_1,"__Client",{enumerable:!0,get:function(){return a32.Client}});var Dh5=ot0(),Hh5=b32(),Fh5=p32();class T_1 extends a32.Client{constructor(...[I]){let d=Hh5.getRuntimeConfig(I||{}),G=Dh5.resolveClientEndpointParameters(d),Z=Xh5.resolveRegionConfig(G),C=_h5.resolveEndpointConfig(Z),W=r32.resolveRetryConfig(C),w=i32.resolveHostHeaderConfig(W),B=Vh5.resolveStsAuthConfig(w,{stsClientCtor:T_1}),A=n32.resolveUserAgentConfig(B),V=Fh5.resolveRuntimeExtensions(A,I?.extensions||[]);super(V);this.config=V,this.middlewareStack.use(r32.getRetryPlugin(this.config)),this.middlewareStack.use(Yh5.getContentLengthPlugin(this.config)),this.middlewareStack.use(i32.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Bh5.getLoggerPlugin(this.config)),this.middlewareStack.use(Ah5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(n32.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}O_1.STSClient=T_1});var b_1=Y((l_1)=>{Object.defineProperty(l_1,"__esModule",{value:!0});l_1.AssumeRoleWithSAMLCommand=l_1.$Command=void 0;var gh5=c3(),Jh5=n6(),t32=h2();Object.defineProperty(l_1,"$Command",{enumerable:!0,get:function(){return t32.Command}});var Kh5=k3(),o32=SD(),e32=jV();class m_1 extends t32.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Jh5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(gh5.getEndpointPlugin(d,m_1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"AssumeRoleWithSAMLCommand",inputFilterSensitiveLog:o32.AssumeRoleWithSAMLRequestFilterSensitiveLog,outputFilterSensitiveLog:o32.AssumeRoleWithSAMLResponseFilterSensitiveLog,[Kh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"AssumeRoleWithSAML"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return e32.se_AssumeRoleWithSAMLCommand(I,d)}deserialize(I,d){return e32.de_AssumeRoleWithSAMLCommand(I,d)}}l_1.AssumeRoleWithSAMLCommand=m_1});var k_1=Y((j_1)=>{Object.defineProperty(j_1,"__esModule",{value:!0});j_1.DecodeAuthorizationMessageCommand=j_1.$Command=void 0;var Nh5=OV(),zh5=c3(),Qh5=n6(),G62=h2();Object.defineProperty(j_1,"$Command",{enumerable:!0,get:function(){return G62.Command}});var fh5=k3(),d62=jV();class h_1 extends G62.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Qh5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(zh5.getEndpointPlugin(d,h_1.getEndpointParameterInstructions())),this.middlewareStack.use(Nh5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"DecodeAuthorizationMessageCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V,[fh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"DecodeAuthorizationMessage"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return d62.se_DecodeAuthorizationMessageCommand(I,d)}deserialize(I,d){return d62.de_DecodeAuthorizationMessageCommand(I,d)}}j_1.DecodeAuthorizationMessageCommand=h_1});var p_1=Y((c_1)=>{Object.defineProperty(c_1,"__esModule",{value:!0});c_1.GetAccessKeyInfoCommand=c_1.$Command=void 0;var qh5=OV(),Rh5=c3(),Uh5=n6(),W62=h2();Object.defineProperty(c_1,"$Command",{enumerable:!0,get:function(){return W62.Command}});var vh5=k3(),C62=jV();class x_1 extends W62.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Uh5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Rh5.getEndpointPlugin(d,x_1.getEndpointParameterInstructions())),this.middlewareStack.use(qh5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetAccessKeyInfoCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V,[vh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetAccessKeyInfo"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return C62.se_GetAccessKeyInfoCommand(I,d)}deserialize(I,d){return C62.de_GetAccessKeyInfoCommand(I,d)}}c_1.GetAccessKeyInfoCommand=x_1});var r_1=Y((n_1)=>{Object.defineProperty(n_1,"__esModule",{value:!0});n_1.GetCallerIdentityCommand=n_1.$Command=void 0;var Eh5=OV(),Mh5=c3(),Sh5=n6(),A62=h2();Object.defineProperty(n_1,"$Command",{enumerable:!0,get:function(){return A62.Command}});var Lh5=k3(),B62=jV();class i_1 extends A62.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Sh5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Mh5.getEndpointPlugin(d,i_1.getEndpointParameterInstructions())),this.middlewareStack.use(Eh5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetCallerIdentityCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:(V)=>V,[Lh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetCallerIdentity"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return B62.se_GetCallerIdentityCommand(I,d)}deserialize(I,d){return B62.de_GetCallerIdentityCommand(I,d)}}n_1.GetCallerIdentityCommand=i_1});var o_1=Y((s_1)=>{Object.defineProperty(s_1,"__esModule",{value:!0});s_1.GetFederationTokenCommand=s_1.$Command=void 0;var yh5=OV(),Ph5=c3(),$h5=n6(),Y62=h2();Object.defineProperty(s_1,"$Command",{enumerable:!0,get:function(){return Y62.Command}});var uh5=k3(),Th5=SD(),X62=jV();class a_1 extends Y62.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use($h5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(Ph5.getEndpointPlugin(d,a_1.getEndpointParameterInstructions())),this.middlewareStack.use(yh5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetFederationTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:Th5.GetFederationTokenResponseFilterSensitiveLog,[uh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetFederationToken"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return X62.se_GetFederationTokenCommand(I,d)}deserialize(I,d){return X62.de_GetFederationTokenCommand(I,d)}}s_1.GetFederationTokenCommand=a_1});var ID1=Y((t_1)=>{Object.defineProperty(t_1,"__esModule",{value:!0});t_1.GetSessionTokenCommand=t_1.$Command=void 0;var Oh5=OV(),mh5=c3(),lh5=n6(),H62=h2();Object.defineProperty(t_1,"$Command",{enumerable:!0,get:function(){return H62.Command}});var bh5=k3(),hh5=SD(),D62=jV();class e_1 extends H62.Command{static getEndpointParameterInstructions(){return{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"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(lh5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(mh5.getEndpointPlugin(d,e_1.getEndpointParameterInstructions())),this.middlewareStack.use(Oh5.getAwsAuthPlugin(d));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"STSClient",commandName:"GetSessionTokenCommand",inputFilterSensitiveLog:(V)=>V,outputFilterSensitiveLog:hh5.GetSessionTokenResponseFilterSensitiveLog,[bh5.SMITHY_CONTEXT_KEY]:{service:"AWSSecurityTokenServiceV20110615",operation:"GetSessionToken"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return D62.se_GetSessionTokenCommand(I,d)}deserialize(I,d){return D62.de_GetSessionTokenCommand(I,d)}}t_1.GetSessionTokenCommand=e_1});var K62=Y((g62)=>{Object.defineProperty(g62,"__esModule",{value:!0});g62.STS=void 0;var jh5=h2(),kh5=mn(),xh5=b_1(),ch5=ln(),ph5=k_1(),ih5=p_1(),nh5=r_1(),rh5=o_1(),ah5=ID1(),sh5=qr(),oh5={AssumeRoleCommand:kh5.AssumeRoleCommand,AssumeRoleWithSAMLCommand:xh5.AssumeRoleWithSAMLCommand,AssumeRoleWithWebIdentityCommand:ch5.AssumeRoleWithWebIdentityCommand,DecodeAuthorizationMessageCommand:ph5.DecodeAuthorizationMessageCommand,GetAccessKeyInfoCommand:ih5.GetAccessKeyInfoCommand,GetCallerIdentityCommand:nh5.GetCallerIdentityCommand,GetFederationTokenCommand:rh5.GetFederationTokenCommand,GetSessionTokenCommand:ah5.GetSessionTokenCommand};class dD1 extends sh5.STSClient{}g62.STS=dD1;jh5.createAggregatedClient(oh5,dD1)});var N62=Y((JB)=>{Object.defineProperty(JB,"__esModule",{value:!0});var jD=x1();jD.__exportStar(mn(),JB);jD.__exportStar(b_1(),JB);jD.__exportStar(ln(),JB);jD.__exportStar(k_1(),JB);jD.__exportStar(p_1(),JB);jD.__exportStar(r_1(),JB);jD.__exportStar(o_1(),JB);jD.__exportStar(ID1(),JB)});var z62=Y((GD1)=>{Object.defineProperty(GD1,"__esModule",{value:!0});var eh5=x1();eh5.__exportStar(SD(),GD1)});var M62=Y((R62)=>{Object.defineProperty(R62,"__esModule",{value:!0});R62.decorateDefaultCredentialProvider=R62.getDefaultRoleAssumerWithWebIdentity=R62.getDefaultRoleAssumer=void 0;var Q62=RY1(),f62=qr(),q62=(I,d)=>{if(!d)return I;else return class G extends I{constructor(Z){super(Z);for(let C of d)this.middlewareStack.use(C)}}},th5=(I={},d)=>Q62.getDefaultRoleAssumer(I,q62(f62.STSClient,d));R62.getDefaultRoleAssumer=th5;var Ij5=(I={},d)=>Q62.getDefaultRoleAssumerWithWebIdentity(I,q62(f62.STSClient,d));R62.getDefaultRoleAssumerWithWebIdentity=Ij5;var dj5=(I)=>(d)=>I({roleAssumer:R62.getDefaultRoleAssumer(d),roleAssumerWithWebIdentity:R62.getDefaultRoleAssumerWithWebIdentity(d),...d});R62.decorateDefaultCredentialProvider=dj5});var S62=Y((kD)=>{Object.defineProperty(kD,"__esModule",{value:!0});kD.STSServiceException=void 0;var lP=x1();lP.__exportStar(qr(),kD);lP.__exportStar(K62(),kD);lP.__exportStar(N62(),kD);lP.__exportStar(z62(),kD);lP.__exportStar(M62(),kD);var Gj5=Pn();Object.defineProperty(kD,"STSServiceException",{enumerable:!0,get:function(){return Gj5.STSServiceException}})});var c62=Y((k62)=>{Object.defineProperty(k62,"__esModule",{value:!0});k62.ruleSet=void 0;var b62="required",pV="fn",iV="argv",Oq="ref",L62="isSet",XI="tree",Tq="error",bP="endpoint",ZD1="PartitionResult",y62={[b62]:!1,type:"String"},P62={[b62]:!0,default:!1,type:"Boolean"},$62={[Oq]:"Endpoint"},h62={[pV]:"booleanEquals",[iV]:[{[Oq]:"UseFIPS"},!0]},j62={[pV]:"booleanEquals",[iV]:[{[Oq]:"UseDualStack"},!0]},KB={},u62={[pV]:"booleanEquals",[iV]:[!0,{[pV]:"getAttr",[iV]:[{[Oq]:ZD1},"supportsFIPS"]}]},T62={[pV]:"booleanEquals",[iV]:[!0,{[pV]:"getAttr",[iV]:[{[Oq]:ZD1},"supportsDualStack"]}]},O62=[h62],m62=[j62],l62=[{[Oq]:"Region"}],Cj5={version:"1.0",parameters:{Region:y62,UseDualStack:P62,UseFIPS:P62,Endpoint:y62},rules:[{conditions:[{[pV]:L62,[iV]:[$62]}],type:XI,rules:[{conditions:O62,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:Tq},{type:XI,rules:[{conditions:m62,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:Tq},{endpoint:{url:$62,properties:KB,headers:KB},type:bP}]}]},{type:XI,rules:[{conditions:[{[pV]:L62,[iV]:l62}],type:XI,rules:[{conditions:[{[pV]:"aws.partition",[iV]:l62,assign:ZD1}],type:XI,rules:[{conditions:[h62,j62],type:XI,rules:[{conditions:[u62,T62],type:XI,rules:[{type:XI,rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:KB,headers:KB},type:bP}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:Tq}]},{conditions:O62,type:XI,rules:[{conditions:[u62],type:XI,rules:[{type:XI,rules:[{endpoint:{url:"https://bedrock-runtime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:KB,headers:KB},type:bP}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:Tq}]},{conditions:m62,type:XI,rules:[{conditions:[T62],type:XI,rules:[{type:XI,rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:KB,headers:KB},type:bP}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:Tq}]},{type:XI,rules:[{endpoint:{url:"https://bedrock-runtime.{Region}.{PartitionResult#dnsSuffix}",properties:KB,headers:KB},type:bP}]}]}]},{error:"Invalid Configuration: Missing Region",type:Tq}]}]};k62.ruleSet=Cj5});var n62=Y((p62)=>{Object.defineProperty(p62,"__esModule",{value:!0});p62.defaultEndpointResolver=void 0;var Wj5=zq(),wj5=c62(),Bj5=(I,d={})=>{return Wj5.resolveEndpoint(wj5.ruleSet,{endpointParams:I,logger:d.logger})};p62.defaultEndpointResolver=Bj5});var e62=Y((s62)=>{Object.defineProperty(s62,"__esModule",{value:!0});s62.getRuntimeConfig=void 0;var Aj5=h2(),Vj5=qJ(),r62=fD(),a62=SZ(),Xj5=n62(),Yj5=(I)=>({apiVersion:"2023-09-30",base64Decoder:I?.base64Decoder??r62.fromBase64,base64Encoder:I?.base64Encoder??r62.toBase64,disableHostPrefix:I?.disableHostPrefix??!1,endpointProvider:I?.endpointProvider??Xj5.defaultEndpointResolver,extensions:I?.extensions??[],logger:I?.logger??new Aj5.NoOpLogger,serviceId:I?.serviceId??"Bedrock Runtime",urlParser:I?.urlParser??Vj5.parseUrl,utf8Decoder:I?.utf8Decoder??a62.fromUtf8,utf8Encoder:I?.utf8Encoder??a62.toUtf8});s62.getRuntimeConfig=Yj5});var Z82=Y((d82)=>{Object.defineProperty(d82,"__esModule",{value:!0});d82.getRuntimeConfig=void 0;var _j5=x1(),Dj5=_j5.__importDefault(pt0()),Hj5=S62(),Fj5=y_1(),gj5=zP(),Rr=_B(),Jj5=EV1(),Kj5=QP(),t62=bV(),hP=mV(),I82=Yq(),Nj5=fP(),zj5=fq(),Qj5=e62(),fj5=h2(),qj5=RP(),Rj5=h2(),Uj5=(I)=>{Rj5.emitWarningIfUnsupportedVersion(process.version);let d=qj5.resolveDefaultsModeConfig(I),G=()=>d().then(fj5.loadConfigsForDefaultMode),Z=Qj5.getRuntimeConfig(I);return{...Z,...I,runtime:"node",defaultsMode:d,bodyLengthChecker:I?.bodyLengthChecker??Nj5.calculateBodyLength,credentialDefaultProvider:I?.credentialDefaultProvider??Hj5.decorateDefaultCredentialProvider(Fj5.defaultProvider),defaultUserAgentProvider:I?.defaultUserAgentProvider??gj5.defaultUserAgent({serviceId:Z.serviceId,clientVersion:Dj5.default.version}),eventStreamSerdeProvider:I?.eventStreamSerdeProvider??Jj5.eventStreamSerdeProvider,maxAttempts:I?.maxAttempts??hP.loadConfig(t62.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),region:I?.region??hP.loadConfig(Rr.NODE_REGION_CONFIG_OPTIONS,Rr.NODE_REGION_CONFIG_FILE_OPTIONS),requestHandler:I?.requestHandler??new I82.NodeHttpHandler(G),retryMode:I?.retryMode??hP.loadConfig({...t62.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await G()).retryMode||zj5.DEFAULT_RETRY_MODE}),sha256:I?.sha256??Kj5.Hash.bind(null,"sha256"),streamCollector:I?.streamCollector??I82.streamCollector,useDualstackEndpoint:I?.useDualstackEndpoint??hP.loadConfig(Rr.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),useFipsEndpoint:I?.useFipsEndpoint??hP.loadConfig(Rr.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)}};d82.getRuntimeConfig=Uj5});var V82=Y((B82)=>{Object.defineProperty(B82,"__esModule",{value:!0});B82.resolveRuntimeExtensions=void 0;var C82=an(),W82=t8(),w82=h2(),CD1=(I)=>I,vj5=(I,d)=>{let G={...CD1(C82.getAwsRegionExtensionConfiguration(I)),...CD1(w82.getDefaultExtensionConfiguration(I)),...CD1(W82.getHttpHandlerExtensionConfiguration(I))};return d.forEach((Z)=>Z.configure(G)),{...I,...C82.resolveAwsRegionExtensionConfiguration(G),...w82.resolveDefaultRuntimeConfig(G),...W82.resolveHttpHandlerRuntimeConfig(G)}};B82.resolveRuntimeExtensions=vj5});var wD1=Y((WD1)=>{Object.defineProperty(WD1,"__esModule",{value:!0});WD1.BedrockRuntimeClient=WD1.__Client=void 0;var X82=ey(),Ej5=ty(),Mj5=IP(),Y82=OV(),_82=wP(),Sj5=_B(),Lj5=Xo0(),yj5=BP(),Pj5=c3(),D82=bV(),H82=h2();Object.defineProperty(WD1,"__Client",{enumerable:!0,get:function(){return H82.Client}});var $j5=ct0(),uj5=Z82(),Tj5=V82();class F82 extends H82.Client{constructor(...[I]){let d=uj5.getRuntimeConfig(I||{}),G=$j5.resolveClientEndpointParameters(d),Z=Sj5.resolveRegionConfig(G),C=Pj5.resolveEndpointConfig(Z),W=D82.resolveRetryConfig(C),w=X82.resolveHostHeaderConfig(W),B=Y82.resolveAwsAuthConfig(w),A=_82.resolveUserAgentConfig(B),V=Lj5.resolveEventStreamSerdeConfig(A),X=Tj5.resolveRuntimeExtensions(V,I?.extensions||[]);super(X);this.config=X,this.middlewareStack.use(D82.getRetryPlugin(this.config)),this.middlewareStack.use(yj5.getContentLengthPlugin(this.config)),this.middlewareStack.use(X82.getHostHeaderPlugin(this.config)),this.middlewareStack.use(Ej5.getLoggerPlugin(this.config)),this.middlewareStack.use(Mj5.getRecursionDetectionPlugin(this.config)),this.middlewareStack.use(Y82.getAwsAuthPlugin(this.config)),this.middlewareStack.use(_82.getUserAgentPlugin(this.config))}destroy(){super.destroy()}}WD1.BedrockRuntimeClient=F82});var Ur=Y((AD1)=>{Object.defineProperty(AD1,"__esModule",{value:!0});AD1.BedrockRuntimeServiceException=AD1.__ServiceException=void 0;var J82=h2();Object.defineProperty(AD1,"__ServiceException",{enumerable:!0,get:function(){return J82.ServiceException}});class BD1 extends J82.ServiceException{constructor(I){super(I);Object.setPrototypeOf(this,BD1.prototype)}}AD1.BedrockRuntimeServiceException=BD1});var kP=Y((z82)=>{Object.defineProperty(z82,"__esModule",{value:!0});z82.InvokeModelWithResponseStreamResponseFilterSensitiveLog=z82.ResponseStreamFilterSensitiveLog=z82.PayloadPartFilterSensitiveLog=z82.InvokeModelWithResponseStreamRequestFilterSensitiveLog=z82.InvokeModelResponseFilterSensitiveLog=z82.InvokeModelRequestFilterSensitiveLog=z82.ResponseStream=z82.ModelStreamErrorException=z82.ValidationException=z82.ThrottlingException=z82.ServiceQuotaExceededException=z82.ResourceNotFoundException=z82.ModelTimeoutException=z82.ModelNotReadyException=z82.ModelErrorException=z82.InternalServerException=z82.AccessDeniedException=void 0;var jP=h2(),NB=Ur();class VD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"AccessDeniedException",$fault:"client",...I});this.name="AccessDeniedException",this.$fault="client",Object.setPrototypeOf(this,VD1.prototype)}}z82.AccessDeniedException=VD1;class XD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"InternalServerException",$fault:"server",...I});this.name="InternalServerException",this.$fault="server",Object.setPrototypeOf(this,XD1.prototype)}}z82.InternalServerException=XD1;class YD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ModelErrorException",$fault:"client",...I});this.name="ModelErrorException",this.$fault="client",Object.setPrototypeOf(this,YD1.prototype),this.originalStatusCode=I.originalStatusCode,this.resourceName=I.resourceName}}z82.ModelErrorException=YD1;class _D1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ModelNotReadyException",$fault:"client",...I});this.name="ModelNotReadyException",this.$fault="client",Object.setPrototypeOf(this,_D1.prototype)}}z82.ModelNotReadyException=_D1;class DD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ModelTimeoutException",$fault:"client",...I});this.name="ModelTimeoutException",this.$fault="client",Object.setPrototypeOf(this,DD1.prototype)}}z82.ModelTimeoutException=DD1;class HD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ResourceNotFoundException",$fault:"client",...I});this.name="ResourceNotFoundException",this.$fault="client",Object.setPrototypeOf(this,HD1.prototype)}}z82.ResourceNotFoundException=HD1;class FD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ServiceQuotaExceededException",$fault:"client",...I});this.name="ServiceQuotaExceededException",this.$fault="client",Object.setPrototypeOf(this,FD1.prototype)}}z82.ServiceQuotaExceededException=FD1;class gD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ThrottlingException",$fault:"client",...I});this.name="ThrottlingException",this.$fault="client",Object.setPrototypeOf(this,gD1.prototype)}}z82.ThrottlingException=gD1;class JD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ValidationException",$fault:"client",...I});this.name="ValidationException",this.$fault="client",Object.setPrototypeOf(this,JD1.prototype)}}z82.ValidationException=JD1;class KD1 extends NB.BedrockRuntimeServiceException{constructor(I){super({name:"ModelStreamErrorException",$fault:"client",...I});this.name="ModelStreamErrorException",this.$fault="client",Object.setPrototypeOf(this,KD1.prototype),this.originalStatusCode=I.originalStatusCode,this.originalMessage=I.originalMessage}}z82.ModelStreamErrorException=KD1;var Oj5;(function(I){I.visit=(d,G)=>{if(d.chunk!==void 0)return G.chunk(d.chunk);if(d.internalServerException!==void 0)return G.internalServerException(d.internalServerException);if(d.modelStreamErrorException!==void 0)return G.modelStreamErrorException(d.modelStreamErrorException);if(d.validationException!==void 0)return G.validationException(d.validationException);if(d.throttlingException!==void 0)return G.throttlingException(d.throttlingException);if(d.modelTimeoutException!==void 0)return G.modelTimeoutException(d.modelTimeoutException);return G._(d.$unknown[0],d.$unknown[1])}})(Oj5=z82.ResponseStream||(z82.ResponseStream={}));var mj5=(I)=>({...I,...I.body&&{body:jP.SENSITIVE_STRING}});z82.InvokeModelRequestFilterSensitiveLog=mj5;var lj5=(I)=>({...I,...I.body&&{body:jP.SENSITIVE_STRING}});z82.InvokeModelResponseFilterSensitiveLog=lj5;var bj5=(I)=>({...I,...I.body&&{body:jP.SENSITIVE_STRING}});z82.InvokeModelWithResponseStreamRequestFilterSensitiveLog=bj5;var hj5=(I)=>({...I,...I.bytes&&{bytes:jP.SENSITIVE_STRING}});z82.PayloadPartFilterSensitiveLog=hj5;var jj5=(I)=>{if(I.chunk!==void 0)return{chunk:jP.SENSITIVE_STRING};if(I.internalServerException!==void 0)return{internalServerException:I.internalServerException};if(I.modelStreamErrorException!==void 0)return{modelStreamErrorException:I.modelStreamErrorException};if(I.validationException!==void 0)return{validationException:I.validationException};if(I.throttlingException!==void 0)return{throttlingException:I.throttlingException};if(I.modelTimeoutException!==void 0)return{modelTimeoutException:I.modelTimeoutException};if(I.$unknown!==void 0)return{[I.$unknown[0]]:"UNKNOWN"}};z82.ResponseStreamFilterSensitiveLog=jj5;var kj5=(I)=>({...I,...I.body&&{body:"STREAMING_CONTENT"}});z82.InvokeModelWithResponseStreamResponseFilterSensitiveLog=kj5});var qD1=Y(($82)=>{Object.defineProperty($82,"__esModule",{value:!0});$82.de_InvokeModelWithResponseStreamCommand=$82.de_InvokeModelCommand=$82.se_InvokeModelWithResponseStreamCommand=$82.se_InvokeModelCommand=void 0;var f82=t8(),j2=h2(),Ck5=Ur(),zB=kP(),Wk5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=j2.map({},L82,{"content-type":I.contentType||"application/octet-stream",accept:I.accept}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/model/{modelId}/invoke`;B=j2.resolvedPath(B,I,"modelId",()=>I.modelId,"{modelId}",!1);let A;if(I.body!==void 0)A=I.body;return new f82.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};$82.se_InvokeModelCommand=Wk5;var wk5=async(I,d)=>{let{hostname:G,protocol:Z="https",port:C,path:W}=await d.endpoint(),w=j2.map({},L82,{"content-type":I.contentType||"application/octet-stream","x-amzn-bedrock-accept":I.accept}),B=`${W?.endsWith("/")?W.slice(0,-1):W||""}/model/{modelId}/invoke-with-response-stream`;B=j2.resolvedPath(B,I,"modelId",()=>I.modelId,"{modelId}",!1);let A;if(I.body!==void 0)A=I.body;return new f82.HttpRequest({protocol:Z,hostname:G,port:C,method:"POST",headers:w,path:B,body:A})};$82.se_InvokeModelWithResponseStreamCommand=wk5;var Bk5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return Ak5(I,d);let G=j2.map({$metadata:uZ(I),contentType:[,I.headers["content-type"]]}),Z=await j2.collectBody(I.body,d);return G.body=Z,G};$82.de_InvokeModelCommand=Bk5;var Ak5=async(I,d)=>{let G={...I,body:await y82(I.body,d)},Z=P82(I,G.body);switch(Z){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await R82(G,d);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ND1(G,d);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await U82(G,d);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await v82(G,d);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await zD1(G,d);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await M82(G,d);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await S82(G,d);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await QD1(G,d);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await fD1(G,d);default:let C=G.body;return q82({output:I,parsedBody:C,errorCode:Z})}},Vk5=async(I,d)=>{if(I.statusCode!==200&&I.statusCode>=300)return Xk5(I,d);let G=j2.map({$metadata:uZ(I),contentType:[,I.headers["x-amzn-bedrock-content-type"]]}),Z=I.body;return G.body=Yk5(Z,d),G};$82.de_InvokeModelWithResponseStreamCommand=Vk5;var Xk5=async(I,d)=>{let G={...I,body:await y82(I.body,d)},Z=P82(I,G.body);switch(Z){case"AccessDeniedException":case"com.amazonaws.bedrockruntime#AccessDeniedException":throw await R82(G,d);case"InternalServerException":case"com.amazonaws.bedrockruntime#InternalServerException":throw await ND1(G,d);case"ModelErrorException":case"com.amazonaws.bedrockruntime#ModelErrorException":throw await U82(G,d);case"ModelNotReadyException":case"com.amazonaws.bedrockruntime#ModelNotReadyException":throw await v82(G,d);case"ModelStreamErrorException":case"com.amazonaws.bedrockruntime#ModelStreamErrorException":throw await E82(G,d);case"ModelTimeoutException":case"com.amazonaws.bedrockruntime#ModelTimeoutException":throw await zD1(G,d);case"ResourceNotFoundException":case"com.amazonaws.bedrockruntime#ResourceNotFoundException":throw await M82(G,d);case"ServiceQuotaExceededException":case"com.amazonaws.bedrockruntime#ServiceQuotaExceededException":throw await S82(G,d);case"ThrottlingException":case"com.amazonaws.bedrockruntime#ThrottlingException":throw await QD1(G,d);case"ValidationException":case"com.amazonaws.bedrockruntime#ValidationException":throw await fD1(G,d);default:let C=G.body;return q82({output:I,parsedBody:C,errorCode:Z})}},q82=j2.withBaseException(Ck5.BedrockRuntimeServiceException),R82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.AccessDeniedException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},ND1=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.InternalServerException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},U82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString,originalStatusCode:j2.expectInt32,resourceName:j2.expectString});Object.assign(G,C);let W=new zB.ModelErrorException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},v82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ModelNotReadyException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},E82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString,originalMessage:j2.expectString,originalStatusCode:j2.expectInt32});Object.assign(G,C);let W=new zB.ModelStreamErrorException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},zD1=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ModelTimeoutException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},M82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ResourceNotFoundException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},S82=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ServiceQuotaExceededException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},QD1=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ThrottlingException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},fD1=async(I,d)=>{let G=j2.map({}),Z=I.body,C=j2.take(Z,{message:j2.expectString});Object.assign(G,C);let W=new zB.ValidationException({$metadata:uZ(I),...G});return j2.decorateServiceException(W,I.body)},Yk5=(I,d)=>{return d.eventStreamMarshaller.deserialize(I,async(G)=>{if(G.chunk!=null)return{chunk:await Fk5(G.chunk,d)};if(G.internalServerException!=null)return{internalServerException:await _k5(G.internalServerException,d)};if(G.modelStreamErrorException!=null)return{modelStreamErrorException:await Dk5(G.modelStreamErrorException,d)};if(G.validationException!=null)return{validationException:await Jk5(G.validationException,d)};if(G.throttlingException!=null)return{throttlingException:await gk5(G.throttlingException,d)};if(G.modelTimeoutException!=null)return{modelTimeoutException:await Hk5(G.modelTimeoutException,d)};return{$unknown:I}})},_k5=async(I,d)=>{let G={...I,body:await MJ(I.body,d)};return ND1(G,d)},Dk5=async(I,d)=>{let G={...I,body:await MJ(I.body,d)};return E82(G,d)},Hk5=async(I,d)=>{let G={...I,body:await MJ(I.body,d)};return zD1(G,d)},Fk5=async(I,d)=>{let G={},Z=await MJ(I.body,d);return Object.assign(G,Kk5(Z,d)),G},gk5=async(I,d)=>{let G={...I,body:await MJ(I.body,d)};return QD1(G,d)},Jk5=async(I,d)=>{let G={...I,body:await MJ(I.body,d)};return fD1(G,d)},Kk5=(I,d)=>{return j2.take(I,{bytes:d.base64Decoder})},uZ=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"],extendedRequestId:I.headers["x-amz-id-2"],cfId:I.headers["x-amz-cf-id"]}),Nk5=(I,d)=>j2.collectBody(I,d).then((G)=>d.utf8Encoder(G)),L82=(I)=>I!==void 0&&I!==null&&I!==""&&(!Object.getOwnPropertyNames(I).includes("length")||I.length!=0)&&(!Object.getOwnPropertyNames(I).includes("size")||I.size!=0),MJ=(I,d)=>Nk5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}}),y82=async(I,d)=>{let G=await MJ(I,d);return G.message=G.message??G.Message,G},P82=(I,d)=>{let G=(W,w)=>Object.keys(W).find((B)=>B.toLowerCase()===w.toLowerCase()),Z=(W)=>{let w=W;if(typeof w==="number")w=w.toString();if(w.indexOf(",")>=0)w=w.split(",")[0];if(w.indexOf(":")>=0)w=w.split(":")[0];if(w.indexOf("#")>=0)w=w.split("#")[1];return w},C=G(I.headers,"x-amzn-errortype");if(C!==void 0)return Z(I.headers[C]);if(d.code!==void 0)return Z(d.code);if(d.__type!==void 0)return Z(d.__type)}});var vD1=Y((UD1)=>{Object.defineProperty(UD1,"__esModule",{value:!0});UD1.InvokeModelCommand=UD1.$Command=void 0;var qk5=c3(),Rk5=n6(),m82=h2();Object.defineProperty(UD1,"$Command",{enumerable:!0,get:function(){return m82.Command}});var Uk5=k3(),T82=kP(),O82=qD1();class RD1 extends m82.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Rk5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(qk5.getEndpointPlugin(d,RD1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"BedrockRuntimeClient",commandName:"InvokeModelCommand",inputFilterSensitiveLog:T82.InvokeModelRequestFilterSensitiveLog,outputFilterSensitiveLog:T82.InvokeModelResponseFilterSensitiveLog,[Uk5.SMITHY_CONTEXT_KEY]:{service:"AmazonBedrockFrontendService",operation:"InvokeModel"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return O82.se_InvokeModelCommand(I,d)}deserialize(I,d){return O82.de_InvokeModelCommand(I,d)}}UD1.InvokeModelCommand=RD1});var SD1=Y((MD1)=>{Object.defineProperty(MD1,"__esModule",{value:!0});MD1.InvokeModelWithResponseStreamCommand=MD1.$Command=void 0;var vk5=c3(),Ek5=n6(),j82=h2();Object.defineProperty(MD1,"$Command",{enumerable:!0,get:function(){return j82.Command}});var Mk5=k3(),b82=kP(),h82=qD1();class ED1 extends j82.Command{static getEndpointParameterInstructions(){return{UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}}}constructor(I){super();this.input=I}resolveMiddleware(I,d,G){this.middlewareStack.use(Ek5.getSerdePlugin(d,this.serialize,this.deserialize)),this.middlewareStack.use(vk5.getEndpointPlugin(d,ED1.getEndpointParameterInstructions()));let Z=I.concat(this.middlewareStack),{logger:C}=d,B={logger:C,clientName:"BedrockRuntimeClient",commandName:"InvokeModelWithResponseStreamCommand",inputFilterSensitiveLog:b82.InvokeModelWithResponseStreamRequestFilterSensitiveLog,outputFilterSensitiveLog:b82.InvokeModelWithResponseStreamResponseFilterSensitiveLog,[Mk5.SMITHY_CONTEXT_KEY]:{service:"AmazonBedrockFrontendService",operation:"InvokeModelWithResponseStream"}},{requestHandler:A}=d;return Z.resolve((V)=>A.handle(V.request,G||{}),B)}serialize(I,d){return h82.se_InvokeModelWithResponseStreamCommand(I,d)}deserialize(I,d){return h82.de_InvokeModelWithResponseStreamCommand(I,d)}}MD1.InvokeModelWithResponseStreamCommand=ED1});var p82=Y((x82)=>{Object.defineProperty(x82,"__esModule",{value:!0});x82.BedrockRuntime=void 0;var Sk5=h2(),Lk5=wD1(),yk5=vD1(),Pk5=SD1(),$k5={InvokeModelCommand:yk5.InvokeModelCommand,InvokeModelWithResponseStreamCommand:Pk5.InvokeModelWithResponseStreamCommand};class LD1 extends Lk5.BedrockRuntimeClient{}x82.BedrockRuntime=LD1;Sk5.createAggregatedClient($k5,LD1)});var n82=Y((vr)=>{Object.defineProperty(vr,"__esModule",{value:!0});var i82=x1();i82.__exportStar(vD1(),vr);i82.__exportStar(SD1(),vr)});var r82=Y((yD1)=>{Object.defineProperty(yD1,"__esModule",{value:!0});var uk5=x1();uk5.__exportStar(kP(),yD1)});var a82=Y((SJ)=>{Object.defineProperty(SJ,"__esModule",{value:!0});SJ.BedrockRuntimeServiceException=void 0;var Er=x1();Er.__exportStar(wD1(),SJ);Er.__exportStar(p82(),SJ);Er.__exportStar(n82(),SJ);Er.__exportStar(r82(),SJ);var Tk5=Ur();Object.defineProperty(SJ,"BedrockRuntimeServiceException",{enumerable:!0,get:function(){return Tk5.BedrockRuntimeServiceException}})});var $D1=Y((FA3,B72)=>{var Pr=Object.prototype.hasOwnProperty,w72=Object.prototype.toString,I72=Object.defineProperty,d72=Object.getOwnPropertyDescriptor,G72=function I(d){if(typeof Array.isArray==="function")return Array.isArray(d);return w72.call(d)==="[object Array]"},Z72=function I(d){if(!d||w72.call(d)!=="[object Object]")return!1;var G=Pr.call(d,"constructor"),Z=d.constructor&&d.constructor.prototype&&Pr.call(d.constructor.prototype,"isPrototypeOf");if(d.constructor&&!G&&!Z)return!1;var C;for(C in d);return typeof C==="undefined"||Pr.call(d,C)},C72=function I(d,G){if(I72&&G.name==="__proto__")I72(d,G.name,{enumerable:!0,configurable:!0,value:G.newValue,writable:!0});else d[G.name]=G.newValue},W72=function I(d,G){if(G==="__proto__"){if(!Pr.call(d,G))return;else if(d72)return d72(d,G).value}return d[G]};B72.exports=function I(){var d,G,Z,C,W,w,B=arguments[0],A=1,V=arguments.length,X=!1;if(typeof B==="boolean")X=B,B=arguments[1]||{},A=2;if(B==null||typeof B!=="object"&&typeof B!=="function")B={};for(;A<V;++A)if(d=arguments[A],d!=null){for(G in d)if(Z=W72(B,G),C=W72(d,G),B!==C){if(X&&C&&(Z72(C)||(W=G72(C)))){if(W)W=!1,w=Z&&G72(Z)?Z:[];else w=Z&&Z72(Z)?Z:{};C72(B,{name:G,newValue:I(X,w,C)})}else if(typeof C!=="undefined")C72(B,{name:G,newValue:C})}}return B}});var V72=Y((gA3,A72)=>{var QB=(I)=>I!==null&&typeof I==="object"&&typeof I.pipe==="function";QB.writable=(I)=>QB(I)&&I.writable!==!1&&typeof I._write==="function"&&typeof I._writableState==="object";QB.readable=(I)=>QB(I)&&I.readable!==!1&&typeof I._read==="function"&&typeof I._readableState==="object";QB.duplex=(I)=>QB.writable(I)&&QB.readable(I);QB.transform=(I)=>QB.duplex(I)&&typeof I._transform==="function";A72.exports=QB});var X72=Y((JA3,tk5)=>{tk5.exports={name:"gaxios",version:"6.7.1",description:"A simple common HTTP client specifically for Google APIs and services.",main:"build/src/index.js",types:"build/src/index.d.ts",files:["build/src"],scripts:{lint:"gts check",test:"c8 mocha build/test","presystem-test":"npm run compile","system-test":"mocha build/system-test --timeout 80000",compile:"tsc -p .",fix:"gts fix",prepare:"npm run compile",pretest:"npm run compile",webpack:"webpack","prebrowser-test":"npm run compile","browser-test":"node build/browser-test/browser-test-runner.js",docs:"compodoc src/","docs-test":"linkinator docs","predocs-test":"npm run docs","samples-test":"cd samples/ && npm link ../ && npm test && cd ../",prelint:"cd samples; npm link ../; npm install",clean:"gts clean",precompile:"gts clean"},repository:"googleapis/gaxios",keywords:["google"],engines:{node:">=14"},author:"Google, LLC",license:"Apache-2.0",devDependencies:{"@babel/plugin-proposal-private-methods":"^7.18.6","@compodoc/compodoc":"1.1.19","@types/cors":"^2.8.6","@types/express":"^4.16.1","@types/extend":"^3.0.1","@types/mocha":"^9.0.0","@types/multiparty":"0.0.36","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^20.0.0","@types/node-fetch":"^2.5.7","@types/sinon":"^17.0.0","@types/tmp":"0.2.6","@types/uuid":"^10.0.0","abort-controller":"^3.0.0",assert:"^2.0.0",browserify:"^17.0.0",c8:"^8.0.0",cheerio:"1.0.0-rc.10",cors:"^2.8.5",execa:"^5.0.0",express:"^4.16.4","form-data":"^4.0.0",gts:"^5.0.0","is-docker":"^2.0.0",karma:"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-remap-coverage":"^0.1.5","karma-sourcemap-loader":"^0.4.0","karma-webpack":"5.0.0",linkinator:"^3.0.0",mocha:"^8.0.0",multiparty:"^4.2.1",mv:"^2.1.1",ncp:"^2.0.0",nock:"^13.0.0","null-loader":"^4.0.0",puppeteer:"^19.0.0",sinon:"^18.0.0","stream-browserify":"^3.0.0",tmp:"0.2.3","ts-loader":"^8.0.0",typescript:"^5.1.6",webpack:"^5.35.0","webpack-cli":"^4.0.0"},dependencies:{extend:"^3.0.2","https-proxy-agent":"^7.0.1","is-stream":"^2.0.0","node-fetch":"^2.6.9",uuid:"^9.0.1"}}});var D72=Y((Y72)=>{Object.defineProperty(Y72,"__esModule",{value:!0});Y72.pkg=void 0;Y72.pkg=X72()});var OD1=Y((TZ)=>{var Ix5=TZ&&TZ.__importDefault||function(I){return I&&I.__esModule?I:{default:I}},H72;Object.defineProperty(TZ,"__esModule",{value:!0});TZ.GaxiosError=TZ.GAXIOS_ERROR_SYMBOL=void 0;TZ.defaultErrorRedactor=g72;var dx5=B1("url"),uD1=D72(),F72=Ix5($D1());TZ.GAXIOS_ERROR_SYMBOL=Symbol.for(`${uD1.pkg.name}-gaxios-error`);class TD1 extends Error{static[(H72=TZ.GAXIOS_ERROR_SYMBOL,Symbol.hasInstance)](I){if(I&&typeof I==="object"&&TZ.GAXIOS_ERROR_SYMBOL in I&&I[TZ.GAXIOS_ERROR_SYMBOL]===uD1.pkg.version)return!0;return Function.prototype[Symbol.hasInstance].call(TD1,I)}constructor(I,d,G,Z){var C;super(I);if(this.config=d,this.response=G,this.error=Z,this[H72]=uD1.pkg.version,this.config=F72.default(!0,{},d),this.response)this.response.config=F72.default(!0,{},this.response.config);if(this.response){try{this.response.data=Gx5(this.config.responseType,(C=this.response)===null||C===void 0?void 0:C.data)}catch(W){}this.status=this.response.status}if(Z&&"code"in Z&&Z.code)this.code=Z.code;if(d.errorRedactor)d.errorRedactor({config:this.config,response:this.response})}}TZ.GaxiosError=TD1;function Gx5(I,d){switch(I){case"stream":return d;case"json":return JSON.parse(JSON.stringify(d));case"arraybuffer":return JSON.parse(Buffer.from(d).toString("utf8"));case"blob":return JSON.parse(d.text());default:return d}}function g72(I){function G(W){if(!W)return;for(let w of Object.keys(W)){if(/^authentication$/i.test(w))W[w]="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if(/^authorization$/i.test(w))W[w]="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if(/secret/i.test(w))W[w]="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>."}}function Z(W,w){if(typeof W==="object"&&W!==null&&typeof W[w]==="string"){let B=W[w];if(/grant_type=/i.test(B)||/assertion=/i.test(B)||/secret/i.test(B))W[w]="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>."}}function C(W){if(typeof W==="object"&&W!==null){if("grant_type"in W)W.grant_type="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if("assertion"in W)W.assertion="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.";if("client_secret"in W)W.client_secret="<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>."}}if(I.config){G(I.config.headers),Z(I.config,"data"),C(I.config.data),Z(I.config,"body"),C(I.config.body);try{let W=new dx5.URL("",I.config.url);if(W.searchParams.has("token"))W.searchParams.set("token","<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.");if(W.searchParams.has("client_secret"))W.searchParams.set("client_secret","<<REDACTED> - See `errorRedactor` option in `gaxios` for configuration>.");I.config.url=W.toString()}catch(W){}}if(I.response)g72({config:I.response.config}),G(I.response.headers),Z(I.response,"data"),C(I.response.data);return I}});var N72=Y((K72)=>{Object.defineProperty(K72,"__esModule",{value:!0});K72.getRetryConfig=Zx5;async function Zx5(I){let d=J72(I);if(!I||!I.config||!d&&!I.config.retry)return{shouldRetry:!1};d=d||{},d.currentRetryAttempt=d.currentRetryAttempt||0,d.retry=d.retry===void 0||d.retry===null?3:d.retry,d.httpMethodsToRetry=d.httpMethodsToRetry||["GET","HEAD","PUT","OPTIONS","DELETE"],d.noResponseRetries=d.noResponseRetries===void 0||d.noResponseRetries===null?2:d.noResponseRetries,d.retryDelayMultiplier=d.retryDelayMultiplier?d.retryDelayMultiplier:2,d.timeOfFirstRequest=d.timeOfFirstRequest?d.timeOfFirstRequest:Date.now(),d.totalTimeout=d.totalTimeout?d.totalTimeout:Number.MAX_SAFE_INTEGER,d.maxRetryDelay=d.maxRetryDelay?d.maxRetryDelay:Number.MAX_SAFE_INTEGER;let G=[[100,199],[408,408],[429,429],[500,599]];if(d.statusCodesToRetry=d.statusCodesToRetry||G,I.config.retryConfig=d,!await(d.shouldRetry||Cx5)(I))return{shouldRetry:!1,config:I.config};let C=Wx5(d);I.config.retryConfig.currentRetryAttempt+=1;let W=d.retryBackoff?d.retryBackoff(I,C):new Promise((w)=>{setTimeout(w,C)});if(d.onRetryAttempt)d.onRetryAttempt(I);return await W,{shouldRetry:!0,config:I.config}}function Cx5(I){var d;let G=J72(I);if(I.name==="AbortError"||((d=I.error)===null||d===void 0?void 0:d.name)==="AbortError")return!1;if(!G||G.retry===0)return!1;if(!I.response&&(G.currentRetryAttempt||0)>=G.noResponseRetries)return!1;if(!I.config.method||G.httpMethodsToRetry.indexOf(I.config.method.toUpperCase())<0)return!1;if(I.response&&I.response.status){let Z=!1;for(let[C,W]of G.statusCodesToRetry){let w=I.response.status;if(w>=C&&w<=W){Z=!0;break}}if(!Z)return!1}if(G.currentRetryAttempt=G.currentRetryAttempt||0,G.currentRetryAttempt>=G.retry)return!1;return!0}function J72(I){if(I&&I.config&&I.config.retryConfig)return I.config.retryConfig;return}function Wx5(I){var d;let Z=(I.currentRetryAttempt?0:(d=I.retryDelay)!==null&&d!==void 0?d:100)+(Math.pow(I.retryDelayMultiplier,I.currentRetryAttempt)-1)/2*1000,C=I.totalTimeout-(Date.now()-I.timeOfFirstRequest);return Math.min(Z,C,I.maxRetryDelay)}});var mD1=Y((z72)=>{Object.defineProperty(z72,"__esModule",{value:!0});z72.default=Vx5;var Bx5=Ax5(B1("crypto"));function Ax5(I){return I&&I.__esModule?I:{default:I}}var ur=new Uint8Array(256),$r=ur.length;function Vx5(){if($r>ur.length-16)Bx5.default.randomFillSync(ur),$r=0;return ur.slice($r,$r+=16)}});var q72=Y((Q72)=>{Object.defineProperty(Q72,"__esModule",{value:!0});Q72.default=void 0;var Yx5=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;Q72.default=Yx5});var cP=Y((R72)=>{Object.defineProperty(R72,"__esModule",{value:!0});R72.default=void 0;var _x5=Dx5(q72());function Dx5(I){return I&&I.__esModule?I:{default:I}}function Hx5(I){return typeof I==="string"&&_x5.default.test(I)}var Fx5=Hx5;R72.default=Fx5});var pP=Y((E72)=>{Object.defineProperty(E72,"__esModule",{value:!0});E72.default=void 0;E72.unsafeStringify=v72;var gx5=Jx5(cP());function Jx5(I){return I&&I.__esModule?I:{default:I}}var Z7=[];for(let I=0;I<256;++I)Z7.push((I+256).toString(16).slice(1));function v72(I,d=0){return Z7[I[d+0]]+Z7[I[d+1]]+Z7[I[d+2]]+Z7[I[d+3]]+"-"+Z7[I[d+4]]+Z7[I[d+5]]+"-"+Z7[I[d+6]]+Z7[I[d+7]]+"-"+Z7[I[d+8]]+Z7[I[d+9]]+"-"+Z7[I[d+10]]+Z7[I[d+11]]+Z7[I[d+12]]+Z7[I[d+13]]+Z7[I[d+14]]+Z7[I[d+15]]}function Kx5(I,d=0){let G=v72(I,d);if(!gx5.default(G))throw TypeError("Stringified UUID is invalid");return G}var Nx5=Kx5;E72.default=Nx5});var P72=Y((L72)=>{Object.defineProperty(L72,"__esModule",{value:!0});L72.default=void 0;var Qx5=qx5(mD1()),fx5=pP();function qx5(I){return I&&I.__esModule?I:{default:I}}var S72,lD1,bD1=0,hD1=0;function Rx5(I,d,G){let Z=d&&G||0,C=d||new Array(16);I=I||{};let W=I.node||S72,w=I.clockseq!==void 0?I.clockseq:lD1;if(W==null||w==null){let F=I.random||(I.rng||Qx5.default)();if(W==null)W=S72=[F[0]|1,F[1],F[2],F[3],F[4],F[5]];if(w==null)w=lD1=(F[6]<<8|F[7])&16383}let B=I.msecs!==void 0?I.msecs:Date.now(),A=I.nsecs!==void 0?I.nsecs:hD1+1,V=B-bD1+(A-hD1)/1e4;if(V<0&&I.clockseq===void 0)w=w+1&16383;if((V<0||B>bD1)&&I.nsecs===void 0)A=0;if(A>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");bD1=B,hD1=A,lD1=w,B+=12219292800000;let X=((B&268435455)*1e4+A)%4294967296;C[Z++]=X>>>24&255,C[Z++]=X>>>16&255,C[Z++]=X>>>8&255,C[Z++]=X&255;let _=B/4294967296*1e4&268435455;C[Z++]=_>>>8&255,C[Z++]=_&255,C[Z++]=_>>>24&15|16,C[Z++]=_>>>16&255,C[Z++]=w>>>8|128,C[Z++]=w&255;for(let F=0;F<6;++F)C[Z+F]=W[F];return d||fx5.unsafeStringify(C)}var Ux5=Rx5;L72.default=Ux5});var jD1=Y(($72)=>{Object.defineProperty($72,"__esModule",{value:!0});$72.default=void 0;var vx5=Ex5(cP());function Ex5(I){return I&&I.__esModule?I:{default:I}}function Mx5(I){if(!vx5.default(I))throw TypeError("Invalid UUID");let d,G=new Uint8Array(16);return G[0]=(d=parseInt(I.slice(0,8),16))>>>24,G[1]=d>>>16&255,G[2]=d>>>8&255,G[3]=d&255,G[4]=(d=parseInt(I.slice(9,13),16))>>>8,G[5]=d&255,G[6]=(d=parseInt(I.slice(14,18),16))>>>8,G[7]=d&255,G[8]=(d=parseInt(I.slice(19,23),16))>>>8,G[9]=d&255,G[10]=(d=parseInt(I.slice(24,36),16))/1099511627776&255,G[11]=d/4294967296&255,G[12]=d>>>24&255,G[13]=d>>>16&255,G[14]=d>>>8&255,G[15]=d&255,G}var Sx5=Mx5;$72.default=Sx5});var kD1=Y((m72)=>{Object.defineProperty(m72,"__esModule",{value:!0});m72.URL=m72.DNS=void 0;m72.default=ux5;var Lx5=pP(),yx5=Px5(jD1());function Px5(I){return I&&I.__esModule?I:{default:I}}function $x5(I){I=unescape(encodeURIComponent(I));let d=[];for(let G=0;G<I.length;++G)d.push(I.charCodeAt(G));return d}var T72="6ba7b810-9dad-11d1-80b4-00c04fd430c8";m72.DNS=T72;var O72="6ba7b811-9dad-11d1-80b4-00c04fd430c8";m72.URL=O72;function ux5(I,d,G){function Z(C,W,w,B){var A;if(typeof C==="string")C=$x5(C);if(typeof W==="string")W=yx5.default(W);if(((A=W)===null||A===void 0?void 0:A.length)!==16)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let V=new Uint8Array(16+C.length);if(V.set(W),V.set(C,W.length),V=G(V),V[6]=V[6]&15|d,V[8]=V[8]&63|128,w){B=B||0;for(let X=0;X<16;++X)w[B+X]=V[X];return w}return Lx5.unsafeStringify(V)}try{Z.name=I}catch(C){}return Z.DNS=T72,Z.URL=O72,Z}});var j72=Y((b72)=>{Object.defineProperty(b72,"__esModule",{value:!0});b72.default=void 0;var mx5=lx5(B1("crypto"));function lx5(I){return I&&I.__esModule?I:{default:I}}function bx5(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return mx5.default.createHash("md5").update(I).digest()}var hx5=bx5;b72.default=hx5});var p72=Y((x72)=>{Object.defineProperty(x72,"__esModule",{value:!0});x72.default=void 0;var jx5=k72(kD1()),kx5=k72(j72());function k72(I){return I&&I.__esModule?I:{default:I}}var xx5=jx5.default("v3",48,kx5.default),cx5=xx5;x72.default=cx5});var r72=Y((i72)=>{Object.defineProperty(i72,"__esModule",{value:!0});i72.default=void 0;var px5=ix5(B1("crypto"));function ix5(I){return I&&I.__esModule?I:{default:I}}var nx5={randomUUID:px5.default.randomUUID};i72.default=nx5});var t72=Y((o72)=>{Object.defineProperty(o72,"__esModule",{value:!0});o72.default=void 0;var a72=s72(r72()),rx5=s72(mD1()),ax5=pP();function s72(I){return I&&I.__esModule?I:{default:I}}function sx5(I,d,G){if(a72.default.randomUUID&&!d&&!I)return a72.default.randomUUID();I=I||{};let Z=I.random||(I.rng||rx5.default)();if(Z[6]=Z[6]&15|64,Z[8]=Z[8]&63|128,d){G=G||0;for(let C=0;C<16;++C)d[G+C]=Z[C];return d}return ax5.unsafeStringify(Z)}var ox5=sx5;o72.default=ox5});var GI2=Y((II2)=>{Object.defineProperty(II2,"__esModule",{value:!0});II2.default=void 0;var ex5=tx5(B1("crypto"));function tx5(I){return I&&I.__esModule?I:{default:I}}function Ic5(I){if(Array.isArray(I))I=Buffer.from(I);else if(typeof I==="string")I=Buffer.from(I,"utf8");return ex5.default.createHash("sha1").update(I).digest()}var dc5=Ic5;II2.default=dc5});var wI2=Y((CI2)=>{Object.defineProperty(CI2,"__esModule",{value:!0});CI2.default=void 0;var Gc5=ZI2(kD1()),Zc5=ZI2(GI2());function ZI2(I){return I&&I.__esModule?I:{default:I}}var Cc5=Gc5.default("v5",80,Zc5.default),Wc5=Cc5;CI2.default=Wc5});var VI2=Y((BI2)=>{Object.defineProperty(BI2,"__esModule",{value:!0});BI2.default=void 0;var wc5="00000000-0000-0000-0000-000000000000";BI2.default=wc5});var _I2=Y((XI2)=>{Object.defineProperty(XI2,"__esModule",{value:!0});XI2.default=void 0;var Bc5=Ac5(cP());function Ac5(I){return I&&I.__esModule?I:{default:I}}function Vc5(I){if(!Bc5.default(I))throw TypeError("Invalid UUID");return parseInt(I.slice(14,15),16)}var Xc5=Vc5;XI2.default=Xc5});var DI2=Y((IW)=>{Object.defineProperty(IW,"__esModule",{value:!0});Object.defineProperty(IW,"NIL",{enumerable:!0,get:function(){return Fc5.default}});Object.defineProperty(IW,"parse",{enumerable:!0,get:function(){return Nc5.default}});Object.defineProperty(IW,"stringify",{enumerable:!0,get:function(){return Kc5.default}});Object.defineProperty(IW,"v1",{enumerable:!0,get:function(){return Yc5.default}});Object.defineProperty(IW,"v3",{enumerable:!0,get:function(){return _c5.default}});Object.defineProperty(IW,"v4",{enumerable:!0,get:function(){return Dc5.default}});Object.defineProperty(IW,"v5",{enumerable:!0,get:function(){return Hc5.default}});Object.defineProperty(IW,"validate",{enumerable:!0,get:function(){return Jc5.default}});Object.defineProperty(IW,"version",{enumerable:!0,get:function(){return gc5.default}});var Yc5=nV(P72()),_c5=nV(p72()),Dc5=nV(t72()),Hc5=nV(wI2()),Fc5=nV(VI2()),gc5=nV(_I2()),Jc5=nV(cP()),Kc5=nV(pP()),Nc5=nV(jD1());function nV(I){return I&&I.__esModule?I:{default:I}}});var xD1=Y((FI2)=>{Object.defineProperty(FI2,"__esModule",{value:!0});FI2.GaxiosInterceptorManager=void 0;class HI2 extends Set{}FI2.GaxiosInterceptorManager=HI2});var NI2=Y((Yd)=>{var zc5=Yd&&Yd.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),Qc5=Yd&&Yd.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),JI2=Yd&&Yd.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))zc5(d,I,G)}return Qc5(d,I),d};Object.defineProperty(Yd,"__esModule",{value:!0});Yd.req=Yd.json=Yd.toBuffer=void 0;var fc5=JI2(B1("http")),qc5=JI2(B1("https"));async function KI2(I){let d=0,G=[];for await(let Z of I)d+=Z.length,G.push(Z);return Buffer.concat(G,d)}Yd.toBuffer=KI2;async function Rc5(I){let G=(await KI2(I)).toString("utf8");try{return JSON.parse(G)}catch(Z){let C=Z;throw C.message+=` (input: ${G})`,C}}Yd.json=Rc5;function Uc5(I,d={}){let Z=((typeof I==="string"?I:I.href).startsWith("https:")?qc5:fc5).request(I,d),C=new Promise((W,w)=>{Z.once("response",W).once("error",w).end()});return Z.then=C.then.bind(C),Z}Yd.req=Uc5});var RI2=Y((wG)=>{var QI2=wG&&wG.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),vc5=wG&&wG.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),fI2=wG&&wG.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))QI2(d,I,G)}return vc5(d,I),d},Ec5=wG&&wG.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))QI2(d,I,G)};Object.defineProperty(wG,"__esModule",{value:!0});wG.Agent=void 0;var Mc5=fI2(B1("net")),zI2=fI2(B1("http")),Sc5=B1("https");Ec5(NI2(),wG);var fB=Symbol("AgentBaseInternalState");class qI2 extends zI2.Agent{constructor(I){super(I);this[fB]={}}isSecureEndpoint(I){if(I){if(typeof I.secureEndpoint==="boolean")return I.secureEndpoint;if(typeof I.protocol==="string")return I.protocol==="https:"}let{stack:d}=new Error;if(typeof d!=="string")return!1;return d.split(`
`).some((G)=>G.indexOf("(https.js:")!==-1||G.indexOf("node:https:")!==-1)}incrementSockets(I){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;if(!this.sockets[I])this.sockets[I]=[];let d=new Mc5.Socket({writable:!1});return this.sockets[I].push(d),this.totalSocketCount++,d}decrementSockets(I,d){if(!this.sockets[I]||d===null)return;let G=this.sockets[I],Z=G.indexOf(d);if(Z!==-1){if(G.splice(Z,1),this.totalSocketCount--,G.length===0)delete this.sockets[I]}}getName(I){if(typeof I.secureEndpoint==="boolean"?I.secureEndpoint:this.isSecureEndpoint(I))return Sc5.Agent.prototype.getName.call(this,I);return super.getName(I)}createSocket(I,d,G){let Z={...d,secureEndpoint:this.isSecureEndpoint(d)},C=this.getName(Z),W=this.incrementSockets(C);Promise.resolve().then(()=>this.connect(I,Z)).then((w)=>{if(this.decrementSockets(C,W),w instanceof zI2.Agent)try{return w.addRequest(I,Z)}catch(B){return G(B)}this[fB].currentSocket=w,super.createSocket(I,d,G)},(w)=>{this.decrementSockets(C,W),G(w)})}createConnection(){let I=this[fB].currentSocket;if(this[fB].currentSocket=void 0,!I)throw new Error("No socket was returned in the `connect()` function");return I}get defaultPort(){return this[fB].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(I){if(this[fB])this[fB].defaultPort=I}get protocol(){return this[fB].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(I){if(this[fB])this[fB].protocol=I}}wG.Agent=qI2});var UI2=Y((mq)=>{var Lc5=mq&&mq.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(mq,"__esModule",{value:!0});mq.parseProxyResponse=void 0;var yc5=Lc5(qS()),Tr=yc5.default("https-proxy-agent:parse-proxy-response");function Pc5(I){return new Promise((d,G)=>{let Z=0,C=[];function W(){let X=I.read();if(X)V(X);else I.once("readable",W)}function w(){I.removeListener("end",B),I.removeListener("error",A),I.removeListener("readable",W)}function B(){w(),Tr("onend"),G(new Error("Proxy connection ended before receiving CONNECT response"))}function A(X){w(),Tr("onerror %o",X),G(X)}function V(X){C.push(X),Z+=X.length;let _=Buffer.concat(C,Z),F=_.indexOf(`\r
\r
`);if(F===-1){Tr("have not received end of HTTP headers yet..."),W();return}let g=_.slice(0,F).toString("ascii").split(`\r
`),J=g.shift();if(!J)return I.destroy(),G(new Error("No header received from proxy CONNECT response"));let K=J.split(" "),Q=+K[1],E=K.slice(2).join(" "),S={};for(let P of g){if(!P)continue;let $=P.indexOf(":");if($===-1)return I.destroy(),G(new Error(`Invalid header from proxy CONNECT response: "${P}"`));let h=P.slice(0,$).toLowerCase(),O=P.slice($+1).trimStart(),T=S[h];if(typeof T==="string")S[h]=[T,O];else if(Array.isArray(T))T.push(O);else S[h]=O}Tr("got proxy server response: %o %o",J,S),w(),d({connect:{statusCode:Q,statusText:E,headers:S},buffered:_})}I.on("error",A),I.on("end",B),W()})}mq.parseProxyResponse=Pc5});var yI2=Y((OZ)=>{var $c5=OZ&&OZ.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),uc5=OZ&&OZ.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),SI2=OZ&&OZ.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))$c5(d,I,G)}return uc5(d,I),d},LI2=OZ&&OZ.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(OZ,"__esModule",{value:!0});OZ.HttpsProxyAgent=void 0;var Or=SI2(B1("net")),vI2=SI2(B1("tls")),Tc5=LI2(B1("assert")),Oc5=LI2(qS()),mc5=RI2(),lc5=B1("url"),bc5=UI2(),iP=Oc5.default("https-proxy-agent"),EI2=(I)=>{if(I.servername===void 0&&I.host&&!Or.isIP(I.host))return{...I,servername:I.host};return I};class cD1 extends mc5.Agent{constructor(I,d){super(d);this.options={path:void 0},this.proxy=typeof I==="string"?new lc5.URL(I):I,this.proxyHeaders=d?.headers??{},iP("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let G=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),Z=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...d?MI2(d,"headers"):null,host:G,port:Z}}async connect(I,d){let{proxy:G}=this;if(!d.host)throw new TypeError('No "host" provided');let Z;if(G.protocol==="https:")iP("Creating `tls.Socket`: %o",this.connectOpts),Z=vI2.connect(EI2(this.connectOpts));else iP("Creating `net.Socket`: %o",this.connectOpts),Z=Or.connect(this.connectOpts);let C=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders},W=Or.isIPv6(d.host)?`[${d.host}]`:d.host,w=`CONNECT ${W}:${d.port} HTTP/1.1\r
`;if(G.username||G.password){let _=`${decodeURIComponent(G.username)}:${decodeURIComponent(G.password)}`;C["Proxy-Authorization"]=`Basic ${Buffer.from(_).toString("base64")}`}if(C.Host=`${W}:${d.port}`,!C["Proxy-Connection"])C["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close";for(let _ of Object.keys(C))w+=`${_}: ${C[_]}\r
`;let B=bc5.parseProxyResponse(Z);Z.write(`${w}\r
`);let{connect:A,buffered:V}=await B;if(I.emit("proxyConnect",A),this.emit("proxyConnect",A,I),A.statusCode===200){if(I.once("socket",hc5),d.secureEndpoint)return iP("Upgrading socket connection to TLS"),vI2.connect({...MI2(EI2(d),"host","path","port"),socket:Z});return Z}Z.destroy();let X=new Or.Socket({writable:!1});return X.readable=!0,I.once("socket",(_)=>{iP("Replaying proxy buffer for failed request"),Tc5.default(_.listenerCount("data")>0),_.push(V),_.push(null)}),X}}cD1.protocols=["http","https"];OZ.HttpsProxyAgent=cD1;function hc5(I){I.resume()}function MI2(I,...d){let G={},Z;for(Z in I)if(!d.includes(Z))G[Z]=I[Z];return G}});var kI2=Y((b7)=>{var jc5=b7&&b7.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),kc5=b7&&b7.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),xc5=b7&&b7.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))jc5(d,I,G)}return kc5(d,I),d},yJ=b7&&b7.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},cc5=b7&&b7.__classPrivateFieldSet||function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},br=b7&&b7.__importDefault||function(I){return I&&I.__esModule?I:{default:I}},lq,LJ,PI2,lI2,bI2,hI2,mr,$I2;Object.defineProperty(b7,"__esModule",{value:!0});b7.Gaxios=void 0;var pc5=br($D1()),ic5=B1("https"),nc5=br(f41()),rc5=br(B1("querystring")),ac5=br(V72()),uI2=B1("url"),lr=OD1(),sc5=N72(),TI2=B1("stream"),oc5=DI2(),OI2=xD1(),ec5=Ip5()?window.fetch:nc5.default;function tc5(){return typeof window!=="undefined"&&!!window}function Ip5(){return tc5()&&!!window.fetch}function dp5(){return typeof Buffer!=="undefined"}function mI2(I,d){return!!jI2(I,d)}function jI2(I,d){d=d.toLowerCase();for(let G of Object.keys((I===null||I===void 0?void 0:I.headers)||{}))if(d===G.toLowerCase())return I.headers[G];return}class pD1{constructor(I){lq.add(this),this.agentCache=new Map,this.defaults=I||{},this.interceptors={request:new OI2.GaxiosInterceptorManager,response:new OI2.GaxiosInterceptorManager}}async request(I={}){return I=await yJ(this,lq,"m",hI2).call(this,I),I=await yJ(this,lq,"m",lI2).call(this,I),yJ(this,lq,"m",bI2).call(this,this._request(I))}async _defaultAdapter(I){let G=await(I.fetchImplementation||ec5)(I.url,I),Z=await this.getResponseData(I,G);return this.translateResponse(I,G,Z)}async _request(I={}){var d;try{let G;if(I.adapter)G=await I.adapter(I,this._defaultAdapter.bind(this));else G=await this._defaultAdapter(I);if(!I.validateStatus(G.status)){if(I.responseType==="stream"){let Z="";await new Promise((C)=>{(G===null||G===void 0?void 0:G.data).on("data",(W)=>{Z+=W}),(G===null||G===void 0?void 0:G.data).on("end",C)}),G.data=Z}throw new lr.GaxiosError(`Request failed with status code ${G.status}`,I,G)}return G}catch(G){let Z=G instanceof lr.GaxiosError?G:new lr.GaxiosError(G.message,I,void 0,G),{shouldRetry:C,config:W}=await sc5.getRetryConfig(Z);if(C&&W)return Z.config.retryConfig.currentRetryAttempt=W.retryConfig.currentRetryAttempt,I.retryConfig=(d=Z.config)===null||d===void 0?void 0:d.retryConfig,this._request(I);throw Z}}async getResponseData(I,d){switch(I.responseType){case"stream":return d.body;case"json":{let G=await d.text();try{G=JSON.parse(G)}catch(Z){}return G}case"arraybuffer":return d.arrayBuffer();case"blob":return d.blob();case"text":return d.text();default:return this.getResponseDataFromContentType(d)}}validateStatus(I){return I>=200&&I<300}paramsSerializer(I){return rc5.default.stringify(I)}translateResponse(I,d,G){let Z={};return d.headers.forEach((C,W)=>{Z[W]=C}),{config:I,data:G,headers:Z,status:d.status,statusText:d.statusText,request:{responseURL:d.url}}}async getResponseDataFromContentType(I){let d=I.headers.get("Content-Type");if(d===null)return I.text();if(d=d.toLowerCase(),d.includes("application/json")){let G=await I.text();try{G=JSON.parse(G)}catch(Z){}return G}else if(d.match(/^text\//))return I.text();else return I.blob()}async*getMultipartRequest(I,d){let G=`--${d}--`;for(let Z of I){let C=Z.headers["Content-Type"]||"application/octet-stream";if(yield`--${d}\r
Content-Type: ${C}\r
\r
`,typeof Z.content==="string")yield Z.content;else yield*Z.content;yield`\r
`}yield G}}b7.Gaxios=pD1;LJ=pD1,lq=new WeakSet,PI2=function I(d,G=[]){var Z,C;let W=new uI2.URL(d),w=[...G],B=((C=(Z=process.env.NO_PROXY)!==null&&Z!==void 0?Z:process.env.no_proxy)===null||C===void 0?void 0:C.split(","))||[];for(let A of B)w.push(A.trim());for(let A of w)if(A instanceof RegExp){if(A.test(W.toString()))return!1}else if(A instanceof uI2.URL){if(A.origin===W.origin)return!1}else if(A.startsWith("*.")||A.startsWith(".")){let V=A.replace(/^\*\./,".");if(W.hostname.endsWith(V))return!1}else if(A===W.origin||A===W.hostname||A===W.href)return!1;return!0},lI2=async function I(d){let G=Promise.resolve(d);for(let Z of this.interceptors.request.values())if(Z)G=G.then(Z.resolved,Z.rejected);return G},bI2=async function I(d){let G=Promise.resolve(d);for(let Z of this.interceptors.response.values())if(Z)G=G.then(Z.resolved,Z.rejected);return G},hI2=async function I(d){var G,Z,C,W;let w=pc5.default(!0,{},this.defaults,d);if(!w.url)throw new Error("URL is required.");let B=w.baseUrl||w.baseURL;if(B)w.url=B.toString()+w.url;if(w.paramsSerializer=w.paramsSerializer||this.paramsSerializer,w.params&&Object.keys(w.params).length>0){let X=w.paramsSerializer(w.params);if(X.startsWith("?"))X=X.slice(1);let _=w.url.toString().includes("?")?"&":"?";w.url=w.url+_+X}if(typeof d.maxContentLength==="number")w.size=d.maxContentLength;if(typeof d.maxRedirects==="number")w.follow=d.maxRedirects;if(w.headers=w.headers||{},w.multipart===void 0&&w.data){let X=typeof FormData==="undefined"?!1:(w===null||w===void 0?void 0:w.data)instanceof FormData;if(ac5.default.readable(w.data))w.body=w.data;else if(dp5()&&Buffer.isBuffer(w.data)){if(w.body=w.data,!mI2(w,"Content-Type"))w.headers["Content-Type"]="application/json"}else if(typeof w.data==="object"){if(!X)if(jI2(w,"content-type")==="application/x-www-form-urlencoded")w.body=w.paramsSerializer(w.data);else{if(!mI2(w,"Content-Type"))w.headers["Content-Type"]="application/json";w.body=JSON.stringify(w.data)}}else w.body=w.data}else if(w.multipart&&w.multipart.length>0){let X=oc5.v4();w.headers["Content-Type"]=`multipart/related; boundary=${X}`;let _=new TI2.PassThrough;w.body=_,TI2.pipeline(this.getMultipartRequest(w.multipart,X),_,()=>{})}if(w.validateStatus=w.validateStatus||this.validateStatus,w.responseType=w.responseType||"unknown",!w.headers.Accept&&w.responseType==="json")w.headers.Accept="application/json";w.method=w.method||"GET";let A=w.proxy||((G=process===null||process===void 0?void 0:process.env)===null||G===void 0?void 0:G.HTTPS_PROXY)||((Z=process===null||process===void 0?void 0:process.env)===null||Z===void 0?void 0:Z.https_proxy)||((C=process===null||process===void 0?void 0:process.env)===null||C===void 0?void 0:C.HTTP_PROXY)||((W=process===null||process===void 0?void 0:process.env)===null||W===void 0?void 0:W.http_proxy),V=yJ(this,lq,"m",PI2).call(this,w.url,w.noProxy);if(w.agent);else if(A&&V){let X=await yJ(LJ,LJ,"m",$I2).call(LJ);if(this.agentCache.has(A))w.agent=this.agentCache.get(A);else w.agent=new X(A,{cert:w.cert,key:w.key}),this.agentCache.set(A,w.agent)}else if(w.cert&&w.key)if(this.agentCache.has(w.key))w.agent=this.agentCache.get(w.key);else w.agent=new ic5.Agent({cert:w.cert,key:w.key}),this.agentCache.set(w.key,w.agent);if(typeof w.errorRedactor!=="function"&&w.errorRedactor!==!1)w.errorRedactor=lr.defaultErrorRedactor;return w},$I2=async function I(){return cc5(this,LJ,yJ(this,LJ,"f",mr)||(await Promise.resolve().then(()=>xc5(yI2()))).HttpsProxyAgent,"f",mr),yJ(this,LJ,"f",mr)};mr={value:void 0}});var dW=Y((YI)=>{var Gp5=YI&&YI.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),Zp5=YI&&YI.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))Gp5(d,I,G)};Object.defineProperty(YI,"__esModule",{value:!0});YI.instance=YI.Gaxios=YI.GaxiosError=void 0;YI.request=Wp5;var xI2=kI2();Object.defineProperty(YI,"Gaxios",{enumerable:!0,get:function(){return xI2.Gaxios}});var Cp5=OD1();Object.defineProperty(YI,"GaxiosError",{enumerable:!0,get:function(){return Cp5.GaxiosError}});Zp5(xD1(),YI);YI.instance=new xI2.Gaxios;async function Wp5(I){return YI.instance.request(I)}});var iD1=Y((cI2,hr)=>{(function(I){var d,G=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Z=Math.ceil,C=Math.floor,W="[BigNumber Error] ",w=W+"Number primitive has more than 15 significant digits: ",B=100000000000000,A=14,V=9007199254740991,X=[1,10,100,1000,1e4,1e5,1e6,1e7,1e8,1e9,10000000000,100000000000,1000000000000,10000000000000],_=1e7,F=1e9;function g(h){var O,T,V1,c=e.prototype={constructor:e,toString:null,valueOf:null},c1=new e(1),o1=20,a1=4,f1=-7,r=21,A1=-1e7,m1=1e7,T1=!1,e1=1,F0=0,P0={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},B0="0123456789abcdefghijklmnopqrstuvwxyz",a0=!0;function e(k,a){var Z1,Q1,N1,F1,O1,K1,R1,h1,j=this;if(!(j instanceof e))return new e(k,a);if(a==null){if(k&&k._isBigNumber===!0){if(j.s=k.s,!k.c||k.e>m1)j.c=j.e=null;else if(k.e<A1)j.c=[j.e=0];else j.e=k.e,j.c=k.c.slice();return}if((K1=typeof k=="number")&&k*0==0){if(j.s=1/k<0?(k=-k,-1):1,k===~~k){for(F1=0,O1=k;O1>=10;O1/=10,F1++);if(F1>m1)j.c=j.e=null;else j.e=F1,j.c=[k];return}h1=String(k)}else{if(!G.test(h1=String(k)))return V1(j,h1,K1);j.s=h1.charCodeAt(0)==45?(h1=h1.slice(1),-1):1}if((F1=h1.indexOf("."))>-1)h1=h1.replace(".","");if((O1=h1.search(/e/i))>0){if(F1<0)F1=O1;F1+=+h1.slice(O1+1),h1=h1.substring(0,O1)}else if(F1<0)F1=h1.length}else{if(E(a,2,B0.length,"Base"),a==10&&a0)return j=new e(k),i1(j,o1+j.e+1,a1);if(h1=String(k),K1=typeof k=="number"){if(k*0!=0)return V1(j,h1,K1,a);if(j.s=1/k<0?(h1=h1.slice(1),-1):1,e.DEBUG&&h1.replace(/^0\.0*|\./,"").length>15)throw Error(w+k)}else j.s=h1.charCodeAt(0)===45?(h1=h1.slice(1),-1):1;Z1=B0.slice(0,a),F1=O1=0;for(R1=h1.length;O1<R1;O1++)if(Z1.indexOf(Q1=h1.charAt(O1))<0){if(Q1=="."){if(O1>F1){F1=R1;continue}}else if(!N1){if(h1==h1.toUpperCase()&&(h1=h1.toLowerCase())||h1==h1.toLowerCase()&&(h1=h1.toUpperCase())){N1=!0,O1=-1,F1=0;continue}}return V1(j,String(k),K1,a)}if(K1=!1,h1=T(h1,a,10,j.s),(F1=h1.indexOf("."))>-1)h1=h1.replace(".","");else F1=h1.length}for(O1=0;h1.charCodeAt(O1)===48;O1++);for(R1=h1.length;h1.charCodeAt(--R1)===48;);if(h1=h1.slice(O1,++R1)){if(R1-=O1,K1&&e.DEBUG&&R1>15&&(k>V||k!==C(k)))throw Error(w+j.s*k);if((F1=F1-O1-1)>m1)j.c=j.e=null;else if(F1<A1)j.c=[j.e=0];else{if(j.e=F1,j.c=[],O1=(F1+1)%A,F1<0)O1+=A;if(O1<R1){if(O1)j.c.push(+h1.slice(0,O1));for(R1-=A;O1<R1;)j.c.push(+h1.slice(O1,O1+=A));O1=A-(h1=h1.slice(O1)).length}else O1-=R1;for(;O1--;h1+="0");j.c.push(+h1)}}else j.c=[j.e=0]}e.clone=g,e.ROUND_UP=0,e.ROUND_DOWN=1,e.ROUND_CEIL=2,e.ROUND_FLOOR=3,e.ROUND_HALF_UP=4,e.ROUND_HALF_DOWN=5,e.ROUND_HALF_EVEN=6,e.ROUND_HALF_CEIL=7,e.ROUND_HALF_FLOOR=8,e.EUCLID=9,e.config=e.set=function(k){var a,Z1;if(k!=null)if(typeof k=="object"){if(k.hasOwnProperty(a="DECIMAL_PLACES"))Z1=k[a],E(Z1,0,F,a),o1=Z1;if(k.hasOwnProperty(a="ROUNDING_MODE"))Z1=k[a],E(Z1,0,8,a),a1=Z1;if(k.hasOwnProperty(a="EXPONENTIAL_AT"))if(Z1=k[a],Z1&&Z1.pop)E(Z1[0],-F,0,a),E(Z1[1],0,F,a),f1=Z1[0],r=Z1[1];else E(Z1,-F,F,a),f1=-(r=Z1<0?-Z1:Z1);if(k.hasOwnProperty(a="RANGE"))if(Z1=k[a],Z1&&Z1.pop)E(Z1[0],-F,-1,a),E(Z1[1],1,F,a),A1=Z1[0],m1=Z1[1];else if(E(Z1,-F,F,a),Z1)A1=-(m1=Z1<0?-Z1:Z1);else throw Error(W+a+" cannot be zero: "+Z1);if(k.hasOwnProperty(a="CRYPTO"))if(Z1=k[a],Z1===!!Z1)if(Z1)if(typeof crypto!="undefined"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))T1=Z1;else throw T1=!Z1,Error(W+"crypto unavailable");else T1=Z1;else throw Error(W+a+" not true or false: "+Z1);if(k.hasOwnProperty(a="MODULO_MODE"))Z1=k[a],E(Z1,0,9,a),e1=Z1;if(k.hasOwnProperty(a="POW_PRECISION"))Z1=k[a],E(Z1,0,F,a),F0=Z1;if(k.hasOwnProperty(a="FORMAT"))if(Z1=k[a],typeof Z1=="object")P0=Z1;else throw Error(W+a+" not an object: "+Z1);if(k.hasOwnProperty(a="ALPHABET"))if(Z1=k[a],typeof Z1=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(Z1))a0=Z1.slice(0,10)=="0123456789",B0=Z1;else throw Error(W+a+" invalid: "+Z1)}else throw Error(W+"Object expected: "+k);return{DECIMAL_PLACES:o1,ROUNDING_MODE:a1,EXPONENTIAL_AT:[f1,r],RANGE:[A1,m1],CRYPTO:T1,MODULO_MODE:e1,POW_PRECISION:F0,FORMAT:P0,ALPHABET:B0}},e.isBigNumber=function(k){if(!k||k._isBigNumber!==!0)return!1;if(!e.DEBUG)return!0;var a,Z1,Q1=k.c,N1=k.e,F1=k.s;I:if({}.toString.call(Q1)=="[object Array]"){if((F1===1||F1===-1)&&N1>=-F&&N1<=F&&N1===C(N1)){if(Q1[0]===0){if(N1===0&&Q1.length===1)return!0;break I}if(a=(N1+1)%A,a<1)a+=A;if(String(Q1[0]).length==a){for(a=0;a<Q1.length;a++)if(Z1=Q1[a],Z1<0||Z1>=B||Z1!==C(Z1))break I;if(Z1!==0)return!0}}}else if(Q1===null&&N1===null&&(F1===null||F1===1||F1===-1))return!0;throw Error(W+"Invalid BigNumber: "+k)},e.maximum=e.max=function(){return H1(arguments,-1)},e.minimum=e.min=function(){return H1(arguments,1)},e.random=function(){var k=9007199254740992,a=Math.random()*k&2097151?function(){return C(Math.random()*k)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(Z1){var Q1,N1,F1,O1,K1,R1=0,h1=[],j=new e(c1);if(Z1==null)Z1=o1;else E(Z1,0,F);if(O1=Z(Z1/A),T1)if(crypto.getRandomValues){Q1=crypto.getRandomValues(new Uint32Array(O1*=2));for(;R1<O1;)if(K1=Q1[R1]*131072+(Q1[R1+1]>>>11),K1>=9000000000000000)N1=crypto.getRandomValues(new Uint32Array(2)),Q1[R1]=N1[0],Q1[R1+1]=N1[1];else h1.push(K1%100000000000000),R1+=2;R1=O1/2}else if(crypto.randomBytes){Q1=crypto.randomBytes(O1*=7);for(;R1<O1;)if(K1=(Q1[R1]&31)*281474976710656+Q1[R1+1]*1099511627776+Q1[R1+2]*4294967296+Q1[R1+3]*16777216+(Q1[R1+4]<<16)+(Q1[R1+5]<<8)+Q1[R1+6],K1>=9000000000000000)crypto.randomBytes(7).copy(Q1,R1);else h1.push(K1%100000000000000),R1+=7;R1=O1/7}else throw T1=!1,Error(W+"crypto unavailable");if(!T1){for(;R1<O1;)if(K1=a(),K1<9000000000000000)h1[R1++]=K1%100000000000000}if(O1=h1[--R1],Z1%=A,O1&&Z1)K1=X[A-Z1],h1[R1]=C(O1/K1)*K1;for(;h1[R1]===0;h1.pop(),R1--);if(R1<0)h1=[F1=0];else{for(F1=-1;h1[0]===0;h1.splice(0,1),F1-=A);for(R1=1,K1=h1[0];K1>=10;K1/=10,R1++);if(R1<A)F1-=A-R1}return j.e=F1,j.c=h1,j}}(),e.sum=function(){var k=1,a=arguments,Z1=new e(a[0]);for(;k<a.length;)Z1=Z1.plus(a[k++]);return Z1},T=function(){var k="0123456789";function a(Z1,Q1,N1,F1){var O1,K1=[0],R1,h1=0,j=Z1.length;for(;h1<j;){for(R1=K1.length;R1--;K1[R1]*=Q1);K1[0]+=F1.indexOf(Z1.charAt(h1++));for(O1=0;O1<K1.length;O1++)if(K1[O1]>N1-1){if(K1[O1+1]==null)K1[O1+1]=0;K1[O1+1]+=K1[O1]/N1|0,K1[O1]%=N1}}return K1.reverse()}return function(Z1,Q1,N1,F1,O1){var K1,R1,h1,j,W1,U1,L1,D0,O0=Z1.indexOf("."),k0=o1,i0=a1;if(O0>=0)j=F0,F0=0,Z1=Z1.replace(".",""),D0=new e(Q1),U1=D0.pow(Z1.length-O0),F0=j,D0.c=a($(K(U1.c),U1.e,"0"),10,N1,k),D0.e=D0.c.length;L1=a(Z1,Q1,N1,O1?(K1=B0,k):(K1=k,B0)),h1=j=L1.length;for(;L1[--j]==0;L1.pop());if(!L1[0])return K1.charAt(0);if(O0<0)--h1;else U1.c=L1,U1.e=h1,U1.s=F1,U1=O(U1,D0,k0,i0,N1),L1=U1.c,W1=U1.r,h1=U1.e;if(R1=h1+k0+1,O0=L1[R1],j=N1/2,W1=W1||R1<0||L1[R1+1]!=null,W1=i0<4?(O0!=null||W1)&&(i0==0||i0==(U1.s<0?3:2)):O0>j||O0==j&&(i0==4||W1||i0==6&&L1[R1-1]&1||i0==(U1.s<0?8:7)),R1<1||!L1[0])Z1=W1?$(K1.charAt(1),-k0,K1.charAt(0)):K1.charAt(0);else{if(L1.length=R1,W1){for(--N1;++L1[--R1]>N1;)if(L1[R1]=0,!R1)++h1,L1=[1].concat(L1)}for(j=L1.length;!L1[--j];);for(O0=0,Z1="";O0<=j;Z1+=K1.charAt(L1[O0++]));Z1=$(Z1,h1,K1.charAt(0))}return Z1}}(),O=function(){function k(Q1,N1,F1){var O1,K1,R1,h1,j=0,W1=Q1.length,U1=N1%_,L1=N1/_|0;for(Q1=Q1.slice();W1--;)R1=Q1[W1]%_,h1=Q1[W1]/_|0,O1=L1*R1+h1*U1,K1=U1*R1+O1%_*_+j,j=(K1/F1|0)+(O1/_|0)+L1*h1,Q1[W1]=K1%F1;if(j)Q1=[j].concat(Q1);return Q1}function a(Q1,N1,F1,O1){var K1,R1;if(F1!=O1)R1=F1>O1?1:-1;else for(K1=R1=0;K1<F1;K1++)if(Q1[K1]!=N1[K1]){R1=Q1[K1]>N1[K1]?1:-1;break}return R1}function Z1(Q1,N1,F1,O1){var K1=0;for(;F1--;)Q1[F1]-=K1,K1=Q1[F1]<N1[F1]?1:0,Q1[F1]=K1*O1+Q1[F1]-N1[F1];for(;!Q1[0]&&Q1.length>1;Q1.splice(0,1));}return function(Q1,N1,F1,O1,K1){var R1,h1,j,W1,U1,L1,D0,O0,k0,i0,s0,P2,a5,n0,B2,A2,B4,A4=Q1.s==N1.s?1:-1,_5=Q1.c,D5=N1.c;if(!_5||!_5[0]||!D5||!D5[0])return new e(!Q1.s||!N1.s||(_5?D5&&_5[0]==D5[0]:!D5)?NaN:_5&&_5[0]==0||!D5?A4*0:A4/0);if(O0=new e(A4),k0=O0.c=[],h1=Q1.e-N1.e,A4=F1+h1+1,!K1)K1=B,h1=J(Q1.e/A)-J(N1.e/A),A4=A4/A|0;for(j=0;D5[j]==(_5[j]||0);j++);if(D5[j]>(_5[j]||0))h1--;if(A4<0)k0.push(1),W1=!0;else{if(n0=_5.length,A2=D5.length,j=0,A4+=2,U1=C(K1/(D5[0]+1)),U1>1)D5=k(D5,U1,K1),_5=k(_5,U1,K1),A2=D5.length,n0=_5.length;a5=A2,i0=_5.slice(0,A2),s0=i0.length;for(;s0<A2;i0[s0++]=0);if(B4=D5.slice(),B4=[0].concat(B4),B2=D5[0],D5[1]>=K1/2)B2++;do{if(U1=0,R1=a(D5,i0,A2,s0),R1<0){if(P2=i0[0],A2!=s0)P2=P2*K1+(i0[1]||0);if(U1=C(P2/B2),U1>1){if(U1>=K1)U1=K1-1;L1=k(D5,U1,K1),D0=L1.length,s0=i0.length;while(a(L1,i0,D0,s0)==1)U1--,Z1(L1,A2<D0?B4:D5,D0,K1),D0=L1.length,R1=1}else{if(U1==0)R1=U1=1;L1=D5.slice(),D0=L1.length}if(D0<s0)L1=[0].concat(L1);if(Z1(i0,L1,s0,K1),s0=i0.length,R1==-1)while(a(D5,i0,A2,s0)<1)U1++,Z1(i0,A2<s0?B4:D5,s0,K1),s0=i0.length}else if(R1===0)U1++,i0=[0];if(k0[j++]=U1,i0[0])i0[s0++]=_5[a5]||0;else i0=[_5[a5]],s0=1}while((a5++<n0||i0[0]!=null)&&A4--);if(W1=i0[0]!=null,!k0[0])k0.splice(0,1)}if(K1==B){for(j=1,A4=k0[0];A4>=10;A4/=10,j++);i1(O0,F1+(O0.e=j+h1*A-1)+1,O1,W1)}else O0.e=h1,O0.r=+W1;return O0}}();function G0(k,a,Z1,Q1){var N1,F1,O1,K1,R1;if(Z1==null)Z1=a1;else E(Z1,0,8);if(!k.c)return k.toString();if(N1=k.c[0],O1=k.e,a==null)R1=K(k.c),R1=Q1==1||Q1==2&&(O1<=f1||O1>=r)?P(R1,O1):$(R1,O1,"0");else if(k=i1(new e(k),a,Z1),F1=k.e,R1=K(k.c),K1=R1.length,Q1==1||Q1==2&&(a<=F1||F1<=f1)){for(;K1<a;R1+="0",K1++);R1=P(R1,F1)}else if(a-=O1,R1=$(R1,F1,"0"),F1+1>K1){if(--a>0)for(R1+=".";a--;R1+="0");}else if(a+=F1-K1,a>0){if(F1+1==K1)R1+=".";for(;a--;R1+="0");}return k.s<0&&N1?"-"+R1:R1}function H1(k,a){var Z1,Q1,N1=1,F1=new e(k[0]);for(;N1<k.length;N1++)if(Q1=new e(k[N1]),!Q1.s||(Z1=Q(F1,Q1))===a||Z1===0&&F1.s===a)F1=Q1;return F1}function j1(k,a,Z1){var Q1=1,N1=a.length;for(;!a[--N1];a.pop());for(N1=a[0];N1>=10;N1/=10,Q1++);if((Z1=Q1+Z1*A-1)>m1)k.c=k.e=null;else if(Z1<A1)k.c=[k.e=0];else k.e=Z1,k.c=a;return k}V1=function(){var k=/^(-?)0([xbo])(?=\w[\w.]*$)/i,a=/^([^.]+)\.$/,Z1=/^\.([^.]+)$/,Q1=/^-?(Infinity|NaN)$/,N1=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(F1,O1,K1,R1){var h1,j=K1?O1:O1.replace(N1,"");if(Q1.test(j))F1.s=isNaN(j)?null:j<0?-1:1;else{if(!K1){if(j=j.replace(k,function(W1,U1,L1){return h1=(L1=L1.toLowerCase())=="x"?16:L1=="b"?2:8,!R1||R1==h1?U1:W1}),R1)h1=R1,j=j.replace(a,"$1").replace(Z1,"0.$1");if(O1!=j)return new e(j,h1)}if(e.DEBUG)throw Error(W+"Not a"+(R1?" base "+R1:"")+" number: "+O1);F1.s=null}F1.c=F1.e=null}}();function i1(k,a,Z1,Q1){var N1,F1,O1,K1,R1,h1,j,W1=k.c,U1=X;if(W1){I:{for(N1=1,K1=W1[0];K1>=10;K1/=10,N1++);if(F1=a-N1,F1<0)F1+=A,O1=a,R1=W1[h1=0],j=C(R1/U1[N1-O1-1]%10);else if(h1=Z((F1+1)/A),h1>=W1.length)if(Q1){for(;W1.length<=h1;W1.push(0));R1=j=0,N1=1,F1%=A,O1=F1-A+1}else break I;else{R1=K1=W1[h1];for(N1=1;K1>=10;K1/=10,N1++);F1%=A,O1=F1-A+N1,j=O1<0?0:C(R1/U1[N1-O1-1]%10)}if(Q1=Q1||a<0||W1[h1+1]!=null||(O1<0?R1:R1%U1[N1-O1-1]),Q1=Z1<4?(j||Q1)&&(Z1==0||Z1==(k.s<0?3:2)):j>5||j==5&&(Z1==4||Q1||Z1==6&&(F1>0?O1>0?R1/U1[N1-O1]:0:W1[h1-1])%10&1||Z1==(k.s<0?8:7)),a<1||!W1[0]){if(W1.length=0,Q1)a-=k.e+1,W1[0]=U1[(A-a%A)%A],k.e=-a||0;else W1[0]=k.e=0;return k}if(F1==0)W1.length=h1,K1=1,h1--;else W1.length=h1+1,K1=U1[A-F1],W1[h1]=O1>0?C(R1/U1[N1-O1]%U1[O1])*K1:0;if(Q1)for(;;)if(h1==0){for(F1=1,O1=W1[0];O1>=10;O1/=10,F1++);O1=W1[0]+=K1;for(K1=1;O1>=10;O1/=10,K1++);if(F1!=K1){if(k.e++,W1[0]==B)W1[0]=1}break}else{if(W1[h1]+=K1,W1[h1]!=B)break;W1[h1--]=0,K1=1}for(F1=W1.length;W1[--F1]===0;W1.pop());}if(k.e>m1)k.c=k.e=null;else if(k.e<A1)k.c=[k.e=0]}return k}function E0(k){var a,Z1=k.e;if(Z1===null)return k.toString();return a=K(k.c),a=Z1<=f1||Z1>=r?P(a,Z1):$(a,Z1,"0"),k.s<0?"-"+a:a}if(c.absoluteValue=c.abs=function(){var k=new e(this);if(k.s<0)k.s=1;return k},c.comparedTo=function(k,a){return Q(this,new e(k,a))},c.decimalPlaces=c.dp=function(k,a){var Z1,Q1,N1,F1=this;if(k!=null){if(E(k,0,F),a==null)a=a1;else E(a,0,8);return i1(new e(F1),k+F1.e+1,a)}if(!(Z1=F1.c))return null;if(Q1=((N1=Z1.length-1)-J(this.e/A))*A,N1=Z1[N1])for(;N1%10==0;N1/=10,Q1--);if(Q1<0)Q1=0;return Q1},c.dividedBy=c.div=function(k,a){return O(this,new e(k,a),o1,a1)},c.dividedToIntegerBy=c.idiv=function(k,a){return O(this,new e(k,a),0,1)},c.exponentiatedBy=c.pow=function(k,a){var Z1,Q1,N1,F1,O1,K1,R1,h1,j,W1=this;if(k=new e(k),k.c&&!k.isInteger())throw Error(W+"Exponent not an integer: "+E0(k));if(a!=null)a=new e(a);if(K1=k.e>14,!W1.c||!W1.c[0]||W1.c[0]==1&&!W1.e&&W1.c.length==1||!k.c||!k.c[0])return j=new e(Math.pow(+E0(W1),K1?k.s*(2-S(k)):+E0(k))),a?j.mod(a):j;if(R1=k.s<0,a){if(a.c?!a.c[0]:!a.s)return new e(NaN);if(Q1=!R1&&W1.isInteger()&&a.isInteger(),Q1)W1=W1.mod(a)}else if(k.e>9&&(W1.e>0||W1.e<-1||(W1.e==0?W1.c[0]>1||K1&&W1.c[1]>=240000000:W1.c[0]<80000000000000||K1&&W1.c[0]<=99999750000000))){if(F1=W1.s<0&&S(k)?-0:0,W1.e>-1)F1=1/F1;return new e(R1?1/F1:F1)}else if(F0)F1=Z(F0/A+2);if(K1){if(Z1=new e(0.5),R1)k.s=1;h1=S(k)}else N1=Math.abs(+E0(k)),h1=N1%2;j=new e(c1);for(;;){if(h1){if(j=j.times(W1),!j.c)break;if(F1){if(j.c.length>F1)j.c.length=F1}else if(Q1)j=j.mod(a)}if(N1){if(N1=C(N1/2),N1===0)break;h1=N1%2}else if(k=k.times(Z1),i1(k,k.e+1,1),k.e>14)h1=S(k);else{if(N1=+E0(k),N1===0)break;h1=N1%2}if(W1=W1.times(W1),F1){if(W1.c&&W1.c.length>F1)W1.c.length=F1}else if(Q1)W1=W1.mod(a)}if(Q1)return j;if(R1)j=c1.div(j);return a?j.mod(a):F1?i1(j,F0,a1,O1):j},c.integerValue=function(k){var a=new e(this);if(k==null)k=a1;else E(k,0,8);return i1(a,a.e+1,k)},c.isEqualTo=c.eq=function(k,a){return Q(this,new e(k,a))===0},c.isFinite=function(){return!!this.c},c.isGreaterThan=c.gt=function(k,a){return Q(this,new e(k,a))>0},c.isGreaterThanOrEqualTo=c.gte=function(k,a){return(a=Q(this,new e(k,a)))===1||a===0},c.isInteger=function(){return!!this.c&&J(this.e/A)>this.c.length-2},c.isLessThan=c.lt=function(k,a){return Q(this,new e(k,a))<0},c.isLessThanOrEqualTo=c.lte=function(k,a){return(a=Q(this,new e(k,a)))===-1||a===0},c.isNaN=function(){return!this.s},c.isNegative=function(){return this.s<0},c.isPositive=function(){return this.s>0},c.isZero=function(){return!!this.c&&this.c[0]==0},c.minus=function(k,a){var Z1,Q1,N1,F1,O1=this,K1=O1.s;if(k=new e(k,a),a=k.s,!K1||!a)return new e(NaN);if(K1!=a)return k.s=-a,O1.plus(k);var R1=O1.e/A,h1=k.e/A,j=O1.c,W1=k.c;if(!R1||!h1){if(!j||!W1)return j?(k.s=-a,k):new e(W1?O1:NaN);if(!j[0]||!W1[0])return W1[0]?(k.s=-a,k):new e(j[0]?O1:a1==3?-0:0)}if(R1=J(R1),h1=J(h1),j=j.slice(),K1=R1-h1){if(F1=K1<0)K1=-K1,N1=j;else h1=R1,N1=W1;N1.reverse();for(a=K1;a--;N1.push(0));N1.reverse()}else{Q1=(F1=(K1=j.length)<(a=W1.length))?K1:a;for(K1=a=0;a<Q1;a++)if(j[a]!=W1[a]){F1=j[a]<W1[a];break}}if(F1)N1=j,j=W1,W1=N1,k.s=-k.s;if(a=(Q1=W1.length)-(Z1=j.length),a>0)for(;a--;j[Z1++]=0);a=B-1;for(;Q1>K1;){if(j[--Q1]<W1[Q1]){for(Z1=Q1;Z1&&!j[--Z1];j[Z1]=a);--j[Z1],j[Q1]+=B}j[Q1]-=W1[Q1]}for(;j[0]==0;j.splice(0,1),--h1);if(!j[0])return k.s=a1==3?-1:1,k.c=[k.e=0],k;return j1(k,j,h1)},c.modulo=c.mod=function(k,a){var Z1,Q1,N1=this;if(k=new e(k,a),!N1.c||!k.s||k.c&&!k.c[0])return new e(NaN);else if(!k.c||N1.c&&!N1.c[0])return new e(N1);if(e1==9)Q1=k.s,k.s=1,Z1=O(N1,k,0,3),k.s=Q1,Z1.s*=Q1;else Z1=O(N1,k,0,e1);if(k=N1.minus(Z1.times(k)),!k.c[0]&&e1==1)k.s=N1.s;return k},c.multipliedBy=c.times=function(k,a){var Z1,Q1,N1,F1,O1,K1,R1,h1,j,W1,U1,L1,D0,O0,k0,i0=this,s0=i0.c,P2=(k=new e(k,a)).c;if(!s0||!P2||!s0[0]||!P2[0]){if(!i0.s||!k.s||s0&&!s0[0]&&!P2||P2&&!P2[0]&&!s0)k.c=k.e=k.s=null;else if(k.s*=i0.s,!s0||!P2)k.c=k.e=null;else k.c=[0],k.e=0;return k}if(Q1=J(i0.e/A)+J(k.e/A),k.s*=i0.s,R1=s0.length,W1=P2.length,R1<W1)D0=s0,s0=P2,P2=D0,N1=R1,R1=W1,W1=N1;for(N1=R1+W1,D0=[];N1--;D0.push(0));O0=B,k0=_;for(N1=W1;--N1>=0;){Z1=0,U1=P2[N1]%k0,L1=P2[N1]/k0|0;for(O1=R1,F1=N1+O1;F1>N1;)h1=s0[--O1]%k0,j=s0[O1]/k0|0,K1=L1*h1+j*U1,h1=U1*h1+K1%k0*k0+D0[F1]+Z1,Z1=(h1/O0|0)+(K1/k0|0)+L1*j,D0[F1--]=h1%O0;D0[F1]=Z1}if(Z1)++Q1;else D0.splice(0,1);return j1(k,D0,Q1)},c.negated=function(){var k=new e(this);return k.s=-k.s||null,k},c.plus=function(k,a){var Z1,Q1=this,N1=Q1.s;if(k=new e(k,a),a=k.s,!N1||!a)return new e(NaN);if(N1!=a)return k.s=-a,Q1.minus(k);var F1=Q1.e/A,O1=k.e/A,K1=Q1.c,R1=k.c;if(!F1||!O1){if(!K1||!R1)return new e(N1/0);if(!K1[0]||!R1[0])return R1[0]?k:new e(K1[0]?Q1:N1*0)}if(F1=J(F1),O1=J(O1),K1=K1.slice(),N1=F1-O1){if(N1>0)O1=F1,Z1=R1;else N1=-N1,Z1=K1;Z1.reverse();for(;N1--;Z1.push(0));Z1.reverse()}if(N1=K1.length,a=R1.length,N1-a<0)Z1=R1,R1=K1,K1=Z1,a=N1;for(N1=0;a;)N1=(K1[--a]=K1[a]+R1[a]+N1)/B|0,K1[a]=B===K1[a]?0:K1[a]%B;if(N1)K1=[N1].concat(K1),++O1;return j1(k,K1,O1)},c.precision=c.sd=function(k,a){var Z1,Q1,N1,F1=this;if(k!=null&&k!==!!k){if(E(k,1,F),a==null)a=a1;else E(a,0,8);return i1(new e(F1),k,a)}if(!(Z1=F1.c))return null;if(N1=Z1.length-1,Q1=N1*A+1,N1=Z1[N1]){for(;N1%10==0;N1/=10,Q1--);for(N1=Z1[0];N1>=10;N1/=10,Q1++);}if(k&&F1.e+1>Q1)Q1=F1.e+1;return Q1},c.shiftedBy=function(k){return E(k,-V,V),this.times("1e"+k)},c.squareRoot=c.sqrt=function(){var k,a,Z1,Q1,N1,F1=this,O1=F1.c,K1=F1.s,R1=F1.e,h1=o1+4,j=new e("0.5");if(K1!==1||!O1||!O1[0])return new e(!K1||K1<0&&(!O1||O1[0])?NaN:O1?F1:1/0);if(K1=Math.sqrt(+E0(F1)),K1==0||K1==1/0){if(a=K(O1),(a.length+R1)%2==0)a+="0";if(K1=Math.sqrt(+a),R1=J((R1+1)/2)-(R1<0||R1%2),K1==1/0)a="5e"+R1;else a=K1.toExponential(),a=a.slice(0,a.indexOf("e")+1)+R1;Z1=new e(a)}else Z1=new e(K1+"");if(Z1.c[0]){if(R1=Z1.e,K1=R1+h1,K1<3)K1=0;for(;;)if(N1=Z1,Z1=j.times(N1.plus(O(F1,N1,h1,1))),K(N1.c).slice(0,K1)===(a=K(Z1.c)).slice(0,K1)){if(Z1.e<R1)--K1;if(a=a.slice(K1-3,K1+1),a=="9999"||!Q1&&a=="4999"){if(!Q1){if(i1(N1,N1.e+o1+2,0),N1.times(N1).eq(F1)){Z1=N1;break}}h1+=4,K1+=4,Q1=1}else{if(!+a||!+a.slice(1)&&a.charAt(0)=="5")i1(Z1,Z1.e+o1+2,1),k=!Z1.times(Z1).eq(F1);break}}}return i1(Z1,Z1.e+o1+1,a1,k)},c.toExponential=function(k,a){if(k!=null)E(k,0,F),k++;return G0(this,k,a,1)},c.toFixed=function(k,a){if(k!=null)E(k,0,F),k=k+this.e+1;return G0(this,k,a)},c.toFormat=function(k,a,Z1){var Q1,N1=this;if(Z1==null)if(k!=null&&a&&typeof a=="object")Z1=a,a=null;else if(k&&typeof k=="object")Z1=k,k=a=null;else Z1=P0;else if(typeof Z1!="object")throw Error(W+"Argument not an object: "+Z1);if(Q1=N1.toFixed(k,a),N1.c){var F1,O1=Q1.split("."),K1=+Z1.groupSize,R1=+Z1.secondaryGroupSize,h1=Z1.groupSeparator||"",j=O1[0],W1=O1[1],U1=N1.s<0,L1=U1?j.slice(1):j,D0=L1.length;if(R1)F1=K1,K1=R1,R1=F1,D0-=F1;if(K1>0&&D0>0){F1=D0%K1||K1,j=L1.substr(0,F1);for(;F1<D0;F1+=K1)j+=h1+L1.substr(F1,K1);if(R1>0)j+=h1+L1.slice(F1);if(U1)j="-"+j}Q1=W1?j+(Z1.decimalSeparator||"")+((R1=+Z1.fractionGroupSize)?W1.replace(new RegExp("\\d{"+R1+"}\\B","g"),"$&"+(Z1.fractionGroupSeparator||"")):W1):j}return(Z1.prefix||"")+Q1+(Z1.suffix||"")},c.toFraction=function(k){var a,Z1,Q1,N1,F1,O1,K1,R1,h1,j,W1,U1,L1=this,D0=L1.c;if(k!=null){if(K1=new e(k),!K1.isInteger()&&(K1.c||K1.s!==1)||K1.lt(c1))throw Error(W+"Argument "+(K1.isInteger()?"out of range: ":"not an integer: ")+E0(K1))}if(!D0)return new e(L1);a=new e(c1),h1=Z1=new e(c1),Q1=R1=new e(c1),U1=K(D0),F1=a.e=U1.length-L1.e-1,a.c[0]=X[(O1=F1%A)<0?A+O1:O1],k=!k||K1.comparedTo(a)>0?F1>0?a:h1:K1,O1=m1,m1=1/0,K1=new e(U1),R1.c[0]=0;for(;;){if(j=O(K1,a,0,1),N1=Z1.plus(j.times(Q1)),N1.comparedTo(k)==1)break;Z1=Q1,Q1=N1,h1=R1.plus(j.times(N1=h1)),R1=N1,a=K1.minus(j.times(N1=a)),K1=N1}return N1=O(k.minus(Z1),Q1,0,1),R1=R1.plus(N1.times(h1)),Z1=Z1.plus(N1.times(Q1)),R1.s=h1.s=L1.s,F1=F1*2,W1=O(h1,Q1,F1,a1).minus(L1).abs().comparedTo(O(R1,Z1,F1,a1).minus(L1).abs())<1?[h1,Q1]:[R1,Z1],m1=O1,W1},c.toNumber=function(){return+E0(this)},c.toPrecision=function(k,a){if(k!=null)E(k,1,F);return G0(this,k,a,2)},c.toString=function(k){var a,Z1=this,Q1=Z1.s,N1=Z1.e;if(N1===null)if(Q1){if(a="Infinity",Q1<0)a="-"+a}else a="NaN";else{if(k==null)a=N1<=f1||N1>=r?P(K(Z1.c),N1):$(K(Z1.c),N1,"0");else if(k===10&&a0)Z1=i1(new e(Z1),o1+N1+1,a1),a=$(K(Z1.c),Z1.e,"0");else E(k,2,B0.length,"Base"),a=T($(K(Z1.c),N1,"0"),10,k,Q1,!0);if(Q1<0&&Z1.c[0])a="-"+a}return a},c.valueOf=c.toJSON=function(){return E0(this)},c._isBigNumber=!0,h!=null)e.set(h);return e}function J(h){var O=h|0;return h>0||h===O?O:O-1}function K(h){var O,T,V1=1,c=h.length,c1=h[0]+"";for(;V1<c;){O=h[V1++]+"",T=A-O.length;for(;T--;O="0"+O);c1+=O}for(c=c1.length;c1.charCodeAt(--c)===48;);return c1.slice(0,c+1||1)}function Q(h,O){var T,V1,c=h.c,c1=O.c,o1=h.s,a1=O.s,f1=h.e,r=O.e;if(!o1||!a1)return null;if(T=c&&!c[0],V1=c1&&!c1[0],T||V1)return T?V1?0:-a1:o1;if(o1!=a1)return o1;if(T=o1<0,V1=f1==r,!c||!c1)return V1?0:!c^T?1:-1;if(!V1)return f1>r^T?1:-1;a1=(f1=c.length)<(r=c1.length)?f1:r;for(o1=0;o1<a1;o1++)if(c[o1]!=c1[o1])return c[o1]>c1[o1]^T?1:-1;return f1==r?0:f1>r^T?1:-1}function E(h,O,T,V1){if(h<O||h>T||h!==C(h))throw Error(W+(V1||"Argument")+(typeof h=="number"?h<O||h>T?" out of range: ":" not an integer: ":" not a primitive number: ")+String(h))}function S(h){var O=h.c.length-1;return J(h.e/A)==O&&h.c[O]%2!=0}function P(h,O){return(h.length>1?h.charAt(0)+"."+h.slice(1):h)+(O<0?"e":"e+")+O}function $(h,O,T){var V1,c;if(O<0){for(c=T+".";++O;c+=T);h=c+h}else if(V1=h.length,++O>V1){for(c=T,O-=V1;--O;c+=T);h+=c}else if(O<V1)h=h.slice(0,O)+"."+h.slice(O);return h}if(d=g(),d.default=d.BigNumber=d,typeof define=="function"&&define.amd)define(function(){return d});else if(typeof hr!="undefined"&&hr.exports)hr.exports=d;else{if(!I)I=typeof self!="undefined"&&self?self:window;I.BigNumber=d}})(cI2)});var rI2=Y((cA3,nI2)=>{var pI2=iD1(),iI2=cA3;(function(){function I(V){return V<10?"0"+V:V}var d=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,G=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,Z,C,W={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':"\\\"","\\":"\\\\"},w;function B(V){return G.lastIndex=0,G.test(V)?'"'+V.replace(G,function(X){var _=W[X];return typeof _==="string"?_:"\\u"+("0000"+X.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+V+'"'}function A(V,X){var _,F,g,J,K=Z,Q,E=X[V],S=E!=null&&(E instanceof pI2||pI2.isBigNumber(E));if(E&&typeof E==="object"&&typeof E.toJSON==="function")E=E.toJSON(V);if(typeof w==="function")E=w.call(X,V,E);switch(typeof E){case"string":if(S)return E;else return B(E);case"number":return isFinite(E)?String(E):"null";case"boolean":case"null":case"bigint":return String(E);case"object":if(!E)return"null";if(Z+=C,Q=[],Object.prototype.toString.apply(E)==="[object Array]"){J=E.length;for(_=0;_<J;_+=1)Q[_]=A(_,E)||"null";return g=Q.length===0?"[]":Z?`[
`+Z+Q.join(`,
`+Z)+`
`+K+"]":"["+Q.join(",")+"]",Z=K,g}if(w&&typeof w==="object"){J=w.length;for(_=0;_<J;_+=1)if(typeof w[_]==="string"){if(F=w[_],g=A(F,E),g)Q.push(B(F)+(Z?": ":":")+g)}}else Object.keys(E).forEach(function(P){var $=A(P,E);if($)Q.push(B(P)+(Z?": ":":")+$)});return g=Q.length===0?"{}":Z?`{
`+Z+Q.join(`,
`+Z)+`
`+K+"}":"{"+Q.join(",")+"}",Z=K,g}}if(typeof iI2.stringify!=="function")iI2.stringify=function(V,X,_){var F;if(Z="",C="",typeof _==="number")for(F=0;F<_;F+=1)C+=" ";else if(typeof _==="string")C=_;if(w=X,X&&typeof X!=="function"&&(typeof X!=="object"||typeof X.length!=="number"))throw new Error("JSON.stringify");return A("",{"":V})}})()});var sI2=Y((pA3,aI2)=>{var jr=null,wp5=/(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])/,Bp5=/(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)/,Ap5=function(I){var d={strict:!1,storeAsString:!1,alwaysParseAsBig:!1,useNativeBigInt:!1,protoAction:"error",constructorAction:"error"};if(I!==void 0&&I!==null){if(I.strict===!0)d.strict=!0;if(I.storeAsString===!0)d.storeAsString=!0;if(d.alwaysParseAsBig=I.alwaysParseAsBig===!0?I.alwaysParseAsBig:!1,d.useNativeBigInt=I.useNativeBigInt===!0?I.useNativeBigInt:!1,typeof I.constructorAction!=="undefined")if(I.constructorAction==="error"||I.constructorAction==="ignore"||I.constructorAction==="preserve")d.constructorAction=I.constructorAction;else throw new Error(`Incorrect value for constructorAction option, must be "error", "ignore" or undefined but passed ${I.constructorAction}`);if(typeof I.protoAction!=="undefined")if(I.protoAction==="error"||I.protoAction==="ignore"||I.protoAction==="preserve")d.protoAction=I.protoAction;else throw new Error(`Incorrect value for protoAction option, must be "error", "ignore" or undefined but passed ${I.protoAction}`)}var G,Z,C={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:`
`,r:"\r",t:"\t"},W,w=function(K){throw{name:"SyntaxError",message:K,at:G,text:W}},B=function(K){if(K&&K!==Z)w("Expected '"+K+"' instead of '"+Z+"'");return Z=W.charAt(G),G+=1,Z},A=function(){var K,Q="";if(Z==="-")Q="-",B("-");while(Z>="0"&&Z<="9")Q+=Z,B();if(Z==="."){Q+=".";while(B()&&Z>="0"&&Z<="9")Q+=Z}if(Z==="e"||Z==="E"){if(Q+=Z,B(),Z==="-"||Z==="+")Q+=Z,B();while(Z>="0"&&Z<="9")Q+=Z,B()}if(K=+Q,!isFinite(K))w("Bad number");else{if(jr==null)jr=iD1();if(Q.length>15)return d.storeAsString?Q:d.useNativeBigInt?BigInt(Q):new jr(Q);else return!d.alwaysParseAsBig?K:d.useNativeBigInt?BigInt(K):new jr(K)}},V=function(){var K,Q,E="",S;if(Z==='"'){var P=G;while(B()){if(Z==='"'){if(G-1>P)E+=W.substring(P,G-1);return B(),E}if(Z==="\\"){if(G-1>P)E+=W.substring(P,G-1);if(B(),Z==="u"){S=0;for(Q=0;Q<4;Q+=1){if(K=parseInt(B(),16),!isFinite(K))break;S=S*16+K}E+=String.fromCharCode(S)}else if(typeof C[Z]==="string")E+=C[Z];else break;P=G}}}w("Bad string")},X=function(){while(Z&&Z<=" ")B()},_=function(){switch(Z){case"t":return B("t"),B("r"),B("u"),B("e"),!0;case"f":return B("f"),B("a"),B("l"),B("s"),B("e"),!1;case"n":return B("n"),B("u"),B("l"),B("l"),null}w("Unexpected '"+Z+"'")},F,g=function(){var K=[];if(Z==="["){if(B("["),X(),Z==="]")return B("]"),K;while(Z){if(K.push(F()),X(),Z==="]")return B("]"),K;B(","),X()}}w("Bad array")},J=function(){var K,Q=Object.create(null);if(Z==="{"){if(B("{"),X(),Z==="}")return B("}"),Q;while(Z){if(K=V(),X(),B(":"),d.strict===!0&&Object.hasOwnProperty.call(Q,K))w('Duplicate key "'+K+'"');if(wp5.test(K)===!0)if(d.protoAction==="error")w("Object contains forbidden prototype property");else if(d.protoAction==="ignore")F();else Q[K]=F();else if(Bp5.test(K)===!0)if(d.constructorAction==="error")w("Object contains forbidden constructor property");else if(d.constructorAction==="ignore")F();else Q[K]=F();else Q[K]=F();if(X(),Z==="}")return B("}"),Q;B(","),X()}}w("Bad object")};return F=function(){switch(X(),Z){case"{":return J();case"[":return g();case'"':return V();case"-":return A();default:return Z>="0"&&Z<="9"?A():_()}},function(K,Q){var E;if(W=K+"",G=0,Z=" ",E=F(),X(),Z)w("Syntax error");return typeof Q==="function"?function S(P,$){var h,O,T=P[$];if(T&&typeof T==="object")Object.keys(T).forEach(function(V1){if(O=S(T,V1),O!==void 0)T[V1]=O;else delete T[V1]});return Q.call(P,$,T)}({"":E},""):E}};aI2.exports=Ap5});var tI2=Y((iA3,kr)=>{var oI2=rI2().stringify,eI2=sI2();kr.exports=function(I){return{parse:eI2(I),stringify:oI2}};kr.exports.parse=eI2();kr.exports.stringify=oI2});var nD1=Y((wd2)=>{Object.defineProperty(wd2,"__esModule",{value:!0});wd2.GCE_LINUX_BIOS_PATHS=void 0;wd2.isGoogleCloudServerless=Gd2;wd2.isGoogleComputeEngineLinux=Zd2;wd2.isGoogleComputeEngineMACAddress=Cd2;wd2.isGoogleComputeEngine=Wd2;wd2.detectGCPResidency=Xp5;var Id2=B1("fs"),dd2=B1("os");wd2.GCE_LINUX_BIOS_PATHS={BIOS_DATE:"/sys/class/dmi/id/bios_date",BIOS_VENDOR:"/sys/class/dmi/id/bios_vendor"};var Vp5=/^42:01/;function Gd2(){return!!(process.env.CLOUD_RUN_JOB||process.env.FUNCTION_NAME||process.env.K_SERVICE)}function Zd2(){if(dd2.platform()!=="linux")return!1;try{Id2.statSync(wd2.GCE_LINUX_BIOS_PATHS.BIOS_DATE);let I=Id2.readFileSync(wd2.GCE_LINUX_BIOS_PATHS.BIOS_VENDOR,"utf8");return/Google/.test(I)}catch(I){return!1}}function Cd2(){let I=dd2.networkInterfaces();for(let d of Object.values(I)){if(!d)continue;for(let{mac:G}of d)if(Vp5.test(G))return!0}return!1}function Wd2(){return Zd2()||Cd2()}function Xp5(){return Gd2()||Wd2()}});var Vd2=Y((Bd2)=>{Object.defineProperty(Bd2,"__esModule",{value:!0});Bd2.Colours=void 0;class j4{static isEnabled(I){return I.isTTY&&(typeof I.getColorDepth==="function"?I.getColorDepth()>2:!0)}static refresh(){if(j4.enabled=j4.isEnabled(process.stderr),!this.enabled)j4.reset="",j4.bright="",j4.dim="",j4.red="",j4.green="",j4.yellow="",j4.blue="",j4.magenta="",j4.cyan="",j4.white="",j4.grey="";else j4.reset="\x1B[0m",j4.bright="\x1B[1m",j4.dim="\x1B[2m",j4.red="\x1B[31m",j4.green="\x1B[32m",j4.yellow="\x1B[33m",j4.blue="\x1B[34m",j4.magenta="\x1B[35m",j4.cyan="\x1B[36m",j4.white="\x1B[37m",j4.grey="\x1B[90m"}}Bd2.Colours=j4;j4.enabled=!1;j4.reset="";j4.bright="";j4.dim="";j4.red="";j4.green="";j4.yellow="";j4.blue="";j4.magenta="";j4.cyan="";j4.white="";j4.grey="";j4.refresh()});var Fd2=Y((_9)=>{var gp5=_9&&_9.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),Jp5=_9&&_9.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),Xd2=_9&&_9.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))gp5(d,I,G)}return Jp5(d,I),d};Object.defineProperty(_9,"__esModule",{value:!0});_9.env=_9.DebugLogBackendBase=_9.placeholder=_9.AdhocDebugLogger=_9.LogSeverity=void 0;_9.getNodeBackend=rD1;_9.getDebugBackend=Np5;_9.getStructuredBackend=zp5;_9.setBackend=Qp5;_9.log=Hd2;var Kp5=B1("node:events"),nP=Xd2(B1("node:process")),Yd2=Xd2(B1("node:util")),BG=Vd2(),GW;(function(I){I.DEFAULT="DEFAULT",I.DEBUG="DEBUG",I.INFO="INFO",I.WARNING="WARNING",I.ERROR="ERROR"})(GW||(_9.LogSeverity=GW={}));class cr extends Kp5.EventEmitter{constructor(I,d){super();this.namespace=I,this.upstream=d,this.func=Object.assign(this.invoke.bind(this),{instance:this,on:(G,Z)=>this.on(G,Z)}),this.func.debug=(...G)=>this.invokeSeverity(GW.DEBUG,...G),this.func.info=(...G)=>this.invokeSeverity(GW.INFO,...G),this.func.warn=(...G)=>this.invokeSeverity(GW.WARNING,...G),this.func.error=(...G)=>this.invokeSeverity(GW.ERROR,...G),this.func.sublog=(G)=>Hd2(G,this.func)}invoke(I,...d){if(this.upstream)this.upstream(I,...d);this.emit("log",I,d)}invokeSeverity(I,...d){this.invoke({severity:I},...d)}}_9.AdhocDebugLogger=cr;_9.placeholder=new cr("",()=>{}).func;class rP{constructor(){var I;this.cached=new Map,this.filters=[],this.filtersSet=!1;let d=(I=nP.env[_9.env.nodeEnables])!==null&&I!==void 0?I:"*";if(d==="all")d="*";this.filters=d.split(",")}log(I,d,...G){try{if(!this.filtersSet)this.setFilters(),this.filtersSet=!0;let Z=this.cached.get(I);if(!Z)Z=this.makeLogger(I),this.cached.set(I,Z);Z(d,...G)}catch(Z){console.error(Z)}}}_9.DebugLogBackendBase=rP;class sD1 extends rP{constructor(){super(...arguments);this.enabledRegexp=/.*/g}isEnabled(I){return this.enabledRegexp.test(I)}makeLogger(I){if(!this.enabledRegexp.test(I))return()=>{};return(d,...G)=>{var Z;let C=`${BG.Colours.green}${I}${BG.Colours.reset}`,W=`${BG.Colours.yellow}${nP.pid}${BG.Colours.reset}`,w;switch(d.severity){case GW.ERROR:w=`${BG.Colours.red}${d.severity}${BG.Colours.reset}`;break;case GW.INFO:w=`${BG.Colours.magenta}${d.severity}${BG.Colours.reset}`;break;case GW.WARNING:w=`${BG.Colours.yellow}${d.severity}${BG.Colours.reset}`;break;default:w=(Z=d.severity)!==null&&Z!==void 0?Z:GW.DEFAULT;break}let B=Yd2.formatWithOptions({colors:BG.Colours.enabled},...G),A=Object.assign({},d);delete A.severity;let V=Object.getOwnPropertyNames(A).length?JSON.stringify(A):"",X=V?`${BG.Colours.grey}${V}${BG.Colours.reset}`:"";console.error("%s [%s|%s] %s%s",W,C,w,B,V?` ${X}`:"")}}setFilters(){let d=this.filters.join(",").replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^");this.enabledRegexp=new RegExp(`^${d}$`,"i")}}function rD1(){return new sD1}class _d2 extends rP{constructor(I){super();this.debugPkg=I}makeLogger(I){let d=this.debugPkg(I);return(G,...Z)=>{d(Z[0],...Z.slice(1))}}setFilters(){var I;let d=(I=nP.env.NODE_DEBUG)!==null&&I!==void 0?I:"";nP.env.NODE_DEBUG=`${d}${d?",":""}${this.filters.join(",")}`}}function Np5(I){return new _d2(I)}class Dd2 extends rP{constructor(I){var d;super();this.upstream=(d=I)!==null&&d!==void 0?d:new sD1}makeLogger(I){let d=this.upstream.makeLogger(I);return(G,...Z)=>{var C;let W=(C=G.severity)!==null&&C!==void 0?C:GW.INFO,w=Object.assign({severity:W,message:Yd2.format(...Z)},G),B=JSON.stringify(w);d(G,B)}}setFilters(){this.upstream.setFilters()}}function zp5(I){return new Dd2(I)}_9.env={nodeEnables:"GOOGLE_SDK_NODE_LOGGING"};var aD1=new Map,mZ=void 0;function Qp5(I){mZ=I,aD1.clear()}function Hd2(I,d){if(!nP.env[_9.env.nodeEnables])return _9.placeholder;if(!I)return _9.placeholder;if(d)I=`${d.instance.namespace}:${I}`;let Z=aD1.get(I);if(Z)return Z.func;if(mZ===null)return _9.placeholder;else if(mZ===void 0)mZ=rD1();let C=(()=>{let W=void 0;return new cr(I,(B,...A)=>{if(W!==mZ){if(mZ===null)return;else if(mZ===void 0)mZ=rD1();W=mZ}mZ===null||mZ===void 0||mZ.log(I,B,...A)})})();return aD1.set(I,C),C.func}});var gd2=Y((PJ)=>{var fp5=PJ&&PJ.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),qp5=PJ&&PJ.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))fp5(d,I,G)};Object.defineProperty(PJ,"__esModule",{value:!0});qp5(Fd2(),PJ)});var sP=Y((I4)=>{var Rp5=I4&&I4.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;var C=Object.getOwnPropertyDescriptor(d,G);if(!C||("get"in C?!d.__esModule:C.writable||C.configurable))C={enumerable:!0,get:function(){return d[G]}};Object.defineProperty(I,Z,C)}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),Up5=I4&&I4.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))Rp5(d,I,G)};Object.defineProperty(I4,"__esModule",{value:!0});I4.gcpResidencyCache=I4.METADATA_SERVER_DETECTION=I4.HEADERS=I4.HEADER_VALUE=I4.HEADER_NAME=I4.SECONDARY_HOST_ADDRESS=I4.HOST_ADDRESS=I4.BASE_PATH=void 0;I4.instance=yp5;I4.project=Pp5;I4.universe=$p5;I4.bulk=up5;I4.isAvailable=Op5;I4.resetIsAvailableCache=mp5;I4.getGCPResidency=tD1;I4.setGCPResidency=Kd2;I4.requestTimeout=Nd2;var oD1=dW(),vp5=tI2(),Ep5=nD1(),Mp5=gd2();I4.BASE_PATH="/computeMetadata/v1";I4.HOST_ADDRESS="http://169.254.169.254";I4.SECONDARY_HOST_ADDRESS="http://metadata.google.internal.";I4.HEADER_NAME="Metadata-Flavor";I4.HEADER_VALUE="Google";I4.HEADERS=Object.freeze({[I4.HEADER_NAME]:I4.HEADER_VALUE});var Jd2=Mp5.log("gcp metadata");I4.METADATA_SERVER_DETECTION=Object.freeze({"assume-present":"don't try to ping the metadata server, but assume it's present",none:"don't try to ping the metadata server, but don't try to use it either","bios-only":"treat the result of a BIOS probe as canonical (don't fall back to pinging)","ping-only":"skip the BIOS probe, and go straight to pinging"});function eD1(I){if(!I)I=process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST||I4.HOST_ADDRESS;if(!/^https?:\/\//.test(I))I=`http://${I}`;return new URL(I4.BASE_PATH,I).href}function Sp5(I){Object.keys(I).forEach((d)=>{switch(d){case"params":case"property":case"headers":break;case"qs":throw new Error("'qs' is not a valid configuration option. Please use 'params' instead.");default:throw new Error(`'${d}' is not a valid configuration option.`)}})}async function aP(I,d={},G=3,Z=!1){let C="",W={},w={};if(typeof I==="object"){let X=I;C=X.metadataKey,W=X.params||W,w=X.headers||w,G=X.noResponseRetries||G,Z=X.fastFail||Z}else C=I;if(typeof d==="string")C+=`/${d}`;else{if(Sp5(d),d.property)C+=`/${d.property}`;w=d.headers||w,W=d.params||W}let B=Z?Lp5:oD1.request,A={url:`${eD1()}/${C}`,headers:{...I4.HEADERS,...w},retryConfig:{noResponseRetries:G},params:W,responseType:"text",timeout:Nd2()};Jd2.info("instance request %j",A);let V=await B(A);if(Jd2.info("instance metadata is %s",V.data),V.headers[I4.HEADER_NAME.toLowerCase()]!==I4.HEADER_VALUE)throw new Error(`Invalid response from metadata service: incorrect ${I4.HEADER_NAME} header. Expected '${I4.HEADER_VALUE}', got ${V.headers[I4.HEADER_NAME.toLowerCase()]?`'${V.headers[I4.HEADER_NAME.toLowerCase()]}'`:"no header"}`);if(typeof V.data==="string")try{return vp5.parse(V.data)}catch(X){}return V.data}async function Lp5(I){var d;let G={...I,url:(d=I.url)===null||d===void 0?void 0:d.toString().replace(eD1(),eD1(I4.SECONDARY_HOST_ADDRESS))},Z=!1,C=oD1.request(I).then((w)=>{return Z=!0,w}).catch((w)=>{if(Z)return W;else throw Z=!0,w}),W=oD1.request(G).then((w)=>{return Z=!0,w}).catch((w)=>{if(Z)return C;else throw Z=!0,w});return Promise.race([C,W])}function yp5(I){return aP("instance",I)}function Pp5(I){return aP("project",I)}function $p5(I){return aP("universe",I)}async function up5(I){let d={};return await Promise.all(I.map((G)=>{return(async()=>{let Z=await aP(G),C=G.metadataKey;d[C]=Z})()})),d}function Tp5(){return process.env.DETECT_GCP_RETRIES?Number(process.env.DETECT_GCP_RETRIES):0}var pr;async function Op5(){if(process.env.METADATA_SERVER_DETECTION){let I=process.env.METADATA_SERVER_DETECTION.trim().toLocaleLowerCase();if(!(I in I4.METADATA_SERVER_DETECTION))throw new RangeError(`Unknown \`METADATA_SERVER_DETECTION\` env variable. Got \`${I}\`, but it should be \`${Object.keys(I4.METADATA_SERVER_DETECTION).join("`, `")}\`, or unset`);switch(I){case"assume-present":return!0;case"none":return!1;case"bios-only":return tD1();case"ping-only":}}try{if(pr===void 0)pr=aP("instance",void 0,Tp5(),!(process.env.GCE_METADATA_IP||process.env.GCE_METADATA_HOST));return await pr,!0}catch(I){let d=I;if(process.env.DEBUG_AUTH)console.info(d);if(d.type==="request-timeout")return!1;if(d.response&&d.response.status===404)return!1;else{if(!(d.response&&d.response.status===404)&&(!d.code||!["EHOSTDOWN","EHOSTUNREACH","ENETUNREACH","ENOENT","ENOTFOUND","ECONNREFUSED"].includes(d.code))){let G="UNKNOWN";if(d.code)G=d.code;process.emitWarning(`received unexpected error = ${d.message} code = ${G}`,"MetadataLookupWarning")}return!1}}}function mp5(){pr=void 0}I4.gcpResidencyCache=null;function tD1(){if(I4.gcpResidencyCache===null)Kd2();return I4.gcpResidencyCache}function Kd2(I=null){I4.gcpResidencyCache=I!==null?I:Ep5.detectGCPResidency()}function Nd2(){return tD1()?0:3000}Up5(nD1(),I4)});var fd2=Y((pp5)=>{pp5.byteLength=bp5;pp5.toByteArray=jp5;pp5.fromByteArray=cp5;var qB=[],lZ=[],lp5=typeof Uint8Array!=="undefined"?Uint8Array:Array,IH1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for($J=0,zd2=IH1.length;$J<zd2;++$J)qB[$J]=IH1[$J],lZ[IH1.charCodeAt($J)]=$J;var $J,zd2;lZ[45]=62;lZ[95]=63;function Qd2(I){var d=I.length;if(d%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var G=I.indexOf("=");if(G===-1)G=d;var Z=G===d?0:4-G%4;return[G,Z]}function bp5(I){var d=Qd2(I),G=d[0],Z=d[1];return(G+Z)*3/4-Z}function hp5(I,d,G){return(d+G)*3/4-G}function jp5(I){var d,G=Qd2(I),Z=G[0],C=G[1],W=new lp5(hp5(I,Z,C)),w=0,B=C>0?Z-4:Z,A;for(A=0;A<B;A+=4)d=lZ[I.charCodeAt(A)]<<18|lZ[I.charCodeAt(A+1)]<<12|lZ[I.charCodeAt(A+2)]<<6|lZ[I.charCodeAt(A+3)],W[w++]=d>>16&255,W[w++]=d>>8&255,W[w++]=d&255;if(C===2)d=lZ[I.charCodeAt(A)]<<2|lZ[I.charCodeAt(A+1)]>>4,W[w++]=d&255;if(C===1)d=lZ[I.charCodeAt(A)]<<10|lZ[I.charCodeAt(A+1)]<<4|lZ[I.charCodeAt(A+2)]>>2,W[w++]=d>>8&255,W[w++]=d&255;return W}function kp5(I){return qB[I>>18&63]+qB[I>>12&63]+qB[I>>6&63]+qB[I&63]}function xp5(I,d,G){var Z,C=[];for(var W=d;W<G;W+=3)Z=(I[W]<<16&16711680)+(I[W+1]<<8&65280)+(I[W+2]&255),C.push(kp5(Z));return C.join("")}function cp5(I){var d,G=I.length,Z=G%3,C=[],W=16383;for(var w=0,B=G-Z;w<B;w+=W)C.push(xp5(I,w,w+W>B?B:w+W));if(Z===1)d=I[G-1],C.push(qB[d>>2]+qB[d<<4&63]+"==");else if(Z===2)d=(I[G-2]<<8)+I[G-1],C.push(qB[d>>10]+qB[d>>4&63]+qB[d<<2&63]+"=");return C.join("")}});var Ud2=Y((qd2)=>{Object.defineProperty(qd2,"__esModule",{value:!0});qd2.BrowserCrypto=void 0;var bq=fd2(),ap5=hq();class ir{constructor(){if(typeof window==="undefined"||window.crypto===void 0||window.crypto.subtle===void 0)throw new Error("SubtleCrypto not found. Make sure it's an https:// website.")}async sha256DigestBase64(I){let d=new TextEncoder().encode(I),G=await window.crypto.subtle.digest("SHA-256",d);return bq.fromByteArray(new Uint8Array(G))}randomBytesBase64(I){let d=new Uint8Array(I);return window.crypto.getRandomValues(d),bq.fromByteArray(d)}static padBase64(I){while(I.length%4!==0)I+="=";return I}async verify(I,d,G){let Z={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},C=new TextEncoder().encode(d),W=bq.toByteArray(ir.padBase64(G)),w=await window.crypto.subtle.importKey("jwk",I,Z,!0,["verify"]);return await window.crypto.subtle.verify(Z,w,W,C)}async sign(I,d){let G={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},Z=new TextEncoder().encode(d),C=await window.crypto.subtle.importKey("jwk",I,G,!0,["sign"]),W=await window.crypto.subtle.sign(G,C,Z);return bq.fromByteArray(new Uint8Array(W))}decodeBase64StringUtf8(I){let d=bq.toByteArray(ir.padBase64(I));return new TextDecoder().decode(d)}encodeBase64StringUtf8(I){let d=new TextEncoder().encode(I);return bq.fromByteArray(d)}async sha256DigestHex(I){let d=new TextEncoder().encode(I),G=await window.crypto.subtle.digest("SHA-256",d);return ap5.fromArrayBufferToHex(G)}async signWithHmacSha256(I,d){let G=typeof I==="string"?I:String.fromCharCode(...new Uint16Array(I)),Z=new TextEncoder,C=await window.crypto.subtle.importKey("raw",Z.encode(G),{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return window.crypto.subtle.sign("HMAC",C,Z.encode(d))}}qd2.BrowserCrypto=ir});var Sd2=Y((Ed2)=>{Object.defineProperty(Ed2,"__esModule",{value:!0});Ed2.NodeCrypto=void 0;var jq=B1("crypto");class vd2{async sha256DigestBase64(I){return jq.createHash("sha256").update(I).digest("base64")}randomBytesBase64(I){return jq.randomBytes(I).toString("base64")}async verify(I,d,G){let Z=jq.createVerify("RSA-SHA256");return Z.update(d),Z.end(),Z.verify(I,G,"base64")}async sign(I,d){let G=jq.createSign("RSA-SHA256");return G.update(d),G.end(),G.sign(I,"base64")}decodeBase64StringUtf8(I){return Buffer.from(I,"base64").toString("utf-8")}encodeBase64StringUtf8(I){return Buffer.from(I,"utf-8").toString("base64")}async sha256DigestHex(I){return jq.createHash("sha256").update(I).digest("hex")}async signWithHmacSha256(I,d){let G=typeof I==="string"?I:op5(I);return sp5(jq.createHmac("sha256",G).update(d).digest())}}Ed2.NodeCrypto=vd2;function sp5(I){return I.buffer.slice(I.byteOffset,I.byteOffset+I.byteLength)}function op5(I){return Buffer.from(I)}});var hq=Y((yd2)=>{Object.defineProperty(yd2,"__esModule",{value:!0});yd2.createCrypto=Ii5;yd2.hasBrowserCrypto=Ld2;yd2.fromArrayBufferToHex=di5;var ep5=Ud2(),tp5=Sd2();function Ii5(){if(Ld2())return new ep5.BrowserCrypto;return new tp5.NodeCrypto}function Ld2(){return typeof window!=="undefined"&&typeof window.crypto!=="undefined"&&typeof window.crypto.subtle!=="undefined"}function di5(I){return Array.from(new Uint8Array(I)).map((G)=>{return G.toString(16).padStart(2,"0")}).join("")}});var $d2=Y((Pd2)=>{Object.defineProperty(Pd2,"__esModule",{value:!0});Pd2.validate=Wi5;function Wi5(I){let d=[{invalid:"uri",expected:"url"},{invalid:"json",expected:"data"},{invalid:"qs",expected:"params"}];for(let G of d)if(I[G.invalid]){let Z=`'${G.invalid}' is not a valid configuration option. Please use '${G.expected}' instead. This library is using Axios for requests. Please see https://github.com/axios/axios to learn more about the valid request options.`;throw new Error(Z)}}});var dH1=Y((ZV3,Bi5)=>{Bi5.exports={name:"google-auth-library",version:"9.15.1",author:"Google Inc.",description:"Google APIs Authentication Client Library for Node.js",engines:{node:">=14"},main:"./build/src/index.js",types:"./build/src/index.d.ts",repository:"googleapis/google-auth-library-nodejs.git",keywords:["google","api","google apis","client","client library"],dependencies:{"base64-js":"^1.3.0","ecdsa-sig-formatter":"^1.0.11",gaxios:"^6.1.1","gcp-metadata":"^6.1.0",gtoken:"^7.0.0",jws:"^4.0.0"},devDependencies:{"@types/base64-js":"^1.2.5","@types/chai":"^4.1.7","@types/jws":"^3.1.0","@types/mocha":"^9.0.0","@types/mv":"^2.1.0","@types/ncp":"^2.0.1","@types/node":"^20.4.2","@types/sinon":"^17.0.0","assert-rejects":"^1.0.0",c8:"^8.0.0",chai:"^4.2.0",cheerio:"1.0.0-rc.12",codecov:"^3.0.2","engine.io":"6.6.2",gts:"^5.0.0","is-docker":"^2.0.0",jsdoc:"^4.0.0","jsdoc-fresh":"^3.0.0","jsdoc-region-tag":"^3.0.0",karma:"^6.0.0","karma-chrome-launcher":"^3.0.0","karma-coverage":"^2.0.0","karma-firefox-launcher":"^2.0.0","karma-mocha":"^2.0.0","karma-sourcemap-loader":"^0.4.0","karma-webpack":"5.0.0",keypair:"^1.0.4",linkinator:"^4.0.0",mocha:"^9.2.2",mv:"^2.1.1",ncp:"^2.0.0",nock:"^13.0.0","null-loader":"^4.0.0",pdfmake:"0.2.12",puppeteer:"^21.0.0",sinon:"^18.0.0","ts-loader":"^8.0.0",typescript:"^5.1.6",webpack:"^5.21.2","webpack-cli":"^4.0.0"},files:["build/src","!build/src/**/*.map"],scripts:{test:"c8 mocha build/test",clean:"gts clean",prepare:"npm run compile",lint:"gts check",compile:"tsc -p .",fix:"gts fix",pretest:"npm run compile -- --sourceMap",docs:"jsdoc -c .jsdoc.json","samples-setup":"cd samples/ && npm link ../ && npm run setup && cd ../","samples-test":"cd samples/ && npm link ../ && npm test && cd ../","system-test":"mocha build/system-test --timeout 60000","presystem-test":"npm run compile -- --sourceMap",webpack:"webpack","browser-test":"karma start","docs-test":"linkinator docs","predocs-test":"npm run docs",prelint:"cd samples; npm link ../; npm install",precompile:"gts clean"},license:"Apache-2.0"}});var eP=Y((Td2)=>{Object.defineProperty(Td2,"__esModule",{value:!0});Td2.DefaultTransporter=void 0;var Ai5=dW(),Vi5=$d2(),Xi5=dH1(),ud2="google-api-nodejs-client";class oP{constructor(){this.instance=new Ai5.Gaxios}configure(I={}){if(I.headers=I.headers||{},typeof window==="undefined"){let d=I.headers["User-Agent"];if(!d)I.headers["User-Agent"]=oP.USER_AGENT;else if(!d.includes(`${ud2}/`))I.headers["User-Agent"]=`${d} ${oP.USER_AGENT}`;if(!I.headers["x-goog-api-client"]){let G=process.version.replace(/^v/,"");I.headers["x-goog-api-client"]=`gl-node/${G}`}}return I}request(I){return I=this.configure(I),Vi5.validate(I),this.instance.request(I).catch((d)=>{throw this.processError(d)})}get defaults(){return this.instance.defaults}set defaults(I){this.instance.defaults=I}processError(I){let d=I.response,G=I,Z=d?d.data:null;if(d&&Z&&Z.error&&d.status!==200)if(typeof Z.error==="string")G.message=Z.error,G.status=d.status;else if(Array.isArray(Z.error.errors))G.message=Z.error.errors.map((C)=>C.message).join(`
`),G.code=Z.error.code,G.errors=Z.error.errors;else G.message=Z.error.message,G.code=Z.error.code;else if(d&&d.status>=400)G.message=Z,G.status=d.status;return G}}Td2.DefaultTransporter=oP;oP.USER_AGENT=`${ud2}/${Xi5.version}`});var kq=Y((GH1,ld2)=>{/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var nr=B1("buffer"),RB=nr.Buffer;function md2(I,d){for(var G in I)d[G]=I[G]}if(RB.from&&RB.alloc&&RB.allocUnsafe&&RB.allocUnsafeSlow)ld2.exports=nr;else md2(nr,GH1),GH1.Buffer=uJ;function uJ(I,d,G){return RB(I,d,G)}uJ.prototype=Object.create(RB.prototype);md2(RB,uJ);uJ.from=function(I,d,G){if(typeof I==="number")throw new TypeError("Argument must not be a number");return RB(I,d,G)};uJ.alloc=function(I,d,G){if(typeof I!=="number")throw new TypeError("Argument must be a number");var Z=RB(I);if(d!==void 0)if(typeof G==="string")Z.fill(d,G);else Z.fill(d);else Z.fill(0);return Z};uJ.allocUnsafe=function(I){if(typeof I!=="number")throw new TypeError("Argument must be a number");return RB(I)};uJ.allocUnsafeSlow=function(I){if(typeof I!=="number")throw new TypeError("Argument must be a number");return nr.SlowBuffer(I)}});var hd2=Y((WV3,bd2)=>{function ZH1(I){var d=(I/8|0)+(I%8===0?0:1);return d}var Yi5={ES256:ZH1(256),ES384:ZH1(384),ES512:ZH1(521)};function _i5(I){var d=Yi5[I];if(d)return d;throw new Error('Unknown algorithm "'+I+'"')}bd2.exports=_i5});var CH1=Y((wV3,id2)=>{var rr=kq().Buffer,kd2=hd2(),ar=128,xd2=0,Di5=32,Hi5=16,Fi5=2,cd2=Hi5|Di5|xd2<<6,sr=Fi5|xd2<<6;function gi5(I){return I.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function pd2(I){if(rr.isBuffer(I))return I;else if(typeof I==="string")return rr.from(I,"base64");throw new TypeError("ECDSA signature must be a Base64 string or a Buffer")}function Ji5(I,d){I=pd2(I);var G=kd2(d),Z=G+1,C=I.length,W=0;if(I[W++]!==cd2)throw new Error('Could not find expected "seq"');var w=I[W++];if(w===(ar|1))w=I[W++];if(C-W<w)throw new Error('"seq" specified length of "'+w+'", only "'+(C-W)+'" remaining');if(I[W++]!==sr)throw new Error('Could not find expected "int" for "r"');var B=I[W++];if(C-W-2<B)throw new Error('"r" specified length of "'+B+'", only "'+(C-W-2)+'" available');if(Z<B)throw new Error('"r" specified length of "'+B+'", max of "'+Z+'" is acceptable');var A=W;if(W+=B,I[W++]!==sr)throw new Error('Could not find expected "int" for "s"');var V=I[W++];if(C-W!==V)throw new Error('"s" specified length of "'+V+'", expected "'+(C-W)+'"');if(Z<V)throw new Error('"s" specified length of "'+V+'", max of "'+Z+'" is acceptable');var X=W;if(W+=V,W!==C)throw new Error('Expected to consume entire buffer, but "'+(C-W)+'" bytes remain');var _=G-B,F=G-V,g=rr.allocUnsafe(_+B+F+V);for(W=0;W<_;++W)g[W]=0;I.copy(g,W,A+Math.max(-_,0),A+B),W=G;for(var J=W;W<J+F;++W)g[W]=0;return I.copy(g,W,X+Math.max(-F,0),X+V),g=g.toString("base64"),g=gi5(g),g}function jd2(I,d,G){var Z=0;while(d+Z<G&&I[d+Z]===0)++Z;var C=I[d+Z]>=ar;if(C)--Z;return Z}function Ki5(I,d){I=pd2(I);var G=kd2(d),Z=I.length;if(Z!==G*2)throw new TypeError('"'+d+'" signatures must be "'+G*2+'" bytes, saw "'+Z+'"');var C=jd2(I,0,G),W=jd2(I,G,I.length),w=G-C,B=G-W,A=2+w+1+1+B,V=A<ar,X=rr.allocUnsafe((V?2:3)+A),_=0;if(X[_++]=cd2,V)X[_++]=A;else X[_++]=ar|1,X[_++]=A&255;if(X[_++]=sr,X[_++]=w,C<0)X[_++]=0,_+=I.copy(X,_,0,G);else _+=I.copy(X,_,C,G);if(X[_++]=sr,X[_++]=B,W<0)X[_++]=0,I.copy(X,_,G);else I.copy(X,_,G+W);return X}id2.exports={derToJose:Ji5,joseToDer:Ki5}});var pD=Y((cD)=>{var ZW=cD&&cD.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},xq,rV,WH1,wH1;Object.defineProperty(cD,"__esModule",{value:!0});cD.LRUCache=void 0;cD.snakeToCamel=nd2;cD.originalOrCamelOptions=Ni5;function nd2(I){return I.replace(/([_][^_])/g,(d)=>d.slice(1).toUpperCase())}function Ni5(I){function d(G){var Z;let C=I||{};return(Z=C[G])!==null&&Z!==void 0?Z:C[nd2(G)]}return{get:d}}class rd2{constructor(I){xq.add(this),rV.set(this,new Map),this.capacity=I.capacity,this.maxAge=I.maxAge}set(I,d){ZW(this,xq,"m",WH1).call(this,I,d),ZW(this,xq,"m",wH1).call(this)}get(I){let d=ZW(this,rV,"f").get(I);if(!d)return;return ZW(this,xq,"m",WH1).call(this,I,d.value),ZW(this,xq,"m",wH1).call(this),d.value}}cD.LRUCache=rd2;rV=new WeakMap,xq=new WeakSet,WH1=function I(d,G){ZW(this,rV,"f").delete(d),ZW(this,rV,"f").set(d,{value:G,lastAccessed:Date.now()})},wH1=function I(){let d=this.maxAge?Date.now()-this.maxAge:0,G=ZW(this,rV,"f").entries().next();while(!G.done&&(ZW(this,rV,"f").size>this.capacity||G.value[1].lastAccessed<d))ZW(this,rV,"f").delete(G.value[0]),G=ZW(this,rV,"f").entries().next()}});var UB=Y((ed2)=>{Object.defineProperty(ed2,"__esModule",{value:!0});ed2.AuthClient=ed2.DEFAULT_EAGER_REFRESH_THRESHOLD_MILLIS=ed2.DEFAULT_UNIVERSE=void 0;var zi5=B1("events"),ad2=dW(),sd2=eP(),Qi5=pD();ed2.DEFAULT_UNIVERSE="googleapis.com";ed2.DEFAULT_EAGER_REFRESH_THRESHOLD_MILLIS=300000;class od2 extends zi5.EventEmitter{constructor(I={}){var d,G,Z,C,W;super();this.credentials={},this.eagerRefreshThresholdMillis=ed2.DEFAULT_EAGER_REFRESH_THRESHOLD_MILLIS,this.forceRefreshOnFailure=!1,this.universeDomain=ed2.DEFAULT_UNIVERSE;let w=Qi5.originalOrCamelOptions(I);if(this.apiKey=I.apiKey,this.projectId=(d=w.get("project_id"))!==null&&d!==void 0?d:null,this.quotaProjectId=w.get("quota_project_id"),this.credentials=(G=w.get("credentials"))!==null&&G!==void 0?G:{},this.universeDomain=(Z=w.get("universe_domain"))!==null&&Z!==void 0?Z:ed2.DEFAULT_UNIVERSE,this.transporter=(C=I.transporter)!==null&&C!==void 0?C:new sd2.DefaultTransporter,I.transporterOptions)this.transporter.defaults=I.transporterOptions;if(I.eagerRefreshThresholdMillis)this.eagerRefreshThresholdMillis=I.eagerRefreshThresholdMillis;this.forceRefreshOnFailure=(W=I.forceRefreshOnFailure)!==null&&W!==void 0?W:!1}get gaxios(){if(this.transporter instanceof ad2.Gaxios)return this.transporter;else if(this.transporter instanceof sd2.DefaultTransporter)return this.transporter.instance;else if("instance"in this.transporter&&this.transporter.instance instanceof ad2.Gaxios)return this.transporter.instance;return null}setCredentials(I){this.credentials=I}addSharedMetadataHeaders(I){if(!I["x-goog-user-project"]&&this.quotaProjectId)I["x-goog-user-project"]=this.quotaProjectId;return I}static get RETRY_CONFIG(){return{retry:!0,retryConfig:{httpMethodsToRetry:["GET","PUT","POST","HEAD","OPTIONS","DELETE"]}}}}ed2.AuthClient=od2});var AH1=Y((GG2)=>{Object.defineProperty(GG2,"__esModule",{value:!0});GG2.LoginTicket=void 0;class dG2{constructor(I,d){this.envelope=I,this.payload=d}getEnvelope(){return this.envelope}getPayload(){return this.payload}getUserId(){let I=this.getPayload();if(I&&I.sub)return I.sub;return null}getAttributes(){return{envelope:this.getEnvelope(),payload:this.getPayload()}}}GG2.LoginTicket=dG2});var TJ=Y((WG2)=>{Object.defineProperty(WG2,"__esModule",{value:!0});WG2.OAuth2Client=WG2.ClientAuthentication=WG2.CertificateFormat=WG2.CodeChallengeMethod=void 0;var fi5=dW(),VH1=B1("querystring"),qi5=B1("stream"),Ri5=CH1(),XH1=hq(),Ui5=UB(),vi5=AH1(),CG2;(function(I){I.Plain="plain",I.S256="S256"})(CG2||(WG2.CodeChallengeMethod=CG2={}));var aV;(function(I){I.PEM="PEM",I.JWK="JWK"})(aV||(WG2.CertificateFormat=aV={}));var tP;(function(I){I.ClientSecretPost="ClientSecretPost",I.ClientSecretBasic="ClientSecretBasic",I.None="None"})(tP||(WG2.ClientAuthentication=tP={}));class _I extends Ui5.AuthClient{constructor(I,d,G){let Z=I&&typeof I==="object"?I:{clientId:I,clientSecret:d,redirectUri:G};super(Z);this.certificateCache={},this.certificateExpiry=null,this.certificateCacheFormat=aV.PEM,this.refreshTokenPromises=new Map,this._clientId=Z.clientId,this._clientSecret=Z.clientSecret,this.redirectUri=Z.redirectUri,this.endpoints={tokenInfoUrl:"https://oauth2.googleapis.com/tokeninfo",oauth2AuthBaseUrl:"https://accounts.google.com/o/oauth2/v2/auth",oauth2TokenUrl:"https://oauth2.googleapis.com/token",oauth2RevokeUrl:"https://oauth2.googleapis.com/revoke",oauth2FederatedSignonPemCertsUrl:"https://www.googleapis.com/oauth2/v1/certs",oauth2FederatedSignonJwkCertsUrl:"https://www.googleapis.com/oauth2/v3/certs",oauth2IapPublicKeyUrl:"https://www.gstatic.com/iap/verify/public_key",...Z.endpoints},this.clientAuthentication=Z.clientAuthentication||tP.ClientSecretPost,this.issuers=Z.issuers||["accounts.google.com","https://accounts.google.com",this.universeDomain]}generateAuthUrl(I={}){if(I.code_challenge_method&&!I.code_challenge)throw new Error("If a code_challenge_method is provided, code_challenge must be included.");if(I.response_type=I.response_type||"code",I.client_id=I.client_id||this._clientId,I.redirect_uri=I.redirect_uri||this.redirectUri,Array.isArray(I.scope))I.scope=I.scope.join(" ");return this.endpoints.oauth2AuthBaseUrl.toString()+"?"+VH1.stringify(I)}generateCodeVerifier(){throw new Error("generateCodeVerifier is removed, please use generateCodeVerifierAsync instead.")}async generateCodeVerifierAsync(){let I=XH1.createCrypto(),G=I.randomBytesBase64(96).replace(/\+/g,"~").replace(/=/g,"_").replace(/\//g,"-"),C=(await I.sha256DigestBase64(G)).split("=")[0].replace(/\+/g,"-").replace(/\//g,"_");return{codeVerifier:G,codeChallenge:C}}getToken(I,d){let G=typeof I==="string"?{code:I}:I;if(d)this.getTokenAsync(G).then((Z)=>d(null,Z.tokens,Z.res),(Z)=>d(Z,null,Z.response));else return this.getTokenAsync(G)}async getTokenAsync(I){let d=this.endpoints.oauth2TokenUrl.toString(),G={"Content-Type":"application/x-www-form-urlencoded"},Z={client_id:I.client_id||this._clientId,code_verifier:I.codeVerifier,code:I.code,grant_type:"authorization_code",redirect_uri:I.redirect_uri||this.redirectUri};if(this.clientAuthentication===tP.ClientSecretBasic){let w=Buffer.from(`${this._clientId}:${this._clientSecret}`);G.Authorization=`Basic ${w.toString("base64")}`}if(this.clientAuthentication===tP.ClientSecretPost)Z.client_secret=this._clientSecret;let C=await this.transporter.request({..._I.RETRY_CONFIG,method:"POST",url:d,data:VH1.stringify(Z),headers:G}),W=C.data;if(C.data&&C.data.expires_in)W.expiry_date=new Date().getTime()+C.data.expires_in*1000,delete W.expires_in;return this.emit("tokens",W),{tokens:W,res:C}}async refreshToken(I){if(!I)return this.refreshTokenNoCache(I);if(this.refreshTokenPromises.has(I))return this.refreshTokenPromises.get(I);let d=this.refreshTokenNoCache(I).then((G)=>{return this.refreshTokenPromises.delete(I),G},(G)=>{throw this.refreshTokenPromises.delete(I),G});return this.refreshTokenPromises.set(I,d),d}async refreshTokenNoCache(I){var d;if(!I)throw new Error("No refresh token is set.");let G=this.endpoints.oauth2TokenUrl.toString(),Z={refresh_token:I,client_id:this._clientId,client_secret:this._clientSecret,grant_type:"refresh_token"},C;try{C=await this.transporter.request({..._I.RETRY_CONFIG,method:"POST",url:G,data:VH1.stringify(Z),headers:{"Content-Type":"application/x-www-form-urlencoded"}})}catch(w){if(w instanceof fi5.GaxiosError&&w.message==="invalid_grant"&&((d=w.response)===null||d===void 0?void 0:d.data)&&/ReAuth/i.test(w.response.data.error_description))w.message=JSON.stringify(w.response.data);throw w}let W=C.data;if(C.data&&C.data.expires_in)W.expiry_date=new Date().getTime()+C.data.expires_in*1000,delete W.expires_in;return this.emit("tokens",W),{tokens:W,res:C}}refreshAccessToken(I){if(I)this.refreshAccessTokenAsync().then((d)=>I(null,d.credentials,d.res),I);else return this.refreshAccessTokenAsync()}async refreshAccessTokenAsync(){let I=await this.refreshToken(this.credentials.refresh_token),d=I.tokens;return d.refresh_token=this.credentials.refresh_token,this.credentials=d,{credentials:this.credentials,res:I.res}}getAccessToken(I){if(I)this.getAccessTokenAsync().then((d)=>I(null,d.token,d.res),I);else return this.getAccessTokenAsync()}async getAccessTokenAsync(){if(!this.credentials.access_token||this.isTokenExpiring()){if(!this.credentials.refresh_token)if(this.refreshHandler){let G=await this.processAndValidateRefreshHandler();if(G===null||G===void 0?void 0:G.access_token)return this.setCredentials(G),{token:this.credentials.access_token}}else throw new Error("No refresh token or refresh handler callback is set.");let d=await this.refreshAccessTokenAsync();if(!d.credentials||d.credentials&&!d.credentials.access_token)throw new Error("Could not refresh access token.");return{token:d.credentials.access_token,res:d.res}}else return{token:this.credentials.access_token}}async getRequestHeaders(I){return(await this.getRequestMetadataAsync(I)).headers}async getRequestMetadataAsync(I){let d=this.credentials;if(!d.access_token&&!d.refresh_token&&!this.apiKey&&!this.refreshHandler)throw new Error("No access, refresh token, API key or refresh handler callback is set.");if(d.access_token&&!this.isTokenExpiring()){d.token_type=d.token_type||"Bearer";let w={Authorization:d.token_type+" "+d.access_token};return{headers:this.addSharedMetadataHeaders(w)}}if(this.refreshHandler){let w=await this.processAndValidateRefreshHandler();if(w===null||w===void 0?void 0:w.access_token){this.setCredentials(w);let B={Authorization:"Bearer "+this.credentials.access_token};return{headers:this.addSharedMetadataHeaders(B)}}}if(this.apiKey)return{headers:{"X-Goog-Api-Key":this.apiKey}};let G=null,Z=null;try{G=await this.refreshToken(d.refresh_token),Z=G.tokens}catch(w){let B=w;if(B.response&&(B.response.status===403||B.response.status===404))B.message=`Could not refresh access token: ${B.message}`;throw B}let C=this.credentials;C.token_type=C.token_type||"Bearer",Z.refresh_token=C.refresh_token,this.credentials=Z;let W={Authorization:C.token_type+" "+Z.access_token};return{headers:this.addSharedMetadataHeaders(W),res:G.res}}static getRevokeTokenUrl(I){return new _I().getRevokeTokenURL(I).toString()}getRevokeTokenURL(I){let d=new URL(this.endpoints.oauth2RevokeUrl);return d.searchParams.append("token",I),d}revokeToken(I,d){let G={..._I.RETRY_CONFIG,url:this.getRevokeTokenURL(I).toString(),method:"POST"};if(d)this.transporter.request(G).then((Z)=>d(null,Z),d);else return this.transporter.request(G)}revokeCredentials(I){if(I)this.revokeCredentialsAsync().then((d)=>I(null,d),I);else return this.revokeCredentialsAsync()}async revokeCredentialsAsync(){let I=this.credentials.access_token;if(this.credentials={},I)return this.revokeToken(I);else throw new Error("No access token to revoke.")}request(I,d){if(d)this.requestAsync(I).then((G)=>d(null,G),(G)=>{return d(G,G.response)});else return this.requestAsync(I)}async requestAsync(I,d=!1){let G;try{let Z=await this.getRequestMetadataAsync(I.url);if(I.headers=I.headers||{},Z.headers&&Z.headers["x-goog-user-project"])I.headers["x-goog-user-project"]=Z.headers["x-goog-user-project"];if(Z.headers&&Z.headers.Authorization)I.headers.Authorization=Z.headers.Authorization;if(this.apiKey)I.headers["X-Goog-Api-Key"]=this.apiKey;G=await this.transporter.request(I)}catch(Z){let C=Z.response;if(C){let W=C.status,w=this.credentials&&this.credentials.access_token&&this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure),B=this.credentials&&this.credentials.access_token&&!this.credentials.refresh_token&&(!this.credentials.expiry_date||this.forceRefreshOnFailure)&&this.refreshHandler,A=C.config.data instanceof qi5.Readable,V=W===401||W===403;if(!d&&V&&!A&&w)return await this.refreshAccessTokenAsync(),this.requestAsync(I,!0);else if(!d&&V&&!A&&B){let X=await this.processAndValidateRefreshHandler();if(X===null||X===void 0?void 0:X.access_token)this.setCredentials(X);return this.requestAsync(I,!0)}}throw Z}return G}verifyIdToken(I,d){if(d&&typeof d!=="function")throw new Error("This method accepts an options object as the first parameter, which includes the idToken, audience, and maxExpiry.");if(d)this.verifyIdTokenAsync(I).then((G)=>d(null,G),d);else return this.verifyIdTokenAsync(I)}async verifyIdTokenAsync(I){if(!I.idToken)throw new Error("The verifyIdToken method requires an ID Token");let d=await this.getFederatedSignonCertsAsync();return await this.verifySignedJwtWithCertsAsync(I.idToken,d.certs,I.audience,this.issuers,I.maxExpiry)}async getTokenInfo(I){let{data:d}=await this.transporter.request({..._I.RETRY_CONFIG,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:`Bearer ${I}`},url:this.endpoints.tokenInfoUrl.toString()}),G=Object.assign({expiry_date:new Date().getTime()+d.expires_in*1000,scopes:d.scope.split(" ")},d);return delete G.expires_in,delete G.scope,G}getFederatedSignonCerts(I){if(I)this.getFederatedSignonCertsAsync().then((d)=>I(null,d.certs,d.res),I);else return this.getFederatedSignonCertsAsync()}async getFederatedSignonCertsAsync(){let I=new Date().getTime(),d=XH1.hasBrowserCrypto()?aV.JWK:aV.PEM;if(this.certificateExpiry&&I<this.certificateExpiry.getTime()&&this.certificateCacheFormat===d)return{certs:this.certificateCache,format:d};let G,Z;switch(d){case aV.PEM:Z=this.endpoints.oauth2FederatedSignonPemCertsUrl.toString();break;case aV.JWK:Z=this.endpoints.oauth2FederatedSignonJwkCertsUrl.toString();break;default:throw new Error(`Unsupported certificate format ${d}`)}try{G=await this.transporter.request({..._I.RETRY_CONFIG,url:Z})}catch(A){if(A instanceof Error)A.message=`Failed to retrieve verification certificates: ${A.message}`;throw A}let C=G?G.headers["cache-control"]:void 0,W=-1;if(C){let V=new RegExp("max-age=([0-9]*)").exec(C);if(V&&V.length===2)W=Number(V[1])*1000}let w={};switch(d){case aV.PEM:w=G.data;break;case aV.JWK:for(let A of G.data.keys)w[A.kid]=A;break;default:throw new Error(`Unsupported certificate format ${d}`)}let B=new Date;return this.certificateExpiry=W===-1?null:new Date(B.getTime()+W),this.certificateCache=w,this.certificateCacheFormat=d,{certs:w,format:d,res:G}}getIapPublicKeys(I){if(I)this.getIapPublicKeysAsync().then((d)=>I(null,d.pubkeys,d.res),I);else return this.getIapPublicKeysAsync()}async getIapPublicKeysAsync(){let I,d=this.endpoints.oauth2IapPublicKeyUrl.toString();try{I=await this.transporter.request({..._I.RETRY_CONFIG,url:d})}catch(G){if(G instanceof Error)G.message=`Failed to retrieve verification certificates: ${G.message}`;throw G}return{pubkeys:I.data,res:I}}verifySignedJwtWithCerts(){throw new Error("verifySignedJwtWithCerts is removed, please use verifySignedJwtWithCertsAsync instead.")}async verifySignedJwtWithCertsAsync(I,d,G,Z,C){let W=XH1.createCrypto();if(!C)C=_I.DEFAULT_MAX_TOKEN_LIFETIME_SECS_;let w=I.split(".");if(w.length!==3)throw new Error("Wrong number of segments in token: "+I);let B=w[0]+"."+w[1],A=w[2],V,X;try{V=JSON.parse(W.decodeBase64StringUtf8(w[0]))}catch(S){if(S instanceof Error)S.message=`Can't parse token envelope: ${w[0]}': ${S.message}`;throw S}if(!V)throw new Error("Can't parse token envelope: "+w[0]);try{X=JSON.parse(W.decodeBase64StringUtf8(w[1]))}catch(S){if(S instanceof Error)S.message=`Can't parse token payload '${w[0]}`;throw S}if(!X)throw new Error("Can't parse token payload: "+w[1]);if(!Object.prototype.hasOwnProperty.call(d,V.kid))throw new Error("No pem found for envelope: "+JSON.stringify(V));let _=d[V.kid];if(V.alg==="ES256")A=Ri5.joseToDer(A,"ES256").toString("base64");if(!await W.verify(_,B,A))throw new Error("Invalid token signature: "+I);if(!X.iat)throw new Error("No issue time in token: "+JSON.stringify(X));if(!X.exp)throw new Error("No expiration time in token: "+JSON.stringify(X));let g=Number(X.iat);if(isNaN(g))throw new Error("iat field using invalid format");let J=Number(X.exp);if(isNaN(J))throw new Error("exp field using invalid format");let K=new Date().getTime()/1000;if(J>=K+C)throw new Error("Expiration time too far in future: "+JSON.stringify(X));let Q=g-_I.CLOCK_SKEW_SECS_,E=J+_I.CLOCK_SKEW_SECS_;if(K<Q)throw new Error("Token used too early, "+K+" < "+Q+": "+JSON.stringify(X));if(K>E)throw new Error("Token used too late, "+K+" > "+E+": "+JSON.stringify(X));if(Z&&Z.indexOf(X.iss)<0)throw new Error("Invalid issuer, expected one of ["+Z+"], but got "+X.iss);if(typeof G!=="undefined"&&G!==null){let S=X.aud,P=!1;if(G.constructor===Array)P=G.indexOf(S)>-1;else P=S===G;if(!P)throw new Error("Wrong recipient, payload audience != requiredAudience")}return new vi5.LoginTicket(V,X)}async processAndValidateRefreshHandler(){if(this.refreshHandler){let I=await this.refreshHandler();if(!I.access_token)throw new Error("No access token is returned by the refreshHandler callback.");return I}return}isTokenExpiring(){let I=this.credentials.expiry_date;return I?I<=new Date().getTime()+this.eagerRefreshThresholdMillis:!1}}WG2.OAuth2Client=_I;_I.GOOGLE_TOKEN_INFO_URL="https://oauth2.googleapis.com/tokeninfo";_I.CLOCK_SKEW_SECS_=300;_I.DEFAULT_MAX_TOKEN_LIFETIME_SECS_=86400});var YH1=Y((VG2)=>{Object.defineProperty(VG2,"__esModule",{value:!0});VG2.Compute=void 0;var Li5=dW(),BG2=sP(),yi5=TJ();class AG2 extends yi5.OAuth2Client{constructor(I={}){super(I);this.credentials={expiry_date:1,refresh_token:"compute-placeholder"},this.serviceAccountEmail=I.serviceAccountEmail||"default",this.scopes=Array.isArray(I.scopes)?I.scopes:I.scopes?[I.scopes]:[]}async refreshTokenNoCache(I){let d=`service-accounts/${this.serviceAccountEmail}/token`,G;try{let C={property:d};if(this.scopes.length>0)C.params={scopes:this.scopes.join(",")};G=await BG2.instance(C)}catch(C){if(C instanceof Li5.GaxiosError)C.message=`Could not refresh access token: ${C.message}`,this.wrapError(C);throw C}let Z=G;if(G&&G.expires_in)Z.expiry_date=new Date().getTime()+G.expires_in*1000,delete Z.expires_in;return this.emit("tokens",Z),{tokens:Z,res:null}}async fetchIdToken(I){let d=`service-accounts/${this.serviceAccountEmail}/identity?format=full&audience=${I}`,G;try{let Z={property:d};G=await BG2.instance(Z)}catch(Z){if(Z instanceof Error)Z.message=`Could not fetch ID token: ${Z.message}`;throw Z}return G}wrapError(I){let d=I.response;if(d&&d.status){if(I.status=d.status,d.status===403)I.message="A Forbidden error was returned while attempting to retrieve an access token for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have the correct permission scopes specified: "+I.message;else if(d.status===404)I.message="A Not Found error was returned while attempting to retrieve an accesstoken for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have any permission scopes specified: "+I.message}}}VG2.Compute=AG2});var _H1=Y((_G2)=>{Object.defineProperty(_G2,"__esModule",{value:!0});_G2.IdTokenClient=void 0;var Pi5=TJ();class YG2 extends Pi5.OAuth2Client{constructor(I){super(I);this.targetAudience=I.targetAudience,this.idTokenProvider=I.idTokenProvider}async getRequestMetadataAsync(I){if(!this.credentials.id_token||!this.credentials.expiry_date||this.isTokenExpiring()){let G=await this.idTokenProvider.fetchIdToken(this.targetAudience);this.credentials={id_token:G,expiry_date:this.getIdTokenExpiryDate(G)}}return{headers:{Authorization:"Bearer "+this.credentials.id_token}}}getIdTokenExpiryDate(I){let d=I.split(".")[1];if(d)return JSON.parse(Buffer.from(d,"base64").toString("ascii")).exp*1000}}_G2.IdTokenClient=YG2});var DH1=Y((FG2)=>{Object.defineProperty(FG2,"__esModule",{value:!0});FG2.GCPEnv=void 0;FG2.clear=$i5;FG2.getEnv=ui5;var HG2=sP(),sV;(function(I){I.APP_ENGINE="APP_ENGINE",I.KUBERNETES_ENGINE="KUBERNETES_ENGINE",I.CLOUD_FUNCTIONS="CLOUD_FUNCTIONS",I.COMPUTE_ENGINE="COMPUTE_ENGINE",I.CLOUD_RUN="CLOUD_RUN",I.NONE="NONE"})(sV||(FG2.GCPEnv=sV={}));var I$;function $i5(){I$=void 0}async function ui5(){if(I$)return I$;return I$=Ti5(),I$}async function Ti5(){let I=sV.NONE;if(Oi5())I=sV.APP_ENGINE;else if(mi5())I=sV.CLOUD_FUNCTIONS;else if(await hi5())if(await bi5())I=sV.KUBERNETES_ENGINE;else if(li5())I=sV.CLOUD_RUN;else I=sV.COMPUTE_ENGINE;else I=sV.NONE;return I}function Oi5(){return!!(process.env.GAE_SERVICE||process.env.GAE_MODULE_NAME)}function mi5(){return!!(process.env.FUNCTION_NAME||process.env.FUNCTION_TARGET)}function li5(){return!!process.env.K_CONFIGURATION}async function bi5(){try{return await HG2.instance("attributes/cluster-name"),!0}catch(I){return!1}}async function hi5(){return HG2.isAvailable()}});var HH1=Y((HV3,JG2)=>{var or=kq().Buffer,xi5=B1("stream"),ci5=B1("util");function er(I){if(this.buffer=null,this.writable=!0,this.readable=!0,!I)return this.buffer=or.alloc(0),this;if(typeof I.pipe==="function")return this.buffer=or.alloc(0),I.pipe(this),this;if(I.length||typeof I==="object")return this.buffer=I,this.writable=!1,process.nextTick(function(){this.emit("end",I),this.readable=!1,this.emit("close")}.bind(this)),this;throw new TypeError("Unexpected data type ("+typeof I+")")}ci5.inherits(er,xi5);er.prototype.write=function I(d){this.buffer=or.concat([this.buffer,or.from(d)]),this.emit("data",d)};er.prototype.end=function I(d){if(d)this.write(d);this.emit("end",d),this.emit("close"),this.writable=!1,this.readable=!1};JG2.exports=er});var NG2=Y((FV3,KG2)=>{var d$=B1("buffer").Buffer,FH1=B1("buffer").SlowBuffer;KG2.exports=tr;function tr(I,d){if(!d$.isBuffer(I)||!d$.isBuffer(d))return!1;if(I.length!==d.length)return!1;var G=0;for(var Z=0;Z<I.length;Z++)G|=I[Z]^d[Z];return G===0}tr.install=function(){d$.prototype.equal=FH1.prototype.equal=function I(d){return tr(this,d)}};var pi5=d$.prototype.equal,ii5=FH1.prototype.equal;tr.restore=function(){d$.prototype.equal=pi5,FH1.prototype.equal=ii5}});var KH1=Y((gV3,MG2)=>{var ni5=NG2(),pq=kq().Buffer,vB=B1("crypto"),QG2=CH1(),zG2=B1("util"),ri5=`"%s" is not a valid algorithm.
  Supported algorithms are:
  "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "PS256", "PS384", "PS512", "ES256", "ES384", "ES512" and "none".`,G$="secret must be a string or buffer",cq="key must be a string or a buffer",ai5="key must be a string, a buffer or an object",gH1=typeof vB.createPublicKey==="function";if(gH1)cq+=" or a KeyObject",G$+="or a KeyObject";function fG2(I){if(pq.isBuffer(I))return;if(typeof I==="string")return;if(!gH1)throw CW(cq);if(typeof I!=="object")throw CW(cq);if(typeof I.type!=="string")throw CW(cq);if(typeof I.asymmetricKeyType!=="string")throw CW(cq);if(typeof I.export!=="function")throw CW(cq)}function qG2(I){if(pq.isBuffer(I))return;if(typeof I==="string")return;if(typeof I==="object")return;throw CW(ai5)}function si5(I){if(pq.isBuffer(I))return;if(typeof I==="string")return I;if(!gH1)throw CW(G$);if(typeof I!=="object")throw CW(G$);if(I.type!=="secret")throw CW(G$);if(typeof I.export!=="function")throw CW(G$)}function JH1(I){return I.replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function RG2(I){I=I.toString();var d=4-I.length%4;if(d!==4)for(var G=0;G<d;++G)I+="=";return I.replace(/\-/g,"+").replace(/_/g,"/")}function CW(I){var d=[].slice.call(arguments,1),G=zG2.format.bind(zG2,I).apply(null,d);return new TypeError(G)}function oi5(I){return pq.isBuffer(I)||typeof I==="string"}function Z$(I){if(!oi5(I))I=JSON.stringify(I);return I}function UG2(I){return function d(G,Z){si5(Z),G=Z$(G);var C=vB.createHmac("sha"+I,Z),W=(C.update(G),C.digest("base64"));return JH1(W)}}function ei5(I){return function d(G,Z,C){var W=UG2(I)(G,C);return ni5(pq.from(Z),pq.from(W))}}function vG2(I){return function d(G,Z){qG2(Z),G=Z$(G);var C=vB.createSign("RSA-SHA"+I),W=(C.update(G),C.sign(Z,"base64"));return JH1(W)}}function EG2(I){return function d(G,Z,C){fG2(C),G=Z$(G),Z=RG2(Z);var W=vB.createVerify("RSA-SHA"+I);return W.update(G),W.verify(C,Z,"base64")}}function ti5(I){return function d(G,Z){qG2(Z),G=Z$(G);var C=vB.createSign("RSA-SHA"+I),W=(C.update(G),C.sign({key:Z,padding:vB.constants.RSA_PKCS1_PSS_PADDING,saltLength:vB.constants.RSA_PSS_SALTLEN_DIGEST},"base64"));return JH1(W)}}function In5(I){return function d(G,Z,C){fG2(C),G=Z$(G),Z=RG2(Z);var W=vB.createVerify("RSA-SHA"+I);return W.update(G),W.verify({key:C,padding:vB.constants.RSA_PKCS1_PSS_PADDING,saltLength:vB.constants.RSA_PSS_SALTLEN_DIGEST},Z,"base64")}}function dn5(I){var d=vG2(I);return function G(){var Z=d.apply(null,arguments);return Z=QG2.derToJose(Z,"ES"+I),Z}}function Gn5(I){var d=EG2(I);return function G(Z,C,W){C=QG2.joseToDer(C,"ES"+I).toString("base64");var w=d(Z,C,W);return w}}function Zn5(){return function I(){return""}}function Cn5(){return function I(d,G){return G===""}}MG2.exports=function I(d){var G={hs:UG2,rs:vG2,ps:ti5,es:dn5,none:Zn5},Z={hs:ei5,rs:EG2,ps:In5,es:Gn5,none:Cn5},C=d.match(/^(RS|PS|ES|HS)(256|384|512)$|^(none)$/);if(!C)throw CW(ri5,d);var W=(C[1]||C[3]).toLowerCase(),w=C[2];return{sign:G[W](w),verify:Z[W](w)}}});var NH1=Y((JV3,SG2)=>{var Wn5=B1("buffer").Buffer;SG2.exports=function I(d){if(typeof d==="string")return d;if(typeof d==="number"||Wn5.isBuffer(d))return d.toString();return JSON.stringify(d)}});var TG2=Y((KV3,uG2)=>{var wn5=kq().Buffer,LG2=HH1(),Bn5=KH1(),An5=B1("stream"),yG2=NH1(),zH1=B1("util");function PG2(I,d){return wn5.from(I,d).toString("base64").replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function Vn5(I,d,G){G=G||"utf8";var Z=PG2(yG2(I),"binary"),C=PG2(yG2(d),G);return zH1.format("%s.%s",Z,C)}function $G2(I){var{header:d,payload:G}=I,Z=I.secret||I.privateKey,C=I.encoding,W=Bn5(d.alg),w=Vn5(d,G,C),B=W.sign(w,Z);return zH1.format("%s.%s",w,B)}function Ia(I){var d=I.secret||I.privateKey||I.key,G=new LG2(d);this.readable=!0,this.header=I.header,this.encoding=I.encoding,this.secret=this.privateKey=this.key=G,this.payload=new LG2(I.payload),this.secret.once("close",function(){if(!this.payload.writable&&this.readable)this.sign()}.bind(this)),this.payload.once("close",function(){if(!this.secret.writable&&this.readable)this.sign()}.bind(this))}zH1.inherits(Ia,An5);Ia.prototype.sign=function I(){try{var d=$G2({header:this.header,payload:this.payload.buffer,secret:this.secret.buffer,encoding:this.encoding});return this.emit("done",d),this.emit("data",d),this.emit("end"),this.readable=!1,d}catch(G){this.readable=!1,this.emit("error",G),this.emit("close")}};Ia.sign=$G2;uG2.exports=Ia});var pG2=Y((NV3,cG2)=>{var mG2=kq().Buffer,OG2=HH1(),Xn5=KH1(),Yn5=B1("stream"),lG2=NH1(),_n5=B1("util"),Dn5=/^[a-zA-Z0-9\-_]+?\.[a-zA-Z0-9\-_]+?\.([a-zA-Z0-9\-_]+)?$/;function Hn5(I){return Object.prototype.toString.call(I)==="[object Object]"}function Fn5(I){if(Hn5(I))return I;try{return JSON.parse(I)}catch(d){return}}function bG2(I){var d=I.split(".",1)[0];return Fn5(mG2.from(d,"base64").toString("binary"))}function gn5(I){return I.split(".",2).join(".")}function hG2(I){return I.split(".")[2]}function Jn5(I,d){d=d||"utf8";var G=I.split(".")[1];return mG2.from(G,"base64").toString(d)}function jG2(I){return Dn5.test(I)&&!!bG2(I)}function kG2(I,d,G){if(!d){var Z=new Error("Missing algorithm parameter for jws.verify");throw Z.code="MISSING_ALGORITHM",Z}I=lG2(I);var C=hG2(I),W=gn5(I),w=Xn5(d);return w.verify(W,C,G)}function xG2(I,d){if(d=d||{},I=lG2(I),!jG2(I))return null;var G=bG2(I);if(!G)return null;var Z=Jn5(I);if(G.typ==="JWT"||d.json)Z=JSON.parse(Z,d.encoding);return{header:G,payload:Z,signature:hG2(I)}}function iq(I){I=I||{};var d=I.secret||I.publicKey||I.key,G=new OG2(d);this.readable=!0,this.algorithm=I.algorithm,this.encoding=I.encoding,this.secret=this.publicKey=this.key=G,this.signature=new OG2(I.signature),this.secret.once("close",function(){if(!this.signature.writable&&this.readable)this.verify()}.bind(this)),this.signature.once("close",function(){if(!this.secret.writable&&this.readable)this.verify()}.bind(this))}_n5.inherits(iq,Yn5);iq.prototype.verify=function I(){try{var d=kG2(this.signature.buffer,this.algorithm,this.key.buffer),G=xG2(this.signature.buffer,this.encoding);return this.emit("done",d,G),this.emit("data",d),this.emit("end"),this.readable=!1,d}catch(Z){this.readable=!1,this.emit("error",Z),this.emit("close")}};iq.decode=xG2;iq.isValid=jG2;iq.verify=kG2;cG2.exports=iq});var QH1=Y((Nn5)=>{var iG2=TG2(),da=pG2(),Kn5=["HS256","HS384","HS512","RS256","RS384","RS512","PS256","PS384","PS512","ES256","ES384","ES512"];Nn5.ALGORITHMS=Kn5;Nn5.sign=iG2.sign;Nn5.verify=da.verify;Nn5.decode=da.decode;Nn5.isValid=da.isValid;Nn5.createSign=function I(d){return new iG2(d)};Nn5.createVerify=function I(d){return new da(d)}});var dZ2=Y((iD)=>{var WW=iD&&iD.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},nG2=iD&&iD.__classPrivateFieldSet||function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},wW,nq,fH1,rG2,aG2,qH1,RH1,sG2;Object.defineProperty(iD,"__esModule",{value:!0});iD.GoogleToken=void 0;var oG2=B1("fs"),En5=dW(),Mn5=QH1(),Sn5=B1("path"),Ln5=B1("util"),eG2=oG2.readFile?Ln5.promisify(oG2.readFile):async()=>{throw new rq("use key rather than keyFile.","MISSING_CREDENTIALS")},tG2="https://www.googleapis.com/oauth2/v4/token",yn5="https://accounts.google.com/o/oauth2/revoke?token=";class rq extends Error{constructor(I,d){super(I);this.code=d}}class IZ2{get accessToken(){return this.rawToken?this.rawToken.access_token:void 0}get idToken(){return this.rawToken?this.rawToken.id_token:void 0}get tokenType(){return this.rawToken?this.rawToken.token_type:void 0}get refreshToken(){return this.rawToken?this.rawToken.refresh_token:void 0}constructor(I){wW.add(this),this.transporter={request:(d)=>En5.request(d)},nq.set(this,void 0),WW(this,wW,"m",RH1).call(this,I)}hasExpired(){let I=new Date().getTime();if(this.rawToken&&this.expiresAt)return I>=this.expiresAt;else return!0}isTokenExpiring(){var I;let d=new Date().getTime(),G=(I=this.eagerRefreshThresholdMillis)!==null&&I!==void 0?I:0;if(this.rawToken&&this.expiresAt)return this.expiresAt<=d+G;else return!0}getToken(I,d={}){if(typeof I==="object")d=I,I=void 0;if(d=Object.assign({forceRefresh:!1},d),I){let G=I;WW(this,wW,"m",fH1).call(this,d).then((Z)=>G(null,Z),I);return}return WW(this,wW,"m",fH1).call(this,d)}async getCredentials(I){switch(Sn5.extname(I)){case".json":{let G=await eG2(I,"utf8"),Z=JSON.parse(G),C=Z.private_key,W=Z.client_email;if(!C||!W)throw new rq("private_key and client_email are required.","MISSING_CREDENTIALS");return{privateKey:C,clientEmail:W}}case".der":case".crt":case".pem":return{privateKey:await eG2(I,"utf8")};case".p12":case".pfx":throw new rq("*.p12 certificates are not supported after v6.1.2. Consider utilizing *.json format or converting *.p12 to *.pem using the OpenSSL CLI.","UNKNOWN_CERTIFICATE_TYPE");default:throw new rq("Unknown certificate type. Type is determined based on file extension. Current supported extensions are *.json, and *.pem.","UNKNOWN_CERTIFICATE_TYPE")}}revokeToken(I){if(I){WW(this,wW,"m",qH1).call(this).then(()=>I(),I);return}return WW(this,wW,"m",qH1).call(this)}}iD.GoogleToken=IZ2;nq=new WeakMap,wW=new WeakSet,fH1=async function I(d){if(WW(this,nq,"f")&&!d.forceRefresh)return WW(this,nq,"f");try{return await nG2(this,nq,WW(this,wW,"m",rG2).call(this,d),"f")}finally{nG2(this,nq,void 0,"f")}},rG2=async function I(d){if(this.isTokenExpiring()===!1&&d.forceRefresh===!1)return Promise.resolve(this.rawToken);if(!this.key&&!this.keyFile)throw new Error("No key or keyFile set.");if(!this.key&&this.keyFile){let G=await this.getCredentials(this.keyFile);if(this.key=G.privateKey,this.iss=G.clientEmail||this.iss,!G.clientEmail)WW(this,wW,"m",aG2).call(this)}return WW(this,wW,"m",sG2).call(this)},aG2=function I(){if(!this.iss)throw new rq("email is required.","MISSING_CREDENTIALS")},qH1=async function I(){if(!this.accessToken)throw new Error("No token to revoke.");let d=yn5+this.accessToken;await this.transporter.request({url:d,retry:!0}),WW(this,wW,"m",RH1).call(this,{email:this.iss,sub:this.sub,key:this.key,keyFile:this.keyFile,scope:this.scope,additionalClaims:this.additionalClaims})},RH1=function I(d={}){if(this.keyFile=d.keyFile,this.key=d.key,this.rawToken=void 0,this.iss=d.email||d.iss,this.sub=d.sub,this.additionalClaims=d.additionalClaims,typeof d.scope==="object")this.scope=d.scope.join(" ");else this.scope=d.scope;if(this.eagerRefreshThresholdMillis=d.eagerRefreshThresholdMillis,d.transporter)this.transporter=d.transporter},sG2=async function I(){var d,G;let Z=Math.floor(new Date().getTime()/1000),C=this.additionalClaims||{},W=Object.assign({iss:this.iss,scope:this.scope,aud:tG2,exp:Z+3600,iat:Z,sub:this.sub},C),w=Mn5.sign({header:{alg:"RS256"},payload:W,secret:this.key});try{let B=await this.transporter.request({method:"POST",url:tG2,data:{grant_type:"urn:ietf:params:oauth:grant-type:jwt-bearer",assertion:w},headers:{"Content-Type":"application/x-www-form-urlencoded"},responseType:"json",retryConfig:{httpMethodsToRetry:["POST"]}});return this.rawToken=B.data,this.expiresAt=B.data.expires_in===null||B.data.expires_in===void 0?void 0:(Z+B.data.expires_in)*1000,this.rawToken}catch(B){this.rawToken=void 0,this.tokenExpires=void 0;let A=B.response&&((d=B.response)===null||d===void 0?void 0:d.data)?(G=B.response)===null||G===void 0?void 0:G.data:{};if(A.error){let V=A.error_description?`: ${A.error_description}`:"";B.message=`${A.error}${V}`}throw B}}});var vH1=Y((ZZ2)=>{Object.defineProperty(ZZ2,"__esModule",{value:!0});ZZ2.JWTAccess=void 0;var Pn5=QH1(),$n5=pD(),GZ2={alg:"RS256",typ:"JWT"};class UH1{constructor(I,d,G,Z){this.cache=new $n5.LRUCache({capacity:500,maxAge:3600000}),this.email=I,this.key=d,this.keyId=G,this.eagerRefreshThresholdMillis=Z!==null&&Z!==void 0?Z:300000}getCachedKey(I,d){let G=I;if(d&&Array.isArray(d)&&d.length)G=I?`${I}_${d.join("_")}`:`${d.join("_")}`;else if(typeof d==="string")G=I?`${I}_${d}`:d;if(!G)throw Error("Scopes or url must be provided");return G}getRequestHeaders(I,d,G){let Z=this.getCachedKey(I,G),C=this.cache.get(Z),W=Date.now();if(C&&C.expiration-W>this.eagerRefreshThresholdMillis)return C.headers;let w=Math.floor(Date.now()/1000),B=UH1.getExpirationTime(w),A;if(Array.isArray(G))G=G.join(" ");if(G)A={iss:this.email,sub:this.email,scope:G,exp:B,iat:w};else A={iss:this.email,sub:this.email,aud:I,exp:B,iat:w};if(d){for(let g in A)if(d[g])throw new Error(`The '${g}' property is not allowed when passing additionalClaims. This claim is included in the JWT by default.`)}let V=this.keyId?{...GZ2,kid:this.keyId}:GZ2,X=Object.assign(A,d),F={Authorization:`Bearer ${Pn5.sign({header:V,payload:X,secret:this.key})}`};return this.cache.set(Z,{expiration:B*1000,headers:F}),F}static getExpirationTime(I){return I+3600}fromJSON(I){if(!I)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!I.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!I.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=I.client_email,this.key=I.private_key,this.keyId=I.private_key_id,this.projectId=I.project_id}fromStream(I,d){if(d)this.fromStreamAsync(I).then(()=>d(),d);else return this.fromStreamAsync(I)}fromStreamAsync(I){return new Promise((d,G)=>{if(!I)G(new Error("Must pass in a stream containing the service account auth settings."));let Z="";I.setEncoding("utf8").on("data",(C)=>Z+=C).on("error",G).on("end",()=>{try{let C=JSON.parse(Z);this.fromJSON(C),d()}catch(C){G(C)}})})}}ZZ2.JWTAccess=UH1});var MH1=Y((wZ2)=>{Object.defineProperty(wZ2,"__esModule",{value:!0});wZ2.JWT=void 0;var WZ2=dZ2(),un5=vH1(),Tn5=TJ(),Ga=UB();class EH1 extends Tn5.OAuth2Client{constructor(I,d,G,Z,C,W){let w=I&&typeof I==="object"?I:{email:I,keyFile:d,key:G,keyId:W,scopes:Z,subject:C};super(w);this.email=w.email,this.keyFile=w.keyFile,this.key=w.key,this.keyId=w.keyId,this.scopes=w.scopes,this.subject=w.subject,this.additionalClaims=w.additionalClaims,this.credentials={refresh_token:"jwt-placeholder",expiry_date:1}}createScoped(I){let d=new EH1(this);return d.scopes=I,d}async getRequestMetadataAsync(I){I=this.defaultServicePath?`https://${this.defaultServicePath}/`:I;let d=!this.hasUserScopes()&&I||this.useJWTAccessWithScope&&this.hasAnyScopes()||this.universeDomain!==Ga.DEFAULT_UNIVERSE;if(this.subject&&this.universeDomain!==Ga.DEFAULT_UNIVERSE)throw new RangeError(`Service Account user is configured for the credential. Domain-wide delegation is not supported in universes other than ${Ga.DEFAULT_UNIVERSE}`);if(!this.apiKey&&d)if(this.additionalClaims&&this.additionalClaims.target_audience){let{tokens:G}=await this.refreshToken();return{headers:this.addSharedMetadataHeaders({Authorization:`Bearer ${G.id_token}`})}}else{if(!this.access)this.access=new un5.JWTAccess(this.email,this.key,this.keyId,this.eagerRefreshThresholdMillis);let G;if(this.hasUserScopes())G=this.scopes;else if(!I)G=this.defaultScopes;let Z=this.useJWTAccessWithScope||this.universeDomain!==Ga.DEFAULT_UNIVERSE,C=await this.access.getRequestHeaders(I!==null&&I!==void 0?I:void 0,this.additionalClaims,Z?G:void 0);return{headers:this.addSharedMetadataHeaders(C)}}else if(this.hasAnyScopes()||this.apiKey)return super.getRequestMetadataAsync(I);else return{headers:{}}}async fetchIdToken(I){let d=new WZ2.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:{target_audience:I},transporter:this.transporter});if(await d.getToken({forceRefresh:!0}),!d.idToken)throw new Error("Unknown error: Failed to fetch ID token");return d.idToken}hasUserScopes(){if(!this.scopes)return!1;return this.scopes.length>0}hasAnyScopes(){if(this.scopes&&this.scopes.length>0)return!0;if(this.defaultScopes&&this.defaultScopes.length>0)return!0;return!1}authorize(I){if(I)this.authorizeAsync().then((d)=>I(null,d),I);else return this.authorizeAsync()}async authorizeAsync(){let I=await this.refreshToken();if(!I)throw new Error("No result returned");return this.credentials=I.tokens,this.credentials.refresh_token="jwt-placeholder",this.key=this.gtoken.key,this.email=this.gtoken.iss,I.tokens}async refreshTokenNoCache(I){let d=this.createGToken(),Z={access_token:(await d.getToken({forceRefresh:this.isTokenExpiring()})).access_token,token_type:"Bearer",expiry_date:d.expiresAt,id_token:d.idToken};return this.emit("tokens",Z),{res:null,tokens:Z}}createGToken(){if(!this.gtoken)this.gtoken=new WZ2.GoogleToken({iss:this.email,sub:this.subject,scope:this.scopes||this.defaultScopes,keyFile:this.keyFile,key:this.key,additionalClaims:this.additionalClaims,transporter:this.transporter});return this.gtoken}fromJSON(I){if(!I)throw new Error("Must pass in a JSON object containing the service account auth settings.");if(!I.client_email)throw new Error("The incoming JSON object does not contain a client_email field");if(!I.private_key)throw new Error("The incoming JSON object does not contain a private_key field");this.email=I.client_email,this.key=I.private_key,this.keyId=I.private_key_id,this.projectId=I.project_id,this.quotaProjectId=I.quota_project_id,this.universeDomain=I.universe_domain||this.universeDomain}fromStream(I,d){if(d)this.fromStreamAsync(I).then(()=>d(),d);else return this.fromStreamAsync(I)}fromStreamAsync(I){return new Promise((d,G)=>{if(!I)throw new Error("Must pass in a stream containing the service account auth settings.");let Z="";I.setEncoding("utf8").on("error",G).on("data",(C)=>Z+=C).on("end",()=>{try{let C=JSON.parse(Z);this.fromJSON(C),d()}catch(C){G(C)}})})}fromAPIKey(I){if(typeof I!=="string")throw new Error("Must provide an API Key string.");this.apiKey=I}async getCredentials(){if(this.key)return{private_key:this.key,client_email:this.email};else if(this.keyFile){let d=await this.createGToken().getCredentials(this.keyFile);return{private_key:d.privateKey,client_email:d.clientEmail}}throw new Error("A key or a keyFile must be provided to getCredentials.")}}wZ2.JWT=EH1});var SH1=Y((AZ2)=>{Object.defineProperty(AZ2,"__esModule",{value:!0});AZ2.UserRefreshClient=AZ2.USER_REFRESH_ACCOUNT_TYPE=void 0;var On5=TJ(),mn5=B1("querystring");AZ2.USER_REFRESH_ACCOUNT_TYPE="authorized_user";class Za extends On5.OAuth2Client{constructor(I,d,G,Z,C){let W=I&&typeof I==="object"?I:{clientId:I,clientSecret:d,refreshToken:G,eagerRefreshThresholdMillis:Z,forceRefreshOnFailure:C};super(W);this._refreshToken=W.refreshToken,this.credentials.refresh_token=W.refreshToken}async refreshTokenNoCache(I){return super.refreshTokenNoCache(this._refreshToken)}async fetchIdToken(I){return(await this.transporter.request({...Za.RETRY_CONFIG,url:this.endpoints.oauth2TokenUrl,headers:{"Content-Type":"application/x-www-form-urlencoded"},method:"POST",data:mn5.stringify({client_id:this._clientId,client_secret:this._clientSecret,grant_type:"refresh_token",refresh_token:this._refreshToken,target_audience:I})})).data.id_token}fromJSON(I){if(!I)throw new Error("Must pass in a JSON object containing the user refresh token");if(I.type!=="authorized_user")throw new Error('The incoming JSON object does not have the "authorized_user" type');if(!I.client_id)throw new Error("The incoming JSON object does not contain a client_id field");if(!I.client_secret)throw new Error("The incoming JSON object does not contain a client_secret field");if(!I.refresh_token)throw new Error("The incoming JSON object does not contain a refresh_token field");this._clientId=I.client_id,this._clientSecret=I.client_secret,this._refreshToken=I.refresh_token,this.credentials.refresh_token=I.refresh_token,this.quotaProjectId=I.quota_project_id,this.universeDomain=I.universe_domain||this.universeDomain}fromStream(I,d){if(d)this.fromStreamAsync(I).then(()=>d(),d);else return this.fromStreamAsync(I)}async fromStreamAsync(I){return new Promise((d,G)=>{if(!I)return G(new Error("Must pass in a stream containing the user refresh token."));let Z="";I.setEncoding("utf8").on("error",G).on("data",(C)=>Z+=C).on("end",()=>{try{let C=JSON.parse(Z);return this.fromJSON(C),d()}catch(C){return G(C)}})})}static fromJSON(I){let d=new Za;return d.fromJSON(I),d}}AZ2.UserRefreshClient=Za});var LH1=Y((YZ2)=>{Object.defineProperty(YZ2,"__esModule",{value:!0});YZ2.Impersonated=YZ2.IMPERSONATED_ACCOUNT_TYPE=void 0;var XZ2=TJ(),bn5=dW(),hn5=pD();YZ2.IMPERSONATED_ACCOUNT_TYPE="impersonated_service_account";class C$ extends XZ2.OAuth2Client{constructor(I={}){var d,G,Z,C,W,w;super(I);if(this.credentials={expiry_date:1,refresh_token:"impersonated-placeholder"},this.sourceClient=(d=I.sourceClient)!==null&&d!==void 0?d:new XZ2.OAuth2Client,this.targetPrincipal=(G=I.targetPrincipal)!==null&&G!==void 0?G:"",this.delegates=(Z=I.delegates)!==null&&Z!==void 0?Z:[],this.targetScopes=(C=I.targetScopes)!==null&&C!==void 0?C:[],this.lifetime=(W=I.lifetime)!==null&&W!==void 0?W:3600,!hn5.originalOrCamelOptions(I).get("universe_domain"))this.universeDomain=this.sourceClient.universeDomain;else if(this.sourceClient.universeDomain!==this.universeDomain)throw new RangeError(`Universe domain ${this.sourceClient.universeDomain} in source credentials does not match ${this.universeDomain} universe domain set for impersonated credentials.`);this.endpoint=(w=I.endpoint)!==null&&w!==void 0?w:`https://iamcredentials.${this.universeDomain}`}async sign(I){await this.sourceClient.getAccessToken();let d=`projects/-/serviceAccounts/${this.targetPrincipal}`,G=`${this.endpoint}/v1/${d}:signBlob`,Z={delegates:this.delegates,payload:Buffer.from(I).toString("base64")};return(await this.sourceClient.request({...C$.RETRY_CONFIG,url:G,data:Z,method:"POST"})).data}getTargetPrincipal(){return this.targetPrincipal}async refreshToken(){var I,d,G,Z,C,W;try{await this.sourceClient.getAccessToken();let w="projects/-/serviceAccounts/"+this.targetPrincipal,B=`${this.endpoint}/v1/${w}:generateAccessToken`,A={delegates:this.delegates,scope:this.targetScopes,lifetime:this.lifetime+"s"},V=await this.sourceClient.request({...C$.RETRY_CONFIG,url:B,data:A,method:"POST"}),X=V.data;return this.credentials.access_token=X.accessToken,this.credentials.expiry_date=Date.parse(X.expireTime),{tokens:this.credentials,res:V}}catch(w){if(!(w instanceof Error))throw w;let B=0,A="";if(w instanceof bn5.GaxiosError)B=(G=(d=(I=w===null||w===void 0?void 0:w.response)===null||I===void 0?void 0:I.data)===null||d===void 0?void 0:d.error)===null||G===void 0?void 0:G.status,A=(W=(C=(Z=w===null||w===void 0?void 0:w.response)===null||Z===void 0?void 0:Z.data)===null||C===void 0?void 0:C.error)===null||W===void 0?void 0:W.message;if(B&&A)throw w.message=`${B}: unable to impersonate: ${A}`,w;else throw w.message=`unable to impersonate: ${w}`,w}}async fetchIdToken(I,d){var G,Z;await this.sourceClient.getAccessToken();let C=`projects/-/serviceAccounts/${this.targetPrincipal}`,W=`${this.endpoint}/v1/${C}:generateIdToken`,w={delegates:this.delegates,audience:I,includeEmail:(G=d===null||d===void 0?void 0:d.includeEmail)!==null&&G!==void 0?G:!0,useEmailAzp:(Z=d===null||d===void 0?void 0:d.includeEmail)!==null&&Z!==void 0?Z:!0};return(await this.sourceClient.request({...C$.RETRY_CONFIG,url:W,data:w,method:"POST"})).data.token}}YZ2.Impersonated=C$});var yH1=Y((FZ2)=>{Object.defineProperty(FZ2,"__esModule",{value:!0});FZ2.OAuthClientAuthHandler=void 0;FZ2.getErrorFromOAuthErrorResponse=cn5;var DZ2=B1("querystring"),kn5=hq(),xn5=["PUT","POST","PATCH"];class HZ2{constructor(I){this.clientAuthentication=I,this.crypto=kn5.createCrypto()}applyClientAuthenticationOptions(I,d){if(this.injectAuthenticatedHeaders(I,d),!d)this.injectAuthenticatedRequestBody(I)}injectAuthenticatedHeaders(I,d){var G;if(d)I.headers=I.headers||{},Object.assign(I.headers,{Authorization:`Bearer ${d}}`});else if(((G=this.clientAuthentication)===null||G===void 0?void 0:G.confidentialClientType)==="basic"){I.headers=I.headers||{};let Z=this.clientAuthentication.clientId,C=this.clientAuthentication.clientSecret||"",W=this.crypto.encodeBase64StringUtf8(`${Z}:${C}`);Object.assign(I.headers,{Authorization:`Basic ${W}`})}}injectAuthenticatedRequestBody(I){var d;if(((d=this.clientAuthentication)===null||d===void 0?void 0:d.confidentialClientType)==="request-body"){let G=(I.method||"GET").toUpperCase();if(xn5.indexOf(G)!==-1){let Z,C=I.headers||{};for(let W in C)if(W.toLowerCase()==="content-type"&&C[W]){Z=C[W].toLowerCase();break}if(Z==="application/x-www-form-urlencoded"){I.data=I.data||"";let W=DZ2.parse(I.data);Object.assign(W,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""}),I.data=DZ2.stringify(W)}else if(Z==="application/json")I.data=I.data||{},Object.assign(I.data,{client_id:this.clientAuthentication.clientId,client_secret:this.clientAuthentication.clientSecret||""});else throw new Error(`${Z} content-types are not supported with ${this.clientAuthentication.confidentialClientType} client authentication`)}else throw new Error(`${G} HTTP method does not support ${this.clientAuthentication.confidentialClientType} client authentication`)}}static get RETRY_CONFIG(){return{retry:!0,retryConfig:{httpMethodsToRetry:["GET","PUT","POST","HEAD","OPTIONS","DELETE"]}}}}FZ2.OAuthClientAuthHandler=HZ2;function cn5(I,d){let{error:G,error_description:Z,error_uri:C}=I,W=`Error code ${G}`;if(typeof Z!=="undefined")W+=`: ${Z}`;if(typeof C!=="undefined")W+=` - ${C}`;let w=new Error(W);if(d){let B=Object.keys(d);if(d.stack)B.push("stack");B.forEach((A)=>{if(A!=="message")Object.defineProperty(w,A,{value:d[A],writable:!1,enumerable:!0})})}return w}});var $H1=Y((KZ2)=>{Object.defineProperty(KZ2,"__esModule",{value:!0});KZ2.StsCredentials=void 0;var in5=dW(),nn5=B1("querystring"),rn5=eP(),JZ2=yH1();class PH1 extends JZ2.OAuthClientAuthHandler{constructor(I,d){super(d);this.tokenExchangeEndpoint=I,this.transporter=new rn5.DefaultTransporter}async exchangeToken(I,d,G){var Z,C,W;let w={grant_type:I.grantType,resource:I.resource,audience:I.audience,scope:(Z=I.scope)===null||Z===void 0?void 0:Z.join(" "),requested_token_type:I.requestedTokenType,subject_token:I.subjectToken,subject_token_type:I.subjectTokenType,actor_token:(C=I.actingParty)===null||C===void 0?void 0:C.actorToken,actor_token_type:(W=I.actingParty)===null||W===void 0?void 0:W.actorTokenType,options:G&&JSON.stringify(G)};Object.keys(w).forEach((V)=>{if(typeof w[V]==="undefined")delete w[V]});let B={"Content-Type":"application/x-www-form-urlencoded"};Object.assign(B,d||{});let A={...PH1.RETRY_CONFIG,url:this.tokenExchangeEndpoint.toString(),method:"POST",headers:B,data:nn5.stringify(w),responseType:"json"};this.applyClientAuthenticationOptions(A);try{let V=await this.transporter.request(A),X=V.data;return X.res=V,X}catch(V){if(V instanceof in5.GaxiosError&&V.response)throw JZ2.getErrorFromOAuthErrorResponse(V.response.data,V);throw V}}}KZ2.StsCredentials=PH1});var nD=Y((z8)=>{var uH1=z8&&z8.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},zZ2=z8&&z8.__classPrivateFieldSet||function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},TH1,aq,fZ2;Object.defineProperty(z8,"__esModule",{value:!0});z8.BaseExternalAccountClient=z8.DEFAULT_UNIVERSE=z8.CLOUD_RESOURCE_MANAGER=z8.EXTERNAL_ACCOUNT_TYPE=z8.EXPIRATION_TIME_OFFSET=void 0;var an5=B1("stream"),sn5=UB(),on5=$H1(),QZ2=pD(),en5="urn:ietf:params:oauth:grant-type:token-exchange",tn5="urn:ietf:params:oauth:token-type:access_token",OH1="https://www.googleapis.com/auth/cloud-platform",Ir5=3600;z8.EXPIRATION_TIME_OFFSET=300000;z8.EXTERNAL_ACCOUNT_TYPE="external_account";z8.CLOUD_RESOURCE_MANAGER="https://cloudresourcemanager.googleapis.com/v1/projects/";var dr5="//iam\\.googleapis\\.com/locations/[^/]+/workforcePools/[^/]+/providers/.+",Gr5="https://sts.{universeDomain}/v1/token",Zr5=dH1(),Cr5=UB();Object.defineProperty(z8,"DEFAULT_UNIVERSE",{enumerable:!0,get:function(){return Cr5.DEFAULT_UNIVERSE}});class Ca extends sn5.AuthClient{constructor(I,d){var G;super({...I,...d});TH1.add(this),aq.set(this,null);let Z=QZ2.originalOrCamelOptions(I),C=Z.get("type");if(C&&C!==z8.EXTERNAL_ACCOUNT_TYPE)throw new Error(`Expected "${z8.EXTERNAL_ACCOUNT_TYPE}" type but received "${I.type}"`);let W=Z.get("client_id"),w=Z.get("client_secret"),B=(G=Z.get("token_url"))!==null&&G!==void 0?G:Gr5.replace("{universeDomain}",this.universeDomain),A=Z.get("subject_token_type"),V=Z.get("workforce_pool_user_project"),X=Z.get("service_account_impersonation_url"),_=Z.get("service_account_impersonation"),F=QZ2.originalOrCamelOptions(_).get("token_lifetime_seconds");if(this.cloudResourceManagerURL=new URL(Z.get("cloud_resource_manager_url")||`https://cloudresourcemanager.${this.universeDomain}/v1/projects/`),W)this.clientAuth={confidentialClientType:"basic",clientId:W,clientSecret:w};this.stsCredential=new on5.StsCredentials(B,this.clientAuth),this.scopes=Z.get("scopes")||[OH1],this.cachedAccessToken=null,this.audience=Z.get("audience"),this.subjectTokenType=A,this.workforcePoolUserProject=V;let g=new RegExp(dr5);if(this.workforcePoolUserProject&&!this.audience.match(g))throw new Error("workforcePoolUserProject should not be set for non-workforce pool credentials.");if(this.serviceAccountImpersonationUrl=X,this.serviceAccountImpersonationLifetime=F,this.serviceAccountImpersonationLifetime)this.configLifetimeRequested=!0;else this.configLifetimeRequested=!1,this.serviceAccountImpersonationLifetime=Ir5;this.projectNumber=this.getProjectNumber(this.audience),this.supplierContext={audience:this.audience,subjectTokenType:this.subjectTokenType,transporter:this.transporter}}getServiceAccountEmail(){var I;if(this.serviceAccountImpersonationUrl){if(this.serviceAccountImpersonationUrl.length>256)throw new RangeError(`URL is too long: ${this.serviceAccountImpersonationUrl}`);let G=/serviceAccounts\/(?<email>[^:]+):generateAccessToken$/.exec(this.serviceAccountImpersonationUrl);return((I=G===null||G===void 0?void 0:G.groups)===null||I===void 0?void 0:I.email)||null}return null}setCredentials(I){super.setCredentials(I),this.cachedAccessToken=I}async getAccessToken(){if(!this.cachedAccessToken||this.isExpired(this.cachedAccessToken))await this.refreshAccessTokenAsync();return{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){let d={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(d)}request(I,d){if(d)this.requestAsync(I).then((G)=>d(null,G),(G)=>{return d(G,G.response)});else return this.requestAsync(I)}async getProjectId(){let I=this.projectNumber||this.workforcePoolUserProject;if(this.projectId)return this.projectId;else if(I){let d=await this.getRequestHeaders(),G=await this.transporter.request({...Ca.RETRY_CONFIG,headers:d,url:`${this.cloudResourceManagerURL.toString()}${I}`,responseType:"json"});return this.projectId=G.data.projectId,this.projectId}return null}async requestAsync(I,d=!1){let G;try{let Z=await this.getRequestHeaders();if(I.headers=I.headers||{},Z&&Z["x-goog-user-project"])I.headers["x-goog-user-project"]=Z["x-goog-user-project"];if(Z&&Z.Authorization)I.headers.Authorization=Z.Authorization;G=await this.transporter.request(I)}catch(Z){let C=Z.response;if(C){let W=C.status,w=C.config.data instanceof an5.Readable;if(!d&&(W===401||W===403)&&!w&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(I,!0)}throw Z}return G}async refreshAccessTokenAsync(){zZ2(this,aq,uH1(this,aq,"f")||uH1(this,TH1,"m",fZ2).call(this),"f");try{return await uH1(this,aq,"f")}finally{zZ2(this,aq,null,"f")}}getProjectNumber(I){let d=I.match(/\/projects\/([^/]+)/);if(!d)return null;return d[1]}async getImpersonatedAccessToken(I){let d={...Ca.RETRY_CONFIG,url:this.serviceAccountImpersonationUrl,method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${I}`},data:{scope:this.getScopesArray(),lifetime:this.serviceAccountImpersonationLifetime+"s"},responseType:"json"},G=await this.transporter.request(d),Z=G.data;return{access_token:Z.accessToken,expiry_date:new Date(Z.expireTime).getTime(),res:G}}isExpired(I){let d=new Date().getTime();return I.expiry_date?d>=I.expiry_date-this.eagerRefreshThresholdMillis:!1}getScopesArray(){if(typeof this.scopes==="string")return[this.scopes];return this.scopes||[OH1]}getMetricsHeaderValue(){let I=process.version.replace(/^v/,""),d=this.serviceAccountImpersonationUrl!==void 0,G=this.credentialSourceType?this.credentialSourceType:"unknown";return`gl-node/${I} auth/${Zr5.version} google-byoid-sdk source/${G} sa-impersonation/${d} config-lifetime/${this.configLifetimeRequested}`}}z8.BaseExternalAccountClient=Ca;aq=new WeakMap,TH1=new WeakSet,fZ2=async function I(){let d=await this.retrieveSubjectToken(),G={grantType:en5,audience:this.audience,requestedTokenType:tn5,subjectToken:d,subjectTokenType:this.subjectTokenType,scope:this.serviceAccountImpersonationUrl?[OH1]:this.getScopesArray()},Z=!this.clientAuth&&this.workforcePoolUserProject?{userProject:this.workforcePoolUserProject}:void 0,C={"x-goog-api-client":this.getMetricsHeaderValue()},W=await this.stsCredential.exchangeToken(G,C,Z);if(this.serviceAccountImpersonationUrl)this.cachedAccessToken=await this.getImpersonatedAccessToken(W.access_token);else if(W.expires_in)this.cachedAccessToken={access_token:W.access_token,expiry_date:new Date().getTime()+W.expires_in*1000,res:W.res};else this.cachedAccessToken={access_token:W.access_token,res:W.res};return this.credentials={},Object.assign(this.credentials,this.cachedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedAccessToken.expiry_date,access_token:this.cachedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedAccessToken}});var vZ2=Y((RZ2)=>{var mH1,lH1,bH1;Object.defineProperty(RZ2,"__esModule",{value:!0});RZ2.FileSubjectTokenSupplier=void 0;var hH1=B1("util"),jH1=B1("fs"),Wr5=hH1.promisify((mH1=jH1.readFile)!==null&&mH1!==void 0?mH1:()=>{}),wr5=hH1.promisify((lH1=jH1.realpath)!==null&&lH1!==void 0?lH1:()=>{}),Br5=hH1.promisify((bH1=jH1.lstat)!==null&&bH1!==void 0?bH1:()=>{});class qZ2{constructor(I){this.filePath=I.filePath,this.formatType=I.formatType,this.subjectTokenFieldName=I.subjectTokenFieldName}async getSubjectToken(I){let d=this.filePath;try{if(d=await wr5(d),!(await Br5(d)).isFile())throw new Error}catch(C){if(C instanceof Error)C.message=`The file at ${d} does not exist, or it is not a file. ${C.message}`;throw C}let G,Z=await Wr5(d,{encoding:"utf8"});if(this.formatType==="text")G=Z;else if(this.formatType==="json"&&this.subjectTokenFieldName)G=JSON.parse(Z)[this.subjectTokenFieldName];if(!G)throw new Error("Unable to parse the subject_token from the credential_source file");return G}}RZ2.FileSubjectTokenSupplier=qZ2});var LZ2=Y((MZ2)=>{Object.defineProperty(MZ2,"__esModule",{value:!0});MZ2.UrlSubjectTokenSupplier=void 0;class EZ2{constructor(I){this.url=I.url,this.formatType=I.formatType,this.subjectTokenFieldName=I.subjectTokenFieldName,this.headers=I.headers,this.additionalGaxiosOptions=I.additionalGaxiosOptions}async getSubjectToken(I){let d={...this.additionalGaxiosOptions,url:this.url,method:"GET",headers:this.headers,responseType:this.formatType},G;if(this.formatType==="text")G=(await I.transporter.request(d)).data;else if(this.formatType==="json"&&this.subjectTokenFieldName)G=(await I.transporter.request(d)).data[this.subjectTokenFieldName];if(!G)throw new Error("Unable to parse the subject_token from the credential_source URL");return G}}MZ2.UrlSubjectTokenSupplier=EZ2});var cH1=Y((yZ2)=>{Object.defineProperty(yZ2,"__esModule",{value:!0});yZ2.IdentityPoolClient=void 0;var Ar5=nD(),kH1=pD(),Vr5=vZ2(),Xr5=LZ2();class xH1 extends Ar5.BaseExternalAccountClient{constructor(I,d){super(I,d);let G=kH1.originalOrCamelOptions(I),Z=G.get("credential_source"),C=G.get("subject_token_supplier");if(!Z&&!C)throw new Error("A credential source or subject token supplier must be specified.");if(Z&&C)throw new Error("Only one of credential source or subject token supplier can be specified.");if(C)this.subjectTokenSupplier=C,this.credentialSourceType="programmatic";else{let W=kH1.originalOrCamelOptions(Z),w=kH1.originalOrCamelOptions(W.get("format")),B=w.get("type")||"text",A=w.get("subject_token_field_name");if(B!=="json"&&B!=="text")throw new Error(`Invalid credential_source format "${B}"`);if(B==="json"&&!A)throw new Error("Missing subject_token_field_name for JSON credential_source format");let V=W.get("file"),X=W.get("url"),_=W.get("headers");if(V&&X)throw new Error('No valid Identity Pool "credential_source" provided, must be either file or url.');else if(V&&!X)this.credentialSourceType="file",this.subjectTokenSupplier=new Vr5.FileSubjectTokenSupplier({filePath:V,formatType:B,subjectTokenFieldName:A});else if(!V&&X)this.credentialSourceType="url",this.subjectTokenSupplier=new Xr5.UrlSubjectTokenSupplier({url:X,formatType:B,subjectTokenFieldName:A,headers:_,additionalGaxiosOptions:xH1.RETRY_CONFIG});else throw new Error('No valid Identity Pool "credential_source" provided, must be either file or url.')}}async retrieveSubjectToken(){return this.subjectTokenSupplier.getSubjectToken(this.supplierContext)}}yZ2.IdentityPoolClient=xH1});var pH1=Y((OZ2)=>{Object.defineProperty(OZ2,"__esModule",{value:!0});OZ2.AwsRequestSigner=void 0;var uZ2=hq(),$Z2="AWS4-HMAC-SHA256",Yr5="aws4_request";class TZ2{constructor(I,d){this.getCredentials=I,this.region=d,this.crypto=uZ2.createCrypto()}async getRequestOptions(I){if(!I.url)throw new Error('"url" is required in "amzOptions"');let d=typeof I.data==="object"?JSON.stringify(I.data):I.data,G=I.url,Z=I.method||"GET",C=I.body||d,W=I.headers,w=await this.getCredentials(),B=new URL(G),A=await Dr5({crypto:this.crypto,host:B.host,canonicalUri:B.pathname,canonicalQuerystring:B.search.substr(1),method:Z,region:this.region,securityCredentials:w,requestPayload:C,additionalAmzHeaders:W}),V=Object.assign(A.amzDate?{"x-amz-date":A.amzDate}:{},{Authorization:A.authorizationHeader,host:B.host},W||{});if(w.token)Object.assign(V,{"x-amz-security-token":w.token});let X={url:G,method:Z,headers:V};if(typeof C!=="undefined")X.body=C;return X}}OZ2.AwsRequestSigner=TZ2;async function W$(I,d,G){return await I.signWithHmacSha256(d,G)}async function _r5(I,d,G,Z,C){let W=await W$(I,`AWS4${d}`,G),w=await W$(I,W,Z),B=await W$(I,w,C);return await W$(I,B,"aws4_request")}async function Dr5(I){let d=I.additionalAmzHeaders||{},G=I.requestPayload||"",Z=I.host.split(".")[0],C=new Date,W=C.toISOString().replace(/[-:]/g,"").replace(/\.[0-9]+/,""),w=C.toISOString().replace(/[-]/g,"").replace(/T.*/,""),B={};if(Object.keys(d).forEach((P)=>{B[P.toLowerCase()]=d[P]}),I.securityCredentials.token)B["x-amz-security-token"]=I.securityCredentials.token;let A=Object.assign({host:I.host},B.date?{}:{"x-amz-date":W},B),V="",X=Object.keys(A).sort();X.forEach((P)=>{V+=`${P}:${A[P]}
`});let _=X.join(";"),F=await I.crypto.sha256DigestHex(G),g=`${I.method}
${I.canonicalUri}
${I.canonicalQuerystring}
${V}
${_}
${F}`,J=`${w}/${I.region}/${Z}/${Yr5}`,K=`${$Z2}
${W}
${J}
`+await I.crypto.sha256DigestHex(g),Q=await _r5(I.crypto,I.securityCredentials.secretAccessKey,w,I.region,Z),E=await W$(I.crypto,Q,K),S=`${$Z2} Credential=${I.securityCredentials.accessKeyId}/${J}, SignedHeaders=${_}, Signature=${uZ2.fromArrayBufferToHex(E)}`;return{amzDate:B.date?void 0:W,authorizationHeader:S,canonicalQuerystring:I.canonicalQuerystring}}});var jZ2=Y((sq)=>{var oV=sq&&sq.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},BW,iH1,lZ2,bZ2,Wa,nH1;Object.defineProperty(sq,"__esModule",{value:!0});sq.DefaultAwsSecurityCredentialsSupplier=void 0;class hZ2{constructor(I){BW.add(this),this.regionUrl=I.regionUrl,this.securityCredentialsUrl=I.securityCredentialsUrl,this.imdsV2SessionTokenUrl=I.imdsV2SessionTokenUrl,this.additionalGaxiosOptions=I.additionalGaxiosOptions}async getAwsRegion(I){if(oV(this,BW,"a",Wa))return oV(this,BW,"a",Wa);let d={};if(!oV(this,BW,"a",Wa)&&this.imdsV2SessionTokenUrl)d["x-aws-ec2-metadata-token"]=await oV(this,BW,"m",iH1).call(this,I.transporter);if(!this.regionUrl)throw new Error('Unable to determine AWS region due to missing "options.credential_source.region_url"');let G={...this.additionalGaxiosOptions,url:this.regionUrl,method:"GET",responseType:"text",headers:d},Z=await I.transporter.request(G);return Z.data.substr(0,Z.data.length-1)}async getAwsSecurityCredentials(I){if(oV(this,BW,"a",nH1))return oV(this,BW,"a",nH1);let d={};if(this.imdsV2SessionTokenUrl)d["x-aws-ec2-metadata-token"]=await oV(this,BW,"m",iH1).call(this,I.transporter);let G=await oV(this,BW,"m",lZ2).call(this,d,I.transporter),Z=await oV(this,BW,"m",bZ2).call(this,G,d,I.transporter);return{accessKeyId:Z.AccessKeyId,secretAccessKey:Z.SecretAccessKey,token:Z.Token}}}sq.DefaultAwsSecurityCredentialsSupplier=hZ2;BW=new WeakSet,iH1=async function I(d){let G={...this.additionalGaxiosOptions,url:this.imdsV2SessionTokenUrl,method:"PUT",responseType:"text",headers:{"x-aws-ec2-metadata-token-ttl-seconds":"300"}};return(await d.request(G)).data},lZ2=async function I(d,G){if(!this.securityCredentialsUrl)throw new Error('Unable to determine AWS role name due to missing "options.credential_source.url"');let Z={...this.additionalGaxiosOptions,url:this.securityCredentialsUrl,method:"GET",responseType:"text",headers:d};return(await G.request(Z)).data},bZ2=async function I(d,G,Z){return(await Z.request({...this.additionalGaxiosOptions,url:`${this.securityCredentialsUrl}/${d}`,responseType:"json",headers:G})).data},Wa=function I(){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||null},nH1=function I(){if(process.env.AWS_ACCESS_KEY_ID&&process.env.AWS_SECRET_ACCESS_KEY)return{accessKeyId:process.env.AWS_ACCESS_KEY_ID,secretAccessKey:process.env.AWS_SECRET_ACCESS_KEY,token:process.env.AWS_SESSION_TOKEN};return null}});var rH1=Y((oq)=>{var Hr5=oq&&oq.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},wa,xZ2;Object.defineProperty(oq,"__esModule",{value:!0});oq.AwsClient=void 0;var Fr5=pH1(),gr5=nD(),Jr5=jZ2(),kZ2=pD();class w$ extends gr5.BaseExternalAccountClient{constructor(I,d){super(I,d);let G=kZ2.originalOrCamelOptions(I),Z=G.get("credential_source"),C=G.get("aws_security_credentials_supplier");if(!Z&&!C)throw new Error("A credential source or AWS security credentials supplier must be specified.");if(Z&&C)throw new Error("Only one of credential source or AWS security credentials supplier can be specified.");if(C)this.awsSecurityCredentialsSupplier=C,this.regionalCredVerificationUrl=Hr5(wa,wa,"f",xZ2),this.credentialSourceType="programmatic";else{let W=kZ2.originalOrCamelOptions(Z);this.environmentId=W.get("environment_id");let w=W.get("region_url"),B=W.get("url"),A=W.get("imdsv2_session_token_url");this.awsSecurityCredentialsSupplier=new Jr5.DefaultAwsSecurityCredentialsSupplier({regionUrl:w,securityCredentialsUrl:B,imdsV2SessionTokenUrl:A}),this.regionalCredVerificationUrl=W.get("regional_cred_verification_url"),this.credentialSourceType="aws",this.validateEnvironmentId()}this.awsRequestSigner=null,this.region=""}validateEnvironmentId(){var I;let d=(I=this.environmentId)===null||I===void 0?void 0:I.match(/^(aws)(\d+)$/);if(!d||!this.regionalCredVerificationUrl)throw new Error('No valid AWS "credential_source" provided');else if(parseInt(d[2],10)!==1)throw new Error(`aws version "${d[2]}" is not supported in the current build.`)}async retrieveSubjectToken(){if(!this.awsRequestSigner)this.region=await this.awsSecurityCredentialsSupplier.getAwsRegion(this.supplierContext),this.awsRequestSigner=new Fr5.AwsRequestSigner(async()=>{return this.awsSecurityCredentialsSupplier.getAwsSecurityCredentials(this.supplierContext)},this.region);let I=await this.awsRequestSigner.getRequestOptions({...wa.RETRY_CONFIG,url:this.regionalCredVerificationUrl.replace("{region}",this.region),method:"POST"}),d=[],G=Object.assign({"x-goog-cloud-target-resource":this.audience},I.headers);for(let Z in G)d.push({key:Z,value:G[Z]});return encodeURIComponent(JSON.stringify({url:I.url,method:I.method,headers:d}))}}oq.AwsClient=w$;wa=w$;xZ2={value:"https://sts.{region}.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"};w$.AWS_EC2_METADATA_IPV4_ADDRESS="169.254.169.254";w$.AWS_EC2_METADATA_IPV6_ADDRESS="fd00:ec2::254"});var GF1=Y((iZ2)=>{Object.defineProperty(iZ2,"__esModule",{value:!0});iZ2.InvalidSubjectTokenError=iZ2.InvalidMessageFieldError=iZ2.InvalidCodeFieldError=iZ2.InvalidTokenTypeFieldError=iZ2.InvalidExpirationTimeFieldError=iZ2.InvalidSuccessFieldError=iZ2.InvalidVersionFieldError=iZ2.ExecutableResponseError=iZ2.ExecutableResponse=void 0;var Ba="urn:ietf:params:oauth:token-type:saml2",aH1="urn:ietf:params:oauth:token-type:id_token",sH1="urn:ietf:params:oauth:token-type:jwt";class cZ2{constructor(I){if(!I.version)throw new oH1("Executable response must contain a 'version' field.");if(I.success===void 0)throw new eH1("Executable response must contain a 'success' field.");if(this.version=I.version,this.success=I.success,this.success){if(this.expirationTime=I.expiration_time,this.tokenType=I.token_type,this.tokenType!==Ba&&this.tokenType!==aH1&&this.tokenType!==sH1)throw new tH1(`Executable response must contain a 'token_type' field when successful and it must be one of ${aH1}, ${sH1}, or ${Ba}.`);if(this.tokenType===Ba){if(!I.saml_response)throw new Aa(`Executable response must contain a 'saml_response' field when token_type=${Ba}.`);this.subjectToken=I.saml_response}else{if(!I.id_token)throw new Aa(`Executable response must contain a 'id_token' field when token_type=${aH1} or ${sH1}.`);this.subjectToken=I.id_token}}else{if(!I.code)throw new IF1("Executable response must contain a 'code' field when unsuccessful.");if(!I.message)throw new dF1("Executable response must contain a 'message' field when unsuccessful.");this.errorCode=I.code,this.errorMessage=I.message}}isValid(){return!this.isExpired()&&this.success}isExpired(){return this.expirationTime!==void 0&&this.expirationTime<Math.round(Date.now()/1000)}}iZ2.ExecutableResponse=cZ2;class eV extends Error{constructor(I){super(I);Object.setPrototypeOf(this,new.target.prototype)}}iZ2.ExecutableResponseError=eV;class oH1 extends eV{}iZ2.InvalidVersionFieldError=oH1;class eH1 extends eV{}iZ2.InvalidSuccessFieldError=eH1;class pZ2 extends eV{}iZ2.InvalidExpirationTimeFieldError=pZ2;class tH1 extends eV{}iZ2.InvalidTokenTypeFieldError=tH1;class IF1 extends eV{}iZ2.InvalidCodeFieldError=IF1;class dF1 extends eV{}iZ2.InvalidMessageFieldError=dF1;class Aa extends eV{}iZ2.InvalidSubjectTokenError=Aa});var sZ2=Y((rZ2)=>{Object.defineProperty(rZ2,"__esModule",{value:!0});rZ2.PluggableAuthHandler=void 0;var vr5=Va(),OJ=GF1(),Er5=B1("child_process"),ZF1=B1("fs");class CF1{constructor(I){if(!I.command)throw new Error("No command provided.");if(this.commandComponents=CF1.parseCommand(I.command),this.timeoutMillis=I.timeoutMillis,!this.timeoutMillis)throw new Error("No timeoutMillis provided.");this.outputFile=I.outputFile}retrieveResponseFromExecutable(I){return new Promise((d,G)=>{let Z=Er5.spawn(this.commandComponents[0],this.commandComponents.slice(1),{env:{...process.env,...Object.fromEntries(I)}}),C="";Z.stdout.on("data",(w)=>{C+=w}),Z.stderr.on("data",(w)=>{C+=w});let W=setTimeout(()=>{return Z.removeAllListeners(),Z.kill(),G(new Error("The executable failed to finish within the timeout specified."))},this.timeoutMillis);Z.on("close",(w)=>{if(clearTimeout(W),w===0)try{let B=JSON.parse(C),A=new OJ.ExecutableResponse(B);return d(A)}catch(B){if(B instanceof OJ.ExecutableResponseError)return G(B);return G(new OJ.ExecutableResponseError(`The executable returned an invalid response: ${C}`))}else return G(new vr5.ExecutableError(C,w.toString()))})})}async retrieveCachedResponse(){if(!this.outputFile||this.outputFile.length===0)return;let I;try{I=await ZF1.promises.realpath(this.outputFile)}catch(G){return}if(!(await ZF1.promises.lstat(I)).isFile())return;let d=await ZF1.promises.readFile(I,{encoding:"utf8"});if(d==="")return;try{let G=JSON.parse(d);if(new OJ.ExecutableResponse(G).isValid())return new OJ.ExecutableResponse(G);return}catch(G){if(G instanceof OJ.ExecutableResponseError)throw G;throw new OJ.ExecutableResponseError(`The output file contained an invalid response: ${d}`)}}static parseCommand(I){let d=I.match(/(?:[^\s"]+|"[^"]*")+/g);if(!d)throw new Error(`Provided command: "${I}" could not be parsed.`);for(let G=0;G<d.length;G++)if(d[G][0]==='"'&&d[G].slice(-1)==='"')d[G]=d[G].slice(1,-1);return d}}rZ2.PluggableAuthHandler=CF1});var Va=Y((dC2)=>{Object.defineProperty(dC2,"__esModule",{value:!0});dC2.PluggableAuthClient=dC2.ExecutableError=void 0;var Mr5=nD(),Sr5=GF1(),Lr5=sZ2();class WF1 extends Error{constructor(I,d){super(`The executable failed with exit code: ${d} and error message: ${I}.`);this.code=d,Object.setPrototypeOf(this,new.target.prototype)}}dC2.ExecutableError=WF1;var yr5=30000,oZ2=5000,eZ2=120000,Pr5="GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES",tZ2=1;class IC2 extends Mr5.BaseExternalAccountClient{constructor(I,d){super(I,d);if(!I.credential_source.executable)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(this.command=I.credential_source.executable.command,!this.command)throw new Error('No valid Pluggable Auth "credential_source" provided.');if(I.credential_source.executable.timeout_millis===void 0)this.timeoutMillis=yr5;else if(this.timeoutMillis=I.credential_source.executable.timeout_millis,this.timeoutMillis<oZ2||this.timeoutMillis>eZ2)throw new Error(`Timeout must be between ${oZ2} and ${eZ2} milliseconds.`);this.outputFile=I.credential_source.executable.output_file,this.handler=new Lr5.PluggableAuthHandler({command:this.command,timeoutMillis:this.timeoutMillis,outputFile:this.outputFile}),this.credentialSourceType="executable"}async retrieveSubjectToken(){if(process.env[Pr5]!=="1")throw new Error("Pluggable Auth executables need to be explicitly allowed to run by setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment Variable to 1.");let I=void 0;if(this.outputFile)I=await this.handler.retrieveCachedResponse();if(!I){let d=new Map;if(d.set("GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE",this.audience),d.set("GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE",this.subjectTokenType),d.set("GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE","0"),this.outputFile)d.set("GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE",this.outputFile);let G=this.getServiceAccountEmail();if(G)d.set("GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL",G);I=await this.handler.retrieveResponseFromExecutable(d)}if(I.version>tZ2)throw new Error(`Version of executable is not currently supported, maximum supported version is ${tZ2}.`);if(!I.success)throw new WF1(I.errorMessage,I.errorCode);if(this.outputFile){if(!I.expirationTime)throw new Sr5.InvalidExpirationTimeFieldError("The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.")}if(I.isExpired())throw new Error("Executable response is expired.");return I.subjectToken}}dC2.PluggableAuthClient=IC2});var wF1=Y((CC2)=>{Object.defineProperty(CC2,"__esModule",{value:!0});CC2.ExternalAccountClient=void 0;var ur5=nD(),Tr5=cH1(),Or5=rH1(),mr5=Va();class ZC2{constructor(){throw new Error("ExternalAccountClients should be initialized via: ExternalAccountClient.fromJSON(), directly via explicit constructors, eg. new AwsClient(options), new IdentityPoolClient(options), newPluggableAuthClientOptions, or via new GoogleAuth(options).getClient()")}static fromJSON(I,d){var G,Z;if(I&&I.type===ur5.EXTERNAL_ACCOUNT_TYPE)if((G=I.credential_source)===null||G===void 0?void 0:G.environment_id)return new Or5.AwsClient(I,d);else if((Z=I.credential_source)===null||Z===void 0?void 0:Z.executable)return new mr5.PluggableAuthClient(I,d);else return new Tr5.IdentityPoolClient(I,d);else return null}}CC2.ExternalAccountClient=ZC2});var XC2=Y((AC2)=>{Object.defineProperty(AC2,"__esModule",{value:!0});AC2.ExternalAccountAuthorizedUserClient=AC2.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE=void 0;var lr5=UB(),wC2=yH1(),br5=dW(),hr5=B1("stream"),jr5=nD();AC2.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE="external_account_authorized_user";var kr5="https://sts.{universeDomain}/v1/oauthtoken";class BF1 extends wC2.OAuthClientAuthHandler{constructor(I,d,G){super(G);this.url=I,this.transporter=d}async refreshToken(I,d){let G=new URLSearchParams({grant_type:"refresh_token",refresh_token:I}),Z={"Content-Type":"application/x-www-form-urlencoded",...d},C={...BF1.RETRY_CONFIG,url:this.url,method:"POST",headers:Z,data:G.toString(),responseType:"json"};this.applyClientAuthenticationOptions(C);try{let W=await this.transporter.request(C),w=W.data;return w.res=W,w}catch(W){if(W instanceof br5.GaxiosError&&W.response)throw wC2.getErrorFromOAuthErrorResponse(W.response.data,W);throw W}}}class BC2 extends lr5.AuthClient{constructor(I,d){var G;super({...I,...d});if(I.universe_domain)this.universeDomain=I.universe_domain;this.refreshToken=I.refresh_token;let Z={confidentialClientType:"basic",clientId:I.client_id,clientSecret:I.client_secret};if(this.externalAccountAuthorizedUserHandler=new BF1((G=I.token_url)!==null&&G!==void 0?G:kr5.replace("{universeDomain}",this.universeDomain),this.transporter,Z),this.cachedAccessToken=null,this.quotaProjectId=I.quota_project_id,typeof(d===null||d===void 0?void 0:d.eagerRefreshThresholdMillis)!=="number")this.eagerRefreshThresholdMillis=jr5.EXPIRATION_TIME_OFFSET;else this.eagerRefreshThresholdMillis=d.eagerRefreshThresholdMillis;this.forceRefreshOnFailure=!!(d===null||d===void 0?void 0:d.forceRefreshOnFailure)}async getAccessToken(){if(!this.cachedAccessToken||this.isExpired(this.cachedAccessToken))await this.refreshAccessTokenAsync();return{token:this.cachedAccessToken.access_token,res:this.cachedAccessToken.res}}async getRequestHeaders(){let d={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(d)}request(I,d){if(d)this.requestAsync(I).then((G)=>d(null,G),(G)=>{return d(G,G.response)});else return this.requestAsync(I)}async requestAsync(I,d=!1){let G;try{let Z=await this.getRequestHeaders();if(I.headers=I.headers||{},Z&&Z["x-goog-user-project"])I.headers["x-goog-user-project"]=Z["x-goog-user-project"];if(Z&&Z.Authorization)I.headers.Authorization=Z.Authorization;G=await this.transporter.request(I)}catch(Z){let C=Z.response;if(C){let W=C.status,w=C.config.data instanceof hr5.Readable;if(!d&&(W===401||W===403)&&!w&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(I,!0)}throw Z}return G}async refreshAccessTokenAsync(){let I=await this.externalAccountAuthorizedUserHandler.refreshToken(this.refreshToken);if(this.cachedAccessToken={access_token:I.access_token,expiry_date:new Date().getTime()+I.expires_in*1000,res:I.res},I.refresh_token!==void 0)this.refreshToken=I.refresh_token;return this.cachedAccessToken}isExpired(I){let d=new Date().getTime();return I.expiry_date?d>=I.expiry_date-this.eagerRefreshThresholdMillis:!1}}AC2.ExternalAccountAuthorizedUserClient=BC2});var gC2=Y((C7)=>{var rD=C7&&C7.__classPrivateFieldGet||function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},YC2=C7&&C7.__classPrivateFieldSet||function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},aD,IR,dR,FC2;Object.defineProperty(C7,"__esModule",{value:!0});C7.GoogleAuth=C7.GoogleAuthExceptionMessages=C7.CLOUD_SDK_CLIENT_ID=void 0;var cr5=B1("child_process"),V$=B1("fs"),B$=sP(),pr5=B1("os"),VF1=B1("path"),ir5=hq(),nr5=eP(),rr5=YH1(),ar5=_H1(),sr5=DH1(),eq=MH1(),_C2=SH1(),tq=LH1(),or5=wF1(),A$=nD(),AF1=UB(),DC2=XC2(),HC2=pD();C7.CLOUD_SDK_CLIENT_ID="764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com";C7.GoogleAuthExceptionMessages={API_KEY_WITH_CREDENTIALS:"API Keys and Credentials are mutually exclusive authentication methods and cannot be used together.",NO_PROJECT_ID_FOUND:`Unable to detect a Project Id in the current environment. 
To learn more about authentication and Google APIs, visit: 
https://cloud.google.com/docs/authentication/getting-started`,NO_CREDENTIALS_FOUND:`Unable to find credentials in current environment. 
To learn more about authentication and Google APIs, visit: 
https://cloud.google.com/docs/authentication/getting-started`,NO_ADC_FOUND:"Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information.",NO_UNIVERSE_DOMAIN_FOUND:`Unable to detect a Universe Domain in the current environment.
To learn more about Universe Domain retrieval, visit: 
https://cloud.google.com/compute/docs/metadata/predefined-metadata-keys`};class XF1{get isGCE(){return this.checkIsGCE}constructor(I={}){if(aD.add(this),this.checkIsGCE=void 0,this.jsonContent=null,this.cachedCredential=null,IR.set(this,null),this.clientOptions={},this._cachedProjectId=I.projectId||null,this.cachedCredential=I.authClient||null,this.keyFilename=I.keyFilename||I.keyFile,this.scopes=I.scopes,this.clientOptions=I.clientOptions||{},this.jsonContent=I.credentials||null,this.apiKey=I.apiKey||this.clientOptions.apiKey||null,this.apiKey&&(this.jsonContent||this.clientOptions.credentials))throw new RangeError(C7.GoogleAuthExceptionMessages.API_KEY_WITH_CREDENTIALS);if(I.universeDomain)this.clientOptions.universeDomain=I.universeDomain}setGapicJWTValues(I){I.defaultServicePath=this.defaultServicePath,I.useJWTAccessWithScope=this.useJWTAccessWithScope,I.defaultScopes=this.defaultScopes}getProjectId(I){if(I)this.getProjectIdAsync().then((d)=>I(null,d),I);else return this.getProjectIdAsync()}async getProjectIdOptional(){try{return await this.getProjectId()}catch(I){if(I instanceof Error&&I.message===C7.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)return null;else throw I}}async findAndCacheProjectId(){let I=null;if(I||(I=await this.getProductionProjectId()),I||(I=await this.getFileProjectId()),I||(I=await this.getDefaultServiceProjectId()),I||(I=await this.getGCEProjectId()),I||(I=await this.getExternalAccountClientProjectId()),I)return this._cachedProjectId=I,I;else throw new Error(C7.GoogleAuthExceptionMessages.NO_PROJECT_ID_FOUND)}async getProjectIdAsync(){if(this._cachedProjectId)return this._cachedProjectId;if(!this._findProjectIdPromise)this._findProjectIdPromise=this.findAndCacheProjectId();return this._findProjectIdPromise}async getUniverseDomainFromMetadataServer(){var I;let d;try{d=await B$.universe("universe-domain"),d||(d=AF1.DEFAULT_UNIVERSE)}catch(G){if(G&&((I=G===null||G===void 0?void 0:G.response)===null||I===void 0?void 0:I.status)===404)d=AF1.DEFAULT_UNIVERSE;else throw G}return d}async getUniverseDomain(){let I=HC2.originalOrCamelOptions(this.clientOptions).get("universe_domain");try{I!==null&&I!==void 0||(I=(await this.getClient()).universeDomain)}catch(d){I!==null&&I!==void 0||(I=AF1.DEFAULT_UNIVERSE)}return I}getAnyScopes(){return this.scopes||this.defaultScopes}getApplicationDefault(I={},d){let G;if(typeof I==="function")d=I;else G=I;if(d)this.getApplicationDefaultAsync(G).then((Z)=>d(null,Z.credential,Z.projectId),d);else return this.getApplicationDefaultAsync(G)}async getApplicationDefaultAsync(I={}){if(this.cachedCredential)return await rD(this,aD,"m",dR).call(this,this.cachedCredential,null);let d;if(d=await this._tryGetApplicationCredentialsFromEnvironmentVariable(I),d){if(d instanceof eq.JWT)d.scopes=this.scopes;else if(d instanceof A$.BaseExternalAccountClient)d.scopes=this.getAnyScopes();return await rD(this,aD,"m",dR).call(this,d)}if(d=await this._tryGetApplicationCredentialsFromWellKnownFile(I),d){if(d instanceof eq.JWT)d.scopes=this.scopes;else if(d instanceof A$.BaseExternalAccountClient)d.scopes=this.getAnyScopes();return await rD(this,aD,"m",dR).call(this,d)}if(await this._checkIsGCE())return I.scopes=this.getAnyScopes(),await rD(this,aD,"m",dR).call(this,new rr5.Compute(I));throw new Error(C7.GoogleAuthExceptionMessages.NO_ADC_FOUND)}async _checkIsGCE(){if(this.checkIsGCE===void 0)this.checkIsGCE=B$.getGCPResidency()||await B$.isAvailable();return this.checkIsGCE}async _tryGetApplicationCredentialsFromEnvironmentVariable(I){let d=process.env.GOOGLE_APPLICATION_CREDENTIALS||process.env.google_application_credentials;if(!d||d.length===0)return null;try{return this._getApplicationCredentialsFromFilePath(d,I)}catch(G){if(G instanceof Error)G.message=`Unable to read the credential file specified by the GOOGLE_APPLICATION_CREDENTIALS environment variable: ${G.message}`;throw G}}async _tryGetApplicationCredentialsFromWellKnownFile(I){let d=null;if(this._isWindows())d=process.env.APPDATA;else{let Z=process.env.HOME;if(Z)d=VF1.join(Z,".config")}if(d){if(d=VF1.join(d,"gcloud","application_default_credentials.json"),!V$.existsSync(d))d=null}if(!d)return null;return await this._getApplicationCredentialsFromFilePath(d,I)}async _getApplicationCredentialsFromFilePath(I,d={}){if(!I||I.length===0)throw new Error("The file path is invalid.");try{if(I=V$.realpathSync(I),!V$.lstatSync(I).isFile())throw new Error}catch(Z){if(Z instanceof Error)Z.message=`The file at ${I} does not exist, or it is not a file. ${Z.message}`;throw Z}let G=V$.createReadStream(I);return this.fromStream(G,d)}fromImpersonatedJSON(I){var d,G,Z,C;if(!I)throw new Error("Must pass in a JSON object containing an  impersonated refresh token");if(I.type!==tq.IMPERSONATED_ACCOUNT_TYPE)throw new Error(`The incoming JSON object does not have the "${tq.IMPERSONATED_ACCOUNT_TYPE}" type`);if(!I.source_credentials)throw new Error("The incoming JSON object does not contain a source_credentials field");if(!I.service_account_impersonation_url)throw new Error("The incoming JSON object does not contain a service_account_impersonation_url field");let W=this.fromJSON(I.source_credentials);if(((d=I.service_account_impersonation_url)===null||d===void 0?void 0:d.length)>256)throw new RangeError(`Target principal is too long: ${I.service_account_impersonation_url}`);let w=(Z=(G=/(?<target>[^/]+):(generateAccessToken|generateIdToken)$/.exec(I.service_account_impersonation_url))===null||G===void 0?void 0:G.groups)===null||Z===void 0?void 0:Z.target;if(!w)throw new RangeError(`Cannot extract target principal from ${I.service_account_impersonation_url}`);let B=(C=this.getAnyScopes())!==null&&C!==void 0?C:[];return new tq.Impersonated({...I,sourceClient:W,targetPrincipal:w,targetScopes:Array.isArray(B)?B:[B]})}fromJSON(I,d={}){let G,Z=HC2.originalOrCamelOptions(d).get("universe_domain");if(I.type===_C2.USER_REFRESH_ACCOUNT_TYPE)G=new _C2.UserRefreshClient(d),G.fromJSON(I);else if(I.type===tq.IMPERSONATED_ACCOUNT_TYPE)G=this.fromImpersonatedJSON(I);else if(I.type===A$.EXTERNAL_ACCOUNT_TYPE)G=or5.ExternalAccountClient.fromJSON(I,d),G.scopes=this.getAnyScopes();else if(I.type===DC2.EXTERNAL_ACCOUNT_AUTHORIZED_USER_TYPE)G=new DC2.ExternalAccountAuthorizedUserClient(I,d);else d.scopes=this.scopes,G=new eq.JWT(d),this.setGapicJWTValues(G),G.fromJSON(I);if(Z)G.universeDomain=Z;return G}_cacheClientFromJSON(I,d){let G=this.fromJSON(I,d);return this.jsonContent=I,this.cachedCredential=G,G}fromStream(I,d={},G){let Z={};if(typeof d==="function")G=d;else Z=d;if(G)this.fromStreamAsync(I,Z).then((C)=>G(null,C),G);else return this.fromStreamAsync(I,Z)}fromStreamAsync(I,d){return new Promise((G,Z)=>{if(!I)throw new Error("Must pass in a stream containing the Google auth settings.");let C=[];I.setEncoding("utf8").on("error",Z).on("data",(W)=>C.push(W)).on("end",()=>{try{try{let W=JSON.parse(C.join("")),w=this._cacheClientFromJSON(W,d);return G(w)}catch(W){if(!this.keyFilename)throw W;let w=new eq.JWT({...this.clientOptions,keyFile:this.keyFilename});return this.cachedCredential=w,this.setGapicJWTValues(w),G(w)}}catch(W){return Z(W)}})})}fromAPIKey(I,d={}){return new eq.JWT({...d,apiKey:I})}_isWindows(){let I=pr5.platform();if(I&&I.length>=3){if(I.substring(0,3).toLowerCase()==="win")return!0}return!1}async getDefaultServiceProjectId(){return new Promise((I)=>{cr5.exec("gcloud config config-helper --format json",(d,G)=>{if(!d&&G)try{let Z=JSON.parse(G).configuration.properties.core.project;I(Z);return}catch(Z){}I(null)})})}getProductionProjectId(){return process.env.GCLOUD_PROJECT||process.env.GOOGLE_CLOUD_PROJECT||process.env.gcloud_project||process.env.google_cloud_project}async getFileProjectId(){if(this.cachedCredential)return this.cachedCredential.projectId;if(this.keyFilename){let d=await this.getClient();if(d&&d.projectId)return d.projectId}let I=await this._tryGetApplicationCredentialsFromEnvironmentVariable();if(I)return I.projectId;else return null}async getExternalAccountClientProjectId(){if(!this.jsonContent||this.jsonContent.type!==A$.EXTERNAL_ACCOUNT_TYPE)return null;return await(await this.getClient()).getProjectId()}async getGCEProjectId(){try{return await B$.project("project-id")}catch(I){return null}}getCredentials(I){if(I)this.getCredentialsAsync().then((d)=>I(null,d),I);else return this.getCredentialsAsync()}async getCredentialsAsync(){let I=await this.getClient();if(I instanceof tq.Impersonated)return{client_email:I.getTargetPrincipal()};if(I instanceof A$.BaseExternalAccountClient){let d=I.getServiceAccountEmail();if(d)return{client_email:d,universe_domain:I.universeDomain}}if(this.jsonContent)return{client_email:this.jsonContent.client_email,private_key:this.jsonContent.private_key,universe_domain:this.jsonContent.universe_domain};if(await this._checkIsGCE()){let[d,G]=await Promise.all([B$.instance("service-accounts/default/email"),this.getUniverseDomain()]);return{client_email:d,universe_domain:G}}throw new Error(C7.GoogleAuthExceptionMessages.NO_CREDENTIALS_FOUND)}async getClient(){if(this.cachedCredential)return this.cachedCredential;YC2(this,IR,rD(this,IR,"f")||rD(this,aD,"m",FC2).call(this),"f");try{return await rD(this,IR,"f")}finally{YC2(this,IR,null,"f")}}async getIdTokenClient(I){let d=await this.getClient();if(!("fetchIdToken"in d))throw new Error("Cannot fetch ID token in this environment, use GCE or set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account credentials JSON file.");return new ar5.IdTokenClient({targetAudience:I,idTokenProvider:d})}async getAccessToken(){return(await(await this.getClient()).getAccessToken()).token}async getRequestHeaders(I){return(await this.getClient()).getRequestHeaders(I)}async authorizeRequest(I){I=I||{};let d=I.url||I.uri,Z=await(await this.getClient()).getRequestHeaders(d);return I.headers=Object.assign(I.headers||{},Z),I}async request(I){return(await this.getClient()).request(I)}getEnv(){return sr5.getEnv()}async sign(I,d){let G=await this.getClient(),Z=await this.getUniverseDomain();if(d=d||`https://iamcredentials.${Z}/v1/projects/-/serviceAccounts/`,G instanceof tq.Impersonated)return(await G.sign(I)).signedBlob;let C=ir5.createCrypto();if(G instanceof eq.JWT&&G.key)return await C.sign(G.key,I);let W=await this.getCredentials();if(!W.client_email)throw new Error("Cannot sign data without `client_email`.");return this.signBlob(C,W.client_email,I,d)}async signBlob(I,d,G,Z){let C=new URL(Z+`${d}:signBlob`);return(await this.request({method:"POST",url:C.href,data:{payload:I.encodeBase64StringUtf8(G)},retry:!0,retryConfig:{httpMethodsToRetry:["POST"]}})).data.signedBlob}}C7.GoogleAuth=XF1;IR=new WeakMap,aD=new WeakSet,dR=async function I(d,G=process.env.GOOGLE_CLOUD_QUOTA_PROJECT||null){let Z=await this.getProjectIdOptional();if(G)d.quotaProjectId=G;return this.cachedCredential=d,{credential:d,projectId:Z}},FC2=async function I(){if(this.jsonContent)return this._cacheClientFromJSON(this.jsonContent,this.clientOptions);else if(this.keyFilename){let d=VF1.resolve(this.keyFilename),G=V$.createReadStream(d);return await this.fromStreamAsync(G,this.clientOptions)}else if(this.apiKey){let d=await this.fromAPIKey(this.apiKey,this.clientOptions);d.scopes=this.scopes;let{credential:G}=await rD(this,aD,"m",dR).call(this,d);return G}else{let{credential:d}=await this.getApplicationDefaultAsync(this.clientOptions);return d}};XF1.DefaultTransporter=nr5.DefaultTransporter});var zC2=Y((KC2)=>{Object.defineProperty(KC2,"__esModule",{value:!0});KC2.IAMAuth=void 0;class JC2{constructor(I,d){this.selector=I,this.token=d,this.selector=I,this.token=d}getRequestHeaders(){return{"x-goog-iam-authority-selector":this.selector,"x-goog-iam-authorization-token":this.token}}}KC2.IAMAuth=JC2});var RC2=Y((fC2)=>{Object.defineProperty(fC2,"__esModule",{value:!0});fC2.DownscopedClient=fC2.EXPIRATION_TIME_OFFSET=fC2.MAX_ACCESS_BOUNDARY_RULES_COUNT=void 0;var er5=B1("stream"),tr5=UB(),Ia5=$H1(),da5="urn:ietf:params:oauth:grant-type:token-exchange",Ga5="urn:ietf:params:oauth:token-type:access_token",Za5="urn:ietf:params:oauth:token-type:access_token";fC2.MAX_ACCESS_BOUNDARY_RULES_COUNT=10;fC2.EXPIRATION_TIME_OFFSET=300000;class QC2 extends tr5.AuthClient{constructor(I,d,G,Z){super({...G,quotaProjectId:Z});if(this.authClient=I,this.credentialAccessBoundary=d,d.accessBoundary.accessBoundaryRules.length===0)throw new Error("At least one access boundary rule needs to be defined.");else if(d.accessBoundary.accessBoundaryRules.length>fC2.MAX_ACCESS_BOUNDARY_RULES_COUNT)throw new Error(`The provided access boundary has more than ${fC2.MAX_ACCESS_BOUNDARY_RULES_COUNT} access boundary rules.`);for(let C of d.accessBoundary.accessBoundaryRules)if(C.availablePermissions.length===0)throw new Error("At least one permission should be defined in access boundary rules.");this.stsCredential=new Ia5.StsCredentials(`https://sts.${this.universeDomain}/v1/token`),this.cachedDownscopedAccessToken=null}setCredentials(I){if(!I.expiry_date)throw new Error("The access token expiry_date field is missing in the provided credentials.");super.setCredentials(I),this.cachedDownscopedAccessToken=I}async getAccessToken(){if(!this.cachedDownscopedAccessToken||this.isExpired(this.cachedDownscopedAccessToken))await this.refreshAccessTokenAsync();return{token:this.cachedDownscopedAccessToken.access_token,expirationTime:this.cachedDownscopedAccessToken.expiry_date,res:this.cachedDownscopedAccessToken.res}}async getRequestHeaders(){let d={Authorization:`Bearer ${(await this.getAccessToken()).token}`};return this.addSharedMetadataHeaders(d)}request(I,d){if(d)this.requestAsync(I).then((G)=>d(null,G),(G)=>{return d(G,G.response)});else return this.requestAsync(I)}async requestAsync(I,d=!1){let G;try{let Z=await this.getRequestHeaders();if(I.headers=I.headers||{},Z&&Z["x-goog-user-project"])I.headers["x-goog-user-project"]=Z["x-goog-user-project"];if(Z&&Z.Authorization)I.headers.Authorization=Z.Authorization;G=await this.transporter.request(I)}catch(Z){let C=Z.response;if(C){let W=C.status,w=C.config.data instanceof er5.Readable;if(!d&&(W===401||W===403)&&!w&&this.forceRefreshOnFailure)return await this.refreshAccessTokenAsync(),await this.requestAsync(I,!0)}throw Z}return G}async refreshAccessTokenAsync(){var I;let d=(await this.authClient.getAccessToken()).token,G={grantType:da5,requestedTokenType:Ga5,subjectToken:d,subjectTokenType:Za5},Z=await this.stsCredential.exchangeToken(G,void 0,this.credentialAccessBoundary),C=((I=this.authClient.credentials)===null||I===void 0?void 0:I.expiry_date)||null,W=Z.expires_in?new Date().getTime()+Z.expires_in*1000:C;return this.cachedDownscopedAccessToken={access_token:Z.access_token,expiry_date:W,res:Z.res},this.credentials={},Object.assign(this.credentials,this.cachedDownscopedAccessToken),delete this.credentials.res,this.emit("tokens",{refresh_token:null,expiry_date:this.cachedDownscopedAccessToken.expiry_date,access_token:this.cachedDownscopedAccessToken.access_token,token_type:"Bearer",id_token:null}),this.cachedDownscopedAccessToken}isExpired(I){let d=new Date().getTime();return I.expiry_date?d>=I.expiry_date-this.eagerRefreshThresholdMillis:!1}}fC2.DownscopedClient=QC2});var EC2=Y((UC2)=>{Object.defineProperty(UC2,"__esModule",{value:!0});UC2.PassThroughClient=void 0;var Wa5=UB();class _F1 extends Wa5.AuthClient{async request(I){return this.transporter.request(I)}async getAccessToken(){return{}}async getRequestHeaders(){return{}}}UC2.PassThroughClient=_F1;var wa5=new _F1;wa5.getAccessToken()});var yC2=Y((R9)=>{Object.defineProperty(R9,"__esModule",{value:!0});R9.GoogleAuth=R9.auth=R9.DefaultTransporter=R9.PassThroughClient=R9.ExecutableError=R9.PluggableAuthClient=R9.DownscopedClient=R9.BaseExternalAccountClient=R9.ExternalAccountClient=R9.IdentityPoolClient=R9.AwsRequestSigner=R9.AwsClient=R9.UserRefreshClient=R9.LoginTicket=R9.ClientAuthentication=R9.OAuth2Client=R9.CodeChallengeMethod=R9.Impersonated=R9.JWT=R9.JWTAccess=R9.IdTokenClient=R9.IAMAuth=R9.GCPEnv=R9.Compute=R9.DEFAULT_UNIVERSE=R9.AuthClient=R9.gaxios=R9.gcpMetadata=void 0;var MC2=gC2();Object.defineProperty(R9,"GoogleAuth",{enumerable:!0,get:function(){return MC2.GoogleAuth}});R9.gcpMetadata=sP();R9.gaxios=dW();var SC2=UB();Object.defineProperty(R9,"AuthClient",{enumerable:!0,get:function(){return SC2.AuthClient}});Object.defineProperty(R9,"DEFAULT_UNIVERSE",{enumerable:!0,get:function(){return SC2.DEFAULT_UNIVERSE}});var Ba5=YH1();Object.defineProperty(R9,"Compute",{enumerable:!0,get:function(){return Ba5.Compute}});var Aa5=DH1();Object.defineProperty(R9,"GCPEnv",{enumerable:!0,get:function(){return Aa5.GCPEnv}});var Va5=zC2();Object.defineProperty(R9,"IAMAuth",{enumerable:!0,get:function(){return Va5.IAMAuth}});var Xa5=_H1();Object.defineProperty(R9,"IdTokenClient",{enumerable:!0,get:function(){return Xa5.IdTokenClient}});var Ya5=vH1();Object.defineProperty(R9,"JWTAccess",{enumerable:!0,get:function(){return Ya5.JWTAccess}});var _a5=MH1();Object.defineProperty(R9,"JWT",{enumerable:!0,get:function(){return _a5.JWT}});var Da5=LH1();Object.defineProperty(R9,"Impersonated",{enumerable:!0,get:function(){return Da5.Impersonated}});var DF1=TJ();Object.defineProperty(R9,"CodeChallengeMethod",{enumerable:!0,get:function(){return DF1.CodeChallengeMethod}});Object.defineProperty(R9,"OAuth2Client",{enumerable:!0,get:function(){return DF1.OAuth2Client}});Object.defineProperty(R9,"ClientAuthentication",{enumerable:!0,get:function(){return DF1.ClientAuthentication}});var Ha5=AH1();Object.defineProperty(R9,"LoginTicket",{enumerable:!0,get:function(){return Ha5.LoginTicket}});var Fa5=SH1();Object.defineProperty(R9,"UserRefreshClient",{enumerable:!0,get:function(){return Fa5.UserRefreshClient}});var ga5=rH1();Object.defineProperty(R9,"AwsClient",{enumerable:!0,get:function(){return ga5.AwsClient}});var Ja5=pH1();Object.defineProperty(R9,"AwsRequestSigner",{enumerable:!0,get:function(){return Ja5.AwsRequestSigner}});var Ka5=cH1();Object.defineProperty(R9,"IdentityPoolClient",{enumerable:!0,get:function(){return Ka5.IdentityPoolClient}});var Na5=wF1();Object.defineProperty(R9,"ExternalAccountClient",{enumerable:!0,get:function(){return Na5.ExternalAccountClient}});var za5=nD();Object.defineProperty(R9,"BaseExternalAccountClient",{enumerable:!0,get:function(){return za5.BaseExternalAccountClient}});var Qa5=RC2();Object.defineProperty(R9,"DownscopedClient",{enumerable:!0,get:function(){return Qa5.DownscopedClient}});var LC2=Va();Object.defineProperty(R9,"PluggableAuthClient",{enumerable:!0,get:function(){return LC2.PluggableAuthClient}});Object.defineProperty(R9,"ExecutableError",{enumerable:!0,get:function(){return LC2.ExecutableError}});var fa5=EC2();Object.defineProperty(R9,"PassThroughClient",{enumerable:!0,get:function(){return fa5.PassThroughClient}});var qa5=eP();Object.defineProperty(R9,"DefaultTransporter",{enumerable:!0,get:function(){return qa5.DefaultTransporter}});var Ra5=new MC2.GoogleAuth;R9.auth=Ra5});var $C2=Y((KX3,$a5)=>{$a5.exports={name:"dotenv",version:"16.4.5",description:"Loads environment variables from .env file",main:"lib/main.js",types:"lib/main.d.ts",exports:{".":{types:"./lib/main.d.ts",require:"./lib/main.js",default:"./lib/main.js"},"./config":"./config.js","./config.js":"./config.js","./lib/env-options":"./lib/env-options.js","./lib/env-options.js":"./lib/env-options.js","./lib/cli-options":"./lib/cli-options.js","./lib/cli-options.js":"./lib/cli-options.js","./package.json":"./package.json"},scripts:{"dts-check":"tsc --project tests/types/tsconfig.json",lint:"standard","lint-readme":"standard-markdown",pretest:"npm run lint && npm run dts-check",test:"tap tests/*.js --100 -Rspec","test:coverage":"tap --coverage-report=lcov",prerelease:"npm test",release:"standard-version"},repository:{type:"git",url:"git://github.com/motdotla/dotenv.git"},funding:"https://dotenvx.com",keywords:["dotenv","env",".env","environment","variables","config","settings"],readmeFilename:"README.md",license:"BSD-2-Clause",devDependencies:{"@definitelytyped/dtslint":"^0.0.133","@types/node":"^18.11.3",decache:"^4.6.1",sinon:"^14.0.1",standard:"^17.0.0","standard-markdown":"^7.1.0","standard-version":"^9.5.0",tap:"^16.3.0",tar:"^6.1.11",typescript:"^4.8.4"},engines:{node:">=12"},browser:{fs:!1}}});var mC2=Y((NX3,tV)=>{var HF1=B1("fs"),FF1=B1("path"),ua5=B1("os"),Ta5=B1("crypto"),Oa5=$C2(),gF1=Oa5.version,ma5=/(?:^|^)\s*(?:export\s+)?([\w.-]+)(?:\s*=\s*?|:\s+?)(\s*'(?:\\'|[^'])*'|\s*"(?:\\"|[^"])*"|\s*`(?:\\`|[^`])*`|[^#\r\n]+)?\s*(?:#.*)?(?:$|$)/mg;function la5(I){let d={},G=I.toString();G=G.replace(/\r\n?/mg,`
`);let Z;while((Z=ma5.exec(G))!=null){let C=Z[1],W=Z[2]||"";W=W.trim();let w=W[0];if(W=W.replace(/^(['"`])([\s\S]*)\1$/mg,"$2"),w==='"')W=W.replace(/\\n/g,`
`),W=W.replace(/\\r/g,"\r");d[C]=W}return d}function ba5(I){let d=OC2(I),G=r6.configDotenv({path:d});if(!G.parsed){let w=new Error(`MISSING_DATA: Cannot parse ${d} for an unknown reason`);throw w.code="MISSING_DATA",w}let Z=TC2(I).split(","),C=Z.length,W;for(let w=0;w<C;w++)try{let B=Z[w].trim(),A=ka5(G,B);W=r6.decrypt(A.ciphertext,A.key);break}catch(B){if(w+1>=C)throw B}return r6.parse(W)}function ha5(I){console.log(`[dotenv@${gF1}][INFO] ${I}`)}function ja5(I){console.log(`[dotenv@${gF1}][WARN] ${I}`)}function Ya(I){console.log(`[dotenv@${gF1}][DEBUG] ${I}`)}function TC2(I){if(I&&I.DOTENV_KEY&&I.DOTENV_KEY.length>0)return I.DOTENV_KEY;if(process.env.DOTENV_KEY&&process.env.DOTENV_KEY.length>0)return process.env.DOTENV_KEY;return""}function ka5(I,d){let G;try{G=new URL(d)}catch(B){if(B.code==="ERR_INVALID_URL"){let A=new Error("INVALID_DOTENV_KEY: Wrong format. Must be in valid uri format like dotenv://:key_1234@dotenvx.com/vault/.env.vault?environment=development");throw A.code="INVALID_DOTENV_KEY",A}throw B}let Z=G.password;if(!Z){let B=new Error("INVALID_DOTENV_KEY: Missing key part");throw B.code="INVALID_DOTENV_KEY",B}let C=G.searchParams.get("environment");if(!C){let B=new Error("INVALID_DOTENV_KEY: Missing environment part");throw B.code="INVALID_DOTENV_KEY",B}let W=`DOTENV_VAULT_${C.toUpperCase()}`,w=I.parsed[W];if(!w){let B=new Error(`NOT_FOUND_DOTENV_ENVIRONMENT: Cannot locate environment ${W} in your .env.vault file.`);throw B.code="NOT_FOUND_DOTENV_ENVIRONMENT",B}return{ciphertext:w,key:Z}}function OC2(I){let d=null;if(I&&I.path&&I.path.length>0)if(Array.isArray(I.path)){for(let G of I.path)if(HF1.existsSync(G))d=G.endsWith(".vault")?G:`${G}.vault`}else d=I.path.endsWith(".vault")?I.path:`${I.path}.vault`;else d=FF1.resolve(process.cwd(),".env.vault");if(HF1.existsSync(d))return d;return null}function uC2(I){return I[0]==="~"?FF1.join(ua5.homedir(),I.slice(1)):I}function xa5(I){ha5("Loading env from encrypted .env.vault");let d=r6._parseVault(I),G=process.env;if(I&&I.processEnv!=null)G=I.processEnv;return r6.populate(G,d,I),{parsed:d}}function ca5(I){let d=FF1.resolve(process.cwd(),".env"),G="utf8",Z=Boolean(I&&I.debug);if(I&&I.encoding)G=I.encoding;else if(Z)Ya("No encoding is specified. UTF-8 is used by default");let C=[d];if(I&&I.path)if(!Array.isArray(I.path))C=[uC2(I.path)];else{C=[];for(let A of I.path)C.push(uC2(A))}let W,w={};for(let A of C)try{let V=r6.parse(HF1.readFileSync(A,{encoding:G}));r6.populate(w,V,I)}catch(V){if(Z)Ya(`Failed to load ${A} ${V.message}`);W=V}let B=process.env;if(I&&I.processEnv!=null)B=I.processEnv;if(r6.populate(B,w,I),W)return{parsed:w,error:W};else return{parsed:w}}function pa5(I){if(TC2(I).length===0)return r6.configDotenv(I);let d=OC2(I);if(!d)return ja5(`You set DOTENV_KEY but you are missing a .env.vault file at ${d}. Did you forget to build it?`),r6.configDotenv(I);return r6._configVault(I)}function ia5(I,d){let G=Buffer.from(d.slice(-64),"hex"),Z=Buffer.from(I,"base64"),C=Z.subarray(0,12),W=Z.subarray(-16);Z=Z.subarray(12,-16);try{let w=Ta5.createDecipheriv("aes-256-gcm",G,C);return w.setAuthTag(W),`${w.update(Z)}${w.final()}`}catch(w){let B=w instanceof RangeError,A=w.message==="Invalid key length",V=w.message==="Unsupported state or unable to authenticate data";if(B||A){let X=new Error("INVALID_DOTENV_KEY: It must be 64 characters long (or more)");throw X.code="INVALID_DOTENV_KEY",X}else if(V){let X=new Error("DECRYPTION_FAILED: Please check your DOTENV_KEY");throw X.code="DECRYPTION_FAILED",X}else throw w}}function na5(I,d,G={}){let Z=Boolean(G&&G.debug),C=Boolean(G&&G.override);if(typeof d!=="object"){let W=new Error("OBJECT_REQUIRED: Please check the processEnv argument being passed to populate");throw W.code="OBJECT_REQUIRED",W}for(let W of Object.keys(d))if(Object.prototype.hasOwnProperty.call(I,W)){if(C===!0)I[W]=d[W];if(Z)if(C===!0)Ya(`"${W}" is already defined and WAS overwritten`);else Ya(`"${W}" is already defined and was NOT overwritten`)}else I[W]=d[W]}var r6={configDotenv:ca5,_configVault:xa5,_parseVault:ba5,config:pa5,decrypt:ia5,parse:la5,populate:na5};NX3.configDotenv=r6.configDotenv;NX3._configVault=r6._configVault;NX3._parseVault=r6._parseVault;NX3.config=r6.config;NX3.decrypt=r6.decrypt;NX3.parse=r6.parse;NX3.populate=r6.populate;tV.exports=r6});var bC2=Y((zX3,lC2)=>{var GR={};if(process.env.DOTENV_CONFIG_ENCODING!=null)GR.encoding=process.env.DOTENV_CONFIG_ENCODING;if(process.env.DOTENV_CONFIG_PATH!=null)GR.path=process.env.DOTENV_CONFIG_PATH;if(process.env.DOTENV_CONFIG_DEBUG!=null)GR.debug=process.env.DOTENV_CONFIG_DEBUG;if(process.env.DOTENV_CONFIG_OVERRIDE!=null)GR.override=process.env.DOTENV_CONFIG_OVERRIDE;if(process.env.DOTENV_CONFIG_DOTENV_KEY!=null)GR.DOTENV_KEY=process.env.DOTENV_CONFIG_DOTENV_KEY;lC2.exports=GR});var jC2=Y((QX3,hC2)=>{var ds5=/^dotenv_config_(encoding|path|debug|override|DOTENV_KEY)=(.+)$/;hC2.exports=function I(d){return d.reduce(function(G,Z){let C=Z.match(ds5);if(C)G[C[1]]=C[2];return G},{})}});var kC2=Y(()=>{(function(){mC2().config(Object.assign({},bC2(),jC2()(process.argv)))})()});var Xw2=Y((UD3,Vw2)=>{function TF1(I){if(I instanceof Map)I.clear=I.delete=I.set=function(){throw new Error("map is read-only")};else if(I instanceof Set)I.add=I.clear=I.delete=function(){throw new Error("set is read-only")};return Object.freeze(I),Object.getOwnPropertyNames(I).forEach(function(d){var G=I[d];if(typeof G=="object"&&!Object.isFrozen(G))TF1(G)}),I}var Iw2=TF1,Mo5=TF1;Iw2.default=Mo5;class $F1{constructor(I){if(I.data===void 0)I.data={};this.data=I.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function zR(I){return I.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function GH(I,...d){let G=Object.create(null);for(let Z in I)G[Z]=I[Z];return d.forEach(function(Z){for(let C in Z)G[C]=Z[C]}),G}var So5="</span>",rW2=(I)=>{return!!I.kind};class dw2{constructor(I,d){this.buffer="",this.classPrefix=d.classPrefix,I.walk(this)}addText(I){this.buffer+=zR(I)}openNode(I){if(!rW2(I))return;let d=I.kind;if(!I.sublanguage)d=`${this.classPrefix}${d}`;this.span(d)}closeNode(I){if(!rW2(I))return;this.buffer+=So5}value(){return this.buffer}span(I){this.buffer+=`<span class="${I}">`}}class OF1{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(I){this.top.children.push(I)}openNode(I){let d={kind:I,children:[]};this.add(d),this.stack.push(d)}closeNode(){if(this.stack.length>1)return this.stack.pop();return}closeAllNodes(){while(this.closeNode());}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(I){return this.constructor._walk(I,this.rootNode)}static _walk(I,d){if(typeof d==="string")I.addText(d);else if(d.children)I.openNode(d),d.children.forEach((G)=>this._walk(I,G)),I.closeNode(d);return I}static _collapse(I){if(typeof I==="string")return;if(!I.children)return;if(I.children.every((d)=>typeof d==="string"))I.children=[I.children.join("")];else I.children.forEach((d)=>{OF1._collapse(d)})}}class Gw2 extends OF1{constructor(I){super();this.options=I}addKeyword(I,d){if(I==="")return;this.openNode(d),this.addText(I),this.closeNode()}addText(I){if(I==="")return;this.add(I)}addSublanguage(I,d){let G=I.root;G.kind=d,G.sublanguage=!0,this.add(G)}toHTML(){return new dw2(this,this.options).value()}finalize(){return!0}}function Lo5(I){return new RegExp(I.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function f$(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function yo5(...I){return I.map((G)=>f$(G)).join("")}function Po5(...I){return"("+I.map((G)=>f$(G)).join("|")+")"}function $o5(I){return new RegExp(I.toString()+"|").exec("").length-1}function uo5(I,d){let G=I&&I.exec(d);return G&&G.index===0}var To5=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Oo5(I,d="|"){let G=0;return I.map((Z)=>{G+=1;let C=G,W=f$(Z),w="";while(W.length>0){let B=To5.exec(W);if(!B){w+=W;break}if(w+=W.substring(0,B.index),W=W.substring(B.index+B[0].length),B[0][0]==="\\"&&B[1])w+="\\"+String(Number(B[1])+C);else if(w+=B[0],B[0]==="(")G++}return w}).map((Z)=>`(${Z})`).join(d)}var mo5=/\b\B/,Zw2="[a-zA-Z]\\w*",mF1="[a-zA-Z_]\\w*",lF1="\\b\\d+(\\.\\d+)?",Cw2="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ww2="\\b(0b[01]+)",lo5="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",bo5=(I={})=>{let d=/^#![ ]*\//;if(I.binary)I.begin=yo5(d,/.*\b/,I.binary,/\b.*/);return GH({className:"meta",begin:d,end:/$/,relevance:0,"on:begin":(G,Z)=>{if(G.index!==0)Z.ignoreMatch()}},I)},q$={begin:"\\\\[\\s\\S]",relevance:0},ho5={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[q$]},jo5={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[q$]},ww2={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ua=function(I,d,G={}){let Z=GH({className:"comment",begin:I,end:d,contains:[]},G);return Z.contains.push(ww2),Z.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Z},ko5=Ua("//","$"),xo5=Ua("/\\*","\\*/"),co5=Ua("#","$"),po5={className:"number",begin:lF1,relevance:0},io5={className:"number",begin:Cw2,relevance:0},no5={className:"number",begin:Ww2,relevance:0},ro5={className:"number",begin:lF1+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},ao5={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[q$,{begin:/\[/,end:/\]/,relevance:0,contains:[q$]}]}]},so5={className:"title",begin:Zw2,relevance:0},oo5={className:"title",begin:mF1,relevance:0},eo5={begin:"\\.\\s*"+mF1,relevance:0},to5=function(I){return Object.assign(I,{"on:begin":(d,G)=>{G.data._beginMatch=d[1]},"on:end":(d,G)=>{if(G.data._beginMatch!==d[1])G.ignoreMatch()}})},Ra=Object.freeze({__proto__:null,MATCH_NOTHING_RE:mo5,IDENT_RE:Zw2,UNDERSCORE_IDENT_RE:mF1,NUMBER_RE:lF1,C_NUMBER_RE:Cw2,BINARY_NUMBER_RE:Ww2,RE_STARTERS_RE:lo5,SHEBANG:bo5,BACKSLASH_ESCAPE:q$,APOS_STRING_MODE:ho5,QUOTE_STRING_MODE:jo5,PHRASAL_WORDS_MODE:ww2,COMMENT:Ua,C_LINE_COMMENT_MODE:ko5,C_BLOCK_COMMENT_MODE:xo5,HASH_COMMENT_MODE:co5,NUMBER_MODE:po5,C_NUMBER_MODE:io5,BINARY_NUMBER_MODE:no5,CSS_NUMBER_MODE:ro5,REGEXP_MODE:ao5,TITLE_MODE:so5,UNDERSCORE_TITLE_MODE:oo5,METHOD_GUARD:eo5,END_SAME_AS_BEGIN:to5});function Ie5(I,d){if(I.input[I.index-1]===".")d.ignoreMatch()}function de5(I,d){if(!d)return;if(!I.beginKeywords)return;if(I.begin="\\b("+I.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",I.__beforeBegin=Ie5,I.keywords=I.keywords||I.beginKeywords,delete I.beginKeywords,I.relevance===void 0)I.relevance=0}function Ge5(I,d){if(!Array.isArray(I.illegal))return;I.illegal=Po5(...I.illegal)}function Ze5(I,d){if(!I.match)return;if(I.begin||I.end)throw new Error("begin & end are not supported with match");I.begin=I.match,delete I.match}function Ce5(I,d){if(I.relevance===void 0)I.relevance=1}var We5=["of","and","for","in","not","or","if","then","parent","list","value"],we5="keyword";function Bw2(I,d,G=we5){let Z={};if(typeof I==="string")C(G,I.split(" "));else if(Array.isArray(I))C(G,I);else Object.keys(I).forEach(function(W){Object.assign(Z,Bw2(I[W],d,W))});return Z;function C(W,w){if(d)w=w.map((B)=>B.toLowerCase());w.forEach(function(B){let A=B.split("|");Z[A[0]]=[W,Be5(A[0],A[1])]})}}function Be5(I,d){if(d)return Number(d);return Ae5(I)?0:1}function Ae5(I){return We5.includes(I.toLowerCase())}function Ve5(I,{plugins:d}){function G(B,A){return new RegExp(f$(B),"m"+(I.case_insensitive?"i":"")+(A?"g":""))}class Z{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(B,A){A.position=this.position++,this.matchIndexes[this.matchAt]=A,this.regexes.push([A,B]),this.matchAt+=$o5(B)+1}compile(){if(this.regexes.length===0)this.exec=()=>null;let B=this.regexes.map((A)=>A[1]);this.matcherRe=G(Oo5(B),!0),this.lastIndex=0}exec(B){this.matcherRe.lastIndex=this.lastIndex;let A=this.matcherRe.exec(B);if(!A)return null;let V=A.findIndex((_,F)=>F>0&&_!==void 0),X=this.matchIndexes[V];return A.splice(0,V),Object.assign(A,X)}}class C{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(B){if(this.multiRegexes[B])return this.multiRegexes[B];let A=new Z;return this.rules.slice(B).forEach(([V,X])=>A.addRule(V,X)),A.compile(),this.multiRegexes[B]=A,A}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(B,A){if(this.rules.push([B,A]),A.type==="begin")this.count++}exec(B){let A=this.getMatcher(this.regexIndex);A.lastIndex=this.lastIndex;let V=A.exec(B);if(this.resumingScanAtSamePosition())if(V&&V.index===this.lastIndex);else{let X=this.getMatcher(0);X.lastIndex=this.lastIndex+1,V=X.exec(B)}if(V){if(this.regexIndex+=V.position+1,this.regexIndex===this.count)this.considerAll()}return V}}function W(B){let A=new C;if(B.contains.forEach((V)=>A.addRule(V.begin,{rule:V,type:"begin"})),B.terminatorEnd)A.addRule(B.terminatorEnd,{type:"end"});if(B.illegal)A.addRule(B.illegal,{type:"illegal"});return A}function w(B,A){let V=B;if(B.isCompiled)return V;[Ze5].forEach((_)=>_(B,A)),I.compilerExtensions.forEach((_)=>_(B,A)),B.__beforeBegin=null,[de5,Ge5,Ce5].forEach((_)=>_(B,A)),B.isCompiled=!0;let X=null;if(typeof B.keywords==="object")X=B.keywords.$pattern,delete B.keywords.$pattern;if(B.keywords)B.keywords=Bw2(B.keywords,I.case_insensitive);if(B.lexemes&&X)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");if(X=X||B.lexemes||/\w+/,V.keywordPatternRe=G(X,!0),A){if(!B.begin)B.begin=/\B|\b/;if(V.beginRe=G(B.begin),B.endSameAsBegin)B.end=B.begin;if(!B.end&&!B.endsWithParent)B.end=/\B|\b/;if(B.end)V.endRe=G(B.end);if(V.terminatorEnd=f$(B.end)||"",B.endsWithParent&&A.terminatorEnd)V.terminatorEnd+=(B.end?"|":"")+A.terminatorEnd}if(B.illegal)V.illegalRe=G(B.illegal);if(!B.contains)B.contains=[];if(B.contains=[].concat(...B.contains.map(function(_){return Xe5(_==="self"?B:_)})),B.contains.forEach(function(_){w(_,V)}),B.starts)w(B.starts,A);return V.matcher=W(V),V}if(!I.compilerExtensions)I.compilerExtensions=[];if(I.contains&&I.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return I.classNameAliases=GH(I.classNameAliases||{}),w(I)}function Aw2(I){if(!I)return!1;return I.endsWithParent||Aw2(I.starts)}function Xe5(I){if(I.variants&&!I.cachedVariants)I.cachedVariants=I.variants.map(function(d){return GH(I,{variants:null},d)});if(I.cachedVariants)return I.cachedVariants;if(Aw2(I))return GH(I,{starts:I.starts?GH(I.starts):null});if(Object.isFrozen(I))return GH(I);return I}var Ye5="10.7.3";function _e5(I){return Boolean(I||I==="")}function De5(I){let d={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){if(this.unknownLanguage)return"";return"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!I.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,zR(this.code);let Z={};if(this.autoDetect)Z=I.highlightAuto(this.code),this.detectedLanguage=Z.language;else Z=I.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language;return Z.value},autoDetect(){return!this.language||_e5(this.autodetect)},ignoreIllegals(){return!0}},render(Z){return Z("pre",{},[Z("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:d,VuePlugin:{install(Z){Z.component("highlightjs",d)}}}}var He5={"after:highlightElement":({el:I,result:d,text:G})=>{let Z=aW2(I);if(!Z.length)return;let C=document.createElement("div");C.innerHTML=d.value,d.value=Fe5(Z,aW2(C),G)}};function uF1(I){return I.nodeName.toLowerCase()}function aW2(I){let d=[];return function G(Z,C){for(let W=Z.firstChild;W;W=W.nextSibling)if(W.nodeType===3)C+=W.nodeValue.length;else if(W.nodeType===1){if(d.push({event:"start",offset:C,node:W}),C=G(W,C),!uF1(W).match(/br|hr|img|input/))d.push({event:"stop",offset:C,node:W})}return C}(I,0),d}function Fe5(I,d,G){let Z=0,C="",W=[];function w(){if(!I.length||!d.length)return I.length?I:d;if(I[0].offset!==d[0].offset)return I[0].offset<d[0].offset?I:d;return d[0].event==="start"?I:d}function B(X){function _(F){return" "+F.nodeName+'="'+zR(F.value)+'"'}C+="<"+uF1(X)+[].map.call(X.attributes,_).join("")+">"}function A(X){C+="</"+uF1(X)+">"}function V(X){(X.event==="start"?B:A)(X.node)}while(I.length||d.length){let X=w();if(C+=zR(G.substring(Z,X[0].offset)),Z=X[0].offset,X===I){W.reverse().forEach(A);do V(X.splice(0,1)[0]),X=w();while(X===I&&X.length&&X[0].offset===Z);W.reverse().forEach(B)}else{if(X[0].event==="start")W.push(X[0].node);else W.pop();V(X.splice(0,1)[0])}}return C+zR(G.substr(Z))}var sW2={},yF1=(I)=>{console.error(I)},oW2=(I,...d)=>{console.log(`WARN: ${I}`,...d)},kZ=(I,d)=>{if(sW2[`${I}/${d}`])return;console.log(`Deprecated as of ${I}. ${d}`),sW2[`${I}/${d}`]=!0},PF1=zR,eW2=GH,tW2=Symbol("nomatch"),ge5=function(I){let d=Object.create(null),G=Object.create(null),Z=[],C=!0,W=/(^(<[^>]+>|\t|)+|\n)/gm,w="Could not find the language '{}', did you forget to load/include a language module?",B={disableAutodetect:!0,name:"Plain text",contains:[]},A={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:Gw2};function V(e){return A.noHighlightRe.test(e)}function X(e){let G0=e.className+" ";G0+=e.parentNode?e.parentNode.className:"";let H1=A.languageDetectRe.exec(G0);if(H1){let j1=A1(H1[1]);if(!j1)oW2(w.replace("{}",H1[1])),oW2("Falling back to no-highlight mode for this block.",e);return j1?H1[1]:"no-highlight"}return G0.split(/\s+/).find((j1)=>V(j1)||A1(j1))}function _(e,G0,H1,j1){let i1="",E0="";if(typeof G0==="object")i1=e,H1=G0.ignoreIllegals,E0=G0.language,j1=void 0;else kZ("10.7.0","highlight(lang, code, ...args) has been deprecated."),kZ("10.7.0",`Please use highlight(code, options) instead.
https://github.com/highlightjs/highlight.js/issues/2277`),E0=e,i1=G0;let k={code:i1,language:E0};P0("before:highlight",k);let a=k.result?k.result:F(k.language,k.code,H1,j1);return a.code=k.code,P0("after:highlight",a),a}function F(e,G0,H1,j1){function i1(n0,B2){let A2=j.case_insensitive?B2[0].toLowerCase():B2[0];return Object.prototype.hasOwnProperty.call(n0.keywords,A2)&&n0.keywords[A2]}function E0(){if(!L1.keywords){O0.addText(k0);return}let n0=0;L1.keywordPatternRe.lastIndex=0;let B2=L1.keywordPatternRe.exec(k0),A2="";while(B2){A2+=k0.substring(n0,B2.index);let B4=i1(L1,B2);if(B4){let[A4,_5]=B4;if(O0.addText(A2),A2="",i0+=_5,A4.startsWith("_"))A2+=B2[0];else{let D5=j.classNameAliases[A4]||A4;O0.addKeyword(B2[0],D5)}}else A2+=B2[0];n0=L1.keywordPatternRe.lastIndex,B2=L1.keywordPatternRe.exec(k0)}A2+=k0.substr(n0),O0.addText(A2)}function k(){if(k0==="")return;let n0=null;if(typeof L1.subLanguage==="string"){if(!d[L1.subLanguage]){O0.addText(k0);return}n0=F(L1.subLanguage,k0,!0,D0[L1.subLanguage]),D0[L1.subLanguage]=n0.top}else n0=J(k0,L1.subLanguage.length?L1.subLanguage:null);if(L1.relevance>0)i0+=n0.relevance;O0.addSublanguage(n0.emitter,n0.language)}function a(){if(L1.subLanguage!=null)k();else E0();k0=""}function Z1(n0){if(n0.className)O0.openNode(j.classNameAliases[n0.className]||n0.className);return L1=Object.create(n0,{parent:{value:L1}}),L1}function Q1(n0,B2,A2){let B4=uo5(n0.endRe,A2);if(B4){if(n0["on:end"]){let A4=new $F1(n0);if(n0["on:end"](B2,A4),A4.isMatchIgnored)B4=!1}if(B4){while(n0.endsParent&&n0.parent)n0=n0.parent;return n0}}if(n0.endsWithParent)return Q1(n0.parent,B2,A2)}function N1(n0){if(L1.matcher.regexIndex===0)return k0+=n0[0],1;else return a5=!0,0}function F1(n0){let B2=n0[0],A2=n0.rule,B4=new $F1(A2),A4=[A2.__beforeBegin,A2["on:begin"]];for(let _5 of A4){if(!_5)continue;if(_5(n0,B4),B4.isMatchIgnored)return N1(B2)}if(A2&&A2.endSameAsBegin)A2.endRe=Lo5(B2);if(A2.skip)k0+=B2;else{if(A2.excludeBegin)k0+=B2;if(a(),!A2.returnBegin&&!A2.excludeBegin)k0=B2}return Z1(A2),A2.returnBegin?0:B2.length}function O1(n0){let B2=n0[0],A2=G0.substr(n0.index),B4=Q1(L1,n0,A2);if(!B4)return tW2;let A4=L1;if(A4.skip)k0+=B2;else{if(!(A4.returnEnd||A4.excludeEnd))k0+=B2;if(a(),A4.excludeEnd)k0=B2}do{if(L1.className)O0.closeNode();if(!L1.skip&&!L1.subLanguage)i0+=L1.relevance;L1=L1.parent}while(L1!==B4.parent);if(B4.starts){if(B4.endSameAsBegin)B4.starts.endRe=B4.endRe;Z1(B4.starts)}return A4.returnEnd?0:B2.length}function K1(){let n0=[];for(let B2=L1;B2!==j;B2=B2.parent)if(B2.className)n0.unshift(B2.className);n0.forEach((B2)=>O0.openNode(B2))}let R1={};function h1(n0,B2){let A2=B2&&B2[0];if(k0+=n0,A2==null)return a(),0;if(R1.type==="begin"&&B2.type==="end"&&R1.index===B2.index&&A2===""){if(k0+=G0.slice(B2.index,B2.index+1),!C){let B4=new Error("0 width match regex");throw B4.languageName=e,B4.badRule=R1.rule,B4}return 1}if(R1=B2,B2.type==="begin")return F1(B2);else if(B2.type==="illegal"&&!H1){let B4=new Error('Illegal lexeme "'+A2+'" for mode "'+(L1.className||"<unnamed>")+'"');throw B4.mode=L1,B4}else if(B2.type==="end"){let B4=O1(B2);if(B4!==tW2)return B4}if(B2.type==="illegal"&&A2==="")return 1;if(P2>1e5&&P2>B2.index*3)throw new Error("potential infinite loop, way more iterations than matches");return k0+=A2,A2.length}let j=A1(e);if(!j)throw yF1(w.replace("{}",e)),new Error('Unknown language: "'+e+'"');let W1=Ve5(j,{plugins:Z}),U1="",L1=j1||W1,D0={},O0=new A.__emitter(A);K1();let k0="",i0=0,s0=0,P2=0,a5=!1;try{L1.matcher.considerAll();for(;;){if(P2++,a5)a5=!1;else L1.matcher.considerAll();L1.matcher.lastIndex=s0;let n0=L1.matcher.exec(G0);if(!n0)break;let B2=G0.substring(s0,n0.index),A2=h1(B2,n0);s0=n0.index+A2}return h1(G0.substr(s0)),O0.closeAllNodes(),O0.finalize(),U1=O0.toHTML(),{relevance:Math.floor(i0),value:U1,language:e,illegal:!1,emitter:O0,top:L1}}catch(n0){if(n0.message&&n0.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:n0.message,context:G0.slice(s0-100,s0+100),mode:n0.mode},sofar:U1,relevance:0,value:PF1(G0),emitter:O0};else if(C)return{illegal:!1,relevance:0,value:PF1(G0),emitter:O0,language:e,top:L1,errorRaised:n0};else throw n0}}function g(e){let G0={relevance:0,emitter:new A.__emitter(A),value:PF1(e),illegal:!1,top:B};return G0.emitter.addText(e),G0}function J(e,G0){G0=G0||A.languages||Object.keys(d);let H1=g(e),j1=G0.filter(A1).filter(T1).map((Z1)=>F(Z1,e,!1));j1.unshift(H1);let i1=j1.sort((Z1,Q1)=>{if(Z1.relevance!==Q1.relevance)return Q1.relevance-Z1.relevance;if(Z1.language&&Q1.language){if(A1(Z1.language).supersetOf===Q1.language)return 1;else if(A1(Q1.language).supersetOf===Z1.language)return-1}return 0}),[E0,k]=i1,a=E0;return a.second_best=k,a}function K(e){if(!(A.tabReplace||A.useBR))return e;return e.replace(W,(G0)=>{if(G0===`
`)return A.useBR?"<br>":G0;else if(A.tabReplace)return G0.replace(/\t/g,A.tabReplace);return G0})}function Q(e,G0,H1){let j1=G0?G[G0]:H1;if(e.classList.add("hljs"),j1)e.classList.add(j1)}let E={"before:highlightElement":({el:e})=>{if(A.useBR)e.innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
`)},"after:highlightElement":({result:e})=>{if(A.useBR)e.value=e.value.replace(/\n/g,"<br>")}},S=/^(<[^>]+>|\t)+/gm,P={"after:highlightElement":({result:e})=>{if(A.tabReplace)e.value=e.value.replace(S,(G0)=>G0.replace(/\t/g,A.tabReplace))}};function $(e){let G0=null,H1=X(e);if(V(H1))return;P0("before:highlightElement",{el:e,language:H1}),G0=e;let j1=G0.textContent,i1=H1?_(j1,{language:H1,ignoreIllegals:!0}):J(j1);if(P0("after:highlightElement",{el:e,result:i1,text:j1}),e.innerHTML=i1.value,Q(e,H1,i1.language),e.result={language:i1.language,re:i1.relevance,relavance:i1.relevance},i1.second_best)e.second_best={language:i1.second_best.language,re:i1.second_best.relevance,relavance:i1.second_best.relevance}}function h(e){if(e.useBR)kZ("10.3.0","'useBR' will be removed entirely in v11.0"),kZ("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559");A=eW2(A,e)}let O=()=>{if(O.called)return;O.called=!0,kZ("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach($)};function T(){kZ("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),V1=!0}let V1=!1;function c(){if(document.readyState==="loading"){V1=!0;return}document.querySelectorAll("pre code").forEach($)}function c1(){if(V1)c()}if(typeof window!=="undefined"&&window.addEventListener)window.addEventListener("DOMContentLoaded",c1,!1);function o1(e,G0){let H1=null;try{H1=G0(I)}catch(j1){if(yF1("Language definition for '{}' could not be registered.".replace("{}",e)),!C)throw j1;else yF1(j1);H1=B}if(!H1.name)H1.name=e;if(d[e]=H1,H1.rawDefinition=G0.bind(null,I),H1.aliases)m1(H1.aliases,{languageName:e})}function a1(e){delete d[e];for(let G0 of Object.keys(G))if(G[G0]===e)delete G[G0]}function f1(){return Object.keys(d)}function r(e){kZ("10.4.0","requireLanguage will be removed entirely in v11."),kZ("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");let G0=A1(e);if(G0)return G0;throw new Error("The '{}' language is required, but not loaded.".replace("{}",e))}function A1(e){return e=(e||"").toLowerCase(),d[e]||d[G[e]]}function m1(e,{languageName:G0}){if(typeof e==="string")e=[e];e.forEach((H1)=>{G[H1.toLowerCase()]=G0})}function T1(e){let G0=A1(e);return G0&&!G0.disableAutodetect}function e1(e){if(e["before:highlightBlock"]&&!e["before:highlightElement"])e["before:highlightElement"]=(G0)=>{e["before:highlightBlock"](Object.assign({block:G0.el},G0))};if(e["after:highlightBlock"]&&!e["after:highlightElement"])e["after:highlightElement"]=(G0)=>{e["after:highlightBlock"](Object.assign({block:G0.el},G0))}}function F0(e){e1(e),Z.push(e)}function P0(e,G0){let H1=e;Z.forEach(function(j1){if(j1[H1])j1[H1](G0)})}function B0(e){return kZ("10.2.0","fixMarkup will be removed entirely in v11.0"),kZ("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),K(e)}function a0(e){return kZ("10.7.0","highlightBlock will be removed entirely in v12.0"),kZ("10.7.0","Please use highlightElement now."),$(e)}Object.assign(I,{highlight:_,highlightAuto:J,highlightAll:c,fixMarkup:B0,highlightElement:$,highlightBlock:a0,configure:h,initHighlighting:O,initHighlightingOnLoad:T,registerLanguage:o1,unregisterLanguage:a1,listLanguages:f1,getLanguage:A1,registerAliases:m1,requireLanguage:r,autoDetection:T1,inherit:eW2,addPlugin:F0,vuePlugin:De5(I).VuePlugin}),I.debugMode=function(){C=!1},I.safeMode=function(){C=!0},I.versionString=Ye5;for(let e in Ra)if(typeof Ra[e]==="object")Iw2(Ra[e]);return Object.assign(I,Ra),I.addPlugin(E),I.addPlugin(He5),I.addPlugin(P),I},Je5=ge5({});Vw2.exports=Je5});var _w2=Y((vD3,Yw2)=>{function Ke5(I){var d="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",G="далее ",Z="возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли "+"конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",C=G+Z,W="загрузитьизфайла ",w="вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер "+"наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед "+"после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",B=W+w,A="разделительстраниц разделительстрок символтабуляции ",V="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов "+"датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя "+"кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца "+"коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид "+"назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца "+"начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов "+"основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута "+"получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта "+"префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына "+"рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента "+"счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",X="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока "+"xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение "+"ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации "+"выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода "+"деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы "+"загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации "+"заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию "+"значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла "+"изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке "+"каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку "+"кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты "+"конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы "+"копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти "+"найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы "+"началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя "+"начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты "+"начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов "+"начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя "+"начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога "+"начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией "+"начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы "+"номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения "+"обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении "+"отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения "+"открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально "+"отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа "+"перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту "+"подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения "+"подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки "+"показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение "+"показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя "+"получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса "+"получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора "+"получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса "+"получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации "+"получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла "+"получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации "+"получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления "+"получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу "+"получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы "+"получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет "+"получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима "+"получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения "+"получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути "+"получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы "+"получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю "+"получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных "+"получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию "+"получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище "+"поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода "+"представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение "+"прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока "+"рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных "+"раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени "+"смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить "+"состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс "+"строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений "+"стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах "+"текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации "+"текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы "+"удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим "+"установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту "+"установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных "+"установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации "+"установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения "+"установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования "+"установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима "+"установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим "+"установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией "+"установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы "+"установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса "+"формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",_="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы "+"внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль "+"документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты "+"историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений "+"отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик "+"планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок "+"рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений "+"регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа "+"средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек "+"хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков "+"хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",F=A+V+X+_,g="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",J="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий "+"анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы "+"вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы "+"виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя "+"видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение "+"горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы "+"группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания "+"интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки "+"используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы "+"источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева "+"начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы "+"ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме "+"отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы "+"отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы "+"отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы "+"отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска "+"отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования "+"отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта "+"отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы "+"поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы "+"поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы "+"положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы "+"положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы "+"положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском "+"положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы "+"размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта "+"режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты "+"режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения "+"режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра "+"режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения "+"режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы "+"режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки "+"режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание "+"сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы "+"способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление "+"статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы "+"типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы "+"типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления "+"типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы "+"типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы "+"типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений "+"типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы "+"типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы "+"типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы "+"факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени "+"форматкартинки ширинаподчиненныхэлементовформы ",K="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса "+"использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения "+"использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",Q="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",E="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы "+"положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента "+"способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента "+"типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента "+"типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы "+"типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента "+"типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",S="отображениевремениэлементовпланировщика ",P="типфайлаформатированногодокумента ",$="обходрезультатазапроса типзаписизапроса ",h="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",O="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",T="типизмеренияпостроителязапроса ",V1="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных "+"типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений "+"типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций "+"типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных "+"типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных "+"типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",c="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto "+"действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs "+"исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs "+"методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs "+"ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson "+"типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs "+"форматдатыjson экранированиесимволовjson ",c1="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных "+"расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных "+"расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных "+"расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных "+"типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных "+"типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных "+"типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных "+"расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных "+"режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных "+"режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных "+"вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных "+"использованиеусловногооформлениякомпоновкиданных ",o1="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения "+"способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты "+"статусразборапочтовогосообщения ",a1="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",f1="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии "+"типхранилищасертификатовкриптографии ",r="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip "+"режимсохраненияпутейzip уровеньсжатияzip ",A1="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных "+"сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",m1="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса "+"типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",T1="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления "+"видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование "+"использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения "+"использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита "+"назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных "+"оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи "+"основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении "+"периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений "+"повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение "+"разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита "+"режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности "+"режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов "+"режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса "+"режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов "+"сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования "+"типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса "+"типномерадокумента типномеразадачи типформы удалениедвижений ",e1="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения "+"вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки "+"видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак "+"использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога "+"кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных "+"отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения "+"режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных "+"способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter "+"типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",F0=g+J+K+Q+E+S+P+$+h+O+T+V1+c+c1+o1+a1+f1+r+A1+m1+T1+e1,P0="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs "+"блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема "+"географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма "+"диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания "+"диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление "+"записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom "+"запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта "+"интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs "+"использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных "+"итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла "+"компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных "+"конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных "+"макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson "+"обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs "+"объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации "+"описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных "+"описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs "+"определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom "+"определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных "+"параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных "+"полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных "+"построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml "+"процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент "+"процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml "+"результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto "+"сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows "+"сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш "+"сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент "+"текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток "+"фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs "+"фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs "+"фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs "+"фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент "+"фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла "+"чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных ",B0="comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура "+"фиксированноесоответствие фиксированныймассив ",a0=P0+B0,e="null истина ложь неопределено",G0=I.inherit(I.NUMBER_MODE),H1={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},j1={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},i1=I.inherit(I.C_LINE_COMMENT_MODE),E0={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:d,"meta-keyword":C+B},contains:[i1]},k={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},a={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:d,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:d,keyword:"знач",literal:e},contains:[G0,H1,j1]},i1]},I.inherit(I.TITLE_MODE,{begin:d})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:d,keyword:C,built_in:F,class:F0,type:a0,literal:e},contains:[E0,a,i1,k,G0,H1,j1]}}Yw2.exports=Ke5});var Hw2=Y((ED3,Dw2)=>{function Ne5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ze5(...I){return I.map((G)=>Ne5(G)).join("")}function Qe5(I){let d={ruleDeclaration:/^[a-zA-Z][a-zA-Z0-9-]*/,unexpectedChars:/[!@#$^&',?+~`|:]/},G=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],Z=I.COMMENT(/;/,/$/),C={className:"symbol",begin:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+){0,1}/},W={className:"symbol",begin:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+){0,1}/},w={className:"symbol",begin:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+){0,1}/},B={className:"symbol",begin:/%[si]/},A={className:"attribute",begin:ze5(d.ruleDeclaration,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:d.unexpectedChars,keywords:G,contains:[A,Z,C,W,w,B,I.QUOTE_STRING_MODE,I.NUMBER_MODE]}}Dw2.exports=Qe5});var Jw2=Y((MD3,gw2)=>{function Fw2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function fe5(...I){return I.map((G)=>Fw2(G)).join("")}function qe5(...I){return"("+I.map((G)=>Fw2(G)).join("|")+")"}function Re5(I){let d=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:fe5(/"/,qe5(...d)),end:/"/,keywords:d,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}gw2.exports=Re5});var Nw2=Y((SD3,Kw2)=>{function Ue5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ve5(...I){return I.map((G)=>Ue5(G)).join("")}function Ee5(I){let d=/[a-zA-Z_$][a-zA-Z0-9_$]*/,G=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,Z={className:"rest_arg",begin:/[.]{3}/,end:d,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.C_NUMBER_MODE,{className:"class",beginKeywords:"package",end:/\{/,contains:[I.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},I.TITLE_MODE]},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{"meta-keyword":"import include"}},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[I.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,Z]},{begin:ve5(/:\s*/,G)}]},I.METHOD_GUARD],illegal:/#/}}Kw2.exports=Ee5});var Qw2=Y((LD3,zw2)=>{function Me5(I){let G="[eE][-+]?\\d(_|\\d)*",Z="\\d(_|\\d)*(\\.\\d(_|\\d)*)?("+G+")?",C="\\w+",w="\\b("+("\\d(_|\\d)*#\\w+(\\.\\w+)?#("+G+")?")+"|"+Z+")",B="[A-Za-z](_?[A-Za-z0-9.])*",A=`[]\\{\\}%#'"`,V=I.COMMENT("--","$"),X={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:`[]\\{\\}%#'"`,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:"[A-Za-z](_?[A-Za-z0-9.])*",endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:"abort else new return abs elsif not reverse abstract end accept entry select access exception of separate aliased exit or some all others subtype and for out synchronized array function overriding at tagged generic package task begin goto pragma terminate body private then if procedure type case in protected constant interface is raise use declare range delay limited record when delta loop rem while digits renames with do mod requeue xor",literal:"True False"},contains:[V,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:w,relevance:0},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9.])*"},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:`[]\\{\\}%#'"`},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[V,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:`[]\\{\\}%#'"`},X,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:`[]\\{\\}%#'"`}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:`[]\\{\\}%#'"`},X]}}zw2.exports=Me5});var qw2=Y((yD3,fw2)=>{function Se5(I){var d={className:"built_in",begin:"\\b(void|bool|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|string|ref|array|double|float|auto|dictionary)"},G={className:"symbol",begin:"[a-zA-Z0-9_]+@"},Z={className:"keyword",begin:"<",end:">",contains:[d,G]};return d.contains=[Z],G.contains=[Z],{name:"AngelScript",aliases:["asc"],keywords:"for in|0 break continue while do|0 return if else case switch namespace is cast or and xor not get|0 in inout|10 out override set|0 private public const default|0 final shared external mixin|10 enum typedef funcdef this super import from interface abstract|0 try catch protected explicit property",illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[I.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE],relevance:0},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},d,G,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}fw2.exports=Se5});var Uw2=Y((PD3,Rw2)=>{function Le5(I){let d={className:"number",begin:/[$%]\d+/},G={className:"number",begin:/\d+/},Z={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},C={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[I.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[Z,C,I.inherit(I.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{nomarkup:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",d]},Z,G,I.QUOTE_STRING_MODE]}}],illegal:/\S/}}Rw2.exports=Le5});var Lw2=Y(($D3,Sw2)=>{function Mw2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function vw2(...I){return I.map((G)=>Mw2(G)).join("")}function Ew2(...I){return"("+I.map((G)=>Mw2(G)).join("|")+")"}function ye5(I){let d=I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),G={className:"params",begin:/\(/,end:/\)/,contains:["self",I.C_NUMBER_MODE,d]},Z=I.COMMENT(/--/,/$/),C=I.COMMENT(/\(\*/,/\*\)/,{contains:["self",Z]}),W=[Z,C,I.HASH_COMMENT_MODE],w=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],B=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[d,I.C_NUMBER_MODE,{className:"built_in",begin:vw2(/\b/,Ew2(...B),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:vw2(/\b/,Ew2(...w),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[I.UNDERSCORE_TITLE_MODE,G]},...W],illegal:/\/\/|->|=>|\[\[/}}Sw2.exports=ye5});var Pw2=Y((uD3,yw2)=>{function Pe5(I){let G={keyword:"if for while var new function do return void else break",literal:"BackSlash DoubleQuote false ForwardSlash Infinity NaN NewLine null PI SingleQuote Tab TextFormatting true undefined",built_in:"Abs Acos Angle Attachments Area AreaGeodetic Asin Atan Atan2 Average Bearing Boolean Buffer BufferGeodetic Ceil Centroid Clip Console Constrain Contains Cos Count Crosses Cut Date DateAdd DateDiff Day Decode DefaultValue Dictionary Difference Disjoint Distance DistanceGeodetic Distinct DomainCode DomainName Equals Exp Extent Feature FeatureSet FeatureSetByAssociation FeatureSetById FeatureSetByPortalItem FeatureSetByRelationshipName FeatureSetByTitle FeatureSetByUrl Filter First Floor Geometry GroupBy Guid HasKey Hour IIf IndexOf Intersection Intersects IsEmpty IsNan IsSelfIntersecting Length LengthGeodetic Log Max Mean Millisecond Min Minute Month MultiPartToSinglePart Multipoint NextSequenceValue Now Number OrderBy Overlaps Point Polygon Polyline Portal Pow Random Relate Reverse RingIsClockWise Round Second SetGeometry Sin Sort Sqrt Stdev Sum SymmetricDifference Tan Text Timestamp Today ToLocal Top Touches ToUTC TrackCurrentTime TrackGeometryWindow TrackIndex TrackStartTime TrackWindow TypeOf Union UrlEncode Variance Weekday When Within Year "},Z={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},C={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:I.C_NUMBER_RE}],relevance:0},W={className:"subst",begin:"\\$\\{",end:"\\}",keywords:G,contains:[]},w={className:"string",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE,W]};W.contains=[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,w,C,I.REGEXP_MODE];let B=W.contains.concat([I.C_BLOCK_COMMENT_MODE,I.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",keywords:G,contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,w,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,Z,C,{begin:/[{,]\s*/,relevance:0,contains:[{begin:"[A-Za-z_][0-9A-Za-z_]*\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:"[A-Za-z_][0-9A-Za-z_]*",relevance:0}]}]},{begin:"("+I.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|[A-Za-z_][0-9A-Za-z_]*)\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:"[A-Za-z_][0-9A-Za-z_]*"},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:G,contains:B}]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z_][0-9A-Za-z_]*"}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:B}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}yw2.exports=Pe5});var uw2=Y((TD3,$w2)=>{function $e5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ue5(I){return bF1("(?=",I,")")}function va(I){return bF1("(",I,")?")}function bF1(...I){return I.map((G)=>$e5(G)).join("")}function Te5(I){let d=I.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),G="decltype\\(auto\\)",Z="[a-zA-Z_]\\w*::",C="<[^<>]+>",W="(decltype\\(auto\\)|"+va("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+va("<[^<>]+>")+")",w={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},B="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",A={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},I.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},V={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},X={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(A,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},d,I.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:va("[a-zA-Z_]\\w*::")+I.IDENT_RE,relevance:0},F=va("[a-zA-Z_]\\w*::")+I.IDENT_RE+"\\s*\\(",J={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},K={className:"function.dispatch",relevance:0,keywords:J,begin:bF1(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,I.IDENT_RE,ue5(/\s*\(/))},Q=[K,X,w,d,I.C_BLOCK_COMMENT_MODE,V,A],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:Q.concat([{begin:/\(/,end:/\)/,keywords:J,contains:Q.concat(["self"]),relevance:0}]),relevance:0},S={className:"function",begin:"("+W+"[\\*&\\s]+)+"+F,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:J,relevance:0},{begin:F,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[A,V]},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[d,I.C_BLOCK_COMMENT_MODE,A,V,w,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",d,I.C_BLOCK_COMMENT_MODE,A,V,w]}]},w,d,I.C_BLOCK_COMMENT_MODE,X]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:J,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(E,S,K,Q,[X,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:J,contains:["self",w]},{begin:I.IDENT_RE+"::",keywords:J},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},I.TITLE_MODE]}]),exports:{preprocessor:X,strings:A,keywords:J}}}function Oe5(I){let d={keyword:"boolean byte word String",built_in:"KeyboardController MouseController SoftwareSerial EthernetServer EthernetClient LiquidCrystal RobotControl GSMVoiceCall EthernetUDP EsploraTFT HttpClient RobotMotor WiFiClient GSMScanner FileSystem Scheduler GSMServer YunClient YunServer IPAddress GSMClient GSMModem Keyboard Ethernet Console GSMBand Esplora Stepper Process WiFiUDP GSM_SMS Mailbox USBHost Firmata PImage Client Server GSMPIN FileIO Bridge Serial EEPROM Stream Mouse Audio Servo File Task GPRS WiFi Wire TFT GSM SPI SD ",_:"setup loop runShellCommandAsynchronously analogWriteResolution retrieveCallingNumber printFirmwareVersion analogReadResolution sendDigitalPortPair noListenOnLocalhost readJoystickButton setFirmwareVersion readJoystickSwitch scrollDisplayRight getVoiceCallStatus scrollDisplayLeft writeMicroseconds delayMicroseconds beginTransmission getSignalStrength runAsynchronously getAsynchronously listenOnLocalhost getCurrentCarrier readAccelerometer messageAvailable sendDigitalPorts lineFollowConfig countryNameWrite runShellCommand readStringUntil rewindDirectory readTemperature setClockDivider readLightSensor endTransmission analogReference detachInterrupt countryNameRead attachInterrupt encryptionType readBytesUntil robotNameWrite readMicrophone robotNameRead cityNameWrite userNameWrite readJoystickY readJoystickX mouseReleased openNextFile scanNetworks noInterrupts digitalWrite beginSpeaker mousePressed isActionDone mouseDragged displayLogos noAutoscroll addParameter remoteNumber getModifiers keyboardRead userNameRead waitContinue processInput parseCommand printVersion readNetworks writeMessage blinkVersion cityNameRead readMessage setDataMode parsePacket isListening setBitOrder beginPacket isDirectory motorsWrite drawCompass digitalRead clearScreen serialEvent rightToLeft setTextSize leftToRight requestFrom keyReleased compassRead analogWrite interrupts WiFiServer disconnect playMelody parseFloat autoscroll getPINUsed setPINUsed setTimeout sendAnalog readSlider analogRead beginWrite createChar motorsStop keyPressed tempoWrite readButton subnetMask debugPrint macAddress writeGreen randomSeed attachGPRS readString sendString remotePort releaseAll mouseMoved background getXChange getYChange answerCall getResult voiceCall endPacket constrain getSocket writeJSON getButton available connected findUntil readBytes exitValue readGreen writeBlue startLoop IPAddress isPressed sendSysex pauseMode gatewayIP setCursor getOemKey tuneWrite noDisplay loadImage switchPIN onRequest onReceive changePIN playFile noBuffer parseInt overflow checkPIN knobRead beginTFT bitClear updateIR bitWrite position writeRGB highByte writeRed setSpeed readBlue noStroke remoteIP transfer shutdown hangCall beginSMS endWrite attached maintain noCursor checkReg checkPUK shiftOut isValid shiftIn pulseIn connect println localIP pinMode getIMEI display noBlink process getBand running beginSD drawBMP lowByte setBand release bitRead prepare pointTo readRed setMode noFill remove listen stroke detach attach noTone exists buffer height bitSet circle config cursor random IRread setDNS endSMS getKey micros millis begin print write ready flush width isPIN blink clear press mkdir rmdir close point yield image BSSID click delay read text move peek beep rect line open seek fill size turn stop home find step tone sqrt RSSI SSID end bit tan cos sin pow map abs max min get run put",literal:"DIGITAL_MESSAGE FIRMATA_STRING ANALOG_MESSAGE REPORT_DIGITAL REPORT_ANALOG INPUT_PULLUP SET_PIN_MODE INTERNAL2V56 SYSTEM_RESET LED_BUILTIN INTERNAL1V1 SYSEX_START INTERNAL EXTERNAL DEFAULT OUTPUT INPUT HIGH LOW"},G=Te5(I),Z=G.keywords;return Z.keyword+=" "+d.keyword,Z.literal+=" "+d.literal,Z.built_in+=" "+d.built_in,Z._+=" "+d._,G.name="Arduino",G.aliases=["ino"],G.supersetOf="cpp",G}$w2.exports=Oe5});var Ow2=Y((OD3,Tw2)=>{function me5(I){let d={variants:[I.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),I.COMMENT("[;@]","$",{relevance:0}),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+I.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},d,I.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}Tw2.exports=me5});var hw2=Y((mD3,bw2)=>{function lw2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function mw2(I){return kJ("(?=",I,")")}function le5(I){return kJ("(",I,")?")}function kJ(...I){return I.map((G)=>lw2(G)).join("")}function be5(...I){return"("+I.map((G)=>lw2(G)).join("|")+")"}function he5(I){let d=kJ(/[A-Z_]/,le5(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),G=/[A-Za-z0-9._:-]+/,Z={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},C={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},W=I.inherit(C,{begin:/\(/,end:/\)/}),w=I.inherit(I.APOS_STRING_MODE,{className:"meta-string"}),B=I.inherit(I.QUOTE_STRING_MODE,{className:"meta-string"}),A={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:G,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[Z]},{begin:/'/,end:/'/,contains:[Z]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[C,B,w,W,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[C,W,B,w]}]}]},I.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},Z,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[A],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[A],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:kJ(/</,mw2(kJ(d,be5(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:d,relevance:0,starts:A}]},{className:"tag",begin:kJ(/<\//,mw2(kJ(d,/>/))),contains:[{className:"name",begin:d,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}bw2.exports=he5});var xw2=Y((lD3,kw2)=>{function je5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function jw2(...I){return I.map((G)=>je5(G)).join("")}function ke5(I){let d={begin:"^'{3,}[ \\t]*$",relevance:10},G=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],Z=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:jw2(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],C=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:jw2(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],W={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},w={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[I.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),I.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},w,W,...G,...Z,...C,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},d,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}kw2.exports=ke5});var pw2=Y((bD3,cw2)=>{function xe5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function hF1(...I){return I.map((G)=>xe5(G)).join("")}function ce5(I){let d="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",G="get set args call";return{name:"AspectJ",keywords:d,illegal:/<\/|#/,contains:[I.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},I.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:d+" get set args call",excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:hF1(I.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[I.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:d,illegal:/["\[\]]/,contains:[{begin:hF1(I.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:d+" get set args call",relevance:0},I.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:d,excludeEnd:!0,contains:[{begin:hF1(I.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:d,contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},I.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}cw2.exports=ce5});var nw2=Y((hD3,iw2)=>{function pe5(I){let d={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[d,I.inherit(I.QUOTE_STRING_MODE,{contains:[d]}),I.COMMENT(";","$",{relevance:0}),I.C_BLOCK_COMMENT_MODE,{className:"number",begin:I.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}iw2.exports=pe5});var aw2=Y((jD3,rw2)=>{function ie5(I){let d="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",G=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],Z="True False And Null Not Or Default",C="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",W={variants:[I.COMMENT(";","$",{relevance:0}),I.COMMENT("#cs","#ce"),I.COMMENT("#comments-start","#comments-end")]},w={begin:"\\$[A-z0-9_]+"},B={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},A={variants:[I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE]},V={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":G},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{"meta-keyword":"include"},end:"$",contains:[B,{className:"meta-string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},B,W]},X={className:"symbol",begin:"@[A-z0-9_]+"},_={className:"function",beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[I.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[w,B,A]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:d,built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",literal:"True False And Null Not Or Default"},contains:[W,w,B,A,V,X,_]}}rw2.exports=ie5});var ow2=Y((kD3,sw2)=>{function ne5(I){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+I.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[I.C_BLOCK_COMMENT_MODE,I.COMMENT(";","$",{relevance:0}),I.C_NUMBER_MODE,I.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},I.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}sw2.exports=ne5});var tw2=Y((xD3,ew2)=>{function re5(I){let d={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},G="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",Z={className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:"BEGIN END if else while do for in break continue delete next nextfile function func exit|10"},contains:[d,Z,I.REGEXP_MODE,I.HASH_COMMENT_MODE,I.NUMBER_MODE]}}ew2.exports=re5});var dB2=Y((cD3,IB2)=>{function ae5(I){return{name:"X++",aliases:["x++"],keywords:{keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]}]}}IB2.exports=ae5});var ZB2=Y((pD3,GB2)=>{function se5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function oe5(...I){return I.map((G)=>se5(G)).join("")}function ee5(I){let d={},G={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[d]}]};Object.assign(d,{className:"variable",variants:[{begin:oe5(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},G]});let Z={className:"subst",begin:/\$\(/,end:/\)/,contains:[I.BACKSLASH_ESCAPE]},C={begin:/<<-?\s*(?=\w+)/,starts:{contains:[I.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},W={className:"string",begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,d,Z]};Z.contains.push(W);let w={className:"",begin:/\\"/},B={className:"string",begin:/'/,end:/'/},A={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},I.NUMBER_MODE,d]},V=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],X=I.SHEBANG({binary:`(${V.join("|")})`,relevance:10}),_={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[I.inherit(I.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[X,I.SHEBANG(),_,A,I.HASH_COMMENT_MODE,C,W,w,B,d]}}GB2.exports=ee5});var WB2=Y((iD3,CB2)=>{function te5(I){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:"ABS ASC AND ATN AUTO|0 BEEP BLOAD|10 BSAVE|10 CALL CALLS CDBL CHAIN CHDIR CHR$|10 CINT CIRCLE CLEAR CLOSE CLS COLOR COM COMMON CONT COS CSNG CSRLIN CVD CVI CVS DATA DATE$ DEFDBL DEFINT DEFSNG DEFSTR DEF|0 SEG USR DELETE DIM DRAW EDIT END ENVIRON ENVIRON$ EOF EQV ERASE ERDEV ERDEV$ ERL ERR ERROR EXP FIELD FILES FIX FOR|0 FRE GET GOSUB|10 GOTO HEX$ IF THEN ELSE|0 INKEY$ INP INPUT INPUT# INPUT$ INSTR IMP INT IOCTL IOCTL$ KEY ON OFF LIST KILL LEFT$ LEN LET LINE LLIST LOAD LOC LOCATE LOF LOG LPRINT USING LSET MERGE MID$ MKDIR MKD$ MKI$ MKS$ MOD NAME NEW NEXT NOISE NOT OCT$ ON OR PEN PLAY STRIG OPEN OPTION BASE OUT PAINT PALETTE PCOPY PEEK PMAP POINT POKE POS PRINT PRINT] PSET PRESET PUT RANDOMIZE READ REM RENUM RESET|0 RESTORE RESUME RETURN|0 RIGHT$ RMDIR RND RSET RUN SAVE SCREEN SGN SHELL SIN SOUND SPACE$ SPC SQR STEP STICK STOP STR$ STRING$ SWAP SYSTEM TAB TAN TIME$ TIMER TROFF TRON TO USR VAL VARPTR VARPTR$ VIEW WAIT WHILE WEND WIDTH WINDOW WRITE XOR"},contains:[I.QUOTE_STRING_MODE,I.COMMENT("REM","$",{relevance:10}),I.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}CB2.exports=te5});var BB2=Y((nD3,wB2)=>{function It5(I){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin:/</,end:/>/},{begin:/::=/,end:/$/,contains:[{begin:/</,end:/>/},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}]}}wB2.exports=It5});var VB2=Y((rD3,AB2)=>{function dt5(I){let d={className:"literal",begin:/[+-]/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[I.COMMENT(`[^\\[\\]\\.,\\+\\-<> \r
]`,`[\\[\\]\\.,\\+\\-<> \r
]`,{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?:\+\+|--)/,contains:[d]},d]}}AB2.exports=dt5});var YB2=Y((aD3,XB2)=>{function Gt5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function Zt5(I){return jF1("(?=",I,")")}function Ea(I){return jF1("(",I,")?")}function jF1(...I){return I.map((G)=>Gt5(G)).join("")}function Ct5(I){let d=I.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),G="decltype\\(auto\\)",Z="[a-zA-Z_]\\w*::",C="<[^<>]+>",W="(decltype\\(auto\\)|"+Ea("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+Ea("<[^<>]+>")+")",w={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},B="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",A={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},I.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},V={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},X={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(A,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},d,I.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:Ea("[a-zA-Z_]\\w*::")+I.IDENT_RE,relevance:0},F=Ea("[a-zA-Z_]\\w*::")+I.IDENT_RE+"\\s*\\(",J={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},K={className:"function.dispatch",relevance:0,keywords:J,begin:jF1(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,I.IDENT_RE,Zt5(/\s*\(/))},Q=[K,X,w,d,I.C_BLOCK_COMMENT_MODE,V,A],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:Q.concat([{begin:/\(/,end:/\)/,keywords:J,contains:Q.concat(["self"]),relevance:0}]),relevance:0},S={className:"function",begin:"("+W+"[\\*&\\s]+)+"+F,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:J,relevance:0},{begin:F,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[A,V]},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[d,I.C_BLOCK_COMMENT_MODE,A,V,w,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",d,I.C_BLOCK_COMMENT_MODE,A,V,w]}]},w,d,I.C_BLOCK_COMMENT_MODE,X]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:J,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(E,S,K,Q,[X,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:J,contains:["self",w]},{begin:I.IDENT_RE+"::",keywords:J},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},I.TITLE_MODE]}]),exports:{preprocessor:X,strings:A,keywords:J}}}function Wt5(I){let d=Ct5(I),G=["c","h"],Z=["cc","c++","h++","hpp","hh","hxx","cxx"];if(d.disableAutodetect=!0,d.aliases=[],!I.getLanguage("c"))d.aliases.push(...G);if(!I.getLanguage("cpp"))d.aliases.push(...Z);return d}XB2.exports=Wt5});var DB2=Y((sD3,_B2)=>{function wt5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function Ma(I){return Bt5("(",I,")?")}function Bt5(...I){return I.map((G)=>wt5(G)).join("")}function At5(I){let d=I.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),G="decltype\\(auto\\)",Z="[a-zA-Z_]\\w*::",C="<[^<>]+>",W="(decltype\\(auto\\)|"+Ma("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+Ma("<[^<>]+>")+")",w={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},B="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",A={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},I.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},V={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},X={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(A,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},d,I.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:Ma("[a-zA-Z_]\\w*::")+I.IDENT_RE,relevance:0},F=Ma("[a-zA-Z_]\\w*::")+I.IDENT_RE+"\\s*\\(",g={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr _Bool complex _Complex imaginary _Imaginary",literal:"true false nullptr NULL"},J=[X,w,d,I.C_BLOCK_COMMENT_MODE,V,A],K={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:J.concat([{begin:/\(/,end:/\)/,keywords:g,contains:J.concat(["self"]),relevance:0}]),relevance:0},Q={className:"function",begin:"("+W+"[\\*&\\s]+)+"+F,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:g,relevance:0},{begin:F,returnBegin:!0,contains:[_],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[d,I.C_BLOCK_COMMENT_MODE,A,V,w,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",d,I.C_BLOCK_COMMENT_MODE,A,V,w]}]},w,d,I.C_BLOCK_COMMENT_MODE,X]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(K,Q,J,[X,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:g,contains:["self",w]},{begin:I.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},I.TITLE_MODE]}]),exports:{preprocessor:X,strings:A,keywords:g}}}_B2.exports=At5});var FB2=Y((oD3,HB2)=>{function Vt5(I){let d="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",G="false true",Z=[I.C_LINE_COMMENT_MODE,I.COMMENT(/\{/,/\}/,{relevance:0}),I.COMMENT(/\(\*/,/\*\)/,{relevance:10})],C={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},W={className:"string",begin:/(#\d+)+/},w={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},B={className:"string",begin:'"',end:'"'},A={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[I.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:d,contains:[C,W]}].concat(Z)},V={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[I.TITLE_MODE,A]};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:d,literal:"false true"},illegal:/\/\*/,contains:[C,W,w,B,I.NUMBER_MODE,V,A]}}HB2.exports=Vt5});var JB2=Y((eD3,gB2)=>{function Xt5(I){return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[I.QUOTE_STRING_MODE,I.NUMBER_MODE,I.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[I.inherit(I.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[I.inherit(I.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}gB2.exports=Xt5});var NB2=Y((tD3,KB2)=>{function Yt5(I){let d="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",G="shared abstract formal default actual variable late native deprecated final sealed annotation suppressWarnings small",Z="doc by license see throws tagged",C={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:d,relevance:10},W=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[C]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return C.contains=W,{name:"Ceylon",keywords:{keyword:d+" "+G,meta:"doc by license see throws tagged"},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[I.C_LINE_COMMENT_MODE,I.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat(W)}}KB2.exports=Yt5});var QB2=Y((IH3,zB2)=>{function _t5(I){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:"if let in with where case of class instance otherwise implementation definition system module from import qualified as special code inline foreign export ccall stdcall generic derive infix infixl infixr",built_in:"Int Real Char Bool",literal:"True False"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}zB2.exports=_t5});var qB2=Y((dH3,fB2)=>{function Dt5(I){let G="[a-zA-Z_\\-!.?+*=<>&#'][a-zA-Z_\\-!.?+*=<>&#'0-9/;:]*",Z="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",C={$pattern:G,"builtin-name":"def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},W="[-+]?\\d+(\\.\\d+)?",w={begin:G,relevance:0},B={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},A=I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),V=I.COMMENT(";","$",{relevance:0}),X={className:"literal",begin:/\b(true|false|nil)\b/},_={begin:"[\\[\\{]",end:"[\\]\\}]"},F={className:"comment",begin:"\\^"+G},g=I.COMMENT("\\^\\{","\\}"),J={className:"symbol",begin:"[:]{1,2}"+G},K={begin:"\\(",end:"\\)"},Q={endsWithParent:!0,relevance:0},E={keywords:C,className:"name",begin:G,relevance:0,starts:Q},S=[K,A,F,g,V,J,_,B,X,w],P={beginKeywords:"def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",lexemes:G,end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:G,relevance:0,excludeEnd:!0,endsParent:!0}].concat(S)};return K.contains=[I.COMMENT("comment",""),P,E,Q],Q.contains=S,_.contains=S,g.contains=[_],{name:"Clojure",aliases:["clj"],illegal:/\S/,contains:[K,A,F,g,V,J,_,B,X]}}fB2.exports=Dt5});var UB2=Y((GH3,RB2)=>{function Ht5(I){return{name:"Clojure REPL",contains:[{className:"meta",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}RB2.exports=Ht5});var EB2=Y((ZH3,vB2)=>{function Ft5(I){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},I.HASH_COMMENT_MODE,I.QUOTE_STRING_MODE,I.NUMBER_MODE]}}vB2.exports=Ft5});var SB2=Y((CH3,MB2)=>{var gt5=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Jt5=["true","false","null","undefined","NaN","Infinity"],Kt5=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],Nt5=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],zt5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Qt5=["arguments","this","super","console","window","document","localStorage","module","global"],ft5=[].concat(zt5,Qt5,Kt5,Nt5);function qt5(I){let d=["npm","print"],G=["yes","no","on","off"],Z=["then","unless","until","loop","by","when","and","or","is","isnt","not"],C=["var","const","let","function","static"],W=(g)=>(J)=>!g.includes(J),w={keyword:gt5.concat(Z).filter(W(C)),literal:Jt5.concat(G),built_in:ft5.concat(d)},B="[A-Za-z$_][0-9A-Za-z$_]*",A={className:"subst",begin:/#\{/,end:/\}/,keywords:w},V=[I.BINARY_NUMBER_MODE,I.inherit(I.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[I.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[I.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[I.BACKSLASH_ESCAPE,A]},{begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,A]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[A,I.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];A.contains=V;let X=I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),_="(\\(.*\\)\\s*)?\\B[-=]>",F={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:w,contains:["self"].concat(V)}]};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:w,illegal:/\/\*/,contains:V.concat([I.COMMENT("###","###"),I.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*[A-Za-z$_][0-9A-Za-z$_]*\\s*=\\s*"+_,end:"[-=]>",returnBegin:!0,contains:[X,F]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:_,end:"[-=]>",returnBegin:!0,contains:[F]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[X]},X]},{begin:"[A-Za-z$_][0-9A-Za-z$_]*:",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}MB2.exports=qt5});var yB2=Y((WH3,LB2)=>{function Rt5(I){return{name:"Coq",keywords:{keyword:"_|0 as at cofix else end exists exists2 fix for forall fun if IF in let match mod Prop return Set then Type using where with Abort About Add Admit Admitted All Arguments Assumptions Axiom Back BackTo Backtrack Bind Blacklist Canonical Cd Check Class Classes Close Coercion Coercions CoFixpoint CoInductive Collection Combined Compute Conjecture Conjectures Constant constr Constraint Constructors Context Corollary CreateHintDb Cut Declare Defined Definition Delimit Dependencies Dependent Derive Drop eauto End Equality Eval Example Existential Existentials Existing Export exporting Extern Extract Extraction Fact Field Fields File Fixpoint Focus for From Function Functional Generalizable Global Goal Grab Grammar Graph Guarded Heap Hint HintDb Hints Hypotheses Hypothesis ident Identity If Immediate Implicit Import Include Inductive Infix Info Initial Inline Inspect Instance Instances Intro Intros Inversion Inversion_clear Language Left Lemma Let Libraries Library Load LoadPath Local Locate Ltac ML Mode Module Modules Monomorphic Morphism Next NoInline Notation Obligation Obligations Opaque Open Optimize Options Parameter Parameters Parametric Path Paths pattern Polymorphic Preterm Print Printing Program Projections Proof Proposition Pwd Qed Quit Rec Record Recursive Redirect Relation Remark Remove Require Reserved Reset Resolve Restart Rewrite Right Ring Rings Save Scheme Scope Scopes Script Search SearchAbout SearchHead SearchPattern SearchRewrite Section Separate Set Setoid Show Solve Sorted Step Strategies Strategy Structure SubClass Table Tables Tactic Term Test Theorem Time Timeout Transparent Type Typeclasses Types Undelimit Undo Unfocus Unfocused Unfold Universe Universes Unset Unshelve using Variable Variables Variant Verbose Visibility where with",built_in:"abstract absurd admit after apply as assert assumption at auto autorewrite autounfold before bottom btauto by case case_eq cbn cbv change classical_left classical_right clear clearbody cofix compare compute congruence constr_eq constructor contradict contradiction cut cutrewrite cycle decide decompose dependent destruct destruction dintuition discriminate discrR do double dtauto eapply eassumption eauto ecase econstructor edestruct ediscriminate eelim eexact eexists einduction einjection eleft elim elimtype enough equality erewrite eright esimplify_eq esplit evar exact exactly_once exfalso exists f_equal fail field field_simplify field_simplify_eq first firstorder fix fold fourier functional generalize generalizing gfail give_up has_evar hnf idtac in induction injection instantiate intro intro_pattern intros intuition inversion inversion_clear is_evar is_var lapply lazy left lia lra move native_compute nia nsatz omega once pattern pose progress proof psatz quote record red refine reflexivity remember rename repeat replace revert revgoals rewrite rewrite_strat right ring ring_simplify rtauto set setoid_reflexivity setoid_replace setoid_rewrite setoid_symmetry setoid_transitivity shelve shelve_unifiable simpl simple simplify_eq solve specialize split split_Rabs split_Rmult stepl stepr subst sum swap symmetry tactic tauto time timeout top transitivity trivial try tryif unfold unify until using vm_compute with"},contains:[I.QUOTE_STRING_MODE,I.COMMENT("\\(\\*","\\*\\)"),I.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}LB2.exports=Rt5});var $B2=Y((wH3,PB2)=>{function Ut5(I){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)</,end:/>/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*</,end:/>\s*>/,subLanguage:"xml"}]}}PB2.exports=Ut5});var TB2=Y((BH3,uB2)=>{function vt5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function Et5(I){return kF1("(?=",I,")")}function Sa(I){return kF1("(",I,")?")}function kF1(...I){return I.map((G)=>vt5(G)).join("")}function Mt5(I){let d=I.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),G="decltype\\(auto\\)",Z="[a-zA-Z_]\\w*::",C="<[^<>]+>",W="(decltype\\(auto\\)|"+Sa("[a-zA-Z_]\\w*::")+"[a-zA-Z_]\\w*"+Sa("<[^<>]+>")+")",w={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},B="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",A={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'(\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)|.)",end:"'",illegal:"."},I.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},V={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},X={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(A,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/},d,I.C_BLOCK_COMMENT_MODE]},_={className:"title",begin:Sa("[a-zA-Z_]\\w*::")+I.IDENT_RE,relevance:0},F=Sa("[a-zA-Z_]\\w*::")+I.IDENT_RE+"\\s*\\(",J={keyword:"int float while private char char8_t char16_t char32_t catch import module export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using asm case typeid wchar_t short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignas alignof constexpr consteval constinit decltype concept co_await co_return co_yield requires noexcept static_assert thread_local restrict final override atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong new throw return and and_eq bitand bitor compl not not_eq or or_eq xor xor_eq",built_in:"_Bool _Complex _Imaginary",_relevance_hints:["asin","atan2","atan","calloc","ceil","cosh","cos","exit","exp","fabs","floor","fmod","fprintf","fputs","free","frexp","auto_ptr","deque","list","queue","stack","vector","map","set","pair","bitset","multiset","multimap","unordered_set","fscanf","future","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","tolower","toupper","labs","ldexp","log10","log","malloc","realloc","memchr","memcmp","memcpy","memset","modf","pow","printf","putchar","puts","scanf","sinh","sin","snprintf","sprintf","sqrt","sscanf","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","tanh","tan","unordered_map","unordered_multiset","unordered_multimap","priority_queue","make_pair","array","shared_ptr","abort","terminate","abs","acos","vfprintf","vprintf","vsprintf","endl","initializer_list","unique_ptr","complex","imaginary","std","string","wstring","cin","cout","cerr","clog","stdin","stdout","stderr","stringstream","istringstream","ostringstream"],literal:"true false nullptr NULL"},K={className:"function.dispatch",relevance:0,keywords:J,begin:kF1(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!while)/,I.IDENT_RE,Et5(/\s*\(/))},Q=[K,X,w,d,I.C_BLOCK_COMMENT_MODE,V,A],E={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:Q.concat([{begin:/\(/,end:/\)/,keywords:J,contains:Q.concat(["self"]),relevance:0}]),relevance:0},S={className:"function",begin:"("+W+"[\\*&\\s]+)+"+F,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:"decltype\\(auto\\)",keywords:J,relevance:0},{begin:F,returnBegin:!0,contains:[_],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[A,V]},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[d,I.C_BLOCK_COMMENT_MODE,A,V,w,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",d,I.C_BLOCK_COMMENT_MODE,A,V,w]}]},w,d,I.C_BLOCK_COMMENT_MODE,X]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:J,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(E,S,K,Q,[X,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:J,contains:["self",w]},{begin:I.IDENT_RE+"::",keywords:J},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},I.TITLE_MODE]}]),exports:{preprocessor:X,strings:A,keywords:J}}}uB2.exports=Mt5});var mB2=Y((AH3,OB2)=>{function St5(I){let G="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",Z="property rsc_defaults op_defaults",C="params meta operations op rule attributes utilization",W="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",w="number string",B="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization "+W+" number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[I.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+G.split(" ").join("|")+")\\s+",keywords:G,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},I.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}OB2.exports=St5});var bB2=Y((VH3,lB2)=>{function Lt5(I){let w={$pattern:"[a-zA-Z_]\\w*[!?=]?",keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},B={className:"subst",begin:/#\{/,end:/\}/,keywords:w},A={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:w};function V(Q,E){let S=[{begin:Q,end:E}];return S[0].contains=S,S}let X={className:"string",contains:[I.BACKSLASH_ESCAPE,B],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:V("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:V("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:V(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:V("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},_={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:V("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:V("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:V(/\{/,/\}/)},{begin:"%q<",end:">",contains:V("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},F={begin:"(?!%\\})("+I.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[I.BACKSLASH_ESCAPE,B],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},g={className:"regexp",contains:[I.BACKSLASH_ESCAPE,B],variants:[{begin:"%r\\(",end:"\\)",contains:V("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:V("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:V(/\{/,/\}/)},{begin:"%r<",end:">",contains:V("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},J={className:"meta",begin:"@\\[",end:"\\]",contains:[I.inherit(I.QUOTE_STRING_MODE,{className:"meta-string"})]},K=[A,X,_,g,F,J,I.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[I.HASH_COMMENT_MODE,I.inherit(I.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[I.HASH_COMMENT_MODE,I.inherit(I.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[I.HASH_COMMENT_MODE,I.inherit(I.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",endsParent:!0})],relevance:2},{className:"symbol",begin:I.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[X,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?"}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)(_?[ui](8|16|32|64|128))?"},{begin:"\\b0o([0-7_]+)(_?[ui](8|16|32|64|128))?"},{begin:"\\b0x([A-Fa-f0-9_]+)(_?[ui](8|16|32|64|128))?"},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?(_?f(32|64))?(?!_)"},{begin:"\\b([1-9][0-9_]*|0)(_?[ui](8|16|32|64|128))?"}],relevance:0}];return B.contains=K,A.contains=K.slice(1),{name:"Crystal",aliases:["cr"],keywords:w,contains:K}}lB2.exports=Lt5});var jB2=Y((XH3,hB2)=>{function yt5(I){let d=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],G=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],Z=["default","false","null","true"],C=["abstract","as","base","break","case","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],W=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],w={keyword:C.concat(W),built_in:d,literal:Z},B=I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),A={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},V={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},X=I.inherit(V,{illegal:/\n/}),_={className:"subst",begin:/\{/,end:/\}/,keywords:w},F=I.inherit(_,{illegal:/\n/}),g={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},I.BACKSLASH_ESCAPE,F]},J={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},_]},K=I.inherit(J,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},F]});_.contains=[J,g,V,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,A,I.C_BLOCK_COMMENT_MODE],F.contains=[K,g,X,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,A,I.inherit(I.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];let Q={variants:[J,g,V,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]},E={begin:"<",end:">",contains:[{beginKeywords:"in out"},B]},S=I.IDENT_RE+"(<"+I.IDENT_RE+"(\\s*,\\s*"+I.IDENT_RE+")*>)?(\\[\\])?",P={begin:"@"+I.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:w,illegal:/::/,contains:[I.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef warning error line region endregion pragma checksum"}},Q,A,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},B,E,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,E,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"meta-string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+S+"\\s+)+"+I.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:w,contains:[{beginKeywords:G.join(" "),relevance:0},{begin:I.IDENT_RE+"\\s*(<.+>\\s*)?\\(",returnBegin:!0,contains:[I.TITLE_MODE,E],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:w,relevance:0,contains:[Q,A,I.C_BLOCK_COMMENT_MODE]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},P]}}hB2.exports=yt5});var xB2=Y((YH3,kB2)=>{function Pt5(I){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:"base-uri child-src connect-src default-src font-src form-action frame-ancestors frame-src img-src media-src object-src plugin-types report-uri sandbox script-src style-src"},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}kB2.exports=Pt5});var pB2=Y((_H3,cB2)=>{var $t5=(I)=>{return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}}},ut5=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Tt5=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Ot5=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],mt5=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],lt5=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function bt5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ht5(I){return jt5("(?=",I,")")}function jt5(...I){return I.map((G)=>bt5(G)).join("")}function kt5(I){let d=$t5(I),G={className:"built_in",begin:/[\w-]+(?=\()/},Z={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},C="and or not only",W=/@-?\w[\w]*(-\w+)*/,w="[a-zA-Z-][a-zA-Z0-9_-]*",B=[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[I.C_BLOCK_COMMENT_MODE,Z,I.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Ot5.join("|")+")"},{begin:"::("+mt5.join("|")+")"}]},{className:"attribute",begin:"\\b("+lt5.join("|")+")\\b"},{begin:":",end:"[;}]",contains:[d.HEXCOLOR,d.IMPORTANT,I.CSS_NUMBER_MODE,...B,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},G]},{begin:ht5(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:W},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Tt5.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...B,I.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+ut5.join("|")+")\\b"}]}}cB2.exports=kt5});var nB2=Y((DH3,iB2)=>{function xt5(I){let d={$pattern:I.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},G="(0|[1-9][\\d_]*)",Z="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",C="0[bB][01_]+",W="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",w="0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",B="([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))",A="((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|"+B+")|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)"+B+"?)",V="(0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))",X="((0|[1-9][\\d_]*)|0[bB][01_]+|"+w+")",_="("+V+"|"+A+")",F=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,g={className:"number",begin:"\\b"+X+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},J={className:"number",begin:"\\b("+_+"([fF]|L|i|[fF]i|Li)?|"+X+"(i|[fF]i|Li))",relevance:0},K={className:"string",begin:"'("+F+"|.)",end:"'",illegal:"."},E={className:"string",begin:'"',contains:[{begin:F,relevance:0}],end:'"[cwd]?'},S={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},P={className:"string",begin:"`",end:"`[cwd]?"},$={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},h={className:"string",begin:'q"\\{',end:'\\}"'},O={className:"meta",begin:"^#!",end:"$",relevance:5},T={className:"meta",begin:"#(line)",end:"$",relevance:5},V1={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},c=I.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:d,contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,c,$,E,S,P,h,J,g,K,O,T,V1]}}iB2.exports=xt5});var aB2=Y((HH3,rB2)=>{function ct5(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function pt5(...I){return I.map((G)=>ct5(G)).join("")}function it5(I){let d={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},G={begin:"^[-\\*]{3,}",end:"$"},Z={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},C={className:"bullet",begin:"^[ \t]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},W={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},B={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:pt5(/\[.+?\]\(/,/[A-Za-z][A-Za-z0-9+.-]*/,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.+?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},A={className:"strong",contains:[],variants:[{begin:/_{2}/,end:/_{2}/},{begin:/\*{2}/,end:/\*{2}/}]},V={className:"emphasis",contains:[],variants:[{begin:/\*(?!\*)/,end:/\*/},{begin:/_(?!_)/,end:/_/,relevance:0}]};A.contains.push(V),V.contains.push(A);let X=[d,B];return A.contains=A.contains.concat(X),V.contains=V.contains.concat(X),X=X.concat(A,V),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:X},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:X}]}]},d,C,A,V,{className:"quote",begin:"^>\\s+",contains:X,end:"$"},Z,G,B,W]}}rB2.exports=it5});var oB2=Y((FH3,sB2)=>{function nt5(I){let d={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},G={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},Z={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[I.BACKSLASH_ESCAPE,d,G]},{begin:'"""',end:'"""',contains:[I.BACKSLASH_ESCAPE,d,G]},{begin:"'",end:"'",illegal:"\\n",contains:[I.BACKSLASH_ESCAPE,d,G]},{begin:'"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE,d,G]}]};G.contains=[I.C_NUMBER_MODE,Z];let C=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],W=C.map((B)=>`${B}?`);return{name:"Dart",keywords:{keyword:"abstract as assert async await break case catch class const continue covariant default deferred do dynamic else enum export extends extension external factory false final finally for Function get hide if implements import in inferface is late library mixin new null on operator part required rethrow return set show static super switch sync this throw true try typedef var void while with yield",built_in:C.concat(W).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[Z,I.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),I.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},I.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}sB2.exports=nt5});var tB2=Y((gH3,eB2)=>{function rt5(I){let d="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure absolute reintroduce operator as is abstract alias assembler bitpacked break continue cppdecl cvar enumerator experimental platform deprecated unimplemented dynamic export far16 forward generic helper implements interrupt iochecks local name nodefault noreturn nostackframe oldfpccall otherwise saveregisters softfloat specialize strict unaligned varargs ",G=[I.C_LINE_COMMENT_MODE,I.COMMENT(/\{/,/\}/,{relevance:0}),I.COMMENT(/\(\*/,/\*\)/,{relevance:10})],Z={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},C={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},W={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},w={className:"string",begin:/(#\d+)+/},B={begin:I.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[I.TITLE_MODE]},A={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[I.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:d,contains:[C,w,Z].concat(G)},Z].concat(G)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal","freepascal","lazarus","lpr","lfm"],case_insensitive:!0,keywords:d,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[C,w,I.NUMBER_MODE,W,B,A,Z].concat(G)}}eB2.exports=rt5});var dA2=Y((JH3,IA2)=>{function at5(I){return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,variants:[{begin:/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^--- +\d+,\d+ +----$/}]},{className:"comment",variants:[{begin:/Index: /,end:/$/},{begin:/^index/,end:/$/},{begin:/={3,}/,end:/$/},{begin:/^-{3}/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+{3}/,end:/$/},{begin:/^\*{15}$/},{begin:/^diff --git/,end:/$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}IA2.exports=at5});var ZA2=Y((KH3,GA2)=>{function st5(I){let d={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[I.QUOTE_STRING_MODE,I.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[I.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),I.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[d],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[d]}]}}GA2.exports=st5});var WA2=Y((NH3,CA2)=>{function ot5(I){return{name:"DNS Zone",aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[I.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},I.inherit(I.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}CA2.exports=ot5});var BA2=Y((zH3,wA2)=>{function et5(I){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:"from maintainer expose env arg user onbuild stopsignal",contains:[I.HASH_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"</"}}wA2.exports=et5});var VA2=Y((QH3,AA2)=>{function tt5(I){let d=I.COMMENT(/^\s*@?rem\b/,/$/,{relevance:10});return{name:"Batch file (DOS)",aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq",built_in:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux shift cd dir echo setlocal endlocal set pause copy append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shift sort start subst time title tree type ver verify vol ping net ipconfig taskkill xcopy ren del"},contains:[{className:"variable",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:{className:"symbol",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",relevance:0}.begin,end:"goto:eof",contains:[I.inherit(I.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),d]},{className:"number",begin:"\\b\\d+",relevance:0},d]}}AA2.exports=tt5});var YA2=Y((fH3,XA2)=>{function I19(I){return{keywords:"dsconfig",contains:[{className:"keyword",begin:"^dsconfig",end:/\s/,excludeEnd:!0,relevance:10},{className:"built_in",begin:/(list|create|get|set|delete)-(\w+)/,end:/\s/,excludeEnd:!0,illegal:"!@#$%^&*()",relevance:10},{className:"built_in",begin:/--(\w+)/,end:/\s/,excludeEnd:!0},{className:"string",begin:/"/,end:/"/},{className:"string",begin:/'/,end:/'/},{className:"string",begin:/[\w\-?]+:\w+/,end:/\W/,relevance:0},{className:"string",begin:/\w+(\-\w+)*/,end:/(?=\W)/,relevance:0},I.HASH_COMMENT_MODE]}}XA2.exports=I19});var DA2=Y((qH3,_A2)=>{function d19(I){let d={className:"string",variants:[I.inherit(I.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[I.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},G={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:I.C_NUMBER_RE}],relevance:0},Z={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elif endif define undef ifdef ifndef"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[I.inherit(d,{className:"meta-string"}),{className:"meta-string",begin:"<",end:">",illegal:"\\n"}]},d,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},C={className:"variable",begin:/&[a-z\d_]*\b/},W={className:"meta-keyword",begin:"/[a-z][a-z\\d-]*/"},w={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},B={className:"params",begin:"<",end:">",contains:[G,C]},A={className:"class",begin:/[a-zA-Z_][a-zA-Z\d_@]*\s\{/,end:/[{;=]/,returnBegin:!0,excludeEnd:!0};return{name:"Device Tree",keywords:"",contains:[{className:"class",begin:"/\\s*\\{",end:/\};/,relevance:10,contains:[C,W,w,A,B,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,G,d]},C,W,w,A,B,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,G,d,Z,{begin:I.IDENT_RE+"::",keywords:""}]}}_A2.exports=d19});var FA2=Y((RH3,HA2)=>{function G19(I){return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[I.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:"if eq ne lt lte gt gte select default math sep"}]}}HA2.exports=G19});var JA2=Y((UH3,gA2)=>{function Z19(I){let d=I.COMMENT(/\(\*/,/\*\)/),G={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},C={begin:/=/,end:/[.;]/,contains:[d,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[d,G,C]}}gA2.exports=Z19});var NA2=Y((vH3,KA2)=>{function C19(I){let Z={$pattern:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",keyword:"and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote require import with|0"},C={className:"subst",begin:/#\{/,end:/\}/,keywords:Z},W={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[1-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},w=`[/|([{<"']`,B={className:"string",begin:`~[a-z](?=[/|([{<"'])`,contains:[{endsParent:!0,contains:[{contains:[I.BACKSLASH_ESCAPE,C],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]}]}]},A={className:"string",begin:`~[A-Z](?=[/|([{<"'])`,contains:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin:/</,end:/>/}]},V={className:"string",contains:[I.BACKSLASH_ESCAPE,C],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},X={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",endsParent:!0})]},_=I.inherit(X,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),F=[V,A,B,I.HASH_COMMENT_MODE,_,X,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[V,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:"[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?:(?!:)",relevance:0},W,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"},{begin:"->"},{begin:"("+I.RE_STARTERS_RE+")\\s*",contains:[I.HASH_COMMENT_MODE,{begin:/\/: (?=\d+\s*[,\]])/,relevance:0,contains:[W]},{className:"regexp",illegal:"\\n",contains:[I.BACKSLASH_ESCAPE,C],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return C.contains=F,{name:"Elixir",keywords:Z,contains:F}}KA2.exports=C19});var QA2=Y((EH3,zA2)=>{function W19(I){let d={variants:[I.COMMENT("--","$"),I.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},G={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},Z={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},d]},C={begin:/\{/,end:/\}/,contains:Z.contains},W={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port effect command subscription",contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[Z,d],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[Z,d],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[G,Z,C,d]},{beginKeywords:"infix infixl infixr",end:"$",contains:[I.C_NUMBER_MODE,d]},{begin:"port",end:"$",keywords:"port",contains:[d]},W,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,G,I.inherit(I.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),d,{begin:"->|<-"}],illegal:/;/}}zA2.exports=W19});var RA2=Y((MH3,qA2)=>{function w19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function B19(I){return fA2("(?=",I,")")}function fA2(...I){return I.map((G)=>w19(G)).join("")}function A19(I){let G={keyword:"and then defined module in return redo if BEGIN retry end for self when next until do begin unless END rescue else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor __FILE__",built_in:"proc lambda",literal:"true false nil"},Z={className:"doctag",begin:"@[A-Za-z]+"},C={begin:"#<",end:">"},W=[I.COMMENT("#","$",{contains:[Z]}),I.COMMENT("^=begin","^=end",{contains:[Z],relevance:10}),I.COMMENT("^__END__","\\n$")],w={className:"subst",begin:/#\{/,end:/\}/,keywords:G},B={className:"string",contains:[I.BACKSLASH_ESCAPE,w],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:/<<[-~]?'?(\w+)\n(?:[^\n]*\n)*?\s*\1\b/,returnBegin:!0,contains:[{begin:/<<[-~]?'?/},I.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[I.BACKSLASH_ESCAPE,w]})]}]},A="[1-9](_?[0-9])*|0",V="[0-9](_?[0-9])*",X={className:"number",relevance:0,variants:[{begin:"\\b([1-9](_?[0-9])*|0)(\\.([0-9](_?[0-9])*))?([eE][+-]?([0-9](_?[0-9])*)|r)?i?\\b"},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},_={className:"params",begin:"\\(",end:"\\)",endsParent:!0,keywords:G},F=[B,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|!)?"}),{begin:"<\\s*",contains:[{begin:"("+I.IDENT_RE+"::)?"+I.IDENT_RE,relevance:0}]}].concat(W)},{className:"function",begin:fA2(/def\s+/,B19("([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)\\s*(\\(|;|$)")),relevance:0,keywords:"def",end:"$|;",contains:[I.inherit(I.TITLE_MODE,{begin:"([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)"}),_].concat(W)},{begin:I.IDENT_RE+"::"},{className:"symbol",begin:I.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[B,{begin:"([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)"}],relevance:0},X,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,relevance:0,keywords:G},{begin:"("+I.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[I.BACKSLASH_ESCAPE,w],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(C,W),relevance:0}].concat(C,W);w.contains=F,_.contains=F;let g="[>?]>",J="[\\w#]+\\(\\w+\\):\\d+:\\d+>",K="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",Q=[{begin:/^\s*=>/,starts:{end:"$",contains:F}},{className:"meta",begin:"^("+g+"|"+J+"|"+K+")(?=[ ])",starts:{end:"$",contains:F}}];return W.unshift(C),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:G,illegal:/\/\*/,contains:[I.SHEBANG({binary:"ruby"})].concat(Q).concat(W).concat(F)}}qA2.exports=A19});var vA2=Y((SH3,UA2)=>{function V19(I){return{name:"ERB",subLanguage:"xml",contains:[I.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}UA2.exports=V19});var MA2=Y((LH3,EA2)=>{function X19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function Y19(...I){return I.map((G)=>X19(G)).join("")}function _19(I){return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta",begin:"^[0-9]+> ",relevance:10},I.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{begin:Y19(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}EA2.exports=_19});var LA2=Y((yH3,SA2)=>{function D19(I){let G="([a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*|[a-z'][a-zA-Z0-9_']*)",Z={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},C=I.COMMENT("%","$"),W={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},w={begin:"fun\\s+[a-z'][a-zA-Z0-9_']*/\\d+"},B={begin:G+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:G,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},A={begin:/\{/,end:/\}/,relevance:0},V={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},X={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},_={begin:"#"+I.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+I.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},F={beginKeywords:"fun receive if try case",end:"end",keywords:Z};F.contains=[C,w,I.inherit(I.APOS_STRING_MODE,{className:""}),F,B,I.QUOTE_STRING_MODE,W,A,V,X,_];let g=[C,w,F,B,I.QUOTE_STRING_MODE,W,A,V,X,_];B.contains[1].contains=g,A.contains=g,_.contains[1].contains=g;let J=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],K={className:"params",begin:"\\(",end:"\\)",contains:g};return{name:"Erlang",aliases:["erl"],keywords:Z,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^[a-z'][a-zA-Z0-9_']*\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[K,I.inherit(I.TITLE_MODE,{begin:"[a-z'][a-zA-Z0-9_']*"})],starts:{end:";|\\.",keywords:Z,contains:g}},C,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+I.IDENT_RE,keyword:J.map((Q)=>`${Q}|1.5`).join(" ")},contains:[K]},W,I.QUOTE_STRING_MODE,_,V,X,A,{begin:/\.$/}]}}SA2.exports=D19});var PA2=Y((PH3,yA2)=>{function H19(I){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:"ABS ACCRINT ACCRINTM ACOS ACOSH ACOT ACOTH AGGREGATE ADDRESS AMORDEGRC AMORLINC AND ARABIC AREAS ASC ASIN ASINH ATAN ATAN2 ATANH AVEDEV AVERAGE AVERAGEA AVERAGEIF AVERAGEIFS BAHTTEXT BASE BESSELI BESSELJ BESSELK BESSELY BETADIST BETA.DIST BETAINV BETA.INV BIN2DEC BIN2HEX BIN2OCT BINOMDIST BINOM.DIST BINOM.DIST.RANGE BINOM.INV BITAND BITLSHIFT BITOR BITRSHIFT BITXOR CALL CEILING CEILING.MATH CEILING.PRECISE CELL CHAR CHIDIST CHIINV CHITEST CHISQ.DIST CHISQ.DIST.RT CHISQ.INV CHISQ.INV.RT CHISQ.TEST CHOOSE CLEAN CODE COLUMN COLUMNS COMBIN COMBINA COMPLEX CONCAT CONCATENATE CONFIDENCE CONFIDENCE.NORM CONFIDENCE.T CONVERT CORREL COS COSH COT COTH COUNT COUNTA COUNTBLANK COUNTIF COUNTIFS COUPDAYBS COUPDAYS COUPDAYSNC COUPNCD COUPNUM COUPPCD COVAR COVARIANCE.P COVARIANCE.S CRITBINOM CSC CSCH CUBEKPIMEMBER CUBEMEMBER CUBEMEMBERPROPERTY CUBERANKEDMEMBER CUBESET CUBESETCOUNT CUBEVALUE CUMIPMT CUMPRINC DATE DATEDIF DATEVALUE DAVERAGE DAY DAYS DAYS360 DB DBCS DCOUNT DCOUNTA DDB DEC2BIN DEC2HEX DEC2OCT DECIMAL DEGREES DELTA DEVSQ DGET DISC DMAX DMIN DOLLAR DOLLARDE DOLLARFR DPRODUCT DSTDEV DSTDEVP DSUM DURATION DVAR DVARP EDATE EFFECT ENCODEURL EOMONTH ERF ERF.PRECISE ERFC ERFC.PRECISE ERROR.TYPE EUROCONVERT EVEN EXACT EXP EXPON.DIST EXPONDIST FACT FACTDOUBLE FALSE|0 F.DIST FDIST F.DIST.RT FILTERXML FIND FINDB F.INV F.INV.RT FINV FISHER FISHERINV FIXED FLOOR FLOOR.MATH FLOOR.PRECISE FORECAST FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT FORECAST.LINEAR FORMULATEXT FREQUENCY F.TEST FTEST FV FVSCHEDULE GAMMA GAMMA.DIST GAMMADIST GAMMA.INV GAMMAINV GAMMALN GAMMALN.PRECISE GAUSS GCD GEOMEAN GESTEP GETPIVOTDATA GROWTH HARMEAN HEX2BIN HEX2DEC HEX2OCT HLOOKUP HOUR HYPERLINK HYPGEOM.DIST HYPGEOMDIST IF IFERROR IFNA IFS IMABS IMAGINARY IMARGUMENT IMCONJUGATE IMCOS IMCOSH IMCOT IMCSC IMCSCH IMDIV IMEXP IMLN IMLOG10 IMLOG2 IMPOWER IMPRODUCT IMREAL IMSEC IMSECH IMSIN IMSINH IMSQRT IMSUB IMSUM IMTAN INDEX INDIRECT INFO INT INTERCEPT INTRATE IPMT IRR ISBLANK ISERR ISERROR ISEVEN ISFORMULA ISLOGICAL ISNA ISNONTEXT ISNUMBER ISODD ISREF ISTEXT ISO.CEILING ISOWEEKNUM ISPMT JIS KURT LARGE LCM LEFT LEFTB LEN LENB LINEST LN LOG LOG10 LOGEST LOGINV LOGNORM.DIST LOGNORMDIST LOGNORM.INV LOOKUP LOWER MATCH MAX MAXA MAXIFS MDETERM MDURATION MEDIAN MID MIDBs MIN MINIFS MINA MINUTE MINVERSE MIRR MMULT MOD MODE MODE.MULT MODE.SNGL MONTH MROUND MULTINOMIAL MUNIT N NA NEGBINOM.DIST NEGBINOMDIST NETWORKDAYS NETWORKDAYS.INTL NOMINAL NORM.DIST NORMDIST NORMINV NORM.INV NORM.S.DIST NORMSDIST NORM.S.INV NORMSINV NOT NOW NPER NPV NUMBERVALUE OCT2BIN OCT2DEC OCT2HEX ODD ODDFPRICE ODDFYIELD ODDLPRICE ODDLYIELD OFFSET OR PDURATION PEARSON PERCENTILE.EXC PERCENTILE.INC PERCENTILE PERCENTRANK.EXC PERCENTRANK.INC PERCENTRANK PERMUT PERMUTATIONA PHI PHONETIC PI PMT POISSON.DIST POISSON POWER PPMT PRICE PRICEDISC PRICEMAT PROB PRODUCT PROPER PV QUARTILE QUARTILE.EXC QUARTILE.INC QUOTIENT RADIANS RAND RANDBETWEEN RANK.AVG RANK.EQ RANK RATE RECEIVED REGISTER.ID REPLACE REPLACEB REPT RIGHT RIGHTB ROMAN ROUND ROUNDDOWN ROUNDUP ROW ROWS RRI RSQ RTD SEARCH SEARCHB SEC SECH SECOND SERIESSUM SHEET SHEETS SIGN SIN SINH SKEW SKEW.P SLN SLOPE SMALL SQL.REQUEST SQRT SQRTPI STANDARDIZE STDEV STDEV.P STDEV.S STDEVA STDEVP STDEVPA STEYX SUBSTITUTE SUBTOTAL SUM SUMIF SUMIFS SUMPRODUCT SUMSQ SUMX2MY2 SUMX2PY2 SUMXMY2 SWITCH SYD T TAN TANH TBILLEQ TBILLPRICE TBILLYIELD T.DIST T.DIST.2T T.DIST.RT TDIST TEXT TEXTJOIN TIME TIMEVALUE T.INV T.INV.2T TINV TODAY TRANSPOSE TREND TRIM TRIMMEAN TRUE|0 TRUNC T.TEST TTEST TYPE UNICHAR UNICODE UPPER VALUE VAR VAR.P VAR.S VARA VARP VARPA VDB VLOOKUP WEBSERVICE WEEKDAY WEEKNUM WEIBULL WEIBULL.DIST WORKDAY WORKDAY.INTL XIRR XNPV XOR YEAR YEARFRAC YIELD YIELDDISC YIELDMAT Z.TEST ZTEST"},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},I.BACKSLASH_ESCAPE,I.QUOTE_STRING_MODE,{className:"number",begin:I.NUMBER_RE+"(%)?",relevance:0},I.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}yA2.exports=H19});var uA2=Y(($H3,$A2)=>{function F19(I){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}$A2.exports=F19});var OA2=Y((uH3,TA2)=>{function g19(I){let d={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},G={className:"string",variants:[{begin:'"',end:'"'}]},C={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{literal:"true false",keyword:"case class def else enum if impl import in lat rel index let match namespace switch type yield with"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,d,G,C,I.C_NUMBER_MODE]}}TA2.exports=g19});var lA2=Y((TH3,mA2)=>{function J19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function xF1(...I){return I.map((G)=>J19(G)).join("")}function K19(I){let d={className:"params",begin:"\\(",end:"\\)"},G={variants:[I.COMMENT("!","$",{relevance:0}),I.COMMENT("^C[ ]","$",{relevance:0}),I.COMMENT("^C$","$",{relevance:0})]},Z=/(_[a-z_\d]+)?/,C=/([de][+-]?\d+)?/,W={className:"number",variants:[{begin:xF1(/\b\d+/,/\.(\d*)/,C,Z)},{begin:xF1(/\b\d+/,C,Z)},{begin:xF1(/\.\d+/,C,Z)}],relevance:0},w={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[I.UNDERSCORE_TITLE_MODE,d]},B={className:"string",relevance:0,variants:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{literal:".False. .True.",keyword:"kind do concurrent local shared while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then block endblock endassociate public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure impure integer real character complex logical codimension dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image sync change team co_broadcast co_max co_min co_sum co_reduce"},illegal:/\/\*/,contains:[B,w,{begin:/^C\s*=(?!=)/,relevance:0},G,W]}}mA2.exports=K19});var hA2=Y((OH3,bA2)=>{function N19(I){let d={begin:"<",end:">",contains:[I.inherit(I.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{name:"F#",aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},I.COMMENT("\\(\\*(\\s)","\\*\\)",{contains:["self"]}),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[I.UNDERSCORE_TITLE_MODE,d]},{className:"meta",begin:"\\[<",end:">\\]",relevance:10},{className:"symbol",begin:"\\B('[A-Za-z])\\b",contains:[I.BACKSLASH_ESCAPE]},I.C_LINE_COMMENT_MODE,I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),I.C_NUMBER_MODE]}}bA2.exports=N19});var kA2=Y((mH3,jA2)=>{function z19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function Q19(I){return cF1("(",I,")*")}function cF1(...I){return I.map((G)=>z19(G)).join("")}function f19(I){let d={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},G={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},Z={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},C={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},W={begin:"/",end:"/",keywords:d,contains:[C,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,I.C_NUMBER_MODE]},w=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,B={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[C,W,{className:"comment",begin:cF1(w,Q19(cF1(/[ ]+/,w))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:d,contains:[I.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"meta-keyword",begin:"^\\$[a-z0-9]+"}]},I.COMMENT("^\\*","$"),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[I.COMMENT("^\\*","$"),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,W,B]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[B]},I.COMMENT("^\\*","$"),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,I.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},G,Z]},I.C_NUMBER_MODE,Z]}}jA2.exports=f19});var cA2=Y((lH3,xA2)=>{function q19(I){let d={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},G=I.COMMENT("@","@"),Z={className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{"meta-keyword":"include"},contains:[{className:"meta-string",begin:'"',end:'"',illegal:"\\n"}]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,G]},C={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:I.UNDERSCORE_IDENT_RE,relevance:0}]},W=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,G,C]}],w={className:"title",begin:I.UNDERSCORE_IDENT_RE,relevance:0},B=function(F,g,J){let K=I.inherit({className:"function",beginKeywords:F,end:g,excludeEnd:!0,contains:[].concat(W)},J||{});return K.contains.push(w),K.contains.push(I.C_NUMBER_MODE),K.contains.push(I.C_BLOCK_COMMENT_MODE),K.contains.push(G),K},A={className:"built_in",begin:"\\b("+d.built_in.split(" ").join("|")+")\\b"},V={className:"string",begin:'"',end:'"',contains:[I.BACKSLASH_ESCAPE],relevance:0},X={begin:I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:d,relevance:0,contains:[{beginKeywords:d.keyword},A,{className:"built_in",begin:I.UNDERSCORE_IDENT_RE,relevance:0}]},_={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:d.built_in,literal:d.literal},contains:[I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,G,A,X,V,"self"]};return X.contains.push(_),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:d,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[I.C_NUMBER_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,G,V,Z,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},B("proc keyword",";"),B("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[I.C_BLOCK_COMMENT_MODE,G,_]},{variants:[{begin:I.UNDERSCORE_IDENT_RE+"\\."+I.UNDERSCORE_IDENT_RE},{begin:I.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},X,C]}}xA2.exports=q19});var iA2=Y((bH3,pA2)=>{function R19(I){let Z={$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},C={className:"meta",begin:"([O])([0-9]+)"},W=I.inherit(I.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+I.C_NUMBER_RE}),w=[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.COMMENT(/\(/,/\)/),W,I.inherit(I.APOS_STRING_MODE,{illegal:null}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[W],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:Z,contains:[{className:"meta",begin:"%"},C].concat(w)}}pA2.exports=R19});var rA2=Y((hH3,nA2)=>{function U19(I){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},I.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},I.QUOTE_STRING_MODE]}}nA2.exports=U19});var sA2=Y((jH3,aA2)=>{function v19(I){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}aA2.exports=v19});var eA2=Y((kH3,oA2)=>{function E19(I){return{name:"GML",case_insensitive:!1,keywords:{keyword:"begin end if then else while do for break continue with until repeat exit and or xor not return mod div switch case default var globalvar enum function constructor delete #macro #region #endregion",built_in:"is_real is_string is_array is_undefined is_int32 is_int64 is_ptr is_vec3 is_vec4 is_matrix is_bool is_method is_struct is_infinity is_nan is_numeric typeof variable_global_exists variable_global_get variable_global_set variable_instance_exists variable_instance_get variable_instance_set variable_instance_get_names variable_struct_exists variable_struct_get variable_struct_get_names variable_struct_names_count variable_struct_remove variable_struct_set array_delete array_insert array_length array_length_1d array_length_2d array_height_2d array_equals array_create array_copy array_pop array_push array_resize array_sort random random_range irandom irandom_range random_set_seed random_get_seed randomize randomise choose abs round floor ceil sign frac sqrt sqr exp ln log2 log10 sin cos tan arcsin arccos arctan arctan2 dsin dcos dtan darcsin darccos darctan darctan2 degtorad radtodeg power logn min max mean median clamp lerp dot_product dot_product_3d dot_product_normalised dot_product_3d_normalised dot_product_normalized dot_product_3d_normalized math_set_epsilon math_get_epsilon angle_difference point_distance_3d point_distance point_direction lengthdir_x lengthdir_y real string int64 ptr string_format chr ansi_char ord string_length string_byte_length string_pos string_copy string_char_at string_ord_at string_byte_at string_set_byte_at string_delete string_insert string_lower string_upper string_repeat string_letters string_digits string_lettersdigits string_replace string_replace_all string_count string_hash_to_newline clipboard_has_text clipboard_set_text clipboard_get_text date_current_datetime date_create_datetime date_valid_datetime date_inc_year date_inc_month date_inc_week date_inc_day date_inc_hour date_inc_minute date_inc_second date_get_year date_get_month date_get_week date_get_day date_get_hour date_get_minute date_get_second date_get_weekday date_get_day_of_year date_get_hour_of_year date_get_minute_of_year date_get_second_of_year date_year_span date_month_span date_week_span date_day_span date_hour_span date_minute_span date_second_span date_compare_datetime date_compare_date date_compare_time date_date_of date_time_of date_datetime_string date_date_string date_time_string date_days_in_month date_days_in_year date_leap_year date_is_today date_set_timezone date_get_timezone game_set_speed game_get_speed motion_set motion_add place_free place_empty place_meeting place_snapped move_random move_snap move_towards_point move_contact_solid move_contact_all move_outside_solid move_outside_all move_bounce_solid move_bounce_all move_wrap distance_to_point distance_to_object position_empty position_meeting path_start path_end mp_linear_step mp_potential_step mp_linear_step_object mp_potential_step_object mp_potential_settings mp_linear_path mp_potential_path mp_linear_path_object mp_potential_path_object mp_grid_create mp_grid_destroy mp_grid_clear_all mp_grid_clear_cell mp_grid_clear_rectangle mp_grid_add_cell mp_grid_get_cell mp_grid_add_rectangle mp_grid_add_instances mp_grid_path mp_grid_draw mp_grid_to_ds_grid collision_point collision_rectangle collision_circle collision_ellipse collision_line collision_point_list collision_rectangle_list collision_circle_list collision_ellipse_list collision_line_list instance_position_list instance_place_list point_in_rectangle point_in_triangle point_in_circle rectangle_in_rectangle rectangle_in_triangle rectangle_in_circle instance_find instance_exists instance_number instance_position instance_nearest instance_furthest instance_place instance_create_depth instance_create_layer instance_copy instance_change instance_destroy position_destroy position_change instance_id_get instance_deactivate_all instance_deactivate_object instance_deactivate_region instance_activate_all instance_activate_object instance_activate_region room_goto room_goto_previous room_goto_next room_previous room_next room_restart game_end game_restart game_load game_save game_save_buffer game_load_buffer event_perform event_user event_perform_object event_inherited show_debug_message show_debug_overlay debug_event debug_get_callstack alarm_get alarm_set font_texture_page_size keyboard_set_map keyboard_get_map keyboard_unset_map keyboard_check keyboard_check_pressed keyboard_check_released keyboard_check_direct keyboard_get_numlock keyboard_set_numlock keyboard_key_press keyboard_key_release keyboard_clear io_clear mouse_check_button mouse_check_button_pressed mouse_check_button_released mouse_wheel_up mouse_wheel_down mouse_clear draw_self draw_sprite draw_sprite_pos draw_sprite_ext draw_sprite_stretched draw_sprite_stretched_ext draw_sprite_tiled draw_sprite_tiled_ext draw_sprite_part draw_sprite_part_ext draw_sprite_general draw_clear draw_clear_alpha draw_point draw_line draw_line_width draw_rectangle draw_roundrect draw_roundrect_ext draw_triangle draw_circle draw_ellipse draw_set_circle_precision draw_arrow draw_button draw_path draw_healthbar draw_getpixel draw_getpixel_ext draw_set_colour draw_set_color draw_set_alpha draw_get_colour draw_get_color draw_get_alpha merge_colour make_colour_rgb make_colour_hsv colour_get_red colour_get_green colour_get_blue colour_get_hue colour_get_saturation colour_get_value merge_color make_color_rgb make_color_hsv color_get_red color_get_green color_get_blue color_get_hue color_get_saturation color_get_value merge_color screen_save screen_save_part draw_set_font draw_set_halign draw_set_valign draw_text draw_text_ext string_width string_height string_width_ext string_height_ext draw_text_transformed draw_text_ext_transformed draw_text_colour draw_text_ext_colour draw_text_transformed_colour draw_text_ext_transformed_colour draw_text_color draw_text_ext_color draw_text_transformed_color draw_text_ext_transformed_color draw_point_colour draw_line_colour draw_line_width_colour draw_rectangle_colour draw_roundrect_colour draw_roundrect_colour_ext draw_triangle_colour draw_circle_colour draw_ellipse_colour draw_point_color draw_line_color draw_line_width_color draw_rectangle_color draw_roundrect_color draw_roundrect_color_ext draw_triangle_color draw_circle_color draw_ellipse_color draw_primitive_begin draw_vertex draw_vertex_colour draw_vertex_color draw_primitive_end sprite_get_uvs font_get_uvs sprite_get_texture font_get_texture texture_get_width texture_get_height texture_get_uvs draw_primitive_begin_texture draw_vertex_texture draw_vertex_texture_colour draw_vertex_texture_color texture_global_scale surface_create surface_create_ext surface_resize surface_free surface_exists surface_get_width surface_get_height surface_get_texture surface_set_target surface_set_target_ext surface_reset_target surface_depth_disable surface_get_depth_disable draw_surface draw_surface_stretched draw_surface_tiled draw_surface_part draw_surface_ext draw_surface_stretched_ext draw_surface_tiled_ext draw_surface_part_ext draw_surface_general surface_getpixel surface_getpixel_ext surface_save surface_save_part surface_copy surface_copy_part application_surface_draw_enable application_get_position application_surface_enable application_surface_is_enabled display_get_width display_get_height display_get_orientation display_get_gui_width display_get_gui_height display_reset display_mouse_get_x display_mouse_get_y display_mouse_set display_set_ui_visibility window_set_fullscreen window_get_fullscreen window_set_caption window_set_min_width window_set_max_width window_set_min_height window_set_max_height window_get_visible_rects window_get_caption window_set_cursor window_get_cursor window_set_colour window_get_colour window_set_color window_get_color window_set_position window_set_size window_set_rectangle window_center window_get_x window_get_y window_get_width window_get_height window_mouse_get_x window_mouse_get_y window_mouse_set window_view_mouse_get_x window_view_mouse_get_y window_views_mouse_get_x window_views_mouse_get_y audio_listener_position audio_listener_velocity audio_listener_orientation audio_emitter_position audio_emitter_create audio_emitter_free audio_emitter_exists audio_emitter_pitch audio_emitter_velocity audio_emitter_falloff audio_emitter_gain audio_play_sound audio_play_sound_on audio_play_sound_at audio_stop_sound audio_resume_music audio_music_is_playing audio_resume_sound audio_pause_sound audio_pause_music audio_channel_num audio_sound_length audio_get_type audio_falloff_set_model audio_play_music audio_stop_music audio_master_gain audio_music_gain audio_sound_gain audio_sound_pitch audio_stop_all audio_resume_all audio_pause_all audio_is_playing audio_is_paused audio_exists audio_sound_set_track_position audio_sound_get_track_position audio_emitter_get_gain audio_emitter_get_pitch audio_emitter_get_x audio_emitter_get_y audio_emitter_get_z audio_emitter_get_vx audio_emitter_get_vy audio_emitter_get_vz audio_listener_set_position audio_listener_set_velocity audio_listener_set_orientation audio_listener_get_data audio_set_master_gain audio_get_master_gain audio_sound_get_gain audio_sound_get_pitch audio_get_name audio_sound_set_track_position audio_sound_get_track_position audio_create_stream audio_destroy_stream audio_create_sync_group audio_destroy_sync_group audio_play_in_sync_group audio_start_sync_group audio_stop_sync_group audio_pause_sync_group audio_resume_sync_group audio_sync_group_get_track_pos audio_sync_group_debug audio_sync_group_is_playing audio_debug audio_group_load audio_group_unload audio_group_is_loaded audio_group_load_progress audio_group_name audio_group_stop_all audio_group_set_gain audio_create_buffer_sound audio_free_buffer_sound audio_create_play_queue audio_free_play_queue audio_queue_sound audio_get_recorder_count audio_get_recorder_info audio_start_recording audio_stop_recording audio_sound_get_listener_mask audio_emitter_get_listener_mask audio_get_listener_mask audio_sound_set_listener_mask audio_emitter_set_listener_mask audio_set_listener_mask audio_get_listener_count audio_get_listener_info audio_system show_message show_message_async clickable_add clickable_add_ext clickable_change clickable_change_ext clickable_delete clickable_exists clickable_set_style show_question show_question_async get_integer get_string get_integer_async get_string_async get_login_async get_open_filename get_save_filename get_open_filename_ext get_save_filename_ext show_error highscore_clear highscore_add highscore_value highscore_name draw_highscore sprite_exists sprite_get_name sprite_get_number sprite_get_width sprite_get_height sprite_get_xoffset sprite_get_yoffset sprite_get_bbox_left sprite_get_bbox_right sprite_get_bbox_top sprite_get_bbox_bottom sprite_save sprite_save_strip sprite_set_cache_size sprite_set_cache_size_ext sprite_get_tpe sprite_prefetch sprite_prefetch_multi sprite_flush sprite_flush_multi sprite_set_speed sprite_get_speed_type sprite_get_speed font_exists font_get_name font_get_fontname font_get_bold font_get_italic font_get_first font_get_last font_get_size font_set_cache_size path_exists path_get_name path_get_length path_get_time path_get_kind path_get_closed path_get_precision path_get_number path_get_point_x path_get_point_y path_get_point_speed path_get_x path_get_y path_get_speed script_exists script_get_name timeline_add timeline_delete timeline_clear timeline_exists timeline_get_name timeline_moment_clear timeline_moment_add_script timeline_size timeline_max_moment object_exists object_get_name object_get_sprite object_get_solid object_get_visible object_get_persistent object_get_mask object_get_parent object_get_physics object_is_ancestor room_exists room_get_name sprite_set_offset sprite_duplicate sprite_assign sprite_merge sprite_add sprite_replace sprite_create_from_surface sprite_add_from_surface sprite_delete sprite_set_alpha_from_sprite sprite_collision_mask font_add_enable_aa font_add_get_enable_aa font_add font_add_sprite font_add_sprite_ext font_replace font_replace_sprite font_replace_sprite_ext font_delete path_set_kind path_set_closed path_set_precision path_add path_assign path_duplicate path_append path_delete path_add_point path_insert_point path_change_point path_delete_point path_clear_points path_reverse path_mirror path_flip path_rotate path_rescale path_shift script_execute object_set_sprite object_set_solid object_set_visible object_set_persistent object_set_mask room_set_width room_set_height room_set_persistent room_set_background_colour room_set_background_color room_set_view room_set_viewport room_get_viewport room_set_view_enabled room_add room_duplicate room_assign room_instance_add room_instance_clear room_get_camera room_set_camera asset_get_index asset_get_type file_text_open_from_string file_text_open_read file_text_open_write file_text_open_append file_text_close file_text_write_string file_text_write_real file_text_writeln file_text_read_string file_text_read_real file_text_readln file_text_eof file_text_eoln file_exists file_delete file_rename file_copy directory_exists directory_create directory_destroy file_find_first file_find_next file_find_close file_attributes filename_name filename_path filename_dir filename_drive filename_ext filename_change_ext file_bin_open file_bin_rewrite file_bin_close file_bin_position file_bin_size file_bin_seek file_bin_write_byte file_bin_read_byte parameter_count parameter_string environment_get_variable ini_open_from_string ini_open ini_close ini_read_string ini_read_real ini_write_string ini_write_real ini_key_exists ini_section_exists ini_key_delete ini_section_delete ds_set_precision ds_exists ds_stack_create ds_stack_destroy ds_stack_clear ds_stack_copy ds_stack_size ds_stack_empty ds_stack_push ds_stack_pop ds_stack_top ds_stack_write ds_stack_read ds_queue_create ds_queue_destroy ds_queue_clear ds_queue_copy ds_queue_size ds_queue_empty ds_queue_enqueue ds_queue_dequeue ds_queue_head ds_queue_tail ds_queue_write ds_queue_read ds_list_create ds_list_destroy ds_list_clear ds_list_copy ds_list_size ds_list_empty ds_list_add ds_list_insert ds_list_replace ds_list_delete ds_list_find_index ds_list_find_value ds_list_mark_as_list ds_list_mark_as_map ds_list_sort ds_list_shuffle ds_list_write ds_list_read ds_list_set ds_map_create ds_map_destroy ds_map_clear ds_map_copy ds_map_size ds_map_empty ds_map_add ds_map_add_list ds_map_add_map ds_map_replace ds_map_replace_map ds_map_replace_list ds_map_delete ds_map_exists ds_map_find_value ds_map_find_previous ds_map_find_next ds_map_find_first ds_map_find_last ds_map_write ds_map_read ds_map_secure_save ds_map_secure_load ds_map_secure_load_buffer ds_map_secure_save_buffer ds_map_set ds_priority_create ds_priority_destroy ds_priority_clear ds_priority_copy ds_priority_size ds_priority_empty ds_priority_add ds_priority_change_priority ds_priority_find_priority ds_priority_delete_value ds_priority_delete_min ds_priority_find_min ds_priority_delete_max ds_priority_find_max ds_priority_write ds_priority_read ds_grid_create ds_grid_destroy ds_grid_copy ds_grid_resize ds_grid_width ds_grid_height ds_grid_clear ds_grid_set ds_grid_add ds_grid_multiply ds_grid_set_region ds_grid_add_region ds_grid_multiply_region ds_grid_set_disk ds_grid_add_disk ds_grid_multiply_disk ds_grid_set_grid_region ds_grid_add_grid_region ds_grid_multiply_grid_region ds_grid_get ds_grid_get_sum ds_grid_get_max ds_grid_get_min ds_grid_get_mean ds_grid_get_disk_sum ds_grid_get_disk_min ds_grid_get_disk_max ds_grid_get_disk_mean ds_grid_value_exists ds_grid_value_x ds_grid_value_y ds_grid_value_disk_exists ds_grid_value_disk_x ds_grid_value_disk_y ds_grid_shuffle ds_grid_write ds_grid_read ds_grid_sort ds_grid_set ds_grid_get effect_create_below effect_create_above effect_clear part_type_create part_type_destroy part_type_exists part_type_clear part_type_shape part_type_sprite part_type_size part_type_scale part_type_orientation part_type_life part_type_step part_type_death part_type_speed part_type_direction part_type_gravity part_type_colour1 part_type_colour2 part_type_colour3 part_type_colour_mix part_type_colour_rgb part_type_colour_hsv part_type_color1 part_type_color2 part_type_color3 part_type_color_mix part_type_color_rgb part_type_color_hsv part_type_alpha1 part_type_alpha2 part_type_alpha3 part_type_blend part_system_create part_system_create_layer part_system_destroy part_system_exists part_system_clear part_system_draw_order part_system_depth part_system_position part_system_automatic_update part_system_automatic_draw part_system_update part_system_drawit part_system_get_layer part_system_layer part_particles_create part_particles_create_colour part_particles_create_color part_particles_clear part_particles_count part_emitter_create part_emitter_destroy part_emitter_destroy_all part_emitter_exists part_emitter_clear part_emitter_region part_emitter_burst part_emitter_stream external_call external_define external_free window_handle window_device matrix_get matrix_set matrix_build_identity matrix_build matrix_build_lookat matrix_build_projection_ortho matrix_build_projection_perspective matrix_build_projection_perspective_fov matrix_multiply matrix_transform_vertex matrix_stack_push matrix_stack_pop matrix_stack_multiply matrix_stack_set matrix_stack_clear matrix_stack_top matrix_stack_is_empty browser_input_capture os_get_config os_get_info os_get_language os_get_region os_lock_orientation display_get_dpi_x display_get_dpi_y display_set_gui_size display_set_gui_maximise display_set_gui_maximize device_mouse_dbclick_enable display_set_timing_method display_get_timing_method display_set_sleep_margin display_get_sleep_margin virtual_key_add virtual_key_hide virtual_key_delete virtual_key_show draw_enable_drawevent draw_enable_swf_aa draw_set_swf_aa_level draw_get_swf_aa_level draw_texture_flush draw_flush gpu_set_blendenable gpu_set_ztestenable gpu_set_zfunc gpu_set_zwriteenable gpu_set_lightingenable gpu_set_fog gpu_set_cullmode gpu_set_blendmode gpu_set_blendmode_ext gpu_set_blendmode_ext_sepalpha gpu_set_colorwriteenable gpu_set_colourwriteenable gpu_set_alphatestenable gpu_set_alphatestref gpu_set_alphatestfunc gpu_set_texfilter gpu_set_texfilter_ext gpu_set_texrepeat gpu_set_texrepeat_ext gpu_set_tex_filter gpu_set_tex_filter_ext gpu_set_tex_repeat gpu_set_tex_repeat_ext gpu_set_tex_mip_filter gpu_set_tex_mip_filter_ext gpu_set_tex_mip_bias gpu_set_tex_mip_bias_ext gpu_set_tex_min_mip gpu_set_tex_min_mip_ext gpu_set_tex_max_mip gpu_set_tex_max_mip_ext gpu_set_tex_max_aniso gpu_set_tex_max_aniso_ext gpu_set_tex_mip_enable gpu_set_tex_mip_enable_ext gpu_get_blendenable gpu_get_ztestenable gpu_get_zfunc gpu_get_zwriteenable gpu_get_lightingenable gpu_get_fog gpu_get_cullmode gpu_get_blendmode gpu_get_blendmode_ext gpu_get_blendmode_ext_sepalpha gpu_get_blendmode_src gpu_get_blendmode_dest gpu_get_blendmode_srcalpha gpu_get_blendmode_destalpha gpu_get_colorwriteenable gpu_get_colourwriteenable gpu_get_alphatestenable gpu_get_alphatestref gpu_get_alphatestfunc gpu_get_texfilter gpu_get_texfilter_ext gpu_get_texrepeat gpu_get_texrepeat_ext gpu_get_tex_filter gpu_get_tex_filter_ext gpu_get_tex_repeat gpu_get_tex_repeat_ext gpu_get_tex_mip_filter gpu_get_tex_mip_filter_ext gpu_get_tex_mip_bias gpu_get_tex_mip_bias_ext gpu_get_tex_min_mip gpu_get_tex_min_mip_ext gpu_get_tex_max_mip gpu_get_tex_max_mip_ext gpu_get_tex_max_aniso gpu_get_tex_max_aniso_ext gpu_get_tex_mip_enable gpu_get_tex_mip_enable_ext gpu_push_state gpu_pop_state gpu_get_state gpu_set_state draw_light_define_ambient draw_light_define_direction draw_light_define_point draw_light_enable draw_set_lighting draw_light_get_ambient draw_light_get draw_get_lighting shop_leave_rating url_get_domain url_open url_open_ext url_open_full get_timer achievement_login achievement_logout achievement_post achievement_increment achievement_post_score achievement_available achievement_show_achievements achievement_show_leaderboards achievement_load_friends achievement_load_leaderboard achievement_send_challenge achievement_load_progress achievement_reset achievement_login_status achievement_get_pic achievement_show_challenge_notifications achievement_get_challenges achievement_event achievement_show achievement_get_info cloud_file_save cloud_string_save cloud_synchronise ads_enable ads_disable ads_setup ads_engagement_launch ads_engagement_available ads_engagement_active ads_event ads_event_preload ads_set_reward_callback ads_get_display_height ads_get_display_width ads_move ads_interstitial_available ads_interstitial_display device_get_tilt_x device_get_tilt_y device_get_tilt_z device_is_keypad_open device_mouse_check_button device_mouse_check_button_pressed device_mouse_check_button_released device_mouse_x device_mouse_y device_mouse_raw_x device_mouse_raw_y device_mouse_x_to_gui device_mouse_y_to_gui iap_activate iap_status iap_enumerate_products iap_restore_all iap_acquire iap_consume iap_product_details iap_purchase_details facebook_init facebook_login facebook_status facebook_graph_request facebook_dialog facebook_logout facebook_launch_offerwall facebook_post_message facebook_send_invite facebook_user_id facebook_accesstoken facebook_check_permission facebook_request_read_permissions facebook_request_publish_permissions gamepad_is_supported gamepad_get_device_count gamepad_is_connected gamepad_get_description gamepad_get_button_threshold gamepad_set_button_threshold gamepad_get_axis_deadzone gamepad_set_axis_deadzone gamepad_button_count gamepad_button_check gamepad_button_check_pressed gamepad_button_check_released gamepad_button_value gamepad_axis_count gamepad_axis_value gamepad_set_vibration gamepad_set_colour gamepad_set_color os_is_paused window_has_focus code_is_compiled http_get http_get_file http_post_string http_request json_encode json_decode zip_unzip load_csv base64_encode base64_decode md5_string_unicode md5_string_utf8 md5_file os_is_network_connected sha1_string_unicode sha1_string_utf8 sha1_file os_powersave_enable analytics_event analytics_event_ext win8_livetile_tile_notification win8_livetile_tile_clear win8_livetile_badge_notification win8_livetile_badge_clear win8_livetile_queue_enable win8_secondarytile_pin win8_secondarytile_badge_notification win8_secondarytile_delete win8_livetile_notification_begin win8_livetile_notification_secondary_begin win8_livetile_notification_expiry win8_livetile_notification_tag win8_livetile_notification_text_add win8_livetile_notification_image_add win8_livetile_notification_end win8_appbar_enable win8_appbar_add_element win8_appbar_remove_element win8_settingscharm_add_entry win8_settingscharm_add_html_entry win8_settingscharm_add_xaml_entry win8_settingscharm_set_xaml_property win8_settingscharm_get_xaml_property win8_settingscharm_remove_entry win8_share_image win8_share_screenshot win8_share_file win8_share_url win8_share_text win8_search_enable win8_search_disable win8_search_add_suggestions win8_device_touchscreen_available win8_license_initialize_sandbox win8_license_trial_version winphone_license_trial_version winphone_tile_title winphone_tile_count winphone_tile_back_title winphone_tile_back_content winphone_tile_back_content_wide winphone_tile_front_image winphone_tile_front_image_small winphone_tile_front_image_wide winphone_tile_back_image winphone_tile_back_image_wide winphone_tile_background_colour winphone_tile_background_color winphone_tile_icon_image winphone_tile_small_icon_image winphone_tile_wide_content winphone_tile_cycle_images winphone_tile_small_background_image physics_world_create physics_world_gravity physics_world_update_speed physics_world_update_iterations physics_world_draw_debug physics_pause_enable physics_fixture_create physics_fixture_set_kinematic physics_fixture_set_density physics_fixture_set_awake physics_fixture_set_restitution physics_fixture_set_friction physics_fixture_set_collision_group physics_fixture_set_sensor physics_fixture_set_linear_damping physics_fixture_set_angular_damping physics_fixture_set_circle_shape physics_fixture_set_box_shape physics_fixture_set_edge_shape physics_fixture_set_polygon_shape physics_fixture_set_chain_shape physics_fixture_add_point physics_fixture_bind physics_fixture_bind_ext physics_fixture_delete physics_apply_force physics_apply_impulse physics_apply_angular_impulse physics_apply_local_force physics_apply_local_impulse physics_apply_torque physics_mass_properties physics_draw_debug physics_test_overlap physics_remove_fixture physics_set_friction physics_set_density physics_set_restitution physics_get_friction physics_get_density physics_get_restitution physics_joint_distance_create physics_joint_rope_create physics_joint_revolute_create physics_joint_prismatic_create physics_joint_pulley_create physics_joint_wheel_create physics_joint_weld_create physics_joint_friction_create physics_joint_gear_create physics_joint_enable_motor physics_joint_get_value physics_joint_set_value physics_joint_delete physics_particle_create physics_particle_delete physics_particle_delete_region_circle physics_particle_delete_region_box physics_particle_delete_region_poly physics_particle_set_flags physics_particle_set_category_flags physics_particle_draw physics_particle_draw_ext physics_particle_count physics_particle_get_data physics_particle_get_data_particle physics_particle_group_begin physics_particle_group_circle physics_particle_group_box physics_particle_group_polygon physics_particle_group_add_point physics_particle_group_end physics_particle_group_join physics_particle_group_delete physics_particle_group_count physics_particle_group_get_data physics_particle_group_get_mass physics_particle_group_get_inertia physics_particle_group_get_centre_x physics_particle_group_get_centre_y physics_particle_group_get_vel_x physics_particle_group_get_vel_y physics_particle_group_get_ang_vel physics_particle_group_get_x physics_particle_group_get_y physics_particle_group_get_angle physics_particle_set_group_flags physics_particle_get_group_flags physics_particle_get_max_count physics_particle_get_radius physics_particle_get_density physics_particle_get_damping physics_particle_get_gravity_scale physics_particle_set_max_count physics_particle_set_radius physics_particle_set_density physics_particle_set_damping physics_particle_set_gravity_scale network_create_socket network_create_socket_ext network_create_server network_create_server_raw network_connect network_connect_raw network_send_packet network_send_raw network_send_broadcast network_send_udp network_send_udp_raw network_set_timeout network_set_config network_resolve network_destroy buffer_create buffer_write buffer_read buffer_seek buffer_get_surface buffer_set_surface buffer_delete buffer_exists buffer_get_type buffer_get_alignment buffer_poke buffer_peek buffer_save buffer_save_ext buffer_load buffer_load_ext buffer_load_partial buffer_copy buffer_fill buffer_get_size buffer_tell buffer_resize buffer_md5 buffer_sha1 buffer_base64_encode buffer_base64_decode buffer_base64_decode_ext buffer_sizeof buffer_get_address buffer_create_from_vertex_buffer buffer_create_from_vertex_buffer_ext buffer_copy_from_vertex_buffer buffer_async_group_begin buffer_async_group_option buffer_async_group_end buffer_load_async buffer_save_async gml_release_mode gml_pragma steam_activate_overlay steam_is_overlay_enabled steam_is_overlay_activated steam_get_persona_name steam_initialised steam_is_cloud_enabled_for_app steam_is_cloud_enabled_for_account steam_file_persisted steam_get_quota_total steam_get_quota_free steam_file_write steam_file_write_file steam_file_read steam_file_delete steam_file_exists steam_file_size steam_file_share steam_is_screenshot_requested steam_send_screenshot steam_is_user_logged_on steam_get_user_steam_id steam_user_owns_dlc steam_user_installed_dlc steam_set_achievement steam_get_achievement steam_clear_achievement steam_set_stat_int steam_set_stat_float steam_set_stat_avg_rate steam_get_stat_int steam_get_stat_float steam_get_stat_avg_rate steam_reset_all_stats steam_reset_all_stats_achievements steam_stats_ready steam_create_leaderboard steam_upload_score steam_upload_score_ext steam_download_scores_around_user steam_download_scores steam_download_friends_scores steam_upload_score_buffer steam_upload_score_buffer_ext steam_current_game_language steam_available_languages steam_activate_overlay_browser steam_activate_overlay_user steam_activate_overlay_store steam_get_user_persona_name steam_get_app_id steam_get_user_account_id steam_ugc_download steam_ugc_create_item steam_ugc_start_item_update steam_ugc_set_item_title steam_ugc_set_item_description steam_ugc_set_item_visibility steam_ugc_set_item_tags steam_ugc_set_item_content steam_ugc_set_item_preview steam_ugc_submit_item_update steam_ugc_get_item_update_progress steam_ugc_subscribe_item steam_ugc_unsubscribe_item steam_ugc_num_subscribed_items steam_ugc_get_subscribed_items steam_ugc_get_item_install_info steam_ugc_get_item_update_info steam_ugc_request_item_details steam_ugc_create_query_user steam_ugc_create_query_user_ex steam_ugc_create_query_all steam_ugc_create_query_all_ex steam_ugc_query_set_cloud_filename_filter steam_ugc_query_set_match_any_tag steam_ugc_query_set_search_text steam_ugc_query_set_ranked_by_trend_days steam_ugc_query_add_required_tag steam_ugc_query_add_excluded_tag steam_ugc_query_set_return_long_description steam_ugc_query_set_return_total_only steam_ugc_query_set_allow_cached_response steam_ugc_send_query shader_set shader_get_name shader_reset shader_current shader_is_compiled shader_get_sampler_index shader_get_uniform shader_set_uniform_i shader_set_uniform_i_array shader_set_uniform_f shader_set_uniform_f_array shader_set_uniform_matrix shader_set_uniform_matrix_array shader_enable_corner_id texture_set_stage texture_get_texel_width texture_get_texel_height shaders_are_supported vertex_format_begin vertex_format_end vertex_format_delete vertex_format_add_position vertex_format_add_position_3d vertex_format_add_colour vertex_format_add_color vertex_format_add_normal vertex_format_add_texcoord vertex_format_add_textcoord vertex_format_add_custom vertex_create_buffer vertex_create_buffer_ext vertex_delete_buffer vertex_begin vertex_end vertex_position vertex_position_3d vertex_colour vertex_color vertex_argb vertex_texcoord vertex_normal vertex_float1 vertex_float2 vertex_float3 vertex_float4 vertex_ubyte4 vertex_submit vertex_freeze vertex_get_number vertex_get_buffer_size vertex_create_buffer_from_buffer vertex_create_buffer_from_buffer_ext push_local_notification push_get_first_local_notification push_get_next_local_notification push_cancel_local_notification skeleton_animation_set skeleton_animation_get skeleton_animation_mix skeleton_animation_set_ext skeleton_animation_get_ext skeleton_animation_get_duration skeleton_animation_get_frames skeleton_animation_clear skeleton_skin_set skeleton_skin_get skeleton_attachment_set skeleton_attachment_get skeleton_attachment_create skeleton_collision_draw_set skeleton_bone_data_get skeleton_bone_data_set skeleton_bone_state_get skeleton_bone_state_set skeleton_get_minmax skeleton_get_num_bounds skeleton_get_bounds skeleton_animation_get_frame skeleton_animation_set_frame draw_skeleton draw_skeleton_time draw_skeleton_instance draw_skeleton_collision skeleton_animation_list skeleton_skin_list skeleton_slot_data layer_get_id layer_get_id_at_depth layer_get_depth layer_create layer_destroy layer_destroy_instances layer_add_instance layer_has_instance layer_set_visible layer_get_visible layer_exists layer_x layer_y layer_get_x layer_get_y layer_hspeed layer_vspeed layer_get_hspeed layer_get_vspeed layer_script_begin layer_script_end layer_shader layer_get_script_begin layer_get_script_end layer_get_shader layer_set_target_room layer_get_target_room layer_reset_target_room layer_get_all layer_get_all_elements layer_get_name layer_depth layer_get_element_layer layer_get_element_type layer_element_move layer_force_draw_depth layer_is_draw_depth_forced layer_get_forced_depth layer_background_get_id layer_background_exists layer_background_create layer_background_destroy layer_background_visible layer_background_change layer_background_sprite layer_background_htiled layer_background_vtiled layer_background_stretch layer_background_yscale layer_background_xscale layer_background_blend layer_background_alpha layer_background_index layer_background_speed layer_background_get_visible layer_background_get_sprite layer_background_get_htiled layer_background_get_vtiled layer_background_get_stretch layer_background_get_yscale layer_background_get_xscale layer_background_get_blend layer_background_get_alpha layer_background_get_index layer_background_get_speed layer_sprite_get_id layer_sprite_exists layer_sprite_create layer_sprite_destroy layer_sprite_change layer_sprite_index layer_sprite_speed layer_sprite_xscale layer_sprite_yscale layer_sprite_angle layer_sprite_blend layer_sprite_alpha layer_sprite_x layer_sprite_y layer_sprite_get_sprite layer_sprite_get_index layer_sprite_get_speed layer_sprite_get_xscale layer_sprite_get_yscale layer_sprite_get_angle layer_sprite_get_blend layer_sprite_get_alpha layer_sprite_get_x layer_sprite_get_y layer_tilemap_get_id layer_tilemap_exists layer_tilemap_create layer_tilemap_destroy tilemap_tileset tilemap_x tilemap_y tilemap_set tilemap_set_at_pixel tilemap_get_tileset tilemap_get_tile_width tilemap_get_tile_height tilemap_get_width tilemap_get_height tilemap_get_x tilemap_get_y tilemap_get tilemap_get_at_pixel tilemap_get_cell_x_at_pixel tilemap_get_cell_y_at_pixel tilemap_clear draw_tilemap draw_tile tilemap_set_global_mask tilemap_get_global_mask tilemap_set_mask tilemap_get_mask tilemap_get_frame tile_set_empty tile_set_index tile_set_flip tile_set_mirror tile_set_rotate tile_get_empty tile_get_index tile_get_flip tile_get_mirror tile_get_rotate layer_tile_exists layer_tile_create layer_tile_destroy layer_tile_change layer_tile_xscale layer_tile_yscale layer_tile_blend layer_tile_alpha layer_tile_x layer_tile_y layer_tile_region layer_tile_visible layer_tile_get_sprite layer_tile_get_xscale layer_tile_get_yscale layer_tile_get_blend layer_tile_get_alpha layer_tile_get_x layer_tile_get_y layer_tile_get_region layer_tile_get_visible layer_instance_get_instance instance_activate_layer instance_deactivate_layer camera_create camera_create_view camera_destroy camera_apply camera_get_active camera_get_default camera_set_default camera_set_view_mat camera_set_proj_mat camera_set_update_script camera_set_begin_script camera_set_end_script camera_set_view_pos camera_set_view_size camera_set_view_speed camera_set_view_border camera_set_view_angle camera_set_view_target camera_get_view_mat camera_get_proj_mat camera_get_update_script camera_get_begin_script camera_get_end_script camera_get_view_x camera_get_view_y camera_get_view_width camera_get_view_height camera_get_view_speed_x camera_get_view_speed_y camera_get_view_border_x camera_get_view_border_y camera_get_view_angle camera_get_view_target view_get_camera view_get_visible view_get_xport view_get_yport view_get_wport view_get_hport view_get_surface_id view_set_camera view_set_visible view_set_xport view_set_yport view_set_wport view_set_hport view_set_surface_id gesture_drag_time gesture_drag_distance gesture_flick_speed gesture_double_tap_time gesture_double_tap_distance gesture_pinch_distance gesture_pinch_angle_towards gesture_pinch_angle_away gesture_rotate_time gesture_rotate_angle gesture_tap_count gesture_get_drag_time gesture_get_drag_distance gesture_get_flick_speed gesture_get_double_tap_time gesture_get_double_tap_distance gesture_get_pinch_distance gesture_get_pinch_angle_towards gesture_get_pinch_angle_away gesture_get_rotate_time gesture_get_rotate_angle gesture_get_tap_count keyboard_virtual_show keyboard_virtual_hide keyboard_virtual_status keyboard_virtual_height",literal:"self other all noone global local undefined pointer_invalid pointer_null path_action_stop path_action_restart path_action_continue path_action_reverse true false pi GM_build_date GM_version GM_runtime_version  timezone_local timezone_utc gamespeed_fps gamespeed_microseconds  ev_create ev_destroy ev_step ev_alarm ev_keyboard ev_mouse ev_collision ev_other ev_draw ev_draw_begin ev_draw_end ev_draw_pre ev_draw_post ev_keypress ev_keyrelease ev_trigger ev_left_button ev_right_button ev_middle_button ev_no_button ev_left_press ev_right_press ev_middle_press ev_left_release ev_right_release ev_middle_release ev_mouse_enter ev_mouse_leave ev_mouse_wheel_up ev_mouse_wheel_down ev_global_left_button ev_global_right_button ev_global_middle_button ev_global_left_press ev_global_right_press ev_global_middle_press ev_global_left_release ev_global_right_release ev_global_middle_release ev_joystick1_left ev_joystick1_right ev_joystick1_up ev_joystick1_down ev_joystick1_button1 ev_joystick1_button2 ev_joystick1_button3 ev_joystick1_button4 ev_joystick1_button5 ev_joystick1_button6 ev_joystick1_button7 ev_joystick1_button8 ev_joystick2_left ev_joystick2_right ev_joystick2_up ev_joystick2_down ev_joystick2_button1 ev_joystick2_button2 ev_joystick2_button3 ev_joystick2_button4 ev_joystick2_button5 ev_joystick2_button6 ev_joystick2_button7 ev_joystick2_button8 ev_outside ev_boundary ev_game_start ev_game_end ev_room_start ev_room_end ev_no_more_lives ev_animation_end ev_end_of_path ev_no_more_health ev_close_button ev_user0 ev_user1 ev_user2 ev_user3 ev_user4 ev_user5 ev_user6 ev_user7 ev_user8 ev_user9 ev_user10 ev_user11 ev_user12 ev_user13 ev_user14 ev_user15 ev_step_normal ev_step_begin ev_step_end ev_gui ev_gui_begin ev_gui_end ev_cleanup ev_gesture ev_gesture_tap ev_gesture_double_tap ev_gesture_drag_start ev_gesture_dragging ev_gesture_drag_end ev_gesture_flick ev_gesture_pinch_start ev_gesture_pinch_in ev_gesture_pinch_out ev_gesture_pinch_end ev_gesture_rotate_start ev_gesture_rotating ev_gesture_rotate_end ev_global_gesture_tap ev_global_gesture_double_tap ev_global_gesture_drag_start ev_global_gesture_dragging ev_global_gesture_drag_end ev_global_gesture_flick ev_global_gesture_pinch_start ev_global_gesture_pinch_in ev_global_gesture_pinch_out ev_global_gesture_pinch_end ev_global_gesture_rotate_start ev_global_gesture_rotating ev_global_gesture_rotate_end vk_nokey vk_anykey vk_enter vk_return vk_shift vk_control vk_alt vk_escape vk_space vk_backspace vk_tab vk_pause vk_printscreen vk_left vk_right vk_up vk_down vk_home vk_end vk_delete vk_insert vk_pageup vk_pagedown vk_f1 vk_f2 vk_f3 vk_f4 vk_f5 vk_f6 vk_f7 vk_f8 vk_f9 vk_f10 vk_f11 vk_f12 vk_numpad0 vk_numpad1 vk_numpad2 vk_numpad3 vk_numpad4 vk_numpad5 vk_numpad6 vk_numpad7 vk_numpad8 vk_numpad9 vk_divide vk_multiply vk_subtract vk_add vk_decimal vk_lshift vk_lcontrol vk_lalt vk_rshift vk_rcontrol vk_ralt  mb_any mb_none mb_left mb_right mb_middle c_aqua c_black c_blue c_dkgray c_fuchsia c_gray c_green c_lime c_ltgray c_maroon c_navy c_olive c_purple c_red c_silver c_teal c_white c_yellow c_orange fa_left fa_center fa_right fa_top fa_middle fa_bottom pr_pointlist pr_linelist pr_linestrip pr_trianglelist pr_trianglestrip pr_trianglefan bm_complex bm_normal bm_add bm_max bm_subtract bm_zero bm_one bm_src_colour bm_inv_src_colour bm_src_color bm_inv_src_color bm_src_alpha bm_inv_src_alpha bm_dest_alpha bm_inv_dest_alpha bm_dest_colour bm_inv_dest_colour bm_dest_color bm_inv_dest_color bm_src_alpha_sat tf_point tf_linear tf_anisotropic mip_off mip_on mip_markedonly audio_falloff_none audio_falloff_inverse_distance audio_falloff_inverse_distance_clamped audio_falloff_linear_distance audio_falloff_linear_distance_clamped audio_falloff_exponent_distance audio_falloff_exponent_distance_clamped audio_old_system audio_new_system audio_mono audio_stereo audio_3d cr_default cr_none cr_arrow cr_cross cr_beam cr_size_nesw cr_size_ns cr_size_nwse cr_size_we cr_uparrow cr_hourglass cr_drag cr_appstart cr_handpoint cr_size_all spritespeed_framespersecond spritespeed_framespergameframe asset_object asset_unknown asset_sprite asset_sound asset_room asset_path asset_script asset_font asset_timeline asset_tiles asset_shader fa_readonly fa_hidden fa_sysfile fa_volumeid fa_directory fa_archive  ds_type_map ds_type_list ds_type_stack ds_type_queue ds_type_grid ds_type_priority ef_explosion ef_ring ef_ellipse ef_firework ef_smoke ef_smokeup ef_star ef_spark ef_flare ef_cloud ef_rain ef_snow pt_shape_pixel pt_shape_disk pt_shape_square pt_shape_line pt_shape_star pt_shape_circle pt_shape_ring pt_shape_sphere pt_shape_flare pt_shape_spark pt_shape_explosion pt_shape_cloud pt_shape_smoke pt_shape_snow ps_distr_linear ps_distr_gaussian ps_distr_invgaussian ps_shape_rectangle ps_shape_ellipse ps_shape_diamond ps_shape_line ty_real ty_string dll_cdecl dll_stdcall matrix_view matrix_projection matrix_world os_win32 os_windows os_macosx os_ios os_android os_symbian os_linux os_unknown os_winphone os_tizen os_win8native os_wiiu os_3ds  os_psvita os_bb10 os_ps4 os_xboxone os_ps3 os_xbox360 os_uwp os_tvos os_switch browser_not_a_browser browser_unknown browser_ie browser_firefox browser_chrome browser_safari browser_safari_mobile browser_opera browser_tizen browser_edge browser_windows_store browser_ie_mobile  device_ios_unknown device_ios_iphone device_ios_iphone_retina device_ios_ipad device_ios_ipad_retina device_ios_iphone5 device_ios_iphone6 device_ios_iphone6plus device_emulator device_tablet display_landscape display_landscape_flipped display_portrait display_portrait_flipped tm_sleep tm_countvsyncs of_challenge_win of_challen ge_lose of_challenge_tie leaderboard_type_number leaderboard_type_time_mins_secs cmpfunc_never cmpfunc_less cmpfunc_equal cmpfunc_lessequal cmpfunc_greater cmpfunc_notequal cmpfunc_greaterequal cmpfunc_always cull_noculling cull_clockwise cull_counterclockwise lighttype_dir lighttype_point iap_ev_storeload iap_ev_product iap_ev_purchase iap_ev_consume iap_ev_restore iap_storeload_ok iap_storeload_failed iap_status_uninitialised iap_status_unavailable iap_status_loading iap_status_available iap_status_processing iap_status_restoring iap_failed iap_unavailable iap_available iap_purchased iap_canceled iap_refunded fb_login_default fb_login_fallback_to_webview fb_login_no_fallback_to_webview fb_login_forcing_webview fb_login_use_system_account fb_login_forcing_safari  phy_joint_anchor_1_x phy_joint_anchor_1_y phy_joint_anchor_2_x phy_joint_anchor_2_y phy_joint_reaction_force_x phy_joint_reaction_force_y phy_joint_reaction_torque phy_joint_motor_speed phy_joint_angle phy_joint_motor_torque phy_joint_max_motor_torque phy_joint_translation phy_joint_speed phy_joint_motor_force phy_joint_max_motor_force phy_joint_length_1 phy_joint_length_2 phy_joint_damping_ratio phy_joint_frequency phy_joint_lower_angle_limit phy_joint_upper_angle_limit phy_joint_angle_limits phy_joint_max_length phy_joint_max_torque phy_joint_max_force phy_debug_render_aabb phy_debug_render_collision_pairs phy_debug_render_coms phy_debug_render_core_shapes phy_debug_render_joints phy_debug_render_obb phy_debug_render_shapes  phy_particle_flag_water phy_particle_flag_zombie phy_particle_flag_wall phy_particle_flag_spring phy_particle_flag_elastic phy_particle_flag_viscous phy_particle_flag_powder phy_particle_flag_tensile phy_particle_flag_colourmixing phy_particle_flag_colormixing phy_particle_group_flag_solid phy_particle_group_flag_rigid phy_particle_data_flag_typeflags phy_particle_data_flag_position phy_particle_data_flag_velocity phy_particle_data_flag_colour phy_particle_data_flag_color phy_particle_data_flag_category  achievement_our_info achievement_friends_info achievement_leaderboard_info achievement_achievement_info achievement_filter_all_players achievement_filter_friends_only achievement_filter_favorites_only achievement_type_achievement_challenge achievement_type_score_challenge achievement_pic_loaded  achievement_show_ui achievement_show_profile achievement_show_leaderboard achievement_show_achievement achievement_show_bank achievement_show_friend_picker achievement_show_purchase_prompt network_socket_tcp network_socket_udp network_socket_bluetooth network_type_connect network_type_disconnect network_type_data network_type_non_blocking_connect network_config_connect_timeout network_config_use_non_blocking_socket network_config_enable_reliable_udp network_config_disable_reliable_udp buffer_fixed buffer_grow buffer_wrap buffer_fast buffer_vbuffer buffer_network buffer_u8 buffer_s8 buffer_u16 buffer_s16 buffer_u32 buffer_s32 buffer_u64 buffer_f16 buffer_f32 buffer_f64 buffer_bool buffer_text buffer_string buffer_surface_copy buffer_seek_start buffer_seek_relative buffer_seek_end buffer_generalerror buffer_outofspace buffer_outofbounds buffer_invalidtype  text_type button_type input_type ANSI_CHARSET DEFAULT_CHARSET EASTEUROPE_CHARSET RUSSIAN_CHARSET SYMBOL_CHARSET SHIFTJIS_CHARSET HANGEUL_CHARSET GB2312_CHARSET CHINESEBIG5_CHARSET JOHAB_CHARSET HEBREW_CHARSET ARABIC_CHARSET GREEK_CHARSET TURKISH_CHARSET VIETNAMESE_CHARSET THAI_CHARSET MAC_CHARSET BALTIC_CHARSET OEM_CHARSET  gp_face1 gp_face2 gp_face3 gp_face4 gp_shoulderl gp_shoulderr gp_shoulderlb gp_shoulderrb gp_select gp_start gp_stickl gp_stickr gp_padu gp_padd gp_padl gp_padr gp_axislh gp_axislv gp_axisrh gp_axisrv ov_friends ov_community ov_players ov_settings ov_gamegroup ov_achievements lb_sort_none lb_sort_ascending lb_sort_descending lb_disp_none lb_disp_numeric lb_disp_time_sec lb_disp_time_ms ugc_result_success ugc_filetype_community ugc_filetype_microtrans ugc_visibility_public ugc_visibility_friends_only ugc_visibility_private ugc_query_RankedByVote ugc_query_RankedByPublicationDate ugc_query_AcceptedForGameRankedByAcceptanceDate ugc_query_RankedByTrend ugc_query_FavoritedByFriendsRankedByPublicationDate ugc_query_CreatedByFriendsRankedByPublicationDate ugc_query_RankedByNumTimesReported ugc_query_CreatedByFollowedUsersRankedByPublicationDate ugc_query_NotYetRated ugc_query_RankedByTotalVotesAsc ugc_query_RankedByVotesUp ugc_query_RankedByTextSearch ugc_sortorder_CreationOrderDesc ugc_sortorder_CreationOrderAsc ugc_sortorder_TitleAsc ugc_sortorder_LastUpdatedDesc ugc_sortorder_SubscriptionDateDesc ugc_sortorder_VoteScoreDesc ugc_sortorder_ForModeration ugc_list_Published ugc_list_VotedOn ugc_list_VotedUp ugc_list_VotedDown ugc_list_WillVoteLater ugc_list_Favorited ugc_list_Subscribed ugc_list_UsedOrPlayed ugc_list_Followed ugc_match_Items ugc_match_Items_Mtx ugc_match_Items_ReadyToUse ugc_match_Collections ugc_match_Artwork ugc_match_Videos ugc_match_Screenshots ugc_match_AllGuides ugc_match_WebGuides ugc_match_IntegratedGuides ugc_match_UsableInGame ugc_match_ControllerBindings  vertex_usage_position vertex_usage_colour vertex_usage_color vertex_usage_normal vertex_usage_texcoord vertex_usage_textcoord vertex_usage_blendweight vertex_usage_blendindices vertex_usage_psize vertex_usage_tangent vertex_usage_binormal vertex_usage_fog vertex_usage_depth vertex_usage_sample vertex_type_float1 vertex_type_float2 vertex_type_float3 vertex_type_float4 vertex_type_colour vertex_type_color vertex_type_ubyte4 layerelementtype_undefined layerelementtype_background layerelementtype_instance layerelementtype_oldtilemap layerelementtype_sprite layerelementtype_tilemap layerelementtype_particlesystem layerelementtype_tile tile_rotate tile_flip tile_mirror tile_index_mask kbv_type_default kbv_type_ascii kbv_type_url kbv_type_email kbv_type_numbers kbv_type_phone kbv_type_phone_name kbv_returnkey_default kbv_returnkey_go kbv_returnkey_google kbv_returnkey_join kbv_returnkey_next kbv_returnkey_route kbv_returnkey_search kbv_returnkey_send kbv_returnkey_yahoo kbv_returnkey_done kbv_returnkey_continue kbv_returnkey_emergency kbv_autocapitalize_none kbv_autocapitalize_words kbv_autocapitalize_sentences kbv_autocapitalize_characters",symbol:"argument_relative argument argument0 argument1 argument2 argument3 argument4 argument5 argument6 argument7 argument8 argument9 argument10 argument11 argument12 argument13 argument14 argument15 argument_count x|0 y|0 xprevious yprevious xstart ystart hspeed vspeed direction speed friction gravity gravity_direction path_index path_position path_positionprevious path_speed path_scale path_orientation path_endaction object_index id solid persistent mask_index instance_count instance_id room_speed fps fps_real current_time current_year current_month current_day current_weekday current_hour current_minute current_second alarm timeline_index timeline_position timeline_speed timeline_running timeline_loop room room_first room_last room_width room_height room_caption room_persistent score lives health show_score show_lives show_health caption_score caption_lives caption_health event_type event_number event_object event_action application_surface gamemaker_pro gamemaker_registered gamemaker_version error_occurred error_last debug_mode keyboard_key keyboard_lastkey keyboard_lastchar keyboard_string mouse_x mouse_y mouse_button mouse_lastbutton cursor_sprite visible sprite_index sprite_width sprite_height sprite_xoffset sprite_yoffset image_number image_index image_speed depth image_xscale image_yscale image_angle image_alpha image_blend bbox_left bbox_right bbox_top bbox_bottom layer background_colour  background_showcolour background_color background_showcolor view_enabled view_current view_visible view_xview view_yview view_wview view_hview view_xport view_yport view_wport view_hport view_angle view_hborder view_vborder view_hspeed view_vspeed view_object view_surface_id view_camera game_id game_display_name game_project_name game_save_id working_directory temp_directory program_directory browser_width browser_height os_type os_device os_browser os_version display_aa async_load delta_time webgl_enabled event_data iap_data phy_rotation phy_position_x phy_position_y phy_angular_velocity phy_linear_velocity_x phy_linear_velocity_y phy_speed_x phy_speed_y phy_speed phy_angular_damping phy_linear_damping phy_bullet phy_fixed_rotation phy_active phy_mass phy_inertia phy_com_x phy_com_y phy_dynamic phy_kinematic phy_sleeping phy_collision_points phy_collision_x phy_collision_y phy_col_normal_x phy_col_normal_y phy_position_xprevious phy_position_yprevious"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE]}}oA2.exports=E19});var IV2=Y((xH3,tA2)=>{function M19(I){let d={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",literal:"true false iota nil",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{name:"Go",aliases:["golang"],keywords:d,illegal:"</",contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"string",variants:[I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{begin:I.C_NUMBER_RE+"[i]",relevance:1},I.C_NUMBER_MODE]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[I.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:d,illegal:/["']/}]}]}}tA2.exports=M19});var GV2=Y((cH3,dV2)=>{function S19(I){return{name:"Golo",keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[I.HASH_COMMENT_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"}]}}dV2.exports=S19});var CV2=Y((pH3,ZV2)=>{function L19(I){return{name:"Gradle",case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.NUMBER_MODE,I.REGEXP_MODE]}}ZV2.exports=L19});var wV2=Y((iH3,WV2)=>{function y19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function P19(I){return $19("(?=",I,")")}function $19(...I){return I.map((G)=>y19(G)).join("")}function pF1(I,d={}){return d.variants=I,d}function u19(I){let G=pF1([I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]})]),Z={className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[I.BACKSLASH_ESCAPE]},C=pF1([I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE]),W=pF1([{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:"\\$/",end:"/\\$",relevance:10},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE],{className:"string"});return{name:"Groovy",keywords:{built_in:"this super",literal:"true false null",keyword:"byte short char int long boolean float double void def as in assert trait abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[I.SHEBANG({binary:"groovy",relevance:10}),G,W,Z,C,{className:"class",beginKeywords:"class interface trait enum",end:/\{/,illegal:":",contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"@[A-Za-z]+",relevance:0},{className:"attr",begin:"[A-Za-z0-9_$]+[ \t]*:",relevance:0},{begin:/\?/,end:/:/,relevance:0,contains:[G,W,Z,C,"self"]},{className:"symbol",begin:"^[ \t]*"+P19("[A-Za-z0-9_$]+:"),excludeBegin:!0,end:"[A-Za-z0-9_$]+:",relevance:0}],illegal:/#|<\//}}WV2.exports=u19});var AV2=Y((nH3,BV2)=>{function T19(I){return{name:"HAML",case_insensitive:!0,contains:[{className:"meta",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},I.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"selector-tag",begin:"\\w+"},{className:"selector-id",begin:"#[\\w-]+"},{className:"selector-class",begin:"\\.[\\w-]+"},{begin:/\{\s*/,end:/\s*\}/,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,starts:{end:/\}/,subLanguage:"ruby"}}]}}BV2.exports=T19});var YV2=Y((rH3,XV2)=>{function VV2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function O19(I){return R$("(",I,")*")}function m19(I){return R$("(",I,")?")}function R$(...I){return I.map((G)=>VV2(G)).join("")}function l19(...I){return"("+I.map((G)=>VV2(G)).join("|")+")"}function b19(I){let d={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},G={literal:["true","false","undefined","null"]},Z=/""|"[^"]+"/,C=/''|'[^']+'/,W=/\[\]|\[[^\]]+\]/,w=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,B=/(\.|\/)/,A=l19(Z,C,W,w),V=R$(m19(/\.|\.\/|\//),A,O19(R$(B,A))),X=R$("(",W,"|",w,")(?==)"),_={begin:V,lexemes:/[\w.\/]+/},F=I.inherit(_,{keywords:G}),g={begin:/\(/,end:/\)/},J={className:"attr",begin:X,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[I.NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,F,g]}}},K={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Q={contains:[I.NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,K,J,F,g],returnEnd:!0},E=I.inherit(_,{className:"name",keywords:d,starts:I.inherit(Q,{end:/\)/})});g.contains=[E];let S=I.inherit(_,{keywords:d,className:"name",starts:I.inherit(Q,{end:/\}\}/})}),P=I.inherit(_,{keywords:d,className:"name"}),$=I.inherit(_,{className:"name",keywords:d,starts:I.inherit(Q,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},I.COMMENT(/\{\{!--/,/--\}\}/),I.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[S],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[P]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[S]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[P]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[$]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[$]}]}}XV2.exports=b19});var DV2=Y((aH3,_V2)=>{function h19(I){let d={variants:[I.COMMENT("--","$"),I.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},G={className:"meta",begin:/\{-#/,end:/#-\}/},Z={className:"meta",begin:"^#",end:"$"},C={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},W={begin:"\\(",end:"\\)",illegal:'"',contains:[G,Z,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},I.inherit(I.TITLE_MODE,{begin:"[_a-z][\\w']*"}),d]},w={begin:/\{/,end:/\}/,contains:W.contains};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[W,d],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[W,d],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[C,W,d]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[G,C,W,w,d]},{beginKeywords:"default",end:"$",contains:[C,W,d]},{beginKeywords:"infix infixl infixr",end:"$",contains:[I.C_NUMBER_MODE,d]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[C,I.QUOTE_STRING_MODE,d]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},G,Z,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,C,I.inherit(I.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),d,{begin:"->|<-"}]}}_V2.exports=h19});var FV2=Y((sH3,HV2)=>{function j19(I){return{name:"Haxe",aliases:["hx"],keywords:{keyword:"break case cast catch continue default do dynamic else enum extern for function here if import in inline never new override package private get set public return static super switch this throw trace try typedef untyped using var while Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[I.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"},{className:"subst",begin:"\\$",end:/\W\}/}]},I.QUOTE_STRING_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"@:",end:"$"},{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"if else elseif end error"}},{className:"type",begin:":[ \t]*",end:"[^A-Za-z0-9_ \t\\->]",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:":[ \t]*",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"new *",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"class",beginKeywords:"enum",end:"\\{",contains:[I.TITLE_MODE]},{className:"class",beginKeywords:"abstract",end:"[\\{$]",contains:[{className:"type",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"from +",end:"\\W",excludeBegin:!0,excludeEnd:!0},{className:"type",begin:"to +",end:"\\W",excludeBegin:!0,excludeEnd:!0},I.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"class",begin:"\\b(class|interface) +",end:"[\\{$]",excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:"\\b(extends|implements) +",keywords:"extends implements",contains:[{className:"type",begin:I.IDENT_RE,relevance:0}]},I.TITLE_MODE]},{className:"function",beginKeywords:"function",end:"\\(",excludeEnd:!0,illegal:"\\S",contains:[I.TITLE_MODE]}],illegal:/<\//}}HV2.exports=j19});var JV2=Y((oH3,gV2)=>{function k19(I){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[I.BACKSLASH_ESCAPE]},I.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{"meta-keyword":"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[I.inherit(I.QUOTE_STRING_MODE,{className:"meta-string"}),I.NUMBER_MODE,I.C_NUMBER_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},I.NUMBER_MODE,I.C_NUMBER_MODE]}}gV2.exports=k19});var zV2=Y((eH3,NV2)=>{function KV2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function x19(I){return U$("(",I,")*")}function c19(I){return U$("(",I,")?")}function U$(...I){return I.map((G)=>KV2(G)).join("")}function p19(...I){return"("+I.map((G)=>KV2(G)).join("|")+")"}function i19(I){let d={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},G={literal:["true","false","undefined","null"]},Z=/""|"[^"]+"/,C=/''|'[^']+'/,W=/\[\]|\[[^\]]+\]/,w=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,B=/(\.|\/)/,A=p19(Z,C,W,w),V=U$(c19(/\.|\.\/|\//),A,x19(U$(B,A))),X=U$("(",W,"|",w,")(?==)"),_={begin:V,lexemes:/[\w.\/]+/},F=I.inherit(_,{keywords:G}),g={begin:/\(/,end:/\)/},J={className:"attr",begin:X,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[I.NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,F,g]}}},K={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},Q={contains:[I.NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,K,J,F,g],returnEnd:!0},E=I.inherit(_,{className:"name",keywords:d,starts:I.inherit(Q,{end:/\)/})});g.contains=[E];let S=I.inherit(_,{keywords:d,className:"name",starts:I.inherit(Q,{end:/\}\}/})}),P=I.inherit(_,{keywords:d,className:"name"}),$=I.inherit(_,{className:"name",keywords:d,starts:I.inherit(Q,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},I.COMMENT(/\{\{!--/,/--\}\}/),I.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[S],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[P]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[S]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[P]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[$]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[$]}]}}function n19(I){let d=i19(I);if(d.name="HTMLbars",I.getLanguage("handlebars"))d.disableAutodetect=!0;return d}NV2.exports=n19});var fV2=Y((tH3,QV2)=>{function r19(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function a19(...I){return I.map((G)=>r19(G)).join("")}function s19(I){let Z={className:"attribute",begin:a19("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},C=[Z,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?=HTTP/(2|1\\.[01]) \\d{3})",end:/$/,contains:[{className:"meta",begin:"HTTP/(2|1\\.[01])"},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:C}},{begin:"(?=^[A-Z]+ (.*?) HTTP/(2|1\\.[01])$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:"HTTP/(2|1\\.[01])"},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:C}},I.inherit(Z,{relevance:0})]}}QV2.exports=s19});var RV2=Y((IF3,qV2)=>{function o19(I){var d="a-zA-Z_\\-!.?+*=<>&#'",G="["+d+"]["+d+"0-9/;:]*",Z={$pattern:G,"builtin-name":"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},C="[-+]?\\d+(\\.\\d+)?",W={begin:G,relevance:0},w={className:"number",begin:C,relevance:0},B=I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),A=I.COMMENT(";","$",{relevance:0}),V={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},X={begin:"[\\[\\{]",end:"[\\]\\}]"},_={className:"comment",begin:"\\^"+G},F=I.COMMENT("\\^\\{","\\}"),g={className:"symbol",begin:"[:]{1,2}"+G},J={begin:"\\(",end:"\\)"},K={endsWithParent:!0,relevance:0},Q={className:"name",relevance:0,keywords:Z,begin:G,starts:K},E=[J,B,_,F,A,g,X,w,V,W];return J.contains=[I.COMMENT("comment",""),Q,K],K.contains=E,X.contains=E,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[I.SHEBANG(),J,B,_,F,A,g,X,w,V]}}qV2.exports=o19});var vV2=Y((dF3,UV2)=>{function e19(I){return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}UV2.exports=e19});var LV2=Y((GF3,SV2)=>{function EV2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function t19(I){return MV2("(?=",I,")")}function MV2(...I){return I.map((G)=>EV2(G)).join("")}function I09(...I){return"("+I.map((G)=>EV2(G)).join("|")+")"}function d09(I){let d={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:I.NUMBER_RE}]},G=I.COMMENT();G.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];let Z={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},C={className:"literal",begin:/\bon|off|true|false|yes|no\b/},W={className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},w={begin:/\[/,end:/\]/,contains:[G,C,Z,W,d,"self"],relevance:0},X=I09(/[A-Za-z0-9_-]+/,/"(\\"|[^"])*"/,/'[^']*'/),_=MV2(X,"(\\s*\\.\\s*",X,")*",t19(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[G,{className:"section",begin:/\[+/,end:/\]+/},{begin:_,className:"attr",starts:{end:/$/,contains:[G,w,C,Z,W,d]}}]}}SV2.exports=d09});var PV2=Y((ZF3,yV2)=>{function G09(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function iF1(...I){return I.map((G)=>G09(G)).join("")}function Z09(I){let d={className:"params",begin:"\\(",end:"\\)"},G=/(_[a-z_\d]+)?/,Z=/([de][+-]?\d+)?/,C={className:"number",variants:[{begin:iF1(/\b\d+/,/\.(\d*)/,Z,G)},{begin:iF1(/\b\d+/,Z,G)},{begin:iF1(/\.\d+/,Z,G)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated  c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[I.inherit(I.APOS_STRING_MODE,{className:"string",relevance:0}),I.inherit(I.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[I.UNDERSCORE_TITLE_MODE,d]},I.COMMENT("!","$",{relevance:0}),I.COMMENT("begin_doc","end_doc",{relevance:10}),C]}}yV2.exports=Z09});var uV2=Y((CF3,$V2)=>{function C09(I){let Z="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока "+"except exitfor finally foreach все if если in в not не or или try while пока ",C="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING  SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",W="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",w="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",B="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",A="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",V="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",X="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",_="smHidden smMaximized smMinimized smNormal wmNo wmYes ",F="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",g="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",J="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",K="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",Q="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",E="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",S="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",P="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",$="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",h="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",O="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",T="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",V1="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE "+"SYSREQ_STATЕ "+"SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",c="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",c1="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",o1="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",a1="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",f1="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",r="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",A1="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",m1="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",T1="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",e1="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",F0="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",P0="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",B0="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",a0="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",e="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",G0=C+"CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME "+B+A+V+"ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE smHidden smMaximized smMinimized smNormal wmNo wmYes "+F+"COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE "+J+K+Q+E+S+P+$+h+O+T+V1+"RESULT_VAR_NAME RESULT_VAR_NAME_ENG "+c1+o1+a1+f1+r+A1+m1+T1+e1+F0+P0+B0+a0+e,H1="atUser atGroup atRole ",j1="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",i1="apBegin apEnd ",E0="alLeft alRight ",k="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",a="cirCommon cirRevoked ",Z1="ctSignature ctEncode ctSignatureEncode ",Q1="clbUnchecked clbChecked clbGrayed ",N1="ceISB ceAlways ceNever ",F1="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",O1="cfInternal cfDisplay ",K1="ciUnspecified ciWrite ciRead ",R1="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",h1="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",j="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",W1="cltInternal cltPrimary cltGUI ",U1="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",L1="dssEdit dssInsert dssBrowse dssInActive ",D0="dftDate dftShortDate dftDateTime dftTimeStamp ",O0="dotDays dotHours dotMinutes dotSeconds ",k0="dtkndLocal dtkndUTC ",i0="arNone arView arEdit arFull ",s0="ddaView ddaEdit ",P2="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",a5="ecotFile ecotProcess ",n0="eaGet eaCopy eaCreate eaCreateStandardRoute ",B2="edltAll edltNothing edltQuery ",A2="essmText essmCard ",B4="esvtLast esvtLastActive esvtSpecified ",A4="edsfExecutive edsfArchive ",_5="edstSQLServer edstFile ",D5="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",tZ="vsDefault vsDesign vsActive vsObsolete ",T6="etNone etCertificate etPassword etCertificatePassword ",pB="ecException ecWarning ecInformation ",iB="estAll estApprovingOnly ",X3="evtLast evtLastActive evtQuery ",Nd="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",IC="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",Y3="grhAuto grhX1 grhX2 grhX3 ",zd="hltText hltRTF hltHTML ",Qd="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",QG="im8bGrayscale im24bRGB im1bMonochrome ",fG="itBMP itJPEG itWMF itPNG ",X7="ikhInformation ikhWarning ikhError ikhNoIcon ",vI="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",i7="isShow isHide isByUserSettings ",fd="jkJob jkNotice jkControlJob ",Y7="jtInner jtLeft jtRight jtFull jtCross ",nB="lbpAbove lbpBelow lbpLeft lbpRight ",qd="eltPerConnection eltPerUser ",rB="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",PW="sfsItalic sfsStrikeout sfsNormal ",$W="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",v8="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",qG="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",aB="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",uW="rdWindow rdFile rdPrinter ",Rd="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",sB="reOnChange reOnChangeValues ",TW="ttGlobal ttLocal ttUser ttSystem ",Ud="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",_7="smSelect smLike smCard ",OW="stNone stAuthenticating stApproving ",d1="sctString sctStream ",o="sstAnsiSort sstNaturalSort ",S1="svtEqual svtContain ",p1="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",l1="tarAbortByUser tarAbortByWorkflowException ",s1="tvtAllWords tvtExactPhrase tvtAnyWord ",U0="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",w0="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",J0="btAnd btDetailAnd btOr btNotOr btOnly ",W0="vmView vmSelect vmNavigation ",g0="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",c2="wfatPrevious wfatNext wfatCancel wfatFinish ",L2="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",R2="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",l="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",_1="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",I1="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",v1="waAll waPerformers waManual ",y1="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",E1="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",Z0="wiLow wiNormal wiHigh ",Q0="wrtSoft wrtHard ",N0="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",$0="wtmFull wtmFromCurrent wtmOnlyCurrent ",h0="atUser atGroup atRole "+j1+"apBegin apEnd alLeft alRight "+k+"cirCommon cirRevoked ctSignature ctEncode ctSignatureEncode clbUnchecked clbChecked clbGrayed ceISB ceAlways ceNever "+F1+"cfInternal cfDisplay ciUnspecified ciWrite ciRead "+R1+h1+j+"cltInternal cltPrimary cltGUI "+U1+"dssEdit dssInsert dssBrowse dssInActive dftDate dftShortDate dftDateTime dftTimeStamp dotDays dotHours dotMinutes dotSeconds dtkndLocal dtkndUTC arNone arView arEdit arFull ddaView ddaEdit "+P2+"ecotFile ecotProcess eaGet eaCopy eaCreate eaCreateStandardRoute edltAll edltNothing edltQuery essmText essmCard esvtLast esvtLastActive esvtSpecified edsfExecutive edsfArchive edstSQLServer edstFile edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile vsDefault vsDesign vsActive vsObsolete etNone etCertificate etPassword etCertificatePassword ecException ecWarning ecInformation estAll estApprovingOnly evtLast evtLastActive evtQuery "+Nd+IC+Y3+zd+Qd+QG+fG+X7+vI+i7+fd+Y7+nB+qd+rB+PW+$W+v8+qG+aB+uW+Rd+sB+TW+Ud+_7+OW+d1+o+S1+p1+l1+s1+U0+w0+J0+W0+g0+c2+L2+R2+l+_1+I1+v1+y1+E1+Z0+Q0+N0+$0,g2="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory "+"Анализ "+"БазаДанных "+"БлокЕсть "+"БлокЕстьРасш "+"БлокИнфо "+"БлокСнять "+"БлокСнятьРасш "+"БлокУстановить "+"Ввод "+"ВводМеню "+"ВедС "+"ВедСпр "+"ВерхняяГраницаМассива "+"ВнешПрогр "+"Восст "+"ВременнаяПапка "+"Время "+"ВыборSQL "+"ВыбратьЗапись "+"ВыделитьСтр "+"Вызвать "+"Выполнить "+"ВыпПрогр "+"ГрафическийФайл "+"ГруппаДополнительно "+"ДатаВремяСерв "+"ДеньНедели "+"ДиалогДаНет "+"ДлинаСтр "+"ДобПодстр "+"ЕПусто "+"ЕслиТо "+"ЕЧисло "+"ЗамПодстр "+"ЗаписьСправочника "+"ЗначПоляСпр "+"ИДТипСпр "+"ИзвлечьДиск "+"ИзвлечьИмяФайла "+"ИзвлечьПуть "+"ИзвлечьРасширение "+"ИзмДат "+"ИзменитьРазмерМассива "+"ИзмеренийМассива "+"ИмяОрг "+"ИмяПоляСпр "+"Индекс "+"ИндикаторЗакрыть "+"ИндикаторОткрыть "+"ИндикаторШаг "+"ИнтерактивныйРежим "+"ИтогТблСпр "+"КодВидВедСпр "+"КодВидСпрПоИД "+"КодПоAnalit "+"КодСимвола "+"КодСпр "+"КолПодстр "+"КолПроп "+"КонМес "+"Конст "+"КонстЕсть "+"КонстЗнач "+"КонТран "+"КопироватьФайл "+"КопияСтр "+"КПериод "+"КСтрТблСпр "+"Макс "+"МаксСтрТблСпр "+"Массив "+"Меню "+"МенюРасш "+"Мин "+"НаборДанныхНайтиРасш "+"НаимВидСпр "+"НаимПоAnalit "+"НаимСпр "+"НастроитьПереводыСтрок "+"НачМес "+"НачТран "+"НижняяГраницаМассива "+"НомерСпр "+"НПериод "+"Окно "+"Окр "+"Окружение "+"ОтлИнфДобавить "+"ОтлИнфУдалить "+"Отчет "+"ОтчетАнал "+"ОтчетИнт "+"ПапкаСуществует "+"Пауза "+"ПВыборSQL "+"ПереименоватьФайл "+"Переменные "+"ПереместитьФайл "+"Подстр "+"ПоискПодстр "+"ПоискСтр "+"ПолучитьИДТаблицы "+"ПользовательДополнительно "+"ПользовательИД "+"ПользовательИмя "+"ПользовательСтатус "+"Прервать "+"ПроверитьПараметр "+"ПроверитьПараметрЗнач "+"ПроверитьУсловие "+"РазбСтр "+"РазнВремя "+"РазнДат "+"РазнДатаВремя "+"РазнРабВремя "+"РегУстВрем "+"РегУстДат "+"РегУстЧсл "+"РедТекст "+"РеестрЗапись "+"РеестрСписокИменПарам "+"РеестрЧтение "+"РеквСпр "+"РеквСпрПр "+"Сегодня "+"Сейчас "+"Сервер "+"СерверПроцессИД "+"СертификатФайлСчитать "+"СжПроб "+"Символ "+"СистемаДиректумКод "+"СистемаИнформация "+"СистемаКод "+"Содержит "+"СоединениеЗакрыть "+"СоединениеОткрыть "+"СоздатьДиалог "+"СоздатьДиалогВыбораИзДвухСписков "+"СоздатьДиалогВыбораПапки "+"СоздатьДиалогОткрытияФайла "+"СоздатьДиалогСохраненияФайла "+"СоздатьЗапрос "+"СоздатьИндикатор "+"СоздатьИсключение "+"СоздатьКэшированныйСправочник "+"СоздатьМассив "+"СоздатьНаборДанных "+"СоздатьОбъект "+"СоздатьОтчет "+"СоздатьПапку "+"СоздатьРедактор "+"СоздатьСоединение "+"СоздатьСписок "+"СоздатьСписокСтрок "+"СоздатьСправочник "+"СоздатьСценарий "+"СоздСпр "+"СостСпр "+"Сохр "+"СохрСпр "+"СписокСистем "+"Спр "+"Справочник "+"СпрБлокЕсть "+"СпрБлокСнять "+"СпрБлокСнятьРасш "+"СпрБлокУстановить "+"СпрИзмНабДан "+"СпрКод "+"СпрНомер "+"СпрОбновить "+"СпрОткрыть "+"СпрОтменить "+"СпрПарам "+"СпрПолеЗнач "+"СпрПолеИмя "+"СпрРекв "+"СпрРеквВведЗн "+"СпрРеквНовые "+"СпрРеквПр "+"СпрРеквПредЗн "+"СпрРеквРежим "+"СпрРеквТипТекст "+"СпрСоздать "+"СпрСост "+"СпрСохранить "+"СпрТблИтог "+"СпрТблСтр "+"СпрТблСтрКол "+"СпрТблСтрМакс "+"СпрТблСтрМин "+"СпрТблСтрПред "+"СпрТблСтрСлед "+"СпрТблСтрСозд "+"СпрТблСтрУд "+"СпрТекПредст "+"СпрУдалить "+"СравнитьСтр "+"СтрВерхРегистр "+"СтрНижнРегистр "+"СтрТблСпр "+"СумПроп "+"Сценарий "+"СценарийПарам "+"ТекВерсия "+"ТекОрг "+"Точн "+"Тран "+"Транслитерация "+"УдалитьТаблицу "+"УдалитьФайл "+"УдСпр "+"УдСтрТблСпр "+"Уст "+"УстановкиКонстант "+"ФайлАтрибутСчитать "+"ФайлАтрибутУстановить "+"ФайлВремя "+"ФайлВремяУстановить "+"ФайлВыбрать "+"ФайлЗанят "+"ФайлЗаписать "+"ФайлИскать "+"ФайлКопировать "+"ФайлМожноЧитать "+"ФайлОткрыть "+"ФайлПереименовать "+"ФайлПерекодировать "+"ФайлПереместить "+"ФайлПросмотреть "+"ФайлРазмер "+"ФайлСоздать "+"ФайлСсылкаСоздать "+"ФайлСуществует "+"ФайлСчитать "+"ФайлУдалить "+"ФмтSQLДат "+"ФмтДат "+"ФмтСтр "+"ФмтЧсл "+"Формат "+"ЦМассивЭлемент "+"ЦНаборДанныхРеквизит "+"ЦПодстр ",F4="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work "+"ВызовСпособ "+"ИмяОтчета "+"РеквЗнач ",x4="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",c4=G0+h0,W9=F4,u9="null true false nil ",e6={className:"number",begin:I.NUMBER_RE,relevance:0},vd={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},dC={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},qX={className:"comment",begin:"//",end:"$",relevance:0,contains:[I.PHRASAL_WORDS_MODE,dC]},RG={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[I.PHRASAL_WORDS_MODE,dC]},HK={variants:[qX,RG]},Ed={$pattern:"[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",keyword:Z,built_in:c4,class:W9,literal:"null true false nil "},$4={begin:"\\.\\s*"+I.UNDERSCORE_IDENT_RE,keywords:Ed,relevance:0},oB={className:"type",begin:":[ \\t]*("+x4.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},E8={className:"variable",keywords:Ed,begin:"[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",relevance:0,contains:[oB,$4]},eB="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*"+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Ed,illegal:"\\$|\\?|%|,|;$|~|#|@|</",contains:[{className:"function",begin:eB,end:"\\)$",returnBegin:!0,keywords:Ed,illegal:"[\\[\\]\\|\\$\\?%,~#@]",contains:[{className:"title",keywords:{$pattern:"[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",built_in:g2},begin:eB,end:"\\(",returnBegin:!0,excludeEnd:!0},$4,E8,vd,e6,HK]},oB,$4,E8,vd,e6,HK]}}$V2.exports=C09});var OV2=Y((WF3,TV2)=>{var QR="[0-9](_*[0-9])*",La=`\\.(${QR})`,ya="[0-9a-fA-F](_*[0-9a-fA-F])*",W09={className:"number",variants:[{begin:`(\\b(${QR})((${La})|\\.)?|(${La}))[eE][+-]?(${QR})[fFdD]?\\b`},{begin:`\\b(${QR})((${La})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${La})[fFdD]?\\b`},{begin:`\\b(${QR})[fFdD]\\b`},{begin:`\\b0[xX]((${ya})\\.?|(${ya})?\\.(${ya}))[pP][+-]?(${QR})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${ya})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function w09(I){var d="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",G=d+"(<"+d+"(\\s*,\\s*"+d+")*>)?",Z="false synchronized int abstract float private char boolean var static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private module requires exports do",C={className:"meta",begin:"@"+d,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]};let W=W09;return{name:"Java",aliases:["jsp"],keywords:Z,illegal:/<\/|#/,contains:[I.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface enum",end:/[{;=]/,excludeEnd:!0,relevance:1,keywords:"class interface enum",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"class",begin:"record\\s+"+I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,excludeEnd:!0,end:/[{;=]/,keywords:Z,contains:[{beginKeywords:"record"},{begin:I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:Z,relevance:0,contains:[I.C_BLOCK_COMMENT_MODE]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{className:"function",begin:"("+G+"\\s+)+"+I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Z,contains:[{begin:I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:Z,relevance:0,contains:[C,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,W,I.C_BLOCK_COMMENT_MODE]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},W,C]}}TV2.exports=w09});var bV2=Y((wF3,lV2)=>{var B09=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],A09=["true","false","null","undefined","NaN","Infinity"],V09=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],X09=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Y09=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_09=["arguments","this","super","console","window","document","localStorage","module","global"],D09=[].concat(Y09,_09,V09,X09);function H09(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function mV2(I){return nF1("(?=",I,")")}function nF1(...I){return I.map((G)=>H09(G)).join("")}function F09(I){let d=($,{after:h})=>{let O="</"+$[0].slice(1);return $.input.indexOf(O,h)!==-1},G="[A-Za-z$_][0-9A-Za-z$_]*",Z={begin:"<>",end:"</>"},C={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:($,h)=>{let O=$[0].length+$.index,T=$.input[O];if(T==="<"){h.ignoreMatch();return}if(T===">"){if(!d($,{after:O}))h.ignoreMatch()}}},W={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:B09,literal:A09,built_in:D09},w="[0-9](_?[0-9])*",B="\\.([0-9](_?[0-9])*)",A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",V={className:"number",variants:[{begin:"(\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)((\\.([0-9](_?[0-9])*))|\\.)?|(\\.([0-9](_?[0-9])*)))[eE][+-]?([0-9](_?[0-9])*)\\b"},{begin:"\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)\\b((\\.([0-9](_?[0-9])*))\\b|\\.)?|(\\.([0-9](_?[0-9])*))\\b"},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},X={className:"subst",begin:"\\$\\{",end:"\\}",keywords:W,contains:[]},_={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[I.BACKSLASH_ESCAPE,X],subLanguage:"xml"}},F={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[I.BACKSLASH_ESCAPE,X],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE,X]},K={className:"comment",variants:[I.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),I.C_BLOCK_COMMENT_MODE,I.C_LINE_COMMENT_MODE]},Q=[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,_,F,g,V,I.REGEXP_MODE];X.contains=Q.concat({begin:/\{/,end:/\}/,keywords:W,contains:["self"].concat(Q)});let E=[].concat(K,X.contains),S=E.concat([{begin:/\(/,end:/\)/,keywords:W,contains:["self"].concat(E)}]),P={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:S};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:W,exports:{PARAMS_CONTAINS:S},illegal:/#(?![$_A-z])/,contains:[I.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,_,F,g,K,V,{begin:nF1(/[{,\n]\s*/,mV2(nF1(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,"[A-Za-z$_][0-9A-Za-z$_]*\\s*:"))),relevance:0,contains:[{className:"attr",begin:"[A-Za-z$_][0-9A-Za-z$_]*"+mV2("\\s*:"),relevance:0}]},{begin:"("+I.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[K,I.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+I.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:I.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:S}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:Z.begin,end:Z.end},{begin:C.begin,"on:begin":C.isTrulyOpeningTag,end:C.end}],subLanguage:"xml",contains:[{begin:C.begin,end:C.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),P],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:I.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[P,I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"})]},{variants:[{begin:"\\.[A-Za-z$_][0-9A-Za-z$_]*"},{begin:"\\$[A-Za-z$_][0-9A-Za-z$_]*"}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},I.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),"self",P]},{begin:"(get|set)\\s+(?=[A-Za-z$_][0-9A-Za-z$_]*\\()",end:/\{/,keywords:"get set",contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),{begin:/\(\)/},P]},{begin:/\$[(.]/}]}}lV2.exports=F09});var jV2=Y((BF3,hV2)=>{function g09(I){let G={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},Z={className:"function",begin:/:[\w\-.]+/,relevance:0},C={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},W={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[I.HASH_COMMENT_MODE,I.QUOTE_STRING_MODE,W,Z,C,G]}}hV2.exports=g09});var xV2=Y((AF3,kV2)=>{function J09(I){let d={literal:"true false null"},G=[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE],Z=[I.QUOTE_STRING_MODE,I.C_NUMBER_MODE],C={end:",",endsWithParent:!0,excludeEnd:!0,contains:Z,keywords:d},W={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE],illegal:"\\n"},I.inherit(C,{begin:/:/})].concat(G),illegal:"\\S"},w={begin:"\\[",end:"\\]",contains:[I.inherit(C)],illegal:"\\S"};return Z.push(W,w),G.forEach(function(B){Z.push(B)}),{name:"JSON",contains:Z,keywords:d,illegal:"\\S"}}kV2.exports=J09});var pV2=Y((VF3,cV2)=>{function K09(I){var d="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",G=["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],Z=["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],C=["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"],W={$pattern:d,keyword:G,literal:Z,built_in:C},w={keywords:W,illegal:/<\//},B={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},A={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},V={className:"subst",begin:/\$\(/,end:/\)/,keywords:W},X={className:"variable",begin:"\\$"+d},_={className:"string",contains:[I.BACKSLASH_ESCAPE,V,X],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},F={className:"string",contains:[I.BACKSLASH_ESCAPE,V,X],begin:"`",end:"`"},g={className:"meta",begin:"@"+d},J={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return w.name="Julia",w.contains=[B,A,_,F,g,J,I.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],V.contains=w.contains,w}cV2.exports=K09});var nV2=Y((XF3,iV2)=>{function N09(I){return{name:"Julia REPL",contains:[{className:"meta",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"},aliases:["jldoctest"]}]}}iV2.exports=N09});var aV2=Y((YF3,rV2)=>{var fR="[0-9](_*[0-9])*",Pa=`\\.(${fR})`,$a="[0-9a-fA-F](_*[0-9a-fA-F])*",z09={className:"number",variants:[{begin:`(\\b(${fR})((${Pa})|\\.)?|(${Pa}))[eE][+-]?(${fR})[fFdD]?\\b`},{begin:`\\b(${fR})((${Pa})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Pa})[fFdD]?\\b`},{begin:`\\b(${fR})[fFdD]\\b`},{begin:`\\b0[xX]((${$a})\\.?|(${$a})?\\.(${$a}))[pP][+-]?(${fR})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${$a})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Q09(I){let d={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},G={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},Z={className:"symbol",begin:I.UNDERSCORE_IDENT_RE+"@"},C={className:"subst",begin:/\$\{/,end:/\}/,contains:[I.C_NUMBER_MODE]},W={className:"variable",begin:"\\$"+I.UNDERSCORE_IDENT_RE},w={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[W,C]},{begin:"'",end:"'",illegal:/\n/,contains:[I.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[I.BACKSLASH_ESCAPE,W,C]}]};C.contains.push(w);let B={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+I.UNDERSCORE_IDENT_RE+")?"},A={className:"meta",begin:"@"+I.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[I.inherit(w,{className:"meta-string"})]}]},V=z09,X=I.COMMENT("/\\*","\\*/",{contains:[I.C_BLOCK_COMMENT_MODE]}),_={variants:[{className:"type",begin:I.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},F=_;return F.variants[1].contains=[_],_.variants[1].contains=[F],{name:"Kotlin",aliases:["kt","kts"],keywords:d,contains:[I.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),I.C_LINE_COMMENT_MODE,X,G,Z,B,A,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:d,relevance:5,contains:[{begin:I.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:d,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[_,I.C_LINE_COMMENT_MODE,X],relevance:0},I.C_LINE_COMMENT_MODE,X,B,A,w,I.C_NUMBER_MODE]},X]},{className:"class",beginKeywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},I.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0},B,A]},w,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
`},V]}}rV2.exports=Q09});var oV2=Y((_F3,sV2)=>{function f09(I){let C={$pattern:"[a-zA-Z_][\\w.]*|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},W=I.COMMENT("<!--","-->",{relevance:0}),w={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[W]}},B={className:"meta",begin:"\\[/noprocess|<\\?(lasso(script)?|=)"},A={className:"symbol",begin:"'[a-zA-Z_][\\w.]*'"},V=[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.inherit(I.C_NUMBER_MODE,{begin:I.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),I.inherit(I.APOS_STRING_MODE,{illegal:null}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$][a-zA-Z_][\\w.]*"},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:"[a-zA-Z_][\\w.]*",illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)[a-zA-Z_][\\w.]*",relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[A]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z_][\\w.]*(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:C,contains:[{className:"meta",begin:"\\]|\\?>",relevance:0,starts:{end:"\\[|<\\?(lasso(script)?|=)",returnEnd:!0,relevance:0,contains:[W]}},w,B,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:C,contains:[{className:"meta",begin:"\\]|\\?>",relevance:0,starts:{end:"\\[noprocess\\]|<\\?(lasso(script)?|=)",returnEnd:!0,contains:[W]}},w,B].concat(V)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(V)}}sV2.exports=f09});var tV2=Y((DF3,eV2)=>{function q09(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function R09(...I){return"("+I.map((G)=>q09(G)).join("|")+")"}function U09(I){let d=R09(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map((c)=>c+"(?![a-zA-Z@:_])")),G=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map((c)=>c+"(?![a-zA-Z:_])").join("|")),Z=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],C=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],W={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:d},{endsParent:!0,begin:G},{endsParent:!0,variants:C},{endsParent:!0,relevance:0,variants:Z}]},w={className:"params",relevance:0,begin:/#+\d?/},B={variants:C},A={className:"built_in",relevance:0,begin:/[$&^_]/},V={className:"meta",begin:"% !TeX",end:"$",relevance:10},X=I.COMMENT("%","$",{relevance:0}),_=[W,w,B,A,V,X],F={begin:/\{/,end:/\}/,relevance:0,contains:["self",..._]},g=I.inherit(F,{relevance:0,endsParent:!0,contains:[F,..._]}),J={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[F,..._]},K={begin:/\s+/,relevance:0},Q=[g],E=[J],S=function(c,c1){return{contains:[K],starts:{relevance:0,contains:c,starts:c1}}},P=function(c,c1){return{begin:"\\\\"+c+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+c},relevance:0,contains:[K],starts:c1}},$=function(c,c1){return I.inherit({begin:"\\\\begin(?=[ \t]*(\\r?\\n[ \t]*)?\\{"+c+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},S(Q,c1))},h=(c="string")=>{return I.END_SAME_AS_BEGIN({className:c,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0})},O=function(c){return{className:"string",end:"(?=\\\\end\\{"+c+"\\})"}},T=(c="string")=>{return{relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:c,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}},V1=[...["verb","lstinline"].map((c)=>P(c,{contains:[h()]})),P("mint",S(Q,{contains:[h()]})),P("mintinline",S(Q,{contains:[T(),h()]})),P("url",{contains:[T("link"),T("link")]}),P("hyperref",{contains:[T("link")]}),P("href",S(E,{contains:[T("link")]})),...[].concat(...["","\\*"].map((c)=>[$("verbatim"+c,O("verbatim"+c)),$("filecontents"+c,S(Q,O("filecontents"+c))),...["","B","L"].map((c1)=>$(c1+"Verbatim"+c,S(E,O(c1+"Verbatim"+c))))])),$("minted",S(E,S(Q,O("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...V1,..._]}}eV2.exports=U09});var dX2=Y((HF3,IX2)=>{function v09(I){return{name:"LDIF",contains:[{className:"attribute",begin:"^dn",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0},relevance:10},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,starts:{end:"$",relevance:0}},{className:"literal",begin:"^-",end:"$"},I.HASH_COMMENT_MODE]}}IX2.exports=v09});var ZX2=Y((FF3,GX2)=>{function E09(I){return{name:"Leaf",contains:[{className:"function",begin:"#+[A-Za-z_0-9]*\\(",end:/ \{/,returnBegin:!0,excludeEnd:!0,contains:[{className:"keyword",begin:"#+"},{className:"title",begin:"[A-Za-z_][A-Za-z_0-9]*"},{className:"params",begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"string",begin:'"',end:'"'},{className:"variable",begin:"[A-Za-z_][A-Za-z_0-9]*"}]}]}]}}GX2.exports=E09});var BX2=Y((gF3,wX2)=>{var M09=(I)=>{return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}}},S09=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],L09=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],CX2=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],WX2=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],y09=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse(),P09=CX2.concat(WX2);function $09(I){let d=M09(I),G=P09,Z="and or not only",C="[\\w-]+",W="([\\w-]+|@\\{[\\w-]+\\})",w=[],B=[],A=function(P){return{className:"string",begin:"~?"+P+".*?"+P}},V=function(P,$,h){return{className:P,begin:$,relevance:h}},X={$pattern:/[a-z-]+/,keyword:"and or not only",attribute:L09.join(" ")},_={begin:"\\(",end:"\\)",contains:B,keywords:X,relevance:0};B.push(I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,A("'"),A('"'),I.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},d.HEXCOLOR,_,V("variable","@@?[\\w-]+",10),V("variable","@\\{[\\w-]+\\}"),V("built_in","~?`[^`]*?`"),{className:"attribute",begin:"[\\w-]+\\s*:",end:":",returnBegin:!0,excludeEnd:!0},d.IMPORTANT);let F=B.concat({begin:/\{/,end:/\}/,contains:w}),g={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(B)},J={begin:W+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},{className:"attribute",begin:"\\b("+y09.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:B}}]},K={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:X,returnEnd:!0,contains:B,relevance:0}},Q={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@[\\w-]+"}],starts:{end:"[;}]",returnEnd:!0,contains:F}},E={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:W,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,g,V("keyword","all\\b"),V("variable","@\\{[\\w-]+\\}"),{begin:"\\b("+S09.join("|")+")\\b",className:"selector-tag"},V("selector-tag",W+"%?",0),V("selector-id","#"+W),V("selector-class","\\."+W,0),V("selector-tag","&",0),d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+CX2.join("|")+")"},{className:"selector-pseudo",begin:"::("+WX2.join("|")+")"},{begin:"\\(",end:"\\)",contains:F},{begin:"!important"}]},S={begin:`[\\w-]+:(:)?(${G.join("|")})`,returnBegin:!0,contains:[E]};return w.push(I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,K,Q,S,J,E),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:w}}wX2.exports=$09});var VX2=Y((JF3,AX2)=>{function u09(I){var d="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",G="\\|[^]*?\\|",Z="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",C={className:"literal",begin:"\\b(t{1}|nil)\\b"},W={className:"number",variants:[{begin:Z,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+Z+" +"+Z,end:"\\)"}]},w=I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),B=I.COMMENT(";","$",{relevance:0}),A={begin:"\\*",end:"\\*"},V={className:"symbol",begin:"[:&]"+d},X={begin:d,relevance:0},_={begin:G},F={begin:"\\(",end:"\\)",contains:["self",C,w,W,X]},g={contains:[W,w,A,V,F,X],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+G}]},J={variants:[{begin:"'"+d},{begin:"#'"+d+"(::"+d+")*"}]},K={begin:"\\(\\s*",end:"\\)"},Q={endsWithParent:!0,relevance:0};return K.contains=[{className:"name",variants:[{begin:d,relevance:0},{begin:G}]},Q],Q.contains=[g,J,K,C,W,w,B,A,V,_,X],{name:"Lisp",illegal:/\S/,contains:[W,I.SHEBANG(),C,w,B,g,J,K,X]}}AX2.exports=u09});var YX2=Y((KF3,XX2)=>{function T09(I){let d={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},G=[I.C_BLOCK_COMMENT_MODE,I.HASH_COMMENT_MODE,I.COMMENT("--","$"),I.COMMENT("[^:]//","$")],Z=I.inherit(I.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),C=I.inherit(I.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[d,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[d,C,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE,Z]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[C,Z],relevance:0},{beginKeywords:"command on",end:"$",contains:[d,C,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE,Z]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE,Z].concat(G),illegal:";$|^\\[|^=|&|\\{"}}XX2.exports=T09});var DX2=Y((NF3,_X2)=>{var O09=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m09=["true","false","null","undefined","NaN","Infinity"],l09=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],b09=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],h09=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],j09=["arguments","this","super","console","window","document","localStorage","module","global"],k09=[].concat(h09,j09,l09,b09);function x09(I){let d=["npm","print"],G=["yes","no","on","off","it","that","void"],Z=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],C={keyword:O09.concat(Z),literal:m09.concat(G),built_in:k09.concat(d)},W="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",w=I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*"}),B={className:"subst",begin:/#\{/,end:/\}/,keywords:C},A={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:C},V=[I.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[I.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[I.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[I.BACKSLASH_ESCAPE,B,A]},{begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,B,A]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[B,I.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*"},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];B.contains=V;let X={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:C,contains:["self"].concat(V)}]},_={begin:"(#=>|=>|\\|>>|-?->|!->)"};return{name:"LiveScript",aliases:["ls"],keywords:C,illegal:/\/\*/,contains:V.concat([I.COMMENT("\\/\\*","\\*\\/"),I.HASH_COMMENT_MODE,_,{className:"function",contains:[w,X],returnBegin:!0,variants:[{begin:"([A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"([A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"([A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[w]},w]},{begin:"[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*:",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}_X2.exports=x09});var FX2=Y((zF3,HX2)=>{function c09(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ua(...I){return I.map((G)=>c09(G)).join("")}function p09(I){let d=/([-a-zA-Z$._][\w$.-]*)/,G={className:"type",begin:/\bi\d+(?=\s|\b)/},Z={className:"operator",relevance:0,begin:/=/},C={className:"punctuation",relevance:0,begin:/,/},W={className:"number",variants:[{begin:/0[xX][a-fA-F0-9]+/},{begin:/-?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},w={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},B={className:"variable",variants:[{begin:ua(/%/,d)},{begin:/%\d+/},{begin:/#\d+/}]},A={className:"title",variants:[{begin:ua(/@/,d)},{begin:/@\d+/},{begin:ua(/!/,d)},{begin:ua(/!\d+/,d)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[G,I.COMMENT(/;\s*$/,null,{relevance:0}),I.COMMENT(/;/,/$/),I.QUOTE_STRING_MODE,{className:"string",variants:[{begin:/"/,end:/[^\\]"/}]},A,C,Z,B,w,W]}}HX2.exports=p09});var JX2=Y((QF3,gX2)=>{function i09(I){var d={className:"subst",begin:/\\[tn"\\]/},G={className:"string",begin:'"',end:'"',contains:[d]},Z={className:"number",relevance:0,begin:I.C_NUMBER_RE},C={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},W={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[G,{className:"comment",variants:[I.COMMENT("//","$"),I.COMMENT("/\\*","\\*/")],relevance:0},Z,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},W,C,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}gX2.exports=i09});var NX2=Y((fF3,KX2)=>{function n09(I){let Z={begin:"\\[=*\\[",end:"\\]=*\\]",contains:["self"]},C=[I.COMMENT("--(?!\\[=*\\[)","$"),I.COMMENT("--\\[=*\\[","\\]=*\\]",{contains:[Z],relevance:10})];return{name:"Lua",keywords:{$pattern:I.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:C.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[I.inherit(I.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:C}].concat(C)},I.C_NUMBER_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"string",begin:"\\[=*\\[",end:"\\]=*\\]",contains:[Z],relevance:5}])}}KX2.exports=n09});var QX2=Y((qF3,zX2)=>{function r09(I){let d={className:"variable",variants:[{begin:"\\$\\("+I.UNDERSCORE_IDENT_RE+"\\)",contains:[I.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},G={className:"string",begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,d]},Z={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[d]},C={begin:"^"+I.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},W={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,"meta-keyword":".PHONY"}},w={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[d]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[I.HASH_COMMENT_MODE,d,G,Z,C,W,w]}}zX2.exports=r09});var vX2=Y((RF3,UX2)=>{var a09=["AASTriangle","AbelianGroup","Abort","AbortKernels","AbortProtect","AbortScheduledTask","Above","Abs","AbsArg","AbsArgPlot","Absolute","AbsoluteCorrelation","AbsoluteCorrelationFunction","AbsoluteCurrentValue","AbsoluteDashing","AbsoluteFileName","AbsoluteOptions","AbsolutePointSize","AbsoluteThickness","AbsoluteTime","AbsoluteTiming","AcceptanceThreshold","AccountingForm","Accumulate","Accuracy","AccuracyGoal","ActionDelay","ActionMenu","ActionMenuBox","ActionMenuBoxOptions","Activate","Active","ActiveClassification","ActiveClassificationObject","ActiveItem","ActivePrediction","ActivePredictionObject","ActiveStyle","AcyclicGraphQ","AddOnHelpPath","AddSides","AddTo","AddToSearchIndex","AddUsers","AdjacencyGraph","AdjacencyList","AdjacencyMatrix","AdjacentMeshCells","AdjustmentBox","AdjustmentBoxOptions","AdjustTimeSeriesForecast","AdministrativeDivisionData","AffineHalfSpace","AffineSpace","AffineStateSpaceModel","AffineTransform","After","AggregatedEntityClass","AggregationLayer","AircraftData","AirportData","AirPressureData","AirTemperatureData","AiryAi","AiryAiPrime","AiryAiZero","AiryBi","AiryBiPrime","AiryBiZero","AlgebraicIntegerQ","AlgebraicNumber","AlgebraicNumberDenominator","AlgebraicNumberNorm","AlgebraicNumberPolynomial","AlgebraicNumberTrace","AlgebraicRules","AlgebraicRulesData","Algebraics","AlgebraicUnitQ","Alignment","AlignmentMarker","AlignmentPoint","All","AllowAdultContent","AllowedCloudExtraParameters","AllowedCloudParameterExtensions","AllowedDimensions","AllowedFrequencyRange","AllowedHeads","AllowGroupClose","AllowIncomplete","AllowInlineCells","AllowKernelInitialization","AllowLooseGrammar","AllowReverseGroupClose","AllowScriptLevelChange","AllowVersionUpdate","AllTrue","Alphabet","AlphabeticOrder","AlphabeticSort","AlphaChannel","AlternateImage","AlternatingFactorial","AlternatingGroup","AlternativeHypothesis","Alternatives","AltitudeMethod","AmbientLight","AmbiguityFunction","AmbiguityList","Analytic","AnatomyData","AnatomyForm","AnatomyPlot3D","AnatomySkinStyle","AnatomyStyling","AnchoredSearch","And","AndersonDarlingTest","AngerJ","AngleBisector","AngleBracket","AnglePath","AnglePath3D","AngleVector","AngularGauge","Animate","AnimationCycleOffset","AnimationCycleRepetitions","AnimationDirection","AnimationDisplayTime","AnimationRate","AnimationRepetitions","AnimationRunning","AnimationRunTime","AnimationTimeIndex","Animator","AnimatorBox","AnimatorBoxOptions","AnimatorElements","Annotate","Annotation","AnnotationDelete","AnnotationKeys","AnnotationRules","AnnotationValue","Annuity","AnnuityDue","Annulus","AnomalyDetection","AnomalyDetector","AnomalyDetectorFunction","Anonymous","Antialiasing","AntihermitianMatrixQ","Antisymmetric","AntisymmetricMatrixQ","Antonyms","AnyOrder","AnySubset","AnyTrue","Apart","ApartSquareFree","APIFunction","Appearance","AppearanceElements","AppearanceRules","AppellF1","Append","AppendCheck","AppendLayer","AppendTo","Apply","ApplySides","ArcCos","ArcCosh","ArcCot","ArcCoth","ArcCsc","ArcCsch","ArcCurvature","ARCHProcess","ArcLength","ArcSec","ArcSech","ArcSin","ArcSinDistribution","ArcSinh","ArcTan","ArcTanh","Area","Arg","ArgMax","ArgMin","ArgumentCountQ","ARIMAProcess","ArithmeticGeometricMean","ARMAProcess","Around","AroundReplace","ARProcess","Array","ArrayComponents","ArrayDepth","ArrayFilter","ArrayFlatten","ArrayMesh","ArrayPad","ArrayPlot","ArrayQ","ArrayResample","ArrayReshape","ArrayRules","Arrays","Arrow","Arrow3DBox","ArrowBox","Arrowheads","ASATriangle","Ask","AskAppend","AskConfirm","AskDisplay","AskedQ","AskedValue","AskFunction","AskState","AskTemplateDisplay","AspectRatio","AspectRatioFixed","Assert","AssociateTo","Association","AssociationFormat","AssociationMap","AssociationQ","AssociationThread","AssumeDeterministic","Assuming","Assumptions","AstronomicalData","Asymptotic","AsymptoticDSolveValue","AsymptoticEqual","AsymptoticEquivalent","AsymptoticGreater","AsymptoticGreaterEqual","AsymptoticIntegrate","AsymptoticLess","AsymptoticLessEqual","AsymptoticOutputTracker","AsymptoticProduct","AsymptoticRSolveValue","AsymptoticSolve","AsymptoticSum","Asynchronous","AsynchronousTaskObject","AsynchronousTasks","Atom","AtomCoordinates","AtomCount","AtomDiagramCoordinates","AtomList","AtomQ","AttentionLayer","Attributes","Audio","AudioAmplify","AudioAnnotate","AudioAnnotationLookup","AudioBlockMap","AudioCapture","AudioChannelAssignment","AudioChannelCombine","AudioChannelMix","AudioChannels","AudioChannelSeparate","AudioData","AudioDelay","AudioDelete","AudioDevice","AudioDistance","AudioEncoding","AudioFade","AudioFrequencyShift","AudioGenerator","AudioIdentify","AudioInputDevice","AudioInsert","AudioInstanceQ","AudioIntervals","AudioJoin","AudioLabel","AudioLength","AudioLocalMeasurements","AudioLooping","AudioLoudness","AudioMeasurements","AudioNormalize","AudioOutputDevice","AudioOverlay","AudioPad","AudioPan","AudioPartition","AudioPause","AudioPitchShift","AudioPlay","AudioPlot","AudioQ","AudioRecord","AudioReplace","AudioResample","AudioReverb","AudioReverse","AudioSampleRate","AudioSpectralMap","AudioSpectralTransformation","AudioSplit","AudioStop","AudioStream","AudioStreams","AudioTimeStretch","AudioTracks","AudioTrim","AudioType","AugmentedPolyhedron","AugmentedSymmetricPolynomial","Authenticate","Authentication","AuthenticationDialog","AutoAction","Autocomplete","AutocompletionFunction","AutoCopy","AutocorrelationTest","AutoDelete","AutoEvaluateEvents","AutoGeneratedPackage","AutoIndent","AutoIndentSpacings","AutoItalicWords","AutoloadPath","AutoMatch","Automatic","AutomaticImageSize","AutoMultiplicationSymbol","AutoNumberFormatting","AutoOpenNotebooks","AutoOpenPalettes","AutoQuoteCharacters","AutoRefreshed","AutoRemove","AutorunSequencing","AutoScaling","AutoScroll","AutoSpacing","AutoStyleOptions","AutoStyleWords","AutoSubmitting","Axes","AxesEdge","AxesLabel","AxesOrigin","AxesStyle","AxiomaticTheory","Axis","BabyMonsterGroupB","Back","Background","BackgroundAppearance","BackgroundTasksSettings","Backslash","Backsubstitution","Backward","Ball","Band","BandpassFilter","BandstopFilter","BarabasiAlbertGraphDistribution","BarChart","BarChart3D","BarcodeImage","BarcodeRecognize","BaringhausHenzeTest","BarLegend","BarlowProschanImportance","BarnesG","BarOrigin","BarSpacing","BartlettHannWindow","BartlettWindow","BaseDecode","BaseEncode","BaseForm","Baseline","BaselinePosition","BaseStyle","BasicRecurrentLayer","BatchNormalizationLayer","BatchSize","BatesDistribution","BattleLemarieWavelet","BayesianMaximization","BayesianMaximizationObject","BayesianMinimization","BayesianMinimizationObject","Because","BeckmannDistribution","Beep","Before","Begin","BeginDialogPacket","BeginFrontEndInteractionPacket","BeginPackage","BellB","BellY","Below","BenfordDistribution","BeniniDistribution","BenktanderGibratDistribution","BenktanderWeibullDistribution","BernoulliB","BernoulliDistribution","BernoulliGraphDistribution","BernoulliProcess","BernsteinBasis","BesselFilterModel","BesselI","BesselJ","BesselJZero","BesselK","BesselY","BesselYZero","Beta","BetaBinomialDistribution","BetaDistribution","BetaNegativeBinomialDistribution","BetaPrimeDistribution","BetaRegularized","Between","BetweennessCentrality","BeveledPolyhedron","BezierCurve","BezierCurve3DBox","BezierCurve3DBoxOptions","BezierCurveBox","BezierCurveBoxOptions","BezierFunction","BilateralFilter","Binarize","BinaryDeserialize","BinaryDistance","BinaryFormat","BinaryImageQ","BinaryRead","BinaryReadList","BinarySerialize","BinaryWrite","BinCounts","BinLists","Binomial","BinomialDistribution","BinomialProcess","BinormalDistribution","BiorthogonalSplineWavelet","BipartiteGraphQ","BiquadraticFilterModel","BirnbaumImportance","BirnbaumSaundersDistribution","BitAnd","BitClear","BitGet","BitLength","BitNot","BitOr","BitSet","BitShiftLeft","BitShiftRight","BitXor","BiweightLocation","BiweightMidvariance","Black","BlackmanHarrisWindow","BlackmanNuttallWindow","BlackmanWindow","Blank","BlankForm","BlankNullSequence","BlankSequence","Blend","Block","BlockchainAddressData","BlockchainBase","BlockchainBlockData","BlockchainContractValue","BlockchainData","BlockchainGet","BlockchainKeyEncode","BlockchainPut","BlockchainTokenData","BlockchainTransaction","BlockchainTransactionData","BlockchainTransactionSign","BlockchainTransactionSubmit","BlockMap","BlockRandom","BlomqvistBeta","BlomqvistBetaTest","Blue","Blur","BodePlot","BohmanWindow","Bold","Bond","BondCount","BondList","BondQ","Bookmarks","Boole","BooleanConsecutiveFunction","BooleanConvert","BooleanCountingFunction","BooleanFunction","BooleanGraph","BooleanMaxterms","BooleanMinimize","BooleanMinterms","BooleanQ","BooleanRegion","Booleans","BooleanStrings","BooleanTable","BooleanVariables","BorderDimensions","BorelTannerDistribution","Bottom","BottomHatTransform","BoundaryDiscretizeGraphics","BoundaryDiscretizeRegion","BoundaryMesh","BoundaryMeshRegion","BoundaryMeshRegionQ","BoundaryStyle","BoundedRegionQ","BoundingRegion","Bounds","Box","BoxBaselineShift","BoxData","BoxDimensions","Boxed","Boxes","BoxForm","BoxFormFormatTypes","BoxFrame","BoxID","BoxMargins","BoxMatrix","BoxObject","BoxRatios","BoxRotation","BoxRotationPoint","BoxStyle","BoxWhiskerChart","Bra","BracketingBar","BraKet","BrayCurtisDistance","BreadthFirstScan","Break","BridgeData","BrightnessEqualize","BroadcastStationData","Brown","BrownForsytheTest","BrownianBridgeProcess","BrowserCategory","BSplineBasis","BSplineCurve","BSplineCurve3DBox","BSplineCurve3DBoxOptions","BSplineCurveBox","BSplineCurveBoxOptions","BSplineFunction","BSplineSurface","BSplineSurface3DBox","BSplineSurface3DBoxOptions","BubbleChart","BubbleChart3D","BubbleScale","BubbleSizes","BuildingData","BulletGauge","BusinessDayQ","ButterflyGraph","ButterworthFilterModel","Button","ButtonBar","ButtonBox","ButtonBoxOptions","ButtonCell","ButtonContents","ButtonData","ButtonEvaluator","ButtonExpandable","ButtonFrame","ButtonFunction","ButtonMargins","ButtonMinHeight","ButtonNote","ButtonNotebook","ButtonSource","ButtonStyle","ButtonStyleMenuListing","Byte","ByteArray","ByteArrayFormat","ByteArrayQ","ByteArrayToString","ByteCount","ByteOrdering","C","CachedValue","CacheGraphics","CachePersistence","CalendarConvert","CalendarData","CalendarType","Callout","CalloutMarker","CalloutStyle","CallPacket","CanberraDistance","Cancel","CancelButton","CandlestickChart","CanonicalGraph","CanonicalizePolygon","CanonicalizePolyhedron","CanonicalName","CanonicalWarpingCorrespondence","CanonicalWarpingDistance","CantorMesh","CantorStaircase","Cap","CapForm","CapitalDifferentialD","Capitalize","CapsuleShape","CaptureRunning","CardinalBSplineBasis","CarlemanLinearize","CarmichaelLambda","CaseOrdering","Cases","CaseSensitive","Cashflow","Casoratian","Catalan","CatalanNumber","Catch","CategoricalDistribution","Catenate","CatenateLayer","CauchyDistribution","CauchyWindow","CayleyGraph","CDF","CDFDeploy","CDFInformation","CDFWavelet","Ceiling","CelestialSystem","Cell","CellAutoOverwrite","CellBaseline","CellBoundingBox","CellBracketOptions","CellChangeTimes","CellContents","CellContext","CellDingbat","CellDynamicExpression","CellEditDuplicate","CellElementsBoundingBox","CellElementSpacings","CellEpilog","CellEvaluationDuplicate","CellEvaluationFunction","CellEvaluationLanguage","CellEventActions","CellFrame","CellFrameColor","CellFrameLabelMargins","CellFrameLabels","CellFrameMargins","CellGroup","CellGroupData","CellGrouping","CellGroupingRules","CellHorizontalScrolling","CellID","CellLabel","CellLabelAutoDelete","CellLabelMargins","CellLabelPositioning","CellLabelStyle","CellLabelTemplate","CellMargins","CellObject","CellOpen","CellPrint","CellProlog","Cells","CellSize","CellStyle","CellTags","CellularAutomaton","CensoredDistribution","Censoring","Center","CenterArray","CenterDot","CentralFeature","CentralMoment","CentralMomentGeneratingFunction","Cepstrogram","CepstrogramArray","CepstrumArray","CForm","ChampernowneNumber","ChangeOptions","ChannelBase","ChannelBrokerAction","ChannelDatabin","ChannelHistoryLength","ChannelListen","ChannelListener","ChannelListeners","ChannelListenerWait","ChannelObject","ChannelPreSendFunction","ChannelReceiverFunction","ChannelSend","ChannelSubscribers","ChanVeseBinarize","Character","CharacterCounts","CharacterEncoding","CharacterEncodingsPath","CharacteristicFunction","CharacteristicPolynomial","CharacterName","CharacterNormalize","CharacterRange","Characters","ChartBaseStyle","ChartElementData","ChartElementDataFunction","ChartElementFunction","ChartElements","ChartLabels","ChartLayout","ChartLegends","ChartStyle","Chebyshev1FilterModel","Chebyshev2FilterModel","ChebyshevDistance","ChebyshevT","ChebyshevU","Check","CheckAbort","CheckAll","Checkbox","CheckboxBar","CheckboxBox","CheckboxBoxOptions","ChemicalData","ChessboardDistance","ChiDistribution","ChineseRemainder","ChiSquareDistribution","ChoiceButtons","ChoiceDialog","CholeskyDecomposition","Chop","ChromaticityPlot","ChromaticityPlot3D","ChromaticPolynomial","Circle","CircleBox","CircleDot","CircleMinus","CirclePlus","CirclePoints","CircleThrough","CircleTimes","CirculantGraph","CircularOrthogonalMatrixDistribution","CircularQuaternionMatrixDistribution","CircularRealMatrixDistribution","CircularSymplecticMatrixDistribution","CircularUnitaryMatrixDistribution","Circumsphere","CityData","ClassifierFunction","ClassifierInformation","ClassifierMeasurements","ClassifierMeasurementsObject","Classify","ClassPriors","Clear","ClearAll","ClearAttributes","ClearCookies","ClearPermissions","ClearSystemCache","ClebschGordan","ClickPane","Clip","ClipboardNotebook","ClipFill","ClippingStyle","ClipPlanes","ClipPlanesStyle","ClipRange","Clock","ClockGauge","ClockwiseContourIntegral","Close","Closed","CloseKernels","ClosenessCentrality","Closing","ClosingAutoSave","ClosingEvent","ClosingSaveDialog","CloudAccountData","CloudBase","CloudConnect","CloudConnections","CloudDeploy","CloudDirectory","CloudDisconnect","CloudEvaluate","CloudExport","CloudExpression","CloudExpressions","CloudFunction","CloudGet","CloudImport","CloudLoggingData","CloudObject","CloudObjectInformation","CloudObjectInformationData","CloudObjectNameFormat","CloudObjects","CloudObjectURLType","CloudPublish","CloudPut","CloudRenderingMethod","CloudSave","CloudShare","CloudSubmit","CloudSymbol","CloudUnshare","CloudUserID","ClusterClassify","ClusterDissimilarityFunction","ClusteringComponents","ClusteringTree","CMYKColor","Coarse","CodeAssistOptions","Coefficient","CoefficientArrays","CoefficientDomain","CoefficientList","CoefficientRules","CoifletWavelet","Collect","Colon","ColonForm","ColorBalance","ColorCombine","ColorConvert","ColorCoverage","ColorData","ColorDataFunction","ColorDetect","ColorDistance","ColorFunction","ColorFunctionScaling","Colorize","ColorNegate","ColorOutput","ColorProfileData","ColorQ","ColorQuantize","ColorReplace","ColorRules","ColorSelectorSettings","ColorSeparate","ColorSetter","ColorSetterBox","ColorSetterBoxOptions","ColorSlider","ColorsNear","ColorSpace","ColorToneMapping","Column","ColumnAlignments","ColumnBackgrounds","ColumnForm","ColumnLines","ColumnsEqual","ColumnSpacings","ColumnWidths","CombinedEntityClass","CombinerFunction","CometData","CommonDefaultFormatTypes","Commonest","CommonestFilter","CommonName","CommonUnits","CommunityBoundaryStyle","CommunityGraphPlot","CommunityLabels","CommunityRegionStyle","CompanyData","CompatibleUnitQ","CompilationOptions","CompilationTarget","Compile","Compiled","CompiledCodeFunction","CompiledFunction","CompilerOptions","Complement","ComplementedEntityClass","CompleteGraph","CompleteGraphQ","CompleteKaryTree","CompletionsListPacket","Complex","ComplexContourPlot","Complexes","ComplexExpand","ComplexInfinity","ComplexityFunction","ComplexListPlot","ComplexPlot","ComplexPlot3D","ComplexRegionPlot","ComplexStreamPlot","ComplexVectorPlot","ComponentMeasurements","ComponentwiseContextMenu","Compose","ComposeList","ComposeSeries","CompositeQ","Composition","CompoundElement","CompoundExpression","CompoundPoissonDistribution","CompoundPoissonProcess","CompoundRenewalProcess","Compress","CompressedData","CompressionLevel","ComputeUncertainty","Condition","ConditionalExpression","Conditioned","Cone","ConeBox","ConfidenceLevel","ConfidenceRange","ConfidenceTransform","ConfigurationPath","ConformAudio","ConformImages","Congruent","ConicHullRegion","ConicHullRegion3DBox","ConicHullRegionBox","ConicOptimization","Conjugate","ConjugateTranspose","Conjunction","Connect","ConnectedComponents","ConnectedGraphComponents","ConnectedGraphQ","ConnectedMeshComponents","ConnectedMoleculeComponents","ConnectedMoleculeQ","ConnectionSettings","ConnectLibraryCallbackFunction","ConnectSystemModelComponents","ConnesWindow","ConoverTest","ConsoleMessage","ConsoleMessagePacket","Constant","ConstantArray","ConstantArrayLayer","ConstantImage","ConstantPlusLayer","ConstantRegionQ","Constants","ConstantTimesLayer","ConstellationData","ConstrainedMax","ConstrainedMin","Construct","Containing","ContainsAll","ContainsAny","ContainsExactly","ContainsNone","ContainsOnly","ContentFieldOptions","ContentLocationFunction","ContentObject","ContentPadding","ContentsBoundingBox","ContentSelectable","ContentSize","Context","ContextMenu","Contexts","ContextToFileName","Continuation","Continue","ContinuedFraction","ContinuedFractionK","ContinuousAction","ContinuousMarkovProcess","ContinuousTask","ContinuousTimeModelQ","ContinuousWaveletData","ContinuousWaveletTransform","ContourDetect","ContourGraphics","ContourIntegral","ContourLabels","ContourLines","ContourPlot","ContourPlot3D","Contours","ContourShading","ContourSmoothing","ContourStyle","ContraharmonicMean","ContrastiveLossLayer","Control","ControlActive","ControlAlignment","ControlGroupContentsBox","ControllabilityGramian","ControllabilityMatrix","ControllableDecomposition","ControllableModelQ","ControllerDuration","ControllerInformation","ControllerInformationData","ControllerLinking","ControllerManipulate","ControllerMethod","ControllerPath","ControllerState","ControlPlacement","ControlsRendering","ControlType","Convergents","ConversionOptions","ConversionRules","ConvertToBitmapPacket","ConvertToPostScript","ConvertToPostScriptPacket","ConvexHullMesh","ConvexPolygonQ","ConvexPolyhedronQ","ConvolutionLayer","Convolve","ConwayGroupCo1","ConwayGroupCo2","ConwayGroupCo3","CookieFunction","Cookies","CoordinateBoundingBox","CoordinateBoundingBoxArray","CoordinateBounds","CoordinateBoundsArray","CoordinateChartData","CoordinatesToolOptions","CoordinateTransform","CoordinateTransformData","CoprimeQ","Coproduct","CopulaDistribution","Copyable","CopyDatabin","CopyDirectory","CopyFile","CopyTag","CopyToClipboard","CornerFilter","CornerNeighbors","Correlation","CorrelationDistance","CorrelationFunction","CorrelationTest","Cos","Cosh","CoshIntegral","CosineDistance","CosineWindow","CosIntegral","Cot","Coth","Count","CountDistinct","CountDistinctBy","CounterAssignments","CounterBox","CounterBoxOptions","CounterClockwiseContourIntegral","CounterEvaluator","CounterFunction","CounterIncrements","CounterStyle","CounterStyleMenuListing","CountRoots","CountryData","Counts","CountsBy","Covariance","CovarianceEstimatorFunction","CovarianceFunction","CoxianDistribution","CoxIngersollRossProcess","CoxModel","CoxModelFit","CramerVonMisesTest","CreateArchive","CreateCellID","CreateChannel","CreateCloudExpression","CreateDatabin","CreateDataStructure","CreateDataSystemModel","CreateDialog","CreateDirectory","CreateDocument","CreateFile","CreateIntermediateDirectories","CreateManagedLibraryExpression","CreateNotebook","CreatePacletArchive","CreatePalette","CreatePalettePacket","CreatePermissionsGroup","CreateScheduledTask","CreateSearchIndex","CreateSystemModel","CreateTemporary","CreateUUID","CreateWindow","CriterionFunction","CriticalityFailureImportance","CriticalitySuccessImportance","CriticalSection","Cross","CrossEntropyLossLayer","CrossingCount","CrossingDetect","CrossingPolygon","CrossMatrix","Csc","Csch","CTCLossLayer","Cube","CubeRoot","Cubics","Cuboid","CuboidBox","Cumulant","CumulantGeneratingFunction","Cup","CupCap","Curl","CurlyDoubleQuote","CurlyQuote","CurrencyConvert","CurrentDate","CurrentImage","CurrentlySpeakingPacket","CurrentNotebookImage","CurrentScreenImage","CurrentValue","Curry","CurryApplied","CurvatureFlowFilter","CurveClosed","Cyan","CycleGraph","CycleIndexPolynomial","Cycles","CyclicGroup","Cyclotomic","Cylinder","CylinderBox","CylindricalDecomposition","D","DagumDistribution","DamData","DamerauLevenshteinDistance","DampingFactor","Darker","Dashed","Dashing","DatabaseConnect","DatabaseDisconnect","DatabaseReference","Databin","DatabinAdd","DatabinRemove","Databins","DatabinUpload","DataCompression","DataDistribution","DataRange","DataReversed","Dataset","DatasetDisplayPanel","DataStructure","DataStructureQ","Date","DateBounds","Dated","DateDelimiters","DateDifference","DatedUnit","DateFormat","DateFunction","DateHistogram","DateInterval","DateList","DateListLogPlot","DateListPlot","DateListStepPlot","DateObject","DateObjectQ","DateOverlapsQ","DatePattern","DatePlus","DateRange","DateReduction","DateString","DateTicksFormat","DateValue","DateWithinQ","DaubechiesWavelet","DavisDistribution","DawsonF","DayCount","DayCountConvention","DayHemisphere","DaylightQ","DayMatchQ","DayName","DayNightTerminator","DayPlus","DayRange","DayRound","DeBruijnGraph","DeBruijnSequence","Debug","DebugTag","Decapitalize","Decimal","DecimalForm","DeclareKnownSymbols","DeclarePackage","Decompose","DeconvolutionLayer","Decrement","Decrypt","DecryptFile","DedekindEta","DeepSpaceProbeData","Default","DefaultAxesStyle","DefaultBaseStyle","DefaultBoxStyle","DefaultButton","DefaultColor","DefaultControlPlacement","DefaultDuplicateCellStyle","DefaultDuration","DefaultElement","DefaultFaceGridsStyle","DefaultFieldHintStyle","DefaultFont","DefaultFontProperties","DefaultFormatType","DefaultFormatTypeForStyle","DefaultFrameStyle","DefaultFrameTicksStyle","DefaultGridLinesStyle","DefaultInlineFormatType","DefaultInputFormatType","DefaultLabelStyle","DefaultMenuStyle","DefaultNaturalLanguage","DefaultNewCellStyle","DefaultNewInlineCellStyle","DefaultNotebook","DefaultOptions","DefaultOutputFormatType","DefaultPrintPrecision","DefaultStyle","DefaultStyleDefinitions","DefaultTextFormatType","DefaultTextInlineFormatType","DefaultTicksStyle","DefaultTooltipStyle","DefaultValue","DefaultValues","Defer","DefineExternal","DefineInputStreamMethod","DefineOutputStreamMethod","DefineResourceFunction","Definition","Degree","DegreeCentrality","DegreeGraphDistribution","DegreeLexicographic","DegreeReverseLexicographic","DEigensystem","DEigenvalues","Deinitialization","Del","DelaunayMesh","Delayed","Deletable","Delete","DeleteAnomalies","DeleteBorderComponents","DeleteCases","DeleteChannel","DeleteCloudExpression","DeleteContents","DeleteDirectory","DeleteDuplicates","DeleteDuplicatesBy","DeleteFile","DeleteMissing","DeleteObject","DeletePermissionsKey","DeleteSearchIndex","DeleteSmallComponents","DeleteStopwords","DeleteWithContents","DeletionWarning","DelimitedArray","DelimitedSequence","Delimiter","DelimiterFlashTime","DelimiterMatching","Delimiters","DeliveryFunction","Dendrogram","Denominator","DensityGraphics","DensityHistogram","DensityPlot","DensityPlot3D","DependentVariables","Deploy","Deployed","Depth","DepthFirstScan","Derivative","DerivativeFilter","DerivedKey","DescriptorStateSpace","DesignMatrix","DestroyAfterEvaluation","Det","DeviceClose","DeviceConfigure","DeviceExecute","DeviceExecuteAsynchronous","DeviceObject","DeviceOpen","DeviceOpenQ","DeviceRead","DeviceReadBuffer","DeviceReadLatest","DeviceReadList","DeviceReadTimeSeries","Devices","DeviceStreams","DeviceWrite","DeviceWriteBuffer","DGaussianWavelet","DiacriticalPositioning","Diagonal","DiagonalizableMatrixQ","DiagonalMatrix","DiagonalMatrixQ","Dialog","DialogIndent","DialogInput","DialogLevel","DialogNotebook","DialogProlog","DialogReturn","DialogSymbols","Diamond","DiamondMatrix","DiceDissimilarity","DictionaryLookup","DictionaryWordQ","DifferenceDelta","DifferenceOrder","DifferenceQuotient","DifferenceRoot","DifferenceRootReduce","Differences","DifferentialD","DifferentialRoot","DifferentialRootReduce","DifferentiatorFilter","DigitalSignature","DigitBlock","DigitBlockMinimum","DigitCharacter","DigitCount","DigitQ","DihedralAngle","DihedralGroup","Dilation","DimensionalCombinations","DimensionalMeshComponents","DimensionReduce","DimensionReducerFunction","DimensionReduction","Dimensions","DiracComb","DiracDelta","DirectedEdge","DirectedEdges","DirectedGraph","DirectedGraphQ","DirectedInfinity","Direction","Directive","Directory","DirectoryName","DirectoryQ","DirectoryStack","DirichletBeta","DirichletCharacter","DirichletCondition","DirichletConvolve","DirichletDistribution","DirichletEta","DirichletL","DirichletLambda","DirichletTransform","DirichletWindow","DisableConsolePrintPacket","DisableFormatting","DiscreteAsymptotic","DiscreteChirpZTransform","DiscreteConvolve","DiscreteDelta","DiscreteHadamardTransform","DiscreteIndicator","DiscreteLimit","DiscreteLQEstimatorGains","DiscreteLQRegulatorGains","DiscreteLyapunovSolve","DiscreteMarkovProcess","DiscreteMaxLimit","DiscreteMinLimit","DiscretePlot","DiscretePlot3D","DiscreteRatio","DiscreteRiccatiSolve","DiscreteShift","DiscreteTimeModelQ","DiscreteUniformDistribution","DiscreteVariables","DiscreteWaveletData","DiscreteWaveletPacketTransform","DiscreteWaveletTransform","DiscretizeGraphics","DiscretizeRegion","Discriminant","DisjointQ","Disjunction","Disk","DiskBox","DiskMatrix","DiskSegment","Dispatch","DispatchQ","DispersionEstimatorFunction","Display","DisplayAllSteps","DisplayEndPacket","DisplayFlushImagePacket","DisplayForm","DisplayFunction","DisplayPacket","DisplayRules","DisplaySetSizePacket","DisplayString","DisplayTemporary","DisplayWith","DisplayWithRef","DisplayWithVariable","DistanceFunction","DistanceMatrix","DistanceTransform","Distribute","Distributed","DistributedContexts","DistributeDefinitions","DistributionChart","DistributionDomain","DistributionFitTest","DistributionParameterAssumptions","DistributionParameterQ","Dithering","Div","Divergence","Divide","DivideBy","Dividers","DivideSides","Divisible","Divisors","DivisorSigma","DivisorSum","DMSList","DMSString","Do","DockedCells","DocumentGenerator","DocumentGeneratorInformation","DocumentGeneratorInformationData","DocumentGenerators","DocumentNotebook","DocumentWeightingRules","Dodecahedron","DomainRegistrationInformation","DominantColors","DOSTextFormat","Dot","DotDashed","DotEqual","DotLayer","DotPlusLayer","Dotted","DoubleBracketingBar","DoubleContourIntegral","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","DoublyInfinite","Down","DownArrow","DownArrowBar","DownArrowUpArrow","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","Downsample","DownTee","DownTeeArrow","DownValues","DragAndDrop","DrawEdges","DrawFrontFaces","DrawHighlighted","Drop","DropoutLayer","DSolve","DSolveValue","Dt","DualLinearProgramming","DualPolyhedron","DualSystemsModel","DumpGet","DumpSave","DuplicateFreeQ","Duration","Dynamic","DynamicBox","DynamicBoxOptions","DynamicEvaluationTimeout","DynamicGeoGraphics","DynamicImage","DynamicLocation","DynamicModule","DynamicModuleBox","DynamicModuleBoxOptions","DynamicModuleParent","DynamicModuleValues","DynamicName","DynamicNamespace","DynamicReference","DynamicSetting","DynamicUpdating","DynamicWrapper","DynamicWrapperBox","DynamicWrapperBoxOptions","E","EarthImpactData","EarthquakeData","EccentricityCentrality","Echo","EchoFunction","EclipseType","EdgeAdd","EdgeBetweennessCentrality","EdgeCapacity","EdgeCapForm","EdgeColor","EdgeConnectivity","EdgeContract","EdgeCost","EdgeCount","EdgeCoverQ","EdgeCycleMatrix","EdgeDashing","EdgeDelete","EdgeDetect","EdgeForm","EdgeIndex","EdgeJoinForm","EdgeLabeling","EdgeLabels","EdgeLabelStyle","EdgeList","EdgeOpacity","EdgeQ","EdgeRenderingFunction","EdgeRules","EdgeShapeFunction","EdgeStyle","EdgeTaggedGraph","EdgeTaggedGraphQ","EdgeTags","EdgeThickness","EdgeWeight","EdgeWeightedGraphQ","Editable","EditButtonSettings","EditCellTagsSettings","EditDistance","EffectiveInterest","Eigensystem","Eigenvalues","EigenvectorCentrality","Eigenvectors","Element","ElementData","ElementwiseLayer","ElidedForms","Eliminate","EliminationOrder","Ellipsoid","EllipticE","EllipticExp","EllipticExpPrime","EllipticF","EllipticFilterModel","EllipticK","EllipticLog","EllipticNomeQ","EllipticPi","EllipticReducedHalfPeriods","EllipticTheta","EllipticThetaPrime","EmbedCode","EmbeddedHTML","EmbeddedService","EmbeddingLayer","EmbeddingObject","EmitSound","EmphasizeSyntaxErrors","EmpiricalDistribution","Empty","EmptyGraphQ","EmptyRegion","EnableConsolePrintPacket","Enabled","Encode","Encrypt","EncryptedObject","EncryptFile","End","EndAdd","EndDialogPacket","EndFrontEndInteractionPacket","EndOfBuffer","EndOfFile","EndOfLine","EndOfString","EndPackage","EngineEnvironment","EngineeringForm","Enter","EnterExpressionPacket","EnterTextPacket","Entity","EntityClass","EntityClassList","EntityCopies","EntityFunction","EntityGroup","EntityInstance","EntityList","EntityPrefetch","EntityProperties","EntityProperty","EntityPropertyClass","EntityRegister","EntityStore","EntityStores","EntityTypeName","EntityUnregister","EntityValue","Entropy","EntropyFilter","Environment","Epilog","EpilogFunction","Equal","EqualColumns","EqualRows","EqualTilde","EqualTo","EquatedTo","Equilibrium","EquirippleFilterKernel","Equivalent","Erf","Erfc","Erfi","ErlangB","ErlangC","ErlangDistribution","Erosion","ErrorBox","ErrorBoxOptions","ErrorNorm","ErrorPacket","ErrorsDialogSettings","EscapeRadius","EstimatedBackground","EstimatedDistribution","EstimatedProcess","EstimatorGains","EstimatorRegulator","EuclideanDistance","EulerAngles","EulerCharacteristic","EulerE","EulerGamma","EulerianGraphQ","EulerMatrix","EulerPhi","Evaluatable","Evaluate","Evaluated","EvaluatePacket","EvaluateScheduledTask","EvaluationBox","EvaluationCell","EvaluationCompletionAction","EvaluationData","EvaluationElements","EvaluationEnvironment","EvaluationMode","EvaluationMonitor","EvaluationNotebook","EvaluationObject","EvaluationOrder","Evaluator","EvaluatorNames","EvenQ","EventData","EventEvaluator","EventHandler","EventHandlerTag","EventLabels","EventSeries","ExactBlackmanWindow","ExactNumberQ","ExactRootIsolation","ExampleData","Except","ExcludedForms","ExcludedLines","ExcludedPhysicalQuantities","ExcludePods","Exclusions","ExclusionsStyle","Exists","Exit","ExitDialog","ExoplanetData","Exp","Expand","ExpandAll","ExpandDenominator","ExpandFileName","ExpandNumerator","Expectation","ExpectationE","ExpectedValue","ExpGammaDistribution","ExpIntegralE","ExpIntegralEi","ExpirationDate","Exponent","ExponentFunction","ExponentialDistribution","ExponentialFamily","ExponentialGeneratingFunction","ExponentialMovingAverage","ExponentialPowerDistribution","ExponentPosition","ExponentStep","Export","ExportAutoReplacements","ExportByteArray","ExportForm","ExportPacket","ExportString","Expression","ExpressionCell","ExpressionGraph","ExpressionPacket","ExpressionUUID","ExpToTrig","ExtendedEntityClass","ExtendedGCD","Extension","ExtentElementFunction","ExtentMarkers","ExtentSize","ExternalBundle","ExternalCall","ExternalDataCharacterEncoding","ExternalEvaluate","ExternalFunction","ExternalFunctionName","ExternalIdentifier","ExternalObject","ExternalOptions","ExternalSessionObject","ExternalSessions","ExternalStorageBase","ExternalStorageDownload","ExternalStorageGet","ExternalStorageObject","ExternalStoragePut","ExternalStorageUpload","ExternalTypeSignature","ExternalValue","Extract","ExtractArchive","ExtractLayer","ExtractPacletArchive","ExtremeValueDistribution","FaceAlign","FaceForm","FaceGrids","FaceGridsStyle","FacialFeatures","Factor","FactorComplete","Factorial","Factorial2","FactorialMoment","FactorialMomentGeneratingFunction","FactorialPower","FactorInteger","FactorList","FactorSquareFree","FactorSquareFreeList","FactorTerms","FactorTermsList","Fail","Failure","FailureAction","FailureDistribution","FailureQ","False","FareySequence","FARIMAProcess","FeatureDistance","FeatureExtract","FeatureExtraction","FeatureExtractor","FeatureExtractorFunction","FeatureNames","FeatureNearest","FeatureSpacePlot","FeatureSpacePlot3D","FeatureTypes","FEDisableConsolePrintPacket","FeedbackLinearize","FeedbackSector","FeedbackSectorStyle","FeedbackType","FEEnableConsolePrintPacket","FetalGrowthData","Fibonacci","Fibonorial","FieldCompletionFunction","FieldHint","FieldHintStyle","FieldMasked","FieldSize","File","FileBaseName","FileByteCount","FileConvert","FileDate","FileExistsQ","FileExtension","FileFormat","FileHandler","FileHash","FileInformation","FileName","FileNameDepth","FileNameDialogSettings","FileNameDrop","FileNameForms","FileNameJoin","FileNames","FileNameSetter","FileNameSplit","FileNameTake","FilePrint","FileSize","FileSystemMap","FileSystemScan","FileTemplate","FileTemplateApply","FileType","FilledCurve","FilledCurveBox","FilledCurveBoxOptions","Filling","FillingStyle","FillingTransform","FilteredEntityClass","FilterRules","FinancialBond","FinancialData","FinancialDerivative","FinancialIndicator","Find","FindAnomalies","FindArgMax","FindArgMin","FindChannels","FindClique","FindClusters","FindCookies","FindCurvePath","FindCycle","FindDevices","FindDistribution","FindDistributionParameters","FindDivisions","FindEdgeCover","FindEdgeCut","FindEdgeIndependentPaths","FindEquationalProof","FindEulerianCycle","FindExternalEvaluators","FindFaces","FindFile","FindFit","FindFormula","FindFundamentalCycles","FindGeneratingFunction","FindGeoLocation","FindGeometricConjectures","FindGeometricTransform","FindGraphCommunities","FindGraphIsomorphism","FindGraphPartition","FindHamiltonianCycle","FindHamiltonianPath","FindHiddenMarkovStates","FindImageText","FindIndependentEdgeSet","FindIndependentVertexSet","FindInstance","FindIntegerNullVector","FindKClan","FindKClique","FindKClub","FindKPlex","FindLibrary","FindLinearRecurrence","FindList","FindMatchingColor","FindMaximum","FindMaximumCut","FindMaximumFlow","FindMaxValue","FindMeshDefects","FindMinimum","FindMinimumCostFlow","FindMinimumCut","FindMinValue","FindMoleculeSubstructure","FindPath","FindPeaks","FindPermutation","FindPostmanTour","FindProcessParameters","FindRepeat","FindRoot","FindSequenceFunction","FindSettings","FindShortestPath","FindShortestTour","FindSpanningTree","FindSystemModelEquilibrium","FindTextualAnswer","FindThreshold","FindTransientRepeat","FindVertexCover","FindVertexCut","FindVertexIndependentPaths","Fine","FinishDynamic","FiniteAbelianGroupCount","FiniteGroupCount","FiniteGroupData","First","FirstCase","FirstPassageTimeDistribution","FirstPosition","FischerGroupFi22","FischerGroupFi23","FischerGroupFi24Prime","FisherHypergeometricDistribution","FisherRatioTest","FisherZDistribution","Fit","FitAll","FitRegularization","FittedModel","FixedOrder","FixedPoint","FixedPointList","FlashSelection","Flat","Flatten","FlattenAt","FlattenLayer","FlatTopWindow","FlipView","Floor","FlowPolynomial","FlushPrintOutputPacket","Fold","FoldList","FoldPair","FoldPairList","FollowRedirects","Font","FontColor","FontFamily","FontForm","FontName","FontOpacity","FontPostScriptName","FontProperties","FontReencoding","FontSize","FontSlant","FontSubstitutions","FontTracking","FontVariations","FontWeight","For","ForAll","ForceVersionInstall","Format","FormatRules","FormatType","FormatTypeAutoConvert","FormatValues","FormBox","FormBoxOptions","FormControl","FormFunction","FormLayoutFunction","FormObject","FormPage","FormTheme","FormulaData","FormulaLookup","FortranForm","Forward","ForwardBackward","Fourier","FourierCoefficient","FourierCosCoefficient","FourierCosSeries","FourierCosTransform","FourierDCT","FourierDCTFilter","FourierDCTMatrix","FourierDST","FourierDSTMatrix","FourierMatrix","FourierParameters","FourierSequenceTransform","FourierSeries","FourierSinCoefficient","FourierSinSeries","FourierSinTransform","FourierTransform","FourierTrigSeries","FractionalBrownianMotionProcess","FractionalGaussianNoiseProcess","FractionalPart","FractionBox","FractionBoxOptions","FractionLine","Frame","FrameBox","FrameBoxOptions","Framed","FrameInset","FrameLabel","Frameless","FrameMargins","FrameRate","FrameStyle","FrameTicks","FrameTicksStyle","FRatioDistribution","FrechetDistribution","FreeQ","FrenetSerretSystem","FrequencySamplingFilterKernel","FresnelC","FresnelF","FresnelG","FresnelS","Friday","FrobeniusNumber","FrobeniusSolve","FromAbsoluteTime","FromCharacterCode","FromCoefficientRules","FromContinuedFraction","FromDate","FromDigits","FromDMS","FromEntity","FromJulianDate","FromLetterNumber","FromPolarCoordinates","FromRomanNumeral","FromSphericalCoordinates","FromUnixTime","Front","FrontEndDynamicExpression","FrontEndEventActions","FrontEndExecute","FrontEndObject","FrontEndResource","FrontEndResourceString","FrontEndStackSize","FrontEndToken","FrontEndTokenExecute","FrontEndValueCache","FrontEndVersion","FrontFaceColor","FrontFaceOpacity","Full","FullAxes","FullDefinition","FullForm","FullGraphics","FullInformationOutputRegulator","FullOptions","FullRegion","FullSimplify","Function","FunctionCompile","FunctionCompileExport","FunctionCompileExportByteArray","FunctionCompileExportLibrary","FunctionCompileExportString","FunctionDomain","FunctionExpand","FunctionInterpolation","FunctionPeriod","FunctionRange","FunctionSpace","FussellVeselyImportance","GaborFilter","GaborMatrix","GaborWavelet","GainMargins","GainPhaseMargins","GalaxyData","GalleryView","Gamma","GammaDistribution","GammaRegularized","GapPenalty","GARCHProcess","GatedRecurrentLayer","Gather","GatherBy","GaugeFaceElementFunction","GaugeFaceStyle","GaugeFrameElementFunction","GaugeFrameSize","GaugeFrameStyle","GaugeLabels","GaugeMarkers","GaugeStyle","GaussianFilter","GaussianIntegers","GaussianMatrix","GaussianOrthogonalMatrixDistribution","GaussianSymplecticMatrixDistribution","GaussianUnitaryMatrixDistribution","GaussianWindow","GCD","GegenbauerC","General","GeneralizedLinearModelFit","GenerateAsymmetricKeyPair","GenerateConditions","GeneratedCell","GeneratedDocumentBinding","GenerateDerivedKey","GenerateDigitalSignature","GenerateDocument","GeneratedParameters","GeneratedQuantityMagnitudes","GenerateFileSignature","GenerateHTTPResponse","GenerateSecuredAuthenticationKey","GenerateSymmetricKey","GeneratingFunction","GeneratorDescription","GeneratorHistoryLength","GeneratorOutputType","Generic","GenericCylindricalDecomposition","GenomeData","GenomeLookup","GeoAntipode","GeoArea","GeoArraySize","GeoBackground","GeoBoundingBox","GeoBounds","GeoBoundsRegion","GeoBubbleChart","GeoCenter","GeoCircle","GeoContourPlot","GeoDensityPlot","GeodesicClosing","GeodesicDilation","GeodesicErosion","GeodesicOpening","GeoDestination","GeodesyData","GeoDirection","GeoDisk","GeoDisplacement","GeoDistance","GeoDistanceList","GeoElevationData","GeoEntities","GeoGraphics","GeogravityModelData","GeoGridDirectionDifference","GeoGridLines","GeoGridLinesStyle","GeoGridPosition","GeoGridRange","GeoGridRangePadding","GeoGridUnitArea","GeoGridUnitDistance","GeoGridVector","GeoGroup","GeoHemisphere","GeoHemisphereBoundary","GeoHistogram","GeoIdentify","GeoImage","GeoLabels","GeoLength","GeoListPlot","GeoLocation","GeologicalPeriodData","GeomagneticModelData","GeoMarker","GeometricAssertion","GeometricBrownianMotionProcess","GeometricDistribution","GeometricMean","GeometricMeanFilter","GeometricOptimization","GeometricScene","GeometricTransformation","GeometricTransformation3DBox","GeometricTransformation3DBoxOptions","GeometricTransformationBox","GeometricTransformationBoxOptions","GeoModel","GeoNearest","GeoPath","GeoPosition","GeoPositionENU","GeoPositionXYZ","GeoProjection","GeoProjectionData","GeoRange","GeoRangePadding","GeoRegionValuePlot","GeoResolution","GeoScaleBar","GeoServer","GeoSmoothHistogram","GeoStreamPlot","GeoStyling","GeoStylingImageFunction","GeoVariant","GeoVector","GeoVectorENU","GeoVectorPlot","GeoVectorXYZ","GeoVisibleRegion","GeoVisibleRegionBoundary","GeoWithinQ","GeoZoomLevel","GestureHandler","GestureHandlerTag","Get","GetBoundingBoxSizePacket","GetContext","GetEnvironment","GetFileName","GetFrontEndOptionsDataPacket","GetLinebreakInformationPacket","GetMenusPacket","GetPageBreakInformationPacket","Glaisher","GlobalClusteringCoefficient","GlobalPreferences","GlobalSession","Glow","GoldenAngle","GoldenRatio","GompertzMakehamDistribution","GoochShading","GoodmanKruskalGamma","GoodmanKruskalGammaTest","Goto","Grad","Gradient","GradientFilter","GradientOrientationFilter","GrammarApply","GrammarRules","GrammarToken","Graph","Graph3D","GraphAssortativity","GraphAutomorphismGroup","GraphCenter","GraphComplement","GraphData","GraphDensity","GraphDiameter","GraphDifference","GraphDisjointUnion","GraphDistance","GraphDistanceMatrix","GraphElementData","GraphEmbedding","GraphHighlight","GraphHighlightStyle","GraphHub","Graphics","Graphics3D","Graphics3DBox","Graphics3DBoxOptions","GraphicsArray","GraphicsBaseline","GraphicsBox","GraphicsBoxOptions","GraphicsColor","GraphicsColumn","GraphicsComplex","GraphicsComplex3DBox","GraphicsComplex3DBoxOptions","GraphicsComplexBox","GraphicsComplexBoxOptions","GraphicsContents","GraphicsData","GraphicsGrid","GraphicsGridBox","GraphicsGroup","GraphicsGroup3DBox","GraphicsGroup3DBoxOptions","GraphicsGroupBox","GraphicsGroupBoxOptions","GraphicsGrouping","GraphicsHighlightColor","GraphicsRow","GraphicsSpacing","GraphicsStyle","GraphIntersection","GraphLayout","GraphLinkEfficiency","GraphPeriphery","GraphPlot","GraphPlot3D","GraphPower","GraphPropertyDistribution","GraphQ","GraphRadius","GraphReciprocity","GraphRoot","GraphStyle","GraphUnion","Gray","GrayLevel","Greater","GreaterEqual","GreaterEqualLess","GreaterEqualThan","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterThan","GreaterTilde","Green","GreenFunction","Grid","GridBaseline","GridBox","GridBoxAlignment","GridBoxBackground","GridBoxDividers","GridBoxFrame","GridBoxItemSize","GridBoxItemStyle","GridBoxOptions","GridBoxSpacings","GridCreationSettings","GridDefaultElement","GridElementStyleOptions","GridFrame","GridFrameMargins","GridGraph","GridLines","GridLinesStyle","GroebnerBasis","GroupActionBase","GroupBy","GroupCentralizer","GroupElementFromWord","GroupElementPosition","GroupElementQ","GroupElements","GroupElementToWord","GroupGenerators","Groupings","GroupMultiplicationTable","GroupOrbits","GroupOrder","GroupPageBreakWithin","GroupSetwiseStabilizer","GroupStabilizer","GroupStabilizerChain","GroupTogetherGrouping","GroupTogetherNestedGrouping","GrowCutComponents","Gudermannian","GuidedFilter","GumbelDistribution","HaarWavelet","HadamardMatrix","HalfLine","HalfNormalDistribution","HalfPlane","HalfSpace","HalftoneShading","HamiltonianGraphQ","HammingDistance","HammingWindow","HandlerFunctions","HandlerFunctionsKeys","HankelH1","HankelH2","HankelMatrix","HankelTransform","HannPoissonWindow","HannWindow","HaradaNortonGroupHN","HararyGraph","HarmonicMean","HarmonicMeanFilter","HarmonicNumber","Hash","HatchFilling","HatchShading","Haversine","HazardFunction","Head","HeadCompose","HeaderAlignment","HeaderBackground","HeaderDisplayFunction","HeaderLines","HeaderSize","HeaderStyle","Heads","HeavisideLambda","HeavisidePi","HeavisideTheta","HeldGroupHe","HeldPart","HelpBrowserLookup","HelpBrowserNotebook","HelpBrowserSettings","Here","HermiteDecomposition","HermiteH","HermitianMatrixQ","HessenbergDecomposition","Hessian","HeunB","HeunBPrime","HeunC","HeunCPrime","HeunD","HeunDPrime","HeunG","HeunGPrime","HeunT","HeunTPrime","HexadecimalCharacter","Hexahedron","HexahedronBox","HexahedronBoxOptions","HiddenItems","HiddenMarkovProcess","HiddenSurface","Highlighted","HighlightGraph","HighlightImage","HighlightMesh","HighpassFilter","HigmanSimsGroupHS","HilbertCurve","HilbertFilter","HilbertMatrix","Histogram","Histogram3D","HistogramDistribution","HistogramList","HistogramTransform","HistogramTransformInterpolation","HistoricalPeriodData","HitMissTransform","HITSCentrality","HjorthDistribution","HodgeDual","HoeffdingD","HoeffdingDTest","Hold","HoldAll","HoldAllComplete","HoldComplete","HoldFirst","HoldForm","HoldPattern","HoldRest","HolidayCalendar","HomeDirectory","HomePage","Horizontal","HorizontalForm","HorizontalGauge","HorizontalScrollPosition","HornerForm","HostLookup","HotellingTSquareDistribution","HoytDistribution","HTMLSave","HTTPErrorResponse","HTTPRedirect","HTTPRequest","HTTPRequestData","HTTPResponse","Hue","HumanGrowthData","HumpDownHump","HumpEqual","HurwitzLerchPhi","HurwitzZeta","HyperbolicDistribution","HypercubeGraph","HyperexponentialDistribution","Hyperfactorial","Hypergeometric0F1","Hypergeometric0F1Regularized","Hypergeometric1F1","Hypergeometric1F1Regularized","Hypergeometric2F1","Hypergeometric2F1Regularized","HypergeometricDistribution","HypergeometricPFQ","HypergeometricPFQRegularized","HypergeometricU","Hyperlink","HyperlinkAction","HyperlinkCreationSettings","Hyperplane","Hyphenation","HyphenationOptions","HypoexponentialDistribution","HypothesisTestData","I","IconData","Iconize","IconizedObject","IconRules","Icosahedron","Identity","IdentityMatrix","If","IgnoreCase","IgnoreDiacritics","IgnorePunctuation","IgnoreSpellCheck","IgnoringInactive","Im","Image","Image3D","Image3DProjection","Image3DSlices","ImageAccumulate","ImageAdd","ImageAdjust","ImageAlign","ImageApply","ImageApplyIndexed","ImageAspectRatio","ImageAssemble","ImageAugmentationLayer","ImageBoundingBoxes","ImageCache","ImageCacheValid","ImageCapture","ImageCaptureFunction","ImageCases","ImageChannels","ImageClip","ImageCollage","ImageColorSpace","ImageCompose","ImageContainsQ","ImageContents","ImageConvolve","ImageCooccurrence","ImageCorners","ImageCorrelate","ImageCorrespondingPoints","ImageCrop","ImageData","ImageDeconvolve","ImageDemosaic","ImageDifference","ImageDimensions","ImageDisplacements","ImageDistance","ImageEffect","ImageExposureCombine","ImageFeatureTrack","ImageFileApply","ImageFileFilter","ImageFileScan","ImageFilter","ImageFocusCombine","ImageForestingComponents","ImageFormattingWidth","ImageForwardTransformation","ImageGraphics","ImageHistogram","ImageIdentify","ImageInstanceQ","ImageKeypoints","ImageLabels","ImageLegends","ImageLevels","ImageLines","ImageMargins","ImageMarker","ImageMarkers","ImageMeasurements","ImageMesh","ImageMultiply","ImageOffset","ImagePad","ImagePadding","ImagePartition","ImagePeriodogram","ImagePerspectiveTransformation","ImagePosition","ImagePreviewFunction","ImagePyramid","ImagePyramidApply","ImageQ","ImageRangeCache","ImageRecolor","ImageReflect","ImageRegion","ImageResize","ImageResolution","ImageRestyle","ImageRotate","ImageRotated","ImageSaliencyFilter","ImageScaled","ImageScan","ImageSize","ImageSizeAction","ImageSizeCache","ImageSizeMultipliers","ImageSizeRaw","ImageSubtract","ImageTake","ImageTransformation","ImageTrim","ImageType","ImageValue","ImageValuePositions","ImagingDevice","ImplicitRegion","Implies","Import","ImportAutoReplacements","ImportByteArray","ImportOptions","ImportString","ImprovementImportance","In","Inactivate","Inactive","IncidenceGraph","IncidenceList","IncidenceMatrix","IncludeAromaticBonds","IncludeConstantBasis","IncludeDefinitions","IncludeDirectories","IncludeFileExtension","IncludeGeneratorTasks","IncludeHydrogens","IncludeInflections","IncludeMetaInformation","IncludePods","IncludeQuantities","IncludeRelatedTables","IncludeSingularTerm","IncludeWindowTimes","Increment","IndefiniteMatrixQ","Indent","IndentingNewlineSpacings","IndentMaxFraction","IndependenceTest","IndependentEdgeSetQ","IndependentPhysicalQuantity","IndependentUnit","IndependentUnitDimension","IndependentVertexSetQ","Indeterminate","IndeterminateThreshold","IndexCreationOptions","Indexed","IndexEdgeTaggedGraph","IndexGraph","IndexTag","Inequality","InexactNumberQ","InexactNumbers","InfiniteFuture","InfiniteLine","InfinitePast","InfinitePlane","Infinity","Infix","InflationAdjust","InflationMethod","Information","InformationData","InformationDataGrid","Inherited","InheritScope","InhomogeneousPoissonProcess","InitialEvaluationHistory","Initialization","InitializationCell","InitializationCellEvaluation","InitializationCellWarning","InitializationObjects","InitializationValue","Initialize","InitialSeeding","InlineCounterAssignments","InlineCounterIncrements","InlineRules","Inner","InnerPolygon","InnerPolyhedron","Inpaint","Input","InputAliases","InputAssumptions","InputAutoReplacements","InputField","InputFieldBox","InputFieldBoxOptions","InputForm","InputGrouping","InputNamePacket","InputNotebook","InputPacket","InputSettings","InputStream","InputString","InputStringPacket","InputToBoxFormPacket","Insert","InsertionFunction","InsertionPointObject","InsertLinebreaks","InsertResults","Inset","Inset3DBox","Inset3DBoxOptions","InsetBox","InsetBoxOptions","Insphere","Install","InstallService","InstanceNormalizationLayer","InString","Integer","IntegerDigits","IntegerExponent","IntegerLength","IntegerName","IntegerPart","IntegerPartitions","IntegerQ","IntegerReverse","Integers","IntegerString","Integral","Integrate","Interactive","InteractiveTradingChart","Interlaced","Interleaving","InternallyBalancedDecomposition","InterpolatingFunction","InterpolatingPolynomial","Interpolation","InterpolationOrder","InterpolationPoints","InterpolationPrecision","Interpretation","InterpretationBox","InterpretationBoxOptions","InterpretationFunction","Interpreter","InterpretTemplate","InterquartileRange","Interrupt","InterruptSettings","IntersectedEntityClass","IntersectingQ","Intersection","Interval","IntervalIntersection","IntervalMarkers","IntervalMarkersStyle","IntervalMemberQ","IntervalSlider","IntervalUnion","Into","Inverse","InverseBetaRegularized","InverseCDF","InverseChiSquareDistribution","InverseContinuousWaveletTransform","InverseDistanceTransform","InverseEllipticNomeQ","InverseErf","InverseErfc","InverseFourier","InverseFourierCosTransform","InverseFourierSequenceTransform","InverseFourierSinTransform","InverseFourierTransform","InverseFunction","InverseFunctions","InverseGammaDistribution","InverseGammaRegularized","InverseGaussianDistribution","InverseGudermannian","InverseHankelTransform","InverseHaversine","InverseImagePyramid","InverseJacobiCD","InverseJacobiCN","InverseJacobiCS","InverseJacobiDC","InverseJacobiDN","InverseJacobiDS","InverseJacobiNC","InverseJacobiND","InverseJacobiNS","InverseJacobiSC","InverseJacobiSD","InverseJacobiSN","InverseLaplaceTransform","InverseMellinTransform","InversePermutation","InverseRadon","InverseRadonTransform","InverseSeries","InverseShortTimeFourier","InverseSpectrogram","InverseSurvivalFunction","InverseTransformedRegion","InverseWaveletTransform","InverseWeierstrassP","InverseWishartMatrixDistribution","InverseZTransform","Invisible","InvisibleApplication","InvisibleTimes","IPAddress","IrreduciblePolynomialQ","IslandData","IsolatingInterval","IsomorphicGraphQ","IsotopeData","Italic","Item","ItemAspectRatio","ItemBox","ItemBoxOptions","ItemDisplayFunction","ItemSize","ItemStyle","ItoProcess","JaccardDissimilarity","JacobiAmplitude","Jacobian","JacobiCD","JacobiCN","JacobiCS","JacobiDC","JacobiDN","JacobiDS","JacobiNC","JacobiND","JacobiNS","JacobiP","JacobiSC","JacobiSD","JacobiSN","JacobiSymbol","JacobiZeta","JankoGroupJ1","JankoGroupJ2","JankoGroupJ3","JankoGroupJ4","JarqueBeraALMTest","JohnsonDistribution","Join","JoinAcross","Joined","JoinedCurve","JoinedCurveBox","JoinedCurveBoxOptions","JoinForm","JordanDecomposition","JordanModelDecomposition","JulianDate","JuliaSetBoettcher","JuliaSetIterationCount","JuliaSetPlot","JuliaSetPoints","K","KagiChart","KaiserBesselWindow","KaiserWindow","KalmanEstimator","KalmanFilter","KarhunenLoeveDecomposition","KaryTree","KatzCentrality","KCoreComponents","KDistribution","KEdgeConnectedComponents","KEdgeConnectedGraphQ","KeepExistingVersion","KelvinBei","KelvinBer","KelvinKei","KelvinKer","KendallTau","KendallTauTest","KernelExecute","KernelFunction","KernelMixtureDistribution","KernelObject","Kernels","Ket","Key","KeyCollisionFunction","KeyComplement","KeyDrop","KeyDropFrom","KeyExistsQ","KeyFreeQ","KeyIntersection","KeyMap","KeyMemberQ","KeypointStrength","Keys","KeySelect","KeySort","KeySortBy","KeyTake","KeyUnion","KeyValueMap","KeyValuePattern","Khinchin","KillProcess","KirchhoffGraph","KirchhoffMatrix","KleinInvariantJ","KnapsackSolve","KnightTourGraph","KnotData","KnownUnitQ","KochCurve","KolmogorovSmirnovTest","KroneckerDelta","KroneckerModelDecomposition","KroneckerProduct","KroneckerSymbol","KuiperTest","KumaraswamyDistribution","Kurtosis","KuwaharaFilter","KVertexConnectedComponents","KVertexConnectedGraphQ","LABColor","Label","Labeled","LabeledSlider","LabelingFunction","LabelingSize","LabelStyle","LabelVisibility","LaguerreL","LakeData","LambdaComponents","LambertW","LaminaData","LanczosWindow","LandauDistribution","Language","LanguageCategory","LanguageData","LanguageIdentify","LanguageOptions","LaplaceDistribution","LaplaceTransform","Laplacian","LaplacianFilter","LaplacianGaussianFilter","Large","Larger","Last","Latitude","LatitudeLongitude","LatticeData","LatticeReduce","Launch","LaunchKernels","LayeredGraphPlot","LayerSizeFunction","LayoutInformation","LCHColor","LCM","LeaderSize","LeafCount","LeapYearQ","LearnDistribution","LearnedDistribution","LearningRate","LearningRateMultipliers","LeastSquares","LeastSquaresFilterKernel","Left","LeftArrow","LeftArrowBar","LeftArrowRightArrow","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftRightArrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","LegendAppearance","Legended","LegendFunction","LegendLabel","LegendLayout","LegendMargins","LegendMarkers","LegendMarkerSize","LegendreP","LegendreQ","LegendreType","Length","LengthWhile","LerchPhi","Less","LessEqual","LessEqualGreater","LessEqualThan","LessFullEqual","LessGreater","LessLess","LessSlantEqual","LessThan","LessTilde","LetterCharacter","LetterCounts","LetterNumber","LetterQ","Level","LeveneTest","LeviCivitaTensor","LevyDistribution","Lexicographic","LibraryDataType","LibraryFunction","LibraryFunctionError","LibraryFunctionInformation","LibraryFunctionLoad","LibraryFunctionUnload","LibraryLoad","LibraryUnload","LicenseID","LiftingFilterData","LiftingWaveletTransform","LightBlue","LightBrown","LightCyan","Lighter","LightGray","LightGreen","Lighting","LightingAngle","LightMagenta","LightOrange","LightPink","LightPurple","LightRed","LightSources","LightYellow","Likelihood","Limit","LimitsPositioning","LimitsPositioningTokens","LindleyDistribution","Line","Line3DBox","Line3DBoxOptions","LinearFilter","LinearFractionalOptimization","LinearFractionalTransform","LinearGradientImage","LinearizingTransformationData","LinearLayer","LinearModelFit","LinearOffsetFunction","LinearOptimization","LinearProgramming","LinearRecurrence","LinearSolve","LinearSolveFunction","LineBox","LineBoxOptions","LineBreak","LinebreakAdjustments","LineBreakChart","LinebreakSemicolonWeighting","LineBreakWithin","LineColor","LineGraph","LineIndent","LineIndentMaxFraction","LineIntegralConvolutionPlot","LineIntegralConvolutionScale","LineLegend","LineOpacity","LineSpacing","LineWrapParts","LinkActivate","LinkClose","LinkConnect","LinkConnectedQ","LinkCreate","LinkError","LinkFlush","LinkFunction","LinkHost","LinkInterrupt","LinkLaunch","LinkMode","LinkObject","LinkOpen","LinkOptions","LinkPatterns","LinkProtocol","LinkRankCentrality","LinkRead","LinkReadHeld","LinkReadyQ","Links","LinkService","LinkWrite","LinkWriteHeld","LiouvilleLambda","List","Listable","ListAnimate","ListContourPlot","ListContourPlot3D","ListConvolve","ListCorrelate","ListCurvePathPlot","ListDeconvolve","ListDensityPlot","ListDensityPlot3D","Listen","ListFormat","ListFourierSequenceTransform","ListInterpolation","ListLineIntegralConvolutionPlot","ListLinePlot","ListLogLinearPlot","ListLogLogPlot","ListLogPlot","ListPicker","ListPickerBox","ListPickerBoxBackground","ListPickerBoxOptions","ListPlay","ListPlot","ListPlot3D","ListPointPlot3D","ListPolarPlot","ListQ","ListSliceContourPlot3D","ListSliceDensityPlot3D","ListSliceVectorPlot3D","ListStepPlot","ListStreamDensityPlot","ListStreamPlot","ListSurfacePlot3D","ListVectorDensityPlot","ListVectorPlot","ListVectorPlot3D","ListZTransform","Literal","LiteralSearch","LocalAdaptiveBinarize","LocalCache","LocalClusteringCoefficient","LocalizeDefinitions","LocalizeVariables","LocalObject","LocalObjects","LocalResponseNormalizationLayer","LocalSubmit","LocalSymbol","LocalTime","LocalTimeZone","LocationEquivalenceTest","LocationTest","Locator","LocatorAutoCreate","LocatorBox","LocatorBoxOptions","LocatorCentering","LocatorPane","LocatorPaneBox","LocatorPaneBoxOptions","LocatorRegion","Locked","Log","Log10","Log2","LogBarnesG","LogGamma","LogGammaDistribution","LogicalExpand","LogIntegral","LogisticDistribution","LogisticSigmoid","LogitModelFit","LogLikelihood","LogLinearPlot","LogLogisticDistribution","LogLogPlot","LogMultinormalDistribution","LogNormalDistribution","LogPlot","LogRankTest","LogSeriesDistribution","LongEqual","Longest","LongestCommonSequence","LongestCommonSequencePositions","LongestCommonSubsequence","LongestCommonSubsequencePositions","LongestMatch","LongestOrderedSequence","LongForm","Longitude","LongLeftArrow","LongLeftRightArrow","LongRightArrow","LongShortTermMemoryLayer","Lookup","Loopback","LoopFreeGraphQ","Looping","LossFunction","LowerCaseQ","LowerLeftArrow","LowerRightArrow","LowerTriangularize","LowerTriangularMatrixQ","LowpassFilter","LQEstimatorGains","LQGRegulator","LQOutputRegulatorGains","LQRegulatorGains","LUBackSubstitution","LucasL","LuccioSamiComponents","LUDecomposition","LunarEclipse","LUVColor","LyapunovSolve","LyonsGroupLy","MachineID","MachineName","MachineNumberQ","MachinePrecision","MacintoshSystemPageSetup","Magenta","Magnification","Magnify","MailAddressValidation","MailExecute","MailFolder","MailItem","MailReceiverFunction","MailResponseFunction","MailSearch","MailServerConnect","MailServerConnection","MailSettings","MainSolve","MaintainDynamicCaches","Majority","MakeBoxes","MakeExpression","MakeRules","ManagedLibraryExpressionID","ManagedLibraryExpressionQ","MandelbrotSetBoettcher","MandelbrotSetDistance","MandelbrotSetIterationCount","MandelbrotSetMemberQ","MandelbrotSetPlot","MangoldtLambda","ManhattanDistance","Manipulate","Manipulator","MannedSpaceMissionData","MannWhitneyTest","MantissaExponent","Manual","Map","MapAll","MapAt","MapIndexed","MAProcess","MapThread","MarchenkoPasturDistribution","MarcumQ","MardiaCombinedTest","MardiaKurtosisTest","MardiaSkewnessTest","MarginalDistribution","MarkovProcessProperties","Masking","MatchingDissimilarity","MatchLocalNameQ","MatchLocalNames","MatchQ","Material","MathematicalFunctionData","MathematicaNotation","MathieuC","MathieuCharacteristicA","MathieuCharacteristicB","MathieuCharacteristicExponent","MathieuCPrime","MathieuGroupM11","MathieuGroupM12","MathieuGroupM22","MathieuGroupM23","MathieuGroupM24","MathieuS","MathieuSPrime","MathMLForm","MathMLText","Matrices","MatrixExp","MatrixForm","MatrixFunction","MatrixLog","MatrixNormalDistribution","MatrixPlot","MatrixPower","MatrixPropertyDistribution","MatrixQ","MatrixRank","MatrixTDistribution","Max","MaxBend","MaxCellMeasure","MaxColorDistance","MaxDate","MaxDetect","MaxDuration","MaxExtraBandwidths","MaxExtraConditions","MaxFeatureDisplacement","MaxFeatures","MaxFilter","MaximalBy","Maximize","MaxItems","MaxIterations","MaxLimit","MaxMemoryUsed","MaxMixtureKernels","MaxOverlapFraction","MaxPlotPoints","MaxPoints","MaxRecursion","MaxStableDistribution","MaxStepFraction","MaxSteps","MaxStepSize","MaxTrainingRounds","MaxValue","MaxwellDistribution","MaxWordGap","McLaughlinGroupMcL","Mean","MeanAbsoluteLossLayer","MeanAround","MeanClusteringCoefficient","MeanDegreeConnectivity","MeanDeviation","MeanFilter","MeanGraphDistance","MeanNeighborDegree","MeanShift","MeanShiftFilter","MeanSquaredLossLayer","Median","MedianDeviation","MedianFilter","MedicalTestData","Medium","MeijerG","MeijerGReduce","MeixnerDistribution","MellinConvolve","MellinTransform","MemberQ","MemoryAvailable","MemoryConstrained","MemoryConstraint","MemoryInUse","MengerMesh","Menu","MenuAppearance","MenuCommandKey","MenuEvaluator","MenuItem","MenuList","MenuPacket","MenuSortingValue","MenuStyle","MenuView","Merge","MergeDifferences","MergingFunction","MersennePrimeExponent","MersennePrimeExponentQ","Mesh","MeshCellCentroid","MeshCellCount","MeshCellHighlight","MeshCellIndex","MeshCellLabel","MeshCellMarker","MeshCellMeasure","MeshCellQuality","MeshCells","MeshCellShapeFunction","MeshCellStyle","MeshConnectivityGraph","MeshCoordinates","MeshFunctions","MeshPrimitives","MeshQualityGoal","MeshRange","MeshRefinementFunction","MeshRegion","MeshRegionQ","MeshShading","MeshStyle","Message","MessageDialog","MessageList","MessageName","MessageObject","MessageOptions","MessagePacket","Messages","MessagesNotebook","MetaCharacters","MetaInformation","MeteorShowerData","Method","MethodOptions","MexicanHatWavelet","MeyerWavelet","Midpoint","Min","MinColorDistance","MinDate","MinDetect","MineralData","MinFilter","MinimalBy","MinimalPolynomial","MinimalStateSpaceModel","Minimize","MinimumTimeIncrement","MinIntervalSize","MinkowskiQuestionMark","MinLimit","MinMax","MinorPlanetData","Minors","MinRecursion","MinSize","MinStableDistribution","Minus","MinusPlus","MinValue","Missing","MissingBehavior","MissingDataMethod","MissingDataRules","MissingQ","MissingString","MissingStyle","MissingValuePattern","MittagLefflerE","MixedFractionParts","MixedGraphQ","MixedMagnitude","MixedRadix","MixedRadixQuantity","MixedUnit","MixtureDistribution","Mod","Modal","Mode","Modular","ModularInverse","ModularLambda","Module","Modulus","MoebiusMu","Molecule","MoleculeContainsQ","MoleculeEquivalentQ","MoleculeGraph","MoleculeModify","MoleculePattern","MoleculePlot","MoleculePlot3D","MoleculeProperty","MoleculeQ","MoleculeRecognize","MoleculeValue","Moment","Momentary","MomentConvert","MomentEvaluate","MomentGeneratingFunction","MomentOfInertia","Monday","Monitor","MonomialList","MonomialOrder","MonsterGroupM","MoonPhase","MoonPosition","MorletWavelet","MorphologicalBinarize","MorphologicalBranchPoints","MorphologicalComponents","MorphologicalEulerNumber","MorphologicalGraph","MorphologicalPerimeter","MorphologicalTransform","MortalityData","Most","MountainData","MouseAnnotation","MouseAppearance","MouseAppearanceTag","MouseButtons","Mouseover","MousePointerNote","MousePosition","MovieData","MovingAverage","MovingMap","MovingMedian","MoyalDistribution","Multicolumn","MultiedgeStyle","MultigraphQ","MultilaunchWarning","MultiLetterItalics","MultiLetterStyle","MultilineFunction","Multinomial","MultinomialDistribution","MultinormalDistribution","MultiplicativeOrder","Multiplicity","MultiplySides","Multiselection","MultivariateHypergeometricDistribution","MultivariatePoissonDistribution","MultivariateTDistribution","N","NakagamiDistribution","NameQ","Names","NamespaceBox","NamespaceBoxOptions","Nand","NArgMax","NArgMin","NBernoulliB","NBodySimulation","NBodySimulationData","NCache","NDEigensystem","NDEigenvalues","NDSolve","NDSolveValue","Nearest","NearestFunction","NearestMeshCells","NearestNeighborGraph","NearestTo","NebulaData","NeedCurrentFrontEndPackagePacket","NeedCurrentFrontEndSymbolsPacket","NeedlemanWunschSimilarity","Needs","Negative","NegativeBinomialDistribution","NegativeDefiniteMatrixQ","NegativeIntegers","NegativeMultinomialDistribution","NegativeRationals","NegativeReals","NegativeSemidefiniteMatrixQ","NeighborhoodData","NeighborhoodGraph","Nest","NestedGreaterGreater","NestedLessLess","NestedScriptRules","NestGraph","NestList","NestWhile","NestWhileList","NetAppend","NetBidirectionalOperator","NetChain","NetDecoder","NetDelete","NetDrop","NetEncoder","NetEvaluationMode","NetExtract","NetFlatten","NetFoldOperator","NetGANOperator","NetGraph","NetInformation","NetInitialize","NetInsert","NetInsertSharedArrays","NetJoin","NetMapOperator","NetMapThreadOperator","NetMeasurements","NetModel","NetNestOperator","NetPairEmbeddingOperator","NetPort","NetPortGradient","NetPrepend","NetRename","NetReplace","NetReplacePart","NetSharedArray","NetStateObject","NetTake","NetTrain","NetTrainResultsObject","NetworkPacketCapture","NetworkPacketRecording","NetworkPacketRecordingDuring","NetworkPacketTrace","NeumannValue","NevilleThetaC","NevilleThetaD","NevilleThetaN","NevilleThetaS","NewPrimitiveStyle","NExpectation","Next","NextCell","NextDate","NextPrime","NextScheduledTaskTime","NHoldAll","NHoldFirst","NHoldRest","NicholsGridLines","NicholsPlot","NightHemisphere","NIntegrate","NMaximize","NMaxValue","NMinimize","NMinValue","NominalVariables","NonAssociative","NoncentralBetaDistribution","NoncentralChiSquareDistribution","NoncentralFRatioDistribution","NoncentralStudentTDistribution","NonCommutativeMultiply","NonConstants","NondimensionalizationTransform","None","NoneTrue","NonlinearModelFit","NonlinearStateSpaceModel","NonlocalMeansFilter","NonNegative","NonNegativeIntegers","NonNegativeRationals","NonNegativeReals","NonPositive","NonPositiveIntegers","NonPositiveRationals","NonPositiveReals","Nor","NorlundB","Norm","Normal","NormalDistribution","NormalGrouping","NormalizationLayer","Normalize","Normalized","NormalizedSquaredEuclideanDistance","NormalMatrixQ","NormalsFunction","NormFunction","Not","NotCongruent","NotCupCap","NotDoubleVerticalBar","Notebook","NotebookApply","NotebookAutoSave","NotebookClose","NotebookConvertSettings","NotebookCreate","NotebookCreateReturnObject","NotebookDefault","NotebookDelete","NotebookDirectory","NotebookDynamicExpression","NotebookEvaluate","NotebookEventActions","NotebookFileName","NotebookFind","NotebookFindReturnObject","NotebookGet","NotebookGetLayoutInformationPacket","NotebookGetMisspellingsPacket","NotebookImport","NotebookInformation","NotebookInterfaceObject","NotebookLocate","NotebookObject","NotebookOpen","NotebookOpenReturnObject","NotebookPath","NotebookPrint","NotebookPut","NotebookPutReturnObject","NotebookRead","NotebookResetGeneratedCells","Notebooks","NotebookSave","NotebookSaveAs","NotebookSelection","NotebookSetupLayoutInformationPacket","NotebooksMenu","NotebookTemplate","NotebookWrite","NotElement","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","Nothing","NotHumpDownHump","NotHumpEqual","NotificationFunction","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessFullEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotPrecedesTilde","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","Now","NoWhitespace","NProbability","NProduct","NProductFactors","NRoots","NSolve","NSum","NSumTerms","NuclearExplosionData","NuclearReactorData","Null","NullRecords","NullSpace","NullWords","Number","NumberCompose","NumberDecompose","NumberExpand","NumberFieldClassNumber","NumberFieldDiscriminant","NumberFieldFundamentalUnits","NumberFieldIntegralBasis","NumberFieldNormRepresentatives","NumberFieldRegulator","NumberFieldRootsOfUnity","NumberFieldSignature","NumberForm","NumberFormat","NumberLinePlot","NumberMarks","NumberMultiplier","NumberPadding","NumberPoint","NumberQ","NumberSeparator","NumberSigns","NumberString","Numerator","NumeratorDenominator","NumericalOrder","NumericalSort","NumericArray","NumericArrayQ","NumericArrayType","NumericFunction","NumericQ","NuttallWindow","NValues","NyquistGridLines","NyquistPlot","O","ObservabilityGramian","ObservabilityMatrix","ObservableDecomposition","ObservableModelQ","OceanData","Octahedron","OddQ","Off","Offset","OLEData","On","ONanGroupON","Once","OneIdentity","Opacity","OpacityFunction","OpacityFunctionScaling","Open","OpenAppend","Opener","OpenerBox","OpenerBoxOptions","OpenerView","OpenFunctionInspectorPacket","Opening","OpenRead","OpenSpecialOptions","OpenTemporary","OpenWrite","Operate","OperatingSystem","OperatorApplied","OptimumFlowData","Optional","OptionalElement","OptionInspectorSettings","OptionQ","Options","OptionsPacket","OptionsPattern","OptionValue","OptionValueBox","OptionValueBoxOptions","Or","Orange","Order","OrderDistribution","OrderedQ","Ordering","OrderingBy","OrderingLayer","Orderless","OrderlessPatternSequence","OrnsteinUhlenbeckProcess","Orthogonalize","OrthogonalMatrixQ","Out","Outer","OuterPolygon","OuterPolyhedron","OutputAutoOverwrite","OutputControllabilityMatrix","OutputControllableModelQ","OutputForm","OutputFormData","OutputGrouping","OutputMathEditExpression","OutputNamePacket","OutputResponse","OutputSizeLimit","OutputStream","Over","OverBar","OverDot","Overflow","OverHat","Overlaps","Overlay","OverlayBox","OverlayBoxOptions","Overscript","OverscriptBox","OverscriptBoxOptions","OverTilde","OverVector","OverwriteTarget","OwenT","OwnValues","Package","PackingMethod","PackPaclet","PacletDataRebuild","PacletDirectoryAdd","PacletDirectoryLoad","PacletDirectoryRemove","PacletDirectoryUnload","PacletDisable","PacletEnable","PacletFind","PacletFindRemote","PacletInformation","PacletInstall","PacletInstallSubmit","PacletNewerQ","PacletObject","PacletObjectQ","PacletSite","PacletSiteObject","PacletSiteRegister","PacletSites","PacletSiteUnregister","PacletSiteUpdate","PacletUninstall","PacletUpdate","PaddedForm","Padding","PaddingLayer","PaddingSize","PadeApproximant","PadLeft","PadRight","PageBreakAbove","PageBreakBelow","PageBreakWithin","PageFooterLines","PageFooters","PageHeaderLines","PageHeaders","PageHeight","PageRankCentrality","PageTheme","PageWidth","Pagination","PairedBarChart","PairedHistogram","PairedSmoothHistogram","PairedTTest","PairedZTest","PaletteNotebook","PalettePath","PalindromeQ","Pane","PaneBox","PaneBoxOptions","Panel","PanelBox","PanelBoxOptions","Paneled","PaneSelector","PaneSelectorBox","PaneSelectorBoxOptions","PaperWidth","ParabolicCylinderD","ParagraphIndent","ParagraphSpacing","ParallelArray","ParallelCombine","ParallelDo","Parallelepiped","ParallelEvaluate","Parallelization","Parallelize","ParallelMap","ParallelNeeds","Parallelogram","ParallelProduct","ParallelSubmit","ParallelSum","ParallelTable","ParallelTry","Parameter","ParameterEstimator","ParameterMixtureDistribution","ParameterVariables","ParametricFunction","ParametricNDSolve","ParametricNDSolveValue","ParametricPlot","ParametricPlot3D","ParametricRampLayer","ParametricRegion","ParentBox","ParentCell","ParentConnect","ParentDirectory","ParentForm","Parenthesize","ParentList","ParentNotebook","ParetoDistribution","ParetoPickandsDistribution","ParkData","Part","PartBehavior","PartialCorrelationFunction","PartialD","ParticleAcceleratorData","ParticleData","Partition","PartitionGranularity","PartitionsP","PartitionsQ","PartLayer","PartOfSpeech","PartProtection","ParzenWindow","PascalDistribution","PassEventsDown","PassEventsUp","Paste","PasteAutoQuoteCharacters","PasteBoxFormInlineCells","PasteButton","Path","PathGraph","PathGraphQ","Pattern","PatternFilling","PatternSequence","PatternTest","PauliMatrix","PaulWavelet","Pause","PausedTime","PDF","PeakDetect","PeanoCurve","PearsonChiSquareTest","PearsonCorrelationTest","PearsonDistribution","PercentForm","PerfectNumber","PerfectNumberQ","PerformanceGoal","Perimeter","PeriodicBoundaryCondition","PeriodicInterpolation","Periodogram","PeriodogramArray","Permanent","Permissions","PermissionsGroup","PermissionsGroupMemberQ","PermissionsGroups","PermissionsKey","PermissionsKeys","PermutationCycles","PermutationCyclesQ","PermutationGroup","PermutationLength","PermutationList","PermutationListQ","PermutationMax","PermutationMin","PermutationOrder","PermutationPower","PermutationProduct","PermutationReplace","Permutations","PermutationSupport","Permute","PeronaMalikFilter","Perpendicular","PerpendicularBisector","PersistenceLocation","PersistenceTime","PersistentObject","PersistentObjects","PersistentValue","PersonData","PERTDistribution","PetersenGraph","PhaseMargins","PhaseRange","PhysicalSystemData","Pi","Pick","PIDData","PIDDerivativeFilter","PIDFeedforward","PIDTune","Piecewise","PiecewiseExpand","PieChart","PieChart3D","PillaiTrace","PillaiTraceTest","PingTime","Pink","PitchRecognize","Pivoting","PixelConstrained","PixelValue","PixelValuePositions","Placed","Placeholder","PlaceholderReplace","Plain","PlanarAngle","PlanarGraph","PlanarGraphQ","PlanckRadiationLaw","PlaneCurveData","PlanetaryMoonData","PlanetData","PlantData","Play","PlayRange","Plot","Plot3D","Plot3Matrix","PlotDivision","PlotJoined","PlotLabel","PlotLabels","PlotLayout","PlotLegends","PlotMarkers","PlotPoints","PlotRange","PlotRangeClipping","PlotRangeClipPlanesStyle","PlotRangePadding","PlotRegion","PlotStyle","PlotTheme","Pluralize","Plus","PlusMinus","Pochhammer","PodStates","PodWidth","Point","Point3DBox","Point3DBoxOptions","PointBox","PointBoxOptions","PointFigureChart","PointLegend","PointSize","PoissonConsulDistribution","PoissonDistribution","PoissonProcess","PoissonWindow","PolarAxes","PolarAxesOrigin","PolarGridLines","PolarPlot","PolarTicks","PoleZeroMarkers","PolyaAeppliDistribution","PolyGamma","Polygon","Polygon3DBox","Polygon3DBoxOptions","PolygonalNumber","PolygonAngle","PolygonBox","PolygonBoxOptions","PolygonCoordinates","PolygonDecomposition","PolygonHoleScale","PolygonIntersections","PolygonScale","Polyhedron","PolyhedronAngle","PolyhedronCoordinates","PolyhedronData","PolyhedronDecomposition","PolyhedronGenus","PolyLog","PolynomialExtendedGCD","PolynomialForm","PolynomialGCD","PolynomialLCM","PolynomialMod","PolynomialQ","PolynomialQuotient","PolynomialQuotientRemainder","PolynomialReduce","PolynomialRemainder","Polynomials","PoolingLayer","PopupMenu","PopupMenuBox","PopupMenuBoxOptions","PopupView","PopupWindow","Position","PositionIndex","Positive","PositiveDefiniteMatrixQ","PositiveIntegers","PositiveRationals","PositiveReals","PositiveSemidefiniteMatrixQ","PossibleZeroQ","Postfix","PostScript","Power","PowerDistribution","PowerExpand","PowerMod","PowerModList","PowerRange","PowerSpectralDensity","PowersRepresentations","PowerSymmetricPolynomial","Precedence","PrecedenceForm","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","Precision","PrecisionGoal","PreDecrement","Predict","PredictionRoot","PredictorFunction","PredictorInformation","PredictorMeasurements","PredictorMeasurementsObject","PreemptProtect","PreferencesPath","Prefix","PreIncrement","Prepend","PrependLayer","PrependTo","PreprocessingRules","PreserveColor","PreserveImageOptions","Previous","PreviousCell","PreviousDate","PriceGraphDistribution","PrimaryPlaceholder","Prime","PrimeNu","PrimeOmega","PrimePi","PrimePowerQ","PrimeQ","Primes","PrimeZetaP","PrimitivePolynomialQ","PrimitiveRoot","PrimitiveRootList","PrincipalComponents","PrincipalValue","Print","PrintableASCIIQ","PrintAction","PrintForm","PrintingCopies","PrintingOptions","PrintingPageRange","PrintingStartingPageNumber","PrintingStyleEnvironment","Printout3D","Printout3DPreviewer","PrintPrecision","PrintTemporary","Prism","PrismBox","PrismBoxOptions","PrivateCellOptions","PrivateEvaluationOptions","PrivateFontOptions","PrivateFrontEndOptions","PrivateKey","PrivateNotebookOptions","PrivatePaths","Probability","ProbabilityDistribution","ProbabilityPlot","ProbabilityPr","ProbabilityScalePlot","ProbitModelFit","ProcessConnection","ProcessDirectory","ProcessEnvironment","Processes","ProcessEstimator","ProcessInformation","ProcessObject","ProcessParameterAssumptions","ProcessParameterQ","ProcessStateDomain","ProcessStatus","ProcessTimeDomain","Product","ProductDistribution","ProductLog","ProgressIndicator","ProgressIndicatorBox","ProgressIndicatorBoxOptions","Projection","Prolog","PromptForm","ProofObject","Properties","Property","PropertyList","PropertyValue","Proportion","Proportional","Protect","Protected","ProteinData","Pruning","PseudoInverse","PsychrometricPropertyData","PublicKey","PublisherID","PulsarData","PunctuationCharacter","Purple","Put","PutAppend","Pyramid","PyramidBox","PyramidBoxOptions","QBinomial","QFactorial","QGamma","QHypergeometricPFQ","QnDispersion","QPochhammer","QPolyGamma","QRDecomposition","QuadraticIrrationalQ","QuadraticOptimization","Quantile","QuantilePlot","Quantity","QuantityArray","QuantityDistribution","QuantityForm","QuantityMagnitude","QuantityQ","QuantityUnit","QuantityVariable","QuantityVariableCanonicalUnit","QuantityVariableDimensions","QuantityVariableIdentifier","QuantityVariablePhysicalQuantity","Quartics","QuartileDeviation","Quartiles","QuartileSkewness","Query","QueueingNetworkProcess","QueueingProcess","QueueProperties","Quiet","Quit","Quotient","QuotientRemainder","RadialGradientImage","RadialityCentrality","RadicalBox","RadicalBoxOptions","RadioButton","RadioButtonBar","RadioButtonBox","RadioButtonBoxOptions","Radon","RadonTransform","RamanujanTau","RamanujanTauL","RamanujanTauTheta","RamanujanTauZ","Ramp","Random","RandomChoice","RandomColor","RandomComplex","RandomEntity","RandomFunction","RandomGeoPosition","RandomGraph","RandomImage","RandomInstance","RandomInteger","RandomPermutation","RandomPoint","RandomPolygon","RandomPolyhedron","RandomPrime","RandomReal","RandomSample","RandomSeed","RandomSeeding","RandomVariate","RandomWalkProcess","RandomWord","Range","RangeFilter","RangeSpecification","RankedMax","RankedMin","RarerProbability","Raster","Raster3D","Raster3DBox","Raster3DBoxOptions","RasterArray","RasterBox","RasterBoxOptions","Rasterize","RasterSize","Rational","RationalFunctions","Rationalize","Rationals","Ratios","RawArray","RawBoxes","RawData","RawMedium","RayleighDistribution","Re","Read","ReadByteArray","ReadLine","ReadList","ReadProtected","ReadString","Real","RealAbs","RealBlockDiagonalForm","RealDigits","RealExponent","Reals","RealSign","Reap","RebuildPacletData","RecognitionPrior","RecognitionThreshold","Record","RecordLists","RecordSeparators","Rectangle","RectangleBox","RectangleBoxOptions","RectangleChart","RectangleChart3D","RectangularRepeatingElement","RecurrenceFilter","RecurrenceTable","RecurringDigitsForm","Red","Reduce","RefBox","ReferenceLineStyle","ReferenceMarkers","ReferenceMarkerStyle","Refine","ReflectionMatrix","ReflectionTransform","Refresh","RefreshRate","Region","RegionBinarize","RegionBoundary","RegionBoundaryStyle","RegionBounds","RegionCentroid","RegionDifference","RegionDimension","RegionDisjoint","RegionDistance","RegionDistanceFunction","RegionEmbeddingDimension","RegionEqual","RegionFillingStyle","RegionFunction","RegionImage","RegionIntersection","RegionMeasure","RegionMember","RegionMemberFunction","RegionMoment","RegionNearest","RegionNearestFunction","RegionPlot","RegionPlot3D","RegionProduct","RegionQ","RegionResize","RegionSize","RegionSymmetricDifference","RegionUnion","RegionWithin","RegisterExternalEvaluator","RegularExpression","Regularization","RegularlySampledQ","RegularPolygon","ReIm","ReImLabels","ReImPlot","ReImStyle","Reinstall","RelationalDatabase","RelationGraph","Release","ReleaseHold","ReliabilityDistribution","ReliefImage","ReliefPlot","RemoteAuthorizationCaching","RemoteConnect","RemoteConnectionObject","RemoteFile","RemoteRun","RemoteRunProcess","Remove","RemoveAlphaChannel","RemoveAsynchronousTask","RemoveAudioStream","RemoveBackground","RemoveChannelListener","RemoveChannelSubscribers","Removed","RemoveDiacritics","RemoveInputStreamMethod","RemoveOutputStreamMethod","RemoveProperty","RemoveScheduledTask","RemoveUsers","RemoveVideoStream","RenameDirectory","RenameFile","RenderAll","RenderingOptions","RenewalProcess","RenkoChart","RepairMesh","Repeated","RepeatedNull","RepeatedString","RepeatedTiming","RepeatingElement","Replace","ReplaceAll","ReplaceHeldPart","ReplaceImageValue","ReplaceList","ReplacePart","ReplacePixelValue","ReplaceRepeated","ReplicateLayer","RequiredPhysicalQuantities","Resampling","ResamplingAlgorithmData","ResamplingMethod","Rescale","RescalingTransform","ResetDirectory","ResetMenusPacket","ResetScheduledTask","ReshapeLayer","Residue","ResizeLayer","Resolve","ResourceAcquire","ResourceData","ResourceFunction","ResourceObject","ResourceRegister","ResourceRemove","ResourceSearch","ResourceSubmissionObject","ResourceSubmit","ResourceSystemBase","ResourceSystemPath","ResourceUpdate","ResourceVersion","ResponseForm","Rest","RestartInterval","Restricted","Resultant","ResumePacket","Return","ReturnEntersInput","ReturnExpressionPacket","ReturnInputFormPacket","ReturnPacket","ReturnReceiptFunction","ReturnTextPacket","Reverse","ReverseApplied","ReverseBiorthogonalSplineWavelet","ReverseElement","ReverseEquilibrium","ReverseGraph","ReverseSort","ReverseSortBy","ReverseUpEquilibrium","RevolutionAxis","RevolutionPlot3D","RGBColor","RiccatiSolve","RiceDistribution","RidgeFilter","RiemannR","RiemannSiegelTheta","RiemannSiegelZ","RiemannXi","Riffle","Right","RightArrow","RightArrowBar","RightArrowLeftArrow","RightComposition","RightCosetRepresentative","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightTee","RightTeeArrow","RightTeeVector","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","RiskAchievementImportance","RiskReductionImportance","RogersTanimotoDissimilarity","RollPitchYawAngles","RollPitchYawMatrix","RomanNumeral","Root","RootApproximant","RootIntervals","RootLocusPlot","RootMeanSquare","RootOfUnityQ","RootReduce","Roots","RootSum","Rotate","RotateLabel","RotateLeft","RotateRight","RotationAction","RotationBox","RotationBoxOptions","RotationMatrix","RotationTransform","Round","RoundImplies","RoundingRadius","Row","RowAlignments","RowBackgrounds","RowBox","RowHeights","RowLines","RowMinHeight","RowReduce","RowsEqual","RowSpacings","RSolve","RSolveValue","RudinShapiro","RudvalisGroupRu","Rule","RuleCondition","RuleDelayed","RuleForm","RulePlot","RulerUnits","Run","RunProcess","RunScheduledTask","RunThrough","RuntimeAttributes","RuntimeOptions","RussellRaoDissimilarity","SameQ","SameTest","SameTestProperties","SampledEntityClass","SampleDepth","SampledSoundFunction","SampledSoundList","SampleRate","SamplingPeriod","SARIMAProcess","SARMAProcess","SASTriangle","SatelliteData","SatisfiabilityCount","SatisfiabilityInstances","SatisfiableQ","Saturday","Save","Saveable","SaveAutoDelete","SaveConnection","SaveDefinitions","SavitzkyGolayMatrix","SawtoothWave","Scale","Scaled","ScaleDivisions","ScaledMousePosition","ScaleOrigin","ScalePadding","ScaleRanges","ScaleRangeStyle","ScalingFunctions","ScalingMatrix","ScalingTransform","Scan","ScheduledTask","ScheduledTaskActiveQ","ScheduledTaskInformation","ScheduledTaskInformationData","ScheduledTaskObject","ScheduledTasks","SchurDecomposition","ScientificForm","ScientificNotationThreshold","ScorerGi","ScorerGiPrime","ScorerHi","ScorerHiPrime","ScreenRectangle","ScreenStyleEnvironment","ScriptBaselineShifts","ScriptForm","ScriptLevel","ScriptMinSize","ScriptRules","ScriptSizeMultipliers","Scrollbars","ScrollingOptions","ScrollPosition","SearchAdjustment","SearchIndexObject","SearchIndices","SearchQueryString","SearchResultObject","Sec","Sech","SechDistribution","SecondOrderConeOptimization","SectionGrouping","SectorChart","SectorChart3D","SectorOrigin","SectorSpacing","SecuredAuthenticationKey","SecuredAuthenticationKeys","SeedRandom","Select","Selectable","SelectComponents","SelectedCells","SelectedNotebook","SelectFirst","Selection","SelectionAnimate","SelectionCell","SelectionCellCreateCell","SelectionCellDefaultStyle","SelectionCellParentStyle","SelectionCreateCell","SelectionDebuggerTag","SelectionDuplicateCell","SelectionEvaluate","SelectionEvaluateCreateCell","SelectionMove","SelectionPlaceholder","SelectionSetStyle","SelectWithContents","SelfLoops","SelfLoopStyle","SemanticImport","SemanticImportString","SemanticInterpretation","SemialgebraicComponentInstances","SemidefiniteOptimization","SendMail","SendMessage","Sequence","SequenceAlignment","SequenceAttentionLayer","SequenceCases","SequenceCount","SequenceFold","SequenceFoldList","SequenceForm","SequenceHold","SequenceLastLayer","SequenceMostLayer","SequencePosition","SequencePredict","SequencePredictorFunction","SequenceReplace","SequenceRestLayer","SequenceReverseLayer","SequenceSplit","Series","SeriesCoefficient","SeriesData","SeriesTermGoal","ServiceConnect","ServiceDisconnect","ServiceExecute","ServiceObject","ServiceRequest","ServiceResponse","ServiceSubmit","SessionSubmit","SessionTime","Set","SetAccuracy","SetAlphaChannel","SetAttributes","Setbacks","SetBoxFormNamesPacket","SetCloudDirectory","SetCookies","SetDelayed","SetDirectory","SetEnvironment","SetEvaluationNotebook","SetFileDate","SetFileLoadingContext","SetNotebookStatusLine","SetOptions","SetOptionsPacket","SetPermissions","SetPrecision","SetProperty","SetSecuredAuthenticationKey","SetSelectedNotebook","SetSharedFunction","SetSharedVariable","SetSpeechParametersPacket","SetStreamPosition","SetSystemModel","SetSystemOptions","Setter","SetterBar","SetterBox","SetterBoxOptions","Setting","SetUsers","SetValue","Shading","Shallow","ShannonWavelet","ShapiroWilkTest","Share","SharingList","Sharpen","ShearingMatrix","ShearingTransform","ShellRegion","ShenCastanMatrix","ShiftedGompertzDistribution","ShiftRegisterSequence","Short","ShortDownArrow","Shortest","ShortestMatch","ShortestPathFunction","ShortLeftArrow","ShortRightArrow","ShortTimeFourier","ShortTimeFourierData","ShortUpArrow","Show","ShowAutoConvert","ShowAutoSpellCheck","ShowAutoStyles","ShowCellBracket","ShowCellLabel","ShowCellTags","ShowClosedCellArea","ShowCodeAssist","ShowContents","ShowControls","ShowCursorTracker","ShowGroupOpenCloseIcon","ShowGroupOpener","ShowInvisibleCharacters","ShowPageBreaks","ShowPredictiveInterface","ShowSelection","ShowShortBoxForm","ShowSpecialCharacters","ShowStringCharacters","ShowSyntaxStyles","ShrinkingDelay","ShrinkWrapBoundingBox","SiderealTime","SiegelTheta","SiegelTukeyTest","SierpinskiCurve","SierpinskiMesh","Sign","Signature","SignedRankTest","SignedRegionDistance","SignificanceLevel","SignPadding","SignTest","SimilarityRules","SimpleGraph","SimpleGraphQ","SimplePolygonQ","SimplePolyhedronQ","Simplex","Simplify","Sin","Sinc","SinghMaddalaDistribution","SingleEvaluation","SingleLetterItalics","SingleLetterStyle","SingularValueDecomposition","SingularValueList","SingularValuePlot","SingularValues","Sinh","SinhIntegral","SinIntegral","SixJSymbol","Skeleton","SkeletonTransform","SkellamDistribution","Skewness","SkewNormalDistribution","SkinStyle","Skip","SliceContourPlot3D","SliceDensityPlot3D","SliceDistribution","SliceVectorPlot3D","Slider","Slider2D","Slider2DBox","Slider2DBoxOptions","SliderBox","SliderBoxOptions","SlideView","Slot","SlotSequence","Small","SmallCircle","Smaller","SmithDecomposition","SmithDelayCompensator","SmithWatermanSimilarity","SmoothDensityHistogram","SmoothHistogram","SmoothHistogram3D","SmoothKernelDistribution","SnDispersion","Snippet","SnubPolyhedron","SocialMediaData","Socket","SocketConnect","SocketListen","SocketListener","SocketObject","SocketOpen","SocketReadMessage","SocketReadyQ","Sockets","SocketWaitAll","SocketWaitNext","SoftmaxLayer","SokalSneathDissimilarity","SolarEclipse","SolarSystemFeatureData","SolidAngle","SolidData","SolidRegionQ","Solve","SolveAlways","SolveDelayed","Sort","SortBy","SortedBy","SortedEntityClass","Sound","SoundAndGraphics","SoundNote","SoundVolume","SourceLink","Sow","Space","SpaceCurveData","SpaceForm","Spacer","Spacings","Span","SpanAdjustments","SpanCharacterRounding","SpanFromAbove","SpanFromBoth","SpanFromLeft","SpanLineThickness","SpanMaxSize","SpanMinSize","SpanningCharacters","SpanSymmetric","SparseArray","SpatialGraphDistribution","SpatialMedian","SpatialTransformationLayer","Speak","SpeakerMatchQ","SpeakTextPacket","SpearmanRankTest","SpearmanRho","SpeciesData","SpecificityGoal","SpectralLineData","Spectrogram","SpectrogramArray","Specularity","SpeechCases","SpeechInterpreter","SpeechRecognize","SpeechSynthesize","SpellingCorrection","SpellingCorrectionList","SpellingDictionaries","SpellingDictionariesPath","SpellingOptions","SpellingSuggestionsPacket","Sphere","SphereBox","SpherePoints","SphericalBesselJ","SphericalBesselY","SphericalHankelH1","SphericalHankelH2","SphericalHarmonicY","SphericalPlot3D","SphericalRegion","SphericalShell","SpheroidalEigenvalue","SpheroidalJoiningFactor","SpheroidalPS","SpheroidalPSPrime","SpheroidalQS","SpheroidalQSPrime","SpheroidalRadialFactor","SpheroidalS1","SpheroidalS1Prime","SpheroidalS2","SpheroidalS2Prime","Splice","SplicedDistribution","SplineClosed","SplineDegree","SplineKnots","SplineWeights","Split","SplitBy","SpokenString","Sqrt","SqrtBox","SqrtBoxOptions","Square","SquaredEuclideanDistance","SquareFreeQ","SquareIntersection","SquareMatrixQ","SquareRepeatingElement","SquaresR","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","SquareWave","SSSTriangle","StabilityMargins","StabilityMarginsStyle","StableDistribution","Stack","StackBegin","StackComplete","StackedDateListPlot","StackedListPlot","StackInhibit","StadiumShape","StandardAtmosphereData","StandardDeviation","StandardDeviationFilter","StandardForm","Standardize","Standardized","StandardOceanData","StandbyDistribution","Star","StarClusterData","StarData","StarGraph","StartAsynchronousTask","StartExternalSession","StartingStepSize","StartOfLine","StartOfString","StartProcess","StartScheduledTask","StartupSound","StartWebSession","StateDimensions","StateFeedbackGains","StateOutputEstimator","StateResponse","StateSpaceModel","StateSpaceRealization","StateSpaceTransform","StateTransformationLinearize","StationaryDistribution","StationaryWaveletPacketTransform","StationaryWaveletTransform","StatusArea","StatusCentrality","StepMonitor","StereochemistryElements","StieltjesGamma","StippleShading","StirlingS1","StirlingS2","StopAsynchronousTask","StoppingPowerData","StopScheduledTask","StrataVariables","StratonovichProcess","StreamColorFunction","StreamColorFunctionScaling","StreamDensityPlot","StreamMarkers","StreamPlot","StreamPoints","StreamPosition","Streams","StreamScale","StreamStyle","String","StringBreak","StringByteCount","StringCases","StringContainsQ","StringCount","StringDelete","StringDrop","StringEndsQ","StringExpression","StringExtract","StringForm","StringFormat","StringFreeQ","StringInsert","StringJoin","StringLength","StringMatchQ","StringPadLeft","StringPadRight","StringPart","StringPartition","StringPosition","StringQ","StringRepeat","StringReplace","StringReplaceList","StringReplacePart","StringReverse","StringRiffle","StringRotateLeft","StringRotateRight","StringSkeleton","StringSplit","StringStartsQ","StringTake","StringTemplate","StringToByteArray","StringToStream","StringTrim","StripBoxes","StripOnInput","StripWrapperBoxes","StrokeForm","StructuralImportance","StructuredArray","StructuredArrayHeadQ","StructuredSelection","StruveH","StruveL","Stub","StudentTDistribution","Style","StyleBox","StyleBoxAutoDelete","StyleData","StyleDefinitions","StyleForm","StyleHints","StyleKeyMapping","StyleMenuListing","StyleNameDialogSettings","StyleNames","StylePrint","StyleSheetPath","Subdivide","Subfactorial","Subgraph","SubMinus","SubPlus","SubresultantPolynomialRemainders","SubresultantPolynomials","Subresultants","Subscript","SubscriptBox","SubscriptBoxOptions","Subscripted","Subsequences","Subset","SubsetCases","SubsetCount","SubsetEqual","SubsetMap","SubsetPosition","SubsetQ","SubsetReplace","Subsets","SubStar","SubstitutionSystem","Subsuperscript","SubsuperscriptBox","SubsuperscriptBoxOptions","SubtitleEncoding","SubtitleTracks","Subtract","SubtractFrom","SubtractSides","SubValues","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","Success","SuchThat","Sum","SumConvergence","SummationLayer","Sunday","SunPosition","Sunrise","Sunset","SuperDagger","SuperMinus","SupernovaData","SuperPlus","Superscript","SuperscriptBox","SuperscriptBoxOptions","Superset","SupersetEqual","SuperStar","Surd","SurdForm","SurfaceAppearance","SurfaceArea","SurfaceColor","SurfaceData","SurfaceGraphics","SurvivalDistribution","SurvivalFunction","SurvivalModel","SurvivalModelFit","SuspendPacket","SuzukiDistribution","SuzukiGroupSuz","SwatchLegend","Switch","Symbol","SymbolName","SymletWavelet","Symmetric","SymmetricGroup","SymmetricKey","SymmetricMatrixQ","SymmetricPolynomial","SymmetricReduction","Symmetrize","SymmetrizedArray","SymmetrizedArrayRules","SymmetrizedDependentComponents","SymmetrizedIndependentComponents","SymmetrizedReplacePart","SynchronousInitialization","SynchronousUpdating","Synonyms","Syntax","SyntaxForm","SyntaxInformation","SyntaxLength","SyntaxPacket","SyntaxQ","SynthesizeMissingValues","SystemCredential","SystemCredentialData","SystemCredentialKey","SystemCredentialKeys","SystemCredentialStoreObject","SystemDialogInput","SystemException","SystemGet","SystemHelpPath","SystemInformation","SystemInformationData","SystemInstall","SystemModel","SystemModeler","SystemModelExamples","SystemModelLinearize","SystemModelParametricSimulate","SystemModelPlot","SystemModelProgressReporting","SystemModelReliability","SystemModels","SystemModelSimulate","SystemModelSimulateSensitivity","SystemModelSimulationData","SystemOpen","SystemOptions","SystemProcessData","SystemProcesses","SystemsConnectionsModel","SystemsModelDelay","SystemsModelDelayApproximate","SystemsModelDelete","SystemsModelDimensions","SystemsModelExtract","SystemsModelFeedbackConnect","SystemsModelLabels","SystemsModelLinearity","SystemsModelMerge","SystemsModelOrder","SystemsModelParallelConnect","SystemsModelSeriesConnect","SystemsModelStateFeedbackConnect","SystemsModelVectorRelativeOrders","SystemStub","SystemTest","Tab","TabFilling","Table","TableAlignments","TableDepth","TableDirections","TableForm","TableHeadings","TableSpacing","TableView","TableViewBox","TableViewBoxBackground","TableViewBoxItemSize","TableViewBoxOptions","TabSpacings","TabView","TabViewBox","TabViewBoxOptions","TagBox","TagBoxNote","TagBoxOptions","TaggingRules","TagSet","TagSetDelayed","TagStyle","TagUnset","Take","TakeDrop","TakeLargest","TakeLargestBy","TakeList","TakeSmallest","TakeSmallestBy","TakeWhile","Tally","Tan","Tanh","TargetDevice","TargetFunctions","TargetSystem","TargetUnits","TaskAbort","TaskExecute","TaskObject","TaskRemove","TaskResume","Tasks","TaskSuspend","TaskWait","TautologyQ","TelegraphProcess","TemplateApply","TemplateArgBox","TemplateBox","TemplateBoxOptions","TemplateEvaluate","TemplateExpression","TemplateIf","TemplateObject","TemplateSequence","TemplateSlot","TemplateSlotSequence","TemplateUnevaluated","TemplateVerbatim","TemplateWith","TemporalData","TemporalRegularity","Temporary","TemporaryVariable","TensorContract","TensorDimensions","TensorExpand","TensorProduct","TensorQ","TensorRank","TensorReduce","TensorSymmetry","TensorTranspose","TensorWedge","TestID","TestReport","TestReportObject","TestResultObject","Tetrahedron","TetrahedronBox","TetrahedronBoxOptions","TeXForm","TeXSave","Text","Text3DBox","Text3DBoxOptions","TextAlignment","TextBand","TextBoundingBox","TextBox","TextCases","TextCell","TextClipboardType","TextContents","TextData","TextElement","TextForm","TextGrid","TextJustification","TextLine","TextPacket","TextParagraph","TextPosition","TextRecognize","TextSearch","TextSearchReport","TextSentences","TextString","TextStructure","TextStyle","TextTranslation","Texture","TextureCoordinateFunction","TextureCoordinateScaling","TextWords","Therefore","ThermodynamicData","ThermometerGauge","Thick","Thickness","Thin","Thinning","ThisLink","ThompsonGroupTh","Thread","ThreadingLayer","ThreeJSymbol","Threshold","Through","Throw","ThueMorse","Thumbnail","Thursday","Ticks","TicksStyle","TideData","Tilde","TildeEqual","TildeFullEqual","TildeTilde","TimeConstrained","TimeConstraint","TimeDirection","TimeFormat","TimeGoal","TimelinePlot","TimeObject","TimeObjectQ","TimeRemaining","Times","TimesBy","TimeSeries","TimeSeriesAggregate","TimeSeriesForecast","TimeSeriesInsert","TimeSeriesInvertibility","TimeSeriesMap","TimeSeriesMapThread","TimeSeriesModel","TimeSeriesModelFit","TimeSeriesResample","TimeSeriesRescale","TimeSeriesShift","TimeSeriesThread","TimeSeriesWindow","TimeUsed","TimeValue","TimeWarpingCorrespondence","TimeWarpingDistance","TimeZone","TimeZoneConvert","TimeZoneOffset","Timing","Tiny","TitleGrouping","TitsGroupT","ToBoxes","ToCharacterCode","ToColor","ToContinuousTimeModel","ToDate","Today","ToDiscreteTimeModel","ToEntity","ToeplitzMatrix","ToExpression","ToFileName","Together","Toggle","ToggleFalse","Toggler","TogglerBar","TogglerBox","TogglerBoxOptions","ToHeldExpression","ToInvertibleTimeSeries","TokenWords","Tolerance","ToLowerCase","Tomorrow","ToNumberField","TooBig","Tooltip","TooltipBox","TooltipBoxOptions","TooltipDelay","TooltipStyle","ToonShading","Top","TopHatTransform","ToPolarCoordinates","TopologicalSort","ToRadicals","ToRules","ToSphericalCoordinates","ToString","Total","TotalHeight","TotalLayer","TotalVariationFilter","TotalWidth","TouchPosition","TouchscreenAutoZoom","TouchscreenControlPlacement","ToUpperCase","Tr","Trace","TraceAbove","TraceAction","TraceBackward","TraceDepth","TraceDialog","TraceForward","TraceInternal","TraceLevel","TraceOff","TraceOn","TraceOriginal","TracePrint","TraceScan","TrackedSymbols","TrackingFunction","TracyWidomDistribution","TradingChart","TraditionalForm","TraditionalFunctionNotation","TraditionalNotation","TraditionalOrder","TrainingProgressCheckpointing","TrainingProgressFunction","TrainingProgressMeasurements","TrainingProgressReporting","TrainingStoppingCriterion","TrainingUpdateSchedule","TransferFunctionCancel","TransferFunctionExpand","TransferFunctionFactor","TransferFunctionModel","TransferFunctionPoles","TransferFunctionTransform","TransferFunctionZeros","TransformationClass","TransformationFunction","TransformationFunctions","TransformationMatrix","TransformedDistribution","TransformedField","TransformedProcess","TransformedRegion","TransitionDirection","TransitionDuration","TransitionEffect","TransitiveClosureGraph","TransitiveReductionGraph","Translate","TranslationOptions","TranslationTransform","Transliterate","Transparent","TransparentColor","Transpose","TransposeLayer","TrapSelection","TravelDirections","TravelDirectionsData","TravelDistance","TravelDistanceList","TravelMethod","TravelTime","TreeForm","TreeGraph","TreeGraphQ","TreePlot","TrendStyle","Triangle","TriangleCenter","TriangleConstruct","TriangleMeasurement","TriangleWave","TriangularDistribution","TriangulateMesh","Trig","TrigExpand","TrigFactor","TrigFactorList","Trigger","TrigReduce","TrigToExp","TrimmedMean","TrimmedVariance","TropicalStormData","True","TrueQ","TruncatedDistribution","TruncatedPolyhedron","TsallisQExponentialDistribution","TsallisQGaussianDistribution","TTest","Tube","TubeBezierCurveBox","TubeBezierCurveBoxOptions","TubeBox","TubeBoxOptions","TubeBSplineCurveBox","TubeBSplineCurveBoxOptions","Tuesday","TukeyLambdaDistribution","TukeyWindow","TunnelData","Tuples","TuranGraph","TuringMachine","TuttePolynomial","TwoWayRule","Typed","TypeSpecifier","UnateQ","Uncompress","UnconstrainedParameters","Undefined","UnderBar","Underflow","Underlined","Underoverscript","UnderoverscriptBox","UnderoverscriptBoxOptions","Underscript","UnderscriptBox","UnderscriptBoxOptions","UnderseaFeatureData","UndirectedEdge","UndirectedGraph","UndirectedGraphQ","UndoOptions","UndoTrackedVariables","Unequal","UnequalTo","Unevaluated","UniformDistribution","UniformGraphDistribution","UniformPolyhedron","UniformSumDistribution","Uninstall","Union","UnionedEntityClass","UnionPlus","Unique","UnitaryMatrixQ","UnitBox","UnitConvert","UnitDimensions","Unitize","UnitRootTest","UnitSimplify","UnitStep","UnitSystem","UnitTriangle","UnitVector","UnitVectorLayer","UnityDimensions","UniverseModelData","UniversityData","UnixTime","Unprotect","UnregisterExternalEvaluator","UnsameQ","UnsavedVariables","Unset","UnsetShared","UntrackedVariables","Up","UpArrow","UpArrowBar","UpArrowDownArrow","Update","UpdateDynamicObjects","UpdateDynamicObjectsSynchronous","UpdateInterval","UpdatePacletSites","UpdateSearchIndex","UpDownArrow","UpEquilibrium","UpperCaseQ","UpperLeftArrow","UpperRightArrow","UpperTriangularize","UpperTriangularMatrixQ","Upsample","UpSet","UpSetDelayed","UpTee","UpTeeArrow","UpTo","UpValues","URL","URLBuild","URLDecode","URLDispatcher","URLDownload","URLDownloadSubmit","URLEncode","URLExecute","URLExpand","URLFetch","URLFetchAsynchronous","URLParse","URLQueryDecode","URLQueryEncode","URLRead","URLResponseTime","URLSave","URLSaveAsynchronous","URLShorten","URLSubmit","UseGraphicsRange","UserDefinedWavelet","Using","UsingFrontEnd","UtilityFunction","V2Get","ValenceErrorHandling","ValidationLength","ValidationSet","Value","ValueBox","ValueBoxOptions","ValueDimensions","ValueForm","ValuePreprocessingFunction","ValueQ","Values","ValuesData","Variables","Variance","VarianceEquivalenceTest","VarianceEstimatorFunction","VarianceGammaDistribution","VarianceTest","VectorAngle","VectorAround","VectorAspectRatio","VectorColorFunction","VectorColorFunctionScaling","VectorDensityPlot","VectorGlyphData","VectorGreater","VectorGreaterEqual","VectorLess","VectorLessEqual","VectorMarkers","VectorPlot","VectorPlot3D","VectorPoints","VectorQ","VectorRange","Vectors","VectorScale","VectorScaling","VectorSizes","VectorStyle","Vee","Verbatim","Verbose","VerboseConvertToPostScriptPacket","VerificationTest","VerifyConvergence","VerifyDerivedKey","VerifyDigitalSignature","VerifyFileSignature","VerifyInterpretation","VerifySecurityCertificates","VerifySolutions","VerifyTestAssumptions","Version","VersionedPreferences","VersionNumber","VertexAdd","VertexCapacity","VertexColors","VertexComponent","VertexConnectivity","VertexContract","VertexCoordinateRules","VertexCoordinates","VertexCorrelationSimilarity","VertexCosineSimilarity","VertexCount","VertexCoverQ","VertexDataCoordinates","VertexDegree","VertexDelete","VertexDiceSimilarity","VertexEccentricity","VertexInComponent","VertexInDegree","VertexIndex","VertexJaccardSimilarity","VertexLabeling","VertexLabels","VertexLabelStyle","VertexList","VertexNormals","VertexOutComponent","VertexOutDegree","VertexQ","VertexRenderingFunction","VertexReplace","VertexShape","VertexShapeFunction","VertexSize","VertexStyle","VertexTextureCoordinates","VertexWeight","VertexWeightedGraphQ","Vertical","VerticalBar","VerticalForm","VerticalGauge","VerticalSeparator","VerticalSlider","VerticalTilde","Video","VideoEncoding","VideoExtractFrames","VideoFrameList","VideoFrameMap","VideoPause","VideoPlay","VideoQ","VideoStop","VideoStream","VideoStreams","VideoTimeSeries","VideoTracks","VideoTrim","ViewAngle","ViewCenter","ViewMatrix","ViewPoint","ViewPointSelectorSettings","ViewPort","ViewProjection","ViewRange","ViewVector","ViewVertical","VirtualGroupData","Visible","VisibleCell","VoiceStyleData","VoigtDistribution","VolcanoData","Volume","VonMisesDistribution","VoronoiMesh","WaitAll","WaitAsynchronousTask","WaitNext","WaitUntil","WakebyDistribution","WalleniusHypergeometricDistribution","WaringYuleDistribution","WarpingCorrespondence","WarpingDistance","WatershedComponents","WatsonUSquareTest","WattsStrogatzGraphDistribution","WaveletBestBasis","WaveletFilterCoefficients","WaveletImagePlot","WaveletListPlot","WaveletMapIndexed","WaveletMatrixPlot","WaveletPhi","WaveletPsi","WaveletScale","WaveletScalogram","WaveletThreshold","WeaklyConnectedComponents","WeaklyConnectedGraphComponents","WeaklyConnectedGraphQ","WeakStationarity","WeatherData","WeatherForecastData","WebAudioSearch","WebElementObject","WeberE","WebExecute","WebImage","WebImageSearch","WebSearch","WebSessionObject","WebSessions","WebWindowObject","Wedge","Wednesday","WeibullDistribution","WeierstrassE1","WeierstrassE2","WeierstrassE3","WeierstrassEta1","WeierstrassEta2","WeierstrassEta3","WeierstrassHalfPeriods","WeierstrassHalfPeriodW1","WeierstrassHalfPeriodW2","WeierstrassHalfPeriodW3","WeierstrassInvariantG2","WeierstrassInvariantG3","WeierstrassInvariants","WeierstrassP","WeierstrassPPrime","WeierstrassSigma","WeierstrassZeta","WeightedAdjacencyGraph","WeightedAdjacencyMatrix","WeightedData","WeightedGraphQ","Weights","WelchWindow","WheelGraph","WhenEvent","Which","While","White","WhiteNoiseProcess","WhitePoint","Whitespace","WhitespaceCharacter","WhittakerM","WhittakerW","WienerFilter","WienerProcess","WignerD","WignerSemicircleDistribution","WikidataData","WikidataSearch","WikipediaData","WikipediaSearch","WilksW","WilksWTest","WindDirectionData","WindingCount","WindingPolygon","WindowClickSelect","WindowElements","WindowFloating","WindowFrame","WindowFrameElements","WindowMargins","WindowMovable","WindowOpacity","WindowPersistentStyles","WindowSelected","WindowSize","WindowStatusArea","WindowTitle","WindowToolbars","WindowWidth","WindSpeedData","WindVectorData","WinsorizedMean","WinsorizedVariance","WishartMatrixDistribution","With","WolframAlpha","WolframAlphaDate","WolframAlphaQuantity","WolframAlphaResult","WolframLanguageData","Word","WordBoundary","WordCharacter","WordCloud","WordCount","WordCounts","WordData","WordDefinition","WordFrequency","WordFrequencyData","WordList","WordOrientation","WordSearch","WordSelectionFunction","WordSeparators","WordSpacings","WordStem","WordTranslation","WorkingPrecision","WrapAround","Write","WriteLine","WriteString","Wronskian","XMLElement","XMLObject","XMLTemplate","Xnor","Xor","XYZColor","Yellow","Yesterday","YuleDissimilarity","ZernikeR","ZeroSymmetric","ZeroTest","ZeroWidthTimes","Zeta","ZetaZero","ZIPCodeData","ZipfDistribution","ZoomCenter","ZoomFactor","ZTest","ZTransform","$Aborted","$ActivationGroupID","$ActivationKey","$ActivationUserRegistered","$AddOnsDirectory","$AllowDataUpdates","$AllowExternalChannelFunctions","$AllowInternet","$AssertFunction","$Assumptions","$AsynchronousTask","$AudioDecoders","$AudioEncoders","$AudioInputDevices","$AudioOutputDevices","$BaseDirectory","$BasePacletsDirectory","$BatchInput","$BatchOutput","$BlockchainBase","$BoxForms","$ByteOrdering","$CacheBaseDirectory","$Canceled","$ChannelBase","$CharacterEncoding","$CharacterEncodings","$CloudAccountName","$CloudBase","$CloudConnected","$CloudConnection","$CloudCreditsAvailable","$CloudEvaluation","$CloudExpressionBase","$CloudObjectNameFormat","$CloudObjectURLType","$CloudRootDirectory","$CloudSymbolBase","$CloudUserID","$CloudUserUUID","$CloudVersion","$CloudVersionNumber","$CloudWolframEngineVersionNumber","$CommandLine","$CompilationTarget","$ConditionHold","$ConfiguredKernels","$Context","$ContextPath","$ControlActiveSetting","$Cookies","$CookieStore","$CreationDate","$CurrentLink","$CurrentTask","$CurrentWebSession","$DataStructures","$DateStringFormat","$DefaultAudioInputDevice","$DefaultAudioOutputDevice","$DefaultFont","$DefaultFrontEnd","$DefaultImagingDevice","$DefaultLocalBase","$DefaultMailbox","$DefaultNetworkInterface","$DefaultPath","$DefaultProxyRules","$DefaultSystemCredentialStore","$Display","$DisplayFunction","$DistributedContexts","$DynamicEvaluation","$Echo","$EmbedCodeEnvironments","$EmbeddableServices","$EntityStores","$Epilog","$EvaluationCloudBase","$EvaluationCloudObject","$EvaluationEnvironment","$ExportFormats","$ExternalIdentifierTypes","$ExternalStorageBase","$Failed","$FinancialDataSource","$FontFamilies","$FormatType","$FrontEnd","$FrontEndSession","$GeoEntityTypes","$GeoLocation","$GeoLocationCity","$GeoLocationCountry","$GeoLocationPrecision","$GeoLocationSource","$HistoryLength","$HomeDirectory","$HTMLExportRules","$HTTPCookies","$HTTPRequest","$IgnoreEOF","$ImageFormattingWidth","$ImageResolution","$ImagingDevice","$ImagingDevices","$ImportFormats","$IncomingMailSettings","$InitialDirectory","$Initialization","$InitializationContexts","$Input","$InputFileName","$InputStreamMethods","$Inspector","$InstallationDate","$InstallationDirectory","$InterfaceEnvironment","$InterpreterTypes","$IterationLimit","$KernelCount","$KernelID","$Language","$LaunchDirectory","$LibraryPath","$LicenseExpirationDate","$LicenseID","$LicenseProcesses","$LicenseServer","$LicenseSubprocesses","$LicenseType","$Line","$Linked","$LinkSupported","$LoadedFiles","$LocalBase","$LocalSymbolBase","$MachineAddresses","$MachineDomain","$MachineDomains","$MachineEpsilon","$MachineID","$MachineName","$MachinePrecision","$MachineType","$MaxExtraPrecision","$MaxLicenseProcesses","$MaxLicenseSubprocesses","$MaxMachineNumber","$MaxNumber","$MaxPiecewiseCases","$MaxPrecision","$MaxRootDegree","$MessageGroups","$MessageList","$MessagePrePrint","$Messages","$MinMachineNumber","$MinNumber","$MinorReleaseNumber","$MinPrecision","$MobilePhone","$ModuleNumber","$NetworkConnected","$NetworkInterfaces","$NetworkLicense","$NewMessage","$NewSymbol","$NotebookInlineStorageLimit","$Notebooks","$NoValue","$NumberMarks","$Off","$OperatingSystem","$Output","$OutputForms","$OutputSizeLimit","$OutputStreamMethods","$Packages","$ParentLink","$ParentProcessID","$PasswordFile","$PatchLevelID","$Path","$PathnameSeparator","$PerformanceGoal","$Permissions","$PermissionsGroupBase","$PersistenceBase","$PersistencePath","$PipeSupported","$PlotTheme","$Post","$Pre","$PreferencesDirectory","$PreInitialization","$PrePrint","$PreRead","$PrintForms","$PrintLiteral","$Printout3DPreviewer","$ProcessID","$ProcessorCount","$ProcessorType","$ProductInformation","$ProgramName","$PublisherID","$RandomState","$RecursionLimit","$RegisteredDeviceClasses","$RegisteredUserName","$ReleaseNumber","$RequesterAddress","$RequesterWolframID","$RequesterWolframUUID","$RootDirectory","$ScheduledTask","$ScriptCommandLine","$ScriptInputString","$SecuredAuthenticationKeyTokens","$ServiceCreditsAvailable","$Services","$SessionID","$SetParentLink","$SharedFunctions","$SharedVariables","$SoundDisplay","$SoundDisplayFunction","$SourceLink","$SSHAuthentication","$SubtitleDecoders","$SubtitleEncoders","$SummaryBoxDataSizeLimit","$SuppressInputFormHeads","$SynchronousEvaluation","$SyntaxHandler","$System","$SystemCharacterEncoding","$SystemCredentialStore","$SystemID","$SystemMemory","$SystemShell","$SystemTimeZone","$SystemWordLength","$TemplatePath","$TemporaryDirectory","$TemporaryPrefix","$TestFileName","$TextStyle","$TimedOut","$TimeUnit","$TimeZone","$TimeZoneEntity","$TopDirectory","$TraceOff","$TraceOn","$TracePattern","$TracePostAction","$TracePreAction","$UnitSystem","$Urgent","$UserAddOnsDirectory","$UserAgentLanguages","$UserAgentMachine","$UserAgentName","$UserAgentOperatingSystem","$UserAgentString","$UserAgentVersion","$UserBaseDirectory","$UserBasePacletsDirectory","$UserDocumentsDirectory","$Username","$UserName","$UserURLBase","$Version","$VersionNumber","$VideoDecoders","$VideoEncoders","$VoiceStyles","$WolframDocumentsDirectory","$WolframID","$WolframUUID"];function RX2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function fX2(I){return Ta("(",I,")?")}function Ta(...I){return I.map((G)=>RX2(G)).join("")}function qX2(...I){return"("+I.map((G)=>RX2(G)).join("|")+")"}function s09(I){let d=/([2-9]|[1-2]\d|[3][0-5])\^\^/,G=/(\w*\.\w+|\w+\.\w*|\w+)/,Z=/(\d*\.\d+|\d+\.\d*|\d+)/,C=qX2(Ta(d,G),Z),B=qX2(/``[+-]?(\d*\.\d+|\d+\.\d*|\d+)/,/`([+-]?(\d*\.\d+|\d+\.\d*|\d+))?/),A=/\*\^[+-]?\d+/,X={className:"number",relevance:0,begin:Ta(C,fX2(B),fX2(A))},_=/[a-zA-Z$][a-zA-Z0-9$]*/,F=new Set(a09),g={variants:[{className:"builtin-symbol",begin:_,"on:begin":($,h)=>{if(!F.has($[0]))h.ignoreMatch()}},{className:"symbol",relevance:0,begin:_}]},J={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},K={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},Q={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},E={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},S={className:"brace",relevance:0,begin:/[[\](){}]/},P={className:"message-name",relevance:0,begin:Ta("::",_)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[I.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),Q,E,P,g,J,I.QUOTE_STRING_MODE,X,K,S]}}UX2.exports=s09});var MX2=Y((UF3,EX2)=>{function o09(I){var d="('|\\.')+",G={relevance:0,contains:[{begin:d}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[I.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:G},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+d,relevance:0},{className:"number",begin:I.C_NUMBER_RE,relevance:0,starts:G},{className:"string",begin:"'",end:"'",contains:[I.BACKSLASH_ESCAPE,{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:G},{className:"string",begin:'"',end:'"',contains:[I.BACKSLASH_ESCAPE,{begin:'""'}],starts:G},I.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),I.COMMENT("%","$")]}}EX2.exports=o09});var LX2=Y((vF3,SX2)=>{function e09(I){let Z=" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",C="_ __ %|0 %%|0";return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:Z,symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},I.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}SX2.exports=e09});var PX2=Y((EF3,yX2)=>{function t09(I){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[I.C_NUMBER_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE]},{begin:/[$%@](\^\w\b|#\w+|[^\s\w{]|\{\w+\}|\w+)/},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]}}yX2.exports=t09});var uX2=Y((MF3,$X2)=>{function I29(I){let d={keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",meta:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},G=I.COMMENT("%","$"),Z={className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},C=I.inherit(I.APOS_STRING_MODE,{relevance:0}),W=I.inherit(I.QUOTE_STRING_MODE,{relevance:0}),w={className:"subst",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0};return W.contains=W.contains.slice(),W.contains.push(w),{name:"Mercury",aliases:["m","moo"],keywords:d,contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},G,I.C_BLOCK_COMMENT_MODE,Z,I.NUMBER_MODE,C,W,{begin:/:-/},{begin:/\.$/}]}}$X2.exports=I29});var OX2=Y((SF3,TX2)=>{function d29(I){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+I.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},I.COMMENT("[;#](?!\\s*$)","$"),I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}TX2.exports=d29});var lX2=Y((LF3,mX2)=>{function G29(I){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[I.COMMENT("::","$")]}}mX2.exports=G29});var kX2=Y((yF3,jX2)=>{function hX2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function qR(...I){return I.map((G)=>hX2(G)).join("")}function bX2(...I){return"("+I.map((G)=>hX2(G)).join("|")+")"}function Z29(I){let d=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],G=/[dualxmsipngr]{0,12}/,Z={$pattern:/[\w.]+/,keyword:d.join(" ")},C={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:Z},W={begin:/->\{/,end:/\}/},w={variants:[{begin:/\$\d/},{begin:qR(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},B=[I.BACKSLASH_ESCAPE,C,w],A=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],V=(F,g,J="\\1")=>{let K=J==="\\1"?J:qR(J,g);return qR(qR("(?:",F,")"),g,/(?:\\.|[^\\\/])*?/,K,/(?:\\.|[^\\\/])*?/,J,G)},X=(F,g,J)=>{return qR(qR("(?:",F,")"),g,/(?:\\.|[^\\\/])*?/,J,G)},_=[w,I.HASH_COMMENT_MODE,I.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),W,{className:"string",contains:B,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[I.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+I.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[I.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:V("s|tr|y",bX2(...A))},{begin:V("s|tr|y","\\(","\\)")},{begin:V("s|tr|y","\\[","\\]")},{begin:V("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:X("(?:m|qr)?",/\//,/\//)},{begin:X("m|qr",bX2(...A),/\1/)},{begin:X("m|qr",/\(/,/\)/)},{begin:X("m|qr",/\[/,/\]/)},{begin:X("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[I.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return C.contains=_,W.contains=_,{name:"Perl",aliases:["pl","pm"],keywords:Z,contains:_}}jX2.exports=Z29});var cX2=Y((PF3,xX2)=>{function C29(I){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}xX2.exports=C29});var iX2=Y(($F3,pX2)=>{function W29(I){let d={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},I.NUMBER_MODE]};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw import",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[I.COMMENT("#rem","#end"),I.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},{className:"built_in",begin:"\\b(self|super)\\b"},{className:"meta",begin:"\\s*#",end:"$",keywords:{"meta-keyword":"if else elseif endif end then"}},{className:"meta",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[I.UNDERSCORE_TITLE_MODE]},I.QUOTE_STRING_MODE,d]}}pX2.exports=W29});var rX2=Y((uF3,nX2)=>{function w29(I){let d={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},G="[A-Za-z$_][0-9A-Za-z$_]*",Z={className:"subst",begin:/#\{/,end:/\}/,keywords:d},C=[I.inherit(I.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[I.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,Z]}]},{className:"built_in",begin:"@__"+I.IDENT_RE},{begin:"@"+I.IDENT_RE},{begin:I.IDENT_RE+"\\\\"+I.IDENT_RE}];Z.contains=C;let W=I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),w="(\\(.*\\)\\s*)?\\B[-=]>",B={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:d,contains:["self"].concat(C)}]};return{name:"MoonScript",aliases:["moon"],keywords:d,illegal:/\/\*/,contains:C.concat([I.COMMENT("--","$"),{className:"function",begin:"^\\s*[A-Za-z$_][0-9A-Za-z$_]*\\s*=\\s*"+w,end:"[-=]>",returnBegin:!0,contains:[W,B]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:w,end:"[-=]>",returnBegin:!0,contains:[B]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[W]},W]},{className:"name",begin:"[A-Za-z$_][0-9A-Za-z$_]*:",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}nX2.exports=w29});var sX2=Y((TF3,aX2)=>{function B29(I){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,endsWithParent:!0,keywords:{keyword:"all alter analyze and any array as asc begin between binary boolean break bucket build by call case cast cluster collate collection commit connect continue correlate cover create database dataset datastore declare decrement delete derived desc describe distinct do drop each element else end every except exclude execute exists explain fetch first flatten for force from function grant group gsi having if ignore ilike in include increment index infer inline inner insert intersect into is join key keys keyspace known last left let letting like limit lsm map mapping matched materialized merge minus namespace nest not number object offset on option or order outer over parse partition password path pool prepare primary private privilege procedure public raw realm reduce rename return returning revoke right role rollback satisfies schema select self semi set show some start statistics string system then to transaction trigger truncate under union unique unknown unnest unset update upsert use user using validate value valued values via view when where while with within work xor",literal:"true false null missing|5",built_in:"array_agg array_append array_concat array_contains array_count array_distinct array_ifnull array_length array_max array_min array_position array_prepend array_put array_range array_remove array_repeat array_replace array_reverse array_sort array_sum avg count max min sum greatest least ifmissing ifmissingornull ifnull missingif nullif ifinf ifnan ifnanorinf naninf neginfif posinfif clock_millis clock_str date_add_millis date_add_str date_diff_millis date_diff_str date_part_millis date_part_str date_trunc_millis date_trunc_str duration_to_str millis str_to_millis millis_to_str millis_to_utc millis_to_zone_name now_millis now_str str_to_duration str_to_utc str_to_zone_name decode_json encode_json encoded_size poly_length base64 base64_encode base64_decode meta uuid abs acos asin atan atan2 ceil cos degrees e exp ln log floor pi power radians random round sign sin sqrt tan trunc object_length object_names object_pairs object_inner_pairs object_values object_inner_values object_add object_put object_remove object_unwrap regexp_contains regexp_like regexp_position regexp_replace contains initcap length lower ltrim position repeat replace rtrim split substr title trim upper isarray isatom isboolean isnumber isobject isstring type toarray toatom toboolean tonumber toobject tostring"},contains:[{className:"string",begin:"'",end:"'",contains:[I.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[I.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE],relevance:2},I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE]},I.C_BLOCK_COMMENT_MODE]}}aX2.exports=B29});var eX2=Y((OF3,oX2)=>{function A29(I){let d={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/\}/},{begin:/[$@]/+I.UNDERSCORE_IDENT_RE}]},G={endsWithParent:!0,keywords:{$pattern:"[a-z/_]+",literal:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[I.HASH_COMMENT_MODE,{className:"string",contains:[I.BACKSLASH_ESCAPE,d],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[d]},{className:"regexp",contains:[I.BACKSLASH_ESCAPE,d],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},d]};return{name:"Nginx config",aliases:["nginxconf"],contains:[I.HASH_COMMENT_MODE,{begin:I.UNDERSCORE_IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\{/,contains:[{className:"section",begin:I.UNDERSCORE_IDENT_RE}],relevance:0},{begin:I.UNDERSCORE_IDENT_RE+"\\s",end:";|\\{",returnBegin:!0,contains:[{className:"attribute",begin:I.UNDERSCORE_IDENT_RE,starts:G}],relevance:0}],illegal:"[^\\s\\}]"}}oX2.exports=A29});var IY2=Y((mF3,tX2)=>{function V29(I){return{name:"Nim",keywords:{keyword:"addr and as asm bind block break case cast const continue converter discard distinct div do elif else end enum except export finally for from func generic if import in include interface is isnot iterator let macro method mixin mod nil not notin object of or out proc ptr raise ref return shl shr static template try tuple type using var when while with without xor yield",literal:"shared guarded stdin stdout stderr result true false",built_in:"int int8 int16 int32 int64 uint uint8 uint16 uint32 uint64 float float32 float64 bool char string cstring pointer expr stmt void auto any range array openarray varargs seq set clong culong cchar cschar cshort cint csize clonglong cfloat cdouble clongdouble cuchar cushort cuint culonglong cstringarray semistatic"},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},I.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},I.HASH_COMMENT_MODE]}}tX2.exports=V29});var GY2=Y((lF3,dY2)=>{function X29(I){let d={keyword:"rec with let in inherit assert if else then",literal:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},G={className:"subst",begin:/\$\{/,end:/\}/,keywords:d},Z={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/}]},C={className:"string",contains:[G],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},W=[I.NUMBER_MODE,I.HASH_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,C,Z];return G.contains=W,{name:"Nix",aliases:["nixos"],keywords:d,contains:W}}dY2.exports=X29});var CY2=Y((bF3,ZY2)=>{function Y29(I){return{name:"Node REPL",contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}ZY2.exports=Y29});var wY2=Y((hF3,WY2)=>{function _29(I){let d={className:"variable",begin:/\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)/},G={className:"variable",begin:/\$+\{[\w.:-]+\}/},Z={className:"variable",begin:/\$+\w+/,illegal:/\(\)\{\}/},C={className:"variable",begin:/\$+\([\w^.:-]+\)/},W={className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},w={className:"keyword",begin:/!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|searchparse|searchreplace|system|tempfile|undef|verbose|warning)/},B={className:"meta",begin:/\$(\\[nrt]|\$)/},A={className:"class",begin:/\w+::\w+/},V={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[B,d,G,Z,C]};return{name:"NSIS",case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecShellWait ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileWriteUTF16LE FileSeek FileWrite FileWriteByte FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetKnownFolderPath GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfRtlLanguage IfShellVarContextAll IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText Int64Cmp Int64CmpU Int64Fmt IntCmp IntCmpU IntFmt IntOp IntPtrCmp IntPtrCmpU IntPtrOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadAndSetImage LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestLongPathAware ManifestMaxVersionTested ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PEAddResource PEDllCharacteristics PERemoveResource PESubsysVer Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegMultiStr WriteRegNone WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both bottom bzip2 colored components current custom directory false force hide highest ifdiff ifnewer instfiles lastused leave left license listonly lzma nevershow none normal notset off on open print right show silent silentlog smooth textonly top true try un.components un.custom un.directory un.instfiles un.license uninstConfirm user Win10 Win7 Win8 WinVista zlib"},contains:[I.HASH_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup",end:"$"},V,w,G,Z,C,W,A,I.NUMBER_MODE]}}WY2.exports=_29});var AY2=Y((jF3,BY2)=>{function D29(I){let d={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},G=/[a-zA-Z@][a-zA-Z0-9_]*/,Z={$pattern:G,keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required @encode @package @import @defs @compatibility_alias __bridge __bridge_transfer __bridge_retained __bridge_retain __covariant __contravariant __kindof _Nonnull _Nullable _Null_unspecified __FUNCTION__ __PRETTY_FUNCTION__ __attribute__ getter setter retain unsafe_unretained nonnull nullable null_unspecified null_resettable class instancetype NS_DESIGNATED_INITIALIZER NS_UNAVAILABLE NS_REQUIRES_SUPER NS_RETURNS_INNER_POINTER NS_INLINE NS_AVAILABLE NS_DEPRECATED NS_ENUM NS_OPTIONS NS_SWIFT_UNAVAILABLE NS_ASSUME_NONNULL_BEGIN NS_ASSUME_NONNULL_END NS_REFINED_FOR_SWIFT NS_SWIFT_NAME NS_SWIFT_NOTHROW NS_DURING NS_HANDLER NS_ENDHANDLER NS_VALUERETURN NS_VOIDRETURN",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},C={$pattern:G,keyword:"@interface @class @protocol @implementation"};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:Z,illegal:"</",contains:[d,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.C_NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(I.QUOTE_STRING_MODE,{className:"meta-string"}),{className:"meta-string",begin:/<.*?>/,end:/$/,illegal:"\\n"},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+C.keyword.split(" ").join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:C,contains:[I.UNDERSCORE_TITLE_MODE]},{begin:"\\."+I.UNDERSCORE_IDENT_RE,relevance:0}]}}BY2.exports=D29});var XY2=Y((kF3,VY2)=>{function H29(I){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},I.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},I.inherit(I.APOS_STRING_MODE,{className:"string",relevance:0}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}VY2.exports=H29});var _Y2=Y((xF3,YY2)=>{function F29(I){let d={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},G={className:"literal",begin:"false|true|PI|undef"},Z={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},C=I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),W={className:"meta",keywords:{"meta-keyword":"include use"},begin:"include|use <",end:">"},w={className:"params",begin:"\\(",end:"\\)",contains:["self",Z,C,d,G]},B={begin:"[*!#%]",relevance:0},A={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[w,I.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,Z,W,C,d,B,A]}}YY2.exports=F29});var HY2=Y((cF3,DY2)=>{function g29(I){let d={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},G=I.COMMENT(/\{/,/\}/,{relevance:0}),Z=I.COMMENT("\\(\\*","\\*\\)",{relevance:10}),C={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},W={className:"string",begin:"(#\\d+)+"},w={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[I.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:d,contains:[C,W]},G,Z]};return{name:"Oxygene",case_insensitive:!0,keywords:d,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[G,Z,I.C_LINE_COMMENT_MODE,C,W,I.NUMBER_MODE,w,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:d,contains:[C,W,G,Z,I.C_LINE_COMMENT_MODE,w]}]}}DY2.exports=g29});var gY2=Y((pF3,FY2)=>{function J29(I){let d=I.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[I.COMMENT("^#","$"),I.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[d]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},I.C_NUMBER_MODE]}}FY2.exports=J29});var KY2=Y((iF3,JY2)=>{function K29(I){let d={className:"variable",begin:/\$[\w\d#@][\w\d_]*/},G={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[I.HASH_COMMENT_MODE,I.NUMBER_MODE,I.QUOTE_STRING_MODE,d,G]}}JY2.exports=K29});var zY2=Y((nF3,NY2)=>{function N29(I){let d=I.COMMENT("--","$"),G="[a-zA-Z_][a-zA-Z_0-9$]*",Z="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",C="<<\\s*[a-zA-Z_][a-zA-Z_0-9$]*\\s*>>",W="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",w="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",B="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",A="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",V=A.trim().split(" ").map(function(K){return K.split("|")[0]}).join("|"),X="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",_="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",F="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",J="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(K){return K.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],case_insensitive:!0,keywords:{keyword:W+B+w,built_in:X+_+F},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:I.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+J+")\\s*\\("},{begin:"\\.("+V+")\\b"},{begin:"\\b("+V+")\\s+PATH\\b",keywords:{keyword:"PATH",type:A.replace("PATH ","")}},{className:"type",begin:"\\b("+V+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},I.END_SAME_AS_BEGIN({begin:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",end:"\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,d,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:C,relevance:10}]}}NY2.exports=N29});var fY2=Y((rF3,QY2)=>{function z29(I){let d={className:"variable",begin:"\\$+[a-zA-Z_-ÿ][a-zA-Z0-9_-ÿ]*"+"(?![A-Za-z0-9])(?![$])"},G={className:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?[=]?/},{begin:/\?>/}]},Z={className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},C=I.inherit(I.APOS_STRING_MODE,{illegal:null}),W=I.inherit(I.QUOTE_STRING_MODE,{illegal:null,contains:I.QUOTE_STRING_MODE.contains.concat(Z)}),w=I.END_SAME_AS_BEGIN({begin:/<<<[ \t]*(\w+)\n/,end:/[ \t]*(\w+)\b/,contains:I.QUOTE_STRING_MODE.contains.concat(Z)}),B={className:"string",contains:[I.BACKSLASH_ESCAPE,G],variants:[I.inherit(C,{begin:"b'",end:"'"}),I.inherit(W,{begin:'b"',end:'"'}),W,C,w]},A={className:"number",variants:[{begin:"\\b0b[01]+(?:_[01]+)*\\b"},{begin:"\\b0o[0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0x[\\da-f]+(?:_[\\da-f]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:e[+-]?\\d+)?"}],relevance:0},V={keyword:"__CLASS__ __DIR__ __FILE__ __FUNCTION__ __LINE__ __METHOD__ __NAMESPACE__ __TRAIT__ die echo exit include include_once print require require_once array abstract and as binary bool boolean break callable case catch class clone const continue declare default do double else elseif empty enddeclare endfor endforeach endif endswitch endwhile enum eval extends final finally float for foreach from global goto if implements instanceof insteadof int integer interface isset iterable list match|0 mixed new object or private protected public real return string switch throw trait try unset use var void while xor yield",literal:"false null true",built_in:"Error|0 AppendIterator ArgumentCountError ArithmeticError ArrayIterator ArrayObject AssertionError BadFunctionCallException BadMethodCallException CachingIterator CallbackFilterIterator CompileError Countable DirectoryIterator DivisionByZeroError DomainException EmptyIterator ErrorException Exception FilesystemIterator FilterIterator GlobIterator InfiniteIterator InvalidArgumentException IteratorIterator LengthException LimitIterator LogicException MultipleIterator NoRewindIterator OutOfBoundsException OutOfRangeException OuterIterator OverflowException ParentIterator ParseError RangeException RecursiveArrayIterator RecursiveCachingIterator RecursiveCallbackFilterIterator RecursiveDirectoryIterator RecursiveFilterIterator RecursiveIterator RecursiveIteratorIterator RecursiveRegexIterator RecursiveTreeIterator RegexIterator RuntimeException SeekableIterator SplDoublyLinkedList SplFileInfo SplFileObject SplFixedArray SplHeap SplMaxHeap SplMinHeap SplObjectStorage SplObserver SplObserver SplPriorityQueue SplQueue SplStack SplSubject SplSubject SplTempFileObject TypeError UnderflowException UnexpectedValueException UnhandledMatchError ArrayAccess Closure Generator Iterator IteratorAggregate Serializable Stringable Throwable Traversable WeakReference WeakMap Directory __PHP_Incomplete_Class parent php_user_filter self static stdClass"};return{aliases:["php3","php4","php5","php6","php7","php8"],case_insensitive:!0,keywords:V,contains:[I.HASH_COMMENT_MODE,I.COMMENT("//","$",{contains:[G]}),I.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),I.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler"}),G,{className:"keyword",begin:/\$this\b/},d,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},I.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{className:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:V,contains:["self",d,I.C_BLOCK_COMMENT_MODE,B,A]}]},{className:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},I.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[I.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",relevance:0,end:";",contains:[I.UNDERSCORE_TITLE_MODE]},B,A]}}QY2.exports=z29});var RY2=Y((aF3,qY2)=>{function Q29(I){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},I.inherit(I.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}qY2.exports=Q29});var vY2=Y((sF3,UY2)=>{function f29(I){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}UY2.exports=f29});var MY2=Y((oF3,EY2)=>{function q29(I){let d={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},G={className:"string",begin:'"""',end:'"""',relevance:10},Z={className:"string",begin:'"',end:'"',contains:[I.BACKSLASH_ESCAPE]},C={className:"string",begin:"'",end:"'",contains:[I.BACKSLASH_ESCAPE],relevance:0},W={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},w={begin:I.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:d,contains:[W,G,Z,C,w,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]}}EY2.exports=q29});var LY2=Y((eF3,SY2)=>{function R29(I){let d=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],G="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",Z="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",C={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},W=/\w[\w\d]*((-)[\w\d]+)*/,w={begin:"`[\\s\\S]",relevance:0},B={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},A={className:"literal",begin:/\$(null|true|false)\b/},V={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[w,B,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},X={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},_={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},F=I.inherit(I.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[_]}),g={className:"built_in",variants:[{begin:"(".concat(G,")+(-)[\\w\\d]+")}]},J={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[I.TITLE_MODE]},K={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:W,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[B]}]},Q={begin:/using\s/,end:/$/,returnBegin:!0,contains:[V,X,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},E={variants:[{className:"operator",begin:"(".concat(Z,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},S={className:"selector-tag",begin:/@\B/,relevance:0},P={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(C.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},I.inherit(I.TITLE_MODE,{endsParent:!0})]},$=[P,F,w,I.NUMBER_MODE,V,X,g,B,A,S],h={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",$,{begin:"("+d.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return P.contains.unshift(h),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:C,contains:$.concat(J,K,Q,E,h)}}SY2.exports=R29});var PY2=Y((tF3,yY2)=>{function U29(I){return{name:"Processing",keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",title:"setup draw",built_in:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE]}}yY2.exports=U29});var uY2=Y((Ig3,$Y2)=>{function v29(I){return{name:"Python profiler",contains:[I.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[I.C_NUMBER_MODE],relevance:10},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}$Y2.exports=v29});var OY2=Y((dg3,TY2)=>{function E29(I){let d={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},G={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},Z={begin:/\(/,end:/\)/,relevance:0},C={begin:/\[/,end:/\]/},W={className:"comment",begin:/%/,end:/$/,contains:[I.PHRASAL_WORDS_MODE]},w={className:"string",begin:/`/,end:/`/,contains:[I.BACKSLASH_ESCAPE]},B={className:"string",begin:/0'(\\'|.)/},A={className:"string",begin:/0'\\s/},X=[d,G,Z,{begin:/:-/},C,W,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,w,B,A,I.C_NUMBER_MODE];return Z.contains=X,C.contains=X,{name:"Prolog",contains:X.concat([{begin:/\.$/}])}}TY2.exports=E29});var lY2=Y((Gg3,mY2)=>{function M29(I){var d="[ \\t\\f]*",G="[ \\t\\f]+",Z=d+"[:=]"+d,C=G,W="("+Z+"|"+C+")",w="([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",B="([^\\\\:= \\t\\f\\n]|\\\\.)+",A={end:W,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",case_insensitive:!0,illegal:/\S/,contains:[I.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:w+Z,relevance:1},{begin:w+C,relevance:0}],contains:[{className:"attr",begin:w,endsParent:!0,relevance:0}],starts:A},{begin:B+W,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:B,endsParent:!0,relevance:0}],starts:A},{className:"attr",relevance:0,begin:B+d+"$"}]}}mY2.exports=M29});var hY2=Y((Zg3,bY2)=>{function S29(I){return{name:"Protocol Buffers",keywords:{keyword:"package import option optional required repeated group oneof",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[I.QUOTE_STRING_MODE,I.NUMBER_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[I.inherit(I.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}bY2.exports=S29});var kY2=Y((Cg3,jY2)=>{function L29(I){let d={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},G=I.COMMENT("#","$"),Z="([A-Za-z_]|::)(\\w|::)*",C=I.inherit(I.TITLE_MODE,{begin:"([A-Za-z_]|::)(\\w|::)*"}),W={className:"variable",begin:"\\$([A-Za-z_]|::)(\\w|::)*"},w={className:"string",contains:[I.BACKSLASH_ESCAPE,W],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[G,W,w,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[C,G]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:I.IDENT_RE,endsParent:!0}]},{begin:I.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:I.IDENT_RE},{begin:/\{/,end:/\}/,keywords:d,relevance:0,contains:[w,G,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:I.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},W]}],relevance:0}]}}jY2.exports=L29});var cY2=Y((Wg3,xY2)=>{function y29(I){let d={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},G={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until  UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[I.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},I.UNDERSCORE_TITLE_MODE]},d,G]}}xY2.exports=y29});var iY2=Y((wg3,pY2)=>{function P29(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function $29(I){return u29("(?=",I,")")}function u29(...I){return I.map((G)=>P29(G)).join("")}function T29(I){let W={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:["and","as","assert","async","await","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},w={className:"meta",begin:/^(>>>|\.\.\.) /},B={className:"subst",begin:/\{/,end:/\}/,keywords:W,illegal:/#/},A={begin:/\{\{/,relevance:0},V={className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[I.BACKSLASH_ESCAPE,w],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[I.BACKSLASH_ESCAPE,w],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[I.BACKSLASH_ESCAPE,w,A,B]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[I.BACKSLASH_ESCAPE,w,A,B]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[I.BACKSLASH_ESCAPE,A,B]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,A,B]},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]},X="[0-9](_?[0-9])*",_="(\\b([0-9](_?[0-9])*))?\\.([0-9](_?[0-9])*)|\\b([0-9](_?[0-9])*)\\.",F={className:"number",relevance:0,variants:[{begin:"(\\b([0-9](_?[0-9])*)|((\\b([0-9](_?[0-9])*))?\\.([0-9](_?[0-9])*)|\\b([0-9](_?[0-9])*)\\.))[eE][+-]?([0-9](_?[0-9])*)[jJ]?\\b"},{begin:"((\\b([0-9](_?[0-9])*))?\\.([0-9](_?[0-9])*)|\\b([0-9](_?[0-9])*)\\.)[jJ]?"},{begin:"\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"},{begin:"\\b0[bB](_?[01])+[lL]?\\b"},{begin:"\\b0[oO](_?[0-7])+[lL]?\\b"},{begin:"\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"},{begin:"\\b([0-9](_?[0-9])*)[jJ]\\b"}]},g={className:"comment",begin:$29(/# type:/),end:/$/,keywords:W,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},J={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:["self",w,F,V,I.HASH_COMMENT_MODE]}]};return B.contains=[V,F,w],{name:"Python",aliases:["py","gyp","ipython"],keywords:W,illegal:/(<\/|->|\?)|=>/,contains:[w,F,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},V,g,I.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def"},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[I.UNDERSCORE_TITLE_MODE,J,{begin:/->/,endsWithParent:!0,keywords:W}]},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[F,J,V]}]}}pY2.exports=T29});var rY2=Y((Bg3,nY2)=>{function O29(I){return{aliases:["pycon"],contains:[{className:"meta",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}nY2.exports=O29});var sY2=Y((Ag3,aY2)=>{function m29(I){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[I.C_LINE_COMMENT_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE]}}aY2.exports=m29});var eY2=Y((Vg3,oY2)=>{function l29(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function b29(...I){return I.map((G)=>l29(G)).join("")}function h29(I){let d={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},G="[a-zA-Z_][a-zA-Z0-9\\._]*",Z={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},C={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},W={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:"[a-zA-Z_][a-zA-Z0-9\\._]*",returnEnd:!1}},w={begin:"[a-zA-Z_][a-zA-Z0-9\\._]*\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:"[a-zA-Z_][a-zA-Z0-9\\._]*",end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},B={begin:b29("[a-zA-Z_][a-zA-Z0-9\\._]*",/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[I.inherit(I.TITLE_MODE,{begin:"[a-zA-Z_][a-zA-Z0-9\\._]*"})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:d,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:I.C_NUMBER_RE}],relevance:0},{begin:"("+I.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},C,Z,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[I.inherit(I.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+I.IDENT_RE,relevance:0},W,w,B],illegal:/#/}}oY2.exports=h29});var I_2=Y((Xg3,tY2)=>{function j29(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function k29(I){return rF1("(?=",I,")")}function rF1(...I){return I.map((G)=>j29(G)).join("")}function x29(I){let d=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,G=/[a-zA-Z][a-zA-Z_0-9]*/;return{name:"R",illegal:/->/,keywords:{$pattern:d,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},compilerExtensions:[(Z,C)=>{if(!Z.beforeMatch)return;if(Z.starts)throw new Error("beforeMatch cannot be used with starts");let W=Object.assign({},Z);Object.keys(Z).forEach((w)=>{delete Z[w]}),Z.begin=rF1(W.beforeMatch,k29(W.begin)),Z.starts={relevance:0,contains:[Object.assign(W,{endsParent:!0})]},Z.relevance=0,delete W.beforeMatch}],contains:[I.COMMENT(/#'/,/$/,{contains:[{className:"doctag",begin:"@examples",starts:{contains:[{begin:/\n/},{begin:/#'\s*(?=@[a-zA-Z]+)/,endsParent:!0},{begin:/#'/,end:/$/,excludeBegin:!0}]}},{className:"doctag",begin:"@param",end:/$/,contains:[{className:"variable",variants:[{begin:d},{begin:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{className:"doctag",begin:/@[a-zA-Z]+/},{className:"meta-keyword",begin:/\\[a-zA-Z]+/}]}),I.HASH_COMMENT_MODE,{className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[I.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),I.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),I.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),I.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),I.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),I.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{className:"number",relevance:0,beforeMatch:/([^a-zA-Z0-9._])/,variants:[{match:/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/},{match:/0[xX][0-9a-fA-F]+([pP][+-]?\d+)?[Li]?/},{match:/(\d+(\.\d*)?|\.\d+)([eE][+-]?\d+)?[Li]?/}]},{begin:"%",end:"%"},{begin:rF1(G,"\\s+<-\\s+")},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}tY2.exports=x29});var G_2=Y((Yg3,d_2)=>{function c29(I){function d(h){return h.map(function(O){return O.split("").map(function(T){return"\\"+T}).join("")}).join("|")}let G="~?[a-z$_][0-9a-zA-Z$_]*",Z="`?[A-Z$_][0-9a-zA-Z$_]*",C="'?[a-z$_][0-9a-z$_]*",W="\\s*:\\s*[a-z$_][0-9a-z$_]*(\\(\\s*("+C+"\\s*(,"+C+"\\s*)*)?\\))?",w=G+"("+W+"){0,2}",B="("+d(["||","++","**","+.","*","/","*.","/.","..."])+"|\\|>|&&|==|===)",A="\\s+"+B+"\\s+",V={keyword:"and as asr assert begin class constraint do done downto else end exception external for fun function functor if in include inherit initializer land lazy let lor lsl lsr lxor match method mod module mutable new nonrec object of open or private rec sig struct then to try type val virtual when while with",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 ref string unit ",literal:"true false"},X="\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",_={className:"number",relevance:0,variants:[{begin:X},{begin:"\\(-"+X+"\\)"}]},F={className:"operator",relevance:0,begin:B},g=[{className:"identifier",relevance:0,begin:G},F,_],J=[I.QUOTE_STRING_MODE,F,{className:"module",begin:"\\b"+Z,returnBegin:!0,end:".",contains:[{className:"identifier",begin:Z,relevance:0}]}],K=[{className:"module",begin:"\\b"+Z,returnBegin:!0,end:".",relevance:0,contains:[{className:"identifier",begin:Z,relevance:0}]}],Q={begin:G,end:"(,|\\n|\\))",relevance:0,contains:[F,{className:"typing",begin:":",end:"(,|\\n)",returnBegin:!0,relevance:0,contains:K}]},E={className:"function",relevance:0,keywords:V,variants:[{begin:"\\s(\\(\\.?.*?\\)|"+G+")\\s*=>",end:"\\s*=>",returnBegin:!0,relevance:0,contains:[{className:"params",variants:[{begin:G},{begin:w},{begin:/\(\s*\)/}]}]},{begin:"\\s\\(\\.?[^;\\|]*\\)\\s*=>",end:"\\s=>",returnBegin:!0,relevance:0,contains:[{className:"params",relevance:0,variants:[Q]}]},{begin:"\\(\\.\\s"+G+"\\)\\s*=>"}]};J.push(E);let S={className:"constructor",begin:Z+"\\(",end:"\\)",illegal:"\\n",keywords:V,contains:[I.QUOTE_STRING_MODE,F,{className:"params",begin:"\\b"+G}]},P={className:"pattern-match",begin:"\\|",returnBegin:!0,keywords:V,end:"=>",relevance:0,contains:[S,F,{relevance:0,className:"constructor",begin:Z}]},$={className:"module-access",keywords:V,returnBegin:!0,variants:[{begin:"\\b("+Z+"\\.)+"+G},{begin:"\\b("+Z+"\\.)+\\(",end:"\\)",returnBegin:!0,contains:[E,{begin:"\\(",end:"\\)",skip:!0}].concat(J)},{begin:"\\b("+Z+"\\.)+\\{",end:/\}/}],contains:J};return K.push($),{name:"ReasonML",aliases:["re"],keywords:V,illegal:"(:-|:=|\\$\\{|\\+=)",contains:[I.COMMENT("/\\*","\\*/",{illegal:"^(#,\\/\\/)"}),{className:"character",begin:"'(\\\\[^']+|[^'])'",illegal:"\\n",relevance:0},I.QUOTE_STRING_MODE,{className:"literal",begin:"\\(\\)",relevance:0},{className:"literal",begin:"\\[\\|",end:"\\|\\]",relevance:0,contains:g},{className:"literal",begin:"\\[",end:"\\]",relevance:0,contains:g},S,{className:"operator",begin:A,illegal:"-->",relevance:0},_,I.C_LINE_COMMENT_MODE,P,E,{className:"module-def",begin:"\\bmodule\\s+"+G+"\\s+"+Z+"\\s+=\\s+\\{",end:/\}/,returnBegin:!0,keywords:V,relevance:0,contains:[{className:"module",relevance:0,begin:Z},{begin:/\{/,end:/\}/,skip:!0}].concat(J)},$]}}d_2.exports=c29});var C_2=Y((_g3,Z_2)=>{function p29(I){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[I.HASH_COMMENT_MODE,I.C_NUMBER_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}}Z_2.exports=p29});var w_2=Y((Dg3,W_2)=>{function i29(I){let G={className:"attribute",begin:/[a-zA-Z-_]+/,end:/\s*:/,excludeEnd:!0,starts:{end:";",relevance:0,contains:[{className:"variable",begin:/\.[a-zA-Z-_]+/},{className:"keyword",begin:/\(optional\)/}]}};return{name:"Roboconf",aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{begin:"^facet [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"facet",contains:[G,I.HASH_COMMENT_MODE]},{begin:"^\\s*instance of [a-zA-Z-_][^\\n{]+\\{",end:/\}/,keywords:"name count channels instance-data instance-state instance of",illegal:/\S/,contains:["self",G,I.HASH_COMMENT_MODE]},{begin:"^[a-zA-Z-_][^\\n{]+\\{",end:/\}/,contains:[G,I.HASH_COMMENT_MODE]},I.HASH_COMMENT_MODE]}}W_2.exports=i29});var A_2=Y((Hg3,B_2)=>{function n29(I){let w={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},B={className:"string",begin:/"/,end:/"/,contains:[I.BACKSLASH_ESCAPE,w,{className:"variable",begin:/\$\(/,end:/\)/,contains:[I.BACKSLASH_ESCAPE]}]},A={className:"string",begin:/'/,end:/'/};return{name:"Microtik RouterOS script",aliases:["mikrotik"],case_insensitive:!0,keywords:{$pattern:/:?[\w-]+/,literal:"true false yes no nothing nil null",keyword:"foreach do while for if from to step else on-error and or not in :"+"foreach do while for if from to step else on-error and or not in".split(" ").join(" :")+" :"+"global local beep delay put len typeof pick log time set find environment terminal error execute parse resolve toarray tobool toid toip toip6 tonum tostr totime".split(" ").join(" :")},contains:[{variants:[{begin:/\/\*/,end:/\*\//},{begin:/\/\//,end:/$/},{begin:/<\//,end:/>/}],illegal:/./},I.COMMENT("^#","$"),B,A,w,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[B,A,w,{className:"literal",begin:"\\b("+"true false yes no nothing nil null".split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+"add remove enable disable set get print export edit find run debug error info warning".split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"builtin-name",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+"traffic-flow traffic-generator firewall scheduler aaa accounting address-list address align area bandwidth-server bfd bgp bridge client clock community config connection console customer default dhcp-client dhcp-server discovery dns e-mail ethernet filter firmware gps graphing group hardware health hotspot identity igmp-proxy incoming instance interface ip ipsec ipv6 irq l2tp-server lcd ldp logging mac-server mac-winbox mangle manual mirror mme mpls nat nd neighbor network note ntp ospf ospf-v3 ovpn-server page peer pim ping policy pool port ppp pppoe-client pptp-server prefix profile proposal proxy queue radius resource rip ripng route routing screen script security-profiles server service service-port settings shares smb sms sniffer snmp snooper socks sstp-server system tool tracking type upgrade upnp user-manager users user vlan secret vrrp watchdog web-access wireless pptp pppoe lan wan layer7-protocol lease simple raw".split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}B_2.exports=n29});var X_2=Y((Fg3,V_2)=>{function r29(I){return{name:"RenderMan RSL",keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},{className:"class",beginKeywords:"surface displacement light volume imager",end:"\\("},{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}V_2.exports=r29});var __2=Y((gg3,Y_2)=>{function a29(I){return{name:"Oracle Rules Language",keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,{className:"literal",variants:[{begin:"#\\s+",relevance:0},{begin:"#[a-zA-Z .]+"}]}]}}Y_2.exports=a29});var H_2=Y((Jg3,D_2)=>{function s29(I){let G="abstract as async await become box break const continue crate do dyn else enum extern false final fn for if impl in let loop macro match mod move mut override priv pub ref return self Self static struct super trait true try type typeof unsafe unsized use virtual where while yield",Z="drop i8 i16 i32 i64 i128 isize u8 u16 u32 u64 u128 usize f32 f64 str char bool Box Option Result String Vec Copy Send Sized Sync Drop Fn FnMut FnOnce ToOwned Clone Debug PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator SliceConcatExt ToString assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln! macro_rules! assert_ne! debug_assert_ne!";return{name:"Rust",aliases:["rs"],keywords:{$pattern:I.IDENT_RE+"!?",keyword:G,literal:"true false Some None Ok Err",built_in:Z},illegal:"</",contains:[I.C_LINE_COMMENT_MODE,I.COMMENT("/\\*","\\*/",{contains:["self"]}),I.inherit(I.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"string",variants:[{begin:/r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/}]},{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*/},{className:"number",variants:[{begin:"\\b0b([01_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0o([0-7_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b0x([A-Fa-f0-9_]+)([ui](8|16|32|64|128|size)|f(32|64))?"},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)([ui](8|16|32|64|128|size)|f(32|64))?"}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[I.UNDERSCORE_TITLE_MODE]},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[I.inherit(I.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beginKeywords:"trait enum struct union",end:/\{/,contains:[I.inherit(I.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:I.IDENT_RE+"::",keywords:{built_in:Z}},{begin:"->"}]}}D_2.exports=s29});var g_2=Y((Kg3,F_2)=>{function o29(I){let d="do if then else end until while abort array attrib by call cards cards4 catname continue datalines datalines4 delete delim delimiter display dm drop endsas error file filename footnote format goto in infile informat input keep label leave length libname link list lostcard merge missing modify options output out page put redirect remove rename replace retain return select set skip startsas stop title update waitsas where window x systask add and alter as cascade check create delete describe distinct drop foreign from group having index insert into in key like message modify msgtype not null on or order primary references reset restrict select set table unique update validate view where",G="abs|addr|airy|arcos|arsin|atan|attrc|attrn|band|betainv|blshift|bnot|bor|brshift|bxor|byte|cdf|ceil|cexist|cinv|close|cnonct|collate|compbl|compound|compress|cos|cosh|css|curobs|cv|daccdb|daccdbsl|daccsl|daccsyd|dacctab|dairy|date|datejul|datepart|datetime|day|dclose|depdb|depdbsl|depdbsl|depsl|depsl|depsyd|depsyd|deptab|deptab|dequote|dhms|dif|digamma|dim|dinfo|dnum|dopen|doptname|doptnum|dread|dropnote|dsname|erf|erfc|exist|exp|fappend|fclose|fcol|fdelete|fetch|fetchobs|fexist|fget|fileexist|filename|fileref|finfo|finv|fipname|fipnamel|fipstate|floor|fnonct|fnote|fopen|foptname|foptnum|fpoint|fpos|fput|fread|frewind|frlen|fsep|fuzz|fwrite|gaminv|gamma|getoption|getvarc|getvarn|hbound|hms|hosthelp|hour|ibessel|index|indexc|indexw|input|inputc|inputn|int|intck|intnx|intrr|irr|jbessel|juldate|kurtosis|lag|lbound|left|length|lgamma|libname|libref|log|log10|log2|logpdf|logpmf|logsdf|lowcase|max|mdy|mean|min|minute|mod|month|mopen|mort|n|netpv|nmiss|normal|note|npv|open|ordinal|pathname|pdf|peek|peekc|pmf|point|poisson|poke|probbeta|probbnml|probchi|probf|probgam|probhypr|probit|probnegb|probnorm|probt|put|putc|putn|qtr|quote|ranbin|rancau|ranexp|rangam|range|rank|rannor|ranpoi|rantbl|rantri|ranuni|repeat|resolve|reverse|rewind|right|round|saving|scan|sdf|second|sign|sin|sinh|skewness|soundex|spedis|sqrt|std|stderr|stfips|stname|stnamel|substr|sum|symget|sysget|sysmsg|sysprod|sysrc|system|tan|tanh|time|timepart|tinv|tnonct|today|translate|tranwrd|trigamma|trim|trimn|trunc|uniform|upcase|uss|var|varfmt|varinfmt|varlabel|varlen|varname|varnum|varray|varrayx|vartype|verify|vformat|vformatd|vformatdx|vformatn|vformatnx|vformatw|vformatwx|vformatx|vinarray|vinarrayx|vinformat|vinformatd|vinformatdx|vinformatn|vinformatnx|vinformatw|vinformatwx|vinformatx|vlabel|vlabelx|vlength|vlengthx|vname|vnamex|vtype|vtypex|weekday|year|yyq|zipfips|zipname|zipnamel|zipstate";return{name:"SAS",case_insensitive:!0,keywords:{literal:"null missing _all_ _automatic_ _character_ _infile_ _n_ _name_ _null_ _numeric_ _user_ _webout_",meta:d},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{className:"emphasis",begin:/^\s*datalines|cards.*;/,end:/^\s*;\s*$/},{className:"built_in",begin:"%("+"bquote|nrbquote|cmpres|qcmpres|compstor|datatyp|display|do|else|end|eval|global|goto|if|index|input|keydef|label|left|length|let|local|lowcase|macro|mend|nrbquote|nrquote|nrstr|put|qcmpres|qleft|qlowcase|qscan|qsubstr|qsysfunc|qtrim|quote|qupcase|scan|str|substr|superq|syscall|sysevalf|sysexec|sysfunc|sysget|syslput|sysprod|sysrc|sysrput|then|to|trim|unquote|until|upcase|verify|while|window"+")"},{className:"name",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:"[^%]("+G+")[(]"},{className:"string",variants:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]},I.COMMENT("\\*",";"),I.C_BLOCK_COMMENT_MODE]}}F_2.exports=o29});var K_2=Y((Ng3,J_2)=>{function e29(I){let d={className:"meta",begin:"@[A-Za-z]+"},G={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},Z={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[I.BACKSLASH_ESCAPE,G]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[G],relevance:10}]},C={className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},W={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},w={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},B={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[W]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[W]},w]},A={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[w]};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,Z,C,W,A,B,I.C_NUMBER_MODE,d]}}J_2.exports=e29});var z_2=Y((zg3,N_2)=>{function t29(I){let Z="(-|\\+)?\\d+([./]\\d+)?[+\\-](-|\\+)?\\d+([./]\\d+)?i",C={$pattern:"[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+","builtin-name":"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},W={className:"literal",begin:"(#t|#f|#\\\\[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+|#\\\\.)"},w={className:"number",variants:[{begin:"(-|\\+)?\\d+([./]\\d+)?",relevance:0},{begin:Z,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},B=I.QUOTE_STRING_MODE,A=[I.COMMENT(";","$",{relevance:0}),I.COMMENT("#\\|","\\|#")],V={begin:"[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",relevance:0},X={className:"symbol",begin:"'[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+"},_={endsWithParent:!0,relevance:0},F={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",W,B,w,V,X]}]},g={className:"name",relevance:0,begin:"[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",keywords:C},K={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[g,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[V]}]},g,_]};return _.contains=[W,w,B,V,X,F,K].concat(A),{name:"Scheme",illegal:/\S/,contains:[I.SHEBANG(),w,B,X,F,K].concat(A)}}N_2.exports=t29});var f_2=Y((Qg3,Q_2)=>{function I49(I){let d=[I.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[I.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[I.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:d},I.COMMENT("//","$")].concat(d)}}Q_2.exports=I49});var R_2=Y((fg3,q_2)=>{var d49=(I)=>{return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}}},G49=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Z49=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],C49=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],W49=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],w49=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function B49(I){let d=d49(I),G=W49,Z=C49,C="@[a-z-]+",W="and or not only",w="[a-zA-Z-][a-zA-Z0-9_-]*",B={className:"variable",begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b"};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},d.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+G49.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+Z.join("|")+")"},{className:"selector-pseudo",begin:"::("+G.join("|")+")"},B,{begin:/\(/,end:/\)/,contains:[I.CSS_NUMBER_MODE]},{className:"attribute",begin:"\\b("+w49.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:":",end:";",contains:[B,d.HEXCOLOR,I.CSS_NUMBER_MODE,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,d.IMPORTANT]},{begin:"@(page|font-face)",lexemes:"@[a-z-]+",keywords:"@page @font-face"},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Z49.join(" ")},contains:[{begin:"@[a-z-]+",className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},B,I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,d.HEXCOLOR,I.CSS_NUMBER_MODE]}]}}q_2.exports=B49});var v_2=Y((qg3,U_2)=>{function A49(I){return{name:"Shell Session",aliases:["console"],contains:[{className:"meta",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}U_2.exports=A49});var M_2=Y((Rg3,E_2)=>{function V49(I){let d=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],G=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],Z=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},I.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+Z.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+d.join("|")+")\\s"},{begin:"\\s("+d.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+G.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;:
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}E_2.exports=V49});var L_2=Y((Ug3,S_2)=>{function X49(I){let G={className:"string",begin:"\\$.{1}"},Z={className:"symbol",begin:"#"+I.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:"self super nil true false thisContext",contains:[I.COMMENT('"','"'),I.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:"[a-z][a-zA-Z0-9_]*:",relevance:0},I.C_NUMBER_MODE,Z,G,{begin:"\\|[ ]*[a-z][a-zA-Z0-9_]*([ ]+[a-z][a-zA-Z0-9_]*)*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?[a-z][a-zA-Z0-9_]*"}]},{begin:"#\\(",end:"\\)",contains:[I.APOS_STRING_MODE,G,I.C_NUMBER_MODE,Z]}]}}S_2.exports=X49});var P_2=Y((vg3,y_2)=>{function Y49(I){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},I.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},I.inherit(I.APOS_STRING_MODE,{className:"string",relevance:0}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}y_2.exports=Y49});var u_2=Y((Eg3,$_2)=>{function _49(I){let d={className:"variable",begin:/\b_+[a-zA-Z]\w*/},G={className:"title",begin:/[a-zA-Z][a-zA-Z0-9]+_fnc_\w*/},Z={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},C={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{"meta-keyword":"define undef ifdef ifndef else endif include"},contains:[{begin:/\\\n/,relevance:0},I.inherit(Z,{className:"meta-string"}),{className:"meta-string",begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:"case catch default do else exit exitWith for forEach from if private switch then throw to try waitUntil while with",built_in:"abs accTime acos action actionIDs actionKeys actionKeysImages actionKeysNames actionKeysNamesArray actionName actionParams activateAddons activatedAddons activateKey add3DENConnection add3DENEventHandler add3DENLayer addAction addBackpack addBackpackCargo addBackpackCargoGlobal addBackpackGlobal addCamShake addCuratorAddons addCuratorCameraArea addCuratorEditableObjects addCuratorEditingArea addCuratorPoints addEditorObject addEventHandler addForce addGoggles addGroupIcon addHandgunItem addHeadgear addItem addItemCargo addItemCargoGlobal addItemPool addItemToBackpack addItemToUniform addItemToVest addLiveStats addMagazine addMagazineAmmoCargo addMagazineCargo addMagazineCargoGlobal addMagazineGlobal addMagazinePool addMagazines addMagazineTurret addMenu addMenuItem addMissionEventHandler addMPEventHandler addMusicEventHandler addOwnedMine addPlayerScores addPrimaryWeaponItem addPublicVariableEventHandler addRating addResources addScore addScoreSide addSecondaryWeaponItem addSwitchableUnit addTeamMember addToRemainsCollector addTorque addUniform addVehicle addVest addWaypoint addWeapon addWeaponCargo addWeaponCargoGlobal addWeaponGlobal addWeaponItem addWeaponPool addWeaponTurret admin agent agents AGLToASL aimedAtTarget aimPos airDensityRTD airplaneThrottle airportSide AISFinishHeal alive all3DENEntities allAirports allControls allCurators allCutLayers allDead allDeadMen allDisplays allGroups allMapMarkers allMines allMissionObjects allow3DMode allowCrewInImmobile allowCuratorLogicIgnoreAreas allowDamage allowDammage allowFileOperations allowFleeing allowGetIn allowSprint allPlayers allSimpleObjects allSites allTurrets allUnits allUnitsUAV allVariables ammo ammoOnPylon and animate animateBay animateDoor animatePylon animateSource animationNames animationPhase animationSourcePhase animationState append apply armoryPoints arrayIntersect asin ASLToAGL ASLToATL assert assignAsCargo assignAsCargoIndex assignAsCommander assignAsDriver assignAsGunner assignAsTurret assignCurator assignedCargo assignedCommander assignedDriver assignedGunner assignedItems assignedTarget assignedTeam assignedVehicle assignedVehicleRole assignItem assignTeam assignToAirport atan atan2 atg ATLToASL attachedObject attachedObjects attachedTo attachObject attachTo attackEnabled backpack backpackCargo backpackContainer backpackItems backpackMagazines backpackSpaceFor behaviour benchmark binocular boundingBox boundingBoxReal boundingCenter breakOut breakTo briefingName buildingExit buildingPos buttonAction buttonSetAction cadetMode call callExtension camCommand camCommit camCommitPrepared camCommitted camConstuctionSetParams camCreate camDestroy cameraEffect cameraEffectEnableHUD cameraInterest cameraOn cameraView campaignConfigFile camPreload camPreloaded camPrepareBank camPrepareDir camPrepareDive camPrepareFocus camPrepareFov camPrepareFovRange camPreparePos camPrepareRelPos camPrepareTarget camSetBank camSetDir camSetDive camSetFocus camSetFov camSetFovRange camSetPos camSetRelPos camSetTarget camTarget camUseNVG canAdd canAddItemToBackpack canAddItemToUniform canAddItemToVest cancelSimpleTaskDestination canFire canMove canSlingLoad canStand canSuspend canTriggerDynamicSimulation canUnloadInCombat canVehicleCargo captive captiveNum cbChecked cbSetChecked ceil channelEnabled cheatsEnabled checkAIFeature checkVisibility className clearAllItemsFromBackpack clearBackpackCargo clearBackpackCargoGlobal clearGroupIcons clearItemCargo clearItemCargoGlobal clearItemPool clearMagazineCargo clearMagazineCargoGlobal clearMagazinePool clearOverlay clearRadio clearWeaponCargo clearWeaponCargoGlobal clearWeaponPool clientOwner closeDialog closeDisplay closeOverlay collapseObjectTree collect3DENHistory collectiveRTD combatMode commandArtilleryFire commandChat commander commandFire commandFollow commandFSM commandGetOut commandingMenu commandMove commandRadio commandStop commandSuppressiveFire commandTarget commandWatch comment commitOverlay compile compileFinal completedFSM composeText configClasses configFile configHierarchy configName configProperties configSourceAddonList configSourceMod configSourceModList confirmSensorTarget connectTerminalToUAV controlsGroupCtrl copyFromClipboard copyToClipboard copyWaypoints cos count countEnemy countFriendly countSide countType countUnknown create3DENComposition create3DENEntity createAgent createCenter createDialog createDiaryLink createDiaryRecord createDiarySubject createDisplay createGearDialog createGroup createGuardedPoint createLocation createMarker createMarkerLocal createMenu createMine createMissionDisplay createMPCampaignDisplay createSimpleObject createSimpleTask createSite createSoundSource createTask createTeam createTrigger createUnit createVehicle createVehicleCrew createVehicleLocal crew ctAddHeader ctAddRow ctClear ctCurSel ctData ctFindHeaderRows ctFindRowHeader ctHeaderControls ctHeaderCount ctRemoveHeaders ctRemoveRows ctrlActivate ctrlAddEventHandler ctrlAngle ctrlAutoScrollDelay ctrlAutoScrollRewind ctrlAutoScrollSpeed ctrlChecked ctrlClassName ctrlCommit ctrlCommitted ctrlCreate ctrlDelete ctrlEnable ctrlEnabled ctrlFade ctrlHTMLLoaded ctrlIDC ctrlIDD ctrlMapAnimAdd ctrlMapAnimClear ctrlMapAnimCommit ctrlMapAnimDone ctrlMapCursor ctrlMapMouseOver ctrlMapScale ctrlMapScreenToWorld ctrlMapWorldToScreen ctrlModel ctrlModelDirAndUp ctrlModelScale ctrlParent ctrlParentControlsGroup ctrlPosition ctrlRemoveAllEventHandlers ctrlRemoveEventHandler ctrlScale ctrlSetActiveColor ctrlSetAngle ctrlSetAutoScrollDelay ctrlSetAutoScrollRewind ctrlSetAutoScrollSpeed ctrlSetBackgroundColor ctrlSetChecked ctrlSetEventHandler ctrlSetFade ctrlSetFocus ctrlSetFont ctrlSetFontH1 ctrlSetFontH1B ctrlSetFontH2 ctrlSetFontH2B ctrlSetFontH3 ctrlSetFontH3B ctrlSetFontH4 ctrlSetFontH4B ctrlSetFontH5 ctrlSetFontH5B ctrlSetFontH6 ctrlSetFontH6B ctrlSetFontHeight ctrlSetFontHeightH1 ctrlSetFontHeightH2 ctrlSetFontHeightH3 ctrlSetFontHeightH4 ctrlSetFontHeightH5 ctrlSetFontHeightH6 ctrlSetFontHeightSecondary ctrlSetFontP ctrlSetFontPB ctrlSetFontSecondary ctrlSetForegroundColor ctrlSetModel ctrlSetModelDirAndUp ctrlSetModelScale ctrlSetPixelPrecision ctrlSetPosition ctrlSetScale ctrlSetStructuredText ctrlSetText ctrlSetTextColor ctrlSetTooltip ctrlSetTooltipColorBox ctrlSetTooltipColorShade ctrlSetTooltipColorText ctrlShow ctrlShown ctrlText ctrlTextHeight ctrlTextWidth ctrlType ctrlVisible ctRowControls ctRowCount ctSetCurSel ctSetData ctSetHeaderTemplate ctSetRowTemplate ctSetValue ctValue curatorAddons curatorCamera curatorCameraArea curatorCameraAreaCeiling curatorCoef curatorEditableObjects curatorEditingArea curatorEditingAreaType curatorMouseOver curatorPoints curatorRegisteredObjects curatorSelected curatorWaypointCost current3DENOperation currentChannel currentCommand currentMagazine currentMagazineDetail currentMagazineDetailTurret currentMagazineTurret currentMuzzle currentNamespace currentTask currentTasks currentThrowable currentVisionMode currentWaypoint currentWeapon currentWeaponMode currentWeaponTurret currentZeroing cursorObject cursorTarget customChat customRadio cutFadeOut cutObj cutRsc cutText damage date dateToNumber daytime deActivateKey debriefingText debugFSM debugLog deg delete3DENEntities deleteAt deleteCenter deleteCollection deleteEditorObject deleteGroup deleteGroupWhenEmpty deleteIdentity deleteLocation deleteMarker deleteMarkerLocal deleteRange deleteResources deleteSite deleteStatus deleteTeam deleteVehicle deleteVehicleCrew deleteWaypoint detach detectedMines diag_activeMissionFSMs diag_activeScripts diag_activeSQFScripts diag_activeSQSScripts diag_captureFrame diag_captureFrameToFile diag_captureSlowFrame diag_codePerformance diag_drawMode diag_enable diag_enabled diag_fps diag_fpsMin diag_frameNo diag_lightNewLoad diag_list diag_log diag_logSlowFrame diag_mergeConfigFile diag_recordTurretLimits diag_setLightNew diag_tickTime diag_toggle dialog diarySubjectExists didJIP didJIPOwner difficulty difficultyEnabled difficultyEnabledRTD difficultyOption direction directSay disableAI disableCollisionWith disableConversation disableDebriefingStats disableMapIndicators disableNVGEquipment disableRemoteSensors disableSerialization disableTIEquipment disableUAVConnectability disableUserInput displayAddEventHandler displayCtrl displayParent displayRemoveAllEventHandlers displayRemoveEventHandler displaySetEventHandler dissolveTeam distance distance2D distanceSqr distributionRegion do3DENAction doArtilleryFire doFire doFollow doFSM doGetOut doMove doorPhase doStop doSuppressiveFire doTarget doWatch drawArrow drawEllipse drawIcon drawIcon3D drawLine drawLine3D drawLink drawLocation drawPolygon drawRectangle drawTriangle driver drop dynamicSimulationDistance dynamicSimulationDistanceCoef dynamicSimulationEnabled dynamicSimulationSystemEnabled echo edit3DENMissionAttributes editObject editorSetEventHandler effectiveCommander emptyPositions enableAI enableAIFeature enableAimPrecision enableAttack enableAudioFeature enableAutoStartUpRTD enableAutoTrimRTD enableCamShake enableCaustics enableChannel enableCollisionWith enableCopilot enableDebriefingStats enableDiagLegend enableDynamicSimulation enableDynamicSimulationSystem enableEndDialog enableEngineArtillery enableEnvironment enableFatigue enableGunLights enableInfoPanelComponent enableIRLasers enableMimics enablePersonTurret enableRadio enableReload enableRopeAttach enableSatNormalOnDetail enableSaving enableSentences enableSimulation enableSimulationGlobal enableStamina enableTeamSwitch enableTraffic enableUAVConnectability enableUAVWaypoints enableVehicleCargo enableVehicleSensor enableWeaponDisassembly endLoadingScreen endMission engineOn enginesIsOnRTD enginesRpmRTD enginesTorqueRTD entities environmentEnabled estimatedEndServerTime estimatedTimeLeft evalObjectArgument everyBackpack everyContainer exec execEditorScript execFSM execVM exp expectedDestination exportJIPMessages eyeDirection eyePos face faction fadeMusic fadeRadio fadeSound fadeSpeech failMission fillWeaponsFromPool find findCover findDisplay findEditorObject findEmptyPosition findEmptyPositionReady findIf findNearestEnemy finishMissionInit finite fire fireAtTarget firstBackpack flag flagAnimationPhase flagOwner flagSide flagTexture fleeing floor flyInHeight flyInHeightASL fog fogForecast fogParams forceAddUniform forcedMap forceEnd forceFlagTexture forceFollowRoad forceMap forceRespawn forceSpeed forceWalk forceWeaponFire forceWeatherChange forEachMember forEachMemberAgent forEachMemberTeam forgetTarget format formation formationDirection formationLeader formationMembers formationPosition formationTask formatText formLeader freeLook fromEditor fuel fullCrew gearIDCAmmoCount gearSlotAmmoCount gearSlotData get3DENActionState get3DENAttribute get3DENCamera get3DENConnections get3DENEntity get3DENEntityID get3DENGrid get3DENIconsVisible get3DENLayerEntities get3DENLinesVisible get3DENMissionAttribute get3DENMouseOver get3DENSelected getAimingCoef getAllEnvSoundControllers getAllHitPointsDamage getAllOwnedMines getAllSoundControllers getAmmoCargo getAnimAimPrecision getAnimSpeedCoef getArray getArtilleryAmmo getArtilleryComputerSettings getArtilleryETA getAssignedCuratorLogic getAssignedCuratorUnit getBackpackCargo getBleedingRemaining getBurningValue getCameraViewDirection getCargoIndex getCenterOfMass getClientState getClientStateNumber getCompatiblePylonMagazines getConnectedUAV getContainerMaxLoad getCursorObjectParams getCustomAimCoef getDammage getDescription getDir getDirVisual getDLCAssetsUsage getDLCAssetsUsageByName getDLCs getEditorCamera getEditorMode getEditorObjectScope getElevationOffset getEnvSoundController getFatigue getForcedFlagTexture getFriend getFSMVariable getFuelCargo getGroupIcon getGroupIconParams getGroupIcons getHideFrom getHit getHitIndex getHitPointDamage getItemCargo getMagazineCargo getMarkerColor getMarkerPos getMarkerSize getMarkerType getMass getMissionConfig getMissionConfigValue getMissionDLCs getMissionLayerEntities getModelInfo getMousePosition getMusicPlayedTime getNumber getObjectArgument getObjectChildren getObjectDLC getObjectMaterials getObjectProxy getObjectTextures getObjectType getObjectViewDistance getOxygenRemaining getPersonUsedDLCs getPilotCameraDirection getPilotCameraPosition getPilotCameraRotation getPilotCameraTarget getPlateNumber getPlayerChannel getPlayerScores getPlayerUID getPos getPosASL getPosASLVisual getPosASLW getPosATL getPosATLVisual getPosVisual getPosWorld getPylonMagazines getRelDir getRelPos getRemoteSensorsDisabled getRepairCargo getResolution getShadowDistance getShotParents getSlingLoad getSoundController getSoundControllerResult getSpeed getStamina getStatValue getSuppression getTerrainGrid getTerrainHeightASL getText getTotalDLCUsageTime getUnitLoadout getUnitTrait getUserMFDText getUserMFDvalue getVariable getVehicleCargo getWeaponCargo getWeaponSway getWingsOrientationRTD getWingsPositionRTD getWPPos glanceAt globalChat globalRadio goggles goto group groupChat groupFromNetId groupIconSelectable groupIconsVisible groupId groupOwner groupRadio groupSelectedUnits groupSelectUnit gunner gusts halt handgunItems handgunMagazine handgunWeapon handsHit hasInterface hasPilotCamera hasWeapon hcAllGroups hcGroupParams hcLeader hcRemoveAllGroups hcRemoveGroup hcSelected hcSelectGroup hcSetGroup hcShowBar hcShownBar headgear hideBody hideObject hideObjectGlobal hideSelection hint hintC hintCadet hintSilent hmd hostMission htmlLoad HUDMovementLevels humidity image importAllGroups importance in inArea inAreaArray incapacitatedState inflame inflamed infoPanel infoPanelComponentEnabled infoPanelComponents infoPanels inGameUISetEventHandler inheritsFrom initAmbientLife inPolygon inputAction inRangeOfArtillery insertEditorObject intersect is3DEN is3DENMultiplayer isAbleToBreathe isAgent isArray isAutoHoverOn isAutonomous isAutotest isBleeding isBurning isClass isCollisionLightOn isCopilotEnabled isDamageAllowed isDedicated isDLCAvailable isEngineOn isEqualTo isEqualType isEqualTypeAll isEqualTypeAny isEqualTypeArray isEqualTypeParams isFilePatchingEnabled isFlashlightOn isFlatEmpty isForcedWalk isFormationLeader isGroupDeletedWhenEmpty isHidden isInRemainsCollector isInstructorFigureEnabled isIRLaserOn isKeyActive isKindOf isLaserOn isLightOn isLocalized isManualFire isMarkedForCollection isMultiplayer isMultiplayerSolo isNil isNull isNumber isObjectHidden isObjectRTD isOnRoad isPipEnabled isPlayer isRealTime isRemoteExecuted isRemoteExecutedJIP isServer isShowing3DIcons isSimpleObject isSprintAllowed isStaminaEnabled isSteamMission isStreamFriendlyUIEnabled isText isTouchingGround isTurnedOut isTutHintsEnabled isUAVConnectable isUAVConnected isUIContext isUniformAllowed isVehicleCargo isVehicleRadarOn isVehicleSensorEnabled isWalking isWeaponDeployed isWeaponRested itemCargo items itemsWithMagazines join joinAs joinAsSilent joinSilent joinString kbAddDatabase kbAddDatabaseTargets kbAddTopic kbHasTopic kbReact kbRemoveTopic kbTell kbWasSaid keyImage keyName knowsAbout land landAt landResult language laserTarget lbAdd lbClear lbColor lbColorRight lbCurSel lbData lbDelete lbIsSelected lbPicture lbPictureRight lbSelection lbSetColor lbSetColorRight lbSetCurSel lbSetData lbSetPicture lbSetPictureColor lbSetPictureColorDisabled lbSetPictureColorSelected lbSetPictureRight lbSetPictureRightColor lbSetPictureRightColorDisabled lbSetPictureRightColorSelected lbSetSelectColor lbSetSelectColorRight lbSetSelected lbSetText lbSetTextRight lbSetTooltip lbSetValue lbSize lbSort lbSortByValue lbText lbTextRight lbValue leader leaderboardDeInit leaderboardGetRows leaderboardInit leaderboardRequestRowsFriends leaderboardsRequestUploadScore leaderboardsRequestUploadScoreKeepBest leaderboardState leaveVehicle libraryCredits libraryDisclaimers lifeState lightAttachObject lightDetachObject lightIsOn lightnings limitSpeed linearConversion lineIntersects lineIntersectsObjs lineIntersectsSurfaces lineIntersectsWith linkItem list listObjects listRemoteTargets listVehicleSensors ln lnbAddArray lnbAddColumn lnbAddRow lnbClear lnbColor lnbCurSelRow lnbData lnbDeleteColumn lnbDeleteRow lnbGetColumnsPosition lnbPicture lnbSetColor lnbSetColumnsPos lnbSetCurSelRow lnbSetData lnbSetPicture lnbSetText lnbSetValue lnbSize lnbSort lnbSortByValue lnbText lnbValue load loadAbs loadBackpack loadFile loadGame loadIdentity loadMagazine loadOverlay loadStatus loadUniform loadVest local localize locationPosition lock lockCameraTo lockCargo lockDriver locked lockedCargo lockedDriver lockedTurret lockIdentity lockTurret lockWP log logEntities logNetwork logNetworkTerminate lookAt lookAtPos magazineCargo magazines magazinesAllTurrets magazinesAmmo magazinesAmmoCargo magazinesAmmoFull magazinesDetail magazinesDetailBackpack magazinesDetailUniform magazinesDetailVest magazinesTurret magazineTurretAmmo mapAnimAdd mapAnimClear mapAnimCommit mapAnimDone mapCenterOnCamera mapGridPosition markAsFinishedOnSteam markerAlpha markerBrush markerColor markerDir markerPos markerShape markerSize markerText markerType max members menuAction menuAdd menuChecked menuClear menuCollapse menuData menuDelete menuEnable menuEnabled menuExpand menuHover menuPicture menuSetAction menuSetCheck menuSetData menuSetPicture menuSetValue menuShortcut menuShortcutText menuSize menuSort menuText menuURL menuValue min mineActive mineDetectedBy missionConfigFile missionDifficulty missionName missionNamespace missionStart missionVersion mod modelToWorld modelToWorldVisual modelToWorldVisualWorld modelToWorldWorld modParams moonIntensity moonPhase morale move move3DENCamera moveInAny moveInCargo moveInCommander moveInDriver moveInGunner moveInTurret moveObjectToEnd moveOut moveTime moveTo moveToCompleted moveToFailed musicVolume name nameSound nearEntities nearestBuilding nearestLocation nearestLocations nearestLocationWithDubbing nearestObject nearestObjects nearestTerrainObjects nearObjects nearObjectsReady nearRoads nearSupplies nearTargets needReload netId netObjNull newOverlay nextMenuItemIndex nextWeatherChange nMenuItems not numberOfEnginesRTD numberToDate objectCurators objectFromNetId objectParent objStatus onBriefingGroup onBriefingNotes onBriefingPlan onBriefingTeamSwitch onCommandModeChanged onDoubleClick onEachFrame onGroupIconClick onGroupIconOverEnter onGroupIconOverLeave onHCGroupSelectionChanged onMapSingleClick onPlayerConnected onPlayerDisconnected onPreloadFinished onPreloadStarted onShowNewObject onTeamSwitch openCuratorInterface openDLCPage openMap openSteamApp openYoutubeVideo or orderGetIn overcast overcastForecast owner param params parseNumber parseSimpleArray parseText parsingNamespace particlesQuality pickWeaponPool pitch pixelGrid pixelGridBase pixelGridNoUIScale pixelH pixelW playableSlotsNumber playableUnits playAction playActionNow player playerRespawnTime playerSide playersNumber playGesture playMission playMove playMoveNow playMusic playScriptedMission playSound playSound3D position positionCameraToWorld posScreenToWorld posWorldToScreen ppEffectAdjust ppEffectCommit ppEffectCommitted ppEffectCreate ppEffectDestroy ppEffectEnable ppEffectEnabled ppEffectForceInNVG precision preloadCamera preloadObject preloadSound preloadTitleObj preloadTitleRsc preprocessFile preprocessFileLineNumbers primaryWeapon primaryWeaponItems primaryWeaponMagazine priority processDiaryLink productVersion profileName profileNamespace profileNameSteam progressLoadingScreen progressPosition progressSetPosition publicVariable publicVariableClient publicVariableServer pushBack pushBackUnique putWeaponPool queryItemsPool queryMagazinePool queryWeaponPool rad radioChannelAdd radioChannelCreate radioChannelRemove radioChannelSetCallSign radioChannelSetLabel radioVolume rain rainbow random rank rankId rating rectangular registeredTasks registerTask reload reloadEnabled remoteControl remoteExec remoteExecCall remoteExecutedOwner remove3DENConnection remove3DENEventHandler remove3DENLayer removeAction removeAll3DENEventHandlers removeAllActions removeAllAssignedItems removeAllContainers removeAllCuratorAddons removeAllCuratorCameraAreas removeAllCuratorEditingAreas removeAllEventHandlers removeAllHandgunItems removeAllItems removeAllItemsWithMagazines removeAllMissionEventHandlers removeAllMPEventHandlers removeAllMusicEventHandlers removeAllOwnedMines removeAllPrimaryWeaponItems removeAllWeapons removeBackpack removeBackpackGlobal removeCuratorAddons removeCuratorCameraArea removeCuratorEditableObjects removeCuratorEditingArea removeDrawIcon removeDrawLinks removeEventHandler removeFromRemainsCollector removeGoggles removeGroupIcon removeHandgunItem removeHeadgear removeItem removeItemFromBackpack removeItemFromUniform removeItemFromVest removeItems removeMagazine removeMagazineGlobal removeMagazines removeMagazinesTurret removeMagazineTurret removeMenuItem removeMissionEventHandler removeMPEventHandler removeMusicEventHandler removeOwnedMine removePrimaryWeaponItem removeSecondaryWeaponItem removeSimpleTask removeSwitchableUnit removeTeamMember removeUniform removeVest removeWeapon removeWeaponAttachmentCargo removeWeaponCargo removeWeaponGlobal removeWeaponTurret reportRemoteTarget requiredVersion resetCamShake resetSubgroupDirection resize resources respawnVehicle restartEditorCamera reveal revealMine reverse reversedMouseY roadAt roadsConnectedTo roleDescription ropeAttachedObjects ropeAttachedTo ropeAttachEnabled ropeAttachTo ropeCreate ropeCut ropeDestroy ropeDetach ropeEndPosition ropeLength ropes ropeUnwind ropeUnwound rotorsForcesRTD rotorsRpmRTD round runInitScript safeZoneH safeZoneW safeZoneWAbs safeZoneX safeZoneXAbs safeZoneY save3DENInventory saveGame saveIdentity saveJoysticks saveOverlay saveProfileNamespace saveStatus saveVar savingEnabled say say2D say3D scopeName score scoreSide screenshot screenToWorld scriptDone scriptName scudState secondaryWeapon secondaryWeaponItems secondaryWeaponMagazine select selectBestPlaces selectDiarySubject selectedEditorObjects selectEditorObject selectionNames selectionPosition selectLeader selectMax selectMin selectNoPlayer selectPlayer selectRandom selectRandomWeighted selectWeapon selectWeaponTurret sendAUMessage sendSimpleCommand sendTask sendTaskResult sendUDPMessage serverCommand serverCommandAvailable serverCommandExecutable serverName serverTime set set3DENAttribute set3DENAttributes set3DENGrid set3DENIconsVisible set3DENLayer set3DENLinesVisible set3DENLogicType set3DENMissionAttribute set3DENMissionAttributes set3DENModelsVisible set3DENObjectType set3DENSelected setAccTime setActualCollectiveRTD setAirplaneThrottle setAirportSide setAmmo setAmmoCargo setAmmoOnPylon setAnimSpeedCoef setAperture setApertureNew setArmoryPoints setAttributes setAutonomous setBehaviour setBleedingRemaining setBrakesRTD setCameraInterest setCamShakeDefParams setCamShakeParams setCamUseTI setCaptive setCenterOfMass setCollisionLight setCombatMode setCompassOscillation setConvoySeparation setCuratorCameraAreaCeiling setCuratorCoef setCuratorEditingAreaType setCuratorWaypointCost setCurrentChannel setCurrentTask setCurrentWaypoint setCustomAimCoef setCustomWeightRTD setDamage setDammage setDate setDebriefingText setDefaultCamera setDestination setDetailMapBlendPars setDir setDirection setDrawIcon setDriveOnPath setDropInterval setDynamicSimulationDistance setDynamicSimulationDistanceCoef setEditorMode setEditorObjectScope setEffectCondition setEngineRPMRTD setFace setFaceAnimation setFatigue setFeatureType setFlagAnimationPhase setFlagOwner setFlagSide setFlagTexture setFog setFormation setFormationTask setFormDir setFriend setFromEditor setFSMVariable setFuel setFuelCargo setGroupIcon setGroupIconParams setGroupIconsSelectable setGroupIconsVisible setGroupId setGroupIdGlobal setGroupOwner setGusts setHideBehind setHit setHitIndex setHitPointDamage setHorizonParallaxCoef setHUDMovementLevels setIdentity setImportance setInfoPanel setLeader setLightAmbient setLightAttenuation setLightBrightness setLightColor setLightDayLight setLightFlareMaxDistance setLightFlareSize setLightIntensity setLightnings setLightUseFlare setLocalWindParams setMagazineTurretAmmo setMarkerAlpha setMarkerAlphaLocal setMarkerBrush setMarkerBrushLocal setMarkerColor setMarkerColorLocal setMarkerDir setMarkerDirLocal setMarkerPos setMarkerPosLocal setMarkerShape setMarkerShapeLocal setMarkerSize setMarkerSizeLocal setMarkerText setMarkerTextLocal setMarkerType setMarkerTypeLocal setMass setMimic setMousePosition setMusicEffect setMusicEventHandler setName setNameSound setObjectArguments setObjectMaterial setObjectMaterialGlobal setObjectProxy setObjectTexture setObjectTextureGlobal setObjectViewDistance setOvercast setOwner setOxygenRemaining setParticleCircle setParticleClass setParticleFire setParticleParams setParticleRandom setPilotCameraDirection setPilotCameraRotation setPilotCameraTarget setPilotLight setPiPEffect setPitch setPlateNumber setPlayable setPlayerRespawnTime setPos setPosASL setPosASL2 setPosASLW setPosATL setPosition setPosWorld setPylonLoadOut setPylonsPriority setRadioMsg setRain setRainbow setRandomLip setRank setRectangular setRepairCargo setRotorBrakeRTD setShadowDistance setShotParents setSide setSimpleTaskAlwaysVisible setSimpleTaskCustomData setSimpleTaskDescription setSimpleTaskDestination setSimpleTaskTarget setSimpleTaskType setSimulWeatherLayers setSize setSkill setSlingLoad setSoundEffect setSpeaker setSpeech setSpeedMode setStamina setStaminaScheme setStatValue setSuppression setSystemOfUnits setTargetAge setTaskMarkerOffset setTaskResult setTaskState setTerrainGrid setText setTimeMultiplier setTitleEffect setTrafficDensity setTrafficDistance setTrafficGap setTrafficSpeed setTriggerActivation setTriggerArea setTriggerStatements setTriggerText setTriggerTimeout setTriggerType setType setUnconscious setUnitAbility setUnitLoadout setUnitPos setUnitPosWeak setUnitRank setUnitRecoilCoefficient setUnitTrait setUnloadInCombat setUserActionText setUserMFDText setUserMFDvalue setVariable setVectorDir setVectorDirAndUp setVectorUp setVehicleAmmo setVehicleAmmoDef setVehicleArmor setVehicleCargo setVehicleId setVehicleLock setVehiclePosition setVehicleRadar setVehicleReceiveRemoteTargets setVehicleReportOwnPosition setVehicleReportRemoteTargets setVehicleTIPars setVehicleVarName setVelocity setVelocityModelSpace setVelocityTransformation setViewDistance setVisibleIfTreeCollapsed setWantedRPMRTD setWaves setWaypointBehaviour setWaypointCombatMode setWaypointCompletionRadius setWaypointDescription setWaypointForceBehaviour setWaypointFormation setWaypointHousePosition setWaypointLoiterRadius setWaypointLoiterType setWaypointName setWaypointPosition setWaypointScript setWaypointSpeed setWaypointStatements setWaypointTimeout setWaypointType setWaypointVisible setWeaponReloadingTime setWind setWindDir setWindForce setWindStr setWingForceScaleRTD setWPPos show3DIcons showChat showCinemaBorder showCommandingMenu showCompass showCuratorCompass showGPS showHUD showLegend showMap shownArtilleryComputer shownChat shownCompass shownCuratorCompass showNewEditorObject shownGPS shownHUD shownMap shownPad shownRadio shownScoretable shownUAVFeed shownWarrant shownWatch showPad showRadio showScoretable showSubtitles showUAVFeed showWarrant showWatch showWaypoint showWaypoints side sideChat sideEnemy sideFriendly sideRadio simpleTasks simulationEnabled simulCloudDensity simulCloudOcclusion simulInClouds simulWeatherSync sin size sizeOf skill skillFinal skipTime sleep sliderPosition sliderRange sliderSetPosition sliderSetRange sliderSetSpeed sliderSpeed slingLoadAssistantShown soldierMagazines someAmmo sort soundVolume spawn speaker speed speedMode splitString sqrt squadParams stance startLoadingScreen step stop stopEngineRTD stopped str sunOrMoon supportInfo suppressFor surfaceIsWater surfaceNormal surfaceType swimInDepth switchableUnits switchAction switchCamera switchGesture switchLight switchMove synchronizedObjects synchronizedTriggers synchronizedWaypoints synchronizeObjectsAdd synchronizeObjectsRemove synchronizeTrigger synchronizeWaypoint systemChat systemOfUnits tan targetKnowledge targets targetsAggregate targetsQuery taskAlwaysVisible taskChildren taskCompleted taskCustomData taskDescription taskDestination taskHint taskMarkerOffset taskParent taskResult taskState taskType teamMember teamName teams teamSwitch teamSwitchEnabled teamType terminate terrainIntersect terrainIntersectASL terrainIntersectAtASL text textLog textLogFormat tg time timeMultiplier titleCut titleFadeOut titleObj titleRsc titleText toArray toFixed toLower toString toUpper triggerActivated triggerActivation triggerArea triggerAttachedVehicle triggerAttachObject triggerAttachVehicle triggerDynamicSimulation triggerStatements triggerText triggerTimeout triggerTimeoutCurrent triggerType turretLocal turretOwner turretUnit tvAdd tvClear tvCollapse tvCollapseAll tvCount tvCurSel tvData tvDelete tvExpand tvExpandAll tvPicture tvSetColor tvSetCurSel tvSetData tvSetPicture tvSetPictureColor tvSetPictureColorDisabled tvSetPictureColorSelected tvSetPictureRight tvSetPictureRightColor tvSetPictureRightColorDisabled tvSetPictureRightColorSelected tvSetText tvSetTooltip tvSetValue tvSort tvSortByValue tvText tvTooltip tvValue type typeName typeOf UAVControl uiNamespace uiSleep unassignCurator unassignItem unassignTeam unassignVehicle underwater uniform uniformContainer uniformItems uniformMagazines unitAddons unitAimPosition unitAimPositionVisual unitBackpack unitIsUAV unitPos unitReady unitRecoilCoefficient units unitsBelowHeight unlinkItem unlockAchievement unregisterTask updateDrawIcon updateMenuItem updateObjectTree useAISteeringComponent useAudioTimeForMoves userInputDisabled vectorAdd vectorCos vectorCrossProduct vectorDiff vectorDir vectorDirVisual vectorDistance vectorDistanceSqr vectorDotProduct vectorFromTo vectorMagnitude vectorMagnitudeSqr vectorModelToWorld vectorModelToWorldVisual vectorMultiply vectorNormalized vectorUp vectorUpVisual vectorWorldToModel vectorWorldToModelVisual vehicle vehicleCargoEnabled vehicleChat vehicleRadio vehicleReceiveRemoteTargets vehicleReportOwnPosition vehicleReportRemoteTargets vehicles vehicleVarName velocity velocityModelSpace verifySignature vest vestContainer vestItems vestMagazines viewDistance visibleCompass visibleGPS visibleMap visiblePosition visiblePositionASL visibleScoretable visibleWatch waves waypointAttachedObject waypointAttachedVehicle waypointAttachObject waypointAttachVehicle waypointBehaviour waypointCombatMode waypointCompletionRadius waypointDescription waypointForceBehaviour waypointFormation waypointHousePosition waypointLoiterRadius waypointLoiterType waypointName waypointPosition waypoints waypointScript waypointsEnabledUAV waypointShow waypointSpeed waypointStatements waypointTimeout waypointTimeoutCurrent waypointType waypointVisible weaponAccessories weaponAccessoriesCargo weaponCargo weaponDirection weaponInertia weaponLowered weapons weaponsItems weaponsItemsCargo weaponState weaponsTurret weightRTD WFSideText wind ",literal:"blufor civilian configNull controlNull displayNull east endl false grpNull independent lineBreak locationNull nil objNull opfor pi resistance scriptNull sideAmbientLife sideEmpty sideLogic sideUnknown taskNull teamMemberNull true west"},contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.NUMBER_MODE,d,G,Z,C],illegal:/#|^\$ /}}$_2.exports=_49});var O_2=Y((Mg3,T_2)=>{function D49(I){var d=I.COMMENT("--","$");return{name:"SQL (more)",aliases:["mysql","oracle"],disableAutodetect:!0,case_insensitive:!0,illegal:/[<>{}*]/,contains:[{beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke comment values with",end:/;/,endsWithParent:!0,keywords:{$pattern:/[\w\.]+/,keyword:"as abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias all allocate allow alter always analyze ancillary and anti any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound bucket buffer_cache buffer_pool build bulk by byte byteordermark bytes cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain explode export export_set extended extent external external_1 external_2 externally extract failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force foreign form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour hours http id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists keep keep_duplicates key keys kill language large last last_day last_insert_id last_value lateral lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minutes minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notnull notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second seconds section securefile security seed segment select self semi sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime table tables tablespace tablesample tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unnest unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace window with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null unknown",built_in:"array bigint binary bit blob bool boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text time timestamp tinyint varchar varchar2 varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:"`",end:"`"},I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,d,I.HASH_COMMENT_MODE]},I.C_BLOCK_COMMENT_MODE,d,I.HASH_COMMENT_MODE]}}T_2.exports=D49});var b_2=Y((Sg3,l_2)=>{function m_2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function H49(...I){return I.map((G)=>m_2(G)).join("")}function aF1(...I){return"("+I.map((G)=>m_2(G)).join("|")+")"}function F49(I){let d=I.COMMENT("--","$"),G={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},Z={begin:/"/,end:/"/,contains:[{begin:/""/}]},C=["true","false","unknown"],W=["double precision","large object","with timezone","without timezone"],w=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],B=["add","asc","collation","desc","final","first","last","view"],A=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update   ","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],V=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],X=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],_=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],F=V,g=[...A,...B].filter((S)=>{return!V.includes(S)}),J={className:"variable",begin:/@[a-z0-9]+/},K={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},Q={begin:H49(/\b/,aF1(...F),/\s*\(/),keywords:{built_in:F}};function E(S,{exceptions:P,when:$}={}){let h=$;return P=P||[],S.map((O)=>{if(O.match(/\|\d+$/)||P.includes(O))return O;else if(h(O))return`${O}|0`;else return O})}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:E(g,{when:(S)=>S.length<3}),literal:C,type:w,built_in:X},contains:[{begin:aF1(..._),keywords:{$pattern:/[\w\.]+/,keyword:g.concat(_),literal:C,type:w}},{className:"type",begin:aF1(...W)},Q,J,G,Z,I.C_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,d,K]}}l_2.exports=F49});var j_2=Y((Lg3,h_2)=>{function g49(I){let d=["functions","model","data","parameters","quantities","transformed","generated"],G=["for","in","if","else","while","break","continue","return"],Z=["print","reject","increment_log_prob|10","integrate_ode|10","integrate_ode_rk45|10","integrate_ode_bdf|10","algebra_solver"],C=["int","real","vector","ordered","positive_ordered","simplex","unit_vector","row_vector","matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],W=["Phi","Phi_approx","abs","acos","acosh","algebra_solver","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bernoulli_cdf","bernoulli_lccdf","bernoulli_lcdf","bernoulli_logit_lpmf","bernoulli_logit_rng","bernoulli_lpmf","bernoulli_rng","bessel_first_kind","bessel_second_kind","beta_binomial_cdf","beta_binomial_lccdf","beta_binomial_lcdf","beta_binomial_lpmf","beta_binomial_rng","beta_cdf","beta_lccdf","beta_lcdf","beta_lpdf","beta_rng","binary_log_loss","binomial_cdf","binomial_coefficient_log","binomial_lccdf","binomial_lcdf","binomial_logit_lpmf","binomial_lpmf","binomial_rng","block","categorical_logit_lpmf","categorical_logit_rng","categorical_lpmf","categorical_rng","cauchy_cdf","cauchy_lccdf","cauchy_lcdf","cauchy_lpdf","cauchy_rng","cbrt","ceil","chi_square_cdf","chi_square_lccdf","chi_square_lcdf","chi_square_lpdf","chi_square_rng","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","cos","cosh","cov_exp_quad","crossprod","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","determinant","diag_matrix","diag_post_multiply","diag_pre_multiply","diagonal","digamma","dims","dirichlet_lpdf","dirichlet_rng","distance","dot_product","dot_self","double_exponential_cdf","double_exponential_lccdf","double_exponential_lcdf","double_exponential_lpdf","double_exponential_rng","e","eigenvalues_sym","eigenvectors_sym","erf","erfc","exp","exp2","exp_mod_normal_cdf","exp_mod_normal_lccdf","exp_mod_normal_lcdf","exp_mod_normal_lpdf","exp_mod_normal_rng","expm1","exponential_cdf","exponential_lccdf","exponential_lcdf","exponential_lpdf","exponential_rng","fabs","falling_factorial","fdim","floor","fma","fmax","fmin","fmod","frechet_cdf","frechet_lccdf","frechet_lcdf","frechet_lpdf","frechet_rng","gamma_cdf","gamma_lccdf","gamma_lcdf","gamma_lpdf","gamma_p","gamma_q","gamma_rng","gaussian_dlm_obs_lpdf","get_lp","gumbel_cdf","gumbel_lccdf","gumbel_lcdf","gumbel_lpdf","gumbel_rng","head","hypergeometric_lpmf","hypergeometric_rng","hypot","inc_beta","int_step","integrate_ode","integrate_ode_bdf","integrate_ode_rk45","inv","inv_Phi","inv_chi_square_cdf","inv_chi_square_lccdf","inv_chi_square_lcdf","inv_chi_square_lpdf","inv_chi_square_rng","inv_cloglog","inv_gamma_cdf","inv_gamma_lccdf","inv_gamma_lcdf","inv_gamma_lpdf","inv_gamma_rng","inv_logit","inv_sqrt","inv_square","inv_wishart_lpdf","inv_wishart_rng","inverse","inverse_spd","is_inf","is_nan","lbeta","lchoose","lgamma","lkj_corr_cholesky_lpdf","lkj_corr_cholesky_rng","lkj_corr_lpdf","lkj_corr_rng","lmgamma","lmultiply","log","log10","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log2","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_mix","log_rising_factorial","log_softmax","log_sum_exp","logistic_cdf","logistic_lccdf","logistic_lcdf","logistic_lpdf","logistic_rng","logit","lognormal_cdf","lognormal_lccdf","lognormal_lcdf","lognormal_lpdf","lognormal_rng","machine_precision","matrix_exp","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multi_gp_cholesky_lpdf","multi_gp_lpdf","multi_normal_cholesky_lpdf","multi_normal_cholesky_rng","multi_normal_lpdf","multi_normal_prec_lpdf","multi_normal_rng","multi_student_t_lpdf","multi_student_t_rng","multinomial_lpmf","multinomial_rng","multiply_log","multiply_lower_tri_self_transpose","neg_binomial_2_cdf","neg_binomial_2_lccdf","neg_binomial_2_lcdf","neg_binomial_2_log_lpmf","neg_binomial_2_log_rng","neg_binomial_2_lpmf","neg_binomial_2_rng","neg_binomial_cdf","neg_binomial_lccdf","neg_binomial_lcdf","neg_binomial_lpmf","neg_binomial_rng","negative_infinity","normal_cdf","normal_lccdf","normal_lcdf","normal_lpdf","normal_rng","not_a_number","num_elements","ordered_logistic_lpmf","ordered_logistic_rng","owens_t","pareto_cdf","pareto_lccdf","pareto_lcdf","pareto_lpdf","pareto_rng","pareto_type_2_cdf","pareto_type_2_lccdf","pareto_type_2_lcdf","pareto_type_2_lpdf","pareto_type_2_rng","pi","poisson_cdf","poisson_lccdf","poisson_lcdf","poisson_log_lpmf","poisson_log_rng","poisson_lpmf","poisson_rng","positive_infinity","pow","print","prod","qr_Q","qr_R","quad_form","quad_form_diag","quad_form_sym","rank","rayleigh_cdf","rayleigh_lccdf","rayleigh_lcdf","rayleigh_lpdf","rayleigh_rng","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scaled_inv_chi_square_cdf","scaled_inv_chi_square_lccdf","scaled_inv_chi_square_lcdf","scaled_inv_chi_square_lpdf","scaled_inv_chi_square_rng","sd","segment","sin","singular_values","sinh","size","skew_normal_cdf","skew_normal_lccdf","skew_normal_lcdf","skew_normal_lpdf","skew_normal_rng","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","sqrt2","square","squared_distance","step","student_t_cdf","student_t_lccdf","student_t_lcdf","student_t_lpdf","student_t_rng","sub_col","sub_row","sum","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_cdf","uniform_lccdf","uniform_lcdf","uniform_lpdf","uniform_rng","variance","von_mises_lpdf","von_mises_rng","weibull_cdf","weibull_lccdf","weibull_lcdf","weibull_lpdf","weibull_rng","wiener_lpdf","wishart_lpdf","wishart_rng"],w=["bernoulli","bernoulli_logit","beta","beta_binomial","binomial","binomial_logit","categorical","categorical_logit","cauchy","chi_square","dirichlet","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","lkj_corr","lkj_corr_cholesky","logistic","lognormal","multi_gp","multi_gp_cholesky","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_t","multinomial","neg_binomial","neg_binomial_2","neg_binomial_2_log","normal","ordered_logistic","pareto","pareto_type_2","poisson","poisson_log","rayleigh","scaled_inv_chi_square","skew_normal","student_t","uniform","von_mises","weibull","wiener","wishart"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:I.IDENT_RE,title:d,keyword:G.concat(C).concat(Z),built_in:W},contains:[I.C_LINE_COMMENT_MODE,I.COMMENT(/#/,/$/,{relevance:0,keywords:{"meta-keyword":"include"}}),I.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{className:"doctag",begin:/@(return|param)/}]}),{begin:/<\s*lower\s*=/,keywords:"lower"},{begin:/[<,]\s*upper\s*=/,keywords:"upper"},{className:"keyword",begin:/\btarget\s*\+=/,relevance:10},{begin:"~\\s*("+I.IDENT_RE+")\\s*\\(",keywords:w},{className:"number",variants:[{begin:/\b\d+(?:\.\d*)?(?:[eE][+-]?\d+)?/},{begin:/\.\d+(?:[eE][+-]?\d+)?\b/}],relevance:0},{className:"string",begin:'"',end:'"',relevance:0}]}}h_2.exports=g49});var x_2=Y((yg3,k_2)=>{function J49(I){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/},{className:"string",variants:[{begin:`\`"[^\r
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},I.COMMENT("^[ \t]*\\*.*$",!1),I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE]}}k_2.exports=J49});var p_2=Y((Pg3,c_2)=>{function K49(I){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:"HEADER ENDSEC DATA"},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,I.COMMENT("/\\*\\*!","\\*/"),I.C_NUMBER_MODE,I.inherit(I.APOS_STRING_MODE,{illegal:null}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}c_2.exports=K49});var n_2=Y(($g3,i_2)=>{var N49=(I)=>{return{IMPORTANT:{className:"meta",begin:"!important"},HEXCOLOR:{className:"number",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})"},ATTRIBUTE_SELECTOR_MODE:{className:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE]}}},z49=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Q49=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],f49=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],q49=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],R49=["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-variant","font-variant-ligatures","font-variation-settings","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","src","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse();function U49(I){let d=N49(I),G="and or not only",Z={className:"variable",begin:"\\$"+I.IDENT_RE},C=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],W="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[I.QUOTE_STRING_MODE,I.APOS_STRING_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,d.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*(?=[.\\s\\n[:,(])",className:"selector-id"},{begin:"\\b("+z49.join("|")+")(?=[.\\s\\n[:,(])",className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+f49.join("|")+")(?=[.\\s\\n[:,(])"},{className:"selector-pseudo",begin:"&?::("+q49.join("|")+")(?=[.\\s\\n[:,(])"},d.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:"and or not only",attribute:Q49.join(" ")},contains:[I.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+C.join("|")+"))\\b"},Z,I.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[d.HEXCOLOR,Z,I.APOS_STRING_MODE,I.CSS_NUMBER_MODE,I.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+R49.join("|")+")\\b",starts:{end:/;|$/,contains:[d.HEXCOLOR,Z,I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.CSS_NUMBER_MODE,I.C_BLOCK_COMMENT_MODE,d.IMPORTANT],illegal:/\./,relevance:0}}]}}i_2.exports=U49});var a_2=Y((ug3,r_2)=>{function v49(I){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}r_2.exports=v49});var CD2=Y((Tg3,ZD2)=>{function t_2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function RR(I){return U9("(?=",I,")")}function U9(...I){return I.map((G)=>t_2(G)).join("")}function FI(...I){return"("+I.map((G)=>t_2(G)).join("|")+")"}var Ig1=(I)=>U9(/\b/,I,/\w$/.test(I)?/\b/:/\B/),s_2=["Protocol","Type"].map(Ig1),sF1=["init","self"].map(Ig1),E49=["Any","Self"],oF1=["associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],o_2=["false","nil","true"],M49=["assignment","associativity","higherThan","left","lowerThan","none","right"],S49=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],e_2=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],ID2=FI(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),dD2=FI(ID2,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),eF1=U9(ID2,dD2,"*"),GD2=FI(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Oa=FI(GD2,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),ZX=U9(GD2,Oa,"*"),tF1=U9(/[A-Z]/,Oa,"*"),L49=["autoclosure",U9(/convention\(/,FI("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",U9(/objc\(/,ZX,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","testable","UIApplicationMain","unknown","usableFromInline"],y49=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function P49(I){let d={match:/\s+/,relevance:0},G=I.COMMENT("/\\*","\\*/",{contains:["self"]}),Z=[I.C_LINE_COMMENT_MODE,G],C={className:"keyword",begin:U9(/\./,RR(FI(...s_2,...sF1))),end:FI(...s_2,...sF1),excludeBegin:!0},W={match:U9(/\./,FI(...oF1)),relevance:0},w=oF1.filter((a)=>typeof a==="string").concat(["_|0"]),B=oF1.filter((a)=>typeof a!=="string").concat(E49).map(Ig1),A={variants:[{className:"keyword",match:FI(...B,...sF1)}]},V={$pattern:FI(/\b\w+/,/#\w+/),keyword:w.concat(S49),literal:o_2},X=[C,W,A],_={match:U9(/\./,FI(...e_2)),relevance:0},F={className:"built_in",match:U9(/\b/,FI(...e_2),/(?=\()/)},g=[_,F],J={match:/->/,relevance:0},K={className:"operator",relevance:0,variants:[{match:eF1},{match:`\\.(\\.|${dD2})+`}]},Q=[J,K],E="([0-9]_*)+",S="([0-9a-fA-F]_*)+",P={className:"number",relevance:0,variants:[{match:"\\b(([0-9]_*)+)(\\.(([0-9]_*)+))?([eE][+-]?(([0-9]_*)+))?\\b"},{match:"\\b0x(([0-9a-fA-F]_*)+)(\\.(([0-9a-fA-F]_*)+))?([pP][+-]?(([0-9]_*)+))?\\b"},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},$=(a="")=>({className:"subst",variants:[{match:U9(/\\/,a,/[0\\tnr"']/)},{match:U9(/\\/,a,/u\{[0-9a-fA-F]{1,8}\}/)}]}),h=(a="")=>({className:"subst",match:U9(/\\/,a,/[\t ]*(?:[\r\n]|\r\n)/)}),O=(a="")=>({className:"subst",label:"interpol",begin:U9(/\\/,a,/\(/),end:/\)/}),T=(a="")=>({begin:U9(a,/"""/),end:U9(/"""/,a),contains:[$(a),h(a),O(a)]}),V1=(a="")=>({begin:U9(a,/"/),end:U9(/"/,a),contains:[$(a),O(a)]}),c={className:"string",variants:[T(),T("#"),T("##"),T("###"),V1(),V1("#"),V1("##"),V1("###")]},c1={match:U9(/`/,ZX,/`/)},o1={className:"variable",match:/\$\d+/},a1={className:"variable",match:`\\$${Oa}+`},f1=[c1,o1,a1],r={match:/(@|#)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:y49,contains:[...Q,P,c]}]}},A1={className:"keyword",match:U9(/@/,FI(...L49))},m1={className:"meta",match:U9(/@/,ZX)},T1=[r,A1,m1],e1={match:RR(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:U9(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Oa,"+")},{className:"type",match:tF1,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:U9(/\s+&\s+/,RR(tF1)),relevance:0}]},F0={begin:/</,end:/>/,keywords:V,contains:[...Z,...X,...T1,J,e1]};e1.contains.push(F0);let P0={match:U9(ZX,/\s*:/),keywords:"_|0",relevance:0},B0={begin:/\(/,end:/\)/,relevance:0,keywords:V,contains:["self",P0,...Z,...X,...g,...Q,P,c,...f1,...T1,e1]},a0={beginKeywords:"func",contains:[{className:"title",match:FI(c1.match,ZX,eF1),endsParent:!0,relevance:0},d]},e={begin:/</,end:/>/,contains:[...Z,e1]},G0={begin:FI(RR(U9(ZX,/\s*:/)),RR(U9(ZX,/\s+/,ZX,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:ZX}]},H1={begin:/\(/,end:/\)/,keywords:V,contains:[G0,...Z,...X,...Q,P,c,...T1,e1,B0],endsParent:!0,illegal:/["']/},j1={className:"function",match:RR(/\bfunc\b/),contains:[a0,e,H1,d],illegal:[/\[/,/%/]},i1={className:"function",match:/\b(subscript|init[?!]?)\s*(?=[<(])/,keywords:{keyword:"subscript init init? init!",$pattern:/\w+[?!]?/},contains:[e,H1,d],illegal:/\[|%/},E0={beginKeywords:"operator",end:I.MATCH_NOTHING_RE,contains:[{className:"title",match:eF1,endsParent:!0,relevance:0}]},k={beginKeywords:"precedencegroup",end:I.MATCH_NOTHING_RE,contains:[{className:"title",match:tF1,relevance:0},{begin:/{/,end:/}/,relevance:0,endsParent:!0,keywords:[...M49,...o_2],contains:[e1]}]};for(let a of c.variants){let Z1=a.contains.find((N1)=>N1.label==="interpol");Z1.keywords=V;let Q1=[...X,...g,...Q,P,c,...f1];Z1.contains=[...Q1,{begin:/\(/,end:/\)/,contains:["self",...Q1]}]}return{name:"Swift",keywords:V,contains:[...Z,j1,i1,{className:"class",beginKeywords:"struct protocol class extension enum",end:"\\{",excludeEnd:!0,keywords:V,contains:[I.inherit(I.TITLE_MODE,{begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...X]},E0,k,{beginKeywords:"import",end:/$/,contains:[...Z],relevance:0},...X,...g,...Q,P,c,...f1,...T1,e1,B0]}}ZD2.exports=P49});var wD2=Y((Og3,WD2)=>{function $49(I){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\(/,end:/\)/,contains:["self",{begin:/\\./}]}],relevance:10},{className:"keyword",begin:/\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/,end:/\(/,excludeEnd:!0},{className:"variable",begin:/%[_a-zA-Z0-9:]*/,end:"%"},{className:"symbol",begin:/\\./}]}}WD2.exports=$49});var AD2=Y((mg3,BD2)=>{function u49(I){var d="true false yes no null",G="[\\w#;/?:@&=+$,.~*'()[\\]]+",Z={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ \t]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ \t]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ \t]|$)"}]},C={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},W={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[I.BACKSLASH_ESCAPE,C]},w=I.inherit(W,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),B="[0-9]{4}(-[0-9][0-9]){0,2}",A="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",V="(\\.[0-9]*)?",X="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",_={className:"number",begin:"\\b"+B+A+V+X+"\\b"},F={end:",",endsWithParent:!0,excludeEnd:!0,keywords:d,relevance:0},g={begin:/\{/,end:/\}/,contains:[F],illegal:"\\n",relevance:0},J={begin:"\\[",end:"\\]",contains:[F],illegal:"\\n",relevance:0},K=[Z,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+G},{className:"type",begin:"!<"+G+">"},{className:"type",begin:"!"+G},{className:"type",begin:"!!"+G},{className:"meta",begin:"&"+I.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+I.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},I.HASH_COMMENT_MODE,{beginKeywords:d,keywords:{literal:d}},_,{className:"number",begin:I.C_NUMBER_RE+"\\b",relevance:0},g,J,W],Q=[...K];return Q.pop(),Q.push(w),F.contains=Q,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:K}}BD2.exports=u49});var XD2=Y((lg3,VD2)=>{function T49(I){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[I.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}VD2.exports=T49});var DD2=Y((bg3,_D2)=>{function O49(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function m49(I){return YD2("(",I,")?")}function YD2(...I){return I.map((G)=>O49(G)).join("")}function l49(I){let d=/[a-zA-Z_][a-zA-Z0-9_]*/,G={className:"number",variants:[I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[I.COMMENT(";[ \\t]*#","$"),I.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:YD2(/\$/,m49(/::/),d,"(::",d,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[G]}]},{className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[I.inherit(I.QUOTE_STRING_MODE,{illegal:null})]},G]}}_D2.exports=l49});var FD2=Y((hg3,HD2)=>{function b49(I){return{name:"Thrift",keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:"bool byte i16 i32 i64 double string binary",literal:"true false"},contains:[I.QUOTE_STRING_MODE,I.NUMBER_MODE,I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[I.inherit(I.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:"bool byte i16 i32 i64 double string binary",contains:["self"]}]}}HD2.exports=b49});var JD2=Y((jg3,gD2)=>{function h49(I){let d={className:"number",begin:"[1-9][0-9]*",relevance:0},G={className:"symbol",begin:":[^\\]]+"},Z={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",d,G]},C={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",d,I.QUOTE_STRING_MODE,G]};return{name:"TP",keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET PROG ATTR MN POS",literal:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[Z,C,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},I.COMMENT("//","[;$]"),I.COMMENT("!","[;$]"),I.COMMENT("--eg:","$"),I.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},I.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}gD2.exports=h49});var ND2=Y((kg3,KD2)=>{function j49(I){var d={className:"params",begin:"\\(",end:"\\)"},G="attribute block constant cycle date dump include max min parent random range source template_from_string",Z={beginKeywords:G,keywords:{name:G},relevance:0,contains:[d]},C={begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize column convert_encoding date date_modify default escape filter first format inky_to_html inline_css join json_encode keys last length lower map markdown merge nl2br number_format raw reduce replace reverse round slice sort spaceless split striptags title trim upper url_encode",contains:[Z]},W="apply autoescape block deprecated do embed extends filter flush for from if import include macro sandbox set use verbatim with";return W=W+" "+W.split(" ").map(function(w){return"end"+w}).join(" "),{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[I.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:W,starts:{endsWithParent:!0,contains:[C,Z],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",C,Z]}]}}KD2.exports=j49});var UD2=Y((xg3,RD2)=>{var QD2=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],fD2=["true","false","null","undefined","NaN","Infinity"],k49=["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],x49=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],c49=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],p49=["arguments","this","super","console","window","document","localStorage","module","global"],qD2=[].concat(c49,p49,k49,x49);function i49(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function zD2(I){return dg1("(?=",I,")")}function dg1(...I){return I.map((G)=>i49(G)).join("")}function n49(I){let d=($,{after:h})=>{let O="</"+$[0].slice(1);return $.input.indexOf(O,h)!==-1},G="[A-Za-z$_][0-9A-Za-z$_]*",Z={begin:"<>",end:"</>"},C={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:($,h)=>{let O=$[0].length+$.index,T=$.input[O];if(T==="<"){h.ignoreMatch();return}if(T===">"){if(!d($,{after:O}))h.ignoreMatch()}}},W={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:QD2,literal:fD2,built_in:qD2},w="[0-9](_?[0-9])*",B="\\.([0-9](_?[0-9])*)",A="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",V={className:"number",variants:[{begin:"(\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)((\\.([0-9](_?[0-9])*))|\\.)?|(\\.([0-9](_?[0-9])*)))[eE][+-]?([0-9](_?[0-9])*)\\b"},{begin:"\\b(0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*)\\b((\\.([0-9](_?[0-9])*))\\b|\\.)?|(\\.([0-9](_?[0-9])*))\\b"},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},X={className:"subst",begin:"\\$\\{",end:"\\}",keywords:W,contains:[]},_={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[I.BACKSLASH_ESCAPE,X],subLanguage:"xml"}},F={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[I.BACKSLASH_ESCAPE,X],subLanguage:"css"}},g={className:"string",begin:"`",end:"`",contains:[I.BACKSLASH_ESCAPE,X]},K={className:"comment",variants:[I.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:"[A-Za-z$_][0-9A-Za-z$_]*(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),I.C_BLOCK_COMMENT_MODE,I.C_LINE_COMMENT_MODE]},Q=[I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,_,F,g,V,I.REGEXP_MODE];X.contains=Q.concat({begin:/\{/,end:/\}/,keywords:W,contains:["self"].concat(Q)});let E=[].concat(K,X.contains),S=E.concat([{begin:/\(/,end:/\)/,keywords:W,contains:["self"].concat(E)}]),P={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:S};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:W,exports:{PARAMS_CONTAINS:S},illegal:/#(?![$_A-z])/,contains:[I.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,_,F,g,K,V,{begin:dg1(/[{,\n]\s*/,zD2(dg1(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,"[A-Za-z$_][0-9A-Za-z$_]*\\s*:"))),relevance:0,contains:[{className:"attr",begin:"[A-Za-z$_][0-9A-Za-z$_]*"+zD2("\\s*:"),relevance:0}]},{begin:"("+I.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[K,I.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+I.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:I.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:W,contains:S}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:Z.begin,end:Z.end},{begin:C.begin,"on:begin":C.isTrulyOpeningTag,end:C.end}],subLanguage:"xml",contains:[{begin:C.begin,end:C.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:W,contains:["self",I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),P],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:I.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[P,I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"})]},{variants:[{begin:"\\.[A-Za-z$_][0-9A-Za-z$_]*"},{begin:"\\$[A-Za-z$_][0-9A-Za-z$_]*"}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},I.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),"self",P]},{begin:"(get|set)\\s+(?=[A-Za-z$_][0-9A-Za-z$_]*\\()",end:/\{/,keywords:"get set",contains:[I.inherit(I.TITLE_MODE,{begin:"[A-Za-z$_][0-9A-Za-z$_]*"}),{begin:/\(\)/},P]},{begin:/\$[(.]/}]}}function r49(I){let G={beginKeywords:"namespace",end:/\{/,excludeEnd:!0},Z={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},C={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},W=["any","void","number","boolean","string","object","never","enum"],w=["type","namespace","typedef","interface","public","private","protected","implements","declare","abstract","readonly"],B={$pattern:"[A-Za-z$_][0-9A-Za-z$_]*",keyword:QD2.concat(w),literal:fD2,built_in:qD2.concat(W)},A={className:"meta",begin:"@[A-Za-z$_][0-9A-Za-z$_]*"},V=(F,g,J)=>{let K=F.contains.findIndex((Q)=>Q.label===g);if(K===-1)throw new Error("can not find mode to replace");F.contains.splice(K,1,J)},X=n49(I);Object.assign(X.keywords,B),X.exports.PARAMS_CONTAINS.push(A),X.contains=X.contains.concat([A,G,Z]),V(X,"shebang",I.SHEBANG()),V(X,"use_strict",C);let _=X.contains.find((F)=>F.className==="function");return _.relevance=0,Object.assign(X,{name:"TypeScript",aliases:["ts","tsx"]}),X}RD2.exports=r49});var ED2=Y((cg3,vD2)=>{function a49(I){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[I.UNDERSCORE_TITLE_MODE]},I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},I.APOS_STRING_MODE,I.QUOTE_STRING_MODE,I.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$",relevance:2}]}}vD2.exports=a49});var LD2=Y((pg3,SD2)=>{function MD2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function ma(...I){return I.map((G)=>MD2(G)).join("")}function Gg1(...I){return"("+I.map((G)=>MD2(G)).join("|")+")"}function s49(I){let d={className:"string",begin:/"(""|[^/n])"C\b/},G={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},Z=/\d{1,2}\/\d{1,2}\/\d{4}/,C=/\d{4}-\d{1,2}-\d{1,2}/,W=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,w=/\d{1,2}(:\d{1,2}){1,2}/,B={className:"literal",variants:[{begin:ma(/# */,Gg1(C,Z),/ *#/)},{begin:ma(/# */,w,/ *#/)},{begin:ma(/# */,W,/ *#/)},{begin:ma(/# */,Gg1(C,Z),/ +/,Gg1(W,w),/ *#/)}]},A={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},V={className:"label",begin:/^\w+:/},X=I.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),_=I.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[d,G,B,A,V,X,_,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{"meta-keyword":"const disable else elseif enable end externalsource if region then"},contains:[_]}]}}SD2.exports=s49});var $D2=Y((ig3,PD2)=>{function yD2(I){if(!I)return null;if(typeof I==="string")return I;return I.source}function o49(...I){return I.map((G)=>yD2(G)).join("")}function e49(...I){return"("+I.map((G)=>yD2(G)).join("|")+")"}function t49(I){let d="lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid split  cint sin datepart ltrim sqr time derived eval date formatpercent exp inputbox left ascw chrw regexp cstr err".split(" "),G=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],Z={begin:o49(e49(...d),"\\s*\\("),relevance:0,keywords:{built_in:d}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:G,literal:"true false null nothing empty"},illegal:"//",contains:[Z,I.inherit(I.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),I.COMMENT(/'/,/$/,{relevance:0}),I.C_NUMBER_MODE]}}PD2.exports=t49});var TD2=Y((ng3,uD2)=>{function I59(I){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}uD2.exports=I59});var mD2=Y((rg3,OD2)=>{function d59(I){return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:{$pattern:/[\w\$]+/,keyword:"accept_on alias always always_comb always_ff always_latch and assert assign assume automatic before begin bind bins binsof bit break buf|0 bufif0 bufif1 byte case casex casez cell chandle checker class clocking cmos config const constraint context continue cover covergroup coverpoint cross deassign default defparam design disable dist do edge else end endcase endchecker endclass endclocking endconfig endfunction endgenerate endgroup endinterface endmodule endpackage endprimitive endprogram endproperty endspecify endsequence endtable endtask enum event eventually expect export extends extern final first_match for force foreach forever fork forkjoin function generate|5 genvar global highz0 highz1 if iff ifnone ignore_bins illegal_bins implements implies import incdir include initial inout input inside instance int integer interconnect interface intersect join join_any join_none large let liblist library local localparam logic longint macromodule matches medium modport module nand negedge nettype new nexttime nmos nor noshowcancelled not notif0 notif1 or output package packed parameter pmos posedge primitive priority program property protected pull0 pull1 pulldown pullup pulsestyle_ondetect pulsestyle_onevent pure rand randc randcase randsequence rcmos real realtime ref reg reject_on release repeat restrict return rnmos rpmos rtran rtranif0 rtranif1 s_always s_eventually s_nexttime s_until s_until_with scalared sequence shortint shortreal showcancelled signed small soft solve specify specparam static string strong strong0 strong1 struct super supply0 supply1 sync_accept_on sync_reject_on table tagged task this throughout time timeprecision timeunit tran tranif0 tranif1 tri tri0 tri1 triand trior trireg type typedef union unique unique0 unsigned until until_with untyped use uwire var vectored virtual void wait wait_order wand weak weak0 weak1 while wildcard wire with within wor xnor xor",literal:"null",built_in:"$finish $stop $exit $fatal $error $warning $info $realtime $time $printtimescale $bitstoreal $bitstoshortreal $itor $signed $cast $bits $stime $timeformat $realtobits $shortrealtobits $rtoi $unsigned $asserton $assertkill $assertpasson $assertfailon $assertnonvacuouson $assertoff $assertcontrol $assertpassoff $assertfailoff $assertvacuousoff $isunbounded $sampled $fell $changed $past_gclk $fell_gclk $changed_gclk $rising_gclk $steady_gclk $coverage_control $coverage_get $coverage_save $set_coverage_db_name $rose $stable $past $rose_gclk $stable_gclk $future_gclk $falling_gclk $changing_gclk $display $coverage_get_max $coverage_merge $get_coverage $load_coverage_db $typename $unpacked_dimensions $left $low $increment $clog2 $ln $log10 $exp $sqrt $pow $floor $ceil $sin $cos $tan $countbits $onehot $isunknown $fatal $warning $dimensions $right $high $size $asin $acos $atan $atan2 $hypot $sinh $cosh $tanh $asinh $acosh $atanh $countones $onehot0 $error $info $random $dist_chi_square $dist_erlang $dist_exponential $dist_normal $dist_poisson $dist_t $dist_uniform $q_initialize $q_remove $q_exam $async$and$array $async$nand$array $async$or$array $async$nor$array $sync$and$array $sync$nand$array $sync$or$array $sync$nor$array $q_add $q_full $psprintf $async$and$plane $async$nand$plane $async$or$plane $async$nor$plane $sync$and$plane $sync$nand$plane $sync$or$plane $sync$nor$plane $system $display $displayb $displayh $displayo $strobe $strobeb $strobeh $strobeo $write $readmemb $readmemh $writememh $value$plusargs $dumpvars $dumpon $dumplimit $dumpports $dumpportson $dumpportslimit $writeb $writeh $writeo $monitor $monitorb $monitorh $monitoro $writememb $dumpfile $dumpoff $dumpall $dumpflush $dumpportsoff $dumpportsall $dumpportsflush $fclose $fdisplay $fdisplayb $fdisplayh $fdisplayo $fstrobe $fstrobeb $fstrobeh $fstrobeo $swrite $swriteb $swriteh $swriteo $fscanf $fread $fseek $fflush $feof $fopen $fwrite $fwriteb $fwriteh $fwriteo $fmonitor $fmonitorb $fmonitorh $fmonitoro $sformat $sformatf $fgetc $ungetc $fgets $sscanf $rewind $ftell $ferror"},contains:[I.C_BLOCK_COMMENT_MODE,I.C_LINE_COMMENT_MODE,I.QUOTE_STRING_MODE,{className:"number",contains:[I.BACKSLASH_ESCAPE],variants:[{begin:"\\b((\\d+'(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\B(('(b|h|o|d|B|H|O|D))[0-9xzXZa-fA-F_]+)"},{begin:"\\b([0-9_])+",relevance:0}]},{className:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{className:"meta",begin:"`",end:"$",keywords:{"meta-keyword":"define __FILE__ __LINE__ begin_keywords celldefine default_nettype define else elsif end_keywords endcelldefine endif ifdef ifndef include line nounconnected_drive pragma resetall timescale unconnected_drive undef undefineall"},relevance:0}]}}OD2.exports=d59});var bD2=Y((ag3,lD2)=>{function G59(I){let G="[eE][-+]?\\d(_|\\d)*",Z="\\d(_|\\d)*(\\.\\d(_|\\d)*)?("+G+")?",C="\\w+",w="\\b("+("\\d(_|\\d)*#\\w+(\\.\\w+)?#("+G+")?")+"|"+Z+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert assume assume_guarantee attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package parameter port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable view vmode vprop vunit wait when while with xnor xor",built_in:"boolean bit character integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_logic std_logic_vector unsigned signed boolean_vector integer_vector std_ulogic std_ulogic_vector unresolved_unsigned u_unsigned unresolved_signed u_signed real_vector time_vector",literal:"false true note warning error failure line text side width"},illegal:/\{/,contains:[I.C_BLOCK_COMMENT_MODE,I.COMMENT("--","$"),I.QUOTE_STRING_MODE,{className:"number",begin:w,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[I.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[I.BACKSLASH_ESCAPE]}]}}lD2.exports=G59});var jD2=Y((sg3,hD2)=>{function Z59(I){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[I.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},I.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[I.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}hD2.exports=Z59});var xD2=Y((og3,kD2)=>{function C59(I){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+I.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0  xmm1  xmm2  xmm3  xmm4  xmm5  xmm6  xmm7  xmm8  xmm9 xmm10  xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0  ymm1  ymm2  ymm3  ymm4  ymm5  ymm6  ymm7  ymm8  ymm9 ymm10  ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0  zmm1  zmm2  zmm3  zmm4  zmm5  zmm6  zmm7  zmm8  zmm9 zmm10  zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__  __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__  __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[I.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},I.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}kD2.exports=C59});var pD2=Y((eg3,cD2)=>{function W59(I){let G={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:"if then else do while until for loop import with is as where when by data constant integer real text name boolean symbol infix prefix postfix block tree",literal:"true false nil",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons "+"ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts"},Z={className:"string",begin:'"',end:'"',illegal:"\\n"},C={className:"string",begin:"'",end:"'",illegal:"\\n"},W={className:"string",begin:"<<",end:">>"},w={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},B={beginKeywords:"import",end:"$",keywords:G,contains:[Z]},A={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[I.inherit(I.TITLE_MODE,{starts:{endsWithParent:!0,keywords:G}})]};return{name:"XL",aliases:["tao"],keywords:G,contains:[I.C_LINE_COMMENT_MODE,I.C_BLOCK_COMMENT_MODE,Z,C,W,A,B,w,I.NUMBER_MODE]}}cD2.exports=W59});var nD2=Y((tg3,iD2)=>{function w59(I){return{name:"XQuery",aliases:["xpath","xq"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:"module schema namespace boundary-space preserve no-preserve strip default collation base-uri ordering context decimal-format decimal-separator copy-namespaces empty-sequence except exponent-separator external grouping-separator inherit no-inherit lax minus-sign per-mille percent schema-attribute schema-element strict unordered zero-digit declare import option function validate variable for at in let where order group by return if then else tumbling sliding window start when only end previous next stable ascending descending allowing empty greatest least some every satisfies switch case typeswitch try catch and or to union intersect instance of treat as castable cast map array delete insert into replace value rename copy modify update",type:"item document-node node attribute document element comment namespace namespace-node processing-instruction text construction xs:anyAtomicType xs:untypedAtomic xs:duration xs:time xs:decimal xs:float xs:double xs:gYearMonth xs:gYear xs:gMonthDay xs:gMonth xs:gDay xs:boolean xs:base64Binary xs:hexBinary xs:anyURI xs:QName xs:NOTATION xs:dateTime xs:dateTimeStamp xs:date xs:string xs:normalizedString xs:token xs:language xs:NMTOKEN xs:Name xs:NCName xs:ID xs:IDREF xs:ENTITY xs:integer xs:nonPositiveInteger xs:negativeInteger xs:long xs:int xs:short xs:byte xs:nonNegativeInteger xs:unisignedLong xs:unsignedInt xs:unsignedShort xs:unsignedByte xs:positiveInteger xs:yearMonthDuration xs:dayTimeDuration",literal:"eq ne lt le gt ge is self:: child:: descendant:: descendant-or-self:: attribute:: following:: following-sibling:: parent:: ancestor:: ancestor-or-self:: preceding:: preceding-sibling:: NaN"},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^</$:'"-]\b(?:abs|accumulator-(?:after|before)|adjust-(?:date(?:Time)?|time)-to-timezone|analyze-string|apply|available-(?:environment-variables|system-properties)|avg|base-uri|boolean|ceiling|codepoints?-(?:equal|to-string)|collation-key|collection|compare|concat|contains(?:-token)?|copy-of|count|current(?:-)?(?:date(?:Time)?|time|group(?:ing-key)?|output-uri|merge-(?:group|key))?data|dateTime|days?-from-(?:date(?:Time)?|duration)|deep-equal|default-(?:collation|language)|distinct-values|document(?:-uri)?|doc(?:-available)?|element-(?:available|with-id)|empty|encode-for-uri|ends-with|environment-variable|error|escape-html-uri|exactly-one|exists|false|filter|floor|fold-(?:left|right)|for-each(?:-pair)?|format-(?:date(?:Time)?|time|integer|number)|function-(?:arity|available|lookup|name)|generate-id|has-children|head|hours-from-(?:dateTime|duration|time)|id(?:ref)?|implicit-timezone|in-scope-prefixes|index-of|innermost|insert-before|iri-to-uri|json-(?:doc|to-xml)|key|lang|last|load-xquery-module|local-name(?:-from-QName)?|(?:lower|upper)-case|matches|max|minutes-from-(?:dateTime|duration|time)|min|months?-from-(?:date(?:Time)?|duration)|name(?:space-uri-?(?:for-prefix|from-QName)?)?|nilled|node-name|normalize-(?:space|unicode)|not|number|one-or-more|outermost|parse-(?:ietf-date|json)|path|position|(?:prefix-from-)?QName|random-number-generator|regex-group|remove|replace|resolve-(?:QName|uri)|reverse|root|round(?:-half-to-even)?|seconds-from-(?:dateTime|duration|time)|snapshot|sort|starts-with|static-base-uri|stream-available|string-?(?:join|length|to-codepoints)?|subsequence|substring-?(?:after|before)?|sum|system-property|tail|timezone-from-(?:date(?:Time)?|time)|tokenize|trace|trans(?:form|late)|true|type-available|unordered|unparsed-(?:entity|text)?-?(?:public-id|uri|available|lines)?|uri-collection|xml-to-json|years?-from-(?:date(?:Time)?|duration)|zero-or-one)\b/},{begin:/\blocal:/,end:/\(/,excludeEnd:!0},{begin:/\bzip:/,end:/(?:zip-file|(?:xml|html|text|binary)-entry| (?:update-)?entries)\b/},{begin:/\b(?:util|db|functx|app|xdmp|xmldb):/,end:/\(/,excludeEnd:!0}]},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:/(\b0[0-7_]+)|(\b0x[0-9a-fA-F_]+)|(\b[1-9][0-9_]*(\.[0-9_]+)?)|[0_]\b/,relevance:0},{className:"comment",begin:/\(:/,end:/:\)/,relevance:10,contains:[{className:"doctag",begin:/@\w+/}]},{className:"meta",begin:/%[\w\-:]+/},{className:"title",begin:/\bxquery version "[13]\.[01]"\s?(?:encoding ".+")?/,end:/;/},{beginKeywords:"element attribute comment document processing-instruction",end:/\{/,excludeEnd:!0},{begin:/<([\w._:-]+)(\s+\S*=('|").*('|"))?>/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}iD2.exports=w59});var aD2=Y((IJ3,rD2)=>{function B59(I){let d={className:"string",contains:[I.BACKSLASH_ESCAPE],variants:[I.inherit(I.APOS_STRING_MODE,{illegal:null}),I.inherit(I.QUOTE_STRING_MODE,{illegal:null})]},G=I.UNDERSCORE_TITLE_MODE,Z={variants:[I.BINARY_NUMBER_MODE,I.C_NUMBER_MODE]},C="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:C,contains:[I.C_LINE_COMMENT_MODE,I.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[I.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[G,{className:"params",begin:/\(/,end:/\)/,keywords:C,contains:["self",I.C_BLOCK_COMMENT_MODE,d,Z]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},G]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[G]},{beginKeywords:"use",end:/;/,contains:[G]},{begin:/=>/},d,Z]}}rD2.exports=B59});var UR=Y((dJ3,sD2)=>{var M1=Xw2();M1.registerLanguage("1c",_w2());M1.registerLanguage("abnf",Hw2());M1.registerLanguage("accesslog",Jw2());M1.registerLanguage("actionscript",Nw2());M1.registerLanguage("ada",Qw2());M1.registerLanguage("angelscript",qw2());M1.registerLanguage("apache",Uw2());M1.registerLanguage("applescript",Lw2());M1.registerLanguage("arcade",Pw2());M1.registerLanguage("arduino",uw2());M1.registerLanguage("armasm",Ow2());M1.registerLanguage("xml",hw2());M1.registerLanguage("asciidoc",xw2());M1.registerLanguage("aspectj",pw2());M1.registerLanguage("autohotkey",nw2());M1.registerLanguage("autoit",aw2());M1.registerLanguage("avrasm",ow2());M1.registerLanguage("awk",tw2());M1.registerLanguage("axapta",dB2());M1.registerLanguage("bash",ZB2());M1.registerLanguage("basic",WB2());M1.registerLanguage("bnf",BB2());M1.registerLanguage("brainfuck",VB2());M1.registerLanguage("c-like",YB2());M1.registerLanguage("c",DB2());M1.registerLanguage("cal",FB2());M1.registerLanguage("capnproto",JB2());M1.registerLanguage("ceylon",NB2());M1.registerLanguage("clean",QB2());M1.registerLanguage("clojure",qB2());M1.registerLanguage("clojure-repl",UB2());M1.registerLanguage("cmake",EB2());M1.registerLanguage("coffeescript",SB2());M1.registerLanguage("coq",yB2());M1.registerLanguage("cos",$B2());M1.registerLanguage("cpp",TB2());M1.registerLanguage("crmsh",mB2());M1.registerLanguage("crystal",bB2());M1.registerLanguage("csharp",jB2());M1.registerLanguage("csp",xB2());M1.registerLanguage("css",pB2());M1.registerLanguage("d",nB2());M1.registerLanguage("markdown",aB2());M1.registerLanguage("dart",oB2());M1.registerLanguage("delphi",tB2());M1.registerLanguage("diff",dA2());M1.registerLanguage("django",ZA2());M1.registerLanguage("dns",WA2());M1.registerLanguage("dockerfile",BA2());M1.registerLanguage("dos",VA2());M1.registerLanguage("dsconfig",YA2());M1.registerLanguage("dts",DA2());M1.registerLanguage("dust",FA2());M1.registerLanguage("ebnf",JA2());M1.registerLanguage("elixir",NA2());M1.registerLanguage("elm",QA2());M1.registerLanguage("ruby",RA2());M1.registerLanguage("erb",vA2());M1.registerLanguage("erlang-repl",MA2());M1.registerLanguage("erlang",LA2());M1.registerLanguage("excel",PA2());M1.registerLanguage("fix",uA2());M1.registerLanguage("flix",OA2());M1.registerLanguage("fortran",lA2());M1.registerLanguage("fsharp",hA2());M1.registerLanguage("gams",kA2());M1.registerLanguage("gauss",cA2());M1.registerLanguage("gcode",iA2());M1.registerLanguage("gherkin",rA2());M1.registerLanguage("glsl",sA2());M1.registerLanguage("gml",eA2());M1.registerLanguage("go",IV2());M1.registerLanguage("golo",GV2());M1.registerLanguage("gradle",CV2());M1.registerLanguage("groovy",wV2());M1.registerLanguage("haml",AV2());M1.registerLanguage("handlebars",YV2());M1.registerLanguage("haskell",DV2());M1.registerLanguage("haxe",FV2());M1.registerLanguage("hsp",JV2());M1.registerLanguage("htmlbars",zV2());M1.registerLanguage("http",fV2());M1.registerLanguage("hy",RV2());M1.registerLanguage("inform7",vV2());M1.registerLanguage("ini",LV2());M1.registerLanguage("irpf90",PV2());M1.registerLanguage("isbl",uV2());M1.registerLanguage("java",OV2());M1.registerLanguage("javascript",bV2());M1.registerLanguage("jboss-cli",jV2());M1.registerLanguage("json",xV2());M1.registerLanguage("julia",pV2());M1.registerLanguage("julia-repl",nV2());M1.registerLanguage("kotlin",aV2());M1.registerLanguage("lasso",oV2());M1.registerLanguage("latex",tV2());M1.registerLanguage("ldif",dX2());M1.registerLanguage("leaf",ZX2());M1.registerLanguage("less",BX2());M1.registerLanguage("lisp",VX2());M1.registerLanguage("livecodeserver",YX2());M1.registerLanguage("livescript",DX2());M1.registerLanguage("llvm",FX2());M1.registerLanguage("lsl",JX2());M1.registerLanguage("lua",NX2());M1.registerLanguage("makefile",QX2());M1.registerLanguage("mathematica",vX2());M1.registerLanguage("matlab",MX2());M1.registerLanguage("maxima",LX2());M1.registerLanguage("mel",PX2());M1.registerLanguage("mercury",uX2());M1.registerLanguage("mipsasm",OX2());M1.registerLanguage("mizar",lX2());M1.registerLanguage("perl",kX2());M1.registerLanguage("mojolicious",cX2());M1.registerLanguage("monkey",iX2());M1.registerLanguage("moonscript",rX2());M1.registerLanguage("n1ql",sX2());M1.registerLanguage("nginx",eX2());M1.registerLanguage("nim",IY2());M1.registerLanguage("nix",GY2());M1.registerLanguage("node-repl",CY2());M1.registerLanguage("nsis",wY2());M1.registerLanguage("objectivec",AY2());M1.registerLanguage("ocaml",XY2());M1.registerLanguage("openscad",_Y2());M1.registerLanguage("oxygene",HY2());M1.registerLanguage("parser3",gY2());M1.registerLanguage("pf",KY2());M1.registerLanguage("pgsql",zY2());M1.registerLanguage("php",fY2());M1.registerLanguage("php-template",RY2());M1.registerLanguage("plaintext",vY2());M1.registerLanguage("pony",MY2());M1.registerLanguage("powershell",LY2());M1.registerLanguage("processing",PY2());M1.registerLanguage("profile",uY2());M1.registerLanguage("prolog",OY2());M1.registerLanguage("properties",lY2());M1.registerLanguage("protobuf",hY2());M1.registerLanguage("puppet",kY2());M1.registerLanguage("purebasic",cY2());M1.registerLanguage("python",iY2());M1.registerLanguage("python-repl",rY2());M1.registerLanguage("q",sY2());M1.registerLanguage("qml",eY2());M1.registerLanguage("r",I_2());M1.registerLanguage("reasonml",G_2());M1.registerLanguage("rib",C_2());M1.registerLanguage("roboconf",w_2());M1.registerLanguage("routeros",A_2());M1.registerLanguage("rsl",X_2());M1.registerLanguage("ruleslanguage",__2());M1.registerLanguage("rust",H_2());M1.registerLanguage("sas",g_2());M1.registerLanguage("scala",K_2());M1.registerLanguage("scheme",z_2());M1.registerLanguage("scilab",f_2());M1.registerLanguage("scss",R_2());M1.registerLanguage("shell",v_2());M1.registerLanguage("smali",M_2());M1.registerLanguage("smalltalk",L_2());M1.registerLanguage("sml",P_2());M1.registerLanguage("sqf",u_2());M1.registerLanguage("sql_more",O_2());M1.registerLanguage("sql",b_2());M1.registerLanguage("stan",j_2());M1.registerLanguage("stata",x_2());M1.registerLanguage("step21",p_2());M1.registerLanguage("stylus",n_2());M1.registerLanguage("subunit",a_2());M1.registerLanguage("swift",CD2());M1.registerLanguage("taggerscript",wD2());M1.registerLanguage("yaml",AD2());M1.registerLanguage("tap",XD2());M1.registerLanguage("tcl",DD2());M1.registerLanguage("thrift",FD2());M1.registerLanguage("tp",JD2());M1.registerLanguage("twig",ND2());M1.registerLanguage("typescript",UD2());M1.registerLanguage("vala",ED2());M1.registerLanguage("vbnet",LD2());M1.registerLanguage("vbscript",$D2());M1.registerLanguage("vbscript-html",TD2());M1.registerLanguage("verilog",mD2());M1.registerLanguage("vhdl",bD2());M1.registerLanguage("vim",jD2());M1.registerLanguage("x86asm",xD2());M1.registerLanguage("xl",pD2());M1.registerLanguage("xquery",nD2());M1.registerLanguage("zephir",aD2());sD2.exports=M1});var la=Y((V59)=>{var A59=[65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];V59.REPLACEMENT_CHARACTER="�";V59.CODE_POINTS={EOF:-1,NULL:0,TABULATION:9,CARRIAGE_RETURN:13,LINE_FEED:10,FORM_FEED:12,SPACE:32,EXCLAMATION_MARK:33,QUOTATION_MARK:34,NUMBER_SIGN:35,AMPERSAND:38,APOSTROPHE:39,HYPHEN_MINUS:45,SOLIDUS:47,DIGIT_0:48,DIGIT_9:57,SEMICOLON:59,LESS_THAN_SIGN:60,EQUALS_SIGN:61,GREATER_THAN_SIGN:62,QUESTION_MARK:63,LATIN_CAPITAL_A:65,LATIN_CAPITAL_F:70,LATIN_CAPITAL_X:88,LATIN_CAPITAL_Z:90,RIGHT_SQUARE_BRACKET:93,GRAVE_ACCENT:96,LATIN_SMALL_A:97,LATIN_SMALL_F:102,LATIN_SMALL_X:120,LATIN_SMALL_Z:122,REPLACEMENT_CHARACTER:65533};V59.CODE_POINT_SEQUENCES={DASH_DASH_STRING:[45,45],DOCTYPE_STRING:[68,79,67,84,89,80,69],CDATA_START_STRING:[91,67,68,65,84,65,91],SCRIPT_STRING:[115,99,114,105,112,116],PUBLIC_STRING:[80,85,66,76,73,67],SYSTEM_STRING:[83,89,83,84,69,77]};V59.isSurrogate=function(I){return I>=55296&&I<=57343};V59.isSurrogatePair=function(I){return I>=56320&&I<=57343};V59.getSurrogatePairCodePoint=function(I,d){return(I-55296)*1024+9216+d};V59.isControlCodePoint=function(I){return I!==32&&I!==10&&I!==13&&I!==9&&I!==12&&I>=1&&I<=31||I>=127&&I<=159};V59.isUndefinedCodePoint=function(I){return I>=64976&&I<=65007||A59.indexOf(I)>-1}});var ba=Y((ZJ3,oD2)=>{oD2.exports={controlCharacterInInputStream:"control-character-in-input-stream",noncharacterInInputStream:"noncharacter-in-input-stream",surrogateInInputStream:"surrogate-in-input-stream",nonVoidHtmlElementStartTagWithTrailingSolidus:"non-void-html-element-start-tag-with-trailing-solidus",endTagWithAttributes:"end-tag-with-attributes",endTagWithTrailingSolidus:"end-tag-with-trailing-solidus",unexpectedSolidusInTag:"unexpected-solidus-in-tag",unexpectedNullCharacter:"unexpected-null-character",unexpectedQuestionMarkInsteadOfTagName:"unexpected-question-mark-instead-of-tag-name",invalidFirstCharacterOfTagName:"invalid-first-character-of-tag-name",unexpectedEqualsSignBeforeAttributeName:"unexpected-equals-sign-before-attribute-name",missingEndTagName:"missing-end-tag-name",unexpectedCharacterInAttributeName:"unexpected-character-in-attribute-name",unknownNamedCharacterReference:"unknown-named-character-reference",missingSemicolonAfterCharacterReference:"missing-semicolon-after-character-reference",unexpectedCharacterAfterDoctypeSystemIdentifier:"unexpected-character-after-doctype-system-identifier",unexpectedCharacterInUnquotedAttributeValue:"unexpected-character-in-unquoted-attribute-value",eofBeforeTagName:"eof-before-tag-name",eofInTag:"eof-in-tag",missingAttributeValue:"missing-attribute-value",missingWhitespaceBetweenAttributes:"missing-whitespace-between-attributes",missingWhitespaceAfterDoctypePublicKeyword:"missing-whitespace-after-doctype-public-keyword",missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:"missing-whitespace-between-doctype-public-and-system-identifiers",missingWhitespaceAfterDoctypeSystemKeyword:"missing-whitespace-after-doctype-system-keyword",missingQuoteBeforeDoctypePublicIdentifier:"missing-quote-before-doctype-public-identifier",missingQuoteBeforeDoctypeSystemIdentifier:"missing-quote-before-doctype-system-identifier",missingDoctypePublicIdentifier:"missing-doctype-public-identifier",missingDoctypeSystemIdentifier:"missing-doctype-system-identifier",abruptDoctypePublicIdentifier:"abrupt-doctype-public-identifier",abruptDoctypeSystemIdentifier:"abrupt-doctype-system-identifier",cdataInHtmlContent:"cdata-in-html-content",incorrectlyOpenedComment:"incorrectly-opened-comment",eofInScriptHtmlCommentLikeText:"eof-in-script-html-comment-like-text",eofInDoctype:"eof-in-doctype",nestedComment:"nested-comment",abruptClosingOfEmptyComment:"abrupt-closing-of-empty-comment",eofInComment:"eof-in-comment",incorrectlyClosedComment:"incorrectly-closed-comment",eofInCdata:"eof-in-cdata",absenceOfDigitsInNumericCharacterReference:"absence-of-digits-in-numeric-character-reference",nullCharacterReference:"null-character-reference",surrogateCharacterReference:"surrogate-character-reference",characterReferenceOutsideUnicodeRange:"character-reference-outside-unicode-range",controlCharacterReference:"control-character-reference",noncharacterCharacterReference:"noncharacter-character-reference",missingWhitespaceBeforeDoctypeName:"missing-whitespace-before-doctype-name",missingDoctypeName:"missing-doctype-name",invalidCharacterSequenceAfterDoctypeName:"invalid-character-sequence-after-doctype-name",duplicateAttribute:"duplicate-attribute",nonConformingDoctype:"non-conforming-doctype",missingDoctype:"missing-doctype",misplacedDoctype:"misplaced-doctype",endTagWithoutMatchingOpenElement:"end-tag-without-matching-open-element",closingOfElementWithOpenChildElements:"closing-of-element-with-open-child-elements",disallowedContentInNoscriptInHead:"disallowed-content-in-noscript-in-head",openElementsLeftAfterEof:"open-elements-left-after-eof",abandonedHeadElementChild:"abandoned-head-element-child",misplacedStartTagForHeadElement:"misplaced-start-tag-for-head-element",nestedNoscriptInHead:"nested-noscript-in-head",eofInElementThatCanContainOnlyText:"eof-in-element-that-can-contain-only-text"}});var IH2=Y((CJ3,tD2)=>{var vR=la(),Zg1=ba(),xJ=vR.CODE_POINTS;class eD2{constructor(){this.html=null,this.pos=-1,this.lastGapPos=-1,this.lastCharPos=-1,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536}_err(){}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(I){if(this.pos!==this.lastCharPos){let d=this.html.charCodeAt(this.pos+1);if(vR.isSurrogatePair(d))return this.pos++,this._addGap(),vR.getSurrogatePairCodePoint(I,d)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,xJ.EOF;return this._err(Zg1.surrogateInInputStream),I}dropParsedChunk(){if(this.pos>this.bufferWaterline)this.lastCharPos-=this.pos,this.html=this.html.substring(this.pos),this.pos=0,this.lastGapPos=-1,this.gapStack=[]}write(I,d){if(this.html)this.html+=I;else this.html=I;this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1,this.lastChunkWritten=d}insertHtmlAtCurrentPos(I){this.html=this.html.substring(0,this.pos+1)+I+this.html.substring(this.pos+1,this.html.length),this.lastCharPos=this.html.length-1,this.endOfChunkHit=!1}advance(){if(this.pos++,this.pos>this.lastCharPos)return this.endOfChunkHit=!this.lastChunkWritten,xJ.EOF;let I=this.html.charCodeAt(this.pos);if(this.skipNextNewLine&&I===xJ.LINE_FEED)return this.skipNextNewLine=!1,this._addGap(),this.advance();if(I===xJ.CARRIAGE_RETURN)return this.skipNextNewLine=!0,xJ.LINE_FEED;if(this.skipNextNewLine=!1,vR.isSurrogate(I))I=this._processSurrogate(I);if(!(I>31&&I<127||I===xJ.LINE_FEED||I===xJ.CARRIAGE_RETURN||I>159&&I<64976))this._checkForProblematicCharacters(I);return I}_checkForProblematicCharacters(I){if(vR.isControlCodePoint(I))this._err(Zg1.controlCharacterInInputStream);else if(vR.isUndefinedCodePoint(I))this._err(Zg1.noncharacterInInputStream)}retreat(){if(this.pos===this.lastGapPos)this.lastGapPos=this.gapStack.pop(),this.pos--;this.pos--}}tD2.exports=eD2});var GH2=Y((WJ3,dH2)=>{dH2.exports=new Uint16Array([4,52,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,106,303,412,810,1432,1701,1796,1987,2114,2360,2420,2484,3170,3251,4140,4393,4575,4610,5106,5512,5728,6117,6274,6315,6345,6427,6516,7002,7910,8733,9323,9870,10170,10631,10893,11318,11386,11467,12773,13092,14474,14922,15448,15542,16419,17666,18166,18611,19004,19095,19298,19397,4,16,69,77,97,98,99,102,103,108,109,110,111,112,114,115,116,117,140,150,158,169,176,194,199,210,216,222,226,242,256,266,283,294,108,105,103,5,198,1,59,148,1,198,80,5,38,1,59,156,1,38,99,117,116,101,5,193,1,59,167,1,193,114,101,118,101,59,1,258,4,2,105,121,182,191,114,99,5,194,1,59,189,1,194,59,1,1040,114,59,3,55349,56580,114,97,118,101,5,192,1,59,208,1,192,112,104,97,59,1,913,97,99,114,59,1,256,100,59,1,10835,4,2,103,112,232,237,111,110,59,1,260,102,59,3,55349,56632,112,108,121,70,117,110,99,116,105,111,110,59,1,8289,105,110,103,5,197,1,59,264,1,197,4,2,99,115,272,277,114,59,3,55349,56476,105,103,110,59,1,8788,105,108,100,101,5,195,1,59,292,1,195,109,108,5,196,1,59,301,1,196,4,8,97,99,101,102,111,114,115,117,321,350,354,383,388,394,400,405,4,2,99,114,327,336,107,115,108,97,115,104,59,1,8726,4,2,118,119,342,345,59,1,10983,101,100,59,1,8966,121,59,1,1041,4,3,99,114,116,362,369,379,97,117,115,101,59,1,8757,110,111,117,108,108,105,115,59,1,8492,97,59,1,914,114,59,3,55349,56581,112,102,59,3,55349,56633,101,118,101,59,1,728,99,114,59,1,8492,109,112,101,113,59,1,8782,4,14,72,79,97,99,100,101,102,104,105,108,111,114,115,117,442,447,456,504,542,547,569,573,577,616,678,784,790,796,99,121,59,1,1063,80,89,5,169,1,59,454,1,169,4,3,99,112,121,464,470,497,117,116,101,59,1,262,4,2,59,105,476,478,1,8914,116,97,108,68,105,102,102,101,114,101,110,116,105,97,108,68,59,1,8517,108,101,121,115,59,1,8493,4,4,97,101,105,111,514,520,530,535,114,111,110,59,1,268,100,105,108,5,199,1,59,528,1,199,114,99,59,1,264,110,105,110,116,59,1,8752,111,116,59,1,266,4,2,100,110,553,560,105,108,108,97,59,1,184,116,101,114,68,111,116,59,1,183,114,59,1,8493,105,59,1,935,114,99,108,101,4,4,68,77,80,84,591,596,603,609,111,116,59,1,8857,105,110,117,115,59,1,8854,108,117,115,59,1,8853,105,109,101,115,59,1,8855,111,4,2,99,115,623,646,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8754,101,67,117,114,108,121,4,2,68,81,658,671,111,117,98,108,101,81,117,111,116,101,59,1,8221,117,111,116,101,59,1,8217,4,4,108,110,112,117,688,701,736,753,111,110,4,2,59,101,696,698,1,8759,59,1,10868,4,3,103,105,116,709,717,722,114,117,101,110,116,59,1,8801,110,116,59,1,8751,111,117,114,73,110,116,101,103,114,97,108,59,1,8750,4,2,102,114,742,745,59,1,8450,111,100,117,99,116,59,1,8720,110,116,101,114,67,108,111,99,107,119,105,115,101,67,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8755,111,115,115,59,1,10799,99,114,59,3,55349,56478,112,4,2,59,67,803,805,1,8915,97,112,59,1,8781,4,11,68,74,83,90,97,99,101,102,105,111,115,834,850,855,860,865,888,903,916,921,1011,1415,4,2,59,111,840,842,1,8517,116,114,97,104,100,59,1,10513,99,121,59,1,1026,99,121,59,1,1029,99,121,59,1,1039,4,3,103,114,115,873,879,883,103,101,114,59,1,8225,114,59,1,8609,104,118,59,1,10980,4,2,97,121,894,900,114,111,110,59,1,270,59,1,1044,108,4,2,59,116,910,912,1,8711,97,59,1,916,114,59,3,55349,56583,4,2,97,102,927,998,4,2,99,109,933,992,114,105,116,105,99,97,108,4,4,65,68,71,84,950,957,978,985,99,117,116,101,59,1,180,111,4,2,116,117,964,967,59,1,729,98,108,101,65,99,117,116,101,59,1,733,114,97,118,101,59,1,96,105,108,100,101,59,1,732,111,110,100,59,1,8900,102,101,114,101,110,116,105,97,108,68,59,1,8518,4,4,112,116,117,119,1021,1026,1048,1249,102,59,3,55349,56635,4,3,59,68,69,1034,1036,1041,1,168,111,116,59,1,8412,113,117,97,108,59,1,8784,98,108,101,4,6,67,68,76,82,85,86,1065,1082,1101,1189,1211,1236,111,110,116,111,117,114,73,110,116,101,103,114,97,108,59,1,8751,111,4,2,116,119,1089,1092,59,1,168,110,65,114,114,111,119,59,1,8659,4,2,101,111,1107,1141,102,116,4,3,65,82,84,1117,1124,1136,114,114,111,119,59,1,8656,105,103,104,116,65,114,114,111,119,59,1,8660,101,101,59,1,10980,110,103,4,2,76,82,1149,1177,101,102,116,4,2,65,82,1158,1165,114,114,111,119,59,1,10232,105,103,104,116,65,114,114,111,119,59,1,10234,105,103,104,116,65,114,114,111,119,59,1,10233,105,103,104,116,4,2,65,84,1199,1206,114,114,111,119,59,1,8658,101,101,59,1,8872,112,4,2,65,68,1218,1225,114,114,111,119,59,1,8657,111,119,110,65,114,114,111,119,59,1,8661,101,114,116,105,99,97,108,66,97,114,59,1,8741,110,4,6,65,66,76,82,84,97,1264,1292,1299,1352,1391,1408,114,114,111,119,4,3,59,66,85,1276,1278,1283,1,8595,97,114,59,1,10515,112,65,114,114,111,119,59,1,8693,114,101,118,101,59,1,785,101,102,116,4,3,82,84,86,1310,1323,1334,105,103,104,116,86,101,99,116,111,114,59,1,10576,101,101,86,101,99,116,111,114,59,1,10590,101,99,116,111,114,4,2,59,66,1345,1347,1,8637,97,114,59,1,10582,105,103,104,116,4,2,84,86,1362,1373,101,101,86,101,99,116,111,114,59,1,10591,101,99,116,111,114,4,2,59,66,1384,1386,1,8641,97,114,59,1,10583,101,101,4,2,59,65,1399,1401,1,8868,114,114,111,119,59,1,8615,114,114,111,119,59,1,8659,4,2,99,116,1421,1426,114,59,3,55349,56479,114,111,107,59,1,272,4,16,78,84,97,99,100,102,103,108,109,111,112,113,115,116,117,120,1466,1470,1478,1489,1515,1520,1525,1536,1544,1593,1609,1617,1650,1664,1668,1677,71,59,1,330,72,5,208,1,59,1476,1,208,99,117,116,101,5,201,1,59,1487,1,201,4,3,97,105,121,1497,1503,1512,114,111,110,59,1,282,114,99,5,202,1,59,1510,1,202,59,1,1069,111,116,59,1,278,114,59,3,55349,56584,114,97,118,101,5,200,1,59,1534,1,200,101,109,101,110,116,59,1,8712,4,2,97,112,1550,1555,99,114,59,1,274,116,121,4,2,83,86,1563,1576,109,97,108,108,83,113,117,97,114,101,59,1,9723,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9643,4,2,103,112,1599,1604,111,110,59,1,280,102,59,3,55349,56636,115,105,108,111,110,59,1,917,117,4,2,97,105,1624,1640,108,4,2,59,84,1631,1633,1,10869,105,108,100,101,59,1,8770,108,105,98,114,105,117,109,59,1,8652,4,2,99,105,1656,1660,114,59,1,8496,109,59,1,10867,97,59,1,919,109,108,5,203,1,59,1675,1,203,4,2,105,112,1683,1689,115,116,115,59,1,8707,111,110,101,110,116,105,97,108,69,59,1,8519,4,5,99,102,105,111,115,1713,1717,1722,1762,1791,121,59,1,1060,114,59,3,55349,56585,108,108,101,100,4,2,83,86,1732,1745,109,97,108,108,83,113,117,97,114,101,59,1,9724,101,114,121,83,109,97,108,108,83,113,117,97,114,101,59,1,9642,4,3,112,114,117,1770,1775,1781,102,59,3,55349,56637,65,108,108,59,1,8704,114,105,101,114,116,114,102,59,1,8497,99,114,59,1,8497,4,12,74,84,97,98,99,100,102,103,111,114,115,116,1822,1827,1834,1848,1855,1877,1882,1887,1890,1896,1978,1984,99,121,59,1,1027,5,62,1,59,1832,1,62,109,109,97,4,2,59,100,1843,1845,1,915,59,1,988,114,101,118,101,59,1,286,4,3,101,105,121,1863,1869,1874,100,105,108,59,1,290,114,99,59,1,284,59,1,1043,111,116,59,1,288,114,59,3,55349,56586,59,1,8921,112,102,59,3,55349,56638,101,97,116,101,114,4,6,69,70,71,76,83,84,1915,1933,1944,1953,1959,1971,113,117,97,108,4,2,59,76,1925,1927,1,8805,101,115,115,59,1,8923,117,108,108,69,113,117,97,108,59,1,8807,114,101,97,116,101,114,59,1,10914,101,115,115,59,1,8823,108,97,110,116,69,113,117,97,108,59,1,10878,105,108,100,101,59,1,8819,99,114,59,3,55349,56482,59,1,8811,4,8,65,97,99,102,105,111,115,117,2005,2012,2026,2032,2036,2049,2073,2089,82,68,99,121,59,1,1066,4,2,99,116,2018,2023,101,107,59,1,711,59,1,94,105,114,99,59,1,292,114,59,1,8460,108,98,101,114,116,83,112,97,99,101,59,1,8459,4,2,112,114,2055,2059,102,59,1,8461,105,122,111,110,116,97,108,76,105,110,101,59,1,9472,4,2,99,116,2079,2083,114,59,1,8459,114,111,107,59,1,294,109,112,4,2,68,69,2097,2107,111,119,110,72,117,109,112,59,1,8782,113,117,97,108,59,1,8783,4,14,69,74,79,97,99,100,102,103,109,110,111,115,116,117,2144,2149,2155,2160,2171,2189,2194,2198,2209,2245,2307,2329,2334,2341,99,121,59,1,1045,108,105,103,59,1,306,99,121,59,1,1025,99,117,116,101,5,205,1,59,2169,1,205,4,2,105,121,2177,2186,114,99,5,206,1,59,2184,1,206,59,1,1048,111,116,59,1,304,114,59,1,8465,114,97,118,101,5,204,1,59,2207,1,204,4,3,59,97,112,2217,2219,2238,1,8465,4,2,99,103,2225,2229,114,59,1,298,105,110,97,114,121,73,59,1,8520,108,105,101,115,59,1,8658,4,2,116,118,2251,2281,4,2,59,101,2257,2259,1,8748,4,2,103,114,2265,2271,114,97,108,59,1,8747,115,101,99,116,105,111,110,59,1,8898,105,115,105,98,108,101,4,2,67,84,2293,2300,111,109,109,97,59,1,8291,105,109,101,115,59,1,8290,4,3,103,112,116,2315,2320,2325,111,110,59,1,302,102,59,3,55349,56640,97,59,1,921,99,114,59,1,8464,105,108,100,101,59,1,296,4,2,107,109,2347,2352,99,121,59,1,1030,108,5,207,1,59,2358,1,207,4,5,99,102,111,115,117,2372,2386,2391,2397,2414,4,2,105,121,2378,2383,114,99,59,1,308,59,1,1049,114,59,3,55349,56589,112,102,59,3,55349,56641,4,2,99,101,2403,2408,114,59,3,55349,56485,114,99,121,59,1,1032,107,99,121,59,1,1028,4,7,72,74,97,99,102,111,115,2436,2441,2446,2452,2467,2472,2478,99,121,59,1,1061,99,121,59,1,1036,112,112,97,59,1,922,4,2,101,121,2458,2464,100,105,108,59,1,310,59,1,1050,114,59,3,55349,56590,112,102,59,3,55349,56642,99,114,59,3,55349,56486,4,11,74,84,97,99,101,102,108,109,111,115,116,2508,2513,2520,2562,2585,2981,2986,3004,3011,3146,3167,99,121,59,1,1033,5,60,1,59,2518,1,60,4,5,99,109,110,112,114,2532,2538,2544,2548,2558,117,116,101,59,1,313,98,100,97,59,1,923,103,59,1,10218,108,97,99,101,116,114,102,59,1,8466,114,59,1,8606,4,3,97,101,121,2570,2576,2582,114,111,110,59,1,317,100,105,108,59,1,315,59,1,1051,4,2,102,115,2591,2907,116,4,10,65,67,68,70,82,84,85,86,97,114,2614,2663,2672,2728,2735,2760,2820,2870,2888,2895,4,2,110,114,2620,2633,103,108,101,66,114,97,99,107,101,116,59,1,10216,114,111,119,4,3,59,66,82,2644,2646,2651,1,8592,97,114,59,1,8676,105,103,104,116,65,114,114,111,119,59,1,8646,101,105,108,105,110,103,59,1,8968,111,4,2,117,119,2679,2692,98,108,101,66,114,97,99,107,101,116,59,1,10214,110,4,2,84,86,2699,2710,101,101,86,101,99,116,111,114,59,1,10593,101,99,116,111,114,4,2,59,66,2721,2723,1,8643,97,114,59,1,10585,108,111,111,114,59,1,8970,105,103,104,116,4,2,65,86,2745,2752,114,114,111,119,59,1,8596,101,99,116,111,114,59,1,10574,4,2,101,114,2766,2792,101,4,3,59,65,86,2775,2777,2784,1,8867,114,114,111,119,59,1,8612,101,99,116,111,114,59,1,10586,105,97,110,103,108,101,4,3,59,66,69,2806,2808,2813,1,8882,97,114,59,1,10703,113,117,97,108,59,1,8884,112,4,3,68,84,86,2829,2841,2852,111,119,110,86,101,99,116,111,114,59,1,10577,101,101,86,101,99,116,111,114,59,1,10592,101,99,116,111,114,4,2,59,66,2863,2865,1,8639,97,114,59,1,10584,101,99,116,111,114,4,2,59,66,2881,2883,1,8636,97,114,59,1,10578,114,114,111,119,59,1,8656,105,103,104,116,97,114,114,111,119,59,1,8660,115,4,6,69,70,71,76,83,84,2922,2936,2947,2956,2962,2974,113,117,97,108,71,114,101,97,116,101,114,59,1,8922,117,108,108,69,113,117,97,108,59,1,8806,114,101,97,116,101,114,59,1,8822,101,115,115,59,1,10913,108,97,110,116,69,113,117,97,108,59,1,10877,105,108,100,101,59,1,8818,114,59,3,55349,56591,4,2,59,101,2992,2994,1,8920,102,116,97,114,114,111,119,59,1,8666,105,100,111,116,59,1,319,4,3,110,112,119,3019,3110,3115,103,4,4,76,82,108,114,3030,3058,3070,3098,101,102,116,4,2,65,82,3039,3046,114,114,111,119,59,1,10229,105,103,104,116,65,114,114,111,119,59,1,10231,105,103,104,116,65,114,114,111,119,59,1,10230,101,102,116,4,2,97,114,3079,3086,114,114,111,119,59,1,10232,105,103,104,116,97,114,114,111,119,59,1,10234,105,103,104,116,97,114,114,111,119,59,1,10233,102,59,3,55349,56643,101,114,4,2,76,82,3123,3134,101,102,116,65,114,114,111,119,59,1,8601,105,103,104,116,65,114,114,111,119,59,1,8600,4,3,99,104,116,3154,3158,3161,114,59,1,8466,59,1,8624,114,111,107,59,1,321,59,1,8810,4,8,97,99,101,102,105,111,115,117,3188,3192,3196,3222,3227,3237,3243,3248,112,59,1,10501,121,59,1,1052,4,2,100,108,3202,3213,105,117,109,83,112,97,99,101,59,1,8287,108,105,110,116,114,102,59,1,8499,114,59,3,55349,56592,110,117,115,80,108,117,115,59,1,8723,112,102,59,3,55349,56644,99,114,59,1,8499,59,1,924,4,9,74,97,99,101,102,111,115,116,117,3271,3276,3283,3306,3422,3427,4120,4126,4137,99,121,59,1,1034,99,117,116,101,59,1,323,4,3,97,101,121,3291,3297,3303,114,111,110,59,1,327,100,105,108,59,1,325,59,1,1053,4,3,103,115,119,3314,3380,3415,97,116,105,118,101,4,3,77,84,86,3327,3340,3365,101,100,105,117,109,83,112,97,99,101,59,1,8203,104,105,4,2,99,110,3348,3357,107,83,112,97,99,101,59,1,8203,83,112,97,99,101,59,1,8203,101,114,121,84,104,105,110,83,112,97,99,101,59,1,8203,116,101,100,4,2,71,76,3389,3405,114,101,97,116,101,114,71,114,101,97,116,101,114,59,1,8811,101,115,115,76,101,115,115,59,1,8810,76,105,110,101,59,1,10,114,59,3,55349,56593,4,4,66,110,112,116,3437,3444,3460,3464,114,101,97,107,59,1,8288,66,114,101,97,107,105,110,103,83,112,97,99,101,59,1,160,102,59,1,8469,4,13,59,67,68,69,71,72,76,78,80,82,83,84,86,3492,3494,3517,3536,3578,3657,3685,3784,3823,3860,3915,4066,4107,1,10988,4,2,111,117,3500,3510,110,103,114,117,101,110,116,59,1,8802,112,67,97,112,59,1,8813,111,117,98,108,101,86,101,114,116,105,99,97,108,66,97,114,59,1,8742,4,3,108,113,120,3544,3552,3571,101,109,101,110,116,59,1,8713,117,97,108,4,2,59,84,3561,3563,1,8800,105,108,100,101,59,3,8770,824,105,115,116,115,59,1,8708,114,101,97,116,101,114,4,7,59,69,70,71,76,83,84,3600,3602,3609,3621,3631,3637,3650,1,8815,113,117,97,108,59,1,8817,117,108,108,69,113,117,97,108,59,3,8807,824,114,101,97,116,101,114,59,3,8811,824,101,115,115,59,1,8825,108,97,110,116,69,113,117,97,108,59,3,10878,824,105,108,100,101,59,1,8821,117,109,112,4,2,68,69,3666,3677,111,119,110,72,117,109,112,59,3,8782,824,113,117,97,108,59,3,8783,824,101,4,2,102,115,3692,3724,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3709,3711,3717,1,8938,97,114,59,3,10703,824,113,117,97,108,59,1,8940,115,4,6,59,69,71,76,83,84,3739,3741,3748,3757,3764,3777,1,8814,113,117,97,108,59,1,8816,114,101,97,116,101,114,59,1,8824,101,115,115,59,3,8810,824,108,97,110,116,69,113,117,97,108,59,3,10877,824,105,108,100,101,59,1,8820,101,115,116,101,100,4,2,71,76,3795,3812,114,101,97,116,101,114,71,114,101,97,116,101,114,59,3,10914,824,101,115,115,76,101,115,115,59,3,10913,824,114,101,99,101,100,101,115,4,3,59,69,83,3838,3840,3848,1,8832,113,117,97,108,59,3,10927,824,108,97,110,116,69,113,117,97,108,59,1,8928,4,2,101,105,3866,3881,118,101,114,115,101,69,108,101,109,101,110,116,59,1,8716,103,104,116,84,114,105,97,110,103,108,101,4,3,59,66,69,3900,3902,3908,1,8939,97,114,59,3,10704,824,113,117,97,108,59,1,8941,4,2,113,117,3921,3973,117,97,114,101,83,117,4,2,98,112,3933,3952,115,101,116,4,2,59,69,3942,3945,3,8847,824,113,117,97,108,59,1,8930,101,114,115,101,116,4,2,59,69,3963,3966,3,8848,824,113,117,97,108,59,1,8931,4,3,98,99,112,3981,4000,4045,115,101,116,4,2,59,69,3990,3993,3,8834,8402,113,117,97,108,59,1,8840,99,101,101,100,115,4,4,59,69,83,84,4015,4017,4025,4037,1,8833,113,117,97,108,59,3,10928,824,108,97,110,116,69,113,117,97,108,59,1,8929,105,108,100,101,59,3,8831,824,101,114,115,101,116,4,2,59,69,4056,4059,3,8835,8402,113,117,97,108,59,1,8841,105,108,100,101,4,4,59,69,70,84,4080,4082,4089,4100,1,8769,113,117,97,108,59,1,8772,117,108,108,69,113,117,97,108,59,1,8775,105,108,100,101,59,1,8777,101,114,116,105,99,97,108,66,97,114,59,1,8740,99,114,59,3,55349,56489,105,108,100,101,5,209,1,59,4135,1,209,59,1,925,4,14,69,97,99,100,102,103,109,111,112,114,115,116,117,118,4170,4176,4187,4205,4212,4217,4228,4253,4259,4292,4295,4316,4337,4346,108,105,103,59,1,338,99,117,116,101,5,211,1,59,4185,1,211,4,2,105,121,4193,4202,114,99,5,212,1,59,4200,1,212,59,1,1054,98,108,97,99,59,1,336,114,59,3,55349,56594,114,97,118,101,5,210,1,59,4226,1,210,4,3,97,101,105,4236,4241,4246,99,114,59,1,332,103,97,59,1,937,99,114,111,110,59,1,927,112,102,59,3,55349,56646,101,110,67,117,114,108,121,4,2,68,81,4272,4285,111,117,98,108,101,81,117,111,116,101,59,1,8220,117,111,116,101,59,1,8216,59,1,10836,4,2,99,108,4301,4306,114,59,3,55349,56490,97,115,104,5,216,1,59,4314,1,216,105,4,2,108,109,4323,4332,100,101,5,213,1,59,4330,1,213,101,115,59,1,10807,109,108,5,214,1,59,4344,1,214,101,114,4,2,66,80,4354,4380,4,2,97,114,4360,4364,114,59,1,8254,97,99,4,2,101,107,4372,4375,59,1,9182,101,116,59,1,9140,97,114,101,110,116,104,101,115,105,115,59,1,9180,4,9,97,99,102,104,105,108,111,114,115,4413,4422,4426,4431,4435,4438,4448,4471,4561,114,116,105,97,108,68,59,1,8706,121,59,1,1055,114,59,3,55349,56595,105,59,1,934,59,1,928,117,115,77,105,110,117,115,59,1,177,4,2,105,112,4454,4467,110,99,97,114,101,112,108,97,110,101,59,1,8460,102,59,1,8473,4,4,59,101,105,111,4481,4483,4526,4531,1,10939,99,101,100,101,115,4,4,59,69,83,84,4498,4500,4507,4519,1,8826,113,117,97,108,59,1,10927,108,97,110,116,69,113,117,97,108,59,1,8828,105,108,100,101,59,1,8830,109,101,59,1,8243,4,2,100,112,4537,4543,117,99,116,59,1,8719,111,114,116,105,111,110,4,2,59,97,4555,4557,1,8759,108,59,1,8733,4,2,99,105,4567,4572,114,59,3,55349,56491,59,1,936,4,4,85,102,111,115,4585,4594,4599,4604,79,84,5,34,1,59,4592,1,34,114,59,3,55349,56596,112,102,59,1,8474,99,114,59,3,55349,56492,4,12,66,69,97,99,101,102,104,105,111,114,115,117,4636,4642,4650,4681,4704,4763,4767,4771,5047,5069,5081,5094,97,114,114,59,1,10512,71,5,174,1,59,4648,1,174,4,3,99,110,114,4658,4664,4668,117,116,101,59,1,340,103,59,1,10219,114,4,2,59,116,4675,4677,1,8608,108,59,1,10518,4,3,97,101,121,4689,4695,4701,114,111,110,59,1,344,100,105,108,59,1,342,59,1,1056,4,2,59,118,4710,4712,1,8476,101,114,115,101,4,2,69,85,4722,4748,4,2,108,113,4728,4736,101,109,101,110,116,59,1,8715,117,105,108,105,98,114,105,117,109,59,1,8651,112,69,113,117,105,108,105,98,114,105,117,109,59,1,10607,114,59,1,8476,111,59,1,929,103,104,116,4,8,65,67,68,70,84,85,86,97,4792,4840,4849,4905,4912,4972,5022,5040,4,2,110,114,4798,4811,103,108,101,66,114,97,99,107,101,116,59,1,10217,114,111,119,4,3,59,66,76,4822,4824,4829,1,8594,97,114,59,1,8677,101,102,116,65,114,114,111,119,59,1,8644,101,105,108,105,110,103,59,1,8969,111,4,2,117,119,4856,4869,98,108,101,66,114,97,99,107,101,116,59,1,10215,110,4,2,84,86,4876,4887,101,101,86,101,99,116,111,114,59,1,10589,101,99,116,111,114,4,2,59,66,4898,4900,1,8642,97,114,59,1,10581,108,111,111,114,59,1,8971,4,2,101,114,4918,4944,101,4,3,59,65,86,4927,4929,4936,1,8866,114,114,111,119,59,1,8614,101,99,116,111,114,59,1,10587,105,97,110,103,108,101,4,3,59,66,69,4958,4960,4965,1,8883,97,114,59,1,10704,113,117,97,108,59,1,8885,112,4,3,68,84,86,4981,4993,5004,111,119,110,86,101,99,116,111,114,59,1,10575,101,101,86,101,99,116,111,114,59,1,10588,101,99,116,111,114,4,2,59,66,5015,5017,1,8638,97,114,59,1,10580,101,99,116,111,114,4,2,59,66,5033,5035,1,8640,97,114,59,1,10579,114,114,111,119,59,1,8658,4,2,112,117,5053,5057,102,59,1,8477,110,100,73,109,112,108,105,101,115,59,1,10608,105,103,104,116,97,114,114,111,119,59,1,8667,4,2,99,104,5087,5091,114,59,1,8475,59,1,8625,108,101,68,101,108,97,121,101,100,59,1,10740,4,13,72,79,97,99,102,104,105,109,111,113,115,116,117,5134,5150,5157,5164,5198,5203,5259,5265,5277,5283,5374,5380,5385,4,2,67,99,5140,5146,72,99,121,59,1,1065,121,59,1,1064,70,84,99,121,59,1,1068,99,117,116,101,59,1,346,4,5,59,97,101,105,121,5176,5178,5184,5190,5195,1,10940,114,111,110,59,1,352,100,105,108,59,1,350,114,99,59,1,348,59,1,1057,114,59,3,55349,56598,111,114,116,4,4,68,76,82,85,5216,5227,5238,5250,111,119,110,65,114,114,111,119,59,1,8595,101,102,116,65,114,114,111,119,59,1,8592,105,103,104,116,65,114,114,111,119,59,1,8594,112,65,114,114,111,119,59,1,8593,103,109,97,59,1,931,97,108,108,67,105,114,99,108,101,59,1,8728,112,102,59,3,55349,56650,4,2,114,117,5289,5293,116,59,1,8730,97,114,101,4,4,59,73,83,85,5306,5308,5322,5367,1,9633,110,116,101,114,115,101,99,116,105,111,110,59,1,8851,117,4,2,98,112,5329,5347,115,101,116,4,2,59,69,5338,5340,1,8847,113,117,97,108,59,1,8849,101,114,115,101,116,4,2,59,69,5358,5360,1,8848,113,117,97,108,59,1,8850,110,105,111,110,59,1,8852,99,114,59,3,55349,56494,97,114,59,1,8902,4,4,98,99,109,112,5395,5420,5475,5478,4,2,59,115,5401,5403,1,8912,101,116,4,2,59,69,5411,5413,1,8912,113,117,97,108,59,1,8838,4,2,99,104,5426,5468,101,101,100,115,4,4,59,69,83,84,5440,5442,5449,5461,1,8827,113,117,97,108,59,1,10928,108,97,110,116,69,113,117,97,108,59,1,8829,105,108,100,101,59,1,8831,84,104,97,116,59,1,8715,59,1,8721,4,3,59,101,115,5486,5488,5507,1,8913,114,115,101,116,4,2,59,69,5498,5500,1,8835,113,117,97,108,59,1,8839,101,116,59,1,8913,4,11,72,82,83,97,99,102,104,105,111,114,115,5536,5546,5552,5567,5579,5602,5607,5655,5695,5701,5711,79,82,78,5,222,1,59,5544,1,222,65,68,69,59,1,8482,4,2,72,99,5558,5563,99,121,59,1,1035,121,59,1,1062,4,2,98,117,5573,5576,59,1,9,59,1,932,4,3,97,101,121,5587,5593,5599,114,111,110,59,1,356,100,105,108,59,1,354,59,1,1058,114,59,3,55349,56599,4,2,101,105,5613,5631,4,2,114,116,5619,5627,101,102,111,114,101,59,1,8756,97,59,1,920,4,2,99,110,5637,5647,107,83,112,97,99,101,59,3,8287,8202,83,112,97,99,101,59,1,8201,108,100,101,4,4,59,69,70,84,5668,5670,5677,5688,1,8764,113,117,97,108,59,1,8771,117,108,108,69,113,117,97,108,59,1,8773,105,108,100,101,59,1,8776,112,102,59,3,55349,56651,105,112,108,101,68,111,116,59,1,8411,4,2,99,116,5717,5722,114,59,3,55349,56495,114,111,107,59,1,358,4,14,97,98,99,100,102,103,109,110,111,112,114,115,116,117,5758,5789,5805,5823,5830,5835,5846,5852,5921,5937,6089,6095,6101,6108,4,2,99,114,5764,5774,117,116,101,5,218,1,59,5772,1,218,114,4,2,59,111,5781,5783,1,8607,99,105,114,59,1,10569,114,4,2,99,101,5796,5800,121,59,1,1038,118,101,59,1,364,4,2,105,121,5811,5820,114,99,5,219,1,59,5818,1,219,59,1,1059,98,108,97,99,59,1,368,114,59,3,55349,56600,114,97,118,101,5,217,1,59,5844,1,217,97,99,114,59,1,362,4,2,100,105,5858,5905,101,114,4,2,66,80,5866,5892,4,2,97,114,5872,5876,114,59,1,95,97,99,4,2,101,107,5884,5887,59,1,9183,101,116,59,1,9141,97,114,101,110,116,104,101,115,105,115,59,1,9181,111,110,4,2,59,80,5913,5915,1,8899,108,117,115,59,1,8846,4,2,103,112,5927,5932,111,110,59,1,370,102,59,3,55349,56652,4,8,65,68,69,84,97,100,112,115,5955,5985,5996,6009,6026,6033,6044,6075,114,114,111,119,4,3,59,66,68,5967,5969,5974,1,8593,97,114,59,1,10514,111,119,110,65,114,114,111,119,59,1,8645,111,119,110,65,114,114,111,119,59,1,8597,113,117,105,108,105,98,114,105,117,109,59,1,10606,101,101,4,2,59,65,6017,6019,1,8869,114,114,111,119,59,1,8613,114,114,111,119,59,1,8657,111,119,110,97,114,114,111,119,59,1,8661,101,114,4,2,76,82,6052,6063,101,102,116,65,114,114,111,119,59,1,8598,105,103,104,116,65,114,114,111,119,59,1,8599,105,4,2,59,108,6082,6084,1,978,111,110,59,1,933,105,110,103,59,1,366,99,114,59,3,55349,56496,105,108,100,101,59,1,360,109,108,5,220,1,59,6115,1,220,4,9,68,98,99,100,101,102,111,115,118,6137,6143,6148,6152,6166,6250,6255,6261,6267,97,115,104,59,1,8875,97,114,59,1,10987,121,59,1,1042,97,115,104,4,2,59,108,6161,6163,1,8873,59,1,10982,4,2,101,114,6172,6175,59,1,8897,4,3,98,116,121,6183,6188,6238,97,114,59,1,8214,4,2,59,105,6194,6196,1,8214,99,97,108,4,4,66,76,83,84,6209,6214,6220,6231,97,114,59,1,8739,105,110,101,59,1,124,101,112,97,114,97,116,111,114,59,1,10072,105,108,100,101,59,1,8768,84,104,105,110,83,112,97,99,101,59,1,8202,114,59,3,55349,56601,112,102,59,3,55349,56653,99,114,59,3,55349,56497,100,97,115,104,59,1,8874,4,5,99,101,102,111,115,6286,6292,6298,6303,6309,105,114,99,59,1,372,100,103,101,59,1,8896,114,59,3,55349,56602,112,102,59,3,55349,56654,99,114,59,3,55349,56498,4,4,102,105,111,115,6325,6330,6333,6339,114,59,3,55349,56603,59,1,926,112,102,59,3,55349,56655,99,114,59,3,55349,56499,4,9,65,73,85,97,99,102,111,115,117,6365,6370,6375,6380,6391,6405,6410,6416,6422,99,121,59,1,1071,99,121,59,1,1031,99,121,59,1,1070,99,117,116,101,5,221,1,59,6389,1,221,4,2,105,121,6397,6402,114,99,59,1,374,59,1,1067,114,59,3,55349,56604,112,102,59,3,55349,56656,99,114,59,3,55349,56500,109,108,59,1,376,4,8,72,97,99,100,101,102,111,115,6445,6450,6457,6472,6477,6501,6505,6510,99,121,59,1,1046,99,117,116,101,59,1,377,4,2,97,121,6463,6469,114,111,110,59,1,381,59,1,1047,111,116,59,1,379,4,2,114,116,6483,6497,111,87,105,100,116,104,83,112,97,99,101,59,1,8203,97,59,1,918,114,59,1,8488,112,102,59,1,8484,99,114,59,3,55349,56501,4,16,97,98,99,101,102,103,108,109,110,111,112,114,115,116,117,119,6550,6561,6568,6612,6622,6634,6645,6672,6699,6854,6870,6923,6933,6963,6974,6983,99,117,116,101,5,225,1,59,6559,1,225,114,101,118,101,59,1,259,4,6,59,69,100,105,117,121,6582,6584,6588,6591,6600,6609,1,8766,59,3,8766,819,59,1,8767,114,99,5,226,1,59,6598,1,226,116,101,5,180,1,59,6607,1,180,59,1,1072,108,105,103,5,230,1,59,6620,1,230,4,2,59,114,6628,6630,1,8289,59,3,55349,56606,114,97,118,101,5,224,1,59,6643,1,224,4,2,101,112,6651,6667,4,2,102,112,6657,6663,115,121,109,59,1,8501,104,59,1,8501,104,97,59,1,945,4,2,97,112,6678,6692,4,2,99,108,6684,6688,114,59,1,257,103,59,1,10815,5,38,1,59,6697,1,38,4,2,100,103,6705,6737,4,5,59,97,100,115,118,6717,6719,6724,6727,6734,1,8743,110,100,59,1,10837,59,1,10844,108,111,112,101,59,1,10840,59,1,10842,4,7,59,101,108,109,114,115,122,6753,6755,6758,6762,6814,6835,6848,1,8736,59,1,10660,101,59,1,8736,115,100,4,2,59,97,6770,6772,1,8737,4,8,97,98,99,100,101,102,103,104,6790,6793,6796,6799,6802,6805,6808,6811,59,1,10664,59,1,10665,59,1,10666,59,1,10667,59,1,10668,59,1,10669,59,1,10670,59,1,10671,116,4,2,59,118,6821,6823,1,8735,98,4,2,59,100,6830,6832,1,8894,59,1,10653,4,2,112,116,6841,6845,104,59,1,8738,59,1,197,97,114,114,59,1,9084,4,2,103,112,6860,6865,111,110,59,1,261,102,59,3,55349,56658,4,7,59,69,97,101,105,111,112,6886,6888,6891,6897,6900,6904,6908,1,8776,59,1,10864,99,105,114,59,1,10863,59,1,8778,100,59,1,8779,115,59,1,39,114,111,120,4,2,59,101,6917,6919,1,8776,113,59,1,8778,105,110,103,5,229,1,59,6931,1,229,4,3,99,116,121,6941,6946,6949,114,59,3,55349,56502,59,1,42,109,112,4,2,59,101,6957,6959,1,8776,113,59,1,8781,105,108,100,101,5,227,1,59,6972,1,227,109,108,5,228,1,59,6981,1,228,4,2,99,105,6989,6997,111,110,105,110,116,59,1,8755,110,116,59,1,10769,4,16,78,97,98,99,100,101,102,105,107,108,110,111,112,114,115,117,7036,7041,7119,7135,7149,7155,7219,7224,7347,7354,7463,7489,7786,7793,7814,7866,111,116,59,1,10989,4,2,99,114,7047,7094,107,4,4,99,101,112,115,7058,7064,7073,7080,111,110,103,59,1,8780,112,115,105,108,111,110,59,1,1014,114,105,109,101,59,1,8245,105,109,4,2,59,101,7088,7090,1,8765,113,59,1,8909,4,2,118,119,7100,7105,101,101,59,1,8893,101,100,4,2,59,103,7113,7115,1,8965,101,59,1,8965,114,107,4,2,59,116,7127,7129,1,9141,98,114,107,59,1,9142,4,2,111,121,7141,7146,110,103,59,1,8780,59,1,1073,113,117,111,59,1,8222,4,5,99,109,112,114,116,7167,7181,7188,7193,7199,97,117,115,4,2,59,101,7176,7178,1,8757,59,1,8757,112,116,121,118,59,1,10672,115,105,59,1,1014,110,111,117,59,1,8492,4,3,97,104,119,7207,7210,7213,59,1,946,59,1,8502,101,101,110,59,1,8812,114,59,3,55349,56607,103,4,7,99,111,115,116,117,118,119,7241,7262,7288,7305,7328,7335,7340,4,3,97,105,117,7249,7253,7258,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,4,3,100,112,116,7270,7275,7281,111,116,59,1,10752,108,117,115,59,1,10753,105,109,101,115,59,1,10754,4,2,113,116,7294,7300,99,117,112,59,1,10758,97,114,59,1,9733,114,105,97,110,103,108,101,4,2,100,117,7318,7324,111,119,110,59,1,9661,112,59,1,9651,112,108,117,115,59,1,10756,101,101,59,1,8897,101,100,103,101,59,1,8896,97,114,111,119,59,1,10509,4,3,97,107,111,7362,7436,7458,4,2,99,110,7368,7432,107,4,3,108,115,116,7377,7386,7394,111,122,101,110,103,101,59,1,10731,113,117,97,114,101,59,1,9642,114,105,97,110,103,108,101,4,4,59,100,108,114,7411,7413,7419,7425,1,9652,111,119,110,59,1,9662,101,102,116,59,1,9666,105,103,104,116,59,1,9656,107,59,1,9251,4,2,49,51,7442,7454,4,2,50,52,7448,7451,59,1,9618,59,1,9617,52,59,1,9619,99,107,59,1,9608,4,2,101,111,7469,7485,4,2,59,113,7475,7478,3,61,8421,117,105,118,59,3,8801,8421,116,59,1,8976,4,4,112,116,119,120,7499,7504,7517,7523,102,59,3,55349,56659,4,2,59,116,7510,7512,1,8869,111,109,59,1,8869,116,105,101,59,1,8904,4,12,68,72,85,86,98,100,104,109,112,116,117,118,7549,7571,7597,7619,7655,7660,7682,7708,7715,7721,7728,7750,4,4,76,82,108,114,7559,7562,7565,7568,59,1,9559,59,1,9556,59,1,9558,59,1,9555,4,5,59,68,85,100,117,7583,7585,7588,7591,7594,1,9552,59,1,9574,59,1,9577,59,1,9572,59,1,9575,4,4,76,82,108,114,7607,7610,7613,7616,59,1,9565,59,1,9562,59,1,9564,59,1,9561,4,7,59,72,76,82,104,108,114,7635,7637,7640,7643,7646,7649,7652,1,9553,59,1,9580,59,1,9571,59,1,9568,59,1,9579,59,1,9570,59,1,9567,111,120,59,1,10697,4,4,76,82,108,114,7670,7673,7676,7679,59,1,9557,59,1,9554,59,1,9488,59,1,9484,4,5,59,68,85,100,117,7694,7696,7699,7702,7705,1,9472,59,1,9573,59,1,9576,59,1,9516,59,1,9524,105,110,117,115,59,1,8863,108,117,115,59,1,8862,105,109,101,115,59,1,8864,4,4,76,82,108,114,7738,7741,7744,7747,59,1,9563,59,1,9560,59,1,9496,59,1,9492,4,7,59,72,76,82,104,108,114,7766,7768,7771,7774,7777,7780,7783,1,9474,59,1,9578,59,1,9569,59,1,9566,59,1,9532,59,1,9508,59,1,9500,114,105,109,101,59,1,8245,4,2,101,118,7799,7804,118,101,59,1,728,98,97,114,5,166,1,59,7812,1,166,4,4,99,101,105,111,7824,7829,7834,7846,114,59,3,55349,56503,109,105,59,1,8271,109,4,2,59,101,7841,7843,1,8765,59,1,8909,108,4,3,59,98,104,7855,7857,7860,1,92,59,1,10693,115,117,98,59,1,10184,4,2,108,109,7872,7885,108,4,2,59,101,7879,7881,1,8226,116,59,1,8226,112,4,3,59,69,101,7894,7896,7899,1,8782,59,1,10926,4,2,59,113,7905,7907,1,8783,59,1,8783,4,15,97,99,100,101,102,104,105,108,111,114,115,116,117,119,121,7942,8021,8075,8080,8121,8126,8157,8279,8295,8430,8446,8485,8491,8707,8726,4,3,99,112,114,7950,7956,8007,117,116,101,59,1,263,4,6,59,97,98,99,100,115,7970,7972,7977,7984,7998,8003,1,8745,110,100,59,1,10820,114,99,117,112,59,1,10825,4,2,97,117,7990,7994,112,59,1,10827,112,59,1,10823,111,116,59,1,10816,59,3,8745,65024,4,2,101,111,8013,8017,116,59,1,8257,110,59,1,711,4,4,97,101,105,117,8031,8046,8056,8061,4,2,112,114,8037,8041,115,59,1,10829,111,110,59,1,269,100,105,108,5,231,1,59,8054,1,231,114,99,59,1,265,112,115,4,2,59,115,8069,8071,1,10828,109,59,1,10832,111,116,59,1,267,4,3,100,109,110,8088,8097,8104,105,108,5,184,1,59,8095,1,184,112,116,121,118,59,1,10674,116,5,162,2,59,101,8112,8114,1,162,114,100,111,116,59,1,183,114,59,3,55349,56608,4,3,99,101,105,8134,8138,8154,121,59,1,1095,99,107,4,2,59,109,8146,8148,1,10003,97,114,107,59,1,10003,59,1,967,114,4,7,59,69,99,101,102,109,115,8174,8176,8179,8258,8261,8268,8273,1,9675,59,1,10691,4,3,59,101,108,8187,8189,8193,1,710,113,59,1,8791,101,4,2,97,100,8200,8223,114,114,111,119,4,2,108,114,8210,8216,101,102,116,59,1,8634,105,103,104,116,59,1,8635,4,5,82,83,97,99,100,8235,8238,8241,8246,8252,59,1,174,59,1,9416,115,116,59,1,8859,105,114,99,59,1,8858,97,115,104,59,1,8861,59,1,8791,110,105,110,116,59,1,10768,105,100,59,1,10991,99,105,114,59,1,10690,117,98,115,4,2,59,117,8288,8290,1,9827,105,116,59,1,9827,4,4,108,109,110,112,8305,8326,8376,8400,111,110,4,2,59,101,8313,8315,1,58,4,2,59,113,8321,8323,1,8788,59,1,8788,4,2,109,112,8332,8344,97,4,2,59,116,8339,8341,1,44,59,1,64,4,3,59,102,108,8352,8354,8358,1,8705,110,59,1,8728,101,4,2,109,120,8365,8371,101,110,116,59,1,8705,101,115,59,1,8450,4,2,103,105,8382,8395,4,2,59,100,8388,8390,1,8773,111,116,59,1,10861,110,116,59,1,8750,4,3,102,114,121,8408,8412,8417,59,3,55349,56660,111,100,59,1,8720,5,169,2,59,115,8424,8426,1,169,114,59,1,8471,4,2,97,111,8436,8441,114,114,59,1,8629,115,115,59,1,10007,4,2,99,117,8452,8457,114,59,3,55349,56504,4,2,98,112,8463,8474,4,2,59,101,8469,8471,1,10959,59,1,10961,4,2,59,101,8480,8482,1,10960,59,1,10962,100,111,116,59,1,8943,4,7,100,101,108,112,114,118,119,8507,8522,8536,8550,8600,8697,8702,97,114,114,4,2,108,114,8516,8519,59,1,10552,59,1,10549,4,2,112,115,8528,8532,114,59,1,8926,99,59,1,8927,97,114,114,4,2,59,112,8545,8547,1,8630,59,1,10557,4,6,59,98,99,100,111,115,8564,8566,8573,8587,8592,8596,1,8746,114,99,97,112,59,1,10824,4,2,97,117,8579,8583,112,59,1,10822,112,59,1,10826,111,116,59,1,8845,114,59,1,10821,59,3,8746,65024,4,4,97,108,114,118,8610,8623,8663,8672,114,114,4,2,59,109,8618,8620,1,8631,59,1,10556,121,4,3,101,118,119,8632,8651,8656,113,4,2,112,115,8639,8645,114,101,99,59,1,8926,117,99,99,59,1,8927,101,101,59,1,8910,101,100,103,101,59,1,8911,101,110,5,164,1,59,8670,1,164,101,97,114,114,111,119,4,2,108,114,8684,8690,101,102,116,59,1,8630,105,103,104,116,59,1,8631,101,101,59,1,8910,101,100,59,1,8911,4,2,99,105,8713,8721,111,110,105,110,116,59,1,8754,110,116,59,1,8753,108,99,116,121,59,1,9005,4,19,65,72,97,98,99,100,101,102,104,105,106,108,111,114,115,116,117,119,122,8773,8778,8783,8821,8839,8854,8887,8914,8930,8944,9036,9041,9058,9197,9227,9258,9281,9297,9305,114,114,59,1,8659,97,114,59,1,10597,4,4,103,108,114,115,8793,8799,8805,8809,103,101,114,59,1,8224,101,116,104,59,1,8504,114,59,1,8595,104,4,2,59,118,8816,8818,1,8208,59,1,8867,4,2,107,108,8827,8834,97,114,111,119,59,1,10511,97,99,59,1,733,4,2,97,121,8845,8851,114,111,110,59,1,271,59,1,1076,4,3,59,97,111,8862,8864,8880,1,8518,4,2,103,114,8870,8876,103,101,114,59,1,8225,114,59,1,8650,116,115,101,113,59,1,10871,4,3,103,108,109,8895,8902,8907,5,176,1,59,8900,1,176,116,97,59,1,948,112,116,121,118,59,1,10673,4,2,105,114,8920,8926,115,104,116,59,1,10623,59,3,55349,56609,97,114,4,2,108,114,8938,8941,59,1,8643,59,1,8642,4,5,97,101,103,115,118,8956,8986,8989,8996,9001,109,4,3,59,111,115,8965,8967,8983,1,8900,110,100,4,2,59,115,8975,8977,1,8900,117,105,116,59,1,9830,59,1,9830,59,1,168,97,109,109,97,59,1,989,105,110,59,1,8946,4,3,59,105,111,9009,9011,9031,1,247,100,101,5,247,2,59,111,9020,9022,1,247,110,116,105,109,101,115,59,1,8903,110,120,59,1,8903,99,121,59,1,1106,99,4,2,111,114,9048,9053,114,110,59,1,8990,111,112,59,1,8973,4,5,108,112,116,117,119,9070,9076,9081,9130,9144,108,97,114,59,1,36,102,59,3,55349,56661,4,5,59,101,109,112,115,9093,9095,9109,9116,9122,1,729,113,4,2,59,100,9102,9104,1,8784,111,116,59,1,8785,105,110,117,115,59,1,8760,108,117,115,59,1,8724,113,117,97,114,101,59,1,8865,98,108,101,98,97,114,119,101,100,103,101,59,1,8966,110,4,3,97,100,104,9153,9160,9172,114,114,111,119,59,1,8595,111,119,110,97,114,114,111,119,115,59,1,8650,97,114,112,111,111,110,4,2,108,114,9184,9190,101,102,116,59,1,8643,105,103,104,116,59,1,8642,4,2,98,99,9203,9211,107,97,114,111,119,59,1,10512,4,2,111,114,9217,9222,114,110,59,1,8991,111,112,59,1,8972,4,3,99,111,116,9235,9248,9252,4,2,114,121,9241,9245,59,3,55349,56505,59,1,1109,108,59,1,10742,114,111,107,59,1,273,4,2,100,114,9264,9269,111,116,59,1,8945,105,4,2,59,102,9276,9278,1,9663,59,1,9662,4,2,97,104,9287,9292,114,114,59,1,8693,97,114,59,1,10607,97,110,103,108,101,59,1,10662,4,2,99,105,9311,9315,121,59,1,1119,103,114,97,114,114,59,1,10239,4,18,68,97,99,100,101,102,103,108,109,110,111,112,113,114,115,116,117,120,9361,9376,9398,9439,9444,9447,9462,9495,9531,9585,9598,9614,9659,9755,9771,9792,9808,9826,4,2,68,111,9367,9372,111,116,59,1,10871,116,59,1,8785,4,2,99,115,9382,9392,117,116,101,5,233,1,59,9390,1,233,116,101,114,59,1,10862,4,4,97,105,111,121,9408,9414,9430,9436,114,111,110,59,1,283,114,4,2,59,99,9421,9423,1,8790,5,234,1,59,9428,1,234,108,111,110,59,1,8789,59,1,1101,111,116,59,1,279,59,1,8519,4,2,68,114,9453,9458,111,116,59,1,8786,59,3,55349,56610,4,3,59,114,115,9470,9472,9482,1,10906,97,118,101,5,232,1,59,9480,1,232,4,2,59,100,9488,9490,1,10902,111,116,59,1,10904,4,4,59,105,108,115,9505,9507,9515,9518,1,10905,110,116,101,114,115,59,1,9191,59,1,8467,4,2,59,100,9524,9526,1,10901,111,116,59,1,10903,4,3,97,112,115,9539,9544,9564,99,114,59,1,275,116,121,4,3,59,115,118,9554,9556,9561,1,8709,101,116,59,1,8709,59,1,8709,112,4,2,49,59,9571,9583,4,2,51,52,9577,9580,59,1,8196,59,1,8197,1,8195,4,2,103,115,9591,9594,59,1,331,112,59,1,8194,4,2,103,112,9604,9609,111,110,59,1,281,102,59,3,55349,56662,4,3,97,108,115,9622,9635,9640,114,4,2,59,115,9629,9631,1,8917,108,59,1,10723,117,115,59,1,10865,105,4,3,59,108,118,9649,9651,9656,1,949,111,110,59,1,949,59,1,1013,4,4,99,115,117,118,9669,9686,9716,9747,4,2,105,111,9675,9680,114,99,59,1,8790,108,111,110,59,1,8789,4,2,105,108,9692,9696,109,59,1,8770,97,110,116,4,2,103,108,9705,9710,116,114,59,1,10902,101,115,115,59,1,10901,4,3,97,101,105,9724,9729,9734,108,115,59,1,61,115,116,59,1,8799,118,4,2,59,68,9741,9743,1,8801,68,59,1,10872,112,97,114,115,108,59,1,10725,4,2,68,97,9761,9766,111,116,59,1,8787,114,114,59,1,10609,4,3,99,100,105,9779,9783,9788,114,59,1,8495,111,116,59,1,8784,109,59,1,8770,4,2,97,104,9798,9801,59,1,951,5,240,1,59,9806,1,240,4,2,109,114,9814,9822,108,5,235,1,59,9820,1,235,111,59,1,8364,4,3,99,105,112,9834,9838,9843,108,59,1,33,115,116,59,1,8707,4,2,101,111,9849,9859,99,116,97,116,105,111,110,59,1,8496,110,101,110,116,105,97,108,101,59,1,8519,4,12,97,99,101,102,105,106,108,110,111,112,114,115,9896,9910,9914,9921,9954,9960,9967,9989,9994,10027,10036,10164,108,108,105,110,103,100,111,116,115,101,113,59,1,8786,121,59,1,1092,109,97,108,101,59,1,9792,4,3,105,108,114,9929,9935,9950,108,105,103,59,1,64259,4,2,105,108,9941,9945,103,59,1,64256,105,103,59,1,64260,59,3,55349,56611,108,105,103,59,1,64257,108,105,103,59,3,102,106,4,3,97,108,116,9975,9979,9984,116,59,1,9837,105,103,59,1,64258,110,115,59,1,9649,111,102,59,1,402,4,2,112,114,1e4,10005,102,59,3,55349,56663,4,2,97,107,10011,10016,108,108,59,1,8704,4,2,59,118,10022,10024,1,8916,59,1,10969,97,114,116,105,110,116,59,1,10765,4,2,97,111,10042,10159,4,2,99,115,10048,10155,4,6,49,50,51,52,53,55,10062,10102,10114,10135,10139,10151,4,6,50,51,52,53,54,56,10076,10083,10086,10093,10096,10099,5,189,1,59,10081,1,189,59,1,8531,5,188,1,59,10091,1,188,59,1,8533,59,1,8537,59,1,8539,4,2,51,53,10108,10111,59,1,8532,59,1,8534,4,3,52,53,56,10122,10129,10132,5,190,1,59,10127,1,190,59,1,8535,59,1,8540,53,59,1,8536,4,2,54,56,10145,10148,59,1,8538,59,1,8541,56,59,1,8542,108,59,1,8260,119,110,59,1,8994,99,114,59,3,55349,56507,4,17,69,97,98,99,100,101,102,103,105,106,108,110,111,114,115,116,118,10206,10217,10247,10254,10268,10273,10358,10363,10374,10380,10385,10406,10458,10464,10470,10497,10610,4,2,59,108,10212,10214,1,8807,59,1,10892,4,3,99,109,112,10225,10231,10244,117,116,101,59,1,501,109,97,4,2,59,100,10239,10241,1,947,59,1,989,59,1,10886,114,101,118,101,59,1,287,4,2,105,121,10260,10265,114,99,59,1,285,59,1,1075,111,116,59,1,289,4,4,59,108,113,115,10283,10285,10288,10308,1,8805,59,1,8923,4,3,59,113,115,10296,10298,10301,1,8805,59,1,8807,108,97,110,116,59,1,10878,4,4,59,99,100,108,10318,10320,10324,10345,1,10878,99,59,1,10921,111,116,4,2,59,111,10332,10334,1,10880,4,2,59,108,10340,10342,1,10882,59,1,10884,4,2,59,101,10351,10354,3,8923,65024,115,59,1,10900,114,59,3,55349,56612,4,2,59,103,10369,10371,1,8811,59,1,8921,109,101,108,59,1,8503,99,121,59,1,1107,4,4,59,69,97,106,10395,10397,10400,10403,1,8823,59,1,10898,59,1,10917,59,1,10916,4,4,69,97,101,115,10416,10419,10434,10453,59,1,8809,112,4,2,59,112,10426,10428,1,10890,114,111,120,59,1,10890,4,2,59,113,10440,10442,1,10888,4,2,59,113,10448,10450,1,10888,59,1,8809,105,109,59,1,8935,112,102,59,3,55349,56664,97,118,101,59,1,96,4,2,99,105,10476,10480,114,59,1,8458,109,4,3,59,101,108,10489,10491,10494,1,8819,59,1,10894,59,1,10896,5,62,6,59,99,100,108,113,114,10512,10514,10527,10532,10538,10545,1,62,4,2,99,105,10520,10523,59,1,10919,114,59,1,10874,111,116,59,1,8919,80,97,114,59,1,10645,117,101,115,116,59,1,10876,4,5,97,100,101,108,115,10557,10574,10579,10599,10605,4,2,112,114,10563,10570,112,114,111,120,59,1,10886,114,59,1,10616,111,116,59,1,8919,113,4,2,108,113,10586,10592,101,115,115,59,1,8923,108,101,115,115,59,1,10892,101,115,115,59,1,8823,105,109,59,1,8819,4,2,101,110,10616,10626,114,116,110,101,113,113,59,3,8809,65024,69,59,3,8809,65024,4,10,65,97,98,99,101,102,107,111,115,121,10653,10658,10713,10718,10724,10760,10765,10786,10850,10875,114,114,59,1,8660,4,4,105,108,109,114,10668,10674,10678,10684,114,115,112,59,1,8202,102,59,1,189,105,108,116,59,1,8459,4,2,100,114,10690,10695,99,121,59,1,1098,4,3,59,99,119,10703,10705,10710,1,8596,105,114,59,1,10568,59,1,8621,97,114,59,1,8463,105,114,99,59,1,293,4,3,97,108,114,10732,10748,10754,114,116,115,4,2,59,117,10741,10743,1,9829,105,116,59,1,9829,108,105,112,59,1,8230,99,111,110,59,1,8889,114,59,3,55349,56613,115,4,2,101,119,10772,10779,97,114,111,119,59,1,10533,97,114,111,119,59,1,10534,4,5,97,109,111,112,114,10798,10803,10809,10839,10844,114,114,59,1,8703,116,104,116,59,1,8763,107,4,2,108,114,10816,10827,101,102,116,97,114,114,111,119,59,1,8617,105,103,104,116,97,114,114,111,119,59,1,8618,102,59,3,55349,56665,98,97,114,59,1,8213,4,3,99,108,116,10858,10863,10869,114,59,3,55349,56509,97,115,104,59,1,8463,114,111,107,59,1,295,4,2,98,112,10881,10887,117,108,108,59,1,8259,104,101,110,59,1,8208,4,15,97,99,101,102,103,105,106,109,110,111,112,113,115,116,117,10925,10936,10958,10977,10990,11001,11039,11045,11101,11192,11220,11226,11237,11285,11299,99,117,116,101,5,237,1,59,10934,1,237,4,3,59,105,121,10944,10946,10955,1,8291,114,99,5,238,1,59,10953,1,238,59,1,1080,4,2,99,120,10964,10968,121,59,1,1077,99,108,5,161,1,59,10975,1,161,4,2,102,114,10983,10986,59,1,8660,59,3,55349,56614,114,97,118,101,5,236,1,59,10999,1,236,4,4,59,105,110,111,11011,11013,11028,11034,1,8520,4,2,105,110,11019,11024,110,116,59,1,10764,116,59,1,8749,102,105,110,59,1,10716,116,97,59,1,8489,108,105,103,59,1,307,4,3,97,111,112,11053,11092,11096,4,3,99,103,116,11061,11065,11088,114,59,1,299,4,3,101,108,112,11073,11076,11082,59,1,8465,105,110,101,59,1,8464,97,114,116,59,1,8465,104,59,1,305,102,59,1,8887,101,100,59,1,437,4,5,59,99,102,111,116,11113,11115,11121,11136,11142,1,8712,97,114,101,59,1,8453,105,110,4,2,59,116,11129,11131,1,8734,105,101,59,1,10717,100,111,116,59,1,305,4,5,59,99,101,108,112,11154,11156,11161,11179,11186,1,8747,97,108,59,1,8890,4,2,103,114,11167,11173,101,114,115,59,1,8484,99,97,108,59,1,8890,97,114,104,107,59,1,10775,114,111,100,59,1,10812,4,4,99,103,112,116,11202,11206,11211,11216,121,59,1,1105,111,110,59,1,303,102,59,3,55349,56666,97,59,1,953,114,111,100,59,1,10812,117,101,115,116,5,191,1,59,11235,1,191,4,2,99,105,11243,11248,114,59,3,55349,56510,110,4,5,59,69,100,115,118,11261,11263,11266,11271,11282,1,8712,59,1,8953,111,116,59,1,8949,4,2,59,118,11277,11279,1,8948,59,1,8947,59,1,8712,4,2,59,105,11291,11293,1,8290,108,100,101,59,1,297,4,2,107,109,11305,11310,99,121,59,1,1110,108,5,239,1,59,11316,1,239,4,6,99,102,109,111,115,117,11332,11346,11351,11357,11363,11380,4,2,105,121,11338,11343,114,99,59,1,309,59,1,1081,114,59,3,55349,56615,97,116,104,59,1,567,112,102,59,3,55349,56667,4,2,99,101,11369,11374,114,59,3,55349,56511,114,99,121,59,1,1112,107,99,121,59,1,1108,4,8,97,99,102,103,104,106,111,115,11404,11418,11433,11438,11445,11450,11455,11461,112,112,97,4,2,59,118,11413,11415,1,954,59,1,1008,4,2,101,121,11424,11430,100,105,108,59,1,311,59,1,1082,114,59,3,55349,56616,114,101,101,110,59,1,312,99,121,59,1,1093,99,121,59,1,1116,112,102,59,3,55349,56668,99,114,59,3,55349,56512,4,23,65,66,69,72,97,98,99,100,101,102,103,104,106,108,109,110,111,112,114,115,116,117,118,11515,11538,11544,11555,11560,11721,11780,11818,11868,12136,12160,12171,12203,12208,12246,12275,12327,12509,12523,12569,12641,12732,12752,4,3,97,114,116,11523,11528,11532,114,114,59,1,8666,114,59,1,8656,97,105,108,59,1,10523,97,114,114,59,1,10510,4,2,59,103,11550,11552,1,8806,59,1,10891,97,114,59,1,10594,4,9,99,101,103,109,110,112,113,114,116,11580,11586,11594,11600,11606,11624,11627,11636,11694,117,116,101,59,1,314,109,112,116,121,118,59,1,10676,114,97,110,59,1,8466,98,100,97,59,1,955,103,4,3,59,100,108,11615,11617,11620,1,10216,59,1,10641,101,59,1,10216,59,1,10885,117,111,5,171,1,59,11634,1,171,114,4,8,59,98,102,104,108,112,115,116,11655,11657,11669,11673,11677,11681,11685,11690,1,8592,4,2,59,102,11663,11665,1,8676,115,59,1,10527,115,59,1,10525,107,59,1,8617,112,59,1,8619,108,59,1,10553,105,109,59,1,10611,108,59,1,8610,4,3,59,97,101,11702,11704,11709,1,10923,105,108,59,1,10521,4,2,59,115,11715,11717,1,10925,59,3,10925,65024,4,3,97,98,114,11729,11734,11739,114,114,59,1,10508,114,107,59,1,10098,4,2,97,107,11745,11758,99,4,2,101,107,11752,11755,59,1,123,59,1,91,4,2,101,115,11764,11767,59,1,10635,108,4,2,100,117,11774,11777,59,1,10639,59,1,10637,4,4,97,101,117,121,11790,11796,11811,11815,114,111,110,59,1,318,4,2,100,105,11802,11807,105,108,59,1,316,108,59,1,8968,98,59,1,123,59,1,1083,4,4,99,113,114,115,11828,11832,11845,11864,97,59,1,10550,117,111,4,2,59,114,11840,11842,1,8220,59,1,8222,4,2,100,117,11851,11857,104,97,114,59,1,10599,115,104,97,114,59,1,10571,104,59,1,8626,4,5,59,102,103,113,115,11880,11882,12008,12011,12031,1,8804,116,4,5,97,104,108,114,116,11895,11913,11935,11947,11996,114,114,111,119,4,2,59,116,11905,11907,1,8592,97,105,108,59,1,8610,97,114,112,111,111,110,4,2,100,117,11925,11931,111,119,110,59,1,8637,112,59,1,8636,101,102,116,97,114,114,111,119,115,59,1,8647,105,103,104,116,4,3,97,104,115,11959,11974,11984,114,114,111,119,4,2,59,115,11969,11971,1,8596,59,1,8646,97,114,112,111,111,110,115,59,1,8651,113,117,105,103,97,114,114,111,119,59,1,8621,104,114,101,101,116,105,109,101,115,59,1,8907,59,1,8922,4,3,59,113,115,12019,12021,12024,1,8804,59,1,8806,108,97,110,116,59,1,10877,4,5,59,99,100,103,115,12043,12045,12049,12070,12083,1,10877,99,59,1,10920,111,116,4,2,59,111,12057,12059,1,10879,4,2,59,114,12065,12067,1,10881,59,1,10883,4,2,59,101,12076,12079,3,8922,65024,115,59,1,10899,4,5,97,100,101,103,115,12095,12103,12108,12126,12131,112,112,114,111,120,59,1,10885,111,116,59,1,8918,113,4,2,103,113,12115,12120,116,114,59,1,8922,103,116,114,59,1,10891,116,114,59,1,8822,105,109,59,1,8818,4,3,105,108,114,12144,12150,12156,115,104,116,59,1,10620,111,111,114,59,1,8970,59,3,55349,56617,4,2,59,69,12166,12168,1,8822,59,1,10897,4,2,97,98,12177,12198,114,4,2,100,117,12184,12187,59,1,8637,4,2,59,108,12193,12195,1,8636,59,1,10602,108,107,59,1,9604,99,121,59,1,1113,4,5,59,97,99,104,116,12220,12222,12227,12235,12241,1,8810,114,114,59,1,8647,111,114,110,101,114,59,1,8990,97,114,100,59,1,10603,114,105,59,1,9722,4,2,105,111,12252,12258,100,111,116,59,1,320,117,115,116,4,2,59,97,12267,12269,1,9136,99,104,101,59,1,9136,4,4,69,97,101,115,12285,12288,12303,12322,59,1,8808,112,4,2,59,112,12295,12297,1,10889,114,111,120,59,1,10889,4,2,59,113,12309,12311,1,10887,4,2,59,113,12317,12319,1,10887,59,1,8808,105,109,59,1,8934,4,8,97,98,110,111,112,116,119,122,12345,12359,12364,12421,12446,12467,12474,12490,4,2,110,114,12351,12355,103,59,1,10220,114,59,1,8701,114,107,59,1,10214,103,4,3,108,109,114,12373,12401,12409,101,102,116,4,2,97,114,12382,12389,114,114,111,119,59,1,10229,105,103,104,116,97,114,114,111,119,59,1,10231,97,112,115,116,111,59,1,10236,105,103,104,116,97,114,114,111,119,59,1,10230,112,97,114,114,111,119,4,2,108,114,12433,12439,101,102,116,59,1,8619,105,103,104,116,59,1,8620,4,3,97,102,108,12454,12458,12462,114,59,1,10629,59,3,55349,56669,117,115,59,1,10797,105,109,101,115,59,1,10804,4,2,97,98,12480,12485,115,116,59,1,8727,97,114,59,1,95,4,3,59,101,102,12498,12500,12506,1,9674,110,103,101,59,1,9674,59,1,10731,97,114,4,2,59,108,12517,12519,1,40,116,59,1,10643,4,5,97,99,104,109,116,12535,12540,12548,12561,12564,114,114,59,1,8646,111,114,110,101,114,59,1,8991,97,114,4,2,59,100,12556,12558,1,8651,59,1,10605,59,1,8206,114,105,59,1,8895,4,6,97,99,104,105,113,116,12583,12589,12594,12597,12614,12635,113,117,111,59,1,8249,114,59,3,55349,56513,59,1,8624,109,4,3,59,101,103,12606,12608,12611,1,8818,59,1,10893,59,1,10895,4,2,98,117,12620,12623,59,1,91,111,4,2,59,114,12630,12632,1,8216,59,1,8218,114,111,107,59,1,322,5,60,8,59,99,100,104,105,108,113,114,12660,12662,12675,12680,12686,12692,12698,12705,1,60,4,2,99,105,12668,12671,59,1,10918,114,59,1,10873,111,116,59,1,8918,114,101,101,59,1,8907,109,101,115,59,1,8905,97,114,114,59,1,10614,117,101,115,116,59,1,10875,4,2,80,105,12711,12716,97,114,59,1,10646,4,3,59,101,102,12724,12726,12729,1,9667,59,1,8884,59,1,9666,114,4,2,100,117,12739,12746,115,104,97,114,59,1,10570,104,97,114,59,1,10598,4,2,101,110,12758,12768,114,116,110,101,113,113,59,3,8808,65024,69,59,3,8808,65024,4,14,68,97,99,100,101,102,104,105,108,110,111,112,115,117,12803,12809,12893,12908,12914,12928,12933,12937,13011,13025,13032,13049,13052,13069,68,111,116,59,1,8762,4,4,99,108,112,114,12819,12827,12849,12887,114,5,175,1,59,12825,1,175,4,2,101,116,12833,12836,59,1,9794,4,2,59,101,12842,12844,1,10016,115,101,59,1,10016,4,2,59,115,12855,12857,1,8614,116,111,4,4,59,100,108,117,12869,12871,12877,12883,1,8614,111,119,110,59,1,8615,101,102,116,59,1,8612,112,59,1,8613,107,101,114,59,1,9646,4,2,111,121,12899,12905,109,109,97,59,1,10793,59,1,1084,97,115,104,59,1,8212,97,115,117,114,101,100,97,110,103,108,101,59,1,8737,114,59,3,55349,56618,111,59,1,8487,4,3,99,100,110,12945,12954,12985,114,111,5,181,1,59,12952,1,181,4,4,59,97,99,100,12964,12966,12971,12976,1,8739,115,116,59,1,42,105,114,59,1,10992,111,116,5,183,1,59,12983,1,183,117,115,4,3,59,98,100,12995,12997,13000,1,8722,59,1,8863,4,2,59,117,13006,13008,1,8760,59,1,10794,4,2,99,100,13017,13021,112,59,1,10971,114,59,1,8230,112,108,117,115,59,1,8723,4,2,100,112,13038,13044,101,108,115,59,1,8871,102,59,3,55349,56670,59,1,8723,4,2,99,116,13058,13063,114,59,3,55349,56514,112,111,115,59,1,8766,4,3,59,108,109,13077,13079,13087,1,956,116,105,109,97,112,59,1,8888,97,112,59,1,8888,4,24,71,76,82,86,97,98,99,100,101,102,103,104,105,106,108,109,111,112,114,115,116,117,118,119,13142,13165,13217,13229,13247,13330,13359,13414,13420,13508,13513,13579,13602,13626,13631,13762,13767,13855,13936,13995,14214,14285,14312,14432,4,2,103,116,13148,13152,59,3,8921,824,4,2,59,118,13158,13161,3,8811,8402,59,3,8811,824,4,3,101,108,116,13173,13200,13204,102,116,4,2,97,114,13181,13188,114,114,111,119,59,1,8653,105,103,104,116,97,114,114,111,119,59,1,8654,59,3,8920,824,4,2,59,118,13210,13213,3,8810,8402,59,3,8810,824,105,103,104,116,97,114,114,111,119,59,1,8655,4,2,68,100,13235,13241,97,115,104,59,1,8879,97,115,104,59,1,8878,4,5,98,99,110,112,116,13259,13264,13270,13275,13308,108,97,59,1,8711,117,116,101,59,1,324,103,59,3,8736,8402,4,5,59,69,105,111,112,13287,13289,13293,13298,13302,1,8777,59,3,10864,824,100,59,3,8779,824,115,59,1,329,114,111,120,59,1,8777,117,114,4,2,59,97,13316,13318,1,9838,108,4,2,59,115,13325,13327,1,9838,59,1,8469,4,2,115,117,13336,13344,112,5,160,1,59,13342,1,160,109,112,4,2,59,101,13352,13355,3,8782,824,59,3,8783,824,4,5,97,101,111,117,121,13371,13385,13391,13407,13411,4,2,112,114,13377,13380,59,1,10819,111,110,59,1,328,100,105,108,59,1,326,110,103,4,2,59,100,13399,13401,1,8775,111,116,59,3,10861,824,112,59,1,10818,59,1,1085,97,115,104,59,1,8211,4,7,59,65,97,100,113,115,120,13436,13438,13443,13466,13472,13478,13494,1,8800,114,114,59,1,8663,114,4,2,104,114,13450,13454,107,59,1,10532,4,2,59,111,13460,13462,1,8599,119,59,1,8599,111,116,59,3,8784,824,117,105,118,59,1,8802,4,2,101,105,13484,13489,97,114,59,1,10536,109,59,3,8770,824,105,115,116,4,2,59,115,13503,13505,1,8708,59,1,8708,114,59,3,55349,56619,4,4,69,101,115,116,13523,13527,13563,13568,59,3,8807,824,4,3,59,113,115,13535,13537,13559,1,8817,4,3,59,113,115,13545,13547,13551,1,8817,59,3,8807,824,108,97,110,116,59,3,10878,824,59,3,10878,824,105,109,59,1,8821,4,2,59,114,13574,13576,1,8815,59,1,8815,4,3,65,97,112,13587,13592,13597,114,114,59,1,8654,114,114,59,1,8622,97,114,59,1,10994,4,3,59,115,118,13610,13612,13623,1,8715,4,2,59,100,13618,13620,1,8956,59,1,8954,59,1,8715,99,121,59,1,1114,4,7,65,69,97,100,101,115,116,13647,13652,13656,13661,13665,13737,13742,114,114,59,1,8653,59,3,8806,824,114,114,59,1,8602,114,59,1,8229,4,4,59,102,113,115,13675,13677,13703,13725,1,8816,116,4,2,97,114,13684,13691,114,114,111,119,59,1,8602,105,103,104,116,97,114,114,111,119,59,1,8622,4,3,59,113,115,13711,13713,13717,1,8816,59,3,8806,824,108,97,110,116,59,3,10877,824,4,2,59,115,13731,13734,3,10877,824,59,1,8814,105,109,59,1,8820,4,2,59,114,13748,13750,1,8814,105,4,2,59,101,13757,13759,1,8938,59,1,8940,105,100,59,1,8740,4,2,112,116,13773,13778,102,59,3,55349,56671,5,172,3,59,105,110,13787,13789,13829,1,172,110,4,4,59,69,100,118,13800,13802,13806,13812,1,8713,59,3,8953,824,111,116,59,3,8949,824,4,3,97,98,99,13820,13823,13826,59,1,8713,59,1,8951,59,1,8950,105,4,2,59,118,13836,13838,1,8716,4,3,97,98,99,13846,13849,13852,59,1,8716,59,1,8958,59,1,8957,4,3,97,111,114,13863,13892,13899,114,4,4,59,97,115,116,13874,13876,13883,13888,1,8742,108,108,101,108,59,1,8742,108,59,3,11005,8421,59,3,8706,824,108,105,110,116,59,1,10772,4,3,59,99,101,13907,13909,13914,1,8832,117,101,59,1,8928,4,2,59,99,13920,13923,3,10927,824,4,2,59,101,13929,13931,1,8832,113,59,3,10927,824,4,4,65,97,105,116,13946,13951,13971,13982,114,114,59,1,8655,114,114,4,3,59,99,119,13961,13963,13967,1,8603,59,3,10547,824,59,3,8605,824,103,104,116,97,114,114,111,119,59,1,8603,114,105,4,2,59,101,13990,13992,1,8939,59,1,8941,4,7,99,104,105,109,112,113,117,14011,14036,14060,14080,14085,14090,14106,4,4,59,99,101,114,14021,14023,14028,14032,1,8833,117,101,59,1,8929,59,3,10928,824,59,3,55349,56515,111,114,116,4,2,109,112,14045,14050,105,100,59,1,8740,97,114,97,108,108,101,108,59,1,8742,109,4,2,59,101,14067,14069,1,8769,4,2,59,113,14075,14077,1,8772,59,1,8772,105,100,59,1,8740,97,114,59,1,8742,115,117,4,2,98,112,14098,14102,101,59,1,8930,101,59,1,8931,4,3,98,99,112,14114,14157,14171,4,4,59,69,101,115,14124,14126,14130,14133,1,8836,59,3,10949,824,59,1,8840,101,116,4,2,59,101,14141,14144,3,8834,8402,113,4,2,59,113,14151,14153,1,8840,59,3,10949,824,99,4,2,59,101,14164,14166,1,8833,113,59,3,10928,824,4,4,59,69,101,115,14181,14183,14187,14190,1,8837,59,3,10950,824,59,1,8841,101,116,4,2,59,101,14198,14201,3,8835,8402,113,4,2,59,113,14208,14210,1,8841,59,3,10950,824,4,4,103,105,108,114,14224,14228,14238,14242,108,59,1,8825,108,100,101,5,241,1,59,14236,1,241,103,59,1,8824,105,97,110,103,108,101,4,2,108,114,14254,14269,101,102,116,4,2,59,101,14263,14265,1,8938,113,59,1,8940,105,103,104,116,4,2,59,101,14279,14281,1,8939,113,59,1,8941,4,2,59,109,14291,14293,1,957,4,3,59,101,115,14301,14303,14308,1,35,114,111,59,1,8470,112,59,1,8199,4,9,68,72,97,100,103,105,108,114,115,14332,14338,14344,14349,14355,14369,14376,14408,14426,97,115,104,59,1,8877,97,114,114,59,1,10500,112,59,3,8781,8402,97,115,104,59,1,8876,4,2,101,116,14361,14365,59,3,8805,8402,59,3,62,8402,110,102,105,110,59,1,10718,4,3,65,101,116,14384,14389,14393,114,114,59,1,10498,59,3,8804,8402,4,2,59,114,14399,14402,3,60,8402,105,101,59,3,8884,8402,4,2,65,116,14414,14419,114,114,59,1,10499,114,105,101,59,3,8885,8402,105,109,59,3,8764,8402,4,3,65,97,110,14440,14445,14468,114,114,59,1,8662,114,4,2,104,114,14452,14456,107,59,1,10531,4,2,59,111,14462,14464,1,8598,119,59,1,8598,101,97,114,59,1,10535,4,18,83,97,99,100,101,102,103,104,105,108,109,111,112,114,115,116,117,118,14512,14515,14535,14560,14597,14603,14618,14643,14657,14662,14701,14741,14747,14769,14851,14877,14907,14916,59,1,9416,4,2,99,115,14521,14531,117,116,101,5,243,1,59,14529,1,243,116,59,1,8859,4,2,105,121,14541,14557,114,4,2,59,99,14548,14550,1,8858,5,244,1,59,14555,1,244,59,1,1086,4,5,97,98,105,111,115,14572,14577,14583,14587,14591,115,104,59,1,8861,108,97,99,59,1,337,118,59,1,10808,116,59,1,8857,111,108,100,59,1,10684,108,105,103,59,1,339,4,2,99,114,14609,14614,105,114,59,1,10687,59,3,55349,56620,4,3,111,114,116,14626,14630,14640,110,59,1,731,97,118,101,5,242,1,59,14638,1,242,59,1,10689,4,2,98,109,14649,14654,97,114,59,1,10677,59,1,937,110,116,59,1,8750,4,4,97,99,105,116,14672,14677,14693,14698,114,114,59,1,8634,4,2,105,114,14683,14687,114,59,1,10686,111,115,115,59,1,10683,110,101,59,1,8254,59,1,10688,4,3,97,101,105,14709,14714,14719,99,114,59,1,333,103,97,59,1,969,4,3,99,100,110,14727,14733,14736,114,111,110,59,1,959,59,1,10678,117,115,59,1,8854,112,102,59,3,55349,56672,4,3,97,101,108,14755,14759,14764,114,59,1,10679,114,112,59,1,10681,117,115,59,1,8853,4,7,59,97,100,105,111,115,118,14785,14787,14792,14831,14837,14841,14848,1,8744,114,114,59,1,8635,4,4,59,101,102,109,14802,14804,14817,14824,1,10845,114,4,2,59,111,14811,14813,1,8500,102,59,1,8500,5,170,1,59,14822,1,170,5,186,1,59,14829,1,186,103,111,102,59,1,8886,114,59,1,10838,108,111,112,101,59,1,10839,59,1,10843,4,3,99,108,111,14859,14863,14873,114,59,1,8500,97,115,104,5,248,1,59,14871,1,248,108,59,1,8856,105,4,2,108,109,14884,14893,100,101,5,245,1,59,14891,1,245,101,115,4,2,59,97,14901,14903,1,8855,115,59,1,10806,109,108,5,246,1,59,14914,1,246,98,97,114,59,1,9021,4,12,97,99,101,102,104,105,108,109,111,114,115,117,14948,14992,14996,15033,15038,15068,15090,15189,15192,15222,15427,15441,114,4,4,59,97,115,116,14959,14961,14976,14989,1,8741,5,182,2,59,108,14968,14970,1,182,108,101,108,59,1,8741,4,2,105,108,14982,14986,109,59,1,10995,59,1,11005,59,1,8706,121,59,1,1087,114,4,5,99,105,109,112,116,15009,15014,15019,15024,15027,110,116,59,1,37,111,100,59,1,46,105,108,59,1,8240,59,1,8869,101,110,107,59,1,8241,114,59,3,55349,56621,4,3,105,109,111,15046,15057,15063,4,2,59,118,15052,15054,1,966,59,1,981,109,97,116,59,1,8499,110,101,59,1,9742,4,3,59,116,118,15076,15078,15087,1,960,99,104,102,111,114,107,59,1,8916,59,1,982,4,2,97,117,15096,15119,110,4,2,99,107,15103,15115,107,4,2,59,104,15110,15112,1,8463,59,1,8462,118,59,1,8463,115,4,9,59,97,98,99,100,101,109,115,116,15140,15142,15148,15151,15156,15168,15171,15179,15184,1,43,99,105,114,59,1,10787,59,1,8862,105,114,59,1,10786,4,2,111,117,15162,15165,59,1,8724,59,1,10789,59,1,10866,110,5,177,1,59,15177,1,177,105,109,59,1,10790,119,111,59,1,10791,59,1,177,4,3,105,112,117,15200,15208,15213,110,116,105,110,116,59,1,10773,102,59,3,55349,56673,110,100,5,163,1,59,15220,1,163,4,10,59,69,97,99,101,105,110,111,115,117,15244,15246,15249,15253,15258,15334,15347,15367,15416,15421,1,8826,59,1,10931,112,59,1,10935,117,101,59,1,8828,4,2,59,99,15264,15266,1,10927,4,6,59,97,99,101,110,115,15280,15282,15290,15299,15303,15329,1,8826,112,112,114,111,120,59,1,10935,117,114,108,121,101,113,59,1,8828,113,59,1,10927,4,3,97,101,115,15311,15319,15324,112,112,114,111,120,59,1,10937,113,113,59,1,10933,105,109,59,1,8936,105,109,59,1,8830,109,101,4,2,59,115,15342,15344,1,8242,59,1,8473,4,3,69,97,115,15355,15358,15362,59,1,10933,112,59,1,10937,105,109,59,1,8936,4,3,100,102,112,15375,15378,15404,59,1,8719,4,3,97,108,115,15386,15392,15398,108,97,114,59,1,9006,105,110,101,59,1,8978,117,114,102,59,1,8979,4,2,59,116,15410,15412,1,8733,111,59,1,8733,105,109,59,1,8830,114,101,108,59,1,8880,4,2,99,105,15433,15438,114,59,3,55349,56517,59,1,968,110,99,115,112,59,1,8200,4,6,102,105,111,112,115,117,15462,15467,15472,15478,15485,15491,114,59,3,55349,56622,110,116,59,1,10764,112,102,59,3,55349,56674,114,105,109,101,59,1,8279,99,114,59,3,55349,56518,4,3,97,101,111,15499,15520,15534,116,4,2,101,105,15506,15515,114,110,105,111,110,115,59,1,8461,110,116,59,1,10774,115,116,4,2,59,101,15528,15530,1,63,113,59,1,8799,116,5,34,1,59,15540,1,34,4,21,65,66,72,97,98,99,100,101,102,104,105,108,109,110,111,112,114,115,116,117,120,15586,15609,15615,15620,15796,15855,15893,15931,15977,16001,16039,16183,16204,16222,16228,16285,16312,16318,16363,16408,16416,4,3,97,114,116,15594,15599,15603,114,114,59,1,8667,114,59,1,8658,97,105,108,59,1,10524,97,114,114,59,1,10511,97,114,59,1,10596,4,7,99,100,101,110,113,114,116,15636,15651,15656,15664,15687,15696,15770,4,2,101,117,15642,15646,59,3,8765,817,116,101,59,1,341,105,99,59,1,8730,109,112,116,121,118,59,1,10675,103,4,4,59,100,101,108,15675,15677,15680,15683,1,10217,59,1,10642,59,1,10661,101,59,1,10217,117,111,5,187,1,59,15694,1,187,114,4,11,59,97,98,99,102,104,108,112,115,116,119,15721,15723,15727,15739,15742,15746,15750,15754,15758,15763,15767,1,8594,112,59,1,10613,4,2,59,102,15733,15735,1,8677,115,59,1,10528,59,1,10547,115,59,1,10526,107,59,1,8618,112,59,1,8620,108,59,1,10565,105,109,59,1,10612,108,59,1,8611,59,1,8605,4,2,97,105,15776,15781,105,108,59,1,10522,111,4,2,59,110,15788,15790,1,8758,97,108,115,59,1,8474,4,3,97,98,114,15804,15809,15814,114,114,59,1,10509,114,107,59,1,10099,4,2,97,107,15820,15833,99,4,2,101,107,15827,15830,59,1,125,59,1,93,4,2,101,115,15839,15842,59,1,10636,108,4,2,100,117,15849,15852,59,1,10638,59,1,10640,4,4,97,101,117,121,15865,15871,15886,15890,114,111,110,59,1,345,4,2,100,105,15877,15882,105,108,59,1,343,108,59,1,8969,98,59,1,125,59,1,1088,4,4,99,108,113,115,15903,15907,15914,15927,97,59,1,10551,100,104,97,114,59,1,10601,117,111,4,2,59,114,15922,15924,1,8221,59,1,8221,104,59,1,8627,4,3,97,99,103,15939,15966,15970,108,4,4,59,105,112,115,15950,15952,15957,15963,1,8476,110,101,59,1,8475,97,114,116,59,1,8476,59,1,8477,116,59,1,9645,5,174,1,59,15975,1,174,4,3,105,108,114,15985,15991,15997,115,104,116,59,1,10621,111,111,114,59,1,8971,59,3,55349,56623,4,2,97,111,16007,16028,114,4,2,100,117,16014,16017,59,1,8641,4,2,59,108,16023,16025,1,8640,59,1,10604,4,2,59,118,16034,16036,1,961,59,1,1009,4,3,103,110,115,16047,16167,16171,104,116,4,6,97,104,108,114,115,116,16063,16081,16103,16130,16143,16155,114,114,111,119,4,2,59,116,16073,16075,1,8594,97,105,108,59,1,8611,97,114,112,111,111,110,4,2,100,117,16093,16099,111,119,110,59,1,8641,112,59,1,8640,101,102,116,4,2,97,104,16112,16120,114,114,111,119,115,59,1,8644,97,114,112,111,111,110,115,59,1,8652,105,103,104,116,97,114,114,111,119,115,59,1,8649,113,117,105,103,97,114,114,111,119,59,1,8605,104,114,101,101,116,105,109,101,115,59,1,8908,103,59,1,730,105,110,103,100,111,116,115,101,113,59,1,8787,4,3,97,104,109,16191,16196,16201,114,114,59,1,8644,97,114,59,1,8652,59,1,8207,111,117,115,116,4,2,59,97,16214,16216,1,9137,99,104,101,59,1,9137,109,105,100,59,1,10990,4,4,97,98,112,116,16238,16252,16257,16278,4,2,110,114,16244,16248,103,59,1,10221,114,59,1,8702,114,107,59,1,10215,4,3,97,102,108,16265,16269,16273,114,59,1,10630,59,3,55349,56675,117,115,59,1,10798,105,109,101,115,59,1,10805,4,2,97,112,16291,16304,114,4,2,59,103,16298,16300,1,41,116,59,1,10644,111,108,105,110,116,59,1,10770,97,114,114,59,1,8649,4,4,97,99,104,113,16328,16334,16339,16342,113,117,111,59,1,8250,114,59,3,55349,56519,59,1,8625,4,2,98,117,16348,16351,59,1,93,111,4,2,59,114,16358,16360,1,8217,59,1,8217,4,3,104,105,114,16371,16377,16383,114,101,101,59,1,8908,109,101,115,59,1,8906,105,4,4,59,101,102,108,16394,16396,16399,16402,1,9657,59,1,8885,59,1,9656,116,114,105,59,1,10702,108,117,104,97,114,59,1,10600,59,1,8478,4,19,97,98,99,100,101,102,104,105,108,109,111,112,113,114,115,116,117,119,122,16459,16466,16472,16572,16590,16672,16687,16746,16844,16850,16924,16963,16988,17115,17121,17154,17206,17614,17656,99,117,116,101,59,1,347,113,117,111,59,1,8218,4,10,59,69,97,99,101,105,110,112,115,121,16494,16496,16499,16513,16518,16531,16536,16556,16564,16569,1,8827,59,1,10932,4,2,112,114,16505,16508,59,1,10936,111,110,59,1,353,117,101,59,1,8829,4,2,59,100,16524,16526,1,10928,105,108,59,1,351,114,99,59,1,349,4,3,69,97,115,16544,16547,16551,59,1,10934,112,59,1,10938,105,109,59,1,8937,111,108,105,110,116,59,1,10771,105,109,59,1,8831,59,1,1089,111,116,4,3,59,98,101,16582,16584,16587,1,8901,59,1,8865,59,1,10854,4,7,65,97,99,109,115,116,120,16606,16611,16634,16642,16646,16652,16668,114,114,59,1,8664,114,4,2,104,114,16618,16622,107,59,1,10533,4,2,59,111,16628,16630,1,8600,119,59,1,8600,116,5,167,1,59,16640,1,167,105,59,1,59,119,97,114,59,1,10537,109,4,2,105,110,16659,16665,110,117,115,59,1,8726,59,1,8726,116,59,1,10038,114,4,2,59,111,16679,16682,3,55349,56624,119,110,59,1,8994,4,4,97,99,111,121,16697,16702,16716,16739,114,112,59,1,9839,4,2,104,121,16708,16713,99,121,59,1,1097,59,1,1096,114,116,4,2,109,112,16724,16729,105,100,59,1,8739,97,114,97,108,108,101,108,59,1,8741,5,173,1,59,16744,1,173,4,2,103,109,16752,16770,109,97,4,3,59,102,118,16762,16764,16767,1,963,59,1,962,59,1,962,4,8,59,100,101,103,108,110,112,114,16788,16790,16795,16806,16817,16828,16832,16838,1,8764,111,116,59,1,10858,4,2,59,113,16801,16803,1,8771,59,1,8771,4,2,59,69,16812,16814,1,10910,59,1,10912,4,2,59,69,16823,16825,1,10909,59,1,10911,101,59,1,8774,108,117,115,59,1,10788,97,114,114,59,1,10610,97,114,114,59,1,8592,4,4,97,101,105,116,16860,16883,16891,16904,4,2,108,115,16866,16878,108,115,101,116,109,105,110,117,115,59,1,8726,104,112,59,1,10803,112,97,114,115,108,59,1,10724,4,2,100,108,16897,16900,59,1,8739,101,59,1,8995,4,2,59,101,16910,16912,1,10922,4,2,59,115,16918,16920,1,10924,59,3,10924,65024,4,3,102,108,112,16932,16938,16958,116,99,121,59,1,1100,4,2,59,98,16944,16946,1,47,4,2,59,97,16952,16954,1,10692,114,59,1,9023,102,59,3,55349,56676,97,4,2,100,114,16970,16985,101,115,4,2,59,117,16978,16980,1,9824,105,116,59,1,9824,59,1,8741,4,3,99,115,117,16996,17028,17089,4,2,97,117,17002,17015,112,4,2,59,115,17009,17011,1,8851,59,3,8851,65024,112,4,2,59,115,17022,17024,1,8852,59,3,8852,65024,117,4,2,98,112,17035,17062,4,3,59,101,115,17043,17045,17048,1,8847,59,1,8849,101,116,4,2,59,101,17056,17058,1,8847,113,59,1,8849,4,3,59,101,115,17070,17072,17075,1,8848,59,1,8850,101,116,4,2,59,101,17083,17085,1,8848,113,59,1,8850,4,3,59,97,102,17097,17099,17112,1,9633,114,4,2,101,102,17106,17109,59,1,9633,59,1,9642,59,1,9642,97,114,114,59,1,8594,4,4,99,101,109,116,17131,17136,17142,17148,114,59,3,55349,56520,116,109,110,59,1,8726,105,108,101,59,1,8995,97,114,102,59,1,8902,4,2,97,114,17160,17172,114,4,2,59,102,17167,17169,1,9734,59,1,9733,4,2,97,110,17178,17202,105,103,104,116,4,2,101,112,17188,17197,112,115,105,108,111,110,59,1,1013,104,105,59,1,981,115,59,1,175,4,5,98,99,109,110,112,17218,17351,17420,17423,17427,4,9,59,69,100,101,109,110,112,114,115,17238,17240,17243,17248,17261,17267,17279,17285,17291,1,8834,59,1,10949,111,116,59,1,10941,4,2,59,100,17254,17256,1,8838,111,116,59,1,10947,117,108,116,59,1,10945,4,2,69,101,17273,17276,59,1,10955,59,1,8842,108,117,115,59,1,10943,97,114,114,59,1,10617,4,3,101,105,117,17299,17335,17339,116,4,3,59,101,110,17308,17310,17322,1,8834,113,4,2,59,113,17317,17319,1,8838,59,1,10949,101,113,4,2,59,113,17330,17332,1,8842,59,1,10955,109,59,1,10951,4,2,98,112,17345,17348,59,1,10965,59,1,10963,99,4,6,59,97,99,101,110,115,17366,17368,17376,17385,17389,17415,1,8827,112,112,114,111,120,59,1,10936,117,114,108,121,101,113,59,1,8829,113,59,1,10928,4,3,97,101,115,17397,17405,17410,112,112,114,111,120,59,1,10938,113,113,59,1,10934,105,109,59,1,8937,105,109,59,1,8831,59,1,8721,103,59,1,9834,4,13,49,50,51,59,69,100,101,104,108,109,110,112,115,17455,17462,17469,17476,17478,17481,17496,17509,17524,17530,17536,17548,17554,5,185,1,59,17460,1,185,5,178,1,59,17467,1,178,5,179,1,59,17474,1,179,1,8835,59,1,10950,4,2,111,115,17487,17491,116,59,1,10942,117,98,59,1,10968,4,2,59,100,17502,17504,1,8839,111,116,59,1,10948,115,4,2,111,117,17516,17520,108,59,1,10185,98,59,1,10967,97,114,114,59,1,10619,117,108,116,59,1,10946,4,2,69,101,17542,17545,59,1,10956,59,1,8843,108,117,115,59,1,10944,4,3,101,105,117,17562,17598,17602,116,4,3,59,101,110,17571,17573,17585,1,8835,113,4,2,59,113,17580,17582,1,8839,59,1,10950,101,113,4,2,59,113,17593,17595,1,8843,59,1,10956,109,59,1,10952,4,2,98,112,17608,17611,59,1,10964,59,1,10966,4,3,65,97,110,17622,17627,17650,114,114,59,1,8665,114,4,2,104,114,17634,17638,107,59,1,10534,4,2,59,111,17644,17646,1,8601,119,59,1,8601,119,97,114,59,1,10538,108,105,103,5,223,1,59,17664,1,223,4,13,97,98,99,100,101,102,104,105,111,112,114,115,119,17694,17709,17714,17737,17742,17749,17754,17860,17905,17957,17964,18090,18122,4,2,114,117,17700,17706,103,101,116,59,1,8982,59,1,964,114,107,59,1,9140,4,3,97,101,121,17722,17728,17734,114,111,110,59,1,357,100,105,108,59,1,355,59,1,1090,111,116,59,1,8411,108,114,101,99,59,1,8981,114,59,3,55349,56625,4,4,101,105,107,111,17764,17805,17836,17851,4,2,114,116,17770,17786,101,4,2,52,102,17777,17780,59,1,8756,111,114,101,59,1,8756,97,4,3,59,115,118,17795,17797,17802,1,952,121,109,59,1,977,59,1,977,4,2,99,110,17811,17831,107,4,2,97,115,17818,17826,112,112,114,111,120,59,1,8776,105,109,59,1,8764,115,112,59,1,8201,4,2,97,115,17842,17846,112,59,1,8776,105,109,59,1,8764,114,110,5,254,1,59,17858,1,254,4,3,108,109,110,17868,17873,17901,100,101,59,1,732,101,115,5,215,3,59,98,100,17884,17886,17898,1,215,4,2,59,97,17892,17894,1,8864,114,59,1,10801,59,1,10800,116,59,1,8749,4,3,101,112,115,17913,17917,17953,97,59,1,10536,4,4,59,98,99,102,17927,17929,17934,17939,1,8868,111,116,59,1,9014,105,114,59,1,10993,4,2,59,111,17945,17948,3,55349,56677,114,107,59,1,10970,97,59,1,10537,114,105,109,101,59,1,8244,4,3,97,105,112,17972,17977,18082,100,101,59,1,8482,4,7,97,100,101,109,112,115,116,17993,18051,18056,18059,18066,18072,18076,110,103,108,101,4,5,59,100,108,113,114,18009,18011,18017,18032,18035,1,9653,111,119,110,59,1,9663,101,102,116,4,2,59,101,18026,18028,1,9667,113,59,1,8884,59,1,8796,105,103,104,116,4,2,59,101,18045,18047,1,9657,113,59,1,8885,111,116,59,1,9708,59,1,8796,105,110,117,115,59,1,10810,108,117,115,59,1,10809,98,59,1,10701,105,109,101,59,1,10811,101,122,105,117,109,59,1,9186,4,3,99,104,116,18098,18111,18116,4,2,114,121,18104,18108,59,3,55349,56521,59,1,1094,99,121,59,1,1115,114,111,107,59,1,359,4,2,105,111,18128,18133,120,116,59,1,8812,104,101,97,100,4,2,108,114,18143,18154,101,102,116,97,114,114,111,119,59,1,8606,105,103,104,116,97,114,114,111,119,59,1,8608,4,18,65,72,97,98,99,100,102,103,104,108,109,111,112,114,115,116,117,119,18204,18209,18214,18234,18250,18268,18292,18308,18319,18343,18379,18397,18413,18504,18547,18553,18584,18603,114,114,59,1,8657,97,114,59,1,10595,4,2,99,114,18220,18230,117,116,101,5,250,1,59,18228,1,250,114,59,1,8593,114,4,2,99,101,18241,18245,121,59,1,1118,118,101,59,1,365,4,2,105,121,18256,18265,114,99,5,251,1,59,18263,1,251,59,1,1091,4,3,97,98,104,18276,18281,18287,114,114,59,1,8645,108,97,99,59,1,369,97,114,59,1,10606,4,2,105,114,18298,18304,115,104,116,59,1,10622,59,3,55349,56626,114,97,118,101,5,249,1,59,18317,1,249,4,2,97,98,18325,18338,114,4,2,108,114,18332,18335,59,1,8639,59,1,8638,108,107,59,1,9600,4,2,99,116,18349,18374,4,2,111,114,18355,18369,114,110,4,2,59,101,18363,18365,1,8988,114,59,1,8988,111,112,59,1,8975,114,105,59,1,9720,4,2,97,108,18385,18390,99,114,59,1,363,5,168,1,59,18395,1,168,4,2,103,112,18403,18408,111,110,59,1,371,102,59,3,55349,56678,4,6,97,100,104,108,115,117,18427,18434,18445,18470,18475,18494,114,114,111,119,59,1,8593,111,119,110,97,114,114,111,119,59,1,8597,97,114,112,111,111,110,4,2,108,114,18457,18463,101,102,116,59,1,8639,105,103,104,116,59,1,8638,117,115,59,1,8846,105,4,3,59,104,108,18484,18486,18489,1,965,59,1,978,111,110,59,1,965,112,97,114,114,111,119,115,59,1,8648,4,3,99,105,116,18512,18537,18542,4,2,111,114,18518,18532,114,110,4,2,59,101,18526,18528,1,8989,114,59,1,8989,111,112,59,1,8974,110,103,59,1,367,114,105,59,1,9721,99,114,59,3,55349,56522,4,3,100,105,114,18561,18566,18572,111,116,59,1,8944,108,100,101,59,1,361,105,4,2,59,102,18579,18581,1,9653,59,1,9652,4,2,97,109,18590,18595,114,114,59,1,8648,108,5,252,1,59,18601,1,252,97,110,103,108,101,59,1,10663,4,15,65,66,68,97,99,100,101,102,108,110,111,112,114,115,122,18643,18648,18661,18667,18847,18851,18857,18904,18909,18915,18931,18937,18943,18949,18996,114,114,59,1,8661,97,114,4,2,59,118,18656,18658,1,10984,59,1,10985,97,115,104,59,1,8872,4,2,110,114,18673,18679,103,114,116,59,1,10652,4,7,101,107,110,112,114,115,116,18695,18704,18711,18720,18742,18754,18810,112,115,105,108,111,110,59,1,1013,97,112,112,97,59,1,1008,111,116,104,105,110,103,59,1,8709,4,3,104,105,114,18728,18732,18735,105,59,1,981,59,1,982,111,112,116,111,59,1,8733,4,2,59,104,18748,18750,1,8597,111,59,1,1009,4,2,105,117,18760,18766,103,109,97,59,1,962,4,2,98,112,18772,18791,115,101,116,110,101,113,4,2,59,113,18784,18787,3,8842,65024,59,3,10955,65024,115,101,116,110,101,113,4,2,59,113,18803,18806,3,8843,65024,59,3,10956,65024,4,2,104,114,18816,18822,101,116,97,59,1,977,105,97,110,103,108,101,4,2,108,114,18834,18840,101,102,116,59,1,8882,105,103,104,116,59,1,8883,121,59,1,1074,97,115,104,59,1,8866,4,3,101,108,114,18865,18884,18890,4,3,59,98,101,18873,18875,18880,1,8744,97,114,59,1,8891,113,59,1,8794,108,105,112,59,1,8942,4,2,98,116,18896,18901,97,114,59,1,124,59,1,124,114,59,3,55349,56627,116,114,105,59,1,8882,115,117,4,2,98,112,18923,18927,59,3,8834,8402,59,3,8835,8402,112,102,59,3,55349,56679,114,111,112,59,1,8733,116,114,105,59,1,8883,4,2,99,117,18955,18960,114,59,3,55349,56523,4,2,98,112,18966,18981,110,4,2,69,101,18973,18977,59,3,10955,65024,59,3,8842,65024,110,4,2,69,101,18988,18992,59,3,10956,65024,59,3,8843,65024,105,103,122,97,103,59,1,10650,4,7,99,101,102,111,112,114,115,19020,19026,19061,19066,19072,19075,19089,105,114,99,59,1,373,4,2,100,105,19032,19055,4,2,98,103,19038,19043,97,114,59,1,10847,101,4,2,59,113,19050,19052,1,8743,59,1,8793,101,114,112,59,1,8472,114,59,3,55349,56628,112,102,59,3,55349,56680,59,1,8472,4,2,59,101,19081,19083,1,8768,97,116,104,59,1,8768,99,114,59,3,55349,56524,4,14,99,100,102,104,105,108,109,110,111,114,115,117,118,119,19125,19146,19152,19157,19173,19176,19192,19197,19202,19236,19252,19269,19286,19291,4,3,97,105,117,19133,19137,19142,112,59,1,8898,114,99,59,1,9711,112,59,1,8899,116,114,105,59,1,9661,114,59,3,55349,56629,4,2,65,97,19163,19168,114,114,59,1,10234,114,114,59,1,10231,59,1,958,4,2,65,97,19182,19187,114,114,59,1,10232,114,114,59,1,10229,97,112,59,1,10236,105,115,59,1,8955,4,3,100,112,116,19210,19215,19230,111,116,59,1,10752,4,2,102,108,19221,19225,59,3,55349,56681,117,115,59,1,10753,105,109,101,59,1,10754,4,2,65,97,19242,19247,114,114,59,1,10233,114,114,59,1,10230,4,2,99,113,19258,19263,114,59,3,55349,56525,99,117,112,59,1,10758,4,2,112,116,19275,19281,108,117,115,59,1,10756,114,105,59,1,9651,101,101,59,1,8897,101,100,103,101,59,1,8896,4,8,97,99,101,102,105,111,115,117,19316,19335,19349,19357,19362,19367,19373,19379,99,4,2,117,121,19323,19332,116,101,5,253,1,59,19330,1,253,59,1,1103,4,2,105,121,19341,19346,114,99,59,1,375,59,1,1099,110,5,165,1,59,19355,1,165,114,59,3,55349,56630,99,121,59,1,1111,112,102,59,3,55349,56682,99,114,59,3,55349,56526,4,2,99,109,19385,19389,121,59,1,1102,108,5,255,1,59,19395,1,255,4,10,97,99,100,101,102,104,105,111,115,119,19419,19426,19441,19446,19462,19467,19472,19480,19486,19492,99,117,116,101,59,1,378,4,2,97,121,19432,19438,114,111,110,59,1,382,59,1,1079,111,116,59,1,380,4,2,101,116,19452,19458,116,114,102,59,1,8488,97,59,1,950,114,59,3,55349,56631,99,121,59,1,1078,103,114,97,114,114,59,1,8669,112,102,59,3,55349,56683,99,114,59,3,55349,56527,4,2,106,110,19498,19501,59,1,8205,106,59,1,8204])});var E$=Y((wJ3,wH2)=>{var K59=IH2(),D9=la(),iJ=GH2(),_0=ba(),g1=D9.CODE_POINTS,cJ=D9.CODE_POINT_SEQUENCES,N59={128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};function x9(I){return I===g1.SPACE||I===g1.LINE_FEED||I===g1.TABULATION||I===g1.FORM_FEED}function v$(I){return I>=g1.DIGIT_0&&I<=g1.DIGIT_9}function DW(I){return I>=g1.LATIN_CAPITAL_A&&I<=g1.LATIN_CAPITAL_Z}function pJ(I){return I>=g1.LATIN_SMALL_A&&I<=g1.LATIN_SMALL_Z}function CH(I){return pJ(I)||DW(I)}function Cg1(I){return CH(I)||v$(I)}function CH2(I){return I>=g1.LATIN_CAPITAL_A&&I<=g1.LATIN_CAPITAL_F}function WH2(I){return I>=g1.LATIN_SMALL_A&&I<=g1.LATIN_SMALL_F}function z59(I){return v$(I)||CH2(I)||WH2(I)}function ha(I){return I+32}function p3(I){if(I<=65535)return String.fromCharCode(I);return I-=65536,String.fromCharCode(I>>>10&1023|55296)+String.fromCharCode(56320|I&1023)}function ZH(I){return String.fromCharCode(ha(I))}function ZH2(I,d){let G=iJ[++I],Z=++I,C=Z+G-1;while(Z<=C){let W=Z+C>>>1,w=iJ[W];if(w<d)Z=W+1;else if(w>d)C=W-1;else return iJ[W+G]}return-1}class $9{constructor(){this.preprocessor=new K59,this.tokenQueue=[],this.allowCDATA=!1,this.state="DATA_STATE",this.returnState="",this.charRefCode=-1,this.tempBuff=[],this.lastStartTagName="",this.consumedAfterSnapshot=-1,this.active=!1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr=null}_err(){}_errOnNextCodePoint(I){this._consume(),this._err(I),this._unconsume()}getNextToken(){while(!this.tokenQueue.length&&this.active){this.consumedAfterSnapshot=0;let I=this._consume();if(!this._ensureHibernation())this[this.state](I)}return this.tokenQueue.shift()}write(I,d){this.active=!0,this.preprocessor.write(I,d)}insertHtmlAtCurrentPos(I){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(I)}_ensureHibernation(){if(this.preprocessor.endOfChunkHit){for(;this.consumedAfterSnapshot>0;this.consumedAfterSnapshot--)this.preprocessor.retreat();return this.active=!1,this.tokenQueue.push({type:$9.HIBERNATION_TOKEN}),!0}return!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(){this.consumedAfterSnapshot--,this.preprocessor.retreat()}_reconsumeInState(I){this.state=I,this._unconsume()}_consumeSequenceIfMatch(I,d,G){let Z=0,C=!0,W=I.length,w=0,B=d,A=void 0;for(;w<W;w++){if(w>0)B=this._consume(),Z++;if(B===g1.EOF){C=!1;break}if(A=I[w],B!==A&&(G||B!==ha(A))){C=!1;break}}if(!C)while(Z--)this._unconsume();return C}_isTempBufferEqualToScriptString(){if(this.tempBuff.length!==cJ.SCRIPT_STRING.length)return!1;for(let I=0;I<this.tempBuff.length;I++)if(this.tempBuff[I]!==cJ.SCRIPT_STRING[I])return!1;return!0}_createStartTagToken(){this.currentToken={type:$9.START_TAG_TOKEN,tagName:"",selfClosing:!1,ackSelfClosing:!1,attrs:[]}}_createEndTagToken(){this.currentToken={type:$9.END_TAG_TOKEN,tagName:"",selfClosing:!1,attrs:[]}}_createCommentToken(){this.currentToken={type:$9.COMMENT_TOKEN,data:""}}_createDoctypeToken(I){this.currentToken={type:$9.DOCTYPE_TOKEN,name:I,forceQuirks:!1,publicId:null,systemId:null}}_createCharacterToken(I,d){this.currentCharacterToken={type:I,chars:d}}_createEOFToken(){this.currentToken={type:$9.EOF_TOKEN}}_createAttr(I){this.currentAttr={name:I,value:""}}_leaveAttrName(I){if($9.getTokenAttr(this.currentToken,this.currentAttr.name)===null)this.currentToken.attrs.push(this.currentAttr);else this._err(_0.duplicateAttribute);this.state=I}_leaveAttrValue(I){this.state=I}_emitCurrentToken(){this._emitCurrentCharacterToken();let I=this.currentToken;if(this.currentToken=null,I.type===$9.START_TAG_TOKEN)this.lastStartTagName=I.tagName;else if(I.type===$9.END_TAG_TOKEN){if(I.attrs.length>0)this._err(_0.endTagWithAttributes);if(I.selfClosing)this._err(_0.endTagWithTrailingSolidus)}this.tokenQueue.push(I)}_emitCurrentCharacterToken(){if(this.currentCharacterToken)this.tokenQueue.push(this.currentCharacterToken),this.currentCharacterToken=null}_emitEOFToken(){this._createEOFToken(),this._emitCurrentToken()}_appendCharToCurrentCharacterToken(I,d){if(this.currentCharacterToken&&this.currentCharacterToken.type!==I)this._emitCurrentCharacterToken();if(this.currentCharacterToken)this.currentCharacterToken.chars+=d;else this._createCharacterToken(I,d)}_emitCodePoint(I){let d=$9.CHARACTER_TOKEN;if(x9(I))d=$9.WHITESPACE_CHARACTER_TOKEN;else if(I===g1.NULL)d=$9.NULL_CHARACTER_TOKEN;this._appendCharToCurrentCharacterToken(d,p3(I))}_emitSeveralCodePoints(I){for(let d=0;d<I.length;d++)this._emitCodePoint(I[d])}_emitChars(I){this._appendCharToCurrentCharacterToken($9.CHARACTER_TOKEN,I)}_matchNamedCharacterReference(I){let d=null,G=1,Z=ZH2(0,I);this.tempBuff.push(I);while(Z>-1){let C=iJ[Z],W=C<7;if(W&&C&1)d=C&2?[iJ[++Z],iJ[++Z]]:[iJ[++Z]],G=0;let B=this._consume();if(this.tempBuff.push(B),G++,B===g1.EOF)break;if(W)Z=C&4?ZH2(Z,B):-1;else Z=B===C?++Z:-1}while(G--)this.tempBuff.pop(),this._unconsume();return d}_isCharacterReferenceInAttribute(){return this.returnState==="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE"||this.returnState==="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE"||this.returnState==="ATTRIBUTE_VALUE_UNQUOTED_STATE"}_isCharacterReferenceAttributeQuirk(I){if(!I&&this._isCharacterReferenceInAttribute()){let d=this._consume();return this._unconsume(),d===g1.EQUALS_SIGN||Cg1(d)}return!1}_flushCodePointsConsumedAsCharacterReference(){if(this._isCharacterReferenceInAttribute())for(let I=0;I<this.tempBuff.length;I++)this.currentAttr.value+=p3(this.tempBuff[I]);else this._emitSeveralCodePoints(this.tempBuff);this.tempBuff=[]}["DATA_STATE"](I){if(this.preprocessor.dropParsedChunk(),I===g1.LESS_THAN_SIGN)this.state="TAG_OPEN_STATE";else if(I===g1.AMPERSAND)this.returnState="DATA_STATE",this.state="CHARACTER_REFERENCE_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitCodePoint(I);else if(I===g1.EOF)this._emitEOFToken();else this._emitCodePoint(I)}["RCDATA_STATE"](I){if(this.preprocessor.dropParsedChunk(),I===g1.AMPERSAND)this.returnState="RCDATA_STATE",this.state="CHARACTER_REFERENCE_STATE";else if(I===g1.LESS_THAN_SIGN)this.state="RCDATA_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._emitEOFToken();else this._emitCodePoint(I)}["RAWTEXT_STATE"](I){if(this.preprocessor.dropParsedChunk(),I===g1.LESS_THAN_SIGN)this.state="RAWTEXT_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._emitEOFToken();else this._emitCodePoint(I)}["SCRIPT_DATA_STATE"](I){if(this.preprocessor.dropParsedChunk(),I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._emitEOFToken();else this._emitCodePoint(I)}["PLAINTEXT_STATE"](I){if(this.preprocessor.dropParsedChunk(),I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._emitEOFToken();else this._emitCodePoint(I)}["TAG_OPEN_STATE"](I){if(I===g1.EXCLAMATION_MARK)this.state="MARKUP_DECLARATION_OPEN_STATE";else if(I===g1.SOLIDUS)this.state="END_TAG_OPEN_STATE";else if(CH(I))this._createStartTagToken(),this._reconsumeInState("TAG_NAME_STATE");else if(I===g1.QUESTION_MARK)this._err(_0.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE");else if(I===g1.EOF)this._err(_0.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();else this._err(_0.invalidFirstCharacterOfTagName),this._emitChars("<"),this._reconsumeInState("DATA_STATE")}["END_TAG_OPEN_STATE"](I){if(CH(I))this._createEndTagToken(),this._reconsumeInState("TAG_NAME_STATE");else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingEndTagName),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();else this._err(_0.invalidFirstCharacterOfTagName),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE")}["TAG_NAME_STATE"](I){if(x9(I))this.state="BEFORE_ATTRIBUTE_NAME_STATE";else if(I===g1.SOLIDUS)this.state="SELF_CLOSING_START_TAG_STATE";else if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(DW(I))this.currentToken.tagName+=ZH(I);else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.tagName+=D9.REPLACEMENT_CHARACTER;else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this.currentToken.tagName+=p3(I)}["RCDATA_LESS_THAN_SIGN_STATE"](I){if(I===g1.SOLIDUS)this.tempBuff=[],this.state="RCDATA_END_TAG_OPEN_STATE";else this._emitChars("<"),this._reconsumeInState("RCDATA_STATE")}["RCDATA_END_TAG_OPEN_STATE"](I){if(CH(I))this._createEndTagToken(),this._reconsumeInState("RCDATA_END_TAG_NAME_STATE");else this._emitChars("</"),this._reconsumeInState("RCDATA_STATE")}["RCDATA_END_TAG_NAME_STATE"](I){if(DW(I))this.currentToken.tagName+=ZH(I),this.tempBuff.push(I);else if(pJ(I))this.currentToken.tagName+=p3(I),this.tempBuff.push(I);else{if(this.lastStartTagName===this.currentToken.tagName){if(x9(I)){this.state="BEFORE_ATTRIBUTE_NAME_STATE";return}if(I===g1.SOLIDUS){this.state="SELF_CLOSING_START_TAG_STATE";return}if(I===g1.GREATER_THAN_SIGN){this.state="DATA_STATE",this._emitCurrentToken();return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RCDATA_STATE")}}["RAWTEXT_LESS_THAN_SIGN_STATE"](I){if(I===g1.SOLIDUS)this.tempBuff=[],this.state="RAWTEXT_END_TAG_OPEN_STATE";else this._emitChars("<"),this._reconsumeInState("RAWTEXT_STATE")}["RAWTEXT_END_TAG_OPEN_STATE"](I){if(CH(I))this._createEndTagToken(),this._reconsumeInState("RAWTEXT_END_TAG_NAME_STATE");else this._emitChars("</"),this._reconsumeInState("RAWTEXT_STATE")}["RAWTEXT_END_TAG_NAME_STATE"](I){if(DW(I))this.currentToken.tagName+=ZH(I),this.tempBuff.push(I);else if(pJ(I))this.currentToken.tagName+=p3(I),this.tempBuff.push(I);else{if(this.lastStartTagName===this.currentToken.tagName){if(x9(I)){this.state="BEFORE_ATTRIBUTE_NAME_STATE";return}if(I===g1.SOLIDUS){this.state="SELF_CLOSING_START_TAG_STATE";return}if(I===g1.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state="DATA_STATE";return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("RAWTEXT_STATE")}}["SCRIPT_DATA_LESS_THAN_SIGN_STATE"](I){if(I===g1.SOLIDUS)this.tempBuff=[],this.state="SCRIPT_DATA_END_TAG_OPEN_STATE";else if(I===g1.EXCLAMATION_MARK)this.state="SCRIPT_DATA_ESCAPE_START_STATE",this._emitChars("<!");else this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_STATE")}["SCRIPT_DATA_END_TAG_OPEN_STATE"](I){if(CH(I))this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_END_TAG_NAME_STATE");else this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_STATE")}["SCRIPT_DATA_END_TAG_NAME_STATE"](I){if(DW(I))this.currentToken.tagName+=ZH(I),this.tempBuff.push(I);else if(pJ(I))this.currentToken.tagName+=p3(I),this.tempBuff.push(I);else{if(this.lastStartTagName===this.currentToken.tagName){if(x9(I)){this.state="BEFORE_ATTRIBUTE_NAME_STATE";return}else if(I===g1.SOLIDUS){this.state="SELF_CLOSING_START_TAG_STATE";return}else if(I===g1.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state="DATA_STATE";return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_STATE")}}["SCRIPT_DATA_ESCAPE_START_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_ESCAPE_START_DASH_STATE",this._emitChars("-");else this._reconsumeInState("SCRIPT_DATA_STATE")}["SCRIPT_DATA_ESCAPE_START_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-");else this._reconsumeInState("SCRIPT_DATA_STATE")}["SCRIPT_DATA_ESCAPED_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_ESCAPED_DASH_STATE",this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this._emitCodePoint(I)}["SCRIPT_DATA_ESCAPED_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_ESCAPED_DASH_DASH_STATE",this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(I)}["SCRIPT_DATA_ESCAPED_DASH_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE";else if(I===g1.GREATER_THAN_SIGN)this.state="SCRIPT_DATA_STATE",this._emitChars(">");else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this.state="SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(I)}["SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN_STATE"](I){if(I===g1.SOLIDUS)this.tempBuff=[],this.state="SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE";else if(CH(I))this.tempBuff=[],this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE");else this._emitChars("<"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}["SCRIPT_DATA_ESCAPED_END_TAG_OPEN_STATE"](I){if(CH(I))this._createEndTagToken(),this._reconsumeInState("SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE");else this._emitChars("</"),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}["SCRIPT_DATA_ESCAPED_END_TAG_NAME_STATE"](I){if(DW(I))this.currentToken.tagName+=ZH(I),this.tempBuff.push(I);else if(pJ(I))this.currentToken.tagName+=p3(I),this.tempBuff.push(I);else{if(this.lastStartTagName===this.currentToken.tagName){if(x9(I)){this.state="BEFORE_ATTRIBUTE_NAME_STATE";return}if(I===g1.SOLIDUS){this.state="SELF_CLOSING_START_TAG_STATE";return}if(I===g1.GREATER_THAN_SIGN){this._emitCurrentToken(),this.state="DATA_STATE";return}}this._emitChars("</"),this._emitSeveralCodePoints(this.tempBuff),this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}}["SCRIPT_DATA_DOUBLE_ESCAPE_START_STATE"](I){if(x9(I)||I===g1.SOLIDUS||I===g1.GREATER_THAN_SIGN)this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_DOUBLE_ESCAPED_STATE":"SCRIPT_DATA_ESCAPED_STATE",this._emitCodePoint(I);else if(DW(I))this.tempBuff.push(ha(I)),this._emitCodePoint(I);else if(pJ(I))this.tempBuff.push(I),this._emitCodePoint(I);else this._reconsumeInState("SCRIPT_DATA_ESCAPED_STATE")}["SCRIPT_DATA_DOUBLE_ESCAPED_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE",this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<");else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this._emitCodePoint(I)}["SCRIPT_DATA_DOUBLE_ESCAPED_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE",this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<");else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(I)}["SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this._emitChars("-");else if(I===g1.LESS_THAN_SIGN)this.state="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE",this._emitChars("<");else if(I===g1.GREATER_THAN_SIGN)this.state="SCRIPT_DATA_STATE",this._emitChars(">");else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitChars(D9.REPLACEMENT_CHARACTER);else if(I===g1.EOF)this._err(_0.eofInScriptHtmlCommentLikeText),this._emitEOFToken();else this.state="SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(I)}["SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN_STATE"](I){if(I===g1.SOLIDUS)this.tempBuff=[],this.state="SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE",this._emitChars("/");else this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}["SCRIPT_DATA_DOUBLE_ESCAPE_END_STATE"](I){if(x9(I)||I===g1.SOLIDUS||I===g1.GREATER_THAN_SIGN)this.state=this._isTempBufferEqualToScriptString()?"SCRIPT_DATA_ESCAPED_STATE":"SCRIPT_DATA_DOUBLE_ESCAPED_STATE",this._emitCodePoint(I);else if(DW(I))this.tempBuff.push(ha(I)),this._emitCodePoint(I);else if(pJ(I))this.tempBuff.push(I),this._emitCodePoint(I);else this._reconsumeInState("SCRIPT_DATA_DOUBLE_ESCAPED_STATE")}["BEFORE_ATTRIBUTE_NAME_STATE"](I){if(x9(I))return;if(I===g1.SOLIDUS||I===g1.GREATER_THAN_SIGN||I===g1.EOF)this._reconsumeInState("AFTER_ATTRIBUTE_NAME_STATE");else if(I===g1.EQUALS_SIGN)this._err(_0.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state="ATTRIBUTE_NAME_STATE";else this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")}["ATTRIBUTE_NAME_STATE"](I){if(x9(I)||I===g1.SOLIDUS||I===g1.GREATER_THAN_SIGN||I===g1.EOF)this._leaveAttrName("AFTER_ATTRIBUTE_NAME_STATE"),this._unconsume();else if(I===g1.EQUALS_SIGN)this._leaveAttrName("BEFORE_ATTRIBUTE_VALUE_STATE");else if(DW(I))this.currentAttr.name+=ZH(I);else if(I===g1.QUOTATION_MARK||I===g1.APOSTROPHE||I===g1.LESS_THAN_SIGN)this._err(_0.unexpectedCharacterInAttributeName),this.currentAttr.name+=p3(I);else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentAttr.name+=D9.REPLACEMENT_CHARACTER;else this.currentAttr.name+=p3(I)}["AFTER_ATTRIBUTE_NAME_STATE"](I){if(x9(I))return;if(I===g1.SOLIDUS)this.state="SELF_CLOSING_START_TAG_STATE";else if(I===g1.EQUALS_SIGN)this.state="BEFORE_ATTRIBUTE_VALUE_STATE";else if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this._createAttr(""),this._reconsumeInState("ATTRIBUTE_NAME_STATE")}["BEFORE_ATTRIBUTE_VALUE_STATE"](I){if(x9(I))return;if(I===g1.QUOTATION_MARK)this.state="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this.state="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingAttributeValue),this.state="DATA_STATE",this._emitCurrentToken();else this._reconsumeInState("ATTRIBUTE_VALUE_UNQUOTED_STATE")}["ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE"](I){if(I===g1.QUOTATION_MARK)this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE";else if(I===g1.AMPERSAND)this.returnState="ATTRIBUTE_VALUE_DOUBLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentAttr.value+=D9.REPLACEMENT_CHARACTER;else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this.currentAttr.value+=p3(I)}["ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE"](I){if(I===g1.APOSTROPHE)this.state="AFTER_ATTRIBUTE_VALUE_QUOTED_STATE";else if(I===g1.AMPERSAND)this.returnState="ATTRIBUTE_VALUE_SINGLE_QUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentAttr.value+=D9.REPLACEMENT_CHARACTER;else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this.currentAttr.value+=p3(I)}["ATTRIBUTE_VALUE_UNQUOTED_STATE"](I){if(x9(I))this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE");else if(I===g1.AMPERSAND)this.returnState="ATTRIBUTE_VALUE_UNQUOTED_STATE",this.state="CHARACTER_REFERENCE_STATE";else if(I===g1.GREATER_THAN_SIGN)this._leaveAttrValue("DATA_STATE"),this._emitCurrentToken();else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentAttr.value+=D9.REPLACEMENT_CHARACTER;else if(I===g1.QUOTATION_MARK||I===g1.APOSTROPHE||I===g1.LESS_THAN_SIGN||I===g1.EQUALS_SIGN||I===g1.GRAVE_ACCENT)this._err(_0.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=p3(I);else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this.currentAttr.value+=p3(I)}["AFTER_ATTRIBUTE_VALUE_QUOTED_STATE"](I){if(x9(I))this._leaveAttrValue("BEFORE_ATTRIBUTE_NAME_STATE");else if(I===g1.SOLIDUS)this._leaveAttrValue("SELF_CLOSING_START_TAG_STATE");else if(I===g1.GREATER_THAN_SIGN)this._leaveAttrValue("DATA_STATE"),this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this._err(_0.missingWhitespaceBetweenAttributes),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE")}["SELF_CLOSING_START_TAG_STATE"](I){if(I===g1.GREATER_THAN_SIGN)this.currentToken.selfClosing=!0,this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInTag),this._emitEOFToken();else this._err(_0.unexpectedSolidusInTag),this._reconsumeInState("BEFORE_ATTRIBUTE_NAME_STATE")}["BOGUS_COMMENT_STATE"](I){if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._emitCurrentToken(),this._emitEOFToken();else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.data+=D9.REPLACEMENT_CHARACTER;else this.currentToken.data+=p3(I)}["MARKUP_DECLARATION_OPEN_STATE"](I){if(this._consumeSequenceIfMatch(cJ.DASH_DASH_STRING,I,!0))this._createCommentToken(),this.state="COMMENT_START_STATE";else if(this._consumeSequenceIfMatch(cJ.DOCTYPE_STRING,I,!1))this.state="DOCTYPE_STATE";else if(this._consumeSequenceIfMatch(cJ.CDATA_START_STRING,I,!0))if(this.allowCDATA)this.state="CDATA_SECTION_STATE";else this._err(_0.cdataInHtmlContent),this._createCommentToken(),this.currentToken.data="[CDATA[",this.state="BOGUS_COMMENT_STATE";else if(!this._ensureHibernation())this._err(_0.incorrectlyOpenedComment),this._createCommentToken(),this._reconsumeInState("BOGUS_COMMENT_STATE")}["COMMENT_START_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_START_DASH_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptClosingOfEmptyComment),this.state="DATA_STATE",this._emitCurrentToken();else this._reconsumeInState("COMMENT_STATE")}["COMMENT_START_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_END_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptClosingOfEmptyComment),this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInComment),this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE")}["COMMENT_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_END_DASH_STATE";else if(I===g1.LESS_THAN_SIGN)this.currentToken.data+="<",this.state="COMMENT_LESS_THAN_SIGN_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.data+=D9.REPLACEMENT_CHARACTER;else if(I===g1.EOF)this._err(_0.eofInComment),this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.data+=p3(I)}["COMMENT_LESS_THAN_SIGN_STATE"](I){if(I===g1.EXCLAMATION_MARK)this.currentToken.data+="!",this.state="COMMENT_LESS_THAN_SIGN_BANG_STATE";else if(I===g1.LESS_THAN_SIGN)this.currentToken.data+="!";else this._reconsumeInState("COMMENT_STATE")}["COMMENT_LESS_THAN_SIGN_BANG_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE";else this._reconsumeInState("COMMENT_STATE")}["COMMENT_LESS_THAN_SIGN_BANG_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE";else this._reconsumeInState("COMMENT_END_DASH_STATE")}["COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH_STATE"](I){if(I!==g1.GREATER_THAN_SIGN&&I!==g1.EOF)this._err(_0.nestedComment);this._reconsumeInState("COMMENT_END_STATE")}["COMMENT_END_DASH_STATE"](I){if(I===g1.HYPHEN_MINUS)this.state="COMMENT_END_STATE";else if(I===g1.EOF)this._err(_0.eofInComment),this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.data+="-",this._reconsumeInState("COMMENT_STATE")}["COMMENT_END_STATE"](I){if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EXCLAMATION_MARK)this.state="COMMENT_END_BANG_STATE";else if(I===g1.HYPHEN_MINUS)this.currentToken.data+="-";else if(I===g1.EOF)this._err(_0.eofInComment),this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.data+="--",this._reconsumeInState("COMMENT_STATE")}["COMMENT_END_BANG_STATE"](I){if(I===g1.HYPHEN_MINUS)this.currentToken.data+="--!",this.state="COMMENT_END_DASH_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.incorrectlyClosedComment),this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInComment),this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.data+="--!",this._reconsumeInState("COMMENT_STATE")}["DOCTYPE_STATE"](I){if(x9(I))this.state="BEFORE_DOCTYPE_NAME_STATE";else if(I===g1.GREATER_THAN_SIGN)this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE");else if(I===g1.EOF)this._err(_0.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingWhitespaceBeforeDoctypeName),this._reconsumeInState("BEFORE_DOCTYPE_NAME_STATE")}["BEFORE_DOCTYPE_NAME_STATE"](I){if(x9(I))return;if(DW(I))this._createDoctypeToken(ZH(I)),this.state="DOCTYPE_NAME_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this._createDoctypeToken(D9.REPLACEMENT_CHARACTER),this.state="DOCTYPE_NAME_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingDoctypeName),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this._createDoctypeToken(null),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._createDoctypeToken(p3(I)),this.state="DOCTYPE_NAME_STATE"}["DOCTYPE_NAME_STATE"](I){if(x9(I))this.state="AFTER_DOCTYPE_NAME_STATE";else if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(DW(I))this.currentToken.name+=ZH(I);else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.name+=D9.REPLACEMENT_CHARACTER;else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.name+=p3(I)}["AFTER_DOCTYPE_NAME_STATE"](I){if(x9(I))return;if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else if(this._consumeSequenceIfMatch(cJ.PUBLIC_STRING,I,!1))this.state="AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE";else if(this._consumeSequenceIfMatch(cJ.SYSTEM_STRING,I,!1))this.state="AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE";else if(!this._ensureHibernation())this._err(_0.invalidCharacterSequenceAfterDoctypeName),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["AFTER_DOCTYPE_PUBLIC_KEYWORD_STATE"](I){if(x9(I))this.state="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE";else if(I===g1.QUOTATION_MARK)this._err(_0.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this._err(_0.missingWhitespaceAfterDoctypePublicKeyword),this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["BEFORE_DOCTYPE_PUBLIC_IDENTIFIER_STATE"](I){if(x9(I))return;if(I===g1.QUOTATION_MARK)this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this.currentToken.publicId="",this.state="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED_STATE"](I){if(I===g1.QUOTATION_MARK)this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.publicId+=D9.REPLACEMENT_CHARACTER;else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.publicId+=p3(I)}["DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED_STATE"](I){if(I===g1.APOSTROPHE)this.state="AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.publicId+=D9.REPLACEMENT_CHARACTER;else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptDoctypePublicIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.publicId+=p3(I)}["AFTER_DOCTYPE_PUBLIC_IDENTIFIER_STATE"](I){if(x9(I))this.state="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE";else if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.QUOTATION_MARK)this._err(_0.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this._err(_0.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS_STATE"](I){if(x9(I))return;if(I===g1.GREATER_THAN_SIGN)this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.QUOTATION_MARK)this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["AFTER_DOCTYPE_SYSTEM_KEYWORD_STATE"](I){if(x9(I))this.state="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE";else if(I===g1.QUOTATION_MARK)this._err(_0.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this._err(_0.missingWhitespaceAfterDoctypeSystemKeyword),this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["BEFORE_DOCTYPE_SYSTEM_IDENTIFIER_STATE"](I){if(x9(I))return;if(I===g1.QUOTATION_MARK)this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE";else if(I===g1.APOSTROPHE)this.currentToken.systemId="",this.state="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE";else if(I===g1.GREATER_THAN_SIGN)this._err(_0.missingDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this.state="DATA_STATE",this._emitCurrentToken();else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.missingQuoteBeforeDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE"](I){if(I===g1.QUOTATION_MARK)this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.systemId+=D9.REPLACEMENT_CHARACTER;else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.systemId+=p3(I)}["DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE"](I){if(I===g1.APOSTROPHE)this.state="AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter),this.currentToken.systemId+=D9.REPLACEMENT_CHARACTER;else if(I===g1.GREATER_THAN_SIGN)this._err(_0.abruptDoctypeSystemIdentifier),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this.currentToken.systemId+=p3(I)}["AFTER_DOCTYPE_SYSTEM_IDENTIFIER_STATE"](I){if(x9(I))return;if(I===g1.GREATER_THAN_SIGN)this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.EOF)this._err(_0.eofInDoctype),this.currentToken.forceQuirks=!0,this._emitCurrentToken(),this._emitEOFToken();else this._err(_0.unexpectedCharacterAfterDoctypeSystemIdentifier),this._reconsumeInState("BOGUS_DOCTYPE_STATE")}["BOGUS_DOCTYPE_STATE"](I){if(I===g1.GREATER_THAN_SIGN)this._emitCurrentToken(),this.state="DATA_STATE";else if(I===g1.NULL)this._err(_0.unexpectedNullCharacter);else if(I===g1.EOF)this._emitCurrentToken(),this._emitEOFToken()}["CDATA_SECTION_STATE"](I){if(I===g1.RIGHT_SQUARE_BRACKET)this.state="CDATA_SECTION_BRACKET_STATE";else if(I===g1.EOF)this._err(_0.eofInCdata),this._emitEOFToken();else this._emitCodePoint(I)}["CDATA_SECTION_BRACKET_STATE"](I){if(I===g1.RIGHT_SQUARE_BRACKET)this.state="CDATA_SECTION_END_STATE";else this._emitChars("]"),this._reconsumeInState("CDATA_SECTION_STATE")}["CDATA_SECTION_END_STATE"](I){if(I===g1.GREATER_THAN_SIGN)this.state="DATA_STATE";else if(I===g1.RIGHT_SQUARE_BRACKET)this._emitChars("]");else this._emitChars("]]"),this._reconsumeInState("CDATA_SECTION_STATE")}["CHARACTER_REFERENCE_STATE"](I){if(this.tempBuff=[g1.AMPERSAND],I===g1.NUMBER_SIGN)this.tempBuff.push(I),this.state="NUMERIC_CHARACTER_REFERENCE_STATE";else if(Cg1(I))this._reconsumeInState("NAMED_CHARACTER_REFERENCE_STATE");else this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}["NAMED_CHARACTER_REFERENCE_STATE"](I){let d=this._matchNamedCharacterReference(I);if(this._ensureHibernation())this.tempBuff=[g1.AMPERSAND];else if(d){let G=this.tempBuff[this.tempBuff.length-1]===g1.SEMICOLON;if(!this._isCharacterReferenceAttributeQuirk(G)){if(!G)this._errOnNextCodePoint(_0.missingSemicolonAfterCharacterReference);this.tempBuff=d}this._flushCodePointsConsumedAsCharacterReference(),this.state=this.returnState}else this._flushCodePointsConsumedAsCharacterReference(),this.state="AMBIGUOS_AMPERSAND_STATE"}["AMBIGUOS_AMPERSAND_STATE"](I){if(Cg1(I))if(this._isCharacterReferenceInAttribute())this.currentAttr.value+=p3(I);else this._emitCodePoint(I);else{if(I===g1.SEMICOLON)this._err(_0.unknownNamedCharacterReference);this._reconsumeInState(this.returnState)}}["NUMERIC_CHARACTER_REFERENCE_STATE"](I){if(this.charRefCode=0,I===g1.LATIN_SMALL_X||I===g1.LATIN_CAPITAL_X)this.tempBuff.push(I),this.state="HEXADEMICAL_CHARACTER_REFERENCE_START_STATE";else this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_START_STATE")}["HEXADEMICAL_CHARACTER_REFERENCE_START_STATE"](I){if(z59(I))this._reconsumeInState("HEXADEMICAL_CHARACTER_REFERENCE_STATE");else this._err(_0.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}["DECIMAL_CHARACTER_REFERENCE_START_STATE"](I){if(v$(I))this._reconsumeInState("DECIMAL_CHARACTER_REFERENCE_STATE");else this._err(_0.absenceOfDigitsInNumericCharacterReference),this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}["HEXADEMICAL_CHARACTER_REFERENCE_STATE"](I){if(CH2(I))this.charRefCode=this.charRefCode*16+I-55;else if(WH2(I))this.charRefCode=this.charRefCode*16+I-87;else if(v$(I))this.charRefCode=this.charRefCode*16+I-48;else if(I===g1.SEMICOLON)this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE";else this._err(_0.missingSemicolonAfterCharacterReference),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE")}["DECIMAL_CHARACTER_REFERENCE_STATE"](I){if(v$(I))this.charRefCode=this.charRefCode*10+I-48;else if(I===g1.SEMICOLON)this.state="NUMERIC_CHARACTER_REFERENCE_END_STATE";else this._err(_0.missingSemicolonAfterCharacterReference),this._reconsumeInState("NUMERIC_CHARACTER_REFERENCE_END_STATE")}["NUMERIC_CHARACTER_REFERENCE_END_STATE"](){if(this.charRefCode===g1.NULL)this._err(_0.nullCharacterReference),this.charRefCode=g1.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(_0.characterReferenceOutsideUnicodeRange),this.charRefCode=g1.REPLACEMENT_CHARACTER;else if(D9.isSurrogate(this.charRefCode))this._err(_0.surrogateCharacterReference),this.charRefCode=g1.REPLACEMENT_CHARACTER;else if(D9.isUndefinedCodePoint(this.charRefCode))this._err(_0.noncharacterCharacterReference);else if(D9.isControlCodePoint(this.charRefCode)||this.charRefCode===g1.CARRIAGE_RETURN){this._err(_0.controlCharacterReference);let I=N59[this.charRefCode];if(I)this.charRefCode=I}this.tempBuff=[this.charRefCode],this._flushCodePointsConsumedAsCharacterReference(),this._reconsumeInState(this.returnState)}}$9.CHARACTER_TOKEN="CHARACTER_TOKEN";$9.NULL_CHARACTER_TOKEN="NULL_CHARACTER_TOKEN";$9.WHITESPACE_CHARACTER_TOKEN="WHITESPACE_CHARACTER_TOKEN";$9.START_TAG_TOKEN="START_TAG_TOKEN";$9.END_TAG_TOKEN="END_TAG_TOKEN";$9.COMMENT_TOKEN="COMMENT_TOKEN";$9.DOCTYPE_TOKEN="DOCTYPE_TOKEN";$9.EOF_TOKEN="EOF_TOKEN";$9.HIBERNATION_TOKEN="HIBERNATION_TOKEN";$9.MODE={DATA:"DATA_STATE",RCDATA:"RCDATA_STATE",RAWTEXT:"RAWTEXT_STATE",SCRIPT_DATA:"SCRIPT_DATA_STATE",PLAINTEXT:"PLAINTEXT_STATE"};$9.getTokenAttr=function(I,d){for(let G=I.attrs.length-1;G>=0;G--)if(I.attrs[G].name===d)return I.attrs[G].value;return null};wH2.exports=$9});var WH=Y((Q59)=>{var Wg1=Q59.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};Q59.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};Q59.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var l0=Q59.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};Q59.SPECIAL_ELEMENTS={[Wg1.HTML]:{[l0.ADDRESS]:!0,[l0.APPLET]:!0,[l0.AREA]:!0,[l0.ARTICLE]:!0,[l0.ASIDE]:!0,[l0.BASE]:!0,[l0.BASEFONT]:!0,[l0.BGSOUND]:!0,[l0.BLOCKQUOTE]:!0,[l0.BODY]:!0,[l0.BR]:!0,[l0.BUTTON]:!0,[l0.CAPTION]:!0,[l0.CENTER]:!0,[l0.COL]:!0,[l0.COLGROUP]:!0,[l0.DD]:!0,[l0.DETAILS]:!0,[l0.DIR]:!0,[l0.DIV]:!0,[l0.DL]:!0,[l0.DT]:!0,[l0.EMBED]:!0,[l0.FIELDSET]:!0,[l0.FIGCAPTION]:!0,[l0.FIGURE]:!0,[l0.FOOTER]:!0,[l0.FORM]:!0,[l0.FRAME]:!0,[l0.FRAMESET]:!0,[l0.H1]:!0,[l0.H2]:!0,[l0.H3]:!0,[l0.H4]:!0,[l0.H5]:!0,[l0.H6]:!0,[l0.HEAD]:!0,[l0.HEADER]:!0,[l0.HGROUP]:!0,[l0.HR]:!0,[l0.HTML]:!0,[l0.IFRAME]:!0,[l0.IMG]:!0,[l0.INPUT]:!0,[l0.LI]:!0,[l0.LINK]:!0,[l0.LISTING]:!0,[l0.MAIN]:!0,[l0.MARQUEE]:!0,[l0.MENU]:!0,[l0.META]:!0,[l0.NAV]:!0,[l0.NOEMBED]:!0,[l0.NOFRAMES]:!0,[l0.NOSCRIPT]:!0,[l0.OBJECT]:!0,[l0.OL]:!0,[l0.P]:!0,[l0.PARAM]:!0,[l0.PLAINTEXT]:!0,[l0.PRE]:!0,[l0.SCRIPT]:!0,[l0.SECTION]:!0,[l0.SELECT]:!0,[l0.SOURCE]:!0,[l0.STYLE]:!0,[l0.SUMMARY]:!0,[l0.TABLE]:!0,[l0.TBODY]:!0,[l0.TD]:!0,[l0.TEMPLATE]:!0,[l0.TEXTAREA]:!0,[l0.TFOOT]:!0,[l0.TH]:!0,[l0.THEAD]:!0,[l0.TITLE]:!0,[l0.TR]:!0,[l0.TRACK]:!0,[l0.UL]:!0,[l0.WBR]:!0,[l0.XMP]:!0},[Wg1.MATHML]:{[l0.MI]:!0,[l0.MO]:!0,[l0.MN]:!0,[l0.MS]:!0,[l0.MTEXT]:!0,[l0.ANNOTATION_XML]:!0},[Wg1.SVG]:{[l0.TITLE]:!0,[l0.FOREIGN_OBJECT]:!0,[l0.DESC]:!0}}});var YH2=Y((XJ3,XH2)=>{var AH2=WH(),j0=AH2.TAG_NAMES,H9=AH2.NAMESPACES;function BH2(I){switch(I.length){case 1:return I===j0.P;case 2:return I===j0.RB||I===j0.RP||I===j0.RT||I===j0.DD||I===j0.DT||I===j0.LI;case 3:return I===j0.RTC;case 6:return I===j0.OPTION;case 8:return I===j0.OPTGROUP}return!1}function U59(I){switch(I.length){case 1:return I===j0.P;case 2:return I===j0.RB||I===j0.RP||I===j0.RT||I===j0.DD||I===j0.DT||I===j0.LI||I===j0.TD||I===j0.TH||I===j0.TR;case 3:return I===j0.RTC;case 5:return I===j0.TBODY||I===j0.TFOOT||I===j0.THEAD;case 6:return I===j0.OPTION;case 7:return I===j0.CAPTION;case 8:return I===j0.OPTGROUP||I===j0.COLGROUP}return!1}function ja(I,d){switch(I.length){case 2:if(I===j0.TD||I===j0.TH)return d===H9.HTML;else if(I===j0.MI||I===j0.MO||I===j0.MN||I===j0.MS)return d===H9.MATHML;break;case 4:if(I===j0.HTML)return d===H9.HTML;else if(I===j0.DESC)return d===H9.SVG;break;case 5:if(I===j0.TABLE)return d===H9.HTML;else if(I===j0.MTEXT)return d===H9.MATHML;else if(I===j0.TITLE)return d===H9.SVG;break;case 6:return(I===j0.APPLET||I===j0.OBJECT)&&d===H9.HTML;case 7:return(I===j0.CAPTION||I===j0.MARQUEE)&&d===H9.HTML;case 8:return I===j0.TEMPLATE&&d===H9.HTML;case 13:return I===j0.FOREIGN_OBJECT&&d===H9.SVG;case 14:return I===j0.ANNOTATION_XML&&d===H9.MATHML}return!1}class VH2{constructor(I,d){this.stackTop=-1,this.items=[],this.current=I,this.currentTagName=null,this.currentTmplContent=null,this.tmplCount=0,this.treeAdapter=d}_indexOf(I){let d=-1;for(let G=this.stackTop;G>=0;G--)if(this.items[G]===I){d=G;break}return d}_isInTemplate(){return this.currentTagName===j0.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===H9.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagName=this.current&&this.treeAdapter.getTagName(this.current),this.currentTmplContent=this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):null}push(I){if(this.items[++this.stackTop]=I,this._updateCurrentElement(),this._isInTemplate())this.tmplCount++}pop(){if(this.stackTop--,this.tmplCount>0&&this._isInTemplate())this.tmplCount--;this._updateCurrentElement()}replace(I,d){let G=this._indexOf(I);if(this.items[G]=d,G===this.stackTop)this._updateCurrentElement()}insertAfter(I,d){let G=this._indexOf(I)+1;if(this.items.splice(G,0,d),G===++this.stackTop)this._updateCurrentElement()}popUntilTagNamePopped(I){while(this.stackTop>-1){let d=this.currentTagName,G=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),d===I&&G===H9.HTML)break}}popUntilElementPopped(I){while(this.stackTop>-1){let d=this.current;if(this.pop(),d===I)break}}popUntilNumberedHeaderPopped(){while(this.stackTop>-1){let I=this.currentTagName,d=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),I===j0.H1||I===j0.H2||I===j0.H3||I===j0.H4||I===j0.H5||I===j0.H6&&d===H9.HTML)break}}popUntilTableCellPopped(){while(this.stackTop>-1){let I=this.currentTagName,d=this.treeAdapter.getNamespaceURI(this.current);if(this.pop(),I===j0.TD||I===j0.TH&&d===H9.HTML)break}}popAllUpToHtmlElement(){this.stackTop=0,this._updateCurrentElement()}clearBackToTableContext(){while(this.currentTagName!==j0.TABLE&&this.currentTagName!==j0.TEMPLATE&&this.currentTagName!==j0.HTML||this.treeAdapter.getNamespaceURI(this.current)!==H9.HTML)this.pop()}clearBackToTableBodyContext(){while(this.currentTagName!==j0.TBODY&&this.currentTagName!==j0.TFOOT&&this.currentTagName!==j0.THEAD&&this.currentTagName!==j0.TEMPLATE&&this.currentTagName!==j0.HTML||this.treeAdapter.getNamespaceURI(this.current)!==H9.HTML)this.pop()}clearBackToTableRowContext(){while(this.currentTagName!==j0.TR&&this.currentTagName!==j0.TEMPLATE&&this.currentTagName!==j0.HTML||this.treeAdapter.getNamespaceURI(this.current)!==H9.HTML)this.pop()}remove(I){for(let d=this.stackTop;d>=0;d--)if(this.items[d]===I){this.items.splice(d,1),this.stackTop--,this._updateCurrentElement();break}}tryPeekProperlyNestedBodyElement(){let I=this.items[1];return I&&this.treeAdapter.getTagName(I)===j0.BODY?I:null}contains(I){return this._indexOf(I)>-1}getCommonAncestor(I){let d=this._indexOf(I);return--d>=0?this.items[d]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.currentTagName===j0.HTML}hasInScope(I){for(let d=this.stackTop;d>=0;d--){let G=this.treeAdapter.getTagName(this.items[d]),Z=this.treeAdapter.getNamespaceURI(this.items[d]);if(G===I&&Z===H9.HTML)return!0;if(ja(G,Z))return!1}return!0}hasNumberedHeaderInScope(){for(let I=this.stackTop;I>=0;I--){let d=this.treeAdapter.getTagName(this.items[I]),G=this.treeAdapter.getNamespaceURI(this.items[I]);if((d===j0.H1||d===j0.H2||d===j0.H3||d===j0.H4||d===j0.H5||d===j0.H6)&&G===H9.HTML)return!0;if(ja(d,G))return!1}return!0}hasInListItemScope(I){for(let d=this.stackTop;d>=0;d--){let G=this.treeAdapter.getTagName(this.items[d]),Z=this.treeAdapter.getNamespaceURI(this.items[d]);if(G===I&&Z===H9.HTML)return!0;if((G===j0.UL||G===j0.OL)&&Z===H9.HTML||ja(G,Z))return!1}return!0}hasInButtonScope(I){for(let d=this.stackTop;d>=0;d--){let G=this.treeAdapter.getTagName(this.items[d]),Z=this.treeAdapter.getNamespaceURI(this.items[d]);if(G===I&&Z===H9.HTML)return!0;if(G===j0.BUTTON&&Z===H9.HTML||ja(G,Z))return!1}return!0}hasInTableScope(I){for(let d=this.stackTop;d>=0;d--){let G=this.treeAdapter.getTagName(this.items[d]);if(this.treeAdapter.getNamespaceURI(this.items[d])!==H9.HTML)continue;if(G===I)return!0;if(G===j0.TABLE||G===j0.TEMPLATE||G===j0.HTML)return!1}return!0}hasTableBodyContextInTableScope(){for(let I=this.stackTop;I>=0;I--){let d=this.treeAdapter.getTagName(this.items[I]);if(this.treeAdapter.getNamespaceURI(this.items[I])!==H9.HTML)continue;if(d===j0.TBODY||d===j0.THEAD||d===j0.TFOOT)return!0;if(d===j0.TABLE||d===j0.HTML)return!1}return!0}hasInSelectScope(I){for(let d=this.stackTop;d>=0;d--){let G=this.treeAdapter.getTagName(this.items[d]);if(this.treeAdapter.getNamespaceURI(this.items[d])!==H9.HTML)continue;if(G===I)return!0;if(G!==j0.OPTION&&G!==j0.OPTGROUP)return!1}return!0}generateImpliedEndTags(){while(BH2(this.currentTagName))this.pop()}generateImpliedEndTagsThoroughly(){while(U59(this.currentTagName))this.pop()}generateImpliedEndTagsWithExclusion(I){while(BH2(this.currentTagName)&&this.currentTagName!==I)this.pop()}}XH2.exports=VH2});var DH2=Y((YJ3,_H2)=>{class HW{constructor(I){this.length=0,this.entries=[],this.treeAdapter=I,this.bookmark=null}_getNoahArkConditionCandidates(I){let d=[];if(this.length>=3){let G=this.treeAdapter.getAttrList(I).length,Z=this.treeAdapter.getTagName(I),C=this.treeAdapter.getNamespaceURI(I);for(let W=this.length-1;W>=0;W--){let w=this.entries[W];if(w.type===HW.MARKER_ENTRY)break;let B=w.element,A=this.treeAdapter.getAttrList(B);if(this.treeAdapter.getTagName(B)===Z&&this.treeAdapter.getNamespaceURI(B)===C&&A.length===G)d.push({idx:W,attrs:A})}}return d.length<3?[]:d}_ensureNoahArkCondition(I){let d=this._getNoahArkConditionCandidates(I),G=d.length;if(G){let Z=this.treeAdapter.getAttrList(I),C=Z.length,W=Object.create(null);for(let w=0;w<C;w++){let B=Z[w];W[B.name]=B.value}for(let w=0;w<C;w++)for(let B=0;B<G;B++){let A=d[B].attrs[w];if(W[A.name]!==A.value)d.splice(B,1),G--;if(d.length<3)return}for(let w=G-1;w>=2;w--)this.entries.splice(d[w].idx,1),this.length--}}insertMarker(){this.entries.push({type:HW.MARKER_ENTRY}),this.length++}pushElement(I,d){this._ensureNoahArkCondition(I),this.entries.push({type:HW.ELEMENT_ENTRY,element:I,token:d}),this.length++}insertElementAfterBookmark(I,d){let G=this.length-1;for(;G>=0;G--)if(this.entries[G]===this.bookmark)break;this.entries.splice(G+1,0,{type:HW.ELEMENT_ENTRY,element:I,token:d}),this.length++}removeEntry(I){for(let d=this.length-1;d>=0;d--)if(this.entries[d]===I){this.entries.splice(d,1),this.length--;break}}clearToLastMarker(){while(this.length){let I=this.entries.pop();if(this.length--,I.type===HW.MARKER_ENTRY)break}}getElementEntryInScopeWithTagName(I){for(let d=this.length-1;d>=0;d--){let G=this.entries[d];if(G.type===HW.MARKER_ENTRY)return null;if(this.treeAdapter.getTagName(G.element)===I)return G}return null}getElementEntry(I){for(let d=this.length-1;d>=0;d--){let G=this.entries[d];if(G.type===HW.ELEMENT_ENTRY&&G.element===I)return G}return null}}HW.MARKER_ENTRY="MARKER_ENTRY";HW.ELEMENT_ENTRY="ELEMENT_ENTRY";_H2.exports=HW});var SB=Y((_J3,HH2)=>{class wg1{constructor(I){let d={},G=this._getOverriddenMethods(this,d);for(let Z of Object.keys(G))if(typeof G[Z]==="function")d[Z]=I[Z],I[Z]=G[Z]}_getOverriddenMethods(){throw new Error("Not implemented")}}wg1.install=function(I,d,G){if(!I.__mixins)I.__mixins=[];for(let C=0;C<I.__mixins.length;C++)if(I.__mixins[C].constructor===d)return I.__mixins[C];let Z=new d(I,G);return I.__mixins.push(Z),Z};HH2.exports=wg1});var Bg1=Y((DJ3,gH2)=>{var v59=SB();class FH2 extends v59{constructor(I){super(I);this.preprocessor=I,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.offset=0,this.col=0,this.line=1}_getOverriddenMethods(I,d){return{advance(){let G=this.pos+1,Z=this.html[G];if(I.isEol)I.isEol=!1,I.line++,I.lineStartPos=G;if(Z===`
`||Z==="\r"&&this.html[G+1]!==`
`)I.isEol=!0;return I.col=G-I.lineStartPos+1,I.offset=I.droppedBufferSize+G,d.advance.call(this)},retreat(){d.retreat.call(this),I.isEol=!1,I.col=this.pos-I.lineStartPos+1},dropParsedChunk(){let G=this.pos;d.dropParsedChunk.call(this);let Z=G-this.pos;I.lineStartPos-=Z,I.droppedBufferSize+=Z,I.offset=I.droppedBufferSize+this.pos}}}}gH2.exports=FH2});var Vg1=Y((HJ3,NH2)=>{var JH2=SB(),Ag1=E$(),E59=Bg1();class KH2 extends JH2{constructor(I){super(I);this.tokenizer=I,this.posTracker=JH2.install(I.preprocessor,E59),this.currentAttrLocation=null,this.ctLoc=null}_getCurrentLocation(){return{startLine:this.posTracker.line,startCol:this.posTracker.col,startOffset:this.posTracker.offset,endLine:-1,endCol:-1,endOffset:-1}}_attachCurrentAttrLocationInfo(){this.currentAttrLocation.endLine=this.posTracker.line,this.currentAttrLocation.endCol=this.posTracker.col,this.currentAttrLocation.endOffset=this.posTracker.offset;let I=this.tokenizer.currentToken,d=this.tokenizer.currentAttr;if(!I.location.attrs)I.location.attrs=Object.create(null);I.location.attrs[d.name]=this.currentAttrLocation}_getOverriddenMethods(I,d){let G={_createStartTagToken(){d._createStartTagToken.call(this),this.currentToken.location=I.ctLoc},_createEndTagToken(){d._createEndTagToken.call(this),this.currentToken.location=I.ctLoc},_createCommentToken(){d._createCommentToken.call(this),this.currentToken.location=I.ctLoc},_createDoctypeToken(Z){d._createDoctypeToken.call(this,Z),this.currentToken.location=I.ctLoc},_createCharacterToken(Z,C){d._createCharacterToken.call(this,Z,C),this.currentCharacterToken.location=I.ctLoc},_createEOFToken(){d._createEOFToken.call(this),this.currentToken.location=I._getCurrentLocation()},_createAttr(Z){d._createAttr.call(this,Z),I.currentAttrLocation=I._getCurrentLocation()},_leaveAttrName(Z){d._leaveAttrName.call(this,Z),I._attachCurrentAttrLocationInfo()},_leaveAttrValue(Z){d._leaveAttrValue.call(this,Z),I._attachCurrentAttrLocationInfo()},_emitCurrentToken(){let Z=this.currentToken.location;if(this.currentCharacterToken)this.currentCharacterToken.location.endLine=Z.startLine,this.currentCharacterToken.location.endCol=Z.startCol,this.currentCharacterToken.location.endOffset=Z.startOffset;if(this.currentToken.type===Ag1.EOF_TOKEN)Z.endLine=Z.startLine,Z.endCol=Z.startCol,Z.endOffset=Z.startOffset;else Z.endLine=I.posTracker.line,Z.endCol=I.posTracker.col+1,Z.endOffset=I.posTracker.offset+1;d._emitCurrentToken.call(this)},_emitCurrentCharacterToken(){let Z=this.currentCharacterToken&&this.currentCharacterToken.location;if(Z&&Z.endOffset===-1)Z.endLine=I.posTracker.line,Z.endCol=I.posTracker.col,Z.endOffset=I.posTracker.offset;d._emitCurrentCharacterToken.call(this)}};return Object.keys(Ag1.MODE).forEach((Z)=>{let C=Ag1.MODE[Z];G[C]=function(W){I.ctLoc=I._getCurrentLocation(),d[C].call(this,W)}}),G}}NH2.exports=KH2});var fH2=Y((FJ3,QH2)=>{var M59=SB();class zH2 extends M59{constructor(I,d){super(I);this.onItemPop=d.onItemPop}_getOverriddenMethods(I,d){return{pop(){I.onItemPop(this.current),d.pop.call(this)},popAllUpToHtmlElement(){for(let G=this.stackTop;G>0;G--)I.onItemPop(this.items[G]);d.popAllUpToHtmlElement.call(this)},remove(G){I.onItemPop(this.current),d.remove.call(this,G)}}}}QH2.exports=zH2});var vH2=Y((gJ3,UH2)=>{var Xg1=SB(),qH2=E$(),S59=Vg1(),L59=fH2(),y59=WH(),Yg1=y59.TAG_NAMES;class RH2 extends Xg1{constructor(I){super(I);this.parser=I,this.treeAdapter=this.parser.treeAdapter,this.posTracker=null,this.lastStartTagToken=null,this.lastFosterParentingLocation=null,this.currentToken=null}_setStartLocation(I){let d=null;if(this.lastStartTagToken)d=Object.assign({},this.lastStartTagToken.location),d.startTag=this.lastStartTagToken.location;this.treeAdapter.setNodeSourceCodeLocation(I,d)}_setEndLocation(I,d){let G=this.treeAdapter.getNodeSourceCodeLocation(I);if(G){if(d.location){let Z=d.location,C=this.treeAdapter.getTagName(I);if(d.type===qH2.END_TAG_TOKEN&&C===d.tagName)G.endTag=Object.assign({},Z),G.endLine=Z.endLine,G.endCol=Z.endCol,G.endOffset=Z.endOffset;else G.endLine=Z.startLine,G.endCol=Z.startCol,G.endOffset=Z.startOffset}}}_getOverriddenMethods(I,d){return{_bootstrap(G,Z){d._bootstrap.call(this,G,Z),I.lastStartTagToken=null,I.lastFosterParentingLocation=null,I.currentToken=null;let C=Xg1.install(this.tokenizer,S59);I.posTracker=C.posTracker,Xg1.install(this.openElements,L59,{onItemPop:function(W){I._setEndLocation(W,I.currentToken)}})},_runParsingLoop(G){d._runParsingLoop.call(this,G);for(let Z=this.openElements.stackTop;Z>=0;Z--)I._setEndLocation(this.openElements.items[Z],I.currentToken)},_processTokenInForeignContent(G){I.currentToken=G,d._processTokenInForeignContent.call(this,G)},_processToken(G){if(I.currentToken=G,d._processToken.call(this,G),G.type===qH2.END_TAG_TOKEN&&(G.tagName===Yg1.HTML||G.tagName===Yg1.BODY&&this.openElements.hasInScope(Yg1.BODY)))for(let C=this.openElements.stackTop;C>=0;C--){let W=this.openElements.items[C];if(this.treeAdapter.getTagName(W)===G.tagName){I._setEndLocation(W,G);break}}},_setDocumentType(G){d._setDocumentType.call(this,G);let Z=this.treeAdapter.getChildNodes(this.document),C=Z.length;for(let W=0;W<C;W++){let w=Z[W];if(this.treeAdapter.isDocumentTypeNode(w)){this.treeAdapter.setNodeSourceCodeLocation(w,G.location);break}}},_attachElementToTree(G){I._setStartLocation(G),I.lastStartTagToken=null,d._attachElementToTree.call(this,G)},_appendElement(G,Z){I.lastStartTagToken=G,d._appendElement.call(this,G,Z)},_insertElement(G,Z){I.lastStartTagToken=G,d._insertElement.call(this,G,Z)},_insertTemplate(G){I.lastStartTagToken=G,d._insertTemplate.call(this,G);let Z=this.treeAdapter.getTemplateContent(this.openElements.current);this.treeAdapter.setNodeSourceCodeLocation(Z,null)},_insertFakeRootElement(){d._insertFakeRootElement.call(this),this.treeAdapter.setNodeSourceCodeLocation(this.openElements.current,null)},_appendCommentNode(G,Z){d._appendCommentNode.call(this,G,Z);let C=this.treeAdapter.getChildNodes(Z),W=C[C.length-1];this.treeAdapter.setNodeSourceCodeLocation(W,G.location)},_findFosterParentingLocation(){return I.lastFosterParentingLocation=d._findFosterParentingLocation.call(this),I.lastFosterParentingLocation},_insertCharacters(G){d._insertCharacters.call(this,G);let Z=this._shouldFosterParentOnInsertion(),C=Z&&I.lastFosterParentingLocation.parent||this.openElements.currentTmplContent||this.openElements.current,W=this.treeAdapter.getChildNodes(C),w=Z&&I.lastFosterParentingLocation.beforeElement?W.indexOf(I.lastFosterParentingLocation.beforeElement)-1:W.length-1,B=W[w],A=this.treeAdapter.getNodeSourceCodeLocation(B);if(A)A.endLine=G.location.endLine,A.endCol=G.location.endCol,A.endOffset=G.location.endOffset;else this.treeAdapter.setNodeSourceCodeLocation(B,G.location)}}}}UH2.exports=RH2});var ka=Y((JJ3,MH2)=>{var P59=SB();class EH2 extends P59{constructor(I,d){super(I);this.posTracker=null,this.onParseError=d.onParseError}_setErrorLocation(I){I.startLine=I.endLine=this.posTracker.line,I.startCol=I.endCol=this.posTracker.col,I.startOffset=I.endOffset=this.posTracker.offset}_reportError(I){let d={code:I,startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1};this._setErrorLocation(d),this.onParseError(d)}_getOverriddenMethods(I){return{_err(d){I._reportError(d)}}}}MH2.exports=EH2});var yH2=Y((KJ3,LH2)=>{var $59=ka(),u59=Bg1(),T59=SB();class SH2 extends $59{constructor(I,d){super(I,d);this.posTracker=T59.install(I,u59),this.lastErrOffset=-1}_reportError(I){if(this.lastErrOffset!==this.posTracker.offset)this.lastErrOffset=this.posTracker.offset,super._reportError(I)}}LH2.exports=SH2});var uH2=Y((NJ3,$H2)=>{var O59=ka(),m59=yH2(),l59=SB();class PH2 extends O59{constructor(I,d){super(I,d);let G=l59.install(I.preprocessor,m59,d);this.posTracker=G.posTracker}}$H2.exports=PH2});var lH2=Y((zJ3,mH2)=>{var b59=ka(),h59=uH2(),j59=Vg1(),TH2=SB();class OH2 extends b59{constructor(I,d){super(I,d);this.opts=d,this.ctLoc=null,this.locBeforeToken=!1}_setErrorLocation(I){if(this.ctLoc)I.startLine=this.ctLoc.startLine,I.startCol=this.ctLoc.startCol,I.startOffset=this.ctLoc.startOffset,I.endLine=this.locBeforeToken?this.ctLoc.startLine:this.ctLoc.endLine,I.endCol=this.locBeforeToken?this.ctLoc.startCol:this.ctLoc.endCol,I.endOffset=this.locBeforeToken?this.ctLoc.startOffset:this.ctLoc.endOffset}_getOverriddenMethods(I,d){return{_bootstrap(G,Z){d._bootstrap.call(this,G,Z),TH2.install(this.tokenizer,h59,I.opts),TH2.install(this.tokenizer,j59)},_processInputToken(G){I.ctLoc=G.location,d._processInputToken.call(this,G)},_err(G,Z){I.locBeforeToken=Z&&Z.beforeToken,I._reportError(G)}}}}mH2.exports=OH2});var _g1=Y((c59)=>{var{DOCUMENT_MODE:k59}=WH();c59.createDocument=function(){return{nodeName:"#document",mode:k59.NO_QUIRKS,childNodes:[]}};c59.createDocumentFragment=function(){return{nodeName:"#document-fragment",childNodes:[]}};c59.createElement=function(I,d,G){return{nodeName:I,tagName:I,attrs:G,namespaceURI:d,childNodes:[],parentNode:null}};c59.createCommentNode=function(I){return{nodeName:"#comment",data:I,parentNode:null}};var bH2=function(I){return{nodeName:"#text",value:I,parentNode:null}},hH2=c59.appendChild=function(I,d){I.childNodes.push(d),d.parentNode=I},x59=c59.insertBefore=function(I,d,G){let Z=I.childNodes.indexOf(G);I.childNodes.splice(Z,0,d),d.parentNode=I};c59.setTemplateContent=function(I,d){I.content=d};c59.getTemplateContent=function(I){return I.content};c59.setDocumentType=function(I,d,G,Z){let C=null;for(let W=0;W<I.childNodes.length;W++)if(I.childNodes[W].nodeName==="#documentType"){C=I.childNodes[W];break}if(C)C.name=d,C.publicId=G,C.systemId=Z;else hH2(I,{nodeName:"#documentType",name:d,publicId:G,systemId:Z})};c59.setDocumentMode=function(I,d){I.mode=d};c59.getDocumentMode=function(I){return I.mode};c59.detachNode=function(I){if(I.parentNode){let d=I.parentNode.childNodes.indexOf(I);I.parentNode.childNodes.splice(d,1),I.parentNode=null}};c59.insertText=function(I,d){if(I.childNodes.length){let G=I.childNodes[I.childNodes.length-1];if(G.nodeName==="#text"){G.value+=d;return}}hH2(I,bH2(d))};c59.insertTextBefore=function(I,d,G){let Z=I.childNodes[I.childNodes.indexOf(G)-1];if(Z&&Z.nodeName==="#text")Z.value+=d;else x59(I,bH2(d),G)};c59.adoptAttributes=function(I,d){let G=[];for(let Z=0;Z<I.attrs.length;Z++)G.push(I.attrs[Z].name);for(let Z=0;Z<d.length;Z++)if(G.indexOf(d[Z].name)===-1)I.attrs.push(d[Z])};c59.getFirstChild=function(I){return I.childNodes[0]};c59.getChildNodes=function(I){return I.childNodes};c59.getParentNode=function(I){return I.parentNode};c59.getAttrList=function(I){return I.attrs};c59.getTagName=function(I){return I.tagName};c59.getNamespaceURI=function(I){return I.namespaceURI};c59.getTextNodeContent=function(I){return I.value};c59.getCommentNodeContent=function(I){return I.data};c59.getDocumentTypeNodeName=function(I){return I.name};c59.getDocumentTypeNodePublicId=function(I){return I.publicId};c59.getDocumentTypeNodeSystemId=function(I){return I.systemId};c59.isTextNode=function(I){return I.nodeName==="#text"};c59.isCommentNode=function(I){return I.nodeName==="#comment"};c59.isDocumentTypeNode=function(I){return I.nodeName==="#documentType"};c59.isElementNode=function(I){return!!I.tagName};c59.setNodeSourceCodeLocation=function(I,d){I.sourceCodeLocation=d};c59.getNodeSourceCodeLocation=function(I){return I.sourceCodeLocation}});var Dg1=Y((RJ3,jH2)=>{jH2.exports=function I(d,G){return G=G||Object.create(null),[d,G].reduce((Z,C)=>{return Object.keys(C).forEach((W)=>{Z[W]=C[W]}),Z},Object.create(null))}});var Hg1=Y((R99)=>{var{DOCUMENT_MODE:ER}=WH(),cH2=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Q99=cH2.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),f99=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],pH2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],q99=pH2.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function kH2(I){let d=I.indexOf('"')!==-1?"'":'"';return d+I+d}function xH2(I,d){for(let G=0;G<d.length;G++)if(I.indexOf(d[G])===0)return!0;return!1}R99.isConforming=function(I){return I.name==="html"&&I.publicId===null&&(I.systemId===null||I.systemId==="about:legacy-compat")};R99.getDocumentMode=function(I){if(I.name!=="html")return ER.QUIRKS;let d=I.systemId;if(d&&d.toLowerCase()==="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd")return ER.QUIRKS;let G=I.publicId;if(G!==null){if(G=G.toLowerCase(),f99.indexOf(G)>-1)return ER.QUIRKS;let Z=d===null?Q99:cH2;if(xH2(G,Z))return ER.QUIRKS;if(Z=d===null?pH2:q99,xH2(G,Z))return ER.LIMITED_QUIRKS}return ER.NO_QUIRKS};R99.serializeContent=function(I,d,G){let Z="!DOCTYPE ";if(I)Z+=I;if(d)Z+=" PUBLIC "+kH2(d);else if(G)Z+=" SYSTEM";if(G!==null)Z+=" "+kH2(G);return Z}});var nH2=Y((u99)=>{var Fg1=E$(),gg1=WH(),k2=gg1.TAG_NAMES,W7=gg1.NAMESPACES,xa=gg1.ATTRS,iH2={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},M99={attributename:"attributeName",attributetype:"attributeType",basefrequency:"baseFrequency",baseprofile:"baseProfile",calcmode:"calcMode",clippathunits:"clipPathUnits",diffuseconstant:"diffuseConstant",edgemode:"edgeMode",filterunits:"filterUnits",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",limitingconeangle:"limitingConeAngle",markerheight:"markerHeight",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textlength:"textLength",viewbox:"viewBox",viewtarget:"viewTarget",xchannelselector:"xChannelSelector",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan"},S99={"xlink:actuate":{prefix:"xlink",name:"actuate",namespace:W7.XLINK},"xlink:arcrole":{prefix:"xlink",name:"arcrole",namespace:W7.XLINK},"xlink:href":{prefix:"xlink",name:"href",namespace:W7.XLINK},"xlink:role":{prefix:"xlink",name:"role",namespace:W7.XLINK},"xlink:show":{prefix:"xlink",name:"show",namespace:W7.XLINK},"xlink:title":{prefix:"xlink",name:"title",namespace:W7.XLINK},"xlink:type":{prefix:"xlink",name:"type",namespace:W7.XLINK},"xml:base":{prefix:"xml",name:"base",namespace:W7.XML},"xml:lang":{prefix:"xml",name:"lang",namespace:W7.XML},"xml:space":{prefix:"xml",name:"space",namespace:W7.XML},xmlns:{prefix:"",name:"xmlns",namespace:W7.XMLNS},"xmlns:xlink":{prefix:"xmlns",name:"xlink",namespace:W7.XMLNS}},L99=u99.SVG_TAG_NAMES_ADJUSTMENT_MAP={altglyph:"altGlyph",altglyphdef:"altGlyphDef",altglyphitem:"altGlyphItem",animatecolor:"animateColor",animatemotion:"animateMotion",animatetransform:"animateTransform",clippath:"clipPath",feblend:"feBlend",fecolormatrix:"feColorMatrix",fecomponenttransfer:"feComponentTransfer",fecomposite:"feComposite",feconvolvematrix:"feConvolveMatrix",fediffuselighting:"feDiffuseLighting",fedisplacementmap:"feDisplacementMap",fedistantlight:"feDistantLight",feflood:"feFlood",fefunca:"feFuncA",fefuncb:"feFuncB",fefuncg:"feFuncG",fefuncr:"feFuncR",fegaussianblur:"feGaussianBlur",feimage:"feImage",femerge:"feMerge",femergenode:"feMergeNode",femorphology:"feMorphology",feoffset:"feOffset",fepointlight:"fePointLight",fespecularlighting:"feSpecularLighting",fespotlight:"feSpotLight",fetile:"feTile",feturbulence:"feTurbulence",foreignobject:"foreignObject",glyphref:"glyphRef",lineargradient:"linearGradient",radialgradient:"radialGradient",textpath:"textPath"},y99={[k2.B]:!0,[k2.BIG]:!0,[k2.BLOCKQUOTE]:!0,[k2.BODY]:!0,[k2.BR]:!0,[k2.CENTER]:!0,[k2.CODE]:!0,[k2.DD]:!0,[k2.DIV]:!0,[k2.DL]:!0,[k2.DT]:!0,[k2.EM]:!0,[k2.EMBED]:!0,[k2.H1]:!0,[k2.H2]:!0,[k2.H3]:!0,[k2.H4]:!0,[k2.H5]:!0,[k2.H6]:!0,[k2.HEAD]:!0,[k2.HR]:!0,[k2.I]:!0,[k2.IMG]:!0,[k2.LI]:!0,[k2.LISTING]:!0,[k2.MENU]:!0,[k2.META]:!0,[k2.NOBR]:!0,[k2.OL]:!0,[k2.P]:!0,[k2.PRE]:!0,[k2.RUBY]:!0,[k2.S]:!0,[k2.SMALL]:!0,[k2.SPAN]:!0,[k2.STRONG]:!0,[k2.STRIKE]:!0,[k2.SUB]:!0,[k2.SUP]:!0,[k2.TABLE]:!0,[k2.TT]:!0,[k2.U]:!0,[k2.UL]:!0,[k2.VAR]:!0};u99.causesExit=function(I){let d=I.tagName;return d===k2.FONT&&(Fg1.getTokenAttr(I,xa.COLOR)!==null||Fg1.getTokenAttr(I,xa.SIZE)!==null||Fg1.getTokenAttr(I,xa.FACE)!==null)?!0:y99[d]};u99.adjustTokenMathMLAttrs=function(I){for(let d=0;d<I.attrs.length;d++)if(I.attrs[d].name==="definitionurl"){I.attrs[d].name="definitionURL";break}};u99.adjustTokenSVGAttrs=function(I){for(let d=0;d<I.attrs.length;d++){let G=M99[I.attrs[d].name];if(G)I.attrs[d].name=G}};u99.adjustTokenXMLAttrs=function(I){for(let d=0;d<I.attrs.length;d++){let G=S99[I.attrs[d].name];if(G)I.attrs[d].prefix=G.prefix,I.attrs[d].name=G.name,I.attrs[d].namespace=G.namespace}};u99.adjustTokenSVGTagName=function(I){let d=L99[I.tagName];if(d)I.tagName=d};function P99(I,d){return d===W7.MATHML&&(I===k2.MI||I===k2.MO||I===k2.MN||I===k2.MS||I===k2.MTEXT)}function $99(I,d,G){if(d===W7.MATHML&&I===k2.ANNOTATION_XML){for(let Z=0;Z<G.length;Z++)if(G[Z].name===xa.ENCODING){let C=G[Z].value.toLowerCase();return C===iH2.TEXT_HTML||C===iH2.APPLICATION_XML}}return d===W7.SVG&&(I===k2.FOREIGN_OBJECT||I===k2.DESC||I===k2.TITLE)}u99.isIntegrationPoint=function(I,d,G,Z){if((!Z||Z===W7.HTML)&&$99(I,d,G))return!0;if((!Z||Z===W7.MATHML)&&P99(I,d))return!0;return!1}});var YF2=Y((MJ3,XF2)=>{var z1=E$(),j99=YH2(),rH2=DH2(),k99=vH2(),x99=lH2(),aH2=SB(),c99=_g1(),p99=Dg1(),sH2=Hg1(),LB=nH2(),w7=ba(),i99=la(),rJ=WH(),L=rJ.TAG_NAMES,N2=rJ.NAMESPACES,WF2=rJ.ATTRS,n99={scriptingEnabled:!0,sourceCodeLocationInfo:!1,onParseError:null,treeAdapter:c99},r99={[L.TR]:"IN_ROW_MODE",[L.TBODY]:"IN_TABLE_BODY_MODE",[L.THEAD]:"IN_TABLE_BODY_MODE",[L.TFOOT]:"IN_TABLE_BODY_MODE",[L.CAPTION]:"IN_CAPTION_MODE",[L.COLGROUP]:"IN_COLUMN_GROUP_MODE",[L.TABLE]:"IN_TABLE_MODE",[L.BODY]:"IN_BODY_MODE",[L.FRAMESET]:"IN_FRAMESET_MODE"},a99={[L.CAPTION]:"IN_TABLE_MODE",[L.COLGROUP]:"IN_TABLE_MODE",[L.TBODY]:"IN_TABLE_MODE",[L.TFOOT]:"IN_TABLE_MODE",[L.THEAD]:"IN_TABLE_MODE",[L.COL]:"IN_COLUMN_GROUP_MODE",[L.TR]:"IN_TABLE_BODY_MODE",[L.TD]:"IN_ROW_MODE",[L.TH]:"IN_ROW_MODE"},Jg1={["INITIAL_MODE"]:{[z1.CHARACTER_TOKEN]:S$,[z1.NULL_CHARACTER_TOKEN]:S$,[z1.WHITESPACE_CHARACTER_TOKEN]:d5,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:Z39,[z1.START_TAG_TOKEN]:S$,[z1.END_TAG_TOKEN]:S$,[z1.EOF_TOKEN]:S$},["BEFORE_HTML_MODE"]:{[z1.CHARACTER_TOKEN]:y$,[z1.NULL_CHARACTER_TOKEN]:y$,[z1.WHITESPACE_CHARACTER_TOKEN]:d5,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:C39,[z1.END_TAG_TOKEN]:W39,[z1.EOF_TOKEN]:y$},["BEFORE_HEAD_MODE"]:{[z1.CHARACTER_TOKEN]:P$,[z1.NULL_CHARACTER_TOKEN]:P$,[z1.WHITESPACE_CHARACTER_TOKEN]:d5,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:ca,[z1.START_TAG_TOKEN]:w39,[z1.END_TAG_TOKEN]:B39,[z1.EOF_TOKEN]:P$},["IN_HEAD_MODE"]:{[z1.CHARACTER_TOKEN]:$$,[z1.NULL_CHARACTER_TOKEN]:$$,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:ca,[z1.START_TAG_TOKEN]:Q8,[z1.END_TAG_TOKEN]:aJ,[z1.EOF_TOKEN]:$$},["IN_HEAD_NO_SCRIPT_MODE"]:{[z1.CHARACTER_TOKEN]:u$,[z1.NULL_CHARACTER_TOKEN]:u$,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:ca,[z1.START_TAG_TOKEN]:A39,[z1.END_TAG_TOKEN]:V39,[z1.EOF_TOKEN]:u$},["AFTER_HEAD_MODE"]:{[z1.CHARACTER_TOKEN]:T$,[z1.NULL_CHARACTER_TOKEN]:T$,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:ca,[z1.START_TAG_TOKEN]:X39,[z1.END_TAG_TOKEN]:Y39,[z1.EOF_TOKEN]:T$},["IN_BODY_MODE"]:{[z1.CHARACTER_TOKEN]:pa,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:Dd,[z1.END_TAG_TOKEN]:Kg1,[z1.EOF_TOKEN]:WX},["TEXT_MODE"]:{[z1.CHARACTER_TOKEN]:_d,[z1.NULL_CHARACTER_TOKEN]:_d,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:d5,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:d5,[z1.END_TAG_TOKEN]:k39,[z1.EOF_TOKEN]:x39},["IN_TABLE_MODE"]:{[z1.CHARACTER_TOKEN]:wX,[z1.NULL_CHARACTER_TOKEN]:wX,[z1.WHITESPACE_CHARACTER_TOKEN]:wX,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:Ng1,[z1.END_TAG_TOKEN]:zg1,[z1.EOF_TOKEN]:WX},["IN_TABLE_TEXT_MODE"]:{[z1.CHARACTER_TOKEN]:t39,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:e39,[z1.COMMENT_TOKEN]:L$,[z1.DOCTYPE_TOKEN]:L$,[z1.START_TAG_TOKEN]:L$,[z1.END_TAG_TOKEN]:L$,[z1.EOF_TOKEN]:L$},["IN_CAPTION_MODE"]:{[z1.CHARACTER_TOKEN]:pa,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:I69,[z1.END_TAG_TOKEN]:d69,[z1.EOF_TOKEN]:WX},["IN_COLUMN_GROUP_MODE"]:{[z1.CHARACTER_TOKEN]:na,[z1.NULL_CHARACTER_TOKEN]:na,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:G69,[z1.END_TAG_TOKEN]:Z69,[z1.EOF_TOKEN]:WX},["IN_TABLE_BODY_MODE"]:{[z1.CHARACTER_TOKEN]:wX,[z1.NULL_CHARACTER_TOKEN]:wX,[z1.WHITESPACE_CHARACTER_TOKEN]:wX,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:C69,[z1.END_TAG_TOKEN]:W69,[z1.EOF_TOKEN]:WX},["IN_ROW_MODE"]:{[z1.CHARACTER_TOKEN]:wX,[z1.NULL_CHARACTER_TOKEN]:wX,[z1.WHITESPACE_CHARACTER_TOKEN]:wX,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:w69,[z1.END_TAG_TOKEN]:B69,[z1.EOF_TOKEN]:WX},["IN_CELL_MODE"]:{[z1.CHARACTER_TOKEN]:pa,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:A69,[z1.END_TAG_TOKEN]:V69,[z1.EOF_TOKEN]:WX},["IN_SELECT_MODE"]:{[z1.CHARACTER_TOKEN]:_d,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:BF2,[z1.END_TAG_TOKEN]:AF2,[z1.EOF_TOKEN]:WX},["IN_SELECT_IN_TABLE_MODE"]:{[z1.CHARACTER_TOKEN]:_d,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:X69,[z1.END_TAG_TOKEN]:Y69,[z1.EOF_TOKEN]:WX},["IN_TEMPLATE_MODE"]:{[z1.CHARACTER_TOKEN]:pa,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:_69,[z1.END_TAG_TOKEN]:D69,[z1.EOF_TOKEN]:VF2},["AFTER_BODY_MODE"]:{[z1.CHARACTER_TOKEN]:ra,[z1.NULL_CHARACTER_TOKEN]:ra,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:G39,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:H69,[z1.END_TAG_TOKEN]:F69,[z1.EOF_TOKEN]:M$},["IN_FRAMESET_MODE"]:{[z1.CHARACTER_TOKEN]:d5,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:g69,[z1.END_TAG_TOKEN]:J69,[z1.EOF_TOKEN]:M$},["AFTER_FRAMESET_MODE"]:{[z1.CHARACTER_TOKEN]:d5,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:_d,[z1.COMMENT_TOKEN]:a6,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:K69,[z1.END_TAG_TOKEN]:N69,[z1.EOF_TOKEN]:M$},["AFTER_AFTER_BODY_MODE"]:{[z1.CHARACTER_TOKEN]:ia,[z1.NULL_CHARACTER_TOKEN]:ia,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:oH2,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:z69,[z1.END_TAG_TOKEN]:ia,[z1.EOF_TOKEN]:M$},["AFTER_AFTER_FRAMESET_MODE"]:{[z1.CHARACTER_TOKEN]:d5,[z1.NULL_CHARACTER_TOKEN]:d5,[z1.WHITESPACE_CHARACTER_TOKEN]:nJ,[z1.COMMENT_TOKEN]:oH2,[z1.DOCTYPE_TOKEN]:d5,[z1.START_TAG_TOKEN]:Q69,[z1.END_TAG_TOKEN]:d5,[z1.EOF_TOKEN]:M$}};class wF2{constructor(I){if(this.options=p99(n99,I),this.treeAdapter=this.options.treeAdapter,this.pendingScript=null,this.options.sourceCodeLocationInfo)aH2.install(this,k99);if(this.options.onParseError)aH2.install(this,x99,{onParseError:this.options.onParseError})}parse(I){let d=this.treeAdapter.createDocument();return this._bootstrap(d,null),this.tokenizer.write(I,!0),this._runParsingLoop(null),d}parseFragment(I,d){if(!d)d=this.treeAdapter.createElement(L.TEMPLATE,N2.HTML,[]);let G=this.treeAdapter.createElement("documentmock",N2.HTML,[]);if(this._bootstrap(G,d),this.treeAdapter.getTagName(d)===L.TEMPLATE)this._pushTmplInsertionMode("IN_TEMPLATE_MODE");this._initTokenizerForFragmentParsing(),this._insertFakeRootElement(),this._resetInsertionMode(),this._findFormInFragmentContext(),this.tokenizer.write(I,!0),this._runParsingLoop(null);let Z=this.treeAdapter.getFirstChild(G),C=this.treeAdapter.createDocumentFragment();return this._adoptNodes(Z,C),C}_bootstrap(I,d){this.tokenizer=new z1(this.options),this.stopped=!1,this.insertionMode="INITIAL_MODE",this.originalInsertionMode="",this.document=I,this.fragmentContext=d,this.headElement=null,this.formElement=null,this.openElements=new j99(this.document,this.treeAdapter),this.activeFormattingElements=new rH2(this.treeAdapter),this.tmplInsertionModeStack=[],this.tmplInsertionModeStackTop=-1,this.currentTmplInsertionMode=null,this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1}_err(){}_runParsingLoop(I){while(!this.stopped){this._setupTokenizerCDATAMode();let d=this.tokenizer.getNextToken();if(d.type===z1.HIBERNATION_TOKEN)break;if(this.skipNextNewLine){if(this.skipNextNewLine=!1,d.type===z1.WHITESPACE_CHARACTER_TOKEN&&d.chars[0]===`
`){if(d.chars.length===1)continue;d.chars=d.chars.substr(1)}}if(this._processInputToken(d),I&&this.pendingScript)break}}runParsingLoopForCurrentChunk(I,d){if(this._runParsingLoop(d),d&&this.pendingScript){let G=this.pendingScript;this.pendingScript=null,d(G);return}if(I)I()}_setupTokenizerCDATAMode(){let I=this._getAdjustedCurrentElement();this.tokenizer.allowCDATA=I&&I!==this.document&&this.treeAdapter.getNamespaceURI(I)!==N2.HTML&&!this._isIntegrationPoint(I)}_switchToTextParsing(I,d){this._insertElement(I,N2.HTML),this.tokenizer.state=d,this.originalInsertionMode=this.insertionMode,this.insertionMode="TEXT_MODE"}switchToPlaintextParsing(){this.insertionMode="TEXT_MODE",this.originalInsertionMode="IN_BODY_MODE",this.tokenizer.state=z1.MODE.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let I=this.fragmentContext;do{if(this.treeAdapter.getTagName(I)===L.FORM){this.formElement=I;break}I=this.treeAdapter.getParentNode(I)}while(I)}_initTokenizerForFragmentParsing(){if(this.treeAdapter.getNamespaceURI(this.fragmentContext)===N2.HTML){let I=this.treeAdapter.getTagName(this.fragmentContext);if(I===L.TITLE||I===L.TEXTAREA)this.tokenizer.state=z1.MODE.RCDATA;else if(I===L.STYLE||I===L.XMP||I===L.IFRAME||I===L.NOEMBED||I===L.NOFRAMES||I===L.NOSCRIPT)this.tokenizer.state=z1.MODE.RAWTEXT;else if(I===L.SCRIPT)this.tokenizer.state=z1.MODE.SCRIPT_DATA;else if(I===L.PLAINTEXT)this.tokenizer.state=z1.MODE.PLAINTEXT}}_setDocumentType(I){let d=I.name||"",G=I.publicId||"",Z=I.systemId||"";this.treeAdapter.setDocumentType(this.document,d,G,Z)}_attachElementToTree(I){if(this._shouldFosterParentOnInsertion())this._fosterParentElement(I);else{let d=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.appendChild(d,I)}}_appendElement(I,d){let G=this.treeAdapter.createElement(I.tagName,d,I.attrs);this._attachElementToTree(G)}_insertElement(I,d){let G=this.treeAdapter.createElement(I.tagName,d,I.attrs);this._attachElementToTree(G),this.openElements.push(G)}_insertFakeElement(I){let d=this.treeAdapter.createElement(I,N2.HTML,[]);this._attachElementToTree(d),this.openElements.push(d)}_insertTemplate(I){let d=this.treeAdapter.createElement(I.tagName,N2.HTML,I.attrs),G=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(d,G),this._attachElementToTree(d),this.openElements.push(d)}_insertFakeRootElement(){let I=this.treeAdapter.createElement(L.HTML,N2.HTML,[]);this.treeAdapter.appendChild(this.openElements.current,I),this.openElements.push(I)}_appendCommentNode(I,d){let G=this.treeAdapter.createCommentNode(I.data);this.treeAdapter.appendChild(d,G)}_insertCharacters(I){if(this._shouldFosterParentOnInsertion())this._fosterParentText(I.chars);else{let d=this.openElements.currentTmplContent||this.openElements.current;this.treeAdapter.insertText(d,I.chars)}}_adoptNodes(I,d){for(let G=this.treeAdapter.getFirstChild(I);G;G=this.treeAdapter.getFirstChild(I))this.treeAdapter.detachNode(G),this.treeAdapter.appendChild(d,G)}_shouldProcessTokenInForeignContent(I){let d=this._getAdjustedCurrentElement();if(!d||d===this.document)return!1;let G=this.treeAdapter.getNamespaceURI(d);if(G===N2.HTML)return!1;if(this.treeAdapter.getTagName(d)===L.ANNOTATION_XML&&G===N2.MATHML&&I.type===z1.START_TAG_TOKEN&&I.tagName===L.SVG)return!1;let Z=I.type===z1.CHARACTER_TOKEN||I.type===z1.NULL_CHARACTER_TOKEN||I.type===z1.WHITESPACE_CHARACTER_TOKEN;if((I.type===z1.START_TAG_TOKEN&&I.tagName!==L.MGLYPH&&I.tagName!==L.MALIGNMARK||Z)&&this._isIntegrationPoint(d,N2.MATHML))return!1;if((I.type===z1.START_TAG_TOKEN||Z)&&this._isIntegrationPoint(d,N2.HTML))return!1;return I.type!==z1.EOF_TOKEN}_processToken(I){Jg1[this.insertionMode][I.type](this,I)}_processTokenInBodyMode(I){Jg1.IN_BODY_MODE[I.type](this,I)}_processTokenInForeignContent(I){if(I.type===z1.CHARACTER_TOKEN)q69(this,I);else if(I.type===z1.NULL_CHARACTER_TOKEN)f69(this,I);else if(I.type===z1.WHITESPACE_CHARACTER_TOKEN)_d(this,I);else if(I.type===z1.COMMENT_TOKEN)a6(this,I);else if(I.type===z1.START_TAG_TOKEN)R69(this,I);else if(I.type===z1.END_TAG_TOKEN)U69(this,I)}_processInputToken(I){if(this._shouldProcessTokenInForeignContent(I))this._processTokenInForeignContent(I);else this._processToken(I);if(I.type===z1.START_TAG_TOKEN&&I.selfClosing&&!I.ackSelfClosing)this._err(w7.nonVoidHtmlElementStartTagWithTrailingSolidus)}_isIntegrationPoint(I,d){let G=this.treeAdapter.getTagName(I),Z=this.treeAdapter.getNamespaceURI(I),C=this.treeAdapter.getAttrList(I);return LB.isIntegrationPoint(G,Z,C,d)}_reconstructActiveFormattingElements(){let I=this.activeFormattingElements.length;if(I){let d=I,G=null;do if(d--,G=this.activeFormattingElements.entries[d],G.type===rH2.MARKER_ENTRY||this.openElements.contains(G.element)){d++;break}while(d>0);for(let Z=d;Z<I;Z++)G=this.activeFormattingElements.entries[Z],this._insertElement(G.token,this.treeAdapter.getNamespaceURI(G.element)),G.element=this.openElements.current}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode="IN_ROW_MODE"}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(L.P),this.openElements.popUntilTagNamePopped(L.P)}_resetInsertionMode(){for(let I=this.openElements.stackTop,d=!1;I>=0;I--){let G=this.openElements.items[I];if(I===0){if(d=!0,this.fragmentContext)G=this.fragmentContext}let Z=this.treeAdapter.getTagName(G),C=r99[Z];if(C){this.insertionMode=C;break}else if(!d&&(Z===L.TD||Z===L.TH)){this.insertionMode="IN_CELL_MODE";break}else if(!d&&Z===L.HEAD){this.insertionMode="IN_HEAD_MODE";break}else if(Z===L.SELECT){this._resetInsertionModeForSelect(I);break}else if(Z===L.TEMPLATE){this.insertionMode=this.currentTmplInsertionMode;break}else if(Z===L.HTML){this.insertionMode=this.headElement?"AFTER_HEAD_MODE":"BEFORE_HEAD_MODE";break}else if(d){this.insertionMode="IN_BODY_MODE";break}}}_resetInsertionModeForSelect(I){if(I>0)for(let d=I-1;d>0;d--){let G=this.openElements.items[d],Z=this.treeAdapter.getTagName(G);if(Z===L.TEMPLATE)break;else if(Z===L.TABLE){this.insertionMode="IN_SELECT_IN_TABLE_MODE";return}}this.insertionMode="IN_SELECT_MODE"}_pushTmplInsertionMode(I){this.tmplInsertionModeStack.push(I),this.tmplInsertionModeStackTop++,this.currentTmplInsertionMode=I}_popTmplInsertionMode(){this.tmplInsertionModeStack.pop(),this.tmplInsertionModeStackTop--,this.currentTmplInsertionMode=this.tmplInsertionModeStack[this.tmplInsertionModeStackTop]}_isElementCausesFosterParenting(I){let d=this.treeAdapter.getTagName(I);return d===L.TABLE||d===L.TBODY||d===L.TFOOT||d===L.THEAD||d===L.TR}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.current)}_findFosterParentingLocation(){let I={parent:null,beforeElement:null};for(let d=this.openElements.stackTop;d>=0;d--){let G=this.openElements.items[d],Z=this.treeAdapter.getTagName(G),C=this.treeAdapter.getNamespaceURI(G);if(Z===L.TEMPLATE&&C===N2.HTML){I.parent=this.treeAdapter.getTemplateContent(G);break}else if(Z===L.TABLE){if(I.parent=this.treeAdapter.getParentNode(G),I.parent)I.beforeElement=G;else I.parent=this.openElements.items[d-1];break}}if(!I.parent)I.parent=this.openElements.items[0];return I}_fosterParentElement(I){let d=this._findFosterParentingLocation();if(d.beforeElement)this.treeAdapter.insertBefore(d.parent,I,d.beforeElement);else this.treeAdapter.appendChild(d.parent,I)}_fosterParentText(I){let d=this._findFosterParentingLocation();if(d.beforeElement)this.treeAdapter.insertTextBefore(d.parent,I,d.beforeElement);else this.treeAdapter.insertText(d.parent,I)}_isSpecialElement(I){let d=this.treeAdapter.getTagName(I),G=this.treeAdapter.getNamespaceURI(I);return rJ.SPECIAL_ELEMENTS[G][d]}}XF2.exports=wF2;function s99(I,d){let G=I.activeFormattingElements.getElementEntryInScopeWithTagName(d.tagName);if(G){if(!I.openElements.contains(G.element))I.activeFormattingElements.removeEntry(G),G=null;else if(!I.openElements.hasInScope(d.tagName))G=null}else FW(I,d);return G}function o99(I,d){let G=null;for(let Z=I.openElements.stackTop;Z>=0;Z--){let C=I.openElements.items[Z];if(C===d.element)break;if(I._isSpecialElement(C))G=C}if(!G)I.openElements.popUntilElementPopped(d.element),I.activeFormattingElements.removeEntry(d);return G}function e99(I,d,G){let Z=d,C=I.openElements.getCommonAncestor(d);for(let W=0,w=C;w!==G;W++,w=C){C=I.openElements.getCommonAncestor(w);let B=I.activeFormattingElements.getElementEntry(w),A=B&&W>=3;if(!B||A){if(A)I.activeFormattingElements.removeEntry(B);I.openElements.remove(w)}else{if(w=t99(I,B),Z===d)I.activeFormattingElements.bookmark=B;I.treeAdapter.detachNode(Z),I.treeAdapter.appendChild(w,Z),Z=w}}return Z}function t99(I,d){let G=I.treeAdapter.getNamespaceURI(d.element),Z=I.treeAdapter.createElement(d.token.tagName,G,d.token.attrs);return I.openElements.replace(d.element,Z),d.element=Z,Z}function I39(I,d,G){if(I._isElementCausesFosterParenting(d))I._fosterParentElement(G);else{let Z=I.treeAdapter.getTagName(d),C=I.treeAdapter.getNamespaceURI(d);if(Z===L.TEMPLATE&&C===N2.HTML)d=I.treeAdapter.getTemplateContent(d);I.treeAdapter.appendChild(d,G)}}function d39(I,d,G){let Z=I.treeAdapter.getNamespaceURI(G.element),C=G.token,W=I.treeAdapter.createElement(C.tagName,Z,C.attrs);I._adoptNodes(d,W),I.treeAdapter.appendChild(d,W),I.activeFormattingElements.insertElementAfterBookmark(W,G.token),I.activeFormattingElements.removeEntry(G),I.openElements.remove(G.element),I.openElements.insertAfter(d,W)}function BH(I,d){let G;for(let Z=0;Z<8;Z++){if(G=s99(I,d,G),!G)break;let C=o99(I,G);if(!C)break;I.activeFormattingElements.bookmark=G;let W=e99(I,C,G.element),w=I.openElements.getCommonAncestor(G.element);I.treeAdapter.detachNode(W),I39(I,w,W),d39(I,C,G)}}function d5(){}function ca(I){I._err(w7.misplacedDoctype)}function a6(I,d){I._appendCommentNode(d,I.openElements.currentTmplContent||I.openElements.current)}function G39(I,d){I._appendCommentNode(d,I.openElements.items[0])}function oH2(I,d){I._appendCommentNode(d,I.document)}function _d(I,d){I._insertCharacters(d)}function M$(I){I.stopped=!0}function Z39(I,d){I._setDocumentType(d);let G=d.forceQuirks?rJ.DOCUMENT_MODE.QUIRKS:sH2.getDocumentMode(d);if(!sH2.isConforming(d))I._err(w7.nonConformingDoctype);I.treeAdapter.setDocumentMode(I.document,G),I.insertionMode="BEFORE_HTML_MODE"}function S$(I,d){I._err(w7.missingDoctype,{beforeToken:!0}),I.treeAdapter.setDocumentMode(I.document,rJ.DOCUMENT_MODE.QUIRKS),I.insertionMode="BEFORE_HTML_MODE",I._processToken(d)}function C39(I,d){if(d.tagName===L.HTML)I._insertElement(d,N2.HTML),I.insertionMode="BEFORE_HEAD_MODE";else y$(I,d)}function W39(I,d){let G=d.tagName;if(G===L.HTML||G===L.HEAD||G===L.BODY||G===L.BR)y$(I,d)}function y$(I,d){I._insertFakeRootElement(),I.insertionMode="BEFORE_HEAD_MODE",I._processToken(d)}function w39(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.HEAD)I._insertElement(d,N2.HTML),I.headElement=I.openElements.current,I.insertionMode="IN_HEAD_MODE";else P$(I,d)}function B39(I,d){let G=d.tagName;if(G===L.HEAD||G===L.BODY||G===L.HTML||G===L.BR)P$(I,d);else I._err(w7.endTagWithoutMatchingOpenElement)}function P$(I,d){I._insertFakeElement(L.HEAD),I.headElement=I.openElements.current,I.insertionMode="IN_HEAD_MODE",I._processToken(d)}function Q8(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.BASE||G===L.BASEFONT||G===L.BGSOUND||G===L.LINK||G===L.META)I._appendElement(d,N2.HTML),d.ackSelfClosing=!0;else if(G===L.TITLE)I._switchToTextParsing(d,z1.MODE.RCDATA);else if(G===L.NOSCRIPT)if(I.options.scriptingEnabled)I._switchToTextParsing(d,z1.MODE.RAWTEXT);else I._insertElement(d,N2.HTML),I.insertionMode="IN_HEAD_NO_SCRIPT_MODE";else if(G===L.NOFRAMES||G===L.STYLE)I._switchToTextParsing(d,z1.MODE.RAWTEXT);else if(G===L.SCRIPT)I._switchToTextParsing(d,z1.MODE.SCRIPT_DATA);else if(G===L.TEMPLATE)I._insertTemplate(d,N2.HTML),I.activeFormattingElements.insertMarker(),I.framesetOk=!1,I.insertionMode="IN_TEMPLATE_MODE",I._pushTmplInsertionMode("IN_TEMPLATE_MODE");else if(G===L.HEAD)I._err(w7.misplacedStartTagForHeadElement);else $$(I,d)}function aJ(I,d){let G=d.tagName;if(G===L.HEAD)I.openElements.pop(),I.insertionMode="AFTER_HEAD_MODE";else if(G===L.BODY||G===L.BR||G===L.HTML)$$(I,d);else if(G===L.TEMPLATE)if(I.openElements.tmplCount>0){if(I.openElements.generateImpliedEndTagsThoroughly(),I.openElements.currentTagName!==L.TEMPLATE)I._err(w7.closingOfElementWithOpenChildElements);I.openElements.popUntilTagNamePopped(L.TEMPLATE),I.activeFormattingElements.clearToLastMarker(),I._popTmplInsertionMode(),I._resetInsertionMode()}else I._err(w7.endTagWithoutMatchingOpenElement);else I._err(w7.endTagWithoutMatchingOpenElement)}function $$(I,d){I.openElements.pop(),I.insertionMode="AFTER_HEAD_MODE",I._processToken(d)}function A39(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.BASEFONT||G===L.BGSOUND||G===L.HEAD||G===L.LINK||G===L.META||G===L.NOFRAMES||G===L.STYLE)Q8(I,d);else if(G===L.NOSCRIPT)I._err(w7.nestedNoscriptInHead);else u$(I,d)}function V39(I,d){let G=d.tagName;if(G===L.NOSCRIPT)I.openElements.pop(),I.insertionMode="IN_HEAD_MODE";else if(G===L.BR)u$(I,d);else I._err(w7.endTagWithoutMatchingOpenElement)}function u$(I,d){let G=d.type===z1.EOF_TOKEN?w7.openElementsLeftAfterEof:w7.disallowedContentInNoscriptInHead;I._err(G),I.openElements.pop(),I.insertionMode="IN_HEAD_MODE",I._processToken(d)}function X39(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.BODY)I._insertElement(d,N2.HTML),I.framesetOk=!1,I.insertionMode="IN_BODY_MODE";else if(G===L.FRAMESET)I._insertElement(d,N2.HTML),I.insertionMode="IN_FRAMESET_MODE";else if(G===L.BASE||G===L.BASEFONT||G===L.BGSOUND||G===L.LINK||G===L.META||G===L.NOFRAMES||G===L.SCRIPT||G===L.STYLE||G===L.TEMPLATE||G===L.TITLE)I._err(w7.abandonedHeadElementChild),I.openElements.push(I.headElement),Q8(I,d),I.openElements.remove(I.headElement);else if(G===L.HEAD)I._err(w7.misplacedStartTagForHeadElement);else T$(I,d)}function Y39(I,d){let G=d.tagName;if(G===L.BODY||G===L.HTML||G===L.BR)T$(I,d);else if(G===L.TEMPLATE)aJ(I,d);else I._err(w7.endTagWithoutMatchingOpenElement)}function T$(I,d){I._insertFakeElement(L.BODY),I.insertionMode="IN_BODY_MODE",I._processToken(d)}function nJ(I,d){I._reconstructActiveFormattingElements(),I._insertCharacters(d)}function pa(I,d){I._reconstructActiveFormattingElements(),I._insertCharacters(d),I.framesetOk=!1}function _39(I,d){if(I.openElements.tmplCount===0)I.treeAdapter.adoptAttributes(I.openElements.items[0],d.attrs)}function D39(I,d){let G=I.openElements.tryPeekProperlyNestedBodyElement();if(G&&I.openElements.tmplCount===0)I.framesetOk=!1,I.treeAdapter.adoptAttributes(G,d.attrs)}function H39(I,d){let G=I.openElements.tryPeekProperlyNestedBodyElement();if(I.framesetOk&&G)I.treeAdapter.detachNode(G),I.openElements.popAllUpToHtmlElement(),I._insertElement(d,N2.HTML),I.insertionMode="IN_FRAMESET_MODE"}function CX(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML)}function F39(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();let G=I.openElements.currentTagName;if(G===L.H1||G===L.H2||G===L.H3||G===L.H4||G===L.H5||G===L.H6)I.openElements.pop();I._insertElement(d,N2.HTML)}function eH2(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML),I.skipNextNewLine=!0,I.framesetOk=!1}function g39(I,d){let G=I.openElements.tmplCount>0;if(!I.formElement||G){if(I.openElements.hasInButtonScope(L.P))I._closePElement();if(I._insertElement(d,N2.HTML),!G)I.formElement=I.openElements.current}}function J39(I,d){I.framesetOk=!1;let G=d.tagName;for(let Z=I.openElements.stackTop;Z>=0;Z--){let C=I.openElements.items[Z],W=I.treeAdapter.getTagName(C),w=null;if(G===L.LI&&W===L.LI)w=L.LI;else if((G===L.DD||G===L.DT)&&(W===L.DD||W===L.DT))w=W;if(w){I.openElements.generateImpliedEndTagsWithExclusion(w),I.openElements.popUntilTagNamePopped(w);break}if(W!==L.ADDRESS&&W!==L.DIV&&W!==L.P&&I._isSpecialElement(C))break}if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML)}function K39(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML),I.tokenizer.state=z1.MODE.PLAINTEXT}function N39(I,d){if(I.openElements.hasInScope(L.BUTTON))I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(L.BUTTON);I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML),I.framesetOk=!1}function z39(I,d){let G=I.activeFormattingElements.getElementEntryInScopeWithTagName(L.A);if(G)BH(I,d),I.openElements.remove(G.element),I.activeFormattingElements.removeEntry(G);I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML),I.activeFormattingElements.pushElement(I.openElements.current,d)}function MR(I,d){I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML),I.activeFormattingElements.pushElement(I.openElements.current,d)}function Q39(I,d){if(I._reconstructActiveFormattingElements(),I.openElements.hasInScope(L.NOBR))BH(I,d),I._reconstructActiveFormattingElements();I._insertElement(d,N2.HTML),I.activeFormattingElements.pushElement(I.openElements.current,d)}function tH2(I,d){I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML),I.activeFormattingElements.insertMarker(),I.framesetOk=!1}function f39(I,d){if(I.treeAdapter.getDocumentMode(I.document)!==rJ.DOCUMENT_MODE.QUIRKS&&I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML),I.framesetOk=!1,I.insertionMode="IN_TABLE_MODE"}function SR(I,d){I._reconstructActiveFormattingElements(),I._appendElement(d,N2.HTML),I.framesetOk=!1,d.ackSelfClosing=!0}function q39(I,d){I._reconstructActiveFormattingElements(),I._appendElement(d,N2.HTML);let G=z1.getTokenAttr(d,WF2.TYPE);if(!G||G.toLowerCase()!=="hidden")I.framesetOk=!1;d.ackSelfClosing=!0}function IF2(I,d){I._appendElement(d,N2.HTML),d.ackSelfClosing=!0}function R39(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._appendElement(d,N2.HTML),I.framesetOk=!1,I.ackSelfClosing=!0}function U39(I,d){d.tagName=L.IMG,SR(I,d)}function v39(I,d){I._insertElement(d,N2.HTML),I.skipNextNewLine=!0,I.tokenizer.state=z1.MODE.RCDATA,I.originalInsertionMode=I.insertionMode,I.framesetOk=!1,I.insertionMode="TEXT_MODE"}function E39(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._reconstructActiveFormattingElements(),I.framesetOk=!1,I._switchToTextParsing(d,z1.MODE.RAWTEXT)}function M39(I,d){I.framesetOk=!1,I._switchToTextParsing(d,z1.MODE.RAWTEXT)}function dF2(I,d){I._switchToTextParsing(d,z1.MODE.RAWTEXT)}function S39(I,d){if(I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML),I.framesetOk=!1,I.insertionMode==="IN_TABLE_MODE"||I.insertionMode==="IN_CAPTION_MODE"||I.insertionMode==="IN_TABLE_BODY_MODE"||I.insertionMode==="IN_ROW_MODE"||I.insertionMode==="IN_CELL_MODE")I.insertionMode="IN_SELECT_IN_TABLE_MODE";else I.insertionMode="IN_SELECT_MODE"}function GF2(I,d){if(I.openElements.currentTagName===L.OPTION)I.openElements.pop();I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML)}function ZF2(I,d){if(I.openElements.hasInScope(L.RUBY))I.openElements.generateImpliedEndTags();I._insertElement(d,N2.HTML)}function L39(I,d){if(I.openElements.hasInScope(L.RUBY))I.openElements.generateImpliedEndTagsWithExclusion(L.RTC);I._insertElement(d,N2.HTML)}function y39(I,d){if(I.openElements.hasInButtonScope(L.P))I._closePElement();I._insertElement(d,N2.HTML)}function P39(I,d){if(I._reconstructActiveFormattingElements(),LB.adjustTokenMathMLAttrs(d),LB.adjustTokenXMLAttrs(d),d.selfClosing)I._appendElement(d,N2.MATHML);else I._insertElement(d,N2.MATHML);d.ackSelfClosing=!0}function $39(I,d){if(I._reconstructActiveFormattingElements(),LB.adjustTokenSVGAttrs(d),LB.adjustTokenXMLAttrs(d),d.selfClosing)I._appendElement(d,N2.SVG);else I._insertElement(d,N2.SVG);d.ackSelfClosing=!0}function xZ(I,d){I._reconstructActiveFormattingElements(),I._insertElement(d,N2.HTML)}function Dd(I,d){let G=d.tagName;switch(G.length){case 1:if(G===L.I||G===L.S||G===L.B||G===L.U)MR(I,d);else if(G===L.P)CX(I,d);else if(G===L.A)z39(I,d);else xZ(I,d);break;case 2:if(G===L.DL||G===L.OL||G===L.UL)CX(I,d);else if(G===L.H1||G===L.H2||G===L.H3||G===L.H4||G===L.H5||G===L.H6)F39(I,d);else if(G===L.LI||G===L.DD||G===L.DT)J39(I,d);else if(G===L.EM||G===L.TT)MR(I,d);else if(G===L.BR)SR(I,d);else if(G===L.HR)R39(I,d);else if(G===L.RB)ZF2(I,d);else if(G===L.RT||G===L.RP)L39(I,d);else if(G!==L.TH&&G!==L.TD&&G!==L.TR)xZ(I,d);break;case 3:if(G===L.DIV||G===L.DIR||G===L.NAV)CX(I,d);else if(G===L.PRE)eH2(I,d);else if(G===L.BIG)MR(I,d);else if(G===L.IMG||G===L.WBR)SR(I,d);else if(G===L.XMP)E39(I,d);else if(G===L.SVG)$39(I,d);else if(G===L.RTC)ZF2(I,d);else if(G!==L.COL)xZ(I,d);break;case 4:if(G===L.HTML)_39(I,d);else if(G===L.BASE||G===L.LINK||G===L.META)Q8(I,d);else if(G===L.BODY)D39(I,d);else if(G===L.MAIN||G===L.MENU)CX(I,d);else if(G===L.FORM)g39(I,d);else if(G===L.CODE||G===L.FONT)MR(I,d);else if(G===L.NOBR)Q39(I,d);else if(G===L.AREA)SR(I,d);else if(G===L.MATH)P39(I,d);else if(G===L.MENU)y39(I,d);else if(G!==L.HEAD)xZ(I,d);break;case 5:if(G===L.STYLE||G===L.TITLE)Q8(I,d);else if(G===L.ASIDE)CX(I,d);else if(G===L.SMALL)MR(I,d);else if(G===L.TABLE)f39(I,d);else if(G===L.EMBED)SR(I,d);else if(G===L.INPUT)q39(I,d);else if(G===L.PARAM||G===L.TRACK)IF2(I,d);else if(G===L.IMAGE)U39(I,d);else if(G!==L.FRAME&&G!==L.TBODY&&G!==L.TFOOT&&G!==L.THEAD)xZ(I,d);break;case 6:if(G===L.SCRIPT)Q8(I,d);else if(G===L.CENTER||G===L.FIGURE||G===L.FOOTER||G===L.HEADER||G===L.HGROUP||G===L.DIALOG)CX(I,d);else if(G===L.BUTTON)N39(I,d);else if(G===L.STRIKE||G===L.STRONG)MR(I,d);else if(G===L.APPLET||G===L.OBJECT)tH2(I,d);else if(G===L.KEYGEN)SR(I,d);else if(G===L.SOURCE)IF2(I,d);else if(G===L.IFRAME)M39(I,d);else if(G===L.SELECT)S39(I,d);else if(G===L.OPTION)GF2(I,d);else xZ(I,d);break;case 7:if(G===L.BGSOUND)Q8(I,d);else if(G===L.DETAILS||G===L.ADDRESS||G===L.ARTICLE||G===L.SECTION||G===L.SUMMARY)CX(I,d);else if(G===L.LISTING)eH2(I,d);else if(G===L.MARQUEE)tH2(I,d);else if(G===L.NOEMBED)dF2(I,d);else if(G!==L.CAPTION)xZ(I,d);break;case 8:if(G===L.BASEFONT)Q8(I,d);else if(G===L.FRAMESET)H39(I,d);else if(G===L.FIELDSET)CX(I,d);else if(G===L.TEXTAREA)v39(I,d);else if(G===L.TEMPLATE)Q8(I,d);else if(G===L.NOSCRIPT)if(I.options.scriptingEnabled)dF2(I,d);else xZ(I,d);else if(G===L.OPTGROUP)GF2(I,d);else if(G!==L.COLGROUP)xZ(I,d);break;case 9:if(G===L.PLAINTEXT)K39(I,d);else xZ(I,d);break;case 10:if(G===L.BLOCKQUOTE||G===L.FIGCAPTION)CX(I,d);else xZ(I,d);break;default:xZ(I,d)}}function u39(I){if(I.openElements.hasInScope(L.BODY))I.insertionMode="AFTER_BODY_MODE"}function T39(I,d){if(I.openElements.hasInScope(L.BODY))I.insertionMode="AFTER_BODY_MODE",I._processToken(d)}function wH(I,d){let G=d.tagName;if(I.openElements.hasInScope(G))I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(G)}function O39(I){let d=I.openElements.tmplCount>0,G=I.formElement;if(!d)I.formElement=null;if((G||d)&&I.openElements.hasInScope(L.FORM))if(I.openElements.generateImpliedEndTags(),d)I.openElements.popUntilTagNamePopped(L.FORM);else I.openElements.remove(G)}function m39(I){if(!I.openElements.hasInButtonScope(L.P))I._insertFakeElement(L.P);I._closePElement()}function l39(I){if(I.openElements.hasInListItemScope(L.LI))I.openElements.generateImpliedEndTagsWithExclusion(L.LI),I.openElements.popUntilTagNamePopped(L.LI)}function b39(I,d){let G=d.tagName;if(I.openElements.hasInScope(G))I.openElements.generateImpliedEndTagsWithExclusion(G),I.openElements.popUntilTagNamePopped(G)}function h39(I){if(I.openElements.hasNumberedHeaderInScope())I.openElements.generateImpliedEndTags(),I.openElements.popUntilNumberedHeaderPopped()}function CF2(I,d){let G=d.tagName;if(I.openElements.hasInScope(G))I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(G),I.activeFormattingElements.clearToLastMarker()}function j39(I){I._reconstructActiveFormattingElements(),I._insertFakeElement(L.BR),I.openElements.pop(),I.framesetOk=!1}function FW(I,d){let G=d.tagName;for(let Z=I.openElements.stackTop;Z>0;Z--){let C=I.openElements.items[Z];if(I.treeAdapter.getTagName(C)===G){I.openElements.generateImpliedEndTagsWithExclusion(G),I.openElements.popUntilElementPopped(C);break}if(I._isSpecialElement(C))break}}function Kg1(I,d){let G=d.tagName;switch(G.length){case 1:if(G===L.A||G===L.B||G===L.I||G===L.S||G===L.U)BH(I,d);else if(G===L.P)m39(I,d);else FW(I,d);break;case 2:if(G===L.DL||G===L.UL||G===L.OL)wH(I,d);else if(G===L.LI)l39(I,d);else if(G===L.DD||G===L.DT)b39(I,d);else if(G===L.H1||G===L.H2||G===L.H3||G===L.H4||G===L.H5||G===L.H6)h39(I,d);else if(G===L.BR)j39(I,d);else if(G===L.EM||G===L.TT)BH(I,d);else FW(I,d);break;case 3:if(G===L.BIG)BH(I,d);else if(G===L.DIR||G===L.DIV||G===L.NAV||G===L.PRE)wH(I,d);else FW(I,d);break;case 4:if(G===L.BODY)u39(I,d);else if(G===L.HTML)T39(I,d);else if(G===L.FORM)O39(I,d);else if(G===L.CODE||G===L.FONT||G===L.NOBR)BH(I,d);else if(G===L.MAIN||G===L.MENU)wH(I,d);else FW(I,d);break;case 5:if(G===L.ASIDE)wH(I,d);else if(G===L.SMALL)BH(I,d);else FW(I,d);break;case 6:if(G===L.CENTER||G===L.FIGURE||G===L.FOOTER||G===L.HEADER||G===L.HGROUP||G===L.DIALOG)wH(I,d);else if(G===L.APPLET||G===L.OBJECT)CF2(I,d);else if(G===L.STRIKE||G===L.STRONG)BH(I,d);else FW(I,d);break;case 7:if(G===L.ADDRESS||G===L.ARTICLE||G===L.DETAILS||G===L.SECTION||G===L.SUMMARY||G===L.LISTING)wH(I,d);else if(G===L.MARQUEE)CF2(I,d);else FW(I,d);break;case 8:if(G===L.FIELDSET)wH(I,d);else if(G===L.TEMPLATE)aJ(I,d);else FW(I,d);break;case 10:if(G===L.BLOCKQUOTE||G===L.FIGCAPTION)wH(I,d);else FW(I,d);break;default:FW(I,d)}}function WX(I,d){if(I.tmplInsertionModeStackTop>-1)VF2(I,d);else I.stopped=!0}function k39(I,d){if(d.tagName===L.SCRIPT)I.pendingScript=I.openElements.current;I.openElements.pop(),I.insertionMode=I.originalInsertionMode}function x39(I,d){I._err(w7.eofInElementThatCanContainOnlyText),I.openElements.pop(),I.insertionMode=I.originalInsertionMode,I._processToken(d)}function wX(I,d){let G=I.openElements.currentTagName;if(G===L.TABLE||G===L.TBODY||G===L.TFOOT||G===L.THEAD||G===L.TR)I.pendingCharacterTokens=[],I.hasNonWhitespacePendingCharacterToken=!1,I.originalInsertionMode=I.insertionMode,I.insertionMode="IN_TABLE_TEXT_MODE",I._processToken(d);else cZ(I,d)}function c39(I,d){I.openElements.clearBackToTableContext(),I.activeFormattingElements.insertMarker(),I._insertElement(d,N2.HTML),I.insertionMode="IN_CAPTION_MODE"}function p39(I,d){I.openElements.clearBackToTableContext(),I._insertElement(d,N2.HTML),I.insertionMode="IN_COLUMN_GROUP_MODE"}function i39(I,d){I.openElements.clearBackToTableContext(),I._insertFakeElement(L.COLGROUP),I.insertionMode="IN_COLUMN_GROUP_MODE",I._processToken(d)}function n39(I,d){I.openElements.clearBackToTableContext(),I._insertElement(d,N2.HTML),I.insertionMode="IN_TABLE_BODY_MODE"}function r39(I,d){I.openElements.clearBackToTableContext(),I._insertFakeElement(L.TBODY),I.insertionMode="IN_TABLE_BODY_MODE",I._processToken(d)}function a39(I,d){if(I.openElements.hasInTableScope(L.TABLE))I.openElements.popUntilTagNamePopped(L.TABLE),I._resetInsertionMode(),I._processToken(d)}function s39(I,d){let G=z1.getTokenAttr(d,WF2.TYPE);if(G&&G.toLowerCase()==="hidden")I._appendElement(d,N2.HTML);else cZ(I,d);d.ackSelfClosing=!0}function o39(I,d){if(!I.formElement&&I.openElements.tmplCount===0)I._insertElement(d,N2.HTML),I.formElement=I.openElements.current,I.openElements.pop()}function Ng1(I,d){let G=d.tagName;switch(G.length){case 2:if(G===L.TD||G===L.TH||G===L.TR)r39(I,d);else cZ(I,d);break;case 3:if(G===L.COL)i39(I,d);else cZ(I,d);break;case 4:if(G===L.FORM)o39(I,d);else cZ(I,d);break;case 5:if(G===L.TABLE)a39(I,d);else if(G===L.STYLE)Q8(I,d);else if(G===L.TBODY||G===L.TFOOT||G===L.THEAD)n39(I,d);else if(G===L.INPUT)s39(I,d);else cZ(I,d);break;case 6:if(G===L.SCRIPT)Q8(I,d);else cZ(I,d);break;case 7:if(G===L.CAPTION)c39(I,d);else cZ(I,d);break;case 8:if(G===L.COLGROUP)p39(I,d);else if(G===L.TEMPLATE)Q8(I,d);else cZ(I,d);break;default:cZ(I,d)}}function zg1(I,d){let G=d.tagName;if(G===L.TABLE){if(I.openElements.hasInTableScope(L.TABLE))I.openElements.popUntilTagNamePopped(L.TABLE),I._resetInsertionMode()}else if(G===L.TEMPLATE)aJ(I,d);else if(G!==L.BODY&&G!==L.CAPTION&&G!==L.COL&&G!==L.COLGROUP&&G!==L.HTML&&G!==L.TBODY&&G!==L.TD&&G!==L.TFOOT&&G!==L.TH&&G!==L.THEAD&&G!==L.TR)cZ(I,d)}function cZ(I,d){let G=I.fosterParentingEnabled;I.fosterParentingEnabled=!0,I._processTokenInBodyMode(d),I.fosterParentingEnabled=G}function e39(I,d){I.pendingCharacterTokens.push(d)}function t39(I,d){I.pendingCharacterTokens.push(d),I.hasNonWhitespacePendingCharacterToken=!0}function L$(I,d){let G=0;if(I.hasNonWhitespacePendingCharacterToken)for(;G<I.pendingCharacterTokens.length;G++)cZ(I,I.pendingCharacterTokens[G]);else for(;G<I.pendingCharacterTokens.length;G++)I._insertCharacters(I.pendingCharacterTokens[G]);I.insertionMode=I.originalInsertionMode,I._processToken(d)}function I69(I,d){let G=d.tagName;if(G===L.CAPTION||G===L.COL||G===L.COLGROUP||G===L.TBODY||G===L.TD||G===L.TFOOT||G===L.TH||G===L.THEAD||G===L.TR){if(I.openElements.hasInTableScope(L.CAPTION))I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(L.CAPTION),I.activeFormattingElements.clearToLastMarker(),I.insertionMode="IN_TABLE_MODE",I._processToken(d)}else Dd(I,d)}function d69(I,d){let G=d.tagName;if(G===L.CAPTION||G===L.TABLE){if(I.openElements.hasInTableScope(L.CAPTION)){if(I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(L.CAPTION),I.activeFormattingElements.clearToLastMarker(),I.insertionMode="IN_TABLE_MODE",G===L.TABLE)I._processToken(d)}}else if(G!==L.BODY&&G!==L.COL&&G!==L.COLGROUP&&G!==L.HTML&&G!==L.TBODY&&G!==L.TD&&G!==L.TFOOT&&G!==L.TH&&G!==L.THEAD&&G!==L.TR)Kg1(I,d)}function G69(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.COL)I._appendElement(d,N2.HTML),d.ackSelfClosing=!0;else if(G===L.TEMPLATE)Q8(I,d);else na(I,d)}function Z69(I,d){let G=d.tagName;if(G===L.COLGROUP){if(I.openElements.currentTagName===L.COLGROUP)I.openElements.pop(),I.insertionMode="IN_TABLE_MODE"}else if(G===L.TEMPLATE)aJ(I,d);else if(G!==L.COL)na(I,d)}function na(I,d){if(I.openElements.currentTagName===L.COLGROUP)I.openElements.pop(),I.insertionMode="IN_TABLE_MODE",I._processToken(d)}function C69(I,d){let G=d.tagName;if(G===L.TR)I.openElements.clearBackToTableBodyContext(),I._insertElement(d,N2.HTML),I.insertionMode="IN_ROW_MODE";else if(G===L.TH||G===L.TD)I.openElements.clearBackToTableBodyContext(),I._insertFakeElement(L.TR),I.insertionMode="IN_ROW_MODE",I._processToken(d);else if(G===L.CAPTION||G===L.COL||G===L.COLGROUP||G===L.TBODY||G===L.TFOOT||G===L.THEAD){if(I.openElements.hasTableBodyContextInTableScope())I.openElements.clearBackToTableBodyContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_MODE",I._processToken(d)}else Ng1(I,d)}function W69(I,d){let G=d.tagName;if(G===L.TBODY||G===L.TFOOT||G===L.THEAD){if(I.openElements.hasInTableScope(G))I.openElements.clearBackToTableBodyContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_MODE"}else if(G===L.TABLE){if(I.openElements.hasTableBodyContextInTableScope())I.openElements.clearBackToTableBodyContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_MODE",I._processToken(d)}else if(G!==L.BODY&&G!==L.CAPTION&&G!==L.COL&&G!==L.COLGROUP||G!==L.HTML&&G!==L.TD&&G!==L.TH&&G!==L.TR)zg1(I,d)}function w69(I,d){let G=d.tagName;if(G===L.TH||G===L.TD)I.openElements.clearBackToTableRowContext(),I._insertElement(d,N2.HTML),I.insertionMode="IN_CELL_MODE",I.activeFormattingElements.insertMarker();else if(G===L.CAPTION||G===L.COL||G===L.COLGROUP||G===L.TBODY||G===L.TFOOT||G===L.THEAD||G===L.TR){if(I.openElements.hasInTableScope(L.TR))I.openElements.clearBackToTableRowContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_BODY_MODE",I._processToken(d)}else Ng1(I,d)}function B69(I,d){let G=d.tagName;if(G===L.TR){if(I.openElements.hasInTableScope(L.TR))I.openElements.clearBackToTableRowContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_BODY_MODE"}else if(G===L.TABLE){if(I.openElements.hasInTableScope(L.TR))I.openElements.clearBackToTableRowContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_BODY_MODE",I._processToken(d)}else if(G===L.TBODY||G===L.TFOOT||G===L.THEAD){if(I.openElements.hasInTableScope(G)||I.openElements.hasInTableScope(L.TR))I.openElements.clearBackToTableRowContext(),I.openElements.pop(),I.insertionMode="IN_TABLE_BODY_MODE",I._processToken(d)}else if(G!==L.BODY&&G!==L.CAPTION&&G!==L.COL&&G!==L.COLGROUP||G!==L.HTML&&G!==L.TD&&G!==L.TH)zg1(I,d)}function A69(I,d){let G=d.tagName;if(G===L.CAPTION||G===L.COL||G===L.COLGROUP||G===L.TBODY||G===L.TD||G===L.TFOOT||G===L.TH||G===L.THEAD||G===L.TR){if(I.openElements.hasInTableScope(L.TD)||I.openElements.hasInTableScope(L.TH))I._closeTableCell(),I._processToken(d)}else Dd(I,d)}function V69(I,d){let G=d.tagName;if(G===L.TD||G===L.TH){if(I.openElements.hasInTableScope(G))I.openElements.generateImpliedEndTags(),I.openElements.popUntilTagNamePopped(G),I.activeFormattingElements.clearToLastMarker(),I.insertionMode="IN_ROW_MODE"}else if(G===L.TABLE||G===L.TBODY||G===L.TFOOT||G===L.THEAD||G===L.TR){if(I.openElements.hasInTableScope(G))I._closeTableCell(),I._processToken(d)}else if(G!==L.BODY&&G!==L.CAPTION&&G!==L.COL&&G!==L.COLGROUP&&G!==L.HTML)Kg1(I,d)}function BF2(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.OPTION){if(I.openElements.currentTagName===L.OPTION)I.openElements.pop();I._insertElement(d,N2.HTML)}else if(G===L.OPTGROUP){if(I.openElements.currentTagName===L.OPTION)I.openElements.pop();if(I.openElements.currentTagName===L.OPTGROUP)I.openElements.pop();I._insertElement(d,N2.HTML)}else if(G===L.INPUT||G===L.KEYGEN||G===L.TEXTAREA||G===L.SELECT){if(I.openElements.hasInSelectScope(L.SELECT)){if(I.openElements.popUntilTagNamePopped(L.SELECT),I._resetInsertionMode(),G!==L.SELECT)I._processToken(d)}}else if(G===L.SCRIPT||G===L.TEMPLATE)Q8(I,d)}function AF2(I,d){let G=d.tagName;if(G===L.OPTGROUP){let Z=I.openElements.items[I.openElements.stackTop-1],C=Z&&I.treeAdapter.getTagName(Z);if(I.openElements.currentTagName===L.OPTION&&C===L.OPTGROUP)I.openElements.pop();if(I.openElements.currentTagName===L.OPTGROUP)I.openElements.pop()}else if(G===L.OPTION){if(I.openElements.currentTagName===L.OPTION)I.openElements.pop()}else if(G===L.SELECT&&I.openElements.hasInSelectScope(L.SELECT))I.openElements.popUntilTagNamePopped(L.SELECT),I._resetInsertionMode();else if(G===L.TEMPLATE)aJ(I,d)}function X69(I,d){let G=d.tagName;if(G===L.CAPTION||G===L.TABLE||G===L.TBODY||G===L.TFOOT||G===L.THEAD||G===L.TR||G===L.TD||G===L.TH)I.openElements.popUntilTagNamePopped(L.SELECT),I._resetInsertionMode(),I._processToken(d);else BF2(I,d)}function Y69(I,d){let G=d.tagName;if(G===L.CAPTION||G===L.TABLE||G===L.TBODY||G===L.TFOOT||G===L.THEAD||G===L.TR||G===L.TD||G===L.TH){if(I.openElements.hasInTableScope(G))I.openElements.popUntilTagNamePopped(L.SELECT),I._resetInsertionMode(),I._processToken(d)}else AF2(I,d)}function _69(I,d){let G=d.tagName;if(G===L.BASE||G===L.BASEFONT||G===L.BGSOUND||G===L.LINK||G===L.META||G===L.NOFRAMES||G===L.SCRIPT||G===L.STYLE||G===L.TEMPLATE||G===L.TITLE)Q8(I,d);else{let Z=a99[G]||"IN_BODY_MODE";I._popTmplInsertionMode(),I._pushTmplInsertionMode(Z),I.insertionMode=Z,I._processToken(d)}}function D69(I,d){if(d.tagName===L.TEMPLATE)aJ(I,d)}function VF2(I,d){if(I.openElements.tmplCount>0)I.openElements.popUntilTagNamePopped(L.TEMPLATE),I.activeFormattingElements.clearToLastMarker(),I._popTmplInsertionMode(),I._resetInsertionMode(),I._processToken(d);else I.stopped=!0}function H69(I,d){if(d.tagName===L.HTML)Dd(I,d);else ra(I,d)}function F69(I,d){if(d.tagName===L.HTML){if(!I.fragmentContext)I.insertionMode="AFTER_AFTER_BODY_MODE"}else ra(I,d)}function ra(I,d){I.insertionMode="IN_BODY_MODE",I._processToken(d)}function g69(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.FRAMESET)I._insertElement(d,N2.HTML);else if(G===L.FRAME)I._appendElement(d,N2.HTML),d.ackSelfClosing=!0;else if(G===L.NOFRAMES)Q8(I,d)}function J69(I,d){if(d.tagName===L.FRAMESET&&!I.openElements.isRootHtmlElementCurrent()){if(I.openElements.pop(),!I.fragmentContext&&I.openElements.currentTagName!==L.FRAMESET)I.insertionMode="AFTER_FRAMESET_MODE"}}function K69(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.NOFRAMES)Q8(I,d)}function N69(I,d){if(d.tagName===L.HTML)I.insertionMode="AFTER_AFTER_FRAMESET_MODE"}function z69(I,d){if(d.tagName===L.HTML)Dd(I,d);else ia(I,d)}function ia(I,d){I.insertionMode="IN_BODY_MODE",I._processToken(d)}function Q69(I,d){let G=d.tagName;if(G===L.HTML)Dd(I,d);else if(G===L.NOFRAMES)Q8(I,d)}function f69(I,d){d.chars=i99.REPLACEMENT_CHARACTER,I._insertCharacters(d)}function q69(I,d){I._insertCharacters(d),I.framesetOk=!1}function R69(I,d){if(LB.causesExit(d)&&!I.fragmentContext){while(I.treeAdapter.getNamespaceURI(I.openElements.current)!==N2.HTML&&!I._isIntegrationPoint(I.openElements.current))I.openElements.pop();I._processToken(d)}else{let G=I._getAdjustedCurrentElement(),Z=I.treeAdapter.getNamespaceURI(G);if(Z===N2.MATHML)LB.adjustTokenMathMLAttrs(d);else if(Z===N2.SVG)LB.adjustTokenSVGTagName(d),LB.adjustTokenSVGAttrs(d);if(LB.adjustTokenXMLAttrs(d),d.selfClosing)I._appendElement(d,Z);else I._insertElement(d,Z);d.ackSelfClosing=!0}}function U69(I,d){for(let G=I.openElements.stackTop;G>0;G--){let Z=I.openElements.items[G];if(I.treeAdapter.getNamespaceURI(Z)===N2.HTML){I._processToken(d);break}if(I.treeAdapter.getTagName(Z).toLowerCase()===d.tagName){I.openElements.popUntilElementPopped(Z);break}}}});var HF2=Y((SJ3,DF2)=>{var v69=_g1(),E69=Dg1(),M69=Hg1(),_F2=WH(),v9=_F2.TAG_NAMES,aa=_F2.NAMESPACES,S69={treeAdapter:v69},L69=/&/g,y69=/\u00a0/g,P69=/"/g,$69=/</g,u69=/>/g;class O${constructor(I,d){this.options=E69(S69,d),this.treeAdapter=this.options.treeAdapter,this.html="",this.startNode=I}serialize(){return this._serializeChildNodes(this.startNode),this.html}_serializeChildNodes(I){let d=this.treeAdapter.getChildNodes(I);if(d)for(let G=0,Z=d.length;G<Z;G++){let C=d[G];if(this.treeAdapter.isElementNode(C))this._serializeElement(C);else if(this.treeAdapter.isTextNode(C))this._serializeTextNode(C);else if(this.treeAdapter.isCommentNode(C))this._serializeCommentNode(C);else if(this.treeAdapter.isDocumentTypeNode(C))this._serializeDocumentTypeNode(C)}}_serializeElement(I){let d=this.treeAdapter.getTagName(I),G=this.treeAdapter.getNamespaceURI(I);if(this.html+="<"+d,this._serializeAttributes(I),this.html+=">",d!==v9.AREA&&d!==v9.BASE&&d!==v9.BASEFONT&&d!==v9.BGSOUND&&d!==v9.BR&&d!==v9.COL&&d!==v9.EMBED&&d!==v9.FRAME&&d!==v9.HR&&d!==v9.IMG&&d!==v9.INPUT&&d!==v9.KEYGEN&&d!==v9.LINK&&d!==v9.META&&d!==v9.PARAM&&d!==v9.SOURCE&&d!==v9.TRACK&&d!==v9.WBR){let Z=d===v9.TEMPLATE&&G===aa.HTML?this.treeAdapter.getTemplateContent(I):I;this._serializeChildNodes(Z),this.html+="</"+d+">"}}_serializeAttributes(I){let d=this.treeAdapter.getAttrList(I);for(let G=0,Z=d.length;G<Z;G++){let C=d[G],W=O$.escapeString(C.value,!0);if(this.html+=" ",!C.namespace)this.html+=C.name;else if(C.namespace===aa.XML)this.html+="xml:"+C.name;else if(C.namespace===aa.XMLNS){if(C.name!=="xmlns")this.html+="xmlns:";this.html+=C.name}else if(C.namespace===aa.XLINK)this.html+="xlink:"+C.name;else this.html+=C.prefix+":"+C.name;this.html+='="'+W+'"'}}_serializeTextNode(I){let d=this.treeAdapter.getTextNodeContent(I),G=this.treeAdapter.getParentNode(I),Z=void 0;if(G&&this.treeAdapter.isElementNode(G))Z=this.treeAdapter.getTagName(G);if(Z===v9.STYLE||Z===v9.SCRIPT||Z===v9.XMP||Z===v9.IFRAME||Z===v9.NOEMBED||Z===v9.NOFRAMES||Z===v9.PLAINTEXT||Z===v9.NOSCRIPT)this.html+=d;else this.html+=O$.escapeString(d,!1)}_serializeCommentNode(I){this.html+="<!--"+this.treeAdapter.getCommentNodeContent(I)+"-->"}_serializeDocumentTypeNode(I){let d=this.treeAdapter.getDocumentTypeNodeName(I);this.html+="<"+M69.serializeContent(d,null,null)+">"}}O$.escapeString=function(I,d){if(I=I.replace(L69,"&amp;").replace(y69,"&nbsp;"),d)I=I.replace(P69,"&quot;");else I=I.replace($69,"&lt;").replace(u69,"&gt;");return I};DF2.exports=O$});var gF2=Y((O69)=>{var FF2=YF2(),T69=HF2();O69.parse=function I(d,G){return new FF2(G).parse(d)};O69.parseFragment=function I(d,G,Z){if(typeof d==="string")Z=G,G=d,d=null;return new FF2(Z).parseFragment(G,d)};O69.serialize=function(I,d){return new T69(I,d).serialize()}});var fg1=Y((h69)=>{var Qg1=h69.NAMESPACES={HTML:"http://www.w3.org/1999/xhtml",MATHML:"http://www.w3.org/1998/Math/MathML",SVG:"http://www.w3.org/2000/svg",XLINK:"http://www.w3.org/1999/xlink",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"};h69.ATTRS={TYPE:"type",ACTION:"action",ENCODING:"encoding",PROMPT:"prompt",NAME:"name",COLOR:"color",FACE:"face",SIZE:"size"};h69.DOCUMENT_MODE={NO_QUIRKS:"no-quirks",QUIRKS:"quirks",LIMITED_QUIRKS:"limited-quirks"};var b0=h69.TAG_NAMES={A:"a",ADDRESS:"address",ANNOTATION_XML:"annotation-xml",APPLET:"applet",AREA:"area",ARTICLE:"article",ASIDE:"aside",B:"b",BASE:"base",BASEFONT:"basefont",BGSOUND:"bgsound",BIG:"big",BLOCKQUOTE:"blockquote",BODY:"body",BR:"br",BUTTON:"button",CAPTION:"caption",CENTER:"center",CODE:"code",COL:"col",COLGROUP:"colgroup",DD:"dd",DESC:"desc",DETAILS:"details",DIALOG:"dialog",DIR:"dir",DIV:"div",DL:"dl",DT:"dt",EM:"em",EMBED:"embed",FIELDSET:"fieldset",FIGCAPTION:"figcaption",FIGURE:"figure",FONT:"font",FOOTER:"footer",FOREIGN_OBJECT:"foreignObject",FORM:"form",FRAME:"frame",FRAMESET:"frameset",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",HEAD:"head",HEADER:"header",HGROUP:"hgroup",HR:"hr",HTML:"html",I:"i",IMG:"img",IMAGE:"image",INPUT:"input",IFRAME:"iframe",KEYGEN:"keygen",LABEL:"label",LI:"li",LINK:"link",LISTING:"listing",MAIN:"main",MALIGNMARK:"malignmark",MARQUEE:"marquee",MATH:"math",MENU:"menu",META:"meta",MGLYPH:"mglyph",MI:"mi",MO:"mo",MN:"mn",MS:"ms",MTEXT:"mtext",NAV:"nav",NOBR:"nobr",NOFRAMES:"noframes",NOEMBED:"noembed",NOSCRIPT:"noscript",OBJECT:"object",OL:"ol",OPTGROUP:"optgroup",OPTION:"option",P:"p",PARAM:"param",PLAINTEXT:"plaintext",PRE:"pre",RB:"rb",RP:"rp",RT:"rt",RTC:"rtc",RUBY:"ruby",S:"s",SCRIPT:"script",SECTION:"section",SELECT:"select",SOURCE:"source",SMALL:"small",SPAN:"span",STRIKE:"strike",STRONG:"strong",STYLE:"style",SUB:"sub",SUMMARY:"summary",SUP:"sup",TABLE:"table",TBODY:"tbody",TEMPLATE:"template",TEXTAREA:"textarea",TFOOT:"tfoot",TD:"td",TH:"th",THEAD:"thead",TITLE:"title",TR:"tr",TRACK:"track",TT:"tt",U:"u",UL:"ul",SVG:"svg",VAR:"var",WBR:"wbr",XMP:"xmp"};h69.SPECIAL_ELEMENTS={[Qg1.HTML]:{[b0.ADDRESS]:!0,[b0.APPLET]:!0,[b0.AREA]:!0,[b0.ARTICLE]:!0,[b0.ASIDE]:!0,[b0.BASE]:!0,[b0.BASEFONT]:!0,[b0.BGSOUND]:!0,[b0.BLOCKQUOTE]:!0,[b0.BODY]:!0,[b0.BR]:!0,[b0.BUTTON]:!0,[b0.CAPTION]:!0,[b0.CENTER]:!0,[b0.COL]:!0,[b0.COLGROUP]:!0,[b0.DD]:!0,[b0.DETAILS]:!0,[b0.DIR]:!0,[b0.DIV]:!0,[b0.DL]:!0,[b0.DT]:!0,[b0.EMBED]:!0,[b0.FIELDSET]:!0,[b0.FIGCAPTION]:!0,[b0.FIGURE]:!0,[b0.FOOTER]:!0,[b0.FORM]:!0,[b0.FRAME]:!0,[b0.FRAMESET]:!0,[b0.H1]:!0,[b0.H2]:!0,[b0.H3]:!0,[b0.H4]:!0,[b0.H5]:!0,[b0.H6]:!0,[b0.HEAD]:!0,[b0.HEADER]:!0,[b0.HGROUP]:!0,[b0.HR]:!0,[b0.HTML]:!0,[b0.IFRAME]:!0,[b0.IMG]:!0,[b0.INPUT]:!0,[b0.LI]:!0,[b0.LINK]:!0,[b0.LISTING]:!0,[b0.MAIN]:!0,[b0.MARQUEE]:!0,[b0.MENU]:!0,[b0.META]:!0,[b0.NAV]:!0,[b0.NOEMBED]:!0,[b0.NOFRAMES]:!0,[b0.NOSCRIPT]:!0,[b0.OBJECT]:!0,[b0.OL]:!0,[b0.P]:!0,[b0.PARAM]:!0,[b0.PLAINTEXT]:!0,[b0.PRE]:!0,[b0.SCRIPT]:!0,[b0.SECTION]:!0,[b0.SELECT]:!0,[b0.SOURCE]:!0,[b0.STYLE]:!0,[b0.SUMMARY]:!0,[b0.TABLE]:!0,[b0.TBODY]:!0,[b0.TD]:!0,[b0.TEMPLATE]:!0,[b0.TEXTAREA]:!0,[b0.TFOOT]:!0,[b0.TH]:!0,[b0.THEAD]:!0,[b0.TITLE]:!0,[b0.TR]:!0,[b0.TRACK]:!0,[b0.UL]:!0,[b0.WBR]:!0,[b0.XMP]:!0},[Qg1.MATHML]:{[b0.MI]:!0,[b0.MO]:!0,[b0.MN]:!0,[b0.MS]:!0,[b0.MTEXT]:!0,[b0.ANNOTATION_XML]:!0},[Qg1.SVG]:{[b0.TITLE]:!0,[b0.FOREIGN_OBJECT]:!0,[b0.DESC]:!0}}});var QF2=Y((n69)=>{var{DOCUMENT_MODE:LR}=fg1(),NF2=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],c69=NF2.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]),p69=["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"],zF2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],i69=zF2.concat(["-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]);function JF2(I){let d=I.indexOf('"')!==-1?"'":'"';return d+I+d}function KF2(I,d){for(let G=0;G<d.length;G++)if(I.indexOf(d[G])===0)return!0;return!1}n69.isConforming=function(I){return I.name==="html"&&I.publicId===null&&(I.systemId===null||I.systemId==="about:legacy-compat")};n69.getDocumentMode=function(I){if(I.name!=="html")return LR.QUIRKS;let d=I.systemId;if(d&&d.toLowerCase()==="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd")return LR.QUIRKS;let G=I.publicId;if(G!==null){if(G=G.toLowerCase(),p69.indexOf(G)>-1)return LR.QUIRKS;let Z=d===null?c69:NF2;if(KF2(G,Z))return LR.QUIRKS;if(Z=d===null?zF2:i69,KF2(G,Z))return LR.LIMITED_QUIRKS}return LR.NO_QUIRKS};n69.serializeContent=function(I,d,G){let Z="!DOCTYPE ";if(I)Z+=I;if(d)Z+=" PUBLIC "+JF2(d);else if(G)Z+=" SYSTEM";if(G!==null)Z+=" "+JF2(G);return Z}});var UF2=Y((I89)=>{var o69=QF2(),{DOCUMENT_MODE:e69}=fg1(),fF2={element:1,text:3,cdata:4,comment:8},qF2={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"};class AH{constructor(I){for(let d of Object.keys(I))this[d]=I[d]}get firstChild(){let I=this.children;return I&&I[0]||null}get lastChild(){let I=this.children;return I&&I[I.length-1]||null}get nodeType(){return fF2[this.type]||fF2.element}}Object.keys(qF2).forEach((I)=>{let d=qF2[I];Object.defineProperty(AH.prototype,I,{get:function(){return this[d]||null},set:function(G){return this[d]=G,G}})});I89.createDocument=function(){return new AH({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":e69.NO_QUIRKS})};I89.createDocumentFragment=function(){return new AH({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})};I89.createElement=function(I,d,G){let Z=Object.create(null),C=Object.create(null),W=Object.create(null);for(let w=0;w<G.length;w++){let B=G[w].name;Z[B]=G[w].value,C[B]=G[w].namespace,W[B]=G[w].prefix}return new AH({type:I==="script"||I==="style"?I:"tag",name:I,namespace:d,attribs:Z,"x-attribsNamespace":C,"x-attribsPrefix":W,children:[],parent:null,prev:null,next:null})};I89.createCommentNode=function(I){return new AH({type:"comment",data:I,parent:null,prev:null,next:null})};var RF2=function(I){return new AH({type:"text",data:I,parent:null,prev:null,next:null})},qg1=I89.appendChild=function(I,d){let G=I.children[I.children.length-1];if(G)G.next=d,d.prev=G;I.children.push(d),d.parent=I},t69=I89.insertBefore=function(I,d,G){let Z=I.children.indexOf(G),C=G.prev;if(C)C.next=d,d.prev=C;G.prev=d,d.next=G,I.children.splice(Z,0,d),d.parent=I};I89.setTemplateContent=function(I,d){qg1(I,d)};I89.getTemplateContent=function(I){return I.children[0]};I89.setDocumentType=function(I,d,G,Z){let C=o69.serializeContent(d,G,Z),W=null;for(let w=0;w<I.children.length;w++)if(I.children[w].type==="directive"&&I.children[w].name==="!doctype"){W=I.children[w];break}if(W)W.data=C,W["x-name"]=d,W["x-publicId"]=G,W["x-systemId"]=Z;else qg1(I,new AH({type:"directive",name:"!doctype",data:C,"x-name":d,"x-publicId":G,"x-systemId":Z}))};I89.setDocumentMode=function(I,d){I["x-mode"]=d};I89.getDocumentMode=function(I){return I["x-mode"]};I89.detachNode=function(I){if(I.parent){let d=I.parent.children.indexOf(I),G=I.prev,Z=I.next;if(I.prev=null,I.next=null,G)G.next=Z;if(Z)Z.prev=G;I.parent.children.splice(d,1),I.parent=null}};I89.insertText=function(I,d){let G=I.children[I.children.length-1];if(G&&G.type==="text")G.data+=d;else qg1(I,RF2(d))};I89.insertTextBefore=function(I,d,G){let Z=I.children[I.children.indexOf(G)-1];if(Z&&Z.type==="text")Z.data+=d;else t69(I,RF2(d),G)};I89.adoptAttributes=function(I,d){for(let G=0;G<d.length;G++){let Z=d[G].name;if(typeof I.attribs[Z]==="undefined")I.attribs[Z]=d[G].value,I["x-attribsNamespace"][Z]=d[G].namespace,I["x-attribsPrefix"][Z]=d[G].prefix}};I89.getFirstChild=function(I){return I.children[0]};I89.getChildNodes=function(I){return I.children};I89.getParentNode=function(I){return I.parent};I89.getAttrList=function(I){let d=[];for(let G in I.attribs)d.push({name:G,value:I.attribs[G],namespace:I["x-attribsNamespace"][G],prefix:I["x-attribsPrefix"][G]});return d};I89.getTagName=function(I){return I.name};I89.getNamespaceURI=function(I){return I.namespace};I89.getTextNodeContent=function(I){return I.data};I89.getCommentNodeContent=function(I){return I.data};I89.getDocumentTypeNodeName=function(I){return I["x-name"]};I89.getDocumentTypeNodePublicId=function(I){return I["x-publicId"]};I89.getDocumentTypeNodeSystemId=function(I){return I["x-systemId"]};I89.isTextNode=function(I){return I.type==="text"};I89.isCommentNode=function(I){return I.type==="comment"};I89.isDocumentTypeNode=function(I){return I.type==="directive"&&I.name==="!doctype"};I89.isElementNode=function(I){return!!I.attribs};I89.setNodeSourceCodeLocation=function(I,d){I.sourceCodeLocation=d};I89.getNodeSourceCodeLocation=function(I){return I.sourceCodeLocation};I89.updateNodeSourceCodeLocation=function(I,d){I.sourceCodeLocation=Object.assign(I.sourceCodeLocation,d)}});var Rg1=Y((lJ3,vF2)=>{vF2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var Ug1=Y((bJ3,MF2)=>{var m$=Rg1(),EF2={};for(let I of Object.keys(m$))EF2[m$[I]]=I;var v2={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};MF2.exports=v2;for(let I of Object.keys(v2)){if(!("channels"in v2[I]))throw new Error("missing channels property: "+I);if(!("labels"in v2[I]))throw new Error("missing channel labels property: "+I);if(v2[I].labels.length!==v2[I].channels)throw new Error("channel and label counts mismatch: "+I);let{channels:d,labels:G}=v2[I];delete v2[I].channels,delete v2[I].labels,Object.defineProperty(v2[I],"channels",{value:d}),Object.defineProperty(v2[I],"labels",{value:G})}v2.rgb.hsl=function(I){let d=I[0]/255,G=I[1]/255,Z=I[2]/255,C=Math.min(d,G,Z),W=Math.max(d,G,Z),w=W-C,B,A;if(W===C)B=0;else if(d===W)B=(G-Z)/w;else if(G===W)B=2+(Z-d)/w;else if(Z===W)B=4+(d-G)/w;if(B=Math.min(B*60,360),B<0)B+=360;let V=(C+W)/2;if(W===C)A=0;else if(V<=0.5)A=w/(W+C);else A=w/(2-W-C);return[B,A*100,V*100]};v2.rgb.hsv=function(I){let d,G,Z,C,W,w=I[0]/255,B=I[1]/255,A=I[2]/255,V=Math.max(w,B,A),X=V-Math.min(w,B,A),_=function(F){return(V-F)/6/X+0.5};if(X===0)C=0,W=0;else{if(W=X/V,d=_(w),G=_(B),Z=_(A),w===V)C=Z-G;else if(B===V)C=0.3333333333333333+d-Z;else if(A===V)C=0.6666666666666666+G-d;if(C<0)C+=1;else if(C>1)C-=1}return[C*360,W*100,V*100]};v2.rgb.hwb=function(I){let d=I[0],G=I[1],Z=I[2],C=v2.rgb.hsl(I)[0],W=0.00392156862745098*Math.min(d,Math.min(G,Z));return Z=1-0.00392156862745098*Math.max(d,Math.max(G,Z)),[C,W*100,Z*100]};v2.rgb.cmyk=function(I){let d=I[0]/255,G=I[1]/255,Z=I[2]/255,C=Math.min(1-d,1-G,1-Z),W=(1-d-C)/(1-C)||0,w=(1-G-C)/(1-C)||0,B=(1-Z-C)/(1-C)||0;return[W*100,w*100,B*100,C*100]};function P89(I,d){return(I[0]-d[0])**2+(I[1]-d[1])**2+(I[2]-d[2])**2}v2.rgb.keyword=function(I){let d=EF2[I];if(d)return d;let G=1/0,Z;for(let C of Object.keys(m$)){let W=m$[C],w=P89(I,W);if(w<G)G=w,Z=C}return Z};v2.keyword.rgb=function(I){return m$[I]};v2.rgb.xyz=function(I){let d=I[0]/255,G=I[1]/255,Z=I[2]/255;d=d>0.04045?((d+0.055)/1.055)**2.4:d/12.92,G=G>0.04045?((G+0.055)/1.055)**2.4:G/12.92,Z=Z>0.04045?((Z+0.055)/1.055)**2.4:Z/12.92;let C=d*0.4124+G*0.3576+Z*0.1805,W=d*0.2126+G*0.7152+Z*0.0722,w=d*0.0193+G*0.1192+Z*0.9505;return[C*100,W*100,w*100]};v2.rgb.lab=function(I){let d=v2.rgb.xyz(I),G=d[0],Z=d[1],C=d[2];G/=95.047,Z/=100,C/=108.883,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,Z=Z>0.008856?Z**0.3333333333333333:7.787*Z+0.13793103448275862,C=C>0.008856?C**0.3333333333333333:7.787*C+0.13793103448275862;let W=116*Z-16,w=500*(G-Z),B=200*(Z-C);return[W,w,B]};v2.hsl.rgb=function(I){let d=I[0]/360,G=I[1]/100,Z=I[2]/100,C,W,w;if(G===0)return w=Z*255,[w,w,w];if(Z<0.5)C=Z*(1+G);else C=Z+G-Z*G;let B=2*Z-C,A=[0,0,0];for(let V=0;V<3;V++){if(W=d+0.3333333333333333*-(V-1),W<0)W++;if(W>1)W--;if(6*W<1)w=B+(C-B)*6*W;else if(2*W<1)w=C;else if(3*W<2)w=B+(C-B)*(0.6666666666666666-W)*6;else w=B;A[V]=w*255}return A};v2.hsl.hsv=function(I){let d=I[0],G=I[1]/100,Z=I[2]/100,C=G,W=Math.max(Z,0.01);Z*=2,G*=Z<=1?Z:2-Z,C*=W<=1?W:2-W;let w=(Z+G)/2,B=Z===0?2*C/(W+C):2*G/(Z+G);return[d,B*100,w*100]};v2.hsv.rgb=function(I){let d=I[0]/60,G=I[1]/100,Z=I[2]/100,C=Math.floor(d)%6,W=d-Math.floor(d),w=255*Z*(1-G),B=255*Z*(1-G*W),A=255*Z*(1-G*(1-W));switch(Z*=255,C){case 0:return[Z,A,w];case 1:return[B,Z,w];case 2:return[w,Z,A];case 3:return[w,B,Z];case 4:return[A,w,Z];case 5:return[Z,w,B]}};v2.hsv.hsl=function(I){let d=I[0],G=I[1]/100,Z=I[2]/100,C=Math.max(Z,0.01),W,w;w=(2-G)*Z;let B=(2-G)*C;return W=G*C,W/=B<=1?B:2-B,W=W||0,w/=2,[d,W*100,w*100]};v2.hwb.rgb=function(I){let d=I[0]/360,G=I[1]/100,Z=I[2]/100,C=G+Z,W;if(C>1)G/=C,Z/=C;let w=Math.floor(6*d),B=1-Z;if(W=6*d-w,(w&1)!==0)W=1-W;let A=G+W*(B-G),V,X,_;switch(w){default:case 6:case 0:V=B,X=A,_=G;break;case 1:V=A,X=B,_=G;break;case 2:V=G,X=B,_=A;break;case 3:V=G,X=A,_=B;break;case 4:V=A,X=G,_=B;break;case 5:V=B,X=G,_=A;break}return[V*255,X*255,_*255]};v2.cmyk.rgb=function(I){let d=I[0]/100,G=I[1]/100,Z=I[2]/100,C=I[3]/100,W=1-Math.min(1,d*(1-C)+C),w=1-Math.min(1,G*(1-C)+C),B=1-Math.min(1,Z*(1-C)+C);return[W*255,w*255,B*255]};v2.xyz.rgb=function(I){let d=I[0]/100,G=I[1]/100,Z=I[2]/100,C,W,w;return C=d*3.2406+G*-1.5372+Z*-0.4986,W=d*-0.9689+G*1.8758+Z*0.0415,w=d*0.0557+G*-0.204+Z*1.057,C=C>0.0031308?1.055*C**0.4166666666666667-0.055:C*12.92,W=W>0.0031308?1.055*W**0.4166666666666667-0.055:W*12.92,w=w>0.0031308?1.055*w**0.4166666666666667-0.055:w*12.92,C=Math.min(Math.max(0,C),1),W=Math.min(Math.max(0,W),1),w=Math.min(Math.max(0,w),1),[C*255,W*255,w*255]};v2.xyz.lab=function(I){let d=I[0],G=I[1],Z=I[2];d/=95.047,G/=100,Z/=108.883,d=d>0.008856?d**0.3333333333333333:7.787*d+0.13793103448275862,G=G>0.008856?G**0.3333333333333333:7.787*G+0.13793103448275862,Z=Z>0.008856?Z**0.3333333333333333:7.787*Z+0.13793103448275862;let C=116*G-16,W=500*(d-G),w=200*(G-Z);return[C,W,w]};v2.lab.xyz=function(I){let d=I[0],G=I[1],Z=I[2],C,W,w;W=(d+16)/116,C=G/500+W,w=W-Z/200;let B=W**3,A=C**3,V=w**3;return W=B>0.008856?B:(W-0.13793103448275862)/7.787,C=A>0.008856?A:(C-0.13793103448275862)/7.787,w=V>0.008856?V:(w-0.13793103448275862)/7.787,C*=95.047,W*=100,w*=108.883,[C,W,w]};v2.lab.lch=function(I){let d=I[0],G=I[1],Z=I[2],C;if(C=Math.atan2(Z,G)*360/2/Math.PI,C<0)C+=360;let w=Math.sqrt(G*G+Z*Z);return[d,w,C]};v2.lch.lab=function(I){let d=I[0],G=I[1],C=I[2]/360*2*Math.PI,W=G*Math.cos(C),w=G*Math.sin(C);return[d,W,w]};v2.rgb.ansi16=function(I,d=null){let[G,Z,C]=I,W=d===null?v2.rgb.hsv(I)[2]:d;if(W=Math.round(W/50),W===0)return 30;let w=30+(Math.round(C/255)<<2|Math.round(Z/255)<<1|Math.round(G/255));if(W===2)w+=60;return w};v2.hsv.ansi16=function(I){return v2.rgb.ansi16(v2.hsv.rgb(I),I[2])};v2.rgb.ansi256=function(I){let d=I[0],G=I[1],Z=I[2];if(d===G&&G===Z){if(d<8)return 16;if(d>248)return 231;return Math.round((d-8)/247*24)+232}return 16+36*Math.round(d/255*5)+6*Math.round(G/255*5)+Math.round(Z/255*5)};v2.ansi16.rgb=function(I){let d=I%10;if(d===0||d===7){if(I>50)d+=3.5;return d=d/10.5*255,[d,d,d]}let G=(~~(I>50)+1)*0.5,Z=(d&1)*G*255,C=(d>>1&1)*G*255,W=(d>>2&1)*G*255;return[Z,C,W]};v2.ansi256.rgb=function(I){if(I>=232){let W=(I-232)*10+8;return[W,W,W]}I-=16;let d,G=Math.floor(I/36)/5*255,Z=Math.floor((d=I%36)/6)/5*255,C=d%6/5*255;return[G,Z,C]};v2.rgb.hex=function(I){let G=(((Math.round(I[0])&255)<<16)+((Math.round(I[1])&255)<<8)+(Math.round(I[2])&255)).toString(16).toUpperCase();return"000000".substring(G.length)+G};v2.hex.rgb=function(I){let d=I.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!d)return[0,0,0];let G=d[0];if(d[0].length===3)G=G.split("").map((B)=>{return B+B}).join("");let Z=parseInt(G,16),C=Z>>16&255,W=Z>>8&255,w=Z&255;return[C,W,w]};v2.rgb.hcg=function(I){let d=I[0]/255,G=I[1]/255,Z=I[2]/255,C=Math.max(Math.max(d,G),Z),W=Math.min(Math.min(d,G),Z),w=C-W,B,A;if(w<1)B=W/(1-w);else B=0;if(w<=0)A=0;else if(C===d)A=(G-Z)/w%6;else if(C===G)A=2+(Z-d)/w;else A=4+(d-G)/w;return A/=6,A%=1,[A*360,w*100,B*100]};v2.hsl.hcg=function(I){let d=I[1]/100,G=I[2]/100,Z=G<0.5?2*d*G:2*d*(1-G),C=0;if(Z<1)C=(G-0.5*Z)/(1-Z);return[I[0],Z*100,C*100]};v2.hsv.hcg=function(I){let d=I[1]/100,G=I[2]/100,Z=d*G,C=0;if(Z<1)C=(G-Z)/(1-Z);return[I[0],Z*100,C*100]};v2.hcg.rgb=function(I){let d=I[0]/360,G=I[1]/100,Z=I[2]/100;if(G===0)return[Z*255,Z*255,Z*255];let C=[0,0,0],W=d%1*6,w=W%1,B=1-w,A=0;switch(Math.floor(W)){case 0:C[0]=1,C[1]=w,C[2]=0;break;case 1:C[0]=B,C[1]=1,C[2]=0;break;case 2:C[0]=0,C[1]=1,C[2]=w;break;case 3:C[0]=0,C[1]=B,C[2]=1;break;case 4:C[0]=w,C[1]=0,C[2]=1;break;default:C[0]=1,C[1]=0,C[2]=B}return A=(1-G)*Z,[(G*C[0]+A)*255,(G*C[1]+A)*255,(G*C[2]+A)*255]};v2.hcg.hsv=function(I){let d=I[1]/100,G=I[2]/100,Z=d+G*(1-d),C=0;if(Z>0)C=d/Z;return[I[0],C*100,Z*100]};v2.hcg.hsl=function(I){let d=I[1]/100,Z=I[2]/100*(1-d)+0.5*d,C=0;if(Z>0&&Z<0.5)C=d/(2*Z);else if(Z>=0.5&&Z<1)C=d/(2*(1-Z));return[I[0],C*100,Z*100]};v2.hcg.hwb=function(I){let d=I[1]/100,G=I[2]/100,Z=d+G*(1-d);return[I[0],(Z-d)*100,(1-Z)*100]};v2.hwb.hcg=function(I){let d=I[1]/100,Z=1-I[2]/100,C=Z-d,W=0;if(C<1)W=(Z-C)/(1-C);return[I[0],C*100,W*100]};v2.apple.rgb=function(I){return[I[0]/65535*255,I[1]/65535*255,I[2]/65535*255]};v2.rgb.apple=function(I){return[I[0]/255*65535,I[1]/255*65535,I[2]/255*65535]};v2.gray.rgb=function(I){return[I[0]/100*255,I[0]/100*255,I[0]/100*255]};v2.gray.hsl=function(I){return[0,0,I[0]]};v2.gray.hsv=v2.gray.hsl;v2.gray.hwb=function(I){return[0,100,I[0]]};v2.gray.cmyk=function(I){return[0,0,0,I[0]]};v2.gray.lab=function(I){return[I[0],0,0]};v2.gray.hex=function(I){let d=Math.round(I[0]/100*255)&255,Z=((d<<16)+(d<<8)+d).toString(16).toUpperCase();return"000000".substring(Z.length)+Z};v2.rgb.gray=function(I){return[(I[0]+I[1]+I[2])/3/255*100]}});var LF2=Y((hJ3,SF2)=>{var sa=Ug1();function $89(){let I={},d=Object.keys(sa);for(let G=d.length,Z=0;Z<G;Z++)I[d[Z]]={distance:-1,parent:null};return I}function u89(I){let d=$89(),G=[I];d[I].distance=0;while(G.length){let Z=G.pop(),C=Object.keys(sa[Z]);for(let W=C.length,w=0;w<W;w++){let B=C[w],A=d[B];if(A.distance===-1)A.distance=d[Z].distance+1,A.parent=Z,G.unshift(B)}}return d}function T89(I,d){return function(G){return d(I(G))}}function O89(I,d){let G=[d[I].parent,I],Z=sa[d[I].parent][I],C=d[I].parent;while(d[C].parent)G.unshift(d[C].parent),Z=T89(sa[d[C].parent][C],Z),C=d[C].parent;return Z.conversion=G,Z}SF2.exports=function(I){let d=u89(I),G={},Z=Object.keys(d);for(let C=Z.length,W=0;W<C;W++){let w=Z[W];if(d[w].parent===null)continue;G[w]=O89(w,d)}return G}});var Eg1=Y((jJ3,yF2)=>{var vg1=Ug1(),m89=LF2(),yR={},l89=Object.keys(vg1);function b89(I){let d=function(...G){let Z=G[0];if(Z===void 0||Z===null)return Z;if(Z.length>1)G=Z;return I(G)};if("conversion"in I)d.conversion=I.conversion;return d}function h89(I){let d=function(...G){let Z=G[0];if(Z===void 0||Z===null)return Z;if(Z.length>1)G=Z;let C=I(G);if(typeof C==="object")for(let W=C.length,w=0;w<W;w++)C[w]=Math.round(C[w]);return C};if("conversion"in I)d.conversion=I.conversion;return d}l89.forEach((I)=>{yR[I]={},Object.defineProperty(yR[I],"channels",{value:vg1[I].channels}),Object.defineProperty(yR[I],"labels",{value:vg1[I].labels});let d=m89(I);Object.keys(d).forEach((Z)=>{let C=d[Z];yR[I][Z]=h89(C),yR[I][Z].raw=b89(C)})});yF2.exports=yR});var mF2=Y((kJ3,OF2)=>{var PF2=(I,d)=>(...G)=>{return`\x1B[${I(...G)+d}m`},$F2=(I,d)=>(...G)=>{let Z=I(...G);return`\x1B[${38+d};5;${Z}m`},uF2=(I,d)=>(...G)=>{let Z=I(...G);return`\x1B[${38+d};2;${Z[0]};${Z[1]};${Z[2]}m`},oa=(I)=>I,TF2=(I,d,G)=>[I,d,G],PR=(I,d,G)=>{Object.defineProperty(I,d,{get:()=>{let Z=G();return Object.defineProperty(I,d,{value:Z,enumerable:!0,configurable:!0}),Z},enumerable:!0,configurable:!0})},Mg1,$R=(I,d,G,Z)=>{if(Mg1===void 0)Mg1=Eg1();let C=Z?10:0,W={};for(let[w,B]of Object.entries(Mg1)){let A=w==="ansi16"?"ansi":w;if(w===d)W[A]=I(G,C);else if(typeof B==="object")W[A]=I(B[d],C)}return W};function j89(){let I=new Map,d={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};d.color.gray=d.color.blackBright,d.bgColor.bgGray=d.bgColor.bgBlackBright,d.color.grey=d.color.blackBright,d.bgColor.bgGrey=d.bgColor.bgBlackBright;for(let[G,Z]of Object.entries(d)){for(let[C,W]of Object.entries(Z))d[C]={open:`\x1B[${W[0]}m`,close:`\x1B[${W[1]}m`},Z[C]=d[C],I.set(W[0],W[1]);Object.defineProperty(d,G,{value:Z,enumerable:!1})}return Object.defineProperty(d,"codes",{value:I,enumerable:!1}),d.color.close="\x1B[39m",d.bgColor.close="\x1B[49m",PR(d.color,"ansi",()=>$R(PF2,"ansi16",oa,!1)),PR(d.color,"ansi256",()=>$R($F2,"ansi256",oa,!1)),PR(d.color,"ansi16m",()=>$R(uF2,"rgb",TF2,!1)),PR(d.bgColor,"ansi",()=>$R(PF2,"ansi16",oa,!0)),PR(d.bgColor,"ansi256",()=>$R($F2,"ansi256",oa,!0)),PR(d.bgColor,"ansi16m",()=>$R(uF2,"rgb",TF2,!0)),d}Object.defineProperty(OF2,"exports",{enumerable:!0,get:j89})});var bF2=Y((xJ3,lF2)=>{var k89=(I,d,G)=>{let Z=I.indexOf(d);if(Z===-1)return I;let C=d.length,W=0,w="";do w+=I.substr(W,Z-W)+d+G,W=Z+C,Z=I.indexOf(d,W);while(Z!==-1);return w+=I.substr(W),w},x89=(I,d,G,Z)=>{let C=0,W="";do{let w=I[Z-1]==="\r";W+=I.substr(C,(w?Z-1:Z)-C)+d+(w?`\r
`:`
`)+G,C=Z+1,Z=I.indexOf(`
`,C)}while(Z!==-1);return W+=I.substr(C),W};lF2.exports={stringReplaceAll:k89,stringEncaseCRLFWithFirstIndex:x89}});var cF2=Y((cJ3,xF2)=>{var c89=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,hF2=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,p89=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i89=/\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi,n89=new Map([["n",`
`],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\x00"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function kF2(I){let d=I[0]==="u",G=I[1]==="{";if(d&&!G&&I.length===5||I[0]==="x"&&I.length===3)return String.fromCharCode(parseInt(I.slice(1),16));if(d&&G)return String.fromCodePoint(parseInt(I.slice(2,-1),16));return n89.get(I)||I}function r89(I,d){let G=[],Z=d.trim().split(/\s*,\s*/g),C;for(let W of Z){let w=Number(W);if(!Number.isNaN(w))G.push(w);else if(C=W.match(p89))G.push(C[2].replace(i89,(B,A,V)=>A?kF2(A):V));else throw new Error(`Invalid Chalk template style argument: ${W} (in style '${I}')`)}return G}function a89(I){hF2.lastIndex=0;let d=[],G;while((G=hF2.exec(I))!==null){let Z=G[1];if(G[2]){let C=r89(Z,G[2]);d.push([Z].concat(C))}else d.push([Z])}return d}function jF2(I,d){let G={};for(let C of d)for(let W of C.styles)G[W[0]]=C.inverse?null:W.slice(1);let Z=I;for(let[C,W]of Object.entries(G)){if(!Array.isArray(W))continue;if(!(C in Z))throw new Error(`Unknown Chalk style: ${C}`);Z=W.length>0?Z[C](...W):Z[C]}return Z}xF2.exports=(I,d)=>{let G=[],Z=[],C=[];if(d.replace(c89,(W,w,B,A,V,X)=>{if(w)C.push(kF2(w));else if(A){let _=C.join("");C=[],Z.push(G.length===0?_:jF2(I,G)(_)),G.push({inverse:B,styles:a89(A)})}else if(V){if(G.length===0)throw new Error("Found extraneous } in Chalk template literal");Z.push(jF2(I,G)(C.join(""))),C=[],G.pop()}else C.push(X)}),Z.push(C.join("")),G.length>0){let W=`Chalk template literal is missing ${G.length} closing bracket${G.length===1?"":"s"} (\`}\`)`;throw new Error(W)}return Z.join("")}});var eF2=Y((pJ3,oF2)=>{var l$=mF2(),{stdout:Lg1,stderr:yg1}=Hx(),{stringReplaceAll:s89,stringEncaseCRLFWithFirstIndex:o89}=bF2(),{isArray:ea}=Array,iF2=["ansi","ansi","ansi256","ansi16m"],uR=Object.create(null),e89=(I,d={})=>{if(d.level&&!(Number.isInteger(d.level)&&d.level>=0&&d.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let G=Lg1?Lg1.level:0;I.level=d.level===void 0?G:d.level};class nF2{constructor(I){return rF2(I)}}var rF2=(I)=>{let d={};return e89(d,I),d.template=(...G)=>sF2(d.template,...G),Object.setPrototypeOf(d,ta.prototype),Object.setPrototypeOf(d.template,d),d.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},d.template.Instance=nF2,d.template};function ta(I){return rF2(I)}for(let[I,d]of Object.entries(l$))uR[I]={get(){let G=Is(this,Pg1(d.open,d.close,this._styler),this._isEmpty);return Object.defineProperty(this,I,{value:G}),G}};uR.visible={get(){let I=Is(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:I}),I}};var aF2=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let I of aF2)uR[I]={get(){let{level:d}=this;return function(...G){let Z=Pg1(l$.color[iF2[d]][I](...G),l$.color.close,this._styler);return Is(this,Z,this._isEmpty)}}};for(let I of aF2){let d="bg"+I[0].toUpperCase()+I.slice(1);uR[d]={get(){let{level:G}=this;return function(...Z){let C=Pg1(l$.bgColor[iF2[G]][I](...Z),l$.bgColor.close,this._styler);return Is(this,C,this._isEmpty)}}}}var t89=Object.defineProperties(()=>{},{...uR,level:{enumerable:!0,get(){return this._generator.level},set(I){this._generator.level=I}}}),Pg1=(I,d,G)=>{let Z,C;if(G===void 0)Z=I,C=d;else Z=G.openAll+I,C=d+G.closeAll;return{open:I,close:d,openAll:Z,closeAll:C,parent:G}},Is=(I,d,G)=>{let Z=(...C)=>{if(ea(C[0])&&ea(C[0].raw))return pF2(Z,sF2(Z,...C));return pF2(Z,C.length===1?""+C[0]:C.join(" "))};return Object.setPrototypeOf(Z,t89),Z._generator=I,Z._styler=d,Z._isEmpty=G,Z},pF2=(I,d)=>{if(I.level<=0||!d)return I._isEmpty?"":d;let G=I._styler;if(G===void 0)return d;let{openAll:Z,closeAll:C}=G;if(d.indexOf("\x1B")!==-1)while(G!==void 0)d=s89(d,G.close,G.open),G=G.parent;let W=d.indexOf(`
`);if(W!==-1)d=o89(d,C,Z,W);return Z+d+C},Sg1,sF2=(I,...d)=>{let[G]=d;if(!ea(G)||!ea(G.raw))return d.join(" ");let Z=d.slice(1),C=[G.raw[0]];for(let W=1;W<G.length;W++)C.push(String(Z[W-1]).replace(/[{}\\]/g,"\\$&"),String(G.raw[W]));if(Sg1===void 0)Sg1=cF2();return Sg1(I,C.join(""))};Object.defineProperties(ta.prototype,uR);var ds=ta();ds.supportsColor=Lg1;ds.stderr=ta({level:yg1?yg1.level:0});ds.stderr.supportsColor=yg1;oF2.exports=ds});var $g1=Y((k4)=>{var I79=k4&&k4.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(k4,"__esModule",{value:!0});k4.parse=k4.stringify=k4.toJson=k4.fromJson=k4.DEFAULT_THEME=k4.plain=void 0;var i3=I79(eF2()),d79=function(I){return I};k4.plain=d79;k4.DEFAULT_THEME={keyword:i3.default.blue,built_in:i3.default.cyan,type:i3.default.cyan.dim,literal:i3.default.blue,number:i3.default.green,regexp:i3.default.red,string:i3.default.red,subst:k4.plain,symbol:k4.plain,class:i3.default.blue,function:i3.default.yellow,title:k4.plain,params:k4.plain,comment:i3.default.green,doctag:i3.default.green,meta:i3.default.grey,"meta-keyword":k4.plain,"meta-string":k4.plain,section:k4.plain,tag:i3.default.grey,name:i3.default.blue,"builtin-name":k4.plain,attr:i3.default.cyan,attribute:k4.plain,variable:k4.plain,bullet:k4.plain,code:k4.plain,emphasis:i3.default.italic,strong:i3.default.bold,formula:k4.plain,link:i3.default.underline,quote:k4.plain,"selector-tag":k4.plain,"selector-id":k4.plain,"selector-class":k4.plain,"selector-attr":k4.plain,"selector-pseudo":k4.plain,"template-tag":k4.plain,"template-variable":k4.plain,addition:i3.default.green,deletion:i3.default.red,default:k4.plain};function tF2(I){var d={};for(var G=0,Z=Object.keys(I);G<Z.length;G++){var C=Z[G],W=I[C];if(Array.isArray(W))d[C]=W.reduce(function(w,B){return B==="plain"?k4.plain:w[B]},i3.default);else d[C]=i3.default[W]}return d}k4.fromJson=tF2;function Ig2(I){var d={};for(var G=0,Z=Object.keys(d);G<Z.length;G++){var C=Z[G],W=d[C];d[C]=W._styles}return d}k4.toJson=Ig2;function G79(I){return JSON.stringify(Ig2(I))}k4.stringify=G79;function Z79(I){return tF2(JSON.parse(I))}k4.parse=Z79});var Tg1=Y((y6)=>{var dg2=y6&&y6.__createBinding||(Object.create?function(I,d,G,Z){if(Z===void 0)Z=G;Object.defineProperty(I,Z,{enumerable:!0,get:function(){return d[G]}})}:function(I,d,G,Z){if(Z===void 0)Z=G;I[Z]=d[G]}),C79=y6&&y6.__setModuleDefault||(Object.create?function(I,d){Object.defineProperty(I,"default",{enumerable:!0,value:d})}:function(I,d){I.default=d}),Gg2=y6&&y6.__importStar||function(I){if(I&&I.__esModule)return I;var d={};if(I!=null){for(var G in I)if(G!=="default"&&Object.prototype.hasOwnProperty.call(I,G))dg2(d,I,G)}return C79(d,I),d},W79=y6&&y6.__exportStar||function(I,d){for(var G in I)if(G!=="default"&&!Object.prototype.hasOwnProperty.call(d,G))dg2(d,I,G)},w79=y6&&y6.__importDefault||function(I){return I&&I.__esModule?I:{default:I}};Object.defineProperty(y6,"__esModule",{value:!0});y6.supportsLanguage=y6.listLanguages=y6.highlight=void 0;var Zs=Gg2(UR()),B79=Gg2(gF2()),A79=w79(UF2()),Gs=$g1();function ug1(I,d,G){if(d===void 0)d={};switch(I.type){case"text":{var Z=I.data;if(G===void 0)return(d.default||Gs.DEFAULT_THEME.default||Gs.plain)(Z);return Z}case"tag":{var C=/hljs-(\w+)/.exec(I.attribs.class);if(C){var W=C[1],w=I.childNodes.map(function(B){return ug1(B,d,W)}).join("");return(d[W]||Gs.DEFAULT_THEME[W]||Gs.plain)(w)}return I.childNodes.map(function(B){return ug1(B,d)}).join("")}}throw new Error("Invalid node type "+I.type)}function V79(I,d){if(d===void 0)d={};var G=B79.parseFragment(I,{treeAdapter:A79.default});return G.childNodes.map(function(Z){return ug1(Z,d)}).join("")}function Zg2(I,d){if(d===void 0)d={};var G;if(d.language)G=Zs.highlight(I,{language:d.language,ignoreIllegals:d.ignoreIllegals}).value;else G=Zs.highlightAuto(I,d.languageSubset).value;return V79(G,d.theme)}y6.highlight=Zg2;function X79(){return Zs.listLanguages()}y6.listLanguages=X79;function Y79(I){return!!Zs.getLanguage(I)}y6.supportsLanguage=Y79;y6.default=Zg2;W79($g1(),y6)});var $B=Y((KK3,Hg2)=>{var Dg2=function(I){return typeof I!=="undefined"&&I!==null},M79=function(I){return typeof I==="object"},S79=function(I){return Object.prototype.toString.call(I)==="[object Object]"},L79=function(I){return typeof I==="function"},y79=function(I){return typeof I==="boolean"},P79=function(I){return I instanceof Buffer},$79=function(I){if(Dg2(I))switch(I.constructor){case Uint8Array:case Uint8ClampedArray:case Int8Array:case Uint16Array:case Int16Array:case Uint32Array:case Int32Array:case Float32Array:case Float64Array:return!0}return!1},u79=function(I){return I instanceof ArrayBuffer},T79=function(I){return typeof I==="string"&&I.length>0},O79=function(I){return typeof I==="number"&&!Number.isNaN(I)},m79=function(I){return Number.isInteger(I)},l79=function(I,d,G){return I>=d&&I<=G},b79=function(I,d){return d.includes(I)},h79=function(I,d,G){return new Error(`Expected ${d} for ${I} but received ${G} of type ${typeof G}`)},j79=function(I,d){return d.message=I.message,d};Hg2.exports={defined:Dg2,object:M79,plainObject:S79,fn:L79,bool:y79,buffer:P79,typedArray:$79,arrayBuffer:u79,string:T79,number:O79,integer:m79,inRange:l79,inArray:b79,invalidParameterError:h79,nativeError:j79}});var Jg2=Y((NK3,gg2)=>{var Fg2=()=>process.platform==="linux",Xs=null,k79=()=>{if(!Xs)if(Fg2()&&process.report){let I=process.report.excludeNetwork;process.report.excludeNetwork=!0,Xs=process.report.getReport(),process.report.excludeNetwork=I}else Xs={};return Xs};gg2.exports={isLinux:Fg2,getReport:k79}});var zg2=Y((zK3,Ng2)=>{var Kg2=B1("fs"),x79=(I)=>Kg2.readFileSync(I,"utf-8"),c79=(I)=>new Promise((d,G)=>{Kg2.readFile(I,"utf-8",(Z,C)=>{if(Z)G(Z);else d(C)})});Ng2.exports={LDD_PATH:"/usr/bin/ldd",readFileSync:x79,readFile:c79}});var _s=Y((QK3,Og2)=>{var fg2=B1("child_process"),{isLinux:lR,getReport:qg2}=Jg2(),{LDD_PATH:Ys,readFile:Rg2,readFileSync:Ug2}=zg2(),uB,TB,XH="",vg2=()=>{if(!XH)return new Promise((I)=>{fg2.exec("getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true",(d,G)=>{XH=d?" ":G,I(XH)})});return XH},Eg2=()=>{if(!XH)try{XH=fg2.execSync("getconf GNU_LIBC_VERSION 2>&1 || true; ldd --version 2>&1 || true",{encoding:"utf8"})}catch(I){XH=" "}return XH},YH="glibc",Mg2=/LIBC[a-z0-9 \-).]*?(\d+\.\d+)/i,mR="musl",p79=(I)=>I.includes("libc.musl-")||I.includes("ld-musl-"),Sg2=()=>{let I=qg2();if(I.header&&I.header.glibcVersionRuntime)return YH;if(Array.isArray(I.sharedObjects)){if(I.sharedObjects.some(p79))return mR}return null},Lg2=(I)=>{let[d,G]=I.split(/[\r\n]+/);if(d&&d.includes(YH))return YH;if(G&&G.includes(mR))return mR;return null},yg2=(I)=>{if(I.includes("musl"))return mR;if(I.includes("GNU C Library"))return YH;return null},i79=async()=>{if(uB!==void 0)return uB;uB=null;try{let I=await Rg2(Ys);uB=yg2(I)}catch(I){}return uB},n79=()=>{if(uB!==void 0)return uB;uB=null;try{let I=Ug2(Ys);uB=yg2(I)}catch(I){}return uB},Pg2=async()=>{let I=null;if(lR()){if(I=await i79(),!I)I=Sg2();if(!I){let d=await vg2();I=Lg2(d)}}return I},$g2=()=>{let I=null;if(lR()){if(I=n79(),!I)I=Sg2();if(!I){let d=Eg2();I=Lg2(d)}}return I},r79=async()=>lR()&&await Pg2()!==YH,a79=()=>lR()&&$g2()!==YH,s79=async()=>{if(TB!==void 0)return TB;TB=null;try{let d=(await Rg2(Ys)).match(Mg2);if(d)TB=d[1]}catch(I){}return TB},o79=()=>{if(TB!==void 0)return TB;TB=null;try{let d=Ug2(Ys).match(Mg2);if(d)TB=d[1]}catch(I){}return TB},ug2=()=>{let I=qg2();if(I.header&&I.header.glibcVersionRuntime)return I.header.glibcVersionRuntime;return null},Qg2=(I)=>I.trim().split(/\s+/)[1],Tg2=(I)=>{let[d,G,Z]=I.split(/[\r\n]+/);if(d&&d.includes(YH))return Qg2(d);if(G&&Z&&G.includes(mR))return Qg2(Z);return null},e79=async()=>{let I=null;if(lR()){if(I=await s79(),!I)I=ug2();if(!I){let d=await vg2();I=Tg2(d)}}return I},t79=()=>{let I=null;if(lR()){if(I=o79(),!I)I=ug2();if(!I){let d=Eg2();I=Tg2(d)}}return I};Og2.exports={GLIBC:YH,MUSL:mR,family:Pg2,familySync:$g2,isNonGlibcLinux:r79,isNonGlibcLinuxSync:a79,version:e79,versionSync:t79}});var h$=Y((fK3,mg2)=>{var II9=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...I)=>console.error("SEMVER",...I):()=>{};mg2.exports=II9});var Ds=Y((qK3,lg2)=>{var dI9=Number.MAX_SAFE_INTEGER||9007199254740991,GI9=["major","premajor","minor","preminor","patch","prepatch","prerelease"];lg2.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:dI9,RELEASE_TYPES:GI9,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var j$=Y((VX,bg2)=>{var{MAX_SAFE_COMPONENT_LENGTH:lg1,MAX_SAFE_BUILD_LENGTH:ZI9,MAX_LENGTH:CI9}=Ds(),WI9=h$();VX=bg2.exports={};var wI9=VX.re=[],BI9=VX.safeRe=[],H2=VX.src=[],F2=VX.t={},AI9=0,bg1="[a-zA-Z0-9-]",VI9=[["\\s",1],["\\d",CI9],[bg1,ZI9]],XI9=(I)=>{for(let[d,G]of VI9)I=I.split(`${d}*`).join(`${d}{0,${G}}`).split(`${d}+`).join(`${d}{1,${G}}`);return I},v4=(I,d,G)=>{let Z=XI9(d),C=AI9++;WI9(I,C,d),F2[I]=C,H2[C]=d,wI9[C]=new RegExp(d,G?"g":void 0),BI9[C]=new RegExp(Z,G?"g":void 0)};v4("NUMERICIDENTIFIER","0|[1-9]\\d*");v4("NUMERICIDENTIFIERLOOSE","\\d+");v4("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${bg1}*`);v4("MAINVERSION",`(${H2[F2.NUMERICIDENTIFIER]})\\.(${H2[F2.NUMERICIDENTIFIER]})\\.(${H2[F2.NUMERICIDENTIFIER]})`);v4("MAINVERSIONLOOSE",`(${H2[F2.NUMERICIDENTIFIERLOOSE]})\\.(${H2[F2.NUMERICIDENTIFIERLOOSE]})\\.(${H2[F2.NUMERICIDENTIFIERLOOSE]})`);v4("PRERELEASEIDENTIFIER",`(?:${H2[F2.NUMERICIDENTIFIER]}|${H2[F2.NONNUMERICIDENTIFIER]})`);v4("PRERELEASEIDENTIFIERLOOSE",`(?:${H2[F2.NUMERICIDENTIFIERLOOSE]}|${H2[F2.NONNUMERICIDENTIFIER]})`);v4("PRERELEASE",`(?:-(${H2[F2.PRERELEASEIDENTIFIER]}(?:\\.${H2[F2.PRERELEASEIDENTIFIER]})*))`);v4("PRERELEASELOOSE",`(?:-?(${H2[F2.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${H2[F2.PRERELEASEIDENTIFIERLOOSE]})*))`);v4("BUILDIDENTIFIER",`${bg1}+`);v4("BUILD",`(?:\\+(${H2[F2.BUILDIDENTIFIER]}(?:\\.${H2[F2.BUILDIDENTIFIER]})*))`);v4("FULLPLAIN",`v?${H2[F2.MAINVERSION]}${H2[F2.PRERELEASE]}?${H2[F2.BUILD]}?`);v4("FULL",`^${H2[F2.FULLPLAIN]}$`);v4("LOOSEPLAIN",`[v=\\s]*${H2[F2.MAINVERSIONLOOSE]}${H2[F2.PRERELEASELOOSE]}?${H2[F2.BUILD]}?`);v4("LOOSE",`^${H2[F2.LOOSEPLAIN]}$`);v4("GTLT","((?:<|>)?=?)");v4("XRANGEIDENTIFIERLOOSE",`${H2[F2.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);v4("XRANGEIDENTIFIER",`${H2[F2.NUMERICIDENTIFIER]}|x|X|\\*`);v4("XRANGEPLAIN",`[v=\\s]*(${H2[F2.XRANGEIDENTIFIER]})(?:\\.(${H2[F2.XRANGEIDENTIFIER]})(?:\\.(${H2[F2.XRANGEIDENTIFIER]})(?:${H2[F2.PRERELEASE]})?${H2[F2.BUILD]}?)?)?`);v4("XRANGEPLAINLOOSE",`[v=\\s]*(${H2[F2.XRANGEIDENTIFIERLOOSE]})(?:\\.(${H2[F2.XRANGEIDENTIFIERLOOSE]})(?:\\.(${H2[F2.XRANGEIDENTIFIERLOOSE]})(?:${H2[F2.PRERELEASELOOSE]})?${H2[F2.BUILD]}?)?)?`);v4("XRANGE",`^${H2[F2.GTLT]}\\s*${H2[F2.XRANGEPLAIN]}$`);v4("XRANGELOOSE",`^${H2[F2.GTLT]}\\s*${H2[F2.XRANGEPLAINLOOSE]}$`);v4("COERCEPLAIN",`(^|[^\\d])(\\d{1,${lg1}})(?:\\.(\\d{1,${lg1}}))?(?:\\.(\\d{1,${lg1}}))?`);v4("COERCE",`${H2[F2.COERCEPLAIN]}(?:$|[^\\d])`);v4("COERCEFULL",H2[F2.COERCEPLAIN]+`(?:${H2[F2.PRERELEASE]})?(?:${H2[F2.BUILD]})?(?:$|[^\\d])`);v4("COERCERTL",H2[F2.COERCE],!0);v4("COERCERTLFULL",H2[F2.COERCEFULL],!0);v4("LONETILDE","(?:~>?)");v4("TILDETRIM",`(\\s*)${H2[F2.LONETILDE]}\\s+`,!0);VX.tildeTrimReplace="$1~";v4("TILDE",`^${H2[F2.LONETILDE]}${H2[F2.XRANGEPLAIN]}$`);v4("TILDELOOSE",`^${H2[F2.LONETILDE]}${H2[F2.XRANGEPLAINLOOSE]}$`);v4("LONECARET","(?:\\^)");v4("CARETTRIM",`(\\s*)${H2[F2.LONECARET]}\\s+`,!0);VX.caretTrimReplace="$1^";v4("CARET",`^${H2[F2.LONECARET]}${H2[F2.XRANGEPLAIN]}$`);v4("CARETLOOSE",`^${H2[F2.LONECARET]}${H2[F2.XRANGEPLAINLOOSE]}$`);v4("COMPARATORLOOSE",`^${H2[F2.GTLT]}\\s*(${H2[F2.LOOSEPLAIN]})$|^$`);v4("COMPARATOR",`^${H2[F2.GTLT]}\\s*(${H2[F2.FULLPLAIN]})$|^$`);v4("COMPARATORTRIM",`(\\s*)${H2[F2.GTLT]}\\s*(${H2[F2.LOOSEPLAIN]}|${H2[F2.XRANGEPLAIN]})`,!0);VX.comparatorTrimReplace="$1$2$3";v4("HYPHENRANGE",`^\\s*(${H2[F2.XRANGEPLAIN]})\\s+-\\s+(${H2[F2.XRANGEPLAIN]})\\s*$`);v4("HYPHENRANGELOOSE",`^\\s*(${H2[F2.XRANGEPLAINLOOSE]})\\s+-\\s+(${H2[F2.XRANGEPLAINLOOSE]})\\s*$`);v4("STAR","(<|>)?=?\\s*\\*");v4("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");v4("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Hs=Y((RK3,hg2)=>{var YI9=Object.freeze({loose:!0}),_I9=Object.freeze({}),DI9=(I)=>{if(!I)return _I9;if(typeof I!=="object")return YI9;return I};hg2.exports=DI9});var cg2=Y((UK3,xg2)=>{var jg2=/^[0-9]+$/,kg2=(I,d)=>{let G=jg2.test(I),Z=jg2.test(d);if(G&&Z)I=+I,d=+d;return I===d?0:G&&!Z?-1:Z&&!G?1:I<d?-1:1},HI9=(I,d)=>kg2(d,I);xg2.exports={compareIdentifiers:kg2,rcompareIdentifiers:HI9}});var hR=Y((vK3,rg2)=>{var Fs=h$(),{MAX_LENGTH:pg2,MAX_SAFE_INTEGER:gs}=Ds(),{safeRe:ig2,t:ng2}=j$(),FI9=Hs(),{compareIdentifiers:bR}=cg2();class gW{constructor(I,d){if(d=FI9(d),I instanceof gW)if(I.loose===!!d.loose&&I.includePrerelease===!!d.includePrerelease)return I;else I=I.version;else if(typeof I!=="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof I}".`);if(I.length>pg2)throw new TypeError(`version is longer than ${pg2} characters`);Fs("SemVer",I,d),this.options=d,this.loose=!!d.loose,this.includePrerelease=!!d.includePrerelease;let G=I.trim().match(d.loose?ig2[ng2.LOOSE]:ig2[ng2.FULL]);if(!G)throw new TypeError(`Invalid Version: ${I}`);if(this.raw=I,this.major=+G[1],this.minor=+G[2],this.patch=+G[3],this.major>gs||this.major<0)throw new TypeError("Invalid major version");if(this.minor>gs||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>gs||this.patch<0)throw new TypeError("Invalid patch version");if(!G[4])this.prerelease=[];else this.prerelease=G[4].split(".").map((Z)=>{if(/^[0-9]+$/.test(Z)){let C=+Z;if(C>=0&&C<gs)return C}return Z});this.build=G[5]?G[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(I){if(Fs("SemVer.compare",this.version,this.options,I),!(I instanceof gW)){if(typeof I==="string"&&I===this.version)return 0;I=new gW(I,this.options)}if(I.version===this.version)return 0;return this.compareMain(I)||this.comparePre(I)}compareMain(I){if(!(I instanceof gW))I=new gW(I,this.options);return bR(this.major,I.major)||bR(this.minor,I.minor)||bR(this.patch,I.patch)}comparePre(I){if(!(I instanceof gW))I=new gW(I,this.options);if(this.prerelease.length&&!I.prerelease.length)return-1;else if(!this.prerelease.length&&I.prerelease.length)return 1;else if(!this.prerelease.length&&!I.prerelease.length)return 0;let d=0;do{let G=this.prerelease[d],Z=I.prerelease[d];if(Fs("prerelease compare",d,G,Z),G===void 0&&Z===void 0)return 0;else if(Z===void 0)return 1;else if(G===void 0)return-1;else if(G===Z)continue;else return bR(G,Z)}while(++d)}compareBuild(I){if(!(I instanceof gW))I=new gW(I,this.options);let d=0;do{let G=this.build[d],Z=I.build[d];if(Fs("build compare",d,G,Z),G===void 0&&Z===void 0)return 0;else if(Z===void 0)return 1;else if(G===void 0)return-1;else if(G===Z)continue;else return bR(G,Z)}while(++d)}inc(I,d,G){switch(I){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",d,G);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",d,G);break;case"prepatch":this.prerelease.length=0,this.inc("patch",d,G),this.inc("pre",d,G);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",d,G);this.inc("pre",d,G);break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Z=Number(G)?1:0;if(!d&&G===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[Z];else{let C=this.prerelease.length;while(--C>=0)if(typeof this.prerelease[C]==="number")this.prerelease[C]++,C=-2;if(C===-1){if(d===this.prerelease.join(".")&&G===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(Z)}}if(d){let C=[d,Z];if(G===!1)C=[d];if(bR(this.prerelease[0],d)===0){if(isNaN(this.prerelease[1]))this.prerelease=C}else this.prerelease=C}break}default:throw new Error(`invalid increment argument: ${I}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}rg2.exports=gW});var og2=Y((EK3,sg2)=>{var ag2=hR(),gI9=(I,d,G=!1)=>{if(I instanceof ag2)return I;try{return new ag2(I,d)}catch(Z){if(!G)return null;throw Z}};sg2.exports=gI9});var tg2=Y((MK3,eg2)=>{var JI9=hR(),KI9=og2(),{safeRe:Js,t:Ks}=j$(),NI9=(I,d)=>{if(I instanceof JI9)return I;if(typeof I==="number")I=String(I);if(typeof I!=="string")return null;d=d||{};let G=null;if(!d.rtl)G=I.match(d.includePrerelease?Js[Ks.COERCEFULL]:Js[Ks.COERCE]);else{let A=d.includePrerelease?Js[Ks.COERCERTLFULL]:Js[Ks.COERCERTL],V;while((V=A.exec(I))&&(!G||G.index+G[0].length!==I.length)){if(!G||V.index+V[0].length!==G.index+G[0].length)G=V;A.lastIndex=V.index+V[1].length+V[2].length}A.lastIndex=-1}if(G===null)return null;let Z=G[2],C=G[3]||"0",W=G[4]||"0",w=d.includePrerelease&&G[5]?`-${G[5]}`:"",B=d.includePrerelease&&G[6]?`+${G[6]}`:"";return KI9(`${Z}.${C}.${W}${w}${B}`,d)};eg2.exports=NI9});var sJ=Y((SK3,dJ2)=>{var IJ2=hR(),zI9=(I,d,G)=>new IJ2(I,G).compare(new IJ2(d,G));dJ2.exports=zI9});var hg1=Y((LK3,GJ2)=>{var QI9=sJ(),fI9=(I,d,G)=>QI9(I,d,G)>=0;GJ2.exports=fI9});var WJ2=Y((yK3,CJ2)=>{class ZJ2{constructor(){this.max=1000,this.map=new Map}get(I){let d=this.map.get(I);if(d===void 0)return;else return this.map.delete(I),this.map.set(I,d),d}delete(I){return this.map.delete(I)}set(I,d){if(!this.delete(I)&&d!==void 0){if(this.map.size>=this.max){let Z=this.map.keys().next().value;this.delete(Z)}this.map.set(I,d)}return this}}CJ2.exports=ZJ2});var BJ2=Y((PK3,wJ2)=>{var qI9=sJ(),RI9=(I,d,G)=>qI9(I,d,G)===0;wJ2.exports=RI9});var VJ2=Y(($K3,AJ2)=>{var UI9=sJ(),vI9=(I,d,G)=>UI9(I,d,G)!==0;AJ2.exports=vI9});var YJ2=Y((uK3,XJ2)=>{var EI9=sJ(),MI9=(I,d,G)=>EI9(I,d,G)>0;XJ2.exports=MI9});var DJ2=Y((TK3,_J2)=>{var SI9=sJ(),LI9=(I,d,G)=>SI9(I,d,G)<0;_J2.exports=LI9});var FJ2=Y((OK3,HJ2)=>{var yI9=sJ(),PI9=(I,d,G)=>yI9(I,d,G)<=0;HJ2.exports=PI9});var JJ2=Y((mK3,gJ2)=>{var $I9=BJ2(),uI9=VJ2(),TI9=YJ2(),OI9=hg1(),mI9=DJ2(),lI9=FJ2(),bI9=(I,d,G,Z)=>{switch(d){case"===":if(typeof I==="object")I=I.version;if(typeof G==="object")G=G.version;return I===G;case"!==":if(typeof I==="object")I=I.version;if(typeof G==="object")G=G.version;return I!==G;case"":case"=":case"==":return $I9(I,G,Z);case"!=":return uI9(I,G,Z);case">":return TI9(I,G,Z);case">=":return OI9(I,G,Z);case"<":return mI9(I,G,Z);case"<=":return lI9(I,G,Z);default:throw new TypeError(`Invalid operator: ${d}`)}};gJ2.exports=bI9});var RJ2=Y((lK3,qJ2)=>{var k$=Symbol("SemVer ANY");class Ns{static get ANY(){return k$}constructor(I,d){if(d=KJ2(d),I instanceof Ns)if(I.loose===!!d.loose)return I;else I=I.value;if(I=I.trim().split(/\s+/).join(" "),kg1("comparator",I,d),this.options=d,this.loose=!!d.loose,this.parse(I),this.semver===k$)this.value="";else this.value=this.operator+this.semver.version;kg1("comp",this)}parse(I){let d=this.options.loose?NJ2[zJ2.COMPARATORLOOSE]:NJ2[zJ2.COMPARATOR],G=I.match(d);if(!G)throw new TypeError(`Invalid comparator: ${I}`);if(this.operator=G[1]!==void 0?G[1]:"",this.operator==="=")this.operator="";if(!G[2])this.semver=k$;else this.semver=new QJ2(G[2],this.options.loose)}toString(){return this.value}test(I){if(kg1("Comparator.test",I,this.options.loose),this.semver===k$||I===k$)return!0;if(typeof I==="string")try{I=new QJ2(I,this.options)}catch(d){return!1}return jg1(I,this.operator,this.semver,this.options)}intersects(I,d){if(!(I instanceof Ns))throw new TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new fJ2(I.value,d).test(this.value)}else if(I.operator===""){if(I.value==="")return!0;return new fJ2(this.value,d).test(I.semver)}if(d=KJ2(d),d.includePrerelease&&(this.value==="<0.0.0-0"||I.value==="<0.0.0-0"))return!1;if(!d.includePrerelease&&(this.value.startsWith("<0.0.0")||I.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&I.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&I.operator.startsWith("<"))return!0;if(this.semver.version===I.semver.version&&this.operator.includes("=")&&I.operator.includes("="))return!0;if(jg1(this.semver,"<",I.semver,d)&&this.operator.startsWith(">")&&I.operator.startsWith("<"))return!0;if(jg1(this.semver,">",I.semver,d)&&this.operator.startsWith("<")&&I.operator.startsWith(">"))return!0;return!1}}qJ2.exports=Ns;var KJ2=Hs(),{safeRe:NJ2,t:zJ2}=j$(),jg1=JJ2(),kg1=h$(),QJ2=hR(),fJ2=xg1()});var xg1=Y((bK3,MJ2)=>{var hI9=/\s+/g;class x${constructor(I,d){if(d=kI9(d),I instanceof x$)if(I.loose===!!d.loose&&I.includePrerelease===!!d.includePrerelease)return I;else return new x$(I.raw,d);if(I instanceof cg1)return this.raw=I.value,this.set=[[I]],this.formatted=void 0,this;if(this.options=d,this.loose=!!d.loose,this.includePrerelease=!!d.includePrerelease,this.raw=I.trim().replace(hI9," "),this.set=this.raw.split("||").map((G)=>this.parseRange(G.trim())).filter((G)=>G.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let G=this.set[0];if(this.set=this.set.filter((Z)=>!vJ2(Z[0])),this.set.length===0)this.set=[G];else if(this.set.length>1){for(let Z of this.set)if(Z.length===1&&aI9(Z[0])){this.set=[Z];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let I=0;I<this.set.length;I++){if(I>0)this.formatted+="||";let d=this.set[I];for(let G=0;G<d.length;G++){if(G>0)this.formatted+=" ";this.formatted+=d[G].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(I){let G=((this.options.includePrerelease&&nI9)|(this.options.loose&&rI9))+":"+I,Z=UJ2.get(G);if(Z)return Z;let C=this.options.loose,W=C?Hd[gI.HYPHENRANGELOOSE]:Hd[gI.HYPHENRANGE];I=I.replace(W,Wd9(this.options.includePrerelease)),c9("hyphen replace",I),I=I.replace(Hd[gI.COMPARATORTRIM],cI9),c9("comparator trim",I),I=I.replace(Hd[gI.TILDETRIM],pI9),c9("tilde trim",I),I=I.replace(Hd[gI.CARETTRIM],iI9),c9("caret trim",I);let w=I.split(" ").map((X)=>sI9(X,this.options)).join(" ").split(/\s+/).map((X)=>Cd9(X,this.options));if(C)w=w.filter((X)=>{return c9("loose invalid filter",X,this.options),!!X.match(Hd[gI.COMPARATORLOOSE])});c9("range list",w);let B=new Map,A=w.map((X)=>new cg1(X,this.options));for(let X of A){if(vJ2(X))return[X];B.set(X.value,X)}if(B.size>1&&B.has(""))B.delete("");let V=[...B.values()];return UJ2.set(G,V),V}intersects(I,d){if(!(I instanceof x$))throw new TypeError("a Range is required");return this.set.some((G)=>{return EJ2(G,d)&&I.set.some((Z)=>{return EJ2(Z,d)&&G.every((C)=>{return Z.every((W)=>{return C.intersects(W,d)})})})})}test(I){if(!I)return!1;if(typeof I==="string")try{I=new xI9(I,this.options)}catch(d){return!1}for(let d=0;d<this.set.length;d++)if(wd9(this.set[d],I,this.options))return!0;return!1}}MJ2.exports=x$;var jI9=WJ2(),UJ2=new jI9,kI9=Hs(),cg1=RJ2(),c9=h$(),xI9=hR(),{safeRe:Hd,t:gI,comparatorTrimReplace:cI9,tildeTrimReplace:pI9,caretTrimReplace:iI9}=j$(),{FLAG_INCLUDE_PRERELEASE:nI9,FLAG_LOOSE:rI9}=Ds(),vJ2=(I)=>I.value==="<0.0.0-0",aI9=(I)=>I.value==="",EJ2=(I,d)=>{let G=!0,Z=I.slice(),C=Z.pop();while(G&&Z.length)G=Z.every((W)=>{return C.intersects(W,d)}),C=Z.pop();return G},sI9=(I,d)=>{return c9("comp",I,d),I=tI9(I,d),c9("caret",I),I=oI9(I,d),c9("tildes",I),I=dd9(I,d),c9("xrange",I),I=Zd9(I,d),c9("stars",I),I},JI=(I)=>!I||I.toLowerCase()==="x"||I==="*",oI9=(I,d)=>{return I.trim().split(/\s+/).map((G)=>eI9(G,d)).join(" ")},eI9=(I,d)=>{let G=d.loose?Hd[gI.TILDELOOSE]:Hd[gI.TILDE];return I.replace(G,(Z,C,W,w,B)=>{c9("tilde",I,Z,C,W,w,B);let A;if(JI(C))A="";else if(JI(W))A=`>=${C}.0.0 <${+C+1}.0.0-0`;else if(JI(w))A=`>=${C}.${W}.0 <${C}.${+W+1}.0-0`;else if(B)c9("replaceTilde pr",B),A=`>=${C}.${W}.${w}-${B} <${C}.${+W+1}.0-0`;else A=`>=${C}.${W}.${w} <${C}.${+W+1}.0-0`;return c9("tilde return",A),A})},tI9=(I,d)=>{return I.trim().split(/\s+/).map((G)=>Id9(G,d)).join(" ")},Id9=(I,d)=>{c9("caret",I,d);let G=d.loose?Hd[gI.CARETLOOSE]:Hd[gI.CARET],Z=d.includePrerelease?"-0":"";return I.replace(G,(C,W,w,B,A)=>{c9("caret",I,C,W,w,B,A);let V;if(JI(W))V="";else if(JI(w))V=`>=${W}.0.0${Z} <${+W+1}.0.0-0`;else if(JI(B))if(W==="0")V=`>=${W}.${w}.0${Z} <${W}.${+w+1}.0-0`;else V=`>=${W}.${w}.0${Z} <${+W+1}.0.0-0`;else if(A)if(c9("replaceCaret pr",A),W==="0")if(w==="0")V=`>=${W}.${w}.${B}-${A} <${W}.${w}.${+B+1}-0`;else V=`>=${W}.${w}.${B}-${A} <${W}.${+w+1}.0-0`;else V=`>=${W}.${w}.${B}-${A} <${+W+1}.0.0-0`;else if(c9("no pr"),W==="0")if(w==="0")V=`>=${W}.${w}.${B}${Z} <${W}.${w}.${+B+1}-0`;else V=`>=${W}.${w}.${B}${Z} <${W}.${+w+1}.0-0`;else V=`>=${W}.${w}.${B} <${+W+1}.0.0-0`;return c9("caret return",V),V})},dd9=(I,d)=>{return c9("replaceXRanges",I,d),I.split(/\s+/).map((G)=>Gd9(G,d)).join(" ")},Gd9=(I,d)=>{I=I.trim();let G=d.loose?Hd[gI.XRANGELOOSE]:Hd[gI.XRANGE];return I.replace(G,(Z,C,W,w,B,A)=>{c9("xRange",I,Z,C,W,w,B,A);let V=JI(W),X=V||JI(w),_=X||JI(B),F=_;if(C==="="&&F)C="";if(A=d.includePrerelease?"-0":"",V)if(C===">"||C==="<")Z="<0.0.0-0";else Z="*";else if(C&&F){if(X)w=0;if(B=0,C===">")if(C=">=",X)W=+W+1,w=0,B=0;else w=+w+1,B=0;else if(C==="<=")if(C="<",X)W=+W+1;else w=+w+1;if(C==="<")A="-0";Z=`${C+W}.${w}.${B}${A}`}else if(X)Z=`>=${W}.0.0${A} <${+W+1}.0.0-0`;else if(_)Z=`>=${W}.${w}.0${A} <${W}.${+w+1}.0-0`;return c9("xRange return",Z),Z})},Zd9=(I,d)=>{return c9("replaceStars",I,d),I.trim().replace(Hd[gI.STAR],"")},Cd9=(I,d)=>{return c9("replaceGTE0",I,d),I.trim().replace(Hd[d.includePrerelease?gI.GTE0PRE:gI.GTE0],"")},Wd9=(I)=>(d,G,Z,C,W,w,B,A,V,X,_,F)=>{if(JI(Z))G="";else if(JI(C))G=`>=${Z}.0.0${I?"-0":""}`;else if(JI(W))G=`>=${Z}.${C}.0${I?"-0":""}`;else if(w)G=`>=${G}`;else G=`>=${G}${I?"-0":""}`;if(JI(V))A="";else if(JI(X))A=`<${+V+1}.0.0-0`;else if(JI(_))A=`<${V}.${+X+1}.0-0`;else if(F)A=`<=${V}.${X}.${_}-${F}`;else if(I)A=`<${V}.${X}.${+_+1}-0`;else A=`<=${A}`;return`${G} ${A}`.trim()},wd9=(I,d,G)=>{for(let Z=0;Z<I.length;Z++)if(!I[Z].test(d))return!1;if(d.prerelease.length&&!G.includePrerelease){for(let Z=0;Z<I.length;Z++){if(c9(I[Z].semver),I[Z].semver===cg1.ANY)continue;if(I[Z].semver.prerelease.length>0){let C=I[Z].semver;if(C.major===d.major&&C.minor===d.minor&&C.patch===d.patch)return!0}}return!1}return!0}});var LJ2=Y((hK3,SJ2)=>{var Bd9=xg1(),Ad9=(I,d,G)=>{try{d=new Bd9(d,G)}catch(Z){return!1}return d.test(I)};SJ2.exports=Ad9});var pg1=Y((jK3,Vd9)=>{Vd9.exports={name:"sharp",description:"High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",version:"0.33.5",author:"Lovell Fuller <npm@lovell.info>",homepage:"https://sharp.pixelplumbing.com",contributors:["Pierre Inglebert <pierre.inglebert@gmail.com>","Jonathan Ong <jonathanrichardong@gmail.com>","Chanon Sajjamanochai <chanon.s@gmail.com>","Juliano Julio <julianojulio@gmail.com>","Daniel Gasienica <daniel@gasienica.ch>","Julian Walker <julian@fiftythree.com>","Amit Pitaru <pitaru.amit@gmail.com>","Brandon Aaron <hello.brandon@aaron.sh>","Andreas Lind <andreas@one.com>","Maurus Cuelenaere <mcuelenaere@gmail.com>","Linus Unnebäck <linus@folkdatorn.se>","Victor Mateevitsi <mvictoras@gmail.com>","Alaric Holloway <alaric.holloway@gmail.com>","Bernhard K. Weisshuhn <bkw@codingforce.com>","Chris Riley <criley@primedia.com>","David Carley <dacarley@gmail.com>","John Tobin <john@limelightmobileinc.com>","Kenton Gray <kentongray@gmail.com>","Felix Bünemann <Felix.Buenemann@gmail.com>","Samy Al Zahrani <samyalzahrany@gmail.com>","Chintan Thakkar <lemnisk8@gmail.com>","F. Orlando Galashan <frulo@gmx.de>","Kleis Auke Wolthuizen <info@kleisauke.nl>","Matt Hirsch <mhirsch@media.mit.edu>","Matthias Thoemmes <thoemmes@gmail.com>","Patrick Paskaris <patrick@paskaris.gr>","Jérémy Lal <kapouer@melix.org>","Rahul Nanwani <r.nanwani@gmail.com>","Alice Monday <alice0meta@gmail.com>","Kristo Jorgenson <kristo.jorgenson@gmail.com>","YvesBos <yves_bos@outlook.com>","Guy Maliar <guy@tailorbrands.com>","Nicolas Coden <nicolas@ncoden.fr>","Matt Parrish <matt.r.parrish@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Matthew McEachen <matthew+github@mceachen.org>","Jarda Kotěšovec <jarda.kotesovec@gmail.com>","Kenric D'Souza <kenric.dsouza@gmail.com>","Oleh Aleinyk <oleg.aleynik@gmail.com>","Marcel Bretschneider <marcel.bretschneider@gmail.com>","Andrea Bianco <andrea.bianco@unibas.ch>","Rik Heywood <rik@rik.org>","Thomas Parisot <hi@oncletom.io>","Nathan Graves <nathanrgraves+github@gmail.com>","Tom Lokhorst <tom@lokhorst.eu>","Espen Hovlandsdal <espen@hovlandsdal.com>","Sylvain Dumont <sylvain.dumont35@gmail.com>","Alun Davies <alun.owain.davies@googlemail.com>","Aidan Hoolachan <ajhoolachan21@gmail.com>","Axel Eirola <axel.eirola@iki.fi>","Freezy <freezy@xbmc.org>","Daiz <taneli.vatanen@gmail.com>","Julian Aubourg <j@ubourg.net>","Keith Belovay <keith@picthrive.com>","Michael B. Klein <mbklein@gmail.com>","Jordan Prudhomme <jordan@raboland.fr>","Ilya Ovdin <iovdin@gmail.com>","Andargor <andargor@yahoo.com>","Paul Neave <paul.neave@gmail.com>","Brendan Kennedy <brenwken@gmail.com>","Brychan Bennett-Odlum <git@brychan.io>","Edward Silverton <e.silverton@gmail.com>","Roman Malieiev <aromaleev@gmail.com>","Tomas Szabo <tomas.szabo@deftomat.com>","Robert O'Rourke <robert@o-rourke.org>","Guillermo Alfonso Varela Chouciño <guillevch@gmail.com>","Christian Flintrup <chr@gigahost.dk>","Manan Jadhav <manan@motionden.com>","Leon Radley <leon@radley.se>","alza54 <alza54@thiocod.in>","Jacob Smith <jacob@frende.me>","Michael Nutt <michael@nutt.im>","Brad Parham <baparham@gmail.com>","Taneli Vatanen <taneli.vatanen@gmail.com>","Joris Dugué <zaruike10@gmail.com>","Chris Banks <christopher.bradley.banks@gmail.com>","Ompal Singh <ompal.hitm09@gmail.com>","Brodan <christopher.hranj@gmail.com>","Ankur Parihar <ankur.github@gmail.com>","Brahim Ait elhaj <brahima@gmail.com>","Mart Jansink <m.jansink@gmail.com>","Lachlan Newman <lachnewman007@gmail.com>","Dennis Beatty <dennis@dcbeatty.com>","Ingvar Stepanyan <me@rreverser.com>","Don Denton <don@happycollision.com>"],scripts:{install:"node install/check",clean:"rm -rf src/build/ .nyc_output/ coverage/ test/fixtures/output.*",test:"npm run test-lint && npm run test-unit && npm run test-licensing && npm run test-types","test-lint":"semistandard && cpplint","test-unit":"nyc --reporter=lcov --reporter=text --check-coverage --branches=100 mocha","test-licensing":'license-checker --production --summary --onlyAllow="Apache-2.0;BSD;ISC;LGPL-3.0-or-later;MIT"',"test-leak":"./test/leak/leak.sh","test-types":"tsd","package-from-local-build":"node npm/from-local-build","package-from-github-release":"node npm/from-github-release","docs-build":"node docs/build && node docs/search-index/build","docs-serve":"cd docs && npx serve","docs-publish":"cd docs && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"},type:"commonjs",main:"lib/index.js",types:"lib/index.d.ts",files:["install","lib","src/*.{cc,h,gyp}"],repository:{type:"git",url:"git://github.com/lovell/sharp.git"},keywords:["jpeg","png","webp","avif","tiff","gif","svg","jp2","dzi","image","resize","thumbnail","crop","embed","libvips","vips"],dependencies:{color:"^4.2.3","detect-libc":"^2.0.3",semver:"^7.6.3"},optionalDependencies:{"@img/sharp-darwin-arm64":"0.33.5","@img/sharp-darwin-x64":"0.33.5","@img/sharp-libvips-darwin-arm64":"1.0.4","@img/sharp-libvips-darwin-x64":"1.0.4","@img/sharp-libvips-linux-arm":"1.0.5","@img/sharp-libvips-linux-arm64":"1.0.4","@img/sharp-libvips-linux-s390x":"1.0.4","@img/sharp-libvips-linux-x64":"1.0.4","@img/sharp-libvips-linuxmusl-arm64":"1.0.4","@img/sharp-libvips-linuxmusl-x64":"1.0.4","@img/sharp-linux-arm":"0.33.5","@img/sharp-linux-arm64":"0.33.5","@img/sharp-linux-s390x":"0.33.5","@img/sharp-linux-x64":"0.33.5","@img/sharp-linuxmusl-arm64":"0.33.5","@img/sharp-linuxmusl-x64":"0.33.5","@img/sharp-wasm32":"0.33.5","@img/sharp-win32-ia32":"0.33.5","@img/sharp-win32-x64":"0.33.5"},devDependencies:{"@emnapi/runtime":"^1.2.0","@img/sharp-libvips-dev":"1.0.4","@img/sharp-libvips-dev-wasm32":"1.0.5","@img/sharp-libvips-win32-ia32":"1.0.4","@img/sharp-libvips-win32-x64":"1.0.4","@types/node":"*",async:"^3.2.5",cc:"^3.0.1",emnapi:"^1.2.0","exif-reader":"^2.0.1","extract-zip":"^2.0.1",icc:"^3.0.0","jsdoc-to-markdown":"^8.0.3","license-checker":"^25.0.1",mocha:"^10.7.3","node-addon-api":"^8.1.0",nyc:"^17.0.0",prebuild:"^13.0.1",semistandard:"^17.0.0","tar-fs":"^3.0.6",tsd:"^0.31.1"},license:"Apache-2.0",engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},config:{libvips:">=8.15.3"},funding:{url:"https://opencollective.com/libvips"},binary:{napi_versions:[9]},semistandard:{env:["mocha"]},cc:{linelength:"120",filter:["build/include"]},nyc:{include:["lib"]},tsd:{directory:"test/types/"}}});var ng1=Y((kK3,hJ2)=>{var{spawnSync:zs}=B1("node:child_process"),{createHash:Xd9}=B1("node:crypto"),uJ2=tg2(),Yd9=hg1(),_d9=LJ2(),yJ2=_s(),{config:Dd9,engines:PJ2,optionalDependencies:Hd9}=pg1(),Fd9=process.env.npm_package_config_libvips||Dd9.libvips,TJ2=uJ2(Fd9).version,gd9=["darwin-arm64","darwin-x64","linux-arm","linux-arm64","linux-s390x","linux-x64","linuxmusl-arm64","linuxmusl-x64","win32-ia32","win32-x64"],Qs={encoding:"utf8",shell:!0},Jd9=(I)=>{if(I instanceof Error)console.error(`sharp: Installation error: ${I.message}`);else console.log(`sharp: ${I}`)},OJ2=()=>yJ2.isNonGlibcLinuxSync()?yJ2.familySync():"",Kd9=()=>`${process.platform}${OJ2()}-${process.arch}`,jR=()=>{if(mJ2())return"wasm32";let{npm_config_arch:I,npm_config_platform:d,npm_config_libc:G}=process.env,Z=typeof G==="string"?G:OJ2();return`${d||process.platform}${Z}-${I||process.arch}`},Nd9=()=>{try{return B1(`@img/sharp-libvips-dev-${jR()}/include`)}catch{try{return (()=>{throw new Error("Cannot require module "+"@img/sharp-libvips-dev/include");})()}catch{}}return""},zd9=()=>{try{return (()=>{throw new Error("Cannot require module "+"@img/sharp-libvips-dev/cplusplus");})()}catch{}return""},Qd9=()=>{try{return B1(`@img/sharp-libvips-dev-${jR()}/lib`)}catch{try{return B1(`@img/sharp-libvips-${jR()}/lib`)}catch{}}return""},fd9=()=>{if(process.release?.name==="node"&&process.versions){if(!_d9(process.versions.node,PJ2.node))return{found:process.versions.node,expected:PJ2.node}}},mJ2=()=>{let{CC:I}=process.env;return Boolean(I&&I.endsWith("/emcc"))},qd9=()=>{if(process.platform==="darwin"&&process.arch==="x64")return(zs("sysctl sysctl.proc_translated",Qs).stdout||"").trim()==="sysctl.proc_translated: 1";return!1},$J2=(I)=>Xd9("sha512").update(I).digest("hex"),Rd9=()=>{try{let I=$J2(`imgsharp-libvips-${jR()}`),d=uJ2(Hd9[`@img/sharp-libvips-${jR()}`]).version;return $J2(`${I}npm:${d}`).slice(0,10)}catch{}return""},Ud9=()=>zs(`node-gyp rebuild --directory=src ${mJ2()?"--nodedir=emscripten":""}`,{...Qs,stdio:"inherit"}).status,lJ2=()=>{if(process.platform!=="win32")return(zs("pkg-config --modversion vips-cpp",{...Qs,env:{...process.env,PKG_CONFIG_PATH:bJ2()}}).stdout||"").trim();else return""},bJ2=()=>{if(process.platform!=="win32")return[(zs('which brew >/dev/null 2>&1 && brew environment --plain | grep PKG_CONFIG_LIBDIR | cut -d" " -f2',Qs).stdout||"").trim(),process.env.PKG_CONFIG_PATH,"/usr/local/lib/pkgconfig","/usr/lib/pkgconfig","/usr/local/libdata/pkgconfig","/usr/libdata/pkgconfig"].filter(Boolean).join(":");else return""},ig1=(I,d,G)=>{if(G)G(`Detected ${d}, skipping search for globally-installed libvips`);return I},vd9=(I)=>{if(Boolean(process.env.SHARP_IGNORE_GLOBAL_LIBVIPS)===!0)return ig1(!1,"SHARP_IGNORE_GLOBAL_LIBVIPS",I);if(Boolean(process.env.SHARP_FORCE_GLOBAL_LIBVIPS)===!0)return ig1(!0,"SHARP_FORCE_GLOBAL_LIBVIPS",I);if(qd9())return ig1(!1,"Rosetta",I);let d=lJ2();return!!d&&Yd9(d,TJ2)};hJ2.exports={minimumLibvipsVersion:TJ2,prebuiltPlatforms:gd9,buildPlatformArch:jR,buildSharpLibvipsIncludeDir:Nd9,buildSharpLibvipsCPlusPlusDir:zd9,buildSharpLibvipsLibDir:Qd9,isUnsupportedNodeRuntime:fd9,runtimePlatformArch:Kd9,log:Jd9,yarnLocator:Rd9,spawnRebuild:Ud9,globalLibvipsVersion:lJ2,pkgConfigPath:bJ2,useGlobalLibvips:vd9}});var c$=Y((cK3,kJ2)=>{var{familySync:Ed9,versionSync:Md9}=_s(),{runtimePlatformArch:Sd9,isUnsupportedNodeRuntime:jJ2,prebuiltPlatforms:Ld9,minimumLibvipsVersion:yd9}=ng1(),oJ=Sd9(),Pd9=[`../src/build/Release/sharp-${oJ}.node`,"../src/build/Release/sharp-wasm32.node",`@img/sharp-${oJ}/sharp.node`,"@img/sharp-wasm32/sharp.node"],rg1,fs=[];for(let I of Pd9)try{rg1=B1(I);break}catch(d){fs.push(d)}if(rg1)kJ2.exports=rg1;else{let[I,d,G]=["linux","darwin","win32"].map((W)=>oJ.startsWith(W)),Z=[`Could not load the "sharp" module using the ${oJ} runtime`];fs.forEach((W)=>{if(W.code!=="MODULE_NOT_FOUND")Z.push(`${W.code}: ${W.message}`)});let C=fs.map((W)=>W.message).join(" ");if(Z.push("Possible solutions:"),jJ2()){let{found:W,expected:w}=jJ2();Z.push("- Please upgrade Node.js:",`    Found ${W}`,`    Requires ${w}`)}else if(Ld9.includes(oJ)){let[W,w]=oJ.split("-"),B=W.endsWith("musl")?" --libc=musl":"";Z.push("- Ensure optional dependencies can be installed:","    npm install --include=optional sharp","- Ensure your package manager supports multi-platform installation:","    See https://sharp.pixelplumbing.com/install#cross-platform","- Add platform-specific dependencies:",`    npm install --os=${W.replace("musl","")}${B} --cpu=${w} sharp`)}else Z.push(`- Manually install libvips >= ${yd9}`,"- Add experimental WebAssembly-based dependencies:","    npm install --cpu=wasm32 sharp","    npm install @img/sharp-wasm32");if(I&&/(symbol not found|CXXABI_)/i.test(C))try{let{config:W}=B1(`@img/sharp-libvips-${oJ}/package`),w=`${Ed9()} ${Md9()}`,B=`${W.musl?"musl":"glibc"} ${W.musl||W.glibc}`;Z.push("- Update your OS:",`    Found ${w}`,`    Requires ${B}`)}catch(W){}if(I&&/\/snap\/core[0-9]{2}/.test(C))Z.push("- Remove the Node.js Snap, which does not support native modules","    snap remove node");if(d&&/Incompatible library version/.test(C))Z.push("- Update Homebrew:","    brew update && brew upgrade vips");if(fs.some((W)=>W.code==="ERR_DLOPEN_DISABLED"))Z.push("- Run Node.js without using the --no-addons flag");if(G&&/The specified procedure could not be found/.test(C))Z.push("- Using the canvas package on Windows?","    See https://sharp.pixelplumbing.com/install#canvas-and-windows","- Check for outdated versions of sharp in the dependency tree:","    npm ls sharp");throw Z.push("- Consult the installation documentation:","    See https://sharp.pixelplumbing.com/install"),new Error(Z.join(`
`))}});var cJ2=Y((iK3,xJ2)=>{var $d9=B1("node:util"),ag1=B1("node:stream"),ud9=$B();c$();var Td9=$d9.debuglog("sharp"),eJ=function(I,d){if(arguments.length===1&&!ud9.defined(I))throw new Error("Invalid input");if(!(this instanceof eJ))return new eJ(I,d);return ag1.Duplex.call(this),this.options={topOffsetPre:-1,leftOffsetPre:-1,widthPre:-1,heightPre:-1,topOffsetPost:-1,leftOffsetPost:-1,widthPost:-1,heightPost:-1,width:-1,height:-1,canvas:"crop",position:0,resizeBackground:[0,0,0,255],useExifOrientation:!1,angle:0,rotationAngle:0,rotationBackground:[0,0,0,255],rotateBeforePreExtract:!1,flip:!1,flop:!1,extendTop:0,extendBottom:0,extendLeft:0,extendRight:0,extendBackground:[0,0,0,255],extendWith:"background",withoutEnlargement:!1,withoutReduction:!1,affineMatrix:[],affineBackground:[0,0,0,255],affineIdx:0,affineIdy:0,affineOdx:0,affineOdy:0,affineInterpolator:this.constructor.interpolators.bilinear,kernel:"lanczos3",fastShrinkOnLoad:!0,tint:[-1,0,0,0],flatten:!1,flattenBackground:[0,0,0],unflatten:!1,negate:!1,negateAlpha:!0,medianSize:0,blurSigma:0,precision:"integer",minAmpl:0.2,sharpenSigma:0,sharpenM1:1,sharpenM2:2,sharpenX1:2,sharpenY2:10,sharpenY3:20,threshold:0,thresholdGrayscale:!0,trimBackground:[],trimThreshold:-1,trimLineArt:!1,gamma:0,gammaOut:0,greyscale:!1,normalise:!1,normaliseLower:1,normaliseUpper:99,claheWidth:0,claheHeight:0,claheMaxSlope:3,brightness:1,saturation:1,hue:0,lightness:0,booleanBufferIn:null,booleanFileIn:"",joinChannelIn:[],extractChannel:-1,removeAlpha:!1,ensureAlpha:-1,colourspace:"srgb",colourspacePipeline:"last",composite:[],fileOut:"",formatOut:"input",streamOut:!1,keepMetadata:0,withMetadataOrientation:-1,withMetadataDensity:0,withIccProfile:"",withExif:{},withExifMerge:!0,resolveWithObject:!1,jpegQuality:80,jpegProgressive:!1,jpegChromaSubsampling:"4:2:0",jpegTrellisQuantisation:!1,jpegOvershootDeringing:!1,jpegOptimiseScans:!1,jpegOptimiseCoding:!0,jpegQuantisationTable:0,pngProgressive:!1,pngCompressionLevel:6,pngAdaptiveFiltering:!1,pngPalette:!1,pngQuality:100,pngEffort:7,pngBitdepth:8,pngDither:1,jp2Quality:80,jp2TileHeight:512,jp2TileWidth:512,jp2Lossless:!1,jp2ChromaSubsampling:"4:4:4",webpQuality:80,webpAlphaQuality:100,webpLossless:!1,webpNearLossless:!1,webpSmartSubsample:!1,webpPreset:"default",webpEffort:4,webpMinSize:!1,webpMixed:!1,gifBitdepth:8,gifEffort:7,gifDither:1,gifInterFrameMaxError:0,gifInterPaletteMaxError:3,gifReuse:!0,gifProgressive:!1,tiffQuality:80,tiffCompression:"jpeg",tiffPredictor:"horizontal",tiffPyramid:!1,tiffMiniswhite:!1,tiffBitdepth:8,tiffTile:!1,tiffTileHeight:256,tiffTileWidth:256,tiffXres:1,tiffYres:1,tiffResolutionUnit:"inch",heifQuality:50,heifLossless:!1,heifCompression:"av1",heifEffort:4,heifChromaSubsampling:"4:4:4",heifBitdepth:8,jxlDistance:1,jxlDecodingTier:0,jxlEffort:7,jxlLossless:!1,rawDepth:"uchar",tileSize:256,tileOverlap:0,tileContainer:"fs",tileLayout:"dz",tileFormat:"last",tileDepth:"last",tileAngle:0,tileSkipBlanks:-1,tileBackground:[255,255,255,255],tileCentre:!1,tileId:"https://example.com/iiif",tileBasename:"",timeoutSeconds:0,linearA:[],linearB:[],debuglog:(G)=>{this.emit("warning",G),Td9(G)},queueListener:function(G){eJ.queue.emit("change",G)}},this.options.input=this._createInputDescriptor(I,d,{allowStream:!0}),this};Object.setPrototypeOf(eJ.prototype,ag1.Duplex.prototype);Object.setPrototypeOf(eJ,ag1.Duplex);function Od9(){let I=this.constructor.call(),{debuglog:d,queueListener:G,...Z}=this.options;if(I.options=structuredClone(Z),I.options.debuglog=d,I.options.queueListener=G,this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),I.options.input.buffer=this.options.input.buffer,I.emit("finish")});return I}Object.assign(eJ.prototype,{clone:Od9});xJ2.exports=eJ});var iJ2=Y((nK3,pJ2)=>{pJ2.exports=function I(d){if(!d||typeof d==="string")return!1;return d instanceof Array||Array.isArray(d)||d.length>=0&&(d.splice instanceof Function||Object.getOwnPropertyDescriptor(d,d.length-1)&&d.constructor.name!=="String")}});var aJ2=Y((rK3,rJ2)=>{var md9=iJ2(),ld9=Array.prototype.concat,bd9=Array.prototype.slice,nJ2=rJ2.exports=function I(d){var G=[];for(var Z=0,C=d.length;Z<C;Z++){var W=d[Z];if(md9(W))G=ld9.call(G,bd9.call(W));else G.push(W)}return G};nJ2.wrap=function(I){return function(){return I(nJ2(arguments))}}});var tJ2=Y((aK3,eJ2)=>{var p$=Rg1(),i$=aJ2(),sJ2=Object.hasOwnProperty,oJ2=Object.create(null);for(qs in p$)if(sJ2.call(p$,qs))oJ2[p$[qs]]=qs;var qs,YG=eJ2.exports={to:{},get:{}};YG.get=function(I){var d=I.substring(0,3).toLowerCase(),G,Z;switch(d){case"hsl":G=YG.get.hsl(I),Z="hsl";break;case"hwb":G=YG.get.hwb(I),Z="hwb";break;default:G=YG.get.rgb(I),Z="rgb";break}if(!G)return null;return{model:Z,value:G}};YG.get.rgb=function(I){if(!I)return null;var d=/^#([a-f0-9]{3,4})$/i,G=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,Z=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,C=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,W=/^(\w+)$/,w=[0,0,0,1],B,A,V;if(B=I.match(G)){V=B[2],B=B[1];for(A=0;A<3;A++){var X=A*2;w[A]=parseInt(B.slice(X,X+2),16)}if(V)w[3]=parseInt(V,16)/255}else if(B=I.match(d)){B=B[1],V=B[3];for(A=0;A<3;A++)w[A]=parseInt(B[A]+B[A],16);if(V)w[3]=parseInt(V+V,16)/255}else if(B=I.match(Z)){for(A=0;A<3;A++)w[A]=parseInt(B[A+1],0);if(B[4])if(B[5])w[3]=parseFloat(B[4])*0.01;else w[3]=parseFloat(B[4])}else if(B=I.match(C)){for(A=0;A<3;A++)w[A]=Math.round(parseFloat(B[A+1])*2.55);if(B[4])if(B[5])w[3]=parseFloat(B[4])*0.01;else w[3]=parseFloat(B[4])}else if(B=I.match(W)){if(B[1]==="transparent")return[0,0,0,0];if(!sJ2.call(p$,B[1]))return null;return w=p$[B[1]],w[3]=1,w}else return null;for(A=0;A<3;A++)w[A]=_H(w[A],0,255);return w[3]=_H(w[3],0,1),w};YG.get.hsl=function(I){if(!I)return null;var d=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=I.match(d);if(G){var Z=parseFloat(G[4]),C=(parseFloat(G[1])%360+360)%360,W=_H(parseFloat(G[2]),0,100),w=_H(parseFloat(G[3]),0,100),B=_H(isNaN(Z)?1:Z,0,1);return[C,W,w,B]}return null};YG.get.hwb=function(I){if(!I)return null;var d=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,G=I.match(d);if(G){var Z=parseFloat(G[4]),C=(parseFloat(G[1])%360+360)%360,W=_H(parseFloat(G[2]),0,100),w=_H(parseFloat(G[3]),0,100),B=_H(isNaN(Z)?1:Z,0,1);return[C,W,w,B]}return null};YG.to.hex=function(){var I=i$(arguments);return"#"+Rs(I[0])+Rs(I[1])+Rs(I[2])+(I[3]<1?Rs(Math.round(I[3]*255)):"")};YG.to.rgb=function(){var I=i$(arguments);return I.length<4||I[3]===1?"rgb("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+")":"rgba("+Math.round(I[0])+", "+Math.round(I[1])+", "+Math.round(I[2])+", "+I[3]+")"};YG.to.rgb.percent=function(){var I=i$(arguments),d=Math.round(I[0]/255*100),G=Math.round(I[1]/255*100),Z=Math.round(I[2]/255*100);return I.length<4||I[3]===1?"rgb("+d+"%, "+G+"%, "+Z+"%)":"rgba("+d+"%, "+G+"%, "+Z+"%, "+I[3]+")"};YG.to.hsl=function(){var I=i$(arguments);return I.length<4||I[3]===1?"hsl("+I[0]+", "+I[1]+"%, "+I[2]+"%)":"hsla("+I[0]+", "+I[1]+"%, "+I[2]+"%, "+I[3]+")"};YG.to.hwb=function(){var I=i$(arguments),d="";if(I.length>=4&&I[3]!==1)d=", "+I[3];return"hwb("+I[0]+", "+I[1]+"%, "+I[2]+"%"+d+")"};YG.to.keyword=function(I){return oJ2[I.slice(0,3)]};function _H(I,d,G){return Math.min(Math.max(d,I),G)}function Rs(I){var d=Math.round(I).toString(16).toUpperCase();return d.length<2?"0"+d:d}});var vs=Y((sK3,dK2)=>{var kR=tJ2(),_G=Eg1(),IK2=["keyword","gray","hex"],sg1={};for(let I of Object.keys(_G))sg1[[..._G[I].labels].sort().join("")]=I;var Us={};function f8(I,d){if(!(this instanceof f8))return new f8(I,d);if(d&&d in IK2)d=null;if(d&&!(d in _G))throw new Error("Unknown model: "+d);let G,Z;if(I==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(I instanceof f8)this.model=I.model,this.color=[...I.color],this.valpha=I.valpha;else if(typeof I==="string"){let C=kR.get(I);if(C===null)throw new Error("Unable to parse color from string: "+I);this.model=C.model,Z=_G[this.model].channels,this.color=C.value.slice(0,Z),this.valpha=typeof C.value[Z]==="number"?C.value[Z]:1}else if(I.length>0){this.model=d||"rgb",Z=_G[this.model].channels;let C=Array.prototype.slice.call(I,0,Z);this.color=og1(C,Z),this.valpha=typeof I[Z]==="number"?I[Z]:1}else if(typeof I==="number")this.model="rgb",this.color=[I>>16&255,I>>8&255,I&255],this.valpha=1;else{this.valpha=1;let C=Object.keys(I);if("alpha"in I)C.splice(C.indexOf("alpha"),1),this.valpha=typeof I.alpha==="number"?I.alpha:0;let W=C.sort().join("");if(!(W in sg1))throw new Error("Unable to parse color from object: "+JSON.stringify(I));this.model=sg1[W];let{labels:w}=_G[this.model],B=[];for(G=0;G<w.length;G++)B.push(I[w[G]]);this.color=og1(B)}if(Us[this.model]){Z=_G[this.model].channels;for(G=0;G<Z;G++){let C=Us[this.model][G];if(C)this.color[G]=C(this.color[G])}}if(this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze)Object.freeze(this)}f8.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(I){let d=this.model in kR.to?this:this.rgb();d=d.round(typeof I==="number"?I:1);let G=d.valpha===1?d.color:[...d.color,this.valpha];return kR.to[d.model](G)},percentString(I){let d=this.rgb().round(typeof I==="number"?I:1),G=d.valpha===1?d.color:[...d.color,this.valpha];return kR.to.rgb.percent(G)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let I={},{channels:d}=_G[this.model],{labels:G}=_G[this.model];for(let Z=0;Z<d;Z++)I[G[Z]]=this.color[Z];if(this.valpha!==1)I.alpha=this.valpha;return I},unitArray(){let I=this.rgb().color;if(I[0]/=255,I[1]/=255,I[2]/=255,this.valpha!==1)I.push(this.valpha);return I},unitObject(){let I=this.rgb().object();if(I.r/=255,I.g/=255,I.b/=255,this.valpha!==1)I.alpha=this.valpha;return I},round(I){return I=Math.max(I||0,0),new f8([...this.color.map(jd9(I)),this.valpha],this.model)},alpha(I){if(I!==void 0)return new f8([...this.color,Math.max(0,Math.min(1,I))],this.model);return this.valpha},red:n3("rgb",0,s6(255)),green:n3("rgb",1,s6(255)),blue:n3("rgb",2,s6(255)),hue:n3(["hsl","hsv","hsl","hwb","hcg"],0,(I)=>(I%360+360)%360),saturationl:n3("hsl",1,s6(100)),lightness:n3("hsl",2,s6(100)),saturationv:n3("hsv",1,s6(100)),value:n3("hsv",2,s6(100)),chroma:n3("hcg",1,s6(100)),gray:n3("hcg",2,s6(100)),white:n3("hwb",1,s6(100)),wblack:n3("hwb",2,s6(100)),cyan:n3("cmyk",0,s6(100)),magenta:n3("cmyk",1,s6(100)),yellow:n3("cmyk",2,s6(100)),black:n3("cmyk",3,s6(100)),x:n3("xyz",0,s6(95.047)),y:n3("xyz",1,s6(100)),z:n3("xyz",2,s6(108.833)),l:n3("lab",0,s6(100)),a:n3("lab",1),b:n3("lab",2),keyword(I){if(I!==void 0)return new f8(I);return _G[this.model].keyword(this.color)},hex(I){if(I!==void 0)return new f8(I);return kR.to.hex(this.rgb().round().color)},hexa(I){if(I!==void 0)return new f8(I);let d=this.rgb().round().color,G=Math.round(this.valpha*255).toString(16).toUpperCase();if(G.length===1)G="0"+G;return kR.to.hex(d)+G},rgbNumber(){let I=this.rgb().color;return(I[0]&255)<<16|(I[1]&255)<<8|I[2]&255},luminosity(){let I=this.rgb().color,d=[];for(let[G,Z]of I.entries()){let C=Z/255;d[G]=C<=0.04045?C/12.92:((C+0.055)/1.055)**2.4}return 0.2126*d[0]+0.7152*d[1]+0.0722*d[2]},contrast(I){let d=this.luminosity(),G=I.luminosity();if(d>G)return(d+0.05)/(G+0.05);return(G+0.05)/(d+0.05)},level(I){let d=this.contrast(I);if(d>=7)return"AAA";return d>=4.5?"AA":""},isDark(){let I=this.rgb().color;return(I[0]*2126+I[1]*7152+I[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let I=this.rgb();for(let d=0;d<3;d++)I.color[d]=255-I.color[d];return I},lighten(I){let d=this.hsl();return d.color[2]+=d.color[2]*I,d},darken(I){let d=this.hsl();return d.color[2]-=d.color[2]*I,d},saturate(I){let d=this.hsl();return d.color[1]+=d.color[1]*I,d},desaturate(I){let d=this.hsl();return d.color[1]-=d.color[1]*I,d},whiten(I){let d=this.hwb();return d.color[1]+=d.color[1]*I,d},blacken(I){let d=this.hwb();return d.color[2]+=d.color[2]*I,d},grayscale(){let I=this.rgb().color,d=I[0]*0.3+I[1]*0.59+I[2]*0.11;return f8.rgb(d,d,d)},fade(I){return this.alpha(this.valpha-this.valpha*I)},opaquer(I){return this.alpha(this.valpha+this.valpha*I)},rotate(I){let d=this.hsl(),G=d.color[0];return G=(G+I)%360,G=G<0?360+G:G,d.color[0]=G,d},mix(I,d){if(!I||!I.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof I);let G=I.rgb(),Z=this.rgb(),C=d===void 0?0.5:d,W=2*C-1,w=G.alpha()-Z.alpha(),B=((W*w===-1?W:(W+w)/(1+W*w))+1)/2,A=1-B;return f8.rgb(B*G.red()+A*Z.red(),B*G.green()+A*Z.green(),B*G.blue()+A*Z.blue(),G.alpha()*C+Z.alpha()*(1-C))}};for(let I of Object.keys(_G)){if(IK2.includes(I))continue;let{channels:d}=_G[I];f8.prototype[I]=function(...G){if(this.model===I)return new f8(this);if(G.length>0)return new f8(G,I);return new f8([...kd9(_G[this.model][I].raw(this.color)),this.valpha],I)},f8[I]=function(...G){let Z=G[0];if(typeof Z==="number")Z=og1(G,d);return new f8(Z,I)}}function hd9(I,d){return Number(I.toFixed(d))}function jd9(I){return function(d){return hd9(d,I)}}function n3(I,d,G){I=Array.isArray(I)?I:[I];for(let Z of I)(Us[Z]||(Us[Z]=[]))[d]=G;return I=I[0],function(Z){let C;if(Z!==void 0){if(G)Z=G(Z);return C=this[I](),C.color[d]=Z,C}if(C=this[I]().color[d],G)C=G(C);return C}}function s6(I){return function(d){return Math.max(0,Math.min(I,d))}}function kd9(I){return Array.isArray(I)?I:[I]}function og1(I,d){for(let G=0;G<d;G++)if(typeof I[G]!=="number")I[G]=0;return I}dK2.exports=f8});var CK2=Y((oK3,ZK2)=>{var xd9=vs(),C0=$B(),DH=c$(),cd9={left:"low",center:"centre",centre:"centre",right:"high"};function GK2(I){let{raw:d,density:G,limitInputPixels:Z,ignoreIcc:C,unlimited:W,sequentialRead:w,failOn:B,failOnError:A,animated:V,page:X,pages:_,subifd:F}=I;return[d,G,Z,C,W,w,B,A,V,X,_,F].some(C0.defined)?{raw:d,density:G,limitInputPixels:Z,ignoreIcc:C,unlimited:W,sequentialRead:w,failOn:B,failOnError:A,animated:V,page:X,pages:_,subifd:F}:void 0}function pd9(I,d,G){let Z={failOn:"warning",limitInputPixels:Math.pow(16383,2),ignoreIcc:!1,unlimited:!1,sequentialRead:!0};if(C0.string(I))Z.file=I;else if(C0.buffer(I)){if(I.length===0)throw Error("Input Buffer is empty");Z.buffer=I}else if(C0.arrayBuffer(I)){if(I.byteLength===0)throw Error("Input bit Array is empty");Z.buffer=Buffer.from(I,0,I.byteLength)}else if(C0.typedArray(I)){if(I.length===0)throw Error("Input Bit Array is empty");Z.buffer=Buffer.from(I.buffer,I.byteOffset,I.byteLength)}else if(C0.plainObject(I)&&!C0.defined(d)){if(d=I,GK2(d))Z.buffer=[]}else if(!C0.defined(I)&&!C0.defined(d)&&C0.object(G)&&G.allowStream)Z.buffer=[];else throw new Error(`Unsupported input '${I}' of type ${typeof I}${C0.defined(d)?` when also providing options of type ${typeof d}`:""}`);if(C0.object(d)){if(C0.defined(d.failOnError))if(C0.bool(d.failOnError))Z.failOn=d.failOnError?"warning":"none";else throw C0.invalidParameterError("failOnError","boolean",d.failOnError);if(C0.defined(d.failOn))if(C0.string(d.failOn)&&C0.inArray(d.failOn,["none","truncated","error","warning"]))Z.failOn=d.failOn;else throw C0.invalidParameterError("failOn","one of: none, truncated, error, warning",d.failOn);if(C0.defined(d.density))if(C0.inRange(d.density,1,1e5))Z.density=d.density;else throw C0.invalidParameterError("density","number between 1 and 100000",d.density);if(C0.defined(d.ignoreIcc))if(C0.bool(d.ignoreIcc))Z.ignoreIcc=d.ignoreIcc;else throw C0.invalidParameterError("ignoreIcc","boolean",d.ignoreIcc);if(C0.defined(d.limitInputPixels))if(C0.bool(d.limitInputPixels))Z.limitInputPixels=d.limitInputPixels?Math.pow(16383,2):0;else if(C0.integer(d.limitInputPixels)&&C0.inRange(d.limitInputPixels,0,Number.MAX_SAFE_INTEGER))Z.limitInputPixels=d.limitInputPixels;else throw C0.invalidParameterError("limitInputPixels","positive integer",d.limitInputPixels);if(C0.defined(d.unlimited))if(C0.bool(d.unlimited))Z.unlimited=d.unlimited;else throw C0.invalidParameterError("unlimited","boolean",d.unlimited);if(C0.defined(d.sequentialRead))if(C0.bool(d.sequentialRead))Z.sequentialRead=d.sequentialRead;else throw C0.invalidParameterError("sequentialRead","boolean",d.sequentialRead);if(C0.defined(d.raw))if(C0.object(d.raw)&&C0.integer(d.raw.width)&&d.raw.width>0&&C0.integer(d.raw.height)&&d.raw.height>0&&C0.integer(d.raw.channels)&&C0.inRange(d.raw.channels,1,4))switch(Z.rawWidth=d.raw.width,Z.rawHeight=d.raw.height,Z.rawChannels=d.raw.channels,Z.rawPremultiplied=!!d.raw.premultiplied,I.constructor){case Uint8Array:case Uint8ClampedArray:Z.rawDepth="uchar";break;case Int8Array:Z.rawDepth="char";break;case Uint16Array:Z.rawDepth="ushort";break;case Int16Array:Z.rawDepth="short";break;case Uint32Array:Z.rawDepth="uint";break;case Int32Array:Z.rawDepth="int";break;case Float32Array:Z.rawDepth="float";break;case Float64Array:Z.rawDepth="double";break;default:Z.rawDepth="uchar";break}else throw new Error("Expected width, height and channels for raw pixel input");if(C0.defined(d.animated))if(C0.bool(d.animated))Z.pages=d.animated?-1:1;else throw C0.invalidParameterError("animated","boolean",d.animated);if(C0.defined(d.pages))if(C0.integer(d.pages)&&C0.inRange(d.pages,-1,1e5))Z.pages=d.pages;else throw C0.invalidParameterError("pages","integer between -1 and 100000",d.pages);if(C0.defined(d.page))if(C0.integer(d.page)&&C0.inRange(d.page,0,1e5))Z.page=d.page;else throw C0.invalidParameterError("page","integer between 0 and 100000",d.page);if(C0.defined(d.level))if(C0.integer(d.level)&&C0.inRange(d.level,0,256))Z.level=d.level;else throw C0.invalidParameterError("level","integer between 0 and 256",d.level);if(C0.defined(d.subifd))if(C0.integer(d.subifd)&&C0.inRange(d.subifd,-1,1e5))Z.subifd=d.subifd;else throw C0.invalidParameterError("subifd","integer between -1 and 100000",d.subifd);if(C0.defined(d.create))if(C0.object(d.create)&&C0.integer(d.create.width)&&d.create.width>0&&C0.integer(d.create.height)&&d.create.height>0&&C0.integer(d.create.channels)){if(Z.createWidth=d.create.width,Z.createHeight=d.create.height,Z.createChannels=d.create.channels,C0.defined(d.create.noise)){if(!C0.object(d.create.noise))throw new Error("Expected noise to be an object");if(!C0.inArray(d.create.noise.type,["gaussian"]))throw new Error("Only gaussian noise is supported at the moment");if(!C0.inRange(d.create.channels,1,4))throw C0.invalidParameterError("create.channels","number between 1 and 4",d.create.channels);if(Z.createNoiseType=d.create.noise.type,C0.number(d.create.noise.mean)&&C0.inRange(d.create.noise.mean,0,1e4))Z.createNoiseMean=d.create.noise.mean;else throw C0.invalidParameterError("create.noise.mean","number between 0 and 10000",d.create.noise.mean);if(C0.number(d.create.noise.sigma)&&C0.inRange(d.create.noise.sigma,0,1e4))Z.createNoiseSigma=d.create.noise.sigma;else throw C0.invalidParameterError("create.noise.sigma","number between 0 and 10000",d.create.noise.sigma)}else if(C0.defined(d.create.background)){if(!C0.inRange(d.create.channels,3,4))throw C0.invalidParameterError("create.channels","number between 3 and 4",d.create.channels);let C=xd9(d.create.background);Z.createBackground=[C.red(),C.green(),C.blue(),Math.round(C.alpha()*255)]}else throw new Error("Expected valid noise or background to create a new input image");delete Z.buffer}else throw new Error("Expected valid width, height and channels to create a new input image");if(C0.defined(d.text))if(C0.object(d.text)&&C0.string(d.text.text)){if(Z.textValue=d.text.text,C0.defined(d.text.height)&&C0.defined(d.text.dpi))throw new Error("Expected only one of dpi or height");if(C0.defined(d.text.font))if(C0.string(d.text.font))Z.textFont=d.text.font;else throw C0.invalidParameterError("text.font","string",d.text.font);if(C0.defined(d.text.fontfile))if(C0.string(d.text.fontfile))Z.textFontfile=d.text.fontfile;else throw C0.invalidParameterError("text.fontfile","string",d.text.fontfile);if(C0.defined(d.text.width))if(C0.integer(d.text.width)&&d.text.width>0)Z.textWidth=d.text.width;else throw C0.invalidParameterError("text.width","positive integer",d.text.width);if(C0.defined(d.text.height))if(C0.integer(d.text.height)&&d.text.height>0)Z.textHeight=d.text.height;else throw C0.invalidParameterError("text.height","positive integer",d.text.height);if(C0.defined(d.text.align))if(C0.string(d.text.align)&&C0.string(this.constructor.align[d.text.align]))Z.textAlign=this.constructor.align[d.text.align];else throw C0.invalidParameterError("text.align","valid alignment",d.text.align);if(C0.defined(d.text.justify))if(C0.bool(d.text.justify))Z.textJustify=d.text.justify;else throw C0.invalidParameterError("text.justify","boolean",d.text.justify);if(C0.defined(d.text.dpi))if(C0.integer(d.text.dpi)&&C0.inRange(d.text.dpi,1,1e6))Z.textDpi=d.text.dpi;else throw C0.invalidParameterError("text.dpi","integer between 1 and 1000000",d.text.dpi);if(C0.defined(d.text.rgba))if(C0.bool(d.text.rgba))Z.textRgba=d.text.rgba;else throw C0.invalidParameterError("text.rgba","bool",d.text.rgba);if(C0.defined(d.text.spacing))if(C0.integer(d.text.spacing)&&C0.inRange(d.text.spacing,-1e6,1e6))Z.textSpacing=d.text.spacing;else throw C0.invalidParameterError("text.spacing","integer between -1000000 and 1000000",d.text.spacing);if(C0.defined(d.text.wrap))if(C0.string(d.text.wrap)&&C0.inArray(d.text.wrap,["word","char","word-char","none"]))Z.textWrap=d.text.wrap;else throw C0.invalidParameterError("text.wrap","one of: word, char, word-char, none",d.text.wrap);delete Z.buffer}else throw new Error("Expected a valid string to create an image with text.")}else if(C0.defined(d))throw new Error("Invalid input options "+d);return Z}function id9(I,d,G){if(Array.isArray(this.options.input.buffer))if(C0.buffer(I)){if(this.options.input.buffer.length===0)this.on("finish",()=>{this.streamInFinished=!0});this.options.input.buffer.push(I),G()}else G(new Error("Non-Buffer data on Writable Stream"));else G(new Error("Unexpected data on Writable Stream"))}function nd9(){if(this._isStreamInput())this.options.input.buffer=Buffer.concat(this.options.input.buffer)}function rd9(){return Array.isArray(this.options.input.buffer)}function ad9(I){let d=Error();if(C0.fn(I)){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),DH.metadata(this.options,(G,Z)=>{if(G)I(C0.nativeError(G,d));else I(null,Z)})});else DH.metadata(this.options,(G,Z)=>{if(G)I(C0.nativeError(G,d));else I(null,Z)});return this}else if(this._isStreamInput())return new Promise((G,Z)=>{let C=()=>{this._flattenBufferIn(),DH.metadata(this.options,(W,w)=>{if(W)Z(C0.nativeError(W,d));else G(w)})};if(this.writableFinished)C();else this.once("finish",C)});else return new Promise((G,Z)=>{DH.metadata(this.options,(C,W)=>{if(C)Z(C0.nativeError(C,d));else G(W)})})}function sd9(I){let d=Error();if(C0.fn(I)){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),DH.stats(this.options,(G,Z)=>{if(G)I(C0.nativeError(G,d));else I(null,Z)})});else DH.stats(this.options,(G,Z)=>{if(G)I(C0.nativeError(G,d));else I(null,Z)});return this}else if(this._isStreamInput())return new Promise((G,Z)=>{this.on("finish",function(){this._flattenBufferIn(),DH.stats(this.options,(C,W)=>{if(C)Z(C0.nativeError(C,d));else G(W)})})});else return new Promise((G,Z)=>{DH.stats(this.options,(C,W)=>{if(C)Z(C0.nativeError(C,d));else G(W)})})}ZK2.exports=function(I){Object.assign(I.prototype,{_inputOptionsFromObject:GK2,_createInputDescriptor:pd9,_write:id9,_flattenBufferIn:nd9,_isStreamInput:rd9,metadata:ad9,stats:sd9}),I.align=cd9}});var XK2=Y((eK3,VK2)=>{var y2=$B(),wK2={center:0,centre:0,north:1,east:2,south:3,west:4,northeast:5,southeast:6,southwest:7,northwest:8},BK2={top:1,right:2,bottom:3,left:4,"right top":5,"right bottom":6,"left bottom":7,"left top":8},WK2={background:"background",copy:"copy",repeat:"repeat",mirror:"mirror"},AK2={entropy:16,attention:17},eg1={nearest:"nearest",linear:"linear",cubic:"cubic",mitchell:"mitchell",lanczos2:"lanczos2",lanczos3:"lanczos3"},od9={contain:"contain",cover:"cover",fill:"fill",inside:"inside",outside:"outside"},ed9={contain:"embed",cover:"crop",fill:"ignore_aspect",inside:"max",outside:"min"};function tg1(I){return I.angle%360!==0||I.useExifOrientation===!0||I.rotationAngle!==0}function Es(I){return I.width!==-1||I.height!==-1}function td9(I,d,G){if(Es(this.options))this.options.debuglog("ignoring previous resize options");if(this.options.widthPost!==-1)this.options.debuglog("operation order will be: extract, resize, extract");if(y2.defined(I))if(y2.object(I)&&!y2.defined(G))G=I;else if(y2.integer(I)&&I>0)this.options.width=I;else throw y2.invalidParameterError("width","positive integer",I);else this.options.width=-1;if(y2.defined(d))if(y2.integer(d)&&d>0)this.options.height=d;else throw y2.invalidParameterError("height","positive integer",d);else this.options.height=-1;if(y2.object(G)){if(y2.defined(G.width))if(y2.integer(G.width)&&G.width>0)this.options.width=G.width;else throw y2.invalidParameterError("width","positive integer",G.width);if(y2.defined(G.height))if(y2.integer(G.height)&&G.height>0)this.options.height=G.height;else throw y2.invalidParameterError("height","positive integer",G.height);if(y2.defined(G.fit)){let Z=ed9[G.fit];if(y2.string(Z))this.options.canvas=Z;else throw y2.invalidParameterError("fit","valid fit",G.fit)}if(y2.defined(G.position)){let Z=y2.integer(G.position)?G.position:AK2[G.position]||BK2[G.position]||wK2[G.position];if(y2.integer(Z)&&(y2.inRange(Z,0,8)||y2.inRange(Z,16,17)))this.options.position=Z;else throw y2.invalidParameterError("position","valid position/gravity/strategy",G.position)}if(this._setBackgroundColourOption("resizeBackground",G.background),y2.defined(G.kernel))if(y2.string(eg1[G.kernel]))this.options.kernel=eg1[G.kernel];else throw y2.invalidParameterError("kernel","valid kernel name",G.kernel);if(y2.defined(G.withoutEnlargement))this._setBooleanOption("withoutEnlargement",G.withoutEnlargement);if(y2.defined(G.withoutReduction))this._setBooleanOption("withoutReduction",G.withoutReduction);if(y2.defined(G.fastShrinkOnLoad))this._setBooleanOption("fastShrinkOnLoad",G.fastShrinkOnLoad)}if(tg1(this.options)&&Es(this.options))this.options.rotateBeforePreExtract=!0;return this}function IG9(I){if(y2.integer(I)&&I>0)this.options.extendTop=I,this.options.extendBottom=I,this.options.extendLeft=I,this.options.extendRight=I;else if(y2.object(I)){if(y2.defined(I.top))if(y2.integer(I.top)&&I.top>=0)this.options.extendTop=I.top;else throw y2.invalidParameterError("top","positive integer",I.top);if(y2.defined(I.bottom))if(y2.integer(I.bottom)&&I.bottom>=0)this.options.extendBottom=I.bottom;else throw y2.invalidParameterError("bottom","positive integer",I.bottom);if(y2.defined(I.left))if(y2.integer(I.left)&&I.left>=0)this.options.extendLeft=I.left;else throw y2.invalidParameterError("left","positive integer",I.left);if(y2.defined(I.right))if(y2.integer(I.right)&&I.right>=0)this.options.extendRight=I.right;else throw y2.invalidParameterError("right","positive integer",I.right);if(this._setBackgroundColourOption("extendBackground",I.background),y2.defined(I.extendWith))if(y2.string(WK2[I.extendWith]))this.options.extendWith=WK2[I.extendWith];else throw y2.invalidParameterError("extendWith","one of: background, copy, repeat, mirror",I.extendWith)}else throw y2.invalidParameterError("extend","integer or object",I);return this}function dG9(I){let d=Es(this.options)||this.options.widthPre!==-1?"Post":"Pre";if(this.options[`width${d}`]!==-1)this.options.debuglog("ignoring previous extract options");if(["left","top","width","height"].forEach(function(G){let Z=I[G];if(y2.integer(Z)&&Z>=0)this.options[G+(G==="left"||G==="top"?"Offset":"")+d]=Z;else throw y2.invalidParameterError(G,"integer",Z)},this),tg1(this.options)&&!Es(this.options)){if(this.options.widthPre===-1||this.options.widthPost===-1)this.options.rotateBeforePreExtract=!0}return this}function GG9(I){if(this.options.trimThreshold=10,y2.defined(I))if(y2.object(I)){if(y2.defined(I.background))this._setBackgroundColourOption("trimBackground",I.background);if(y2.defined(I.threshold))if(y2.number(I.threshold)&&I.threshold>=0)this.options.trimThreshold=I.threshold;else throw y2.invalidParameterError("threshold","positive number",I.threshold);if(y2.defined(I.lineArt))this._setBooleanOption("trimLineArt",I.lineArt)}else throw y2.invalidParameterError("trim","object",I);if(tg1(this.options))this.options.rotateBeforePreExtract=!0;return this}VK2.exports=function(I){Object.assign(I.prototype,{resize:td9,extend:IG9,extract:dG9,trim:GG9}),I.gravity=wK2,I.strategy=AK2,I.kernel=eg1,I.fit=od9,I.position=BK2}});var _K2=Y((tK3,YK2)=>{var F9=$B(),IJ1={clear:"clear",source:"source",over:"over",in:"in",out:"out",atop:"atop",dest:"dest","dest-over":"dest-over","dest-in":"dest-in","dest-out":"dest-out","dest-atop":"dest-atop",xor:"xor",add:"add",saturate:"saturate",multiply:"multiply",screen:"screen",overlay:"overlay",darken:"darken",lighten:"lighten","colour-dodge":"colour-dodge","color-dodge":"colour-dodge","colour-burn":"colour-burn","color-burn":"colour-burn","hard-light":"hard-light","soft-light":"soft-light",difference:"difference",exclusion:"exclusion"};function ZG9(I){if(!Array.isArray(I))throw F9.invalidParameterError("images to composite","array",I);return this.options.composite=I.map((d)=>{if(!F9.object(d))throw F9.invalidParameterError("image to composite","object",d);let G=this._inputOptionsFromObject(d),Z={input:this._createInputDescriptor(d.input,G,{allowStream:!1}),blend:"over",tile:!1,left:0,top:0,hasOffset:!1,gravity:0,premultiplied:!1};if(F9.defined(d.blend))if(F9.string(IJ1[d.blend]))Z.blend=IJ1[d.blend];else throw F9.invalidParameterError("blend","valid blend name",d.blend);if(F9.defined(d.tile))if(F9.bool(d.tile))Z.tile=d.tile;else throw F9.invalidParameterError("tile","boolean",d.tile);if(F9.defined(d.left))if(F9.integer(d.left))Z.left=d.left;else throw F9.invalidParameterError("left","integer",d.left);if(F9.defined(d.top))if(F9.integer(d.top))Z.top=d.top;else throw F9.invalidParameterError("top","integer",d.top);if(F9.defined(d.top)!==F9.defined(d.left))throw new Error("Expected both left and top to be set");else Z.hasOffset=F9.integer(d.top)&&F9.integer(d.left);if(F9.defined(d.gravity))if(F9.integer(d.gravity)&&F9.inRange(d.gravity,0,8))Z.gravity=d.gravity;else if(F9.string(d.gravity)&&F9.integer(this.constructor.gravity[d.gravity]))Z.gravity=this.constructor.gravity[d.gravity];else throw F9.invalidParameterError("gravity","valid gravity",d.gravity);if(F9.defined(d.premultiplied))if(F9.bool(d.premultiplied))Z.premultiplied=d.premultiplied;else throw F9.invalidParameterError("premultiplied","boolean",d.premultiplied);return Z}),this}YK2.exports=function(I){I.prototype.composite=ZG9,I.blend=IJ1}});var FK2=Y((IN3,HK2)=>{var CG9=vs(),n1=$B(),DK2={integer:"integer",float:"float",approximate:"approximate"};function WG9(I,d){if(this.options.useExifOrientation||this.options.angle||this.options.rotationAngle)this.options.debuglog("ignoring previous rotate options");if(!n1.defined(I))this.options.useExifOrientation=!0;else if(n1.integer(I)&&!(I%90))this.options.angle=I;else if(n1.number(I)){if(this.options.rotationAngle=I,n1.object(d)&&d.background){let G=CG9(d.background);this.options.rotationBackground=[G.red(),G.green(),G.blue(),Math.round(G.alpha()*255)]}}else throw n1.invalidParameterError("angle","numeric",I);return this}function wG9(I){return this.options.flip=n1.bool(I)?I:!0,this}function BG9(I){return this.options.flop=n1.bool(I)?I:!0,this}function AG9(I,d){let G=[].concat(...I);if(G.length===4&&G.every(n1.number))this.options.affineMatrix=G;else throw n1.invalidParameterError("matrix","1x4 or 2x2 array",I);if(n1.defined(d))if(n1.object(d)){if(this._setBackgroundColourOption("affineBackground",d.background),n1.defined(d.idx))if(n1.number(d.idx))this.options.affineIdx=d.idx;else throw n1.invalidParameterError("options.idx","number",d.idx);if(n1.defined(d.idy))if(n1.number(d.idy))this.options.affineIdy=d.idy;else throw n1.invalidParameterError("options.idy","number",d.idy);if(n1.defined(d.odx))if(n1.number(d.odx))this.options.affineOdx=d.odx;else throw n1.invalidParameterError("options.odx","number",d.odx);if(n1.defined(d.ody))if(n1.number(d.ody))this.options.affineOdy=d.ody;else throw n1.invalidParameterError("options.ody","number",d.ody);if(n1.defined(d.interpolator))if(n1.inArray(d.interpolator,Object.values(this.constructor.interpolators)))this.options.affineInterpolator=d.interpolator;else throw n1.invalidParameterError("options.interpolator","valid interpolator name",d.interpolator)}else throw n1.invalidParameterError("options","object",d);return this}function VG9(I,d,G){if(!n1.defined(I))this.options.sharpenSigma=-1;else if(n1.bool(I))this.options.sharpenSigma=I?-1:0;else if(n1.number(I)&&n1.inRange(I,0.01,1e4)){if(this.options.sharpenSigma=I,n1.defined(d))if(n1.number(d)&&n1.inRange(d,0,1e4))this.options.sharpenM1=d;else throw n1.invalidParameterError("flat","number between 0 and 10000",d);if(n1.defined(G))if(n1.number(G)&&n1.inRange(G,0,1e4))this.options.sharpenM2=G;else throw n1.invalidParameterError("jagged","number between 0 and 10000",G)}else if(n1.plainObject(I)){if(n1.number(I.sigma)&&n1.inRange(I.sigma,0.000001,10))this.options.sharpenSigma=I.sigma;else throw n1.invalidParameterError("options.sigma","number between 0.000001 and 10",I.sigma);if(n1.defined(I.m1))if(n1.number(I.m1)&&n1.inRange(I.m1,0,1e6))this.options.sharpenM1=I.m1;else throw n1.invalidParameterError("options.m1","number between 0 and 1000000",I.m1);if(n1.defined(I.m2))if(n1.number(I.m2)&&n1.inRange(I.m2,0,1e6))this.options.sharpenM2=I.m2;else throw n1.invalidParameterError("options.m2","number between 0 and 1000000",I.m2);if(n1.defined(I.x1))if(n1.number(I.x1)&&n1.inRange(I.x1,0,1e6))this.options.sharpenX1=I.x1;else throw n1.invalidParameterError("options.x1","number between 0 and 1000000",I.x1);if(n1.defined(I.y2))if(n1.number(I.y2)&&n1.inRange(I.y2,0,1e6))this.options.sharpenY2=I.y2;else throw n1.invalidParameterError("options.y2","number between 0 and 1000000",I.y2);if(n1.defined(I.y3))if(n1.number(I.y3)&&n1.inRange(I.y3,0,1e6))this.options.sharpenY3=I.y3;else throw n1.invalidParameterError("options.y3","number between 0 and 1000000",I.y3)}else throw n1.invalidParameterError("sigma","number between 0.01 and 10000",I);return this}function XG9(I){if(!n1.defined(I))this.options.medianSize=3;else if(n1.integer(I)&&n1.inRange(I,1,1000))this.options.medianSize=I;else throw n1.invalidParameterError("size","integer between 1 and 1000",I);return this}function YG9(I){let d;if(n1.number(I))d=I;else if(n1.plainObject(I)){if(!n1.number(I.sigma))throw n1.invalidParameterError("options.sigma","number between 0.3 and 1000",d);if(d=I.sigma,"precision"in I)if(n1.string(DK2[I.precision]))this.options.precision=DK2[I.precision];else throw n1.invalidParameterError("precision","one of: integer, float, approximate",I.precision);if("minAmplitude"in I)if(n1.number(I.minAmplitude)&&n1.inRange(I.minAmplitude,0.001,1))this.options.minAmpl=I.minAmplitude;else throw n1.invalidParameterError("minAmplitude","number between 0.001 and 1",I.minAmplitude)}if(!n1.defined(I))this.options.blurSigma=-1;else if(n1.bool(I))this.options.blurSigma=I?-1:0;else if(n1.number(d)&&n1.inRange(d,0.3,1000))this.options.blurSigma=d;else throw n1.invalidParameterError("sigma","number between 0.3 and 1000",d);return this}function _G9(I){if(this.options.flatten=n1.bool(I)?I:!0,n1.object(I))this._setBackgroundColourOption("flattenBackground",I.background);return this}function DG9(){return this.options.unflatten=!0,this}function HG9(I,d){if(!n1.defined(I))this.options.gamma=2.2;else if(n1.number(I)&&n1.inRange(I,1,3))this.options.gamma=I;else throw n1.invalidParameterError("gamma","number between 1.0 and 3.0",I);if(!n1.defined(d))this.options.gammaOut=this.options.gamma;else if(n1.number(d)&&n1.inRange(d,1,3))this.options.gammaOut=d;else throw n1.invalidParameterError("gammaOut","number between 1.0 and 3.0",d);return this}function FG9(I){if(this.options.negate=n1.bool(I)?I:!0,n1.plainObject(I)&&"alpha"in I)if(!n1.bool(I.alpha))throw n1.invalidParameterError("alpha","should be boolean value",I.alpha);else this.options.negateAlpha=I.alpha;return this}function gG9(I){if(n1.plainObject(I)){if(n1.defined(I.lower))if(n1.number(I.lower)&&n1.inRange(I.lower,0,99))this.options.normaliseLower=I.lower;else throw n1.invalidParameterError("lower","number between 0 and 99",I.lower);if(n1.defined(I.upper))if(n1.number(I.upper)&&n1.inRange(I.upper,1,100))this.options.normaliseUpper=I.upper;else throw n1.invalidParameterError("upper","number between 1 and 100",I.upper)}if(this.options.normaliseLower>=this.options.normaliseUpper)throw n1.invalidParameterError("range","lower to be less than upper",`${this.options.normaliseLower} >= ${this.options.normaliseUpper}`);return this.options.normalise=!0,this}function JG9(I){return this.normalise(I)}function KG9(I){if(n1.plainObject(I)){if(n1.integer(I.width)&&I.width>0)this.options.claheWidth=I.width;else throw n1.invalidParameterError("width","integer greater than zero",I.width);if(n1.integer(I.height)&&I.height>0)this.options.claheHeight=I.height;else throw n1.invalidParameterError("height","integer greater than zero",I.height);if(n1.defined(I.maxSlope))if(n1.integer(I.maxSlope)&&n1.inRange(I.maxSlope,0,100))this.options.claheMaxSlope=I.maxSlope;else throw n1.invalidParameterError("maxSlope","integer between 0 and 100",I.maxSlope)}else throw n1.invalidParameterError("options","plain object",I);return this}function NG9(I){if(!n1.object(I)||!Array.isArray(I.kernel)||!n1.integer(I.width)||!n1.integer(I.height)||!n1.inRange(I.width,3,1001)||!n1.inRange(I.height,3,1001)||I.height*I.width!==I.kernel.length)throw new Error("Invalid convolution kernel");if(!n1.integer(I.scale))I.scale=I.kernel.reduce(function(d,G){return d+G},0);if(I.scale<1)I.scale=1;if(!n1.integer(I.offset))I.offset=0;return this.options.convKernel=I,this}function zG9(I,d){if(!n1.defined(I))this.options.threshold=128;else if(n1.bool(I))this.options.threshold=I?128:0;else if(n1.integer(I)&&n1.inRange(I,0,255))this.options.threshold=I;else throw n1.invalidParameterError("threshold","integer between 0 and 255",I);if(!n1.object(d)||d.greyscale===!0||d.grayscale===!0)this.options.thresholdGrayscale=!0;else this.options.thresholdGrayscale=!1;return this}function QG9(I,d,G){if(this.options.boolean=this._createInputDescriptor(I,G),n1.string(d)&&n1.inArray(d,["and","or","eor"]))this.options.booleanOp=d;else throw n1.invalidParameterError("operator","one of: and, or, eor",d);return this}function fG9(I,d){if(!n1.defined(I)&&n1.number(d))I=1;else if(n1.number(I)&&!n1.defined(d))d=0;if(!n1.defined(I))this.options.linearA=[];else if(n1.number(I))this.options.linearA=[I];else if(Array.isArray(I)&&I.length&&I.every(n1.number))this.options.linearA=I;else throw n1.invalidParameterError("a","number or array of numbers",I);if(!n1.defined(d))this.options.linearB=[];else if(n1.number(d))this.options.linearB=[d];else if(Array.isArray(d)&&d.length&&d.every(n1.number))this.options.linearB=d;else throw n1.invalidParameterError("b","number or array of numbers",d);if(this.options.linearA.length!==this.options.linearB.length)throw new Error("Expected a and b to be arrays of the same length");return this}function qG9(I){if(!Array.isArray(I))throw n1.invalidParameterError("inputMatrix","array",I);if(I.length!==3&&I.length!==4)throw n1.invalidParameterError("inputMatrix","3x3 or 4x4 array",I.length);let d=I.flat().map(Number);if(d.length!==9&&d.length!==16)throw n1.invalidParameterError("inputMatrix","cardinality of 9 or 16",d.length);return this.options.recombMatrix=d,this}function RG9(I){if(!n1.plainObject(I))throw n1.invalidParameterError("options","plain object",I);if("brightness"in I)if(n1.number(I.brightness)&&I.brightness>=0)this.options.brightness=I.brightness;else throw n1.invalidParameterError("brightness","number above zero",I.brightness);if("saturation"in I)if(n1.number(I.saturation)&&I.saturation>=0)this.options.saturation=I.saturation;else throw n1.invalidParameterError("saturation","number above zero",I.saturation);if("hue"in I)if(n1.integer(I.hue))this.options.hue=I.hue%360;else throw n1.invalidParameterError("hue","number",I.hue);if("lightness"in I)if(n1.number(I.lightness))this.options.lightness=I.lightness;else throw n1.invalidParameterError("lightness","number",I.lightness);return this}HK2.exports=function(I){Object.assign(I.prototype,{rotate:WG9,flip:wG9,flop:BG9,affine:AG9,sharpen:VG9,median:XG9,blur:YG9,flatten:_G9,unflatten:DG9,gamma:HG9,negate:FG9,normalise:gG9,normalize:JG9,clahe:KG9,convolve:NG9,threshold:zG9,boolean:QG9,linear:fG9,recomb:qG9,modulate:RG9})}});var KK2=Y((dN3,JK2)=>{var UG9=vs(),XX=$B(),gK2={multiband:"multiband","b-w":"b-w",bw:"b-w",cmyk:"cmyk",srgb:"srgb"};function vG9(I){return this._setBackgroundColourOption("tint",I),this}function EG9(I){return this.options.greyscale=XX.bool(I)?I:!0,this}function MG9(I){return this.greyscale(I)}function SG9(I){if(!XX.string(I))throw XX.invalidParameterError("colourspace","string",I);return this.options.colourspacePipeline=I,this}function LG9(I){return this.pipelineColourspace(I)}function yG9(I){if(!XX.string(I))throw XX.invalidParameterError("colourspace","string",I);return this.options.colourspace=I,this}function PG9(I){return this.toColourspace(I)}function $G9(I,d){if(XX.defined(d))if(XX.object(d)||XX.string(d)){let G=UG9(d);this.options[I]=[G.red(),G.green(),G.blue(),Math.round(G.alpha()*255)]}else throw XX.invalidParameterError("background","object or string",d)}JK2.exports=function(I){Object.assign(I.prototype,{tint:vG9,greyscale:EG9,grayscale:MG9,pipelineColourspace:SG9,pipelineColorspace:LG9,toColourspace:yG9,toColorspace:PG9,_setBackgroundColourOption:$G9}),I.colourspace=gK2,I.colorspace=gK2}});var zK2=Y((GN3,NK2)=>{var OB=$B(),uG9={and:"and",or:"or",eor:"eor"};function TG9(){return this.options.removeAlpha=!0,this}function OG9(I){if(OB.defined(I))if(OB.number(I)&&OB.inRange(I,0,1))this.options.ensureAlpha=I;else throw OB.invalidParameterError("alpha","number between 0 and 1",I);else this.options.ensureAlpha=1;return this}function mG9(I){let d={red:0,green:1,blue:2,alpha:3};if(Object.keys(d).includes(I))I=d[I];if(OB.integer(I)&&OB.inRange(I,0,4))this.options.extractChannel=I;else throw OB.invalidParameterError("channel","integer or one of: red, green, blue, alpha",I);return this}function lG9(I,d){if(Array.isArray(I))I.forEach(function(G){this.options.joinChannelIn.push(this._createInputDescriptor(G,d))},this);else this.options.joinChannelIn.push(this._createInputDescriptor(I,d));return this}function bG9(I){if(OB.string(I)&&OB.inArray(I,["and","or","eor"]))this.options.bandBoolOp=I;else throw OB.invalidParameterError("boolOp","one of: and, or, eor",I);return this}NK2.exports=function(I){Object.assign(I.prototype,{removeAlpha:TG9,ensureAlpha:OG9,extractChannel:mG9,joinChannel:lG9,bandbool:bG9}),I.bool=uG9}});var vK2=Y((ZN3,UK2)=>{var dJ1=B1("node:path"),G1=$B(),xR=c$(),QK2=new Map([["heic","heif"],["heif","heif"],["avif","avif"],["jpeg","jpeg"],["jpg","jpeg"],["jpe","jpeg"],["tile","tile"],["dz","tile"],["png","png"],["raw","raw"],["tiff","tiff"],["tif","tiff"],["webp","webp"],["gif","gif"],["jp2","jp2"],["jpx","jp2"],["j2k","jp2"],["j2c","jp2"],["jxl","jxl"]]),hG9=/\.(jp[2x]|j2[kc])$/i,fK2=()=>new Error("JP2 output requires libvips with support for OpenJPEG"),qK2=(I)=>1<<31-Math.clz32(Math.ceil(Math.log2(I)));function jG9(I,d){let G;if(!G1.string(I))G=new Error("Missing output file path");else if(G1.string(this.options.input.file)&&dJ1.resolve(this.options.input.file)===dJ1.resolve(I))G=new Error("Cannot use same file for input and output");else if(hG9.test(dJ1.extname(I))&&!this.constructor.format.jp2k.output.file)G=fK2();if(G)if(G1.fn(d))d(G);else return Promise.reject(G);else{this.options.fileOut=I;let Z=Error();return this._pipeline(d,Z)}return this}function kG9(I,d){if(G1.object(I))this._setBooleanOption("resolveWithObject",I.resolveWithObject);else if(this.options.resolveWithObject)this.options.resolveWithObject=!1;this.options.fileOut="";let G=Error();return this._pipeline(G1.fn(I)?I:d,G)}function xG9(){return this.options.keepMetadata|=1,this}function cG9(I){if(G1.object(I))for(let[d,G]of Object.entries(I))if(G1.object(G))for(let[Z,C]of Object.entries(G))if(G1.string(C))this.options.withExif[`exif-${d.toLowerCase()}-${Z}`]=C;else throw G1.invalidParameterError(`${d}.${Z}`,"string",C);else throw G1.invalidParameterError(d,"object",G);else throw G1.invalidParameterError("exif","object",I);return this.options.withExifMerge=!1,this.keepExif()}function pG9(I){return this.withExif(I),this.options.withExifMerge=!0,this}function iG9(){return this.options.keepMetadata|=8,this}function nG9(I,d){if(G1.string(I))this.options.withIccProfile=I;else throw G1.invalidParameterError("icc","string",I);if(this.keepIccProfile(),G1.object(d)){if(G1.defined(d.attach))if(G1.bool(d.attach)){if(!d.attach)this.options.keepMetadata&=-9}else throw G1.invalidParameterError("attach","boolean",d.attach)}return this}function rG9(){return this.options.keepMetadata=31,this}function aG9(I){if(this.keepMetadata(),this.withIccProfile("srgb"),G1.object(I)){if(G1.defined(I.orientation))if(G1.integer(I.orientation)&&G1.inRange(I.orientation,1,8))this.options.withMetadataOrientation=I.orientation;else throw G1.invalidParameterError("orientation","integer between 1 and 8",I.orientation);if(G1.defined(I.density))if(G1.number(I.density)&&I.density>0)this.options.withMetadataDensity=I.density;else throw G1.invalidParameterError("density","positive number",I.density);if(G1.defined(I.icc))this.withIccProfile(I.icc);if(G1.defined(I.exif))this.withExifMerge(I.exif)}return this}function sG9(I,d){let G=QK2.get((G1.object(I)&&G1.string(I.id)?I.id:I).toLowerCase());if(!G)throw G1.invalidParameterError("format",`one of: ${[...QK2.keys()].join(", ")}`,I);return this[G](d)}function oG9(I){if(G1.object(I)){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.jpegQuality=I.quality;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);if(G1.defined(I.progressive))this._setBooleanOption("jpegProgressive",I.progressive);if(G1.defined(I.chromaSubsampling))if(G1.string(I.chromaSubsampling)&&G1.inArray(I.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jpegChromaSubsampling=I.chromaSubsampling;else throw G1.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",I.chromaSubsampling);let d=G1.bool(I.optimizeCoding)?I.optimizeCoding:I.optimiseCoding;if(G1.defined(d))this._setBooleanOption("jpegOptimiseCoding",d);if(G1.defined(I.mozjpeg))if(G1.bool(I.mozjpeg)){if(I.mozjpeg)this.options.jpegTrellisQuantisation=!0,this.options.jpegOvershootDeringing=!0,this.options.jpegOptimiseScans=!0,this.options.jpegProgressive=!0,this.options.jpegQuantisationTable=3}else throw G1.invalidParameterError("mozjpeg","boolean",I.mozjpeg);let G=G1.bool(I.trellisQuantization)?I.trellisQuantization:I.trellisQuantisation;if(G1.defined(G))this._setBooleanOption("jpegTrellisQuantisation",G);if(G1.defined(I.overshootDeringing))this._setBooleanOption("jpegOvershootDeringing",I.overshootDeringing);let Z=G1.bool(I.optimizeScans)?I.optimizeScans:I.optimiseScans;if(G1.defined(Z)){if(this._setBooleanOption("jpegOptimiseScans",Z),Z)this.options.jpegProgressive=!0}let C=G1.number(I.quantizationTable)?I.quantizationTable:I.quantisationTable;if(G1.defined(C))if(G1.integer(C)&&G1.inRange(C,0,8))this.options.jpegQuantisationTable=C;else throw G1.invalidParameterError("quantisationTable","integer between 0 and 8",C)}return this._updateFormatOut("jpeg",I)}function eG9(I){if(G1.object(I)){if(G1.defined(I.progressive))this._setBooleanOption("pngProgressive",I.progressive);if(G1.defined(I.compressionLevel))if(G1.integer(I.compressionLevel)&&G1.inRange(I.compressionLevel,0,9))this.options.pngCompressionLevel=I.compressionLevel;else throw G1.invalidParameterError("compressionLevel","integer between 0 and 9",I.compressionLevel);if(G1.defined(I.adaptiveFiltering))this._setBooleanOption("pngAdaptiveFiltering",I.adaptiveFiltering);let d=I.colours||I.colors;if(G1.defined(d))if(G1.integer(d)&&G1.inRange(d,2,256))this.options.pngBitdepth=qK2(d);else throw G1.invalidParameterError("colours","integer between 2 and 256",d);if(G1.defined(I.palette))this._setBooleanOption("pngPalette",I.palette);else if([I.quality,I.effort,I.colours,I.colors,I.dither].some(G1.defined))this._setBooleanOption("pngPalette",!0);if(this.options.pngPalette){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,0,100))this.options.pngQuality=I.quality;else throw G1.invalidParameterError("quality","integer between 0 and 100",I.quality);if(G1.defined(I.effort))if(G1.integer(I.effort)&&G1.inRange(I.effort,1,10))this.options.pngEffort=I.effort;else throw G1.invalidParameterError("effort","integer between 1 and 10",I.effort);if(G1.defined(I.dither))if(G1.number(I.dither)&&G1.inRange(I.dither,0,1))this.options.pngDither=I.dither;else throw G1.invalidParameterError("dither","number between 0.0 and 1.0",I.dither)}}return this._updateFormatOut("png",I)}function tG9(I){if(G1.object(I)){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.webpQuality=I.quality;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);if(G1.defined(I.alphaQuality))if(G1.integer(I.alphaQuality)&&G1.inRange(I.alphaQuality,0,100))this.options.webpAlphaQuality=I.alphaQuality;else throw G1.invalidParameterError("alphaQuality","integer between 0 and 100",I.alphaQuality);if(G1.defined(I.lossless))this._setBooleanOption("webpLossless",I.lossless);if(G1.defined(I.nearLossless))this._setBooleanOption("webpNearLossless",I.nearLossless);if(G1.defined(I.smartSubsample))this._setBooleanOption("webpSmartSubsample",I.smartSubsample);if(G1.defined(I.preset))if(G1.string(I.preset)&&G1.inArray(I.preset,["default","photo","picture","drawing","icon","text"]))this.options.webpPreset=I.preset;else throw G1.invalidParameterError("preset","one of: default, photo, picture, drawing, icon, text",I.preset);if(G1.defined(I.effort))if(G1.integer(I.effort)&&G1.inRange(I.effort,0,6))this.options.webpEffort=I.effort;else throw G1.invalidParameterError("effort","integer between 0 and 6",I.effort);if(G1.defined(I.minSize))this._setBooleanOption("webpMinSize",I.minSize);if(G1.defined(I.mixed))this._setBooleanOption("webpMixed",I.mixed)}return RK2(I,this.options),this._updateFormatOut("webp",I)}function IZ9(I){if(G1.object(I)){if(G1.defined(I.reuse))this._setBooleanOption("gifReuse",I.reuse);if(G1.defined(I.progressive))this._setBooleanOption("gifProgressive",I.progressive);let d=I.colours||I.colors;if(G1.defined(d))if(G1.integer(d)&&G1.inRange(d,2,256))this.options.gifBitdepth=qK2(d);else throw G1.invalidParameterError("colours","integer between 2 and 256",d);if(G1.defined(I.effort))if(G1.number(I.effort)&&G1.inRange(I.effort,1,10))this.options.gifEffort=I.effort;else throw G1.invalidParameterError("effort","integer between 1 and 10",I.effort);if(G1.defined(I.dither))if(G1.number(I.dither)&&G1.inRange(I.dither,0,1))this.options.gifDither=I.dither;else throw G1.invalidParameterError("dither","number between 0.0 and 1.0",I.dither);if(G1.defined(I.interFrameMaxError))if(G1.number(I.interFrameMaxError)&&G1.inRange(I.interFrameMaxError,0,32))this.options.gifInterFrameMaxError=I.interFrameMaxError;else throw G1.invalidParameterError("interFrameMaxError","number between 0.0 and 32.0",I.interFrameMaxError);if(G1.defined(I.interPaletteMaxError))if(G1.number(I.interPaletteMaxError)&&G1.inRange(I.interPaletteMaxError,0,256))this.options.gifInterPaletteMaxError=I.interPaletteMaxError;else throw G1.invalidParameterError("interPaletteMaxError","number between 0.0 and 256.0",I.interPaletteMaxError)}return RK2(I,this.options),this._updateFormatOut("gif",I)}function dZ9(I){if(!this.constructor.format.jp2k.output.buffer)throw fK2();if(G1.object(I)){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.jp2Quality=I.quality;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);if(G1.defined(I.lossless))if(G1.bool(I.lossless))this.options.jp2Lossless=I.lossless;else throw G1.invalidParameterError("lossless","boolean",I.lossless);if(G1.defined(I.tileWidth))if(G1.integer(I.tileWidth)&&G1.inRange(I.tileWidth,1,32768))this.options.jp2TileWidth=I.tileWidth;else throw G1.invalidParameterError("tileWidth","integer between 1 and 32768",I.tileWidth);if(G1.defined(I.tileHeight))if(G1.integer(I.tileHeight)&&G1.inRange(I.tileHeight,1,32768))this.options.jp2TileHeight=I.tileHeight;else throw G1.invalidParameterError("tileHeight","integer between 1 and 32768",I.tileHeight);if(G1.defined(I.chromaSubsampling))if(G1.string(I.chromaSubsampling)&&G1.inArray(I.chromaSubsampling,["4:2:0","4:4:4"]))this.options.jp2ChromaSubsampling=I.chromaSubsampling;else throw G1.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",I.chromaSubsampling)}return this._updateFormatOut("jp2",I)}function RK2(I,d){if(G1.object(I)&&G1.defined(I.loop))if(G1.integer(I.loop)&&G1.inRange(I.loop,0,65535))d.loop=I.loop;else throw G1.invalidParameterError("loop","integer between 0 and 65535",I.loop);if(G1.object(I)&&G1.defined(I.delay))if(G1.integer(I.delay)&&G1.inRange(I.delay,0,65535))d.delay=[I.delay];else if(Array.isArray(I.delay)&&I.delay.every(G1.integer)&&I.delay.every((G)=>G1.inRange(G,0,65535)))d.delay=I.delay;else throw G1.invalidParameterError("delay","integer or an array of integers between 0 and 65535",I.delay)}function GZ9(I){if(G1.object(I)){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.tiffQuality=I.quality;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);if(G1.defined(I.bitdepth))if(G1.integer(I.bitdepth)&&G1.inArray(I.bitdepth,[1,2,4,8]))this.options.tiffBitdepth=I.bitdepth;else throw G1.invalidParameterError("bitdepth","1, 2, 4 or 8",I.bitdepth);if(G1.defined(I.tile))this._setBooleanOption("tiffTile",I.tile);if(G1.defined(I.tileWidth))if(G1.integer(I.tileWidth)&&I.tileWidth>0)this.options.tiffTileWidth=I.tileWidth;else throw G1.invalidParameterError("tileWidth","integer greater than zero",I.tileWidth);if(G1.defined(I.tileHeight))if(G1.integer(I.tileHeight)&&I.tileHeight>0)this.options.tiffTileHeight=I.tileHeight;else throw G1.invalidParameterError("tileHeight","integer greater than zero",I.tileHeight);if(G1.defined(I.miniswhite))this._setBooleanOption("tiffMiniswhite",I.miniswhite);if(G1.defined(I.pyramid))this._setBooleanOption("tiffPyramid",I.pyramid);if(G1.defined(I.xres))if(G1.number(I.xres)&&I.xres>0)this.options.tiffXres=I.xres;else throw G1.invalidParameterError("xres","number greater than zero",I.xres);if(G1.defined(I.yres))if(G1.number(I.yres)&&I.yres>0)this.options.tiffYres=I.yres;else throw G1.invalidParameterError("yres","number greater than zero",I.yres);if(G1.defined(I.compression))if(G1.string(I.compression)&&G1.inArray(I.compression,["none","jpeg","deflate","packbits","ccittfax4","lzw","webp","zstd","jp2k"]))this.options.tiffCompression=I.compression;else throw G1.invalidParameterError("compression","one of: none, jpeg, deflate, packbits, ccittfax4, lzw, webp, zstd, jp2k",I.compression);if(G1.defined(I.predictor))if(G1.string(I.predictor)&&G1.inArray(I.predictor,["none","horizontal","float"]))this.options.tiffPredictor=I.predictor;else throw G1.invalidParameterError("predictor","one of: none, horizontal, float",I.predictor);if(G1.defined(I.resolutionUnit))if(G1.string(I.resolutionUnit)&&G1.inArray(I.resolutionUnit,["inch","cm"]))this.options.tiffResolutionUnit=I.resolutionUnit;else throw G1.invalidParameterError("resolutionUnit","one of: inch, cm",I.resolutionUnit)}return this._updateFormatOut("tiff",I)}function ZZ9(I){return this.heif({...I,compression:"av1"})}function CZ9(I){if(G1.object(I)){if(G1.string(I.compression)&&G1.inArray(I.compression,["av1","hevc"]))this.options.heifCompression=I.compression;else throw G1.invalidParameterError("compression","one of: av1, hevc",I.compression);if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.heifQuality=I.quality;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);if(G1.defined(I.lossless))if(G1.bool(I.lossless))this.options.heifLossless=I.lossless;else throw G1.invalidParameterError("lossless","boolean",I.lossless);if(G1.defined(I.effort))if(G1.integer(I.effort)&&G1.inRange(I.effort,0,9))this.options.heifEffort=I.effort;else throw G1.invalidParameterError("effort","integer between 0 and 9",I.effort);if(G1.defined(I.chromaSubsampling))if(G1.string(I.chromaSubsampling)&&G1.inArray(I.chromaSubsampling,["4:2:0","4:4:4"]))this.options.heifChromaSubsampling=I.chromaSubsampling;else throw G1.invalidParameterError("chromaSubsampling","one of: 4:2:0, 4:4:4",I.chromaSubsampling);if(G1.defined(I.bitdepth))if(G1.integer(I.bitdepth)&&G1.inArray(I.bitdepth,[8,10,12])){if(I.bitdepth!==8&&this.constructor.versions.heif)throw G1.invalidParameterError("bitdepth when using prebuilt binaries",8,I.bitdepth);this.options.heifBitdepth=I.bitdepth}else throw G1.invalidParameterError("bitdepth","8, 10 or 12",I.bitdepth)}else throw G1.invalidParameterError("options","Object",I);return this._updateFormatOut("heif",I)}function WZ9(I){if(G1.object(I)){if(G1.defined(I.quality))if(G1.integer(I.quality)&&G1.inRange(I.quality,1,100))this.options.jxlDistance=I.quality>=30?0.1+(100-I.quality)*0.09:0.017666666666666667*I.quality*I.quality-1.15*I.quality+25;else throw G1.invalidParameterError("quality","integer between 1 and 100",I.quality);else if(G1.defined(I.distance))if(G1.number(I.distance)&&G1.inRange(I.distance,0,15))this.options.jxlDistance=I.distance;else throw G1.invalidParameterError("distance","number between 0.0 and 15.0",I.distance);if(G1.defined(I.decodingTier))if(G1.integer(I.decodingTier)&&G1.inRange(I.decodingTier,0,4))this.options.jxlDecodingTier=I.decodingTier;else throw G1.invalidParameterError("decodingTier","integer between 0 and 4",I.decodingTier);if(G1.defined(I.lossless))if(G1.bool(I.lossless))this.options.jxlLossless=I.lossless;else throw G1.invalidParameterError("lossless","boolean",I.lossless);if(G1.defined(I.effort))if(G1.integer(I.effort)&&G1.inRange(I.effort,3,9))this.options.jxlEffort=I.effort;else throw G1.invalidParameterError("effort","integer between 3 and 9",I.effort)}return this._updateFormatOut("jxl",I)}function wZ9(I){if(G1.object(I)){if(G1.defined(I.depth))if(G1.string(I.depth)&&G1.inArray(I.depth,["char","uchar","short","ushort","int","uint","float","complex","double","dpcomplex"]))this.options.rawDepth=I.depth;else throw G1.invalidParameterError("depth","one of: char, uchar, short, ushort, int, uint, float, complex, double, dpcomplex",I.depth)}return this._updateFormatOut("raw")}function BZ9(I){if(G1.object(I)){if(G1.defined(I.size))if(G1.integer(I.size)&&G1.inRange(I.size,1,8192))this.options.tileSize=I.size;else throw G1.invalidParameterError("size","integer between 1 and 8192",I.size);if(G1.defined(I.overlap))if(G1.integer(I.overlap)&&G1.inRange(I.overlap,0,8192)){if(I.overlap>this.options.tileSize)throw G1.invalidParameterError("overlap",`<= size (${this.options.tileSize})`,I.overlap);this.options.tileOverlap=I.overlap}else throw G1.invalidParameterError("overlap","integer between 0 and 8192",I.overlap);if(G1.defined(I.container))if(G1.string(I.container)&&G1.inArray(I.container,["fs","zip"]))this.options.tileContainer=I.container;else throw G1.invalidParameterError("container","one of: fs, zip",I.container);if(G1.defined(I.layout))if(G1.string(I.layout)&&G1.inArray(I.layout,["dz","google","iiif","iiif3","zoomify"]))this.options.tileLayout=I.layout;else throw G1.invalidParameterError("layout","one of: dz, google, iiif, iiif3, zoomify",I.layout);if(G1.defined(I.angle))if(G1.integer(I.angle)&&!(I.angle%90))this.options.tileAngle=I.angle;else throw G1.invalidParameterError("angle","positive/negative multiple of 90",I.angle);if(this._setBackgroundColourOption("tileBackground",I.background),G1.defined(I.depth))if(G1.string(I.depth)&&G1.inArray(I.depth,["onepixel","onetile","one"]))this.options.tileDepth=I.depth;else throw G1.invalidParameterError("depth","one of: onepixel, onetile, one",I.depth);if(G1.defined(I.skipBlanks))if(G1.integer(I.skipBlanks)&&G1.inRange(I.skipBlanks,-1,65535))this.options.tileSkipBlanks=I.skipBlanks;else throw G1.invalidParameterError("skipBlanks","integer between -1 and 255/65535",I.skipBlanks);else if(G1.defined(I.layout)&&I.layout==="google")this.options.tileSkipBlanks=5;let d=G1.bool(I.center)?I.center:I.centre;if(G1.defined(d))this._setBooleanOption("tileCentre",d);if(G1.defined(I.id))if(G1.string(I.id))this.options.tileId=I.id;else throw G1.invalidParameterError("id","string",I.id);if(G1.defined(I.basename))if(G1.string(I.basename))this.options.tileBasename=I.basename;else throw G1.invalidParameterError("basename","string",I.basename)}if(G1.inArray(this.options.formatOut,["jpeg","png","webp"]))this.options.tileFormat=this.options.formatOut;else if(this.options.formatOut!=="input")throw G1.invalidParameterError("format","one of: jpeg, png, webp",this.options.formatOut);return this._updateFormatOut("dz")}function AZ9(I){if(!G1.plainObject(I))throw G1.invalidParameterError("options","object",I);if(G1.integer(I.seconds)&&G1.inRange(I.seconds,0,3600))this.options.timeoutSeconds=I.seconds;else throw G1.invalidParameterError("seconds","integer between 0 and 3600",I.seconds);return this}function VZ9(I,d){if(!(G1.object(d)&&d.force===!1))this.options.formatOut=I;return this}function XZ9(I,d){if(G1.bool(d))this.options[I]=d;else throw G1.invalidParameterError(I,"boolean",d)}function YZ9(){if(!this.options.streamOut){this.options.streamOut=!0;let I=Error();this._pipeline(void 0,I)}}function _Z9(I,d){if(typeof I==="function"){if(this._isStreamInput())this.on("finish",()=>{this._flattenBufferIn(),xR.pipeline(this.options,(G,Z,C)=>{if(G)I(G1.nativeError(G,d));else I(null,Z,C)})});else xR.pipeline(this.options,(G,Z,C)=>{if(G)I(G1.nativeError(G,d));else I(null,Z,C)});return this}else if(this.options.streamOut){if(this._isStreamInput()){if(this.once("finish",()=>{this._flattenBufferIn(),xR.pipeline(this.options,(G,Z,C)=>{if(G)this.emit("error",G1.nativeError(G,d));else this.emit("info",C),this.push(Z);this.push(null),this.on("end",()=>this.emit("close"))})}),this.streamInFinished)this.emit("finish")}else xR.pipeline(this.options,(G,Z,C)=>{if(G)this.emit("error",G1.nativeError(G,d));else this.emit("info",C),this.push(Z);this.push(null),this.on("end",()=>this.emit("close"))});return this}else if(this._isStreamInput())return new Promise((G,Z)=>{this.once("finish",()=>{this._flattenBufferIn(),xR.pipeline(this.options,(C,W,w)=>{if(C)Z(G1.nativeError(C,d));else if(this.options.resolveWithObject)G({data:W,info:w});else G(W)})})});else return new Promise((G,Z)=>{xR.pipeline(this.options,(C,W,w)=>{if(C)Z(G1.nativeError(C,d));else if(this.options.resolveWithObject)G({data:W,info:w});else G(W)})})}UK2.exports=function(I){Object.assign(I.prototype,{toFile:jG9,toBuffer:kG9,keepExif:xG9,withExif:cG9,withExifMerge:pG9,keepIccProfile:iG9,withIccProfile:nG9,keepMetadata:rG9,withMetadata:aG9,toFormat:sG9,jpeg:oG9,jp2:dZ9,png:eG9,webp:tG9,tiff:GZ9,avif:ZZ9,heif:CZ9,jxl:WZ9,gif:IZ9,raw:wZ9,tile:BZ9,timeout:AZ9,_updateFormatOut:VZ9,_setBooleanOption:XZ9,_read:YZ9,_pipeline:_Z9})}});var LK2=Y((CN3,SK2)=>{var DZ9=B1("node:events"),Ms=_s(),pZ=$B(),{runtimePlatformArch:HZ9}=ng1(),KI=c$(),EK2=HZ9(),GJ1=KI.libvipsVersion(),HH=KI.format();HH.heif.output.alias=["avif","heic"];HH.jpeg.output.alias=["jpe","jpg"];HH.tiff.output.alias=["tif"];HH.jp2k.output.alias=["j2c","j2k","jp2","jpx"];var FZ9={nearest:"nearest",bilinear:"bilinear",bicubic:"bicubic",locallyBoundedBicubic:"lbb",nohalo:"nohalo",vertexSplitQuadraticBasisSpline:"vsqbs"},cR={vips:GJ1.semver};if(!GJ1.isGlobal)if(!GJ1.isWasm)try{cR=B1(`@img/sharp-${EK2}/versions`)}catch(I){try{cR=B1(`@img/sharp-libvips-${EK2}/versions`)}catch(d){}}else try{cR=(()=>{throw new Error("Cannot require module "+"@img/sharp-wasm32/versions");})()}catch(I){}cR.sharp=pg1().version;if(cR.heif&&HH.heif)HH.heif.input.fileSuffix=[".avif"],HH.heif.output.alias=["avif"];function MK2(I){if(pZ.bool(I))if(I)return KI.cache(50,20,100);else return KI.cache(0,0,0);else if(pZ.object(I))return KI.cache(I.memory,I.files,I.items);else return KI.cache()}MK2(!0);function gZ9(I){return KI.concurrency(pZ.integer(I)?I:null)}if(Ms.familySync()===Ms.GLIBC&&!KI._isUsingJemalloc())KI.concurrency(1);else if(Ms.familySync()===Ms.MUSL&&KI.concurrency()===1024)KI.concurrency(B1("node:os").availableParallelism());var JZ9=new DZ9.EventEmitter;function KZ9(){return KI.counters()}function NZ9(I){return KI.simd(pZ.bool(I)?I:null)}function zZ9(I){if(pZ.object(I))if(Array.isArray(I.operation)&&I.operation.every(pZ.string))KI.block(I.operation,!0);else throw pZ.invalidParameterError("operation","Array<string>",I.operation);else throw pZ.invalidParameterError("options","object",I)}function QZ9(I){if(pZ.object(I))if(Array.isArray(I.operation)&&I.operation.every(pZ.string))KI.block(I.operation,!1);else throw pZ.invalidParameterError("operation","Array<string>",I.operation);else throw pZ.invalidParameterError("options","object",I)}SK2.exports=function(I){I.cache=MK2,I.concurrency=gZ9,I.counters=KZ9,I.simd=NZ9,I.format=HH,I.interpolators=FZ9,I.versions=cR,I.queue=JZ9,I.block=zZ9,I.unblock=QZ9}});var PK2=Y((wN3,yK2)=>{var YX=cJ2();CK2()(YX);XK2()(YX);_K2()(YX);FK2()(YX);KK2()(YX);zK2()(YX);vK2()(YX);LK2()(YX);yK2.exports=YX});var js=Y((Ff3,_N2)=>{var UJ1=[],YN2=0,k7=(I,d)=>{if(YN2>=d)UJ1.push(I)};k7.WARN=1;k7.INFO=2;k7.DEBUG=3;k7.reset=()=>{UJ1=[]};k7.setDebugLevel=(I)=>{YN2=I};k7.warn=(I)=>k7(I,k7.WARN);k7.info=(I)=>k7(I,k7.INFO);k7.debug=(I)=>k7(I,k7.DEBUG);k7.debugMessages=()=>UJ1;_N2.exports=k7});var HN2=Y((gf3,DN2)=>{DN2.exports=({onlyFirst:I=!1}={})=>{let d=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(d,I?void 0:"g")}});var gN2=Y((Jf3,FN2)=>{var zC9=HN2();FN2.exports=(I)=>typeof I==="string"?I.replace(zC9(),""):I});var KN2=Y((Kf3,vJ1)=>{var JN2=(I)=>{if(Number.isNaN(I))return!1;if(I>=4352&&(I<=4447||I===9001||I===9002||11904<=I&&I<=12871&&I!==12351||12880<=I&&I<=19903||19968<=I&&I<=42182||43360<=I&&I<=43388||44032<=I&&I<=55203||63744<=I&&I<=64255||65040<=I&&I<=65049||65072<=I&&I<=65131||65281<=I&&I<=65376||65504<=I&&I<=65510||110592<=I&&I<=110593||127488<=I&&I<=127569||131072<=I&&I<=262141))return!0;return!1};vJ1.exports=JN2;vJ1.exports.default=JN2});var zN2=Y((Nf3,NN2)=>{NN2.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var fN2=Y((zf3,EJ1)=>{var QC9=gN2(),fC9=KN2(),qC9=zN2(),QN2=(I)=>{if(typeof I!=="string"||I.length===0)return 0;if(I=QC9(I),I.length===0)return 0;I=I.replace(qC9(),"  ");let d=0;for(let G=0;G<I.length;G++){let Z=I.codePointAt(G);if(Z<=31||Z>=127&&Z<=159)continue;if(Z>=768&&Z<=879)continue;if(Z>65535)G++;d+=fC9(Z)?2:1}return d};EJ1.exports=QN2;EJ1.exports.default=QN2});var MJ1=Y((Qf3,vN2)=>{var qN2=fN2();function ks(I){return I?/\u001b\[((?:\d*;){0,5}\d*)m/g:/\u001b\[(?:\d*;){0,5}\d*m/g}function mB(I){let d=ks();return(""+I).replace(d,"").split(`
`).reduce(function(C,W){return qN2(W)>C?qN2(W):C},0)}function du(I,d){return Array(d+1).join(I)}function RC9(I,d,G,Z){let C=mB(I);if(d+1>=C){let W=d-C;switch(Z){case"right":{I=du(G,W)+I;break}case"center":{let w=Math.ceil(W/2),B=W-w;I=du(G,B)+I+du(G,w);break}default:{I=I+du(G,W);break}}}return I}var oR={};function Gu(I,d,G){d="\x1B["+d+"m",G="\x1B["+G+"m",oR[d]={set:I,to:!0},oR[G]={set:I,to:!1},oR[I]={on:d,off:G}}Gu("bold",1,22);Gu("italics",3,23);Gu("underline",4,24);Gu("inverse",7,27);Gu("strikethrough",9,29);function RN2(I,d){let G=d[1]?parseInt(d[1].split(";")[0]):0;if(G>=30&&G<=39||G>=90&&G<=97){I.lastForegroundAdded=d[0];return}if(G>=40&&G<=49||G>=100&&G<=107){I.lastBackgroundAdded=d[0];return}if(G===0){for(let C in I)if(Object.prototype.hasOwnProperty.call(I,C))delete I[C];return}let Z=oR[d[0]];if(Z)I[Z.set]=Z.to}function UC9(I){let d=ks(!0),G=d.exec(I),Z={};while(G!==null)RN2(Z,G),G=d.exec(I);return Z}function UN2(I,d){let{lastBackgroundAdded:G,lastForegroundAdded:Z}=I;if(delete I.lastBackgroundAdded,delete I.lastForegroundAdded,Object.keys(I).forEach(function(C){if(I[C])d+=oR[C].off}),G&&G!="\x1B[49m")d+="\x1B[49m";if(Z&&Z!="\x1B[39m")d+="\x1B[39m";return d}function vC9(I,d){let{lastBackgroundAdded:G,lastForegroundAdded:Z}=I;if(delete I.lastBackgroundAdded,delete I.lastForegroundAdded,Object.keys(I).forEach(function(C){if(I[C])d=oR[C].on+d}),G&&G!="\x1B[49m")d=G+d;if(Z&&Z!="\x1B[39m")d=Z+d;return d}function EC9(I,d){if(I.length===mB(I))return I.substr(0,d);while(mB(I)>d)I=I.slice(0,-1);return I}function MC9(I,d){let G=ks(!0),Z=I.split(ks()),C=0,W=0,w="",B,A={};while(W<d){B=G.exec(I);let V=Z[C];if(C++,W+mB(V)>d)V=EC9(V,d-W);if(w+=V,W+=mB(V),W<d){if(!B)break;w+=B[0],RN2(A,B)}}return UN2(A,w)}function SC9(I,d,G){if(G=G||"…",mB(I)<=d)return I;d-=mB(G);let C=MC9(I,d);C+=G;let W="\x1B]8;;\x07";if(I.includes(W)&&!C.includes(W))C+=W;return C}function LC9(){return{chars:{top:"─","top-mid":"┬","top-left":"┌","top-right":"┐",bottom:"─","bottom-mid":"┴","bottom-left":"└","bottom-right":"┘",left:"│","left-mid":"├",mid:"─","mid-mid":"┼",right:"│","right-mid":"┤",middle:"│"},truncate:"…",colWidths:[],rowHeights:[],colAligns:[],rowAligns:[],style:{"padding-left":1,"padding-right":1,head:["red"],border:["grey"],compact:!1},head:[]}}function yC9(I,d){I=I||{},d=d||LC9();let G=Object.assign({},d,I);return G.chars=Object.assign({},d.chars,I.chars),G.style=Object.assign({},d.style,I.style),G}function PC9(I,d){let G=[],Z=d.split(/(\s+)/g),C=[],W=0,w;for(let B=0;B<Z.length;B+=2){let A=Z[B],V=W+mB(A);if(W>0&&w)V+=w.length;if(V>I){if(W!==0)G.push(C.join(""));C=[A],W=mB(A)}else C.push(w||"",A),W=V;w=Z[B+1]}if(W)G.push(C.join(""));return G}function $C9(I,d){let G=[],Z="";function C(w,B){if(Z.length&&B)Z+=B;Z+=w;while(Z.length>I)G.push(Z.slice(0,I)),Z=Z.slice(I)}let W=d.split(/(\s+)/g);for(let w=0;w<W.length;w+=2)C(W[w],w&&W[w-1]);if(Z.length)G.push(Z);return G}function uC9(I,d,G=!0){let Z=[];d=d.split(`
`);let C=G?PC9:$C9;for(let W=0;W<d.length;W++)Z.push.apply(Z,C(I,d[W]));return Z}function TC9(I){let d={},G=[];for(let Z=0;Z<I.length;Z++){let C=vC9(d,I[Z]);d=UC9(C);let W=Object.assign({},d);G.push(UN2(W,C))}return G}function OC9(I,d){return["\x1B]","8",";",";",I||d,"\x07",d,"\x1B]","8",";",";","\x07"].join("")}vN2.exports={strlen:mB,repeat:du,pad:RC9,truncate:SC9,mergeOptions:yC9,wordWrap:uC9,colorizeLines:TC9,hyperlink:OC9}});var LN2=Y((ff3,SN2)=>{var MN2={};SN2.exports=MN2;var EN2={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(EN2).forEach(function(I){var d=EN2[I],G=MN2[I]=[];G.open="\x1B["+d[0]+"m",G.close="\x1B["+d[1]+"m"})});var PN2=Y((qf3,yN2)=>{yN2.exports=function(I,d){d=d||process.argv;var G=d.indexOf("--"),Z=/^-{1,2}/.test(I)?"":"--",C=d.indexOf(Z+I);return C!==-1&&(G===-1?!0:C<G)}});var uN2=Y((Rf3,$N2)=>{var mC9=B1("os"),NW=PN2(),QI=process.env,eR=void 0;if(NW("no-color")||NW("no-colors")||NW("color=false"))eR=!1;else if(NW("color")||NW("colors")||NW("color=true")||NW("color=always"))eR=!0;if("FORCE_COLOR"in QI)eR=QI.FORCE_COLOR.length===0||parseInt(QI.FORCE_COLOR,10)!==0;function lC9(I){if(I===0)return!1;return{level:I,hasBasic:!0,has256:I>=2,has16m:I>=3}}function bC9(I){if(eR===!1)return 0;if(NW("color=16m")||NW("color=full")||NW("color=truecolor"))return 3;if(NW("color=256"))return 2;if(I&&!I.isTTY&&eR!==!0)return 0;var d=eR?1:0;if(process.platform==="win32"){var G=mC9.release().split(".");if(Number(process.versions.node.split(".")[0])>=8&&Number(G[0])>=10&&Number(G[2])>=10586)return Number(G[2])>=14931?3:2;return 1}if("CI"in QI){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(C){return C in QI})||QI.CI_NAME==="codeship")return 1;return d}if("TEAMCITY_VERSION"in QI)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(QI.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in QI){var Z=parseInt((QI.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(QI.TERM_PROGRAM){case"iTerm.app":return Z>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(QI.TERM))return 2;if(/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(QI.TERM))return 1;if("COLORTERM"in QI)return 1;if(QI.TERM==="dumb")return d;return d}function SJ1(I){var d=bC9(I);return lC9(d)}$N2.exports={supportsColor:SJ1,stdout:SJ1(process.stdout),stderr:SJ1(process.stderr)}});var ON2=Y((Uf3,TN2)=>{TN2.exports=function I(d,G){var Z="";d=d||"Run the trap, drop the bass",d=d.split("");var C={a:["@","Ą","Ⱥ","Ʌ","Δ","Λ","Д"],b:["ß","Ɓ","Ƀ","ɮ","β","฿"],c:["©","Ȼ","Ͼ"],d:["Ð","Ɗ","Ԁ","ԁ","Ԃ","ԃ"],e:["Ë","ĕ","Ǝ","ɘ","Σ","ξ","Ҽ","੬"],f:["Ӻ"],g:["ɢ"],h:["Ħ","ƕ","Ң","Һ","Ӈ","Ԋ"],i:["༏"],j:["Ĵ"],k:["ĸ","Ҡ","Ӄ","Ԟ"],l:["Ĺ"],m:["ʍ","Ӎ","ӎ","Ԡ","ԡ","൩"],n:["Ñ","ŋ","Ɲ","Ͷ","Π","Ҋ"],o:["Ø","õ","ø","Ǿ","ʘ","Ѻ","ם","۝","๏"],p:["Ƿ","Ҏ"],q:["্"],r:["®","Ʀ","Ȑ","Ɍ","ʀ","Я"],s:["§","Ϟ","ϟ","Ϩ"],t:["Ł","Ŧ","ͳ"],u:["Ʊ","Ս"],v:["ט"],w:["Ш","Ѡ","Ѽ","൰"],x:["Ҳ","Ӿ","Ӽ","ӽ"],y:["¥","Ұ","Ӌ"],z:["Ƶ","ɀ"]};return d.forEach(function(W){W=W.toLowerCase();var w=C[W]||[" "],B=Math.floor(Math.random()*w.length);if(typeof C[W]!=="undefined")Z+=C[W][B];else Z+=W}),Z}});var lN2=Y((vf3,mN2)=>{mN2.exports=function I(d,G){d=d||"   he is here   ";var Z={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},C=[].concat(Z.up,Z.down,Z.mid);function W(A){var V=Math.floor(Math.random()*A);return V}function w(A){var V=!1;return C.filter(function(X){V=X===A}),V}function B(A,V){var X="",_,F;V=V||{},V.up=typeof V.up!=="undefined"?V.up:!0,V.mid=typeof V.mid!=="undefined"?V.mid:!0,V.down=typeof V.down!=="undefined"?V.down:!0,V.size=typeof V.size!=="undefined"?V.size:"maxi",A=A.split("");for(F in A){if(w(F))continue;switch(X=X+A[F],_={up:0,down:0,mid:0},V.size){case"mini":_.up=W(8),_.mid=W(2),_.down=W(8);break;case"maxi":_.up=W(16)+3,_.mid=W(4)+1,_.down=W(64)+3;break;default:_.up=W(8)+1,_.mid=W(6)/2,_.down=W(8)+1;break}var g=["up","mid","down"];for(var J in g){var K=g[J];for(var Q=0;Q<=_[K];Q++)if(V[K])X=X+Z[K][W(Z[K].length)]}}return X}return B(d,G)}});var hN2=Y((Ef3,bN2)=>{bN2.exports=function(I){return function(d,G,Z){if(d===" ")return d;switch(G%3){case 0:return I.red(d);case 1:return I.white(d);case 2:return I.blue(d)}}}});var kN2=Y((Mf3,jN2)=>{jN2.exports=function(I){return function(d,G,Z){return G%2===0?d:I.inverse(d)}}});var cN2=Y((Sf3,xN2)=>{xN2.exports=function(I){var d=["red","yellow","green","blue","magenta"];return function(G,Z,C){if(G===" ")return G;else return I[d[Z++%d.length]](G)}}});var iN2=Y((Lf3,pN2)=>{pN2.exports=function(I){var d=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(G,Z,C){return G===" "?G:I[d[Math.round(Math.random()*(d.length-2))]](G)}}});var eN2=Y((Pf3,oN2)=>{var o4={};oN2.exports=o4;o4.themes={};var hC9=B1("util"),ZK=o4.styles=LN2(),rN2=Object.defineProperties,jC9=new RegExp(/[\r\n]+/g);o4.supportsColor=uN2().supportsColor;if(typeof o4.enabled==="undefined")o4.enabled=o4.supportsColor()!==!1;o4.enable=function(){o4.enabled=!0};o4.disable=function(){o4.enabled=!1};o4.stripColors=o4.strip=function(I){return(""+I).replace(/\x1B\[\d+m/g,"")};var yf3=o4.stylize=function I(d,G){if(!o4.enabled)return d+"";var Z=ZK[G];if(!Z&&G in o4)return o4[G](d);return Z.open+d+Z.close},kC9=/[|\\{}()[\]^$+*?.]/g,xC9=function(I){if(typeof I!=="string")throw new TypeError("Expected a string");return I.replace(kC9,"\\$&")};function aN2(I){var d=function G(){return pC9.apply(G,arguments)};return d._styles=I,d.__proto__=cC9,d}var sN2=function(){var I={};return ZK.grey=ZK.gray,Object.keys(ZK).forEach(function(d){ZK[d].closeRe=new RegExp(xC9(ZK[d].close),"g"),I[d]={get:function(){return aN2(this._styles.concat(d))}}}),I}(),cC9=rN2(function I(){},sN2);function pC9(){var I=Array.prototype.slice.call(arguments),d=I.map(function(w){if(w!=null&&w.constructor===String)return w;else return hC9.inspect(w)}).join(" ");if(!o4.enabled||!d)return d;var G=d.indexOf(`
`)!=-1,Z=this._styles,C=Z.length;while(C--){var W=ZK[Z[C]];if(d=W.open+d.replace(W.closeRe,W.open)+W.close,G)d=d.replace(jC9,function(w){return W.close+w+W.open})}return d}o4.setTheme=function(I){if(typeof I==="string"){console.log("colors.setTheme now only accepts an object, not a string.  If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file.  The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var d in I)(function(G){o4[G]=function(Z){if(typeof I[G]==="object"){var C=Z;for(var W in I[G])C=o4[I[G][W]](C);return C}return o4[I[G]](Z)}})(d)};function iC9(){var I={};return Object.keys(sN2).forEach(function(d){I[d]={get:function(){return aN2([d])}}}),I}var nC9=function I(d,G){var Z=G.split("");return Z=Z.map(d),Z.join("")};o4.trap=ON2();o4.zalgo=lN2();o4.maps={};o4.maps.america=hN2()(o4);o4.maps.zebra=kN2()(o4);o4.maps.rainbow=cN2()(o4);o4.maps.random=iN2()(o4);for(nN2 in o4.maps)(function(I){o4[I]=function(d){return nC9(o4.maps[I],d)}})(nN2);var nN2;rN2(o4,iC9())});var Iz2=Y(($f3,tN2)=>{var rC9=eN2();tN2.exports=rC9});var Cz2=Y((uf3,ps)=>{var{info:aC9,debug:Zz2}=js(),DG=MJ1();class Zu{constructor(I){this.setOptions(I),this.x=null,this.y=null}setOptions(I){if(["boolean","number","bigint","string"].indexOf(typeof I)!==-1)I={content:""+I};I=I||{},this.options=I;let d=I.content;if(["boolean","number","bigint","string"].indexOf(typeof d)!==-1)this.content=String(d);else if(!d)this.content=this.options.href||"";else throw new Error("Content needs to be a primitive, got: "+typeof d);if(this.colSpan=I.colSpan||1,this.rowSpan=I.rowSpan||1,this.options.href)Object.defineProperty(this,"href",{get(){return this.options.href}})}mergeTableOptions(I,d){this.cells=d;let G=this.options.chars||{},Z=I.chars,C=this.chars={};oC9.forEach(function(B){LJ1(G,Z,B,C)}),this.truncate=this.options.truncate||I.truncate;let W=this.options.style=this.options.style||{},w=I.style;LJ1(W,w,"padding-left",this),LJ1(W,w,"padding-right",this),this.head=W.head||w.head,this.border=W.border||w.border,this.fixedWidth=I.colWidths[this.x],this.lines=this.computeLines(I),this.desiredWidth=DG.strlen(this.content)+this.paddingLeft+this.paddingRight,this.desiredHeight=this.lines.length}computeLines(I){let d=I.wordWrap||I.textWrap,{wordWrap:G=d}=this.options;if(this.fixedWidth&&G){if(this.fixedWidth-=this.paddingLeft+this.paddingRight,this.colSpan){let W=1;while(W<this.colSpan)this.fixedWidth+=I.colWidths[this.x+W],W++}let{wrapOnWordBoundary:Z=!0}=I,{wrapOnWordBoundary:C=Z}=this.options;return this.wrapLines(DG.wordWrap(this.fixedWidth,this.content,C))}return this.wrapLines(this.content.split(`
`))}wrapLines(I){let d=DG.colorizeLines(I);if(this.href)return d.map((G)=>DG.hyperlink(this.href,G));return d}init(I){let d=this.x,G=this.y;this.widths=I.colWidths.slice(d,d+this.colSpan),this.heights=I.rowHeights.slice(G,G+this.rowSpan),this.width=this.widths.reduce(Gz2,-1),this.height=this.heights.reduce(Gz2,-1),this.hAlign=this.options.hAlign||I.colAligns[d],this.vAlign=this.options.vAlign||I.rowAligns[G],this.drawRight=d+this.colSpan==I.colWidths.length}draw(I,d){if(I=="top")return this.drawTop(this.drawRight);if(I=="bottom")return this.drawBottom(this.drawRight);let G=DG.truncate(this.content,10,this.truncate);if(!I)aC9(`${this.y}-${this.x}: ${this.rowSpan-I}x${this.colSpan} Cell ${G}`);let Z=Math.max(this.height-this.lines.length,0),C;switch(this.vAlign){case"center":C=Math.ceil(Z/2);break;case"bottom":C=Z;break;default:C=0}if(I<C||I>=C+this.lines.length)return this.drawEmpty(this.drawRight,d);let W=this.lines.length>this.height&&I+1>=this.height;return this.drawLine(I-C,this.drawRight,W,d)}drawTop(I){let d=[];if(this.cells)this.widths.forEach(function(G,Z){d.push(this._topLeftChar(Z)),d.push(DG.repeat(this.chars[this.y==0?"top":"mid"],G))},this);else d.push(this._topLeftChar(0)),d.push(DG.repeat(this.chars[this.y==0?"top":"mid"],this.width));if(I)d.push(this.chars[this.y==0?"topRight":"rightMid"]);return this.wrapWithStyleColors("border",d.join(""))}_topLeftChar(I){let d=this.x+I,G;if(this.y==0)G=d==0?"topLeft":I==0?"topMid":"top";else if(d==0)G="leftMid";else if(G=I==0?"midMid":"bottomMid",this.cells){if(this.cells[this.y-1][d]instanceof Zu.ColSpanCell)G=I==0?"topMid":"mid";if(I==0){let C=1;while(this.cells[this.y][d-C]instanceof Zu.ColSpanCell)C++;if(this.cells[this.y][d-C]instanceof Zu.RowSpanCell)G="leftMid"}}return this.chars[G]}wrapWithStyleColors(I,d){if(this[I]&&this[I].length)try{let G=Iz2();for(let Z=this[I].length-1;Z>=0;Z--)G=G[this[I][Z]];return G(d)}catch(G){return d}else return d}drawLine(I,d,G,Z){let C=this.chars[this.x==0?"left":"middle"];if(this.x&&Z&&this.cells){let _=this.cells[this.y+Z][this.x-1];while(_ instanceof xs)_=this.cells[_.y][_.x-1];if(!(_ instanceof cs))C=this.chars.rightMid}let W=DG.repeat(" ",this.paddingLeft),w=d?this.chars.right:"",B=DG.repeat(" ",this.paddingRight),A=this.lines[I],V=this.width-(this.paddingLeft+this.paddingRight);if(G)A+=this.truncate||"…";let X=DG.truncate(A,V,this.truncate);return X=DG.pad(X,V," ",this.hAlign),X=W+X+B,this.stylizeLine(C,X,w)}stylizeLine(I,d,G){if(I=this.wrapWithStyleColors("border",I),G=this.wrapWithStyleColors("border",G),this.y===0)d=this.wrapWithStyleColors("head",d);return I+d+G}drawBottom(I){let d=this.chars[this.x==0?"bottomLeft":"bottomMid"],G=DG.repeat(this.chars.bottom,this.width),Z=I?this.chars.bottomRight:"";return this.wrapWithStyleColors("border",d+G+Z)}drawEmpty(I,d){let G=this.chars[this.x==0?"left":"middle"];if(this.x&&d&&this.cells){let W=this.cells[this.y+d][this.x-1];while(W instanceof xs)W=this.cells[W.y][W.x-1];if(!(W instanceof cs))G=this.chars.rightMid}let Z=I?this.chars.right:"",C=DG.repeat(" ",this.width);return this.stylizeLine(G,C,Z)}}class xs{constructor(){}draw(I){if(typeof I==="number")Zz2(`${this.y}-${this.x}: 1x1 ColSpanCell`);return""}init(){}mergeTableOptions(){}}class cs{constructor(I){this.originalCell=I}init(I){let d=this.y,G=this.originalCell.y;this.cellOffset=d-G,this.offset=sC9(I.rowHeights,G,this.cellOffset)}draw(I){if(I=="top")return this.originalCell.draw(this.offset,this.cellOffset);if(I=="bottom")return this.originalCell.draw("bottom");return Zz2(`${this.y}-${this.x}: 1x${this.colSpan} RowSpanCell for ${this.originalCell.content}`),this.originalCell.draw(this.offset+1+I)}mergeTableOptions(){}}function dz2(...I){return I.filter((d)=>d!==void 0&&d!==null).shift()}function LJ1(I,d,G,Z){let C=G.split("-");if(C.length>1)C[1]=C[1].charAt(0).toUpperCase()+C[1].substr(1),C=C.join(""),Z[C]=dz2(I[C],I[G],d[C],d[G]);else Z[G]=dz2(I[G],d[G])}function sC9(I,d,G){let Z=I[d];for(let C=1;C<G;C++)Z+=1+I[d+C];return Z}function Gz2(I,d){return I+d+1}var oC9=["top","top-mid","top-left","top-right","bottom","bottom-mid","bottom-left","bottom-right","left","left-mid","mid","mid-mid","right","right-mid","middle"];ps.exports=Zu;ps.exports.ColSpanCell=xs;ps.exports.RowSpanCell=cs});var Bz2=Y((Tf3,wz2)=>{var{warn:eC9,debug:tC9}=js(),yJ1=Cz2(),{ColSpanCell:IW9,RowSpanCell:dW9}=yJ1;(function(){function I(g,J){if(g[J]>0)return I(g,J+1);return J}function d(g){let J={};g.forEach(function(K,Q){let E=0;K.forEach(function(S){S.y=Q,S.x=Q?I(J,E):E;let P=S.rowSpan||1,$=S.colSpan||1;if(P>1)for(let h=0;h<$;h++)J[S.x+h]=P;E=S.x+$}),Object.keys(J).forEach((S)=>{if(J[S]--,J[S]<1)delete J[S]})})}function G(g){let J=0;return g.forEach(function(K){K.forEach(function(Q){J=Math.max(J,Q.x+(Q.colSpan||1))})}),J}function Z(g){return g.length}function C(g,J){let K=g.y,Q=g.y-1+(g.rowSpan||1),E=J.y,S=J.y-1+(J.rowSpan||1),P=!(K>S||E>Q),$=g.x,h=g.x-1+(g.colSpan||1),O=J.x,T=J.x-1+(J.colSpan||1),V1=!($>T||O>h);return P&&V1}function W(g,J,K){let Q=Math.min(g.length-1,K),E={x:J,y:K};for(let S=0;S<=Q;S++){let P=g[S];for(let $=0;$<P.length;$++)if(C(E,P[$]))return!0}return!1}function w(g,J,K,Q){for(let E=K;E<Q;E++)if(W(g,E,J))return!1;return!0}function B(g){g.forEach(function(J,K){J.forEach(function(Q){for(let E=1;E<Q.rowSpan;E++){let S=new dW9(Q);S.x=Q.x,S.y=Q.y+E,S.colSpan=Q.colSpan,V(S,g[K+E])}})})}function A(g){for(let J=g.length-1;J>=0;J--){let K=g[J];for(let Q=0;Q<K.length;Q++){let E=K[Q];for(let S=1;S<E.colSpan;S++){let P=new IW9;P.x=E.x+S,P.y=E.y,K.splice(Q+1,0,P)}}}}function V(g,J){let K=0;while(K<J.length&&J[K].x<g.x)K++;J.splice(K,0,g)}function X(g){let J=Z(g),K=G(g);tC9(`Max rows: ${J}; Max cols: ${K}`);for(let Q=0;Q<J;Q++)for(let E=0;E<K;E++)if(!W(g,E,Q)){let S={x:E,y:Q,colSpan:1,rowSpan:1};E++;while(E<K&&!W(g,E,Q))S.colSpan++,E++;let P=Q+1;while(P<J&&w(g,P,S.x,S.x+S.colSpan))S.rowSpan++,P++;let $=new yJ1(S);$.x=S.x,$.y=S.y,eC9(`Missing cell at ${$.y}-${$.x}.`),V($,g[Q])}}function _(g){return g.map(function(J){if(!Array.isArray(J)){let K=Object.keys(J)[0];if(J=J[K],Array.isArray(J))J=J.slice(),J.unshift(K);else J=[K,J]}return J.map(function(K){return new yJ1(K)})})}function F(g){let J=_(g);return d(J),X(J),B(J),A(J),J}wz2.exports={makeTableLayout:F,layoutTable:d,addRowSpanCells:B,maxWidth:G,fillInTable:X,computeWidths:Wz2("colSpan","desiredWidth","x",1),computeHeights:Wz2("rowSpan","desiredHeight","y",1)}})();function Wz2(I,d,G,Z){return function(C,W){let w=[],B=[],A={};W.forEach(function(V){V.forEach(function(X){if((X[I]||1)>1)B.push(X);else w[X[G]]=Math.max(w[X[G]]||0,X[d]||0,Z)})}),C.forEach(function(V,X){if(typeof V==="number")w[X]=V});for(let V=B.length-1;V>=0;V--){let X=B[V],_=X[I],F=X[G],g=w[F],J=typeof C[F]==="number"?0:1;if(typeof g==="number"){for(let K=1;K<_;K++)if(g+=1+w[F+K],typeof C[F+K]!=="number")J++}else if(g=d==="desiredWidth"?X.desiredWidth-1:1,!A[F]||A[F]<g)A[F]=g;if(X[d]>g){let K=0;while(J>0&&X[d]>g){if(typeof C[F+K]!=="number"){let Q=Math.round((X[d]-g)/J);g+=Q,w[F+K]+=Q,J--}K++}}}Object.assign(C,w,A);for(let V=0;V<C.length;V++)C[V]=Math.max(Z,C[V]||0)}}});var Vz2=Y((Of3,Az2)=>{var DX=js(),GW9=MJ1(),PJ1=Bz2();class uJ1 extends Array{constructor(I){super();let d=GW9.mergeOptions(I);if(Object.defineProperty(this,"options",{value:d,enumerable:d.debug}),d.debug){switch(typeof d.debug){case"boolean":DX.setDebugLevel(DX.WARN);break;case"number":DX.setDebugLevel(d.debug);break;case"string":DX.setDebugLevel(parseInt(d.debug,10));break;default:DX.setDebugLevel(DX.WARN),DX.warn(`Debug option is expected to be boolean, number, or string. Received a ${typeof d.debug}`)}Object.defineProperty(this,"messages",{get(){return DX.debugMessages()}})}}toString(){let I=this,d=this.options.head&&this.options.head.length;if(d){if(I=[this.options.head],this.length)I.push.apply(I,this)}else this.options.style.head=[];let G=PJ1.makeTableLayout(I);G.forEach(function(C){C.forEach(function(W){W.mergeTableOptions(this.options,G)},this)},this),PJ1.computeWidths(this.options.colWidths,G),PJ1.computeHeights(this.options.rowHeights,G),G.forEach(function(C){C.forEach(function(W){W.init(this.options)},this)},this);let Z=[];for(let C=0;C<G.length;C++){let W=G[C],w=this.options.rowHeights[C];if(C===0||!this.options.style.compact||C==1&&d)$J1(W,"top",Z);for(let B=0;B<w;B++)$J1(W,B,Z);if(C+1==G.length)$J1(W,"bottom",Z)}return Z.join(`
`)}get width(){return this.toString().split(`
`)[0].length}}uJ1.reset=()=>DX.reset();function $J1(I,d,G){let Z=[];I.forEach(function(W){Z.push(W.draw(d))});let C=Z.join("");if(C.length)G.push(C)}Az2.exports=uJ1});var ru=Y((tA9)=>{class WN1 extends Error{constructor(I,d,G){super(G);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name,this.code=d,this.exitCode=I,this.nestedError=void 0}}class Jq2 extends WN1{constructor(I){super(1,"commander.invalidArgument",I);Error.captureStackTrace(this,this.constructor),this.name=this.constructor.name}}tA9.CommanderError=WN1;tA9.InvalidArgumentError=Jq2});var eo=Y((CV9)=>{var{InvalidArgumentError:GV9}=ru();class Kq2{constructor(I,d){switch(this.description=d||"",this.variadic=!1,this.parseArg=void 0,this.defaultValue=void 0,this.defaultValueDescription=void 0,this.argChoices=void 0,I[0]){case"<":this.required=!0,this._name=I.slice(1,-1);break;case"[":this.required=!1,this._name=I.slice(1,-1);break;default:this.required=!0,this._name=I;break}if(this._name.length>3&&this._name.slice(-3)==="...")this.variadic=!0,this._name=this._name.slice(0,-3)}name(){return this._name}_concatValue(I,d){if(d===this.defaultValue||!Array.isArray(d))return[I];return d.concat(I)}default(I,d){return this.defaultValue=I,this.defaultValueDescription=d,this}argParser(I){return this.parseArg=I,this}choices(I){return this.argChoices=I.slice(),this.parseArg=(d,G)=>{if(!this.argChoices.includes(d))throw new GV9(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(d,G);return d},this}argRequired(){return this.required=!0,this}argOptional(){return this.required=!1,this}}function ZV9(I){let d=I.name()+(I.variadic===!0?"...":"");return I.required?"<"+d+">":"["+d+"]"}CV9.Argument=Kq2;CV9.humanReadableArgName=ZV9});var wN1=Y((AV9)=>{var{humanReadableArgName:BV9}=eo();class Nq2{constructor(){this.helpWidth=void 0,this.sortSubcommands=!1,this.sortOptions=!1,this.showGlobalOptions=!1}visibleCommands(I){let d=I.commands.filter((Z)=>!Z._hidden),G=I._getHelpCommand();if(G&&!G._hidden)d.push(G);if(this.sortSubcommands)d.sort((Z,C)=>{return Z.name().localeCompare(C.name())});return d}compareOptions(I,d){let G=(Z)=>{return Z.short?Z.short.replace(/^-/,""):Z.long.replace(/^--/,"")};return G(I).localeCompare(G(d))}visibleOptions(I){let d=I.options.filter((Z)=>!Z.hidden),G=I._getHelpOption();if(G&&!G.hidden){let Z=G.short&&I._findOption(G.short),C=G.long&&I._findOption(G.long);if(!Z&&!C)d.push(G);else if(G.long&&!C)d.push(I.createOption(G.long,G.description));else if(G.short&&!Z)d.push(I.createOption(G.short,G.description))}if(this.sortOptions)d.sort(this.compareOptions);return d}visibleGlobalOptions(I){if(!this.showGlobalOptions)return[];let d=[];for(let G=I.parent;G;G=G.parent){let Z=G.options.filter((C)=>!C.hidden);d.push(...Z)}if(this.sortOptions)d.sort(this.compareOptions);return d}visibleArguments(I){if(I._argsDescription)I.registeredArguments.forEach((d)=>{d.description=d.description||I._argsDescription[d.name()]||""});if(I.registeredArguments.find((d)=>d.description))return I.registeredArguments;return[]}subcommandTerm(I){let d=I.registeredArguments.map((G)=>BV9(G)).join(" ");return I._name+(I._aliases[0]?"|"+I._aliases[0]:"")+(I.options.length?" [options]":"")+(d?" "+d:"")}optionTerm(I){return I.flags}argumentTerm(I){return I.name()}longestSubcommandTermLength(I,d){return d.visibleCommands(I).reduce((G,Z)=>{return Math.max(G,d.subcommandTerm(Z).length)},0)}longestOptionTermLength(I,d){return d.visibleOptions(I).reduce((G,Z)=>{return Math.max(G,d.optionTerm(Z).length)},0)}longestGlobalOptionTermLength(I,d){return d.visibleGlobalOptions(I).reduce((G,Z)=>{return Math.max(G,d.optionTerm(Z).length)},0)}longestArgumentTermLength(I,d){return d.visibleArguments(I).reduce((G,Z)=>{return Math.max(G,d.argumentTerm(Z).length)},0)}commandUsage(I){let d=I._name;if(I._aliases[0])d=d+"|"+I._aliases[0];let G="";for(let Z=I.parent;Z;Z=Z.parent)G=Z.name()+" "+G;return G+d+" "+I.usage()}commandDescription(I){return I.description()}subcommandDescription(I){return I.summary()||I.description()}optionDescription(I){let d=[];if(I.argChoices)d.push(`choices: ${I.argChoices.map((G)=>JSON.stringify(G)).join(", ")}`);if(I.defaultValue!==void 0){if(I.required||I.optional||I.isBoolean()&&typeof I.defaultValue==="boolean")d.push(`default: ${I.defaultValueDescription||JSON.stringify(I.defaultValue)}`)}if(I.presetArg!==void 0&&I.optional)d.push(`preset: ${JSON.stringify(I.presetArg)}`);if(I.envVar!==void 0)d.push(`env: ${I.envVar}`);if(d.length>0)return`${I.description} (${d.join(", ")})`;return I.description}argumentDescription(I){let d=[];if(I.argChoices)d.push(`choices: ${I.argChoices.map((G)=>JSON.stringify(G)).join(", ")}`);if(I.defaultValue!==void 0)d.push(`default: ${I.defaultValueDescription||JSON.stringify(I.defaultValue)}`);if(d.length>0){let G=`(${d.join(", ")})`;if(I.description)return`${I.description} ${G}`;return G}return I.description}formatHelp(I,d){let G=d.padWidth(I,d),Z=d.helpWidth||80,C=2,W=2;function w(g,J){if(J){let K=`${g.padEnd(G+2)}${J}`;return d.wrap(K,Z-2,G+2)}return g}function B(g){return g.join(`
`).replace(/^/gm," ".repeat(2))}let A=[`Usage: ${d.commandUsage(I)}`,""],V=d.commandDescription(I);if(V.length>0)A=A.concat([d.wrap(V,Z,0),""]);let X=d.visibleArguments(I).map((g)=>{return w(d.argumentTerm(g),d.argumentDescription(g))});if(X.length>0)A=A.concat(["Arguments:",B(X),""]);let _=d.visibleOptions(I).map((g)=>{return w(d.optionTerm(g),d.optionDescription(g))});if(_.length>0)A=A.concat(["Options:",B(_),""]);if(this.showGlobalOptions){let g=d.visibleGlobalOptions(I).map((J)=>{return w(d.optionTerm(J),d.optionDescription(J))});if(g.length>0)A=A.concat(["Global Options:",B(g),""])}let F=d.visibleCommands(I).map((g)=>{return w(d.subcommandTerm(g),d.subcommandDescription(g))});if(F.length>0)A=A.concat(["Commands:",B(F),""]);return A.join(`
`)}padWidth(I,d){return Math.max(d.longestOptionTermLength(I,d),d.longestGlobalOptionTermLength(I,d),d.longestSubcommandTermLength(I,d),d.longestArgumentTermLength(I,d))}wrap(I,d,G,Z=40){let W=new RegExp(`[\\n][${" \\f\\t\\v   -   　\uFEFF"}]+`);if(I.match(W))return I;let w=d-G;if(w<Z)return I;let B=I.slice(0,G),A=I.slice(G).replace(`\r
`,`
`),V=" ".repeat(G),_=`\\s${"​"}`,F=new RegExp(`
|.{1,${w-1}}([${_}]|$)|[^${_}]+?([${_}]|$)`,"g"),g=A.match(F)||[];return B+g.map((J,K)=>{if(J===`
`)return"";return(K>0?V:"")+J.trimEnd()}).join(`
`)}}AV9.Help=Nq2});var BN1=Y((DV9)=>{var{InvalidArgumentError:XV9}=ru();class zq2{constructor(I,d){this.flags=I,this.description=d||"",this.required=I.includes("<"),this.optional=I.includes("["),this.variadic=/\w\.\.\.[>\]]$/.test(I),this.mandatory=!1;let G=_V9(I);if(this.short=G.shortFlag,this.long=G.longFlag,this.negate=!1,this.long)this.negate=this.long.startsWith("--no-");this.defaultValue=void 0,this.defaultValueDescription=void 0,this.presetArg=void 0,this.envVar=void 0,this.parseArg=void 0,this.hidden=!1,this.argChoices=void 0,this.conflictsWith=[],this.implied=void 0}default(I,d){return this.defaultValue=I,this.defaultValueDescription=d,this}preset(I){return this.presetArg=I,this}conflicts(I){return this.conflictsWith=this.conflictsWith.concat(I),this}implies(I){let d=I;if(typeof I==="string")d={[I]:!0};return this.implied=Object.assign(this.implied||{},d),this}env(I){return this.envVar=I,this}argParser(I){return this.parseArg=I,this}makeOptionMandatory(I=!0){return this.mandatory=!!I,this}hideHelp(I=!0){return this.hidden=!!I,this}_concatValue(I,d){if(d===this.defaultValue||!Array.isArray(d))return[I];return d.concat(I)}choices(I){return this.argChoices=I.slice(),this.parseArg=(d,G)=>{if(!this.argChoices.includes(d))throw new XV9(`Allowed choices are ${this.argChoices.join(", ")}.`);if(this.variadic)return this._concatValue(d,G);return d},this}name(){if(this.long)return this.long.replace(/^--/,"");return this.short.replace(/^-/,"")}attributeName(){return YV9(this.name().replace(/^no-/,""))}is(I){return this.short===I||this.long===I}isBoolean(){return!this.required&&!this.optional&&!this.negate}}class Qq2{constructor(I){this.positiveOptions=new Map,this.negativeOptions=new Map,this.dualOptions=new Set,I.forEach((d)=>{if(d.negate)this.negativeOptions.set(d.attributeName(),d);else this.positiveOptions.set(d.attributeName(),d)}),this.negativeOptions.forEach((d,G)=>{if(this.positiveOptions.has(G))this.dualOptions.add(G)})}valueFromOption(I,d){let G=d.attributeName();if(!this.dualOptions.has(G))return!0;let Z=this.negativeOptions.get(G).presetArg,C=Z!==void 0?Z:!1;return d.negate===(C===I)}}function YV9(I){return I.split("-").reduce((d,G)=>{return d+G[0].toUpperCase()+G.slice(1)})}function _V9(I){let d,G,Z=I.split(/[ |,]+/);if(Z.length>1&&!/^[[<]/.test(Z[1]))d=Z.shift();if(G=Z.shift(),!d&&/^-[^-]$/.test(G))d=G,G=void 0;return{shortFlag:d,longFlag:G}}DV9.Option=zq2;DV9.DualOptions=Qq2});var fq2=Y((KV9)=>{function gV9(I,d){if(Math.abs(I.length-d.length)>3)return Math.max(I.length,d.length);let G=[];for(let Z=0;Z<=I.length;Z++)G[Z]=[Z];for(let Z=0;Z<=d.length;Z++)G[0][Z]=Z;for(let Z=1;Z<=d.length;Z++)for(let C=1;C<=I.length;C++){let W=1;if(I[C-1]===d[Z-1])W=0;else W=1;if(G[C][Z]=Math.min(G[C-1][Z]+1,G[C][Z-1]+1,G[C-1][Z-1]+W),C>1&&Z>1&&I[C-1]===d[Z-2]&&I[C-2]===d[Z-1])G[C][Z]=Math.min(G[C][Z],G[C-2][Z-2]+1)}return G[I.length][d.length]}function JV9(I,d){if(!d||d.length===0)return"";d=Array.from(new Set(d));let G=I.startsWith("--");if(G)I=I.slice(2),d=d.map((w)=>w.slice(2));let Z=[],C=3,W=0.4;if(d.forEach((w)=>{if(w.length<=1)return;let B=gV9(I,w),A=Math.max(I.length,w.length);if((A-B)/A>W){if(B<C)C=B,Z=[w];else if(B===C)Z.push(w)}}),Z.sort((w,B)=>w.localeCompare(B)),G)Z=Z.map((w)=>`--${w}`);if(Z.length>1)return`
(Did you mean one of ${Z.join(", ")}?)`;if(Z.length===1)return`
(Did you mean ${Z[0]}?)`;return""}KV9.suggestSimilar=JV9});var vq2=Y((UV9)=>{var zV9=B1("node:events").EventEmitter,AN1=B1("node:child_process"),fX=B1("node:path"),VN1=B1("node:fs"),s3=B1("node:process"),{Argument:QV9,humanReadableArgName:fV9}=eo(),{CommanderError:XN1}=ru(),{Help:qV9}=wN1(),{Option:qq2,DualOptions:RV9}=BN1(),{suggestSimilar:Rq2}=fq2();class YN1 extends zV9{constructor(I){super();this.commands=[],this.options=[],this.parent=null,this._allowUnknownOption=!1,this._allowExcessArguments=!0,this.registeredArguments=[],this._args=this.registeredArguments,this.args=[],this.rawArgs=[],this.processedArgs=[],this._scriptPath=null,this._name=I||"",this._optionValues={},this._optionValueSources={},this._storeOptionsAsProperties=!1,this._actionHandler=null,this._executableHandler=!1,this._executableFile=null,this._executableDir=null,this._defaultCommandName=null,this._exitCallback=null,this._aliases=[],this._combineFlagAndOptionalValue=!0,this._description="",this._summary="",this._argsDescription=void 0,this._enablePositionalOptions=!1,this._passThroughOptions=!1,this._lifeCycleHooks={},this._showHelpAfterError=!1,this._showSuggestionAfterError=!0,this._outputConfiguration={writeOut:(d)=>s3.stdout.write(d),writeErr:(d)=>s3.stderr.write(d),getOutHelpWidth:()=>s3.stdout.isTTY?s3.stdout.columns:void 0,getErrHelpWidth:()=>s3.stderr.isTTY?s3.stderr.columns:void 0,outputError:(d,G)=>G(d)},this._hidden=!1,this._helpOption=void 0,this._addImplicitHelpCommand=void 0,this._helpCommand=void 0,this._helpConfiguration={}}copyInheritedSettings(I){return this._outputConfiguration=I._outputConfiguration,this._helpOption=I._helpOption,this._helpCommand=I._helpCommand,this._helpConfiguration=I._helpConfiguration,this._exitCallback=I._exitCallback,this._storeOptionsAsProperties=I._storeOptionsAsProperties,this._combineFlagAndOptionalValue=I._combineFlagAndOptionalValue,this._allowExcessArguments=I._allowExcessArguments,this._enablePositionalOptions=I._enablePositionalOptions,this._showHelpAfterError=I._showHelpAfterError,this._showSuggestionAfterError=I._showSuggestionAfterError,this}_getCommandAndAncestors(){let I=[];for(let d=this;d;d=d.parent)I.push(d);return I}command(I,d,G){let Z=d,C=G;if(typeof Z==="object"&&Z!==null)C=Z,Z=null;C=C||{};let[,W,w]=I.match(/([^ ]+) *(.*)/),B=this.createCommand(W);if(Z)B.description(Z),B._executableHandler=!0;if(C.isDefault)this._defaultCommandName=B._name;if(B._hidden=!!(C.noHelp||C.hidden),B._executableFile=C.executableFile||null,w)B.arguments(w);if(this._registerCommand(B),B.parent=this,B.copyInheritedSettings(this),Z)return this;return B}createCommand(I){return new YN1(I)}createHelp(){return Object.assign(new qV9,this.configureHelp())}configureHelp(I){if(I===void 0)return this._helpConfiguration;return this._helpConfiguration=I,this}configureOutput(I){if(I===void 0)return this._outputConfiguration;return Object.assign(this._outputConfiguration,I),this}showHelpAfterError(I=!0){if(typeof I!=="string")I=!!I;return this._showHelpAfterError=I,this}showSuggestionAfterError(I=!0){return this._showSuggestionAfterError=!!I,this}addCommand(I,d){if(!I._name)throw new Error(`Command passed to .addCommand() must have a name
- specify the name in Command constructor or using .name()`);if(d=d||{},d.isDefault)this._defaultCommandName=I._name;if(d.noHelp||d.hidden)I._hidden=!0;return this._registerCommand(I),I.parent=this,I._checkForBrokenPassThrough(),this}createArgument(I,d){return new QV9(I,d)}argument(I,d,G,Z){let C=this.createArgument(I,d);if(typeof G==="function")C.default(Z).argParser(G);else C.default(G);return this.addArgument(C),this}arguments(I){return I.trim().split(/ +/).forEach((d)=>{this.argument(d)}),this}addArgument(I){let d=this.registeredArguments.slice(-1)[0];if(d&&d.variadic)throw new Error(`only the last argument can be variadic '${d.name()}'`);if(I.required&&I.defaultValue!==void 0&&I.parseArg===void 0)throw new Error(`a default value for a required argument is never used: '${I.name()}'`);return this.registeredArguments.push(I),this}helpCommand(I,d){if(typeof I==="boolean")return this._addImplicitHelpCommand=I,this;I=I??"help [command]";let[,G,Z]=I.match(/([^ ]+) *(.*)/),C=d??"display help for command",W=this.createCommand(G);if(W.helpOption(!1),Z)W.arguments(Z);if(C)W.description(C);return this._addImplicitHelpCommand=!0,this._helpCommand=W,this}addHelpCommand(I,d){if(typeof I!=="object")return this.helpCommand(I,d),this;return this._addImplicitHelpCommand=!0,this._helpCommand=I,this}_getHelpCommand(){if(this._addImplicitHelpCommand??(this.commands.length&&!this._actionHandler&&!this._findCommand("help"))){if(this._helpCommand===void 0)this.helpCommand(void 0,void 0);return this._helpCommand}return null}hook(I,d){let G=["preSubcommand","preAction","postAction"];if(!G.includes(I))throw new Error(`Unexpected value for event passed to hook : '${I}'.
Expecting one of '${G.join("', '")}'`);if(this._lifeCycleHooks[I])this._lifeCycleHooks[I].push(d);else this._lifeCycleHooks[I]=[d];return this}exitOverride(I){if(I)this._exitCallback=I;else this._exitCallback=(d)=>{if(d.code!=="commander.executeSubCommandAsync")throw d};return this}_exit(I,d,G){if(this._exitCallback)this._exitCallback(new XN1(I,d,G));s3.exit(I)}action(I){let d=(G)=>{let Z=this.registeredArguments.length,C=G.slice(0,Z);if(this._storeOptionsAsProperties)C[Z]=this;else C[Z]=this.opts();return C.push(this),I.apply(this,C)};return this._actionHandler=d,this}createOption(I,d){return new qq2(I,d)}_callParseArg(I,d,G,Z){try{return I.parseArg(d,G)}catch(C){if(C.code==="commander.invalidArgument"){let W=`${Z} ${C.message}`;this.error(W,{exitCode:C.exitCode,code:C.code})}throw C}}_registerOption(I){let d=I.short&&this._findOption(I.short)||I.long&&this._findOption(I.long);if(d){let G=I.long&&this._findOption(I.long)?I.long:I.short;throw new Error(`Cannot add option '${I.flags}'${this._name&&` to command '${this._name}'`} due to conflicting flag '${G}'
-  already used by option '${d.flags}'`)}this.options.push(I)}_registerCommand(I){let d=(Z)=>{return[Z.name()].concat(Z.aliases())},G=d(I).find((Z)=>this._findCommand(Z));if(G){let Z=d(this._findCommand(G)).join("|"),C=d(I).join("|");throw new Error(`cannot add command '${C}' as already have command '${Z}'`)}this.commands.push(I)}addOption(I){this._registerOption(I);let d=I.name(),G=I.attributeName();if(I.negate){let C=I.long.replace(/^--no-/,"--");if(!this._findOption(C))this.setOptionValueWithSource(G,I.defaultValue===void 0?!0:I.defaultValue,"default")}else if(I.defaultValue!==void 0)this.setOptionValueWithSource(G,I.defaultValue,"default");let Z=(C,W,w)=>{if(C==null&&I.presetArg!==void 0)C=I.presetArg;let B=this.getOptionValue(G);if(C!==null&&I.parseArg)C=this._callParseArg(I,C,B,W);else if(C!==null&&I.variadic)C=I._concatValue(C,B);if(C==null)if(I.negate)C=!1;else if(I.isBoolean()||I.optional)C=!0;else C="";this.setOptionValueWithSource(G,C,w)};if(this.on("option:"+d,(C)=>{let W=`error: option '${I.flags}' argument '${C}' is invalid.`;Z(C,W,"cli")}),I.envVar)this.on("optionEnv:"+d,(C)=>{let W=`error: option '${I.flags}' value '${C}' from env '${I.envVar}' is invalid.`;Z(C,W,"env")});return this}_optionEx(I,d,G,Z,C){if(typeof d==="object"&&d instanceof qq2)throw new Error("To add an Option object use addOption() instead of option() or requiredOption()");let W=this.createOption(d,G);if(W.makeOptionMandatory(!!I.mandatory),typeof Z==="function")W.default(C).argParser(Z);else if(Z instanceof RegExp){let w=Z;Z=(B,A)=>{let V=w.exec(B);return V?V[0]:A},W.default(C).argParser(Z)}else W.default(Z);return this.addOption(W)}option(I,d,G,Z){return this._optionEx({},I,d,G,Z)}requiredOption(I,d,G,Z){return this._optionEx({mandatory:!0},I,d,G,Z)}combineFlagAndOptionalValue(I=!0){return this._combineFlagAndOptionalValue=!!I,this}allowUnknownOption(I=!0){return this._allowUnknownOption=!!I,this}allowExcessArguments(I=!0){return this._allowExcessArguments=!!I,this}enablePositionalOptions(I=!0){return this._enablePositionalOptions=!!I,this}passThroughOptions(I=!0){return this._passThroughOptions=!!I,this._checkForBrokenPassThrough(),this}_checkForBrokenPassThrough(){if(this.parent&&this._passThroughOptions&&!this.parent._enablePositionalOptions)throw new Error(`passThroughOptions cannot be used for '${this._name}' without turning on enablePositionalOptions for parent command(s)`)}storeOptionsAsProperties(I=!0){if(this.options.length)throw new Error("call .storeOptionsAsProperties() before adding options");if(Object.keys(this._optionValues).length)throw new Error("call .storeOptionsAsProperties() before setting option values");return this._storeOptionsAsProperties=!!I,this}getOptionValue(I){if(this._storeOptionsAsProperties)return this[I];return this._optionValues[I]}setOptionValue(I,d){return this.setOptionValueWithSource(I,d,void 0)}setOptionValueWithSource(I,d,G){if(this._storeOptionsAsProperties)this[I]=d;else this._optionValues[I]=d;return this._optionValueSources[I]=G,this}getOptionValueSource(I){return this._optionValueSources[I]}getOptionValueSourceWithGlobals(I){let d;return this._getCommandAndAncestors().forEach((G)=>{if(G.getOptionValueSource(I)!==void 0)d=G.getOptionValueSource(I)}),d}_prepareUserArgs(I,d){if(I!==void 0&&!Array.isArray(I))throw new Error("first parameter to parse must be array or undefined");if(d=d||{},I===void 0&&d.from===void 0){if(s3.versions?.electron)d.from="electron";let Z=s3.execArgv??[];if(Z.includes("-e")||Z.includes("--eval")||Z.includes("-p")||Z.includes("--print"))d.from="eval"}if(I===void 0)I=s3.argv;this.rawArgs=I.slice();let G;switch(d.from){case void 0:case"node":this._scriptPath=I[1],G=I.slice(2);break;case"electron":if(s3.defaultApp)this._scriptPath=I[1],G=I.slice(2);else G=I.slice(1);break;case"user":G=I.slice(0);break;case"eval":G=I.slice(1);break;default:throw new Error(`unexpected parse option { from: '${d.from}' }`)}if(!this._name&&this._scriptPath)this.nameFromFilename(this._scriptPath);return this._name=this._name||"program",G}parse(I,d){let G=this._prepareUserArgs(I,d);return this._parseCommand([],G),this}async parseAsync(I,d){let G=this._prepareUserArgs(I,d);return await this._parseCommand([],G),this}_executeSubCommand(I,d){d=d.slice();let G=!1,Z=[".js",".ts",".tsx",".mjs",".cjs"];function C(V,X){let _=fX.resolve(V,X);if(VN1.existsSync(_))return _;if(Z.includes(fX.extname(X)))return;let F=Z.find((g)=>VN1.existsSync(`${_}${g}`));if(F)return`${_}${F}`;return}this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let W=I._executableFile||`${this._name}-${I._name}`,w=this._executableDir||"";if(this._scriptPath){let V;try{V=VN1.realpathSync(this._scriptPath)}catch(X){V=this._scriptPath}w=fX.resolve(fX.dirname(V),w)}if(w){let V=C(w,W);if(!V&&!I._executableFile&&this._scriptPath){let X=fX.basename(this._scriptPath,fX.extname(this._scriptPath));if(X!==this._name)V=C(w,`${X}-${I._name}`)}W=V||W}G=Z.includes(fX.extname(W));let B;if(s3.platform!=="win32")if(G)d.unshift(W),d=Uq2(s3.execArgv).concat(d),B=AN1.spawn(s3.argv[0],d,{stdio:"inherit"});else B=AN1.spawn(W,d,{stdio:"inherit"});else d.unshift(W),d=Uq2(s3.execArgv).concat(d),B=AN1.spawn(s3.execPath,d,{stdio:"inherit"});if(!B.killed)["SIGUSR1","SIGUSR2","SIGTERM","SIGINT","SIGHUP"].forEach((X)=>{s3.on(X,()=>{if(B.killed===!1&&B.exitCode===null)B.kill(X)})});let A=this._exitCallback;B.on("close",(V)=>{if(V=V??1,!A)s3.exit(V);else A(new XN1(V,"commander.executeSubCommandAsync","(close)"))}),B.on("error",(V)=>{if(V.code==="ENOENT"){let X=w?`searched for local subcommand relative to directory '${w}'`:"no directory for search for local subcommand, use .executableDir() to supply a custom directory",_=`'${W}' does not exist
 - if '${I._name}' is not meant to be an executable command, remove description parameter from '.command()' and use '.description()' instead
 - if the default executable name is not suitable, use the executableFile option to supply a custom name or path
 - ${X}`;throw new Error(_)}else if(V.code==="EACCES")throw new Error(`'${W}' not executable`);if(!A)s3.exit(1);else{let X=new XN1(1,"commander.executeSubCommandAsync","(error)");X.nestedError=V,A(X)}}),this.runningCommand=B}_dispatchSubcommand(I,d,G){let Z=this._findCommand(I);if(!Z)this.help({error:!0});let C;return C=this._chainOrCallSubCommandHook(C,Z,"preSubcommand"),C=this._chainOrCall(C,()=>{if(Z._executableHandler)this._executeSubCommand(Z,d.concat(G));else return Z._parseCommand(d,G)}),C}_dispatchHelpCommand(I){if(!I)this.help();let d=this._findCommand(I);if(d&&!d._executableHandler)d.help();return this._dispatchSubcommand(I,[],[this._getHelpOption()?.long??this._getHelpOption()?.short??"--help"])}_checkNumberOfArguments(){if(this.registeredArguments.forEach((I,d)=>{if(I.required&&this.args[d]==null)this.missingArgument(I.name())}),this.registeredArguments.length>0&&this.registeredArguments[this.registeredArguments.length-1].variadic)return;if(this.args.length>this.registeredArguments.length)this._excessArguments(this.args)}_processArguments(){let I=(G,Z,C)=>{let W=Z;if(Z!==null&&G.parseArg){let w=`error: command-argument value '${Z}' is invalid for argument '${G.name()}'.`;W=this._callParseArg(G,Z,C,w)}return W};this._checkNumberOfArguments();let d=[];this.registeredArguments.forEach((G,Z)=>{let C=G.defaultValue;if(G.variadic){if(Z<this.args.length){if(C=this.args.slice(Z),G.parseArg)C=C.reduce((W,w)=>{return I(G,w,W)},G.defaultValue)}else if(C===void 0)C=[]}else if(Z<this.args.length){if(C=this.args[Z],G.parseArg)C=I(G,C,G.defaultValue)}d[Z]=C}),this.processedArgs=d}_chainOrCall(I,d){if(I&&I.then&&typeof I.then==="function")return I.then(()=>d());return d()}_chainOrCallHooks(I,d){let G=I,Z=[];if(this._getCommandAndAncestors().reverse().filter((C)=>C._lifeCycleHooks[d]!==void 0).forEach((C)=>{C._lifeCycleHooks[d].forEach((W)=>{Z.push({hookedCommand:C,callback:W})})}),d==="postAction")Z.reverse();return Z.forEach((C)=>{G=this._chainOrCall(G,()=>{return C.callback(C.hookedCommand,this)})}),G}_chainOrCallSubCommandHook(I,d,G){let Z=I;if(this._lifeCycleHooks[G]!==void 0)this._lifeCycleHooks[G].forEach((C)=>{Z=this._chainOrCall(Z,()=>{return C(this,d)})});return Z}_parseCommand(I,d){let G=this.parseOptions(d);if(this._parseOptionsEnv(),this._parseOptionsImplied(),I=I.concat(G.operands),d=G.unknown,this.args=I.concat(d),I&&this._findCommand(I[0]))return this._dispatchSubcommand(I[0],I.slice(1),d);if(this._getHelpCommand()&&I[0]===this._getHelpCommand().name())return this._dispatchHelpCommand(I[1]);if(this._defaultCommandName)return this._outputHelpIfRequested(d),this._dispatchSubcommand(this._defaultCommandName,I,d);if(this.commands.length&&this.args.length===0&&!this._actionHandler&&!this._defaultCommandName)this.help({error:!0});this._outputHelpIfRequested(G.unknown),this._checkForMissingMandatoryOptions(),this._checkForConflictingOptions();let Z=()=>{if(G.unknown.length>0)this.unknownOption(G.unknown[0])},C=`command:${this.name()}`;if(this._actionHandler){Z(),this._processArguments();let W;if(W=this._chainOrCallHooks(W,"preAction"),W=this._chainOrCall(W,()=>this._actionHandler(this.processedArgs)),this.parent)W=this._chainOrCall(W,()=>{this.parent.emit(C,I,d)});return W=this._chainOrCallHooks(W,"postAction"),W}if(this.parent&&this.parent.listenerCount(C))Z(),this._processArguments(),this.parent.emit(C,I,d);else if(I.length){if(this._findCommand("*"))return this._dispatchSubcommand("*",I,d);if(this.listenerCount("command:*"))this.emit("command:*",I,d);else if(this.commands.length)this.unknownCommand();else Z(),this._processArguments()}else if(this.commands.length)Z(),this.help({error:!0});else Z(),this._processArguments()}_findCommand(I){if(!I)return;return this.commands.find((d)=>d._name===I||d._aliases.includes(I))}_findOption(I){return this.options.find((d)=>d.is(I))}_checkForMissingMandatoryOptions(){this._getCommandAndAncestors().forEach((I)=>{I.options.forEach((d)=>{if(d.mandatory&&I.getOptionValue(d.attributeName())===void 0)I.missingMandatoryOptionValue(d)})})}_checkForConflictingLocalOptions(){let I=this.options.filter((G)=>{let Z=G.attributeName();if(this.getOptionValue(Z)===void 0)return!1;return this.getOptionValueSource(Z)!=="default"});I.filter((G)=>G.conflictsWith.length>0).forEach((G)=>{let Z=I.find((C)=>G.conflictsWith.includes(C.attributeName()));if(Z)this._conflictingOption(G,Z)})}_checkForConflictingOptions(){this._getCommandAndAncestors().forEach((I)=>{I._checkForConflictingLocalOptions()})}parseOptions(I){let d=[],G=[],Z=d,C=I.slice();function W(B){return B.length>1&&B[0]==="-"}let w=null;while(C.length){let B=C.shift();if(B==="--"){if(Z===G)Z.push(B);Z.push(...C);break}if(w&&!W(B)){this.emit(`option:${w.name()}`,B);continue}if(w=null,W(B)){let A=this._findOption(B);if(A){if(A.required){let V=C.shift();if(V===void 0)this.optionMissingArgument(A);this.emit(`option:${A.name()}`,V)}else if(A.optional){let V=null;if(C.length>0&&!W(C[0]))V=C.shift();this.emit(`option:${A.name()}`,V)}else this.emit(`option:${A.name()}`);w=A.variadic?A:null;continue}}if(B.length>2&&B[0]==="-"&&B[1]!=="-"){let A=this._findOption(`-${B[1]}`);if(A){if(A.required||A.optional&&this._combineFlagAndOptionalValue)this.emit(`option:${A.name()}`,B.slice(2));else this.emit(`option:${A.name()}`),C.unshift(`-${B.slice(2)}`);continue}}if(/^--[^=]+=/.test(B)){let A=B.indexOf("="),V=this._findOption(B.slice(0,A));if(V&&(V.required||V.optional)){this.emit(`option:${V.name()}`,B.slice(A+1));continue}}if(W(B))Z=G;if((this._enablePositionalOptions||this._passThroughOptions)&&d.length===0&&G.length===0){if(this._findCommand(B)){if(d.push(B),C.length>0)G.push(...C);break}else if(this._getHelpCommand()&&B===this._getHelpCommand().name()){if(d.push(B),C.length>0)d.push(...C);break}else if(this._defaultCommandName){if(G.push(B),C.length>0)G.push(...C);break}}if(this._passThroughOptions){if(Z.push(B),C.length>0)Z.push(...C);break}Z.push(B)}return{operands:d,unknown:G}}opts(){if(this._storeOptionsAsProperties){let I={},d=this.options.length;for(let G=0;G<d;G++){let Z=this.options[G].attributeName();I[Z]=Z===this._versionOptionName?this._version:this[Z]}return I}return this._optionValues}optsWithGlobals(){return this._getCommandAndAncestors().reduce((I,d)=>Object.assign(I,d.opts()),{})}error(I,d){if(this._outputConfiguration.outputError(`${I}
`,this._outputConfiguration.writeErr),typeof this._showHelpAfterError==="string")this._outputConfiguration.writeErr(`${this._showHelpAfterError}
`);else if(this._showHelpAfterError)this._outputConfiguration.writeErr(`
`),this.outputHelp({error:!0});let G=d||{},Z=G.exitCode||1,C=G.code||"commander.error";this._exit(Z,C,I)}_parseOptionsEnv(){this.options.forEach((I)=>{if(I.envVar&&I.envVar in s3.env){let d=I.attributeName();if(this.getOptionValue(d)===void 0||["default","config","env"].includes(this.getOptionValueSource(d)))if(I.required||I.optional)this.emit(`optionEnv:${I.name()}`,s3.env[I.envVar]);else this.emit(`optionEnv:${I.name()}`)}})}_parseOptionsImplied(){let I=new RV9(this.options),d=(G)=>{return this.getOptionValue(G)!==void 0&&!["default","implied"].includes(this.getOptionValueSource(G))};this.options.filter((G)=>G.implied!==void 0&&d(G.attributeName())&&I.valueFromOption(this.getOptionValue(G.attributeName()),G)).forEach((G)=>{Object.keys(G.implied).filter((Z)=>!d(Z)).forEach((Z)=>{this.setOptionValueWithSource(Z,G.implied[Z],"implied")})})}missingArgument(I){let d=`error: missing required argument '${I}'`;this.error(d,{code:"commander.missingArgument"})}optionMissingArgument(I){let d=`error: option '${I.flags}' argument missing`;this.error(d,{code:"commander.optionMissingArgument"})}missingMandatoryOptionValue(I){let d=`error: required option '${I.flags}' not specified`;this.error(d,{code:"commander.missingMandatoryOptionValue"})}_conflictingOption(I,d){let G=(W)=>{let w=W.attributeName(),B=this.getOptionValue(w),A=this.options.find((X)=>X.negate&&w===X.attributeName()),V=this.options.find((X)=>!X.negate&&w===X.attributeName());if(A&&(A.presetArg===void 0&&B===!1||A.presetArg!==void 0&&B===A.presetArg))return A;return V||W},Z=(W)=>{let w=G(W),B=w.attributeName();if(this.getOptionValueSource(B)==="env")return`environment variable '${w.envVar}'`;return`option '${w.flags}'`},C=`error: ${Z(I)} cannot be used with ${Z(d)}`;this.error(C,{code:"commander.conflictingOption"})}unknownOption(I){if(this._allowUnknownOption)return;let d="";if(I.startsWith("--")&&this._showSuggestionAfterError){let Z=[],C=this;do{let W=C.createHelp().visibleOptions(C).filter((w)=>w.long).map((w)=>w.long);Z=Z.concat(W),C=C.parent}while(C&&!C._enablePositionalOptions);d=Rq2(I,Z)}let G=`error: unknown option '${I}'${d}`;this.error(G,{code:"commander.unknownOption"})}_excessArguments(I){if(this._allowExcessArguments)return;let d=this.registeredArguments.length,G=d===1?"":"s",C=`error: too many arguments${this.parent?` for '${this.name()}'`:""}. Expected ${d} argument${G} but got ${I.length}.`;this.error(C,{code:"commander.excessArguments"})}unknownCommand(){let I=this.args[0],d="";if(this._showSuggestionAfterError){let Z=[];this.createHelp().visibleCommands(this).forEach((C)=>{if(Z.push(C.name()),C.alias())Z.push(C.alias())}),d=Rq2(I,Z)}let G=`error: unknown command '${I}'${d}`;this.error(G,{code:"commander.unknownCommand"})}version(I,d,G){if(I===void 0)return this._version;this._version=I,d=d||"-V, --version",G=G||"output the version number";let Z=this.createOption(d,G);return this._versionOptionName=Z.attributeName(),this._registerOption(Z),this.on("option:"+Z.name(),()=>{this._outputConfiguration.writeOut(`${I}
`),this._exit(0,"commander.version",I)}),this}description(I,d){if(I===void 0&&d===void 0)return this._description;if(this._description=I,d)this._argsDescription=d;return this}summary(I){if(I===void 0)return this._summary;return this._summary=I,this}alias(I){if(I===void 0)return this._aliases[0];let d=this;if(this.commands.length!==0&&this.commands[this.commands.length-1]._executableHandler)d=this.commands[this.commands.length-1];if(I===d._name)throw new Error("Command alias can't be the same as its name");let G=this.parent?._findCommand(I);if(G){let Z=[G.name()].concat(G.aliases()).join("|");throw new Error(`cannot add alias '${I}' to command '${this.name()}' as already have command '${Z}'`)}return d._aliases.push(I),this}aliases(I){if(I===void 0)return this._aliases;return I.forEach((d)=>this.alias(d)),this}usage(I){if(I===void 0){if(this._usage)return this._usage;let d=this.registeredArguments.map((G)=>{return fV9(G)});return[].concat(this.options.length||this._helpOption!==null?"[options]":[],this.commands.length?"[command]":[],this.registeredArguments.length?d:[]).join(" ")}return this._usage=I,this}name(I){if(I===void 0)return this._name;return this._name=I,this}nameFromFilename(I){return this._name=fX.basename(I,fX.extname(I)),this}executableDir(I){if(I===void 0)return this._executableDir;return this._executableDir=I,this}helpInformation(I){let d=this.createHelp();if(d.helpWidth===void 0)d.helpWidth=I&&I.error?this._outputConfiguration.getErrHelpWidth():this._outputConfiguration.getOutHelpWidth();return d.formatHelp(this,d)}_getHelpContext(I){I=I||{};let d={error:!!I.error},G;if(d.error)G=(Z)=>this._outputConfiguration.writeErr(Z);else G=(Z)=>this._outputConfiguration.writeOut(Z);return d.write=I.write||G,d.command=this,d}outputHelp(I){let d;if(typeof I==="function")d=I,I=void 0;let G=this._getHelpContext(I);this._getCommandAndAncestors().reverse().forEach((C)=>C.emit("beforeAllHelp",G)),this.emit("beforeHelp",G);let Z=this.helpInformation(G);if(d){if(Z=d(Z),typeof Z!=="string"&&!Buffer.isBuffer(Z))throw new Error("outputHelp callback must return a string or a Buffer")}if(G.write(Z),this._getHelpOption()?.long)this.emit(this._getHelpOption().long);this.emit("afterHelp",G),this._getCommandAndAncestors().forEach((C)=>C.emit("afterAllHelp",G))}helpOption(I,d){if(typeof I==="boolean"){if(I)this._helpOption=this._helpOption??void 0;else this._helpOption=null;return this}return I=I??"-h, --help",d=d??"display help for command",this._helpOption=this.createOption(I,d),this}_getHelpOption(){if(this._helpOption===void 0)this.helpOption(void 0,void 0);return this._helpOption}addHelpOption(I){return this._helpOption=I,this}help(I){this.outputHelp(I);let d=s3.exitCode||0;if(d===0&&I&&typeof I!=="function"&&I.error)d=1;this._exit(d,"commander.help","(outputHelp)")}addHelpText(I,d){let G=["beforeAll","before","after","afterAll"];if(!G.includes(I))throw new Error(`Unexpected value for position to addHelpText.
Expecting one of '${G.join("', '")}'`);let Z=`${I}Help`;return this.on(Z,(C)=>{let W;if(typeof d==="function")W=d({error:C.error,command:C.command});else W=d;if(W)C.write(`${W}
`)}),this}_outputHelpIfRequested(I){let d=this._getHelpOption();if(d&&I.find((Z)=>d.is(Z)))this.outputHelp(),this._exit(0,"commander.helpDisplayed","(outputHelp)")}}function Uq2(I){return I.map((d)=>{if(!d.startsWith("--inspect"))return d;let G,Z="127.0.0.1",C="9229",W;if((W=d.match(/^(--inspect(-brk)?)$/))!==null)G=W[1];else if((W=d.match(/^(--inspect(-brk|-port)?)=([^:]+)$/))!==null)if(G=W[1],/^\d+$/.test(W[3]))C=W[3];else Z=W[3];else if((W=d.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/))!==null)G=W[1],Z=W[3],C=W[4];if(G&&C!=="0")return`${G}=${Z}:${parseInt(C)+1}`;return d})}UV9.Command=YN1});var Lq2=Y((SV9)=>{var{Argument:Eq2}=eo(),{Command:_N1}=vq2(),{CommanderError:EV9,InvalidArgumentError:Mq2}=ru(),{Help:MV9}=wN1(),{Option:Sq2}=BN1();SV9.program=new _N1;SV9.createCommand=(I)=>new _N1(I);SV9.createOption=(I,d)=>new Sq2(I,d);SV9.createArgument=(I,d)=>new Eq2(I,d);SV9.Command=_N1;SV9.Option=Sq2;SV9.Argument=Eq2;SV9.Help=MV9;SV9.CommanderError=EV9;SV9.InvalidArgumentError=Mq2;SV9.InvalidOptionArgumentError=Mq2});var Pq2=Y((zG,yq2)=>{var yW=Lq2();zG=yq2.exports={};zG.program=new yW.Command;zG.Argument=yW.Argument;zG.Command=yW.Command;zG.CommanderError=yW.CommanderError;zG.Help=yW.Help;zG.InvalidArgumentError=yW.InvalidArgumentError;zG.InvalidOptionArgumentError=yW.InvalidArgumentError;zG.Option=yW.Option;zG.createCommand=(I)=>new yW.Command(I);zG.createOption=(I,d)=>new yW.Option(I,d);zG.createArgument=(I,d)=>new yW.Argument(I,d)});var sI=J1(_P1(),1);import{existsSync as d41,readFileSync as G41,writeFileSync as CA4}from"fs";import{resolve as Z41,join as Jl1}from"path";var v34=typeof global=="object"&&global&&global.Object===Object&&global,tm=v34;var E34=typeof self=="object"&&self&&self.Object===Object&&self,M34=tm||E34||Function("return this")(),J6=M34;var S34=J6.Symbol,B8=S34;var DP1=Object.prototype,L34=DP1.hasOwnProperty,y34=DP1.toString,HE=B8?B8.toStringTag:void 0;function P34(I){var d=L34.call(I,HE),G=I[HE];try{I[HE]=void 0;var Z=!0}catch(W){}var C=y34.call(I);if(Z)if(d)I[HE]=G;else delete I[HE];return C}var HP1=P34;var $34=Object.prototype,u34=$34.toString;function T34(I){return u34.call(I)}var FP1=T34;var O34="[object Null]",m34="[object Undefined]",gP1=B8?B8.toStringTag:void 0;function l34(I){if(I==null)return I===void 0?m34:O34;return gP1&&gP1 in Object(I)?HP1(I):FP1(I)}var JC=l34;function b34(I){return I!=null&&typeof I=="object"}var O8=b34;var h34="[object Symbol]";function j34(I){return typeof I=="symbol"||O8(I)&&JC(I)==h34}var uN=j34;function k34(I,d){var G=-1,Z=I==null?0:I.length,C=Array(Z);while(++G<Z)C[G]=d(I[G],G,I);return C}var IY=k34;var x34=Array.isArray,H3=x34;var c34=1/0,JP1=B8?B8.prototype:void 0,KP1=JP1?JP1.toString:void 0;function NP1(I){if(typeof I=="string")return I;if(H3(I))return IY(I,NP1)+"";if(uN(I))return KP1?KP1.call(I):"";var d=I+"";return d=="0"&&1/I==-c34?"-0":d}var zP1=NP1;function p34(I){var d=typeof I;return I!=null&&(d=="object"||d=="function")}var o7=p34;function i34(I){return I}var TN=i34;var n34="[object AsyncFunction]",r34="[object Function]",a34="[object GeneratorFunction]",s34="[object Proxy]";function o34(I){if(!o7(I))return!1;var d=JC(I);return d==r34||d==a34||d==n34||d==s34}var Il=o34;var e34=J6["__core-js_shared__"],dl=e34;var QP1=function(){var I=/[^.]+$/.exec(dl&&dl.keys&&dl.keys.IE_PROTO||"");return I?"Symbol(src)_1."+I:""}();function t34(I){return!!QP1&&QP1 in I}var fP1=t34;var I64=Function.prototype,d64=I64.toString;function G64(I){if(I!=null){try{return d64.call(I)}catch(d){}try{return I+""}catch(d){}}return""}var TA=G64;var Z64=/[\\^$.*+?()[\]{}|]/g,C64=/^\[object .+?Constructor\]$/,W64=Function.prototype,w64=Object.prototype,B64=W64.toString,A64=w64.hasOwnProperty,V64=RegExp("^"+B64.call(A64).replace(Z64,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function X64(I){if(!o7(I)||fP1(I))return!1;var d=Il(I)?V64:C64;return d.test(TA(I))}var qP1=X64;function Y64(I,d){return I==null?void 0:I[d]}var RP1=Y64;function _64(I,d){var G=RP1(I,d);return qP1(G)?G:void 0}var aI=_64;var D64=aI(J6,"WeakMap"),Gl=D64;var UP1=Object.create,H64=function(){function I(){}return function(d){if(!o7(d))return{};if(UP1)return UP1(d);I.prototype=d;var G=new I;return I.prototype=void 0,G}}(),vP1=H64;function F64(I,d,G){switch(G.length){case 0:return I.call(d);case 1:return I.call(d,G[0]);case 2:return I.call(d,G[0],G[1]);case 3:return I.call(d,G[0],G[1],G[2])}return I.apply(d,G)}var EP1=F64;function g64(I,d){var G=-1,Z=I.length;d||(d=Array(Z));while(++G<Z)d[G]=I[G];return d}var MP1=g64;var J64=800,K64=16,N64=Date.now;function z64(I){var d=0,G=0;return function(){var Z=N64(),C=K64-(Z-G);if(G=Z,C>0){if(++d>=J64)return arguments[0]}else d=0;return I.apply(void 0,arguments)}}var SP1=z64;function Q64(I){return function(){return I}}var LP1=Q64;var f64=function(){try{var I=aI(Object,"defineProperty");return I({},"",{}),I}catch(d){}}(),ON=f64;var q64=!ON?TN:function(I,d){return ON(I,"toString",{configurable:!0,enumerable:!1,value:LP1(d),writable:!0})},yP1=q64;var R64=SP1(yP1),Zl=R64;function U64(I,d){var G=-1,Z=I==null?0:I.length;while(++G<Z)if(d(I[G],G,I)===!1)break;return I}var PP1=U64;var v64=9007199254740991,E64=/^(?:0|[1-9]\d*)$/;function M64(I,d){var G=typeof I;return d=d==null?v64:d,!!d&&(G=="number"||G!="symbol"&&E64.test(I))&&(I>-1&&I%1==0&&I<d)}var mN=M64;function S64(I,d,G){if(d=="__proto__"&&ON)ON(I,d,{configurable:!0,enumerable:!0,value:G,writable:!0});else I[d]=G}var lN=S64;function L64(I,d){return I===d||I!==I&&d!==d}var bN=L64;var y64=Object.prototype,P64=y64.hasOwnProperty;function $64(I,d,G){var Z=I[d];if(!(P64.call(I,d)&&bN(Z,G))||G===void 0&&!(d in I))lN(I,d,G)}var dY=$64;function u64(I,d,G,Z){var C=!G;G||(G={});var W=-1,w=d.length;while(++W<w){var B=d[W],A=Z?Z(G[B],I[B],B,G,I):void 0;if(A===void 0)A=I[B];if(C)lN(G,B,A);else dY(G,B,A)}return G}var GY=u64;var $P1=Math.max;function T64(I,d,G){return d=$P1(d===void 0?I.length-1:d,0),function(){var Z=arguments,C=-1,W=$P1(Z.length-d,0),w=Array(W);while(++C<W)w[C]=Z[d+C];C=-1;var B=Array(d+1);while(++C<d)B[C]=Z[C];return B[d]=G(w),EP1(I,this,B)}}var Cl=T64;function O64(I,d){return Zl(Cl(I,d,TN),I+"")}var uP1=O64;var m64=9007199254740991;function l64(I){return typeof I=="number"&&I>-1&&I%1==0&&I<=m64}var hN=l64;function b64(I){return I!=null&&hN(I.length)&&!Il(I)}var jN=b64;var h64=Object.prototype;function j64(I){var d=I&&I.constructor,G=typeof d=="function"&&d.prototype||h64;return I===G}var kN=j64;function k64(I,d){var G=-1,Z=Array(I);while(++G<I)Z[G]=d(G);return Z}var Wl=k64;var x64="[object Arguments]";function c64(I){return O8(I)&&JC(I)==x64}var j01=c64;var TP1=Object.prototype,p64=TP1.hasOwnProperty,i64=TP1.propertyIsEnumerable,n64=j01(function(){return arguments}())?j01:function(I){return O8(I)&&p64.call(I,"callee")&&!i64.call(I,"callee")},xN=n64;var Bl={};Kv(Bl,{default:()=>ZY});function r64(){return!1}var OP1=r64;var bP1=typeof Bl=="object"&&Bl&&!Bl.nodeType&&Bl,mP1=bP1&&typeof wl=="object"&&wl&&!wl.nodeType&&wl,a64=mP1&&mP1.exports===bP1,lP1=a64?J6.Buffer:void 0,s64=lP1?lP1.isBuffer:void 0,o64=s64||OP1,ZY=o64;var e64="[object Arguments]",t64="[object Array]",I84="[object Boolean]",d84="[object Date]",G84="[object Error]",Z84="[object Function]",C84="[object Map]",W84="[object Number]",w84="[object Object]",B84="[object RegExp]",A84="[object Set]",V84="[object String]",X84="[object WeakMap]",Y84="[object ArrayBuffer]",_84="[object DataView]",D84="[object Float32Array]",H84="[object Float64Array]",F84="[object Int8Array]",g84="[object Int16Array]",J84="[object Int32Array]",K84="[object Uint8Array]",N84="[object Uint8ClampedArray]",z84="[object Uint16Array]",Q84="[object Uint32Array]",l9={};l9[D84]=l9[H84]=l9[F84]=l9[g84]=l9[J84]=l9[K84]=l9[N84]=l9[z84]=l9[Q84]=!0;l9[e64]=l9[t64]=l9[Y84]=l9[I84]=l9[_84]=l9[d84]=l9[G84]=l9[Z84]=l9[C84]=l9[W84]=l9[w84]=l9[B84]=l9[A84]=l9[V84]=l9[X84]=!1;function f84(I){return O8(I)&&hN(I.length)&&!!l9[JC(I)]}var hP1=f84;function q84(I){return function(d){return I(d)}}var cN=q84;var Vl={};Kv(Vl,{default:()=>Nw});var jP1=typeof Vl=="object"&&Vl&&!Vl.nodeType&&Vl,FE=jP1&&typeof Al=="object"&&Al&&!Al.nodeType&&Al,R84=FE&&FE.exports===jP1,k01=R84&&tm.process,U84=function(){try{var I=FE&&FE.require&&FE.require("util").types;if(I)return I;return k01&&k01.binding&&k01.binding("util")}catch(d){}}(),Nw=U84;var kP1=Nw&&Nw.isTypedArray,v84=kP1?cN(kP1):hP1,Xl=v84;var E84=Object.prototype,M84=E84.hasOwnProperty;function S84(I,d){var G=H3(I),Z=!G&&xN(I),C=!G&&!Z&&ZY(I),W=!G&&!Z&&!C&&Xl(I),w=G||Z||C||W,B=w?Wl(I.length,String):[],A=B.length;for(var V in I)if((d||M84.call(I,V))&&!(w&&(V=="length"||C&&(V=="offset"||V=="parent")||W&&(V=="buffer"||V=="byteLength"||V=="byteOffset")||mN(V,A))))B.push(V);return B}var Yl=S84;function L84(I,d){return function(G){return I(d(G))}}var _l=L84;var y84=_l(Object.keys,Object),xP1=y84;var P84=Object.prototype,$84=P84.hasOwnProperty;function u84(I){if(!kN(I))return xP1(I);var d=[];for(var G in Object(I))if($84.call(I,G)&&G!="constructor")d.push(G);return d}var cP1=u84;function T84(I){return jN(I)?Yl(I):cP1(I)}var sG=T84;function O84(I){var d=[];if(I!=null)for(var G in Object(I))d.push(G);return d}var pP1=O84;var m84=Object.prototype,l84=m84.hasOwnProperty;function b84(I){if(!o7(I))return pP1(I);var d=kN(I),G=[];for(var Z in I)if(!(Z=="constructor"&&(d||!l84.call(I,Z))))G.push(Z);return G}var iP1=b84;function h84(I){return jN(I)?Yl(I,!0):iP1(I)}var pN=h84;var j84=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,k84=/^\w*$/;function x84(I,d){if(H3(I))return!1;var G=typeof I;if(G=="number"||G=="symbol"||G=="boolean"||I==null||uN(I))return!0;return k84.test(I)||!j84.test(I)||d!=null&&I in Object(d)}var iN=x84;var c84=aI(Object,"create"),OA=c84;function p84(){this.__data__=OA?OA(null):{},this.size=0}var nP1=p84;function i84(I){var d=this.has(I)&&delete this.__data__[I];return this.size-=d?1:0,d}var rP1=i84;var n84="__lodash_hash_undefined__",r84=Object.prototype,a84=r84.hasOwnProperty;function s84(I){var d=this.__data__;if(OA){var G=d[I];return G===n84?void 0:G}return a84.call(d,I)?d[I]:void 0}var aP1=s84;var o84=Object.prototype,e84=o84.hasOwnProperty;function t84(I){var d=this.__data__;return OA?d[I]!==void 0:e84.call(d,I)}var sP1=t84;var I74="__lodash_hash_undefined__";function d74(I,d){var G=this.__data__;return this.size+=this.has(I)?0:1,G[I]=OA&&d===void 0?I74:d,this}var oP1=d74;function nN(I){var d=-1,G=I==null?0:I.length;this.clear();while(++d<G){var Z=I[d];this.set(Z[0],Z[1])}}nN.prototype.clear=nP1;nN.prototype.delete=rP1;nN.prototype.get=aP1;nN.prototype.has=sP1;nN.prototype.set=oP1;var x01=nN;function G74(){this.__data__=[],this.size=0}var eP1=G74;function Z74(I,d){var G=I.length;while(G--)if(bN(I[G][0],d))return G;return-1}var CY=Z74;var C74=Array.prototype,W74=C74.splice;function w74(I){var d=this.__data__,G=CY(d,I);if(G<0)return!1;var Z=d.length-1;if(G==Z)d.pop();else W74.call(d,G,1);return--this.size,!0}var tP1=w74;function B74(I){var d=this.__data__,G=CY(d,I);return G<0?void 0:d[G][1]}var I$1=B74;function A74(I){return CY(this.__data__,I)>-1}var d$1=A74;function V74(I,d){var G=this.__data__,Z=CY(G,I);if(Z<0)++this.size,G.push([I,d]);else G[Z][1]=d;return this}var G$1=V74;function rN(I){var d=-1,G=I==null?0:I.length;this.clear();while(++d<G){var Z=I[d];this.set(Z[0],Z[1])}}rN.prototype.clear=eP1;rN.prototype.delete=tP1;rN.prototype.get=I$1;rN.prototype.has=d$1;rN.prototype.set=G$1;var WY=rN;var X74=aI(J6,"Map"),wY=X74;function Y74(){this.size=0,this.__data__={hash:new x01,map:new(wY||WY),string:new x01}}var Z$1=Y74;function _74(I){var d=typeof I;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?I!=="__proto__":I===null}var C$1=_74;function D74(I,d){var G=I.__data__;return C$1(d)?G[typeof d=="string"?"string":"hash"]:G.map}var BY=D74;function H74(I){var d=BY(this,I).delete(I);return this.size-=d?1:0,d}var W$1=H74;function F74(I){return BY(this,I).get(I)}var w$1=F74;function g74(I){return BY(this,I).has(I)}var B$1=g74;function J74(I,d){var G=BY(this,I),Z=G.size;return G.set(I,d),this.size+=G.size==Z?0:1,this}var A$1=J74;function aN(I){var d=-1,G=I==null?0:I.length;this.clear();while(++d<G){var Z=I[d];this.set(Z[0],Z[1])}}aN.prototype.clear=Z$1;aN.prototype.delete=W$1;aN.prototype.get=w$1;aN.prototype.has=B$1;aN.prototype.set=A$1;var TF=aN;var K74="Expected a function";function c01(I,d){if(typeof I!="function"||d!=null&&typeof d!="function")throw new TypeError(K74);var G=function(){var Z=arguments,C=d?d.apply(this,Z):Z[0],W=G.cache;if(W.has(C))return W.get(C);var w=I.apply(this,Z);return G.cache=W.set(C,w)||W,w};return G.cache=new(c01.Cache||TF),G}c01.Cache=TF;var a2=c01;var N74=500;function z74(I){var d=a2(I,function(Z){if(G.size===N74)G.clear();return Z}),G=d.cache;return d}var V$1=z74;var Q74=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f74=/\\(\\)?/g,q74=V$1(function(I){var d=[];if(I.charCodeAt(0)===46)d.push("");return I.replace(Q74,function(G,Z,C,W){d.push(C?W.replace(f74,"$1"):Z||G)}),d}),X$1=q74;function R74(I){return I==null?"":zP1(I)}var Y$1=R74;function U74(I,d){if(H3(I))return I;return iN(I,d)?[I]:X$1(Y$1(I))}var AY=U74;var v74=1/0;function E74(I){if(typeof I=="string"||uN(I))return I;var d=I+"";return d=="0"&&1/I==-v74?"-0":d}var zw=E74;function M74(I,d){d=AY(d,I);var G=0,Z=d.length;while(I!=null&&G<Z)I=I[zw(d[G++])];return G&&G==Z?I:void 0}var sN=M74;function S74(I,d,G){var Z=I==null?void 0:sN(I,d);return Z===void 0?G:Z}var _$1=S74;function L74(I,d){var G=-1,Z=d.length,C=I.length;while(++G<Z)I[C+G]=d[G];return I}var oN=L74;var D$1=B8?B8.isConcatSpreadable:void 0;function y74(I){return H3(I)||xN(I)||!!(D$1&&I&&I[D$1])}var H$1=y74;function F$1(I,d,G,Z,C){var W=-1,w=I.length;G||(G=H$1),C||(C=[]);while(++W<w){var B=I[W];if(d>0&&G(B))if(d>1)F$1(B,d-1,G,Z,C);else oN(C,B);else if(!Z)C[C.length]=B}return C}var g$1=F$1;function P74(I){var d=I==null?0:I.length;return d?g$1(I,1):[]}var J$1=P74;function $74(I){return Zl(Cl(I,void 0,J$1),I+"")}var K$1=$74;var u74=_l(Object.getPrototypeOf,Object),Dl=u74;function T74(){this.__data__=new WY,this.size=0}var N$1=T74;function O74(I){var d=this.__data__,G=d.delete(I);return this.size=d.size,G}var z$1=O74;function m74(I){return this.__data__.get(I)}var Q$1=m74;function l74(I){return this.__data__.has(I)}var f$1=l74;var b74=200;function h74(I,d){var G=this.__data__;if(G instanceof WY){var Z=G.__data__;if(!wY||Z.length<b74-1)return Z.push([I,d]),this.size=++G.size,this;G=this.__data__=new TF(Z)}return G.set(I,d),this.size=G.size,this}var q$1=h74;function eN(I){var d=this.__data__=new WY(I);this.size=d.size}eN.prototype.clear=N$1;eN.prototype.delete=z$1;eN.prototype.get=Q$1;eN.prototype.has=f$1;eN.prototype.set=q$1;var VY=eN;function j74(I,d){return I&&GY(d,sG(d),I)}var R$1=j74;function k74(I,d){return I&&GY(d,pN(d),I)}var U$1=k74;var Fl={};Kv(Fl,{default:()=>p01});var S$1=typeof Fl=="object"&&Fl&&!Fl.nodeType&&Fl,v$1=S$1&&typeof Hl=="object"&&Hl&&!Hl.nodeType&&Hl,x74=v$1&&v$1.exports===S$1,E$1=x74?J6.Buffer:void 0,M$1=E$1?E$1.allocUnsafe:void 0;function c74(I,d){if(d)return I.slice();var G=I.length,Z=M$1?M$1(G):new I.constructor(G);return I.copy(Z),Z}var p01=c74;function p74(I,d){var G=-1,Z=I==null?0:I.length,C=0,W=[];while(++G<Z){var w=I[G];if(d(w,G,I))W[C++]=w}return W}var gl=p74;function i74(){return[]}var Jl=i74;var n74=Object.prototype,r74=n74.propertyIsEnumerable,L$1=Object.getOwnPropertySymbols,a74=!L$1?Jl:function(I){if(I==null)return[];return I=Object(I),gl(L$1(I),function(d){return r74.call(I,d)})},tN=a74;function s74(I,d){return GY(I,tN(I),d)}var y$1=s74;var o74=Object.getOwnPropertySymbols,e74=!o74?Jl:function(I){var d=[];while(I)oN(d,tN(I)),I=Dl(I);return d},Kl=e74;function t74(I,d){return GY(I,Kl(I),d)}var P$1=t74;function II4(I,d,G){var Z=d(I);return H3(I)?Z:oN(Z,G(I))}var Nl=II4;function dI4(I){return Nl(I,sG,tN)}var gE=dI4;function GI4(I){return Nl(I,pN,Kl)}var zl=GI4;var ZI4=aI(J6,"DataView"),Ql=ZI4;var CI4=aI(J6,"Promise"),fl=CI4;var WI4=aI(J6,"Set"),ql=WI4;var $$1="[object Map]",wI4="[object Object]",u$1="[object Promise]",T$1="[object Set]",O$1="[object WeakMap]",m$1="[object DataView]",BI4=TA(Ql),AI4=TA(wY),VI4=TA(fl),XI4=TA(ql),YI4=TA(Gl),OF=JC;if(Ql&&OF(new Ql(new ArrayBuffer(1)))!=m$1||wY&&OF(new wY)!=$$1||fl&&OF(fl.resolve())!=u$1||ql&&OF(new ql)!=T$1||Gl&&OF(new Gl)!=O$1)OF=function(I){var d=JC(I),G=d==wI4?I.constructor:void 0,Z=G?TA(G):"";if(Z)switch(Z){case BI4:return m$1;case AI4:return $$1;case VI4:return u$1;case XI4:return T$1;case YI4:return O$1}return d};var mA=OF;var _I4=Object.prototype,DI4=_I4.hasOwnProperty;function HI4(I){var d=I.length,G=new I.constructor(d);if(d&&typeof I[0]=="string"&&DI4.call(I,"index"))G.index=I.index,G.input=I.input;return G}var l$1=HI4;var FI4=J6.Uint8Array,Iz=FI4;function gI4(I){var d=new I.constructor(I.byteLength);return new Iz(d).set(new Iz(I)),d}var dz=gI4;function JI4(I,d){var G=d?dz(I.buffer):I.buffer;return new I.constructor(G,I.byteOffset,I.byteLength)}var b$1=JI4;var KI4=/\w*$/;function NI4(I){var d=new I.constructor(I.source,KI4.exec(I));return d.lastIndex=I.lastIndex,d}var h$1=NI4;var j$1=B8?B8.prototype:void 0,k$1=j$1?j$1.valueOf:void 0;function zI4(I){return k$1?Object(k$1.call(I)):{}}var x$1=zI4;function QI4(I,d){var G=d?dz(I.buffer):I.buffer;return new I.constructor(G,I.byteOffset,I.length)}var c$1=QI4;var fI4="[object Boolean]",qI4="[object Date]",RI4="[object Map]",UI4="[object Number]",vI4="[object RegExp]",EI4="[object Set]",MI4="[object String]",SI4="[object Symbol]",LI4="[object ArrayBuffer]",yI4="[object DataView]",PI4="[object Float32Array]",$I4="[object Float64Array]",uI4="[object Int8Array]",TI4="[object Int16Array]",OI4="[object Int32Array]",mI4="[object Uint8Array]",lI4="[object Uint8ClampedArray]",bI4="[object Uint16Array]",hI4="[object Uint32Array]";function jI4(I,d,G){var Z=I.constructor;switch(d){case LI4:return dz(I);case fI4:case qI4:return new Z(+I);case yI4:return b$1(I,G);case PI4:case $I4:case uI4:case TI4:case OI4:case mI4:case lI4:case bI4:case hI4:return c$1(I,G);case RI4:return new Z;case UI4:case MI4:return new Z(I);case vI4:return h$1(I);case EI4:return new Z;case SI4:return x$1(I)}}var p$1=jI4;function kI4(I){return typeof I.constructor=="function"&&!kN(I)?vP1(Dl(I)):{}}var i$1=kI4;var xI4="[object Map]";function cI4(I){return O8(I)&&mA(I)==xI4}var n$1=cI4;var r$1=Nw&&Nw.isMap,pI4=r$1?cN(r$1):n$1,a$1=pI4;var iI4="[object Set]";function nI4(I){return O8(I)&&mA(I)==iI4}var s$1=nI4;var o$1=Nw&&Nw.isSet,rI4=o$1?cN(o$1):s$1,e$1=rI4;var aI4=1,sI4=2,oI4=4,t$1="[object Arguments]",eI4="[object Array]",tI4="[object Boolean]",Id4="[object Date]",dd4="[object Error]",Iu1="[object Function]",Gd4="[object GeneratorFunction]",Zd4="[object Map]",Cd4="[object Number]",du1="[object Object]",Wd4="[object RegExp]",wd4="[object Set]",Bd4="[object String]",Ad4="[object Symbol]",Vd4="[object WeakMap]",Xd4="[object ArrayBuffer]",Yd4="[object DataView]",_d4="[object Float32Array]",Dd4="[object Float64Array]",Hd4="[object Int8Array]",Fd4="[object Int16Array]",gd4="[object Int32Array]",Jd4="[object Uint8Array]",Kd4="[object Uint8ClampedArray]",Nd4="[object Uint16Array]",zd4="[object Uint32Array]",y9={};y9[t$1]=y9[eI4]=y9[Xd4]=y9[Yd4]=y9[tI4]=y9[Id4]=y9[_d4]=y9[Dd4]=y9[Hd4]=y9[Fd4]=y9[gd4]=y9[Zd4]=y9[Cd4]=y9[du1]=y9[Wd4]=y9[wd4]=y9[Bd4]=y9[Ad4]=y9[Jd4]=y9[Kd4]=y9[Nd4]=y9[zd4]=!0;y9[dd4]=y9[Iu1]=y9[Vd4]=!1;function Rl(I,d,G,Z,C,W){var w,B=d&aI4,A=d&sI4,V=d&oI4;if(G)w=C?G(I,Z,C,W):G(I);if(w!==void 0)return w;if(!o7(I))return I;var X=H3(I);if(X){if(w=l$1(I),!B)return MP1(I,w)}else{var _=mA(I),F=_==Iu1||_==Gd4;if(ZY(I))return p01(I,B);if(_==du1||_==t$1||F&&!C){if(w=A||F?{}:i$1(I),!B)return A?P$1(I,U$1(w,I)):y$1(I,R$1(w,I))}else{if(!y9[_])return C?I:{};w=p$1(I,_,B)}}W||(W=new VY);var g=W.get(I);if(g)return g;if(W.set(I,w),e$1(I))I.forEach(function(Q){w.add(Rl(Q,d,G,Q,I,W))});else if(a$1(I))I.forEach(function(Q,E){w.set(E,Rl(Q,d,G,E,I,W))});var J=V?A?zl:gE:A?pN:sG,K=X?void 0:J(I);return PP1(K||I,function(Q,E){if(K)E=Q,Q=I[E];dY(w,E,Rl(Q,d,G,E,I,W))}),w}var Gu1=Rl;var Qd4=1,fd4=4;function qd4(I){return Gu1(I,Qd4|fd4)}var JE=qd4;var Rd4="__lodash_hash_undefined__";function Ud4(I){return this.__data__.set(I,Rd4),this}var Zu1=Ud4;function vd4(I){return this.__data__.has(I)}var Cu1=vd4;function Ul(I){var d=-1,G=I==null?0:I.length;this.__data__=new TF;while(++d<G)this.add(I[d])}Ul.prototype.add=Ul.prototype.push=Zu1;Ul.prototype.has=Cu1;var Wu1=Ul;function Ed4(I,d){var G=-1,Z=I==null?0:I.length;while(++G<Z)if(d(I[G],G,I))return!0;return!1}var wu1=Ed4;function Md4(I,d){return I.has(d)}var Bu1=Md4;var Sd4=1,Ld4=2;function yd4(I,d,G,Z,C,W){var w=G&Sd4,B=I.length,A=d.length;if(B!=A&&!(w&&A>B))return!1;var V=W.get(I),X=W.get(d);if(V&&X)return V==d&&X==I;var _=-1,F=!0,g=G&Ld4?new Wu1:void 0;W.set(I,d),W.set(d,I);while(++_<B){var J=I[_],K=d[_];if(Z)var Q=w?Z(K,J,_,d,I,W):Z(J,K,_,I,d,W);if(Q!==void 0){if(Q)continue;F=!1;break}if(g){if(!wu1(d,function(E,S){if(!Bu1(g,S)&&(J===E||C(J,E,G,Z,W)))return g.push(S)})){F=!1;break}}else if(!(J===K||C(J,K,G,Z,W))){F=!1;break}}return W.delete(I),W.delete(d),F}var vl=yd4;function Pd4(I){var d=-1,G=Array(I.size);return I.forEach(function(Z,C){G[++d]=[C,Z]}),G}var Au1=Pd4;function $d4(I){var d=-1,G=Array(I.size);return I.forEach(function(Z){G[++d]=Z}),G}var Vu1=$d4;var ud4=1,Td4=2,Od4="[object Boolean]",md4="[object Date]",ld4="[object Error]",bd4="[object Map]",hd4="[object Number]",jd4="[object RegExp]",kd4="[object Set]",xd4="[object String]",cd4="[object Symbol]",pd4="[object ArrayBuffer]",id4="[object DataView]",Xu1=B8?B8.prototype:void 0,i01=Xu1?Xu1.valueOf:void 0;function nd4(I,d,G,Z,C,W,w){switch(G){case id4:if(I.byteLength!=d.byteLength||I.byteOffset!=d.byteOffset)return!1;I=I.buffer,d=d.buffer;case pd4:if(I.byteLength!=d.byteLength||!W(new Iz(I),new Iz(d)))return!1;return!0;case Od4:case md4:case hd4:return bN(+I,+d);case ld4:return I.name==d.name&&I.message==d.message;case jd4:case xd4:return I==d+"";case bd4:var B=Au1;case kd4:var A=Z&ud4;if(B||(B=Vu1),I.size!=d.size&&!A)return!1;var V=w.get(I);if(V)return V==d;Z|=Td4,w.set(I,d);var X=vl(B(I),B(d),Z,C,W,w);return w.delete(I),X;case cd4:if(i01)return i01.call(I)==i01.call(d)}return!1}var Yu1=nd4;var rd4=1,ad4=Object.prototype,sd4=ad4.hasOwnProperty;function od4(I,d,G,Z,C,W){var w=G&rd4,B=gE(I),A=B.length,V=gE(d),X=V.length;if(A!=X&&!w)return!1;var _=A;while(_--){var F=B[_];if(!(w?F in d:sd4.call(d,F)))return!1}var g=W.get(I),J=W.get(d);if(g&&J)return g==d&&J==I;var K=!0;W.set(I,d),W.set(d,I);var Q=w;while(++_<A){F=B[_];var E=I[F],S=d[F];if(Z)var P=w?Z(S,E,F,d,I,W):Z(E,S,F,I,d,W);if(!(P===void 0?E===S||C(E,S,G,Z,W):P)){K=!1;break}Q||(Q=F=="constructor")}if(K&&!Q){var $=I.constructor,h=d.constructor;if($!=h&&(("constructor"in I)&&("constructor"in d))&&!(typeof $=="function"&&$ instanceof $&&typeof h=="function"&&h instanceof h))K=!1}return W.delete(I),W.delete(d),K}var _u1=od4;var ed4=1,Du1="[object Arguments]",Hu1="[object Array]",El="[object Object]",td4=Object.prototype,Fu1=td4.hasOwnProperty;function IG4(I,d,G,Z,C,W){var w=H3(I),B=H3(d),A=w?Hu1:mA(I),V=B?Hu1:mA(d);A=A==Du1?El:A,V=V==Du1?El:V;var X=A==El,_=V==El,F=A==V;if(F&&ZY(I)){if(!ZY(d))return!1;w=!0,X=!1}if(F&&!X)return W||(W=new VY),w||Xl(I)?vl(I,d,G,Z,C,W):Yu1(I,d,A,G,Z,C,W);if(!(G&ed4)){var g=X&&Fu1.call(I,"__wrapped__"),J=_&&Fu1.call(d,"__wrapped__");if(g||J){var K=g?I.value():I,Q=J?d.value():d;return W||(W=new VY),C(K,Q,G,Z,W)}}if(!F)return!1;return W||(W=new VY),_u1(I,d,G,Z,C,W)}var gu1=IG4;function Ju1(I,d,G,Z,C){if(I===d)return!0;if(I==null||d==null||!O8(I)&&!O8(d))return I!==I&&d!==d;return gu1(I,d,G,Z,Ju1,C)}var Gz=Ju1;var dG4=1,GG4=2;function ZG4(I,d,G,Z){var C=G.length,W=C,w=!Z;if(I==null)return!W;I=Object(I);while(C--){var B=G[C];if(w&&B[2]?B[1]!==I[B[0]]:!(B[0]in I))return!1}while(++C<W){B=G[C];var A=B[0],V=I[A],X=B[1];if(w&&B[2]){if(V===void 0&&!(A in I))return!1}else{var _=new VY;if(Z)var F=Z(V,X,A,I,d,_);if(!(F===void 0?Gz(X,V,dG4|GG4,Z,_):F))return!1}}return!0}var Ku1=ZG4;function CG4(I){return I===I&&!o7(I)}var Ml=CG4;function WG4(I){var d=sG(I),G=d.length;while(G--){var Z=d[G],C=I[Z];d[G]=[Z,C,Ml(C)]}return d}var Nu1=WG4;function wG4(I,d){return function(G){if(G==null)return!1;return G[I]===d&&(d!==void 0||(I in Object(G)))}}var Sl=wG4;function BG4(I){var d=Nu1(I);if(d.length==1&&d[0][2])return Sl(d[0][0],d[0][1]);return function(G){return G===I||Ku1(G,I,d)}}var zu1=BG4;function AG4(I,d){return I!=null&&d in Object(I)}var Qu1=AG4;function VG4(I,d,G){d=AY(d,I);var Z=-1,C=d.length,W=!1;while(++Z<C){var w=zw(d[Z]);if(!(W=I!=null&&G(I,w)))break;I=I[w]}if(W||++Z!=C)return W;return C=I==null?0:I.length,!!C&&hN(C)&&mN(w,C)&&(H3(I)||xN(I))}var fu1=VG4;function XG4(I,d){return I!=null&&fu1(I,d,Qu1)}var Ll=XG4;var YG4=1,_G4=2;function DG4(I,d){if(iN(I)&&Ml(d))return Sl(zw(I),d);return function(G){var Z=_$1(G,I);return Z===void 0&&Z===d?Ll(G,I):Gz(d,Z,YG4|_G4)}}var qu1=DG4;function HG4(I){return function(d){return d==null?void 0:d[I]}}var yl=HG4;function FG4(I){return function(d){return sN(d,I)}}var Ru1=FG4;function gG4(I){return iN(I)?yl(zw(I)):Ru1(I)}var Uu1=gG4;function JG4(I){if(typeof I=="function")return I;if(I==null)return TN;if(typeof I=="object")return H3(I)?qu1(I[0],I[1]):zu1(I);return Uu1(I)}var Pl=JG4;function KG4(I){return function(d,G,Z){var C=-1,W=Object(d),w=Z(d),B=w.length;while(B--){var A=w[I?B:++C];if(G(W[A],A,W)===!1)break}return d}}var vu1=KG4;var NG4=vu1(),Eu1=NG4;function zG4(I,d){return I&&Eu1(I,d,sG)}var Mu1=zG4;function QG4(I){return O8(I)&&jN(I)}var Su1=QG4;function fG4(I){var d=I==null?0:I.length;return d?I[d-1]:void 0}var lA=fG4;function qG4(I,d){return IY(d,function(G){return I[G]})}var Lu1=qG4;function RG4(I){return I==null?[]:Lu1(I,sG(I))}var yu1=RG4;function UG4(I,d){return Gz(I,d)}var n01=UG4;function vG4(I,d){var G={};return d=Pl(d,3),Mu1(I,function(Z,C,W){lN(G,C,d(Z,C,W))}),G}var $l=vG4;function EG4(I,d,G,Z){if(!o7(I))return I;d=AY(d,I);var C=-1,W=d.length,w=W-1,B=I;while(B!=null&&++C<W){var A=zw(d[C]),V=G;if(A==="__proto__"||A==="constructor"||A==="prototype")return I;if(C!=w){var X=B[A];if(V=Z?Z(X,A,B):void 0,V===void 0)V=o7(X)?X:mN(d[C+1])?[]:{}}dY(B,A,V),B=B[A]}return I}var Pu1=EG4;function MG4(I,d,G){var Z=-1,C=d.length,W={};while(++Z<C){var w=d[Z],B=sN(I,w);if(G(B,w))Pu1(W,AY(w,I),B)}return W}var ul=MG4;function SG4(I,d){if(I==null)return{};var G=IY(zl(I),function(Z){return[Z]});return d=Pl(d),ul(I,G,function(Z,C){return d(Z,C[0])})}var r01=SG4;function LG4(I,d){return ul(I,d,function(G,Z){return Ll(I,Z)})}var $u1=LG4;var yG4=K$1(function(I,d){return I==null?{}:$u1(I,d)}),Tl=yG4;var{floor:PG4,random:$G4}=Math;function uG4(I,d){return I+PG4($G4()*(d-I+1))}var uu1=uG4;function TG4(I){var d=I.length;return d?I[uu1(0,d-1)]:void 0}var Ol=TG4;function OG4(I){return Ol(yu1(I))}var Tu1=OG4;function mG4(I){var d=H3(I)?Ol:Tu1;return d(I)}var mF=mG4;var lG4=Math.max;function bG4(I){if(!(I&&I.length))return[];var d=0;return I=gl(I,function(G){if(Su1(G))return d=lG4(G.length,d),!0}),Wl(d,function(G){return IY(I,yl(G))})}var Ou1=bG4;var hG4=uP1(Ou1),a01=hG4;function jG4(I,d,G){var Z=-1,C=I.length,W=d.length,w={};while(++Z<C){var B=Z<W?d[Z]:void 0;G(w,I[Z],B)}return w}var mu1=jG4;function kG4(I,d){return mu1(I||[],d||[],dY)}var s01=kG4;import{homedir as WA4}from"os";import{execFile as tB4}from"child_process";import{cwd as oB4}from"process";var Dl1=J1(t01(),1);import*as N6 from"fs";import{homedir as xB4}from"os";import{existsSync as Yl1}from"fs";import{spawn as cB4,execSync as _l1}from"child_process";import{isAbsolute as pB4,resolve as iB4,join as nB4}from"path";import{existsSync as YY,mkdirSync as W21}from"fs";import{dirname as ru1,join as Cz}from"path";import{writeFileSync as KE,readFileSync as ZZ4}from"fs";import{randomUUID as CZ4}from"crypto";import F3 from"node:path";import nu1 from"node:os";import I21 from"node:process";var XY=nu1.homedir(),d21=nu1.tmpdir(),{env:Zz}=I21,IZ4=(I)=>{let d=F3.join(XY,"Library");return{data:F3.join(d,"Application Support",I),config:F3.join(d,"Preferences",I),cache:F3.join(d,"Caches",I),log:F3.join(d,"Logs",I),temp:F3.join(d21,I)}},dZ4=(I)=>{let d=Zz.APPDATA||F3.join(XY,"AppData","Roaming"),G=Zz.LOCALAPPDATA||F3.join(XY,"AppData","Local");return{data:F3.join(G,I,"Data"),config:F3.join(d,I,"Config"),cache:F3.join(G,I,"Cache"),log:F3.join(G,I,"Log"),temp:F3.join(d21,I)}},GZ4=(I)=>{let d=F3.basename(XY);return{data:F3.join(Zz.XDG_DATA_HOME||F3.join(XY,".local","share"),I),config:F3.join(Zz.XDG_CONFIG_HOME||F3.join(XY,".config"),I),cache:F3.join(Zz.XDG_CACHE_HOME||F3.join(XY,".cache"),I),log:F3.join(Zz.XDG_STATE_HOME||F3.join(XY,".local","state"),I),temp:F3.join(d21,d,I)}};function G21(I,{suffix:d="nodejs"}={}){if(typeof I!=="string")throw new TypeError(`Expected a string, got ${typeof I}`);if(d)I+=`-${d}`;if(I21.platform==="darwin")return IZ4(I);if(I21.platform==="win32")return dZ4(I);return GZ4(I)}var ml=[],WZ4=100,id=CZ4(),Z21=G21("claude-cli");function C21(I){return I.replace(/[^a-zA-Z0-9]/g,"-")}var _Y={errors:()=>Cz(Z21.cache,C21(process.cwd()),"errors"),messages:()=>Cz(Z21.cache,C21(process.cwd()),"messages"),mcpLogs:(I)=>Cz(Z21.cache,C21(process.cwd()),`mcp-logs-${I}`)};function ll(I){return I.toISOString().replace(/[:.]/g,"-")}var au1=ll(new Date);function wZ4(){return Cz(_Y.errors(),au1+".txt")}function DY(I,d,G){return Cz(_Y.messages(),`${I}${d>0?`-${d}`:""}${G>0?`-sidechain-${G}`:""}.json`)}function X0(I){try{let d=I instanceof Error?I.stack||I.message:String(I),G={error:d,timestamp:new Date().toISOString()};if(ml.length>=WZ4)ml.shift();ml.push(G),BZ4(wZ4(),{error:d})}catch{}bl(I)}function su1(){return[...ml]}function ou1(I){if(!YY(I))return[];try{return JSON.parse(ZZ4(I,"utf8"))}catch{return[]}}function BZ4(I,d){return}function Wz(I,d){return}function w21(I,d,G){while(YY(DY(I,d,G)))d++;return d}function eu1(I,d){let G=1;while(YY(DY(I,d,G)))G++;return G}function wz(I,d){try{let G=_Y.mcpLogs(I),Z=d instanceof Error?d.stack||d.message:String(d),C=new Date().toISOString(),W=Cz(G,au1+".txt");if(!YY(G))W21(G,{recursive:!0});if(!YY(W))KE(W,"[]","utf8");let w={error:Z,timestamp:C,sessionId:id,cwd:process.cwd()},B=ou1(W);B.push(w),KE(W,JSON.stringify(B,null,2),"utf8")}catch{}}import*as Hl1 from"os";var kB4=J1(u1(),1);var XT1=(I=0)=>(d)=>`\x1B[${d+I}m`,YT1=(I=0)=>(d)=>`\x1B[${38+I};5;${d}m`,_T1=(I=0)=>(d,G,Z)=>`\x1B[${38+I};2;${d};${G};${Z}m`,s9={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},iq9=Object.keys(s9.modifier),wC4=Object.keys(s9.color),BC4=Object.keys(s9.bgColor),nq9=[...wC4,...BC4];function AC4(){let I=new Map;for(let[d,G]of Object.entries(s9)){for(let[Z,C]of Object.entries(G))s9[Z]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},G[Z]=s9[Z],I.set(C[0],C[1]);Object.defineProperty(s9,d,{value:G,enumerable:!1})}return Object.defineProperty(s9,"codes",{value:I,enumerable:!1}),s9.color.close="\x1B[39m",s9.bgColor.close="\x1B[49m",s9.color.ansi=XT1(),s9.color.ansi256=YT1(),s9.color.ansi16m=_T1(),s9.bgColor.ansi=XT1(10),s9.bgColor.ansi256=YT1(10),s9.bgColor.ansi16m=_T1(10),Object.defineProperties(s9,{rgbToAnsi256:{value(d,G,Z){if(d===G&&G===Z){if(d<8)return 16;if(d>248)return 231;return Math.round((d-8)/247*24)+232}return 16+36*Math.round(d/255*5)+6*Math.round(G/255*5)+Math.round(Z/255*5)},enumerable:!1},hexToRgb:{value(d){let G=/[a-f\d]{6}|[a-f\d]{3}/i.exec(d.toString(16));if(!G)return[0,0,0];let[Z]=G;if(Z.length===3)Z=[...Z].map((W)=>W+W).join("");let C=Number.parseInt(Z,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:(d)=>s9.rgbToAnsi256(...s9.hexToRgb(d)),enumerable:!1},ansi256ToAnsi:{value(d){if(d<8)return 30+d;if(d<16)return 90+(d-8);let G,Z,C;if(d>=232)G=((d-232)*10+8)/255,Z=G,C=G;else{d-=16;let B=d%36;G=Math.floor(d/36)/5,Z=Math.floor(B/6)/5,C=B%6/5}let W=Math.max(G,Z,C)*2;if(W===0)return 30;let w=30+(Math.round(C)<<2|Math.round(Z)<<1|Math.round(G));if(W===2)w+=60;return w},enumerable:!1},rgbToAnsi:{value:(d,G,Z)=>s9.ansi256ToAnsi(s9.rgbToAnsi256(d,G,Z)),enumerable:!1},hexToAnsi:{value:(d)=>s9.ansi256ToAnsi(s9.hexToAnsi256(d)),enumerable:!1}}),s9}var VC4=AC4(),KC=VC4;import _21 from"node:process";import XC4 from"node:os";import DT1 from"node:tty";function oG(I,d=globalThis.Deno?globalThis.Deno.args:_21.argv){let G=I.startsWith("-")?"":I.length===1?"-":"--",Z=d.indexOf(G+I),C=d.indexOf("--");return Z!==-1&&(C===-1||Z<C)}var{env:g3}=_21,xl;if(oG("no-color")||oG("no-colors")||oG("color=false")||oG("color=never"))xl=0;else if(oG("color")||oG("colors")||oG("color=true")||oG("color=always"))xl=1;function YC4(){if("FORCE_COLOR"in g3){if(g3.FORCE_COLOR==="true")return 1;if(g3.FORCE_COLOR==="false")return 0;return g3.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(g3.FORCE_COLOR,10),3)}}function _C4(I){if(I===0)return!1;return{level:I,hasBasic:!0,has256:I>=2,has16m:I>=3}}function DC4(I,{streamIsTTY:d,sniffFlags:G=!0}={}){let Z=YC4();if(Z!==void 0)xl=Z;let C=G?xl:Z;if(C===0)return 0;if(G){if(oG("color=16m")||oG("color=full")||oG("color=truecolor"))return 3;if(oG("color=256"))return 2}if("TF_BUILD"in g3&&"AGENT_NAME"in g3)return 1;if(I&&!d&&C===void 0)return 0;let W=C||0;if(g3.TERM==="dumb")return W;if(_21.platform==="win32"){let w=XC4.release().split(".");if(Number(w[0])>=10&&Number(w[2])>=10586)return Number(w[2])>=14931?3:2;return 1}if("CI"in g3){if("GITHUB_ACTIONS"in g3||"GITEA_ACTIONS"in g3)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((w)=>(w in g3))||g3.CI_NAME==="codeship")return 1;return W}if("TEAMCITY_VERSION"in g3)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g3.TEAMCITY_VERSION)?1:0;if(g3.COLORTERM==="truecolor")return 3;if(g3.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in g3){let w=Number.parseInt((g3.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g3.TERM_PROGRAM){case"iTerm.app":return w>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(g3.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g3.TERM))return 1;if("COLORTERM"in g3)return 1;return W}function HT1(I,d={}){let G=DC4(I,{streamIsTTY:I&&I.isTTY,...d});return _C4(G)}var HC4={stdout:HT1({isTTY:DT1.isatty(1)}),stderr:HT1({isTTY:DT1.isatty(2)})},FT1=HC4;function gT1(I,d,G){let Z=I.indexOf(d);if(Z===-1)return I;let C=d.length,W=0,w="";do w+=I.slice(W,Z)+d+G,W=Z+C,Z=I.indexOf(d,W);while(Z!==-1);return w+=I.slice(W),w}function JT1(I,d,G,Z){let C=0,W="";do{let w=I[Z-1]==="\r";W+=I.slice(C,w?Z-1:Z)+d+(w?`\r
`:`
`)+G,C=Z+1,Z=I.indexOf(`
`,C)}while(Z!==-1);return W+=I.slice(C),W}var{stdout:KT1,stderr:NT1}=FT1,D21=Symbol("GENERATOR"),Az=Symbol("STYLER"),zE=Symbol("IS_EMPTY"),zT1=["ansi","ansi","ansi256","ansi16m"],Vz=Object.create(null),FC4=(I,d={})=>{if(d.level&&!(Number.isInteger(d.level)&&d.level>=0&&d.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let G=KT1?KT1.level:0;I.level=d.level===void 0?G:d.level};var gC4=(I)=>{let d=(...G)=>G.join(" ");return FC4(d,I),Object.setPrototypeOf(d,QE.prototype),d};function QE(I){return gC4(I)}Object.setPrototypeOf(QE.prototype,Function.prototype);for(let[I,d]of Object.entries(KC))Vz[I]={get(){let G=cl(this,F21(d.open,d.close,this[Az]),this[zE]);return Object.defineProperty(this,I,{value:G}),G}};Vz.visible={get(){let I=cl(this,this[Az],!0);return Object.defineProperty(this,"visible",{value:I}),I}};var H21=(I,d,G,...Z)=>{if(I==="rgb"){if(d==="ansi16m")return KC[G].ansi16m(...Z);if(d==="ansi256")return KC[G].ansi256(KC.rgbToAnsi256(...Z));return KC[G].ansi(KC.rgbToAnsi(...Z))}if(I==="hex")return H21("rgb",d,G,...KC.hexToRgb(...Z));return KC[G][I](...Z)},JC4=["rgb","hex","ansi256"];for(let I of JC4){Vz[I]={get(){let{level:G}=this;return function(...Z){let C=F21(H21(I,zT1[G],"color",...Z),KC.color.close,this[Az]);return cl(this,C,this[zE])}}};let d="bg"+I[0].toUpperCase()+I.slice(1);Vz[d]={get(){let{level:G}=this;return function(...Z){let C=F21(H21(I,zT1[G],"bgColor",...Z),KC.bgColor.close,this[Az]);return cl(this,C,this[zE])}}}}var KC4=Object.defineProperties(()=>{},{...Vz,level:{enumerable:!0,get(){return this[D21].level},set(I){this[D21].level=I}}}),F21=(I,d,G)=>{let Z,C;if(G===void 0)Z=I,C=d;else Z=G.openAll+I,C=d+G.closeAll;return{open:I,close:d,openAll:Z,closeAll:C,parent:G}},cl=(I,d,G)=>{let Z=(...C)=>NC4(Z,C.length===1?""+C[0]:C.join(" "));return Object.setPrototypeOf(Z,KC4),Z[D21]=I,Z[Az]=d,Z[zE]=G,Z},NC4=(I,d)=>{if(I.level<=0||!d)return I[zE]?"":d;let G=I[Az];if(G===void 0)return d;let{openAll:Z,closeAll:C}=G;if(d.includes("\x1B"))while(G!==void 0)d=gT1(d,G.close,G.open),G=G.parent;let W=d.indexOf(`
`);if(W!==-1)d=JT1(d,C,Z,W);return Z+d+C};Object.defineProperties(QE.prototype,Vz);var zC4=QE(),ZR9=QE({level:NT1?NT1.level:0});var c0=zC4;var Rb=J1(Il1(),1);var LB4={visibilityState:"visible",documentElement:{lang:"en"},addEventListener:(I,d)=>{}},yB4={document:LB4,location:{href:"node://localhost",pathname:"/"},addEventListener:(I,d)=>{if(I==="beforeunload")process.on("exit",()=>{if(typeof d==="function")d({});else d.handleEvent({})})},focus:()=>{},innerHeight:768,innerWidth:1024},PB4={sendBeacon:(I,d)=>{return!0},userAgent:"Mozilla/5.0 (Node.js) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0",language:"en-US"};if(typeof window==="undefined")global.window=yB4;if(typeof navigator==="undefined")global.navigator=PB4;import*as NC from"fs";import*as yE from"path";import{homedir as $B4}from"os";import{existsSync as uB4,unlinkSync as TB4}from"fs";var cF=yE.join($B4(),".claude","statsig");try{NC.mkdirSync(cF,{recursive:!0})}catch(I){X0(`Failed to create statsig storage directory: ${I}`)}class e21{cache=new Map;ready=!1;constructor(){try{if(!NC.existsSync(cF))NC.mkdirSync(cF,{recursive:!0});let I=NC.readdirSync(cF);for(let d of I){let G=decodeURIComponent(d),Z=NC.readFileSync(yE.join(cF,d),"utf8");this.cache.set(G,Z)}this.ready=!0}catch(I){X0(`Failed to initialize statsig storage: ${I}`),this.ready=!0}}isReady(){return this.ready}isReadyResolver(){return this.ready?Promise.resolve():null}getProviderName(){return"FileSystemStorageProvider"}getItem(I){return this.cache.get(I)??null}setItem(I,d){this.cache.set(I,d);try{let G=encodeURIComponent(I);NC.writeFileSync(yE.join(cF,G),d,"utf8")}catch(G){X0(`Failed to write statsig storage item: ${G}`)}}removeItem(I){this.cache.delete(I);let d=encodeURIComponent(I),G=yE.join(cF,d);if(!uB4(G))return;try{TB4(G)}catch(Z){X0(`Failed to remove statsig storage item: ${Z}`)}}getAllKeys(){return Array.from(this.cache.keys())}}var dl1="https://e531a1d9ec1de9064fae9d4affb0b0f4@o1158394.ingest.us.sentry.io/4508259541909504",Gl1="client-RRNS7R65EAtReO5XA4xDC3eU6ZdJQi6lLEP6b5j32Me";var Zl1="tengu-token-efficient-tools",Cl1="token-efficient-tools-2024-12-11",Wl1="tengu-use-external-updater",wl1="claude-code-20250219";var fb=a2(async()=>{let I=[wl1];if(process.env.SWE_BENCH){if(await NY(Zl1))I.push(Cl1)}return I});var eG=a2(async()=>{let{code:I}=await E5("git",["rev-parse","--is-inside-work-tree"]);return I===0}),OB4=async()=>{let{stdout:I}=await E5("git",["rev-parse","HEAD"]);return I.trim()},mB4=async()=>{let{stdout:I}=await E5("git",["rev-parse","--abbrev-ref","HEAD"],void 0,void 0,!1);return I.trim()},lB4=async()=>{let{stdout:I,code:d}=await E5("git",["remote","get-url","origin"],void 0,void 0,!1);return d===0?I.trim():null},bB4=async()=>{let{code:I}=await E5("git",["rev-parse","@{u}"],void 0,void 0,!1);return I===0},hB4=async()=>{let{stdout:I}=await E5("git",["status","--porcelain"],void 0,void 0,!1);return I.trim().length===0};async function qb(){try{let[I,d,G,Z,C]=await Promise.all([OB4(),mB4(),lB4(),bB4(),hB4()]);return{commitHash:I,branchName:d,remoteUrl:G,isHeadOnRemote:Z,isClean:C}}catch(I){return null}}var b9=!!process.env.CLAUDE_CODE_USE_BEDROCK,h9=!!process.env.CLAUDE_CODE_USE_VERTEX,Bl1={bedrock:"us.anthropic.claude-3-7-sonnet-20250219-v1:0",vertex:"claude-3-7-sonnet@20250219",firstParty:"claude-3-7-sonnet-20250219"},Rw=b9?"us.anthropic.claude-3-5-haiku-20241022-v1:0":h9?"claude-3-5-haiku@20241022":"claude-3-5-haiku-20241022";async function jB4(){try{return await PE("tengu-capable-model-config",Bl1)}catch(I){return X0(I),Bl1}}var K6=a2(async()=>{let I=await jB4();if(b9)return I.bedrock;if(h9)return I.vertex;return I.firstParty});async function t21(){return!process.env.ANTHROPIC_MODEL||process.env.ANTHROPIC_MODEL===await K6()}function Al1(I){if(I?.startsWith("claude-3-5-haiku"))return process.env.VERTEX_REGION_CLAUDE_3_5_HAIKU;else if(I?.startsWith("claude-3-5-sonnet"))return process.env.VERTEX_REGION_CLAUDE_3_5_SONNET;else if(I?.startsWith("claude-3-7-sonnet"))return process.env.VERTEX_REGION_CLAUDE_3_7_SONNET}var Vl1={},$E=null,Uz=a2(async()=>{if(K2.isCI)return null;let I=await Ub(),d={networkConfig:{api:"https://statsig.anthropic.com/v1/"},environment:{tier:K2.isCI||["test","development"].includes("production")?"dev":"production"},logLevel:Rb.LogLevel.None,storageProvider:new e21};return $E=new Rb.StatsigClient(Gl1,I,d),$E.on("error",(G)=>{X0(`Statsig error: ${G}`)}),await $E.initializeAsync(),process.on("exit",()=>{$E?.flush()}),$E});function I0(I,d){if(K2.isCI)return;Promise.all([Uz(),eG(),fb(),d.model?Promise.resolve(d.model):K6()]).then(([G,Z,C,W])=>{if(!G)return;let w={...d,model:W,sessionId:id,userType:"external",...{},...C.length>0?{betas:C.join(",")}:{},env:JSON.stringify({isGit:Z,platform:K2.platform,nodeVersion:K2.nodeVersion,terminal:K2.terminal,version:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION})},B={eventName:I,metadata:w};G.logEvent(B)})}var NY=a2(async(I)=>{if(K2.isCI)return!1;let d=await Uz();if(!d)return!1;let G=d.checkGate(I);return Vl1[I]=G,G});function Xl1(){return{...Vl1}}var $U9=a2(async(I,d)=>{if(K2.isCI)return d;let G=await Uz();if(!G)return d;let Z=G.getExperiment(I);if(Object.keys(Z.value).length===0)return X0(`getExperimentValue got empty value for ${I}`),d;return Z.value}),PE=async(I,d)=>{if(K2.isCI)return d;let G=await Uz();if(!G)return d;let Z=G.getDynamicConfig(I);if(Object.keys(Z.value).length===0)return X0(`getDynamicConfig got empty value for ${I}`),d;return Z.value};var vb=Hl1.tmpdir()+"/claude-",rB4=1800000,aB4=143,Eb={STATUS:"-status",STDOUT:"-stdout",STDERR:"-stderr",CWD:"-cwd"},sB4={"/bin/bash":".bashrc","/bin/zsh":".zshrc"};class m8{commandQueue=[];isExecuting=!1;shell;isAlive=!0;commandInterrupted=!1;statusFile;stdoutFile;stderrFile;cwdFile;cwd;binShell;constructor(I){this.binShell=process.env.SHELL||"/bin/bash",this.shell=cB4(this.binShell,["-l"],{stdio:["pipe","pipe","pipe"],cwd:I,env:{...process.env,GIT_EDITOR:"true"}}),this.cwd=I,this.shell.on("exit",(Z,C)=>{if(Z)X0(`Shell exited with code ${Z} and signal ${C}`),I0("persistent_shell_exit",{code:Z?.toString()||"null",signal:C||"null"});for(let W of[this.statusFile,this.stdoutFile,this.stderrFile,this.cwdFile])if(N6.existsSync(W))N6.unlinkSync(W);this.isAlive=!1});let d=Math.floor(Math.random()*65536).toString(16).padStart(4,"0");this.statusFile=vb+d+Eb.STATUS,this.stdoutFile=vb+d+Eb.STDOUT,this.stderrFile=vb+d+Eb.STDERR,this.cwdFile=vb+d+Eb.CWD;for(let Z of[this.statusFile,this.stdoutFile,this.stderrFile])N6.writeFileSync(Z,"");N6.writeFileSync(this.cwdFile,I);let G=sB4[this.binShell];if(G){let Z=nB4(xB4(),G);if(Yl1(Z))this.sendToShell(`source ${Z}`)}}static instance=null;static restart(){if(m8.instance)m8.instance.close(),m8.instance=null}static getInstance(){if(!m8.instance||!m8.instance.isAlive)m8.instance=new m8(process.cwd());return m8.instance}killChildren(){let I=this.shell.pid;try{let d=_l1(`pgrep -P ${I}`).toString().trim().split(`
`).filter(Boolean);if(d.length>0)I0("persistent_shell_command_interrupted",{numChildProcesses:d.length.toString()});d.forEach((G)=>{try{process.kill(Number(G),"SIGTERM")}catch(Z){X0(`Failed to kill process ${G}: ${Z}`),I0("persistent_shell_kill_process_error",{error:Z.message.substring(0,10)})}})}catch{}finally{this.commandInterrupted=!0}}async processQueue(){if(this.isExecuting||this.commandQueue.length===0)return;this.isExecuting=!0;let{command:I,abortSignal:d,timeout:G,resolve:Z,reject:C}=this.commandQueue.shift(),W=()=>this.killChildren();if(d)d.addEventListener("abort",W);try{let w=await this.exec_(I,G);Z(w)}catch(w){I0("persistent_shell_command_error",{error:w.message.substring(0,10)}),C(w)}finally{if(this.isExecuting=!1,d)d.removeEventListener("abort",W);this.processQueue()}}async exec(I,d,G){return new Promise((Z,C)=>{this.commandQueue.push({command:I,abortSignal:d,timeout:G,resolve:Z,reject:C}),this.processQueue()})}async exec_(I,d){let G=Dl1.default.quote([I]);try{_l1(`${this.binShell} -n -c ${G}`,{stdio:"ignore",timeout:1000})}catch(C){let W=typeof C==="string"?C:String(C||"");return I0("persistent_shell_syntax_error",{error:W.substring(0,10)}),Promise.resolve({stdout:"",stderr:W,code:128,interrupted:!1})}let Z=d||rB4;return this.commandInterrupted=!1,new Promise((C)=>{N6.writeFileSync(this.stdoutFile,""),N6.writeFileSync(this.stderrFile,""),N6.writeFileSync(this.statusFile,"");let W=[];W.push(`eval ${G} < /dev/null > ${this.stdoutFile} 2> ${this.stderrFile}`),W.push("EXEC_EXIT_CODE=$?"),W.push(`pwd > ${this.cwdFile}`),W.push(`echo $EXEC_EXIT_CODE > ${this.statusFile}`),this.sendToShell(W.join(`
`));let w=Date.now(),B=setInterval(()=>{try{let A=0;if(N6.existsSync(this.statusFile))A=N6.statSync(this.statusFile).size;if(A>0||Date.now()-w>Z||this.commandInterrupted){clearInterval(B);let V=N6.existsSync(this.stdoutFile)?N6.readFileSync(this.stdoutFile,"utf8"):"",X=N6.existsSync(this.stderrFile)?N6.readFileSync(this.stderrFile,"utf8"):"",_;if(A)_=Number(N6.readFileSync(this.statusFile,"utf8"));else this.killChildren(),_=aB4,X+=(X?`
`:"")+"Command execution timed out",I0("persistent_shell_command_timeout",{command:I.substring(0,10),timeout:Z.toString()});C({stdout:V,stderr:X,code:_,interrupted:this.commandInterrupted})}}catch{}},10)})}sendToShell(I){try{this.shell.stdin.write(I+`
`)}catch(d){let G=d instanceof Error?d.message:String(d||"Unknown error");throw X0(`Error in sendToShell: ${G}`),I0("persistent_shell_write_error",{error:G.substring(0,100),command:I.substring(0,30)}),d}}pwd(){try{let I=N6.readFileSync(this.cwdFile,"utf8").trim();if(I)this.cwd=I}catch(I){X0(`Shell pwd error ${I}`)}return this.cwd}async setCwd(I){let d=pB4(I)?I:iB4(process.cwd(),I);if(!Yl1(d))throw new Error(`Path "${d}" does not exist`);await this.exec(`cd ${d}`)}close(){this.shell.stdin.end(),this.shell.kill()}}var eB4={originalCwd:oB4()};async function Uw(I){await m8.getInstance().setCwd(I)}function t7(){return eB4.originalCwd}function R0(){return m8.getInstance().pwd()}var IA4=1000,dA4=60;function E5(I,d,G,Z=10*dA4*IA4,C=!0){return new Promise((W)=>{try{tB4(I,d,{maxBuffer:1e6,signal:G,timeout:Z,cwd:R0()},(w,B,A)=>{if(w)if(C){let V=typeof w.code==="number"?w.code:1;W({stdout:B||"",stderr:A||"",code:V})}else W({stdout:"",stderr:"",code:1});else W({stdout:B,stderr:A,code:0})})}catch(w){X0(w),W({stdout:"",stderr:"",code:1})}})}import{join as Mb}from"path";import{homedir as Fl1}from"os";var vz=process.env.CLAUDE_CONFIG_DIR??Mb(Fl1(),".claude"),jA=process.env.CLAUDE_CONFIG_DIR?Mb(vz,"config.json"):Mb(Fl1(),".claude.json"),gl1=Mb(vz,"memory"),GA4=a2(async()=>{let{code:I}=await E5("test",["-f","/.dockerenv"]);if(I!==0)return!1;return process.platform==="linux"}),ZA4=a2(async()=>{try{let I=new AbortController,d=setTimeout(()=>I.abort(),1000);return await fetch("http://1.1.1.1",{method:"HEAD",signal:I.signal}),clearTimeout(d),!0}catch{return!1}}),K2={getIsDocker:GA4,hasInternetAccess:ZA4,isCI:Boolean(process.env.CI),platform:process.platform==="win32"?"windows":process.platform==="darwin"?"macos":"linux",nodeVersion:process.version,terminal:process.env.TERM_PROGRAM};import{randomBytes as wA4}from"crypto";function tG(I){if(!I)return null;try{return JSON.parse(I)}catch(d){return X0(d),null}}class I41 extends TypeError{}class Ez extends Error{}class Mz extends Error{filePath;defaultConfig;constructor(I,d,G){super(I);this.name="ConfigParseError",this.filePath=d,this.defaultConfig=G}}var Nl1={allowedTools:[],context:{},history:[],dontCrawlDirectory:!1,enableArchitectTool:!1,mcpContextUris:[],mcpServers:{},approvedMcprcServers:[],rejectedMcprcServers:[],hasTrustDialogAccepted:!1};function Kl1(I){let d={...Nl1};if(I===WA4())d.dontCrawlDirectory=!0;return d}function BA4(I){return["disabled","enabled","no_permissions","not_configured"].includes(I)}var zC={numStartups:0,autoUpdaterStatus:"not_configured",theme:"dark",preferredNotifChannel:"iterm2",verbose:!1,customApiKeyResponses:{approved:[],rejected:[]}},uE=["autoUpdaterStatus","theme","hasCompletedOnboarding","lastOnboardingVersion","lastReleaseNotesSeen","verbose","customApiKeyResponses","primaryApiKey","preferredNotifChannel","shiftEnterKeyBindingInstalled"];function C41(I){return uE.includes(I)}var TE=["dontCrawlDirectory","enableArchitectTool","hasTrustDialogAccepted","hasCompletedProjectOnboarding"];function zl1(){let I=R0(),d=Sz(jA,zC);while(!0){if(d.projects?.[I]?.hasTrustDialogAccepted)return!0;let Z=Z41(I,"..");if(Z===I)break;I=Z}return!1}var Hv9={...zC,autoUpdaterStatus:"disabled"},Fv9={...Nl1};function W41(I){return TE.includes(I)}function p4(I){fl1(jA,{...I,projects:Sz(jA,zC).projects},zC)}function q2(){return Sz(jA,zC)}function vw(){return q2().primaryApiKey??null}function Sb(I){return I.slice(-20)}function Lb(){let I=q2();return vw()===I.primaryApiKey}function Ql1(I){let d=q2();if(d.customApiKeyResponses?.approved?.includes(I))return"approved";if(d.customApiKeyResponses?.rejected?.includes(I))return"rejected";return"new"}function fl1(I,d,G){let Z=Object.fromEntries(Object.entries(d).filter(([C,W])=>JSON.stringify(W)!==JSON.stringify(G[C])));CA4(I,JSON.stringify(Z,null,2),"utf-8")}var ql1=!1;function Rl1(){ql1=!0,Sz(jA,zC,!0)}function Sz(I,d,G){if(!ql1)throw new Error("Config accessed before allowed.");if(!d41(I))return JE(d);try{let Z=G41(I,"utf-8");try{let C=JSON.parse(Z);return{...JE(d),...C}}catch(C){let W=C instanceof Error?C.message:String(C);throw new Mz(W,I,d)}}catch(Z){if(Z instanceof Mz&&G)throw Z;return JE(d)}}function I5(){let I=Z41(R0()),d=Sz(jA,zC);if(!d.projects)return Kl1(I);let G=d.projects[I]??Kl1(I);if(typeof G.allowedTools==="string")G.allowedTools=tG(G.allowedTools)??[];return G}function o9(I){let d=Sz(jA,zC);fl1(jA,{...d,projects:{...d.projects,[Z41(R0())]:I}},zC)}async function Ul1(){return await NY(Wl1)||q2().autoUpdaterStatus==="disabled"}var OE=a2(()=>{let I=Jl1(R0(),".mcprc");if(!d41(I))return{};try{let d=G41(I,"utf-8"),G=tG(d);if(G&&typeof G==="object")return I0("tengu_mcprc_found",{numServers:Object.keys(G).length.toString()}),G}catch{}return{}},()=>{let I=R0(),d=Jl1(I,".mcprc");if(d41(d))try{let G=G41(d,"utf-8");return`${I}:${G}`}catch{return I}return I});function yb(){let I=q2();if(I.userID)return I.userID;let d=wA4(32).toString("hex");return p4({...I,userID:d}),d}function vl1(I,d){if(I0("tengu_config_get",{key:I,global:d?.toString()??"false"}),d){if(!C41(I))console.error(`Error: '${I}' is not a valid config key. Valid keys are: ${uE.join(", ")}`),process.exit(1);return q2()[I]}else{if(!W41(I))console.error(`Error: '${I}' is not a valid config key. Valid keys are: ${TE.join(", ")}`),process.exit(1);return I5()[I]}}function El1(I,d,G){if(I0("tengu_config_set",{key:I,global:G?.toString()??"false"}),G){if(!C41(I))console.error(`Error: Cannot set '${I}'. Only these keys can be modified: ${uE.join(", ")}`),process.exit(1);if(I==="autoUpdaterStatus"&&!BA4(d))console.error("Error: Invalid value for autoUpdaterStatus. Must be one of: disabled, enabled, no_permissions, not_configured"),process.exit(1);let Z=q2();p4({...Z,[I]:d})}else{if(!W41(I))console.error(`Error: Cannot set '${I}'. Only these keys can be modified: ${TE.join(", ")}. Did you mean --global?`),process.exit(1);let Z=I5();o9({...Z,[I]:d})}setTimeout(()=>{process.exit(0)},100)}function Ml1(I,d){if(I0("tengu_config_delete",{key:I,global:d?.toString()??"false"}),d){if(!C41(I))console.error(`Error: Cannot delete '${I}'. Only these keys can be modified: ${uE.join(", ")}`),process.exit(1);let G=q2();delete G[I],p4(G)}else{if(!W41(I))console.error(`Error: Cannot delete '${I}'. Only these keys can be modified: ${TE.join(", ")}. Did you mean --global?`),process.exit(1);let G=I5();delete G[I],o9(G)}}function Sl1(I){if(I0("tengu_config_list",{global:I?.toString()??"false"}),I)return Tl(q2(),uE);else return Tl(I5(),TE)}var Ll1=a2(async()=>{let I=await E5("git",["config","user.email"]);if(I.code!==0){X0(`Failed to get git email: ${I.stdout} ${I.stderr}`);return}return I.stdout.trim()||void 0}),Ub=a2(async()=>{let I=yb(),d=q2(),G=void 0;return{customIDs:{sessionId:id},userID:I,appVersion:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,userAgent:K2.platform,email:void 0,custom:{nodeVersion:K2.nodeVersion,userType:"external",organizationUuid:d.oauthAccount?.organizationUuid,accountUuid:d.oauthAccount?.accountUuid}}});function yl1(){sI.init({dsn:dl1,release:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,integrations:[new sI.Integrations.Http({tracing:!0}),new sI.Integrations.Modules,new sI.Integrations.Console,new sI.Integrations.FunctionToString,new sI.Integrations.LinkedErrors],tracesSampleRate:1,tracePropagationTargets:["localhost"]})}async function bl(I){try{let[d,G]=await Promise.all([eG(),Ub()]);sI.setExtras({nodeVersion:K2.nodeVersion,platform:K2.platform,cwd:R0(),isCI:K2.isCI,isGit:d,isTest:!1,packageVersion:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,sessionId:id,statsigGates:Xl1(),terminal:K2.terminal,userType:"external"}),sI.setUser({id:G.userID,email:G.email}),sI.captureException(I)}catch{}}var K4="Claude Code";var lj1={};var Pl1=!1,pF=void 0,w41=void 0,AA4=void 0,VA4=void 0,XA4=void 0,$l1=void 0,YA4=void 0,Pb=void 0,B41=void 0,ul1=void 0,A41=void 0,$b=void 0,Tl1=void 0;function ub(I,d={auto:!1}){if(Pl1)throw new Error(`you must \`import '@anthropic-ai/sdk/shims/${I.kind}'\` before importing anything else from @anthropic-ai/sdk`);if(pF)throw new Error(`can't \`import '@anthropic-ai/sdk/shims/${I.kind}'\` after \`import '@anthropic-ai/sdk/shims/${pF}'\``);Pl1=d.auto,pF=I.kind,w41=I.fetch,AA4=I.Request,VA4=I.Response,XA4=I.Headers,$l1=I.FormData,YA4=I.Blob,Pb=I.File,B41=I.ReadableStream,ul1=I.getMultipartRequestOptions,A41=I.getDefaultAgent,$b=I.fileFromPath,Tl1=I.isFsReadStream}var TY=J1(f41(),1);Nh();d51();import{inspect as AX4}from"util";t41();var rh1=(I)=>I instanceof vC;import{deprecate as BX4}from"util";var ah1=BX4(()=>{},'Constructor "entries" argument is not spec-compliant and will be removed in next major release.');var Lw=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},zh,yw,G51;class Z51{constructor(I){if(zh.add(this),yw.set(this,new Map),I)ah1(),I.forEach(({name:d,value:G,fileName:Z})=>this.append(d,G,Z))}static[(yw=new WeakMap,zh=new WeakSet,Symbol.hasInstance)](I){return Boolean(I&&Z6(I.constructor)&&I[Symbol.toStringTag]==="FormData"&&Z6(I.append)&&Z6(I.set)&&Z6(I.get)&&Z6(I.getAll)&&Z6(I.has)&&Z6(I.delete)&&Z6(I.entries)&&Z6(I.values)&&Z6(I.keys)&&Z6(I[Symbol.iterator])&&Z6(I.forEach))}append(I,d,G){Lw(this,zh,"m",G51).call(this,{name:I,fileName:G,append:!0,rawValue:d,argsLength:arguments.length})}set(I,d,G){Lw(this,zh,"m",G51).call(this,{name:I,fileName:G,append:!1,rawValue:d,argsLength:arguments.length})}get(I){let d=Lw(this,yw,"f").get(String(I));if(!d)return null;return d[0]}getAll(I){let d=Lw(this,yw,"f").get(String(I));if(!d)return[];return d.slice()}has(I){return Lw(this,yw,"f").has(String(I))}delete(I){Lw(this,yw,"f").delete(String(I))}*keys(){for(let I of Lw(this,yw,"f").keys())yield I}*entries(){for(let I of this.keys()){let d=this.getAll(I);for(let G of d)yield[I,G]}}*values(){for(let[,I]of this)yield I}[(G51=function I({name:d,rawValue:G,append:Z,fileName:C,argsLength:W}){let w=Z?"append":"set";if(W<2)throw new TypeError(`Failed to execute '${w}' on 'FormData': 2 arguments required, but only ${W} present.`);d=String(d);let B;if(I51(G))B=C===void 0?G:new Sw([G],C,{type:G.type,lastModified:G.lastModified});else if(rh1(G))B=new Sw([G],C===void 0?"blob":C,{type:G.type});else if(C)throw new TypeError(`Failed to execute '${w}' on 'FormData': parameter 2 is not of type 'Blob'.`);else B=String(G);let A=Lw(this,yw,"f").get(d);if(!A)return void Lw(this,yw,"f").set(d,[B]);if(!Z)return void Lw(this,yw,"f").set(d,[B]);A.push(B)},Symbol.iterator)](){return this.entries()}forEach(I,d){for(let[G,Z]of this)I.call(d,Z,G,this)}get[Symbol.toStringTag](){return"FormData"}[AX4.custom](){return this[Symbol.toStringTag]}}var Q51=J1(Aj1(),1),mj1=J1(qj1(),1);import{ReadStream as sX4}from"node:fs";function TX4(){let I=16,d="";while(I--)d+="abcdefghijklmnopqrstuvwxyz0123456789"[Math.random()*36<<0];return d}var Rj1=TX4;var OX4=(I)=>Object.prototype.toString.call(I).slice(8,-1).toLowerCase();function mX4(I){if(OX4(I)!=="object")return!1;let d=Object.getPrototypeOf(I);if(d===null||d===void 0)return!0;return(d.constructor&&d.constructor.toString())===Object.toString()}var H51=mX4;var lX4=(I)=>String(I).replace(/\r|\n/g,(d,G,Z)=>{if(d==="\r"&&Z[G+1]!==`
`||d===`
`&&Z[G-1]!=="\r")return`\r
`;return d}),F51=lX4;var bX4=(I)=>String(I).replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/"/g,"%22"),g51=bX4;var hX4=(I)=>typeof I==="function",aA=hX4;var wg=(I)=>Boolean(I&&typeof I==="object"&&aA(I.constructor)&&I[Symbol.toStringTag]==="File"&&aA(I.stream)&&I.name!=null&&I.size!=null&&I.lastModified!=null);var Uj1=(I)=>Boolean(I&&aA(I.constructor)&&I[Symbol.toStringTag]==="FormData"&&aA(I.append)&&aA(I.getAll)&&aA(I.entries)&&aA(I[Symbol.iterator]));var CM=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},e9=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},Sh,uY,WM,Lh,wM,Bg,BM,AM,yh,J51,jX4={enableAdditionalHeaders:!1};class K51{constructor(I,d,G){if(Sh.add(this),uY.set(this,`\r
`),WM.set(this,void 0),Lh.set(this,void 0),wM.set(this,"-".repeat(2)),Bg.set(this,new TextEncoder),BM.set(this,void 0),AM.set(this,void 0),yh.set(this,void 0),!Uj1(I))throw new TypeError("Expected first argument to be a FormData instance.");let Z;if(H51(d))G=d;else Z=d;if(!Z)Z=Rj1();if(typeof Z!=="string")throw new TypeError("Expected boundary argument to be a string.");if(G&&!H51(G))throw new TypeError("Expected options argument to be an object.");CM(this,AM,I,"f"),CM(this,yh,{...jX4,...G},"f"),CM(this,WM,e9(this,Bg,"f").encode(e9(this,uY,"f")),"f"),CM(this,Lh,e9(this,WM,"f").byteLength,"f"),this.boundary=`form-data-boundary-${Z}`,this.contentType=`multipart/form-data; boundary=${this.boundary}`,CM(this,BM,e9(this,Bg,"f").encode(`${e9(this,wM,"f")}${this.boundary}${e9(this,wM,"f")}${e9(this,uY,"f").repeat(2)}`),"f"),this.contentLength=String(this.getContentLength()),this.headers=Object.freeze({"Content-Type":this.contentType,"Content-Length":this.contentLength}),Object.defineProperties(this,{boundary:{writable:!1,configurable:!1},contentType:{writable:!1,configurable:!1},contentLength:{writable:!1,configurable:!1},headers:{writable:!1,configurable:!1}})}getContentLength(){let I=0;for(let[d,G]of e9(this,AM,"f")){let Z=wg(G)?G:e9(this,Bg,"f").encode(F51(G));I+=e9(this,Sh,"m",J51).call(this,d,Z).byteLength,I+=wg(Z)?Z.size:Z.byteLength,I+=e9(this,Lh,"f")}return I+e9(this,BM,"f").byteLength}*values(){for(let[I,d]of e9(this,AM,"f").entries()){let G=wg(d)?d:e9(this,Bg,"f").encode(F51(d));yield e9(this,Sh,"m",J51).call(this,I,G),yield G,yield e9(this,WM,"f")}yield e9(this,BM,"f")}async*encode(){for(let I of this.values())if(wg(I))yield*I.stream();else yield I}[(uY=new WeakMap,WM=new WeakMap,Lh=new WeakMap,wM=new WeakMap,Bg=new WeakMap,BM=new WeakMap,AM=new WeakMap,yh=new WeakMap,Sh=new WeakSet,J51=function I(d,G){let Z="";if(Z+=`${e9(this,wM,"f")}${this.boundary}${e9(this,uY,"f")}`,Z+=`Content-Disposition: form-data; name="${g51(d)}"`,wg(G))Z+=`; filename="${g51(G.name)}"${e9(this,uY,"f")}`,Z+=`Content-Type: ${G.type||"application/octet-stream"}`;if(e9(this,yh,"f").enableAdditionalHeaders===!0)Z+=`${e9(this,uY,"f")}Content-Length: ${wg(G)?G.size:G.byteLength}`;return e9(this,Bg,"f").encode(`${Z}${e9(this,uY,"f").repeat(2)}`)},Symbol.iterator)](){return this.values()}[Symbol.asyncIterator](){return this.encode()}}import{Readable as oX4}from"node:stream";class N51{constructor(I){this.body=I}get[Symbol.toStringTag](){return"MultipartBody"}}import{ReadableStream as eX4}from"node:stream/web";var Oj1=!1;async function tX4(I,...d){let{fileFromPath:G}=await Promise.resolve().then(() => (Tj1(),uj1));if(!Oj1)console.warn(`fileFromPath is deprecated; use fs.createReadStream(${JSON.stringify(I)}) instead`),Oj1=!0;return await G(I,...d)}var IY4=new Q51.default({keepAlive:!0,timeout:300000}),dY4=new Q51.default.HttpsAgent({keepAlive:!0,timeout:300000});async function GY4(I,d){let G=new K51(I),Z=oX4.from(G),C=new N51(Z),W={...d.headers,...G.headers,"Content-Length":G.contentLength};return{...d,body:C,headers:W}}function Ph(){if(typeof AbortController==="undefined")globalThis.AbortController=mj1.AbortController;return{kind:"node",fetch:TY.default,Request:TY.Request,Response:TY.Response,Headers:TY.Headers,FormData:Z51,Blob:vC,File:Sw,ReadableStream:eX4,getMultipartRequestOptions:GY4,getDefaultAgent:(I)=>I.startsWith("https")?dY4:IY4,fileFromPath:tX4,isFsReadStream:(I)=>I instanceof sX4}}ub(Ph());var gU=J1(u1(),1);import{ReadStream as wX9}from"tty";import{openSync as BX9,existsSync as AX9}from"fs";import{Stream as pH4}from"node:stream";import dk from"node:process";var Rp1=J1(u1(),1);import cH4 from"node:process";function bj1(I,d,{signal:G,edges:Z}={}){let C=void 0,W=null,w=Z!=null&&Z.includes("leading"),B=Z==null||Z.includes("trailing"),A=()=>{if(W!==null)I.apply(C,W),C=void 0,W=null},V=()=>{if(B)A();g()},X=null,_=()=>{if(X!=null)clearTimeout(X);X=setTimeout(()=>{X=null,V()},d)},F=()=>{if(X!==null)clearTimeout(X),X=null},g=()=>{F(),C=void 0,W=null},J=()=>{F(),A()},K=function(...Q){if(G?.aborted)return;C=this,W=Q;let E=X==null;if(_(),w&&E)A()};return K.schedule=_,K.cancel=g,K.flush=J,G?.addEventListener("abort",g,{once:!0}),K}function hj1(I,d=0,G={}){if(typeof G!=="object")G={};let{signal:Z,leading:C=!1,trailing:W=!0,maxWait:w}=G,B=Array(2);if(C)B[0]="leading";if(W)B[1]="trailing";let A=void 0,V=null,X=bj1(function(...g){A=I.apply(this,g),V=null},d,{signal:Z,edges:B}),_=function(...g){if(w!=null){if(V===null)V=Date.now();else if(Date.now()-V>=w)return A=I.apply(this,g),V=Date.now(),X.cancel(),X.schedule(),A}return X.apply(this,g),A},F=()=>{return X.flush(),A};return _.cancel=X.cancel,_.flush=F,_}function $h(I,d=0,G={}){if(typeof G!=="object")G={};let{leading:Z=!0,trailing:C=!0,signal:W}=G;return hj1(I,d,{leading:Z,trailing:C,signal:W,maxWait:d})}var OY={};Kv(OY,{scrollUp:()=>QY4,scrollDown:()=>fY4,link:()=>MY4,image:()=>SY4,iTerm:()=>LY4,exitAlternativeScreen:()=>vY4,eraseUp:()=>zY4,eraseStartLine:()=>KY4,eraseScreen:()=>f51,eraseLines:()=>gY4,eraseLine:()=>cj1,eraseEndLine:()=>JY4,eraseDown:()=>NY4,enterAlternativeScreen:()=>UY4,cursorUp:()=>kj1,cursorTo:()=>WY4,cursorShow:()=>R51,cursorSavePosition:()=>XY4,cursorRestorePosition:()=>YY4,cursorPrevLine:()=>HY4,cursorNextLine:()=>DY4,cursorMove:()=>wY4,cursorLeft:()=>xj1,cursorHide:()=>FY4,cursorGetPosition:()=>_Y4,cursorForward:()=>AY4,cursorDown:()=>BY4,cursorBackward:()=>VY4,clearTerminal:()=>RY4,clearScreen:()=>qY4,beep:()=>EY4});import q51 from"node:process";var uh=globalThis.window?.document!==void 0,tE9=globalThis.process?.versions?.node!==void 0,IM9=globalThis.process?.versions?.bun!==void 0,dM9=globalThis.Deno?.version?.deno!==void 0,GM9=globalThis.process?.versions?.electron!==void 0,ZM9=globalThis.navigator?.userAgent?.includes("jsdom")===!0,CM9=typeof WorkerGlobalScope!=="undefined"&&globalThis instanceof WorkerGlobalScope,WM9=typeof DedicatedWorkerGlobalScope!=="undefined"&&globalThis instanceof DedicatedWorkerGlobalScope,wM9=typeof SharedWorkerGlobalScope!=="undefined"&&globalThis instanceof SharedWorkerGlobalScope,BM9=typeof ServiceWorkerGlobalScope!=="undefined"&&globalThis instanceof ServiceWorkerGlobalScope,XM=globalThis.navigator?.userAgentData?.platform,AM9=XM==="macOS"||globalThis.navigator?.platform==="MacIntel"||globalThis.navigator?.userAgent?.includes(" Mac ")===!0||globalThis.process?.platform==="darwin",VM9=XM==="Windows"||globalThis.navigator?.platform==="Win32"||globalThis.process?.platform==="win32",XM9=XM==="Linux"||globalThis.navigator?.platform?.startsWith("Linux")===!0||globalThis.navigator?.userAgent?.includes(" Linux ")===!0||globalThis.process?.platform==="linux",YM9=XM==="iOS"||globalThis.navigator?.platform==="MacIntel"&&globalThis.navigator?.maxTouchPoints>1||/iPad|iPhone|iPod/.test(globalThis.navigator?.platform),_M9=XM==="Android"||globalThis.navigator?.platform==="Android"||globalThis.navigator?.userAgent?.includes(" Android ")===!0||globalThis.process?.platform==="android";var $5="\x1B[",_M="\x1B]",az="\x07",YM=";",jj1=!uh&&q51.env.TERM_PROGRAM==="Apple_Terminal",ZY4=!uh&&q51.platform==="win32",CY4=uh?()=>{throw new Error("`process.cwd()` only works in Node.js, not the browser.")}:q51.cwd,WY4=(I,d)=>{if(typeof I!=="number")throw new TypeError("The `x` argument is required");if(typeof d!=="number")return $5+(I+1)+"G";return $5+(d+1)+YM+(I+1)+"H"},wY4=(I,d)=>{if(typeof I!=="number")throw new TypeError("The `x` argument is required");let G="";if(I<0)G+=$5+-I+"D";else if(I>0)G+=$5+I+"C";if(d<0)G+=$5+-d+"A";else if(d>0)G+=$5+d+"B";return G},kj1=(I=1)=>$5+I+"A",BY4=(I=1)=>$5+I+"B",AY4=(I=1)=>$5+I+"C",VY4=(I=1)=>$5+I+"D",xj1=$5+"G",XY4=jj1?"\x1B7":$5+"s",YY4=jj1?"\x1B8":$5+"u",_Y4=$5+"6n",DY4=$5+"E",HY4=$5+"F",FY4=$5+"?25l",R51=$5+"?25h",gY4=(I)=>{let d="";for(let G=0;G<I;G++)d+=cj1+(G<I-1?kj1():"");if(I)d+=xj1;return d},JY4=$5+"K",KY4=$5+"1K",cj1=$5+"2K",NY4=$5+"J",zY4=$5+"1J",f51=$5+"2J",QY4=$5+"S",fY4=$5+"T",qY4="\x1Bc",RY4=ZY4?`${f51}${$5}0f`:`${f51}${$5}3J${$5}H`,UY4=$5+"?1049h",vY4=$5+"?1049l",EY4=az,MY4=(I,d)=>[_M,"8",YM,YM,d,az,I,_M,"8",YM,YM,az].join(""),SY4=(I,d={})=>{let G=`${_M}1337;File=inline=1`;if(d.width)G+=`;width=${d.width}`;if(d.height)G+=`;height=${d.height}`;if(d.preserveAspectRatio===!1)G+=";preserveAspectRatio=0";return G+":"+Buffer.from(I).toString("base64")+az},LY4={setCwd:(I=CY4())=>`${_M}50;CurrentDir=${I}${az}`,annotation(I,d={}){let G=`${_M}1337;`,Z=d.x!==void 0,C=d.y!==void 0;if((Z||C)&&!(Z&&C&&d.length!==void 0))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");if(I=I.replaceAll("|",""),G+=d.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",d.length>0)G+=(Z?[I,d.length,d.x,d.y]:[d.length,I]).join("|");else G+=I;return G+az}};import{env as DM}from"node:process";var yY4=DM.CI!=="0"&&DM.CI!=="false"&&(("CI"in DM)||("CONTINUOUS_INTEGRATION"in DM)||Object.keys(DM).some((I)=>I.startsWith("CI_"))),Vg=yY4;var PY4=(I)=>{let d=new Set;do for(let G of Reflect.ownKeys(I))d.add([I,G]);while((I=Reflect.getPrototypeOf(I))&&I!==Object.prototype);return d};function U51(I,{include:d,exclude:G}={}){let Z=(C)=>{let W=(w)=>typeof w==="string"?C===w:w.test(C);if(d)return d.some(W);if(G)return!G.some(W);return!0};for(let[C,W]of PY4(I.constructor.prototype)){if(W==="constructor"||!Z(W))continue;let w=Reflect.getOwnPropertyDescriptor(C,W);if(w&&typeof w.value==="function")I[W]=I[W].bind(I)}return I}var Up1=J1(sj1(),1);import{PassThrough as oj1}from"node:stream";var ej1=["assert","count","countReset","debug","dir","dirxml","error","group","groupCollapsed","groupEnd","info","log","table","time","timeEnd","timeLog","trace","warn"],M51={},$Y4=(I)=>{let d=new oj1,G=new oj1;d.write=(C)=>{I("stdout",C)},G.write=(C)=>{I("stderr",C)};let Z=new console.Console(d,G);for(let C of ej1)M51[C]=console[C],console[C]=Z[C];return()=>{for(let C of ej1)console[C]=M51[C];M51={}}},tj1=$Y4;var Rc1=J1(Yk1(),1);import eD4 from"node:process";var b51=16;var I2={},ch=I2.ALIGN_AUTO=0,KM=I2.ALIGN_FLEX_START=1,NM=I2.ALIGN_CENTER=2,zM=I2.ALIGN_FLEX_END=3,ph=I2.ALIGN_STRETCH=4,_k1=I2.ALIGN_BASELINE=5,Dk1=I2.ALIGN_SPACE_BETWEEN=6,Hk1=I2.ALIGN_SPACE_AROUND=7,Fk1=I2.DIMENSION_WIDTH=0,gk1=I2.DIMENSION_HEIGHT=1,Jk1=I2.DIRECTION_INHERIT=0,Kk1=I2.DIRECTION_LTR=1,Nk1=I2.DIRECTION_RTL=2,IQ=I2.DISPLAY_FLEX=0,lY=I2.DISPLAY_NONE=1,uw=I2.EDGE_LEFT=0,bY=I2.EDGE_TOP=1,Tw=I2.EDGE_RIGHT=2,hY=I2.EDGE_BOTTOM=3,ih=I2.EDGE_START=4,nh=I2.EDGE_END=5,QM=I2.EDGE_HORIZONTAL=6,fM=I2.EDGE_VERTICAL=7,qM=I2.EDGE_ALL=8,zk1=I2.EXPERIMENTAL_FEATURE_WEB_FLEX_BASIS=0,Qk1=I2.EXPERIMENTAL_FEATURE_ABSOLUTE_PERCENTAGE_AGAINST_PADDING_EDGE=1,fk1=I2.EXPERIMENTAL_FEATURE_FIX_ABSOLUTE_TRAILING_COLUMN_MARGIN=2,rh=I2.FLEX_DIRECTION_COLUMN=0,ah=I2.FLEX_DIRECTION_COLUMN_REVERSE=1,sh=I2.FLEX_DIRECTION_ROW=2,oh=I2.FLEX_DIRECTION_ROW_REVERSE=3,eh=I2.GUTTER_COLUMN=0,th=I2.GUTTER_ROW=1,Ij=I2.GUTTER_ALL=2,dj=I2.JUSTIFY_FLEX_START=0,Gj=I2.JUSTIFY_CENTER=1,Zj=I2.JUSTIFY_FLEX_END=2,Cj=I2.JUSTIFY_SPACE_BETWEEN=3,Wj=I2.JUSTIFY_SPACE_AROUND=4,wj=I2.JUSTIFY_SPACE_EVENLY=5,qk1=I2.LOG_LEVEL_ERROR=0,Rk1=I2.LOG_LEVEL_WARN=1,Uk1=I2.LOG_LEVEL_INFO=2,vk1=I2.LOG_LEVEL_DEBUG=3,Ek1=I2.LOG_LEVEL_VERBOSE=4,Mk1=I2.LOG_LEVEL_FATAL=5,Sk1=I2.MEASURE_MODE_UNDEFINED=0,Lk1=I2.MEASURE_MODE_EXACTLY=1,yk1=I2.MEASURE_MODE_AT_MOST=2,Pk1=I2.NODE_TYPE_DEFAULT=0,$k1=I2.NODE_TYPE_TEXT=1,uk1=I2.OVERFLOW_VISIBLE=0,Tk1=I2.OVERFLOW_HIDDEN=1,Ok1=I2.OVERFLOW_SCROLL=2,mk1=I2.POSITION_TYPE_STATIC=0,Bj=I2.POSITION_TYPE_RELATIVE=1,Aj=I2.POSITION_TYPE_ABSOLUTE=2,lk1=I2.PRINT_OPTIONS_LAYOUT=1,bk1=I2.PRINT_OPTIONS_STYLE=2,hk1=I2.PRINT_OPTIONS_CHILDREN=4,jk1=I2.UNIT_UNDEFINED=0,kk1=I2.UNIT_POINT=1,xk1=I2.UNIT_PERCENT=2,ck1=I2.UNIT_AUTO=3,Vj=I2.WRAP_NO_WRAP=0,Xj=I2.WRAP_WRAP=1,Yj=I2.WRAP_WRAP_REVERSE=2;var pk1=(I)=>{function d(C,W,w){let B=C[W];C[W]=function(...A){return w.call(this,B,...A)}}for(let C of["setPosition","setMargin","setFlexBasis","setWidth","setHeight","setMinWidth","setMinHeight","setMaxWidth","setMaxHeight","setPadding"]){let W={[I2.UNIT_POINT]:I.Node.prototype[C],[I2.UNIT_PERCENT]:I.Node.prototype[`${C}Percent`],[I2.UNIT_AUTO]:I.Node.prototype[`${C}Auto`]};d(I.Node.prototype,C,function(w,...B){let A,V,X=B.pop();if(X==="auto")A=I2.UNIT_AUTO,V=void 0;else if(typeof X=="object")A=X.unit,V=X.valueOf();else if(A=typeof X=="string"&&X.endsWith("%")?I2.UNIT_PERCENT:I2.UNIT_POINT,V=parseFloat(X),!Number.isNaN(X)&&Number.isNaN(V))throw Error(`Invalid value ${X} for ${C}`);if(!W[A])throw Error(`Failed to execute "${C}": Unsupported unit '${X}'`);return V!==void 0?W[A].call(this,...B,V):W[A].call(this,...B)})}function G(C){return I.MeasureCallback.implement({measure:(...W)=>{let{width:w,height:B}=C(...W);return{width:w??NaN,height:B??NaN}}})}function Z(C){return I.DirtiedCallback.implement({dirtied:C})}return d(I.Node.prototype,"setMeasureFunc",function(C,W){return W?C.call(this,G(W)):this.unsetMeasureFunc()}),d(I.Node.prototype,"setDirtiedFunc",function(C,W){C.call(this,Z(W))}),d(I.Config.prototype,"free",function(){I.Config.destroy(this)}),d(I.Node,"create",(C,W)=>W?I.Node.createWithConfig(W):I.Node.createDefault()),d(I.Node.prototype,"free",function(){I.Node.destroy(this)}),d(I.Node.prototype,"freeRecursive",function(){for(let C=0,W=this.getChildCount();C<W;++C)this.getChild(0).freeRecursive();this.free()}),d(I.Node.prototype,"calculateLayout",function(C,W=NaN,w=NaN,B=I2.DIRECTION_LTR){return C.call(this,W,w,B)}),{Config:I.Config,Node:I.Node,...I2}};var I_4=(()=>{var I=typeof document!="undefined"&&document.currentScript?document.currentScript.src:void 0;return function(d={}){A||(A=d!==void 0?d:{}),A.ready=new Promise(function(d1,o){V=d1,X=o});var G,Z,C=Object.assign({},A),W="";typeof document!="undefined"&&document.currentScript&&(W=document.currentScript.src),I&&(W=I),W=W.indexOf("blob:")!==0?W.substr(0,W.replace(/[?#].*/,"").lastIndexOf("/")+1):"";var w=console.log.bind(console),B=console.warn.bind(console);Object.assign(A,C),C=null,typeof WebAssembly!="object"&&f1("no native wasm support detected");var A,V,X,_,F=!1;function g(d1,o,S1){S1=o+S1;for(var p1="";!(o>=S1);){var l1=d1[o++];if(!l1)break;if(128&l1){var s1=63&d1[o++];if((224&l1)==192)p1+=String.fromCharCode((31&l1)<<6|s1);else{var U0=63&d1[o++];65536>(l1=(240&l1)==224?(15&l1)<<12|s1<<6|U0:(7&l1)<<18|s1<<12|U0<<6|63&d1[o++])?p1+=String.fromCharCode(l1):(l1-=65536,p1+=String.fromCharCode(55296|l1>>10,56320|1023&l1))}}else p1+=String.fromCharCode(l1)}return p1}function J(){var d1=_.buffer;A.HEAP8=K=new Int8Array(d1),A.HEAP16=E=new Int16Array(d1),A.HEAP32=P=new Int32Array(d1),A.HEAPU8=Q=new Uint8Array(d1),A.HEAPU16=S=new Uint16Array(d1),A.HEAPU32=$=new Uint32Array(d1),A.HEAPF32=h=new Float32Array(d1),A.HEAPF64=O=new Float64Array(d1)}var K,Q,E,S,P,$,h,O,T,V1=[],c=[],c1=[],o1=0,a1=null;function f1(d1){throw B(d1="Aborted("+d1+")"),F=!0,X(d1=new WebAssembly.RuntimeError(d1+". Build with -sASSERTIONS for more info.")),d1}function r(){return G.startsWith("data:application/octet-stream;base64,")}function A1(){try{throw"both async and sync fetching of the wasm failed"}catch(d1){f1(d1)}}function m1(d1){for(;0<d1.length;)d1.shift()(A)}function T1(d1){if(d1===void 0)return"_unknown";var o=(d1=d1.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=o&&57>=o?"_"+d1:d1}function e1(d1,o){return d1=T1(d1),function(){return o.apply(this,arguments)}}G="yoga.wasm",r()||(G=W+G);var F0=[{},{value:void 0},{value:null},{value:!0},{value:!1}],P0=[];function B0(d1){var o=Error,S1=e1(d1,function(p1){this.name=d1,this.message=p1,(p1=Error(p1).stack)!==void 0&&(this.stack=this.toString()+`
`+p1.replace(/^Error(:[^\n]*)?\n/,""))});return S1.prototype=Object.create(o.prototype),S1.prototype.constructor=S1,S1.prototype.toString=function(){return this.message===void 0?this.name:this.name+": "+this.message},S1}var a0=void 0;function e(d1){throw new a0(d1)}var G0=(d1)=>(d1||e("Cannot use deleted val. handle = "+d1),F0[d1].value),H1=(d1)=>{switch(d1){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:var o=P0.length?P0.pop():F0.length;return F0[o]={fa:1,value:d1},o}},j1=void 0,i1=void 0;function E0(d1){for(var o="";Q[d1];)o+=i1[Q[d1++]];return o}var k=[];function a(){for(;k.length;){var d1=k.pop();d1.L.Z=!1,d1.delete()}}var Z1=void 0,Q1={};function N1(d1,o){for(o===void 0&&e("ptr should not be undefined");d1.P;)o=d1.aa(o),d1=d1.P;return o}var F1={};function O1(d1){var o=E0(d1=TW(d1));return _7(d1),o}function K1(d1,o){var S1=F1[d1];return S1===void 0&&e(o+" has unknown type "+O1(d1)),S1}function R1(){}var h1=!1;function j(d1){--d1.count.value,d1.count.value===0&&(d1.S?d1.T.V(d1.S):d1.O.M.V(d1.N))}var W1={},U1=void 0;function L1(d1){throw new U1(d1)}function D0(d1,o){return o.O&&o.N||L1("makeClassHandle requires ptr and ptrType"),!!o.T!=!!o.S&&L1("Both smartPtrType and smartPtr must be specified"),o.count={value:1},O0(Object.create(d1,{L:{value:o}}))}function O0(d1){return typeof FinalizationRegistry=="undefined"?(O0=(o)=>o,d1):(h1=new FinalizationRegistry((o)=>{j(o.L)}),O0=(o)=>{var S1=o.L;return S1.S&&h1.register(o,{L:S1},o),o},R1=(o)=>{h1.unregister(o)},O0(d1))}var k0={};function i0(d1){for(;d1.length;){var o=d1.pop();d1.pop()(o)}}function s0(d1){return this.fromWireType(P[d1>>2])}var P2={},a5={};function n0(d1,o,S1){function p1(w0){(w0=S1(w0)).length!==d1.length&&L1("Mismatched type converter count");for(var J0=0;J0<d1.length;++J0)A2(d1[J0],w0[J0])}d1.forEach(function(w0){a5[w0]=o});var l1=Array(o.length),s1=[],U0=0;o.forEach((w0,J0)=>{F1.hasOwnProperty(w0)?l1[J0]=F1[w0]:(s1.push(w0),P2.hasOwnProperty(w0)||(P2[w0]=[]),P2[w0].push(()=>{l1[J0]=F1[w0],++U0===s1.length&&p1(l1)}))}),s1.length===0&&p1(l1)}function B2(d1){switch(d1){case 1:return 0;case 2:return 1;case 4:return 2;case 8:return 3;default:throw TypeError("Unknown type size: "+d1)}}function A2(d1,o,S1={}){if(!("argPackAdvance"in o))throw TypeError("registerType registeredInstance requires argPackAdvance");var p1=o.name;if(d1||e('type "'+p1+'" must have a positive integer typeid pointer'),F1.hasOwnProperty(d1)){if(S1.ta)return;e("Cannot register type '"+p1+"' twice")}F1[d1]=o,delete a5[d1],P2.hasOwnProperty(d1)&&(o=P2[d1],delete P2[d1],o.forEach((l1)=>l1()))}function B4(d1){e(d1.L.O.M.name+" instance already deleted")}function A4(){}function _5(d1,o,S1){if(d1[o].R===void 0){var p1=d1[o];d1[o]=function(){return d1[o].R.hasOwnProperty(arguments.length)||e("Function '"+S1+"' called with an invalid number of arguments ("+arguments.length+") - expects one of ("+d1[o].R+")!"),d1[o].R[arguments.length].apply(this,arguments)},d1[o].R=[],d1[o].R[p1.Y]=p1}}function D5(d1,o,S1,p1,l1,s1,U0,w0){this.name=d1,this.constructor=o,this.W=S1,this.V=p1,this.P=l1,this.oa=s1,this.aa=U0,this.ma=w0,this.ia=[]}function tZ(d1,o,S1){for(;o!==S1;)o.aa||e("Expected null or instance of "+S1.name+", got an instance of "+o.name),d1=o.aa(d1),o=o.P;return d1}function T6(d1,o){return o===null?(this.da&&e("null is not a valid "+this.name),0):(o.L||e('Cannot pass "'+vI(o)+'" as a '+this.name),o.L.N||e("Cannot pass deleted object as a pointer of type "+this.name),tZ(o.L.N,o.L.O.M,this.M))}function pB(d1,o){if(o===null){if(this.da&&e("null is not a valid "+this.name),this.ca){var S1=this.ea();return d1!==null&&d1.push(this.V,S1),S1}return 0}if(o.L||e('Cannot pass "'+vI(o)+'" as a '+this.name),o.L.N||e("Cannot pass deleted object as a pointer of type "+this.name),!this.ba&&o.L.O.ba&&e("Cannot convert argument of type "+(o.L.T?o.L.T.name:o.L.O.name)+" to parameter type "+this.name),S1=tZ(o.L.N,o.L.O.M,this.M),this.ca)switch(o.L.S===void 0&&e("Passing raw pointer to smart pointer is illegal"),this.Aa){case 0:o.L.T===this?S1=o.L.S:e("Cannot convert argument of type "+(o.L.T?o.L.T.name:o.L.O.name)+" to parameter type "+this.name);break;case 1:S1=o.L.S;break;case 2:if(o.L.T===this)S1=o.L.S;else{var p1=o.clone();S1=this.wa(S1,H1(function(){p1.delete()})),d1!==null&&d1.push(this.V,S1)}break;default:e("Unsupporting sharing policy")}return S1}function iB(d1,o){return o===null?(this.da&&e("null is not a valid "+this.name),0):(o.L||e('Cannot pass "'+vI(o)+'" as a '+this.name),o.L.N||e("Cannot pass deleted object as a pointer of type "+this.name),o.L.O.ba&&e("Cannot convert argument of type "+o.L.O.name+" to parameter type "+this.name),tZ(o.L.N,o.L.O.M,this.M))}function X3(d1,o,S1,p1){this.name=d1,this.M=o,this.da=S1,this.ba=p1,this.ca=!1,this.V=this.wa=this.ea=this.ja=this.Aa=this.va=void 0,o.P!==void 0?this.toWireType=pB:(this.toWireType=p1?T6:iB,this.U=null)}var Nd=[];function IC(d1){var o=Nd[d1];return o||(d1>=Nd.length&&(Nd.length=d1+1),Nd[d1]=o=T.get(d1)),o}function Y3(d1,o){var S1,p1,l1=(d1=E0(d1)).includes("j")?(S1=d1,p1=[],function(){if(p1.length=0,Object.assign(p1,arguments),S1.includes("j")){var s1=A["dynCall_"+S1];s1=p1&&p1.length?s1.apply(null,[o].concat(p1)):s1.call(null,o)}else s1=IC(o).apply(null,p1);return s1}):IC(o);return typeof l1!="function"&&e("unknown function pointer with signature "+d1+": "+o),l1}var zd=void 0;function Qd(d1,o){var S1=[],p1={};throw o.forEach(function l1(s1){p1[s1]||F1[s1]||(a5[s1]?a5[s1].forEach(l1):(S1.push(s1),p1[s1]=!0))}),new zd(d1+": "+S1.map(O1).join([", "]))}function QG(d1,o,S1,p1,l1){var s1=o.length;2>s1&&e("argTypes array size mismatch! Must at least get return value and 'this' types!");var U0=o[1]!==null&&S1!==null,w0=!1;for(S1=1;S1<o.length;++S1)if(o[S1]!==null&&o[S1].U===void 0){w0=!0;break}var J0=o[0].name!=="void",W0=s1-2,g0=Array(W0),c2=[],L2=[];return function(){if(arguments.length!==W0&&e("function "+d1+" called with "+arguments.length+" arguments, expected "+W0+" args!"),L2.length=0,c2.length=U0?2:1,c2[0]=l1,U0){var R2=o[1].toWireType(L2,this);c2[1]=R2}for(var l=0;l<W0;++l)g0[l]=o[l+2].toWireType(L2,arguments[l]),c2.push(g0[l]);if(l=p1.apply(null,c2),w0)i0(L2);else for(var _1=U0?1:2;_1<o.length;_1++){var I1=_1===1?R2:g0[_1-2];o[_1].U!==null&&o[_1].U(I1)}return J0?o[0].fromWireType(l):void 0}}function fG(d1,o){for(var S1=[],p1=0;p1<d1;p1++)S1.push($[o+4*p1>>2]);return S1}function X7(d1){4<d1&&--F0[d1].fa==0&&(F0[d1]=void 0,P0.push(d1))}function vI(d1){if(d1===null)return"null";var o=typeof d1;return o==="object"||o==="array"||o==="function"?d1.toString():""+d1}function i7(d1,o){for(var S1="",p1=0;!(p1>=o/2);++p1){var l1=E[d1+2*p1>>1];if(l1==0)break;S1+=String.fromCharCode(l1)}return S1}function fd(d1,o,S1){if(S1===void 0&&(S1=2147483647),2>S1)return 0;S1-=2;var p1=o;S1=S1<2*d1.length?S1/2:d1.length;for(var l1=0;l1<S1;++l1)E[o>>1]=d1.charCodeAt(l1),o+=2;return E[o>>1]=0,o-p1}function Y7(d1){return 2*d1.length}function nB(d1,o){for(var S1=0,p1="";!(S1>=o/4);){var l1=P[d1+4*S1>>2];if(l1==0)break;++S1,65536<=l1?(l1-=65536,p1+=String.fromCharCode(55296|l1>>10,56320|1023&l1)):p1+=String.fromCharCode(l1)}return p1}function qd(d1,o,S1){if(S1===void 0&&(S1=2147483647),4>S1)return 0;var p1=o;S1=p1+S1-4;for(var l1=0;l1<d1.length;++l1){var s1=d1.charCodeAt(l1);if(55296<=s1&&57343>=s1&&(s1=65536+((1023&s1)<<10)|1023&d1.charCodeAt(++l1)),P[o>>2]=s1,(o+=4)+4>S1)break}return P[o>>2]=0,o-p1}function rB(d1){for(var o=0,S1=0;S1<d1.length;++S1){var p1=d1.charCodeAt(S1);55296<=p1&&57343>=p1&&++S1,o+=4}return o}var PW={};function $W(d1){var o=PW[d1];return o===void 0?E0(d1):o}var v8=[],qG=[],aB=[null,[],[]];a0=A.BindingError=B0("BindingError"),A.count_emval_handles=function(){for(var d1=0,o=5;o<F0.length;++o)F0[o]!==void 0&&++d1;return d1},A.get_first_emval=function(){for(var d1=5;d1<F0.length;++d1)if(F0[d1]!==void 0)return F0[d1];return null},j1=A.PureVirtualError=B0("PureVirtualError");for(var uW=Array(256),Rd=0;256>Rd;++Rd)uW[Rd]=String.fromCharCode(Rd);i1=uW,A.getInheritedInstanceCount=function(){return Object.keys(Q1).length},A.getLiveInheritedInstances=function(){var d1,o=[];for(d1 in Q1)Q1.hasOwnProperty(d1)&&o.push(Q1[d1]);return o},A.flushPendingDeletes=a,A.setDelayFunction=function(d1){Z1=d1,k.length&&Z1&&Z1(a)},U1=A.InternalError=B0("InternalError"),A4.prototype.isAliasOf=function(d1){if(!(this instanceof A4&&d1 instanceof A4))return!1;var o=this.L.O.M,S1=this.L.N,p1=d1.L.O.M;for(d1=d1.L.N;o.P;)S1=o.aa(S1),o=o.P;for(;p1.P;)d1=p1.aa(d1),p1=p1.P;return o===p1&&S1===d1},A4.prototype.clone=function(){if(this.L.N||B4(this),this.L.$)return this.L.count.value+=1,this;var d1=O0,o=Object,S1=o.create,p1=Object.getPrototypeOf(this),l1=this.L;return d1=d1(S1.call(o,p1,{L:{value:{count:l1.count,Z:l1.Z,$:l1.$,N:l1.N,O:l1.O,S:l1.S,T:l1.T}}})),d1.L.count.value+=1,d1.L.Z=!1,d1},A4.prototype.delete=function(){this.L.N||B4(this),this.L.Z&&!this.L.$&&e("Object already scheduled for deletion"),R1(this),j(this.L),this.L.$||(this.L.S=void 0,this.L.N=void 0)},A4.prototype.isDeleted=function(){return!this.L.N},A4.prototype.deleteLater=function(){return this.L.N||B4(this),this.L.Z&&!this.L.$&&e("Object already scheduled for deletion"),k.push(this),k.length===1&&Z1&&Z1(a),this.L.Z=!0,this},X3.prototype.pa=function(d1){return this.ja&&(d1=this.ja(d1)),d1},X3.prototype.ga=function(d1){this.V&&this.V(d1)},X3.prototype.argPackAdvance=8,X3.prototype.readValueFromPointer=s0,X3.prototype.deleteObject=function(d1){d1!==null&&d1.delete()},X3.prototype.fromWireType=function(d1){function o(){return this.ca?D0(this.M.W,{O:this.va,N:p1,T:this,S:d1}):D0(this.M.W,{O:this,N:d1})}var S1,p1=this.pa(d1);if(!p1)return this.ga(d1),null;var l1=Q1[N1(this.M,p1)];if(l1!==void 0)return l1.L.count.value===0?(l1.L.N=p1,l1.L.S=d1,l1.clone()):(l1=l1.clone(),this.ga(d1),l1);if(!(l1=W1[l1=this.M.oa(p1)]))return o.call(this);l1=this.ba?l1.ka:l1.pointerType;var s1=function U0(w0,J0,W0){return J0===W0?w0:W0.P===void 0?null:(w0=U0(w0,J0,W0.P))===null?null:W0.ma(w0)}(p1,this.M,l1.M);return s1===null?o.call(this):this.ca?D0(l1.M.W,{O:l1,N:s1,T:this,S:d1}):D0(l1.M.W,{O:l1,N:s1})},zd=A.UnboundTypeError=B0("UnboundTypeError");var sB={q:function(d1,o,S1){d1=E0(d1),o=K1(o,"wrapper"),S1=G0(S1);var p1=[].slice,l1=o.M,s1=l1.W,U0=l1.P.W,w0=l1.P.constructor;for(var J0 in d1=e1(d1,function(){l1.P.ia.forEach(function(W0){if(this[W0]===U0[W0])throw new j1("Pure virtual function "+W0+" must be implemented in JavaScript")}.bind(this)),Object.defineProperty(this,"__parent",{value:s1}),this.__construct.apply(this,p1.call(arguments))}),s1.__construct=function(){this===s1&&e("Pass correct 'this' to __construct");var W0=w0.implement.apply(void 0,[this].concat(p1.call(arguments)));R1(W0);var g0=W0.L;W0.notifyOnDestruction(),g0.$=!0,Object.defineProperties(this,{L:{value:g0}}),O0(this),W0=N1(l1,W0=g0.N),Q1.hasOwnProperty(W0)?e("Tried to register registered instance: "+W0):Q1[W0]=this},s1.__destruct=function(){this===s1&&e("Pass correct 'this' to __destruct"),R1(this);var W0=this.L.N;W0=N1(l1,W0),Q1.hasOwnProperty(W0)?delete Q1[W0]:e("Tried to unregister unregistered instance: "+W0)},d1.prototype=Object.create(s1),S1)d1.prototype[J0]=S1[J0];return H1(d1)},l:function(d1){var o=k0[d1];delete k0[d1];var{ea:S1,V:p1,ha:l1}=o;n0([d1],l1.map((s1)=>s1.sa).concat(l1.map((s1)=>s1.ya)),(s1)=>{var U0={};return l1.forEach((w0,J0)=>{var W0=s1[J0],g0=w0.qa,c2=w0.ra,L2=s1[J0+l1.length],R2=w0.xa,l=w0.za;U0[w0.na]={read:(_1)=>W0.fromWireType(g0(c2,_1)),write:(_1,I1)=>{var v1=[];R2(l,_1,L2.toWireType(v1,I1)),i0(v1)}}}),[{name:o.name,fromWireType:function(w0){var J0,W0={};for(J0 in U0)W0[J0]=U0[J0].read(w0);return p1(w0),W0},toWireType:function(w0,J0){for(var W0 in U0)if(!(W0 in J0))throw TypeError('Missing field:  "'+W0+'"');var g0=S1();for(W0 in U0)U0[W0].write(g0,J0[W0]);return w0!==null&&w0.push(p1,g0),g0},argPackAdvance:8,readValueFromPointer:s0,U:p1}]})},v:function(){},B:function(d1,o,S1,p1,l1){var s1=B2(S1);A2(d1,{name:o=E0(o),fromWireType:function(U0){return!!U0},toWireType:function(U0,w0){return w0?p1:l1},argPackAdvance:8,readValueFromPointer:function(U0){if(S1===1)var w0=K;else if(S1===2)w0=E;else if(S1===4)w0=P;else throw TypeError("Unknown boolean type size: "+o);return this.fromWireType(w0[U0>>s1])},U:null})},h:function(d1,o,S1,p1,l1,s1,U0,w0,J0,W0,g0,c2,L2){g0=E0(g0),s1=Y3(l1,s1),w0&&(w0=Y3(U0,w0)),W0&&(W0=Y3(J0,W0)),L2=Y3(c2,L2);var R2,l=T1(g0);R2=function(){Qd("Cannot construct "+g0+" due to unbound types",[p1])},A.hasOwnProperty(l)?(e("Cannot register public name '"+l+"' twice"),_5(A,l,l),A.hasOwnProperty(void 0)&&e("Cannot register multiple overloads of a function with the same number of arguments (undefined)!"),A[l].R[void 0]=R2):A[l]=R2,n0([d1,o,S1],p1?[p1]:[],function(_1){if(_1=_1[0],p1)var I1,v1=_1.M,y1=v1.W;else y1=A4.prototype;_1=e1(l,function(){if(Object.getPrototypeOf(this)!==E1)throw new a0("Use 'new' to construct "+g0);if(Z0.X===void 0)throw new a0(g0+" has no accessible constructor");var N0=Z0.X[arguments.length];if(N0===void 0)throw new a0("Tried to invoke ctor of "+g0+" with invalid number of parameters ("+arguments.length+") - expected ("+Object.keys(Z0.X).toString()+") parameters instead!");return N0.apply(this,arguments)});var E1=Object.create(y1,{constructor:{value:_1}});_1.prototype=E1;var Z0=new D5(g0,_1,E1,L2,v1,s1,w0,W0);v1=new X3(g0,Z0,!0,!1),y1=new X3(g0+"*",Z0,!1,!1);var Q0=new X3(g0+" const*",Z0,!1,!0);return W1[d1]={pointerType:y1,ka:Q0},I1=_1,A.hasOwnProperty(l)||L1("Replacing nonexistant public symbol"),A[l]=I1,A[l].Y=void 0,[v1,y1,Q0]})},d:function(d1,o,S1,p1,l1,s1,U0){var w0=fG(S1,p1);o=E0(o),s1=Y3(l1,s1),n0([],[d1],function(J0){function W0(){Qd("Cannot call "+g0+" due to unbound types",w0)}var g0=(J0=J0[0]).name+"."+o;o.startsWith("@@")&&(o=Symbol[o.substring(2)]);var c2=J0.M.constructor;return c2[o]===void 0?(W0.Y=S1-1,c2[o]=W0):(_5(c2,o,g0),c2[o].R[S1-1]=W0),n0([],w0,function(L2){return L2=QG(g0,[L2[0],null].concat(L2.slice(1)),null,s1,U0),c2[o].R===void 0?(L2.Y=S1-1,c2[o]=L2):c2[o].R[S1-1]=L2,[]}),[]})},p:function(d1,o,S1,p1,l1,s1){0<o||f1();var U0=fG(o,S1);l1=Y3(p1,l1),n0([],[d1],function(w0){var J0="constructor "+(w0=w0[0]).name;if(w0.M.X===void 0&&(w0.M.X=[]),w0.M.X[o-1]!==void 0)throw new a0("Cannot register multiple constructors with identical number of parameters ("+(o-1)+") for class '"+w0.name+"'! Overload resolution is currently only performed using the parameter count, not actual type info!");return w0.M.X[o-1]=()=>{Qd("Cannot construct "+w0.name+" due to unbound types",U0)},n0([],U0,function(W0){return W0.splice(1,0,null),w0.M.X[o-1]=QG(J0,W0,null,l1,s1),[]}),[]})},a:function(d1,o,S1,p1,l1,s1,U0,w0){var J0=fG(S1,p1);o=E0(o),s1=Y3(l1,s1),n0([],[d1],function(W0){function g0(){Qd("Cannot call "+c2+" due to unbound types",J0)}var c2=(W0=W0[0]).name+"."+o;o.startsWith("@@")&&(o=Symbol[o.substring(2)]),w0&&W0.M.ia.push(o);var L2=W0.M.W,R2=L2[o];return R2===void 0||R2.R===void 0&&R2.className!==W0.name&&R2.Y===S1-2?(g0.Y=S1-2,g0.className=W0.name,L2[o]=g0):(_5(L2,o,c2),L2[o].R[S1-2]=g0),n0([],J0,function(l){return l=QG(c2,l,W0,s1,U0),L2[o].R===void 0?(l.Y=S1-2,L2[o]=l):L2[o].R[S1-2]=l,[]}),[]})},A:function(d1,o){A2(d1,{name:o=E0(o),fromWireType:function(S1){var p1=G0(S1);return X7(S1),p1},toWireType:function(S1,p1){return H1(p1)},argPackAdvance:8,readValueFromPointer:s0,U:null})},n:function(d1,o,S1){S1=B2(S1),A2(d1,{name:o=E0(o),fromWireType:function(p1){return p1},toWireType:function(p1,l1){return l1},argPackAdvance:8,readValueFromPointer:function(p1,l1){switch(l1){case 2:return function(s1){return this.fromWireType(h[s1>>2])};case 3:return function(s1){return this.fromWireType(O[s1>>3])};default:throw TypeError("Unknown float type: "+p1)}}(o,S1),U:null})},e:function(d1,o,S1,p1,l1){o=E0(o),l1===-1&&(l1=4294967295),l1=B2(S1);var s1=(w0)=>w0;if(p1===0){var U0=32-8*S1;s1=(w0)=>w0<<U0>>>U0}S1=o.includes("unsigned")?function(w0,J0){return J0>>>0}:function(w0,J0){return J0},A2(d1,{name:o,fromWireType:s1,toWireType:S1,argPackAdvance:8,readValueFromPointer:function(w0,J0,W0){switch(J0){case 0:return W0?function(g0){return K[g0]}:function(g0){return Q[g0]};case 1:return W0?function(g0){return E[g0>>1]}:function(g0){return S[g0>>1]};case 2:return W0?function(g0){return P[g0>>2]}:function(g0){return $[g0>>2]};default:throw TypeError("Unknown integer type: "+w0)}}(o,l1,p1!==0),U:null})},b:function(d1,o,S1){function p1(s1){s1>>=2;var U0=$;return new l1(U0.buffer,U0[s1+1],U0[s1])}var l1=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][o];A2(d1,{name:S1=E0(S1),fromWireType:p1,argPackAdvance:8,readValueFromPointer:p1},{ta:!0})},o:function(d1,o){var S1=(o=E0(o))==="std::string";A2(d1,{name:o,fromWireType:function(p1){var l1=$[p1>>2],s1=p1+4;if(S1)for(var U0=s1,w0=0;w0<=l1;++w0){var J0=s1+w0;if(w0==l1||Q[J0]==0){if(U0=U0?g(Q,U0,J0-U0):"",W0===void 0)var W0=U0;else W0+="\x00"+U0;U0=J0+1}}else{for(w0=0,W0=Array(l1);w0<l1;++w0)W0[w0]=String.fromCharCode(Q[s1+w0]);W0=W0.join("")}return _7(p1),W0},toWireType:function(p1,l1){l1 instanceof ArrayBuffer&&(l1=new Uint8Array(l1));var s1,U0=typeof l1=="string";if(U0||l1 instanceof Uint8Array||l1 instanceof Uint8ClampedArray||l1 instanceof Int8Array||e("Cannot pass non-string to std::string"),S1&&U0){var w0=0;for(s1=0;s1<l1.length;++s1){var J0=l1.charCodeAt(s1);127>=J0?w0++:2047>=J0?w0+=2:55296<=J0&&57343>=J0?(w0+=4,++s1):w0+=3}s1=w0}else s1=l1.length;if(J0=(w0=Ud(4+s1+1))+4,$[w0>>2]=s1,S1&&U0){if(U0=J0,J0=s1+1,s1=Q,0<J0){J0=U0+J0-1;for(var W0=0;W0<l1.length;++W0){var g0=l1.charCodeAt(W0);if(55296<=g0&&57343>=g0&&(g0=65536+((1023&g0)<<10)|1023&l1.charCodeAt(++W0)),127>=g0){if(U0>=J0)break;s1[U0++]=g0}else{if(2047>=g0){if(U0+1>=J0)break;s1[U0++]=192|g0>>6}else{if(65535>=g0){if(U0+2>=J0)break;s1[U0++]=224|g0>>12}else{if(U0+3>=J0)break;s1[U0++]=240|g0>>18,s1[U0++]=128|g0>>12&63}s1[U0++]=128|g0>>6&63}s1[U0++]=128|63&g0}}s1[U0]=0}}else if(U0)for(U0=0;U0<s1;++U0)255<(W0=l1.charCodeAt(U0))&&(_7(J0),e("String has UTF-16 code units that do not fit in 8 bits")),Q[J0+U0]=W0;else for(U0=0;U0<s1;++U0)Q[J0+U0]=l1[U0];return p1!==null&&p1.push(_7,w0),w0},argPackAdvance:8,readValueFromPointer:s0,U:function(p1){_7(p1)}})},k:function(d1,o,S1){if(S1=E0(S1),o===2)var p1=i7,l1=fd,s1=Y7,U0=()=>S,w0=1;else o===4&&(p1=nB,l1=qd,s1=rB,U0=()=>$,w0=2);A2(d1,{name:S1,fromWireType:function(J0){for(var W0,g0=$[J0>>2],c2=U0(),L2=J0+4,R2=0;R2<=g0;++R2){var l=J0+4+R2*o;(R2==g0||c2[l>>w0]==0)&&(L2=p1(L2,l-L2),W0===void 0?W0=L2:W0+="\x00"+L2,L2=l+o)}return _7(J0),W0},toWireType:function(J0,W0){typeof W0!="string"&&e("Cannot pass non-string to C++ string type "+S1);var g0=s1(W0),c2=Ud(4+g0+o);return $[c2>>2]=g0>>w0,l1(W0,c2+4,g0+o),J0!==null&&J0.push(_7,c2),c2},argPackAdvance:8,readValueFromPointer:s0,U:function(J0){_7(J0)}})},m:function(d1,o,S1,p1,l1,s1){k0[d1]={name:E0(o),ea:Y3(S1,p1),V:Y3(l1,s1),ha:[]}},c:function(d1,o,S1,p1,l1,s1,U0,w0,J0,W0){k0[d1].ha.push({na:E0(o),sa:S1,qa:Y3(p1,l1),ra:s1,ya:U0,xa:Y3(w0,J0),za:W0})},C:function(d1,o){A2(d1,{ua:!0,name:o=E0(o),argPackAdvance:0,fromWireType:function(){},toWireType:function(){}})},t:function(d1,o,S1,p1,l1){d1=v8[d1],o=G0(o),S1=$W(S1);var s1=[];return $[p1>>2]=H1(s1),d1(o,S1,s1,l1)},j:function(d1,o,S1,p1){d1=v8[d1],d1(o=G0(o),S1=$W(S1),null,p1)},f:X7,g:function(d1,o){var S1,p1,l1=function(J0,W0){for(var g0=Array(J0),c2=0;c2<J0;++c2)g0[c2]=K1($[W0+4*c2>>2],"parameter "+c2);return g0}(d1,o),s1=l1[0],U0=qG[o=s1.name+"_$"+l1.slice(1).map(function(J0){return J0.name}).join("_")+"$"];if(U0!==void 0)return U0;var w0=Array(d1-1);return S1=(J0,W0,g0,c2)=>{for(var L2=0,R2=0;R2<d1-1;++R2)w0[R2]=l1[R2+1].readValueFromPointer(c2+L2),L2+=l1[R2+1].argPackAdvance;for(R2=0,J0=J0[W0].apply(J0,w0);R2<d1-1;++R2)l1[R2+1].la&&l1[R2+1].la(w0[R2]);if(!s1.ua)return s1.toWireType(g0,J0)},p1=v8.length,v8.push(S1),U0=p1,qG[o]=U0},r:function(d1){4<d1&&(F0[d1].fa+=1)},s:function(d1){i0(G0(d1)),X7(d1)},i:function(){f1("")},x:function(d1,o,S1){Q.copyWithin(d1,o,o+S1)},w:function(d1){var o=Q.length;if(2147483648<(d1>>>=0))return!1;for(var S1=1;4>=S1;S1*=2){var p1=o*(1+0.2/S1);p1=Math.min(p1,d1+100663296);var l1=Math,s1=l1.min;p1=Math.max(d1,p1),p1+=(65536-p1%65536)%65536;I:{var U0=_.buffer;try{_.grow(s1.call(l1,2147483648,p1)-U0.byteLength+65535>>>16),J();var w0=1;break I}catch(J0){}w0=void 0}if(w0)return!0}return!1},z:function(){return 52},u:function(){return 70},y:function(d1,o,S1,p1){for(var l1=0,s1=0;s1<S1;s1++){var U0=$[o>>2],w0=$[o+4>>2];o+=8;for(var J0=0;J0<w0;J0++){var W0=Q[U0+J0],g0=aB[d1];W0===0||W0===10?((d1===1?w:B)(g(g0,0)),g0.length=0):g0.push(W0)}l1+=w0}return $[p1>>2]=l1,0}};(function(){function d1(l1){A.asm=l1.exports,_=A.asm.D,J(),T=A.asm.I,c.unshift(A.asm.E),--o1==0&&a1&&(l1=a1,a1=null,l1())}function o(l1){d1(l1.instance)}function S1(l1){return(typeof fetch=="function"?fetch(G,{credentials:"same-origin"}).then(function(s1){if(!s1.ok)throw"failed to load wasm binary file at '"+G+"'";return s1.arrayBuffer()}).catch(function(){return A1()}):Promise.resolve().then(function(){return A1()})).then(function(s1){return WebAssembly.instantiate(s1,p1)}).then(function(s1){return s1}).then(l1,function(s1){B("failed to asynchronously prepare wasm: "+s1),f1(s1)})}var p1={a:sB};if(o1++,A.instantiateWasm)try{return A.instantiateWasm(p1,d1)}catch(l1){B("Module.instantiateWasm callback failed with error: "+l1),X(l1)}(typeof WebAssembly.instantiateStreaming!="function"||r()||typeof fetch!="function"?S1(o):fetch(G,{credentials:"same-origin"}).then(function(l1){return WebAssembly.instantiateStreaming(l1,p1).then(o,function(s1){return B("wasm streaming compile failed: "+s1),B("falling back to ArrayBuffer instantiation"),S1(o)})})).catch(X)})();var TW=A.___getTypeName=function(){return(TW=A.___getTypeName=A.asm.F).apply(null,arguments)};function Ud(){return(Ud=A.asm.H).apply(null,arguments)}function _7(){return(_7=A.asm.J).apply(null,arguments)}function OW(){0<o1||(m1(V1),0<o1||Z||(Z=!0,A.calledRun=!0,F||(m1(c),V(A),m1(c1))))}return A.__embind_initialize_bindings=function(){return(A.__embind_initialize_bindings=A.asm.G).apply(null,arguments)},A.dynCall_jiji=function(){return(A.dynCall_jiji=A.asm.K).apply(null,arguments)},a1=function d1(){Z||OW(),Z||(a1=d1)},OW(),d.ready}})();async function ik1(I){let d=await I_4({instantiateWasm(G,Z){WebAssembly.instantiate(I,G).then((C)=>{C instanceof WebAssembly.Instance?Z(C):Z(C.instance)})}});return pk1(d)}import{readFile as d_4}from"node:fs/promises";import{createRequire as G_4}from"node:module";var Dj=await ik1(await d_4(G_4(import.meta.url).resolve("./yoga.wasm")));function h51({onlyFirst:I=!1}={}){let G=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(G,I?void 0:"g")}var Z_4=h51();function RM(I){if(typeof I!=="string")throw new TypeError(`Expected a \`string\`, got \`${typeof I}\``);return I.replace(Z_4,"")}function nk1(I){return I===161||I===164||I===167||I===168||I===170||I===173||I===174||I>=176&&I<=180||I>=182&&I<=186||I>=188&&I<=191||I===198||I===208||I===215||I===216||I>=222&&I<=225||I===230||I>=232&&I<=234||I===236||I===237||I===240||I===242||I===243||I>=247&&I<=250||I===252||I===254||I===257||I===273||I===275||I===283||I===294||I===295||I===299||I>=305&&I<=307||I===312||I>=319&&I<=322||I===324||I>=328&&I<=331||I===333||I===338||I===339||I===358||I===359||I===363||I===462||I===464||I===466||I===468||I===470||I===472||I===474||I===476||I===593||I===609||I===708||I===711||I>=713&&I<=715||I===717||I===720||I>=728&&I<=731||I===733||I===735||I>=768&&I<=879||I>=913&&I<=929||I>=931&&I<=937||I>=945&&I<=961||I>=963&&I<=969||I===1025||I>=1040&&I<=1103||I===1105||I===8208||I>=8211&&I<=8214||I===8216||I===8217||I===8220||I===8221||I>=8224&&I<=8226||I>=8228&&I<=8231||I===8240||I===8242||I===8243||I===8245||I===8251||I===8254||I===8308||I===8319||I>=8321&&I<=8324||I===8364||I===8451||I===8453||I===8457||I===8467||I===8470||I===8481||I===8482||I===8486||I===8491||I===8531||I===8532||I>=8539&&I<=8542||I>=8544&&I<=8555||I>=8560&&I<=8569||I===8585||I>=8592&&I<=8601||I===8632||I===8633||I===8658||I===8660||I===8679||I===8704||I===8706||I===8707||I===8711||I===8712||I===8715||I===8719||I===8721||I===8725||I===8730||I>=8733&&I<=8736||I===8739||I===8741||I>=8743&&I<=8748||I===8750||I>=8756&&I<=8759||I===8764||I===8765||I===8776||I===8780||I===8786||I===8800||I===8801||I>=8804&&I<=8807||I===8810||I===8811||I===8814||I===8815||I===8834||I===8835||I===8838||I===8839||I===8853||I===8857||I===8869||I===8895||I===8978||I>=9312&&I<=9449||I>=9451&&I<=9547||I>=9552&&I<=9587||I>=9600&&I<=9615||I>=9618&&I<=9621||I===9632||I===9633||I>=9635&&I<=9641||I===9650||I===9651||I===9654||I===9655||I===9660||I===9661||I===9664||I===9665||I>=9670&&I<=9672||I===9675||I>=9678&&I<=9681||I>=9698&&I<=9701||I===9711||I===9733||I===9734||I===9737||I===9742||I===9743||I===9756||I===9758||I===9792||I===9794||I===9824||I===9825||I>=9827&&I<=9829||I>=9831&&I<=9834||I===9836||I===9837||I===9839||I===9886||I===9887||I===9919||I>=9926&&I<=9933||I>=9935&&I<=9939||I>=9941&&I<=9953||I===9955||I===9960||I===9961||I>=9963&&I<=9969||I===9972||I>=9974&&I<=9977||I===9979||I===9980||I===9982||I===9983||I===10045||I>=10102&&I<=10111||I>=11094&&I<=11097||I>=12872&&I<=12879||I>=57344&&I<=63743||I>=65024&&I<=65039||I===65533||I>=127232&&I<=127242||I>=127248&&I<=127277||I>=127280&&I<=127337||I>=127344&&I<=127373||I===127375||I===127376||I>=127387&&I<=127404||I>=917760&&I<=917999||I>=983040&&I<=1048573||I>=1048576&&I<=1114109}function rk1(I){return I===12288||I>=65281&&I<=65376||I>=65504&&I<=65510}function ak1(I){return I>=4352&&I<=4447||I===8986||I===8987||I===9001||I===9002||I>=9193&&I<=9196||I===9200||I===9203||I===9725||I===9726||I===9748||I===9749||I>=9776&&I<=9783||I>=9800&&I<=9811||I===9855||I>=9866&&I<=9871||I===9875||I===9889||I===9898||I===9899||I===9917||I===9918||I===9924||I===9925||I===9934||I===9940||I===9962||I===9970||I===9971||I===9973||I===9978||I===9981||I===9989||I===9994||I===9995||I===10024||I===10060||I===10062||I>=10067&&I<=10069||I===10071||I>=10133&&I<=10135||I===10160||I===10175||I===11035||I===11036||I===11088||I===11093||I>=11904&&I<=11929||I>=11931&&I<=12019||I>=12032&&I<=12245||I>=12272&&I<=12287||I>=12289&&I<=12350||I>=12353&&I<=12438||I>=12441&&I<=12543||I>=12549&&I<=12591||I>=12593&&I<=12686||I>=12688&&I<=12773||I>=12783&&I<=12830||I>=12832&&I<=12871||I>=12880&&I<=42124||I>=42128&&I<=42182||I>=43360&&I<=43388||I>=44032&&I<=55203||I>=63744&&I<=64255||I>=65040&&I<=65049||I>=65072&&I<=65106||I>=65108&&I<=65126||I>=65128&&I<=65131||I>=94176&&I<=94180||I===94192||I===94193||I>=94208&&I<=100343||I>=100352&&I<=101589||I>=101631&&I<=101640||I>=110576&&I<=110579||I>=110581&&I<=110587||I===110589||I===110590||I>=110592&&I<=110882||I===110898||I>=110928&&I<=110930||I===110933||I>=110948&&I<=110951||I>=110960&&I<=111355||I>=119552&&I<=119638||I>=119648&&I<=119670||I===126980||I===127183||I===127374||I>=127377&&I<=127386||I>=127488&&I<=127490||I>=127504&&I<=127547||I>=127552&&I<=127560||I===127568||I===127569||I>=127584&&I<=127589||I>=127744&&I<=127776||I>=127789&&I<=127797||I>=127799&&I<=127868||I>=127870&&I<=127891||I>=127904&&I<=127946||I>=127951&&I<=127955||I>=127968&&I<=127984||I===127988||I>=127992&&I<=128062||I===128064||I>=128066&&I<=128252||I>=128255&&I<=128317||I>=128331&&I<=128334||I>=128336&&I<=128359||I===128378||I===128405||I===128406||I===128420||I>=128507&&I<=128591||I>=128640&&I<=128709||I===128716||I>=128720&&I<=128722||I>=128725&&I<=128727||I>=128732&&I<=128735||I===128747||I===128748||I>=128756&&I<=128764||I>=128992&&I<=129003||I===129008||I>=129292&&I<=129338||I>=129340&&I<=129349||I>=129351&&I<=129535||I>=129648&&I<=129660||I>=129664&&I<=129673||I>=129679&&I<=129734||I>=129742&&I<=129756||I>=129759&&I<=129769||I>=129776&&I<=129784||I>=131072&&I<=196605||I>=196608&&I<=262141}function C_4(I){if(!Number.isSafeInteger(I))throw new TypeError(`Expected a code point, got \`${typeof I}\`.`)}function Hj(I,{ambiguousAsWide:d=!1}={}){if(C_4(I),rk1(I)||ak1(I)||d&&nk1(I))return 2;return 1}var ek1=J1(ok1(),1),W_4=new Intl.Segmenter,w_4=/^\p{Default_Ignorable_Code_Point}$/u;function E7(I,d={}){if(typeof I!=="string"||I.length===0)return 0;let{ambiguousIsNarrow:G=!0,countAnsiEscapeCodes:Z=!1}=d;if(!Z)I=RM(I);if(I.length===0)return 0;let C=0,W={ambiguousAsWide:!G};for(let{segment:w}of W_4.segment(I)){let B=w.codePointAt(0);if(B<=31||B>=127&&B<=159)continue;if(B>=8203&&B<=8207||B===65279)continue;if(B>=768&&B<=879||B>=6832&&B<=6911||B>=7616&&B<=7679||B>=8400&&B<=8447||B>=65056&&B<=65071)continue;if(B>=55296&&B<=57343)continue;if(B>=65024&&B<=65039)continue;if(w_4.test(w))continue;if(ek1.default().test(w)){C+=2;continue}C+=Hj(B,W)}return C}function dQ(I){let d=0;for(let G of I.split(`
`))d=Math.max(d,E7(G));return d}var tk1={},B_4=(I)=>{if(I.length===0)return{width:0,height:0};let d=tk1[I];if(d)return d;let G=dQ(I),Z=I.split(`
`).length;return tk1[I]={width:G,height:Z},{width:G,height:Z}},j51=B_4;var Ix1=(I=0)=>(d)=>`\x1B[${d+I}m`,dx1=(I=0)=>(d)=>`\x1B[${38+I};5;${d}m`,Gx1=(I=0)=>(d,G,Z)=>`\x1B[${38+I};2;${d};${G};${Z}m`,I3={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},tM9=Object.keys(I3.modifier),A_4=Object.keys(I3.color),V_4=Object.keys(I3.bgColor),IS9=[...A_4,...V_4];function X_4(){let I=new Map;for(let[d,G]of Object.entries(I3)){for(let[Z,C]of Object.entries(G))I3[Z]={open:`\x1B[${C[0]}m`,close:`\x1B[${C[1]}m`},G[Z]=I3[Z],I.set(C[0],C[1]);Object.defineProperty(I3,d,{value:G,enumerable:!1})}return Object.defineProperty(I3,"codes",{value:I,enumerable:!1}),I3.color.close="\x1B[39m",I3.bgColor.close="\x1B[49m",I3.color.ansi=Ix1(),I3.color.ansi256=dx1(),I3.color.ansi16m=Gx1(),I3.bgColor.ansi=Ix1(10),I3.bgColor.ansi256=dx1(10),I3.bgColor.ansi16m=Gx1(10),Object.defineProperties(I3,{rgbToAnsi256:{value:(d,G,Z)=>{if(d===G&&G===Z){if(d<8)return 16;if(d>248)return 231;return Math.round((d-8)/247*24)+232}return 16+36*Math.round(d/255*5)+6*Math.round(G/255*5)+Math.round(Z/255*5)},enumerable:!1},hexToRgb:{value:(d)=>{let G=/[a-f\d]{6}|[a-f\d]{3}/i.exec(d.toString(16));if(!G)return[0,0,0];let[Z]=G;if(Z.length===3)Z=[...Z].map((W)=>W+W).join("");let C=Number.parseInt(Z,16);return[C>>16&255,C>>8&255,C&255]},enumerable:!1},hexToAnsi256:{value:(d)=>I3.rgbToAnsi256(...I3.hexToRgb(d)),enumerable:!1},ansi256ToAnsi:{value:(d)=>{if(d<8)return 30+d;if(d<16)return 90+(d-8);let G,Z,C;if(d>=232)G=((d-232)*10+8)/255,Z=G,C=G;else{d-=16;let B=d%36;G=Math.floor(d/36)/5,Z=Math.floor(B/6)/5,C=B%6/5}let W=Math.max(G,Z,C)*2;if(W===0)return 30;let w=30+(Math.round(C)<<2|Math.round(Z)<<1|Math.round(G));if(W===2)w+=60;return w},enumerable:!1},rgbToAnsi:{value:(d,G,Z)=>I3.ansi256ToAnsi(I3.rgbToAnsi256(d,G,Z)),enumerable:!1},hexToAnsi:{value:(d)=>I3.ansi256ToAnsi(I3.hexToAnsi256(d)),enumerable:!1}}),I3}var Y_4=X_4(),d3=Y_4;var gj=new Set(["\x1B",""]),__4=39,x51="\x07",Wx1="[",D_4="]",wx1="m",Fj=`${D_4}8;;`,Zx1=(I)=>`${gj.values().next().value}${Wx1}${I}${wx1}`,Cx1=(I)=>`${gj.values().next().value}${Fj}${I}${x51}`,H_4=(I)=>I.split(" ").map((d)=>E7(d)),k51=(I,d,G)=>{let Z=[...d],C=!1,W=!1,w=E7(RM(I.at(-1)));for(let[B,A]of Z.entries()){let V=E7(A);if(w+V<=G)I[I.length-1]+=A;else I.push(A),w=0;if(gj.has(A))C=!0,W=Z.slice(B+1,B+1+Fj.length).join("")===Fj;if(C){if(W){if(A===x51)C=!1,W=!1}else if(A===wx1)C=!1;continue}if(w+=V,w===G&&B<Z.length-1)I.push(""),w=0}if(!w&&I.at(-1).length>0&&I.length>1)I[I.length-2]+=I.pop()},F_4=(I)=>{let d=I.split(" "),G=d.length;while(G>0){if(E7(d[G-1])>0)break;G--}if(G===d.length)return I;return d.slice(0,G).join(" ")+d.slice(G).join("")},g_4=(I,d,G={})=>{if(G.trim!==!1&&I.trim()==="")return"";let Z="",C,W,w=H_4(I),B=[""];for(let[_,F]of I.split(" ").entries()){if(G.trim!==!1)B[B.length-1]=B.at(-1).trimStart();let g=E7(B.at(-1));if(_!==0){if(g>=d&&(G.wordWrap===!1||G.trim===!1))B.push(""),g=0;if(g>0||G.trim===!1)B[B.length-1]+=" ",g++}if(G.hard&&w[_]>d){let J=d-g,K=1+Math.floor((w[_]-J-1)/d);if(Math.floor((w[_]-1)/d)<K)B.push("");k51(B,F,d);continue}if(g+w[_]>d&&g>0&&w[_]>0){if(G.wordWrap===!1&&g<d){k51(B,F,d);continue}B.push("")}if(g+w[_]>d&&G.wordWrap===!1){k51(B,F,d);continue}B[B.length-1]+=F}if(G.trim!==!1)B=B.map((_)=>F_4(_));let A=B.join(`
`),V=[...A],X=0;for(let[_,F]of V.entries()){if(Z+=F,gj.has(F)){let{groups:J}=new RegExp(`(?:\\${Wx1}(?<code>\\d+)m|\\${Fj}(?<uri>.*)${x51})`).exec(A.slice(X))||{groups:{}};if(J.code!==void 0){let K=Number.parseFloat(J.code);C=K===__4?void 0:K}else if(J.uri!==void 0)W=J.uri.length===0?void 0:J.uri}let g=d3.codes.get(Number(C));if(V[_+1]===`
`){if(W)Z+=Cx1("");if(C&&g)Z+=Zx1(g)}else if(F===`
`){if(C&&g)Z+=Zx1(C);if(W)Z+=Cx1(W)}X+=F.length}return Z};function UM(I,d,G){return String(I).normalize().replaceAll(`\r
`,`
`).split(`
`).map((Z)=>g_4(Z,d,G)).join(`
`)}function vM(I){if(!Number.isInteger(I))return!1;return I>=4352&&(I<=4447||I===9001||I===9002||11904<=I&&I<=12871&&I!==12351||12880<=I&&I<=19903||19968<=I&&I<=42182||43360<=I&&I<=43388||44032<=I&&I<=55203||63744<=I&&I<=64255||65040<=I&&I<=65049||65072<=I&&I<=65131||65281<=I&&I<=65376||65504<=I&&I<=65510||110592<=I&&I<=110593||127488<=I&&I<=127569||131072<=I&&I<=262141)}var J_4=/^[\uD800-\uDBFF][\uDC00-\uDFFF]$/,Ax1=["\x1B",""],Jj=(I)=>`${Ax1[0]}[${I}m`,Bx1=(I,d,G)=>{let Z=[];I=[...I];for(let C of I){let W=C;if(C.includes(";"))C=C.split(";")[0][0]+"0";let w=d3.codes.get(Number.parseInt(C,10));if(w){let B=I.indexOf(w.toString());if(B===-1)Z.push(Jj(d?w:W));else I.splice(B,1)}else if(d){Z.push(Jj(0));break}else Z.push(Jj(W))}if(d){if(Z=Z.filter((C,W)=>Z.indexOf(C)===W),G!==void 0){let C=Jj(d3.codes.get(Number.parseInt(G,10)));Z=Z.reduce((W,w)=>w===C?[w,...W]:[...W,w],[])}}return Z.join("")};function Ow(I,d,G){let Z=[...I],C=[],W=typeof G==="number"?G:Z.length,w=!1,B,A=0,V="";for(let[X,_]of Z.entries()){let F=!1;if(Ax1.includes(_)){let g=/\d[^m]*/.exec(I.slice(X,X+18));if(B=g&&g.length>0?g[0]:void 0,A<W){if(w=!0,B!==void 0)C.push(B)}}else if(w&&_==="m")w=!1,F=!0;if(!w&&!F)A++;if(!J_4.test(_)&&vM(_.codePointAt())){if(A++,typeof G!=="number")W++}if(A>d&&A<=W)V+=_;else if(A===d&&!w&&B!==void 0)V=Bx1(C);else if(A>=W){V+=Bx1(C,!0,B);break}}return V}function Kj(I,d,G){if(I.charAt(d)===" ")return d;let Z=G?1:-1;for(let C=0;C<=3;C++){let W=d+C*Z;if(I.charAt(W)===" ")return W}return d}function c51(I,d,G={}){let{position:Z="end",space:C=!1,preferTruncationOnSpace:W=!1}=G,{truncationCharacter:w="…"}=G;if(typeof I!=="string")throw new TypeError(`Expected \`input\` to be a string, got ${typeof I}`);if(typeof d!=="number")throw new TypeError(`Expected \`columns\` to be a number, got ${typeof d}`);if(d<1)return"";if(d===1)return w;let B=E7(I);if(B<=d)return I;if(Z==="start"){if(W){let A=Kj(I,B-d+1,!0);return w+Ow(I,A,B).trim()}if(C===!0)w+=" ";return w+Ow(I,B-d+E7(w),B)}if(Z==="middle"){if(C===!0)w=` ${w} `;let A=Math.floor(d/2);if(W){let V=Kj(I,A),X=Kj(I,B-(d-A)+1,!0);return Ow(I,0,V)+w+Ow(I,X,B).trim()}return Ow(I,0,A)+w+Ow(I,B-(d-A)+E7(w),B)}if(Z==="end"){if(W){let A=Kj(I,d-1);return Ow(I,0,A)+w}if(C===!0)w=` ${w}`;return Ow(I,0,d-E7(w))+w}throw new Error(`Expected \`options.position\` to be either \`start\`, \`middle\` or \`end\`, got ${Z}`)}var Vx1={},K_4=(I,d,G)=>{let Z=I+String(d)+String(G),C=Vx1[Z];if(C)return C;let W=I;if(G==="wrap")W=UM(I,d,{trim:!1,hard:!0});if(G.startsWith("truncate")){let w="end";if(G==="truncate-middle")w="middle";if(G==="truncate-start")w="start";W=c51(I,d,{position:w})}return Vx1[Z]=W,W},Nj=K_4;var Xx1=(I)=>{let d="";for(let G=0;G<I.childNodes.length;G++){let Z=I.childNodes[G];if(Z===void 0)continue;let C="";if(Z.nodeName==="#text")C=Z.nodeValue;else{if(Z.nodeName==="ink-text"||Z.nodeName==="ink-virtual-text")C=Xx1(Z);if(C.length>0&&typeof Z.internal_transform==="function")C=Z.internal_transform(C,G)}d+=C}return d},zj=Xx1;var Qj=(I)=>{let d={nodeName:I,style:{},attributes:{},childNodes:[],parentNode:void 0,yogaNode:I==="ink-virtual-text"?void 0:Dj.Node.create()};if(I==="ink-text")d.yogaNode?.setMeasureFunc(N_4.bind(null,d));return d},fj=(I,d)=>{if(d.parentNode)EM(d.parentNode,d);if(d.parentNode=I,I.childNodes.push(d),d.yogaNode)I.yogaNode?.insertChild(d.yogaNode,I.yogaNode.getChildCount());if(I.nodeName==="ink-text"||I.nodeName==="ink-virtual-text")qj(I)},p51=(I,d,G)=>{if(d.parentNode)EM(d.parentNode,d);d.parentNode=I;let Z=I.childNodes.indexOf(G);if(Z>=0){if(I.childNodes.splice(Z,0,d),d.yogaNode)I.yogaNode?.insertChild(d.yogaNode,Z);return}if(I.childNodes.push(d),d.yogaNode)I.yogaNode?.insertChild(d.yogaNode,I.yogaNode.getChildCount());if(I.nodeName==="ink-text"||I.nodeName==="ink-virtual-text")qj(I)},EM=(I,d)=>{if(d.yogaNode)d.parentNode?.yogaNode?.removeChild(d.yogaNode);d.parentNode=void 0;let G=I.childNodes.indexOf(d);if(G>=0)I.childNodes.splice(G,1);if(I.nodeName==="ink-text"||I.nodeName==="ink-virtual-text")qj(I)},i51=(I,d,G)=>{I.attributes[d]=G},n51=(I,d)=>{I.style=d},Yx1=(I)=>{let d={nodeName:"#text",nodeValue:I,yogaNode:void 0,parentNode:void 0,style:{}};return MM(d,I),d},N_4=function(I,d){let G=I.nodeName==="#text"?I.nodeValue:zj(I),Z=j51(G);if(Z.width<=d)return Z;if(Z.width>=1&&d>0&&d<1)return Z;let C=I.style?.textWrap??"wrap",W=Nj(G,d,C);return j51(W)},_x1=(I)=>{if(!I?.parentNode)return;return I.yogaNode??_x1(I.parentNode)},qj=(I)=>{_x1(I)?.markDirty()},MM=(I,d)=>{if(typeof d!=="string")d=String(d);I.nodeValue=d,qj(I)};var Q_4=(I,d)=>{if("position"in d)I.setPositionType(d.position==="absolute"?Aj:Bj)},f_4=(I,d)=>{if("margin"in d)I.setMargin(qM,d.margin??0);if("marginX"in d)I.setMargin(QM,d.marginX??0);if("marginY"in d)I.setMargin(fM,d.marginY??0);if("marginLeft"in d)I.setMargin(ih,d.marginLeft||0);if("marginRight"in d)I.setMargin(nh,d.marginRight||0);if("marginTop"in d)I.setMargin(bY,d.marginTop||0);if("marginBottom"in d)I.setMargin(hY,d.marginBottom||0)},q_4=(I,d)=>{if("padding"in d)I.setPadding(qM,d.padding??0);if("paddingX"in d)I.setPadding(QM,d.paddingX??0);if("paddingY"in d)I.setPadding(fM,d.paddingY??0);if("paddingLeft"in d)I.setPadding(uw,d.paddingLeft||0);if("paddingRight"in d)I.setPadding(Tw,d.paddingRight||0);if("paddingTop"in d)I.setPadding(bY,d.paddingTop||0);if("paddingBottom"in d)I.setPadding(hY,d.paddingBottom||0)},R_4=(I,d)=>{if("flexGrow"in d)I.setFlexGrow(d.flexGrow??0);if("flexShrink"in d)I.setFlexShrink(typeof d.flexShrink==="number"?d.flexShrink:1);if("flexWrap"in d){if(d.flexWrap==="nowrap")I.setFlexWrap(Vj);if(d.flexWrap==="wrap")I.setFlexWrap(Xj);if(d.flexWrap==="wrap-reverse")I.setFlexWrap(Yj)}if("flexDirection"in d){if(d.flexDirection==="row")I.setFlexDirection(sh);if(d.flexDirection==="row-reverse")I.setFlexDirection(oh);if(d.flexDirection==="column")I.setFlexDirection(rh);if(d.flexDirection==="column-reverse")I.setFlexDirection(ah)}if("flexBasis"in d)if(typeof d.flexBasis==="number")I.setFlexBasis(d.flexBasis);else if(typeof d.flexBasis==="string")I.setFlexBasisPercent(Number.parseInt(d.flexBasis,10));else I.setFlexBasis(Number.NaN);if("alignItems"in d){if(d.alignItems==="stretch"||!d.alignItems)I.setAlignItems(ph);if(d.alignItems==="flex-start")I.setAlignItems(KM);if(d.alignItems==="center")I.setAlignItems(NM);if(d.alignItems==="flex-end")I.setAlignItems(zM)}if("alignSelf"in d){if(d.alignSelf==="auto"||!d.alignSelf)I.setAlignSelf(ch);if(d.alignSelf==="flex-start")I.setAlignSelf(KM);if(d.alignSelf==="center")I.setAlignSelf(NM);if(d.alignSelf==="flex-end")I.setAlignSelf(zM)}if("justifyContent"in d){if(d.justifyContent==="flex-start"||!d.justifyContent)I.setJustifyContent(dj);if(d.justifyContent==="center")I.setJustifyContent(Gj);if(d.justifyContent==="flex-end")I.setJustifyContent(Zj);if(d.justifyContent==="space-between")I.setJustifyContent(Cj);if(d.justifyContent==="space-around")I.setJustifyContent(Wj);if(d.justifyContent==="space-evenly")I.setJustifyContent(wj)}},U_4=(I,d)=>{if("width"in d)if(typeof d.width==="number")I.setWidth(d.width);else if(typeof d.width==="string")I.setWidthPercent(Number.parseInt(d.width,10));else I.setWidthAuto();if("height"in d)if(typeof d.height==="number")I.setHeight(d.height);else if(typeof d.height==="string")I.setHeightPercent(Number.parseInt(d.height,10));else I.setHeightAuto();if("minWidth"in d)if(typeof d.minWidth==="string")I.setMinWidthPercent(Number.parseInt(d.minWidth,10));else I.setMinWidth(d.minWidth??0);if("minHeight"in d)if(typeof d.minHeight==="string")I.setMinHeightPercent(Number.parseInt(d.minHeight,10));else I.setMinHeight(d.minHeight??0)},v_4=(I,d)=>{if("display"in d)I.setDisplay(d.display==="flex"?IQ:lY)},E_4=(I,d)=>{if("borderStyle"in d){let G=d.borderStyle?1:0;if(d.borderTop!==!1)I.setBorder(bY,G);if(d.borderBottom!==!1)I.setBorder(hY,G);if(d.borderLeft!==!1)I.setBorder(uw,G);if(d.borderRight!==!1)I.setBorder(Tw,G)}},M_4=(I,d)=>{if("gap"in d)I.setGap(Ij,d.gap??0);if("columnGap"in d)I.setGap(eh,d.columnGap??0);if("rowGap"in d)I.setGap(th,d.rowGap??0)},S_4=(I,d={})=>{Q_4(I,d),f_4(I,d),q_4(I,d),R_4(I,d),U_4(I,d),v_4(I,d),E_4(I,d),M_4(I,d)},r51=S_4;if(eD4.env.DEV==="true")try{Promise.resolve().then(() => Qc1())}catch(I){if(I.code==="ERR_MODULE_NOT_FOUND")console.warn(`
The environment variable DEV is set to true, so Ink tried to import \`react-devtools-core\`,
but this failed as it was not installed. Debugging with React Devtools requires it.

To install use this command:

$ npm install --save-dev react-devtools-core
				`.trim()+`
`);else throw I}var fc1=(I,d)=>{if(I===d)return;if(!I)return d;let G={},Z=!1;for(let C of Object.keys(I))if(d?!Object.hasOwn(d,C):!0)G[C]=void 0,Z=!0;if(d){for(let C of Object.keys(d))if(d[C]!==I[C])G[C]=d[C],Z=!0}return Z?G:void 0},qc1=(I)=>{I?.unsetMeasureFunc(),I?.freeRecursive()},Jg=Rc1.default({getRootHostContext:()=>({isInsideText:!1}),prepareForCommit:()=>null,preparePortalMount:()=>null,clearContainer:()=>!1,resetAfterCommit(I){if(typeof I.onComputeLayout==="function")I.onComputeLayout();if(I.isStaticDirty){if(I.isStaticDirty=!1,typeof I.onImmediateRender==="function")I.onImmediateRender();return}if(typeof I.onRender==="function")I.onRender()},getChildHostContext(I,d){let G=I.isInsideText,Z=d==="ink-text"||d==="ink-virtual-text";if(G===Z)return I;return{isInsideText:Z}},shouldSetTextContent:()=>!1,createInstance(I,d,G,Z){if(Z.isInsideText&&I==="ink-box")throw new Error("<Box> can’t be nested inside <Text> component");let C=I==="ink-text"&&Z.isInsideText?"ink-virtual-text":I,W=Qj(C);for(let[w,B]of Object.entries(d)){if(w==="children")continue;if(w==="style"){if(n51(W,B),W.yogaNode)r51(W.yogaNode,B);continue}if(w==="internal_transform"){W.internal_transform=B;continue}if(w==="internal_static"){W.internal_static=!0;continue}i51(W,w,B)}return W},createTextInstance(I,d,G){if(!G.isInsideText)throw new Error(`Text string "${I}" must be rendered inside <Text> component`);return Yx1(I)},resetTextContent(){},hideTextInstance(I){MM(I,"")},unhideTextInstance(I,d){MM(I,d)},getPublicInstance:(I)=>I,hideInstance(I){I.yogaNode?.setDisplay(lY)},unhideInstance(I){I.yogaNode?.setDisplay(IQ)},appendInitialChild:fj,appendChild:fj,insertBefore:p51,finalizeInitialChildren(I,d,G,Z){if(I.internal_static)Z.isStaticDirty=!0,Z.staticNode=I;return!1},isPrimaryRenderer:!0,supportsMutation:!0,supportsPersistence:!1,supportsHydration:!1,scheduleTimeout:setTimeout,cancelTimeout:clearTimeout,noTimeout:-1,getCurrentEventPriority:()=>b51,beforeActiveInstanceBlur(){},afterActiveInstanceBlur(){},detachDeletedInstance(){},getInstanceFromNode:()=>null,prepareScopeUpdate(){},getInstanceFromScope:()=>null,appendChildToContainer:fj,insertInContainerBefore:p51,removeChildFromContainer(I,d){EM(I,d),qc1(d.yogaNode)},prepareUpdate(I,d,G,Z,C){if(I.internal_static)C.isStaticDirty=!0;let W=fc1(G,Z),w=fc1(G.style,Z.style);if(!W&&!w)return null;return{props:W,style:w}},commitUpdate(I,{props:d,style:G}){if(d)for(let[Z,C]of Object.entries(d)){if(Z==="style"){n51(I,C);continue}if(Z==="internal_transform"){I.internal_transform=C;continue}if(Z==="internal_static"){I.internal_static=!0;continue}i51(I,Z,C)}if(G&&I.yogaNode)r51(I.yogaNode,G)},commitTextUpdate(I,d,G){MM(I,G)},removeChild(I,d){EM(I,d),qc1(d.yogaNode)}});function Y91(I,d=1,G={}){let{indent:Z=" ",includeEmptyLines:C=!1}=G;if(typeof I!=="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof I}\``);if(typeof d!=="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof d}\``);if(d<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${d}\``);if(typeof Z!=="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof Z}\``);if(d===0)return I;let W=C?/^/gm:/^(?!\s*$)/gm;return I.replace(W,Z.repeat(d))}var tD4=(I)=>{return I.getComputedWidth()-I.getComputedPadding(uw)-I.getComputedPadding(Tw)-I.getComputedBorder(uw)-I.getComputedBorder(Tw)},Uc1=tD4;var Sc1=J1(Mc1(),1);var dH4=/^rgb\(\s?(\d+),\s?(\d+),\s?(\d+)\s?\)$/,GH4=/^ansi256\(\s?(\d+)\s?\)$/,ZH4=(I)=>{return I in c0},CH4=(I,d,G)=>{if(!d)return I;if(ZH4(d)){if(G==="foreground")return c0[d](I);let Z=`bg${d[0].toUpperCase()+d.slice(1)}`;return c0[Z](I)}if(d.startsWith("#"))return G==="foreground"?c0.hex(d)(I):c0.bgHex(d)(I);if(d.startsWith("ansi256")){let Z=GH4.exec(d);if(!Z)return I;let C=Number(Z[1]);return G==="foreground"?c0.ansi256(C)(I):c0.bgAnsi256(C)(I)}if(d.startsWith("rgb")){let Z=dH4.exec(d);if(!Z)return I;let C=Number(Z[1]),W=Number(Z[2]),w=Number(Z[3]);return G==="foreground"?c0.rgb(C,W,w)(I):c0.bgRgb(C,W,w)(I)}return I},pY=CH4;var WH4=(I,d,G,Z)=>{if(G.style.borderStyle){let C=G.yogaNode.getComputedWidth(),W=G.yogaNode.getComputedHeight(),w=typeof G.style.borderStyle==="string"?Sc1.default[G.style.borderStyle]:G.style.borderStyle,B=G.style.borderTopColor??G.style.borderColor,A=G.style.borderBottomColor??G.style.borderColor,V=G.style.borderLeftColor??G.style.borderColor,X=G.style.borderRightColor??G.style.borderColor,_=G.style.borderTopDimColor??G.style.borderDimColor,F=G.style.borderBottomDimColor??G.style.borderDimColor,g=G.style.borderLeftDimColor??G.style.borderDimColor,J=G.style.borderRightDimColor??G.style.borderDimColor,K=G.style.borderTop!==!1,Q=G.style.borderBottom!==!1,E=G.style.borderLeft!==!1,S=G.style.borderRight!==!1,P=C-(E?1:0)-(S?1:0),$=K?pY((E?w.topLeft:"")+w.top.repeat(P)+(S?w.topRight:""),B,"foreground"):void 0;if(K&&_)$=c0.dim($);let h=W;if(K)h-=1;if(Q)h-=1;let O=(pY(w.left,V,"foreground")+`
`).repeat(h);if(g)O=c0.dim(O);let T=(pY(w.right,X,"foreground")+`
`).repeat(h);if(J)T=c0.dim(T);let V1=Q?pY((E?w.bottomLeft:"")+w.bottom.repeat(P)+(S?w.bottomRight:""),A,"foreground"):void 0;if(Q&&F)V1=c0.dim(V1);let c=K?1:0;if($)Z.write(I,d,$,{transformers:[]});if(E)Z.write(I,d+c,O,{transformers:[]});if(S)Z.write(I+C-1,d+c,T,{transformers:[]});if(V1)Z.write(I,d+W-1,V1,{transformers:[]})}},Lc1=WH4;var wH4=(I,d)=>{let G=I.childNodes[0]?.yogaNode;if(G){let Z=G.getComputedLeft(),C=G.getComputedTop();d=`
`.repeat(C)+Y91(d,Z)}return d},yc1=(I,d,G)=>{let{offsetX:Z=0,offsetY:C=0,transformers:W=[],skipStaticElements:w}=G;if(w&&I.internal_static)return;let{yogaNode:B}=I;if(B){if(B.getDisplay()===lY)return;let A=Z+B.getComputedLeft(),V=C+B.getComputedTop(),X=W;if(typeof I.internal_transform==="function")X=[I.internal_transform,...W];if(I.nodeName==="ink-text"){let F=zj(I);if(F.length>0){let g=dQ(F),J=Uc1(B);if(g>J){let K=I.style.textWrap??"wrap";F=Nj(F,J,K)}F=wH4(I,F),d.write(A,V,F,{transformers:X})}return}let _=!1;if(I.nodeName==="ink-box"){Lc1(A,V,I,d);let F=I.style.overflowX==="hidden"||I.style.overflow==="hidden",g=I.style.overflowY==="hidden"||I.style.overflow==="hidden";if(F||g){let J=F?A+B.getComputedBorder(uw):void 0,K=F?A+B.getComputedWidth()-B.getComputedBorder(Tw):void 0,Q=g?V+B.getComputedBorder(bY):void 0,E=g?V+B.getComputedHeight()-B.getComputedBorder(hY):void 0;d.clip({x1:J,x2:K,y1:Q,y2:E}),_=!0}}if(I.nodeName==="ink-root"||I.nodeName==="ink-box"){for(let F of I.childNodes)yc1(F,d,{offsetX:A,offsetY:V,transformers:X,skipStaticElements:w});if(_)d.unclip()}}},D91=yc1;function H91(I){if(!Number.isInteger(I))return!1;return Hj(I)===2}var BH4=new Set([27,155]),AH4="0".codePointAt(0),VH4="9".codePointAt(0),g91=new Set,F91=new Map;for(let[I,d]of d3.codes)g91.add(d3.color.ansi(d)),F91.set(d3.color.ansi(I),d3.color.ansi(d));function XH4(I){if(g91.has(I))return I;if(F91.has(I))return F91.get(I);if(I=I.slice(2),I.includes(";"))I=I[0]+"0";let d=d3.codes.get(Number.parseInt(I,10));if(d)return d3.color.ansi(d);return d3.reset.open}function YH4(I){for(let d=0;d<I.length;d++){let G=I.codePointAt(d);if(G>=AH4&&G<=VH4)return d}return-1}function _H4(I,d){I=I.slice(d,d+19);let G=YH4(I);if(G!==-1){let Z=I.indexOf("m",G);if(Z===-1)Z=I.length;return I.slice(0,Z+1)}}function DH4(I,d=Number.POSITIVE_INFINITY){let G=[],Z=0,C=0;while(Z<I.length){let W=I.codePointAt(Z);if(BH4.has(W)){let A=_H4(I,Z);if(A){G.push({type:"ansi",code:A,endCode:XH4(A)}),Z+=A.length;continue}}let w=H91(W),B=String.fromCodePoint(W);if(G.push({type:"character",value:B,isFullWidth:w}),Z+=B.length,C+=w?2:B.length,C>=d)break}return G}function Pc1(I){let d=[];for(let G of I)if(G.code===d3.reset.open)d=[];else if(g91.has(G.code))d=d.filter((Z)=>Z.endCode!==G.code);else d=d.filter((Z)=>Z.endCode!==G.endCode),d.push(G);return d}function HH4(I){return Pc1(I).map(({endCode:Z})=>Z).reverse().join("")}function J91(I,d,G){let Z=DH4(I,G),C=[],W=0,w="",B=!1;for(let A of Z){if(G!==void 0&&W>=G)break;if(A.type==="ansi"){if(C.push(A),B)w+=A.code}else{if(!B&&W>=d)B=!0,C=Pc1(C),w=C.map(({code:V})=>V).join("");if(B)w+=A.value;W+=A.isFullWidth?2:A.value.length}}return w+=HH4(C),w}var $c1=new Set([27,155]),lj=new Set,K91=new Map;for(let[I,d]of d3.codes)lj.add(d3.color.ansi(d)),K91.set(d3.color.ansi(I),d3.color.ansi(d));var bj="\x1B]8;;",N91=bj.split("").map((I)=>I.charCodeAt(0)),uc1="\x07",FL9=uc1.charCodeAt(0),FH4=`\x1B]8;;${uc1}`;function Tc1(I){if(lj.has(I))return I;if(K91.has(I))return K91.get(I);if(I.startsWith(bj))return FH4;if(I=I.slice(2),I.includes(";"))I=I[0]+"0";let d=d3.codes.get(parseInt(I,10));if(d)return d3.color.ansi(d);else return d3.reset.open}function lM(I){return I.map((d)=>d.code).join("")}function z91(I){return hj([],I)}function hj(I,d){let G=[...I];for(let Z of d)if(Z.code===d3.reset.open)G=[];else if(lj.has(Z.code))G=G.filter((C)=>C.endCode!==Z.code);else G=G.filter((C)=>C.endCode!==Z.endCode),G.push(Z);return G}function Q91(I){return z91(I).reverse().map((d)=>({...d,code:d.endCode}))}function jj(I,d){let G=new Set(d.map((C)=>C.endCode)),Z=new Set(I.map((C)=>C.code));return[...Q91(I.filter((C)=>!G.has(C.endCode))),...d.filter((C)=>!Z.has(C.code))]}function Oc1(I){let d=[],G=[];for(let Z of I)if(Z.type==="ansi")d=hj(d,[Z]);else if(Z.type==="char")G.push({...Z,styles:[...d]});return G}function mc1(I){let d="";for(let G=0;G<I.length;G++){let Z=I[G];if(G===0)d+=lM(Z.styles);else d+=lM(jj(I[G-1].styles,Z.styles));if(d+=Z.value,G===I.length-1)d+=lM(jj(Z.styles,[]))}return d}function gH4(I){for(let d=0;d<I.length;d++){let G=I.charCodeAt(d);if(G>=48&&G<=57)return d}return-1}function JH4(I,d){I=I.slice(d);for(let Z=1;Z<N91.length;Z++)if(I.charCodeAt(Z)!==N91[Z])return;let G=I.indexOf("\x07",bj.length);if(G===-1)return;return I.slice(0,G+1)}function KH4(I,d){I=I.slice(d,d+19);let G=gH4(I);if(G!==-1){let Z=I.indexOf("m",G);if(Z===-1)Z=I.length;return I.slice(0,Z+1)}}function lc1(I,d=Number.POSITIVE_INFINITY){let G=[],Z=0,C=0;while(Z<I.length){let W=I.codePointAt(Z);if($c1.has(W)){let A=JH4(I,Z)||KH4(I,Z);if(A){G.push({type:"ansi",code:A,endCode:Tc1(A)}),Z+=A.length;continue}}let w=vM(W),B=String.fromCodePoint(W);if(G.push({type:"char",value:B,fullWidth:w}),Z+=B.length,C+=w?2:B.length,C>=d)break}return G}class bM{width;height;operations=[];charCache={};styledCharsToStringCache={};constructor(I){let{width:d,height:G}=I;this.width=d,this.height=G}write(I,d,G,Z){let{transformers:C}=Z;if(!G)return;this.operations.push({type:"write",x:I,y:d,text:G,transformers:C})}clip(I){this.operations.push({type:"clip",clip:I})}unclip(){this.operations.push({type:"unclip"})}get(){let I=[];for(let Z=0;Z<this.height;Z++){let C=[];for(let W=0;W<this.width;W++)C.push({type:"char",value:" ",fullWidth:!1,styles:[]});I.push(C)}let d=[];for(let Z of this.operations){if(Z.type==="clip")d.push(Z.clip);if(Z.type==="unclip")d.pop();if(Z.type==="write"){let{text:C,transformers:W}=Z,{x:w,y:B}=Z,A=C.split(`
`),V=d.at(-1);if(V){let _=typeof V?.x1==="number"&&typeof V?.x2==="number",F=typeof V?.y1==="number"&&typeof V?.y2==="number";if(_){let g=dQ(C);if(w+g<V.x1||w>V.x2)continue}if(F){let g=A.length;if(B+g<V.y1||B>V.y2)continue}if(_){if(A=A.map((g)=>{let J=w<V.x1?V.x1-w:0,K=E7(g),Q=w+K>V.x2?V.x2-w:K;return J91(g,J,Q)}),w<V.x1)w=V.x1}if(F){let g=B<V.y1?V.y1-B:0,J=A.length,K=B+J>V.y2?V.y2-B:J;if(A=A.slice(g,K),B<V.y1)B=V.y1}}let X=0;for(let[_,F]of A.entries()){let g=I[B+X];if(!g)continue;for(let Q of W)F=Q(F,_);if(!this.charCache.hasOwnProperty(F))this.charCache[F]=Oc1(lc1(F));let J=this.charCache[F],K=w;for(let Q of J){g[K]=Q;let E=Q.fullWidth||Q.value.length>1;if(E)g[K+1]={type:"char",value:"",fullWidth:!1,styles:Q.styles};K+=E?2:1}X++}}}return{output:I.map((Z)=>{let C=Z.filter((w)=>w!==void 0),W=JSON.stringify(C);if(!this.styledCharsToStringCache.hasOwnProperty(W)){let w=mc1(C).trimEnd();this.styledCharsToStringCache[W]=w}return this.styledCharsToStringCache[W]}).join(`
`),height:I.length}}}var NH4=(I)=>{if(I.yogaNode){let d=new bM({width:I.yogaNode.getComputedWidth(),height:I.yogaNode.getComputedHeight()});D91(I,d,{skipStaticElements:!0});let G;if(I.staticNode?.yogaNode)G=new bM({width:I.staticNode.yogaNode.getComputedWidth(),height:I.staticNode.yogaNode.getComputedHeight()}),D91(I.staticNode,G,{skipStaticElements:!1});let{output:Z,height:C}=d.get();return{output:Z,outputHeight:C,staticOutput:G?`${G.get().output}
`:""}}return{output:"",outputHeight:0,staticOutput:""}},bc1=NH4;import tc1 from"node:process";var sc1=J1(xc1(),1),oc1=J1(ac1(),1);import QH4 from"node:process";var fH4=sc1.default(()=>{oc1.default(()=>{QH4.stderr.write("\x1B[?25h")},{alwaysLast:!0})}),ec1=fH4;var rj=!1,XQ={};XQ.show=(I=tc1.stderr)=>{if(!I.isTTY)return;rj=!1,I.write("\x1B[?25h")};XQ.hide=(I=tc1.stderr)=>{if(!I.isTTY)return;ec1(),rj=!0,I.write("\x1B[?25l")};XQ.toggle=(I,d)=>{if(I!==void 0)rj=I;if(rj)XQ.show(d);else XQ.hide(d)};var YQ=XQ;var qH4=(I,{showCursor:d=!1}={})=>{let G=0,Z="",C=!1,W=(w)=>{if(!d&&!C)YQ.hide(),C=!0;let B=w+`
`;if(B===Z)return;Z=B,I.write(OY.eraseLines(G)+B),G=B.split(`
`).length};return W.clear=()=>{I.write(OY.eraseLines(G)),Z="",G=0},W.updateLineCount=(w)=>{G=w.split(`
`).length},W.done=()=>{if(Z="",G=0,!d)YQ.show(),C=!1},W},RH4={create:qH4},Ip1=RH4;var UH4=new WeakMap,_Q=UH4;var tA=J1(u1(),1);import{EventEmitter as bH4}from"node:events";import hH4 from"node:process";var dp1=J1(u1(),1),Gp1=dp1.createContext({exit(){}});Gp1.displayName="InternalAppContext";var U91=Gp1;var Zp1=J1(u1(),1);import{EventEmitter as vH4}from"node:events";import EH4 from"node:process";var Cp1=Zp1.createContext({stdin:EH4.stdin,internal_eventEmitter:new vH4,setRawMode(){},isRawModeSupported:!1,internal_exitOnCtrlC:!0});Cp1.displayName="InternalStdinContext";var aj=Cp1;var Wp1=J1(u1(),1);import MH4 from"node:process";var wp1=Wp1.createContext({stdout:MH4.stdout,write(){}});wp1.displayName="InternalStdoutContext";var v91=wp1;var Bp1=J1(u1(),1);import SH4 from"node:process";var Ap1=Bp1.createContext({stderr:SH4.stderr,write(){}});Ap1.displayName="InternalStderrContext";var E91=Ap1;var Vp1=J1(u1(),1),Xp1=Vp1.createContext({activeId:void 0,add(){},remove(){},activate(){},deactivate(){},enableFocus(){},disableFocus(){},focusNext(){},focusPrevious(){},focus(){}});Xp1.displayName="InternalFocusContext";var sj=Xp1;var z6=J1(u1(),1),L91=J1(gp1(),1);import*as ej from"node:fs";import{cwd as fp1}from"node:process";var OH4=(I,d=2)=>{return I.replace(/^\t+/gm,(G)=>" ".repeat(G.length*d))},Jp1=OH4;var mH4=(I,d)=>{let G=[],Z=I-d,C=I+d;for(let W=Z;W<=C;W++)G.push(W);return G},lH4=(I,d,G={})=>{var Z;if(typeof I!=="string")throw new TypeError("Source code is missing.");if(!d||d<1)throw new TypeError("Line number must start from `1`.");let C=Jp1(I).split(/\r?\n/);if(d>C.length)return;return mH4(d,(Z=G.around)!==null&&Z!==void 0?Z:3).filter((W)=>C[W-1]!==void 0).map((W)=>({line:W,value:C[W-1]}))},Kp1=lH4;var oj=J1(u1(),1),S91=oj.forwardRef(({children:I,...d},G)=>{return oj.default.createElement("ink-box",{ref:G,style:{...d,overflowX:d.overflowX??d.overflow??"visible",overflowY:d.overflowY??d.overflow??"visible"}},I)});S91.displayName="Box";S91.defaultProps={flexWrap:"nowrap",flexDirection:"row",flexGrow:0,flexShrink:1};var p=S91;var Np1=J1(u1(),1);function u({color:I,backgroundColor:d,dimColor:G=!1,bold:Z=!1,italic:C=!1,underline:W=!1,strikethrough:w=!1,inverse:B=!1,wrap:A="wrap",children:V}){if(V===void 0||V===null)return null;let X=(_)=>{if(G)_=c0.dim(_);if(I)_=pY(_,I,"foreground");if(d)_=pY(_,d,"background");if(Z)_=c0.bold(_);if(C)_=c0.italic(_);if(W)_=c0.underline(_);if(w)_=c0.strikethrough(_);if(B)_=c0.inverse(_);return _};return Np1.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row",textWrap:A},internal_transform:X},V)}var zp1=(I)=>{return I?.replace(`file://${fp1()}/`,"")},Qp1=new L91.default({cwd:fp1(),internals:L91.default.nodeInternals()});function y91({error:I}){let d=I.stack?I.stack.split(`
`).slice(1):void 0,G=d?Qp1.parseLine(d[0]):void 0,Z=zp1(G?.file),C,W=0;if(Z&&G?.line&&ej.existsSync(Z)){let w=ej.readFileSync(Z,"utf8");if(C=Kp1(w,G.line),C)for(let{line:B}of C)W=Math.max(W,String(B).length)}return z6.default.createElement(p,{flexDirection:"column",padding:1},z6.default.createElement(p,null,z6.default.createElement(u,{backgroundColor:"red",color:"white"}," ","ERROR"," "),z6.default.createElement(u,null," ",I.message)),G&&Z&&z6.default.createElement(p,{marginTop:1},z6.default.createElement(u,{dimColor:!0},Z,":",G.line,":",G.column)),G&&C&&z6.default.createElement(p,{marginTop:1,flexDirection:"column"},C.map(({line:w,value:B})=>z6.default.createElement(p,{key:w},z6.default.createElement(p,{width:W+1},z6.default.createElement(u,{dimColor:w!==G.line,backgroundColor:w===G.line?"red":void 0,color:w===G.line?"white":void 0},String(w).padStart(W," "),":")),z6.default.createElement(u,{key:w,backgroundColor:w===G.line?"red":void 0,color:w===G.line?"white":void 0}," "+B)))),I.stack&&z6.default.createElement(p,{marginTop:1,flexDirection:"column"},I.stack.split(`
`).slice(1).map((w)=>{let B=Qp1.parseLine(w);if(!B)return z6.default.createElement(p,{key:w},z6.default.createElement(u,{dimColor:!0},"- "),z6.default.createElement(u,{dimColor:!0,bold:!0},w));return z6.default.createElement(p,{key:w},z6.default.createElement(u,{dimColor:!0},"- "),z6.default.createElement(u,{dimColor:!0,bold:!0},B.function),z6.default.createElement(u,{dimColor:!0,color:"gray"}," ","(",zp1(B.file)??"",":",B.line,":",B.column,")"))})))}var jH4="\t",kH4="\x1B[Z",xH4="\x1B";class tj extends tA.PureComponent{static displayName="InternalApp";static getDerivedStateFromError(I){return{error:I}}state={isFocusEnabled:!0,activeFocusId:void 0,focusables:[],error:void 0};rawModeEnabledCount=0;internal_eventEmitter=new bH4;isRawModeSupported(){return this.props.stdin.isTTY}render(){return tA.default.createElement(U91.Provider,{value:{exit:this.handleExit}},tA.default.createElement(aj.Provider,{value:{stdin:this.props.stdin,setRawMode:this.handleSetRawMode,isRawModeSupported:this.isRawModeSupported(),internal_exitOnCtrlC:this.props.exitOnCtrlC,internal_eventEmitter:this.internal_eventEmitter}},tA.default.createElement(v91.Provider,{value:{stdout:this.props.stdout,write:this.props.writeToStdout}},tA.default.createElement(E91.Provider,{value:{stderr:this.props.stderr,write:this.props.writeToStderr}},tA.default.createElement(sj.Provider,{value:{activeId:this.state.activeFocusId,add:this.addFocusable,remove:this.removeFocusable,activate:this.activateFocusable,deactivate:this.deactivateFocusable,enableFocus:this.enableFocus,disableFocus:this.disableFocus,focusNext:this.focusNext,focusPrevious:this.focusPrevious,focus:this.focus}},this.state.error?tA.default.createElement(y91,{error:this.state.error}):this.props.children)))))}componentDidMount(){YQ.hide(this.props.stdout)}componentWillUnmount(){if(YQ.show(this.props.stdout),this.isRawModeSupported())this.handleSetRawMode(!1)}componentDidCatch(I){this.handleExit(I)}handleSetRawMode=(I)=>{let{stdin:d}=this.props;if(!this.isRawModeSupported())if(d===hH4.stdin)throw new Error(`Raw mode is not supported on the current process.stdin, which Ink uses as input stream by default.
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);else throw new Error(`Raw mode is not supported on the stdin provided to Ink.
Read about how to prevent this error on https://github.com/vadimdemedes/ink/#israwmodesupported`);if(d.setEncoding("utf8"),I){if(this.rawModeEnabledCount===0)d.ref(),d.setRawMode(!0),d.addListener("readable",this.handleReadable);this.rawModeEnabledCount++;return}if(--this.rawModeEnabledCount===0)d.setRawMode(!1),d.removeListener("readable",this.handleReadable),d.unref()};handleReadable=()=>{let I;while((I=this.props.stdin.read())!==null)this.handleInput(I),this.internal_eventEmitter.emit("input",I)};handleInput=(I)=>{if(I==="\x03"&&this.props.exitOnCtrlC)this.handleExit();if(I===xH4&&this.state.activeFocusId)this.setState({activeFocusId:void 0});if(this.state.isFocusEnabled&&this.state.focusables.length>0){if(I===jH4)this.focusNext();if(I===kH4)this.focusPrevious()}};handleExit=(I)=>{if(this.isRawModeSupported())this.handleSetRawMode(!1);this.props.onExit(I)};enableFocus=()=>{this.setState({isFocusEnabled:!0})};disableFocus=()=>{this.setState({isFocusEnabled:!1})};focus=(I)=>{this.setState((d)=>{if(!d.focusables.some((Z)=>Z?.id===I))return d;return{activeFocusId:I}})};focusNext=()=>{this.setState((I)=>{let d=I.focusables.find((Z)=>Z.isActive)?.id;return{activeFocusId:this.findNextFocusable(I)??d}})};focusPrevious=()=>{this.setState((I)=>{let d=I.focusables.findLast((Z)=>Z.isActive)?.id;return{activeFocusId:this.findPreviousFocusable(I)??d}})};addFocusable=(I,{autoFocus:d})=>{this.setState((G)=>{let Z=G.activeFocusId;if(!Z&&d)Z=I;return{activeFocusId:Z,focusables:[...G.focusables,{id:I,isActive:!0}]}})};removeFocusable=(I)=>{this.setState((d)=>({activeFocusId:d.activeFocusId===I?void 0:d.activeFocusId,focusables:d.focusables.filter((G)=>{return G.id!==I})}))};activateFocusable=(I)=>{this.setState((d)=>({focusables:d.focusables.map((G)=>{if(G.id!==I)return G;return{id:I,isActive:!0}})}))};deactivateFocusable=(I)=>{this.setState((d)=>({activeFocusId:d.activeFocusId===I?void 0:d.activeFocusId,focusables:d.focusables.map((G)=>{if(G.id!==I)return G;return{id:I,isActive:!1}})}))};findNextFocusable=(I)=>{let d=I.focusables.findIndex((G)=>{return G.id===I.activeFocusId});for(let G=d+1;G<I.focusables.length;G++){let Z=I.focusables[G];if(Z?.isActive)return Z.id}return};findPreviousFocusable=(I)=>{let d=I.focusables.findIndex((G)=>{return G.id===I.activeFocusId});for(let G=d-1;G>=0;G--){let Z=I.focusables[G];if(Z?.isActive)return Z.id}return}}var qp1=()=>{};class Ik{options;log;throttledLog;isUnmounted;lastOutput;lastOutputHeight;container;rootNode=null;fullStaticOutput;exitPromise;restoreConsole;unsubscribeResize;constructor(I){if(U51(this),this.options=I,this.log=Ip1.create(I.stdout),this.throttledLog=I.debug?this.log:$h(this.log,void 0,{leading:!0,trailing:!0}),this.isUnmounted=!1,this.lastOutput="",this.lastOutputHeight=0,this.fullStaticOutput="",this.unsubscribeExit=Up1.default(this.unmount,{alwaysLast:!1}),I.patchConsole)this.patchConsole();if(!Vg)I.stdout.on("resize",this.resized),this.unsubscribeResize=()=>{I.stdout.off("resize",this.resized)};if(this.rootNode=Qj("ink-root"),this.rootNode.onComputeLayout=this.calculateLayout,this.rootNode.onRender=I.debug?this.onRender:$h(this.onRender,32,{leading:!0,trailing:!0}),this.rootNode.onImmediateRender=this.onRender,this.container=Jg.createContainer(this.rootNode,0,null,!1,null,"id",()=>{},null),cH4.env.DEV==="true")Jg.injectIntoDevTools({bundleType:0,version:"16.13.1",rendererPackageName:"ink"})}resized=()=>{this.calculateLayout(),this.onRender(!0)};resolveExitPromise=()=>{};rejectExitPromise=()=>{};unsubscribeExit=()=>{};calculateLayout=()=>{let I=this.options.stdout.columns||80;if(!this.rootNode)return;this.rootNode.yogaNode.setWidth(I),this.rootNode.yogaNode.calculateLayout(void 0,void 0,Dj.DIRECTION_LTR)};onRender(I=!1){if(this.isUnmounted)return;if(!this.rootNode)return;let{output:d,outputHeight:G,staticOutput:Z}=bc1(this.rootNode),C=Z&&Z!==`
`;if(this.options.debug){if(C)this.fullStaticOutput+=Z;this.options.stdout.write(this.fullStaticOutput+d);return}if(Vg){if(C)this.options.stdout.write(Z);this.lastOutput=d,this.lastOutputHeight=G;return}if(C)this.fullStaticOutput+=Z;if(G>=this.options.stdout.rows||this.lastOutputHeight>=this.options.stdout.rows){if(this.options.onFlicker)this.options.onFlicker();this.options.stdout.write(OY.clearTerminal+this.fullStaticOutput+d+`
`),this.lastOutput=d,this.lastOutputHeight=G,this.log.updateLineCount(d+`
`);return}if(I){this.options.stdout.write(OY.clearTerminal+this.fullStaticOutput+d+`
`),this.lastOutput=d,this.lastOutputHeight=G,this.log.updateLineCount(d+`
`);return}if(C)this.log.clear(),this.options.stdout.write(Z),this.throttledLog(d);if(!C&&d!==this.lastOutput)this.throttledLog(d);this.lastOutput=d,this.lastOutputHeight=G}render(I){let d=Rp1.default.createElement(tj,{stdin:this.options.stdin,stdout:this.options.stdout,stderr:this.options.stderr,writeToStdout:this.writeToStdout,writeToStderr:this.writeToStderr,exitOnCtrlC:this.options.exitOnCtrlC,onExit:this.unmount},I);Jg.updateContainer(d,this.container,null,qp1)}writeToStdout(I){if(this.isUnmounted)return;if(this.options.debug){this.options.stdout.write(I+this.fullStaticOutput+this.lastOutput);return}if(Vg){this.options.stdout.write(I);return}this.log.clear(),this.options.stdout.write(I),this.log(this.lastOutput)}writeToStderr(I){if(this.isUnmounted)return;if(this.options.debug){this.options.stderr.write(I),this.options.stdout.write(this.fullStaticOutput+this.lastOutput);return}if(Vg){this.options.stderr.write(I);return}this.log.clear(),this.options.stderr.write(I),this.log(this.lastOutput)}unmount(I){if(this.isUnmounted)return;if(this.calculateLayout(),this.onRender(),this.unsubscribeExit(),typeof this.restoreConsole==="function")this.restoreConsole();if(typeof this.unsubscribeResize==="function")this.unsubscribeResize();if(Vg)this.options.stdout.write(this.lastOutput+`
`);else if(!this.options.debug)this.log.done();if(this.isUnmounted=!0,Jg.updateContainer(null,this.container,null,qp1),_Q.delete(this.options.stdout),I instanceof Error)this.rejectExitPromise(I);else this.resolveExitPromise()}async waitUntilExit(){return this.exitPromise||=new Promise((I,d)=>{this.resolveExitPromise=I,this.rejectExitPromise=d}),this.exitPromise}clear(){if(!Vg&&!this.options.debug)this.log.clear()}patchConsole(){if(this.options.debug)return;this.restoreConsole=tj1((I,d)=>{if(I==="stdout")this.writeToStdout(d);if(I==="stderr"){if(!d.startsWith("The above error occurred"))this.writeToStderr(d)}})}}var iH4=(I,d)=>{let G={stdout:dk.stdout,stdin:dk.stdin,stderr:dk.stderr,debug:!1,exitOnCtrlC:!0,patchConsole:!0,...nH4(d)},Z=rH4(G.stdout,()=>new Ik(G));return Z.render(I),{rerender:Z.render,unmount(){Z.unmount()},waitUntilExit:Z.waitUntilExit,cleanup:()=>_Q.delete(G.stdout),clear:Z.clear}},wZ=iH4,nH4=(I={})=>{if(I instanceof pH4)return{stdout:I,stdin:dk.stdin};return I},rH4=(I,d)=>{let G=_Q.get(I);if(!G)G=d(),_Q.set(I,G);return G};var IV=J1(u1(),1);function DQ(I){let{items:d,children:G,style:Z}=I,[C,W]=IV.useState(0),w=IV.useMemo(()=>{return d.slice(C)},[d,C]);IV.useLayoutEffect(()=>{W(d.length)},[d.length]);let B=w.map((V,X)=>{return G(V,C+X)}),A=IV.useMemo(()=>({position:"absolute",flexDirection:"column",...Z}),[Z]);return IV.default.createElement("ink-box",{internal_static:!0,style:A},B)}var vp1=J1(u1(),1);function Gk({children:I,transform:d}){if(I===void 0||I===null)return null;return vp1.default.createElement("ink-text",{style:{flexGrow:0,flexShrink:1,flexDirection:"row"},internal_transform:d},I)}var Ep1=J1(u1(),1);function C6({count:I=1}){return Ep1.default.createElement("ink-text",null,`
`.repeat(I))}var aH4=J1(u1(),1);var P91=J1(u1(),1);import{Buffer as sH4}from"node:buffer";var oH4=/^(?:\x1b)([a-zA-Z0-9])$/,eH4=/^(?:\x1b+)(O|N|\[|\[\[)(?:(\d+)(?:;(\d+))?([~^$])|(?:1;)?(\d+)?([a-zA-Z]))/,Mp1={OP:"f1",OQ:"f2",OR:"f3",OS:"f4","[11~":"f1","[12~":"f2","[13~":"f3","[14~":"f4","[[A":"f1","[[B":"f2","[[C":"f3","[[D":"f4","[[E":"f5","[15~":"f5","[17~":"f6","[18~":"f7","[19~":"f8","[20~":"f9","[21~":"f10","[23~":"f11","[24~":"f12","[A":"up","[B":"down","[C":"right","[D":"left","[E":"clear","[F":"end","[H":"home",OA:"up",OB:"down",OC:"right",OD:"left",OE:"clear",OF:"end",OH:"home","[1~":"home","[2~":"insert","[3~":"delete","[4~":"end","[5~":"pageup","[6~":"pagedown","[[5~":"pageup","[[6~":"pagedown","[7~":"home","[8~":"end","[a":"up","[b":"down","[c":"right","[d":"left","[e":"clear","[2$":"insert","[3$":"delete","[5$":"pageup","[6$":"pagedown","[7$":"home","[8$":"end",Oa:"up",Ob:"down",Oc:"right",Od:"left",Oe:"clear","[2^":"insert","[3^":"delete","[5^":"pageup","[6^":"pagedown","[7^":"home","[8^":"end","[Z":"tab"},Sp1=[...Object.values(Mp1),"backspace"],tH4=(I)=>{return["[a","[b","[c","[d","[e","[2$","[3$","[5$","[6$","[7$","[8$","[Z"].includes(I)},IF4=(I)=>{return["Oa","Ob","Oc","Od","Oe","[2^","[3^","[5^","[6^","[7^","[8^"].includes(I)},dF4=(I="")=>{let d;if(sH4.isBuffer(I))if(I[0]>127&&I[1]===void 0)I[0]-=128,I="\x1B"+String(I);else I=String(I);else if(I!==void 0&&typeof I!=="string")I=String(I);else if(!I)I="";let G={name:"",fn:!1,ctrl:!1,meta:!1,shift:!1,option:!1,sequence:I,raw:I};if(G.sequence=G.sequence||I||G.name,I==="\r")G.raw=void 0,G.name="return";else if(I===`
`)G.name="enter";else if(I==="\t")G.name="tab";else if(I==="\b"||I==="\x1B\b")G.name="backspace",G.meta=I.charAt(0)==="\x1B";else if(I===""||I==="\x1B")G.name="backspace",G.meta=I.charAt(0)==="\x1B";else if(I==="\x1B"||I==="\x1B\x1B")G.name="escape",G.meta=I.length===2;else if(I===" "||I==="\x1B ")G.name="space",G.meta=I.length===2;else if(I<="\x1A"&&I.length==1)G.name=String.fromCharCode(I.charCodeAt(0)+97-1),G.ctrl=!0;else if(I.length===1&&I>="0"&&I<="9")G.name="number";else if(I.length===1&&I>="a"&&I<="z")G.name=I;else if(I.length===1&&I>="A"&&I<="Z")G.name=I.toLowerCase(),G.shift=!0;else if(d=oH4.exec(I))G.meta=!0,G.shift=/^[A-Z]$/.test(d[1]);else if(d=eH4.exec(I)){let Z=[...I];if(Z[0]==="\x1B"&&Z[1]==="\x1B")G.option=!0;let C=[d[1],d[2],d[4],d[6]].filter(Boolean).join(""),W=(d[3]||d[5]||1)-1;G.ctrl=!!(W&4),G.meta=!!(W&10),G.shift=!!(W&1),G.code=C,G.name=Mp1[C],G.shift=tH4(C)||G.shift,G.ctrl=IF4(C)||G.ctrl}if(G.raw==="\x1Bb")G.meta=!0,G.name="left";else if(G.raw==="\x1Bf")G.meta=!0,G.name="right";switch(I){case"\x1B[1~":return{name:"home",ctrl:!1,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[4~":return{name:"end",ctrl:!1,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[5~":return{name:"pageup",ctrl:!1,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[6~":return{name:"pagedown",ctrl:!1,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[1;5D":return{name:"left",ctrl:!0,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[1;5C":return{name:"right",ctrl:!0,meta:!1,shift:!1,option:!1,fn:!1,sequence:I,raw:I};case"\x1B[1~":return{name:"left",ctrl:!0,fn:!0,meta:!1,shift:!1,option:!1,sequence:I,raw:I};case"\x1B[4~":return{name:"right",ctrl:!0,fn:!0,meta:!1,shift:!1,option:!1,sequence:I,raw:I}}return G},Lp1=dF4;var yp1=J1(u1(),1);var GF4=()=>yp1.useContext(aj),Zk=GF4;var ZF4=(I,d={})=>{let{stdin:G,setRawMode:Z,internal_exitOnCtrlC:C,internal_eventEmitter:W}=Zk();P91.useEffect(()=>{if(d.isActive===!1)return;return Z(!0),()=>{Z(!1)}},[d.isActive,Z]),P91.useEffect(()=>{if(d.isActive===!1)return;let w=(B)=>{let A=Lp1(B);A.name;let V={upArrow:A.name==="up",downArrow:A.name==="down",leftArrow:A.name==="left",rightArrow:A.name==="right",pageDown:A.name==="pagedown",pageUp:A.name==="pageup",home:A.name==="home",end:A.name==="end",return:A.name==="return",escape:A.name==="escape",fn:A.fn,ctrl:A.ctrl,shift:A.shift,tab:A.name==="tab",backspace:A.name==="backspace",delete:A.name==="delete",meta:A.meta||A.name==="escape"||A.option},X=A.ctrl?A.name:A.sequence;if(Sp1.includes(A.name))X="";if(X.startsWith("\x1B"))X=X.slice(1);if(X.length===1&&typeof X[0]==="string"&&X[0].toUpperCase()===X[0])V.shift=!0;if(!(X==="c"&&V.ctrl)||!C)Jg.batchedUpdates(()=>{I(X,V)})};return W?.on("input",w),()=>{W?.removeListener("input",w)}},[d.isActive,G,C,I])},C4=ZF4;var CF4=J1(u1(),1);var WF4=J1(u1(),1);var wF4=J1(u1(),1);var $91=J1(u1(),1);var BF4=J1(u1(),1);var T2=J1(u1(),1);var pF4=J1(u1(),1);var kM=J1(u1(),1),kF4=J1(Tp1(),1);import Op1 from"node:process";function u91(){let{env:I}=Op1,{TERM:d,TERM_PROGRAM:G}=I;if(Op1.platform!=="win32")return d!=="linux";return Boolean(I.WT_SESSION)||Boolean(I.TERMINUS_SUBLIME)||I.ConEmuTask==="{cmd::Cmder}"||G==="Terminus-Sublime"||G==="vscode"||d==="xterm-256color"||d==="alacritty"||d==="rxvt-unicode"||d==="rxvt-unicode-256color"||I.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var mp1={circleQuestionMark:"(?)",questionMarkPrefix:"(?)",square:"█",squareDarkShade:"▓",squareMediumShade:"▒",squareLightShade:"░",squareTop:"▀",squareBottom:"▄",squareLeft:"▌",squareRight:"▐",squareCenter:"■",bullet:"●",dot:"․",ellipsis:"…",pointerSmall:"›",triangleUp:"▲",triangleUpSmall:"▴",triangleDown:"▼",triangleDownSmall:"▾",triangleLeftSmall:"◂",triangleRightSmall:"▸",home:"⌂",heart:"♥",musicNote:"♪",musicNoteBeamed:"♫",arrowUp:"↑",arrowDown:"↓",arrowLeft:"←",arrowRight:"→",arrowLeftRight:"↔",arrowUpDown:"↕",almostEqual:"≈",notEqual:"≠",lessOrEqual:"≤",greaterOrEqual:"≥",identical:"≡",infinity:"∞",subscriptZero:"₀",subscriptOne:"₁",subscriptTwo:"₂",subscriptThree:"₃",subscriptFour:"₄",subscriptFive:"₅",subscriptSix:"₆",subscriptSeven:"₇",subscriptEight:"₈",subscriptNine:"₉",oneHalf:"½",oneThird:"⅓",oneQuarter:"¼",oneFifth:"⅕",oneSixth:"⅙",oneEighth:"⅛",twoThirds:"⅔",twoFifths:"⅖",threeQuarters:"¾",threeFifths:"⅗",threeEighths:"⅜",fourFifths:"⅘",fiveSixths:"⅚",fiveEighths:"⅝",sevenEighths:"⅞",line:"─",lineBold:"━",lineDouble:"═",lineDashed0:"┄",lineDashed1:"┅",lineDashed2:"┈",lineDashed3:"┉",lineDashed4:"╌",lineDashed5:"╍",lineDashed6:"╴",lineDashed7:"╶",lineDashed8:"╸",lineDashed9:"╺",lineDashed10:"╼",lineDashed11:"╾",lineDashed12:"−",lineDashed13:"–",lineDashed14:"‐",lineDashed15:"⁃",lineVertical:"│",lineVerticalBold:"┃",lineVerticalDouble:"║",lineVerticalDashed0:"┆",lineVerticalDashed1:"┇",lineVerticalDashed2:"┊",lineVerticalDashed3:"┋",lineVerticalDashed4:"╎",lineVerticalDashed5:"╏",lineVerticalDashed6:"╵",lineVerticalDashed7:"╷",lineVerticalDashed8:"╹",lineVerticalDashed9:"╻",lineVerticalDashed10:"╽",lineVerticalDashed11:"╿",lineDownLeft:"┐",lineDownLeftArc:"╮",lineDownBoldLeftBold:"┓",lineDownBoldLeft:"┒",lineDownLeftBold:"┑",lineDownDoubleLeftDouble:"╗",lineDownDoubleLeft:"╖",lineDownLeftDouble:"╕",lineDownRight:"┌",lineDownRightArc:"╭",lineDownBoldRightBold:"┏",lineDownBoldRight:"┎",lineDownRightBold:"┍",lineDownDoubleRightDouble:"╔",lineDownDoubleRight:"╓",lineDownRightDouble:"╒",lineUpLeft:"┘",lineUpLeftArc:"╯",lineUpBoldLeftBold:"┛",lineUpBoldLeft:"┚",lineUpLeftBold:"┙",lineUpDoubleLeftDouble:"╝",lineUpDoubleLeft:"╜",lineUpLeftDouble:"╛",lineUpRight:"└",lineUpRightArc:"╰",lineUpBoldRightBold:"┗",lineUpBoldRight:"┖",lineUpRightBold:"┕",lineUpDoubleRightDouble:"╚",lineUpDoubleRight:"╙",lineUpRightDouble:"╘",lineUpDownLeft:"┤",lineUpBoldDownBoldLeftBold:"┫",lineUpBoldDownBoldLeft:"┨",lineUpDownLeftBold:"┥",lineUpBoldDownLeftBold:"┩",lineUpDownBoldLeftBold:"┪",lineUpDownBoldLeft:"┧",lineUpBoldDownLeft:"┦",lineUpDoubleDownDoubleLeftDouble:"╣",lineUpDoubleDownDoubleLeft:"╢",lineUpDownLeftDouble:"╡",lineUpDownRight:"├",lineUpBoldDownBoldRightBold:"┣",lineUpBoldDownBoldRight:"┠",lineUpDownRightBold:"┝",lineUpBoldDownRightBold:"┡",lineUpDownBoldRightBold:"┢",lineUpDownBoldRight:"┟",lineUpBoldDownRight:"┞",lineUpDoubleDownDoubleRightDouble:"╠",lineUpDoubleDownDoubleRight:"╟",lineUpDownRightDouble:"╞",lineDownLeftRight:"┬",lineDownBoldLeftBoldRightBold:"┳",lineDownLeftBoldRightBold:"┯",lineDownBoldLeftRight:"┰",lineDownBoldLeftBoldRight:"┱",lineDownBoldLeftRightBold:"┲",lineDownLeftRightBold:"┮",lineDownLeftBoldRight:"┭",lineDownDoubleLeftDoubleRightDouble:"╦",lineDownDoubleLeftRight:"╥",lineDownLeftDoubleRightDouble:"╤",lineUpLeftRight:"┴",lineUpBoldLeftBoldRightBold:"┻",lineUpLeftBoldRightBold:"┷",lineUpBoldLeftRight:"┸",lineUpBoldLeftBoldRight:"┹",lineUpBoldLeftRightBold:"┺",lineUpLeftRightBold:"┶",lineUpLeftBoldRight:"┵",lineUpDoubleLeftDoubleRightDouble:"╩",lineUpDoubleLeftRight:"╨",lineUpLeftDoubleRightDouble:"╧",lineUpDownLeftRight:"┼",lineUpBoldDownBoldLeftBoldRightBold:"╋",lineUpDownBoldLeftBoldRightBold:"╈",lineUpBoldDownLeftBoldRightBold:"╇",lineUpBoldDownBoldLeftRightBold:"╊",lineUpBoldDownBoldLeftBoldRight:"╉",lineUpBoldDownLeftRight:"╀",lineUpDownBoldLeftRight:"╁",lineUpDownLeftBoldRight:"┽",lineUpDownLeftRightBold:"┾",lineUpBoldDownBoldLeftRight:"╂",lineUpDownLeftBoldRightBold:"┿",lineUpBoldDownLeftBoldRight:"╃",lineUpBoldDownLeftRightBold:"╄",lineUpDownBoldLeftBoldRight:"╅",lineUpDownBoldLeftRightBold:"╆",lineUpDoubleDownDoubleLeftDoubleRightDouble:"╬",lineUpDoubleDownDoubleLeftRight:"╫",lineUpDownLeftDoubleRightDouble:"╪",lineCross:"╳",lineBackslash:"╲",lineSlash:"╱"},lp1={tick:"✔",info:"ℹ",warning:"⚠",cross:"✘",squareSmall:"◻",squareSmallFilled:"◼",circle:"◯",circleFilled:"◉",circleDotted:"◌",circleDouble:"◎",circleCircle:"ⓞ",circleCross:"ⓧ",circlePipe:"Ⓘ",radioOn:"◉",radioOff:"◯",checkboxOn:"☒",checkboxOff:"☐",checkboxCircleOn:"ⓧ",checkboxCircleOff:"Ⓘ",pointer:"❯",triangleUpOutline:"△",triangleLeft:"◀",triangleRight:"▶",lozenge:"◆",lozengeOutline:"◇",hamburger:"☰",smiley:"㋡",mustache:"෴",star:"★",play:"▶",nodejs:"⬢",oneSeventh:"⅐",oneNinth:"⅑",oneTenth:"⅒"},fF4={tick:"√",info:"i",warning:"‼",cross:"×",squareSmall:"□",squareSmallFilled:"■",circle:"( )",circleFilled:"(*)",circleDotted:"( )",circleDouble:"( )",circleCircle:"(○)",circleCross:"(×)",circlePipe:"(│)",radioOn:"(*)",radioOff:"( )",checkboxOn:"[×]",checkboxOff:"[ ]",checkboxCircleOn:"(×)",checkboxCircleOff:"( )",pointer:">",triangleUpOutline:"∆",triangleLeft:"◄",triangleRight:"►",lozenge:"♦",lozengeOutline:"◊",hamburger:"≡",smiley:"☺",mustache:"┌─┐",star:"✶",play:"►",nodejs:"♦",oneSeventh:"1/7",oneNinth:"1/9",oneTenth:"1/10"},qF4={...mp1,...lp1},RF4={...mp1,...fF4},UF4=u91(),vF4=UF4?qF4:RF4,k5=vF4,tP9=Object.entries(lp1);var bp1={info:"blue",success:"green",error:"red",warning:"yellow"},EF4={styles:{container:({variant:I})=>({flexGrow:1,borderStyle:"round",borderColor:bp1[I],gap:1,paddingX:1}),iconContainer:()=>({flexShrink:0}),icon:({variant:I})=>({color:bp1[I]}),content:()=>({flexShrink:1,flexGrow:1,minWidth:0,flexDirection:"column",gap:1}),title:()=>({bold:!0}),message:()=>({})},config({variant:I}){let d;if(I==="info")d=k5.info;if(I==="success")d=k5.tick;if(I==="error")d=k5.cross;if(I==="warning")d=k5.warning;return{icon:d}}},hp1=EF4;var MF4={styles:{container:({color:I})=>({backgroundColor:I}),label:()=>({color:"black"})}},jp1=MF4;var SF4={styles:{input:({isFocused:I})=>({dimColor:!I})}},kp1=SF4;var LF4={styles:{container:()=>({flexDirection:"column"}),option:({isFocused:I})=>({gap:1,paddingLeft:I?0:2}),selectedIndicator:()=>({color:"green"}),focusIndicator:()=>({color:"blue"}),label({isFocused:I,isSelected:d}){let G;if(d)G="green";if(I)G="blue";return{color:G}},highlightedText:()=>({bold:!0})}},xp1=LF4;var yF4={styles:{list:()=>({flexDirection:"column"}),listItem:()=>({gap:1}),marker:()=>({dimColor:!0}),content:()=>({flexDirection:"column"})}},cp1=yF4;var PF4={styles:{container:()=>({flexGrow:1,minWidth:0}),completed:()=>({color:"magenta"}),remaining:()=>({dimColor:!0})},config:()=>({completedCharacter:k5.square,remainingCharacter:k5.squareLightShade})},pp1=PF4;var $F4={styles:{container:()=>({flexDirection:"column"}),option:({isFocused:I})=>({gap:1,paddingLeft:I?0:2}),selectedIndicator:()=>({color:"green"}),focusIndicator:()=>({color:"blue"}),label({isFocused:I,isSelected:d}){let G;if(d)G="green";if(I)G="blue";return{color:G}},highlightedText:()=>({bold:!0})}},ip1=$F4;var uF4={styles:{container:()=>({gap:1}),frame:()=>({color:"blue"}),label:()=>({})}},np1=uF4;var TF4={success:"green",error:"red",warning:"yellow",info:"blue"},OF4={success:k5.tick,error:k5.cross,warning:k5.warning,info:k5.info},mF4={styles:{container:()=>({gap:1}),iconContainer:()=>({flexShrink:0}),icon:({variant:I})=>({color:TF4[I]}),message:()=>({})},config:({variant:I})=>({icon:OF4[I]})},rp1=mF4;var lF4={styles:{list:()=>({flexDirection:"column"}),listItem:()=>({gap:1}),marker:()=>({dimColor:!0}),content:()=>({flexDirection:"column"})},config:()=>({marker:k5.line})},ap1=lF4;var bF4={styles:{value:()=>({})}},sp1=bF4;var hF4={styles:{value:()=>({})}},op1=hF4;var jF4={styles:{value:()=>({})}},ep1=jF4;var xF4={components:{Alert:hp1,Badge:jp1,ConfirmInput:kp1,MultiSelect:xp1,OrderedList:cp1,ProgressBar:pp1,Select:ip1,Spinner:np1,StatusMessage:rp1,UnorderedList:ap1,TextInput:sp1,EmailInput:op1,PasswordInput:ep1}},cF4=kM.createContext(xF4);var Q9=(I)=>{return kM.useContext(cF4).components[I]};var iF4=J1(u1(),1);var dV=J1(u1(),1);var FQ=J1(u1(),1);var tp1=J1(u1(),1);var xM=k5.line;var Ck=tp1.createContext({marker:xM});function Ii1({children:I}){let{marker:d}=FQ.useContext(Ck),{styles:G}=Q9("UnorderedList");return FQ.default.createElement(p,{...G.listItem()},FQ.default.createElement(u,{...G.marker()},d),FQ.default.createElement(p,{...G.content()},I))}var di1=J1(u1(),1),T91=di1.createContext({depth:0});function nF4({children:I}){let{depth:d}=dV.useContext(T91),{styles:G,config:Z}=Q9("UnorderedList"),C=dV.useMemo(()=>({depth:d+1}),[d]),W=dV.useMemo(()=>{let{marker:w}=Z();if(typeof w==="string")return{marker:w};if(Array.isArray(w))return{marker:w[d]??w.at(-1)??xM};return{marker:xM}},[Z,d]);return dV.default.createElement(T91.Provider,{value:C},dV.default.createElement(Ck.Provider,{value:W},dV.default.createElement(p,{...G.list()},I)))}nF4.Item=Ii1;var aF4=J1(u1(),1);var rF4=J1(u1(),1);var pM=J1(u1(),1);class cM extends Map{first;constructor(I){let d=[],G,Z,C=0;for(let W of I){let w={...W,previous:Z,next:void 0,index:C};if(Z)Z.next=w;G||=w,d.push([W.value,w]),C++,Z=w}super(d);this.first=G}}var Gi1=J1(u1(),1);var gQ=J1(u1(),1);var iM=J1(u1(),1);function Zi1({isFocused:I,isSelected:d,children:G}){let{styles:Z}=Q9("Select");return iM.default.createElement(p,{...Z.option({isFocused:I})},I&&iM.default.createElement(u,{...Z.focusIndicator()},k5.pointer),iM.default.createElement(u,{...Z.label({isFocused:I,isSelected:d})},G),d&&iM.default.createElement(u,{...Z.selectedIndicator()},k5.tick))}var BZ=J1(u1(),1);import{isDeepStrictEqual as sF4}from"node:util";var oF4=(I,d)=>{switch(d.type){case"focus-next-option":{if(!I.focusedValue)return I;let G=I.optionMap.get(I.focusedValue);if(!G)return I;let Z=G.next;if(!Z)return I;if(!(Z.index>=I.visibleToIndex))return{...I,focusedValue:Z.value};let W=Math.min(I.optionMap.size,I.visibleToIndex+1),w=W-I.visibleOptionCount;return{...I,focusedValue:Z.value,visibleFromIndex:w,visibleToIndex:W}}case"focus-previous-option":{if(!I.focusedValue)return I;let G=I.optionMap.get(I.focusedValue);if(!G)return I;let Z=G.previous;if(!Z)return I;if(!(Z.index<=I.visibleFromIndex))return{...I,focusedValue:Z.value};let W=Math.max(0,I.visibleFromIndex-1),w=W+I.visibleOptionCount;return{...I,focusedValue:Z.value,visibleFromIndex:W,visibleToIndex:w}}case"select-focused-option":return{...I,previousValue:I.value,value:I.focusedValue};case"reset":return d.state}},Ci1=({visibleOptionCount:I,defaultValue:d,options:G})=>{let Z=typeof I==="number"?Math.min(I,G.length):G.length,C=new cM(G);return{optionMap:C,visibleOptionCount:Z,focusedValue:C.first?.value,visibleFromIndex:0,visibleToIndex:Z,previousValue:d,value:d}},Wi1=({visibleOptionCount:I=5,options:d,defaultValue:G,onChange:Z})=>{let[C,W]=BZ.useReducer(oF4,{visibleOptionCount:I,defaultValue:G,options:d},Ci1),[w,B]=BZ.useState(d);if(d!==w&&!sF4(d,w))W({type:"reset",state:Ci1({visibleOptionCount:I,defaultValue:G,options:d})}),B(d);let A=BZ.useCallback(()=>{W({type:"focus-next-option"})},[]),V=BZ.useCallback(()=>{W({type:"focus-previous-option"})},[]),X=BZ.useCallback(()=>{W({type:"select-focused-option"})},[]),_=BZ.useMemo(()=>{return d.map((F,g)=>({...F,index:g})).slice(C.visibleFromIndex,C.visibleToIndex)},[d,C.visibleFromIndex,C.visibleToIndex]);return BZ.useEffect(()=>{if(C.value&&C.previousValue!==C.value)Z?.(C.value)},[C.previousValue,C.value,d,Z]),{focusedValue:C.focusedValue,visibleFromIndex:C.visibleFromIndex,visibleToIndex:C.visibleToIndex,value:C.value,visibleOptions:_,focusNextOption:A,focusPreviousOption:V,selectFocusedOption:X}};var wi1=({isDisabled:I=!1,state:d})=>{C4((G,Z)=>{if(Z.downArrow)d.focusNextOption();if(Z.upArrow)d.focusPreviousOption();if(Z.return)d.selectFocusedOption()},{isActive:!I})};function Q6({isDisabled:I=!1,visibleOptionCount:d=5,highlightText:G,options:Z,defaultValue:C,onChange:W}){let w=Wi1({visibleOptionCount:d,options:Z,defaultValue:C,onChange:W});wi1({isDisabled:I,state:w});let{styles:B}=Q9("Select");return gQ.default.createElement(p,{...B.container()},w.visibleOptions.map((A)=>{let V=A.label;if(G&&A.label.includes(G)){let X=A.label.indexOf(G);V=gQ.default.createElement(gQ.default.Fragment,null,A.label.slice(0,X),gQ.default.createElement(u,{...B.highlightedText()},G),A.label.slice(X+G.length))}return gQ.default.createElement(Zi1,{key:A.value,isFocused:!I&&w.focusedValue===A.value,isSelected:w.value===A.value},V)}))}var eF4=J1(u1(),1);var Bi1=J1(u1(),1);var Ig4=J1(u1(),1);var Wk=J1(u1(),1);var tF4=J1(u1(),1);var ZT9=c0.inverse(" ");var LC=J1(u1(),1);var JQ=J1(u1(),1);var Ai1=J1(u1(),1);var wk=Ai1.createContext({marker:k5.line});function Bk({children:I}){let{marker:d}=JQ.useContext(wk),{styles:G}=Q9("OrderedList");return JQ.default.createElement(p,{...G.listItem()},JQ.default.createElement(u,{...G.marker()},d),JQ.default.createElement(p,{...G.content()},I))}var Vi1=J1(u1(),1),O91=Vi1.createContext({marker:""});function b8({children:I}){let{marker:d}=LC.useContext(O91),{styles:G}=Q9("OrderedList"),Z=0;for(let W of LC.default.Children.toArray(I)){if(!LC.isValidElement(W)||W.type!==Bk)continue;Z++}let C=String(Z).length;return LC.default.createElement(p,{...G.list()},LC.default.Children.map(I,(W,w)=>{if(!LC.isValidElement(W)||W.type!==Bk)return W;let B=`${String(w+1).padStart(C)}.`,A=`${d}${B}`;return LC.default.createElement(O91.Provider,{value:{marker:A}},LC.default.createElement(wk.Provider,{value:{marker:A}},W))}))}b8.Item=Bk;var Gg4=J1(u1(),1);var m91=J1(u1(),1);var dg4=J1(u1(),1);var PT9=c0.inverse(" ");var Zg4=J1(u1(),1);var Cg4=J1(u1(),1);var wg4=J1(u1(),1);var Ak=J1(u1(),1);var Wg4=J1(u1(),1);var GO9=c0.inverse(" ");import{existsSync as gb4}from"fs";import{join as Jb4}from"path";import{homedir as Kb4}from"os";import{EOL as KQ,platform as l91,homedir as Yg4}from"os";var Bg4={bashBorder:"#ff0087",claude:"#D97757",permission:"#5769f7",secondaryBorder:"#999",text:"#000",secondaryText:"#666",suggestion:"#5769f7",success:"#2c7a39",error:"#ab2b3f",warning:"#966c1e",diff:{added:"#69db7c",removed:"#ffa8b4",addedDimmed:"#c7e1cb",removedDimmed:"#fdd2d8"}},Ag4={bashBorder:"#0066cc",claude:"#ff9933",permission:"#3366ff",secondaryBorder:"#999",text:"#000",secondaryText:"#666",suggestion:"#3366ff",success:"#006699",error:"#cc0000",warning:"#ff9900",diff:{added:"#99ccff",removed:"#ffcccc",addedDimmed:"#d1e7fd",removedDimmed:"#ffe9e9"}},Vg4={bashBorder:"#fd5db1",claude:"#D97757",permission:"#b1b9f9",secondaryBorder:"#888",text:"#fff",secondaryText:"#999",suggestion:"#b1b9f9",success:"#4eba65",error:"#ff6b80",warning:"#ffc107",diff:{added:"#225c2b",removed:"#7a2936",addedDimmed:"#47584a",removedDimmed:"#69484d"}},Xg4={bashBorder:"#3399ff",claude:"#ff9933",permission:"#99ccff",secondaryBorder:"#888",text:"#fff",secondaryText:"#999",suggestion:"#99ccff",success:"#3399ff",error:"#ff6666",warning:"#ffcc00",diff:{added:"#004466",removed:"#660000",addedDimmed:"#3e515b",removedDimmed:"#3e2c2c"}};function r1(I){let d=q2();switch(I??d.theme){case"light":return Bg4;case"light-daltonized":return Ag4;case"dark-daltonized":return Xg4;default:return Vg4}}import{readFileSync as _g4,writeFileSync as Dg4}from"fs";import{join as Vk}from"path";var Hg4={type:"local",name:"terminal-setup",userFacingName(){return"terminal-setup"},description:"Install Shift+Enter key binding for newlines (iTerm2 and VSCode only)",isEnabled:l91()==="darwin"&&K2.terminal==="iTerm.app"||K2.terminal==="vscode",isHidden:!1,async call(){let I="";switch(K2.terminal){case"iTerm.app":I=await Fg4();break;case"vscode":I=gg4();break}let d=q2();return d.shiftEnterKeyBindingInstalled=!0,p4(d),zQ(),I}};function Xi1(){return q2().shiftEnterKeyBindingInstalled===!0}var NQ=Hg4;async function Fg4(){let{code:I}=await E5("defaults",["write","com.googlecode.iterm2","GlobalKeyMap","-dict-add","0xd-0x20000-0x24",`<dict>
      <key>Text</key>
      <string>\\n</string>
      <key>Action</key>
      <integer>12</integer>
      <key>Version</key>
      <integer>1</integer>
      <key>Keycode</key>
      <integer>13</integer>
      <key>Modifiers</key>
      <integer>131072</integer>
    </dict>`]);if(I!==0)throw new Error("Failed to install iTerm2 Shift+Enter key binding");return`${c0.hex(r1().success)("Installed iTerm2 Shift+Enter key binding")}${KQ}${c0.dim("See iTerm2 → Preferences → Keys")}${KQ}`}function gg4(){let I=Vk(Yg4(),l91()==="win32"?Vk("AppData","Roaming","Code","User"):l91()==="darwin"?Vk("Library","Application Support","Code","User"):Vk(".config","Code","User"),"keybindings.json");try{let d=_g4(I,"utf-8"),G=tG(d)??[];if(G.find((C)=>C.key==="shift+enter"&&C.command==="workbench.action.terminal.sendSequence"&&C.when==="terminalFocus"))return`${c0.hex(r1().warning)("Found existing VSCode terminal Shift+Enter key binding. Remove it to continue.")}${KQ}${c0.dim(`See ${I}`)}${KQ}`;return G.push({key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:`\\\r
`},when:"terminalFocus"}),Dg4(I,JSON.stringify(G,null,4),"utf-8"),`${c0.hex(r1().success)("Installed VSCode terminal Shift+Enter key binding")}${KQ}${c0.dim(`See ${I}`)}${KQ}`}catch(d){throw X0(d),new Error("Failed to install VSCode terminal Shift+Enter key binding")}}var Xk={"0.1.178":["New release notes now show you what's changed since you last launched"]};var O40=J1(Fk(),1);import{readFileSync as Cb4,writeFileSync as Wb4,openSync as R40,readSync as U40,closeSync as v40,existsSync as wb4,readdirSync as Bb4,opendirSync as Ab4}from"fs";import{isAbsolute as E40,normalize as N40,resolve as SS,resolve as z40,relative as Vb4,sep as Nx,basename as Q40,dirname as Xb4,extname as f40,join as Yb4}from"path";var Oi1=J1(Mi1(),1);var oM=(I)=>{if(typeof I!=="string")throw new TypeError("invalid pattern");if(I.length>65536)throw new TypeError("pattern is too long")};var BJ4={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},eM=(I)=>I.replace(/[[\]\\-]/g,"\\$&"),AJ4=(I)=>I.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Si1=(I)=>I.join(""),Li1=(I,d)=>{let G=d;if(I.charAt(G)!=="[")throw new Error("not in a brace expression");let Z=[],C=[],W=G+1,w=!1,B=!1,A=!1,V=!1,X=G,_="";I:while(W<I.length){let K=I.charAt(W);if((K==="!"||K==="^")&&W===G+1){V=!0,W++;continue}if(K==="]"&&w&&!A){X=W+1;break}if(w=!0,K==="\\"){if(!A){A=!0,W++;continue}}if(K==="["&&!A){for(let[Q,[E,S,P]]of Object.entries(BJ4))if(I.startsWith(Q,W)){if(_)return["$.",!1,I.length-G,!0];if(W+=Q.length,P)C.push(E);else Z.push(E);B=B||S;continue I}}if(A=!1,_){if(K>_)Z.push(eM(_)+"-"+eM(K));else if(K===_)Z.push(eM(K));_="",W++;continue}if(I.startsWith("-]",W+1)){Z.push(eM(K+"-")),W+=2;continue}if(I.startsWith("-",W+1)){_=K,W+=2;continue}Z.push(eM(K)),W++}if(X<W)return["",!1,0,!1];if(!Z.length&&!C.length)return["$.",!1,I.length-G,!0];if(C.length===0&&Z.length===1&&/^\\?.$/.test(Z[0])&&!V){let K=Z[0].length===2?Z[0].slice(-1):Z[0];return[AJ4(K),!1,X-G,!1]}let F="["+(V?"^":"")+Si1(Z)+"]",g="["+(V?"":"^")+Si1(C)+"]";return[Z.length&&C.length?"("+F+"|"+g+")":Z.length?F:g,B,X-G,!0]};var yC=(I,{windowsPathsNoEscape:d=!1}={})=>{return d?I.replace(/\[([^\/\\])\]/g,"$1"):I.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1")};var VJ4=new Set(["!","?","+","*","@"]),yi1=(I)=>VJ4.has(I),XJ4="(?!(?:^|/)\\.\\.?(?:$|/))",gk="(?!\\.)",YJ4=new Set(["[","."]),_J4=new Set(["..","."]),DJ4=new Set("().*{}+?[]^$\\!"),HJ4=(I)=>I.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),r91="[^/]",Pi1=r91+"*?",$i1=r91+"+?";class h8{type;#I;#d;#W=!1;#Z=[];#w;#z;#V;#Y=!1;#B;#A;#C=!1;constructor(I,d,G={}){if(this.type=I,I)this.#d=!0;if(this.#w=d,this.#I=this.#w?this.#w.#I:this,this.#B=this.#I===this?G:this.#I.#B,this.#V=this.#I===this?[]:this.#I.#V,I==="!"&&!this.#I.#Y)this.#V.push(this);this.#z=this.#w?this.#w.#Z.length:0}get hasMagic(){if(this.#d!==void 0)return this.#d;for(let I of this.#Z){if(typeof I==="string")continue;if(I.type||I.hasMagic)return this.#d=!0}return this.#d}toString(){if(this.#A!==void 0)return this.#A;if(!this.type)return this.#A=this.#Z.map((I)=>String(I)).join("");else return this.#A=this.type+"("+this.#Z.map((I)=>String(I)).join("|")+")"}#g(){if(this!==this.#I)throw new Error("should only call on root");if(this.#Y)return this;this.toString(),this.#Y=!0;let I;while(I=this.#V.pop()){if(I.type!=="!")continue;let d=I,G=d.#w;while(G){for(let Z=d.#z+1;!G.type&&Z<G.#Z.length;Z++)for(let C of I.#Z){if(typeof C==="string")throw new Error("string part in extglob AST??");C.copyIn(G.#Z[Z])}d=G,G=d.#w}}return this}push(...I){for(let d of I){if(d==="")continue;if(typeof d!=="string"&&!(d instanceof h8&&d.#w===this))throw new Error("invalid part: "+d);this.#Z.push(d)}}toJSON(){let I=this.type===null?this.#Z.slice().map((d)=>typeof d==="string"?d:d.toJSON()):[this.type,...this.#Z.map((d)=>d.toJSON())];if(this.isStart()&&!this.type)I.unshift([]);if(this.isEnd()&&(this===this.#I||this.#I.#Y&&this.#w?.type==="!"))I.push({});return I}isStart(){if(this.#I===this)return!0;if(!this.#w?.isStart())return!1;if(this.#z===0)return!0;let I=this.#w;for(let d=0;d<this.#z;d++){let G=I.#Z[d];if(!(G instanceof h8&&G.type==="!"))return!1}return!0}isEnd(){if(this.#I===this)return!0;if(this.#w?.type==="!")return!0;if(!this.#w?.isEnd())return!1;if(!this.type)return this.#w?.isEnd();let I=this.#w?this.#w.#Z.length:0;return this.#z===I-1}copyIn(I){if(typeof I==="string")this.push(I);else this.push(I.clone(this))}clone(I){let d=new h8(this.type,I);for(let G of this.#Z)d.copyIn(G);return d}static#J(I,d,G,Z){let C=!1,W=!1,w=-1,B=!1;if(d.type===null){let F=G,g="";while(F<I.length){let J=I.charAt(F++);if(C||J==="\\"){C=!C,g+=J;continue}if(W){if(F===w+1){if(J==="^"||J==="!")B=!0}else if(J==="]"&&!(F===w+2&&B))W=!1;g+=J;continue}else if(J==="["){W=!0,w=F,B=!1,g+=J;continue}if(!Z.noext&&yi1(J)&&I.charAt(F)==="("){d.push(g),g="";let K=new h8(J,d);F=h8.#J(I,K,F,Z),d.push(K);continue}g+=J}return d.push(g),F}let A=G+1,V=new h8(null,d),X=[],_="";while(A<I.length){let F=I.charAt(A++);if(C||F==="\\"){C=!C,_+=F;continue}if(W){if(A===w+1){if(F==="^"||F==="!")B=!0}else if(F==="]"&&!(A===w+2&&B))W=!1;_+=F;continue}else if(F==="["){W=!0,w=A,B=!1,_+=F;continue}if(yi1(F)&&I.charAt(A)==="("){V.push(_),_="";let g=new h8(F,V);V.push(g),A=h8.#J(I,g,A,Z);continue}if(F==="|"){V.push(_),_="",X.push(V),V=new h8(null,d);continue}if(F===")"){if(_===""&&d.#Z.length===0)d.#C=!0;return V.push(_),_="",d.push(...X,V),A}_+=F}return d.type=null,d.#d=void 0,d.#Z=[I.substring(G-1)],A}static fromGlob(I,d={}){let G=new h8(null,void 0,d);return h8.#J(I,G,0,d),G}toMMPattern(){if(this!==this.#I)return this.#I.toMMPattern();let I=this.toString(),[d,G,Z,C]=this.toRegExpSource();if(!(Z||this.#d||this.#B.nocase&&!this.#B.nocaseMagicOnly&&I.toUpperCase()!==I.toLowerCase()))return G;let w=(this.#B.nocase?"i":"")+(C?"u":"");return Object.assign(new RegExp(`^${d}$`,w),{_src:d,_glob:I})}get options(){return this.#B}toRegExpSource(I){let d=I??!!this.#B.dot;if(this.#I===this)this.#g();if(!this.type){let B=this.isStart()&&this.isEnd(),A=this.#Z.map((F)=>{let[g,J,K,Q]=typeof F==="string"?h8.#_(F,this.#d,B):F.toRegExpSource(I);return this.#d=this.#d||K,this.#W=this.#W||Q,g}).join(""),V="";if(this.isStart()){if(typeof this.#Z[0]==="string"){if(!(this.#Z.length===1&&_J4.has(this.#Z[0]))){let g=YJ4,J=d&&g.has(A.charAt(0))||A.startsWith("\\.")&&g.has(A.charAt(2))||A.startsWith("\\.\\.")&&g.has(A.charAt(4)),K=!d&&!I&&g.has(A.charAt(0));V=J?XJ4:K?gk:""}}}let X="";if(this.isEnd()&&this.#I.#Y&&this.#w?.type==="!")X="(?:$|\\/)";return[V+A+X,yC(A),this.#d=!!this.#d,this.#W]}let G=this.type==="*"||this.type==="+",Z=this.type==="!"?"(?:(?!(?:":"(?:",C=this.#D(d);if(this.isStart()&&this.isEnd()&&!C&&this.type!=="!"){let B=this.toString();return this.#Z=[B],this.type=null,this.#d=void 0,[B,yC(this.toString()),!1,!1]}let W=!G||I||d||!gk?"":this.#D(!0);if(W===C)W="";if(W)C=`(?:${C})(?:${W})*?`;let w="";if(this.type==="!"&&this.#C)w=(this.isStart()&&!d?gk:"")+$i1;else{let B=this.type==="!"?"))"+(this.isStart()&&!d&&!I?gk:"")+Pi1+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&W?")":this.type==="*"&&W?")?":`)${this.type}`;w=Z+C+B}return[w,yC(C),this.#d=!!this.#d,this.#W]}#D(I){return this.#Z.map((d)=>{if(typeof d==="string")throw new Error("string type in extglob ast??");let[G,Z,C,W]=d.toRegExpSource(I);return this.#W=this.#W||W,G}).filter((d)=>!(this.isStart()&&this.isEnd())||!!d).join("|")}static#_(I,d,G=!1){let Z=!1,C="",W=!1;for(let w=0;w<I.length;w++){let B=I.charAt(w);if(Z){Z=!1,C+=(DJ4.has(B)?"\\":"")+B;continue}if(B==="\\"){if(w===I.length-1)C+="\\\\";else Z=!0;continue}if(B==="["){let[A,V,X,_]=Li1(I,w);if(X){C+=A,W=W||V,w+=X-1,d=d||_;continue}}if(B==="*"){if(G&&I==="*")C+=$i1;else C+=Pi1;d=!0;continue}if(B==="?"){C+=r91,d=!0;continue}C+=HJ4(B)}return[C,yC(I),!!d,W]}}var qQ=(I,{windowsPathsNoEscape:d=!1}={})=>{return d?I.replace(/[?*()[\]]/g,"[$&]"):I.replace(/[?*()[\]\\]/g,"\\$&")};var ZI=(I,d,G={})=>{if(oM(d),!G.nocomment&&d.charAt(0)==="#")return!1;return new XZ(d,G).match(I)},FJ4=/^\*+([^+@!?\*\[\(]*)$/,gJ4=(I)=>(d)=>!d.startsWith(".")&&d.endsWith(I),JJ4=(I)=>(d)=>d.endsWith(I),KJ4=(I)=>{return I=I.toLowerCase(),(d)=>!d.startsWith(".")&&d.toLowerCase().endsWith(I)},NJ4=(I)=>{return I=I.toLowerCase(),(d)=>d.toLowerCase().endsWith(I)},zJ4=/^\*+\.\*+$/,QJ4=(I)=>!I.startsWith(".")&&I.includes("."),fJ4=(I)=>I!=="."&&I!==".."&&I.includes("."),qJ4=/^\.\*+$/,RJ4=(I)=>I!=="."&&I!==".."&&I.startsWith("."),UJ4=/^\*+$/,vJ4=(I)=>I.length!==0&&!I.startsWith("."),EJ4=(I)=>I.length!==0&&I!=="."&&I!=="..",MJ4=/^\?+([^+@!?\*\[\(]*)?$/,SJ4=([I,d=""])=>{let G=mi1([I]);if(!d)return G;return d=d.toLowerCase(),(Z)=>G(Z)&&Z.toLowerCase().endsWith(d)},LJ4=([I,d=""])=>{let G=li1([I]);if(!d)return G;return d=d.toLowerCase(),(Z)=>G(Z)&&Z.toLowerCase().endsWith(d)},yJ4=([I,d=""])=>{let G=li1([I]);return!d?G:(Z)=>G(Z)&&Z.endsWith(d)},PJ4=([I,d=""])=>{let G=mi1([I]);return!d?G:(Z)=>G(Z)&&Z.endsWith(d)},mi1=([I])=>{let d=I.length;return(G)=>G.length===d&&!G.startsWith(".")},li1=([I])=>{let d=I.length;return(G)=>G.length===d&&G!=="."&&G!==".."},bi1=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",ui1={win32:{sep:"\\"},posix:{sep:"/"}},$J4=bi1==="win32"?ui1.win32.sep:ui1.posix.sep;ZI.sep=$J4;var j8=Symbol("globstar **");ZI.GLOBSTAR=j8;var uJ4="[^/]",TJ4=uJ4+"*?",OJ4="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",mJ4="(?:(?!(?:\\/|^)\\.).)*?",lJ4=(I,d={})=>(G)=>ZI(G,I,d);ZI.filter=lJ4;var VZ=(I,d={})=>Object.assign({},I,d),bJ4=(I)=>{if(!I||typeof I!=="object"||!Object.keys(I).length)return ZI;let d=ZI;return Object.assign((Z,C,W={})=>d(Z,C,VZ(I,W)),{Minimatch:class Z extends d.Minimatch{constructor(C,W={}){super(C,VZ(I,W))}static defaults(C){return d.defaults(VZ(I,C)).Minimatch}},AST:class Z extends d.AST{constructor(C,W,w={}){super(C,W,VZ(I,w))}static fromGlob(C,W={}){return d.AST.fromGlob(C,VZ(I,W))}},unescape:(Z,C={})=>d.unescape(Z,VZ(I,C)),escape:(Z,C={})=>d.escape(Z,VZ(I,C)),filter:(Z,C={})=>d.filter(Z,VZ(I,C)),defaults:(Z)=>d.defaults(VZ(I,Z)),makeRe:(Z,C={})=>d.makeRe(Z,VZ(I,C)),braceExpand:(Z,C={})=>d.braceExpand(Z,VZ(I,C)),match:(Z,C,W={})=>d.match(Z,C,VZ(I,W)),sep:d.sep,GLOBSTAR:j8})};ZI.defaults=bJ4;var hi1=(I,d={})=>{if(oM(I),d.nobrace||!/\{(?:(?!\{).)*\}/.test(I))return[I];return Oi1.default(I)};ZI.braceExpand=hi1;var hJ4=(I,d={})=>new XZ(I,d).makeRe();ZI.makeRe=hJ4;var jJ4=(I,d,G={})=>{let Z=new XZ(d,G);if(I=I.filter((C)=>Z.match(C)),Z.options.nonull&&!I.length)I.push(d);return I};ZI.match=jJ4;var Ti1=/[?*]|[+@!]\(.*?\)|\[|\]/,kJ4=(I)=>I.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class XZ{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(I,d={}){if(oM(I),d=d||{},this.options=d,this.pattern=I,this.platform=d.platform||bi1,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===!1,this.windowsPathsNoEscape)this.pattern=this.pattern.replace(/\\/g,"/");this.preserveMultipleSlashes=!!d.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!d.nonegate,this.comment=!1,this.empty=!1,this.partial=!!d.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=d.windowsNoMagicRoot!==void 0?d.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let I of this.set)for(let d of I)if(typeof d!=="string")return!0;return!1}debug(...I){}make(){let I=this.pattern,d=this.options;if(!d.nocomment&&I.charAt(0)==="#"){this.comment=!0;return}if(!I){this.empty=!0;return}if(this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],d.debug)this.debug=(...C)=>console.error(...C);this.debug(this.pattern,this.globSet);let G=this.globSet.map((C)=>this.slashSplit(C));this.globParts=this.preprocess(G),this.debug(this.pattern,this.globParts);let Z=this.globParts.map((C,W,w)=>{if(this.isWindows&&this.windowsNoMagicRoot){let B=C[0]===""&&C[1]===""&&(C[2]==="?"||!Ti1.test(C[2]))&&!Ti1.test(C[3]),A=/^[a-z]:/i.test(C[0]);if(B)return[...C.slice(0,4),...C.slice(4).map((V)=>this.parse(V))];else if(A)return[C[0],...C.slice(1).map((V)=>this.parse(V))]}return C.map((B)=>this.parse(B))});if(this.debug(this.pattern,Z),this.set=Z.filter((C)=>C.indexOf(!1)===-1),this.isWindows)for(let C=0;C<this.set.length;C++){let W=this.set[C];if(W[0]===""&&W[1]===""&&this.globParts[C][2]==="?"&&typeof W[3]==="string"&&/^[a-z]:$/i.test(W[3]))W[2]="?"}this.debug(this.pattern,this.set)}preprocess(I){if(this.options.noglobstar){for(let G=0;G<I.length;G++)for(let Z=0;Z<I[G].length;Z++)if(I[G][Z]==="**")I[G][Z]="*"}let{optimizationLevel:d=1}=this.options;if(d>=2)I=this.firstPhasePreProcess(I),I=this.secondPhasePreProcess(I);else if(d>=1)I=this.levelOneOptimize(I);else I=this.adjascentGlobstarOptimize(I);return I}adjascentGlobstarOptimize(I){return I.map((d)=>{let G=-1;while((G=d.indexOf("**",G+1))!==-1){let Z=G;while(d[Z+1]==="**")Z++;if(Z!==G)d.splice(G,Z-G)}return d})}levelOneOptimize(I){return I.map((d)=>{return d=d.reduce((G,Z)=>{let C=G[G.length-1];if(Z==="**"&&C==="**")return G;if(Z===".."){if(C&&C!==".."&&C!=="."&&C!=="**")return G.pop(),G}return G.push(Z),G},[]),d.length===0?[""]:d})}levelTwoFileOptimize(I){if(!Array.isArray(I))I=this.slashSplit(I);let d=!1;do{if(d=!1,!this.preserveMultipleSlashes){for(let Z=1;Z<I.length-1;Z++){let C=I[Z];if(Z===1&&C===""&&I[0]==="")continue;if(C==="."||C==="")d=!0,I.splice(Z,1),Z--}if(I[0]==="."&&I.length===2&&(I[1]==="."||I[1]===""))d=!0,I.pop()}let G=0;while((G=I.indexOf("..",G+1))!==-1){let Z=I[G-1];if(Z&&Z!=="."&&Z!==".."&&Z!=="**")d=!0,I.splice(G-1,2),G-=2}}while(d);return I.length===0?[""]:I}firstPhasePreProcess(I){let d=!1;do{d=!1;for(let G of I){let Z=-1;while((Z=G.indexOf("**",Z+1))!==-1){let W=Z;while(G[W+1]==="**")W++;if(W>Z)G.splice(Z+1,W-Z);let w=G[Z+1],B=G[Z+2],A=G[Z+3];if(w!=="..")continue;if(!B||B==="."||B===".."||!A||A==="."||A==="..")continue;d=!0,G.splice(Z,1);let V=G.slice(0);V[Z]="**",I.push(V),Z--}if(!this.preserveMultipleSlashes){for(let W=1;W<G.length-1;W++){let w=G[W];if(W===1&&w===""&&G[0]==="")continue;if(w==="."||w==="")d=!0,G.splice(W,1),W--}if(G[0]==="."&&G.length===2&&(G[1]==="."||G[1]===""))d=!0,G.pop()}let C=0;while((C=G.indexOf("..",C+1))!==-1){let W=G[C-1];if(W&&W!=="."&&W!==".."&&W!=="**"){d=!0;let B=C===1&&G[C+1]==="**"?["."]:[];if(G.splice(C-1,2,...B),G.length===0)G.push("");C-=2}}}}while(d);return I}secondPhasePreProcess(I){for(let d=0;d<I.length-1;d++)for(let G=d+1;G<I.length;G++){let Z=this.partsMatch(I[d],I[G],!this.preserveMultipleSlashes);if(Z){I[d]=[],I[G]=Z;break}}return I.filter((d)=>d.length)}partsMatch(I,d,G=!1){let Z=0,C=0,W=[],w="";while(Z<I.length&&C<d.length)if(I[Z]===d[C])W.push(w==="b"?d[C]:I[Z]),Z++,C++;else if(G&&I[Z]==="**"&&d[C]===I[Z+1])W.push(I[Z]),Z++;else if(G&&d[C]==="**"&&I[Z]===d[C+1])W.push(d[C]),C++;else if(I[Z]==="*"&&d[C]&&(this.options.dot||!d[C].startsWith("."))&&d[C]!=="**"){if(w==="b")return!1;w="a",W.push(I[Z]),Z++,C++}else if(d[C]==="*"&&I[Z]&&(this.options.dot||!I[Z].startsWith("."))&&I[Z]!=="**"){if(w==="a")return!1;w="b",W.push(d[C]),Z++,C++}else return!1;return I.length===d.length&&W}parseNegate(){if(this.nonegate)return;let I=this.pattern,d=!1,G=0;for(let Z=0;Z<I.length&&I.charAt(Z)==="!";Z++)d=!d,G++;if(G)this.pattern=I.slice(G);this.negate=d}matchOne(I,d,G=!1){let Z=this.options;if(this.isWindows){let J=typeof I[0]==="string"&&/^[a-z]:$/i.test(I[0]),K=!J&&I[0]===""&&I[1]===""&&I[2]==="?"&&/^[a-z]:$/i.test(I[3]),Q=typeof d[0]==="string"&&/^[a-z]:$/i.test(d[0]),E=!Q&&d[0]===""&&d[1]===""&&d[2]==="?"&&typeof d[3]==="string"&&/^[a-z]:$/i.test(d[3]),S=K?3:J?0:void 0,P=E?3:Q?0:void 0;if(typeof S==="number"&&typeof P==="number"){let[$,h]=[I[S],d[P]];if($.toLowerCase()===h.toLowerCase()){if(d[P]=$,P>S)d=d.slice(P);else if(S>P)I=I.slice(S)}}}let{optimizationLevel:C=1}=this.options;if(C>=2)I=this.levelTwoFileOptimize(I);this.debug("matchOne",this,{file:I,pattern:d}),this.debug("matchOne",I.length,d.length);for(var W=0,w=0,B=I.length,A=d.length;W<B&&w<A;W++,w++){this.debug("matchOne loop");var V=d[w],X=I[W];if(this.debug(d,V,X),V===!1)return!1;if(V===j8){this.debug("GLOBSTAR",[d,V,X]);var _=W,F=w+1;if(F===A){this.debug("** at the end");for(;W<B;W++)if(I[W]==="."||I[W]===".."||!Z.dot&&I[W].charAt(0)===".")return!1;return!0}while(_<B){var g=I[_];if(this.debug(`
globstar while`,I,_,d,F,g),this.matchOne(I.slice(_),d.slice(F),G))return this.debug("globstar found match!",_,B,g),!0;else{if(g==="."||g===".."||!Z.dot&&g.charAt(0)==="."){this.debug("dot detected!",I,_,d,F);break}this.debug("globstar swallow a segment, and continue"),_++}}if(G){if(this.debug(`
>>> no match, partial?`,I,_,d,F),_===B)return!0}return!1}let J;if(typeof V==="string")J=X===V,this.debug("string match",V,X,J);else J=V.test(X),this.debug("pattern match",V,X,J);if(!J)return!1}if(W===B&&w===A)return!0;else if(W===B)return G;else if(w===A)return W===B-1&&I[W]==="";else throw new Error("wtf?")}braceExpand(){return hi1(this.pattern,this.options)}parse(I){oM(I);let d=this.options;if(I==="**")return j8;if(I==="")return"";let G,Z=null;if(G=I.match(UJ4))Z=d.dot?EJ4:vJ4;else if(G=I.match(FJ4))Z=(d.nocase?d.dot?NJ4:KJ4:d.dot?JJ4:gJ4)(G[1]);else if(G=I.match(MJ4))Z=(d.nocase?d.dot?LJ4:SJ4:d.dot?yJ4:PJ4)(G);else if(G=I.match(zJ4))Z=d.dot?fJ4:QJ4;else if(G=I.match(qJ4))Z=RJ4;let C=h8.fromGlob(I,this.options).toMMPattern();if(Z&&typeof C==="object")Reflect.defineProperty(C,"test",{value:Z});return C}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let I=this.set;if(!I.length)return this.regexp=!1,this.regexp;let d=this.options,G=d.noglobstar?TJ4:d.dot?OJ4:mJ4,Z=new Set(d.nocase?["i"]:[]),C=I.map((B)=>{let A=B.map((V)=>{if(V instanceof RegExp)for(let X of V.flags.split(""))Z.add(X);return typeof V==="string"?kJ4(V):V===j8?j8:V._src});return A.forEach((V,X)=>{let _=A[X+1],F=A[X-1];if(V!==j8||F===j8)return;if(F===void 0)if(_!==void 0&&_!==j8)A[X+1]="(?:\\/|"+G+"\\/)?"+_;else A[X]=G;else if(_===void 0)A[X-1]=F+"(?:\\/|"+G+")?";else if(_!==j8)A[X-1]=F+"(?:\\/|\\/"+G+"\\/)"+_,A[X+1]=j8}),A.filter((V)=>V!==j8).join("/")}).join("|"),[W,w]=I.length>1?["(?:",")"]:["",""];if(C="^"+W+C+w+"$",this.negate)C="^(?!"+C+").+$";try{this.regexp=new RegExp(C,[...Z].join(""))}catch(B){this.regexp=!1}return this.regexp}slashSplit(I){if(this.preserveMultipleSlashes)return I.split("/");else if(this.isWindows&&/^\/\/[^\/]+/.test(I))return["",...I.split(/\/+/)];else return I.split(/\/+/)}match(I,d=this.partial){if(this.debug("match",I,this.pattern),this.comment)return!1;if(this.empty)return I==="";if(I==="/"&&d)return!0;let G=this.options;if(this.isWindows)I=I.split("\\").join("/");let Z=this.slashSplit(I);this.debug(this.pattern,"split",Z);let C=this.set;this.debug(this.pattern,"set",C);let W=Z[Z.length-1];if(!W)for(let w=Z.length-2;!W&&w>=0;w--)W=Z[w];for(let w=0;w<C.length;w++){let B=C[w],A=Z;if(G.matchBase&&B.length===1)A=[W];if(this.matchOne(A,B,d)){if(G.flipNegate)return!0;return!this.negate}}if(G.flipNegate)return!1;return this.negate}static defaults(I){return ZI.defaults(I).Minimatch}}ZI.AST=h8;ZI.Minimatch=XZ;ZI.escape=qQ;ZI.unescape=yC;import{fileURLToPath as zK4}from"node:url";var RQ=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date,ki1=new Set,a91=typeof process==="object"&&!!process?process:{},xi1=(I,d,G,Z)=>{typeof a91.emitWarning==="function"?a91.emitWarning(I,d,G,Z):console.error(`[${G}] ${d}: ${I}`)},Jk=globalThis.AbortController,ji1=globalThis.AbortSignal;if(typeof Jk==="undefined"){ji1=class G{onabort;_onabort=[];reason;aborted=!1;addEventListener(Z,C){this._onabort.push(C)}},Jk=class G{constructor(){d()}signal=new ji1;abort(Z){if(this.signal.aborted)return;this.signal.reason=Z,this.signal.aborted=!0;for(let C of this.signal._onabort)C(Z);this.signal.onabort?.(Z)}};let I=a91.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",d=()=>{if(!I)return;I=!1,xi1("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",d)}}var xJ4=(I)=>!ki1.has(I),Bm9=Symbol("type"),iY=(I)=>I&&I===Math.floor(I)&&I>0&&isFinite(I),ci1=(I)=>!iY(I)?null:I<=Math.pow(2,8)?Uint8Array:I<=Math.pow(2,16)?Uint16Array:I<=Math.pow(2,32)?Uint32Array:I<=Number.MAX_SAFE_INTEGER?tM:null;class tM extends Array{constructor(I){super(I);this.fill(0)}}class UQ{heap;length;static#I=!1;static create(I){let d=ci1(I);if(!d)return[];UQ.#I=!0;let G=new UQ(I,d);return UQ.#I=!1,G}constructor(I,d){if(!UQ.#I)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new d(I),this.length=0}push(I){this.heap[this.length++]=I}pop(){return this.heap[--this.length]}}class ZV{#I;#d;#W;#Z;#w;#z;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#V;#Y;#B;#A;#C;#g;#J;#D;#_;#q;#F;#R;#U;#N;#Q;#f;#H;static unsafeExposeInternals(I){return{starts:I.#U,ttls:I.#N,sizes:I.#R,keyMap:I.#B,keyList:I.#A,valList:I.#C,next:I.#g,prev:I.#J,get head(){return I.#D},get tail(){return I.#_},free:I.#q,isBackgroundFetch:(d)=>I.#X(d),backgroundFetch:(d,G,Z,C)=>I.#l(d,G,Z,C),moveToTail:(d)=>I.#h(d),indexes:(d)=>I.#E(d),rindexes:(d)=>I.#M(d),isStale:(d)=>I.#K(d)}}get max(){return this.#I}get maxSize(){return this.#d}get calculatedSize(){return this.#Y}get size(){return this.#V}get fetchMethod(){return this.#w}get memoMethod(){return this.#z}get dispose(){return this.#W}get disposeAfter(){return this.#Z}constructor(I){let{max:d=0,ttl:G,ttlResolution:Z=1,ttlAutopurge:C,updateAgeOnGet:W,updateAgeOnHas:w,allowStale:B,dispose:A,disposeAfter:V,noDisposeOnSet:X,noUpdateTTL:_,maxSize:F=0,maxEntrySize:g=0,sizeCalculation:J,fetchMethod:K,memoMethod:Q,noDeleteOnFetchRejection:E,noDeleteOnStaleGet:S,allowStaleOnFetchRejection:P,allowStaleOnFetchAbort:$,ignoreFetchAbort:h}=I;if(d!==0&&!iY(d))throw new TypeError("max option must be a nonnegative integer");let O=d?ci1(d):Array;if(!O)throw new Error("invalid max value: "+d);if(this.#I=d,this.#d=F,this.maxEntrySize=g||this.#d,this.sizeCalculation=J,this.sizeCalculation){if(!this.#d&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!=="function")throw new TypeError("sizeCalculation set to non-function")}if(Q!==void 0&&typeof Q!=="function")throw new TypeError("memoMethod must be a function if defined");if(this.#z=Q,K!==void 0&&typeof K!=="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#w=K,this.#f=!!K,this.#B=new Map,this.#A=new Array(d).fill(void 0),this.#C=new Array(d).fill(void 0),this.#g=new O(d),this.#J=new O(d),this.#D=0,this.#_=0,this.#q=UQ.create(d),this.#V=0,this.#Y=0,typeof A==="function")this.#W=A;if(typeof V==="function")this.#Z=V,this.#F=[];else this.#Z=void 0,this.#F=void 0;if(this.#Q=!!this.#W,this.#H=!!this.#Z,this.noDisposeOnSet=!!X,this.noUpdateTTL=!!_,this.noDeleteOnFetchRejection=!!E,this.allowStaleOnFetchRejection=!!P,this.allowStaleOnFetchAbort=!!$,this.ignoreFetchAbort=!!h,this.maxEntrySize!==0){if(this.#d!==0){if(!iY(this.#d))throw new TypeError("maxSize must be a positive integer if specified")}if(!iY(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#L()}if(this.allowStale=!!B,this.noDeleteOnStaleGet=!!S,this.updateAgeOnGet=!!W,this.updateAgeOnHas=!!w,this.ttlResolution=iY(Z)||Z===0?Z:1,this.ttlAutopurge=!!C,this.ttl=G||0,this.ttl){if(!iY(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#S()}if(this.#I===0&&this.ttl===0&&this.#d===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#I&&!this.#d){if(xJ4("LRU_CACHE_UNBOUNDED"))ki1.add("LRU_CACHE_UNBOUNDED"),xi1("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning","LRU_CACHE_UNBOUNDED",ZV)}}getRemainingTTL(I){return this.#B.has(I)?1/0:0}#S(){let I=new tM(this.#I),d=new tM(this.#I);this.#N=I,this.#U=d,this.#P=(C,W,w=RQ.now())=>{if(d[C]=W!==0?w:0,I[C]=W,W!==0&&this.ttlAutopurge){let B=setTimeout(()=>{if(this.#K(C))this.#y(this.#A[C],"expire")},W+1);if(B.unref)B.unref()}},this.#v=(C)=>{d[C]=I[C]!==0?RQ.now():0},this.#G=(C,W)=>{if(I[W]){let w=I[W],B=d[W];if(!w||!B)return;C.ttl=w,C.start=B,C.now=G||Z();let A=C.now-B;C.remainingTTL=w-A}};let G=0,Z=()=>{let C=RQ.now();if(this.ttlResolution>0){G=C;let W=setTimeout(()=>G=0,this.ttlResolution);if(W.unref)W.unref()}return C};this.getRemainingTTL=(C)=>{let W=this.#B.get(C);if(W===void 0)return 0;let w=I[W],B=d[W];if(!w||!B)return 1/0;let A=(G||Z())-B;return w-A},this.#K=(C)=>{let W=d[C],w=I[C];return!!w&&!!W&&(G||Z())-W>w}}#v=()=>{};#G=()=>{};#P=()=>{};#K=()=>!1;#L(){let I=new tM(this.#I);this.#Y=0,this.#R=I,this.#$=(d)=>{this.#Y-=I[d],I[d]=0},this.#T=(d,G,Z,C)=>{if(this.#X(G))return 0;if(!iY(Z))if(C){if(typeof C!=="function")throw new TypeError("sizeCalculation must be a function");if(Z=C(G,d),!iY(Z))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return Z},this.#u=(d,G,Z)=>{if(I[d]=G,this.#d){let C=this.#d-I[d];while(this.#Y>C)this.#m(!0)}if(this.#Y+=I[d],Z)Z.entrySize=G,Z.totalCalculatedSize=this.#Y}}#$=(I)=>{};#u=(I,d,G)=>{};#T=(I,d,G,Z)=>{if(G||Z)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#E({allowStale:I=this.allowStale}={}){if(this.#V)for(let d=this.#_;;){if(!this.#O(d))break;if(I||!this.#K(d))yield d;if(d===this.#D)break;else d=this.#J[d]}}*#M({allowStale:I=this.allowStale}={}){if(this.#V)for(let d=this.#D;;){if(!this.#O(d))break;if(I||!this.#K(d))yield d;if(d===this.#_)break;else d=this.#g[d]}}#O(I){return I!==void 0&&this.#B.get(this.#A[I])===I}*entries(){for(let I of this.#E())if(this.#C[I]!==void 0&&this.#A[I]!==void 0&&!this.#X(this.#C[I]))yield[this.#A[I],this.#C[I]]}*rentries(){for(let I of this.#M())if(this.#C[I]!==void 0&&this.#A[I]!==void 0&&!this.#X(this.#C[I]))yield[this.#A[I],this.#C[I]]}*keys(){for(let I of this.#E()){let d=this.#A[I];if(d!==void 0&&!this.#X(this.#C[I]))yield d}}*rkeys(){for(let I of this.#M()){let d=this.#A[I];if(d!==void 0&&!this.#X(this.#C[I]))yield d}}*values(){for(let I of this.#E())if(this.#C[I]!==void 0&&!this.#X(this.#C[I]))yield this.#C[I]}*rvalues(){for(let I of this.#M())if(this.#C[I]!==void 0&&!this.#X(this.#C[I]))yield this.#C[I]}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(I,d={}){for(let G of this.#E()){let Z=this.#C[G],C=this.#X(Z)?Z.__staleWhileFetching:Z;if(C===void 0)continue;if(I(C,this.#A[G],this))return this.get(this.#A[G],d)}}forEach(I,d=this){for(let G of this.#E()){let Z=this.#C[G],C=this.#X(Z)?Z.__staleWhileFetching:Z;if(C===void 0)continue;I.call(d,C,this.#A[G],this)}}rforEach(I,d=this){for(let G of this.#M()){let Z=this.#C[G],C=this.#X(Z)?Z.__staleWhileFetching:Z;if(C===void 0)continue;I.call(d,C,this.#A[G],this)}}purgeStale(){let I=!1;for(let d of this.#M({allowStale:!0}))if(this.#K(d))this.#y(this.#A[d],"expire"),I=!0;return I}info(I){let d=this.#B.get(I);if(d===void 0)return;let G=this.#C[d],Z=this.#X(G)?G.__staleWhileFetching:G;if(Z===void 0)return;let C={value:Z};if(this.#N&&this.#U){let W=this.#N[d],w=this.#U[d];if(W&&w){let B=W-(RQ.now()-w);C.ttl=B,C.start=Date.now()}}if(this.#R)C.size=this.#R[d];return C}dump(){let I=[];for(let d of this.#E({allowStale:!0})){let G=this.#A[d],Z=this.#C[d],C=this.#X(Z)?Z.__staleWhileFetching:Z;if(C===void 0||G===void 0)continue;let W={value:C};if(this.#N&&this.#U){W.ttl=this.#N[d];let w=RQ.now()-this.#U[d];W.start=Math.floor(Date.now()-w)}if(this.#R)W.size=this.#R[d];I.unshift([G,W])}return I}load(I){this.clear();for(let[d,G]of I){if(G.start){let Z=Date.now()-G.start;G.start=RQ.now()-Z}this.set(d,G.value,G)}}set(I,d,G={}){if(d===void 0)return this.delete(I),this;let{ttl:Z=this.ttl,start:C,noDisposeOnSet:W=this.noDisposeOnSet,sizeCalculation:w=this.sizeCalculation,status:B}=G,{noUpdateTTL:A=this.noUpdateTTL}=G,V=this.#T(I,d,G.size||0,w);if(this.maxEntrySize&&V>this.maxEntrySize){if(B)B.set="miss",B.maxEntrySizeExceeded=!0;return this.#y(I,"set"),this}let X=this.#V===0?void 0:this.#B.get(I);if(X===void 0){if(X=this.#V===0?this.#_:this.#q.length!==0?this.#q.pop():this.#V===this.#I?this.#m(!1):this.#V,this.#A[X]=I,this.#C[X]=d,this.#B.set(I,X),this.#g[this.#_]=X,this.#J[X]=this.#_,this.#_=X,this.#V++,this.#u(X,V,B),B)B.set="add";A=!1}else{this.#h(X);let _=this.#C[X];if(d!==_){if(this.#f&&this.#X(_)){_.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:F}=_;if(F!==void 0&&!W){if(this.#Q)this.#W?.(F,I,"set");if(this.#H)this.#F?.push([F,I,"set"])}}else if(!W){if(this.#Q)this.#W?.(_,I,"set");if(this.#H)this.#F?.push([_,I,"set"])}if(this.#$(X),this.#u(X,V,B),this.#C[X]=d,B){B.set="replace";let F=_&&this.#X(_)?_.__staleWhileFetching:_;if(F!==void 0)B.oldValue=F}}else if(B)B.set="update"}if(Z!==0&&!this.#N)this.#S();if(this.#N){if(!A)this.#P(X,Z,C);if(B)this.#G(B,X)}if(!W&&this.#H&&this.#F){let _=this.#F,F;while(F=_?.shift())this.#Z?.(...F)}return this}pop(){try{while(this.#V){let I=this.#C[this.#D];if(this.#m(!0),this.#X(I)){if(I.__staleWhileFetching)return I.__staleWhileFetching}else if(I!==void 0)return I}}finally{if(this.#H&&this.#F){let I=this.#F,d;while(d=I?.shift())this.#Z?.(...d)}}}#m(I){let d=this.#D,G=this.#A[d],Z=this.#C[d];if(this.#f&&this.#X(Z))Z.__abortController.abort(new Error("evicted"));else if(this.#Q||this.#H){if(this.#Q)this.#W?.(Z,G,"evict");if(this.#H)this.#F?.push([Z,G,"evict"])}if(this.#$(d),I)this.#A[d]=void 0,this.#C[d]=void 0,this.#q.push(d);if(this.#V===1)this.#D=this.#_=0,this.#q.length=0;else this.#D=this.#g[d];return this.#B.delete(G),this.#V--,d}has(I,d={}){let{updateAgeOnHas:G=this.updateAgeOnHas,status:Z}=d,C=this.#B.get(I);if(C!==void 0){let W=this.#C[C];if(this.#X(W)&&W.__staleWhileFetching===void 0)return!1;if(!this.#K(C)){if(G)this.#v(C);if(Z)Z.has="hit",this.#G(Z,C);return!0}else if(Z)Z.has="stale",this.#G(Z,C)}else if(Z)Z.has="miss";return!1}peek(I,d={}){let{allowStale:G=this.allowStale}=d,Z=this.#B.get(I);if(Z===void 0||!G&&this.#K(Z))return;let C=this.#C[Z];return this.#X(C)?C.__staleWhileFetching:C}#l(I,d,G,Z){let C=d===void 0?void 0:this.#C[d];if(this.#X(C))return C;let W=new Jk,{signal:w}=G;w?.addEventListener("abort",()=>W.abort(w.reason),{signal:W.signal});let B={signal:W.signal,options:G,context:Z},A=(J,K=!1)=>{let{aborted:Q}=W.signal,E=G.ignoreFetchAbort&&J!==void 0;if(G.status)if(Q&&!K){if(G.status.fetchAborted=!0,G.status.fetchError=W.signal.reason,E)G.status.fetchAbortIgnored=!0}else G.status.fetchResolved=!0;if(Q&&!E&&!K)return X(W.signal.reason);let S=F;if(this.#C[d]===F)if(J===void 0)if(S.__staleWhileFetching)this.#C[d]=S.__staleWhileFetching;else this.#y(I,"fetch");else{if(G.status)G.status.fetchUpdated=!0;this.set(I,J,B.options)}return J},V=(J)=>{if(G.status)G.status.fetchRejected=!0,G.status.fetchError=J;return X(J)},X=(J)=>{let{aborted:K}=W.signal,Q=K&&G.allowStaleOnFetchAbort,E=Q||G.allowStaleOnFetchRejection,S=E||G.noDeleteOnFetchRejection,P=F;if(this.#C[d]===F){if(!S||P.__staleWhileFetching===void 0)this.#y(I,"fetch");else if(!Q)this.#C[d]=P.__staleWhileFetching}if(E){if(G.status&&P.__staleWhileFetching!==void 0)G.status.returnedStale=!0;return P.__staleWhileFetching}else if(P.__returned===P)throw J},_=(J,K)=>{let Q=this.#w?.(I,C,B);if(Q&&Q instanceof Promise)Q.then((E)=>J(E===void 0?void 0:E),K);W.signal.addEventListener("abort",()=>{if(!G.ignoreFetchAbort||G.allowStaleOnFetchAbort){if(J(void 0),G.allowStaleOnFetchAbort)J=(E)=>A(E,!0)}})};if(G.status)G.status.fetchDispatched=!0;let F=new Promise(_).then(A,V),g=Object.assign(F,{__abortController:W,__staleWhileFetching:C,__returned:void 0});if(d===void 0)this.set(I,g,{...B.options,status:void 0}),d=this.#B.get(I);else this.#C[d]=g;return g}#X(I){if(!this.#f)return!1;let d=I;return!!d&&d instanceof Promise&&d.hasOwnProperty("__staleWhileFetching")&&d.__abortController instanceof Jk}async fetch(I,d={}){let{allowStale:G=this.allowStale,updateAgeOnGet:Z=this.updateAgeOnGet,noDeleteOnStaleGet:C=this.noDeleteOnStaleGet,ttl:W=this.ttl,noDisposeOnSet:w=this.noDisposeOnSet,size:B=0,sizeCalculation:A=this.sizeCalculation,noUpdateTTL:V=this.noUpdateTTL,noDeleteOnFetchRejection:X=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:_=this.allowStaleOnFetchRejection,ignoreFetchAbort:F=this.ignoreFetchAbort,allowStaleOnFetchAbort:g=this.allowStaleOnFetchAbort,context:J,forceRefresh:K=!1,status:Q,signal:E}=d;if(!this.#f){if(Q)Q.fetch="get";return this.get(I,{allowStale:G,updateAgeOnGet:Z,noDeleteOnStaleGet:C,status:Q})}let S={allowStale:G,updateAgeOnGet:Z,noDeleteOnStaleGet:C,ttl:W,noDisposeOnSet:w,size:B,sizeCalculation:A,noUpdateTTL:V,noDeleteOnFetchRejection:X,allowStaleOnFetchRejection:_,allowStaleOnFetchAbort:g,ignoreFetchAbort:F,status:Q,signal:E},P=this.#B.get(I);if(P===void 0){if(Q)Q.fetch="miss";let $=this.#l(I,P,S,J);return $.__returned=$}else{let $=this.#C[P];if(this.#X($)){let c=G&&$.__staleWhileFetching!==void 0;if(Q){if(Q.fetch="inflight",c)Q.returnedStale=!0}return c?$.__staleWhileFetching:$.__returned=$}let h=this.#K(P);if(!K&&!h){if(Q)Q.fetch="hit";if(this.#h(P),Z)this.#v(P);if(Q)this.#G(Q,P);return $}let O=this.#l(I,P,S,J),V1=O.__staleWhileFetching!==void 0&&G;if(Q){if(Q.fetch=h?"stale":"refresh",V1&&h)Q.returnedStale=!0}return V1?O.__staleWhileFetching:O.__returned=O}}async forceFetch(I,d={}){let G=await this.fetch(I,d);if(G===void 0)throw new Error("fetch() returned undefined");return G}memo(I,d={}){let G=this.#z;if(!G)throw new Error("no memoMethod provided to constructor");let{context:Z,forceRefresh:C,...W}=d,w=this.get(I,W);if(!C&&w!==void 0)return w;let B=G(I,w,{options:W,context:Z});return this.set(I,B,W),B}get(I,d={}){let{allowStale:G=this.allowStale,updateAgeOnGet:Z=this.updateAgeOnGet,noDeleteOnStaleGet:C=this.noDeleteOnStaleGet,status:W}=d,w=this.#B.get(I);if(w!==void 0){let B=this.#C[w],A=this.#X(B);if(W)this.#G(W,w);if(this.#K(w)){if(W)W.get="stale";if(!A){if(!C)this.#y(I,"expire");if(W&&G)W.returnedStale=!0;return G?B:void 0}else{if(W&&G&&B.__staleWhileFetching!==void 0)W.returnedStale=!0;return G?B.__staleWhileFetching:void 0}}else{if(W)W.get="hit";if(A)return B.__staleWhileFetching;if(this.#h(w),Z)this.#v(w);return B}}else if(W)W.get="miss"}#b(I,d){this.#J[d]=I,this.#g[I]=d}#h(I){if(I!==this.#_){if(I===this.#D)this.#D=this.#g[I];else this.#b(this.#J[I],this.#g[I]);this.#b(this.#_,I),this.#_=I}}delete(I){return this.#y(I,"delete")}#y(I,d){let G=!1;if(this.#V!==0){let Z=this.#B.get(I);if(Z!==void 0)if(G=!0,this.#V===1)this.#j(d);else{this.#$(Z);let C=this.#C[Z];if(this.#X(C))C.__abortController.abort(new Error("deleted"));else if(this.#Q||this.#H){if(this.#Q)this.#W?.(C,I,d);if(this.#H)this.#F?.push([C,I,d])}if(this.#B.delete(I),this.#A[Z]=void 0,this.#C[Z]=void 0,Z===this.#_)this.#_=this.#J[Z];else if(Z===this.#D)this.#D=this.#g[Z];else{let W=this.#J[Z];this.#g[W]=this.#g[Z];let w=this.#g[Z];this.#J[w]=this.#J[Z]}this.#V--,this.#q.push(Z)}}if(this.#H&&this.#F?.length){let Z=this.#F,C;while(C=Z?.shift())this.#Z?.(...C)}return G}clear(){return this.#j("delete")}#j(I){for(let d of this.#M({allowStale:!0})){let G=this.#C[d];if(this.#X(G))G.__abortController.abort(new Error("deleted"));else{let Z=this.#A[d];if(this.#Q)this.#W?.(G,Z,I);if(this.#H)this.#F?.push([G,Z,I])}}if(this.#B.clear(),this.#C.fill(void 0),this.#A.fill(void 0),this.#N&&this.#U)this.#N.fill(0),this.#U.fill(0);if(this.#R)this.#R.fill(0);if(this.#D=0,this.#_=0,this.#q.length=0,this.#Y=0,this.#V=0,this.#H&&this.#F){let d=this.#F,G;while(G=d?.shift())this.#Z?.(...G)}}}import{posix as IK4,win32 as W31}from"node:path";import{fileURLToPath as dK4}from"node:url";import{lstatSync as GK4,readdir as ZK4,readdirSync as CK4,readlinkSync as WK4,realpathSync as wK4}from"fs";import*as BK4 from"node:fs";import{lstat as VK4,readdir as XK4,readlink as YK4,realpath as _K4}from"node:fs/promises";import{EventEmitter as d31}from"node:events";import ai1 from"node:stream";import{StringDecoder as cJ4}from"node:string_decoder";var pi1=typeof process==="object"&&process?process:{stdout:null,stderr:null},pJ4=(I)=>!!I&&typeof I==="object"&&(I instanceof qg||I instanceof ai1||iJ4(I)||nJ4(I)),iJ4=(I)=>!!I&&typeof I==="object"&&I instanceof d31&&typeof I.pipe==="function"&&I.pipe!==ai1.Writable.prototype.pipe,nJ4=(I)=>!!I&&typeof I==="object"&&I instanceof d31&&typeof I.write==="function"&&typeof I.end==="function",CV=Symbol("EOF"),WV=Symbol("maybeEmitEnd"),nY=Symbol("emittedEnd"),Kk=Symbol("emittingEnd"),IS=Symbol("emittedError"),Nk=Symbol("closed"),ii1=Symbol("read"),zk=Symbol("flush"),ni1=Symbol("flushChunk"),PC=Symbol("encoding"),vQ=Symbol("decoder"),D8=Symbol("flowing"),dS=Symbol("paused"),EQ=Symbol("resume"),H8=Symbol("buffer"),CI=Symbol("pipes"),F8=Symbol("bufferLength"),s91=Symbol("bufferPush"),Qk=Symbol("bufferShift"),M7=Symbol("objectMode"),W6=Symbol("destroyed"),o91=Symbol("error"),e91=Symbol("emitData"),ri1=Symbol("emitEnd"),t91=Symbol("emitEnd2"),bw=Symbol("async"),I31=Symbol("abort"),fk=Symbol("aborted"),GS=Symbol("signal"),fg=Symbol("dataListeners"),sd=Symbol("discarded"),ZS=(I)=>Promise.resolve().then(I),rJ4=(I)=>I(),aJ4=(I)=>I==="end"||I==="finish"||I==="prefinish",sJ4=(I)=>I instanceof ArrayBuffer||!!I&&typeof I==="object"&&I.constructor&&I.constructor.name==="ArrayBuffer"&&I.byteLength>=0,oJ4=(I)=>!Buffer.isBuffer(I)&&ArrayBuffer.isView(I);class G31{src;dest;opts;ondrain;constructor(I,d,G){this.src=I,this.dest=d,this.opts=G,this.ondrain=()=>I[EQ](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(I){}end(){if(this.unpipe(),this.opts.end)this.dest.end()}}class si1 extends G31{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(I,d,G){super(I,d,G);this.proxyErrors=(Z)=>d.emit("error",Z),I.on("error",this.proxyErrors)}}var eJ4=(I)=>!!I.objectMode,tJ4=(I)=>!I.objectMode&&!!I.encoding&&I.encoding!=="buffer";class qg extends d31{[D8]=!1;[dS]=!1;[CI]=[];[H8]=[];[M7];[PC];[bw];[vQ];[CV]=!1;[nY]=!1;[Kk]=!1;[Nk]=!1;[IS]=null;[F8]=0;[W6]=!1;[GS];[fk]=!1;[fg]=0;[sd]=!1;writable=!0;readable=!0;constructor(...I){let d=I[0]||{};super();if(d.objectMode&&typeof d.encoding==="string")throw new TypeError("Encoding and objectMode may not be used together");if(eJ4(d))this[M7]=!0,this[PC]=null;else if(tJ4(d))this[PC]=d.encoding,this[M7]=!1;else this[M7]=!1,this[PC]=null;if(this[bw]=!!d.async,this[vQ]=this[PC]?new cJ4(this[PC]):null,d&&d.debugExposeBuffer===!0)Object.defineProperty(this,"buffer",{get:()=>this[H8]});if(d&&d.debugExposePipes===!0)Object.defineProperty(this,"pipes",{get:()=>this[CI]});let{signal:G}=d;if(G)if(this[GS]=G,G.aborted)this[I31]();else G.addEventListener("abort",()=>this[I31]())}get bufferLength(){return this[F8]}get encoding(){return this[PC]}set encoding(I){throw new Error("Encoding must be set at instantiation time")}setEncoding(I){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[M7]}set objectMode(I){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[bw]}set["async"](I){this[bw]=this[bw]||!!I}[I31](){this[fk]=!0,this.emit("abort",this[GS]?.reason),this.destroy(this[GS]?.reason)}get aborted(){return this[fk]}set aborted(I){}write(I,d,G){if(this[fk])return!1;if(this[CV])throw new Error("write after end");if(this[W6])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;if(typeof d==="function")G=d,d="utf8";if(!d)d="utf8";let Z=this[bw]?ZS:rJ4;if(!this[M7]&&!Buffer.isBuffer(I)){if(oJ4(I))I=Buffer.from(I.buffer,I.byteOffset,I.byteLength);else if(sJ4(I))I=Buffer.from(I);else if(typeof I!=="string")throw new Error("Non-contiguous data written to non-objectMode stream")}if(this[M7]){if(this[D8]&&this[F8]!==0)this[zk](!0);if(this[D8])this.emit("data",I);else this[s91](I);if(this[F8]!==0)this.emit("readable");if(G)Z(G);return this[D8]}if(!I.length){if(this[F8]!==0)this.emit("readable");if(G)Z(G);return this[D8]}if(typeof I==="string"&&!(d===this[PC]&&!this[vQ]?.lastNeed))I=Buffer.from(I,d);if(Buffer.isBuffer(I)&&this[PC])I=this[vQ].write(I);if(this[D8]&&this[F8]!==0)this[zk](!0);if(this[D8])this.emit("data",I);else this[s91](I);if(this[F8]!==0)this.emit("readable");if(G)Z(G);return this[D8]}read(I){if(this[W6])return null;if(this[sd]=!1,this[F8]===0||I===0||I&&I>this[F8])return this[WV](),null;if(this[M7])I=null;if(this[H8].length>1&&!this[M7])this[H8]=[this[PC]?this[H8].join(""):Buffer.concat(this[H8],this[F8])];let d=this[ii1](I||null,this[H8][0]);return this[WV](),d}[ii1](I,d){if(this[M7])this[Qk]();else{let G=d;if(I===G.length||I===null)this[Qk]();else if(typeof G==="string")this[H8][0]=G.slice(I),d=G.slice(0,I),this[F8]-=I;else this[H8][0]=G.subarray(I),d=G.subarray(0,I),this[F8]-=I}if(this.emit("data",d),!this[H8].length&&!this[CV])this.emit("drain");return d}end(I,d,G){if(typeof I==="function")G=I,I=void 0;if(typeof d==="function")G=d,d="utf8";if(I!==void 0)this.write(I,d);if(G)this.once("end",G);if(this[CV]=!0,this.writable=!1,this[D8]||!this[dS])this[WV]();return this}[EQ](){if(this[W6])return;if(!this[fg]&&!this[CI].length)this[sd]=!0;if(this[dS]=!1,this[D8]=!0,this.emit("resume"),this[H8].length)this[zk]();else if(this[CV])this[WV]();else this.emit("drain")}resume(){return this[EQ]()}pause(){this[D8]=!1,this[dS]=!0,this[sd]=!1}get destroyed(){return this[W6]}get flowing(){return this[D8]}get paused(){return this[dS]}[s91](I){if(this[M7])this[F8]+=1;else this[F8]+=I.length;this[H8].push(I)}[Qk](){if(this[M7])this[F8]-=1;else this[F8]-=this[H8][0].length;return this[H8].shift()}[zk](I=!1){do;while(this[ni1](this[Qk]())&&this[H8].length);if(!I&&!this[H8].length&&!this[CV])this.emit("drain")}[ni1](I){return this.emit("data",I),this[D8]}pipe(I,d){if(this[W6])return I;this[sd]=!1;let G=this[nY];if(d=d||{},I===pi1.stdout||I===pi1.stderr)d.end=!1;else d.end=d.end!==!1;if(d.proxyErrors=!!d.proxyErrors,G){if(d.end)I.end()}else if(this[CI].push(!d.proxyErrors?new G31(this,I,d):new si1(this,I,d)),this[bw])ZS(()=>this[EQ]());else this[EQ]();return I}unpipe(I){let d=this[CI].find((G)=>G.dest===I);if(d){if(this[CI].length===1){if(this[D8]&&this[fg]===0)this[D8]=!1;this[CI]=[]}else this[CI].splice(this[CI].indexOf(d),1);d.unpipe()}}addListener(I,d){return this.on(I,d)}on(I,d){let G=super.on(I,d);if(I==="data"){if(this[sd]=!1,this[fg]++,!this[CI].length&&!this[D8])this[EQ]()}else if(I==="readable"&&this[F8]!==0)super.emit("readable");else if(aJ4(I)&&this[nY])super.emit(I),this.removeAllListeners(I);else if(I==="error"&&this[IS]){let Z=d;if(this[bw])ZS(()=>Z.call(this,this[IS]));else Z.call(this,this[IS])}return G}removeListener(I,d){return this.off(I,d)}off(I,d){let G=super.off(I,d);if(I==="data"){if(this[fg]=this.listeners("data").length,this[fg]===0&&!this[sd]&&!this[CI].length)this[D8]=!1}return G}removeAllListeners(I){let d=super.removeAllListeners(I);if(I==="data"||I===void 0){if(this[fg]=0,!this[sd]&&!this[CI].length)this[D8]=!1}return d}get emittedEnd(){return this[nY]}[WV](){if(!this[Kk]&&!this[nY]&&!this[W6]&&this[H8].length===0&&this[CV]){if(this[Kk]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[Nk])this.emit("close");this[Kk]=!1}}emit(I,...d){let G=d[0];if(I!=="error"&&I!=="close"&&I!==W6&&this[W6])return!1;else if(I==="data")return!this[M7]&&!G?!1:this[bw]?(ZS(()=>this[e91](G)),!0):this[e91](G);else if(I==="end")return this[ri1]();else if(I==="close"){if(this[Nk]=!0,!this[nY]&&!this[W6])return!1;let C=super.emit("close");return this.removeAllListeners("close"),C}else if(I==="error"){this[IS]=G,super.emit(o91,G);let C=!this[GS]||this.listeners("error").length?super.emit("error",G):!1;return this[WV](),C}else if(I==="resume"){let C=super.emit("resume");return this[WV](),C}else if(I==="finish"||I==="prefinish"){let C=super.emit(I);return this.removeAllListeners(I),C}let Z=super.emit(I,...d);return this[WV](),Z}[e91](I){for(let G of this[CI])if(G.dest.write(I)===!1)this.pause();let d=this[sd]?!1:super.emit("data",I);return this[WV](),d}[ri1](){if(this[nY])return!1;return this[nY]=!0,this.readable=!1,this[bw]?(ZS(()=>this[t91]()),!0):this[t91]()}[t91](){if(this[vQ]){let d=this[vQ].end();if(d){for(let G of this[CI])G.dest.write(d);if(!this[sd])super.emit("data",d)}}for(let d of this[CI])d.end();let I=super.emit("end");return this.removeAllListeners("end"),I}async collect(){let I=Object.assign([],{dataLength:0});if(!this[M7])I.dataLength=0;let d=this.promise();return this.on("data",(G)=>{if(I.push(G),!this[M7])I.dataLength+=G.length}),await d,I}async concat(){if(this[M7])throw new Error("cannot concat in objectMode");let I=await this.collect();return this[PC]?I.join(""):Buffer.concat(I,I.dataLength)}async promise(){return new Promise((I,d)=>{this.on(W6,()=>d(new Error("stream destroyed"))),this.on("error",(G)=>d(G)),this.on("end",()=>I())})}[Symbol.asyncIterator](){this[sd]=!1;let I=!1,d=async()=>{return this.pause(),I=!0,{value:void 0,done:!0}};return{next:()=>{if(I)return d();let Z=this.read();if(Z!==null)return Promise.resolve({done:!1,value:Z});if(this[CV])return d();let C,W,w=(X)=>{this.off("data",B),this.off("end",A),this.off(W6,V),d(),W(X)},B=(X)=>{this.off("error",w),this.off("end",A),this.off(W6,V),this.pause(),C({value:X,done:!!this[CV]})},A=()=>{this.off("error",w),this.off("data",B),this.off(W6,V),d(),C({done:!0,value:void 0})},V=()=>w(new Error("stream destroyed"));return new Promise((X,_)=>{W=_,C=X,this.once(W6,V),this.once("error",w),this.once("end",A),this.once("data",B)})},throw:d,return:d,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[sd]=!1;let I=!1,d=()=>{return this.pause(),this.off(o91,d),this.off(W6,d),this.off("end",d),I=!0,{done:!0,value:void 0}},G=()=>{if(I)return d();let Z=this.read();return Z===null?d():{done:!1,value:Z}};return this.once("end",d),this.once(o91,d),this.once(W6,d),{next:G,throw:d,return:d,[Symbol.iterator](){return this}}}destroy(I){if(this[W6]){if(I)this.emit("error",I);else this.emit(W6);return this}this[W6]=!0,this[sd]=!0,this[H8].length=0,this[F8]=0;let d=this;if(typeof d.close==="function"&&!this[Nk])d.close();if(I)this.emit("error",I);else this.emit(W6);return this}static get isStream(){return pJ4}}var AK4=wK4.native,WS={lstatSync:GK4,readdir:ZK4,readdirSync:CK4,readlinkSync:WK4,realpathSync:AK4,promises:{lstat:VK4,readdir:XK4,readlink:YK4,realpath:_K4}},dn1=(I)=>!I||I===WS||I===BK4?WS:{...WS,...I,promises:{...WS.promises,...I.promises||{}}},Gn1=/^\\\\\?\\([a-z]:)\\?$/i,DK4=(I)=>I.replace(/\//g,"\\").replace(Gn1,"$1\\"),HK4=/[\\\/]/,_Z=0,Zn1=1,Cn1=2,hw=4,Wn1=6,wn1=8,Rg=10,Bn1=12,YZ=15,CS=~YZ,Z31=16,oi1=32,wS=64,$C=128,qk=256,Uk=512,ei1=wS|$C|Uk,FK4=1023,C31=(I)=>I.isFile()?wn1:I.isDirectory()?hw:I.isSymbolicLink()?Rg:I.isCharacterDevice()?Cn1:I.isBlockDevice()?Wn1:I.isSocket()?Bn1:I.isFIFO()?Zn1:_Z,ti1=new Map,BS=(I)=>{let d=ti1.get(I);if(d)return d;let G=I.normalize("NFKD");return ti1.set(I,G),G},In1=new Map,Rk=(I)=>{let d=In1.get(I);if(d)return d;let G=BS(I.toLowerCase());return In1.set(I,G),G};class w31 extends ZV{constructor(){super({max:256})}}class An1 extends ZV{constructor(I=16384){super({maxSize:I,sizeCalculation:(d)=>d.length+1})}}var Vn1=Symbol("PathScurry setAsCwd");class WI{name;root;roots;parent;nocase;isCWD=!1;#I;#d;get dev(){return this.#d}#W;get mode(){return this.#W}#Z;get nlink(){return this.#Z}#w;get uid(){return this.#w}#z;get gid(){return this.#z}#V;get rdev(){return this.#V}#Y;get blksize(){return this.#Y}#B;get ino(){return this.#B}#A;get size(){return this.#A}#C;get blocks(){return this.#C}#g;get atimeMs(){return this.#g}#J;get mtimeMs(){return this.#J}#D;get ctimeMs(){return this.#D}#_;get birthtimeMs(){return this.#_}#q;get atime(){return this.#q}#F;get mtime(){return this.#F}#R;get ctime(){return this.#R}#U;get birthtime(){return this.#U}#N;#Q;#f;#H;#S;#v;#G;#P;#K;#L;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(I,d=_Z,G,Z,C,W,w){if(this.name=I,this.#N=C?Rk(I):BS(I),this.#G=d&FK4,this.nocase=C,this.roots=Z,this.root=G||this,this.#P=W,this.#f=w.fullpath,this.#S=w.relative,this.#v=w.relativePosix,this.parent=w.parent,this.parent)this.#I=this.parent.#I;else this.#I=dn1(w.fs)}depth(){if(this.#Q!==void 0)return this.#Q;if(!this.parent)return this.#Q=0;return this.#Q=this.parent.depth()+1}childrenCache(){return this.#P}resolve(I){if(!I)return this;let d=this.getRootString(I),Z=I.substring(d.length).split(this.splitSep);return d?this.getRoot(d).#$(Z):this.#$(Z)}#$(I){let d=this;for(let G of I)d=d.child(G);return d}children(){let I=this.#P.get(this);if(I)return I;let d=Object.assign([],{provisional:0});return this.#P.set(this,d),this.#G&=~Z31,d}child(I,d){if(I===""||I===".")return this;if(I==="..")return this.parent||this;let G=this.children(),Z=this.nocase?Rk(I):BS(I);for(let B of G)if(B.#N===Z)return B;let C=this.parent?this.sep:"",W=this.#f?this.#f+C+I:void 0,w=this.newChild(I,_Z,{...d,parent:this,fullpath:W});if(!this.canReaddir())w.#G|=$C;return G.push(w),w}relative(){if(this.isCWD)return"";if(this.#S!==void 0)return this.#S;let I=this.name,d=this.parent;if(!d)return this.#S=this.name;let G=d.relative();return G+(!G||!d.parent?"":this.sep)+I}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#v!==void 0)return this.#v;let I=this.name,d=this.parent;if(!d)return this.#v=this.fullpathPosix();let G=d.relativePosix();return G+(!G||!d.parent?"":"/")+I}fullpath(){if(this.#f!==void 0)return this.#f;let I=this.name,d=this.parent;if(!d)return this.#f=this.name;let Z=d.fullpath()+(!d.parent?"":this.sep)+I;return this.#f=Z}fullpathPosix(){if(this.#H!==void 0)return this.#H;if(this.sep==="/")return this.#H=this.fullpath();if(!this.parent){let Z=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(Z))return this.#H=`//?/${Z}`;else return this.#H=Z}let I=this.parent,d=I.fullpathPosix(),G=d+(!d||!I.parent?"":"/")+this.name;return this.#H=G}isUnknown(){return(this.#G&YZ)===_Z}isType(I){return this[`is${I}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#G&YZ)===wn1}isDirectory(){return(this.#G&YZ)===hw}isCharacterDevice(){return(this.#G&YZ)===Cn1}isBlockDevice(){return(this.#G&YZ)===Wn1}isFIFO(){return(this.#G&YZ)===Zn1}isSocket(){return(this.#G&YZ)===Bn1}isSymbolicLink(){return(this.#G&Rg)===Rg}lstatCached(){return this.#G&oi1?this:void 0}readlinkCached(){return this.#K}realpathCached(){return this.#L}readdirCached(){let I=this.children();return I.slice(0,I.provisional)}canReadlink(){if(this.#K)return!0;if(!this.parent)return!1;let I=this.#G&YZ;return!(I!==_Z&&I!==Rg||this.#G&qk||this.#G&$C)}calledReaddir(){return!!(this.#G&Z31)}isENOENT(){return!!(this.#G&$C)}isNamed(I){return!this.nocase?this.#N===BS(I):this.#N===Rk(I)}async readlink(){let I=this.#K;if(I)return I;if(!this.canReadlink())return;if(!this.parent)return;try{let d=await this.#I.promises.readlink(this.fullpath()),G=(await this.parent.realpath())?.resolve(d);if(G)return this.#K=G}catch(d){this.#X(d.code);return}}readlinkSync(){let I=this.#K;if(I)return I;if(!this.canReadlink())return;if(!this.parent)return;try{let d=this.#I.readlinkSync(this.fullpath()),G=this.parent.realpathSync()?.resolve(d);if(G)return this.#K=G}catch(d){this.#X(d.code);return}}#u(I){this.#G|=Z31;for(let d=I.provisional;d<I.length;d++){let G=I[d];if(G)G.#T()}}#T(){if(this.#G&$C)return;this.#G=(this.#G|$C)&CS,this.#E()}#E(){let I=this.children();I.provisional=0;for(let d of I)d.#T()}#M(){this.#G|=Uk,this.#O()}#O(){if(this.#G&wS)return;let I=this.#G;if((I&YZ)===hw)I&=CS;this.#G=I|wS,this.#E()}#m(I=""){if(I==="ENOTDIR"||I==="EPERM")this.#O();else if(I==="ENOENT")this.#T();else this.children().provisional=0}#l(I=""){if(I==="ENOTDIR")this.parent.#O();else if(I==="ENOENT")this.#T()}#X(I=""){let d=this.#G;if(d|=qk,I==="ENOENT")d|=$C;if(I==="EINVAL"||I==="UNKNOWN")d&=CS;if(this.#G=d,I==="ENOTDIR"&&this.parent)this.parent.#O()}#b(I,d){return this.#y(I,d)||this.#h(I,d)}#h(I,d){let G=C31(I),Z=this.newChild(I.name,G,{parent:this}),C=Z.#G&YZ;if(C!==hw&&C!==Rg&&C!==_Z)Z.#G|=wS;return d.unshift(Z),d.provisional++,Z}#y(I,d){for(let G=d.provisional;G<d.length;G++){let Z=d[G];if((this.nocase?Rk(I.name):BS(I.name))!==Z.#N)continue;return this.#j(I,Z,G,d)}}#j(I,d,G,Z){let C=d.name;if(d.#G=d.#G&CS|C31(I),C!==I.name)d.name=I.name;if(G!==Z.provisional){if(G===Z.length-1)Z.pop();else Z.splice(G,1);Z.unshift(d)}return Z.provisional++,d}async lstat(){if((this.#G&$C)===0)try{return this.#p(await this.#I.promises.lstat(this.fullpath())),this}catch(I){this.#l(I.code)}}lstatSync(){if((this.#G&$C)===0)try{return this.#p(this.#I.lstatSync(this.fullpath())),this}catch(I){this.#l(I.code)}}#p(I){let{atime:d,atimeMs:G,birthtime:Z,birthtimeMs:C,blksize:W,blocks:w,ctime:B,ctimeMs:A,dev:V,gid:X,ino:_,mode:F,mtime:g,mtimeMs:J,nlink:K,rdev:Q,size:E,uid:S}=I;this.#q=d,this.#g=G,this.#U=Z,this.#_=C,this.#Y=W,this.#C=w,this.#R=B,this.#D=A,this.#d=V,this.#z=X,this.#B=_,this.#W=F,this.#F=g,this.#J=J,this.#Z=K,this.#V=Q,this.#A=E,this.#w=S;let P=C31(I);if(this.#G=this.#G&CS|P|oi1,P!==_Z&&P!==hw&&P!==Rg)this.#G|=wS}#x=[];#c=!1;#i(I){this.#c=!1;let d=this.#x.slice();this.#x.length=0,d.forEach((G)=>G(null,I))}readdirCB(I,d=!1){if(!this.canReaddir()){if(d)I(null,[]);else queueMicrotask(()=>I(null,[]));return}let G=this.children();if(this.calledReaddir()){let C=G.slice(0,G.provisional);if(d)I(null,C);else queueMicrotask(()=>I(null,C));return}if(this.#x.push(I),this.#c)return;this.#c=!0;let Z=this.fullpath();this.#I.readdir(Z,{withFileTypes:!0},(C,W)=>{if(C)this.#m(C.code),G.provisional=0;else{for(let w of W)this.#b(w,G);this.#u(G)}this.#i(G.slice(0,G.provisional));return})}#k;async readdir(){if(!this.canReaddir())return[];let I=this.children();if(this.calledReaddir())return I.slice(0,I.provisional);let d=this.fullpath();if(this.#k)await this.#k;else{let G=()=>{};this.#k=new Promise((Z)=>G=Z);try{for(let Z of await this.#I.promises.readdir(d,{withFileTypes:!0}))this.#b(Z,I);this.#u(I)}catch(Z){this.#m(Z.code),I.provisional=0}this.#k=void 0,G()}return I.slice(0,I.provisional)}readdirSync(){if(!this.canReaddir())return[];let I=this.children();if(this.calledReaddir())return I.slice(0,I.provisional);let d=this.fullpath();try{for(let G of this.#I.readdirSync(d,{withFileTypes:!0}))this.#b(G,I);this.#u(I)}catch(G){this.#m(G.code),I.provisional=0}return I.slice(0,I.provisional)}canReaddir(){if(this.#G&ei1)return!1;let I=YZ&this.#G;if(!(I===_Z||I===hw||I===Rg))return!1;return!0}shouldWalk(I,d){return(this.#G&hw)===hw&&!(this.#G&ei1)&&!I.has(this)&&(!d||d(this))}async realpath(){if(this.#L)return this.#L;if((Uk|qk|$C)&this.#G)return;try{let I=await this.#I.promises.realpath(this.fullpath());return this.#L=this.resolve(I)}catch(I){this.#M()}}realpathSync(){if(this.#L)return this.#L;if((Uk|qk|$C)&this.#G)return;try{let I=this.#I.realpathSync(this.fullpath());return this.#L=this.resolve(I)}catch(I){this.#M()}}[Vn1](I){if(I===this)return;I.isCWD=!1,this.isCWD=!0;let d=new Set([]),G=[],Z=this;while(Z&&Z.parent)d.add(Z),Z.#S=G.join(this.sep),Z.#v=G.join("/"),Z=Z.parent,G.push("..");Z=I;while(Z&&Z.parent&&!d.has(Z))Z.#S=void 0,Z.#v=void 0,Z=Z.parent}}class vk extends WI{sep="\\";splitSep=HK4;constructor(I,d=_Z,G,Z,C,W,w){super(I,d,G,Z,C,W,w)}newChild(I,d=_Z,G={}){return new vk(I,d,this.root,this.roots,this.nocase,this.childrenCache(),G)}getRootString(I){return W31.parse(I).root}getRoot(I){if(I=DK4(I.toUpperCase()),I===this.root.name)return this.root;for(let[d,G]of Object.entries(this.roots))if(this.sameRoot(I,d))return this.roots[I]=G;return this.roots[I]=new AS(I,this).root}sameRoot(I,d=this.root.name){return I=I.toUpperCase().replace(/\//g,"\\").replace(Gn1,"$1\\"),I===d}}class Ek extends WI{splitSep="/";sep="/";constructor(I,d=_Z,G,Z,C,W,w){super(I,d,G,Z,C,W,w)}getRootString(I){return I.startsWith("/")?"/":""}getRoot(I){return this.root}newChild(I,d=_Z,G={}){return new Ek(I,d,this.root,this.roots,this.nocase,this.childrenCache(),G)}}class B31{root;rootPath;roots;cwd;#I;#d;#W;nocase;#Z;constructor(I=process.cwd(),d,G,{nocase:Z,childrenCacheSize:C=16384,fs:W=WS}={}){if(this.#Z=dn1(W),I instanceof URL||I.startsWith("file://"))I=dK4(I);let w=d.resolve(I);this.roots=Object.create(null),this.rootPath=this.parseRootPath(w),this.#I=new w31,this.#d=new w31,this.#W=new An1(C);let B=w.substring(this.rootPath.length).split(G);if(B.length===1&&!B[0])B.pop();if(Z===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=Z,this.root=this.newRoot(this.#Z),this.roots[this.rootPath]=this.root;let A=this.root,V=B.length-1,X=d.sep,_=this.rootPath,F=!1;for(let g of B){let J=V--;A=A.child(g,{relative:new Array(J).fill("..").join(X),relativePosix:new Array(J).fill("..").join("/"),fullpath:_+=(F?"":X)+g}),F=!0}this.cwd=A}depth(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.depth()}childrenCache(){return this.#W}resolve(...I){let d="";for(let C=I.length-1;C>=0;C--){let W=I[C];if(!W||W===".")continue;if(d=d?`${W}/${d}`:W,this.isAbsolute(W))break}let G=this.#I.get(d);if(G!==void 0)return G;let Z=this.cwd.resolve(d).fullpath();return this.#I.set(d,Z),Z}resolvePosix(...I){let d="";for(let C=I.length-1;C>=0;C--){let W=I[C];if(!W||W===".")continue;if(d=d?`${W}/${d}`:W,this.isAbsolute(W))break}let G=this.#d.get(d);if(G!==void 0)return G;let Z=this.cwd.resolve(d).fullpathPosix();return this.#d.set(d,Z),Z}relative(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.relative()}relativePosix(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.relativePosix()}basename(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.name}dirname(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return(I.parent||I).fullpath()}async readdir(I=this.cwd,d={withFileTypes:!0}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G}=d;if(!I.canReaddir())return[];else{let Z=await I.readdir();return G?Z:Z.map((C)=>C.name)}}readdirSync(I=this.cwd,d={withFileTypes:!0}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0}=d;if(!I.canReaddir())return[];else if(G)return I.readdirSync();else return I.readdirSync().map((Z)=>Z.name)}async lstat(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.lstat()}lstatSync(I=this.cwd){if(typeof I==="string")I=this.cwd.resolve(I);return I.lstatSync()}async readlink(I=this.cwd,{withFileTypes:d}={withFileTypes:!1}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I.withFileTypes,I=this.cwd;let G=await I.readlink();return d?G:G?.fullpath()}readlinkSync(I=this.cwd,{withFileTypes:d}={withFileTypes:!1}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I.withFileTypes,I=this.cwd;let G=I.readlinkSync();return d?G:G?.fullpath()}async realpath(I=this.cwd,{withFileTypes:d}={withFileTypes:!1}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I.withFileTypes,I=this.cwd;let G=await I.realpath();return d?G:G?.fullpath()}realpathSync(I=this.cwd,{withFileTypes:d}={withFileTypes:!1}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I.withFileTypes,I=this.cwd;let G=I.realpathSync();return d?G:G?.fullpath()}async walk(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0,follow:Z=!1,filter:C,walkFilter:W}=d,w=[];if(!C||C(I))w.push(G?I:I.fullpath());let B=new Set,A=(X,_)=>{B.add(X),X.readdirCB((F,g)=>{if(F)return _(F);let J=g.length;if(!J)return _();let K=()=>{if(--J===0)_()};for(let Q of g){if(!C||C(Q))w.push(G?Q:Q.fullpath());if(Z&&Q.isSymbolicLink())Q.realpath().then((E)=>E?.isUnknown()?E.lstat():E).then((E)=>E?.shouldWalk(B,W)?A(E,K):K());else if(Q.shouldWalk(B,W))A(Q,K);else K()}},!0)},V=I;return new Promise((X,_)=>{A(V,(F)=>{if(F)return _(F);X(w)})})}walkSync(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0,follow:Z=!1,filter:C,walkFilter:W}=d,w=[];if(!C||C(I))w.push(G?I:I.fullpath());let B=new Set([I]);for(let A of B){let V=A.readdirSync();for(let X of V){if(!C||C(X))w.push(G?X:X.fullpath());let _=X;if(X.isSymbolicLink()){if(!(Z&&(_=X.realpathSync())))continue;if(_.isUnknown())_.lstatSync()}if(_.shouldWalk(B,W))B.add(_)}}return w}[Symbol.asyncIterator](){return this.iterate()}iterate(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;return this.stream(I,d)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0,follow:Z=!1,filter:C,walkFilter:W}=d;if(!C||C(I))yield G?I:I.fullpath();let w=new Set([I]);for(let B of w){let A=B.readdirSync();for(let V of A){if(!C||C(V))yield G?V:V.fullpath();let X=V;if(V.isSymbolicLink()){if(!(Z&&(X=V.realpathSync())))continue;if(X.isUnknown())X.lstatSync()}if(X.shouldWalk(w,W))w.add(X)}}}stream(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0,follow:Z=!1,filter:C,walkFilter:W}=d,w=new qg({objectMode:!0});if(!C||C(I))w.write(G?I:I.fullpath());let B=new Set,A=[I],V=0,X=()=>{let _=!1;while(!_){let F=A.shift();if(!F){if(V===0)w.end();return}V++,B.add(F);let g=(K,Q,E=!1)=>{if(K)return w.emit("error",K);if(Z&&!E){let S=[];for(let P of Q)if(P.isSymbolicLink())S.push(P.realpath().then(($)=>$?.isUnknown()?$.lstat():$));if(S.length){Promise.all(S).then(()=>g(null,Q,!0));return}}for(let S of Q)if(S&&(!C||C(S))){if(!w.write(G?S:S.fullpath()))_=!0}V--;for(let S of Q){let P=S.realpathCached()||S;if(P.shouldWalk(B,W))A.push(P)}if(_&&!w.flowing)w.once("drain",X);else if(!J)X()},J=!0;F.readdirCB(g,!0),J=!1}};return X(),w}streamSync(I=this.cwd,d={}){if(typeof I==="string")I=this.cwd.resolve(I);else if(!(I instanceof WI))d=I,I=this.cwd;let{withFileTypes:G=!0,follow:Z=!1,filter:C,walkFilter:W}=d,w=new qg({objectMode:!0}),B=new Set;if(!C||C(I))w.write(G?I:I.fullpath());let A=[I],V=0,X=()=>{let _=!1;while(!_){let F=A.shift();if(!F){if(V===0)w.end();return}V++,B.add(F);let g=F.readdirSync();for(let J of g)if(!C||C(J)){if(!w.write(G?J:J.fullpath()))_=!0}V--;for(let J of g){let K=J;if(J.isSymbolicLink()){if(!(Z&&(K=J.realpathSync())))continue;if(K.isUnknown())K.lstatSync()}if(K.shouldWalk(B,W))A.push(K)}}if(_&&!w.flowing)w.once("drain",X)};return X(),w}chdir(I=this.cwd){let d=this.cwd;this.cwd=typeof I==="string"?this.cwd.resolve(I):I,this.cwd[Vn1](d)}}class AS extends B31{sep="\\";constructor(I=process.cwd(),d={}){let{nocase:G=!0}=d;super(I,W31,"\\",{...d,nocase:G});this.nocase=G;for(let Z=this.cwd;Z;Z=Z.parent)Z.nocase=this.nocase}parseRootPath(I){return W31.parse(I).root.toUpperCase()}newRoot(I){return new vk(this.rootPath,hw,void 0,this.roots,this.nocase,this.childrenCache(),{fs:I})}isAbsolute(I){return I.startsWith("/")||I.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(I)}}class VS extends B31{sep="/";constructor(I=process.cwd(),d={}){let{nocase:G=!1}=d;super(I,IK4,"/",{...d,nocase:G});this.nocase=G}parseRootPath(I){return"/"}newRoot(I){return new Ek(this.rootPath,hw,void 0,this.roots,this.nocase,this.childrenCache(),{fs:I})}isAbsolute(I){return I.startsWith("/")}}class Mk extends VS{constructor(I=process.cwd(),d={}){let{nocase:G=!0}=d;super(I,{...d,nocase:G})}}var Nm9=process.platform==="win32"?vk:Ek,Xn1=process.platform==="win32"?AS:process.platform==="darwin"?Mk:VS;var gK4=(I)=>I.length>=1,JK4=(I)=>I.length>=1;class MQ{#I;#d;#W;length;#Z;#w;#z;#V;#Y;#B;#A=!0;constructor(I,d,G,Z){if(!gK4(I))throw new TypeError("empty pattern list");if(!JK4(d))throw new TypeError("empty glob list");if(d.length!==I.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=I.length,G<0||G>=this.length)throw new TypeError("index out of range");if(this.#I=I,this.#d=d,this.#W=G,this.#Z=Z,this.#W===0){if(this.isUNC()){let[C,W,w,B,...A]=this.#I,[V,X,_,F,...g]=this.#d;if(A[0]==="")A.shift(),g.shift();let J=[C,W,w,B,""].join("/"),K=[V,X,_,F,""].join("/");this.#I=[J,...A],this.#d=[K,...g],this.length=this.#I.length}else if(this.isDrive()||this.isAbsolute()){let[C,...W]=this.#I,[w,...B]=this.#d;if(W[0]==="")W.shift(),B.shift();let A=C+"/",V=w+"/";this.#I=[A,...W],this.#d=[V,...B],this.length=this.#I.length}}}pattern(){return this.#I[this.#W]}isString(){return typeof this.#I[this.#W]==="string"}isGlobstar(){return this.#I[this.#W]===j8}isRegExp(){return this.#I[this.#W]instanceof RegExp}globString(){return this.#z=this.#z||(this.#W===0?this.isAbsolute()?this.#d[0]+this.#d.slice(1).join("/"):this.#d.join("/"):this.#d.slice(this.#W).join("/"))}hasMore(){return this.length>this.#W+1}rest(){if(this.#w!==void 0)return this.#w;if(!this.hasMore())return this.#w=null;return this.#w=new MQ(this.#I,this.#d,this.#W+1,this.#Z),this.#w.#B=this.#B,this.#w.#Y=this.#Y,this.#w.#V=this.#V,this.#w}isUNC(){let I=this.#I;return this.#Y!==void 0?this.#Y:this.#Y=this.#Z==="win32"&&this.#W===0&&I[0]===""&&I[1]===""&&typeof I[2]==="string"&&!!I[2]&&typeof I[3]==="string"&&!!I[3]}isDrive(){let I=this.#I;return this.#V!==void 0?this.#V:this.#V=this.#Z==="win32"&&this.#W===0&&this.length>1&&typeof I[0]==="string"&&/^[a-z]:$/i.test(I[0])}isAbsolute(){let I=this.#I;return this.#B!==void 0?this.#B:this.#B=I[0]===""&&I.length>1||this.isDrive()||this.isUNC()}root(){let I=this.#I[0];return typeof I==="string"&&this.isAbsolute()&&this.#W===0?I:""}checkFollowGlobstar(){return!(this.#W===0||!this.isGlobstar()||!this.#A)}markFollowGlobstar(){if(this.#W===0||!this.isGlobstar()||!this.#A)return!1;return this.#A=!1,!0}}var KK4=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class XS{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(I,{nobrace:d,nocase:G,noext:Z,noglobstar:C,platform:W=KK4}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=W,this.mmopts={dot:!0,nobrace:d,nocase:G,noext:Z,noglobstar:C,optimizationLevel:2,platform:W,nocomment:!0,nonegate:!0};for(let w of I)this.add(w)}add(I){let d=new XZ(I,this.mmopts);for(let G=0;G<d.set.length;G++){let Z=d.set[G],C=d.globParts[G];if(!Z||!C)throw new Error("invalid pattern object");while(Z[0]==="."&&C[0]===".")Z.shift(),C.shift();let W=new MQ(Z,C,0,this.platform),w=new XZ(W.globString(),this.mmopts),B=C[C.length-1]==="**",A=W.isAbsolute();if(A)this.absolute.push(w);else this.relative.push(w);if(B)if(A)this.absoluteChildren.push(w);else this.relativeChildren.push(w)}}ignored(I){let d=I.fullpath(),G=`${d}/`,Z=I.relative()||".",C=`${Z}/`;for(let W of this.relative)if(W.match(Z)||W.match(C))return!0;for(let W of this.absolute)if(W.match(d)||W.match(G))return!0;return!1}childrenIgnored(I){let d=I.fullpath()+"/",G=(I.relative()||".")+"/";for(let Z of this.relativeChildren)if(Z.match(G))return!0;for(let Z of this.absoluteChildren)if(Z.match(d))return!0;return!1}}class A31{store;constructor(I=new Map){this.store=I}copy(){return new A31(new Map(this.store))}hasWalked(I,d){return this.store.get(I.fullpath())?.has(d.globString())}storeWalked(I,d){let G=I.fullpath(),Z=this.store.get(G);if(Z)Z.add(d.globString());else this.store.set(G,new Set([d.globString()]))}}class Yn1{store=new Map;add(I,d,G){let Z=(d?2:0)|(G?1:0),C=this.store.get(I);this.store.set(I,C===void 0?Z:Z&C)}entries(){return[...this.store.entries()].map(([I,d])=>[I,!!(d&2),!!(d&1)])}}class _n1{store=new Map;add(I,d){if(!I.canReaddir())return;let G=this.store.get(I);if(G){if(!G.find((Z)=>Z.globString()===d.globString()))G.push(d)}else this.store.set(I,[d])}get(I){let d=this.store.get(I);if(!d)throw new Error("attempting to walk unknown path");return d}entries(){return this.keys().map((I)=>[I,this.store.get(I)])}keys(){return[...this.store.keys()].filter((I)=>I.canReaddir())}}class YS{hasWalkedCache;matches=new Yn1;subwalks=new _n1;patterns;follow;dot;opts;constructor(I,d){this.opts=I,this.follow=!!I.follow,this.dot=!!I.dot,this.hasWalkedCache=d?d.copy():new A31}processPatterns(I,d){this.patterns=d;let G=d.map((Z)=>[I,Z]);for(let[Z,C]of G){this.hasWalkedCache.storeWalked(Z,C);let W=C.root(),w=C.isAbsolute()&&this.opts.absolute!==!1;if(W){Z=Z.resolve(W==="/"&&this.opts.root!==void 0?this.opts.root:W);let X=C.rest();if(!X){this.matches.add(Z,!0,!1);continue}else C=X}if(Z.isENOENT())continue;let B,A,V=!1;while(typeof(B=C.pattern())==="string"&&(A=C.rest()))Z=Z.resolve(B),C=A,V=!0;if(B=C.pattern(),A=C.rest(),V){if(this.hasWalkedCache.hasWalked(Z,C))continue;this.hasWalkedCache.storeWalked(Z,C)}if(typeof B==="string"){let X=B===".."||B===""||B===".";this.matches.add(Z.resolve(B),w,X);continue}else if(B===j8){if(!Z.isSymbolicLink()||this.follow||C.checkFollowGlobstar())this.subwalks.add(Z,C);let X=A?.pattern(),_=A?.rest();if(!A||(X===""||X===".")&&!_)this.matches.add(Z,w,X===""||X===".");else if(X===".."){let F=Z.parent||Z;if(!_)this.matches.add(F,w,!0);else if(!this.hasWalkedCache.hasWalked(F,_))this.subwalks.add(F,_)}}else if(B instanceof RegExp)this.subwalks.add(Z,C)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new YS(this.opts,this.hasWalkedCache)}filterEntries(I,d){let G=this.subwalks.get(I),Z=this.child();for(let C of d)for(let W of G){let w=W.isAbsolute(),B=W.pattern(),A=W.rest();if(B===j8)Z.testGlobstar(C,W,A,w);else if(B instanceof RegExp)Z.testRegExp(C,B,A,w);else Z.testString(C,B,A,w)}return Z}testGlobstar(I,d,G,Z){if(this.dot||!I.name.startsWith(".")){if(!d.hasMore())this.matches.add(I,Z,!1);if(I.canReaddir()){if(this.follow||!I.isSymbolicLink())this.subwalks.add(I,d);else if(I.isSymbolicLink()){if(G&&d.checkFollowGlobstar())this.subwalks.add(I,G);else if(d.markFollowGlobstar())this.subwalks.add(I,d)}}}if(G){let C=G.pattern();if(typeof C==="string"&&C!==".."&&C!==""&&C!==".")this.testString(I,C,G.rest(),Z);else if(C===".."){let W=I.parent||I;this.subwalks.add(W,G)}else if(C instanceof RegExp)this.testRegExp(I,C,G.rest(),Z)}}testRegExp(I,d,G,Z){if(!d.test(I.name))return;if(!G)this.matches.add(I,Z,!1);else this.subwalks.add(I,G)}testString(I,d,G,Z){if(!I.isNamed(d))return;if(!G)this.matches.add(I,Z,!1);else this.subwalks.add(I,G)}}var NK4=(I,d)=>typeof I==="string"?new XS([I],d):Array.isArray(I)?new XS(I,d):I;class V31{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#I=[];#d;#W;signal;maxDepth;includeChildMatches;constructor(I,d,G){if(this.patterns=I,this.path=d,this.opts=G,this.#W=!G.posix&&G.platform==="win32"?"\\":"/",this.includeChildMatches=G.includeChildMatches!==!1,G.ignore||!this.includeChildMatches){if(this.#d=NK4(G.ignore??[],G),!this.includeChildMatches&&typeof this.#d.add!=="function")throw new Error("cannot ignore child matches, ignore lacks add() method.")}if(this.maxDepth=G.maxDepth||1/0,G.signal)this.signal=G.signal,this.signal.addEventListener("abort",()=>{this.#I.length=0})}#Z(I){return this.seen.has(I)||!!this.#d?.ignored?.(I)}#w(I){return!!this.#d?.childrenIgnored?.(I)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let I=void 0;while(!this.paused&&(I=this.#I.shift()))I()}onResume(I){if(this.signal?.aborted)return;if(!this.paused)I();else this.#I.push(I)}async matchCheck(I,d){if(d&&this.opts.nodir)return;let G;if(this.opts.realpath){if(G=I.realpathCached()||await I.realpath(),!G)return;I=G}let C=I.isUnknown()||this.opts.stat?await I.lstat():I;if(this.opts.follow&&this.opts.nodir&&C?.isSymbolicLink()){let W=await C.realpath();if(W&&(W.isUnknown()||this.opts.stat))await W.lstat()}return this.matchCheckTest(C,d)}matchCheckTest(I,d){return I&&(this.maxDepth===1/0||I.depth()<=this.maxDepth)&&(!d||I.canReaddir())&&(!this.opts.nodir||!I.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!I.isSymbolicLink()||!I.realpathCached()?.isDirectory())&&!this.#Z(I)?I:void 0}matchCheckSync(I,d){if(d&&this.opts.nodir)return;let G;if(this.opts.realpath){if(G=I.realpathCached()||I.realpathSync(),!G)return;I=G}let C=I.isUnknown()||this.opts.stat?I.lstatSync():I;if(this.opts.follow&&this.opts.nodir&&C?.isSymbolicLink()){let W=C.realpathSync();if(W&&(W?.isUnknown()||this.opts.stat))W.lstatSync()}return this.matchCheckTest(C,d)}matchFinish(I,d){if(this.#Z(I))return;if(!this.includeChildMatches&&this.#d?.add){let C=`${I.relativePosix()}/**`;this.#d.add(C)}let G=this.opts.absolute===void 0?d:this.opts.absolute;this.seen.add(I);let Z=this.opts.mark&&I.isDirectory()?this.#W:"";if(this.opts.withFileTypes)this.matchEmit(I);else if(G){let C=this.opts.posix?I.fullpathPosix():I.fullpath();this.matchEmit(C+Z)}else{let C=this.opts.posix?I.relativePosix():I.relative(),W=this.opts.dotRelative&&!C.startsWith(".."+this.#W)?"."+this.#W:"";this.matchEmit(!C?"."+Z:W+C+Z)}}async match(I,d,G){let Z=await this.matchCheck(I,G);if(Z)this.matchFinish(Z,d)}matchSync(I,d,G){let Z=this.matchCheckSync(I,G);if(Z)this.matchFinish(Z,d)}walkCB(I,d,G){if(this.signal?.aborted)G();this.walkCB2(I,d,new YS(this.opts),G)}walkCB2(I,d,G,Z){if(this.#w(I))return Z();if(this.signal?.aborted)Z();if(this.paused){this.onResume(()=>this.walkCB2(I,d,G,Z));return}G.processPatterns(I,d);let C=1,W=()=>{if(--C===0)Z()};for(let[w,B,A]of G.matches.entries()){if(this.#Z(w))continue;C++,this.match(w,B,A).then(()=>W())}for(let w of G.subwalkTargets()){if(this.maxDepth!==1/0&&w.depth()>=this.maxDepth)continue;C++;let B=w.readdirCached();if(w.calledReaddir())this.walkCB3(w,B,G,W);else w.readdirCB((A,V)=>this.walkCB3(w,V,G,W),!0)}W()}walkCB3(I,d,G,Z){G=G.filterEntries(I,d);let C=1,W=()=>{if(--C===0)Z()};for(let[w,B,A]of G.matches.entries()){if(this.#Z(w))continue;C++,this.match(w,B,A).then(()=>W())}for(let[w,B]of G.subwalks.entries())C++,this.walkCB2(w,B,G.child(),W);W()}walkCBSync(I,d,G){if(this.signal?.aborted)G();this.walkCB2Sync(I,d,new YS(this.opts),G)}walkCB2Sync(I,d,G,Z){if(this.#w(I))return Z();if(this.signal?.aborted)Z();if(this.paused){this.onResume(()=>this.walkCB2Sync(I,d,G,Z));return}G.processPatterns(I,d);let C=1,W=()=>{if(--C===0)Z()};for(let[w,B,A]of G.matches.entries()){if(this.#Z(w))continue;this.matchSync(w,B,A)}for(let w of G.subwalkTargets()){if(this.maxDepth!==1/0&&w.depth()>=this.maxDepth)continue;C++;let B=w.readdirSync();this.walkCB3Sync(w,B,G,W)}W()}walkCB3Sync(I,d,G,Z){G=G.filterEntries(I,d);let C=1,W=()=>{if(--C===0)Z()};for(let[w,B,A]of G.matches.entries()){if(this.#Z(w))continue;this.matchSync(w,B,A)}for(let[w,B]of G.subwalks.entries())C++,this.walkCB2Sync(w,B,G.child(),W);W()}}class Sk extends V31{matches=new Set;constructor(I,d,G){super(I,d,G)}matchEmit(I){this.matches.add(I)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())await this.path.lstat();return await new Promise((I,d)=>{this.walkCB(this.path,this.patterns,()=>{if(this.signal?.aborted)d(this.signal.reason);else I(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}}class Lk extends V31{results;constructor(I,d,G){super(I,d,G);this.results=new qg({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(I){if(this.results.write(I),!this.results.flowing)this.pause()}stream(){let I=this.path;if(I.isUnknown())I.lstat().then(()=>{this.walkCB(I,this.patterns,()=>this.results.end())});else this.walkCB(I,this.patterns,()=>this.results.end());return this.results}streamSync(){if(this.path.isUnknown())this.path.lstatSync();return this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}}var QK4=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class jw{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(I,d){if(!d)throw new TypeError("glob options required");if(this.withFileTypes=!!d.withFileTypes,this.signal=d.signal,this.follow=!!d.follow,this.dot=!!d.dot,this.dotRelative=!!d.dotRelative,this.nodir=!!d.nodir,this.mark=!!d.mark,!d.cwd)this.cwd="";else if(d.cwd instanceof URL||d.cwd.startsWith("file://"))d.cwd=zK4(d.cwd);if(this.cwd=d.cwd||"",this.root=d.root,this.magicalBraces=!!d.magicalBraces,this.nobrace=!!d.nobrace,this.noext=!!d.noext,this.realpath=!!d.realpath,this.absolute=d.absolute,this.includeChildMatches=d.includeChildMatches!==!1,this.noglobstar=!!d.noglobstar,this.matchBase=!!d.matchBase,this.maxDepth=typeof d.maxDepth==="number"?d.maxDepth:1/0,this.stat=!!d.stat,this.ignore=d.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof I==="string")I=[I];if(this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===!1,this.windowsPathsNoEscape)I=I.map((B)=>B.replace(/\\/g,"/"));if(this.matchBase){if(d.noglobstar)throw new TypeError("base matching requires globstar");I=I.map((B)=>B.includes("/")?B:`./**/${B}`)}if(this.pattern=I,this.platform=d.platform||QK4,this.opts={...d,platform:this.platform},d.scurry){if(this.scurry=d.scurry,d.nocase!==void 0&&d.nocase!==d.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let B=d.platform==="win32"?AS:d.platform==="darwin"?Mk:d.platform?VS:Xn1;this.scurry=new B(this.cwd,{nocase:d.nocase,fs:d.fs})}this.nocase=this.scurry.nocase;let G=this.platform==="darwin"||this.platform==="win32",Z={...d,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:G,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},C=this.pattern.map((B)=>new XZ(B,Z)),[W,w]=C.reduce((B,A)=>{return B[0].push(...A.set),B[1].push(...A.globParts),B},[[],[]]);this.patterns=W.map((B,A)=>{let V=w[A];if(!V)throw new Error("invalid pattern object");return new MQ(B,V,0,this.platform)})}async walk(){return[...await new Sk(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new Sk(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new Lk(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new Lk(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}var X31=(I,d={})=>{if(!Array.isArray(I))I=[I];for(let G of I)if(new XZ(G,d).hasMagic())return!0;return!1};function Pk(I,d={}){return new jw(I,d).streamSync()}function Hn1(I,d={}){return new jw(I,d).stream()}function Fn1(I,d={}){return new jw(I,d).walkSync()}async function Dn1(I,d={}){return new jw(I,d).walk()}function $k(I,d={}){return new jw(I,d).iterateSync()}function gn1(I,d={}){return new jw(I,d).iterate()}var fK4=Pk,qK4=Object.assign(Hn1,{sync:Pk}),RK4=$k,UK4=Object.assign(gn1,{sync:$k}),vK4=Object.assign(Fn1,{stream:Pk,iterate:$k}),yk=Object.assign(Dn1,{glob:Dn1,globSync:Fn1,sync:vK4,globStream:Hn1,stream:qK4,globStreamSync:Pk,streamSync:fK4,globIterate:gn1,iterate:UK4,globIterateSync:$k,iterateSync:RK4,Glob:jw,hasMagic:X31,escape:qQ,unescape:yC});yk.glob=yk;import{cwd as q40}from"process";var F40=J1(D40(),1);import{fileURLToPath as el4,resolve as tl4}from"node:url";import*as Kx from"path";var g40=J1(qS(),1);import{execFile as Ib4}from"child_process";var db4=el4(import.meta.url),Gb4=tl4(db4,"."),wI=g40.default("claude:ripgrep"),J40=!!process.env.USE_BUILTIN_RIPGREP;if(J40)wI("Using builtin ripgrep because USE_BUILTIN_RIPGREP is set");var ES=a2(()=>{let{cmd:I}=F40.findActualExecutable("rg",[]);if(wI(`ripgrep initially resolved as: ${I}`),I!=="rg"&&!J40)return I;else{let d=Kx.resolve(Gb4,"vendor","ripgrep");if(process.platform==="win32")return Kx.resolve(d,"x64-win32","rg.exe");let G=Kx.resolve(d,`${process.arch}-${process.platform}`,"rg");return wI("internal ripgrep resolved as: %s",G),G}});async function MS(I,d,G){await Zb4();let Z=ES();return wI("ripgrep called: %s %o",Z,d,I),new Promise((C)=>{Ib4(ES(),[...I,d],{maxBuffer:1e6,signal:G,timeout:1e4},(W,w)=>{if(W){if(W.code!==1)wI("ripgrep error: %o",W),X0(W);C([])}else wI("ripgrep succeeded with %s",w),C(w.trim().split(`
`).filter(Boolean))})})}async function K40(I,d,G){try{return wI("listAllContentFiles called: %s",I),(await MS(["-l",".",I],I,d)).slice(0,G)}catch(Z){return wI("listAllContentFiles failed: %o",Z),X0(Z),[]}}var H40=!1;async function Zb4(){if(process.platform!=="darwin"||H40)return;if(H40=!0,wI("checking if ripgrep is already signed"),!(await E5("codesign",["-vv","-d",ES()],void 0,void 0,!1)).stdout.split(`
`).find((G)=>G.includes("linker-signed"))){wI("seems to be already signed");return}try{wI("signing ripgrep");let G=await E5("codesign",["--sign","-","--force","--preserve-metadata=entitlements,requirements,flags,runtime",ES()]);if(G.code!==0)wI("failed to sign ripgrep: %o",G),X0(`Failed to sign ripgrep: ${G.stdout} ${G.stderr}`);wI("removing quarantine");let Z=await E5("xattr",["-d","com.apple.quarantine",ES()]);if(Z.code!==0)wI("failed to remove quarantine: %o",Z),X0(`Failed to remove quarantine: ${Z.stdout} ${Z.stderr}`)}catch(G){wI("failed during sign: %o",G),X0(G)}}async function M40(I,d,{limit:G,offset:Z},C){let w=(await yk([I],{cwd:d,nocase:!0,nodir:!0,signal:C,stat:!0,withFileTypes:!0})).sort((A,V)=>(A.mtimeMs??0)-(V.mtimeMs??0)),B=w.length>Z+G;return{files:w.slice(Z,Z+G).map((A)=>A.fullpath()),truncated:B}}function x81(I,d){if(I===".")return!0;if(I.startsWith("~"))return!1;if(I.includes("\x00")||d.includes("\x00"))return!1;let G=N40(I),Z=N40(d);G=G.endsWith(Nx)?G:G+Nx,Z=Z.endsWith(Nx)?Z:Z+Nx;let C=z40(q40(),Z,G),W=z40(q40(),Z);return C.startsWith(W)}function S40(I,d=0,G){let Z=dd(I),W=Cb4(I,Z).split(/\r?\n/),w=G!==void 0&&W.length-d>G?W.slice(d,d+G):W.slice(d);return{content:w.join(`
`),lineCount:w.length,totalLines:W.length}}function Xf(I,d,G,Z){let C=d;if(Z==="CRLF")C=d.split(`
`).join(`\r
`);Wb4(I,C,{encoding:G,flush:!0})}var _b4=new ZV({fetchMethod:(I)=>Db4(I),ttl:300000,ttlAutopurge:!1,max:1000});async function L40(I){return _b4.fetch(SS(I))}async function Db4(I){let d=new AbortController;setTimeout(()=>{d.abort()},1000);let G=await K40(I,d.signal,15),Z=0;for(let C of G)if(Sg(C)==="CRLF")Z++;return Z>3?"CRLF":"LF"}function y40(I,d,G){if(I.has(d))return I.get(d);let Z=G();return I.set(d,Z),Z}var Hb4=new ZV({fetchMethod:(I)=>P40(I),ttl:300000,ttlAutopurge:!1,max:1000});function dd(I){let d=SS(I);return y40(Hb4,d,()=>P40(d))}function P40(I){let G=Buffer.alloc(4096),Z=void 0;try{Z=R40(I,"r");let C=U40(Z,G,0,4096,0);if(C>=2){if(G[0]===255&&G[1]===254)return"utf16le"}if(C>=3&&G[0]===239&&G[1]===187&&G[2]===191)return"utf8";return G.slice(0,C).toString("utf8").length>0?"utf8":"ascii"}catch(C){return X0(`Error detecting encoding for file ${I}: ${C}`),"utf8"}finally{if(Z)v40(Z)}}var Fb4=new ZV({fetchMethod:(I)=>$40(I),ttl:300000,ttlAutopurge:!1,max:1000});function Sg(I){let d=SS(I);return y40(Fb4,d,()=>$40(d))}function $40(I,d="utf8"){try{let G=Buffer.alloc(4096),Z=R40(I,"r"),C=U40(Z,G,0,4096,0);v40(Z);let W=G.toString(d,0,C),w=0,B=0;for(let A=0;A<W.length;A++)if(W[A]===`
`)if(A>0&&W[A-1]==="\r")w++;else B++;return w>B?"CRLF":"LF"}catch(G){return X0(`Error detecting line endings for file ${I}: ${G}`),"LF"}}function c81(I){let d=E40(I)?I:SS(R0(),I);if(d.endsWith(" AM.png"))return d.replace(" AM.png",`${String.fromCharCode(8239)}AM.png`);if(d.endsWith(" PM.png"))return d.replace(" PM.png",`${String.fromCharCode(8239)}PM.png`);return d}function p81(I){return I?E40(I)?I:SS(R0(),I):void 0}function u40(I){let d=p81(I),G=d?Vb4(R0(),d):void 0;return{absolutePath:d,relativePath:G}}function Yf(I){try{let d=Xb4(I),G=Q40(I,f40(I));if(!wb4(d))return;let W=Bb4(d).filter((w)=>Q40(w,f40(w))===G&&Yb4(d,w)!==I)[0];if(W)return W;return}catch(d){X0(`Error finding similar file for ${I}: ${d}`);return}}function _f({content:I,startLine:d}){if(!I)return"";return I.split(/\r?\n/).map((G,Z)=>{let C=Z+d,W=String(C);if(W.length>=6)return`${W}	${G}`;return`${W.padStart(6," ")}	${G}`}).join(`
`)}function T40(I){try{let d=Ab4(I),G=d.readSync();return d.closeSync(),G===null}catch(d){return X0(`Error checking directory: ${d}`),!1}}function zQ(){let I=I5();if(!I.hasCompletedProjectOnboarding)o9({...I,hasCompletedProjectOnboarding:!0})}function Nb4(){let I=q2();p4({...I,lastReleaseNotesSeen:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION})}function i81({workspaceDir:I}){let G=!I5().hasCompletedProjectOnboarding,C=q2().lastReleaseNotesSeen,W=[];if(!C||O40.gt({ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,C))W=Xk[{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION]||[];let w=W.length>0;if(T2.useEffect(()=>{if(w&&!G)Nb4()},[w,G]),!G&&!w)return null;let B=gb4(Jb4(I,"CLAUDE.md")),A=T40(I),V=!B&&!A,X=NQ.isEnabled&&!q2().shiftEnterKeyBindingInstalled,_=r1();return T2.createElement(p,{flexDirection:"column",gap:1,padding:1,paddingBottom:0},G&&T2.createElement(T2.Fragment,null,T2.createElement(u,{color:_.secondaryText},"Tips for getting started:"),T2.createElement(b8,null,(()=>{let F=[];if(A)F.push(T2.createElement(b8.Item,{key:"workspace"},T2.createElement(u,{color:_.secondaryText},"Ask Claude to create a new app or clone a repository.")));if(V)F.push(T2.createElement(b8.Item,{key:"claudemd"},T2.createElement(u,{color:_.secondaryText},"Run ",T2.createElement(u,{color:_.text},"/init")," to create a CLAUDE.md file with instructions for Claude.")));if(X)F.push(T2.createElement(b8.Item,{key:"terminal"},T2.createElement(u,{color:_.secondaryText},"Run ",T2.createElement(u,{color:_.text},"/terminal-setup"),T2.createElement(u,{bold:!1}," to set up terminal integration"))));return F.push(T2.createElement(b8.Item,{key:"questions"},T2.createElement(u,{color:_.secondaryText},"Ask Claude questions about your codebase."))),F.push(T2.createElement(b8.Item,{key:"changes"},T2.createElement(u,{color:_.secondaryText},"Ask Claude to implement changes to your codebase."))),F})())),!G&&w&&T2.createElement(p,{borderColor:r1().secondaryBorder,flexDirection:"column",marginRight:1},T2.createElement(p,{flexDirection:"column",gap:0},T2.createElement(p,{marginBottom:1},T2.createElement(u,null,"\uD83C\uDD95 What's new in v",{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,":")),T2.createElement(p,{flexDirection:"column",marginLeft:1},W.map((F,g)=>T2.createElement(u,{key:g,color:r1().secondaryText},"• ",F))))),I===Kb4()&&T2.createElement(u,{color:r1().warning},"Note: You have launched ",T2.createElement(u,{bold:!0},"claude")," in your home directory. For the best experience, launch it in a project directory instead."))}var Q_=J1(u1(),1);var Df=J1(u1(),1);var LS=J1(u1(),1);function m40({isFocused:I,isSelected:d,smallPointer:G,children:Z}){let{styles:C}=Q9("Select");return LS.default.createElement(p,{...C.option({isFocused:I})},I&&LS.default.createElement(u,{...C.focusIndicator()},G?k5.triangleDownSmall:k5.pointer),LS.default.createElement(u,{...C.label({isFocused:I,isSelected:d})},Z),d&&LS.default.createElement(u,{...C.selectedIndicator()},k5.tick))}var Gd=J1(u1(),1);import{isDeepStrictEqual as zb4}from"node:util";class zx extends Map{first;constructor(I){let d=[],G,Z,C=0;for(let W of I){let w={...W,previous:Z,next:void 0,index:C};if(Z)Z.next=w;G||=w;let B="value"in W?W.value:n81(W);d.push([B,w]),C++,Z=w}super(d);this.first=G}}var Qb4=(I,d)=>{switch(d.type){case"focus-next-option":{if(!I.focusedValue)return I;let G=I.optionMap.get(I.focusedValue);if(!G)return I;let Z=G.next;while(Z&&!("value"in Z))Z=Z.next;if(!Z)return I;if(!(Z.index>=I.visibleToIndex))return{...I,focusedValue:Z.value};let W=Math.min(I.optionMap.size,I.visibleToIndex+1),w=W-I.visibleOptionCount;return{...I,focusedValue:Z.value,visibleFromIndex:w,visibleToIndex:W}}case"focus-previous-option":{if(!I.focusedValue)return I;let G=I.optionMap.get(I.focusedValue);if(!G)return I;let Z=G.previous;while(Z&&!("value"in Z))Z=Z.previous;if(!Z)return I;if(!(Z.index<=I.visibleFromIndex))return{...I,focusedValue:Z.value};let W=Math.max(0,I.visibleFromIndex-1),w=W+I.visibleOptionCount;return{...I,focusedValue:Z.value,visibleFromIndex:W,visibleToIndex:w}}case"select-focused-option":return{...I,previousValue:I.value,value:I.focusedValue};case"reset":return d.state;case"set-focus":return{...I,focusedValue:d.value}}},r81=(I)=>I.flatMap((d)=>{if("options"in d){let G=r81(d.options),Z=G.flatMap((W)=>("value"in W)?W.value:[]);return[...d.header!==void 0?[{header:d.header,optionValues:Z}]:[],...G]}return d}),l40=({visibleOptionCount:I,defaultValue:d,options:G})=>{let Z=r81(G),C=typeof I==="number"?Math.min(I,Z.length):Z.length,W=new zx(Z),w=W.first,B=w&&"value"in w?w.value:void 0;return{optionMap:W,visibleOptionCount:C,focusedValue:B,visibleFromIndex:0,visibleToIndex:C,previousValue:d,value:d}},b40=({visibleOptionCount:I=5,options:d,defaultValue:G,onChange:Z,onFocus:C,focusValue:W})=>{let w=r81(d),[B,A]=Gd.useReducer(Qb4,{visibleOptionCount:I,defaultValue:G,options:d},l40),[V,X]=Gd.useState(w);if(w!==V&&!zb4(w,V))A({type:"reset",state:l40({visibleOptionCount:I,defaultValue:G,options:d})}),X(w);let _=Gd.useCallback(()=>{A({type:"focus-next-option"})},[]),F=Gd.useCallback(()=>{A({type:"focus-previous-option"})},[]),g=Gd.useCallback(()=>{A({type:"select-focused-option"})},[]),J=Gd.useMemo(()=>{return w.map((K,Q)=>({...K,index:Q})).slice(B.visibleFromIndex,B.visibleToIndex)},[w,B.visibleFromIndex,B.visibleToIndex]);return Gd.useEffect(()=>{if(B.value&&B.previousValue!==B.value)Z?.(B.value)},[B.previousValue,B.value,d,Z]),Gd.useEffect(()=>{if(B.focusedValue)C?.(B.focusedValue)},[B.focusedValue,C]),Gd.useEffect(()=>{if(W)A({type:"set-focus",value:W})},[W]),{focusedValue:B.focusedValue,visibleFromIndex:B.visibleFromIndex,visibleToIndex:B.visibleToIndex,value:B.value,visibleOptions:J,focusNextOption:_,focusPreviousOption:F,selectFocusedOption:g}};var h40=({isDisabled:I=!1,state:d})=>{C4((G,Z)=>{if(Z.downArrow)d.focusNextOption();if(Z.upArrow)d.focusPreviousOption();if(Z.return)d.selectFocusedOption()},{isActive:!I})};var n81=(I)=>`HEADER-${I.optionValues.join(",")}`;function N_({isDisabled:I=!1,visibleOptionCount:d=5,highlightText:G,options:Z,defaultValue:C,onChange:W,onFocus:w,focusValue:B}){let A=b40({visibleOptionCount:d,options:Z,defaultValue:C,onChange:W,onFocus:w,focusValue:B});h40({isDisabled:I,state:A});let{styles:V}=Q9("Select");return Df.default.createElement(p,{...V.container()},A.visibleOptions.map((X)=>{let _="value"in X?X.value:n81(X),F=!I&&A.focusedValue!==void 0&&("value"in X?A.focusedValue===X.value:X.optionValues.includes(A.focusedValue)),g=!!A.value&&("value"in X?A.value===X.value:X.optionValues.includes(A.value)),J="header"in X,K="label"in X?X.label:X.header,Q=K;if(G&&K.includes(G)){let E=K.indexOf(G);Q=Df.default.createElement(Df.default.Fragment,null,K.slice(0,E),Df.default.createElement(u,{...V.highlightedText()},G),K.slice(E+G.length))}return Df.default.createElement(m40,{key:_,isFocused:F,isSelected:g,smallPointer:J},Q)}))}var s81=J1(u1(),1);var yg=J1(r40(),1);var a40=process.env.TERM_PROGRAM==="Apple_Terminal",w5={};w5.cursorTo=(I,d)=>{if(typeof I!=="number")throw new TypeError("The `x` argument is required");if(typeof d!=="number")return"\x1B["+(I+1)+"G";return"\x1B["+(d+1)+";"+(I+1)+"H"};w5.cursorMove=(I,d)=>{if(typeof I!=="number")throw new TypeError("The `x` argument is required");let G="";if(I<0)G+="\x1B["+-I+"D";else if(I>0)G+="\x1B["+I+"C";if(d<0)G+="\x1B["+-d+"A";else if(d>0)G+="\x1B["+d+"B";return G};w5.cursorUp=(I=1)=>"\x1B["+I+"A";w5.cursorDown=(I=1)=>"\x1B["+I+"B";w5.cursorForward=(I=1)=>"\x1B["+I+"C";w5.cursorBackward=(I=1)=>"\x1B["+I+"D";w5.cursorLeft="\x1B[G";w5.cursorSavePosition=a40?"\x1B7":"\x1B[s";w5.cursorRestorePosition=a40?"\x1B8":"\x1B[u";w5.cursorGetPosition="\x1B[6n";w5.cursorNextLine="\x1B[E";w5.cursorPrevLine="\x1B[F";w5.cursorHide="\x1B[?25l";w5.cursorShow="\x1B[?25h";w5.eraseLines=(I)=>{let d="";for(let G=0;G<I;G++)d+=w5.eraseLine+(G<I-1?w5.cursorUp():"");if(I)d+=w5.cursorLeft;return d};w5.eraseEndLine="\x1B[K";w5.eraseStartLine="\x1B[1K";w5.eraseLine="\x1B[2K";w5.eraseDown="\x1B[J";w5.eraseUp="\x1B[1J";w5.eraseScreen="\x1B[2J";w5.scrollUp="\x1B[S";w5.scrollDown="\x1B[T";w5.clearScreen="\x1Bc";w5.clearTerminal=process.platform==="win32"?`${w5.eraseScreen}\x1B[0f`:`${w5.eraseScreen}\x1B[3J\x1B[H`;w5.beep="\x07";w5.link=(I,d)=>{return["\x1B]","8",";",";",d,"\x07",I,"\x1B]","8",";",";","\x07"].join("")};w5.image=(I,d={})=>{let G="\x1B]1337;File=inline=1";if(d.width)G+=`;width=${d.width}`;if(d.height)G+=`;height=${d.height}`;if(d.preserveAspectRatio===!1)G+=";preserveAspectRatio=0";return G+":"+I.toString("base64")+"\x07"};w5.iTerm={setCwd:(I=process.cwd())=>`\x1B]50;CurrentDir=${I}\x07`,annotation:(I,d={})=>{let G="\x1B]1337;",Z=typeof d.x!=="undefined",C=typeof d.y!=="undefined";if((Z||C)&&!(Z&&C&&typeof d.length!=="undefined"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");if(I=I.replace(/\|/g,""),G+=d.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",d.length>0)G+=(Z?[I,d.length,d.x,d.y]:[d.length,I]).join("|");else G+=I;return G+"\x07"}};var s40=w5;var Qx=J1(t40(),1);function Lg(I,d,{target:G="stdout",...Z}={}){if(!Qx.default[G]){if(Z.fallback===!1)return I;return typeof Z.fallback==="function"?Z.fallback(I,d):`${I} (​${d}​)`}return s40.link(I,d)}Lg.isSupported=Qx.default.stdout;Lg.stderr=(I,d,G={})=>Lg(I,d,{target:"stderr",...G});Lg.stderr.isSupported=Qx.default.stderr;var I50=({children:I,url:d,fallback:G=!0})=>s81.default.createElement(Gk,{transform:(Z)=>Lg(Z,d,{fallback:G})},s81.default.createElement(u,null,I));I50.propTypes={children:yg.default.oneOfType([yg.default.arrayOf(yg.default.node),yg.default.node]).isRequired,url:yg.default.string.isRequired,fallback:yg.default.bool};var Pg=I50;var fx=J1(u1(),1);var Ub4=["iTerm.app","WezTerm","Hyper","VSCode"];function z_({url:I,children:d}){let G=Ub4.includes(K2.terminal??""),Z=d||I;if(G||Z!==I)return fx.default.createElement(Pg,{url:I},fx.default.createElement(u,null,Z));else return fx.default.createElement(u,{underline:!0},Z)}function d50({onDone:I}){return C4((d,G)=>{if(G.ctrl&&(d==="c"||d==="d")||G.escape)I()}),Q_.default.createElement(p,{flexDirection:"column",borderStyle:"round",padding:1,borderColor:r1().secondaryBorder},Q_.default.createElement(p,{marginBottom:1,flexDirection:"column"},Q_.default.createElement(u,{bold:!0},"You've spent $5 on the Anthropic API this session."),Q_.default.createElement(u,null,"Learn more about how to monitor your spending:"),Q_.default.createElement(z_,{url:"https://docs.anthropic.com/s/claude-code-cost"})),Q_.default.createElement(p,null,Q_.default.createElement(N_,{options:[{value:"ok",label:"Got it, thanks!"}],onChange:I})))}var g4=J1(u1(),1),h5=J1(u1(),1);var n4=J1(u1(),1);var o81=46;function G50({mcpClients:I,isDefaultModel:d=!1}){let G=Math.max(o81,R0().length+12),Z=r1(),C=process.env.ANTHROPIC_MODEL,W=vw(),w=!Lb(),B=!d&&Boolean(C),A=!1;return n4.createElement(p,{flexDirection:"column"},n4.createElement(p,{borderColor:Z.claude,borderStyle:"round",flexDirection:"column",gap:1,paddingLeft:1,width:G},n4.createElement(u,null,n4.createElement(u,{color:Z.claude},"✻")," Welcome to"," ",n4.createElement(u,{bold:!0},K4)," ",n4.createElement(u,null,"research preview!")),n4.createElement(n4.Fragment,null,n4.createElement(p,{paddingLeft:2,flexDirection:"column",gap:1},n4.createElement(u,{color:Z.secondaryText,italic:!0},"/help for help",!1),n4.createElement(u,{color:Z.secondaryText},"cwd: ",R0())),!1),I.length?n4.createElement(p,{borderColor:Z.secondaryBorder,borderStyle:"single",borderBottom:!1,borderLeft:!1,borderRight:!1,borderTop:!0,flexDirection:"column",marginLeft:2,marginRight:1,paddingTop:1},n4.createElement(p,{marginBottom:1},n4.createElement(u,{color:Z.secondaryText},"MCP Servers:")),I.map((V,X)=>n4.createElement(p,{key:X,width:G-6},n4.createElement(u,{color:Z.secondaryText},"• ",V.name),n4.createElement(p,{flexGrow:1}),n4.createElement(u,{bold:!0,color:V.type==="connected"?Z.success:Z.error},V.type==="connected"?"connected":"failed")))):null))}var B6=J1(u1(),1);var JX=J1(u1(),1);import{randomUUID as AK}from"crypto";var p0=J1(u1(),1),iZ=J1(u1(),1);var Z50=()=>[],C50=()=>{};function W50(I){Z50=I}function yS(){return Z50}function w50(I){C50=I}function qx(){return C50}var d71=J1(u1(),1);var _50=J1(u1(),1);var e81=J1(u1(),1),B50=2000;function $g(I,d,G){let Z=e81.useRef(0),C=e81.useRef();return()=>{let W=Date.now();if(W-Z.current<=B50&&C.current){if(C.current)clearTimeout(C.current),C.current=void 0;d(),I(!1)}else G?.(),I(!0),C.current=setTimeout(()=>I(!1),B50);Z.current=W}}class Zd{measuredText;selection;offset;constructor(I,d=0,G=0){this.measuredText=I;this.selection=G;this.offset=Math.max(0,Math.min(this.measuredText.text.length,d))}static fromText(I,d,G=0,Z=0){return new Zd(new A50(I,d-1),G,Z)}render(I,d,G){let{line:Z,column:C}=this.getPosition();return this.measuredText.getWrappedText().map((W,w,B)=>{let A=W;if(d&&w===B.length-1){let V=Math.max(0,W.length-6);A=d.repeat(V)+W.slice(V)}if(Z!=w)return A.trimEnd();return A.slice(0,C)+G(A[C]||I)+A.trimEnd().slice(C+1)}).join(`
`)}left(){return new Zd(this.measuredText,this.offset-1)}right(){return new Zd(this.measuredText,this.offset+1)}up(){let{line:I,column:d}=this.getPosition();if(I==0)return new Zd(this.measuredText,0,0);let G=this.getOffset({line:I-1,column:d});return new Zd(this.measuredText,G,0)}down(){let{line:I,column:d}=this.getPosition();if(I>=this.measuredText.lineCount-1)return new Zd(this.measuredText,this.text.length,0);let G=this.getOffset({line:I+1,column:d});return new Zd(this.measuredText,G,0)}startOfLine(){let{line:I}=this.getPosition();return new Zd(this.measuredText,this.getOffset({line:I,column:0}),0)}endOfLine(){let{line:I}=this.getPosition(),d=this.measuredText.getLineLength(I),G=this.getOffset({line:I,column:d});return new Zd(this.measuredText,G,0)}nextWord(){let I=this;while(I.isOverWordChar()&&!I.isAtEnd())I=I.right();while(!I.isOverWordChar()&&!I.isAtEnd())I=I.right();return I}prevWord(){let I=this;if(!I.left().isOverWordChar())I=I.left();while(!I.isOverWordChar()&&!I.isAtStart())I=I.left();if(I.isOverWordChar())while(I.left().isOverWordChar()&&!I.isAtStart())I=I.left();return I}modifyText(I,d=""){let G=this.offset,Z=I.offset,C=this.text.slice(0,G)+d+this.text.slice(Z);return Zd.fromText(C,this.columns,G+d.length)}insert(I){return this.modifyText(this,I)}del(){if(this.isAtEnd())return this;return this.modifyText(this.right())}backspace(){if(this.isAtStart())return this;return this.left().modifyText(this)}deleteToLineStart(){return this.startOfLine().modifyText(this)}deleteToLineEnd(){if(this.text[this.offset]===`
`)return this.modifyText(this.right());return this.modifyText(this.endOfLine())}deleteWordBefore(){if(this.isAtStart())return this;return this.prevWord().modifyText(this)}deleteWordAfter(){if(this.isAtEnd())return this;return this.modifyText(this.nextWord())}isOverWordChar(){let I=this.text[this.offset]??"";return/\w/.test(I)}equals(I){return this.offset===I.offset&&this.measuredText==I.measuredText}isAtStart(){return this.offset==0}isAtEnd(){return this.offset==this.text.length}get text(){return this.measuredText.text}get columns(){return this.measuredText.columns+1}getPosition(){return this.measuredText.getPositionFromOffset(this.offset)}getOffset(I){return this.measuredText.getOffsetFromPosition(I)}}class Rx{text;startOffset;isPrecededByNewline;endsWithNewline;constructor(I,d,G,Z=!1){this.text=I;this.startOffset=d;this.isPrecededByNewline=G;this.endsWithNewline=Z}equals(I){return this.text===I.text&&this.startOffset===I.startOffset}get length(){return this.text.length+(this.endsWithNewline?1:0)}}class A50{text;columns;wrappedLines;constructor(I,d){this.text=I;this.columns=d;this.wrappedLines=this.measureWrappedText()}measureWrappedText(){let I=UM(this.text,this.columns,{hard:!0,trim:!1}),d=[],G=0,Z=-1,C=I.split(`
`);for(let W=0;W<C.length;W++){let w=C[W],B=(A)=>W==0||A>0&&this.text[A-1]===`
`;if(w.length===0)if(Z=this.text.indexOf(`
`,Z+1),Z!==-1){let A=Z,V=!0;d.push(new Rx(w,A,B(A),!0))}else{let A=this.text.length;d.push(new Rx(w,A,B(A),!1))}else{let A=this.text.indexOf(w,G);if(A===-1)throw console.log("Debug: Failed to find wrapped line in original text"),console.log("Debug: Current text:",w),console.log("Debug: Full original text:",this.text),console.log("Debug: Search offset:",G),console.log("Debug: Wrapped text:",I),new Error("Failed to find wrapped line in original text");G=A+w.length;let V=A+w.length,X=V<this.text.length&&this.text[V]===`
`;if(X)Z=V;d.push(new Rx(w,A,B(A),X))}}return d}getWrappedText(){return this.wrappedLines.map((I)=>I.isPrecededByNewline?I.text:I.text.trimStart())}getLine(I){return this.wrappedLines[Math.max(0,Math.min(I,this.wrappedLines.length-1))]}getOffsetFromPosition(I){let d=this.getLine(I.line),G=d.startOffset+I.column;if(d.text.length===0&&d.endsWithNewline)return d.startOffset;let Z=d.startOffset+d.text.length,C=d.endsWithNewline?Z+1:Z;return Math.min(G,C)}getLineLength(I){let d=this.getLine(I),G=this.getLine(I+1);if(G.equals(d))return this.text.length-d.startOffset;return G.startOffset-d.startOffset-1}getPositionFromOffset(I){let d=this.wrappedLines;for(let Z=0;Z<d.length;Z++){let C=d[Z],W=d[Z+1];if(I>=C.startOffset&&(!W||I<W.startOffset)){let w=C.isPrecededByNewline?0:C.text.length-C.text.trimStart().length,B=Math.max(0,Math.min(I-C.startOffset-w,C.text.length));return{line:Z,column:B}}}let G=d.length-1;return{line:G,column:this.wrappedLines[G].text.length}}get lineCount(){return this.wrappedLines.length}equals(I){return this.text===I.text&&this.columns===I.columns}}import{execSync as t81}from"child_process";import{readFileSync as vb4}from"fs";var I71="/tmp/claude_cli_latest_screenshot.png",V50="No image found in clipboard. Use Cmd + Ctrl + Shift + 4 to copy a screenshot to clipboard.";function X50(){if(process.platform!=="darwin")return null;try{t81("osascript -e 'the clipboard as «class PNGf»'",{stdio:"ignore"}),t81(`osascript -e 'set png_data to (the clipboard as «class PNGf»)' -e 'set fp to open for access POSIX file "${I71}" with write permission' -e 'write png_data to fp' -e 'close access fp'`,{stdio:"ignore"});let d=vb4(I71).toString("base64");return t81(`rm -f "${I71}"`,{stdio:"ignore"}),d}catch{return null}}var Eb4="[Image pasted]";function Y50(I){return function(d){return(new Map(I).get(d)??(()=>{}))(d)}}function D50({value:I,onChange:d,onSubmit:G,onExit:Z,onExitMessage:C,onMessage:W,onHistoryUp:w,onHistoryDown:B,onHistoryReset:A,mask:V="",multiline:X=!1,cursorChar:_,invert:F,columns:g,onImagePaste:J,disableCursorMovementForUpDownKeys:K=!1,externalOffset:Q,onOffsetChange:E}){let S=Q,P=E,$=Zd.fromText(I,g,S),[h,O]=_50.useState(null);function T(){if(!h)return;clearTimeout(h),O(null),W?.(!1)}let V1=$g((B0)=>{T(),C?.(B0,"Ctrl-C")},()=>Z?.(),()=>{if(I)d(""),A?.()}),c=$g((B0)=>{T(),W?.(!!I&&B0,"Press Escape again to clear")},()=>{if(I)d("")});function c1(){return Zd.fromText("",g,0)}let o1=$g((B0)=>C?.(B0,"Ctrl-D"),()=>Z?.());function a1(){if(T(),$.text==="")return o1(),$;return $.del()}function f1(){let B0=X50();if(B0===null){if(process.platform!=="darwin")return $;return W?.(!0,V50),T(),O(setTimeout(()=>{W?.(!1)},4000)),$}return J?.(B0),$.insert(Eb4)}let r=Y50([["a",()=>$.startOfLine()],["b",()=>$.left()],["c",V1],["d",a1],["e",()=>$.endOfLine()],["f",()=>$.right()],["h",()=>$.backspace()],["k",()=>$.deleteToLineEnd()],["l",()=>c1()],["n",()=>e1()],["p",()=>T1()],["u",()=>$.deleteToLineStart()],["v",f1],["w",()=>$.deleteWordBefore()]]),A1=Y50([["b",()=>$.prevWord()],["f",()=>$.nextWord()],["d",()=>$.deleteWordAfter()]]);function m1(B0){if(X&&$.offset>0&&$.text[$.offset-1]==="\\")return $.backspace().insert(`
`);if(B0.meta)return $.insert(`
`);G?.(I)}function T1(){if(K)return w?.(),$;let B0=$.up();if(B0.equals($))w?.();return B0}function e1(){if(K)return B?.(),$;let B0=$.down();if(B0.equals($))B?.();return B0}function F0(B0){switch(!0){case B0.escape:return c;case(B0.leftArrow&&(B0.ctrl||B0.meta||B0.fn)):return()=>$.prevWord();case(B0.rightArrow&&(B0.ctrl||B0.meta||B0.fn)):return()=>$.nextWord();case B0.backspace:return B0.meta?()=>$.deleteWordBefore():()=>$.backspace();case B0.delete:return B0.meta?()=>$.deleteToLineEnd():()=>$.del();case B0.ctrl:return r;case B0.home:return()=>$.startOfLine();case B0.end:return()=>$.endOfLine();case B0.pageDown:return()=>$.endOfLine();case B0.pageUp:return()=>$.startOfLine();case B0.meta:return A1;case B0.return:return()=>m1(B0);case B0.tab:return()=>{};case B0.upArrow:return T1;case B0.downArrow:return e1;case B0.leftArrow:return()=>$.left();case B0.rightArrow:return()=>$.right()}return function(a0){switch(!0){case(a0=="\x1B[H"||a0=="\x1B[1~"):return $.startOfLine();case(a0=="\x1B[F"||a0=="\x1B[4~"):return $.endOfLine();default:return $.insert(a0.replace(/\r/g,`
`))}}}function P0(B0,a0){let e=F0(a0)(B0);if(e){if(!$.equals(e)){if(P(e.offset),$.text!=e.text)d(e.text)}}}return{onInput:P0,renderedValue:$.render(_,V,F),offset:S,setOffset:P}}function mC({value:I,placeholder:d="",focus:G=!0,mask:Z,multiline:C=!1,highlightPastedText:W=!1,showCursor:w=!0,onChange:B,onSubmit:A,onExit:V,onHistoryUp:X,onHistoryDown:_,onExitMessage:F,onMessage:g,onHistoryReset:J,columns:K,onImagePaste:Q,onPaste:E,isDimmed:S=!1,disableCursorMovementForUpDownKeys:P=!1,cursorOffset:$,onChangeCursorOffset:h}){let{onInput:O,renderedValue:T}=D50({value:I,onChange:B,onSubmit:A,onExit:V,onExitMessage:F,onMessage:g,onHistoryReset:J,onHistoryUp:X,onHistoryDown:_,focus:G,mask:Z,multiline:C,cursorChar:w?" ":"",highlightPastedText:W,invert:c0.inverse,themeText:(r)=>c0.hex(r1().text)(r),columns:K,onImagePaste:Q,disableCursorMovementForUpDownKeys:P,externalOffset:$,onOffsetChange:h}),[V1,c]=d71.default.useState({chunks:[],timeoutId:null}),c1=(r)=>{if(r)clearTimeout(r);return setTimeout(()=>{c(({chunks:A1})=>{let m1=A1.join("");return Promise.resolve().then(()=>E(m1)),{chunks:[],timeoutId:null}})},100)};C4((r,A1)=>{if(E&&(r.length>800||V1.timeoutId)){c(({chunks:m1,timeoutId:T1})=>{return{chunks:[...m1,r],timeoutId:c1(T1)}});return}O(r,A1)},{isActive:G});let a1=d?c0.hex(r1().secondaryText)(d):void 0;if(w&&G)a1=d.length>0?c0.inverse(d[0])+c0.hex(r1().secondaryText)(d.slice(1)):c0.inverse(" ");let f1=I.length==0&&d;return d71.default.createElement(u,{wrap:"truncate-end",dimColor:S},f1?a1:T)}var Ux=J1(u1(),1);function G9(){let[I,d]=Ux.useState({columns:process.stdout.columns||80,rows:process.stdout.rows||24});return Ux.useEffect(()=>{function G(){d({columns:process.stdout.columns||80,rows:process.stdout.rows||24})}return process.stdout.on("resize",G),()=>{process.stdout.off("resize",G)}},[]),I}var PS=`claude-cli/${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION} (external)`;var ug="0.36.3";if(!pF)ub(Ph(),{auto:!0});class Y4 extends Error{}class f9 extends Y4{constructor(I,d,G,Z){super(`${f9.makeMessage(I,d,G)}`);this.status=I,this.headers=Z,this.request_id=Z?.["request-id"],this.error=d}static makeMessage(I,d,G){let Z=d?.message?typeof d.message==="string"?d.message:JSON.stringify(d.message):d?JSON.stringify(d):G;if(I&&Z)return`${I} ${Z}`;if(I)return`${I} status code (no body)`;if(Z)return Z;return"(no status code or body)"}static generate(I,d,G,Z){if(!I||!Z)return new rw({message:G,cause:vx(d)});let C=d;if(I===400)return new $S(I,C,G,Z);if(I===401)return new uS(I,C,G,Z);if(I===403)return new TS(I,C,G,Z);if(I===404)return new OS(I,C,G,Z);if(I===409)return new mS(I,C,G,Z);if(I===422)return new lS(I,C,G,Z);if(I===429)return new bS(I,C,G,Z);if(I>=500)return new hS(I,C,G,Z);return new f9(I,C,G,Z)}}class p8 extends f9{constructor({message:I}={}){super(void 0,void 0,I||"Request was aborted.",void 0)}}class rw extends f9{constructor({message:I,cause:d}){super(void 0,void 0,I||"Connection error.",void 0);if(d)this.cause=d}}class Ff extends rw{constructor({message:I}={}){super({message:I??"Request timed out."})}}class $S extends f9{}class uS extends f9{}class TS extends f9{}class OS extends f9{}class mS extends f9{}class lS extends f9{}class bS extends f9{}class hS extends f9{}var Ex=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},Tg=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},td;class f_{constructor(){td.set(this,void 0),this.buffer=new Uint8Array,Ex(this,td,null,"f")}decode(I){if(I==null)return[];let d=I instanceof ArrayBuffer?new Uint8Array(I):typeof I==="string"?new TextEncoder().encode(I):I,G=new Uint8Array(this.buffer.length+d.length);G.set(this.buffer),G.set(d,this.buffer.length),this.buffer=G;let Z=[],C;while((C=Sb4(this.buffer,Tg(this,td,"f")))!=null){if(C.carriage&&Tg(this,td,"f")==null){Ex(this,td,C.index,"f");continue}if(Tg(this,td,"f")!=null&&(C.index!==Tg(this,td,"f")+1||C.carriage)){Z.push(this.decodeText(this.buffer.slice(0,Tg(this,td,"f")-1))),this.buffer=this.buffer.slice(Tg(this,td,"f")),Ex(this,td,null,"f");continue}let W=Tg(this,td,"f")!==null?C.preceding-1:C.preceding,w=this.decodeText(this.buffer.slice(0,W));Z.push(w),this.buffer=this.buffer.slice(C.index),Ex(this,td,null,"f")}return Z}decodeText(I){if(I==null)return"";if(typeof I==="string")return I;if(typeof Buffer!=="undefined"){if(I instanceof Buffer)return I.toString();if(I instanceof Uint8Array)return Buffer.from(I).toString();throw new Y4(`Unexpected: received non-Uint8Array (${I.constructor.name}) stream chunk in an environment with a global "Buffer" defined, which this library assumes to be Node. Please report this error.`)}if(typeof TextDecoder!=="undefined"){if(I instanceof Uint8Array||I instanceof ArrayBuffer)return this.textDecoder??(this.textDecoder=new TextDecoder("utf8")),this.textDecoder.decode(I);throw new Y4(`Unexpected: received non-Uint8Array/ArrayBuffer (${I.constructor.name}) in a web platform. Please report this error.`)}throw new Y4("Unexpected: neither Buffer nor TextDecoder are available as globals. Please report this error.")}flush(){if(!this.buffer.length)return[];return this.decode(`
`)}}td=new WeakMap;f_.NEWLINE_CHARS=new Set([`
`,"\r"]);f_.NEWLINE_REGEXP=/\r\n|[\n\r]/g;function Sb4(I,d){for(let C=d??0;C<I.length;C++){if(I[C]===10)return{preceding:C,index:C+1,carriage:!1};if(I[C]===13)return{preceding:C,index:C+1,carriage:!0}}return null}function Og(I){if(I[Symbol.asyncIterator])return I;let d=I.getReader();return{async next(){try{let G=await d.read();if(G?.done)d.releaseLock();return G}catch(G){throw d.releaseLock(),G}},async return(){let G=d.cancel();return d.releaseLock(),await G,{done:!0,value:void 0}},[Symbol.asyncIterator](){return this}}}class BI{constructor(I,d){this.iterator=I,this.controller=d}static fromSSEResponse(I,d){let G=!1;async function*Z(){if(G)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");G=!0;let C=!1;try{for await(let W of Lb4(I,d)){if(W.event==="completion")try{yield JSON.parse(W.data)}catch(w){throw console.error("Could not parse message into JSON:",W.data),console.error("From chunk:",W.raw),w}if(W.event==="message_start"||W.event==="message_delta"||W.event==="message_stop"||W.event==="content_block_start"||W.event==="content_block_delta"||W.event==="content_block_stop")try{yield JSON.parse(W.data)}catch(w){throw console.error("Could not parse message into JSON:",W.data),console.error("From chunk:",W.raw),w}if(W.event==="ping")continue;if(W.event==="error")throw f9.generate(void 0,`SSE Error: ${W.data}`,W.data,jS(I.headers))}C=!0}catch(W){if(W instanceof Error&&W.name==="AbortError")return;throw W}finally{if(!C)d.abort()}}return new BI(Z,d)}static fromReadableStream(I,d){let G=!1;async function*Z(){let W=new f_,w=Og(I);for await(let B of w)for(let A of W.decode(B))yield A;for(let B of W.flush())yield B}async function*C(){if(G)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");G=!0;let W=!1;try{for await(let w of Z()){if(W)continue;if(w)yield JSON.parse(w)}W=!0}catch(w){if(w instanceof Error&&w.name==="AbortError")return;throw w}finally{if(!W)d.abort()}}return new BI(C,d)}[Symbol.asyncIterator](){return this.iterator()}tee(){let I=[],d=[],G=this.iterator(),Z=(C)=>{return{next:()=>{if(C.length===0){let W=G.next();I.push(W),d.push(W)}return C.shift()}}};return[new BI(()=>Z(I),this.controller),new BI(()=>Z(d),this.controller)]}toReadableStream(){let I=this,d,G=new TextEncoder;return new B41({async start(){d=I[Symbol.asyncIterator]()},async pull(Z){try{let{value:C,done:W}=await d.next();if(W)return Z.close();let w=G.encode(JSON.stringify(C)+`
`);Z.enqueue(w)}catch(C){Z.error(C)}},async cancel(){await d.return?.()}})}}async function*Lb4(I,d){if(!I.body)throw d.abort(),new Y4("Attempted to iterate over a response with no body");let G=new H50,Z=new f_,C=Og(I.body);for await(let W of yb4(C))for(let w of Z.decode(W)){let B=G.decode(w);if(B)yield B}for(let W of Z.flush()){let w=G.decode(W);if(w)yield w}}async function*yb4(I){let d=new Uint8Array;for await(let G of I){if(G==null)continue;let Z=G instanceof ArrayBuffer?new Uint8Array(G):typeof G==="string"?new TextEncoder().encode(G):G,C=new Uint8Array(d.length+Z.length);C.set(d),C.set(Z,d.length),d=C;let W;while((W=Pb4(d))!==-1)yield d.slice(0,W),d=d.slice(W)}if(d.length>0)yield d}function Pb4(I){for(let Z=0;Z<I.length-2;Z++){if(I[Z]===10&&I[Z+1]===10)return Z+2;if(I[Z]===13&&I[Z+1]===13)return Z+2;if(I[Z]===13&&I[Z+1]===10&&Z+3<I.length&&I[Z+2]===13&&I[Z+3]===10)return Z+4}return-1}class H50{constructor(){this.event=null,this.data=[],this.chunks=[]}decode(I){if(I.endsWith("\r"))I=I.substring(0,I.length-1);if(!I){if(!this.event&&!this.data.length)return null;let C={event:this.event,data:this.data.join(`
`),raw:this.chunks};return this.event=null,this.data=[],this.chunks=[],C}if(this.chunks.push(I),I.startsWith(":"))return null;let[d,G,Z]=$b4(I,":");if(Z.startsWith(" "))Z=Z.substring(1);if(d==="event")this.event=Z;else if(d==="data")this.data.push(Z);return null}}function $b4(I,d){let G=I.indexOf(d);if(G!==-1)return[I.substring(0,G),d,I.substring(G+d.length)];return[I,"",""]}var ub4=(I)=>I!=null&&typeof I==="object"&&typeof I.url==="string"&&typeof I.blob==="function",Tb4=(I)=>I!=null&&typeof I==="object"&&typeof I.name==="string"&&typeof I.lastModified==="number"&&kS(I),kS=(I)=>I!=null&&typeof I==="object"&&typeof I.size==="number"&&typeof I.type==="string"&&typeof I.text==="function"&&typeof I.slice==="function"&&typeof I.arrayBuffer==="function";async function F50(I,d,G){if(I=await I,Tb4(I))return I;if(ub4(I)){let C=await I.blob();d||(d=new URL(I.url).pathname.split(/[\\/]/).pop()??"unknown_file");let W=kS(C)?[await C.arrayBuffer()]:[C];return new Pb(W,d,G)}let Z=await Ob4(I);if(d||(d=lb4(I)??"unknown_file"),!G?.type){let C=Z[0]?.type;if(typeof C==="string")G={...G,type:C}}return new Pb(Z,d,G)}async function Ob4(I){let d=[];if(typeof I==="string"||ArrayBuffer.isView(I)||I instanceof ArrayBuffer)d.push(I);else if(kS(I))d.push(await I.arrayBuffer());else if(bb4(I))for await(let G of I)d.push(G);else throw new Error(`Unexpected data type: ${typeof I}; constructor: ${I?.constructor?.name}; props: ${mb4(I)}`);return d}function mb4(I){return`[${Object.getOwnPropertyNames(I).map((G)=>`"${G}"`).join(", ")}]`}function lb4(I){return G71(I.name)||G71(I.filename)||G71(I.path)?.split(/[\\/]/).pop()}var G71=(I)=>{if(typeof I==="string")return I;if(typeof Buffer!=="undefined"&&I instanceof Buffer)return String(I);return},bb4=(I)=>I!=null&&typeof I==="object"&&typeof I[Symbol.asyncIterator]==="function",Z71=(I)=>I&&typeof I==="object"&&I.body&&I[Symbol.toStringTag]==="MultipartBody";var jb4=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},kb4=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},Mx;async function z50(I){let{response:d}=I;if(I.options.stream){if(Jf("response",d.status,d.url,d.headers,d.body),I.options.__streamClass)return I.options.__streamClass.fromSSEResponse(d,I.controller);return BI.fromSSEResponse(d,I.controller)}if(d.status===204)return null;if(I.options.__binaryResponse)return d;let G=d.headers.get("content-type");if(G?.includes("application/json")||G?.includes("application/vnd.api+json")){let W=await d.json();return Jf("response",d.status,d.url,d.headers,W),Q50(W,d)}let C=await d.text();return Jf("response",d.status,d.url,d.headers,C),C}function Q50(I,d){if(!I||typeof I!=="object"||Array.isArray(I))return I;return Object.defineProperty(I,"_request_id",{value:d.headers.get("request-id"),enumerable:!1})}class Sx extends Promise{constructor(I,d=z50){super((G)=>{G(null)});this.responsePromise=I,this.parseResponse=d}_thenUnwrap(I){return new Sx(this.responsePromise,async(d)=>Q50(I(await this.parseResponse(d),d),d.response))}asResponse(){return this.responsePromise.then((I)=>I.response)}async withResponse(){let[I,d]=await Promise.all([this.parse(),this.asResponse()]);return{data:I,response:d,request_id:d.headers.get("request-id")}}parse(){if(!this.parsedPromise)this.parsedPromise=this.responsePromise.then(this.parseResponse);return this.parsedPromise}then(I,d){return this.parse().then(I,d)}catch(I){return this.parse().catch(I)}finally(I){return this.parse().finally(I)}}class mg{constructor({baseURL:I,maxRetries:d=2,timeout:G=600000,httpAgent:Z,fetch:C}){this.baseURL=I,this.maxRetries=C71("maxRetries",d),this.timeout=C71("timeout",G),this.httpAgent=Z,this.fetch=C??w41}authHeaders(I){return{}}defaultHeaders(I){return{Accept:"application/json","Content-Type":"application/json","User-Agent":this.getUserAgent(),...ib4(),...this.authHeaders(I)}}validateHeaders(I,d){}defaultIdempotencyKey(){return`stainless-node-retry-${sb4()}`}get(I,d){return this.methodRequest("get",I,d)}post(I,d){return this.methodRequest("post",I,d)}patch(I,d){return this.methodRequest("patch",I,d)}put(I,d){return this.methodRequest("put",I,d)}delete(I,d){return this.methodRequest("delete",I,d)}methodRequest(I,d,G){return this.request(Promise.resolve(G).then(async(Z)=>{let C=Z&&kS(Z?.body)?new DataView(await Z.body.arrayBuffer()):Z?.body instanceof DataView?Z.body:Z?.body instanceof ArrayBuffer?new DataView(Z.body):Z&&ArrayBuffer.isView(Z?.body)?new DataView(Z.body.buffer):Z?.body;return{method:I,path:d,...Z,body:C}}))}getAPIList(I,d,G){return this.requestAPIList(d,{method:"get",path:I,...G})}calculateContentLength(I){if(typeof I==="string"){if(typeof Buffer!=="undefined")return Buffer.byteLength(I,"utf8").toString();if(typeof TextEncoder!=="undefined")return new TextEncoder().encode(I).length.toString()}else if(ArrayBuffer.isView(I))return I.byteLength.toString();return null}buildRequest(I,{retryCount:d=0}={}){I={...I};let{method:G,path:Z,query:C,headers:W={}}=I,w=ArrayBuffer.isView(I.body)||I.__binaryRequest&&typeof I.body==="string"?I.body:Z71(I.body)?I.body.body:I.body?JSON.stringify(I.body,null,2):null,B=this.calculateContentLength(w),A=this.buildURL(Z,C);if("timeout"in I)C71("timeout",I.timeout);I.timeout=I.timeout??this.timeout;let V=I.httpAgent??this.httpAgent??A41(A),X=I.timeout+1000;if(typeof V?.options?.timeout==="number"&&X>(V.options.timeout??0))V.options.timeout=X;if(this.idempotencyHeader&&G!=="get"){if(!I.idempotencyKey)I.idempotencyKey=this.defaultIdempotencyKey();W[this.idempotencyHeader]=I.idempotencyKey}let _=this.buildHeaders({options:I,headers:W,contentLength:B,retryCount:d});return{req:{method:G,...w&&{body:w},headers:_,...V&&{agent:V},signal:I.signal??null},url:A,timeout:I.timeout}}buildHeaders({options:I,headers:d,contentLength:G,retryCount:Z}){let C={};if(G)C["content-length"]=G;let W=this.defaultHeaders(I);if(N50(C,W),N50(C,d),Z71(I.body)&&pF!=="node")delete C["content-type"];if(gf(W,"x-stainless-retry-count")===void 0&&gf(d,"x-stainless-retry-count")===void 0)C["x-stainless-retry-count"]=String(Z);if(gf(W,"x-stainless-timeout")===void 0&&gf(d,"x-stainless-timeout")===void 0&&I.timeout)C["x-stainless-timeout"]=String(I.timeout);return this.validateHeaders(C,d),C}async prepareOptions(I){}async prepareRequest(I,{url:d,options:G}){}parseHeaders(I){return!I?{}:(Symbol.iterator in I)?Object.fromEntries(Array.from(I).map((d)=>[...d])):{...I}}makeStatusError(I,d,G,Z){return f9.generate(I,d,G,Z)}request(I,d=null){return new Sx(this.makeRequest(I,d))}async makeRequest(I,d){let G=await I,Z=G.maxRetries??this.maxRetries;if(d==null)d=Z;await this.prepareOptions(G);let{req:C,url:W,timeout:w}=this.buildRequest(G,{retryCount:Z-d});if(await this.prepareRequest(C,{url:W,options:G}),Jf("request",W,G,C.headers),G.signal?.aborted)throw new p8;let B=new AbortController,A=await this.fetchWithTimeout(W,C,w,B).catch(vx);if(A instanceof Error){if(G.signal?.aborted)throw new p8;if(d)return this.retryRequest(G,d);if(A.name==="AbortError")throw new Ff;throw new rw({cause:A})}let V=jS(A.headers);if(!A.ok){if(d&&this.shouldRetry(A)){let K=`retrying, ${d} attempts remaining`;return Jf(`response (error; ${K})`,A.status,W,V),this.retryRequest(G,d,V)}let X=await A.text().catch((K)=>vx(K).message),_=w71(X),F=_?void 0:X;throw Jf(`response (error; ${d?"(error; no more retries left)":"(error; not retryable)"})`,A.status,W,V,F),this.makeStatusError(A.status,_,F,V)}return{response:A,options:G,controller:B}}requestAPIList(I,d){let G=this.makeRequest(d,null);return new f50(this,G,I)}buildURL(I,d){let G=rb4(I)?new URL(I):new URL(this.baseURL+(this.baseURL.endsWith("/")&&I.startsWith("/")?I.slice(1):I)),Z=this.defaultQuery();if(!xS(Z))d={...Z,...d};if(typeof d==="object"&&d&&!Array.isArray(d))G.search=this.stringifyQuery(d);return G.toString()}stringifyQuery(I){return Object.entries(I).filter(([d,G])=>typeof G!=="undefined").map(([d,G])=>{if(typeof G==="string"||typeof G==="number"||typeof G==="boolean")return`${encodeURIComponent(d)}=${encodeURIComponent(G)}`;if(G===null)return`${encodeURIComponent(d)}=`;throw new Y4(`Cannot stringify type ${typeof G}; Expected string, number, boolean, or null. If you need to pass nested query parameters, you can manually encode them, e.g. { query: { 'foo[key1]': value1, 'foo[key2]': value2 } }, and please open a GitHub issue requesting better support for your use case.`)}).join("&")}async fetchWithTimeout(I,d,G,Z){let{signal:C,...W}=d||{};if(C)C.addEventListener("abort",()=>Z.abort());let w=setTimeout(()=>Z.abort(),G),B={signal:Z.signal,...W};if(B.method)B.method=B.method.toUpperCase();return this.fetch.call(void 0,I,B).finally(()=>{clearTimeout(w)})}shouldRetry(I){let d=I.headers.get("x-should-retry");if(d==="true")return!0;if(d==="false")return!1;if(I.status===408)return!0;if(I.status===409)return!0;if(I.status===429)return!0;if(I.status>=500)return!0;return!1}async retryRequest(I,d,G){let Z,C=G?.["retry-after-ms"];if(C){let w=parseFloat(C);if(!Number.isNaN(w))Z=w}let W=G?.["retry-after"];if(W&&!Z){let w=parseFloat(W);if(!Number.isNaN(w))Z=w*1000;else Z=Date.parse(W)-Date.now()}if(!(Z&&0<=Z&&Z<60000)){let w=I.maxRetries??this.maxRetries;Z=this.calculateDefaultRetryTimeoutMillis(d,w)}return await ab4(Z),this.makeRequest(I,d-1)}calculateDefaultRetryTimeoutMillis(I,d){let C=d-I,W=Math.min(0.5*Math.pow(2,C),8),w=1-Math.random()*0.25;return W*w*1000}getUserAgent(){return`${this.constructor.name}/JS ${ug}`}}class W71{constructor(I,d,G,Z){Mx.set(this,void 0),jb4(this,Mx,I,"f"),this.options=Z,this.response=d,this.body=G}hasNextPage(){if(!this.getPaginatedItems().length)return!1;return this.nextPageInfo()!=null}async getNextPage(){let I=this.nextPageInfo();if(!I)throw new Y4("No next page expected; please check `.hasNextPage()` before calling `.getNextPage()`.");let d={...this.options};if("params"in I&&typeof d.query==="object")d.query={...d.query,...I.params};else if("url"in I){let G=[...Object.entries(d.query||{}),...I.url.searchParams.entries()];for(let[Z,C]of G)I.url.searchParams.set(Z,C);d.query=void 0,d.path=I.url.toString()}return await kb4(this,Mx,"f").requestAPIList(this.constructor,d)}async*iterPages(){let I=this;yield I;while(I.hasNextPage())I=await I.getNextPage(),yield I}async*[(Mx=new WeakMap,Symbol.asyncIterator)](){for await(let I of this.iterPages())for(let d of I.getPaginatedItems())yield d}}class f50 extends Sx{constructor(I,d,G){super(d,async(Z)=>new G(I,Z.response,await z50(Z),Z.options))}async*[Symbol.asyncIterator](){let I=await this;for await(let d of I)yield d}}var jS=(I)=>{return new Proxy(Object.fromEntries(I.entries()),{get(d,G){let Z=G.toString();return d[Z.toLowerCase()]||d[Z]}})},xb4={method:!0,path:!0,query:!0,body:!0,headers:!0,maxRetries:!0,stream:!0,timeout:!0,httpAgent:!0,signal:!0,idempotencyKey:!0,__binaryRequest:!0,__binaryResponse:!0,__streamClass:!0},gZ=(I)=>{return typeof I==="object"&&I!==null&&!xS(I)&&Object.keys(I).every((d)=>q50(xb4,d))},cb4=()=>{if(typeof Deno!=="undefined"&&Deno.build!=null)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":ug,"X-Stainless-OS":J50(Deno.build.os),"X-Stainless-Arch":g50(Deno.build.arch),"X-Stainless-Runtime":"deno","X-Stainless-Runtime-Version":typeof Deno.version==="string"?Deno.version:Deno.version?.deno??"unknown"};if(typeof EdgeRuntime!=="undefined")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":ug,"X-Stainless-OS":"Unknown","X-Stainless-Arch":`other:${EdgeRuntime}`,"X-Stainless-Runtime":"edge","X-Stainless-Runtime-Version":process.version};if(Object.prototype.toString.call(typeof process!=="undefined"?process:0)==="[object process]")return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":ug,"X-Stainless-OS":J50(process.platform),"X-Stainless-Arch":g50(process.arch),"X-Stainless-Runtime":"node","X-Stainless-Runtime-Version":process.version};let I=pb4();if(I)return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":ug,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":`browser:${I.browser}`,"X-Stainless-Runtime-Version":I.version};return{"X-Stainless-Lang":"js","X-Stainless-Package-Version":ug,"X-Stainless-OS":"Unknown","X-Stainless-Arch":"unknown","X-Stainless-Runtime":"unknown","X-Stainless-Runtime-Version":"unknown"}};function pb4(){if(typeof navigator==="undefined"||!navigator)return null;let I=[{key:"edge",pattern:/Edge(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/MSIE(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"ie",pattern:/Trident(?:.*rv\:(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"chrome",pattern:/Chrome(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"firefox",pattern:/Firefox(?:\W+(\d+)\.(\d+)(?:\.(\d+))?)?/},{key:"safari",pattern:/(?:Version\W+(\d+)\.(\d+)(?:\.(\d+))?)?(?:\W+Mobile\S*)?\W+Safari/}];for(let{key:d,pattern:G}of I){let Z=G.exec(navigator.userAgent);if(Z){let C=Z[1]||0,W=Z[2]||0,w=Z[3]||0;return{browser:d,version:`${C}.${W}.${w}`}}}return null}var g50=(I)=>{if(I==="x32")return"x32";if(I==="x86_64"||I==="x64")return"x64";if(I==="arm")return"arm";if(I==="aarch64"||I==="arm64")return"arm64";if(I)return`other:${I}`;return"unknown"},J50=(I)=>{if(I=I.toLowerCase(),I.includes("ios"))return"iOS";if(I==="android")return"Android";if(I==="darwin")return"MacOS";if(I==="win32")return"Windows";if(I==="freebsd")return"FreeBSD";if(I==="openbsd")return"OpenBSD";if(I==="linux")return"Linux";if(I)return`Other:${I}`;return"Unknown"},K50,ib4=()=>{return K50??(K50=cb4())},w71=(I)=>{try{return JSON.parse(I)}catch(d){return}},nb4=/^[a-z][a-z0-9+.-]*:/i,rb4=(I)=>{return nb4.test(I)},ab4=(I)=>new Promise((d)=>setTimeout(d,I)),C71=(I,d)=>{if(typeof d!=="number"||!Number.isInteger(d))throw new Y4(`${I} must be an integer`);if(d<0)throw new Y4(`${I} must be a positive integer`);return d},vx=(I)=>{if(I instanceof Error)return I;if(typeof I==="object"&&I!==null)try{return new Error(JSON.stringify(I))}catch{}return new Error(String(I))};var lC=(I)=>{if(typeof process!=="undefined")return process.env?.[I]?.trim()??void 0;if(typeof Deno!=="undefined")return Deno.env?.get?.(I)?.trim();return};function xS(I){if(!I)return!0;for(let d in I)return!1;return!0}function q50(I,d){return Object.prototype.hasOwnProperty.call(I,d)}function N50(I,d){for(let G in d){if(!q50(d,G))continue;let Z=G.toLowerCase();if(!Z)continue;let C=d[G];if(C===null)delete I[Z];else if(C!==void 0)I[Z]=C}}function Jf(I,...d){if(typeof process!=="undefined"&&process?.env?.DEBUG==="true")console.log(`Anthropic:DEBUG:${I}`,...d)}var sb4=()=>{return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(I)=>{let d=Math.random()*16|0;return(I==="x"?d:d&3|8).toString(16)})},R50=()=>{return typeof window!=="undefined"&&typeof window.document!=="undefined"&&typeof navigator!=="undefined"},ob4=(I)=>{return typeof I?.get==="function"};var gf=(I,d)=>{let G=d.toLowerCase();if(ob4(I)){let Z=d[0]?.toUpperCase()+d.substring(1).replace(/([^\w])(\w)/g,(C,W,w)=>W+w.toUpperCase());for(let C of[d,G,d.toUpperCase(),Z]){let W=I.get(C);if(W)return W}}for(let[Z,C]of Object.entries(I))if(Z.toLowerCase()===G){if(Array.isArray(C)){if(C.length<=1)return C[0];return console.warn(`Received ${C.length} entries for the ${d} header, using the first entry.`),C[0]}return C}return};function q_(I){return I!=null&&typeof I==="object"&&!Array.isArray(I)}class YV extends W71{constructor(I,d,G,Z){super(I,d,G,Z);this.data=G.data||[],this.has_more=G.has_more||!1,this.first_id=G.first_id||null,this.last_id=G.last_id||null}getPaginatedItems(){return this.data??[]}hasNextPage(){if(this.has_more===!1)return!1;return super.hasNextPage()}nextPageParams(){let I=this.nextPageInfo();if(!I)return null;if("params"in I)return I.params;let d=Object.fromEntries(I.url.searchParams);if(!Object.keys(d).length)return null;return d}nextPageInfo(){if(this.options.query?.before_id){let d=this.first_id;if(!d)return null;return{params:{before_id:d}}}let I=this.last_id;if(!I)return null;return{params:{after_id:I}}}}class i8{constructor(I){this._client=I}}class Kf extends i8{retrieve(I,d){return this._client.get(`/v1/models/${I}?beta=true`,d)}list(I={},d){if(gZ(I))return this.list({},I);return this._client.getAPIList("/v1/models?beta=true",cS,{query:I,...d})}}class cS extends YV{}Kf.BetaModelInfosPage=cS;class Nf{constructor(I,d){this.iterator=I,this.controller=d}async*decoder(){let I=new f_;for await(let d of this.iterator)for(let G of I.decode(d))yield JSON.parse(G);for(let d of I.flush())yield JSON.parse(d)}[Symbol.asyncIterator](){return this.decoder()}static fromResponse(I,d){if(!I.body)throw d.abort(),new Y4("Attempted to iterate over a response with no body");return new Nf(Og(I.body),d)}}class zf extends i8{create(I,d){let{betas:G,...Z}=I;return this._client.post("/v1/messages/batches?beta=true",{body:Z,...d,headers:{"anthropic-beta":[...G??[],"message-batches-2024-09-24"].toString(),...d?.headers}})}retrieve(I,d={},G){if(gZ(d))return this.retrieve(I,{},d);let{betas:Z}=d;return this._client.get(`/v1/messages/batches/${I}?beta=true`,{...G,headers:{"anthropic-beta":[...Z??[],"message-batches-2024-09-24"].toString(),...G?.headers}})}list(I={},d){if(gZ(I))return this.list({},I);let{betas:G,...Z}=I;return this._client.getAPIList("/v1/messages/batches?beta=true",pS,{query:Z,...d,headers:{"anthropic-beta":[...G??[],"message-batches-2024-09-24"].toString(),...d?.headers}})}delete(I,d={},G){if(gZ(d))return this.delete(I,{},d);let{betas:Z}=d;return this._client.delete(`/v1/messages/batches/${I}?beta=true`,{...G,headers:{"anthropic-beta":[...Z??[],"message-batches-2024-09-24"].toString(),...G?.headers}})}cancel(I,d={},G){if(gZ(d))return this.cancel(I,{},d);let{betas:Z}=d;return this._client.post(`/v1/messages/batches/${I}/cancel?beta=true`,{...G,headers:{"anthropic-beta":[...Z??[],"message-batches-2024-09-24"].toString(),...G?.headers}})}async results(I,d={},G){if(gZ(d))return this.results(I,{},d);let Z=await this.retrieve(I);if(!Z.results_url)throw new Y4(`No batch \`results_url\`; Has it finished processing? ${Z.processing_status} - ${Z.id}`);let{betas:C}=d;return this._client.get(Z.results_url,{...G,headers:{"anthropic-beta":[...C??[],"message-batches-2024-09-24"].toString(),Accept:"application/binary",...G?.headers},__binaryResponse:!0})._thenUnwrap((W,w)=>Nf.fromResponse(w.response,w.controller))}}class pS extends YV{}zf.BetaMessageBatchesPage=pS;var Ih4=(I)=>{let d=0,G=[];while(d<I.length){let Z=I[d];if(Z==="\\"){d++;continue}if(Z==="{"){G.push({type:"brace",value:"{"}),d++;continue}if(Z==="}"){G.push({type:"brace",value:"}"}),d++;continue}if(Z==="["){G.push({type:"paren",value:"["}),d++;continue}if(Z==="]"){G.push({type:"paren",value:"]"}),d++;continue}if(Z===":"){G.push({type:"separator",value:":"}),d++;continue}if(Z===","){G.push({type:"delimiter",value:","}),d++;continue}if(Z==='"'){let B="",A=!1;Z=I[++d];while(Z!=='"'){if(d===I.length){A=!0;break}if(Z==="\\"){if(d++,d===I.length){A=!0;break}B+=Z+I[d],Z=I[++d]}else B+=Z,Z=I[++d]}if(Z=I[++d],!A)G.push({type:"string",value:B});continue}if(Z&&/\s/.test(Z)){d++;continue}let W=/[0-9]/;if(Z&&W.test(Z)||Z==="-"||Z==="."){let B="";if(Z==="-")B+=Z,Z=I[++d];while(Z&&W.test(Z)||Z===".")B+=Z,Z=I[++d];G.push({type:"number",value:B});continue}let w=/[a-z]/i;if(Z&&w.test(Z)){let B="";while(Z&&w.test(Z)){if(d===I.length)break;B+=Z,Z=I[++d]}if(B=="true"||B=="false"||B==="null")G.push({type:"name",value:B});else{d++;continue}continue}d++}return G},Qf=(I)=>{if(I.length===0)return I;let d=I[I.length-1];switch(d.type){case"separator":return I=I.slice(0,I.length-1),Qf(I);break;case"number":let G=d.value[d.value.length-1];if(G==="."||G==="-")return I=I.slice(0,I.length-1),Qf(I);case"string":let Z=I[I.length-2];if(Z?.type==="delimiter")return I=I.slice(0,I.length-1),Qf(I);else if(Z?.type==="brace"&&Z.value==="{")return I=I.slice(0,I.length-1),Qf(I);break;case"delimiter":return I=I.slice(0,I.length-1),Qf(I);break}return I},dh4=(I)=>{let d=[];if(I.map((G)=>{if(G.type==="brace")if(G.value==="{")d.push("}");else d.splice(d.lastIndexOf("}"),1);if(G.type==="paren")if(G.value==="[")d.push("]");else d.splice(d.lastIndexOf("]"),1)}),d.length>0)d.reverse().map((G)=>{if(G==="}")I.push({type:"brace",value:"}"});else if(G==="]")I.push({type:"paren",value:"]"})});return I},Gh4=(I)=>{let d="";return I.map((G)=>{switch(G.type){case"string":d+='"'+G.value+'"';break;default:d+=G.value;break}}),d},Lx=(I)=>JSON.parse(Gh4(dh4(Qf(Ih4(I)))));var S7=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},b4=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},JZ,R_,iS,yx,nS,rS,Px,aS,_V,sS,$x,ux,ff,Tx,Ox,A71,U50,V71,X71,Y71,_71,v50,E50="__json_buf";class oS{constructor(){JZ.add(this),this.messages=[],this.receivedMessages=[],R_.set(this,void 0),this.controller=new AbortController,iS.set(this,void 0),yx.set(this,()=>{}),nS.set(this,()=>{}),rS.set(this,void 0),Px.set(this,()=>{}),aS.set(this,()=>{}),_V.set(this,{}),sS.set(this,!1),$x.set(this,!1),ux.set(this,!1),ff.set(this,!1),Tx.set(this,void 0),Ox.set(this,void 0),V71.set(this,(I)=>{if(S7(this,$x,!0,"f"),I instanceof Error&&I.name==="AbortError")I=new p8;if(I instanceof p8)return S7(this,ux,!0,"f"),this._emit("abort",I);if(I instanceof Y4)return this._emit("error",I);if(I instanceof Error){let d=new Y4(I.message);return d.cause=I,this._emit("error",d)}return this._emit("error",new Y4(String(I)))}),S7(this,iS,new Promise((I,d)=>{S7(this,yx,I,"f"),S7(this,nS,d,"f")}),"f"),S7(this,rS,new Promise((I,d)=>{S7(this,Px,I,"f"),S7(this,aS,d,"f")}),"f"),b4(this,iS,"f").catch(()=>{}),b4(this,rS,"f").catch(()=>{})}get response(){return b4(this,Tx,"f")}get request_id(){return b4(this,Ox,"f")}async withResponse(){let I=await b4(this,iS,"f");if(!I)throw new Error("Could not resolve a `Response` object");return{data:this,response:I,request_id:I.headers.get("request-id")}}static fromReadableStream(I){let d=new oS;return d._run(()=>d._fromReadableStream(I)),d}static createMessage(I,d,G){let Z=new oS;for(let C of d.messages)Z._addMessageParam(C);return Z._run(()=>Z._createMessage(I,{...d,stream:!0},{...G,headers:{...G?.headers,"X-Stainless-Helper-Method":"stream"}})),Z}_run(I){I().then(()=>{this._emitFinal(),this._emit("end")},b4(this,V71,"f"))}_addMessageParam(I){this.messages.push(I)}_addMessage(I,d=!0){if(this.receivedMessages.push(I),d)this._emit("message",I)}async _createMessage(I,d,G){let Z=G?.signal;if(Z){if(Z.aborted)this.controller.abort();Z.addEventListener("abort",()=>this.controller.abort())}b4(this,JZ,"m",X71).call(this);let{response:C,data:W}=await I.create({...d,stream:!0},{...G,signal:this.controller.signal}).withResponse();this._connected(C);for await(let w of W)b4(this,JZ,"m",Y71).call(this,w);if(W.controller.signal?.aborted)throw new p8;b4(this,JZ,"m",_71).call(this)}_connected(I){if(this.ended)return;S7(this,Tx,I,"f"),S7(this,Ox,I?.headers.get("request-id"),"f"),b4(this,yx,"f").call(this,I),this._emit("connect")}get ended(){return b4(this,sS,"f")}get errored(){return b4(this,$x,"f")}get aborted(){return b4(this,ux,"f")}abort(){this.controller.abort()}on(I,d){return(b4(this,_V,"f")[I]||(b4(this,_V,"f")[I]=[])).push({listener:d}),this}off(I,d){let G=b4(this,_V,"f")[I];if(!G)return this;let Z=G.findIndex((C)=>C.listener===d);if(Z>=0)G.splice(Z,1);return this}once(I,d){return(b4(this,_V,"f")[I]||(b4(this,_V,"f")[I]=[])).push({listener:d,once:!0}),this}emitted(I){return new Promise((d,G)=>{if(S7(this,ff,!0,"f"),I!=="error")this.once("error",G);this.once(I,d)})}async done(){S7(this,ff,!0,"f"),await b4(this,rS,"f")}get currentMessage(){return b4(this,R_,"f")}async finalMessage(){return await this.done(),b4(this,JZ,"m",A71).call(this)}async finalText(){return await this.done(),b4(this,JZ,"m",U50).call(this)}_emit(I,...d){if(b4(this,sS,"f"))return;if(I==="end")S7(this,sS,!0,"f"),b4(this,Px,"f").call(this);let G=b4(this,_V,"f")[I];if(G)b4(this,_V,"f")[I]=G.filter((Z)=>!Z.once),G.forEach(({listener:Z})=>Z(...d));if(I==="abort"){let Z=d[0];if(!b4(this,ff,"f")&&!G?.length)Promise.reject(Z);b4(this,nS,"f").call(this,Z),b4(this,aS,"f").call(this,Z),this._emit("end");return}if(I==="error"){let Z=d[0];if(!b4(this,ff,"f")&&!G?.length)Promise.reject(Z);b4(this,nS,"f").call(this,Z),b4(this,aS,"f").call(this,Z),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",b4(this,JZ,"m",A71).call(this))}async _fromReadableStream(I,d){let G=d?.signal;if(G){if(G.aborted)this.controller.abort();G.addEventListener("abort",()=>this.controller.abort())}b4(this,JZ,"m",X71).call(this),this._connected(null);let Z=BI.fromReadableStream(I,this.controller);for await(let C of Z)b4(this,JZ,"m",Y71).call(this,C);if(Z.controller.signal?.aborted)throw new p8;b4(this,JZ,"m",_71).call(this)}[(R_=new WeakMap,iS=new WeakMap,yx=new WeakMap,nS=new WeakMap,rS=new WeakMap,Px=new WeakMap,aS=new WeakMap,_V=new WeakMap,sS=new WeakMap,$x=new WeakMap,ux=new WeakMap,ff=new WeakMap,Tx=new WeakMap,Ox=new WeakMap,V71=new WeakMap,JZ=new WeakSet,A71=function I(){if(this.receivedMessages.length===0)throw new Y4("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},U50=function I(){if(this.receivedMessages.length===0)throw new Y4("stream ended without producing a Message with role=assistant");let d=this.receivedMessages.at(-1).content.filter((G)=>G.type==="text").map((G)=>G.text);if(d.length===0)throw new Y4("stream ended without producing a content block with type=text");return d.join(" ")},X71=function I(){if(this.ended)return;S7(this,R_,void 0,"f")},Y71=function I(d){if(this.ended)return;let G=b4(this,JZ,"m",v50).call(this,d);switch(this._emit("streamEvent",d,G),d.type){case"content_block_delta":{let Z=G.content.at(-1);switch(d.delta.type){case"text_delta":{if(Z.type==="text")this._emit("text",d.delta.text,Z.text||"");break}case"citations_delta":{if(Z.type==="text")this._emit("citation",d.delta.citation,Z.citations??[]);break}case"input_json_delta":{if(Z.type==="tool_use"&&Z.input)this._emit("inputJson",d.delta.partial_json,Z.input);break}case"thinking_delta":{if(Z.type==="thinking")this._emit("thinking",d.delta.thinking,Z.thinking);break}case"signature_delta":break;default:M50(d.delta)}break}case"message_stop":{this._addMessageParam(G),this._addMessage(G,!0);break}case"content_block_stop":{this._emit("contentBlock",G.content.at(-1));break}case"message_start":{S7(this,R_,G,"f");break}case"content_block_start":case"message_delta":break}},_71=function I(){if(this.ended)throw new Y4("stream has ended, this shouldn't happen");let d=b4(this,R_,"f");if(!d)throw new Y4("request ended without sending any chunks");return S7(this,R_,void 0,"f"),d},v50=function I(d){let G=b4(this,R_,"f");if(d.type==="message_start"){if(G)throw new Y4(`Unexpected event order, got ${d.type} before receiving "message_stop"`);return d.message}if(!G)throw new Y4(`Unexpected event order, got ${d.type} before "message_start"`);switch(d.type){case"message_stop":return G;case"message_delta":return G.stop_reason=d.delta.stop_reason,G.stop_sequence=d.delta.stop_sequence,G.usage.output_tokens=d.usage.output_tokens,G;case"content_block_start":return G.content.push(d.content_block),G;case"content_block_delta":{let Z=G.content.at(d.index);switch(d.delta.type){case"text_delta":{if(Z?.type==="text")Z.text+=d.delta.text;break}case"citations_delta":{if(Z?.type==="text")Z.citations??(Z.citations=[]),Z.citations.push(d.delta.citation);break}case"input_json_delta":{if(Z?.type==="tool_use"){let C=Z[E50]||"";if(C+=d.delta.partial_json,Object.defineProperty(Z,E50,{value:C,enumerable:!1,writable:!0}),C)Z.input=Lx(C)}break}case"thinking_delta":{if(Z?.type==="thinking")Z.thinking+=d.delta.thinking;break}case"signature_delta":{if(Z?.type==="thinking")Z.signature+=d.delta.signature;break}default:M50(d.delta)}return G}case"content_block_stop":return G}},Symbol.asyncIterator)](){let I=[],d=[],G=!1;return this.on("streamEvent",(Z)=>{let C=d.shift();if(C)C.resolve(Z);else I.push(Z)}),this.on("end",()=>{G=!0;for(let Z of d)Z.resolve(void 0);d.length=0}),this.on("abort",(Z)=>{G=!0;for(let C of d)C.reject(Z);d.length=0}),this.on("error",(Z)=>{G=!0;for(let C of d)C.reject(Z);d.length=0}),{next:async()=>{if(!I.length){if(G)return{value:void 0,done:!0};return new Promise((C,W)=>d.push({resolve:C,reject:W})).then((C)=>C?{value:C,done:!1}:{value:void 0,done:!0})}return{value:I.shift(),done:!1}},return:async()=>{return this.abort(),{value:void 0,done:!0}}}}toReadableStream(){return new BI(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function M50(I){}var S50={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025"};class lg extends i8{constructor(){super(...arguments);this.batches=new zf(this._client)}create(I,d){let{betas:G,...Z}=I;if(Z.model in S50)console.warn(`The model '${Z.model}' is deprecated and will reach end-of-life on ${S50[Z.model]}
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);return this._client.post("/v1/messages?beta=true",{body:Z,timeout:this._client._options.timeout??600000,...d,headers:{...G?.toString()!=null?{"anthropic-beta":G?.toString()}:void 0,...d?.headers},stream:I.stream??!1})}stream(I,d){return oS.createMessage(this,I,d)}countTokens(I,d){let{betas:G,...Z}=I;return this._client.post("/v1/messages/count_tokens?beta=true",{body:Z,...d,headers:{"anthropic-beta":[...G??[],"token-counting-2024-11-01"].toString(),...d?.headers}})}}lg.Batches=zf;lg.BetaMessageBatchesPage=pS;class IG extends i8{constructor(){super(...arguments);this.models=new Kf(this._client),this.messages=new lg(this._client)}}IG.Models=Kf;IG.BetaModelInfosPage=cS;IG.Messages=lg;class U_ extends i8{create(I,d){return this._client.post("/v1/complete",{body:I,timeout:this._client._options.timeout??600000,...d,stream:I.stream??!1})}}class qf extends i8{create(I,d){return this._client.post("/v1/messages/batches",{body:I,...d})}retrieve(I,d){return this._client.get(`/v1/messages/batches/${I}`,d)}list(I={},d){if(gZ(I))return this.list({},I);return this._client.getAPIList("/v1/messages/batches",eS,{query:I,...d})}delete(I,d){return this._client.delete(`/v1/messages/batches/${I}`,d)}cancel(I,d){return this._client.post(`/v1/messages/batches/${I}/cancel`,d)}async results(I,d){let G=await this.retrieve(I);if(!G.results_url)throw new Y4(`No batch \`results_url\`; Has it finished processing? ${G.processing_status} - ${G.id}`);return this._client.get(G.results_url,{...d,headers:{Accept:"application/binary",...d?.headers},__binaryResponse:!0})._thenUnwrap((Z,C)=>Nf.fromResponse(C.response,C.controller))}}class eS extends YV{}qf.MessageBatchesPage=eS;var L7=function(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G},h4=function(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)},KZ,v_,tS,mx,IL,dL,lx,GL,DV,ZL,bx,hx,Rf,jx,kx,D71,L50,H71,F71,g71,J71,y50,P50="__json_buf";class CL{constructor(){KZ.add(this),this.messages=[],this.receivedMessages=[],v_.set(this,void 0),this.controller=new AbortController,tS.set(this,void 0),mx.set(this,()=>{}),IL.set(this,()=>{}),dL.set(this,void 0),lx.set(this,()=>{}),GL.set(this,()=>{}),DV.set(this,{}),ZL.set(this,!1),bx.set(this,!1),hx.set(this,!1),Rf.set(this,!1),jx.set(this,void 0),kx.set(this,void 0),H71.set(this,(I)=>{if(L7(this,bx,!0,"f"),I instanceof Error&&I.name==="AbortError")I=new p8;if(I instanceof p8)return L7(this,hx,!0,"f"),this._emit("abort",I);if(I instanceof Y4)return this._emit("error",I);if(I instanceof Error){let d=new Y4(I.message);return d.cause=I,this._emit("error",d)}return this._emit("error",new Y4(String(I)))}),L7(this,tS,new Promise((I,d)=>{L7(this,mx,I,"f"),L7(this,IL,d,"f")}),"f"),L7(this,dL,new Promise((I,d)=>{L7(this,lx,I,"f"),L7(this,GL,d,"f")}),"f"),h4(this,tS,"f").catch(()=>{}),h4(this,dL,"f").catch(()=>{})}get response(){return h4(this,jx,"f")}get request_id(){return h4(this,kx,"f")}async withResponse(){let I=await h4(this,tS,"f");if(!I)throw new Error("Could not resolve a `Response` object");return{data:this,response:I,request_id:I.headers.get("request-id")}}static fromReadableStream(I){let d=new CL;return d._run(()=>d._fromReadableStream(I)),d}static createMessage(I,d,G){let Z=new CL;for(let C of d.messages)Z._addMessageParam(C);return Z._run(()=>Z._createMessage(I,{...d,stream:!0},{...G,headers:{...G?.headers,"X-Stainless-Helper-Method":"stream"}})),Z}_run(I){I().then(()=>{this._emitFinal(),this._emit("end")},h4(this,H71,"f"))}_addMessageParam(I){this.messages.push(I)}_addMessage(I,d=!0){if(this.receivedMessages.push(I),d)this._emit("message",I)}async _createMessage(I,d,G){let Z=G?.signal;if(Z){if(Z.aborted)this.controller.abort();Z.addEventListener("abort",()=>this.controller.abort())}h4(this,KZ,"m",F71).call(this);let{response:C,data:W}=await I.create({...d,stream:!0},{...G,signal:this.controller.signal}).withResponse();this._connected(C);for await(let w of W)h4(this,KZ,"m",g71).call(this,w);if(W.controller.signal?.aborted)throw new p8;h4(this,KZ,"m",J71).call(this)}_connected(I){if(this.ended)return;L7(this,jx,I,"f"),L7(this,kx,I?.headers.get("request-id"),"f"),h4(this,mx,"f").call(this,I),this._emit("connect")}get ended(){return h4(this,ZL,"f")}get errored(){return h4(this,bx,"f")}get aborted(){return h4(this,hx,"f")}abort(){this.controller.abort()}on(I,d){return(h4(this,DV,"f")[I]||(h4(this,DV,"f")[I]=[])).push({listener:d}),this}off(I,d){let G=h4(this,DV,"f")[I];if(!G)return this;let Z=G.findIndex((C)=>C.listener===d);if(Z>=0)G.splice(Z,1);return this}once(I,d){return(h4(this,DV,"f")[I]||(h4(this,DV,"f")[I]=[])).push({listener:d,once:!0}),this}emitted(I){return new Promise((d,G)=>{if(L7(this,Rf,!0,"f"),I!=="error")this.once("error",G);this.once(I,d)})}async done(){L7(this,Rf,!0,"f"),await h4(this,dL,"f")}get currentMessage(){return h4(this,v_,"f")}async finalMessage(){return await this.done(),h4(this,KZ,"m",D71).call(this)}async finalText(){return await this.done(),h4(this,KZ,"m",L50).call(this)}_emit(I,...d){if(h4(this,ZL,"f"))return;if(I==="end")L7(this,ZL,!0,"f"),h4(this,lx,"f").call(this);let G=h4(this,DV,"f")[I];if(G)h4(this,DV,"f")[I]=G.filter((Z)=>!Z.once),G.forEach(({listener:Z})=>Z(...d));if(I==="abort"){let Z=d[0];if(!h4(this,Rf,"f")&&!G?.length)Promise.reject(Z);h4(this,IL,"f").call(this,Z),h4(this,GL,"f").call(this,Z),this._emit("end");return}if(I==="error"){let Z=d[0];if(!h4(this,Rf,"f")&&!G?.length)Promise.reject(Z);h4(this,IL,"f").call(this,Z),h4(this,GL,"f").call(this,Z),this._emit("end")}}_emitFinal(){if(this.receivedMessages.at(-1))this._emit("finalMessage",h4(this,KZ,"m",D71).call(this))}async _fromReadableStream(I,d){let G=d?.signal;if(G){if(G.aborted)this.controller.abort();G.addEventListener("abort",()=>this.controller.abort())}h4(this,KZ,"m",F71).call(this),this._connected(null);let Z=BI.fromReadableStream(I,this.controller);for await(let C of Z)h4(this,KZ,"m",g71).call(this,C);if(Z.controller.signal?.aborted)throw new p8;h4(this,KZ,"m",J71).call(this)}[(v_=new WeakMap,tS=new WeakMap,mx=new WeakMap,IL=new WeakMap,dL=new WeakMap,lx=new WeakMap,GL=new WeakMap,DV=new WeakMap,ZL=new WeakMap,bx=new WeakMap,hx=new WeakMap,Rf=new WeakMap,jx=new WeakMap,kx=new WeakMap,H71=new WeakMap,KZ=new WeakSet,D71=function I(){if(this.receivedMessages.length===0)throw new Y4("stream ended without producing a Message with role=assistant");return this.receivedMessages.at(-1)},L50=function I(){if(this.receivedMessages.length===0)throw new Y4("stream ended without producing a Message with role=assistant");let d=this.receivedMessages.at(-1).content.filter((G)=>G.type==="text").map((G)=>G.text);if(d.length===0)throw new Y4("stream ended without producing a content block with type=text");return d.join(" ")},F71=function I(){if(this.ended)return;L7(this,v_,void 0,"f")},g71=function I(d){if(this.ended)return;let G=h4(this,KZ,"m",y50).call(this,d);switch(this._emit("streamEvent",d,G),d.type){case"content_block_delta":{let Z=G.content.at(-1);switch(d.delta.type){case"text_delta":{if(Z.type==="text")this._emit("text",d.delta.text,Z.text||"");break}case"citations_delta":{if(Z.type==="text")this._emit("citation",d.delta.citation,Z.citations??[]);break}case"input_json_delta":{if(Z.type==="tool_use"&&Z.input)this._emit("inputJson",d.delta.partial_json,Z.input);break}case"thinking_delta":{if(Z.type==="thinking")this._emit("thinking",d.delta.thinking,Z.thinking);break}case"signature_delta":break;default:$50(d.delta)}break}case"message_stop":{this._addMessageParam(G),this._addMessage(G,!0);break}case"content_block_stop":{this._emit("contentBlock",G.content.at(-1));break}case"message_start":{L7(this,v_,G,"f");break}case"content_block_start":case"message_delta":break}},J71=function I(){if(this.ended)throw new Y4("stream has ended, this shouldn't happen");let d=h4(this,v_,"f");if(!d)throw new Y4("request ended without sending any chunks");return L7(this,v_,void 0,"f"),d},y50=function I(d){let G=h4(this,v_,"f");if(d.type==="message_start"){if(G)throw new Y4(`Unexpected event order, got ${d.type} before receiving "message_stop"`);return d.message}if(!G)throw new Y4(`Unexpected event order, got ${d.type} before "message_start"`);switch(d.type){case"message_stop":return G;case"message_delta":return G.stop_reason=d.delta.stop_reason,G.stop_sequence=d.delta.stop_sequence,G.usage.output_tokens=d.usage.output_tokens,G;case"content_block_start":return G.content.push(d.content_block),G;case"content_block_delta":{let Z=G.content.at(d.index);switch(d.delta.type){case"text_delta":{if(Z?.type==="text")Z.text+=d.delta.text;break}case"citations_delta":{if(Z?.type==="text")Z.citations??(Z.citations=[]),Z.citations.push(d.delta.citation);break}case"input_json_delta":{if(Z?.type==="tool_use"){let C=Z[P50]||"";if(C+=d.delta.partial_json,Object.defineProperty(Z,P50,{value:C,enumerable:!1,writable:!0}),C)Z.input=Lx(C)}break}case"thinking_delta":{if(Z?.type==="thinking")Z.thinking+=d.delta.thinking;break}case"signature_delta":{if(Z?.type==="thinking")Z.signature+=d.delta.signature;break}default:$50(d.delta)}return G}case"content_block_stop":return G}},Symbol.asyncIterator)](){let I=[],d=[],G=!1;return this.on("streamEvent",(Z)=>{let C=d.shift();if(C)C.resolve(Z);else I.push(Z)}),this.on("end",()=>{G=!0;for(let Z of d)Z.resolve(void 0);d.length=0}),this.on("abort",(Z)=>{G=!0;for(let C of d)C.reject(Z);d.length=0}),this.on("error",(Z)=>{G=!0;for(let C of d)C.reject(Z);d.length=0}),{next:async()=>{if(!I.length){if(G)return{value:void 0,done:!0};return new Promise((C,W)=>d.push({resolve:C,reject:W})).then((C)=>C?{value:C,done:!1}:{value:void 0,done:!0})}return{value:I.shift(),done:!1}},return:async()=>{return this.abort(),{value:void 0,done:!0}}}}toReadableStream(){return new BI(this[Symbol.asyncIterator].bind(this),this.controller).toReadableStream()}}function $50(I){}class NZ extends i8{constructor(){super(...arguments);this.batches=new qf(this._client)}create(I,d){if(I.model in u50)console.warn(`The model '${I.model}' is deprecated and will reach end-of-life on ${u50[I.model]}
Please migrate to a newer model. Visit https://docs.anthropic.com/en/docs/resources/model-deprecations for more information.`);return this._client.post("/v1/messages",{body:I,timeout:this._client._options.timeout??600000,...d,stream:I.stream??!1})}stream(I,d){return CL.createMessage(this,I,d)}countTokens(I,d){return this._client.post("/v1/messages/count_tokens",{body:I,...d})}}var u50={"claude-1.3":"November 6th, 2024","claude-1.3-100k":"November 6th, 2024","claude-instant-1.1":"November 6th, 2024","claude-instant-1.1-100k":"November 6th, 2024","claude-instant-1.2":"November 6th, 2024","claude-3-sonnet-20240229":"July 21st, 2025","claude-2.1":"July 21st, 2025","claude-2.0":"July 21st, 2025"};NZ.Batches=qf;NZ.MessageBatchesPage=eS;class bg extends i8{retrieve(I,d){return this._client.get(`/v1/models/${I}`,d)}list(I={},d){if(gZ(I))return this.list({},I);return this._client.getAPIList("/v1/models",Uf,{query:I,...d})}}class Uf extends YV{}bg.ModelInfosPage=Uf;var T50;class q9 extends mg{constructor({baseURL:I=lC("ANTHROPIC_BASE_URL"),apiKey:d=lC("ANTHROPIC_API_KEY")??null,authToken:G=lC("ANTHROPIC_AUTH_TOKEN")??null,...Z}={}){let C={apiKey:d,authToken:G,...Z,baseURL:I||"https://api.anthropic.com"};if(!C.dangerouslyAllowBrowser&&R50())throw new Y4(`It looks like you're running in a browser-like environment.

This is disabled by default, as it risks exposing your secret API credentials to attackers.
If you understand the risks and have appropriate mitigations in place,
you can set the \`dangerouslyAllowBrowser\` option to \`true\`, e.g.,

new Anthropic({ apiKey, dangerouslyAllowBrowser: true });
`);super({baseURL:C.baseURL,timeout:C.timeout??600000,httpAgent:C.httpAgent,maxRetries:C.maxRetries,fetch:C.fetch});this.completions=new U_(this),this.messages=new NZ(this),this.models=new bg(this),this.beta=new IG(this),this._options=C,this.apiKey=d,this.authToken=G}defaultQuery(){return this._options.defaultQuery}defaultHeaders(I){return{...super.defaultHeaders(I),...this._options.dangerouslyAllowBrowser?{"anthropic-dangerous-direct-browser-access":"true"}:void 0,"anthropic-version":"2023-06-01",...this._options.defaultHeaders}}validateHeaders(I,d){if(this.apiKey&&I["x-api-key"])return;if(d["x-api-key"]===null)return;if(this.authToken&&I.authorization)return;if(d.authorization===null)return;throw new Error('Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the "X-Api-Key" or "Authorization" headers to be explicitly omitted')}authHeaders(I){let d=this.apiKeyAuth(I),G=this.bearerAuth(I);if(d!=null&&!xS(d))return d;if(G!=null&&!xS(G))return G;return{}}apiKeyAuth(I){if(this.apiKey==null)return{};return{"X-Api-Key":this.apiKey}}bearerAuth(I){if(this.authToken==null)return{};return{Authorization:`Bearer ${this.authToken}`}}}T50=q9;q9.Anthropic=T50;q9.HUMAN_PROMPT=`

Human:`;q9.AI_PROMPT=`

Assistant:`;q9.DEFAULT_TIMEOUT=600000;q9.AnthropicError=Y4;q9.APIError=f9;q9.APIConnectionError=rw;q9.APIConnectionTimeoutError=Ff;q9.APIUserAbortError=p8;q9.NotFoundError=OS;q9.ConflictError=mS;q9.RateLimitError=bS;q9.BadRequestError=$S;q9.AuthenticationError=uS;q9.InternalServerError=hS;q9.PermissionDeniedError=TS;q9.UnprocessableEntityError=lS;q9.toFile=F50;q9.fileFromPath=$b;q9.Completions=U_;q9.Messages=NZ;q9.Models=bg;q9.ModelInfosPage=Uf;q9.Beta=IG;var N71=q9;var ok0=J1(m90(),1),ek0=J1(uj0(),1),tk0=J1(t8(),1),Ix0=J1(sk0(),1);import iJ5 from"assert";var dx0=async(I,d)=>{iJ5(I.method,"Expected request method property to be set");let G=ek0.fromNodeProviderChain(),Z=await nJ5(()=>{if(d.awsAccessKey)process.env.AWS_ACCESS_KEY_ID=d.awsAccessKey;if(d.awsSecretKey)process.env.AWS_SECRET_ACCESS_KEY=d.awsSecretKey;if(d.awsSessionToken)process.env.AWS_SESSION_TOKEN=d.awsSessionToken},()=>G()),C=new ok0.SignatureV4({service:"bedrock",region:d.regionName,credentials:Z,sha256:Ix0.Sha256}),W=new URL(d.url),w=!I.headers?{}:(Symbol.iterator in I.headers)?Object.fromEntries(Array.from(I.headers).map((V)=>[...V])):{...I.headers};delete w.connection,w.host=W.hostname;let B=new tk0.HttpRequest({method:I.method.toUpperCase(),protocol:W.protocol,path:W.pathname,headers:w,body:I.body});return(await C.sign(B)).headers},nJ5=async(I,d)=>{let G={...process.env};try{return I(),await d()}finally{process.env=G}};var e82=J1(EV1(),1),Sr=J1(fD(),1),t82=J1(oc0(),1);var P9=J1(h2(),1),xD=J1(a82(),1),mk5=async(I,d)=>{let G=P9.map({}),Z=I.body,C=P9.take(Z,{message:P9.expectString});Object.assign(G,C);let W=new xD.InternalServerException({$metadata:Mr(I),...G});return P9.decorateServiceException(W,I.body)},lk5=async(I,d)=>{let G=P9.map({}),Z=I.body,C=P9.take(Z,{message:P9.expectString,originalMessage:P9.expectString,originalStatusCode:P9.expectInt32});Object.assign(G,C);let W=new xD.ModelStreamErrorException({$metadata:Mr(I),...G});return P9.decorateServiceException(W,I.body)},bk5=async(I,d)=>{let G=P9.map({}),Z=I.body,C=P9.take(Z,{message:P9.expectString});Object.assign(G,C);let W=new xD.ThrottlingException({$metadata:Mr(I),...G});return P9.decorateServiceException(W,I.body)},hk5=async(I,d)=>{let G=P9.map({}),Z=I.body,C=P9.take(Z,{message:P9.expectString});Object.assign(G,C);let W=new xD.ValidationException({$metadata:Mr(I),...G});return P9.decorateServiceException(W,I.body)},s82=(I,d)=>{return d.eventStreamMarshaller.deserialize(I,async(G)=>{if(G.chunk!=null)return{chunk:await xk5(G.chunk,d)};if(G.internalServerException!=null)return{internalServerException:await jk5(G.internalServerException,d)};if(G.modelStreamErrorException!=null)return{modelStreamErrorException:await kk5(G.modelStreamErrorException,d)};if(G.validationException!=null)return{validationException:await pk5(G.validationException,d)};if(G.throttlingException!=null)return{throttlingException:await ck5(G.throttlingException,d)};return{$unknown:I}})},jk5=async(I,d)=>{let G={...I,body:await xP(I.body,d)};return mk5(G,d)},kk5=async(I,d)=>{let G={...I,body:await xP(I.body,d)};return lk5(G,d)},xk5=async(I,d)=>{let G={},Z=await xP(I.body,d);return Object.assign(G,ik5(Z,d)),G},ck5=async(I,d)=>{let G={...I,body:await xP(I.body,d)};return bk5(G,d)},pk5=async(I,d)=>{let G={...I,body:await xP(I.body,d)};return hk5(G,d)},ik5=(I,d)=>{return P9.take(I,{bytes:d.base64Decoder})},Mr=(I)=>({httpStatusCode:I.statusCode,requestId:I.headers["x-amzn-requestid"]??I.headers["x-amzn-request-id"]??I.headers["x-amz-request-id"]??"",extendedRequestId:I.headers["x-amz-id-2"]??"",cfId:I.headers["x-amz-cf-id"]??""}),nk5=(I,d)=>P9.collectBody(I,d).then((G)=>d.utf8Encoder(G)),xP=(I,d)=>nk5(I,d).then((G)=>{if(G.length)return JSON.parse(G);return{}});var PD1=(I)=>new TextDecoder("utf-8").decode(I),o82=(I)=>new TextEncoder().encode(I),rk5=()=>{let I=new e82.EventStreamMarshaller({utf8Encoder:PD1,utf8Decoder:o82});return{base64Decoder:Sr.fromBase64,base64Encoder:Sr.toBase64,utf8Decoder:o82,utf8Encoder:PD1,eventStreamMarshaller:I,streamCollector:t82.streamCollector}};class Lr extends BI{static fromSSEResponse(I,d){let G=!1;async function*Z(){if(!I.body)throw d.abort(),new Y4("Attempted to iterate over a response with no body");let W=Og(I.body),w=s82(W,rk5());for await(let B of w)if(B.chunk&&B.chunk.bytes)yield{event:"chunk",data:PD1(B.chunk.bytes),raw:[]};else if(B.internalServerException)yield{event:"error",data:"InternalServerException",raw:[]};else if(B.modelStreamErrorException)yield{event:"error",data:"ModelStreamErrorException",raw:[]};else if(B.validationException)yield{event:"error",data:"ValidationException",raw:[]};else if(B.throttlingException)yield{event:"error",data:"ThrottlingException",raw:[]}}async function*C(){if(G)throw new Error("Cannot iterate over a consumed stream, use `.tee()` to split the stream.");G=!0;let W=!1;try{for await(let w of Z()){if(w.event==="chunk")try{yield JSON.parse(w.data)}catch(B){throw console.error("Could not parse message into JSON:",w.data),console.error("From chunk:",w.raw),B}if(w.event==="error"){let B=w.data,A=w71(B),V=A?void 0:B;throw f9.generate(void 0,A,V,jS(I.headers))}}W=!0}catch(w){if(w instanceof Error&&w.name==="AbortError")return;throw w}finally{if(!W)d.abort()}}return new Lr(C,d)}}var ak5="bedrock-2023-05-31",sk5=new Set(["/v1/complete","/v1/messages","/v1/messages?beta=true"]);class yr extends mg{constructor({baseURL:I=lC("ANTHROPIC_BEDROCK_BASE_URL"),awsSecretKey:d=null,awsAccessKey:G=null,awsRegion:Z=lC("AWS_REGION")??"us-east-1",awsSessionToken:C=null,...W}={}){let w={awsSecretKey:d,awsAccessKey:G,awsRegion:Z,awsSessionToken:C,...W,baseURL:I||`https://bedrock-runtime.${Z}.amazonaws.com`};super({baseURL:w.baseURL,timeout:w.timeout??600000,httpAgent:w.httpAgent,maxRetries:w.maxRetries,fetch:w.fetch});this.messages=ok5(this),this.completions=new U_(this),this.beta=ek5(this),this._options=w,this.awsSecretKey=d,this.awsAccessKey=G,this.awsRegion=Z,this.awsSessionToken=C}defaultQuery(){return this._options.defaultQuery}defaultHeaders(I){return{...super.defaultHeaders(I),...this._options.defaultHeaders}}async prepareRequest(I,{url:d,options:G}){let Z=this.awsRegion;if(!Z)throw new Error("Expected `awsRegion` option to be passed to the client or the `AWS_REGION` environment variable to be present");let C=await dx0(I,{url:d,regionName:Z,awsAccessKey:this.awsAccessKey,awsSecretKey:this.awsSecretKey,awsSessionToken:this.awsSessionToken});I.headers={...I.headers,...C}}buildRequest(I){if(I.__streamClass=Lr,q_(I.body))I.body={...I.body};if(q_(I.body)){if(!I.body.anthropic_version)I.body.anthropic_version=ak5;if(I.headers&&!I.body.anthropic_beta){let d=gf(I.headers,"anthropic-beta");if(d!=null)I.body.anthropic_beta=d.split(",")}}if(sk5.has(I.path)&&I.method==="post"){if(!q_(I.body))throw new Error("Expected request body to be an object for post /v1/messages");let d=I.body.model;I.body.model=void 0;let G=I.body.stream;if(I.body.stream=void 0,G)I.path=`/model/${d}/invoke-with-response-stream`;else I.path=`/model/${d}/invoke`}return super.buildRequest(I)}}function ok5(I){let d=new NZ(I);return delete d.batches,delete d.countTokens,d}function ek5(I){let d=new IG(I);return delete d.promptCaching,delete d.messages.batches,delete d.messages.countTokens,d}var PC2=J1(yC2(),1),Sa5="vertex-2023-10-16",La5=new Set(["/v1/messages","/v1/messages?beta=true"]);class Xa extends mg{constructor({baseURL:I=lC("ANTHROPIC_VERTEX_BASE_URL"),region:d=lC("CLOUD_ML_REGION")??null,projectId:G=lC("ANTHROPIC_VERTEX_PROJECT_ID")??null,...Z}={}){if(!d)throw new Error("No region was given. The client should be instantiated with the `region` option or the `CLOUD_ML_REGION` environment variable should be set.");let C={...Z,baseURL:I||`https://${d}-aiplatform.googleapis.com/v1`};super({baseURL:C.baseURL,timeout:C.timeout??600000,httpAgent:C.httpAgent,maxRetries:C.maxRetries,fetch:C.fetch});this.messages=ya5(this),this.beta=Pa5(this),this._options=C,this.region=d,this.projectId=G,this.accessToken=C.accessToken??null,this._auth=C.googleAuth??new PC2.GoogleAuth({scopes:"https://www.googleapis.com/auth/cloud-platform"}),this._authClientPromise=this._auth.getClient()}defaultQuery(){return this._options.defaultQuery}defaultHeaders(I){return{...super.defaultHeaders(I),...this._options.defaultHeaders}}async prepareOptions(I){let d=await this._authClientPromise,G=await d.getRequestHeaders(),Z=d.projectId??G["x-goog-user-project"];if(!this.projectId&&Z)this.projectId=Z;I.headers={...G,...I.headers}}buildRequest(I){if(q_(I.body))I.body={...I.body};if(q_(I.body)){if(!I.body.anthropic_version)I.body.anthropic_version=Sa5}if(La5.has(I.path)&&I.method==="post"){if(!this.projectId)throw new Error("No projectId was given and it could not be resolved from credentials. The client should be instantiated with the `projectId` option or the `ANTHROPIC_VERTEX_PROJECT_ID` environment variable should be set.");if(!q_(I.body))throw new Error("Expected request body to be an object for post /v1/messages");let d=I.body.model;I.body.model=void 0;let Z=I.body.stream??!1?"streamRawPredict":"rawPredict";I.path=`/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/${d}:${Z}`}if(I.path==="/v1/messages/count_tokens"||I.path=="/v1/messages/count_tokens?beta=true"&&I.method==="post"){if(!this.projectId)throw new Error("No projectId was given and it could not be resolved from credentials. The client should be instantiated with the `projectId` option or the `ANTHROPIC_VERTEX_PROJECT_ID` environment variable should be set.");I.path=`/projects/${this.projectId}/locations/${this.region}/publishers/anthropic/models/count-tokens:rawPredict`}return super.buildRequest(I)}}function ya5(I){let d=new NZ(I);return delete d.batches,d}function Pa5(I){let d=new IG(I);return delete d.promptCaching,delete d.messages.batches,delete d.messages.countTokens,d}var Mz3=J1(kC2(),1);import{createHash as TZ9,randomUUID as e$}from"crypto";var pC2=J1(u1(),1);function xC2(I,d){let G=[],Z="";for(let C of I)if([...Z].length<d)Z+=C;else G.push(Z),Z=C;if(Z)G.push(Z);return G}function X$(I){if(I<60000)return`${(I/1000).toFixed(1)}s`;let d=Math.floor(I/3600000),G=Math.floor(I%3600000/60000),Z=(I%60000/1000).toFixed(1);if(d>0)return`${d}h ${G}m ${Z}s`;if(G>0)return`${G}m ${Z}s`;return`${Z}s`}function cC2(I){return new Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:1}).format(I).toLowerCase()}var sD={totalCost:0,totalAPIDuration:0,startTime:Date.now()};function _a(I,d){sD.totalCost+=I,sD.totalAPIDuration+=d}function Da(){return sD.totalCost}function iC2(){return Date.now()-sD.startTime}function Gs5(I){return`$${I>0.5?Zs5(I,100).toFixed(2):I.toFixed(4)}`}function JF1(){return c0.grey(`Total cost: ${Gs5(sD.totalCost)}
Total duration (API): ${X$(sD.totalAPIDuration)}
Total duration (wall): ${X$(iC2())}`)}function nC2(){pC2.useEffect(()=>{let I=()=>{process.stdout.write(`
`+JF1()+`
`);let d=I5();o9({...d,lastCost:sD.totalCost,lastAPIDuration:sD.totalAPIDuration,lastDuration:iC2(),lastSessionId:id})};return process.on("exit",I),()=>{process.off("exit",I)}},[])}function Zs5(I,d){return Math.round(I*d)/d}function oD(I){let d=I.length-1;while(d>=0){let G=I[d];if(G?.type==="assistant"&&"usage"in G.message&&!(G.message.content[0]?.type==="text"&&aC2.has(G.message.content[0].text))){let{usage:Z}=G.message;return Z.input_tokens+(Z.cache_creation_input_tokens??0)+(Z.cache_read_input_tokens??0)+Z.output_tokens}d--}return 0}function rC2(I){let d=I.length-1;while(d>=0){let G=I[d];if(G?.type==="assistant"&&"usage"in G.message){let{usage:Z}=G.message;return(Z.cache_creation_input_tokens??0)+(Z.cache_read_input_tokens??0)}d--}return 0}import{createHash as Cs5}from"crypto";import{mkdirSync as Ws5,readFileSync as ws5,writeFileSync as Bs5}from"fs";import{dirname as sC2}from"path";import{existsSync as oC2}from"fs";import*as IW2 from"path";async function KF1(I,d){return await d()}function As5(I,d){return I.map((G)=>{if(typeof G==="string")return d(G);return G.map((Z)=>{switch(Z.type){case"tool_result":if(typeof Z.content==="string")return{...Z,content:d(Z.content)};if(Array.isArray(Z.content))return{...Z,content:Z.content.map((C)=>{switch(C.type){case"text":return{...C,text:d(C.text)};case"image":return C}})};return Z;case"text":return{...Z,text:d(Z.text)};case"tool_use":return{...Z,input:$l(Z.input,d)};case"image":return Z}})})}function eC2(I,d){return{durationMs:"DURATION",costUSD:"COST",uuid:"UUID",message:{...I.message,content:I.message.content.map((G)=>{switch(G.type){case"text":return{...G,text:d(G.text),citations:G.citations||[]};case"tool_use":return{...G,input:$l(G.input,d)};default:return G}}).filter(Boolean)},type:"assistant"}}function tC2(I){if(typeof I!=="string")return I;let d=I.replace(/num_files="\d+"/g,'num_files="[NUM]"').replace(/duration_ms="\d+"/g,'duration_ms="[DURATION]"').replace(/cost_usd="\d+"/g,'cost_usd="[COST]"').replace(/\//g,IW2.sep).replaceAll(R0(),"[CWD]");if(d.includes("Files modified by user:"))return"Files modified by user: [FILES]";return d}function Vs5(I){if(typeof I!=="string")return I;return I.replaceAll("[NUM]","1").replaceAll("[DURATION]","100").replaceAll("[CWD]",R0())}var GW2=Symbol("Let zodToJsonSchema decide on which parser to use"),dW2={name:void 0,$refStrategy:"root",basePath:["#"],effectStrategy:"input",pipeStrategy:"all",dateStrategy:"format:date-time",mapStrategy:"entries",removeAdditionalStrategy:"passthrough",definitionPath:"definitions",target:"jsonSchema7",strictUnions:!1,definitions:{},errorMessages:!1,markdownDescription:!1,patternStrategy:"escape",applyRegexFlags:!1,emailStrategy:"format:email",base64Strategy:"contentEncoding:base64",nameStrategy:"ref"},ZW2=(I)=>typeof I==="string"?{...dW2,name:I}:{...dW2,...I};var CW2=(I)=>{let d=ZW2(I),G=d.name!==void 0?[...d.basePath,d.definitionPath,d.name]:d.basePath;return{...d,currentPath:G,propertyPath:void 0,seen:new Map(Object.entries(d.definitions).map(([Z,C])=>[C._def,{def:C._def,path:[...d.basePath,d.definitionPath,Z],jsonSchema:void 0}]))}};function NF1(I,d,G,Z){if(!Z?.errorMessages)return;if(G)I.errorMessage={...I.errorMessage,[d]:G}}function X5(I,d,G,Z,C){I[d]=G,NF1(I,d,Z,C)}var N5;(function(I){I.assertEqual=(C)=>C;function d(C){}I.assertIs=d;function G(C){throw new Error}I.assertNever=G,I.arrayToEnum=(C)=>{let W={};for(let w of C)W[w]=w;return W},I.getValidEnumValues=(C)=>{let W=I.objectKeys(C).filter((B)=>typeof C[C[B]]!=="number"),w={};for(let B of W)w[B]=C[B];return I.objectValues(w)},I.objectValues=(C)=>{return I.objectKeys(C).map(function(W){return C[W]})},I.objectKeys=typeof Object.keys==="function"?(C)=>Object.keys(C):(C)=>{let W=[];for(let w in C)if(Object.prototype.hasOwnProperty.call(C,w))W.push(w);return W},I.find=(C,W)=>{for(let w of C)if(W(w))return w;return},I.isInteger=typeof Number.isInteger==="function"?(C)=>Number.isInteger(C):(C)=>typeof C==="number"&&isFinite(C)&&Math.floor(C)===C;function Z(C,W=" | "){return C.map((w)=>typeof w==="string"?`'${w}'`:w).join(W)}I.joinValues=Z,I.jsonStringifyReplacer=(C,W)=>{if(typeof W==="bigint")return W.toString();return W}})(N5||(N5={}));var QF1;(function(I){I.mergeShapes=(d,G)=>{return{...d,...G}}})(QF1||(QF1={}));var _2=N5.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),dX=(I)=>{switch(typeof I){case"undefined":return _2.undefined;case"string":return _2.string;case"number":return isNaN(I)?_2.nan:_2.number;case"boolean":return _2.boolean;case"function":return _2.function;case"bigint":return _2.bigint;case"symbol":return _2.symbol;case"object":if(Array.isArray(I))return _2.array;if(I===null)return _2.null;if(I.then&&typeof I.then==="function"&&I.catch&&typeof I.catch==="function")return _2.promise;if(typeof Map!=="undefined"&&I instanceof Map)return _2.map;if(typeof Set!=="undefined"&&I instanceof Set)return _2.set;if(typeof Date!=="undefined"&&I instanceof Date)return _2.date;return _2.object;default:return _2.unknown}},y0=N5.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),Xs5=(I)=>{return JSON.stringify(I,null,2).replace(/"([^"]+)":/g,"$1:")};class AG extends Error{get errors(){return this.issues}constructor(I){super();this.issues=[],this.addIssue=(G)=>{this.issues=[...this.issues,G]},this.addIssues=(G=[])=>{this.issues=[...this.issues,...G]};let d=new.target.prototype;if(Object.setPrototypeOf)Object.setPrototypeOf(this,d);else this.__proto__=d;this.name="ZodError",this.issues=I}format(I){let d=I||function(C){return C.message},G={_errors:[]},Z=(C)=>{for(let W of C.issues)if(W.code==="invalid_union")W.unionErrors.map(Z);else if(W.code==="invalid_return_type")Z(W.returnTypeError);else if(W.code==="invalid_arguments")Z(W.argumentsError);else if(W.path.length===0)G._errors.push(d(W));else{let w=G,B=0;while(B<W.path.length){let A=W.path[B];if(B!==W.path.length-1)w[A]=w[A]||{_errors:[]};else w[A]=w[A]||{_errors:[]},w[A]._errors.push(d(W));w=w[A],B++}}};return Z(this),G}static assert(I){if(!(I instanceof AG))throw new Error(`Not a ZodError: ${I}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,N5.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(I=(d)=>d.message){let d={},G=[];for(let Z of this.issues)if(Z.path.length>0)d[Z.path[0]]=d[Z.path[0]]||[],d[Z.path[0]].push(I(Z));else G.push(I(Z));return{formErrors:G,fieldErrors:d}}get formErrors(){return this.flatten()}}AG.create=(I)=>{return new AG(I)};var wR=(I,d)=>{let G;switch(I.code){case y0.invalid_type:if(I.received===_2.undefined)G="Required";else G=`Expected ${I.expected}, received ${I.received}`;break;case y0.invalid_literal:G=`Invalid literal value, expected ${JSON.stringify(I.expected,N5.jsonStringifyReplacer)}`;break;case y0.unrecognized_keys:G=`Unrecognized key(s) in object: ${N5.joinValues(I.keys,", ")}`;break;case y0.invalid_union:G="Invalid input";break;case y0.invalid_union_discriminator:G=`Invalid discriminator value. Expected ${N5.joinValues(I.options)}`;break;case y0.invalid_enum_value:G=`Invalid enum value. Expected ${N5.joinValues(I.options)}, received '${I.received}'`;break;case y0.invalid_arguments:G="Invalid function arguments";break;case y0.invalid_return_type:G="Invalid function return type";break;case y0.invalid_date:G="Invalid date";break;case y0.invalid_string:if(typeof I.validation==="object")if("includes"in I.validation){if(G=`Invalid input: must include "${I.validation.includes}"`,typeof I.validation.position==="number")G=`${G} at one or more positions greater than or equal to ${I.validation.position}`}else if("startsWith"in I.validation)G=`Invalid input: must start with "${I.validation.startsWith}"`;else if("endsWith"in I.validation)G=`Invalid input: must end with "${I.validation.endsWith}"`;else N5.assertNever(I.validation);else if(I.validation!=="regex")G=`Invalid ${I.validation}`;else G="Invalid";break;case y0.too_small:if(I.type==="array")G=`Array must contain ${I.exact?"exactly":I.inclusive?"at least":"more than"} ${I.minimum} element(s)`;else if(I.type==="string")G=`String must contain ${I.exact?"exactly":I.inclusive?"at least":"over"} ${I.minimum} character(s)`;else if(I.type==="number")G=`Number must be ${I.exact?"exactly equal to ":I.inclusive?"greater than or equal to ":"greater than "}${I.minimum}`;else if(I.type==="date")G=`Date must be ${I.exact?"exactly equal to ":I.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(I.minimum))}`;else G="Invalid input";break;case y0.too_big:if(I.type==="array")G=`Array must contain ${I.exact?"exactly":I.inclusive?"at most":"less than"} ${I.maximum} element(s)`;else if(I.type==="string")G=`String must contain ${I.exact?"exactly":I.inclusive?"at most":"under"} ${I.maximum} character(s)`;else if(I.type==="number")G=`Number must be ${I.exact?"exactly":I.inclusive?"less than or equal to":"less than"} ${I.maximum}`;else if(I.type==="bigint")G=`BigInt must be ${I.exact?"exactly":I.inclusive?"less than or equal to":"less than"} ${I.maximum}`;else if(I.type==="date")G=`Date must be ${I.exact?"exactly":I.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(I.maximum))}`;else G="Invalid input";break;case y0.custom:G="Invalid input";break;case y0.invalid_intersection_types:G="Intersection results could not be merged";break;case y0.not_multiple_of:G=`Number must be a multiple of ${I.multipleOf}`;break;case y0.not_finite:G="Number must be finite";break;default:G=d.defaultError,N5.assertNever(I)}return{message:G}},BW2=wR;function Ys5(I){BW2=I}function Ha(){return BW2}var Fa=(I)=>{let{data:d,path:G,errorMaps:Z,issueData:C}=I,W=[...G,...C.path||[]],w={...C,path:W};if(C.message!==void 0)return{...C,path:W,message:C.message};let B="",A=Z.filter((V)=>!!V).slice().reverse();for(let V of A)B=V(w,{data:d,defaultError:B}).message;return{...C,path:W,message:B}},_s5=[];function d2(I,d){let G=Ha(),Z=Fa({issueData:d,data:I.data,path:I.path,errorMaps:[I.common.contextualErrorMap,I.schemaErrorMap,G,G===wR?void 0:wR].filter((C)=>!!C)});I.common.issues.push(Z)}class h7{constructor(){this.value="valid"}dirty(){if(this.value==="valid")this.value="dirty"}abort(){if(this.value!=="aborted")this.value="aborted"}static mergeArray(I,d){let G=[];for(let Z of d){if(Z.status==="aborted")return w4;if(Z.status==="dirty")I.dirty();G.push(Z.value)}return{status:I.value,value:G}}static async mergeObjectAsync(I,d){let G=[];for(let Z of d){let C=await Z.key,W=await Z.value;G.push({key:C,value:W})}return h7.mergeObjectSync(I,G)}static mergeObjectSync(I,d){let G={};for(let Z of d){let{key:C,value:W}=Z;if(C.status==="aborted")return w4;if(W.status==="aborted")return w4;if(C.status==="dirty")I.dirty();if(W.status==="dirty")I.dirty();if(C.value!=="__proto__"&&(typeof W.value!=="undefined"||Z.alwaysSet))G[C.value]=W.value}return{status:I.value,value:G}}}var w4=Object.freeze({status:"aborted"}),CR=(I)=>({status:"dirty",value:I}),DI=(I)=>({status:"valid",value:I}),fF1=(I)=>I.status==="aborted",qF1=(I)=>I.status==="dirty",mJ=(I)=>I.status==="valid",D$=(I)=>typeof Promise!=="undefined"&&I instanceof Promise;function ga(I,d,G,Z){if(G==="a"&&!Z)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?I!==d||!Z:!d.has(I))throw new TypeError("Cannot read private member from an object whose class did not declare it");return G==="m"?Z:G==="a"?Z.call(I):Z?Z.value:d.get(I)}function AW2(I,d,G,Z,C){if(Z==="m")throw new TypeError("Private method is not writable");if(Z==="a"&&!C)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?I!==d||!C:!d.has(I))throw new TypeError("Cannot write private member to an object whose class did not declare it");return Z==="a"?C.call(I,G):C?C.value=G:d.set(I,G),G}var M2;(function(I){I.errToObj=(d)=>typeof d==="string"?{message:d}:d||{},I.toString=(d)=>typeof d==="string"?d:d===null||d===void 0?void 0:d.message})(M2||(M2={}));var Y$,_$;class XW{constructor(I,d,G,Z){this._cachedPath=[],this.parent=I,this.data=d,this._path=G,this._key=Z}get path(){if(!this._cachedPath.length)if(this._key instanceof Array)this._cachedPath.push(...this._path,...this._key);else this._cachedPath.push(...this._path,this._key);return this._cachedPath}}var WW2=(I,d)=>{if(mJ(d))return{success:!0,data:d.value};else{if(!I.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let G=new AG(I.common.issues);return this._error=G,this._error}}}};function S4(I){if(!I)return{};let{errorMap:d,invalid_type_error:G,required_error:Z,description:C}=I;if(d&&(G||Z))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);if(d)return{errorMap:d,description:C};return{errorMap:(w,B)=>{var A,V;let{message:X}=I;if(w.code==="invalid_enum_value")return{message:X!==null&&X!==void 0?X:B.defaultError};if(typeof B.data==="undefined")return{message:(A=X!==null&&X!==void 0?X:Z)!==null&&A!==void 0?A:B.defaultError};if(w.code!=="invalid_type")return{message:B.defaultError};return{message:(V=X!==null&&X!==void 0?X:G)!==null&&V!==void 0?V:B.defaultError}},description:C}}class P4{get description(){return this._def.description}_getType(I){return dX(I.data)}_getOrReturnCtx(I,d){return d||{common:I.parent.common,data:I.data,parsedType:dX(I.data),schemaErrorMap:this._def.errorMap,path:I.path,parent:I.parent}}_processInputParams(I){return{status:new h7,ctx:{common:I.parent.common,data:I.data,parsedType:dX(I.data),schemaErrorMap:this._def.errorMap,path:I.path,parent:I.parent}}}_parseSync(I){let d=this._parse(I);if(D$(d))throw new Error("Synchronous parse encountered promise.");return d}_parseAsync(I){let d=this._parse(I);return Promise.resolve(d)}parse(I,d){let G=this.safeParse(I,d);if(G.success)return G.data;throw G.error}safeParse(I,d){var G;let Z={common:{issues:[],async:(G=d===null||d===void 0?void 0:d.async)!==null&&G!==void 0?G:!1,contextualErrorMap:d===null||d===void 0?void 0:d.errorMap},path:(d===null||d===void 0?void 0:d.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:I,parsedType:dX(I)},C=this._parseSync({data:I,path:Z.path,parent:Z});return WW2(Z,C)}"~validate"(I){var d,G;let Z={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:I,parsedType:dX(I)};if(!this["~standard"].async)try{let C=this._parseSync({data:I,path:[],parent:Z});return mJ(C)?{value:C.value}:{issues:Z.common.issues}}catch(C){if((G=(d=C===null||C===void 0?void 0:C.message)===null||d===void 0?void 0:d.toLowerCase())===null||G===void 0?void 0:G.includes("encountered"))this["~standard"].async=!0;Z.common={issues:[],async:!0}}return this._parseAsync({data:I,path:[],parent:Z}).then((C)=>mJ(C)?{value:C.value}:{issues:Z.common.issues})}async parseAsync(I,d){let G=await this.safeParseAsync(I,d);if(G.success)return G.data;throw G.error}async safeParseAsync(I,d){let G={common:{issues:[],contextualErrorMap:d===null||d===void 0?void 0:d.errorMap,async:!0},path:(d===null||d===void 0?void 0:d.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:I,parsedType:dX(I)},Z=this._parse({data:I,path:G.path,parent:G}),C=await(D$(Z)?Z:Promise.resolve(Z));return WW2(G,C)}refine(I,d){let G=(Z)=>{if(typeof d==="string"||typeof d==="undefined")return{message:d};else if(typeof d==="function")return d(Z);else return d};return this._refinement((Z,C)=>{let W=I(Z),w=()=>C.addIssue({code:y0.custom,...G(Z)});if(typeof Promise!=="undefined"&&W instanceof Promise)return W.then((B)=>{if(!B)return w(),!1;else return!0});if(!W)return w(),!1;else return!0})}refinement(I,d){return this._refinement((G,Z)=>{if(!I(G))return Z.addIssue(typeof d==="function"?d(G,Z):d),!1;else return!0})}_refinement(I){return new bZ({schema:this,typeName:T0.ZodEffects,effect:{type:"refinement",refinement:I}})}superRefine(I){return this._refinement(I)}constructor(I){this.spa=this.safeParseAsync,this._def=I,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:(d)=>this["~validate"](d)}}optional(){return VG.create(this,this._def)}nullable(){return GX.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return VW.create(this)}promise(){return jJ.create(this,this._def)}or(I){return XR.create([this,I],this._def)}and(I){return YR.create(this,I,this._def)}transform(I){return new bZ({...S4(this._def),schema:this,typeName:T0.ZodEffects,effect:{type:"transform",transform:I}})}default(I){let d=typeof I==="function"?I:()=>I;return new FR({...S4(this._def),innerType:this,defaultValue:d,typeName:T0.ZodDefault})}brand(){return new Ka({typeName:T0.ZodBranded,type:this,...S4(this._def)})}catch(I){let d=typeof I==="function"?I:()=>I;return new gR({...S4(this._def),innerType:this,catchValue:d,typeName:T0.ZodCatch})}describe(I){return new this.constructor({...this._def,description:I})}pipe(I){return N$.create(this,I)}readonly(){return JR.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}var Ds5=/^c[^\s-]{8,}$/i,Hs5=/^[0-9a-z]+$/,Fs5=/^[0-9A-HJKMNP-TV-Z]{26}$/i,gs5=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Js5=/^[a-z0-9_-]{21}$/i,Ks5=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Ns5=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,zs5=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Qs5="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$",zF1,fs5=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,qs5=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,Rs5=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Us5=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,vs5=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,Es5=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,VW2="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Ms5=new RegExp(`^${VW2}$`);function XW2(I){let d="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";if(I.precision)d=`${d}\\.\\d{${I.precision}}`;else if(I.precision==null)d=`${d}(\\.\\d+)?`;return d}function Ss5(I){return new RegExp(`^${XW2(I)}$`)}function YW2(I){let d=`${VW2}T${XW2(I)}`,G=[];if(G.push(I.local?"Z?":"Z"),I.offset)G.push("([+-]\\d{2}:?\\d{2})");return d=`${d}(${G.join("|")})`,new RegExp(`^${d}$`)}function Ls5(I,d){if((d==="v4"||!d)&&fs5.test(I))return!0;if((d==="v6"||!d)&&Rs5.test(I))return!0;return!1}function ys5(I,d){if(!Ks5.test(I))return!1;try{let[G]=I.split("."),Z=G.replace(/-/g,"+").replace(/_/g,"/").padEnd(G.length+(4-G.length%4)%4,"="),C=JSON.parse(atob(Z));if(typeof C!=="object"||C===null)return!1;if(!C.typ||!C.alg)return!1;if(d&&C.alg!==d)return!1;return!0}catch(G){return!1}}function Ps5(I,d){if((d==="v4"||!d)&&qs5.test(I))return!0;if((d==="v6"||!d)&&Us5.test(I))return!0;return!1}class AW extends P4{_parse(I){if(this._def.coerce)I.data=String(I.data);if(this._getType(I)!==_2.string){let C=this._getOrReturnCtx(I);return d2(C,{code:y0.invalid_type,expected:_2.string,received:C.parsedType}),w4}let G=new h7,Z=void 0;for(let C of this._def.checks)if(C.kind==="min"){if(I.data.length<C.value)Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.too_small,minimum:C.value,type:"string",inclusive:!0,exact:!1,message:C.message}),G.dirty()}else if(C.kind==="max"){if(I.data.length>C.value)Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.too_big,maximum:C.value,type:"string",inclusive:!0,exact:!1,message:C.message}),G.dirty()}else if(C.kind==="length"){let W=I.data.length>C.value,w=I.data.length<C.value;if(W||w){if(Z=this._getOrReturnCtx(I,Z),W)d2(Z,{code:y0.too_big,maximum:C.value,type:"string",inclusive:!0,exact:!0,message:C.message});else if(w)d2(Z,{code:y0.too_small,minimum:C.value,type:"string",inclusive:!0,exact:!0,message:C.message});G.dirty()}}else if(C.kind==="email"){if(!zs5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"email",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="emoji"){if(!zF1)zF1=new RegExp(Qs5,"u");if(!zF1.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"emoji",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="uuid"){if(!gs5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"uuid",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="nanoid"){if(!Js5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"nanoid",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="cuid"){if(!Ds5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"cuid",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="cuid2"){if(!Hs5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"cuid2",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="ulid"){if(!Fs5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"ulid",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="url")try{new URL(I.data)}catch(W){Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"url",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="regex"){if(C.regex.lastIndex=0,!C.regex.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"regex",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="trim")I.data=I.data.trim();else if(C.kind==="includes"){if(!I.data.includes(C.value,C.position))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:{includes:C.value,position:C.position},message:C.message}),G.dirty()}else if(C.kind==="toLowerCase")I.data=I.data.toLowerCase();else if(C.kind==="toUpperCase")I.data=I.data.toUpperCase();else if(C.kind==="startsWith"){if(!I.data.startsWith(C.value))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:{startsWith:C.value},message:C.message}),G.dirty()}else if(C.kind==="endsWith"){if(!I.data.endsWith(C.value))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:{endsWith:C.value},message:C.message}),G.dirty()}else if(C.kind==="datetime"){if(!YW2(C).test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:"datetime",message:C.message}),G.dirty()}else if(C.kind==="date"){if(!Ms5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:"date",message:C.message}),G.dirty()}else if(C.kind==="time"){if(!Ss5(C).test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.invalid_string,validation:"time",message:C.message}),G.dirty()}else if(C.kind==="duration"){if(!Ns5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"duration",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="ip"){if(!Ls5(I.data,C.version))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"ip",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="jwt"){if(!ys5(I.data,C.alg))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"jwt",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="cidr"){if(!Ps5(I.data,C.version))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"cidr",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="base64"){if(!vs5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"base64",code:y0.invalid_string,message:C.message}),G.dirty()}else if(C.kind==="base64url"){if(!Es5.test(I.data))Z=this._getOrReturnCtx(I,Z),d2(Z,{validation:"base64url",code:y0.invalid_string,message:C.message}),G.dirty()}else N5.assertNever(C);return{status:G.value,value:I.data}}_regex(I,d,G){return this.refinement((Z)=>I.test(Z),{validation:d,code:y0.invalid_string,...M2.errToObj(G)})}_addCheck(I){return new AW({...this._def,checks:[...this._def.checks,I]})}email(I){return this._addCheck({kind:"email",...M2.errToObj(I)})}url(I){return this._addCheck({kind:"url",...M2.errToObj(I)})}emoji(I){return this._addCheck({kind:"emoji",...M2.errToObj(I)})}uuid(I){return this._addCheck({kind:"uuid",...M2.errToObj(I)})}nanoid(I){return this._addCheck({kind:"nanoid",...M2.errToObj(I)})}cuid(I){return this._addCheck({kind:"cuid",...M2.errToObj(I)})}cuid2(I){return this._addCheck({kind:"cuid2",...M2.errToObj(I)})}ulid(I){return this._addCheck({kind:"ulid",...M2.errToObj(I)})}base64(I){return this._addCheck({kind:"base64",...M2.errToObj(I)})}base64url(I){return this._addCheck({kind:"base64url",...M2.errToObj(I)})}jwt(I){return this._addCheck({kind:"jwt",...M2.errToObj(I)})}ip(I){return this._addCheck({kind:"ip",...M2.errToObj(I)})}cidr(I){return this._addCheck({kind:"cidr",...M2.errToObj(I)})}datetime(I){var d,G;if(typeof I==="string")return this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:I});return this._addCheck({kind:"datetime",precision:typeof(I===null||I===void 0?void 0:I.precision)==="undefined"?null:I===null||I===void 0?void 0:I.precision,offset:(d=I===null||I===void 0?void 0:I.offset)!==null&&d!==void 0?d:!1,local:(G=I===null||I===void 0?void 0:I.local)!==null&&G!==void 0?G:!1,...M2.errToObj(I===null||I===void 0?void 0:I.message)})}date(I){return this._addCheck({kind:"date",message:I})}time(I){if(typeof I==="string")return this._addCheck({kind:"time",precision:null,message:I});return this._addCheck({kind:"time",precision:typeof(I===null||I===void 0?void 0:I.precision)==="undefined"?null:I===null||I===void 0?void 0:I.precision,...M2.errToObj(I===null||I===void 0?void 0:I.message)})}duration(I){return this._addCheck({kind:"duration",...M2.errToObj(I)})}regex(I,d){return this._addCheck({kind:"regex",regex:I,...M2.errToObj(d)})}includes(I,d){return this._addCheck({kind:"includes",value:I,position:d===null||d===void 0?void 0:d.position,...M2.errToObj(d===null||d===void 0?void 0:d.message)})}startsWith(I,d){return this._addCheck({kind:"startsWith",value:I,...M2.errToObj(d)})}endsWith(I,d){return this._addCheck({kind:"endsWith",value:I,...M2.errToObj(d)})}min(I,d){return this._addCheck({kind:"min",value:I,...M2.errToObj(d)})}max(I,d){return this._addCheck({kind:"max",value:I,...M2.errToObj(d)})}length(I,d){return this._addCheck({kind:"length",value:I,...M2.errToObj(d)})}nonempty(I){return this.min(1,M2.errToObj(I))}trim(){return new AW({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new AW({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new AW({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((I)=>I.kind==="datetime")}get isDate(){return!!this._def.checks.find((I)=>I.kind==="date")}get isTime(){return!!this._def.checks.find((I)=>I.kind==="time")}get isDuration(){return!!this._def.checks.find((I)=>I.kind==="duration")}get isEmail(){return!!this._def.checks.find((I)=>I.kind==="email")}get isURL(){return!!this._def.checks.find((I)=>I.kind==="url")}get isEmoji(){return!!this._def.checks.find((I)=>I.kind==="emoji")}get isUUID(){return!!this._def.checks.find((I)=>I.kind==="uuid")}get isNANOID(){return!!this._def.checks.find((I)=>I.kind==="nanoid")}get isCUID(){return!!this._def.checks.find((I)=>I.kind==="cuid")}get isCUID2(){return!!this._def.checks.find((I)=>I.kind==="cuid2")}get isULID(){return!!this._def.checks.find((I)=>I.kind==="ulid")}get isIP(){return!!this._def.checks.find((I)=>I.kind==="ip")}get isCIDR(){return!!this._def.checks.find((I)=>I.kind==="cidr")}get isBase64(){return!!this._def.checks.find((I)=>I.kind==="base64")}get isBase64url(){return!!this._def.checks.find((I)=>I.kind==="base64url")}get minLength(){let I=null;for(let d of this._def.checks)if(d.kind==="min"){if(I===null||d.value>I)I=d.value}return I}get maxLength(){let I=null;for(let d of this._def.checks)if(d.kind==="max"){if(I===null||d.value<I)I=d.value}return I}}AW.create=(I)=>{var d;return new AW({checks:[],typeName:T0.ZodString,coerce:(d=I===null||I===void 0?void 0:I.coerce)!==null&&d!==void 0?d:!1,...S4(I)})};function $s5(I,d){let G=(I.toString().split(".")[1]||"").length,Z=(d.toString().split(".")[1]||"").length,C=G>Z?G:Z,W=parseInt(I.toFixed(C).replace(".","")),w=parseInt(d.toFixed(C).replace(".",""));return W%w/Math.pow(10,C)}class tD extends P4{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(I){if(this._def.coerce)I.data=Number(I.data);if(this._getType(I)!==_2.number){let C=this._getOrReturnCtx(I);return d2(C,{code:y0.invalid_type,expected:_2.number,received:C.parsedType}),w4}let G=void 0,Z=new h7;for(let C of this._def.checks)if(C.kind==="int"){if(!N5.isInteger(I.data))G=this._getOrReturnCtx(I,G),d2(G,{code:y0.invalid_type,expected:"integer",received:"float",message:C.message}),Z.dirty()}else if(C.kind==="min"){if(C.inclusive?I.data<C.value:I.data<=C.value)G=this._getOrReturnCtx(I,G),d2(G,{code:y0.too_small,minimum:C.value,type:"number",inclusive:C.inclusive,exact:!1,message:C.message}),Z.dirty()}else if(C.kind==="max"){if(C.inclusive?I.data>C.value:I.data>=C.value)G=this._getOrReturnCtx(I,G),d2(G,{code:y0.too_big,maximum:C.value,type:"number",inclusive:C.inclusive,exact:!1,message:C.message}),Z.dirty()}else if(C.kind==="multipleOf"){if($s5(I.data,C.value)!==0)G=this._getOrReturnCtx(I,G),d2(G,{code:y0.not_multiple_of,multipleOf:C.value,message:C.message}),Z.dirty()}else if(C.kind==="finite"){if(!Number.isFinite(I.data))G=this._getOrReturnCtx(I,G),d2(G,{code:y0.not_finite,message:C.message}),Z.dirty()}else N5.assertNever(C);return{status:Z.value,value:I.data}}gte(I,d){return this.setLimit("min",I,!0,M2.toString(d))}gt(I,d){return this.setLimit("min",I,!1,M2.toString(d))}lte(I,d){return this.setLimit("max",I,!0,M2.toString(d))}lt(I,d){return this.setLimit("max",I,!1,M2.toString(d))}setLimit(I,d,G,Z){return new tD({...this._def,checks:[...this._def.checks,{kind:I,value:d,inclusive:G,message:M2.toString(Z)}]})}_addCheck(I){return new tD({...this._def,checks:[...this._def.checks,I]})}int(I){return this._addCheck({kind:"int",message:M2.toString(I)})}positive(I){return this._addCheck({kind:"min",value:0,inclusive:!1,message:M2.toString(I)})}negative(I){return this._addCheck({kind:"max",value:0,inclusive:!1,message:M2.toString(I)})}nonpositive(I){return this._addCheck({kind:"max",value:0,inclusive:!0,message:M2.toString(I)})}nonnegative(I){return this._addCheck({kind:"min",value:0,inclusive:!0,message:M2.toString(I)})}multipleOf(I,d){return this._addCheck({kind:"multipleOf",value:I,message:M2.toString(d)})}finite(I){return this._addCheck({kind:"finite",message:M2.toString(I)})}safe(I){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:M2.toString(I)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:M2.toString(I)})}get minValue(){let I=null;for(let d of this._def.checks)if(d.kind==="min"){if(I===null||d.value>I)I=d.value}return I}get maxValue(){let I=null;for(let d of this._def.checks)if(d.kind==="max"){if(I===null||d.value<I)I=d.value}return I}get isInt(){return!!this._def.checks.find((I)=>I.kind==="int"||I.kind==="multipleOf"&&N5.isInteger(I.value))}get isFinite(){let I=null,d=null;for(let G of this._def.checks)if(G.kind==="finite"||G.kind==="int"||G.kind==="multipleOf")return!0;else if(G.kind==="min"){if(d===null||G.value>d)d=G.value}else if(G.kind==="max"){if(I===null||G.value<I)I=G.value}return Number.isFinite(d)&&Number.isFinite(I)}}tD.create=(I)=>{return new tD({checks:[],typeName:T0.ZodNumber,coerce:(I===null||I===void 0?void 0:I.coerce)||!1,...S4(I)})};class IH extends P4{constructor(){super(...arguments);this.min=this.gte,this.max=this.lte}_parse(I){if(this._def.coerce)try{I.data=BigInt(I.data)}catch(C){return this._getInvalidInput(I)}if(this._getType(I)!==_2.bigint)return this._getInvalidInput(I);let G=void 0,Z=new h7;for(let C of this._def.checks)if(C.kind==="min"){if(C.inclusive?I.data<C.value:I.data<=C.value)G=this._getOrReturnCtx(I,G),d2(G,{code:y0.too_small,type:"bigint",minimum:C.value,inclusive:C.inclusive,message:C.message}),Z.dirty()}else if(C.kind==="max"){if(C.inclusive?I.data>C.value:I.data>=C.value)G=this._getOrReturnCtx(I,G),d2(G,{code:y0.too_big,type:"bigint",maximum:C.value,inclusive:C.inclusive,message:C.message}),Z.dirty()}else if(C.kind==="multipleOf"){if(I.data%C.value!==BigInt(0))G=this._getOrReturnCtx(I,G),d2(G,{code:y0.not_multiple_of,multipleOf:C.value,message:C.message}),Z.dirty()}else N5.assertNever(C);return{status:Z.value,value:I.data}}_getInvalidInput(I){let d=this._getOrReturnCtx(I);return d2(d,{code:y0.invalid_type,expected:_2.bigint,received:d.parsedType}),w4}gte(I,d){return this.setLimit("min",I,!0,M2.toString(d))}gt(I,d){return this.setLimit("min",I,!1,M2.toString(d))}lte(I,d){return this.setLimit("max",I,!0,M2.toString(d))}lt(I,d){return this.setLimit("max",I,!1,M2.toString(d))}setLimit(I,d,G,Z){return new IH({...this._def,checks:[...this._def.checks,{kind:I,value:d,inclusive:G,message:M2.toString(Z)}]})}_addCheck(I){return new IH({...this._def,checks:[...this._def.checks,I]})}positive(I){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:M2.toString(I)})}negative(I){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:M2.toString(I)})}nonpositive(I){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:M2.toString(I)})}nonnegative(I){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:M2.toString(I)})}multipleOf(I,d){return this._addCheck({kind:"multipleOf",value:I,message:M2.toString(d)})}get minValue(){let I=null;for(let d of this._def.checks)if(d.kind==="min"){if(I===null||d.value>I)I=d.value}return I}get maxValue(){let I=null;for(let d of this._def.checks)if(d.kind==="max"){if(I===null||d.value<I)I=d.value}return I}}IH.create=(I)=>{var d;return new IH({checks:[],typeName:T0.ZodBigInt,coerce:(d=I===null||I===void 0?void 0:I.coerce)!==null&&d!==void 0?d:!1,...S4(I)})};class BR extends P4{_parse(I){if(this._def.coerce)I.data=Boolean(I.data);if(this._getType(I)!==_2.boolean){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.boolean,received:G.parsedType}),w4}return DI(I.data)}}BR.create=(I)=>{return new BR({typeName:T0.ZodBoolean,coerce:(I===null||I===void 0?void 0:I.coerce)||!1,...S4(I)})};class lJ extends P4{_parse(I){if(this._def.coerce)I.data=new Date(I.data);if(this._getType(I)!==_2.date){let C=this._getOrReturnCtx(I);return d2(C,{code:y0.invalid_type,expected:_2.date,received:C.parsedType}),w4}if(isNaN(I.data.getTime())){let C=this._getOrReturnCtx(I);return d2(C,{code:y0.invalid_date}),w4}let G=new h7,Z=void 0;for(let C of this._def.checks)if(C.kind==="min"){if(I.data.getTime()<C.value)Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.too_small,message:C.message,inclusive:!0,exact:!1,minimum:C.value,type:"date"}),G.dirty()}else if(C.kind==="max"){if(I.data.getTime()>C.value)Z=this._getOrReturnCtx(I,Z),d2(Z,{code:y0.too_big,message:C.message,inclusive:!0,exact:!1,maximum:C.value,type:"date"}),G.dirty()}else N5.assertNever(C);return{status:G.value,value:new Date(I.data.getTime())}}_addCheck(I){return new lJ({...this._def,checks:[...this._def.checks,I]})}min(I,d){return this._addCheck({kind:"min",value:I.getTime(),message:M2.toString(d)})}max(I,d){return this._addCheck({kind:"max",value:I.getTime(),message:M2.toString(d)})}get minDate(){let I=null;for(let d of this._def.checks)if(d.kind==="min"){if(I===null||d.value>I)I=d.value}return I!=null?new Date(I):null}get maxDate(){let I=null;for(let d of this._def.checks)if(d.kind==="max"){if(I===null||d.value<I)I=d.value}return I!=null?new Date(I):null}}lJ.create=(I)=>{return new lJ({checks:[],coerce:(I===null||I===void 0?void 0:I.coerce)||!1,typeName:T0.ZodDate,...S4(I)})};class H$ extends P4{_parse(I){if(this._getType(I)!==_2.symbol){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.symbol,received:G.parsedType}),w4}return DI(I.data)}}H$.create=(I)=>{return new H$({typeName:T0.ZodSymbol,...S4(I)})};class AR extends P4{_parse(I){if(this._getType(I)!==_2.undefined){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.undefined,received:G.parsedType}),w4}return DI(I.data)}}AR.create=(I)=>{return new AR({typeName:T0.ZodUndefined,...S4(I)})};class VR extends P4{_parse(I){if(this._getType(I)!==_2.null){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.null,received:G.parsedType}),w4}return DI(I.data)}}VR.create=(I)=>{return new VR({typeName:T0.ZodNull,...S4(I)})};class bJ extends P4{constructor(){super(...arguments);this._any=!0}_parse(I){return DI(I.data)}}bJ.create=(I)=>{return new bJ({typeName:T0.ZodAny,...S4(I)})};class eD extends P4{constructor(){super(...arguments);this._unknown=!0}_parse(I){return DI(I.data)}}eD.create=(I)=>{return new eD({typeName:T0.ZodUnknown,...S4(I)})};class EB extends P4{_parse(I){let d=this._getOrReturnCtx(I);return d2(d,{code:y0.invalid_type,expected:_2.never,received:d.parsedType}),w4}}EB.create=(I)=>{return new EB({typeName:T0.ZodNever,...S4(I)})};class F$ extends P4{_parse(I){if(this._getType(I)!==_2.undefined){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.void,received:G.parsedType}),w4}return DI(I.data)}}F$.create=(I)=>{return new F$({typeName:T0.ZodVoid,...S4(I)})};class VW extends P4{_parse(I){let{ctx:d,status:G}=this._processInputParams(I),Z=this._def;if(d.parsedType!==_2.array)return d2(d,{code:y0.invalid_type,expected:_2.array,received:d.parsedType}),w4;if(Z.exactLength!==null){let W=d.data.length>Z.exactLength.value,w=d.data.length<Z.exactLength.value;if(W||w)d2(d,{code:W?y0.too_big:y0.too_small,minimum:w?Z.exactLength.value:void 0,maximum:W?Z.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:Z.exactLength.message}),G.dirty()}if(Z.minLength!==null){if(d.data.length<Z.minLength.value)d2(d,{code:y0.too_small,minimum:Z.minLength.value,type:"array",inclusive:!0,exact:!1,message:Z.minLength.message}),G.dirty()}if(Z.maxLength!==null){if(d.data.length>Z.maxLength.value)d2(d,{code:y0.too_big,maximum:Z.maxLength.value,type:"array",inclusive:!0,exact:!1,message:Z.maxLength.message}),G.dirty()}if(d.common.async)return Promise.all([...d.data].map((W,w)=>{return Z.type._parseAsync(new XW(d,W,d.path,w))})).then((W)=>{return h7.mergeArray(G,W)});let C=[...d.data].map((W,w)=>{return Z.type._parseSync(new XW(d,W,d.path,w))});return h7.mergeArray(G,C)}get element(){return this._def.type}min(I,d){return new VW({...this._def,minLength:{value:I,message:M2.toString(d)}})}max(I,d){return new VW({...this._def,maxLength:{value:I,message:M2.toString(d)}})}length(I,d){return new VW({...this._def,exactLength:{value:I,message:M2.toString(d)}})}nonempty(I){return this.min(1,I)}}VW.create=(I,d)=>{return new VW({type:I,minLength:null,maxLength:null,exactLength:null,typeName:T0.ZodArray,...S4(d)})};function ZR(I){if(I instanceof M3){let d={};for(let G in I.shape){let Z=I.shape[G];d[G]=VG.create(ZR(Z))}return new M3({...I._def,shape:()=>d})}else if(I instanceof VW)return new VW({...I._def,type:ZR(I.element)});else if(I instanceof VG)return VG.create(ZR(I.unwrap()));else if(I instanceof GX)return GX.create(ZR(I.unwrap()));else if(I instanceof MB)return MB.create(I.items.map((d)=>ZR(d)));else return I}class M3 extends P4{constructor(){super(...arguments);this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;let I=this._def.shape(),d=N5.objectKeys(I);return this._cached={shape:I,keys:d}}_parse(I){if(this._getType(I)!==_2.object){let A=this._getOrReturnCtx(I);return d2(A,{code:y0.invalid_type,expected:_2.object,received:A.parsedType}),w4}let{status:G,ctx:Z}=this._processInputParams(I),{shape:C,keys:W}=this._getCached(),w=[];if(!(this._def.catchall instanceof EB&&this._def.unknownKeys==="strip")){for(let A in Z.data)if(!W.includes(A))w.push(A)}let B=[];for(let A of W){let V=C[A],X=Z.data[A];B.push({key:{status:"valid",value:A},value:V._parse(new XW(Z,X,Z.path,A)),alwaysSet:A in Z.data})}if(this._def.catchall instanceof EB){let A=this._def.unknownKeys;if(A==="passthrough")for(let V of w)B.push({key:{status:"valid",value:V},value:{status:"valid",value:Z.data[V]}});else if(A==="strict"){if(w.length>0)d2(Z,{code:y0.unrecognized_keys,keys:w}),G.dirty()}else if(A==="strip");else throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{let A=this._def.catchall;for(let V of w){let X=Z.data[V];B.push({key:{status:"valid",value:V},value:A._parse(new XW(Z,X,Z.path,V)),alwaysSet:V in Z.data})}}if(Z.common.async)return Promise.resolve().then(async()=>{let A=[];for(let V of B){let X=await V.key,_=await V.value;A.push({key:X,value:_,alwaysSet:V.alwaysSet})}return A}).then((A)=>{return h7.mergeObjectSync(G,A)});else return h7.mergeObjectSync(G,B)}get shape(){return this._def.shape()}strict(I){return M2.errToObj,new M3({...this._def,unknownKeys:"strict",...I!==void 0?{errorMap:(d,G)=>{var Z,C,W,w;let B=(W=(C=(Z=this._def).errorMap)===null||C===void 0?void 0:C.call(Z,d,G).message)!==null&&W!==void 0?W:G.defaultError;if(d.code==="unrecognized_keys")return{message:(w=M2.errToObj(I).message)!==null&&w!==void 0?w:B};return{message:B}}}:{}})}strip(){return new M3({...this._def,unknownKeys:"strip"})}passthrough(){return new M3({...this._def,unknownKeys:"passthrough"})}extend(I){return new M3({...this._def,shape:()=>({...this._def.shape(),...I})})}merge(I){return new M3({unknownKeys:I._def.unknownKeys,catchall:I._def.catchall,shape:()=>({...this._def.shape(),...I._def.shape()}),typeName:T0.ZodObject})}setKey(I,d){return this.augment({[I]:d})}catchall(I){return new M3({...this._def,catchall:I})}pick(I){let d={};return N5.objectKeys(I).forEach((G)=>{if(I[G]&&this.shape[G])d[G]=this.shape[G]}),new M3({...this._def,shape:()=>d})}omit(I){let d={};return N5.objectKeys(this.shape).forEach((G)=>{if(!I[G])d[G]=this.shape[G]}),new M3({...this._def,shape:()=>d})}deepPartial(){return ZR(this)}partial(I){let d={};return N5.objectKeys(this.shape).forEach((G)=>{let Z=this.shape[G];if(I&&!I[G])d[G]=Z;else d[G]=Z.optional()}),new M3({...this._def,shape:()=>d})}required(I){let d={};return N5.objectKeys(this.shape).forEach((G)=>{if(I&&!I[G])d[G]=this.shape[G];else{let C=this.shape[G];while(C instanceof VG)C=C._def.innerType;d[G]=C}}),new M3({...this._def,shape:()=>d})}keyof(){return _W2(N5.objectKeys(this.shape))}}M3.create=(I,d)=>{return new M3({shape:()=>I,unknownKeys:"strip",catchall:EB.create(),typeName:T0.ZodObject,...S4(d)})};M3.strictCreate=(I,d)=>{return new M3({shape:()=>I,unknownKeys:"strict",catchall:EB.create(),typeName:T0.ZodObject,...S4(d)})};M3.lazycreate=(I,d)=>{return new M3({shape:I,unknownKeys:"strip",catchall:EB.create(),typeName:T0.ZodObject,...S4(d)})};class XR extends P4{_parse(I){let{ctx:d}=this._processInputParams(I),G=this._def.options;function Z(C){for(let w of C)if(w.result.status==="valid")return w.result;for(let w of C)if(w.result.status==="dirty")return d.common.issues.push(...w.ctx.common.issues),w.result;let W=C.map((w)=>new AG(w.ctx.common.issues));return d2(d,{code:y0.invalid_union,unionErrors:W}),w4}if(d.common.async)return Promise.all(G.map(async(C)=>{let W={...d,common:{...d.common,issues:[]},parent:null};return{result:await C._parseAsync({data:d.data,path:d.path,parent:W}),ctx:W}})).then(Z);else{let C=void 0,W=[];for(let B of G){let A={...d,common:{...d.common,issues:[]},parent:null},V=B._parseSync({data:d.data,path:d.path,parent:A});if(V.status==="valid")return V;else if(V.status==="dirty"&&!C)C={result:V,ctx:A};if(A.common.issues.length)W.push(A.common.issues)}if(C)return d.common.issues.push(...C.ctx.common.issues),C.result;let w=W.map((B)=>new AG(B));return d2(d,{code:y0.invalid_union,unionErrors:w}),w4}}get options(){return this._def.options}}XR.create=(I,d)=>{return new XR({options:I,typeName:T0.ZodUnion,...S4(d)})};var IX=(I)=>{if(I instanceof _R)return IX(I.schema);else if(I instanceof bZ)return IX(I.innerType());else if(I instanceof DR)return[I.value];else if(I instanceof dH)return I.options;else if(I instanceof HR)return N5.objectValues(I.enum);else if(I instanceof FR)return IX(I._def.innerType);else if(I instanceof AR)return[void 0];else if(I instanceof VR)return[null];else if(I instanceof VG)return[void 0,...IX(I.unwrap())];else if(I instanceof GX)return[null,...IX(I.unwrap())];else if(I instanceof Ka)return IX(I.unwrap());else if(I instanceof JR)return IX(I.unwrap());else if(I instanceof gR)return IX(I._def.innerType);else return[]};class Ja extends P4{_parse(I){let{ctx:d}=this._processInputParams(I);if(d.parsedType!==_2.object)return d2(d,{code:y0.invalid_type,expected:_2.object,received:d.parsedType}),w4;let G=this.discriminator,Z=d.data[G],C=this.optionsMap.get(Z);if(!C)return d2(d,{code:y0.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[G]}),w4;if(d.common.async)return C._parseAsync({data:d.data,path:d.path,parent:d});else return C._parseSync({data:d.data,path:d.path,parent:d})}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(I,d,G){let Z=new Map;for(let C of d){let W=IX(C.shape[I]);if(!W.length)throw new Error(`A discriminator value for key \`${I}\` could not be extracted from all schema options`);for(let w of W){if(Z.has(w))throw new Error(`Discriminator property ${String(I)} has duplicate value ${String(w)}`);Z.set(w,C)}}return new Ja({typeName:T0.ZodDiscriminatedUnion,discriminator:I,options:d,optionsMap:Z,...S4(G)})}}function RF1(I,d){let G=dX(I),Z=dX(d);if(I===d)return{valid:!0,data:I};else if(G===_2.object&&Z===_2.object){let C=N5.objectKeys(d),W=N5.objectKeys(I).filter((B)=>C.indexOf(B)!==-1),w={...I,...d};for(let B of W){let A=RF1(I[B],d[B]);if(!A.valid)return{valid:!1};w[B]=A.data}return{valid:!0,data:w}}else if(G===_2.array&&Z===_2.array){if(I.length!==d.length)return{valid:!1};let C=[];for(let W=0;W<I.length;W++){let w=I[W],B=d[W],A=RF1(w,B);if(!A.valid)return{valid:!1};C.push(A.data)}return{valid:!0,data:C}}else if(G===_2.date&&Z===_2.date&&+I===+d)return{valid:!0,data:I};else return{valid:!1}}class YR extends P4{_parse(I){let{status:d,ctx:G}=this._processInputParams(I),Z=(C,W)=>{if(fF1(C)||fF1(W))return w4;let w=RF1(C.value,W.value);if(!w.valid)return d2(G,{code:y0.invalid_intersection_types}),w4;if(qF1(C)||qF1(W))d.dirty();return{status:d.value,value:w.data}};if(G.common.async)return Promise.all([this._def.left._parseAsync({data:G.data,path:G.path,parent:G}),this._def.right._parseAsync({data:G.data,path:G.path,parent:G})]).then(([C,W])=>Z(C,W));else return Z(this._def.left._parseSync({data:G.data,path:G.path,parent:G}),this._def.right._parseSync({data:G.data,path:G.path,parent:G}))}}YR.create=(I,d,G)=>{return new YR({left:I,right:d,typeName:T0.ZodIntersection,...S4(G)})};class MB extends P4{_parse(I){let{status:d,ctx:G}=this._processInputParams(I);if(G.parsedType!==_2.array)return d2(G,{code:y0.invalid_type,expected:_2.array,received:G.parsedType}),w4;if(G.data.length<this._def.items.length)return d2(G,{code:y0.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),w4;if(!this._def.rest&&G.data.length>this._def.items.length)d2(G,{code:y0.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),d.dirty();let C=[...G.data].map((W,w)=>{let B=this._def.items[w]||this._def.rest;if(!B)return null;return B._parse(new XW(G,W,G.path,w))}).filter((W)=>!!W);if(G.common.async)return Promise.all(C).then((W)=>{return h7.mergeArray(d,W)});else return h7.mergeArray(d,C)}get items(){return this._def.items}rest(I){return new MB({...this._def,rest:I})}}MB.create=(I,d)=>{if(!Array.isArray(I))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new MB({items:I,typeName:T0.ZodTuple,rest:null,...S4(d)})};class g$ extends P4{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(I){let{status:d,ctx:G}=this._processInputParams(I);if(G.parsedType!==_2.object)return d2(G,{code:y0.invalid_type,expected:_2.object,received:G.parsedType}),w4;let Z=[],C=this._def.keyType,W=this._def.valueType;for(let w in G.data)Z.push({key:C._parse(new XW(G,w,G.path,w)),value:W._parse(new XW(G,G.data[w],G.path,w)),alwaysSet:w in G.data});if(G.common.async)return h7.mergeObjectAsync(d,Z);else return h7.mergeObjectSync(d,Z)}get element(){return this._def.valueType}static create(I,d,G){if(d instanceof P4)return new g$({keyType:I,valueType:d,typeName:T0.ZodRecord,...S4(G)});return new g$({keyType:AW.create(),valueType:I,typeName:T0.ZodRecord,...S4(d)})}}class J$ extends P4{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(I){let{status:d,ctx:G}=this._processInputParams(I);if(G.parsedType!==_2.map)return d2(G,{code:y0.invalid_type,expected:_2.map,received:G.parsedType}),w4;let Z=this._def.keyType,C=this._def.valueType,W=[...G.data.entries()].map(([w,B],A)=>{return{key:Z._parse(new XW(G,w,G.path,[A,"key"])),value:C._parse(new XW(G,B,G.path,[A,"value"]))}});if(G.common.async){let w=new Map;return Promise.resolve().then(async()=>{for(let B of W){let A=await B.key,V=await B.value;if(A.status==="aborted"||V.status==="aborted")return w4;if(A.status==="dirty"||V.status==="dirty")d.dirty();w.set(A.value,V.value)}return{status:d.value,value:w}})}else{let w=new Map;for(let B of W){let{key:A,value:V}=B;if(A.status==="aborted"||V.status==="aborted")return w4;if(A.status==="dirty"||V.status==="dirty")d.dirty();w.set(A.value,V.value)}return{status:d.value,value:w}}}}J$.create=(I,d,G)=>{return new J$({valueType:d,keyType:I,typeName:T0.ZodMap,...S4(G)})};class hJ extends P4{_parse(I){let{status:d,ctx:G}=this._processInputParams(I);if(G.parsedType!==_2.set)return d2(G,{code:y0.invalid_type,expected:_2.set,received:G.parsedType}),w4;let Z=this._def;if(Z.minSize!==null){if(G.data.size<Z.minSize.value)d2(G,{code:y0.too_small,minimum:Z.minSize.value,type:"set",inclusive:!0,exact:!1,message:Z.minSize.message}),d.dirty()}if(Z.maxSize!==null){if(G.data.size>Z.maxSize.value)d2(G,{code:y0.too_big,maximum:Z.maxSize.value,type:"set",inclusive:!0,exact:!1,message:Z.maxSize.message}),d.dirty()}let C=this._def.valueType;function W(B){let A=new Set;for(let V of B){if(V.status==="aborted")return w4;if(V.status==="dirty")d.dirty();A.add(V.value)}return{status:d.value,value:A}}let w=[...G.data.values()].map((B,A)=>C._parse(new XW(G,B,G.path,A)));if(G.common.async)return Promise.all(w).then((B)=>W(B));else return W(w)}min(I,d){return new hJ({...this._def,minSize:{value:I,message:M2.toString(d)}})}max(I,d){return new hJ({...this._def,maxSize:{value:I,message:M2.toString(d)}})}size(I,d){return this.min(I,d).max(I,d)}nonempty(I){return this.min(1,I)}}hJ.create=(I,d)=>{return new hJ({valueType:I,minSize:null,maxSize:null,typeName:T0.ZodSet,...S4(d)})};class WR extends P4{constructor(){super(...arguments);this.validate=this.implement}_parse(I){let{ctx:d}=this._processInputParams(I);if(d.parsedType!==_2.function)return d2(d,{code:y0.invalid_type,expected:_2.function,received:d.parsedType}),w4;function G(w,B){return Fa({data:w,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,Ha(),wR].filter((A)=>!!A),issueData:{code:y0.invalid_arguments,argumentsError:B}})}function Z(w,B){return Fa({data:w,path:d.path,errorMaps:[d.common.contextualErrorMap,d.schemaErrorMap,Ha(),wR].filter((A)=>!!A),issueData:{code:y0.invalid_return_type,returnTypeError:B}})}let C={errorMap:d.common.contextualErrorMap},W=d.data;if(this._def.returns instanceof jJ){let w=this;return DI(async function(...B){let A=new AG([]),V=await w._def.args.parseAsync(B,C).catch((F)=>{throw A.addIssue(G(B,F)),A}),X=await Reflect.apply(W,this,V);return await w._def.returns._def.type.parseAsync(X,C).catch((F)=>{throw A.addIssue(Z(X,F)),A})})}else{let w=this;return DI(function(...B){let A=w._def.args.safeParse(B,C);if(!A.success)throw new AG([G(B,A.error)]);let V=Reflect.apply(W,this,A.data),X=w._def.returns.safeParse(V,C);if(!X.success)throw new AG([Z(V,X.error)]);return X.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...I){return new WR({...this._def,args:MB.create(I).rest(eD.create())})}returns(I){return new WR({...this._def,returns:I})}implement(I){return this.parse(I)}strictImplement(I){return this.parse(I)}static create(I,d,G){return new WR({args:I?I:MB.create([]).rest(eD.create()),returns:d||eD.create(),typeName:T0.ZodFunction,...S4(G)})}}class _R extends P4{get schema(){return this._def.getter()}_parse(I){let{ctx:d}=this._processInputParams(I);return this._def.getter()._parse({data:d.data,path:d.path,parent:d})}}_R.create=(I,d)=>{return new _R({getter:I,typeName:T0.ZodLazy,...S4(d)})};class DR extends P4{_parse(I){if(I.data!==this._def.value){let d=this._getOrReturnCtx(I);return d2(d,{received:d.data,code:y0.invalid_literal,expected:this._def.value}),w4}return{status:"valid",value:I.data}}get value(){return this._def.value}}DR.create=(I,d)=>{return new DR({value:I,typeName:T0.ZodLiteral,...S4(d)})};function _W2(I,d){return new dH({values:I,typeName:T0.ZodEnum,...S4(d)})}class dH extends P4{constructor(){super(...arguments);Y$.set(this,void 0)}_parse(I){if(typeof I.data!=="string"){let d=this._getOrReturnCtx(I),G=this._def.values;return d2(d,{expected:N5.joinValues(G),received:d.parsedType,code:y0.invalid_type}),w4}if(!ga(this,Y$,"f"))AW2(this,Y$,new Set(this._def.values),"f");if(!ga(this,Y$,"f").has(I.data)){let d=this._getOrReturnCtx(I),G=this._def.values;return d2(d,{received:d.data,code:y0.invalid_enum_value,options:G}),w4}return DI(I.data)}get options(){return this._def.values}get enum(){let I={};for(let d of this._def.values)I[d]=d;return I}get Values(){let I={};for(let d of this._def.values)I[d]=d;return I}get Enum(){let I={};for(let d of this._def.values)I[d]=d;return I}extract(I,d=this._def){return dH.create(I,{...this._def,...d})}exclude(I,d=this._def){return dH.create(this.options.filter((G)=>!I.includes(G)),{...this._def,...d})}}Y$=new WeakMap;dH.create=_W2;class HR extends P4{constructor(){super(...arguments);_$.set(this,void 0)}_parse(I){let d=N5.getValidEnumValues(this._def.values),G=this._getOrReturnCtx(I);if(G.parsedType!==_2.string&&G.parsedType!==_2.number){let Z=N5.objectValues(d);return d2(G,{expected:N5.joinValues(Z),received:G.parsedType,code:y0.invalid_type}),w4}if(!ga(this,_$,"f"))AW2(this,_$,new Set(N5.getValidEnumValues(this._def.values)),"f");if(!ga(this,_$,"f").has(I.data)){let Z=N5.objectValues(d);return d2(G,{received:G.data,code:y0.invalid_enum_value,options:Z}),w4}return DI(I.data)}get enum(){return this._def.values}}_$=new WeakMap;HR.create=(I,d)=>{return new HR({values:I,typeName:T0.ZodNativeEnum,...S4(d)})};class jJ extends P4{unwrap(){return this._def.type}_parse(I){let{ctx:d}=this._processInputParams(I);if(d.parsedType!==_2.promise&&d.common.async===!1)return d2(d,{code:y0.invalid_type,expected:_2.promise,received:d.parsedType}),w4;let G=d.parsedType===_2.promise?d.data:Promise.resolve(d.data);return DI(G.then((Z)=>{return this._def.type.parseAsync(Z,{path:d.path,errorMap:d.common.contextualErrorMap})}))}}jJ.create=(I,d)=>{return new jJ({type:I,typeName:T0.ZodPromise,...S4(d)})};class bZ extends P4{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===T0.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(I){let{status:d,ctx:G}=this._processInputParams(I),Z=this._def.effect||null,C={addIssue:(W)=>{if(d2(G,W),W.fatal)d.abort();else d.dirty()},get path(){return G.path}};if(C.addIssue=C.addIssue.bind(C),Z.type==="preprocess"){let W=Z.transform(G.data,C);if(G.common.async)return Promise.resolve(W).then(async(w)=>{if(d.value==="aborted")return w4;let B=await this._def.schema._parseAsync({data:w,path:G.path,parent:G});if(B.status==="aborted")return w4;if(B.status==="dirty")return CR(B.value);if(d.value==="dirty")return CR(B.value);return B});else{if(d.value==="aborted")return w4;let w=this._def.schema._parseSync({data:W,path:G.path,parent:G});if(w.status==="aborted")return w4;if(w.status==="dirty")return CR(w.value);if(d.value==="dirty")return CR(w.value);return w}}if(Z.type==="refinement"){let W=(w)=>{let B=Z.refinement(w,C);if(G.common.async)return Promise.resolve(B);if(B instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return w};if(G.common.async===!1){let w=this._def.schema._parseSync({data:G.data,path:G.path,parent:G});if(w.status==="aborted")return w4;if(w.status==="dirty")d.dirty();return W(w.value),{status:d.value,value:w.value}}else return this._def.schema._parseAsync({data:G.data,path:G.path,parent:G}).then((w)=>{if(w.status==="aborted")return w4;if(w.status==="dirty")d.dirty();return W(w.value).then(()=>{return{status:d.value,value:w.value}})})}if(Z.type==="transform")if(G.common.async===!1){let W=this._def.schema._parseSync({data:G.data,path:G.path,parent:G});if(!mJ(W))return W;let w=Z.transform(W.value,C);if(w instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:d.value,value:w}}else return this._def.schema._parseAsync({data:G.data,path:G.path,parent:G}).then((W)=>{if(!mJ(W))return W;return Promise.resolve(Z.transform(W.value,C)).then((w)=>({status:d.value,value:w}))});N5.assertNever(Z)}}bZ.create=(I,d,G)=>{return new bZ({schema:I,typeName:T0.ZodEffects,effect:d,...S4(G)})};bZ.createWithPreprocess=(I,d,G)=>{return new bZ({schema:d,effect:{type:"preprocess",transform:I},typeName:T0.ZodEffects,...S4(G)})};class VG extends P4{_parse(I){if(this._getType(I)===_2.undefined)return DI(void 0);return this._def.innerType._parse(I)}unwrap(){return this._def.innerType}}VG.create=(I,d)=>{return new VG({innerType:I,typeName:T0.ZodOptional,...S4(d)})};class GX extends P4{_parse(I){if(this._getType(I)===_2.null)return DI(null);return this._def.innerType._parse(I)}unwrap(){return this._def.innerType}}GX.create=(I,d)=>{return new GX({innerType:I,typeName:T0.ZodNullable,...S4(d)})};class FR extends P4{_parse(I){let{ctx:d}=this._processInputParams(I),G=d.data;if(d.parsedType===_2.undefined)G=this._def.defaultValue();return this._def.innerType._parse({data:G,path:d.path,parent:d})}removeDefault(){return this._def.innerType}}FR.create=(I,d)=>{return new FR({innerType:I,typeName:T0.ZodDefault,defaultValue:typeof d.default==="function"?d.default:()=>d.default,...S4(d)})};class gR extends P4{_parse(I){let{ctx:d}=this._processInputParams(I),G={...d,common:{...d.common,issues:[]}},Z=this._def.innerType._parse({data:G.data,path:G.path,parent:{...G}});if(D$(Z))return Z.then((C)=>{return{status:"valid",value:C.status==="valid"?C.value:this._def.catchValue({get error(){return new AG(G.common.issues)},input:G.data})}});else return{status:"valid",value:Z.status==="valid"?Z.value:this._def.catchValue({get error(){return new AG(G.common.issues)},input:G.data})}}removeCatch(){return this._def.innerType}}gR.create=(I,d)=>{return new gR({innerType:I,typeName:T0.ZodCatch,catchValue:typeof d.catch==="function"?d.catch:()=>d.catch,...S4(d)})};class K$ extends P4{_parse(I){if(this._getType(I)!==_2.nan){let G=this._getOrReturnCtx(I);return d2(G,{code:y0.invalid_type,expected:_2.nan,received:G.parsedType}),w4}return{status:"valid",value:I.data}}}K$.create=(I)=>{return new K$({typeName:T0.ZodNaN,...S4(I)})};var us5=Symbol("zod_brand");class Ka extends P4{_parse(I){let{ctx:d}=this._processInputParams(I),G=d.data;return this._def.type._parse({data:G,path:d.path,parent:d})}unwrap(){return this._def.type}}class N$ extends P4{_parse(I){let{status:d,ctx:G}=this._processInputParams(I);if(G.common.async)return(async()=>{let C=await this._def.in._parseAsync({data:G.data,path:G.path,parent:G});if(C.status==="aborted")return w4;if(C.status==="dirty")return d.dirty(),CR(C.value);else return this._def.out._parseAsync({data:C.value,path:G.path,parent:G})})();else{let Z=this._def.in._parseSync({data:G.data,path:G.path,parent:G});if(Z.status==="aborted")return w4;if(Z.status==="dirty")return d.dirty(),{status:"dirty",value:Z.value};else return this._def.out._parseSync({data:Z.value,path:G.path,parent:G})}}static create(I,d){return new N$({in:I,out:d,typeName:T0.ZodPipeline})}}class JR extends P4{_parse(I){let d=this._def.innerType._parse(I),G=(Z)=>{if(mJ(Z))Z.value=Object.freeze(Z.value);return Z};return D$(d)?d.then((Z)=>G(Z)):G(d)}unwrap(){return this._def.innerType}}JR.create=(I,d)=>{return new JR({innerType:I,typeName:T0.ZodReadonly,...S4(d)})};function DW2(I,d={},G){if(I)return bJ.create().superRefine((Z,C)=>{var W,w;if(!I(Z)){let B=typeof d==="function"?d(Z):typeof d==="string"?{message:d}:d,A=(w=(W=B.fatal)!==null&&W!==void 0?W:G)!==null&&w!==void 0?w:!0,V=typeof B==="string"?{message:B}:B;C.addIssue({code:"custom",...V,fatal:A})}});return bJ.create()}var Ts5={object:M3.lazycreate},T0;(function(I){I.ZodString="ZodString",I.ZodNumber="ZodNumber",I.ZodNaN="ZodNaN",I.ZodBigInt="ZodBigInt",I.ZodBoolean="ZodBoolean",I.ZodDate="ZodDate",I.ZodSymbol="ZodSymbol",I.ZodUndefined="ZodUndefined",I.ZodNull="ZodNull",I.ZodAny="ZodAny",I.ZodUnknown="ZodUnknown",I.ZodNever="ZodNever",I.ZodVoid="ZodVoid",I.ZodArray="ZodArray",I.ZodObject="ZodObject",I.ZodUnion="ZodUnion",I.ZodDiscriminatedUnion="ZodDiscriminatedUnion",I.ZodIntersection="ZodIntersection",I.ZodTuple="ZodTuple",I.ZodRecord="ZodRecord",I.ZodMap="ZodMap",I.ZodSet="ZodSet",I.ZodFunction="ZodFunction",I.ZodLazy="ZodLazy",I.ZodLiteral="ZodLiteral",I.ZodEnum="ZodEnum",I.ZodEffects="ZodEffects",I.ZodNativeEnum="ZodNativeEnum",I.ZodOptional="ZodOptional",I.ZodNullable="ZodNullable",I.ZodDefault="ZodDefault",I.ZodCatch="ZodCatch",I.ZodPromise="ZodPromise",I.ZodBranded="ZodBranded",I.ZodPipeline="ZodPipeline",I.ZodReadonly="ZodReadonly"})(T0||(T0={}));var Os5=(I,d={message:`Input not instance of ${I.name}`})=>DW2((G)=>G instanceof I,d),HW2=AW.create,FW2=tD.create,ms5=K$.create,ls5=IH.create,gW2=BR.create,bs5=lJ.create,hs5=H$.create,js5=AR.create,ks5=VR.create,xs5=bJ.create,cs5=eD.create,ps5=EB.create,is5=F$.create,ns5=VW.create,rs5=M3.create,as5=M3.strictCreate,ss5=XR.create,os5=Ja.create,es5=YR.create,ts5=MB.create,Io5=g$.create,do5=J$.create,Go5=hJ.create,Zo5=WR.create,Co5=_R.create,Wo5=DR.create,wo5=dH.create,Bo5=HR.create,Ao5=jJ.create,wW2=bZ.create,Vo5=VG.create,Xo5=GX.create,Yo5=bZ.createWithPreprocess,_o5=N$.create,Do5=()=>HW2().optional(),Ho5=()=>FW2().optional(),Fo5=()=>gW2().optional(),go5={string:(I)=>AW.create({...I,coerce:!0}),number:(I)=>tD.create({...I,coerce:!0}),boolean:(I)=>BR.create({...I,coerce:!0}),bigint:(I)=>IH.create({...I,coerce:!0}),date:(I)=>lJ.create({...I,coerce:!0})},Jo5=w4,s=Object.freeze({__proto__:null,defaultErrorMap:wR,setErrorMap:Ys5,getErrorMap:Ha,makeIssue:Fa,EMPTY_PATH:_s5,addIssueToContext:d2,ParseStatus:h7,INVALID:w4,DIRTY:CR,OK:DI,isAborted:fF1,isDirty:qF1,isValid:mJ,isAsync:D$,get util(){return N5},get objectUtil(){return QF1},ZodParsedType:_2,getParsedType:dX,ZodType:P4,datetimeRegex:YW2,ZodString:AW,ZodNumber:tD,ZodBigInt:IH,ZodBoolean:BR,ZodDate:lJ,ZodSymbol:H$,ZodUndefined:AR,ZodNull:VR,ZodAny:bJ,ZodUnknown:eD,ZodNever:EB,ZodVoid:F$,ZodArray:VW,ZodObject:M3,ZodUnion:XR,ZodDiscriminatedUnion:Ja,ZodIntersection:YR,ZodTuple:MB,ZodRecord:g$,ZodMap:J$,ZodSet:hJ,ZodFunction:WR,ZodLazy:_R,ZodLiteral:DR,ZodEnum:dH,ZodNativeEnum:HR,ZodPromise:jJ,ZodEffects:bZ,ZodTransformer:bZ,ZodOptional:VG,ZodNullable:GX,ZodDefault:FR,ZodCatch:gR,ZodNaN:K$,BRAND:us5,ZodBranded:Ka,ZodPipeline:N$,ZodReadonly:JR,custom:DW2,Schema:P4,ZodSchema:P4,late:Ts5,get ZodFirstPartyTypeKind(){return T0},coerce:go5,any:xs5,array:ns5,bigint:ls5,boolean:gW2,date:bs5,discriminatedUnion:os5,effect:wW2,enum:wo5,function:Zo5,instanceof:Os5,intersection:es5,lazy:Co5,literal:Wo5,map:do5,nan:ms5,nativeEnum:Bo5,never:ps5,null:ks5,nullable:Xo5,number:FW2,object:rs5,oboolean:Fo5,onumber:Ho5,optional:Vo5,ostring:Do5,pipeline:_o5,preprocess:Yo5,promise:Ao5,record:Io5,set:Go5,strictObject:as5,string:HW2,symbol:hs5,transformer:wW2,tuple:ts5,undefined:js5,union:ss5,unknown:cs5,void:is5,NEVER:Jo5,ZodIssueCode:y0,quotelessJson:Xs5,ZodError:AG});function JW2(){return{}}function KW2(I,d){let G={type:"array"};if(I.type?._def&&I.type?._def?.typeName!==T0.ZodAny)G.items=o2(I.type._def,{...d,currentPath:[...d.currentPath,"items"]});if(I.minLength)X5(G,"minItems",I.minLength.value,I.minLength.message,d);if(I.maxLength)X5(G,"maxItems",I.maxLength.value,I.maxLength.message,d);if(I.exactLength)X5(G,"minItems",I.exactLength.value,I.exactLength.message,d),X5(G,"maxItems",I.exactLength.value,I.exactLength.message,d);return G}function NW2(I,d){let G={type:"integer",format:"int64"};if(!I.checks)return G;for(let Z of I.checks)switch(Z.kind){case"min":if(d.target==="jsonSchema7")if(Z.inclusive)X5(G,"minimum",Z.value,Z.message,d);else X5(G,"exclusiveMinimum",Z.value,Z.message,d);else{if(!Z.inclusive)G.exclusiveMinimum=!0;X5(G,"minimum",Z.value,Z.message,d)}break;case"max":if(d.target==="jsonSchema7")if(Z.inclusive)X5(G,"maximum",Z.value,Z.message,d);else X5(G,"exclusiveMaximum",Z.value,Z.message,d);else{if(!Z.inclusive)G.exclusiveMaximum=!0;X5(G,"maximum",Z.value,Z.message,d)}break;case"multipleOf":X5(G,"multipleOf",Z.value,Z.message,d);break}return G}function zW2(){return{type:"boolean"}}function Na(I,d){return o2(I.type._def,d)}var QW2=(I,d)=>{return o2(I.innerType._def,d)};function UF1(I,d,G){let Z=G??d.dateStrategy;if(Array.isArray(Z))return{anyOf:Z.map((C,W)=>UF1(I,d,C))};switch(Z){case"string":case"format:date-time":return{type:"string",format:"date-time"};case"format:date":return{type:"string",format:"date"};case"integer":return Ko5(I,d)}}var Ko5=(I,d)=>{let G={type:"integer",format:"unix-time"};if(d.target==="openApi3")return G;for(let Z of I.checks)switch(Z.kind){case"min":X5(G,"minimum",Z.value,Z.message,d);break;case"max":X5(G,"maximum",Z.value,Z.message,d);break}return G};function fW2(I,d){return{...o2(I.innerType._def,d),default:I.defaultValue()}}function qW2(I,d){return d.effectStrategy==="input"?o2(I.schema._def,d):{}}function RW2(I){return{type:"string",enum:Array.from(I.values)}}var No5=(I)=>{if("type"in I&&I.type==="string")return!1;return"allOf"in I};function UW2(I,d){let G=[o2(I.left._def,{...d,currentPath:[...d.currentPath,"allOf","0"]}),o2(I.right._def,{...d,currentPath:[...d.currentPath,"allOf","1"]})].filter((W)=>!!W),Z=d.target==="jsonSchema2019-09"?{unevaluatedProperties:!1}:void 0,C=[];return G.forEach((W)=>{if(No5(W)){if(C.push(...W.allOf),W.unevaluatedProperties===void 0)Z=void 0}else{let w=W;if("additionalProperties"in W&&W.additionalProperties===!1){let{additionalProperties:B,...A}=W;w=A}else Z=void 0;C.push(w)}}),C.length?{allOf:C,...Z}:void 0}function vW2(I,d){let G=typeof I.value;if(G!=="bigint"&&G!=="number"&&G!=="boolean"&&G!=="string")return{type:Array.isArray(I.value)?"array":"object"};if(d.target==="openApi3")return{type:G==="bigint"?"integer":G,enum:[I.value]};return{type:G==="bigint"?"integer":G,const:I.value}}var vF1=void 0,YW={cuid:/^[cC][^\s-]{8,}$/,cuid2:/^[0-9a-z]+$/,ulid:/^[0-9A-HJKMNP-TV-Z]{26}$/,email:/^(?!\.)(?!.*\.\.)([a-zA-Z0-9_'+\-\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\-]*\.)+[a-zA-Z]{2,}$/,emoji:()=>{if(vF1===void 0)vF1=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u");return vF1},uuid:/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/,ipv4:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,ipv4Cidr:/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,ipv6:/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ipv6Cidr:/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,base64:/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,base64url:/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,nanoid:/^[a-zA-Z0-9_-]{21}$/,jwt:/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/};function za(I,d){let G={type:"string"};if(I.checks)for(let Z of I.checks)switch(Z.kind){case"min":X5(G,"minLength",typeof G.minLength==="number"?Math.max(G.minLength,Z.value):Z.value,Z.message,d);break;case"max":X5(G,"maxLength",typeof G.maxLength==="number"?Math.min(G.maxLength,Z.value):Z.value,Z.message,d);break;case"email":switch(d.emailStrategy){case"format:email":_W(G,"email",Z.message,d);break;case"format:idn-email":_W(G,"idn-email",Z.message,d);break;case"pattern:zod":HI(G,YW.email,Z.message,d);break}break;case"url":_W(G,"uri",Z.message,d);break;case"uuid":_W(G,"uuid",Z.message,d);break;case"regex":HI(G,Z.regex,Z.message,d);break;case"cuid":HI(G,YW.cuid,Z.message,d);break;case"cuid2":HI(G,YW.cuid2,Z.message,d);break;case"startsWith":HI(G,RegExp(`^${EF1(Z.value,d)}`),Z.message,d);break;case"endsWith":HI(G,RegExp(`${EF1(Z.value,d)}$`),Z.message,d);break;case"datetime":_W(G,"date-time",Z.message,d);break;case"date":_W(G,"date",Z.message,d);break;case"time":_W(G,"time",Z.message,d);break;case"duration":_W(G,"duration",Z.message,d);break;case"length":X5(G,"minLength",typeof G.minLength==="number"?Math.max(G.minLength,Z.value):Z.value,Z.message,d),X5(G,"maxLength",typeof G.maxLength==="number"?Math.min(G.maxLength,Z.value):Z.value,Z.message,d);break;case"includes":{HI(G,RegExp(EF1(Z.value,d)),Z.message,d);break}case"ip":{if(Z.version!=="v6")_W(G,"ipv4",Z.message,d);if(Z.version!=="v4")_W(G,"ipv6",Z.message,d);break}case"base64url":HI(G,YW.base64url,Z.message,d);break;case"jwt":HI(G,YW.jwt,Z.message,d);break;case"cidr":{if(Z.version!=="v6")HI(G,YW.ipv4Cidr,Z.message,d);if(Z.version!=="v4")HI(G,YW.ipv6Cidr,Z.message,d);break}case"emoji":HI(G,YW.emoji(),Z.message,d);break;case"ulid":{HI(G,YW.ulid,Z.message,d);break}case"base64":{switch(d.base64Strategy){case"format:binary":{_W(G,"binary",Z.message,d);break}case"contentEncoding:base64":{X5(G,"contentEncoding","base64",Z.message,d);break}case"pattern:zod":{HI(G,YW.base64,Z.message,d);break}}break}case"nanoid":HI(G,YW.nanoid,Z.message,d);case"toLowerCase":case"toUpperCase":case"trim":break;default:((C)=>{})(Z)}return G}function EF1(I,d){return d.patternStrategy==="escape"?Qo5(I):I}var zo5=new Set("ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789");function Qo5(I){let d="";for(let G=0;G<I.length;G++){if(!zo5.has(I[G]))d+="\\";d+=I[G]}return d}function _W(I,d,G,Z){if(I.format||I.anyOf?.some((C)=>C.format)){if(!I.anyOf)I.anyOf=[];if(I.format){if(I.anyOf.push({format:I.format,...I.errorMessage&&Z.errorMessages&&{errorMessage:{format:I.errorMessage.format}}}),delete I.format,I.errorMessage){if(delete I.errorMessage.format,Object.keys(I.errorMessage).length===0)delete I.errorMessage}}I.anyOf.push({format:d,...G&&Z.errorMessages&&{errorMessage:{format:G}}})}else X5(I,"format",d,G,Z)}function HI(I,d,G,Z){if(I.pattern||I.allOf?.some((C)=>C.pattern)){if(!I.allOf)I.allOf=[];if(I.pattern){if(I.allOf.push({pattern:I.pattern,...I.errorMessage&&Z.errorMessages&&{errorMessage:{pattern:I.errorMessage.pattern}}}),delete I.pattern,I.errorMessage){if(delete I.errorMessage.pattern,Object.keys(I.errorMessage).length===0)delete I.errorMessage}}I.allOf.push({pattern:EW2(d,Z),...G&&Z.errorMessages&&{errorMessage:{pattern:G}}})}else X5(I,"pattern",EW2(d,Z),G,Z)}function EW2(I,d){if(!d.applyRegexFlags||!I.flags)return I.source;let G={i:I.flags.includes("i"),m:I.flags.includes("m"),s:I.flags.includes("s")},Z=G.i?I.source.toLowerCase():I.source,C="",W=!1,w=!1,B=!1;for(let A=0;A<Z.length;A++){if(W){C+=Z[A],W=!1;continue}if(G.i){if(w){if(Z[A].match(/[a-z]/)){if(B)C+=Z[A],C+=`${Z[A-2]}-${Z[A]}`.toUpperCase(),B=!1;else if(Z[A+1]==="-"&&Z[A+2]?.match(/[a-z]/))C+=Z[A],B=!0;else C+=`${Z[A]}${Z[A].toUpperCase()}`;continue}}else if(Z[A].match(/[a-z]/)){C+=`[${Z[A]}${Z[A].toUpperCase()}]`;continue}}if(G.m){if(Z[A]==="^"){C+=`(^|(?<=[\r
]))`;continue}else if(Z[A]==="$"){C+=`($|(?=[\r
]))`;continue}}if(G.s&&Z[A]==="."){C+=w?`${Z[A]}\r
`:`[${Z[A]}\r
]`;continue}if(C+=Z[A],Z[A]==="\\")W=!0;else if(w&&Z[A]==="]")w=!1;else if(!w&&Z[A]==="[")w=!0}try{new RegExp(C)}catch{return console.warn(`Could not convert regex pattern at ${d.currentPath.join("/")} to a flag-independent form! Falling back to the flag-ignorant source`),I.source}return C}function Qa(I,d){if(d.target==="openAi")console.warn("Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.");if(d.target==="openApi3"&&I.keyType?._def.typeName===T0.ZodEnum)return{type:"object",required:I.keyType._def.values,properties:I.keyType._def.values.reduce((Z,C)=>({...Z,[C]:o2(I.valueType._def,{...d,currentPath:[...d.currentPath,"properties",C]})??{}}),{}),additionalProperties:!1};let G={type:"object",additionalProperties:o2(I.valueType._def,{...d,currentPath:[...d.currentPath,"additionalProperties"]})??{}};if(d.target==="openApi3")return G;if(I.keyType?._def.typeName===T0.ZodString&&I.keyType._def.checks?.length){let{type:Z,...C}=za(I.keyType._def,d);return{...G,propertyNames:C}}else if(I.keyType?._def.typeName===T0.ZodEnum)return{...G,propertyNames:{enum:I.keyType._def.values}};else if(I.keyType?._def.typeName===T0.ZodBranded&&I.keyType._def.type._def.typeName===T0.ZodString&&I.keyType._def.type._def.checks?.length){let{type:Z,...C}=Na(I.keyType._def,d);return{...G,propertyNames:C}}return G}function MW2(I,d){if(d.mapStrategy==="record")return Qa(I,d);let G=o2(I.keyType._def,{...d,currentPath:[...d.currentPath,"items","items","0"]})||{},Z=o2(I.valueType._def,{...d,currentPath:[...d.currentPath,"items","items","1"]})||{};return{type:"array",maxItems:125,items:{type:"array",items:[G,Z],minItems:2,maxItems:2}}}function SW2(I){let d=I.values,Z=Object.keys(I.values).filter((W)=>{return typeof d[d[W]]!=="number"}).map((W)=>d[W]),C=Array.from(new Set(Z.map((W)=>typeof W)));return{type:C.length===1?C[0]==="string"?"string":"number":["string","number"],enum:Z}}function LW2(){return{not:{}}}function yW2(I){return I.target==="openApi3"?{enum:["null"],nullable:!0}:{type:"null"}}var z$={ZodString:"string",ZodNumber:"number",ZodBigInt:"integer",ZodBoolean:"boolean",ZodNull:"null"};function $W2(I,d){if(d.target==="openApi3")return PW2(I,d);let G=I.options instanceof Map?Array.from(I.options.values()):I.options;if(G.every((Z)=>(Z._def.typeName in z$)&&(!Z._def.checks||!Z._def.checks.length))){let Z=G.reduce((C,W)=>{let w=z$[W._def.typeName];return w&&!C.includes(w)?[...C,w]:C},[]);return{type:Z.length>1?Z:Z[0]}}else if(G.every((Z)=>Z._def.typeName==="ZodLiteral"&&!Z.description)){let Z=G.reduce((C,W)=>{let w=typeof W._def.value;switch(w){case"string":case"number":case"boolean":return[...C,w];case"bigint":return[...C,"integer"];case"object":if(W._def.value===null)return[...C,"null"];case"symbol":case"undefined":case"function":default:return C}},[]);if(Z.length===G.length){let C=Z.filter((W,w,B)=>B.indexOf(W)===w);return{type:C.length>1?C:C[0],enum:G.reduce((W,w)=>{return W.includes(w._def.value)?W:[...W,w._def.value]},[])}}}else if(G.every((Z)=>Z._def.typeName==="ZodEnum"))return{type:"string",enum:G.reduce((Z,C)=>[...Z,...C._def.values.filter((W)=>!Z.includes(W))],[])};return PW2(I,d)}var PW2=(I,d)=>{let G=(I.options instanceof Map?Array.from(I.options.values()):I.options).map((Z,C)=>o2(Z._def,{...d,currentPath:[...d.currentPath,"anyOf",`${C}`]})).filter((Z)=>!!Z&&(!d.strictUnions||typeof Z==="object"&&Object.keys(Z).length>0));return G.length?{anyOf:G}:void 0};function uW2(I,d){if(["ZodString","ZodNumber","ZodBigInt","ZodBoolean","ZodNull"].includes(I.innerType._def.typeName)&&(!I.innerType._def.checks||!I.innerType._def.checks.length)){if(d.target==="openApi3")return{type:z$[I.innerType._def.typeName],nullable:!0};return{type:[z$[I.innerType._def.typeName],"null"]}}if(d.target==="openApi3"){let Z=o2(I.innerType._def,{...d,currentPath:[...d.currentPath]});if(Z&&"$ref"in Z)return{allOf:[Z],nullable:!0};return Z&&{...Z,nullable:!0}}let G=o2(I.innerType._def,{...d,currentPath:[...d.currentPath,"anyOf","0"]});return G&&{anyOf:[G,{type:"null"}]}}function TW2(I,d){let G={type:"number"};if(!I.checks)return G;for(let Z of I.checks)switch(Z.kind){case"int":G.type="integer",NF1(G,"type",Z.message,d);break;case"min":if(d.target==="jsonSchema7")if(Z.inclusive)X5(G,"minimum",Z.value,Z.message,d);else X5(G,"exclusiveMinimum",Z.value,Z.message,d);else{if(!Z.inclusive)G.exclusiveMinimum=!0;X5(G,"minimum",Z.value,Z.message,d)}break;case"max":if(d.target==="jsonSchema7")if(Z.inclusive)X5(G,"maximum",Z.value,Z.message,d);else X5(G,"exclusiveMaximum",Z.value,Z.message,d);else{if(!Z.inclusive)G.exclusiveMaximum=!0;X5(G,"maximum",Z.value,Z.message,d)}break;case"multipleOf":X5(G,"multipleOf",Z.value,Z.message,d);break}return G}function fo5(I,d){if(d.removeAdditionalStrategy==="strict")return I.catchall._def.typeName==="ZodNever"?I.unknownKeys!=="strict":o2(I.catchall._def,{...d,currentPath:[...d.currentPath,"additionalProperties"]})??!0;else return I.catchall._def.typeName==="ZodNever"?I.unknownKeys==="passthrough":o2(I.catchall._def,{...d,currentPath:[...d.currentPath,"additionalProperties"]})??!0}function OW2(I,d){let G=d.target==="openAi",Z={type:"object",...Object.entries(I.shape()).reduce((C,[W,w])=>{if(w===void 0||w._def===void 0)return C;let B=w.isOptional();if(B&&G){if(w instanceof VG)w=w._def.innerType;if(!w.isNullable())w=w.nullable();B=!1}let A=o2(w._def,{...d,currentPath:[...d.currentPath,"properties",W],propertyPath:[...d.currentPath,"properties",W]});if(A===void 0)return C;return{properties:{...C.properties,[W]:A},required:B?C.required:[...C.required,W]}},{properties:{},required:[]}),additionalProperties:fo5(I,d)};if(!Z.required.length)delete Z.required;return Z}var mW2=(I,d)=>{if(d.currentPath.toString()===d.propertyPath?.toString())return o2(I.innerType._def,d);let G=o2(I.innerType._def,{...d,currentPath:[...d.currentPath,"anyOf","1"]});return G?{anyOf:[{not:{}},G]}:{}};var lW2=(I,d)=>{if(d.pipeStrategy==="input")return o2(I.in._def,d);else if(d.pipeStrategy==="output")return o2(I.out._def,d);let G=o2(I.in._def,{...d,currentPath:[...d.currentPath,"allOf","0"]}),Z=o2(I.out._def,{...d,currentPath:[...d.currentPath,"allOf",G?"1":"0"]});return{allOf:[G,Z].filter((C)=>C!==void 0)}};function bW2(I,d){return o2(I.type._def,d)}function hW2(I,d){let Z={type:"array",uniqueItems:!0,items:o2(I.valueType._def,{...d,currentPath:[...d.currentPath,"items"]})};if(I.minSize)X5(Z,"minItems",I.minSize.value,I.minSize.message,d);if(I.maxSize)X5(Z,"maxItems",I.maxSize.value,I.maxSize.message,d);return Z}function jW2(I,d){if(I.rest)return{type:"array",minItems:I.items.length,items:I.items.map((G,Z)=>o2(G._def,{...d,currentPath:[...d.currentPath,"items",`${Z}`]})).reduce((G,Z)=>Z===void 0?G:[...G,Z],[]),additionalItems:o2(I.rest._def,{...d,currentPath:[...d.currentPath,"additionalItems"]})};else return{type:"array",minItems:I.items.length,maxItems:I.items.length,items:I.items.map((G,Z)=>o2(G._def,{...d,currentPath:[...d.currentPath,"items",`${Z}`]})).reduce((G,Z)=>Z===void 0?G:[...G,Z],[])}}function kW2(){return{not:{}}}function xW2(){return{}}var cW2=(I,d)=>{return o2(I.innerType._def,d)};function o2(I,d,G=!1){let Z=d.seen.get(I);if(d.override){let w=d.override?.(I,d,Z,G);if(w!==GW2)return w}if(Z&&!G){let w=qo5(Z,d);if(w!==void 0)return w}let C={def:I,path:d.currentPath,jsonSchema:void 0};d.seen.set(I,C);let W=Uo5(I,I.typeName,d);if(W)vo5(I,d,W);return C.jsonSchema=W,W}var qo5=(I,d)=>{switch(d.$refStrategy){case"root":return{$ref:I.path.join("/")};case"relative":return{$ref:Ro5(d.currentPath,I.path)};case"none":case"seen":{if(I.path.length<d.currentPath.length&&I.path.every((G,Z)=>d.currentPath[Z]===G))return console.warn(`Recursive reference detected at ${d.currentPath.join("/")}! Defaulting to any`),{};return d.$refStrategy==="seen"?{}:void 0}}},Ro5=(I,d)=>{let G=0;for(;G<I.length&&G<d.length;G++)if(I[G]!==d[G])break;return[(I.length-G).toString(),...d.slice(G)].join("/")},Uo5=(I,d,G)=>{switch(d){case T0.ZodString:return za(I,G);case T0.ZodNumber:return TW2(I,G);case T0.ZodObject:return OW2(I,G);case T0.ZodBigInt:return NW2(I,G);case T0.ZodBoolean:return zW2();case T0.ZodDate:return UF1(I,G);case T0.ZodUndefined:return kW2();case T0.ZodNull:return yW2(G);case T0.ZodArray:return KW2(I,G);case T0.ZodUnion:case T0.ZodDiscriminatedUnion:return $W2(I,G);case T0.ZodIntersection:return UW2(I,G);case T0.ZodTuple:return jW2(I,G);case T0.ZodRecord:return Qa(I,G);case T0.ZodLiteral:return vW2(I,G);case T0.ZodEnum:return RW2(I);case T0.ZodNativeEnum:return SW2(I);case T0.ZodNullable:return uW2(I,G);case T0.ZodOptional:return mW2(I,G);case T0.ZodMap:return MW2(I,G);case T0.ZodSet:return hW2(I,G);case T0.ZodLazy:return o2(I.getter()._def,G);case T0.ZodPromise:return bW2(I,G);case T0.ZodNaN:case T0.ZodNever:return LW2();case T0.ZodEffects:return qW2(I,G);case T0.ZodAny:return JW2();case T0.ZodUnknown:return xW2();case T0.ZodDefault:return fW2(I,G);case T0.ZodBranded:return Na(I,G);case T0.ZodReadonly:return cW2(I,G);case T0.ZodCatch:return QW2(I,G);case T0.ZodPipeline:return lW2(I,G);case T0.ZodFunction:case T0.ZodVoid:case T0.ZodSymbol:return;default:return((Z)=>{return})(d)}},vo5=(I,d,G)=>{if(I.description){if(G.description=I.description,d.markdownDescription)G.markdownDescription=I.description}return G};var KR=(I,d)=>{let G=CW2(d),Z=typeof d==="object"&&d.definitions?Object.entries(d.definitions).reduce((A,[V,X])=>({...A,[V]:o2(X._def,{...G,currentPath:[...G.basePath,G.definitionPath,V]},!0)??{}}),{}):void 0,C=typeof d==="string"?d:d?.nameStrategy==="title"?void 0:d?.name,W=o2(I._def,C===void 0?G:{...G,currentPath:[...G.basePath,G.definitionPath,C]},!1)??{},w=typeof d==="object"&&d.name!==void 0&&d.nameStrategy==="title"?d.name:void 0;if(w!==void 0)W.title=w;let B=C===void 0?Z?{...W,[G.definitionPath]:Z}:W:{$ref:[...G.$refStrategy==="relative"?[]:G.basePath,G.definitionPath,C].join("/"),[G.definitionPath]:{...Z,[C]:W}};if(G.target==="jsonSchema7")B.$schema="http://json-schema.org/draft-07/schema#";else if(G.target==="jsonSchema2019-09"||G.target==="openAi")B.$schema="https://json-schema.org/draft/2019-09/schema#";if(G.target==="openAi"&&(("anyOf"in B)||("oneOf"in B)||("allOf"in B)||("type"in B)&&Array.isArray(B.type)))console.warn("Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.");return B};var s$=J1(u1(),1);import{statSync as uZ9}from"fs";import{EOL as us}from"os";import{isAbsolute as jK2,relative as kK2,resolve as xK2}from"path";var Q$=J1(u1(),1);function A3(){return Q$.createElement(u,null,"  ⎿  ",Q$.createElement(u,{color:r1().error},"No (tell Claude what to do differently)"))}var LF1=J1(t01(),1);var MF1="__SINGLE_QUOTE__",SF1="__DOUBLE_QUOTE__";function NR(I){let d=[];for(let C of LF1.parse(I.replaceAll('"',`"${SF1}`).replaceAll("'",`'${MF1}`),(W)=>`$${W}`)){if(typeof C==="string"){if(d.length>0&&typeof d[d.length-1]==="string"){d[d.length-1]+=" "+C;continue}}d.push(C)}return d.map((C)=>{if(typeof C==="string")return C;if("comment"in C)return"#"+C.comment;if("op"in C&&C.op==="glob")return C.pattern;if("op"in C)return C.op;return null}).filter((C)=>C!==null).map((C)=>{return C.replaceAll(`${MF1}`,"'").replaceAll(`${SF1}`,'"')}).filter((C)=>!iW2.has(C))}var fa=a2(async(I,d)=>{let G=NR(I),[Z,...C]=await Promise.all([pW2(I,d),...G.map(async(w)=>({subcommand:w,prefix:await pW2(w,d)}))]);if(!Z)return null;let W=C.reduce((w,{subcommand:B,prefix:A})=>{if(A)w.set(B,A);return w},new Map);return{...Z,subcommandPrefixes:W}},(I)=>I),pW2=a2(async(I,d)=>{let G=await jZ({systemPrompt:[`Your task is to process Bash commands that an AI coding agent wants to run.

This policy spec defines how to determine the prefix of a Bash command:`],userPrompt:`<policy_spec>
# ${K4} Code Bash command prefix detection

This document defines risk levels for actions that the ${K4} agent may take. This classification system is part of a broader safety framework and is used to determine when additional user confirmation or oversight may be needed.

## Definitions

**Command Injection:** Any technique used that would result in a command being run other than the detected prefix.

## Command prefix extraction examples
Examples:
- cat foo.txt => cat
- cd src => cd
- cd path/to/files/ => cd
- find ./src -type f -name "*.ts" => find
- gg cat foo.py => gg cat
- gg cp foo.py bar.py => gg cp
- git commit -m "foo" => git commit
- git diff HEAD~1 => git diff
- git diff --staged => git diff
- git diff $(pwd) => command_injection_detected
- git status => git status
- git status# test(\`id\`) => command_injection_detected
- git status\`ls\` => command_injection_detected
- git push => none
- git push origin master => git push
- git log -n 5 => git log
- git log --oneline -n 5 => git log
- grep -A 40 "from foo.bar.baz import" alpha/beta/gamma.py => grep
- pig tail zerba.log => pig tail
- npm test => none
- npm test --foo => npm test
- npm test -- -f "foo" => npm test
- pwd
 curl example.com => command_injection_detected
- pytest foo/bar.py => pytest
- scalac build => none
</policy_spec>

The user has allowed certain command prefixes to be run, and will otherwise be asked to approve or deny the command.
Your task is to determine the command prefix for the following command.

IMPORTANT: Bash commands may run multiple commands that are chained together.
For safety, if the command seems to contain command injection, you must return "command_injection_detected". 
(This will help protect the user: if they think that they're allowlisting command A, 
but the AI coding agent sends a malicious command that technically has the same prefix as command A, 
then the safety system will see that you said “command_injection_detected” and ask the user for manual confirmation.)

Note that not every command has a prefix. If a command has no prefix, return "none".

ONLY return the prefix. Do not return any other text, markdown markers, or other content or formatting.

Command: ${I}
`,signal:d,enablePromptCaching:!1}),Z=typeof G.message.content==="string"?G.message.content:Array.isArray(G.message.content)?G.message.content.find((C)=>C.type==="text")?.text??"none":"none";if(Z.startsWith(hZ))return null;if(Z==="command_injection_detected")return{commandInjectionDetected:!0};if(Z==="git")return{commandPrefix:null,commandInjectionDetected:!1};if(Z==="none")return{commandPrefix:null,commandInjectionDetected:!1};return{commandPrefix:Z,commandInjectionDetected:!1}},(I)=>I),iW2=new Set(["&&","||",";",";;"]);function Eo5(I){for(let d of LF1.parse(I.replaceAll('"',`"${SF1}`).replaceAll("'",`'${MF1}`),(G)=>`$${G}`)){if(typeof d==="string")continue;if("comment"in d)return!1;if("op"in d){if(d.op==="glob")continue;else if(iW2.has(d.op))continue;return!1}}return!0}function nW2(I){return NR(I).length>1&&!Eo5(I)}var JW=J1(u1(),1);var qa="dispatch_agent";import{existsSync as fZ9,readFileSync as ZJ1,statSync as uK2}from"fs";var S3=J1(u1(),1);import*as BJ1 from"path";import{extname as qZ9,relative as RZ9}from"path";var TR=J1(Tg1(),1);var Cs=J1(u1(),1);function yB({code:I,language:d}){let G=Cs.useMemo(()=>{try{if(TR.supportsLanguage(d))return TR.highlight(I,{language:d});else return X0(`Language not supported while highlighting code, falling back to markdown: ${d}`),TR.highlight(I,{language:"markdown"})}catch(Z){if(Z instanceof Error&&Z.message.includes("Unknown language"))return X0(`Language not supported while highlighting code, falling back to markdown: ${Z}`),TR.highlight(I,{language:"markdown"})}},[I,d]);return Cs.default.createElement(u,null,G)}import{existsSync as F79,readFileSync as g79}from"fs";var AX=J1(u1(),1);import{extname as J79,isAbsolute as Ag2,relative as K79,resolve as Vg2}from"path";function b$(I){if(I.length<=Ws)return{totalLines:I.split(`
`).length,truncatedContent:I};let d=Ws/2,G=I.slice(0,d),Z=I.slice(-d),C=`${G}

... [${I.slice(d,-d).split(`
`).length} lines truncated] ...

${Z}`;return{totalLines:I.split(`
`).length,truncatedContent:C}}async function Cg2(I,d){let Z=(await jZ({systemPrompt:[`Extract any file paths that this command reads or modifies. For commands like "git diff" and "cat", include the paths of files being shown. Use paths verbatim -- don't add any slashes or try to resolve them. Do not try to infer paths that were not explicitly listed in the command output.
Format your response as:
<filepaths>
path/to/file1
path/to/file2
</filepaths>

If no files are read or modified, return empty filepaths tags:
<filepaths>
</filepaths>

Do not include any other text in your response.`],userPrompt:`Command: ${I}
Output: ${d}`,enablePromptCaching:!0})).message.content.filter((C)=>C.type==="text").map((C)=>C.text).join("");return XG(Z,"filepaths")?.trim().split(`
`).filter(Boolean)||[]}var Wg2="Extract and read source code from all code cells in a Jupyter notebook.",wg2="Reads a Jupyter notebook (.ipynb file) and returns all of the cells with their outputs. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path.";import{isAbsolute as _79,resolve as Bg2}from"path";var ws=new Set,Bs=new Set;function BX(I){return _79(I)?Bg2(I):Bg2(R0(),I)}function As(I){return BX(I).startsWith(BX(t7()))}function PB(I){let d=BX(I);for(let G of ws)if(d.startsWith(G))return!0;return!1}function OR(I){let d=BX(I);for(let G of Bs)if(d.startsWith(G))return!0;return!1}function D79(I){let d=BX(I);for(let G of ws)if(G.startsWith(d))ws.delete(G);ws.add(d)}function Og1(){let I=t7();D79(I)}function H79(I){let d=BX(I);for(let G of Bs)if(G.startsWith(d))Bs.delete(G);Bs.add(d)}function Vs(){let I=t7();H79(I)}var N79=s.strictObject({notebook_path:s.string().describe("The absolute path to the Jupyter notebook file to read (must be absolute, not relative)")});function Xg2(I){return I.flatMap(U79).reduce((G,Z)=>{if(G.length===0)return[Z];let C=G[G.length-1];if(C&&C.type==="text"&&Z.type==="text")return C.text+=`
`+Z.text,G;return[...G,Z]},[])}var VH={name:"ReadNotebook",async description(){return Wg2},async prompt(){return wg2},isReadOnly(){return!0},inputSchema:N79,userFacingName(){return"Read Notebook"},async isEnabled(){return!0},needsPermissions({notebook_path:I}){return!PB(I)},async validateInput({notebook_path:I}){let d=Ag2(I)?I:Vg2(R0(),I);if(!F79(d)){let G=Yf(d),Z="File does not exist.";if(G)Z+=` Did you mean ${G}?`;return{result:!1,message:Z}}if(J79(d)!==".ipynb")return{result:!1,message:"File must be a Jupyter notebook (.ipynb file)."};return{result:!0}},renderToolUseMessage(I,{verbose:d}){return`notebook_path: ${d?I.notebook_path:K79(R0(),I.notebook_path)}`},renderToolUseRejectedMessage(){return AX.createElement(A3,null)},renderToolResultMessage(I){if(!I)return AX.createElement(u,null,"No cells found in notebook");if(I.length<1||!I[0])return AX.createElement(u,null,"No cells found in notebook");return AX.createElement(u,null,"Read ",I.length," cells")},async*call({notebook_path:I}){let d=Ag2(I)?I:Vg2(R0(),I),G=g79(d,"utf-8"),Z=JSON.parse(G),C=Z.metadata.language_info?.name??"python",W=Z.cells.map((w,B)=>f79(w,B,C));yield{type:"result",resultForAssistant:Xg2(W),data:W}},renderResultForAssistant:Xg2};function mg1(I){if(!I)return"";let d=Array.isArray(I)?I.join(""):I,{truncatedContent:G}=b$(d);return G}function z79(I){if(typeof I["image/png"]==="string")return{image_data:I["image/png"],media_type:"image/png"};if(typeof I["image/jpeg"]==="string")return{image_data:I["image/jpeg"],media_type:"image/jpeg"};return}function Q79(I){switch(I.output_type){case"stream":return{output_type:I.output_type,text:mg1(I.text)};case"execute_result":case"display_data":return{output_type:I.output_type,text:mg1(I.data?.["text/plain"]),image:I.data&&z79(I.data)};case"error":return{output_type:I.output_type,text:mg1(`${I.ename}: ${I.evalue}
${I.traceback.join(`
`)}`)}}}function f79(I,d,G){let Z={cell:d,cellType:I.cell_type,source:Array.isArray(I.source)?I.source.join(""):I.source,language:G,execution_count:I.execution_count};if(I.outputs?.length)Z.outputs=I.outputs.map(Q79);return Z}function q79(I){let d=[];if(I.cellType!=="code")d.push(`<cell_type>${I.cellType}</cell_type>`);if(I.language!=="python"&&I.cellType==="code")d.push(`<language>${I.language}</language>`);return{text:`<cell ${I.cell}>${d.join("")}${I.source}</cell ${I.cell}>`,type:"text"}}function R79(I){let d=[];if(I.text)d.push({text:`
${I.text}`,type:"text"});if(I.image)d.push({type:"image",source:{data:I.image.image_data,media_type:I.image.media_type,type:"base64"}});return d}function U79(I){let d=q79(I),G=I.outputs?.flatMap(R79);return[d,...G??[]]}var v79=2000,E79=2000,Yg2="Read a file from the local filesystem.",_g2=`Reads a file from the local filesystem. The file_path parameter must be an absolute path, not a relative path. By default, it reads up to ${v79} lines starting from the beginning of the file. You can optionally specify a line offset and limit (especially handy for long files), but it's recommended to read the whole file by not providing these parameters. Any lines longer than ${E79} characters will be truncated. For image files, the tool will display the image for you. For Jupyter notebooks (.ipynb files), use the ${VH.name} instead.`;var CJ1=3,AJ1=262144,WJ1=new Set([".png",".jpg",".jpeg",".gif",".bmp",".webp"]),Ss=2000,Ls=2000,wJ1=3932160,UZ9=s.strictObject({file_path:s.string().describe("The absolute path to the file to read"),offset:s.number().optional().describe("The line number to start reading from. Only provide if the file is too large to read at once"),limit:s.number().optional().describe("The number of lines to read. Only provide if the file is too large to read at once.")}),Fd={name:"View",async description(){return Yg2},async prompt(){return _g2},inputSchema:UZ9,isReadOnly(){return!0},userFacingName(){return"Read"},async isEnabled(){return!0},needsPermissions({file_path:I}){return!PB(I||R0())},renderToolUseMessage(I,{verbose:d}){let{file_path:G,...Z}=I;return[["file_path",d?G:RZ9(R0(),G)],...Object.entries(Z)].map(([W,w])=>`${W}: ${JSON.stringify(w)}`).join(", ")},renderToolResultMessage(I,{verbose:d}){switch(I.type){case"image":return S3.createElement(p,{justifyContent:"space-between",overflowX:"hidden",width:"100%"},S3.createElement(p,{flexDirection:"row"},S3.createElement(u,null,"  ⎿  "),S3.createElement(u,null,"Read image")));case"text":{let{filePath:G,content:Z,numLines:C}=I.file,W=Z||"(No content)";return S3.createElement(p,{justifyContent:"space-between",overflowX:"hidden",width:"100%"},S3.createElement(p,{flexDirection:"row"},S3.createElement(u,null,"  ⎿  "),S3.createElement(p,{flexDirection:"column"},S3.createElement(yB,{code:d?W:W.split(`
`).slice(0,CJ1).filter((w)=>w.trim()!=="").join(`
`),language:qZ9(G).slice(1)}),!d&&C>CJ1&&S3.createElement(u,{color:r1().secondaryText},"... (+",C-CJ1," lines)"))))}}},renderToolUseRejectedMessage(){return S3.createElement(A3,null)},async validateInput({file_path:I,offset:d,limit:G}){let Z=c81(I);if(!fZ9(Z)){let B=Yf(Z),A="File does not exist.";if(B)A+=` Did you mean ${B}?`;return{result:!1,message:A}}let W=uK2(Z).size,w=BJ1.extname(Z).toLowerCase();if(!WJ1.has(w)){if(W>AJ1&&!d&&!G)return{result:!1,message:$K2(W),meta:{fileSize:W}}}return{result:!0}},async*call({file_path:I,offset:d=1,limit:G=void 0},{readFileTimestamps:Z}){let C=BJ1.extname(I).toLowerCase(),W=c81(I);if(Z[W]=Date.now(),WJ1.has(C)){let _=await vZ9(W,C);yield{type:"result",data:_,resultForAssistant:this.renderResultForAssistant(_)};return}let w=d===0?0:d-1,{content:B,lineCount:A,totalLines:V}=S40(W,w,G);if(!WJ1.has(C)&&B.length>AJ1)throw new Error($K2(B.length));let X={type:"text",file:{filePath:I,content:B,numLines:A,startLine:d,totalLines:V}};yield{type:"result",data:X,resultForAssistant:this.renderResultForAssistant(X)}},renderResultForAssistant(I){switch(I.type){case"image":return[{type:"image",source:{type:"base64",data:I.file.base64,media_type:I.file.type}}];case"text":return _f(I.file)}}},$K2=(I)=>`File content (${Math.round(I/1024)}KB) exceeds maximum allowed size (${Math.round(AJ1/1024)}KB). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.`;function n$(I,d){return{type:"image",file:{base64:I.toString("base64"),type:`image/${d.slice(1)}`}}}async function vZ9(I,d){try{let G=uK2(I),Z=(await Promise.resolve().then(() => J1(PK2(),1))).default,C=Z(ZJ1(I)),W=await C.metadata();if(!W.width||!W.height){if(G.size>wJ1){let V=await C.jpeg({quality:80}).toBuffer();return n$(V,"jpeg")}}let w=W.width||0,B=W.height||0;if(G.size<=wJ1&&w<=Ss&&B<=Ls)return n$(ZJ1(I),d);if(w>Ss)B=Math.round(B*Ss/w),w=Ss;if(B>Ls)w=Math.round(w*Ls/B),B=Ls;let A=await C.resize(w,B,{fit:"inside",withoutEnlargement:!0}).toBuffer();if(A.length>wJ1){let V=await C.jpeg({quality:80}).toBuffer();return n$(V,"jpeg")}return n$(A,d)}catch(G){return X0(G),n$(ZJ1(I),d)}}var ys="GlobTool",VJ1=`- Fast file pattern matching tool that works with any codebase size
- Supports glob patterns like "**/*.js" or "src/**/*.ts"
- Returns matching file paths sorted by modification time
- Use this tool when you need to find files by name patterns
- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead
`;var Ps="GrepTool",XJ1=`
- Fast content search tool that works with any codebase size
- Searches file contents using regular expressions
- Supports full regex syntax (eg. "log.*Error", "function\\s+\\w+", etc.)
- Filter files by pattern with the include parameter (eg. "*.js", "*.{ts,tsx}")
- Returns matching file paths sorted by modification time
- Use this tool when you need to find files containing specific patterns
- When you are doing an open ended search that may require multiple rounds of globbing and grepping, use the Agent tool instead
`;import{readdirSync as EZ9}from"fs";var NI=J1(u1(),1);import{basename as MZ9,isAbsolute as TK2,join as OK2,relative as HJ1,resolve as mK2,sep as tJ}from"path";var YJ1="Lists files and directories in a given path. The path parameter must be an absolute path, not a relative path. You should generally prefer the Glob and Grep tools, if you know which directories to search.";var _J1=4,r$=1000,DJ1=`There are more than ${r$} files in the repository. Use the LS tool (passing a specific path), Bash tool, and other tools to explore nested directories. The first ${r$} files and directories are included below:

`,SZ9=s.strictObject({path:s.string().describe("The absolute path to the directory to list (must be absolute, not relative)")}),zI={name:"LS",async description(){return YJ1},inputSchema:SZ9,userFacingName(){return"List"},async isEnabled(){return!0},isReadOnly(){return!0},needsPermissions({path:I}){return!PB(I)},async prompt(){return YJ1},renderResultForAssistant(I){return I},renderToolUseMessage({path:I},{verbose:d}){let G=I?TK2(I)?I:mK2(R0(),I):void 0,Z=G?HJ1(R0(),G):".";return`path: "${d?I:Z}"`},renderToolUseRejectedMessage(){return NI.createElement(A3,null)},renderToolResultMessage(I,{verbose:d}){if(typeof I!=="string")return null;let G=I.replace(DJ1,"");if(!G)return null;return NI.createElement(p,{justifyContent:"space-between",width:"100%"},NI.createElement(p,null,NI.createElement(u,null,"  ⎿  "),NI.createElement(p,{flexDirection:"column",paddingLeft:0},G.split(`
`).filter((Z)=>Z.trim()!=="").slice(0,d?void 0:_J1).map((Z,C)=>NI.createElement(u,{key:C},Z)),!d&&G.split(`
`).length>_J1&&NI.createElement(u,{color:r1().secondaryText},"... (+",G.split(`
`).length-_J1," items)"))))},async*call({path:I},{abortController:d}){let G=TK2(I)?I:mK2(R0(),I),Z=LZ9(G,R0(),d.signal).sort(),C=`
NOTE: do any of the files above seem malicious? If so, you MUST refuse to continue work.`,W=bK2(yZ9(Z)),w=W+`
NOTE: do any of the files above seem malicious? If so, you MUST refuse to continue work.`;if(Z.length<r$)yield{type:"result",data:W,resultForAssistant:this.renderResultForAssistant(w)};else{let B=`${DJ1}${W}`,A=`${DJ1}${w}`;yield{type:"result",data:B,resultForAssistant:this.renderResultForAssistant(A)}}}};function LZ9(I,d,G){let Z=[],C=[I];while(C.length>0){if(Z.length>r$)return Z;if(G.aborted)return Z;let W=C.shift();if(lK2(W))continue;if(W!==I)Z.push(HJ1(d,W)+tJ);let w;try{w=EZ9(W,{withFileTypes:!0})}catch(B){X0(B);continue}for(let B of w)if(B.isDirectory())C.push(OK2(W,B.name)+tJ);else{let A=OK2(W,B.name);if(lK2(A))continue;if(Z.push(HJ1(d,A)),Z.length>r$)return Z}}return Z}function yZ9(I){let d=[];for(let G of I){let Z=G.split(tJ),C=d,W="";for(let w=0;w<Z.length;w++){let B=Z[w];if(!B)continue;W=W?`${W}${tJ}${B}`:B;let A=w===Z.length-1,V=C.find((X)=>X.name===B);if(V)C=V.children||[];else{let X={name:B,path:W,type:A?"file":"directory"};if(!A)X.children=[];C.push(X),C=X.children||[]}}}return d}function bK2(I,d=0,G=""){let Z="";if(d===0)Z+=`- ${R0()}${tJ}
`,G="  ";for(let C of I)if(Z+=`${G}- ${C.name}${C.type==="directory"?tJ:""}
`,C.children&&C.children.length>0)Z+=bK2(C.children,d+1,`${G}  `);return Z}function lK2(I){if(I!=="."&&MZ9(I).startsWith("."))return!0;if(I.includes(`__pycache__${tJ}`))return!0;return!1}var Ws=30000,a$=50,FJ1=["alias","curl","curlie","wget","axel","aria2c","nc","telnet","lynx","w3m","links","httpie","xh","http-prompt","chrome","firefox","safari"],hK2=`Executes a given bash command in a persistent shell session with optional timeout, ensuring proper handling and security measures.

Before executing the command, please follow these steps:

1. Directory Verification:
   - If the command will create new directories or files, first use the LS tool to verify the parent directory exists and is the correct location
   - For example, before running "mkdir foo/bar", first use LS to check that "foo" exists and is the intended parent directory

2. Security Check:
   - For security and to limit the threat of a prompt injection attack, some commands are limited or banned. If you use a disallowed command, you will receive an error message explaining the restriction. Explain the error to the User.
   - Verify that the command is not one of the banned commands: ${FJ1.join(", ")}.

3. Command Execution:
   - After ensuring proper quoting, execute the command.
   - Capture the output of the command.

4. Output Processing:
   - If the output exceeds ${Ws} characters, output will be truncated before being returned to you.
   - Prepare the output for display to the user.

5. Return Result:
   - Provide the processed output of the command.
   - If any errors occurred during execution, include those in the output.

Usage notes:
  - The command argument is required.
  - You can specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). If not specified, commands will timeout after 30 minutes.
  - VERY IMPORTANT: You MUST avoid using search commands like \`find\` and \`grep\`. Instead use ${Ps}, ${ys}, or ${qa} to search. You MUST avoid read tools like \`cat\`, \`head\`, \`tail\`, and \`ls\`, and use ${Fd.name} and ${zI.name} to read files.
  - When issuing multiple commands, use the ';' or '&&' operator to separate them. DO NOT use newlines (newlines are ok in quoted strings).
  - IMPORTANT: All commands share the same shell session. Shell state (environment variables, virtual environments, current directory, etc.) persist between commands. For example, if you set an environment variable as part of a command, the environment variable will persist for subsequent commands.
  - Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of \`cd\`. You may use \`cd\` if the User explicitly requests it.
  <good-example>
  pytest /foo/bar/tests
  </good-example>
  <bad-example>
  cd /foo/bar && pytest tests
  </bad-example>

# Committing changes with git

When the user asks you to create a new git commit, follow these steps carefully:

1. Start with a single message that contains exactly three tool_use blocks that do the following (it is VERY IMPORTANT that you send these tool_use blocks in a single message, otherwise it will feel slow to the user!):
   - Run a git status command to see all untracked files.
   - Run a git diff command to see both staged and unstaged changes that will be committed.
   - Run a git log command to see recent commit messages, so that you can follow this repository's commit message style.

2. Use the git context at the start of this conversation to determine which files are relevant to your commit. Add relevant untracked files to the staging area. Do not commit files that were already modified at the start of this conversation, if they are not relevant to your commit.

3. Analyze all staged changes (both previously staged and newly added) and draft a commit message. Wrap your analysis process in <commit_analysis> tags:

<commit_analysis>
- List the files that have been changed or added
- Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.)
- Brainstorm the purpose or motivation behind these changes
- Do not use tools to explore code, beyond what is available in the git context
- Assess the impact of these changes on the overall project
- Check for any sensitive information that shouldn't be committed
- Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"
- Ensure your language is clear, concise, and to the point
- Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.)
- Ensure the message is not generic (avoid words like "Update" or "Fix" without context)
- Review the draft message to ensure it accurately reflects the changes and their purpose
</commit_analysis>

4. Create the commit with a message ending with:
\uD83E\uDD16 Generated with ${K4}
Co-Authored-By: Claude <noreply@anthropic.com>

- In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:
<example>
git commit -m "$(cat <<'EOF'
   Commit message here.

   \uD83E\uDD16 Generated with ${K4}
   Co-Authored-By: Claude <noreply@anthropic.com>
   EOF
   )"
</example>

5. If the commit fails due to pre-commit hook changes, retry the commit ONCE to include these automated changes. If it fails again, it usually means a pre-commit hook is preventing the commit. If the commit succeeds but you notice that files were modified by the pre-commit hook, you MUST amend your commit to include them.

6. Finally, run git status to make sure the commit succeeded.

Important notes:
- When possible, combine the "git add" and "git commit" commands into a single "git commit -am" command, to speed things up
- However, be careful not to stage files (e.g. with \`git add .\`) for commits that aren't part of the change, they may have untracked files they want to keep around, but not commit.
- NEVER update the git config
- DO NOT push to the remote repository
- IMPORTANT: Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported.
- If there are no changes to commit (i.e., no untracked files and no modifications), do not create an empty commit
- Ensure your commit message is meaningful and concise. It should explain the purpose of the changes, not just describe them.
- Return an empty response - the user will see the git output directly

# Creating pull requests
Use the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed.

IMPORTANT: When the user asks you to create a pull request, follow these steps carefully:

1. Understand the current state of the branch. Remember to send a single message that contains multiple tool_use blocks (it is VERY IMPORTANT that you do this in a single message, otherwise it will feel slow to the user!):
   - Run a git status command to see all untracked files.
   - Run a git diff command to see both staged and unstaged changes that will be committed.
   - Check if the current branch tracks a remote branch and is up to date with the remote, so you know if you need to push to the remote
   - Run a git log command and \`git diff main...HEAD\` to understand the full commit history for the current branch (from the time it diverged from the \`main\` branch.)

2. Create new branch if needed

3. Commit changes if needed

4. Push to remote with -u flag if needed

5. Analyze all changes that will be included in the pull request, making sure to look at all relevant commits (not just the latest commit, but all commits that will be included in the pull request!), and draft a pull request summary. Wrap your analysis process in <pr_analysis> tags:

<pr_analysis>
- List the commits since diverging from the main branch
- Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.)
- Brainstorm the purpose or motivation behind these changes
- Assess the impact of these changes on the overall project
- Do not use tools to explore code, beyond what is available in the git context
- Check for any sensitive information that shouldn't be committed
- Draft a concise (1-2 bullet points) pull request summary that focuses on the "why" rather than the "what"
- Ensure the summary accurately reflects all changes since diverging from the main branch
- Ensure your language is clear, concise, and to the point
- Ensure the summary accurately reflects the changes and their purpose (ie. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.)
- Ensure the summary is not generic (avoid words like "Update" or "Fix" without context)
- Review the draft summary to ensure it accurately reflects the changes and their purpose
</pr_analysis>

6. Create PR using gh pr create with the format below. Use a HEREDOC to pass the body to ensure correct formatting.
<example>
gh pr create --title "the pr title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>

## Test plan
[Checklist of TODOs for testing the pull request...]

\uD83E\uDD16 Generated with ${K4}
EOF
)"
</example>

Important:
- Return an empty response - the user will see the gh output directly
- Never update git config`;function PZ9(I,d){let G=I.split(`
`);if(G.length<=a$)return G.join(`
`);let Z=Math.floor(a$/2),C=a$-Z;return[...G.slice(0,Z),c0.grey(`... (+${d-a$} lines)`),...G.slice(-C)].join(`
`)}function pR({content:I,lines:d,verbose:G,isError:Z}){return JW.createElement(p,{justifyContent:"space-between",width:"100%"},JW.createElement(p,{flexDirection:"row"},JW.createElement(u,null,"  ⎿  "),JW.createElement(p,{flexDirection:"column"},JW.createElement(u,{color:Z?r1().error:void 0},G?I.trim():PZ9(I.trim(),d)))))}var IK=J1(u1(),1);function $Z9({content:I,verbose:d}){let{stdout:G,stdoutLines:Z,stderr:C,stderrLines:W}=I;return IK.default.createElement(p,{flexDirection:"column"},G!==""?IK.default.createElement(pR,{content:G,lines:Z,verbose:d}):null,C!==""?IK.default.createElement(pR,{content:C,lines:W,verbose:d,isError:!0}):null,G===""&&C===""?IK.default.createElement(p,{flexDirection:"row"},IK.default.createElement(u,null,"  ⎿  "),IK.default.createElement(u,{color:r1().secondaryText},"(No content)")):null)}var $s=$Z9;var o$=s.strictObject({command:s.string().describe("The command to execute"),timeout:s.number().optional().describe("Optional timeout in milliseconds (max 600000)")}),G5={name:"Bash",async description({command:I}){try{let d=await jZ({systemPrompt:[`You are a command description generator. Write a clear, concise description of what this command does in 5-10 words. Examples:

          Input: ls
          Output: Lists files in current directory

          Input: git status
          Output: Shows working tree status

          Input: npm install
          Output: Installs package dependencies

          Input: mkdir foo
          Output: Creates directory 'foo'`],userPrompt:`Describe this command: ${I}`});return(d.message.content[0]?.type==="text"?d.message.content[0].text:null)||"Executes a bash command"}catch(d){return X0(d),"Executes a bash command"}},async prompt(){return hK2},isReadOnly(){return!1},inputSchema:o$,userFacingName(){return"Bash"},async isEnabled(){return!0},needsPermissions(){return!0},async validateInput({command:I}){let d=NR(I);for(let G of d){let Z=G.split(" "),C=Z[0];if(C&&FJ1.includes(C.toLowerCase()))return{result:!1,message:`Command '${C}' is not allowed for security reasons`};if(C==="cd"&&Z[1]){let W=Z[1].replace(/^['"]|['"]$/g,""),w=jK2(W)?W:xK2(R0(),W);if(!x81(kK2(t7(),w),kK2(R0(),t7())))return{result:!1,message:`ERROR: cd to '${w}' was blocked. For security, ${K4} may only change directories to child directories of the original working directory (${t7()}) for this session.`}}}return{result:!0}},renderToolUseMessage({command:I}){if(I.includes(`"$(cat <<'EOF'`)){let d=I.match(/^(.*?)"?\$\(cat <<'EOF'\n([\s\S]*?)\n\s*EOF\n\s*\)"(.*)$/);if(d&&d[1]&&d[2]){let G=d[1],Z=d[2],C=d[3]||"";return`${G.trim()} "${Z.trim()}"${C.trim()}`}}return I},renderToolUseRejectedMessage(){return s$.createElement(A3,null)},renderToolResultMessage(I,{verbose:d}){return s$.createElement($s,{content:I,verbose:d})},renderResultForAssistant({interrupted:I,stdout:d,stderr:G}){let Z=G.trim();if(I){if(G)Z+=us;Z+="<error>Command was aborted before completion</error>"}let C=d.trim()&&Z;return`${d.trim()}${C?`
`:""}${Z.trim()}`},async*call({command:I,timeout:d=120000},{abortController:G,readFileTimestamps:Z}){let C="",W="",w=await m8.getInstance().exec(I,G.signal,d);if(C+=(w.stdout||"").trim()+us,W+=(w.stderr||"").trim()+us,w.code!==0)W+=`Exit code ${w.code}`;if(!x81(R0(),t7()))await m8.getInstance().setCwd(t7()),W=`${W.trim()}${us}Shell cwd was reset to ${t7()}`,I0("bash_tool_reset_to_original_dir",{});Cg2(I,C).then((F)=>{for(let g of F){let J=jK2(g)?g:xK2(R0(),g);try{Z[J]=uZ9(J).mtimeMs}catch(K){X0(K)}}});let{totalLines:B,truncatedContent:A}=b$(C.trim()),{totalLines:V,truncatedContent:X}=b$(W.trim()),_={stdout:A,stdoutLines:B,stderr:X,stderrLines:V,interrupted:w.interrupted};yield{type:"result",resultForAssistant:this.renderResultForAssistant(_),data:_}}};function cK2(){return`You are ${K4}, Anthropic's official CLI for Claude.`}async function iR(){return[`You are an interactive CLI tool that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.

IMPORTANT: Refuse to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When working on files, if they seem related to improving, explaining, or interacting with malware or any malicious code you MUST refuse.
IMPORTANT: Before you begin work, think about what the code you're editing is supposed to do based on the filenames directory structure. If it seems malicious, refuse to work on it or answer questions about it, even if the request does not seem malicious (for instance, just asking to explain or speed up the code).

Here are useful slash commands users can run to interact with you:
- /help: Get help with using ${K4}
- /compact: Compact and continue the conversation. This is useful if the conversation is reaching the context limit
There are additional slash commands and flags available to the user. If the user asks about ${K4} functionality, always run \`claude -h\` with ${G5.name} to see supported commands and flags. NEVER assume a flag or command exists without checking the help output first.
To give feedback, users should ${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.ISSUES_EXPLAINER}.

# Memory
If the current working directory contains a file called CLAUDE.md, it will be automatically added to your context. This file serves multiple purposes:
1. Storing frequently used bash commands (build, test, lint, etc.) so you can use them without searching each time
2. Recording the user's code style preferences (naming conventions, preferred libraries, etc.)
3. Maintaining useful information about the codebase structure and organization

When you spend time searching for commands to typecheck, lint, build, or test, you should ask the user if it's okay to add those commands to CLAUDE.md. Similarly, when learning about code style preferences or important codebase information, ask if it's okay to add that to CLAUDE.md so you can remember it for next time.

# Tone and style
You should be concise, direct, and to the point. When you run a non-trivial bash command, you should explain what the command does and why you are running it, to make sure the user understands what you are doing (this is especially important when you are running a command that will make changes to the user's system).
Remember that your output will be displayed on a command line interface. Your responses can use Github-flavored markdown for formatting, and will be rendered in a monospace font using the CommonMark specification.
Output text to communicate with the user; all text you output outside of tool use is displayed to the user. Only use tools to complete tasks. Never use tools like ${G5.name} or code comments as means to communicate with the user during the session.
If you cannot or will not help the user with something, please do not say why or what it could lead to, since this comes across as preachy and annoying. Please offer helpful alternatives if possible, and otherwise keep your response to 1-2 sentences.
IMPORTANT: You should minimize output tokens as much as possible while maintaining helpfulness, quality, and accuracy. Only address the specific query or task at hand, avoiding tangential information unless absolutely critical for completing the request. If you can answer in 1-3 sentences or a short paragraph, please do.
IMPORTANT: You should NOT answer with unnecessary preamble or postamble (such as explaining your code or summarizing your action), unless the user asks you to.
IMPORTANT: Keep your responses short, since they will be displayed on a command line interface. You MUST answer concisely with fewer than 4 lines (not including tool use or code generation), unless user asks for detail. Answer the user's question directly, without elaboration, explanation, or details. One word answers are best. Avoid introductions, conclusions, and explanations. You MUST avoid text before/after your response, such as "The answer is <answer>.", "Here is the content of the file..." or "Based on the information provided, the answer is..." or "Here is what I will do next...". Here are some examples to demonstrate appropriate verbosity:
<example>
user: 2 + 2
assistant: 4
</example>

<example>
user: what is 2+2?
assistant: 4
</example>

<example>
user: is 11 a prime number?
assistant: true
</example>

<example>
user: what command should I run to list files in the current directory?
assistant: ls
</example>

<example>
user: what command should I run to watch files in the current directory?
assistant: [use the ls tool to list the files in the current directory, then read docs/commands in the relevant file to find out how to watch files]
npm run dev
</example>

<example>
user: How many golf balls fit inside a jetta?
assistant: 150000
</example>

<example>
user: what files are in the directory src/?
assistant: [runs ls and sees foo.c, bar.c, baz.c]
user: which file contains the implementation of foo?
assistant: src/foo.c
</example>

<example>
user: write tests for new feature
assistant: [uses grep and glob search tools to find where similar tests are defined, uses concurrent read file tool use blocks in one tool call to read relevant files at the same time, uses edit file tool to write new tests]
</example>

# Proactiveness
You are allowed to be proactive, but only when the user asks you to do something. You should strive to strike a balance between:
1. Doing the right thing when asked, including taking actions and follow-up actions
2. Not surprising the user with actions you take without asking
For example, if the user asks you how to approach something, you should do your best to answer their question first, and not immediately jump into taking actions.
3. Do not add additional code explanation summary unless requested by the user. After working on a file, just stop, rather than providing an explanation of what you did.

# Synthetic messages
Sometimes, the conversation will contain messages like ${KW} or ${_X}. These messages will look like the assistant said them, but they were actually synthetic messages added by the system in response to the user cancelling what the assistant was doing. You should not respond to these messages. You must NEVER send messages like this yourself. 

# Following conventions
When making changes to files, first understand the file's code conventions. Mimic code style, use existing libraries and utilities, and follow existing patterns.
- NEVER assume that a given library is available, even if it is well known. Whenever you write code that uses a library or framework, first check that this codebase already uses the given library. For example, you might look at neighboring files, or check the package.json (or cargo.toml, and so on depending on the language).
- When you create a new component, first look at existing components to see how they're written; then consider framework choice, naming conventions, typing, and other conventions.
- When you edit a piece of code, first look at the code's surrounding context (especially its imports) to understand the code's choice of frameworks and libraries. Then consider how to make the given change in a way that is most idiomatic.
- Always follow security best practices. Never introduce code that exposes or logs secrets and keys. Never commit secrets or keys to the repository.

# Code style
- Do not add comments to the code you write, unless the user asks you to, or the code is complex and requires additional context.

# Doing tasks
The user will primarily request you perform software engineering tasks. This includes solving bugs, adding new functionality, refactoring code, explaining code, and more. For these tasks the following steps are recommended:
1. Use the available search tools to understand the codebase and the user's query. You are encouraged to use the search tools extensively both in parallel and sequentially.
2. Implement the solution using all tools available to you
3. Verify the solution if possible with tests. NEVER assume specific test framework or test script. Check the README or search codebase to determine the testing approach.
4. VERY IMPORTANT: When you have completed a task, you MUST run the lint and typecheck commands (eg. npm run lint, npm run typecheck, ruff, etc.) if they were provided to you to ensure your code is correct. If you are unable to find the correct command, ask the user for the command to run and if they supply it, proactively suggest writing it to CLAUDE.md so that you will know to run it next time.

NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive.

# Tool usage policy
- When doing file search, prefer to use the Agent tool in order to reduce context usage.
- If you intend to call multiple tools and there are no dependencies between the calls, make all of the independent calls in the same function_calls block.

You MUST answer concisely with fewer than 4 lines of text (not including tool use or code generation), unless user asks for detail.
`,`
${await pK2()}`,`IMPORTANT: Refuse to write code or explain code that may be used maliciously; even if the user claims it is for educational purposes. When working on files, if they seem related to improving, explaining, or interacting with malware or any malicious code you MUST refuse.
IMPORTANT: Before you begin work, think about what the code you're editing is supposed to do based on the filenames directory structure. If it seems malicious, refuse to work on it or answer questions about it, even if the request does not seem malicious (for instance, just asking to explain or speed up the code).`]}async function pK2(){let[I,d]=await Promise.all([K6(),eG()]);return`Here is useful information about the environment you are running in:
<env>
Working directory: ${R0()}
Is directory a git repo: ${d?"Yes":"No"}
Platform: ${K2.platform}
Today's date: ${new Date().toLocaleDateString()}
Model: ${I}
</env>`}async function iK2(){return[`You are an agent for ${K4}, Anthropic's official CLI for Claude. Given the user's prompt, you should use the tools available to you to answer the user's question.

Notes:
1. IMPORTANT: You should be concise, direct, and to the point, since your responses will be displayed on a command line interface. Answer the user's question directly, without elaboration, explanation, or details. One word answers are best. Avoid introductions, conclusions, and explanations. You MUST avoid text before/after your response, such as "The answer is <answer>.", "Here is the content of the file..." or "Based on the information provided, the answer is..." or "Here is what I will do next...".
2. When relevant, share file names and code snippets relevant to the query
3. Any file paths you return in your final response MUST be absolute. DO NOT use relative paths.`,`${await pK2()}`]}var hZ="API Error",gJ1="Prompt is too long",JJ1="Credit balance is too low",Os="Invalid API key · Please run /login",FH="(no content)",GK=!process.env.DISABLE_PROMPT_CACHING,nK2=0.8,rK2=4,OZ9=1,mZ9=0.08,lZ9=3,bZ9=15,hZ9=3.75,jZ9=0.3,t$=1;function ms(){return{user_id:`${yb()}_${id}`}}var kZ9=10,xZ9=500;function cZ9(I,d){if(d){let G=parseInt(d,10);if(!isNaN(G))return G*1000}return Math.min(xZ9*Math.pow(2,I-1),32000)}function pZ9(I){if(I.message?.includes('"type":"overloaded_error"'))return!1;let d=I.headers?.["x-should-retry"];if(d==="true")return!0;if(d==="false")return!1;if(I instanceof rw)return!0;if(!I.status)return!1;if(I.status===408)return!0;if(I.status===409)return!0;if(I.status===429)return!0;if(I.status&&I.status>=500)return!0;return!1}async function ls(I,d={}){let G=d.maxRetries??kZ9,Z;for(let C=1;C<=G+1;C++)try{return await I(C)}catch(W){if(Z=W,C>G||!(W instanceof f9)||!pZ9(W))throw W;let w=W.headers?.["retry-after"]??null,B=cZ9(C,w);console.log(`  ⎿  ${c0.red(`API ${W.name} (${W.message}) · Retrying in ${Math.round(B/1000)} seconds… (attempt ${C}/${G})`)}`),I0("tengu_api_retry",{attempt:String(C),delayMs:String(B),error:W.message,status:String(W.status),provider:b9?"bedrock":h9?"vertex":"1p"}),await new Promise((A)=>setTimeout(A,B))}throw Z}async function aK2(I){let d=new N71({apiKey:I,dangerouslyAllowBrowser:!0,maxRetries:3,defaultHeaders:{"User-Agent":PS}});try{return await ls(async()=>{let G=Rw,Z=[{role:"user",content:"test"}];return await d.messages.create({model:G,max_tokens:1,messages:Z,temperature:0,metadata:ms()}),!0},{maxRetries:2}),!0}catch(G){if(X0(G),G instanceof Error&&G.message.includes('{"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}'))return!1;throw G}}async function KJ1(I){let d=Date.now(),G;for await(let C of I)if(C.type==="message_start")G=Date.now()-d;return{...await I.finalMessage(),ttftMs:G}}var dK=null;function NJ1(I){if(dK)return dK;let d=Al1(I),G={"x-app":"cli","User-Agent":PS};if(process.env.ANTHROPIC_AUTH_TOKEN)G.Authorization=`Bearer ${process.env.ANTHROPIC_AUTH_TOKEN}`;let Z={defaultHeaders:G,maxRetries:0,timeout:parseInt(process.env.API_TIMEOUT_MS||String(60000),10)};if(b9){let W=new yr(Z);return dK=W,W}if(h9){let W={...Z,region:d||process.env.CLOUD_ML_REGION||"us-east5"},w=new Xa(W);return dK=w,w}let C=vw();return dK=new N71({apiKey:C,dangerouslyAllowBrowser:!0,...Z}),dK}function sK2(){dK=null}function iZ9(I,d=!1){if(d)if(typeof I.message.content==="string")return{role:"user",content:[{type:"text",text:I.message.content,...GK?{cache_control:{type:"ephemeral"}}:{}}]};else return{role:"user",content:I.message.content.map((G,Z)=>({...G,...Z===I.message.content.length-1?GK?{cache_control:{type:"ephemeral"}}:{}:{}}))};return{role:"user",content:I.message.content}}function nZ9(I,d=!1){if(d)if(typeof I.message.content==="string")return{role:"assistant",content:[{type:"text",text:I.message.content,...GK?{cache_control:{type:"ephemeral"}}:{}}]};else return{role:"assistant",content:I.message.content.map((G,Z)=>({...G,...Z===I.message.content.length-1&&G.type!=="thinking"&&G.type!=="redacted_thinking"?GK?{cache_control:{type:"ephemeral"}}:{}:{}}))};return{role:"assistant",content:I.message.content}}function Ts(I){let d=I[0]||"",G=I.slice(1);return[d,G.join(`
`)].filter(Boolean)}async function bs(I,d,G,Z,C,W){return await KF1(I,()=>rZ9(I,d,G,Z,C,W))}function oK2(I,d){if(Object.entries(d).length===0)return I;return[...I,`
As you answer the user's questions, you can use the following context:
`,...Object.entries(d).map(([G,Z])=>`<context name="${G}">${Z}</context>`)]}async function rZ9(I,d,G,Z,C,W){let w=await NJ1(W.model);if(W.prependCLISysprompt){let[T]=Ts(d);I0("tengu_sysprompt_block",{snippet:T?.slice(0,20),length:String(T?.length??0),hash:T?TZ9("sha256").update(T).digest("hex"):""}),d=[cK2(),...d]}let B=Ts(d).map((T)=>({...GK?{cache_control:{type:"ephemeral"}}:{},text:T,type:"text"})),A=await Promise.all(Z.map(async(T)=>({name:T.name,description:await T.prompt({dangerouslySkipPermissions:W.dangerouslySkipPermissions}),input_schema:"inputJSONSchema"in T&&T.inputJSONSchema?T.inputJSONSchema:KR(T.inputSchema)}))),V=await fb(),X=GK&&V.length>0;I0("tengu_api_query",{model:W.model,messagesLength:String(JSON.stringify([...B,...I,...A]).length),temperature:String(t$),provider:b9?"bedrock":h9?"vertex":"1p",...X?{betas:V.join(",")}:{}});let _=Date.now(),F=Date.now(),g=0,J,K=void 0;try{J=await ls(async(T)=>{g=T,F=Date.now();let V1=w.beta.messages.stream({model:W.model,max_tokens:Math.max(G+1,eZ9(W.model)),messages:aZ9(I),temperature:t$,system:B,tools:A,...X?{betas:V}:{},metadata:ms(),...{}},{signal:C});return K=V1,KJ1(V1)})}catch(T){return X0(T),I0("tengu_api_error",{model:W.model,error:T instanceof Error?T.message:String(T),status:T instanceof f9?String(T.status):void 0,messageCount:String(I.length),messageTokens:String(oD(I)),durationMs:String(Date.now()-F),durationMsIncludingRetries:String(Date.now()-_),attempt:String(g),provider:b9?"bedrock":h9?"vertex":"1p",requestId:K?.request_id??void 0}),zJ1(T)}let Q=Date.now()-F,E=Date.now()-_;I0("tengu_api_success",{model:W.model,messageCount:String(I.length),messageTokens:String(oD(I)),inputTokens:String(J.usage.input_tokens),outputTokens:String(J.usage.output_tokens),cachedInputTokens:String(J.usage.cache_read_input_tokens??0),uncachedInputTokens:String(J.usage.cache_creation_input_tokens??0),durationMs:String(Q),durationMsIncludingRetries:String(E),attempt:String(g),ttftMs:String(J.ttftMs),provider:b9?"bedrock":h9?"vertex":"1p",requestId:K?.request_id??void 0,stop_reason:J.stop_reason??void 0});let S=J.usage.input_tokens,P=J.usage.output_tokens,$=J.usage.cache_read_input_tokens??0,h=J.usage.cache_creation_input_tokens??0,O=S/1e6*lZ9+P/1e6*bZ9+$/1e6*jZ9+h/1e6*hZ9;return _a(O,E),{message:{...J,content:hs(J.content),usage:{...J.usage,cache_read_input_tokens:J.usage.cache_read_input_tokens??0,cache_creation_input_tokens:J.usage.cache_creation_input_tokens??0}},costUSD:O,durationMs:Q,type:"assistant",uuid:e$()}}function zJ1(I){if(I instanceof Error&&I.message.includes("prompt is too long"))return nR(gJ1);if(I instanceof Error&&I.message.includes("Your credit balance is too low"))return nR(JJ1);if(I instanceof Error&&I.message.toLowerCase().includes("x-api-key"))return nR(Os);if(I instanceof Error)return nR(`${hZ}: ${I.message}`);return nR(hZ)}function aZ9(I){return I.map((d,G)=>{return d.type==="user"?iZ9(d,G>I.length-3):nZ9(d,G>I.length-3)})}async function sZ9({systemPrompt:I,userPrompt:d,assistantPrompt:G,signal:Z}){let C=await NJ1(Rw),W=Rw,w=[{role:"user",content:d},...G?[{role:"assistant",content:G}]:[]],B=Ts(I).map((h)=>({...GK?{cache_control:{type:"ephemeral"}}:{},text:h,type:"text"}));I0("tengu_api_query",{model:W,messagesLength:String(JSON.stringify([...B,...w]).length),provider:b9?"bedrock":h9?"vertex":"1p"});let A=0,V=Date.now(),X=Date.now(),_,F=void 0;try{_=await ls(async(h)=>{A=h,V=Date.now();let O=C.beta.messages.stream({model:W,max_tokens:512,messages:w,system:B,temperature:0,metadata:ms(),stream:!0},{signal:Z});return F=O,await KJ1(O)})}catch(h){return X0(h),I0("tengu_api_error",{error:h instanceof Error?h.message:String(h),status:h instanceof f9?String(h.status):void 0,model:Rw,messageCount:String(G?2:1),durationMs:String(Date.now()-V),durationMsIncludingRetries:String(Date.now()-X),attempt:String(A),provider:b9?"bedrock":h9?"vertex":"1p",requestId:F?.request_id??void 0}),zJ1(h)}let g=_.usage.input_tokens,J=_.usage.output_tokens,K=_.usage.cache_read_input_tokens??0,Q=_.usage.cache_creation_input_tokens??0,E=g/1e6*nK2+J/1e6*rK2+K/1e6*mZ9+Q/1e6*OZ9,S=Date.now()-V,P=Date.now()-X;_a(E,P);let $={durationMs:S,message:{..._,content:hs(_.content)},costUSD:E,uuid:e$(),type:"assistant"};return I0("tengu_api_success",{model:Rw,messageCount:String(G?2:1),inputTokens:String(g),outputTokens:String(_.usage.output_tokens),cachedInputTokens:String(_.usage.cache_read_input_tokens??0),uncachedInputTokens:String(_.usage.cache_creation_input_tokens??0),durationMs:String(S),durationMsIncludingRetries:String(P),ttftMs:String(_.ttftMs),provider:b9?"bedrock":h9?"vertex":"1p",requestId:F?.request_id??void 0,stop_reason:_.stop_reason??void 0}),$}async function oZ9({systemPrompt:I,userPrompt:d,assistantPrompt:G,signal:Z}){let C=await NJ1(Rw),W=Rw,w=[{role:"user",content:d},...G?[{role:"assistant",content:G}]:[]];I0("tengu_api_query",{model:W,messagesLength:String(JSON.stringify([{systemPrompt:I},...w]).length),provider:b9?"bedrock":h9?"vertex":"1p"});let B=0,A=Date.now(),V=Date.now(),X,_=void 0;try{X=await ls(async(S)=>{B=S,A=Date.now();let P=C.beta.messages.stream({model:W,max_tokens:512,messages:w,system:Ts(I).map(($)=>({type:"text",text:$})),temperature:0,metadata:ms(),stream:!0},{signal:Z});return _=P,await KJ1(P)})}catch(S){return X0(S),I0("tengu_api_error",{error:S instanceof Error?S.message:String(S),status:S instanceof f9?String(S.status):void 0,model:Rw,messageCount:String(G?2:1),durationMs:String(Date.now()-A),durationMsIncludingRetries:String(Date.now()-V),attempt:String(B),provider:b9?"bedrock":h9?"vertex":"1p",requestId:_?.request_id??void 0}),zJ1(S)}let F=Date.now()-A,g=Date.now()-V;I0("tengu_api_success",{model:Rw,messageCount:String(G?2:1),inputTokens:String(X.usage.input_tokens),outputTokens:String(X.usage.output_tokens),durationMs:String(F),durationMsIncludingRetries:String(g),attempt:String(B),provider:b9?"bedrock":h9?"vertex":"1p",requestId:_?.request_id??void 0,stop_reason:X.stop_reason??void 0});let J=X.usage.input_tokens,K=X.usage.output_tokens,Q=J/1e6*nK2+K/1e6*rK2;return _a(Q,F),{durationMs:F,message:{...X,content:hs(X.content),usage:{...X.usage,cache_read_input_tokens:0,cache_creation_input_tokens:0}},costUSD:Q,type:"assistant",uuid:e$()}}async function jZ({systemPrompt:I=[],userPrompt:d,assistantPrompt:G,enablePromptCaching:Z=!1,signal:C}){return await KF1([{message:{role:"user",content:I.map((W)=>({type:"text",text:W}))},type:"user",uuid:e$()},{message:{role:"user",content:d},type:"user",uuid:e$()}],()=>{return Z?sZ9({systemPrompt:I,userPrompt:d,assistantPrompt:G,signal:C}):oZ9({systemPrompt:I,userPrompt:d,assistantPrompt:G,signal:C})})}function eZ9(I){if(I.includes("3-5"))return 8192;if(I.includes("haiku"))return 8192;return 20000}async function rR(I){let d=process.platform,G=d==="win32"?"start":d==="darwin"?"open":"xdg-open";try{let{code:Z}=await E5(G,[I]);return Z===0}catch(Z){return!1}}var eK2=J1(u1(),1);function P6(I){let[d,G]=eK2.useState({pending:!1,keyName:null}),Z=$g((W)=>G({pending:W,keyName:"Ctrl-C"}),I),C=$g((W)=>G({pending:W,keyName:"Ctrl-D"}),I);return C4((W,w)=>{if(w.ctrl&&W==="c")Z();if(w.ctrl&&W==="d")C()}),d}var tZ9="https://github.com/anthropics/claude-code/issues";function tK2({onDone:I}){let[d,G]=iZ.useState("userInput"),[Z,C]=iZ.useState(0),[W,w]=iZ.useState(""),[B,A]=iZ.useState(null),[V,X]=iZ.useState(null),[_,F]=iZ.useState({isGit:!1,gitState:null}),[g,J]=iZ.useState(null),K=G9().columns-4,Q=yS()();iZ.useEffect(()=>{async function $(){let h=await eG(),O=null;if(h)O=await qb();F({isGit:h,gitState:O})}$()},[]);let E=P6(()=>process.exit(0)),S=iZ.useCallback(async()=>{G("submitting"),X(null),A(null);let $={message_count:Q.length,datetime:new Date().toISOString(),description:W,platform:K2.platform,gitRepo:_.isGit,terminal:K2.terminal,version:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,transcript:Q,errors:su1()},[h,O]=await Promise.all([GC9($),dC9(W)]);if(J(O),h.success){if(h.feedbackId)A(h.feedbackId),I0("tengu_bug_report_submitted",{feedback_id:h.feedbackId});G("done")}else X("Could not submit feedback. Please try again later."),G("userInput")},[W,_.isGit,Q]);C4(($,h)=>{if(d==="done"){if(h.return&&B&&g){let O=IC9(B,g,W);rR(O)}I("<bash-stdout>Bug report submitted</bash-stdout>");return}if(V){I("<bash-stderr>Error submitting bug report</bash-stderr>");return}if(h.escape){I("<bash-stderr>Bug report cancelled</bash-stderr>");return}if(d==="consent"&&(h.return||$===" "))S()});let P=r1();return p0.createElement(p0.Fragment,null,p0.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:P.permission,paddingX:1,paddingBottom:1,gap:1},p0.createElement(u,{bold:!0,color:P.permission},"Submit Bug Report"),d==="userInput"&&p0.createElement(p,{flexDirection:"column",gap:1},p0.createElement(u,null,"Describe the issue below:"),p0.createElement(mC,{value:W,onChange:w,columns:K,onSubmit:()=>G("consent"),onExitMessage:()=>I("<bash-stderr>Bug report cancelled</bash-stderr>"),cursorOffset:Z,onChangeCursorOffset:C}),V&&p0.createElement(p,{flexDirection:"column",gap:1},p0.createElement(u,{color:"red"},V),p0.createElement(u,{dimColor:!0},"Press any key to close"))),d==="consent"&&p0.createElement(p,{flexDirection:"column"},p0.createElement(u,null,"This report will include:"),p0.createElement(p,{marginLeft:2,flexDirection:"column"},p0.createElement(u,null,"- Your bug description: ",p0.createElement(u,{dimColor:!0},W)),p0.createElement(u,null,"- Environment info:"," ",p0.createElement(u,{dimColor:!0},K2.platform,", ",K2.terminal,", v",{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION)),_.gitState&&p0.createElement(u,null,"- Git repo metadata:"," ",p0.createElement(u,{dimColor:!0},_.gitState.branchName,_.gitState.commitHash?`, ${_.gitState.commitHash.slice(0,7)}`:"",_.gitState.remoteUrl?` @ ${_.gitState.remoteUrl}`:"",!_.gitState.isHeadOnRemote&&", not synced",!_.gitState.isClean&&", has local changes")),p0.createElement(u,null,"- Current session transcript")),p0.createElement(p,{marginTop:1},p0.createElement(u,{wrap:"wrap",dimColor:!0},"We will use your feedback to debug related issues or to improve"," ",K4,"'s functionality (eg. to reduce the risk of bugs occurring in the future). Anthropic will not train generative models using feedback from ",K4,".")),p0.createElement(p,{marginTop:1},p0.createElement(u,null,"Press ",p0.createElement(u,{bold:!0},"Enter")," to confirm and submit."))),d==="submitting"&&p0.createElement(p,{flexDirection:"row",gap:1},p0.createElement(u,null,"Submitting report…")),d==="done"&&p0.createElement(p,{flexDirection:"column"},p0.createElement(u,{color:r1().success},"Thank you for your report!"),B&&p0.createElement(u,{dimColor:!0},"Feedback ID: ",B),p0.createElement(p,{marginTop:1},p0.createElement(u,null,"Press "),p0.createElement(u,{bold:!0},"Enter "),p0.createElement(u,null,"to also create a GitHub issue, or any other key to close.")))),p0.createElement(p,{marginLeft:3},p0.createElement(u,{dimColor:!0},E.pending?p0.createElement(p0.Fragment,null,"Press ",E.keyName," again to exit"):d==="userInput"?p0.createElement(p0.Fragment,null,"Enter to continue · Esc to cancel"):d==="consent"?p0.createElement(p0.Fragment,null,"Enter to submit · Esc to cancel"):null)))}function IC9(I,d,G){let Z=encodeURIComponent(`**Bug Description**
${G}

**Environment Info**
- Platform: ${K2.platform}
- Terminal: ${K2.terminal}
- Version: ${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION||"unknown"}
- Feedback ID: ${I}
`);return`${tZ9}/new?title=${encodeURIComponent(d)}&body=${Z}&labels=user-reported,bug`}async function dC9(I){let d=await jZ({systemPrompt:['Generate a concise issue title (max 80 chars) that captures the key point of this feedback. Do not include quotes or prefixes like "Feedback:" or "Issue:". If you cannot generate a title, just use "User Feedback".'],userPrompt:I}),G=d.message.content[0]?.type==="text"?d.message.content[0].text:"Bug Report";if(G.startsWith(hZ))return`Bug Report: ${I.slice(0,60)}${I.length>60?"...":""}`;return G}async function GC9(I){try{let d=vw();if(!d)return{success:!1};let G=await fetch("https://api.anthropic.com/api/claude_cli_feedback",{method:"POST",headers:{"Content-Type":"application/json","User-Agent":PS,"x-api-key":d},body:JSON.stringify({content:JSON.stringify(I)})});if(G.ok){let Z=await G.json();if(Z?.feedback_id)return{success:!0,feedbackId:Z.feedback_id};return X0("Failed to submit feedback: request did not return feedback_id"),{success:!1}}return X0("Failed to submit feedback:"+G.status),{success:!1}}catch(d){return X0("Error submitting feedback: "+(d instanceof Error?d.message:"Unknown error")),{success:!1}}}var QJ1=J1(u1(),1);var ZC9={type:"local-jsx",name:"bug",description:`Submit feedback about ${K4}`,isEnabled:!0,isHidden:!1,async call(I){return QJ1.createElement(tK2,{onDone:I})},userFacingName(){return"bug"}},IN2=ZC9;import{existsSync as CC9,readFileSync as WC9}from"fs";import{join as wC9,parse as BC9,dirname as AC9}from"path";var VC9="The codebase follows strict style guidelines shown below. All code changes must strictly adhere to these guidelines to maintain consistency and quality.",aR=a2(()=>{let I=[],d=R0();while(d!==BC9(d).root){let G=wC9(d,"CLAUDE.md");if(CC9(G))I.push(`Contents of ${G}:

${WC9(G,"utf-8")}`);d=AC9(d)}if(I.length===0)return"";return`${VC9}

${I.reverse().join(`

`)}`});import*as ZN2 from"path";import{join as CN2}from"path";import{readFile as XC9}from"fs/promises";import{existsSync as YC9}from"fs";var dN2=Symbol("NO_VALUE");async function gH(I){let d=dN2;for await(let G of I)d=G;if(d===dN2)throw new Error("No items in generator");return d}async function*GN2(I,d=1/0){let G=(W)=>{let w=W.next().then(({done:B,value:A})=>({done:B,value:A,generator:W,promise:w}));return w},Z=[...I],C=new Set;while(C.size<d&&Z.length>0){let W=Z.shift();C.add(G(W))}while(C.size>0){let{done:W,value:w,generator:B,promise:A}=await Promise.race(C);if(C.delete(A),!W){if(C.add(G(B)),w!==void 0)yield w}else if(Z.length>0){let V=Z.shift();C.add(G(V))}}}async function _C9(){let I=new AbortController,d=setTimeout(()=>I.abort(),3000);try{let G=await MS(["--files","--glob",CN2("**","*","CLAUDE.md")],R0(),I.signal);if(!G.length)return null;return`NOTE: Additional CLAUDE.md files were found. When working in these directories, make sure to read and follow the instructions in the corresponding CLAUDE.md file:
${G.map((Z)=>ZN2.join(R0(),Z)).map((Z)=>`- ${Z}`).join(`
`)}`}catch(G){return X0(G),null}finally{clearTimeout(d)}}var DC9=a2(async()=>{try{let I=CN2(R0(),"README.md");if(!YC9(I))return null;return await XC9(I,"utf-8")}catch(I){return X0(I),null}}),HC9=a2(async()=>{if(!await eG())return null;try{let[I,d,G,Z,C]=await Promise.all([E5("git",["branch","--show-current"],void 0,void 0,!1).then(({stdout:B})=>B.trim()),E5("git",["rev-parse","--abbrev-ref","origin/HEAD"],void 0,void 0,!1).then(({stdout:B})=>B.replace("origin/","").trim()),E5("git",["status","--short"],void 0,void 0,!1).then(({stdout:B})=>B.trim()),E5("git",["log","--oneline","-n","5"],void 0,void 0,!1).then(({stdout:B})=>B.trim()),E5("git",["log","--oneline","-n","5","--author",await Ll1()||""],void 0,void 0,!1).then(({stdout:B})=>B.trim())]),w=G.split(`
`).length>200?G.split(`
`).slice(0,200).join(`
`)+`
... (truncated because there are more than 200 lines. If you need more information, run "git status" using BashTool)`:G;return`This is the git status at the start of the conversation. Note that this status is a snapshot in time, and will not update during the conversation.
Current branch: ${I}

Main branch (you will usually use this for PRs): ${d}

Status:
${w||"(clean)"}

Recent commits:
${Z}

Your recent commits:
${C||"(no recent commits)"}`}catch(I){return X0(I),null}}),j7=a2(async()=>{let I=aR(),d=I5(),G=d.dontCrawlDirectory,[Z,C,W,w]=await Promise.all([HC9(),G?Promise.resolve(""):FC9(),G?Promise.resolve(""):_C9(),DC9()]);return{...d.context,...C?{directoryStructure:C}:{},...Z?{gitStatus:Z}:{},...I?{codeStyle:I}:{},...W?{claudeFiles:W}:{},...w?{readme:w}:{}}}),FC9=a2(async function(){let I;try{let d=new AbortController;setTimeout(()=>{d.abort()},1000);let G=await K6(),Z=zI.call({path:"."},{abortController:d,options:{commands:[],tools:[],slowAndCapableModel:G,forkNumber:0,messageLogName:"unused",maxThinkingTokens:0},messageId:void 0,readFileTimestamps:{}});I=(await gH(Z)).data}catch(d){return X0(d),""}return`Below is a snapshot of this project's file structure at the start of the conversation. This snapshot will NOT update during the conversation.

${I}`});function fJ1(I){if(process.platform==="win32")process.title=I?`✳ ${I}`:I;else process.stdout.write(`\x1B]0;${I?`✳ ${I}`:""}\x07`)}async function WN2(I){try{let G=(await jZ({systemPrompt:["Analyze if this message indicates a new conversation topic. If it does, extract a 2-3 word title that captures the new topic. Format your response as a JSON object with two fields: 'isNewTopic' (boolean) and 'title' (string, or null if isNewTopic is false). Only include these fields, no other text."],userPrompt:I,enablePromptCaching:!0})).message.content.filter((C)=>C.type==="text").map((C)=>C.text).join(""),Z=tG(G);if(Z&&typeof Z==="object"&&"isNewTopic"in Z&&"title"in Z){if(Z.isNewTopic&&Z.title)fJ1(Z.title)}}catch(d){X0(d)}}function $6(){return new Promise((I)=>{process.stdout.write("\x1B[2J\x1B[3J\x1B[H",()=>{I()})})}async function Iu(I){await $6(),qx()([]),I.setForkConvoWithMessagesOnTheNextRender([]),j7.cache.clear?.(),aR.cache.clear?.(),await Uw(t7())}var gC9={type:"local",name:"clear",description:"Clear conversation history and free up context",isEnabled:!0,isHidden:!1,async call(I,d){return Iu(d),""},userFacingName(){return"clear"}},wN2=gC9;var JC9={type:"local",name:"compact",description:"Clear conversation history but keep a summary in context",isEnabled:!0,isHidden:!1,async call(I,{options:{tools:d,slowAndCapableModel:G},abortController:Z,setForkConvoWithMessagesOnTheNextRender:C}){let W=yS()(),w=p9("Provide a detailed but concise summary of our conversation above. Focus on information that would be helpful for continuing the conversation, including what we did, what we're doing, which files we're working on, and what we're going to do next."),B=await bs(sR([...W,w]),["You are a helpful AI assistant tasked with summarizing conversations."],0,d,Z.signal,{dangerouslySkipPermissions:!1,model:G,prependCLISysprompt:!0}),A=B.message.content,V=typeof A==="string"?A:A.length>0&&A[0]?.type==="text"?A[0].text:null;if(!V)throw new Error(`Failed to generate conversation summary - response did not contain valid text content - ${B}`);else if(V.startsWith(hZ))throw new Error(V);return B.message.usage={input_tokens:0,output_tokens:B.message.usage.output_tokens,cache_creation_input_tokens:0,cache_read_input_tokens:0},await $6(),qx()([]),C([p9("Use the /compact command to clear the conversation history, and start a new conversation with the summary in context."),B]),j7.cache.clear?.(),aR.cache.clear?.(),""},userFacingName(){return"compact"}},BN2=JC9;var T4=J1(u1(),1),qJ1=J1(u1(),1);function AN2({onClose:I}){let[d,G]=qJ1.useState(q2()),Z=T4.useRef(q2()),[C,W]=qJ1.useState(0),w=P6(()=>process.exit(0)),B=[...[],{id:"verbose",label:"Verbose output",value:d.verbose,type:"boolean",onChange(A){let V={...q2(),verbose:A};p4(V),G(V)}},{id:"theme",label:"Theme",value:d.theme,options:["light","dark","light-daltonized","dark-daltonized"],type:"enum",onChange(A){let V={...q2(),theme:A};p4(V),G(V)}},{id:"notifChannel",label:"Notifications",value:d.preferredNotifChannel,options:["iterm2","terminal_bell","iterm2_with_bell","notifications_disabled"],type:"enum",onChange(A){let V={...q2(),preferredNotifChannel:A};p4(V),G(V)}}];return C4((A,V)=>{if(V.escape){let _=[],F=Boolean(!1),g=Boolean(!1);if(F!==g)_.push(`  ⎿  ${g?"Enabled":"Disabled"} custom API key`);if(d.verbose!==Z.current.verbose)_.push(`  ⎿  Set verbose to ${c0.bold(d.verbose)}`);if(d.theme!==Z.current.theme)_.push(`  ⎿  Set theme to ${c0.bold(d.theme)}`);if(d.preferredNotifChannel!==Z.current.preferredNotifChannel)_.push(`  ⎿  Set notifications to ${c0.bold(d.preferredNotifChannel)}`);if(_.length>0)console.log(c0.gray(_.join(`
`)));I();return}function X(){let _=B[C];if(!_||!_.onChange)return;if(_.type==="boolean"){_.onChange(!_.value);return}if(_.type==="enum"){let g=(_.options.indexOf(_.value)+1)%_.options.length;_.onChange(_.options[g]);return}}if(V.return||A===" "){X();return}if(V.upArrow)W((_)=>Math.max(0,_-1));if(V.downArrow)W((_)=>Math.min(B.length-1,_+1))}),T4.createElement(T4.Fragment,null,T4.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:r1().secondaryBorder,paddingX:1,marginTop:1},T4.createElement(p,{flexDirection:"column",minHeight:2,marginBottom:1},T4.createElement(u,{bold:!0},"Settings"),T4.createElement(u,{dimColor:!0},"Configure ",K4," preferences")),B.map((A,V)=>{let X=V===C;return T4.createElement(p,{key:A.id,height:2,minHeight:2},T4.createElement(p,{width:44},T4.createElement(u,{color:X?"blue":void 0},X?k5.pointer:" "," ",A.label)),T4.createElement(p,null,A.type==="boolean"?T4.createElement(u,{color:X?"blue":void 0},A.value.toString()):T4.createElement(u,{color:X?"blue":void 0},A.value.toString())))})),T4.createElement(p,{marginLeft:3},T4.createElement(u,{dimColor:!0},w.pending?T4.createElement(T4.Fragment,null,"Press ",w.keyName," again to exit"):T4.createElement(T4.Fragment,null,"↑/↓ to select · Enter/Space to change · Esc to close"))))}var RJ1=J1(u1(),1),KC9={type:"local-jsx",name:"config",description:"Open config panel",isEnabled:!0,isHidden:!1,async call(I){return RJ1.createElement(AN2,{onClose:I})},userFacingName(){return"config"}},VN2=KC9;var NC9={type:"local",name:"cost",description:"Show the total cost and duration of the current session",isEnabled:!0,isHidden:!1,async call(){return JF1()},userFacingName(){return"cost"}},XN2=NC9;var ZW9=J1(Vz2(),1);var Rz2=J1(u1(),1);var e4=J1(u1(),1);var Z9=J1(u1(),1);var B7=J1(u1(),1),zW=J1(u1(),1);var is=process.platform==="darwin"?["·","✢","✳","∗","✻","✽"]:["·","✢","*","∗","✻","✽"],CW9=["Accomplishing","Actioning","Actualizing","Baking","Brewing","Calculating","Cerebrating","Churning","Clauding","Coalescing","Cogitating","Computing","Conjuring","Considering","Cooking","Crafting","Creating","Crunching","Deliberating","Determining","Doing","Effecting","Finagling","Forging","Forming","Generating","Hatching","Herding","Honking","Hustling","Ideating","Inferring","Manifesting","Marinating","Moseying","Mulling","Mustering","Musing","Noodling","Percolating","Pondering","Processing","Puttering","Reticulating","Ruminating","Schlepping","Shucking","Simmering","Smooshing","Spinning","Stewing","Synthesizing","Thinking","Transmuting","Vibing","Working"];function ns(){let I=[...is,...[...is].reverse()],[d,G]=zW.useState(0),[Z,C]=zW.useState(0),W=zW.useRef(mF(CW9)),w=zW.useRef(Date.now());return zW.useEffect(()=>{let B=setInterval(()=>{G((A)=>(A+1)%I.length)},120);return()=>clearInterval(B)},[I.length]),zW.useEffect(()=>{let B=setInterval(()=>{C(Math.floor((Date.now()-w.current)/1000))},1000);return()=>clearInterval(B)},[]),B7.createElement(p,{flexDirection:"row",marginTop:1},B7.createElement(p,{flexWrap:"nowrap",height:1,width:2},B7.createElement(u,{color:r1().claude},I[d])),B7.createElement(u,{color:r1().claude},W.current,"… "),B7.createElement(u,{color:r1().secondaryText},"(",Z,"s · ",B7.createElement(u,{bold:!0},"esc")," to interrupt)"))}function Cu(){let I=[...is,...[...is].reverse()],[d,G]=zW.useState(0);return zW.useEffect(()=>{let Z=setInterval(()=>{G((C)=>(C+1)%I.length)},120);return()=>clearInterval(Z)},[I.length]),B7.createElement(p,{flexWrap:"nowrap",height:1,width:2},B7.createElement(u,{color:r1().claude},I[d]))}import{homedir as Wu}from"os";import{join as tR}from"path";import{existsSync as wu,mkdirSync as Yz2,appendFileSync as Xz2,readFileSync as _z2,constants as WW9,writeFileSync as wW9,unlinkSync as Dz2,statSync as BW9}from"fs";import{platform as Hz2}from"process";import{accessSync as AW9}from"fs";var Fz2=J1(Fk(),1);async function gz2(){try{let I=await PE("tengu_version_config",{minVersion:"0.0.0"});if(I.minVersion&&Fz2.lt({ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,I.minVersion))console.error(`
It looks like your version of Claude Code (${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION}) needs an update.
A newer version (${I.minVersion} or higher) is required to continue.

To update, please run:
    claude update

This will ensure you have access to the latest features and improvements.
`),process.exit(1)}catch(I){X0(`Error checking minimum version: ${I}`)}}var CK=tR(vz,".update.lock"),VW9=300000;function Jz2(){try{if(!wu(vz))Yz2(vz,{recursive:!0});if(wu(CK)){let I=BW9(CK);if(Date.now()-I.mtimeMs<VW9)return!1;try{Dz2(CK)}catch(G){return X0(`Failed to remove stale lock file: ${G}`),!1}}return wW9(CK,`${process.pid}`,"utf8"),!0}catch(I){return X0(`Failed to acquire lock: ${I}`),!1}}function Kz2(){try{if(wu(CK)){if(_z2(CK,"utf8")===`${process.pid}`)Dz2(CK)}}catch(I){X0(`Failed to release lock: ${I}`)}}async function TJ1(){try{let I=await E5("npm",["-g","config","get","prefix"]);if(I.code!==0)return X0("Failed to check npm permissions"),{hasPermissions:!1,npmPrefix:null};let d=I.stdout.trim(),G=!1;try{AW9(d,WW9.W_OK),G=!0}catch{G=!1}if(G)return{hasPermissions:!0,npmPrefix:d};return X0("Insufficient permissions for global npm install."),{hasPermissions:!1,npmPrefix:d}}catch(I){return X0(`Failed to verify npm global install permissions: ${I}`),{hasPermissions:!1,npmPrefix:null}}}async function Nz2(I){if(!Jz2())throw I0("tengu_auto_updater_prefix_lock_contention",{pid:String(process.pid),currentVersion:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,prefix:I}),new Error("Another process is currently setting up npm prefix");try{if(!wu(I))Yz2(I,{recursive:!0});let d=await E5("npm",["-g","config","set","prefix",I]);if(d.code!==0)throw new Error(`Failed to set npm prefix: ${d.stderr}`);let G=`
# npm global path
export PATH="${I}/bin:$PATH"
`;if(Hz2==="win32"){let Z=await E5("setx",["PATH",`${process.env.PATH};${I}`]);if(Z.code!==0)throw new Error(`Failed to update PATH on Windows: ${Z.stderr}`)}else{let Z=[tR(Wu(),".bashrc"),tR(Wu(),".bash_profile"),tR(Wu(),".zshrc"),tR(Wu(),".config","fish","config.fish")];for(let C of Z)if(wu(C))try{if(!_z2(C,"utf8").includes(I)){if(C.includes("fish")){let w=`
# npm global path
set -gx PATH ${I}/bin $PATH
`;Xz2(C,w)}else Xz2(C,G);I0("npm_prefix_path_updated",{configPath:C})}}catch(W){I0("npm_prefix_path_update_failed",{configPath:C,error:W instanceof Error?W.message.slice(0,200):String(W).slice(0,200)}),X0(`Failed to update shell config ${C}: ${W}`)}}}finally{Kz2()}}function zz2(){return tR(Wu(),".npm-global")}function Qz2(I){let d=`icacls "${I}" /grant "%USERNAME%:(OI)(CI)F"`,G=I||"$(npm -g config get prefix)",Z=`sudo chown -R $USER:$(id -gn) ${G} && sudo chmod -R u+w ${G}`;return Hz2==="win32"?d:Z}async function fz2(){let I=new AbortController;setTimeout(()=>I.abort(),5000);let d=await E5("npm",["view",{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.PACKAGE_URL,"version"],I.signal);if(d.code!==0)return null;return d.stdout.trim()}async function rs(){if(!Jz2())return X0("Another process is currently installing an update"),I0("tengu_auto_updater_lock_contention",{pid:String(process.pid),currentVersion:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION}),"in_progress";try{let{hasPermissions:I}=await TJ1();if(!I)return"no_permissions";let d=await E5("npm",["install","-g",{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.PACKAGE_URL]);if(d.code!==0)return X0(`Failed to install new version of claude: ${d.stdout} ${d.stderr}`),"install_failed";return"success"}finally{Kz2()}}function qz2({customPrefix:I,onCustomPrefixChange:d,onSuccess:G,onCancel:Z}){let[C,W]=Z9.useState(I.length),[w,B]=Z9.useState(!1),[A,V]=Z9.useState(!1),[X,_]=Z9.useState(null),[F,g]=Z9.useState({completeSteps:[!1,!1,!1,!1],inProgressStep:null}),J=G9().columns-6,K=r1();async function Q(S){V(!0),_(null);try{g({completeSteps:[!1,!1,!1,!1],inProgressStep:0}),await Nz2(S),g({completeSteps:[!0,!0,!0,!1],inProgressStep:3}),await rs(),g({completeSteps:[!0,!0,!0,!0],inProgressStep:null}),I0("tengu_auto_updater_config_complete",{finalStatus:"enabled",method:"prefix",success:"true"}),G()}catch(P){X0(P);let $=P instanceof Error?P.message:"Failed to setup npm prefix";_($),V(!1),I0("tengu_auto_updater_config_complete",{finalStatus:"not_configured",method:"prefix",success:"false",error:$})}}let E=[{label:"Create new directory for npm global packages",command:`mkdir -p ${I}`},{label:"Configure npm to use new location",command:`npm -g config set prefix ${I}`},{label:"Update shell PATH configuration",command:`export PATH=${I}/bin:$PATH`},{label:`Reinstall ${K4} globally`,command:`npm install -g ${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.PACKAGE_URL}`}];return Z9.default.createElement(p,{marginLeft:2,flexDirection:"column"},Z9.default.createElement(p,{flexDirection:"column",gap:1},Z9.default.createElement(u,null,"⚠️ Warning: This will modify your global npm configuration and can be dangerous. The following changes will be made:"),E.map((S,P)=>Z9.default.createElement(p,{key:P,flexDirection:"column"},Z9.default.createElement(p,{flexDirection:"row"},Z9.default.createElement(u,{color:F.completeSteps[P]?K.success:void 0},A?F.completeSteps[P]?"✓":" ":`${P+1}.`),Z9.default.createElement(p,{width:2},F.inProgressStep===P&&Z9.default.createElement(Cu,null)),Z9.default.createElement(u,{color:F.completeSteps[P]?K.success:void 0},S.label)),S.command&&Z9.default.createElement(p,{marginLeft:2},Z9.default.createElement(u,{color:K.suggestion,dimColor:!0},"$ ",S.command)))),Z9.default.createElement(u,{color:K.suggestion},"Note: You'll need to restart your terminal after this change"),Z9.default.createElement(u,{color:K.warning},"Important: Any existing global npm packages may need to be reinstalled")),!A&&Z9.default.createElement(p,{marginTop:1,flexDirection:"column"},Z9.default.createElement(u,null,"Enter prefix path:"),Z9.default.createElement(p,{flexDirection:"row",gap:1},Z9.default.createElement(u,null,">"),Z9.default.createElement(mC,{placeholder:I,value:I,onChange:d,onSubmit:()=>B(!0),columns:J,cursorOffset:C,onChangeCursorOffset:W})),w&&Z9.default.createElement(p,{marginTop:1,flexDirection:"column"},Z9.default.createElement(u,null,"Are you sure you want to continue with prefix: ",I,"?"),Z9.default.createElement(Q6,{options:[{label:"Yes",value:"yes"},{label:"No",value:"no"}],onChange:(S)=>{if(B(!1),S==="yes")Q(I);else Z()}}))),X&&Z9.default.createElement(u,{color:K.error},"Error: ",X))}import{platform as XW9}from"process";var Bu=J1(u1(),1);function JH(){return Bu.createElement(u,{color:r1().permission},"Press ",Bu.createElement(u,{bold:!0},"Enter")," to continue…")}function Au({onDone:I,doctorMode:d=!1}){let[G,Z]=e4.useState(null),[C,W]=e4.useState(null),[w,B]=e4.useState(null),[A,V]=e4.useState(zz2()),X=r1(),[_,F]=e4.useState(!1),g=[{label:"Manually fix permissions on current npm prefix (Recommended)",value:"manual",description:XW9==="win32"?"Uses icacls to grant write permissions":"Uses sudo to change ownership"},{label:"Create new npm prefix directory",value:"auto",description:"Creates a new directory for global npm packages in your home directory"},{label:"Skip configuration until next session",value:"ignore",description:"Skip this warning (you will be reminded again later)"}],J=e4.useCallback(async()=>{let K=await TJ1();if(I0("tengu_auto_updater_permissions_check",{hasPermissions:K.hasPermissions.toString(),npmPrefix:K.npmPrefix??"null"}),Z(K.hasPermissions),K.npmPrefix)W(K.npmPrefix);if(K.hasPermissions){let Q=q2();if(p4({...Q,autoUpdaterStatus:"enabled"}),!d)I()}},[I,d]);if(e4.useEffect(()=>{I0("tengu_auto_updater_config_start",{}),J()},[J]),C4((K,Q)=>{if((_||d&&G===!0)&&Q.return)I()},{isActive:_||d&&G===!0}),G===null)return e4.default.createElement(p,{paddingX:1,paddingTop:1},e4.default.createElement(u,{color:X.secondaryText},"Checking npm permissions…"));if(G===!0){if(d)return e4.default.createElement(p,{flexDirection:"column",gap:1,paddingX:1,paddingTop:1},e4.default.createElement(u,{color:X.success},"✓ npm permissions: OK"),e4.default.createElement(u,null,"Your installation is healthy and ready for auto-updates."),e4.default.createElement(JH,null));return e4.default.createElement(p,{paddingX:1,paddingTop:1},e4.default.createElement(u,{color:X.success},"✓ Auto-updates enabled"))}return e4.default.createElement(p,{borderColor:X.permission,borderStyle:"round",flexDirection:"column",gap:1,paddingX:1,paddingTop:1},e4.default.createElement(u,{bold:!0,color:X.permission},"Enable automatic updates?"),e4.default.createElement(u,null,K4," can't update itself because it doesn't have permissions. Do you want to fix this to get automatic updates?"),e4.default.createElement(p,{flexDirection:"column"},!w&&e4.default.createElement(p,{marginLeft:2},e4.default.createElement(u,null,"Select an option below to fix the permissions issue:"),e4.default.createElement(Q6,{options:g,onChange:(K)=>{if(K!=="auto"&&K!=="manual"&&K!=="ignore")return;if(B(K),I0("tengu_auto_updater_config_option_selected",{option:K,npmPrefix:C??"null"}),K==="manual"){let Q=q2();p4({...Q,autoUpdaterStatus:"not_configured"}),F(!0)}else if(K==="ignore"){let Q=q2();p4({...Q,autoUpdaterStatus:"not_configured"}),I()}}})),w==="auto"&&e4.default.createElement(p,{marginLeft:2},e4.default.createElement(qz2,{customPrefix:A,onCustomPrefixChange:V,onSuccess:J,onCancel:I})),w==="manual"&&e4.default.createElement(e4.default.Fragment,null,e4.default.createElement(p,{marginLeft:4,flexDirection:"column"},e4.default.createElement(u,null,"Run this command in your terminal:"),e4.default.createElement(p,{flexDirection:"row",gap:1},e4.default.createElement(u,{color:X.warning},Qz2(C??""))),e4.default.createElement(p,{flexDirection:"row",gap:1},e4.default.createElement(u,{color:X.suggestion},"After running the command, restart ",K4))),e4.default.createElement(JH,null))))}var YW9={name:"doctor",description:"Checks the health of your Claude Code installation",isEnabled:!0,isHidden:!1,userFacingName(){return"doctor"},type:"local-jsx",call(I){let d=Rz2.default.createElement(Au,{onDone:I,doctorMode:!0});return Promise.resolve(d)}},Uz2=YW9;var G2=J1(u1(),1);function vz2({commands:I,onClose:d}){let G=r1(),Z=!1,C=`Learn more at: ${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.README_URL}`,W=I.filter((A)=>!A.isHidden),[w,B]=G2.useState(0);return G2.useEffect(()=>{let A=setTimeout(()=>{if(w<3)B(w+1)},250);return()=>clearTimeout(A)},[w]),C4((A,V)=>{if(V.return)d()}),G2.createElement(p,{flexDirection:"column",padding:1},G2.createElement(u,{bold:!0,color:G.claude},`${K4} v${{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION}`),G2.createElement(p,{marginTop:1,flexDirection:"column"},G2.createElement(u,null,K4," is a beta research preview. Always review Claude's responses, especially when running code. Claude has read access to files in the current directory and can run commands and edit files with your permission.")),w>=1&&G2.createElement(p,{flexDirection:"column",marginTop:1},G2.createElement(u,{bold:!0},"Usage Modes:"),G2.createElement(u,null,"• REPL: ",G2.createElement(u,{bold:!0},"claude")," (interactive session)"),G2.createElement(u,null,"• Non-interactive: ",G2.createElement(u,{bold:!0},'claude -p "question"')),G2.createElement(p,{marginTop:1},G2.createElement(u,null,"Run ",G2.createElement(u,{bold:!0},"claude -h")," for all command line options"))),w>=2&&G2.createElement(p,{marginTop:1,flexDirection:"column"},G2.createElement(u,{bold:!0},"Common Tasks:"),G2.createElement(u,null,"• Ask questions about your codebase"," ",G2.createElement(u,{color:r1().secondaryText},"> How does foo.py work?")),G2.createElement(u,null,"• Edit files"," ",G2.createElement(u,{color:r1().secondaryText},"> Update bar.ts to...")),G2.createElement(u,null,"• Fix errors"," ",G2.createElement(u,{color:r1().secondaryText},"> cargo build")),G2.createElement(u,null,"• Run commands"," ",G2.createElement(u,{color:r1().secondaryText},"> /help")),G2.createElement(u,null,"• Run bash commands"," ",G2.createElement(u,{color:r1().secondaryText},"> !ls"))),w>=3&&G2.createElement(p,{marginTop:1,flexDirection:"column"},G2.createElement(u,{bold:!0},"Interactive Mode Commands:"),G2.createElement(p,{flexDirection:"column"},W.map((A,V)=>G2.createElement(p,{key:V,marginLeft:1},G2.createElement(u,{bold:!0},`/${A.name}`),G2.createElement(u,null," - ",A.description))))),G2.createElement(p,{marginTop:1},G2.createElement(u,{color:G.secondaryText},C)),G2.createElement(p,{marginTop:2},G2.createElement(JH,null)))}var OJ1=J1(u1(),1),_W9={type:"local-jsx",name:"help",description:"Show help and available commands",isEnabled:!0,isHidden:!1,async call(I,{options:{commands:d}}){return OJ1.createElement(vz2,{commands:d,onClose:I})},userFacingName(){return"help"}},Ez2=_W9;var DW9={type:"prompt",name:"init",description:"Initialize a new CLAUDE.md file with codebase documentation",isEnabled:!0,isHidden:!1,progressMessage:"analyzing your codebase",userFacingName(){return"init"},async getPromptForCommand(I){return zQ(),[{role:"user",content:[{type:"text",text:`Please analyze this codebase and create a CLAUDE.md file containing:
1. Build/lint/test commands - especially for running a single test
2. Code style guidelines including imports, formatting, types, naming conventions, error handling, etc.

The file you create will be given to agentic coding agents (such as yourself) that operate in this repository. Make it about 20 lines long.
If there's already a CLAUDE.md, improve it.
If there are Cursor rules (in .cursor/rules/ or .cursorrules) or Copilot rules (in .github/copilot-instructions.md), make sure to include them.`}]}]}},Mz2=DW9;var hq3=process.platform==="darwin"&&["iTerm.app","Apple_Terminal"].includes(process.env.TERM_PROGRAM||"");var c7=J1(u1(),1);var x2=J1(u1(),1);import*as Vu from"crypto";import*as Sz2 from"http";import*as Lz2 from"url";var HW9={REDIRECT_PORT:54545,MANUAL_REDIRECT_URL:"/oauth/code/callback",SCOPES:["org:create_api_key","user:profile"]},FW9={...HW9,AUTHORIZE_URL:"https://console.anthropic.com/oauth/authorize",TOKEN_URL:"https://console.anthropic.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",SUCCESS_URL:"https://console.anthropic.com/buy_credits?returnUrl=/oauth/code/success",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e"};var gd=FW9;function mJ1(I){return I.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function gW9(){return mJ1(Vu.randomBytes(32))}async function JW9(I){let G=new TextEncoder().encode(I),Z=await Vu.subtle.digest("SHA-256",G);return mJ1(Buffer.from(Z))}class lJ1{server=null;codeVerifier;expectedState=null;pendingCodePromise=null;constructor(){this.codeVerifier=gW9()}generateAuthUrls(I,d){function G(Z){let C=new URL(gd.AUTHORIZE_URL);return C.searchParams.append("client_id",gd.CLIENT_ID),C.searchParams.append("response_type","code"),C.searchParams.append("redirect_uri",Z?gd.MANUAL_REDIRECT_URL:`http://localhost:${gd.REDIRECT_PORT}/callback`),C.searchParams.append("scope",gd.SCOPES.join(" ")),C.searchParams.append("code_challenge",I),C.searchParams.append("code_challenge_method","S256"),C.searchParams.append("state",d),C.toString()}return{autoUrl:G(!1),manualUrl:G(!0)}}async startOAuthFlow(I){let d=await JW9(this.codeVerifier),G=mJ1(Vu.randomBytes(32));this.expectedState=G;let{autoUrl:Z,manualUrl:C}=this.generateAuthUrls(d,G),W=async()=>{await I(C),await rR(Z)},{authorizationCode:w,useManualRedirect:B}=await new Promise((_,F)=>{this.pendingCodePromise={resolve:_,reject:F},this.startLocalServer(G,W)}),{access_token:A,account:V,organization:X}=await this.exchangeCodeForTokens(w,G,B);if(V){let _={accountUuid:V.uuid,emailAddress:V.email_address,organizationUuid:X?.uuid},F=q2();F.oauthAccount=_,p4(F)}return{accessToken:A}}startLocalServer(I,d){if(this.server)this.closeServer();this.server=Sz2.createServer((G,Z)=>{let C=Lz2.parse(G.url||"",!0);if(C.pathname==="/callback"){let W=C.query.code,w=C.query.state;if(!W){if(Z.writeHead(400),Z.end("Authorization code not found"),this.pendingCodePromise)this.pendingCodePromise.reject(new Error("No authorization code received"));return}if(w!==I){if(Z.writeHead(400),Z.end("Invalid state parameter"),this.pendingCodePromise)this.pendingCodePromise.reject(new Error("Invalid state parameter"));return}Z.writeHead(302,{Location:gd.SUCCESS_URL}),Z.end(),I0("tengu_oauth_automatic_redirect",{}),this.processCallback({authorizationCode:W,state:I,useManualRedirect:!1})}else Z.writeHead(404),Z.end()}),this.server.listen(gd.REDIRECT_PORT,async()=>{d?.()}),this.server.on("error",(G)=>{if(G.code==="EADDRINUSE"){let C=new Error(`Port ${gd.REDIRECT_PORT} is already in use. Please ensure no other applications are using this port.`);if(X0(C),this.closeServer(),this.pendingCodePromise)this.pendingCodePromise.reject(C);return}else{if(X0(G),this.closeServer(),this.pendingCodePromise)this.pendingCodePromise.reject(G);return}})}async exchangeCodeForTokens(I,d,G=!1){let Z={grant_type:"authorization_code",code:I,redirect_uri:G?gd.MANUAL_REDIRECT_URL:`http://localhost:${gd.REDIRECT_PORT}/callback`,client_id:gd.CLIENT_ID,code_verifier:this.codeVerifier,state:d},C=await fetch(gd.TOKEN_URL,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(Z)});if(!C.ok)throw new Error(`Token exchange failed: ${C.statusText}`);return await C.json()}processCallback({authorizationCode:I,state:d,useManualRedirect:G}){if(this.closeServer(),d!==this.expectedState){if(this.pendingCodePromise)this.pendingCodePromise.reject(new Error("Invalid state parameter")),this.pendingCodePromise=null;return}if(this.pendingCodePromise)this.pendingCodePromise.resolve({authorizationCode:I,useManualRedirect:G}),this.pendingCodePromise=null}closeServer(){if(this.server)this.server.close(),this.server=null}}async function yz2(I){try{let d=await fetch(gd.API_KEY_URL,{method:"POST",headers:{Authorization:`Bearer ${I}`}}),G,Z="";try{G=await d.json()}catch(C){Z=await d.text()}if(I0("tengu_oauth_api_key",{status:d.ok?"success":"failure",statusCode:d.status.toString(),error:d.ok?"":Z||JSON.stringify(G)}),d.ok&&G&&G.raw_key){let C=G.raw_key,W=q2();if(W.primaryApiKey=C,!W.customApiKeyResponses)W.customApiKeyResponses={approved:[],rejected:[]};if(!W.customApiKeyResponses.approved)W.customApiKeyResponses.approved=[];let w=Sb(C);if(!W.customApiKeyResponses.approved.includes(w))W.customApiKeyResponses.approved.push(w);return p4(W),sK2(),C}return null}catch(d){throw I0("tengu_oauth_api_key",{status:"failure",statusCode:"exception",error:d instanceof Error?d.message:String(d)}),d}}var bJ1=J1(u1(),1);function Pz2(){let I=r1();return bJ1.default.createElement(p,{flexDirection:"column",alignItems:"flex-start"},bJ1.default.createElement(u,{color:I.claude},` ██████╗██╗      █████╗ ██╗   ██╗██████╗ ███████╗
██╔════╝██║     ██╔══██╗██║   ██║██╔══██╗██╔════╝
██║     ██║     ███████║██║   ██║██║  ██║█████╗  
██║     ██║     ██╔══██║██║   ██║██║  ██║██╔══╝  
╚██████╗███████╗██║  ██║╚██████╔╝██████╔╝███████╗
 ╚═════╝╚══════╝╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
 ██████╗ ██████╗ ██████╗ ███████╗                
██╔════╝██╔═══██╗██╔══██╗██╔════╝                
██║     ██║   ██║██║  ██║█████╗                  
██║     ██║   ██║██║  ██║██╔══╝                  
╚██████╗╚██████╔╝██████╔╝███████╗                
 ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝`))}var w2=J1(u1(),1);var x7=J1(u1(),1);function $z2({customApiKeyTruncated:I,onDone:d}){let G=r1();function Z(W){let w=q2();switch(W){case"yes":{p4({...w,customApiKeyResponses:{...w.customApiKeyResponses,approved:[...w.customApiKeyResponses?.approved??[],I]}}),d();break}case"no":{p4({...w,customApiKeyResponses:{...w.customApiKeyResponses,rejected:[...w.customApiKeyResponses?.rejected??[],I]}}),d();break}}}let C=P6(()=>process.exit(0));return x7.default.createElement(x7.default.Fragment,null,x7.default.createElement(p,{flexDirection:"column",gap:1,padding:1,borderStyle:"round",borderColor:G.warning},x7.default.createElement(u,{bold:!0,color:G.warning},"Detected a custom API key in your environment"),x7.default.createElement(u,null,"Your environment sets"," ",x7.default.createElement(u,{color:G.warning},"ANTHROPIC_API_KEY"),":"," ",x7.default.createElement(u,{bold:!0},"sk-ant-...",I)),x7.default.createElement(u,null,"Do you want to use this API key?"),x7.default.createElement(Q6,{options:[{label:`No (${c0.bold("recommended")})`,value:"no"},{label:"Yes",value:"yes"}],onChange:(W)=>Z(W)})),x7.default.createElement(p,{marginLeft:3},x7.default.createElement(u,{dimColor:!0},C.pending?x7.default.createElement(x7.default.Fragment,null,"Press ",C.keyName," again to exit"):x7.default.createElement(x7.default.Fragment,null,"Enter to confirm"))))}var L3=J1(u1(),1);var uz2=J1(u1(),1);function nZ({patch:I,dim:d,width:G,overrideTheme:Z}){return uz2.useMemo(()=>KW9(I.lines,I.oldStart,G,d,Z),[I.lines,I.oldStart,G,d,Z]).map((W,w)=>L3.createElement(p,{key:w},W))}function KW9(I,d,G,Z,C){let W=r1(C),w=NW9(I.map((V)=>{if(V.startsWith("+"))return{code:" "+V.slice(1),i:0,type:"add"};if(V.startsWith("-"))return{code:" "+V.slice(1),i:0,type:"remove"};return{code:V,i:0,type:"nochange"}}),d),A=Math.max(...w.map(({i:V})=>V)).toString().length;return w.flatMap(({type:V,code:X,i:_})=>{return xC2(X,G-A).map((g,J)=>{let K=`${V}-${_}-${J}`;switch(V){case"add":return L3.createElement(u,{key:K},L3.createElement(hJ1,{i:J===0?_:void 0,width:A}),L3.createElement(u,{color:C?W.text:void 0,backgroundColor:Z?W.diff.addedDimmed:W.diff.added,dimColor:Z},g));case"remove":return L3.createElement(u,{key:K},L3.createElement(hJ1,{i:J===0?_:void 0,width:A}),L3.createElement(u,{color:C?W.text:void 0,backgroundColor:Z?W.diff.removedDimmed:W.diff.removed,dimColor:Z},g));case"nochange":return L3.createElement(u,{key:K},L3.createElement(hJ1,{i:J===0?_:void 0,width:A}),L3.createElement(u,{color:C?W.text:void 0,dimColor:Z},g))}})})}function hJ1({i:I,width:d}){return L3.createElement(u,{color:r1().secondaryText},I!==void 0?I.toString().padStart(d):" ".repeat(d)," ")}function NW9(I,d){let G=d,Z=[],C=[...I];while(C.length>0){let{code:W,type:w}=C.shift(),B={code:W,type:w,i:G};switch(w){case"nochange":G++,Z.push(B);break;case"add":G++,Z.push(B);break;case"remove":{Z.push(B);let A=0;while(C[0]?.type==="remove"){G++;let{code:V,type:X}=C.shift(),_={code:V,type:X,i:G};Z.push(_),A++}G-=A;break}}}return Z}function as(){return!(b9||h9)}function Tz2(){return!!q2().primaryApiKey}function ss({onDone:I}){let[d,G]=w2.useState(0),Z=q2(),C=as(),[W,w]=w2.useState(zC.theme),B=r1();function A(){if(d<Q.length-1){let E=d+1;G(E)}}function V(E){p4({...Z,theme:E}),A()}function X(E){w(E)}let _=P6(()=>process.exit(0));C4(async(E,S)=>{let P=Q[d];if(S.return&&P&&["usage","security"].includes(P.id))if(d===Q.length-1)I();else{if(P.id==="security")await $6();A()}});let F=w2.default.createElement(p,{flexDirection:"column",gap:1,paddingLeft:1},w2.default.createElement(u,null,"Let's get started."),w2.default.createElement(p,{flexDirection:"column"},w2.default.createElement(u,{bold:!0},"Choose the option that looks best when you select it:"),w2.default.createElement(u,{dimColor:!0},"To change this later, run /config")),w2.default.createElement(N_,{options:[{label:"Light text",value:"dark"},{label:"Dark text",value:"light"},{label:"Light text (colorblind-friendly)",value:"dark-daltonized"},{label:"Dark text (colorblind-friendly)",value:"light-daltonized"}],onFocus:X,onChange:V}),w2.default.createElement(p,{flexDirection:"column"},w2.default.createElement(p,{paddingLeft:1,marginRight:1,borderStyle:"round",borderColor:"gray",flexDirection:"column"},w2.default.createElement(nZ,{patch:{oldStart:1,newStart:1,oldLines:3,newLines:3,lines:["function greet() {",'-  console.log("Hello, World!");','+  console.log("Hello, Claude!");',"}"]},dim:!1,width:40,overrideTheme:W})))),g=w2.default.createElement(p,{flexDirection:"column",gap:1,paddingLeft:1},w2.default.createElement(u,{bold:!0},"Security notes:"),w2.default.createElement(p,{flexDirection:"column",width:70},w2.default.createElement(b8,null,w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Claude Code is currently in research preview"),w2.default.createElement(u,{color:B.secondaryText,wrap:"wrap"},"This beta version may have limitations or unexpected behaviors.",w2.default.createElement(C6,null),"Run /bug at any time to report issues.",w2.default.createElement(C6,null))),w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Claude can make mistakes"),w2.default.createElement(u,{color:B.secondaryText,wrap:"wrap"},"You should always review Claude's responses, especially when",w2.default.createElement(C6,null),"running code.",w2.default.createElement(C6,null))),w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Due to prompt injection risks, only use it with code you trust"),w2.default.createElement(u,{color:B.secondaryText,wrap:"wrap"},"For more details see:",w2.default.createElement(C6,null),w2.default.createElement(z_,{url:"https://docs.anthropic.com/s/claude-code-security"}))))),w2.default.createElement(JH,null)),J=w2.default.createElement(p,{flexDirection:"column",gap:1,paddingLeft:1},w2.default.createElement(u,{bold:!0},"Using ",K4," effectively:"),w2.default.createElement(p,{flexDirection:"column",width:70},w2.default.createElement(b8,null,w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Start in your project directory",w2.default.createElement(C6,null),w2.default.createElement(u,{color:B.secondaryText},"Files are automatically added to context when needed."),w2.default.createElement(C6,null))),w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Use ",K4," as a development partner",w2.default.createElement(C6,null),w2.default.createElement(u,{color:B.secondaryText},"Get help with file analysis, editing, bash commands,",w2.default.createElement(C6,null),"and git history.",w2.default.createElement(C6,null)))),w2.default.createElement(b8.Item,null,w2.default.createElement(u,null,"Provide clear context",w2.default.createElement(C6,null),w2.default.createElement(u,{color:B.secondaryText},"Be as specific as you would with another engineer. ",w2.default.createElement(C6,null),"The better the context, the better the results. ",w2.default.createElement(C6,null))))),w2.default.createElement(p,null,w2.default.createElement(u,null,"For more details on ",K4,", see:",w2.default.createElement(C6,null),w2.default.createElement(z_,{url:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.README_URL})))),w2.default.createElement(JH,null)),K=w2.useMemo(()=>{return""},[]),Q=[];if(Q.push({id:"theme",component:F}),C)Q.push({id:"oauth",component:w2.default.createElement(os,{onDone:A})});if(K)Q.push({id:"api-key",component:w2.default.createElement($z2,{customApiKeyTruncated:K,onDone:A})});return Q.push({id:"security",component:g}),Q.push({id:"usage",component:J}),w2.default.createElement(p,{flexDirection:"column",gap:1},Q[d]?.id!=="oauth"&&w2.default.createElement(jJ1,null),w2.default.createElement(p,{flexDirection:"column",padding:0,gap:0},Q[d]?.component,_.pending&&w2.default.createElement(p,{padding:1},w2.default.createElement(u,{dimColor:!0},"Press ",_.keyName," again to exit"))))}function jJ1(){let I=r1();return w2.default.createElement(p,{borderColor:I.claude,borderStyle:"round",paddingX:1,width:o81},w2.default.createElement(u,null,w2.default.createElement(u,{color:I.claude},"✻")," Welcome to"," ",w2.default.createElement(u,{bold:!0},K4)," research preview!"))}function Oz2({message:I,title:d}){let G=d?`${d}:
${I}`:I;try{process.stdout.write(`\x1B]9;

${G}\x07`)}catch{}}function mz2(){process.stdout.write("\x07")}async function es(I){switch(q2().preferredNotifChannel){case"iterm2":Oz2(I);break;case"terminal_bell":mz2();break;case"iterm2_with_bell":Oz2(I),mz2();break;case"notifications_disabled":break}}var lz2="Paste code here if prompted > ";function os({onDone:I}){let[d,G]=x2.useState({state:"idle"}),Z=r1(),[C,W]=x2.useState(""),[w,B]=x2.useState(0),[A]=x2.useState(()=>new lJ1),[V,X]=x2.useState(!1),[_,F]=x2.useState(!1),g=G9().columns-lz2.length-1;x2.useEffect(()=>{if(_)$6(),F(!1)},[_]),x2.useEffect(()=>{if(d.state==="about_to_retry")F(!0),setTimeout(()=>{G(d.nextState)},1000)},[d]),C4(async(S,P)=>{if(P.return){if(d.state==="idle")I0("tengu_oauth_start",{}),G({state:"ready_to_start"});else if(d.state==="success")I0("tengu_oauth_success",{}),await $6(),I();else if(d.state==="error"&&d.toRetry)W(""),G({state:"about_to_retry",nextState:d.toRetry})}});async function J(S,P){try{let[$,h]=S.split("#");if(!$||!h){G({state:"error",message:"Invalid code. Please make sure the full code was copied",toRetry:{state:"waiting_for_login",url:P}});return}I0("tengu_oauth_manual_entry",{}),A.processCallback({authorizationCode:$,state:h,useManualRedirect:!0})}catch($){X0($),G({state:"error",message:$.message,toRetry:{state:"waiting_for_login",url:P}})}}let K=x2.useCallback(async()=>{try{let S=await A.startOAuthFlow(async($)=>{G({state:"waiting_for_login",url:$}),setTimeout(()=>X(!0),3000)}).catch(($)=>{if($.message.includes("Token exchange failed"))G({state:"error",message:"Failed to exchange authorization code for access token. Please try again.",toRetry:{state:"ready_to_start"}}),I0("tengu_oauth_token_exchange_error",{error:$.message});else G({state:"error",message:$.message,toRetry:{state:"ready_to_start"}});throw $});G({state:"creating_api_key"});let P=await yz2(S.accessToken).catch(($)=>{throw G({state:"error",message:"Failed to create API key: "+$.message,toRetry:{state:"ready_to_start"}}),I0("tengu_oauth_api_key_error",{error:$.message}),$});if(P)G({state:"success",apiKey:P}),es({message:"Claude Code login successful"});else G({state:"error",message:"Unable to create API key. The server accepted the request but didn't return a key.",toRetry:{state:"ready_to_start"}}),I0("tengu_oauth_api_key_error",{error:"server_returned_no_key"})}catch(S){let P=S.message;I0("tengu_oauth_error",{error:P})}},[A,X]);x2.useEffect(()=>{if(d.state==="ready_to_start")K()},[d.state,K]);function Q(){switch(d.state){case"idle":return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(u,{bold:!0},K4," is billed based on API usage through your Anthropic Console account."),x2.default.createElement(p,null,x2.default.createElement(u,null,"Pricing may evolve as we move towards general availability.")),x2.default.createElement(p,{marginTop:1},x2.default.createElement(u,{color:Z.permission},"Press ",x2.default.createElement(u,{bold:!0},"Enter")," to login to your Anthropic Console account…")));case"waiting_for_login":return x2.default.createElement(p,{flexDirection:"column",gap:1},!V&&x2.default.createElement(p,null,x2.default.createElement(Cu,null),x2.default.createElement(u,null,"Opening browser to sign in…")),V&&x2.default.createElement(p,null,x2.default.createElement(u,null,lz2),x2.default.createElement(mC,{value:C,onChange:W,onSubmit:(S)=>J(S,d.url),cursorOffset:w,onChangeCursorOffset:B,columns:g})));case"creating_api_key":return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(p,null,x2.default.createElement(Cu,null),x2.default.createElement(u,null,"Creating API key for Claude Code…")));case"about_to_retry":return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(u,{color:Z.permission},"Retrying…"));case"success":return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(u,{color:Z.success},"Login successful. Press ",x2.default.createElement(u,{bold:!0},"Enter")," to continue…"));case"error":return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(u,{color:Z.error},"OAuth error: ",d.message),d.toRetry&&x2.default.createElement(p,{marginTop:1},x2.default.createElement(u,{color:Z.permission},"Press ",x2.default.createElement(u,{bold:!0},"Enter")," to retry.")));default:return null}}let E={};if(!_)E.header=x2.default.createElement(p,{key:"header",flexDirection:"column",gap:1},x2.default.createElement(jJ1,null),x2.default.createElement(p,{paddingBottom:1,paddingLeft:1},x2.default.createElement(Pz2,null)));if(d.state==="waiting_for_login"&&V)E.urlToCopy=x2.default.createElement(p,{flexDirection:"column",key:"urlToCopy",gap:1,paddingBottom:1},x2.default.createElement(p,{paddingX:1},x2.default.createElement(u,{dimColor:!0},"Browser didn't open? Use the url below to sign in:")),x2.default.createElement(p,{width:1000},x2.default.createElement(u,{dimColor:!0},d.url)));return x2.default.createElement(p,{flexDirection:"column",gap:1},x2.default.createElement(DQ,{items:Object.keys(E)},(S)=>E[S]),x2.default.createElement(p,{paddingLeft:1,flexDirection:"column",gap:1},Q()))}var bz2=()=>({type:"local-jsx",name:"login",description:Tz2()?"Switch Anthropic accounts":"Sign in with your Anthropic account",isEnabled:!0,isHidden:!1,async call(I,d){return await $6(),c7.createElement(zW9,{onDone:async()=>{Iu(d),I()}})},userFacingName(){return"login"}});function zW9(I){let d=P6(I.onDone);return c7.createElement(p,{flexDirection:"column"},c7.createElement(os,{onDone:I.onDone}),c7.createElement(p,{marginLeft:3},c7.createElement(u,{dimColor:!0},d.pending?c7.createElement(c7.Fragment,null,"Press ",d.keyName," again to exit"):"")))}var kJ1=J1(u1(),1);var hz2={type:"local-jsx",name:"logout",description:"Sign out from your Anthropic account",isEnabled:!0,isHidden:!1,async call(){await $6();let I=q2();if(I.oauthAccount=void 0,I.primaryApiKey=void 0,I.hasCompletedOnboarding=!1,I.customApiKeyResponses?.approved)I.customApiKeyResponses.approved=[];p4(I);let d=kJ1.createElement(u,null,"Successfully logged out from your Anthropic account.");return setTimeout(()=>{process.exit(0)},200),d},userFacingName(){return"logout"}};var xJ1=J1(u1(),1);var jz2={type:"local-jsx",name:"onboarding",description:"[ANT-ONLY] Run through the onboarding flow",isEnabled:!1,isHidden:!1,async call(I,d){await $6();let G=q2();return p4({...G,theme:"dark"}),xJ1.createElement(ss,{onDone:async()=>{Iu(d),I()}})},userFacingName(){return"onboarding"}};var kz2={type:"prompt",name:"pr-comments",description:"Get comments from a GitHub pull request",progressMessage:"fetching PR comments",isEnabled:!0,isHidden:!1,userFacingName(){return"pr-comments"},async getPromptForCommand(I){return[{role:"user",content:[{type:"text",text:`You are an AI assistant integrated into a git-based version control system. Your task is to fetch and display comments from a GitHub pull request.

Follow these steps:

1. Use \`gh pr view --json number,headRepository\` to get the PR number and repository info
2. Use \`gh api /repos/{owner}/{repo}/issues/{number}/comments\` to get PR-level comments
3. Use \`gh api /repos/{owner}/{repo}/pulls/{number}/comments\` to get review comments. Pay particular attention to the following fields: \`body\`, \`diff_hunk\`, \`path\`, \`line\`, etc. If the comment references some code, consider fetching it using eg \`gh api /repos/{owner}/{repo}/contents/{path}?ref={branch} | jq .content -r | base64 -d\`
4. Parse and format all comments in a readable way
5. Return ONLY the formatted comments, with no additional text

Format the comments as:

## Comments

[For each comment thread:]
- @author file.ts#line:
  \`\`\`diff
  [diff_hunk from the API response]
  \`\`\`
  > quoted comment text
  
  [any replies indented]

If there are no comments, return "No comments found."

Remember:
1. Only show the actual comments, no explanatory text
2. Include both PR-level and code review comments
3. Preserve the threading/nesting of comment replies
4. Show the file and line number context for code review comments
5. Use jq to parse the JSON responses from the GitHub API

${I?"Additional user input: "+I:""}
`}]}]}};var QW9={description:"Show release notes for the current or specified version",isEnabled:!1,isHidden:!1,name:"release-notes",userFacingName(){return"release-notes"},type:"local",async call(I){let d={ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,G=I?I.trim():d,Z=Xk[G];if(!Z||Z.length===0)return`No release notes available for version ${G}.`;let C=`Release notes for version ${G}:`,W=Z.map((w)=>`• ${w}`).join(`
`);return`${C}

${W}`}},xz2=QW9;var ts={type:"prompt",name:"review",description:"Review a pull request",isEnabled:!0,isHidden:!1,progressMessage:"reviewing pull request",userFacingName(){return"review"},async getPromptForCommand(I){return[{role:"user",content:[{type:"text",text:`
      You are an expert code reviewer. Follow these steps:

      1. If no PR number is provided in the args, use ${G5.name}("gh pr list") to show open PRs
      2. If a PR number is provided, use ${G5.name}("gh pr view <number>") to get PR details
      3. Use ${G5.name}("gh pr diff <number>") to get the diff
      4. Analyze the changes and provide a thorough code review that includes:
         - Overview of what the PR does
         - Analysis of code quality and style
         - Specific suggestions for improvements
         - Any potential issues or risks
      
      Keep your review concise but thorough. Focus on:
      - Code correctness
      - Following project conventions
      - Performance implications
      - Test coverage
      - Security considerations

      Format your review with clear sections and bullet points.

      PR number: ${I}
    `}]}]}};var vW9=J1(u1(),1);var RW9=J1(u1(),1);var fW9=J1(u1(),1);import{existsSync as WQ2,readFileSync as wQ2,writeFileSync as BQ2}from"fs";import{join as AQ2}from"path";var Yu="2024-11-05",Go=[Yu,"2024-10-07"],Zo="2.0",cz2=s.union([s.string(),s.number().int()]),pz2=s.string(),fW=s.object({_meta:s.optional(s.object({progressToken:s.optional(cz2)}).passthrough())}).passthrough(),HG=s.object({method:s.string(),params:s.optional(fW)}),_u=s.object({_meta:s.optional(s.object({}).passthrough())}).passthrough(),lB=s.object({method:s.string(),params:s.optional(_u)}),qW=s.object({_meta:s.optional(s.object({}).passthrough())}).passthrough(),Co=s.union([s.string(),s.number().int()]),EW9=s.object({jsonrpc:s.literal(Zo),id:Co}).merge(HG).strict(),MW9=s.object({jsonrpc:s.literal(Zo)}).merge(lB).strict(),SW9=s.object({jsonrpc:s.literal(Zo),id:Co,result:qW}).strict(),WK;(function(I){I[I.ConnectionClosed=-32000]="ConnectionClosed",I[I.RequestTimeout=-32001]="RequestTimeout",I[I.ParseError=-32700]="ParseError",I[I.InvalidRequest=-32600]="InvalidRequest",I[I.MethodNotFound=-32601]="MethodNotFound",I[I.InvalidParams=-32602]="InvalidParams",I[I.InternalError=-32603]="InternalError"})(WK||(WK={}));var LW9=s.object({jsonrpc:s.literal(Zo),id:Co,error:s.object({code:s.number().int(),message:s.string(),data:s.optional(s.unknown())})}).strict(),Wo=s.union([EW9,MW9,SW9,LW9]),HX=qW.strict(),wo=lB.extend({method:s.literal("notifications/cancelled"),params:_u.extend({requestId:Co,reason:s.string().optional()})}),iz2=s.object({name:s.string(),version:s.string()}).passthrough(),yW9=s.object({experimental:s.optional(s.object({}).passthrough()),sampling:s.optional(s.object({}).passthrough()),roots:s.optional(s.object({listChanged:s.optional(s.boolean())}).passthrough())}).passthrough(),pJ1=HG.extend({method:s.literal("initialize"),params:fW.extend({protocolVersion:s.string(),capabilities:yW9,clientInfo:iz2})}),PW9=s.object({experimental:s.optional(s.object({}).passthrough()),logging:s.optional(s.object({}).passthrough()),prompts:s.optional(s.object({listChanged:s.optional(s.boolean())}).passthrough()),resources:s.optional(s.object({subscribe:s.optional(s.boolean()),listChanged:s.optional(s.boolean())}).passthrough()),tools:s.optional(s.object({listChanged:s.optional(s.boolean())}).passthrough())}).passthrough(),iJ1=qW.extend({protocolVersion:s.string(),capabilities:PW9,serverInfo:iz2,instructions:s.optional(s.string())}),nJ1=lB.extend({method:s.literal("notifications/initialized")}),Bo=HG.extend({method:s.literal("ping")}),$W9=s.object({progress:s.number(),total:s.optional(s.number())}).passthrough(),Ao=lB.extend({method:s.literal("notifications/progress"),params:_u.merge($W9).extend({progressToken:cz2})}),Vo=HG.extend({params:fW.extend({cursor:s.optional(pz2)}).optional()}),Xo=qW.extend({nextCursor:s.optional(pz2)}),nz2=s.object({uri:s.string(),mimeType:s.optional(s.string())}).passthrough(),rz2=nz2.extend({text:s.string()}),az2=nz2.extend({blob:s.string().base64()}),uW9=s.object({uri:s.string(),name:s.string(),description:s.optional(s.string()),mimeType:s.optional(s.string())}).passthrough(),TW9=s.object({uriTemplate:s.string(),name:s.string(),description:s.optional(s.string()),mimeType:s.optional(s.string())}).passthrough(),OW9=Vo.extend({method:s.literal("resources/list")}),rJ1=Xo.extend({resources:s.array(uW9)}),mW9=Vo.extend({method:s.literal("resources/templates/list")}),aJ1=Xo.extend({resourceTemplates:s.array(TW9)}),lW9=HG.extend({method:s.literal("resources/read"),params:fW.extend({uri:s.string()})}),sJ1=qW.extend({contents:s.array(s.union([rz2,az2]))}),bW9=lB.extend({method:s.literal("notifications/resources/list_changed")}),hW9=HG.extend({method:s.literal("resources/subscribe"),params:fW.extend({uri:s.string()})}),jW9=HG.extend({method:s.literal("resources/unsubscribe"),params:fW.extend({uri:s.string()})}),kW9=lB.extend({method:s.literal("notifications/resources/updated"),params:_u.extend({uri:s.string()})}),xW9=s.object({name:s.string(),description:s.optional(s.string()),required:s.optional(s.boolean())}).passthrough(),cW9=s.object({name:s.string(),description:s.optional(s.string()),arguments:s.optional(s.array(xW9))}).passthrough(),pW9=Vo.extend({method:s.literal("prompts/list")}),Du=Xo.extend({prompts:s.array(cW9)}),iW9=HG.extend({method:s.literal("prompts/get"),params:fW.extend({name:s.string(),arguments:s.optional(s.record(s.string()))})}),Yo=s.object({type:s.literal("text"),text:s.string()}).passthrough(),_o=s.object({type:s.literal("image"),data:s.string().base64(),mimeType:s.string()}).passthrough(),sz2=s.object({type:s.literal("resource"),resource:s.union([rz2,az2])}).passthrough(),nW9=s.object({role:s.enum(["user","assistant"]),content:s.union([Yo,_o,sz2])}).passthrough(),oJ1=qW.extend({description:s.optional(s.string()),messages:s.array(nW9)}),rW9=lB.extend({method:s.literal("notifications/prompts/list_changed")}),aW9=s.object({name:s.string(),description:s.optional(s.string()),inputSchema:s.object({type:s.literal("object"),properties:s.optional(s.object({}).passthrough())}).passthrough()}).passthrough(),eJ1=Vo.extend({method:s.literal("tools/list")}),Hu=Xo.extend({tools:s.array(aW9)}),IU=qW.extend({content:s.array(s.union([Yo,_o,sz2])),isError:s.boolean().default(!1).optional()}),hU3=IU.or(qW.extend({toolResult:s.unknown()})),tJ1=HG.extend({method:s.literal("tools/call"),params:fW.extend({name:s.string(),arguments:s.optional(s.record(s.unknown()))})}),sW9=lB.extend({method:s.literal("notifications/tools/list_changed")}),oz2=s.enum(["debug","info","notice","warning","error","critical","alert","emergency"]),oW9=HG.extend({method:s.literal("logging/setLevel"),params:fW.extend({level:oz2})}),eW9=lB.extend({method:s.literal("notifications/message"),params:_u.extend({level:oz2,logger:s.optional(s.string()),data:s.unknown()})}),tW9=s.object({name:s.string().optional()}).passthrough(),Iw9=s.object({hints:s.optional(s.array(tW9)),costPriority:s.optional(s.number().min(0).max(1)),speedPriority:s.optional(s.number().min(0).max(1)),intelligencePriority:s.optional(s.number().min(0).max(1))}).passthrough(),dw9=s.object({role:s.enum(["user","assistant"]),content:s.union([Yo,_o])}).passthrough(),Gw9=HG.extend({method:s.literal("sampling/createMessage"),params:fW.extend({messages:s.array(dw9),systemPrompt:s.optional(s.string()),includeContext:s.optional(s.enum(["none","thisServer","allServers"])),temperature:s.optional(s.number()),maxTokens:s.number().int(),stopSequences:s.optional(s.array(s.string())),metadata:s.optional(s.object({}).passthrough()),modelPreferences:s.optional(Iw9)})}),IK1=qW.extend({model:s.string(),stopReason:s.optional(s.enum(["endTurn","stopSequence","maxTokens"]).or(s.string())),role:s.enum(["user","assistant"]),content:s.discriminatedUnion("type",[Yo,_o])}),Zw9=s.object({type:s.literal("ref/resource"),uri:s.string()}).passthrough(),Cw9=s.object({type:s.literal("ref/prompt"),name:s.string()}).passthrough(),Ww9=HG.extend({method:s.literal("completion/complete"),params:fW.extend({ref:s.union([Cw9,Zw9]),argument:s.object({name:s.string(),value:s.string()}).passthrough()})}),dK1=qW.extend({completion:s.object({values:s.array(s.string()).max(100),total:s.optional(s.number().int()),hasMore:s.optional(s.boolean())}).passthrough()}),ww9=s.object({uri:s.string().startsWith("file://"),name:s.optional(s.string())}).passthrough(),Bw9=HG.extend({method:s.literal("roots/list")}),GK1=qW.extend({roots:s.array(ww9)}),Aw9=lB.extend({method:s.literal("notifications/roots/list_changed")}),jU3=s.union([Bo,pJ1,Ww9,oW9,iW9,pW9,OW9,mW9,lW9,hW9,jW9,tJ1,eJ1]),kU3=s.union([wo,Ao,nJ1,Aw9]),xU3=s.union([HX,IK1,GK1]),cU3=s.union([Bo,Gw9,Bw9]),pU3=s.union([wo,Ao,eW9,kW9,bW9,sW9,rW9]),iU3=s.union([HX,iJ1,dK1,oJ1,Du,rJ1,aJ1,sJ1,IU,Hu]);class Fu extends Error{constructor(I,d,G){super(`MCP error ${I}: ${d}`);this.code=I,this.data=G}}var Vw9=60000;class gu{constructor(I){this._options=I,this._requestMessageId=0,this._requestHandlers=new Map,this._requestHandlerAbortControllers=new Map,this._notificationHandlers=new Map,this._responseHandlers=new Map,this._progressHandlers=new Map,this.setNotificationHandler(wo,(d)=>{let G=this._requestHandlerAbortControllers.get(d.params.requestId);G===null||G===void 0||G.abort(d.params.reason)}),this.setNotificationHandler(Ao,(d)=>{this._onprogress(d)}),this.setRequestHandler(Bo,(d)=>({}))}async connect(I){this._transport=I,this._transport.onclose=()=>{this._onclose()},this._transport.onerror=(d)=>{this._onerror(d)},this._transport.onmessage=(d)=>{if(!("method"in d))this._onresponse(d);else if("id"in d)this._onrequest(d);else this._onnotification(d)},await this._transport.start()}_onclose(){var I;let d=this._responseHandlers;this._responseHandlers=new Map,this._progressHandlers.clear(),this._transport=void 0,(I=this.onclose)===null||I===void 0||I.call(this);let G=new Fu(WK.ConnectionClosed,"Connection closed");for(let Z of d.values())Z(G)}_onerror(I){var d;(d=this.onerror)===null||d===void 0||d.call(this,I)}_onnotification(I){var d;let G=(d=this._notificationHandlers.get(I.method))!==null&&d!==void 0?d:this.fallbackNotificationHandler;if(G===void 0)return;Promise.resolve().then(()=>G(I)).catch((Z)=>this._onerror(new Error(`Uncaught error in notification handler: ${Z}`)))}_onrequest(I){var d,G;let Z=(d=this._requestHandlers.get(I.method))!==null&&d!==void 0?d:this.fallbackRequestHandler;if(Z===void 0){(G=this._transport)===null||G===void 0||G.send({jsonrpc:"2.0",id:I.id,error:{code:WK.MethodNotFound,message:"Method not found"}}).catch((W)=>this._onerror(new Error(`Failed to send an error response: ${W}`)));return}let C=new AbortController;this._requestHandlerAbortControllers.set(I.id,C),Promise.resolve().then(()=>Z(I,{signal:C.signal})).then((W)=>{var w;if(C.signal.aborted)return;return(w=this._transport)===null||w===void 0?void 0:w.send({result:W,jsonrpc:"2.0",id:I.id})},(W)=>{var w,B;if(C.signal.aborted)return;return(w=this._transport)===null||w===void 0?void 0:w.send({jsonrpc:"2.0",id:I.id,error:{code:Number.isSafeInteger(W.code)?W.code:WK.InternalError,message:(B=W.message)!==null&&B!==void 0?B:"Internal error"}})}).catch((W)=>this._onerror(new Error(`Failed to send response: ${W}`))).finally(()=>{this._requestHandlerAbortControllers.delete(I.id)})}_onprogress(I){let{progressToken:d,...G}=I.params,Z=this._progressHandlers.get(Number(d));if(Z===void 0){this._onerror(new Error(`Received a progress notification for an unknown token: ${JSON.stringify(I)}`));return}Z(G)}_onresponse(I){let d=I.id,G=this._responseHandlers.get(Number(d));if(G===void 0){this._onerror(new Error(`Received a response for an unknown message ID: ${JSON.stringify(I)}`));return}if(this._responseHandlers.delete(Number(d)),this._progressHandlers.delete(Number(d)),"result"in I)G(I);else{let Z=new Fu(I.error.code,I.error.message,I.error.data);G(Z)}}get transport(){return this._transport}async close(){var I;await((I=this._transport)===null||I===void 0?void 0:I.close())}request(I,d,G){return new Promise((Z,C)=>{var W,w,B,A;if(!this._transport){C(new Error("Not connected"));return}if(((W=this._options)===null||W===void 0?void 0:W.enforceStrictCapabilities)===!0)this.assertCapabilityForMethod(I.method);(w=G===null||G===void 0?void 0:G.signal)===null||w===void 0||w.throwIfAborted();let V=this._requestMessageId++,X={...I,jsonrpc:"2.0",id:V};if(G===null||G===void 0?void 0:G.onprogress)this._progressHandlers.set(V,G.onprogress),X.params={...I.params,_meta:{progressToken:V}};let _=void 0;this._responseHandlers.set(V,(J)=>{var K;if(_!==void 0)clearTimeout(_);if((K=G===null||G===void 0?void 0:G.signal)===null||K===void 0?void 0:K.aborted)return;if(J instanceof Error)return C(J);try{let Q=d.parse(J.result);Z(Q)}catch(Q){C(Q)}});let F=(J)=>{var K;this._responseHandlers.delete(V),this._progressHandlers.delete(V),(K=this._transport)===null||K===void 0||K.send({jsonrpc:"2.0",method:"notifications/cancelled",params:{requestId:V,reason:String(J)}}).catch((Q)=>this._onerror(new Error(`Failed to send cancellation: ${Q}`))),C(J)};(B=G===null||G===void 0?void 0:G.signal)===null||B===void 0||B.addEventListener("abort",()=>{var J;if(_!==void 0)clearTimeout(_);F((J=G===null||G===void 0?void 0:G.signal)===null||J===void 0?void 0:J.reason)});let g=(A=G===null||G===void 0?void 0:G.timeout)!==null&&A!==void 0?A:Vw9;_=setTimeout(()=>F(new Fu(WK.RequestTimeout,"Request timed out",{timeout:g})),g),this._transport.send(X).catch((J)=>{if(_!==void 0)clearTimeout(_);C(J)})})}async notification(I){if(!this._transport)throw new Error("Not connected");this.assertNotificationCapability(I.method);let d={...I,jsonrpc:"2.0"};await this._transport.send(d)}setRequestHandler(I,d){let G=I.shape.method.value;this.assertRequestHandlerCapability(G),this._requestHandlers.set(G,(Z,C)=>Promise.resolve(d(I.parse(Z),C)))}removeRequestHandler(I){this._requestHandlers.delete(I)}assertCanSetRequestHandler(I){if(this._requestHandlers.has(I))throw new Error(`A request handler for ${I} already exists, which would be overridden`)}setNotificationHandler(I,d){this._notificationHandlers.set(I.shape.method.value,(G)=>Promise.resolve(d(I.parse(G))))}removeNotificationHandler(I){this._notificationHandlers.delete(I)}}function Do(I,d){return Object.entries(d).reduce((G,[Z,C])=>{if(C&&typeof C==="object")G[Z]=G[Z]?{...G[Z],...C}:C;else G[Z]=C;return G},{...I})}class ZK1 extends gu{constructor(I,d){var G;super(d);this._clientInfo=I,this._capabilities=(G=d===null||d===void 0?void 0:d.capabilities)!==null&&G!==void 0?G:{}}registerCapabilities(I){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=Do(this._capabilities,I)}assertCapability(I,d){var G;if(!((G=this._serverCapabilities)===null||G===void 0?void 0:G[I]))throw new Error(`Server does not support ${I} (required for ${d})`)}async connect(I){await super.connect(I);try{let d=await this.request({method:"initialize",params:{protocolVersion:Yu,capabilities:this._capabilities,clientInfo:this._clientInfo}},iJ1);if(d===void 0)throw new Error(`Server sent invalid initialize result: ${d}`);if(!Go.includes(d.protocolVersion))throw new Error(`Server's protocol version is not supported: ${d.protocolVersion}`);this._serverCapabilities=d.capabilities,this._serverVersion=d.serverInfo,this._instructions=d.instructions,await this.notification({method:"notifications/initialized"})}catch(d){throw this.close(),d}}getServerCapabilities(){return this._serverCapabilities}getServerVersion(){return this._serverVersion}getInstructions(){return this._instructions}assertCapabilityForMethod(I){var d,G,Z,C,W;switch(I){case"logging/setLevel":if(!((d=this._serverCapabilities)===null||d===void 0?void 0:d.logging))throw new Error(`Server does not support logging (required for ${I})`);break;case"prompts/get":case"prompts/list":if(!((G=this._serverCapabilities)===null||G===void 0?void 0:G.prompts))throw new Error(`Server does not support prompts (required for ${I})`);break;case"resources/list":case"resources/templates/list":case"resources/read":case"resources/subscribe":case"resources/unsubscribe":if(!((Z=this._serverCapabilities)===null||Z===void 0?void 0:Z.resources))throw new Error(`Server does not support resources (required for ${I})`);if(I==="resources/subscribe"&&!this._serverCapabilities.resources.subscribe)throw new Error(`Server does not support resource subscriptions (required for ${I})`);break;case"tools/call":case"tools/list":if(!((C=this._serverCapabilities)===null||C===void 0?void 0:C.tools))throw new Error(`Server does not support tools (required for ${I})`);break;case"completion/complete":if(!((W=this._serverCapabilities)===null||W===void 0?void 0:W.prompts))throw new Error(`Server does not support prompts (required for ${I})`);break;case"initialize":break;case"ping":break}}assertNotificationCapability(I){var d;switch(I){case"notifications/roots/list_changed":if(!((d=this._capabilities.roots)===null||d===void 0?void 0:d.listChanged))throw new Error(`Client does not support roots list changed notifications (required for ${I})`);break;case"notifications/initialized":break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(I){switch(I){case"sampling/createMessage":if(!this._capabilities.sampling)throw new Error(`Client does not support sampling capability (required for ${I})`);break;case"roots/list":if(!this._capabilities.roots)throw new Error(`Client does not support roots capability (required for ${I})`);break;case"ping":break}}async ping(I){return this.request({method:"ping"},HX,I)}async complete(I,d){return this.request({method:"completion/complete",params:I},dK1,d)}async setLoggingLevel(I,d){return this.request({method:"logging/setLevel",params:{level:I}},HX,d)}async getPrompt(I,d){return this.request({method:"prompts/get",params:I},oJ1,d)}async listPrompts(I,d){return this.request({method:"prompts/list",params:I},Du,d)}async listResources(I,d){return this.request({method:"resources/list",params:I},rJ1,d)}async listResourceTemplates(I,d){return this.request({method:"resources/templates/list",params:I},aJ1,d)}async readResource(I,d){return this.request({method:"resources/read",params:I},sJ1,d)}async subscribeResource(I,d){return this.request({method:"resources/subscribe",params:I},HX,d)}async unsubscribeResource(I,d){return this.request({method:"resources/unsubscribe",params:I},HX,d)}async callTool(I,d=IU,G){return this.request({method:"tools/call",params:I},d,G)}async listTools(I,d){return this.request({method:"tools/list",params:I},Hu,d)}async sendRootsListChanged(){return this.notification({method:"notifications/roots/list_changed"})}}import{spawn as Yw9}from"node:child_process";import Fo from"node:process";class Ju{append(I){this._buffer=this._buffer?Buffer.concat([this._buffer,I]):I}readMessage(){if(!this._buffer)return null;let I=this._buffer.indexOf(`
`);if(I===-1)return null;let d=this._buffer.toString("utf8",0,I);return this._buffer=this._buffer.subarray(I+1),Xw9(d)}clear(){this._buffer=void 0}}function Xw9(I){return Wo.parse(JSON.parse(I))}function Ho(I){return JSON.stringify(I)+`
`}var _w9=Fo.platform==="win32"?["APPDATA","HOMEDRIVE","HOMEPATH","LOCALAPPDATA","PATH","PROCESSOR_ARCHITECTURE","SYSTEMDRIVE","SYSTEMROOT","TEMP","USERNAME","USERPROFILE"]:["HOME","LOGNAME","PATH","SHELL","TERM","USER"];function Dw9(){let I={};for(let d of _w9){let G=Fo.env[d];if(G===void 0)continue;if(G.startsWith("()"))continue;I[d]=G}return I}class CK1{constructor(I){this._abortController=new AbortController,this._readBuffer=new Ju,this._serverParams=I}async start(){if(this._process)throw new Error("StdioClientTransport already started! If using Client class, note that connect() calls start() automatically.");return new Promise((I,d)=>{var G,Z,C,W,w,B;this._process=Yw9(this._serverParams.command,(G=this._serverParams.args)!==null&&G!==void 0?G:[],{env:(Z=this._serverParams.env)!==null&&Z!==void 0?Z:Dw9(),stdio:["pipe","pipe",(C=this._serverParams.stderr)!==null&&C!==void 0?C:"inherit"],shell:!1,signal:this._abortController.signal,windowsHide:Fo.platform==="win32"&&Hw9()}),this._process.on("error",(A)=>{var V,X;if(A.name==="AbortError"){(V=this.onclose)===null||V===void 0||V.call(this);return}d(A),(X=this.onerror)===null||X===void 0||X.call(this,A)}),this._process.on("spawn",()=>{I()}),this._process.on("close",(A)=>{var V;this._process=void 0,(V=this.onclose)===null||V===void 0||V.call(this)}),(W=this._process.stdin)===null||W===void 0||W.on("error",(A)=>{var V;(V=this.onerror)===null||V===void 0||V.call(this,A)}),(w=this._process.stdout)===null||w===void 0||w.on("data",(A)=>{this._readBuffer.append(A),this.processReadBuffer()}),(B=this._process.stdout)===null||B===void 0||B.on("error",(A)=>{var V;(V=this.onerror)===null||V===void 0||V.call(this,A)})})}get stderr(){var I,d;return(d=(I=this._process)===null||I===void 0?void 0:I.stderr)!==null&&d!==void 0?d:null}processReadBuffer(){var I,d;while(!0)try{let G=this._readBuffer.readMessage();if(G===null)break;(I=this.onmessage)===null||I===void 0||I.call(this,G)}catch(G){(d=this.onerror)===null||d===void 0||d.call(this,G)}}async close(){this._abortController.abort(),this._process=void 0,this._readBuffer.clear()}send(I){return new Promise((d)=>{var G;if(!((G=this._process)===null||G===void 0?void 0:G.stdin))throw new Error("Not connected");let Z=Ho(I);if(this._process.stdin.write(Z))d();else this._process.stdin.once("drain",d)})}}function Hw9(){return"type"in Fo}var Fw9=Object.defineProperty,gw9=(I,d,G)=>(d in I)?Fw9(I,d,{enumerable:!0,configurable:!0,writable:!0,value:G}):I[d]=G,go=(I,d,G)=>gw9(I,typeof d!="symbol"?d+"":d,G);class wK1 extends Error{constructor(I,d){super(I),go(this,"type"),go(this,"field"),go(this,"value"),go(this,"line"),this.name="ParseError",this.type=d.type,this.field=d.field,this.value=d.value,this.line=d.line}}function WK1(I){}function ez2(I){let{onEvent:d=WK1,onError:G=WK1,onRetry:Z=WK1,onComment:C}=I,W="",w=!0,B,A="",V="";function X(K){let Q=w?K.replace(/^\xEF\xBB\xBF/,""):K,[E,S]=Jw9(`${W}${Q}`);for(let P of E)_(P);W=S,w=!1}function _(K){if(K===""){g();return}if(K.startsWith(":")){C&&C(K.slice(K.startsWith(": ")?2:1));return}let Q=K.indexOf(":");if(Q!==-1){let E=K.slice(0,Q),S=K[Q+1]===" "?2:1,P=K.slice(Q+S);F(E,P,K);return}F(K,"",K)}function F(K,Q,E){switch(K){case"event":V=Q;break;case"data":A=`${A}${Q}
`;break;case"id":B=Q.includes("\x00")?void 0:Q;break;case"retry":/^\d+$/.test(Q)?Z(parseInt(Q,10)):G(new wK1(`Invalid \`retry\` value: "${Q}"`,{type:"invalid-retry",value:Q,line:E}));break;default:G(new wK1(`Unknown field "${K.length>20?`${K.slice(0,20)}…`:K}"`,{type:"unknown-field",field:K,value:Q,line:E}));break}}function g(){A.length>0&&d({id:B,event:V||void 0,data:A.endsWith(`
`)?A.slice(0,-1):A}),B=void 0,A="",V=""}function J(K={}){W&&K.consume&&_(W),B=void 0,A="",V="",W=""}return{feed:X,reset:J}}function Jw9(I){let d=[],G="",Z=I.length;for(let C=0;C<Z;C++){let W=I[C];W==="\r"&&I[C+1]===`
`?(d.push(G),G="",C++):W==="\r"||W===`
`?(d.push(G),G=""):G+=W}return[d,G]}class BK1 extends Event{}function Kw9(I){let d=globalThis.DOMException;return typeof d=="function"?new d(I,"SyntaxError"):new SyntaxError(I)}var IQ2=(I)=>{throw TypeError(I)},FK1=(I,d,G)=>d.has(I)||IQ2("Cannot "+G),t4=(I,d,G)=>(FK1(I,d,"read from private field"),G?G.call(I):d.get(I)),o6=(I,d,G)=>d.has(I)?IQ2("Cannot add the same private member more than once"):d instanceof WeakSet?d.add(I):d.set(I,G),V3=(I,d,G,Z)=>(FK1(I,d,"write to private field"),d.set(I,G),G),FX=(I,d,G)=>(FK1(I,d,"access private method"),G),Jd,wK,dU,Jo,Ko,zu,CU,Qu,KH,GU,WU,ZU,Ku,RW,AK1,VK1,XK1,tz2,YK1,_K1,Nu,DK1,HK1;class wU extends EventTarget{constructor(I,d){var G,Z;super(),o6(this,RW),this.CONNECTING=0,this.OPEN=1,this.CLOSED=2,o6(this,Jd),o6(this,wK),o6(this,dU),o6(this,Jo),o6(this,Ko),o6(this,zu),o6(this,CU),o6(this,Qu,null),o6(this,KH),o6(this,GU),o6(this,WU,null),o6(this,ZU,null),o6(this,Ku,null),o6(this,VK1,async(C)=>{var W;t4(this,GU).reset();let{body:w,redirected:B,status:A,headers:V}=C;if(A===204){FX(this,RW,Nu).call(this,"Server sent HTTP 204, not reconnecting",204),this.close();return}if(B?V3(this,dU,new URL(C.url)):V3(this,dU,void 0),A!==200){FX(this,RW,Nu).call(this,`Non-200 status code (${A})`,A);return}if(!(V.get("content-type")||"").startsWith("text/event-stream")){FX(this,RW,Nu).call(this,'Invalid content type, expected "text/event-stream"',A);return}if(t4(this,Jd)===this.CLOSED)return;V3(this,Jd,this.OPEN);let X=new Event("open");if((W=t4(this,Ku))==null||W.call(this,X),this.dispatchEvent(X),typeof w!="object"||!w||!("getReader"in w)){FX(this,RW,Nu).call(this,"Invalid response body, expected a web ReadableStream",A),this.close();return}let _=new TextDecoder,F=w.getReader(),g=!0;do{let{done:J,value:K}=await F.read();K&&t4(this,GU).feed(_.decode(K,{stream:!J})),J&&(g=!1,t4(this,GU).reset(),FX(this,RW,DK1).call(this))}while(g)}),o6(this,XK1,(C)=>{V3(this,KH,void 0),!(C.name==="AbortError"||C.type==="aborted")&&FX(this,RW,DK1).call(this)}),o6(this,YK1,(C)=>{typeof C.id=="string"&&V3(this,Qu,C.id);let W=new MessageEvent(C.event||"message",{data:C.data,origin:t4(this,dU)?t4(this,dU).origin:t4(this,wK).origin,lastEventId:C.id||""});t4(this,ZU)&&(!C.event||C.event==="message")&&t4(this,ZU).call(this,W),this.dispatchEvent(W)}),o6(this,_K1,(C)=>{V3(this,zu,C)}),o6(this,HK1,()=>{V3(this,CU,void 0),t4(this,Jd)===this.CONNECTING&&FX(this,RW,AK1).call(this)});try{if(I instanceof URL)V3(this,wK,I);else if(typeof I=="string")V3(this,wK,new URL(I,Nw9()));else throw new Error("Invalid URL")}catch{throw Kw9("An invalid or illegal string was specified")}V3(this,GU,ez2({onEvent:t4(this,YK1),onRetry:t4(this,_K1)})),V3(this,Jd,this.CONNECTING),V3(this,zu,3000),V3(this,Ko,(G=d==null?void 0:d.fetch)!=null?G:globalThis.fetch),V3(this,Jo,(Z=d==null?void 0:d.withCredentials)!=null?Z:!1),FX(this,RW,AK1).call(this)}get readyState(){return t4(this,Jd)}get url(){return t4(this,wK).href}get withCredentials(){return t4(this,Jo)}get onerror(){return t4(this,WU)}set onerror(I){V3(this,WU,I)}get onmessage(){return t4(this,ZU)}set onmessage(I){V3(this,ZU,I)}get onopen(){return t4(this,Ku)}set onopen(I){V3(this,Ku,I)}addEventListener(I,d,G){let Z=d;super.addEventListener(I,Z,G)}removeEventListener(I,d,G){let Z=d;super.removeEventListener(I,Z,G)}close(){t4(this,CU)&&clearTimeout(t4(this,CU)),t4(this,Jd)!==this.CLOSED&&(t4(this,KH)&&t4(this,KH).abort(),V3(this,Jd,this.CLOSED),V3(this,KH,void 0))}}Jd=new WeakMap,wK=new WeakMap,dU=new WeakMap,Jo=new WeakMap,Ko=new WeakMap,zu=new WeakMap,CU=new WeakMap,Qu=new WeakMap,KH=new WeakMap,GU=new WeakMap,WU=new WeakMap,ZU=new WeakMap,Ku=new WeakMap,RW=new WeakSet,AK1=function(){V3(this,Jd,this.CONNECTING),V3(this,KH,new AbortController),t4(this,Ko)(t4(this,wK),FX(this,RW,tz2).call(this)).then(t4(this,VK1)).catch(t4(this,XK1))},VK1=new WeakMap,XK1=new WeakMap,tz2=function(){var I;let d={mode:"cors",redirect:"follow",headers:{Accept:"text/event-stream",...t4(this,Qu)?{"Last-Event-ID":t4(this,Qu)}:void 0},cache:"no-store",signal:(I=t4(this,KH))==null?void 0:I.signal};return"window"in globalThis&&(d.credentials=this.withCredentials?"include":"same-origin"),d},YK1=new WeakMap,_K1=new WeakMap,Nu=function(I,d){var G;t4(this,Jd)!==this.CLOSED&&V3(this,Jd,this.CLOSED);let Z=new BK1("error");Z.code=d,Z.message=I,(G=t4(this,WU))==null||G.call(this,Z),this.dispatchEvent(Z)},DK1=function(){var I;if(t4(this,Jd)===this.CLOSED)return;V3(this,Jd,this.CONNECTING);let d=new BK1("error");(I=t4(this,WU))==null||I.call(this,d),this.dispatchEvent(d),V3(this,CU,setTimeout(t4(this,HK1),t4(this,zu)))},HK1=new WeakMap,wU.CONNECTING=0,wU.OPEN=1,wU.CLOSED=2;function Nw9(){let I="document"in globalThis?globalThis.document:void 0;return I&&typeof I=="object"&&"baseURI"in I&&typeof I.baseURI=="string"?I.baseURI:void 0}class dQ2 extends Error{constructor(I,d,G){super(`SSE error: ${d}`);this.code=I,this.event=G}}class gK1{constructor(I,d){this._url=I,this._eventSourceInit=d===null||d===void 0?void 0:d.eventSourceInit,this._requestInit=d===null||d===void 0?void 0:d.requestInit}start(){if(this._eventSource)throw new Error("SSEClientTransport already started! If using Client class, note that connect() calls start() automatically.");return new Promise((I,d)=>{this._eventSource=new wU(this._url.href,this._eventSourceInit),this._abortController=new AbortController,this._eventSource.onerror=(G)=>{var Z;let C=new dQ2(G.code,G.message,G);d(C),(Z=this.onerror)===null||Z===void 0||Z.call(this,C)},this._eventSource.onopen=()=>{},this._eventSource.addEventListener("endpoint",(G)=>{var Z;let C=G;try{if(this._endpoint=new URL(C.data,this._url),this._endpoint.origin!==this._url.origin)throw new Error(`Endpoint origin does not match connection origin: ${this._endpoint.origin}`)}catch(W){d(W),(Z=this.onerror)===null||Z===void 0||Z.call(this,W),this.close();return}I()}),this._eventSource.onmessage=(G)=>{var Z,C;let W=G,w;try{w=Wo.parse(JSON.parse(W.data))}catch(B){(Z=this.onerror)===null||Z===void 0||Z.call(this,B);return}(C=this.onmessage)===null||C===void 0||C.call(this,w)}})}async close(){var I,d,G;(I=this._abortController)===null||I===void 0||I.abort(),(d=this._eventSource)===null||d===void 0||d.close(),(G=this.onclose)===null||G===void 0||G.call(this)}async send(I){var d,G,Z;if(!this._endpoint)throw new Error("Not connected");try{let C=new Headers((d=this._requestInit)===null||d===void 0?void 0:d.headers);C.set("content-type","application/json");let W={...this._requestInit,method:"POST",headers:C,body:JSON.stringify(I),signal:(G=this._abortController)===null||G===void 0?void 0:G.signal},w=await fetch(this._endpoint,W);if(!w.ok){let B=await w.text().catch(()=>null);throw new Error(`Error POSTing to endpoint (HTTP ${w.status}): ${B}`)}}catch(C){throw(Z=this.onerror)===null||Z===void 0||Z.call(this,C),C}}}var i9=J1(u1(),1);var GQ2="",ZQ2="";var zw9=s.object({}).passthrough(),CQ2={async isEnabled(){return!0},isReadOnly(){return!1},name:"mcp",async description(){return ZQ2},async prompt(){return GQ2},inputSchema:zw9,async*call(){yield{type:"result",data:"",resultForAssistant:""}},needsPermissions(){return!0},renderToolUseMessage(I){return Object.entries(I).map(([d,G])=>`${d}: ${JSON.stringify(G)}`).join(", ")},userFacingName:()=>"mcp",renderToolUseRejectedMessage(){return i9.createElement(A3,null)},renderToolResultMessage(I,{verbose:d}){if(Array.isArray(I))return i9.createElement(p,{flexDirection:"column"},I.map((Z,C)=>{if(Z.type==="image")return i9.createElement(p,{key:C,justifyContent:"space-between",overflowX:"hidden",width:"100%"},i9.createElement(p,{flexDirection:"row"},i9.createElement(u,null,"  ⎿  "),i9.createElement(u,null,"[Image]")));let W=Z.text.split(`
`).length;return i9.createElement(pR,{key:C,content:Z.text,lines:W,verbose:d})}));if(!I)return i9.createElement(p,{justifyContent:"space-between",overflowX:"hidden",width:"100%"},i9.createElement(p,{flexDirection:"row"},i9.createElement(u,null,"  ⎿  "),i9.createElement(u,{color:r1().secondaryText},"(No content)")));let G=I.split(`
`).length;return i9.createElement(pR,{content:I,lines:G,verbose:d})},renderResultForAssistant(I){return I}};function VQ2(I){let d={};if(I)for(let G of I){let[Z,...C]=G.split("=");if(!Z||C.length===0)throw new Error(`Invalid environment variable format: ${G}, environment variables should be added as: -e KEY1=value1 -e KEY2=value2`);d[Z]=C.join("=")}return d}var Qw9=["project","global"];function JK1(I){if(!I)return"project";let d=Qw9;if(!d.includes(I))throw new Error(`Invalid scope: ${I}. Must be one of: ${d.join(", ")}`);return I}function XQ2(I,d,G="project"){if(G==="mcprc"){let Z=AQ2(R0(),".mcprc"),C={};if(WQ2(Z))try{let W=wQ2(Z,"utf-8"),w=tG(W);if(w&&typeof w==="object")C=w}catch{}C[I]=d;try{BQ2(Z,JSON.stringify(C,null,2),"utf-8")}catch(W){throw new Error(`Failed to write to .mcprc: ${W}`)}}else if(G==="global"){let Z=q2();if(!Z.mcpServers)Z.mcpServers={};Z.mcpServers[I]=d,p4(Z)}else{let Z=I5();if(!Z.mcpServers)Z.mcpServers={};Z.mcpServers[I]=d,o9(Z)}}function YQ2(I,d="project"){if(d==="mcprc"){let G=AQ2(R0(),".mcprc");if(!WQ2(G))throw new Error("No .mcprc file found in this directory");try{let Z=wQ2(G,"utf-8"),C=tG(Z);if(!C||typeof C!=="object"||!C[I])throw new Error(`No MCP server found with name: ${I} in .mcprc`);delete C[I],BQ2(G,JSON.stringify(C,null,2),"utf-8")}catch(Z){if(Z instanceof Error)throw Z;throw new Error(`Failed to remove from .mcprc: ${Z}`)}}else if(d==="global"){let G=q2();if(!G.mcpServers?.[I])throw new Error(`No global MCP server found with name: ${I}`);delete G.mcpServers[I],p4(G)}else{let G=I5();if(!G.mcpServers?.[I])throw new Error(`No local MCP server found with name: ${I}`);delete G.mcpServers[I],o9(G)}}function _Q2(){let I=q2(),d=OE(),G=I5();return{...I.mcpServers??{},...d??{},...G.mcpServers??{}}}function DQ2(I){let d=I5(),G=OE(),Z=q2();if(d.mcpServers?.[I])return{...d.mcpServers[I],scope:"project"};if(G?.[I])return{...G[I],scope:"mcprc"};if(Z.mcpServers?.[I])return{...Z.mcpServers[I],scope:"global"};return}async function fw9(I,d){let G=d.type==="sse"?new gK1(new URL(d.url)):new CK1({command:d.command,args:d.args,env:{...process.env,...d.env},stderr:"pipe"}),Z=new ZK1({name:"claude",version:"0.1.0"},{capabilities:{}}),C=5000,W=Z.connect(G),w=new Promise((B,A)=>{let V=setTimeout(()=>{A(new Error(`Connection to MCP server "${I}" timed out after 5000ms`))},5000);W.then(()=>clearTimeout(V),()=>clearTimeout(V))});if(await Promise.race([W,w]),d.type==="stdio")G.stderr?.on("data",(B)=>{let A=B.toString().trim();if(A)wz(I,`Server stderr: ${A}`)});return Z}function HQ2(I){let d=I5();if(d.approvedMcprcServers?.includes(I))return"approved";if(d.rejectedMcprcServers?.includes(I))return"rejected";return"pending"}var KK1=a2(async()=>{if(process.env.CI)return[];let I=q2().mcpServers??{},d=OE(),G=I5().mcpServers??{},Z=r01(d,(W,w)=>HQ2(w)==="approved"),C={...I,...Z,...G};return await Promise.all(Object.entries(C).map(async([W,w])=>{try{let B=await fw9(W,w);return I0("tengu_mcp_server_connection_succeeded",{}),{name:W,client:B,type:"connected"}}catch(B){return I0("tengu_mcp_server_connection_failed",{}),wz(W,`Connection failed: ${B instanceof Error?B.message:String(B)}`),{name:W,type:"failed"}}}))});async function FQ2(I,d,G){let Z=await KK1();return(await Promise.allSettled(Z.map(async(W)=>{if(W.type==="failed")return null;try{if(!(await W.client.getServerCapabilities())?.[G])return null;return{client:W,result:await W.client.request(I,d)}}catch(w){if(W.type==="connected")wz(W.name,`Failed to request '${I.method}': ${w instanceof Error?w.message:String(w)}`);return null}}))).filter((W)=>W.status==="fulfilled").map((W)=>W.value).filter((W)=>W!==null)}var gQ2=a2(async()=>{return(await FQ2({method:"tools/list"},Hu,"tools")).flatMap(({client:d,result:{tools:G}})=>G.map((Z)=>({...CQ2,name:"mcp__"+d.name+"__"+Z.name,async description(){return Z.description??""},async prompt(){return Z.description??""},inputJSONSchema:Z.inputSchema,async*call(C){let W=await qw9({client:d,tool:Z.name,args:C});yield{type:"result",data:W,resultForAssistant:W}},userFacingName(){return`${d.name}:${Z.name} (MCP)`}})))});async function qw9({client:{client:I,name:d},tool:G,args:Z}){let C=await I.callTool({name:G,arguments:Z},IU);if("isError"in C&&C.isError){let W=`Error calling tool ${G}: ${C.error}`;throw wz(d,W),Error(W)}if("toolResult"in C)return String(C.toolResult);if("content"in C&&Array.isArray(C.content))return C.content.map((W)=>{if(W.type==="image")return{type:"image",source:{type:"base64",data:String(W.data),media_type:W.mimeType}};return W});throw Error(`Unexpected response format from tool ${G}`)}var JQ2=a2(async()=>{return(await FQ2({method:"prompts/list"},Du,"prompts")).flatMap(({client:d,result:G})=>G.prompts?.map((Z)=>{let C=Object.values(Z.arguments??{}).map((W)=>W.name);return{type:"prompt",name:"mcp__"+d.name+"__"+Z.name,description:Z.description??"",isEnabled:!0,isHidden:!1,progressMessage:"running",userFacingName(){return`${d.name}:${Z.name} (MCP)`},argNames:C,async getPromptForCommand(W){let w=W.split(" ");return await Rw9({name:Z.name,client:d},s01(C,w))}}}))});async function Rw9({name:I,client:d},G){try{return(await d.client.getPrompt({name:I,arguments:G})).messages.map((C)=>({role:C.role,content:[C.content.type==="text"?{type:"text",text:C.content.text}:{type:"image",source:{data:String(C.content.data),media_type:C.content.mimeType,type:"base64"}}]}))}catch(Z){throw wz(d.name,`Error running command '${I}': ${Z instanceof Error?Z.message:String(Z)}`),Z}}var Uw9=a2(()=>[wN2,BN2,VN2,XN2,Uz2,Ez2,Mz2,jz2,kz2,xz2,IN2,ts,NQ,...as()?[hz2,bz2()]:[],...[]]),KQ2=a2(async()=>{return[...await JQ2(),...Uw9()].filter((I)=>I.isEnabled)});function NQ2(I,d){return d.some((G)=>G.userFacingName()===I||G.aliases?.includes(I))}function No(I,d){let G=d.find((Z)=>Z.userFacingName()===I||Z.aliases?.includes(I));if(!G)throw ReferenceError(`Command ${I} not found. Available commands: ${d.map((Z)=>{let C=Z.userFacingName();return Z.aliases?`${C} (aliases: ${Z.aliases.join(", ")})`:C}).join(", ")}`);return G}import{resolve as vw9}from"path";var BK=J1(u1(),1);var gX=J1(u1(),1);function zo({param:{text:I},addMargin:d}){let G=XG(I,"bash-input");if(!G)return null;return gX.createElement(p,{flexDirection:"column",marginTop:d?1:0,width:"100%"},gX.createElement(p,null,gX.createElement(u,{color:r1().bashBorder},"!"),gX.createElement(u,{color:r1().secondaryText}," ",G)))}var KW="[Request interrupted by user]",_X="[Request interrupted by user for tool use]",BU="The user doesn't want to take this action right now. STOP what you are doing and wait for the user to tell you how to proceed.",fu="The user doesn't want to proceed with this tool use. The tool use was rejected (eg. if it was a file edit, the new_string was NOT written to the file). STOP what you are doing and wait for the user to tell you how to proceed.",Xu="No response requested.",aC2=new Set([KW,_X,BU,fu,Xu]);function zQ2(I,d){return{type:"assistant",costUSD:0,durationMs:0,uuid:AK(),message:{id:AK(),model:"<synthetic>",role:"assistant",stop_reason:"stop_sequence",stop_sequence:"",type:"message",usage:{input_tokens:0,output_tokens:0,cache_creation_input_tokens:0,cache_read_input_tokens:0},content:I},...d}}function q8(I){return zQ2([{type:"text",text:I===""?FH:I,citations:[]}])}function nR(I){return zQ2([{type:"text",text:I===""?FH:I,citations:[]}],{isApiErrorMessage:!0})}function p9(I,d){return{type:"user",message:{role:"user",content:I},uuid:AK(),toolUseResult:d}}function QQ2(I,d,G,Z,C){return{type:"progress",content:G,normalizedMessages:Z,siblingToolUseIDs:d,tools:C,toolUseID:I,uuid:AK()}}function fQ2(I){return{type:"tool_result",content:BU,is_error:!0,tool_use_id:I}}async function Qo(I,d,G,Z,C){if(d==="bash"){I0("tengu_input_bash",{});let W=p9(`<bash-input>${I}</bash-input>`);if(I.startsWith("cd ")){let w=R0(),B=vw9(w,I.slice(3));try{return await Uw(B),[W,q8(`<bash-stdout>Changed directory to ${c0.bold(`${B}/`)}</bash-stdout>`)]}catch(A){return X0(A),[W,q8(`<bash-stderr>cwd error: ${A instanceof Error?A.message:String(A)}</bash-stderr>`)]}}G({jsx:BK.createElement(p,{flexDirection:"column",marginTop:1},BK.createElement(zo,{addMargin:!1,param:{text:`<bash-input>${I}</bash-input>`,type:"text"}}),BK.createElement(ns,null)),shouldHidePromptInput:!1});try{let w=await G5.validateInput({command:I});if(!w.result)return[W,q8(w.message)];let{data:B}=await gH(G5.call({command:I},Z));return[W,q8(`<bash-stdout>${B.stdout}</bash-stdout><bash-stderr>${B.stderr}</bash-stderr>`)]}catch(w){return[W,q8(`<bash-stderr>Command failed: ${w instanceof Error?w.message:String(w)}</bash-stderr>`)]}finally{G(null)}}if(I.startsWith("/")){let W=I.slice(1).split(" "),w=W[0];if(W.length>1&&W[1]==="(MCP)")w=w+" (MCP)";if(!w)return I0("tengu_input_slash_missing",{input:I}),[q8("Commands are in the form `/command [args]`")];if(!NQ2(w,Z.options.commands))return I0("tengu_input_prompt",{}),[p9(I)];let B=I.slice(w.length+2),A=await Ew9(w,B,G,Z);if(A.length===0)return I0("tengu_input_command",{input:I}),[];if(A.length===2&&A[0].type==="user"&&A[1].type==="assistant"&&typeof A[1].message.content==="string"&&A[1].message.content.startsWith("Unknown command:"))return I0("tengu_input_slash_invalid",{input:I}),A;if(A.length===2)return I0("tengu_input_command",{input:I}),A;return I0("tengu_input_command",{input:I}),A}if(I0("tengu_input_prompt",{}),C)return[p9([{type:"image",source:{type:"base64",media_type:"image/png",data:C}},{type:"text",text:I}])];return[p9(I)]}async function Ew9(I,d,G,Z){try{let C=No(I,Z.options.commands);switch(C.type){case"local-jsx":return new Promise((W)=>{C.call((w)=>{G(null),W([p9(`<command-name>${C.userFacingName()}</command-name>
          <command-message>${C.userFacingName()}</command-message>
          <command-args>${d}</command-args>`),w?q8(w):q8(Xu)])},Z).then((w)=>{G({jsx:w,shouldHidePromptInput:!0})})});case"local":{let W=p9(`<command-name>${C.userFacingName()}</command-name>
        <command-message>${C.userFacingName()}</command-message>
        <command-args>${d}</command-args>`);try{let w=await C.call(d,Z);return[W,q8(`<local-command-stdout>${w}</local-command-stdout>`)]}catch(w){return X0(w),[W,q8(`<local-command-stderr>${String(w)}</local-command-stderr>`)]}}case"prompt":return(await C.getPromptForCommand(d)).map((w)=>{if(typeof w.content==="string")return{message:{role:w.role,content:`<command-message>${C.userFacingName()} is ${C.progressMessage}…</command-message>
                    <command-name>${C.userFacingName()}</command-name>
                    <command-args>${d}</command-args>
                    <command-contents>${JSON.stringify(w.content,null,2)}</command-contents>`},type:"user",uuid:AK()};return{message:{role:w.role,content:w.content.map((B)=>{switch(B.type){case"text":return{...B,text:`
                        <command-message>${C.userFacingName()} is ${C.progressMessage}…</command-message>
                        <command-name>${C.userFacingName()}</command-name>
                        <command-args>${d}</command-args>
                        <command-contents>${JSON.stringify(B,null,2)}</command-contents>
                      `};default:return B}})},type:"user",uuid:AK()}})}}catch(C){if(C instanceof I41)return[q8(C.message)];throw C}}function XG(I,d){if(!I.trim()||!d.trim())return null;let G=d.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Z=new RegExp(`<${G}(?:\\s+[^>]*)?>([\\s\\S]*?)<\\/${G}>`,"gi"),C,W=0,w=0,B=new RegExp(`<${G}(?:\\s+[^>]*?)?>`,"gi"),A=new RegExp(`<\\/${G}>`,"gi");while((C=Z.exec(I))!==null){let V=C[1],X=I.slice(w,C.index);W=0,B.lastIndex=0;while(B.exec(X)!==null)W++;A.lastIndex=0;while(A.exec(X)!==null)W--;if(W===0&&V)return V;w=C.index+C[0].length}return null}function fo(I){if(I.type==="progress")return!0;if(typeof I.message.content==="string")return I.message.content.trim().length>0;if(I.message.content.length===0)return!1;if(I.message.content.length>1)return!0;if(I.message.content[0].type!=="text")return!0;return I.message.content[0].text.trim().length>0&&I.message.content[0].text!==FH&&I.message.content[0].text!==_X}function QW(I){return I.flatMap((d)=>{if(d.type==="progress")return[d];if(typeof d.message.content==="string")return[d];return d.message.content.map((G)=>{switch(d.type){case"assistant":return{type:"assistant",uuid:AK(),message:{...d.message,content:[G]},costUSD:d.costUSD/d.message.content.length,durationMs:d.durationMs};case"user":return d}})})}function Mw9(I){return I.type==="assistant"&&"costUSD"in I&&I.message.content.some((d)=>d.type==="tool_use")}function qQ2(I){let d=[],G=[];for(let Z of I){if(Mw9(Z))G.push(Z);if(Z.type==="progress"){let C=d.find((w)=>w.type==="progress"&&w.toolUseID===Z.toolUseID);if(C){d[d.indexOf(C)]=Z;continue}let W=G.find((w)=>w.message.content[0]?.id===Z.toolUseID);if(W){d.splice(d.indexOf(W)+1,0,Z);continue}}if(Z.type==="user"&&Array.isArray(Z.message.content)&&Z.message.content[0]?.type==="tool_result"){let C=Z.message.content[0]?.tool_use_id,W=d.find((B)=>B.type==="progress"&&B.toolUseID===C);if(W){d.splice(d.indexOf(W)+1,0,Z);continue}let w=G.find((B)=>B.message.content[0]?.id===C);if(w){d.splice(d.indexOf(w)+1,0,Z);continue}}else d.push(Z)}return d}var RQ2=a2((I)=>Object.fromEntries(I.flatMap((d)=>d.type==="user"&&d.message.content[0]?.type==="tool_result"?[[d.message.content[0].tool_use_id,d.message.content[0].is_error??!1]]:[])));function Io(I){let d=RQ2(I);return new Set(I.filter((G)=>G.type==="assistant"&&Array.isArray(G.message.content)&&G.message.content[0]?.type==="tool_use"&&!(G.message.content[0]?.id in d)).map((G)=>G.message.content[0].id))}function UQ2(I){let d=Io(I),G=new Set(I.filter((Z)=>Z.type==="progress").map((Z)=>Z.toolUseID));return new Set(I.filter((Z)=>{if(Z.type!=="assistant")return!1;if(Z.message.content[0]?.type!=="tool_use")return!1;let C=Z.message.content[0].id;if(C===d.values().next().value)return!0;if(G.has(C)&&d.has(C))return!0;return!1}).map((Z)=>Z.message.content[0].id))}function vQ2(I){let d=RQ2(I);return I.filter((G)=>G.type==="assistant"&&Array.isArray(G.message.content)&&G.message.content[0]?.type==="tool_use"&&(G.message.content[0]?.id in d)&&d[G.message.content[0]?.id])}function sR(I){let d=[];return I.filter((G)=>G.type!=="progress").forEach((G)=>{switch(G.type){case"user":{if(!Array.isArray(G.message.content)||G.message.content[0]?.type!=="tool_result"){d.push(G);return}let Z=lA(d);if(!Z||Z?.type==="assistant"||!Array.isArray(Z.message.content)||Z.message.content[0]?.type!=="tool_result"){d.push(G);return}d[d.indexOf(Z)]={...Z,message:{...Z.message,content:[...Z.message.content,...G.message.content]}};return}case"assistant":d.push(G);return}}),d}function hs(I){let d=I.filter((G)=>G.type!=="text"||G.text.trim().length>0);if(d.length===0)return[{type:"text",text:FH,citations:[]}];return d}function qo(I){return NK1(I).trim()===""||I.trim()===FH}var Sw9=["commit_analysis","context","function_analysis","pr_analysis"];function NK1(I){let d=new RegExp(`<(${Sw9.join("|")})>.*?</\\1>
?`,"gs");return I.replace(d,"").trim()}function zK1(I){switch(I.type){case"assistant":if(I.message.content[0]?.type!=="tool_use")return null;return I.message.content[0].id;case"user":if(I.message.content[0]?.type!=="tool_result")return null;return I.message.content[0].tool_use_id;case"progress":return I.toolUseID}}function FG(I){for(let d=I.length-1;d>=0;d--){let G=I[d];if(G&&G.type==="assistant")return G.message.id}return}var qu=J1(u1(),1);function EQ2(){return qu.createElement(u,null,"  ⎿  ",qu.createElement(u,{color:r1().error},"Interrupted by user"))}var UW=J1(u1(),1);var QK1=10;function MQ2({param:I,verbose:d}){let G=typeof I.content==="string"?I.content.trim():"Error";return UW.createElement(p,{flexDirection:"row",width:"100%"},UW.createElement(u,null,"  ⎿  "),UW.createElement(p,{flexDirection:"column"},UW.createElement(u,{color:r1().error},d?G:G.split(`
`).slice(0,QK1).join(`
`)||""),!d&&G.split(`
`).length>QK1&&UW.createElement(u,{color:r1().secondaryText},"... (+",G.split(`
`).length-QK1," lines)")))}var fK1=J1(u1(),1);var LQ2=J1(u1(),1);var zH=J1(u1(),1);var Ru=J1(u1(),1);function NH({costUSD:I,durationMs:d,debug:G}){if(!G)return null;let Z=(d/1000).toFixed(1);return Ru.createElement(p,{flexDirection:"column",minWidth:23,width:23},Ru.createElement(u,{dimColor:!0},"Cost: $",I.toFixed(4)," (",Z,"s)"))}import{isAbsolute as Lw9,relative as yw9,resolve as Pw9}from"path";var $w9=s.strictObject({pattern:s.string().describe("The glob pattern to match files against"),path:s.string().optional().describe("The directory to search in. Defaults to the current working directory.")}),A7={name:ys,async description(){return VJ1},userFacingName(){return"Search"},inputSchema:$w9,async isEnabled(){return!0},isReadOnly(){return!0},needsPermissions({path:I}){return!PB(I||R0())},async prompt(){return VJ1},renderToolUseMessage({pattern:I,path:d},{verbose:G}){let Z=d?Lw9(d)?d:Pw9(R0(),d):void 0,C=Z?yw9(R0(),Z):void 0;return`pattern: "${I}"${C||G?`, path: "${G?Z:C}"`:""}`},renderToolUseRejectedMessage(){return zH.default.createElement(A3,null)},renderToolResultMessage(I){if(typeof I==="string")I=JSON.parse(I);return zH.default.createElement(p,{justifyContent:"space-between",width:"100%"},zH.default.createElement(p,{flexDirection:"row"},zH.default.createElement(u,null,"  ⎿  Found "),zH.default.createElement(u,{bold:!0},I.numFiles," "),zH.default.createElement(u,null,I.numFiles===0||I.numFiles>1?"files":"file")),zH.default.createElement(NH,{costUSD:0,durationMs:I.durationMs,debug:!1}))},async*call({pattern:I,path:d},{abortController:G}){let Z=Date.now(),{files:C,truncated:W}=await M40(I,d??R0(),{limit:100,offset:0},G.signal),w={filenames:C,durationMs:Date.now()-Z,numFiles:C.length,truncated:W};yield{type:"result",resultForAssistant:this.renderResultForAssistant(w),data:w}},renderResultForAssistant(I){let d=I.filenames.join(`
`);if(I.filenames.length===0)d="No files found";else if(I.truncated)d+=`
(Results are truncated. Consider using a more specific path or pattern.)`;return d}};import{stat as uw9}from"fs/promises";var QH=J1(u1(),1);var Tw9=s.strictObject({pattern:s.string().describe("The regular expression pattern to search for in file contents"),path:s.string().optional().describe("The directory to search in. Defaults to the current working directory."),include:s.string().optional().describe('File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")')}),SQ2=100,Kd={name:Ps,async description(){return XJ1},userFacingName(){return"Search"},inputSchema:Tw9,isReadOnly(){return!0},async isEnabled(){return!0},needsPermissions({path:I}){return!PB(I||R0())},async prompt(){return XJ1},renderToolUseMessage({pattern:I,path:d,include:G},{verbose:Z}){let{absolutePath:C,relativePath:W}=u40(d);return`pattern: "${I}"${W||Z?`, path: "${Z?C:W}"`:""}${G?`, include: "${G}"`:""}`},renderToolUseRejectedMessage(){return QH.default.createElement(A3,null)},renderToolResultMessage(I){if(typeof I==="string")I=I;return QH.default.createElement(p,{justifyContent:"space-between",width:"100%"},QH.default.createElement(p,{flexDirection:"row"},QH.default.createElement(u,null,"  ⎿  Found "),QH.default.createElement(u,{bold:!0},I.numFiles," "),QH.default.createElement(u,null,I.numFiles===0||I.numFiles>1?"files":"file")),QH.default.createElement(NH,{costUSD:0,durationMs:I.durationMs,debug:!1}))},renderResultForAssistant({numFiles:I,filenames:d}){if(I===0)return"No files found";let G=`Found ${I} file${I===1?"":"s"}
${d.slice(0,SQ2).join(`
`)}`;if(I>SQ2)G+=`
(Results are truncated. Consider using a more specific path or pattern.)`;return G},async*call({pattern:I,path:d,include:G},{abortController:Z}){let C=Date.now(),W=p81(d)||R0(),w=["-li",I];if(G)w.push("--glob",G);let B=await MS(w,W,Z.signal),A=await Promise.all(B.map((_)=>uw9(_))),V=B.map((_,F)=>[_,A[F]]).sort((_,F)=>{let g=(F[1].mtimeMs??0)-(_[1].mtimeMs??0);if(g===0)return _[0].localeCompare(F[0]);return g}).map((_)=>_[0]),X={filenames:V,durationMs:Date.now()-C,numFiles:V.length};yield{type:"result",resultForAssistant:this.renderResultForAssistant(X),data:X}}};function Ow9(I,d){let G=null;for(let Z of d){if(Z.type!=="assistant"||!Array.isArray(Z.message.content))continue;for(let C of Z.message.content)if(C.type==="tool_use"&&C.id===I)G=C}return G}function Ro(I,d,G){return LQ2.useMemo(()=>{let Z=Ow9(I,G);if(!Z)throw new ReferenceError(`Tool use not found for tool_use_id ${I}`);let C=[...d,A7,Kd].find((W)=>W.name===Z.name);if(C===A7||C===Kd)I0("tengu_legacy_tool_lookup",{});if(!C)throw new ReferenceError(`Tool not found for ${Z.name}`);return{tool:C,toolUse:Z}},[I,G,d])}function yQ2({toolUseID:I,tools:d,messages:G,verbose:Z}){let{columns:C}=G9(),{tool:W,toolUse:w}=Ro(I,d,G),B=W.inputSchema.safeParse(w.input);if(B.success)return W.renderToolUseRejectedMessage(B.data,{columns:C,verbose:Z});return fK1.createElement(A3,null)}var qK1=J1(u1(),1);function PQ2({param:I,message:d,messages:G,tools:Z,verbose:C,width:W}){let{tool:w}=Ro(I.tool_use_id,Z,G);return qK1.createElement(p,{flexDirection:"column",width:W},w.renderToolResultMessage?.(d.toolUseResult.data,{verbose:C}))}function $Q2({param:I,message:d,messages:G,tools:Z,verbose:C,width:W}){if(I.content===BU)return JX.createElement(EQ2,null);if(I.content===fu)return JX.createElement(yQ2,{toolUseID:I.tool_use_id,tools:Z,messages:G,verbose:C});if(I.is_error)return JX.createElement(MQ2,{param:I,verbose:C});return JX.createElement(PQ2,{param:I,message:d,messages:G,tools:Z,verbose:C,width:W})}var gG=J1(u1(),1);var vo=J1(u1(),1);var Uu=J1(u1(),1);function Uo(I,d){let G=Uu.useRef(I);Uu.useEffect(()=>{G.current=I},[I]),Uu.useEffect(()=>{function Z(){G.current()}let C=setInterval(Z,d);return()=>clearInterval(C)},[d])}var AU=K2.platform==="macos"?"⏺":"●";function uQ2({isError:I,isUnresolved:d,shouldAnimate:G}){let[Z,C]=vo.default.useState(!0);Uo(()=>{if(!G)return;C((w)=>!w)},600);let W=d?r1().secondaryText:I?r1().error:r1().success;return vo.default.createElement(p,{minWidth:2},vo.default.createElement(u,{color:W},Z?AU:"  "))}var RK1=J1(u1(),1);var TQ2="This is a no-op tool that logs a thought. It is inspired by the tau-bench think tool.",OQ2=`Use the tool to think about something. It will not obtain new information or make any changes to the repository, but just log the thought. Use it when complex reasoning or brainstorming is needed. 

Common use cases:
1. When exploring a repository and discovering the source of a bug, call this tool to brainstorm several unique ways of fixing the bug, and assess which change(s) are likely to be simplest and most effective
2. After receiving test results, use this tool to brainstorm ways to fix failing tests
3. When planning a complex refactoring, use this tool to outline different approaches and their tradeoffs
4. When designing a new feature, use this tool to think through architecture decisions and implementation details
5. When debugging a complex issue, use this tool to organize your thoughts and hypotheses

The tool simply logs your thought process for better transparency and does not execute any code or make changes.`;var vu=J1(u1(),1);function Eo({children:I}){return vu.createElement(p,{flexDirection:"row",height:1,overflow:"hidden"},vu.createElement(u,null,"  ","⎿  "),I)}var mw9=s.object({thought:s.string().describe("Your thoughts.")}),VK={name:"Think",userFacingName:()=>"Think",description:async()=>TQ2,inputSchema:mw9,isEnabled:async()=>Boolean(process.env.THINK_TOOL)&&await NY("tengu_think_tool"),isReadOnly:()=>!0,needsPermissions:()=>!1,prompt:async()=>OQ2,async*call(I,{messageId:d}){I0("tengu_thinking",{messageId:d,thoughtLength:I.thought.length.toString(),method:"tool",provider:b9?"bedrock":h9?"vertex":"1p"}),yield{type:"result",resultForAssistant:"Your thought has been logged.",data:{thought:I.thought}}},renderToolUseMessage(I){return I.thought},renderToolUseRejectedMessage(){return RK1.default.createElement(Eo,null,RK1.default.createElement(u,{color:r1().error},"Thought cancelled"))},renderResultForAssistant:()=>"Your thought has been logged."};var Tu=J1(u1(),1);function vK1(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var YK=vK1();function kQ2(I){YK=I}var Su={exec:()=>null};function C9(I,d=""){let G=typeof I==="string"?I:I.source,Z={replace:(C,W)=>{let w=typeof W==="string"?W:W.source;return w=w.replace(fI.caret,"$1"),G=G.replace(C,w),Z},getRegex:()=>{return new RegExp(G,d)}};return Z}var fI={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:(I)=>new RegExp(`^( {0,3}${I})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:(I)=>new RegExp(`^ {0,${Math.min(3,I-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:(I)=>new RegExp(`^ {0,${Math.min(3,I-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:(I)=>new RegExp(`^ {0,${Math.min(3,I-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:(I)=>new RegExp(`^ {0,${Math.min(3,I-1)}}#`),htmlBeginRegex:(I)=>new RegExp(`^ {0,${Math.min(3,I-1)}}<(?:[a-z].*>|!--)`,"i")},lw9=/^(?:[ \t]*(?:\n|$))+/,bw9=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,hw9=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,$u=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,jw9=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xQ2=/(?:[*+-]|\d{1,9}[.)])/,cQ2=C9(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,xQ2).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),EK1=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,kw9=/^[^\n]+/,MK1=/(?!\s*\])(?:\\.|[^\[\]\\])+/,xw9=C9(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",MK1).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),cw9=C9(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xQ2).getRegex(),Lo="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",SK1=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,pw9=C9("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",SK1).replace("tag",Lo).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),pQ2=C9(EK1).replace("hr",$u).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Lo).getRegex(),iw9=C9(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",pQ2).getRegex(),LK1={blockquote:iw9,code:bw9,def:xw9,fences:hw9,heading:jw9,hr:$u,html:pw9,lheading:cQ2,list:cw9,newline:lw9,paragraph:pQ2,table:Su,text:kw9},mQ2=C9("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",$u).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Lo).getRegex(),nw9={...LK1,table:mQ2,paragraph:C9(EK1).replace("hr",$u).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",mQ2).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Lo).getRegex()},rw9={...LK1,html:C9(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",SK1).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Su,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:C9(EK1).replace("hr",$u).replace("heading",` *#{1,6} *[^
]`).replace("lheading",cQ2).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},aw9=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,sw9=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,iQ2=/^( {2,}|\\)\n(?!\s*$)/,ow9=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,yo=/[\p{P}\p{S}]/u,yK1=/[\s\p{P}\p{S}]/u,nQ2=/[^\s\p{P}\p{S}]/u,ew9=C9(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,yK1).getRegex(),rQ2=/(?!~)[\p{P}\p{S}]/u,tw9=/(?!~)[\s\p{P}\p{S}]/u,IB9=/(?:[^\s\p{P}\p{S}]|~)/u,dB9=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,aQ2=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,GB9=C9(aQ2,"u").replace(/punct/g,yo).getRegex(),ZB9=C9(aQ2,"u").replace(/punct/g,rQ2).getRegex(),sQ2="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",CB9=C9(sQ2,"gu").replace(/notPunctSpace/g,nQ2).replace(/punctSpace/g,yK1).replace(/punct/g,yo).getRegex(),WB9=C9(sQ2,"gu").replace(/notPunctSpace/g,IB9).replace(/punctSpace/g,tw9).replace(/punct/g,rQ2).getRegex(),wB9=C9("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,nQ2).replace(/punctSpace/g,yK1).replace(/punct/g,yo).getRegex(),BB9=C9(/\\(punct)/,"gu").replace(/punct/g,yo).getRegex(),AB9=C9(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),VB9=C9(SK1).replace("(?:-->|$)","-->").getRegex(),XB9=C9("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",VB9).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),So=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,YB9=C9(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",So).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),oQ2=C9(/^!?\[(label)\]\[(ref)\]/).replace("label",So).replace("ref",MK1).getRegex(),eQ2=C9(/^!?\[(ref)\](?:\[\])?/).replace("ref",MK1).getRegex(),_B9=C9("reflink|nolink(?!\\()","g").replace("reflink",oQ2).replace("nolink",eQ2).getRegex(),PK1={_backpedal:Su,anyPunctuation:BB9,autolink:AB9,blockSkip:dB9,br:iQ2,code:sw9,del:Su,emStrongLDelim:GB9,emStrongRDelimAst:CB9,emStrongRDelimUnd:wB9,escape:aw9,link:YB9,nolink:eQ2,punctuation:ew9,reflink:oQ2,reflinkSearch:_B9,tag:XB9,text:ow9,url:Su},DB9={...PK1,link:C9(/^!?\[(label)\]\((.*?)\)/).replace("label",So).getRegex(),reflink:C9(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",So).getRegex()},UK1={...PK1,emStrongRDelimAst:WB9,emStrongLDelim:ZB9,url:C9(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},HB9={...UK1,br:C9(iQ2).replace("{2,}","*").getRegex(),text:C9(UK1.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Mo={normal:LK1,gfm:nw9,pedantic:rw9},Eu={normal:PK1,gfm:UK1,breaks:HB9,pedantic:DB9},FB9={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},lQ2=(I)=>FB9[I];function bB(I,d){if(d){if(fI.escapeTest.test(I))return I.replace(fI.escapeReplace,lQ2)}else if(fI.escapeTestNoEncode.test(I))return I.replace(fI.escapeReplaceNoEncode,lQ2);return I}function bQ2(I){try{I=encodeURI(I).replace(fI.percentDecode,"%")}catch{return null}return I}function hQ2(I,d){let G=I.replace(fI.findPipe,(W,w,B)=>{let A=!1,V=w;while(--V>=0&&B[V]==="\\")A=!A;if(A)return"|";else return" |"}),Z=G.split(fI.splitPipe),C=0;if(!Z[0].trim())Z.shift();if(Z.length>0&&!Z.at(-1)?.trim())Z.pop();if(d)if(Z.length>d)Z.splice(d);else while(Z.length<d)Z.push("");for(;C<Z.length;C++)Z[C]=Z[C].trim().replace(fI.slashPipe,"|");return Z}function Mu(I,d,G){let Z=I.length;if(Z===0)return"";let C=0;while(C<Z)if(I.charAt(Z-C-1)===d)C++;else break;return I.slice(0,Z-C)}function gB9(I,d){if(I.indexOf(d[1])===-1)return-1;let G=0;for(let Z=0;Z<I.length;Z++)if(I[Z]==="\\")Z++;else if(I[Z]===d[0])G++;else if(I[Z]===d[1]){if(G--,G<0)return Z}return-1}function jQ2(I,d,G,Z,C){let W=d.href,w=d.title||null,B=I[1].replace(C.other.outputLinkReplace,"$1");if(I[0].charAt(0)!=="!"){Z.state.inLink=!0;let A={type:"link",raw:G,href:W,title:w,text:B,tokens:Z.inlineTokens(B)};return Z.state.inLink=!1,A}return{type:"image",raw:G,href:W,title:w,text:B}}function JB9(I,d,G){let Z=I.match(G.other.indentCodeCompensation);if(Z===null)return d;let C=Z[1];return d.split(`
`).map((W)=>{let w=W.match(G.other.beginningSpace);if(w===null)return W;let[B]=w;if(B.length>=C.length)return W.slice(C.length);return W}).join(`
`)}class yu{options;rules;lexer;constructor(I){this.options=I||YK}space(I){let d=this.rules.block.newline.exec(I);if(d&&d[0].length>0)return{type:"space",raw:d[0]}}code(I){let d=this.rules.block.code.exec(I);if(d){let G=d[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:d[0],codeBlockStyle:"indented",text:!this.options.pedantic?Mu(G,`
`):G}}}fences(I){let d=this.rules.block.fences.exec(I);if(d){let G=d[0],Z=JB9(G,d[3]||"",this.rules);return{type:"code",raw:G,lang:d[2]?d[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):d[2],text:Z}}}heading(I){let d=this.rules.block.heading.exec(I);if(d){let G=d[2].trim();if(this.rules.other.endingHash.test(G)){let Z=Mu(G,"#");if(this.options.pedantic)G=Z.trim();else if(!Z||this.rules.other.endingSpaceChar.test(Z))G=Z.trim()}return{type:"heading",raw:d[0],depth:d[1].length,text:G,tokens:this.lexer.inline(G)}}}hr(I){let d=this.rules.block.hr.exec(I);if(d)return{type:"hr",raw:Mu(d[0],`
`)}}blockquote(I){let d=this.rules.block.blockquote.exec(I);if(d){let G=Mu(d[0],`
`).split(`
`),Z="",C="",W=[];while(G.length>0){let w=!1,B=[],A;for(A=0;A<G.length;A++)if(this.rules.other.blockquoteStart.test(G[A]))B.push(G[A]),w=!0;else if(!w)B.push(G[A]);else break;G=G.slice(A);let V=B.join(`
`),X=V.replace(this.rules.other.blockquoteSetextReplace,`
    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");Z=Z?`${Z}
${V}`:V,C=C?`${C}
${X}`:X;let _=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(X,W,!0),this.lexer.state.top=_,G.length===0)break;let F=W.at(-1);if(F?.type==="code")break;else if(F?.type==="blockquote"){let g=F,J=g.raw+`
`+G.join(`
`),K=this.blockquote(J);W[W.length-1]=K,Z=Z.substring(0,Z.length-g.raw.length)+K.raw,C=C.substring(0,C.length-g.text.length)+K.text;break}else if(F?.type==="list"){let g=F,J=g.raw+`
`+G.join(`
`),K=this.list(J);W[W.length-1]=K,Z=Z.substring(0,Z.length-F.raw.length)+K.raw,C=C.substring(0,C.length-g.raw.length)+K.raw,G=J.substring(W.at(-1).raw.length).split(`
`);continue}}return{type:"blockquote",raw:Z,tokens:W,text:C}}}list(I){let d=this.rules.block.list.exec(I);if(d){let G=d[1].trim(),Z=G.length>1,C={type:"list",raw:"",ordered:Z,start:Z?+G.slice(0,-1):"",loose:!1,items:[]};if(G=Z?`\\d{1,9}\\${G.slice(-1)}`:`\\${G}`,this.options.pedantic)G=Z?G:"[*+-]";let W=this.rules.other.listItemRegex(G),w=!1;while(I){let A=!1,V="",X="";if(!(d=W.exec(I)))break;if(this.rules.block.hr.test(I))break;V=d[0],I=I.substring(V.length);let _=d[2].split(`
`,1)[0].replace(this.rules.other.listReplaceTabs,(E)=>" ".repeat(3*E.length)),F=I.split(`
`,1)[0],g=!_.trim(),J=0;if(this.options.pedantic)J=2,X=_.trimStart();else if(g)J=d[1].length+1;else J=d[2].search(this.rules.other.nonSpaceChar),J=J>4?1:J,X=_.slice(J),J+=d[1].length;if(g&&this.rules.other.blankLine.test(F))V+=F+`
`,I=I.substring(F.length+1),A=!0;if(!A){let E=this.rules.other.nextBulletRegex(J),S=this.rules.other.hrRegex(J),P=this.rules.other.fencesBeginRegex(J),$=this.rules.other.headingBeginRegex(J),h=this.rules.other.htmlBeginRegex(J);while(I){let O=I.split(`
`,1)[0],T;if(F=O,this.options.pedantic)F=F.replace(this.rules.other.listReplaceNesting,"  "),T=F;else T=F.replace(this.rules.other.tabCharGlobal,"    ");if(P.test(F))break;if($.test(F))break;if(h.test(F))break;if(E.test(F))break;if(S.test(F))break;if(T.search(this.rules.other.nonSpaceChar)>=J||!F.trim())X+=`
`+T.slice(J);else{if(g)break;if(_.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4)break;if(P.test(_))break;if($.test(_))break;if(S.test(_))break;X+=`
`+F}if(!g&&!F.trim())g=!0;V+=O+`
`,I=I.substring(O.length+1),_=T.slice(J)}}if(!C.loose){if(w)C.loose=!0;else if(this.rules.other.doubleBlankLine.test(V))w=!0}let K=null,Q;if(this.options.gfm){if(K=this.rules.other.listIsTask.exec(X),K)Q=K[0]!=="[ ] ",X=X.replace(this.rules.other.listReplaceTask,"")}C.items.push({type:"list_item",raw:V,task:!!K,checked:Q,loose:!1,text:X,tokens:[]}),C.raw+=V}let B=C.items.at(-1);if(B)B.raw=B.raw.trimEnd(),B.text=B.text.trimEnd();else return;C.raw=C.raw.trimEnd();for(let A=0;A<C.items.length;A++)if(this.lexer.state.top=!1,C.items[A].tokens=this.lexer.blockTokens(C.items[A].text,[]),!C.loose){let V=C.items[A].tokens.filter((_)=>_.type==="space"),X=V.length>0&&V.some((_)=>this.rules.other.anyLine.test(_.raw));C.loose=X}if(C.loose)for(let A=0;A<C.items.length;A++)C.items[A].loose=!0;return C}}html(I){let d=this.rules.block.html.exec(I);if(d)return{type:"html",block:!0,raw:d[0],pre:d[1]==="pre"||d[1]==="script"||d[1]==="style",text:d[0]}}def(I){let d=this.rules.block.def.exec(I);if(d){let G=d[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),Z=d[2]?d[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",C=d[3]?d[3].substring(1,d[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):d[3];return{type:"def",tag:G,raw:d[0],href:Z,title:C}}}table(I){let d=this.rules.block.table.exec(I);if(!d)return;if(!this.rules.other.tableDelimiter.test(d[2]))return;let G=hQ2(d[1]),Z=d[2].replace(this.rules.other.tableAlignChars,"").split("|"),C=d[3]?.trim()?d[3].replace(this.rules.other.tableRowBlankLine,"").split(`
`):[],W={type:"table",raw:d[0],header:[],align:[],rows:[]};if(G.length!==Z.length)return;for(let w of Z)if(this.rules.other.tableAlignRight.test(w))W.align.push("right");else if(this.rules.other.tableAlignCenter.test(w))W.align.push("center");else if(this.rules.other.tableAlignLeft.test(w))W.align.push("left");else W.align.push(null);for(let w=0;w<G.length;w++)W.header.push({text:G[w],tokens:this.lexer.inline(G[w]),header:!0,align:W.align[w]});for(let w of C)W.rows.push(hQ2(w,W.header.length).map((B,A)=>{return{text:B,tokens:this.lexer.inline(B),header:!1,align:W.align[A]}}));return W}lheading(I){let d=this.rules.block.lheading.exec(I);if(d)return{type:"heading",raw:d[0],depth:d[2].charAt(0)==="="?1:2,text:d[1],tokens:this.lexer.inline(d[1])}}paragraph(I){let d=this.rules.block.paragraph.exec(I);if(d){let G=d[1].charAt(d[1].length-1)===`
`?d[1].slice(0,-1):d[1];return{type:"paragraph",raw:d[0],text:G,tokens:this.lexer.inline(G)}}}text(I){let d=this.rules.block.text.exec(I);if(d)return{type:"text",raw:d[0],text:d[0],tokens:this.lexer.inline(d[0])}}escape(I){let d=this.rules.inline.escape.exec(I);if(d)return{type:"escape",raw:d[0],text:d[1]}}tag(I){let d=this.rules.inline.tag.exec(I);if(d){if(!this.lexer.state.inLink&&this.rules.other.startATag.test(d[0]))this.lexer.state.inLink=!0;else if(this.lexer.state.inLink&&this.rules.other.endATag.test(d[0]))this.lexer.state.inLink=!1;if(!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(d[0]))this.lexer.state.inRawBlock=!0;else if(this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(d[0]))this.lexer.state.inRawBlock=!1;return{type:"html",raw:d[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:d[0]}}}link(I){let d=this.rules.inline.link.exec(I);if(d){let G=d[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(G)){if(!this.rules.other.endAngleBracket.test(G))return;let W=Mu(G.slice(0,-1),"\\");if((G.length-W.length)%2===0)return}else{let W=gB9(d[2],"()");if(W>-1){let B=(d[0].indexOf("!")===0?5:4)+d[1].length+W;d[2]=d[2].substring(0,W),d[0]=d[0].substring(0,B).trim(),d[3]=""}}let Z=d[2],C="";if(this.options.pedantic){let W=this.rules.other.pedanticHrefTitle.exec(Z);if(W)Z=W[1],C=W[3]}else C=d[3]?d[3].slice(1,-1):"";if(Z=Z.trim(),this.rules.other.startAngleBracket.test(Z))if(this.options.pedantic&&!this.rules.other.endAngleBracket.test(G))Z=Z.slice(1);else Z=Z.slice(1,-1);return jQ2(d,{href:Z?Z.replace(this.rules.inline.anyPunctuation,"$1"):Z,title:C?C.replace(this.rules.inline.anyPunctuation,"$1"):C},d[0],this.lexer,this.rules)}}reflink(I,d){let G;if((G=this.rules.inline.reflink.exec(I))||(G=this.rules.inline.nolink.exec(I))){let Z=(G[2]||G[1]).replace(this.rules.other.multipleSpaceGlobal," "),C=d[Z.toLowerCase()];if(!C){let W=G[0].charAt(0);return{type:"text",raw:W,text:W}}return jQ2(G,C,G[0],this.lexer,this.rules)}}emStrong(I,d,G=""){let Z=this.rules.inline.emStrongLDelim.exec(I);if(!Z)return;if(Z[3]&&G.match(this.rules.other.unicodeAlphaNumeric))return;if(!(Z[1]||Z[2])||!G||this.rules.inline.punctuation.exec(G)){let W=[...Z[0]].length-1,w,B,A=W,V=0,X=Z[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;X.lastIndex=0,d=d.slice(-1*I.length+W);while((Z=X.exec(d))!=null){if(w=Z[1]||Z[2]||Z[3]||Z[4]||Z[5]||Z[6],!w)continue;if(B=[...w].length,Z[3]||Z[4]){A+=B;continue}else if(Z[5]||Z[6]){if(W%3&&!((W+B)%3)){V+=B;continue}}if(A-=B,A>0)continue;B=Math.min(B,B+A+V);let _=[...Z[0]][0].length,F=I.slice(0,W+Z.index+_+B);if(Math.min(W,B)%2){let J=F.slice(1,-1);return{type:"em",raw:F,text:J,tokens:this.lexer.inlineTokens(J)}}let g=F.slice(2,-2);return{type:"strong",raw:F,text:g,tokens:this.lexer.inlineTokens(g)}}}}codespan(I){let d=this.rules.inline.code.exec(I);if(d){let G=d[2].replace(this.rules.other.newLineCharGlobal," "),Z=this.rules.other.nonSpaceChar.test(G),C=this.rules.other.startingSpaceChar.test(G)&&this.rules.other.endingSpaceChar.test(G);if(Z&&C)G=G.substring(1,G.length-1);return{type:"codespan",raw:d[0],text:G}}}br(I){let d=this.rules.inline.br.exec(I);if(d)return{type:"br",raw:d[0]}}del(I){let d=this.rules.inline.del.exec(I);if(d)return{type:"del",raw:d[0],text:d[2],tokens:this.lexer.inlineTokens(d[2])}}autolink(I){let d=this.rules.inline.autolink.exec(I);if(d){let G,Z;if(d[2]==="@")G=d[1],Z="mailto:"+G;else G=d[1],Z=G;return{type:"link",raw:d[0],text:G,href:Z,tokens:[{type:"text",raw:G,text:G}]}}}url(I){let d;if(d=this.rules.inline.url.exec(I)){let G,Z;if(d[2]==="@")G=d[0],Z="mailto:"+G;else{let C;do C=d[0],d[0]=this.rules.inline._backpedal.exec(d[0])?.[0]??"";while(C!==d[0]);if(G=d[0],d[1]==="www.")Z="http://"+d[0];else Z=d[0]}return{type:"link",raw:d[0],text:G,href:Z,tokens:[{type:"text",raw:G,text:G}]}}}inlineText(I){let d=this.rules.inline.text.exec(I);if(d){let G=this.lexer.state.inRawBlock;return{type:"text",raw:d[0],text:d[0],escaped:G}}}}class rZ{tokens;options;state;tokenizer;inlineQueue;constructor(I){this.tokens=[],this.tokens.links=Object.create(null),this.options=I||YK,this.options.tokenizer=this.options.tokenizer||new yu,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let d={other:fI,block:Mo.normal,inline:Eu.normal};if(this.options.pedantic)d.block=Mo.pedantic,d.inline=Eu.pedantic;else if(this.options.gfm)if(d.block=Mo.gfm,this.options.breaks)d.inline=Eu.breaks;else d.inline=Eu.gfm;this.tokenizer.rules=d}static get rules(){return{block:Mo,inline:Eu}}static lex(I,d){return new rZ(d).lex(I)}static lexInline(I,d){return new rZ(d).inlineTokens(I)}lex(I){I=I.replace(fI.carriageReturn,`
`),this.blockTokens(I,this.tokens);for(let d=0;d<this.inlineQueue.length;d++){let G=this.inlineQueue[d];this.inlineTokens(G.src,G.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(I,d=[],G=!1){if(this.options.pedantic)I=I.replace(fI.tabCharGlobal,"    ").replace(fI.spaceLine,"");while(I){let Z;if(this.options.extensions?.block?.some((W)=>{if(Z=W.call({lexer:this},I,d))return I=I.substring(Z.raw.length),d.push(Z),!0;return!1}))continue;if(Z=this.tokenizer.space(I)){I=I.substring(Z.raw.length);let W=d.at(-1);if(Z.raw.length===1&&W!==void 0)W.raw+=`
`;else d.push(Z);continue}if(Z=this.tokenizer.code(I)){I=I.substring(Z.raw.length);let W=d.at(-1);if(W?.type==="paragraph"||W?.type==="text")W.raw+=`
`+Z.raw,W.text+=`
`+Z.text,this.inlineQueue.at(-1).src=W.text;else d.push(Z);continue}if(Z=this.tokenizer.fences(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.heading(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.hr(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.blockquote(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.list(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.html(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.def(I)){I=I.substring(Z.raw.length);let W=d.at(-1);if(W?.type==="paragraph"||W?.type==="text")W.raw+=`
`+Z.raw,W.text+=`
`+Z.raw,this.inlineQueue.at(-1).src=W.text;else if(!this.tokens.links[Z.tag])this.tokens.links[Z.tag]={href:Z.href,title:Z.title};continue}if(Z=this.tokenizer.table(I)){I=I.substring(Z.raw.length),d.push(Z);continue}if(Z=this.tokenizer.lheading(I)){I=I.substring(Z.raw.length),d.push(Z);continue}let C=I;if(this.options.extensions?.startBlock){let W=1/0,w=I.slice(1),B;if(this.options.extensions.startBlock.forEach((A)=>{if(B=A.call({lexer:this},w),typeof B==="number"&&B>=0)W=Math.min(W,B)}),W<1/0&&W>=0)C=I.substring(0,W+1)}if(this.state.top&&(Z=this.tokenizer.paragraph(C))){let W=d.at(-1);if(G&&W?.type==="paragraph")W.raw+=`
`+Z.raw,W.text+=`
`+Z.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=W.text;else d.push(Z);G=C.length!==I.length,I=I.substring(Z.raw.length);continue}if(Z=this.tokenizer.text(I)){I=I.substring(Z.raw.length);let W=d.at(-1);if(W?.type==="text")W.raw+=`
`+Z.raw,W.text+=`
`+Z.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=W.text;else d.push(Z);continue}if(I){let W="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(W);break}else throw new Error(W)}}return this.state.top=!0,d}inline(I,d=[]){return this.inlineQueue.push({src:I,tokens:d}),d}inlineTokens(I,d=[]){let G=I,Z=null;if(this.tokens.links){let w=Object.keys(this.tokens.links);if(w.length>0){while((Z=this.tokenizer.rules.inline.reflinkSearch.exec(G))!=null)if(w.includes(Z[0].slice(Z[0].lastIndexOf("[")+1,-1)))G=G.slice(0,Z.index)+"["+"a".repeat(Z[0].length-2)+"]"+G.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex)}}while((Z=this.tokenizer.rules.inline.blockSkip.exec(G))!=null)G=G.slice(0,Z.index)+"["+"a".repeat(Z[0].length-2)+"]"+G.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);while((Z=this.tokenizer.rules.inline.anyPunctuation.exec(G))!=null)G=G.slice(0,Z.index)+"++"+G.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let C=!1,W="";while(I){if(!C)W="";C=!1;let w;if(this.options.extensions?.inline?.some((A)=>{if(w=A.call({lexer:this},I,d))return I=I.substring(w.raw.length),d.push(w),!0;return!1}))continue;if(w=this.tokenizer.escape(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.tag(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.link(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.reflink(I,this.tokens.links)){I=I.substring(w.raw.length);let A=d.at(-1);if(w.type==="text"&&A?.type==="text")A.raw+=w.raw,A.text+=w.text;else d.push(w);continue}if(w=this.tokenizer.emStrong(I,G,W)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.codespan(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.br(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.del(I)){I=I.substring(w.raw.length),d.push(w);continue}if(w=this.tokenizer.autolink(I)){I=I.substring(w.raw.length),d.push(w);continue}if(!this.state.inLink&&(w=this.tokenizer.url(I))){I=I.substring(w.raw.length),d.push(w);continue}let B=I;if(this.options.extensions?.startInline){let A=1/0,V=I.slice(1),X;if(this.options.extensions.startInline.forEach((_)=>{if(X=_.call({lexer:this},V),typeof X==="number"&&X>=0)A=Math.min(A,X)}),A<1/0&&A>=0)B=I.substring(0,A+1)}if(w=this.tokenizer.inlineText(B)){if(I=I.substring(w.raw.length),w.raw.slice(-1)!=="_")W=w.raw.slice(-1);C=!0;let A=d.at(-1);if(A?.type==="text")A.raw+=w.raw,A.text+=w.text;else d.push(w);continue}if(I){let A="Infinite loop on byte: "+I.charCodeAt(0);if(this.options.silent){console.error(A);break}else throw new Error(A)}}return d}}class Pu{options;parser;constructor(I){this.options=I||YK}space(I){return""}code({text:I,lang:d,escaped:G}){let Z=(d||"").match(fI.notSpaceStart)?.[0],C=I.replace(fI.endingNewline,"")+`
`;if(!Z)return"<pre><code>"+(G?C:bB(C,!0))+`</code></pre>
`;return'<pre><code class="language-'+bB(Z)+'">'+(G?C:bB(C,!0))+`</code></pre>
`}blockquote({tokens:I}){return`<blockquote>
${this.parser.parse(I)}</blockquote>
`}html({text:I}){return I}heading({tokens:I,depth:d}){return`<h${d}>${this.parser.parseInline(I)}</h${d}>
`}hr(I){return`<hr>
`}list(I){let{ordered:d,start:G}=I,Z="";for(let w=0;w<I.items.length;w++){let B=I.items[w];Z+=this.listitem(B)}let C=d?"ol":"ul",W=d&&G!==1?' start="'+G+'"':"";return"<"+C+W+`>
`+Z+"</"+C+`>
`}listitem(I){let d="";if(I.task){let G=this.checkbox({checked:!!I.checked});if(I.loose)if(I.tokens[0]?.type==="paragraph"){if(I.tokens[0].text=G+" "+I.tokens[0].text,I.tokens[0].tokens&&I.tokens[0].tokens.length>0&&I.tokens[0].tokens[0].type==="text")I.tokens[0].tokens[0].text=G+" "+bB(I.tokens[0].tokens[0].text),I.tokens[0].tokens[0].escaped=!0}else I.tokens.unshift({type:"text",raw:G+" ",text:G+" ",escaped:!0});else d+=G+" "}return d+=this.parser.parse(I.tokens,!!I.loose),`<li>${d}</li>
`}checkbox({checked:I}){return"<input "+(I?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:I}){return`<p>${this.parser.parseInline(I)}</p>
`}table(I){let d="",G="";for(let C=0;C<I.header.length;C++)G+=this.tablecell(I.header[C]);d+=this.tablerow({text:G});let Z="";for(let C=0;C<I.rows.length;C++){let W=I.rows[C];G="";for(let w=0;w<W.length;w++)G+=this.tablecell(W[w]);Z+=this.tablerow({text:G})}if(Z)Z=`<tbody>${Z}</tbody>`;return`<table>
<thead>
`+d+`</thead>
`+Z+`</table>
`}tablerow({text:I}){return`<tr>
${I}</tr>
`}tablecell(I){let d=this.parser.parseInline(I.tokens),G=I.header?"th":"td";return(I.align?`<${G} align="${I.align}">`:`<${G}>`)+d+`</${G}>
`}strong({tokens:I}){return`<strong>${this.parser.parseInline(I)}</strong>`}em({tokens:I}){return`<em>${this.parser.parseInline(I)}</em>`}codespan({text:I}){return`<code>${bB(I,!0)}</code>`}br(I){return"<br>"}del({tokens:I}){return`<del>${this.parser.parseInline(I)}</del>`}link({href:I,title:d,tokens:G}){let Z=this.parser.parseInline(G),C=bQ2(I);if(C===null)return Z;I=C;let W='<a href="'+I+'"';if(d)W+=' title="'+bB(d)+'"';return W+=">"+Z+"</a>",W}image({href:I,title:d,text:G}){let Z=bQ2(I);if(Z===null)return bB(G);I=Z;let C=`<img src="${I}" alt="${G}"`;if(d)C+=` title="${bB(d)}"`;return C+=">",C}text(I){return"tokens"in I&&I.tokens?this.parser.parseInline(I.tokens):("escaped"in I)&&I.escaped?I.text:bB(I.text)}}class Po{strong({text:I}){return I}em({text:I}){return I}codespan({text:I}){return I}del({text:I}){return I}html({text:I}){return I}text({text:I}){return I}link({text:I}){return""+I}image({text:I}){return""+I}br(){return""}}class aZ{options;renderer;textRenderer;constructor(I){this.options=I||YK,this.options.renderer=this.options.renderer||new Pu,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Po}static parse(I,d){return new aZ(d).parse(I)}static parseInline(I,d){return new aZ(d).parseInline(I)}parse(I,d=!0){let G="";for(let Z=0;Z<I.length;Z++){let C=I[Z];if(this.options.extensions?.renderers?.[C.type]){let w=C,B=this.options.extensions.renderers[w.type].call({parser:this},w);if(B!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(w.type)){G+=B||"";continue}}let W=C;switch(W.type){case"space":{G+=this.renderer.space(W);continue}case"hr":{G+=this.renderer.hr(W);continue}case"heading":{G+=this.renderer.heading(W);continue}case"code":{G+=this.renderer.code(W);continue}case"table":{G+=this.renderer.table(W);continue}case"blockquote":{G+=this.renderer.blockquote(W);continue}case"list":{G+=this.renderer.list(W);continue}case"html":{G+=this.renderer.html(W);continue}case"paragraph":{G+=this.renderer.paragraph(W);continue}case"text":{let w=W,B=this.renderer.text(w);while(Z+1<I.length&&I[Z+1].type==="text")w=I[++Z],B+=`
`+this.renderer.text(w);if(d)G+=this.renderer.paragraph({type:"paragraph",raw:B,text:B,tokens:[{type:"text",raw:B,text:B,escaped:!0}]});else G+=B;continue}default:{let w='Token with "'+W.type+'" type was not found.';if(this.options.silent)return console.error(w),"";else throw new Error(w)}}}return G}parseInline(I,d=this.renderer){let G="";for(let Z=0;Z<I.length;Z++){let C=I[Z];if(this.options.extensions?.renderers?.[C.type]){let w=this.options.extensions.renderers[C.type].call({parser:this},C);if(w!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(C.type)){G+=w||"";continue}}let W=C;switch(W.type){case"escape":{G+=d.text(W);break}case"html":{G+=d.html(W);break}case"link":{G+=d.link(W);break}case"image":{G+=d.image(W);break}case"strong":{G+=d.strong(W);break}case"em":{G+=d.em(W);break}case"codespan":{G+=d.codespan(W);break}case"br":{G+=d.br(W);break}case"del":{G+=d.del(W);break}case"text":{G+=d.text(W);break}default:{let w='Token with "'+W.type+'" type was not found.';if(this.options.silent)return console.error(w),"";else throw new Error(w)}}}return G}}class Lu{options;block;constructor(I){this.options=I||YK}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(I){return I}postprocess(I){return I}processAllTokens(I){return I}provideLexer(){return this.block?rZ.lex:rZ.lexInline}provideParser(){return this.block?aZ.parse:aZ.parseInline}}class tQ2{defaults=vK1();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=aZ;Renderer=Pu;TextRenderer=Po;Lexer=rZ;Tokenizer=yu;Hooks=Lu;constructor(...I){this.use(...I)}walkTokens(I,d){let G=[];for(let Z of I)switch(G=G.concat(d.call(this,Z)),Z.type){case"table":{let C=Z;for(let W of C.header)G=G.concat(this.walkTokens(W.tokens,d));for(let W of C.rows)for(let w of W)G=G.concat(this.walkTokens(w.tokens,d));break}case"list":{let C=Z;G=G.concat(this.walkTokens(C.items,d));break}default:{let C=Z;if(this.defaults.extensions?.childTokens?.[C.type])this.defaults.extensions.childTokens[C.type].forEach((W)=>{let w=C[W].flat(1/0);G=G.concat(this.walkTokens(w,d))});else if(C.tokens)G=G.concat(this.walkTokens(C.tokens,d))}}return G}use(...I){let d=this.defaults.extensions||{renderers:{},childTokens:{}};return I.forEach((G)=>{let Z={...G};if(Z.async=this.defaults.async||Z.async||!1,G.extensions)G.extensions.forEach((C)=>{if(!C.name)throw new Error("extension name required");if("renderer"in C){let W=d.renderers[C.name];if(W)d.renderers[C.name]=function(...w){let B=C.renderer.apply(this,w);if(B===!1)B=W.apply(this,w);return B};else d.renderers[C.name]=C.renderer}if("tokenizer"in C){if(!C.level||C.level!=="block"&&C.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let W=d[C.level];if(W)W.unshift(C.tokenizer);else d[C.level]=[C.tokenizer];if(C.start){if(C.level==="block")if(d.startBlock)d.startBlock.push(C.start);else d.startBlock=[C.start];else if(C.level==="inline")if(d.startInline)d.startInline.push(C.start);else d.startInline=[C.start]}}if("childTokens"in C&&C.childTokens)d.childTokens[C.name]=C.childTokens}),Z.extensions=d;if(G.renderer){let C=this.defaults.renderer||new Pu(this.defaults);for(let W in G.renderer){if(!(W in C))throw new Error(`renderer '${W}' does not exist`);if(["options","parser"].includes(W))continue;let w=W,B=G.renderer[w],A=C[w];C[w]=(...V)=>{let X=B.apply(C,V);if(X===!1)X=A.apply(C,V);return X||""}}Z.renderer=C}if(G.tokenizer){let C=this.defaults.tokenizer||new yu(this.defaults);for(let W in G.tokenizer){if(!(W in C))throw new Error(`tokenizer '${W}' does not exist`);if(["options","rules","lexer"].includes(W))continue;let w=W,B=G.tokenizer[w],A=C[w];C[w]=(...V)=>{let X=B.apply(C,V);if(X===!1)X=A.apply(C,V);return X}}Z.tokenizer=C}if(G.hooks){let C=this.defaults.hooks||new Lu;for(let W in G.hooks){if(!(W in C))throw new Error(`hook '${W}' does not exist`);if(["options","block"].includes(W))continue;let w=W,B=G.hooks[w],A=C[w];if(Lu.passThroughHooks.has(W))C[w]=(V)=>{if(this.defaults.async)return Promise.resolve(B.call(C,V)).then((_)=>{return A.call(C,_)});let X=B.call(C,V);return A.call(C,X)};else C[w]=(...V)=>{let X=B.apply(C,V);if(X===!1)X=A.apply(C,V);return X}}Z.hooks=C}if(G.walkTokens){let C=this.defaults.walkTokens,W=G.walkTokens;Z.walkTokens=function(w){let B=[];if(B.push(W.call(this,w)),C)B=B.concat(C.call(this,w));return B}}this.defaults={...this.defaults,...Z}}),this}setOptions(I){return this.defaults={...this.defaults,...I},this}lexer(I,d){return rZ.lex(I,d??this.defaults)}parser(I,d){return aZ.parse(I,d??this.defaults)}parseMarkdown(I){return(G,Z)=>{let C={...Z},W={...this.defaults,...C},w=this.onError(!!W.silent,!!W.async);if(this.defaults.async===!0&&C.async===!1)return w(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof G==="undefined"||G===null)return w(new Error("marked(): input parameter is undefined or null"));if(typeof G!=="string")return w(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(G)+", string expected"));if(W.hooks)W.hooks.options=W,W.hooks.block=I;let B=W.hooks?W.hooks.provideLexer():I?rZ.lex:rZ.lexInline,A=W.hooks?W.hooks.provideParser():I?aZ.parse:aZ.parseInline;if(W.async)return Promise.resolve(W.hooks?W.hooks.preprocess(G):G).then((V)=>B(V,W)).then((V)=>W.hooks?W.hooks.processAllTokens(V):V).then((V)=>W.walkTokens?Promise.all(this.walkTokens(V,W.walkTokens)).then(()=>V):V).then((V)=>A(V,W)).then((V)=>W.hooks?W.hooks.postprocess(V):V).catch(w);try{if(W.hooks)G=W.hooks.preprocess(G);let V=B(G,W);if(W.hooks)V=W.hooks.processAllTokens(V);if(W.walkTokens)this.walkTokens(V,W.walkTokens);let X=A(V,W);if(W.hooks)X=W.hooks.postprocess(X);return X}catch(V){return w(V)}}}onError(I,d){return(G)=>{if(G.message+=`
Please report this to https://github.com/markedjs/marked.`,I){let Z="<p>An error occurred:</p><pre>"+bB(G.message+"",!0)+"</pre>";if(d)return Promise.resolve(Z);return Z}if(d)return Promise.reject(G);throw G}}}var XK=new tQ2;function r5(I,d){return XK.parse(I,d)}r5.options=r5.setOptions=function(I){return XK.setOptions(I),r5.defaults=XK.defaults,kQ2(r5.defaults),r5};r5.getDefaults=vK1;r5.defaults=YK;r5.use=function(...I){return XK.use(...I),r5.defaults=XK.defaults,kQ2(r5.defaults),r5};r5.walkTokens=function(I,d){return XK.walkTokens(I,d)};r5.parseInline=XK.parseInline;r5.Parser=aZ;r5.parser=aZ.parse;r5.Renderer=Pu;r5.TextRenderer=Po;r5.Lexer=rZ;r5.lexer=rZ.lex;r5.Tokenizer=yu;r5.Hooks=Lu;r5.parse=r5;var{options:iM3,setOptions:nM3,use:rM3,walkTokens:aM3,parseInline:sM3}=r5;var oM3=aZ.parse,eM3=rZ.lex;var uu=J1(Tg1(),1);import{EOL as vW}from"os";function VU(I){return r5.lexer(NK1(I)).map((d)=>EW(d)).join("").trim()}function EW(I,d=0,G=null,Z=null){switch(I.type){case"blockquote":return c0.dim.italic((I.tokens??[]).map((C)=>EW(C)).join(""));case"code":if(I.lang&&uu.supportsLanguage(I.lang))return uu.highlight(I.text,{language:I.lang})+vW;else return X0(`Language not supported while highlighting code, falling back to markdown: ${I.lang}`),uu.highlight(I.text,{language:"markdown"})+vW;case"codespan":return c0.blue(I.text);case"em":return c0.italic((I.tokens??[]).map((C)=>EW(C)).join(""));case"strong":return c0.bold((I.tokens??[]).map((C)=>EW(C)).join(""));case"heading":switch(I.depth){case 1:return c0.bold.italic.underline((I.tokens??[]).map((C)=>EW(C)).join(""))+vW+vW;case 2:return c0.bold((I.tokens??[]).map((C)=>EW(C)).join(""))+vW+vW;default:return c0.bold.dim((I.tokens??[]).map((C)=>EW(C)).join(""))+vW+vW}case"hr":return"---";case"image":return`[Image: ${I.title}: ${I.href}]`;case"link":return c0.blue(I.href);case"list":return I.items.map((C,W)=>EW(C,d,I.ordered?I.start+W:null,I)).join("");case"list_item":return(I.tokens??[]).map((C)=>`${"  ".repeat(d)}${EW(C,d+1,G,I)}`).join("");case"paragraph":return(I.tokens??[]).map((C)=>EW(C)).join("")+vW;case"space":return vW;case"text":if(Z?.type==="list_item")return`${G===null?"-":zB9(d,G)+"."} ${I.tokens?I.tokens.map((C)=>EW(C,d,G,I)).join(""):I.text}${vW}`;else return I.text}return""}var KB9=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","aa","ab","ac","ad","ae","af","ag","ah","ai","aj","ak","al","am","an","ao","ap","aq","ar","as","at","au","av","aw","ax","ay","az"],NB9=["i","ii","iii","iv","v","vi","vii","viii","ix","x","xi","xii","xiii","xiv","xv","xvi","xvii","xviii","xix","xx","xxi","xxii","xxiii","xxiv","xxv","xxvi","xxvii","xxviii","xxix","xxx","xxxi","xxxii","xxxiii","xxxiv","xxxv","xxxvi","xxxvii","xxxviii","xxxix","xl"];function zB9(I,d){switch(I){case 0:case 1:return d.toString();case 2:return KB9[d-1];case 3:return NB9[d-1];default:return d.toString()}}function $o({param:{thinking:I},addMargin:d=!1}){if(!I)return null;return Tu.default.createElement(p,{flexDirection:"column",gap:1,marginTop:d?1:0,width:"100%"},Tu.default.createElement(u,{color:r1().secondaryText,italic:!0},"✻ Thinking…"),Tu.default.createElement(p,{paddingLeft:2},Tu.default.createElement(u,{color:r1().secondaryText,italic:!0},VU(I))))}function If2({param:I,costUSD:d,durationMs:G,addMargin:Z,tools:C,debug:W,verbose:w,erroredToolUseIDs:B,inProgressToolUseIDs:A,unresolvedToolUseIDs:V,shouldAnimate:X,shouldShowDot:_}){let F=C.find((Q)=>Q.name===I.name);if(!F)return X0(`Tool ${I.name} not found`),null;let g=!A.has(I.id)&&V.has(I.id),J=g?r1().secondaryText:void 0;if(F===VK){let{thought:Q}=VK.inputSchema.parse(I.input);return gG.default.createElement($o,{param:{thinking:Q,signature:"",type:"thinking"},addMargin:Z})}let K=F.userFacingName(I.input);return gG.default.createElement(p,{flexDirection:"row",justifyContent:"space-between",marginTop:Z?1:0,width:"100%"},gG.default.createElement(p,null,gG.default.createElement(p,{flexWrap:"nowrap",minWidth:K.length+(_?2:0)},_&&(g?gG.default.createElement(p,{minWidth:2},gG.default.createElement(u,{color:J},AU)):gG.default.createElement(uQ2,{shouldAnimate:X,isUnresolved:V.has(I.id),isError:B.has(I.id)})),gG.default.createElement(u,{color:J,bold:!g},K)),gG.default.createElement(p,{flexWrap:"nowrap"},Object.keys(I.input).length>0&&gG.default.createElement(u,{color:J},"(",F.renderToolUseMessage(I.input,{verbose:w}),")"),gG.default.createElement(u,{color:J},"…"))),gG.default.createElement(NH,{costUSD:d,durationMs:G,debug:W}))}var u6=J1(u1(),1);var $K1=J1(u1(),1);function df2({content:I,verbose:d}){let G=XG(I,"bash-stdout")??"",Z=XG(I,"bash-stderr")??"",C=G.split(`
`).length,W=Z.split(`
`).length;return $K1.createElement($s,{content:{stdout:G,stdoutLines:C,stderr:Z,stderrLines:W},verbose:!!d})}var JG=J1(u1(),1);function Zf2({content:I}){let d=XG(I,"local-command-stdout"),G=XG(I,"local-command-stderr");if(!d&&!G)return[];let Z=r1(),C=[Gf2(d?.trim(),Z.text),Gf2(G?.trim(),Z.error)].filter(Boolean);if(C.length===0)C=[JG.createElement(u,{key:"0"},"(No output)")];return[JG.createElement(p,{key:"0",gap:1},JG.createElement(p,null,JG.createElement(u,{color:Z.secondaryText},"  ","⎿ ")),C.map((W,w)=>JG.createElement(p,{key:w,flexDirection:"column"},W)))]}function Gf2(I,d){if(!I)return null;return JG.createElement(u,{color:d},I)}function Cf2({param:{text:I},costUSD:d,durationMs:G,debug:Z,addMargin:C,shouldShowDot:W,verbose:w}){let{columns:B}=G9();if(qo(I))return null;if(I.startsWith("<bash-stdout")||I.startsWith("<bash-stderr"))return u6.default.createElement(df2,{content:I,verbose:w});if(I.startsWith("<local-command-stdout")||I.startsWith("<local-command-stderr"))return u6.default.createElement(Zf2,{content:I});if(I.startsWith(hZ))return u6.default.createElement(u,null,"  ⎿  ",u6.default.createElement(u,{color:r1().error},I===hZ?`${hZ}: Please wait a moment and try again.`:I));switch(I){case Xu:case _X:return null;case KW:case BU:return u6.default.createElement(u,null,"  ⎿  ",u6.default.createElement(u,{color:r1().error},"Interrupted by user"));case gJ1:return u6.default.createElement(u,null,"  ⎿  ",u6.default.createElement(u,{color:r1().error},"Context low · Run /compact to compact & continue"));case JJ1:return u6.default.createElement(u,null,"  ⎿  ",u6.default.createElement(u,{color:r1().error},"Credit balance too low · Add funds: https://console.anthropic.com/settings/billing"));case Os:return u6.default.createElement(u,null,"  ⎿  ",u6.default.createElement(u,{color:r1().error},Os));default:return u6.default.createElement(p,{alignItems:"flex-start",flexDirection:"row",justifyContent:"space-between",marginTop:C?1:0,width:"100%"},u6.default.createElement(p,{flexDirection:"row"},W&&u6.default.createElement(p,{minWidth:2},u6.default.createElement(u,{color:r1().text},AU)),u6.default.createElement(p,{flexDirection:"column",width:B-6},u6.default.createElement(u,null,VU(I)))),u6.default.createElement(NH,{costUSD:d,durationMs:G,debug:Z}))}}var Ou=J1(u1(),1);function Wf2({addMargin:I,param:{text:d}}){let G=XG(d,"command-message"),Z=XG(d,"command-args");if(!G)return null;let C=r1();return Ou.createElement(p,{flexDirection:"column",marginTop:I?1:0,width:"100%"},Ou.createElement(u,{color:C.secondaryText},"> /",G," ",Z))}var XU=J1(u1(),1);function wf2({addMargin:I,param:{text:d}}){let{columns:G}=G9();if(!d)return X0("No content found in user prompt message"),null;return XU.default.createElement(p,{flexDirection:"row",marginTop:I?1:0,width:"100%"},XU.default.createElement(p,{minWidth:2,width:2},XU.default.createElement(u,{color:r1().secondaryText},">")),XU.default.createElement(p,{flexDirection:"column",width:G-4},XU.default.createElement(u,{color:r1().secondaryText,wrap:"wrap"},d)))}var _K=J1(u1(),1);function Bf2({addMargin:I,param:d}){if(d.text.trim()===FH)return null;if(d.text.includes("<bash-input>"))return _K.createElement(zo,{addMargin:I,param:d});if(d.text.includes("<command-name>")||d.text.includes("<command-message>"))return _K.createElement(Wf2,{addMargin:I,param:d});return _K.createElement(wf2,{addMargin:I,param:d})}var uK1=J1(u1(),1);function Af2({addMargin:I=!1}){return uK1.default.createElement(p,{marginTop:I?1:0},uK1.default.createElement(u,{color:r1().secondaryText,italic:!0},"✻ Thinking…"))}function fH({message:I,messages:d,addMargin:G,tools:Z,verbose:C,debug:W,erroredToolUseIDs:w,inProgressToolUseIDs:B,unresolvedToolUseIDs:A,shouldAnimate:V,shouldShowDot:X,width:_}){if(I.type==="assistant")return B6.createElement(p,{flexDirection:"column",width:"100%"},I.message.content.map((g,J)=>B6.createElement(fB9,{key:J,param:g,costUSD:I.costUSD,durationMs:I.durationMs,addMargin:G,tools:Z,debug:W,options:{verbose:C},erroredToolUseIDs:w,inProgressToolUseIDs:B,unresolvedToolUseIDs:A,shouldAnimate:V,shouldShowDot:X,width:_})));let F=typeof I.message.content==="string"?[{type:"text",text:I.message.content}]:I.message.content;return B6.createElement(p,{flexDirection:"column",width:"100%"},F.map((g,J)=>B6.createElement(QB9,{key:J,message:I,messages:d,addMargin:G,tools:Z,param:g,options:{verbose:C}})))}function QB9({message:I,messages:d,addMargin:G,tools:Z,param:C,options:{verbose:W}}){let{columns:w}=G9();switch(C.type){case"text":return B6.createElement(Bf2,{addMargin:G,param:C});case"tool_result":return B6.createElement($Q2,{param:C,message:I,messages:d,tools:Z,verbose:W,width:w-5})}}function fB9({param:I,costUSD:d,durationMs:G,addMargin:Z,tools:C,debug:W,options:{verbose:w},erroredToolUseIDs:B,inProgressToolUseIDs:A,unresolvedToolUseIDs:V,shouldAnimate:X,shouldShowDot:_,width:F}){switch(I.type){case"tool_use":return B6.createElement(If2,{param:I,costUSD:d,durationMs:G,addMargin:Z,tools:C,debug:W,verbose:w,erroredToolUseIDs:B,inProgressToolUseIDs:A,unresolvedToolUseIDs:V,shouldAnimate:X,shouldShowDot:_});case"text":return B6.createElement(Cf2,{param:I,costUSD:d,durationMs:G,debug:W,addMargin:Z,shouldShowDot:_,verbose:w,width:F});case"redacted_thinking":return B6.createElement(Af2,{addMargin:Z});case"thinking":return B6.createElement($o,{addMargin:Z,param:I});default:return X0(`Unable to render message type: ${I.type}`),null}}var q4=J1(u1(),1),qH=J1(u1(),1);import{randomUUID as qB9}from"crypto";var uo=7;function Vf2({erroredToolUseIDs:I,messages:d,onSelect:G,onEscape:Z,tools:C,unresolvedToolUseIDs:W}){let w=qH.useMemo(qB9,[]);qH.useEffect(()=>{I0("tengu_message_selector_opened",{})},[]);function B(K){let Q=d.length-1-d.indexOf(K);I0("tengu_message_selector_selected",{index_from_end:Q.toString(),message_type:K.type,is_current_prompt:(K.uuid===w).toString()}),G(K)}function A(){I0("tengu_message_selector_cancelled",{}),Z()}let V=qH.useMemo(()=>[...d.filter((K)=>!(K.type==="user"&&Array.isArray(K.message.content)&&K.message.content[0]?.type==="tool_result")).filter((K)=>K.type!=="assistant"),{...p9(""),uuid:w}],[d,w]),[X,_]=qH.useState(V.length-1),F=P6(()=>process.exit(0));C4((K,Q)=>{if(Q.tab||Q.escape){A();return}if(Q.return){B(V[X]);return}if(Q.upArrow)if(Q.ctrl||Q.shift||Q.meta)_(0);else _((S)=>Math.max(0,S-1));if(Q.downArrow)if(Q.ctrl||Q.shift||Q.meta)_(V.length-1);else _((S)=>Math.min(V.length-1,S+1));let E=Number(K);if(!isNaN(E)&&E>=1&&E<=Math.min(9,V.length)){if(!V[E-1])return;B(V[E-1])}});let g=Math.max(0,Math.min(X-Math.floor(uo/2),V.length-uo)),J=qH.useMemo(()=>QW(d).filter(fo),[d]);return q4.createElement(q4.Fragment,null,q4.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:r1().secondaryBorder,height:4+Math.min(uo,V.length)*2,paddingX:1,marginTop:1},q4.createElement(p,{flexDirection:"column",minHeight:2,marginBottom:1},q4.createElement(u,{bold:!0},"Jump to a previous message"),q4.createElement(u,{dimColor:!0},"This will fork the conversation")),V.slice(g,g+uo).map((K,Q)=>{let S=g+Q===X,P=K.uuid===w;return q4.createElement(p,{key:K.uuid,flexDirection:"row",height:2,minHeight:2},q4.createElement(p,{width:7},S?q4.createElement(u,{color:"blue",bold:!0},k5.pointer," ",g+Q+1," "):q4.createElement(u,null,"  ",g+Q+1," ")),q4.createElement(p,{height:1,overflow:"hidden",width:100},P?q4.createElement(p,{width:"100%"},q4.createElement(u,{dimColor:!0,italic:!0},"(current)")):Array.isArray(K.message.content)&&K.message.content[0]?.type==="text"&&qo(K.message.content[0].text)?q4.createElement(u,{dimColor:!0,italic:!0},"(empty message)"):q4.createElement(fH,{message:K,messages:J,addMargin:!1,tools:C,verbose:!1,debug:!1,erroredToolUseIDs:I,inProgressToolUseIDs:new Set,unresolvedToolUseIDs:W,shouldAnimate:!1,shouldShowDot:!1})))})),q4.createElement(p,{marginLeft:3},q4.createElement(u,{dimColor:!0},F.pending?q4.createElement(q4.Fragment,null,"Press ",F.keyName," again to exit"):q4.createElement(q4.Fragment,null,"↑/↓ to select · Enter to confirm · Tab/Esc to cancel"))))}var oK1=J1(u1(),1);import{existsSync as YU,mkdirSync as iB9,readFileSync as Uf2,statSync as vf2}from"fs";var y3=J1(u1(),1);import{dirname as nB9,isAbsolute as ju,relative as Ef2,resolve as Mf2,sep as rB9}from"path";var g9=J1(u1(),1);function hB(I,d){return I.flatMap((G,Z)=>Z?[d(Z),G]:[G])}import{relative as RB9}from"path";function To({filePath:I,structuredPatch:d,verbose:G}){let{columns:Z}=G9(),C=d.reduce((w,B)=>w+B.lines.filter((A)=>A.startsWith("+")).length,0),W=d.reduce((w,B)=>w+B.lines.filter((A)=>A.startsWith("-")).length,0);return g9.createElement(p,{flexDirection:"column"},g9.createElement(u,null,"  ","⎿ Updated"," ",g9.createElement(u,{bold:!0},G?I:RB9(R0(),I)),C>0||W>0?" with ":"",C>0?g9.createElement(g9.Fragment,null,g9.createElement(u,{bold:!0},C)," ",C>1?"additions":"addition"):null,C>0&&W>0?" and ":null,W>0?g9.createElement(g9.Fragment,null,g9.createElement(u,{bold:!0},W)," ",W>1?"removals":"removal"):null),hB(d.map((w)=>g9.createElement(p,{flexDirection:"column",paddingLeft:5,key:w.newStart},g9.createElement(nZ,{patch:w,dim:!1,width:Z-12}))),(w)=>g9.createElement(p,{paddingLeft:5,key:`ellipsis-${w}`},g9.createElement(u,{color:r1().secondaryText},"..."))))}import{existsSync as UB9,readFileSync as _f2}from"fs";var qI=J1(u1(),1);import{extname as vB9,isAbsolute as Df2,relative as EB9,resolve as Hf2}from"path";var Xf2="Replace the contents of a specific cell in a Jupyter notebook.",Yf2="Completely replaces the contents of a specific cell in a Jupyter notebook (.ipynb file) with new source. Jupyter notebooks are interactive documents that combine code, text, and visualizations, commonly used for data analysis and scientific computing. The notebook_path parameter must be an absolute path, not a relative path. The cell_number is 0-indexed. Use edit_mode=insert to add a new cell at the index specified by cell_number. Use edit_mode=delete to delete the cell at the index specified by cell_number.";var MB9=s.strictObject({notebook_path:s.string().describe("The absolute path to the Jupyter notebook file to edit (must be absolute, not relative)"),cell_number:s.number().describe("The index of the cell to edit (0-based)"),new_source:s.string().describe("The new source for the cell"),cell_type:s.enum(["code","markdown"]).optional().describe("The type of the cell (code or markdown). If not specified, it defaults to the current cell type. If using edit_mode=insert, this is required."),edit_mode:s.string().optional().describe("The type of edit to make (replace, insert, delete). Defaults to replace.")}),RI={name:"NotebookEditCell",async description(){return Xf2},async prompt(){return Yf2},inputSchema:MB9,userFacingName(){return"Edit Notebook"},async isEnabled(){return!0},isReadOnly(){return!1},needsPermissions({notebook_path:I}){return!OR(I)},renderResultForAssistant({cell_number:I,edit_mode:d,new_source:G,error:Z}){if(Z)return Z;switch(d){case"replace":return`Updated cell ${I} with ${G}`;case"insert":return`Inserted cell ${I} with ${G}`;case"delete":return`Deleted cell ${I}`}},renderToolUseMessage(I,{verbose:d}){return`notebook_path: ${d?I.notebook_path:EB9(R0(),I.notebook_path)}, cell: ${I.cell_number}, content: ${I.new_source.slice(0,30)}…, cell_type: ${I.cell_type}, edit_mode: ${I.edit_mode??"replace"}`},renderToolUseRejectedMessage(){return qI.createElement(A3,null)},renderToolResultMessage({cell_number:I,new_source:d,language:G,error:Z}){if(Z)return qI.createElement(p,{flexDirection:"column"},qI.createElement(u,{color:"red"},Z));return qI.createElement(p,{flexDirection:"column"},qI.createElement(u,null,"Updated cell ",I,":"),qI.createElement(p,{marginLeft:2},qI.createElement(yB,{code:d,language:G})))},async validateInput({notebook_path:I,cell_number:d,cell_type:G,edit_mode:Z="replace"}){let C=Df2(I)?I:Hf2(R0(),I);if(!UB9(C))return{result:!1,message:"Notebook file does not exist."};if(vB9(C)!==".ipynb")return{result:!1,message:"File must be a Jupyter notebook (.ipynb file). For editing other file types, use the FileEdit tool."};if(d<0)return{result:!1,message:"Cell number must be non-negative."};if(Z!=="replace"&&Z!=="insert"&&Z!=="delete")return{result:!1,message:"Edit mode must be replace, insert, or delete."};if(Z==="insert"&&!G)return{result:!1,message:"Cell type is required when using edit_mode=insert."};let W=dd(C),w=_f2(C,W),B=tG(w);if(!B)return{result:!1,message:"Notebook is not valid JSON."};if(Z==="insert"&&d>B.cells.length)return{result:!1,message:`Cell number is out of bounds. For insert mode, the maximum value is ${B.cells.length} (to append at the end).`};else if((Z==="replace"||Z==="delete")&&(d>=B.cells.length||!B.cells[d]))return{result:!1,message:`Cell number is out of bounds. Notebook has ${B.cells.length} cells.`};return{result:!0}},async*call({notebook_path:I,cell_number:d,new_source:G,cell_type:Z,edit_mode:C}){let W=Df2(I)?I:Hf2(R0(),I);try{let w=dd(W),B=_f2(W,w),A=JSON.parse(B),V=A.metadata.language_info?.name??"python";if(C==="delete")A.cells.splice(d,1);else if(C==="insert"){let F={cell_type:Z,source:G,metadata:{}};A.cells.splice(d,0,Z=="markdown"?F:{...F,outputs:[]})}else{let F=A.cells[d];if(F.source=G,F.execution_count=void 0,F.outputs=[],Z&&Z!==F.cell_type)F.cell_type=Z}let X=Sg(W);Xf(W,JSON.stringify(A,null,1),w,X);let _={cell_number:d,new_source:G,cell_type:Z??"code",language:V,edit_mode:C??"replace",error:""};yield{type:"result",data:_,resultForAssistant:this.renderResultForAssistant(_)}}catch(w){if(w instanceof Error){let A={cell_number:d,new_source:G,cell_type:Z??"code",language:"python",edit_mode:"replace",error:w.message};yield{type:"result",data:A,resultForAssistant:this.renderResultForAssistant(A)};return}let B={cell_number:d,new_source:G,cell_type:Z??"code",language:"python",edit_mode:"replace",error:"Unknown error occurred while editing notebook"};yield{type:"result",data:B,resultForAssistant:this.renderResultForAssistant(B)}}}};var Ff2=`This is a tool for editing files. For moving or renaming files, you should generally use the Bash tool with the 'mv' command instead. For larger edits, use the Write tool to overwrite files. For Jupyter notebooks (.ipynb files), use the ${RI.name} instead.

Before using this tool:

1. Use the View tool to understand the file's contents and context

2. Verify the directory path is correct (only applicable when creating new files):
   - Use the LS tool to verify the parent directory exists and is the correct location

To make a file edit, provide the following:
1. file_path: The absolute path to the file to modify (must be absolute, not relative)
2. old_string: The text to replace (must be unique within the file, and must match the file contents exactly, including all whitespace and indentation)
3. new_string: The edited text to replace the old_string

The tool will replace ONE occurrence of old_string with new_string in the specified file.

CRITICAL REQUIREMENTS FOR USING THIS TOOL:

1. UNIQUENESS: The old_string MUST uniquely identify the specific instance you want to change. This means:
   - Include AT LEAST 3-5 lines of context BEFORE the change point
   - Include AT LEAST 3-5 lines of context AFTER the change point
   - Include all whitespace, indentation, and surrounding code exactly as it appears in the file

2. SINGLE INSTANCE: This tool can only change ONE instance at a time. If you need to change multiple instances:
   - Make separate calls to this tool for each instance
   - Each call must uniquely identify its specific instance using extensive context

3. VERIFICATION: Before using this tool:
   - Check how many instances of the target text exist in the file
   - If multiple instances exist, gather enough context to uniquely identify each one
   - Plan separate tool calls for each instance

WARNING: If you do not follow these requirements:
   - The tool will fail if old_string matches multiple locations
   - The tool will fail if old_string doesn't match exactly (including whitespace)
   - You may change the wrong instance if you don't include enough context

When making edits:
   - Ensure the edit results in idiomatic, correct code
   - Do not leave the code in a broken state
   - Always use absolute file paths (starting with /)

If you want to create a new file, use:
   - A new file path, including dir name if needed
   - An empty old_string
   - The new file's contents as new_string

Remember: when making multiple file edits in a row to the same file, you should prefer to send all edits in a single message with multiple calls to this tool, rather than multiple messages with a single call each.
`;import{isAbsolute as xB9,resolve as cB9}from"path";import{readFileSync as pB9}from"fs";function MW(){}MW.prototype={diff:function I(d,G){var Z,C=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=C.callback;if(typeof C==="function")W=C,C={};var w=this;function B($){if($=w.postProcess($,C),W)return setTimeout(function(){W($)},0),!0;else return $}d=this.castInput(d,C),G=this.castInput(G,C),d=this.removeEmpty(this.tokenize(d,C)),G=this.removeEmpty(this.tokenize(G,C));var A=G.length,V=d.length,X=1,_=A+V;if(C.maxEditLength!=null)_=Math.min(_,C.maxEditLength);var F=(Z=C.timeout)!==null&&Z!==void 0?Z:1/0,g=Date.now()+F,J=[{oldPos:-1,lastComponent:void 0}],K=this.extractCommon(J[0],G,d,0,C);if(J[0].oldPos+1>=V&&K+1>=A)return B(gf2(w,J[0].lastComponent,G,d,w.useLongestToken));var Q=-1/0,E=1/0;function S(){for(var $=Math.max(Q,-X);$<=Math.min(E,X);$+=2){var h=void 0,O=J[$-1],T=J[$+1];if(O)J[$-1]=void 0;var V1=!1;if(T){var c=T.oldPos-$;V1=T&&0<=c&&c<A}var c1=O&&O.oldPos+1<V;if(!V1&&!c1){J[$]=void 0;continue}if(!c1||V1&&O.oldPos<T.oldPos)h=w.addToPath(T,!0,!1,0,C);else h=w.addToPath(O,!1,!0,1,C);if(K=w.extractCommon(h,G,d,$,C),h.oldPos+1>=V&&K+1>=A)return B(gf2(w,h.lastComponent,G,d,w.useLongestToken));else{if(J[$]=h,h.oldPos+1>=V)E=Math.min(E,$-1);if(K+1>=A)Q=Math.max(Q,$+1)}}X++}if(W)(function $(){setTimeout(function(){if(X>_||Date.now()>g)return W();if(!S())$()},0)})();else while(X<=_&&Date.now()<=g){var P=S();if(P)return P}},addToPath:function I(d,G,Z,C,W){var w=d.lastComponent;if(w&&!W.oneChangePerToken&&w.added===G&&w.removed===Z)return{oldPos:d.oldPos+C,lastComponent:{count:w.count+1,added:G,removed:Z,previousComponent:w.previousComponent}};else return{oldPos:d.oldPos+C,lastComponent:{count:1,added:G,removed:Z,previousComponent:w}}},extractCommon:function I(d,G,Z,C,W){var w=G.length,B=Z.length,A=d.oldPos,V=A-C,X=0;while(V+1<w&&A+1<B&&this.equals(Z[A+1],G[V+1],W))if(V++,A++,X++,W.oneChangePerToken)d.lastComponent={count:1,previousComponent:d.lastComponent,added:!1,removed:!1};if(X&&!W.oneChangePerToken)d.lastComponent={count:X,previousComponent:d.lastComponent,added:!1,removed:!1};return d.oldPos=A,V},equals:function I(d,G,Z){if(Z.comparator)return Z.comparator(d,G);else return d===G||Z.ignoreCase&&d.toLowerCase()===G.toLowerCase()},removeEmpty:function I(d){var G=[];for(var Z=0;Z<d.length;Z++)if(d[Z])G.push(d[Z]);return G},castInput:function I(d){return d},tokenize:function I(d){return Array.from(d)},join:function I(d){return d.join("")},postProcess:function I(d){return d}};function gf2(I,d,G,Z,C){var W=[],w;while(d)W.push(d),w=d.previousComponent,delete d.previousComponent,d=w;W.reverse();var B=0,A=W.length,V=0,X=0;for(;B<A;B++){var _=W[B];if(!_.removed){if(!_.added&&C){var F=G.slice(V,V+_.count);F=F.map(function(g,J){var K=Z[X+J];return K.length>g.length?K:g}),_.value=I.join(F)}else _.value=I.join(G.slice(V,V+_.count));if(V+=_.count,!_.added)X+=_.count}else _.value=I.join(Z.slice(X,X+_.count)),X+=_.count}return W}var cL3=new MW;function Jf2(I,d){var G;for(G=0;G<I.length&&G<d.length;G++)if(I[G]!=d[G])return I.slice(0,G);return I.slice(0,G)}function Kf2(I,d){var G;if(!I||!d||I[I.length-1]!=d[d.length-1])return"";for(G=0;G<I.length&&G<d.length;G++)if(I[I.length-(G+1)]!=d[d.length-(G+1)])return I.slice(-G);return I.slice(-G)}function OK1(I,d,G){if(I.slice(0,d.length)!=d)throw Error("string ".concat(JSON.stringify(I)," doesn't start with prefix ").concat(JSON.stringify(d),"; this is a bug"));return G+I.slice(d.length)}function mK1(I,d,G){if(!d)return I+G;if(I.slice(-d.length)!=d)throw Error("string ".concat(JSON.stringify(I)," doesn't end with suffix ").concat(JSON.stringify(d),"; this is a bug"));return I.slice(0,-d.length)+G}function mu(I,d){return OK1(I,d,"")}function Oo(I,d){return mK1(I,d,"")}function Nf2(I,d){return d.slice(0,SB9(I,d))}function SB9(I,d){var G=0;if(I.length>d.length)G=I.length-d.length;var Z=d.length;if(I.length<d.length)Z=I.length;var C=Array(Z),W=0;C[0]=0;for(var w=1;w<Z;w++){if(d[w]==d[W])C[w]=C[W];else C[w]=W;while(W>0&&d[w]!=d[W])W=C[W];if(d[w]==d[W])W++}W=0;for(var B=G;B<I.length;B++){while(W>0&&I[B]!=d[W])W=C[W];if(I[B]==d[W])W++}return W}var mo="a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",LB9=new RegExp("[".concat(mo,"]+|\\s+|[^").concat(mo,"]"),"ug"),lo=new MW;lo.equals=function(I,d,G){if(G.ignoreCase)I=I.toLowerCase(),d=d.toLowerCase();return I.trim()===d.trim()};lo.tokenize=function(I){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},G;if(d.intlSegmenter){if(d.intlSegmenter.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');G=Array.from(d.intlSegmenter.segment(I),function(W){return W.segment})}else G=I.match(LB9)||[];var Z=[],C=null;return G.forEach(function(W){if(/\s/.test(W))if(C==null)Z.push(W);else Z.push(Z.pop()+W);else if(/\s/.test(C))if(Z[Z.length-1]==C)Z.push(Z.pop()+W);else Z.push(C+W);else Z.push(W);C=W}),Z};lo.join=function(I){return I.map(function(d,G){if(G==0)return d;else return d.replace(/^\s+/,"")}).join("")};lo.postProcess=function(I,d){if(!I||d.oneChangePerToken)return I;var G=null,Z=null,C=null;if(I.forEach(function(W){if(W.added)Z=W;else if(W.removed)C=W;else{if(Z||C)zf2(G,C,Z,W);G=W,Z=null,C=null}}),Z||C)zf2(G,C,Z,null);return I};function zf2(I,d,G,Z){if(d&&G){var C=d.value.match(/^\s*/)[0],W=d.value.match(/\s*$/)[0],w=G.value.match(/^\s*/)[0],B=G.value.match(/\s*$/)[0];if(I){var A=Jf2(C,w);I.value=mK1(I.value,w,A),d.value=mu(d.value,A),G.value=mu(G.value,A)}if(Z){var V=Kf2(W,B);Z.value=OK1(Z.value,B,V),d.value=Oo(d.value,V),G.value=Oo(G.value,V)}}else if(G){if(I)G.value=G.value.replace(/^\s*/,"");if(Z)Z.value=Z.value.replace(/^\s*/,"")}else if(I&&Z){var X=Z.value.match(/^\s*/)[0],_=d.value.match(/^\s*/)[0],F=d.value.match(/\s*$/)[0],g=Jf2(X,_);d.value=mu(d.value,g);var J=Kf2(mu(X,g),F);d.value=Oo(d.value,J),Z.value=OK1(Z.value,X,J),I.value=mK1(I.value,X,X.slice(0,X.length-J.length))}else if(Z){var K=Z.value.match(/^\s*/)[0],Q=d.value.match(/\s*$/)[0],E=Nf2(Q,K);d.value=Oo(d.value,E)}else if(I){var S=I.value.match(/\s*$/)[0],P=d.value.match(/^\s*/)[0],$=Nf2(S,P);d.value=mu(d.value,$)}}var yB9=new MW;yB9.tokenize=function(I){var d=new RegExp("(\\r?\\n)|[".concat(mo,"]+|[^\\S\\n\\r]+|[^").concat(mo,"]"),"ug");return I.match(d)||[]};var bo=new MW;bo.tokenize=function(I,d){if(d.stripTrailingCr)I=I.replace(/\r\n/g,`
`);var G=[],Z=I.split(/(\n|\r\n)/);if(!Z[Z.length-1])Z.pop();for(var C=0;C<Z.length;C++){var W=Z[C];if(C%2&&!d.newlineIsToken)G[G.length-1]+=W;else G.push(W)}return G};bo.equals=function(I,d,G){if(G.ignoreWhitespace){if(!G.newlineIsToken||!I.includes(`
`))I=I.trim();if(!G.newlineIsToken||!d.includes(`
`))d=d.trim()}else if(G.ignoreNewlineAtEof&&!G.newlineIsToken){if(I.endsWith(`
`))I=I.slice(0,-1);if(d.endsWith(`
`))d=d.slice(0,-1)}return MW.prototype.equals.call(this,I,d,G)};function Qf2(I,d,G){return bo.diff(I,d,G)}var PB9=new MW;PB9.tokenize=function(I){return I.split(/(\S.+?[.!?])(?=\s+|$)/)};var $B9=new MW;$B9.tokenize=function(I){return I.split(/([{}:;,]|\s+)/)};function ff2(I,d){var G=Object.keys(I);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(I);d&&(Z=Z.filter(function(C){return Object.getOwnPropertyDescriptor(I,C).enumerable})),G.push.apply(G,Z)}return G}function qf2(I){for(var d=1;d<arguments.length;d++){var G=arguments[d]!=null?arguments[d]:{};d%2?ff2(Object(G),!0).forEach(function(Z){OB9(I,Z,G[Z])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(G)):ff2(Object(G)).forEach(function(Z){Object.defineProperty(I,Z,Object.getOwnPropertyDescriptor(G,Z))})}return I}function uB9(I,d){if(typeof I!="object"||!I)return I;var G=I[Symbol.toPrimitive];if(G!==void 0){var Z=G.call(I,d||"default");if(typeof Z!="object")return Z;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(I)}function TB9(I){var d=uB9(I,"string");return typeof d=="symbol"?d:d+""}function lK1(I){return lK1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},lK1(I)}function OB9(I,d,G){if(d=TB9(d),d in I)Object.defineProperty(I,d,{value:G,enumerable:!0,configurable:!0,writable:!0});else I[d]=G;return I}function TK1(I){return mB9(I)||lB9(I)||bB9(I)||hB9()}function mB9(I){if(Array.isArray(I))return bK1(I)}function lB9(I){if(typeof Symbol!=="undefined"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function bB9(I,d){if(!I)return;if(typeof I==="string")return bK1(I,d);var G=Object.prototype.toString.call(I).slice(8,-1);if(G==="Object"&&I.constructor)G=I.constructor.name;if(G==="Map"||G==="Set")return Array.from(I);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return bK1(I,d)}function bK1(I,d){if(d==null||d>I.length)d=I.length;for(var G=0,Z=new Array(d);G<d;G++)Z[G]=I[G];return Z}function hB9(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var lu=new MW;lu.useLongestToken=!0;lu.tokenize=bo.tokenize;lu.castInput=function(I,d){var{undefinedReplacement:G,stringifyReplacer:Z}=d,C=Z===void 0?function(W,w){return typeof w==="undefined"?G:w}:Z;return typeof I==="string"?I:JSON.stringify(hK1(I,null,null,C),C,"  ")};lu.equals=function(I,d,G){return MW.prototype.equals.call(lu,I.replace(/,([\r\n])/g,"$1"),d.replace(/,([\r\n])/g,"$1"),G)};function hK1(I,d,G,Z,C){if(d=d||[],G=G||[],Z)I=Z(C,I);var W;for(W=0;W<d.length;W+=1)if(d[W]===I)return G[W];var w;if(Object.prototype.toString.call(I)==="[object Array]"){d.push(I),w=new Array(I.length),G.push(w);for(W=0;W<I.length;W+=1)w[W]=hK1(I[W],d,G,Z,C);return d.pop(),G.pop(),w}if(I&&I.toJSON)I=I.toJSON();if(lK1(I)==="object"&&I!==null){d.push(I),w={},G.push(w);var B=[],A;for(A in I)if(Object.prototype.hasOwnProperty.call(I,A))B.push(A);B.sort();for(W=0;W<B.length;W+=1)A=B[W],w[A]=hK1(I[A],d,G,Z,A);d.pop(),G.pop()}else w=I;return w}var jK1=new MW;jK1.tokenize=function(I){return I.slice()};jK1.join=jK1.removeEmpty=function(I){return I};function Rf2(I,d,G,Z,C,W,w){if(!w)w={};if(typeof w==="function")w={callback:w};if(typeof w.context==="undefined")w.context=4;if(w.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(!w.callback)return V(Qf2(G,Z,w));else{var B=w,A=B.callback;Qf2(G,Z,qf2(qf2({},w),{},{callback:function X(_){var F=V(_);A(F)}}))}function V(X){if(!X)return;X.push({value:"",lines:[]});function _(V1){return V1.map(function(c){return" "+c})}var F=[],g=0,J=0,K=[],Q=1,E=1,S=function V1(){var c=X[P],c1=c.lines||jB9(c.value);if(c.lines=c1,c.added||c.removed){var o1;if(!g){var a1=X[P-1];if(g=Q,J=E,a1)K=w.context>0?_(a1.lines.slice(-w.context)):[],g-=K.length,J-=K.length}if((o1=K).push.apply(o1,TK1(c1.map(function(T1){return(c.added?"+":"-")+T1}))),c.added)E+=c1.length;else Q+=c1.length}else{if(g)if(c1.length<=w.context*2&&P<X.length-2){var f1;(f1=K).push.apply(f1,TK1(_(c1)))}else{var r,A1=Math.min(c1.length,w.context);(r=K).push.apply(r,TK1(_(c1.slice(0,A1))));var m1={oldStart:g,oldLines:Q-g+A1,newStart:J,newLines:E-J+A1,lines:K};F.push(m1),g=0,J=0,K=[]}Q+=c1.length,E+=c1.length}};for(var P=0;P<X.length;P++)S();for(var $=0,h=F;$<h.length;$++){var O=h[$];for(var T=0;T<O.lines.length;T++)if(O.lines[T].endsWith(`
`))O.lines[T]=O.lines[T].slice(0,-1);else O.lines.splice(T+1,0,"\\ No newline at end of file"),T++}return{oldFileName:I,newFileName:d,oldHeader:C,newHeader:W,hunks:F}}}function jB9(I){var d=I.endsWith(`
`),G=I.split(`
`).map(function(Z){return Z+`
`});if(d)G.pop();else G.push(G.pop().slice(0,-1));return G}var kB9=3,bu="<<:AMPERSAND_TOKEN:>>",hu="<<:DOLLAR_TOKEN:>>";function KX({filePath:I,fileContents:d,oldStr:G,newStr:Z}){return Rf2(I,I,d.replaceAll("&",bu).replaceAll("$",hu),d.replaceAll("&",bu).replaceAll("$",hu).replace(G.replaceAll("&",bu).replaceAll("$",hu),Z.replaceAll("&",bu).replaceAll("$",hu)),void 0,void 0,{context:kB9}).hunks.map((C)=>({...C,lines:C.lines.map((W)=>W.replaceAll(bu,"&").replaceAll(hu,"$"))}))}function kK1(I,d,G){let Z=xB9(I)?I:cB9(R0(),I),C,W;if(d==="")C="",W=G;else{let B=dd(Z);if(C=pB9(Z,B),G==="")if(!d.endsWith(`
`)&&C.includes(d+`
`))W=C.replace(d+`
`,()=>G);else W=C.replace(d,()=>G);else W=C.replace(d,()=>G);if(W===C)throw new Error("Original and edited file match exactly. Failed to apply edit.")}return{patch:KX({filePath:I,fileContents:C,oldStr:C,newStr:W}),updatedFile:W}}var aB9=s.strictObject({file_path:s.string().describe("The absolute path to the file to modify"),old_string:s.string().describe("The text to replace"),new_string:s.string().describe("The text to replace it with")}),Sf2=4,p7={name:"Edit",async description(){return"A tool for editing files"},async prompt(){return Ff2},inputSchema:aB9,userFacingName({old_string:I,new_string:d}){if(I==="")return"Create";if(d==="")return"Delete";return"Update"},async isEnabled(){return!0},needsPermissions({file_path:I}){return!OR(I)},isReadOnly(){return!1},renderToolUseMessage(I,{verbose:d}){return`file_path: ${d?I.file_path:Ef2(R0(),I.file_path)}`},renderToolResultMessage({filePath:I,structuredPatch:d},{verbose:G}){return y3.createElement(To,{filePath:I,structuredPatch:d,verbose:G})},renderToolUseRejectedMessage({file_path:I,old_string:d,new_string:G},{columns:Z,verbose:C}){try{let{patch:W}=kK1(I,d,G);return y3.createElement(p,{flexDirection:"column"},y3.createElement(u,null,"  ","⎿"," ",y3.createElement(u,{color:r1().error},"User rejected ",d===""?"write":"update"," to"," "),y3.createElement(u,{bold:!0},C?I:Ef2(R0(),I))),hB(W.map((w)=>y3.createElement(p,{flexDirection:"column",paddingLeft:5,key:w.newStart},y3.createElement(nZ,{patch:w,dim:!0,width:Z-12}))),(w)=>y3.createElement(p,{paddingLeft:5,key:`ellipsis-${w}`},y3.createElement(u,{color:r1().secondaryText},"..."))))}catch(W){return X0(W),y3.createElement(p,{flexDirection:"column"},y3.createElement(u,null,"  ","⎿ (No changes)"))}},async validateInput({file_path:I,old_string:d,new_string:G},{readFileTimestamps:Z}){if(d===G)return{result:!1,message:"No changes to make: old_string and new_string are exactly the same.",meta:{old_string:d}};let C=ju(I)?I:Mf2(R0(),I);if(YU(C)&&d==="")return{result:!1,message:"Cannot create new file - file already exists."};if(!YU(C)&&d==="")return{result:!0};if(!YU(C)){let _=Yf(C),F="File does not exist.";if(_)F+=` Did you mean ${_}?`;return{result:!1,message:F}}if(C.endsWith(".ipynb"))return{result:!1,message:`File is a Jupyter Notebook. Use the ${RI.name} to edit this file.`};let W=Z[C];if(!W)return{result:!1,message:"File has not been read yet. Read it first before writing to it.",meta:{isFilePathAbsolute:String(ju(I))}};if(vf2(C).mtimeMs>W)return{result:!1,message:"File has been modified since read, either by the user or by a linter. Read it again before attempting to write it."};let A=dd(C),V=Uf2(C,A);if(!V.includes(d))return{result:!1,message:"String to replace not found in file.",meta:{isFilePathAbsolute:String(ju(I))}};let X=V.split(d).length-1;if(X>1)return{result:!1,message:`Found ${X} matches of the string to replace. For safety, this tool only supports replacing exactly one occurrence at a time. Add more lines of context to your edit and try again.`,meta:{isFilePathAbsolute:String(ju(I))}};return{result:!0}},async*call({file_path:I,old_string:d,new_string:G},{readFileTimestamps:Z}){let{patch:C,updatedFile:W}=kK1(I,d,G),w=ju(I)?I:Mf2(R0(),I),B=nB9(w);iB9(B,{recursive:!0});let A=YU(w)?dd(w):"utf8",V=YU(w)?Sg(w):"LF",X=YU(w)?Uf2(w,A):"";if(Xf(w,W,A,V),Z[w]=vf2(w).mtimeMs,w.endsWith(`${rB9}CLAUDE.md`))I0("tengu_write_claudemd",{});let _={filePath:I,oldString:d,newString:G,originalFile:X,structuredPatch:C};yield{type:"result",data:_,resultForAssistant:this.renderResultForAssistant(_)}},renderResultForAssistant({filePath:I,originalFile:d,oldString:G,newString:Z}){let{snippet:C,startLine:W}=sB9(d||"",G,Z);return`The file ${I} has been updated. Here's the result of running \`cat -n\` on a snippet of the edited file:
${_f({content:C,startLine:W})}`}};function sB9(I,d,G){let C=(I.split(d)[0]??"").split(/\r?\n/).length-1,W=I.replace(d,G).split(/\r?\n/),w=Math.max(0,C-Sf2),B=C+Sf2+G.split(/\r?\n/).length;return{snippet:W.slice(w,B+1).join(`
`),startLine:w+1}}import{existsSync as xK1,mkdirSync as oB9,readFileSync as yf2,statSync as Pf2}from"fs";var Y5=J1(u1(),1);import{EOL as eB9}from"os";import{dirname as tB9,extname as IA9,isAbsolute as cK1,relative as pK1,resolve as iK1,sep as dA9}from"path";var Lf2=`Write a file to the local filesystem. Overwrites the existing file if there is one.

Before using this tool:

1. Use the ReadFile tool to understand the file's contents and context

2. Directory Verification (only applicable when creating new files):
   - Use the LS tool to verify the parent directory exists and is the correct location`;var nK1=10,$f2=16000,GA9="<response clipped><NOTE>To save on context only part of this file has been shown to you. You should retry this tool after you have searched inside the file with Grep in order to find the line numbers of what you are looking for.</NOTE>",ZA9=s.strictObject({file_path:s.string().describe("The absolute path to the file to write (must be absolute, not relative)"),content:s.string().describe("The content to write to the file")}),R8={name:"Replace",async description(){return"Write a file to the local filesystem."},userFacingName:()=>"Write",async prompt(){return Lf2},inputSchema:ZA9,async isEnabled(){return!0},isReadOnly(){return!1},needsPermissions({file_path:I}){return!OR(I)},renderToolUseMessage(I,{verbose:d}){return`file_path: ${d?I.file_path:pK1(R0(),I.file_path)}`},renderToolUseRejectedMessage({file_path:I,content:d},{columns:G,verbose:Z}){try{let C=cK1(I)?I:iK1(R0(),I),W=xK1(C),w=W?dd(C):"utf-8",B=W?yf2(C,w):null,A=B?"update":"create",V=KX({filePath:I,fileContents:B??"",oldStr:B??"",newStr:d});return Y5.createElement(p,{flexDirection:"column"},Y5.createElement(u,null,"  ","⎿"," ",Y5.createElement(u,{color:r1().error},"User rejected ",A==="update"?"update":"write"," to"," "),Y5.createElement(u,{bold:!0},Z?I:pK1(R0(),I))),hB(V.map((X)=>Y5.createElement(p,{flexDirection:"column",paddingLeft:5,key:X.newStart},Y5.createElement(nZ,{patch:X,dim:!0,width:G-12}))),(X)=>Y5.createElement(p,{paddingLeft:5,key:`ellipsis-${X}`},Y5.createElement(u,{color:r1().secondaryText},"..."))))}catch(C){return X0(C),Y5.createElement(p,{flexDirection:"column"},Y5.createElement(u,null,"  ","⎿ (No changes)"))}},renderToolResultMessage({filePath:I,content:d,structuredPatch:G,type:Z},{verbose:C}){switch(Z){case"create":{let W=d||"(No content)",w=d.split(eB9).length;return Y5.createElement(p,{flexDirection:"column"},Y5.createElement(u,null,"  ","⎿ Wrote ",w," lines to"," ",Y5.createElement(u,{bold:!0},C?I:pK1(R0(),I))),Y5.createElement(p,{flexDirection:"column",paddingLeft:5},Y5.createElement(yB,{code:C?W:W.split(`
`).slice(0,nK1).filter((B)=>B.trim()!=="").join(`
`),language:IA9(I).slice(1)}),!C&&w>nK1&&Y5.createElement(u,{color:r1().secondaryText},"... (+",w-nK1," lines)")))}case"update":return Y5.createElement(To,{filePath:I,structuredPatch:G,verbose:C})}},async validateInput({file_path:I},{readFileTimestamps:d}){let G=cK1(I)?I:iK1(R0(),I);if(!xK1(G))return{result:!0};let Z=d[G];if(!Z)return{result:!1,message:"File has not been read yet. Read it first before writing to it."};if(Pf2(G).mtimeMs>Z)return{result:!1,message:"File has been modified since read, either by the user or by a linter. Read it again before attempting to write it."};return{result:!0}},async*call({file_path:I,content:d},{readFileTimestamps:G}){let Z=cK1(I)?I:iK1(R0(),I),C=tB9(Z),W=xK1(Z),w=W?dd(Z):"utf-8",B=W?yf2(Z,w):null,A=W?Sg(Z):await L40(R0());if(oB9(C,{recursive:!0}),Xf(Z,d,w,A),G[Z]=Pf2(Z).mtimeMs,Z.endsWith(`${dA9}CLAUDE.md`))I0("tengu_write_claudemd",{});if(B){let X=KX({filePath:I,fileContents:B,oldStr:B,newStr:d}),_={type:"update",filePath:I,content:d,structuredPatch:X};yield{type:"result",data:_,resultForAssistant:this.renderResultForAssistant(_)};return}let V={type:"create",filePath:I,content:d,structuredPatch:[]};yield{type:"result",data:V,resultForAssistant:this.renderResultForAssistant(V)}},renderResultForAssistant({filePath:I,content:d,type:G}){switch(G){case"create":return`File created successfully at: ${I}`;case"update":return`The file ${I} has been updated. Here's the result of running \`cat -n\` on a snippet of the edited file:
${_f({content:d.split(/\r?\n/).length>$f2?d.split(/\r?\n/).slice(0,$f2).join(`
`)+GA9:d,startLine:1})}`}}};var kB=J1(u1(),1);import{basename as YA9,extname as _A9}from"path";var uf2=J1(u1(),1);function r3(I){I0("tengu_unary_event",{event:I.event,completion_type:I.completion_type,language_name:I.metadata.language_name,message_id:I.metadata.message_id,platform:I.metadata.platform})}function RH(I,d){uf2.useEffect(()=>{I0("tengu_tool_use_show_permission_request",{messageID:I.assistantMessage.message.id,toolName:I.tool.name}),Promise.resolve(d.language_name).then((Z)=>{r3({completion_type:d.completion_type,event:"response",metadata:{language_name:Z,message_id:I.assistantMessage.message.id,platform:K2.platform}})})},[I,d])}var CA9=new Set(["git status","git diff","git log","git branch","pwd","tree","date","which"]),rK1=(I,d,G)=>{if(CA9.has(d))return!0;if(G.includes(ku(I,{command:d},null)))return!0;if(G.includes(ku(I,{command:d},d)))return!0;return!1},Tf2=(I,d,G,Z)=>{if(rK1(I,d,Z))return!0;return Z.includes(ku(I,{command:d},G))},WA9=async(I,d,G,Z,C=fa)=>{if(rK1(I,d,Z))return{result:!0};let W=NR(d).filter((B)=>{if(B===`cd ${R0()}`)return!1;return!0}),w=await C(d,G.abortController.signal);if(G.abortController.signal.aborted)throw new Ez;if(w===null)return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`};if(w.commandInjectionDetected)if(rK1(I,d,Z))return{result:!0};else return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`};if(W.length<2)if(Tf2(I,d,w.commandPrefix,Z))return{result:!0};else return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`};if(W.every((B)=>{let A=w.subcommandPrefixes.get(B);if(A===void 0||A.commandInjectionDetected)return!1;return Tf2(I,B,A?A.commandPrefix:null,Z)}))return{result:!0};return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`}},UH=async(I,d,G,Z)=>{if(G.options.dangerouslySkipPermissions)return{result:!0};if(G.abortController.signal.aborted)throw new Ez;try{if(!I.needsPermissions(d))return{result:!0}}catch(w){return X0(`Error checking permissions: ${w}`),{result:!1,message:"Error checking permissions"}}let W=I5().allowedTools??[];if(I===G5&&W.includes(G5.name))return{result:!0};switch(I){case G5:{let{command:w}=o$.parse(d);return await WA9(I,w,G,W)}case p7:case R8:case RI:{if(!I.needsPermissions(d))return{result:!0};return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`}}default:{let w=ku(I,d,null);if(W.includes(w))return{result:!0};return{result:!1,message:`Claude requested permissions to use ${I.name}, but you haven't granted it yet.`}}}};async function NX(I,d,G){let Z=ku(I,d,G);if(I===p7||I===R8||I===RI){Vs();return}let C=I5();if(C.allowedTools.includes(Z))return;C.allowedTools.push(Z),C.allowedTools.sort(),o9(C)}function ku(I,d,G){switch(I){case G5:if(G)return`${G5.name}(${G}:*)`;return`${G5.name}(${G5.renderToolUseMessage(d)})`;default:return I.name}}var zX=J1(u1(),1);function Of2(I){return I>=70?"high":I>=30?"moderate":"low"}function wA9(I){let d=r1();switch(I){case"low":return{highlightColor:d.success,textColor:d.permission};case"moderate":return{highlightColor:d.warning,textColor:d.warning};case"high":return{highlightColor:d.error,textColor:d.error}}}function QX(I){if(I===null)return r1().permission;let d=Of2(I);return wA9(d).textColor}function BA9({riskScore:I}){let d=Of2(I);return zX.createElement(u,{color:QX(I)},"Risk: ",d)}function jB({title:I,riskScore:d}){return zX.createElement(p,{flexDirection:"column"},zX.createElement(u,{bold:!0,color:r1().permission},I),d!==null&&zX.createElement(BA9,{riskScore:d}))}var KG=J1(u1(),1),aK1=J1(u1(),1);import{existsSync as AA9,readFileSync as VA9}from"fs";import{relative as XA9}from"path";function ho({file_path:I,new_string:d,old_string:G,verbose:Z,useBorder:C=!0,width:W}){let w=aK1.useMemo(()=>AA9(I)?VA9(I,"utf8"):"",[I]),B=aK1.useMemo(()=>KX({filePath:I,fileContents:w,oldStr:G,newStr:d}),[I,w,G,d]);return KG.createElement(p,{flexDirection:"column"},KG.createElement(p,{borderColor:r1().secondaryBorder,borderStyle:C?"round":void 0,flexDirection:"column",paddingX:1},KG.createElement(p,{paddingBottom:1},KG.createElement(u,{bold:!0},Z?I:XA9(R0(),I))),hB(B.map((A)=>KG.createElement(nZ,{key:A.newStart,patch:A,dim:!1,width:W})),(A)=>KG.createElement(u,{color:r1().secondaryText,key:`ellipsis-${A}`},"..."))))}function DA9(I){let d=As(I)?[{label:"Yes, and don't ask again this session",value:"yes-dont-ask-again"}]:[];return[{label:"Yes",value:"yes"},...d,{label:`No, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"no"}]}function mf2({toolUseConfirm:I,onDone:d,verbose:G}){let{columns:Z}=G9(),{file_path:C,new_string:W,old_string:w}=I.input,B=kB.useMemo(()=>({completion_type:"str_replace_single",language_name:jo(C)}),[C]);return RH(I,B),kB.default.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:QX(I.riskScore),marginTop:1,paddingLeft:1,paddingRight:1,paddingBottom:1},kB.default.createElement(jB,{title:"Edit file",riskScore:I.riskScore}),kB.default.createElement(ho,{file_path:C,new_string:W,old_string:w,verbose:G,width:Z-12}),kB.default.createElement(p,{flexDirection:"column"},kB.default.createElement(u,null,"Do you want to make this edit to"," ",kB.default.createElement(u,{bold:!0},YA9(C)),"?"),kB.default.createElement(Q6,{options:DA9(C),onChange:(A)=>{switch(A){case"yes":jo(C).then((V)=>{r3({completion_type:"str_replace_single",event:"accept",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),d(),I.onAllow("temporary");break;case"yes-dont-ask-again":jo(C).then((V)=>{r3({completion_type:"str_replace_single",event:"accept",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),NX(I.tool,I.input,xB(I)).then(()=>{d(),I.onAllow("permanent")});break;case"no":jo(C).then((V)=>{r3({completion_type:"str_replace_single",event:"reject",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),d(),I.onReject();break}}})))}async function jo(I){let d=_A9(I);if(!d)return"unknown";return(await Promise.resolve().then(() => J1(UR(),1))).default.getLanguage(d.slice(1))?.name??"unknown"}var SW=J1(u1(),1);var lf2=J1(u1(),1);function bf2(I,d){lf2.useEffect(()=>{I0("tengu_tool_use_show_permission_request",{messageID:I.assistantMessage.message.id,toolName:I.tool.name}),Promise.resolve(d.language_name).then((Z)=>{r3({completion_type:d.completion_type,event:"response",metadata:{language_name:Z,message_id:I.assistantMessage.message.id,platform:K2.platform}})})},[I,d])}function xu(I,{assistantMessage:{message:{id:d}}},G){r3({completion_type:I,event:G,metadata:{language_name:"none",message_id:d,platform:K2.platform}})}function hf2({toolUseConfirm:I,command:d}){let G=!nW2(d)&&I.commandPrefix&&!I.commandPrefix.commandInjectionDetected,Z=xB(I),C=G&&Z!==null,W=[];if(C)W=[{label:`Yes, and don't ask again for ${c0.bold(Z)} commands in ${c0.bold(R0())}`,value:"yes-dont-ask-again-prefix"}];else if(G)W=[{label:`Yes, and don't ask again for ${c0.bold(d)} commands in ${c0.bold(R0())}`,value:"yes-dont-ask-again-full"}];return[{label:"Yes",value:"yes"},...W,{label:`No, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"no"}]}function jf2({toolUseConfirm:I,onDone:d}){let G=r1(),{command:Z}=G5.inputSchema.parse(I.input),C=SW.useMemo(()=>({completion_type:"tool_use_single",language_name:"none"}),[]);return bf2(I,C),SW.default.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:G.permission,marginTop:1,paddingLeft:1,paddingRight:1,paddingBottom:1},SW.default.createElement(jB,{title:"Bash command",riskScore:I.riskScore}),SW.default.createElement(p,{flexDirection:"column",paddingX:2,paddingY:1},SW.default.createElement(u,null,G5.renderToolUseMessage({command:Z})),SW.default.createElement(u,{color:G.secondaryText},I.description)),SW.default.createElement(p,{flexDirection:"column"},SW.default.createElement(u,null,"Do you want to proceed?"),SW.default.createElement(N_,{options:hf2({toolUseConfirm:I,command:Z}),onChange:(W)=>{switch(W){case"yes":xu("tool_use_single",I,"accept"),I.onAllow("temporary"),d();break;case"yes-dont-ask-again-prefix":{let w=xB(I);if(w!==null)xu("tool_use_single",I,"accept"),NX(I.tool,I.input,w).then(()=>{I.onAllow("permanent"),d()});break}case"yes-dont-ask-again-full":xu("tool_use_single",I,"accept"),NX(I.tool,I.input,null).then(()=>{I.onAllow("permanent"),d()});break;case"no":xu("tool_use_single",I,"reject"),I.onReject(),d();break}}})))}var sZ=J1(u1(),1);function ko({toolUseConfirm:I,onDone:d,verbose:G}){let Z=r1(),C=I.tool.userFacingName(I.input),W=C.endsWith(" (MCP)")?C.slice(0,-6):C,w=sZ.useMemo(()=>({completion_type:"tool_use_single",language_name:"none"}),[]);return RH(I,w),sZ.default.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:QX(I.riskScore),marginTop:1,paddingLeft:1,paddingRight:1,paddingBottom:1},sZ.default.createElement(jB,{title:"Tool use",riskScore:I.riskScore}),sZ.default.createElement(p,{flexDirection:"column",paddingX:2,paddingY:1},sZ.default.createElement(u,null,W,"(",I.tool.renderToolUseMessage(I.input,{verbose:G}),")",C.endsWith(" (MCP)")?sZ.default.createElement(u,{color:Z.secondaryText}," (MCP)"):""),sZ.default.createElement(u,{color:Z.secondaryText},I.description)),sZ.default.createElement(p,{flexDirection:"column"},sZ.default.createElement(u,null,"Do you want to proceed?"),sZ.default.createElement(Q6,{options:[{label:"Yes",value:"yes"},{label:`Yes, and don't ask again for ${c0.bold(W)} commands in ${c0.bold(R0())}`,value:"yes-dont-ask-again"},{label:`No, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"no"}],onChange:(B)=>{switch(B){case"yes":r3({completion_type:"tool_use_single",event:"accept",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),I.onAllow("temporary"),d();break;case"yes-dont-ask-again":r3({completion_type:"tool_use_single",event:"accept",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),NX(I.tool,I.input,xB(I)).then(()=>{I.onAllow("permanent"),d()});break;case"no":r3({completion_type:"tool_use_single",event:"reject",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),I.onReject(),d();break}}})))}var sK1=J1(u1(),1);var HA9=6000,kf2={lastInteractionTime:Date.now()};function xf2(){kf2.lastInteractionTime=Date.now()}function FA9(){return Date.now()-kf2.lastInteractionTime}function gA9(I){return FA9()<I}function JA9(I){return!gA9(I)}var KA9=a2(()=>process.stdin.on("data",xf2));function xo(I,d=HA9){sK1.useEffect(()=>{KA9(),xf2()},[]),sK1.useEffect(()=>{let G=!1,Z=setInterval(()=>{if(JA9(d)&&!G)G=!0,es({message:I})},d);return()=>clearTimeout(Z)},[I,d])}var oZ=J1(u1(),1);import{basename as qA9,extname as RA9}from"path";import{existsSync as UA9}from"fs";var NG=J1(u1(),1),co=J1(u1(),1);import{existsSync as NA9,readFileSync as zA9}from"fs";import{extname as QA9,relative as fA9}from"path";function po({file_path:I,content:d,verbose:G,width:Z}){let C=co.useMemo(()=>NA9(I),[I]),W=co.useMemo(()=>{if(!C)return"";let B=dd(I);return zA9(I,B)},[I,C]),w=co.useMemo(()=>{if(!C)return null;return KX({filePath:I,fileContents:W,oldStr:W,newStr:d})},[C,I,W,d]);return NG.createElement(p,{borderColor:r1().secondaryBorder,borderStyle:"round",flexDirection:"column",paddingX:1},NG.createElement(p,{paddingBottom:1},NG.createElement(u,{bold:!0},G?I:fA9(R0(),I))),w?hB(w.map((B)=>NG.createElement(nZ,{key:B.newStart,patch:B,dim:!1,width:Z})),(B)=>NG.createElement(u,{color:r1().secondaryText,key:`ellipsis-${B}`},"...")):NG.createElement(yB,{code:d||"(No content)",language:QA9(I).slice(1)}))}function cf2({toolUseConfirm:I,onDone:d,verbose:G}){let{file_path:Z,content:C}=I.input,W=oZ.useMemo(()=>UA9(Z),[Z]),w=oZ.useMemo(()=>({completion_type:"write_file_single",language_name:io(Z)}),[Z]),{columns:B}=G9();return RH(I,w),oZ.default.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:QX(I.riskScore),marginTop:1,paddingLeft:1,paddingRight:1,paddingBottom:1},oZ.default.createElement(jB,{title:`${W?"Edit":"Create"} file`,riskScore:I.riskScore}),oZ.default.createElement(p,{flexDirection:"column"},oZ.default.createElement(po,{file_path:Z,content:C,verbose:G,width:B-12})),oZ.default.createElement(p,{flexDirection:"column"},oZ.default.createElement(u,null,"Do you want to ",W?"make this edit to":"create"," ",oZ.default.createElement(u,{bold:!0},qA9(Z)),"?"),oZ.default.createElement(Q6,{options:[{label:"Yes",value:"yes"},{label:"Yes, and don't ask again this session",value:"yes-dont-ask-again"},{label:`No, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"no"}],onChange:(A)=>{switch(A){case"yes":io(Z).then((V)=>{r3({completion_type:"write_file_single",event:"accept",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),I.onAllow("temporary"),d();break;case"yes-dont-ask-again":io(Z).then((V)=>{r3({completion_type:"write_file_single",event:"accept",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),NX(I.tool,I.input,xB(I)).then(()=>{I.onAllow("permanent"),d()});break;case"no":io(Z).then((V)=>{r3({completion_type:"write_file_single",event:"reject",metadata:{language_name:V,message_id:I.assistantMessage.message.id,platform:K2.platform}})}),I.onReject(),d();break}}})))}async function io(I){let d=RA9(I);if(!d)return"unknown";return(await Promise.resolve().then(() => J1(UR(),1))).default.getLanguage(d.slice(1))?.name??"unknown"}var eZ=J1(u1(),1);function vA9(I){switch(I.tool){case R8:case p7:case Fd:return"file_path";case A7:case Kd:case zI:return"path";case RI:case VH:return"notebook_path"}return null}function EA9(I){switch(I.tool){case A7:case Kd:case zI:return!0}return!1}function MA9(I){let d=vA9(I),G=I.input;if(d&&d in G)if(typeof G[d]==="string")return BX(G[d]);else return BX(R0());return null}function pf2({toolUseConfirm:I,onDone:d,verbose:G}){let Z=MA9(I);if(!Z)return eZ.default.createElement(ko,{toolUseConfirm:I,onDone:d,verbose:G});return eZ.default.createElement(LA9,{toolUseConfirm:I,path:Z,onDone:d,verbose:G})}function SA9(I,d){if(I.tool.isReadOnly())return[];return As(d)?[{label:"Yes, and don't ask again for file edits this session",value:"yes-dont-ask-again"}]:[]}function LA9({toolUseConfirm:I,path:d,onDone:G,verbose:Z}){let C=I.tool.userFacingName(I.input),w=`${I.tool.isReadOnly()?"Read":"Edit"} ${EA9(I)?"files":"file"}`,B=eZ.useMemo(()=>({completion_type:"tool_use_single",language_name:"none"}),[]);return RH(I,B),eZ.default.createElement(p,{flexDirection:"column",borderStyle:"round",borderColor:QX(I.riskScore),marginTop:1,paddingLeft:1,paddingRight:1,paddingBottom:1},eZ.default.createElement(jB,{title:w,riskScore:I.riskScore}),eZ.default.createElement(p,{flexDirection:"column",paddingX:2,paddingY:1},eZ.default.createElement(u,null,C,"(",I.tool.renderToolUseMessage(I.input,{verbose:Z}),")")),eZ.default.createElement(p,{flexDirection:"column"},eZ.default.createElement(u,null,"Do you want to proceed?"),eZ.default.createElement(Q6,{options:[{label:"Yes",value:"yes"},...SA9(I,d),{label:`No, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"no"}],onChange:(A)=>{switch(A){case"yes":r3({completion_type:"tool_use_single",event:"accept",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),I.onAllow("temporary"),G();break;case"yes-dont-ask-again":r3({completion_type:"tool_use_single",event:"accept",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),Vs(),I.onAllow("permanent"),G();break;case"no":r3({completion_type:"tool_use_single",event:"reject",metadata:{language_name:"none",message_id:I.assistantMessage.message.id,platform:K2.platform}}),I.onReject(),G();break}}})))}function yA9(I){switch(I){case p7:return mf2;case R8:return cf2;case G5:return jf2;case A7:case Kd:case zI:case Fd:case VH:case RI:return pf2;default:return ko}}function xB(I){return I.commandPrefix&&!I.commandPrefix.commandInjectionDetected&&I.commandPrefix.commandPrefix||null}function if2({toolUseConfirm:I,onDone:d,verbose:G}){C4((W,w)=>{if(w.ctrl&&W==="c")d(),I.onReject()});let Z=I.tool.userFacingName(I.input);xo(`Claude needs your permission to use ${Z}`);let C=yA9(I.tool);return oK1.createElement(C,{toolUseConfirm:I,onDone:d,verbose:G})}import{exec as PA9}from"child_process";import{promisify as $A9}from"util";var nf2=$A9(PA9);async function uA9(){if(K2.platform==="windows")return[];if(!await eG())return[];try{let I="",{stdout:d}=await nf2("git log -n 1000 --pretty=format: --name-only --diff-filter=M --author=$(git config user.email) | sort | uniq -c | sort -nr | head -n 20",{cwd:R0(),encoding:"utf8"});if(I=`Files modified by user:
`+d,d.split(`
`).length<10){let{stdout:W}=await nf2("git log -n 1000 --pretty=format: --name-only --diff-filter=M | sort | uniq -c | sort -nr | head -n 20",{cwd:R0(),encoding:"utf8"});I+=`

Files modified by other users:
`+W}let Z=(await jZ({systemPrompt:["You are an expert at analyzing git history. Given a list of files and their modification counts, return exactly five filenames that are frequently modified and represent core application logic (not auto-generated files, dependencies, or configuration). Make sure filenames are diverse, not all in the same folder, and are a mix of user and other users. Return only the filenames' basenames (without the path) separated by newlines with no explanation."],userPrompt:I})).message.content[0];if(!Z||Z.type!=="text")return[];let C=Z.text.trim().split(`
`);if(C.length<5)return[];return C}catch(I){return X0(I),[]}}var no=a2(async()=>{let I=q2(),d=I5(),G=Date.now(),Z=d.exampleFilesGeneratedAt??0,C=604800000;if(G-Z>604800000)d.exampleFiles=[];let W={...I,numStartups:(I.numStartups??0)+1};if(p4(W),!d.exampleFiles?.length)uA9().then((B)=>{if(B.length)o9({...I5(),exampleFiles:B,exampleFilesGeneratedAt:Date.now()})});let w=d.exampleFiles?.length?mF(d.exampleFiles):"<filepath>";return["fix lint errors","fix typecheck errors",`how does ${w} work?`,`refactor ${w}`,"how do I log an error?",`edit ${w} to...`,`write a test for ${w}`,"create a util logging.py that..."]});var Y2=J1(u1(),1);var tK1=J1(u1(),1);var TA9=100;function eK1(){return I5().history??[]}function vH(I){let d=I5(),G=d.history??[];if(G[0]===I)return;G.unshift(I),o9({...d,history:G.slice(0,TA9)})}function rf2(I,d){let[G,Z]=tK1.useState(0),[C,W]=tK1.useState(""),w=(X)=>{if(X!==void 0){let _=X.startsWith("!")?"bash":"prompt",F=_==="bash"?X.slice(1):X;I(F,_)}};function B(){let X=eK1();if(G<X.length){if(G===0&&d.trim()!=="")W(d);let _=G+1;Z(_),w(X[G])}}function A(){let X=eK1();if(G>1){let _=G-1;Z(_),w(X[_-1])}else if(G===1)Z(0),w(C)}function V(){W(""),Z(0)}return{historyIndex:G,setHistoryIndex:Z,onHistoryUp:B,onHistoryDown:A,resetHistory:V}}var cu=J1(u1(),1);function af2({commands:I,onInputChange:d,onSubmit:G,setCursorOffset:Z}){let[C,W]=cu.useState([]),[w,B]=cu.useState(-1);function A(X){if(X.startsWith("/")){let _=X.slice(1).toLowerCase(),g=I.filter((K)=>!K.isHidden).filter((K)=>{let Q=[K.userFacingName()];if(K.aliases)Q.push(...K.aliases);return Q.some((E)=>E.toLowerCase().startsWith(_))}).map((K)=>K.userFacingName());W(g);let J=w>-1?g.indexOf(C[w]):0;if(J>-1)B(J);else B(0)}else W([]),B(-1)}C4((X,_)=>{if(C.length>0){if(_.downArrow)return B((F)=>F>=C.length-1?0:F+1),!0;else if(_.upArrow)return B((F)=>F<=0?C.length-1:F-1),!0;else if(_.tab||_.return&&w>=0){if(w===-1&&_.tab)B(0);let F=w>=0?w:0,g=C[F];if(!g)return!0;let J="/"+g+" ";if(d(J),Z(J.length),W([]),B(-1),_.return){let K=No(g,I);if(K.type!=="prompt"||(K.argNames??[]).length===0)G(J,!0)}return!0}}});let V=cu.useCallback(()=>{W([]),B(-1)},[]);return{suggestions:C,selectedSuggestion:w,updateSuggestions:A,clearSuggestions:V}}var V7=J1(u1(),1);var sf2=J1(u1(),1);class ro extends sf2.Component{constructor(I){super(I);this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(I){bl(I)}render(){if(this.state.hasError)return null;return this.props.children}}var J9=J1(u1(),1);var of2=J1(Fk(),1),ao=J1(u1(),1);function IN1({debug:I,isUpdating:d,onChangeIsUpdating:G,onAutoUpdaterResult:Z,autoUpdaterResult:C}){let W=r1(),[w,B]=ao.useState({}),A=J9.useCallback(async()=>{if(d)return;let V={ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,X=await fz2(),_=await Ul1();if(B({global:V,latest:X}),!_&&V&&X&&!of2.gte(V,X)){let F=Date.now();G(!0);let g=await rs();if(G(!1),g==="success")I0("tengu_auto_updater_success",{fromVersion:V,toVersion:X,durationMs:String(Date.now()-F)});else I0("tengu_auto_updater_fail",{fromVersion:V,attemptedVersion:X,status:g,durationMs:String(Date.now()-F)});Z({version:X,status:g})}},[Z]);if(ao.useEffect(()=>{A()},[A]),Uo(A,1800000),I)return J9.createElement(p,{flexDirection:"row"},J9.createElement(u,{dimColor:!0},"globalVersion: ",w.global," · latestVersion:"," ",w.latest));if(!C?.version&&(!w.global||!w.latest))return null;if(!C?.version&&!d)return null;return J9.createElement(p,{flexDirection:"row"},I&&J9.createElement(u,{dimColor:!0},"globalVersion: ",w.global," · latestVersion:"," ",w.latest),d&&J9.createElement(J9.Fragment,null,J9.createElement(p,null,J9.createElement(u,{color:W.secondaryText,dimColor:!0,wrap:"end"},"Auto-updating to v",w.latest,"…"))),C?.status==="success"&&C?.version?J9.createElement(u,{color:W.success},"✓ Update installed · Restart to apply"):null,(C?.status==="install_failed"||C?.status==="no_permissions")&&J9.createElement(u,{color:W.error},"✗ Auto-update failed · Try ",J9.createElement(u,{bold:!0},"claude doctor")," or"," ",J9.createElement(u,{bold:!0},"npm i -g ",{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.PACKAGE_URL)))}var pu=J1(u1(),1);var dN1=190000,GN1=dN1*0.6,OA9=dN1*0.8;function ZN1({tokenUsage:I}){let d=r1();if(I<GN1)return null;let G=I>=OA9;return pu.createElement(p,{flexDirection:"row"},pu.createElement(u,{color:G?d.error:d.warning},"Context low (",Math.max(0,100-Math.round(I/dN1*100)),"% remaining) · Run /compact to compact & continue"))}function ef2(I){return`[Pasted text +${(I.match(/\r\n|\r|\n/g)||[]).length} lines] `}function mA9({commands:I,forkNumber:d,messageLogName:G,isDisabled:Z,isLoading:C,onQuery:W,debug:w,verbose:B,messages:A,setToolJSX:V,onAutoUpdaterResult:X,autoUpdaterResult:_,tools:F,input:g,onInputChange:J,mode:K,onModeChange:Q,submitCount:E,onSubmitCountChange:S,setIsLoading:P,setAbortController:$,onShowMessageSelector:h,setForkConvoWithMessagesOnTheNextRender:O,readFileTimestamps:T}){let[V1,c]=V7.useState(!1),[c1,o1]=V7.useState({show:!1}),[a1,f1]=V7.useState({show:!1}),[r,A1]=V7.useState(null),[m1,T1]=V7.useState(""),[e1,F0]=V7.useState(g.length),[P0,B0]=V7.useState(null);V7.useEffect(()=>{no().then((W1)=>{T1(`Try "${mF(W1)}"`)})},[]);let{columns:a0}=G9(),e=V7.useMemo(()=>Math.max(...I.map((W1)=>W1.userFacingName().length))+5,[I]),{suggestions:G0,selectedSuggestion:H1,updateSuggestions:j1,clearSuggestions:i1}=af2({commands:I,onInputChange:J,onSubmit:F1,setCursorOffset:F0}),E0=V7.useCallback((W1)=>{if(W1.startsWith("!")){Q("bash");return}j1(W1),J(W1)},[Q,J,j1]),{resetHistory:k,onHistoryUp:a,onHistoryDown:Z1}=rf2((W1,U1)=>{E0(W1),Q(U1)},g),Q1=()=>{if(G0.length<=1)a()},N1=()=>{if(G0.length<=1)Z1()};async function F1(W1,U1=!1){if(W1==="")return;if(Z)return;if(C)return;if(G0.length>0&&!U1)return;if(["exit","quit",":q",":q!",":wq",":wq!"].includes(W1.trim()))lA9();let L1=W1;if(P0){let i0=ef2(P0);if(L1.includes(i0))L1=L1.replace(i0,P0)}J(""),Q("prompt"),i1(),A1(null),B0(null),S((i0)=>i0+1),P(!0);let D0=new AbortController;$(D0);let O0=await K6(),k0=await Qo(L1,K,V,{options:{commands:I,forkNumber:d,messageLogName:G,tools:F,verbose:B,slowAndCapableModel:O0,maxThinkingTokens:0},messageId:void 0,abortController:D0,readFileTimestamps:T,setForkConvoWithMessagesOnTheNextRender:O},r??null);if(k0.length)W(k0,D0);else{vH(W1),k();return}for(let i0 of k0)if(i0.type==="user"){let s0=K==="bash"?`!${W1}`:W1;vH(s0),k()}}function O1(W1){Q("prompt"),A1(W1)}function K1(W1){let U1=W1.replace(/\r/g,`
`),L1=ef2(U1),D0=g.slice(0,e1)+L1+g.slice(e1);J(D0),F0(e1+L1.length),B0(U1)}C4((W1,U1)=>{if(g===""&&(U1.escape||U1.backspace||U1.delete))Q("prompt");if(U1.escape&&A.length>0&&!g&&!C)h()});let R1=G9().columns-6,h1=V7.useMemo(()=>oD(A),[A]),j=r1();return Y2.createElement(p,{flexDirection:"column"},Y2.createElement(p,{alignItems:"flex-start",justifyContent:"flex-start",borderColor:K==="bash"?j.bashBorder:j.secondaryBorder,borderDimColor:!0,borderStyle:"round",marginTop:1,width:"100%"},Y2.createElement(p,{alignItems:"flex-start",alignSelf:"flex-start",flexWrap:"nowrap",justifyContent:"flex-start",width:3},K==="bash"?Y2.createElement(u,{color:j.bashBorder}," ! "):Y2.createElement(u,{color:C?j.secondaryText:void 0}," > ")),Y2.createElement(p,{paddingRight:1},Y2.createElement(mC,{multiline:!0,onSubmit:F1,onChange:E0,value:g,onHistoryUp:Q1,onHistoryDown:N1,onHistoryReset:()=>k(),placeholder:E>0?void 0:m1,onExit:()=>process.exit(0),onExitMessage:(W1,U1)=>o1({show:W1,key:U1}),onMessage:(W1,U1)=>f1({show:W1,text:U1}),onImagePaste:O1,columns:R1,isDimmed:Z||C,disableCursorMovementForUpDownKeys:G0.length>0,cursorOffset:e1,onChangeCursorOffset:F0,onPaste:K1}))),G0.length===0&&Y2.createElement(p,{flexDirection:"row",justifyContent:"space-between",paddingX:2,paddingY:0},Y2.createElement(p,{justifyContent:"flex-start",gap:1},c1.show?Y2.createElement(u,{dimColor:!0},"Press ",c1.key," again to exit"):a1.show?Y2.createElement(u,{dimColor:!0},a1.text):Y2.createElement(Y2.Fragment,null,Y2.createElement(u,{color:K==="bash"?j.bashBorder:void 0,dimColor:K!=="bash"},"! for bash mode"),Y2.createElement(u,{dimColor:!0},"· / for commands · esc to undo"))),Y2.createElement(ro,null,Y2.createElement(p,{justifyContent:"flex-end",gap:1},!_&&!V1&&!w&&h1<GN1&&Y2.createElement(u,{dimColor:!0},NQ.isEnabled&&Xi1()?"shift + ⏎ for newline":"\\⏎ for newline"),w&&Y2.createElement(u,{dimColor:!0},`${oD(A)} tokens (${Math.round(1e4*(rC2(A)||1)/(oD(A)||1))/100}% cached)`),Y2.createElement(ZN1,{tokenUsage:h1}),Y2.createElement(IN1,{debug:w,onAutoUpdaterResult:X,autoUpdaterResult:_,isUpdating:V1,onChangeIsUpdating:c})))),G0.length>0&&Y2.createElement(p,{flexDirection:"row",justifyContent:"space-between",paddingX:2,paddingY:0},Y2.createElement(p,{flexDirection:"column"},G0.map((W1,U1)=>{let L1=I.find((D0)=>D0.userFacingName()===W1.replace("/",""));return Y2.createElement(p,{key:W1,flexDirection:a0<80?"column":"row"},Y2.createElement(p,{width:a0<80?void 0:e},Y2.createElement(u,{color:U1===H1?j.suggestion:void 0,dimColor:U1!==H1},"/",W1,L1?.aliases&&L1.aliases.length>0&&Y2.createElement(u,{dimColor:!0}," (",L1.aliases.join(", "),")"))),L1&&Y2.createElement(p,{width:a0-(a0<80?4:e+4),paddingLeft:a0<80?4:0},Y2.createElement(u,{color:U1===H1?j.suggestion:void 0,dimColor:U1!==H1,wrap:"wrap"},Y2.createElement(u,{dimColor:U1!==H1},L1.description,L1.type==="prompt"&&L1.argNames?.length?` (arguments: ${L1.argNames.join(", ")})`:null))))})),Y2.createElement(ro,null,Y2.createElement(p,{justifyContent:"flex-end",gap:1},Y2.createElement(ZN1,{tokenUsage:oD(A)}),Y2.createElement(IN1,{debug:w,onAutoUpdaterResult:X,autoUpdaterResult:_,isUpdating:V1,onChangeIsUpdating:c})))))}var tf2=V7.memo(mA9);function lA9(){fJ1(""),process.exit(0)}var Iq2=J1(u1(),1);function dq2(){Iq2.useEffect(()=>{let I=Math.round(process.uptime()*1000);I0("tengu_timer",{event:"startup",durationMs:String(I)})},[])}var iu=J1(u1(),1);function Gq2(){let[I,d]=iu.useState(()=>{return vw()?"loading":"missing"}),[G,Z]=iu.useState(null),C=iu.useCallback(async()=>{if(Lb()){d("valid");return}let W=vw();if(!W){d("missing");return}try{let B=await aK2(W)?"valid":"invalid";d(B);return}catch(w){Z(w),d("error");return}},[]);return{status:I,reverify:C,error:G}}function Zq2(I,d,G,Z,C,W,w){C4((B,A)=>{if(!A.escape)return;if(w?.aborted)return;if(!w)return;if(!C)return;if(W)return;I0("tengu_cancel",{}),I(null),d(null),G(null),Z()})}var Cq2=J1(u1(),1);function bA9(I){return Cq2.useCallback(async(d,G,Z,C)=>{return new Promise((W)=>{function w(){I0("tengu_tool_use_cancelled",{messageID:C.message.id,toolName:d.name})}function B(){W({result:!1,message:fu}),Z.abortController.abort()}if(Z.abortController.signal.aborted){w(),B();return}return UH(d,G,Z,C).then(async(A)=>{if(A.result){I0("tengu_tool_use_granted_in_config",{messageID:C.message.id,toolName:d.name}),W({result:!0});return}let[V,X]=await Promise.all([d.description(G),d===G5?fa(o$.parse(G).command,Z.abortController.signal):Promise.resolve(null)]);if(Z.abortController.signal.aborted){w(),B();return}I({assistantMessage:C,tool:d,description:V,input:G,commandPrefix:X,riskScore:null,onAbort(){w(),I0("tengu_tool_use_rejected_in_prompt",{messageID:C.message.id,toolName:d.name}),B()},onAllow(_){if(_==="permanent")I0("tengu_tool_use_granted_in_prompt_permanent",{messageID:C.message.id,toolName:d.name});else I0("tengu_tool_use_granted_in_prompt_temporary",{messageID:C.message.id,toolName:d.name});W({result:!0})},onReject(){I0("tengu_tool_use_rejected_in_prompt",{messageID:C.message.id,toolName:d.name}),B()}})}).catch((A)=>{if(A instanceof Ez)w(),B();else X0(A)})})},[I])}var Wq2=bA9;var wq2=J1(u1(),1);function Bq2(I,d,G){wq2.useEffect(()=>{Wz(DY(d,G,0),I.filter((Z)=>Z.type!=="progress"))},[I,d,G])}function so(I){return I.message.content.map((d)=>{if(d.type==="text")return"text";if(d.type==="tool_use")return d.name;return d.type})}async function Xq2(I,d,G){let Z=I.message.model,C=d.message.model,W=await qb();I0("tengu_binary_feedback",{msg_id_A:I.message.id,msg_id_B:d.message.id,choice:{"prefer-left":I.message.id,"prefer-right":d.message.id,neither:void 0,"no-preference":void 0}[G],choiceStr:G,gitHead:W?.commitHash,gitBranch:W?.branchName,gitRepoRemoteUrl:W?.remoteUrl||void 0,gitRepoIsHeadOnRemote:W?.isHeadOnRemote?.toString(),gitRepoIsClean:W?.isClean?.toString(),modelA:Z,modelB:C,temperatureA:String(t$),temperatureB:String(t$),seqA:String(so(I)),seqB:String(so(d))})}async function Aq2(I,d,G,Z){I0("tengu_binary_feedback_display_decision",{decision:I.toString(),reason:Z,msg_id_A:d.message.id,msg_id_B:G.message.id,seqA:String(so(d)),seqB:String(so(G))})}function hA9(I,d){return I.text===d.text}function jA9(I,d){if(I.type!==d.type)return!1;if(I.type==="text")return hA9(I,d);return d=d,I.name===d.name&&n01(I.input,d.input)}function Vq2(I,d){if(I.length!==d.length)return!1;return a01(I,d).every(([G,Z])=>jA9(G,Z))}function Yq2(I,d){let G=()=>Aq2(!0,I,d),Z=(B)=>Aq2(!1,I,d,B),C=I.message.content.filter((B)=>B.type!=="thinking"&&B.type!=="redacted_thinking"),W=d.message.content.filter((B)=>B.type!=="thinking"&&B.type!=="redacted_thinking");if(!(C.some((B)=>B.type==="tool_use")||W.some((B)=>B.type==="tool_use"))){if(Vq2(C,W))return Z("contents_identical"),!1;return G(),!0}if(Vq2(C.filter((B)=>B.type==="tool_use"),W.filter((B)=>B.type==="tool_use")))return Z("contents_identical"),!1;return G(),!0}function _q2(I,d,G){switch(G){case"prefer-left":return{message:I,shouldSkipPermissionCheck:!0};case"prefer-right":return{message:d,shouldSkipPermissionCheck:!0};case"no-preference":return{message:Math.random()<0.5?I:d,shouldSkipPermissionCheck:!1};case"neither":return{message:null,shouldSkipPermissionCheck:!1}}}var kA9=10;async function xA9(I,d,G){{let W=await d();if(I.abortController.signal.aborted)return{message:null,shouldSkipPermissionCheck:!1};return{message:W,shouldSkipPermissionCheck:!1}}let[Z,C]=await Promise.all([d(),d()]);if(I.abortController.signal.aborted)return{message:null,shouldSkipPermissionCheck:!1};if(C.isApiErrorMessage)return{message:Z,shouldSkipPermissionCheck:!1};if(Z.isApiErrorMessage)return{message:C,shouldSkipPermissionCheck:!1};if(!Yq2(Z,C))return{message:Z,shouldSkipPermissionCheck:!1};return await G(Z,C)}async function*cB(I,d,G,Z,C,W){let w=oK2(d,G);function B(){return bs(sR(I),w,C.options.maxThinkingTokens,C.options.tools,C.abortController.signal,{dangerouslySkipPermissions:C.options.dangerouslySkipPermissions??!1,model:C.options.slowAndCapableModel,prependCLISysprompt:!0})}let A=await xA9(C,B,W);if(A.message===null){yield q8(KW);return}let{message:V,shouldSkipPermissionCheck:X}=A;yield V;let _=V.message.content.filter((J)=>J.type==="tool_use");if(!_.length)return;let F=[];if(_.every((J)=>C.options.tools.find((K)=>K.name===J.name)?.isReadOnly())){for await(let J of cA9(_,V,Z,C,X))if(yield J,J.type==="user")F.push(J)}else for await(let J of pA9(_,V,Z,C,X))if(yield J,J.type==="user")F.push(J);if(C.abortController.signal.aborted){yield q8(_X);return}let g=F.sort((J,K)=>{let Q=_.findIndex((S)=>S.id===J.message.content[0].id),E=_.findIndex((S)=>S.id===K.message.content[0].id);return Q-E});yield*await cB([...I,V,...g],d,G,Z,C,W)}async function*cA9(I,d,G,Z,C){yield*GN2(I.map((W)=>Dq2(W,new Set(I.map((w)=>w.id)),d,G,Z,C)),kA9)}async function*pA9(I,d,G,Z,C){for(let W of I)yield*Dq2(W,new Set(I.map((w)=>w.id)),d,G,Z,C)}async function*Dq2(I,d,G,Z,C,W){let w=I.name,B=C.options.tools.find((V)=>V.name===w);if(!B){I0("tengu_tool_use_error",{error:`No such tool available: ${w}`,messageID:G.message.id,toolName:w,toolUseID:I.id}),yield p9([{type:"tool_result",content:`Error: No such tool available: ${w}`,is_error:!0,tool_use_id:I.id}]);return}let A=I.input;try{if(C.abortController.signal.aborted){I0("tengu_tool_use_cancelled",{toolName:B.name,toolUseID:I.id}),yield p9([fQ2(I.id)]);return}for await(let V of nA9(B,I.id,d,A,C,Z,G,W))yield V}catch(V){X0(V)}}function iA9(I,d){switch(I){case G5:{let{command:G,timeout:Z}=G5.inputSchema.parse(d);return{command:G.replace(`cd ${R0()} && `,""),...Z?{timeout:Z}:{}}}default:return d}}async function*nA9(I,d,G,Z,C,W,w,B){let A=I.inputSchema.safeParse(Z);if(!A.success){I0("tengu_tool_use_error",{error:`InputValidationError: ${A.error.message}`,messageID:w.message.id,toolName:I.name,toolInput:JSON.stringify(Z).slice(0,200)}),yield p9([{type:"tool_result",content:`InputValidationError: ${A.error.message}`,is_error:!0,tool_use_id:d}]);return}let V=iA9(I,Z),X=await I.validateInput?.(V,C);if(X?.result===!1){I0("tengu_tool_use_error",{error:X?.message.slice(0,2000),messageID:w.message.id,toolName:I.name,toolInput:JSON.stringify(Z).slice(0,200),...X?.meta??{}}),yield p9([{type:"tool_result",content:X.message,is_error:!0,tool_use_id:d}]);return}let _=B?{result:!0}:await W(I,V,C,w);if(_.result===!1){yield p9([{type:"tool_result",content:_.message,is_error:!0,tool_use_id:d}]);return}try{let F=I.call(V,C,W);for await(let g of F)switch(g.type){case"result":I0("tengu_tool_use_success",{messageID:w.message.id,toolName:I.name}),yield p9([{type:"tool_result",content:g.resultForAssistant,tool_use_id:d}],{data:g.data,resultForAssistant:g.resultForAssistant});return;case"progress":I0("tengu_tool_use_progress",{messageID:w.message.id,toolName:I.name}),yield QQ2(d,G,g.content,g.normalizedMessages,g.tools)}}catch(F){let g=rA9(F);X0(F),I0("tengu_tool_use_error",{error:g.slice(0,2000),messageID:w.message.id,toolName:I.name,toolInput:JSON.stringify(Z).slice(0,1000)}),yield p9([{type:"tool_result",content:g,is_error:!0,tool_use_id:d}])}}function rA9(I){if(!(I instanceof Error))return String(I);let d=[I.message];if("stderr"in I&&typeof I.stderr==="string")d.push(I.stderr);if("stdout"in I&&typeof I.stdout==="string")d.push(I.stdout);let G=d.filter(Boolean).join(`
`);if(G.length<=1e4)return G;let Z=5000,C=G.slice(0,Z),W=G.slice(-Z);return`${C}

... [${G.length-1e4} characters truncated] ...

${W}`}var oo=J1(u1(),1);var a3=J1(u1(),1);var LW=J1(u1(),1);function CN1({debug:I,erroredToolUseIDs:d,inProgressToolUseIDs:G,message:Z,normalizedMessages:C,tools:W,unresolvedToolUseIDs:w,verbose:B}){let{columns:A}=G9();return QW([Z]).filter((V)=>V.type!=="progress").map((V,X)=>LW.createElement(p,{flexDirection:"column",key:X},LW.createElement(fH,{addMargin:!1,erroredToolUseIDs:d,debug:I,inProgressToolUseIDs:G,message:V,messages:C,shouldAnimate:!1,shouldShowDot:!0,tools:W,unresolvedToolUseIDs:w,verbose:B,width:A/2-6}),LW.createElement(aA9,{message:V,verbose:B})))}function aA9({message:I,verbose:d}){let{columns:G}=G9();if(I.type!=="assistant")return null;let Z=I.message.content[0];switch(Z.type){case"tool_use":switch(Z.name){case p7.name:{let C=p7.inputSchema.safeParse(Z.input);if(!C.success)return null;return LW.createElement(ho,{file_path:C.data.file_path,new_string:C.data.new_string,old_string:C.data.old_string,verbose:d,width:G/2-12})}case R8.name:{let C=R8.inputSchema.safeParse(Z.input);if(!C.success)return null;return LW.createElement(po,{file_path:C.data.file_path,content:C.data.content,verbose:d,width:G/2-12})}default:return null}default:return null}}var sA9="https://go/cli-feedback";function oA9(){return[{label:"Choose for me",value:"no-preference"},{label:"Left option looks better",value:"prefer-left"},{label:"Right option looks better",value:"prefer-right"},{label:`Neither, and tell Claude what to do differently (${c0.bold.hex(r1().warning)("esc")})`,value:"neither"}]}function Hq2({m1:I,m2:d,onChoose:G,debug:Z,erroredToolUseIDs:C,inProgressToolUseIDs:W,normalizedMessages:w,tools:B,unresolvedToolUseIDs:A,verbose:V}){let X=r1(),[_,F]=a3.useState("no-preference"),[g,J]=a3.useState(void 0),K=P6(()=>process.exit(1));return C4((Q,E)=>{if(E.leftArrow)J("prefer-left");else if(E.rightArrow)J("prefer-right");else if(E.escape)G?.("neither")}),a3.default.createElement(a3.default.Fragment,null,a3.default.createElement(p,{flexDirection:"column",height:"100%",width:"100%",borderStyle:"round",borderColor:X.permission},a3.default.createElement(p,{width:"100%",justifyContent:"space-between",paddingX:1},a3.default.createElement(u,{bold:!0,color:X.permission},"[ANT-ONLY] Help train Claude"),a3.default.createElement(u,null,a3.default.createElement(Pg,{url:sA9},"[?]"))),a3.default.createElement(p,{flexDirection:"row",width:"100%",flexGrow:1,paddingTop:1},a3.default.createElement(p,{flexDirection:"column",flexGrow:1,flexBasis:1,gap:1,borderStyle:_==="prefer-left"?"bold":"single",borderColor:_==="prefer-left"?X.success:X.secondaryBorder,marginRight:1,padding:1},a3.default.createElement(CN1,{erroredToolUseIDs:C,debug:Z,inProgressToolUseIDs:W,message:I,normalizedMessages:w,tools:B,unresolvedToolUseIDs:A,verbose:V})),a3.default.createElement(p,{flexDirection:"column",flexGrow:1,flexBasis:1,gap:1,borderStyle:_==="prefer-right"?"bold":"single",borderColor:_==="prefer-right"?X.success:X.secondaryBorder,marginLeft:1,padding:1},a3.default.createElement(CN1,{erroredToolUseIDs:C,debug:Z,inProgressToolUseIDs:W,message:d,normalizedMessages:w,tools:B,unresolvedToolUseIDs:A,verbose:V}))),a3.default.createElement(p,{flexDirection:"column",paddingTop:1,paddingX:1},a3.default.createElement(u,null,"How do you want to proceed?"),a3.default.createElement(N_,{options:oA9(),onFocus:F,focusValue:g,onChange:G}))),K.pending?a3.default.createElement(p,{marginLeft:3},a3.default.createElement(u,{dimColor:!0},"Press ",K.keyName," again to exit")):a3.default.createElement(u,null," "))}function Fq2({m1:I,m2:d,resolve:G,debug:Z,erroredToolUseIDs:C,inProgressToolUseIDs:W,normalizedMessages:w,tools:B,unresolvedToolUseIDs:A,verbose:V}){let X=oo.useCallback((_)=>{Xq2(I,d,_),G(_q2(I,d,_))},[I,d,G]);return xo("Claude needs your input on a response comparison"),oo.default.createElement(Hq2,{debug:Z,erroredToolUseIDs:C,inProgressToolUseIDs:W,m1:I,m2:d,normalizedMessages:w,tools:B,unresolvedToolUseIDs:A,verbose:V,onChoose:X})}async function nu(I){if(await VK.isEnabled())return I0("tengu_thinking",{method:"scratchpad",tokenCount:"0",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),0;let d=lA(I);if(d?.type!=="user"||typeof d.message.content!=="string")return I0("tengu_thinking",{method:"scratchpad",tokenCount:"0",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),0;let G=d.message.content.toLowerCase();if(G.includes("think harder")||G.includes("think intensely")||G.includes("think longer")||G.includes("think really hard")||G.includes("think super hard")||G.includes("think very hard")||G.includes("ultrathink"))return I0("tengu_thinking",{method:"scratchpad",tokenCount:"31999",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),31999;if(G.includes("think about it")||G.includes("think a lot")||G.includes("think hard")||G.includes("think more")||G.includes("megathink"))return I0("tengu_thinking",{method:"scratchpad",tokenCount:"10000",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),1e4;if(G.includes("think"))return I0("tengu_thinking",{method:"scratchpad",tokenCount:"4000",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),4000;return I0("tengu_thinking",{method:"scratchpad",tokenCount:"0",messageId:FG(I),provider:b9?"bedrock":h9?"vertex":"1p"}),0}function cJ1({commands:I,dangerouslySkipPermissions:d,debug:G=!1,initialForkNumber:Z=0,initialPrompt:C,messageLogName:W,shouldShowPromptInput:w,tools:B,verbose:A,initialMessages:V,mcpClients:X=[],isDefaultModel:_=!0}){let F=A??q2().verbose,[g,J]=h5.useState(w21(W,Z,0)),[K,Q]=h5.useState(null),[E,S]=h5.useState(null),[P,$]=h5.useState(!1),[h,O]=h5.useState(null),[T,V1]=h5.useState(null),[c,c1]=h5.useState(null),[o1,a1]=h5.useState(V??[]),[f1,r]=h5.useState(""),[A1,m1]=h5.useState("prompt"),[T1,e1]=h5.useState(0),[F0,P0]=h5.useState(!1),[B0,a0]=h5.useState(!1),[e,G0]=h5.useState(q2().hasAcknowledgedCostThreshold),[H1,j1]=h5.useState(null),i1=h5.useCallback((U1,L1)=>{return new Promise((D0)=>{j1({m1:U1,m2:L1,resolve:D0})})},[]),E0=h5.useRef({}),{status:k,reverify:a}=Gq2();function Z1(){if(!P)return;if($(!1),c)c.onAbort();else E?.abort()}Zq2(V1,c1,j1,Z1,P,F0,E?.signal),h5.useEffect(()=>{if(K)J((U1)=>U1+1),Q(null),a1(K)},[K]),h5.useEffect(()=>{if(Da()>=5&&!B0&&!e)I0("tengu_cost_threshold_reached",{}),a0(!0)},[o1,B0,e]);let Q1=Wq2(c1);async function N1(){if(a(),!C)return;$(!0);let U1=new AbortController;S(U1);let L1=await K6(),D0=await Qo(C,"prompt",V1,{abortController:U1,options:{commands:I,forkNumber:g,messageLogName:W,tools:B,verbose:F,slowAndCapableModel:L1,maxThinkingTokens:0},messageId:FG(o1),setForkConvoWithMessagesOnTheNextRender:Q,readFileTimestamps:E0.current},null);if(D0.length){for(let a5 of D0)if(a5.type==="user")vH(C);if(a1((a5)=>[...a5,...D0]),D0[D0.length-1].type==="assistant"){S(null),$(!1);return}let[k0,i0,s0,P2]=await Promise.all([iR(),j7(),K6(),nu([...o1,...D0])]);for await(let a5 of cB([...o1,...D0],k0,i0,Q1,{options:{commands:I,forkNumber:g,messageLogName:W,tools:B,slowAndCapableModel:s0,verbose:F,dangerouslySkipPermissions:d,maxThinkingTokens:P2},messageId:FG([...o1,...D0]),readFileTimestamps:E0.current,abortController:U1,setToolJSX:V1},i1))a1((n0)=>[...n0,a5])}else vH(C);G0(q2().hasAcknowledgedCostThreshold||!1),$(!1)}async function F1(U1,L1){a1((P2)=>[...P2,...U1]),zQ();let D0=U1[U1.length-1];if(D0.type==="user"&&typeof D0.message.content==="string")WN2(D0.message.content);if(D0.type==="assistant"){S(null),$(!1);return}let[O0,k0,i0,s0]=await Promise.all([iR(),j7(),K6(),nu([...o1,D0])]);for await(let P2 of cB([...o1,D0],O0,k0,Q1,{options:{commands:I,forkNumber:g,messageLogName:W,tools:B,slowAndCapableModel:i0,verbose:F,dangerouslySkipPermissions:d,maxThinkingTokens:s0},messageId:FG([...o1,D0]),readFileTimestamps:E0.current,abortController:L1,setToolJSX:V1},i1))a1((a5)=>[...a5,P2]);$(!1)}nC2(),h5.useEffect(()=>{W50(()=>o1),w50(a1)},[o1]),Bq2(o1,W,g),dq2(),h5.useEffect(()=>{N1()},[]);let O1=h5.useMemo(()=>QW(o1).filter(fo),[o1]),K1=h5.useMemo(()=>Io(O1),[O1]),R1=h5.useMemo(()=>UQ2(O1),[O1]),h1=h5.useMemo(()=>new Set(vQ2(O1).map((U1)=>U1.message.content[0].id)),[O1]),j=h5.useMemo(()=>{return[{type:"static",jsx:g4.createElement(p,{flexDirection:"column",key:`logo${g}`},g4.createElement(G50,{mcpClients:X,isDefaultModel:_}),g4.createElement(i81,{workspaceDir:t7()}))},...qQ2(O1).map((U1)=>{let L1=zK1(U1),D0=U1.type==="progress"?U1.content.message.content[0]?.type==="text"&&U1.content.message.content[0].text===KW?g4.createElement(fH,{message:U1.content,messages:U1.normalizedMessages,addMargin:!1,tools:U1.tools,verbose:F??!1,debug:G,erroredToolUseIDs:new Set,inProgressToolUseIDs:new Set,unresolvedToolUseIDs:new Set,shouldAnimate:!1,shouldShowDot:!1}):g4.createElement(Eo,null,g4.createElement(fH,{message:U1.content,messages:U1.normalizedMessages,addMargin:!1,tools:U1.tools,verbose:F??!1,debug:G,erroredToolUseIDs:new Set,inProgressToolUseIDs:new Set,unresolvedToolUseIDs:new Set([U1.content.message.content[0].id]),shouldAnimate:!1,shouldShowDot:!1})):g4.createElement(fH,{message:U1,messages:O1,addMargin:!0,tools:B,verbose:F,debug:G,erroredToolUseIDs:h1,inProgressToolUseIDs:R1,shouldAnimate:!T&&!c&&!F0&&(!L1||R1.has(L1)),shouldShowDot:!0,unresolvedToolUseIDs:K1}),O0=eA9(U1,O1,K1)?"static":"transient";if(G)return{type:O0,jsx:g4.createElement(p,{borderStyle:"single",borderColor:O0==="static"?"green":"red",key:U1.uuid,width:"100%"},D0)};return{type:O0,jsx:g4.createElement(p,{key:U1.uuid,width:"100%"},D0)}})]},[g,O1,B,F,G,h1,R1,T,c,F0,K1,X,_]),W1=!P&&B0;return g4.createElement(g4.Fragment,null,g4.createElement(DQ,{key:`static-messages-${g}`,items:j.filter((U1)=>U1.type==="static")},(U1)=>U1.jsx),j.filter((U1)=>U1.type==="transient").map((U1)=>U1.jsx),g4.createElement(p,{borderColor:"red",borderStyle:G?"single":void 0,flexDirection:"column",width:"100%"},!T&&!c&&!H1&&P&&g4.createElement(ns,null),T?T.jsx:null,!T&&H1&&!F0&&g4.createElement(Fq2,{m1:H1.m1,m2:H1.m2,resolve:(U1)=>{H1.resolve(U1),setTimeout(()=>j1(null),0)},verbose:F,normalizedMessages:O1,tools:B,debug:G,erroredToolUseIDs:h1,inProgressToolUseIDs:R1,unresolvedToolUseIDs:K1}),!T&&c&&!F0&&!H1&&g4.createElement(if2,{toolUseConfirm:c,onDone:()=>c1(null),verbose:F}),!T&&!c&&!F0&&!H1&&W1&&g4.createElement(d50,{onDone:()=>{a0(!1),G0(!0);let U1=q2();p4({...U1,hasAcknowledgedCostThreshold:!0}),I0("tengu_cost_threshold_acknowledged",{})}}),!c&&!T?.shouldHidePromptInput&&w&&!F0&&!H1&&!W1&&g4.createElement(g4.Fragment,null,g4.createElement(tf2,{commands:I,forkNumber:g,messageLogName:W,tools:B,isDisabled:k==="invalid",isLoading:P,onQuery:F1,debug:G,verbose:F,messages:o1,setToolJSX:V1,onAutoUpdaterResult:O,autoUpdaterResult:h,input:f1,onInputChange:r,mode:A1,onModeChange:m1,submitCount:T1,onSubmitCountChange:e1,setIsLoading:$,setAbortController:S,onShowMessageSelector:()=>P0((U1)=>!U1),setForkConvoWithMessagesOnTheNextRender:Q,readFileTimestamps:E0.current}))),F0&&g4.createElement(Vf2,{erroredToolUseIDs:h1,unresolvedToolUseIDs:K1,messages:sR(o1),onSelect:async(U1)=>{if(P0(!1),!o1.includes(U1))return;Z1(),setImmediate(async()=>{if(await $6(),a1([]),Q(o1.slice(0,o1.indexOf(U1))),typeof U1.message.content==="string")r(U1.message.content)})},onEscape:()=>P0(!1),tools:B}),g4.createElement(C6,null))}function eA9(I,d,G){switch(I.type){case"user":case"assistant":{let Z=zK1(I);if(!Z)return!0;if(G.has(Z))return!1;let C=d.find((W)=>W.type==="progress"&&W.toolUseID===Z);if(!C)return!0;return!gq2(G,C.siblingToolUseIDs)}case"progress":return!gq2(G,I.siblingToolUseIDs)}}function gq2(I,d){return I.size>0&&d.size>0&&[...I].some((G)=>d.has(G))}var $q2=J1(Pq2(),1),{program:Nm3,createCommand:zm3,createArgument:Qm3,createOption:fm3,CommanderError:qm3,InvalidArgumentError:Rm3,InvalidOptionArgumentError:Um3,Command:uq2,Argument:vm3,Option:Em3,Help:Mm3}=$q2.default;async function Tq2({commands:I,dangerouslySkipPermissions:d,hasPermissionsToUseTool:G,messageLogName:Z,prompt:C,cwd:W,tools:w,verbose:B=!1}){await Uw(W);let V=[p9(C)],[X,_,F]=await Promise.all([iR(),j7(),K6()]);for await(let K of cB(V,X,_,G,{options:{commands:I,tools:w,verbose:B,dangerouslySkipPermissions:d,slowAndCapableModel:F,forkNumber:0,messageLogName:"unused",maxThinkingTokens:0},abortController:new AbortController,messageId:void 0,readFileTimestamps:{}}))V.push(K);let g=lA(V);if(!g||g.type!=="assistant")throw new Error("Expected content to be an assistant message");if(g.message.content[0]?.type!=="text")throw new Error(`Expected first content item to be text, but got ${JSON.stringify(g.message.content[0],null,2)}`);let J=DY(Z,0,0);return Wz(J,V),{resultText:g.message.content[0].text,totalCost:Da(),messageHistoryFile:J}}var HN1=J1(u1(),1);import{EOL as jV9}from"os";async function DN1(I){return(await(I?to():mq2())).filter((d)=>d.name!==_U.name)}async function Oq2(I){return`Launch a new agent that has access to the following tools: ${(await DN1(I)).map((Z)=>Z.name).join(", ")}. When you are searching for a keyword or file and are not confident that you will find the right match on the first try, use the Agent tool to perform the search for you. For example:

- If you are searching for a keyword like "config" or "logger", the Agent tool is appropriate
- If you want to read a specific file path, use the ${Fd.name} or ${A7.name} tool instead of the Agent tool, to find the match more quickly
- If you are searching for a specific class definition like "class Foo", use the ${A7.name} tool instead, to find the match more quickly

Usage notes:
1. Launch multiple agents concurrently whenever possible, to maximize performance; to do that, use a single message with multiple tool uses
2. When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.
3. Each agent invocation is stateless. You will not be able to send additional messages to the agent, nor will the agent be able to communicate with you outside of its final report. Therefore, your prompt should contain a highly detailed task description for the agent to perform autonomously and you should specify exactly what information the agent should return back to you in its final and only message to you.
4. The agent's outputs should generally be trusted${I?"":`
5. IMPORTANT: The agent can not use ${G5.name}, ${R8.name}, ${p7.name}, ${RI.name}, so can not modify files. If you want to use these tools, use them directly instead of going through the agent.`}`}var kV9=s.object({prompt:s.string().describe("The task for the agent to perform")}),_U={async prompt({dangerouslySkipPermissions:I}){return await Oq2(I)},name:qa,async description(){return"Launch a new task"},inputSchema:kV9,async*call({prompt:I},{abortController:d,options:{dangerouslySkipPermissions:G=!1,forkNumber:Z,messageLogName:C,verbose:W},readFileTimestamps:w}){let B=Date.now(),A=[p9(I)],V=await DN1(G);yield{type:"progress",content:q8(c0.dim("Initializing…")),normalizedMessages:QW(A),tools:V};let[X,_,F,g]=await Promise.all([iK2(),j7(),K6(),nu(A)]),J=0,K=a2(()=>eu1(C,Z));for await(let P of cB(A,X,_,UH,{abortController:d,options:{dangerouslySkipPermissions:G,forkNumber:Z,messageLogName:C,tools:V,commands:[],verbose:W,slowAndCapableModel:F,maxThinkingTokens:g},messageId:FG(A),readFileTimestamps:w})){if(A.push(P),Wz(DY(C,Z,K()),A.filter((h)=>h.type!=="progress")),P.type!=="assistant")continue;let $=QW(A);for(let h of P.message.content){if(h.type!=="tool_use")continue;J++,yield{type:"progress",content:$.find((O)=>O.type==="assistant"&&O.message.content[0]?.type==="tool_use"&&O.message.content[0].id===h.id),normalizedMessages:$,tools:V}}}let Q=QW(A),E=lA(A);if(E?.type!=="assistant")throw new Error("Last message was not an assistant message");if(E.message.content.some((P)=>P.type==="text"&&P.text===KW))yield{type:"progress",content:E,normalizedMessages:Q,tools:V};else{let P=[J===1?"1 tool use":`${J} tool uses`,cC2((E.message.usage.cache_creation_input_tokens??0)+(E.message.usage.cache_read_input_tokens??0)+E.message.usage.input_tokens+E.message.usage.output_tokens)+" tokens",X$(Date.now()-B)];yield{type:"progress",content:q8(`Done (${P.join(" · ")})`),normalizedMessages:Q,tools:V}}let S=E.message.content.filter((P)=>P.type==="text");yield{type:"result",data:S,normalizedMessages:Q,resultForAssistant:this.renderResultForAssistant(S),tools:V}},isReadOnly(){return!0},async isEnabled(){return!0},userFacingName(){return"Task"},needsPermissions(){return!1},renderResultForAssistant(I){return I},renderToolUseMessage({prompt:I},{verbose:d}){let G=I.split(jV9);return VU(!d&&G.length>1?G[0]+"…":I)},renderToolUseRejectedMessage(){return HN1.createElement(A3,null)}};var DK=J1(u1(),1);var lq2=`You are an expert software architect. Your role is to analyze technical requirements and produce clear, actionable implementation plans.
These plans will then be carried out by a junior software engineer so you need to be specific and detailed. However do not actually write the code, just explain the plan.

Follow these steps for each request:
1. Carefully analyze requirements to identify core functionality and constraints
2. Define clear technical approach with specific technologies and patterns
3. Break down implementation into concrete, actionable steps at the appropriate level of abstraction

Keep responses focused, specific and actionable. 

IMPORTANT: Do not ask the user if you should implement the changes at the end. Just provide the plan as described above.
IMPORTANT: Do not attempt to write the code or use any string modification tools. Just provide the plan.`,FN1="Your go-to tool for any technical or coding task. Analyzes requirements and breaks them down into clear, actionable implementation steps. Use this whenever you need help planning how to implement a feature, solve a technical problem, or structure your code.";var xV9=[G5,zI,Fd,R8,A7,Kd],cV9=s.strictObject({prompt:s.string().describe("The technical request or coding task to analyze"),context:s.string().describe("Optional context from previous conversation or system state").optional()}),bq2={name:"Architect",async description(){return FN1},inputSchema:cV9,isReadOnly(){return!0},userFacingName(){return"Architect"},async isEnabled(){return!1},needsPermissions(){return!1},async*call({prompt:I,context:d},G,Z){let C=d?`<context>${d}</context>

${I}`:I,w=[p9(C)],B=(G.options.tools??[]).filter((X)=>xV9.map((_)=>_.name).includes(X.name)),A=await gH(cB(w,[lq2],await j7(),Z,{...G,options:{...G.options,tools:B}}));if(A.type!=="assistant")throw new Error("Invalid response from Claude API");let V=A.message.content.filter((X)=>X.type==="text");yield{type:"result",data:V,resultForAssistant:this.renderResultForAssistant(V)}},async prompt(){return FN1},renderResultForAssistant(I){return I},renderToolUseMessage(I){return Object.entries(I).map(([d,G])=>`${d}: ${JSON.stringify(G)}`).join(", ")},renderToolResultMessage(I){return DK.createElement(p,{flexDirection:"column",gap:1},DK.createElement(yB,{code:I.map((d)=>d.text).join(`
`),language:"markdown"}))},renderToolUseRejectedMessage(){return DK.createElement(A3,null)}};var pV9=J1(u1(),1);var kl3=s.strictObject({file_path:s.string().optional().describe("Optional path to a specific memory file to read")});var iV9=J1(u1(),1);var el3=s.strictObject({file_path:s.string().describe("Path to the memory file to write"),content:s.string().describe("Content to write to the file")});var de=J1(u1(),1);var hq2="Sends the user swag stickers with love from Anthropic.",jq2=`This tool should be used whenever a user expresses interest in receiving Anthropic or Claude stickers, swag, or merchandise. When triggered, it will display a shipping form for the user to enter their mailing address and contact details. Once submitted, Anthropic will process the request and ship stickers to the provided address.

Common trigger phrases to watch for:
- "Can I get some Anthropic stickers please?"
- "How do I get Anthropic swag?"
- "I'd love some Claude stickers"
- "Where can I get merchandise?"
- Any mention of wanting stickers or swag

The tool handles the entire request process by showing an interactive form to collect shipping information.

NOTE: Only use this tool if the user has explicitly asked us to send or give them stickers. If there are other requests that include the word "sticker", but do not explicitly ask us to send them stickers, do not use this tool.
For example:
- "How do I make custom stickers for my project?" - Do not use this tool
- "I need to store sticker metadata in a database - what schema do you recommend?" - Do not use this tool
- "Show me how to implement drag-and-drop sticker placement with React" - Do not use this tool
`;var W2=J1(u1(),1);function Ie(I,d){let G=d.trim();if(!G&&I==="address2")return null;if(!G)return{message:"This field is required"};switch(I){case"email":{if(!/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(G))return{message:"Please enter a valid email address"};break}case"name":if(G.length<2)return{message:"Name must be at least 2 characters long"};break;case"address1":{if(G.length<3)return{message:"Please enter a valid address"};let Z=/^P\.?O\.?\s*Box\s+\d+$/i.test(G),C=/\d+/.test(G);if(!Z&&!C)return{message:"Please include a number in the street address"};break}case"address2":break;case"city":if(G.length<2)return{message:"City name must be at least 2 characters long"};if(!/^[a-zA-Z\s.-]+$/.test(G))return{message:"City can only contain letters, spaces, periods, and hyphens"};break;case"state":{let Z=new Set(["AL","AK","AZ","AR","CA","CO","CT","DE","FL","GA","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","DC"]),C=G.toUpperCase();if(!Z.has(C))return{message:"Please enter a valid US state code (e.g. CA)"};break}case"usLocation":{let Z=G.toLowerCase();if(!["y","yes","n","no"].includes(Z))return{message:"Please enter y/yes or n/no"};break}case"zip":if(!/^\d{5}(-\d{4})?$/.test(G))return{message:"Please enter a valid ZIP code (e.g. 12345 or 12345-6789)"};break;case"phone":if(!/^(\+1\s?)?(\d{3}[-.\s]??)?\d{3}[-.\s]??\d{4}$/.test(G))return{message:"Please enter a valid US phone number"};break}return null}var DU=J1(u1(),1);var kq2=[`                                                  
              .=#*=.      :==.                    
              -%%%%=.    .#%#=                    
              .=%%%#=    :%%#:    -=+-            
         ...   .=%%%*-   =@%+   :+%%%%.           
        :*%%+=  .=%%%*-  +%%= .=%%%%%=            
        .=#%%%#=..=#%%*: *%#:-*%%%%+:             
          .=*%%%%+==#%%+.%%+=#%%%%=.              
             :=#%%%##%%%*%%%%%%%*-       .        
                -=#%%%%%%%%%%%%+-====+*%%%+.      
     .============-=*%%%%%%%%%%%%%%%%#+===:       
      =======+++****%%%%%%%%%%#+==:.              
                  -=*%%%%%%%%%*+#%%%%%%%#*=.      
              .=+#%#++#%%%%%%%%+-..-==+*##=.      
           .=+%%%+=-+%#=*%+%%%##%+:               
         .+%%%*=. =*%+:-%%:=#%#==#%+:             
         .=+=.  .=%%=. +%#. -*%%=:=*%+-           
               -*%#=  .#%*   :*%%+: :=*.          
             .=%%=.   =%%=    .=%%=.              
              :=.     +%%=     .-=:               
                      =#+.                        
`,`                                                  
              .=*+=.      .==.                    
              -####=.    .*#*=                    
              .=###*-    :##*:    -==-            
         ...   .=###+-   =%#+   :+####.           
        .+##+-  .=###+:  =##= .=*####-            
        .=*###*=..=*##+. +#*::+####=.             
          .=+###*=-=*##+.*#==*###*=.              
             .=*###**###+#######+-                
                :=*############+--====*###=.      
     .===========--=+################*+===.       
      -=========++++##########*+==.               
                  :=*#########*+*#######*+=.      
              .==*#*==*########=-..-===+**=.      
           .==*##+=:=#*-*#+###**#+:               
         .=###+=. -+#+::##:=*#*==*#=:             
         .===.  .=##=. =#*. -+#*=:=+#=-           
               -+#*=  .*#+   :+##+: :=*.          
              =#*=.   =##=    .=##=.              
              :=.     =##=      -=:               
                      =*+.                        
`,`                                                  
              .=+==.      .=-.                    
              :****=     .+*+=                    
              .=***+-    :**+:    -==:            
         ...   .=***+:   -**=   :=****.           
        .+**=-  .=***=:  =**= .=*****-            
        .=+***+=..=+**=. =*+.:=****=.             
           ==****=-=+**=.**==+****=.              
             .=+***++***+*******=:                
                :=+************=:-====+***=.      
     .==========--:-+****************+====.       
      -============+**********+==-.               
                  :=+*********+=+*******+==.      
              .-=+*+==+********=:..:====++=.      
            ==***=-:=*+-+*=***++*=:               
         .=***+=. -+*=::**.-+*+==+*=:             
         .===.  .=**=. =*+. :+**=.=+*=-           
               :+*+-  .+*+   :=**=: :=+.          
              =**=.   -**=    .=**=.              
              :-.     =**-      :=.               
                      =+=.                        
`,`                                                  
              .===-.      .=-.                    
              :++++=      =+=-                    
              .=+++=:    .++=:    :==:            
         ..    .=+++=:   -++=   :=++++            
        .=++=:  .=+++=:  =++= .=+++++:            
        .==+++==..==++=. =+=.:=++++=.             
           -=++++=--=++=.++=-=++++=.              
             .==+++==+++=+++++++=:                
                :==++++++++++++=::=====+++=.      
     .-====---=---:-=++++++++++++++++====-.       
      :=============++++++++++===-.               
                  :==+++++++++===+++++++==-.      
              .-==+===+++++++++=: .:=======.      
            -=+++=-:=+=:=+=+++==+=:               
         .=+++==. :=+=::++.-=+====+=.             
          ===.  .=++=. =++. :=++=.-=+=:           
               :=+=-  .++=   :=++=. .==.          
              -++=.   -++=    .=++=.              
              .-.     =++-      :-.               
                      -==.                        
`,`                                                  
              .===-.      .-:                     
              :====-      ===-                    
              .-====:    .===.    :==:            
         ..    .-====:   :===   .=====            
        .====:  .-====.  ===- .-=====:            
         -=====-..-====. ===..======.             
           -======:-====.===:=====-.              
             .-==================:                
                .===============::-========.      
     .-=---------:::=====================-.       
      :=-========================:.               
                  .=======================-.      
               :================: .:-=====-.      
            -=====:.===:==========.               
         .=====-. :===.:==.:===--===.             
          -=-.  .===-. ===  :====.-===:           
               :===:  .===   .====. .==           
              -==-.   :===    .====.              
              .:.     ===:      ::.               
                      -==.                        
`,`                                                  
              .-==:       .-:                     
              .====:      ===:                    
               :====:    .===.    .--.            
          .    .-====.   :===   .-====            
        .====.   :====.  -==: .:=====:            
         -=====-. :====. ===..=====-.             
           :======::====.==-:=====:               
             .-==================.                
                .-=============-..:---====-.      
     .:-------::::.:===================--:.       
      .---------===============--:.               
                  .-======================:       
               :-===--==========. ..:--===-.      
            :=====:.-==:==-=======.               
         .-====:. .===..==.:===::==-.             
          --:.  .-==-. -==  .===-.:==-.           
               .===:   ===   .====. .-=           
              :==-.   :==-    .-==-.              
              .:.     -==:      .:.               
                      :==                         
`,`                                                  
               :--:       .:.                     
              .===-:      -=-.                    
               :===-.    .==-.    .::.            
          .     :-==-.   .==:   .:-===            
        .-==:.   :-==-.  :=-:  :-===-.            
         :-===-:. :-==-. -=-..-====:.             
           .-===-:.:-==:.-=:.-===-:               
             .:-===---==:-==-=-=-.                
                .:-===========-:..::::--==-.      
      .:::::::::....--========-======-:::..       
      .:::::::::-----========--::..               
                  .:--====-------=======--.       
               .:-=-::---==--=-:.  .:::---:.      
            .:-=-:..:--.-=:-=---=-.               
          :===-:. .-=-..==..-=-::-=:.             
          :::.  .:=-:  :=-  .-=-:.:---.           
               .-=-.   -=-   .-==-. .:-           
              :=-:.   .-=:    .:-=:.              
              ...     :==.      ...               
                      .--                         
`,`                                                  
               .::.        ..                     
              .::::.      :::.                    
               .::::.     :::.    ....            
                .::::.   .::.   ..::::            
         :::..   .:::..  .::.  .:::::.            
         .:::::.  .:::.  .:: ..::::.              
           ..::::...:::. ::..:::::.               
              .:::::::::.:::::::..                
                ..:::::::::::::.......::::.       
      ..............::::::::::::::::::....        
      ...........::::::::::::::...                
                  ..:::::::::::.::::::::::.       
               ..:::..:::::::::..  .....::.       
            ..:::....::.::.::::::..               
          .::::.  .::...:: .:::..::.              
          ...    .::.  .::  .:::. .::..           
               .:::.   ::.   ..::.   .:           
              .::.    .::.     .::.               
               .      .::.      ..                
                      .:.                         
`,`                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
`],xq2=[`   @   
@  @  @
  @@@  
@  @  @
   @`,`   *   
*  *  *
  ***  
*  *  *
   *`,`   +   
+  +  +
  +++  
+  +  +
   +`,`   /   
/  /  /
  ///  
/  /  /
   /`,`   |   
|  |  |
  |||  
|  |  |
   |`,`   \\   
\\  \\  \\
  \\\\\\  
\\  \\  \\
   \\`,`   -   
-  -  -
  ---  
-  -  -
   -`];function cq2({size:I="small",cycles:d,color:G,intervalMs:Z}){let[C,W]=DU.default.useState(0),w=DU.default.useRef(1),B=DU.default.useRef(0),A=r1(),V=I==="large"?kq2:xq2;return DU.default.useEffect(()=>{let X=setInterval(()=>{W((_)=>{if(d!==void 0&&d!==null&&B.current>=d)return 0;if(_===V.length-1)w.current=-1,B.current+=1;if(_===0)w.current=1;return _+w.current})},Z||(I==="large"?100:200));return()=>clearInterval(X)},[V.length,d,Z,I]),DU.default.createElement(u,{color:G||A.claude},V[C])}function pq2({onSubmit:I,onClose:d}){let[G,Z]=W2.default.useState(""),{rows:C}=G9(),W=()=>{if(C>=50)return"large";else if(C>=35)return"medium";else return"small"},w=(T1)=>{let e1=encodeURIComponent(T1.name||""),F0=encodeURIComponent(T1.email||""),P0=encodeURIComponent(T1.phone||""),B0=encodeURIComponent(T1.address1||""),a0=encodeURIComponent(T1.address2||""),e=encodeURIComponent(T1.city||""),G0=encodeURIComponent(T1.state||""),H1=encodeURIComponent("USA");return`https://docs.google.com/forms/d/e/1FAIpQLSfYhWr1a-t4IsvS2FKyEH45HRmHKiPUycvAlFKaD0NugqvfDA/viewform?usp=pp_url&entry.2124017765=${e1}&entry.1522143766=${F0}&entry.1730584532=${P0}&entry.1700407131=${B0}&entry.109484232=${a0}&entry.1209468849=${e}&entry.222866183=${G0}&entry.1042966503=${H1}`},[B,A]=W2.default.useState({}),[V,X]=W2.default.useState("name"),[_,F]=W2.default.useState(""),[g,J]=W2.default.useState(0),[K,Q]=W2.default.useState(null),[E,S]=W2.default.useState(!1),[P,$]=W2.default.useState(!1),[h,O]=W2.default.useState("yes"),T=r1(),V1=[{key:"name",label:"Name"},{key:"usLocation",label:"Are you in the United States? (y/n)"},{key:"email",label:"Email"},{key:"phone",label:"Phone Number"},{key:"address1",label:"Address Line 1"},{key:"address2",label:"Address Line 2 (optional)"},{key:"city",label:"City"},{key:"state",label:"State"},{key:"zip",label:"ZIP Code"}],c=(T1)=>{let e1=V1.findIndex((a0)=>a0.key===T1),F0=e1+1;if(e1===-1)throw new Error("Invalid field state");let P0=V1[F0];if(!P0)throw new Error("Invalid field state");I0("sticker_form_field_completed",{field_name:T1,field_index:e1.toString(),next_field:P0.key,form_progress:`${F0}/${V1.length}`}),X(P0.key);let B0=B[P0.key]?.toString()||"";F(B0),J(B0.length),Q(null)};C4((T1,e1)=>{if(e1.escape||e1.ctrl&&(T1==="c"||T1==="d")){d();return}if(P&&e1.return){d();return}if(V==="usLocation"&&!E){if(e1.leftArrow||e1.rightArrow){O((P0)=>P0==="yes"?"no":"yes");return}if(e1.return){if(h==="yes"){let P0={...B,[V]:!0};A(P0),c(V)}else $(!0);return}let F0=T1.toLowerCase();if(["y","yes"].includes(F0)){let P0={...B,[V]:!0};A(P0),c(V);return}if(["n","no"].includes(F0)){$(!0);return}}if(!E){if(e1.tab){if(e1.shift){let e=V1.findIndex((i1)=>i1.key===V);if(e===-1)throw new Error("Invalid field state");let G0=(e-1+V1.length)%V1.length,H1=V1[G0];if(!H1)throw new Error("Invalid field index");X(H1.key);let j1=B[H1.key]?.toString()||"";F(j1),J(j1.length),Q(null);return}if(V!=="address2"&&V!=="usLocation"){let e=_.trim();if(Ie(V,e)){Q({message:"Please fill out this field before continuing"});return}let H1={...B,[V]:e};A(H1)}let F0=V1.findIndex((e)=>e.key===V);if(F0===-1)throw new Error("Invalid field state");let P0=(F0+1)%V1.length,B0=V1[P0];if(!B0)throw new Error("Invalid field index");X(B0.key);let a0=B[B0.key]?.toString()||"";F(a0),J(a0.length),Q(null);return}}if(E){if(e1.return)I(B)}});let c1=(T1)=>{if(!T1&&V==="address2"){let B0={...B,[V]:""};A(B0),c(V);return}let e1=Ie(V,T1);if(e1){Q(e1);return}if(V==="state"&&B.zip){if(Ie("zip",B.zip)){Q({message:"The existing ZIP code is not valid for this state"});return}}let F0={...B,[V]:T1};A(F0),Q(null);let P0=V1.findIndex((B0)=>B0.key===V);if(P0===-1)throw new Error("Invalid field state");if(P0<V1.length-1)c(V);else S(!0)},o1=V1.find((T1)=>T1.key===V);if(!o1)throw new Error("Invalid field state");if(E&&!G){let T1=w(B);Z(T1),I0("sticker_form_summary_reached",{fields_completed:Object.keys(B).length.toString()}),rR(T1).catch((e1)=>{X0(e1)})}let a1=`╔══════════════════════════════╗
║         CLASSIFIED           ║
╚══════════════════════════════╝`,f1="You've discovered Claude's top secret sticker distribution operation!",r=()=>W2.default.createElement(W2.default.Fragment,null,W2.default.createElement(p,{flexDirection:"column",alignItems:"center",justifyContent:"center"},W2.default.createElement(u,null,a1),W2.default.createElement(u,{bold:!0,color:T.claude},f1)),!E&&W2.default.createElement(p,{justifyContent:"center"},W2.default.createElement(cq2,{size:W(),cycles:W()==="large"?4:void 0}))),A1=()=>W2.default.createElement(p,{marginLeft:1},P||E?W2.default.createElement(u,{color:T.suggestion,bold:!0},"Press Enter to return to base"):W2.default.createElement(u,{color:T.secondaryText},V==="usLocation"?W2.default.createElement(W2.default.Fragment,null,"←/→ arrows to select · Enter to confirm · Y/N keys also work · Esc Esc to abort mission"):W2.default.createElement(W2.default.Fragment,null,"Enter to continue · Tab/Shift+Tab to navigate · Esc to abort mission"))),m1=()=>{if(E)return W2.default.createElement(W2.default.Fragment,null,W2.default.createElement(p,null,W2.default.createElement(u,{color:T.suggestion,bold:!0},"Please review your shipping information:")),W2.default.createElement(p,{flexDirection:"column"},V1.filter((T1)=>T1.key!=="usLocation").map((T1)=>W2.default.createElement(p,{key:T1.key,marginLeft:3},W2.default.createElement(u,null,W2.default.createElement(u,{bold:!0,color:T.text},T1.label,":")," ",W2.default.createElement(u,{color:!B[T1.key]?T.secondaryText:T.text},B[T1.key]||"(empty)"))))),W2.default.createElement(p,{marginTop:1,marginBottom:1,flexDirection:"column"},W2.default.createElement(p,null,W2.default.createElement(u,{color:T.text},"Submit your sticker request:")),W2.default.createElement(p,{marginTop:1},W2.default.createElement(Pg,{url:G},W2.default.createElement(u,{color:T.success,underline:!0},"➜ Click here to open Google Form"))),W2.default.createElement(p,{marginTop:1},W2.default.createElement(u,{color:T.secondaryText,italic:!0},"(You can still edit your info on the form)"))));else if(P)return W2.default.createElement(W2.default.Fragment,null,W2.default.createElement(p,{marginY:1},W2.default.createElement(u,{color:T.error,bold:!0},"Mission Not Available")),W2.default.createElement(p,{flexDirection:"column",marginY:1},W2.default.createElement(u,{color:T.text},"We're sorry, but the Claude sticker deployment mission is only available within the United States."),W2.default.createElement(p,{marginTop:1},W2.default.createElement(u,{color:T.text},"Future missions may expand to other territories. Stay tuned for updates."))));else return W2.default.createElement(W2.default.Fragment,null,W2.default.createElement(p,{flexDirection:"column"},W2.default.createElement(u,{color:T.text},"Please provide your coordinates for the sticker deployment mission."),W2.default.createElement(u,{color:T.secondaryText},"Currently only shipping within the United States.")),W2.default.createElement(p,{flexDirection:"column"},W2.default.createElement(p,{flexDirection:"row",marginLeft:2},V1.map((T1,e1)=>W2.default.createElement(W2.default.Fragment,{key:T1.key},W2.default.createElement(u,{color:T1.key===V?T.suggestion:T.secondaryText},T1.key===V?`[${T1.label}]`:B[T1.key]?W2.default.createElement(u,{color:T.secondaryText},"●"):"○"),e1<V1.length-1&&W2.default.createElement(u,null," ")))),W2.default.createElement(p,{marginLeft:2},W2.default.createElement(u,{color:T.secondaryText},"Field ",V1.findIndex((T1)=>T1.key===V)+1," of"," ",V1.length))),W2.default.createElement(p,{flexDirection:"column",marginX:2},V==="usLocation"?W2.default.createElement(p,{flexDirection:"row"},W2.default.createElement(u,{color:h==="yes"?T.success:T.secondaryText,bold:!0},h==="yes"?"●":"○"," YES"),W2.default.createElement(u,null," "),W2.default.createElement(u,{color:h==="no"?T.error:T.secondaryText,bold:!0},h==="no"?"●":"○"," NO")):W2.default.createElement(mC,{value:_,onChange:F,onSubmit:c1,placeholder:o1.label,cursorOffset:g,onChangeCursorOffset:J,columns:40}),K&&W2.default.createElement(p,{marginTop:1},W2.default.createElement(u,{color:T.error,bold:!0},"✗ ",K.message))))};return W2.default.createElement(p,{flexDirection:"column",paddingLeft:1},W2.default.createElement(p,{borderColor:T.claude,borderStyle:"round",flexDirection:"column",gap:1,padding:1,paddingLeft:2,width:100},r(),m1()),A1())}var nV9=s.object({trigger:s.string()}),iq2={name:"StickerRequest",userFacingName:()=>"Stickers",description:async()=>hq2,inputSchema:nV9,isEnabled:async()=>{return await NY("tengu_sticker_easter_egg")},isReadOnly:()=>!1,needsPermissions:()=>!1,prompt:async()=>jq2,async*call(I,d){I0("sticker_request_form_opened",{});let G,Z=new Promise((W)=>{G=(w)=>W(w)});d.setToolJSX?.({jsx:de.default.createElement(pq2,{onSubmit:(W)=>{I0("sticker_request_form_completed",{has_address:Boolean(W.address1).toString(),has_optional_address:Boolean(W.address2).toString()}),G(!0),d.setToolJSX?.(null)},onClose:()=>{I0("sticker_request_form_cancelled",{}),G(!1),d.setToolJSX?.(null)}}),shouldHidePromptInput:!0});let C=await Z;if(!C)throw d.abortController.abort(),new Error("Sticker request cancelled");yield{type:"result",resultForAssistant:"Sticker request completed! Please tell the user that they will receive stickers in the mail if they have submitted the form!",data:{success:C}}},renderToolUseMessage(I){return""},renderToolUseRejectedMessage:(I)=>de.default.createElement(u,null,"  ⎿  ",de.default.createElement(u,{color:r1().error},"No (Sticker request cancelled)")),renderResultForAssistant:(I)=>I};var nq2=()=>{return[_U,G5,A7,Kd,zI,Fd,p7,R8,VH,RI,iq2,VK,...[]]},to=a2(async(I)=>{let d=[...nq2(),...await gQ2()];if(I)d.push(bq2);let G=await Promise.all(d.map((Z)=>Z.isEnabled()));return d.filter((Z,C)=>G[C])}),mq2=a2(async()=>{let I=nq2().filter((G)=>G.isReadOnly()),d=await Promise.all(I.map((G)=>G.isEnabled()));return I.filter((G,Z)=>d[Z])});import{cwd as HU}from"process";var U8=J1(u1(),1);import{homedir as rV9}from"os";function rq2({onDone:I}){let d=r1();U8.default.useEffect(()=>{I0("trust_dialog_shown",{})},[]);function G(C){let W=I5();switch(C){case"yes":{let w=rV9()===R0();if(I0("trust_dialog_accept",{isHomeDir:String(w)}),!w)o9({...W,hasTrustDialogAccepted:!0});I();break}case"no":{process.exit(1);break}}}let Z=P6(()=>process.exit(0));return C4((C,W)=>{if(W.escape){process.exit(0);return}}),U8.default.createElement(U8.default.Fragment,null,U8.default.createElement(p,{flexDirection:"column",gap:1,padding:1,borderStyle:"round",borderColor:d.warning},U8.default.createElement(u,{bold:!0,color:d.warning},"Do you trust the files in this folder?"),U8.default.createElement(u,{bold:!0},process.cwd()),U8.default.createElement(p,{flexDirection:"column",gap:1},U8.default.createElement(u,null,K4," may read files in this folder. Reading untrusted files may lead to ",K4," to behave in an unexpected ways."),U8.default.createElement(u,null,"With your permission ",K4," may execute files in this folder. Executing untrusted code is unsafe."),U8.default.createElement(z_,{url:"https://docs.anthropic.com/s/claude-code-security"})),U8.default.createElement(Q6,{options:[{label:"Yes, proceed",value:"yes"},{label:"No, exit",value:"no"}],onChange:(C)=>G(C)})),U8.default.createElement(p,{marginLeft:3},U8.default.createElement(u,{dimColor:!0},Z.pending?U8.default.createElement(U8.default.Fragment,null,"Press ",Z.keyName," again to exit"):U8.default.createElement(U8.default.Fragment,null,"Enter to confirm · Esc to exit"))))}var gN1=J1(u1(),1);class JN1 extends gu{constructor(I,d){var G;super(d);this._serverInfo=I,this._capabilities=(G=d===null||d===void 0?void 0:d.capabilities)!==null&&G!==void 0?G:{},this._instructions=d===null||d===void 0?void 0:d.instructions,this.setRequestHandler(pJ1,(Z)=>this._oninitialize(Z)),this.setNotificationHandler(nJ1,()=>{var Z;return(Z=this.oninitialized)===null||Z===void 0?void 0:Z.call(this)})}registerCapabilities(I){if(this.transport)throw new Error("Cannot register capabilities after connecting to transport");this._capabilities=Do(this._capabilities,I)}assertCapabilityForMethod(I){var d,G;switch(I){case"sampling/createMessage":if(!((d=this._clientCapabilities)===null||d===void 0?void 0:d.sampling))throw new Error(`Client does not support sampling (required for ${I})`);break;case"roots/list":if(!((G=this._clientCapabilities)===null||G===void 0?void 0:G.roots))throw new Error(`Client does not support listing roots (required for ${I})`);break;case"ping":break}}assertNotificationCapability(I){switch(I){case"notifications/message":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${I})`);break;case"notifications/resources/updated":case"notifications/resources/list_changed":if(!this._capabilities.resources)throw new Error(`Server does not support notifying about resources (required for ${I})`);break;case"notifications/tools/list_changed":if(!this._capabilities.tools)throw new Error(`Server does not support notifying of tool list changes (required for ${I})`);break;case"notifications/prompts/list_changed":if(!this._capabilities.prompts)throw new Error(`Server does not support notifying of prompt list changes (required for ${I})`);break;case"notifications/cancelled":break;case"notifications/progress":break}}assertRequestHandlerCapability(I){switch(I){case"sampling/createMessage":if(!this._capabilities.sampling)throw new Error(`Server does not support sampling (required for ${I})`);break;case"logging/setLevel":if(!this._capabilities.logging)throw new Error(`Server does not support logging (required for ${I})`);break;case"prompts/get":case"prompts/list":if(!this._capabilities.prompts)throw new Error(`Server does not support prompts (required for ${I})`);break;case"resources/list":case"resources/templates/list":case"resources/read":if(!this._capabilities.resources)throw new Error(`Server does not support resources (required for ${I})`);break;case"tools/call":case"tools/list":if(!this._capabilities.tools)throw new Error(`Server does not support tools (required for ${I})`);break;case"ping":case"initialize":break}}async _oninitialize(I){let d=I.params.protocolVersion;return this._clientCapabilities=I.params.capabilities,this._clientVersion=I.params.clientInfo,{protocolVersion:Go.includes(d)?d:Yu,capabilities:this.getCapabilities(),serverInfo:this._serverInfo,...this._instructions&&{instructions:this._instructions}}}getClientCapabilities(){return this._clientCapabilities}getClientVersion(){return this._clientVersion}getCapabilities(){return this._capabilities}async ping(){return this.request({method:"ping"},HX)}async createMessage(I,d){return this.request({method:"sampling/createMessage",params:I},IK1,d)}async listRoots(I,d){return this.request({method:"roots/list",params:I},GK1,d)}async sendLoggingMessage(I){return this.notification({method:"notifications/message",params:I})}async sendResourceUpdated(I){return this.notification({method:"notifications/resources/updated",params:I})}async sendResourceListChanged(){return this.notification({method:"notifications/resources/list_changed"})}async sendToolListChanged(){return this.notification({method:"notifications/tools/list_changed"})}async sendPromptListChanged(){return this.notification({method:"notifications/prompts/list_changed"})}}import aq2 from"node:process";class KN1{constructor(I=aq2.stdin,d=aq2.stdout){this._stdin=I,this._stdout=d,this._readBuffer=new Ju,this._started=!1,this._ondata=(G)=>{this._readBuffer.append(G),this.processReadBuffer()},this._onerror=(G)=>{var Z;(Z=this.onerror)===null||Z===void 0||Z.call(this,G)}}async start(){if(this._started)throw new Error("StdioServerTransport already started! If using Server class, note that connect() calls start() automatically.");this._started=!0,this._stdin.on("data",this._ondata),this._stdin.on("error",this._onerror)}processReadBuffer(){var I,d;while(!0)try{let G=this._readBuffer.readMessage();if(G===null)break;(I=this.onmessage)===null||I===void 0||I.call(this,G)}catch(G){(d=this.onerror)===null||d===void 0||d.call(this,G)}}async close(){var I;if(this._stdin.off("data",this._ondata),this._stdin.off("error",this._onerror),this._stdin.listenerCount("data")===0)this._stdin.pause();this._readBuffer.clear(),(I=this.onclose)===null||I===void 0||I.call(this)}send(I){return new Promise((d)=>{let G=Ho(I);if(this._stdout.write(G))d();else this._stdout.once("drain",d)})}}var sq2={readFileTimestamps:{}},oq2=[ts],Ge=[_U,G5,p7,Fd,A7,Kd,R8,zI];async function eq2(I){await Uw(I);let d=new JN1({name:"claude/tengu",version:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION},{capabilities:{tools:{}}});d.setRequestHandler(eJ1,async()=>{return{tools:await Promise.all(Ge.map(async(C)=>({...C,description:await C.description(s.object({})),inputSchema:KR(C.inputSchema)})))}}),d.setRequestHandler(tJ1,async(Z)=>{let{name:C,arguments:W}=Z.params,w=Ge.find((B)=>B.name===C);if(!w)throw new Error(`Tool ${C} not found`);try{if(!await w.isEnabled())throw new Error(`Tool ${C} is not enabled`);let B=await K6(),A=await w.validateInput?.(W??{},{abortController:new AbortController,options:{commands:oq2,tools:Ge,slowAndCapableModel:B,forkNumber:0,messageLogName:"unused",maxThinkingTokens:0},messageId:void 0,readFileTimestamps:sq2.readFileTimestamps});if(A&&!A.result)throw new Error(`Tool ${C} input is invalid: ${A.message}`);let V=w.call(W??{},{abortController:new AbortController,messageId:void 0,options:{commands:oq2,tools:Ge,slowAndCapableModel:await K6(),forkNumber:0,messageLogName:"unused",maxThinkingTokens:0},readFileTimestamps:sq2.readFileTimestamps},UH),X=await gH(V);if(X.type!=="result")throw new Error(`Tool ${C} did not return a result`);return{content:Array.isArray(X)?X.map((_)=>({type:"text",text:"text"in _?_.text:JSON.stringify(_)})):[{type:"text",text:typeof X==="string"?X:JSON.stringify(X.data)}]}}catch(B){return X0(B),{isError:!0,content:[{type:"text",text:`Error: ${B instanceof Error?B.message:String(B)}`}]}}});async function G(){let Z=new KN1;await d.connect(Z)}return await G()}import{promises as tq2}from"fs";import{join as aV9}from"path";var sV9=2592000000;function oV9(I){let d=I.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(d)}async function eV9(){let I=_Y.messages(),d=_Y.errors(),G=new Date(Date.now()-sV9),Z={messages:0,errors:0};for(let C of[I,d])try{let W=await tq2.readdir(C);for(let w of W)try{if(oV9(w)<G)if(await tq2.unlink(aV9(C,w)),C===I)Z.messages++;else Z.errors++}catch(B){X0(`Failed to process file ${w}: ${B instanceof Error?B.message:String(B)}`)}}catch(W){if(W instanceof Error&&"code"in W&&W.code!=="ENOENT")X0(`Failed to cleanup directory ${C}: ${W instanceof Error?W.message:String(W)}`)}return Z}function IR2(){setImmediate(eV9).unref()}var dR2={getCurrentProjectConfig:I5,saveCurrentProjectConfig:o9};function GR2(I,d=dR2){let G=d.getCurrentProjectConfig();return`Allowed tools for ${I}:
${G.allowedTools.join(`
`)}`}function ZR2(I,d=dR2){let G=d.getCurrentProjectConfig(),Z=G.allowedTools.length,C=G.allowedTools.filter((W)=>W!==I);if(Z!==C.length)return G.allowedTools=C,d.saveCurrentProjectConfig(G),{success:!0,message:`Removed ${I} from the list of approved tools`};else return{success:!1,message:`${I} was not in the list of approved tools`}}var ZX9=J1(u1(),1);var dX9=J1(u1(),1);var tV9=J1(u1(),1);var GX9=J1(u1(),1);var UI=J1(u1(),1);import{writeFileSync as CX9}from"fs";function WX9({filePath:I,errorDescription:d,onExit:G,onReset:Z}){let C=r1();C4((B,A)=>{if(A.escape)G()});let W=P6(()=>process.exit(0)),w=(B)=>{if(B==="exit")G();else Z()};return UI.default.createElement(UI.default.Fragment,null,UI.default.createElement(p,{flexDirection:"column",borderColor:C.error,borderStyle:"round",padding:1,width:70,gap:1},UI.default.createElement(u,{bold:!0},"Configuration Error"),UI.default.createElement(p,{flexDirection:"column",gap:1},UI.default.createElement(u,null,"The configuration file at ",UI.default.createElement(u,{bold:!0},I)," contains invalid JSON."),UI.default.createElement(u,null,d)),UI.default.createElement(p,{flexDirection:"column"},UI.default.createElement(u,{bold:!0},"Choose an option:"),UI.default.createElement(Q6,{options:[{label:"Exit and fix manually",value:"exit"},{label:"Reset with default configuration",value:"reset"}],onChange:w}))),W.pending?UI.default.createElement(u,{dimColor:!0},"Press ",W.keyName," again to exit"):UI.default.createElement(C6,null))}function CR2({error:I}){return new Promise((d)=>{wZ(UI.default.createElement(WX9,{filePath:I.filePath,errorDescription:I.message,onExit:()=>{d(),process.exit(1)},onReset:()=>{CX9(I.filePath,JSON.stringify(I.defaultConfig,null,2)),d(),process.exit(0)}}),{exitOnCtrlC:!1})})}yl1();Object.keys(lj1);function VX9(){let I=q2();p4({...I,hasCompletedOnboarding:!0,lastOnboardingVersion:{ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION})}async function XX9(I,d){let G=q2();if(!G.theme||!G.hasCompletedOnboarding)await $6(),await new Promise((Z)=>{wZ(gU.default.createElement(ss,{onDone:async()=>{VX9(),await $6(),Z()}}),{exitOnCtrlC:!1})});if(!d&&!I){if(!zl1())await new Promise((Z)=>{wZ(gU.default.createElement(rq2,{onDone:()=>{Og1(),Z()}}),{exitOnCtrlC:!1})})}}function YX9(){let I=q2();p4({...I,numStartups:(I.numStartups??0)+1})}async function FU(I,d){if(Uw(I),Og1(),d){if(process.platform!=="win32"&&typeof process.getuid==="function"&&process.getuid()===0)console.error("--dangerously-skip-permissions cannot be used with root/sudo privileges for security reasons"),process.exit(1);let[W,w]=await Promise.all([K2.getIsDocker(),K2.hasInternetAccess()]);if(!W||w)console.error(`--dangerously-skip-permissions can only be used in Docker containers with no internet access but got Docker: ${W} and hasInternet: ${w}`),process.exit(1)}IR2(),no(),j7(),Uz();let G=q2();if(G.iterm2KeyBindingInstalled===!0&&G.shiftEnterKeyBindingInstalled!==!0){let W={...G,shiftEnterKeyBindingInstalled:!0};delete W.iterm2KeyBindingInstalled,p4(W)}let Z=I5();if(Z.lastCost!==void 0&&Z.lastDuration!==void 0)I0("tengu_exit",{last_session_cost:String(Z.lastCost),last_session_api_duration:String(Z.lastAPIDuration),last_session_duration:String(Z.lastDuration),last_session_id:Z.lastSessionId}),o9({...Z,lastCost:void 0,lastAPIDuration:void 0,lastDuration:void 0,lastSessionId:void 0});if((G.autoUpdaterStatus??"not_configured")==="not_configured")I0("tengu_setup_auto_updater_not_configured",{}),await new Promise((W)=>{wZ(gU.default.createElement(Au,{onDone:()=>W()}))})}async function _X9(){try{Rl1()}catch(G){if(G instanceof Mz){await CR2({error:G});return}}let I="",d={exitOnCtrlC:!1,onFlicker(){I0("tengu_flicker",{})}};if(!process.stdin.isTTY&&!process.env.CI&&!process.argv.includes("mcp")){if(I=await HX9(),process.platform!=="win32")try{let G=BX9("/dev/tty","r");d={...d,stdin:new wX9(G)}}catch(G){X0(`Could not open /dev/tty: ${G}`)}}await DX9(I,d)}async function DX9(I,d){let G=new uq2,Z={...d,exitOnCtrlC:!0},C=await KQ2(),W=C.filter((V)=>!V.isHidden).map((V)=>`/${V.name} - ${V.description}`).join(`
`);G.name("claude").description(`${K4} - starts an interactive session by default, use -p/--print for non-interactive output

Slash commands available during an interactive session:
${W}`).argument("[prompt]","Your prompt",String).option("-c, --cwd <cwd>","The current working directory",String,HU()).option("-d, --debug","Enable debug mode",()=>!0).option("--verbose","Override verbose mode setting from config",()=>!0).option("-ea, --enable-architect","Enable the Architect tool",()=>!0).option("-p, --print","Print response and exit (useful for pipes)",()=>!0).option("--dangerously-skip-permissions","Skip all permission checks. Only works in Docker containers with no internet access. Will crash otherwise.",()=>!0).action(async(V,{cwd:X,debug:_,verbose:F,enableArchitect:g,print:J,dangerouslySkipPermissions:K})=>{await XX9(K,J),I0("tengu_init",{entrypoint:"claude",hasInitialPrompt:Boolean(V).toString(),hasStdin:Boolean(I).toString(),enableArchitect:g?.toString()??"false",verbose:F?.toString()??"false",debug:_?.toString()??"false",print:J?.toString()??"false"}),await FU(X,K),gz2();let[Q,E]=await Promise.all([to(g??I5().enableArchitectTool),KK1()]);YX9();let S=[V,I].filter(Boolean).join(`
`);if(J){if(!S)console.error("Error: Input must be provided either through stdin or as a prompt argument when using --print"),process.exit(1);vH(S);let{resultText:P}=await Tq2({commands:C,hasPermissionsToUseTool:UH,messageLogName:ll(new Date),prompt:S,cwd:X,tools:Q,dangerouslySkipPermissions:K});console.log(P),process.exit(0)}else{let P=await t21();wZ(gU.default.createElement(cJ1,{commands:C,debug:_,initialPrompt:S,messageLogName:ll(new Date),shouldShowPromptInput:!0,verbose:F,tools:Q,dangerouslySkipPermissions:K,mcpClients:E,isDefaultModel:P}),d)}}).version({ISSUES_EXPLAINER:"report the issue at https://github.com/anthropics/claude-code/issues",PACKAGE_URL:"@anthropic-ai/claude-code",README_URL:"https://docs.anthropic.com/s/claude-code",VERSION:"0.2.8"}.VERSION,"-v, --version");let w=G.command("config").description("Manage configuration (eg. claude config set -g theme dark)");w.command("get <key>").description("Get a config value").option("-c, --cwd <cwd>","The current working directory",String,HU()).option("-g, --global","Use global config").action(async(V,{cwd:X,global:_})=>{await FU(X,!1),console.log(vl1(V,_??!1)),process.exit(0)}),w.command("set <key> <value>").description("Set a config value").option("-c, --cwd <cwd>","The current working directory",String,HU()).option("-g, --global","Use global config").action(async(V,X,{cwd:_,global:F})=>{await FU(_,!1),El1(V,X,F??!1),console.log(`Set ${V} to ${X}`),process.exit(0)}),w.command("remove <key>").description("Remove a config value").option("-c, --cwd <cwd>","The current working directory",String,HU()).option("-g, --global","Use global config").action(async(V,{cwd:X,global:_})=>{await FU(X,!1),Ml1(V,_??!1),console.log(`Removed ${V}`),process.exit(0)}),w.command("list").description("List all config values").option("-c, --cwd <cwd>","The current working directory",String,HU()).option("-g, --global","Use global config",!1).action(async({cwd:V,global:X})=>{await FU(V,!1),console.log(JSON.stringify(Sl1(X??!1),null,2)),process.exit(0)});let B=G.command("approved-tools").description("Manage approved tools");B.command("list").description("List all approved tools").action(async()=>{let V=GR2(R0());console.log(V),process.exit(0)}),B.command("remove <tool>").description("Remove a tool from the list of approved tools").action(async(V)=>{let X=ZR2(V);I0("tengu_approved_tool_remove",{tool:V,success:String(X.success)}),console.log(X.message),process.exit(X.success?0:1)});let A=G.command("mcp").description("Configure and manage MCP servers");return A.command("serve").description(`Start the ${K4} MCP server`).action(async()=>{let V=G.opts().cwd??HU();if(I0("tengu_mcp_start",{providedCwd:V}),!AX9(V))console.error(`Error: Directory ${V} does not exist`),process.exit(1);try{await FU(V,!1),await eq2(V)}catch(X){console.error("Error: Failed to start MCP server:",X),process.exit(1)}}),A.command("add <name> <command> [args...]").description("Add a stdio server").option("-s, --scope <scope>","Configuration scope (project or global)","project").option("-e, --env <env...>","Set environment variables (e.g. -e KEY=value)").action(async(V,X,_,F)=>{try{let g=JK1(F.scope);I0("tengu_mcp_add",{name:V,type:"stdio",scope:g});let J=VQ2(F.env);XQ2(V,{type:"stdio",command:X,args:_||[],env:J},g),console.log(`Added stdio MCP server ${V} with command: ${X} ${(_||[]).join(" ")} to ${g} config`),process.exit(0)}catch(g){console.error(g.message),process.exit(1)}}),A.command("remove <name>").description("Remove an MCP server").option("-s, --scope <scope>","Configuration scope (project, global, or mcprc)","project").action(async(V,X)=>{try{let _=JK1(X.scope);I0("tengu_mcp_delete",{name:V,scope:_}),YQ2(V,_),console.log(`Removed MCP server ${V} from ${_} config`),process.exit(0)}catch(_){console.error(_.message),process.exit(1)}}),A.command("list").description("List configured MCP servers").action(()=>{I0("tengu_mcp_list",{});let V=_Q2();if(Object.keys(V).length===0)console.log("No MCP servers configured. Use `claude mcp add` to add a server.");else for(let[X,_]of Object.entries(V))if(_.type==="sse")console.log(`${X}: ${_.url} (SSE)`);else console.log(`${X}: ${_.command} ${_.args.join(" ")}`);process.exit(0)}),A.command("get <name>").description("Get details about an MCP server").action((V)=>{I0("tengu_mcp_get",{name:V});let X=DQ2(V);if(!X)console.error(`No MCP server found with name: ${V}`),process.exit(1);if(console.log(`${V}:`),console.log(`  Scope: ${X.scope}`),X.type==="sse")console.log("  Type: sse"),console.log(`  URL: ${X.url}`);else if(console.log("  Type: stdio"),console.log(`  Command: ${X.command}`),console.log(`  Args: ${X.args.join(" ")}`),X.env){console.log("  Environment:");for(let[_,F]of Object.entries(X.env))console.log(`    ${_}=${F}`)}process.exit(0)}),G.command("doctor").description("Check the health of your Claude Code auto-updater").action(async()=>{I0("tengu_doctor_command",{}),await new Promise((V)=>{wZ(gU.default.createElement(Au,{onDone:()=>V(),doctorMode:!0}))}),process.exit(0)}),await G.parseAsync(process.argv),G}async function HX9(){if(process.stdin.isTTY)return"";let I="";for await(let d of process.stdin)I+=d;return I}process.on("exit",()=>{FX9(),m8.getInstance().close()});process.on("SIGINT",()=>{process.exit(0)});function FX9(){(process.stderr.isTTY?process.stderr:process.stdout.isTTY?process.stdout:void 0)?.write(`\x1B[?25h${R51}`)}_X9();export{VX9 as completeOnboarding};

//# debugId=C4120DD4ECA532B564756E2164756E21
//# sourceMappingURL=data:application/json;base64,[encoded data, 18360132 characters]
