@redocly/openapi-docs 3.25.0-next.1 → 3.25.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{redocly-openapi-docs.min.AiChatProvider-CDMc3dS6.js → redocly-openapi-docs.min.AiChatProvider-C_KLy-F0.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiChatSqliteDBStorage-BopXqcPv.js → redocly-openapi-docs.min.AiChatSqliteDBStorage-xPx3J3uK.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiPanel-DkXOeLs5.js → redocly-openapi-docs.min.AiPanel-BmK852q6.js} +1 -1
- package/dist/{redocly-openapi-docs.min.FileWatcher-DMjNW66W.js → redocly-openapi-docs.min.FileWatcher-BtXjqGQC.js} +1 -1
- package/dist/{redocly-openapi-docs.min.SemanticSearchService-DbpnWseN.js → redocly-openapi-docs.min.SemanticSearchService-gLmwyYO3.js} +1 -1
- package/dist/{redocly-openapi-docs.min.SqliteDBStorage-ak3Zqgtw.js → redocly-openapi-docs.min.SqliteDBStorage-DfF4kq1F.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriFileSystemAdapter-Dl2fY3am.js → redocly-openapi-docs.min.TauriFileSystemAdapter-DZLjNpl_.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriRootStorage-m4plsfqx.js → redocly-openapi-docs.min.TauriRootStorage-DMQv9g_J.js} +1 -1
- package/dist/{redocly-openapi-docs.min.ai-chat-mappers-Dg8U8w8r.js → redocly-openapi-docs.min.ai-chat-mappers-O-bg124u.js} +1 -1
- package/dist/{redocly-openapi-docs.min.external-resolver-Db7hewsm.js → redocly-openapi-docs.min.external-resolver-D89x3qoA.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-EVRmC_IQ.js → redocly-openapi-docs.min.index-BBNK1d3n.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-B5-R6EGY.js → redocly-openapi-docs.min.index-D4_45rLR.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-DeHk4n2z.js → redocly-openapi-docs.min.index-DQHVHxbB.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-D9U4Tk7n.js → redocly-openapi-docs.min.index-DbxjaOoh.js} +11 -11
- package/dist/redocly-openapi-docs.min.js +1 -1
- package/dist/{redocly-openapi-docs.min.lint-PvmGrAK3.js → redocly-openapi-docs.min.lint-DLjLNlT2.js} +2 -2
- package/dist/{redocly-openapi-docs.min.lint-graphql-CMMhYVr_.js → redocly-openapi-docs.min.lint-graphql-1y6KKl09.js} +1 -1
- package/dist/{redocly-openapi-docs.min.respect-run-DgsYdmxw.js → redocly-openapi-docs.min.respect-run-BdIceoa0.js} +1 -1
- package/dist/{redocly-openapi-docs.min.standalone-D9becCWS.js → redocly-openapi-docs.min.standalone-crUOAFz-.js} +10 -5
- package/dist/{redocly-openapi-docs.min.tauri-path-Bv9A5DVf.js → redocly-openapi-docs.min.tauri-path-BjTOYabX.js} +1 -1
- package/dist/{redocly-openapi-docs.min.useAiChatQueries-Cb-1pa0w.js → redocly-openapi-docs.min.useAiChatQueries-Rfa850wl.js} +2 -2
- package/package.json +4 -4
|
@@ -6218,8 +6218,8 @@ function useAtomValueWithDelay<Value>(
|
|
|
6218
6218
|
|
|
6219
6219
|
--page-mcp-405-status-text-color: var(--text-color-helper);
|
|
6220
6220
|
--page-mcp-405-status-font-size: var(--font-size-lg); // @presenter FontSize
|
|
6221
|
-
--page-mcp-405-status-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
6222
6221
|
--page-mcp-405-status-font-weight: var(--font-weight-semibold); // @presenter FontWeight
|
|
6222
|
+
--page-mcp-405-status-line-height: var(--line-height-lg); // @presenter LineHeight
|
|
6223
6223
|
|
|
6224
6224
|
--page-mcp-405-title-text-color: var(--text-color-primary);
|
|
6225
6225
|
--page-mcp-405-title-font-size: 42px; // @presenter FontSize
|
|
@@ -6235,6 +6235,11 @@ function useAtomValueWithDelay<Value>(
|
|
|
6235
6235
|
--page-mcp-405-description-font-size-mobile: var(--font-size-lg);
|
|
6236
6236
|
--page-mcp-405-description-line-height-mobile: var(--line-height-lg);
|
|
6237
6237
|
|
|
6238
|
+
--page-mcp-405-snippets-font-size: var(--font-size-base); // @presenter FontSize
|
|
6239
|
+
--page-mcp-405-snippets-line-height: var(--line-height-base); // @presenter LineHeight
|
|
6240
|
+
--page-mcp-405-snippets-hint-text-color: var(--text-color-secondary);
|
|
6241
|
+
--page-mcp-405-snippets-code-padding-right: var(--spacing-xxl);
|
|
6242
|
+
|
|
6238
6243
|
// @tokens End
|
|
6239
6244
|
|
|
6240
6245
|
/**
|
|
@@ -6560,7 +6565,7 @@ function useAtomValueWithDelay<Value>(
|
|
|
6560
6565
|
${_J}
|
|
6561
6566
|
`,Kk=YW`
|
|
6562
6567
|
${RJ};
|
|
6563
|
-
`;function S0(e){D.useEffect(()=>{const t=e.current;if(!t)return;const r=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),n=r[0],o=a=>{if(a.key==="Tab"){const i=r[r.length-1];a.shiftKey&&document.activeElement===n?(i?.focus(),a.preventDefault()):!a.shiftKey&&document.activeElement===i&&(n?.focus(),a.preventDefault())}};return t.addEventListener("keydown",o),n&&n.focus(),()=>{t.removeEventListener("keydown",o)}},[e])}const C0=D.createContext(null),jJ=()=>({send:()=>{},sendErrorMessage:()=>{},sendClientErrorMessage:()=>{},sendCatalogEntitiesFilterCheckboxToggledMessage:()=>{},sendCatalogEntitiesCopyDataSchemaClickedMessage:()=>{},sendCatalogEntitiesViewModeChangedMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchResultClickedMessage:()=>{},sendCatalogEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesListSearchResultClickedMessage:()=>{},sendRedirectMessage:()=>{},sendCustomMessage:()=>{},sendSearchAIQueryMessage:()=>{},sendSearchAiOpenedMessage:()=>{},sendSearchAIFeedbackMessage:()=>{},sendLoginClickedMessage:()=>{},sendLoginProviderClickedMessage:()=>{},sendLogoutClickedMessage:()=>{},sendBannerViewedMessage:()=>{},sendBannerLinkClickedMessage:()=>{},sendBannerDismissedMessage:()=>{},sendBreadcrumbClickedMessage:()=>{},sendCatalogActionsClickedMessage:()=>{},sendCatalogFilterChangedMessage:()=>{},sendCatalogItemClickedMessage:()=>{},sendScorecardLinkClickedMessage:()=>{},sendFilterCheckboxToggledMessage:()=>{},sendFeedbackMessage:()=>{},sendFooterItemClickedMessage:()=>{},sendNavbarMenuItemClickedMessage:()=>{},sendColorModeSwitchedMessage:()=>{},sendLanguagePickerChangedMessage:()=>{},sendProductPickerChangedMessage:()=>{},sendLogoClickedMessage:()=>{},sendCodeSnippetReportedMessage:()=>{},sendMobileMenuClosedMessage:()=>{},sendMobileMenuOpenedMessage:()=>{},sendPageViewedMessage:()=>{},sendPageTimeMessage:()=>{},sendPageActionsClickedMessage:()=>{},sendPageEditClickedMessage:()=>{},sendSidebarDrilldownBackClickedMessage:()=>{},sendSidebarItemClickedMessage:()=>{},sendSidebarExpandedMessage:()=>{},sendSidebarCollapsedMessage:()=>{},sendChangeLayoutClickedMessage:()=>{},sendRequestApiAccessClickedMessage:()=>{},sendVersionPickerChangedMessage:()=>{},sendSearchInputResetClickedMessage:()=>{},sendSearchResultClickedMessage:()=>{},sendSearchRecentRemoveClickedMessage:()=>{},sendSearchRecentClickedMessage:()=>{},sendSearchOpenedMessage:()=>{},sendSearchQueryMessage:()=>{},sendTocItemClickedMessage:()=>{},sendOpenapiDocsMessage:()=>{},sendCopyCodeSnippetClickedMessage:()=>{},sendViewedMessage:()=>{},sendPerformanceMetricsMessage:()=>{},sendDownloadDefinitionClickedMessage:()=>{},sendSelectLanguageClickedMessage:()=>{},sendExpandCollapseAllClickedMessage:()=>{},sendSwitchServersClickedMessage:()=>{},sendExamplesSwitcherClickedMessage:()=>{},sendTryItOpenedMessage:()=>{},sendViewSecurityDetailsClickedMessage:()=>{},sendViewSecurityDetailsClosedMessage:()=>{},sendAsyncapiDocsViewedMessage:()=>{},sendAsyncapiDocsPerformanceMetricsMessage:()=>{},sendAsyncapiDocsSwitchMessageClickedMessage:()=>{},sendAsyncapiDocsSwitchExampleClickedMessage:()=>{},sendAsyncapiDocsMessageClickedMessage:()=>{},sendAsyncapiDocsServerModalOpenedMessage:()=>{},sendAsyncapiDocsDownloadDefinitionClickedMessage:()=>{},sendAsyncapiDocsReferencedInClickedMessage:()=>{},sendGraphqlDocsViewedMessage:()=>{},sendGraphqlDocsPerformanceMetricsMessage:()=>{},sendGraphqlDocsDownloadDefinitionClickedMessage:()=>{},sendGraphqlDocsReferencedInLinkClickedMessage:()=>{},sendGraphqlDocsRequiredScopesModalOpenedMessage:()=>{}}),Jk={useAnchorPositioning:()=>({isSupported:!1}),useTranslate:()=>({translate:(e,t)=>(typeof t=="string"?t:t?.defaultValue)||e||""}),useTranslationKeys:()=>[],useSubmitFeedback:()=>({submitFeedback:()=>{}}),useTelemetry:jJ,useOtelTelemetry:()=>({send:()=>{}}),useBreadcrumbs:()=>({breadcrumbs:[],siblings:void 0}),useBanner:()=>({banner:void 0,dismissBanner:()=>{}}),useCodeHighlight:()=>({highlight:e=>e}),useUserMenu:()=>({}),usePageData:()=>null,usePageProps:()=>({}),usePageSharedData:()=>null,useMcpData:()=>({docs:{enabled:!1}})},cr=()=>{const e=D.useContext(C0);return new Proxy({},{get(t,r){if(e&&r in e.hooks)return e.hooks[r];if(r in Jk)return Jk[r];throw new Error(`Unknown hook ${r.toString()}`)}})};function jc(e,t){D.useEffect(()=>{const r=Array.isArray(e)?e:[e],n=o=>{if(!t)return;const a=o.target;r.some(i=>i.current&&i.current.contains(a))||t(o)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])}var k0,Qk;function LJ(){if(Qk)return k0;Qk=1;var e="Expected a function",t=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,u=typeof self=="object"&&self&&self.Object===Object&&self,h=p||u||Function("return this")(),f=Object.prototype,b=f.toString,v=Math.max,y=Math.min,x=function(){return h.Date.now()};function k(L,I,O){var P,U,Y,q,Q,ne,le=0,G=!1,ce=!1,ee=!0;if(typeof L!="function")throw new TypeError(e);I=E(I)||0,_(O)&&(G=!!O.leading,ce="maxWait"in O,Y=ce?v(E(O.maxWait)||0,I):Y,ee="trailing"in O?!!O.trailing:ee);function fe(X){var te=P,_e=U;return P=U=void 0,le=X,q=L.apply(_e,te),q}function oe(X){return le=X,Q=setTimeout(W,I),G?fe(X):q}function F(X){var te=X-ne,_e=X-le,S=I-te;return ce?y(S,Y-_e):S}function ie(X){var te=X-ne,_e=X-le;return ne===void 0||te>=I||te<0||ce&&_e>=Y}function W(){var X=x();if(ie(X))return V(X);Q=setTimeout(W,F(X))}function V(X){return Q=void 0,ee&&P?fe(X):(P=U=void 0,q)}function pe(){Q!==void 0&&clearTimeout(Q),le=0,P=ne=U=Q=void 0}function K(){return Q===void 0?q:V(x())}function se(){var X=x(),te=ie(X);if(P=arguments,U=this,ne=X,te){if(Q===void 0)return oe(ne);if(ce)return Q=setTimeout(W,I),fe(ne)}return Q===void 0&&(Q=setTimeout(W,I)),q}return se.cancel=pe,se.flush=K,se}function w(L,I,O){var P=!0,U=!0;if(typeof L!="function")throw new TypeError(e);return _(O)&&(P="leading"in O?!!O.leading:P,U="trailing"in O?!!O.trailing:U),k(L,I,{leading:P,maxWait:I,trailing:U})}function _(L){var I=typeof L;return!!L&&(I=="object"||I=="function")}function A(L){return!!L&&typeof L=="object"}function R(L){return typeof L=="symbol"||A(L)&&b.call(L)==r}function E(L){if(typeof L=="number")return L;if(R(L))return t;if(_(L)){var I=typeof L.valueOf=="function"?L.valueOf():L;L=_(I)?I+"":I}if(typeof L!="string")return L===0?L:+L;L=L.replace(n,"");var O=a.test(L);return O||i.test(L)?l(L.slice(2),O?2:8):o.test(L)?t:+L}return k0=w,k0}var NJ=LJ();const IJ=Tn(NJ);function PJ(e){const[t,r]=D.useState(0);return D.useEffect(()=>{const n=y0();r(n&&n.clientHeight||0)},[e.pathname]),D.useEffect(()=>{window.requestAnimationFrame(()=>{const n=y0();r(n&&n.clientHeight||0)})},[]),t}const MJ=150;function Zk(e,t=!1,r=!0,n=MJ){const[o,a]=D.useState(""),i=PJ(e),l=(r?i:0)+n,p=D.useMemo(()=>IJ(()=>{if(!rl)return;const u=document.querySelectorAll("[data-section-id]");if(u.length<2){a("");return}if(window.scrollY<=0){a(u[0].getAttribute("data-section-id")||"");return}for(let h=0;h<u.length;h++){const f=u[h],b=f.getBoundingClientRect();if(b.y<l&&b.bottom>l){a(f.getAttribute("data-section-id")||"");return}}t&&a("")},150),[l,t]);return D.useEffect(()=>{if(rl)return window.addEventListener("scroll",p,{capture:!1}),setTimeout(()=>{p()},10),()=>{window.removeEventListener("scroll",p)}},[e,l,p]),o}function $u(e){const t=D.useRef(null);D.useEffect(()=>{if(typeof window>"u"||typeof document>"u")return;const{body:r,documentElement:n}=document,o=()=>{if(!t.current)return;const{overflow:a,paddingRight:i,scrollbarWidth:l}=t.current;r.style.overflow=a,r.style.paddingRight=i,l?n.style.setProperty("--modal-scrollbar-width",l):n.style.removeProperty("--modal-scrollbar-width"),t.current=null};if(e&&!t.current){t.current={overflow:r.style.overflow,paddingRight:r.style.paddingRight,scrollbarWidth:n.style.getPropertyValue("--modal-scrollbar-width")||null};const a=window.innerWidth-n.clientWidth;r.style.overflow="hidden",a>0&&(r.style.paddingRight=`${a}px`,n.style.setProperty("--modal-scrollbar-width",`${a}px`))}else!e&&t.current&&o();return()=>{o()}},[e])}const _0=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Xk=/^[\\/]{2}/;function DJ(e,t){return t+e.replace(/\\/g,"/")}const e9="popstate";function Qf(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function $J(e={}){let{initialEntries:t=["/"],initialIndex:r,v5Compat:n=!1}=e,o;o=t.map((b,v)=>h(b,typeof b=="string"?null:b.state,v===0?"default":void 0,typeof b=="string"?void 0:b.mask));let a=p(r??o.length-1),i="POP",l=null;function p(b){return Math.min(Math.max(b,0),o.length-1)}function u(){return o[a]}function h(b,v=null,y,x){let k=zu(o?u().pathname:"/",b,v,y,x);return Xo(k.pathname.charAt(0)==="/",`relative pathnames are not supported in memory history: ${JSON.stringify(b)}`),k}function f(b){return typeof b=="string"?b:ol(b)}return{get index(){return a},get action(){return i},get location(){return u()},createHref:f,createURL(b){return new URL(f(b),"http://localhost")},encodeLocation(b){let v=typeof b=="string"?ts(b):b;return{pathname:v.pathname||"",search:v.search||"",hash:v.hash||""}},push(b,v){i="PUSH";let y=Qf(b)?b:h(b,v);a+=1,o.splice(a,o.length,y),n&&l&&l({action:i,location:y,delta:1})},replace(b,v){i="REPLACE";let y=Qf(b)?b:h(b,v);o[a]=y,n&&l&&l({action:i,location:y,delta:0})},go(b){i="POP";let v=p(a+b),y=o[v];a=v,l&&l({action:i,location:y,delta:b})},listen(b){return l=b,()=>{l=null}}}}function zJ(e={}){function t(n,o){let a=o.state?.masked,{pathname:i,search:l,hash:p}=a||n.location;return zu("",{pathname:i,search:l,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",a?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,o){return typeof o=="string"?o:ol(o)}return r9(t,r,null,e)}function UJ(e={}){function t(o,a){let{pathname:i="/",search:l="",hash:p=""}=ts(o.location.hash.substring(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),zu("",{pathname:i,search:l,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(o,a){let i=o.document.querySelector("base"),l="";if(i&&i.getAttribute("href")){let p=o.location.href,u=p.indexOf("#");l=u===-1?p:p.slice(0,u)}return l+"#"+(typeof a=="string"?a:ol(a))}function n(o,a){Xo(o.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(a)})`)}return r9(t,r,n,e)}function yr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Xo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FJ(){return Math.random().toString(36).substring(2,10)}function t9(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function zu(e,t,r=null,n,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ts(t):t,state:r,key:t&&t.key||n||FJ(),mask:o}}function ol({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ts(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function r9(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,l="POP",p=null,u=h();u==null&&(u=0,i.replaceState({...i.state,idx:u},""));function h(){return(i.state||{idx:null}).idx}function f(){l="POP";let k=h(),w=k==null?null:k-u;u=k,p&&p({action:l,location:x.location,delta:w})}function b(k,w){l="PUSH";let _=Qf(k)?k:zu(x.location,k,w);r&&r(_,k),u=h()+1;let A=t9(_,u),R=x.createHref(_.mask||_);try{i.pushState(A,"",R)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(R)}a&&p&&p({action:l,location:x.location,delta:1})}function v(k,w){l="REPLACE";let _=Qf(k)?k:zu(x.location,k,w);r&&r(_,k),u=h();let A=t9(_,u),R=x.createHref(_.mask||_);i.replaceState(A,"",R),a&&p&&p({action:l,location:x.location,delta:0})}function y(k){return BJ(o,k)}let x={get action(){return l},get location(){return e(o,i)},listen(k){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(e9,f),p=k,()=>{o.removeEventListener(e9,f),p=null}},createHref(k){return t(o,k)},createURL:y,encodeLocation(k){let w=y(k);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:b,replace:v,go(k){return i.go(k)}};return x}function BJ(e,t,r=!1){let n="http://localhost";e&&(n=e.location.origin!=="null"?e.location.origin:e.location.href),yr(n,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:ol(t);return o=o.replace(/ $/,"%20"),!r&&Xk.test(o)&&(o=n+o),new URL(o,n)}function n9(e,t,r="/"){return qJ(e,t,r,!1)}function qJ(e,t,r,n,o){let a=rs((typeof t=="string"?ts(t):t).pathname||"/",r);if(a==null)return null;let i=HJ(e),l=null,p=nQ(a);for(let u=0;l==null&&u<i.length;++u)l=rQ(i[u],p,n);return l}function HJ(e){let t=o9(e);return VJ(t),t}function o9(e,t=[],r=[],n="",o=!1){let a=(i,l,p=o,u)=>{let h={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(n)&&p)return;yr(h.relativePath.startsWith(n),`Absolute route path "${h.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(n.length)}let f=ea([n,h.relativePath]),b=r.concat(h);i.children&&i.children.length>0&&(yr(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),o9(i.children,t,b,f,p)),!(i.path==null&&!i.index)&&t.push({path:f,score:eQ(f,i.index),routesMeta:b.map((v,y)=>{let[x,k]=l9(v.relativePath,v.caseSensitive,y===b.length-1);return{...v,matcher:x,compiledParams:k}})})};return e.forEach((i,l)=>{if(i.path===""||!i.path?.includes("?"))a(i,l);else for(let p of a9(i.path))a(i,l,!0,p)}),t}function a9(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=a9(n.join("/")),l=[];return l.push(...i.map(p=>p===""?a:[a,p].join("/"))),o&&l.push(...i),l.map(p=>e.startsWith("/")&&p===""?"/":p)}function VJ(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:tQ(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const GJ=/^:[\w-]+$/,WJ=/^:[\w-]+/,YJ=3.5,KJ=3,JJ=2,QJ=1,ZJ=10,XJ=-2,i9=e=>e==="*";function eQ(e,t){let r=e.split("/"),n=r.length;return r.some(i9)&&(n+=XJ),t&&(n+=JJ),r.filter(o=>!i9(o)).reduce((o,a)=>o+(GJ.test(a)?KJ:WJ.test(a)?YJ:a===""?QJ:ZJ),n)}function tQ(e,t){return e.length===t.length&&e.slice(0,-1).every((r,n)=>r===t[n])?e[e.length-1]-t[t.length-1]:0}function rQ(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let l=0;l<n.length;++l){let p=n[l],u=l===n.length-1,h=a==="/"?t:t.slice(a.length)||"/",f={path:p.relativePath,caseSensitive:p.caseSensitive,end:u},b=p.matcher&&p.compiledParams?s9(f,h,p.matcher,p.compiledParams):Zf(f,h),v=p.route;if(!b&&u&&r&&!n[n.length-1].route.index&&(b=Zf({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},h)),!b)return null;Object.assign(o,b.params),i.push({params:o,pathname:ea([a,b.pathname]),pathnameBase:iQ(ea([a,b.pathnameBase])),route:v}),b.pathnameBase!=="/"&&(a=ea([a,b.pathnameBase]))}return i}function Zf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=l9(e.path,e.caseSensitive,e.end);return s9(e,t,r,n)}function s9(e,t,r,n){let o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce((p,{paramName:u,isOptional:h},f)=>{if(u==="*"){let v=l[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const b=l[f];return h&&!b?p[u]=void 0:p[u]=(b||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:i,pattern:e}}function l9(e,t=!1,r=!0){Xo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,i,l,p,u)=>{if(n.push({paramName:i,isOptional:l!=null}),l){let h=u.charAt(p+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function nQ(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Xo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function rs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function oQ(e,t="/"){let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ts(e):e,a;return r?(r=p9(r),r.startsWith("/")?a=c9(r.substring(1),"/"):a=c9(r,t)):a=t,{pathname:a,search:sQ(n),hash:lQ(o)}}function c9(e,t){let r=u9(t).split("/");return e.split("/").forEach(n=>{n===".."?r.length>1&&r.pop():n!=="."&&r.push(n)}),r.length>1?r.join("/"):"/"}function A0(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function aQ(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function E0(e){let t=aQ(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function Xf(e,t,r,n=!1){let o;typeof e=="string"?o=ts(e):(o={...e},yr(!o.pathname||!o.pathname.includes("?"),A0("?","pathname","search",o)),yr(!o.pathname||!o.pathname.includes("#"),A0("#","pathname","hash",o)),yr(!o.search||!o.search.includes("#"),A0("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(i==null)l=r;else{let f=t.length-1;if(!n&&i.startsWith("..")){let b=i.split("/");for(;b[0]==="..";)b.shift(),f-=1;o.pathname=b.join("/")}l=f>=0?t[f]:"/"}let p=oQ(o,l),u=i&&i!=="/"&&i.endsWith("/"),h=(a||i===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(u||h)&&(p.pathname+="/"),p}const p9=e=>e.replace(/[\\/]{2,}/g,"/"),ea=e=>p9(e.join("/")),u9=e=>e.replace(/\/+$/,""),iQ=e=>u9(e).replace(/^\/*/,"/"),sQ=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lQ=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;var cQ=class{status;statusText;data;error;internal;constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function pQ(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function uQ(e){return ea(e.map(t=>t.route.path).filter(Boolean))||"/"}const d9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function h9(e,t){let r=e;if(typeof r!="string"||!_0.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(d9)try{let a=new URL(window.location.href),i=Xk.test(r)?new URL(DJ(r,a.protocol)):new URL(r),l=rs(i.pathname,t);i.origin===a.origin&&l!=null?r=l+i.search+i.hash:o=!0}catch{Xo(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}const f9=["POST","PUT","PATCH","DELETE"];new Set(f9);const dQ=["GET",...f9];new Set(dQ);const hQ=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function fQ(e){try{return hQ.includes(new URL(e).protocol)}catch{return!1}}const Lc=D.createContext(null);Lc.displayName="DataRouter";const em=D.createContext(null);em.displayName="DataRouterState";const m9=D.createContext(!1);function mQ(){return D.useContext(m9)}const g9=D.createContext({isTransitioning:!1});g9.displayName="ViewTransition";const gQ=D.createContext(new Map);gQ.displayName="Fetchers";const bQ=D.createContext(null);bQ.displayName="Await";const Io=D.createContext(null);Io.displayName="Navigation";const Uu=D.createContext(null);Uu.displayName="Location";const ka=D.createContext({outlet:null,matches:[],isDataRoute:!1});ka.displayName="Route";const T0=D.createContext(null);T0.displayName="RouteError";const b9="REACT_ROUTER_ERROR",vQ="REDIRECT",yQ="ROUTE_ERROR_RESPONSE";function xQ(e){if(e.startsWith(`${b9}:${vQ}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function wQ(e){if(e.startsWith(`${b9}:${yQ}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new cQ(t.status,t.statusText,t.data)}catch{}}function SQ(e,{relative:t}={}){yr(al(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=D.useContext(Io),{hash:o,pathname:a,search:i}=Fu(e,{relative:t}),l=a;return r!=="/"&&(l=a==="/"?r:ea([r,a])),n.createHref({pathname:l,search:i,hash:o})}function al(){return D.useContext(Uu)!=null}function ir(){return yr(al(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Uu).location}const v9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function il(){let{isDataRoute:e}=D.useContext(ka);return e?MQ():CQ()}function CQ(){yr(al(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Lc),{basename:t,navigator:r}=D.useContext(Io),{matches:n}=D.useContext(ka),{pathname:o}=ir(),a=JSON.stringify(E0(n)),i=D.useRef(!1);return D.useLayoutEffect(()=>{i.current=!0}),D.useCallback((l,p={})=>{if(Xo(i.current,v9),!i.current)return;if(typeof l=="number"){r.go(l);return}let u=Xf(l,JSON.parse(a),o,p.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:ea([t,u.pathname])),(p.replace?r.replace:r.push)(u,p.state,p)},[t,r,a,o,e])}D.createContext(null);function Fu(e,{relative:t}={}){let{matches:r}=D.useContext(ka),{pathname:n}=ir(),o=JSON.stringify(E0(r));return D.useMemo(()=>Xf(e,JSON.parse(o),n,t==="path"),[e,o,n,t])}function kQ(e,t){return y9(e,t)}function y9(e,t,r){yr(al(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=D.useContext(Io),{matches:o}=D.useContext(ka),a=o[o.length-1],i=a?a.params:{},l=a?a.pathnameBase:"/",p=ir(),u;if(t){let y=typeof t=="string"?ts(t):t;yr(l==="/"||y.pathname?.startsWith(l),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${l}" but pathname "${y.pathname}" was given in the \`location\` prop.`),u=y}else u=p;let h=u.pathname||"/",f=h;if(l!=="/"){let y=l.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(y.length).join("/")}let b=r&&r.state.matches.length?r.state.matches.map(y=>Object.assign(y,{route:r.manifest[y.route.id]||y.route})):n9(e,{pathname:f}),v=RQ(b&&b.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:ea([l,n.encodeLocation?n.encodeLocation(y.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:ea([l,n.encodeLocation?n.encodeLocation(y.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),o,r);return t&&v?D.createElement(Uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...u},navigationType:"POP"}},v):v}function _Q(){let e=PQ(),t=pQ(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),r?D.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)}const AQ=D.createElement(_Q,null);var EQ=class extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static contextType=m9;static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=wQ(e.digest);r&&(e=r)}let t=e!==void 0?D.createElement(ka.Provider,{value:this.props.routeContext},D.createElement(T0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?D.createElement(TQ,{error:e},t):t}};const O0=new WeakMap;function TQ({children:e,error:t}){let{basename:r}=D.useContext(Io);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=xQ(t.digest);if(n){let o=O0.get(t);if(o)throw o;let a=h9(n.location,r),i=a.absoluteURL||a.to;if(fQ(i))throw new Error("Invalid redirect location");if(d9&&!O0.get(t))if(a.isExternal||n.reloadDocument)window.location.href=i;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:n.replace}));throw O0.set(t,l),l}return D.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i}`})}}return e}function OQ({routeContext:e,match:t,children:r}){let n=D.useContext(Lc);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),D.createElement(ka.Provider,{value:e},r)}function RQ(e,t=[],r){let n=r?.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=n?.errors;if(a!=null){let h=o.findIndex(f=>f.route.id&&a?.[f.route.id]!==void 0);yr(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let i=!1,l=-1;if(r&&n){i=n.renderFallback;for(let h=0;h<o.length;h++){let f=o[h];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(l=h),f.route.id){let{loaderData:b,errors:v}=n,y=f.route.loader&&!b.hasOwnProperty(f.route.id)&&(!v||v[f.route.id]===void 0);if(f.route.lazy||y){r.isStatic&&(i=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let p=r?.onError,u=n&&p?(h,f)=>{p(h,{location:n.location,params:n.matches?.[0]?.params??{},pattern:uQ(n.matches),errorInfo:f})}:void 0;return o.reduceRight((h,f,b)=>{let v,y=!1,x=null,k=null;n&&(v=a&&f.route.id?a[f.route.id]:void 0,x=f.route.errorElement||AQ,i&&(l<0&&b===0?(DQ("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,k=null):l===b&&(y=!0,k=f.route.hydrateFallbackElement||null)));let w=t.concat(o.slice(0,b+1)),_=()=>{let A;return v?A=x:y?A=k:f.route.Component?A=D.createElement(f.route.Component,null):f.route.element?A=f.route.element:A=h,D.createElement(OQ,{match:f,routeContext:{outlet:h,matches:w,isDataRoute:n!=null},children:A})};return n&&(f.route.ErrorBoundary||f.route.errorElement||b===0)?D.createElement(EQ,{location:n.location,revalidation:n.revalidation,component:x,error:v,children:_(),routeContext:{outlet:null,matches:w,isDataRoute:!0},onError:u}):_()},null)}function R0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jQ(e){let t=D.useContext(Lc);return yr(t,R0(e)),t}function LQ(e){let t=D.useContext(em);return yr(t,R0(e)),t}function NQ(e){let t=D.useContext(ka);return yr(t,R0(e)),t}function j0(e){let t=NQ(e),r=t.matches[t.matches.length-1];return yr(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function IQ(){return j0("useRouteId")}function PQ(){let e=D.useContext(T0),t=LQ("useRouteError"),r=j0("useRouteError");return e!==void 0?e:t.errors?.[r]}function MQ(){let{router:e}=jQ("useNavigate"),t=j0("useNavigate"),r=D.useRef(!1);return D.useLayoutEffect(()=>{r.current=!0}),D.useCallback(async(n,o={})=>{Xo(r.current,v9),r.current&&(typeof n=="number"?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t])}const x9={};function DQ(e,t,r){x9[e]||(x9[e]=!0,Xo(!1,r))}D.memo($Q);function $Q({routes:e,manifest:t,future:r,state:n,isStatic:o,onError:a}){return y9(e,void 0,{manifest:t,state:n,isStatic:o,onError:a})}function zQ({basename:e,children:t,initialEntries:r,initialIndex:n,useTransitions:o}){let a=D.useRef(null);a.current==null&&(a.current=$J({initialEntries:r,initialIndex:n,v5Compat:!0}));let i=a.current,[l,p]=D.useState({action:i.action,location:i.location}),u=D.useCallback(h=>{o===!1?p(h):D.startTransition(()=>p(h))},[o]);return D.useLayoutEffect(()=>i.listen(u),[i,u]),D.createElement(L0,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:i,useTransitions:o})}function UQ({to:e,replace:t,state:r,relative:n}){yr(al(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=D.useContext(Io);Xo(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=D.useContext(ka),{pathname:i}=ir(),l=il(),p=Xf(e,E0(a),i,n==="path"),u=JSON.stringify(p);return D.useEffect(()=>{l(JSON.parse(u),{replace:t,state:r,relative:n})},[l,u,n,t,r]),null}function tm(e){yr(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function L0({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:o,static:a=!1,useTransitions:i}){yr(!al(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),p=D.useMemo(()=>({basename:l,navigator:o,static:a,useTransitions:i,future:{}}),[l,o,a,i]);typeof r=="string"&&(r=ts(r));let{pathname:u="/",search:h="",hash:f="",state:b=null,key:v="default",mask:y}=r,x=D.useMemo(()=>{let k=rs(u,l);return k==null?null:{location:{pathname:k,search:h,hash:f,state:b,key:v,mask:y},navigationType:n}},[l,u,h,f,b,v,n,y]);return Xo(x!=null,`<Router basename="${l}"> is not able to match the URL "${u}${h}${f}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:D.createElement(Io.Provider,{value:p},D.createElement(Uu.Provider,{children:t,value:x}))}function w9({children:e,location:t}){return kQ(N0(e),t)}function N0(e,t=[]){let r=[];return D.Children.forEach(e,(n,o)=>{if(!D.isValidElement(n))return;let a=[...t,o];if(n.type===D.Fragment){r.push.apply(r,N0(n.props.children,a));return}yr(n.type===tm,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let i=n.props;yr(!i.index||!i.children,"An index route cannot have child routes.");let l={id:i.id||a.join("-"),caseSensitive:i.caseSensitive,element:i.element,Component:i.Component,index:i.index,path:i.path,middleware:i.middleware,loader:i.loader,action:i.action,hydrateFallbackElement:i.hydrateFallbackElement,HydrateFallback:i.HydrateFallback,errorElement:i.errorElement,ErrorBoundary:i.ErrorBoundary,shouldRevalidate:i.shouldRevalidate,handle:i.handle,lazy:i.lazy};i.children&&(l.children=N0(i.children,a)),r.push(l)}),r}const rm="application/x-www-form-urlencoded";function nm(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function FQ(e){return nm(e)&&e.tagName.toLowerCase()==="button"}function BQ(e){return nm(e)&&e.tagName.toLowerCase()==="form"}function qQ(e){return nm(e)&&e.tagName.toLowerCase()==="input"}function HQ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function VQ(e,t){return e.button===0&&(!t||t==="_self")&&!HQ(e)}let om=null;function GQ(){if(om===null)try{new FormData(document.createElement("form"),0),om=!1}catch{om=!0}return om}const WQ=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function I0(e){return e!=null&&!WQ.has(e)?(Xo(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${rm}"`),null):e}function YQ(e,t){let r,n,o,a,i;if(BQ(e)){let l=e.getAttribute("action");n=l?rs(l,t):null,r=e.getAttribute("method")||"get",o=I0(e.getAttribute("enctype"))||rm,a=new FormData(e)}else if(FQ(e)||qQ(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||l.getAttribute("action");if(n=p?rs(p,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||"get",o=I0(e.getAttribute("formenctype"))||I0(l.getAttribute("enctype"))||rm,a=new FormData(l,e),!GQ()){let{name:u,type:h,value:f}=e;if(h==="image"){let b=u?`${u}.`:"";a.append(`${b}x`,"0"),a.append(`${b}y`,"0")}else u&&a.append(u,f)}}else{if(nm(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r="get",n=null,o=rm,i=e}return a&&o==="text/plain"&&(i=a,a=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:a,body:i}}function P0(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function S9(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname.endsWith("/")?r.pathname=`${r.pathname}_.${t}`:r.pathname=`${r.pathname}.${t}`,r}async function KQ(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.location.reload(),new Promise(()=>{})}}function JQ(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function QQ(e,t,r){return tZ((await Promise.all(e.map(async n=>{let o=t.routes[n.route.id];if(o){let a=await KQ(o,r);return a.links?a.links():[]}return[]}))).flat(1).filter(JQ).filter(n=>n.rel==="stylesheet"||n.rel==="preload").map(n=>n.rel==="stylesheet"?{...n,rel:"prefetch",as:"style"}:{...n,rel:"prefetch"}))}function C9(e,t,r,n,o,a){let i=(p,u)=>r[u]?p.route.id!==r[u].route.id:!0,l=(p,u)=>r[u].pathname!==p.pathname||r[u].route.path?.endsWith("*")&&r[u].params["*"]!==p.params["*"];return a==="assets"?t.filter((p,u)=>i(p,u)||l(p,u)):a==="data"?t.filter((p,u)=>{let h=n.routes[p.route.id];if(!h||!h.hasLoader)return!1;if(i(p,u)||l(p,u))return!0;if(p.route.shouldRevalidate){let f=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function ZQ(e,t,{includeHydrateFallback:r}={}){return XQ(e.map(n=>{let o=t.routes[n.route.id];if(!o)return[];let a=[o.module];return o.clientActionModule&&(a=a.concat(o.clientActionModule)),o.clientLoaderModule&&(a=a.concat(o.clientLoaderModule)),r&&o.hydrateFallbackModule&&(a=a.concat(o.hydrateFallbackModule)),o.imports&&(a=a.concat(o.imports)),a}).flat(1))}function XQ(e){return[...new Set(e)]}function eZ(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function tZ(e,t){let r=new Set;return new Set(t),e.reduce((n,o)=>{let a=JSON.stringify(eZ(o));return r.has(a)||(r.add(a),n.push({key:a,link:o})),n},[])}function rZ(){let e=D.useContext(Lc);return P0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function nZ(){let e=D.useContext(em);return P0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const M0=D.createContext(void 0);M0.displayName="FrameworkContext";function D0(){let e=D.useContext(M0);return P0(e,"You must render this element inside a <HydratedRouter> element"),e}function oZ(e,t){let r=D.useContext(M0),[n,o]=D.useState(!1),[a,i]=D.useState(!1),{onFocus:l,onBlur:p,onMouseEnter:u,onMouseLeave:h,onTouchStart:f}=t,b=D.useRef(null);D.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let x=w=>{w.forEach(_=>{i(_.isIntersecting)})},k=new IntersectionObserver(x,{threshold:.5});return b.current&&k.observe(b.current),()=>{k.disconnect()}}},[e]),D.useEffect(()=>{if(n){let x=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(x)}}},[n]);let v=()=>{o(!0)},y=()=>{o(!1),i(!1)};return r?e!=="intent"?[a,b,{}]:[a,b,{onFocus:Bu(l,v),onBlur:Bu(p,y),onMouseEnter:Bu(u,v),onMouseLeave:Bu(h,y),onTouchStart:Bu(f,v)}]:[!1,b,{}]}function Bu(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function aZ({page:e,...t}){let r=mQ(),{nonce:n}=D0(),{router:o}=rZ(),a=D.useMemo(()=>n9(o.routes,e,o.basename),[o.routes,e,o.basename]);return a?(t.nonce==null&&n&&(t={...t,nonce:n}),r?D.createElement(sZ,{page:e,matches:a,...t}):D.createElement(lZ,{page:e,matches:a,...t})):null}function iZ(e){let{manifest:t,routeModules:r}=D0(),[n,o]=D.useState([]);return D.useEffect(()=>{let a=!1;return QQ(e,t,r).then(i=>{a||o(i)}),()=>{a=!0}},[e,t,r]),n}function sZ({page:e,matches:t,...r}){let n=ir(),o=D.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let a=S9(e,"rsc"),i=!1,l=[];for(let p of t)typeof p.route.shouldRevalidate=="function"?i=!0:l.push(p.route.id);return i&&l.length>0&&a.searchParams.set("_routes",l.join(",")),[a.pathname+a.search]},[e,n,t]);return D.createElement(D.Fragment,null,o.map(a=>D.createElement("link",{key:a,rel:"prefetch",as:"fetch",href:a,...r})))}function lZ({page:e,matches:t,...r}){let n=ir(),{manifest:o,routeModules:a}=D0(),{loaderData:i,matches:l}=nZ(),p=D.useMemo(()=>C9(e,t,l,o,n,"data"),[e,t,l,o,n]),u=D.useMemo(()=>C9(e,t,l,o,n,"assets"),[e,t,l,o,n]),h=D.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let v=new Set,y=!1;if(t.forEach(k=>{let w=o.routes[k.route.id];!w||!w.hasLoader||(!p.some(_=>_.route.id===k.route.id)&&k.route.id in i&&a[k.route.id]?.shouldRevalidate||w.hasClientLoader?y=!0:v.add(k.route.id))}),v.size===0)return[];let x=S9(e,"data");return y&&v.size>0&&x.searchParams.set("_routes",t.filter(k=>v.has(k.route.id)).map(k=>k.route.id).join(",")),[x.pathname+x.search]},[i,n,o,p,t,e,a]),f=D.useMemo(()=>ZQ(u,o),[u,o]),b=iZ(u);return D.createElement(D.Fragment,null,h.map(v=>D.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...r})),f.map(v=>D.createElement("link",{key:v,rel:"modulepreload",href:v,...r})),b.map(({key:v,link:y})=>D.createElement("link",{key:v,nonce:r.nonce,...y,crossOrigin:y.crossOrigin??r.crossOrigin})))}function cZ(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}const pZ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{pZ&&(window.__reactRouterVersion="8.3.0")}catch{}function uZ({basename:e,children:t,useTransitions:r,window:n}){let o=D.useRef(null);o.current==null&&(o.current=zJ({window:n,v5Compat:!0}));let a=o.current,[i,l]=D.useState({action:a.action,location:a.location}),p=D.useCallback(u=>{r===!1?l(u):D.startTransition(()=>l(u))},[r]);return D.useLayoutEffect(()=>a.listen(p),[a,p]),D.createElement(L0,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a,useTransitions:r})}function dZ({basename:e,children:t,useTransitions:r,window:n}){let o=D.useRef(null);o.current==null&&(o.current=UJ({window:n,v5Compat:!0}));let a=o.current,[i,l]=D.useState({action:a.action,location:a.location}),p=D.useCallback(u=>{r===!1?l(u):D.startTransition(()=>l(u))},[r]);return D.useLayoutEffect(()=>a.listen(p),[a,p]),D.createElement(L0,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a,useTransitions:r})}const am=D.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:n,reloadDocument:o,replace:a,mask:i,state:l,target:p,to:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b,...v},y){let{basename:x,navigator:k,useTransitions:w}=D.useContext(Io),_=typeof u=="string"&&_0.test(u),A=h9(u,x);u=A.to;let R=SQ(u,{relative:n}),E=ir(),L=null;if(i){let ne=Xf(i,[],E.mask?E.mask.pathname:"/",!0);x!=="/"&&(ne.pathname=ne.pathname==="/"?x:ea([x,ne.pathname])),L=k.createHref(ne)}let[I,O,P]=oZ(r,v),U=gZ(u,{replace:a,mask:i,state:l,target:p,preventScrollReset:h,relative:n,viewTransition:f,defaultShouldRevalidate:b,useTransitions:w});function Y(ne){e&&e(ne),ne.defaultPrevented||U(ne)}let q=!(A.isExternal||o),Q=D.createElement("a",{...v,...P,href:(q?L:void 0)||A.absoluteURL||R,onClick:q?Y:e,ref:cZ(y,O),target:p,"data-discover":!_&&t==="render"?"true":void 0});return I&&!_?D.createElement(D.Fragment,null,Q,D.createElement(aZ,{page:R})):Q});am.displayName="Link";const hZ=D.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:n=!1,style:o,to:a,viewTransition:i,children:l,...p},u){let h=Fu(a,{relative:p.relative}),f=ir(),b=D.useContext(em),{navigator:v,basename:y}=D.useContext(Io),x=b!=null&&wZ(h)&&i===!0,k=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,w=f.pathname,_=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;t||(w=w.toLowerCase(),_=_?_.toLowerCase():null,k=k.toLowerCase()),_&&y&&(_=rs(_,y)||_);const A=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let R=w===k||!n&&w.startsWith(k)&&w.charAt(A)==="/",E=_!=null&&(_===k||!n&&_.startsWith(k)&&_.charAt(A)==="/"),L={isActive:R,isPending:E,isTransitioning:x},I=R?e:void 0,O;typeof r=="function"?O=r(L):O=[r,R?"active":null,E?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let P=typeof o=="function"?o(L):o;return D.createElement(am,{...p,"aria-current":I,className:O,ref:u,style:P,to:a,viewTransition:i},typeof l=="function"?l(L):l)});hZ.displayName="NavLink";const fZ=D.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:o,state:a,method:i="get",action:l,onSubmit:p,relative:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b,...v},y)=>{let{useTransitions:x}=D.useContext(Io),k=yZ(),w=xZ(l,{relative:u}),_=i.toLowerCase()==="get"?"get":"post",A=typeof l=="string"&&_0.test(l),R=E=>{if(p&&p(E),E.defaultPrevented)return;E.preventDefault();let L=E.nativeEvent.submitter,I=L?.getAttribute("formmethod")||i,O=()=>k(L||E.currentTarget,{fetcherKey:t,method:I,navigate:r,replace:o,state:a,relative:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b});x&&r!==!1?D.startTransition(()=>O()):O()};return D.createElement("form",{ref:y,method:_,action:w,onSubmit:n?p:R,...v,"data-discover":!A&&e==="render"?"true":void 0})});fZ.displayName="Form";function mZ(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k9(e){let t=D.useContext(Lc);return yr(t,mZ(e)),t}function gZ(e,{target:t,replace:r,mask:n,state:o,preventScrollReset:a,relative:i,viewTransition:l,defaultShouldRevalidate:p,useTransitions:u}={}){let h=il(),f=ir(),b=Fu(e,{relative:i});return D.useCallback(v=>{if(VQ(v,t)){v.preventDefault();let y=r!==void 0?r:ol(f)===ol(b),x=()=>h(e,{replace:y,mask:n,state:o,preventScrollReset:a,relative:i,viewTransition:l,defaultShouldRevalidate:p});u?D.startTransition(()=>x()):x()}},[f,h,b,r,n,o,t,e,a,i,l,p,u])}let bZ=0,vZ=()=>`__${String(++bZ)}__`;function yZ(){let{router:e}=k9("useSubmit"),{basename:t}=D.useContext(Io),r=IQ(),n=e.fetch,o=e.navigate;return D.useCallback(async(a,i={})=>{let{action:l,method:p,encType:u,formData:h,body:f}=YQ(a,t);i.navigate===!1?await n(i.fetcherKey||vZ(),r,i.action||l,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:f,formMethod:i.method||p,formEncType:i.encType||u,flushSync:i.flushSync}):await o(i.action||l,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:f,formMethod:i.method||p,formEncType:i.encType||u,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[n,o,t,r])}function xZ(e,{relative:t}={}){let{basename:r}=D.useContext(Io),n=D.useContext(ka);yr(n,"useFormAction must be used inside a RouteContext");let[o]=n.matches.slice(-1),a={...Fu(e||".",{relative:t})},i=ir();if(e==null){a.search=i.search;let l=new URLSearchParams(a.search),p=l.getAll("index");if(p.some(u=>u==="")){l.delete("index"),p.filter(h=>h).forEach(h=>l.append("index",h));let u=l.toString();a.search=u?`?${u}`:""}}return(!e||e===".")&&o.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:ea([r,a.pathname])),ol(a)}function wZ(e,{relative:t}={}){let r=D.useContext(g9);yr(r!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=k9("useViewTransitionState"),o=Fu(e,{relative:t});if(!r.isTransitioning)return!1;let a=rs(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=rs(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Zf(o.pathname,i)!=null||Zf(o.pathname,a)!=null}function im(e=!0){const t=D.useContext(C0);if(!t?.config)return{};const{config:r,hooks:n}=t,{useCurrentProduct:o}=n,a=o();return e&&a?.configOverride?{...r,...a.configOverride,analytics:r.analytics}:r}var sm=k4();const SZ=Tn(sm);function Nc({children:e,mountId:t="root"}){const r=rl?document.getElementById(t)||document.body:null;return r?sm.createPortal(e,r):m.jsx(m.Fragment,{children:e})}const CZ=e=>m.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM7 10.7954L4.5 8.2954L5.2953 7.5L7 9.2046L10.705 5.5L11.5029 6.29295L7 10.7954Z"})}),$0=xe(CZ).attrs({"data-component-name":"icons/CheckmarkFilledIcon/CheckmarkFilledIcon"})`
|
|
6568
|
+
`;function S0(e){D.useEffect(()=>{const t=e.current;if(!t)return;const r=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),n=r[0],o=a=>{if(a.key==="Tab"){const i=r[r.length-1];a.shiftKey&&document.activeElement===n?(i?.focus(),a.preventDefault()):!a.shiftKey&&document.activeElement===i&&(n?.focus(),a.preventDefault())}};return t.addEventListener("keydown",o),n&&n.focus(),()=>{t.removeEventListener("keydown",o)}},[e])}const C0=D.createContext(null),jJ=()=>({send:()=>{},sendErrorMessage:()=>{},sendClientErrorMessage:()=>{},sendCatalogEntitiesFilterCheckboxToggledMessage:()=>{},sendCatalogEntitiesCopyDataSchemaClickedMessage:()=>{},sendCatalogEntitiesViewModeChangedMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesRelatedEntitiesListSearchResultClickedMessage:()=>{},sendCatalogEntitiesListSearchQueryMessage:()=>{},sendCatalogEntitiesListSearchResultClickedMessage:()=>{},sendRedirectMessage:()=>{},sendCustomMessage:()=>{},sendSearchAIQueryMessage:()=>{},sendSearchAiOpenedMessage:()=>{},sendSearchAIFeedbackMessage:()=>{},sendLoginClickedMessage:()=>{},sendLoginProviderClickedMessage:()=>{},sendLogoutClickedMessage:()=>{},sendBannerViewedMessage:()=>{},sendBannerLinkClickedMessage:()=>{},sendBannerDismissedMessage:()=>{},sendBreadcrumbClickedMessage:()=>{},sendCatalogActionsClickedMessage:()=>{},sendCatalogFilterChangedMessage:()=>{},sendCatalogItemClickedMessage:()=>{},sendScorecardLinkClickedMessage:()=>{},sendFilterCheckboxToggledMessage:()=>{},sendFeedbackMessage:()=>{},sendFooterItemClickedMessage:()=>{},sendNavbarMenuItemClickedMessage:()=>{},sendColorModeSwitchedMessage:()=>{},sendLanguagePickerChangedMessage:()=>{},sendProductPickerChangedMessage:()=>{},sendLogoClickedMessage:()=>{},sendCodeSnippetReportedMessage:()=>{},sendMobileMenuClosedMessage:()=>{},sendMobileMenuOpenedMessage:()=>{},sendPageViewedMessage:()=>{},sendPageTimeMessage:()=>{},sendPageActionsClickedMessage:()=>{},sendPageEditClickedMessage:()=>{},sendSidebarDrilldownBackClickedMessage:()=>{},sendSidebarItemClickedMessage:()=>{},sendSidebarExpandedMessage:()=>{},sendSidebarCollapsedMessage:()=>{},sendChangeLayoutClickedMessage:()=>{},sendRequestApiAccessClickedMessage:()=>{},sendVersionPickerChangedMessage:()=>{},sendSearchInputResetClickedMessage:()=>{},sendSearchResultClickedMessage:()=>{},sendSearchRecentRemoveClickedMessage:()=>{},sendSearchRecentClickedMessage:()=>{},sendSearchOpenedMessage:()=>{},sendSearchQueryMessage:()=>{},sendTocItemClickedMessage:()=>{},sendOpenapiDocsMessage:()=>{},sendCopyCodeSnippetClickedMessage:()=>{},sendViewedMessage:()=>{},sendPerformanceMetricsMessage:()=>{},sendDownloadDefinitionClickedMessage:()=>{},sendSelectLanguageClickedMessage:()=>{},sendExpandCollapseAllClickedMessage:()=>{},sendSwitchServersClickedMessage:()=>{},sendExamplesSwitcherClickedMessage:()=>{},sendTryItOpenedMessage:()=>{},sendViewSecurityDetailsClickedMessage:()=>{},sendViewSecurityDetailsClosedMessage:()=>{},sendAsyncapiDocsViewedMessage:()=>{},sendAsyncapiDocsPerformanceMetricsMessage:()=>{},sendAsyncapiDocsSwitchMessageClickedMessage:()=>{},sendAsyncapiDocsSwitchExampleClickedMessage:()=>{},sendAsyncapiDocsMessageClickedMessage:()=>{},sendAsyncapiDocsServerModalOpenedMessage:()=>{},sendAsyncapiDocsDownloadDefinitionClickedMessage:()=>{},sendAsyncapiDocsReferencedInClickedMessage:()=>{},sendGraphqlDocsViewedMessage:()=>{},sendGraphqlDocsPerformanceMetricsMessage:()=>{},sendGraphqlDocsDownloadDefinitionClickedMessage:()=>{},sendGraphqlDocsReferencedInLinkClickedMessage:()=>{},sendGraphqlDocsRequiredScopesModalOpenedMessage:()=>{}}),Jk={useAnchorPositioning:()=>({isSupported:!1}),useTranslate:()=>({translate:(e,t)=>(typeof t=="string"?t:t?.defaultValue)||e||""}),useTranslationKeys:()=>[],useSubmitFeedback:()=>({submitFeedback:()=>{}}),useTelemetry:jJ,useOtelTelemetry:()=>({send:()=>{}}),useBreadcrumbs:()=>({breadcrumbs:[],siblings:void 0}),useBanner:()=>({banner:void 0,dismissBanner:()=>{}}),useCodeHighlight:()=>({highlight:e=>e}),useUserMenu:()=>({}),usePageData:()=>null,usePageProps:()=>({}),usePageSharedData:()=>null,useMcpData:()=>({docs:{enabled:!1}})},cr=()=>{const e=D.useContext(C0);return new Proxy({},{get(t,r){if(e&&r in e.hooks)return e.hooks[r];if(r in Jk)return Jk[r];throw new Error(`Unknown hook ${r.toString()}`)}})};function jc(e,t){D.useEffect(()=>{const r=Array.isArray(e)?e:[e],n=o=>{if(!t)return;const a=o.target;r.some(i=>i.current&&i.current.contains(a))||t(o)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])}var k0,Qk;function LJ(){if(Qk)return k0;Qk=1;var e="Expected a function",t=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,i=/^0o[0-7]+$/i,l=parseInt,p=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,u=typeof self=="object"&&self&&self.Object===Object&&self,h=p||u||Function("return this")(),f=Object.prototype,b=f.toString,v=Math.max,y=Math.min,x=function(){return h.Date.now()};function k(L,I,O){var P,U,Y,q,Q,ne,le=0,G=!1,ce=!1,ee=!0;if(typeof L!="function")throw new TypeError(e);I=E(I)||0,_(O)&&(G=!!O.leading,ce="maxWait"in O,Y=ce?v(E(O.maxWait)||0,I):Y,ee="trailing"in O?!!O.trailing:ee);function fe(X){var te=P,_e=U;return P=U=void 0,le=X,q=L.apply(_e,te),q}function oe(X){return le=X,Q=setTimeout(W,I),G?fe(X):q}function F(X){var te=X-ne,_e=X-le,S=I-te;return ce?y(S,Y-_e):S}function ie(X){var te=X-ne,_e=X-le;return ne===void 0||te>=I||te<0||ce&&_e>=Y}function W(){var X=x();if(ie(X))return V(X);Q=setTimeout(W,F(X))}function V(X){return Q=void 0,ee&&P?fe(X):(P=U=void 0,q)}function pe(){Q!==void 0&&clearTimeout(Q),le=0,P=ne=U=Q=void 0}function K(){return Q===void 0?q:V(x())}function se(){var X=x(),te=ie(X);if(P=arguments,U=this,ne=X,te){if(Q===void 0)return oe(ne);if(ce)return Q=setTimeout(W,I),fe(ne)}return Q===void 0&&(Q=setTimeout(W,I)),q}return se.cancel=pe,se.flush=K,se}function w(L,I,O){var P=!0,U=!0;if(typeof L!="function")throw new TypeError(e);return _(O)&&(P="leading"in O?!!O.leading:P,U="trailing"in O?!!O.trailing:U),k(L,I,{leading:P,maxWait:I,trailing:U})}function _(L){var I=typeof L;return!!L&&(I=="object"||I=="function")}function A(L){return!!L&&typeof L=="object"}function R(L){return typeof L=="symbol"||A(L)&&b.call(L)==r}function E(L){if(typeof L=="number")return L;if(R(L))return t;if(_(L)){var I=typeof L.valueOf=="function"?L.valueOf():L;L=_(I)?I+"":I}if(typeof L!="string")return L===0?L:+L;L=L.replace(n,"");var O=a.test(L);return O||i.test(L)?l(L.slice(2),O?2:8):o.test(L)?t:+L}return k0=w,k0}var NJ=LJ();const IJ=Tn(NJ);function PJ(e){const[t,r]=D.useState(0);return D.useEffect(()=>{const n=y0();r(n&&n.clientHeight||0)},[e.pathname]),D.useEffect(()=>{window.requestAnimationFrame(()=>{const n=y0();r(n&&n.clientHeight||0)})},[]),t}const MJ=150;function Zk(e,t=!1,r=!0,n=MJ){const[o,a]=D.useState(""),i=PJ(e),l=(r?i:0)+n,p=D.useMemo(()=>IJ(()=>{if(!rl)return;const u=document.querySelectorAll("[data-section-id]");if(u.length<2){a("");return}if(window.scrollY<=0){a(u[0].getAttribute("data-section-id")||"");return}for(let h=0;h<u.length;h++){const f=u[h],b=f.getBoundingClientRect();if(b.y<l&&b.bottom>l){a(f.getAttribute("data-section-id")||"");return}}t&&a("")},150),[l,t]);return D.useEffect(()=>{if(!rl)return;window.addEventListener("scroll",p,{capture:!1});const u=setTimeout(()=>{p()},10);return()=>{clearTimeout(u),p.cancel(),window.removeEventListener("scroll",p)}},[e,l,p]),o}function $u(e){const t=D.useRef(null);D.useEffect(()=>{if(typeof window>"u"||typeof document>"u")return;const{body:r,documentElement:n}=document,o=()=>{if(!t.current)return;const{overflow:a,paddingRight:i,scrollbarWidth:l}=t.current;r.style.overflow=a,r.style.paddingRight=i,l?n.style.setProperty("--modal-scrollbar-width",l):n.style.removeProperty("--modal-scrollbar-width"),t.current=null};if(e&&!t.current){t.current={overflow:r.style.overflow,paddingRight:r.style.paddingRight,scrollbarWidth:n.style.getPropertyValue("--modal-scrollbar-width")||null};const a=window.innerWidth-n.clientWidth;r.style.overflow="hidden",a>0&&(r.style.paddingRight=`${a}px`,n.style.setProperty("--modal-scrollbar-width",`${a}px`))}else!e&&t.current&&o();return()=>{o()}},[e])}const _0=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Xk=/^[\\/]{2}/;function DJ(e,t){return t+e.replace(/\\/g,"/")}const e9="popstate";function Qf(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function $J(e={}){let{initialEntries:t=["/"],initialIndex:r,v5Compat:n=!1}=e,o;o=t.map((b,v)=>h(b,typeof b=="string"?null:b.state,v===0?"default":void 0,typeof b=="string"?void 0:b.mask));let a=p(r??o.length-1),i="POP",l=null;function p(b){return Math.min(Math.max(b,0),o.length-1)}function u(){return o[a]}function h(b,v=null,y,x){let k=zu(o?u().pathname:"/",b,v,y,x);return Xo(k.pathname.charAt(0)==="/",`relative pathnames are not supported in memory history: ${JSON.stringify(b)}`),k}function f(b){return typeof b=="string"?b:ol(b)}return{get index(){return a},get action(){return i},get location(){return u()},createHref:f,createURL(b){return new URL(f(b),"http://localhost")},encodeLocation(b){let v=typeof b=="string"?ts(b):b;return{pathname:v.pathname||"",search:v.search||"",hash:v.hash||""}},push(b,v){i="PUSH";let y=Qf(b)?b:h(b,v);a+=1,o.splice(a,o.length,y),n&&l&&l({action:i,location:y,delta:1})},replace(b,v){i="REPLACE";let y=Qf(b)?b:h(b,v);o[a]=y,n&&l&&l({action:i,location:y,delta:0})},go(b){i="POP";let v=p(a+b),y=o[v];a=v,l&&l({action:i,location:y,delta:b})},listen(b){return l=b,()=>{l=null}}}}function zJ(e={}){function t(n,o){let a=o.state?.masked,{pathname:i,search:l,hash:p}=a||n.location;return zu("",{pathname:i,search:l,hash:p},o.state&&o.state.usr||null,o.state&&o.state.key||"default",a?{pathname:n.location.pathname,search:n.location.search,hash:n.location.hash}:void 0)}function r(n,o){return typeof o=="string"?o:ol(o)}return r9(t,r,null,e)}function UJ(e={}){function t(o,a){let{pathname:i="/",search:l="",hash:p=""}=ts(o.location.hash.substring(1));return!i.startsWith("/")&&!i.startsWith(".")&&(i="/"+i),zu("",{pathname:i,search:l,hash:p},a.state&&a.state.usr||null,a.state&&a.state.key||"default")}function r(o,a){let i=o.document.querySelector("base"),l="";if(i&&i.getAttribute("href")){let p=o.location.href,u=p.indexOf("#");l=u===-1?p:p.slice(0,u)}return l+"#"+(typeof a=="string"?a:ol(a))}function n(o,a){Xo(o.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(a)})`)}return r9(t,r,n,e)}function yr(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Xo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function FJ(){return Math.random().toString(36).substring(2,10)}function t9(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function zu(e,t,r=null,n,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?ts(t):t,state:r,key:t&&t.key||n||FJ(),mask:o}}function ol({pathname:e="/",search:t="",hash:r=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function ts(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function r9(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,l="POP",p=null,u=h();u==null&&(u=0,i.replaceState({...i.state,idx:u},""));function h(){return(i.state||{idx:null}).idx}function f(){l="POP";let k=h(),w=k==null?null:k-u;u=k,p&&p({action:l,location:x.location,delta:w})}function b(k,w){l="PUSH";let _=Qf(k)?k:zu(x.location,k,w);r&&r(_,k),u=h()+1;let A=t9(_,u),R=x.createHref(_.mask||_);try{i.pushState(A,"",R)}catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(R)}a&&p&&p({action:l,location:x.location,delta:1})}function v(k,w){l="REPLACE";let _=Qf(k)?k:zu(x.location,k,w);r&&r(_,k),u=h();let A=t9(_,u),R=x.createHref(_.mask||_);i.replaceState(A,"",R),a&&p&&p({action:l,location:x.location,delta:0})}function y(k){return BJ(o,k)}let x={get action(){return l},get location(){return e(o,i)},listen(k){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(e9,f),p=k,()=>{o.removeEventListener(e9,f),p=null}},createHref(k){return t(o,k)},createURL:y,encodeLocation(k){let w=y(k);return{pathname:w.pathname,search:w.search,hash:w.hash}},push:b,replace:v,go(k){return i.go(k)}};return x}function BJ(e,t,r=!1){let n="http://localhost";e&&(n=e.location.origin!=="null"?e.location.origin:e.location.href),yr(n,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:ol(t);return o=o.replace(/ $/,"%20"),!r&&Xk.test(o)&&(o=n+o),new URL(o,n)}function n9(e,t,r="/"){return qJ(e,t,r,!1)}function qJ(e,t,r,n,o){let a=rs((typeof t=="string"?ts(t):t).pathname||"/",r);if(a==null)return null;let i=HJ(e),l=null,p=nQ(a);for(let u=0;l==null&&u<i.length;++u)l=rQ(i[u],p,n);return l}function HJ(e){let t=o9(e);return VJ(t),t}function o9(e,t=[],r=[],n="",o=!1){let a=(i,l,p=o,u)=>{let h={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};if(h.relativePath.startsWith("/")){if(!h.relativePath.startsWith(n)&&p)return;yr(h.relativePath.startsWith(n),`Absolute route path "${h.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(n.length)}let f=ea([n,h.relativePath]),b=r.concat(h);i.children&&i.children.length>0&&(yr(i.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),o9(i.children,t,b,f,p)),!(i.path==null&&!i.index)&&t.push({path:f,score:eQ(f,i.index),routesMeta:b.map((v,y)=>{let[x,k]=l9(v.relativePath,v.caseSensitive,y===b.length-1);return{...v,matcher:x,compiledParams:k}})})};return e.forEach((i,l)=>{if(i.path===""||!i.path?.includes("?"))a(i,l);else for(let p of a9(i.path))a(i,l,!0,p)}),t}function a9(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(n.length===0)return o?[a,""]:[a];let i=a9(n.join("/")),l=[];return l.push(...i.map(p=>p===""?a:[a,p].join("/"))),o&&l.push(...i),l.map(p=>e.startsWith("/")&&p===""?"/":p)}function VJ(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:tQ(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const GJ=/^:[\w-]+$/,WJ=/^:[\w-]+/,YJ=3.5,KJ=3,JJ=2,QJ=1,ZJ=10,XJ=-2,i9=e=>e==="*";function eQ(e,t){let r=e.split("/"),n=r.length;return r.some(i9)&&(n+=XJ),t&&(n+=JJ),r.filter(o=>!i9(o)).reduce((o,a)=>o+(GJ.test(a)?KJ:WJ.test(a)?YJ:a===""?QJ:ZJ),n)}function tQ(e,t){return e.length===t.length&&e.slice(0,-1).every((r,n)=>r===t[n])?e[e.length-1]-t[t.length-1]:0}function rQ(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let l=0;l<n.length;++l){let p=n[l],u=l===n.length-1,h=a==="/"?t:t.slice(a.length)||"/",f={path:p.relativePath,caseSensitive:p.caseSensitive,end:u},b=p.matcher&&p.compiledParams?s9(f,h,p.matcher,p.compiledParams):Zf(f,h),v=p.route;if(!b&&u&&r&&!n[n.length-1].route.index&&(b=Zf({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},h)),!b)return null;Object.assign(o,b.params),i.push({params:o,pathname:ea([a,b.pathname]),pathnameBase:iQ(ea([a,b.pathnameBase])),route:v}),b.pathnameBase!=="/"&&(a=ea([a,b.pathnameBase]))}return i}function Zf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,n]=l9(e.path,e.caseSensitive,e.end);return s9(e,t,r,n)}function s9(e,t,r,n){let o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce((p,{paramName:u,isOptional:h},f)=>{if(u==="*"){let v=l[f]||"";i=a.slice(0,a.length-v.length).replace(/(.)\/+$/,"$1")}const b=l[f];return h&&!b?p[u]=void 0:p[u]=(b||"").replace(/%2F/g,"/"),p},{}),pathname:a,pathnameBase:i,pattern:e}}function l9(e,t=!1,r=!0){Xo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let n=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,i,l,p,u)=>{if(n.push({paramName:i,isOptional:l!=null}),l){let h=u.charAt(p+a.length);return h&&h!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(?=\/|$|\()/g,"(?:/$1)?");return e.endsWith("*")?(n.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function nQ(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Xo(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function rs(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function oQ(e,t="/"){let{pathname:r,search:n="",hash:o=""}=typeof e=="string"?ts(e):e,a;return r?(r=p9(r),r.startsWith("/")?a=c9(r.substring(1),"/"):a=c9(r,t)):a=t,{pathname:a,search:sQ(n),hash:lQ(o)}}function c9(e,t){let r=u9(t).split("/");return e.split("/").forEach(n=>{n===".."?r.length>1&&r.pop():n!=="."&&r.push(n)}),r.length>1?r.join("/"):"/"}function A0(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function aQ(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function E0(e){let t=aQ(e);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function Xf(e,t,r,n=!1){let o;typeof e=="string"?o=ts(e):(o={...e},yr(!o.pathname||!o.pathname.includes("?"),A0("?","pathname","search",o)),yr(!o.pathname||!o.pathname.includes("#"),A0("#","pathname","hash",o)),yr(!o.search||!o.search.includes("#"),A0("#","search","hash",o)));let a=e===""||o.pathname==="",i=a?"/":o.pathname,l;if(i==null)l=r;else{let f=t.length-1;if(!n&&i.startsWith("..")){let b=i.split("/");for(;b[0]==="..";)b.shift(),f-=1;o.pathname=b.join("/")}l=f>=0?t[f]:"/"}let p=oQ(o,l),u=i&&i!=="/"&&i.endsWith("/"),h=(a||i===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(u||h)&&(p.pathname+="/"),p}const p9=e=>e.replace(/[\\/]{2,}/g,"/"),ea=e=>p9(e.join("/")),u9=e=>e.replace(/\/+$/,""),iQ=e=>u9(e).replace(/^\/*/,"/"),sQ=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,lQ=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;var cQ=class{status;statusText;data;error;internal;constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function pQ(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function uQ(e){return ea(e.map(t=>t.route.path).filter(Boolean))||"/"}const d9=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function h9(e,t){let r=e;if(typeof r!="string"||!_0.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(d9)try{let a=new URL(window.location.href),i=Xk.test(r)?new URL(DJ(r,a.protocol)):new URL(r),l=rs(i.pathname,t);i.origin===a.origin&&l!=null?r=l+i.search+i.hash:o=!0}catch{Xo(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}const f9=["POST","PUT","PATCH","DELETE"];new Set(f9);const dQ=["GET",...f9];new Set(dQ);const hQ=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function fQ(e){try{return hQ.includes(new URL(e).protocol)}catch{return!1}}const Lc=D.createContext(null);Lc.displayName="DataRouter";const em=D.createContext(null);em.displayName="DataRouterState";const m9=D.createContext(!1);function mQ(){return D.useContext(m9)}const g9=D.createContext({isTransitioning:!1});g9.displayName="ViewTransition";const gQ=D.createContext(new Map);gQ.displayName="Fetchers";const bQ=D.createContext(null);bQ.displayName="Await";const Io=D.createContext(null);Io.displayName="Navigation";const Uu=D.createContext(null);Uu.displayName="Location";const ka=D.createContext({outlet:null,matches:[],isDataRoute:!1});ka.displayName="Route";const T0=D.createContext(null);T0.displayName="RouteError";const b9="REACT_ROUTER_ERROR",vQ="REDIRECT",yQ="ROUTE_ERROR_RESPONSE";function xQ(e){if(e.startsWith(`${b9}:${vQ}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function wQ(e){if(e.startsWith(`${b9}:${yQ}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new cQ(t.status,t.statusText,t.data)}catch{}}function SQ(e,{relative:t}={}){yr(al(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=D.useContext(Io),{hash:o,pathname:a,search:i}=Fu(e,{relative:t}),l=a;return r!=="/"&&(l=a==="/"?r:ea([r,a])),n.createHref({pathname:l,search:i,hash:o})}function al(){return D.useContext(Uu)!=null}function ir(){return yr(al(),"useLocation() may be used only in the context of a <Router> component."),D.useContext(Uu).location}const v9="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function il(){let{isDataRoute:e}=D.useContext(ka);return e?MQ():CQ()}function CQ(){yr(al(),"useNavigate() may be used only in the context of a <Router> component.");let e=D.useContext(Lc),{basename:t,navigator:r}=D.useContext(Io),{matches:n}=D.useContext(ka),{pathname:o}=ir(),a=JSON.stringify(E0(n)),i=D.useRef(!1);return D.useLayoutEffect(()=>{i.current=!0}),D.useCallback((l,p={})=>{if(Xo(i.current,v9),!i.current)return;if(typeof l=="number"){r.go(l);return}let u=Xf(l,JSON.parse(a),o,p.relative==="path");e==null&&t!=="/"&&(u.pathname=u.pathname==="/"?t:ea([t,u.pathname])),(p.replace?r.replace:r.push)(u,p.state,p)},[t,r,a,o,e])}D.createContext(null);function Fu(e,{relative:t}={}){let{matches:r}=D.useContext(ka),{pathname:n}=ir(),o=JSON.stringify(E0(r));return D.useMemo(()=>Xf(e,JSON.parse(o),n,t==="path"),[e,o,n,t])}function kQ(e,t){return y9(e,t)}function y9(e,t,r){yr(al(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=D.useContext(Io),{matches:o}=D.useContext(ka),a=o[o.length-1],i=a?a.params:{},l=a?a.pathnameBase:"/",p=ir(),u;if(t){let y=typeof t=="string"?ts(t):t;yr(l==="/"||y.pathname?.startsWith(l),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${l}" but pathname "${y.pathname}" was given in the \`location\` prop.`),u=y}else u=p;let h=u.pathname||"/",f=h;if(l!=="/"){let y=l.replace(/^\//,"").split("/");f="/"+h.replace(/^\//,"").split("/").slice(y.length).join("/")}let b=r&&r.state.matches.length?r.state.matches.map(y=>Object.assign(y,{route:r.manifest[y.route.id]||y.route})):n9(e,{pathname:f}),v=RQ(b&&b.map(y=>Object.assign({},y,{params:Object.assign({},i,y.params),pathname:ea([l,n.encodeLocation?n.encodeLocation(y.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?l:ea([l,n.encodeLocation?n.encodeLocation(y.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),o,r);return t&&v?D.createElement(Uu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...u},navigationType:"POP"}},v):v}function _Q(){let e=PQ(),t=pQ(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null;return D.createElement(D.Fragment,null,D.createElement("h2",null,"Unexpected Application Error!"),D.createElement("h3",{style:{fontStyle:"italic"}},t),r?D.createElement("pre",{style:{padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"}},r):null,null)}const AQ=D.createElement(_Q,null);var EQ=class extends D.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static contextType=m9;static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=wQ(e.digest);r&&(e=r)}let t=e!==void 0?D.createElement(ka.Provider,{value:this.props.routeContext},D.createElement(T0.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?D.createElement(TQ,{error:e},t):t}};const O0=new WeakMap;function TQ({children:e,error:t}){let{basename:r}=D.useContext(Io);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=xQ(t.digest);if(n){let o=O0.get(t);if(o)throw o;let a=h9(n.location,r),i=a.absoluteURL||a.to;if(fQ(i))throw new Error("Invalid redirect location");if(d9&&!O0.get(t))if(a.isExternal||n.reloadDocument)window.location.href=i;else{const l=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:n.replace}));throw O0.set(t,l),l}return D.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i}`})}}return e}function OQ({routeContext:e,match:t,children:r}){let n=D.useContext(Lc);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),D.createElement(ka.Provider,{value:e},r)}function RQ(e,t=[],r){let n=r?.state;if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=n?.errors;if(a!=null){let h=o.findIndex(f=>f.route.id&&a?.[f.route.id]!==void 0);yr(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),o=o.slice(0,Math.min(o.length,h+1))}let i=!1,l=-1;if(r&&n){i=n.renderFallback;for(let h=0;h<o.length;h++){let f=o[h];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(l=h),f.route.id){let{loaderData:b,errors:v}=n,y=f.route.loader&&!b.hasOwnProperty(f.route.id)&&(!v||v[f.route.id]===void 0);if(f.route.lazy||y){r.isStatic&&(i=!0),l>=0?o=o.slice(0,l+1):o=[o[0]];break}}}}let p=r?.onError,u=n&&p?(h,f)=>{p(h,{location:n.location,params:n.matches?.[0]?.params??{},pattern:uQ(n.matches),errorInfo:f})}:void 0;return o.reduceRight((h,f,b)=>{let v,y=!1,x=null,k=null;n&&(v=a&&f.route.id?a[f.route.id]:void 0,x=f.route.errorElement||AQ,i&&(l<0&&b===0?(DQ("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),y=!0,k=null):l===b&&(y=!0,k=f.route.hydrateFallbackElement||null)));let w=t.concat(o.slice(0,b+1)),_=()=>{let A;return v?A=x:y?A=k:f.route.Component?A=D.createElement(f.route.Component,null):f.route.element?A=f.route.element:A=h,D.createElement(OQ,{match:f,routeContext:{outlet:h,matches:w,isDataRoute:n!=null},children:A})};return n&&(f.route.ErrorBoundary||f.route.errorElement||b===0)?D.createElement(EQ,{location:n.location,revalidation:n.revalidation,component:x,error:v,children:_(),routeContext:{outlet:null,matches:w,isDataRoute:!0},onError:u}):_()},null)}function R0(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function jQ(e){let t=D.useContext(Lc);return yr(t,R0(e)),t}function LQ(e){let t=D.useContext(em);return yr(t,R0(e)),t}function NQ(e){let t=D.useContext(ka);return yr(t,R0(e)),t}function j0(e){let t=NQ(e),r=t.matches[t.matches.length-1];return yr(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function IQ(){return j0("useRouteId")}function PQ(){let e=D.useContext(T0),t=LQ("useRouteError"),r=j0("useRouteError");return e!==void 0?e:t.errors?.[r]}function MQ(){let{router:e}=jQ("useNavigate"),t=j0("useNavigate"),r=D.useRef(!1);return D.useLayoutEffect(()=>{r.current=!0}),D.useCallback(async(n,o={})=>{Xo(r.current,v9),r.current&&(typeof n=="number"?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t])}const x9={};function DQ(e,t,r){x9[e]||(x9[e]=!0,Xo(!1,r))}D.memo($Q);function $Q({routes:e,manifest:t,future:r,state:n,isStatic:o,onError:a}){return y9(e,void 0,{manifest:t,state:n,isStatic:o,onError:a})}function zQ({basename:e,children:t,initialEntries:r,initialIndex:n,useTransitions:o}){let a=D.useRef(null);a.current==null&&(a.current=$J({initialEntries:r,initialIndex:n,v5Compat:!0}));let i=a.current,[l,p]=D.useState({action:i.action,location:i.location}),u=D.useCallback(h=>{o===!1?p(h):D.startTransition(()=>p(h))},[o]);return D.useLayoutEffect(()=>i.listen(u),[i,u]),D.createElement(L0,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:i,useTransitions:o})}function UQ({to:e,replace:t,state:r,relative:n}){yr(al(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=D.useContext(Io);Xo(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=D.useContext(ka),{pathname:i}=ir(),l=il(),p=Xf(e,E0(a),i,n==="path"),u=JSON.stringify(p);return D.useEffect(()=>{l(JSON.parse(u),{replace:t,state:r,relative:n})},[l,u,n,t,r]),null}function tm(e){yr(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function L0({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:o,static:a=!1,useTransitions:i}){yr(!al(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),p=D.useMemo(()=>({basename:l,navigator:o,static:a,useTransitions:i,future:{}}),[l,o,a,i]);typeof r=="string"&&(r=ts(r));let{pathname:u="/",search:h="",hash:f="",state:b=null,key:v="default",mask:y}=r,x=D.useMemo(()=>{let k=rs(u,l);return k==null?null:{location:{pathname:k,search:h,hash:f,state:b,key:v,mask:y},navigationType:n}},[l,u,h,f,b,v,n,y]);return Xo(x!=null,`<Router basename="${l}"> is not able to match the URL "${u}${h}${f}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:D.createElement(Io.Provider,{value:p},D.createElement(Uu.Provider,{children:t,value:x}))}function w9({children:e,location:t}){return kQ(N0(e),t)}function N0(e,t=[]){let r=[];return D.Children.forEach(e,(n,o)=>{if(!D.isValidElement(n))return;let a=[...t,o];if(n.type===D.Fragment){r.push.apply(r,N0(n.props.children,a));return}yr(n.type===tm,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let i=n.props;yr(!i.index||!i.children,"An index route cannot have child routes.");let l={id:i.id||a.join("-"),caseSensitive:i.caseSensitive,element:i.element,Component:i.Component,index:i.index,path:i.path,middleware:i.middleware,loader:i.loader,action:i.action,hydrateFallbackElement:i.hydrateFallbackElement,HydrateFallback:i.HydrateFallback,errorElement:i.errorElement,ErrorBoundary:i.ErrorBoundary,shouldRevalidate:i.shouldRevalidate,handle:i.handle,lazy:i.lazy};i.children&&(l.children=N0(i.children,a)),r.push(l)}),r}const rm="application/x-www-form-urlencoded";function nm(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function FQ(e){return nm(e)&&e.tagName.toLowerCase()==="button"}function BQ(e){return nm(e)&&e.tagName.toLowerCase()==="form"}function qQ(e){return nm(e)&&e.tagName.toLowerCase()==="input"}function HQ(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function VQ(e,t){return e.button===0&&(!t||t==="_self")&&!HQ(e)}let om=null;function GQ(){if(om===null)try{new FormData(document.createElement("form"),0),om=!1}catch{om=!0}return om}const WQ=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function I0(e){return e!=null&&!WQ.has(e)?(Xo(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${rm}"`),null):e}function YQ(e,t){let r,n,o,a,i;if(BQ(e)){let l=e.getAttribute("action");n=l?rs(l,t):null,r=e.getAttribute("method")||"get",o=I0(e.getAttribute("enctype"))||rm,a=new FormData(e)}else if(FQ(e)||qQ(e)&&(e.type==="submit"||e.type==="image")){let l=e.form;if(l==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||l.getAttribute("action");if(n=p?rs(p,t):null,r=e.getAttribute("formmethod")||l.getAttribute("method")||"get",o=I0(e.getAttribute("formenctype"))||I0(l.getAttribute("enctype"))||rm,a=new FormData(l,e),!GQ()){let{name:u,type:h,value:f}=e;if(h==="image"){let b=u?`${u}.`:"";a.append(`${b}x`,"0"),a.append(`${b}y`,"0")}else u&&a.append(u,f)}}else{if(nm(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r="get",n=null,o=rm,i=e}return a&&o==="text/plain"&&(i=a,a=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:a,body:i}}function P0(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function S9(e,t){let r=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r.pathname.endsWith("/")?r.pathname=`${r.pathname}_.${t}`:r.pathname=`${r.pathname}.${t}`,r}async function KQ(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(r){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(r),window.location.reload(),new Promise(()=>{})}}function JQ(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function QQ(e,t,r){return tZ((await Promise.all(e.map(async n=>{let o=t.routes[n.route.id];if(o){let a=await KQ(o,r);return a.links?a.links():[]}return[]}))).flat(1).filter(JQ).filter(n=>n.rel==="stylesheet"||n.rel==="preload").map(n=>n.rel==="stylesheet"?{...n,rel:"prefetch",as:"style"}:{...n,rel:"prefetch"}))}function C9(e,t,r,n,o,a){let i=(p,u)=>r[u]?p.route.id!==r[u].route.id:!0,l=(p,u)=>r[u].pathname!==p.pathname||r[u].route.path?.endsWith("*")&&r[u].params["*"]!==p.params["*"];return a==="assets"?t.filter((p,u)=>i(p,u)||l(p,u)):a==="data"?t.filter((p,u)=>{let h=n.routes[p.route.id];if(!h||!h.hasLoader)return!1;if(i(p,u)||l(p,u))return!0;if(p.route.shouldRevalidate){let f=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function ZQ(e,t,{includeHydrateFallback:r}={}){return XQ(e.map(n=>{let o=t.routes[n.route.id];if(!o)return[];let a=[o.module];return o.clientActionModule&&(a=a.concat(o.clientActionModule)),o.clientLoaderModule&&(a=a.concat(o.clientLoaderModule)),r&&o.hydrateFallbackModule&&(a=a.concat(o.hydrateFallbackModule)),o.imports&&(a=a.concat(o.imports)),a}).flat(1))}function XQ(e){return[...new Set(e)]}function eZ(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}function tZ(e,t){let r=new Set;return new Set(t),e.reduce((n,o)=>{let a=JSON.stringify(eZ(o));return r.has(a)||(r.add(a),n.push({key:a,link:o})),n},[])}function rZ(){let e=D.useContext(Lc);return P0(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function nZ(){let e=D.useContext(em);return P0(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}const M0=D.createContext(void 0);M0.displayName="FrameworkContext";function D0(){let e=D.useContext(M0);return P0(e,"You must render this element inside a <HydratedRouter> element"),e}function oZ(e,t){let r=D.useContext(M0),[n,o]=D.useState(!1),[a,i]=D.useState(!1),{onFocus:l,onBlur:p,onMouseEnter:u,onMouseLeave:h,onTouchStart:f}=t,b=D.useRef(null);D.useEffect(()=>{if(e==="render"&&i(!0),e==="viewport"){let x=w=>{w.forEach(_=>{i(_.isIntersecting)})},k=new IntersectionObserver(x,{threshold:.5});return b.current&&k.observe(b.current),()=>{k.disconnect()}}},[e]),D.useEffect(()=>{if(n){let x=setTimeout(()=>{i(!0)},100);return()=>{clearTimeout(x)}}},[n]);let v=()=>{o(!0)},y=()=>{o(!1),i(!1)};return r?e!=="intent"?[a,b,{}]:[a,b,{onFocus:Bu(l,v),onBlur:Bu(p,y),onMouseEnter:Bu(u,v),onMouseLeave:Bu(h,y),onTouchStart:Bu(f,v)}]:[!1,b,{}]}function Bu(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function aZ({page:e,...t}){let r=mQ(),{nonce:n}=D0(),{router:o}=rZ(),a=D.useMemo(()=>n9(o.routes,e,o.basename),[o.routes,e,o.basename]);return a?(t.nonce==null&&n&&(t={...t,nonce:n}),r?D.createElement(sZ,{page:e,matches:a,...t}):D.createElement(lZ,{page:e,matches:a,...t})):null}function iZ(e){let{manifest:t,routeModules:r}=D0(),[n,o]=D.useState([]);return D.useEffect(()=>{let a=!1;return QQ(e,t,r).then(i=>{a||o(i)}),()=>{a=!0}},[e,t,r]),n}function sZ({page:e,matches:t,...r}){let n=ir(),o=D.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let a=S9(e,"rsc"),i=!1,l=[];for(let p of t)typeof p.route.shouldRevalidate=="function"?i=!0:l.push(p.route.id);return i&&l.length>0&&a.searchParams.set("_routes",l.join(",")),[a.pathname+a.search]},[e,n,t]);return D.createElement(D.Fragment,null,o.map(a=>D.createElement("link",{key:a,rel:"prefetch",as:"fetch",href:a,...r})))}function lZ({page:e,matches:t,...r}){let n=ir(),{manifest:o,routeModules:a}=D0(),{loaderData:i,matches:l}=nZ(),p=D.useMemo(()=>C9(e,t,l,o,n,"data"),[e,t,l,o,n]),u=D.useMemo(()=>C9(e,t,l,o,n,"assets"),[e,t,l,o,n]),h=D.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let v=new Set,y=!1;if(t.forEach(k=>{let w=o.routes[k.route.id];!w||!w.hasLoader||(!p.some(_=>_.route.id===k.route.id)&&k.route.id in i&&a[k.route.id]?.shouldRevalidate||w.hasClientLoader?y=!0:v.add(k.route.id))}),v.size===0)return[];let x=S9(e,"data");return y&&v.size>0&&x.searchParams.set("_routes",t.filter(k=>v.has(k.route.id)).map(k=>k.route.id).join(",")),[x.pathname+x.search]},[i,n,o,p,t,e,a]),f=D.useMemo(()=>ZQ(u,o),[u,o]),b=iZ(u);return D.createElement(D.Fragment,null,h.map(v=>D.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...r})),f.map(v=>D.createElement("link",{key:v,rel:"modulepreload",href:v,...r})),b.map(({key:v,link:y})=>D.createElement("link",{key:v,nonce:r.nonce,...y,crossOrigin:y.crossOrigin??r.crossOrigin})))}function cZ(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}const pZ=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{pZ&&(window.__reactRouterVersion="8.3.0")}catch{}function uZ({basename:e,children:t,useTransitions:r,window:n}){let o=D.useRef(null);o.current==null&&(o.current=zJ({window:n,v5Compat:!0}));let a=o.current,[i,l]=D.useState({action:a.action,location:a.location}),p=D.useCallback(u=>{r===!1?l(u):D.startTransition(()=>l(u))},[r]);return D.useLayoutEffect(()=>a.listen(p),[a,p]),D.createElement(L0,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a,useTransitions:r})}function dZ({basename:e,children:t,useTransitions:r,window:n}){let o=D.useRef(null);o.current==null&&(o.current=UJ({window:n,v5Compat:!0}));let a=o.current,[i,l]=D.useState({action:a.action,location:a.location}),p=D.useCallback(u=>{r===!1?l(u):D.startTransition(()=>l(u))},[r]);return D.useLayoutEffect(()=>a.listen(p),[a,p]),D.createElement(L0,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a,useTransitions:r})}const am=D.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:n,reloadDocument:o,replace:a,mask:i,state:l,target:p,to:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b,...v},y){let{basename:x,navigator:k,useTransitions:w}=D.useContext(Io),_=typeof u=="string"&&_0.test(u),A=h9(u,x);u=A.to;let R=SQ(u,{relative:n}),E=ir(),L=null;if(i){let ne=Xf(i,[],E.mask?E.mask.pathname:"/",!0);x!=="/"&&(ne.pathname=ne.pathname==="/"?x:ea([x,ne.pathname])),L=k.createHref(ne)}let[I,O,P]=oZ(r,v),U=gZ(u,{replace:a,mask:i,state:l,target:p,preventScrollReset:h,relative:n,viewTransition:f,defaultShouldRevalidate:b,useTransitions:w});function Y(ne){e&&e(ne),ne.defaultPrevented||U(ne)}let q=!(A.isExternal||o),Q=D.createElement("a",{...v,...P,href:(q?L:void 0)||A.absoluteURL||R,onClick:q?Y:e,ref:cZ(y,O),target:p,"data-discover":!_&&t==="render"?"true":void 0});return I&&!_?D.createElement(D.Fragment,null,Q,D.createElement(aZ,{page:R})):Q});am.displayName="Link";const hZ=D.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:n=!1,style:o,to:a,viewTransition:i,children:l,...p},u){let h=Fu(a,{relative:p.relative}),f=ir(),b=D.useContext(em),{navigator:v,basename:y}=D.useContext(Io),x=b!=null&&wZ(h)&&i===!0,k=v.encodeLocation?v.encodeLocation(h).pathname:h.pathname,w=f.pathname,_=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;t||(w=w.toLowerCase(),_=_?_.toLowerCase():null,k=k.toLowerCase()),_&&y&&(_=rs(_,y)||_);const A=k!=="/"&&k.endsWith("/")?k.length-1:k.length;let R=w===k||!n&&w.startsWith(k)&&w.charAt(A)==="/",E=_!=null&&(_===k||!n&&_.startsWith(k)&&_.charAt(A)==="/"),L={isActive:R,isPending:E,isTransitioning:x},I=R?e:void 0,O;typeof r=="function"?O=r(L):O=[r,R?"active":null,E?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let P=typeof o=="function"?o(L):o;return D.createElement(am,{...p,"aria-current":I,className:O,ref:u,style:P,to:a,viewTransition:i},typeof l=="function"?l(L):l)});hZ.displayName="NavLink";const fZ=D.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:o,state:a,method:i="get",action:l,onSubmit:p,relative:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b,...v},y)=>{let{useTransitions:x}=D.useContext(Io),k=yZ(),w=xZ(l,{relative:u}),_=i.toLowerCase()==="get"?"get":"post",A=typeof l=="string"&&_0.test(l),R=E=>{if(p&&p(E),E.defaultPrevented)return;E.preventDefault();let L=E.nativeEvent.submitter,I=L?.getAttribute("formmethod")||i,O=()=>k(L||E.currentTarget,{fetcherKey:t,method:I,navigate:r,replace:o,state:a,relative:u,preventScrollReset:h,viewTransition:f,defaultShouldRevalidate:b});x&&r!==!1?D.startTransition(()=>O()):O()};return D.createElement("form",{ref:y,method:_,action:w,onSubmit:n?p:R,...v,"data-discover":!A&&e==="render"?"true":void 0})});fZ.displayName="Form";function mZ(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function k9(e){let t=D.useContext(Lc);return yr(t,mZ(e)),t}function gZ(e,{target:t,replace:r,mask:n,state:o,preventScrollReset:a,relative:i,viewTransition:l,defaultShouldRevalidate:p,useTransitions:u}={}){let h=il(),f=ir(),b=Fu(e,{relative:i});return D.useCallback(v=>{if(VQ(v,t)){v.preventDefault();let y=r!==void 0?r:ol(f)===ol(b),x=()=>h(e,{replace:y,mask:n,state:o,preventScrollReset:a,relative:i,viewTransition:l,defaultShouldRevalidate:p});u?D.startTransition(()=>x()):x()}},[f,h,b,r,n,o,t,e,a,i,l,p,u])}let bZ=0,vZ=()=>`__${String(++bZ)}__`;function yZ(){let{router:e}=k9("useSubmit"),{basename:t}=D.useContext(Io),r=IQ(),n=e.fetch,o=e.navigate;return D.useCallback(async(a,i={})=>{let{action:l,method:p,encType:u,formData:h,body:f}=YQ(a,t);i.navigate===!1?await n(i.fetcherKey||vZ(),r,i.action||l,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:f,formMethod:i.method||p,formEncType:i.encType||u,flushSync:i.flushSync}):await o(i.action||l,{defaultShouldRevalidate:i.defaultShouldRevalidate,preventScrollReset:i.preventScrollReset,formData:h,body:f,formMethod:i.method||p,formEncType:i.encType||u,replace:i.replace,state:i.state,fromRouteId:r,flushSync:i.flushSync,viewTransition:i.viewTransition})},[n,o,t,r])}function xZ(e,{relative:t}={}){let{basename:r}=D.useContext(Io),n=D.useContext(ka);yr(n,"useFormAction must be used inside a RouteContext");let[o]=n.matches.slice(-1),a={...Fu(e||".",{relative:t})},i=ir();if(e==null){a.search=i.search;let l=new URLSearchParams(a.search),p=l.getAll("index");if(p.some(u=>u==="")){l.delete("index"),p.filter(h=>h).forEach(h=>l.append("index",h));let u=l.toString();a.search=u?`?${u}`:""}}return(!e||e===".")&&o.route.index&&(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(a.pathname=a.pathname==="/"?r:ea([r,a.pathname])),ol(a)}function wZ(e,{relative:t}={}){let r=D.useContext(g9);yr(r!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=k9("useViewTransitionState"),o=Fu(e,{relative:t});if(!r.isTransitioning)return!1;let a=rs(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=rs(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Zf(o.pathname,i)!=null||Zf(o.pathname,a)!=null}function im(e=!0){const t=D.useContext(C0);if(!t?.config)return{};const{config:r,hooks:n}=t,{useCurrentProduct:o}=n,a=o();return e&&a?.configOverride?{...r,...a.configOverride,analytics:r.analytics}:r}var sm=k4();const SZ=Tn(sm);function Nc({children:e,mountId:t="root"}){const r=rl?document.getElementById(t)||document.body:null;return r?sm.createPortal(e,r):m.jsx(m.Fragment,{children:e})}const CZ=e=>m.jsx("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:m.jsx("path",{d:"M8 1C6.61553 1 5.26216 1.41054 4.11101 2.17971C2.95987 2.94888 2.06266 4.04213 1.53285 5.32122C1.00303 6.6003 0.86441 8.00776 1.13451 9.36563C1.4046 10.7235 2.07129 11.9708 3.05026 12.9497C4.02922 13.9287 5.2765 14.5954 6.63437 14.8655C7.99224 15.1356 9.3997 14.997 10.6788 14.4672C11.9579 13.9373 13.0511 13.0401 13.8203 11.889C14.5895 10.7378 15 9.38447 15 8C15 6.14348 14.2625 4.36301 12.9497 3.05025C11.637 1.7375 9.85652 1 8 1ZM7 10.7954L4.5 8.2954L5.2953 7.5L7 9.2046L10.705 5.5L11.5029 6.29295L7 10.7954Z"})}),$0=xe(CZ).attrs({"data-component-name":"icons/CheckmarkFilledIcon/CheckmarkFilledIcon"})`
|
|
6564
6569
|
path {
|
|
6565
6570
|
fill: ${({color:e})=>dt(e)};
|
|
6566
6571
|
}
|
|
@@ -6723,7 +6728,7 @@ function useAtomValueWithDelay<Value>(
|
|
|
6723
6728
|
pointer-events: none;
|
|
6724
6729
|
animation: ${tX()} 1.2s infinite;
|
|
6725
6730
|
`}
|
|
6726
|
-
`,aX=e=>{const{languageInsensitive:t,fullWidth:r,blinking:n,iconPosition:o,icon:a,children:i,variant:l,tone:p,size:u,extraClass:h,to:f,external:b,className:v,...y}=e,x="tabIndex"in e?e.tabIndex:e.to?-1:void 0,k=m.jsxs(oX,{"data-component-name":"Button/Button",...y,className:nX({variant:l,tone:p,size:u,extraClass:h,className:v}),$fullWidth:r,$blinking:n,$iconPosition:o,$icon:a,$iconOnly:!i&&a!=null,$variant:l,$size:u,tabIndex:x,children:[a&&o!=="right"&&a,i,a&&o==="right"&&a]});return f?m.jsx(rX,{to:f,external:b,languageInsensitive:t,onClick:e.onClick,children:k}):k},ft=xe(aX)``;function _a(){const e=D.useId().replace(/:/g,"_");return t=>`${t}-${e}`}var Ic={},Pc={},j9={},L9;function iX(){return L9||(L9=1,Object.defineProperty(j9,"__esModule",{value:!0})),j9}var Hu={},Mc={},Vu={};const sl="1.9.1",N9=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function sX(e){const t=new Set([e]),r=new Set,n=e.match(N9);if(!n)return()=>!1;const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return function(l){return l===e};function a(l){return r.add(l),!1}function i(l){return t.add(l),!0}return function(l){if(t.has(l))return!0;if(r.has(l))return!1;const p=l.match(N9);if(!p)return a(l);const u={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return u.prerelease!=null||o.major!==u.major?a(l):o.major===0?o.minor===u.minor&&o.patch<=u.patch?i(l):a(l):o.minor<=u.minor?i(l):a(l)}}const lX=sX(sl),cX=sl.split(".")[0],Gu=Symbol.for(`opentelemetry.js.api.${cX}`),Wu=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof globalThis=="object"?globalThis:{};function Yu(e,t,r,n=!1){var o;const a=Wu[Gu]=(o=Wu[Gu])!==null&&o!==void 0?o:{version:sl};if(!n&&a[e]){const i=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(i.stack||i.message),!1}if(a.version!==sl){const i=new Error(`@opentelemetry/api: Registration of version v${a.version} for ${e} does not match previously registered API v${sl}`);return r.error(i.stack||i.message),!1}return a[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${sl}.`),!0}function ll(e){var t,r;const n=(t=Wu[Gu])===null||t===void 0?void 0:t.version;if(!(!n||!lX(n)))return(r=Wu[Gu])===null||r===void 0?void 0:r[e]}function Ku(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${sl}.`);const r=Wu[Gu];r&&delete r[e]}class pX{constructor(t){this._namespace=t.namespace||"DiagComponentLogger"}debug(...t){return Ju("debug",this._namespace,t)}error(...t){return Ju("error",this._namespace,t)}info(...t){return Ju("info",this._namespace,t)}warn(...t){return Ju("warn",this._namespace,t)}verbose(...t){return Ju("verbose",this._namespace,t)}}function Ju(e,t,r){const n=ll("diag");if(n)return n[e](t,...r)}var Vn;(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(Vn||(Vn={}));function uX(e,t){e<Vn.NONE?e=Vn.NONE:e>Vn.ALL&&(e=Vn.ALL),t=t||{};function r(n,o){const a=t[n];return typeof a=="function"&&e>=o?a.bind(t):function(){}}return{error:r("error",Vn.ERROR),warn:r("warn",Vn.WARN),info:r("info",Vn.INFO),debug:r("debug",Vn.DEBUG),verbose:r("verbose",Vn.VERBOSE)}}const dX="diag";class Uo{static instance(){return this._instance||(this._instance=new Uo),this._instance}constructor(){function t(o){return function(...a){const i=ll("diag");if(i)return i[o](...a)}}const r=this,n=(o,a={logLevel:Vn.INFO})=>{var i,l,p;if(o===r){const f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error((i=f.stack)!==null&&i!==void 0?i:f.message),!1}typeof a=="number"&&(a={logLevel:a});const u=ll("diag"),h=uX((l=a.logLevel)!==null&&l!==void 0?l:Vn.INFO,o);if(u&&!a.suppressOverrideMessage){const f=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";u.warn(`Current logger will be overwritten from ${f}`),h.warn(`Current logger will overwrite one already registered from ${f}`)}return Yu("diag",h,r,!0)};r.setLogger=n,r.disable=()=>{Ku(dX,r)},r.createComponentLogger=o=>new pX(o),r.verbose=t("verbose"),r.debug=t("debug"),r.info=t("info"),r.warn=t("warn"),r.error=t("error")}}class Tp{constructor(t){this._entries=t?new Map(t):new Map}getEntry(t){const r=this._entries.get(t);if(r)return Object.assign({},r)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,r){const n=new Tp(this._entries);return n._entries.set(t,r),n}removeEntry(t){const r=new Tp(this._entries);return r._entries.delete(t),r}removeEntries(...t){const r=new Tp(this._entries);for(const n of t)r._entries.delete(n);return r}clear(){return new Tp}}const hX=Symbol("BaggageEntryMetadata"),fX=Uo.instance();function mX(e={}){return new Tp(new Map(Object.entries(e)))}function I9(e){return typeof e!="string"&&(fX.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:hX,toString(){return e}}}function pm(e){return Symbol.for(e)}class N1{constructor(t){const r=this;r._currentContext=t?new Map(t):new Map,r.getValue=n=>r._currentContext.get(n),r.setValue=(n,o)=>{const a=new N1(r._currentContext);return a._currentContext.set(n,o),a},r.deleteValue=n=>{const o=new N1(r._currentContext);return o._currentContext.delete(n),o}}}const cl=new N1,H0=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],V0={};if(typeof console<"u"){const e=["error","warn","info","debug","trace","log"];for(const t of e)typeof console[t]=="function"&&(V0[t]=console[t])}class gX{constructor(){function t(r){return function(...n){let o=V0[r];if(typeof o!="function"&&(o=V0.log),typeof o!="function"&&console&&(o=console[r],typeof o!="function"&&(o=console.log)),typeof o=="function")return o.apply(console,n)}}for(let r=0;r<H0.length;r++)this[H0[r].n]=t(H0[r].c)}}class bX{constructor(){}createGauge(t,r){return AX}createHistogram(t,r){return EX}createCounter(t,r){return _X}createUpDownCounter(t,r){return TX}createObservableGauge(t,r){return RX}createObservableCounter(t,r){return OX}createObservableUpDownCounter(t,r){return jX}addBatchObservableCallback(t,r){}removeBatchObservableCallback(t){}}class um{}class vX extends um{add(t,r){}}class yX extends um{add(t,r){}}class xX extends um{record(t,r){}}class wX extends um{record(t,r){}}class G0{addCallback(t){}removeCallback(t){}}class SX extends G0{}class CX extends G0{}class kX extends G0{}const P9=new bX,_X=new vX,AX=new xX,EX=new wX,TX=new yX,OX=new SX,RX=new CX,jX=new kX;function M9(){return P9}var W0;(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(W0||(W0={}));const D9={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},$9={set(e,t,r){e!=null&&(e[t]=r)}};class LX{active(){return cl}with(t,r,n,...o){return r.call(n,...o)}bind(t,r){return r}enable(){return this}disable(){return this}}const Y0="context",NX=new LX;class Op{constructor(){}static getInstance(){return this._instance||(this._instance=new Op),this._instance}setGlobalContextManager(t){return Yu(Y0,t,Uo.instance())}active(){return this._getContextManager().active()}with(t,r,n,...o){return this._getContextManager().with(t,r,n,...o)}bind(t,r){return this._getContextManager().bind(t,r)}_getContextManager(){return ll(Y0)||NX}disable(){this._getContextManager().disable(),Ku(Y0,Uo.instance())}}var ta;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(ta||(ta={}));const K0="0000000000000000",J0="00000000000000000000000000000000",Q0={traceId:J0,spanId:K0,traceFlags:ta.NONE};class Qu{constructor(t=Q0){this._spanContext=t}spanContext(){return this._spanContext}setAttribute(t,r){return this}setAttributes(t){return this}addEvent(t,r){return this}addLink(t){return this}addLinks(t){return this}setStatus(t){return this}updateName(t){return this}end(t){}isRecording(){return!1}recordException(t,r){}}const Z0=pm("OpenTelemetry Context Key SPAN");function X0(e){return e.getValue(Z0)||void 0}function IX(){return X0(Op.getInstance().active())}function ey(e,t){return e.setValue(Z0,t)}function PX(e){return e.deleteValue(Z0)}function MX(e,t){return ey(e,new Qu(t))}function z9(e){var t;return(t=X0(e))===null||t===void 0?void 0:t.spanContext()}const dm=new Uint8Array([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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,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,1,1,1,1,1]);function U9(e,t){if(typeof e!="string"||e.length!==t)return!1;let r=0;for(let n=0;n<e.length;n+=4)r+=(dm[e.charCodeAt(n)]|0)+(dm[e.charCodeAt(n+1)]|0)+(dm[e.charCodeAt(n+2)]|0)+(dm[e.charCodeAt(n+3)]|0);return r===t}function ty(e){return U9(e,32)&&e!==J0}function F9(e){return U9(e,16)&&e!==K0}function Zu(e){return ty(e.traceId)&&F9(e.spanId)}function DX(e){return new Qu(e)}const ry=Op.getInstance();class B9{startSpan(t,r,n=ry.active()){if(r?.root)return new Qu;const o=n&&z9(n);return $X(o)&&Zu(o)?new Qu(o):new Qu}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??ry.active(),u=this.startSpan(t,a,p),h=ey(p,u);return ry.with(h,l,void 0,u)}}function $X(e){return e!==null&&typeof e=="object"&&"spanId"in e&&typeof e.spanId=="string"&&"traceId"in e&&typeof e.traceId=="string"&&"traceFlags"in e&&typeof e.traceFlags=="number"}const zX=new B9;class q9{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}startSpan(t,r,n){return this._getTracer().startSpan(t,r,n)}startActiveSpan(t,r,n,o){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;const t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):zX}}class UX{getTracer(t,r,n){return new B9}}const FX=new UX;class ny{getTracer(t,r,n){var o;return(o=this.getDelegateTracer(t,r,n))!==null&&o!==void 0?o:new q9(this,t,r,n)}getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:FX}setDelegate(t){this._delegate=t}getDelegateTracer(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(t,r,n)}}var Xu;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Xu||(Xu={}));var ed;(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(ed||(ed={}));var ns;(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(ns||(ns={}));const oy="[_0-9a-z-*/]",BX=`[a-z]${oy}{0,255}`,qX=`[a-z0-9]${oy}{0,240}@[a-z]${oy}{0,13}`,HX=new RegExp(`^(?:${BX}|${qX})$`),VX=/^[ -~]{0,255}[!-~]$/,GX=/,|=/;function WX(e){return HX.test(e)}function YX(e){return VX.test(e)&&!GX.test(e)}const H9=32,KX=512,V9=",",G9="=";class A3{constructor(t){this._internalState=new Map,t&&this._parse(t)}set(t,r){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,r),n}unset(t){const r=this._clone();return r._internalState.delete(t),r}get(t){return this._internalState.get(t)}serialize(){return Array.from(this._internalState.keys()).reduceRight((t,r)=>(t.push(r+G9+this.get(r)),t),[]).join(V9)}_parse(t){t.length>KX||(this._internalState=t.split(V9).reduceRight((r,n)=>{const o=n.trim(),a=o.indexOf(G9);if(a!==-1){const i=o.slice(0,a),l=o.slice(a+1,n.length);WX(i)&&YX(l)&&r.set(i,l)}return r},new Map),this._internalState.size>H9&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,H9))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new A3;return t._internalState=new Map(this._internalState),t}}function JX(e){return new A3(e)}const Po=Op.getInstance(),ct=Uo.instance();class QX{getMeter(t,r,n){return P9}}const ZX=new QX,ay="metrics";class E3{constructor(){}static getInstance(){return this._instance||(this._instance=new E3),this._instance}setGlobalMeterProvider(t){return Yu(ay,t,Uo.instance())}getMeterProvider(){return ll(ay)||ZX}getMeter(t,r,n){return this.getMeterProvider().getMeter(t,r,n)}disable(){Ku(ay,Uo.instance())}}const hm=E3.getInstance();class XX{inject(t,r){}extract(t,r){return t}fields(){return[]}}const iy=pm("OpenTelemetry Baggage Key");function W9(e){return e.getValue(iy)||void 0}function eee(){return W9(Op.getInstance().active())}function tee(e,t){return e.setValue(iy,t)}function ree(e){return e.deleteValue(iy)}const sy="propagation",nee=new XX;class T3{constructor(){this.createBaggage=mX,this.getBaggage=W9,this.getActiveBaggage=eee,this.setBaggage=tee,this.deleteBaggage=ree}static getInstance(){return this._instance||(this._instance=new T3),this._instance}setGlobalPropagator(t){return Yu(sy,t,Uo.instance())}inject(t,r,n=$9){return this._getGlobalPropagator().inject(t,r,n)}extract(t,r,n=D9){return this._getGlobalPropagator().extract(t,r,n)}fields(){return this._getGlobalPropagator().fields()}disable(){Ku(sy,Uo.instance())}_getGlobalPropagator(){return ll(sy)||nee}}const pl=T3.getInstance(),ly="trace";class O3{constructor(){this._proxyTracerProvider=new ny,this.wrapSpanContext=DX,this.isSpanContextValid=Zu,this.deleteSpan=PX,this.getSpan=X0,this.getActiveSpan=IX,this.getSpanContext=z9,this.setSpan=ey,this.setSpanContext=MX}static getInstance(){return this._instance||(this._instance=new O3),this._instance}setGlobalTracerProvider(t){const r=Yu(ly,this._proxyTracerProvider,Uo.instance());return r&&this._proxyTracerProvider.setDelegate(t),r}getTracerProvider(){return ll(ly)||this._proxyTracerProvider}getTracer(t,r){return this.getTracerProvider().getTracer(t,r)}disable(){Ku(ly,Uo.instance()),this._proxyTracerProvider=new ny}}const On=O3.getInstance(),oee={context:Po,diag:ct,metrics:hm,propagation:pl,trace:On},aee=Object.freeze(Object.defineProperty({__proto__:null,DiagConsoleLogger:gX,get DiagLogLevel(){return Vn},INVALID_SPANID:K0,INVALID_SPAN_CONTEXT:Q0,INVALID_TRACEID:J0,ProxyTracer:q9,ProxyTracerProvider:ny,ROOT_CONTEXT:cl,get SamplingDecision(){return Xu},get SpanKind(){return ed},get SpanStatusCode(){return ns},get TraceFlags(){return ta},get ValueType(){return W0},baggageEntryMetadataFromString:I9,context:Po,createContextKey:pm,createNoopMeter:M9,createTraceState:JX,default:oee,defaultTextMapGetter:D9,defaultTextMapSetter:$9,diag:ct,isSpanContextValid:Zu,isValidSpanId:F9,isValidTraceId:ty,metrics:hm,propagation:pl,trace:On},Symbol.toStringTag,{value:"Module"})),Y9=pm("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function K9(e){return e.setValue(Y9,!0)}function cy(e){return e.getValue(Y9)===!0}const iee="=",J9=";",Q9=",",py="baggage",Z9=180,X9=4096,e_=8192;function see(e){return e.reduce((t,r)=>{const n=`${t}${t!==""?Q9:""}${r}`;return n.length>e_?t:n},"")}function lee(e){return e.getAllEntries().map(([t,r])=>{let n=`${encodeURIComponent(t)}=${encodeURIComponent(r.value)}`;return r.metadata!==void 0&&(n+=J9+r.metadata.toString()),n})}function cee(e){if(!e)return;const t=e.indexOf(J9),r=t===-1?e:e.substring(0,t),n=r.indexOf(iee);if(n<=0)return;const o=r.substring(0,n).trim(),a=r.substring(n+1).trim();if(!o||!a)return;let i,l;try{i=decodeURIComponent(o),l=decodeURIComponent(a)}catch{return}let p;if(t!==-1&&t<e.length-1){const u=e.substring(t+1);p=I9(u)}return{key:i,value:l,metadata:p}}function t_(e,t,r,n){let o=0;for(;o<e.length&&r<Z9;){const a=e.indexOf(Q9,o),i=a===-1?e.length:a,l=i-o;if(l<=X9){const p=cee(e.substring(o,i));if(p){const u=(r===0?0:1)+l;if(n+u>e_)break;t[p.key]=p.metadata?{value:p.value,metadata:p.metadata}:{value:p.value},r++,n+=u}}if(a===-1)break;o=a+1}return[r,n]}class pee{inject(t,r,n){const o=pl.getBaggage(t);if(!o||cy(t))return;const a=lee(o).filter(l=>l.length<=X9).slice(0,Z9),i=see(a);i.length>0&&n.set(r,py,i)}extract(t,r,n){const o=n.get(r,py);if(!o)return t;const a={};let i=0,l=0;if(Array.isArray(o))for(let p=0;p<o.length;p++)[i,l]=t_(o[p],a,i,l);else[i]=t_(o,a,i,l);return i===0?t:pl.setBaggage(t,pl.createBaggage(a))}fields(){return[py]}}function td(e){const t={};if(typeof e!="object"||e==null)return t;for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(!uee(r)){ct.warn(`Invalid attribute key: ${r}`);continue}const n=e[r];if(!r_(n)){ct.warn(`Invalid attribute value set for key: ${r}`);continue}Array.isArray(n)?t[r]=n.slice():t[r]=n}return t}function uee(e){return typeof e=="string"&&e!==""}function r_(e){return e==null?!0:Array.isArray(e)?dee(e):n_(typeof e)}function dee(e){let t;for(const r of e){if(r==null)continue;const n=typeof r;if(n!==t){if(!t){if(n_(n)){t=n;continue}return!1}return!1}}return!0}function n_(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}function hee(){return e=>{ct.error(fee(e))}}function fee(e){return typeof e=="string"?e:JSON.stringify(mee(e))}function mee(e){const t={};let r=e;for(;r!==null;)Object.getOwnPropertyNames(r).forEach(n=>{if(t[n])return;const o=r[n];o&&(t[n]=String(o))}),r=Object.getPrototypeOf(r);return t}let gee=hee();function ul(e){try{gee(e)}catch{}}const bee="2.8.0";function Br(e){let t={};const r=e.length;for(let n=0;n<r;n++){const o=e[n];o&&(t[String(o).toUpperCase().replace(/[-.]/g,"_")]=o)}return t}const o_="aws.lambda.invoked_arn",a_="db.system",i_="db.connection_string",s_="db.user",l_="db.jdbc.driver_classname",c_="db.name",p_="db.statement",u_="db.operation",d_="db.mssql.instance_name",h_="db.cassandra.keyspace",f_="db.cassandra.page_size",m_="db.cassandra.consistency_level",g_="db.cassandra.table",b_="db.cassandra.idempotence",v_="db.cassandra.speculative_execution_count",y_="db.cassandra.coordinator.id",x_="db.cassandra.coordinator.dc",w_="db.hbase.namespace",S_="db.redis.database_index",C_="db.mongodb.collection",k_="db.sql.table",__="exception.type",A_="exception.message",E_="exception.stacktrace",T_="exception.escaped",O_="faas.trigger",R_="faas.execution",j_="faas.document.collection",L_="faas.document.operation",N_="faas.document.time",I_="faas.document.name",P_="faas.time",M_="faas.cron",D_="faas.coldstart",$_="faas.invoked_name",z_="faas.invoked_provider",U_="faas.invoked_region",F_="net.transport",B_="net.peer.ip",q_="net.peer.port",H_="net.peer.name",V_="net.host.ip",G_="net.host.port",W_="net.host.name",Y_="net.host.connection.type",K_="net.host.connection.subtype",J_="net.host.carrier.name",Q_="net.host.carrier.mcc",Z_="net.host.carrier.mnc",X_="net.host.carrier.icc",eA="peer.service",tA="enduser.id",rA="enduser.role",nA="enduser.scope",oA="thread.id",aA="thread.name",iA="code.function",sA="code.namespace",lA="code.filepath",cA="code.lineno",pA="http.method",uA="http.url",dA="http.target",hA="http.host",fA="http.scheme",mA="http.status_code",gA="http.flavor",bA="http.user_agent",vA="http.request_content_length",yA="http.request_content_length_uncompressed",xA="http.response_content_length",wA="http.response_content_length_uncompressed",SA="http.server_name",CA="http.route",kA="http.client_ip",_A="aws.dynamodb.table_names",AA="aws.dynamodb.consumed_capacity",EA="aws.dynamodb.item_collection_metrics",TA="aws.dynamodb.provisioned_read_capacity",OA="aws.dynamodb.provisioned_write_capacity",RA="aws.dynamodb.consistent_read",jA="aws.dynamodb.projection",LA="aws.dynamodb.limit",NA="aws.dynamodb.attributes_to_get",IA="aws.dynamodb.index_name",PA="aws.dynamodb.select",MA="aws.dynamodb.global_secondary_indexes",DA="aws.dynamodb.local_secondary_indexes",$A="aws.dynamodb.exclusive_start_table",zA="aws.dynamodb.table_count",UA="aws.dynamodb.scan_forward",FA="aws.dynamodb.segment",BA="aws.dynamodb.total_segments",qA="aws.dynamodb.count",HA="aws.dynamodb.scanned_count",VA="aws.dynamodb.attribute_definitions",GA="aws.dynamodb.global_secondary_index_updates",WA="messaging.system",YA="messaging.destination",KA="messaging.destination_kind",JA="messaging.temp_destination",QA="messaging.protocol",ZA="messaging.protocol_version",XA="messaging.url",eE="messaging.message_id",tE="messaging.conversation_id",rE="messaging.message_payload_size_bytes",nE="messaging.message_payload_compressed_size_bytes",oE="messaging.operation",aE="messaging.consumer_id",iE="messaging.rabbitmq.routing_key",sE="messaging.kafka.message_key",lE="messaging.kafka.consumer_group",cE="messaging.kafka.client_id",pE="messaging.kafka.partition",uE="messaging.kafka.tombstone",dE="rpc.system",hE="rpc.service",fE="rpc.method",mE="rpc.grpc.status_code",gE="rpc.jsonrpc.version",bE="rpc.jsonrpc.request_id",vE="rpc.jsonrpc.error_code",yE="rpc.jsonrpc.error_message",xE="message.type",wE="message.id",SE="message.compressed_size",CE="message.uncompressed_size",vee=o_,yee=a_,xee=i_,wee=s_,See=l_,Cee=c_,kee=p_,_ee=u_,Aee=d_,Eee=h_,Tee=f_,Oee=m_,Ree=g_,jee=b_,Lee=v_,Nee=y_,Iee=x_,Pee=w_,Mee=S_,Dee=C_,$ee=k_,zee=__,Uee=A_,Fee=E_,Bee=T_,qee=O_,Hee=R_,Vee=j_,Gee=L_,Wee=N_,Yee=I_,Kee=P_,Jee=M_,Qee=D_,Zee=$_,Xee=z_,ete=U_,tte=F_,rte=B_,nte=q_,ote=H_,ate=V_,ite=G_,ste=W_,lte=Y_,cte=K_,pte=J_,ute=Q_,dte=Z_,hte=X_,fte=eA,mte=tA,gte=rA,bte=nA,vte=oA,yte=aA,xte=iA,wte=sA,Ste=lA,Cte=cA,kte=pA,_te=uA,Ate=dA,Ete=hA,Tte=fA,Ote=mA,Rte=gA,jte=bA,Lte=vA,Nte=yA,Ite=xA,Pte=wA,Mte=SA,Dte=CA,$te=kA,zte=_A,Ute=AA,Fte=EA,Bte=TA,qte=OA,Hte=RA,Vte=jA,Gte=LA,Wte=NA,Yte=IA,Kte=PA,Jte=MA,Qte=DA,Zte=$A,Xte=zA,ere=UA,tre=FA,rre=BA,nre=qA,ore=HA,are=VA,ire=GA,sre=WA,lre=YA,cre=KA,pre=JA,ure=QA,dre=ZA,hre=XA,fre=eE,mre=tE,gre=rE,bre=nE,vre=oE,yre=aE,xre=iE,wre=sE,Sre=lE,Cre=cE,kre=pE,_re=uE,Are=dE,Ere=hE,Tre=fE,Ore=mE,Rre=gE,jre=bE,Lre=vE,Nre=yE,Ire=xE,Pre=wE,Mre=SE,Dre=CE,$re=Br([o_,a_,i_,s_,l_,c_,p_,u_,d_,h_,f_,m_,g_,b_,v_,y_,x_,w_,S_,C_,k_,__,A_,E_,T_,O_,R_,j_,L_,N_,I_,P_,M_,D_,$_,z_,U_,F_,B_,q_,H_,V_,G_,W_,Y_,K_,J_,Q_,Z_,X_,eA,tA,rA,nA,oA,aA,iA,sA,lA,cA,pA,uA,dA,hA,fA,mA,gA,bA,vA,yA,xA,wA,SA,CA,kA,_A,AA,EA,TA,OA,RA,jA,LA,NA,IA,PA,MA,DA,$A,zA,UA,FA,BA,qA,HA,VA,GA,WA,YA,KA,JA,QA,ZA,XA,eE,tE,rE,nE,oE,aE,iE,sE,lE,cE,pE,uE,dE,hE,fE,mE,gE,bE,vE,yE,xE,wE,SE,CE]),kE="other_sql",_E="mssql",AE="mysql",EE="oracle",TE="db2",OE="postgresql",RE="redshift",jE="hive",LE="cloudscape",NE="hsqldb",IE="progress",PE="maxdb",ME="hanadb",DE="ingres",$E="firstsql",zE="edb",UE="cache",FE="adabas",BE="firebird",qE="derby",HE="filemaker",VE="informix",GE="instantdb",WE="interbase",YE="mariadb",KE="netezza",JE="pervasive",QE="pointbase",ZE="sqlite",XE="sybase",e8="teradata",t8="vertica",r8="h2",n8="coldfusion",o8="cassandra",a8="hbase",i8="mongodb",s8="redis",l8="couchbase",c8="couchdb",p8="cosmosdb",u8="dynamodb",d8="neo4j",h8="geode",f8="elasticsearch",m8="memcached",g8="cockroachdb",zre=kE,Ure=_E,Fre=AE,Bre=EE,qre=TE,Hre=OE,Vre=RE,Gre=jE,Wre=LE,Yre=NE,Kre=IE,Jre=PE,Qre=ME,Zre=DE,Xre=$E,ene=zE,tne=UE,rne=FE,nne=BE,one=qE,ane=HE,ine=VE,sne=GE,lne=WE,cne=YE,pne=KE,une=JE,dne=QE,hne=ZE,fne=XE,mne=e8,gne=t8,bne=r8,vne=n8,yne=o8,xne=a8,wne=i8,Sne=s8,Cne=l8,kne=c8,_ne=p8,Ane=u8,Ene=d8,Tne=h8,One=f8,Rne=m8,jne=g8,Lne=Br([kE,_E,AE,EE,TE,OE,RE,jE,LE,NE,IE,PE,ME,DE,$E,zE,UE,FE,BE,qE,HE,VE,GE,WE,YE,KE,JE,QE,ZE,XE,e8,t8,r8,n8,o8,a8,i8,s8,l8,c8,p8,u8,d8,h8,f8,m8,g8]),b8="all",v8="each_quorum",y8="quorum",x8="local_quorum",w8="one",S8="two",C8="three",k8="local_one",_8="any",A8="serial",E8="local_serial",Nne=b8,Ine=v8,Pne=y8,Mne=x8,Dne=w8,$ne=S8,zne=C8,Une=k8,Fne=_8,Bne=A8,qne=E8,Hne=Br([b8,v8,y8,x8,w8,S8,C8,k8,_8,A8,E8]),T8="datasource",O8="http",R8="pubsub",j8="timer",L8="other",Vne=T8,Gne=O8,Wne=R8,Yne=j8,Kne=L8,Jne=Br([T8,O8,R8,j8,L8]),N8="insert",I8="edit",P8="delete",Qne=N8,Zne=I8,Xne=P8,eoe=Br([N8,I8,P8]),M8="alibaba_cloud",D8="aws",$8="azure",z8="gcp",toe=M8,roe=D8,noe=$8,ooe=z8,aoe=Br([M8,D8,$8,z8]),U8="ip_tcp",F8="ip_udp",B8="ip",q8="unix",H8="pipe",V8="inproc",G8="other",ioe=U8,soe=F8,loe=B8,coe=q8,poe=H8,uoe=V8,doe=G8,hoe=Br([U8,F8,B8,q8,H8,V8,G8]),W8="wifi",Y8="wired",K8="cell",J8="unavailable",Q8="unknown",foe=W8,moe=Y8,goe=K8,boe=J8,voe=Q8,yoe=Br([W8,Y8,K8,J8,Q8]),Z8="gprs",X8="edge",e7="umts",t7="cdma",r7="evdo_0",n7="evdo_a",o7="cdma2000_1xrtt",a7="hsdpa",i7="hsupa",s7="hspa",l7="iden",c7="evdo_b",p7="lte",u7="ehrpd",d7="hspap",h7="gsm",f7="td_scdma",m7="iwlan",g7="nr",b7="nrnsa",v7="lte_ca",xoe=Z8,woe=X8,Soe=e7,Coe=t7,koe=r7,_oe=n7,Aoe=o7,Eoe=a7,Toe=i7,Ooe=s7,Roe=l7,joe=c7,Loe=p7,Noe=u7,Ioe=d7,Poe=h7,Moe=f7,Doe=m7,$oe=g7,zoe=b7,Uoe=v7,Foe=Br([Z8,X8,e7,t7,r7,n7,o7,a7,i7,s7,l7,c7,p7,u7,d7,h7,f7,m7,g7,b7,v7]),y7="1.0",x7="1.1",w7="2.0",S7="SPDY",C7="QUIC",Boe=y7,qoe=x7,Hoe=w7,Voe=S7,Goe=C7,Woe={HTTP_1_0:y7,HTTP_1_1:x7,HTTP_2_0:w7,SPDY:S7,QUIC:C7},k7="queue",_7="topic",Yoe=k7,Koe=_7,Joe=Br([k7,_7]),A7="receive",E7="process",Qoe=A7,Zoe=E7,Xoe=Br([A7,E7]),T7=0,O7=1,R7=2,j7=3,L7=4,N7=5,I7=6,P7=7,M7=8,D7=9,$7=10,z7=11,U7=12,F7=13,B7=14,q7=15,H7=16,eae=T7,tae=O7,rae=R7,nae=j7,oae=L7,aae=N7,iae=I7,sae=P7,lae=M7,cae=D7,pae=$7,uae=z7,dae=U7,hae=F7,fae=B7,mae=q7,gae=H7,bae={OK:T7,CANCELLED:O7,UNKNOWN:R7,INVALID_ARGUMENT:j7,DEADLINE_EXCEEDED:L7,NOT_FOUND:N7,ALREADY_EXISTS:I7,PERMISSION_DENIED:P7,RESOURCE_EXHAUSTED:M7,FAILED_PRECONDITION:D7,ABORTED:$7,OUT_OF_RANGE:z7,UNIMPLEMENTED:U7,INTERNAL:F7,UNAVAILABLE:B7,DATA_LOSS:q7,UNAUTHENTICATED:H7},V7="SENT",G7="RECEIVED",vae=V7,yae=G7,xae=Br([V7,G7]),W7="cloud.provider",Y7="cloud.account.id",K7="cloud.region",J7="cloud.availability_zone",Q7="cloud.platform",Z7="aws.ecs.container.arn",X7="aws.ecs.cluster.arn",eT="aws.ecs.launchtype",tT="aws.ecs.task.arn",rT="aws.ecs.task.family",nT="aws.ecs.task.revision",oT="aws.eks.cluster.arn",aT="aws.log.group.names",iT="aws.log.group.arns",sT="aws.log.stream.names",lT="aws.log.stream.arns",cT="container.name",pT="container.id",uT="container.runtime",dT="container.image.name",hT="container.image.tag",fT="deployment.environment",mT="device.id",gT="device.model.identifier",bT="device.model.name",vT="faas.name",yT="faas.id",xT="faas.version",wT="faas.instance",ST="faas.max_memory",CT="host.id",kT="host.name",_T="host.type",AT="host.arch",ET="host.image.name",TT="host.image.id",OT="host.image.version",RT="k8s.cluster.name",jT="k8s.node.name",LT="k8s.node.uid",NT="k8s.namespace.name",IT="k8s.pod.uid",PT="k8s.pod.name",MT="k8s.container.name",DT="k8s.replicaset.uid",$T="k8s.replicaset.name",zT="k8s.deployment.uid",UT="k8s.deployment.name",FT="k8s.statefulset.uid",BT="k8s.statefulset.name",qT="k8s.daemonset.uid",HT="k8s.daemonset.name",VT="k8s.job.uid",GT="k8s.job.name",WT="k8s.cronjob.uid",YT="k8s.cronjob.name",KT="os.type",JT="os.description",QT="os.name",ZT="os.version",XT="process.pid",eO="process.executable.name",tO="process.executable.path",rO="process.command",nO="process.command_line",oO="process.command_args",aO="process.owner",iO="process.runtime.name",sO="process.runtime.version",lO="process.runtime.description",cO="service.name",pO="service.namespace",uO="service.instance.id",dO="service.version",hO="telemetry.sdk.name",fO="telemetry.sdk.language",mO="telemetry.sdk.version",gO="telemetry.auto.version",bO="webengine.name",vO="webengine.version",yO="webengine.description",wae=W7,Sae=Y7,Cae=K7,kae=J7,_ae=Q7,Aae=Z7,Eae=X7,Tae=eT,Oae=tT,Rae=rT,jae=nT,Lae=oT,Nae=aT,Iae=iT,Pae=sT,Mae=lT,Dae=cT,$ae=pT,zae=uT,Uae=dT,Fae=hT,Bae=fT,qae=mT,Hae=gT,Vae=bT,Gae=vT,Wae=yT,Yae=xT,Kae=wT,Jae=ST,Qae=CT,Zae=kT,Xae=_T,eie=AT,tie=ET,rie=TT,nie=OT,oie=RT,aie=jT,iie=LT,sie=NT,lie=IT,cie=PT,pie=MT,uie=DT,die=$T,hie=zT,fie=UT,mie=FT,gie=BT,bie=qT,vie=HT,yie=VT,xie=GT,wie=WT,Sie=YT,Cie=KT,kie=JT,_ie=QT,Aie=ZT,Eie=XT,Tie=eO,Oie=tO,Rie=rO,jie=nO,Lie=oO,Nie=aO,Iie=iO,Pie=sO,Mie=lO,Die=cO,$ie=pO,zie=uO,Uie=dO,Fie=hO,Bie=fO,qie=mO,Hie=gO,Vie=bO,Gie=vO,Wie=yO,Yie=Br([W7,Y7,K7,J7,Q7,Z7,X7,eT,tT,rT,nT,oT,aT,iT,sT,lT,cT,pT,uT,dT,hT,fT,mT,gT,bT,vT,yT,xT,wT,ST,CT,kT,_T,AT,ET,TT,OT,RT,jT,LT,NT,IT,PT,MT,DT,$T,zT,UT,FT,BT,qT,HT,VT,GT,WT,YT,KT,JT,QT,ZT,XT,eO,tO,rO,nO,oO,aO,iO,sO,lO,cO,pO,uO,dO,hO,fO,mO,gO,bO,vO,yO]),xO="alibaba_cloud",wO="aws",SO="azure",CO="gcp",Kie=xO,Jie=wO,Qie=SO,Zie=CO,Xie=Br([xO,wO,SO,CO]),kO="alibaba_cloud_ecs",_O="alibaba_cloud_fc",AO="aws_ec2",EO="aws_ecs",TO="aws_eks",OO="aws_lambda",RO="aws_elastic_beanstalk",jO="azure_vm",LO="azure_container_instances",NO="azure_aks",IO="azure_functions",PO="azure_app_service",MO="gcp_compute_engine",DO="gcp_cloud_run",$O="gcp_kubernetes_engine",zO="gcp_cloud_functions",UO="gcp_app_engine",ese=kO,tse=_O,rse=AO,nse=EO,ose=TO,ase=OO,ise=RO,sse=jO,lse=LO,cse=NO,pse=IO,use=PO,dse=MO,hse=DO,fse=$O,mse=zO,gse=UO,bse=Br([kO,_O,AO,EO,TO,OO,RO,jO,LO,NO,IO,PO,MO,DO,$O,zO,UO]),FO="ec2",BO="fargate",vse=FO,yse=BO,xse=Br([FO,BO]),qO="amd64",HO="arm32",VO="arm64",GO="ia64",WO="ppc32",YO="ppc64",KO="x86",wse=qO,Sse=HO,Cse=VO,kse=GO,_se=WO,Ase=YO,Ese=KO,Tse=Br([qO,HO,VO,GO,WO,YO,KO]),JO="windows",QO="linux",ZO="darwin",XO="freebsd",eR="netbsd",tR="openbsd",rR="dragonflybsd",nR="hpux",oR="aix",aR="solaris",iR="z_os",Ose=JO,Rse=QO,jse=ZO,Lse=XO,Nse=eR,Ise=tR,Pse=rR,Mse=nR,Dse=oR,$se=aR,zse=iR,Use=Br([JO,QO,ZO,XO,eR,tR,rR,nR,oR,aR,iR]),sR="cpp",lR="dotnet",cR="erlang",pR="go",uR="java",dR="nodejs",hR="php",fR="python",mR="ruby",gR="webjs",Fse=sR,Bse=lR,qse=cR,Hse=pR,Vse=uR,Gse=dR,Wse=hR,Yse=fR,Kse=mR,Jse=gR,Qse=Br([sR,lR,cR,pR,uR,dR,hR,fR,mR,gR]),Zse="aspnetcore.diagnostics.exception.result",Xse="aborted",ele="handled",tle="skipped",rle="unhandled",nle="aspnetcore.diagnostics.handler.type",ole="aspnetcore.rate_limiting.policy",ale="aspnetcore.rate_limiting.result",ile="acquired",sle="endpoint_limiter",lle="global_limiter",cle="request_canceled",ple="aspnetcore.request.is_unhandled",ule="aspnetcore.routing.is_fallback",dle="aspnetcore.routing.match_status",hle="failure",fle="success",mle="aspnetcore.user.is_authenticated",gle="client.address",ble="client.port",vle="code.column.number",yle="code.file.path",xle="code.function.name",wle="code.line.number",Sle="code.stacktrace",Cle="db.collection.name",kle="db.namespace",_le="db.operation.batch.size",Ale="db.operation.name",Ele="db.query.summary",Tle="db.query.text",Ole="db.response.status_code",Rle="db.stored_procedure.name",jle="db.system.name",Lle="mariadb",Nle="microsoft.sql_server",Ile="mysql",Ple="postgresql",Mle="dotnet.gc.heap.generation",Dle="gen0",$le="gen1",zle="gen2",Ule="loh",Fle="poh",Ble="error.type",qle="_OTHER",Hle="exception.escaped",fm="exception.message",bR="exception.stacktrace",mm="exception.type",Vle=e=>`http.request.header.${e}`,Gle="http.request.method",Wle="_OTHER",Yle="CONNECT",Kle="DELETE",Jle="GET",Qle="HEAD",Zle="OPTIONS",Xle="PATCH",ece="POST",tce="PUT",rce="TRACE",nce="http.request.method_original",oce="http.request.resend_count",ace=e=>`http.response.header.${e}`,ice="http.response.status_code",sce="http.route",lce="jvm.gc.action",cce="jvm.gc.name",pce="jvm.memory.pool.name",uce="jvm.memory.type",dce="heap",hce="non_heap",fce="jvm.thread.daemon",mce="jvm.thread.state",gce="blocked",bce="new",vce="runnable",yce="terminated",xce="timed_waiting",wce="waiting",Sce="network.local.address",Cce="network.local.port",kce="network.peer.address",_ce="network.peer.port",Ace="network.protocol.name",Ece="network.protocol.version",Tce="network.transport",Oce="pipe",Rce="quic",jce="tcp",Lce="udp",Nce="unix",Ice="network.type",Pce="ipv4",Mce="ipv6",Dce="otel.scope.name",$ce="otel.scope.version",zce="otel.status_code",Uce="ERROR",Fce="OK",Bce="otel.status_description",qce="server.address",Hce="server.port",Vce="service.instance.id",uy="service.name",Gce="service.namespace",vR="service.version",Wce="signalr.connection.status",Yce="app_shutdown",Kce="normal_closure",Jce="timeout",Qce="signalr.transport",Zce="long_polling",Xce="server_sent_events",epe="web_sockets",gm="telemetry.sdk.language",tpe="cpp",rpe="dotnet",npe="erlang",ope="go",ape="java",ipe="nodejs",spe="php",lpe="python",cpe="ruby",ppe="rust",upe="swift",yR="webjs",bm="telemetry.sdk.name",vm="telemetry.sdk.version",dpe="url.fragment",hpe="url.full",fpe="url.path",mpe="url.query",gpe="url.scheme",bpe="user_agent.original",vpe="aspnetcore.diagnostics.exceptions",ype="aspnetcore.rate_limiting.active_request_leases",xpe="aspnetcore.rate_limiting.queued_requests",wpe="aspnetcore.rate_limiting.request.time_in_queue",Spe="aspnetcore.rate_limiting.request_lease.duration",Cpe="aspnetcore.rate_limiting.requests",kpe="aspnetcore.routing.match_attempts",_pe="db.client.operation.duration",Ape="dotnet.assembly.count",Epe="dotnet.exceptions",Tpe="dotnet.gc.collections",Ope="dotnet.gc.heap.total_allocated",Rpe="dotnet.gc.last_collection.heap.fragmentation.size",jpe="dotnet.gc.last_collection.heap.size",Lpe="dotnet.gc.last_collection.memory.committed_size",Npe="dotnet.gc.pause.time",Ipe="dotnet.jit.compilation.time",Ppe="dotnet.jit.compiled_il.size",Mpe="dotnet.jit.compiled_methods",Dpe="dotnet.monitor.lock_contentions",$pe="dotnet.process.cpu.count",zpe="dotnet.process.cpu.time",Upe="dotnet.process.memory.working_set",Fpe="dotnet.thread_pool.queue.length",Bpe="dotnet.thread_pool.thread.count",qpe="dotnet.thread_pool.work_item.count",Hpe="dotnet.timer.count",Vpe="http.client.request.duration",Gpe="http.server.request.duration",Wpe="jvm.class.count",Ype="jvm.class.loaded",Kpe="jvm.class.unloaded",Jpe="jvm.cpu.count",Qpe="jvm.cpu.recent_utilization",Zpe="jvm.cpu.time",Xpe="jvm.gc.duration",eue="jvm.memory.committed",tue="jvm.memory.limit",rue="jvm.memory.used",nue="jvm.memory.used_after_last_gc",oue="jvm.thread.count",aue="kestrel.active_connections",iue="kestrel.active_tls_handshakes",sue="kestrel.connection.duration",lue="kestrel.queued_connections",cue="kestrel.queued_requests",pue="kestrel.rejected_connections",uue="kestrel.tls_handshake.duration",due="kestrel.upgraded_connections",hue="signalr.server.active_connections",fue="signalr.server.connection.duration",mue="exception",gue=Object.freeze(Object.defineProperty({__proto__:null,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:Xse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:ele,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:tle,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:rle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:ile,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:sle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:lle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:cle,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:hle,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:fle,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:Zse,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:nle,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:ole,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:ale,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:ple,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:ule,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:dle,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:mle,ATTR_CLIENT_ADDRESS:gle,ATTR_CLIENT_PORT:ble,ATTR_CODE_COLUMN_NUMBER:vle,ATTR_CODE_FILE_PATH:yle,ATTR_CODE_FUNCTION_NAME:xle,ATTR_CODE_LINE_NUMBER:wle,ATTR_CODE_STACKTRACE:Sle,ATTR_DB_COLLECTION_NAME:Cle,ATTR_DB_NAMESPACE:kle,ATTR_DB_OPERATION_BATCH_SIZE:_le,ATTR_DB_OPERATION_NAME:Ale,ATTR_DB_QUERY_SUMMARY:Ele,ATTR_DB_QUERY_TEXT:Tle,ATTR_DB_RESPONSE_STATUS_CODE:Ole,ATTR_DB_STORED_PROCEDURE_NAME:Rle,ATTR_DB_SYSTEM_NAME:jle,ATTR_DOTNET_GC_HEAP_GENERATION:Mle,ATTR_ERROR_TYPE:Ble,ATTR_EXCEPTION_ESCAPED:Hle,ATTR_EXCEPTION_MESSAGE:fm,ATTR_EXCEPTION_STACKTRACE:bR,ATTR_EXCEPTION_TYPE:mm,ATTR_HTTP_REQUEST_HEADER:Vle,ATTR_HTTP_REQUEST_METHOD:Gle,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:nce,ATTR_HTTP_REQUEST_RESEND_COUNT:oce,ATTR_HTTP_RESPONSE_HEADER:ace,ATTR_HTTP_RESPONSE_STATUS_CODE:ice,ATTR_HTTP_ROUTE:sce,ATTR_JVM_GC_ACTION:lce,ATTR_JVM_GC_NAME:cce,ATTR_JVM_MEMORY_POOL_NAME:pce,ATTR_JVM_MEMORY_TYPE:uce,ATTR_JVM_THREAD_DAEMON:fce,ATTR_JVM_THREAD_STATE:mce,ATTR_NETWORK_LOCAL_ADDRESS:Sce,ATTR_NETWORK_LOCAL_PORT:Cce,ATTR_NETWORK_PEER_ADDRESS:kce,ATTR_NETWORK_PEER_PORT:_ce,ATTR_NETWORK_PROTOCOL_NAME:Ace,ATTR_NETWORK_PROTOCOL_VERSION:Ece,ATTR_NETWORK_TRANSPORT:Tce,ATTR_NETWORK_TYPE:Ice,ATTR_OTEL_SCOPE_NAME:Dce,ATTR_OTEL_SCOPE_VERSION:$ce,ATTR_OTEL_STATUS_CODE:zce,ATTR_OTEL_STATUS_DESCRIPTION:Bce,ATTR_SERVER_ADDRESS:qce,ATTR_SERVER_PORT:Hce,ATTR_SERVICE_INSTANCE_ID:Vce,ATTR_SERVICE_NAME:uy,ATTR_SERVICE_NAMESPACE:Gce,ATTR_SERVICE_VERSION:vR,ATTR_SIGNALR_CONNECTION_STATUS:Wce,ATTR_SIGNALR_TRANSPORT:Qce,ATTR_TELEMETRY_SDK_LANGUAGE:gm,ATTR_TELEMETRY_SDK_NAME:bm,ATTR_TELEMETRY_SDK_VERSION:vm,ATTR_URL_FRAGMENT:dpe,ATTR_URL_FULL:hpe,ATTR_URL_PATH:fpe,ATTR_URL_QUERY:mpe,ATTR_URL_SCHEME:gpe,ATTR_USER_AGENT_ORIGINAL:bpe,AWSECSLAUNCHTYPEVALUES_EC2:vse,AWSECSLAUNCHTYPEVALUES_FARGATE:yse,AwsEcsLaunchtypeValues:xse,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:ese,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:tse,CLOUDPLATFORMVALUES_AWS_EC2:rse,CLOUDPLATFORMVALUES_AWS_ECS:nse,CLOUDPLATFORMVALUES_AWS_EKS:ose,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:ise,CLOUDPLATFORMVALUES_AWS_LAMBDA:ase,CLOUDPLATFORMVALUES_AZURE_AKS:cse,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:use,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:lse,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:pse,CLOUDPLATFORMVALUES_AZURE_VM:sse,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:gse,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:mse,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:hse,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:dse,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:fse,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:Kie,CLOUDPROVIDERVALUES_AWS:Jie,CLOUDPROVIDERVALUES_AZURE:Qie,CLOUDPROVIDERVALUES_GCP:Zie,CloudPlatformValues:bse,CloudProviderValues:Xie,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:Nne,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:Fne,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:Ine,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:Une,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:Mne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:qne,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:Dne,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:Pne,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:Bne,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:zne,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:$ne,DBSYSTEMVALUES_ADABAS:rne,DBSYSTEMVALUES_CACHE:tne,DBSYSTEMVALUES_CASSANDRA:yne,DBSYSTEMVALUES_CLOUDSCAPE:Wre,DBSYSTEMVALUES_COCKROACHDB:jne,DBSYSTEMVALUES_COLDFUSION:vne,DBSYSTEMVALUES_COSMOSDB:_ne,DBSYSTEMVALUES_COUCHBASE:Cne,DBSYSTEMVALUES_COUCHDB:kne,DBSYSTEMVALUES_DB2:qre,DBSYSTEMVALUES_DERBY:one,DBSYSTEMVALUES_DYNAMODB:Ane,DBSYSTEMVALUES_EDB:ene,DBSYSTEMVALUES_ELASTICSEARCH:One,DBSYSTEMVALUES_FILEMAKER:ane,DBSYSTEMVALUES_FIREBIRD:nne,DBSYSTEMVALUES_FIRSTSQL:Xre,DBSYSTEMVALUES_GEODE:Tne,DBSYSTEMVALUES_H2:bne,DBSYSTEMVALUES_HANADB:Qre,DBSYSTEMVALUES_HBASE:xne,DBSYSTEMVALUES_HIVE:Gre,DBSYSTEMVALUES_HSQLDB:Yre,DBSYSTEMVALUES_INFORMIX:ine,DBSYSTEMVALUES_INGRES:Zre,DBSYSTEMVALUES_INSTANTDB:sne,DBSYSTEMVALUES_INTERBASE:lne,DBSYSTEMVALUES_MARIADB:cne,DBSYSTEMVALUES_MAXDB:Jre,DBSYSTEMVALUES_MEMCACHED:Rne,DBSYSTEMVALUES_MONGODB:wne,DBSYSTEMVALUES_MSSQL:Ure,DBSYSTEMVALUES_MYSQL:Fre,DBSYSTEMVALUES_NEO4J:Ene,DBSYSTEMVALUES_NETEZZA:pne,DBSYSTEMVALUES_ORACLE:Bre,DBSYSTEMVALUES_OTHER_SQL:zre,DBSYSTEMVALUES_PERVASIVE:une,DBSYSTEMVALUES_POINTBASE:dne,DBSYSTEMVALUES_POSTGRESQL:Hre,DBSYSTEMVALUES_PROGRESS:Kre,DBSYSTEMVALUES_REDIS:Sne,DBSYSTEMVALUES_REDSHIFT:Vre,DBSYSTEMVALUES_SQLITE:hne,DBSYSTEMVALUES_SYBASE:fne,DBSYSTEMVALUES_TERADATA:mne,DBSYSTEMVALUES_VERTICA:gne,DB_SYSTEM_NAME_VALUE_MARIADB:Lle,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:Nle,DB_SYSTEM_NAME_VALUE_MYSQL:Ile,DB_SYSTEM_NAME_VALUE_POSTGRESQL:Ple,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:Dle,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:$le,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:zle,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:Ule,DOTNET_GC_HEAP_GENERATION_VALUE_POH:Fle,DbCassandraConsistencyLevelValues:Hne,DbSystemValues:Lne,ERROR_TYPE_VALUE_OTHER:qle,EVENT_EXCEPTION:mue,FAASDOCUMENTOPERATIONVALUES_DELETE:Xne,FAASDOCUMENTOPERATIONVALUES_EDIT:Zne,FAASDOCUMENTOPERATIONVALUES_INSERT:Qne,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:toe,FAASINVOKEDPROVIDERVALUES_AWS:roe,FAASINVOKEDPROVIDERVALUES_AZURE:noe,FAASINVOKEDPROVIDERVALUES_GCP:ooe,FAASTRIGGERVALUES_DATASOURCE:Vne,FAASTRIGGERVALUES_HTTP:Gne,FAASTRIGGERVALUES_OTHER:Kne,FAASTRIGGERVALUES_PUBSUB:Wne,FAASTRIGGERVALUES_TIMER:Yne,FaasDocumentOperationValues:eoe,FaasInvokedProviderValues:aoe,FaasTriggerValues:Jne,HOSTARCHVALUES_AMD64:wse,HOSTARCHVALUES_ARM32:Sse,HOSTARCHVALUES_ARM64:Cse,HOSTARCHVALUES_IA64:kse,HOSTARCHVALUES_PPC32:_se,HOSTARCHVALUES_PPC64:Ase,HOSTARCHVALUES_X86:Ese,HTTPFLAVORVALUES_HTTP_1_0:Boe,HTTPFLAVORVALUES_HTTP_1_1:qoe,HTTPFLAVORVALUES_HTTP_2_0:Hoe,HTTPFLAVORVALUES_QUIC:Goe,HTTPFLAVORVALUES_SPDY:Voe,HTTP_REQUEST_METHOD_VALUE_CONNECT:Yle,HTTP_REQUEST_METHOD_VALUE_DELETE:Kle,HTTP_REQUEST_METHOD_VALUE_GET:Jle,HTTP_REQUEST_METHOD_VALUE_HEAD:Qle,HTTP_REQUEST_METHOD_VALUE_OPTIONS:Zle,HTTP_REQUEST_METHOD_VALUE_OTHER:Wle,HTTP_REQUEST_METHOD_VALUE_PATCH:Xle,HTTP_REQUEST_METHOD_VALUE_POST:ece,HTTP_REQUEST_METHOD_VALUE_PUT:tce,HTTP_REQUEST_METHOD_VALUE_TRACE:rce,HostArchValues:Tse,HttpFlavorValues:Woe,JVM_MEMORY_TYPE_VALUE_HEAP:dce,JVM_MEMORY_TYPE_VALUE_NON_HEAP:hce,JVM_THREAD_STATE_VALUE_BLOCKED:gce,JVM_THREAD_STATE_VALUE_NEW:bce,JVM_THREAD_STATE_VALUE_RUNNABLE:vce,JVM_THREAD_STATE_VALUE_TERMINATED:yce,JVM_THREAD_STATE_VALUE_TIMED_WAITING:xce,JVM_THREAD_STATE_VALUE_WAITING:wce,MESSAGETYPEVALUES_RECEIVED:yae,MESSAGETYPEVALUES_SENT:vae,MESSAGINGDESTINATIONKINDVALUES_QUEUE:Yoe,MESSAGINGDESTINATIONKINDVALUES_TOPIC:Koe,MESSAGINGOPERATIONVALUES_PROCESS:Zoe,MESSAGINGOPERATIONVALUES_RECEIVE:Qoe,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:vpe,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:ype,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:xpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:Cpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:Spe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:wpe,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:kpe,METRIC_DB_CLIENT_OPERATION_DURATION:_pe,METRIC_DOTNET_ASSEMBLY_COUNT:Ape,METRIC_DOTNET_EXCEPTIONS:Epe,METRIC_DOTNET_GC_COLLECTIONS:Tpe,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:Ope,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:Rpe,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:jpe,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:Lpe,METRIC_DOTNET_GC_PAUSE_TIME:Npe,METRIC_DOTNET_JIT_COMPILATION_TIME:Ipe,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:Ppe,METRIC_DOTNET_JIT_COMPILED_METHODS:Mpe,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:Dpe,METRIC_DOTNET_PROCESS_CPU_COUNT:$pe,METRIC_DOTNET_PROCESS_CPU_TIME:zpe,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:Upe,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:Fpe,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:Bpe,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:qpe,METRIC_DOTNET_TIMER_COUNT:Hpe,METRIC_HTTP_CLIENT_REQUEST_DURATION:Vpe,METRIC_HTTP_SERVER_REQUEST_DURATION:Gpe,METRIC_JVM_CLASS_COUNT:Wpe,METRIC_JVM_CLASS_LOADED:Ype,METRIC_JVM_CLASS_UNLOADED:Kpe,METRIC_JVM_CPU_COUNT:Jpe,METRIC_JVM_CPU_RECENT_UTILIZATION:Qpe,METRIC_JVM_CPU_TIME:Zpe,METRIC_JVM_GC_DURATION:Xpe,METRIC_JVM_MEMORY_COMMITTED:eue,METRIC_JVM_MEMORY_LIMIT:tue,METRIC_JVM_MEMORY_USED:rue,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:nue,METRIC_JVM_THREAD_COUNT:oue,METRIC_KESTREL_ACTIVE_CONNECTIONS:aue,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:iue,METRIC_KESTREL_CONNECTION_DURATION:sue,METRIC_KESTREL_QUEUED_CONNECTIONS:lue,METRIC_KESTREL_QUEUED_REQUESTS:cue,METRIC_KESTREL_REJECTED_CONNECTIONS:pue,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:uue,METRIC_KESTREL_UPGRADED_CONNECTIONS:due,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:hue,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:fue,MessageTypeValues:xae,MessagingDestinationKindValues:Joe,MessagingOperationValues:Xoe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:Coe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:Aoe,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:woe,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:Noe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:koe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:_oe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:joe,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:xoe,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:Poe,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:Eoe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:Ooe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:Ioe,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:Toe,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:Roe,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:Doe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:Loe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:Uoe,NETHOSTCONNECTIONSUBTYPEVALUES_NR:$oe,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:zoe,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:Moe,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:Soe,NETHOSTCONNECTIONTYPEVALUES_CELL:goe,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:boe,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:voe,NETHOSTCONNECTIONTYPEVALUES_WIFI:foe,NETHOSTCONNECTIONTYPEVALUES_WIRED:moe,NETTRANSPORTVALUES_INPROC:uoe,NETTRANSPORTVALUES_IP:loe,NETTRANSPORTVALUES_IP_TCP:ioe,NETTRANSPORTVALUES_IP_UDP:soe,NETTRANSPORTVALUES_OTHER:doe,NETTRANSPORTVALUES_PIPE:poe,NETTRANSPORTVALUES_UNIX:coe,NETWORK_TRANSPORT_VALUE_PIPE:Oce,NETWORK_TRANSPORT_VALUE_QUIC:Rce,NETWORK_TRANSPORT_VALUE_TCP:jce,NETWORK_TRANSPORT_VALUE_UDP:Lce,NETWORK_TRANSPORT_VALUE_UNIX:Nce,NETWORK_TYPE_VALUE_IPV4:Pce,NETWORK_TYPE_VALUE_IPV6:Mce,NetHostConnectionSubtypeValues:Foe,NetHostConnectionTypeValues:yoe,NetTransportValues:hoe,OSTYPEVALUES_AIX:Dse,OSTYPEVALUES_DARWIN:jse,OSTYPEVALUES_DRAGONFLYBSD:Pse,OSTYPEVALUES_FREEBSD:Lse,OSTYPEVALUES_HPUX:Mse,OSTYPEVALUES_LINUX:Rse,OSTYPEVALUES_NETBSD:Nse,OSTYPEVALUES_OPENBSD:Ise,OSTYPEVALUES_SOLARIS:$se,OSTYPEVALUES_WINDOWS:Ose,OSTYPEVALUES_Z_OS:zse,OTEL_STATUS_CODE_VALUE_ERROR:Uce,OTEL_STATUS_CODE_VALUE_OK:Fce,OsTypeValues:Use,RPCGRPCSTATUSCODEVALUES_ABORTED:pae,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:iae,RPCGRPCSTATUSCODEVALUES_CANCELLED:tae,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:mae,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:oae,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:cae,RPCGRPCSTATUSCODEVALUES_INTERNAL:hae,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:nae,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:aae,RPCGRPCSTATUSCODEVALUES_OK:eae,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:uae,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:sae,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:lae,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:gae,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:fae,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:dae,RPCGRPCSTATUSCODEVALUES_UNKNOWN:rae,RpcGrpcStatusCodeValues:bae,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:Wte,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:are,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:Hte,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:Ute,SEMATTRS_AWS_DYNAMODB_COUNT:nre,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:Zte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:Jte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:ire,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:Yte,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:Fte,SEMATTRS_AWS_DYNAMODB_LIMIT:Gte,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:Qte,SEMATTRS_AWS_DYNAMODB_PROJECTION:Vte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:Bte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:qte,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:ore,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:ere,SEMATTRS_AWS_DYNAMODB_SEGMENT:tre,SEMATTRS_AWS_DYNAMODB_SELECT:Kte,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:Xte,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:zte,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:rre,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:vee,SEMATTRS_CODE_FILEPATH:Ste,SEMATTRS_CODE_FUNCTION:xte,SEMATTRS_CODE_LINENO:Cte,SEMATTRS_CODE_NAMESPACE:wte,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:Oee,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:Iee,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:Nee,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:jee,SEMATTRS_DB_CASSANDRA_KEYSPACE:Eee,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:Tee,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:Lee,SEMATTRS_DB_CASSANDRA_TABLE:Ree,SEMATTRS_DB_CONNECTION_STRING:xee,SEMATTRS_DB_HBASE_NAMESPACE:Pee,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:See,SEMATTRS_DB_MONGODB_COLLECTION:Dee,SEMATTRS_DB_MSSQL_INSTANCE_NAME:Aee,SEMATTRS_DB_NAME:Cee,SEMATTRS_DB_OPERATION:_ee,SEMATTRS_DB_REDIS_DATABASE_INDEX:Mee,SEMATTRS_DB_SQL_TABLE:$ee,SEMATTRS_DB_STATEMENT:kee,SEMATTRS_DB_SYSTEM:yee,SEMATTRS_DB_USER:wee,SEMATTRS_ENDUSER_ID:mte,SEMATTRS_ENDUSER_ROLE:gte,SEMATTRS_ENDUSER_SCOPE:bte,SEMATTRS_EXCEPTION_ESCAPED:Bee,SEMATTRS_EXCEPTION_MESSAGE:Uee,SEMATTRS_EXCEPTION_STACKTRACE:Fee,SEMATTRS_EXCEPTION_TYPE:zee,SEMATTRS_FAAS_COLDSTART:Qee,SEMATTRS_FAAS_CRON:Jee,SEMATTRS_FAAS_DOCUMENT_COLLECTION:Vee,SEMATTRS_FAAS_DOCUMENT_NAME:Yee,SEMATTRS_FAAS_DOCUMENT_OPERATION:Gee,SEMATTRS_FAAS_DOCUMENT_TIME:Wee,SEMATTRS_FAAS_EXECUTION:Hee,SEMATTRS_FAAS_INVOKED_NAME:Zee,SEMATTRS_FAAS_INVOKED_PROVIDER:Xee,SEMATTRS_FAAS_INVOKED_REGION:ete,SEMATTRS_FAAS_TIME:Kee,SEMATTRS_FAAS_TRIGGER:qee,SEMATTRS_HTTP_CLIENT_IP:$te,SEMATTRS_HTTP_FLAVOR:Rte,SEMATTRS_HTTP_HOST:Ete,SEMATTRS_HTTP_METHOD:kte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:Lte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:Nte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:Ite,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:Pte,SEMATTRS_HTTP_ROUTE:Dte,SEMATTRS_HTTP_SCHEME:Tte,SEMATTRS_HTTP_SERVER_NAME:Mte,SEMATTRS_HTTP_STATUS_CODE:Ote,SEMATTRS_HTTP_TARGET:Ate,SEMATTRS_HTTP_URL:_te,SEMATTRS_HTTP_USER_AGENT:jte,SEMATTRS_MESSAGE_COMPRESSED_SIZE:Mre,SEMATTRS_MESSAGE_ID:Pre,SEMATTRS_MESSAGE_TYPE:Ire,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:Dre,SEMATTRS_MESSAGING_CONSUMER_ID:yre,SEMATTRS_MESSAGING_CONVERSATION_ID:mre,SEMATTRS_MESSAGING_DESTINATION:lre,SEMATTRS_MESSAGING_DESTINATION_KIND:cre,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:Cre,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:Sre,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:wre,SEMATTRS_MESSAGING_KAFKA_PARTITION:kre,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:_re,SEMATTRS_MESSAGING_MESSAGE_ID:fre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:bre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:gre,SEMATTRS_MESSAGING_OPERATION:vre,SEMATTRS_MESSAGING_PROTOCOL:ure,SEMATTRS_MESSAGING_PROTOCOL_VERSION:dre,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:xre,SEMATTRS_MESSAGING_SYSTEM:sre,SEMATTRS_MESSAGING_TEMP_DESTINATION:pre,SEMATTRS_MESSAGING_URL:hre,SEMATTRS_NET_HOST_CARRIER_ICC:hte,SEMATTRS_NET_HOST_CARRIER_MCC:ute,SEMATTRS_NET_HOST_CARRIER_MNC:dte,SEMATTRS_NET_HOST_CARRIER_NAME:pte,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:cte,SEMATTRS_NET_HOST_CONNECTION_TYPE:lte,SEMATTRS_NET_HOST_IP:ate,SEMATTRS_NET_HOST_NAME:ste,SEMATTRS_NET_HOST_PORT:ite,SEMATTRS_NET_PEER_IP:rte,SEMATTRS_NET_PEER_NAME:ote,SEMATTRS_NET_PEER_PORT:nte,SEMATTRS_NET_TRANSPORT:tte,SEMATTRS_PEER_SERVICE:fte,SEMATTRS_RPC_GRPC_STATUS_CODE:Ore,SEMATTRS_RPC_JSONRPC_ERROR_CODE:Lre,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:Nre,SEMATTRS_RPC_JSONRPC_REQUEST_ID:jre,SEMATTRS_RPC_JSONRPC_VERSION:Rre,SEMATTRS_RPC_METHOD:Tre,SEMATTRS_RPC_SERVICE:Ere,SEMATTRS_RPC_SYSTEM:Are,SEMATTRS_THREAD_ID:vte,SEMATTRS_THREAD_NAME:yte,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:Eae,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:Aae,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:Tae,SEMRESATTRS_AWS_ECS_TASK_ARN:Oae,SEMRESATTRS_AWS_ECS_TASK_FAMILY:Rae,SEMRESATTRS_AWS_ECS_TASK_REVISION:jae,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:Lae,SEMRESATTRS_AWS_LOG_GROUP_ARNS:Iae,SEMRESATTRS_AWS_LOG_GROUP_NAMES:Nae,SEMRESATTRS_AWS_LOG_STREAM_ARNS:Mae,SEMRESATTRS_AWS_LOG_STREAM_NAMES:Pae,SEMRESATTRS_CLOUD_ACCOUNT_ID:Sae,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:kae,SEMRESATTRS_CLOUD_PLATFORM:_ae,SEMRESATTRS_CLOUD_PROVIDER:wae,SEMRESATTRS_CLOUD_REGION:Cae,SEMRESATTRS_CONTAINER_ID:$ae,SEMRESATTRS_CONTAINER_IMAGE_NAME:Uae,SEMRESATTRS_CONTAINER_IMAGE_TAG:Fae,SEMRESATTRS_CONTAINER_NAME:Dae,SEMRESATTRS_CONTAINER_RUNTIME:zae,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:Bae,SEMRESATTRS_DEVICE_ID:qae,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:Hae,SEMRESATTRS_DEVICE_MODEL_NAME:Vae,SEMRESATTRS_FAAS_ID:Wae,SEMRESATTRS_FAAS_INSTANCE:Kae,SEMRESATTRS_FAAS_MAX_MEMORY:Jae,SEMRESATTRS_FAAS_NAME:Gae,SEMRESATTRS_FAAS_VERSION:Yae,SEMRESATTRS_HOST_ARCH:eie,SEMRESATTRS_HOST_ID:Qae,SEMRESATTRS_HOST_IMAGE_ID:rie,SEMRESATTRS_HOST_IMAGE_NAME:tie,SEMRESATTRS_HOST_IMAGE_VERSION:nie,SEMRESATTRS_HOST_NAME:Zae,SEMRESATTRS_HOST_TYPE:Xae,SEMRESATTRS_K8S_CLUSTER_NAME:oie,SEMRESATTRS_K8S_CONTAINER_NAME:pie,SEMRESATTRS_K8S_CRONJOB_NAME:Sie,SEMRESATTRS_K8S_CRONJOB_UID:wie,SEMRESATTRS_K8S_DAEMONSET_NAME:vie,SEMRESATTRS_K8S_DAEMONSET_UID:bie,SEMRESATTRS_K8S_DEPLOYMENT_NAME:fie,SEMRESATTRS_K8S_DEPLOYMENT_UID:hie,SEMRESATTRS_K8S_JOB_NAME:xie,SEMRESATTRS_K8S_JOB_UID:yie,SEMRESATTRS_K8S_NAMESPACE_NAME:sie,SEMRESATTRS_K8S_NODE_NAME:aie,SEMRESATTRS_K8S_NODE_UID:iie,SEMRESATTRS_K8S_POD_NAME:cie,SEMRESATTRS_K8S_POD_UID:lie,SEMRESATTRS_K8S_REPLICASET_NAME:die,SEMRESATTRS_K8S_REPLICASET_UID:uie,SEMRESATTRS_K8S_STATEFULSET_NAME:gie,SEMRESATTRS_K8S_STATEFULSET_UID:mie,SEMRESATTRS_OS_DESCRIPTION:kie,SEMRESATTRS_OS_NAME:_ie,SEMRESATTRS_OS_TYPE:Cie,SEMRESATTRS_OS_VERSION:Aie,SEMRESATTRS_PROCESS_COMMAND:Rie,SEMRESATTRS_PROCESS_COMMAND_ARGS:Lie,SEMRESATTRS_PROCESS_COMMAND_LINE:jie,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:Tie,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:Oie,SEMRESATTRS_PROCESS_OWNER:Nie,SEMRESATTRS_PROCESS_PID:Eie,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:Mie,SEMRESATTRS_PROCESS_RUNTIME_NAME:Iie,SEMRESATTRS_PROCESS_RUNTIME_VERSION:Pie,SEMRESATTRS_SERVICE_INSTANCE_ID:zie,SEMRESATTRS_SERVICE_NAME:Die,SEMRESATTRS_SERVICE_NAMESPACE:$ie,SEMRESATTRS_SERVICE_VERSION:Uie,SEMRESATTRS_TELEMETRY_AUTO_VERSION:Hie,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:Bie,SEMRESATTRS_TELEMETRY_SDK_NAME:Fie,SEMRESATTRS_TELEMETRY_SDK_VERSION:qie,SEMRESATTRS_WEBENGINE_DESCRIPTION:Wie,SEMRESATTRS_WEBENGINE_NAME:Vie,SEMRESATTRS_WEBENGINE_VERSION:Gie,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:Yce,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:Kce,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:Jce,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:Zce,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:Xce,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:epe,SemanticAttributes:$re,SemanticResourceAttributes:Yie,TELEMETRYSDKLANGUAGEVALUES_CPP:Fse,TELEMETRYSDKLANGUAGEVALUES_DOTNET:Bse,TELEMETRYSDKLANGUAGEVALUES_ERLANG:qse,TELEMETRYSDKLANGUAGEVALUES_GO:Hse,TELEMETRYSDKLANGUAGEVALUES_JAVA:Vse,TELEMETRYSDKLANGUAGEVALUES_NODEJS:Gse,TELEMETRYSDKLANGUAGEVALUES_PHP:Wse,TELEMETRYSDKLANGUAGEVALUES_PYTHON:Yse,TELEMETRYSDKLANGUAGEVALUES_RUBY:Kse,TELEMETRYSDKLANGUAGEVALUES_WEBJS:Jse,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:tpe,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:rpe,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:npe,TELEMETRY_SDK_LANGUAGE_VALUE_GO:ope,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:ape,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:ipe,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:spe,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:lpe,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:cpe,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:ppe,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:upe,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:yR,TelemetrySdkLanguageValues:Qse},Symbol.toStringTag,{value:"Module"})),bue="process.runtime.name",dy={[bm]:"opentelemetry",[bue]:"browser",[gm]:yR,[vm]:bee},dl=performance,vue=9,yue=6,xue=Math.pow(10,yue),ym=Math.pow(10,vue);function os(e){const t=e/1e3,r=Math.trunc(t),n=Math.round(e%1e3*xue);return[r,n]}function xR(e){const t=os(dl.timeOrigin),r=os(typeof e=="number"?e:dl.now());return CR(t,r)}function rd(e){if(hy(e))return e;if(typeof e=="number")return e<dl.timeOrigin?xR(e):os(e);if(e instanceof Date)return os(e.getTime());throw TypeError("Invalid input type")}function wue(e,t){let r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=ym),[r,n]}function fi(e){return e[0]*ym+e[1]}function wR(e){return e[0]*1e6+e[1]/1e3}function hy(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function SR(e){return hy(e)||typeof e=="number"||e instanceof Date}function CR(e,t){const r=[e[0]+t[0],e[1]+t[1]];return r[1]>=ym&&(r[1]-=ym,r[0]+=1),r}var Gn;(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Gn||(Gn={}));class Sue{_propagators;_fields;constructor(t={}){this._propagators=t.propagators??[];const r=new Set;for(const n of this._propagators){const o=typeof n.fields=="function"?n.fields():[];for(const a of o)r.add(a)}this._fields=Array.from(r)}inject(t,r,n){for(const o of this._propagators)try{o.inject(t,r,n)}catch(a){ct.warn(`Failed to inject with ${o.constructor.name}. Err: ${a.message}`)}}extract(t,r,n){return this._propagators.reduce((o,a)=>{try{return a.extract(o,r,n)}catch(i){ct.warn(`Failed to extract with ${a.constructor.name}. Err: ${i.message}`)}return o},t)}fields(){return this._fields.slice()}}const fy="[_0-9a-z-*/]",Cue=`[a-z]${fy}{0,255}`,kue=`[a-z0-9]${fy}{0,240}@[a-z]${fy}{0,13}`,_ue=new RegExp(`^(?:${Cue}|${kue})$`),Aue=/^[ -~]{0,255}[!-~]$/,Eue=/,|=/;function kR(e){return _ue.test(e)}function _R(e){return Aue.test(e)&&!Eue.test(e)}const Tue=32,AR=512,ER=",",TR="=";class R3{_length;_rawTraceState;_internalState;constructor(t){this._rawTraceState=typeof t=="string"?t:"",this._length=this._rawTraceState.length}set(t,r){if(!kR(t)||!_R(r))return this;const n=this._getState(),o=n.get(t);let a=this._length;if(typeof o=="string"?a+=r.length-o.length:a+=t.length+r.length+(n.size>0?2:1),a>AR)return this;const i=new Map(n);return i.delete(t),i.set(t,r),this._fromState(i,a)}unset(t){const r=this._getState(),n=r.get(t);if(typeof n!="string")return this;let o=this._length-(t.length+n.length+1);r.size>1&&(o=o-1);const a=new Map(r);return a.delete(t),this._fromState(a,o)}get(t){return this._getState().get(t)}serialize(){let t="",r=0;for(const n of this._getState())r>0&&(t=ER+t),t=`${n[0]}${TR}${n[1]}`+t,r++;return t}_getState(){if(this._internalState)return this._internalState;const t=this._rawTraceState.split(ER),r=new Map;let n=0;for(const o of t){const a=o.trim(),i=a.indexOf(TR);if(i===-1)continue;const l=a.slice(0,i),p=a.slice(i+1);if(!kR(l)||!_R(p))continue;const u=n+a.length+(r.size>0?1:0);if(!(u>AR)&&(r.set(l,p),n=u,r.size>=Tue))break}return this._length=n,this._internalState=new Map(Array.from(r.entries()).reverse()),this._internalState}_fromState(t,r){const n=Object.create(R3.prototype);return n._internalState=t,n._length=r,n}}const my="traceparent",gy="tracestate",Oue="00",Rue="(?!ff)[\\da-f]{2}",jue="(?![0]{32})[\\da-f]{32}",Lue="(?![0]{16})[\\da-f]{16}",Nue="[\\da-f]{2}",Iue=new RegExp(`^\\s?(${Rue})-(${jue})-(${Lue})-(${Nue})(-.*)?\\s?$`);function Pue(e){const t=Iue.exec(e);return!t||t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}class Mue{inject(t,r,n){const o=On.getSpanContext(t);if(!o||cy(t)||!Zu(o))return;const a=`${Oue}-${o.traceId}-${o.spanId}-0${Number(o.traceFlags||ta.NONE).toString(16)}`;n.set(r,my,a),o.traceState&&n.set(r,gy,o.traceState.serialize())}extract(t,r,n){const o=n.get(r,my);if(!o)return t;const a=Array.isArray(o)?o[0]:o;if(typeof a!="string")return t;const i=Pue(a);if(!i)return t;i.isRemote=!0;const l=n.get(r,gy);if(l){const p=Array.isArray(l)?l.join(","):l;i.traceState=new R3(typeof p=="string"?p:void 0)}return On.setSpanContext(t,i)}fields(){return[my,gy]}}const Due="[object Object]",$ue="[object Null]",zue="[object Undefined]",Uue=Function.prototype,OR=Uue.toString,Fue=OR.call(Object),Bue=Object.getPrototypeOf,RR=Object.prototype,jR=RR.hasOwnProperty,hl=Symbol?Symbol.toStringTag:void 0,LR=RR.toString;function NR(e){if(!que(e)||Hue(e)!==Due)return!1;const t=Bue(e);if(t===null)return!0;const r=jR.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&OR.call(r)===Fue}function que(e){return e!=null&&typeof e=="object"}function Hue(e){return e==null?e===void 0?zue:$ue:hl&&hl in Object(e)?Vue(e):Gue(e)}function Vue(e){const t=jR.call(e,hl),r=e[hl];let n=!1;try{e[hl]=void 0,n=!0}catch{}const o=LR.call(e);return n&&(t?e[hl]=r:delete e[hl]),o}function Gue(e){return LR.call(e)}const Wue=20;function Yue(...e){let t=e.shift();const r=new WeakMap;for(;e.length>0;)t=IR(t,e.shift(),0,r);return t}function by(e){return xm(e)?e.slice():e}function IR(e,t,r=0,n){let o;if(!(r>Wue)){if(r++,wm(e)||wm(t)||MR(t))o=by(t);else if(xm(e)){if(o=e.slice(),xm(t))for(let a=0,i=t.length;a<i;a++)o.push(by(t[a]));else if(nd(t)){const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];p==="__proto__"||p==="constructor"||p==="prototype"||(o[p]=by(t[p]))}}}else if(nd(e))if(nd(t)){if(!Kue(e,t))return t;o=Object.assign({},e);const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];if(p==="__proto__"||p==="constructor"||p==="prototype")continue;const u=t[p];if(wm(u))typeof u>"u"?delete o[p]:o[p]=u;else{const h=o[p],f=u;if(PR(e,p,n)||PR(t,p,n))delete o[p];else{if(nd(h)&&nd(f)){const b=n.get(h)||[],v=n.get(f)||[];b.push({obj:e,key:p}),v.push({obj:t,key:p}),n.set(h,b),n.set(f,v)}o[p]=IR(o[p],u,r,n)}}}}else o=t;return o}}function PR(e,t,r){const n=r.get(e[t])||[];for(let o=0,a=n.length;o<a;o++){const i=n[o];if(i.key===t&&i.obj===e)return!0}return!1}function xm(e){return Array.isArray(e)}function MR(e){return typeof e=="function"}function nd(e){return!wm(e)&&!xm(e)&&!MR(e)&&typeof e=="object"}function wm(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e>"u"||e instanceof Date||e instanceof RegExp||e===null}function Kue(e,t){return!(!NR(e)||!NR(t))}function Jue(e,t){return typeof t=="string"?e===t:!!e.match(t)}class Que{_promise;_resolve;_reject;constructor(){this._promise=new Promise((t,r)=>{this._resolve=t,this._reject=r})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class DR{_isCalled=!1;_deferred=new Que;_callback;_that;constructor(t,r){this._callback=t,this._that=r}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...t){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...t)).then(r=>this._deferred.resolve(r),r=>this._deferred.reject(r))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}function Zue(e,t){return new Promise(r=>{Po.with(K9(Po.active()),()=>{e.export(t,r)})})}const Xue={_export:Zue};let Sm;function $R(){if(Sm===void 0)try{const e=globalThis.process.argv0;Sm=e?`unknown_service:${e}`:"unknown_service"}catch{Sm="unknown_service"}return Sm}const od=e=>e!==null&&typeof e=="object"&&typeof e.then=="function";class fh{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,r){const n=new fh({},r);return n._rawAttributes=UR(t),n._asyncAttributesPending=t.filter(([o,a])=>od(a)).length>0,n}constructor(t,r){const n=t.attributes??{};this._rawAttributes=Object.entries(n).map(([o,a])=>(od(a)&&(this._asyncAttributesPending=!0),[o,a])),this._rawAttributes=UR(this._rawAttributes),this._schemaUrl=tde(r?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){const[r,n]=this._rawAttributes[t];this._rawAttributes[t]=[r,od(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const t={};for(const[r,n]of this._rawAttributes){if(od(n)){ct.debug(`Unsettled resource attribute ${r} skipped`);continue}n!=null&&(t[r]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;const r=rde(this,t),n=r?{schemaUrl:r}:void 0;return fh.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],n)}}function Cm(e,t){return fh.FromAttributeList(Object.entries(e),t)}function ede(e,t){return new fh(e,t)}function vy(){return Cm({})}function zR(){return Cm({[uy]:$R(),[gm]:dy[gm],[bm]:dy[bm],[vm]:dy[vm]})}function UR(e){return e.map(([t,r])=>od(r)?[t,r.catch(n=>{ct.debug("promise rejection for resource attribute: %s - %s",t,n)})]:[t,r])}function tde(e){if(typeof e=="string"||e===void 0)return e;ct.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e)}function rde(e,t){const r=e?.schemaUrl,n=t?.schemaUrl,o=r===void 0||r==="",a=n===void 0||n==="";if(o)return n;if(a||r===n)return r;ct.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',r,n)}const nde=(e={})=>(e.detectors||[]).map(t=>{try{const r=ede(t.detect(e));return ct.debug(`${t.constructor.name} found resource.`,r),r}catch(r){return ct.debug(`${t.constructor.name} failed: ${r.message}`),vy()}}).reduce((t,r)=>t.merge(r),vy());class ode{_MAX_LENGTH=255;_COMMA_SEPARATOR=",";_LABEL_KEY_VALUE_SPLITTER="=";detect(t){return{attributes:{}}}_parseResourceAttributes(t){if(!t)return{};const r={},n=t.split(this._COMMA_SEPARATOR).filter(o=>o.trim()!=="");for(const o of n){const a=o.split(this._LABEL_KEY_VALUE_SPLITTER);if(a.length!==2)throw new Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${o}". Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);const[i,l]=a,p=i.trim(),u=l.trim();if(p.length===0)throw new Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${o}".`);let h,f;try{h=decodeURIComponent(p),f=decodeURIComponent(u)}catch(b){throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${o}": ${b instanceof Error?b.message:b}`,{cause:b})}if(h.length>this._MAX_LENGTH)throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${h}".`);if(f.length>this._MAX_LENGTH)throw new Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${h}".`);r[h]=f}return r}}const ade=new ode;class ide{detect(){return{attributes:{}}}}const km=new ide,sde=km,lde=km,cde=km,pde=km,ude=Object.freeze(Object.defineProperty({__proto__:null,defaultResource:zR,defaultServiceName:$R,detectResources:nde,emptyResource:vy,envDetector:ade,hostDetector:sde,osDetector:lde,processDetector:cde,resourceFromAttributes:Cm,serviceInstanceIdDetector:pde},Symbol.toStringTag,{value:"Module"})),dde="exception",yy=Symbol.for("nodejs.util.inspect.custom");function xy(e){const t={};for(const[r,n]of e.getRawAttributes())typeof n?.then!="function"&&n!=null&&(t[r]??=n);return t}function wy(e,t,r,n,o){if(typeof r=="number"&&r<0){const i=`[${e}]`;return n?.stylize?n.stylize(i,"special"):i}if(typeof o!="function"||!n)return t;const a={...n,depth:n.depth==null?n.depth:n.depth-1};return`${e} ${o(t,a)}`}class hde{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:ns.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(t){const r=Date.now();if(this._spanContext=t.spanContext,this._performanceStartTime=dl.now(),this._performanceOffset=r-(this._performanceStartTime+dl.timeOrigin),this._startTimeProvided=t.startTime!=null,this._spanLimits=t.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=t.spanProcessor,this.name=t.name,this.parentSpanContext=t.parentSpanContext,this.kind=t.kind,t.links)for(const n of t.links)this.addLink(n);this.startTime=this._getTime(t.startTime??r),this.resource=t.resource,this.instrumentationScope=t.scope,this._recordEndMetrics=t.recordEndMetrics,t.attributes!=null&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,r){if(r==null||this._isSpanEnded())return this;if(t.length===0)return ct.warn(`Invalid attribute key: ${t}`),this;if(!r_(r))return ct.warn(`Invalid attribute value set for key: ${t}`),this;const{attributeCountLimit:n}=this._spanLimits,o=!Object.prototype.hasOwnProperty.call(this.attributes,t);return n!==void 0&&this._attributesCount>=n&&o?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(r),o&&this._attributesCount++,this)}setAttributes(t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.setAttribute(r,t[r]);return this}addEvent(t,r,n){if(this._isSpanEnded())return this;const{eventCountLimit:o}=this._spanLimits;if(o===0)return ct.warn("No events allowed."),this._droppedEventsCount++,this;o!==void 0&&this.events.length>=o&&(this._droppedEventsCount===0&&ct.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),SR(r)&&(SR(n)||(n=r),r=void 0);const a=td(r),{attributePerEventCountLimit:i}=this._spanLimits,l={};let p=0,u=0;for(const h in a){if(!Object.prototype.hasOwnProperty.call(a,h))continue;const f=a[h];if(i!==void 0&&u>=i){p++;continue}l[h]=this._truncateToSize(f),u++}return this.events.push({name:t,attributes:l,time:this._getTime(n),droppedAttributesCount:p}),this}addLink(t){if(this._isSpanEnded())return this;const{linkCountLimit:r}=this._spanLimits;if(r===0)return this._droppedLinksCount++,this;r!==void 0&&this.links.length>=r&&(this._droppedLinksCount===0&&ct.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);const{attributePerLinkCountLimit:n}=this._spanLimits,o=td(t.attributes),a={};let i=0,l=0;for(const u in o){if(!Object.prototype.hasOwnProperty.call(o,u))continue;const h=o[u];if(n!==void 0&&l>=n){i++;continue}a[u]=this._truncateToSize(h),l++}const p={context:t.context};return l>0&&(p.attributes=a),i>0&&(p.droppedAttributesCount=i),this.links.push(p),this}addLinks(t){for(const r of t)this.addLink(r);return this}setStatus(t){if(this._isSpanEnded())return this;if(t.code===ns.UNSET)return this;if(this.status.code===ns.OK)return this;const r={code:t.code};return t.code===ns.ERROR&&(typeof t.message=="string"?r.message=t.message:t.message!=null&&ct.warn(`Dropping invalid status.message of type '${typeof t.message}', expected 'string'`)),this.status=r,this}updateName(t){return this._isSpanEnded()?this:(this.name=t,this)}end(t){if(this._isSpanEnded()){ct.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(t),this._duration=wue(this.startTime,this.endTime),this._duration[0]<0&&(ct.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ct.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&ct.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(t){if(typeof t=="number"&&t<=dl.now())return xR(t+this._performanceOffset);if(typeof t=="number")return os(t);if(t instanceof Date)return os(t.getTime());if(hy(t))return t;if(this._startTimeProvided)return os(Date.now());const r=dl.now()-this._performanceStartTime;return CR(this.startTime,os(r))}isRecording(){return this._ended===!1}recordException(t,r){const n={};typeof t=="string"?n[fm]=t:t&&(t.code?n[mm]=t.code.toString():t.name&&(n[mm]=t.name),t.message&&(n[fm]=t.message),t.stack&&(n[bR]=t.stack)),n[mm]||n[fm]?this.addEvent(dde,n,r):ct.warn(`Failed to record an exception ${t}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const t=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ct.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,t)}return this._ended}_truncateToLimitUtil(t,r){return t.length<=r?t:t.substring(0,r)}_truncateToSize(t){const r=this._attributeValueLengthLimit;return r<=0?(ct.warn(`Attribute value limit must be positive, got ${r}`),t):typeof t=="string"?this._truncateToLimitUtil(t,r):Array.isArray(t)?t.map(n=>typeof n=="string"?this._truncateToLimitUtil(n,r):n):t}[yy](t,r,n){const o={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this.resource)}};return wy("SpanImpl",o,t,r,n)}}var ra;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(ra||(ra={}));class ad{shouldSample(){return{decision:ra.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class fl{shouldSample(){return{decision:ra.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class id{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(t){this._root=t.root,this._root||(ul(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new fl),this._remoteParentSampled=t.remoteParentSampled??new fl,this._remoteParentNotSampled=t.remoteParentNotSampled??new ad,this._localParentSampled=t.localParentSampled??new fl,this._localParentNotSampled=t.localParentNotSampled??new ad}shouldSample(t,r,n,o,a,i){const l=On.getSpanContext(t);return!l||!Zu(l)?this._root.shouldSample(t,r,n,o,a,i):l.isRemote?l.traceFlags&ta.SAMPLED?this._remoteParentSampled.shouldSample(t,r,n,o,a,i):this._remoteParentNotSampled.shouldSample(t,r,n,o,a,i):l.traceFlags&ta.SAMPLED?this._localParentSampled.shouldSample(t,r,n,o,a,i):this._localParentNotSampled.shouldSample(t,r,n,o,a,i)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Sy{_ratio;_upperBound;constructor(t=0){this._ratio=this._normalize(t),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(t,r){return{decision:ty(r)&&this._accumulate(r)<this._upperBound?ra.RECORD_AND_SAMPLED:ra.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(t){return typeof t!="number"||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let r=0;for(let n=0;n<32;n+=8){let o=0;for(let a=0;a<8;a++){const i=t.charCodeAt(n+a),l=i<58?i-48:i<71?i-55:i-87;o=o<<4|l}r=(r^o)>>>0}return r}}var Aa;(function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"})(Aa||(Aa={}));const FR=1;function BR(){return{sampler:qR(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function qR(){const e=Aa.ParentBasedAlwaysOn;switch(e){case Aa.AlwaysOn:return new fl;case Aa.AlwaysOff:return new ad;case Aa.ParentBasedAlwaysOn:return new id({root:new fl});case Aa.ParentBasedAlwaysOff:return new id({root:new ad});case Aa.TraceIdRatio:return new Sy(HR());case Aa.ParentBasedTraceIdRatio:return new id({root:new Sy(HR())});default:return ct.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${Aa.ParentBasedAlwaysOn}".`),new id({root:new fl})}}function HR(){return ct.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${FR}.`),FR}const fde=128,mde=1/0;function gde(e){const t={sampler:qR()},r=BR(),n=Object.assign({},r,t,e);return n.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),n}function bde(e){const t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??fde,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??mde,Object.assign({},e,{spanLimits:t})}class vde{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(t,r){this._exporter=t,this._maxExportBatchSize=typeof r?.maxExportBatchSize=="number"?r.maxExportBatchSize:512,this._maxQueueSize=typeof r?.maxQueueSize=="number"?r.maxQueueSize:2048,this._scheduledDelayMillis=typeof r?.scheduledDelayMillis=="number"?r.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof r?.exportTimeoutMillis=="number"?r.exportTimeoutMillis:3e4,this._shutdownOnce=new DR(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(t,r){}onEnd(t){this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)!==0&&this._addToBuffer(t)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(t){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ct.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ct.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,r)=>{const n=[],o=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let a=0,i=o;a<i;a++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{t()}).catch(r)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((t,r)=>{const n=setTimeout(()=>{r(new Error("Timeout"))},this._exportTimeoutMillis);Po.with(K9(Po.active()),()=>{let o;this._finishedSpans.length<=this._maxExportBatchSize?(o=this._finishedSpans,this._finishedSpans=[]):o=this._finishedSpans.splice(0,this._maxExportBatchSize);const a=()=>this._exporter.export(o,l=>{clearTimeout(n),l.code===Gn.SUCCESS?t():r(l.error??new Error("BatchSpanProcessor: span export failed"))});let i=null;for(let l=0,p=o.length;l<p;l++){const u=o[l];u.resource.asyncAttributesPending&&u.resource.waitForAsyncAttributes&&(i??=[],i.push(u.resource.waitForAsyncAttributes()))}i===null?a():Promise.all(i).then(a,l=>{ul(l),r(l)})})})}_maybeStartTimer(){if(this._isExporting)return;const t=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(r=>{this._isExporting=!1,ul(r)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),typeof this._timer!="number"&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class VR extends vde{_visibilityChangeListener;_pageHideListener;constructor(t,r){super(t,r),this.onInit(r)}onInit(t){t?.disableAutoFlushOnDocumentHide!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{ul(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{ul(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const yde=16,xde=8,GR=new Uint8Array(yde),WR=new Uint8Array(xde),wde=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function YR(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function KR(e){let t="";for(let r=0;r<e.length;r++)t+=wde[e[r]];return t}class JR{generateTraceId(){return YR(GR),KR(GR)}generateSpanId(){return YR(WR),KR(WR)}}const Sde="otel.span.parent.origin",QR="otel.span.sampling_result",Cde="otel.sdk.span.live",kde="otel.sdk.span.started";class _de{startedSpans;liveSpans;constructor(t){this.startedSpans=t.createCounter(kde,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=t.createUpDownCounter(Cde,{unit:"{span}",description:"The number of currently live spans."})}startSpan(t,r){const n=Ede(r);if(this.startedSpans.add(1,{[Sde]:Ade(t),[QR]:n}),r===ra.NOT_RECORD)return()=>{};const o={[QR]:n};return this.liveSpans.add(1,o),()=>{this.liveSpans.add(-1,o)}}}function Ade(e){return e?e.isRemote?"remote":"local":"none"}function Ede(e){switch(e){case ra.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case ra.RECORD:return"RECORD_ONLY";case ra.NOT_RECORD:return"DROP"}}const Tde="2.8.0";class Ode{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(t,r,n,o){const a=gde(r);this._sampler=a.sampler,this._generalLimits=a.generalLimits,this._spanLimits=a.spanLimits,this._idGenerator=r.idGenerator||new JR,this._resource=n,this._spanProcessor=o,this.instrumentationScope=t;const i=a.meterProvider?a.meterProvider.getMeter("@opentelemetry/sdk-trace",Tde):M9();this._tracerMetrics=new _de(i)}startSpan(t,r={},n=Po.active()){r.root&&(n=On.deleteSpan(n));const o=On.getSpan(n);if(cy(n))return ct.debug("Instrumentation suppressed, returning Noop Span"),On.wrapSpanContext(Q0);const a=o?.spanContext(),i=this._idGenerator.generateSpanId();let l,p,u;!a||!On.isSpanContextValid(a)?p=this._idGenerator.generateTraceId():(p=a.traceId,u=a.traceState,l=a);const h=r.kind??ed.INTERNAL,f=(r.links??[]).map(_=>({context:_.context,attributes:td(_.attributes)})),b=td(r.attributes),v=this._sampler.shouldSample(n,p,t,h,b,f),y=this._tracerMetrics.startSpan(a,v.decision);u=v.traceState??u;const x=v.decision===Xu.RECORD_AND_SAMPLED?ta.SAMPLED:ta.NONE,k={traceId:p,spanId:i,traceFlags:x,traceState:u};if(v.decision===Xu.NOT_RECORD)return ct.debug("Recording is off, propagating context in a non-recording span"),On.wrapSpanContext(k);const w=td(Object.assign(b,v.attributes));return new hde({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:k,name:t,kind:h,links:f,parentSpanContext:l,attributes:w,startTime:r.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:y})}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??Po.active(),u=this.startSpan(t,a,p),h=On.setSpan(p,u);return Po.with(h,l,void 0,u)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}[yy](t,r,n){const o={instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this._resource)},spanLimits:this._spanLimits,generalLimits:this._generalLimits};return wy("Tracer",o,t,r,n)}}class Rde{_spanProcessors;constructor(t){this._spanProcessors=t}forceFlush(){const t=[];for(const r of this._spanProcessors)t.push(r.forceFlush());return new Promise(r=>{Promise.all(t).then(()=>{r()}).catch(n=>{ul(n||new Error("MultiSpanProcessor: forceFlush failed")),r()})})}onStart(t,r){for(const n of this._spanProcessors)n.onStart(t,r)}onEnding(t){for(const r of this._spanProcessors)r.onEnding&&r.onEnding(t)}onEnd(t){for(const r of this._spanProcessors)r.onEnd(t)}shutdown(){const t=[];for(const r of this._spanProcessors)t.push(r.shutdown());return new Promise((r,n)=>{Promise.all(t).then(()=>{r()},n)})}}var ml;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(ml||(ml={}));class ZR{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(t={}){const r=Yue({},BR(),bde(t));this._resource=r.resource??zR(),this._config=Object.assign({},r,{resource:this._resource});const n=[];t.spanProcessors?.length&&n.push(...t.spanProcessors),this._activeSpanProcessor=new Rde(n)}getTracer(t,r,n){const o=`${t}@${r||""}:${n?.schemaUrl||""}`;return this._tracers.has(o)||this._tracers.set(o,new Ode({name:t,version:r,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(o)}forceFlush(){const t=this._config.forceFlushTimeoutMillis,r=this._activeSpanProcessor._spanProcessors.map(n=>new Promise(o=>{let a;const i=setTimeout(()=>{o(new Error(`Span processor did not completed within timeout period of ${t} ms`)),a=ml.timeout},t);n.forceFlush().then(()=>{clearTimeout(i),a!==ml.timeout&&(a=ml.resolved,o(a))}).catch(l=>{clearTimeout(i),a=ml.error,o(l)})}));return new Promise((n,o)=>{Promise.all(r).then(a=>{const i=a.filter(l=>l!==ml.resolved);i.length>0?o(i):n()}).catch(a=>o([a]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[yy](t,r,n){const o=this._activeSpanProcessor._spanProcessors,a={resource:{attributes:xy(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:o.map(i=>i.constructor?.name??"SpanProcessor")};return wy("BasicTracerProvider",a,t,r,n)}}class jde{export(t,r){return this._sendSpans(t,r)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(t){return{resource:{attributes:t.resource.attributes},instrumentationScope:t.instrumentationScope,traceId:t.spanContext().traceId,parentSpanContext:t.parentSpanContext,traceState:t.spanContext().traceState?.serialize(),name:t.name,id:t.spanContext().spanId,kind:t.kind,timestamp:wR(t.startTime),duration:wR(t.duration),attributes:t.attributes,status:t.status,events:t.events,links:t.links}}_sendSpans(t,r){for(const n of t)console.dir(this._exportInfo(n),{depth:3});if(r)return r({code:Gn.SUCCESS})}}class Lde{_finishedSpans=[];_stopped=!1;export(t,r){if(this._stopped)return r({code:Gn.FAILED,error:new Error("Exporter has been stopped")});this._finishedSpans.push(...t),setTimeout(()=>r({code:Gn.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}class Nde{_exporter;_shutdownOnce;_pendingExports;constructor(t){this._exporter=t,this._shutdownOnce=new DR(this._shutdown,this),this._pendingExports=new Set}async forceFlush(){await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush&&await this._exporter.forceFlush()}onStart(t,r){}onEnd(t){if(this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)===0)return;const r=this._doExport(t).catch(n=>ul(n));this._pendingExports.add(r),r.finally(()=>this._pendingExports.delete(r))}async _doExport(t){t.resource.asyncAttributesPending&&await t.resource.waitForAsyncAttributes?.();const r=await Xue._export(this._exporter,[t]);if(r.code!==Gn.SUCCESS)throw r.error??new Error(`SimpleSpanProcessor: span export failed (status ${r})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._exporter.shutdown()}}class Ide{onStart(t,r){}onEnd(t){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}class XR{_enabled=!1;_currentContext=cl;_bindFunction(t=cl,r){const n=this,o=function(...a){return n.with(t,()=>r.apply(this,a))};return Object.defineProperty(o,"length",{enumerable:!1,configurable:!0,writable:!1,value:r.length}),o}active(){return this._currentContext}bind(t,r){return t===void 0&&(t=this.active()),typeof r=="function"?this._bindFunction(t,r):r}disable(){return this._currentContext=cl,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=cl,this)}with(t,r,n,...o){const a=this._currentContext;this._currentContext=t||cl;try{return r.call(n,...o)}finally{this._currentContext=a}}}function Pde(e){if(e!==null){if(e===void 0){const t=new XR;t.enable(),Po.setGlobalContextManager(t);return}e.enable(),Po.setGlobalContextManager(e)}}function Mde(e){if(e!==null){if(e===void 0){pl.setGlobalPropagator(new Sue({propagators:[new Mue,new pee]}));return}pl.setGlobalPropagator(e)}}class ej extends ZR{constructor(t={}){super(t)}register(t={}){On.setGlobalTracerProvider(this),Mde(t.propagator),Pde(t.contextManager)}}var xr;(function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.START_TIME="startTime",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"})(xr||(xr={}));const Dde="http.response_content_length",$de="http.response_content_length_uncompressed";let Cy;function zde(){return Cy||(Cy=document.createElement("a")),Cy}function tj(e,t){return t in e}function Ea(e,t,r,n=!0){if(tj(r,t)&&typeof r[t]=="number"&&!(n&&r[t]===0))return e.addEvent(t,r[t])}function Ude(e,t,r=!1,n,o){if(n===void 0&&(n=t[xr.START_TIME]!==0),r||(Ea(e,xr.FETCH_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_END,t,n),Ea(e,xr.CONNECT_START,t,n),Ea(e,xr.SECURE_CONNECTION_START,t,n),Ea(e,xr.CONNECT_END,t,n),Ea(e,xr.REQUEST_START,t,n),Ea(e,xr.RESPONSE_START,t,n),Ea(e,xr.RESPONSE_END,t,n)),!o){const a=t[xr.ENCODED_BODY_SIZE];a!==void 0&&e.setAttribute(Dde,a);const i=t[xr.DECODED_BODY_SIZE];i!==void 0&&a!==i&&e.setAttribute($de,i)}}function rj(e){return e.slice().sort((t,r)=>{const n=t[xr.FETCH_START],o=r[xr.FETCH_START];return n>o?1:n<o?-1:0})}function nj(){return typeof location<"u"?location.origin:void 0}function Fde(e,t,r,n,o=new WeakSet,a){const i=_m(e);e=i.toString();const l=qde(e,t,r,n,o,a);if(l.length===0)return{mainRequest:void 0};if(l.length===1)return{mainRequest:l[0]};const p=rj(l);if(i.origin!==nj()&&p.length>1){let u=p[0],h=Bde(p,u[xr.RESPONSE_END],r);const f=u[xr.RESPONSE_END];return h[xr.FETCH_START]<f&&(h=u,u=void 0),{corsPreFlightRequest:u,mainRequest:h}}else return{mainRequest:l[0]}}function Bde(e,t,r){const n=fi(r),o=fi(rd(t));let a=e[1],i;const l=e.length;for(let p=1;p<l;p++){const u=e[p],h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END])),b=n-f;h>=o&&(!i||b<i)&&(i=b,a=u)}return a}function qde(e,t,r,n,o,a){const i=fi(t),l=fi(r);let p=n.filter(u=>{const h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END]));return u.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&u.name===e&&h>=i&&f<=l});return p.length>0&&(p=p.filter(u=>!o.has(u))),p}function _m(e){if(typeof URL=="function")return new URL(e,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);const t=zde();return t.href=e,t}function Hde(e){return _m(e).href}function oj(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const r=Gde(e,t);if(t&&r.indexOf("@id")>0)return r;let n="";return e.parentNode&&(n+=oj(e.parentNode,t)),n+=r,n}function Vde(e){if(!e.parentNode)return 0;const t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let r=Array.from(e.parentNode.childNodes);return r=r.filter(n=>{const o=n.localName;return t.indexOf(n.nodeType)>=0&&o===e.localName}),r.length>=1?r.indexOf(e)+1:0}function Gde(e,t){const r=e.nodeType,n=Vde(e);let o;if(r===Node.ELEMENT_NODE){const a=e.getAttribute("id");if(t&&a)return`//*[@id="${a}"]`;o=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)o="text()";else if(r===Node.COMMENT_NODE)o="comment()";else return"";return o&&n>1?`/${o}[${n}]`:`/${o}`}function Wde(e,t){let r=t||[];return(typeof r=="string"||r instanceof RegExp)&&(r=[r]),_m(e).origin===nj()?!0:r.some(n=>Jue(e,n))}const Yde=Object.freeze(Object.defineProperty({__proto__:null,AlwaysOffSampler:ad,AlwaysOnSampler:fl,BasicTracerProvider:ZR,BatchSpanProcessor:VR,ConsoleSpanExporter:jde,InMemorySpanExporter:Lde,NoopSpanProcessor:Ide,ParentBasedSampler:id,get PerformanceTimingNames(){return xr},RandomIdGenerator:JR,get SamplingDecision(){return ra},SimpleSpanProcessor:Nde,StackContextManager:XR,TraceIdRatioBasedSampler:Sy,WebTracerProvider:ej,addSpanNetworkEvent:Ea,addSpanNetworkEvents:Ude,getElementXPath:oj,getResource:Fde,hasKey:tj,normalizeUrl:Hde,parseUrl:_m,shouldPropagateTraceHeaders:Wde,sortResources:rj},Symbol.toStringTag,{value:"Module"})),Kde=Sa(Yde),Jde=Sa(ude);class Qde{_delegate;constructor(t){this._delegate=t}export(t,r){this._delegate.export(t,r)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class aj extends Error{code;name="OTLPExporterError";data;constructor(t,r,n){super(t),this.data=n,this.code=r}}function Zde(e){if(Number.isFinite(e)&&e>0)return e;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function Xde(e){if(e!=null)return async()=>e}function ehe(e,t,r){return{timeoutMillis:Zde(e.timeoutMillis??t.timeoutMillis??r.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??r.concurrencyLimit,compression:e.compression??t.compression??r.compression}}function the(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class rhe{_concurrencyLimit;_sendingPromises=[];constructor(t){this._concurrencyLimit=t}pushPromise(t){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(t);const r=()=>{const n=this._sendingPromises.indexOf(t);this._sendingPromises.splice(n,1)};t.then(r,r)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function nhe(e){return new rhe(e.concurrencyLimit)}function ohe(e){return Object.prototype.hasOwnProperty.call(e,"partialSuccess")}function ahe(){return{handleResponse(e){e==null||!ohe(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||ct.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}}}class ihe{_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(t,r,n,o,a){this._transport=t,this._serializer=r,this._responseHandler=n,this._promiseQueue=o,this._timeout=a,this._diagLogger=ct.createComponentLogger({namespace:"OTLPExportDelegate"})}export(t,r){if(this._diagLogger.debug("items to be sent",t),this._promiseQueue.hasReachedLimit()){r({code:Gn.FAILED,error:new Error("Concurrent export limit reached")});return}const n=this._serializer.serializeRequest(t);if(n==null){r({code:Gn.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(o=>{if(o.status==="success"){if(o.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(o.data))}catch(a){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",a,o.data)}r({code:Gn.SUCCESS});return}else if(o.status==="failure"&&o.error){r({code:Gn.FAILED,error:o.error});return}else o.status==="retryable"?r({code:Gn.FAILED,error:o.error??new aj("Export failed with retryable status")}):r({code:Gn.FAILED,error:new aj("Export failed with unknown error")})},o=>r({code:Gn.FAILED,error:o})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function she(e,t){return new ihe(e.transport,e.serializer,ahe(),e.promiseHandler,t.timeout)}function lhe(e,t,r){return she({transport:r,serializer:t,promiseHandler:nhe(e)},{timeout:e.timeoutMillis})}class ij{emit(t){}enabled(){return!1}}const che=new ij,Am=Symbol.for("io.opentelemetry.js.api.logs"),sd=globalThis;function phe(e,t,r){return n=>n===e?t:r}const sj=1;class uhe{getLogger(t,r,n){return new ij}}const lj=new uhe;class dhe{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}emit(t){this._getLogger().emit(t)}enabled(t){return this._getLogger().enabled(t)}_getLogger(){if(this._delegate)return this._delegate;const t=this._provider._getDelegateLogger(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):che}}class cj{getLogger(t,r,n){var o;return(o=this._getDelegateLogger(t,r,n))!==null&&o!==void 0?o:new dhe(this,t,r,n)}_getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:lj}_setDelegate(t){this._delegate=t}_getDelegateLogger(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getLogger(t,r,n)}}class j3{constructor(){this._proxyLoggerProvider=new cj}static getInstance(){return this._instance||(this._instance=new j3),this._instance}setGlobalLoggerProvider(t){return sd[Am]?this.getLoggerProvider():(sd[Am]=phe(sj,t,lj),this._proxyLoggerProvider._setDelegate(t),t)}getLoggerProvider(){var t,r;return(r=(t=sd[Am])===null||t===void 0?void 0:t.call(sd,sj))!==null&&r!==void 0?r:this._proxyLoggerProvider}getLogger(t,r,n){return this.getLoggerProvider().getLogger(t,r,n)}disable(){delete sd[Am],this._proxyLoggerProvider=new cj}}const pj=j3.getInstance();function hhe(e,t){const r={attributes:ld(e.attributes,t),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==""&&(r.schemaUrl=n),r}function fhe(e,t){const r={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(r.attributes=ld(e.attributes,t),r.droppedAttributesCount=e.droppedAttributesCount??0),r}function ld(e,t){return Object.keys(e).map(r=>mhe(r,e[r],t))}function mhe(e,t,r){return{key:e,value:ky(t,r)}}function ky(e,t){const r=typeof e;if(r==="string")return{stringValue:e};if(r==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(r==="boolean")return{boolValue:e};if(e instanceof Uint8Array)return{bytesValue:t.encodeUint8Array(e)};if(Array.isArray(e)){const n=new Array(e.length);for(let o=0;o<e.length;o++)n[o]=ky(e[o],t);return{arrayValue:{values:n}}}if(r==="object"&&e!=null){const n=Object.keys(e),o=new Array(n.length);for(let a=0;a<n.length;a++)o[a]={key:n[a],value:ky(e[n[a]],t)};return{kvlistValue:{values:o}}}return{}}function ghe(e){const t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}function bhe(e){return ghe(e).toString()}const vhe=typeof BigInt<"u"?bhe:fi;function uj(e){return e}const yhe={encodeHrTime:vhe,encodeSpanContext:uj,encodeOptionalSpanContext:uj,encodeUint8Array:e=>{if(typeof Buffer<"u")return Buffer.from(e).toString("base64");const t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=String.fromCharCode(e[r]);return btoa(t.join(""))}},xhe=256,whe=512;function dj(e,t){let r=e&255|xhe;return t&&(r|=whe),r}function She(e,t){const r=e.spanContext(),n=e.status,o=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(r.traceId),spanId:t.encodeSpanContext(r.spanId),parentSpanId:o,traceState:r.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:ld(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(a=>khe(a,t)),droppedEventsCount:e.droppedEventsCount,status:{code:n.code,message:n.message},links:e.links.map(a=>Che(a,t)),droppedLinksCount:e.droppedLinksCount,flags:dj(r.traceFlags,e.parentSpanContext?.isRemote)}}function Che(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0,flags:dj(e.context.traceFlags,e.context.isRemote)}}function khe(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function _he(e,t){return{resourceSpans:Ehe(e,t)}}function Ahe(e){const t=new Map;for(const r of e){let n=t.get(r.resource);n||(n=new Map,t.set(r.resource,n));const o=`${r.instrumentationScope.name}@${r.instrumentationScope.version||""}:${r.instrumentationScope.schemaUrl||""}`;let a=n.get(o);a||(a=[],n.set(o,a)),a.push(r)}return t}function Ehe(e,t){const r=Ahe(e),n=[],o=r.entries();let a=o.next();for(;!a.done;){const[i,l]=a.value,p=[],u=l.values();let h=u.next();for(;!h.done;){const v=h.value;if(v.length>0){const y=v.map(x=>She(x,t));p.push({scope:fhe(v[0].instrumentationScope,t),spans:y,schemaUrl:v[0].instrumentationScope.schemaUrl})}h=u.next()}const f=hhe(i,t),b={resource:f,scopeSpans:p,schemaUrl:f.schemaUrl};n.push(b),a=o.next()}return n}const The={serializeRequest:e=>{const t=_he(e,yhe);return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};const t=new TextDecoder;try{return JSON.parse(t.decode(e))}catch(r){return ct.warn(`Failed to parse trace export response: ${r.message}. Returning empty response`),{}}}},_y=5,Ohe=1e3,Rhe=5e3,jhe=1.5,hj=.2;function Lhe(){return Math.random()*(2*hj)-hj}class Nhe{_transport;constructor(t){this._transport=t}retry(t,r,n){return new Promise((o,a)=>{setTimeout(()=>{this._transport.send(t,r).then(o,a)},n)})}async send(t,r){let n=_y,o=Ohe;const a=Date.now()+r;let i=await this._transport.send(t,r);for(;i.status==="retryable"&&n>0;){n--;const l=Math.max(Math.min(o*(1+Lhe()),Rhe),0);o=o*jhe;const p=i.retryInMillis??l,u=a-Date.now();if(p>u)return ct.info(`Export retry time ${Math.round(p)}ms exceeds remaining timeout ${Math.round(u)}ms, not retrying further.`),i;ct.verbose(`Scheduling export retry in ${Math.round(p)}ms`),i=await this.retry(t,u,p)}return i.status==="success"?ct.verbose(`Export succeeded after ${_y-n} retry attempts.`):i.status==="retryable"?ct.info(`Export failed after maximum retry attempts (${_y}).`):ct.info(`Export failed with non-retryable error: ${i.error}`),i}shutdown(){return this._transport.shutdown()}}function Ihe(e){return new Nhe(e.transport)}function Phe(e){return e===429||e===502||e===503||e===504}function Mhe(e){if(e==null)return;const t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;const r=new Date(e).getTime()-Date.now();return r>=0?r:0}const Dhe=60*1024,$he=9;let Ay=0,Em=0;class zhe{_parameters;constructor(t){this._parameters=t}async send(t,r){const n=new AbortController,o=setTimeout(()=>n.abort(),r);let a=globalThis.fetch;typeof a.__original=="function"&&(a=a.__original);const i=t.byteLength,l=Ay+i>Dhe,p=Em>=$he,u=!l&&!p;if(u)Ay+=i,Em++;else{const h=l?"size limit":"count limit";ct.debug(`keepalive disabled: ${(i/1024).toFixed(1)}KB payload, ${Em} pending (${h})`)}try{const h=new URL(this._parameters.url),f=await a(h.href,{method:"POST",headers:await this._parameters.headers(),body:t,signal:n.signal,keepalive:u,mode:globalThis.location?globalThis.location.origin===h.origin?"same-origin":"cors":"no-cors"});if(f.status>=200&&f.status<=299)return ct.debug(`export response success (status: ${f.status})`),{status:"success"};if(Phe(f.status)){ct.warn(`export response retryable (status: ${f.status})`);const b=f.headers.get("Retry-After");return{status:"retryable",retryInMillis:Mhe(b)}}return ct.error(`export response failure (status: ${f.status})`),{status:"failure",error:new Error(`Fetch request failed with non-retryable status ${f.status}`)}}catch(h){return Fhe(h)?(ct.warn(`export request retryable (network error: ${h})`),{status:"retryable",error:new Error("Fetch request encountered a network error",{cause:h})}):(ct.error(`export request failure (error: ${h})`),{status:"failure",error:new Error("Fetch request errored",{cause:h})})}finally{clearTimeout(o),u&&(Ay-=i,Em--)}}shutdown(){}}function Uhe(e){return new zhe(e)}function Fhe(e){return e instanceof TypeError&&!e.cause}function Bhe(e,t){return lhe(e,t,Ihe({transport:Uhe(e)}))}function qhe(e){const t={};return Object.entries(e??{}).forEach(([r,n])=>{typeof n<"u"?t[r]=String(n):ct.warn(`Header "${r}" has invalid value (${n}) and will be ignored`)}),t}function Hhe(e,t,r){return async()=>{const n={...await r()},o={};return t!=null&&Object.assign(o,await t()),e!=null&&Object.assign(o,qhe(await e())),Object.assign(o,n)}}function Vhe(e){if(e!=null)try{const t=globalThis.location?.href;return new URL(e,t).href}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function Ghe(e,t,r){return{...ehe(e,t,r),headers:Hhe(e.headers,t.headers,r.headers),url:Vhe(e.url)??t.url??r.url}}function Whe(e,t){return{...the(),headers:async()=>e,url:"http://localhost:4318/"+t}}function Yhe(e){return typeof e.headers=="function"?e.headers:Xde(e.headers)}function Khe(e,t,r){return Ghe({url:e.url,timeoutMillis:e.timeoutMillis,headers:Yhe(e),concurrencyLimit:e.concurrencyLimit},{},Whe(r,t))}function Jhe(e,t,r,n){const o=Khe(e,r,n);return Bhe(o,t)}class fj extends Qde{constructor(t={}){super(Jhe(t,The,"v1/traces",{"Content-Type":"application/json"}))}}const Qhe=Object.freeze(Object.defineProperty({__proto__:null,OTLPTraceExporter:fj},Symbol.toStringTag,{value:"Module"})),Zhe=Sa(Qhe),Xhe=Sa(gue);function efe(e,t,r,n){for(let o=0,a=e.length;o<a;o++){const i=e[o];t&&i.setTracerProvider(t),r&&i.setMeterProvider(r),n&&i.setLoggerProvider&&i.setLoggerProvider(n),i.getConfig().enabled||i.enable()}}function tfe(e){e.forEach(t=>t.disable())}function mj(e){const t=e.tracerProvider||On.getTracerProvider(),r=e.meterProvider||hm.getMeterProvider(),n=e.loggerProvider||pj.getLoggerProvider(),o=e.instrumentations?.flat()??[];return efe(o,t,r,n),()=>{tfe(o)}}let go=console.error.bind(console);function cd(e,t,r){const n=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}const gj=(e,t,r)=>{if(!e||!e[t]){go("no original function "+String(t)+" to wrap");return}if(!r){go("no wrapper function"),go(new Error().stack);return}const n=e[t];if(typeof n!="function"||typeof r!="function"){go("original object and wrapper must be functions");return}const o=r(n,t);return cd(o,"__original",n),cd(o,"__unwrap",()=>{e[t]===o&&cd(e,t,n)}),cd(o,"__wrapped",!0),cd(e,t,o),o},rfe=(e,t,r)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to wrap on modules");return}e.forEach(n=>{t.forEach(o=>{gj(n,o,r)})})},bj=(e,t)=>{if(!e||!e[t]){go("no function to unwrap."),go(new Error().stack);return}const r=e[t];if(!r.__unwrap)go("no original to unwrap to -- has "+String(t)+" already been unwrapped?");else{r.__unwrap();return}},nfe=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to unwrap on modules");return}e.forEach(r=>{t.forEach(n=>{bj(r,n)})})};class ofe{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(t,r,n){this.instrumentationName=t,this.instrumentationVersion=r,this.setConfig(n),this._diag=ct.createComponentLogger({namespace:t}),this._tracer=On.getTracer(t,r),this._meter=hm.getMeter(t,r),this._logger=pj.getLogger(t,r),this._updateMetricInstruments()}_wrap=gj;_unwrap=bj;_massWrap=rfe;_massUnwrap=nfe;get meter(){return this._meter}setMeterProvider(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){const t=this.init()??[];return Array.isArray(t)?t:[t]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(t){this._config={enabled:!0,...t}}setTracerProvider(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(t,r,n,o){if(t)try{t(n,o)}catch(a){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:r},a)}}}class vj extends ofe{constructor(t,r,n){super(t,r,n),this._config.enabled&&this.enable()}}function afe(e){return ct.warn("Path normalization is not implemented for this platform. To silence this warning, ensure no node-specific instrumentations are loaded, and node-specific types (e.g. InstrumentationNodeModuleFile), are not used in a browser context)"),e}class ife{files;name;supportedVersions;patch;unpatch;constructor(t,r,n,o,a){this.files=a||[],this.name=t,this.supportedVersions=r,this.patch=n,this.unpatch=o}}class sfe{name;supportedVersions;patch;unpatch;constructor(t,r,n,o){this.name=afe(t),this.supportedVersions=r,this.patch=n,this.unpatch=o}}function lfe(e,t,r){let n,o;try{o=e()}catch(a){n=a}finally{if(t(n,o),n&&!r)throw n;return o}}async function cfe(e,t,r){let n,o;try{o=await e()}catch(a){n=a}finally{if(await t(n,o),n&&!r)throw n;return o}}function pfe(e){return typeof e=="function"&&typeof e.__original=="function"&&typeof e.__unwrap=="function"&&e.__wrapped===!0}var Dc;(function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"})(Dc||(Dc={}));function ufe(e,t){let r=Dc.OLD;const n=t?.split(",").map(o=>o.trim()).filter(o=>o!=="");for(const o of n??[])if(o.toLowerCase()===e+"/dup"){r=Dc.DUPLICATE;break}else o.toLowerCase()===e&&(r=Dc.STABLE);return r}const dfe=Object.freeze(Object.defineProperty({__proto__:null,InstrumentationBase:vj,InstrumentationNodeModuleDefinition:ife,InstrumentationNodeModuleFile:sfe,get SemconvStability(){return Dc},isWrapped:pfe,registerInstrumentations:mj,safeExecuteInTheMiddle:lfe,safeExecuteInTheMiddleAsync:cfe,semconvStabilityFromStr:ufe},Symbol.toStringTag,{value:"Module"})),hfe=Sa(dfe);function mi(e){const t=new Error(e);return t.source="ulid",t}const gl="0123456789ABCDEFGHJKMNPQRSTVWXYZ",bl=gl.length,Ey=Math.pow(2,48)-1,pd=10,Ty=16;function Oy(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function yj(e){let t,r=e.length,n,o;const a=bl-1;for(;!t&&r-->=0;){if(n=e[r],o=gl.indexOf(n),o===-1)throw mi("incorrectly encoded string");if(o===a){e=Oy(e,r,gl[0]);continue}t=Oy(e,r,gl[o+1])}if(typeof t=="string")return t;throw mi("cannot increment this string")}function xj(e){let t=Math.floor(e()*bl);return t===bl&&(t=bl-1),gl.charAt(t)}function Tm(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>Ey)throw mi("cannot encode time greater than "+Ey);if(e<0)throw mi("time must be positive");if(Number.isInteger(Number(e))===!1)throw mi("time must be an integer");let r,n="";for(;t>0;t--)r=e%bl,n=gl.charAt(r)+n,e=(e-r)/bl;return n}function Ry(e,t){let r="";for(;e>0;e--)r=xj(t)+r;return r}function ffe(e){if(e.length!==pd+Ty)throw mi("malformed ulid");var t=e.substr(0,pd).split("").reverse().reduce((r,n,o)=>{const a=gl.indexOf(n);if(a===-1)throw mi("invalid character found: "+n);return r+=a*Math.pow(bl,o)},0);if(t>Ey)throw mi("malformed ulid, timestamp too large");return t}function jy(e=!1,t){t||(t=typeof window<"u"?window:null);const r=t&&(t.crypto||t.msCrypto);if(r)return()=>{const n=new Uint8Array(1);return r.getRandomValues(n),n[0]/255};try{const n=require("crypto");return()=>n.randomBytes(1).readUInt8()/255}catch{}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return()=>Math.random()}throw mi("secure crypto unusable, insecure Math.random not allowed")}function wj(e){return e||(e=jy()),function(t){return isNaN(t)&&(t=Date.now()),Tm(t,pd)+Ry(Ty,e)}}function mfe(e){e||(e=jy());let t=0,r;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){const a=r=yj(r);return Tm(t,pd)+a}t=n;const o=r=Ry(Ty,e);return Tm(n,pd)+o}}const Sj=wj(),gfe=Object.freeze(Object.defineProperty({__proto__:null,decodeTime:ffe,detectPrng:jy,encodeRandom:Ry,encodeTime:Tm,factory:wj,incrementBase32:yj,monotonicFactory:mfe,randomChar:xj,replaceCharAt:Oy,ulid:Sj},Symbol.toStringTag,{value:"Module"})),Cj=Sa(gfe);var $c={};const kj=Sa(aee);var ud={},_j;function bfe(){if(_j)return ud;_j=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.TraceStep=void 0;const e=kj;class t{constructor(n){Object.defineProperty(this,"span",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.span=n}get context(){var n;return(n=this.span)===null||n===void 0?void 0:n.context}error(n){this.span&&(this.span.setStatus(e.SpanStatusCode.ERROR,n.message),this.span.recordException(n),this.span.end())}setAttribute(n,o){this.span&&this.span.setAttribute(n,o)}setStatus(n,o){this.span&&this.span.setStatus(n,o)}end(){this.span&&(this.span.setStatus(e.SpanStatusCode.OK),this.span.end())}}return ud.TraceStep=t,ud}var zc={},Aj;function Ej(){if(Aj)return zc;Aj=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.CLOUD_EVENT_STANDARD_KEYS=void 0,zc.mapToCloudEvent=t;const e=Cj;zc.CLOUD_EVENT_STANDARD_KEYS=["id","specversion","object","datacontenttype","type","time","origin","env","category","signal","source","subject","subjects","data","actor","requestId","clientIp","organizationId","organizationSlug","projectId","projectSlug","osPlatform","userAgent","sessionId"];function t(r){var n,o,a,i,l,p,u,h;const{type:f,data:b,actor:v,requestId:y,clientIp:x,origin:k,env:w,source:_,organizationId:A,organizationSlug:R,projectId:E,projectSlug:L,category:I="product",signal:O="log",osPlatform:P,userAgent:U,sessionId:Y}=r,q=!!(b&&Array.isArray(b)),Q=v?{id:(a=v.id)!==null&&a!==void 0?a:`ann_${(0,e.ulid)()}`,object:(i=v.object)!==null&&i!==void 0?i:"user",uri:(l=v.uri)!==null&&l!==void 0?l:""}:null,ne=`evt_${(0,e.ulid)()}`.toLowerCase(),le=new Date,G=(p=_??Q?.uri)!==null&&p!==void 0?p:null,ce=Object.assign(Object.assign(Object.assign(Object.assign({},A!==void 0&&{organizationId:A}),R!==void 0&&{organizationSlug:R}),E!==void 0&&{projectId:E}),L!==void 0&&{projectSlug:L}),ee={specversion:"1.0",object:"event",datacontenttype:"application/json; charset=utf-8",origin:k,env:w,category:I,signal:O,osPlatform:P,userAgent:U,clientIp:x,sessionId:Y};if(q){const fe=b,oe=fe.map(ie=>{var W,V,pe;return{id:(W=ie.id)!==null&&W!==void 0?W:"",object:(V=ie.object)!==null&&V!==void 0?V:"",uri:(pe=ie.uri)!==null&&pe!==void 0?pe:""}}),F=(u=(n=fe[0])===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:null;Object.assign(ee,Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:F,subjects:oe,data:fe,requestId:y??""}))}else{const fe=(h=(o=Array.isArray(b)?b[0]:b)===null||o===void 0?void 0:o.id)!==null&&h!==void 0?h:null;Object.assign(ee,Object.assign(Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:fe,requestId:y??"",data:b}),_!=null&&{request:{source:_}}))}return ee}return zc}var gi={},Tj;function vfe(){if(Tj)return gi;Tj=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.toSnakeCase=t,gi.isNonNullish=r,gi.isOtelAttributeValue=n,gi.flattenToAttributes=o,gi.flattenNestedObject=a,gi.flattenWithMaxDepth=i;const e=3;function t(l){return l.replace(/([A-Z])/g,"_$1").toLowerCase()}function r(l){return l!=null}function n(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"}function o(l,p,u,h=!0,f){const b=f?.length?new Set(f):null;for(const[v,y]of Object.entries(l))if(!b?.has(v)&&y!==void 0){const x=h?t(v):v;u[`${p}${x}`]=y}}function a(l,p,u){for(const[h,f]of Object.entries(l))f==null||typeof f=="object"||(u[`${p}.${t(h)}`]=f)}function i(l,p,u,h){var f,b,v;const y=(f=h?.currentDepth)!==null&&f!==void 0?f:0,x=(b=h?.useSnakeCase)!==null&&b!==void 0?b:!0,k=(v=h?.maxNestingLevels)!==null&&v!==void 0?v:e,w=p.endsWith(".")?p.slice(0,-1):p;for(const[_,A]of Object.entries(l)){if(!r(A))continue;const R=x?t(_):_,E=`${w}.${R}`;typeof A=="object"&&!Array.isArray(A)?y<k&&i(A,E,u,{currentDepth:y+1,useSnakeCase:x,maxNestingLevels:k}):n(A)&&(u[E]=A)}}return gi}var Oj;function yfe(){return Oj||(Oj=1,(function(e){var t=$c&&$c.__awaiter||function(O,P,U,Y){function q(Q){return Q instanceof U?Q:new U(function(ne){ne(Q)})}return new(U||(U=Promise))(function(Q,ne){function le(ee){try{ce(Y.next(ee))}catch(fe){ne(fe)}}function G(ee){try{ce(Y.throw(ee))}catch(fe){ne(fe)}}function ce(ee){ee.done?Q(ee.value):q(ee.value).then(le,G)}ce((Y=Y.apply(O,P||[])).next())})},r=$c&&$c.__rest||function(O,P){var U={};for(var Y in O)Object.prototype.hasOwnProperty.call(O,Y)&&P.indexOf(Y)<0&&(U[Y]=O[Y]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(O);q<Y.length;q++)P.indexOf(Y[q])<0&&Object.prototype.propertyIsEnumerable.call(O,Y[q])&&(U[Y[q]]=O[Y[q]]);return U};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseOtelClient=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY=void 0,e.groupByObjectProperty=p,e.processCloudEventAttributes=y,e.processObjectData=A,e.processAttributes=L;const n=kj,o=bfe(),a=Ej(),i=vfe();e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY="context";const l=[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];function p(O){const P={updated:[],notUpdated:[]};for(const U of O){if(!U||typeof U!="object")continue;const Y=U.object;if(typeof Y!="string")continue;const q=U,Q=P.notUpdated.find(ne=>ne.object===Y);Q?(P.updated=[Q,q],P.notUpdated=P.notUpdated.filter(ne=>ne.object!==Y)):P.updated.some(ne=>ne.object===Y)||P.notUpdated.push(q)}return P}function u(O,P,U){const Y=U?`${U}.`:"",q=P===""?"":`${(0,i.toSnakeCase)(P)}.`;return`${O}.${Y}${q}`}function h(O,P){const U=O[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];return U==="before"||U==="after"?U:P===0?"after":"before"}function f(O){const P=O,U=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY;return r(P,[typeof U=="symbol"?U:U+""])}function b(O){return O.endsWith(".")?O:`${O}.`}function v(O,P,U){var Y,q,Q,ne,le,G,ce,ee,fe,oe;const F=P instanceof Date?P.toISOString():new Date(P).toISOString();return{"cloudevents.event_id":O.id,"cloudevents.event_type":O.type,"cloudevents.event_source":(ne=O.source)!==null&&ne!==void 0?ne:void 0,"cloudevents.event_spec_version":O.specversion,"cloudevents.event_data_content_type":(le=O.datacontenttype)!==null&&le!==void 0?le:"application/json; charset=utf-8","cloudevents.event_time":F,"cloudevents.event_subject":(G=O.subject)!==null&&G!==void 0?G:"","cloudevents.event_version":U?.version,"cloudevents.event_origin":(ce=O.origin)!==null&&ce!==void 0?ce:U?.serviceName,"cloudevents.event_env":O.env,"cloudevents.event_client_ip":O.clientIp,"cloudevents.event_object":O.object||"event","cloudevents.event_category":O.category,"cloudevents.event_signal":O.signal,"cloudevents.event_actor.id":(ee=(Y=O.actor)===null||Y===void 0?void 0:Y.id)!==null&&ee!==void 0?ee:void 0,"cloudevents.event_actor.object":(fe=(q=O.actor)===null||q===void 0?void 0:q.object)!==null&&fe!==void 0?fe:void 0,"cloudevents.event_actor.uri":(oe=(Q=O.actor)===null||Q===void 0?void 0:Q.uri)!==null&&oe!==void 0?oe:void 0,"cloudevents.event_organization_id":O.organizationId,"cloudevents.event_organization_slug":O.organizationSlug,"cloudevents.event_project_id":O.projectId,"cloudevents.event_project_slug":O.projectSlug,"cloudevents.event_request_id":O.requestId,"cloudevents.event_os_platform":O.osPlatform,"cloudevents.event_user_agent":O.userAgent,"cloudevents.event_session_id":O.sessionId}}function y(O,P,U){const Y=O.data,q=Object.assign({},v(O,P,U));return x(Y,q),R(O,q),E(O,q),q}function x(O,P){!O||typeof O!="object"||(Array.isArray(O)?k(O,P):A(O,P))}function k(O,P){O.some(U=>U&&typeof U=="object"&&typeof U.object=="string")?w(O,P):_(O,P)}function w(O,P){const U=p(O);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_data",Y.object,h(Y,q));(0,i.flattenWithMaxDepth)(f(Y),b(Q),P)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_data",Y.object,void 0);(0,i.flattenWithMaxDepth)(f(Y),b(q),P)})}function _(O,P){for(const U of O)!U||typeof U!="object"||(0,i.flattenWithMaxDepth)(U,"cloudevents.event_data.",P)}function A(O,P){for(const[U,Y]of Object.entries(O)){if(!(0,i.isNonNullish)(Y))continue;const q=(0,i.toSnakeCase)(U);if(typeof Y=="object"&&!Array.isArray(Y))for(const[Q,ne]of Object.entries(Y))(0,i.isNonNullish)(ne)&&(0,i.isOtelAttributeValue)(ne)&&(P[`cloudevents.event_data.${q}.${Q}`]=ne);else(0,i.isOtelAttributeValue)(Y)&&(P[`cloudevents.event_data.${q}`]=Y)}}function R(O,P){if(!O.subjects||!Array.isArray(O.subjects))return;const U=p(O.subjects);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_subjects",Y.object,h(Y,q));(0,i.flattenToAttributes)(Y,Q,P,!1,l)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_subjects",Y.object,void 0);(0,i.flattenToAttributes)(Y,q,P,!1,l)})}function E(O,P){for(const[U,Y]of Object.entries(O))if(!(a.CLOUD_EVENT_STANDARD_KEYS.includes(U)||Y===void 0))if(Y instanceof Object)for(const[q,Q]of Object.entries(Y))Q!==void 0&&(P[`cloudevents.${U}.${q}`]=Q);else P[`cloudevents.${U}`]=Y}function L(O,P,U){return y(O,P,U)}class I{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracerProvider",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"sessionId",{enumerable:!0,configurable:!0,writable:!0,value:null})}initTracer(P){throw new Error("initTracer must be implemented by the environment-specific client")}init(P){this.config=P,this.initTracer(P)}send(P){var U;try{if(!this.tracer||!this.config)return;const Y=P,q="time"in Y&&Y.time?new Date(Y.time):new Date;this.tracer.startSpan(`event.${Y.type}`,{attributes:this.processAttributes(Y,q),startTime:q}).end(q)}catch(Y){!((U=this.config)===null||U===void 0)&&U.isProd||console.error("Event reporting failed:",Y)}}processAttributes(P,U){return L(P,U,this.config)}startSpan(P,U){var Y;try{if(!this.tracer)return;let q;const Q=P.time?new Date(P.time):new Date,ne=this.tracer.startSpan(`event.${P.type}`,{attributes:this.processAttributes(P,Q),root:!U},U);return U||(q=n.trace.setSpan(n.context.active(),ne)),{end:()=>ne.end(),setAttribute:(le,G)=>{ne.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(le)}`,G)},setStatus:(le,G)=>ne.setStatus({code:le,message:G}),parentCtx:q}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}startStepSpan(P,U){var Y;try{if(!this.tracer)return;const q=U||n.context.active(),Q=P,ne=Q.time?new Date(Q.time):new Date,le=this.tracer.startSpan(`event.${Q.type}`,{attributes:this.processAttributes(Q,ne)},q),G=n.trace.setSpan(q,le);return{end:()=>le.end(),setAttribute:(ce,ee)=>{le.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(ce)}`,ee)},setStatus:(ce,ee)=>le.setStatus({code:ce,message:ee}),recordException:ce=>le.recordException(ce),context:G}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}traceStep(P){const U=this.startStepSpan(P);if(U)return new o.TraceStep(U)}forceFlush(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.forceFlush()})}shutdown(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.shutdown()})}}e.BaseOtelClient=I})($c)),$c}var Rj;function xfe(){if(Rj)return Vu;Rj=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.OtelClient=void 0;const e=Kde,t=Jde,r=Zhe,n=Xhe,o=hfe,a=Cj,i=yfe();class l extends i.BaseOtelClient{constructor(){super(),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1})}initTracer(u){var h,f;if(!u.collectorUrl&&!u.collectorTraceUrl)return;const b=`ses_${(0,a.ulid)()}`;this.sessionId=b;const v=(0,t.resourceFromAttributes)({[n.ATTR_SERVICE_NAME]:u.serviceName,[n.ATTR_SERVICE_VERSION]:u.serviceVersion,session_id:b}),y=u.collectorTraceUrl||`${u.collectorUrl}/v1/traces`;this.tracerProvider=new e.WebTracerProvider({resource:v,spanProcessors:[...(h=u.spanProcessors)!==null&&h!==void 0?h:[],new e.BatchSpanProcessor(new r.OTLPTraceExporter({url:y,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(u.tracerName),this.tracerProvider.register(),(0,o.registerInstrumentations)({instrumentations:(f=u.instrumentations)!==null&&f!==void 0?f:[]}),this.initialized=!0}}return Vu.OtelClient=l,Vu}var jj={},Lj;function wfe(){return Lj||(Lj=1,Object.defineProperty(jj,"__esModule",{value:!0})),jj}var Nj;function Ij(){return Nj||(Nj=1,(function(e){var t=Mc&&Mc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Mc&&Mc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(xfe(),e),r(wfe(),e)})(Mc)),Mc}var Uc={},Pj;function Sfe(){if(Pj)return Uc;Pj=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.buildPageResourceItem=t,Uc.appendPageResourceIfNeeded=r,Uc.enrichMessageWithPageResource=n;const e=()=>({location:typeof location<"u"?location:void 0,document:typeof document<"u"?document:void 0});function t(a=e()){var i;if(!a.location)return;const l=((i=a.document)===null||i===void 0?void 0:i.referrer)||void 0;return Object.assign({id:a.location.href,object:"page",uri:a.location.href},l?{referrer:l}:{})}function r(a,i,l){if(!l.has(a)||!Array.isArray(i)||i.some(o))return i;const p=t();return p?[...i,p]:i}function n(a,i){const l=r(a.type,a.data,i);return l===a.data?a:Object.assign(Object.assign({},a),{data:l})}function o(a){return a!=null&&typeof a=="object"&&a.object==="page"}return Uc}var Mj;function Cfe(){if(Mj)return Hu;Mj=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.Telemetry=void 0;const e=Ij(),t=Ej(),r=Sfe(),n=new Set(["com.redocly.downloadDefinition.clicked","com.redocly.copyCodeSnippet.clicked","com.redocly.referencedIn.clicked","com.redocly.selectLanguage.clicked","com.redocly.expandCollapseAll.clicked","com.redocly.examplesSwitcher.clicked","com.redocly.switchServers.clicked","com.redocly.tryIt.opened","com.redocly.changeLayout.clicked","com.redocly.viewSecurityDetails.clicked","com.redocly.viewSecurityDetails.closed","com.redocly.search.opened","com.redocly.searchResult.clicked","com.redocly.searchInputReset.clicked","com.redocly.switchMessage.clicked","com.redocly.switchExample.clicked","com.redocly.message.clicked","com.redocly.serverModal.opened","com.redocly.requiredScopesModal.opened"]);class o{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"useCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"otelClient",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"updateCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:i=>{var l;!((l=this.config)===null||l===void 0)&&l.disabled||(this.useCloudEventData=i)}}),this.useCloudEventData=()=>({origin:"redocUi",signal:"log"}),this.otelClient=new e.OtelClient,this.tracer={traceStep:(i,l)=>{const p=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.traceStep(p)}}}send(i,l,p){var u,h;try{if(!(!((u=this.config)===null||u===void 0)&&u.otel.isProd))return;const f=i&&typeof i=="object"&&"type"in i&&"data"in i?(0,r.enrichMessageWithPageResource)(i,n):this.constructCloudEvent(i,l,Object.assign(Object.assign({},p),{signal:"log"}));this.sendToOtelService(f)}catch(f){!((h=this.config)===null||h===void 0)&&h.otel.isProd||console.error("Event reporting failed:",f)}}init(i){i.disabled||this.initialized||(this.config=i,this.initialized=!0,this.otelClient.init({serviceVersion:i.otel.serviceVersion,version:i.otel.version,isProd:i.otel.isProd,collectorUrl:i.otel.collectorUrl,collectorTraceUrl:i.otel.collectorTraceUrl,serviceName:i.otel.serviceName,tracerName:i.otel.tracerName,spanProcessors:i.otel.spanProcessors,instrumentations:[...i.otel.instrumentations||[]]}))}startSpan(i,l,p){var u;if(!((u=this.config)===null||u===void 0)&&u.disabled)return;const h=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.startSpan(h,p)}constructCloudEvent(i,l,p){const u=Object.assign(Object.assign({},this.useCloudEventData()),p);return(0,t.mapToCloudEvent)(Object.assign(Object.assign({type:i,data:(0,r.appendPageResourceIfNeeded)(i,l,n)},u),this.otelClient.sessionId&&{sessionId:this.otelClient.sessionId}))}sendToOtelService(i){var l;!((l=this.config)===null||l===void 0)&&l.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",i),this.otelClient.send(Object.assign(Object.assign({},i),{signal:"log"}))}forceFlush(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.forceFlush()}shutdown(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.shutdown()}sendViewedMessage(i,l){this.send("com.redocly.page.viewed",i,l)}sendPerformanceMetricsMessage(i,l){this.send("com.redocly.performanceMetrics.collected",i,l)}sendDownloadDefinitionClickedMessage(i,l){this.send("com.redocly.downloadDefinition.clicked",i,l)}sendCopyCodeSnippetClickedMessage(i,l){this.send("com.redocly.copyCodeSnippet.clicked",i,l)}sendReferencedInClickedMessage(i,l){this.send("com.redocly.referencedIn.clicked",i,l)}sendSelectLanguageClickedMessage(i,l){this.send("com.redocly.selectLanguage.clicked",i,l)}sendExpandCollapseAllClickedMessage(i,l){this.send("com.redocly.expandCollapseAll.clicked",i,l)}sendExamplesSwitcherClickedMessage(i,l){this.send("com.redocly.examplesSwitcher.clicked",i,l)}sendSwitchServersClickedMessage(i,l){this.send("com.redocly.switchServers.clicked",i,l)}sendTryItOpenedMessage(i,l){this.send("com.redocly.tryIt.opened",i,l)}sendChangeLayoutClickedMessage(i,l){this.send("com.redocly.changeLayout.clicked",i,l)}sendViewSecurityDetailsClickedMessage(i,l){this.send("com.redocly.viewSecurityDetails.clicked",i,l)}sendViewSecurityDetailsClosedMessage(i,l){this.send("com.redocly.viewSecurityDetails.closed",i,l)}sendSearchOpenedMessage(i,l){this.send("com.redocly.search.opened",i,l)}sendSearchResultClickedMessage(i,l){this.send("com.redocly.searchResult.clicked",i,l)}sendSearchInputResetClickedMessage(i,l){this.send("com.redocly.searchInputReset.clicked",i,l)}sendSwitchMessageClickedMessage(i,l){this.send("com.redocly.switchMessage.clicked",i,l)}sendSwitchExampleClickedMessage(i,l){this.send("com.redocly.switchExample.clicked",i,l)}sendMessageClickedMessage(i,l){this.send("com.redocly.message.clicked",i,l)}sendServerModalOpenedMessage(i,l){this.send("com.redocly.serverModal.opened",i,l)}sendRequiredScopesModalOpenedMessage(i,l){this.send("com.redocly.requiredScopesModal.opened",i,l)}sendInitialMessage(i,l){this.send("com.redocly.redoc.initialized",i,l)}sendErrorMessage(i,l){this.send("com.redocly.error.occurred",i,l)}}return Hu.Telemetry=o,Hu}var Dj;function kfe(){return Dj||(Dj=1,(function(e){var t=Pc&&Pc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Pc&&Pc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(iX(),e),r(Cfe(),e),r(Ij(),e)})(Pc)),Pc}var $j={},zj;function _fe(){return zj||(zj=1,Object.defineProperty($j,"__esModule",{value:!0})),$j}var Uj;function Afe(){return Uj||(Uj=1,(function(e){var t=Ic&&Ic.__createBinding||(Object.create?(function(o,a,i,l){l===void 0&&(l=i);var p=Object.getOwnPropertyDescriptor(a,i);(!p||("get"in p?!a.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(o,l,p)}):(function(o,a,i,l){l===void 0&&(l=i),o[l]=a[i]})),r=Ic&&Ic.__exportStar||function(o,a){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),e.Telemetry=void 0;var n=kfe();Object.defineProperty(e,"Telemetry",{enumerable:!0,get:function(){return n.Telemetry}}),r(_fe(),e)})(Ic)),Ic}var Efe=Afe();const Tfe="@redocly/openapi-docs",Ofe="3.25.0-next.1",Fj={name:Tfe,version:Ofe},Rfe="https://otel.cloud.redocly.com/v1/traces";class Bj extends Efe.Telemetry{specType;constructor(t){super(),this.specType=t.specType,this.init({otel:{isProd:!0,serviceVersion:t.serviceVersion||`${Fj.name}@${Fj.version}`,version:"1.0.0",collectorTraceUrl:t.collectorUrl||Rfe,serviceName:t.serviceName||"redoc-ce",tracerName:"client-telemetry"},disabled:t.disabled||!1})}send(t,r){r&&Array.isArray(r)&&r.length>0&&(r=r.map(n=>n&&typeof n=="object"?{...n,specType:this.specType}:n)),super.send(t,r,{env:"production"})}}var jfe=Object.create,Om=Object.defineProperty,Lfe=Object.getOwnPropertyDescriptor,Nfe=Object.getOwnPropertyNames,Ife=Object.getPrototypeOf,Pfe=Object.prototype.hasOwnProperty,qj=e=>Om(e,"__esModule",{value:!0}),Qe=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},Hj=(e,t)=>{qj(e);for(var r in t)Om(e,r,{get:t[r],enumerable:!0})},Mfe=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nfe(t))!Pfe.call(e,n)&&n!=="default"&&Om(e,n,{get:()=>t[n],enumerable:!(r=Lfe(t,n))||r.enumerable});return e},Rm=e=>Mfe(qj(Om(e!=null?jfe(Ife(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Vj=Qe({"src/grammar/tag.js"(e,t){function r(a,i){function l(){this.constructor=a}l.prototype=i.prototype,a.prototype=new l}function n(a,i,l,p){this.message=a,this.expected=i,this.found=l,this.location=p,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}r(n,Error),n.buildMessage=function(a,i,l){var p={literal:function(x){return'"'+h(x.text)+'"'},class:function(x){var k=x.parts.map(function(w){return Array.isArray(w)?f(w[0])+"-"+f(w[1]):f(w)});return"["+(x.inverted?"^":"")+k+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(x){return x.description},not:function(x){return"not "+b(x.expected)}};function u(x){return x.charCodeAt(0).toString(16).toUpperCase()}function h(x){return x.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function f(x){return x.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function b(x){return p[x.type](x)}function v(x){var k=x.map(b),w,_;if(k.sort(),k.length>0){for(w=1,_=1;w<k.length;w++)k[w-1]!==k[w]&&(k[_]=k[w],_++);k.length=_}switch(k.length){case 1:return k[0];case 2:return k[0]+" or "+k[1];default:return k.slice(0,-1).join(", ")+", or "+k[k.length-1]}}function y(x){return x?'"'+h(x)+'"':"end of input"}return"Expected "+v(a)+" but "+y(i)+" found."};function o(a,i){i=i!==void 0?i:{};var l={},p={Top:qo},u=qo,h="/",f=".",b="#",v="=",y="(",x=")",k=",",w="[",_="]",A="null",R="true",E="false",L="{",I="}",O=":",P='"',U="\\",Y="n",q="r",Q="t",ne=/^[$@]/,le=/^[0-9]/,G=/^[^\0-\x1F"\\]/,ce=/^[a-zA-Z0-9_\-]/,ee=/^[ \n\t]/,fe=Wt("/",!1),oe=br("tag name"),F=br("class"),ie=br("id"),W=Wt("=",!1),V=Wt("(",!1),pe=Wt(")",!1),K=Wt(",",!1),se=br("variable"),X=br("null"),te=br("boolean"),_e=Wt("[",!1),S=Wt("]",!1),N=Wt("{",!1),B=Wt("}",!1),re=Wt(":",!1),ye=br("number"),ue=br("string"),me=br("identifier"),je=br("whitespace"),he=function(H){return{type:"variable",meta:{variable:H}}},Ye=function(H){return{type:"annotation",meta:{attributes:H}}},Ke=function(H,ge){return ge},Ge=function(H,ge,Se,Te){ge&&(Se=Se||[],Se.unshift({type:"attribute",name:"primary",value:ge}));const[qe,Ve]=Te?["tag",0]:["tag_open",1];return{type:qe,nesting:Ve,meta:{tag:H,attributes:Se}}},Je=function(H){return{type:"tag_close",nesting:-1,meta:{tag:H}}},He=function(H,ge){return H?[H,...ge]:[]},ot=function(H){return H},ur=function(H){return H},j=function(H){return H},M=function(H){return H},z=function(H){return{type:"class",name:H,value:!0}},de=function(H){return{type:"attribute",name:"id",value:H}},ke=function(H,ge){return{type:"attribute",name:H,value:ge}},Ne=function(H,ge,Se){return ge?[ge,...Se]:[]},De=function(H,ge){let Se={};for(let[Te,{name:qe,value:Ve}]of ge.entries())Se[qe||Te]=Ve;return new xt(H,Se)},at=function(H){return H},yt=function(H,ge){return{name:H,value:ge}},ht=function(H){return H},Nt=function(H,ge,Se){return H==="@"?[ge,...Se]:new lt([ge,...Se])},Ht=function(){return null},In=function(){return!0},ma=function(){return!1},Ba=function(H,ge){return[H,...ge]},qa=function(H){return H||[]},ao=function(H,ge){return Object.assign(H,...ge)},Ha=function(H){return H||{}},xo=function(H,ge){return H==="$$mdtype"?{}:{[H]:ge}},_i=function(){return parseFloat(Co())},An=function(H){return H.join("")},wo=function(){return`
|
|
6731
|
+
`,aX=e=>{const{languageInsensitive:t,fullWidth:r,blinking:n,iconPosition:o,icon:a,children:i,variant:l,tone:p,size:u,extraClass:h,to:f,external:b,className:v,...y}=e,x="tabIndex"in e?e.tabIndex:e.to?-1:void 0,k=m.jsxs(oX,{"data-component-name":"Button/Button",...y,className:nX({variant:l,tone:p,size:u,extraClass:h,className:v}),$fullWidth:r,$blinking:n,$iconPosition:o,$icon:a,$iconOnly:!i&&a!=null,$variant:l,$size:u,tabIndex:x,children:[a&&o!=="right"&&a,i,a&&o==="right"&&a]});return f?m.jsx(rX,{to:f,external:b,languageInsensitive:t,onClick:e.onClick,children:k}):k},ft=xe(aX)``;function _a(){const e=D.useId().replace(/:/g,"_");return t=>`${t}-${e}`}var Ic={},Pc={},j9={},L9;function iX(){return L9||(L9=1,Object.defineProperty(j9,"__esModule",{value:!0})),j9}var Hu={},Mc={},Vu={};const sl="1.9.1",N9=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function sX(e){const t=new Set([e]),r=new Set,n=e.match(N9);if(!n)return()=>!1;const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return function(l){return l===e};function a(l){return r.add(l),!1}function i(l){return t.add(l),!0}return function(l){if(t.has(l))return!0;if(r.has(l))return!1;const p=l.match(N9);if(!p)return a(l);const u={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return u.prerelease!=null||o.major!==u.major?a(l):o.major===0?o.minor===u.minor&&o.patch<=u.patch?i(l):a(l):o.minor<=u.minor?i(l):a(l)}}const lX=sX(sl),cX=sl.split(".")[0],Gu=Symbol.for(`opentelemetry.js.api.${cX}`),Wu=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof globalThis=="object"?globalThis:{};function Yu(e,t,r,n=!1){var o;const a=Wu[Gu]=(o=Wu[Gu])!==null&&o!==void 0?o:{version:sl};if(!n&&a[e]){const i=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(i.stack||i.message),!1}if(a.version!==sl){const i=new Error(`@opentelemetry/api: Registration of version v${a.version} for ${e} does not match previously registered API v${sl}`);return r.error(i.stack||i.message),!1}return a[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${sl}.`),!0}function ll(e){var t,r;const n=(t=Wu[Gu])===null||t===void 0?void 0:t.version;if(!(!n||!lX(n)))return(r=Wu[Gu])===null||r===void 0?void 0:r[e]}function Ku(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${sl}.`);const r=Wu[Gu];r&&delete r[e]}class pX{constructor(t){this._namespace=t.namespace||"DiagComponentLogger"}debug(...t){return Ju("debug",this._namespace,t)}error(...t){return Ju("error",this._namespace,t)}info(...t){return Ju("info",this._namespace,t)}warn(...t){return Ju("warn",this._namespace,t)}verbose(...t){return Ju("verbose",this._namespace,t)}}function Ju(e,t,r){const n=ll("diag");if(n)return n[e](t,...r)}var Vn;(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(Vn||(Vn={}));function uX(e,t){e<Vn.NONE?e=Vn.NONE:e>Vn.ALL&&(e=Vn.ALL),t=t||{};function r(n,o){const a=t[n];return typeof a=="function"&&e>=o?a.bind(t):function(){}}return{error:r("error",Vn.ERROR),warn:r("warn",Vn.WARN),info:r("info",Vn.INFO),debug:r("debug",Vn.DEBUG),verbose:r("verbose",Vn.VERBOSE)}}const dX="diag";class Uo{static instance(){return this._instance||(this._instance=new Uo),this._instance}constructor(){function t(o){return function(...a){const i=ll("diag");if(i)return i[o](...a)}}const r=this,n=(o,a={logLevel:Vn.INFO})=>{var i,l,p;if(o===r){const f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error((i=f.stack)!==null&&i!==void 0?i:f.message),!1}typeof a=="number"&&(a={logLevel:a});const u=ll("diag"),h=uX((l=a.logLevel)!==null&&l!==void 0?l:Vn.INFO,o);if(u&&!a.suppressOverrideMessage){const f=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";u.warn(`Current logger will be overwritten from ${f}`),h.warn(`Current logger will overwrite one already registered from ${f}`)}return Yu("diag",h,r,!0)};r.setLogger=n,r.disable=()=>{Ku(dX,r)},r.createComponentLogger=o=>new pX(o),r.verbose=t("verbose"),r.debug=t("debug"),r.info=t("info"),r.warn=t("warn"),r.error=t("error")}}class Tp{constructor(t){this._entries=t?new Map(t):new Map}getEntry(t){const r=this._entries.get(t);if(r)return Object.assign({},r)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,r){const n=new Tp(this._entries);return n._entries.set(t,r),n}removeEntry(t){const r=new Tp(this._entries);return r._entries.delete(t),r}removeEntries(...t){const r=new Tp(this._entries);for(const n of t)r._entries.delete(n);return r}clear(){return new Tp}}const hX=Symbol("BaggageEntryMetadata"),fX=Uo.instance();function mX(e={}){return new Tp(new Map(Object.entries(e)))}function I9(e){return typeof e!="string"&&(fX.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:hX,toString(){return e}}}function pm(e){return Symbol.for(e)}class N1{constructor(t){const r=this;r._currentContext=t?new Map(t):new Map,r.getValue=n=>r._currentContext.get(n),r.setValue=(n,o)=>{const a=new N1(r._currentContext);return a._currentContext.set(n,o),a},r.deleteValue=n=>{const o=new N1(r._currentContext);return o._currentContext.delete(n),o}}}const cl=new N1,H0=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],V0={};if(typeof console<"u"){const e=["error","warn","info","debug","trace","log"];for(const t of e)typeof console[t]=="function"&&(V0[t]=console[t])}class gX{constructor(){function t(r){return function(...n){let o=V0[r];if(typeof o!="function"&&(o=V0.log),typeof o!="function"&&console&&(o=console[r],typeof o!="function"&&(o=console.log)),typeof o=="function")return o.apply(console,n)}}for(let r=0;r<H0.length;r++)this[H0[r].n]=t(H0[r].c)}}class bX{constructor(){}createGauge(t,r){return AX}createHistogram(t,r){return EX}createCounter(t,r){return _X}createUpDownCounter(t,r){return TX}createObservableGauge(t,r){return RX}createObservableCounter(t,r){return OX}createObservableUpDownCounter(t,r){return jX}addBatchObservableCallback(t,r){}removeBatchObservableCallback(t){}}class um{}class vX extends um{add(t,r){}}class yX extends um{add(t,r){}}class xX extends um{record(t,r){}}class wX extends um{record(t,r){}}class G0{addCallback(t){}removeCallback(t){}}class SX extends G0{}class CX extends G0{}class kX extends G0{}const P9=new bX,_X=new vX,AX=new xX,EX=new wX,TX=new yX,OX=new SX,RX=new CX,jX=new kX;function M9(){return P9}var W0;(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(W0||(W0={}));const D9={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},$9={set(e,t,r){e!=null&&(e[t]=r)}};class LX{active(){return cl}with(t,r,n,...o){return r.call(n,...o)}bind(t,r){return r}enable(){return this}disable(){return this}}const Y0="context",NX=new LX;class Op{constructor(){}static getInstance(){return this._instance||(this._instance=new Op),this._instance}setGlobalContextManager(t){return Yu(Y0,t,Uo.instance())}active(){return this._getContextManager().active()}with(t,r,n,...o){return this._getContextManager().with(t,r,n,...o)}bind(t,r){return this._getContextManager().bind(t,r)}_getContextManager(){return ll(Y0)||NX}disable(){this._getContextManager().disable(),Ku(Y0,Uo.instance())}}var ta;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(ta||(ta={}));const K0="0000000000000000",J0="00000000000000000000000000000000",Q0={traceId:J0,spanId:K0,traceFlags:ta.NONE};class Qu{constructor(t=Q0){this._spanContext=t}spanContext(){return this._spanContext}setAttribute(t,r){return this}setAttributes(t){return this}addEvent(t,r){return this}addLink(t){return this}addLinks(t){return this}setStatus(t){return this}updateName(t){return this}end(t){}isRecording(){return!1}recordException(t,r){}}const Z0=pm("OpenTelemetry Context Key SPAN");function X0(e){return e.getValue(Z0)||void 0}function IX(){return X0(Op.getInstance().active())}function ey(e,t){return e.setValue(Z0,t)}function PX(e){return e.deleteValue(Z0)}function MX(e,t){return ey(e,new Qu(t))}function z9(e){var t;return(t=X0(e))===null||t===void 0?void 0:t.spanContext()}const dm=new Uint8Array([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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,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,1,1,1,1,1]);function U9(e,t){if(typeof e!="string"||e.length!==t)return!1;let r=0;for(let n=0;n<e.length;n+=4)r+=(dm[e.charCodeAt(n)]|0)+(dm[e.charCodeAt(n+1)]|0)+(dm[e.charCodeAt(n+2)]|0)+(dm[e.charCodeAt(n+3)]|0);return r===t}function ty(e){return U9(e,32)&&e!==J0}function F9(e){return U9(e,16)&&e!==K0}function Zu(e){return ty(e.traceId)&&F9(e.spanId)}function DX(e){return new Qu(e)}const ry=Op.getInstance();class B9{startSpan(t,r,n=ry.active()){if(r?.root)return new Qu;const o=n&&z9(n);return $X(o)&&Zu(o)?new Qu(o):new Qu}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??ry.active(),u=this.startSpan(t,a,p),h=ey(p,u);return ry.with(h,l,void 0,u)}}function $X(e){return e!==null&&typeof e=="object"&&"spanId"in e&&typeof e.spanId=="string"&&"traceId"in e&&typeof e.traceId=="string"&&"traceFlags"in e&&typeof e.traceFlags=="number"}const zX=new B9;class q9{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}startSpan(t,r,n){return this._getTracer().startSpan(t,r,n)}startActiveSpan(t,r,n,o){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;const t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):zX}}class UX{getTracer(t,r,n){return new B9}}const FX=new UX;class ny{getTracer(t,r,n){var o;return(o=this.getDelegateTracer(t,r,n))!==null&&o!==void 0?o:new q9(this,t,r,n)}getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:FX}setDelegate(t){this._delegate=t}getDelegateTracer(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(t,r,n)}}var Xu;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Xu||(Xu={}));var ed;(function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"})(ed||(ed={}));var ns;(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(ns||(ns={}));const oy="[_0-9a-z-*/]",BX=`[a-z]${oy}{0,255}`,qX=`[a-z0-9]${oy}{0,240}@[a-z]${oy}{0,13}`,HX=new RegExp(`^(?:${BX}|${qX})$`),VX=/^[ -~]{0,255}[!-~]$/,GX=/,|=/;function WX(e){return HX.test(e)}function YX(e){return VX.test(e)&&!GX.test(e)}const H9=32,KX=512,V9=",",G9="=";class A3{constructor(t){this._internalState=new Map,t&&this._parse(t)}set(t,r){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,r),n}unset(t){const r=this._clone();return r._internalState.delete(t),r}get(t){return this._internalState.get(t)}serialize(){return Array.from(this._internalState.keys()).reduceRight((t,r)=>(t.push(r+G9+this.get(r)),t),[]).join(V9)}_parse(t){t.length>KX||(this._internalState=t.split(V9).reduceRight((r,n)=>{const o=n.trim(),a=o.indexOf(G9);if(a!==-1){const i=o.slice(0,a),l=o.slice(a+1,n.length);WX(i)&&YX(l)&&r.set(i,l)}return r},new Map),this._internalState.size>H9&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,H9))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new A3;return t._internalState=new Map(this._internalState),t}}function JX(e){return new A3(e)}const Po=Op.getInstance(),ct=Uo.instance();class QX{getMeter(t,r,n){return P9}}const ZX=new QX,ay="metrics";class E3{constructor(){}static getInstance(){return this._instance||(this._instance=new E3),this._instance}setGlobalMeterProvider(t){return Yu(ay,t,Uo.instance())}getMeterProvider(){return ll(ay)||ZX}getMeter(t,r,n){return this.getMeterProvider().getMeter(t,r,n)}disable(){Ku(ay,Uo.instance())}}const hm=E3.getInstance();class XX{inject(t,r){}extract(t,r){return t}fields(){return[]}}const iy=pm("OpenTelemetry Baggage Key");function W9(e){return e.getValue(iy)||void 0}function eee(){return W9(Op.getInstance().active())}function tee(e,t){return e.setValue(iy,t)}function ree(e){return e.deleteValue(iy)}const sy="propagation",nee=new XX;class T3{constructor(){this.createBaggage=mX,this.getBaggage=W9,this.getActiveBaggage=eee,this.setBaggage=tee,this.deleteBaggage=ree}static getInstance(){return this._instance||(this._instance=new T3),this._instance}setGlobalPropagator(t){return Yu(sy,t,Uo.instance())}inject(t,r,n=$9){return this._getGlobalPropagator().inject(t,r,n)}extract(t,r,n=D9){return this._getGlobalPropagator().extract(t,r,n)}fields(){return this._getGlobalPropagator().fields()}disable(){Ku(sy,Uo.instance())}_getGlobalPropagator(){return ll(sy)||nee}}const pl=T3.getInstance(),ly="trace";class O3{constructor(){this._proxyTracerProvider=new ny,this.wrapSpanContext=DX,this.isSpanContextValid=Zu,this.deleteSpan=PX,this.getSpan=X0,this.getActiveSpan=IX,this.getSpanContext=z9,this.setSpan=ey,this.setSpanContext=MX}static getInstance(){return this._instance||(this._instance=new O3),this._instance}setGlobalTracerProvider(t){const r=Yu(ly,this._proxyTracerProvider,Uo.instance());return r&&this._proxyTracerProvider.setDelegate(t),r}getTracerProvider(){return ll(ly)||this._proxyTracerProvider}getTracer(t,r){return this.getTracerProvider().getTracer(t,r)}disable(){Ku(ly,Uo.instance()),this._proxyTracerProvider=new ny}}const On=O3.getInstance(),oee={context:Po,diag:ct,metrics:hm,propagation:pl,trace:On},aee=Object.freeze(Object.defineProperty({__proto__:null,DiagConsoleLogger:gX,get DiagLogLevel(){return Vn},INVALID_SPANID:K0,INVALID_SPAN_CONTEXT:Q0,INVALID_TRACEID:J0,ProxyTracer:q9,ProxyTracerProvider:ny,ROOT_CONTEXT:cl,get SamplingDecision(){return Xu},get SpanKind(){return ed},get SpanStatusCode(){return ns},get TraceFlags(){return ta},get ValueType(){return W0},baggageEntryMetadataFromString:I9,context:Po,createContextKey:pm,createNoopMeter:M9,createTraceState:JX,default:oee,defaultTextMapGetter:D9,defaultTextMapSetter:$9,diag:ct,isSpanContextValid:Zu,isValidSpanId:F9,isValidTraceId:ty,metrics:hm,propagation:pl,trace:On},Symbol.toStringTag,{value:"Module"})),Y9=pm("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function K9(e){return e.setValue(Y9,!0)}function cy(e){return e.getValue(Y9)===!0}const iee="=",J9=";",Q9=",",py="baggage",Z9=180,X9=4096,e_=8192;function see(e){return e.reduce((t,r)=>{const n=`${t}${t!==""?Q9:""}${r}`;return n.length>e_?t:n},"")}function lee(e){return e.getAllEntries().map(([t,r])=>{let n=`${encodeURIComponent(t)}=${encodeURIComponent(r.value)}`;return r.metadata!==void 0&&(n+=J9+r.metadata.toString()),n})}function cee(e){if(!e)return;const t=e.indexOf(J9),r=t===-1?e:e.substring(0,t),n=r.indexOf(iee);if(n<=0)return;const o=r.substring(0,n).trim(),a=r.substring(n+1).trim();if(!o||!a)return;let i,l;try{i=decodeURIComponent(o),l=decodeURIComponent(a)}catch{return}let p;if(t!==-1&&t<e.length-1){const u=e.substring(t+1);p=I9(u)}return{key:i,value:l,metadata:p}}function t_(e,t,r,n){let o=0;for(;o<e.length&&r<Z9;){const a=e.indexOf(Q9,o),i=a===-1?e.length:a,l=i-o;if(l<=X9){const p=cee(e.substring(o,i));if(p){const u=(r===0?0:1)+l;if(n+u>e_)break;t[p.key]=p.metadata?{value:p.value,metadata:p.metadata}:{value:p.value},r++,n+=u}}if(a===-1)break;o=a+1}return[r,n]}class pee{inject(t,r,n){const o=pl.getBaggage(t);if(!o||cy(t))return;const a=lee(o).filter(l=>l.length<=X9).slice(0,Z9),i=see(a);i.length>0&&n.set(r,py,i)}extract(t,r,n){const o=n.get(r,py);if(!o)return t;const a={};let i=0,l=0;if(Array.isArray(o))for(let p=0;p<o.length;p++)[i,l]=t_(o[p],a,i,l);else[i]=t_(o,a,i,l);return i===0?t:pl.setBaggage(t,pl.createBaggage(a))}fields(){return[py]}}function td(e){const t={};if(typeof e!="object"||e==null)return t;for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(!uee(r)){ct.warn(`Invalid attribute key: ${r}`);continue}const n=e[r];if(!r_(n)){ct.warn(`Invalid attribute value set for key: ${r}`);continue}Array.isArray(n)?t[r]=n.slice():t[r]=n}return t}function uee(e){return typeof e=="string"&&e!==""}function r_(e){return e==null?!0:Array.isArray(e)?dee(e):n_(typeof e)}function dee(e){let t;for(const r of e){if(r==null)continue;const n=typeof r;if(n!==t){if(!t){if(n_(n)){t=n;continue}return!1}return!1}}return!0}function n_(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}function hee(){return e=>{ct.error(fee(e))}}function fee(e){return typeof e=="string"?e:JSON.stringify(mee(e))}function mee(e){const t={};let r=e;for(;r!==null;)Object.getOwnPropertyNames(r).forEach(n=>{if(t[n])return;const o=r[n];o&&(t[n]=String(o))}),r=Object.getPrototypeOf(r);return t}let gee=hee();function ul(e){try{gee(e)}catch{}}const bee="2.8.0";function Br(e){let t={};const r=e.length;for(let n=0;n<r;n++){const o=e[n];o&&(t[String(o).toUpperCase().replace(/[-.]/g,"_")]=o)}return t}const o_="aws.lambda.invoked_arn",a_="db.system",i_="db.connection_string",s_="db.user",l_="db.jdbc.driver_classname",c_="db.name",p_="db.statement",u_="db.operation",d_="db.mssql.instance_name",h_="db.cassandra.keyspace",f_="db.cassandra.page_size",m_="db.cassandra.consistency_level",g_="db.cassandra.table",b_="db.cassandra.idempotence",v_="db.cassandra.speculative_execution_count",y_="db.cassandra.coordinator.id",x_="db.cassandra.coordinator.dc",w_="db.hbase.namespace",S_="db.redis.database_index",C_="db.mongodb.collection",k_="db.sql.table",__="exception.type",A_="exception.message",E_="exception.stacktrace",T_="exception.escaped",O_="faas.trigger",R_="faas.execution",j_="faas.document.collection",L_="faas.document.operation",N_="faas.document.time",I_="faas.document.name",P_="faas.time",M_="faas.cron",D_="faas.coldstart",$_="faas.invoked_name",z_="faas.invoked_provider",U_="faas.invoked_region",F_="net.transport",B_="net.peer.ip",q_="net.peer.port",H_="net.peer.name",V_="net.host.ip",G_="net.host.port",W_="net.host.name",Y_="net.host.connection.type",K_="net.host.connection.subtype",J_="net.host.carrier.name",Q_="net.host.carrier.mcc",Z_="net.host.carrier.mnc",X_="net.host.carrier.icc",eA="peer.service",tA="enduser.id",rA="enduser.role",nA="enduser.scope",oA="thread.id",aA="thread.name",iA="code.function",sA="code.namespace",lA="code.filepath",cA="code.lineno",pA="http.method",uA="http.url",dA="http.target",hA="http.host",fA="http.scheme",mA="http.status_code",gA="http.flavor",bA="http.user_agent",vA="http.request_content_length",yA="http.request_content_length_uncompressed",xA="http.response_content_length",wA="http.response_content_length_uncompressed",SA="http.server_name",CA="http.route",kA="http.client_ip",_A="aws.dynamodb.table_names",AA="aws.dynamodb.consumed_capacity",EA="aws.dynamodb.item_collection_metrics",TA="aws.dynamodb.provisioned_read_capacity",OA="aws.dynamodb.provisioned_write_capacity",RA="aws.dynamodb.consistent_read",jA="aws.dynamodb.projection",LA="aws.dynamodb.limit",NA="aws.dynamodb.attributes_to_get",IA="aws.dynamodb.index_name",PA="aws.dynamodb.select",MA="aws.dynamodb.global_secondary_indexes",DA="aws.dynamodb.local_secondary_indexes",$A="aws.dynamodb.exclusive_start_table",zA="aws.dynamodb.table_count",UA="aws.dynamodb.scan_forward",FA="aws.dynamodb.segment",BA="aws.dynamodb.total_segments",qA="aws.dynamodb.count",HA="aws.dynamodb.scanned_count",VA="aws.dynamodb.attribute_definitions",GA="aws.dynamodb.global_secondary_index_updates",WA="messaging.system",YA="messaging.destination",KA="messaging.destination_kind",JA="messaging.temp_destination",QA="messaging.protocol",ZA="messaging.protocol_version",XA="messaging.url",eE="messaging.message_id",tE="messaging.conversation_id",rE="messaging.message_payload_size_bytes",nE="messaging.message_payload_compressed_size_bytes",oE="messaging.operation",aE="messaging.consumer_id",iE="messaging.rabbitmq.routing_key",sE="messaging.kafka.message_key",lE="messaging.kafka.consumer_group",cE="messaging.kafka.client_id",pE="messaging.kafka.partition",uE="messaging.kafka.tombstone",dE="rpc.system",hE="rpc.service",fE="rpc.method",mE="rpc.grpc.status_code",gE="rpc.jsonrpc.version",bE="rpc.jsonrpc.request_id",vE="rpc.jsonrpc.error_code",yE="rpc.jsonrpc.error_message",xE="message.type",wE="message.id",SE="message.compressed_size",CE="message.uncompressed_size",vee=o_,yee=a_,xee=i_,wee=s_,See=l_,Cee=c_,kee=p_,_ee=u_,Aee=d_,Eee=h_,Tee=f_,Oee=m_,Ree=g_,jee=b_,Lee=v_,Nee=y_,Iee=x_,Pee=w_,Mee=S_,Dee=C_,$ee=k_,zee=__,Uee=A_,Fee=E_,Bee=T_,qee=O_,Hee=R_,Vee=j_,Gee=L_,Wee=N_,Yee=I_,Kee=P_,Jee=M_,Qee=D_,Zee=$_,Xee=z_,ete=U_,tte=F_,rte=B_,nte=q_,ote=H_,ate=V_,ite=G_,ste=W_,lte=Y_,cte=K_,pte=J_,ute=Q_,dte=Z_,hte=X_,fte=eA,mte=tA,gte=rA,bte=nA,vte=oA,yte=aA,xte=iA,wte=sA,Ste=lA,Cte=cA,kte=pA,_te=uA,Ate=dA,Ete=hA,Tte=fA,Ote=mA,Rte=gA,jte=bA,Lte=vA,Nte=yA,Ite=xA,Pte=wA,Mte=SA,Dte=CA,$te=kA,zte=_A,Ute=AA,Fte=EA,Bte=TA,qte=OA,Hte=RA,Vte=jA,Gte=LA,Wte=NA,Yte=IA,Kte=PA,Jte=MA,Qte=DA,Zte=$A,Xte=zA,ere=UA,tre=FA,rre=BA,nre=qA,ore=HA,are=VA,ire=GA,sre=WA,lre=YA,cre=KA,pre=JA,ure=QA,dre=ZA,hre=XA,fre=eE,mre=tE,gre=rE,bre=nE,vre=oE,yre=aE,xre=iE,wre=sE,Sre=lE,Cre=cE,kre=pE,_re=uE,Are=dE,Ere=hE,Tre=fE,Ore=mE,Rre=gE,jre=bE,Lre=vE,Nre=yE,Ire=xE,Pre=wE,Mre=SE,Dre=CE,$re=Br([o_,a_,i_,s_,l_,c_,p_,u_,d_,h_,f_,m_,g_,b_,v_,y_,x_,w_,S_,C_,k_,__,A_,E_,T_,O_,R_,j_,L_,N_,I_,P_,M_,D_,$_,z_,U_,F_,B_,q_,H_,V_,G_,W_,Y_,K_,J_,Q_,Z_,X_,eA,tA,rA,nA,oA,aA,iA,sA,lA,cA,pA,uA,dA,hA,fA,mA,gA,bA,vA,yA,xA,wA,SA,CA,kA,_A,AA,EA,TA,OA,RA,jA,LA,NA,IA,PA,MA,DA,$A,zA,UA,FA,BA,qA,HA,VA,GA,WA,YA,KA,JA,QA,ZA,XA,eE,tE,rE,nE,oE,aE,iE,sE,lE,cE,pE,uE,dE,hE,fE,mE,gE,bE,vE,yE,xE,wE,SE,CE]),kE="other_sql",_E="mssql",AE="mysql",EE="oracle",TE="db2",OE="postgresql",RE="redshift",jE="hive",LE="cloudscape",NE="hsqldb",IE="progress",PE="maxdb",ME="hanadb",DE="ingres",$E="firstsql",zE="edb",UE="cache",FE="adabas",BE="firebird",qE="derby",HE="filemaker",VE="informix",GE="instantdb",WE="interbase",YE="mariadb",KE="netezza",JE="pervasive",QE="pointbase",ZE="sqlite",XE="sybase",e8="teradata",t8="vertica",r8="h2",n8="coldfusion",o8="cassandra",a8="hbase",i8="mongodb",s8="redis",l8="couchbase",c8="couchdb",p8="cosmosdb",u8="dynamodb",d8="neo4j",h8="geode",f8="elasticsearch",m8="memcached",g8="cockroachdb",zre=kE,Ure=_E,Fre=AE,Bre=EE,qre=TE,Hre=OE,Vre=RE,Gre=jE,Wre=LE,Yre=NE,Kre=IE,Jre=PE,Qre=ME,Zre=DE,Xre=$E,ene=zE,tne=UE,rne=FE,nne=BE,one=qE,ane=HE,ine=VE,sne=GE,lne=WE,cne=YE,pne=KE,une=JE,dne=QE,hne=ZE,fne=XE,mne=e8,gne=t8,bne=r8,vne=n8,yne=o8,xne=a8,wne=i8,Sne=s8,Cne=l8,kne=c8,_ne=p8,Ane=u8,Ene=d8,Tne=h8,One=f8,Rne=m8,jne=g8,Lne=Br([kE,_E,AE,EE,TE,OE,RE,jE,LE,NE,IE,PE,ME,DE,$E,zE,UE,FE,BE,qE,HE,VE,GE,WE,YE,KE,JE,QE,ZE,XE,e8,t8,r8,n8,o8,a8,i8,s8,l8,c8,p8,u8,d8,h8,f8,m8,g8]),b8="all",v8="each_quorum",y8="quorum",x8="local_quorum",w8="one",S8="two",C8="three",k8="local_one",_8="any",A8="serial",E8="local_serial",Nne=b8,Ine=v8,Pne=y8,Mne=x8,Dne=w8,$ne=S8,zne=C8,Une=k8,Fne=_8,Bne=A8,qne=E8,Hne=Br([b8,v8,y8,x8,w8,S8,C8,k8,_8,A8,E8]),T8="datasource",O8="http",R8="pubsub",j8="timer",L8="other",Vne=T8,Gne=O8,Wne=R8,Yne=j8,Kne=L8,Jne=Br([T8,O8,R8,j8,L8]),N8="insert",I8="edit",P8="delete",Qne=N8,Zne=I8,Xne=P8,eoe=Br([N8,I8,P8]),M8="alibaba_cloud",D8="aws",$8="azure",z8="gcp",toe=M8,roe=D8,noe=$8,ooe=z8,aoe=Br([M8,D8,$8,z8]),U8="ip_tcp",F8="ip_udp",B8="ip",q8="unix",H8="pipe",V8="inproc",G8="other",ioe=U8,soe=F8,loe=B8,coe=q8,poe=H8,uoe=V8,doe=G8,hoe=Br([U8,F8,B8,q8,H8,V8,G8]),W8="wifi",Y8="wired",K8="cell",J8="unavailable",Q8="unknown",foe=W8,moe=Y8,goe=K8,boe=J8,voe=Q8,yoe=Br([W8,Y8,K8,J8,Q8]),Z8="gprs",X8="edge",e7="umts",t7="cdma",r7="evdo_0",n7="evdo_a",o7="cdma2000_1xrtt",a7="hsdpa",i7="hsupa",s7="hspa",l7="iden",c7="evdo_b",p7="lte",u7="ehrpd",d7="hspap",h7="gsm",f7="td_scdma",m7="iwlan",g7="nr",b7="nrnsa",v7="lte_ca",xoe=Z8,woe=X8,Soe=e7,Coe=t7,koe=r7,_oe=n7,Aoe=o7,Eoe=a7,Toe=i7,Ooe=s7,Roe=l7,joe=c7,Loe=p7,Noe=u7,Ioe=d7,Poe=h7,Moe=f7,Doe=m7,$oe=g7,zoe=b7,Uoe=v7,Foe=Br([Z8,X8,e7,t7,r7,n7,o7,a7,i7,s7,l7,c7,p7,u7,d7,h7,f7,m7,g7,b7,v7]),y7="1.0",x7="1.1",w7="2.0",S7="SPDY",C7="QUIC",Boe=y7,qoe=x7,Hoe=w7,Voe=S7,Goe=C7,Woe={HTTP_1_0:y7,HTTP_1_1:x7,HTTP_2_0:w7,SPDY:S7,QUIC:C7},k7="queue",_7="topic",Yoe=k7,Koe=_7,Joe=Br([k7,_7]),A7="receive",E7="process",Qoe=A7,Zoe=E7,Xoe=Br([A7,E7]),T7=0,O7=1,R7=2,j7=3,L7=4,N7=5,I7=6,P7=7,M7=8,D7=9,$7=10,z7=11,U7=12,F7=13,B7=14,q7=15,H7=16,eae=T7,tae=O7,rae=R7,nae=j7,oae=L7,aae=N7,iae=I7,sae=P7,lae=M7,cae=D7,pae=$7,uae=z7,dae=U7,hae=F7,fae=B7,mae=q7,gae=H7,bae={OK:T7,CANCELLED:O7,UNKNOWN:R7,INVALID_ARGUMENT:j7,DEADLINE_EXCEEDED:L7,NOT_FOUND:N7,ALREADY_EXISTS:I7,PERMISSION_DENIED:P7,RESOURCE_EXHAUSTED:M7,FAILED_PRECONDITION:D7,ABORTED:$7,OUT_OF_RANGE:z7,UNIMPLEMENTED:U7,INTERNAL:F7,UNAVAILABLE:B7,DATA_LOSS:q7,UNAUTHENTICATED:H7},V7="SENT",G7="RECEIVED",vae=V7,yae=G7,xae=Br([V7,G7]),W7="cloud.provider",Y7="cloud.account.id",K7="cloud.region",J7="cloud.availability_zone",Q7="cloud.platform",Z7="aws.ecs.container.arn",X7="aws.ecs.cluster.arn",eT="aws.ecs.launchtype",tT="aws.ecs.task.arn",rT="aws.ecs.task.family",nT="aws.ecs.task.revision",oT="aws.eks.cluster.arn",aT="aws.log.group.names",iT="aws.log.group.arns",sT="aws.log.stream.names",lT="aws.log.stream.arns",cT="container.name",pT="container.id",uT="container.runtime",dT="container.image.name",hT="container.image.tag",fT="deployment.environment",mT="device.id",gT="device.model.identifier",bT="device.model.name",vT="faas.name",yT="faas.id",xT="faas.version",wT="faas.instance",ST="faas.max_memory",CT="host.id",kT="host.name",_T="host.type",AT="host.arch",ET="host.image.name",TT="host.image.id",OT="host.image.version",RT="k8s.cluster.name",jT="k8s.node.name",LT="k8s.node.uid",NT="k8s.namespace.name",IT="k8s.pod.uid",PT="k8s.pod.name",MT="k8s.container.name",DT="k8s.replicaset.uid",$T="k8s.replicaset.name",zT="k8s.deployment.uid",UT="k8s.deployment.name",FT="k8s.statefulset.uid",BT="k8s.statefulset.name",qT="k8s.daemonset.uid",HT="k8s.daemonset.name",VT="k8s.job.uid",GT="k8s.job.name",WT="k8s.cronjob.uid",YT="k8s.cronjob.name",KT="os.type",JT="os.description",QT="os.name",ZT="os.version",XT="process.pid",eO="process.executable.name",tO="process.executable.path",rO="process.command",nO="process.command_line",oO="process.command_args",aO="process.owner",iO="process.runtime.name",sO="process.runtime.version",lO="process.runtime.description",cO="service.name",pO="service.namespace",uO="service.instance.id",dO="service.version",hO="telemetry.sdk.name",fO="telemetry.sdk.language",mO="telemetry.sdk.version",gO="telemetry.auto.version",bO="webengine.name",vO="webengine.version",yO="webengine.description",wae=W7,Sae=Y7,Cae=K7,kae=J7,_ae=Q7,Aae=Z7,Eae=X7,Tae=eT,Oae=tT,Rae=rT,jae=nT,Lae=oT,Nae=aT,Iae=iT,Pae=sT,Mae=lT,Dae=cT,$ae=pT,zae=uT,Uae=dT,Fae=hT,Bae=fT,qae=mT,Hae=gT,Vae=bT,Gae=vT,Wae=yT,Yae=xT,Kae=wT,Jae=ST,Qae=CT,Zae=kT,Xae=_T,eie=AT,tie=ET,rie=TT,nie=OT,oie=RT,aie=jT,iie=LT,sie=NT,lie=IT,cie=PT,pie=MT,uie=DT,die=$T,hie=zT,fie=UT,mie=FT,gie=BT,bie=qT,vie=HT,yie=VT,xie=GT,wie=WT,Sie=YT,Cie=KT,kie=JT,_ie=QT,Aie=ZT,Eie=XT,Tie=eO,Oie=tO,Rie=rO,jie=nO,Lie=oO,Nie=aO,Iie=iO,Pie=sO,Mie=lO,Die=cO,$ie=pO,zie=uO,Uie=dO,Fie=hO,Bie=fO,qie=mO,Hie=gO,Vie=bO,Gie=vO,Wie=yO,Yie=Br([W7,Y7,K7,J7,Q7,Z7,X7,eT,tT,rT,nT,oT,aT,iT,sT,lT,cT,pT,uT,dT,hT,fT,mT,gT,bT,vT,yT,xT,wT,ST,CT,kT,_T,AT,ET,TT,OT,RT,jT,LT,NT,IT,PT,MT,DT,$T,zT,UT,FT,BT,qT,HT,VT,GT,WT,YT,KT,JT,QT,ZT,XT,eO,tO,rO,nO,oO,aO,iO,sO,lO,cO,pO,uO,dO,hO,fO,mO,gO,bO,vO,yO]),xO="alibaba_cloud",wO="aws",SO="azure",CO="gcp",Kie=xO,Jie=wO,Qie=SO,Zie=CO,Xie=Br([xO,wO,SO,CO]),kO="alibaba_cloud_ecs",_O="alibaba_cloud_fc",AO="aws_ec2",EO="aws_ecs",TO="aws_eks",OO="aws_lambda",RO="aws_elastic_beanstalk",jO="azure_vm",LO="azure_container_instances",NO="azure_aks",IO="azure_functions",PO="azure_app_service",MO="gcp_compute_engine",DO="gcp_cloud_run",$O="gcp_kubernetes_engine",zO="gcp_cloud_functions",UO="gcp_app_engine",ese=kO,tse=_O,rse=AO,nse=EO,ose=TO,ase=OO,ise=RO,sse=jO,lse=LO,cse=NO,pse=IO,use=PO,dse=MO,hse=DO,fse=$O,mse=zO,gse=UO,bse=Br([kO,_O,AO,EO,TO,OO,RO,jO,LO,NO,IO,PO,MO,DO,$O,zO,UO]),FO="ec2",BO="fargate",vse=FO,yse=BO,xse=Br([FO,BO]),qO="amd64",HO="arm32",VO="arm64",GO="ia64",WO="ppc32",YO="ppc64",KO="x86",wse=qO,Sse=HO,Cse=VO,kse=GO,_se=WO,Ase=YO,Ese=KO,Tse=Br([qO,HO,VO,GO,WO,YO,KO]),JO="windows",QO="linux",ZO="darwin",XO="freebsd",eR="netbsd",tR="openbsd",rR="dragonflybsd",nR="hpux",oR="aix",aR="solaris",iR="z_os",Ose=JO,Rse=QO,jse=ZO,Lse=XO,Nse=eR,Ise=tR,Pse=rR,Mse=nR,Dse=oR,$se=aR,zse=iR,Use=Br([JO,QO,ZO,XO,eR,tR,rR,nR,oR,aR,iR]),sR="cpp",lR="dotnet",cR="erlang",pR="go",uR="java",dR="nodejs",hR="php",fR="python",mR="ruby",gR="webjs",Fse=sR,Bse=lR,qse=cR,Hse=pR,Vse=uR,Gse=dR,Wse=hR,Yse=fR,Kse=mR,Jse=gR,Qse=Br([sR,lR,cR,pR,uR,dR,hR,fR,mR,gR]),Zse="aspnetcore.diagnostics.exception.result",Xse="aborted",ele="handled",tle="skipped",rle="unhandled",nle="aspnetcore.diagnostics.handler.type",ole="aspnetcore.rate_limiting.policy",ale="aspnetcore.rate_limiting.result",ile="acquired",sle="endpoint_limiter",lle="global_limiter",cle="request_canceled",ple="aspnetcore.request.is_unhandled",ule="aspnetcore.routing.is_fallback",dle="aspnetcore.routing.match_status",hle="failure",fle="success",mle="aspnetcore.user.is_authenticated",gle="client.address",ble="client.port",vle="code.column.number",yle="code.file.path",xle="code.function.name",wle="code.line.number",Sle="code.stacktrace",Cle="db.collection.name",kle="db.namespace",_le="db.operation.batch.size",Ale="db.operation.name",Ele="db.query.summary",Tle="db.query.text",Ole="db.response.status_code",Rle="db.stored_procedure.name",jle="db.system.name",Lle="mariadb",Nle="microsoft.sql_server",Ile="mysql",Ple="postgresql",Mle="dotnet.gc.heap.generation",Dle="gen0",$le="gen1",zle="gen2",Ule="loh",Fle="poh",Ble="error.type",qle="_OTHER",Hle="exception.escaped",fm="exception.message",bR="exception.stacktrace",mm="exception.type",Vle=e=>`http.request.header.${e}`,Gle="http.request.method",Wle="_OTHER",Yle="CONNECT",Kle="DELETE",Jle="GET",Qle="HEAD",Zle="OPTIONS",Xle="PATCH",ece="POST",tce="PUT",rce="TRACE",nce="http.request.method_original",oce="http.request.resend_count",ace=e=>`http.response.header.${e}`,ice="http.response.status_code",sce="http.route",lce="jvm.gc.action",cce="jvm.gc.name",pce="jvm.memory.pool.name",uce="jvm.memory.type",dce="heap",hce="non_heap",fce="jvm.thread.daemon",mce="jvm.thread.state",gce="blocked",bce="new",vce="runnable",yce="terminated",xce="timed_waiting",wce="waiting",Sce="network.local.address",Cce="network.local.port",kce="network.peer.address",_ce="network.peer.port",Ace="network.protocol.name",Ece="network.protocol.version",Tce="network.transport",Oce="pipe",Rce="quic",jce="tcp",Lce="udp",Nce="unix",Ice="network.type",Pce="ipv4",Mce="ipv6",Dce="otel.scope.name",$ce="otel.scope.version",zce="otel.status_code",Uce="ERROR",Fce="OK",Bce="otel.status_description",qce="server.address",Hce="server.port",Vce="service.instance.id",uy="service.name",Gce="service.namespace",vR="service.version",Wce="signalr.connection.status",Yce="app_shutdown",Kce="normal_closure",Jce="timeout",Qce="signalr.transport",Zce="long_polling",Xce="server_sent_events",epe="web_sockets",gm="telemetry.sdk.language",tpe="cpp",rpe="dotnet",npe="erlang",ope="go",ape="java",ipe="nodejs",spe="php",lpe="python",cpe="ruby",ppe="rust",upe="swift",yR="webjs",bm="telemetry.sdk.name",vm="telemetry.sdk.version",dpe="url.fragment",hpe="url.full",fpe="url.path",mpe="url.query",gpe="url.scheme",bpe="user_agent.original",vpe="aspnetcore.diagnostics.exceptions",ype="aspnetcore.rate_limiting.active_request_leases",xpe="aspnetcore.rate_limiting.queued_requests",wpe="aspnetcore.rate_limiting.request.time_in_queue",Spe="aspnetcore.rate_limiting.request_lease.duration",Cpe="aspnetcore.rate_limiting.requests",kpe="aspnetcore.routing.match_attempts",_pe="db.client.operation.duration",Ape="dotnet.assembly.count",Epe="dotnet.exceptions",Tpe="dotnet.gc.collections",Ope="dotnet.gc.heap.total_allocated",Rpe="dotnet.gc.last_collection.heap.fragmentation.size",jpe="dotnet.gc.last_collection.heap.size",Lpe="dotnet.gc.last_collection.memory.committed_size",Npe="dotnet.gc.pause.time",Ipe="dotnet.jit.compilation.time",Ppe="dotnet.jit.compiled_il.size",Mpe="dotnet.jit.compiled_methods",Dpe="dotnet.monitor.lock_contentions",$pe="dotnet.process.cpu.count",zpe="dotnet.process.cpu.time",Upe="dotnet.process.memory.working_set",Fpe="dotnet.thread_pool.queue.length",Bpe="dotnet.thread_pool.thread.count",qpe="dotnet.thread_pool.work_item.count",Hpe="dotnet.timer.count",Vpe="http.client.request.duration",Gpe="http.server.request.duration",Wpe="jvm.class.count",Ype="jvm.class.loaded",Kpe="jvm.class.unloaded",Jpe="jvm.cpu.count",Qpe="jvm.cpu.recent_utilization",Zpe="jvm.cpu.time",Xpe="jvm.gc.duration",eue="jvm.memory.committed",tue="jvm.memory.limit",rue="jvm.memory.used",nue="jvm.memory.used_after_last_gc",oue="jvm.thread.count",aue="kestrel.active_connections",iue="kestrel.active_tls_handshakes",sue="kestrel.connection.duration",lue="kestrel.queued_connections",cue="kestrel.queued_requests",pue="kestrel.rejected_connections",uue="kestrel.tls_handshake.duration",due="kestrel.upgraded_connections",hue="signalr.server.active_connections",fue="signalr.server.connection.duration",mue="exception",gue=Object.freeze(Object.defineProperty({__proto__:null,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:Xse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:ele,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:tle,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:rle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:ile,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:sle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:lle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:cle,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:hle,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:fle,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:Zse,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:nle,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:ole,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:ale,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:ple,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:ule,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:dle,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:mle,ATTR_CLIENT_ADDRESS:gle,ATTR_CLIENT_PORT:ble,ATTR_CODE_COLUMN_NUMBER:vle,ATTR_CODE_FILE_PATH:yle,ATTR_CODE_FUNCTION_NAME:xle,ATTR_CODE_LINE_NUMBER:wle,ATTR_CODE_STACKTRACE:Sle,ATTR_DB_COLLECTION_NAME:Cle,ATTR_DB_NAMESPACE:kle,ATTR_DB_OPERATION_BATCH_SIZE:_le,ATTR_DB_OPERATION_NAME:Ale,ATTR_DB_QUERY_SUMMARY:Ele,ATTR_DB_QUERY_TEXT:Tle,ATTR_DB_RESPONSE_STATUS_CODE:Ole,ATTR_DB_STORED_PROCEDURE_NAME:Rle,ATTR_DB_SYSTEM_NAME:jle,ATTR_DOTNET_GC_HEAP_GENERATION:Mle,ATTR_ERROR_TYPE:Ble,ATTR_EXCEPTION_ESCAPED:Hle,ATTR_EXCEPTION_MESSAGE:fm,ATTR_EXCEPTION_STACKTRACE:bR,ATTR_EXCEPTION_TYPE:mm,ATTR_HTTP_REQUEST_HEADER:Vle,ATTR_HTTP_REQUEST_METHOD:Gle,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:nce,ATTR_HTTP_REQUEST_RESEND_COUNT:oce,ATTR_HTTP_RESPONSE_HEADER:ace,ATTR_HTTP_RESPONSE_STATUS_CODE:ice,ATTR_HTTP_ROUTE:sce,ATTR_JVM_GC_ACTION:lce,ATTR_JVM_GC_NAME:cce,ATTR_JVM_MEMORY_POOL_NAME:pce,ATTR_JVM_MEMORY_TYPE:uce,ATTR_JVM_THREAD_DAEMON:fce,ATTR_JVM_THREAD_STATE:mce,ATTR_NETWORK_LOCAL_ADDRESS:Sce,ATTR_NETWORK_LOCAL_PORT:Cce,ATTR_NETWORK_PEER_ADDRESS:kce,ATTR_NETWORK_PEER_PORT:_ce,ATTR_NETWORK_PROTOCOL_NAME:Ace,ATTR_NETWORK_PROTOCOL_VERSION:Ece,ATTR_NETWORK_TRANSPORT:Tce,ATTR_NETWORK_TYPE:Ice,ATTR_OTEL_SCOPE_NAME:Dce,ATTR_OTEL_SCOPE_VERSION:$ce,ATTR_OTEL_STATUS_CODE:zce,ATTR_OTEL_STATUS_DESCRIPTION:Bce,ATTR_SERVER_ADDRESS:qce,ATTR_SERVER_PORT:Hce,ATTR_SERVICE_INSTANCE_ID:Vce,ATTR_SERVICE_NAME:uy,ATTR_SERVICE_NAMESPACE:Gce,ATTR_SERVICE_VERSION:vR,ATTR_SIGNALR_CONNECTION_STATUS:Wce,ATTR_SIGNALR_TRANSPORT:Qce,ATTR_TELEMETRY_SDK_LANGUAGE:gm,ATTR_TELEMETRY_SDK_NAME:bm,ATTR_TELEMETRY_SDK_VERSION:vm,ATTR_URL_FRAGMENT:dpe,ATTR_URL_FULL:hpe,ATTR_URL_PATH:fpe,ATTR_URL_QUERY:mpe,ATTR_URL_SCHEME:gpe,ATTR_USER_AGENT_ORIGINAL:bpe,AWSECSLAUNCHTYPEVALUES_EC2:vse,AWSECSLAUNCHTYPEVALUES_FARGATE:yse,AwsEcsLaunchtypeValues:xse,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:ese,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:tse,CLOUDPLATFORMVALUES_AWS_EC2:rse,CLOUDPLATFORMVALUES_AWS_ECS:nse,CLOUDPLATFORMVALUES_AWS_EKS:ose,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:ise,CLOUDPLATFORMVALUES_AWS_LAMBDA:ase,CLOUDPLATFORMVALUES_AZURE_AKS:cse,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:use,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:lse,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:pse,CLOUDPLATFORMVALUES_AZURE_VM:sse,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:gse,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:mse,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:hse,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:dse,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:fse,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:Kie,CLOUDPROVIDERVALUES_AWS:Jie,CLOUDPROVIDERVALUES_AZURE:Qie,CLOUDPROVIDERVALUES_GCP:Zie,CloudPlatformValues:bse,CloudProviderValues:Xie,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:Nne,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:Fne,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:Ine,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:Une,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:Mne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:qne,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:Dne,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:Pne,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:Bne,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:zne,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:$ne,DBSYSTEMVALUES_ADABAS:rne,DBSYSTEMVALUES_CACHE:tne,DBSYSTEMVALUES_CASSANDRA:yne,DBSYSTEMVALUES_CLOUDSCAPE:Wre,DBSYSTEMVALUES_COCKROACHDB:jne,DBSYSTEMVALUES_COLDFUSION:vne,DBSYSTEMVALUES_COSMOSDB:_ne,DBSYSTEMVALUES_COUCHBASE:Cne,DBSYSTEMVALUES_COUCHDB:kne,DBSYSTEMVALUES_DB2:qre,DBSYSTEMVALUES_DERBY:one,DBSYSTEMVALUES_DYNAMODB:Ane,DBSYSTEMVALUES_EDB:ene,DBSYSTEMVALUES_ELASTICSEARCH:One,DBSYSTEMVALUES_FILEMAKER:ane,DBSYSTEMVALUES_FIREBIRD:nne,DBSYSTEMVALUES_FIRSTSQL:Xre,DBSYSTEMVALUES_GEODE:Tne,DBSYSTEMVALUES_H2:bne,DBSYSTEMVALUES_HANADB:Qre,DBSYSTEMVALUES_HBASE:xne,DBSYSTEMVALUES_HIVE:Gre,DBSYSTEMVALUES_HSQLDB:Yre,DBSYSTEMVALUES_INFORMIX:ine,DBSYSTEMVALUES_INGRES:Zre,DBSYSTEMVALUES_INSTANTDB:sne,DBSYSTEMVALUES_INTERBASE:lne,DBSYSTEMVALUES_MARIADB:cne,DBSYSTEMVALUES_MAXDB:Jre,DBSYSTEMVALUES_MEMCACHED:Rne,DBSYSTEMVALUES_MONGODB:wne,DBSYSTEMVALUES_MSSQL:Ure,DBSYSTEMVALUES_MYSQL:Fre,DBSYSTEMVALUES_NEO4J:Ene,DBSYSTEMVALUES_NETEZZA:pne,DBSYSTEMVALUES_ORACLE:Bre,DBSYSTEMVALUES_OTHER_SQL:zre,DBSYSTEMVALUES_PERVASIVE:une,DBSYSTEMVALUES_POINTBASE:dne,DBSYSTEMVALUES_POSTGRESQL:Hre,DBSYSTEMVALUES_PROGRESS:Kre,DBSYSTEMVALUES_REDIS:Sne,DBSYSTEMVALUES_REDSHIFT:Vre,DBSYSTEMVALUES_SQLITE:hne,DBSYSTEMVALUES_SYBASE:fne,DBSYSTEMVALUES_TERADATA:mne,DBSYSTEMVALUES_VERTICA:gne,DB_SYSTEM_NAME_VALUE_MARIADB:Lle,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:Nle,DB_SYSTEM_NAME_VALUE_MYSQL:Ile,DB_SYSTEM_NAME_VALUE_POSTGRESQL:Ple,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:Dle,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:$le,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:zle,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:Ule,DOTNET_GC_HEAP_GENERATION_VALUE_POH:Fle,DbCassandraConsistencyLevelValues:Hne,DbSystemValues:Lne,ERROR_TYPE_VALUE_OTHER:qle,EVENT_EXCEPTION:mue,FAASDOCUMENTOPERATIONVALUES_DELETE:Xne,FAASDOCUMENTOPERATIONVALUES_EDIT:Zne,FAASDOCUMENTOPERATIONVALUES_INSERT:Qne,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:toe,FAASINVOKEDPROVIDERVALUES_AWS:roe,FAASINVOKEDPROVIDERVALUES_AZURE:noe,FAASINVOKEDPROVIDERVALUES_GCP:ooe,FAASTRIGGERVALUES_DATASOURCE:Vne,FAASTRIGGERVALUES_HTTP:Gne,FAASTRIGGERVALUES_OTHER:Kne,FAASTRIGGERVALUES_PUBSUB:Wne,FAASTRIGGERVALUES_TIMER:Yne,FaasDocumentOperationValues:eoe,FaasInvokedProviderValues:aoe,FaasTriggerValues:Jne,HOSTARCHVALUES_AMD64:wse,HOSTARCHVALUES_ARM32:Sse,HOSTARCHVALUES_ARM64:Cse,HOSTARCHVALUES_IA64:kse,HOSTARCHVALUES_PPC32:_se,HOSTARCHVALUES_PPC64:Ase,HOSTARCHVALUES_X86:Ese,HTTPFLAVORVALUES_HTTP_1_0:Boe,HTTPFLAVORVALUES_HTTP_1_1:qoe,HTTPFLAVORVALUES_HTTP_2_0:Hoe,HTTPFLAVORVALUES_QUIC:Goe,HTTPFLAVORVALUES_SPDY:Voe,HTTP_REQUEST_METHOD_VALUE_CONNECT:Yle,HTTP_REQUEST_METHOD_VALUE_DELETE:Kle,HTTP_REQUEST_METHOD_VALUE_GET:Jle,HTTP_REQUEST_METHOD_VALUE_HEAD:Qle,HTTP_REQUEST_METHOD_VALUE_OPTIONS:Zle,HTTP_REQUEST_METHOD_VALUE_OTHER:Wle,HTTP_REQUEST_METHOD_VALUE_PATCH:Xle,HTTP_REQUEST_METHOD_VALUE_POST:ece,HTTP_REQUEST_METHOD_VALUE_PUT:tce,HTTP_REQUEST_METHOD_VALUE_TRACE:rce,HostArchValues:Tse,HttpFlavorValues:Woe,JVM_MEMORY_TYPE_VALUE_HEAP:dce,JVM_MEMORY_TYPE_VALUE_NON_HEAP:hce,JVM_THREAD_STATE_VALUE_BLOCKED:gce,JVM_THREAD_STATE_VALUE_NEW:bce,JVM_THREAD_STATE_VALUE_RUNNABLE:vce,JVM_THREAD_STATE_VALUE_TERMINATED:yce,JVM_THREAD_STATE_VALUE_TIMED_WAITING:xce,JVM_THREAD_STATE_VALUE_WAITING:wce,MESSAGETYPEVALUES_RECEIVED:yae,MESSAGETYPEVALUES_SENT:vae,MESSAGINGDESTINATIONKINDVALUES_QUEUE:Yoe,MESSAGINGDESTINATIONKINDVALUES_TOPIC:Koe,MESSAGINGOPERATIONVALUES_PROCESS:Zoe,MESSAGINGOPERATIONVALUES_RECEIVE:Qoe,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:vpe,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:ype,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:xpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:Cpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:Spe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:wpe,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:kpe,METRIC_DB_CLIENT_OPERATION_DURATION:_pe,METRIC_DOTNET_ASSEMBLY_COUNT:Ape,METRIC_DOTNET_EXCEPTIONS:Epe,METRIC_DOTNET_GC_COLLECTIONS:Tpe,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:Ope,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:Rpe,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:jpe,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:Lpe,METRIC_DOTNET_GC_PAUSE_TIME:Npe,METRIC_DOTNET_JIT_COMPILATION_TIME:Ipe,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:Ppe,METRIC_DOTNET_JIT_COMPILED_METHODS:Mpe,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:Dpe,METRIC_DOTNET_PROCESS_CPU_COUNT:$pe,METRIC_DOTNET_PROCESS_CPU_TIME:zpe,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:Upe,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:Fpe,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:Bpe,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:qpe,METRIC_DOTNET_TIMER_COUNT:Hpe,METRIC_HTTP_CLIENT_REQUEST_DURATION:Vpe,METRIC_HTTP_SERVER_REQUEST_DURATION:Gpe,METRIC_JVM_CLASS_COUNT:Wpe,METRIC_JVM_CLASS_LOADED:Ype,METRIC_JVM_CLASS_UNLOADED:Kpe,METRIC_JVM_CPU_COUNT:Jpe,METRIC_JVM_CPU_RECENT_UTILIZATION:Qpe,METRIC_JVM_CPU_TIME:Zpe,METRIC_JVM_GC_DURATION:Xpe,METRIC_JVM_MEMORY_COMMITTED:eue,METRIC_JVM_MEMORY_LIMIT:tue,METRIC_JVM_MEMORY_USED:rue,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:nue,METRIC_JVM_THREAD_COUNT:oue,METRIC_KESTREL_ACTIVE_CONNECTIONS:aue,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:iue,METRIC_KESTREL_CONNECTION_DURATION:sue,METRIC_KESTREL_QUEUED_CONNECTIONS:lue,METRIC_KESTREL_QUEUED_REQUESTS:cue,METRIC_KESTREL_REJECTED_CONNECTIONS:pue,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:uue,METRIC_KESTREL_UPGRADED_CONNECTIONS:due,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:hue,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:fue,MessageTypeValues:xae,MessagingDestinationKindValues:Joe,MessagingOperationValues:Xoe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:Coe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:Aoe,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:woe,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:Noe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:koe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:_oe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:joe,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:xoe,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:Poe,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:Eoe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:Ooe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:Ioe,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:Toe,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:Roe,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:Doe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:Loe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:Uoe,NETHOSTCONNECTIONSUBTYPEVALUES_NR:$oe,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:zoe,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:Moe,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:Soe,NETHOSTCONNECTIONTYPEVALUES_CELL:goe,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:boe,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:voe,NETHOSTCONNECTIONTYPEVALUES_WIFI:foe,NETHOSTCONNECTIONTYPEVALUES_WIRED:moe,NETTRANSPORTVALUES_INPROC:uoe,NETTRANSPORTVALUES_IP:loe,NETTRANSPORTVALUES_IP_TCP:ioe,NETTRANSPORTVALUES_IP_UDP:soe,NETTRANSPORTVALUES_OTHER:doe,NETTRANSPORTVALUES_PIPE:poe,NETTRANSPORTVALUES_UNIX:coe,NETWORK_TRANSPORT_VALUE_PIPE:Oce,NETWORK_TRANSPORT_VALUE_QUIC:Rce,NETWORK_TRANSPORT_VALUE_TCP:jce,NETWORK_TRANSPORT_VALUE_UDP:Lce,NETWORK_TRANSPORT_VALUE_UNIX:Nce,NETWORK_TYPE_VALUE_IPV4:Pce,NETWORK_TYPE_VALUE_IPV6:Mce,NetHostConnectionSubtypeValues:Foe,NetHostConnectionTypeValues:yoe,NetTransportValues:hoe,OSTYPEVALUES_AIX:Dse,OSTYPEVALUES_DARWIN:jse,OSTYPEVALUES_DRAGONFLYBSD:Pse,OSTYPEVALUES_FREEBSD:Lse,OSTYPEVALUES_HPUX:Mse,OSTYPEVALUES_LINUX:Rse,OSTYPEVALUES_NETBSD:Nse,OSTYPEVALUES_OPENBSD:Ise,OSTYPEVALUES_SOLARIS:$se,OSTYPEVALUES_WINDOWS:Ose,OSTYPEVALUES_Z_OS:zse,OTEL_STATUS_CODE_VALUE_ERROR:Uce,OTEL_STATUS_CODE_VALUE_OK:Fce,OsTypeValues:Use,RPCGRPCSTATUSCODEVALUES_ABORTED:pae,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:iae,RPCGRPCSTATUSCODEVALUES_CANCELLED:tae,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:mae,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:oae,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:cae,RPCGRPCSTATUSCODEVALUES_INTERNAL:hae,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:nae,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:aae,RPCGRPCSTATUSCODEVALUES_OK:eae,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:uae,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:sae,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:lae,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:gae,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:fae,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:dae,RPCGRPCSTATUSCODEVALUES_UNKNOWN:rae,RpcGrpcStatusCodeValues:bae,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:Wte,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:are,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:Hte,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:Ute,SEMATTRS_AWS_DYNAMODB_COUNT:nre,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:Zte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:Jte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:ire,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:Yte,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:Fte,SEMATTRS_AWS_DYNAMODB_LIMIT:Gte,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:Qte,SEMATTRS_AWS_DYNAMODB_PROJECTION:Vte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:Bte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:qte,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:ore,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:ere,SEMATTRS_AWS_DYNAMODB_SEGMENT:tre,SEMATTRS_AWS_DYNAMODB_SELECT:Kte,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:Xte,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:zte,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:rre,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:vee,SEMATTRS_CODE_FILEPATH:Ste,SEMATTRS_CODE_FUNCTION:xte,SEMATTRS_CODE_LINENO:Cte,SEMATTRS_CODE_NAMESPACE:wte,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:Oee,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:Iee,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:Nee,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:jee,SEMATTRS_DB_CASSANDRA_KEYSPACE:Eee,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:Tee,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:Lee,SEMATTRS_DB_CASSANDRA_TABLE:Ree,SEMATTRS_DB_CONNECTION_STRING:xee,SEMATTRS_DB_HBASE_NAMESPACE:Pee,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:See,SEMATTRS_DB_MONGODB_COLLECTION:Dee,SEMATTRS_DB_MSSQL_INSTANCE_NAME:Aee,SEMATTRS_DB_NAME:Cee,SEMATTRS_DB_OPERATION:_ee,SEMATTRS_DB_REDIS_DATABASE_INDEX:Mee,SEMATTRS_DB_SQL_TABLE:$ee,SEMATTRS_DB_STATEMENT:kee,SEMATTRS_DB_SYSTEM:yee,SEMATTRS_DB_USER:wee,SEMATTRS_ENDUSER_ID:mte,SEMATTRS_ENDUSER_ROLE:gte,SEMATTRS_ENDUSER_SCOPE:bte,SEMATTRS_EXCEPTION_ESCAPED:Bee,SEMATTRS_EXCEPTION_MESSAGE:Uee,SEMATTRS_EXCEPTION_STACKTRACE:Fee,SEMATTRS_EXCEPTION_TYPE:zee,SEMATTRS_FAAS_COLDSTART:Qee,SEMATTRS_FAAS_CRON:Jee,SEMATTRS_FAAS_DOCUMENT_COLLECTION:Vee,SEMATTRS_FAAS_DOCUMENT_NAME:Yee,SEMATTRS_FAAS_DOCUMENT_OPERATION:Gee,SEMATTRS_FAAS_DOCUMENT_TIME:Wee,SEMATTRS_FAAS_EXECUTION:Hee,SEMATTRS_FAAS_INVOKED_NAME:Zee,SEMATTRS_FAAS_INVOKED_PROVIDER:Xee,SEMATTRS_FAAS_INVOKED_REGION:ete,SEMATTRS_FAAS_TIME:Kee,SEMATTRS_FAAS_TRIGGER:qee,SEMATTRS_HTTP_CLIENT_IP:$te,SEMATTRS_HTTP_FLAVOR:Rte,SEMATTRS_HTTP_HOST:Ete,SEMATTRS_HTTP_METHOD:kte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:Lte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:Nte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:Ite,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:Pte,SEMATTRS_HTTP_ROUTE:Dte,SEMATTRS_HTTP_SCHEME:Tte,SEMATTRS_HTTP_SERVER_NAME:Mte,SEMATTRS_HTTP_STATUS_CODE:Ote,SEMATTRS_HTTP_TARGET:Ate,SEMATTRS_HTTP_URL:_te,SEMATTRS_HTTP_USER_AGENT:jte,SEMATTRS_MESSAGE_COMPRESSED_SIZE:Mre,SEMATTRS_MESSAGE_ID:Pre,SEMATTRS_MESSAGE_TYPE:Ire,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:Dre,SEMATTRS_MESSAGING_CONSUMER_ID:yre,SEMATTRS_MESSAGING_CONVERSATION_ID:mre,SEMATTRS_MESSAGING_DESTINATION:lre,SEMATTRS_MESSAGING_DESTINATION_KIND:cre,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:Cre,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:Sre,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:wre,SEMATTRS_MESSAGING_KAFKA_PARTITION:kre,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:_re,SEMATTRS_MESSAGING_MESSAGE_ID:fre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:bre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:gre,SEMATTRS_MESSAGING_OPERATION:vre,SEMATTRS_MESSAGING_PROTOCOL:ure,SEMATTRS_MESSAGING_PROTOCOL_VERSION:dre,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:xre,SEMATTRS_MESSAGING_SYSTEM:sre,SEMATTRS_MESSAGING_TEMP_DESTINATION:pre,SEMATTRS_MESSAGING_URL:hre,SEMATTRS_NET_HOST_CARRIER_ICC:hte,SEMATTRS_NET_HOST_CARRIER_MCC:ute,SEMATTRS_NET_HOST_CARRIER_MNC:dte,SEMATTRS_NET_HOST_CARRIER_NAME:pte,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:cte,SEMATTRS_NET_HOST_CONNECTION_TYPE:lte,SEMATTRS_NET_HOST_IP:ate,SEMATTRS_NET_HOST_NAME:ste,SEMATTRS_NET_HOST_PORT:ite,SEMATTRS_NET_PEER_IP:rte,SEMATTRS_NET_PEER_NAME:ote,SEMATTRS_NET_PEER_PORT:nte,SEMATTRS_NET_TRANSPORT:tte,SEMATTRS_PEER_SERVICE:fte,SEMATTRS_RPC_GRPC_STATUS_CODE:Ore,SEMATTRS_RPC_JSONRPC_ERROR_CODE:Lre,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:Nre,SEMATTRS_RPC_JSONRPC_REQUEST_ID:jre,SEMATTRS_RPC_JSONRPC_VERSION:Rre,SEMATTRS_RPC_METHOD:Tre,SEMATTRS_RPC_SERVICE:Ere,SEMATTRS_RPC_SYSTEM:Are,SEMATTRS_THREAD_ID:vte,SEMATTRS_THREAD_NAME:yte,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:Eae,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:Aae,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:Tae,SEMRESATTRS_AWS_ECS_TASK_ARN:Oae,SEMRESATTRS_AWS_ECS_TASK_FAMILY:Rae,SEMRESATTRS_AWS_ECS_TASK_REVISION:jae,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:Lae,SEMRESATTRS_AWS_LOG_GROUP_ARNS:Iae,SEMRESATTRS_AWS_LOG_GROUP_NAMES:Nae,SEMRESATTRS_AWS_LOG_STREAM_ARNS:Mae,SEMRESATTRS_AWS_LOG_STREAM_NAMES:Pae,SEMRESATTRS_CLOUD_ACCOUNT_ID:Sae,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:kae,SEMRESATTRS_CLOUD_PLATFORM:_ae,SEMRESATTRS_CLOUD_PROVIDER:wae,SEMRESATTRS_CLOUD_REGION:Cae,SEMRESATTRS_CONTAINER_ID:$ae,SEMRESATTRS_CONTAINER_IMAGE_NAME:Uae,SEMRESATTRS_CONTAINER_IMAGE_TAG:Fae,SEMRESATTRS_CONTAINER_NAME:Dae,SEMRESATTRS_CONTAINER_RUNTIME:zae,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:Bae,SEMRESATTRS_DEVICE_ID:qae,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:Hae,SEMRESATTRS_DEVICE_MODEL_NAME:Vae,SEMRESATTRS_FAAS_ID:Wae,SEMRESATTRS_FAAS_INSTANCE:Kae,SEMRESATTRS_FAAS_MAX_MEMORY:Jae,SEMRESATTRS_FAAS_NAME:Gae,SEMRESATTRS_FAAS_VERSION:Yae,SEMRESATTRS_HOST_ARCH:eie,SEMRESATTRS_HOST_ID:Qae,SEMRESATTRS_HOST_IMAGE_ID:rie,SEMRESATTRS_HOST_IMAGE_NAME:tie,SEMRESATTRS_HOST_IMAGE_VERSION:nie,SEMRESATTRS_HOST_NAME:Zae,SEMRESATTRS_HOST_TYPE:Xae,SEMRESATTRS_K8S_CLUSTER_NAME:oie,SEMRESATTRS_K8S_CONTAINER_NAME:pie,SEMRESATTRS_K8S_CRONJOB_NAME:Sie,SEMRESATTRS_K8S_CRONJOB_UID:wie,SEMRESATTRS_K8S_DAEMONSET_NAME:vie,SEMRESATTRS_K8S_DAEMONSET_UID:bie,SEMRESATTRS_K8S_DEPLOYMENT_NAME:fie,SEMRESATTRS_K8S_DEPLOYMENT_UID:hie,SEMRESATTRS_K8S_JOB_NAME:xie,SEMRESATTRS_K8S_JOB_UID:yie,SEMRESATTRS_K8S_NAMESPACE_NAME:sie,SEMRESATTRS_K8S_NODE_NAME:aie,SEMRESATTRS_K8S_NODE_UID:iie,SEMRESATTRS_K8S_POD_NAME:cie,SEMRESATTRS_K8S_POD_UID:lie,SEMRESATTRS_K8S_REPLICASET_NAME:die,SEMRESATTRS_K8S_REPLICASET_UID:uie,SEMRESATTRS_K8S_STATEFULSET_NAME:gie,SEMRESATTRS_K8S_STATEFULSET_UID:mie,SEMRESATTRS_OS_DESCRIPTION:kie,SEMRESATTRS_OS_NAME:_ie,SEMRESATTRS_OS_TYPE:Cie,SEMRESATTRS_OS_VERSION:Aie,SEMRESATTRS_PROCESS_COMMAND:Rie,SEMRESATTRS_PROCESS_COMMAND_ARGS:Lie,SEMRESATTRS_PROCESS_COMMAND_LINE:jie,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:Tie,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:Oie,SEMRESATTRS_PROCESS_OWNER:Nie,SEMRESATTRS_PROCESS_PID:Eie,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:Mie,SEMRESATTRS_PROCESS_RUNTIME_NAME:Iie,SEMRESATTRS_PROCESS_RUNTIME_VERSION:Pie,SEMRESATTRS_SERVICE_INSTANCE_ID:zie,SEMRESATTRS_SERVICE_NAME:Die,SEMRESATTRS_SERVICE_NAMESPACE:$ie,SEMRESATTRS_SERVICE_VERSION:Uie,SEMRESATTRS_TELEMETRY_AUTO_VERSION:Hie,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:Bie,SEMRESATTRS_TELEMETRY_SDK_NAME:Fie,SEMRESATTRS_TELEMETRY_SDK_VERSION:qie,SEMRESATTRS_WEBENGINE_DESCRIPTION:Wie,SEMRESATTRS_WEBENGINE_NAME:Vie,SEMRESATTRS_WEBENGINE_VERSION:Gie,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:Yce,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:Kce,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:Jce,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:Zce,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:Xce,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:epe,SemanticAttributes:$re,SemanticResourceAttributes:Yie,TELEMETRYSDKLANGUAGEVALUES_CPP:Fse,TELEMETRYSDKLANGUAGEVALUES_DOTNET:Bse,TELEMETRYSDKLANGUAGEVALUES_ERLANG:qse,TELEMETRYSDKLANGUAGEVALUES_GO:Hse,TELEMETRYSDKLANGUAGEVALUES_JAVA:Vse,TELEMETRYSDKLANGUAGEVALUES_NODEJS:Gse,TELEMETRYSDKLANGUAGEVALUES_PHP:Wse,TELEMETRYSDKLANGUAGEVALUES_PYTHON:Yse,TELEMETRYSDKLANGUAGEVALUES_RUBY:Kse,TELEMETRYSDKLANGUAGEVALUES_WEBJS:Jse,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:tpe,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:rpe,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:npe,TELEMETRY_SDK_LANGUAGE_VALUE_GO:ope,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:ape,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:ipe,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:spe,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:lpe,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:cpe,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:ppe,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:upe,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:yR,TelemetrySdkLanguageValues:Qse},Symbol.toStringTag,{value:"Module"})),bue="process.runtime.name",dy={[bm]:"opentelemetry",[bue]:"browser",[gm]:yR,[vm]:bee},dl=performance,vue=9,yue=6,xue=Math.pow(10,yue),ym=Math.pow(10,vue);function os(e){const t=e/1e3,r=Math.trunc(t),n=Math.round(e%1e3*xue);return[r,n]}function xR(e){const t=os(dl.timeOrigin),r=os(typeof e=="number"?e:dl.now());return CR(t,r)}function rd(e){if(hy(e))return e;if(typeof e=="number")return e<dl.timeOrigin?xR(e):os(e);if(e instanceof Date)return os(e.getTime());throw TypeError("Invalid input type")}function wue(e,t){let r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=ym),[r,n]}function fi(e){return e[0]*ym+e[1]}function wR(e){return e[0]*1e6+e[1]/1e3}function hy(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function SR(e){return hy(e)||typeof e=="number"||e instanceof Date}function CR(e,t){const r=[e[0]+t[0],e[1]+t[1]];return r[1]>=ym&&(r[1]-=ym,r[0]+=1),r}var Gn;(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Gn||(Gn={}));class Sue{_propagators;_fields;constructor(t={}){this._propagators=t.propagators??[];const r=new Set;for(const n of this._propagators){const o=typeof n.fields=="function"?n.fields():[];for(const a of o)r.add(a)}this._fields=Array.from(r)}inject(t,r,n){for(const o of this._propagators)try{o.inject(t,r,n)}catch(a){ct.warn(`Failed to inject with ${o.constructor.name}. Err: ${a.message}`)}}extract(t,r,n){return this._propagators.reduce((o,a)=>{try{return a.extract(o,r,n)}catch(i){ct.warn(`Failed to extract with ${a.constructor.name}. Err: ${i.message}`)}return o},t)}fields(){return this._fields.slice()}}const fy="[_0-9a-z-*/]",Cue=`[a-z]${fy}{0,255}`,kue=`[a-z0-9]${fy}{0,240}@[a-z]${fy}{0,13}`,_ue=new RegExp(`^(?:${Cue}|${kue})$`),Aue=/^[ -~]{0,255}[!-~]$/,Eue=/,|=/;function kR(e){return _ue.test(e)}function _R(e){return Aue.test(e)&&!Eue.test(e)}const Tue=32,AR=512,ER=",",TR="=";class R3{_length;_rawTraceState;_internalState;constructor(t){this._rawTraceState=typeof t=="string"?t:"",this._length=this._rawTraceState.length}set(t,r){if(!kR(t)||!_R(r))return this;const n=this._getState(),o=n.get(t);let a=this._length;if(typeof o=="string"?a+=r.length-o.length:a+=t.length+r.length+(n.size>0?2:1),a>AR)return this;const i=new Map(n);return i.delete(t),i.set(t,r),this._fromState(i,a)}unset(t){const r=this._getState(),n=r.get(t);if(typeof n!="string")return this;let o=this._length-(t.length+n.length+1);r.size>1&&(o=o-1);const a=new Map(r);return a.delete(t),this._fromState(a,o)}get(t){return this._getState().get(t)}serialize(){let t="",r=0;for(const n of this._getState())r>0&&(t=ER+t),t=`${n[0]}${TR}${n[1]}`+t,r++;return t}_getState(){if(this._internalState)return this._internalState;const t=this._rawTraceState.split(ER),r=new Map;let n=0;for(const o of t){const a=o.trim(),i=a.indexOf(TR);if(i===-1)continue;const l=a.slice(0,i),p=a.slice(i+1);if(!kR(l)||!_R(p))continue;const u=n+a.length+(r.size>0?1:0);if(!(u>AR)&&(r.set(l,p),n=u,r.size>=Tue))break}return this._length=n,this._internalState=new Map(Array.from(r.entries()).reverse()),this._internalState}_fromState(t,r){const n=Object.create(R3.prototype);return n._internalState=t,n._length=r,n}}const my="traceparent",gy="tracestate",Oue="00",Rue="(?!ff)[\\da-f]{2}",jue="(?![0]{32})[\\da-f]{32}",Lue="(?![0]{16})[\\da-f]{16}",Nue="[\\da-f]{2}",Iue=new RegExp(`^\\s?(${Rue})-(${jue})-(${Lue})-(${Nue})(-.*)?\\s?$`);function Pue(e){const t=Iue.exec(e);return!t||t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}class Mue{inject(t,r,n){const o=On.getSpanContext(t);if(!o||cy(t)||!Zu(o))return;const a=`${Oue}-${o.traceId}-${o.spanId}-0${Number(o.traceFlags||ta.NONE).toString(16)}`;n.set(r,my,a),o.traceState&&n.set(r,gy,o.traceState.serialize())}extract(t,r,n){const o=n.get(r,my);if(!o)return t;const a=Array.isArray(o)?o[0]:o;if(typeof a!="string")return t;const i=Pue(a);if(!i)return t;i.isRemote=!0;const l=n.get(r,gy);if(l){const p=Array.isArray(l)?l.join(","):l;i.traceState=new R3(typeof p=="string"?p:void 0)}return On.setSpanContext(t,i)}fields(){return[my,gy]}}const Due="[object Object]",$ue="[object Null]",zue="[object Undefined]",Uue=Function.prototype,OR=Uue.toString,Fue=OR.call(Object),Bue=Object.getPrototypeOf,RR=Object.prototype,jR=RR.hasOwnProperty,hl=Symbol?Symbol.toStringTag:void 0,LR=RR.toString;function NR(e){if(!que(e)||Hue(e)!==Due)return!1;const t=Bue(e);if(t===null)return!0;const r=jR.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&OR.call(r)===Fue}function que(e){return e!=null&&typeof e=="object"}function Hue(e){return e==null?e===void 0?zue:$ue:hl&&hl in Object(e)?Vue(e):Gue(e)}function Vue(e){const t=jR.call(e,hl),r=e[hl];let n=!1;try{e[hl]=void 0,n=!0}catch{}const o=LR.call(e);return n&&(t?e[hl]=r:delete e[hl]),o}function Gue(e){return LR.call(e)}const Wue=20;function Yue(...e){let t=e.shift();const r=new WeakMap;for(;e.length>0;)t=IR(t,e.shift(),0,r);return t}function by(e){return xm(e)?e.slice():e}function IR(e,t,r=0,n){let o;if(!(r>Wue)){if(r++,wm(e)||wm(t)||MR(t))o=by(t);else if(xm(e)){if(o=e.slice(),xm(t))for(let a=0,i=t.length;a<i;a++)o.push(by(t[a]));else if(nd(t)){const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];p==="__proto__"||p==="constructor"||p==="prototype"||(o[p]=by(t[p]))}}}else if(nd(e))if(nd(t)){if(!Kue(e,t))return t;o=Object.assign({},e);const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];if(p==="__proto__"||p==="constructor"||p==="prototype")continue;const u=t[p];if(wm(u))typeof u>"u"?delete o[p]:o[p]=u;else{const h=o[p],f=u;if(PR(e,p,n)||PR(t,p,n))delete o[p];else{if(nd(h)&&nd(f)){const b=n.get(h)||[],v=n.get(f)||[];b.push({obj:e,key:p}),v.push({obj:t,key:p}),n.set(h,b),n.set(f,v)}o[p]=IR(o[p],u,r,n)}}}}else o=t;return o}}function PR(e,t,r){const n=r.get(e[t])||[];for(let o=0,a=n.length;o<a;o++){const i=n[o];if(i.key===t&&i.obj===e)return!0}return!1}function xm(e){return Array.isArray(e)}function MR(e){return typeof e=="function"}function nd(e){return!wm(e)&&!xm(e)&&!MR(e)&&typeof e=="object"}function wm(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e>"u"||e instanceof Date||e instanceof RegExp||e===null}function Kue(e,t){return!(!NR(e)||!NR(t))}function Jue(e,t){return typeof t=="string"?e===t:!!e.match(t)}class Que{_promise;_resolve;_reject;constructor(){this._promise=new Promise((t,r)=>{this._resolve=t,this._reject=r})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class DR{_isCalled=!1;_deferred=new Que;_callback;_that;constructor(t,r){this._callback=t,this._that=r}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...t){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...t)).then(r=>this._deferred.resolve(r),r=>this._deferred.reject(r))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}function Zue(e,t){return new Promise(r=>{Po.with(K9(Po.active()),()=>{e.export(t,r)})})}const Xue={_export:Zue};let Sm;function $R(){if(Sm===void 0)try{const e=globalThis.process.argv0;Sm=e?`unknown_service:${e}`:"unknown_service"}catch{Sm="unknown_service"}return Sm}const od=e=>e!==null&&typeof e=="object"&&typeof e.then=="function";class fh{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,r){const n=new fh({},r);return n._rawAttributes=UR(t),n._asyncAttributesPending=t.filter(([o,a])=>od(a)).length>0,n}constructor(t,r){const n=t.attributes??{};this._rawAttributes=Object.entries(n).map(([o,a])=>(od(a)&&(this._asyncAttributesPending=!0),[o,a])),this._rawAttributes=UR(this._rawAttributes),this._schemaUrl=tde(r?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){const[r,n]=this._rawAttributes[t];this._rawAttributes[t]=[r,od(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const t={};for(const[r,n]of this._rawAttributes){if(od(n)){ct.debug(`Unsettled resource attribute ${r} skipped`);continue}n!=null&&(t[r]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;const r=rde(this,t),n=r?{schemaUrl:r}:void 0;return fh.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],n)}}function Cm(e,t){return fh.FromAttributeList(Object.entries(e),t)}function ede(e,t){return new fh(e,t)}function vy(){return Cm({})}function zR(){return Cm({[uy]:$R(),[gm]:dy[gm],[bm]:dy[bm],[vm]:dy[vm]})}function UR(e){return e.map(([t,r])=>od(r)?[t,r.catch(n=>{ct.debug("promise rejection for resource attribute: %s - %s",t,n)})]:[t,r])}function tde(e){if(typeof e=="string"||e===void 0)return e;ct.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e)}function rde(e,t){const r=e?.schemaUrl,n=t?.schemaUrl,o=r===void 0||r==="",a=n===void 0||n==="";if(o)return n;if(a||r===n)return r;ct.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',r,n)}const nde=(e={})=>(e.detectors||[]).map(t=>{try{const r=ede(t.detect(e));return ct.debug(`${t.constructor.name} found resource.`,r),r}catch(r){return ct.debug(`${t.constructor.name} failed: ${r.message}`),vy()}}).reduce((t,r)=>t.merge(r),vy());class ode{_MAX_LENGTH=255;_COMMA_SEPARATOR=",";_LABEL_KEY_VALUE_SPLITTER="=";detect(t){return{attributes:{}}}_parseResourceAttributes(t){if(!t)return{};const r={},n=t.split(this._COMMA_SEPARATOR).filter(o=>o.trim()!=="");for(const o of n){const a=o.split(this._LABEL_KEY_VALUE_SPLITTER);if(a.length!==2)throw new Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${o}". Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);const[i,l]=a,p=i.trim(),u=l.trim();if(p.length===0)throw new Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${o}".`);let h,f;try{h=decodeURIComponent(p),f=decodeURIComponent(u)}catch(b){throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${o}": ${b instanceof Error?b.message:b}`,{cause:b})}if(h.length>this._MAX_LENGTH)throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${h}".`);if(f.length>this._MAX_LENGTH)throw new Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${h}".`);r[h]=f}return r}}const ade=new ode;class ide{detect(){return{attributes:{}}}}const km=new ide,sde=km,lde=km,cde=km,pde=km,ude=Object.freeze(Object.defineProperty({__proto__:null,defaultResource:zR,defaultServiceName:$R,detectResources:nde,emptyResource:vy,envDetector:ade,hostDetector:sde,osDetector:lde,processDetector:cde,resourceFromAttributes:Cm,serviceInstanceIdDetector:pde},Symbol.toStringTag,{value:"Module"})),dde="exception",yy=Symbol.for("nodejs.util.inspect.custom");function xy(e){const t={};for(const[r,n]of e.getRawAttributes())typeof n?.then!="function"&&n!=null&&(t[r]??=n);return t}function wy(e,t,r,n,o){if(typeof r=="number"&&r<0){const i=`[${e}]`;return n?.stylize?n.stylize(i,"special"):i}if(typeof o!="function"||!n)return t;const a={...n,depth:n.depth==null?n.depth:n.depth-1};return`${e} ${o(t,a)}`}class hde{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:ns.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(t){const r=Date.now();if(this._spanContext=t.spanContext,this._performanceStartTime=dl.now(),this._performanceOffset=r-(this._performanceStartTime+dl.timeOrigin),this._startTimeProvided=t.startTime!=null,this._spanLimits=t.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit??0,this._spanProcessor=t.spanProcessor,this.name=t.name,this.parentSpanContext=t.parentSpanContext,this.kind=t.kind,t.links)for(const n of t.links)this.addLink(n);this.startTime=this._getTime(t.startTime??r),this.resource=t.resource,this.instrumentationScope=t.scope,this._recordEndMetrics=t.recordEndMetrics,t.attributes!=null&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,r){if(r==null||this._isSpanEnded())return this;if(t.length===0)return ct.warn(`Invalid attribute key: ${t}`),this;if(!r_(r))return ct.warn(`Invalid attribute value set for key: ${t}`),this;const{attributeCountLimit:n}=this._spanLimits,o=!Object.prototype.hasOwnProperty.call(this.attributes,t);return n!==void 0&&this._attributesCount>=n&&o?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(r),o&&this._attributesCount++,this)}setAttributes(t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.setAttribute(r,t[r]);return this}addEvent(t,r,n){if(this._isSpanEnded())return this;const{eventCountLimit:o}=this._spanLimits;if(o===0)return ct.warn("No events allowed."),this._droppedEventsCount++,this;o!==void 0&&this.events.length>=o&&(this._droppedEventsCount===0&&ct.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),SR(r)&&(SR(n)||(n=r),r=void 0);const a=td(r),{attributePerEventCountLimit:i}=this._spanLimits,l={};let p=0,u=0;for(const h in a){if(!Object.prototype.hasOwnProperty.call(a,h))continue;const f=a[h];if(i!==void 0&&u>=i){p++;continue}l[h]=this._truncateToSize(f),u++}return this.events.push({name:t,attributes:l,time:this._getTime(n),droppedAttributesCount:p}),this}addLink(t){if(this._isSpanEnded())return this;const{linkCountLimit:r}=this._spanLimits;if(r===0)return this._droppedLinksCount++,this;r!==void 0&&this.links.length>=r&&(this._droppedLinksCount===0&&ct.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);const{attributePerLinkCountLimit:n}=this._spanLimits,o=td(t.attributes),a={};let i=0,l=0;for(const u in o){if(!Object.prototype.hasOwnProperty.call(o,u))continue;const h=o[u];if(n!==void 0&&l>=n){i++;continue}a[u]=this._truncateToSize(h),l++}const p={context:t.context};return l>0&&(p.attributes=a),i>0&&(p.droppedAttributesCount=i),this.links.push(p),this}addLinks(t){for(const r of t)this.addLink(r);return this}setStatus(t){if(this._isSpanEnded())return this;if(t.code===ns.UNSET)return this;if(this.status.code===ns.OK)return this;const r={code:t.code};return t.code===ns.ERROR&&(typeof t.message=="string"?r.message=t.message:t.message!=null&&ct.warn(`Dropping invalid status.message of type '${typeof t.message}', expected 'string'`)),this.status=r,this}updateName(t){return this._isSpanEnded()?this:(this.name=t,this)}end(t){if(this._isSpanEnded()){ct.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(t),this._duration=wue(this.startTime,this.endTime),this._duration[0]<0&&(ct.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&ct.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&ct.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(t){if(typeof t=="number"&&t<=dl.now())return xR(t+this._performanceOffset);if(typeof t=="number")return os(t);if(t instanceof Date)return os(t.getTime());if(hy(t))return t;if(this._startTimeProvided)return os(Date.now());const r=dl.now()-this._performanceStartTime;return CR(this.startTime,os(r))}isRecording(){return this._ended===!1}recordException(t,r){const n={};typeof t=="string"?n[fm]=t:t&&(t.code?n[mm]=t.code.toString():t.name&&(n[mm]=t.name),t.message&&(n[fm]=t.message),t.stack&&(n[bR]=t.stack)),n[mm]||n[fm]?this.addEvent(dde,n,r):ct.warn(`Failed to record an exception ${t}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){const t=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ct.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,t)}return this._ended}_truncateToLimitUtil(t,r){return t.length<=r?t:t.substring(0,r)}_truncateToSize(t){const r=this._attributeValueLengthLimit;return r<=0?(ct.warn(`Attribute value limit must be positive, got ${r}`),t):typeof t=="string"?this._truncateToLimitUtil(t,r):Array.isArray(t)?t.map(n=>typeof n=="string"?this._truncateToLimitUtil(n,r):n):t}[yy](t,r,n){const o={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this.resource)}};return wy("SpanImpl",o,t,r,n)}}var ra;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(ra||(ra={}));class ad{shouldSample(){return{decision:ra.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class fl{shouldSample(){return{decision:ra.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class id{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(t){this._root=t.root,this._root||(ul(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new fl),this._remoteParentSampled=t.remoteParentSampled??new fl,this._remoteParentNotSampled=t.remoteParentNotSampled??new ad,this._localParentSampled=t.localParentSampled??new fl,this._localParentNotSampled=t.localParentNotSampled??new ad}shouldSample(t,r,n,o,a,i){const l=On.getSpanContext(t);return!l||!Zu(l)?this._root.shouldSample(t,r,n,o,a,i):l.isRemote?l.traceFlags&ta.SAMPLED?this._remoteParentSampled.shouldSample(t,r,n,o,a,i):this._remoteParentNotSampled.shouldSample(t,r,n,o,a,i):l.traceFlags&ta.SAMPLED?this._localParentSampled.shouldSample(t,r,n,o,a,i):this._localParentNotSampled.shouldSample(t,r,n,o,a,i)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Sy{_ratio;_upperBound;constructor(t=0){this._ratio=this._normalize(t),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(t,r){return{decision:ty(r)&&this._accumulate(r)<this._upperBound?ra.RECORD_AND_SAMPLED:ra.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(t){return typeof t!="number"||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let r=0;for(let n=0;n<32;n+=8){let o=0;for(let a=0;a<8;a++){const i=t.charCodeAt(n+a),l=i<58?i-48:i<71?i-55:i-87;o=o<<4|l}r=(r^o)>>>0}return r}}var Aa;(function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"})(Aa||(Aa={}));const FR=1;function BR(){return{sampler:qR(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function qR(){const e=Aa.ParentBasedAlwaysOn;switch(e){case Aa.AlwaysOn:return new fl;case Aa.AlwaysOff:return new ad;case Aa.ParentBasedAlwaysOn:return new id({root:new fl});case Aa.ParentBasedAlwaysOff:return new id({root:new ad});case Aa.TraceIdRatio:return new Sy(HR());case Aa.ParentBasedTraceIdRatio:return new id({root:new Sy(HR())});default:return ct.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${Aa.ParentBasedAlwaysOn}".`),new id({root:new fl})}}function HR(){return ct.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${FR}.`),FR}const fde=128,mde=1/0;function gde(e){const t={sampler:qR()},r=BR(),n=Object.assign({},r,t,e);return n.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),n}function bde(e){const t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??fde,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??mde,Object.assign({},e,{spanLimits:t})}class vde{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(t,r){this._exporter=t,this._maxExportBatchSize=typeof r?.maxExportBatchSize=="number"?r.maxExportBatchSize:512,this._maxQueueSize=typeof r?.maxQueueSize=="number"?r.maxQueueSize:2048,this._scheduledDelayMillis=typeof r?.scheduledDelayMillis=="number"?r.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof r?.exportTimeoutMillis=="number"?r.exportTimeoutMillis:3e4,this._shutdownOnce=new DR(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(t,r){}onEnd(t){this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)!==0&&this._addToBuffer(t)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(t){if(this._finishedSpans.length>=this._maxQueueSize){this._droppedSpansCount===0&&ct.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ct.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,r)=>{const n=[],o=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let a=0,i=o;a<i;a++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{t()}).catch(r)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((t,r)=>{const n=setTimeout(()=>{r(new Error("Timeout"))},this._exportTimeoutMillis);Po.with(K9(Po.active()),()=>{let o;this._finishedSpans.length<=this._maxExportBatchSize?(o=this._finishedSpans,this._finishedSpans=[]):o=this._finishedSpans.splice(0,this._maxExportBatchSize);const a=()=>this._exporter.export(o,l=>{clearTimeout(n),l.code===Gn.SUCCESS?t():r(l.error??new Error("BatchSpanProcessor: span export failed"))});let i=null;for(let l=0,p=o.length;l<p;l++){const u=o[l];u.resource.asyncAttributesPending&&u.resource.waitForAsyncAttributes&&(i??=[],i.push(u.resource.waitForAsyncAttributes()))}i===null?a():Promise.all(i).then(a,l=>{ul(l),r(l)})})})}_maybeStartTimer(){if(this._isExporting)return;const t=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(r=>{this._isExporting=!1,ul(r)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),typeof this._timer!="number"&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class VR extends vde{_visibilityChangeListener;_pageHideListener;constructor(t,r){super(t,r),this.onInit(r)}onInit(t){t?.disableAutoFlushOnDocumentHide!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{ul(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{ul(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const yde=16,xde=8,GR=new Uint8Array(yde),WR=new Uint8Array(xde),wde=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function YR(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function KR(e){let t="";for(let r=0;r<e.length;r++)t+=wde[e[r]];return t}class JR{generateTraceId(){return YR(GR),KR(GR)}generateSpanId(){return YR(WR),KR(WR)}}const Sde="otel.span.parent.origin",QR="otel.span.sampling_result",Cde="otel.sdk.span.live",kde="otel.sdk.span.started";class _de{startedSpans;liveSpans;constructor(t){this.startedSpans=t.createCounter(kde,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=t.createUpDownCounter(Cde,{unit:"{span}",description:"The number of currently live spans."})}startSpan(t,r){const n=Ede(r);if(this.startedSpans.add(1,{[Sde]:Ade(t),[QR]:n}),r===ra.NOT_RECORD)return()=>{};const o={[QR]:n};return this.liveSpans.add(1,o),()=>{this.liveSpans.add(-1,o)}}}function Ade(e){return e?e.isRemote?"remote":"local":"none"}function Ede(e){switch(e){case ra.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case ra.RECORD:return"RECORD_ONLY";case ra.NOT_RECORD:return"DROP"}}const Tde="2.8.0";class Ode{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(t,r,n,o){const a=gde(r);this._sampler=a.sampler,this._generalLimits=a.generalLimits,this._spanLimits=a.spanLimits,this._idGenerator=r.idGenerator||new JR,this._resource=n,this._spanProcessor=o,this.instrumentationScope=t;const i=a.meterProvider?a.meterProvider.getMeter("@opentelemetry/sdk-trace",Tde):M9();this._tracerMetrics=new _de(i)}startSpan(t,r={},n=Po.active()){r.root&&(n=On.deleteSpan(n));const o=On.getSpan(n);if(cy(n))return ct.debug("Instrumentation suppressed, returning Noop Span"),On.wrapSpanContext(Q0);const a=o?.spanContext(),i=this._idGenerator.generateSpanId();let l,p,u;!a||!On.isSpanContextValid(a)?p=this._idGenerator.generateTraceId():(p=a.traceId,u=a.traceState,l=a);const h=r.kind??ed.INTERNAL,f=(r.links??[]).map(_=>({context:_.context,attributes:td(_.attributes)})),b=td(r.attributes),v=this._sampler.shouldSample(n,p,t,h,b,f),y=this._tracerMetrics.startSpan(a,v.decision);u=v.traceState??u;const x=v.decision===Xu.RECORD_AND_SAMPLED?ta.SAMPLED:ta.NONE,k={traceId:p,spanId:i,traceFlags:x,traceState:u};if(v.decision===Xu.NOT_RECORD)return ct.debug("Recording is off, propagating context in a non-recording span"),On.wrapSpanContext(k);const w=td(Object.assign(b,v.attributes));return new hde({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:k,name:t,kind:h,links:f,parentSpanContext:l,attributes:w,startTime:r.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:y})}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??Po.active(),u=this.startSpan(t,a,p),h=On.setSpan(p,u);return Po.with(h,l,void 0,u)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}[yy](t,r,n){const o={instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this._resource)},spanLimits:this._spanLimits,generalLimits:this._generalLimits};return wy("Tracer",o,t,r,n)}}class Rde{_spanProcessors;constructor(t){this._spanProcessors=t}forceFlush(){const t=[];for(const r of this._spanProcessors)t.push(r.forceFlush());return new Promise(r=>{Promise.all(t).then(()=>{r()}).catch(n=>{ul(n||new Error("MultiSpanProcessor: forceFlush failed")),r()})})}onStart(t,r){for(const n of this._spanProcessors)n.onStart(t,r)}onEnding(t){for(const r of this._spanProcessors)r.onEnding&&r.onEnding(t)}onEnd(t){for(const r of this._spanProcessors)r.onEnd(t)}shutdown(){const t=[];for(const r of this._spanProcessors)t.push(r.shutdown());return new Promise((r,n)=>{Promise.all(t).then(()=>{r()},n)})}}var ml;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(ml||(ml={}));class ZR{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(t={}){const r=Yue({},BR(),bde(t));this._resource=r.resource??zR(),this._config=Object.assign({},r,{resource:this._resource});const n=[];t.spanProcessors?.length&&n.push(...t.spanProcessors),this._activeSpanProcessor=new Rde(n)}getTracer(t,r,n){const o=`${t}@${r||""}:${n?.schemaUrl||""}`;return this._tracers.has(o)||this._tracers.set(o,new Ode({name:t,version:r,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(o)}forceFlush(){const t=this._config.forceFlushTimeoutMillis,r=this._activeSpanProcessor._spanProcessors.map(n=>new Promise(o=>{let a;const i=setTimeout(()=>{o(new Error(`Span processor did not completed within timeout period of ${t} ms`)),a=ml.timeout},t);n.forceFlush().then(()=>{clearTimeout(i),a!==ml.timeout&&(a=ml.resolved,o(a))}).catch(l=>{clearTimeout(i),a=ml.error,o(l)})}));return new Promise((n,o)=>{Promise.all(r).then(a=>{const i=a.filter(l=>l!==ml.resolved);i.length>0?o(i):n()}).catch(a=>o([a]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[yy](t,r,n){const o=this._activeSpanProcessor._spanProcessors,a={resource:{attributes:xy(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:o.map(i=>i.constructor?.name??"SpanProcessor")};return wy("BasicTracerProvider",a,t,r,n)}}class jde{export(t,r){return this._sendSpans(t,r)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(t){return{resource:{attributes:t.resource.attributes},instrumentationScope:t.instrumentationScope,traceId:t.spanContext().traceId,parentSpanContext:t.parentSpanContext,traceState:t.spanContext().traceState?.serialize(),name:t.name,id:t.spanContext().spanId,kind:t.kind,timestamp:wR(t.startTime),duration:wR(t.duration),attributes:t.attributes,status:t.status,events:t.events,links:t.links}}_sendSpans(t,r){for(const n of t)console.dir(this._exportInfo(n),{depth:3});if(r)return r({code:Gn.SUCCESS})}}class Lde{_finishedSpans=[];_stopped=!1;export(t,r){if(this._stopped)return r({code:Gn.FAILED,error:new Error("Exporter has been stopped")});this._finishedSpans.push(...t),setTimeout(()=>r({code:Gn.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}class Nde{_exporter;_shutdownOnce;_pendingExports;constructor(t){this._exporter=t,this._shutdownOnce=new DR(this._shutdown,this),this._pendingExports=new Set}async forceFlush(){await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush&&await this._exporter.forceFlush()}onStart(t,r){}onEnd(t){if(this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)===0)return;const r=this._doExport(t).catch(n=>ul(n));this._pendingExports.add(r),r.finally(()=>this._pendingExports.delete(r))}async _doExport(t){t.resource.asyncAttributesPending&&await t.resource.waitForAsyncAttributes?.();const r=await Xue._export(this._exporter,[t]);if(r.code!==Gn.SUCCESS)throw r.error??new Error(`SimpleSpanProcessor: span export failed (status ${r})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._exporter.shutdown()}}class Ide{onStart(t,r){}onEnd(t){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}class XR{_enabled=!1;_currentContext=cl;_bindFunction(t=cl,r){const n=this,o=function(...a){return n.with(t,()=>r.apply(this,a))};return Object.defineProperty(o,"length",{enumerable:!1,configurable:!0,writable:!1,value:r.length}),o}active(){return this._currentContext}bind(t,r){return t===void 0&&(t=this.active()),typeof r=="function"?this._bindFunction(t,r):r}disable(){return this._currentContext=cl,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=cl,this)}with(t,r,n,...o){const a=this._currentContext;this._currentContext=t||cl;try{return r.call(n,...o)}finally{this._currentContext=a}}}function Pde(e){if(e!==null){if(e===void 0){const t=new XR;t.enable(),Po.setGlobalContextManager(t);return}e.enable(),Po.setGlobalContextManager(e)}}function Mde(e){if(e!==null){if(e===void 0){pl.setGlobalPropagator(new Sue({propagators:[new Mue,new pee]}));return}pl.setGlobalPropagator(e)}}class ej extends ZR{constructor(t={}){super(t)}register(t={}){On.setGlobalTracerProvider(this),Mde(t.propagator),Pde(t.contextManager)}}var xr;(function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.START_TIME="startTime",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"})(xr||(xr={}));const Dde="http.response_content_length",$de="http.response_content_length_uncompressed";let Cy;function zde(){return Cy||(Cy=document.createElement("a")),Cy}function tj(e,t){return t in e}function Ea(e,t,r,n=!0){if(tj(r,t)&&typeof r[t]=="number"&&!(n&&r[t]===0))return e.addEvent(t,r[t])}function Ude(e,t,r=!1,n,o){if(n===void 0&&(n=t[xr.START_TIME]!==0),r||(Ea(e,xr.FETCH_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_END,t,n),Ea(e,xr.CONNECT_START,t,n),Ea(e,xr.SECURE_CONNECTION_START,t,n),Ea(e,xr.CONNECT_END,t,n),Ea(e,xr.REQUEST_START,t,n),Ea(e,xr.RESPONSE_START,t,n),Ea(e,xr.RESPONSE_END,t,n)),!o){const a=t[xr.ENCODED_BODY_SIZE];a!==void 0&&e.setAttribute(Dde,a);const i=t[xr.DECODED_BODY_SIZE];i!==void 0&&a!==i&&e.setAttribute($de,i)}}function rj(e){return e.slice().sort((t,r)=>{const n=t[xr.FETCH_START],o=r[xr.FETCH_START];return n>o?1:n<o?-1:0})}function nj(){return typeof location<"u"?location.origin:void 0}function Fde(e,t,r,n,o=new WeakSet,a){const i=_m(e);e=i.toString();const l=qde(e,t,r,n,o,a);if(l.length===0)return{mainRequest:void 0};if(l.length===1)return{mainRequest:l[0]};const p=rj(l);if(i.origin!==nj()&&p.length>1){let u=p[0],h=Bde(p,u[xr.RESPONSE_END],r);const f=u[xr.RESPONSE_END];return h[xr.FETCH_START]<f&&(h=u,u=void 0),{corsPreFlightRequest:u,mainRequest:h}}else return{mainRequest:l[0]}}function Bde(e,t,r){const n=fi(r),o=fi(rd(t));let a=e[1],i;const l=e.length;for(let p=1;p<l;p++){const u=e[p],h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END])),b=n-f;h>=o&&(!i||b<i)&&(i=b,a=u)}return a}function qde(e,t,r,n,o,a){const i=fi(t),l=fi(r);let p=n.filter(u=>{const h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END]));return u.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&u.name===e&&h>=i&&f<=l});return p.length>0&&(p=p.filter(u=>!o.has(u))),p}function _m(e){if(typeof URL=="function")return new URL(e,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);const t=zde();return t.href=e,t}function Hde(e){return _m(e).href}function oj(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const r=Gde(e,t);if(t&&r.indexOf("@id")>0)return r;let n="";return e.parentNode&&(n+=oj(e.parentNode,t)),n+=r,n}function Vde(e){if(!e.parentNode)return 0;const t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let r=Array.from(e.parentNode.childNodes);return r=r.filter(n=>{const o=n.localName;return t.indexOf(n.nodeType)>=0&&o===e.localName}),r.length>=1?r.indexOf(e)+1:0}function Gde(e,t){const r=e.nodeType,n=Vde(e);let o;if(r===Node.ELEMENT_NODE){const a=e.getAttribute("id");if(t&&a)return`//*[@id="${a}"]`;o=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)o="text()";else if(r===Node.COMMENT_NODE)o="comment()";else return"";return o&&n>1?`/${o}[${n}]`:`/${o}`}function Wde(e,t){let r=t||[];return(typeof r=="string"||r instanceof RegExp)&&(r=[r]),_m(e).origin===nj()?!0:r.some(n=>Jue(e,n))}const Yde=Object.freeze(Object.defineProperty({__proto__:null,AlwaysOffSampler:ad,AlwaysOnSampler:fl,BasicTracerProvider:ZR,BatchSpanProcessor:VR,ConsoleSpanExporter:jde,InMemorySpanExporter:Lde,NoopSpanProcessor:Ide,ParentBasedSampler:id,get PerformanceTimingNames(){return xr},RandomIdGenerator:JR,get SamplingDecision(){return ra},SimpleSpanProcessor:Nde,StackContextManager:XR,TraceIdRatioBasedSampler:Sy,WebTracerProvider:ej,addSpanNetworkEvent:Ea,addSpanNetworkEvents:Ude,getElementXPath:oj,getResource:Fde,hasKey:tj,normalizeUrl:Hde,parseUrl:_m,shouldPropagateTraceHeaders:Wde,sortResources:rj},Symbol.toStringTag,{value:"Module"})),Kde=Sa(Yde),Jde=Sa(ude);class Qde{_delegate;constructor(t){this._delegate=t}export(t,r){this._delegate.export(t,r)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class aj extends Error{code;name="OTLPExporterError";data;constructor(t,r,n){super(t),this.data=n,this.code=r}}function Zde(e){if(Number.isFinite(e)&&e>0)return e;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function Xde(e){if(e!=null)return async()=>e}function ehe(e,t,r){return{timeoutMillis:Zde(e.timeoutMillis??t.timeoutMillis??r.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??r.concurrencyLimit,compression:e.compression??t.compression??r.compression}}function the(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class rhe{_concurrencyLimit;_sendingPromises=[];constructor(t){this._concurrencyLimit=t}pushPromise(t){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(t);const r=()=>{const n=this._sendingPromises.indexOf(t);this._sendingPromises.splice(n,1)};t.then(r,r)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function nhe(e){return new rhe(e.concurrencyLimit)}function ohe(e){return Object.prototype.hasOwnProperty.call(e,"partialSuccess")}function ahe(){return{handleResponse(e){e==null||!ohe(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||ct.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}}}class ihe{_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(t,r,n,o,a){this._transport=t,this._serializer=r,this._responseHandler=n,this._promiseQueue=o,this._timeout=a,this._diagLogger=ct.createComponentLogger({namespace:"OTLPExportDelegate"})}export(t,r){if(this._diagLogger.debug("items to be sent",t),this._promiseQueue.hasReachedLimit()){r({code:Gn.FAILED,error:new Error("Concurrent export limit reached")});return}const n=this._serializer.serializeRequest(t);if(n==null){r({code:Gn.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(o=>{if(o.status==="success"){if(o.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(o.data))}catch(a){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",a,o.data)}r({code:Gn.SUCCESS});return}else if(o.status==="failure"&&o.error){r({code:Gn.FAILED,error:o.error});return}else o.status==="retryable"?r({code:Gn.FAILED,error:o.error??new aj("Export failed with retryable status")}):r({code:Gn.FAILED,error:new aj("Export failed with unknown error")})},o=>r({code:Gn.FAILED,error:o})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function she(e,t){return new ihe(e.transport,e.serializer,ahe(),e.promiseHandler,t.timeout)}function lhe(e,t,r){return she({transport:r,serializer:t,promiseHandler:nhe(e)},{timeout:e.timeoutMillis})}class ij{emit(t){}enabled(){return!1}}const che=new ij,Am=Symbol.for("io.opentelemetry.js.api.logs"),sd=globalThis;function phe(e,t,r){return n=>n===e?t:r}const sj=1;class uhe{getLogger(t,r,n){return new ij}}const lj=new uhe;class dhe{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}emit(t){this._getLogger().emit(t)}enabled(t){return this._getLogger().enabled(t)}_getLogger(){if(this._delegate)return this._delegate;const t=this._provider._getDelegateLogger(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):che}}class cj{getLogger(t,r,n){var o;return(o=this._getDelegateLogger(t,r,n))!==null&&o!==void 0?o:new dhe(this,t,r,n)}_getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:lj}_setDelegate(t){this._delegate=t}_getDelegateLogger(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getLogger(t,r,n)}}class j3{constructor(){this._proxyLoggerProvider=new cj}static getInstance(){return this._instance||(this._instance=new j3),this._instance}setGlobalLoggerProvider(t){return sd[Am]?this.getLoggerProvider():(sd[Am]=phe(sj,t,lj),this._proxyLoggerProvider._setDelegate(t),t)}getLoggerProvider(){var t,r;return(r=(t=sd[Am])===null||t===void 0?void 0:t.call(sd,sj))!==null&&r!==void 0?r:this._proxyLoggerProvider}getLogger(t,r,n){return this.getLoggerProvider().getLogger(t,r,n)}disable(){delete sd[Am],this._proxyLoggerProvider=new cj}}const pj=j3.getInstance();function hhe(e,t){const r={attributes:ld(e.attributes,t),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==""&&(r.schemaUrl=n),r}function fhe(e,t){const r={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(r.attributes=ld(e.attributes,t),r.droppedAttributesCount=e.droppedAttributesCount??0),r}function ld(e,t){return Object.keys(e).map(r=>mhe(r,e[r],t))}function mhe(e,t,r){return{key:e,value:ky(t,r)}}function ky(e,t){const r=typeof e;if(r==="string")return{stringValue:e};if(r==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(r==="boolean")return{boolValue:e};if(e instanceof Uint8Array)return{bytesValue:t.encodeUint8Array(e)};if(Array.isArray(e)){const n=new Array(e.length);for(let o=0;o<e.length;o++)n[o]=ky(e[o],t);return{arrayValue:{values:n}}}if(r==="object"&&e!=null){const n=Object.keys(e),o=new Array(n.length);for(let a=0;a<n.length;a++)o[a]={key:n[a],value:ky(e[n[a]],t)};return{kvlistValue:{values:o}}}return{}}function ghe(e){const t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}function bhe(e){return ghe(e).toString()}const vhe=typeof BigInt<"u"?bhe:fi;function uj(e){return e}const yhe={encodeHrTime:vhe,encodeSpanContext:uj,encodeOptionalSpanContext:uj,encodeUint8Array:e=>{if(typeof Buffer<"u")return Buffer.from(e).toString("base64");const t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=String.fromCharCode(e[r]);return btoa(t.join(""))}},xhe=256,whe=512;function dj(e,t){let r=e&255|xhe;return t&&(r|=whe),r}function She(e,t){const r=e.spanContext(),n=e.status,o=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(r.traceId),spanId:t.encodeSpanContext(r.spanId),parentSpanId:o,traceState:r.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:ld(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(a=>khe(a,t)),droppedEventsCount:e.droppedEventsCount,status:{code:n.code,message:n.message},links:e.links.map(a=>Che(a,t)),droppedLinksCount:e.droppedLinksCount,flags:dj(r.traceFlags,e.parentSpanContext?.isRemote)}}function Che(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0,flags:dj(e.context.traceFlags,e.context.isRemote)}}function khe(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function _he(e,t){return{resourceSpans:Ehe(e,t)}}function Ahe(e){const t=new Map;for(const r of e){let n=t.get(r.resource);n||(n=new Map,t.set(r.resource,n));const o=`${r.instrumentationScope.name}@${r.instrumentationScope.version||""}:${r.instrumentationScope.schemaUrl||""}`;let a=n.get(o);a||(a=[],n.set(o,a)),a.push(r)}return t}function Ehe(e,t){const r=Ahe(e),n=[],o=r.entries();let a=o.next();for(;!a.done;){const[i,l]=a.value,p=[],u=l.values();let h=u.next();for(;!h.done;){const v=h.value;if(v.length>0){const y=v.map(x=>She(x,t));p.push({scope:fhe(v[0].instrumentationScope,t),spans:y,schemaUrl:v[0].instrumentationScope.schemaUrl})}h=u.next()}const f=hhe(i,t),b={resource:f,scopeSpans:p,schemaUrl:f.schemaUrl};n.push(b),a=o.next()}return n}const The={serializeRequest:e=>{const t=_he(e,yhe);return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};const t=new TextDecoder;try{return JSON.parse(t.decode(e))}catch(r){return ct.warn(`Failed to parse trace export response: ${r.message}. Returning empty response`),{}}}},_y=5,Ohe=1e3,Rhe=5e3,jhe=1.5,hj=.2;function Lhe(){return Math.random()*(2*hj)-hj}class Nhe{_transport;constructor(t){this._transport=t}retry(t,r,n){return new Promise((o,a)=>{setTimeout(()=>{this._transport.send(t,r).then(o,a)},n)})}async send(t,r){let n=_y,o=Ohe;const a=Date.now()+r;let i=await this._transport.send(t,r);for(;i.status==="retryable"&&n>0;){n--;const l=Math.max(Math.min(o*(1+Lhe()),Rhe),0);o=o*jhe;const p=i.retryInMillis??l,u=a-Date.now();if(p>u)return ct.info(`Export retry time ${Math.round(p)}ms exceeds remaining timeout ${Math.round(u)}ms, not retrying further.`),i;ct.verbose(`Scheduling export retry in ${Math.round(p)}ms`),i=await this.retry(t,u,p)}return i.status==="success"?ct.verbose(`Export succeeded after ${_y-n} retry attempts.`):i.status==="retryable"?ct.info(`Export failed after maximum retry attempts (${_y}).`):ct.info(`Export failed with non-retryable error: ${i.error}`),i}shutdown(){return this._transport.shutdown()}}function Ihe(e){return new Nhe(e.transport)}function Phe(e){return e===429||e===502||e===503||e===504}function Mhe(e){if(e==null)return;const t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;const r=new Date(e).getTime()-Date.now();return r>=0?r:0}const Dhe=60*1024,$he=9;let Ay=0,Em=0;class zhe{_parameters;constructor(t){this._parameters=t}async send(t,r){const n=new AbortController,o=setTimeout(()=>n.abort(),r);let a=globalThis.fetch;typeof a.__original=="function"&&(a=a.__original);const i=t.byteLength,l=Ay+i>Dhe,p=Em>=$he,u=!l&&!p;if(u)Ay+=i,Em++;else{const h=l?"size limit":"count limit";ct.debug(`keepalive disabled: ${(i/1024).toFixed(1)}KB payload, ${Em} pending (${h})`)}try{const h=new URL(this._parameters.url),f=await a(h.href,{method:"POST",headers:await this._parameters.headers(),body:t,signal:n.signal,keepalive:u,mode:globalThis.location?globalThis.location.origin===h.origin?"same-origin":"cors":"no-cors"});if(f.status>=200&&f.status<=299)return ct.debug(`export response success (status: ${f.status})`),{status:"success"};if(Phe(f.status)){ct.warn(`export response retryable (status: ${f.status})`);const b=f.headers.get("Retry-After");return{status:"retryable",retryInMillis:Mhe(b)}}return ct.error(`export response failure (status: ${f.status})`),{status:"failure",error:new Error(`Fetch request failed with non-retryable status ${f.status}`)}}catch(h){return Fhe(h)?(ct.warn(`export request retryable (network error: ${h})`),{status:"retryable",error:new Error("Fetch request encountered a network error",{cause:h})}):(ct.error(`export request failure (error: ${h})`),{status:"failure",error:new Error("Fetch request errored",{cause:h})})}finally{clearTimeout(o),u&&(Ay-=i,Em--)}}shutdown(){}}function Uhe(e){return new zhe(e)}function Fhe(e){return e instanceof TypeError&&!e.cause}function Bhe(e,t){return lhe(e,t,Ihe({transport:Uhe(e)}))}function qhe(e){const t={};return Object.entries(e??{}).forEach(([r,n])=>{typeof n<"u"?t[r]=String(n):ct.warn(`Header "${r}" has invalid value (${n}) and will be ignored`)}),t}function Hhe(e,t,r){return async()=>{const n={...await r()},o={};return t!=null&&Object.assign(o,await t()),e!=null&&Object.assign(o,qhe(await e())),Object.assign(o,n)}}function Vhe(e){if(e!=null)try{const t=globalThis.location?.href;return new URL(e,t).href}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function Ghe(e,t,r){return{...ehe(e,t,r),headers:Hhe(e.headers,t.headers,r.headers),url:Vhe(e.url)??t.url??r.url}}function Whe(e,t){return{...the(),headers:async()=>e,url:"http://localhost:4318/"+t}}function Yhe(e){return typeof e.headers=="function"?e.headers:Xde(e.headers)}function Khe(e,t,r){return Ghe({url:e.url,timeoutMillis:e.timeoutMillis,headers:Yhe(e),concurrencyLimit:e.concurrencyLimit},{},Whe(r,t))}function Jhe(e,t,r,n){const o=Khe(e,r,n);return Bhe(o,t)}class fj extends Qde{constructor(t={}){super(Jhe(t,The,"v1/traces",{"Content-Type":"application/json"}))}}const Qhe=Object.freeze(Object.defineProperty({__proto__:null,OTLPTraceExporter:fj},Symbol.toStringTag,{value:"Module"})),Zhe=Sa(Qhe),Xhe=Sa(gue);function efe(e,t,r,n){for(let o=0,a=e.length;o<a;o++){const i=e[o];t&&i.setTracerProvider(t),r&&i.setMeterProvider(r),n&&i.setLoggerProvider&&i.setLoggerProvider(n),i.getConfig().enabled||i.enable()}}function tfe(e){e.forEach(t=>t.disable())}function mj(e){const t=e.tracerProvider||On.getTracerProvider(),r=e.meterProvider||hm.getMeterProvider(),n=e.loggerProvider||pj.getLoggerProvider(),o=e.instrumentations?.flat()??[];return efe(o,t,r,n),()=>{tfe(o)}}let go=console.error.bind(console);function cd(e,t,r){const n=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}const gj=(e,t,r)=>{if(!e||!e[t]){go("no original function "+String(t)+" to wrap");return}if(!r){go("no wrapper function"),go(new Error().stack);return}const n=e[t];if(typeof n!="function"||typeof r!="function"){go("original object and wrapper must be functions");return}const o=r(n,t);return cd(o,"__original",n),cd(o,"__unwrap",()=>{e[t]===o&&cd(e,t,n)}),cd(o,"__wrapped",!0),cd(e,t,o),o},rfe=(e,t,r)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to wrap on modules");return}e.forEach(n=>{t.forEach(o=>{gj(n,o,r)})})},bj=(e,t)=>{if(!e||!e[t]){go("no function to unwrap."),go(new Error().stack);return}const r=e[t];if(!r.__unwrap)go("no original to unwrap to -- has "+String(t)+" already been unwrapped?");else{r.__unwrap();return}},nfe=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to unwrap on modules");return}e.forEach(r=>{t.forEach(n=>{bj(r,n)})})};class ofe{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(t,r,n){this.instrumentationName=t,this.instrumentationVersion=r,this.setConfig(n),this._diag=ct.createComponentLogger({namespace:t}),this._tracer=On.getTracer(t,r),this._meter=hm.getMeter(t,r),this._logger=pj.getLogger(t,r),this._updateMetricInstruments()}_wrap=gj;_unwrap=bj;_massWrap=rfe;_massUnwrap=nfe;get meter(){return this._meter}setMeterProvider(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){const t=this.init()??[];return Array.isArray(t)?t:[t]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(t){this._config={enabled:!0,...t}}setTracerProvider(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(t,r,n,o){if(t)try{t(n,o)}catch(a){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:r},a)}}}class vj extends ofe{constructor(t,r,n){super(t,r,n),this._config.enabled&&this.enable()}}function afe(e){return ct.warn("Path normalization is not implemented for this platform. To silence this warning, ensure no node-specific instrumentations are loaded, and node-specific types (e.g. InstrumentationNodeModuleFile), are not used in a browser context)"),e}class ife{files;name;supportedVersions;patch;unpatch;constructor(t,r,n,o,a){this.files=a||[],this.name=t,this.supportedVersions=r,this.patch=n,this.unpatch=o}}class sfe{name;supportedVersions;patch;unpatch;constructor(t,r,n,o){this.name=afe(t),this.supportedVersions=r,this.patch=n,this.unpatch=o}}function lfe(e,t,r){let n,o;try{o=e()}catch(a){n=a}finally{if(t(n,o),n&&!r)throw n;return o}}async function cfe(e,t,r){let n,o;try{o=await e()}catch(a){n=a}finally{if(await t(n,o),n&&!r)throw n;return o}}function pfe(e){return typeof e=="function"&&typeof e.__original=="function"&&typeof e.__unwrap=="function"&&e.__wrapped===!0}var Dc;(function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"})(Dc||(Dc={}));function ufe(e,t){let r=Dc.OLD;const n=t?.split(",").map(o=>o.trim()).filter(o=>o!=="");for(const o of n??[])if(o.toLowerCase()===e+"/dup"){r=Dc.DUPLICATE;break}else o.toLowerCase()===e&&(r=Dc.STABLE);return r}const dfe=Object.freeze(Object.defineProperty({__proto__:null,InstrumentationBase:vj,InstrumentationNodeModuleDefinition:ife,InstrumentationNodeModuleFile:sfe,get SemconvStability(){return Dc},isWrapped:pfe,registerInstrumentations:mj,safeExecuteInTheMiddle:lfe,safeExecuteInTheMiddleAsync:cfe,semconvStabilityFromStr:ufe},Symbol.toStringTag,{value:"Module"})),hfe=Sa(dfe);function mi(e){const t=new Error(e);return t.source="ulid",t}const gl="0123456789ABCDEFGHJKMNPQRSTVWXYZ",bl=gl.length,Ey=Math.pow(2,48)-1,pd=10,Ty=16;function Oy(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function yj(e){let t,r=e.length,n,o;const a=bl-1;for(;!t&&r-->=0;){if(n=e[r],o=gl.indexOf(n),o===-1)throw mi("incorrectly encoded string");if(o===a){e=Oy(e,r,gl[0]);continue}t=Oy(e,r,gl[o+1])}if(typeof t=="string")return t;throw mi("cannot increment this string")}function xj(e){let t=Math.floor(e()*bl);return t===bl&&(t=bl-1),gl.charAt(t)}function Tm(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>Ey)throw mi("cannot encode time greater than "+Ey);if(e<0)throw mi("time must be positive");if(Number.isInteger(Number(e))===!1)throw mi("time must be an integer");let r,n="";for(;t>0;t--)r=e%bl,n=gl.charAt(r)+n,e=(e-r)/bl;return n}function Ry(e,t){let r="";for(;e>0;e--)r=xj(t)+r;return r}function ffe(e){if(e.length!==pd+Ty)throw mi("malformed ulid");var t=e.substr(0,pd).split("").reverse().reduce((r,n,o)=>{const a=gl.indexOf(n);if(a===-1)throw mi("invalid character found: "+n);return r+=a*Math.pow(bl,o)},0);if(t>Ey)throw mi("malformed ulid, timestamp too large");return t}function jy(e=!1,t){t||(t=typeof window<"u"?window:null);const r=t&&(t.crypto||t.msCrypto);if(r)return()=>{const n=new Uint8Array(1);return r.getRandomValues(n),n[0]/255};try{const n=require("crypto");return()=>n.randomBytes(1).readUInt8()/255}catch{}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return()=>Math.random()}throw mi("secure crypto unusable, insecure Math.random not allowed")}function wj(e){return e||(e=jy()),function(t){return isNaN(t)&&(t=Date.now()),Tm(t,pd)+Ry(Ty,e)}}function mfe(e){e||(e=jy());let t=0,r;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){const a=r=yj(r);return Tm(t,pd)+a}t=n;const o=r=Ry(Ty,e);return Tm(n,pd)+o}}const Sj=wj(),gfe=Object.freeze(Object.defineProperty({__proto__:null,decodeTime:ffe,detectPrng:jy,encodeRandom:Ry,encodeTime:Tm,factory:wj,incrementBase32:yj,monotonicFactory:mfe,randomChar:xj,replaceCharAt:Oy,ulid:Sj},Symbol.toStringTag,{value:"Module"})),Cj=Sa(gfe);var $c={};const kj=Sa(aee);var ud={},_j;function bfe(){if(_j)return ud;_j=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.TraceStep=void 0;const e=kj;class t{constructor(n){Object.defineProperty(this,"span",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.span=n}get context(){var n;return(n=this.span)===null||n===void 0?void 0:n.context}error(n){this.span&&(this.span.setStatus(e.SpanStatusCode.ERROR,n.message),this.span.recordException(n),this.span.end())}setAttribute(n,o){this.span&&this.span.setAttribute(n,o)}setStatus(n,o){this.span&&this.span.setStatus(n,o)}end(){this.span&&(this.span.setStatus(e.SpanStatusCode.OK),this.span.end())}}return ud.TraceStep=t,ud}var zc={},Aj;function Ej(){if(Aj)return zc;Aj=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.CLOUD_EVENT_STANDARD_KEYS=void 0,zc.mapToCloudEvent=t;const e=Cj;zc.CLOUD_EVENT_STANDARD_KEYS=["id","specversion","object","datacontenttype","type","time","origin","env","category","signal","source","subject","subjects","data","actor","requestId","clientIp","organizationId","organizationSlug","projectId","projectSlug","osPlatform","userAgent","sessionId"];function t(r){var n,o,a,i,l,p,u,h;const{type:f,data:b,actor:v,requestId:y,clientIp:x,origin:k,env:w,source:_,organizationId:A,organizationSlug:R,projectId:E,projectSlug:L,category:I="product",signal:O="log",osPlatform:P,userAgent:U,sessionId:Y}=r,q=!!(b&&Array.isArray(b)),Q=v?{id:(a=v.id)!==null&&a!==void 0?a:`ann_${(0,e.ulid)()}`,object:(i=v.object)!==null&&i!==void 0?i:"user",uri:(l=v.uri)!==null&&l!==void 0?l:""}:null,ne=`evt_${(0,e.ulid)()}`.toLowerCase(),le=new Date,G=(p=_??Q?.uri)!==null&&p!==void 0?p:null,ce=Object.assign(Object.assign(Object.assign(Object.assign({},A!==void 0&&{organizationId:A}),R!==void 0&&{organizationSlug:R}),E!==void 0&&{projectId:E}),L!==void 0&&{projectSlug:L}),ee={specversion:"1.0",object:"event",datacontenttype:"application/json; charset=utf-8",origin:k,env:w,category:I,signal:O,osPlatform:P,userAgent:U,clientIp:x,sessionId:Y};if(q){const fe=b,oe=fe.map(ie=>{var W,V,pe;return{id:(W=ie.id)!==null&&W!==void 0?W:"",object:(V=ie.object)!==null&&V!==void 0?V:"",uri:(pe=ie.uri)!==null&&pe!==void 0?pe:""}}),F=(u=(n=fe[0])===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:null;Object.assign(ee,Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:F,subjects:oe,data:fe,requestId:y??""}))}else{const fe=(h=(o=Array.isArray(b)?b[0]:b)===null||o===void 0?void 0:o.id)!==null&&h!==void 0?h:null;Object.assign(ee,Object.assign(Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:fe,requestId:y??"",data:b}),_!=null&&{request:{source:_}}))}return ee}return zc}var gi={},Tj;function vfe(){if(Tj)return gi;Tj=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.toSnakeCase=t,gi.isNonNullish=r,gi.isOtelAttributeValue=n,gi.flattenToAttributes=o,gi.flattenNestedObject=a,gi.flattenWithMaxDepth=i;const e=3;function t(l){return l.replace(/([A-Z])/g,"_$1").toLowerCase()}function r(l){return l!=null}function n(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"}function o(l,p,u,h=!0,f){const b=f?.length?new Set(f):null;for(const[v,y]of Object.entries(l))if(!b?.has(v)&&y!==void 0){const x=h?t(v):v;u[`${p}${x}`]=y}}function a(l,p,u){for(const[h,f]of Object.entries(l))f==null||typeof f=="object"||(u[`${p}.${t(h)}`]=f)}function i(l,p,u,h){var f,b,v;const y=(f=h?.currentDepth)!==null&&f!==void 0?f:0,x=(b=h?.useSnakeCase)!==null&&b!==void 0?b:!0,k=(v=h?.maxNestingLevels)!==null&&v!==void 0?v:e,w=p.endsWith(".")?p.slice(0,-1):p;for(const[_,A]of Object.entries(l)){if(!r(A))continue;const R=x?t(_):_,E=`${w}.${R}`;typeof A=="object"&&!Array.isArray(A)?y<k&&i(A,E,u,{currentDepth:y+1,useSnakeCase:x,maxNestingLevels:k}):n(A)&&(u[E]=A)}}return gi}var Oj;function yfe(){return Oj||(Oj=1,(function(e){var t=$c&&$c.__awaiter||function(O,P,U,Y){function q(Q){return Q instanceof U?Q:new U(function(ne){ne(Q)})}return new(U||(U=Promise))(function(Q,ne){function le(ee){try{ce(Y.next(ee))}catch(fe){ne(fe)}}function G(ee){try{ce(Y.throw(ee))}catch(fe){ne(fe)}}function ce(ee){ee.done?Q(ee.value):q(ee.value).then(le,G)}ce((Y=Y.apply(O,P||[])).next())})},r=$c&&$c.__rest||function(O,P){var U={};for(var Y in O)Object.prototype.hasOwnProperty.call(O,Y)&&P.indexOf(Y)<0&&(U[Y]=O[Y]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(O);q<Y.length;q++)P.indexOf(Y[q])<0&&Object.prototype.propertyIsEnumerable.call(O,Y[q])&&(U[Y[q]]=O[Y[q]]);return U};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseOtelClient=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY=void 0,e.groupByObjectProperty=p,e.processCloudEventAttributes=y,e.processObjectData=A,e.processAttributes=L;const n=kj,o=bfe(),a=Ej(),i=vfe();e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY="context";const l=[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];function p(O){const P={updated:[],notUpdated:[]};for(const U of O){if(!U||typeof U!="object")continue;const Y=U.object;if(typeof Y!="string")continue;const q=U,Q=P.notUpdated.find(ne=>ne.object===Y);Q?(P.updated=[Q,q],P.notUpdated=P.notUpdated.filter(ne=>ne.object!==Y)):P.updated.some(ne=>ne.object===Y)||P.notUpdated.push(q)}return P}function u(O,P,U){const Y=U?`${U}.`:"",q=P===""?"":`${(0,i.toSnakeCase)(P)}.`;return`${O}.${Y}${q}`}function h(O,P){const U=O[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];return U==="before"||U==="after"?U:P===0?"after":"before"}function f(O){const P=O,U=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY;return r(P,[typeof U=="symbol"?U:U+""])}function b(O){return O.endsWith(".")?O:`${O}.`}function v(O,P,U){var Y,q,Q,ne,le,G,ce,ee,fe,oe;const F=P instanceof Date?P.toISOString():new Date(P).toISOString();return{"cloudevents.event_id":O.id,"cloudevents.event_type":O.type,"cloudevents.event_source":(ne=O.source)!==null&&ne!==void 0?ne:void 0,"cloudevents.event_spec_version":O.specversion,"cloudevents.event_data_content_type":(le=O.datacontenttype)!==null&&le!==void 0?le:"application/json; charset=utf-8","cloudevents.event_time":F,"cloudevents.event_subject":(G=O.subject)!==null&&G!==void 0?G:"","cloudevents.event_version":U?.version,"cloudevents.event_origin":(ce=O.origin)!==null&&ce!==void 0?ce:U?.serviceName,"cloudevents.event_env":O.env,"cloudevents.event_client_ip":O.clientIp,"cloudevents.event_object":O.object||"event","cloudevents.event_category":O.category,"cloudevents.event_signal":O.signal,"cloudevents.event_actor.id":(ee=(Y=O.actor)===null||Y===void 0?void 0:Y.id)!==null&&ee!==void 0?ee:void 0,"cloudevents.event_actor.object":(fe=(q=O.actor)===null||q===void 0?void 0:q.object)!==null&&fe!==void 0?fe:void 0,"cloudevents.event_actor.uri":(oe=(Q=O.actor)===null||Q===void 0?void 0:Q.uri)!==null&&oe!==void 0?oe:void 0,"cloudevents.event_organization_id":O.organizationId,"cloudevents.event_organization_slug":O.organizationSlug,"cloudevents.event_project_id":O.projectId,"cloudevents.event_project_slug":O.projectSlug,"cloudevents.event_request_id":O.requestId,"cloudevents.event_os_platform":O.osPlatform,"cloudevents.event_user_agent":O.userAgent,"cloudevents.event_session_id":O.sessionId}}function y(O,P,U){const Y=O.data,q=Object.assign({},v(O,P,U));return x(Y,q),R(O,q),E(O,q),q}function x(O,P){!O||typeof O!="object"||(Array.isArray(O)?k(O,P):A(O,P))}function k(O,P){O.some(U=>U&&typeof U=="object"&&typeof U.object=="string")?w(O,P):_(O,P)}function w(O,P){const U=p(O);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_data",Y.object,h(Y,q));(0,i.flattenWithMaxDepth)(f(Y),b(Q),P)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_data",Y.object,void 0);(0,i.flattenWithMaxDepth)(f(Y),b(q),P)})}function _(O,P){for(const U of O)!U||typeof U!="object"||(0,i.flattenWithMaxDepth)(U,"cloudevents.event_data.",P)}function A(O,P){for(const[U,Y]of Object.entries(O)){if(!(0,i.isNonNullish)(Y))continue;const q=(0,i.toSnakeCase)(U);if(typeof Y=="object"&&!Array.isArray(Y))for(const[Q,ne]of Object.entries(Y))(0,i.isNonNullish)(ne)&&(0,i.isOtelAttributeValue)(ne)&&(P[`cloudevents.event_data.${q}.${Q}`]=ne);else(0,i.isOtelAttributeValue)(Y)&&(P[`cloudevents.event_data.${q}`]=Y)}}function R(O,P){if(!O.subjects||!Array.isArray(O.subjects))return;const U=p(O.subjects);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_subjects",Y.object,h(Y,q));(0,i.flattenToAttributes)(Y,Q,P,!1,l)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_subjects",Y.object,void 0);(0,i.flattenToAttributes)(Y,q,P,!1,l)})}function E(O,P){for(const[U,Y]of Object.entries(O))if(!(a.CLOUD_EVENT_STANDARD_KEYS.includes(U)||Y===void 0))if(Y instanceof Object)for(const[q,Q]of Object.entries(Y))Q!==void 0&&(P[`cloudevents.${U}.${q}`]=Q);else P[`cloudevents.${U}`]=Y}function L(O,P,U){return y(O,P,U)}class I{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracerProvider",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"sessionId",{enumerable:!0,configurable:!0,writable:!0,value:null})}initTracer(P){throw new Error("initTracer must be implemented by the environment-specific client")}init(P){this.config=P,this.initTracer(P)}send(P){var U;try{if(!this.tracer||!this.config)return;const Y=P,q="time"in Y&&Y.time?new Date(Y.time):new Date;this.tracer.startSpan(`event.${Y.type}`,{attributes:this.processAttributes(Y,q),startTime:q}).end(q)}catch(Y){!((U=this.config)===null||U===void 0)&&U.isProd||console.error("Event reporting failed:",Y)}}processAttributes(P,U){return L(P,U,this.config)}startSpan(P,U){var Y;try{if(!this.tracer)return;let q;const Q=P.time?new Date(P.time):new Date,ne=this.tracer.startSpan(`event.${P.type}`,{attributes:this.processAttributes(P,Q),root:!U},U);return U||(q=n.trace.setSpan(n.context.active(),ne)),{end:()=>ne.end(),setAttribute:(le,G)=>{ne.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(le)}`,G)},setStatus:(le,G)=>ne.setStatus({code:le,message:G}),parentCtx:q}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}startStepSpan(P,U){var Y;try{if(!this.tracer)return;const q=U||n.context.active(),Q=P,ne=Q.time?new Date(Q.time):new Date,le=this.tracer.startSpan(`event.${Q.type}`,{attributes:this.processAttributes(Q,ne)},q),G=n.trace.setSpan(q,le);return{end:()=>le.end(),setAttribute:(ce,ee)=>{le.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(ce)}`,ee)},setStatus:(ce,ee)=>le.setStatus({code:ce,message:ee}),recordException:ce=>le.recordException(ce),context:G}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}traceStep(P){const U=this.startStepSpan(P);if(U)return new o.TraceStep(U)}forceFlush(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.forceFlush()})}shutdown(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.shutdown()})}}e.BaseOtelClient=I})($c)),$c}var Rj;function xfe(){if(Rj)return Vu;Rj=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.OtelClient=void 0;const e=Kde,t=Jde,r=Zhe,n=Xhe,o=hfe,a=Cj,i=yfe();class l extends i.BaseOtelClient{constructor(){super(),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1})}initTracer(u){var h,f;if(!u.collectorUrl&&!u.collectorTraceUrl)return;const b=`ses_${(0,a.ulid)()}`;this.sessionId=b;const v=(0,t.resourceFromAttributes)({[n.ATTR_SERVICE_NAME]:u.serviceName,[n.ATTR_SERVICE_VERSION]:u.serviceVersion,session_id:b}),y=u.collectorTraceUrl||`${u.collectorUrl}/v1/traces`;this.tracerProvider=new e.WebTracerProvider({resource:v,spanProcessors:[...(h=u.spanProcessors)!==null&&h!==void 0?h:[],new e.BatchSpanProcessor(new r.OTLPTraceExporter({url:y,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(u.tracerName),this.tracerProvider.register(),(0,o.registerInstrumentations)({instrumentations:(f=u.instrumentations)!==null&&f!==void 0?f:[]}),this.initialized=!0}}return Vu.OtelClient=l,Vu}var jj={},Lj;function wfe(){return Lj||(Lj=1,Object.defineProperty(jj,"__esModule",{value:!0})),jj}var Nj;function Ij(){return Nj||(Nj=1,(function(e){var t=Mc&&Mc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Mc&&Mc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(xfe(),e),r(wfe(),e)})(Mc)),Mc}var Uc={},Pj;function Sfe(){if(Pj)return Uc;Pj=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.buildPageResourceItem=t,Uc.appendPageResourceIfNeeded=r,Uc.enrichMessageWithPageResource=n;const e=()=>({location:typeof location<"u"?location:void 0,document:typeof document<"u"?document:void 0});function t(a=e()){var i;if(!a.location)return;const l=((i=a.document)===null||i===void 0?void 0:i.referrer)||void 0;return Object.assign({id:a.location.href,object:"page",uri:a.location.href},l?{referrer:l}:{})}function r(a,i,l){if(!l.has(a)||!Array.isArray(i)||i.some(o))return i;const p=t();return p?[...i,p]:i}function n(a,i){const l=r(a.type,a.data,i);return l===a.data?a:Object.assign(Object.assign({},a),{data:l})}function o(a){return a!=null&&typeof a=="object"&&a.object==="page"}return Uc}var Mj;function Cfe(){if(Mj)return Hu;Mj=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.Telemetry=void 0;const e=Ij(),t=Ej(),r=Sfe(),n=new Set(["com.redocly.downloadDefinition.clicked","com.redocly.copyCodeSnippet.clicked","com.redocly.referencedIn.clicked","com.redocly.selectLanguage.clicked","com.redocly.expandCollapseAll.clicked","com.redocly.examplesSwitcher.clicked","com.redocly.switchServers.clicked","com.redocly.tryIt.opened","com.redocly.changeLayout.clicked","com.redocly.viewSecurityDetails.clicked","com.redocly.viewSecurityDetails.closed","com.redocly.search.opened","com.redocly.searchResult.clicked","com.redocly.searchInputReset.clicked","com.redocly.switchMessage.clicked","com.redocly.switchExample.clicked","com.redocly.message.clicked","com.redocly.serverModal.opened","com.redocly.requiredScopesModal.opened"]);class o{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"useCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"otelClient",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"updateCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:i=>{var l;!((l=this.config)===null||l===void 0)&&l.disabled||(this.useCloudEventData=i)}}),this.useCloudEventData=()=>({origin:"redocUi",signal:"log"}),this.otelClient=new e.OtelClient,this.tracer={traceStep:(i,l)=>{const p=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.traceStep(p)}}}send(i,l,p){var u,h;try{if(!(!((u=this.config)===null||u===void 0)&&u.otel.isProd))return;const f=i&&typeof i=="object"&&"type"in i&&"data"in i?(0,r.enrichMessageWithPageResource)(i,n):this.constructCloudEvent(i,l,Object.assign(Object.assign({},p),{signal:"log"}));this.sendToOtelService(f)}catch(f){!((h=this.config)===null||h===void 0)&&h.otel.isProd||console.error("Event reporting failed:",f)}}init(i){i.disabled||this.initialized||(this.config=i,this.initialized=!0,this.otelClient.init({serviceVersion:i.otel.serviceVersion,version:i.otel.version,isProd:i.otel.isProd,collectorUrl:i.otel.collectorUrl,collectorTraceUrl:i.otel.collectorTraceUrl,serviceName:i.otel.serviceName,tracerName:i.otel.tracerName,spanProcessors:i.otel.spanProcessors,instrumentations:[...i.otel.instrumentations||[]]}))}startSpan(i,l,p){var u;if(!((u=this.config)===null||u===void 0)&&u.disabled)return;const h=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.startSpan(h,p)}constructCloudEvent(i,l,p){const u=Object.assign(Object.assign({},this.useCloudEventData()),p);return(0,t.mapToCloudEvent)(Object.assign(Object.assign({type:i,data:(0,r.appendPageResourceIfNeeded)(i,l,n)},u),this.otelClient.sessionId&&{sessionId:this.otelClient.sessionId}))}sendToOtelService(i){var l;!((l=this.config)===null||l===void 0)&&l.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",i),this.otelClient.send(Object.assign(Object.assign({},i),{signal:"log"}))}forceFlush(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.forceFlush()}shutdown(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.shutdown()}sendViewedMessage(i,l){this.send("com.redocly.page.viewed",i,l)}sendPerformanceMetricsMessage(i,l){this.send("com.redocly.performanceMetrics.collected",i,l)}sendDownloadDefinitionClickedMessage(i,l){this.send("com.redocly.downloadDefinition.clicked",i,l)}sendCopyCodeSnippetClickedMessage(i,l){this.send("com.redocly.copyCodeSnippet.clicked",i,l)}sendReferencedInClickedMessage(i,l){this.send("com.redocly.referencedIn.clicked",i,l)}sendSelectLanguageClickedMessage(i,l){this.send("com.redocly.selectLanguage.clicked",i,l)}sendExpandCollapseAllClickedMessage(i,l){this.send("com.redocly.expandCollapseAll.clicked",i,l)}sendExamplesSwitcherClickedMessage(i,l){this.send("com.redocly.examplesSwitcher.clicked",i,l)}sendSwitchServersClickedMessage(i,l){this.send("com.redocly.switchServers.clicked",i,l)}sendTryItOpenedMessage(i,l){this.send("com.redocly.tryIt.opened",i,l)}sendChangeLayoutClickedMessage(i,l){this.send("com.redocly.changeLayout.clicked",i,l)}sendViewSecurityDetailsClickedMessage(i,l){this.send("com.redocly.viewSecurityDetails.clicked",i,l)}sendViewSecurityDetailsClosedMessage(i,l){this.send("com.redocly.viewSecurityDetails.closed",i,l)}sendSearchOpenedMessage(i,l){this.send("com.redocly.search.opened",i,l)}sendSearchResultClickedMessage(i,l){this.send("com.redocly.searchResult.clicked",i,l)}sendSearchInputResetClickedMessage(i,l){this.send("com.redocly.searchInputReset.clicked",i,l)}sendSwitchMessageClickedMessage(i,l){this.send("com.redocly.switchMessage.clicked",i,l)}sendSwitchExampleClickedMessage(i,l){this.send("com.redocly.switchExample.clicked",i,l)}sendMessageClickedMessage(i,l){this.send("com.redocly.message.clicked",i,l)}sendServerModalOpenedMessage(i,l){this.send("com.redocly.serverModal.opened",i,l)}sendRequiredScopesModalOpenedMessage(i,l){this.send("com.redocly.requiredScopesModal.opened",i,l)}sendInitialMessage(i,l){this.send("com.redocly.redoc.initialized",i,l)}sendErrorMessage(i,l){this.send("com.redocly.error.occurred",i,l)}}return Hu.Telemetry=o,Hu}var Dj;function kfe(){return Dj||(Dj=1,(function(e){var t=Pc&&Pc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Pc&&Pc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(iX(),e),r(Cfe(),e),r(Ij(),e)})(Pc)),Pc}var $j={},zj;function _fe(){return zj||(zj=1,Object.defineProperty($j,"__esModule",{value:!0})),$j}var Uj;function Afe(){return Uj||(Uj=1,(function(e){var t=Ic&&Ic.__createBinding||(Object.create?(function(o,a,i,l){l===void 0&&(l=i);var p=Object.getOwnPropertyDescriptor(a,i);(!p||("get"in p?!a.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(o,l,p)}):(function(o,a,i,l){l===void 0&&(l=i),o[l]=a[i]})),r=Ic&&Ic.__exportStar||function(o,a){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),e.Telemetry=void 0;var n=kfe();Object.defineProperty(e,"Telemetry",{enumerable:!0,get:function(){return n.Telemetry}}),r(_fe(),e)})(Ic)),Ic}var Efe=Afe();const Tfe="@redocly/openapi-docs",Ofe="3.25.0-next.2",Fj={name:Tfe,version:Ofe},Rfe="https://otel.cloud.redocly.com/v1/traces";class Bj extends Efe.Telemetry{specType;constructor(t){super(),this.specType=t.specType,this.init({otel:{isProd:!0,serviceVersion:t.serviceVersion||`${Fj.name}@${Fj.version}`,version:"1.0.0",collectorTraceUrl:t.collectorUrl||Rfe,serviceName:t.serviceName||"redoc-ce",tracerName:"client-telemetry"},disabled:t.disabled||!1})}send(t,r){r&&Array.isArray(r)&&r.length>0&&(r=r.map(n=>n&&typeof n=="object"?{...n,specType:this.specType}:n)),super.send(t,r,{env:"production"})}}var jfe=Object.create,Om=Object.defineProperty,Lfe=Object.getOwnPropertyDescriptor,Nfe=Object.getOwnPropertyNames,Ife=Object.getPrototypeOf,Pfe=Object.prototype.hasOwnProperty,qj=e=>Om(e,"__esModule",{value:!0}),Qe=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},Hj=(e,t)=>{qj(e);for(var r in t)Om(e,r,{get:t[r],enumerable:!0})},Mfe=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Nfe(t))!Pfe.call(e,n)&&n!=="default"&&Om(e,n,{get:()=>t[n],enumerable:!(r=Lfe(t,n))||r.enumerable});return e},Rm=e=>Mfe(qj(Om(e!=null?jfe(Ife(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Vj=Qe({"src/grammar/tag.js"(e,t){function r(a,i){function l(){this.constructor=a}l.prototype=i.prototype,a.prototype=new l}function n(a,i,l,p){this.message=a,this.expected=i,this.found=l,this.location=p,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}r(n,Error),n.buildMessage=function(a,i,l){var p={literal:function(x){return'"'+h(x.text)+'"'},class:function(x){var k=x.parts.map(function(w){return Array.isArray(w)?f(w[0])+"-"+f(w[1]):f(w)});return"["+(x.inverted?"^":"")+k+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(x){return x.description},not:function(x){return"not "+b(x.expected)}};function u(x){return x.charCodeAt(0).toString(16).toUpperCase()}function h(x){return x.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function f(x){return x.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function b(x){return p[x.type](x)}function v(x){var k=x.map(b),w,_;if(k.sort(),k.length>0){for(w=1,_=1;w<k.length;w++)k[w-1]!==k[w]&&(k[_]=k[w],_++);k.length=_}switch(k.length){case 1:return k[0];case 2:return k[0]+" or "+k[1];default:return k.slice(0,-1).join(", ")+", or "+k[k.length-1]}}function y(x){return x?'"'+h(x)+'"':"end of input"}return"Expected "+v(a)+" but "+y(i)+" found."};function o(a,i){i=i!==void 0?i:{};var l={},p={Top:qo},u=qo,h="/",f=".",b="#",v="=",y="(",x=")",k=",",w="[",_="]",A="null",R="true",E="false",L="{",I="}",O=":",P='"',U="\\",Y="n",q="r",Q="t",ne=/^[$@]/,le=/^[0-9]/,G=/^[^\0-\x1F"\\]/,ce=/^[a-zA-Z0-9_\-]/,ee=/^[ \n\t]/,fe=Wt("/",!1),oe=br("tag name"),F=br("class"),ie=br("id"),W=Wt("=",!1),V=Wt("(",!1),pe=Wt(")",!1),K=Wt(",",!1),se=br("variable"),X=br("null"),te=br("boolean"),_e=Wt("[",!1),S=Wt("]",!1),N=Wt("{",!1),B=Wt("}",!1),re=Wt(":",!1),ye=br("number"),ue=br("string"),me=br("identifier"),je=br("whitespace"),he=function(H){return{type:"variable",meta:{variable:H}}},Ye=function(H){return{type:"annotation",meta:{attributes:H}}},Ke=function(H,ge){return ge},Ge=function(H,ge,Se,Te){ge&&(Se=Se||[],Se.unshift({type:"attribute",name:"primary",value:ge}));const[qe,Ve]=Te?["tag",0]:["tag_open",1];return{type:qe,nesting:Ve,meta:{tag:H,attributes:Se}}},Je=function(H){return{type:"tag_close",nesting:-1,meta:{tag:H}}},He=function(H,ge){return H?[H,...ge]:[]},ot=function(H){return H},ur=function(H){return H},j=function(H){return H},M=function(H){return H},z=function(H){return{type:"class",name:H,value:!0}},de=function(H){return{type:"attribute",name:"id",value:H}},ke=function(H,ge){return{type:"attribute",name:H,value:ge}},Ne=function(H,ge,Se){return ge?[ge,...Se]:[]},De=function(H,ge){let Se={};for(let[Te,{name:qe,value:Ve}]of ge.entries())Se[qe||Te]=Ve;return new xt(H,Se)},at=function(H){return H},yt=function(H,ge){return{name:H,value:ge}},ht=function(H){return H},Nt=function(H,ge,Se){return H==="@"?[ge,...Se]:new lt([ge,...Se])},Ht=function(){return null},In=function(){return!0},ma=function(){return!1},Ba=function(H,ge){return[H,...ge]},qa=function(H){return H||[]},ao=function(H,ge){return Object.assign(H,...ge)},Ha=function(H){return H||{}},xo=function(H,ge){return H==="$$mdtype"?{}:{[H]:ge}},_i=function(){return parseFloat(Co())},An=function(H){return H.join("")},wo=function(){return`
|
|
6727
6732
|
`},Fo=function(){return"\r"},_s=function(){return" "},Vl=function(H){return H},Ce=0,mt=0,Bo=[{line:1,column:1}],So=[],ut=0,io;if("startRule"in i){if(!(i.startRule in p))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');u=p[i.startRule]}function Co(){return a.substring(mt,Ce)}function Wt(H,ge){return{type:"literal",text:H,ignoreCase:ge}}function kt(){return{type:"end"}}function br(H){return{type:"other",description:H}}function Ai(H){var ge=Bo[H],Se;if(ge)return ge;for(Se=H-1;!Bo[Se];)Se--;for(ge=Bo[Se],ge={line:ge.line,column:ge.column};Se<H;)a.charCodeAt(Se)===10?(ge.line++,ge.column=1):ge.column++,Se++;return Bo[H]=ge,ge}var Gl=typeof i.filename=="string"&&i.filename.length>0;function Ei(H,ge){var Se={};Gl&&(Se.filename=i.filename);var Te=Ai(H);Se.start={offset:H,line:Te.line,column:Te.column};var qe=Ai(ge);return Se.end={offset:ge,line:qe.line,column:qe.column},Se}function As(){So.push({pos:Ce,variants:[]})}function zt(H){var ge=So[So.length-1];Ce<ge.pos||(Ce>ge.pos&&(ge.pos=Ce,ge.variants=[]),ge.variants.push(H))}function Es(H,ge,Se){return new n(n.buildMessage(H,ge,Se),H,ge,Se)}function ga(){var H=So[0],ge=H.pos;return Es(H.variants,ge<a.length?a.charAt(ge):null,ge<a.length?Ei(ge,ge+1):Ei(ge,ge))}function qo(){var H;return H=Va(),H===l&&(H=dn(),H===l&&(H=dr(),H===l&&(H=ko()))),H}function Va(){var H,ge;return H=Ce,ge=Ls(),ge===l&&(ge=_o()),ge!==l&&(mt=H,ge=he(ge)),H=ge,H}function dn(){var H,ge,Se,Te;if(H=Ce,ge=hn(),ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();mt=H,H=Ye(ge)}else Ce=H,H=l;return H}function dr(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,ge=Ts(),ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();for(Te=Ce,qe=so(),qe!==l?(Ve=Ue(),Ve===l&&(Ve=null),mt=Te,Te=Ke(ge,qe)):(Ce=Te,Te=l),Te===l&&(Te=null),qe=hn(),qe===l&&(qe=null),Ve=[],gt=Ue();gt!==l;)Ve.push(gt),gt=Ue();Er(fe),a.charCodeAt(Ce)===47?(gt=h,Ce++):gt=l,gt===l&&(gt=null),mt=H,H=Ge(ge,Te,qe,gt)}else Ce=H,H=l;return H}function ko(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return H=Ce,Te(fe),a.charCodeAt(Ce)===47?(ge=h,Ce++):ge=l,ge!==l?(Se=Ts(),Se!==l?(mt=H,H=Je(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Ts(){var H,ge=function(Se){ut===0&&zt(Se)};return ge(oe),ut++,H=Me(),ut--,H}function hn(){var H,ge,Se,Te;if(H=Ce,ge=Os(),ge!==l){for(Se=[],Te=Ho();Te!==l;)Se.push(Te),Te=Ho();mt=H,H=He(ge,Se)}else Ce=H,H=l;return H}function Ho(){var H,ge,Se;if(H=Ce,ge=[],Se=Ue(),Se!==l)for(;Se!==l;)ge.push(Se),Se=Ue();else ge=l;return ge!==l?(Se=Os(),Se!==l?(mt=H,H=ot(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Os(){var H,ge;return H=Ce,ge=Ga(),ge!==l&&(mt=H,ge=ur(ge)),H=ge,H===l&&(H=Ce,ge=Rs(),ge!==l&&(mt=H,ge=j(ge)),H=ge,H===l&&(H=Ce,ge=js(),ge!==l&&(mt=H,ge=M(ge)),H=ge)),H}function Rs(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return Te(F),ut++,H=Ce,a.charCodeAt(Ce)===46?(ge=f,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=z(Se)):(Ce=H,H=l)):(Ce=H,H=l),ut--,H}function Ga(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return Te(ie),ut++,H=Ce,a.charCodeAt(Ce)===35?(ge=b,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=de(Se)):(Ce=H,H=l)):(Ce=H,H=l),ut--,H}function js(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};return H=Ce,ge=Me(),ge!==l?(qe(W),a.charCodeAt(Ce)===61?(Se=v,Ce++):Se=l,Se!==l?(Te=so(),Te!==l?(mt=H,H=ke(ge,Te)):(Ce=H,H=l)):(Ce=H,H=l)):(Ce=H,H=l),H}function _o(){var H,ge,Se,Te,qe,Ve,gt,Er,Vo=function(Ip){ut===0&&zt(Ip)};if(H=Ce,ge=Me(),ge!==l)if(Vo(V),a.charCodeAt(Ce)===40?(Se=y,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();for(qe=Ce,Ve=Pn(),Ve===l&&(Ve=null),gt=[],Er=Wr();Er!==l;)gt.push(Er),Er=Wr();mt=qe,qe=Ne(ge,Ve,gt),Vo(pe),a.charCodeAt(Ce)===41?(Ve=x,Ce++):Ve=l,Ve!==l?(mt=H,H=De(ge,qe)):(Ce=H,H=l)}else Ce=H,H=l;else Ce=H,H=l;return H}function Pn(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};return H=Ce,ge=Ce,Se=Me(),Se!==l?(qe(W),a.charCodeAt(Ce)===61?(Te=v,Ce++):Te=l,Te!==l?(mt=ge,ge=at(Se)):(Ce=ge,ge=l)):(Ce=ge,ge=l),ge===l&&(ge=null),Se=so(),Se!==l?(mt=H,H=yt(ge,Se)):(Ce=H,H=l),H}function Wr(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=Pn(),qe!==l?(mt=H,H=ht(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function lr(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();return Te(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l?(ge=[ge,Se],H=ge):(Ce=H,H=l),H===l&&(H=null),H}function Ls(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};if(Ve(se),ut++,H=Ce,ne.test(a.charAt(Ce))?(ge=a.charAt(Ce),Ce++):ge=l,ge!==l)if(Se=Me(),Se!==l){for(Te=[],qe=Wl();qe!==l;)Te.push(qe),qe=Wl();mt=H,H=Nt(ge,Se,Te)}else Ce=H,H=l;else Ce=H,H=l;return ut--,H}function Wl(){var H,ge,Se,Te;return H=Ce,a.charCodeAt(Ce)===46?(ge=f,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=at(Se)):(Ce=H,H=l)):(Ce=H,H=l),H===l&&(H=Ce,a.charCodeAt(Ce)===91?(ge=w,Ce++):ge=l,ge!==l?(Se=Mn(),Se===l&&(Se=ba()),Se!==l?(a.charCodeAt(Ce)===93?(Te=_,Ce++):Te=l,Te!==l?(mt=H,H=ht(Se)):(Ce=H,H=l)):(Ce=H,H=l)):(Ce=H,H=l)),H}function so(){var H;return H=Ns(),H===l&&(H=Wa(),H===l&&(H=ba(),H===l&&(H=Mn(),H===l&&(H=Np(),H===l&&(H=Is(),H===l&&(H=_o(),H===l&&(H=Ls()))))))),H}function Ns(){var H,ge,Se=function(Te){ut===0&&zt(Te)};return Se(X),ut++,H=Ce,a.substr(Ce,4)===A?(ge=A,Ce+=4):ge=l,ge!==l&&(mt=H,ge=Ht()),H=ge,ut--,H}function Wa(){var H,ge,Se=function(Te){ut===0&&zt(Te)};return Se(te),ut++,H=Ce,a.substr(Ce,4)===R?(ge=R,Ce+=4):ge=l,ge!==l&&(mt=H,ge=In()),H=ge,H===l&&(H=Ce,a.substr(Ce,5)===E?(ge=E,Ce+=5):ge=l,ge!==l&&(mt=H,ge=ma()),H=ge),ut--,H}function Np(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,Er(_e),a.charCodeAt(Ce)===91?(ge=w,Ce++):ge=l,ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();if(Te=Ce,qe=so(),qe!==l){for(Ve=[],gt=en();gt!==l;)Ve.push(gt),gt=en();gt=lr(),mt=Te,Te=Ba(qe,Ve)}else Ce=Te,Te=l;for(Te===l&&(Te=null),qe=[],Ve=Ue();Ve!==l;)qe.push(Ve),Ve=Ue();Er(S),a.charCodeAt(Ce)===93?(Ve=_,Ce++):Ve=l,Ve!==l?(mt=H,H=qa(Te)):(Ce=H,H=l)}else Ce=H,H=l;return H}function en(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=so(),qe!==l?(mt=H,H=ht(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Is(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,Er(N),a.charCodeAt(Ce)===123?(ge=L,Ce++):ge=l,ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();if(Te=Ce,qe=Ya(),qe!==l){for(Ve=[],gt=Ps();gt!==l;)Ve.push(gt),gt=Ps();gt=lr(),mt=Te,Te=ao(qe,Ve)}else Ce=Te,Te=l;for(Te===l&&(Te=null),qe=[],Ve=Ue();Ve!==l;)qe.push(Ve),Ve=Ue();Er(B),a.charCodeAt(Ce)===125?(Ve=I,Ce++):Ve=l,Ve!==l?(mt=H,H=Ha(Te)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Ps(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=Ya(),qe!==l?(mt=H,H=ot(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Ya(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};if(H=Ce,ge=Me(),ge===l&&(ge=ba()),ge!==l)if(Ve(re),a.charCodeAt(Ce)===58?(Se=O,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=so(),qe!==l?(mt=H,H=xo(ge,qe)):(Ce=H,H=l)}else Ce=H,H=l;else Ce=H,H=l;return H}function Mn(){var H,ge,Se,Te,qe,Ve,gt=function(Er){ut===0&&zt(Er)};if(gt(ye),ut++,H=Ce,a.charCodeAt(Ce)===45&&Ce++,ge=[],le.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l,Se!==l)for(;Se!==l;)ge.push(Se),le.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l;else ge=l;if(ge!==l){if(Se=Ce,a.charCodeAt(Ce)===46?(Te=f,Ce++):Te=l,Te!==l){if(qe=[],le.test(a.charAt(Ce))?(Ve=a.charAt(Ce),Ce++):Ve=l,Ve!==l)for(;Ve!==l;)qe.push(Ve),le.test(a.charAt(Ce))?(Ve=a.charAt(Ce),Ce++):Ve=l;else qe=l;qe!==l?(Te=[Te,qe],Se=Te):(Ce=Se,Se=l)}else Ce=Se,Se=l;Se===l&&(Se=null),mt=H,H=_i()}else Ce=H,H=l;return ut--,H}function ba(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};if(qe(ue),ut++,H=Ce,a.charCodeAt(Ce)===34?(ge=P,Ce++):ge=l,ge!==l){for(Se=[],Te=Z();Te!==l;)Se.push(Te),Te=Z();a.charCodeAt(Ce)===34?(Te=P,Ce++):Te=l,Te!==l?(mt=H,H=An(Se)):(Ce=H,H=l)}else Ce=H,H=l;return ut--,H}function Z(){var H;return G.test(a.charAt(Ce))?(H=a.charAt(Ce),Ce++):H=l,H===l&&(H=Le()),H}function Le(){var H,ge,Se,Te;return H=Ce,a.charCodeAt(Ce)===92?(ge=U,Ce++):ge=l,ge!==l?(a.charCodeAt(Ce)===34?(Se=P,Ce++):Se=l,Se===l&&(a.charCodeAt(Ce)===92?(Se=U,Ce++):Se=l,Se===l&&(Se=Ce,a.charCodeAt(Ce)===110?(Te=Y,Ce++):Te=l,Te!==l&&(mt=Se,Te=wo()),Se=Te,Se===l&&(Se=Ce,a.charCodeAt(Ce)===114?(Te=q,Ce++):Te=l,Te!==l&&(mt=Se,Te=Fo()),Se=Te,Se===l&&(Se=Ce,a.charCodeAt(Ce)===116?(Te=Q,Ce++):Te=l,Te!==l&&(mt=Se,Te=_s()),Se=Te)))),Se!==l?(mt=H,H=Vl(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Me(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};if(Te(me),ut++,H=Ce,ge=[],ce.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l,Se!==l)for(;Se!==l;)ge.push(Se),ce.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l;else ge=l;return ge!==l?H=a.substring(H,Ce):H=ge,ut--,H}function Ue(){var H,ge=function(Se){ut===0&&zt(Se)};return ge(je),ut++,ee.test(a.charAt(Ce))?(H=a.charAt(Ce),Ce++):H=l,ut--,H}const{Variable:lt,Function:xt}=i;if(As(),io=u(),io!==l&&Ce===a.length)return io;throw io!==l&&Ce<a.length&&zt(kt()),ga()}t.exports={SyntaxError:n,parse:o}}}),Dfe=Qe({"node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
6728
6733
|
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),Gj=Qe({"node_modules/markdown-it/lib/common/entities.js"(e,t){t.exports=Dfe()}}),Ly=Qe({"node_modules/uc.micro/categories/P/regex.js"(e,t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),$fe=Qe({"node_modules/mdurl/encode.js"(e,t){var r={};function n(a){var i,l,p=r[a];if(p)return p;for(p=r[a]=[],i=0;i<128;i++)l=String.fromCharCode(i),/^[0-9a-z]$/i.test(l)?p.push(l):p.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2));for(i=0;i<a.length;i++)p[a.charCodeAt(i)]=a[i];return p}function o(a,i,l){var p,u,h,f,b,v="";for(typeof i!="string"&&(l=i,i=o.defaultChars),typeof l>"u"&&(l=!0),b=n(i),p=0,u=a.length;p<u;p++){if(h=a.charCodeAt(p),l&&h===37&&p+2<u&&/^[0-9a-f]{2}$/i.test(a.slice(p+1,p+3))){v+=a.slice(p,p+3),p+=2;continue}if(h<128){v+=b[h];continue}if(h>=55296&&h<=57343){if(h>=55296&&h<=56319&&p+1<u&&(f=a.charCodeAt(p+1),f>=56320&&f<=57343)){v+=encodeURIComponent(a[p]+a[p+1]),p++;continue}v+="%EF%BF%BD";continue}v+=encodeURIComponent(a[p])}return v}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",t.exports=o}}),zfe=Qe({"node_modules/mdurl/decode.js"(e,t){var r={};function n(a){var i,l,p=r[a];if(p)return p;for(p=r[a]=[],i=0;i<128;i++)l=String.fromCharCode(i),p.push(l);for(i=0;i<a.length;i++)l=a.charCodeAt(i),p[l]="%"+("0"+l.toString(16).toUpperCase()).slice(-2);return p}function o(a,i){var l;return typeof i!="string"&&(i=o.defaultChars),l=n(i),a.replace(/(%[a-f0-9]{2})+/gi,function(p){var u,h,f,b,v,y,x,k="";for(u=0,h=p.length;u<h;u+=3){if(f=parseInt(p.slice(u+1,u+3),16),f<128){k+=l[f];continue}if((f&224)===192&&u+3<h&&(b=parseInt(p.slice(u+4,u+6),16),(b&192)===128)){x=f<<6&1984|b&63,x<128?k+="\uFFFD\uFFFD":k+=String.fromCharCode(x),u+=3;continue}if((f&240)===224&&u+6<h&&(b=parseInt(p.slice(u+4,u+6),16),v=parseInt(p.slice(u+7,u+9),16),(b&192)===128&&(v&192)===128)){x=f<<12&61440|b<<6&4032|v&63,x<2048||x>=55296&&x<=57343?k+="\uFFFD\uFFFD\uFFFD":k+=String.fromCharCode(x),u+=6;continue}if((f&248)===240&&u+9<h&&(b=parseInt(p.slice(u+4,u+6),16),v=parseInt(p.slice(u+7,u+9),16),y=parseInt(p.slice(u+10,u+12),16),(b&192)===128&&(v&192)===128&&(y&192)===128)){x=f<<18&1835008|b<<12&258048|v<<6&4032|y&63,x<65536||x>1114111?k+="\uFFFD\uFFFD\uFFFD\uFFFD":(x-=65536,k+=String.fromCharCode(55296+(x>>10),56320+(x&1023))),u+=9;continue}k+="\uFFFD"}return k})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",t.exports=o}}),Ufe=Qe({"node_modules/mdurl/format.js"(e,t){t.exports=function(r){var n="";return n+=r.protocol||"",n+=r.slashes?"//":"",n+=r.auth?r.auth+"@":"",r.hostname&&r.hostname.indexOf(":")!==-1?n+="["+r.hostname+"]":n+=r.hostname||"",n+=r.port?":"+r.port:"",n+=r.pathname||"",n+=r.search||"",n+=r.hash||"",n}}}),Ffe=Qe({"node_modules/mdurl/parse.js"(e,t){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["<",">",'"',"`"," ","\r",`
|
|
6729
6734
|
`," "],l=["{","}","|","\\","^","`"].concat(i),p=["'"].concat(l),u=["%","/","?",";","#"].concat(p),h=["/","?","#"],f=255,b=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function k(w,_){if(w&&w instanceof r)return w;var A=new r;return A.parse(w,_),A}r.prototype.parse=function(w,_){var A,R,E,L,I,O=w;if(O=O.trim(),!_&&w.split("#").length===1){var P=a.exec(O);if(P)return this.pathname=P[1],P[2]&&(this.search=P[2]),this}var U=n.exec(O);if(U&&(U=U[0],E=U.toLowerCase(),this.protocol=U,O=O.substr(U.length)),(_||U||O.match(/^\/\/[^@\/]+@[^@\/]+/))&&(I=O.substr(0,2)==="//",I&&!(U&&y[U])&&(O=O.substr(2),this.slashes=!0)),!y[U]&&(I||U&&!x[U])){var Y=-1;for(A=0;A<h.length;A++)L=O.indexOf(h[A]),L!==-1&&(Y===-1||L<Y)&&(Y=L);var q,Q;for(Y===-1?Q=O.lastIndexOf("@"):Q=O.lastIndexOf("@",Y),Q!==-1&&(q=O.slice(0,Q),O=O.slice(Q+1),this.auth=q),Y=-1,A=0;A<u.length;A++)L=O.indexOf(u[A]),L!==-1&&(Y===-1||L<Y)&&(Y=L);Y===-1&&(Y=O.length),O[Y-1]===":"&&Y--;var ne=O.slice(0,Y);O=O.slice(Y),this.parseHost(ne),this.hostname=this.hostname||"";var le=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!le){var G=this.hostname.split(/\./);for(A=0,R=G.length;A<R;A++){var ce=G[A];if(ce&&!ce.match(b)){for(var ee="",fe=0,oe=ce.length;fe<oe;fe++)ce.charCodeAt(fe)>127?ee+="x":ee+=ce[fe];if(!ee.match(b)){var F=G.slice(0,A),ie=G.slice(A+1),W=ce.match(v);W&&(F.push(W[1]),ie.unshift(W[2])),ie.length&&(O=ie.join(".")+O),this.hostname=F.join(".");break}}}}this.hostname.length>f&&(this.hostname=""),le&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var V=O.indexOf("#");V!==-1&&(this.hash=O.substr(V),O=O.slice(0,V));var pe=O.indexOf("?");return pe!==-1&&(this.search=O.substr(pe),O=O.slice(0,pe)),O&&(this.pathname=O),x[E]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(w){var _=o.exec(w);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),w=w.substr(0,w.length-_.length)),w&&(this.hostname=w)},t.exports=k}}),Wj=Qe({"node_modules/mdurl/index.js"(e,t){t.exports.encode=$fe(),t.exports.decode=zfe(),t.exports.format=Ufe(),t.exports.parse=Ffe()}}),Yj=Qe({"node_modules/uc.micro/properties/Any/regex.js"(e,t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),Kj=Qe({"node_modules/uc.micro/categories/Cc/regex.js"(e,t){t.exports=/[\0-\x1F\x7F-\x9F]/}}),Bfe=Qe({"node_modules/uc.micro/categories/Cf/regex.js"(e,t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),Jj=Qe({"node_modules/uc.micro/categories/Z/regex.js"(e,t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),qfe=Qe({"node_modules/uc.micro/index.js"(e){e.Any=Yj(),e.Cc=Kj(),e.Cf=Bfe(),e.P=Ly(),e.Z=Jj()}}),Yt=Qe({"node_modules/markdown-it/lib/common/utils.js"(e){function t(ne){return Object.prototype.toString.call(ne)}function r(ne){return t(ne)==="[object String]"}var n=Object.prototype.hasOwnProperty;function o(ne,le){return n.call(ne,le)}function a(ne){var le=Array.prototype.slice.call(arguments,1);return le.forEach(function(G){if(G){if(typeof G!="object")throw new TypeError(G+"must be object");Object.keys(G).forEach(function(ce){ne[ce]=G[ce]})}}),ne}function i(ne,le,G){return[].concat(ne.slice(0,le),G,ne.slice(le+1))}function l(ne){return!(ne>=55296&&ne<=57343||ne>=64976&&ne<=65007||(ne&65535)===65535||(ne&65535)===65534||ne>=0&&ne<=8||ne===11||ne>=14&&ne<=31||ne>=127&&ne<=159||ne>1114111)}function p(ne){if(ne>65535){ne-=65536;var le=55296+(ne>>10),G=56320+(ne&1023);return String.fromCharCode(le,G)}return String.fromCharCode(ne)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,h=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(u.source+"|"+h.source,"gi"),b=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,v=Gj();function y(ne,le){var G=0;return o(v,le)?v[le]:le.charCodeAt(0)===35&&b.test(le)&&(G=le[1].toLowerCase()==="x"?parseInt(le.slice(2),16):parseInt(le.slice(1),10),l(G))?p(G):ne}function x(ne){return ne.indexOf("\\")<0?ne:ne.replace(u,"$1")}function k(ne){return ne.indexOf("\\")<0&&ne.indexOf("&")<0?ne:ne.replace(f,function(le,G,ce){return G||y(le,ce)})}var w=/[&<>"]/,_=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""};function R(ne){return A[ne]}function E(ne){return w.test(ne)?ne.replace(_,R):ne}var L=/[.?*+^$[\]\\(){}|-]/g;function I(ne){return ne.replace(L,"\\$&")}function O(ne){switch(ne){case 9:case 32:return!0}return!1}function P(ne){if(ne>=8192&&ne<=8202)return!0;switch(ne){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var U=Ly();function Y(ne){return U.test(ne)}function q(ne){switch(ne){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Q(ne){return ne=ne.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(ne=ne.replace(/ẞ/g,"\xDF")),ne.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Wj(),e.lib.ucmicro=qfe(),e.assign=a,e.isString=r,e.has=o,e.unescapeMd=x,e.unescapeAll=k,e.isValidEntityCode=l,e.fromCodePoint=p,e.escapeHtml=E,e.arrayReplaceAt=i,e.isSpace=O,e.isWhiteSpace=P,e.isMdAsciiPunct=q,e.isPunctChar=Y,e.escapeRE=I,e.normalizeReference=Q}}),Hfe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(e,t){t.exports=function(r,n,o){var a,i,l,p,u=-1,h=r.posMax,f=r.pos;for(r.pos=n+1,a=1;r.pos<h;){if(l=r.src.charCodeAt(r.pos),l===93&&(a--,a===0)){i=!0;break}if(p=r.pos,r.md.inline.skipToken(r),l===91){if(p===r.pos-1)a++;else if(o)return r.pos=f,-1}}return i&&(u=r.pos),r.pos=f,u}}}),Vfe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(e,t){var r=Yt().unescapeAll;t.exports=function(n,o,a){var i,l,p=0,u=o,h={ok:!1,pos:0,lines:0,str:""};if(n.charCodeAt(o)===60){for(o++;o<a;){if(i=n.charCodeAt(o),i===10||i===60)return h;if(i===62)return h.pos=o+1,h.str=r(n.slice(u+1,o)),h.ok=!0,h;if(i===92&&o+1<a){o+=2;continue}o++}return h}for(l=0;o<a&&(i=n.charCodeAt(o),!(i===32||i<32||i===127));){if(i===92&&o+1<a){if(n.charCodeAt(o+1)===32)break;o+=2;continue}if(i===40&&(l++,l>32))return h;if(i===41){if(l===0)break;l--}o++}return u===o||l!==0||(h.str=r(n.slice(u,o)),h.lines=p,h.pos=o,h.ok=!0),h}}}),Gfe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(e,t){var r=Yt().unescapeAll;t.exports=function(n,o,a){var i,l,p=0,u=o,h={ok:!1,pos:0,lines:0,str:""};if(o>=a||(l=n.charCodeAt(o),l!==34&&l!==39&&l!==40))return h;for(o++,l===40&&(l=41);o<a;){if(i=n.charCodeAt(o),i===l)return h.pos=o+1,h.lines=p,h.str=r(n.slice(u+1,o)),h.ok=!0,h;if(i===40&&l===41)return h;i===10?p++:i===92&&o+1<a&&(o++,n.charCodeAt(o)===10&&p++),o++}return h}}}),Wfe=Qe({"node_modules/markdown-it/lib/helpers/index.js"(e){e.parseLinkLabel=Hfe(),e.parseLinkDestination=Vfe(),e.parseLinkTitle=Gfe()}}),Yfe=Qe({"node_modules/markdown-it/lib/renderer.js"(e,t){var r=Yt().assign,n=Yt().unescapeAll,o=Yt().escapeHtml,a={};a.code_inline=function(l,p,u,h,f){var b=l[p];return"<code"+f.renderAttrs(b)+">"+o(l[p].content)+"</code>"},a.code_block=function(l,p,u,h,f){var b=l[p];return"<pre"+f.renderAttrs(b)+"><code>"+o(l[p].content)+`</code></pre>
|
|
@@ -11734,7 +11739,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11734
11739
|
|
|
11735
11740
|
height: ${({size:e})=>e||"16px"};
|
|
11736
11741
|
width: ${({size:e})=>e||"16px"};
|
|
11737
|
-
`;async function YAe(e){return null}function KAe(e,t){const[r,n]=D.useState(),o=D.useRef(e);o.current=e;const a=D.useCallback(async()=>{try{const i=await YAe();n(i)}catch(i){console.warn("Failed to configure replay for operation:",o.current.operation.operationId,i)}},[]);return D.useEffect(()=>{t&&a()},[t,a]),{config:r,refresh:a}}const JAe=Pr(Cl.NOT_LOADED),Mz=Pr([]);function QAe(e,t,r,n,o,a,i,l){if(!r)return;const p=new EN(r),u=p.definition.paths?.[e];let h=u?.[t];!h&&u?.additionalOperations&&(h=u.additionalOperations[t]);const f=A2(p,{...h,pathName:e,httpVerb:t,pathParameters:u.parameters||[],pathServers:u.servers||[]},void 0,l??gx({}),"",{isCallback:!1},n,i);if(!f)return;const b=f.requestBody?.content?.mediaTypes[0]?.name||"application/json";return{id:f.id,name:f.name,method:f.httpVerb,operationId:f.operationId,parameters:XAe(f.parameters,o?.requestValues),body:nEe(f.requestBody,r,o?.requestValues?.body?{activeExampleName:o?.activeExampleName,[b]:o?.requestValues?.body}:o?.activeExampleName?{activeExampleName:o?.activeExampleName}:void 0),path:f.path,href:f.href,servers:f.servers,security:oEe(f.security),responses:Object.fromEntries(f.responses.map(v=>[v.code,{code:v.code,description:v.description,mediaTypes:v.content?.mediaTypes.reduce((y,x)=>(y[x.name]={name:x.name,schema:Dz(x.schema?.rawSchema,r)},y),{})}]))}}function ZAe(e,t,r,n){return function(o,a,i){const l=qt.compile(["paths",o,a]),p=n?.[l],u=QAe(o,a,i,e,p,void 0,t,r);if(u)return{...u,operationId:u.operationId||qt.compile(["paths",u.path,u.method])}}}function XAe(e,t){const r=new Set,n=e.map(o=>(r.add(o.in+":"+o.name),{name:o.name,in:o.in,required:o.required,description:o.description,example:t?.[String(o.in)]?.[o.name]||o.example,schema:o.schema,...o.allowReserved&&{allowReserved:o.allowReserved}}));for(const[o,a]of Object.entries(t||{}))for(const[i,l]of Object.entries(a||{}))r.has(o+":"+i)||n.push({name:i,in:o,required:!1,description:"",example:String(l),schema:void 0});return n}function eEe({type:e,format:t,enum:r}){return e==="string"&&(t==="binary"||t==="base64")?"file":e==="object"?"multiline":r.length>0?"select":"text"}function tEe(e,t){const r=e[0]?.example||e[0]?.examples;if(r)return r;if(e.schema?.example)return e.schema.example;const n=t?.default?.value||t?.default?.rawValue;return n?.[e.name]?sY(n?.[e.name])?String(n?.[e.name]):JSON.stringify(n?.[e.name]):""}function rEe(e){if(e?.fields)return e.fields;if(e?.oneOf){for(const t of e.oneOf)if(t?.fields)return t.fields}}function nEe(e,t,r){if(!e||!e.content?.mediaTypes){if(!r)return;const{activeExampleName:n,...o}=r;return{activeExampleName:n,mediaTypes:Object.fromEntries(Object.entries(o).map(([a,i])=>[a,{name:a,examples:{default:{value:i}},schema:{},parameters:[]}]))}}return{required:e.required,activeExampleName:r?.activeExampleName,mediaTypes:e.content.mediaTypes.reduce((n,o)=>{const a=o.schema,i=r?.[o.name]?{default:{value:r?.[o.name],rawValue:r?.[o.name],mime:o.name}}:o.examples||o.formExamples,l=rEe(a);return n[o.name]={name:o.name,examples:i,schema:Dz(o.schema?.rawSchema,t),parameters:l?.map(p=>({inputType:eEe(p.schema),name:p.name,example:tEe(p,i)}))},n},{})}}function Dz(e,t){if(!(!e||!t))return{...e,components:t?.components||{}}}function oEe(e){if(e)return e.map(({schemes:t})=>t.map(r=>{const n={id:r.id,type:r.type,in:r.in,openIdConnectUrl:r.openIdConnectUrl,scopes:r.scopes,scheme:r.scheme,name:r.name,flows:r.flows,serverValues:r.serverValues,"x-defaultAccessToken":r["x-defaultAccessToken"],"x-defaultTokenType":r["x-defaultTokenType"],"x-defaultClientId":r["x-defaultClientId"],"x-defaultClientSecret":r["x-defaultClientSecret"],"x-defaultUsername":r["x-defaultUsername"],"x-defaultPassword":r["x-defaultPassword"]};return Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]),n}))}const aEe=D.lazy(async()=>import("./redocly-openapi-docs.min.index-
|
|
11742
|
+
`;async function YAe(e){return null}function KAe(e,t){const[r,n]=D.useState(),o=D.useRef(e);o.current=e;const a=D.useCallback(async()=>{try{const i=await YAe();n(i)}catch(i){console.warn("Failed to configure replay for operation:",o.current.operation.operationId,i)}},[]);return D.useEffect(()=>{t&&a()},[t,a]),{config:r,refresh:a}}const JAe=Pr(Cl.NOT_LOADED),Mz=Pr([]);function QAe(e,t,r,n,o,a,i,l){if(!r)return;const p=new EN(r),u=p.definition.paths?.[e];let h=u?.[t];!h&&u?.additionalOperations&&(h=u.additionalOperations[t]);const f=A2(p,{...h,pathName:e,httpVerb:t,pathParameters:u.parameters||[],pathServers:u.servers||[]},void 0,l??gx({}),"",{isCallback:!1},n,i);if(!f)return;const b=f.requestBody?.content?.mediaTypes[0]?.name||"application/json";return{id:f.id,name:f.name,method:f.httpVerb,operationId:f.operationId,parameters:XAe(f.parameters,o?.requestValues),body:nEe(f.requestBody,r,o?.requestValues?.body?{activeExampleName:o?.activeExampleName,[b]:o?.requestValues?.body}:o?.activeExampleName?{activeExampleName:o?.activeExampleName}:void 0),path:f.path,href:f.href,servers:f.servers,security:oEe(f.security),responses:Object.fromEntries(f.responses.map(v=>[v.code,{code:v.code,description:v.description,mediaTypes:v.content?.mediaTypes.reduce((y,x)=>(y[x.name]={name:x.name,schema:Dz(x.schema?.rawSchema,r)},y),{})}]))}}function ZAe(e,t,r,n){return function(o,a,i){const l=qt.compile(["paths",o,a]),p=n?.[l],u=QAe(o,a,i,e,p,void 0,t,r);if(u)return{...u,operationId:u.operationId||qt.compile(["paths",u.path,u.method])}}}function XAe(e,t){const r=new Set,n=e.map(o=>(r.add(o.in+":"+o.name),{name:o.name,in:o.in,required:o.required,description:o.description,example:t?.[String(o.in)]?.[o.name]||o.example,schema:o.schema,...o.allowReserved&&{allowReserved:o.allowReserved}}));for(const[o,a]of Object.entries(t||{}))for(const[i,l]of Object.entries(a||{}))r.has(o+":"+i)||n.push({name:i,in:o,required:!1,description:"",example:String(l),schema:void 0});return n}function eEe({type:e,format:t,enum:r}){return e==="string"&&(t==="binary"||t==="base64")?"file":e==="object"?"multiline":r.length>0?"select":"text"}function tEe(e,t){const r=e[0]?.example||e[0]?.examples;if(r)return r;if(e.schema?.example)return e.schema.example;const n=t?.default?.value||t?.default?.rawValue;return n?.[e.name]?sY(n?.[e.name])?String(n?.[e.name]):JSON.stringify(n?.[e.name]):""}function rEe(e){if(e?.fields)return e.fields;if(e?.oneOf){for(const t of e.oneOf)if(t?.fields)return t.fields}}function nEe(e,t,r){if(!e||!e.content?.mediaTypes){if(!r)return;const{activeExampleName:n,...o}=r;return{activeExampleName:n,mediaTypes:Object.fromEntries(Object.entries(o).map(([a,i])=>[a,{name:a,examples:{default:{value:i}},schema:{},parameters:[]}]))}}return{required:e.required,activeExampleName:r?.activeExampleName,mediaTypes:e.content.mediaTypes.reduce((n,o)=>{const a=o.schema,i=r?.[o.name]?{default:{value:r?.[o.name],rawValue:r?.[o.name],mime:o.name}}:o.examples||o.formExamples,l=rEe(a);return n[o.name]={name:o.name,examples:i,schema:Dz(o.schema?.rawSchema,t),parameters:l?.map(p=>({inputType:eEe(p.schema),name:p.name,example:tEe(p,i)}))},n},{})}}function Dz(e,t){if(!(!e||!t))return{...e,components:t?.components||{}}}function oEe(e){if(e)return e.map(({schemes:t})=>t.map(r=>{const n={id:r.id,type:r.type,in:r.in,openIdConnectUrl:r.openIdConnectUrl,scopes:r.scopes,scheme:r.scheme,name:r.name,flows:r.flows,serverValues:r.serverValues,"x-defaultAccessToken":r["x-defaultAccessToken"],"x-defaultTokenType":r["x-defaultTokenType"],"x-defaultClientId":r["x-defaultClientId"],"x-defaultClientSecret":r["x-defaultClientSecret"],"x-defaultUsername":r["x-defaultUsername"],"x-defaultPassword":r["x-defaultPassword"]};return Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]),n}))}const aEe=D.lazy(async()=>import("./redocly-openapi-docs.min.index-DbxjaOoh.js").then(e=>e.bl).then(e=>({default:e.ReplayOverlay})));function iEe({operation:e,corsProxyUrl:t,fullOpenApi:r}){const n=St(),o=Ia(),a=D.useRef(null),i=Ze(sn),{oAuth2RedirectURI:l,routingBasePath:p}=i,u=Ze(Mz),{parser:h,options:{events:f}}=Ze(Vr),b=Ze(N2),[v,y]=D.useState(!1),[x,k]=an(JAe),[w,_]=an(mg),[[,A],R]=an(gg),E=D.useMemo(()=>({userClaims:b,info:h?.definition.info,operation:{name:e.name,path:e.path,operationId:e.operationId||"",href:e.href,method:e.httpVerb},servers:e.servers}),[b,h?.definition.info,e.name,e.path,e.operationId,e.href,e.httpVerb,e.servers]),{config:L,refresh:I}=KAe(E,v),O=D.useCallback(()=>I(),[I]),P=D.useCallback(le=>{if(!le)return;const G=u.find(ce=>ce.operationId===le);return Dr(p,G?.href)},[u,p]),U=D.useMemo(()=>ZAe(b,L,i,w),[b,L,i,w]),Y=D.useMemo(()=>({corsProxyUrl:t,selectedEnvironment:A,apiId:h?.definition.info?.["x-metadata"]?.apiId,oAuth2RedirectURI:l,disableCollectionsTab:!0,storageKey:p,telemetry:{tracerName:"try-it",collectorUrl:ove()},HTTPSnippet:Zn,convertOperationToReplayValue:U,dynamicReplayValues:L,getOperationUrl:P,onRequestReset:O}),[t,A,h?.definition.info,l,p,U,L,P,O]);S0(a),$u(v);const q=D.useCallback(({operations:le,environment:G,environments:ce})=>{const ee=le.reduce((fe,oe)=>{oe.requestValues.body=oe.requestValues.body instanceof URLSearchParams?Object.fromEntries(oe.requestValues.body.entries()):oe.requestValues.body;const{path:F,method:ie}=oe.apiPath,W=qt.compile(["paths",F,ie]);return fe[W]=Vc(fg(W),oe),fe},{});_({...w,...ee}),R({environment:G,environments:ce})},[w,_,R]),Q=()=>{if(x!==Cl.LOADING){if(!v&&(o.sendTryItOpenedMessage([{id:"tryItButton",object:"button",uri:"urn:redocly:redoc:ui:button:tryItButton"}]),f?.tryItOpen&&e)){const le=NAe({operation:e});f.tryItOpen(le)}y(!v)}x===Cl.NOT_LOADED&&k(Cl.LOADING)},ne=D.useCallback(le=>{if(f?.tryItSent&&e){const G=PAe({operation:e,isSuccess:le});f.tryItSent(G)}},[f,e]);return r?m.jsxs(m.Fragment,{children:[m.jsx(ft,{onClick:Q,variant:"primary",iconPosition:"left",icon:x===Cl.LOADING?m.jsx(z0,{}):m.jsx(Pz,{}),children:x===Cl.LOADING?n("openapi.loading","Loading..."):n("openapi.tryIt","Try it")}),v&&m.jsx(D.Suspense,{children:m.jsx(Nc,{mountId:"api-content",children:m.jsx("div",{ref:a,children:m.jsx(aEe,{ReplayGate:Nz,ReplayTopBarActions:Iz,activeOperationId:e.operationId||e.pointer,api:r,onRequestChange:q,onClose:Q,onLoad:()=>k(Cl.LOADED),settings:Y,onRequestSent:ne})})})})]}):null}const $z=D.memo(iEe);function sEe({operation:e,disableFooter:t,onPanelToggle:r,...n}){const o=Ia(),[{activeLanguage:a,languages:i},l]=an(bg),{samples:p}=VAe(e),{parser:u,options:{events:h,corsProxyUrl:f,hideReplay:b}}=Ze(Vr),v=!t&&!e.isWebhook&&!b&&!e.hideReplay,y=!!i?.length,x=WM(p,a),k=O=>{l(O),o.sendSelectLanguageClickedMessage([{id:"selectLanguageButton",object:"button",uri:"urn:redocly:redoc:ui:button:selectLanguageButton",language:O}]);const P=i?.find(U=>U.key===O);if(h?.codeSamplesLanguageSwitch&&P){const U=AAe({operation:e,sample:{lang:P.lang,label:P.title}});h.codeSamplesLanguageSwitch(U)}},w=Ze(Na),{activeExampleName:_}=Ze(Xn(e.pointer)),A=D.useCallback(({lang:O,title:P})=>()=>{const U=Rz({operation:e,label:P,lang:O,type:"request",activeMimeName:w,activeExampleName:_});o.sendCopyCodeSnippetClickedMessage([{id:"copyCodeSnippetButton",object:"button",uri:"urn:redocly:redoc:ui:button:copyCodeSnippetButton",snippetType:"request",language:O}]),h?.codeSamplesCopy?.(U)},[e,o,h,w,_]),R=D.useCallback(O=>{r?.(O,"request-samples")},[r]),E=()=>m.jsxs(cEe,{isExpandable:!1,$withReplay:!y&&v,children:[m.jsx(pEe,{operation:e}),y&&m.jsx(ez,{activeTab:x,samples:p,onChange:k}),!y&&v&&m.jsx($z,{operation:e,corsProxyUrl:f,fullOpenApi:u.definition})]}),L=D.useMemo(()=>{if(v&&y)return m.jsx(uEe,{children:m.jsx($z,{operation:e,corsProxyUrl:f,fullOpenApi:u.definition})})},[v,y,e,f,u.definition]),I=D.useMemo(()=>p.map(O=>O.key===x?m.jsx("div",{children:p2e(O)?m.jsx(pw,{content:O.requestBodyContent,onCopyClick:A(O),onPanelToggle:R,...n}):m.jsx(HAe,{lang:O.lang,source:O.source,externalSample:O,operation:e,onCopyClick:A(O),...n})},O.key+e.id):null),[x,A,R,e,n,p]);return i&&!p.length?m.jsx(hs,{className:"panel-request-samples",header:E,isExpandable:!1,expanded:!1}):p.length?m.jsx(hs,{className:"panel-request-samples",header:E,footer:L,isExpandable:!1,children:I}):null}const lEe=D.memo(sEe),cEe=ae(tp)`
|
|
11738
11743
|
flex-wrap: nowrap;
|
|
11739
11744
|
${({$withReplay:e})=>e&&"padding: var(--spacing-xs) var(--spacing-sm);"}
|
|
11740
11745
|
`,pEe=ae(jz)`
|
|
@@ -12027,4 +12032,4 @@ ${i.commentBefore}`:a}e.comment=r.after.join(`
|
|
|
12027
12032
|
`)||null}}function WPe({tagPrefixes:e},t){const[r,n]=t.parameters;if(!r||!n){const o="Insufficient parameters given for %TAG directive";throw new vt(t,o)}if(e.some(o=>o.handle===r)){const o="The %TAG directive must only be given at most once per handle in the same document.";throw new vt(t,o)}return{handle:r,prefix:n}}function YPe(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0"&&(r="1.0"),!r){const n="Insufficient parameters given for %YAML directive";throw new vt(t,n)}if(!MB[r]){const n=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${r}`;e.warnings.push(new Sp(t,n))}return r}function KPe(e,t,r){const n=[];let o=!1;for(const a of t){const{comment:i,name:l}=a;switch(l){case"TAG":try{e.tagPrefixes.push(WPe(e,a))}catch(p){e.errors.push(p)}o=!0;break;case"YAML":case"YAML:1.0":if(e.version){const p="The %YAML directive must only be given at most once per document.";e.errors.push(new vt(a,p))}try{e.version=YPe(e,a)}catch(p){e.errors.push(p)}o=!0;break;default:if(l){const p=`YAML only supports %TAG and %YAML directives, and not %${l}`;e.warnings.push(new Sp(a,p))}}i&&n.push(i)}if(r&&!o&&(e.version||r.version||e.options.version)==="1.1"){const a=({handle:i,prefix:l})=>({handle:i,prefix:l});e.tagPrefixes=r.tagPrefixes.map(a),e.version=r.version}e.commentBefore=n.join(`
|
|
12028
12033
|
`)||null}function _p(e){if(e instanceof Sr)return!0;throw new Error("Expected a YAML collection as document contents")}class Lp{constructor(t){this.anchors=new I3(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(t){return _p(this.contents),this.contents.add(t)}addIn(t,r){_p(this.contents),this.contents.addIn(t,r)}delete(t){return _p(this.contents),this.contents.delete(t)}deleteIn(t){return ah(t)?this.contents==null?!1:(this.contents=null,!0):(_p(this.contents),this.contents.deleteIn(t))}getDefaults(){return Lp.defaults[this.version]||Lp.defaults[this.options.version]||{}}get(t,r){return this.contents instanceof Sr?this.contents.get(t,r):void 0}getIn(t,r){return ah(t)?!r&&this.contents instanceof Xt?this.contents.value:this.contents:this.contents instanceof Sr?this.contents.getIn(t,r):void 0}has(t){return this.contents instanceof Sr?this.contents.has(t):!1}hasIn(t){return ah(t)?this.contents!==void 0:this.contents instanceof Sr?this.contents.hasIn(t):!1}set(t,r){_p(this.contents),this.contents.set(t,r)}setIn(t,r){ah(t)?this.contents=r:(_p(this.contents),this.contents.setIn(t,r))}setSchema(t,r){if(!t&&!r&&this.schema)return;typeof t=="number"&&(t=t.toFixed(1)),t==="1.0"||t==="1.1"||t==="1.2"?(this.version?this.version=t:this.options.version=t,delete this.options.schema):t&&typeof t=="string"&&(this.options.schema=t),Array.isArray(r)&&(this.options.customTags=r);const n=Object.assign({},this.getDefaults(),this.options);this.schema=new Hl(n)}parse(t,r){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");const{directives:n=[],contents:o=[],directivesEndMarker:a,error:i,valueRange:l}=t;if(i&&(i.source||(i.source=this),this.errors.push(i)),KPe(this,n,r),a&&(this.directivesEndMarker=!0),this.range=l?[l.start,l.end]:null,this.setSchema(),this.anchors._cstAliases=[],GPe(this,o),this.anchors.resolveNodes(),this.options.prettyErrors){for(const p of this.errors)p instanceof zl&&p.makePretty();for(const p of this.warnings)p instanceof zl&&p.makePretty()}return this}listNonDefaultTags(){return VPe(this.contents).filter(t=>t.indexOf(Hl.defaultPrefix)!==0)}setTagPrefix(t,r){if(t[0]!=="!"||t[t.length-1]!=="!")throw new Error("Handle must start and end with !");if(r){const n=this.tagPrefixes.find(o=>o.handle===t);n?n.prefix=r:this.tagPrefixes.push({handle:t,prefix:r})}else this.tagPrefixes=this.tagPrefixes.filter(n=>n.handle!==t)}toJSON(t,r){const{keepBlobsInJSON:n,mapAsMap:o,maxAliasCount:a}=this.options,i=n&&(typeof t!="string"||!(this.contents instanceof Xt)),l={doc:this,indentStep:" ",keep:i,mapAsMap:i&&!!o,maxAliasCount:a,stringify:A1},p=Object.keys(this.anchors.map);p.length>0&&(l.anchors=new Map(p.map(h=>[this.anchors.map[h],{alias:[],aliasCount:0,count:1}])));const u=ha(this.contents,t,l);if(typeof r=="function"&&l.anchors)for(const{count:h,res:f}of l.anchors.values())r(f,h);return u}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const t=this.options.indent;if(!Number.isInteger(t)||t<=0){const p=JSON.stringify(t);throw new Error(`"indent" option must be a positive integer, not ${p}`)}this.setSchema();const r=[];let n=!1;if(this.version){let p="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?p="%YAML:1.0":this.version==="1.1"&&(p="%YAML 1.1")),r.push(p),n=!0}const o=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:p,prefix:u})=>{o.some(h=>h.indexOf(u)===0)&&(r.push(`%TAG ${p} ${u}`),n=!0)}),(n||this.directivesEndMarker)&&r.push("---"),this.commentBefore&&((n||!this.directivesEndMarker)&&r.unshift(""),r.unshift(this.commentBefore.replace(/^/gm,"#")));const a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:A1};let i=!1,l=null;if(this.contents){this.contents instanceof no&&(this.contents.spaceBefore&&(n||this.directivesEndMarker)&&r.push(""),this.contents.commentBefore&&r.push(this.contents.commentBefore.replace(/^/gm,"#")),a.forceBlockIndent=!!this.comment,l=this.contents.comment);const p=l?null:()=>i=!0,u=A1(this.contents,a,()=>l=null,p);r.push(Cp(u,"",l))}else this.contents!==void 0&&r.push(A1(this.contents,a));return this.comment&&((!i||l)&&r[r.length-1]!==""&&r.push(""),r.push(this.comment.replace(/^/gm,"#"))),r.join(`
|
|
12029
12034
|
`)+`
|
|
12030
|
-
`}}_n(Lp,"defaults",MB);function JPe(e,t=!0,r){r===void 0&&typeof t=="string"&&(r=t,t=!0);const n=Object.assign({},Lp.defaults[_1.version],_1);return new Hl(n).createNode(e,t,r)}class T1 extends Lp{constructor(t){super(Object.assign({},_1,t))}}function QPe(e,t){const r=[];let n;for(const o of DS(e)){const a=new T1(t);a.parse(o,n),r.push(a),n=a}return r}function $B(e,t){const r=DS(e),n=new T1(t).parse(r[0]);if(r.length>1){const o="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new vt(r[1],o))}return n}function ZPe(e,t){const r=$B(e,t);if(r.warnings.forEach(n=>SB(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function XPe(e,t){const r=new T1(t);return r.contents=e,String(r)}const eMe={createNode:JPe,defaultOptions:_1,Document:T1,parse:ZPe,parseAllDocuments:QPe,parseCST:DS,parseDocument:$B,scalarOptions:BPe,stringify:XPe},tMe=Object.freeze(Object.defineProperty({__proto__:null,YAML:eMe},Symbol.toStringTag,{value:"Module"})),rMe=Sa(tMe);var zB,UB;function FB(){return UB||(UB=1,zB=rMe.YAML),zB}var GS,BB;function O1(){if(BB)return GS;BB=1;function e(n){return n.replace(/\~/g,"~0").replace(/\//g,"~1")}function t(n){return n.replace(/\~1/g,"/").replace(/~0/g,"~")}function r(n,o,a){if(typeof n>"u")return!1;if(!o||typeof o!="string"||o==="#")return typeof a<"u"?a:n;if(o.indexOf("#")>=0){let l=o.split("#");if(l[0])return!1;o=l[1],o=decodeURIComponent(o.slice(1).split("+").join(" "))}o.startsWith("/")&&(o=o.slice(1));let i=o.split("/");for(let l=0;l<i.length;l++){i[l]=t(i[l]);let p=typeof a<"u"&&l==i.length-1,u=parseInt(i[l],10);if(!Array.isArray(n)||isNaN(u)||u.toString()!==i[l]?u=Array.isArray(n)&&i[l]==="-"?-2:-1:i[l]=l>0?i[l-1]:"",u!=-1||n&&n.hasOwnProperty(i[l]))if(u>=0)p&&(n[u]=a),n=n[u];else{if(u===-2)return p?(Array.isArray(n)&&n.push(a),a):void 0;p&&(n[i[l]]=a),n=n[i[l]]}else if(typeof a<"u"&&typeof n=="object"&&!Array.isArray(n))n[i[l]]=p?a:i[l+1]==="0"||i[l+1]==="-"?[]:{},n=n[i[l]];else return!1}return n}return GS={jptr:r,jpescape:e,jpunescape:t},GS}var WS,qB;function YS(){if(qB)return WS;qB=1;function e(t,r){return r==="$ref"&&!!t&&typeof t[r]=="string"}return WS={isRef:e},WS}var KS,HB;function R1(){if(HB)return KS;HB=1;function e(i){return i}function t(i){return JSON.parse(JSON.stringify(i))}function r(i){let l={};for(let p in i)i.hasOwnProperty(p)&&(l[p]=i[p]);return l}function n(i){let l=Array.isArray(i)?[]:{};for(let p in i)(i.hasOwnProperty(p)||Array.isArray(i))&&(l[p]=typeof i[p]=="object"?n(i[p]):i[p]);return l}function o(i){return Object.assign({},i)}function a(i,l){if(l||(l=new WeakMap),Object(i)!==i||i instanceof Function)return i;if(l.has(i))return l.get(i);try{var p=new i.constructor}catch{p=Object.create(Object.getPrototypeOf(i))}return l.set(i,p),Object.assign(p,...Object.keys(i).map(u=>({[u]:a(i[u],l)})))}return KS={nop:e,clone:t,shallowClone:r,deepClone:n,fastClone:o,circularClone:a},KS}var JS,VB;function QS(){if(VB)return JS;VB=1;const e=O1().jpescape;function t(){return{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1}}function r(n,o,a){if(o||(o={depth:0}),o.depth||(o=Object.assign({},t(),o)),typeof n!="object")return;let i=o.path;for(let l in n){if(o.key=l,o.path=o.path+"/"+encodeURIComponent(e(l)),o.identityPath=o.seen.get(n[l]),o.identity=typeof o.identityPath<"u",n.hasOwnProperty(l)&&a(n,l,o),typeof n[l]=="object"&&!o.identity){o.identityDetection&&!Array.isArray(n[l])&&n[l]!==null&&o.seen.set(n[l],o.path);let p={};p.parent=n,p.path=o.path,p.depth=o.depth?o.depth+1:1,p.pkey=l,p.payload=o.payload,p.seen=o.seen,p.identity=!1,p.identityDetection=o.identityDetection,r(n[l],p,a)}o.path=i}}return JS={recurse:r},JS}var ZS,GB;function nMe(){if(GB)return ZS;GB=1;const e=QS().recurse,t=R1().shallowClone,r=O1().jptr,n=YS().isRef;var o=function(i){return i&&i.verbose?{warn:function(){var l=Array.prototype.slice.call(arguments);console.warn.apply(console,l)}}:{warn:function(){}}};function a(i,l,p){p||(p={}),p.cache||(p.cache={}),p.state||(p.state={}),p.state.identityDetection=!0,p.depth=p.depth?p.depth+1:1;let u=p.depth>1?i:t(i),h={data:u},f=p.depth>1?l:t(l);p.master||(p.master=u);let b=o(p),v=1;for(;v>0;)v=0,e(h,p.state,function(y,x,k){if(n(y,x)){let w=y[x];if(v++,p.cache[w]){let _=p.cache[w];if(_.resolved)b.warn("Patching %s for %s",w,_.path),k.parent[k.pkey]=_.data,p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w);else{if(w===_.path)throw new Error(`Tight circle at ${_.path}`);b.warn("Unresolved ref"),k.parent[k.pkey]=r(_.source,_.path),k.parent[k.pkey]===!1&&(k.parent[k.pkey]=r(_.source,_.key)),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[p.$ref]=w)}}else{let _={};_.path=k.path.split("/$ref")[0],_.key=w,b.warn("Dereffing %s at %s",w,_.path),_.source=f,_.data=r(_.source,_.key),_.data===!1&&(_.data=r(p.master,_.key),_.source=p.master),_.data===!1&&b.warn("Missing $ref target",_.key),p.cache[w]=_,_.data=k.parent[k.pkey]=a(r(_.source,_.key),_.source,p),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w),_.resolved=!0}}});return h.data}return ZS={dereference:a},ZS}var XS,WB;function oMe(){if(WB)return XS;WB=1,XS=a,a.default=a,a.stable=u,a.stableStringify=u;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(b,v,y,x){typeof x>"u"&&(x=o()),l(b,"",0,[],void 0,0,x);var k;try{n.length===0?k=JSON.stringify(b,v,y):k=JSON.stringify(b,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var w=r.pop();w.length===4?Object.defineProperty(w[0],w[1],w[3]):w[0][w[1]]=w[2]}}return k}function i(b,v,y,x){var k=Object.getOwnPropertyDescriptor(x,y);k.get!==void 0?k.configurable?(Object.defineProperty(x,y,{value:b}),r.push([x,y,v,k])):n.push([v,y,b]):(x[y]=b,r.push([x,y,v]))}function l(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)l(b[A],A,A,x,b,w,_);else{var R=Object.keys(b);for(A=0;A<R.length;A++){var E=R[A];l(b[E],E,A,x,b,w,_)}}x.pop()}}function p(b,v){return b<v?-1:b>v?1:0}function u(b,v,y,x){typeof x>"u"&&(x=o());var k=h(b,"",0,[],void 0,0,x)||b,w;try{n.length===0?w=JSON.stringify(k,v,y):w=JSON.stringify(k,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return w}function h(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)h(b[A],A,A,x,b,w,_);else{var R={},E=Object.keys(b).sort(p);for(A=0;A<E.length;A++){var L=E[A];h(b[L],L,A,x,b,w,_),R[L]=b[L]}if(typeof k<"u")r.push([k,v,b]),k[v]=R;else return R}x.pop()}}function f(b){return b=typeof b<"u"?b:function(v,y){return y},function(v,y){if(n.length>0)for(var x=0;x<n.length;x++){var k=n[x];if(k[1]===v&&k[0]===y){y=k[2],n.splice(x,1);break}}return b.call(this,v,y)}}return XS}var e3,YB;function KB(){if(YB)return e3;YB=1;var e={};const t=oMe(),r=e.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"\x1B[31m",yellow:"\x1B[33;1m",green:"\x1B[32m",normal:"\x1B[0m"};function n(k,w,_){return _.indexOf(k)===w}function o(k){return new Set(k).size!==k.length}function a(k){return new Set(k).size<=1}function i(k,w){function _(A,R){return t.stringify(A)===t.stringify(Object.assign({},A,R))}return _(k,w)&&_(w,k)}function l(k){let w=[];for(let _ of k)w.find(function(A,R,E){return i(A,_)})||w.push(_);return w}function p(k){return k.length===l(k).length}function u(k){return k.find(function(w,_,A){return k.indexOf(w)<_})}function h(k){let w=0,_;if(k.length===0)return w;for(let A=0;A<k.length;A++)_=k.charCodeAt(A),w=(w<<5)-w+_,w|=0;return w}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(k,w){return w.toUpperCase()})};const f=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],b=["items","minItems","maxItems","uniqueItems"],v=["get","post","put","delete","patch","head","options","trace"];function y(k){k=k.replace("[]","Array");let w=k.split("/");return w[0]=w[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),w.join("/")}function x(k){return y(k.split("/").join("_"))}return e3={colour:r,uniqueOnly:n,hasDuplicates:o,allSame:a,distinctArray:p,firstDupe:u,hash:h,parameterTypeProperties:f,arrayProperties:b,httpMethods:v,sanitise:y,sanitiseAll:x},e3}var t3,JB;function aMe(){if(JB)return t3;JB=1;const e=d1,t=DL(),r=jS(),n=d1,o=FB(),a=O1().jptr,i=QS().recurse,l=R1().clone,p=nMe().dereference,u=YS().isRef,h=KB();function f(O){return[...new Set(O)]}function b(O,P,U,Y,q){return new Promise(function(Q,ne){e.readFile(O,P,function(le,G){le?U.ignoreIOErrors&&q?(U.verbose&&console.warn("FAILED",Y),U.externalRefs[Y].failed=!0,Q(q)):ne(le):Q(G)})})}function v(O,P,U,Y,q,Q){let ne=Q.externalRefs[U+Y].paths[0],le=r.parse(q),G={},ce=1;for(;ce;)ce=0,i(O,{identityDetection:!0},function(ee,fe,oe){if(u(ee,fe)){if(ee[fe].startsWith("#")){if(!G[ee[fe]]&&!ee.$fixed){let F=l(a(P,ee[fe]));if(Q.verbose>1&&console.warn((F===!1?h.colour.red:h.colour.green)+"Fragment resolution",ee[fe],h.colour.normal),F===!1){if(oe.parent[oe.pkey]={},Q.fatal){let ie=new Error("Fragment $ref resolution failed "+ee[fe]);if(Q.promise)Q.promise.reject(ie);else throw ie}}else ce++,oe.parent[oe.pkey]=F,G[ee[fe]]=oe.path.replace("/%24ref","")}else if(!ee.$fixed){let F=(ne+"/"+G[ee[fe]]).split("/#/").join("/");oe.parent[oe.pkey]={$ref:F,"x-miro":ee[fe],$fixed:!0},Q.verbose>1&&console.warn("Replacing with",F),ce++}}else if(le.protocol){let F=r.resolve(q,ee[fe]).toString();Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external url ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],Q.externalRefs[ee[fe]]&&(Q.externalRefs[F]||(Q.externalRefs[F]=Q.externalRefs[ee[fe]]),Q.externalRefs[F].failed=Q.externalRefs[ee[fe]].failed),ee[fe]=F}else if(!ee["x-miro"]){let F=r.resolve(q,ee[fe]).toString(),ie=!1;Q.externalRefs[ee[fe]]&&(ie=Q.externalRefs[ee[fe]].failed),ie||(Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],ee[fe]=F)}}});return i(O,{},function(ee,fe,oe){u(ee,fe)&&typeof ee.$fixed<"u"&&delete ee.$fixed}),Q.verbose>1&&console.warn("Finished fragment resolution"),O}function y(O,P){if(!P.filters||!P.filters.length)return O;for(let U of P.filters)O=U(O,P);return O}function x(O,P){return O&&O.length>2?O:P&&P.length>2?P:"file:"}function k(O,P,U,Y){var q=r.parse(U.source),Q=U.source.split("\\").join("/").split("/");Q.pop()||Q.pop();let ne="",le=P.split("#");le.length>1&&(ne="#"+le[1],P=le[0]),Q=Q.join("/");let G=r.parse(P),ce=x(G.protocol,q.protocol),ee;if(ce==="file:"?ee=t.resolve(Q?Q+"/":"",P):ee=r.resolve(Q?Q+"/":"",P),U.cache[ee]){U.verbose&&console.warn("CACHED",ee,ne);let fe=l(U.cache[ee]),oe=U.externalRef=fe;if(ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let F=new Error("Cached $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(F);else throw F}return oe=v(oe,fe,P,ne,ee,U),oe=y(oe,U),Y(l(oe),ee,U),Promise.resolve(oe)}if(U.verbose&&console.warn("GET",ee,ne),U.handlers&&U.handlers[ce])return U.handlers[ce](Q,P,ne,U).then(function(fe){return U.externalRef=fe,fe=y(fe,U),U.cache[ee]=fe,Y(fe,ee,U),fe}).catch(function(fe){throw U.verbose&&console.warn(fe),fe});if(ce&&ce.startsWith("http")){const fe=Object.assign({},U.fetchOptions,{agent:U.agent});return U.fetch(ee,fe).then(function(oe){if(oe.status!==200){if(U.ignoreIOErrors)return U.verbose&&console.warn("FAILED",P),U.externalRefs[P].failed=!0,'{"$ref":"'+P+'"}';throw new Error(`Received status code ${oe.status}: ${ee}`)}return oe.text()}).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("Remote $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.cache[ee]={},U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}else{const fe='{"$ref":"'+P+'"}';return b(ee,U.encoding||"utf8",U,P,fe).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("File $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}}function w(O){return new Promise(function(P,U){function Y(Q,ne,le){if(Q[ne]&&u(Q[ne],"$ref")){let G=Q[ne].$ref;if(!G.startsWith("#")){let ce="";if(!q[G]){let ee=Object.keys(q).find(function(fe,oe,F){return G.startsWith(fe+"/")});ee&&(O.verbose&&console.warn("Found potential subschema at",ee),ce="/"+(G.split("#")[1]||"").replace(ee.split("#")[1]||""),ce=ce.split("/undefined").join(""),G=ee)}if(q[G]||(q[G]={resolved:!1,paths:[],extras:{},description:Q[ne].description}),q[G].resolved){if(!q[G].failed)if(O.rewriteRefs){let ee=q[G].resolvedAt;O.verbose>1&&console.warn("Rewriting ref",G,ee),Q[ne]["x-miro"]=G,Q[ne].$ref=ee+ce}else Q[ne]=l(q[G].data)}else q[G].paths.push(le.path),q[G].extras[le.path]=ce}}}let q=O.externalRefs;if(O.resolver.depth>0&&O.source===O.resolver.base)return P(q);i(O.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Y),i(O.openapi.components,{identityDetection:!0,path:"#/components"},Y),i(O.openapi,{identityDetection:!0},Y),P(q)})}function _(O){return new Promise(function(P,U){w(O).then(function(q){for(let Q in q)if(!q[Q].resolved){let ne=O.resolver.depth;ne>0&&ne++,O.resolver.actions[ne].push(function(){return k(O.openapi,Q,O,function(le,G,ce){if(!q[Q].resolved){let oe={};oe.context=q[Q],oe.$ref=Q,oe.original=l(le),oe.updated=le,oe.source=G,ce.externals.push(oe),q[Q].resolved=!0}let ee=Object.assign({},ce,{source:"",resolver:{actions:ce.resolver.actions,depth:ce.resolver.actions.length-1,base:ce.resolver.base}});ce.patch&&q[Q].description&&!le.description&&typeof le=="object"&&(le.description=q[Q].description),q[Q].data=le;let fe=f(q[Q].paths);fe=fe.sort(function(oe,F){const ie=oe.startsWith("#/components/")||oe.startsWith("#/definitions/"),W=F.startsWith("#/components/")||F.startsWith("#/definitions/");return ie&&!W?-1:W&&!ie?1:0});for(let oe of fe)if(q[Q].resolvedAt&&oe!==q[Q].resolvedAt&&oe.indexOf("x-ms-examples/")<0)ce.verbose>1&&console.warn("Creating pointer to data at",oe),a(ce.openapi,oe,{$ref:q[Q].resolvedAt+q[Q].extras[oe],"x-miro":Q+q[Q].extras[oe]});else{q[Q].resolvedAt?ce.verbose>1&&console.warn("Avoiding circular reference"):(q[Q].resolvedAt=oe,ce.verbose>1&&console.warn("Creating initial clone of data at",oe));let F=l(le);a(ce.openapi,oe,F)}ce.resolver.actions[ee.resolver.depth].length===0&&ce.resolver.actions[ee.resolver.depth].push(function(){return _(ee)})})})}}).catch(function(q){O.verbose&&console.warn(q),U(q)});let Y={options:O};Y.actions=O.resolver.actions[O.resolver.depth],P(Y)})}const A=O=>O.reduce((P,U)=>P.then(Y=>U().then(Array.prototype.concat.bind(Y))),Promise.resolve([]));function R(O,P,U){O.resolver.actions.push([]),_(O).then(function(Y){A(Y.actions).then(function(){if(O.resolver.depth>=O.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),P(!0);O.resolver.depth++,O.resolver.actions[O.resolver.depth].length?setTimeout(function(){R(Y.options,P,U)},0):(O.verbose>1&&console.warn(h.colour.yellow+"Finished external resolution!",h.colour.normal),O.resolveInternal&&(O.verbose>1&&console.warn(h.colour.yellow+"Starting internal resolution!",h.colour.normal),O.openapi=p(O.openapi,O.original,{verbose:O.verbose-1}),O.verbose>1&&console.warn(h.colour.yellow+"Finished internal resolution!",h.colour.normal)),i(O.openapi,{},function(q,Q,ne){u(q,Q)&&(O.preserveMiro||delete q["x-miro"])}),P(O))}).catch(function(q){O.verbose&&console.warn(q),U(q)})}).catch(function(Y){O.verbose&&console.warn(Y),U(Y)})}function E(O){if(O.cache||(O.cache={}),O.fetch||(O.fetch=n),O.source){let P=r.parse(O.source);(!P.protocol||P.protocol.length<=2)&&(O.source=t.resolve(O.source))}O.externals=[],O.externalRefs={},O.rewriteRefs=!0,O.resolver={},O.resolver.depth=0,O.resolver.base=O.source,O.resolver.actions=[[]]}function L(O){return E(O),new Promise(function(P,U){O.resolve?R(O,P,U):P(O)})}function I(O,P,U){return U||(U={}),U.openapi=O,U.source=P,U.resolve=!0,E(U),new Promise(function(Y,q){R(U,Y,q)})}return t3={optionalResolve:L,resolve:I},t3}var r3,QB;function iMe(){if(QB)return r3;QB=1;function e(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function t(r,n,o,a){if(typeof o.depth>"u"&&(o=e()),r===null||typeof r>"u")return r;if(typeof r.$ref<"u"){let i={$ref:r.$ref};return o.allowRefSiblings&&r.description&&(i.description=r.description),a(i,n,o),i}if(o.combine&&(r.allOf&&Array.isArray(r.allOf)&&r.allOf.length===1&&(r=Object.assign({},r.allOf[0],r),delete r.allOf),r.anyOf&&Array.isArray(r.anyOf)&&r.anyOf.length===1&&(r=Object.assign({},r.anyOf[0],r),delete r.anyOf),r.oneOf&&Array.isArray(r.oneOf)&&r.oneOf.length===1&&(r=Object.assign({},r.oneOf[0],r),delete r.oneOf)),a(r,n,o),o.seen.has(r))return r;if(typeof r=="object"&&r!==null&&o.seen.set(r,!0),o.top=!1,o.depth++,typeof r.items<"u"&&(o.property="items",t(r.items,r,o,a)),r.additionalItems&&typeof r.additionalItems=="object"&&(o.property="additionalItems",t(r.additionalItems,r,o,a)),r.additionalProperties&&typeof r.additionalProperties=="object"&&(o.property="additionalProperties",t(r.additionalProperties,r,o,a)),r.properties)for(let i in r.properties){let l=r.properties[i];o.property="properties/"+i,t(l,r,o,a)}if(r.patternProperties)for(let i in r.patternProperties){let l=r.patternProperties[i];o.property="patternProperties/"+i,t(l,r,o,a)}if(r.allOf)for(let i in r.allOf){let l=r.allOf[i];o.property="allOf/"+i,t(l,r,o,a)}if(r.anyOf)for(let i in r.anyOf){let l=r.anyOf[i];o.property="anyOf/"+i,t(l,r,o,a)}if(r.oneOf)for(let i in r.oneOf){let l=r.oneOf[i];o.property="oneOf/"+i,t(l,r,o,a)}return r.not&&(o.property="not",t(r.not,r,o,a)),o.depth--,r}return r3={getDefaultState:e,walkSchema:t},r3}var ZB={},n3={exports:{}},XB={},eq;function tq(){return eq||(eq=1,(function(e){e.fetch=o(globalThis.fetch)&&o(globalThis.ReadableStream),e.writableStream=o(globalThis.WritableStream),e.abortController=o(globalThis.AbortController);var t;function r(){if(t!==void 0)return t;if(globalThis.XMLHttpRequest){t=new globalThis.XMLHttpRequest;try{t.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var i=r();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?o(r().overrideMimeType):!1);function o(a){return typeof a=="function"}t=null})(XB)),XB}var j1={},o3={exports:{}},L1={exports:{}},rq;function sMe(){if(rq)return L1.exports;rq=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(R,E,L){return Function.prototype.apply.call(R,E,L)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:r=function(R){return Object.getOwnPropertyNames(R)};function n(R){console&&console.warn&&console.warn(R)}var o=Number.isNaN||function(R){return R!==R};function a(){a.init.call(this)}L1.exports=a,L1.exports.once=w,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(R){if(typeof R!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+R+".");i=R}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+R+".");return this._maxListeners=R,this};function p(R){return R._maxListeners===void 0?a.defaultMaxListeners:R._maxListeners}a.prototype.getMaxListeners=function(){return p(this)},a.prototype.emit=function(R){for(var E=[],L=1;L<arguments.length;L++)E.push(arguments[L]);var I=R==="error",O=this._events;if(O!==void 0)I=I&&O.error===void 0;else if(!I)return!1;if(I){var P;if(E.length>0&&(P=E[0]),P instanceof Error)throw P;var U=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw U.context=P,U}var Y=O[R];if(Y===void 0)return!1;if(typeof Y=="function")t(Y,this,E);else for(var q=Y.length,Q=y(Y,q),L=0;L<q;++L)t(Q[L],this,E);return!0};function u(R,E,L,I){var O,P,U;if(l(L),P=R._events,P===void 0?(P=R._events=Object.create(null),R._eventsCount=0):(P.newListener!==void 0&&(R.emit("newListener",E,L.listener?L.listener:L),P=R._events),U=P[E]),U===void 0)U=P[E]=L,++R._eventsCount;else if(typeof U=="function"?U=P[E]=I?[L,U]:[U,L]:I?U.unshift(L):U.push(L),O=p(R),O>0&&U.length>O&&!U.warned){U.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+U.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=R,Y.type=E,Y.count=U.length,n(Y)}return R}a.prototype.addListener=function(R,E){return u(this,R,E,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(R,E){return u(this,R,E,!0)};function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(R,E,L){var I={fired:!1,wrapFn:void 0,target:R,type:E,listener:L},O=h.bind(I);return O.listener=L,I.wrapFn=O,O}a.prototype.once=function(R,E){return l(E),this.on(R,f(this,R,E)),this},a.prototype.prependOnceListener=function(R,E){return l(E),this.prependListener(R,f(this,R,E)),this},a.prototype.removeListener=function(R,E){var L,I,O,P,U;if(l(E),I=this._events,I===void 0)return this;if(L=I[R],L===void 0)return this;if(L===E||L.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete I[R],I.removeListener&&this.emit("removeListener",R,L.listener||E));else if(typeof L!="function"){for(O=-1,P=L.length-1;P>=0;P--)if(L[P]===E||L[P].listener===E){U=L[P].listener,O=P;break}if(O<0)return this;O===0?L.shift():x(L,O),L.length===1&&(I[R]=L[0]),I.removeListener!==void 0&&this.emit("removeListener",R,U||E)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(R){var E,L,I;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[R]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[R]),this;if(arguments.length===0){var O=Object.keys(L),P;for(I=0;I<O.length;++I)P=O[I],P!=="removeListener"&&this.removeAllListeners(P);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=L[R],typeof E=="function")this.removeListener(R,E);else if(E!==void 0)for(I=E.length-1;I>=0;I--)this.removeListener(R,E[I]);return this};function b(R,E,L){var I=R._events;if(I===void 0)return[];var O=I[E];return O===void 0?[]:typeof O=="function"?L?[O.listener||O]:[O]:L?k(O):y(O,O.length)}a.prototype.listeners=function(R){return b(this,R,!0)},a.prototype.rawListeners=function(R){return b(this,R,!1)},a.listenerCount=function(R,E){return typeof R.listenerCount=="function"?R.listenerCount(E):v.call(R,E)},a.prototype.listenerCount=v;function v(R){var E=this._events;if(E!==void 0){var L=E[R];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function y(R,E){for(var L=new Array(E),I=0;I<E;++I)L[I]=R[I];return L}function x(R,E){for(;E+1<R.length;E++)R[E]=R[E+1];R.pop()}function k(R){for(var E=new Array(R.length),L=0;L<E.length;++L)E[L]=R[L].listener||R[L];return E}function w(R,E){return new Promise(function(L,I){function O(U){R.removeListener(E,P),I(U)}function P(){typeof R.removeListener=="function"&&R.removeListener("error",O),L([].slice.call(arguments))}A(R,E,P,{once:!0}),E!=="error"&&_(R,O,{once:!0})})}function _(R,E,L){typeof R.on=="function"&&A(R,"error",E,L)}function A(R,E,L,I){if(typeof R.on=="function")I.once?R.once(E,L):R.on(E,L);else if(typeof R.addEventListener=="function")R.addEventListener(E,function O(P){I.once&&R.removeEventListener(E,O),L(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof R)}return L1.exports}var nq,oq;function aq(){return oq||(oq=1,nq=sMe().EventEmitter),nq}var iq={},ph={},sq;function lMe(){if(sq)return ph;sq=1,ph.byteLength=l,ph.toByteArray=u,ph.fromByteArray=b;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o<a;++o)e[o]=n[o],t[n.charCodeAt(o)]=o;t[45]=62,t[95]=63;function i(v){var y=v.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");x===-1&&(x=y);var k=x===y?0:4-x%4;return[x,k]}function l(v){var y=i(v),x=y[0],k=y[1];return(x+k)*3/4-k}function p(v,y,x){return(y+x)*3/4-x}function u(v){var y,x=i(v),k=x[0],w=x[1],_=new r(p(v,k,w)),A=0,R=w>0?k-4:k,E;for(E=0;E<R;E+=4)y=t[v.charCodeAt(E)]<<18|t[v.charCodeAt(E+1)]<<12|t[v.charCodeAt(E+2)]<<6|t[v.charCodeAt(E+3)],_[A++]=y>>16&255,_[A++]=y>>8&255,_[A++]=y&255;return w===2&&(y=t[v.charCodeAt(E)]<<2|t[v.charCodeAt(E+1)]>>4,_[A++]=y&255),w===1&&(y=t[v.charCodeAt(E)]<<10|t[v.charCodeAt(E+1)]<<4|t[v.charCodeAt(E+2)]>>2,_[A++]=y>>8&255,_[A++]=y&255),_}function h(v){return e[v>>18&63]+e[v>>12&63]+e[v>>6&63]+e[v&63]}function f(v,y,x){for(var k,w=[],_=y;_<x;_+=3)k=(v[_]<<16&16711680)+(v[_+1]<<8&65280)+(v[_+2]&255),w.push(h(k));return w.join("")}function b(v){for(var y,x=v.length,k=x%3,w=[],_=16383,A=0,R=x-k;A<R;A+=_)w.push(f(v,A,A+_>R?R:A+_));return k===1?(y=v[x-1],w.push(e[y>>2]+e[y<<4&63]+"==")):k===2&&(y=(v[x-2]<<8)+v[x-1],w.push(e[y>>10]+e[y>>4&63]+e[y<<2&63]+"=")),w.join("")}return ph}var a3={},lq;function cMe(){return lq||(lq=1,a3.read=function(e,t,r,n,o){var a,i,l=o*8-n-1,p=(1<<l)-1,u=p>>1,h=-7,f=r?o-1:0,b=r?-1:1,v=e[t+f];for(f+=b,a=v&(1<<-h)-1,v>>=-h,h+=l;h>0;a=a*256+e[t+f],f+=b,h-=8);for(i=a&(1<<-h)-1,a>>=-h,h+=n;h>0;i=i*256+e[t+f],f+=b,h-=8);if(a===0)a=1-u;else{if(a===p)return i?NaN:(v?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-u}return(v?-1:1)*i*Math.pow(2,a-n)},a3.write=function(e,t,r,n,o,a){var i,l,p,u=a*8-o-1,h=(1<<u)-1,f=h>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,y=n?1:-1,x=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=h):(i=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-i))<1&&(i--,p*=2),i+f>=1?t+=b/p:t+=b*Math.pow(2,1-f),t*p>=2&&(i++,p/=2),i+f>=h?(l=0,i=h):i+f>=1?(l=(t*p-1)*Math.pow(2,o),i=i+f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[r+v]=l&255,v+=y,l/=256,o-=8);for(i=i<<o|l,u+=o;u>0;e[r+v]=i&255,v+=y,i/=256,u-=8);e[r+v-y]|=x*128}),a3}var cq;function uh(){return cq||(cq=1,(function(e){const t=lMe(),r=cMe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=a(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const j=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf(j,M),j.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function i(j){if(j>o)throw new RangeError('The value "'+j+'" is invalid for option "size"');const M=new Uint8Array(j);return Object.setPrototypeOf(M,l.prototype),M}function l(j,M,z){if(typeof j=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(j)}return p(j,M,z)}l.poolSize=8192;function p(j,M,z){if(typeof j=="string")return b(j,M);if(ArrayBuffer.isView(j))return y(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(Ge(j,ArrayBuffer)||j&&Ge(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge(j,SharedArrayBuffer)||j&&Ge(j.buffer,SharedArrayBuffer)))return x(j,M,z);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const de=j.valueOf&&j.valueOf();if(de!=null&&de!==j)return l.from(de,M,z);const ke=k(j);if(ke)return ke;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return l.from(j[Symbol.toPrimitive]("string"),M,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}l.from=function(j,M,z){return p(j,M,z)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function u(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function h(j,M,z){return u(j),j<=0?i(j):M!==void 0?typeof z=="string"?i(j).fill(M,z):i(j).fill(M):i(j)}l.alloc=function(j,M,z){return h(j,M,z)};function f(j){return u(j),i(j<0?0:w(j)|0)}l.allocUnsafe=function(j){return f(j)},l.allocUnsafeSlow=function(j){return f(j)};function b(j,M){if((typeof M!="string"||M==="")&&(M="utf8"),!l.isEncoding(M))throw new TypeError("Unknown encoding: "+M);const z=A(j,M)|0;let de=i(z);const ke=de.write(j,M);return ke!==z&&(de=de.slice(0,ke)),de}function v(j){const M=j.length<0?0:w(j.length)|0,z=i(M);for(let de=0;de<M;de+=1)z[de]=j[de]&255;return z}function y(j){if(Ge(j,Uint8Array)){const M=new Uint8Array(j);return x(M.buffer,M.byteOffset,M.byteLength)}return v(j)}function x(j,M,z){if(M<0||j.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<M+(z||0))throw new RangeError('"length" is outside of buffer bounds');let de;return M===void 0&&z===void 0?de=new Uint8Array(j):z===void 0?de=new Uint8Array(j,M):de=new Uint8Array(j,M,z),Object.setPrototypeOf(de,l.prototype),de}function k(j){if(l.isBuffer(j)){const M=w(j.length)|0,z=i(M);return z.length===0||j.copy(z,0,0,M),z}if(j.length!==void 0)return typeof j.length!="number"||Je(j.length)?i(0):v(j);if(j.type==="Buffer"&&Array.isArray(j.data))return v(j.data)}function w(j){if(j>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return j|0}function _(j){return+j!=j&&(j=0),l.alloc(+j)}l.isBuffer=function(j){return j!=null&&j._isBuffer===!0&&j!==l.prototype},l.compare=function(j,M){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),Ge(M,Uint8Array)&&(M=l.from(M,M.offset,M.byteLength)),!l.isBuffer(j)||!l.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(j===M)return 0;let z=j.length,de=M.length;for(let ke=0,Ne=Math.min(z,de);ke<Ne;++ke)if(j[ke]!==M[ke]){z=j[ke],de=M[ke];break}return z<de?-1:de<z?1:0},l.isEncoding=function(j){switch(String(j).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(j,M){if(!Array.isArray(j))throw new TypeError('"list" argument must be an Array of Buffers');if(j.length===0)return l.alloc(0);let z;if(M===void 0)for(M=0,z=0;z<j.length;++z)M+=j[z].length;const de=l.allocUnsafe(M);let ke=0;for(z=0;z<j.length;++z){let Ne=j[z];if(Ge(Ne,Uint8Array))ke+Ne.length>de.length?(l.isBuffer(Ne)||(Ne=l.from(Ne)),Ne.copy(de,ke)):Uint8Array.prototype.set.call(de,Ne,ke);else if(l.isBuffer(Ne))Ne.copy(de,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return de};function A(j,M){if(l.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||Ge(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const z=j.length,de=arguments.length>2&&arguments[2]===!0;if(!de&&z===0)return 0;let ke=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return me(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Ye(j).length;default:if(ke)return de?-1:me(j).length;M=(""+M).toLowerCase(),ke=!0}}l.byteLength=A;function R(j,M,z){let de=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((z===void 0||z>this.length)&&(z=this.length),z<=0)||(z>>>=0,M>>>=0,z<=M))return"";for(j||(j="utf8");;)switch(j){case"hex":return fe(this,M,z);case"utf8":case"utf-8":return ne(this,M,z);case"ascii":return ce(this,M,z);case"latin1":case"binary":return ee(this,M,z);case"base64":return Q(this,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,M,z);default:if(de)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),de=!0}}l.prototype._isBuffer=!0;function E(j,M,z){const de=j[M];j[M]=j[z],j[z]=de}l.prototype.swap16=function(){const j=this.length;if(j%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;M<j;M+=2)E(this,M,M+1);return this},l.prototype.swap32=function(){const j=this.length;if(j%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let M=0;M<j;M+=4)E(this,M,M+3),E(this,M+1,M+2);return this},l.prototype.swap64=function(){const j=this.length;if(j%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let M=0;M<j;M+=8)E(this,M,M+7),E(this,M+1,M+6),E(this,M+2,M+5),E(this,M+3,M+4);return this},l.prototype.toString=function(){const j=this.length;return j===0?"":arguments.length===0?ne(this,0,j):R.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(j){if(!l.isBuffer(j))throw new TypeError("Argument must be a Buffer");return this===j?!0:l.compare(this,j)===0},l.prototype.inspect=function(){let j="";const M=e.INSPECT_MAX_BYTES;return j=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&(j+=" ... "),"<Buffer "+j+">"},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(j,M,z,de,ke){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),!l.isBuffer(j))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof j);if(M===void 0&&(M=0),z===void 0&&(z=j?j.length:0),de===void 0&&(de=0),ke===void 0&&(ke=this.length),M<0||z>j.length||de<0||ke>this.length)throw new RangeError("out of range index");if(de>=ke&&M>=z)return 0;if(de>=ke)return-1;if(M>=z)return 1;if(M>>>=0,z>>>=0,de>>>=0,ke>>>=0,this===j)return 0;let Ne=ke-de,De=z-M;const at=Math.min(Ne,De),yt=this.slice(de,ke),ht=j.slice(M,z);for(let Nt=0;Nt<at;++Nt)if(yt[Nt]!==ht[Nt]){Ne=yt[Nt],De=ht[Nt];break}return Ne<De?-1:De<Ne?1:0};function L(j,M,z,de,ke){if(j.length===0)return-1;if(typeof z=="string"?(de=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,Je(z)&&(z=ke?0:j.length-1),z<0&&(z=j.length+z),z>=j.length){if(ke)return-1;z=j.length-1}else if(z<0)if(ke)z=0;else return-1;if(typeof M=="string"&&(M=l.from(M,de)),l.isBuffer(M))return M.length===0?-1:I(j,M,z,de,ke);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(j,M,z):Uint8Array.prototype.lastIndexOf.call(j,M,z):I(j,[M],z,de,ke);throw new TypeError("val must be string, number or Buffer")}function I(j,M,z,de,ke){let Ne=1,De=j.length,at=M.length;if(de!==void 0&&(de=String(de).toLowerCase(),de==="ucs2"||de==="ucs-2"||de==="utf16le"||de==="utf-16le")){if(j.length<2||M.length<2)return-1;Ne=2,De/=2,at/=2,z/=2}function yt(Nt,Ht){return Ne===1?Nt[Ht]:Nt.readUInt16BE(Ht*Ne)}let ht;if(ke){let Nt=-1;for(ht=z;ht<De;ht++)if(yt(j,ht)===yt(M,Nt===-1?0:ht-Nt)){if(Nt===-1&&(Nt=ht),ht-Nt+1===at)return Nt*Ne}else Nt!==-1&&(ht-=ht-Nt),Nt=-1}else for(z+at>De&&(z=De-at),ht=z;ht>=0;ht--){let Nt=!0;for(let Ht=0;Ht<at;Ht++)if(yt(j,ht+Ht)!==yt(M,Ht)){Nt=!1;break}if(Nt)return ht}return-1}l.prototype.includes=function(j,M,z){return this.indexOf(j,M,z)!==-1},l.prototype.indexOf=function(j,M,z){return L(this,j,M,z,!0)},l.prototype.lastIndexOf=function(j,M,z){return L(this,j,M,z,!1)};function O(j,M,z,de){z=Number(z)||0;const ke=j.length-z;de?(de=Number(de),de>ke&&(de=ke)):de=ke;const Ne=M.length;de>Ne/2&&(de=Ne/2);let De;for(De=0;De<de;++De){const at=parseInt(M.substr(De*2,2),16);if(Je(at))return De;j[z+De]=at}return De}function P(j,M,z,de){return Ke(me(M,j.length-z),j,z,de)}function U(j,M,z,de){return Ke(je(M),j,z,de)}function Y(j,M,z,de){return Ke(Ye(M),j,z,de)}function q(j,M,z,de){return Ke(he(M,j.length-z),j,z,de)}l.prototype.write=function(j,M,z,de){if(M===void 0)de="utf8",z=this.length,M=0;else if(z===void 0&&typeof M=="string")de=M,z=this.length,M=0;else if(isFinite(M))M=M>>>0,isFinite(z)?(z=z>>>0,de===void 0&&(de="utf8")):(de=z,z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ke=this.length-M;if((z===void 0||z>ke)&&(z=ke),j.length>0&&(z<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");let Ne=!1;for(;;)switch(de){case"hex":return O(this,j,M,z);case"utf8":case"utf-8":return P(this,j,M,z);case"ascii":case"latin1":case"binary":return U(this,j,M,z);case"base64":return Y(this,j,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,j,M,z);default:if(Ne)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),Ne=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(j,M,z){return M===0&&z===j.length?t.fromByteArray(j):t.fromByteArray(j.slice(M,z))}function ne(j,M,z){z=Math.min(j.length,z);const de=[];let ke=M;for(;ke<z;){const Ne=j[ke];let De=null,at=Ne>239?4:Ne>223?3:Ne>191?2:1;if(ke+at<=z){let yt,ht,Nt,Ht;switch(at){case 1:Ne<128&&(De=Ne);break;case 2:yt=j[ke+1],(yt&192)===128&&(Ht=(Ne&31)<<6|yt&63,Ht>127&&(De=Ht));break;case 3:yt=j[ke+1],ht=j[ke+2],(yt&192)===128&&(ht&192)===128&&(Ht=(Ne&15)<<12|(yt&63)<<6|ht&63,Ht>2047&&(Ht<55296||Ht>57343)&&(De=Ht));break;case 4:yt=j[ke+1],ht=j[ke+2],Nt=j[ke+3],(yt&192)===128&&(ht&192)===128&&(Nt&192)===128&&(Ht=(Ne&15)<<18|(yt&63)<<12|(ht&63)<<6|Nt&63,Ht>65535&&Ht<1114112&&(De=Ht))}}De===null?(De=65533,at=1):De>65535&&(De-=65536,de.push(De>>>10&1023|55296),De=56320|De&1023),de.push(De),ke+=at}return G(de)}const le=4096;function G(j){const M=j.length;if(M<=le)return String.fromCharCode.apply(String,j);let z="",de=0;for(;de<M;)z+=String.fromCharCode.apply(String,j.slice(de,de+=le));return z}function ce(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]&127);return de}function ee(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]);return de}function fe(j,M,z){const de=j.length;(!M||M<0)&&(M=0),(!z||z<0||z>de)&&(z=de);let ke="";for(let Ne=M;Ne<z;++Ne)ke+=He[j[Ne]];return ke}function oe(j,M,z){const de=j.slice(M,z);let ke="";for(let Ne=0;Ne<de.length-1;Ne+=2)ke+=String.fromCharCode(de[Ne]+de[Ne+1]*256);return ke}l.prototype.slice=function(j,M){const z=this.length;j=~~j,M=M===void 0?z:~~M,j<0?(j+=z,j<0&&(j=0)):j>z&&(j=z),M<0?(M+=z,M<0&&(M=0)):M>z&&(M=z),M<j&&(M=j);const de=this.subarray(j,M);return Object.setPrototypeOf(de,l.prototype),de};function F(j,M,z){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+M>z)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return de},l.prototype.readUintBE=l.prototype.readUIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j+--M],ke=1;for(;M>0&&(ke*=256);)de+=this[j+--M]*ke;return de},l.prototype.readUint8=l.prototype.readUInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]|this[j+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]<<8|this[j+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),(this[j]|this[j+1]<<8|this[j+2]<<16)+this[j+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]*16777216+(this[j+1]<<16|this[j+2]<<8|this[j+3])},l.prototype.readBigUInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24,ke=this[++j]+this[++j]*2**8+this[++j]*2**16+z*2**24;return BigInt(de)+(BigInt(ke)<<BigInt(32))}),l.prototype.readBigUInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M*2**24+this[++j]*2**16+this[++j]*2**8+this[++j],ke=this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z;return(BigInt(de)<<BigInt(32))+BigInt(ke)}),l.prototype.readIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return ke*=128,de>=ke&&(de-=Math.pow(2,8*M)),de},l.prototype.readIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=M,ke=1,Ne=this[j+--de];for(;de>0&&(ke*=256);)Ne+=this[j+--de]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*M)),Ne},l.prototype.readInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]&128?(255-this[j]+1)*-1:this[j]},l.prototype.readInt16LE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j]|this[j+1]<<8;return z&32768?z|4294901760:z},l.prototype.readInt16BE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j+1]|this[j]<<8;return z&32768?z|4294901760:z},l.prototype.readInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]|this[j+1]<<8|this[j+2]<<16|this[j+3]<<24},l.prototype.readInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]<<24|this[j+1]<<16|this[j+2]<<8|this[j+3]},l.prototype.readBigInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=this[j+4]+this[j+5]*2**8+this[j+6]*2**16+(z<<24);return(BigInt(de)<<BigInt(32))+BigInt(M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24)}),l.prototype.readBigInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=(M<<24)+this[++j]*2**16+this[++j]*2**8+this[++j];return(BigInt(de)<<BigInt(32))+BigInt(this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z)}),l.prototype.readFloatLE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!0,23,4)},l.prototype.readFloatBE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!1,23,4)},l.prototype.readDoubleLE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!0,52,8)},l.prototype.readDoubleBE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!1,52,8)};function ie(j,M,z,de,ke,Ne){if(!l.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ke||M<Ne)throw new RangeError('"value" argument is out of bounds');if(z+de>j.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=1,Ne=0;for(this[M]=j&255;++Ne<z&&(ke*=256);)this[M+Ne]=j/ke&255;return M+z},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=z-1,Ne=1;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)this[M+ke]=j/Ne&255;return M+z},l.prototype.writeUint8=l.prototype.writeUInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,255,0),this[M]=j&255,M+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M+3]=j>>>24,this[M+2]=j>>>16,this[M+1]=j>>>8,this[M]=j&255,M+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4};function W(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,z}function V(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z+7]=Ne,Ne=Ne>>8,j[z+6]=Ne,Ne=Ne>>8,j[z+5]=Ne,Ne=Ne>>8,j[z+4]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z+3]=De,De=De>>8,j[z+2]=De,De=De>>8,j[z+1]=De,De=De>>8,j[z]=De,z+8}l.prototype.writeBigUInt64LE=ot(function(j,M=0){return W(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ot(function(j,M=0){return V(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=0,Ne=1,De=0;for(this[M]=j&255;++ke<z&&(Ne*=256);)j<0&&De===0&&this[M+ke-1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=z-1,Ne=1,De=0;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)j<0&&De===0&&this[M+ke+1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,127,-128),j<0&&(j=255+j+1),this[M]=j&255,M+1},l.prototype.writeInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),this[M]=j&255,this[M+1]=j>>>8,this[M+2]=j>>>16,this[M+3]=j>>>24,M+4},l.prototype.writeInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),j<0&&(j=4294967295+j+1),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4},l.prototype.writeBigInt64LE=ot(function(j,M=0){return W(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ot(function(j,M=0){return V(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function pe(j,M,z,de,ke,Ne){if(z+de>j.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function K(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,4),r.write(j,M,z,de,23,4),z+4}l.prototype.writeFloatLE=function(j,M,z){return K(this,j,M,!0,z)},l.prototype.writeFloatBE=function(j,M,z){return K(this,j,M,!1,z)};function se(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,8),r.write(j,M,z,de,52,8),z+8}l.prototype.writeDoubleLE=function(j,M,z){return se(this,j,M,!0,z)},l.prototype.writeDoubleBE=function(j,M,z){return se(this,j,M,!1,z)},l.prototype.copy=function(j,M,z,de){if(!l.isBuffer(j))throw new TypeError("argument should be a Buffer");if(z||(z=0),!de&&de!==0&&(de=this.length),M>=j.length&&(M=j.length),M||(M=0),de>0&&de<z&&(de=z),de===z||j.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(z<0||z>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),j.length-M<de-z&&(de=j.length-M+z);const ke=de-z;return this===j&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(M,z,de):Uint8Array.prototype.set.call(j,this.subarray(z,de),M),ke},l.prototype.fill=function(j,M,z,de){if(typeof j=="string"){if(typeof M=="string"?(de=M,M=0,z=this.length):typeof z=="string"&&(de=z,z=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(j.length===1){const Ne=j.charCodeAt(0);(de==="utf8"&&Ne<128||de==="latin1")&&(j=Ne)}}else typeof j=="number"?j=j&255:typeof j=="boolean"&&(j=Number(j));if(M<0||this.length<M||this.length<z)throw new RangeError("Out of range index");if(z<=M)return this;M=M>>>0,z=z===void 0?this.length:z>>>0,j||(j=0);let ke;if(typeof j=="number")for(ke=M;ke<z;++ke)this[ke]=j;else{const Ne=l.isBuffer(j)?j:l.from(j,de),De=Ne.length;if(De===0)throw new TypeError('The value "'+j+'" is invalid for argument "value"');for(ke=0;ke<z-M;++ke)this[ke+M]=Ne[ke%De]}return this};const X={};function te(j,M,z){X[j]=class extends z{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,delete this.name}get code(){return j}set code(de){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:de,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}te("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),te("ERR_INVALID_ARG_TYPE",function(j,M){return`The "${j}" argument must be of type number. Received type ${typeof M}`},TypeError),te("ERR_OUT_OF_RANGE",function(j,M,z){let de=`The value of "${j}" is out of range.`,ke=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ke=_e(String(z)):typeof z=="bigint"&&(ke=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ke=_e(ke)),ke+="n"),de+=` It must be ${M}. Received ${ke}`,de},RangeError);function _e(j){let M="",z=j.length;const de=j[0]==="-"?1:0;for(;z>=de+4;z-=3)M=`_${j.slice(z-3,z)}${M}`;return`${j.slice(0,z)}${M}`}function S(j,M,z){B(M,"offset"),(j[M]===void 0||j[M+z]===void 0)&&re(M,j.length-(z+1))}function N(j,M,z,de,ke,Ne){if(j>z||j<M){const De=typeof M=="bigint"?"n":"";let at;throw M===0||M===BigInt(0)?at=`>= 0${De} and < 2${De} ** ${(Ne+1)*8}${De}`:at=`>= -(2${De} ** ${(Ne+1)*8-1}${De}) and < 2 ** ${(Ne+1)*8-1}${De}`,new X.ERR_OUT_OF_RANGE("value",at,j)}S(de,ke,Ne)}function B(j,M){if(typeof j!="number")throw new X.ERR_INVALID_ARG_TYPE(M,"number",j)}function re(j,M,z){throw Math.floor(j)!==j?(B(j,z),new X.ERR_OUT_OF_RANGE("offset","an integer",j)):M<0?new X.ERR_BUFFER_OUT_OF_BOUNDS:new X.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,j)}const ye=/[^+/0-9A-Za-z-_]/g;function ue(j){if(j=j.split("=")[0],j=j.trim().replace(ye,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function me(j,M){M=M||1/0;let z;const de=j.length;let ke=null;const Ne=[];for(let De=0;De<de;++De){if(z=j.charCodeAt(De),z>55295&&z<57344){if(!ke){if(z>56319){(M-=3)>-1&&Ne.push(239,191,189);continue}else if(De+1===de){(M-=3)>-1&&Ne.push(239,191,189);continue}ke=z;continue}if(z<56320){(M-=3)>-1&&Ne.push(239,191,189),ke=z;continue}z=(ke-55296<<10|z-56320)+65536}else ke&&(M-=3)>-1&&Ne.push(239,191,189);if(ke=null,z<128){if((M-=1)<0)break;Ne.push(z)}else if(z<2048){if((M-=2)<0)break;Ne.push(z>>6|192,z&63|128)}else if(z<65536){if((M-=3)<0)break;Ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((M-=4)<0)break;Ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return Ne}function je(j){const M=[];for(let z=0;z<j.length;++z)M.push(j.charCodeAt(z)&255);return M}function he(j,M){let z,de,ke;const Ne=[];for(let De=0;De<j.length&&!((M-=2)<0);++De)z=j.charCodeAt(De),de=z>>8,ke=z%256,Ne.push(ke),Ne.push(de);return Ne}function Ye(j){return t.toByteArray(ue(j))}function Ke(j,M,z,de){let ke;for(ke=0;ke<de&&!(ke+z>=M.length||ke>=j.length);++ke)M[ke+z]=j[ke];return ke}function Ge(j,M){return j instanceof M||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===M.name}function Je(j){return j!==j}const He=(function(){const j="0123456789abcdef",M=new Array(256);for(let z=0;z<16;++z){const de=z*16;for(let ke=0;ke<16;++ke)M[de+ke]=j[z]+j[ke]}return M})();function ot(j){return typeof BigInt>"u"?ur:j}function ur(){throw new Error("BigInt not supported")}})(iq)),iq}const pq=Sa(Kz);var i3,uq;function pMe(){if(uq)return i3;uq=1;function e(y,x){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);x&&(w=w.filter(function(_){return Object.getOwnPropertyDescriptor(y,_).enumerable})),k.push.apply(k,w)}return k}function t(y){for(var x=1;x<arguments.length;x++){var k=arguments[x]!=null?arguments[x]:{};x%2?e(Object(k),!0).forEach(function(w){r(y,w,k[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):e(Object(k)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(k,w))})}return y}function r(y,x,k){return x=i(x),x in y?Object.defineProperty(y,x,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[x]=k,y}function n(y,x){if(!(y instanceof x))throw new TypeError("Cannot call a class as a function")}function o(y,x){for(var k=0;k<x.length;k++){var w=x[k];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,i(w.key),w)}}function a(y,x,k){return x&&o(y.prototype,x),Object.defineProperty(y,"prototype",{writable:!1}),y}function i(y){var x=l(y,"string");return typeof x=="symbol"?x:String(x)}function l(y,x){if(typeof y!="object"||y===null)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var w=k.call(y,x);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(y)}var p=uh(),u=p.Buffer,h=pq,f=h.inspect,b=f&&f.custom||"inspect";function v(y,x,k){u.prototype.copy.call(y,x,k)}return i3=(function(){function y(){n(this,y),this.head=null,this.tail=null,this.length=0}return a(y,[{key:"push",value:function(x){var k={data:x,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(x){var k={data:x,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var k=this.head,w=""+k.data;k=k.next;)w+=x+k.data;return w}},{key:"concat",value:function(x){if(this.length===0)return u.alloc(0);for(var k=u.allocUnsafe(x>>>0),w=this.head,_=0;w;)v(w.data,k,_),_+=w.data.length,w=w.next;return k}},{key:"consume",value:function(x,k){var w;return x<this.head.data.length?(w=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?w=this.shift():w=k?this._getString(x):this._getBuffer(x),w}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var k=this.head,w=1,_=k.data;for(x-=_.length;k=k.next;){var A=k.data,R=x>A.length?A.length:x;if(R===A.length?_+=A:_+=A.slice(0,x),x-=R,x===0){R===A.length?(++w,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=A.slice(R));break}++w}return this.length-=w,_}},{key:"_getBuffer",value:function(x){var k=u.allocUnsafe(x),w=this.head,_=1;for(w.data.copy(k),x-=w.data.length;w=w.next;){var A=w.data,R=x>A.length?A.length:x;if(A.copy(k,k.length-x,0,R),x-=R,x===0){R===A.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=A.slice(R));break}++_}return this.length-=_,k}},{key:b,value:function(x,k){return f(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),y})(),i3}var s3,dq;function hq(){if(dq)return s3;dq=1;function e(i,l){var p=this,u=this._readableState&&this._readableState.destroyed,h=this._writableState&&this._writableState.destroyed;return u||h?(l?l(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,i)):process.nextTick(o,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(f){!l&&f?p._writableState?p._writableState.errorEmitted?process.nextTick(r,p):(p._writableState.errorEmitted=!0,process.nextTick(t,p,f)):process.nextTick(t,p,f):l?(process.nextTick(r,p),l(f)):process.nextTick(r,p)}),this)}function t(i,l){o(i,l),r(i)}function r(i){i._writableState&&!i._writableState.emitClose||i._readableState&&!i._readableState.emitClose||i.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(i,l){i.emit("error",l)}function a(i,l){var p=i._readableState,u=i._writableState;p&&p.autoDestroy||u&&u.autoDestroy?i.destroy(l):i.emit("error",l)}return s3={destroy:e,undestroy:n,errorOrDestroy:a},s3}var l3={},fq;function Ap(){if(fq)return l3;fq=1;function e(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,l.__proto__=p}var t={};function r(l,p,u){u||(u=Error);function h(b,v,y){return typeof p=="string"?p:p(b,v,y)}var f=(function(b){e(v,b);function v(y,x,k){return b.call(this,h(y,x,k))||this}return v})(u);f.prototype.name=u.name,f.prototype.code=l,t[l]=f}function n(l,p){if(Array.isArray(l)){var u=l.length;return l=l.map(function(h){return String(h)}),u>2?"one of ".concat(p," ").concat(l.slice(0,u-1).join(", "),", or ")+l[u-1]:u===2?"one of ".concat(p," ").concat(l[0]," or ").concat(l[1]):"of ".concat(p," ").concat(l[0])}else return"of ".concat(p," ").concat(String(l))}function o(l,p,u){return l.substr(0,p.length)===p}function a(l,p,u){return(u===void 0||u>l.length)&&(u=l.length),l.substring(u-p.length,u)===p}function i(l,p,u){return typeof u!="number"&&(u=0),u+p.length>l.length?!1:l.indexOf(p,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(l,p){return'The value "'+p+'" is invalid for option "'+l+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(l,p,u){var h;typeof p=="string"&&o(p,"not ")?(h="must not be",p=p.replace(/^not /,"")):h="must be";var f;if(a(l," argument"))f="The ".concat(l," ").concat(h," ").concat(n(p,"type"));else{var b=i(l,".")?"property":"argument";f='The "'.concat(l,'" ').concat(b," ").concat(h," ").concat(n(p,"type"))}return f+=". Received type ".concat(typeof u),f},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),l3.codes=t,l3}var c3,mq;function gq(){if(mq)return c3;mq=1;var e=Ap().codes.ERR_INVALID_OPT_VALUE;function t(n,o,a){return n.highWaterMark!=null?n.highWaterMark:o?n[a]:null}function r(n,o,a,i){var l=t(o,i,a);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var p=i?a:"highWaterMark";throw new e(p,l)}return Math.floor(l)}return n.objectMode?16:16*1024}return c3={getHighWaterMark:r},c3}var p3,bq;function uMe(){if(bq)return p3;bq=1,p3=e;function e(r,n){if(t("noDeprecation"))return r;var o=!1;function a(){if(!o){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),o=!0}return r.apply(this,arguments)}return a}function t(r){try{if(!globalThis.localStorage)return!1}catch{return!1}var n=globalThis.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return p3}var u3,vq;function yq(){if(vq)return u3;vq=1,u3=O;function e(K){var se=this;this.next=null,this.entry=null,this.finish=function(){pe(se,K)}}var t;O.WritableState=L;var r={deprecate:uMe()},n=aq(),o=uh().Buffer,a=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(K){return o.from(K)}function l(K){return o.isBuffer(K)||K instanceof a}var p=hq(),u=gq(),h=u.getHighWaterMark,f=Ap().codes,b=f.ERR_INVALID_ARG_TYPE,v=f.ERR_METHOD_NOT_IMPLEMENTED,y=f.ERR_MULTIPLE_CALLBACK,x=f.ERR_STREAM_CANNOT_PIPE,k=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,A=f.ERR_UNKNOWN_ENCODING,R=p.errorOrDestroy;function E(){}function L(K,se,X){t=t||Ep(),K=K||{},typeof X!="boolean"&&(X=se instanceof t),this.objectMode=!!K.objectMode,X&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=h(this,K,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var te=K.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){G(se,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}L.prototype.getBuffer=function(){for(var K=this.bufferedRequest,se=[];K;)se.push(K),K=K.next;return se},(function(){try{Object.defineProperty(L.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var I;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(K){return I.call(this,K)?!0:this!==O?!1:K&&K._writableState instanceof L}})):I=function(K){return K instanceof this};function O(K){t=t||Ep();var se=this instanceof t;if(!se&&!I.call(O,this))return new O(K);this._writableState=new L(K,this,se),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),n.call(this)}O.prototype.pipe=function(){R(this,new x)};function P(K,se){var X=new _;R(K,X),process.nextTick(se,X)}function U(K,se,X,te){var _e;return X===null?_e=new w:typeof X!="string"&&!se.objectMode&&(_e=new b("chunk",["string","Buffer"],X)),_e?(R(K,_e),process.nextTick(te,_e),!1):!0}O.prototype.write=function(K,se,X){var te=this._writableState,_e=!1,S=!te.objectMode&&l(K);return S&&!o.isBuffer(K)&&(K=i(K)),typeof se=="function"&&(X=se,se=null),S?se="buffer":se||(se=te.defaultEncoding),typeof X!="function"&&(X=E),te.ending?P(this,X):(S||U(this,te,K,X))&&(te.pendingcb++,_e=q(this,te,S,K,se,X)),_e},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var K=this._writableState;K.corked&&(K.corked--,!K.writing&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&fe(this,K))},O.prototype.setDefaultEncoding=function(K){if(typeof K=="string"&&(K=K.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((K+"").toLowerCase())>-1))throw new A(K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Y(K,se,X){return!K.objectMode&&K.decodeStrings!==!1&&typeof se=="string"&&(se=o.from(se,X)),se}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q(K,se,X,te,_e,S){if(!X){var N=Y(se,te,_e);te!==N&&(X=!0,_e="buffer",te=N)}var B=se.objectMode?1:te.length;se.length+=B;var re=se.length<se.highWaterMark;if(re||(se.needDrain=!0),se.writing||se.corked){var ye=se.lastBufferedRequest;se.lastBufferedRequest={chunk:te,encoding:_e,isBuf:X,callback:S,next:null},ye?ye.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else Q(K,se,!1,B,te,_e,S);return re}function Q(K,se,X,te,_e,S,N){se.writelen=te,se.writecb=N,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new k("write")):X?K._writev(_e,se.onwrite):K._write(_e,S,se.onwrite),se.sync=!1}function ne(K,se,X,te,_e){--se.pendingcb,X?(process.nextTick(_e,te),process.nextTick(W,K,se),K._writableState.errorEmitted=!0,R(K,te)):(_e(te),K._writableState.errorEmitted=!0,R(K,te),W(K,se))}function le(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0}function G(K,se){var X=K._writableState,te=X.sync,_e=X.writecb;if(typeof _e!="function")throw new y;if(le(X),se)ne(K,X,te,se,_e);else{var S=oe(X)||K.destroyed;!S&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&fe(K,X),te?process.nextTick(ce,K,X,S,_e):ce(K,X,S,_e)}}function ce(K,se,X,te){X||ee(K,se),se.pendingcb--,te(),W(K,se)}function ee(K,se){se.length===0&&se.needDrain&&(se.needDrain=!1,K.emit("drain"))}function fe(K,se){se.bufferProcessing=!0;var X=se.bufferedRequest;if(K._writev&&X&&X.next){var te=se.bufferedRequestCount,_e=new Array(te),S=se.corkedRequestsFree;S.entry=X;for(var N=0,B=!0;X;)_e[N]=X,X.isBuf||(B=!1),X=X.next,N+=1;_e.allBuffers=B,Q(K,se,!0,se.length,_e,"",S.finish),se.pendingcb++,se.lastBufferedRequest=null,S.next?(se.corkedRequestsFree=S.next,S.next=null):se.corkedRequestsFree=new e(se),se.bufferedRequestCount=0}else{for(;X;){var re=X.chunk,ye=X.encoding,ue=X.callback,me=se.objectMode?1:re.length;if(Q(K,se,!1,me,re,ye,ue),X=X.next,se.bufferedRequestCount--,se.writing)break}X===null&&(se.lastBufferedRequest=null)}se.bufferedRequest=X,se.bufferProcessing=!1}O.prototype._write=function(K,se,X){X(new v("_write()"))},O.prototype._writev=null,O.prototype.end=function(K,se,X){var te=this._writableState;return typeof K=="function"?(X=K,K=null,se=null):typeof se=="function"&&(X=se,se=null),K!=null&&this.write(K,se),te.corked&&(te.corked=1,this.uncork()),te.ending||V(this,te,X),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}function F(K,se){K._final(function(X){se.pendingcb--,X&&R(K,X),se.prefinished=!0,K.emit("prefinish"),W(K,se)})}function ie(K,se){!se.prefinished&&!se.finalCalled&&(typeof K._final=="function"&&!se.destroyed?(se.pendingcb++,se.finalCalled=!0,process.nextTick(F,K,se)):(se.prefinished=!0,K.emit("prefinish")))}function W(K,se){var X=oe(se);if(X&&(ie(K,se),se.pendingcb===0&&(se.finished=!0,K.emit("finish"),se.autoDestroy))){var te=K._readableState;(!te||te.autoDestroy&&te.endEmitted)&&K.destroy()}return X}function V(K,se,X){se.ending=!0,W(K,se),X&&(se.finished?process.nextTick(X):K.once("finish",X)),se.ended=!0,K.writable=!1}function pe(K,se,X){var te=K.entry;for(K.entry=null;te;){var _e=te.callback;se.pendingcb--,_e(X),te=te.next}se.corkedRequestsFree.next=K}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(K){this._writableState&&(this._writableState.destroyed=K)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(K,se){se(K)},u3}var d3,xq;function Ep(){if(xq)return d3;xq=1;var e=Object.keys||function(u){var h=[];for(var f in u)h.push(f);return h};d3=i;for(var t=Oq(),r=yq(),n=e(r.prototype),o=0;o<n.length;o++){var a=n[o];i.prototype[a]||(i.prototype[a]=r.prototype[a])}function i(u){if(!(this instanceof i))return new i(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(i.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(i.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||process.nextTick(p,this)}function p(u){u.end()}return Object.defineProperty(i.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),d3}var h3={},f3={exports:{}},wq;function dMe(){return wq||(wq=1,(function(e,t){var r=uh(),n=r.Buffer;function o(i,l){for(var p in i)l[p]=i[p]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a);function a(i,l,p){return n(i,l,p)}a.prototype=Object.create(n.prototype),o(n,a),a.from=function(i,l,p){if(typeof i=="number")throw new TypeError("Argument must not be a number");return n(i,l,p)},a.alloc=function(i,l,p){if(typeof i!="number")throw new TypeError("Argument must be a number");var u=n(i);return l!==void 0?typeof p=="string"?u.fill(l,p):u.fill(l):u.fill(0),u},a.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n(i)},a.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(i)}})(f3,f3.exports)),f3.exports}var Sq;function Cq(){if(Sq)return h3;Sq=1;var e=dMe().Buffer,t=e.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(w){if(!w)return"utf8";for(var _;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(_)return;w=(""+w).toLowerCase(),_=!0}}function n(w){var _=r(w);if(typeof _!="string"&&(e.isEncoding===t||!t(w)))throw new Error("Unknown encoding: "+w);return _||w}h3.StringDecoder=o;function o(w){this.encoding=n(w);var _;switch(this.encoding){case"utf16le":this.text=f,this.end=b,_=4;break;case"utf8":this.fillLast=p,_=4;break;case"base64":this.text=v,this.end=y,_=3;break;default:this.write=x,this.end=k;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(w){if(w.length===0)return"";var _,A;if(this.lastNeed){if(_=this.fillLast(w),_===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<w.length?_?_+this.text(w,A):this.text(w,A):_||""},o.prototype.end=h,o.prototype.text=u,o.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function a(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}function i(w,_,A){var R=_.length-1;if(R<A)return 0;var E=a(_[R]);return E>=0?(E>0&&(w.lastNeed=E-1),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(w.lastNeed=E-2),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(E===2?E=0:w.lastNeed=E-3),E):0))}function l(w,_,A){if((_[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}function p(w){var _=this.lastTotal-this.lastNeed,A=l(this,w);if(A!==void 0)return A;if(this.lastNeed<=w.length)return w.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,_,0,w.length),this.lastNeed-=w.length}function u(w,_){var A=i(this,w,_);if(!this.lastNeed)return w.toString("utf8",_);this.lastTotal=A;var R=w.length-(A-this.lastNeed);return w.copy(this.lastChar,0,R),w.toString("utf8",_,R)}function h(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+"\uFFFD":_}function f(w,_){if((w.length-_)%2===0){var A=w.toString("utf16le",_);if(A){var R=A.charCodeAt(A.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",_,w.length-1)}function b(w){var _=w&&w.length?this.write(w):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,A)}return _}function v(w,_){var A=(w.length-_)%3;return A===0?w.toString("base64",_):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",_,w.length-A))}function y(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function x(w){return w.toString(this.encoding)}function k(w){return w&&w.length?this.write(w):""}return h3}var m3,kq;function g3(){if(kq)return m3;kq=1;var e=Ap().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var i=!1;return function(){if(!i){i=!0;for(var l=arguments.length,p=new Array(l),u=0;u<l;u++)p[u]=arguments[u];a.apply(this,p)}}}function r(){}function n(a){return a.setHeader&&typeof a.abort=="function"}function o(a,i,l){if(typeof i=="function")return o(a,null,i);i||(i={}),l=t(l||r);var p=i.readable||i.readable!==!1&&a.readable,u=i.writable||i.writable!==!1&&a.writable,h=function(){a.writable||b()},f=a._writableState&&a._writableState.finished,b=function(){u=!1,f=!0,p||l.call(a)},v=a._readableState&&a._readableState.endEmitted,y=function(){p=!1,v=!0,u||l.call(a)},x=function(_){l.call(a,_)},k=function(){var _;if(p&&!v)return(!a._readableState||!a._readableState.ended)&&(_=new e),l.call(a,_);if(u&&!f)return(!a._writableState||!a._writableState.ended)&&(_=new e),l.call(a,_)},w=function(){a.req.on("finish",b)};return n(a)?(a.on("complete",b),a.on("abort",k),a.req?w():a.on("request",w)):u&&!a._writableState&&(a.on("end",h),a.on("close",h)),a.on("end",y),a.on("finish",b),i.error!==!1&&a.on("error",x),a.on("close",k),function(){a.removeListener("complete",b),a.removeListener("abort",k),a.removeListener("request",w),a.req&&a.req.removeListener("finish",b),a.removeListener("end",h),a.removeListener("close",h),a.removeListener("finish",b),a.removeListener("end",y),a.removeListener("error",x),a.removeListener("close",k)}}return m3=o,m3}var b3,_q;function hMe(){if(_q)return b3;_q=1;var e;function t(A,R,E){return R=r(R),R in A?Object.defineProperty(A,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[R]=E,A}function r(A){var R=n(A,"string");return typeof R=="symbol"?R:String(R)}function n(A,R){if(typeof A!="object"||A===null)return A;var E=A[Symbol.toPrimitive];if(E!==void 0){var L=E.call(A,R);if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}var o=g3(),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),p=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function b(A,R){return{value:A,done:R}}function v(A){var R=A[a];if(R!==null){var E=A[f].read();E!==null&&(A[u]=null,A[a]=null,A[i]=null,R(b(E,!1)))}}function y(A){process.nextTick(v,A)}function x(A,R){return function(E,L){A.then(function(){if(R[p]){E(b(void 0,!0));return}R[h](E,L)},L)}}var k=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var A=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[p])return Promise.resolve(b(void 0,!0));if(this[f].destroyed)return new Promise(function(O,P){process.nextTick(function(){A[l]?P(A[l]):O(b(void 0,!0))})});var E=this[u],L;if(E)L=new Promise(x(E,this));else{var I=this[f].read();if(I!==null)return Promise.resolve(b(I,!1));L=new Promise(this[h])}return this[u]=L,L}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(R,E){A[f].destroy(null,function(L){if(L){E(L);return}R(b(void 0,!0))})})}),e),k),_=function(A){var R,E=Object.create(w,(R={},t(R,f,{value:A,writable:!0}),t(R,a,{value:null,writable:!0}),t(R,i,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,p,{value:A._readableState.endEmitted,writable:!0}),t(R,h,{value:function(L,I){var O=E[f].read();O?(E[u]=null,E[a]=null,E[i]=null,L(b(O,!1))):(E[a]=L,E[i]=I)},writable:!0}),R));return E[u]=null,o(A,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=E[i];I!==null&&(E[u]=null,E[a]=null,E[i]=null,I(L)),E[l]=L;return}var O=E[a];O!==null&&(E[u]=null,E[a]=null,E[i]=null,O(b(void 0,!0))),E[p]=!0}),A.on("readable",y.bind(null,E)),E};return b3=_,b3}var Aq,Eq;function fMe(){return Eq||(Eq=1,Aq=function(){throw new Error("Readable.from is not available in the browser")}),Aq}var v3,Tq;function Oq(){if(Tq)return v3;Tq=1,v3=P;var e;P.ReadableState=O;var t=function(S,N){return S.listeners(N).length},r=aq(),n=uh().Buffer,o=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(S){return n.from(S)}function i(S){return n.isBuffer(S)||S instanceof o}var l=pq,p;l&&l.debuglog?p=l.debuglog("stream"):p=function(){};var u=pMe(),h=hq(),f=gq(),b=f.getHighWaterMark,v=Ap().codes,y=v.ERR_INVALID_ARG_TYPE,x=v.ERR_STREAM_PUSH_AFTER_EOF,k=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,A,R,E=h.errorOrDestroy,L=["error","close","destroy","pause","resume"];function I(S,N,B){if(typeof S.prependListener=="function")return S.prependListener(N,B);!S._events||!S._events[N]?S.on(N,B):Array.isArray(S._events[N])?S._events[N].unshift(B):S._events[N]=[B,S._events[N]]}function O(S,N,B){e=e||Ep(),S=S||{},typeof B!="boolean"&&(B=N instanceof e),this.objectMode=!!S.objectMode,B&&(this.objectMode=this.objectMode||!!S.readableObjectMode),this.highWaterMark=b(this,S,"readableHighWaterMark",B),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(_||(_=Cq().StringDecoder),this.decoder=new _(S.encoding),this.encoding=S.encoding)}function P(S){if(e=e||Ep(),!(this instanceof P))return new P(S);var N=this instanceof e;this._readableState=new O(S,this,N),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),r.call(this)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),P.prototype.destroy=h.destroy,P.prototype._undestroy=h.undestroy,P.prototype._destroy=function(S,N){N(S)},P.prototype.push=function(S,N){var B=this._readableState,re;return B.objectMode?re=!0:typeof S=="string"&&(N=N||B.defaultEncoding,N!==B.encoding&&(S=n.from(S,N),N=""),re=!0),U(this,S,N,!1,re)},P.prototype.unshift=function(S){return U(this,S,null,!0,!1)};function U(S,N,B,re,ye){p("readableAddChunk",N);var ue=S._readableState;if(N===null)ue.reading=!1,G(S,ue);else{var me;if(ye||(me=q(ue,N)),me)E(S,me);else if(ue.objectMode||N&&N.length>0)if(typeof N!="string"&&!ue.objectMode&&Object.getPrototypeOf(N)!==n.prototype&&(N=a(N)),re)ue.endEmitted?E(S,new w):Y(S,ue,N,!0);else if(ue.ended)E(S,new x);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!B?(N=ue.decoder.write(N),ue.objectMode||N.length!==0?Y(S,ue,N,!1):fe(S,ue)):Y(S,ue,N,!1)}else re||(ue.reading=!1,fe(S,ue))}return!ue.ended&&(ue.length<ue.highWaterMark||ue.length===0)}function Y(S,N,B,re){N.flowing&&N.length===0&&!N.sync?(N.awaitDrain=0,S.emit("data",B)):(N.length+=N.objectMode?1:B.length,re?N.buffer.unshift(B):N.buffer.push(B),N.needReadable&&ce(S)),fe(S,N)}function q(S,N){var B;return!i(N)&&typeof N!="string"&&N!==void 0&&!S.objectMode&&(B=new y("chunk",["string","Buffer","Uint8Array"],N)),B}P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(S){_||(_=Cq().StringDecoder);var N=new _(S);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;for(var B=this._readableState.buffer.head,re="";B!==null;)re+=N.write(B.data),B=B.next;return this._readableState.buffer.clear(),re!==""&&this._readableState.buffer.push(re),this._readableState.length=re.length,this};var Q=1073741824;function ne(S){return S>=Q?S=Q:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function le(S,N){return S<=0||N.length===0&&N.ended?0:N.objectMode?1:S!==S?N.flowing&&N.length?N.buffer.head.data.length:N.length:(S>N.highWaterMark&&(N.highWaterMark=ne(S)),S<=N.length?S:N.ended?N.length:(N.needReadable=!0,0))}P.prototype.read=function(S){p("read",S),S=parseInt(S,10);var N=this._readableState,B=S;if(S!==0&&(N.emittedReadable=!1),S===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return p("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?X(this):ce(this),null;if(S=le(S,N),S===0&&N.ended)return N.length===0&&X(this),null;var re=N.needReadable;p("need readable",re),(N.length===0||N.length-S<N.highWaterMark)&&(re=!0,p("length less than watermark",re)),N.ended||N.reading?(re=!1,p("reading or ended",re)):re&&(p("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(S=le(B,N)));var ye;return S>0?ye=se(S,N):ye=null,ye===null?(N.needReadable=N.length<=N.highWaterMark,S=0):(N.length-=S,N.awaitDrain=0),N.length===0&&(N.ended||(N.needReadable=!0),B!==S&&N.ended&&X(this)),ye!==null&&this.emit("data",ye),ye};function G(S,N){if(p("onEofChunk"),!N.ended){if(N.decoder){var B=N.decoder.end();B&&B.length&&(N.buffer.push(B),N.length+=N.objectMode?1:B.length)}N.ended=!0,N.sync?ce(S):(N.needReadable=!1,N.emittedReadable||(N.emittedReadable=!0,ee(S)))}}function ce(S){var N=S._readableState;p("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(p("emitReadable",N.flowing),N.emittedReadable=!0,process.nextTick(ee,S))}function ee(S){var N=S._readableState;p("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&(N.length||N.ended)&&(S.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,K(S)}function fe(S,N){N.readingMore||(N.readingMore=!0,process.nextTick(oe,S,N))}function oe(S,N){for(;!N.reading&&!N.ended&&(N.length<N.highWaterMark||N.flowing&&N.length===0);){var B=N.length;if(p("maybeReadMore read 0"),S.read(0),B===N.length)break}N.readingMore=!1}P.prototype._read=function(S){E(this,new k("_read()"))},P.prototype.pipe=function(S,N){var B=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=S;break;case 1:re.pipes=[re.pipes,S];break;default:re.pipes.push(S);break}re.pipesCount+=1,p("pipe count=%d opts=%j",re.pipesCount,N);var ye=(!N||N.end!==!1)&&S!==null&&S!==process.stderr,ue=ye?je:ur;re.endEmitted?process.nextTick(ue):B.once("end",ue),S.on("unpipe",me);function me(j,M){p("onunpipe"),j===B&&M&&M.hasUnpiped===!1&&(M.hasUnpiped=!0,Ke())}function je(){p("onend"),S.end()}var he=F(B);S.on("drain",he);var Ye=!1;function Ke(){p("cleanup"),S.removeListener("close",He),S.removeListener("finish",ot),S.removeListener("drain",he),S.removeListener("error",Je),S.removeListener("unpipe",me),B.removeListener("end",je),B.removeListener("end",ur),B.removeListener("data",Ge),Ye=!0,re.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&he()}B.on("data",Ge);function Ge(j){p("ondata");var M=S.write(j);p("dest.write",M),M===!1&&((re.pipesCount===1&&re.pipes===S||re.pipesCount>1&&_e(re.pipes,S)!==-1)&&!Ye&&(p("false write response, pause",re.awaitDrain),re.awaitDrain++),B.pause())}function Je(j){p("onerror",j),ur(),S.removeListener("error",Je),t(S,"error")===0&&E(S,j)}I(S,"error",Je);function He(){S.removeListener("finish",ot),ur()}S.once("close",He);function ot(){p("onfinish"),S.removeListener("close",He),ur()}S.once("finish",ot);function ur(){p("unpipe"),B.unpipe(S)}return S.emit("pipe",B),re.flowing||(p("pipe resume"),B.resume()),S};function F(S){return function(){var N=S._readableState;p("pipeOnDrain",N.awaitDrain),N.awaitDrain&&N.awaitDrain--,N.awaitDrain===0&&t(S,"data")&&(N.flowing=!0,K(S))}}P.prototype.unpipe=function(S){var N=this._readableState,B={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return S&&S!==N.pipes?this:(S||(S=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,S&&S.emit("unpipe",this,B),this);if(!S){var re=N.pipes,ye=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var ue=0;ue<ye;ue++)re[ue].emit("unpipe",this,{hasUnpiped:!1});return this}var me=_e(N.pipes,S);return me===-1?this:(N.pipes.splice(me,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),S.emit("unpipe",this,B),this)},P.prototype.on=function(S,N){var B=r.prototype.on.call(this,S,N),re=this._readableState;return S==="data"?(re.readableListening=this.listenerCount("readable")>0,re.flowing!==!1&&this.resume()):S==="readable"&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,p("on readable",re.length,re.reading),re.length?ce(this):re.reading||process.nextTick(W,this)),B},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(S,N){var B=r.prototype.removeListener.call(this,S,N);return S==="readable"&&process.nextTick(ie,this),B},P.prototype.removeAllListeners=function(S){var N=r.prototype.removeAllListeners.apply(this,arguments);return(S==="readable"||S===void 0)&&process.nextTick(ie,this),N};function ie(S){var N=S._readableState;N.readableListening=S.listenerCount("readable")>0,N.resumeScheduled&&!N.paused?N.flowing=!0:S.listenerCount("data")>0&&S.resume()}function W(S){p("readable nexttick read 0"),S.read(0)}P.prototype.resume=function(){var S=this._readableState;return S.flowing||(p("resume"),S.flowing=!S.readableListening,V(this,S)),S.paused=!1,this};function V(S,N){N.resumeScheduled||(N.resumeScheduled=!0,process.nextTick(pe,S,N))}function pe(S,N){p("resume",N.reading),N.reading||S.read(0),N.resumeScheduled=!1,S.emit("resume"),K(S),N.flowing&&!N.reading&&S.read(0)}P.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function K(S){var N=S._readableState;for(p("flow",N.flowing);N.flowing&&S.read()!==null;);}P.prototype.wrap=function(S){var N=this,B=this._readableState,re=!1;S.on("end",function(){if(p("wrapped end"),B.decoder&&!B.ended){var me=B.decoder.end();me&&me.length&&N.push(me)}N.push(null)}),S.on("data",function(me){if(p("wrapped data"),B.decoder&&(me=B.decoder.write(me)),!(B.objectMode&&me==null)&&!(!B.objectMode&&(!me||!me.length))){var je=N.push(me);je||(re=!0,S.pause())}});for(var ye in S)this[ye]===void 0&&typeof S[ye]=="function"&&(this[ye]=(function(me){return function(){return S[me].apply(S,arguments)}})(ye));for(var ue=0;ue<L.length;ue++)S.on(L[ue],this.emit.bind(this,L[ue]));return this._read=function(me){p("wrapped _read",me),re&&(re=!1,S.resume())},this},typeof Symbol=="function"&&(P.prototype[Symbol.asyncIterator]=function(){return A===void 0&&(A=hMe()),A(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(S){this._readableState&&(this._readableState.flowing=S)}}),P._fromList=se,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function se(S,N){if(N.length===0)return null;var B;return N.objectMode?B=N.buffer.shift():!S||S>=N.length?(N.decoder?B=N.buffer.join(""):N.buffer.length===1?B=N.buffer.first():B=N.buffer.concat(N.length),N.buffer.clear()):B=N.buffer.consume(S,N.decoder),B}function X(S){var N=S._readableState;p("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,process.nextTick(te,N,S))}function te(S,N){if(p("endReadableNT",S.endEmitted,S.length),!S.endEmitted&&S.length===0&&(S.endEmitted=!0,N.readable=!1,N.emit("end"),S.autoDestroy)){var B=N._writableState;(!B||B.autoDestroy&&B.finished)&&N.destroy()}}typeof Symbol=="function"&&(P.from=function(S,N){return R===void 0&&(R=fMe()),R(P,S,N)});function _e(S,N){for(var B=0,re=S.length;B<re;B++)if(S[B]===N)return B;return-1}return v3}var y3,Rq;function jq(){if(Rq)return y3;Rq=1,y3=l;var e=Ap().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Ep();function i(h,f){var b=this._transformState;b.transforming=!1;var v=b.writecb;if(v===null)return this.emit("error",new r);b.writechunk=null,b.writecb=null,f!=null&&this.push(f),v(h);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);a.call(this,h),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&&(typeof h.transform=="function"&&(this._transform=h.transform),typeof h.flush=="function"&&(this._flush=h.flush)),this.on("prefinish",p)}function p(){var h=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,b){u(h,f,b)}):u(this,null,null)}l.prototype.push=function(h,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,h,f)},l.prototype._transform=function(h,f,b){b(new t("_transform()"))},l.prototype._write=function(h,f,b){var v=this._transformState;if(v.writecb=b,v.writechunk=h,v.writeencoding=f,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},l.prototype._read=function(h){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},l.prototype._destroy=function(h,f){a.prototype._destroy.call(this,h,function(b){f(b)})};function u(h,f,b){if(f)return h.emit("error",f);if(b!=null&&h.push(b),h._writableState.length)throw new o;if(h._transformState.transforming)throw new n;return h.push(null)}return y3}var x3,Lq;function mMe(){if(Lq)return x3;Lq=1,x3=t;var e=jq();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,n,o){o(null,r)},x3}var w3,Nq;function gMe(){if(Nq)return w3;Nq=1;var e;function t(b){var v=!1;return function(){v||(v=!0,b.apply(void 0,arguments))}}var r=Ap().codes,n=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(b){if(b)throw b}function i(b){return b.setHeader&&typeof b.abort=="function"}function l(b,v,y,x){x=t(x);var k=!1;b.on("close",function(){k=!0}),e===void 0&&(e=g3()),e(b,{readable:v,writable:y},function(_){if(_)return x(_);k=!0,x()});var w=!1;return function(_){if(!k&&!w){if(w=!0,i(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();x(_||new o("pipe"))}}}function p(b){b()}function u(b,v){return b.pipe(v)}function h(b){return!b.length||typeof b[b.length-1]!="function"?a:b.pop()}function f(){for(var b=arguments.length,v=new Array(b),y=0;y<b;y++)v[y]=arguments[y];var x=h(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new n("streams");var k,w=v.map(function(_,A){var R=A<v.length-1,E=A>0;return l(_,R,E,function(L){k||(k=L),L&&w.forEach(p),!R&&(w.forEach(p),x(k))})});return v.reduce(u)}return w3=f,w3}var Iq;function Pq(){return Iq||(Iq=1,(function(e,t){t=e.exports=Oq(),t.Stream=t,t.Readable=t,t.Writable=yq(),t.Duplex=Ep(),t.Transform=jq(),t.PassThrough=mMe(),t.finished=g3(),t.pipeline=gMe()})(o3,o3.exports)),o3.exports}var Mq;function Dq(){if(Mq)return j1;Mq=1;var e=tq(),t=p2(),r=Pq(),n=j1.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=j1.IncomingMessage=function(a,i,l,p){var u=this;if(r.Readable.call(u),u._mode=l,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){process.nextTick(function(){u.emit("close")})}),l==="fetch"){let x=function(){f.read().then(function(k){if(!u._destroyed){if(p(k.done),k.done){u.push(null);return}u.push(Buffer.from(k.value)),x()}}).catch(function(k){p(!0),u._destroyed||u.emit("error",k)})};if(u._fetchResponse=i,u.url=i.url,u.statusCode=i.status,u.statusMessage=i.statusText,i.headers.forEach(function(k,w){u.headers[w.toLowerCase()]=k,u.rawHeaders.push(w,k)}),e.writableStream){var h=new WritableStream({write:function(k){return p(!1),new Promise(function(w,_){u._destroyed?_():u.push(Buffer.from(k))?w():u._resumeFetch=w})},close:function(){p(!0),u._destroyed||u.push(null)},abort:function(k){p(!0),u._destroyed||u.emit("error",k)}});try{i.body.pipeTo(h).catch(function(k){p(!0),u._destroyed||u.emit("error",k)});return}catch{}}var f=i.body.getReader();x()}else{u._xhr=a,u._pos=0,u.url=a.responseURL,u.statusCode=a.status,u.statusMessage=a.statusText;var b=a.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(x){var k=x.match(/^([^:]+):\s*(.*)/);if(k){var w=k[1].toLowerCase();w==="set-cookie"?(u.headers[w]===void 0&&(u.headers[w]=[]),u.headers[w].push(k[2])):u.headers[w]!==void 0?u.headers[w]+=", "+k[2]:u.headers[w]=k[2],u.rawHeaders.push(k[1],k[2])}}),u._charset="x-user-defined",!e.overrideMimeType){var v=u.rawHeaders["mime-type"];if(v){var y=v.match(/;\s*charset=([^;])(;|$)/);y&&(u._charset=y[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};return t(o,r.Readable),o.prototype._read=function(){var a=this,i=a._resumeFetch;i&&(a._resumeFetch=null,i())},o.prototype._onXHRProgress=function(a){var i=this,l=i._xhr,p=null;switch(i._mode){case"text":if(p=l.responseText,p.length>i._pos){var u=p.substr(i._pos);if(i._charset==="x-user-defined"){for(var h=Buffer.alloc(u.length),f=0;f<u.length;f++)h[f]=u.charCodeAt(f)&255;i.push(h)}else i.push(u,i._charset);i._pos=p.length}break;case"arraybuffer":if(l.readyState!==n.DONE||!l.response)break;p=l.response,i.push(Buffer.from(new Uint8Array(p)));break;case"moz-chunked-arraybuffer":if(p=l.response,l.readyState!==n.LOADING||!p)break;i.push(Buffer.from(new Uint8Array(p)));break;case"ms-stream":if(p=l.response,l.readyState!==n.LOADING)break;var b=new globalThis.MSStreamReader;b.onprogress=function(){b.result.byteLength>i._pos&&(i.push(Buffer.from(new Uint8Array(b.result.slice(i._pos)))),i._pos=b.result.byteLength)},b.onload=function(){a(!0),i.push(null)},b.readAsArrayBuffer(p);break}i._xhr.readyState===n.DONE&&i._mode!=="ms-stream"&&(a(!0),i.push(null))},j1}var $q;function bMe(){if($q)return n3.exports;$q=1;var e=tq(),t=p2(),r=Dq(),n=Pq(),o=r.IncomingMessage,a=r.readyStates;function i(h,f){return e.fetch&&f?"fetch":e.mozchunkedarraybuffer?"moz-chunked-arraybuffer":e.msstream?"ms-stream":e.arraybuffer&&h?"arraybuffer":"text"}var l=n3.exports=function(h){var f=this;n.Writable.call(f),f._opts=h,f._body=[],f._headers={},h.auth&&f.setHeader("Authorization","Basic "+Buffer.from(h.auth).toString("base64")),Object.keys(h.headers).forEach(function(y){f.setHeader(y,h.headers[y])});var b,v=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!e.abortController)v=!1,b=!0;else if(h.mode==="prefer-streaming")b=!1;else if(h.mode==="allow-wrong-content-type")b=!e.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");f._mode=i(b,v),f._fetchTimer=null,f._socketTimeout=null,f._socketTimer=null,f.on("finish",function(){f._onFinish()})};t(l,n.Writable),l.prototype.setHeader=function(h,f){var b=this,v=h.toLowerCase();u.indexOf(v)===-1&&(b._headers[v]={name:h,value:f})},l.prototype.getHeader=function(h){var f=this._headers[h.toLowerCase()];return f?f.value:null},l.prototype.removeHeader=function(h){var f=this;delete f._headers[h.toLowerCase()]},l.prototype._onFinish=function(){var h=this;if(!h._destroyed){var f=h._opts;"timeout"in f&&f.timeout!==0&&h.setTimeout(f.timeout);var b=h._headers,v=null;f.method!=="GET"&&f.method!=="HEAD"&&(v=new Blob(h._body,{type:(b["content-type"]||{}).value||""}));var y=[];if(Object.keys(b).forEach(function(_){var A=b[_].name,R=b[_].value;Array.isArray(R)?R.forEach(function(E){y.push([A,E])}):y.push([A,R])}),h._mode==="fetch"){var x=null;if(e.abortController){var k=new AbortController;x=k.signal,h._fetchAbortController=k,"requestTimeout"in f&&f.requestTimeout!==0&&(h._fetchTimer=globalThis.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},f.requestTimeout))}globalThis.fetch(h._opts.url,{method:h._opts.method,headers:y,body:v||void 0,mode:"cors",credentials:f.withCredentials?"include":"same-origin",signal:x}).then(function(_){h._fetchResponse=_,h._resetTimers(!1),h._connect()},function(_){h._resetTimers(!0),h._destroyed||h.emit("error",_)})}else{var w=h._xhr=new globalThis.XMLHttpRequest;try{w.open(h._opts.method,h._opts.url,!0)}catch(_){process.nextTick(function(){h.emit("error",_)});return}"responseType"in w&&(w.responseType=h._mode),"withCredentials"in w&&(w.withCredentials=!!f.withCredentials),h._mode==="text"&&"overrideMimeType"in w&&w.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in f&&(w.timeout=f.requestTimeout,w.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(_){w.setRequestHeader(_[0],_[1])}),h._response=null,w.onreadystatechange=function(){switch(w.readyState){case a.LOADING:case a.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(w.onprogress=function(){h._onXHRProgress()}),w.onerror=function(){h._destroyed||(h._resetTimers(!0),h.emit("error",new Error("XHR error")))};try{w.send(v)}catch(_){process.nextTick(function(){h.emit("error",_)});return}}}};function p(h){try{var f=h.status;return f!==null&&f!==0}catch{return!1}}l.prototype._onXHRProgress=function(){var h=this;h._resetTimers(!1),!(!p(h._xhr)||h._destroyed)&&(h._response||h._connect(),h._response._onXHRProgress(h._resetTimers.bind(h)))},l.prototype._connect=function(){var h=this;h._destroyed||(h._response=new o(h._xhr,h._fetchResponse,h._mode,h._resetTimers.bind(h)),h._response.on("error",function(f){h.emit("error",f)}),h.emit("response",h._response))},l.prototype._write=function(h,f,b){var v=this;v._body.push(h),b()},l.prototype._resetTimers=function(h){var f=this;globalThis.clearTimeout(f._socketTimer),f._socketTimer=null,h?(globalThis.clearTimeout(f._fetchTimer),f._fetchTimer=null):f._socketTimeout&&(f._socketTimer=globalThis.setTimeout(function(){f.emit("timeout")},f._socketTimeout))},l.prototype.abort=l.prototype.destroy=function(h){var f=this;f._destroyed=!0,f._resetTimers(!0),f._response&&(f._response._destroyed=!0),f._xhr?f._xhr.abort():f._fetchAbortController&&f._fetchAbortController.abort(),h&&f.emit("error",h)},l.prototype.end=function(h,f,b){var v=this;typeof h=="function"&&(b=h,h=void 0),n.Writable.prototype.end.call(v,h,f,b)},l.prototype.setTimeout=function(h,f){var b=this;f&&b.once("timeout",f),b._socketTimeout=h,b._resetTimers(!1)},l.prototype.flushHeaders=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return n3.exports}var S3,zq;function vMe(){if(zq)return S3;zq=1,S3=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var o=arguments[n];for(var a in o)e.call(o,a)&&(r[a]=o[a])}return r}return S3}var Uq,Fq;function yMe(){return Fq||(Fq=1,Uq={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),Uq}var Bq;function xMe(){return Bq||(Bq=1,(function(e){var t=bMe(),r=Dq(),n=vMe(),o=yMe(),a=jS(),i=e;i.request=function(l,p){typeof l=="string"?l=a.parse(l):l=n(l);var u=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",h=l.protocol||u,f=l.hostname||l.host,b=l.port,v=l.path||"/";f&&f.indexOf(":")!==-1&&(f="["+f+"]"),l.url=(f?h+"//"+f:"")+(b?":"+b:"")+v,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var y=new t(l);return p&&y.on("response",p),y},i.get=function(l,p){var u=i.request(l,p);return u.end(),u},i.ClientRequest=t,i.IncomingMessage=r.IncomingMessage,i.Agent=function(){},i.Agent.defaultMaxSockets=4,i.globalAgent=new i.Agent,i.STATUS_CODES=o,i.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(ZB)),ZB}var qq,Hq;function wMe(){return Hq||(Hq=1,qq={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},xMe().STATUS_CODES)}),qq}const SMe="7.0.8",CMe={version:SMe};var C3,Vq;function kMe(){if(Vq)return C3;Vq=1;const e=d1,t=jS(),r=QIe(),n=d1,o=FB(),a=O1(),i=a.jptr,l=YS().isRef,p=R1().clone,u=R1().circularClone,h=QS().recurse,f=aMe(),b=iMe(),v=KB(),y=wMe().statusCodes,x=CMe.version,k="3.0.0";let w;class _ extends Error{constructor(N){super(N),this.name="S2OError"}}function A(S,N){let B=new _(S);if(B.options=N,N.promise)N.promise.reject(B);else throw B}function R(S,N,B){B.warnOnly?N[B.warnProperty||"x-s2o-warning"]=S:A(S,B)}function E(S,N,B){if(S.nullable&&B.patches++,S.discriminator&&typeof S.discriminator=="string"&&(S.discriminator={propertyName:S.discriminator}),S.items&&Array.isArray(S.items)&&(S.items.length===0?S.items={}:S.items.length===1?S.items=S.items[0]:S.items={anyOf:S.items}),S.type&&Array.isArray(S.type))if(B.patch){if(B.patches++,S.type.length===0)delete S.type;else{S.oneOf||(S.oneOf=[]);for(let re of S.type){let ye={};if(re==="null")S.nullable=!0;else{ye.type=re;for(let ue of v.arrayProperties)typeof S.prop<"u"&&(ye[ue]=S[ue],delete S[ue])}ye.type&&S.oneOf.push(ye)}delete S.type,S.oneOf.length===0?delete S.oneOf:S.oneOf.length<2&&(S.type=S.oneOf[0].type,Object.keys(S.oneOf[0]).length>1&&R("Lost properties from oneOf",S,B),delete S.oneOf)}S.type&&Array.isArray(S.type)&&S.type.length===1&&(S.type=S.type[0])}else A("(Patchable) schema type must not be an array",B);S.type&&S.type==="null"&&(delete S.type,S.nullable=!0),S.type==="array"&&!S.items&&(S.items={}),S.type==="file"&&(S.type="string",S.format="binary"),typeof S.required=="boolean"&&(S.required&&S.name&&(typeof N.required>"u"&&(N.required=[]),Array.isArray(N.required)&&N.required.push(S.name)),delete S.required),S.xml&&typeof S.xml.namespace=="string"&&(S.xml.namespace||delete S.xml.namespace),typeof S.allowEmptyValue<"u"&&(B.patches++,delete S.allowEmptyValue)}function L(S,N){if(S["x-required"]&&Array.isArray(S["x-required"])&&(S.required||(S.required=[]),S.required=S.required.concat(S["x-required"]),delete S["x-required"]),S["x-anyOf"]&&(S.anyOf=S["x-anyOf"],delete S["x-anyOf"]),S["x-oneOf"]&&(S.oneOf=S["x-oneOf"],delete S["x-oneOf"]),S["x-not"]&&(S.not=S["x-not"],delete S["x-not"]),typeof S["x-nullable"]=="boolean"&&(S.nullable=S["x-nullable"],delete S["x-nullable"]),typeof S["x-discriminator"]=="object"&&typeof S["x-discriminator"].propertyName=="string"){S.discriminator=S["x-discriminator"],delete S["x-discriminator"];for(let B in S.discriminator.mapping){let re=S.discriminator.mapping[B];re.startsWith("#/definitions/")&&(S.discriminator.mapping[B]=re.replace("#/definitions/","#/components/schemas/"))}}}function I(S,N){b.walkSchema(S,{},{},function(B,re,ye){L(B),E(B,re,N)})}function O(S){return S.indexOf("#")>=0?S=S.split("#")[1].split("/").pop():S=S.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(S))}function P(S,N,B){let re=B.payload.options;if(l(S,N)){if(!S[N].startsWith("#/components/")){if(S[N]==="#/consumes")delete S[N],B.parent[B.pkey]=p(re.openapi.consumes);else if(S[N]==="#/produces")delete S[N],B.parent[B.pkey]=p(re.openapi.produces);else if(S[N].startsWith("#/definitions/")){let ye=S[N].replace("#/definitions/","").split("/");const ue=a.jpunescape(ye[0]);let me=w.schemas[decodeURIComponent(ue)];me?ye[0]=me:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}else if(S[N].startsWith("#/parameters/"))S[N]="#/components/parameters/"+v.sanitise(S[N].replace("#/parameters/",""));else if(S[N].startsWith("#/responses/"))S[N]="#/components/responses/"+v.sanitise(S[N].replace("#/responses/",""));else if(S[N].startsWith("#")){let ye=p(a.jptr(re.openapi,S[N]));if(ye===!1)R("direct $ref not found "+S[N],S,re);else if(re.refmap[S[N]])S[N]=re.refmap[S[N]];else{let ue=S[N];ue=ue.replace("/properties/headers/",""),ue=ue.replace("/properties/responses/",""),ue=ue.replace("/properties/parameters/",""),ue=ue.replace("/properties/schemas/","");let me="schemas",je=ue.lastIndexOf("/schema");if(me=ue.indexOf("/headers/")>je?"headers":ue.indexOf("/responses/")>je?"responses":ue.indexOf("/example")>je?"examples":ue.indexOf("/x-")>je?"extensions":ue.indexOf("/parameters/")>je?"parameters":"schemas",me==="schemas"&&I(ye,re),me!=="responses"&&me!=="extensions"){let he=me.substr(0,me.length-1);he==="parameter"&&ye.name&&ye.name===v.sanitise(ye.name)&&(he=encodeURIComponent(ye.name));let Ye=1;for(S["x-miro"]&&(he=O(S["x-miro"]),Ye="");a.jptr(re.openapi,"#/components/"+me+"/"+he+Ye);)Ye=Ye===""?2:++Ye;let Ke="#/components/"+me+"/"+he+Ye,Ge="";me==="examples"&&(ye={value:ye},Ge="/value"),a.jptr(re.openapi,Ke,ye),re.refmap[S[N]]=Ke+Ge,S[N]=Ke+Ge}}}}if(delete S["x-miro"],Object.keys(S).length>1){const ye=S[N],ue=B.path.indexOf("/schema")>=0;re.refSiblings==="preserve"||(ue&&re.refSiblings==="allOf"?(delete S.$ref,B.parent[B.pkey]={allOf:[{$ref:ye},S]}):B.parent[B.pkey]={$ref:ye})}}if(N==="x-ms-odata"&&typeof S[N]=="string"&&S[N].startsWith("#/")){let ye=S[N].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),ue=w.schemas[decodeURIComponent(ye[0])];ue?ye[0]=ue:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}}function U(S,N){for(let B in N.refmap)a.jptr(S,B,{$ref:N.refmap[B]})}function Y(S){for(let N in S)for(let B in S[N]){let re=v.sanitise(B);B!==re&&(S[N][re]=S[N][B],delete S[N][B])}}function q(S,N){if(S.type==="basic"&&(S.type="http",S.scheme="basic"),S.type==="oauth2"){let B={},re=S.flow;S.flow==="application"&&(re="clientCredentials"),S.flow==="accessCode"&&(re="authorizationCode"),typeof S.authorizationUrl<"u"&&(B.authorizationUrl=S.authorizationUrl.split("?")[0].trim()||"/"),typeof S.tokenUrl=="string"&&(B.tokenUrl=S.tokenUrl.split("?")[0].trim()||"/"),B.scopes=S.scopes||{},S.flows={},S.flows[re]=B,delete S.flow,delete S.authorizationUrl,delete S.tokenUrl,delete S.scopes,typeof S.name<"u"&&(N.patch?(N.patches++,delete S.name):A("(Patchable) oauth2 securitySchemes should not have name property",N))}}function Q(S){return S&&!S["x-s2o-delete"]}function ne(S,N){if(S.$ref)S.$ref=S.$ref.replace("#/responses/","#/components/responses/");else{S.type&&!S.schema&&(S.schema={}),S.type&&(S.schema.type=S.type),S.items&&S.items.type!=="array"&&(S.items.collectionFormat!==S.collectionFormat&&R("Nested collectionFormats are not supported",S,N),delete S.items.collectionFormat),S.type==="array"?(S.collectionFormat==="ssv"?R("collectionFormat:ssv is no longer supported for headers",S,N):S.collectionFormat==="pipes"?R("collectionFormat:pipes is no longer supported for headers",S,N):S.collectionFormat==="multi"?S.explode=!0:S.collectionFormat==="tsv"?(R("collectionFormat:tsv is no longer supported",S,N),S["x-collectionFormat"]="tsv"):S.style="simple",delete S.collectionFormat):S.collectionFormat&&(N.patch?(N.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",N)),delete S.type;for(let B of v.parameterTypeProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B]);for(let B of v.arrayProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B])}}function le(S,N){if(S.$ref.indexOf("#/parameters/")>=0){let B=S.$ref.split("#/parameters/");S.$ref=B[0]+"#/components/parameters/"+v.sanitise(B[1])}S.$ref.indexOf("#/definitions/")>=0&&R("Definition used as parameter",S,N)}function G(S,N){let B={};for(let re of Object.keys(S))B[re]=S[re],re==="parameters"&&(B.requestBody={},N.rbname&&(B[N.rbname]=""));return B.requestBody={},B}function ce(S,N,B,re,ye,ue,me){let je={},he=!0,Ye;if(N&&N.consumes&&typeof N.consumes=="string")if(me.patch)me.patches++,N.consumes=[N.consumes];else return A("(Patchable) operation.consumes must be an array",me);Array.isArray(ue.consumes)||delete ue.consumes;let Ke=((N?N.consumes:null)||ue.consumes||[]).filter(v.uniqueOnly);if(S&&S.$ref&&typeof S.$ref=="string"){le(S,me);let Ge=decodeURIComponent(S.$ref.replace("#/components/parameters/","")),Je=!1,He=ue.components.parameters[Ge];if((!He||He["x-s2o-delete"])&&S.$ref.startsWith("#/")&&(S["x-s2o-delete"]=!0,Je=!0),Je){let ot=S.$ref,ur=i(ue,S.$ref);!ur&&ot.startsWith("#/")?R("Could not resolve reference "+ot,S,me):ur&&(S=ur)}}if(S&&(S.name||S.in)){typeof S["x-deprecated"]=="boolean"&&(S.deprecated=S["x-deprecated"],delete S["x-deprecated"]),typeof S["x-example"]<"u"&&(S.example=S["x-example"],delete S["x-example"]),S.in!=="body"&&!S.type&&(me.patch?(me.patches++,S.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",me)),S.type&&typeof S.type=="object"&&S.type.$ref&&(S.type=i(ue,S.type.$ref)),S.type==="file"&&(S["x-s2o-originalType"]=S.type,Ye=S.type),S.description&&typeof S.description=="object"&&S.description.$ref&&(S.description=i(ue,S.description.$ref)),S.description===null&&delete S.description;let Ge=S.collectionFormat;if(S.type==="array"&&!Ge&&(Ge="csv"),Ge&&(S.type!=="array"&&(me.patch?(me.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",me)),Ge==="csv"&&(S.in==="query"||S.in==="cookie")&&(S.style="form",S.explode=!1),Ge==="csv"&&(S.in==="path"||S.in==="header")&&(S.style="simple"),Ge==="ssv"&&(S.in==="query"?S.style="spaceDelimited":R("collectionFormat:ssv is no longer supported except for in:query parameters",S,me)),Ge==="pipes"&&(S.in==="query"?S.style="pipeDelimited":R("collectionFormat:pipes is no longer supported except for in:query parameters",S,me)),Ge==="multi"&&(S.explode=!0),Ge==="tsv"&&(R("collectionFormat:tsv is no longer supported",S,me),S["x-collectionFormat"]="tsv"),delete S.collectionFormat),S.type&&S.type!=="body"&&S.in!=="formData")if(S.items&&S.schema)R("parameter has array,items and schema",S,me);else{S.schema&&me.patches++,(!S.schema||typeof S.schema!="object")&&(S.schema={}),S.schema.type=S.type,S.items&&(S.schema.items=S.items,delete S.items,h(S.schema.items,null,function(Je,He,ot){He==="collectionFormat"&&typeof Je[He]=="string"&&(Ge&&Je[He]!==Ge&&R("Nested collectionFormats are not supported",S,me),delete Je[He])}));for(let Je of v.parameterTypeProperties)typeof S[Je]<"u"&&(S.schema[Je]=S[Je]),delete S[Je]}S.schema&&I(S.schema,me),S["x-ms-skip-url-encoding"]&&S.in==="query"&&(S.allowReserved=!0,delete S["x-ms-skip-url-encoding"])}if(S&&S.in==="formData"){he=!1,je.content={};let Ge="application/x-www-form-urlencoded";if(Ke.length&&Ke.indexOf("multipart/form-data")>=0&&(Ge="multipart/form-data"),je.content[Ge]={},S.schema)je.content[Ge].schema=S.schema,S.schema.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")));else{je.content[Ge].schema={},je.content[Ge].schema.type="object",je.content[Ge].schema.properties={},je.content[Ge].schema.properties[S.name]={};let Je=je.content[Ge].schema,He=je.content[Ge].schema.properties[S.name];S.description&&(He.description=S.description),S.example&&(He.example=S.example),S.type&&(He.type=S.type);for(let ot of v.parameterTypeProperties)typeof S[ot]<"u"&&(He[ot]=S[ot]);S.required===!0&&(Je.required||(Je.required=[]),Je.required.push(S.name),je.required=!0),typeof S.default<"u"&&(He.default=S.default),He.properties&&(He.properties=S.properties),S.allOf&&(He.allOf=S.allOf),S.type==="array"&&S.items&&(He.items=S.items,He.items.collectionFormat&&delete He.items.collectionFormat),(Ye==="file"||S["x-s2o-originalType"]==="file")&&(He.type="string",He.format="binary"),ee(S,He)}}else S&&S.type==="file"&&(S.required&&(je.required=S.required),je.content={},je.content["application/octet-stream"]={},je.content["application/octet-stream"].schema={},je.content["application/octet-stream"].schema.type="string",je.content["application/octet-stream"].schema.format="binary",ee(S,je));if(S&&S.in==="body"){je.content={},S.name&&(je["x-s2o-name"]=(N&&N.operationId?v.sanitiseAll(N.operationId):"")+("_"+S.name).toCamelCase()),S.description&&(je.description=S.description),S.required&&(je.required=S.required),N&&me.rbname&&S.name&&(N[me.rbname]=S.name),S.schema&&S.schema.$ref?je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")):S.schema&&S.schema.type==="array"&&S.schema.items&&S.schema.items.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),Ke.length||Ke.push("application/json");for(let Ge of Ke)je.content[Ge]={},je.content[Ge].schema=p(S.schema||{}),I(je.content[Ge].schema,me);ee(S,je)}if(Object.keys(je).length>0&&(S["x-s2o-delete"]=!0,N))if(N.requestBody&&he){N.requestBody["x-s2o-overloaded"]=!0;let Ge=N.operationId||ye;R("Operation "+Ge+" has multiple requestBodies",N,me)}else N.requestBody||(N=B[re]=G(N,me)),N.requestBody.content&&N.requestBody.content["multipart/form-data"]&&N.requestBody.content["multipart/form-data"].schema&&N.requestBody.content["multipart/form-data"].schema.properties&&je.content["multipart/form-data"]&&je.content["multipart/form-data"].schema&&je.content["multipart/form-data"].schema.properties?(N.requestBody.content["multipart/form-data"].schema.properties=Object.assign(N.requestBody.content["multipart/form-data"].schema.properties,je.content["multipart/form-data"].schema.properties),N.requestBody.content["multipart/form-data"].schema.required=(N.requestBody.content["multipart/form-data"].schema.required||[]).concat(je.content["multipart/form-data"].schema.required||[]),N.requestBody.content["multipart/form-data"].schema.required.length||delete N.requestBody.content["multipart/form-data"].schema.required):N.requestBody.content&&N.requestBody.content["application/x-www-form-urlencoded"]&&N.requestBody.content["application/x-www-form-urlencoded"].schema&&N.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&je.content["application/x-www-form-urlencoded"]&&je.content["application/x-www-form-urlencoded"].schema&&je.content["application/x-www-form-urlencoded"].schema.properties?(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties,je.content["application/x-www-form-urlencoded"].schema.properties),N.requestBody.content["application/x-www-form-urlencoded"].schema.required=(N.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(je.content["application/x-www-form-urlencoded"].schema.required||[]),N.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete N.requestBody.content["application/x-www-form-urlencoded"].schema.required):(N.requestBody=Object.assign(N.requestBody,je),N.requestBody["x-s2o-name"]||(N.requestBody.schema&&N.requestBody.schema.$ref?N.requestBody["x-s2o-name"]=decodeURIComponent(N.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):N.operationId&&(N.requestBody["x-s2o-name"]=v.sanitiseAll(N.operationId))));if(S&&!S["x-s2o-delete"]){delete S.type;for(let Ge of v.parameterTypeProperties)delete S[Ge];S.in==="path"&&(typeof S.required>"u"||S.required!==!0)&&(me.patch?(me.patches++,S.required=!0):A("(Patchable) path parameters must be required:true ["+S.name+" in "+ye+"]",me))}return N}function ee(S,N){for(let B in S)B.startsWith("x-")&&!B.startsWith("x-s2o")&&(N[B]=S[B])}function fe(S,N,B,re,ye){if(!S)return!1;if(S.$ref&&typeof S.$ref=="string")S.$ref.indexOf("#/definitions/")>=0?R("definition used as response: "+S.$ref,S,ye):S.$ref.startsWith("#/responses/")&&(S.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.$ref.replace("#/responses/",""))));else{if((typeof S.description>"u"||S.description===null||S.description===""&&ye.patch)&&(ye.patch?typeof S=="object"&&!Array.isArray(S)&&(ye.patches++,S.description=y[S]||""):A("(Patchable) response.description is mandatory",ye)),typeof S.schema<"u"){if(I(S.schema,ye),S.schema.$ref&&typeof S.schema.$ref=="string"&&S.schema.$ref.startsWith("#/responses/")&&(S.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.schema.$ref.replace("#/responses/","")))),B&&B.produces&&typeof B.produces=="string")if(ye.patch)ye.patches++,B.produces=[B.produces];else return A("(Patchable) operation.produces must be an array",ye);re.produces&&!Array.isArray(re.produces)&&delete re.produces;let ue=((B?B.produces:null)||re.produces||[]).filter(v.uniqueOnly);ue.length||ue.push("*/*"),S.content={};for(let me of ue){if(S.content[me]={},S.content[me].schema=p(S.schema),S.examples&&S.examples[me]){let je={};je.value=S.examples[me],S.content[me].examples={},S.content[me].examples.response=je,delete S.examples[me]}S.content[me].schema.type==="file"&&(S.content[me].schema={type:"string",format:"binary"})}delete S.schema}for(let ue in S.examples)S.content||(S.content={}),S.content[ue]||(S.content[ue]={}),S.content[ue].examples={},S.content[ue].examples.response={},S.content[ue].examples.response.value=S.examples[ue];if(delete S.examples,S.headers)for(let ue in S.headers)ue.toLowerCase()==="status code"?ye.patch?(ye.patches++,delete S.headers[ue]):A('(Patchable) "Status Code" is not a valid header',ye):ne(S.headers[ue],ye)}}function oe(S,N,B,re,ye){for(let ue in S){let me=S[ue];me&&me["x-trace"]&&typeof me["x-trace"]=="object"&&(me.trace=me["x-trace"],delete me["x-trace"]),me&&me["x-summary"]&&typeof me["x-summary"]=="string"&&(me.summary=me["x-summary"],delete me["x-summary"]),me&&me["x-description"]&&typeof me["x-description"]=="string"&&(me.description=me["x-description"],delete me["x-description"]),me&&me["x-servers"]&&Array.isArray(me["x-servers"])&&(me.servers=me["x-servers"],delete me["x-servers"]);for(let je in me)if(v.httpMethods.indexOf(je)>=0||je==="x-amazon-apigateway-any-method"){let he=me[je];if(he&&he.parameters&&Array.isArray(he.parameters)){if(me.parameters)for(let Ye of me.parameters)typeof Ye.$ref=="string"&&(le(Ye,B),Ye=i(ye,Ye.$ref)),!he.parameters.find(function(Ke,Ge,Je){return Ke.name===Ye.name&&Ke.in===Ye.in})&&(Ye.in==="formData"||Ye.in==="body"||Ye.type==="file")&&(he=ce(Ye,he,me,je,ue,ye,B),B.rbname&&he[B.rbname]===""&&delete he[B.rbname]);for(let Ye of he.parameters)he=ce(Ye,he,me,je,je+":"+ue,ye,B);B.rbname&&he[B.rbname]===""&&delete he[B.rbname],B.debug||he.parameters&&(he.parameters=he.parameters.filter(Q))}if(he&&he.security&&Y(he.security),typeof he=="object"){if(!he.responses){let Ye={};Ye.description="Default response",he.responses={default:Ye}}for(let Ye in he.responses){let Ke=he.responses[Ye];fe(Ke,Ye,he,ye,B)}}if(he&&he["x-servers"]&&Array.isArray(he["x-servers"]))he.servers=he["x-servers"],delete he["x-servers"];else if(he&&he.schemes&&he.schemes.length){for(let Ye of he.schemes)if((!ye.schemes||ye.schemes.indexOf(Ye)<0)&&(he.servers||(he.servers=[]),Array.isArray(ye.servers)))for(let Ke of ye.servers){let Ge=p(Ke),Je=t.parse(Ge.url);Je.protocol=Ye,Ge.url=Je.format(),he.servers.push(Ge)}}if(B.debug&&(he["x-s2o-consumes"]=he.consumes||[],he["x-s2o-produces"]=he.produces||[]),he){if(delete he.consumes,delete he.produces,delete he.schemes,he["x-ms-examples"]){for(let Ye in he["x-ms-examples"]){let Ke=he["x-ms-examples"][Ye],Ge=v.sanitiseAll(Ye);if(Ke.parameters)for(let Je in Ke.parameters){let He=Ke.parameters[Je];for(let ot of(he.parameters||[]).concat(me.parameters||[]))ot.$ref&&(ot=a.jptr(ye,ot.$ref)),ot.name===Je&&!ot.example&&(ot.examples||(ot.examples={}),ot.examples[Ye]={value:He})}if(Ke.responses)for(let Je in Ke.responses){if(Ke.responses[Je].headers)for(let He in Ke.responses[Je].headers){let ot=Ke.responses[Je].headers[He];for(let ur in he.responses[Je].headers)if(ur===He){let j=he.responses[Je].headers[ur];j.example=ot}}if(Ke.responses[Je].body&&(ye.components.examples[Ge]={value:p(Ke.responses[Je].body)},he.responses[Je]&&he.responses[Je].content))for(let He in he.responses[Je].content){let ot=he.responses[Je].content[He];ot.examples||(ot.examples={}),ot.examples[Ye]={$ref:"#/components/examples/"+Ge}}}}delete he["x-ms-examples"]}if(he.parameters&&he.parameters.length===0&&delete he.parameters,he.requestBody){let Ye=he.operationId?v.sanitiseAll(he.operationId):v.sanitiseAll(je+ue).toCamelCase(),Ke=v.sanitise(he.requestBody["x-s2o-name"]||Ye||"");delete he.requestBody["x-s2o-name"];let Ge=JSON.stringify(he.requestBody),Je=v.hash(Ge);if(!re[Je]){let ot={};ot.name=Ke,ot.body=he.requestBody,ot.refs=[],re[Je]=ot}let He="#/"+N+"/"+encodeURIComponent(a.jpescape(ue))+"/"+je+"/requestBody";re[Je].refs.push(He)}}}if(me&&me.parameters){for(let je in me.parameters){let he=me.parameters[je];ce(he,null,me,null,ue,ye,B)}!B.debug&&Array.isArray(me.parameters)&&(me.parameters=me.parameters.filter(Q))}}}function F(S,N){let B={};w={schemas:{}},S.security&&Y(S.security);for(let ye in S.components.securitySchemes){let ue=v.sanitise(ye);ye!==ue&&(S.components.securitySchemes[ue]&&A("Duplicate sanitised securityScheme name "+ue,N),S.components.securitySchemes[ue]=S.components.securitySchemes[ye],delete S.components.securitySchemes[ye]),q(S.components.securitySchemes[ue],N)}for(let ye in S.components.schemas){let ue=v.sanitiseAll(ye),me="";if(ye!==ue){for(;S.components.schemas[ue+me];)me=me?++me:2;S.components.schemas[ue+me]=S.components.schemas[ye],delete S.components.schemas[ye]}w.schemas[ye]=ue+me,I(S.components.schemas[ue+me],N)}N.refmap={},h(S,{payload:{options:N}},P),U(S,N);for(let ye in S.components.parameters){let ue=v.sanitise(ye);ye!==ue&&(S.components.parameters[ue]&&A("Duplicate sanitised parameter name "+ue,N),S.components.parameters[ue]=S.components.parameters[ye],delete S.components.parameters[ye]);let me=S.components.parameters[ue];ce(me,null,null,null,ue,S,N)}for(let ye in S.components.responses){let ue=v.sanitise(ye);ye!==ue&&(S.components.responses[ue]&&A("Duplicate sanitised response name "+ue,N),S.components.responses[ue]=S.components.responses[ye],delete S.components.responses[ye]);let me=S.components.responses[ue];if(fe(me,ue,null,S,N),me.headers)for(let je in me.headers)je.toLowerCase()==="status code"?N.patch?(N.patches++,delete me.headers[je]):A('(Patchable) "Status Code" is not a valid header',N):ne(me.headers[je],N)}for(let ye in S.components.requestBodies){let ue=S.components.requestBodies[ye],me=JSON.stringify(ue),je=v.hash(me),he={};he.name=ye,he.body=ue,he.refs=[],B[je]=he}if(oe(S.paths,"paths",N,B,S),S["x-ms-paths"]&&oe(S["x-ms-paths"],"x-ms-paths",N,B,S),!N.debug)for(let ye in S.components.parameters)S.components.parameters[ye]["x-s2o-delete"]&&delete S.components.parameters[ye];N.debug&&(S["x-s2o-consumes"]=S.consumes||[],S["x-s2o-produces"]=S.produces||[]),delete S.consumes,delete S.produces,delete S.schemes;let re=[];if(S.components.requestBodies={},!N.resolveInternal){let ye=1;for(let ue in B){let me=B[ue];if(me.refs.length>1){let je="";for(me.name||(me.name="requestBody",je=ye++);re.indexOf(me.name+je)>=0;)je=je?++je:2;me.name=me.name+je,re.push(me.name),S.components.requestBodies[me.name]=p(me.body);for(let he in me.refs){let Ye={};Ye.$ref="#/components/requestBodies/"+me.name,a.jptr(S,me.refs[he],Ye)}}}}return S.components.responses&&Object.keys(S.components.responses).length===0&&delete S.components.responses,S.components.parameters&&Object.keys(S.components.parameters).length===0&&delete S.components.parameters,S.components.examples&&Object.keys(S.components.examples).length===0&&delete S.components.examples,S.components.requestBodies&&Object.keys(S.components.requestBodies).length===0&&delete S.components.requestBodies,S.components.securitySchemes&&Object.keys(S.components.securitySchemes).length===0&&delete S.components.securitySchemes,S.components.headers&&Object.keys(S.components.headers).length===0&&delete S.components.headers,S.components.schemas&&Object.keys(S.components.schemas).length===0&&delete S.components.schemas,S.components&&Object.keys(S.components).length===0&&delete S.components,S}function ie(S){return!S||!S.url||typeof S.url!="string"||(S.url=S.url.split("{{").join("{"),S.url=S.url.split("}}").join("}"),S.url.replace(/\{(.+?)\}/g,function(N,B){S.variables||(S.variables={}),S.variables[B]={default:"unknown"}})),S}function W(S,N,B){if(typeof S.info>"u"||S.info===null)if(N.patch)N.patches++,S.info={version:"",title:""};else return B(new _("(Patchable) info object is mandatory"));if(typeof S.info!="object"||Array.isArray(S.info))return B(new _("info must be an object"));if(typeof S.info.title>"u"||S.info.title===null)if(N.patch)N.patches++,S.info.title="";else return B(new _("(Patchable) info.title cannot be null"));if(typeof S.info.version>"u"||S.info.version===null)if(N.patch)N.patches++,S.info.version="";else return B(new _("(Patchable) info.version cannot be null"));if(typeof S.info.version!="string")if(N.patch)N.patches++,S.info.version=S.info.version.toString();else return B(new _("(Patchable) info.version must be a string"));if(typeof S.info.logo<"u")if(N.patch)N.patches++,S.info["x-logo"]=S.info.logo,delete S.info.logo;else return B(new _("(Patchable) info should not have logo property"));if(typeof S.info.termsOfService<"u"){if(S.info.termsOfService===null)if(N.patch)N.patches++,S.info.termsOfService="";else return B(new _("(Patchable) info.termsOfService cannot be null"));try{new URL(S.info.termsOfService)}catch{if(N.patch)N.patches++,delete S.info.termsOfService;else return B(new _("(Patchable) info.termsOfService must be a URL"))}}}function V(S,N,B){if(typeof S.paths>"u")if(N.patch)N.patches++,S.paths={};else return B(new _("(Patchable) paths object is mandatory"))}function pe(S,N){const B=new WeakSet;h(S,{identityDetection:!0},function(re,ye,ue){typeof re[ye]=="object"&&re[ye]!==null&&(B.has(re[ye])?N.anchors?re[ye]=p(re[ye]):A("YAML anchor or merge key at "+ue.path,N):B.add(re[ye]))})}function K(S,N,B){return r(B,new Promise(function(re,ye){if(S||(S={}),N.original=S,N.text||(N.text=o.stringify(S)),N.externals=[],N.externalRefs={},N.rewriteRefs=!0,N.preserveMiro=!0,N.promise={},N.promise.resolve=re,N.promise.reject=ye,N.patches=0,N.cache||(N.cache={}),N.source&&(N.cache[N.source]=N.original),pe(S,N),S.openapi&&typeof S.openapi=="string"&&S.openapi.startsWith("3.")){N.openapi=u(S),W(N.openapi,N,ye),V(N.openapi,N,ye),f.optionalResolve(N).then(function(){return N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)});return}if(!S.swagger||S.swagger!="2.0")return ye(new _("Unsupported swagger/OpenAPI version: "+(S.openapi?S.openapi:S.swagger)));let ue=N.openapi={};if(ue.openapi=typeof N.targetVersion=="string"&&N.targetVersion.startsWith("3.")?N.targetVersion:k,N.origin){ue["x-origin"]||(ue["x-origin"]=[]);let me={};me.url=N.source||N.origin,me.format="swagger",me.version=S.swagger,me.converter={},me.converter.url="https://github.com/mermade/oas-kit",me.converter.version=x,ue["x-origin"].push(me)}if(ue=Object.assign(ue,u(S)),delete ue.swagger,h(ue,{},function(me,je,he){me[je]===null&&!je.startsWith("x-")&&je!=="default"&&he.path.indexOf("/example")<0&&delete me[je]}),S.host)for(let me of Array.isArray(S.schemes)?S.schemes:[""]){let je={},he=(S.basePath||"").replace(/\/$/,"");je.url=(me?me+":":"")+"//"+S.host+he,ie(je),ue.servers||(ue.servers=[]),ue.servers.push(je)}else if(S.basePath){let me={};me.url=S.basePath,ie(me),ue.servers||(ue.servers=[]),ue.servers.push(me)}if(delete ue.host,delete ue.basePath,ue["x-servers"]&&Array.isArray(ue["x-servers"])&&(ue.servers=ue["x-servers"],delete ue["x-servers"]),S["x-ms-parameterized-host"]){let me=S["x-ms-parameterized-host"],je={};je.url=me.hostTemplate+(S.basePath?S.basePath:""),je.variables={};const he=je.url.match(/\{\w+\}/g);for(let Ye in me.parameters){let Ke=me.parameters[Ye];Ke.$ref&&(Ke=p(i(ue,Ke.$ref))),Ye.startsWith("x-")||(delete Ke.required,delete Ke.type,delete Ke.in,typeof Ke.default>"u"&&(Ke.enum?Ke.default=Ke.enum[0]:Ke.default="none"),Ke.name||(Ke.name=he[Ye].replace("{","").replace("}","")),je.variables[Ke.name]=Ke,delete Ke.name)}ue.servers||(ue.servers=[]),me.useSchemePrefix===!1?ue.servers.push(je):S.schemes.forEach(Ye=>{ue.servers.push(Object.assign({},je,{url:Ye+"://"+je.url}))}),delete ue["x-ms-parameterized-host"]}W(ue,N,ye),V(ue,N,ye),typeof ue.consumes=="string"&&(ue.consumes=[ue.consumes]),typeof ue.produces=="string"&&(ue.produces=[ue.produces]),ue.components={},ue["x-callbacks"]&&(ue.components.callbacks=ue["x-callbacks"],delete ue["x-callbacks"]),ue.components.examples={},ue.components.headers={},ue["x-links"]&&(ue.components.links=ue["x-links"],delete ue["x-links"]),ue.components.parameters=ue.parameters||{},ue.components.responses=ue.responses||{},ue.components.requestBodies={},ue.components.securitySchemes=ue.securityDefinitions||{},ue.components.schemas=ue.definitions||{},delete ue.definitions,delete ue.responses,delete ue.parameters,delete ue.securityDefinitions,f.optionalResolve(N).then(function(){F(N.openapi,N),N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)})}))}function se(S,N,B){return r(B,new Promise(function(re,ye){let ue=null,me=null;try{ue=JSON.parse(S),N.text=JSON.stringify(ue,null,2)}catch(je){me=je;try{ue=o.parse(S,{schema:"core",prettyErrors:!0}),N.sourceYaml=!0,N.text=S}catch(he){me=he}}ue?K(ue,N).then(je=>re(je)).catch(je=>ye(je)):ye(new _(me?me.message:"Could not parse string"))}))}function X(S,N,B){return r(B,new Promise(function(re,ye){N.origin=!0,N.source||(N.source=S),N.verbose&&console.warn("GET "+S),N.fetch||(N.fetch=n);const ue=Object.assign({},N.fetchOptions,{agent:N.agent});N.fetch(S,ue).then(function(me){if(me.status!==200)throw new _(`Received status code ${me.status}: ${S}`);return me.text()}).then(function(me){se(me,N).then(je=>re(je)).catch(je=>ye(je))}).catch(function(me){ye(me)})}))}function te(S,N,B){return r(B,new Promise(function(re,ye){e.readFile(S,N.encoding||"utf8",function(ue,me){ue?ye(ue):(N.sourceFile=S,se(me,N).then(je=>re(je)).catch(je=>ye(je)))})}))}function _e(S,N,B){return r(B,new Promise(function(re,ye){let ue="";S.on("data",function(me){ue+=me}).on("end",function(){se(ue,N).then(me=>re(me)).catch(me=>ye(me))})}))}return C3={S2OError:_,targetVersion:k,convert:K,convertObj:K,convertUrl:X,convertStr:se,convertFile:te,convertStream:_e},C3}var _Me=kMe();const AMe=Tn(_Me);function EMe(e){return e.paths||(e.paths={}),new Promise((t,r)=>AMe.convertObj(e,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(n,o)=>{if(n)return r(n);t(o?.openapi)}))}async function TMe(){try{return(await $F())?.resolvedConfig.openapi||{}}catch{return{}}}async function OMe(e){const t=await $F(),r={config:t,base:Ca?window.location.origin:typeof globalThis.process<"u"?globalThis.process.cwd():""};Ca&&(t.resolve.http.customFetch=globalThis.fetch),typeof e=="object"&&e!==null?r.doc=RMe(e):r.ref=e;const{bundle:{parsed:n}}=await BIe(r);return n.swagger!==void 0?EMe(n):n}function RMe(e){return{source:{absoluteRef:""},parsed:e}}async function jMe(e,t,r){let n;if(r?.skipBundle){if(!e)throw new Error('spec must be specified when using "skipBundleAndConvert"');n=e}else n=await OMe(e||t);try{ICe(n)}catch{}return n}const LMe=({options:e,definitionUrl:t,definition:r,activeSampleLanguage:n,children:o})=>{const[a,i]=D.useState(),[l,p]=D.useState(!0),[u,h]=D.useState(null),[f,b]=D.useState(e||{});D.useEffect(()=>{async function y(){p(!0);try{const x=await TMe();b({...e,...x}),h(await jMe(r,t,e))}catch(x){i(x.message)}}y()},[r,t,e]);const v=D.useMemo(()=>{if(u)return{definition:u,options:f,definitionUrl:t,activeSampleLanguage:n}},PCe([u,t,f]));return D.useEffect(()=>{v&&p(!1)},[v]),a||!v?null:l?bo(e?.hideLoading,!1)?null:m.jsx(n8e,{color:"--loading-spinner-color"}):D.isValidElement(o)?D.cloneElement(o,{store:v}):null};function NMe({definition:e,definitionUrl:t,options:r={},activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,router:i}){return m.jsx(LMe,{definition:e,definitionUrl:t,options:r,activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,children:m.jsx(Wz,{withCommonStyles:!0,router:i||"hash"})})}function IMe(e){const t={},r=e.attributes;for(let n=0;n<r.length;n++){const o=r[n];t[o.name]=o.value}return t}function PMe(e){const t=IMe(e),r={};for(const n in t){const o=n.replace(/-(.)/g,(a,i)=>i.toUpperCase());r[o]=t[n]}return r}function MMe(e,t=document.querySelector("redoc")){E4.hydrateRoot(t,m.jsx(Wz,{store:e}),{onRecoverableError:(r,n)=>{r.message.includes("Minified React error #418")||console.error(r.message,n)}})}function Gq(e,t={},r=$v("redoc")){if(r===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');const{router:n,...o}={...t,...PMe(r)};let a,i;typeof e=="string"?a=e:typeof e=="object"&&(i=e),E4.createRoot(r).render(D.createElement(NMe,{definition:i,definitionUrl:a,options:o,router:n??"hash"},["Loading..."]))}const DMe="3.25.0-next.1",$Me="7dac3df343";function zMe(){const e=$v("redoc");if(!e)return;const t=e.getAttribute("spec-url");t&&Gq(t,{},e)}zMe();export{wl as $,Sj as A,ft as B,z0 as C,On as D,Bf as E,Po as F,Cm as G,vR as H,uy as I,Oa as J,ej as K,VR as L,mj as M,vj as N,fj as O,Nc as P,K$ as Q,At as R,hi as S,Ky as T,zd as U,Du as V,_9 as W,vw as X,Yf as Y,xl as Z,FM as _,xe as a,dIe as a$,as as a0,N$ as a1,rp as a2,al as a3,LL as a4,EL as a5,uD as a6,q$ as a7,h$ as a8,uw as a9,T9 as aA,c1 as aB,l1 as aC,HU as aD,p1 as aE,s1 as aF,OF as aG,u1 as aH,jIe as aI,IIe as aJ,pn as aK,KU as aL,iF as aM,sF as aN,uIe as aO,cIe as aP,I1 as aQ,pIe as aR,hIe as aS,fF as aT,hF as aU,vS as aV,zo as aW,sr as aX,Xr as aY,lF as aZ,cF as a_,H2 as aa,us as ab,wr as ac,Al as ad,_$ as ae,eo as af,cr as ag,jc as ah,H$ as ai,gr as aj,Sz as ak,V$ as al,G$ as am,tz as an,Z1e as ao,rl as ap,S0 as aq,q0 as ar,Pz as as,L$ as at,j$ as au,Iz as av,Nz as aw,Kk as ax,ed as ay,O9 as az,il as b,P1 as b0,i1 as b1,ql as b2,DF as b3,yS as b4,Dl as b5,ITe as b6,vF as b7,lIe as b8,da as b9,mIe as bA,Bl as bB,wS as bC,jF as bD,Ml as bE,vs as bF,pF as bG,uS as bH,Yz as bI,mF as bJ,uh as bK,WU as bL,EF as bM,TS as bN,MMe as bO,Gq as bP,$Me as bQ,Vbe as bR,Hbe as bS,Bbe as bT,DMe as bU,OIe as ba,xS as bb,yp as bc,za as bd,xs as be,yF as bf,$a as bg,ES as bh,pS as bi,TF as bj,n1 as bk,PTe as bl,dF as bm,qU as bn,GU as bo,ZN as bp,k$ as bq,t1 as br,rt as bs,tt as bt,uF as bu,LF as bv,IF as bw,Kz as bx,gF as by,gIe as bz,_f as c,Tn as d,lm as e,$0 as f,dt as g,ve as h,$u as i,m as j,zF as k,Pt as l,sm as m,SZ as n,eG as o,Kn as p,mx as q,D as r,Jn as s,mn as t,ir as u,Rc as v,ns as w,Ld as x,jL as y,yl as z};
|
|
12035
|
+
`}}_n(Lp,"defaults",MB);function JPe(e,t=!0,r){r===void 0&&typeof t=="string"&&(r=t,t=!0);const n=Object.assign({},Lp.defaults[_1.version],_1);return new Hl(n).createNode(e,t,r)}class T1 extends Lp{constructor(t){super(Object.assign({},_1,t))}}function QPe(e,t){const r=[];let n;for(const o of DS(e)){const a=new T1(t);a.parse(o,n),r.push(a),n=a}return r}function $B(e,t){const r=DS(e),n=new T1(t).parse(r[0]);if(r.length>1){const o="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new vt(r[1],o))}return n}function ZPe(e,t){const r=$B(e,t);if(r.warnings.forEach(n=>SB(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function XPe(e,t){const r=new T1(t);return r.contents=e,String(r)}const eMe={createNode:JPe,defaultOptions:_1,Document:T1,parse:ZPe,parseAllDocuments:QPe,parseCST:DS,parseDocument:$B,scalarOptions:BPe,stringify:XPe},tMe=Object.freeze(Object.defineProperty({__proto__:null,YAML:eMe},Symbol.toStringTag,{value:"Module"})),rMe=Sa(tMe);var zB,UB;function FB(){return UB||(UB=1,zB=rMe.YAML),zB}var GS,BB;function O1(){if(BB)return GS;BB=1;function e(n){return n.replace(/\~/g,"~0").replace(/\//g,"~1")}function t(n){return n.replace(/\~1/g,"/").replace(/~0/g,"~")}function r(n,o,a){if(typeof n>"u")return!1;if(!o||typeof o!="string"||o==="#")return typeof a<"u"?a:n;if(o.indexOf("#")>=0){let l=o.split("#");if(l[0])return!1;o=l[1],o=decodeURIComponent(o.slice(1).split("+").join(" "))}o.startsWith("/")&&(o=o.slice(1));let i=o.split("/");for(let l=0;l<i.length;l++){i[l]=t(i[l]);let p=typeof a<"u"&&l==i.length-1,u=parseInt(i[l],10);if(!Array.isArray(n)||isNaN(u)||u.toString()!==i[l]?u=Array.isArray(n)&&i[l]==="-"?-2:-1:i[l]=l>0?i[l-1]:"",u!=-1||n&&n.hasOwnProperty(i[l]))if(u>=0)p&&(n[u]=a),n=n[u];else{if(u===-2)return p?(Array.isArray(n)&&n.push(a),a):void 0;p&&(n[i[l]]=a),n=n[i[l]]}else if(typeof a<"u"&&typeof n=="object"&&!Array.isArray(n))n[i[l]]=p?a:i[l+1]==="0"||i[l+1]==="-"?[]:{},n=n[i[l]];else return!1}return n}return GS={jptr:r,jpescape:e,jpunescape:t},GS}var WS,qB;function YS(){if(qB)return WS;qB=1;function e(t,r){return r==="$ref"&&!!t&&typeof t[r]=="string"}return WS={isRef:e},WS}var KS,HB;function R1(){if(HB)return KS;HB=1;function e(i){return i}function t(i){return JSON.parse(JSON.stringify(i))}function r(i){let l={};for(let p in i)i.hasOwnProperty(p)&&(l[p]=i[p]);return l}function n(i){let l=Array.isArray(i)?[]:{};for(let p in i)(i.hasOwnProperty(p)||Array.isArray(i))&&(l[p]=typeof i[p]=="object"?n(i[p]):i[p]);return l}function o(i){return Object.assign({},i)}function a(i,l){if(l||(l=new WeakMap),Object(i)!==i||i instanceof Function)return i;if(l.has(i))return l.get(i);try{var p=new i.constructor}catch{p=Object.create(Object.getPrototypeOf(i))}return l.set(i,p),Object.assign(p,...Object.keys(i).map(u=>({[u]:a(i[u],l)})))}return KS={nop:e,clone:t,shallowClone:r,deepClone:n,fastClone:o,circularClone:a},KS}var JS,VB;function QS(){if(VB)return JS;VB=1;const e=O1().jpescape;function t(){return{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1}}function r(n,o,a){if(o||(o={depth:0}),o.depth||(o=Object.assign({},t(),o)),typeof n!="object")return;let i=o.path;for(let l in n){if(o.key=l,o.path=o.path+"/"+encodeURIComponent(e(l)),o.identityPath=o.seen.get(n[l]),o.identity=typeof o.identityPath<"u",n.hasOwnProperty(l)&&a(n,l,o),typeof n[l]=="object"&&!o.identity){o.identityDetection&&!Array.isArray(n[l])&&n[l]!==null&&o.seen.set(n[l],o.path);let p={};p.parent=n,p.path=o.path,p.depth=o.depth?o.depth+1:1,p.pkey=l,p.payload=o.payload,p.seen=o.seen,p.identity=!1,p.identityDetection=o.identityDetection,r(n[l],p,a)}o.path=i}}return JS={recurse:r},JS}var ZS,GB;function nMe(){if(GB)return ZS;GB=1;const e=QS().recurse,t=R1().shallowClone,r=O1().jptr,n=YS().isRef;var o=function(i){return i&&i.verbose?{warn:function(){var l=Array.prototype.slice.call(arguments);console.warn.apply(console,l)}}:{warn:function(){}}};function a(i,l,p){p||(p={}),p.cache||(p.cache={}),p.state||(p.state={}),p.state.identityDetection=!0,p.depth=p.depth?p.depth+1:1;let u=p.depth>1?i:t(i),h={data:u},f=p.depth>1?l:t(l);p.master||(p.master=u);let b=o(p),v=1;for(;v>0;)v=0,e(h,p.state,function(y,x,k){if(n(y,x)){let w=y[x];if(v++,p.cache[w]){let _=p.cache[w];if(_.resolved)b.warn("Patching %s for %s",w,_.path),k.parent[k.pkey]=_.data,p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w);else{if(w===_.path)throw new Error(`Tight circle at ${_.path}`);b.warn("Unresolved ref"),k.parent[k.pkey]=r(_.source,_.path),k.parent[k.pkey]===!1&&(k.parent[k.pkey]=r(_.source,_.key)),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[p.$ref]=w)}}else{let _={};_.path=k.path.split("/$ref")[0],_.key=w,b.warn("Dereffing %s at %s",w,_.path),_.source=f,_.data=r(_.source,_.key),_.data===!1&&(_.data=r(p.master,_.key),_.source=p.master),_.data===!1&&b.warn("Missing $ref target",_.key),p.cache[w]=_,_.data=k.parent[k.pkey]=a(r(_.source,_.key),_.source,p),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w),_.resolved=!0}}});return h.data}return ZS={dereference:a},ZS}var XS,WB;function oMe(){if(WB)return XS;WB=1,XS=a,a.default=a,a.stable=u,a.stableStringify=u;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(b,v,y,x){typeof x>"u"&&(x=o()),l(b,"",0,[],void 0,0,x);var k;try{n.length===0?k=JSON.stringify(b,v,y):k=JSON.stringify(b,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var w=r.pop();w.length===4?Object.defineProperty(w[0],w[1],w[3]):w[0][w[1]]=w[2]}}return k}function i(b,v,y,x){var k=Object.getOwnPropertyDescriptor(x,y);k.get!==void 0?k.configurable?(Object.defineProperty(x,y,{value:b}),r.push([x,y,v,k])):n.push([v,y,b]):(x[y]=b,r.push([x,y,v]))}function l(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)l(b[A],A,A,x,b,w,_);else{var R=Object.keys(b);for(A=0;A<R.length;A++){var E=R[A];l(b[E],E,A,x,b,w,_)}}x.pop()}}function p(b,v){return b<v?-1:b>v?1:0}function u(b,v,y,x){typeof x>"u"&&(x=o());var k=h(b,"",0,[],void 0,0,x)||b,w;try{n.length===0?w=JSON.stringify(k,v,y):w=JSON.stringify(k,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return w}function h(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)h(b[A],A,A,x,b,w,_);else{var R={},E=Object.keys(b).sort(p);for(A=0;A<E.length;A++){var L=E[A];h(b[L],L,A,x,b,w,_),R[L]=b[L]}if(typeof k<"u")r.push([k,v,b]),k[v]=R;else return R}x.pop()}}function f(b){return b=typeof b<"u"?b:function(v,y){return y},function(v,y){if(n.length>0)for(var x=0;x<n.length;x++){var k=n[x];if(k[1]===v&&k[0]===y){y=k[2],n.splice(x,1);break}}return b.call(this,v,y)}}return XS}var e3,YB;function KB(){if(YB)return e3;YB=1;var e={};const t=oMe(),r=e.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"\x1B[31m",yellow:"\x1B[33;1m",green:"\x1B[32m",normal:"\x1B[0m"};function n(k,w,_){return _.indexOf(k)===w}function o(k){return new Set(k).size!==k.length}function a(k){return new Set(k).size<=1}function i(k,w){function _(A,R){return t.stringify(A)===t.stringify(Object.assign({},A,R))}return _(k,w)&&_(w,k)}function l(k){let w=[];for(let _ of k)w.find(function(A,R,E){return i(A,_)})||w.push(_);return w}function p(k){return k.length===l(k).length}function u(k){return k.find(function(w,_,A){return k.indexOf(w)<_})}function h(k){let w=0,_;if(k.length===0)return w;for(let A=0;A<k.length;A++)_=k.charCodeAt(A),w=(w<<5)-w+_,w|=0;return w}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(k,w){return w.toUpperCase()})};const f=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],b=["items","minItems","maxItems","uniqueItems"],v=["get","post","put","delete","patch","head","options","trace"];function y(k){k=k.replace("[]","Array");let w=k.split("/");return w[0]=w[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),w.join("/")}function x(k){return y(k.split("/").join("_"))}return e3={colour:r,uniqueOnly:n,hasDuplicates:o,allSame:a,distinctArray:p,firstDupe:u,hash:h,parameterTypeProperties:f,arrayProperties:b,httpMethods:v,sanitise:y,sanitiseAll:x},e3}var t3,JB;function aMe(){if(JB)return t3;JB=1;const e=d1,t=DL(),r=jS(),n=d1,o=FB(),a=O1().jptr,i=QS().recurse,l=R1().clone,p=nMe().dereference,u=YS().isRef,h=KB();function f(O){return[...new Set(O)]}function b(O,P,U,Y,q){return new Promise(function(Q,ne){e.readFile(O,P,function(le,G){le?U.ignoreIOErrors&&q?(U.verbose&&console.warn("FAILED",Y),U.externalRefs[Y].failed=!0,Q(q)):ne(le):Q(G)})})}function v(O,P,U,Y,q,Q){let ne=Q.externalRefs[U+Y].paths[0],le=r.parse(q),G={},ce=1;for(;ce;)ce=0,i(O,{identityDetection:!0},function(ee,fe,oe){if(u(ee,fe)){if(ee[fe].startsWith("#")){if(!G[ee[fe]]&&!ee.$fixed){let F=l(a(P,ee[fe]));if(Q.verbose>1&&console.warn((F===!1?h.colour.red:h.colour.green)+"Fragment resolution",ee[fe],h.colour.normal),F===!1){if(oe.parent[oe.pkey]={},Q.fatal){let ie=new Error("Fragment $ref resolution failed "+ee[fe]);if(Q.promise)Q.promise.reject(ie);else throw ie}}else ce++,oe.parent[oe.pkey]=F,G[ee[fe]]=oe.path.replace("/%24ref","")}else if(!ee.$fixed){let F=(ne+"/"+G[ee[fe]]).split("/#/").join("/");oe.parent[oe.pkey]={$ref:F,"x-miro":ee[fe],$fixed:!0},Q.verbose>1&&console.warn("Replacing with",F),ce++}}else if(le.protocol){let F=r.resolve(q,ee[fe]).toString();Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external url ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],Q.externalRefs[ee[fe]]&&(Q.externalRefs[F]||(Q.externalRefs[F]=Q.externalRefs[ee[fe]]),Q.externalRefs[F].failed=Q.externalRefs[ee[fe]].failed),ee[fe]=F}else if(!ee["x-miro"]){let F=r.resolve(q,ee[fe]).toString(),ie=!1;Q.externalRefs[ee[fe]]&&(ie=Q.externalRefs[ee[fe]].failed),ie||(Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],ee[fe]=F)}}});return i(O,{},function(ee,fe,oe){u(ee,fe)&&typeof ee.$fixed<"u"&&delete ee.$fixed}),Q.verbose>1&&console.warn("Finished fragment resolution"),O}function y(O,P){if(!P.filters||!P.filters.length)return O;for(let U of P.filters)O=U(O,P);return O}function x(O,P){return O&&O.length>2?O:P&&P.length>2?P:"file:"}function k(O,P,U,Y){var q=r.parse(U.source),Q=U.source.split("\\").join("/").split("/");Q.pop()||Q.pop();let ne="",le=P.split("#");le.length>1&&(ne="#"+le[1],P=le[0]),Q=Q.join("/");let G=r.parse(P),ce=x(G.protocol,q.protocol),ee;if(ce==="file:"?ee=t.resolve(Q?Q+"/":"",P):ee=r.resolve(Q?Q+"/":"",P),U.cache[ee]){U.verbose&&console.warn("CACHED",ee,ne);let fe=l(U.cache[ee]),oe=U.externalRef=fe;if(ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let F=new Error("Cached $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(F);else throw F}return oe=v(oe,fe,P,ne,ee,U),oe=y(oe,U),Y(l(oe),ee,U),Promise.resolve(oe)}if(U.verbose&&console.warn("GET",ee,ne),U.handlers&&U.handlers[ce])return U.handlers[ce](Q,P,ne,U).then(function(fe){return U.externalRef=fe,fe=y(fe,U),U.cache[ee]=fe,Y(fe,ee,U),fe}).catch(function(fe){throw U.verbose&&console.warn(fe),fe});if(ce&&ce.startsWith("http")){const fe=Object.assign({},U.fetchOptions,{agent:U.agent});return U.fetch(ee,fe).then(function(oe){if(oe.status!==200){if(U.ignoreIOErrors)return U.verbose&&console.warn("FAILED",P),U.externalRefs[P].failed=!0,'{"$ref":"'+P+'"}';throw new Error(`Received status code ${oe.status}: ${ee}`)}return oe.text()}).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("Remote $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.cache[ee]={},U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}else{const fe='{"$ref":"'+P+'"}';return b(ee,U.encoding||"utf8",U,P,fe).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("File $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}}function w(O){return new Promise(function(P,U){function Y(Q,ne,le){if(Q[ne]&&u(Q[ne],"$ref")){let G=Q[ne].$ref;if(!G.startsWith("#")){let ce="";if(!q[G]){let ee=Object.keys(q).find(function(fe,oe,F){return G.startsWith(fe+"/")});ee&&(O.verbose&&console.warn("Found potential subschema at",ee),ce="/"+(G.split("#")[1]||"").replace(ee.split("#")[1]||""),ce=ce.split("/undefined").join(""),G=ee)}if(q[G]||(q[G]={resolved:!1,paths:[],extras:{},description:Q[ne].description}),q[G].resolved){if(!q[G].failed)if(O.rewriteRefs){let ee=q[G].resolvedAt;O.verbose>1&&console.warn("Rewriting ref",G,ee),Q[ne]["x-miro"]=G,Q[ne].$ref=ee+ce}else Q[ne]=l(q[G].data)}else q[G].paths.push(le.path),q[G].extras[le.path]=ce}}}let q=O.externalRefs;if(O.resolver.depth>0&&O.source===O.resolver.base)return P(q);i(O.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Y),i(O.openapi.components,{identityDetection:!0,path:"#/components"},Y),i(O.openapi,{identityDetection:!0},Y),P(q)})}function _(O){return new Promise(function(P,U){w(O).then(function(q){for(let Q in q)if(!q[Q].resolved){let ne=O.resolver.depth;ne>0&&ne++,O.resolver.actions[ne].push(function(){return k(O.openapi,Q,O,function(le,G,ce){if(!q[Q].resolved){let oe={};oe.context=q[Q],oe.$ref=Q,oe.original=l(le),oe.updated=le,oe.source=G,ce.externals.push(oe),q[Q].resolved=!0}let ee=Object.assign({},ce,{source:"",resolver:{actions:ce.resolver.actions,depth:ce.resolver.actions.length-1,base:ce.resolver.base}});ce.patch&&q[Q].description&&!le.description&&typeof le=="object"&&(le.description=q[Q].description),q[Q].data=le;let fe=f(q[Q].paths);fe=fe.sort(function(oe,F){const ie=oe.startsWith("#/components/")||oe.startsWith("#/definitions/"),W=F.startsWith("#/components/")||F.startsWith("#/definitions/");return ie&&!W?-1:W&&!ie?1:0});for(let oe of fe)if(q[Q].resolvedAt&&oe!==q[Q].resolvedAt&&oe.indexOf("x-ms-examples/")<0)ce.verbose>1&&console.warn("Creating pointer to data at",oe),a(ce.openapi,oe,{$ref:q[Q].resolvedAt+q[Q].extras[oe],"x-miro":Q+q[Q].extras[oe]});else{q[Q].resolvedAt?ce.verbose>1&&console.warn("Avoiding circular reference"):(q[Q].resolvedAt=oe,ce.verbose>1&&console.warn("Creating initial clone of data at",oe));let F=l(le);a(ce.openapi,oe,F)}ce.resolver.actions[ee.resolver.depth].length===0&&ce.resolver.actions[ee.resolver.depth].push(function(){return _(ee)})})})}}).catch(function(q){O.verbose&&console.warn(q),U(q)});let Y={options:O};Y.actions=O.resolver.actions[O.resolver.depth],P(Y)})}const A=O=>O.reduce((P,U)=>P.then(Y=>U().then(Array.prototype.concat.bind(Y))),Promise.resolve([]));function R(O,P,U){O.resolver.actions.push([]),_(O).then(function(Y){A(Y.actions).then(function(){if(O.resolver.depth>=O.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),P(!0);O.resolver.depth++,O.resolver.actions[O.resolver.depth].length?setTimeout(function(){R(Y.options,P,U)},0):(O.verbose>1&&console.warn(h.colour.yellow+"Finished external resolution!",h.colour.normal),O.resolveInternal&&(O.verbose>1&&console.warn(h.colour.yellow+"Starting internal resolution!",h.colour.normal),O.openapi=p(O.openapi,O.original,{verbose:O.verbose-1}),O.verbose>1&&console.warn(h.colour.yellow+"Finished internal resolution!",h.colour.normal)),i(O.openapi,{},function(q,Q,ne){u(q,Q)&&(O.preserveMiro||delete q["x-miro"])}),P(O))}).catch(function(q){O.verbose&&console.warn(q),U(q)})}).catch(function(Y){O.verbose&&console.warn(Y),U(Y)})}function E(O){if(O.cache||(O.cache={}),O.fetch||(O.fetch=n),O.source){let P=r.parse(O.source);(!P.protocol||P.protocol.length<=2)&&(O.source=t.resolve(O.source))}O.externals=[],O.externalRefs={},O.rewriteRefs=!0,O.resolver={},O.resolver.depth=0,O.resolver.base=O.source,O.resolver.actions=[[]]}function L(O){return E(O),new Promise(function(P,U){O.resolve?R(O,P,U):P(O)})}function I(O,P,U){return U||(U={}),U.openapi=O,U.source=P,U.resolve=!0,E(U),new Promise(function(Y,q){R(U,Y,q)})}return t3={optionalResolve:L,resolve:I},t3}var r3,QB;function iMe(){if(QB)return r3;QB=1;function e(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function t(r,n,o,a){if(typeof o.depth>"u"&&(o=e()),r===null||typeof r>"u")return r;if(typeof r.$ref<"u"){let i={$ref:r.$ref};return o.allowRefSiblings&&r.description&&(i.description=r.description),a(i,n,o),i}if(o.combine&&(r.allOf&&Array.isArray(r.allOf)&&r.allOf.length===1&&(r=Object.assign({},r.allOf[0],r),delete r.allOf),r.anyOf&&Array.isArray(r.anyOf)&&r.anyOf.length===1&&(r=Object.assign({},r.anyOf[0],r),delete r.anyOf),r.oneOf&&Array.isArray(r.oneOf)&&r.oneOf.length===1&&(r=Object.assign({},r.oneOf[0],r),delete r.oneOf)),a(r,n,o),o.seen.has(r))return r;if(typeof r=="object"&&r!==null&&o.seen.set(r,!0),o.top=!1,o.depth++,typeof r.items<"u"&&(o.property="items",t(r.items,r,o,a)),r.additionalItems&&typeof r.additionalItems=="object"&&(o.property="additionalItems",t(r.additionalItems,r,o,a)),r.additionalProperties&&typeof r.additionalProperties=="object"&&(o.property="additionalProperties",t(r.additionalProperties,r,o,a)),r.properties)for(let i in r.properties){let l=r.properties[i];o.property="properties/"+i,t(l,r,o,a)}if(r.patternProperties)for(let i in r.patternProperties){let l=r.patternProperties[i];o.property="patternProperties/"+i,t(l,r,o,a)}if(r.allOf)for(let i in r.allOf){let l=r.allOf[i];o.property="allOf/"+i,t(l,r,o,a)}if(r.anyOf)for(let i in r.anyOf){let l=r.anyOf[i];o.property="anyOf/"+i,t(l,r,o,a)}if(r.oneOf)for(let i in r.oneOf){let l=r.oneOf[i];o.property="oneOf/"+i,t(l,r,o,a)}return r.not&&(o.property="not",t(r.not,r,o,a)),o.depth--,r}return r3={getDefaultState:e,walkSchema:t},r3}var ZB={},n3={exports:{}},XB={},eq;function tq(){return eq||(eq=1,(function(e){e.fetch=o(globalThis.fetch)&&o(globalThis.ReadableStream),e.writableStream=o(globalThis.WritableStream),e.abortController=o(globalThis.AbortController);var t;function r(){if(t!==void 0)return t;if(globalThis.XMLHttpRequest){t=new globalThis.XMLHttpRequest;try{t.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var i=r();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?o(r().overrideMimeType):!1);function o(a){return typeof a=="function"}t=null})(XB)),XB}var j1={},o3={exports:{}},L1={exports:{}},rq;function sMe(){if(rq)return L1.exports;rq=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(R,E,L){return Function.prototype.apply.call(R,E,L)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:r=function(R){return Object.getOwnPropertyNames(R)};function n(R){console&&console.warn&&console.warn(R)}var o=Number.isNaN||function(R){return R!==R};function a(){a.init.call(this)}L1.exports=a,L1.exports.once=w,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(R){if(typeof R!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+R+".");i=R}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+R+".");return this._maxListeners=R,this};function p(R){return R._maxListeners===void 0?a.defaultMaxListeners:R._maxListeners}a.prototype.getMaxListeners=function(){return p(this)},a.prototype.emit=function(R){for(var E=[],L=1;L<arguments.length;L++)E.push(arguments[L]);var I=R==="error",O=this._events;if(O!==void 0)I=I&&O.error===void 0;else if(!I)return!1;if(I){var P;if(E.length>0&&(P=E[0]),P instanceof Error)throw P;var U=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw U.context=P,U}var Y=O[R];if(Y===void 0)return!1;if(typeof Y=="function")t(Y,this,E);else for(var q=Y.length,Q=y(Y,q),L=0;L<q;++L)t(Q[L],this,E);return!0};function u(R,E,L,I){var O,P,U;if(l(L),P=R._events,P===void 0?(P=R._events=Object.create(null),R._eventsCount=0):(P.newListener!==void 0&&(R.emit("newListener",E,L.listener?L.listener:L),P=R._events),U=P[E]),U===void 0)U=P[E]=L,++R._eventsCount;else if(typeof U=="function"?U=P[E]=I?[L,U]:[U,L]:I?U.unshift(L):U.push(L),O=p(R),O>0&&U.length>O&&!U.warned){U.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+U.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=R,Y.type=E,Y.count=U.length,n(Y)}return R}a.prototype.addListener=function(R,E){return u(this,R,E,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(R,E){return u(this,R,E,!0)};function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(R,E,L){var I={fired:!1,wrapFn:void 0,target:R,type:E,listener:L},O=h.bind(I);return O.listener=L,I.wrapFn=O,O}a.prototype.once=function(R,E){return l(E),this.on(R,f(this,R,E)),this},a.prototype.prependOnceListener=function(R,E){return l(E),this.prependListener(R,f(this,R,E)),this},a.prototype.removeListener=function(R,E){var L,I,O,P,U;if(l(E),I=this._events,I===void 0)return this;if(L=I[R],L===void 0)return this;if(L===E||L.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete I[R],I.removeListener&&this.emit("removeListener",R,L.listener||E));else if(typeof L!="function"){for(O=-1,P=L.length-1;P>=0;P--)if(L[P]===E||L[P].listener===E){U=L[P].listener,O=P;break}if(O<0)return this;O===0?L.shift():x(L,O),L.length===1&&(I[R]=L[0]),I.removeListener!==void 0&&this.emit("removeListener",R,U||E)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(R){var E,L,I;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[R]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[R]),this;if(arguments.length===0){var O=Object.keys(L),P;for(I=0;I<O.length;++I)P=O[I],P!=="removeListener"&&this.removeAllListeners(P);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=L[R],typeof E=="function")this.removeListener(R,E);else if(E!==void 0)for(I=E.length-1;I>=0;I--)this.removeListener(R,E[I]);return this};function b(R,E,L){var I=R._events;if(I===void 0)return[];var O=I[E];return O===void 0?[]:typeof O=="function"?L?[O.listener||O]:[O]:L?k(O):y(O,O.length)}a.prototype.listeners=function(R){return b(this,R,!0)},a.prototype.rawListeners=function(R){return b(this,R,!1)},a.listenerCount=function(R,E){return typeof R.listenerCount=="function"?R.listenerCount(E):v.call(R,E)},a.prototype.listenerCount=v;function v(R){var E=this._events;if(E!==void 0){var L=E[R];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function y(R,E){for(var L=new Array(E),I=0;I<E;++I)L[I]=R[I];return L}function x(R,E){for(;E+1<R.length;E++)R[E]=R[E+1];R.pop()}function k(R){for(var E=new Array(R.length),L=0;L<E.length;++L)E[L]=R[L].listener||R[L];return E}function w(R,E){return new Promise(function(L,I){function O(U){R.removeListener(E,P),I(U)}function P(){typeof R.removeListener=="function"&&R.removeListener("error",O),L([].slice.call(arguments))}A(R,E,P,{once:!0}),E!=="error"&&_(R,O,{once:!0})})}function _(R,E,L){typeof R.on=="function"&&A(R,"error",E,L)}function A(R,E,L,I){if(typeof R.on=="function")I.once?R.once(E,L):R.on(E,L);else if(typeof R.addEventListener=="function")R.addEventListener(E,function O(P){I.once&&R.removeEventListener(E,O),L(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof R)}return L1.exports}var nq,oq;function aq(){return oq||(oq=1,nq=sMe().EventEmitter),nq}var iq={},ph={},sq;function lMe(){if(sq)return ph;sq=1,ph.byteLength=l,ph.toByteArray=u,ph.fromByteArray=b;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o<a;++o)e[o]=n[o],t[n.charCodeAt(o)]=o;t[45]=62,t[95]=63;function i(v){var y=v.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");x===-1&&(x=y);var k=x===y?0:4-x%4;return[x,k]}function l(v){var y=i(v),x=y[0],k=y[1];return(x+k)*3/4-k}function p(v,y,x){return(y+x)*3/4-x}function u(v){var y,x=i(v),k=x[0],w=x[1],_=new r(p(v,k,w)),A=0,R=w>0?k-4:k,E;for(E=0;E<R;E+=4)y=t[v.charCodeAt(E)]<<18|t[v.charCodeAt(E+1)]<<12|t[v.charCodeAt(E+2)]<<6|t[v.charCodeAt(E+3)],_[A++]=y>>16&255,_[A++]=y>>8&255,_[A++]=y&255;return w===2&&(y=t[v.charCodeAt(E)]<<2|t[v.charCodeAt(E+1)]>>4,_[A++]=y&255),w===1&&(y=t[v.charCodeAt(E)]<<10|t[v.charCodeAt(E+1)]<<4|t[v.charCodeAt(E+2)]>>2,_[A++]=y>>8&255,_[A++]=y&255),_}function h(v){return e[v>>18&63]+e[v>>12&63]+e[v>>6&63]+e[v&63]}function f(v,y,x){for(var k,w=[],_=y;_<x;_+=3)k=(v[_]<<16&16711680)+(v[_+1]<<8&65280)+(v[_+2]&255),w.push(h(k));return w.join("")}function b(v){for(var y,x=v.length,k=x%3,w=[],_=16383,A=0,R=x-k;A<R;A+=_)w.push(f(v,A,A+_>R?R:A+_));return k===1?(y=v[x-1],w.push(e[y>>2]+e[y<<4&63]+"==")):k===2&&(y=(v[x-2]<<8)+v[x-1],w.push(e[y>>10]+e[y>>4&63]+e[y<<2&63]+"=")),w.join("")}return ph}var a3={},lq;function cMe(){return lq||(lq=1,a3.read=function(e,t,r,n,o){var a,i,l=o*8-n-1,p=(1<<l)-1,u=p>>1,h=-7,f=r?o-1:0,b=r?-1:1,v=e[t+f];for(f+=b,a=v&(1<<-h)-1,v>>=-h,h+=l;h>0;a=a*256+e[t+f],f+=b,h-=8);for(i=a&(1<<-h)-1,a>>=-h,h+=n;h>0;i=i*256+e[t+f],f+=b,h-=8);if(a===0)a=1-u;else{if(a===p)return i?NaN:(v?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-u}return(v?-1:1)*i*Math.pow(2,a-n)},a3.write=function(e,t,r,n,o,a){var i,l,p,u=a*8-o-1,h=(1<<u)-1,f=h>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,y=n?1:-1,x=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=h):(i=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-i))<1&&(i--,p*=2),i+f>=1?t+=b/p:t+=b*Math.pow(2,1-f),t*p>=2&&(i++,p/=2),i+f>=h?(l=0,i=h):i+f>=1?(l=(t*p-1)*Math.pow(2,o),i=i+f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[r+v]=l&255,v+=y,l/=256,o-=8);for(i=i<<o|l,u+=o;u>0;e[r+v]=i&255,v+=y,i/=256,u-=8);e[r+v-y]|=x*128}),a3}var cq;function uh(){return cq||(cq=1,(function(e){const t=lMe(),r=cMe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=a(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const j=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf(j,M),j.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function i(j){if(j>o)throw new RangeError('The value "'+j+'" is invalid for option "size"');const M=new Uint8Array(j);return Object.setPrototypeOf(M,l.prototype),M}function l(j,M,z){if(typeof j=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(j)}return p(j,M,z)}l.poolSize=8192;function p(j,M,z){if(typeof j=="string")return b(j,M);if(ArrayBuffer.isView(j))return y(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(Ge(j,ArrayBuffer)||j&&Ge(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge(j,SharedArrayBuffer)||j&&Ge(j.buffer,SharedArrayBuffer)))return x(j,M,z);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const de=j.valueOf&&j.valueOf();if(de!=null&&de!==j)return l.from(de,M,z);const ke=k(j);if(ke)return ke;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return l.from(j[Symbol.toPrimitive]("string"),M,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}l.from=function(j,M,z){return p(j,M,z)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function u(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function h(j,M,z){return u(j),j<=0?i(j):M!==void 0?typeof z=="string"?i(j).fill(M,z):i(j).fill(M):i(j)}l.alloc=function(j,M,z){return h(j,M,z)};function f(j){return u(j),i(j<0?0:w(j)|0)}l.allocUnsafe=function(j){return f(j)},l.allocUnsafeSlow=function(j){return f(j)};function b(j,M){if((typeof M!="string"||M==="")&&(M="utf8"),!l.isEncoding(M))throw new TypeError("Unknown encoding: "+M);const z=A(j,M)|0;let de=i(z);const ke=de.write(j,M);return ke!==z&&(de=de.slice(0,ke)),de}function v(j){const M=j.length<0?0:w(j.length)|0,z=i(M);for(let de=0;de<M;de+=1)z[de]=j[de]&255;return z}function y(j){if(Ge(j,Uint8Array)){const M=new Uint8Array(j);return x(M.buffer,M.byteOffset,M.byteLength)}return v(j)}function x(j,M,z){if(M<0||j.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<M+(z||0))throw new RangeError('"length" is outside of buffer bounds');let de;return M===void 0&&z===void 0?de=new Uint8Array(j):z===void 0?de=new Uint8Array(j,M):de=new Uint8Array(j,M,z),Object.setPrototypeOf(de,l.prototype),de}function k(j){if(l.isBuffer(j)){const M=w(j.length)|0,z=i(M);return z.length===0||j.copy(z,0,0,M),z}if(j.length!==void 0)return typeof j.length!="number"||Je(j.length)?i(0):v(j);if(j.type==="Buffer"&&Array.isArray(j.data))return v(j.data)}function w(j){if(j>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return j|0}function _(j){return+j!=j&&(j=0),l.alloc(+j)}l.isBuffer=function(j){return j!=null&&j._isBuffer===!0&&j!==l.prototype},l.compare=function(j,M){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),Ge(M,Uint8Array)&&(M=l.from(M,M.offset,M.byteLength)),!l.isBuffer(j)||!l.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(j===M)return 0;let z=j.length,de=M.length;for(let ke=0,Ne=Math.min(z,de);ke<Ne;++ke)if(j[ke]!==M[ke]){z=j[ke],de=M[ke];break}return z<de?-1:de<z?1:0},l.isEncoding=function(j){switch(String(j).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(j,M){if(!Array.isArray(j))throw new TypeError('"list" argument must be an Array of Buffers');if(j.length===0)return l.alloc(0);let z;if(M===void 0)for(M=0,z=0;z<j.length;++z)M+=j[z].length;const de=l.allocUnsafe(M);let ke=0;for(z=0;z<j.length;++z){let Ne=j[z];if(Ge(Ne,Uint8Array))ke+Ne.length>de.length?(l.isBuffer(Ne)||(Ne=l.from(Ne)),Ne.copy(de,ke)):Uint8Array.prototype.set.call(de,Ne,ke);else if(l.isBuffer(Ne))Ne.copy(de,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return de};function A(j,M){if(l.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||Ge(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const z=j.length,de=arguments.length>2&&arguments[2]===!0;if(!de&&z===0)return 0;let ke=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return me(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Ye(j).length;default:if(ke)return de?-1:me(j).length;M=(""+M).toLowerCase(),ke=!0}}l.byteLength=A;function R(j,M,z){let de=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((z===void 0||z>this.length)&&(z=this.length),z<=0)||(z>>>=0,M>>>=0,z<=M))return"";for(j||(j="utf8");;)switch(j){case"hex":return fe(this,M,z);case"utf8":case"utf-8":return ne(this,M,z);case"ascii":return ce(this,M,z);case"latin1":case"binary":return ee(this,M,z);case"base64":return Q(this,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,M,z);default:if(de)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),de=!0}}l.prototype._isBuffer=!0;function E(j,M,z){const de=j[M];j[M]=j[z],j[z]=de}l.prototype.swap16=function(){const j=this.length;if(j%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;M<j;M+=2)E(this,M,M+1);return this},l.prototype.swap32=function(){const j=this.length;if(j%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let M=0;M<j;M+=4)E(this,M,M+3),E(this,M+1,M+2);return this},l.prototype.swap64=function(){const j=this.length;if(j%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let M=0;M<j;M+=8)E(this,M,M+7),E(this,M+1,M+6),E(this,M+2,M+5),E(this,M+3,M+4);return this},l.prototype.toString=function(){const j=this.length;return j===0?"":arguments.length===0?ne(this,0,j):R.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(j){if(!l.isBuffer(j))throw new TypeError("Argument must be a Buffer");return this===j?!0:l.compare(this,j)===0},l.prototype.inspect=function(){let j="";const M=e.INSPECT_MAX_BYTES;return j=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&(j+=" ... "),"<Buffer "+j+">"},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(j,M,z,de,ke){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),!l.isBuffer(j))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof j);if(M===void 0&&(M=0),z===void 0&&(z=j?j.length:0),de===void 0&&(de=0),ke===void 0&&(ke=this.length),M<0||z>j.length||de<0||ke>this.length)throw new RangeError("out of range index");if(de>=ke&&M>=z)return 0;if(de>=ke)return-1;if(M>=z)return 1;if(M>>>=0,z>>>=0,de>>>=0,ke>>>=0,this===j)return 0;let Ne=ke-de,De=z-M;const at=Math.min(Ne,De),yt=this.slice(de,ke),ht=j.slice(M,z);for(let Nt=0;Nt<at;++Nt)if(yt[Nt]!==ht[Nt]){Ne=yt[Nt],De=ht[Nt];break}return Ne<De?-1:De<Ne?1:0};function L(j,M,z,de,ke){if(j.length===0)return-1;if(typeof z=="string"?(de=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,Je(z)&&(z=ke?0:j.length-1),z<0&&(z=j.length+z),z>=j.length){if(ke)return-1;z=j.length-1}else if(z<0)if(ke)z=0;else return-1;if(typeof M=="string"&&(M=l.from(M,de)),l.isBuffer(M))return M.length===0?-1:I(j,M,z,de,ke);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(j,M,z):Uint8Array.prototype.lastIndexOf.call(j,M,z):I(j,[M],z,de,ke);throw new TypeError("val must be string, number or Buffer")}function I(j,M,z,de,ke){let Ne=1,De=j.length,at=M.length;if(de!==void 0&&(de=String(de).toLowerCase(),de==="ucs2"||de==="ucs-2"||de==="utf16le"||de==="utf-16le")){if(j.length<2||M.length<2)return-1;Ne=2,De/=2,at/=2,z/=2}function yt(Nt,Ht){return Ne===1?Nt[Ht]:Nt.readUInt16BE(Ht*Ne)}let ht;if(ke){let Nt=-1;for(ht=z;ht<De;ht++)if(yt(j,ht)===yt(M,Nt===-1?0:ht-Nt)){if(Nt===-1&&(Nt=ht),ht-Nt+1===at)return Nt*Ne}else Nt!==-1&&(ht-=ht-Nt),Nt=-1}else for(z+at>De&&(z=De-at),ht=z;ht>=0;ht--){let Nt=!0;for(let Ht=0;Ht<at;Ht++)if(yt(j,ht+Ht)!==yt(M,Ht)){Nt=!1;break}if(Nt)return ht}return-1}l.prototype.includes=function(j,M,z){return this.indexOf(j,M,z)!==-1},l.prototype.indexOf=function(j,M,z){return L(this,j,M,z,!0)},l.prototype.lastIndexOf=function(j,M,z){return L(this,j,M,z,!1)};function O(j,M,z,de){z=Number(z)||0;const ke=j.length-z;de?(de=Number(de),de>ke&&(de=ke)):de=ke;const Ne=M.length;de>Ne/2&&(de=Ne/2);let De;for(De=0;De<de;++De){const at=parseInt(M.substr(De*2,2),16);if(Je(at))return De;j[z+De]=at}return De}function P(j,M,z,de){return Ke(me(M,j.length-z),j,z,de)}function U(j,M,z,de){return Ke(je(M),j,z,de)}function Y(j,M,z,de){return Ke(Ye(M),j,z,de)}function q(j,M,z,de){return Ke(he(M,j.length-z),j,z,de)}l.prototype.write=function(j,M,z,de){if(M===void 0)de="utf8",z=this.length,M=0;else if(z===void 0&&typeof M=="string")de=M,z=this.length,M=0;else if(isFinite(M))M=M>>>0,isFinite(z)?(z=z>>>0,de===void 0&&(de="utf8")):(de=z,z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ke=this.length-M;if((z===void 0||z>ke)&&(z=ke),j.length>0&&(z<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");let Ne=!1;for(;;)switch(de){case"hex":return O(this,j,M,z);case"utf8":case"utf-8":return P(this,j,M,z);case"ascii":case"latin1":case"binary":return U(this,j,M,z);case"base64":return Y(this,j,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,j,M,z);default:if(Ne)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),Ne=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(j,M,z){return M===0&&z===j.length?t.fromByteArray(j):t.fromByteArray(j.slice(M,z))}function ne(j,M,z){z=Math.min(j.length,z);const de=[];let ke=M;for(;ke<z;){const Ne=j[ke];let De=null,at=Ne>239?4:Ne>223?3:Ne>191?2:1;if(ke+at<=z){let yt,ht,Nt,Ht;switch(at){case 1:Ne<128&&(De=Ne);break;case 2:yt=j[ke+1],(yt&192)===128&&(Ht=(Ne&31)<<6|yt&63,Ht>127&&(De=Ht));break;case 3:yt=j[ke+1],ht=j[ke+2],(yt&192)===128&&(ht&192)===128&&(Ht=(Ne&15)<<12|(yt&63)<<6|ht&63,Ht>2047&&(Ht<55296||Ht>57343)&&(De=Ht));break;case 4:yt=j[ke+1],ht=j[ke+2],Nt=j[ke+3],(yt&192)===128&&(ht&192)===128&&(Nt&192)===128&&(Ht=(Ne&15)<<18|(yt&63)<<12|(ht&63)<<6|Nt&63,Ht>65535&&Ht<1114112&&(De=Ht))}}De===null?(De=65533,at=1):De>65535&&(De-=65536,de.push(De>>>10&1023|55296),De=56320|De&1023),de.push(De),ke+=at}return G(de)}const le=4096;function G(j){const M=j.length;if(M<=le)return String.fromCharCode.apply(String,j);let z="",de=0;for(;de<M;)z+=String.fromCharCode.apply(String,j.slice(de,de+=le));return z}function ce(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]&127);return de}function ee(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]);return de}function fe(j,M,z){const de=j.length;(!M||M<0)&&(M=0),(!z||z<0||z>de)&&(z=de);let ke="";for(let Ne=M;Ne<z;++Ne)ke+=He[j[Ne]];return ke}function oe(j,M,z){const de=j.slice(M,z);let ke="";for(let Ne=0;Ne<de.length-1;Ne+=2)ke+=String.fromCharCode(de[Ne]+de[Ne+1]*256);return ke}l.prototype.slice=function(j,M){const z=this.length;j=~~j,M=M===void 0?z:~~M,j<0?(j+=z,j<0&&(j=0)):j>z&&(j=z),M<0?(M+=z,M<0&&(M=0)):M>z&&(M=z),M<j&&(M=j);const de=this.subarray(j,M);return Object.setPrototypeOf(de,l.prototype),de};function F(j,M,z){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+M>z)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return de},l.prototype.readUintBE=l.prototype.readUIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j+--M],ke=1;for(;M>0&&(ke*=256);)de+=this[j+--M]*ke;return de},l.prototype.readUint8=l.prototype.readUInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]|this[j+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]<<8|this[j+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),(this[j]|this[j+1]<<8|this[j+2]<<16)+this[j+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]*16777216+(this[j+1]<<16|this[j+2]<<8|this[j+3])},l.prototype.readBigUInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24,ke=this[++j]+this[++j]*2**8+this[++j]*2**16+z*2**24;return BigInt(de)+(BigInt(ke)<<BigInt(32))}),l.prototype.readBigUInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M*2**24+this[++j]*2**16+this[++j]*2**8+this[++j],ke=this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z;return(BigInt(de)<<BigInt(32))+BigInt(ke)}),l.prototype.readIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return ke*=128,de>=ke&&(de-=Math.pow(2,8*M)),de},l.prototype.readIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=M,ke=1,Ne=this[j+--de];for(;de>0&&(ke*=256);)Ne+=this[j+--de]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*M)),Ne},l.prototype.readInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]&128?(255-this[j]+1)*-1:this[j]},l.prototype.readInt16LE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j]|this[j+1]<<8;return z&32768?z|4294901760:z},l.prototype.readInt16BE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j+1]|this[j]<<8;return z&32768?z|4294901760:z},l.prototype.readInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]|this[j+1]<<8|this[j+2]<<16|this[j+3]<<24},l.prototype.readInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]<<24|this[j+1]<<16|this[j+2]<<8|this[j+3]},l.prototype.readBigInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=this[j+4]+this[j+5]*2**8+this[j+6]*2**16+(z<<24);return(BigInt(de)<<BigInt(32))+BigInt(M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24)}),l.prototype.readBigInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=(M<<24)+this[++j]*2**16+this[++j]*2**8+this[++j];return(BigInt(de)<<BigInt(32))+BigInt(this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z)}),l.prototype.readFloatLE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!0,23,4)},l.prototype.readFloatBE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!1,23,4)},l.prototype.readDoubleLE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!0,52,8)},l.prototype.readDoubleBE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!1,52,8)};function ie(j,M,z,de,ke,Ne){if(!l.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ke||M<Ne)throw new RangeError('"value" argument is out of bounds');if(z+de>j.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=1,Ne=0;for(this[M]=j&255;++Ne<z&&(ke*=256);)this[M+Ne]=j/ke&255;return M+z},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=z-1,Ne=1;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)this[M+ke]=j/Ne&255;return M+z},l.prototype.writeUint8=l.prototype.writeUInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,255,0),this[M]=j&255,M+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M+3]=j>>>24,this[M+2]=j>>>16,this[M+1]=j>>>8,this[M]=j&255,M+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4};function W(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,z}function V(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z+7]=Ne,Ne=Ne>>8,j[z+6]=Ne,Ne=Ne>>8,j[z+5]=Ne,Ne=Ne>>8,j[z+4]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z+3]=De,De=De>>8,j[z+2]=De,De=De>>8,j[z+1]=De,De=De>>8,j[z]=De,z+8}l.prototype.writeBigUInt64LE=ot(function(j,M=0){return W(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ot(function(j,M=0){return V(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=0,Ne=1,De=0;for(this[M]=j&255;++ke<z&&(Ne*=256);)j<0&&De===0&&this[M+ke-1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=z-1,Ne=1,De=0;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)j<0&&De===0&&this[M+ke+1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,127,-128),j<0&&(j=255+j+1),this[M]=j&255,M+1},l.prototype.writeInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),this[M]=j&255,this[M+1]=j>>>8,this[M+2]=j>>>16,this[M+3]=j>>>24,M+4},l.prototype.writeInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),j<0&&(j=4294967295+j+1),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4},l.prototype.writeBigInt64LE=ot(function(j,M=0){return W(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ot(function(j,M=0){return V(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function pe(j,M,z,de,ke,Ne){if(z+de>j.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function K(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,4),r.write(j,M,z,de,23,4),z+4}l.prototype.writeFloatLE=function(j,M,z){return K(this,j,M,!0,z)},l.prototype.writeFloatBE=function(j,M,z){return K(this,j,M,!1,z)};function se(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,8),r.write(j,M,z,de,52,8),z+8}l.prototype.writeDoubleLE=function(j,M,z){return se(this,j,M,!0,z)},l.prototype.writeDoubleBE=function(j,M,z){return se(this,j,M,!1,z)},l.prototype.copy=function(j,M,z,de){if(!l.isBuffer(j))throw new TypeError("argument should be a Buffer");if(z||(z=0),!de&&de!==0&&(de=this.length),M>=j.length&&(M=j.length),M||(M=0),de>0&&de<z&&(de=z),de===z||j.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(z<0||z>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),j.length-M<de-z&&(de=j.length-M+z);const ke=de-z;return this===j&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(M,z,de):Uint8Array.prototype.set.call(j,this.subarray(z,de),M),ke},l.prototype.fill=function(j,M,z,de){if(typeof j=="string"){if(typeof M=="string"?(de=M,M=0,z=this.length):typeof z=="string"&&(de=z,z=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(j.length===1){const Ne=j.charCodeAt(0);(de==="utf8"&&Ne<128||de==="latin1")&&(j=Ne)}}else typeof j=="number"?j=j&255:typeof j=="boolean"&&(j=Number(j));if(M<0||this.length<M||this.length<z)throw new RangeError("Out of range index");if(z<=M)return this;M=M>>>0,z=z===void 0?this.length:z>>>0,j||(j=0);let ke;if(typeof j=="number")for(ke=M;ke<z;++ke)this[ke]=j;else{const Ne=l.isBuffer(j)?j:l.from(j,de),De=Ne.length;if(De===0)throw new TypeError('The value "'+j+'" is invalid for argument "value"');for(ke=0;ke<z-M;++ke)this[ke+M]=Ne[ke%De]}return this};const X={};function te(j,M,z){X[j]=class extends z{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,delete this.name}get code(){return j}set code(de){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:de,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}te("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),te("ERR_INVALID_ARG_TYPE",function(j,M){return`The "${j}" argument must be of type number. Received type ${typeof M}`},TypeError),te("ERR_OUT_OF_RANGE",function(j,M,z){let de=`The value of "${j}" is out of range.`,ke=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ke=_e(String(z)):typeof z=="bigint"&&(ke=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ke=_e(ke)),ke+="n"),de+=` It must be ${M}. Received ${ke}`,de},RangeError);function _e(j){let M="",z=j.length;const de=j[0]==="-"?1:0;for(;z>=de+4;z-=3)M=`_${j.slice(z-3,z)}${M}`;return`${j.slice(0,z)}${M}`}function S(j,M,z){B(M,"offset"),(j[M]===void 0||j[M+z]===void 0)&&re(M,j.length-(z+1))}function N(j,M,z,de,ke,Ne){if(j>z||j<M){const De=typeof M=="bigint"?"n":"";let at;throw M===0||M===BigInt(0)?at=`>= 0${De} and < 2${De} ** ${(Ne+1)*8}${De}`:at=`>= -(2${De} ** ${(Ne+1)*8-1}${De}) and < 2 ** ${(Ne+1)*8-1}${De}`,new X.ERR_OUT_OF_RANGE("value",at,j)}S(de,ke,Ne)}function B(j,M){if(typeof j!="number")throw new X.ERR_INVALID_ARG_TYPE(M,"number",j)}function re(j,M,z){throw Math.floor(j)!==j?(B(j,z),new X.ERR_OUT_OF_RANGE("offset","an integer",j)):M<0?new X.ERR_BUFFER_OUT_OF_BOUNDS:new X.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,j)}const ye=/[^+/0-9A-Za-z-_]/g;function ue(j){if(j=j.split("=")[0],j=j.trim().replace(ye,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function me(j,M){M=M||1/0;let z;const de=j.length;let ke=null;const Ne=[];for(let De=0;De<de;++De){if(z=j.charCodeAt(De),z>55295&&z<57344){if(!ke){if(z>56319){(M-=3)>-1&&Ne.push(239,191,189);continue}else if(De+1===de){(M-=3)>-1&&Ne.push(239,191,189);continue}ke=z;continue}if(z<56320){(M-=3)>-1&&Ne.push(239,191,189),ke=z;continue}z=(ke-55296<<10|z-56320)+65536}else ke&&(M-=3)>-1&&Ne.push(239,191,189);if(ke=null,z<128){if((M-=1)<0)break;Ne.push(z)}else if(z<2048){if((M-=2)<0)break;Ne.push(z>>6|192,z&63|128)}else if(z<65536){if((M-=3)<0)break;Ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((M-=4)<0)break;Ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return Ne}function je(j){const M=[];for(let z=0;z<j.length;++z)M.push(j.charCodeAt(z)&255);return M}function he(j,M){let z,de,ke;const Ne=[];for(let De=0;De<j.length&&!((M-=2)<0);++De)z=j.charCodeAt(De),de=z>>8,ke=z%256,Ne.push(ke),Ne.push(de);return Ne}function Ye(j){return t.toByteArray(ue(j))}function Ke(j,M,z,de){let ke;for(ke=0;ke<de&&!(ke+z>=M.length||ke>=j.length);++ke)M[ke+z]=j[ke];return ke}function Ge(j,M){return j instanceof M||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===M.name}function Je(j){return j!==j}const He=(function(){const j="0123456789abcdef",M=new Array(256);for(let z=0;z<16;++z){const de=z*16;for(let ke=0;ke<16;++ke)M[de+ke]=j[z]+j[ke]}return M})();function ot(j){return typeof BigInt>"u"?ur:j}function ur(){throw new Error("BigInt not supported")}})(iq)),iq}const pq=Sa(Kz);var i3,uq;function pMe(){if(uq)return i3;uq=1;function e(y,x){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);x&&(w=w.filter(function(_){return Object.getOwnPropertyDescriptor(y,_).enumerable})),k.push.apply(k,w)}return k}function t(y){for(var x=1;x<arguments.length;x++){var k=arguments[x]!=null?arguments[x]:{};x%2?e(Object(k),!0).forEach(function(w){r(y,w,k[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):e(Object(k)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(k,w))})}return y}function r(y,x,k){return x=i(x),x in y?Object.defineProperty(y,x,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[x]=k,y}function n(y,x){if(!(y instanceof x))throw new TypeError("Cannot call a class as a function")}function o(y,x){for(var k=0;k<x.length;k++){var w=x[k];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,i(w.key),w)}}function a(y,x,k){return x&&o(y.prototype,x),Object.defineProperty(y,"prototype",{writable:!1}),y}function i(y){var x=l(y,"string");return typeof x=="symbol"?x:String(x)}function l(y,x){if(typeof y!="object"||y===null)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var w=k.call(y,x);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(y)}var p=uh(),u=p.Buffer,h=pq,f=h.inspect,b=f&&f.custom||"inspect";function v(y,x,k){u.prototype.copy.call(y,x,k)}return i3=(function(){function y(){n(this,y),this.head=null,this.tail=null,this.length=0}return a(y,[{key:"push",value:function(x){var k={data:x,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(x){var k={data:x,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var k=this.head,w=""+k.data;k=k.next;)w+=x+k.data;return w}},{key:"concat",value:function(x){if(this.length===0)return u.alloc(0);for(var k=u.allocUnsafe(x>>>0),w=this.head,_=0;w;)v(w.data,k,_),_+=w.data.length,w=w.next;return k}},{key:"consume",value:function(x,k){var w;return x<this.head.data.length?(w=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?w=this.shift():w=k?this._getString(x):this._getBuffer(x),w}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var k=this.head,w=1,_=k.data;for(x-=_.length;k=k.next;){var A=k.data,R=x>A.length?A.length:x;if(R===A.length?_+=A:_+=A.slice(0,x),x-=R,x===0){R===A.length?(++w,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=A.slice(R));break}++w}return this.length-=w,_}},{key:"_getBuffer",value:function(x){var k=u.allocUnsafe(x),w=this.head,_=1;for(w.data.copy(k),x-=w.data.length;w=w.next;){var A=w.data,R=x>A.length?A.length:x;if(A.copy(k,k.length-x,0,R),x-=R,x===0){R===A.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=A.slice(R));break}++_}return this.length-=_,k}},{key:b,value:function(x,k){return f(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),y})(),i3}var s3,dq;function hq(){if(dq)return s3;dq=1;function e(i,l){var p=this,u=this._readableState&&this._readableState.destroyed,h=this._writableState&&this._writableState.destroyed;return u||h?(l?l(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,i)):process.nextTick(o,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(f){!l&&f?p._writableState?p._writableState.errorEmitted?process.nextTick(r,p):(p._writableState.errorEmitted=!0,process.nextTick(t,p,f)):process.nextTick(t,p,f):l?(process.nextTick(r,p),l(f)):process.nextTick(r,p)}),this)}function t(i,l){o(i,l),r(i)}function r(i){i._writableState&&!i._writableState.emitClose||i._readableState&&!i._readableState.emitClose||i.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(i,l){i.emit("error",l)}function a(i,l){var p=i._readableState,u=i._writableState;p&&p.autoDestroy||u&&u.autoDestroy?i.destroy(l):i.emit("error",l)}return s3={destroy:e,undestroy:n,errorOrDestroy:a},s3}var l3={},fq;function Ap(){if(fq)return l3;fq=1;function e(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,l.__proto__=p}var t={};function r(l,p,u){u||(u=Error);function h(b,v,y){return typeof p=="string"?p:p(b,v,y)}var f=(function(b){e(v,b);function v(y,x,k){return b.call(this,h(y,x,k))||this}return v})(u);f.prototype.name=u.name,f.prototype.code=l,t[l]=f}function n(l,p){if(Array.isArray(l)){var u=l.length;return l=l.map(function(h){return String(h)}),u>2?"one of ".concat(p," ").concat(l.slice(0,u-1).join(", "),", or ")+l[u-1]:u===2?"one of ".concat(p," ").concat(l[0]," or ").concat(l[1]):"of ".concat(p," ").concat(l[0])}else return"of ".concat(p," ").concat(String(l))}function o(l,p,u){return l.substr(0,p.length)===p}function a(l,p,u){return(u===void 0||u>l.length)&&(u=l.length),l.substring(u-p.length,u)===p}function i(l,p,u){return typeof u!="number"&&(u=0),u+p.length>l.length?!1:l.indexOf(p,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(l,p){return'The value "'+p+'" is invalid for option "'+l+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(l,p,u){var h;typeof p=="string"&&o(p,"not ")?(h="must not be",p=p.replace(/^not /,"")):h="must be";var f;if(a(l," argument"))f="The ".concat(l," ").concat(h," ").concat(n(p,"type"));else{var b=i(l,".")?"property":"argument";f='The "'.concat(l,'" ').concat(b," ").concat(h," ").concat(n(p,"type"))}return f+=". Received type ".concat(typeof u),f},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),l3.codes=t,l3}var c3,mq;function gq(){if(mq)return c3;mq=1;var e=Ap().codes.ERR_INVALID_OPT_VALUE;function t(n,o,a){return n.highWaterMark!=null?n.highWaterMark:o?n[a]:null}function r(n,o,a,i){var l=t(o,i,a);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var p=i?a:"highWaterMark";throw new e(p,l)}return Math.floor(l)}return n.objectMode?16:16*1024}return c3={getHighWaterMark:r},c3}var p3,bq;function uMe(){if(bq)return p3;bq=1,p3=e;function e(r,n){if(t("noDeprecation"))return r;var o=!1;function a(){if(!o){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),o=!0}return r.apply(this,arguments)}return a}function t(r){try{if(!globalThis.localStorage)return!1}catch{return!1}var n=globalThis.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return p3}var u3,vq;function yq(){if(vq)return u3;vq=1,u3=O;function e(K){var se=this;this.next=null,this.entry=null,this.finish=function(){pe(se,K)}}var t;O.WritableState=L;var r={deprecate:uMe()},n=aq(),o=uh().Buffer,a=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(K){return o.from(K)}function l(K){return o.isBuffer(K)||K instanceof a}var p=hq(),u=gq(),h=u.getHighWaterMark,f=Ap().codes,b=f.ERR_INVALID_ARG_TYPE,v=f.ERR_METHOD_NOT_IMPLEMENTED,y=f.ERR_MULTIPLE_CALLBACK,x=f.ERR_STREAM_CANNOT_PIPE,k=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,A=f.ERR_UNKNOWN_ENCODING,R=p.errorOrDestroy;function E(){}function L(K,se,X){t=t||Ep(),K=K||{},typeof X!="boolean"&&(X=se instanceof t),this.objectMode=!!K.objectMode,X&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=h(this,K,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var te=K.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){G(se,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}L.prototype.getBuffer=function(){for(var K=this.bufferedRequest,se=[];K;)se.push(K),K=K.next;return se},(function(){try{Object.defineProperty(L.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var I;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(K){return I.call(this,K)?!0:this!==O?!1:K&&K._writableState instanceof L}})):I=function(K){return K instanceof this};function O(K){t=t||Ep();var se=this instanceof t;if(!se&&!I.call(O,this))return new O(K);this._writableState=new L(K,this,se),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),n.call(this)}O.prototype.pipe=function(){R(this,new x)};function P(K,se){var X=new _;R(K,X),process.nextTick(se,X)}function U(K,se,X,te){var _e;return X===null?_e=new w:typeof X!="string"&&!se.objectMode&&(_e=new b("chunk",["string","Buffer"],X)),_e?(R(K,_e),process.nextTick(te,_e),!1):!0}O.prototype.write=function(K,se,X){var te=this._writableState,_e=!1,S=!te.objectMode&&l(K);return S&&!o.isBuffer(K)&&(K=i(K)),typeof se=="function"&&(X=se,se=null),S?se="buffer":se||(se=te.defaultEncoding),typeof X!="function"&&(X=E),te.ending?P(this,X):(S||U(this,te,K,X))&&(te.pendingcb++,_e=q(this,te,S,K,se,X)),_e},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var K=this._writableState;K.corked&&(K.corked--,!K.writing&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&fe(this,K))},O.prototype.setDefaultEncoding=function(K){if(typeof K=="string"&&(K=K.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((K+"").toLowerCase())>-1))throw new A(K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Y(K,se,X){return!K.objectMode&&K.decodeStrings!==!1&&typeof se=="string"&&(se=o.from(se,X)),se}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q(K,se,X,te,_e,S){if(!X){var N=Y(se,te,_e);te!==N&&(X=!0,_e="buffer",te=N)}var B=se.objectMode?1:te.length;se.length+=B;var re=se.length<se.highWaterMark;if(re||(se.needDrain=!0),se.writing||se.corked){var ye=se.lastBufferedRequest;se.lastBufferedRequest={chunk:te,encoding:_e,isBuf:X,callback:S,next:null},ye?ye.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else Q(K,se,!1,B,te,_e,S);return re}function Q(K,se,X,te,_e,S,N){se.writelen=te,se.writecb=N,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new k("write")):X?K._writev(_e,se.onwrite):K._write(_e,S,se.onwrite),se.sync=!1}function ne(K,se,X,te,_e){--se.pendingcb,X?(process.nextTick(_e,te),process.nextTick(W,K,se),K._writableState.errorEmitted=!0,R(K,te)):(_e(te),K._writableState.errorEmitted=!0,R(K,te),W(K,se))}function le(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0}function G(K,se){var X=K._writableState,te=X.sync,_e=X.writecb;if(typeof _e!="function")throw new y;if(le(X),se)ne(K,X,te,se,_e);else{var S=oe(X)||K.destroyed;!S&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&fe(K,X),te?process.nextTick(ce,K,X,S,_e):ce(K,X,S,_e)}}function ce(K,se,X,te){X||ee(K,se),se.pendingcb--,te(),W(K,se)}function ee(K,se){se.length===0&&se.needDrain&&(se.needDrain=!1,K.emit("drain"))}function fe(K,se){se.bufferProcessing=!0;var X=se.bufferedRequest;if(K._writev&&X&&X.next){var te=se.bufferedRequestCount,_e=new Array(te),S=se.corkedRequestsFree;S.entry=X;for(var N=0,B=!0;X;)_e[N]=X,X.isBuf||(B=!1),X=X.next,N+=1;_e.allBuffers=B,Q(K,se,!0,se.length,_e,"",S.finish),se.pendingcb++,se.lastBufferedRequest=null,S.next?(se.corkedRequestsFree=S.next,S.next=null):se.corkedRequestsFree=new e(se),se.bufferedRequestCount=0}else{for(;X;){var re=X.chunk,ye=X.encoding,ue=X.callback,me=se.objectMode?1:re.length;if(Q(K,se,!1,me,re,ye,ue),X=X.next,se.bufferedRequestCount--,se.writing)break}X===null&&(se.lastBufferedRequest=null)}se.bufferedRequest=X,se.bufferProcessing=!1}O.prototype._write=function(K,se,X){X(new v("_write()"))},O.prototype._writev=null,O.prototype.end=function(K,se,X){var te=this._writableState;return typeof K=="function"?(X=K,K=null,se=null):typeof se=="function"&&(X=se,se=null),K!=null&&this.write(K,se),te.corked&&(te.corked=1,this.uncork()),te.ending||V(this,te,X),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}function F(K,se){K._final(function(X){se.pendingcb--,X&&R(K,X),se.prefinished=!0,K.emit("prefinish"),W(K,se)})}function ie(K,se){!se.prefinished&&!se.finalCalled&&(typeof K._final=="function"&&!se.destroyed?(se.pendingcb++,se.finalCalled=!0,process.nextTick(F,K,se)):(se.prefinished=!0,K.emit("prefinish")))}function W(K,se){var X=oe(se);if(X&&(ie(K,se),se.pendingcb===0&&(se.finished=!0,K.emit("finish"),se.autoDestroy))){var te=K._readableState;(!te||te.autoDestroy&&te.endEmitted)&&K.destroy()}return X}function V(K,se,X){se.ending=!0,W(K,se),X&&(se.finished?process.nextTick(X):K.once("finish",X)),se.ended=!0,K.writable=!1}function pe(K,se,X){var te=K.entry;for(K.entry=null;te;){var _e=te.callback;se.pendingcb--,_e(X),te=te.next}se.corkedRequestsFree.next=K}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(K){this._writableState&&(this._writableState.destroyed=K)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(K,se){se(K)},u3}var d3,xq;function Ep(){if(xq)return d3;xq=1;var e=Object.keys||function(u){var h=[];for(var f in u)h.push(f);return h};d3=i;for(var t=Oq(),r=yq(),n=e(r.prototype),o=0;o<n.length;o++){var a=n[o];i.prototype[a]||(i.prototype[a]=r.prototype[a])}function i(u){if(!(this instanceof i))return new i(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(i.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(i.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||process.nextTick(p,this)}function p(u){u.end()}return Object.defineProperty(i.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),d3}var h3={},f3={exports:{}},wq;function dMe(){return wq||(wq=1,(function(e,t){var r=uh(),n=r.Buffer;function o(i,l){for(var p in i)l[p]=i[p]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a);function a(i,l,p){return n(i,l,p)}a.prototype=Object.create(n.prototype),o(n,a),a.from=function(i,l,p){if(typeof i=="number")throw new TypeError("Argument must not be a number");return n(i,l,p)},a.alloc=function(i,l,p){if(typeof i!="number")throw new TypeError("Argument must be a number");var u=n(i);return l!==void 0?typeof p=="string"?u.fill(l,p):u.fill(l):u.fill(0),u},a.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n(i)},a.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(i)}})(f3,f3.exports)),f3.exports}var Sq;function Cq(){if(Sq)return h3;Sq=1;var e=dMe().Buffer,t=e.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(w){if(!w)return"utf8";for(var _;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(_)return;w=(""+w).toLowerCase(),_=!0}}function n(w){var _=r(w);if(typeof _!="string"&&(e.isEncoding===t||!t(w)))throw new Error("Unknown encoding: "+w);return _||w}h3.StringDecoder=o;function o(w){this.encoding=n(w);var _;switch(this.encoding){case"utf16le":this.text=f,this.end=b,_=4;break;case"utf8":this.fillLast=p,_=4;break;case"base64":this.text=v,this.end=y,_=3;break;default:this.write=x,this.end=k;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(w){if(w.length===0)return"";var _,A;if(this.lastNeed){if(_=this.fillLast(w),_===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<w.length?_?_+this.text(w,A):this.text(w,A):_||""},o.prototype.end=h,o.prototype.text=u,o.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function a(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}function i(w,_,A){var R=_.length-1;if(R<A)return 0;var E=a(_[R]);return E>=0?(E>0&&(w.lastNeed=E-1),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(w.lastNeed=E-2),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(E===2?E=0:w.lastNeed=E-3),E):0))}function l(w,_,A){if((_[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}function p(w){var _=this.lastTotal-this.lastNeed,A=l(this,w);if(A!==void 0)return A;if(this.lastNeed<=w.length)return w.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,_,0,w.length),this.lastNeed-=w.length}function u(w,_){var A=i(this,w,_);if(!this.lastNeed)return w.toString("utf8",_);this.lastTotal=A;var R=w.length-(A-this.lastNeed);return w.copy(this.lastChar,0,R),w.toString("utf8",_,R)}function h(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+"\uFFFD":_}function f(w,_){if((w.length-_)%2===0){var A=w.toString("utf16le",_);if(A){var R=A.charCodeAt(A.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",_,w.length-1)}function b(w){var _=w&&w.length?this.write(w):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,A)}return _}function v(w,_){var A=(w.length-_)%3;return A===0?w.toString("base64",_):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",_,w.length-A))}function y(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function x(w){return w.toString(this.encoding)}function k(w){return w&&w.length?this.write(w):""}return h3}var m3,kq;function g3(){if(kq)return m3;kq=1;var e=Ap().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var i=!1;return function(){if(!i){i=!0;for(var l=arguments.length,p=new Array(l),u=0;u<l;u++)p[u]=arguments[u];a.apply(this,p)}}}function r(){}function n(a){return a.setHeader&&typeof a.abort=="function"}function o(a,i,l){if(typeof i=="function")return o(a,null,i);i||(i={}),l=t(l||r);var p=i.readable||i.readable!==!1&&a.readable,u=i.writable||i.writable!==!1&&a.writable,h=function(){a.writable||b()},f=a._writableState&&a._writableState.finished,b=function(){u=!1,f=!0,p||l.call(a)},v=a._readableState&&a._readableState.endEmitted,y=function(){p=!1,v=!0,u||l.call(a)},x=function(_){l.call(a,_)},k=function(){var _;if(p&&!v)return(!a._readableState||!a._readableState.ended)&&(_=new e),l.call(a,_);if(u&&!f)return(!a._writableState||!a._writableState.ended)&&(_=new e),l.call(a,_)},w=function(){a.req.on("finish",b)};return n(a)?(a.on("complete",b),a.on("abort",k),a.req?w():a.on("request",w)):u&&!a._writableState&&(a.on("end",h),a.on("close",h)),a.on("end",y),a.on("finish",b),i.error!==!1&&a.on("error",x),a.on("close",k),function(){a.removeListener("complete",b),a.removeListener("abort",k),a.removeListener("request",w),a.req&&a.req.removeListener("finish",b),a.removeListener("end",h),a.removeListener("close",h),a.removeListener("finish",b),a.removeListener("end",y),a.removeListener("error",x),a.removeListener("close",k)}}return m3=o,m3}var b3,_q;function hMe(){if(_q)return b3;_q=1;var e;function t(A,R,E){return R=r(R),R in A?Object.defineProperty(A,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[R]=E,A}function r(A){var R=n(A,"string");return typeof R=="symbol"?R:String(R)}function n(A,R){if(typeof A!="object"||A===null)return A;var E=A[Symbol.toPrimitive];if(E!==void 0){var L=E.call(A,R);if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}var o=g3(),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),p=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function b(A,R){return{value:A,done:R}}function v(A){var R=A[a];if(R!==null){var E=A[f].read();E!==null&&(A[u]=null,A[a]=null,A[i]=null,R(b(E,!1)))}}function y(A){process.nextTick(v,A)}function x(A,R){return function(E,L){A.then(function(){if(R[p]){E(b(void 0,!0));return}R[h](E,L)},L)}}var k=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var A=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[p])return Promise.resolve(b(void 0,!0));if(this[f].destroyed)return new Promise(function(O,P){process.nextTick(function(){A[l]?P(A[l]):O(b(void 0,!0))})});var E=this[u],L;if(E)L=new Promise(x(E,this));else{var I=this[f].read();if(I!==null)return Promise.resolve(b(I,!1));L=new Promise(this[h])}return this[u]=L,L}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(R,E){A[f].destroy(null,function(L){if(L){E(L);return}R(b(void 0,!0))})})}),e),k),_=function(A){var R,E=Object.create(w,(R={},t(R,f,{value:A,writable:!0}),t(R,a,{value:null,writable:!0}),t(R,i,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,p,{value:A._readableState.endEmitted,writable:!0}),t(R,h,{value:function(L,I){var O=E[f].read();O?(E[u]=null,E[a]=null,E[i]=null,L(b(O,!1))):(E[a]=L,E[i]=I)},writable:!0}),R));return E[u]=null,o(A,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=E[i];I!==null&&(E[u]=null,E[a]=null,E[i]=null,I(L)),E[l]=L;return}var O=E[a];O!==null&&(E[u]=null,E[a]=null,E[i]=null,O(b(void 0,!0))),E[p]=!0}),A.on("readable",y.bind(null,E)),E};return b3=_,b3}var Aq,Eq;function fMe(){return Eq||(Eq=1,Aq=function(){throw new Error("Readable.from is not available in the browser")}),Aq}var v3,Tq;function Oq(){if(Tq)return v3;Tq=1,v3=P;var e;P.ReadableState=O;var t=function(S,N){return S.listeners(N).length},r=aq(),n=uh().Buffer,o=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(S){return n.from(S)}function i(S){return n.isBuffer(S)||S instanceof o}var l=pq,p;l&&l.debuglog?p=l.debuglog("stream"):p=function(){};var u=pMe(),h=hq(),f=gq(),b=f.getHighWaterMark,v=Ap().codes,y=v.ERR_INVALID_ARG_TYPE,x=v.ERR_STREAM_PUSH_AFTER_EOF,k=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,A,R,E=h.errorOrDestroy,L=["error","close","destroy","pause","resume"];function I(S,N,B){if(typeof S.prependListener=="function")return S.prependListener(N,B);!S._events||!S._events[N]?S.on(N,B):Array.isArray(S._events[N])?S._events[N].unshift(B):S._events[N]=[B,S._events[N]]}function O(S,N,B){e=e||Ep(),S=S||{},typeof B!="boolean"&&(B=N instanceof e),this.objectMode=!!S.objectMode,B&&(this.objectMode=this.objectMode||!!S.readableObjectMode),this.highWaterMark=b(this,S,"readableHighWaterMark",B),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(_||(_=Cq().StringDecoder),this.decoder=new _(S.encoding),this.encoding=S.encoding)}function P(S){if(e=e||Ep(),!(this instanceof P))return new P(S);var N=this instanceof e;this._readableState=new O(S,this,N),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),r.call(this)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),P.prototype.destroy=h.destroy,P.prototype._undestroy=h.undestroy,P.prototype._destroy=function(S,N){N(S)},P.prototype.push=function(S,N){var B=this._readableState,re;return B.objectMode?re=!0:typeof S=="string"&&(N=N||B.defaultEncoding,N!==B.encoding&&(S=n.from(S,N),N=""),re=!0),U(this,S,N,!1,re)},P.prototype.unshift=function(S){return U(this,S,null,!0,!1)};function U(S,N,B,re,ye){p("readableAddChunk",N);var ue=S._readableState;if(N===null)ue.reading=!1,G(S,ue);else{var me;if(ye||(me=q(ue,N)),me)E(S,me);else if(ue.objectMode||N&&N.length>0)if(typeof N!="string"&&!ue.objectMode&&Object.getPrototypeOf(N)!==n.prototype&&(N=a(N)),re)ue.endEmitted?E(S,new w):Y(S,ue,N,!0);else if(ue.ended)E(S,new x);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!B?(N=ue.decoder.write(N),ue.objectMode||N.length!==0?Y(S,ue,N,!1):fe(S,ue)):Y(S,ue,N,!1)}else re||(ue.reading=!1,fe(S,ue))}return!ue.ended&&(ue.length<ue.highWaterMark||ue.length===0)}function Y(S,N,B,re){N.flowing&&N.length===0&&!N.sync?(N.awaitDrain=0,S.emit("data",B)):(N.length+=N.objectMode?1:B.length,re?N.buffer.unshift(B):N.buffer.push(B),N.needReadable&&ce(S)),fe(S,N)}function q(S,N){var B;return!i(N)&&typeof N!="string"&&N!==void 0&&!S.objectMode&&(B=new y("chunk",["string","Buffer","Uint8Array"],N)),B}P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(S){_||(_=Cq().StringDecoder);var N=new _(S);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;for(var B=this._readableState.buffer.head,re="";B!==null;)re+=N.write(B.data),B=B.next;return this._readableState.buffer.clear(),re!==""&&this._readableState.buffer.push(re),this._readableState.length=re.length,this};var Q=1073741824;function ne(S){return S>=Q?S=Q:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function le(S,N){return S<=0||N.length===0&&N.ended?0:N.objectMode?1:S!==S?N.flowing&&N.length?N.buffer.head.data.length:N.length:(S>N.highWaterMark&&(N.highWaterMark=ne(S)),S<=N.length?S:N.ended?N.length:(N.needReadable=!0,0))}P.prototype.read=function(S){p("read",S),S=parseInt(S,10);var N=this._readableState,B=S;if(S!==0&&(N.emittedReadable=!1),S===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return p("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?X(this):ce(this),null;if(S=le(S,N),S===0&&N.ended)return N.length===0&&X(this),null;var re=N.needReadable;p("need readable",re),(N.length===0||N.length-S<N.highWaterMark)&&(re=!0,p("length less than watermark",re)),N.ended||N.reading?(re=!1,p("reading or ended",re)):re&&(p("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(S=le(B,N)));var ye;return S>0?ye=se(S,N):ye=null,ye===null?(N.needReadable=N.length<=N.highWaterMark,S=0):(N.length-=S,N.awaitDrain=0),N.length===0&&(N.ended||(N.needReadable=!0),B!==S&&N.ended&&X(this)),ye!==null&&this.emit("data",ye),ye};function G(S,N){if(p("onEofChunk"),!N.ended){if(N.decoder){var B=N.decoder.end();B&&B.length&&(N.buffer.push(B),N.length+=N.objectMode?1:B.length)}N.ended=!0,N.sync?ce(S):(N.needReadable=!1,N.emittedReadable||(N.emittedReadable=!0,ee(S)))}}function ce(S){var N=S._readableState;p("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(p("emitReadable",N.flowing),N.emittedReadable=!0,process.nextTick(ee,S))}function ee(S){var N=S._readableState;p("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&(N.length||N.ended)&&(S.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,K(S)}function fe(S,N){N.readingMore||(N.readingMore=!0,process.nextTick(oe,S,N))}function oe(S,N){for(;!N.reading&&!N.ended&&(N.length<N.highWaterMark||N.flowing&&N.length===0);){var B=N.length;if(p("maybeReadMore read 0"),S.read(0),B===N.length)break}N.readingMore=!1}P.prototype._read=function(S){E(this,new k("_read()"))},P.prototype.pipe=function(S,N){var B=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=S;break;case 1:re.pipes=[re.pipes,S];break;default:re.pipes.push(S);break}re.pipesCount+=1,p("pipe count=%d opts=%j",re.pipesCount,N);var ye=(!N||N.end!==!1)&&S!==null&&S!==process.stderr,ue=ye?je:ur;re.endEmitted?process.nextTick(ue):B.once("end",ue),S.on("unpipe",me);function me(j,M){p("onunpipe"),j===B&&M&&M.hasUnpiped===!1&&(M.hasUnpiped=!0,Ke())}function je(){p("onend"),S.end()}var he=F(B);S.on("drain",he);var Ye=!1;function Ke(){p("cleanup"),S.removeListener("close",He),S.removeListener("finish",ot),S.removeListener("drain",he),S.removeListener("error",Je),S.removeListener("unpipe",me),B.removeListener("end",je),B.removeListener("end",ur),B.removeListener("data",Ge),Ye=!0,re.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&he()}B.on("data",Ge);function Ge(j){p("ondata");var M=S.write(j);p("dest.write",M),M===!1&&((re.pipesCount===1&&re.pipes===S||re.pipesCount>1&&_e(re.pipes,S)!==-1)&&!Ye&&(p("false write response, pause",re.awaitDrain),re.awaitDrain++),B.pause())}function Je(j){p("onerror",j),ur(),S.removeListener("error",Je),t(S,"error")===0&&E(S,j)}I(S,"error",Je);function He(){S.removeListener("finish",ot),ur()}S.once("close",He);function ot(){p("onfinish"),S.removeListener("close",He),ur()}S.once("finish",ot);function ur(){p("unpipe"),B.unpipe(S)}return S.emit("pipe",B),re.flowing||(p("pipe resume"),B.resume()),S};function F(S){return function(){var N=S._readableState;p("pipeOnDrain",N.awaitDrain),N.awaitDrain&&N.awaitDrain--,N.awaitDrain===0&&t(S,"data")&&(N.flowing=!0,K(S))}}P.prototype.unpipe=function(S){var N=this._readableState,B={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return S&&S!==N.pipes?this:(S||(S=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,S&&S.emit("unpipe",this,B),this);if(!S){var re=N.pipes,ye=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var ue=0;ue<ye;ue++)re[ue].emit("unpipe",this,{hasUnpiped:!1});return this}var me=_e(N.pipes,S);return me===-1?this:(N.pipes.splice(me,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),S.emit("unpipe",this,B),this)},P.prototype.on=function(S,N){var B=r.prototype.on.call(this,S,N),re=this._readableState;return S==="data"?(re.readableListening=this.listenerCount("readable")>0,re.flowing!==!1&&this.resume()):S==="readable"&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,p("on readable",re.length,re.reading),re.length?ce(this):re.reading||process.nextTick(W,this)),B},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(S,N){var B=r.prototype.removeListener.call(this,S,N);return S==="readable"&&process.nextTick(ie,this),B},P.prototype.removeAllListeners=function(S){var N=r.prototype.removeAllListeners.apply(this,arguments);return(S==="readable"||S===void 0)&&process.nextTick(ie,this),N};function ie(S){var N=S._readableState;N.readableListening=S.listenerCount("readable")>0,N.resumeScheduled&&!N.paused?N.flowing=!0:S.listenerCount("data")>0&&S.resume()}function W(S){p("readable nexttick read 0"),S.read(0)}P.prototype.resume=function(){var S=this._readableState;return S.flowing||(p("resume"),S.flowing=!S.readableListening,V(this,S)),S.paused=!1,this};function V(S,N){N.resumeScheduled||(N.resumeScheduled=!0,process.nextTick(pe,S,N))}function pe(S,N){p("resume",N.reading),N.reading||S.read(0),N.resumeScheduled=!1,S.emit("resume"),K(S),N.flowing&&!N.reading&&S.read(0)}P.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function K(S){var N=S._readableState;for(p("flow",N.flowing);N.flowing&&S.read()!==null;);}P.prototype.wrap=function(S){var N=this,B=this._readableState,re=!1;S.on("end",function(){if(p("wrapped end"),B.decoder&&!B.ended){var me=B.decoder.end();me&&me.length&&N.push(me)}N.push(null)}),S.on("data",function(me){if(p("wrapped data"),B.decoder&&(me=B.decoder.write(me)),!(B.objectMode&&me==null)&&!(!B.objectMode&&(!me||!me.length))){var je=N.push(me);je||(re=!0,S.pause())}});for(var ye in S)this[ye]===void 0&&typeof S[ye]=="function"&&(this[ye]=(function(me){return function(){return S[me].apply(S,arguments)}})(ye));for(var ue=0;ue<L.length;ue++)S.on(L[ue],this.emit.bind(this,L[ue]));return this._read=function(me){p("wrapped _read",me),re&&(re=!1,S.resume())},this},typeof Symbol=="function"&&(P.prototype[Symbol.asyncIterator]=function(){return A===void 0&&(A=hMe()),A(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(S){this._readableState&&(this._readableState.flowing=S)}}),P._fromList=se,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function se(S,N){if(N.length===0)return null;var B;return N.objectMode?B=N.buffer.shift():!S||S>=N.length?(N.decoder?B=N.buffer.join(""):N.buffer.length===1?B=N.buffer.first():B=N.buffer.concat(N.length),N.buffer.clear()):B=N.buffer.consume(S,N.decoder),B}function X(S){var N=S._readableState;p("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,process.nextTick(te,N,S))}function te(S,N){if(p("endReadableNT",S.endEmitted,S.length),!S.endEmitted&&S.length===0&&(S.endEmitted=!0,N.readable=!1,N.emit("end"),S.autoDestroy)){var B=N._writableState;(!B||B.autoDestroy&&B.finished)&&N.destroy()}}typeof Symbol=="function"&&(P.from=function(S,N){return R===void 0&&(R=fMe()),R(P,S,N)});function _e(S,N){for(var B=0,re=S.length;B<re;B++)if(S[B]===N)return B;return-1}return v3}var y3,Rq;function jq(){if(Rq)return y3;Rq=1,y3=l;var e=Ap().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Ep();function i(h,f){var b=this._transformState;b.transforming=!1;var v=b.writecb;if(v===null)return this.emit("error",new r);b.writechunk=null,b.writecb=null,f!=null&&this.push(f),v(h);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);a.call(this,h),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&&(typeof h.transform=="function"&&(this._transform=h.transform),typeof h.flush=="function"&&(this._flush=h.flush)),this.on("prefinish",p)}function p(){var h=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,b){u(h,f,b)}):u(this,null,null)}l.prototype.push=function(h,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,h,f)},l.prototype._transform=function(h,f,b){b(new t("_transform()"))},l.prototype._write=function(h,f,b){var v=this._transformState;if(v.writecb=b,v.writechunk=h,v.writeencoding=f,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},l.prototype._read=function(h){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},l.prototype._destroy=function(h,f){a.prototype._destroy.call(this,h,function(b){f(b)})};function u(h,f,b){if(f)return h.emit("error",f);if(b!=null&&h.push(b),h._writableState.length)throw new o;if(h._transformState.transforming)throw new n;return h.push(null)}return y3}var x3,Lq;function mMe(){if(Lq)return x3;Lq=1,x3=t;var e=jq();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,n,o){o(null,r)},x3}var w3,Nq;function gMe(){if(Nq)return w3;Nq=1;var e;function t(b){var v=!1;return function(){v||(v=!0,b.apply(void 0,arguments))}}var r=Ap().codes,n=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(b){if(b)throw b}function i(b){return b.setHeader&&typeof b.abort=="function"}function l(b,v,y,x){x=t(x);var k=!1;b.on("close",function(){k=!0}),e===void 0&&(e=g3()),e(b,{readable:v,writable:y},function(_){if(_)return x(_);k=!0,x()});var w=!1;return function(_){if(!k&&!w){if(w=!0,i(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();x(_||new o("pipe"))}}}function p(b){b()}function u(b,v){return b.pipe(v)}function h(b){return!b.length||typeof b[b.length-1]!="function"?a:b.pop()}function f(){for(var b=arguments.length,v=new Array(b),y=0;y<b;y++)v[y]=arguments[y];var x=h(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new n("streams");var k,w=v.map(function(_,A){var R=A<v.length-1,E=A>0;return l(_,R,E,function(L){k||(k=L),L&&w.forEach(p),!R&&(w.forEach(p),x(k))})});return v.reduce(u)}return w3=f,w3}var Iq;function Pq(){return Iq||(Iq=1,(function(e,t){t=e.exports=Oq(),t.Stream=t,t.Readable=t,t.Writable=yq(),t.Duplex=Ep(),t.Transform=jq(),t.PassThrough=mMe(),t.finished=g3(),t.pipeline=gMe()})(o3,o3.exports)),o3.exports}var Mq;function Dq(){if(Mq)return j1;Mq=1;var e=tq(),t=p2(),r=Pq(),n=j1.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=j1.IncomingMessage=function(a,i,l,p){var u=this;if(r.Readable.call(u),u._mode=l,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){process.nextTick(function(){u.emit("close")})}),l==="fetch"){let x=function(){f.read().then(function(k){if(!u._destroyed){if(p(k.done),k.done){u.push(null);return}u.push(Buffer.from(k.value)),x()}}).catch(function(k){p(!0),u._destroyed||u.emit("error",k)})};if(u._fetchResponse=i,u.url=i.url,u.statusCode=i.status,u.statusMessage=i.statusText,i.headers.forEach(function(k,w){u.headers[w.toLowerCase()]=k,u.rawHeaders.push(w,k)}),e.writableStream){var h=new WritableStream({write:function(k){return p(!1),new Promise(function(w,_){u._destroyed?_():u.push(Buffer.from(k))?w():u._resumeFetch=w})},close:function(){p(!0),u._destroyed||u.push(null)},abort:function(k){p(!0),u._destroyed||u.emit("error",k)}});try{i.body.pipeTo(h).catch(function(k){p(!0),u._destroyed||u.emit("error",k)});return}catch{}}var f=i.body.getReader();x()}else{u._xhr=a,u._pos=0,u.url=a.responseURL,u.statusCode=a.status,u.statusMessage=a.statusText;var b=a.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(x){var k=x.match(/^([^:]+):\s*(.*)/);if(k){var w=k[1].toLowerCase();w==="set-cookie"?(u.headers[w]===void 0&&(u.headers[w]=[]),u.headers[w].push(k[2])):u.headers[w]!==void 0?u.headers[w]+=", "+k[2]:u.headers[w]=k[2],u.rawHeaders.push(k[1],k[2])}}),u._charset="x-user-defined",!e.overrideMimeType){var v=u.rawHeaders["mime-type"];if(v){var y=v.match(/;\s*charset=([^;])(;|$)/);y&&(u._charset=y[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};return t(o,r.Readable),o.prototype._read=function(){var a=this,i=a._resumeFetch;i&&(a._resumeFetch=null,i())},o.prototype._onXHRProgress=function(a){var i=this,l=i._xhr,p=null;switch(i._mode){case"text":if(p=l.responseText,p.length>i._pos){var u=p.substr(i._pos);if(i._charset==="x-user-defined"){for(var h=Buffer.alloc(u.length),f=0;f<u.length;f++)h[f]=u.charCodeAt(f)&255;i.push(h)}else i.push(u,i._charset);i._pos=p.length}break;case"arraybuffer":if(l.readyState!==n.DONE||!l.response)break;p=l.response,i.push(Buffer.from(new Uint8Array(p)));break;case"moz-chunked-arraybuffer":if(p=l.response,l.readyState!==n.LOADING||!p)break;i.push(Buffer.from(new Uint8Array(p)));break;case"ms-stream":if(p=l.response,l.readyState!==n.LOADING)break;var b=new globalThis.MSStreamReader;b.onprogress=function(){b.result.byteLength>i._pos&&(i.push(Buffer.from(new Uint8Array(b.result.slice(i._pos)))),i._pos=b.result.byteLength)},b.onload=function(){a(!0),i.push(null)},b.readAsArrayBuffer(p);break}i._xhr.readyState===n.DONE&&i._mode!=="ms-stream"&&(a(!0),i.push(null))},j1}var $q;function bMe(){if($q)return n3.exports;$q=1;var e=tq(),t=p2(),r=Dq(),n=Pq(),o=r.IncomingMessage,a=r.readyStates;function i(h,f){return e.fetch&&f?"fetch":e.mozchunkedarraybuffer?"moz-chunked-arraybuffer":e.msstream?"ms-stream":e.arraybuffer&&h?"arraybuffer":"text"}var l=n3.exports=function(h){var f=this;n.Writable.call(f),f._opts=h,f._body=[],f._headers={},h.auth&&f.setHeader("Authorization","Basic "+Buffer.from(h.auth).toString("base64")),Object.keys(h.headers).forEach(function(y){f.setHeader(y,h.headers[y])});var b,v=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!e.abortController)v=!1,b=!0;else if(h.mode==="prefer-streaming")b=!1;else if(h.mode==="allow-wrong-content-type")b=!e.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");f._mode=i(b,v),f._fetchTimer=null,f._socketTimeout=null,f._socketTimer=null,f.on("finish",function(){f._onFinish()})};t(l,n.Writable),l.prototype.setHeader=function(h,f){var b=this,v=h.toLowerCase();u.indexOf(v)===-1&&(b._headers[v]={name:h,value:f})},l.prototype.getHeader=function(h){var f=this._headers[h.toLowerCase()];return f?f.value:null},l.prototype.removeHeader=function(h){var f=this;delete f._headers[h.toLowerCase()]},l.prototype._onFinish=function(){var h=this;if(!h._destroyed){var f=h._opts;"timeout"in f&&f.timeout!==0&&h.setTimeout(f.timeout);var b=h._headers,v=null;f.method!=="GET"&&f.method!=="HEAD"&&(v=new Blob(h._body,{type:(b["content-type"]||{}).value||""}));var y=[];if(Object.keys(b).forEach(function(_){var A=b[_].name,R=b[_].value;Array.isArray(R)?R.forEach(function(E){y.push([A,E])}):y.push([A,R])}),h._mode==="fetch"){var x=null;if(e.abortController){var k=new AbortController;x=k.signal,h._fetchAbortController=k,"requestTimeout"in f&&f.requestTimeout!==0&&(h._fetchTimer=globalThis.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},f.requestTimeout))}globalThis.fetch(h._opts.url,{method:h._opts.method,headers:y,body:v||void 0,mode:"cors",credentials:f.withCredentials?"include":"same-origin",signal:x}).then(function(_){h._fetchResponse=_,h._resetTimers(!1),h._connect()},function(_){h._resetTimers(!0),h._destroyed||h.emit("error",_)})}else{var w=h._xhr=new globalThis.XMLHttpRequest;try{w.open(h._opts.method,h._opts.url,!0)}catch(_){process.nextTick(function(){h.emit("error",_)});return}"responseType"in w&&(w.responseType=h._mode),"withCredentials"in w&&(w.withCredentials=!!f.withCredentials),h._mode==="text"&&"overrideMimeType"in w&&w.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in f&&(w.timeout=f.requestTimeout,w.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(_){w.setRequestHeader(_[0],_[1])}),h._response=null,w.onreadystatechange=function(){switch(w.readyState){case a.LOADING:case a.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(w.onprogress=function(){h._onXHRProgress()}),w.onerror=function(){h._destroyed||(h._resetTimers(!0),h.emit("error",new Error("XHR error")))};try{w.send(v)}catch(_){process.nextTick(function(){h.emit("error",_)});return}}}};function p(h){try{var f=h.status;return f!==null&&f!==0}catch{return!1}}l.prototype._onXHRProgress=function(){var h=this;h._resetTimers(!1),!(!p(h._xhr)||h._destroyed)&&(h._response||h._connect(),h._response._onXHRProgress(h._resetTimers.bind(h)))},l.prototype._connect=function(){var h=this;h._destroyed||(h._response=new o(h._xhr,h._fetchResponse,h._mode,h._resetTimers.bind(h)),h._response.on("error",function(f){h.emit("error",f)}),h.emit("response",h._response))},l.prototype._write=function(h,f,b){var v=this;v._body.push(h),b()},l.prototype._resetTimers=function(h){var f=this;globalThis.clearTimeout(f._socketTimer),f._socketTimer=null,h?(globalThis.clearTimeout(f._fetchTimer),f._fetchTimer=null):f._socketTimeout&&(f._socketTimer=globalThis.setTimeout(function(){f.emit("timeout")},f._socketTimeout))},l.prototype.abort=l.prototype.destroy=function(h){var f=this;f._destroyed=!0,f._resetTimers(!0),f._response&&(f._response._destroyed=!0),f._xhr?f._xhr.abort():f._fetchAbortController&&f._fetchAbortController.abort(),h&&f.emit("error",h)},l.prototype.end=function(h,f,b){var v=this;typeof h=="function"&&(b=h,h=void 0),n.Writable.prototype.end.call(v,h,f,b)},l.prototype.setTimeout=function(h,f){var b=this;f&&b.once("timeout",f),b._socketTimeout=h,b._resetTimers(!1)},l.prototype.flushHeaders=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return n3.exports}var S3,zq;function vMe(){if(zq)return S3;zq=1,S3=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var o=arguments[n];for(var a in o)e.call(o,a)&&(r[a]=o[a])}return r}return S3}var Uq,Fq;function yMe(){return Fq||(Fq=1,Uq={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),Uq}var Bq;function xMe(){return Bq||(Bq=1,(function(e){var t=bMe(),r=Dq(),n=vMe(),o=yMe(),a=jS(),i=e;i.request=function(l,p){typeof l=="string"?l=a.parse(l):l=n(l);var u=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",h=l.protocol||u,f=l.hostname||l.host,b=l.port,v=l.path||"/";f&&f.indexOf(":")!==-1&&(f="["+f+"]"),l.url=(f?h+"//"+f:"")+(b?":"+b:"")+v,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var y=new t(l);return p&&y.on("response",p),y},i.get=function(l,p){var u=i.request(l,p);return u.end(),u},i.ClientRequest=t,i.IncomingMessage=r.IncomingMessage,i.Agent=function(){},i.Agent.defaultMaxSockets=4,i.globalAgent=new i.Agent,i.STATUS_CODES=o,i.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(ZB)),ZB}var qq,Hq;function wMe(){return Hq||(Hq=1,qq={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},xMe().STATUS_CODES)}),qq}const SMe="7.0.8",CMe={version:SMe};var C3,Vq;function kMe(){if(Vq)return C3;Vq=1;const e=d1,t=jS(),r=QIe(),n=d1,o=FB(),a=O1(),i=a.jptr,l=YS().isRef,p=R1().clone,u=R1().circularClone,h=QS().recurse,f=aMe(),b=iMe(),v=KB(),y=wMe().statusCodes,x=CMe.version,k="3.0.0";let w;class _ extends Error{constructor(N){super(N),this.name="S2OError"}}function A(S,N){let B=new _(S);if(B.options=N,N.promise)N.promise.reject(B);else throw B}function R(S,N,B){B.warnOnly?N[B.warnProperty||"x-s2o-warning"]=S:A(S,B)}function E(S,N,B){if(S.nullable&&B.patches++,S.discriminator&&typeof S.discriminator=="string"&&(S.discriminator={propertyName:S.discriminator}),S.items&&Array.isArray(S.items)&&(S.items.length===0?S.items={}:S.items.length===1?S.items=S.items[0]:S.items={anyOf:S.items}),S.type&&Array.isArray(S.type))if(B.patch){if(B.patches++,S.type.length===0)delete S.type;else{S.oneOf||(S.oneOf=[]);for(let re of S.type){let ye={};if(re==="null")S.nullable=!0;else{ye.type=re;for(let ue of v.arrayProperties)typeof S.prop<"u"&&(ye[ue]=S[ue],delete S[ue])}ye.type&&S.oneOf.push(ye)}delete S.type,S.oneOf.length===0?delete S.oneOf:S.oneOf.length<2&&(S.type=S.oneOf[0].type,Object.keys(S.oneOf[0]).length>1&&R("Lost properties from oneOf",S,B),delete S.oneOf)}S.type&&Array.isArray(S.type)&&S.type.length===1&&(S.type=S.type[0])}else A("(Patchable) schema type must not be an array",B);S.type&&S.type==="null"&&(delete S.type,S.nullable=!0),S.type==="array"&&!S.items&&(S.items={}),S.type==="file"&&(S.type="string",S.format="binary"),typeof S.required=="boolean"&&(S.required&&S.name&&(typeof N.required>"u"&&(N.required=[]),Array.isArray(N.required)&&N.required.push(S.name)),delete S.required),S.xml&&typeof S.xml.namespace=="string"&&(S.xml.namespace||delete S.xml.namespace),typeof S.allowEmptyValue<"u"&&(B.patches++,delete S.allowEmptyValue)}function L(S,N){if(S["x-required"]&&Array.isArray(S["x-required"])&&(S.required||(S.required=[]),S.required=S.required.concat(S["x-required"]),delete S["x-required"]),S["x-anyOf"]&&(S.anyOf=S["x-anyOf"],delete S["x-anyOf"]),S["x-oneOf"]&&(S.oneOf=S["x-oneOf"],delete S["x-oneOf"]),S["x-not"]&&(S.not=S["x-not"],delete S["x-not"]),typeof S["x-nullable"]=="boolean"&&(S.nullable=S["x-nullable"],delete S["x-nullable"]),typeof S["x-discriminator"]=="object"&&typeof S["x-discriminator"].propertyName=="string"){S.discriminator=S["x-discriminator"],delete S["x-discriminator"];for(let B in S.discriminator.mapping){let re=S.discriminator.mapping[B];re.startsWith("#/definitions/")&&(S.discriminator.mapping[B]=re.replace("#/definitions/","#/components/schemas/"))}}}function I(S,N){b.walkSchema(S,{},{},function(B,re,ye){L(B),E(B,re,N)})}function O(S){return S.indexOf("#")>=0?S=S.split("#")[1].split("/").pop():S=S.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(S))}function P(S,N,B){let re=B.payload.options;if(l(S,N)){if(!S[N].startsWith("#/components/")){if(S[N]==="#/consumes")delete S[N],B.parent[B.pkey]=p(re.openapi.consumes);else if(S[N]==="#/produces")delete S[N],B.parent[B.pkey]=p(re.openapi.produces);else if(S[N].startsWith("#/definitions/")){let ye=S[N].replace("#/definitions/","").split("/");const ue=a.jpunescape(ye[0]);let me=w.schemas[decodeURIComponent(ue)];me?ye[0]=me:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}else if(S[N].startsWith("#/parameters/"))S[N]="#/components/parameters/"+v.sanitise(S[N].replace("#/parameters/",""));else if(S[N].startsWith("#/responses/"))S[N]="#/components/responses/"+v.sanitise(S[N].replace("#/responses/",""));else if(S[N].startsWith("#")){let ye=p(a.jptr(re.openapi,S[N]));if(ye===!1)R("direct $ref not found "+S[N],S,re);else if(re.refmap[S[N]])S[N]=re.refmap[S[N]];else{let ue=S[N];ue=ue.replace("/properties/headers/",""),ue=ue.replace("/properties/responses/",""),ue=ue.replace("/properties/parameters/",""),ue=ue.replace("/properties/schemas/","");let me="schemas",je=ue.lastIndexOf("/schema");if(me=ue.indexOf("/headers/")>je?"headers":ue.indexOf("/responses/")>je?"responses":ue.indexOf("/example")>je?"examples":ue.indexOf("/x-")>je?"extensions":ue.indexOf("/parameters/")>je?"parameters":"schemas",me==="schemas"&&I(ye,re),me!=="responses"&&me!=="extensions"){let he=me.substr(0,me.length-1);he==="parameter"&&ye.name&&ye.name===v.sanitise(ye.name)&&(he=encodeURIComponent(ye.name));let Ye=1;for(S["x-miro"]&&(he=O(S["x-miro"]),Ye="");a.jptr(re.openapi,"#/components/"+me+"/"+he+Ye);)Ye=Ye===""?2:++Ye;let Ke="#/components/"+me+"/"+he+Ye,Ge="";me==="examples"&&(ye={value:ye},Ge="/value"),a.jptr(re.openapi,Ke,ye),re.refmap[S[N]]=Ke+Ge,S[N]=Ke+Ge}}}}if(delete S["x-miro"],Object.keys(S).length>1){const ye=S[N],ue=B.path.indexOf("/schema")>=0;re.refSiblings==="preserve"||(ue&&re.refSiblings==="allOf"?(delete S.$ref,B.parent[B.pkey]={allOf:[{$ref:ye},S]}):B.parent[B.pkey]={$ref:ye})}}if(N==="x-ms-odata"&&typeof S[N]=="string"&&S[N].startsWith("#/")){let ye=S[N].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),ue=w.schemas[decodeURIComponent(ye[0])];ue?ye[0]=ue:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}}function U(S,N){for(let B in N.refmap)a.jptr(S,B,{$ref:N.refmap[B]})}function Y(S){for(let N in S)for(let B in S[N]){let re=v.sanitise(B);B!==re&&(S[N][re]=S[N][B],delete S[N][B])}}function q(S,N){if(S.type==="basic"&&(S.type="http",S.scheme="basic"),S.type==="oauth2"){let B={},re=S.flow;S.flow==="application"&&(re="clientCredentials"),S.flow==="accessCode"&&(re="authorizationCode"),typeof S.authorizationUrl<"u"&&(B.authorizationUrl=S.authorizationUrl.split("?")[0].trim()||"/"),typeof S.tokenUrl=="string"&&(B.tokenUrl=S.tokenUrl.split("?")[0].trim()||"/"),B.scopes=S.scopes||{},S.flows={},S.flows[re]=B,delete S.flow,delete S.authorizationUrl,delete S.tokenUrl,delete S.scopes,typeof S.name<"u"&&(N.patch?(N.patches++,delete S.name):A("(Patchable) oauth2 securitySchemes should not have name property",N))}}function Q(S){return S&&!S["x-s2o-delete"]}function ne(S,N){if(S.$ref)S.$ref=S.$ref.replace("#/responses/","#/components/responses/");else{S.type&&!S.schema&&(S.schema={}),S.type&&(S.schema.type=S.type),S.items&&S.items.type!=="array"&&(S.items.collectionFormat!==S.collectionFormat&&R("Nested collectionFormats are not supported",S,N),delete S.items.collectionFormat),S.type==="array"?(S.collectionFormat==="ssv"?R("collectionFormat:ssv is no longer supported for headers",S,N):S.collectionFormat==="pipes"?R("collectionFormat:pipes is no longer supported for headers",S,N):S.collectionFormat==="multi"?S.explode=!0:S.collectionFormat==="tsv"?(R("collectionFormat:tsv is no longer supported",S,N),S["x-collectionFormat"]="tsv"):S.style="simple",delete S.collectionFormat):S.collectionFormat&&(N.patch?(N.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",N)),delete S.type;for(let B of v.parameterTypeProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B]);for(let B of v.arrayProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B])}}function le(S,N){if(S.$ref.indexOf("#/parameters/")>=0){let B=S.$ref.split("#/parameters/");S.$ref=B[0]+"#/components/parameters/"+v.sanitise(B[1])}S.$ref.indexOf("#/definitions/")>=0&&R("Definition used as parameter",S,N)}function G(S,N){let B={};for(let re of Object.keys(S))B[re]=S[re],re==="parameters"&&(B.requestBody={},N.rbname&&(B[N.rbname]=""));return B.requestBody={},B}function ce(S,N,B,re,ye,ue,me){let je={},he=!0,Ye;if(N&&N.consumes&&typeof N.consumes=="string")if(me.patch)me.patches++,N.consumes=[N.consumes];else return A("(Patchable) operation.consumes must be an array",me);Array.isArray(ue.consumes)||delete ue.consumes;let Ke=((N?N.consumes:null)||ue.consumes||[]).filter(v.uniqueOnly);if(S&&S.$ref&&typeof S.$ref=="string"){le(S,me);let Ge=decodeURIComponent(S.$ref.replace("#/components/parameters/","")),Je=!1,He=ue.components.parameters[Ge];if((!He||He["x-s2o-delete"])&&S.$ref.startsWith("#/")&&(S["x-s2o-delete"]=!0,Je=!0),Je){let ot=S.$ref,ur=i(ue,S.$ref);!ur&&ot.startsWith("#/")?R("Could not resolve reference "+ot,S,me):ur&&(S=ur)}}if(S&&(S.name||S.in)){typeof S["x-deprecated"]=="boolean"&&(S.deprecated=S["x-deprecated"],delete S["x-deprecated"]),typeof S["x-example"]<"u"&&(S.example=S["x-example"],delete S["x-example"]),S.in!=="body"&&!S.type&&(me.patch?(me.patches++,S.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",me)),S.type&&typeof S.type=="object"&&S.type.$ref&&(S.type=i(ue,S.type.$ref)),S.type==="file"&&(S["x-s2o-originalType"]=S.type,Ye=S.type),S.description&&typeof S.description=="object"&&S.description.$ref&&(S.description=i(ue,S.description.$ref)),S.description===null&&delete S.description;let Ge=S.collectionFormat;if(S.type==="array"&&!Ge&&(Ge="csv"),Ge&&(S.type!=="array"&&(me.patch?(me.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",me)),Ge==="csv"&&(S.in==="query"||S.in==="cookie")&&(S.style="form",S.explode=!1),Ge==="csv"&&(S.in==="path"||S.in==="header")&&(S.style="simple"),Ge==="ssv"&&(S.in==="query"?S.style="spaceDelimited":R("collectionFormat:ssv is no longer supported except for in:query parameters",S,me)),Ge==="pipes"&&(S.in==="query"?S.style="pipeDelimited":R("collectionFormat:pipes is no longer supported except for in:query parameters",S,me)),Ge==="multi"&&(S.explode=!0),Ge==="tsv"&&(R("collectionFormat:tsv is no longer supported",S,me),S["x-collectionFormat"]="tsv"),delete S.collectionFormat),S.type&&S.type!=="body"&&S.in!=="formData")if(S.items&&S.schema)R("parameter has array,items and schema",S,me);else{S.schema&&me.patches++,(!S.schema||typeof S.schema!="object")&&(S.schema={}),S.schema.type=S.type,S.items&&(S.schema.items=S.items,delete S.items,h(S.schema.items,null,function(Je,He,ot){He==="collectionFormat"&&typeof Je[He]=="string"&&(Ge&&Je[He]!==Ge&&R("Nested collectionFormats are not supported",S,me),delete Je[He])}));for(let Je of v.parameterTypeProperties)typeof S[Je]<"u"&&(S.schema[Je]=S[Je]),delete S[Je]}S.schema&&I(S.schema,me),S["x-ms-skip-url-encoding"]&&S.in==="query"&&(S.allowReserved=!0,delete S["x-ms-skip-url-encoding"])}if(S&&S.in==="formData"){he=!1,je.content={};let Ge="application/x-www-form-urlencoded";if(Ke.length&&Ke.indexOf("multipart/form-data")>=0&&(Ge="multipart/form-data"),je.content[Ge]={},S.schema)je.content[Ge].schema=S.schema,S.schema.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")));else{je.content[Ge].schema={},je.content[Ge].schema.type="object",je.content[Ge].schema.properties={},je.content[Ge].schema.properties[S.name]={};let Je=je.content[Ge].schema,He=je.content[Ge].schema.properties[S.name];S.description&&(He.description=S.description),S.example&&(He.example=S.example),S.type&&(He.type=S.type);for(let ot of v.parameterTypeProperties)typeof S[ot]<"u"&&(He[ot]=S[ot]);S.required===!0&&(Je.required||(Je.required=[]),Je.required.push(S.name),je.required=!0),typeof S.default<"u"&&(He.default=S.default),He.properties&&(He.properties=S.properties),S.allOf&&(He.allOf=S.allOf),S.type==="array"&&S.items&&(He.items=S.items,He.items.collectionFormat&&delete He.items.collectionFormat),(Ye==="file"||S["x-s2o-originalType"]==="file")&&(He.type="string",He.format="binary"),ee(S,He)}}else S&&S.type==="file"&&(S.required&&(je.required=S.required),je.content={},je.content["application/octet-stream"]={},je.content["application/octet-stream"].schema={},je.content["application/octet-stream"].schema.type="string",je.content["application/octet-stream"].schema.format="binary",ee(S,je));if(S&&S.in==="body"){je.content={},S.name&&(je["x-s2o-name"]=(N&&N.operationId?v.sanitiseAll(N.operationId):"")+("_"+S.name).toCamelCase()),S.description&&(je.description=S.description),S.required&&(je.required=S.required),N&&me.rbname&&S.name&&(N[me.rbname]=S.name),S.schema&&S.schema.$ref?je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")):S.schema&&S.schema.type==="array"&&S.schema.items&&S.schema.items.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),Ke.length||Ke.push("application/json");for(let Ge of Ke)je.content[Ge]={},je.content[Ge].schema=p(S.schema||{}),I(je.content[Ge].schema,me);ee(S,je)}if(Object.keys(je).length>0&&(S["x-s2o-delete"]=!0,N))if(N.requestBody&&he){N.requestBody["x-s2o-overloaded"]=!0;let Ge=N.operationId||ye;R("Operation "+Ge+" has multiple requestBodies",N,me)}else N.requestBody||(N=B[re]=G(N,me)),N.requestBody.content&&N.requestBody.content["multipart/form-data"]&&N.requestBody.content["multipart/form-data"].schema&&N.requestBody.content["multipart/form-data"].schema.properties&&je.content["multipart/form-data"]&&je.content["multipart/form-data"].schema&&je.content["multipart/form-data"].schema.properties?(N.requestBody.content["multipart/form-data"].schema.properties=Object.assign(N.requestBody.content["multipart/form-data"].schema.properties,je.content["multipart/form-data"].schema.properties),N.requestBody.content["multipart/form-data"].schema.required=(N.requestBody.content["multipart/form-data"].schema.required||[]).concat(je.content["multipart/form-data"].schema.required||[]),N.requestBody.content["multipart/form-data"].schema.required.length||delete N.requestBody.content["multipart/form-data"].schema.required):N.requestBody.content&&N.requestBody.content["application/x-www-form-urlencoded"]&&N.requestBody.content["application/x-www-form-urlencoded"].schema&&N.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&je.content["application/x-www-form-urlencoded"]&&je.content["application/x-www-form-urlencoded"].schema&&je.content["application/x-www-form-urlencoded"].schema.properties?(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties,je.content["application/x-www-form-urlencoded"].schema.properties),N.requestBody.content["application/x-www-form-urlencoded"].schema.required=(N.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(je.content["application/x-www-form-urlencoded"].schema.required||[]),N.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete N.requestBody.content["application/x-www-form-urlencoded"].schema.required):(N.requestBody=Object.assign(N.requestBody,je),N.requestBody["x-s2o-name"]||(N.requestBody.schema&&N.requestBody.schema.$ref?N.requestBody["x-s2o-name"]=decodeURIComponent(N.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):N.operationId&&(N.requestBody["x-s2o-name"]=v.sanitiseAll(N.operationId))));if(S&&!S["x-s2o-delete"]){delete S.type;for(let Ge of v.parameterTypeProperties)delete S[Ge];S.in==="path"&&(typeof S.required>"u"||S.required!==!0)&&(me.patch?(me.patches++,S.required=!0):A("(Patchable) path parameters must be required:true ["+S.name+" in "+ye+"]",me))}return N}function ee(S,N){for(let B in S)B.startsWith("x-")&&!B.startsWith("x-s2o")&&(N[B]=S[B])}function fe(S,N,B,re,ye){if(!S)return!1;if(S.$ref&&typeof S.$ref=="string")S.$ref.indexOf("#/definitions/")>=0?R("definition used as response: "+S.$ref,S,ye):S.$ref.startsWith("#/responses/")&&(S.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.$ref.replace("#/responses/",""))));else{if((typeof S.description>"u"||S.description===null||S.description===""&&ye.patch)&&(ye.patch?typeof S=="object"&&!Array.isArray(S)&&(ye.patches++,S.description=y[S]||""):A("(Patchable) response.description is mandatory",ye)),typeof S.schema<"u"){if(I(S.schema,ye),S.schema.$ref&&typeof S.schema.$ref=="string"&&S.schema.$ref.startsWith("#/responses/")&&(S.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.schema.$ref.replace("#/responses/","")))),B&&B.produces&&typeof B.produces=="string")if(ye.patch)ye.patches++,B.produces=[B.produces];else return A("(Patchable) operation.produces must be an array",ye);re.produces&&!Array.isArray(re.produces)&&delete re.produces;let ue=((B?B.produces:null)||re.produces||[]).filter(v.uniqueOnly);ue.length||ue.push("*/*"),S.content={};for(let me of ue){if(S.content[me]={},S.content[me].schema=p(S.schema),S.examples&&S.examples[me]){let je={};je.value=S.examples[me],S.content[me].examples={},S.content[me].examples.response=je,delete S.examples[me]}S.content[me].schema.type==="file"&&(S.content[me].schema={type:"string",format:"binary"})}delete S.schema}for(let ue in S.examples)S.content||(S.content={}),S.content[ue]||(S.content[ue]={}),S.content[ue].examples={},S.content[ue].examples.response={},S.content[ue].examples.response.value=S.examples[ue];if(delete S.examples,S.headers)for(let ue in S.headers)ue.toLowerCase()==="status code"?ye.patch?(ye.patches++,delete S.headers[ue]):A('(Patchable) "Status Code" is not a valid header',ye):ne(S.headers[ue],ye)}}function oe(S,N,B,re,ye){for(let ue in S){let me=S[ue];me&&me["x-trace"]&&typeof me["x-trace"]=="object"&&(me.trace=me["x-trace"],delete me["x-trace"]),me&&me["x-summary"]&&typeof me["x-summary"]=="string"&&(me.summary=me["x-summary"],delete me["x-summary"]),me&&me["x-description"]&&typeof me["x-description"]=="string"&&(me.description=me["x-description"],delete me["x-description"]),me&&me["x-servers"]&&Array.isArray(me["x-servers"])&&(me.servers=me["x-servers"],delete me["x-servers"]);for(let je in me)if(v.httpMethods.indexOf(je)>=0||je==="x-amazon-apigateway-any-method"){let he=me[je];if(he&&he.parameters&&Array.isArray(he.parameters)){if(me.parameters)for(let Ye of me.parameters)typeof Ye.$ref=="string"&&(le(Ye,B),Ye=i(ye,Ye.$ref)),!he.parameters.find(function(Ke,Ge,Je){return Ke.name===Ye.name&&Ke.in===Ye.in})&&(Ye.in==="formData"||Ye.in==="body"||Ye.type==="file")&&(he=ce(Ye,he,me,je,ue,ye,B),B.rbname&&he[B.rbname]===""&&delete he[B.rbname]);for(let Ye of he.parameters)he=ce(Ye,he,me,je,je+":"+ue,ye,B);B.rbname&&he[B.rbname]===""&&delete he[B.rbname],B.debug||he.parameters&&(he.parameters=he.parameters.filter(Q))}if(he&&he.security&&Y(he.security),typeof he=="object"){if(!he.responses){let Ye={};Ye.description="Default response",he.responses={default:Ye}}for(let Ye in he.responses){let Ke=he.responses[Ye];fe(Ke,Ye,he,ye,B)}}if(he&&he["x-servers"]&&Array.isArray(he["x-servers"]))he.servers=he["x-servers"],delete he["x-servers"];else if(he&&he.schemes&&he.schemes.length){for(let Ye of he.schemes)if((!ye.schemes||ye.schemes.indexOf(Ye)<0)&&(he.servers||(he.servers=[]),Array.isArray(ye.servers)))for(let Ke of ye.servers){let Ge=p(Ke),Je=t.parse(Ge.url);Je.protocol=Ye,Ge.url=Je.format(),he.servers.push(Ge)}}if(B.debug&&(he["x-s2o-consumes"]=he.consumes||[],he["x-s2o-produces"]=he.produces||[]),he){if(delete he.consumes,delete he.produces,delete he.schemes,he["x-ms-examples"]){for(let Ye in he["x-ms-examples"]){let Ke=he["x-ms-examples"][Ye],Ge=v.sanitiseAll(Ye);if(Ke.parameters)for(let Je in Ke.parameters){let He=Ke.parameters[Je];for(let ot of(he.parameters||[]).concat(me.parameters||[]))ot.$ref&&(ot=a.jptr(ye,ot.$ref)),ot.name===Je&&!ot.example&&(ot.examples||(ot.examples={}),ot.examples[Ye]={value:He})}if(Ke.responses)for(let Je in Ke.responses){if(Ke.responses[Je].headers)for(let He in Ke.responses[Je].headers){let ot=Ke.responses[Je].headers[He];for(let ur in he.responses[Je].headers)if(ur===He){let j=he.responses[Je].headers[ur];j.example=ot}}if(Ke.responses[Je].body&&(ye.components.examples[Ge]={value:p(Ke.responses[Je].body)},he.responses[Je]&&he.responses[Je].content))for(let He in he.responses[Je].content){let ot=he.responses[Je].content[He];ot.examples||(ot.examples={}),ot.examples[Ye]={$ref:"#/components/examples/"+Ge}}}}delete he["x-ms-examples"]}if(he.parameters&&he.parameters.length===0&&delete he.parameters,he.requestBody){let Ye=he.operationId?v.sanitiseAll(he.operationId):v.sanitiseAll(je+ue).toCamelCase(),Ke=v.sanitise(he.requestBody["x-s2o-name"]||Ye||"");delete he.requestBody["x-s2o-name"];let Ge=JSON.stringify(he.requestBody),Je=v.hash(Ge);if(!re[Je]){let ot={};ot.name=Ke,ot.body=he.requestBody,ot.refs=[],re[Je]=ot}let He="#/"+N+"/"+encodeURIComponent(a.jpescape(ue))+"/"+je+"/requestBody";re[Je].refs.push(He)}}}if(me&&me.parameters){for(let je in me.parameters){let he=me.parameters[je];ce(he,null,me,null,ue,ye,B)}!B.debug&&Array.isArray(me.parameters)&&(me.parameters=me.parameters.filter(Q))}}}function F(S,N){let B={};w={schemas:{}},S.security&&Y(S.security);for(let ye in S.components.securitySchemes){let ue=v.sanitise(ye);ye!==ue&&(S.components.securitySchemes[ue]&&A("Duplicate sanitised securityScheme name "+ue,N),S.components.securitySchemes[ue]=S.components.securitySchemes[ye],delete S.components.securitySchemes[ye]),q(S.components.securitySchemes[ue],N)}for(let ye in S.components.schemas){let ue=v.sanitiseAll(ye),me="";if(ye!==ue){for(;S.components.schemas[ue+me];)me=me?++me:2;S.components.schemas[ue+me]=S.components.schemas[ye],delete S.components.schemas[ye]}w.schemas[ye]=ue+me,I(S.components.schemas[ue+me],N)}N.refmap={},h(S,{payload:{options:N}},P),U(S,N);for(let ye in S.components.parameters){let ue=v.sanitise(ye);ye!==ue&&(S.components.parameters[ue]&&A("Duplicate sanitised parameter name "+ue,N),S.components.parameters[ue]=S.components.parameters[ye],delete S.components.parameters[ye]);let me=S.components.parameters[ue];ce(me,null,null,null,ue,S,N)}for(let ye in S.components.responses){let ue=v.sanitise(ye);ye!==ue&&(S.components.responses[ue]&&A("Duplicate sanitised response name "+ue,N),S.components.responses[ue]=S.components.responses[ye],delete S.components.responses[ye]);let me=S.components.responses[ue];if(fe(me,ue,null,S,N),me.headers)for(let je in me.headers)je.toLowerCase()==="status code"?N.patch?(N.patches++,delete me.headers[je]):A('(Patchable) "Status Code" is not a valid header',N):ne(me.headers[je],N)}for(let ye in S.components.requestBodies){let ue=S.components.requestBodies[ye],me=JSON.stringify(ue),je=v.hash(me),he={};he.name=ye,he.body=ue,he.refs=[],B[je]=he}if(oe(S.paths,"paths",N,B,S),S["x-ms-paths"]&&oe(S["x-ms-paths"],"x-ms-paths",N,B,S),!N.debug)for(let ye in S.components.parameters)S.components.parameters[ye]["x-s2o-delete"]&&delete S.components.parameters[ye];N.debug&&(S["x-s2o-consumes"]=S.consumes||[],S["x-s2o-produces"]=S.produces||[]),delete S.consumes,delete S.produces,delete S.schemes;let re=[];if(S.components.requestBodies={},!N.resolveInternal){let ye=1;for(let ue in B){let me=B[ue];if(me.refs.length>1){let je="";for(me.name||(me.name="requestBody",je=ye++);re.indexOf(me.name+je)>=0;)je=je?++je:2;me.name=me.name+je,re.push(me.name),S.components.requestBodies[me.name]=p(me.body);for(let he in me.refs){let Ye={};Ye.$ref="#/components/requestBodies/"+me.name,a.jptr(S,me.refs[he],Ye)}}}}return S.components.responses&&Object.keys(S.components.responses).length===0&&delete S.components.responses,S.components.parameters&&Object.keys(S.components.parameters).length===0&&delete S.components.parameters,S.components.examples&&Object.keys(S.components.examples).length===0&&delete S.components.examples,S.components.requestBodies&&Object.keys(S.components.requestBodies).length===0&&delete S.components.requestBodies,S.components.securitySchemes&&Object.keys(S.components.securitySchemes).length===0&&delete S.components.securitySchemes,S.components.headers&&Object.keys(S.components.headers).length===0&&delete S.components.headers,S.components.schemas&&Object.keys(S.components.schemas).length===0&&delete S.components.schemas,S.components&&Object.keys(S.components).length===0&&delete S.components,S}function ie(S){return!S||!S.url||typeof S.url!="string"||(S.url=S.url.split("{{").join("{"),S.url=S.url.split("}}").join("}"),S.url.replace(/\{(.+?)\}/g,function(N,B){S.variables||(S.variables={}),S.variables[B]={default:"unknown"}})),S}function W(S,N,B){if(typeof S.info>"u"||S.info===null)if(N.patch)N.patches++,S.info={version:"",title:""};else return B(new _("(Patchable) info object is mandatory"));if(typeof S.info!="object"||Array.isArray(S.info))return B(new _("info must be an object"));if(typeof S.info.title>"u"||S.info.title===null)if(N.patch)N.patches++,S.info.title="";else return B(new _("(Patchable) info.title cannot be null"));if(typeof S.info.version>"u"||S.info.version===null)if(N.patch)N.patches++,S.info.version="";else return B(new _("(Patchable) info.version cannot be null"));if(typeof S.info.version!="string")if(N.patch)N.patches++,S.info.version=S.info.version.toString();else return B(new _("(Patchable) info.version must be a string"));if(typeof S.info.logo<"u")if(N.patch)N.patches++,S.info["x-logo"]=S.info.logo,delete S.info.logo;else return B(new _("(Patchable) info should not have logo property"));if(typeof S.info.termsOfService<"u"){if(S.info.termsOfService===null)if(N.patch)N.patches++,S.info.termsOfService="";else return B(new _("(Patchable) info.termsOfService cannot be null"));try{new URL(S.info.termsOfService)}catch{if(N.patch)N.patches++,delete S.info.termsOfService;else return B(new _("(Patchable) info.termsOfService must be a URL"))}}}function V(S,N,B){if(typeof S.paths>"u")if(N.patch)N.patches++,S.paths={};else return B(new _("(Patchable) paths object is mandatory"))}function pe(S,N){const B=new WeakSet;h(S,{identityDetection:!0},function(re,ye,ue){typeof re[ye]=="object"&&re[ye]!==null&&(B.has(re[ye])?N.anchors?re[ye]=p(re[ye]):A("YAML anchor or merge key at "+ue.path,N):B.add(re[ye]))})}function K(S,N,B){return r(B,new Promise(function(re,ye){if(S||(S={}),N.original=S,N.text||(N.text=o.stringify(S)),N.externals=[],N.externalRefs={},N.rewriteRefs=!0,N.preserveMiro=!0,N.promise={},N.promise.resolve=re,N.promise.reject=ye,N.patches=0,N.cache||(N.cache={}),N.source&&(N.cache[N.source]=N.original),pe(S,N),S.openapi&&typeof S.openapi=="string"&&S.openapi.startsWith("3.")){N.openapi=u(S),W(N.openapi,N,ye),V(N.openapi,N,ye),f.optionalResolve(N).then(function(){return N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)});return}if(!S.swagger||S.swagger!="2.0")return ye(new _("Unsupported swagger/OpenAPI version: "+(S.openapi?S.openapi:S.swagger)));let ue=N.openapi={};if(ue.openapi=typeof N.targetVersion=="string"&&N.targetVersion.startsWith("3.")?N.targetVersion:k,N.origin){ue["x-origin"]||(ue["x-origin"]=[]);let me={};me.url=N.source||N.origin,me.format="swagger",me.version=S.swagger,me.converter={},me.converter.url="https://github.com/mermade/oas-kit",me.converter.version=x,ue["x-origin"].push(me)}if(ue=Object.assign(ue,u(S)),delete ue.swagger,h(ue,{},function(me,je,he){me[je]===null&&!je.startsWith("x-")&&je!=="default"&&he.path.indexOf("/example")<0&&delete me[je]}),S.host)for(let me of Array.isArray(S.schemes)?S.schemes:[""]){let je={},he=(S.basePath||"").replace(/\/$/,"");je.url=(me?me+":":"")+"//"+S.host+he,ie(je),ue.servers||(ue.servers=[]),ue.servers.push(je)}else if(S.basePath){let me={};me.url=S.basePath,ie(me),ue.servers||(ue.servers=[]),ue.servers.push(me)}if(delete ue.host,delete ue.basePath,ue["x-servers"]&&Array.isArray(ue["x-servers"])&&(ue.servers=ue["x-servers"],delete ue["x-servers"]),S["x-ms-parameterized-host"]){let me=S["x-ms-parameterized-host"],je={};je.url=me.hostTemplate+(S.basePath?S.basePath:""),je.variables={};const he=je.url.match(/\{\w+\}/g);for(let Ye in me.parameters){let Ke=me.parameters[Ye];Ke.$ref&&(Ke=p(i(ue,Ke.$ref))),Ye.startsWith("x-")||(delete Ke.required,delete Ke.type,delete Ke.in,typeof Ke.default>"u"&&(Ke.enum?Ke.default=Ke.enum[0]:Ke.default="none"),Ke.name||(Ke.name=he[Ye].replace("{","").replace("}","")),je.variables[Ke.name]=Ke,delete Ke.name)}ue.servers||(ue.servers=[]),me.useSchemePrefix===!1?ue.servers.push(je):S.schemes.forEach(Ye=>{ue.servers.push(Object.assign({},je,{url:Ye+"://"+je.url}))}),delete ue["x-ms-parameterized-host"]}W(ue,N,ye),V(ue,N,ye),typeof ue.consumes=="string"&&(ue.consumes=[ue.consumes]),typeof ue.produces=="string"&&(ue.produces=[ue.produces]),ue.components={},ue["x-callbacks"]&&(ue.components.callbacks=ue["x-callbacks"],delete ue["x-callbacks"]),ue.components.examples={},ue.components.headers={},ue["x-links"]&&(ue.components.links=ue["x-links"],delete ue["x-links"]),ue.components.parameters=ue.parameters||{},ue.components.responses=ue.responses||{},ue.components.requestBodies={},ue.components.securitySchemes=ue.securityDefinitions||{},ue.components.schemas=ue.definitions||{},delete ue.definitions,delete ue.responses,delete ue.parameters,delete ue.securityDefinitions,f.optionalResolve(N).then(function(){F(N.openapi,N),N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)})}))}function se(S,N,B){return r(B,new Promise(function(re,ye){let ue=null,me=null;try{ue=JSON.parse(S),N.text=JSON.stringify(ue,null,2)}catch(je){me=je;try{ue=o.parse(S,{schema:"core",prettyErrors:!0}),N.sourceYaml=!0,N.text=S}catch(he){me=he}}ue?K(ue,N).then(je=>re(je)).catch(je=>ye(je)):ye(new _(me?me.message:"Could not parse string"))}))}function X(S,N,B){return r(B,new Promise(function(re,ye){N.origin=!0,N.source||(N.source=S),N.verbose&&console.warn("GET "+S),N.fetch||(N.fetch=n);const ue=Object.assign({},N.fetchOptions,{agent:N.agent});N.fetch(S,ue).then(function(me){if(me.status!==200)throw new _(`Received status code ${me.status}: ${S}`);return me.text()}).then(function(me){se(me,N).then(je=>re(je)).catch(je=>ye(je))}).catch(function(me){ye(me)})}))}function te(S,N,B){return r(B,new Promise(function(re,ye){e.readFile(S,N.encoding||"utf8",function(ue,me){ue?ye(ue):(N.sourceFile=S,se(me,N).then(je=>re(je)).catch(je=>ye(je)))})}))}function _e(S,N,B){return r(B,new Promise(function(re,ye){let ue="";S.on("data",function(me){ue+=me}).on("end",function(){se(ue,N).then(me=>re(me)).catch(me=>ye(me))})}))}return C3={S2OError:_,targetVersion:k,convert:K,convertObj:K,convertUrl:X,convertStr:se,convertFile:te,convertStream:_e},C3}var _Me=kMe();const AMe=Tn(_Me);function EMe(e){return e.paths||(e.paths={}),new Promise((t,r)=>AMe.convertObj(e,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(n,o)=>{if(n)return r(n);t(o?.openapi)}))}async function TMe(){try{return(await $F())?.resolvedConfig.openapi||{}}catch{return{}}}async function OMe(e){const t=await $F(),r={config:t,base:Ca?window.location.origin:typeof globalThis.process<"u"?globalThis.process.cwd():""};Ca&&(t.resolve.http.customFetch=globalThis.fetch),typeof e=="object"&&e!==null?r.doc=RMe(e):r.ref=e;const{bundle:{parsed:n}}=await BIe(r);return n.swagger!==void 0?EMe(n):n}function RMe(e){return{source:{absoluteRef:""},parsed:e}}async function jMe(e,t,r){let n;if(r?.skipBundle){if(!e)throw new Error('spec must be specified when using "skipBundleAndConvert"');n=e}else n=await OMe(e||t);try{ICe(n)}catch{}return n}const LMe=({options:e,definitionUrl:t,definition:r,activeSampleLanguage:n,children:o})=>{const[a,i]=D.useState(),[l,p]=D.useState(!0),[u,h]=D.useState(null),[f,b]=D.useState(e||{});D.useEffect(()=>{async function y(){p(!0);try{const x=await TMe();b({...e,...x}),h(await jMe(r,t,e))}catch(x){i(x.message)}}y()},[r,t,e]);const v=D.useMemo(()=>{if(u)return{definition:u,options:f,definitionUrl:t,activeSampleLanguage:n}},PCe([u,t,f]));return D.useEffect(()=>{v&&p(!1)},[v]),a||!v?null:l?bo(e?.hideLoading,!1)?null:m.jsx(n8e,{color:"--loading-spinner-color"}):D.isValidElement(o)?D.cloneElement(o,{store:v}):null};function NMe({definition:e,definitionUrl:t,options:r={},activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,router:i}){return m.jsx(LMe,{definition:e,definitionUrl:t,options:r,activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,children:m.jsx(Wz,{withCommonStyles:!0,router:i||"hash"})})}function IMe(e){const t={},r=e.attributes;for(let n=0;n<r.length;n++){const o=r[n];t[o.name]=o.value}return t}function PMe(e){const t=IMe(e),r={};for(const n in t){const o=n.replace(/-(.)/g,(a,i)=>i.toUpperCase());r[o]=t[n]}return r}function MMe(e,t=document.querySelector("redoc")){E4.hydrateRoot(t,m.jsx(Wz,{store:e}),{onRecoverableError:(r,n)=>{r.message.includes("Minified React error #418")||console.error(r.message,n)}})}function Gq(e,t={},r=$v("redoc")){if(r===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');const{router:n,...o}={...t,...PMe(r)};let a,i;typeof e=="string"?a=e:typeof e=="object"&&(i=e),E4.createRoot(r).render(D.createElement(NMe,{definition:i,definitionUrl:a,options:o,router:n??"hash"},["Loading..."]))}const DMe="3.25.0-next.2",$Me="10598434";function zMe(){const e=$v("redoc");if(!e)return;const t=e.getAttribute("spec-url");t&&Gq(t,{},e)}zMe();export{wl as $,Sj as A,ft as B,z0 as C,On as D,Bf as E,Po as F,Cm as G,vR as H,uy as I,Oa as J,ej as K,VR as L,mj as M,vj as N,fj as O,Nc as P,K$ as Q,At as R,hi as S,Ky as T,zd as U,Du as V,_9 as W,vw as X,Yf as Y,xl as Z,FM as _,xe as a,dIe as a$,as as a0,N$ as a1,rp as a2,al as a3,LL as a4,EL as a5,uD as a6,q$ as a7,h$ as a8,uw as a9,T9 as aA,c1 as aB,l1 as aC,HU as aD,p1 as aE,s1 as aF,OF as aG,u1 as aH,jIe as aI,IIe as aJ,pn as aK,KU as aL,iF as aM,sF as aN,uIe as aO,cIe as aP,I1 as aQ,pIe as aR,hIe as aS,fF as aT,hF as aU,vS as aV,zo as aW,sr as aX,Xr as aY,lF as aZ,cF as a_,H2 as aa,us as ab,wr as ac,Al as ad,_$ as ae,eo as af,cr as ag,jc as ah,H$ as ai,gr as aj,Sz as ak,V$ as al,G$ as am,tz as an,Z1e as ao,rl as ap,S0 as aq,q0 as ar,Pz as as,L$ as at,j$ as au,Iz as av,Nz as aw,Kk as ax,ed as ay,O9 as az,il as b,P1 as b0,i1 as b1,ql as b2,DF as b3,yS as b4,Dl as b5,ITe as b6,vF as b7,lIe as b8,da as b9,mIe as bA,Bl as bB,wS as bC,jF as bD,Ml as bE,vs as bF,pF as bG,uS as bH,Yz as bI,mF as bJ,uh as bK,WU as bL,EF as bM,TS as bN,MMe as bO,Gq as bP,$Me as bQ,Vbe as bR,Hbe as bS,Bbe as bT,DMe as bU,OIe as ba,xS as bb,yp as bc,za as bd,xs as be,yF as bf,$a as bg,ES as bh,pS as bi,TF as bj,n1 as bk,PTe as bl,dF as bm,qU as bn,GU as bo,ZN as bp,k$ as bq,t1 as br,rt as bs,tt as bt,uF as bu,LF as bv,IF as bw,Kz as bx,gF as by,gIe as bz,_f as c,Tn as d,lm as e,$0 as f,dt as g,ve as h,$u as i,m as j,zF as k,Pt as l,sm as m,SZ as n,eG as o,Kn as p,mx as q,D as r,Jn as s,mn as t,ir as u,Rc as v,ns as w,Ld as x,jL as y,yl as z};
|