/*! For license information please see index.js.LICENSE.txt */ define(["plesk-ui-library"],(e=>(()=>{var t={51:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(6241),i=n(3744),a=n(7369),o=n(3685),l=n(9251);function c(e,t,n,r=new Map,u=void 0){const f=u?.(e,t,n,r);if(null!=f)return f;if(o.isPrimitive(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){const t=new Array(e.length);r.set(e,t);for(let i=0;i{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(6047),i=n(4737),a=n(5566);t.orderBy=function(e,t,n,o){if(null==e)return[];n=o?void 0:n,Array.isArray(e)||(e=Object.values(e)),Array.isArray(t)||(t=null==t?[null]:[t]),0===t.length&&(t=[null]),Array.isArray(n)||(n=null==n?[]:[n]),n=n.map((e=>String(e)));const l=(e,t)=>{let n=e;for(let e=0;e(Array.isArray(e)&&1===e.length&&(e=e[0]),null==e||"function"==typeof e||Array.isArray(e)||i.isKey(e)?e:{key:e,path:a.toPath(e)})));return e.map((e=>({original:e,criteria:c.map((t=>((e,t)=>null==t||null==e?t:"object"==typeof e&&"key"in e?Object.hasOwn(t,e.key)?t[e.key]:l(t,e.path):"function"==typeof e?e(t):Array.isArray(e)?l(t,e):"object"==typeof t?t[e]:t)(t,e)))}))).slice().sort(((e,t)=>{for(let i=0;ie.original))}},161:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(6458);t.isArrayLike=function(e){return null!=e&&"function"!=typeof e&&r.isLength(e.length)}},253:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>a});var r=n(2280),i={};for(const e in r)"default"!==e&&(i[e]=()=>r[e]);n.d(t,i);const a=r},314:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isUnsafeProperty=function(e){return"__proto__"===e}},320:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for;n&&Symbol.for("react.element"),n&&Symbol.for("react.portal"),n&&Symbol.for("react.fragment"),n&&Symbol.for("react.strict_mode"),n&&Symbol.for("react.profiler"),n&&Symbol.for("react.provider"),n&&Symbol.for("react.context"),n&&Symbol.for("react.async_mode"),n&&Symbol.for("react.concurrent_mode"),n&&Symbol.for("react.forward_ref"),n&&Symbol.for("react.suspense"),n&&Symbol.for("react.suspense_list"),n&&Symbol.for("react.memo"),n&&Symbol.for("react.lazy"),n&&Symbol.for("react.block"),n&&Symbol.for("react.fundamental"),n&&Symbol.for("react.responder"),n&&Symbol.for("react.scope")},446:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.toKey=function(e){return"string"==typeof e||"symbol"==typeof e?e:Object.is(e?.valueOf?.(),-0)?"-0":String(e)}},524:(e,t,n)=>{"use strict";n(320)},798:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.flatten=function(e,t=1){const n=[],r=Math.floor(t),i=(e,t)=>{for(let a=0;a{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},926:(e,t,n)=>{e.exports=n(5448).throttle},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var l=0;l0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},965:(e,t,n)=>{e.exports=n(2021).range},1077:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.identity=function(e){return e}},1321:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2001),i=n.n(r),a=n(935),o=n.n(a)()(i());o.push([e.id,"/* Copyright 1999-2024. WebPros International GmbH. All rights reserved. */\n\n.watchdog-monit-status-readonly {\n margin: 8px;\n}\n\n.watchdog-service-properties-timeout {\n margin-bottom: 15px;\n}\n\n.watchdog-usage-chart {\n width: 100%;\n height: 300px;\n}\n","",{version:3,sources:["webpack://./index.css"],names:[],mappings:"AAAA,0EAA0E;;AAE1E;IACI,WAAW;AACf;;AAEA;IACI,mBAAmB;AACvB;;AAEA;IACI,WAAW;IACX,aAAa;AACjB",sourcesContent:["/* Copyright 1999-2024. WebPros International GmbH. All rights reserved. */\n\n.watchdog-monit-status-readonly {\n margin: 8px;\n}\n\n.watchdog-service-properties-timeout {\n margin-bottom: 15px;\n}\n\n.watchdog-usage-chart {\n width: 100%;\n height: 300px;\n}\n"],sourceRoot:""}]);const l=o},1435:(e,t,n)=>{"use strict";var r=n(253),i=n(8139),a="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,l=r.useRef,c=r.useEffect,s=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var f=l(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!c){if(c=!0,o=e,e=r(e),void 0!==i&&d.hasValue){var t=d.value;if(i(t,e))return l=t}return l=e}if(t=l,a(o,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(o=e,t):(o=e,l=n)}var o,l,c=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,i]);var h=o(e,f[0],f[1]);return c((function(){d.hasValue=!0,d.value=h}),[h]),u(h),h}},1732:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.toArray=function(e){return Array.isArray(e)?e:Array.from(e)}},1740:e=>{"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var a=n.sourceMap;a&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},1843:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isObjectLike=function(e){return"object"==typeof e&&null!==e}},2001:e=>{"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),a="/*# ".concat(i," */");return[t].concat([a]).join("\n")}return[t].join("\n")}},2021:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(6053),i=n(2270);t.range=function(e,t,n){n&&"number"!=typeof n&&r.isIterateeCall(e,t,n)&&(t=n=void 0),e=i.toFinite(e),void 0===t?(t=e,e=0):t=i.toFinite(t),n=void 0===n?e{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isDeepKey=function(e){switch(typeof e){case"number":case"symbol":return!1;case"string":return e.includes(".")||e.includes("[")||e.includes("]")}}},2259:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(4206),i=n(1732),a=n(161);t.last=function(e){if(a.isArrayLike(e))return r.last(i.toArray(e))}},2270:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(2864);t.toFinite=function(e){return e?(e=r.toNumber(e))===1/0||e===-1/0?(e<0?-1:1)*Number.MAX_VALUE:e==e?e:0:0===e?e:0}},2280:t=>{"use strict";t.exports=e},2422:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(3810),i=n(7723);t.matches=function(e){return e=i.cloneDeep(e),t=>r.isMatch(t,e)}},2591:e=>{"use strict";var t=[];function n(e){for(var n=-1,r=0;r{e.exports=n(2259).last},2726:(e,t,n)=>{e.exports=n(4647).uniqBy},2864:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(5187);t.toNumber=function(e){return r.isSymbol(e)?NaN:Number(e)}},3051:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},3296:(e,t,n)=>{"use strict";var r=n(253),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,o=r.useEffect,l=r.useLayoutEffect,c=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,u=r[1];return l((function(){i.value=n,i.getSnapshot=t,s(i)&&u({inst:i})}),[e,n,t]),o((function(){return s(i)&&u({inst:i}),e((function(){s(i)&&u({inst:i})}))}),[e]),c(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},3566:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(161),i=n(1843);t.isArrayLikeObject=function(e){return i.isObjectLike(e)&&r.isArrayLike(e)}},3638:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(51),i=n(7369);t.cloneDeepWith=function(e,t){return r.cloneDeepWith(e,((n,a,o,l)=>{const c=t?.(n,a,o,l);if(null!=c)return c;if("object"==typeof e)switch(Object.prototype.toString.call(e)){case i.numberTag:case i.stringTag:case i.booleanTag:{const t=new e.constructor(e?.valueOf());return r.copyProperties(t,e),t}case i.argumentsTag:{const t={};return r.copyProperties(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}))}},3656:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3685:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isPrimitive=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e}},3744:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.getTag=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}},3810:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(7294);t.isMatch=function(e,t){return r.isMatchWith(e,t)}},4047:(e,t,n)=>{"use strict";var r=n(253);"function"==typeof Object.is&&Object.is,r.useSyncExternalStore,r.useRef,r.useEffect,r.useMemo,r.useDebugValue},4206:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.last=function(e){return e[e.length-1]}},4271:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(7200);t.debounce=function(e,t=0,n={}){"object"!=typeof n&&(n={});const{signal:i,leading:a=!1,trailing:o=!0,maxWait:l}=n,c=Array(2);let s;a&&(c[0]="leading"),o&&(c[1]="trailing");let u=null;const f=r.debounce((function(...t){s=e.apply(this,t),u=null}),t,{signal:i,edges:c}),d=function(...t){return null!=l&&(null===u&&(u=Date.now()),Date.now()-u>=l)?(s=e.apply(this,t),u=Date.now(),f.cancel(),f.schedule(),s):(f.apply(this,t),s)};return d.cancel=f.cancel,d.flush=()=>(f.flush(),s),d}},4476:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(3810),i=n(446),a=n(5882),o=n(8881),l=n(8989);t.matchesProperty=function(e,t){switch(typeof e){case"object":Object.is(e?.valueOf(),-0)&&(e="-0");break;case"number":e=i.toKey(e)}return t=a.cloneDeep(t),function(n){const i=o.get(n,e);return void 0===i?l.has(n,e):void 0===t?void 0===i:r.isMatch(i,t)}}},4647:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(7058),i=n(3566),a=n(5469);t.uniqBy=function(e,t){return i.isArrayLikeObject(e)?r.uniqBy(Array.from(e),a.iteratee(t)):[]}},4737:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(5187),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;t.isKey=function(e,t){return!Array.isArray(e)&&(!("number"!=typeof e&&"boolean"!=typeof e&&null!=e&&!r.isSymbol(e))||"string"==typeof e&&(a.test(e)||!i.test(e))||null!=t&&Object.hasOwn(t,e))}},5187:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isSymbol=function(e){return"symbol"==typeof e||e instanceof Symbol}},5448:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(4271);t.throttle=function(e,t=0,n={}){"object"!=typeof n&&(n={});const{leading:i=!0,trailing:a=!0,signal:o}=n;return r.debounce(e,t,{leading:i,trailing:a,signal:o,maxWait:t})}},5469:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1077),i=n(5844),a=n(2422),o=n(4476);t.iteratee=function(e){if(null==e)return r.identity;switch(typeof e){case"function":return e;case"object":return Array.isArray(e)&&2===e.length?o.matchesProperty(e[0],e[1]):a.matches(e);case"string":case"symbol":case"number":return i.property(e)}}},5566:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.toPath=function(e){const t=[],n=e.length;if(0===n)return t;let r=0,i="",a="",o=!1;for(46===e.charCodeAt(0)&&(t.push(""),r++);r{e.exports=n(8881).get},5631:(e,t,n)=>{e.exports=n(5846).sortBy},5722:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.eq=function(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}},5844:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(8881);t.property=function(e){return function(t){return r.get(t,e)}}},5846:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(90),i=n(798),a=n(6053);t.sortBy=function(e,...t){const n=t.length;return n>1&&a.isIterateeCall(e,t[0],t[1])?t=[]:n>2&&a.isIterateeCall(t[0],t[1],t[2])&&(t=[t[0]]),r.orderBy(e,i.flatten(t),["asc"])}},5882:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(3638);t.cloneDeep=function(e){return r.cloneDeepWith(e)}},5891:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(3744);t.isArguments=function(e){return null!==e&&"object"==typeof e&&"[object Arguments]"===r.getTag(e)}},5919:(e,t,n)=>{"use strict";n(4047)},6047:(e,t)=>{"use strict";function n(e){return"symbol"==typeof e?1:null===e?2:void 0===e?3:e!=e?4:0}Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.compareValues=(e,t,r)=>{if(e!==t){const i=n(e),a=n(t);if(i===a&&0===i){if(et)return"desc"===r?-1:1}return"desc"===r?a-i:i-a}return 0}},6053:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(8838),i=n(161),a=n(7964),o=n(5722);t.isIterateeCall=function(e,t,n){return!!a.isObject(n)&&!!("number"==typeof t&&i.isArrayLike(n)&&r.isIndex(t)&&t{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.getSymbols=function(e){return Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)))}},6458:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isLength=function(e){return Number.isSafeInteger(e)&&e>=0}},6848:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6999:(e,t,n)=>{"use strict";var r=n(6848);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,a,o){if(o!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i};return n.PropTypes=n,n}},7058:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.uniqBy=function(e,t){const n=new Map;for(let r=0;r{"use strict";e.exports=n(1435)},7200:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.debounce=function(e,t,{signal:n,edges:r}={}){let i,a=null;const o=null!=r&&r.includes("leading"),l=null==r||r.includes("trailing"),c=()=>{null!==a&&(e.apply(i,a),i=void 0,a=null)};let s=null;const u=()=>{null!=s&&clearTimeout(s),s=setTimeout((()=>{s=null,l&&c(),d()}),t)},f=()=>{null!==s&&(clearTimeout(s),s=null)},d=()=>{f(),i=void 0,a=null},h=function(...e){if(n?.aborted)return;i=this,a=e;const t=null==s;u(),o&&t&&c()};return h.schedule=u,h.cancel=d,h.flush=()=>{f(),c()},n?.addEventListener("abort",d,{once:!0}),h}},7294:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(7964),i=n(3685),a=n(5722);function o(e,t,n,s){if(t===e)return!0;switch(typeof t){case"object":return function(e,t,n,r){if(null==t)return!0;if(Array.isArray(t))return l(e,t,n,r);if(t instanceof Map)return function(e,t,n,r){if(0===t.size)return!0;if(!(e instanceof Map))return!1;for(const[i,a]of t.entries())if(!1===n(e.get(i),a,i,e,t,r))return!1;return!0}(e,t,n,r);if(t instanceof Set)return c(e,t,n,r);const a=Object.keys(t);if(null==e)return 0===a.length;if(0===a.length)return!0;if(r&&r.has(t))return r.get(t)===e;r&&r.set(t,e);try{for(let o=0;o0?o(e,{...t},n,s):a.eq(e,t);default:return r.isObject(e)?"string"!=typeof t||""===t:a.eq(e,t)}}function l(e,t,n,r){if(0===t.length)return!0;if(!Array.isArray(e))return!1;const i=new Set;for(let a=0;a{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.argumentsTag="[object Arguments]",t.arrayBufferTag="[object ArrayBuffer]",t.arrayTag="[object Array]",t.bigInt64ArrayTag="[object BigInt64Array]",t.bigUint64ArrayTag="[object BigUint64Array]",t.booleanTag="[object Boolean]",t.dataViewTag="[object DataView]",t.dateTag="[object Date]",t.errorTag="[object Error]",t.float32ArrayTag="[object Float32Array]",t.float64ArrayTag="[object Float64Array]",t.functionTag="[object Function]",t.int16ArrayTag="[object Int16Array]",t.int32ArrayTag="[object Int32Array]",t.int8ArrayTag="[object Int8Array]",t.mapTag="[object Map]",t.numberTag="[object Number]",t.objectTag="[object Object]",t.regexpTag="[object RegExp]",t.setTag="[object Set]",t.stringTag="[object String]",t.symbolTag="[object Symbol]",t.uint16ArrayTag="[object Uint16Array]",t.uint32ArrayTag="[object Uint32Array]",t.uint8ArrayTag="[object Uint8Array]",t.uint8ClampedArrayTag="[object Uint8ClampedArray]"},7723:(e,t,n)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(51);t.cloneDeep=function(e){return r.cloneDeepWithImpl(e,void 0,e,new Map,void 0)}},7760:function(e,t,n){var r;!function(){"use strict";var i,a=1e9,o={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},l=!0,c="[DecimalError] ",s=c+"Invalid argument: ",u=c+"Exponent out of range: ",f=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,p=1e7,y=f(1286742750677284.5),m={};function v(e,t){var n,r,i,a,o,c,s,u,f=e.constructor,d=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),l?j(t,d):t;if(s=e.d,u=t.d,o=e.e,i=t.e,s=s.slice(),a=o-i){for(a<0?(r=s,a=-a,c=u.length):(r=u,i=o,c=s.length),a>(c=(o=Math.ceil(d/7))>c?o+1:c+1)&&(a=c,r.length=1),r.reverse();a--;)r.push(0);r.reverse()}for((c=s.length)-(a=u.length)<0&&(a=c,r=u,u=s,s=r),n=0;a;)n=(s[--a]=s[a]+u[a]+n)/p|0,s[a]%=p;for(n&&(s.unshift(n),++i),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=i,l?j(t,d):t}function g(e,t,n){if(e!==~~e||en)throw Error(s+e)}function b(e){var t,n,r,i=e.length-1,a="",o=e[0];if(i>0){for(a+=o,t=1;te.e^a.s<0?1:-1;for(t=0,n=(r=a.d.length)<(i=e.d.length)?r:i;te.d[t]^a.s<0?1:-1;return r===i?0:r>i^a.s<0?1:-1},m.decimalPlaces=m.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},m.dividedBy=m.div=function(e){return w(this,new this.constructor(e))},m.dividedToIntegerBy=m.idiv=function(e){var t=this.constructor;return j(w(this,new t(e),0,1),t.precision)},m.equals=m.eq=function(e){return!this.cmp(e)},m.exponent=function(){return O(this)},m.greaterThan=m.gt=function(e){return this.cmp(e)>0},m.greaterThanOrEqualTo=m.gte=function(e){return this.cmp(e)>=0},m.isInteger=m.isint=function(){return this.e>this.d.length-2},m.isNegative=m.isneg=function(){return this.s<0},m.isPositive=m.ispos=function(){return this.s>0},m.isZero=function(){return 0===this.s},m.lessThan=m.lt=function(e){return this.cmp(e)<0},m.lessThanOrEqualTo=m.lte=function(e){return this.cmp(e)<1},m.logarithm=m.log=function(e){var t,n=this,r=n.constructor,a=r.precision,o=a+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(i))throw Error(c+"NaN");if(n.s<1)throw Error(c+(n.s?"NaN":"-Infinity"));return n.eq(i)?new r(0):(l=!1,t=w(P(n,o),P(e,o),o),l=!0,j(t,a))},m.minus=m.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?k(t,e):v(t,(e.s=-e.s,e))},m.modulo=m.mod=function(e){var t,n=this,r=n.constructor,i=r.precision;if(!(e=new r(e)).s)throw Error(c+"NaN");return n.s?(l=!1,t=w(n,e,0,1).times(e),l=!0,n.minus(t)):j(new r(n),i)},m.naturalExponential=m.exp=function(){return x(this)},m.naturalLogarithm=m.ln=function(){return P(this)},m.negated=m.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},m.plus=m.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?v(t,e):k(t,(e.s=-e.s,e))},m.precision=m.sd=function(e){var t,n,r,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(s+e);if(t=O(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},m.squareRoot=m.sqrt=function(){var e,t,n,r,i,a,o,s=this,u=s.constructor;if(s.s<1){if(!s.s)return new u(0);throw Error(c+"NaN")}for(e=O(s),l=!1,0==(i=Math.sqrt(+s))||i==1/0?(((t=b(s.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=f((e+1)/2)-(e<0||e%2),r=new u(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new u(i.toString()),i=o=(n=u.precision)+3;;)if(r=(a=r).plus(w(s,a,o+2)).times(.5),b(a.d).slice(0,o)===(t=b(r.d)).slice(0,o)){if(t=t.slice(o-3,o+1),i==o&&"4999"==t){if(j(a,n+1,0),a.times(a).eq(s)){r=a;break}}else if("9999"!=t)break;o+=4}return l=!0,j(r,n)},m.times=m.mul=function(e){var t,n,r,i,a,o,c,s,u,f=this,d=f.constructor,h=f.d,y=(e=new d(e)).d;if(!f.s||!e.s)return new d(0);for(e.s*=f.s,n=f.e+e.e,(s=h.length)<(u=y.length)&&(a=h,h=y,y=a,o=s,s=u,u=o),a=[],r=o=s+u;r--;)a.push(0);for(r=u;--r>=0;){for(t=0,i=s+r;i>r;)c=a[i]+y[r]*h[i-r-1]+t,a[i--]=c%p|0,t=c/p|0;a[i]=(a[i]+t)%p|0}for(;!a[--o];)a.pop();return t?++n:a.shift(),e.d=a,e.e=n,l?j(e,d.precision):e},m.toDecimalPlaces=m.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(g(e,0,a),void 0===t?t=r.rounding:g(t,0,8),j(n,e+O(n)+1,t))},m.toExponential=function(e,t){var n,r=this,i=r.constructor;return void 0===e?n=C(r,!0):(g(e,0,a),void 0===t?t=i.rounding:g(t,0,8),n=C(r=j(new i(r),e+1,t),!0,e+1)),n},m.toFixed=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?C(i):(g(e,0,a),void 0===t?t=o.rounding:g(t,0,8),n=C((r=j(new o(i),e+O(i)+1,t)).abs(),!1,e+O(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},m.toInteger=m.toint=function(){var e=this,t=e.constructor;return j(new t(e),O(e)+1,t.rounding)},m.toNumber=function(){return+this},m.toPower=m.pow=function(e){var t,n,r,a,o,s,u=this,d=u.constructor,h=+(e=new d(e));if(!e.s)return new d(i);if(!(u=new d(u)).s){if(e.s<1)throw Error(c+"Infinity");return u}if(u.eq(i))return u;if(r=d.precision,e.eq(i))return j(u,r);if(s=(t=e.e)>=(n=e.d.length-1),o=u.s,s){if((n=h<0?-h:h)<=9007199254740991){for(a=new d(i),t=Math.ceil(r/7+4),l=!1;n%2&&T((a=a.times(u)).d,t),0!==(n=f(n/2));)T((u=u.times(u)).d,t);return l=!0,e.s<0?new d(i).div(a):j(a,r)}}else if(o<0)throw Error(c+"NaN");return o=o<0&&1&e.d[Math.max(t,n)]?-1:1,u.s=1,l=!1,a=e.times(P(u,r+12)),l=!0,(a=x(a)).s=o,a},m.toPrecision=function(e,t){var n,r,i=this,o=i.constructor;return void 0===e?r=C(i,(n=O(i))<=o.toExpNeg||n>=o.toExpPos):(g(e,1,a),void 0===t?t=o.rounding:g(t,0,8),r=C(i=j(new o(i),e,t),e<=(n=O(i))||n<=o.toExpNeg,e)),r},m.toSignificantDigits=m.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(g(e,1,a),void 0===t?t=n.rounding:g(t,0,8)),j(new n(this),e,t)},m.toString=m.valueOf=m.val=m.toJSON=function(){var e=this,t=O(e),n=e.constructor;return C(e,t<=n.toExpNeg||t>=n.toExpPos)};var w=function(){function e(e,t){var n,r=0,i=e.length;for(e=e.slice();i--;)n=e[i]*t+r,e[i]=n%p|0,r=n/p|0;return r&&e.unshift(r),e}function t(e,t,n,r){var i,a;if(n!=r)a=n>r?1:-1;else for(i=a=0;it[i]?1:-1;break}return a}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]1;)e.shift()}return function(r,i,a,o){var l,s,u,f,d,h,y,m,v,g,b,w,x,E,S,P,A,k,C=r.constructor,T=r.s==i.s?1:-1,M=r.d,_=i.d;if(!r.s)return new C(r);if(!i.s)throw Error(c+"Division by zero");for(s=r.e-i.e,A=_.length,S=M.length,m=(y=new C(T)).d=[],u=0;_[u]==(M[u]||0);)++u;if(_[u]>(M[u]||0)&&--s,(w=null==a?a=C.precision:o?a+(O(r)-O(i))+1:a)<0)return new C(0);if(w=w/7+2|0,u=0,1==A)for(f=0,_=_[0],w++;(u1&&(_=e(_,f),M=e(M,f),A=_.length,S=M.length),E=A,g=(v=M.slice(0,A)).length;g=p/2&&++P;do{f=0,(l=t(_,v,A,g))<0?(b=v[0],A!=g&&(b=b*p+(v[1]||0)),(f=b/P|0)>1?(f>=p&&(f=p-1),1==(l=t(d=e(_,f),v,h=d.length,g=v.length))&&(f--,n(d,A16)throw Error(u+O(e));if(!e.s)return new h(i);for(null==t?(l=!1,c=p):c=t,o=new h(.03125);e.abs().gte(.1);)e=e.times(o),f+=5;for(c+=Math.log(d(2,f))/Math.LN10*2+5|0,n=r=a=new h(i),h.precision=c;;){if(r=j(r.times(e),c),n=n.times(++s),b((o=a.plus(w(r,n,c))).d).slice(0,c)===b(a.d).slice(0,c)){for(;f--;)a=j(a.times(a),c);return h.precision=p,null==t?(l=!0,j(a,p)):a}a=o}}function O(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function E(e,t,n){if(t>e.LN10.sd())throw l=!0,n&&(e.precision=n),Error(c+"LN10 precision limit exceeded");return j(new e(e.LN10),t)}function S(e){for(var t="";e--;)t+="0";return t}function P(e,t){var n,r,a,o,s,u,f,d,h,p=1,y=e,m=y.d,v=y.constructor,g=v.precision;if(y.s<1)throw Error(c+(y.s?"NaN":"-Infinity"));if(y.eq(i))return new v(0);if(null==t?(l=!1,d=g):d=t,y.eq(10))return null==t&&(l=!0),E(v,d);if(d+=10,v.precision=d,r=(n=b(m)).charAt(0),o=O(y),!(Math.abs(o)<15e14))return f=E(v,d+2,g).times(o+""),y=P(new v(r+"."+n.slice(1)),d-10).plus(f),v.precision=g,null==t?(l=!0,j(y,g)):y;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=b((y=y.times(e)).d)).charAt(0),p++;for(o=O(y),r>1?(y=new v("0."+n),o++):y=new v(r+"."+n.slice(1)),u=s=y=w(y.minus(i),y.plus(i),d),h=j(y.times(y),d),a=3;;){if(s=j(s.times(h),d),b((f=u.plus(w(s,new v(a),d))).d).slice(0,d)===b(u.d).slice(0,d))return u=u.times(2),0!==o&&(u=u.plus(E(v,d+2,g).times(o+""))),u=w(u,new v(p),d),v.precision=g,null==t?(l=!0,j(u,g)):u;u=f,a+=2}}function A(e,t){var n,r,i;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(r,i)){if(i-=r,n=n-r-1,e.e=f(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),ry||e.e<-y))throw Error(u+n)}else e.s=0,e.e=0,e.d=[0];return e}function j(e,t,n){var r,i,a,o,c,s,h,m,v=e.d;for(o=1,a=v[0];a>=10;a/=10)o++;if((r=t-o)<0)r+=7,i=t,h=v[m=0];else{if((m=Math.ceil((r+1)/7))>=(a=v.length))return e;for(h=a=v[m],o=1;a>=10;a/=10)o++;i=(r%=7)-7+o}if(void 0!==n&&(c=h/(a=d(10,o-i-1))%10|0,s=t<0||void 0!==v[m+1]||h%a,s=n<4?(c||s)&&(0==n||n==(e.s<0?3:2)):c>5||5==c&&(4==n||s||6==n&&(r>0?i>0?h/d(10,o-i):0:v[m-1])%10&1||n==(e.s<0?8:7))),t<1||!v[0])return s?(a=O(e),v.length=1,t=t-a-1,v[0]=d(10,(7-t%7)%7),e.e=f(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==r?(v.length=m,a=1,m--):(v.length=m+1,a=d(10,7-r),v[m]=i>0?(h/d(10,o-i)%d(10,i)|0)*a:0),s)for(;;){if(0==m){(v[0]+=a)==p&&(v[0]=1,++e.e);break}if(v[m]+=a,v[m]!=p)break;v[m--]=0,a=1}for(r=v.length;0===v[--r];)v.pop();if(l&&(e.e>y||e.e<-y))throw Error(u+O(e));return e}function k(e,t){var n,r,i,a,o,c,s,u,f,d,h=e.constructor,y=h.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new h(e),l?j(t,y):t;if(s=e.d,d=t.d,r=t.e,u=e.e,s=s.slice(),o=u-r){for((f=o<0)?(n=s,o=-o,c=d.length):(n=d,r=u,c=s.length),o>(i=Math.max(Math.ceil(y/7),c)+2)&&(o=i,n.length=1),n.reverse(),i=o;i--;)n.push(0);n.reverse()}else{for((f=(i=s.length)<(c=d.length))&&(c=i),i=0;i0;--i)s[c++]=0;for(i=d.length;i>o;){if(s[--i]0?a=a.charAt(0)+"."+a.slice(1)+S(r):o>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(i<0?"e":"e+")+i):i<0?(a="0."+S(-i-1)+a,n&&(r=n-o)>0&&(a+=S(r))):i>=o?(a+=S(i+1-o),n&&(r=n-i-1)>0&&(a=a+"."+S(r))):((r=i+1)0&&(i+1===o&&(a+="."),a+=S(r))),e.s<0?"-"+a:a}function T(e,t){if(e.length>t)return e.length=t,!0}function M(e){if(!e||"object"!=typeof e)throw Error(c+"Object expected");var t,n,r,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t=i[t+1]&&r<=i[t+2]))throw Error(s+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(s+n+": "+r);this[n]=new this(r)}return this}(o=function e(t){var n,r,i;function a(e){var t=this;if(!(t instanceof a))return new a(e);if(t.constructor=a,e instanceof a)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(s+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):A(t,e.toString())}if("string"!=typeof e)throw Error(s+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(s+e);A(t,e)}if(a.prototype=m,a.ROUND_UP=0,a.ROUND_DOWN=1,a.ROUND_CEIL=2,a.ROUND_FLOOR=3,a.ROUND_HALF_UP=4,a.ROUND_HALF_DOWN=5,a.ROUND_HALF_EVEN=6,a.ROUND_HALF_CEIL=7,a.ROUND_HALF_FLOOR=8,a.clone=e,a.config=a.set=M,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isObject=function(e){return null!==e&&("object"==typeof e||"function"==typeof e)}},8128:e=>{"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},8139:(e,t,n)=>{"use strict";e.exports=n(3296)},8838:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const n=/^(?:0|[1-9]\d*)$/;t.isIndex=function(e,t=Number.MAX_SAFE_INTEGER){switch(typeof e){case"number":return Number.isInteger(e)&&e>=0&&e{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(314),i=n(2095),a=n(446),o=n(5566);t.get=function e(t,n,l){if(null==t)return l;switch(typeof n){case"string":{if(r.isUnsafeProperty(n))return l;const a=t[n];return void 0===a?i.isDeepKey(n)?e(t,o.toPath(n),l):l:a}case"number":case"symbol":{"number"==typeof n&&(n=a.toKey(n));const e=t[n];return void 0===e?l:e}default:{if(Array.isArray(n))return function(e,t,n){if(0===t.length)return n;let i=e;for(let e=0;e{"use strict";var t=Object.prototype.hasOwnProperty,n="~";function r(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,r,a,o){if("function"!=typeof r)throw new TypeError("The listener must be a function");var l=new i(r,a||e,o),c=n?n+t:t;return e._events[c]?e._events[c].fn?e._events[c]=[e._events[c],l]:e._events[c].push(l):(e._events[c]=l,e._eventsCount++),e}function o(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function l(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),l.prototype.eventNames=function(){var e,r,i=[];if(0===this._eventsCount)return i;for(r in e=this._events)t.call(e,r)&&i.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?i.concat(Object.getOwnPropertySymbols(e)):i},l.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,a=r.length,o=new Array(a);i{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(2095),i=n(8838),a=n(5891),o=n(5566);t.has=function(e,t){let n;if(n=Array.isArray(t)?t:"string"==typeof t&&r.isDeepKey(t)&&null==e?.[t]?o.toPath(t):[t],0===n.length)return!1;let l=e;for(let e=0;e{e.exports=n(6999)()},9251:(e,t)=>{"use strict";Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.isTypedArray=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={id:e,exports:{}};return t[e].call(a.exports,a,a.exports,r),a.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nc=void 0;var i={};return(()=>{"use strict";r.r(i),r.d(i,{default:()=>uk});var e={};r.r(e),r.d(e,{hasBrowserEnv:()=>an,hasStandardBrowserEnv:()=>ln,hasStandardBrowserWebWorkerEnv:()=>cn,navigator:()=>on,origin:()=>sn});var t={};r.r(t),r.d(t,{scaleBand:()=>ws,scaleDiverging:()=>sp,scaleDivergingLog:()=>up,scaleDivergingPow:()=>dp,scaleDivergingSqrt:()=>hp,scaleDivergingSymlog:()=>fp,scaleIdentity:()=>of,scaleImplicit:()=>gs,scaleLinear:()=>af,scaleLog:()=>yf,scaleOrdinal:()=>bs,scalePoint:()=>Os,scalePow:()=>Sf,scaleQuantile:()=>Rf,scaleQuantize:()=>Nf,scaleRadial:()=>jf,scaleSequential:()=>np,scaleSequentialLog:()=>rp,scaleSequentialPow:()=>ap,scaleSequentialQuantile:()=>lp,scaleSequentialSqrt:()=>op,scaleSequentialSymlog:()=>ip,scaleSqrt:()=>Pf,scaleSymlog:()=>bf,scaleThreshold:()=>If,scaleTime:()=>Zh,scaleUtc:()=>Qh,tickFormat:()=>nf});var n=r(253),a=r(9067),o=r.n(a),l=r(2280);const c=(0,n.createContext)({baseUrl:!1,monitoringStatus:!1,setMonitoringStatus:()=>{},pollInterval:null,setPollInterval:()=>{}}),s=()=>(0,n.useContext)(c),u=(0,n.createContext)({addSuccess:e=>{},addError:e=>{},clear:()=>{}}),f=({children:e})=>{const t=(0,n.useRef)(),r=(0,n.useMemo)((()=>({addSuccess:e=>t.current.add({intent:"success",autoClosable:!0,message:e}),addError:e=>t.current.add({intent:"danger",message:e}),clear:()=>t.current.clear()})),[t]);return n.default.createElement(u.Provider,{value:r},e,n.default.createElement(l.Toaster,{ref:t}))};f.propTypes={children:o().element.isRequired};const d=()=>(0,n.useContext)(u);var h="popstate";function p(e={}){return function(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,l="POP",c=null,s=u();function u(){return(o.state||{idx:null}).idx}function f(){l="POP";let e=u(),t=null==e?null:e-s;s=e,c&&c({action:l,location:p.location,delta:t})}function d(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),y(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:b(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==s&&(s=0,o.replaceState({...o.state,idx:s},""));let p={get action(){return l},get location(){return e(i,o)},listen(e){if(c)throw new Error("A history only accepts one active listener");return i.addEventListener(h,f),c=e,()=>{i.removeEventListener(h,f),c=null}},createHref:e=>t(i,e),createURL:d,encodeLocation(e){let t=d(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){l="PUSH";let r=g(p.location,e,t);n&&n(r,e),s=u()+1;let f=v(r,s),d=p.createHref(r);try{o.pushState(f,"",d)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(d)}a&&c&&c({action:l,location:p.location,delta:1})},replace:function(e,t){l="REPLACE";let r=g(p.location,e,t);n&&n(r,e),s=u();let i=v(r,s),f=p.createHref(r);o.replaceState(i,"",f),a&&c&&c({action:l,location:p.location,delta:0})},go:e=>o.go(e)};return p}((function(e,t){let{pathname:n,search:r,hash:i}=e.location;return g("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){return"string"==typeof t?t:b(t)}),null,e)}function y(e,t){if(!1===e||null==e)throw new Error(t)}function m(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function v(e,t){return{usr:e.state,key:e.key,idx:t}}function g(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?w(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function b({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function w(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function x(e,t,n="/"){return function(e,t,n,r){let i=N(("string"==typeof t?w(t):t).pathname||"/",n);if(null==i)return null;let a=O(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(a);let o=null;for(let e=0;null==o&&e{let c={relativePath:void 0===l?e.path||"":l,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&o)return;y(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let s=B([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(y(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),O(e.children,t,u,s,o)),(null!=e.path||e.index)&&t.push({path:s,score:M(s,e.index),routesMeta:u})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of E(e.path))a(e,t,!0,n);else a(e,t)})),t}function E(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=E(r.join("/")),l=[];return l.push(...o.map((e=>""===e?a:[a,e].join("/")))),i&&l.push(...o),l.map((t=>e.startsWith("/")&&""===t?"/":t))}new WeakMap;var S=/^:[\w-]+$/,P=3,A=2,j=1,k=10,C=-2,T=e=>"*"===e;function M(e,t){let n=e.split("/"),r=n.length;return n.some(T)&&(r+=C),t&&(r+=A),n.filter((e=>!T(e))).reduce(((e,t)=>e+(S.test(t)?P:""===t?j:k)),r)}function _(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let e=0;e(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"))).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),l=i.slice(1),c=r.reduce(((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=l[r]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const i=l[r];return e[t]=n&&!i?void 0:(i||"").replace(/%2F/g,"/"),e}),{});return{params:c,pathname:a,pathnameBase:o,pattern:e}}function R(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return m(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function N(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function I(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function L(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase))}function F(e,t,n,r=!1){let i;"string"==typeof e?i=w(e):(i={...e},y(!i.pathname||!i.pathname.includes("?"),I("?","pathname","search",i)),y(!i.pathname||!i.pathname.includes("#"),I("#","pathname","hash",i)),y(!i.search||!i.search.includes("#"),I("#","search","hash",i)));let a,o=""===e||""===i.pathname,l=o?"/":i.pathname;if(null==l)a=n;else{let e=t.length-1;if(!r&&l.startsWith("..")){let t=l.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t="/"){let{pathname:n,search:r="",hash:i=""}="string"==typeof e?w(e):e,a=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:a,search:$(r),hash:z(i)}}(i,a),s=l&&"/"!==l&&l.endsWith("/"),u=(o||"."===l)&&n.endsWith("/");return c.pathname.endsWith("/")||!s&&!u||(c.pathname+="/"),c}var B=e=>e.join("/").replace(/\/\/+/g,"/"),U=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",z=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function q(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var K=["POST","PUT","PATCH","DELETE"],W=(new Set(K),["GET",...K]);new Set(W),Symbol("ResetLoaderData");var H=n.createContext(null);H.displayName="DataRouter";var V=n.createContext(null);V.displayName="DataRouterState";n.createContext(!1);var Y=n.createContext({isTransitioning:!1});Y.displayName="ViewTransition",n.createContext(new Map).displayName="Fetchers",n.createContext(null).displayName="Await";var G=n.createContext(null);G.displayName="Navigation";var X=n.createContext(null);X.displayName="Location";var J=n.createContext({outlet:null,matches:[],isDataRoute:!1});J.displayName="Route";var Z=n.createContext(null);function Q(){return null!=n.useContext(X)}function ee(){return y(Q(),"useLocation() may be used only in the context of a component."),n.useContext(X).location}Z.displayName="RouteError";var te="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function ne(e){n.useContext(G).static||n.useLayoutEffect(e)}function re(){let{isDataRoute:e}=n.useContext(J);return e?function(){let{router:e}=function(e){let t=n.useContext(H);return y(t,fe(e)),t}("useNavigate"),t=de("useNavigate"),r=n.useRef(!1);ne((()=>{r.current=!0}));let i=n.useCallback((async(n,i={})=>{m(r.current,te),r.current&&("number"==typeof n?e.navigate(n):await e.navigate(n,{fromRouteId:t,...i}))}),[e,t]);return i}():function(){y(Q(),"useNavigate() may be used only in the context of a component.");let e=n.useContext(H),{basename:t,navigator:r}=n.useContext(G),{matches:i}=n.useContext(J),{pathname:a}=ee(),o=JSON.stringify(L(i)),l=n.useRef(!1);ne((()=>{l.current=!0}));let c=n.useCallback(((n,i={})=>{if(m(l.current,te),!l.current)return;if("number"==typeof n)return void r.go(n);let c=F(n,JSON.parse(o),a,"path"===i.relative);null==e&&"/"!==t&&(c.pathname="/"===c.pathname?t:B([t,c.pathname])),(i.replace?r.replace:r.push)(c,i.state,i)}),[t,r,o,a,e]);return c}()}var ie=n.createContext(null);function ae(e,{relative:t}={}){let{matches:r}=n.useContext(J),{pathname:i}=ee(),a=JSON.stringify(L(r));return n.useMemo((()=>F(e,JSON.parse(a),i,"path"===t)),[e,a,i,t])}function oe(e,t,r,i,a){y(Q(),"useRoutes() may be used only in the context of a component.");let{navigator:o}=n.useContext(G),{matches:l}=n.useContext(J),c=l[l.length-1],s=c?c.params:{},u=c?c.pathname:"/",f=c?c.pathnameBase:"/",d=c&&c.route;{let e=d&&d.path||"";pe(u,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${u}" (under ) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent to .`)}let h,p=ee();if(t){let e="string"==typeof t?w(t):t;y("/"===f||e.pathname?.startsWith(f),`When overriding the location using \`\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${e.pathname}" was given in the \`location\` prop.`),h=e}else h=p;let v=h.pathname||"/",g=v;if("/"!==f){let e=f.replace(/^\//,"").split("/");g="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let b=x(e,{pathname:g});m(d||null!=b,`No routes matched location "${h.pathname}${h.search}${h.hash}" `),m(null==b||void 0!==b[b.length-1].route.element||void 0!==b[b.length-1].route.Component||void 0!==b[b.length-1].route.lazy,`Matched leaf route at location "${h.pathname}${h.search}${h.hash}" does not have an element or Component. This means it will render an with a null value by default resulting in an "empty" page.`);let O=function(e,t=[],r=null,i=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,o=r?.errors;if(null!=o){let e=a.findIndex((e=>e.route.id&&void 0!==o?.[e.route.id]));y(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let l=!1,c=-1;if(r)for(let e=0;e=0?a.slice(0,c+1):[a[0]];break}}}return a.reduceRight(((e,s,u)=>{let f,d=!1,h=null,p=null;r&&(f=o&&s.route.id?o[s.route.id]:void 0,h=s.route.errorElement||ce,l&&(c<0&&0===u?(pe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):c===u&&(d=!0,p=s.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,u+1)),m=()=>{let t;return t=f?h:d?p:s.route.Component?n.createElement(s.route.Component,null):s.route.element?s.route.element:e,n.createElement(ue,{match:s,routeContext:{outlet:e,matches:y,isDataRoute:null!=r},children:t})};return r&&(s.route.ErrorBoundary||s.route.errorElement||0===u)?n.createElement(se,{location:r.location,revalidation:r.revalidation,component:h,error:f,children:m(),routeContext:{outlet:null,matches:y,isDataRoute:!0},unstable_onError:i}):m()}),null)}(b&&b.map((e=>Object.assign({},e,{params:Object.assign({},s,e.params),pathname:B([f,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:B([f,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),l,r,i,a);return t&&O?n.createElement(X.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...h},navigationType:"POP"}},O):O}function le(){let e=function(){let e=n.useContext(Z),t=function(e){let t=n.useContext(V);return y(t,fe(e)),t}("useRouteError"),r=de("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=q(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},l=null;return console.error("Error handled by React Router default ErrorBoundary:",e),l=n.createElement(n.Fragment,null,n.createElement("p",null,"💿 Hey developer 👋"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:o},"ErrorBoundary")," or"," ",n.createElement("code",{style:o},"errorElement")," prop on your route.")),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:a},r):null,l)}var ce=n.createElement(le,null),se=class extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.unstable_onError?this.props.unstable_onError(e,t):console.error("React Router caught the following error during render",e)}render(){return void 0!==this.state.error?n.createElement(J.Provider,{value:this.props.routeContext},n.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ue({routeContext:e,match:t,children:r}){let i=n.useContext(H);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),n.createElement(J.Provider,{value:e},r)}function fe(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function de(e){let t=function(e){let t=n.useContext(J);return y(t,fe(e)),t}(e),r=t.matches[t.matches.length-1];return y(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var he={};function pe(e,t,n){t||he[e]||(he[e]=!0,m(!1,n))}function ye({to:e,replace:t,state:r,relative:i}){y(Q()," may be used only in the context of a component.");let{static:a}=n.useContext(G);m(!a," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:o}=n.useContext(J),{pathname:l}=ee(),c=re(),s=F(e,L(o),l,"path"===i),u=JSON.stringify(s);return n.useEffect((()=>{c(JSON.parse(u),{replace:t,state:r,relative:i})}),[c,u,i,t,r]),null}function me(e){return function(e){let t=n.useContext(J).outlet;return t?n.createElement(ie.Provider,{value:e},t):t}(e.context)}function ve(e){y(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function ge({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:o=!1}){y(!Q(),"You cannot render a inside another . You should never have more than one in your app.");let l=e.replace(/^\/*/,"/"),c=n.useMemo((()=>({basename:l,navigator:a,static:o,future:{}})),[l,a,o]);"string"==typeof r&&(r=w(r));let{pathname:s="/",search:u="",hash:f="",state:d=null,key:h="default"}=r,p=n.useMemo((()=>{let e=N(s,l);return null==e?null:{location:{pathname:e,search:u,hash:f,state:d,key:h},navigationType:i}}),[l,s,u,f,d,h,i]);return m(null!=p,` is not able to match the URL "${s}${u}${f}" because it does not start with the basename, so the won't render anything.`),null==p?null:n.createElement(G.Provider,{value:c},n.createElement(X.Provider,{children:t,value:p}))}function be({children:e,location:t}){return oe(we(e),t)}function we(e,t=[]){let r=[];return n.Children.forEach(e,((e,i)=>{if(!n.isValidElement(e))return;let a=[...t,i];if(e.type===n.Fragment)return void r.push.apply(r,we(e.props.children,a));y(e.type===ve,`[${"string"==typeof e.type?e.type:e.type.name}] is not a component. All component children of must be a or `),y(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=we(e.props.children,a)),r.push(o)})),r}n.memo((function({routes:e,future:t,state:n,unstable_onError:r}){return oe(e,void 0,n,r,t)})),n.Component;var xe="get",Oe="application/x-www-form-urlencoded";function Ee(e){return null!=e&&"string"==typeof e.tagName}var Se=null,Pe=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Ae(e){return null==e||Pe.has(e)?e:(m(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Oe}"`),null)}function je(e,t){if(!1===e||null==e)throw new Error(t)}function ke(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Ce(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,l=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter(((e,t)=>o(e,t)||l(e,t))):"data"===a?t.filter(((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0})):[]}function Te(e,t,{includeHydrateFallback:n}={}){return r=e.map((e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i})).flat(1),[...new Set(r)];var r}function Me(){let e=n.useContext(H);return je(e,"You must render this element inside a element"),e}function _e(){let e=n.useContext(V);return je(e,"You must render this element inside a element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis,Symbol("SingleFetchRedirect");var De=n.createContext(void 0);function Re(){let e=n.useContext(De);return je(e,"You must render this element inside a element"),e}function Ne(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Ie({page:e,...t}){let{router:r}=Me(),i=n.useMemo((()=>x(r.routes,e,r.basename)),[r.routes,e,r.basename]);return i?n.createElement(Fe,{page:e,matches:i,...t}):null}function Le(e){let{manifest:t,routeModules:r}=Re(),[i,a]=n.useState([]);return n.useEffect((()=>{let n=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce(((e,i)=>{if(t&&!function(e){return null!=e&&"string"==typeof e.page}(i)&&"script"===i.as&&i.href&&r.has(i.href))return e;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e}),[])}((await Promise.all(e.map((async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(r,n);return e.links?e.links():[]}return[]})))).flat(1).filter(ke).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,r).then((e=>{n||a(e)})),()=>{n=!0}}),[e,t,r]),i}function Fe({page:e,matches:t,...r}){let i=ee(),{manifest:a,routeModules:o}=Re(),{basename:l}=Me(),{loaderData:c,matches:s}=_e(),u=n.useMemo((()=>Ce(e,t,s,a,i,"data")),[e,t,s,a,i]),f=n.useMemo((()=>Ce(e,t,s,a,i,"assets")),[e,t,s,a,i]),d=n.useMemo((()=>{if(e===i.pathname+i.search+i.hash)return[];let n=new Set,r=!1;if(t.forEach((e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!u.some((t=>t.route.id===e.route.id))&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))})),0===n.size)return[];let s=function(e,t,n){let r="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===r.pathname?r.pathname=`_root.${n}`:t&&"/"===N(r.pathname,t)?r.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\/$/,"")}.${n}`,r}(e,l,"data");return r&&n.size>0&&s.searchParams.set("_routes",t.filter((e=>n.has(e.route.id))).map((e=>e.route.id)).join(",")),[s.pathname+s.search]}),[l,c,i,a,u,t,e,o]),h=n.useMemo((()=>Te(f,a)),[f,a]),p=Le(f);return n.createElement(n.Fragment,null,d.map((e=>n.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),h.map((e=>n.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),p.map((({key:e,link:t})=>n.createElement("link",{key:e,nonce:r.nonce,...t}))))}De.displayName="FrameworkContext";function Be(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}n.Component;var Ue="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Ue&&(window.__reactRouterVersion="7.9.1")}catch(e){}function $e({basename:e,children:t,window:r}){let i=n.useRef();null==i.current&&(i.current=p({window:r,v5Compat:!0}));let a=i.current,[o,l]=n.useState({action:a.action,location:a.location}),c=n.useCallback((e=>{n.startTransition((()=>l(e)))}),[l]);return n.useLayoutEffect((()=>a.listen(c)),[a,c]),n.createElement(ge,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a})}var ze=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qe=n.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:i,reloadDocument:a,replace:o,state:l,target:c,to:s,preventScrollReset:u,viewTransition:f,...d},h){let p,{basename:v}=n.useContext(G),g="string"==typeof s&&ze.test(s),w=!1;if("string"==typeof s&&g&&(p=s,Ue))try{let e=new URL(window.location.href),t=s.startsWith("//")?new URL(e.protocol+s):new URL(s),n=N(t.pathname,v);t.origin===e.origin&&null!=n?s=n+t.search+t.hash:w=!0}catch(e){m(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let x=function(e,{relative:t}={}){y(Q(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:i}=n.useContext(G),{hash:a,pathname:o,search:l}=ae(e,{relative:t}),c=o;return"/"!==r&&(c="/"===o?r:B([r,o])),i.createHref({pathname:c,search:l,hash:a})}(s,{relative:i}),[O,E,S]=function(e,t){let r=n.useContext(De),[i,a]=n.useState(!1),[o,l]=n.useState(!1),{onFocus:c,onBlur:s,onMouseEnter:u,onMouseLeave:f,onTouchStart:d}=t,h=n.useRef(null);n.useEffect((()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver((e=>{e.forEach((e=>{l(e.isIntersecting)}))}),{threshold:.5});return h.current&&e.observe(h.current),()=>{e.disconnect()}}}),[e]),n.useEffect((()=>{if(i){let e=setTimeout((()=>{l(!0)}),100);return()=>{clearTimeout(e)}}}),[i]);let p=()=>{a(!0)},y=()=>{a(!1),l(!1)};return r?"intent"!==e?[o,h,{}]:[o,h,{onFocus:Ne(c,p),onBlur:Ne(s,y),onMouseEnter:Ne(u,p),onMouseLeave:Ne(f,y),onTouchStart:Ne(d,p)}]:[!1,h,{}]}(r,d),P=function(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:l}={}){let c=re(),s=ee(),u=ae(e,{relative:o});return n.useCallback((n=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(n,t)){n.preventDefault();let t=void 0!==r?r:b(s)===b(u);c(e,{replace:t,state:i,preventScrollReset:a,relative:o,viewTransition:l})}}),[s,c,u,r,i,t,e,a,o,l])}(s,{replace:o,state:l,target:c,preventScrollReset:u,relative:i,viewTransition:f}),A=n.createElement("a",{...d,...S,href:p||x,onClick:w||a?e:function(t){e&&e(t),t.defaultPrevented||P(t)},ref:Be(h,E),target:c,"data-discover":g||"render"!==t?void 0:"true"});return O&&!g?n.createElement(n.Fragment,null,A,n.createElement(Ie,{page:x})):A}));qe.displayName="Link";var Ke=n.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:i=!1,style:a,to:o,viewTransition:l,children:c,...s},u){let f=ae(o,{relative:s.relative}),d=ee(),h=n.useContext(V),{navigator:p,basename:m}=n.useContext(G),v=null!=h&&function(e,{relative:t}={}){let r=n.useContext(Y);y(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=He("useViewTransitionState"),a=ae(e,{relative:t});if(!r.isTransitioning)return!1;let o=N(r.currentLocation.pathname,i)||r.currentLocation.pathname,l=N(r.nextLocation.pathname,i)||r.nextLocation.pathname;return null!=D(a.pathname,l)||null!=D(a.pathname,o)}(f)&&!0===l,g=p.encodeLocation?p.encodeLocation(f).pathname:f.pathname,b=d.pathname,w=h&&h.navigation&&h.navigation.location?h.navigation.location.pathname:null;t||(b=b.toLowerCase(),w=w?w.toLowerCase():null,g=g.toLowerCase()),w&&m&&(w=N(w,m)||w);const x="/"!==g&&g.endsWith("/")?g.length-1:g.length;let O,E=b===g||!i&&b.startsWith(g)&&"/"===b.charAt(x),S=null!=w&&(w===g||!i&&w.startsWith(g)&&"/"===w.charAt(g.length)),P={isActive:E,isPending:S,isTransitioning:v},A=E?e:void 0;O="function"==typeof r?r(P):[r,E?"active":null,S?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof a?a(P):a;return n.createElement(qe,{...s,"aria-current":A,className:O,ref:u,style:j,to:o,viewTransition:l},"function"==typeof c?c(P):c)}));Ke.displayName="NavLink";var We=n.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:o,method:l=xe,action:c,onSubmit:s,relative:u,preventScrollReset:f,viewTransition:d,...h},p)=>{let m=function(){let{router:e}=He("useSubmit"),{basename:t}=n.useContext(G),r=de("useRouteId");return n.useCallback((async(n,i={})=>{let{action:a,method:o,encType:l,formData:c,body:s}=function(e,t){let n,r,i,a,o;if(function(e){return Ee(e)&&"form"===e.tagName.toLowerCase()}(e)){let o=e.getAttribute("action");r=o?N(o,t):null,n=e.getAttribute("method")||xe,i=Ae(e.getAttribute("enctype"))||Oe,a=new FormData(e)}else if(function(e){return Ee(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Ee(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a