This commit is contained in:
root committed 2025-10-28 14:09:42 +00:00
1 parent d65585b821
commit e96cd63f33
20 files changed
+1255 -404

No files matched your search

-1
View File
@@ -1 +0,0 @@
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eee}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#bdbdbd}input::placeholder,textarea::placeholder{opacity:1;color:#bdbdbd}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 540px){.container{max-width:540px}}@media (min-width: 720px){.container{max-width:720px}}@media (min-width: 960px){.container{max-width:960px}}@media (min-width: 1140px){.container{max-width:1140px}}@media (min-width: 1320px){.container{max-width:1320px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.\!invisible{visibility:hidden!important}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bLine truncated
-93
View File
@@ -1,93 +0,0 @@
function kj(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(n,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();function Nx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Hs(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var jx={exports:{}},jd={},Rx={exports:{}},dt={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var $s=Symbol.for("react.element"),Ej=Symbol.for("react.portal"),Nj=Symbol.for("react.fragment"),jj=Symbol.for("react.strict_mode"),Rj=Symbol.for("react.profiler"),Aj=Symbol.for("react.provider"),Mj=Symbol.for("react.context"),Ij=Symbol.for("react.forward_ref"),Dj=Symbol.for("react.suspense"),Lj=Symbol.for("react.memo"),Fj=Symbol.for("react.lazy"),Bv=Symbol.iterator;function zj(e){return e===null||typeof e!="object"?null:(e=Bv&&e[Bv]||e["@@iterator"],typeof e=="function"?e:null)}var Ax={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Mx=Object.assign,Ix={};function ol(e,t,r){this.props=e,this.context=t,this.refs=Ix,this.updater=r||Ax}ol.prototype.isReactComponent={};ol.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ol.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Dx(){}Dx.prototype=ol.prototype;function Hh(e,t,r){this.props=e,this.context=t,this.refs=Ix,this.updater=r||Ax}var $h=Hh.prototype=new Dx;$h.constructor=Hh;Mx($h,ol.prototype);$h.isPureReactComponent=!0;var Wv=Array.isArray,Lx=Object.prototype.hasOwnProperty,qh={current:null},Fx={key:!0,ref:!0,__self:!0,__source:!0};function zx(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)Lx.call(t,n)&&!Fx.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(u===1)o.children=r;else if(1<u){for(var p=Array(u),g=0;g<u;g++)p[g]=arguments[g+2];o.children=p}if(e&&e.defaultProps)for(n in u=e.defaultProps,u)o[n]===void 0&&(o[n]=u[n]);return{$$typeof:$s,type:e,key:a,ref:i,props:o,_owner:qh.current}}function Vj(e,t){return{$$typeof:$s,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Gh(e){return typeof e=="object"&&e!==null&&e.$$typeof===$s}function Bj(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Uv=/\/+/g;function dp(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Bj(""+e.key):t.toString(36)}function oc(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case $s:case Ej:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+dp(i,0):n,Wv(o)?(r="",e!=null&&(r=e.replace(Uv,"$&/")+"/"),oc(o,t,r,"",function(g){return g})):o!=null&&(Gh(o)&&(o=Vj(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(Uv,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",Wv(e))for(var u=0;u<e.length;u++){a=e[u];var p=n+dp(a,u);i+=oc(a,t,r,p,o)}else if(p=zj(e),typeof p=="function")for(e=p.call(e),u=0;!(a=e.next()).done;)a=a.value,p=n+dp(a,u++),i+=oc(a,t,r,p,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function Eu(e,t,r){if(e==null)return e;var n=[],o=0;return oc(e,n,"","",function(a){return t.call(r,a,o++)}),n}function Wj(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var kr={current:null},ac={transition:null},Uj={ReactCurrentDispatcher:kr,ReactCurrentBatchConfig:ac,ReactCurrentOwner:qh};dt.Children={map:Eu,forEach:function(e,t,r){Eu(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return Eu(e,function(){t++}),t},toArray:function(e){return Eu(e,function(t){return t})||[]},only:function(e){if(!Gh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};dt.Component=ol;dt.Fragment=Nj;dt.Profiler=Rj;dt.PureComponent=Hh;dt.StrictMode=jj;dt.Suspense=Dj;dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uj;dt.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Mx({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=qh.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(p in t)Lx.call(t,p)&&!Fx.hasOwnProperty(p)&&(n[p]=t[p]===void 0&&u!==void 0?u[p]:t[p])}var p=arguments.length-2;if(p===1)n.children=r;else if(1<p){u=Array(p);for(var g=0;g<p;g++)u[g]=arguments[g+2];n.children=u}return{$$typeof:$s,type:e.type,key:o,ref:a,props:n,_owner:i}};dt.createContext=function(e){return e={$$typeof:Mj,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Aj,_conLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Hj=A,$j=Symbol.for("react.element"),qj=Symbol.for("react.fragment"),Gj=Object.prototype.hasOwnProperty,Kj=Hj.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Yj={key:!0,ref:!0,__self:!0,__source:!0};function Vx(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)Gj.call(t,n)&&!Yj.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:$j,type:e,key:a,ref:i,props:o,_owner:Kj.current}}jd.Fragment=qj;jd.jsx=Vx;jd.jsxs=Vx;jx.exports=jd;var N=jx.exports;function Bx(e,t){return function(){return e.apply(t,arguments)}}const{toString:Xj}=Object.prototype,{getPrototypeOf:Yh}=Object,Rd=(e=>t=>{const r=Xj.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Bn=e=>(e=e.toLowerCase(),t=>Rd(t)===e),Ad=e=>t=>typeof t===e,{isArray:al}=Array,bs=Ad("undefined");function Qj(e){return e!==null&&!bs(e)&&e.constructor!==null&&!bs(e.constructor)&&Yr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Wx=Bn("ArrayBuffer");function Jj(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Wx(e.buffer),t}const Zj=Ad("string"),Yr=Ad("function"),Ux=Ad("number"),Md=e=>e!==null&&typeof e=="object",e2=e=>e===!0||e===!1,ic=e=>{if(Rd(e)!=="object")return!1;const t=Yh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},t2=Bn("Date"),r2=Bn("File"),n2=Bn("Blob"),o2=Bn("FileList"),a2=e=>Md(e)&&Yr(e.pipe),i2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Yr(e.append)&&((t=Rd(e))==="formdata"||t==="object"&&Yr(e.toString)&&e.toString()==="[object FormData]"))},l2=Bn("URLSearchParams"),[s2,u2,c2,d2]=["ReadableStream","Request","Response","Headers"].map(Bn),f2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qs(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),al(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const a=r?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let u;for(n=0;n<i;n++)u=a[n],t.call(null,e[u],u,e)}}function Hx(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Ra=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$x=e=>!bs(e)&&e!==Ra;function c0(){const{caseless:e}=$x(this)&&this||{},t={},r=(n,o)=>{const a=e&&Hx(t,o)||o;ic(t[a])&&ic(n)?t[a]=c0(t[a],n):ic(n)?t[a]=c0({},n):al(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&qs(arguments[n],r);return t}const p2=(e,t,r,{allOwnKeys:n}={})=>(qs(t,(o,a)=>{r&&Yr(o)?e[a]=Bx(o,r):e[a]=o},{allOwnKeys:n}),e),h2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),g2=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},b2=(e,t,r,n)=>{let o,a,i;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=r!==!1&&Yh(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},m2=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},v2=e=>{if(!e)return null;if(al(e))return e;let t=e.length;if(!Ux(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},y2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yh(Uint8Array)),w2=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},x2=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},_2=Bn("HTMLFormElement"),C2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Hv=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),T2=Bn("RegExp"),qx=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};qs(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},S2=e=>{qx(e,(t,r)=>{if(Yr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Yr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},O2=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return al(e)?n(e):n(String(e).split(t)),r},P2=()=>{},k2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,fp="abcdefghijklmnopqrstuvwxyz",$v="0123456789",Gx={DIGIT:$v,ALPHA:fp,ALPHA_DIGIT:fp+fp.toUpperCase()+$v},E2=(e=16,t=Gx.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function N2(e){return!!(e&&Yr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const j2=e=>{const t=new Array(10),r=(n,o)=>{if(Md(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=aLine truncated
`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&J2[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Yv=Symbol("internals");function Il(e){return e&&String(e).trim().toLowerCase()}function lc(e){return e===!1||e==null?e:he.isArray(e)?e.map(lc):String(e)}function eR(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const tR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pp(e,t,r,n,o){if(he.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!he.isString(t)){if(he.isString(n))return t.indexOf(n)!==-1;if(he.isRegExp(n))return n.test(t)}}function rR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function nR(e,t){const r=he.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Dd{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(u,p,g){const m=Il(p);if(!m)throw new Error("header name must be a non-empty string");const _=he.findKey(o,m);(!_||o[_]===void 0||g===!0||g===void 0&&o[_]!==!1)&&(o[_||p]=lc(u))}const i=(u,p)=>he.forEach(u,(g,m)=>a(g,m,p));if(he.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(he.isString(t)&&(t=t.trim())&&!tR(t))i(Z2(t),r);else if(he.isHeaders(t))for(const[u,p]of t.entries())a(p,u,n);else t!=null&&a(r,t,n);return this}get(t,r){if(t=Il(t),t){const n=he.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return eR(o);if(he.isFunction(r))return r.call(this,o,n);if(he.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Il(t),t){const n=he.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||pp(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=Il(i),i){const u=he.findKey(n,i);u&&(!r||pp(n,n[u],u,r))&&(delete n[u],o=!0)}}return he.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||pp(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return he.forEach(this,(o,a)=>{const i=he.findKey(n,a);if(i){r[i]=lc(o),delete r[a];return}const u=t?rR(a):String(a).trim();u!==a&&delete r[a],r[u]=lc(o),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return he.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&he.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Yv]=this[Yv]={accessors:{}}).accessors,o=this.prototype;function a(i){const u=Il(i);n[u]||(nR(o,i),n[u]=!0)}return he.isArray(t)?t.forEach(a):a(t),this}}Dd.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);he.reduceDescriptors(Dd.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});he.freezeMethods(Dd);const Rn=Dd;function hp(e,t){const r=this||Zh,n=t||r,o=Rn.from(n.headers);let a=n.data;return he.forEach(e,function(u){a=u.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function r_(e){return!!(e&&e.__CANCEL__)}function il(e,t,r){rt.call(this,e??"canceled",rt.ERR_CANCELED,t,r),this.name="CanceledError"}he.inherits(il,rt,{__CANCEL__:!0});function n_(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new rt("Request failed with status code "+r.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function oR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function aR(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(p){const g=Date.now(),m=n[a];i||(i=g),r[o]=p,n[o]=g;let _=a,S=0;for(;_!==o;)S+=r[_++],_=_%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),g-i<t)return;const T=m&&g-m;return T?Math.round(S*1e3/T):void 0}}function iR(e,t){let r=0,n=1e3/t,o,a;const i=(g,m=Date.now())=>{r=m,o=null,a&&(clearTimeout(a),a=null),e.apply(null,g)};return[(...g)=>{const m=Date.now(),_=m-r;_>=n?i(g,m):(o=g,a||(a=setTimeout(()=>{a=null,i(o)},n-_)))},()=>o&&i(o)]}const Ic=(e,t,r=3)=>{let n=0;const o=aR(50,250);return iR(a=>{const i=a.loaded,u=a.lengthComputable?a.total:void 0,p=i-n,g=o(p),m=i<=u;n=i;const _={loaded:i,total:u,progress:u?i/u:void 0,bytes:p,rate:g||void 0,estimated:g&&u&&m?(u-i)/g:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(_)},r)},Xv=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Qv=e=>(...t)=>he.asap(()=>e(...t)),lR=Xr.hasStandardBrowserEnv?function(){const t=Xr.navigator&&/(msie|trident)/i.test(Xr.navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const u=he.isString(i)?o(i):i;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}(),sR=Xr.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];he.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),he.isString(n)&&i.push("path="+n),he.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function uR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function cR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function o_(e,t){return e&&!uR(t)?cR(e,t):t}const Jv=e=>e instanceof Rn?{...e}:e;function Ba(e,t){t=t||{};const r={};function n(g,m,_){return he.isPlainObject(g)&&he.isPlainObject(m)?he.merge.call({caseless:_},g,m):he.isPlainObject(m)?he.merge({},m):he.isArray(m)?m.slice():m}function o(g,m,_){if(he.isUndefined(m)){if(!he.isUndefined(g))return n(void 0,g,_)}else return n(g,m,_)}function a(g,m){if(!he.isUndefined(m))return n(void 0,m)}function i(g,m){if(he.isUndefined(m)){if(!he.isUndefined(g))return n(void 0,g)}else return n(void 0,m)}function u(g,m,_){if(_ in t)return n(g,m);if(_ in e)return n(void 0,g)}const p={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(g,m)=>o(Jv(g),Jv(m),!0)};return he.forEach(Object.keys(Object.assign({},e,t)),function(m){const _=p[m]||o,S=_(e[m],t[m],m);he.isUndefined(S)&&_!==u||(r[m]=S)}),r}const a_=e=>{const t=Ba({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:u}=t;t.headers=i=Rn.from(i),t.url=Zx(o_(t.baseURL,t.url),e.params,e.paramsSerializer),u&&i.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(enco Line truncated
`+a.map(ty).join(`
`):" "+ty(a[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:g0};function gp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new il(null,e)}function ry(e){return gp(e),e.headers=Rn.from(e.headers),e.data=hp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),s_.getAdapter(e.adapter||Zh.adapter)(e).then(function(n){return gp(e),n.data=hp.call(e,e.transformResponse,n),n.headers=Rn.from(n.headers),n},function(n){return r_(n)||(gp(e),n&&n.response&&(n.response.data=hp.call(e,e.transformResponse,n.response),n.response.headers=Rn.from(n.response.headers))),Promise.reject(n)})}const u_="1.7.5",eg={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{eg[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ny={};eg.transitional=function(t,r,n){function o(a,i){return"[Axios v"+u_+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,u)=>{if(t===!1)throw new rt(o(i," has been removed"+(r?" in "+r:"")),rt.ERR_DEPRECATED);return r&&!ny[i]&&(ny[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,u):!0}};function _R(e,t,r){if(typeof e!="object")throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const u=e[a],p=u===void 0||i(u,a,e);if(p!==!0)throw new rt("option "+a+" must be "+p,rt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new rt("Unknown option "+a,rt.ERR_BAD_OPTION)}}const b0={assertOptions:_R,validators:eg},zo=b0.validators;class Lc{constructor(t){this.defaults=t,this.interceptors={request:new Kv,response:new Kv}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ba(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&b0.assertOptions(n,{silentJSONParsing:zo.transitional(zo.boolean),forcedJSONParsing:zo.transitional(zo.boolean),clarifyTimeoutError:zo.transitional(zo.boolean)},!1),o!=null&&(he.isFunction(o)?r.paramsSerializer={serialize:o}:b0.assertOptions(o,{encode:zo.function,serialize:zo.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&he.merge(a.common,a[r.method]);a&&he.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),r.headers=Rn.concat(i,a);const u=[];let p=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(p=p&&w.synchronous,u.unshift(w.fulfilled,w.rejected))});const g=[];this.interceptors.response.forEach(function(w){g.push(w.fulfilled,w.rejected)});let m,_=0,S;if(!p){const C=[ry.bind(this),void 0];for(C.unshift.apply(C,u),C.push.apply(C,g),S=C.length,m=Promise.resolve(r);_<S;)m=m.then(C[_++],C[_++]);return m}S=u.length;let T=r;for(_=0;_<S;){const C=u[_++],w=u[_++];try{T=C(T)}catch(b){w.call(this,b);break}}try{m=ry.call(this,T)}catch(C){return Promise.reject(C)}for(_=0,S=g.length;_<S;)m=m.then(g[_++],g[_++]);return m}getUri(t){t=Ba(this.defaults,t);const r=o_(t.baseURL,t.url);return Zx(r,t.params,t.paramsSerializer)}}he.forEach(["delete","get","head","options"],function(t){Lc.prototype[t]=function(r,n){return this.request(Ba(n||{},{method:t,url:r,data:(n||{}).data}))}});he.forEach(["post","put","patch"],function(t){function r(n){return function(a,i,u){return this.request(Ba(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Lc.prototype[t]=r(),Lc.prototype[t+"Form"]=r(!0)});const sc=Lc;class tg{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(u=>{n.subscribe(u),a=u}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,u){n.reason||(n.reason=new il(a,i,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new tg(function(o){t=o}),cancel:t}}}const CR=tg;function TR(e){return function(r){return e.apply(null,r)}}function SR(e){return he.isObject(e)&&e.isAxiosError===!0}const m0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(m0).forEach(([e,t])=>{m0[t]=e});const OR=m0;function c_(e){const t=new sc(e),r=Bx(sc.prototype.request,t);return he.extend(r,sc.prototype,t,{allOwnKeys:!0}),he.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return c_(Ba(e,o))},r}const Zt=c_(Zh);Zt.Axios=sc;Zt.CanceledError=il;Zt.CancelToken=CR;Zt.isCancel=r_;Zt.VERSION=u_;Zt.toFormData=Id;Zt.AxiosError=rt;Zt.Cancel=Zt.CanceledError;Zt.all=function(t){return Promise.all(t)};Zt.spread=TR;Zt.isAxiosError=SR;Zt.mergeConfig=Ba;Zt.AxiosHeaders=Rn;Zt.formToJSON=e=>t_(he.isHTMLForm(e)?new FormData(e):e);Zt.getAdapter=s_.getAdapter;Zt.HttpStatusCode=OR;Zt.default=Zt;const vt=Zt;var v0={},d_={exports:{}},tn={},f_={exports:{}},p_={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t($,z){var H=$.length;$.push(z);e:for(;0<H;){var K=H-1>>>1,Q=$[K];if(0<o(Q,z))$[K]=z,$[H]=Q,H=K;else break e}}function r($){return $.length===0?null:$[0]}function n($){if($.length===0)return null;var z=$[0],H=$.pop();if(H!==z){$[0]=H;e:for(var K=0,Q=$.length,oe=Q>>>1;K<oe;){var ue=2*(K+1)-1,ce=$[ue],te=ue+1,ve=$[te];if(0>o(ce,H))te<Q&&0>o(ve,ce)?($[K]=ve,$[te]=H,K=te):($[K]=ce,$[ue]=H,K=ue);else if(te<Q&&0>o(ve,H))$[K]=ve,$[te]=H,K=te;else break e}}return z}function o($,z){var H=$.sortIndex-z.sortIndex;return H!==0?H:$.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var p=[],g=[],m=1,_=null,S=3,T=!1,C=!1,w=!1,b=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,l=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c($){for(var z=r(g);z!==null;){if(z.callback===null)n(g);else if(z.startTime<=$)n(g),z.sortIndex=z.expirationTime,t(p,z);else break;z=r(g)}}function s($){if(w=!1,c($),!C)if(r(p)!==null)C=!0,U(h);else{var z=r(g);z!==null&&Y(s,z.startTime-$)}}function h($,z){C=!1,w&&(w=!1,d(E),E=-1),T=!0;var H=S;try{for(c(z),_=r(p);_!==null&&(!(_.expirationTime>z)||$&&!j());){var K=_.callback;if(typeof K=="function"){_.callback=null,S=_.priorityLevel;var Q=K(_.expirationTime<=z);z=e.unstable_now(),typeof Q=="function"?_.callback=Q:_===r(p)&&n(p),c(z)}else n(p);_=r(p)}if(_!==null)var oe=!0;else{var ue=r(g);ue!==null&&Y(s,ue.startTime-z),oe=!1}return oe}finally{_=null,S=H,T=!1}}var v=!1,y=null,E=-1,P=5,k=-1;function j(){return!(e.unstable_now()-k<P)}function M(){if(y!==null){var $=e.unstable_now();k=$;var z=!0;try{z=y(!0,$)}finally{z?I():(v=!1,y=null)}}else v=!1}var I;if(typeof l=="function")I=function(){l(M)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,W=L.port2;L.port1.onmessage=M,I=function(){W.postMessage(null)}}else I=function(){b(M,0)};function U($){y=$,v||(v=!0,I())}function Y($,z){E=b(function(){$(e.unstable_now())},z)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_continueExecution=function(){C||T||(C=!0,U(h))},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function($){switch(S){case 1:case 2:case 3:var z=3;break;default:z=S}var H=S;S=z;try{return $()}finally{S=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,z){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var H=S;S=$;try{return z()}finally{S=H}},e.unstable_scheduleCallback=function($,z,H){var K=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?K+H:K):H=K,$){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=H+Q,$={id:m++,callback:z,priorityLevel:$,startTime:H,expirationTime:Q,sortIndex:-1},H>K?($.sortIndex=H,t(g,$),r(p)===null&&$===r(g)&&(w?(d(E),E=-1):w=!0,Y(s,H-K))):($.sortIndex=Q,t(p,$),C||T||(C=!0,U(h))),$},e.unstable_shouldYield=j,e.unstable_wrapCallback=function($){var z=S;return function(){var H=S;S=z;try{return $.apply(this,arguments)}finally{S=H}}}})(p_);f_.exports=p_;var PR=f_.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var h_=A,Zr=PR;function we(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g_=new Set,ms={};function Qa(e,t){Ui(e,t),Ui(e+"Capture",t)}function Ui(e,t){for(ms[e]=t,e=0;e<t.length;e++)g_.add(t[e])}var vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),y0=Object.prototype.hasOwnProperty,kR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,oy={},ay={};function ER(e){return y0.call(ay,e)?!0:y0.call(oy,e)?!1:kR.test(e)?ay[e]=!0:(oy[e]=!0,!1)}function NR(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function jR(e,t,r,n){if(t===null||typeof t>"u"||NR(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Er(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var pr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){pr[e]=new Er(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];pr[t]=new Er(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){pr[e]=new Er(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){pr[e]=new Er(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){pr[e]=new Er(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){pr[e]=new Er(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){pr[e]=new Er(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){pr[e]=new Er(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){pr[e]=new Er(e,5,!1,e.toLowerCase(),null,!1,!1)});var rg=/[\-:]([a-z])/g;function ng(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(rg,ng);pr[t]=new Er(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(rg,ng);pr[t]=new Er(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(rg,ng);pr[t]=new Er(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){pr[e]=new Er(e,1,!1,e.toLowerCase(),null,!1,!1)});pr.xlinkHref=new Er("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){pr[e]=new Er(e,1,!1,e.toLowerCase(),null,!0,!0)});function og(e,t,r,n){var o=pr.hasOwnProperty(t)?pr[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!== Line truncated
`+bp+e}var mp=!1;function vp(e,t){if(!e||mp)return"";mp=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(g){var n=g}Reflect.construct(e,[],t)}else{try{t.call()}catch(g){n=g}e.call(t.prototype)}else{try{throw Error()}catch(g){n=g}e()}}catch(g){if(g&&n&&typeof g.stack=="string"){for(var o=g.stack.split(`
`),a=n.stack.split(`
`),i=o.length-1,u=a.length-1;1<=i&&0<=u&&o[i]!==a[u];)u--;for(;1<=i&&0<=u;i--,u--)if(o[i]!==a[u]){if(i!==1||u!==1)do if(i--,u--,0>u||o[i]!==a[u]){var p=`
`+o[i].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=i&&0<=u);break}}}finally{mp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Kl(e):""}function RR(e){switch(e.tag){case 5:return Kl(e.type);case 16:return Kl("Lazy");case 13:return Kl("Suspense");case 19:return Kl("SuspenseList");case 0:case 2:case 15:return e=vp(e.type,!1),e;case 11:return e=vp(e.type.render,!1),e;case 1:return e=vp(e.type,!0),e;default:return""}}function C0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yi:return"Fragment";case vi:return"Portal";case w0:return"Profiler";case ag:return"StrictMode";case x0:return"Suspense";case _0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case m_:return(e.displayName||"Context")+".Consumer";case b_:return(e._context.displayName||"Context")+".Provider";case ig:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lg:return t=e.displayName||null,t!==null?t:C0(e.type)||"Memo";case Uo:t=e._payload,e=e._init;try{return C0(e(t))}catch{}}return null}function AR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return C0(t);case 8:return t===ag?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function sa(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function y_(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function MR(e){var t=y_(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ju(e){e._valueTracker||(e._valueTracker=MR(e))}function w_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=y_(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function Fc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function T0(e,t){var r=t.checked;return Wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ly(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=sa(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function x_(e,t){t=t.checked,t!=null&&og(e,"checked",t,!1)}function S0(e,t){x_(e,t);var r=sa(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?O0(e,t.type,r):t.hasOwnProperty("defaultValue")&&O0(e,t.type,sa(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function sy(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function O0(e,t,r){(t!=="number"||Fc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Yl=Array.isArray;function Ri(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+sa(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function P0(e,t){if(t.dan Line truncated
`).replace(HA,"")}function zu(e,t,r){if(t=jy(t),jy(e)!==t&&r)throw Error(we(425))}function qc(){}var V0=null,B0=null;function W0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var U0=typeof setTimeout=="function"?setTimeout:void 0,$A=typeof clearTimeout=="function"?clearTimeout:void 0,Ry=typeof Promise=="function"?Promise:void 0,qA=typeof queueMicrotask=="function"?queueMicrotask:typeof Ry<"u"?function(e){return Ry.resolve(null).then(e).catch(GA)}:U0;function GA(e){setTimeout(function(){throw e})}function jp(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),_s(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);_s(t)}function ea(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ay(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var sl=Math.random().toString(36).slice(2),Xn="__reactFiber$"+sl,Ps="__reactProps$"+sl,yo="__reactContainer$"+sl,H0="__reactEvents$"+sl,KA="__reactListeners$"+sl,YA="__reactHandles$"+sl;function Aa(e){var t=e[Xn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[yo]||r[Xn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Ay(e);e!==null;){if(r=e[Xn])return r;e=Ay(e)}return t}e=r,r=e.parentNode}return null}function Ys(e){return e=e[Xn]||e[yo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ci(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(we(33))}function Wd(e){return e[Ps]||null}var $0=[],Ti=-1;function fa(e){return{current:e}}function jt(e){0>Ti||(e.current=$0[Ti],$0[Ti]=null,Ti--)}function Pt(e,t){Ti++,$0[Ti]=e.current,e.current=t}var ua={},_r=fa(ua),Fr=fa(!1),Wa=ua;function Hi(e,t){var r=e.type.contextTypes;if(!r)return ua;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function zr(e){return e=e.childContextTypes,e!=null}function Gc(){jt(Fr),jt(_r)}function My(e,t,r){if(_r.current!==ua)throw Error(we(168));Pt(_r,t),Pt(Fr,r)}function u1(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(we(108,AR(e)||"Unknown",o));return Wt({},r,n)}function Kc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ua,Wa=_r.current,Pt(_r,e),Pt(Fr,Fr.current),!0}function Iy(e,t,r){var n=e.stateNode;if(!n)throw Error(we(169));r?(e=u1(e,t,Wa),n.__reactInternalMemoizedMergedChildContext=e,jt(Fr),jt(_r),Pt(_r,e)):jt(Fr),Pt(Fr,r)}var co=null,Ud=!1,Rp=!1;function c1(e){co===null?co=[e]:co.push(e)}function XA(e){Ud=!0,c1(e)}function pa(){if(!Rp&&co!==null){Rp=!0;var e=0,t=_t;try{var r=co;for(_t=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}co=null,Ud=!1}catch(o){throw co!==null&&(co=co.slice(e+1)),I_(ug,pa),o}finally{_t=t,Rp=!1}}return null}var Si=[],Oi=0,Yc=null,Xc=0,dn=[],fn=0,Ua=null,fo=1,po="";function Na(e,t){Si[Oi++]=Xc,Si[Oi++]=Yc,Yc=e,Xc=t}function d1(e,t,r){dn[fn++]=fo,dn[fn++]=po,dn[fn++]=Ua,Ua=e;var n=fo;e=po;var o=32-An(n)-1;n&=~(1<<o),r+=1;var a=32-An(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,fo=1<<32-An(t)+o|r<<o|n,po=a+e}else fo=1<<a|r<<o|n,po=e}function vg(e){e.return!==null&&(Na(e,1),d1(e,1,0))}function yg(e){for(;e===Yc;)Yc=Si[--Oi],Si[Oi]=null,Xc=Si[--Oi],Si[Oi]=null;for(;e===Ua;)Ua=dn[--fn],dn[fn]=null,po=dn[--fn],dn[fn]=null,fo=dn[--fn],dn[fn]=null}var Qr=null,Kr=null,Dt=!1,En=null;function f1(e,t){var r=hn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Dy(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Qr=e,Kr=ea(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Qr=e,Kr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Ua!==null?{id:fo,overflow:po}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=hn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Qr=e,Kr=null,!0):!1;default:return!1}}function q0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function G0(e){if(Dt){var t=Kr;if(t){var r=t;if(!Dy(e,t)){if(q0(e))throw Error(we(418));t=ea(r.nextSibling);var n=Qr;t&&Dy(e,t)?f1(n,r):(e.flags=e.flags&-4097|2,Dt=!1,Qr=e)}}else{if(q0(e))throw Error(we(418));e.flags=e.flags&-4097|2,Dt=!1,Qr=e}}}function Ly(e){ Line truncated
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function Lp(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Q0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var aM=typeof WeakMap=="function"?WeakMap:Map;function V1(e,t,r){r=go(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){od||(od=!0,lh=n),Q0(e,t)},r}function B1(e,t,r){r=go(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){Q0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){Q0(e,t),typeof n!="function"&&(ra===null?ra=new Set([this]):ra.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function $y(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new aM;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=yM.bind(null,e,t,r),t.then(e,e))}function qy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Gy(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=go(-1,1),t.tag=2,ta(r,t,1))),r.lanes|=1),e)}var iM=To.ReactCurrentOwner,Dr=!1;function Or(e,t,r,n){t.child=e===null?y1(t,null,r,n):qi(t,e.child,r,n)}function Ky(e,t,r,n,o){r=r.render;var a=t.ref;return Di(t,o),n=Ng(e,t,r,n,a,o),r=jg(),e!==null&&!Dr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,xo(e,t,o)):(Dt&&r&&vg(t),t.flags|=1,Or(e,t,n,o),t.child)}function Yy(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!Bg(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,W1(e,t,a,n,o)):(e=vc(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:Ts,r(i,n)&&e.ref===t.ref)return xo(e,t,o)}return t.flags|=1,e=oa(a,n),e.ref=t.ref,e.return=t,t.child=e}function W1(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(Ts(a,n)&&e.ref===t.ref)if(Dr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)e.flags&131072&&(Dr=!0);else return t.lanes=e.lanes,xo(e,t,o)}return J0(e,t,r,n,o)}function U1(e,t,r){var n=t.pendingProps,o=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pt(Ei,Gr),Gr|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pt(Ei,Gr),Gr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Pt(Ei,Gr),Gr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Pt(Ei,Gr),Gr|=n;return Or(e,t,o,r),t.child}function H1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function J0(e,t,r,n,o){var a=zr(r)?Wa:_r.current;return a=Hi(t,a),Di(t,o),r=Ng(e,t,r,n,a,o),n=jg(),e!==null&&!Dr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,xo(e,t,o)):(Dt&&n&&vg(t),t.flags|=1,Or(e,t,r,o),t.child)}function Xy(e,t,r,n,o){if(zr(r)){var a=!0;Kc(t)}else a=!1;if(Di(t,o),t.stateNode===null)gc(e,t),m1(t,r,n),X0(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var p=i.context,g=r.contextType;typeof g=="object"&&g!==null?g=vn(g):(g=zr(r)?Wa:_r.current,g=Hi(t,g));var m=r.getDerivedStateFromProps,_=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function";_||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==n||p!==g)&&By(t,i,n,g),Ho=!1;var S=t.memoizedState;i.state=S,Zc(t,n,i,o),p=t.memoizedState,u!==n||S!==p||Fr.current||Ho?(typeof m=="function"&&(Y0(t,r,m,n),p=t.memoizedState),(u=Ho||Vy(t,r,u,n,S,p,g))?(_||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=p),i.props=n,i.state=p,i.context=g,n=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,g1(e,t),u=t.memoizedProps,g=t.type===t.elementType?u:On(t.type,u),i.props=g,_=t.pendingProps,S=i.context,p=r.contextType,typeof p=="object"&&p!==null?p=vn(p):(p=zr(r)?Wa:_r.current,p=Hi(t,p));var T=r.getDerivedStateFromProps;(m=typeof T=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==_||S!==p)&&By(t,i,n,p),Ho=!1,S=t.memoizedState,i.state=S,Zc(t,n,i,o);var C=t.memoizedS Line truncated
* @remix-run/router v1.10.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Ms(){return Ms=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ms.apply(this,arguments)}var Xo;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Xo||(Xo={}));const cw="popstate";function NM(e){e===void 0&&(e={});function t(n,o){let{pathname:a,search:i,hash:u}=n.location;return dh("",{pathname:a,search:i,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(n,o){return typeof o=="string"?o:sd(o)}return RM(t,r,null,e)}function Bt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function qg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function jM(){return Math.random().toString(36).substr(2,8)}function dw(e,t){return{usr:e.state,key:e.key,idx:t}}function dh(e,t,r,n){return r===void 0&&(r=null),Ms({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ul(t):t,{state:r,key:t&&t.key||n||jM()})}function sd(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function ul(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function RM(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,u=Xo.Pop,p=null,g=m();g==null&&(g=0,i.replaceState(Ms({},i.state,{idx:g}),""));function m(){return(i.state||{idx:null}).idx}function _(){u=Xo.Pop;let b=m(),d=b==null?null:b-g;g=b,p&&p({action:u,location:w.location,delta:d})}function S(b,d){u=Xo.Push;let l=dh(w.location,b,d);r&&r(l,b),g=m()+1;let c=dw(l,g),s=w.createHref(l);try{i.pushState(c,"",s)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;o.location.assign(s)}a&&p&&p({action:u,location:w.location,delta:1})}function T(b,d){u=Xo.Replace;let l=dh(w.location,b,d);r&&r(l,b),g=m();let c=dw(l,g),s=w.createHref(l);i.replaceState(c,"",s),a&&p&&p({action:u,location:w.location,delta:0})}function C(b){let d=o.location.origin!=="null"?o.location.origin:o.location.href,l=typeof b=="string"?b:sd(b);return Bt(d,"No window.location.(origin|href) available to create URL for href: "+l),new URL(l,d)}let w={get action(){return u},get location(){return e(o,i)},listen(b){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(cw,_),p=b,()=>{o.removeEventListener(cw,_),p=null}},createHref(b){return t(o,b)},createURL:C,encodeLocation(b){let d=C(b);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:S,replace:T,go(b){return i.go(b)}};return w}var fw;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(fw||(fw={}));function AM(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?ul(t):t,o=Is(n.pathname||"/",r);if(o==null)return null;let a=h5(e);MM(a);let i=null;for(let u=0;i==null&&u<a.length;++u)i=UM(a[u],$M(o));return i}function h5(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let o=(a,i,u)=>{let p={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};p.relativePath.startsWith("/")&&(Bt(p.relativePath.startsWith(n),'Absolute route path "'+p.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),p.relativePath=p.relativePath.slice(n.length));let g=aa([n,p.relativePath]),m=r.concat(p);a.children&&a.children.length>0&&(Bt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),h5(a.children,t,m,g)),!(a.path==null&&!a.index)&&t.push({path:g,score:BM(g,a.index),routesMeta:m})};return e.forEach((a,i)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))o(a,i);else for(let p of g5(a.path))o(a,i,p)}),t}function g5(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=g5(n.join("/")),u=[];return u.push(...i.map(p=>p===""?a:[a,p].join("/"))),o&&u.push(...i),u.map(p=>e.startsWith("/")&&p===""?"/":p)}function MM(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:WM(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const IM=/^:\w+$/,DM=3,LM=2,FM=1,zM=10,VM=-2,pw=e=>e==="*";function BM(e,t){let r=e.split("/"),n=r.length;return r.some(pw)&&(n+=VM),t&&(n+=LM),r.filter(o=>!pw(o)).reduce((o,a)=>o+(IM.test(a)?DM:a===""?FM:zM),n)}function WM(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function UM(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i<r.length;++i){let u=r[i],p=i===r.length-1,g=o==="/"?t:t.slice(o.length)||"/",m=fh({path:u.relativePath,caseSensitive:u.caseSensitive,end:p},g);if(!m)return null;Object.assign(n,m.paLine truncated
* React Router v6.17.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function ud(){return ud=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ud.apply(this,arguments)}const Zd=A.createContext(null),m5=A.createContext(null),Za=A.createContext(null),ef=A.createContext(null),ha=A.createContext({outlet:null,matches:[],isDataRoute:!1}),v5=A.createContext(null);function eI(e,t){let{relative:r}=t===void 0?{}:t;cl()||Bt(!1);let{basename:n,navigator:o}=A.useContext(Za),{hash:a,pathname:i,search:u}=tf(e,{relative:r}),p=i;return n!=="/"&&(p=i==="/"?n:aa([n,i])),o.createHref({pathname:p,search:u,hash:a})}function cl(){return A.useContext(ef)!=null}function ga(){return cl()||Bt(!1),A.useContext(ef).location}function y5(e){A.useContext(Za).static||A.useLayoutEffect(e)}function Qs(){let{isDataRoute:e}=A.useContext(ha);return e?pI():tI()}function tI(){cl()||Bt(!1);let e=A.useContext(Zd),{basename:t,navigator:r}=A.useContext(Za),{matches:n}=A.useContext(ha),{pathname:o}=ga(),a=JSON.stringify(Gg(n).map(p=>p.pathnameBase)),i=A.useRef(!1);return y5(()=>{i.current=!0}),A.useCallback(function(p,g){if(g===void 0&&(g={}),!i.current)return;if(typeof p=="number"){r.go(p);return}let m=Kg(p,JSON.parse(a),o,g.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:aa([t,m.pathname])),(g.replace?r.replace:r.push)(m,g.state,g)},[t,r,a,o,e])}function tf(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=A.useContext(ha),{pathname:o}=ga(),a=JSON.stringify(Gg(n).map(i=>i.pathnameBase));return A.useMemo(()=>Kg(e,JSON.parse(a),o,r==="path"),[e,a,o,r])}function rI(e,t){return nI(e,t)}function nI(e,t,r){cl()||Bt(!1);let{navigator:n}=A.useContext(Za),{matches:o}=A.useContext(ha),a=o[o.length-1],i=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let p=ga(),g;if(t){var m;let w=typeof t=="string"?ul(t):t;u==="/"||(m=w.pathname)!=null&&m.startsWith(u)||Bt(!1),g=w}else g=p;let _=g.pathname||"/",S=u==="/"?_:_.slice(u.length)||"/",T=AM(e,{pathname:S}),C=sI(T&&T.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:aa([u,n.encodeLocation?n.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:aa([u,n.encodeLocation?n.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r);return t&&C?A.createElement(ef.Provider,{value:{location:ud({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Xo.Pop}},C):C}function oI(){let e=fI(),t=JM(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),r?A.createElement("pre",{style:o},r):null,a)}const aI=A.createElement(oI,null);class iI extends A.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?A.createElement(ha.Provider,{value:this.props.routeContext},A.createElement(v5.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function lI(e){let{routeContext:t,match:r,children:n}=e,o=A.useContext(Zd);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),A.createElement(ha.Provider,{value:t},n)}function sI(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let a=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let u=a.findIndex(p=>p.route.id&&(i==null?void 0:i[p.route.id]));u>=0||Bt(!1),a=a.slice(0,Math.min(a.length,u+1))}return a.reduceRight((u,p,g)=>{let m=p.route.id?i==null?void 0:i[p.route.id]:null,_=null;r&&(_=p.route.errorElement||aI);let S=t.concat(a.slice(0,g+1)),T=()=>{let C;return m?C=_:p.route.Component?C=A.createElement(p.route.Component,null):p.route.element?C=p.route.element:C=u,A.createElement(lI,{match:p,routeContext:{outlet:u,matches:S,isDataRoute:r!=null},children:C})};return r&&(p.route.ErrorBoundary||p.route.errorElement||g===0)?A.createElement(iI,{location:r.location,revalidation:r.revalidation,component:_,error:m,children:T(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):T()},null)}var w5=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(w5||{}),cd=function(e){return e.UseBlocker="useBlocker",e.UseLoadeLine truncated
* React Router DOM v6.17.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function dd(){return dd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},dd.apply(this,arguments)}function _5(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function bI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function mI(e,t){return e.button===0&&(!t||t==="_self")&&!bI(e)}const vI=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],yI=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],wI=A.createContext({isTransitioning:!1}),xI="startTransition",hw=Kh[xI];function _I(e){let{basename:t,children:r,future:n,window:o}=e,a=A.useRef();a.current==null&&(a.current=NM({window:o,v5Compat:!0}));let i=a.current,[u,p]=A.useState({action:i.action,location:i.location}),{v7_startTransition:g}=n||{},m=A.useCallback(_=>{g&&hw?hw(()=>p(_)):p(_)},[p,g]);return A.useLayoutEffect(()=>i.listen(m),[i,m]),A.createElement(gI,{basename:t,children:r,location:u.location,navigationType:u.action,navigator:i})}const CI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",TI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,C5=A.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:a,replace:i,state:u,target:p,to:g,preventScrollReset:m,unstable_viewTransition:_}=t,S=_5(t,vI),{basename:T}=A.useContext(Za),C,w=!1;if(typeof g=="string"&&TI.test(g)&&(C=g,CI))try{let c=new URL(window.location.href),s=g.startsWith("//")?new URL(c.protocol+g):new URL(g),h=Is(s.pathname,T);s.origin===c.origin&&h!=null?g=h+s.search+s.hash:w=!0}catch{}let b=eI(g,{relative:o}),d=PI(g,{replace:i,state:u,target:p,preventScrollReset:m,relative:o,unstable_viewTransition:_});function l(c){n&&n(c),c.defaultPrevented||d(c)}return A.createElement("a",dd({},S,{href:C||b,onClick:w||a?n:l,ref:r,target:p}))}),SI=A.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:o=!1,className:a="",end:i=!1,style:u,to:p,unstable_viewTransition:g,children:m}=t,_=_5(t,yI),S=tf(p,{relative:_.relative}),T=ga(),C=A.useContext(m5),{navigator:w}=A.useContext(Za),b=C!=null&&kI(S)&&g===!0,d=w.encodeLocation?w.encodeLocation(S).pathname:S.pathname,l=T.pathname,c=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;o||(l=l.toLowerCase(),c=c?c.toLowerCase():null,d=d.toLowerCase());let s=l===d||!i&&l.startsWith(d)&&l.charAt(d.length)==="/",h=c!=null&&(c===d||!i&&c.startsWith(d)&&c.charAt(d.length)==="/"),v={isActive:s,isPending:h,isTransitioning:b},y=s?n:void 0,E;typeof a=="function"?E=a(v):E=[a,s?"active":null,h?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let P=typeof u=="function"?u(v):u;return A.createElement(C5,dd({},_,{"aria-current":y,className:E,ref:r,style:P,to:p,unstable_viewTransition:g}),typeof m=="function"?m(v):m)});var hh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(hh||(hh={}));var gw;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(gw||(gw={}));function OI(e){let t=A.useContext(Zd);return t||Bt(!1),t}function PI(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,p=Qs(),g=ga(),m=tf(e,{relative:i});return A.useCallback(_=>{if(mI(_,r)){_.preventDefault();let S=n!==void 0?n:sd(g)===sd(m);p(e,{replace:S,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:u})}},[g,p,m,n,o,r,e,a,i,u])}function kI(e,t){t===void 0&&(t={});let r=A.useContext(wI);r==null&&Bt(!1);let{basename:n}=OI(hh.useViewTransitionState),o=tf(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=Is(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=Is(r.nextLocation.pathname,n)||r.nextLocation.pathname;return fh(o.pathname,i)!=null||fh(o.pathname,a)!=null}function EI({title:e,titleId:t,...r},n){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?A.createElement("title",{id:t},e):null,A.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 013.75 6h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 6.75zM3 12a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 12zm0 5.25a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75a.75.75 0 01-.75-.75z",clipRule:"evenodd"}))}const NI=A.forwardRef(EI),jI=NI;function RI({title:e,titleId:t,...r},n){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?A.createElement("title",{id:t},e):null,A.createElement("path",{fillRule:"evenodd",d:"M11.078 2.25c-.917 0-1.69Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var u=r.apply(null,a);u&&n.push(u)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var p in a)t.call(a,p)&&a[p]&&n.push(p)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(O5);var Ye=O5.exports,P5={exports:{}},Sn={};function Xg(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=k5(e))&&(n&&(n+=" "),n+=t);return n}function k5(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=k5(e[n]))&&(r&&(r+=" "),r+=t);return r}function gh(){return gh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gh.apply(this,arguments)}function t4(e){var t=function(r){var n=r.theme,o=r.prefix,a={nextPart:new Map,validators:[]};return function(i,u){return u?i.map(function(p){return[p[0],p[1].map(function(g){return typeof g=="string"?u+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(function(m){return[u+m[0],m[1]]})):g})]}):i}(Object.entries(r.classGroups),o).forEach(function(i){bh(i[1],a,i[0],n)}),a}(e);return{getClassGroupId:function(r){var n=r.split("-");return n[0]===""&&n.length!==1&&n.shift(),E5(n,t)||function(o){if(bw.test(o)){var a=bw.exec(o)[1],i=a==null?void 0:a.substring(0,a.indexOf(":"));if(i)return"arbitrary.."+i}}(r)},getConflictingClassGroupIds:function(r){return e.conflictingClassGroups[r]||[]}}}function E5(e,t){var r;if(e.length===0)return t.classGroupId;var n=t.nextPart.get(e[0]),o=n?E5(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join("-");return(r=t.validators.find(function(i){return(0,i.validator)(a)}))==null?void 0:r.classGroupId}}Object.defineProperty(Sn,"__esModule",{value:!0});var bw=/^\[(.+)\]$/;function bh(e,t,r,n){e.forEach(function(o){if(typeof o!="string"){if(typeof o=="function")return o.isThemeGetter?void bh(o(n),t,r,n):void t.validators.push({validator:o,classGroupId:r});Object.entries(o).forEach(function(a){bh(a[1],mw(t,a[0]),r,n)})}else(o===""?t:mw(t,o)).classGroupId=r})}function mw(e,t){var r=e;return t.split("-").forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function r4(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,i){r.set(a,i),++t>e&&(t=0,n=r,r=new Map)}return{get:function(a){var i=r.get(a);return i!==void 0?i:(i=n.get(a))!==void 0?(o(a,i),i):void 0},set:function(a,i){r.has(a)?r.set(a,i):o(a,i)}}}function n4(e){var t=e.separator||":";return function(r){for(var n=0,o=[],a=0,i=0;i<r.length;i++){var u=r[i];n===0&&u===t[0]&&(t.length!==1&&r.slice(i,i+t.length)!==t||(o.push(r.slice(a,i)),a=i+t.length)),u==="["?n++:u==="]"&&n--}var p=o.length===0?r:r.substring(a),g=p.startsWith("!");return{modifiers:o,hasImportantModifier:g,baseClassName:g?p.substring(1):p}}}function o4(e){return gh({cache:r4(e.cacheSize),splitModifiers:n4(e)},t4(e))}var a4=/\s+/;function i4(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(a4).map(function(i){var u=r(i),p=u.modifiers,g=u.hasImportantModifier,m=n(u.baseClassName);if(!m)return{isTailwindClass:!1,originalClassName:i};var _=function(S){if(S.length<=1)return S;var T=[],C=[];return S.forEach(function(w){w[0]==="["?(T.push.apply(T,C.sort().concat([w])),C=[]):C.push(w)}),T.push.apply(T,C.sort()),T}(p).join(":");return{isTailwindClass:!0,modifierId:g?_+"!":_,classGroupId:m,originalClassName:i}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var u=i.modifierId,p=i.classGroupId,g=u+p;return!a.has(g)&&(a.add(g),o(p).forEach(function(m){return a.add(u+m)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function mh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,i=u;function u(g){var m=t[0],_=t.slice(1).reduce(function(S,T){return T(S)},m());return n=o4(_),o=n.cache.get,a=n.cache.set,i=p,p(g)}function p(g){var m=o(g);if(m)return m;var _=i4(g,n);return a(g,_),_}return function(){return i(Xg.apply(null,arguments))}}function Nt(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var ba=/^\[(.+)\]$/,l4=/^\d+\/\d+$/,s4=new Set(["px","full","screen"]),u4=/^(\d+)?(xs|sm|md|lg|xl)$/,c4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,d4=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function un(e){return!Number.isNaN(Number(e))||s4.has(e)||l4.test(e)||$o(e)}function $o(e){var t,r=(t=ba.exec(e))==null?void 0:t[1];return!!r&&(r.startsWith("length:")||c4.test(r))}function N5(e){var t,r=(t=ba.exec(e))==null?void 0:t[1];return!!r&&r.startsWLine truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var tF=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Rh=tF.join(","),LO=typeof Element>"u",Bs=LO?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,xd=!LO&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},_d=function e(t,r){var n;r===void 0&&(r=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),a=o===""||o==="true",i=a||r&&t&&e(t.parentNode);return i},rF=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},nF=function(t,r,n){if(_d(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Rh));return r&&Bs.call(t,Rh)&&o.unshift(t),o=o.filter(n),o},oF=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!_d(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),p=u.length?u:i.children,g=e(p,!0,n);n.flatten?o.push.apply(o,g):o.push({scopeParent:i,candidates:g})}else{var m=Bs.call(i,Rh);m&&n.filter(i)&&(r||!t.includes(i))&&o.push(i);var _=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),S=!_d(_,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(_&&S){var T=e(_===!0?i.children:_.children,!0,n);n.flatten?o.push.apply(o,T):o.push({scopeParent:i,candidates:T})}else a.unshift.apply(a,i.children)}}return o},FO=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},zO=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||rF(t))&&!FO(t)?0:t.tabIndex},aF=function(t,r){var n=zO(t);return n<0&&r&&!FO(t)?0:n},iF=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},VO=function(t){return t.tagName==="INPUT"},lF=function(t){return VO(t)&&t.type==="hidden"},sF=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},uF=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},cF=function(t){if(!t.name)return!0;var r=t.form||xd(t),n=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=n(window.CSS.escape(t.name));else try{o=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var a=uF(o,t.form);return!a||a===t},dF=function(t){return VO(t)&&t.type==="radio"},fF=function(t){return dF(t)&&!cF(t)},pF=function(t){var r,n=t&&xd(t),o=(r=n)===null||r===void 0?void 0:r.host,a=!1;if(n&&n!==t){var i,u,p;for(a=!!((i=o)!==null&&i!==void 0&&(u=i.ownerDocument)!==null&&u!==void 0&&u.contains(o)||t!=null&&(p=t.ownerDocument)!==null&&p!==void 0&&p.contains(t));!a&&o;){var g,m,_;n=xd(o),o=(g=n)===null||g===void 0?void 0:g.host,a=!!((m=o)!==null&&m!==void 0&&(_=m.ownerDocument)!==null&&_!==void 0&&_.contains(o))}}return a},$w=function(t){var r=t.getBoundingClientRect(),n=r.width,o=r.height;return n===0&&o===0},hF=function(t,r){var n=r.displayCheck,o=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=Bs.call(t,"details>summary:first-of-type"),i=a?t.parentElement:t;if(Bs.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof o=="function"){for(var u=t;t;){var p=t.parentElement,g=xd(t);if(p&&!p.shadowRoot&&o(p)===!0)return $w(t);t.assignedSlot?t=t.assignedSlot:!p&&g!==t.ownerDocument?t=g.host:t=p}t=u}if(pF(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return $w(t);return!1},gF=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var o=r.children.item(n);if(o.tagName==="LEGEND")return Bs.call(r,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}r=r.parentElement}return!1},bF=function(t,r){return!(r.disabled||_d(r)||lF(r)||hF(r,t)||sF(r)||gF(r))},qw=function(t,r){return!(fF(r)||zO(r)<0||!bF(t,r))},mF=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},vF=function e(t){var r=[],n=[];return t.forEach(function(o,a){var i=!!o.scopeParent,u=i?o.scopeParent:o,p=aF(u,i),g=i?e(o.candidates):u;p===0?i?r.push.apply(r,g):r.push(u):n.push({documentOrder:a,tabIndex:p,item:o,isScope:i,content:g})}),n.sort(iF).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concatLine truncated
More details: https://www.material-tailwind.com/docs/react/collapse
`);var P=r.default.useRef(null),k=(0,g.useTheme)().navbar,j=k.styles,M=j.base.mobileNav;s=s??{},h=h??"";var I=(0,u.twMerge)((0,i.default)((0,p.default)(M)),h),L={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat((E=P.current)===null||E===void 0?void 0:E.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},W=(0,a.default)(L,s),U=n.AnimatePresence,Y=(0,o.useMergeRefs)([l,P]);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement(U,null,r.default.createElement(n.m.div,_({},y,{ref:Y,className:I,initial:"unmount",exit:"unmount",animate:c?"mount":"unmount",variants:W}),v)))});w.displayName="MaterialTailwind.MobileNav",w.propTypes={open:m.propTypesOpen,animate:m.propTypesAnimate,className:m.propTypesClassName,children:m.propTypesChildren};var b=w})(EP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var s in c)Object.defineProperty(l,s,{enumerable:!0,get:c[s]})}t(e,{Navbar:function(){return b},MobileNav:function(){return g.MobileNav},default:function(){return d}});var r=T(A),n=T(Be),o=T(Ye),a=Ve,i=T(Lt),u=T(Fe),p=Le,g=EP,m=rf;function _(l,c,s){return c in l?Object.defineProperty(l,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):l[c]=s,l}function S(){return S=Object.assign||function(l){for(var c=1;c<arguments.length;c++){var s=arguments[c];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(l[h]=s[h])}return l},S.apply(this,arguments)}function T(l){return l&&l.__esModule?l:{default:l}}function C(l,c){if(l==null)return{};var s=w(l,c),h,v;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(v=0;v<y.length;v++)h=y[v],!(c.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(l,h)&&(s[h]=l[h])}return s}function w(l,c){if(l==null)return{};var s={},h=Object.keys(l),v,y;for(y=0;y<h.length;y++)v=h[y],!(c.indexOf(v)>=0)&&(s[v]=l[v]);return s}var b=r.default.forwardRef(function(l,c){var s=l.variant,h=l.color,v=l.shadow,y=l.blurred,E=l.fullWidth,P=l.className,k=l.children,j=C(l,["variant","color","shadow","blurred","fullWidth","className","children"]),M=(0,p.useTheme)().navbar,I=M.defaultProps,L=M.valid,W=M.styles,U=W.base,Y=W.variants;s=s??I.variant,h=h??I.color,v=v??I.shadow,y=y??I.blurred,E=E??I.fullWidth,P=P??I.className;var $,z=(0,o.default)((0,u.default)(U.navbar.initial),($={},_($,(0,u.default)(U.navbar.shadow),v),_($,(0,u.default)(U.navbar.blurred),y&&h==="white"),_($,(0,u.default)(U.navbar.fullWidth),E),$)),H=(0,o.default)((0,u.default)(Y[(0,i.default)(L.variants,s,"filled")][(0,i.default)(L.colors,h,"white")])),K=(0,a.twMerge)((0,o.default)(z,H),P);return r.default.createElement("nav",S({},j,{ref:c,className:K}),k)});b.propTypes={variant:n.default.oneOf(m.propTypesVariant),color:n.default.oneOf(m.propTypesColor),shadow:m.propTypesShadow,blurred:m.propTypesBlurred,fullWidth:m.propTypesFullWidth,className:m.propTypesClassName,children:m.propTypesChildren},b.displayName="MaterialTailwind.Navbar";var d=Object.assign(b,{MobileNav:g.MobileNav})})(kP);var NP={},Tf={},vl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(b,d){for(var l in d)Object.defineProperty(b,l,{enumerable:!0,get:d[l]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return u},propTypesOffset:function(){return p},propTypesDismiss:function(){return g},propTypesAnimate:function(){return m},propTypesContent:function(){return _},propTypesInteractive:function(){return S},propTypesClassName:function(){return T},propTypesChildren:function(){return C},propTypesContextValue:function(){return w}});var r=o(Be),n=Rt;function o(b){return b&&b.__esModule?b:{default:b}}var a=r.default.bool,i=r.default.func,u=n.propTypesPlacements,p=n.propTypesOffsetType,g=n.propTypesDismissType,m=n.propTypesAnimation,_=r.default.node,S=r.default.bool,T=r.default.string,C=r.default.node.isRequired,w=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:m.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(vl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(p,g){for(var m in g)Object.defineProperty(p,m,{enumerable:!0,get:g[m]})}t(e,{PopoverContext:function(){return a},usePopover:function(){return i},PopoverContextProvider:function(){return u}});var r=o(A),n=vl;function o(p){return p&&p.__esModule?p:{default:p}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.PopoverContext";function i(){var p=r.default.useContext(a);if(!p)throw new Error("usePopover() must be used within a Popover. It happens when you us Line truncated
${Ce?"border-purple-500 ring-1 ring-purple-500/40":"border-transparent"}
${!ct||ye?"opacity-75 bg-stormGrey-200/20":""}`,children:[N.jsxs("div",{className:"flex items-center space-x-4",id:"left",children:[N.jsx("input",{type:"checkbox",checked:Ce,onChange:()=>Pe(ee.Id,!ct),className:`h-5 w-5 text-purple-500 focus:ring-purple-400 border-gray-600 bg-gray-900 rounded ${ct?"":"opacity-40 cursor-not-allowed"}`,disabled:!ct}),N.jsx("div",{className:`w-12 h-12 flex items-center justify-center rounded-full
${ee.updateStatus==="✅"?"bg-mossGreen-600":ee.updateStatus==="⚠️"?"bg-warmAmberGlow-400":"bg-sunsetCoral-500"}`}),N.jsxs("div",{children:[N.jsx("p",{className:"text-lg antialiased font-sans font-semibold leading-normal text-inherit",children:ee.Name}),N.jsxs("p",{className:"text-sm antialiased font-sans font-light leading-normal text-inherit",children:["ID: ",ee.Id]}),ee.duplicateName&&N.jsx("p",{className:"text-xs text-amber-700",children:"⚠️ Doppelter Name erkannt"})]})]}),N.jsx("div",{className:"ml-auto flex flex-col items-end gap-1 text-sm",id:"right",children:Ae?N.jsxs(N.Fragment,{children:[N.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-warmAmberGlow-600",children:"Redeploy"}),N.jsx("span",{className:"text-warmAmberGlow-500",children:"läuft…"})]}):Te?N.jsxs(N.Fragment,{children:[N.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-warmAmberGlow-600",children:"Redeploy"}),N.jsx("span",{className:"text-warmAmberGlow-500",children:"in Warteliste…"})]}):st?N.jsxs(N.Fragment,{children:[N.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-stormGrey-500",children:"System"}),N.jsx("span",{className:"text-gray-300",children:"Redeploy deaktiviert"})]}):He?N.jsxs(N.Fragment,{children:[N.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-stormGrey-500",children:"Status"}),N.jsx("span",{className:"text-mossGreen-600",children:"Aktuell"})]}):N.jsx(ie.Button,{onClick:()=>$e(ee.Id),disabled:ye,className:"disabled:opacity-50 disabled:cursor-not-allowed",children:"Redeploy"})})]})},ee.Id)})}),N.jsx(Ef,{disabled:r||!!o})]})}const SV={idle:"Bereit",running:"Läuft",success:"Erfolgreich",error:"Fehlgeschlagen"},Gl={idle:"bg-stormGrey-700 text-gray-200",running:"bg-arcticBlue-600 text-white",success:"bg-mossGreen-600 text-white",error:"bg-sunsetCoral-600 text-white"},OV={initializing:"Vorbereitung","activating-maintenance":"Wartungsmodus aktivieren","executing-script":"Skript wird ausgeführt",waiting:"Warte auf Portainer",completed:"Abgeschlossen",failed:"Fehlgeschlagen"},PV={info:"text-arcticBlue-700",success:"text-mossGreen-700",warning:"text-warmAmberGlow-700",error:"text-sunsetCoral-700",stdout:"text-stormGrey-700",stderr:"text-warmAmberGlow-700",debug:"text-lavenderSmoke-700"},kV=e=>{if(!e)return"-";const t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString("de-DE",{hour:"2-digit",minute:"2-digit",second:"2-digit"})},ka=e=>{if(!e&&e!==0)return"-";const r=(n=>{if(n instanceof Date)return n;if(typeof n=="number"){const o=n>1e12?n:n*1e3;return new Date(o)}if(typeof n=="string"){const o=Number(n);if(!Number.isNaN(o)){const a=o>1e12?o:o*1e3;return new Date(a)}return new Date(n)}return null})(e);return!r||Number.isNaN(r.getTime())?String(e):r.toLocaleString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},Px=e=>e===1?"Git":e===2?"Compose":e??"-",s0=()=>({host:"",port:"22",username:"",password:"",extraSshArgs:""});function EV(){var $n,Ca,Sl;const{showToast:e}=fu(),{maintenance:t,update:r,script:n,ssh:o,loading:a,error:i,setMaintenanceMode:u,triggerUpdate:p,saveScript:g,resetScript:m,saveSshConfig:_,deleteSshConfig:S,testSshConnection:T,fetchSuperuserStatus:C,fetchSetupStatus:w,deleteSetupEndpoint:b,deleteSetupServer:d,updateSetupApiKey:l,removeSuperuserAccount:c}=pu(),s=!!(t!=null&&t.active),h=t==null?void 0:t.message,v=($n=t==null?void 0:t.extra)==null?void 0:$n.type,y=!!(r!=null&&r.running),[E,P]=A.useState(""),[k,j]=A.useState(!1),[M,I]=A.useState(!1),[L,W]=A.useState(""),[U,Y]=A.useState(!1),[$,z]=A.useState(()=>s0()),[H,K]=A.useState(!1),[Q,oe]=A.useState(!1),[ue,ce]=A.useState(!1),[te,ve]=A.useState(!1),[pe,se]=A.useState(!1),[be,fe]=A.useState(null);A.useEffect(()=>{if(!n)return;const le=n.custom??n.default??n.effective??"";P(le)},[n]),A.useEffect(()=>{if(!o){z(s0()),K(!1),oe(!1),fe(null);return}z({host:o.host??"",port:String(o.port??"22"),username:o.username??"",password:"",extraSshArgs:Array.isArray(o.extraSshArgs)?o.extraSshArgs.join(`
`):""}),K(!!o.passwordStored),oe(!1),fe(null)},[o]);const Pe=A.useMemo(()=>n?n.source==="custom"&&typeof n.custom=="string"?n.custom:n.default??n.effective??"":"",[n]),ke=n?E!==Pe:!1,Oe=(n==null?void 0:n.source)==="custom"?"Benutzerdefiniert":"Standard",[xe,De]=A.useState(!0),[$e,at]=A.useState(!1),[et,nt]=A.useState(null),[ft,Ge]=A.useState(""),[Je,qe]=A.useState(!1),[ee,ge]=A.useState(null),[Te,Ae]=A.useState(!0),[ye,Ce]=A.useState(""),[He,st]=A.useState({}),[ct,Ut]=A.useState(null),[Xe,Gt]=A.useState(null),[Kt,At]=A.useState(null),[Xt,ae]=A.useState([]),[me,je]=A.useState(!0),[tt,it]=A.useState(""),[yt,ut]=A.useState(!1),[Mt,er]=A.useState(null),[Oo,Br]=A.useState(null),wn=A.useRef(null),[mt,ii]=A.useState(null),[xn,Wr]=A.useState(!0),[ma,Po]=A.useState(""),[xl,ko]=A.useState(!1),[Eo,_l]=A.useState(null),cr=A.useRef(null),Ur=A.useCallback(async({silent:le=!1}={})=>{var Se,Ee;De(!0),Ge("");try{const Ne=await C(),Ue=!!(Ne!=null&&Ne.exists);at(Ue),nt(Ue?Ne.user??null:null)}catch(Ne){const Ue=((Ee=(Se=Ne.response)==null?void 0:Se.data)==null?void 0:Ee.error)||Ne.message||"Superuser-Status konnte nicht geladen werden";at(!1),nt(null),Ge(Ue),le||e({variant:"error",title:"Statusabfrage fehlgeschlagen",description:Ue})}finally{De(!1)}},[C,e]),Nr=A.useCallback(async({silent:le=!1}={})=>{var Se,Ee;le||Ae(!0),Ce("");try{const Ne=await w();ge(Ne),st({})}catch(Ne){const Ue=((Ee=(Se=Ne.response)==null?void 0:Se.data)==null?void 0:Ee.error)||Ne.message||"Setup-Daten konnten nicht geladen werden";Ce(Ue),le||e({variant:"error",title:"Setup-Daten",description:Ue})}finally{Ae(!1)}},[w,e]),oo=A.useCallback(async({silent:le=!1}={})=>{if(cr.current)return cr.current;const Se=(async()=>{var Ee,Ne;le?ko(!0):Wr(!0),Po("");try{const Tt=(await vt.get("/api/maintenance/portainer-status")).data??{};ii(Tt),_l(new Date)}catch(Ue){const Tt=((Ne=(Ee=Ue.response)==null?void 0:Ee.data)==null?void 0:Ne.error)||Ue.message||"Fehler beim Prüfen des Portainer-Status";Po(Tt),e({variant:"error",title:"Statusaktualisierung fehlgeschlagen",description:Tt})}finally{le?ko(!1):Wr(!1),cr.current=null}})();return cr.current=Se,Se},[e]),Wn=A.useCallback(async({silent:le=!1}={})=>{if(s||y){ae([]),it("Wartungsmodus aktiv – Duplikat-Verwaltung ist vorübergehend deaktiviert."),je(!1),ut(!1);return}if(wn.current)return wn.current;const Se=(async()=>{var Ee,Ne,Ue;le?ut(!0):je(!0),it("");try{const xt=(await vt.get("/api/maintenance/duplicates")).data,$t=Array.isArray(xt)?xt:(xt==null?void 0:xt.items)??[];ae($t),Br(new Date)}catch(Tt){if(((Ee=Tt.response)==null?void 0:Ee.status)===423){const xt="Wartungsmodus aktiv – Duplikat-Verwaltung ist vorübergehend deaktiviert.";ae([]),it(xt),e({variant:"warning",title:"Duplikat-Verwaltung gesperrt",description:xt})}else{const xt=((Ue=(Ne=Tt.response)==null?void 0:Ne.data)==null?void 0:Ue.error)||Tt.message||"Fehler beim Laden der Wartungsdaten";it(xt),e({variant:"error",title:"Duplikate konnten nicht geladen werden",description:xt})}}finally{le?ut(!1):je(!1),wn.current=null}})();return wn.current=Se,Se},[s,y,e]);A.useEffect(()=>{Ur({silent:!0})},[Ur]),A.useEffect(()=>{Nr()},[Nr]),A.useEffect(()=>{oo()},[oo]),A.useEffect(()=>{Wn()},[Wn]);const _n=A.useMemo(()=>{var le;return((le=ee==null?void 0:ee.servers)==null?void 0:le.items)??[]},[ee]),Hr=A.useMemo(()=>{var le;return((le=ee==null?void 0:ee.endpoints)==null?void 0:le.items)??[]},[ee]),va=A.useMemo(()=>{var Se;const le=((Se=ee==null?void 0:ee.apiKeys)==null?void 0:Se.items)??[];return new Map(le.map(Ee=>[Ee.serverId,Ee]))},[ee]),ya=A.useMemo(()=>!!(ee!=null&&ee.setupComplete),[ee]),Un=A.useMemo(()=>{const le=Array.isArray(Xt)?Xt.length:0,Se=Array.isArray(Xt)?Xt.reduce((Ee,Ne)=>{var Ue;return Ee+(((Ue=Ne==null?void 0:Ne.duplicates)==null?void 0:Ue.length)||0)},0):0;return{groups:le,duplicateCount:Se}},[Xt]),$r=A.useCallback((le,Se)=>{z(Ee=>({...Ee,[le]:Se})),le==="password"&&K(!1)},[]),Hn=A.useMemo(()=>{const le={host:$.host.trim(),port:Number.parseInt($.port,10)||22,username:$.username.trim(),extraSshArgs:($.extraSshArgs||"").split(/\r?\n/).map(Ee=>Ee.trim()).filter(Boolean)},Se=$.password??"";return Se?le.password=Se:H||(le.password=""),le},[$,H]),li=A.useCallback(async()=>{var le,Se;if(n)try{j(!0),await g(E),e({variant:"success",title:"Skript gespeichert",description:"Das benutzerdefinierte Portainer-Update-Skript wurde aktualisiert."})}catch(Ee){const Ne=((Se=(le=Ee.response)==null?void 0:le.data)==null?void 0:Se.error)||Ee.message||"Skript konnte nicht gespeichert werden";e({variant:"error",title:"Speichern fehlgeschlagen",description:Ne})}finally{j(!1)}},[g,E,n,e]),ao=A.useCallback(async()=>{var le,Se;try{j(!0),await m(),e({variant:"info",title:"Standardskript wiederhergestellt",description:"Es wird wieder das Standard-Update-Skript verwendet."})}catch(Ee){const Ne=((Se=(le=Ee.response)==null?void 0:le.data)==null?void 0:Se.error)||Ee.message||"Standardskript konnte nicht wiederhergestellt werden";e({variant:"error",title:"Zurücksetzen fehlgeschlagen",desc Line truncated
Dies setzt die Superuser-Einrichtung zurück.`)))try{qe(!0);const Ne=await c(),Ue=Number((Ne==null?void 0:Ne.usersRemoved)??0);e({variant:"success",title:"Superuser gelöscht",description:Ue>1?`${Ue} Konten aus der Superuser-Gruppe wurden entfernt.`:"Superuser-Konto wurde entfernt."}),await Ur({silent:!0})}catch(Ne){if(((le=Ne.response)==null?void 0:le.status)===404)await Ur({silent:!0}),e({variant:"info",title:"Kein Superuser vorhanden",description:"Es ist kein Superuser mehr vorhanden."});else{const Tt=((Ee=(Se=Ne.response)==null?void 0:Se.data)==null?void 0:Ee.error)||Ne.message||"Superuser konnte nicht gelöscht werden";e({variant:"error",title:"Löschen fehlgeschlagen",description:Tt})}}finally{qe(!1)}},[Je,xe,$e,c,Ur,e]),Tl=A.useCallback(async le=>{var Ue,Tt;if(Kt===le)return;const Se=Hr.find(xt=>xt.id===le);if(!Se)return;const Ee=Se.name||`Endpoint ${Se.external_id}`,Ne=`Endpoint "${Ee}" wirklich löschen?${Se.is_default?`
Dieser Endpoint ist aktuell als Standard markiert.`:""}`;if(!(typeof window<"u"&&!window.confirm(Ne))){At(le);try{await b(le),e({variant:"success",title:"Endpoint gelöscht",description:`Endpoint "${Ee}" wurde entfernt.`}),await Nr({silent:!0})}catch(xt){const $t=((Tt=(Ue=xt.response)==null?void 0:Ue.data)==null?void 0:Tt.error)||xt.message||"Endpoint konnte nicht gelöscht werden.";e({variant:"error",title:"Endpoint löschen fehlgeschlagen",description:$t})}finally{At(null)}}},[b,Kt,Nr,Hr,e]),xa=A.useCallback(async le=>{var Tt,xt;if(Xe===le)return;const Se=_n.find($t=>$t.id===le);if(!Se)return;const Ee=Hr.filter($t=>$t.server_id===le),Ne=Se.name||Se.url||`Server ${le}`,Ue=[`Server "${Ne}" wirklich löschen?`,Ee.length?`Dabei werden ${Ee.length} zugeordnete Endpoint(s) entfernt.`:null,"Das System benötigt anschließend erneut einen gültigen Server/Endpoint im Setup."].filter(Boolean).join(`
`);if(!(typeof window<"u"&&!window.confirm(Ue))){Gt(le);try{await d(le),e({variant:"success",title:"Server gelöscht",description:`Server "${Ne}" wurde entfernt.`}),await Nr({silent:!0})}catch($t){const gr=((xt=(Tt=$t.response)==null?void 0:Tt.data)==null?void 0:xt.error)||$t.message||"Server konnte nicht gelöscht werden.";e({variant:"error",title:"Server löschen fehlgeschlagen",description:gr})}finally{Gt(null)}}},[d,Nr,Xe,Hr,_n,e]),io=A.useCallback((le,Se)=>{st(Ee=>({...Ee,[le]:Se}))},[]),Ot=A.useCallback(async le=>{var Ee,Ne;const Se=(He[le]??"").trim();if(!Se){e({variant:"warning",title:"API-Key fehlt",description:"Bitte gib einen API-Key ein."});return}if(ct!==le){Ut(le);try{await l(le,Se),e({variant:"success",title:"API-Key aktualisiert",description:"Der API-Key wurde gespeichert."}),st(Ue=>({...Ue,[le]:""})),await Nr({silent:!0})}catch(Ue){const Tt=((Ne=(Ee=Ue.response)==null?void 0:Ee.data)==null?void 0:Ne.error)||Ue.message||"API-Key konnte nicht aktualisiert werden.";e({variant:"error",title:"Aktualisierung fehlgeschlagen",description:Tt})}finally{Ut(null)}}},[He,ct,Nr,e,l]),Ht=A.useCallback(async le=>{var Se,Ee;if(!(a||U)&&le!==s){if(y){e({variant:"warning",title:"Aktion nicht möglich",description:"Während eines laufenden Updates kann der Wartungsmodus nicht geändert werden."});return}Y(!0);try{const Ne=le&&!!v,Ue={active:le};Ne&&h?Ue.message=h:Ue.message=null,await u(Ue),e({variant:le?"info":"success",title:le?"Wartungsmodus aktiviert":"Wartungsmodus deaktiviert",description:le?"Benutzer sehen jetzt die Wartungsseite.":"StackPulse steht wieder zur Verfügung."})}catch(Ne){const Ue=((Ee=(Se=Ne.response)==null?void 0:Se.data)==null?void 0:Ee.error)||Ne.message||"Wartungsmodus konnte nicht geändert werden";e({variant:"error",title:"Änderung fehlgeschlagen",description:Ue})}finally{Y(!1)}}},[a,U,s,y,u,h,v,e]),kt=A.useCallback(async()=>{var Se,Ee;if(s||y){e({variant:"warning",title:"Update nicht möglich",description:"Während eines aktiven Wartungsmodus kann kein weiteres Update gestartet werden."});return}const le=(mt==null?void 0:mt.latestVersion)??(mt==null?void 0:mt.currentVersion)??"unbekannt";if(!(typeof window<"u"&&!window.confirm(`Portainer-Update starten?
Zielversion: ${le}.
Während des Updates befindet sich StackPulse im Wartungsmodus.
Fortfahren?`)))try{W(""),I(!0),await p(),e({variant:"info",title:"Update gestartet",description:"Das Portainer-Update wurde gestartet."})}catch(Ne){const Ue=((Ee=(Se=Ne.response)==null?void 0:Se.data)==null?void 0:Ee.error)||Ne.message||"Portainer-Update konnte nicht gestartet werden";W(Ue),e({variant:"error",title:"Update fehlgeschlagen",description:Ue})}finally{I(!1)}},[s,y,mt,p,e]),nn=A.useCallback(async le=>{var Ue,Tt,xt,$t;if(!le)return;if(s||y){e({variant:"warning",title:"Aktion nicht möglich",description:"Während des Wartungsmodus sind Bereinigungen deaktiviert."});return}const Se=(Ue=le.canonical)==null?void 0:Ue.Id;if(!Se)return;const Ee=(le.duplicates||[]).map(gr=>gr.Id).filter(Boolean);if(!Ee.length)return;const Ne=((Tt=le.canonical)==null?void 0:Tt.Name)||le.name||`Stack ${Se}`;if(!(typeof window<"u"&&!window.confirm(`Bereinigung für "${Ne}" starten?
Es werden ${Ee.length} Duplikate entfernt: ${Ee.join(", ")}`))){er(String(Se));try{const lo=(await vt.post("/api/maintenance/duplicates/cleanup",{canonicalId:Se,duplicateIds:Ee})).data??{};if(lo.success===!1)throw new Error(lo.error||"Bereinigung fehlgeschlagen");const Ol=Array.isArray(lo.results)?lo.results.filter(Ta=>Ta.status==="deleted").map(Ta=>Ta.id):Ee;e({variant:"success",title:"Bereinigung abgeschlossen",description:`${Ne} – entfernte IDs: ${Ol.join(", ")}`}),await Wn({silent:!0})}catch(gr){const lo=(($t=(xt=gr.response)==null?void 0:xt.data)==null?void 0:$t.error)||gr.message||"Bereinigung fehlgeschlagen";e({variant:"error",title:"Bereinigung fehlgeschlagen",description:lo})}finally{er(null)}}},[Wn,s,e,y]);t!=null&&t.activatedAt&&ka(t.activatedAt),t!=null&&t.updatedAt&&ka(t.updatedAt);const Cr=s||y,on=(r==null?void 0:r.status)??(y?"running":"idle"),_a=SV[on]??on,si=Gl[on]??Gl.idle,ui=r!=null&&r.stage?OV[r.stage]??r.stage:"–",ci=(r==null?void 0:r.logs)??[],Nf=(r==null?void 0:r.targetVersion)??"-",jf=(r==null?void 0:r.resultVersion)??"-",Rf=r!=null&&r.startedAt?ka(r.startedAt):"-",Af=r!=null&&r.finishedAt?ka(r.finishedAt):"-",gu=(r==null?void 0:r.message)??(y?"Update läuft…":""),bu=y||k||a;return N.jsxs("div",{className:"mt-12 mb-8 flex flex-col gap-12",children:[(s||y)&&N.jsx("div",{className:"rounded-lg border border-cyan-500/60 bg-cyan-900/30 px-4 py-3 text-sm text-bluegray-100",children:N.jsxs("div",{className:"flex flex-col gap-1",children:[N.jsxs("span",{children:["Wartungsmodus aktiv",h?` – ${h}`:y?" – Portainer-Update läuft":"","."]}),y&&N.jsxs("span",{className:"text-xs text-indigo-900",children:["Phase: ",ui]})]})}),N.jsxs(ie.Card,{children:[N.jsx(ie.CardHeader,{variant:"gradient",color:"gray",className:"mb-5 p-4",children:N.jsx(ie.Typography,{variant:"h6",color:"white",className:"flex items-center justify-between",children:N.jsx("span",{children:"Wartungsmodus"})})}),N.jsxs(ie.CardBody,{className:"flex flex-col gap-4 p-4",children:[N.jsxs("div",{className:"flex items-start justify-between gap-4",children:[N.jsx("div",{className:"space-y-1",children:N.jsx("p",{className:"text-sm antialiased font-sans text-sm font-light leading-normal text-inherit",children:"Schaltet StackPulse für Benutzer in den Wartungsmodus."})}),N.jsx(ie.Switch,{checked:s,disabled:U||a||y,onChange:le=>Ht(le.target.checked),ripple:!1,color:"amber"})]}),U&&N.jsx("p",{className:"text-xs text-stormGrey-500",children:"Wartungsmodus wird aktualisiert…"})]})]}),N.jsxs(ie.Card,{children:[N.jsx(ie.CardHeader,{variant:"gradient",color:"gray",className:"mb-5 p-4",children:N.jsx(ie.Typography,{variant:"h6",color:"white",className:"flex items-center justify-between",children:N.jsx("span",{children:"Server & Endpoints"})})}),N.jsxs(ie.CardBody,{className:"flex flex-col gap-4 p-4",children:[Te&&N.jsx("p",{className:"text-sm text-stormGrey-500",children:"Daten werden geladen…"}),!Te&&ye&&N.jsx(Alert,{color:"red",className:"border border-red-200 bg-red-50 text-red-700",children:ye}),!Te&&!ye&&N.jsxs("div",{className:"flex flex-col gap-6",children:[N.jsxs("div",{className:"flex flex-col gap-3",children:[N.jsxs("div",{className:"flex items-center justify-between",children:[N.jsx(ie.Typography,{variant:"small",color:"blue-gray",className:"font-semibold uppercase",children:"Server"}),N.jsxs(ie.Typography,{variant:"small",color:"blue-gray",children:[_n.length," vorhanden"]})]}),_n.length===0?N.jsx("p",{className:"text-sm text-stormGrey-500",children:"Es sind derzeit keine Server hinterlegt."}):N.jsx("div",{className:"flex flex-col gap-3",children:_n.map(le=>{const Se=va.get(le.id)||null,Ee=!!(Se!=null&&Se.hasKey),Ne=Se!=null&&Se.updatedAt?new Date(Se.updatedAt).toLocaleString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):null;return N.jsxs("div",{className:"flex flex-col gap-3 rounded-md border border-blue-gray-100 p-3 md:flex-row md:items-start md:justify-between",children:[N.jsxs("div",{className:"flex flex-col gap-1",children:[N.jsx("p",{className:"text-sm font-medium text-stormGrey-900",children:le.name||"Ohne Namen"}),N.jsx("p",{className:"text-xs text-stormGrey-500 break-all",children:le.url}),N.jsxs("p",{className:"text-xs text-stormGrey-500",children:["API-Key: ",Ee?"vorhanden":"nicht hinterlegt",Ne?` (aktualisiert am ${Ne})`:""]})]}),N.jsxs("div",{className:"flex w-full flex-col gap-2 md:max-w-xs",children:[N.jsx(ie.Input,{type:"password",label:"Neuer API-Key",value:He[le.id]??"",onChange:Ue=>io(le.id,Ue.target.value),disabled:Te||ct===le.id}),N.jsxs("div",{className:"flex items-center gap-2 justify-end",children:[N.jsx(ie.Button,{variant:"text",color:"red",size:"sm",onClick:()=>xa(le.id),disabled:Te||Xe===le.id||Kt!==null||ct===le.id,children:Xe===le.id?"Lösche…":"Löschen"}),N.jsx(ie.Button,{color:"blue",size:"sm",onClick:()=>Ot(le.id),disabled:Te||ct===le.id,children:ct===le.id?"Speichere…":"API-Key speichern"})]})]})]},le.id)})})]}),N.jsxs("div",{className:"flex f Line truncated
+93
View File
@@ -0,0 +1,93 @@
function NN(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in e)){const a=Object.getOwnPropertyDescriptor(n,o);a&&Object.defineProperty(e,o,a.get?a:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();function Mx(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ks(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Ix={exports:{}},Rd={},Dx={exports:{}},dt={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Ys=Symbol.for("react.element"),RN=Symbol.for("react.portal"),AN=Symbol.for("react.fragment"),MN=Symbol.for("react.strict_mode"),IN=Symbol.for("react.profiler"),DN=Symbol.for("react.provider"),LN=Symbol.for("react.context"),FN=Symbol.for("react.forward_ref"),zN=Symbol.for("react.suspense"),VN=Symbol.for("react.memo"),BN=Symbol.for("react.lazy"),Hv=Symbol.iterator;function WN(e){return e===null||typeof e!="object"?null:(e=Hv&&e[Hv]||e["@@iterator"],typeof e=="function"?e:null)}var Lx={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Fx=Object.assign,zx={};function al(e,t,r){this.props=e,this.context=t,this.refs=zx,this.updater=r||Lx}al.prototype.isReactComponent={};al.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};al.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Vx(){}Vx.prototype=al.prototype;function qh(e,t,r){this.props=e,this.context=t,this.refs=zx,this.updater=r||Lx}var Gh=qh.prototype=new Vx;Gh.constructor=qh;Fx(Gh,al.prototype);Gh.isPureReactComponent=!0;var $v=Array.isArray,Bx=Object.prototype.hasOwnProperty,Kh={current:null},Wx={key:!0,ref:!0,__self:!0,__source:!0};function Ux(e,t,r){var n,o={},a=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(a=""+t.key),t)Bx.call(t,n)&&!Wx.hasOwnProperty(n)&&(o[n]=t[n]);var u=arguments.length-2;if(u===1)o.children=r;else if(1<u){for(var f=Array(u),g=0;g<u;g++)f[g]=arguments[g+2];o.children=f}if(e&&e.defaultProps)for(n in u=e.defaultProps,u)o[n]===void 0&&(o[n]=u[n]);return{$$typeof:Ys,type:e,key:a,ref:i,props:o,_owner:Kh.current}}function UN(e,t){return{$$typeof:Ys,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Yh(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ys}function HN(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var qv=/\/+/g;function pp(e,t){return typeof e=="object"&&e!==null&&e.key!=null?HN(""+e.key):t.toString(36)}function ac(e,t,r,n,o){var a=typeof e;(a==="undefined"||a==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(a){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case Ys:case RN:i=!0}}if(i)return i=e,o=o(i),e=n===""?"."+pp(i,0):n,$v(o)?(r="",e!=null&&(r=e.replace(qv,"$&/")+"/"),ac(o,t,r,"",function(g){return g})):o!=null&&(Yh(o)&&(o=UN(o,r+(!o.key||i&&i.key===o.key?"":(""+o.key).replace(qv,"$&/")+"/")+e)),t.push(o)),1;if(i=0,n=n===""?".":n+":",$v(e))for(var u=0;u<e.length;u++){a=e[u];var f=n+pp(a,u);i+=ac(a,t,r,f,o)}else if(f=WN(e),typeof f=="function")for(e=f.call(e),u=0;!(a=e.next()).done;)a=a.value,f=n+pp(a,u++),i+=ac(a,t,r,f,o);else if(a==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return i}function ju(e,t,r){if(e==null)return e;var n=[],o=0;return ac(e,n,"","",function(a){return t.call(r,a,o++)}),n}function $N(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Er={current:null},ic={transition:null},qN={ReactCurrentDispatcher:Er,ReactCurrentBatchConfig:ic,ReactCurrentOwner:Kh};dt.Children={map:ju,forEach:function(e,t,r){ju(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ju(e,function(){t++}),t},toArray:function(e){return ju(e,function(t){return t})||[]},only:function(e){if(!Yh(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};dt.Component=al;dt.Fragment=AN;dt.Profiler=IN;dt.PureComponent=qh;dt.StrictMode=MN;dt.Suspense=zN;dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=qN;dt.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=Fx({},e.props),o=e.key,a=e.ref,i=e._owner;if(t!=null){if(t.ref!==void 0&&(a=t.ref,i=Kh.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(f in t)Bx.call(t,f)&&!Wx.hasOwnProperty(f)&&(n[f]=t[f]===void 0&&u!==void 0?u[f]:t[f])}var f=arguments.length-2;if(f===1)n.children=r;else if(1<f){u=Array(f);for(var g=0;g<f;g++)u[g]=arguments[g+2];n.children=u}return{$$typeof:Ys,type:e.type,key:o,ref:a,props:n,_owner:i}};dt.createContext=function(e){return e={$$typeof:LN,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:DN,_conLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var GN=A,KN=Symbol.for("react.element"),YN=Symbol.for("react.fragment"),XN=Object.prototype.hasOwnProperty,QN=GN.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,JN={key:!0,ref:!0,__self:!0,__source:!0};function Hx(e,t,r){var n,o={},a=null,i=null;r!==void 0&&(a=""+r),t.key!==void 0&&(a=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)XN.call(t,n)&&!JN.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)o[n]===void 0&&(o[n]=t[n]);return{$$typeof:KN,type:e,key:a,ref:i,props:o,_owner:QN.current}}Rd.Fragment=YN;Rd.jsx=Hx;Rd.jsxs=Hx;Ix.exports=Rd;var O=Ix.exports;function $x(e,t){return function(){return e.apply(t,arguments)}}const{toString:ZN}=Object.prototype,{getPrototypeOf:Qh}=Object,Ad=(e=>t=>{const r=ZN.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Wn=e=>(e=e.toLowerCase(),t=>Ad(t)===e),Md=e=>t=>typeof t===e,{isArray:il}=Array,ws=Md("undefined");function e2(e){return e!==null&&!ws(e)&&e.constructor!==null&&!ws(e.constructor)&&Xr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const qx=Wn("ArrayBuffer");function t2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&qx(e.buffer),t}const r2=Md("string"),Xr=Md("function"),Gx=Md("number"),Id=e=>e!==null&&typeof e=="object",n2=e=>e===!0||e===!1,lc=e=>{if(Ad(e)!=="object")return!1;const t=Qh(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},o2=Wn("Date"),a2=Wn("File"),i2=Wn("Blob"),l2=Wn("FileList"),s2=e=>Id(e)&&Xr(e.pipe),u2=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Xr(e.append)&&((t=Ad(e))==="formdata"||t==="object"&&Xr(e.toString)&&e.toString()==="[object FormData]"))},c2=Wn("URLSearchParams"),[d2,f2,p2,h2]=["ReadableStream","Request","Response","Headers"].map(Wn),g2=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xs(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),il(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{const a=r?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let u;for(n=0;n<i;n++)u=a[n],t.call(null,e[u],u,e)}}function Kx(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Aa=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Yx=e=>!ws(e)&&e!==Aa;function f0(){const{caseless:e}=Yx(this)&&this||{},t={},r=(n,o)=>{const a=e&&Kx(t,o)||o;lc(t[a])&&lc(n)?t[a]=f0(t[a],n):lc(n)?t[a]=f0({},n):il(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n<o;n++)arguments[n]&&Xs(arguments[n],r);return t}const m2=(e,t,r,{allOwnKeys:n}={})=>(Xs(t,(o,a)=>{r&&Xr(o)?e[a]=$x(o,r):e[a]=o},{allOwnKeys:n}),e),b2=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),v2=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},y2=(e,t,r,n)=>{let o,a,i;const u={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!u[i]&&(t[i]=e[i],u[i]=!0);e=r!==!1&&Qh(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},w2=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},x2=e=>{if(!e)return null;if(il(e))return e;let t=e.length;if(!Gx(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},_2=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Qh(Uint8Array)),C2=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},T2=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},S2=Wn("HTMLFormElement"),O2=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Gv=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),P2=Wn("RegExp"),Xx=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Xs(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},k2=e=>{Xx(e,(t,r)=>{if(Xr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Xr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},E2=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return il(e)?n(e):n(String(e).split(t)),r},j2=()=>{},N2=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,hp="abcdefghijklmnopqrstuvwxyz",Kv="0123456789",Qx={DIGIT:Kv,ALPHA:hp,ALPHA_DIGIT:hp+hp.toUpperCase()+Kv},R2=(e=16,t=Qx.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function A2(e){return!!(e&&Xr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const M2=e=>{const t=new Array(10),r=(n,o)=>{if(Id(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=iLine truncated
`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&tR[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Jv=Symbol("internals");function zl(e){return e&&String(e).trim().toLowerCase()}function sc(e){return e===!1||e==null?e:he.isArray(e)?e.map(sc):String(e)}function nR(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const oR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gp(e,t,r,n,o){if(he.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!he.isString(t)){if(he.isString(n))return t.indexOf(n)!==-1;if(he.isRegExp(n))return n.test(t)}}function aR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function iR(e,t){const r=he.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Ld{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(u,f,g){const b=zl(f);if(!b)throw new Error("header name must be a non-empty string");const _=he.findKey(o,b);(!_||o[_]===void 0||g===!0||g===void 0&&o[_]!==!1)&&(o[_||f]=sc(u))}const i=(u,f)=>he.forEach(u,(g,b)=>a(g,b,f));if(he.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(he.isString(t)&&(t=t.trim())&&!oR(t))i(rR(t),r);else if(he.isHeaders(t))for(const[u,f]of t.entries())a(f,u,n);else t!=null&&a(r,t,n);return this}get(t,r){if(t=zl(t),t){const n=he.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return nR(o);if(he.isFunction(r))return r.call(this,o,n);if(he.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=zl(t),t){const n=he.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||gp(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=zl(i),i){const u=he.findKey(n,i);u&&(!r||gp(n,n[u],u,r))&&(delete n[u],o=!0)}}return he.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||gp(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return he.forEach(this,(o,a)=>{const i=he.findKey(n,a);if(i){r[i]=sc(o),delete r[a];return}const u=t?aR(a):String(a).trim();u!==a&&delete r[a],r[u]=sc(o),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return he.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&he.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Jv]=this[Jv]={accessors:{}}).accessors,o=this.prototype;function a(i){const u=zl(i);n[u]||(iR(o,i),n[u]=!0)}return he.isArray(t)?t.forEach(a):a(t),this}}Ld.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);he.reduceDescriptors(Ld.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});he.freezeMethods(Ld);const An=Ld;function mp(e,t){const r=this||tg,n=t||r,o=An.from(n.headers);let a=n.data;return he.forEach(e,function(u){a=u.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function i_(e){return!!(e&&e.__CANCEL__)}function ll(e,t,r){rt.call(this,e??"canceled",rt.ERR_CANCELED,t,r),this.name="CanceledError"}he.inherits(ll,rt,{__CANCEL__:!0});function l_(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new rt("Request failed with status code "+r.status,[rt.ERR_BAD_REQUEST,rt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function lR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function sR(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const g=Date.now(),b=n[a];i||(i=g),r[o]=f,n[o]=g;let _=a,S=0;for(;_!==o;)S+=r[_++],_=_%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),g-i<t)return;const T=b&&g-b;return T?Math.round(S*1e3/T):void 0}}function uR(e,t){let r=0,n=1e3/t,o,a;const i=(g,b=Date.now())=>{r=b,o=null,a&&(clearTimeout(a),a=null),e.apply(null,g)};return[(...g)=>{const b=Date.now(),_=b-r;_>=n?i(g,b):(o=g,a||(a=setTimeout(()=>{a=null,i(o)},n-_)))},()=>o&&i(o)]}const Dc=(e,t,r=3)=>{let n=0;const o=sR(50,250);return uR(a=>{const i=a.loaded,u=a.lengthComputable?a.total:void 0,f=i-n,g=o(f),b=i<=u;n=i;const _={loaded:i,total:u,progress:u?i/u:void 0,bytes:f,rate:g||void 0,estimated:g&&u&&b?(u-i)/g:void 0,event:a,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(_)},r)},Zv=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},ey=e=>(...t)=>he.asap(()=>e(...t)),cR=Qr.hasStandardBrowserEnv?function(){const t=Qr.navigator&&/(msie|trident)/i.test(Qr.navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const u=he.isString(i)?o(i):i;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}(),dR=Qr.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];he.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),he.isString(n)&&i.push("path="+n),he.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function fR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function pR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function s_(e,t){return e&&!fR(t)?pR(e,t):t}const ty=e=>e instanceof An?{...e}:e;function Ba(e,t){t=t||{};const r={};function n(g,b,_){return he.isPlainObject(g)&&he.isPlainObject(b)?he.merge.call({caseless:_},g,b):he.isPlainObject(b)?he.merge({},b):he.isArray(b)?b.slice():b}function o(g,b,_){if(he.isUndefined(b)){if(!he.isUndefined(g))return n(void 0,g,_)}else return n(g,b,_)}function a(g,b){if(!he.isUndefined(b))return n(void 0,b)}function i(g,b){if(he.isUndefined(b)){if(!he.isUndefined(g))return n(void 0,g)}else return n(void 0,b)}function u(g,b,_){if(_ in t)return n(g,b);if(_ in e)return n(void 0,g)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:u,headers:(g,b)=>o(ty(g),ty(b),!0)};return he.forEach(Object.keys(Object.assign({},e,t)),function(b){const _=f[b]||o,S=_(e[b],t[b],b);he.isUndefined(S)&&_!==u||(r[b]=S)}),r}const u_=e=>{const t=Ba({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:u}=t;t.headers=i=An.from(i),t.url=n_(s_(t.baseURL,t.url),e.params,e.paramsSerializer),u&&i.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(enco Line truncated
`+a.map(oy).join(`
`):" "+oy(a[0]):"as no adapter specified";throw new rt("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:b0};function bp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ll(null,e)}function ay(e){return bp(e),e.headers=An.from(e.headers),e.data=mp.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),f_.getAdapter(e.adapter||tg.adapter)(e).then(function(n){return bp(e),n.data=mp.call(e,e.transformResponse,n),n.headers=An.from(n.headers),n},function(n){return i_(n)||(bp(e),n&&n.response&&(n.response.data=mp.call(e,e.transformResponse,n.response),n.response.headers=An.from(n.response.headers))),Promise.reject(n)})}const p_="1.7.5",rg={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{rg[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const iy={};rg.transitional=function(t,r,n){function o(a,i){return"[Axios v"+p_+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,u)=>{if(t===!1)throw new rt(o(i," has been removed"+(r?" in "+r:"")),rt.ERR_DEPRECATED);return r&&!iy[i]&&(iy[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,u):!0}};function SR(e,t,r){if(typeof e!="object")throw new rt("options must be an object",rt.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const u=e[a],f=u===void 0||i(u,a,e);if(f!==!0)throw new rt("option "+a+" must be "+f,rt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new rt("Unknown option "+a,rt.ERR_BAD_OPTION)}}const v0={assertOptions:SR,validators:rg},Vo=v0.validators;class Fc{constructor(t){this.defaults=t,this.interceptors={request:new Qv,response:new Qv}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ba(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&v0.assertOptions(n,{silentJSONParsing:Vo.transitional(Vo.boolean),forcedJSONParsing:Vo.transitional(Vo.boolean),clarifyTimeoutError:Vo.transitional(Vo.boolean)},!1),o!=null&&(he.isFunction(o)?r.paramsSerializer={serialize:o}:v0.assertOptions(o,{encode:Vo.function,serialize:Vo.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&he.merge(a.common,a[r.method]);a&&he.forEach(["delete","get","head","post","put","patch","common"],C=>{delete a[C]}),r.headers=An.concat(i,a);const u=[];let f=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(f=f&&w.synchronous,u.unshift(w.fulfilled,w.rejected))});const g=[];this.interceptors.response.forEach(function(w){g.push(w.fulfilled,w.rejected)});let b,_=0,S;if(!f){const C=[ay.bind(this),void 0];for(C.unshift.apply(C,u),C.push.apply(C,g),S=C.length,b=Promise.resolve(r);_<S;)b=b.then(C[_++],C[_++]);return b}S=u.length;let T=r;for(_=0;_<S;){const C=u[_++],w=u[_++];try{T=C(T)}catch(m){w.call(this,m);break}}try{b=ay.call(this,T)}catch(C){return Promise.reject(C)}for(_=0,S=g.length;_<S;)b=b.then(g[_++],g[_++]);return b}getUri(t){t=Ba(this.defaults,t);const r=s_(t.baseURL,t.url);return n_(r,t.params,t.paramsSerializer)}}he.forEach(["delete","get","head","options"],function(t){Fc.prototype[t]=function(r,n){return this.request(Ba(n||{},{method:t,url:r,data:(n||{}).data}))}});he.forEach(["post","put","patch"],function(t){function r(n){return function(a,i,u){return this.request(Ba(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Fc.prototype[t]=r(),Fc.prototype[t+"Form"]=r(!0)});const uc=Fc;class ng{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(o=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(u=>{n.subscribe(u),a=u}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,u){n.reason||(n.reason=new ll(a,i,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new ng(function(o){t=o}),cancel:t}}}const OR=ng;function PR(e){return function(r){return e.apply(null,r)}}function kR(e){return he.isObject(e)&&e.isAxiosError===!0}const y0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(y0).forEach(([e,t])=>{y0[t]=e});const ER=y0;function h_(e){const t=new uc(e),r=$x(uc.prototype.request,t);return he.extend(r,uc.prototype,t,{allOwnKeys:!0}),he.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return h_(Ba(e,o))},r}const er=h_(tg);er.Axios=uc;er.CanceledError=ll;er.CancelToken=OR;er.isCancel=i_;er.VERSION=p_;er.toFormData=Dd;er.AxiosError=rt;er.Cancel=er.CanceledError;er.all=function(t){return Promise.all(t)};er.spread=PR;er.isAxiosError=kR;er.mergeConfig=Ba;er.AxiosHeaders=An;er.formToJSON=e=>a_(he.isHTMLForm(e)?new FormData(e):e);er.getAdapter=f_.getAdapter;er.HttpStatusCode=ER;er.default=er;const pt=er;var w0={},g_={exports:{}},rn={},m_={exports:{}},b_={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(U,V){var H=U.length;U.push(V);e:for(;0<H;){var G=H-1>>>1,Q=U[G];if(0<o(Q,V))U[G]=V,U[H]=Q,H=G;else break e}}function r(U){return U.length===0?null:U[0]}function n(U){if(U.length===0)return null;var V=U[0],H=U.pop();if(H!==V){U[0]=H;e:for(var G=0,Q=U.length,oe=Q>>>1;G<oe;){var ue=2*(G+1)-1,ce=U[ue],re=ue+1,ve=U[re];if(0>o(ce,H))re<Q&&0>o(ve,ce)?(U[G]=ve,U[re]=H,G=re):(U[G]=ce,U[ue]=H,G=ue);else if(re<Q&&0>o(ve,H))U[G]=ve,U[re]=H,G=re;else break e}}return V}function o(U,V){var H=U.sortIndex-V.sortIndex;return H!==0?H:U.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,u=i.now();e.unstable_now=function(){return i.now()-u}}var f=[],g=[],b=1,_=null,S=3,T=!1,C=!1,w=!1,m=typeof setTimeout=="function"?setTimeout:null,d=typeof clearTimeout=="function"?clearTimeout:null,l=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function c(U){for(var V=r(g);V!==null;){if(V.callback===null)n(g);else if(V.startTime<=U)n(g),V.sortIndex=V.expirationTime,t(f,V);else break;V=r(g)}}function s(U){if(w=!1,c(U),!C)if(r(f)!==null)C=!0,$(h);else{var V=r(g);V!==null&&Y(s,V.startTime-U)}}function h(U,V){C=!1,w&&(w=!1,d(E),E=-1),T=!0;var H=S;try{for(c(V),_=r(f);_!==null&&(!(_.expirationTime>V)||U&&!N());){var G=_.callback;if(typeof G=="function"){_.callback=null,S=_.priorityLevel;var Q=G(_.expirationTime<=V);V=e.unstable_now(),typeof Q=="function"?_.callback=Q:_===r(f)&&n(f),c(V)}else n(f);_=r(f)}if(_!==null)var oe=!0;else{var ue=r(g);ue!==null&&Y(s,ue.startTime-V),oe=!1}return oe}finally{_=null,S=H,T=!1}}var v=!1,y=null,E=-1,P=5,j=-1;function N(){return!(e.unstable_now()-j<P)}function M(){if(y!==null){var U=e.unstable_now();j=U;var V=!0;try{V=y(!0,U)}finally{V?D():(v=!1,y=null)}}else v=!1}var D;if(typeof l=="function")D=function(){l(M)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,z=L.port2;L.port1.onmessage=M,D=function(){z.postMessage(null)}}else D=function(){m(M,0)};function $(U){y=U,v||(v=!0,D())}function Y(U,V){E=m(function(){U(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){C||T||(C=!0,$(h))},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return S},e.unstable_getFirstCallbackNode=function(){return r(f)},e.unstable_next=function(U){switch(S){case 1:case 2:case 3:var V=3;break;default:V=S}var H=S;S=V;try{return U()}finally{S=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(U,V){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var H=S;S=U;try{return V()}finally{S=H}},e.unstable_scheduleCallback=function(U,V,H){var G=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?G+H:G):H=G,U){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=H+Q,U={id:b++,callback:V,priorityLevel:U,startTime:H,expirationTime:Q,sortIndex:-1},H>G?(U.sortIndex=H,t(g,U),r(f)===null&&U===r(g)&&(w?(d(E),E=-1):w=!0,Y(s,H-G))):(U.sortIndex=Q,t(f,U),C||T||(C=!0,$(h))),U},e.unstable_shouldYield=N,e.unstable_wrapCallback=function(U){var V=S;return function(){var H=S;S=V;try{return U.apply(this,arguments)}finally{S=H}}}})(b_);m_.exports=b_;var jR=m_.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var v_=A,en=jR;function we(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y_=new Set,xs={};function Qa(e,t){Ui(e,t),Ui(e+"Capture",t)}function Ui(e,t){for(xs[e]=t,e=0;e<t.length;e++)y_.add(t[e])}var vo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),x0=Object.prototype.hasOwnProperty,NR=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ly={},sy={};function RR(e){return x0.call(sy,e)?!0:x0.call(ly,e)?!1:NR.test(e)?sy[e]=!0:(ly[e]=!0,!1)}function AR(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function MR(e,t,r,n){if(t===null||typeof t>"u"||AR(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function jr(e,t,r,n,o,a,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var hr={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){hr[e]=new jr(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];hr[t]=new jr(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){hr[e]=new jr(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){hr[e]=new jr(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){hr[e]=new jr(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){hr[e]=new jr(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){hr[e]=new jr(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){hr[e]=new jr(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){hr[e]=new jr(e,5,!1,e.toLowerCase(),null,!1,!1)});var og=/[\-:]([a-z])/g;function ag(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(og,ag);hr[t]=new jr(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(og,ag);hr[t]=new jr(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(og,ag);hr[t]=new jr(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){hr[e]=new jr(e,1,!1,e.toLowerCase(),null,!1,!1)});hr.xlinkHref=new jr("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){hr[e]=new jr(e,1,!1,e.toLowerCase(),null,!0,!0)});function ig(e,t,r,n){var o=hr.hasOwnProperty(t)?hr[t]:null;(o!==null?o.type!==0:n||!(2<t.length)||t[0]!=="o"&&t[0]!== Line truncated
`+vp+e}var yp=!1;function wp(e,t){if(!e||yp)return"";yp=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(g){var n=g}Reflect.construct(e,[],t)}else{try{t.call()}catch(g){n=g}e.call(t.prototype)}else{try{throw Error()}catch(g){n=g}e()}}catch(g){if(g&&n&&typeof g.stack=="string"){for(var o=g.stack.split(`
`),a=n.stack.split(`
`),i=o.length-1,u=a.length-1;1<=i&&0<=u&&o[i]!==a[u];)u--;for(;1<=i&&0<=u;i--,u--)if(o[i]!==a[u]){if(i!==1||u!==1)do if(i--,u--,0>u||o[i]!==a[u]){var f=`
`+o[i].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),f}while(1<=i&&0<=u);break}}}finally{yp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Jl(e):""}function IR(e){switch(e.tag){case 5:return Jl(e.type);case 16:return Jl("Lazy");case 13:return Jl("Suspense");case 19:return Jl("SuspenseList");case 0:case 2:case 15:return e=wp(e.type,!1),e;case 11:return e=wp(e.type.render,!1),e;case 1:return e=wp(e.type,!0),e;default:return""}}function S0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case yi:return"Fragment";case vi:return"Portal";case _0:return"Profiler";case lg:return"StrictMode";case C0:return"Suspense";case T0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case x_:return(e.displayName||"Context")+".Consumer";case w_:return(e._context.displayName||"Context")+".Provider";case sg:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ug:return t=e.displayName||null,t!==null?t:S0(e.type)||"Memo";case Ho:t=e._payload,e=e._init;try{return S0(e(t))}catch{}}return null}function DR(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return S0(t);case 8:return t===lg?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ca(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function C_(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function LR(e){var t=C_(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){n=""+i,a.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ru(e){e._valueTracker||(e._valueTracker=LR(e))}function T_(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=C_(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function zc(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function O0(e,t){var r=t.checked;return Wt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function cy(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ca(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function S_(e,t){t=t.checked,t!=null&&ig(e,"checked",t,!1)}function P0(e,t){S_(e,t);var r=ca(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?k0(e,t.type,r):t.hasOwnProperty("defaultValue")&&k0(e,t.type,ca(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function dy(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function k0(e,t,r){(t!=="number"||zc(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Zl=Array.isArray;function Ri(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+ca(r),t=null,o=0;o<e.length;o++){if(e[o].value===r){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function E0(e,t){if(t.dan Line truncated
`).replace(GA,"")}function Vu(e,t,r){if(t=My(t),My(e)!==t&&r)throw Error(we(425))}function Gc(){}var W0=null,U0=null;function H0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var $0=typeof setTimeout=="function"?setTimeout:void 0,KA=typeof clearTimeout=="function"?clearTimeout:void 0,Iy=typeof Promise=="function"?Promise:void 0,YA=typeof queueMicrotask=="function"?queueMicrotask:typeof Iy<"u"?function(e){return Iy.resolve(null).then(e).catch(XA)}:$0;function XA(e){setTimeout(function(){throw e})}function Ap(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&o.nodeType===8)if(r=o.data,r==="/$"){if(n===0){e.removeChild(o),Os(t);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=o}while(r);Os(t)}function ra(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Dy(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var ul=Math.random().toString(36).slice(2),Qn="__reactFiber$"+ul,Ns="__reactProps$"+ul,yo="__reactContainer$"+ul,q0="__reactEvents$"+ul,QA="__reactListeners$"+ul,JA="__reactHandles$"+ul;function Ma(e){var t=e[Qn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[yo]||r[Qn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Dy(e);e!==null;){if(r=e[Qn])return r;e=Dy(e)}return t}e=r,r=e.parentNode}return null}function Zs(e){return e=e[Qn]||e[yo],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ci(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(we(33))}function Ud(e){return e[Ns]||null}var G0=[],Ti=-1;function ha(e){return{current:e}}function Nt(e){0>Ti||(e.current=G0[Ti],G0[Ti]=null,Ti--)}function Pt(e,t){Ti++,G0[Ti]=e.current,e.current=t}var da={},Cr=ha(da),zr=ha(!1),Wa=da;function Hi(e,t){var r=e.type.contextTypes;if(!r)return da;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o={},a;for(a in r)o[a]=t[a];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Vr(e){return e=e.childContextTypes,e!=null}function Kc(){Nt(zr),Nt(Cr)}function Ly(e,t,r){if(Cr.current!==da)throw Error(we(168));Pt(Cr,t),Pt(zr,r)}function p1(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var o in n)if(!(o in t))throw Error(we(108,DR(e)||"Unknown",o));return Wt({},r,n)}function Yc(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||da,Wa=Cr.current,Pt(Cr,e),Pt(zr,zr.current),!0}function Fy(e,t,r){var n=e.stateNode;if(!n)throw Error(we(169));r?(e=p1(e,t,Wa),n.__reactInternalMemoizedMergedChildContext=e,Nt(zr),Nt(Cr),Pt(Cr,e)):Nt(zr),Pt(zr,r)}var fo=null,Hd=!1,Mp=!1;function h1(e){fo===null?fo=[e]:fo.push(e)}function ZA(e){Hd=!0,h1(e)}function ga(){if(!Mp&&fo!==null){Mp=!0;var e=0,t=_t;try{var r=fo;for(_t=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}fo=null,Hd=!1}catch(o){throw fo!==null&&(fo=fo.slice(e+1)),z_(dg,ga),o}finally{_t=t,Mp=!1}}return null}var Si=[],Oi=0,Xc=null,Qc=0,fn=[],pn=0,Ua=null,po=1,ho="";function Na(e,t){Si[Oi++]=Qc,Si[Oi++]=Xc,Xc=e,Qc=t}function g1(e,t,r){fn[pn++]=po,fn[pn++]=ho,fn[pn++]=Ua,Ua=e;var n=po;e=ho;var o=32-Mn(n)-1;n&=~(1<<o),r+=1;var a=32-Mn(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,po=1<<32-Mn(t)+o|r<<o|n,ho=a+e}else po=1<<a|r<<o|n,ho=e}function wg(e){e.return!==null&&(Na(e,1),g1(e,1,0))}function xg(e){for(;e===Xc;)Xc=Si[--Oi],Si[Oi]=null,Qc=Si[--Oi],Si[Oi]=null;for(;e===Ua;)Ua=fn[--pn],fn[pn]=null,ho=fn[--pn],fn[pn]=null,po=fn[--pn],fn[pn]=null}var Jr=null,Yr=null,Dt=!1,jn=null;function m1(e,t){var r=gn(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function zy(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Jr=e,Yr=ra(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Jr=e,Yr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Ua!==null?{id:po,overflow:ho}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=gn(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,Jr=e,Yr=null,!0):!1;default:return!1}}function K0(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Y0(e){if(Dt){var t=Yr;if(t){var r=t;if(!zy(e,t)){if(K0(e))throw Error(we(418));t=ra(r.nextSibling);var n=Jr;t&&zy(e,t)?m1(n,r):(e.flags=e.flags&-4097|2,Dt=!1,Jr=e)}}else{if(K0(e))throw Error(we(418));e.flags=e.flags&-4097|2,Dt=!1,Jr=e}}}function Vy(e){ Line truncated
Error generating stack: `+a.message+`
`+a.stack}return{value:e,source:t,stack:o,digest:null}}function zp(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Z0(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var sM=typeof WeakMap=="function"?WeakMap:Map;function H1(e,t,r){r=go(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){ad||(ad=!0,uh=n),Z0(e,t)},r}function $1(e,t,r){r=go(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){Z0(e,t)}}var a=e.stateNode;return a!==null&&typeof a.componentDidCatch=="function"&&(r.callback=function(){Z0(e,t),typeof n!="function"&&(oa===null?oa=new Set([this]):oa.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function Ky(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new sM;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=_M.bind(null,e,t,r),t.then(e,e))}function Yy(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Xy(e,t,r,n,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=go(-1,1),t.tag=2,na(r,t,1))),r.lanes|=1),e)}var uM=To.ReactCurrentOwner,Lr=!1;function Pr(e,t,r,n){t.child=e===null?C1(t,null,r,n):qi(t,e.child,r,n)}function Qy(e,t,r,n,o){r=r.render;var a=t.ref;return Di(t,o),n=Rg(e,t,r,n,a,o),r=Ag(),e!==null&&!Lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,xo(e,t,o)):(Dt&&r&&wg(t),t.flags|=1,Pr(e,t,n,o),t.child)}function Jy(e,t,r,n,o){if(e===null){var a=r.type;return typeof a=="function"&&!Ug(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,q1(e,t,a,n,o)):(e=yc(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!(e.lanes&o)){var i=a.memoizedProps;if(r=r.compare,r=r!==null?r:ks,r(i,n)&&e.ref===t.ref)return xo(e,t,o)}return t.flags|=1,e=ia(a,n),e.ref=t.ref,e.return=t,t.child=e}function q1(e,t,r,n,o){if(e!==null){var a=e.memoizedProps;if(ks(a,n)&&e.ref===t.ref)if(Lr=!1,t.pendingProps=n=a,(e.lanes&o)!==0)e.flags&131072&&(Lr=!0);else return t.lanes=e.lanes,xo(e,t,o)}return eh(e,t,r,n,o)}function G1(e,t,r){var n=t.pendingProps,o=n.children,a=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Pt(Ei,Kr),Kr|=r;else{if(!(r&1073741824))return e=a!==null?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Pt(Ei,Kr),Kr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=a!==null?a.baseLanes:r,Pt(Ei,Kr),Kr|=n}else a!==null?(n=a.baseLanes|r,t.memoizedState=null):n=r,Pt(Ei,Kr),Kr|=n;return Pr(e,t,o,r),t.child}function K1(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function eh(e,t,r,n,o){var a=Vr(r)?Wa:Cr.current;return a=Hi(t,a),Di(t,o),r=Rg(e,t,r,n,a,o),n=Ag(),e!==null&&!Lr?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,xo(e,t,o)):(Dt&&n&&wg(t),t.flags|=1,Pr(e,t,r,o),t.child)}function Zy(e,t,r,n,o){if(Vr(r)){var a=!0;Yc(t)}else a=!1;if(Di(t,o),t.stateNode===null)mc(e,t),x1(t,r,n),J0(t,r,n,o),n=!0;else if(e===null){var i=t.stateNode,u=t.memoizedProps;i.props=u;var f=i.context,g=r.contextType;typeof g=="object"&&g!==null?g=yn(g):(g=Vr(r)?Wa:Cr.current,g=Hi(t,g));var b=r.getDerivedStateFromProps,_=typeof b=="function"||typeof i.getSnapshotBeforeUpdate=="function";_||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==n||f!==g)&&Hy(t,i,n,g),$o=!1;var S=t.memoizedState;i.state=S,ed(t,n,i,o),f=t.memoizedState,u!==n||S!==f||zr.current||$o?(typeof b=="function"&&(Q0(t,r,b,n),f=t.memoizedState),(u=$o||Uy(t,r,u,n,S,f,g))?(_||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(t.flags|=4194308)):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=f),i.props=n,i.state=f,i.context=g,n=u):(typeof i.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,y1(e,t),u=t.memoizedProps,g=t.type===t.elementType?u:Pn(t.type,u),i.props=g,_=t.pendingProps,S=i.context,f=r.contextType,typeof f=="object"&&f!==null?f=yn(f):(f=Vr(r)?Wa:Cr.current,f=Hi(t,f));var T=r.getDerivedStateFromProps;(b=typeof T=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==_||S!==f)&&Hy(t,i,n,f),$o=!1,S=t.memoizedState,i.state=S,ed(t,n,i,o);var C=t.memoizedS Line truncated
* @remix-run/router v1.10.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function Fs(){return Fs=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fs.apply(this,arguments)}var Qo;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Qo||(Qo={}));const pw="popstate";function AM(e){e===void 0&&(e={});function t(n,o){let{pathname:a,search:i,hash:u}=n.location;return ph("",{pathname:a,search:i,hash:u},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function r(n,o){return typeof o=="string"?o:ud(o)}return IM(t,r,null,e)}function Bt(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Kg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function MM(){return Math.random().toString(36).substr(2,8)}function hw(e,t){return{usr:e.state,key:e.key,idx:t}}function ph(e,t,r,n){return r===void 0&&(r=null),Fs({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?cl(t):t,{state:r,key:t&&t.key||n||MM()})}function ud(e){let{pathname:t="/",search:r="",hash:n=""}=e;return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function cl(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function IM(e,t,r,n){n===void 0&&(n={});let{window:o=document.defaultView,v5Compat:a=!1}=n,i=o.history,u=Qo.Pop,f=null,g=b();g==null&&(g=0,i.replaceState(Fs({},i.state,{idx:g}),""));function b(){return(i.state||{idx:null}).idx}function _(){u=Qo.Pop;let m=b(),d=m==null?null:m-g;g=m,f&&f({action:u,location:w.location,delta:d})}function S(m,d){u=Qo.Push;let l=ph(w.location,m,d);r&&r(l,m),g=b()+1;let c=hw(l,g),s=w.createHref(l);try{i.pushState(c,"",s)}catch(h){if(h instanceof DOMException&&h.name==="DataCloneError")throw h;o.location.assign(s)}a&&f&&f({action:u,location:w.location,delta:1})}function T(m,d){u=Qo.Replace;let l=ph(w.location,m,d);r&&r(l,m),g=b();let c=hw(l,g),s=w.createHref(l);i.replaceState(c,"",s),a&&f&&f({action:u,location:w.location,delta:0})}function C(m){let d=o.location.origin!=="null"?o.location.origin:o.location.href,l=typeof m=="string"?m:ud(m);return Bt(d,"No window.location.(origin|href) available to create URL for href: "+l),new URL(l,d)}let w={get action(){return u},get location(){return e(o,i)},listen(m){if(f)throw new Error("A history only accepts one active listener");return o.addEventListener(pw,_),f=m,()=>{o.removeEventListener(pw,_),f=null}},createHref(m){return t(o,m)},createURL:C,encodeLocation(m){let d=C(m);return{pathname:d.pathname,search:d.search,hash:d.hash}},push:S,replace:T,go(m){return i.go(m)}};return w}var gw;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(gw||(gw={}));function DM(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?cl(t):t,o=zs(n.pathname||"/",r);if(o==null)return null;let a=v5(e);LM(a);let i=null;for(let u=0;i==null&&u<a.length;++u)i=qM(a[u],KM(o));return i}function v5(e,t,r,n){t===void 0&&(t=[]),r===void 0&&(r=[]),n===void 0&&(n="");let o=(a,i,u)=>{let f={relativePath:u===void 0?a.path||"":u,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};f.relativePath.startsWith("/")&&(Bt(f.relativePath.startsWith(n),'Absolute route path "'+f.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),f.relativePath=f.relativePath.slice(n.length));let g=la([n,f.relativePath]),b=r.concat(f);a.children&&a.children.length>0&&(Bt(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+g+'".')),v5(a.children,t,b,g)),!(a.path==null&&!a.index)&&t.push({path:g,score:HM(g,a.index),routesMeta:b})};return e.forEach((a,i)=>{var u;if(a.path===""||!((u=a.path)!=null&&u.includes("?")))o(a,i);else for(let f of y5(a.path))o(a,i,f)}),t}function y5(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=y5(n.join("/")),u=[];return u.push(...i.map(f=>f===""?a:[a,f].join("/"))),o&&u.push(...i),u.map(f=>e.startsWith("/")&&f===""?"/":f)}function LM(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:$M(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const FM=/^:\w+$/,zM=3,VM=2,BM=1,WM=10,UM=-2,mw=e=>e==="*";function HM(e,t){let r=e.split("/"),n=r.length;return r.some(mw)&&(n+=UM),t&&(n+=VM),r.filter(o=>!mw(o)).reduce((o,a)=>o+(FM.test(a)?zM:a===""?BM:WM),n)}function $M(e,t){return e.length===t.length&&e.slice(0,-1).every((n,o)=>n===t[o])?e[e.length-1]-t[t.length-1]:0}function qM(e,t){let{routesMeta:r}=e,n={},o="/",a=[];for(let i=0;i<r.length;++i){let u=r[i],f=i===r.length-1,g=o==="/"?t:t.slice(o.length)||"/",b=hh({path:u.relativePath,caseSensitive:u.caseSensitive,end:f},g);if(!b)return null;Object.assign(n,b.paLine truncated
* React Router v6.17.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function cd(){return cd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},cd.apply(this,arguments)}const ef=A.createContext(null),x5=A.createContext(null),Za=A.createContext(null),tf=A.createContext(null),So=A.createContext({outlet:null,matches:[],isDataRoute:!1}),_5=A.createContext(null);function nI(e,t){let{relative:r}=t===void 0?{}:t;dl()||Bt(!1);let{basename:n,navigator:o}=A.useContext(Za),{hash:a,pathname:i,search:u}=rf(e,{relative:r}),f=i;return n!=="/"&&(f=i==="/"?n:la([n,i])),o.createHref({pathname:f,search:u,hash:a})}function dl(){return A.useContext(tf)!=null}function ma(){return dl()||Bt(!1),A.useContext(tf).location}function C5(e){A.useContext(Za).static||A.useLayoutEffect(e)}function fl(){let{isDataRoute:e}=A.useContext(So);return e?bI():oI()}function oI(){dl()||Bt(!1);let e=A.useContext(ef),{basename:t,navigator:r}=A.useContext(Za),{matches:n}=A.useContext(So),{pathname:o}=ma(),a=JSON.stringify(Yg(n).map(f=>f.pathnameBase)),i=A.useRef(!1);return C5(()=>{i.current=!0}),A.useCallback(function(f,g){if(g===void 0&&(g={}),!i.current)return;if(typeof f=="number"){r.go(f);return}let b=Xg(f,JSON.parse(a),o,g.relative==="path");e==null&&t!=="/"&&(b.pathname=b.pathname==="/"?t:la([t,b.pathname])),(g.replace?r.replace:r.push)(b,g.state,g)},[t,r,a,o,e])}function aI(){let{matches:e}=A.useContext(So),t=e[e.length-1];return t?t.params:{}}function rf(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=A.useContext(So),{pathname:o}=ma(),a=JSON.stringify(Yg(n).map(i=>i.pathnameBase));return A.useMemo(()=>Xg(e,JSON.parse(a),o,r==="path"),[e,a,o,r])}function iI(e,t){return lI(e,t)}function lI(e,t,r){dl()||Bt(!1);let{navigator:n}=A.useContext(Za),{matches:o}=A.useContext(So),a=o[o.length-1],i=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let f=ma(),g;if(t){var b;let w=typeof t=="string"?cl(t):t;u==="/"||(b=w.pathname)!=null&&b.startsWith(u)||Bt(!1),g=w}else g=f;let _=g.pathname||"/",S=u==="/"?_:_.slice(u.length)||"/",T=DM(e,{pathname:S}),C=fI(T&&T.map(w=>Object.assign({},w,{params:Object.assign({},i,w.params),pathname:la([u,n.encodeLocation?n.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?u:la([u,n.encodeLocation?n.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,r);return t&&C?A.createElement(tf.Provider,{value:{location:cd({pathname:"/",search:"",hash:"",state:null,key:"default"},g),navigationType:Qo.Pop}},C):C}function sI(){let e=mI(),t=tI(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},a=null;return A.createElement(A.Fragment,null,A.createElement("h2",null,"Unexpected Application Error!"),A.createElement("h3",{style:{fontStyle:"italic"}},t),r?A.createElement("pre",{style:o},r):null,a)}const uI=A.createElement(sI,null);class cI extends A.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?A.createElement(So.Provider,{value:this.props.routeContext},A.createElement(_5.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function dI(e){let{routeContext:t,match:r,children:n}=e,o=A.useContext(ef);return o&&o.static&&o.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=r.route.id),A.createElement(So.Provider,{value:t},n)}function fI(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var o;if((o=r)!=null&&o.errors)e=r.matches;else return null}let a=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let u=a.findIndex(f=>f.route.id&&(i==null?void 0:i[f.route.id]));u>=0||Bt(!1),a=a.slice(0,Math.min(a.length,u+1))}return a.reduceRight((u,f,g)=>{let b=f.route.id?i==null?void 0:i[f.route.id]:null,_=null;r&&(_=f.route.errorElement||uI);let S=t.concat(a.slice(0,g+1)),T=()=>{let C;return b?C=_:f.route.Component?C=A.createElement(f.route.Component,null):f.route.element?C=f.route.element:C=u,A.createElement(dI,{match:f,routeContext:{outlet:u,matches:S,isDataRoute:r!=null},children:C})};return r&&(f.route.ErrorBoundary||f.route.errorElement||g===0)?A.createElement(cI,{location:r.location,revalidation:r.revalidation,component:_,error:b,children:T(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):T()},null)}var T5=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable=Line truncated
* React Router DOM v6.17.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function fd(){return fd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},fd.apply(this,arguments)}function O5(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,a;for(a=0;a<n.length;a++)o=n[a],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function wI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function xI(e,t){return e.button===0&&(!t||t==="_self")&&!wI(e)}const _I=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],CI=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"],TI=A.createContext({isTransitioning:!1}),SI="startTransition",bw=Xh[SI];function OI(e){let{basename:t,children:r,future:n,window:o}=e,a=A.useRef();a.current==null&&(a.current=AM({window:o,v5Compat:!0}));let i=a.current,[u,f]=A.useState({action:i.action,location:i.location}),{v7_startTransition:g}=n||{},b=A.useCallback(_=>{g&&bw?bw(()=>f(_)):f(_)},[f,g]);return A.useLayoutEffect(()=>i.listen(b),[i,b]),A.createElement(yI,{basename:t,children:r,location:u.location,navigationType:u.action,navigator:i})}const PI=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",kI=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Jg=A.forwardRef(function(t,r){let{onClick:n,relative:o,reloadDocument:a,replace:i,state:u,target:f,to:g,preventScrollReset:b,unstable_viewTransition:_}=t,S=O5(t,_I),{basename:T}=A.useContext(Za),C,w=!1;if(typeof g=="string"&&kI.test(g)&&(C=g,PI))try{let c=new URL(window.location.href),s=g.startsWith("//")?new URL(c.protocol+g):new URL(g),h=zs(s.pathname,T);s.origin===c.origin&&h!=null?g=h+s.search+s.hash:w=!0}catch{}let m=nI(g,{relative:o}),d=NI(g,{replace:i,state:u,target:f,preventScrollReset:b,relative:o,unstable_viewTransition:_});function l(c){n&&n(c),c.defaultPrevented||d(c)}return A.createElement("a",fd({},S,{href:C||m,onClick:w||a?n:l,ref:r,target:f}))}),EI=A.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:o=!1,className:a="",end:i=!1,style:u,to:f,unstable_viewTransition:g,children:b}=t,_=O5(t,CI),S=rf(f,{relative:_.relative}),T=ma(),C=A.useContext(x5),{navigator:w}=A.useContext(Za),m=C!=null&&RI(S)&&g===!0,d=w.encodeLocation?w.encodeLocation(S).pathname:S.pathname,l=T.pathname,c=C&&C.navigation&&C.navigation.location?C.navigation.location.pathname:null;o||(l=l.toLowerCase(),c=c?c.toLowerCase():null,d=d.toLowerCase());let s=l===d||!i&&l.startsWith(d)&&l.charAt(d.length)==="/",h=c!=null&&(c===d||!i&&c.startsWith(d)&&c.charAt(d.length)==="/"),v={isActive:s,isPending:h,isTransitioning:m},y=s?n:void 0,E;typeof a=="function"?E=a(v):E=[a,s?"active":null,h?"pending":null,m?"transitioning":null].filter(Boolean).join(" ");let P=typeof u=="function"?u(v):u;return A.createElement(Jg,fd({},_,{"aria-current":y,className:E,ref:r,style:P,to:f,unstable_viewTransition:g}),typeof b=="function"?b(v):b)});var mh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mh||(mh={}));var vw;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(vw||(vw={}));function jI(e){let t=A.useContext(ef);return t||Bt(!1),t}function NI(e,t){let{target:r,replace:n,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:u}=t===void 0?{}:t,f=fl(),g=ma(),b=rf(e,{relative:i});return A.useCallback(_=>{if(xI(_,r)){_.preventDefault();let S=n!==void 0?n:ud(g)===ud(b);f(e,{replace:S,state:o,preventScrollReset:a,relative:i,unstable_viewTransition:u})}},[g,f,b,n,o,r,e,a,i,u])}function RI(e,t){t===void 0&&(t={});let r=A.useContext(TI);r==null&&Bt(!1);let{basename:n}=jI(mh.useViewTransitionState),o=rf(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=zs(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=zs(r.nextLocation.pathname,n)||r.nextLocation.pathname;return hh(o.pathname,i)!=null||hh(o.pathname,a)!=null}function AI({title:e,titleId:t,...r},n){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?A.createElement("title",{id:t},e):null,A.createElement("path",{fillRule:"evenodd",d:"M3 6.75A.75.75 0 013.75 6h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 6.75zM3 12a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75A.75.75 0 013 12zm0 5.25a.75.75 0 01.75-.75h16.5a.75.75 0 010 1.5H3.75a.75.75 0 01-.75-.75z",clipRule:"evenodd"}))}const MI=A.forwardRef(AI),II=MI;function DI({title:e,titleId:t,...r},n){return A.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",ref:n,"aria-labelledby":t},r),e?A.createElement("title",{id:t},e):null,A.createElement("path",{fillRule:"evenodd",d:"M11.078 2.25c-.917 0-1.69Line truncated
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var n=[],o=0;o<arguments.length;o++){var a=arguments[o];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var u=r.apply(null,a);u&&n.push(u)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var f in a)t.call(a,f)&&a[f]&&n.push(f)}}}return n.join(" ")}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(E5);var Ye=E5.exports,j5={exports:{}},On={};function Zg(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=N5(e))&&(n&&(n+=" "),n+=t);return n}function N5(e){if(typeof e=="string")return e;for(var t,r="",n=0;n<e.length;n++)e[n]&&(t=N5(e[n]))&&(r&&(r+=" "),r+=t);return r}function bh(){return bh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},bh.apply(this,arguments)}function a4(e){var t=function(r){var n=r.theme,o=r.prefix,a={nextPart:new Map,validators:[]};return function(i,u){return u?i.map(function(f){return[f[0],f[1].map(function(g){return typeof g=="string"?u+g:typeof g=="object"?Object.fromEntries(Object.entries(g).map(function(b){return[u+b[0],b[1]]})):g})]}):i}(Object.entries(r.classGroups),o).forEach(function(i){vh(i[1],a,i[0],n)}),a}(e);return{getClassGroupId:function(r){var n=r.split("-");return n[0]===""&&n.length!==1&&n.shift(),R5(n,t)||function(o){if(yw.test(o)){var a=yw.exec(o)[1],i=a==null?void 0:a.substring(0,a.indexOf(":"));if(i)return"arbitrary.."+i}}(r)},getConflictingClassGroupIds:function(r){return e.conflictingClassGroups[r]||[]}}}function R5(e,t){var r;if(e.length===0)return t.classGroupId;var n=t.nextPart.get(e[0]),o=n?R5(e.slice(1),n):void 0;if(o)return o;if(t.validators.length!==0){var a=e.join("-");return(r=t.validators.find(function(i){return(0,i.validator)(a)}))==null?void 0:r.classGroupId}}Object.defineProperty(On,"__esModule",{value:!0});var yw=/^\[(.+)\]$/;function vh(e,t,r,n){e.forEach(function(o){if(typeof o!="string"){if(typeof o=="function")return o.isThemeGetter?void vh(o(n),t,r,n):void t.validators.push({validator:o,classGroupId:r});Object.entries(o).forEach(function(a){vh(a[1],ww(t,a[0]),r,n)})}else(o===""?t:ww(t,o)).classGroupId=r})}function ww(e,t){var r=e;return t.split("-").forEach(function(n){r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function i4(e){if(e<1)return{get:function(){},set:function(){}};var t=0,r=new Map,n=new Map;function o(a,i){r.set(a,i),++t>e&&(t=0,n=r,r=new Map)}return{get:function(a){var i=r.get(a);return i!==void 0?i:(i=n.get(a))!==void 0?(o(a,i),i):void 0},set:function(a,i){r.has(a)?r.set(a,i):o(a,i)}}}function l4(e){var t=e.separator||":";return function(r){for(var n=0,o=[],a=0,i=0;i<r.length;i++){var u=r[i];n===0&&u===t[0]&&(t.length!==1&&r.slice(i,i+t.length)!==t||(o.push(r.slice(a,i)),a=i+t.length)),u==="["?n++:u==="]"&&n--}var f=o.length===0?r:r.substring(a),g=f.startsWith("!");return{modifiers:o,hasImportantModifier:g,baseClassName:g?f.substring(1):f}}}function s4(e){return bh({cache:i4(e.cacheSize),splitModifiers:l4(e)},a4(e))}var u4=/\s+/;function c4(e,t){var r=t.splitModifiers,n=t.getClassGroupId,o=t.getConflictingClassGroupIds,a=new Set;return e.trim().split(u4).map(function(i){var u=r(i),f=u.modifiers,g=u.hasImportantModifier,b=n(u.baseClassName);if(!b)return{isTailwindClass:!1,originalClassName:i};var _=function(S){if(S.length<=1)return S;var T=[],C=[];return S.forEach(function(w){w[0]==="["?(T.push.apply(T,C.sort().concat([w])),C=[]):C.push(w)}),T.push.apply(T,C.sort()),T}(f).join(":");return{isTailwindClass:!0,modifierId:g?_+"!":_,classGroupId:b,originalClassName:i}}).reverse().filter(function(i){if(!i.isTailwindClass)return!0;var u=i.modifierId,f=i.classGroupId,g=u+f;return!a.has(g)&&(a.add(g),o(f).forEach(function(b){return a.add(u+b)}),!0)}).reverse().map(function(i){return i.originalClassName}).join(" ")}function yh(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n,o,a,i=u;function u(g){var b=t[0],_=t.slice(1).reduce(function(S,T){return T(S)},b());return n=s4(_),o=n.cache.get,a=n.cache.set,i=f,f(g)}function f(g){var b=o(g);if(b)return b;var _=c4(g,n);return a(g,_),_}return function(){return i(Zg.apply(null,arguments))}}function jt(e){var t=function(r){return r[e]||[]};return t.isThemeGetter=!0,t}var ba=/^\[(.+)\]$/,d4=/^\d+\/\d+$/,f4=new Set(["px","full","screen"]),p4=/^(\d+)?(xs|sm|md|lg|xl)$/,h4=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh)/,g4=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function cn(e){return!Number.isNaN(Number(e))||f4.has(e)||d4.test(e)||qo(e)}function qo(e){var t,r=(t=ba.exec(e))==null?void 0:t[1];return!!r&&(r.startsWith("length:")||h4.test(r))}function A5(e){var t,r=(t=ba.exec(e))==null?void 0:t[1];return!!r&&r.startsWLine truncated
* tabbable 6.2.0
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
*/var aF=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Mh=aF.join(","),VO=typeof Element>"u",$s=VO?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,_d=!VO&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e==null?void 0:e.ownerDocument},Cd=function e(t,r){var n;r===void 0&&(r=!0);var o=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"inert"),a=o===""||o==="true",i=a||r&&t&&e(t.parentNode);return i},iF=function(t){var r,n=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"contenteditable");return n===""||n==="true"},lF=function(t,r,n){if(Cd(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Mh));return r&&$s.call(t,Mh)&&o.unshift(t),o=o.filter(n),o},sF=function e(t,r,n){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!Cd(i,!1))if(i.tagName==="SLOT"){var u=i.assignedElements(),f=u.length?u:i.children,g=e(f,!0,n);n.flatten?o.push.apply(o,g):o.push({scopeParent:i,candidates:g})}else{var b=$s.call(i,Mh);b&&n.filter(i)&&(r||!t.includes(i))&&o.push(i);var _=i.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(i),S=!Cd(_,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(i));if(_&&S){var T=e(_===!0?i.children:_.children,!0,n);n.flatten?o.push.apply(o,T):o.push({scopeParent:i,candidates:T})}else a.unshift.apply(a,i.children)}}return o},BO=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},WO=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||iF(t))&&!BO(t)?0:t.tabIndex},uF=function(t,r){var n=WO(t);return n<0&&r&&!BO(t)?0:n},cF=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},UO=function(t){return t.tagName==="INPUT"},dF=function(t){return UO(t)&&t.type==="hidden"},fF=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},pF=function(t,r){for(var n=0;n<t.length;n++)if(t[n].checked&&t[n].form===r)return t[n]},hF=function(t){if(!t.name)return!0;var r=t.form||_d(t),n=function(u){return r.querySelectorAll('input[type="radio"][name="'+u+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=n(window.CSS.escape(t.name));else try{o=n(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var a=pF(o,t.form);return!a||a===t},gF=function(t){return UO(t)&&t.type==="radio"},mF=function(t){return gF(t)&&!hF(t)},bF=function(t){var r,n=t&&_d(t),o=(r=n)===null||r===void 0?void 0:r.host,a=!1;if(n&&n!==t){var i,u,f;for(a=!!((i=o)!==null&&i!==void 0&&(u=i.ownerDocument)!==null&&u!==void 0&&u.contains(o)||t!=null&&(f=t.ownerDocument)!==null&&f!==void 0&&f.contains(t));!a&&o;){var g,b,_;n=_d(o),o=(g=n)===null||g===void 0?void 0:g.host,a=!!((b=o)!==null&&b!==void 0&&(_=b.ownerDocument)!==null&&_!==void 0&&_.contains(o))}}return a},Kw=function(t){var r=t.getBoundingClientRect(),n=r.width,o=r.height;return n===0&&o===0},vF=function(t,r){var n=r.displayCheck,o=r.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var a=$s.call(t,"details>summary:first-of-type"),i=a?t.parentElement:t;if($s.call(i,"details:not([open]) *"))return!0;if(!n||n==="full"||n==="legacy-full"){if(typeof o=="function"){for(var u=t;t;){var f=t.parentElement,g=_d(t);if(f&&!f.shadowRoot&&o(f)===!0)return Kw(t);t.assignedSlot?t=t.assignedSlot:!f&&g!==t.ownerDocument?t=g.host:t=f}t=u}if(bF(t))return!t.getClientRects().length;if(n!=="legacy-full")return!0}else if(n==="non-zero-area")return Kw(t);return!1},yF=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n<r.children.length;n++){var o=r.children.item(n);if(o.tagName==="LEGEND")return $s.call(r,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}r=r.parentElement}return!1},wF=function(t,r){return!(r.disabled||Cd(r)||dF(r)||vF(r,t)||fF(r)||yF(r))},Yw=function(t,r){return!(mF(r)||WO(r)<0||!wF(t,r))},xF=function(t){var r=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(r)||r>=0)},_F=function e(t){var r=[],n=[];return t.forEach(function(o,a){var i=!!o.scopeParent,u=i?o.scopeParent:o,f=uF(u,i),g=i?e(o.candidates):u;f===0?i?r.push.apply(r,g):r.push(u):n.push({documentOrder:a,tabIndex:f,item:o,isScope:i,content:g})}),n.sort(cF).reduce(function(o,a){return a.isScope?o.push.apply(o,a.content):o.push(a.content),o},[]).concatLine truncated
More details: https://www.material-tailwind.com/docs/react/collapse
`);var P=r.default.useRef(null),j=(0,g.useTheme)().navbar,N=j.styles,M=N.base.mobileNav;s=s??{},h=h??"";var D=(0,u.twMerge)((0,i.default)((0,f.default)(M)),h),L={unmount:{height:0,opacity:0,transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}},mount:{opacity:1,height:"".concat((E=P.current)===null||E===void 0?void 0:E.scrollHeight,"px"),transition:{duration:.3,times:"[0.4, 0, 0.2, 1]"}}},z=(0,a.default)(L,s),$=n.AnimatePresence,Y=(0,o.useMergeRefs)([l,P]);return r.default.createElement(n.LazyMotion,{features:n.domAnimation},r.default.createElement($,null,r.default.createElement(n.m.div,_({},y,{ref:Y,className:D,initial:"unmount",exit:"unmount",animate:c?"mount":"unmount",variants:z}),v)))});w.displayName="MaterialTailwind.MobileNav",w.propTypes={open:b.propTypesOpen,animate:b.propTypesAnimate,className:b.propTypesClassName,children:b.propTypesChildren};var m=w})(RP);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(l,c){for(var s in c)Object.defineProperty(l,s,{enumerable:!0,get:c[s]})}t(e,{Navbar:function(){return m},MobileNav:function(){return g.MobileNav},default:function(){return d}});var r=T(A),n=T(Be),o=T(Ye),a=Ve,i=T(Lt),u=T(Fe),f=Le,g=RP,b=nf;function _(l,c,s){return c in l?Object.defineProperty(l,c,{value:s,enumerable:!0,configurable:!0,writable:!0}):l[c]=s,l}function S(){return S=Object.assign||function(l){for(var c=1;c<arguments.length;c++){var s=arguments[c];for(var h in s)Object.prototype.hasOwnProperty.call(s,h)&&(l[h]=s[h])}return l},S.apply(this,arguments)}function T(l){return l&&l.__esModule?l:{default:l}}function C(l,c){if(l==null)return{};var s=w(l,c),h,v;if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(l);for(v=0;v<y.length;v++)h=y[v],!(c.indexOf(h)>=0)&&Object.prototype.propertyIsEnumerable.call(l,h)&&(s[h]=l[h])}return s}function w(l,c){if(l==null)return{};var s={},h=Object.keys(l),v,y;for(y=0;y<h.length;y++)v=h[y],!(c.indexOf(v)>=0)&&(s[v]=l[v]);return s}var m=r.default.forwardRef(function(l,c){var s=l.variant,h=l.color,v=l.shadow,y=l.blurred,E=l.fullWidth,P=l.className,j=l.children,N=C(l,["variant","color","shadow","blurred","fullWidth","className","children"]),M=(0,f.useTheme)().navbar,D=M.defaultProps,L=M.valid,z=M.styles,$=z.base,Y=z.variants;s=s??D.variant,h=h??D.color,v=v??D.shadow,y=y??D.blurred,E=E??D.fullWidth,P=P??D.className;var U,V=(0,o.default)((0,u.default)($.navbar.initial),(U={},_(U,(0,u.default)($.navbar.shadow),v),_(U,(0,u.default)($.navbar.blurred),y&&h==="white"),_(U,(0,u.default)($.navbar.fullWidth),E),U)),H=(0,o.default)((0,u.default)(Y[(0,i.default)(L.variants,s,"filled")][(0,i.default)(L.colors,h,"white")])),G=(0,a.twMerge)((0,o.default)(V,H),P);return r.default.createElement("nav",S({},N,{ref:c,className:G}),j)});m.propTypes={variant:n.default.oneOf(b.propTypesVariant),color:n.default.oneOf(b.propTypesColor),shadow:b.propTypesShadow,blurred:b.propTypesBlurred,fullWidth:b.propTypesFullWidth,className:b.propTypesClassName,children:b.propTypesChildren},m.displayName="MaterialTailwind.Navbar";var d=Object.assign(m,{MobileNav:g.MobileNav})})(NP);var AP={},Sf={},wl={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(m,d){for(var l in d)Object.defineProperty(m,l,{enumerable:!0,get:d[l]})}t(e,{propTypesOpen:function(){return a},propTypesHandler:function(){return i},propTypesPlacement:function(){return u},propTypesOffset:function(){return f},propTypesDismiss:function(){return g},propTypesAnimate:function(){return b},propTypesContent:function(){return _},propTypesInteractive:function(){return S},propTypesClassName:function(){return T},propTypesChildren:function(){return C},propTypesContextValue:function(){return w}});var r=o(Be),n=Rt;function o(m){return m&&m.__esModule?m:{default:m}}var a=r.default.bool,i=r.default.func,u=n.propTypesPlacements,f=n.propTypesOffsetType,g=n.propTypesDismissType,b=n.propTypesAnimation,_=r.default.node,S=r.default.bool,T=r.default.string,C=r.default.node.isRequired,w=r.default.shape({open:r.default.bool.isRequired,strategy:r.default.oneOf(["fixed","absolute"]).isRequired,x:r.default.number,y:r.default.number,context:r.default.instanceOf(Object).isRequired,reference:r.default.func.isRequired,floating:r.default.func.isRequired,getReferenceProps:r.default.func.isRequired,getFloatingProps:r.default.func.isRequired,appliedAnimation:b.isRequired,labelId:r.default.string.isRequired,descriptionId:r.default.string.isRequired}).isRequired})(wl);(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(f,g){for(var b in g)Object.defineProperty(f,b,{enumerable:!0,get:g[b]})}t(e,{PopoverContext:function(){return a},usePopover:function(){return i},PopoverContextProvider:function(){return u}});var r=o(A),n=wl;function o(f){return f&&f.__esModule?f:{default:f}}var a=r.default.createContext(null);a.displayName="MaterialTailwind.PopoverContext";function i(){var f=r.default.useContext(a);if(!f)throw new Error("usePopover() must be used within a Popover. It happens when you us Line truncated
${Ce?"border-purple-500 ring-1 ring-purple-500/40":"border-transparent"}
${!ct||ye?"opacity-75 bg-stormGrey-200/20":""}`,children:[O.jsxs("div",{className:"flex items-center space-x-4",id:"left",children:[O.jsx("input",{type:"checkbox",checked:Ce,onChange:()=>Pe(te.Id,!ct),className:`h-5 w-5 text-purple-500 focus:ring-purple-400 border-gray-600 bg-gray-900 rounded ${ct?"":"opacity-40 cursor-not-allowed"}`,disabled:!ct}),O.jsx("div",{className:`w-12 h-12 flex items-center justify-center rounded-full
${te.updateStatus==="✅"?"bg-mossGreen-600":te.updateStatus==="⚠️"?"bg-warmAmberGlow-400":"bg-sunsetCoral-500"}`}),O.jsxs("div",{children:[O.jsx("p",{className:"text-lg antialiased font-sans font-semibold leading-normal text-inherit",children:te.Name}),O.jsxs("p",{className:"text-sm antialiased font-sans font-light leading-normal text-inherit",children:["ID: ",te.Id]}),te.duplicateName&&O.jsx("p",{className:"text-xs text-amber-700",children:"⚠️ Doppelter Name erkannt"})]})]}),O.jsx("div",{className:"ml-auto flex flex-col items-end gap-1 text-sm",id:"right",children:Re?O.jsxs(O.Fragment,{children:[O.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-warmAmberGlow-600",children:"Redeploy"}),O.jsx("span",{className:"text-warmAmberGlow-500",children:"läuft…"})]}):Te?O.jsxs(O.Fragment,{children:[O.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-warmAmberGlow-600",children:"Redeploy"}),O.jsx("span",{className:"text-warmAmberGlow-500",children:"in Warteliste…"})]}):ut?O.jsxs(O.Fragment,{children:[O.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-stormGrey-500",children:"System"}),O.jsx("span",{className:"text-gray-300",children:"Redeploy deaktiviert"})]}):He?O.jsxs(O.Fragment,{children:[O.jsx("span",{className:"antialiased font-sans font-light leading-normal text-xs uppercase tracking-wide text-stormGrey-500",children:"Status"}),O.jsx("span",{className:"text-mossGreen-600",children:"Aktuell"})]}):O.jsx(J.Button,{onClick:()=>$e(te.Id),disabled:ye,className:"disabled:opacity-50 disabled:cursor-not-allowed",children:"Redeploy"})})]})},te.Id)})}),O.jsx(jf,{disabled:r||!!o})]})}const RV={idle:"Bereit",running:"Läuft",success:"Erfolgreich",error:"Fehlgeschlagen"},Ql={idle:"bg-stormGrey-700 text-gray-200",running:"bg-arcticBlue-600 text-white",success:"bg-mossGreen-600 text-white",error:"bg-sunsetCoral-600 text-white"},AV={initializing:"Vorbereitung","activating-maintenance":"Wartungsmodus aktivieren","executing-script":"Skript wird ausgeführt",waiting:"Warte auf Portainer",completed:"Abgeschlossen",failed:"Fehlgeschlagen"},MV={info:"text-arcticBlue-700",success:"text-mossGreen-700",warning:"text-warmAmberGlow-700",error:"text-sunsetCoral-700",stdout:"text-stormGrey-700",stderr:"text-warmAmberGlow-700",debug:"text-lavenderSmoke-700"},IV=e=>{if(!e)return"-";const t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleString("de-DE",{hour:"2-digit",minute:"2-digit",second:"2-digit"})},Ea=e=>{if(!e&&e!==0)return"-";const r=(n=>{if(n instanceof Date)return n;if(typeof n=="number"){const o=n>1e12?n:n*1e3;return new Date(o)}if(typeof n=="string"){const o=Number(n);if(!Number.isNaN(o)){const a=o>1e12?o:o*1e3;return new Date(a)}return new Date(n)}return null})(e);return!r||Number.isNaN(r.getTime())?String(e):r.toLocaleString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},jx=e=>e===1?"Git":e===2?"Compose":e??"-",c0=()=>({host:"",port:"22",username:"",password:"",extraSshArgs:""});function DV(){var qn,Ta,El;const{showToast:e}=Cl(),{maintenance:t,update:r,script:n,ssh:o,loading:a,error:i,setMaintenanceMode:u,triggerUpdate:f,saveScript:g,resetScript:b,saveSshConfig:_,deleteSshConfig:S,testSshConnection:T,fetchSuperuserStatus:C,fetchSetupStatus:w,deleteSetupEndpoint:m,deleteSetupServer:d,updateSetupApiKey:l,removeSuperuserAccount:c}=Tl(),s=!!(t!=null&&t.active),h=t==null?void 0:t.message,v=(qn=t==null?void 0:t.extra)==null?void 0:qn.type,y=!!(r!=null&&r.running),[E,P]=A.useState(""),[j,N]=A.useState(!1),[M,D]=A.useState(!1),[L,z]=A.useState(""),[$,Y]=A.useState(!1),[U,V]=A.useState(()=>c0()),[H,G]=A.useState(!1),[Q,oe]=A.useState(!1),[ue,ce]=A.useState(!1),[re,ve]=A.useState(!1),[pe,se]=A.useState(!1),[me,fe]=A.useState(null);A.useEffect(()=>{if(!n)return;const le=n.custom??n.default??n.effective??"";P(le)},[n]),A.useEffect(()=>{if(!o){V(c0()),G(!1),oe(!1),fe(null);return}V({host:o.host??"",port:String(o.port??"22"),username:o.username??"",password:"",extraSshArgs:Array.isArray(o.extraSshArgs)?o.extraSshArgs.join(`
`):""}),G(!!o.passwordStored),oe(!1),fe(null)},[o]);const Pe=A.useMemo(()=>n?n.source==="custom"&&typeof n.custom=="string"?n.custom:n.default??n.effective??"":"",[n]),ke=n?E!==Pe:!1,Oe=(n==null?void 0:n.source)==="custom"?"Benutzerdefiniert":"Standard",[xe,De]=A.useState(!0),[$e,at]=A.useState(!1),[et,nt]=A.useState(null),[ft,Ge]=A.useState(""),[Je,qe]=A.useState(!1),[te,ge]=A.useState(null),[Te,Re]=A.useState(!0),[ye,Ce]=A.useState(""),[He,ut]=A.useState({}),[ct,Ut]=A.useState(null),[Xe,Gt]=A.useState(null),[Kt,At]=A.useState(null),[Qt,ie]=A.useState([]),[be,Me]=A.useState(!0),[tt,it]=A.useState(""),[yt,lt]=A.useState(!1),[Mt,tr]=A.useState(null),[Po,Wr]=A.useState(null),xn=A.useRef(null),[vt,ii]=A.useState(null),[_n,Ur]=A.useState(!0),[va,ko]=A.useState(""),[Sl,Eo]=A.useState(!1),[jo,Ol]=A.useState(null),dr=A.useRef(null),Hr=A.useCallback(async({silent:le=!1}={})=>{var Se,Ee;De(!0),Ge("");try{const je=await C(),Ue=!!(je!=null&&je.exists);at(Ue),nt(Ue?je.user??null:null)}catch(je){const Ue=((Ee=(Se=je.response)==null?void 0:Se.data)==null?void 0:Ee.error)||je.message||"Superuser-Status konnte nicht geladen werden";at(!1),nt(null),Ge(Ue),le||e({variant:"error",title:"Statusabfrage fehlgeschlagen",description:Ue})}finally{De(!1)}},[C,e]),Nr=A.useCallback(async({silent:le=!1}={})=>{var Se,Ee;le||Re(!0),Ce("");try{const je=await w();ge(je),ut({})}catch(je){const Ue=((Ee=(Se=je.response)==null?void 0:Se.data)==null?void 0:Ee.error)||je.message||"Setup-Daten konnten nicht geladen werden";Ce(Ue),le||e({variant:"error",title:"Setup-Daten",description:Ue})}finally{Re(!1)}},[w,e]),ao=A.useCallback(async({silent:le=!1}={})=>{if(dr.current)return dr.current;const Se=(async()=>{var Ee,je;le?Eo(!0):Ur(!0),ko("");try{const Tt=(await pt.get("/api/maintenance/portainer-status")).data??{};ii(Tt),Ol(new Date)}catch(Ue){const Tt=((je=(Ee=Ue.response)==null?void 0:Ee.data)==null?void 0:je.error)||Ue.message||"Fehler beim Prüfen des Portainer-Status";ko(Tt),e({variant:"error",title:"Statusaktualisierung fehlgeschlagen",description:Tt})}finally{le?Eo(!1):Ur(!1),dr.current=null}})();return dr.current=Se,Se},[e]),Un=A.useCallback(async({silent:le=!1}={})=>{if(s||y){ie([]),it("Wartungsmodus aktiv – Duplikat-Verwaltung ist vorübergehend deaktiviert."),Me(!1),lt(!1);return}if(xn.current)return xn.current;const Se=(async()=>{var Ee,je,Ue;le?lt(!0):Me(!0),it("");try{const xt=(await pt.get("/api/maintenance/duplicates")).data,$t=Array.isArray(xt)?xt:(xt==null?void 0:xt.items)??[];ie($t),Wr(new Date)}catch(Tt){if(((Ee=Tt.response)==null?void 0:Ee.status)===423){const xt="Wartungsmodus aktiv – Duplikat-Verwaltung ist vorübergehend deaktiviert.";ie([]),it(xt),e({variant:"warning",title:"Duplikat-Verwaltung gesperrt",description:xt})}else{const xt=((Ue=(je=Tt.response)==null?void 0:je.data)==null?void 0:Ue.error)||Tt.message||"Fehler beim Laden der Wartungsdaten";it(xt),e({variant:"error",title:"Duplikate konnten nicht geladen werden",description:xt})}}finally{le?lt(!1):Me(!1),xn.current=null}})();return xn.current=Se,Se},[s,y,e]);A.useEffect(()=>{Hr({silent:!0})},[Hr]),A.useEffect(()=>{Nr()},[Nr]),A.useEffect(()=>{ao()},[ao]),A.useEffect(()=>{Un()},[Un]);const Cn=A.useMemo(()=>{var le;return((le=te==null?void 0:te.servers)==null?void 0:le.items)??[]},[te]),$r=A.useMemo(()=>{var le;return((le=te==null?void 0:te.endpoints)==null?void 0:le.items)??[]},[te]),ya=A.useMemo(()=>{var Se;const le=((Se=te==null?void 0:te.apiKeys)==null?void 0:Se.items)??[];return new Map(le.map(Ee=>[Ee.serverId,Ee]))},[te]),wa=A.useMemo(()=>!!(te!=null&&te.setupComplete),[te]),Hn=A.useMemo(()=>{const le=Array.isArray(Qt)?Qt.length:0,Se=Array.isArray(Qt)?Qt.reduce((Ee,je)=>{var Ue;return Ee+(((Ue=je==null?void 0:je.duplicates)==null?void 0:Ue.length)||0)},0):0;return{groups:le,duplicateCount:Se}},[Qt]),qr=A.useCallback((le,Se)=>{V(Ee=>({...Ee,[le]:Se})),le==="password"&&G(!1)},[]),$n=A.useMemo(()=>{const le={host:U.host.trim(),port:Number.parseInt(U.port,10)||22,username:U.username.trim(),extraSshArgs:(U.extraSshArgs||"").split(/\r?\n/).map(Ee=>Ee.trim()).filter(Boolean)},Se=U.password??"";return Se?le.password=Se:H||(le.password=""),le},[U,H]),li=A.useCallback(async()=>{var le,Se;if(n)try{N(!0),await g(E),e({variant:"success",title:"Skript gespeichert",description:"Das benutzerdefinierte Portainer-Update-Skript wurde aktualisiert."})}catch(Ee){const je=((Se=(le=Ee.response)==null?void 0:le.data)==null?void 0:Se.error)||Ee.message||"Skript konnte nicht gespeichert werden";e({variant:"error",title:"Speichern fehlgeschlagen",description:je})}finally{N(!1)}},[g,E,n,e]),io=A.useCallback(async()=>{var le,Se;try{N(!0),await b(),e({variant:"info",title:"Standardskript wiederhergestellt",description:"Es wird wieder das Standard-Update-Skript verwendet."})}catch(Ee){const je=((Se=(le=Ee.response)==null?void 0:le.data)==null?void 0:Se.error)||Ee.message||"Standardskript konnte nicht wiederhergestellt werden";e({variant:"error",title:"Zurücksetzen fehlgeschlagen",desc Line truncated
Dies setzt die Superuser-Einrichtung zurück.`)))try{qe(!0);const je=await c(),Ue=Number((je==null?void 0:je.usersRemoved)??0);e({variant:"success",title:"Superuser gelöscht",description:Ue>1?`${Ue} Konten aus der Superuser-Gruppe wurden entfernt.`:"Superuser-Konto wurde entfernt."}),await Hr({silent:!0})}catch(je){if(((le=je.response)==null?void 0:le.status)===404)await Hr({silent:!0}),e({variant:"info",title:"Kein Superuser vorhanden",description:"Es ist kein Superuser mehr vorhanden."});else{const Tt=((Ee=(Se=je.response)==null?void 0:Se.data)==null?void 0:Ee.error)||je.message||"Superuser konnte nicht gelöscht werden";e({variant:"error",title:"Löschen fehlgeschlagen",description:Tt})}}finally{qe(!1)}},[Je,xe,$e,c,Hr,e]),kl=A.useCallback(async le=>{var Ue,Tt;if(Kt===le)return;const Se=$r.find(xt=>xt.id===le);if(!Se)return;const Ee=Se.name||`Endpoint ${Se.external_id}`,je=`Endpoint "${Ee}" wirklich löschen?${Se.is_default?`
Dieser Endpoint ist aktuell als Standard markiert.`:""}`;if(!(typeof window<"u"&&!window.confirm(je))){At(le);try{await m(le),e({variant:"success",title:"Endpoint gelöscht",description:`Endpoint "${Ee}" wurde entfernt.`}),await Nr({silent:!0})}catch(xt){const $t=((Tt=(Ue=xt.response)==null?void 0:Ue.data)==null?void 0:Tt.error)||xt.message||"Endpoint konnte nicht gelöscht werden.";e({variant:"error",title:"Endpoint löschen fehlgeschlagen",description:$t})}finally{At(null)}}},[m,Kt,Nr,$r,e]),_a=A.useCallback(async le=>{var Tt,xt;if(Xe===le)return;const Se=Cn.find($t=>$t.id===le);if(!Se)return;const Ee=$r.filter($t=>$t.server_id===le),je=Se.name||Se.url||`Server ${le}`,Ue=[`Server "${je}" wirklich löschen?`,Ee.length?`Dabei werden ${Ee.length} zugeordnete Endpoint(s) entfernt.`:null,"Das System benötigt anschließend erneut einen gültigen Server/Endpoint im Setup."].filter(Boolean).join(`
`);if(!(typeof window<"u"&&!window.confirm(Ue))){Gt(le);try{await d(le),e({variant:"success",title:"Server gelöscht",description:`Server "${je}" wurde entfernt.`}),await Nr({silent:!0})}catch($t){const mr=((xt=(Tt=$t.response)==null?void 0:Tt.data)==null?void 0:xt.error)||$t.message||"Server konnte nicht gelöscht werden.";e({variant:"error",title:"Server löschen fehlgeschlagen",description:mr})}finally{Gt(null)}}},[d,Nr,Xe,$r,Cn,e]),lo=A.useCallback((le,Se)=>{ut(Ee=>({...Ee,[le]:Se}))},[]),Ot=A.useCallback(async le=>{var Ee,je;const Se=(He[le]??"").trim();if(!Se){e({variant:"warning",title:"API-Key fehlt",description:"Bitte gib einen API-Key ein."});return}if(ct!==le){Ut(le);try{await l(le,Se),e({variant:"success",title:"API-Key aktualisiert",description:"Der API-Key wurde gespeichert."}),ut(Ue=>({...Ue,[le]:""})),await Nr({silent:!0})}catch(Ue){const Tt=((je=(Ee=Ue.response)==null?void 0:Ee.data)==null?void 0:je.error)||Ue.message||"API-Key konnte nicht aktualisiert werden.";e({variant:"error",title:"Aktualisierung fehlgeschlagen",description:Tt})}finally{Ut(null)}}},[He,ct,Nr,e,l]),Ht=A.useCallback(async le=>{var Se,Ee;if(!(a||$)&&le!==s){if(y){e({variant:"warning",title:"Aktion nicht möglich",description:"Während eines laufenden Updates kann der Wartungsmodus nicht geändert werden."});return}Y(!0);try{const je=le&&!!v,Ue={active:le};je&&h?Ue.message=h:Ue.message=null,await u(Ue),e({variant:le?"info":"success",title:le?"Wartungsmodus aktiviert":"Wartungsmodus deaktiviert",description:le?"Benutzer sehen jetzt die Wartungsseite.":"StackPulse steht wieder zur Verfügung."})}catch(je){const Ue=((Ee=(Se=je.response)==null?void 0:Se.data)==null?void 0:Ee.error)||je.message||"Wartungsmodus konnte nicht geändert werden";e({variant:"error",title:"Änderung fehlgeschlagen",description:Ue})}finally{Y(!1)}}},[a,$,s,y,u,h,v,e]),kt=A.useCallback(async()=>{var Se,Ee;if(s||y){e({variant:"warning",title:"Update nicht möglich",description:"Während eines aktiven Wartungsmodus kann kein weiteres Update gestartet werden."});return}const le=(vt==null?void 0:vt.latestVersion)??(vt==null?void 0:vt.currentVersion)??"unbekannt";if(!(typeof window<"u"&&!window.confirm(`Portainer-Update starten?
Zielversion: ${le}.
Während des Updates befindet sich StackPulse im Wartungsmodus.
Fortfahren?`)))try{z(""),D(!0),await f(),e({variant:"info",title:"Update gestartet",description:"Das Portainer-Update wurde gestartet."})}catch(je){const Ue=((Ee=(Se=je.response)==null?void 0:Se.data)==null?void 0:Ee.error)||je.message||"Portainer-Update konnte nicht gestartet werden";z(Ue),e({variant:"error",title:"Update fehlgeschlagen",description:Ue})}finally{D(!1)}},[s,y,vt,f,e]),on=A.useCallback(async le=>{var Ue,Tt,xt,$t;if(!le)return;if(s||y){e({variant:"warning",title:"Aktion nicht möglich",description:"Während des Wartungsmodus sind Bereinigungen deaktiviert."});return}const Se=(Ue=le.canonical)==null?void 0:Ue.Id;if(!Se)return;const Ee=(le.duplicates||[]).map(mr=>mr.Id).filter(Boolean);if(!Ee.length)return;const je=((Tt=le.canonical)==null?void 0:Tt.Name)||le.name||`Stack ${Se}`;if(!(typeof window<"u"&&!window.confirm(`Bereinigung für "${je}" starten?
Es werden ${Ee.length} Duplikate entfernt: ${Ee.join(", ")}`))){tr(String(Se));try{const so=(await pt.post("/api/maintenance/duplicates/cleanup",{canonicalId:Se,duplicateIds:Ee})).data??{};if(so.success===!1)throw new Error(so.error||"Bereinigung fehlgeschlagen");const jl=Array.isArray(so.results)?so.results.filter(Sa=>Sa.status==="deleted").map(Sa=>Sa.id):Ee;e({variant:"success",title:"Bereinigung abgeschlossen",description:`${je} – entfernte IDs: ${jl.join(", ")}`}),await Un({silent:!0})}catch(mr){const so=(($t=(xt=mr.response)==null?void 0:xt.data)==null?void 0:$t.error)||mr.message||"Bereinigung fehlgeschlagen";e({variant:"error",title:"Bereinigung fehlgeschlagen",description:so})}finally{tr(null)}}},[Un,s,e,y]);t!=null&&t.activatedAt&&Ea(t.activatedAt),t!=null&&t.updatedAt&&Ea(t.updatedAt);const Tr=s||y,an=(r==null?void 0:r.status)??(y?"running":"idle"),Ca=RV[an]??an,si=Ql[an]??Ql.idle,ui=r!=null&&r.stage?AV[r.stage]??r.stage:"–",ci=(r==null?void 0:r.logs)??[],Rf=(r==null?void 0:r.targetVersion)??"-",Af=(r==null?void 0:r.resultVersion)??"-",Mf=r!=null&&r.startedAt?Ea(r.startedAt):"-",If=r!=null&&r.finishedAt?Ea(r.finishedAt):"-",mu=(r==null?void 0:r.message)??(y?"Update läuft…":""),bu=y||j||a;return O.jsxs("div",{className:"mt-12 mb-8 flex flex-col gap-12",children:[(s||y)&&O.jsx("div",{className:"rounded-lg border border-cyan-500/60 bg-cyan-900/30 px-4 py-3 text-sm text-bluegray-100",children:O.jsxs("div",{className:"flex flex-col gap-1",children:[O.jsxs("span",{children:["Wartungsmodus aktiv",h?` – ${h}`:y?" – Portainer-Update läuft":"","."]}),y&&O.jsxs("span",{className:"text-xs text-indigo-900",children:["Phase: ",ui]})]})}),O.jsxs(J.Card,{children:[O.jsx(J.CardHeader,{variant:"gradient",color:"gray",className:"mb-5 p-4",children:O.jsx(J.Typography,{variant:"h6",color:"white",className:"flex items-center justify-between",children:O.jsx("span",{children:"Wartungsmodus"})})}),O.jsxs(J.CardBody,{className:"flex flex-col gap-4 p-4",children:[O.jsxs("div",{className:"flex items-start justify-between gap-4",children:[O.jsx("div",{className:"space-y-1",children:O.jsx("p",{className:"text-sm antialiased font-sans text-sm font-light leading-normal text-inherit",children:"Schaltet StackPulse für Benutzer in den Wartungsmodus."})}),O.jsx(J.Switch,{checked:s,disabled:$||a||y,onChange:le=>Ht(le.target.checked),ripple:!1,color:"amber"})]}),$&&O.jsx("p",{className:"text-xs text-stormGrey-500",children:"Wartungsmodus wird aktualisiert…"})]})]}),O.jsxs(J.Card,{children:[O.jsx(J.CardHeader,{variant:"gradient",color:"gray",className:"mb-5 p-4",children:O.jsx(J.Typography,{variant:"h6",color:"white",className:"flex items-center justify-between",children:O.jsx("span",{children:"Server & Endpoints"})})}),O.jsxs(J.CardBody,{className:"flex flex-col gap-4 p-4",children:[Te&&O.jsx("p",{className:"text-sm text-stormGrey-500",children:"Daten werden geladen…"}),!Te&&ye&&O.jsx(Alert,{color:"red",className:"border border-red-200 bg-red-50 text-red-700",children:ye}),!Te&&!ye&&O.jsxs("div",{className:"flex flex-col gap-6",children:[O.jsxs("div",{className:"flex flex-col gap-3",children:[O.jsxs("div",{className:"flex items-center justify-between",children:[O.jsx(J.Typography,{variant:"small",color:"blue-gray",className:"font-semibold uppercase",children:"Server"}),O.jsxs(J.Typography,{variant:"small",color:"blue-gray",children:[Cn.length," vorhanden"]})]}),Cn.length===0?O.jsx("p",{className:"text-sm text-stormGrey-500",children:"Es sind derzeit keine Server hinterlegt."}):O.jsx("div",{className:"flex flex-col gap-3",children:Cn.map(le=>{const Se=ya.get(le.id)||null,Ee=!!(Se!=null&&Se.hasKey),je=Se!=null&&Se.updatedAt?new Date(Se.updatedAt).toLocaleString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}):null;return O.jsxs("div",{className:"flex flex-col gap-3 rounded-md border border-blue-gray-100 p-3 md:flex-row md:items-start md:justify-between",children:[O.jsxs("div",{className:"flex flex-col gap-1",children:[O.jsx("p",{className:"text-sm font-medium text-stormGrey-900",children:le.name||"Ohne Namen"}),O.jsx("p",{className:"text-xs text-stormGrey-500 break-all",children:le.url}),O.jsxs("p",{className:"text-xs text-stormGrey-500",children:["API-Key: ",Ee?"vorhanden":"nicht hinterlegt",je?` (aktualisiert am ${je})`:""]})]}),O.jsxs("div",{className:"flex w-full flex-col gap-2 md:max-w-xs",children:[O.jsx(J.Input,{type:"password",label:"Neuer API-Key",value:He[le.id]??"",onChange:Ue=>lo(le.id,Ue.target.value),disabled:Te||ct===le.id}),O.jsxs("div",{className:"flex items-center gap-2 justify-end",children:[O.jsx(J.Button,{variant:"text",color:"red",size:"sm",onClick:()=>_a(le.id),disabled:Te||Xe===le.id||Kt!==null||ct===le.id,children:Xe===le.id?"Lösche…":"Löschen"}),O.jsx(J.Button,{color:"blue",size:"sm",onClick:()=>Ot(le.id),disabled:Te||ct===le.id,children:ct===le.id?"Speichere…":"API-Key speichern"})]})]})]},le.id)})})]}),O.jsxs("div",{className:"flex flex-col gap-3" Line truncated
+1
View File
@@ -0,0 +1 @@
*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#eee}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#bdbdbd}input::placeholder,textarea::placeholder{opacity:1;color:#bdbdbd}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(33 150 243 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 540px){.container{max-width:540px}}@media (min-width: 720px){.container{max-width:720px}}@media (min-width: 960px){.container{max-width:960px}}@media (min-width: 1140px){.container{max-width:1140px}}@media (min-width: 1320px){.container{max-width:1320px}}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.\!invisible{visibility:hidden!important}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bLine truncated
Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

+4 -2
View File
@@ -32,8 +32,10 @@
<!-- Nepcha Analytics (nepcha.com) -->
<!-- Nepcha is a easy-to-use web analytics. No cookies and fully compliant with GDPR, CCPA and PECR. -->
<script defer data-site="YOUR_DOMAIN_HERE" src="https://api.nepcha.com/js/nepcha-analytics.js"></script>
<script type="module" crossorigin src="/assets/index-af8f32f4.js"></script>
<link rel="stylesheet" href="/assets/index-58708f0f.css">
<script type="module" crossorigin src="/assets/index-ec92bae1.js"></script>
<link rel="stylesheet" href="/assets/index-ecd5fb94.css">
</head>
<body>
<div id="root"></div>