/*! For license information please see main.js.LICENSE.txt */ define(["plesk-ui-library"],e=>(()=>{var t,r,n={297(e){"use strict";e.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},528(e,t,r){"use strict";var n,o=r(9629),a=r(9838),i=r(9110),l=r(1155),c=r(4943),s=r(5731),u=r(3468),p=r(2140),f=r(8479),d=r(8449),m=r(8129),y=r(2387),h=r(5865),g=r(1319),b=r(6882),v=Function,E=function(e){try{return v('"use strict"; return ('+e+").constructor;")()}catch(e){}},w=r(9336),S=r(4940),T=function(){throw new u},O=w?function(){try{return T}catch(e){try{return w(arguments,"callee").get}catch(e){return T}}}():T,x=r(3558)(),P=r(6369),A=r(7345),C=r(7859),R=r(6095),j=r(4531),k={},D="undefined"!=typeof Uint8Array&&P?P(Uint8Array):n,M={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":x&&P?P([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?n:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":x&&P?P(P([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&P?P((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":l,"%ReferenceError%":c,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&P?P((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&P?P(""[Symbol.iterator]()):n,"%Symbol%":x?Symbol:n,"%SyntaxError%":s,"%ThrowTypeError%":O,"%TypedArray%":D,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":p,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":R,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":A,"%Math.abs%":f,"%Math.floor%":d,"%Math.max%":m,"%Math.min%":y,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":b,"%Reflect.getPrototypeOf%":C};if(P)try{null.error}catch(e){var L=P(P(e));M["%Error.prototype%"]=L}var I=function e(t){var r;if("%AsyncFunction%"===t)r=E("async function () {}");else if("%GeneratorFunction%"===t)r=E("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=E("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&P&&(r=P(o.prototype))}return M[t]=r,r},_={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=r(9138),q=r(8554),U=N.call(j,Array.prototype.concat),F=N.call(R,Array.prototype.splice),B=N.call(j,String.prototype.replace),H=N.call(j,String.prototype.slice),W=N.call(j,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,G=function(e,t){var r,n=e;if(q(_,n)&&(n="%"+(r=_[n])[0]+"%"),q(M,n)){var o=M[n];if(o===k&&(o=I(n)),void 0===o&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new s("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===W(/^%?[^%]*%?$/,e))throw new s("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=H(e,0,1),r=H(e,-1);if("%"===t&&"%"!==r)throw new s("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new s("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,z,function(e,t,r,o){n[n.length]=r?B(o,X,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",o=G("%"+n+"%",t),a=o.name,i=o.value,l=!1,c=o.alias;c&&(n=c[0],F(r,U([0,1],c)));for(var p=1,f=!0;p=r.length){var h=w(i,d);i=(f=!!h)&&"get"in h&&!("originalValue"in h.get)?h.get:i[d]}else f=q(i,d),i=i[d];f&&!l&&(M[a]=i)}}return i}},550(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(2280),o=r(2517),a=function(e){var t=e.content,r=e.tooltip,a=e.onCopy,i=(0,o.useTranslate)(),l=r||i("CopyBlock.copyClipboard");return(0,n.createElement)(o.Alert,{style:{marginBottom:0}},(0,n.createElement)(o.Grid,null,(0,n.createElement)(o.GridCol,{xs:11},t),(0,n.createElement)(o.GridCol,{xs:1,style:{textAlign:"right",marginBlock:"-3px"}},(0,n.createElement)(o.Button,{ghost:!0,icon:"copy",tooltip:l,tooltipAsLabel:!0,onClick:function(){(0,o.copyToClipboard)(t),a()}}))))};a.defaultProps={onCopy:function(){}},a.propTypes={content:o.PropTypes.string.isRequired,tooltip:o.PropTypes.string,onCopy:o.PropTypes.func};const i=a},877(e,t,r){"use strict";var n=r(2280),o=r(9067),a=r.n(o),i=r(9398),l=r(5838),c=r(4502),s=r(1912),u=["children","config","successUrl","successMessage","cancelUrl","history","onSubmit","cancelButton","onSuccess","api","statusMessages","staticContext"];function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;tr?c(d(a,{plainObjects:n}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o=m?i.slice(c,c+m):i,u=[],p=0;p=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||a===n.RFC1738&&(40===d||41===d)?u[u.length]=s.charAt(p):d<128?u[u.length]=f[d]:d<2048?u[u.length]=f[192|d>>6]+f[128|63&d]:d<55296||d>=57344?u[u.length]=f[224|d>>12]+f[128|d>>6&63]+f[128|63&d]:(p+=1,d=65536+((1023&d)<<10|1023&s.charCodeAt(p)),u[u.length]=f[240|d>>18]+f[128|d>>12&63]+f[128|d>>6&63]+f[128|63&d])}l+=u.join("")}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:s,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;nFr});var n=r(2517),o=r(7033),a=r(2280),i=(0,a.createContext)(),l=i.Provider;const c=function(){return(0,a.useContext)(i)};var s=r(550),u=r(9067),p=r.n(u);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r300?o:300,"px"),T.current.codeMirror.refresh()}}(e)},50)}},d)),(0,n.createElement)(n.Dialog,{isOpen:v,onClose:function(){return S(!1)},form:{onSubmit:function(){S(!1),r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirm"})}},title:(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirmReason"}),size:"xs"},(0,n.createElement)(n.Translate,{content:"EnvDrawer.confirmAsk"})))};T.propTypes={isOpen:n.PropTypes.bool.isRequired,onClose:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired};const O=T;var x=function(e){var t=e.href,r=e.children,o=(0,n.useTranslate)();return(0,n.createElement)(a.Fragment,null,r," ",(0,n.createElement)("sup",null,(0,n.createElement)("a",{href:t,target:"_blank",rel:"noreferrer","aria-label":o("ApplicationCard.learnMore")},(0,n.createElement)(n.Icon,{name:"info-circle-filled",intent:"info",size:"16","aria-hidden":"true"}))))};x.propTypes={href:n.PropTypes.string.isRequired,children:n.PropTypes.node.isRequired};const P=x;function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function C(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r300?o:300,"px"),O.current.codeMirror.refresh()}}(e)},50)}},y)),(0,n.createElement)(n.Dialog,{isOpen:S,onClose:function(){return T(!1)},form:{onSubmit:function(){T(!1),r()},submitButton:{children:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirm"})}},title:(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirmReason"}),size:"xs"},(0,n.createElement)(n.Translate,{content:"DeploymentScriptDrawer.confirmAsk"})))};F.propTypes={isOpen:n.PropTypes.bool.isRequired,onClose:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired};const B=F;function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return z(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r2?r-2:0),o=2;o1?t-1:0),n=1;n1?r-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:Ce;me&&me(e,null);let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(ye(t)||(t[n]=e),o=e)}e[o]=!0}return e}function Fe(e){for(let t=0;t/gm),rt=ve(/\$\{[\w\W]*/gm),nt=ve(/^data-[\-\w.\u00B7-\uFFFF]+$/),ot=ve(/^aria-[\-\w]+$/),at=ve(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),it=ve(/^(?:\w+script|data):/i),lt=ve(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ct=ve(/^html$/i),st=ve(/^[a-z][.\w]*(-[.\w]+)+$/i);var ut=Object.freeze({__proto__:null,ARIA_ATTR:ot,ATTR_WHITESPACE:lt,CUSTOM_ELEMENT:st,DATA_ATTR:nt,DOCTYPE_NAME:ct,ERB_EXPR:tt,IS_ALLOWED_URI:at,IS_SCRIPT_OR_DATA:it,MUSTACHE_EXPR:et,TMPLIT_EXPR:rt});const pt=function(){return"undefined"==typeof window?null:window};var ft=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt();const r=t=>e(t);if(r.version="3.3.1",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let{document:n}=t;const o=n,a=o.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:c,Element:s,NodeFilter:u,NamedNodeMap:p=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:d,trustedTypes:m}=t,y=s.prototype,h=He(y,"cloneNode"),g=He(y,"remove"),b=He(y,"nextSibling"),v=He(y,"childNodes"),E=He(y,"parentNode");if("function"==typeof l){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let w,S="";const{implementation:T,createNodeIterator:O,createDocumentFragment:x,getElementsByTagName:P}=n,{importNode:A}=o;let C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof de&&"function"==typeof E&&T&&void 0!==T.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:j,TMPLIT_EXPR:k,DATA_ATTR:D,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:_}=ut;let{IS_ALLOWED_URI:N}=ut,q=null;const U=Ue({},[...We,...ze,...Xe,...$e,...Je]);let F=null;const B=Ue({},[...Ke,...Qe,...Ye,...Ze]);let H=Object.seal(Ee(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,z=null;const X=Object.seal(Ee(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let G=!0,$=!0,V=!1,J=!0,K=!1,Q=!0,Y=!1,Z=!1,ee=!1,te=!1,re=!1,ne=!1,oe=!0,ae=!1,ie=!0,le=!1,ce={},se=null;const ue=Ue({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let pe=null;const fe=Ue({},["audio","video","img","source","image","track"]);let me=null;const ye=Ue({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),he="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let we=ve,Se=!1,Ne=null;const qe=Ue({},[he,ge,ve],Re);let Fe=Ue({},["mi","mo","mn","ms","mtext"]),et=Ue({},["annotation-xml"]);const tt=Ue({},["title","style","font","a","script"]);let rt=null;const nt=["application/xhtml+xml","text/html"];let ot=null,it=null;const lt=n.createElement("form"),st=function(e){return e instanceof RegExp||e instanceof Function},ft=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!it||it!==e){if(e&&"object"==typeof e||(e={}),e=Be(e),rt=-1===nt.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ot="application/xhtml+xml"===rt?Re:Ce,q=Le(e,"ALLOWED_TAGS")?Ue({},e.ALLOWED_TAGS,ot):U,F=Le(e,"ALLOWED_ATTR")?Ue({},e.ALLOWED_ATTR,ot):B,Ne=Le(e,"ALLOWED_NAMESPACES")?Ue({},e.ALLOWED_NAMESPACES,Re):qe,me=Le(e,"ADD_URI_SAFE_ATTR")?Ue(Be(ye),e.ADD_URI_SAFE_ATTR,ot):ye,pe=Le(e,"ADD_DATA_URI_TAGS")?Ue(Be(fe),e.ADD_DATA_URI_TAGS,ot):fe,se=Le(e,"FORBID_CONTENTS")?Ue({},e.FORBID_CONTENTS,ot):ue,W=Le(e,"FORBID_TAGS")?Ue({},e.FORBID_TAGS,ot):Be({}),z=Le(e,"FORBID_ATTR")?Ue({},e.FORBID_ATTR,ot):Be({}),ce=!!Le(e,"USE_PROFILES")&&e.USE_PROFILES,G=!1!==e.ALLOW_ARIA_ATTR,$=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,J=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,K=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,Y=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,re=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,ie=!1!==e.KEEP_CONTENT,le=e.IN_PLACE||!1,N=e.ALLOWED_URI_REGEXP||at,we=e.NAMESPACE||ve,Fe=e.MATHML_TEXT_INTEGRATION_POINTS||Fe,et=e.HTML_INTEGRATION_POINTS||et,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&st(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),K&&($=!1),re&&(te=!0),ce&&(q=Ue({},Je),F=[],!0===ce.html&&(Ue(q,We),Ue(F,Ke)),!0===ce.svg&&(Ue(q,ze),Ue(F,Qe),Ue(F,Ze)),!0===ce.svgFilters&&(Ue(q,Xe),Ue(F,Qe),Ue(F,Ze)),!0===ce.mathMl&&(Ue(q,$e),Ue(F,Ye),Ue(F,Ze))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?X.tagCheck=e.ADD_TAGS:(q===U&&(q=Be(q)),Ue(q,e.ADD_TAGS,ot))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?X.attributeCheck=e.ADD_ATTR:(F===B&&(F=Be(F)),Ue(F,e.ADD_ATTR,ot))),e.ADD_URI_SAFE_ATTR&&Ue(me,e.ADD_URI_SAFE_ATTR,ot),e.FORBID_CONTENTS&&(se===ue&&(se=Be(se)),Ue(se,e.FORBID_CONTENTS,ot)),e.ADD_FORBID_CONTENTS&&(se===ue&&(se=Be(se)),Ue(se,e.ADD_FORBID_CONTENTS,ot)),ie&&(q["#text"]=!0),Y&&Ue(q,["html","head","body"]),q.table&&(Ue(q,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _e('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,S=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(m,a)),null!==w&&"string"==typeof S&&(S=w.createHTML(""));be&&be(e),it=e}},dt=Ue({},[...ze,...Xe,...Ge]),mt=Ue({},[...$e,...Ve]),yt=function(e){Pe(r.removed,{element:e});try{E(e).removeChild(e)}catch(t){g(e)}},ht=function(e,t){try{Pe(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Pe(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||re)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},gt=function(e){let t=null,r=null;if(ee)e=""+e;else{const t=je(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===rt&&we===ve&&(e=''+e+"");const o=w?w.createHTML(e):e;if(we===ve)try{t=(new d).parseFromString(o,rt)}catch(e){}if(!t||!t.documentElement){t=T.createDocument(we,"template",null);try{t.documentElement.innerHTML=Se?S:o}catch(e){}}const a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),we===ve?P.call(t,Y?"html":"body")[0]:Y?t.documentElement:a},bt=function(e){return O.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},vt=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof p)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Et=function(e){return"function"==typeof c&&e instanceof c};function wt(e,t,n){Te(e,e=>{e.call(r,t,n,it)})}const St=function(e){let t=null;if(wt(C.beforeSanitizeElements,e,null),vt(e))return yt(e),!0;const n=ot(e.nodeName);if(wt(C.uponSanitizeElement,e,{tagName:n,allowedTags:q}),Q&&e.hasChildNodes()&&!Et(e.firstElementChild)&&Ie(/<[/\w!]/g,e.innerHTML)&&Ie(/<[/\w!]/g,e.textContent))return yt(e),!0;if(7===e.nodeType)return yt(e),!0;if(Q&&8===e.nodeType&&Ie(/<[/\w]/g,e.data))return yt(e),!0;if(!(X.tagCheck instanceof Function&&X.tagCheck(n))&&(!q[n]||W[n])){if(!W[n]&&Ot(n)){if(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,n))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(n))return!1}if(ie&&!se[n]){const t=E(e)||e.parentNode,r=v(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=h(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,b(e))}}return yt(e),!0}return e instanceof s&&!function(e){let t=E(e);t&&t.tagName||(t={namespaceURI:we,tagName:"template"});const r=Ce(e.tagName),n=Ce(t.tagName);return!!Ne[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===r:t.namespaceURI===he?"svg"===r&&("annotation-xml"===n||Fe[n]):Boolean(dt[r]):e.namespaceURI===he?t.namespaceURI===ve?"math"===r:t.namespaceURI===ge?"math"===r&&et[n]:Boolean(mt[r]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!et[n])&&!(t.namespaceURI===he&&!Fe[n])&&!mt[r]&&(tt[r]||!dt[r]):!("application/xhtml+xml"!==rt||!Ne[e.namespaceURI]))}(e)?(yt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!Ie(/<\/no(script|embed|frames)/i,e.innerHTML)?(K&&3===e.nodeType&&(t=e.textContent,Te([R,j,k],e=>{t=ke(t,e," ")}),e.textContent!==t&&(Pe(r.removed,{element:e.cloneNode()}),e.textContent=t)),wt(C.afterSanitizeElements,e,null),!1):(yt(e),!0)},Tt=function(e,t,r){if(oe&&("id"===t||"name"===t)&&(r in n||r in lt))return!1;if($&&!z[t]&&Ie(D,t));else if(G&&Ie(M,t));else if(X.attributeCheck instanceof Function&&X.attributeCheck(t,e));else if(!F[t]||z[t]){if(!(Ot(e)&&(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&Ie(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t,e))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&Ie(H.tagNameCheck,r)||H.tagNameCheck instanceof Function&&H.tagNameCheck(r))))return!1}else if(me[t]);else if(Ie(N,ke(r,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==De(r,"data:")||!pe[e])if(V&&!Ie(L,ke(r,I,"")));else if(r)return!1;return!0},Ot=function(e){return"annotation-xml"!==e&&je(e,_)},xt=function(e){wt(C.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||vt(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:F,forceKeepAttr:void 0};let o=t.length;for(;o--;){const a=t[o],{name:i,namespaceURI:l,value:c}=a,s=ot(i),u=c;let p="value"===i?u:Me(u);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,wt(C.uponSanitizeAttribute,e,n),p=n.attrValue,!ae||"id"!==s&&"name"!==s||(ht(i,e),p="user-content-"+p),Q&&Ie(/((--!?|])>)|<\/(style|title|textarea)/i,p)){ht(i,e);continue}if("attributename"===s&&je(p,"href")){ht(i,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){ht(i,e);continue}if(!J&&Ie(/\/>/i,p)){ht(i,e);continue}K&&Te([R,j,k],e=>{p=ke(p,e," ")});const f=ot(e.nodeName);if(Tt(f,s,p)){if(w&&"object"==typeof m&&"function"==typeof m.getAttributeType)if(l);else switch(m.getAttributeType(f,s)){case"TrustedHTML":p=w.createHTML(p);break;case"TrustedScriptURL":p=w.createScriptURL(p)}if(p!==u)try{l?e.setAttributeNS(l,i,p):e.setAttribute(i,p),vt(e)?yt(e):xe(r.removed)}catch(t){ht(i,e)}}else ht(i,e)}wt(C.afterSanitizeAttributes,e,null)},Pt=function e(t){let r=null;const n=bt(t);for(wt(C.beforeSanitizeShadowDOM,t,null);r=n.nextNode();)wt(C.uponSanitizeShadowNode,r,null),St(r),xt(r),r.content instanceof i&&e(r.content);wt(C.afterSanitizeShadowDOM,t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,l=null,s=null;if(Se=!e,Se&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Et(e)){if("function"!=typeof e.toString)throw _e("toString is not a function");if("string"!=typeof(e=e.toString()))throw _e("dirty is not a string, aborting")}if(!r.isSupported)return e;if(Z||ft(t),r.removed=[],"string"==typeof e&&(le=!1),le){if(e.nodeName){const t=ot(e.nodeName);if(!q[t]||W[t])throw _e("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)n=gt("\x3c!----\x3e"),a=n.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!te&&!K&&!Y&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(n=gt(e),!n)return te?null:ne?S:""}n&&ee&&yt(n.firstChild);const u=bt(le?e:n);for(;l=u.nextNode();)St(l),xt(l),l.content instanceof i&&Pt(l.content);if(le)return e;if(te){if(re)for(s=x.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(F.shadowroot||F.shadowrootmode)&&(s=A.call(o,s,!0)),s}let p=Y?n.outerHTML:n.innerHTML;return Y&&q["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&Ie(ct,n.ownerDocument.doctype.name)&&(p="\n"+p),K&&Te([R,j,k],e=>{p=ke(p,e," ")}),w&&ne?w.createHTML(p):p},r.setConfig=function(){ft(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},r.clearConfig=function(){it=null,Z=!1},r.isValidAttribute=function(e,t,r){it||ft({});const n=ot(e),o=ot(t);return Tt(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&Pe(C[e],t)},r.removeHook=function(e,t){if(void 0!==t){const r=Oe(C[e],t);return-1===r?void 0:Ae(C[e],r,1)[0]}return xe(C[e])},r.removeHooks=function(e){C[e]=[]},r.removeAllHooks=function(){C={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const dt=function(){return(0,a.createElement)(n.Grid,{gap:"xs"},(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.Media,{imageAlign:"center",image:(0,a.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"80px"}})},(0,a.createElement)(n.Skeleton,{maxWidth:"350px",height:"28px"}))),(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.Skeleton,{height:"200px"})))};function mt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,l=[],c=!0,s=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=a.call(r)).done)&&(l.push(n.value),l.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return yt(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?yt(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);rw.length-1&&(t=w.length-1),b(t)}(e);else if(27!==e.keyCode)if(function(e){return 13===e.keyCode}(e)){if(c){var t=w[g];t&&f(t.name)}else S();s(!1)}else s(!0);else s(!1)},disabled:r,suffix:(0,n.createElement)(n.Button,{onClick:S,icon:"start",ghost:!0,disabled:r,"aria-label":i("CommandLine.executeButton")}),onFocus:function(){return s(!0)},onBlur:function(){m||s(!1)}}),c&&w.length?(0,n.createElement)(n.Menu,{onMouseOver:function(){return y(!0)},onMouseOut:function(){return y(!1)},style:{position:"absolute"},ref:E},w.map(function(e,t){var r=e.name,o=e.description;return(0,n.createElement)(n.MenuItem,{key:r,onClick:function(){return f(r),v.current.focus(),void s(!1)},active:g===t},(0,n.createElement)(n.Text,{intent:"success",bold:!0},r),o?" - ".concat(o):null)})):null)};ht.defaultProps={commands:[],disabled:!1},ht.propTypes={onExecute:n.PropTypes.func.isRequired,commands:n.PropTypes.array,disabled:n.PropTypes.bool};const gt=ht;var bt=r(2574);function vt(e){return vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},vt(e)}function Et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function wt(e){for(var t=1;t/g,">").replace(/'/g,"'").replace(/"/g,"""),"\n");c(t),p(!0);var n="function"==typeof y?y():{};o.bE(s,wt(wt({},n),{},{domainId:h,command:e})).then(function(e){var r=e.console;c("".concat(t).concat(r,"\n"))}).catch(function(e){var t=e.message;f(t,!0)}).finally(function(){return p(!1)})},commands:b,disabled:m||u})))),(0,a.createElement)(n.GridCol,null,(0,a.createElement)(n.ConsoleOutput,{wide:!0,cursor:u,ref:g},(0,a.createElement)("div",{dangerouslySetInnerHTML:{__html:ft.sanitize(Tt.toHtml(l))}}))))};Ot.defaultProps={prefix:"",content:"",menuPrefix:null,data:{},disabled:!1,executingParams:null},Ot.propTypes={loading:n.PropTypes.bool.isRequired,prefix:n.PropTypes.string,data:n.PropTypes.shape({commands:n.PropTypes.array}),content:n.PropTypes.string,menuPrefix:n.PropTypes.node,onChangeContent:n.PropTypes.func.isRequired,executeUrl:n.PropTypes.string.isRequired,executing:n.PropTypes.bool.isRequired,onExecuting:n.PropTypes.func.isRequired,showMessage:n.PropTypes.func.isRequired,disabled:n.PropTypes.bool,executingParams:n.PropTypes.func};const xt=Ot;function Pt(e){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(e)}var At=["onUpdateData","showMessage","hasNodeJsExtension","canInstallExtensions","data"];function Ct(){return Ct=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r1?T(1):(u(t),d(r))}).catch(function(e){var r=e.message;return t(r,!0)}).finally(function(){return h(!1)})},[A,C,S,x,t]),j=[{key:"date",type:"title",width:140,title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.date"})},{key:"job",title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.job"}),truncate:!0}],k=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/retry"),{domainId:C,ids:b}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,b,R,t]),D=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/delete"),{domainId:C,ids:b}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,b,R,t]),M=(0,a.useCallback)(function(){o.bE("".concat(A,"/queue-worker/flush"),{domainId:C}).then(R).catch(function(e){var r=e.message;return t(r,!0)})},[A,C,R,t]),L="all"===x?1:Math.ceil(f/x);return(0,a.createElement)(n.Drawer,er({},i,{isOpen:r,title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.drawerTitle"}),"data-type":"queue-failed-drawer"}),!s&&y?(0,a.createElement)(Qt,{columns:j}):(0,a.createElement)(n.List,{data:s,columns:j,loading:y,renderRowBody:function(e){var t=e.date,r=e.uuid,o=e.connection,i=e.queue,l=e.job;return(0,a.createElement)(n.Section,{title:"Detail information"},(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.date"})},t),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.uuid"})},r),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.connection"})},o),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.queue"})},i),(0,a.createElement)(n.SectionItem,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.job"})},l))},rowKey:"uuid",onSelectionChange:v,toolbar:(0,a.createElement)(n.Toolbar,null,(0,a.createElement)(n.ToolbarGroup,null,(0,a.createElement)(ar,{icon:"reload",disabled:!b.length,question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryConfirmAnswer"}),onConfirm:k,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retryTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.retry"})),(0,a.createElement)(ar,{icon:"recycle",intent:"danger",disabled:!b.length,question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteConfirmAnswer"}),onConfirm:D,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.deleteTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.delete"}))),(0,a.createElement)(n.ToolbarGroup,null,(0,a.createElement)(ar,{icon:"clean",question:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushAskConfirm"}),answer:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushConfirmAnswer"}),onConfirm:M,tooltip:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flushTooltip"})},(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.failedList.flush"})))),totalRows:f,pagination:(0,a.createElement)(n.Pagination,{current:S,total:L,itemsPerPage:x,onSelect:T,itemsPerPageOptions:or,onItemsPerPageChange:function(e){P(e),T(1)}}),emptyView:(0,a.createElement)(n.ListEmptyView,{title:(0,a.createElement)(n.Translate,{namespace:"ApplicationCard.QueueTab",content:"emptyFailedJobListTitle"})})}))};ir.propTypes={onMessage:n.PropTypes.func,isOpen:n.PropTypes.bool},ir.defaultProps={onMessage:function(){},isOpen:!1};const lr=ir;function cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},t=e.onMessage,r=e.excludeDebounceFields,n=void 0===r?["stopWhenEmpty"]:r,i=e.savingDelay,l=void 0===i?400:i,s=c().baseUrl,u=E().domain.domainId,p=yr((0,a.useState)(!1),2),f=p[0],d=p[1],m=yr((0,a.useState)(),2),y=m[0],h=m[1],g=yr((0,a.useState)(!1),2),b=g[0],v=g[1],w=yr((0,a.useState)(),2),S=w[0],T=w[1],O=(0,a.useCallback)(function(e){v(!0),o.bE("".concat(s,"/queue-worker/set-params"),{domainId:u,content:e}).then(function(){h(e)}).catch(function(e){var r=e.message;t(r,!0)}).finally(function(){return v(!1)})},[u,s,t]);return{value:y,loading:f,saving:b,onFieldChange:function(e,t){clearTimeout(S);var r=dr(dr({},y),{},mr({},e,t));if(n.includes(e))O(r);else{var o=setTimeout(function(){return O(r)},l);T(o)}},loadQueueSettings:function(){y||f||(d(!0),o.Jt("".concat(s,"/queue-worker/get-params"),{domainId:u}).then(function(e){h(e)}).catch(function(e){var r=e.message;t(r,!0)}).finally(function(){return d(!1)}))}}}({onMessage:s}),v=b.loadQueueSettings,w=Sr(b,gr),S=ue({onMessage:s,commandListUrl:"/api/artisan-command-list",executeUrl:"/api/artisan"}),T=S.loadCommandList,O=S.purgeCommandList,x=Sr(S,br),P=ue({onMessage:s,commandListUrl:"/api/composer-command-list",executeUrl:"/api/composer"}),A=P.loadCommandList,C=P.purgeCommandList,R=Sr(P,vr),j=ue({onMessage:s,commandListUrl:"/nodejs/command-list",executeUrl:"/nodejs/execute"}),k=j.loadCommandList,D=j.purgeCommandList,M=Sr(j,Er),L=(0,a.useMemo)(function(){var e=d.isScheduleSupported,t=d.schedulePermission,r=d.hasScheduledTasks;return e&&(m||t&&r)},[d,m]);return(0,a.createElement)(ne,{heading:(0,a.createElement)(n.Translate,{content:"ApplicationCard.title",params:{domain:(0,a.createElement)(n.Link,{href:d.domainManageUrl},d.name)}}),preview:(t=d.domainId,r=d.isSshTerminalEnabled,(0,a.createElement)(n.Section,null,(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.PreviewPanel,{style:{"max-width":"100%","min-height":"205px"},alt:p("ApplicationCard.imgPreview",{domain:d.name}),image:h})),(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:d.domainManageUrl,icon:"web"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.domainManage"}))),(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:d.logBrowserUrl,icon:"list","data-id":"logButton"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.logBrowser"}))),r?(0,a.createElement)(n.SectionItem,null,(0,a.createElement)(n.Action,{href:"/modules/".concat(d.terminalExtName,"?site_id=").concat(t),icon:"console","data-id":"terminalButton"},(0,a.createElement)(n.Translate,{content:"ApplicationCard.terminal"}))):null))},(0,a.createElement)(n.Tabs,null,(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabDashboard"})},(0,a.createElement)(N,{onMessage:s})),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabArtisan"}),onActivate:T,"data-id":"artisanTab"},(0,a.createElement)(xt,wr({prefix:"php artisan",showMessage:s},x))),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabComposer"}),onActivate:A,"data-id":"composerTab"},(0,a.createElement)(xt,wr({prefix:"composer",showMessage:s},R))),(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabNodejs"}),onActivate:d.hasNodeJsExtension?k:null,"data-id":"nodejsTab"},(0,a.createElement)(_t,wr({showMessage:s,hasNodeJsExtension:!!d.hasNodeJsExtension,canInstallExtensions:!!d.canInstallExtensions},M))),(d.remoteUrl||d.localUrl)&&(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.tabDeployment"}),"data-id":"deploymentTab"},(0,a.createElement)(te,{onMessage:s,onUpdateComplete:function(){u(!1),function(){if(d.img){var e=new URL(d.img);e.searchParams.set("time",+new Date),g(e.toString())}}(),O(),D(),C()}})),L?(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.ScheduleTab.name"})},(0,a.createElement)(Vt,{baseUrl:f,onMessage:s,domain:d,scheduleEnabled:m})):null,(0,a.createElement)(n.Tab,{title:(0,a.createElement)(n.Translate,{content:"ApplicationCard.QueueTab.title"}),onActivate:v,"data-id":"queueTab"},(0,a.createElement)(ur,wr({onMessage:s,queueWorkerIsEditable:d.queueWorkerIsEditable},w)))))};Or.propTypes={onMessage:n.PropTypes.func,onUpdate:n.PropTypes.func},Or.defaultProps={onMessage:function(){},onUpdate:function(){}};const xr=Or;var Pr=r(3018),Ar=function(e){var t=e.domainId,r=e.onMessage,i=e.navigate,l=e.location,s=(0,n.useTranslate)("ApplicationsList"),u=new URLSearchParams(l.search),p=c().baseUrl,f=(0,n.createElement)(n.Button,{intent:"primary",onClick:function(){var e=new URLSearchParams(l.search);e.set("install",""),i("".concat(l.pathname,"?").concat(e.toString()))}},(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"installButton"})),d=(0,n.createElement)(n.Button,{icon:"eye",onClick:function(){o.bE("".concat(p,"/api/scan"),{domainId:t}).then(function(e){"Jsw.Task.ProgressBar.Item"===e.componentType&&window.Jsw.getComponent("asyncProgressBarWrapper").progressDialog(e)}).catch(function(e){var t=e.message;return r(t,!0)})},tooltip:(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"scanButtonTooltip"})},(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"scanButton"}));return(0,n.createElement)(a.Fragment,null,(0,n.createElement)(Pr.A,{baseUrl:p,isOpen:u.has("install"),onClose:function(){var e=new URLSearchParams(l.search);e.delete("install"),i("".concat(l.pathname,"?").concat(e.toString()))},showMessage:r,install:t}),(0,n.createElement)(n.ListEmptyView,{title:(0,n.createElement)(n.Translate,{namespace:"ApplicationsList",content:"emptyListTitle"}),description:(0,n.createElement)("span",{dangerouslySetInnerHTML:{__html:s("emptyListDescription")}}),actions:[f,d]}))};Ar.propTypes={domainId:n.PropTypes.number.isRequired,navigate:n.PropTypes.func.isRequired,location:n.PropTypes.object.isRequired,onMessage:n.PropTypes.func},Ar.defaultProps={onMessage:function(){}};const Cr=Ar;var Rr=function(){return(0,n.createElement)(n.Section,null,(0,n.createElement)(n.SectionItem,null,(0,n.createElement)(n.Skeleton,{height:"205px"})),Array.from({length:2}).map(function(e,t){return(0,n.createElement)(n.SectionItem,{key:t},(0,n.createElement)(n.Media,{image:(0,n.createElement)(n.Skeleton,{width:"16px",height:"16px"})},(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"60%"}})))}))};const jr=function(){return(0,n.createElement)(ne,{preview:(0,n.createElement)(Rr,null),heading:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"60%"}})},(0,n.createElement)(a.Fragment,null,(0,n.createElement)(n.SkeletonTabs,{count:5}),(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"200px"}})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.SkeletonText,{lines:1})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"40px"})),(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"130px"}))),(0,n.createElement)(n.Section,{title:(0,n.createElement)(n.SkeletonText,{lines:1,lineProps:{width:"200px"}})},(0,n.createElement)(n.SectionItem,{title:(0,n.createElement)(n.SkeletonText,{lines:1})},(0,n.createElement)(n.Skeleton,{height:"30px",width:"70px"})))))};function kr(e){return kr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},kr(e)}function Dr(e,t){for(var r=0;r0&&void 0!==arguments[0])||arguments[0],t=r.props.baseUrl;e&&r.setState({load:!0}),o.Jt("".concat(t,"/api/domain"),{id:r.domainId}).then(function(e){var t=e.domain;r.setState({domain:t})}).catch(function(e){e instanceof o.AI||r.showMessage(e.message,!0)}).finally(function(){return e&&r.setState({load:!1})})}),Nr(r,"showMessage",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.toasterRef.current.add({intent:t?"danger":"success",message:e})}),r.domainId=null,r.toasterRef=(0,n.createRef)(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_r(e,t)}(t,e),r=t,(a=[{key:"componentDidMount",value:function(){var e=this.props.location,t=new URLSearchParams(e.search);this.domainId=t.get("site_id"),this.getDomain()}},{key:"render",value:function(){var e=this.props,t=e.baseUrl,r=e.location,o=e.navigate,a=this.state,i=a.load,c=a.domain;return i?(0,n.createElement)(jr,null):(0,n.createElement)(l,{value:{baseUrl:t}},c?(0,n.createElement)(v,{domain:c},(0,n.createElement)(xr,{onMessage:this.showMessage,onUpdate:this.getDomain})):(0,n.createElement)(Cr,{navigate:o,location:r,domainId:this.domainId,onMessage:this.showMessage}),(0,n.createElement)(n.Toaster,{ref:this.toasterRef}))}}])&&Dr(r.prototype,a),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,a}(n.Component);Ur.propTypes={baseUrl:n.PropTypes.string.isRequired,location:n.PropTypes.object.isRequired,navigate:n.PropTypes.func.isRequired};const Fr=(0,n.withRouter)(Ur)},1830(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},1912(e,t,r){"use strict";r.d(t,{Ay:()=>O,xZ:()=>P});var n=r(2280),o=r(9067),a=r.n(o);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function l(e,t){for(var r=0;rn.Component,PropTypes:()=>a.a,createElement:()=>n.createElement,withRouter:()=>i.y});var n=r(2280);r.o(n,"Action")&&r.d(t,{Action:function(){return n.Action}}),r.o(n,"Alert")&&r.d(t,{Alert:function(){return n.Alert}}),r.o(n,"Button")&&r.d(t,{Button:function(){return n.Button}}),r.o(n,"CodeEditor")&&r.d(t,{CodeEditor:function(){return n.CodeEditor}}),r.o(n,"Column")&&r.d(t,{Column:function(){return n.Column}}),r.o(n,"Columns")&&r.d(t,{Columns:function(){return n.Columns}}),r.o(n,"ConsoleOutput")&&r.d(t,{ConsoleOutput:function(){return n.ConsoleOutput}}),r.o(n,"ContentLoader")&&r.d(t,{ContentLoader:function(){return n.ContentLoader}}),r.o(n,"Dialog")&&r.d(t,{Dialog:function(){return n.Dialog}}),r.o(n,"Drawer")&&r.d(t,{Drawer:function(){return n.Drawer}}),r.o(n,"Dropdown")&&r.d(t,{Dropdown:function(){return n.Dropdown}}),r.o(n,"ExtendedStatusMessage")&&r.d(t,{ExtendedStatusMessage:function(){return n.ExtendedStatusMessage}}),r.o(n,"ExtendedStatusMessageActions")&&r.d(t,{ExtendedStatusMessageActions:function(){return n.ExtendedStatusMessageActions}}),r.o(n,"ExtendedStatusMessageDescription")&&r.d(t,{ExtendedStatusMessageDescription:function(){return n.ExtendedStatusMessageDescription}}),r.o(n,"ExtendedStatusMessageSeparator")&&r.d(t,{ExtendedStatusMessageSeparator:function(){return n.ExtendedStatusMessageSeparator}}),r.o(n,"ExtendedStatusMessageTitle")&&r.d(t,{ExtendedStatusMessageTitle:function(){return n.ExtendedStatusMessageTitle}}),r.o(n,"Form")&&r.d(t,{Form:function(){return n.Form}}),r.o(n,"FormField")&&r.d(t,{FormField:function(){return n.FormField}}),r.o(n,"FormFieldCheckbox")&&r.d(t,{FormFieldCheckbox:function(){return n.FormFieldCheckbox}}),r.o(n,"FormFieldSelect")&&r.d(t,{FormFieldSelect:function(){return n.FormFieldSelect}}),r.o(n,"FormFieldText")&&r.d(t,{FormFieldText:function(){return n.FormFieldText}}),r.o(n,"Fragment")&&r.d(t,{Fragment:function(){return n.Fragment}}),r.o(n,"Grid")&&r.d(t,{Grid:function(){return n.Grid}}),r.o(n,"GridCol")&&r.d(t,{GridCol:function(){return n.GridCol}}),r.o(n,"Hint")&&r.d(t,{Hint:function(){return n.Hint}}),r.o(n,"Icon")&&r.d(t,{Icon:function(){return n.Icon}}),r.o(n,"Input")&&r.d(t,{Input:function(){return n.Input}}),r.o(n,"InputNumber")&&r.d(t,{InputNumber:function(){return n.InputNumber}}),r.o(n,"Link")&&r.d(t,{Link:function(){return n.Link}}),r.o(n,"List")&&r.d(t,{List:function(){return n.List}}),r.o(n,"ListEmptyView")&&r.d(t,{ListEmptyView:function(){return n.ListEmptyView}}),r.o(n,"Media")&&r.d(t,{Media:function(){return n.Media}}),r.o(n,"Menu")&&r.d(t,{Menu:function(){return n.Menu}}),r.o(n,"MenuItem")&&r.d(t,{MenuItem:function(){return n.MenuItem}}),r.o(n,"Pagination")&&r.d(t,{Pagination:function(){return n.Pagination}}),r.o(n,"Panel")&&r.d(t,{Panel:function(){return n.Panel}}),r.o(n,"Paragraph")&&r.d(t,{Paragraph:function(){return n.Paragraph}}),r.o(n,"Popover")&&r.d(t,{Popover:function(){return n.Popover}}),r.o(n,"PreviewPanel")&&r.d(t,{PreviewPanel:function(){return n.PreviewPanel}}),r.o(n,"Radio")&&r.d(t,{Radio:function(){return n.Radio}}),r.o(n,"SearchBar")&&r.d(t,{SearchBar:function(){return n.SearchBar}}),r.o(n,"Section")&&r.d(t,{Section:function(){return n.Section}}),r.o(n,"SectionItem")&&r.d(t,{SectionItem:function(){return n.SectionItem}}),r.o(n,"SelectOption")&&r.d(t,{SelectOption:function(){return n.SelectOption}}),r.o(n,"Skeleton")&&r.d(t,{Skeleton:function(){return n.Skeleton}}),r.o(n,"SkeletonTabs")&&r.d(t,{SkeletonTabs:function(){return n.SkeletonTabs}}),r.o(n,"SkeletonText")&&r.d(t,{SkeletonText:function(){return n.SkeletonText}}),r.o(n,"StatusMessage")&&r.d(t,{StatusMessage:function(){return n.StatusMessage}}),r.o(n,"Switch")&&r.d(t,{Switch:function(){return n.Switch}}),r.o(n,"Tab")&&r.d(t,{Tab:function(){return n.Tab}}),r.o(n,"Tabs")&&r.d(t,{Tabs:function(){return n.Tabs}}),r.o(n,"Text")&&r.d(t,{Text:function(){return n.Text}}),r.o(n,"Toaster")&&r.d(t,{Toaster:function(){return n.Toaster}}),r.o(n,"Toolbar")&&r.d(t,{Toolbar:function(){return n.Toolbar}}),r.o(n,"ToolbarExpander")&&r.d(t,{ToolbarExpander:function(){return n.ToolbarExpander}}),r.o(n,"ToolbarGroup")&&r.d(t,{ToolbarGroup:function(){return n.ToolbarGroup}}),r.o(n,"Tooltip")&&r.d(t,{Tooltip:function(){return n.Tooltip}}),r.o(n,"Translate")&&r.d(t,{Translate:function(){return n.Translate}}),r.o(n,"copyToClipboard")&&r.d(t,{copyToClipboard:function(){return n.copyToClipboard}}),r.o(n,"createRef")&&r.d(t,{createRef:function(){return n.createRef}}),r.o(n,"useEffect")&&r.d(t,{useEffect:function(){return n.useEffect}}),r.o(n,"useRef")&&r.d(t,{useRef:function(){return n.useRef}}),r.o(n,"useState")&&r.d(t,{useState:function(){return n.useState}}),r.o(n,"useTranslate")&&r.d(t,{useTranslate:function(){return n.useTranslate}});var o=r(9067),a=r.n(o),i=(r(877),r(6214),r(4502),r(1912),r(9398))},2574(e,t,r){"use strict";function n(e,t){for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,l=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,i=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw i}}}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?40*e+55:0,i=t>0?40*t+55:0,l=r>0?40*r+55:0;n[16+36*e+6*t+r]=function(e){var t,r=[],n=o(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;r.push(s(a))}}catch(e){n.e(e)}finally{n.f()}return"#"+r.join("")}([a,i,l])}(e,t,r,i)})})}),f(0,23).forEach(function(e){var t=e+232,r=s(10*e+8);i[t]="#"+r+r+r}),i)};function s(e){for(var t=e.toString(16);t.length<2;)t="0"+t;return t}function u(e,t,r,n){var o;return"text"===t?o=function(e,t){return t.escapeXML?l.encodeXML(e):e}(r,n):"display"===t?o=function(e,t,r){var n,o={"-1":function(){return"
"},0:function(){return e.length&&p(e)},1:function(){return m(e,"b")},3:function(){return m(e,"i")},4:function(){return m(e,"u")},8:function(){return y(e,"display:none")},9:function(){return m(e,"strike")},22:function(){return y(e,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return b(e,"i")},24:function(){return b(e,"u")},39:function(){return h(e,r.fg)},49:function(){return g(e,r.bg)},53:function(){return y(e,"text-decoration:overline")}};return o[t=parseInt(t,10)]?n=o[t]():4"}).join("")}function f(e,t){for(var r=[],n=e;n<=t;n++)r.push(n);return r}function d(e){var t=null;return 0===(e=parseInt(e,10))?t="all":1===e?t="bold":2")}function y(e,t){return m(e,"span",t)}function h(e,t){return m(e,"span","color:"+t)}function g(e,t){return m(e,"span","background-color:"+t)}function b(e,t){var r;if(e.slice(-1)[0]===t&&(r=e.pop()),r)return""}var v=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(t=t||{}).colors&&(t.colors=Object.assign({},c.colors,t.colors)),this.options=Object.assign({},c,t),this.stack=[],this.stickyStack=[]}var t,r;return t=e,(r=[{key:"toHtml",value:function(e){var t=this;e="string"==typeof e?[e]:e;var r=this.stack,n=this.options,a=[];return this.stickyStack.forEach(function(e){var t=u(r,e.token,e.data,n);t&&a.push(t)}),function(e,t,r){var n=!1;function a(){return""}function i(e){return t.newline?r("display",-1):r("text",e),""}var l=[{pattern:/^\x08+/,sub:a},{pattern:/^\x1b\[[012]?K/,sub:a},{pattern:/^\x1b\[\(B/,sub:a},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:function(e){return r("rgb",e),""}},{pattern:/^\x1b\[38;5;(\d+)m/,sub:function(e,t){return r("xterm256Foreground",t),""}},{pattern:/^\x1b\[48;5;(\d+)m/,sub:function(e,t){return r("xterm256Background",t),""}},{pattern:/^\n/,sub:i},{pattern:/^\r+\n/,sub:i},{pattern:/^\r/,sub:i},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:function(e,t){n=!0,0===t.trim().length&&(t="0");var a,i=o(t=t.trimRight(";").split(";"));try{for(i.s();!(a=i.n()).done;){var l=a.value;r("display",l)}}catch(e){i.e(e)}finally{i.f()}return""}},{pattern:/^\x1b\[\d?J/,sub:a},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:a},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:a},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:function(e){return r("text",e),""}}];function c(t,r){r>3&&n||(n=!1,e=e.replace(t.pattern,t.sub))}var s=[],u=e.length;e:for(;u>0;){for(var p=0,f=0,d=l.length;f65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),a(e))}},2908(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},3018(e,t,r){"use strict";r.d(t,{A:()=>S});var n=r(2280),o=r(2517),a=r(7033),i=r(550),l=r(9067),c=r.n(l),s="skeleton",u="remote",p=function(e){var t=e.value,r=e.onSelect,o=[{key:s,icon:(0,n.createElement)(n.Icon,{name:"rocket",size:"48","aria-hidden":"true"}),title:(0,n.createElement)(n.Heading,{level:"6"},(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.skeleton.title"})),description:(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.skeleton.description"})},{key:u,icon:(0,n.createElement)(n.Icon,{name:"cloud",size:"48","aria-hidden":"true"}),title:(0,n.createElement)(n.Heading,{level:"6"},(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.remote.title"})),description:(0,n.createElement)(n.Translate,{content:"InstallTypeSelector.type.remote.description"})}];return(0,n.createElement)(n.ItemList,{minColumnWidth:300,gap:"md",stretchable:!0,selectable:!0,value:t,onSelect:r},o.map(function(e){var t=e.key,r=e.icon,o=e.title,a=e.description,i=e.content;return(0,n.createElement)(n.Item,{id:"type-".concat(t),key:t,value:t,icon:r,title:o,description:a},(0,n.createElement)("div",null,i))}))};p.propTypes={value:c().string.isRequired,onSelect:c().func.isRequired};const f=p;function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function m(e,t){for(var r=0;r","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"⁣","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"⁣","InvisibleTimes":"⁢","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"⁢","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"‎","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"​","NegativeThickSpace":"​","NegativeThinSpace":"​","NegativeVeryThinSpace":"​","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"⁠","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"‏","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"­","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":"  ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"​","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"‍","zwnj":"‌"}')},3231(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=u(n(r(7299)).default),a=p(o);t.encodeXML=h(o);var i,l,c=u(n(r(3141)).default),s=p(c);function u(e){return Object.keys(e).sort().reduce(function(t,r){return t[e[r]]="&"+r+";",t},{})}function p(e){for(var t=[],r=[],n=0,o=Object.keys(e);n1?d(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var y=new RegExp(a.source+"|"+f.source,"g");function h(e){return function(t){return t.replace(y,function(t){return e[t]||m(t)})}}t.escape=function(e){return e.replace(y,m)},t.escapeUTF8=function(e){return e.replace(a,m)}},3346(e,t,r){"use strict";var n=r(8660),o=r(3468),a=function(e,t,r){for(var n,o=e;null!=(n=o.next);o=n)if(n.key===t)return o.next=n.next,r||(n.next=e.next,e.next=n),n};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+n(e))},delete:function(t){var r=e&&e.next,n=function(e,t){if(e)return a(e,t,!0)}(e,t);return n&&r&&r===n&&(e=void 0),!!n},get:function(t){return function(e,t){if(e){var r=a(e,t);return r&&r.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!a(e,t)}(e,t)},set:function(t,r){e||(e={next:void 0}),function(e,t,r){var n=a(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}}(e,t,r)}};return t}},3379(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(3141)),a=n(r(297)),i=n(r(7299)),l=n(r(2809)),c=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function s(e){var t=p(e);return function(e){return String(e).replace(c,t)}}t.decodeXML=s(i.default),t.decodeHTMLStrict=s(o.default);var u=function(e,t){return ec,N:()=>u});var n=r(2280),o=r(9067),a=r.n(o),i=(0,n.createContext)(),l=function(e){var t=e.children,r=e.value;return(0,n.createElement)(i.Provider,{value:r},t)};l.propTypes={children:a().node.isRequired,value:a().object.isRequired};const c=l;function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1?o([r]):r}},4940(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},4943(e){"use strict";e.exports=ReferenceError},5023(e,t,r){"use strict";var n;r.d(t,{BV:()=>me,Kd:()=>_e,N_:()=>qe,Zp:()=>Y,g:()=>Z,qh:()=>fe,zy:()=>J});var o=r(2280),a="popstate";function i(e={}){return function(e,t,r,n={}){let{window:o=document.defaultView,v5Compat:i=!1}=n,c=o.history,f="POP",d=null,m=y();function y(){return(c.state||{idx:null}).idx}function h(){f="POP";let e=y(),t=null==e?null:e-m;m=e,d&&d({action:f,location:b.location,delta:t})}function g(e){return function(e,t=!1){let r="http://localhost";"undefined"!=typeof window&&(r="null"!==window.location.origin?window.location.origin:window.location.href),l(r,"No window.location.(origin|href) available to create URL");let n="string"==typeof e?e:p(e);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}(e)}null==m&&(m=0,c.replaceState({...c.state,idx:m},""));let b={get action(){return f},get location(){return e(o,c)},listen(e){if(d)throw new Error("A history only accepts one active listener");return o.addEventListener(a,h),d=e,()=>{o.removeEventListener(a,h),d=null}},createHref:e=>t(o,e),createURL:g,encodeLocation(e){let t=g(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){f="PUSH";let n=u(b.location,e,t);r&&r(n,e),m=y()+1;let a=s(n,m),l=b.createHref(n);try{c.pushState(a,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(l)}i&&d&&d({action:f,location:b.location,delta:1})},replace:function(e,t){f="REPLACE";let n=u(b.location,e,t);r&&r(n,e),m=y();let o=s(n,m),a=b.createHref(n);c.replaceState(o,"",a),i&&d&&d({action:f,location:b.location,delta:0})},go:e=>c.go(e)};return b}(function(e,t){let{pathname:r,search:n,hash:o}=e.location;return u("",{pathname:r,search:n,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:p(t)},null,e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function s(e,t){return{usr:e.state,key:e.key,idx:t}}function u(e,t,r=null,n){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?f(t):t,state:r,key:t&&t.key||n||Math.random().toString(36).substring(2,10)}}function p({pathname:e="/",search:t="",hash:r=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function f(e){let t={};if(e){let r=e.indexOf("#");r>=0&&(t.hash=e.substring(r),e=e.substring(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substring(n),e=e.substring(0,n)),e&&(t.pathname=e)}return t}function d(e,t,r="/"){return function(e,t,r,n){let o=S(("string"==typeof t?f(t):t).pathname||"/",r);if(null==o)return null;let a=m(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,r)=>e===t[r])?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(a);let i=null;for(let e=0;null==i&&e{let s={relativePath:void 0===c?e.path||"":c,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(s.relativePath.startsWith("/")){if(!s.relativePath.startsWith(n)&&i)return;l(s.relativePath.startsWith(n),`Absolute route path "${s.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),s.relativePath=s.relativePath.slice(n.length)}let u=C([n,s.relativePath]),p=r.concat(s);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),m(e.children,t,p,u,i)),(null!=e.path||e.index)&&t.push({path:u,score:b(u,e.index),routesMeta:p})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let r of y(e.path))a(e,t,!0,r);else a(e,t)}),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[r,...n]=t,o=r.endsWith("?"),a=r.replace(/\?$/,"");if(0===n.length)return o?[a,""]:[a];let i=y(n.join("/")),l=[];return l.push(...i.map(e=>""===e?a:[a,e].join("/"))),o&&l.push(...i),l.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var h=/^:[\w-]+$/,g=e=>"*"===e;function b(e,t){let r=e.split("/"),n=r.length;return r.some(g)&&(n+=-2),t&&(n+=2),r.filter(e=>!g(e)).reduce((e,t)=>e+(h.test(t)?3:""===t?1:10),n)}function v(e,t,r=!1){let{routesMeta:n}=e,o={},a="/",i=[];for(let e=0;e(n.push({paramName:t,isOptional:null!=r}),r?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(n.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}(e.path,e.caseSensitive,e.end),o=t.match(r);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:n.reduce((e,{paramName:t,isOptional:r},n)=>{if("*"===t){let e=l[n]||"";i=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const o=l[n];return e[t]=r&&!o?void 0:(o||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:i,pattern:e}}function w(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!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 S(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&"/"!==n?null:e.slice(r)||"/"}var T=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function O(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?r.length>1&&r.pop():"."!==e&&r.push(e)}),r.length>1?r.join("/"):"/"}function x(e,t,r,n){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function P(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,r)=>r===t.length-1?e.pathname:e.pathnameBase)}function A(e,t,r,n=!1){let o;"string"==typeof e?o=f(e):(o={...e},l(!o.pathname||!o.pathname.includes("?"),x("?","pathname","search",o)),l(!o.pathname||!o.pathname.includes("#"),x("#","pathname","hash",o)),l(!o.search||!o.search.includes("#"),x("#","search","hash",o)));let a,i=""===e||""===o.pathname,s=i?"/":o.pathname;if(null==s)a=r;else{let e=t.length-1;if(!n&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}a=e>=0?t[e]:"/"}let u=function(e,t="/"){let r,{pathname:n,search:o="",hash:a=""}="string"==typeof e?f(e):e;if(n)if(i=n,T.test(i))r=n;else{if(n.includes("//")){let e=n;n=n.replace(/\/\/+/g,"/"),c(!1,`Pathnames cannot have embedded double slashes - normalizing ${e} -> ${n}`)}r=n.startsWith("/")?O(n.substring(1),"/"):O(n,t)}else r=t;var i;return{pathname:r,search:j(o),hash:k(a)}}(o,a),p=s&&"/"!==s&&s.endsWith("/"),d=(i||"."===s)&&r.endsWith("/");return u.pathname.endsWith("/")||!p&&!d||(u.pathname+="/"),u}var C=e=>e.join("/").replace(/\/\/+/g,"/"),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),j=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",k=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",D=class{constructor(e,t,r,n=!1){this.status=e,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function M(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function L(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function _(e,t){let r=e;if("string"!=typeof r||!T.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(I)try{let e=new URL(window.location.href),n=r.startsWith("//")?new URL(e.protocol+r):new URL(r),a=S(n.pathname,t);n.origin===e.origin&&null!=a?r=a+n.search+n.hash:o=!0}catch(e){c(!1,` contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}Symbol("Uninstrumented"),Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var N=["POST","PUT","PATCH","DELETE"],q=(new Set(N),["GET",...N]);new Set(q),Symbol("ResetLoaderData");var U=o.createContext(null);U.displayName="DataRouter";var F=o.createContext(null);F.displayName="DataRouterState";var B=o.createContext(!1);var H=o.createContext({isTransitioning:!1});H.displayName="ViewTransition",o.createContext(new Map).displayName="Fetchers",o.createContext(null).displayName="Await";var W=o.createContext(null);W.displayName="Navigation";var z=o.createContext(null);z.displayName="Location";var X=o.createContext({outlet:null,matches:[],isDataRoute:!1});X.displayName="Route";var G=o.createContext(null);G.displayName="RouteError";var $="REACT_ROUTER_ERROR";function V(){return null!=o.useContext(z)}function J(){return l(V(),"useLocation() may be used only in the context of a component."),o.useContext(z).location}var K="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q(e){o.useContext(W).static||o.useLayoutEffect(e)}function Y(){let{isDataRoute:e}=o.useContext(X);return e?function(){let{router:e}=function(e){let t=o.useContext(U);return l(t,ce(e)),t}("useNavigate"),t=se("useNavigate"),r=o.useRef(!1);return Q(()=>{r.current=!0}),o.useCallback(async(n,o={})=>{c(r.current,K),r.current&&("number"==typeof n?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))},[e,t])}():function(){l(V(),"useNavigate() may be used only in the context of a component.");let e=o.useContext(U),{basename:t,navigator:r}=o.useContext(W),{matches:n}=o.useContext(X),{pathname:a}=J(),i=JSON.stringify(P(n)),s=o.useRef(!1);return Q(()=>{s.current=!0}),o.useCallback((n,o={})=>{if(c(s.current,K),!s.current)return;if("number"==typeof n)return void r.go(n);let l=A(n,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:C([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)},[t,r,i,a,e])}()}function Z(){let{matches:e}=o.useContext(X),t=e[e.length-1];return t?t.params:{}}function ee(e,{relative:t}={}){let{matches:r}=o.useContext(X),{pathname:n}=J(),a=JSON.stringify(P(r));return o.useMemo(()=>A(e,JSON.parse(a),n,"path"===t),[e,a,n,t])}function te(e,t,r,n,a){l(V(),"useRoutes() may be used only in the context of a component.");let{navigator:i}=o.useContext(W),{matches:s}=o.useContext(X),u=s[s.length-1],p=u?u.params:{},m=u?u.pathname:"/",y=u?u.pathnameBase:"/",h=u&&u.route;{let e=h&&h.path||"";pe(m,!h||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant (or called \`useRoutes()\`) at "${m}" (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 g,b=J();if(t){let e="string"==typeof t?f(t):t;l("/"===y||e.pathname?.startsWith(y),`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 "${y}" but pathname "${e.pathname}" was given in the \`location\` prop.`),g=e}else g=b;let v=g.pathname||"/",E=v;if("/"!==y){let e=y.replace(/^\//,"").split("/");E="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let w=d(e,{pathname:E});c(h||null!=w,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),c(null==w||void 0!==w[w.length-1].route.element||void 0!==w[w.length-1].route.Component||void 0!==w[w.length-1].route.lazy,`Matched leaf route at location "${g.pathname}${g.search}${g.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 S=function(e,t=[],r=null,n=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,i=r?.errors;if(null!=i){let e=a.findIndex(e=>e.route.id&&void 0!==i?.[e.route.id]);l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let c=!1,s=-1;if(r)for(let e=0;e=0?a.slice(0,s+1):[a[0]];break}}}let u=r&&n?(e,t)=>{n(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:L(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,n,l)=>{let p,f=!1,d=null,m=null;r&&(p=i&&n.route.id?i[n.route.id]:void 0,d=n.route.errorElement||ne,c&&(s<0&&0===l?(pe("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),f=!0,m=null):s===l&&(f=!0,m=n.route.hydrateFallbackElement||null)));let y=t.concat(a.slice(0,l+1)),h=()=>{let t;return t=p?d:f?m:n.route.Component?o.createElement(n.route.Component,null):n.route.element?n.route.element:e,o.createElement(le,{match:n,routeContext:{outlet:e,matches:y,isDataRoute:null!=r},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||0===l)?o.createElement(oe,{location:r.location,revalidation:r.revalidation,component:d,error:p,children:h(),routeContext:{outlet:null,matches:y,isDataRoute:!0},onError:u}):h()},null)}(w&&w.map(e=>Object.assign({},e,{params:Object.assign({},p,e.params),pathname:C([y,i.encodeLocation?i.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?y:C([y,i.encodeLocation?i.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),s,r,n,a);return t&&S?o.createElement(z.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},S):S}function re(){let e=function(){let e=o.useContext(G),t=function(e){let t=o.useContext(F);return l(t,ce(e)),t}("useRouteError"),r=se("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=M(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,n="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:n},i={padding:"2px 4px",backgroundColor:n},c=null;return console.error("Error handled by React Router default ErrorBoundary:",e),c=o.createElement(o.Fragment,null,o.createElement("p",null,"💿 Hey developer 👋"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),r?o.createElement("pre",{style:a},r):null,c)}o.createContext(null);var ne=o.createElement(re,null),oe=class extends o.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.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${$}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new D(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?o.createElement(X.Provider,{value:this.props.routeContext},o.createElement(G.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?o.createElement(ie,{error:e},t):t}};oe.contextType=B;var ae=new WeakMap;function ie({children:e,error:t}){let{basename:r}=o.useContext(W);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${$}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let n=ae.get(t);if(n)throw n;let a=_(e.location,r);if(I&&!ae.get(t)){if(!a.isExternal&&!e.reloadDocument){const r=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw ae.set(t,r),r}window.location.href=a.absoluteURL||a.to}return o.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function le({routeContext:e,match:t,children:r}){let n=o.useContext(U);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(X.Provider,{value:e},r)}function ce(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function se(e){let t=function(e){let t=o.useContext(X);return l(t,ce(e)),t}(e),r=t.matches[t.matches.length-1];return l(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var ue={};function pe(e,t,r){t||ue[e]||(ue[e]=!0,c(!1,r))}function fe(e){l(!1,"A is only ever to be used as the child of element, never rendered directly. Please wrap your in a .")}function de({basename:e="/",children:t=null,location:r,navigationType:n="POP",navigator:a,static:i=!1,unstable_useTransitions:s}){l(!V(),"You cannot render a inside another . You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),p=o.useMemo(()=>({basename:u,navigator:a,static:i,unstable_useTransitions:s,future:{}}),[u,a,i,s]);"string"==typeof r&&(r=f(r));let{pathname:d="/",search:m="",hash:y="",state:h=null,key:g="default"}=r,b=o.useMemo(()=>{let e=S(d,u);return null==e?null:{location:{pathname:e,search:m,hash:y,state:h,key:g},navigationType:n}},[u,d,m,y,h,g,n]);return c(null!=b,` is not able to match the URL "${d}${m}${y}" because it does not start with the basename, so the won't render anything.`),null==b?null:o.createElement(W.Provider,{value:p},o.createElement(z.Provider,{children:t,value:b}))}function me({children:e,location:t}){return te(ye(e),t)}function ye(e,t=[]){let r=[];return o.Children.forEach(e,(e,n)=>{if(!o.isValidElement(e))return;let a=[...t,n];if(e.type===o.Fragment)return void r.push.apply(r,ye(e.props.children,a));l(e.type===fe,`[${"string"==typeof e.type?e.type:e.type.name}] is not a component. All component children of must be a or `),l(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={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,middleware:e.props.middleware,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&&(i.children=ye(e.props.children,a)),r.push(i)}),r}(n||(n=r.t(o,2))).useOptimistic,o.memo(function({routes:e,future:t,state:r,onError:n}){return te(e,void 0,r,n,t)}),o.Component;var he="get",ge="application/x-www-form-urlencoded";function be(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var ve=null,Ee=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function we(e){return null==e||Ee.has(e)?e:(c(!1,`"${e}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${ge}"`),null)}function Se(e,t){if(!1===e||null==e)throw new Error(t)}function Te(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 Oe(e,t,r,n,o,a){let i=(e,t)=>!r[t]||e.route.id!==r[t].route.id,l=(e,t)=>r[t].pathname!==e.pathname||r[t].route.path?.endsWith("*")&&r[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>i(e,t)||l(e,t)):"data"===a?t.filter((t,a)=>{let c=n.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(i(t,a)||l(t,a))return!0;if(t.route.shouldRevalidate){let n=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof n)return n}return!0}):[]}function xe(e,t,{includeHydrateFallback:r}={}){return n=e.map(e=>{let n=t.routes[e.route.id];if(!n)return[];let o=[n.module];return n.clientActionModule&&(o=o.concat(n.clientActionModule)),n.clientLoaderModule&&(o=o.concat(n.clientLoaderModule)),r&&n.hydrateFallbackModule&&(o=o.concat(n.hydrateFallbackModule)),n.imports&&(o=o.concat(n.imports)),o}).flat(1),[...new Set(n)];var n}function Pe(){let e=o.useContext(U);return Se(e,"You must render this element inside a element"),e}function Ae(){let e=o.useContext(F);return Se(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 Ce=o.createContext(void 0);function Re(){let e=o.useContext(Ce);return Se(e,"You must render this element inside a element"),e}function je(e,t){return r=>{e&&e(r),r.defaultPrevented||t(r)}}function ke({page:e,...t}){let{router:r}=Pe(),n=o.useMemo(()=>d(r.routes,e,r.basename),[r.routes,e,r.basename]);return n?o.createElement(Me,{page:e,matches:n,...t}):null}function De(e){let{manifest:t,routeModules:r}=Re(),[n,a]=o.useState([]);return o.useEffect(()=>{let n=!1;return async function(e,t,r){return function(e,t){let r=new Set,n=new Set(t);return e.reduce((e,o)=>{if(t&&(null==(a=o)||"string"!=typeof a.page)&&"script"===o.as&&o.href&&n.has(o.href))return e;var a;let i=JSON.stringify(function(e){let t={},r=Object.keys(e).sort();for(let n of r)t[n]=e[n];return t}(o));return r.has(i)||(r.add(i),e.push({key:i,link:o})),e},[])}((await Promise.all(e.map(async e=>{let n=t.routes[e.route.id];if(n){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let r=await import(e.module);return t[e.id]=r,r}catch(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(()=>{})}}(n,r);return e.links?e.links():[]}return[]}))).flat(1).filter(Te).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]),n}function Me({page:e,matches:t,...r}){let n=J(),{manifest:a,routeModules:i}=Re(),{basename:l}=Pe(),{loaderData:c,matches:s}=Ae(),u=o.useMemo(()=>Oe(e,t,s,a,n,"data"),[e,t,s,a,n]),p=o.useMemo(()=>Oe(e,t,s,a,n,"assets"),[e,t,s,a,n]),f=o.useMemo(()=>{if(e===n.pathname+n.search+n.hash)return[];let r=new Set,o=!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&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:r.add(e.route.id))}),0===r.size)return[];let s=function(e,t,r){let n="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname=`_root.${r}`:t&&"/"===S(n.pathname,t)?n.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:n.pathname=`${n.pathname.replace(/\/$/,"")}.${r}`,n}(e,l,"data");return o&&r.size>0&&s.searchParams.set("_routes",t.filter(e=>r.has(e.route.id)).map(e=>e.route.id).join(",")),[s.pathname+s.search]},[l,c,n,a,u,t,e,i]),d=o.useMemo(()=>xe(p,a),[p,a]),m=De(p);return o.createElement(o.Fragment,null,f.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r})),d.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...r})),m.map(({key:e,link:t})=>o.createElement("link",{key:e,nonce:r.nonce,...t})))}Ce.displayName="FrameworkContext";function Le(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}o.Component;var Ie="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Ie&&(window.__reactRouterVersion="7.11.0")}catch(e){}function _e({basename:e,children:t,unstable_useTransitions:r,window:n}){let a=o.useRef();null==a.current&&(a.current=i({window:n,v5Compat:!0}));let l=a.current,[c,s]=o.useState({action:l.action,location:l.location}),u=o.useCallback(e=>{!1===r?s(e):o.startTransition(()=>s(e))},[r]);return o.useLayoutEffect(()=>l.listen(u),[l,u]),o.createElement(de,{basename:e,children:t,location:c.location,navigationType:c.action,navigator:l,unstable_useTransitions:r})}var Ne=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,qe=o.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:n,reloadDocument:a,replace:i,state:c,target:s,to:u,preventScrollReset:f,viewTransition:d,unstable_defaultShouldRevalidate:m,...y},h){let{basename:g,unstable_useTransitions:b}=o.useContext(W),v="string"==typeof u&&Ne.test(u),E=_(u,g),w=function(e,{relative:t}={}){l(V(),"useHref() may be used only in the context of a component.");let{basename:r,navigator:n}=o.useContext(W),{hash:a,pathname:i,search:c}=ee(e,{relative:t}),s=i;return"/"!==r&&(s="/"===i?r:C([r,i])),n.createHref({pathname:s,search:c,hash:a})}(u=E.to,{relative:n}),[S,T,O]=function(e,t){let r=o.useContext(Ce),[n,a]=o.useState(!1),[i,l]=o.useState(!1),{onFocus:c,onBlur:s,onMouseEnter:u,onMouseLeave:p,onTouchStart:f}=t,d=o.useRef(null);o.useEffect(()=>{if("render"===e&&l(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{l(e.isIntersecting)})},{threshold:.5});return d.current&&e.observe(d.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(n){let e=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(e)}}},[n]);let m=()=>{a(!0)},y=()=>{a(!1),l(!1)};return r?"intent"!==e?[i,d,{}]:[i,d,{onFocus:je(c,m),onBlur:je(s,y),onMouseEnter:je(u,m),onMouseLeave:je(p,y),onTouchStart:je(f,m)}]:[!1,d,{}]}(r,y),x=function(e,{target:t,replace:r,state:n,preventScrollReset:a,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:c,unstable_useTransitions:s}={}){let u=Y(),f=J(),d=ee(e,{relative:i});return o.useCallback(m=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(m,t)){m.preventDefault();let t=void 0!==r?r:p(f)===p(d),y=()=>u(e,{replace:t,state:n,preventScrollReset:a,relative:i,viewTransition:l,unstable_defaultShouldRevalidate:c});s?o.startTransition(()=>y()):y()}},[f,u,d,r,n,t,e,a,i,l,c,s])}(u,{replace:i,state:c,target:s,preventScrollReset:f,relative:n,viewTransition:d,unstable_defaultShouldRevalidate:m,unstable_useTransitions:b}),P=o.createElement("a",{...y,...O,href:E.absoluteURL||w,onClick:E.isExternal||a?e:function(t){e&&e(t),t.defaultPrevented||x(t)},ref:Le(h,T),target:s,"data-discover":v||"render"!==t?void 0:"true"});return S&&!v?o.createElement(o.Fragment,null,P,o.createElement(ke,{page:w})):P});function Ue(e){let t=o.useContext(U);return l(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}qe.displayName="Link",o.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:n=!1,style:a,to:i,viewTransition:c,children:s,...u},p){let f=ee(i,{relative:u.relative}),d=J(),m=o.useContext(F),{navigator:y,basename:h}=o.useContext(W),g=null!=m&&function(e,{relative:t}={}){let r=o.useContext(H);l(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Ue("useViewTransitionState"),a=ee(e,{relative:t});if(!r.isTransitioning)return!1;let i=S(r.currentLocation.pathname,n)||r.currentLocation.pathname,c=S(r.nextLocation.pathname,n)||r.nextLocation.pathname;return null!=E(a.pathname,c)||null!=E(a.pathname,i)}(f)&&!0===c,b=y.encodeLocation?y.encodeLocation(f).pathname:f.pathname,v=d.pathname,w=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(v=v.toLowerCase(),w=w?w.toLowerCase():null,b=b.toLowerCase()),w&&h&&(w=S(w,h)||w);const T="/"!==b&&b.endsWith("/")?b.length-1:b.length;let O,x=v===b||!n&&v.startsWith(b)&&"/"===v.charAt(T),P=null!=w&&(w===b||!n&&w.startsWith(b)&&"/"===w.charAt(b.length)),A={isActive:x,isPending:P,isTransitioning:g},C=x?e:void 0;O="function"==typeof r?r(A):[r,x?"active":null,P?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof a?a(A):a;return o.createElement(qe,{...u,"aria-current":C,className:O,ref:p,style:R,to:i,viewTransition:c},"function"==typeof s?s(A):s)}).displayName="NavLink",o.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:a,state:i,method:c=he,action:s,onSubmit:u,relative:f,preventScrollReset:d,viewTransition:m,unstable_defaultShouldRevalidate:y,...h},g)=>{let{unstable_useTransitions:b}=o.useContext(W),v=function(){let{router:e}=Ue("useSubmit"),{basename:t}=o.useContext(W),r=se("useRouteId"),n=e.fetch,a=e.navigate;return o.useCallback(async(e,o={})=>{let{action:i,method:l,encType:c,formData:s,body:u}=function(e,t){let r,n,o,a,i;if(be(l=e)&&"form"===l.tagName.toLowerCase()){let i=e.getAttribute("action");n=i?S(i,t):null,r=e.getAttribute("method")||he,o=we(e.getAttribute("enctype"))||ge,a=new FormData(e)}else if(function(e){return be(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return be(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a