function LO(t,e){for(var a=0;a<e.length;a++){const i=e[a];if(typeof i!="string"&&!Array.isArray(i)){for(const s in i)if(s!=="default"&&!(s in t)){const o=Object.getOwnPropertyDescriptor(i,s);o&&Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:()=>i[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))i(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function a(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function i(s){if(s.ep)return;s.ep=!0;const o=a(s);fetch(s.href,o)}})();var A1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ar(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var W0={exports:{}},wc={};/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var d7;function kO(){if(d7)return wc;d7=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function a(i,s,o){var u=null;if(o!==void 0&&(u=""+o),s.key!==void 0&&(u=""+s.key),"key"in s){o={};for(var d in s)d!=="key"&&(o[d]=s[d])}else o=s;return s=o.ref,{$$typeof:t,type:i,key:u,ref:s!==void 0?s:null,props:o}}return wc.Fragment=e,wc.jsx=a,wc.jsxs=a,wc}var h7;function _O(){return h7||(h7=1,W0.exports=kO()),W0.exports}var h=_O(),Q0={exports:{}},xc={},J0={exports:{}},K0={};/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var m7;function zO(){return m7||(m7=1,(function(t){function e(D,H){var k=D.length;D.push(H);e:for(;0<k;){var W=k-1>>>1,se=D[W];if(0<s(se,H))D[W]=H,D[k]=se,k=W;else break e}}function a(D){return D.length===0?null:D[0]}function i(D){if(D.length===0)return null;var H=D[0],k=D.pop();if(k!==H){D[0]=k;e:for(var W=0,se=D.length,B=se>>>1;W<B;){var K=2*(W+1)-1,le=D[K],he=K+1,fe=D[he];if(0>s(le,k))he<se&&0>s(fe,le)?(D[W]=fe,D[he]=k,W=he):(D[W]=le,D[K]=k,W=K);else if(he<se&&0>s(fe,k))D[W]=fe,D[he]=k,W=he;else break e}}return H}function s(D,H){var k=D.sortIndex-H.sortIndex;return k!==0?k:D.id-H.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var o=performance;t.unstable_now=function(){return o.now()}}else{var u=Date,d=u.now();t.unstable_now=function(){return u.now()-d}}var f=[],m=[],y=1,b=null,C=3,A=!1,I=!1,M=!1,O=!1,R=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate<"u"?setImmediate:null;function U(D){for(var H=a(m);H!==null;){if(H.callback===null)i(m);else if(H.startTime<=D)i(m),H.sortIndex=H.expirationTime,e(f,H);else break;H=a(m)}}function L(D){if(M=!1,U(D),!I)if(a(f)!==null)I=!0,P||(P=!0,_());else{var H=a(m);H!==null&&V(L,H.startTime-D)}}var P=!1,F=-1,E=5,T=-1;function N(){return O?!0:!(t.unstable_now()-T<E)}function G(){if(O=!1,P){var D=t.unstable_now();T=D;var H=!0;try{e:{I=!1,M&&(M=!1,x(F),F=-1),A=!0;var k=C;try{t:{for(U(D),b=a(f);b!==null&&!(b.expirationTime>D&&N());){var W=b.callback;if(typeof W=="function"){b.callback=null,C=b.priorityLevel;var se=W(b.expirationTime<=D);if(D=t.unstable_now(),typeof se=="function"){b.callback=se,U(D),H=!0;break t}b===a(f)&&i(f),U(D)}else i(f);b=a(f)}if(b!==null)H=!0;else{var B=a(m);B!==null&&V(L,B.startTime-D),H=!1}}break e}finally{b=null,C=k,A=!1}H=void 0}}finally{H?_():P=!1}}}var _;if(typeof j=="function")_=function(){j(G)};else if(typeof MessageChannel<"u"){var q=new MessageChannel,Z=q.port2;q.port1.onmessage=G,_=function(){Z.postMessage(null)}}else _=function(){R(G,0)};function V(D,H){F=R(function(){D(t.unstable_now())},H)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(D){D.callback=null},t.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<D?Math.floor(1e3/D):5},t.unstable_getCurrentPriorityLevel=function(){return C},t.unstable_next=function(D){switch(C){case 1:case 2:case 3:var H=3;break;default:H=C}var k=C;C=H;try{return D()}finally{C=k}},t.unstable_requestPaint=function(){O=!0},t.unstable_runWithPriority=function(D,H){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var k=C;C=D;try{return H()}finally{C=k}},t.unstable_scheduleCallback=function(D,H,k){var W=t.unstable_now();switch(typeof k=="object"&&k!==null?(k=k.delay,k=typeof k=="number"&&0<k?W+k:W):k=W,D){case 1:var se=-1;break;case 2:se=250;break;case 5:se=1073741823;break;case 4:se=1e4;break;default:se=5e3}return se=k+se,D={id:y++,callback:H,priorityLevel:D,startTime:k,expirationTime:se,sortIndex:-1},k>W?(D.sortIndex=k,e(m,D),a(f)===null&&D===a(m)&&(M?(x(F),F=-1):M=!0,V(L,k-W))):(D.sortIndex=se,e(f,D),I||A||(I=!0,P||(P=!0,_()))),D},t.unstable_shouldYield=N,t.unstable_wrapCallback=function(D){var H=C;return function(){var k=C;C=H;try{return D.apply(this,arguments)}finally{C=k}}}})(K0)),K0}var p7;function qO(){return p7||(p7=1,J0.exports=zO()),J0.exports}var X0={exports:{}},rt={};/**
 * @license React
 * react.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var g7;function UO(){if(g7)return rt;g7=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),b=Symbol.for("react.activity"),C=Symbol.iterator;function A(B){return B===null||typeof B!="object"?null:(B=C&&B[C]||B["@@iterator"],typeof B=="function"?B:null)}var I={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M=Object.assign,O={};function R(B,K,le){this.props=B,this.context=K,this.refs=O,this.updater=le||I}R.prototype.isReactComponent={},R.prototype.setState=function(B,K){if(typeof B!="object"&&typeof B!="function"&&B!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,B,K,"setState")},R.prototype.forceUpdate=function(B){this.updater.enqueueForceUpdate(this,B,"forceUpdate")};function x(){}x.prototype=R.prototype;function j(B,K,le){this.props=B,this.context=K,this.refs=O,this.updater=le||I}var U=j.prototype=new x;U.constructor=j,M(U,R.prototype),U.isPureReactComponent=!0;var L=Array.isArray;function P(){}var F={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function T(B,K,le){var he=le.ref;return{$$typeof:t,type:B,key:K,ref:he!==void 0?he:null,props:le}}function N(B,K){return T(B.type,K,B.props)}function G(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function _(B){var K={"=":"=0",":":"=2"};return"$"+B.replace(/[=:]/g,function(le){return K[le]})}var q=/\/+/g;function Z(B,K){return typeof B=="object"&&B!==null&&B.key!=null?_(""+B.key):K.toString(36)}function V(B){switch(B.status){case"fulfilled":return B.value;case"rejected":throw B.reason;default:switch(typeof B.status=="string"?B.then(P,P):(B.status="pending",B.then(function(K){B.status==="pending"&&(B.status="fulfilled",B.value=K)},function(K){B.status==="pending"&&(B.status="rejected",B.reason=K)})),B.status){case"fulfilled":return B.value;case"rejected":throw B.reason}}throw B}function D(B,K,le,he,fe){var ye=typeof B;(ye==="undefined"||ye==="boolean")&&(B=null);var we=!1;if(B===null)we=!0;else switch(ye){case"bigint":case"string":case"number":we=!0;break;case"object":switch(B.$$typeof){case t:case e:we=!0;break;case y:return we=B._init,D(we(B._payload),K,le,he,fe)}}if(we)return fe=fe(B),we=he===""?"."+Z(B,0):he,L(fe)?(le="",we!=null&&(le=we.replace(q,"$&/")+"/"),D(fe,K,le,"",function(Wt){return Wt})):fe!=null&&(G(fe)&&(fe=N(fe,le+(fe.key==null||B&&B.key===fe.key?"":(""+fe.key).replace(q,"$&/")+"/")+we)),K.push(fe)),1;we=0;var Je=he===""?".":he+":";if(L(B))for(var Ne=0;Ne<B.length;Ne++)he=B[Ne],ye=Je+Z(he,Ne),we+=D(he,K,le,ye,fe);else if(Ne=A(B),typeof Ne=="function")for(B=Ne.call(B),Ne=0;!(he=B.next()).done;)he=he.value,ye=Je+Z(he,Ne++),we+=D(he,K,le,ye,fe);else if(ye==="object"){if(typeof B.then=="function")return D(V(B),K,le,he,fe);throw K=String(B),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(B).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return we}function H(B,K,le){if(B==null)return B;var he=[],fe=0;return D(B,he,"","",function(ye){return K.call(le,ye,fe++)}),he}function k(B){if(B._status===-1){var K=B._result;K=K(),K.then(function(le){(B._status===0||B._status===-1)&&(B._status=1,B._result=le)},function(le){(B._status===0||B._status===-1)&&(B._status=2,B._result=le)}),B._status===-1&&(B._status=0,B._result=K)}if(B._status===1)return B._result.default;throw B._result}var W=typeof reportError=="function"?reportError:function(B){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof B=="object"&&B!==null&&typeof B.message=="string"?String(B.message):String(B),error:B});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",B);return}console.error(B)},se={map:H,forEach:function(B,K,le){H(B,function(){K.apply(this,arguments)},le)},count:function(B){var K=0;return H(B,function(){K++}),K},toArray:function(B){return H(B,function(K){return K})||[]},only:function(B){if(!G(B))throw Error("React.Children.only expected to receive a single React element child.");return B}};return rt.Activity=b,rt.Children=se,rt.Component=R,rt.Fragment=a,rt.Profiler=s,rt.PureComponent=j,rt.StrictMode=i,rt.Suspense=f,rt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=F,rt.__COMPILER_RUNTIME={__proto__:null,c:function(B){return F.H.useMemoCache(B)}},rt.cache=function(B){return function(){return B.apply(null,arguments)}},rt.cacheSignal=function(){return null},rt.cloneElement=function(B,K,le){if(B==null)throw Error("The argument must be a React element, but you passed "+B+".");var he=M({},B.props),fe=B.key;if(K!=null)for(ye in K.key!==void 0&&(fe=""+K.key),K)!E.call(K,ye)||ye==="key"||ye==="__self"||ye==="__source"||ye==="ref"&&K.ref===void 0||(he[ye]=K[ye]);var ye=arguments.length-2;if(ye===1)he.children=le;else if(1<ye){for(var we=Array(ye),Je=0;Je<ye;Je++)we[Je]=arguments[Je+2];he.children=we}return T(B.type,fe,he)},rt.createContext=function(B){return B={$$typeof:u,_currentValue:B,_currentValue2:B,_threadCount:0,Provider:null,Consumer:null},B.Provider=B,B.Consumer={$$typeof:o,_context:B},B},rt.createElement=function(B,K,le){var he,fe={},ye=null;if(K!=null)for(he in K.key!==void 0&&(ye=""+K.key),K)E.call(K,he)&&he!=="key"&&he!=="__self"&&he!=="__source"&&(fe[he]=K[he]);var we=arguments.length-2;if(we===1)fe.children=le;else if(1<we){for(var Je=Array(we),Ne=0;Ne<we;Ne++)Je[Ne]=arguments[Ne+2];fe.children=Je}if(B&&B.defaultProps)for(he in we=B.defaultProps,we)fe[he]===void 0&&(fe[he]=we[he]);return T(B,ye,fe)},rt.createRef=function(){return{current:null}},rt.forwardRef=function(B){return{$$typeof:d,render:B}},rt.isValidElement=G,rt.lazy=function(B){return{$$typeof:y,_payload:{_status:-1,_result:B},_init:k}},rt.memo=function(B,K){return{$$typeof:m,type:B,compare:K===void 0?null:K}},rt.startTransition=function(B){var K=F.T,le={};F.T=le;try{var he=B(),fe=F.S;fe!==null&&fe(le,he),typeof he=="object"&&he!==null&&typeof he.then=="function"&&he.then(P,W)}catch(ye){W(ye)}finally{K!==null&&le.types!==null&&(K.types=le.types),F.T=K}},rt.unstable_useCacheRefresh=function(){return F.H.useCacheRefresh()},rt.use=function(B){return F.H.use(B)},rt.useActionState=function(B,K,le){return F.H.useActionState(B,K,le)},rt.useCallback=function(B,K){return F.H.useCallback(B,K)},rt.useContext=function(B){return F.H.useContext(B)},rt.useDebugValue=function(){},rt.useDeferredValue=function(B,K){return F.H.useDeferredValue(B,K)},rt.useEffect=function(B,K){return F.H.useEffect(B,K)},rt.useEffectEvent=function(B){return F.H.useEffectEvent(B)},rt.useId=function(){return F.H.useId()},rt.useImperativeHandle=function(B,K,le){return F.H.useImperativeHandle(B,K,le)},rt.useInsertionEffect=function(B,K){return F.H.useInsertionEffect(B,K)},rt.useLayoutEffect=function(B,K){return F.H.useLayoutEffect(B,K)},rt.useMemo=function(B,K){return F.H.useMemo(B,K)},rt.useOptimistic=function(B,K){return F.H.useOptimistic(B,K)},rt.useReducer=function(B,K,le){return F.H.useReducer(B,K,le)},rt.useRef=function(B){return F.H.useRef(B)},rt.useState=function(B){return F.H.useState(B)},rt.useSyncExternalStore=function(B,K,le){return F.H.useSyncExternalStore(B,K,le)},rt.useTransition=function(){return F.H.useTransition()},rt.version="19.2.0",rt}var v7;function xf(){return v7||(v7=1,X0.exports=UO()),X0.exports}var $0={exports:{}},ya={};/**
 * @license React
 * react-dom.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var y7;function PO(){if(y7)return ya;y7=1;var t=xf();function e(f){var m="https://react.dev/errors/"+f;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)m+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+f+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(){}var i={d:{f:a,r:function(){throw Error(e(522))},D:a,C:a,L:a,m:a,X:a,S:a,M:a},p:0,findDOMNode:null},s=Symbol.for("react.portal");function o(f,m,y){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:f,containerInfo:m,implementation:y}}var u=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,m){if(f==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return ya.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,ya.createPortal=function(f,m){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(e(299));return o(f,m,null,y)},ya.flushSync=function(f){var m=u.T,y=i.p;try{if(u.T=null,i.p=2,f)return f()}finally{u.T=m,i.p=y,i.d.f()}},ya.preconnect=function(f,m){typeof f=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,i.d.C(f,m))},ya.prefetchDNS=function(f){typeof f=="string"&&i.d.D(f)},ya.preinit=function(f,m){if(typeof f=="string"&&m&&typeof m.as=="string"){var y=m.as,b=d(y,m.crossOrigin),C=typeof m.integrity=="string"?m.integrity:void 0,A=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;y==="style"?i.d.S(f,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:b,integrity:C,fetchPriority:A}):y==="script"&&i.d.X(f,{crossOrigin:b,integrity:C,fetchPriority:A,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},ya.preinitModule=function(f,m){if(typeof f=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var y=d(m.as,m.crossOrigin);i.d.M(f,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&i.d.M(f)},ya.preload=function(f,m){if(typeof f=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var y=m.as,b=d(y,m.crossOrigin);i.d.L(f,y,{crossOrigin:b,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},ya.preloadModule=function(f,m){if(typeof f=="string")if(m){var y=d(m.as,m.crossOrigin);i.d.m(f,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else i.d.m(f)},ya.requestFormReset=function(f){i.d.r(f)},ya.unstable_batchedUpdates=function(f,m){return f(m)},ya.useFormState=function(f,m,y){return u.H.useFormState(f,m,y)},ya.useFormStatus=function(){return u.H.useHostTransitionStatus()},ya.version="19.2.0",ya}var b7;function GE(){if(b7)return $0.exports;b7=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),$0.exports=PO(),$0.exports}/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var S7;function HO(){if(S7)return xc;S7=1;var t=qO(),e=xf(),a=GE();function i(n){var r="https://react.dev/errors/"+n;if(1<arguments.length){r+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+n+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(n){return!(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)}function o(n){var r=n,l=n;if(n.alternate)for(;r.return;)r=r.return;else{n=r;do r=n,(r.flags&4098)!==0&&(l=r.return),n=r.return;while(n)}return r.tag===3?l:null}function u(n){if(n.tag===13){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function d(n){if(n.tag===31){var r=n.memoizedState;if(r===null&&(n=n.alternate,n!==null&&(r=n.memoizedState)),r!==null)return r.dehydrated}return null}function f(n){if(o(n)!==n)throw Error(i(188))}function m(n){var r=n.alternate;if(!r){if(r=o(n),r===null)throw Error(i(188));return r!==n?null:n}for(var l=n,c=r;;){var p=l.return;if(p===null)break;var v=p.alternate;if(v===null){if(c=p.return,c!==null){l=c;continue}break}if(p.child===v.child){for(v=p.child;v;){if(v===l)return f(p),n;if(v===c)return f(p),r;v=v.sibling}throw Error(i(188))}if(l.return!==c.return)l=p,c=v;else{for(var w=!1,z=p.child;z;){if(z===l){w=!0,l=p,c=v;break}if(z===c){w=!0,c=p,l=v;break}z=z.sibling}if(!w){for(z=v.child;z;){if(z===l){w=!0,l=v,c=p;break}if(z===c){w=!0,c=v,l=p;break}z=z.sibling}if(!w)throw Error(i(189))}}if(l.alternate!==c)throw Error(i(190))}if(l.tag!==3)throw Error(i(188));return l.stateNode.current===l?n:r}function y(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n;for(n=n.child;n!==null;){if(r=y(n),r!==null)return r;n=n.sibling}return null}var b=Object.assign,C=Symbol.for("react.element"),A=Symbol.for("react.transitional.element"),I=Symbol.for("react.portal"),M=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),j=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),E=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),N=Symbol.for("react.memo_cache_sentinel"),G=Symbol.iterator;function _(n){return n===null||typeof n!="object"?null:(n=G&&n[G]||n["@@iterator"],typeof n=="function"?n:null)}var q=Symbol.for("react.client.reference");function Z(n){if(n==null)return null;if(typeof n=="function")return n.$$typeof===q?null:n.displayName||n.name||null;if(typeof n=="string")return n;switch(n){case M:return"Fragment";case R:return"Profiler";case O:return"StrictMode";case L:return"Suspense";case P:return"SuspenseList";case T:return"Activity"}if(typeof n=="object")switch(n.$$typeof){case I:return"Portal";case j:return n.displayName||"Context";case x:return(n._context.displayName||"Context")+".Consumer";case U:var r=n.render;return n=n.displayName,n||(n=r.displayName||r.name||"",n=n!==""?"ForwardRef("+n+")":"ForwardRef"),n;case F:return r=n.displayName||null,r!==null?r:Z(n.type)||"Memo";case E:r=n._payload,n=n._init;try{return Z(n(r))}catch{}}return null}var V=Array.isArray,D=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=a.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,k={pending:!1,data:null,method:null,action:null},W=[],se=-1;function B(n){return{current:n}}function K(n){0>se||(n.current=W[se],W[se]=null,se--)}function le(n,r){se++,W[se]=n.current,n.current=r}var he=B(null),fe=B(null),ye=B(null),we=B(null);function Je(n,r){switch(le(ye,r),le(fe,n),le(he,null),r.nodeType){case 9:case 11:n=(n=r.documentElement)&&(n=n.namespaceURI)?k8(n):0;break;default:if(n=r.tagName,r=r.namespaceURI)r=k8(r),n=_8(r,n);else switch(n){case"svg":n=1;break;case"math":n=2;break;default:n=0}}K(he),le(he,n)}function Ne(){K(he),K(fe),K(ye)}function Wt(n){n.memoizedState!==null&&le(we,n);var r=he.current,l=_8(r,n.type);r!==l&&(le(fe,n),le(he,l))}function mt(n){fe.current===n&&(K(he),K(fe)),we.current===n&&(K(we),Sc._currentValue=k)}var Mt,At;function je(n){if(Mt===void 0)try{throw Error()}catch(l){var r=l.stack.trim().match(/\n( *(at )?)/);Mt=r&&r[1]||"",At=-1<l.stack.indexOf(`
    at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
`+Mt+n+At}var Ae=!1;function Re(n,r){if(!n||Ae)return"";Ae=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(r){var me=function(){throw Error()};if(Object.defineProperty(me.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(me,[])}catch(ce){var ie=ce}Reflect.construct(n,[],me)}else{try{me.call()}catch(ce){ie=ce}n.call(me.prototype)}}else{try{throw Error()}catch(ce){ie=ce}(me=n())&&typeof me.catch=="function"&&me.catch(function(){})}}catch(ce){if(ce&&ie&&typeof ce.stack=="string")return[ce.stack,ie.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=c.DetermineComponentFrameRoot(),w=v[0],z=v[1];if(w&&z){var Y=w.split(`
`),re=z.split(`
`);for(p=c=0;c<Y.length&&!Y[c].includes("DetermineComponentFrameRoot");)c++;for(;p<re.length&&!re[p].includes("DetermineComponentFrameRoot");)p++;if(c===Y.length||p===re.length)for(c=Y.length-1,p=re.length-1;1<=c&&0<=p&&Y[c]!==re[p];)p--;for(;1<=c&&0<=p;c--,p--)if(Y[c]!==re[p]){if(c!==1||p!==1)do if(c--,p--,0>p||Y[c]!==re[p]){var ue=`
`+Y[c].replace(" at new "," at ");return n.displayName&&ue.includes("<anonymous>")&&(ue=ue.replace("<anonymous>",n.displayName)),ue}while(1<=c&&0<=p);break}}}finally{Ae=!1,Error.prepareStackTrace=l}return(l=n?n.displayName||n.name:"")?je(l):""}function Qt(n,r){switch(n.tag){case 26:case 27:case 5:return je(n.type);case 16:return je("Lazy");case 13:return n.child!==r&&r!==null?je("Suspense Fallback"):je("Suspense");case 19:return je("SuspenseList");case 0:case 15:return Re(n.type,!1);case 11:return Re(n.type.render,!1);case 1:return Re(n.type,!0);case 31:return je("Activity");default:return""}}function ut(n){try{var r="",l=null;do r+=Qt(n,l),l=n,n=n.return;while(n);return r}catch(c){return`
Error generating stack: `+c.message+`
`+c.stack}}var Ve=Object.prototype.hasOwnProperty,ot=t.unstable_scheduleCallback,gn=t.unstable_cancelCallback,Ke=t.unstable_shouldYield,Ce=t.unstable_requestPaint,De=t.unstable_now,He=t.unstable_getCurrentPriorityLevel,it=t.unstable_ImmediatePriority,_t=t.unstable_UserBlockingPriority,vn=t.unstable_NormalPriority,qn=t.unstable_LowPriority,Mn=t.unstable_IdlePriority,Jn=t.log,ea=t.unstable_setDisableYieldValue,En=null,pt=null;function st(n){if(typeof Jn=="function"&&ea(n),pt&&typeof pt.setStrictMode=="function")try{pt.setStrictMode(En,n)}catch{}}var Ft=Math.clz32?Math.clz32:va,Aa=Math.log,Na=Math.LN2;function va(n){return n>>>=0,n===0?32:31-(Aa(n)/Na|0)|0}var Un=256,Pn=262144,Ot=4194304;function yn(n){var r=n&42;if(r!==0)return r;switch(n&-n){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return n&261888;case 262144:case 524288:case 1048576:case 2097152:return n&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return n&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return n}}function ua(n,r,l){var c=n.pendingLanes;if(c===0)return 0;var p=0,v=n.suspendedLanes,w=n.pingedLanes;n=n.warmLanes;var z=c&134217727;return z!==0?(c=z&~v,c!==0?p=yn(c):(w&=z,w!==0?p=yn(w):l||(l=z&~n,l!==0&&(p=yn(l))))):(z=c&~v,z!==0?p=yn(z):w!==0?p=yn(w):l||(l=c&~n,l!==0&&(p=yn(l)))),p===0?0:r!==0&&r!==p&&(r&v)===0&&(v=p&-p,l=r&-r,v>=l||v===32&&(l&4194048)!==0)?r:p}function Xe(n,r){return(n.pendingLanes&~(n.suspendedLanes&~n.pingedLanes)&r)===0}function on(n,r){switch(n){case 1:case 2:case 4:case 8:case 64:return r+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ue(){var n=Ot;return Ot<<=1,(Ot&62914560)===0&&(Ot=4194304),n}function $e(n){for(var r=[],l=0;31>l;l++)r.push(n);return r}function ft(n,r){n.pendingLanes|=r,r!==268435456&&(n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0)}function ta(n,r,l,c,p,v){var w=n.pendingLanes;n.pendingLanes=l,n.suspendedLanes=0,n.pingedLanes=0,n.warmLanes=0,n.expiredLanes&=l,n.entangledLanes&=l,n.errorRecoveryDisabledLanes&=l,n.shellSuspendCounter=0;var z=n.entanglements,Y=n.expirationTimes,re=n.hiddenUpdates;for(l=w&~l;0<l;){var ue=31-Ft(l),me=1<<ue;z[ue]=0,Y[ue]=-1;var ie=re[ue];if(ie!==null)for(re[ue]=null,ue=0;ue<ie.length;ue++){var ce=ie[ue];ce!==null&&(ce.lane&=-536870913)}l&=~me}c!==0&&be(n,c,0),v!==0&&p===0&&n.tag!==0&&(n.suspendedLanes|=v&~(w&~r))}function be(n,r,l){n.pendingLanes|=r,n.suspendedLanes&=~r;var c=31-Ft(r);n.entangledLanes|=r,n.entanglements[c]=n.entanglements[c]|1073741824|l&261930}function qe(n,r){var l=n.entangledLanes|=r;for(n=n.entanglements;l;){var c=31-Ft(l),p=1<<c;p&r|n[c]&r&&(n[c]|=r),l&=~p}}function Le(n,r){var l=r&-r;return l=(l&42)!==0?1:Rt(l),(l&(n.suspendedLanes|r))!==0?0:l}function Rt(n){switch(n){case 2:n=1;break;case 8:n=4;break;case 32:n=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:n=128;break;case 268435456:n=134217728;break;default:n=0}return n}function an(n){return n&=-n,2<n?8<n?(n&134217727)!==0?32:268435456:8:2}function Nn(){var n=H.p;return n!==0?n:(n=window.event,n===void 0?32:i7(n.type))}function Dn(n,r){var l=H.p;try{return H.p=n,r()}finally{H.p=l}}var Dt=Math.random().toString(36).slice(2),ke="__reactFiber$"+Dt,et="__reactProps$"+Dt,Ct="__reactContainer$"+Dt,Ba="__reactEvents$"+Dt,Vt="__reactListeners$"+Dt,Da="__reactHandles$"+Dt,Oe="__reactResources$"+Dt,Q="__reactMarker$"+Dt;function ve(n){delete n[ke],delete n[et],delete n[Ba],delete n[Vt],delete n[Da]}function Se(n){var r=n[ke];if(r)return r;for(var l=n.parentNode;l;){if(r=l[Ct]||l[ke]){if(l=r.alternate,r.child!==null||l!==null&&l.child!==null)for(n=F8(n);n!==null;){if(l=n[ke])return l;n=F8(n)}return r}n=l,l=n.parentNode}return null}function Ie(n){if(n=n[ke]||n[Ct]){var r=n.tag;if(r===5||r===6||r===13||r===31||r===26||r===27||r===3)return n}return null}function dt(n){var r=n.tag;if(r===5||r===26||r===27||r===6)return n.stateNode;throw Error(i(33))}function gt(n){var r=n[Oe];return r||(r=n[Oe]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function We(n){n[Q]=!0}var Hn=new Set,Kn={};function jn(n,r){zt(n,r),zt(n+"Capture",r)}function zt(n,r){for(Kn[n]=r,n=0;n<r.length;n++)Hn.add(r[n])}var wr=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Zr={},Yr={};function zo(n){return Ve.call(Yr,n)?!0:Ve.call(Zr,n)?!1:wr.test(n)?Yr[n]=!0:(Zr[n]=!0,!1)}function Wr(n,r,l){if(zo(r))if(l===null)n.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":n.removeAttribute(r);return;case"boolean":var c=r.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){n.removeAttribute(r);return}}n.setAttribute(r,""+l)}}function ar(n,r,l){if(l===null)n.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(r);return}n.setAttribute(r,""+l)}}function na(n,r,l,c){if(c===null)n.removeAttribute(l);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":n.removeAttribute(l);return}n.setAttributeNS(r,l,""+c)}}function Ln(n){switch(typeof n){case"bigint":case"boolean":case"number":case"string":case"undefined":return n;case"object":return n;default:return""}}function Rs(n){var r=n.type;return(n=n.nodeName)&&n.toLowerCase()==="input"&&(r==="checkbox"||r==="radio")}function Is(n,r,l){var c=Object.getOwnPropertyDescriptor(n.constructor.prototype,r);if(!n.hasOwnProperty(r)&&typeof c<"u"&&typeof c.get=="function"&&typeof c.set=="function"){var p=c.get,v=c.set;return Object.defineProperty(n,r,{configurable:!0,get:function(){return p.call(this)},set:function(w){l=""+w,v.call(this,w)}}),Object.defineProperty(n,r,{enumerable:c.enumerable}),{getValue:function(){return l},setValue:function(w){l=""+w},stopTracking:function(){n._valueTracker=null,delete n[r]}}}}function Pi(n){if(!n._valueTracker){var r=Rs(n)?"checked":"value";n._valueTracker=Is(n,r,""+n[r])}}function Hi(n){if(!n)return!1;var r=n._valueTracker;if(!r)return!0;var l=r.getValue(),c="";return n&&(c=Rs(n)?n.checked?"true":"false":n.value),n=c,n!==l?(r.setValue(n),!0):!1}function hi(n){if(n=n||(typeof document<"u"?document:void 0),typeof n>"u")return null;try{return n.activeElement||n.body}catch{return n.body}}var $=/[\n"\\]/g;function oe(n){return n.replace($,function(r){return"\\"+r.charCodeAt(0).toString(16)+" "})}function pe(n,r,l,c,p,v,w,z){n.name="",w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"?n.type=w:n.removeAttribute("type"),r!=null?w==="number"?(r===0&&n.value===""||n.value!=r)&&(n.value=""+Ln(r)):n.value!==""+Ln(r)&&(n.value=""+Ln(r)):w!=="submit"&&w!=="reset"||n.removeAttribute("value"),r!=null?Qe(n,w,Ln(r)):l!=null?Qe(n,w,Ln(l)):c!=null&&n.removeAttribute("value"),p==null&&v!=null&&(n.defaultChecked=!!v),p!=null&&(n.checked=p&&typeof p!="function"&&typeof p!="symbol"),z!=null&&typeof z!="function"&&typeof z!="symbol"&&typeof z!="boolean"?n.name=""+Ln(z):n.removeAttribute("name")}function xe(n,r,l,c,p,v,w,z){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(n.type=v),r!=null||l!=null){if(!(v!=="submit"&&v!=="reset"||r!=null)){Pi(n);return}l=l!=null?""+Ln(l):"",r=r!=null?""+Ln(r):l,z||r===n.value||(n.value=r),n.defaultValue=r}c=c??p,c=typeof c!="function"&&typeof c!="symbol"&&!!c,n.checked=z?n.checked:!!c,n.defaultChecked=!!c,w!=null&&typeof w!="function"&&typeof w!="symbol"&&typeof w!="boolean"&&(n.name=w),Pi(n)}function Qe(n,r,l){r==="number"&&hi(n.ownerDocument)===n||n.defaultValue===""+l||(n.defaultValue=""+l)}function Gt(n,r,l,c){if(n=n.options,r){r={};for(var p=0;p<l.length;p++)r["$"+l[p]]=!0;for(l=0;l<n.length;l++)p=r.hasOwnProperty("$"+n[l].value),n[l].selected!==p&&(n[l].selected=p),p&&c&&(n[l].defaultSelected=!0)}else{for(l=""+Ln(l),r=null,p=0;p<n.length;p++){if(n[p].value===l){n[p].selected=!0,c&&(n[p].defaultSelected=!0);return}r!==null||n[p].disabled||(r=n[p])}r!==null&&(r.selected=!0)}}function yt(n,r,l){if(r!=null&&(r=""+Ln(r),r!==n.value&&(n.value=r),l==null)){n.defaultValue!==r&&(n.defaultValue=r);return}n.defaultValue=l!=null?""+Ln(l):""}function fa(n,r,l,c){if(r==null){if(c!=null){if(l!=null)throw Error(i(92));if(V(c)){if(1<c.length)throw Error(i(93));c=c[0]}l=c}l==null&&(l=""),r=l}l=Ln(r),n.defaultValue=l,c=n.textContent,c===l&&c!==""&&c!==null&&(n.value=c),Pi(n)}function xr(n,r){if(r){var l=n.firstChild;if(l&&l===n.lastChild&&l.nodeType===3){l.nodeValue=r;return}}n.textContent=r}var Kf=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Bi(n,r,l){var c=r.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?c?n.setProperty(r,""):r==="float"?n.cssFloat="":n[r]="":c?n.setProperty(r,l):typeof l!="number"||l===0||Kf.has(r)?r==="float"?n.cssFloat=l:n[r]=(""+l).trim():n[r]=l+"px"}function gu(n,r,l){if(r!=null&&typeof r!="object")throw Error(i(62));if(n=n.style,l!=null){for(var c in l)!l.hasOwnProperty(c)||r!=null&&r.hasOwnProperty(c)||(c.indexOf("--")===0?n.setProperty(c,""):c==="float"?n.cssFloat="":n[c]="");for(var p in r)c=r[p],r.hasOwnProperty(p)&&l[p]!==c&&Bi(n,p,c)}else for(var v in r)r.hasOwnProperty(v)&&Bi(n,v,r[v])}function qo(n){if(n.indexOf("-")===-1)return!1;switch(n){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Bn=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fi=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function bl(n){return Fi.test(""+n)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":n}function rr(){}var Ms=null;function Sl(n){return n=n.target||n.srcElement||window,n.correspondingUseElement&&(n=n.correspondingUseElement),n.nodeType===3?n.parentNode:n}var mi=null,Vi=null;function Fa(n){var r=Ie(n);if(r&&(n=r.stateNode)){var l=n[et]||null;e:switch(n=r.stateNode,r.type){case"input":if(pe(n,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),r=l.name,l.type==="radio"&&r!=null){for(l=n;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+oe(""+r)+'"][type="radio"]'),r=0;r<l.length;r++){var c=l[r];if(c!==n&&c.form===n.form){var p=c[et]||null;if(!p)throw Error(i(90));pe(c,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(r=0;r<l.length;r++)c=l[r],c.form===n.form&&Hi(c)}break e;case"textarea":yt(n,l.value,l.defaultValue);break e;case"select":r=l.value,r!=null&&Gt(n,!!l.multiple,r,!1)}}}var Tr=!1;function Uo(n,r,l){if(Tr)return n(r,l);Tr=!0;try{var c=n(r);return c}finally{if(Tr=!1,(mi!==null||Vi!==null)&&(e1(),mi&&(r=mi,n=Vi,Vi=mi=null,Fa(r),n)))for(r=0;r<n.length;r++)Fa(n[r])}}function Gi(n,r){var l=n.stateNode;if(l===null)return null;var c=l[et]||null;if(c===null)return null;l=c[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(n=n.type,c=!(n==="button"||n==="input"||n==="select"||n==="textarea")),n=!c;break e;default:n=!1}if(n)return null;if(l&&typeof l!="function")throw Error(i(231,r,typeof l));return l}var Va=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),El=!1;if(Va)try{var Ca={};Object.defineProperty(Ca,"passive",{get:function(){El=!0}}),window.addEventListener("test",Ca,Ca),window.removeEventListener("test",Ca,Ca)}catch{El=!1}var Or=null,Al=null,Ns=null;function Po(){if(Ns)return Ns;var n,r=Al,l=r.length,c,p="value"in Or?Or.value:Or.textContent,v=p.length;for(n=0;n<l&&r[n]===p[n];n++);var w=l-n;for(c=1;c<=w&&r[l-c]===p[v-c];c++);return Ns=p.slice(n,1<c?1-c:void 0)}function Cl(n){var r=n.keyCode;return"charCode"in n?(n=n.charCode,n===0&&r===13&&(n=13)):n=r,n===10&&(n=13),32<=n||n===13?n:0}function ze(){return!0}function X(){return!1}function ge(n){function r(l,c,p,v,w){this._reactName=l,this._targetInst=p,this.type=c,this.nativeEvent=v,this.target=w,this.currentTarget=null;for(var z in n)n.hasOwnProperty(z)&&(l=n[z],this[z]=l?l(v):v[z]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?ze:X,this.isPropagationStopped=X,this}return b(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=ze)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=ze)},persist:function(){},isPersistent:ze}),r}var Te={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(n){return n.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Jt=ge(Te),An=b({},Te,{view:0,detail:0}),Cn=ge(An),aa,Ga,ir,Zi=b({},An,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:$f,button:0,buttons:0,relatedTarget:function(n){return n.relatedTarget===void 0?n.fromElement===n.srcElement?n.toElement:n.fromElement:n.relatedTarget},movementX:function(n){return"movementX"in n?n.movementX:(n!==ir&&(ir&&n.type==="mousemove"?(aa=n.screenX-ir.screenX,Ga=n.screenY-ir.screenY):Ga=aa=0,ir=n),aa)},movementY:function(n){return"movementY"in n?n.movementY:Ga}}),Fn=ge(Zi),vu=b({},Zi,{dataTransfer:0}),yu=ge(vu),kx=b({},An,{relatedTarget:0}),Xf=ge(kx),_x=b({},Te,{animationName:0,elapsedTime:0,pseudoElement:0}),zx=ge(_x),qx=b({},Te,{clipboardData:function(n){return"clipboardData"in n?n.clipboardData:window.clipboardData}}),Ux=ge(qx),Px=b({},Te,{data:0}),U5=ge(Px),Hx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Bx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Fx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vx(n){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(n):(n=Fx[n])?!!r[n]:!1}function $f(){return Vx}var Gx=b({},An,{key:function(n){if(n.key){var r=Hx[n.key]||n.key;if(r!=="Unidentified")return r}return n.type==="keypress"?(n=Cl(n),n===13?"Enter":String.fromCharCode(n)):n.type==="keydown"||n.type==="keyup"?Bx[n.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:$f,charCode:function(n){return n.type==="keypress"?Cl(n):0},keyCode:function(n){return n.type==="keydown"||n.type==="keyup"?n.keyCode:0},which:function(n){return n.type==="keypress"?Cl(n):n.type==="keydown"||n.type==="keyup"?n.keyCode:0}}),Zx=ge(Gx),Yx=b({},Zi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),P5=ge(Yx),Wx=b({},An,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:$f}),Qx=ge(Wx),Jx=b({},Te,{propertyName:0,elapsedTime:0,pseudoElement:0}),Kx=ge(Jx),Xx=b({},Zi,{deltaX:function(n){return"deltaX"in n?n.deltaX:"wheelDeltaX"in n?-n.wheelDeltaX:0},deltaY:function(n){return"deltaY"in n?n.deltaY:"wheelDeltaY"in n?-n.wheelDeltaY:"wheelDelta"in n?-n.wheelDelta:0},deltaZ:0,deltaMode:0}),$x=ge(Xx),eT=b({},Te,{newState:0,oldState:0}),tT=ge(eT),nT=[9,13,27,32],ed=Va&&"CompositionEvent"in window,Ho=null;Va&&"documentMode"in document&&(Ho=document.documentMode);var aT=Va&&"TextEvent"in window&&!Ho,H5=Va&&(!ed||Ho&&8<Ho&&11>=Ho),B5=" ",F5=!1;function V5(n,r){switch(n){case"keyup":return nT.indexOf(r.keyCode)!==-1;case"keydown":return r.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function G5(n){return n=n.detail,typeof n=="object"&&"data"in n?n.data:null}var wl=!1;function rT(n,r){switch(n){case"compositionend":return G5(r);case"keypress":return r.which!==32?null:(F5=!0,B5);case"textInput":return n=r.data,n===B5&&F5?null:n;default:return null}}function iT(n,r){if(wl)return n==="compositionend"||!ed&&V5(n,r)?(n=Po(),Ns=Al=Or=null,wl=!1,n):null;switch(n){case"paste":return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return H5&&r.locale!=="ko"?null:r.data;default:return null}}var sT={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Z5(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r==="input"?!!sT[n.type]:r==="textarea"}function Y5(n,r,l,c){mi?Vi?Vi.push(c):Vi=[c]:mi=c,r=l1(r,"onChange"),0<r.length&&(l=new Jt("onChange","change",null,l,c),n.push({event:l,listeners:r}))}var Bo=null,Fo=null;function lT(n){I8(n,0)}function bu(n){var r=dt(n);if(Hi(r))return n}function W5(n,r){if(n==="change")return r}var Q5=!1;if(Va){var td;if(Va){var nd="oninput"in document;if(!nd){var J5=document.createElement("div");J5.setAttribute("oninput","return;"),nd=typeof J5.oninput=="function"}td=nd}else td=!1;Q5=td&&(!document.documentMode||9<document.documentMode)}function K5(){Bo&&(Bo.detachEvent("onpropertychange",X5),Fo=Bo=null)}function X5(n){if(n.propertyName==="value"&&bu(Fo)){var r=[];Y5(r,Fo,n,Sl(n)),Uo(lT,r)}}function oT(n,r,l){n==="focusin"?(K5(),Bo=r,Fo=l,Bo.attachEvent("onpropertychange",X5)):n==="focusout"&&K5()}function cT(n){if(n==="selectionchange"||n==="keyup"||n==="keydown")return bu(Fo)}function uT(n,r){if(n==="click")return bu(r)}function fT(n,r){if(n==="input"||n==="change")return bu(r)}function dT(n,r){return n===r&&(n!==0||1/n===1/r)||n!==n&&r!==r}var Za=typeof Object.is=="function"?Object.is:dT;function Vo(n,r){if(Za(n,r))return!0;if(typeof n!="object"||n===null||typeof r!="object"||r===null)return!1;var l=Object.keys(n),c=Object.keys(r);if(l.length!==c.length)return!1;for(c=0;c<l.length;c++){var p=l[c];if(!Ve.call(r,p)||!Za(n[p],r[p]))return!1}return!0}function $5(n){for(;n&&n.firstChild;)n=n.firstChild;return n}function e4(n,r){var l=$5(n);n=0;for(var c;l;){if(l.nodeType===3){if(c=n+l.textContent.length,n<=r&&c>=r)return{node:l,offset:r-n};n=c}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=$5(l)}}function t4(n,r){return n&&r?n===r?!0:n&&n.nodeType===3?!1:r&&r.nodeType===3?t4(n,r.parentNode):"contains"in n?n.contains(r):n.compareDocumentPosition?!!(n.compareDocumentPosition(r)&16):!1:!1}function n4(n){n=n!=null&&n.ownerDocument!=null&&n.ownerDocument.defaultView!=null?n.ownerDocument.defaultView:window;for(var r=hi(n.document);r instanceof n.HTMLIFrameElement;){try{var l=typeof r.contentWindow.location.href=="string"}catch{l=!1}if(l)n=r.contentWindow;else break;r=hi(n.document)}return r}function ad(n){var r=n&&n.nodeName&&n.nodeName.toLowerCase();return r&&(r==="input"&&(n.type==="text"||n.type==="search"||n.type==="tel"||n.type==="url"||n.type==="password")||r==="textarea"||n.contentEditable==="true")}var hT=Va&&"documentMode"in document&&11>=document.documentMode,xl=null,rd=null,Go=null,id=!1;function a4(n,r,l){var c=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;id||xl==null||xl!==hi(c)||(c=xl,"selectionStart"in c&&ad(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Go&&Vo(Go,c)||(Go=c,c=l1(rd,"onSelect"),0<c.length&&(r=new Jt("onSelect","select",null,r,l),n.push({event:r,listeners:c}),r.target=xl)))}function Ds(n,r){var l={};return l[n.toLowerCase()]=r.toLowerCase(),l["Webkit"+n]="webkit"+r,l["Moz"+n]="moz"+r,l}var Tl={animationend:Ds("Animation","AnimationEnd"),animationiteration:Ds("Animation","AnimationIteration"),animationstart:Ds("Animation","AnimationStart"),transitionrun:Ds("Transition","TransitionRun"),transitionstart:Ds("Transition","TransitionStart"),transitioncancel:Ds("Transition","TransitionCancel"),transitionend:Ds("Transition","TransitionEnd")},sd={},r4={};Va&&(r4=document.createElement("div").style,"AnimationEvent"in window||(delete Tl.animationend.animation,delete Tl.animationiteration.animation,delete Tl.animationstart.animation),"TransitionEvent"in window||delete Tl.transitionend.transition);function js(n){if(sd[n])return sd[n];if(!Tl[n])return n;var r=Tl[n],l;for(l in r)if(r.hasOwnProperty(l)&&l in r4)return sd[n]=r[l];return n}var i4=js("animationend"),s4=js("animationiteration"),l4=js("animationstart"),mT=js("transitionrun"),pT=js("transitionstart"),gT=js("transitioncancel"),o4=js("transitionend"),c4=new Map,ld="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");ld.push("scrollEnd");function Rr(n,r){c4.set(n,r),jn(r,[n])}var Su=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var r=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(r))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)},sr=[],Ol=0,od=0;function Eu(){for(var n=Ol,r=od=Ol=0;r<n;){var l=sr[r];sr[r++]=null;var c=sr[r];sr[r++]=null;var p=sr[r];sr[r++]=null;var v=sr[r];if(sr[r++]=null,c!==null&&p!==null){var w=c.pending;w===null?p.next=p:(p.next=w.next,w.next=p),c.pending=p}v!==0&&u4(l,p,v)}}function Au(n,r,l,c){sr[Ol++]=n,sr[Ol++]=r,sr[Ol++]=l,sr[Ol++]=c,od|=c,n.lanes|=c,n=n.alternate,n!==null&&(n.lanes|=c)}function cd(n,r,l,c){return Au(n,r,l,c),Cu(n)}function Ls(n,r){return Au(n,null,null,r),Cu(n)}function u4(n,r,l){n.lanes|=l;var c=n.alternate;c!==null&&(c.lanes|=l);for(var p=!1,v=n.return;v!==null;)v.childLanes|=l,c=v.alternate,c!==null&&(c.childLanes|=l),v.tag===22&&(n=v.stateNode,n===null||n._visibility&1||(p=!0)),n=v,v=v.return;return n.tag===3?(v=n.stateNode,p&&r!==null&&(p=31-Ft(l),n=v.hiddenUpdates,c=n[p],c===null?n[p]=[r]:c.push(r),r.lane=l|536870912),v):null}function Cu(n){if(50<hc)throw hc=0,y0=null,Error(i(185));for(var r=n.return;r!==null;)n=r,r=n.return;return n.tag===3?n.stateNode:null}var Rl={};function vT(n,r,l,c){this.tag=n,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ya(n,r,l,c){return new vT(n,r,l,c)}function ud(n){return n=n.prototype,!(!n||!n.isReactComponent)}function pi(n,r){var l=n.alternate;return l===null?(l=Ya(n.tag,r,n.key,n.mode),l.elementType=n.elementType,l.type=n.type,l.stateNode=n.stateNode,l.alternate=n,n.alternate=l):(l.pendingProps=r,l.type=n.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=n.flags&65011712,l.childLanes=n.childLanes,l.lanes=n.lanes,l.child=n.child,l.memoizedProps=n.memoizedProps,l.memoizedState=n.memoizedState,l.updateQueue=n.updateQueue,r=n.dependencies,l.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext},l.sibling=n.sibling,l.index=n.index,l.ref=n.ref,l.refCleanup=n.refCleanup,l}function f4(n,r){n.flags&=65011714;var l=n.alternate;return l===null?(n.childLanes=0,n.lanes=r,n.child=null,n.subtreeFlags=0,n.memoizedProps=null,n.memoizedState=null,n.updateQueue=null,n.dependencies=null,n.stateNode=null):(n.childLanes=l.childLanes,n.lanes=l.lanes,n.child=l.child,n.subtreeFlags=0,n.deletions=null,n.memoizedProps=l.memoizedProps,n.memoizedState=l.memoizedState,n.updateQueue=l.updateQueue,n.type=l.type,r=l.dependencies,n.dependencies=r===null?null:{lanes:r.lanes,firstContext:r.firstContext}),n}function wu(n,r,l,c,p,v){var w=0;if(c=n,typeof n=="function")ud(n)&&(w=1);else if(typeof n=="string")w=AO(n,l,he.current)?26:n==="html"||n==="head"||n==="body"?27:5;else e:switch(n){case T:return n=Ya(31,l,r,p),n.elementType=T,n.lanes=v,n;case M:return ks(l.children,p,v,r);case O:w=8,p|=24;break;case R:return n=Ya(12,l,r,p|2),n.elementType=R,n.lanes=v,n;case L:return n=Ya(13,l,r,p),n.elementType=L,n.lanes=v,n;case P:return n=Ya(19,l,r,p),n.elementType=P,n.lanes=v,n;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case j:w=10;break e;case x:w=9;break e;case U:w=11;break e;case F:w=14;break e;case E:w=16,c=null;break e}w=29,l=Error(i(130,n===null?"null":typeof n,"")),c=null}return r=Ya(w,l,r,p),r.elementType=n,r.type=c,r.lanes=v,r}function ks(n,r,l,c){return n=Ya(7,n,c,r),n.lanes=l,n}function fd(n,r,l){return n=Ya(6,n,null,r),n.lanes=l,n}function d4(n){var r=Ya(18,null,null,0);return r.stateNode=n,r}function dd(n,r,l){return r=Ya(4,n.children!==null?n.children:[],n.key,r),r.lanes=l,r.stateNode={containerInfo:n.containerInfo,pendingChildren:null,implementation:n.implementation},r}var h4=new WeakMap;function lr(n,r){if(typeof n=="object"&&n!==null){var l=h4.get(n);return l!==void 0?l:(r={value:n,source:r,stack:ut(r)},h4.set(n,r),r)}return{value:n,source:r,stack:ut(r)}}var Il=[],Ml=0,xu=null,Zo=0,or=[],cr=0,Yi=null,Qr=1,Jr="";function gi(n,r){Il[Ml++]=Zo,Il[Ml++]=xu,xu=n,Zo=r}function m4(n,r,l){or[cr++]=Qr,or[cr++]=Jr,or[cr++]=Yi,Yi=n;var c=Qr;n=Jr;var p=32-Ft(c)-1;c&=~(1<<p),l+=1;var v=32-Ft(r)+p;if(30<v){var w=p-p%5;v=(c&(1<<w)-1).toString(32),c>>=w,p-=w,Qr=1<<32-Ft(r)+p|l<<p|c,Jr=v+n}else Qr=1<<v|l<<p|c,Jr=n}function hd(n){n.return!==null&&(gi(n,1),m4(n,1,0))}function md(n){for(;n===xu;)xu=Il[--Ml],Il[Ml]=null,Zo=Il[--Ml],Il[Ml]=null;for(;n===Yi;)Yi=or[--cr],or[cr]=null,Jr=or[--cr],or[cr]=null,Qr=or[--cr],or[cr]=null}function p4(n,r){or[cr++]=Qr,or[cr++]=Jr,or[cr++]=Yi,Qr=r.id,Jr=r.overflow,Yi=n}var da=null,cn=null,It=!1,Wi=null,ur=!1,pd=Error(i(519));function Qi(n){var r=Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Yo(lr(r,n)),pd}function g4(n){var r=n.stateNode,l=n.type,c=n.memoizedProps;switch(r[ke]=n,r[et]=c,l){case"dialog":St("cancel",r),St("close",r);break;case"iframe":case"object":case"embed":St("load",r);break;case"video":case"audio":for(l=0;l<pc.length;l++)St(pc[l],r);break;case"source":St("error",r);break;case"img":case"image":case"link":St("error",r),St("load",r);break;case"details":St("toggle",r);break;case"input":St("invalid",r),xe(r,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0);break;case"select":St("invalid",r);break;case"textarea":St("invalid",r),fa(r,c.value,c.defaultValue,c.children)}l=c.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||r.textContent===""+l||c.suppressHydrationWarning===!0||j8(r.textContent,l)?(c.popover!=null&&(St("beforetoggle",r),St("toggle",r)),c.onScroll!=null&&St("scroll",r),c.onScrollEnd!=null&&St("scrollend",r),c.onClick!=null&&(r.onclick=rr),r=!0):r=!1,r||Qi(n,!0)}function v4(n){for(da=n.return;da;)switch(da.tag){case 5:case 31:case 13:ur=!1;return;case 27:case 3:ur=!0;return;default:da=da.return}}function Nl(n){if(n!==da)return!1;if(!It)return v4(n),It=!0,!1;var r=n.tag,l;if((l=r!==3&&r!==27)&&((l=r===5)&&(l=n.type,l=!(l!=="form"&&l!=="button")||j0(n.type,n.memoizedProps)),l=!l),l&&cn&&Qi(n),v4(n),r===13){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(317));cn=B8(n)}else if(r===31){if(n=n.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(317));cn=B8(n)}else r===27?(r=cn,cs(n.type)?(n=q0,q0=null,cn=n):cn=r):cn=da?dr(n.stateNode.nextSibling):null;return!0}function _s(){cn=da=null,It=!1}function gd(){var n=Wi;return n!==null&&(_a===null?_a=n:_a.push.apply(_a,n),Wi=null),n}function Yo(n){Wi===null?Wi=[n]:Wi.push(n)}var vd=B(null),zs=null,vi=null;function Ji(n,r,l){le(vd,r._currentValue),r._currentValue=l}function yi(n){n._currentValue=vd.current,K(vd)}function yd(n,r,l){for(;n!==null;){var c=n.alternate;if((n.childLanes&r)!==r?(n.childLanes|=r,c!==null&&(c.childLanes|=r)):c!==null&&(c.childLanes&r)!==r&&(c.childLanes|=r),n===l)break;n=n.return}}function bd(n,r,l,c){var p=n.child;for(p!==null&&(p.return=n);p!==null;){var v=p.dependencies;if(v!==null){var w=p.child;v=v.firstContext;e:for(;v!==null;){var z=v;v=p;for(var Y=0;Y<r.length;Y++)if(z.context===r[Y]){v.lanes|=l,z=v.alternate,z!==null&&(z.lanes|=l),yd(v.return,l,n),c||(w=null);break e}v=z.next}}else if(p.tag===18){if(w=p.return,w===null)throw Error(i(341));w.lanes|=l,v=w.alternate,v!==null&&(v.lanes|=l),yd(w,l,n),w=null}else w=p.child;if(w!==null)w.return=p;else for(w=p;w!==null;){if(w===n){w=null;break}if(p=w.sibling,p!==null){p.return=w.return,w=p;break}w=w.return}p=w}}function Dl(n,r,l,c){n=null;for(var p=r,v=!1;p!==null;){if(!v){if((p.flags&524288)!==0)v=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var w=p.alternate;if(w===null)throw Error(i(387));if(w=w.memoizedProps,w!==null){var z=p.type;Za(p.pendingProps.value,w.value)||(n!==null?n.push(z):n=[z])}}else if(p===we.current){if(w=p.alternate,w===null)throw Error(i(387));w.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(n!==null?n.push(Sc):n=[Sc])}p=p.return}n!==null&&bd(r,n,l,c),r.flags|=262144}function Tu(n){for(n=n.firstContext;n!==null;){if(!Za(n.context._currentValue,n.memoizedValue))return!0;n=n.next}return!1}function qs(n){zs=n,vi=null,n=n.dependencies,n!==null&&(n.firstContext=null)}function ha(n){return y4(zs,n)}function Ou(n,r){return zs===null&&qs(n),y4(n,r)}function y4(n,r){var l=r._currentValue;if(r={context:r,memoizedValue:l,next:null},vi===null){if(n===null)throw Error(i(308));vi=r,n.dependencies={lanes:0,firstContext:r},n.flags|=524288}else vi=vi.next=r;return l}var yT=typeof AbortController<"u"?AbortController:function(){var n=[],r=this.signal={aborted:!1,addEventListener:function(l,c){n.push(c)}};this.abort=function(){r.aborted=!0,n.forEach(function(l){return l()})}},bT=t.unstable_scheduleCallback,ST=t.unstable_NormalPriority,Vn={$$typeof:j,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sd(){return{controller:new yT,data:new Map,refCount:0}}function Wo(n){n.refCount--,n.refCount===0&&bT(ST,function(){n.controller.abort()})}var Qo=null,Ed=0,jl=0,Ll=null;function ET(n,r){if(Qo===null){var l=Qo=[];Ed=0,jl=w0(),Ll={status:"pending",value:void 0,then:function(c){l.push(c)}}}return Ed++,r.then(b4,b4),r}function b4(){if(--Ed===0&&Qo!==null){Ll!==null&&(Ll.status="fulfilled");var n=Qo;Qo=null,jl=0,Ll=null;for(var r=0;r<n.length;r++)(0,n[r])()}}function AT(n,r){var l=[],c={status:"pending",value:null,reason:null,then:function(p){l.push(p)}};return n.then(function(){c.status="fulfilled",c.value=r;for(var p=0;p<l.length;p++)(0,l[p])(r)},function(p){for(c.status="rejected",c.reason=p,p=0;p<l.length;p++)(0,l[p])(void 0)}),c}var S4=D.S;D.S=function(n,r){a8=De(),typeof r=="object"&&r!==null&&typeof r.then=="function"&&ET(n,r),S4!==null&&S4(n,r)};var Us=B(null);function Ad(){var n=Us.current;return n!==null?n:rn.pooledCache}function Ru(n,r){r===null?le(Us,Us.current):le(Us,r.pool)}function E4(){var n=Ad();return n===null?null:{parent:Vn._currentValue,pool:n}}var kl=Error(i(460)),Cd=Error(i(474)),Iu=Error(i(542)),Mu={then:function(){}};function A4(n){return n=n.status,n==="fulfilled"||n==="rejected"}function C4(n,r,l){switch(l=n[l],l===void 0?n.push(r):l!==r&&(r.then(rr,rr),r=l),r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,x4(n),n;default:if(typeof r.status=="string")r.then(rr,rr);else{if(n=rn,n!==null&&100<n.shellSuspendCounter)throw Error(i(482));n=r,n.status="pending",n.then(function(c){if(r.status==="pending"){var p=r;p.status="fulfilled",p.value=c}},function(c){if(r.status==="pending"){var p=r;p.status="rejected",p.reason=c}})}switch(r.status){case"fulfilled":return r.value;case"rejected":throw n=r.reason,x4(n),n}throw Hs=r,kl}}function Ps(n){try{var r=n._init;return r(n._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Hs=l,kl):l}}var Hs=null;function w4(){if(Hs===null)throw Error(i(459));var n=Hs;return Hs=null,n}function x4(n){if(n===kl||n===Iu)throw Error(i(483))}var _l=null,Jo=0;function Nu(n){var r=Jo;return Jo+=1,_l===null&&(_l=[]),C4(_l,n,r)}function Ko(n,r){r=r.props.ref,n.ref=r!==void 0?r:null}function Du(n,r){throw r.$$typeof===C?Error(i(525)):(n=Object.prototype.toString.call(r),Error(i(31,n==="[object Object]"?"object with keys {"+Object.keys(r).join(", ")+"}":n)))}function T4(n){function r(ee,J){if(n){var ae=ee.deletions;ae===null?(ee.deletions=[J],ee.flags|=16):ae.push(J)}}function l(ee,J){if(!n)return null;for(;J!==null;)r(ee,J),J=J.sibling;return null}function c(ee){for(var J=new Map;ee!==null;)ee.key!==null?J.set(ee.key,ee):J.set(ee.index,ee),ee=ee.sibling;return J}function p(ee,J){return ee=pi(ee,J),ee.index=0,ee.sibling=null,ee}function v(ee,J,ae){return ee.index=ae,n?(ae=ee.alternate,ae!==null?(ae=ae.index,ae<J?(ee.flags|=67108866,J):ae):(ee.flags|=67108866,J)):(ee.flags|=1048576,J)}function w(ee){return n&&ee.alternate===null&&(ee.flags|=67108866),ee}function z(ee,J,ae,de){return J===null||J.tag!==6?(J=fd(ae,ee.mode,de),J.return=ee,J):(J=p(J,ae),J.return=ee,J)}function Y(ee,J,ae,de){var Be=ae.type;return Be===M?ue(ee,J,ae.props.children,de,ae.key):J!==null&&(J.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===E&&Ps(Be)===J.type)?(J=p(J,ae.props),Ko(J,ae),J.return=ee,J):(J=wu(ae.type,ae.key,ae.props,null,ee.mode,de),Ko(J,ae),J.return=ee,J)}function re(ee,J,ae,de){return J===null||J.tag!==4||J.stateNode.containerInfo!==ae.containerInfo||J.stateNode.implementation!==ae.implementation?(J=dd(ae,ee.mode,de),J.return=ee,J):(J=p(J,ae.children||[]),J.return=ee,J)}function ue(ee,J,ae,de,Be){return J===null||J.tag!==7?(J=ks(ae,ee.mode,de,Be),J.return=ee,J):(J=p(J,ae),J.return=ee,J)}function me(ee,J,ae){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return J=fd(""+J,ee.mode,ae),J.return=ee,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case A:return ae=wu(J.type,J.key,J.props,null,ee.mode,ae),Ko(ae,J),ae.return=ee,ae;case I:return J=dd(J,ee.mode,ae),J.return=ee,J;case E:return J=Ps(J),me(ee,J,ae)}if(V(J)||_(J))return J=ks(J,ee.mode,ae,null),J.return=ee,J;if(typeof J.then=="function")return me(ee,Nu(J),ae);if(J.$$typeof===j)return me(ee,Ou(ee,J),ae);Du(ee,J)}return null}function ie(ee,J,ae,de){var Be=J!==null?J.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return Be!==null?null:z(ee,J,""+ae,de);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case A:return ae.key===Be?Y(ee,J,ae,de):null;case I:return ae.key===Be?re(ee,J,ae,de):null;case E:return ae=Ps(ae),ie(ee,J,ae,de)}if(V(ae)||_(ae))return Be!==null?null:ue(ee,J,ae,de,null);if(typeof ae.then=="function")return ie(ee,J,Nu(ae),de);if(ae.$$typeof===j)return ie(ee,J,Ou(ee,ae),de);Du(ee,ae)}return null}function ce(ee,J,ae,de,Be){if(typeof de=="string"&&de!==""||typeof de=="number"||typeof de=="bigint")return ee=ee.get(ae)||null,z(J,ee,""+de,Be);if(typeof de=="object"&&de!==null){switch(de.$$typeof){case A:return ee=ee.get(de.key===null?ae:de.key)||null,Y(J,ee,de,Be);case I:return ee=ee.get(de.key===null?ae:de.key)||null,re(J,ee,de,Be);case E:return de=Ps(de),ce(ee,J,ae,de,Be)}if(V(de)||_(de))return ee=ee.get(ae)||null,ue(J,ee,de,Be,null);if(typeof de.then=="function")return ce(ee,J,ae,Nu(de),Be);if(de.$$typeof===j)return ce(ee,J,ae,Ou(J,de),Be);Du(J,de)}return null}function Me(ee,J,ae,de){for(var Be=null,jt=null,_e=J,ht=J=0,xt=null;_e!==null&&ht<ae.length;ht++){_e.index>ht?(xt=_e,_e=null):xt=_e.sibling;var Lt=ie(ee,_e,ae[ht],de);if(Lt===null){_e===null&&(_e=xt);break}n&&_e&&Lt.alternate===null&&r(ee,_e),J=v(Lt,J,ht),jt===null?Be=Lt:jt.sibling=Lt,jt=Lt,_e=xt}if(ht===ae.length)return l(ee,_e),It&&gi(ee,ht),Be;if(_e===null){for(;ht<ae.length;ht++)_e=me(ee,ae[ht],de),_e!==null&&(J=v(_e,J,ht),jt===null?Be=_e:jt.sibling=_e,jt=_e);return It&&gi(ee,ht),Be}for(_e=c(_e);ht<ae.length;ht++)xt=ce(_e,ee,ht,ae[ht],de),xt!==null&&(n&&xt.alternate!==null&&_e.delete(xt.key===null?ht:xt.key),J=v(xt,J,ht),jt===null?Be=xt:jt.sibling=xt,jt=xt);return n&&_e.forEach(function(ms){return r(ee,ms)}),It&&gi(ee,ht),Be}function Ze(ee,J,ae,de){if(ae==null)throw Error(i(151));for(var Be=null,jt=null,_e=J,ht=J=0,xt=null,Lt=ae.next();_e!==null&&!Lt.done;ht++,Lt=ae.next()){_e.index>ht?(xt=_e,_e=null):xt=_e.sibling;var ms=ie(ee,_e,Lt.value,de);if(ms===null){_e===null&&(_e=xt);break}n&&_e&&ms.alternate===null&&r(ee,_e),J=v(ms,J,ht),jt===null?Be=ms:jt.sibling=ms,jt=ms,_e=xt}if(Lt.done)return l(ee,_e),It&&gi(ee,ht),Be;if(_e===null){for(;!Lt.done;ht++,Lt=ae.next())Lt=me(ee,Lt.value,de),Lt!==null&&(J=v(Lt,J,ht),jt===null?Be=Lt:jt.sibling=Lt,jt=Lt);return It&&gi(ee,ht),Be}for(_e=c(_e);!Lt.done;ht++,Lt=ae.next())Lt=ce(_e,ee,ht,Lt.value,de),Lt!==null&&(n&&Lt.alternate!==null&&_e.delete(Lt.key===null?ht:Lt.key),J=v(Lt,J,ht),jt===null?Be=Lt:jt.sibling=Lt,jt=Lt);return n&&_e.forEach(function(jO){return r(ee,jO)}),It&&gi(ee,ht),Be}function nn(ee,J,ae,de){if(typeof ae=="object"&&ae!==null&&ae.type===M&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case A:e:{for(var Be=ae.key;J!==null;){if(J.key===Be){if(Be=ae.type,Be===M){if(J.tag===7){l(ee,J.sibling),de=p(J,ae.props.children),de.return=ee,ee=de;break e}}else if(J.elementType===Be||typeof Be=="object"&&Be!==null&&Be.$$typeof===E&&Ps(Be)===J.type){l(ee,J.sibling),de=p(J,ae.props),Ko(de,ae),de.return=ee,ee=de;break e}l(ee,J);break}else r(ee,J);J=J.sibling}ae.type===M?(de=ks(ae.props.children,ee.mode,de,ae.key),de.return=ee,ee=de):(de=wu(ae.type,ae.key,ae.props,null,ee.mode,de),Ko(de,ae),de.return=ee,ee=de)}return w(ee);case I:e:{for(Be=ae.key;J!==null;){if(J.key===Be)if(J.tag===4&&J.stateNode.containerInfo===ae.containerInfo&&J.stateNode.implementation===ae.implementation){l(ee,J.sibling),de=p(J,ae.children||[]),de.return=ee,ee=de;break e}else{l(ee,J);break}else r(ee,J);J=J.sibling}de=dd(ae,ee.mode,de),de.return=ee,ee=de}return w(ee);case E:return ae=Ps(ae),nn(ee,J,ae,de)}if(V(ae))return Me(ee,J,ae,de);if(_(ae)){if(Be=_(ae),typeof Be!="function")throw Error(i(150));return ae=Be.call(ae),Ze(ee,J,ae,de)}if(typeof ae.then=="function")return nn(ee,J,Nu(ae),de);if(ae.$$typeof===j)return nn(ee,J,Ou(ee,ae),de);Du(ee,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint"?(ae=""+ae,J!==null&&J.tag===6?(l(ee,J.sibling),de=p(J,ae),de.return=ee,ee=de):(l(ee,J),de=fd(ae,ee.mode,de),de.return=ee,ee=de),w(ee)):l(ee,J)}return function(ee,J,ae,de){try{Jo=0;var Be=nn(ee,J,ae,de);return _l=null,Be}catch(_e){if(_e===kl||_e===Iu)throw _e;var jt=Ya(29,_e,null,ee.mode);return jt.lanes=de,jt.return=ee,jt}finally{}}}var Bs=T4(!0),O4=T4(!1),Ki=!1;function wd(n){n.updateQueue={baseState:n.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function xd(n,r){n=n.updateQueue,r.updateQueue===n&&(r.updateQueue={baseState:n.baseState,firstBaseUpdate:n.firstBaseUpdate,lastBaseUpdate:n.lastBaseUpdate,shared:n.shared,callbacks:null})}function Xi(n){return{lane:n,tag:0,payload:null,callback:null,next:null}}function $i(n,r,l){var c=n.updateQueue;if(c===null)return null;if(c=c.shared,(qt&2)!==0){var p=c.pending;return p===null?r.next=r:(r.next=p.next,p.next=r),c.pending=r,r=Cu(n),u4(n,null,l),r}return Au(n,c,r,l),Cu(n)}function Xo(n,r,l){if(r=r.updateQueue,r!==null&&(r=r.shared,(l&4194048)!==0)){var c=r.lanes;c&=n.pendingLanes,l|=c,r.lanes=l,qe(n,l)}}function Td(n,r){var l=n.updateQueue,c=n.alternate;if(c!==null&&(c=c.updateQueue,l===c)){var p=null,v=null;if(l=l.firstBaseUpdate,l!==null){do{var w={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};v===null?p=v=w:v=v.next=w,l=l.next}while(l!==null);v===null?p=v=r:v=v.next=r}else p=v=r;l={baseState:c.baseState,firstBaseUpdate:p,lastBaseUpdate:v,shared:c.shared,callbacks:c.callbacks},n.updateQueue=l;return}n=l.lastBaseUpdate,n===null?l.firstBaseUpdate=r:n.next=r,l.lastBaseUpdate=r}var Od=!1;function $o(){if(Od){var n=Ll;if(n!==null)throw n}}function ec(n,r,l,c){Od=!1;var p=n.updateQueue;Ki=!1;var v=p.firstBaseUpdate,w=p.lastBaseUpdate,z=p.shared.pending;if(z!==null){p.shared.pending=null;var Y=z,re=Y.next;Y.next=null,w===null?v=re:w.next=re,w=Y;var ue=n.alternate;ue!==null&&(ue=ue.updateQueue,z=ue.lastBaseUpdate,z!==w&&(z===null?ue.firstBaseUpdate=re:z.next=re,ue.lastBaseUpdate=Y))}if(v!==null){var me=p.baseState;w=0,ue=re=Y=null,z=v;do{var ie=z.lane&-536870913,ce=ie!==z.lane;if(ce?(wt&ie)===ie:(c&ie)===ie){ie!==0&&ie===jl&&(Od=!0),ue!==null&&(ue=ue.next={lane:0,tag:z.tag,payload:z.payload,callback:null,next:null});e:{var Me=n,Ze=z;ie=r;var nn=l;switch(Ze.tag){case 1:if(Me=Ze.payload,typeof Me=="function"){me=Me.call(nn,me,ie);break e}me=Me;break e;case 3:Me.flags=Me.flags&-65537|128;case 0:if(Me=Ze.payload,ie=typeof Me=="function"?Me.call(nn,me,ie):Me,ie==null)break e;me=b({},me,ie);break e;case 2:Ki=!0}}ie=z.callback,ie!==null&&(n.flags|=64,ce&&(n.flags|=8192),ce=p.callbacks,ce===null?p.callbacks=[ie]:ce.push(ie))}else ce={lane:ie,tag:z.tag,payload:z.payload,callback:z.callback,next:null},ue===null?(re=ue=ce,Y=me):ue=ue.next=ce,w|=ie;if(z=z.next,z===null){if(z=p.shared.pending,z===null)break;ce=z,z=ce.next,ce.next=null,p.lastBaseUpdate=ce,p.shared.pending=null}}while(!0);ue===null&&(Y=me),p.baseState=Y,p.firstBaseUpdate=re,p.lastBaseUpdate=ue,v===null&&(p.shared.lanes=0),rs|=w,n.lanes=w,n.memoizedState=me}}function R4(n,r){if(typeof n!="function")throw Error(i(191,n));n.call(r)}function I4(n,r){var l=n.callbacks;if(l!==null)for(n.callbacks=null,n=0;n<l.length;n++)R4(l[n],r)}var zl=B(null),ju=B(0);function M4(n,r){n=Oi,le(ju,n),le(zl,r),Oi=n|r.baseLanes}function Rd(){le(ju,Oi),le(zl,zl.current)}function Id(){Oi=ju.current,K(zl),K(ju)}var Wa=B(null),fr=null;function es(n){var r=n.alternate;le(kn,kn.current&1),le(Wa,n),fr===null&&(r===null||zl.current!==null||r.memoizedState!==null)&&(fr=n)}function Md(n){le(kn,kn.current),le(Wa,n),fr===null&&(fr=n)}function N4(n){n.tag===22?(le(kn,kn.current),le(Wa,n),fr===null&&(fr=n)):ts()}function ts(){le(kn,kn.current),le(Wa,Wa.current)}function Qa(n){K(Wa),fr===n&&(fr=null),K(kn)}var kn=B(0);function Lu(n){for(var r=n;r!==null;){if(r.tag===13){var l=r.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||_0(l)||z0(l)))return r}else if(r.tag===19&&(r.memoizedProps.revealOrder==="forwards"||r.memoizedProps.revealOrder==="backwards"||r.memoizedProps.revealOrder==="unstable_legacy-backwards"||r.memoizedProps.revealOrder==="together")){if((r.flags&128)!==0)return r}else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var bi=0,ct=null,en=null,Gn=null,ku=!1,ql=!1,Fs=!1,_u=0,tc=0,Ul=null,CT=0;function wn(){throw Error(i(321))}function Nd(n,r){if(r===null)return!1;for(var l=0;l<r.length&&l<n.length;l++)if(!Za(n[l],r[l]))return!1;return!0}function Dd(n,r,l,c,p,v){return bi=v,ct=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,D.H=n===null||n.memoizedState===null?mg:Yd,Fs=!1,v=l(c,p),Fs=!1,ql&&(v=j4(r,l,c,p)),D4(n),v}function D4(n){D.H=rc;var r=en!==null&&en.next!==null;if(bi=0,Gn=en=ct=null,ku=!1,tc=0,Ul=null,r)throw Error(i(300));n===null||Zn||(n=n.dependencies,n!==null&&Tu(n)&&(Zn=!0))}function j4(n,r,l,c){ct=n;var p=0;do{if(ql&&(Ul=null),tc=0,ql=!1,25<=p)throw Error(i(301));if(p+=1,Gn=en=null,n.updateQueue!=null){var v=n.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}D.H=pg,v=r(l,c)}while(ql);return v}function wT(){var n=D.H,r=n.useState()[0];return r=typeof r.then=="function"?nc(r):r,n=n.useState()[0],(en!==null?en.memoizedState:null)!==n&&(ct.flags|=1024),r}function jd(){var n=_u!==0;return _u=0,n}function Ld(n,r,l){r.updateQueue=n.updateQueue,r.flags&=-2053,n.lanes&=~l}function kd(n){if(ku){for(n=n.memoizedState;n!==null;){var r=n.queue;r!==null&&(r.pending=null),n=n.next}ku=!1}bi=0,Gn=en=ct=null,ql=!1,tc=_u=0,Ul=null}function wa(){var n={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Gn===null?ct.memoizedState=Gn=n:Gn=Gn.next=n,Gn}function _n(){if(en===null){var n=ct.alternate;n=n!==null?n.memoizedState:null}else n=en.next;var r=Gn===null?ct.memoizedState:Gn.next;if(r!==null)Gn=r,en=n;else{if(n===null)throw ct.alternate===null?Error(i(467)):Error(i(310));en=n,n={memoizedState:en.memoizedState,baseState:en.baseState,baseQueue:en.baseQueue,queue:en.queue,next:null},Gn===null?ct.memoizedState=Gn=n:Gn=Gn.next=n}return Gn}function zu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function nc(n){var r=tc;return tc+=1,Ul===null&&(Ul=[]),n=C4(Ul,n,r),r=ct,(Gn===null?r.memoizedState:Gn.next)===null&&(r=r.alternate,D.H=r===null||r.memoizedState===null?mg:Yd),n}function qu(n){if(n!==null&&typeof n=="object"){if(typeof n.then=="function")return nc(n);if(n.$$typeof===j)return ha(n)}throw Error(i(438,String(n)))}function _d(n){var r=null,l=ct.updateQueue;if(l!==null&&(r=l.memoCache),r==null){var c=ct.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(r={data:c.data.map(function(p){return p.slice()}),index:0})))}if(r==null&&(r={data:[],index:0}),l===null&&(l=zu(),ct.updateQueue=l),l.memoCache=r,l=r.data[r.index],l===void 0)for(l=r.data[r.index]=Array(n),c=0;c<n;c++)l[c]=N;return r.index++,l}function Si(n,r){return typeof r=="function"?r(n):r}function Uu(n){var r=_n();return zd(r,en,n)}function zd(n,r,l){var c=n.queue;if(c===null)throw Error(i(311));c.lastRenderedReducer=l;var p=n.baseQueue,v=c.pending;if(v!==null){if(p!==null){var w=p.next;p.next=v.next,v.next=w}r.baseQueue=p=v,c.pending=null}if(v=n.baseState,p===null)n.memoizedState=v;else{r=p.next;var z=w=null,Y=null,re=r,ue=!1;do{var me=re.lane&-536870913;if(me!==re.lane?(wt&me)===me:(bi&me)===me){var ie=re.revertLane;if(ie===0)Y!==null&&(Y=Y.next={lane:0,revertLane:0,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null}),me===jl&&(ue=!0);else if((bi&ie)===ie){re=re.next,ie===jl&&(ue=!0);continue}else me={lane:0,revertLane:re.revertLane,gesture:null,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},Y===null?(z=Y=me,w=v):Y=Y.next=me,ct.lanes|=ie,rs|=ie;me=re.action,Fs&&l(v,me),v=re.hasEagerState?re.eagerState:l(v,me)}else ie={lane:me,revertLane:re.revertLane,gesture:re.gesture,action:re.action,hasEagerState:re.hasEagerState,eagerState:re.eagerState,next:null},Y===null?(z=Y=ie,w=v):Y=Y.next=ie,ct.lanes|=me,rs|=me;re=re.next}while(re!==null&&re!==r);if(Y===null?w=v:Y.next=z,!Za(v,n.memoizedState)&&(Zn=!0,ue&&(l=Ll,l!==null)))throw l;n.memoizedState=v,n.baseState=w,n.baseQueue=Y,c.lastRenderedState=v}return p===null&&(c.lanes=0),[n.memoizedState,c.dispatch]}function qd(n){var r=_n(),l=r.queue;if(l===null)throw Error(i(311));l.lastRenderedReducer=n;var c=l.dispatch,p=l.pending,v=r.memoizedState;if(p!==null){l.pending=null;var w=p=p.next;do v=n(v,w.action),w=w.next;while(w!==p);Za(v,r.memoizedState)||(Zn=!0),r.memoizedState=v,r.baseQueue===null&&(r.baseState=v),l.lastRenderedState=v}return[v,c]}function L4(n,r,l){var c=ct,p=_n(),v=It;if(v){if(l===void 0)throw Error(i(407));l=l()}else l=r();var w=!Za((en||p).memoizedState,l);if(w&&(p.memoizedState=l,Zn=!0),p=p.queue,Hd(z4.bind(null,c,p,n),[n]),p.getSnapshot!==r||w||Gn!==null&&Gn.memoizedState.tag&1){if(c.flags|=2048,Pl(9,{destroy:void 0},_4.bind(null,c,p,l,r),null),rn===null)throw Error(i(349));v||(bi&127)!==0||k4(c,r,l)}return l}function k4(n,r,l){n.flags|=16384,n={getSnapshot:r,value:l},r=ct.updateQueue,r===null?(r=zu(),ct.updateQueue=r,r.stores=[n]):(l=r.stores,l===null?r.stores=[n]:l.push(n))}function _4(n,r,l,c){r.value=l,r.getSnapshot=c,q4(r)&&U4(n)}function z4(n,r,l){return l(function(){q4(r)&&U4(n)})}function q4(n){var r=n.getSnapshot;n=n.value;try{var l=r();return!Za(n,l)}catch{return!0}}function U4(n){var r=Ls(n,2);r!==null&&za(r,n,2)}function Ud(n){var r=wa();if(typeof n=="function"){var l=n;if(n=l(),Fs){st(!0);try{l()}finally{st(!1)}}}return r.memoizedState=r.baseState=n,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:n},r}function P4(n,r,l,c){return n.baseState=l,zd(n,en,typeof c=="function"?c:Si)}function xT(n,r,l,c,p){if(Bu(n))throw Error(i(485));if(n=r.action,n!==null){var v={payload:p,action:n,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(w){v.listeners.push(w)}};D.T!==null?l(!0):v.isTransition=!1,c(v),l=r.pending,l===null?(v.next=r.pending=v,H4(r,v)):(v.next=l.next,r.pending=l.next=v)}}function H4(n,r){var l=r.action,c=r.payload,p=n.state;if(r.isTransition){var v=D.T,w={};D.T=w;try{var z=l(p,c),Y=D.S;Y!==null&&Y(w,z),B4(n,r,z)}catch(re){Pd(n,r,re)}finally{v!==null&&w.types!==null&&(v.types=w.types),D.T=v}}else try{v=l(p,c),B4(n,r,v)}catch(re){Pd(n,r,re)}}function B4(n,r,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(c){F4(n,r,c)},function(c){return Pd(n,r,c)}):F4(n,r,l)}function F4(n,r,l){r.status="fulfilled",r.value=l,V4(r),n.state=l,r=n.pending,r!==null&&(l=r.next,l===r?n.pending=null:(l=l.next,r.next=l,H4(n,l)))}function Pd(n,r,l){var c=n.pending;if(n.pending=null,c!==null){c=c.next;do r.status="rejected",r.reason=l,V4(r),r=r.next;while(r!==c)}n.action=null}function V4(n){n=n.listeners;for(var r=0;r<n.length;r++)(0,n[r])()}function G4(n,r){return r}function Z4(n,r){if(It){var l=rn.formState;if(l!==null){e:{var c=ct;if(It){if(cn){t:{for(var p=cn,v=ur;p.nodeType!==8;){if(!v){p=null;break t}if(p=dr(p.nextSibling),p===null){p=null;break t}}v=p.data,p=v==="F!"||v==="F"?p:null}if(p){cn=dr(p.nextSibling),c=p.data==="F!";break e}}Qi(c)}c=!1}c&&(r=l[0])}}return l=wa(),l.memoizedState=l.baseState=r,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:G4,lastRenderedState:r},l.queue=c,l=fg.bind(null,ct,c),c.dispatch=l,c=Ud(!1),v=Zd.bind(null,ct,!1,c.queue),c=wa(),p={state:r,dispatch:null,action:n,pending:null},c.queue=p,l=xT.bind(null,ct,p,v,l),p.dispatch=l,c.memoizedState=n,[r,l,!1]}function Y4(n){var r=_n();return W4(r,en,n)}function W4(n,r,l){if(r=zd(n,r,G4)[0],n=Uu(Si)[0],typeof r=="object"&&r!==null&&typeof r.then=="function")try{var c=nc(r)}catch(w){throw w===kl?Iu:w}else c=r;r=_n();var p=r.queue,v=p.dispatch;return l!==r.memoizedState&&(ct.flags|=2048,Pl(9,{destroy:void 0},TT.bind(null,p,l),null)),[c,v,n]}function TT(n,r){n.action=r}function Q4(n){var r=_n(),l=en;if(l!==null)return W4(r,l,n);_n(),r=r.memoizedState,l=_n();var c=l.queue.dispatch;return l.memoizedState=n,[r,c,!1]}function Pl(n,r,l,c){return n={tag:n,create:l,deps:c,inst:r,next:null},r=ct.updateQueue,r===null&&(r=zu(),ct.updateQueue=r),l=r.lastEffect,l===null?r.lastEffect=n.next=n:(c=l.next,l.next=n,n.next=c,r.lastEffect=n),n}function J4(){return _n().memoizedState}function Pu(n,r,l,c){var p=wa();ct.flags|=n,p.memoizedState=Pl(1|r,{destroy:void 0},l,c===void 0?null:c)}function Hu(n,r,l,c){var p=_n();c=c===void 0?null:c;var v=p.memoizedState.inst;en!==null&&c!==null&&Nd(c,en.memoizedState.deps)?p.memoizedState=Pl(r,v,l,c):(ct.flags|=n,p.memoizedState=Pl(1|r,v,l,c))}function K4(n,r){Pu(8390656,8,n,r)}function Hd(n,r){Hu(2048,8,n,r)}function OT(n){ct.flags|=4;var r=ct.updateQueue;if(r===null)r=zu(),ct.updateQueue=r,r.events=[n];else{var l=r.events;l===null?r.events=[n]:l.push(n)}}function X4(n){var r=_n().memoizedState;return OT({ref:r,nextImpl:n}),function(){if((qt&2)!==0)throw Error(i(440));return r.impl.apply(void 0,arguments)}}function $4(n,r){return Hu(4,2,n,r)}function eg(n,r){return Hu(4,4,n,r)}function tg(n,r){if(typeof r=="function"){n=n();var l=r(n);return function(){typeof l=="function"?l():r(null)}}if(r!=null)return n=n(),r.current=n,function(){r.current=null}}function ng(n,r,l){l=l!=null?l.concat([n]):null,Hu(4,4,tg.bind(null,r,n),l)}function Bd(){}function ag(n,r){var l=_n();r=r===void 0?null:r;var c=l.memoizedState;return r!==null&&Nd(r,c[1])?c[0]:(l.memoizedState=[n,r],n)}function rg(n,r){var l=_n();r=r===void 0?null:r;var c=l.memoizedState;if(r!==null&&Nd(r,c[1]))return c[0];if(c=n(),Fs){st(!0);try{n()}finally{st(!1)}}return l.memoizedState=[c,r],c}function Fd(n,r,l){return l===void 0||(bi&1073741824)!==0&&(wt&261930)===0?n.memoizedState=r:(n.memoizedState=l,n=i8(),ct.lanes|=n,rs|=n,l)}function ig(n,r,l,c){return Za(l,r)?l:zl.current!==null?(n=Fd(n,l,c),Za(n,r)||(Zn=!0),n):(bi&42)===0||(bi&1073741824)!==0&&(wt&261930)===0?(Zn=!0,n.memoizedState=l):(n=i8(),ct.lanes|=n,rs|=n,r)}function sg(n,r,l,c,p){var v=H.p;H.p=v!==0&&8>v?v:8;var w=D.T,z={};D.T=z,Zd(n,!1,r,l);try{var Y=p(),re=D.S;if(re!==null&&re(z,Y),Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var ue=AT(Y,c);ac(n,r,ue,Xa(n))}else ac(n,r,c,Xa(n))}catch(me){ac(n,r,{then:function(){},status:"rejected",reason:me},Xa())}finally{H.p=v,w!==null&&z.types!==null&&(w.types=z.types),D.T=w}}function RT(){}function Vd(n,r,l,c){if(n.tag!==5)throw Error(i(476));var p=lg(n).queue;sg(n,p,r,k,l===null?RT:function(){return og(n),l(c)})}function lg(n){var r=n.memoizedState;if(r!==null)return r;r={memoizedState:k,baseState:k,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:k},next:null};var l={};return r.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Si,lastRenderedState:l},next:null},n.memoizedState=r,n=n.alternate,n!==null&&(n.memoizedState=r),r}function og(n){var r=lg(n);r.next===null&&(r=n.alternate.memoizedState),ac(n,r.next.queue,{},Xa())}function Gd(){return ha(Sc)}function cg(){return _n().memoizedState}function ug(){return _n().memoizedState}function IT(n){for(var r=n.return;r!==null;){switch(r.tag){case 24:case 3:var l=Xa();n=Xi(l);var c=$i(r,n,l);c!==null&&(za(c,r,l),Xo(c,r,l)),r={cache:Sd()},n.payload=r;return}r=r.return}}function MT(n,r,l){var c=Xa();l={lane:c,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},Bu(n)?dg(r,l):(l=cd(n,r,l,c),l!==null&&(za(l,n,c),hg(l,r,c)))}function fg(n,r,l){var c=Xa();ac(n,r,l,c)}function ac(n,r,l,c){var p={lane:c,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(Bu(n))dg(r,p);else{var v=n.alternate;if(n.lanes===0&&(v===null||v.lanes===0)&&(v=r.lastRenderedReducer,v!==null))try{var w=r.lastRenderedState,z=v(w,l);if(p.hasEagerState=!0,p.eagerState=z,Za(z,w))return Au(n,r,p,0),rn===null&&Eu(),!1}catch{}finally{}if(l=cd(n,r,p,c),l!==null)return za(l,n,c),hg(l,r,c),!0}return!1}function Zd(n,r,l,c){if(c={lane:2,revertLane:w0(),gesture:null,action:c,hasEagerState:!1,eagerState:null,next:null},Bu(n)){if(r)throw Error(i(479))}else r=cd(n,l,c,2),r!==null&&za(r,n,2)}function Bu(n){var r=n.alternate;return n===ct||r!==null&&r===ct}function dg(n,r){ql=ku=!0;var l=n.pending;l===null?r.next=r:(r.next=l.next,l.next=r),n.pending=r}function hg(n,r,l){if((l&4194048)!==0){var c=r.lanes;c&=n.pendingLanes,l|=c,r.lanes=l,qe(n,l)}}var rc={readContext:ha,use:qu,useCallback:wn,useContext:wn,useEffect:wn,useImperativeHandle:wn,useLayoutEffect:wn,useInsertionEffect:wn,useMemo:wn,useReducer:wn,useRef:wn,useState:wn,useDebugValue:wn,useDeferredValue:wn,useTransition:wn,useSyncExternalStore:wn,useId:wn,useHostTransitionStatus:wn,useFormState:wn,useActionState:wn,useOptimistic:wn,useMemoCache:wn,useCacheRefresh:wn};rc.useEffectEvent=wn;var mg={readContext:ha,use:qu,useCallback:function(n,r){return wa().memoizedState=[n,r===void 0?null:r],n},useContext:ha,useEffect:K4,useImperativeHandle:function(n,r,l){l=l!=null?l.concat([n]):null,Pu(4194308,4,tg.bind(null,r,n),l)},useLayoutEffect:function(n,r){return Pu(4194308,4,n,r)},useInsertionEffect:function(n,r){Pu(4,2,n,r)},useMemo:function(n,r){var l=wa();r=r===void 0?null:r;var c=n();if(Fs){st(!0);try{n()}finally{st(!1)}}return l.memoizedState=[c,r],c},useReducer:function(n,r,l){var c=wa();if(l!==void 0){var p=l(r);if(Fs){st(!0);try{l(r)}finally{st(!1)}}}else p=r;return c.memoizedState=c.baseState=p,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:n,lastRenderedState:p},c.queue=n,n=n.dispatch=MT.bind(null,ct,n),[c.memoizedState,n]},useRef:function(n){var r=wa();return n={current:n},r.memoizedState=n},useState:function(n){n=Ud(n);var r=n.queue,l=fg.bind(null,ct,r);return r.dispatch=l,[n.memoizedState,l]},useDebugValue:Bd,useDeferredValue:function(n,r){var l=wa();return Fd(l,n,r)},useTransition:function(){var n=Ud(!1);return n=sg.bind(null,ct,n.queue,!0,!1),wa().memoizedState=n,[!1,n]},useSyncExternalStore:function(n,r,l){var c=ct,p=wa();if(It){if(l===void 0)throw Error(i(407));l=l()}else{if(l=r(),rn===null)throw Error(i(349));(wt&127)!==0||k4(c,r,l)}p.memoizedState=l;var v={value:l,getSnapshot:r};return p.queue=v,K4(z4.bind(null,c,v,n),[n]),c.flags|=2048,Pl(9,{destroy:void 0},_4.bind(null,c,v,l,r),null),l},useId:function(){var n=wa(),r=rn.identifierPrefix;if(It){var l=Jr,c=Qr;l=(c&~(1<<32-Ft(c)-1)).toString(32)+l,r="_"+r+"R_"+l,l=_u++,0<l&&(r+="H"+l.toString(32)),r+="_"}else l=CT++,r="_"+r+"r_"+l.toString(32)+"_";return n.memoizedState=r},useHostTransitionStatus:Gd,useFormState:Z4,useActionState:Z4,useOptimistic:function(n){var r=wa();r.memoizedState=r.baseState=n;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=l,r=Zd.bind(null,ct,!0,l),l.dispatch=r,[n,r]},useMemoCache:_d,useCacheRefresh:function(){return wa().memoizedState=IT.bind(null,ct)},useEffectEvent:function(n){var r=wa(),l={impl:n};return r.memoizedState=l,function(){if((qt&2)!==0)throw Error(i(440));return l.impl.apply(void 0,arguments)}}},Yd={readContext:ha,use:qu,useCallback:ag,useContext:ha,useEffect:Hd,useImperativeHandle:ng,useInsertionEffect:$4,useLayoutEffect:eg,useMemo:rg,useReducer:Uu,useRef:J4,useState:function(){return Uu(Si)},useDebugValue:Bd,useDeferredValue:function(n,r){var l=_n();return ig(l,en.memoizedState,n,r)},useTransition:function(){var n=Uu(Si)[0],r=_n().memoizedState;return[typeof n=="boolean"?n:nc(n),r]},useSyncExternalStore:L4,useId:cg,useHostTransitionStatus:Gd,useFormState:Y4,useActionState:Y4,useOptimistic:function(n,r){var l=_n();return P4(l,en,n,r)},useMemoCache:_d,useCacheRefresh:ug};Yd.useEffectEvent=X4;var pg={readContext:ha,use:qu,useCallback:ag,useContext:ha,useEffect:Hd,useImperativeHandle:ng,useInsertionEffect:$4,useLayoutEffect:eg,useMemo:rg,useReducer:qd,useRef:J4,useState:function(){return qd(Si)},useDebugValue:Bd,useDeferredValue:function(n,r){var l=_n();return en===null?Fd(l,n,r):ig(l,en.memoizedState,n,r)},useTransition:function(){var n=qd(Si)[0],r=_n().memoizedState;return[typeof n=="boolean"?n:nc(n),r]},useSyncExternalStore:L4,useId:cg,useHostTransitionStatus:Gd,useFormState:Q4,useActionState:Q4,useOptimistic:function(n,r){var l=_n();return en!==null?P4(l,en,n,r):(l.baseState=n,[n,l.queue.dispatch])},useMemoCache:_d,useCacheRefresh:ug};pg.useEffectEvent=X4;function Wd(n,r,l,c){r=n.memoizedState,l=l(c,r),l=l==null?r:b({},r,l),n.memoizedState=l,n.lanes===0&&(n.updateQueue.baseState=l)}var Qd={enqueueSetState:function(n,r,l){n=n._reactInternals;var c=Xa(),p=Xi(c);p.payload=r,l!=null&&(p.callback=l),r=$i(n,p,c),r!==null&&(za(r,n,c),Xo(r,n,c))},enqueueReplaceState:function(n,r,l){n=n._reactInternals;var c=Xa(),p=Xi(c);p.tag=1,p.payload=r,l!=null&&(p.callback=l),r=$i(n,p,c),r!==null&&(za(r,n,c),Xo(r,n,c))},enqueueForceUpdate:function(n,r){n=n._reactInternals;var l=Xa(),c=Xi(l);c.tag=2,r!=null&&(c.callback=r),r=$i(n,c,l),r!==null&&(za(r,n,l),Xo(r,n,l))}};function gg(n,r,l,c,p,v,w){return n=n.stateNode,typeof n.shouldComponentUpdate=="function"?n.shouldComponentUpdate(c,v,w):r.prototype&&r.prototype.isPureReactComponent?!Vo(l,c)||!Vo(p,v):!0}function vg(n,r,l,c){n=r.state,typeof r.componentWillReceiveProps=="function"&&r.componentWillReceiveProps(l,c),typeof r.UNSAFE_componentWillReceiveProps=="function"&&r.UNSAFE_componentWillReceiveProps(l,c),r.state!==n&&Qd.enqueueReplaceState(r,r.state,null)}function Vs(n,r){var l=r;if("ref"in r){l={};for(var c in r)c!=="ref"&&(l[c]=r[c])}if(n=n.defaultProps){l===r&&(l=b({},l));for(var p in n)l[p]===void 0&&(l[p]=n[p])}return l}function yg(n){Su(n)}function bg(n){console.error(n)}function Sg(n){Su(n)}function Fu(n,r){try{var l=n.onUncaughtError;l(r.value,{componentStack:r.stack})}catch(c){setTimeout(function(){throw c})}}function Eg(n,r,l){try{var c=n.onCaughtError;c(l.value,{componentStack:l.stack,errorBoundary:r.tag===1?r.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function Jd(n,r,l){return l=Xi(l),l.tag=3,l.payload={element:null},l.callback=function(){Fu(n,r)},l}function Ag(n){return n=Xi(n),n.tag=3,n}function Cg(n,r,l,c){var p=l.type.getDerivedStateFromError;if(typeof p=="function"){var v=c.value;n.payload=function(){return p(v)},n.callback=function(){Eg(r,l,c)}}var w=l.stateNode;w!==null&&typeof w.componentDidCatch=="function"&&(n.callback=function(){Eg(r,l,c),typeof p!="function"&&(is===null?is=new Set([this]):is.add(this));var z=c.stack;this.componentDidCatch(c.value,{componentStack:z!==null?z:""})})}function NT(n,r,l,c,p){if(l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(r=l.alternate,r!==null&&Dl(r,l,p,!0),l=Wa.current,l!==null){switch(l.tag){case 31:case 13:return fr===null?t1():l.alternate===null&&xn===0&&(xn=3),l.flags&=-257,l.flags|=65536,l.lanes=p,c===Mu?l.flags|=16384:(r=l.updateQueue,r===null?l.updateQueue=new Set([c]):r.add(c),E0(n,c,p)),!1;case 22:return l.flags|=65536,c===Mu?l.flags|=16384:(r=l.updateQueue,r===null?(r={transitions:null,markerInstances:null,retryQueue:new Set([c])},l.updateQueue=r):(l=r.retryQueue,l===null?r.retryQueue=new Set([c]):l.add(c)),E0(n,c,p)),!1}throw Error(i(435,l.tag))}return E0(n,c,p),t1(),!1}if(It)return r=Wa.current,r!==null?((r.flags&65536)===0&&(r.flags|=256),r.flags|=65536,r.lanes=p,c!==pd&&(n=Error(i(422),{cause:c}),Yo(lr(n,l)))):(c!==pd&&(r=Error(i(423),{cause:c}),Yo(lr(r,l))),n=n.current.alternate,n.flags|=65536,p&=-p,n.lanes|=p,c=lr(c,l),p=Jd(n.stateNode,c,p),Td(n,p),xn!==4&&(xn=2)),!1;var v=Error(i(520),{cause:c});if(v=lr(v,l),dc===null?dc=[v]:dc.push(v),xn!==4&&(xn=2),r===null)return!0;c=lr(c,l),l=r;do{switch(l.tag){case 3:return l.flags|=65536,n=p&-p,l.lanes|=n,n=Jd(l.stateNode,c,n),Td(l,n),!1;case 1:if(r=l.type,v=l.stateNode,(l.flags&128)===0&&(typeof r.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(is===null||!is.has(v))))return l.flags|=65536,p&=-p,l.lanes|=p,p=Ag(p),Cg(p,n,l,c),Td(l,p),!1}l=l.return}while(l!==null);return!1}var Kd=Error(i(461)),Zn=!1;function ma(n,r,l,c){r.child=n===null?O4(r,null,l,c):Bs(r,n.child,l,c)}function wg(n,r,l,c,p){l=l.render;var v=r.ref;if("ref"in c){var w={};for(var z in c)z!=="ref"&&(w[z]=c[z])}else w=c;return qs(r),c=Dd(n,r,l,w,v,p),z=jd(),n!==null&&!Zn?(Ld(n,r,p),Ei(n,r,p)):(It&&z&&hd(r),r.flags|=1,ma(n,r,c,p),r.child)}function xg(n,r,l,c,p){if(n===null){var v=l.type;return typeof v=="function"&&!ud(v)&&v.defaultProps===void 0&&l.compare===null?(r.tag=15,r.type=v,Tg(n,r,v,c,p)):(n=wu(l.type,null,c,r,r.mode,p),n.ref=r.ref,n.return=r,r.child=n)}if(v=n.child,!i0(n,p)){var w=v.memoizedProps;if(l=l.compare,l=l!==null?l:Vo,l(w,c)&&n.ref===r.ref)return Ei(n,r,p)}return r.flags|=1,n=pi(v,c),n.ref=r.ref,n.return=r,r.child=n}function Tg(n,r,l,c,p){if(n!==null){var v=n.memoizedProps;if(Vo(v,c)&&n.ref===r.ref)if(Zn=!1,r.pendingProps=c=v,i0(n,p))(n.flags&131072)!==0&&(Zn=!0);else return r.lanes=n.lanes,Ei(n,r,p)}return Xd(n,r,l,c,p)}function Og(n,r,l,c){var p=c.children,v=n!==null?n.memoizedState:null;if(n===null&&r.stateNode===null&&(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),c.mode==="hidden"){if((r.flags&128)!==0){if(v=v!==null?v.baseLanes|l:l,n!==null){for(c=r.child=n.child,p=0;c!==null;)p=p|c.lanes|c.childLanes,c=c.sibling;c=p&~v}else c=0,r.child=null;return Rg(n,r,v,l,c)}if((l&536870912)!==0)r.memoizedState={baseLanes:0,cachePool:null},n!==null&&Ru(r,v!==null?v.cachePool:null),v!==null?M4(r,v):Rd(),N4(r);else return c=r.lanes=536870912,Rg(n,r,v!==null?v.baseLanes|l:l,l,c)}else v!==null?(Ru(r,v.cachePool),M4(r,v),ts(),r.memoizedState=null):(n!==null&&Ru(r,null),Rd(),ts());return ma(n,r,p,l),r.child}function ic(n,r){return n!==null&&n.tag===22||r.stateNode!==null||(r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.sibling}function Rg(n,r,l,c,p){var v=Ad();return v=v===null?null:{parent:Vn._currentValue,pool:v},r.memoizedState={baseLanes:l,cachePool:v},n!==null&&Ru(r,null),Rd(),N4(r),n!==null&&Dl(n,r,c,!0),r.childLanes=p,null}function Vu(n,r){return r=Zu({mode:r.mode,children:r.children},n.mode),r.ref=n.ref,n.child=r,r.return=n,r}function Ig(n,r,l){return Bs(r,n.child,null,l),n=Vu(r,r.pendingProps),n.flags|=2,Qa(r),r.memoizedState=null,n}function DT(n,r,l){var c=r.pendingProps,p=(r.flags&128)!==0;if(r.flags&=-129,n===null){if(It){if(c.mode==="hidden")return n=Vu(r,c),r.lanes=536870912,ic(null,n);if(Md(r),(n=cn)?(n=H8(n,ur),n=n!==null&&n.data==="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Yi!==null?{id:Qr,overflow:Jr}:null,retryLane:536870912,hydrationErrors:null},l=d4(n),l.return=r,r.child=l,da=r,cn=null)):n=null,n===null)throw Qi(r);return r.lanes=536870912,null}return Vu(r,c)}var v=n.memoizedState;if(v!==null){var w=v.dehydrated;if(Md(r),p)if(r.flags&256)r.flags&=-257,r=Ig(n,r,l);else if(r.memoizedState!==null)r.child=n.child,r.flags|=128,r=null;else throw Error(i(558));else if(Zn||Dl(n,r,l,!1),p=(l&n.childLanes)!==0,Zn||p){if(c=rn,c!==null&&(w=Le(c,l),w!==0&&w!==v.retryLane))throw v.retryLane=w,Ls(n,w),za(c,n,w),Kd;t1(),r=Ig(n,r,l)}else n=v.treeContext,cn=dr(w.nextSibling),da=r,It=!0,Wi=null,ur=!1,n!==null&&p4(r,n),r=Vu(r,c),r.flags|=4096;return r}return n=pi(n.child,{mode:c.mode,children:c.children}),n.ref=r.ref,r.child=n,n.return=r,n}function Gu(n,r){var l=r.ref;if(l===null)n!==null&&n.ref!==null&&(r.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(i(284));(n===null||n.ref!==l)&&(r.flags|=4194816)}}function Xd(n,r,l,c,p){return qs(r),l=Dd(n,r,l,c,void 0,p),c=jd(),n!==null&&!Zn?(Ld(n,r,p),Ei(n,r,p)):(It&&c&&hd(r),r.flags|=1,ma(n,r,l,p),r.child)}function Mg(n,r,l,c,p,v){return qs(r),r.updateQueue=null,l=j4(r,c,l,p),D4(n),c=jd(),n!==null&&!Zn?(Ld(n,r,v),Ei(n,r,v)):(It&&c&&hd(r),r.flags|=1,ma(n,r,l,v),r.child)}function Ng(n,r,l,c,p){if(qs(r),r.stateNode===null){var v=Rl,w=l.contextType;typeof w=="object"&&w!==null&&(v=ha(w)),v=new l(c,v),r.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Qd,r.stateNode=v,v._reactInternals=r,v=r.stateNode,v.props=c,v.state=r.memoizedState,v.refs={},wd(r),w=l.contextType,v.context=typeof w=="object"&&w!==null?ha(w):Rl,v.state=r.memoizedState,w=l.getDerivedStateFromProps,typeof w=="function"&&(Wd(r,l,w,c),v.state=r.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(w=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),w!==v.state&&Qd.enqueueReplaceState(v,v.state,null),ec(r,c,v,p),$o(),v.state=r.memoizedState),typeof v.componentDidMount=="function"&&(r.flags|=4194308),c=!0}else if(n===null){v=r.stateNode;var z=r.memoizedProps,Y=Vs(l,z);v.props=Y;var re=v.context,ue=l.contextType;w=Rl,typeof ue=="object"&&ue!==null&&(w=ha(ue));var me=l.getDerivedStateFromProps;ue=typeof me=="function"||typeof v.getSnapshotBeforeUpdate=="function",z=r.pendingProps!==z,ue||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(z||re!==w)&&vg(r,v,c,w),Ki=!1;var ie=r.memoizedState;v.state=ie,ec(r,c,v,p),$o(),re=r.memoizedState,z||ie!==re||Ki?(typeof me=="function"&&(Wd(r,l,me,c),re=r.memoizedState),(Y=Ki||gg(r,l,Y,c,ie,re,w))?(ue||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(r.flags|=4194308)):(typeof v.componentDidMount=="function"&&(r.flags|=4194308),r.memoizedProps=c,r.memoizedState=re),v.props=c,v.state=re,v.context=w,c=Y):(typeof v.componentDidMount=="function"&&(r.flags|=4194308),c=!1)}else{v=r.stateNode,xd(n,r),w=r.memoizedProps,ue=Vs(l,w),v.props=ue,me=r.pendingProps,ie=v.context,re=l.contextType,Y=Rl,typeof re=="object"&&re!==null&&(Y=ha(re)),z=l.getDerivedStateFromProps,(re=typeof z=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(w!==me||ie!==Y)&&vg(r,v,c,Y),Ki=!1,ie=r.memoizedState,v.state=ie,ec(r,c,v,p),$o();var ce=r.memoizedState;w!==me||ie!==ce||Ki||n!==null&&n.dependencies!==null&&Tu(n.dependencies)?(typeof z=="function"&&(Wd(r,l,z,c),ce=r.memoizedState),(ue=Ki||gg(r,l,ue,c,ie,ce,Y)||n!==null&&n.dependencies!==null&&Tu(n.dependencies))?(re||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(c,ce,Y),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(c,ce,Y)),typeof v.componentDidUpdate=="function"&&(r.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(r.flags|=1024)):(typeof v.componentDidUpdate!="function"||w===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),r.memoizedProps=c,r.memoizedState=ce),v.props=c,v.state=ce,v.context=Y,c=ue):(typeof v.componentDidUpdate!="function"||w===n.memoizedProps&&ie===n.memoizedState||(r.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||w===n.memoizedProps&&ie===n.memoizedState||(r.flags|=1024),c=!1)}return v=c,Gu(n,r),c=(r.flags&128)!==0,v||c?(v=r.stateNode,l=c&&typeof l.getDerivedStateFromError!="function"?null:v.render(),r.flags|=1,n!==null&&c?(r.child=Bs(r,n.child,null,p),r.child=Bs(r,null,l,p)):ma(n,r,l,p),r.memoizedState=v.state,n=r.child):n=Ei(n,r,p),n}function Dg(n,r,l,c){return _s(),r.flags|=256,ma(n,r,l,c),r.child}var $d={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function e0(n){return{baseLanes:n,cachePool:E4()}}function t0(n,r,l){return n=n!==null?n.childLanes&~l:0,r&&(n|=Ka),n}function jg(n,r,l){var c=r.pendingProps,p=!1,v=(r.flags&128)!==0,w;if((w=v)||(w=n!==null&&n.memoizedState===null?!1:(kn.current&2)!==0),w&&(p=!0,r.flags&=-129),w=(r.flags&32)!==0,r.flags&=-33,n===null){if(It){if(p?es(r):ts(),(n=cn)?(n=H8(n,ur),n=n!==null&&n.data!=="&"?n:null,n!==null&&(r.memoizedState={dehydrated:n,treeContext:Yi!==null?{id:Qr,overflow:Jr}:null,retryLane:536870912,hydrationErrors:null},l=d4(n),l.return=r,r.child=l,da=r,cn=null)):n=null,n===null)throw Qi(r);return z0(n)?r.lanes=32:r.lanes=536870912,null}var z=c.children;return c=c.fallback,p?(ts(),p=r.mode,z=Zu({mode:"hidden",children:z},p),c=ks(c,p,l,null),z.return=r,c.return=r,z.sibling=c,r.child=z,c=r.child,c.memoizedState=e0(l),c.childLanes=t0(n,w,l),r.memoizedState=$d,ic(null,c)):(es(r),n0(r,z))}var Y=n.memoizedState;if(Y!==null&&(z=Y.dehydrated,z!==null)){if(v)r.flags&256?(es(r),r.flags&=-257,r=a0(n,r,l)):r.memoizedState!==null?(ts(),r.child=n.child,r.flags|=128,r=null):(ts(),z=c.fallback,p=r.mode,c=Zu({mode:"visible",children:c.children},p),z=ks(z,p,l,null),z.flags|=2,c.return=r,z.return=r,c.sibling=z,r.child=c,Bs(r,n.child,null,l),c=r.child,c.memoizedState=e0(l),c.childLanes=t0(n,w,l),r.memoizedState=$d,r=ic(null,c));else if(es(r),z0(z)){if(w=z.nextSibling&&z.nextSibling.dataset,w)var re=w.dgst;w=re,c=Error(i(419)),c.stack="",c.digest=w,Yo({value:c,source:null,stack:null}),r=a0(n,r,l)}else if(Zn||Dl(n,r,l,!1),w=(l&n.childLanes)!==0,Zn||w){if(w=rn,w!==null&&(c=Le(w,l),c!==0&&c!==Y.retryLane))throw Y.retryLane=c,Ls(n,c),za(w,n,c),Kd;_0(z)||t1(),r=a0(n,r,l)}else _0(z)?(r.flags|=192,r.child=n.child,r=null):(n=Y.treeContext,cn=dr(z.nextSibling),da=r,It=!0,Wi=null,ur=!1,n!==null&&p4(r,n),r=n0(r,c.children),r.flags|=4096);return r}return p?(ts(),z=c.fallback,p=r.mode,Y=n.child,re=Y.sibling,c=pi(Y,{mode:"hidden",children:c.children}),c.subtreeFlags=Y.subtreeFlags&65011712,re!==null?z=pi(re,z):(z=ks(z,p,l,null),z.flags|=2),z.return=r,c.return=r,c.sibling=z,r.child=c,ic(null,c),c=r.child,z=n.child.memoizedState,z===null?z=e0(l):(p=z.cachePool,p!==null?(Y=Vn._currentValue,p=p.parent!==Y?{parent:Y,pool:Y}:p):p=E4(),z={baseLanes:z.baseLanes|l,cachePool:p}),c.memoizedState=z,c.childLanes=t0(n,w,l),r.memoizedState=$d,ic(n.child,c)):(es(r),l=n.child,n=l.sibling,l=pi(l,{mode:"visible",children:c.children}),l.return=r,l.sibling=null,n!==null&&(w=r.deletions,w===null?(r.deletions=[n],r.flags|=16):w.push(n)),r.child=l,r.memoizedState=null,l)}function n0(n,r){return r=Zu({mode:"visible",children:r},n.mode),r.return=n,n.child=r}function Zu(n,r){return n=Ya(22,n,null,r),n.lanes=0,n}function a0(n,r,l){return Bs(r,n.child,null,l),n=n0(r,r.pendingProps.children),n.flags|=2,r.memoizedState=null,n}function Lg(n,r,l){n.lanes|=r;var c=n.alternate;c!==null&&(c.lanes|=r),yd(n.return,r,l)}function r0(n,r,l,c,p,v){var w=n.memoizedState;w===null?n.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:p,treeForkCount:v}:(w.isBackwards=r,w.rendering=null,w.renderingStartTime=0,w.last=c,w.tail=l,w.tailMode=p,w.treeForkCount=v)}function kg(n,r,l){var c=r.pendingProps,p=c.revealOrder,v=c.tail;c=c.children;var w=kn.current,z=(w&2)!==0;if(z?(w=w&1|2,r.flags|=128):w&=1,le(kn,w),ma(n,r,c,l),c=It?Zo:0,!z&&n!==null&&(n.flags&128)!==0)e:for(n=r.child;n!==null;){if(n.tag===13)n.memoizedState!==null&&Lg(n,l,r);else if(n.tag===19)Lg(n,l,r);else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;n.sibling===null;){if(n.return===null||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}switch(p){case"forwards":for(l=r.child,p=null;l!==null;)n=l.alternate,n!==null&&Lu(n)===null&&(p=l),l=l.sibling;l=p,l===null?(p=r.child,r.child=null):(p=l.sibling,l.sibling=null),r0(r,!1,p,l,v,c);break;case"backwards":case"unstable_legacy-backwards":for(l=null,p=r.child,r.child=null;p!==null;){if(n=p.alternate,n!==null&&Lu(n)===null){r.child=p;break}n=p.sibling,p.sibling=l,l=p,p=n}r0(r,!0,l,null,v,c);break;case"together":r0(r,!1,null,null,void 0,c);break;default:r.memoizedState=null}return r.child}function Ei(n,r,l){if(n!==null&&(r.dependencies=n.dependencies),rs|=r.lanes,(l&r.childLanes)===0)if(n!==null){if(Dl(n,r,l,!1),(l&r.childLanes)===0)return null}else return null;if(n!==null&&r.child!==n.child)throw Error(i(153));if(r.child!==null){for(n=r.child,l=pi(n,n.pendingProps),r.child=l,l.return=r;n.sibling!==null;)n=n.sibling,l=l.sibling=pi(n,n.pendingProps),l.return=r;l.sibling=null}return r.child}function i0(n,r){return(n.lanes&r)!==0?!0:(n=n.dependencies,!!(n!==null&&Tu(n)))}function jT(n,r,l){switch(r.tag){case 3:Je(r,r.stateNode.containerInfo),Ji(r,Vn,n.memoizedState.cache),_s();break;case 27:case 5:Wt(r);break;case 4:Je(r,r.stateNode.containerInfo);break;case 10:Ji(r,r.type,r.memoizedProps.value);break;case 31:if(r.memoizedState!==null)return r.flags|=128,Md(r),null;break;case 13:var c=r.memoizedState;if(c!==null)return c.dehydrated!==null?(es(r),r.flags|=128,null):(l&r.child.childLanes)!==0?jg(n,r,l):(es(r),n=Ei(n,r,l),n!==null?n.sibling:null);es(r);break;case 19:var p=(n.flags&128)!==0;if(c=(l&r.childLanes)!==0,c||(Dl(n,r,l,!1),c=(l&r.childLanes)!==0),p){if(c)return kg(n,r,l);r.flags|=128}if(p=r.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),le(kn,kn.current),c)break;return null;case 22:return r.lanes=0,Og(n,r,l,r.pendingProps);case 24:Ji(r,Vn,n.memoizedState.cache)}return Ei(n,r,l)}function _g(n,r,l){if(n!==null)if(n.memoizedProps!==r.pendingProps)Zn=!0;else{if(!i0(n,l)&&(r.flags&128)===0)return Zn=!1,jT(n,r,l);Zn=(n.flags&131072)!==0}else Zn=!1,It&&(r.flags&1048576)!==0&&m4(r,Zo,r.index);switch(r.lanes=0,r.tag){case 16:e:{var c=r.pendingProps;if(n=Ps(r.elementType),r.type=n,typeof n=="function")ud(n)?(c=Vs(n,c),r.tag=1,r=Ng(null,r,n,c,l)):(r.tag=0,r=Xd(null,r,n,c,l));else{if(n!=null){var p=n.$$typeof;if(p===U){r.tag=11,r=wg(null,r,n,c,l);break e}else if(p===F){r.tag=14,r=xg(null,r,n,c,l);break e}}throw r=Z(n)||n,Error(i(306,r,""))}}return r;case 0:return Xd(n,r,r.type,r.pendingProps,l);case 1:return c=r.type,p=Vs(c,r.pendingProps),Ng(n,r,c,p,l);case 3:e:{if(Je(r,r.stateNode.containerInfo),n===null)throw Error(i(387));c=r.pendingProps;var v=r.memoizedState;p=v.element,xd(n,r),ec(r,c,null,l);var w=r.memoizedState;if(c=w.cache,Ji(r,Vn,c),c!==v.cache&&bd(r,[Vn],l,!0),$o(),c=w.element,v.isDehydrated)if(v={element:c,isDehydrated:!1,cache:w.cache},r.updateQueue.baseState=v,r.memoizedState=v,r.flags&256){r=Dg(n,r,c,l);break e}else if(c!==p){p=lr(Error(i(424)),r),Yo(p),r=Dg(n,r,c,l);break e}else{switch(n=r.stateNode.containerInfo,n.nodeType){case 9:n=n.body;break;default:n=n.nodeName==="HTML"?n.ownerDocument.body:n}for(cn=dr(n.firstChild),da=r,It=!0,Wi=null,ur=!0,l=O4(r,null,c,l),r.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(_s(),c===p){r=Ei(n,r,l);break e}ma(n,r,c,l)}r=r.child}return r;case 26:return Gu(n,r),n===null?(l=Y8(r.type,null,r.pendingProps,null))?r.memoizedState=l:It||(l=r.type,n=r.pendingProps,c=o1(ye.current).createElement(l),c[ke]=r,c[et]=n,pa(c,l,n),We(c),r.stateNode=c):r.memoizedState=Y8(r.type,n.memoizedProps,r.pendingProps,n.memoizedState),null;case 27:return Wt(r),n===null&&It&&(c=r.stateNode=V8(r.type,r.pendingProps,ye.current),da=r,ur=!0,p=cn,cs(r.type)?(q0=p,cn=dr(c.firstChild)):cn=p),ma(n,r,r.pendingProps.children,l),Gu(n,r),n===null&&(r.flags|=4194304),r.child;case 5:return n===null&&It&&((p=c=cn)&&(c=cO(c,r.type,r.pendingProps,ur),c!==null?(r.stateNode=c,da=r,cn=dr(c.firstChild),ur=!1,p=!0):p=!1),p||Qi(r)),Wt(r),p=r.type,v=r.pendingProps,w=n!==null?n.memoizedProps:null,c=v.children,j0(p,v)?c=null:w!==null&&j0(p,w)&&(r.flags|=32),r.memoizedState!==null&&(p=Dd(n,r,wT,null,null,l),Sc._currentValue=p),Gu(n,r),ma(n,r,c,l),r.child;case 6:return n===null&&It&&((n=l=cn)&&(l=uO(l,r.pendingProps,ur),l!==null?(r.stateNode=l,da=r,cn=null,n=!0):n=!1),n||Qi(r)),null;case 13:return jg(n,r,l);case 4:return Je(r,r.stateNode.containerInfo),c=r.pendingProps,n===null?r.child=Bs(r,null,c,l):ma(n,r,c,l),r.child;case 11:return wg(n,r,r.type,r.pendingProps,l);case 7:return ma(n,r,r.pendingProps,l),r.child;case 8:return ma(n,r,r.pendingProps.children,l),r.child;case 12:return ma(n,r,r.pendingProps.children,l),r.child;case 10:return c=r.pendingProps,Ji(r,r.type,c.value),ma(n,r,c.children,l),r.child;case 9:return p=r.type._context,c=r.pendingProps.children,qs(r),p=ha(p),c=c(p),r.flags|=1,ma(n,r,c,l),r.child;case 14:return xg(n,r,r.type,r.pendingProps,l);case 15:return Tg(n,r,r.type,r.pendingProps,l);case 19:return kg(n,r,l);case 31:return DT(n,r,l);case 22:return Og(n,r,l,r.pendingProps);case 24:return qs(r),c=ha(Vn),n===null?(p=Ad(),p===null&&(p=rn,v=Sd(),p.pooledCache=v,v.refCount++,v!==null&&(p.pooledCacheLanes|=l),p=v),r.memoizedState={parent:c,cache:p},wd(r),Ji(r,Vn,p)):((n.lanes&l)!==0&&(xd(n,r),ec(r,null,null,l),$o()),p=n.memoizedState,v=r.memoizedState,p.parent!==c?(p={parent:c,cache:c},r.memoizedState=p,r.lanes===0&&(r.memoizedState=r.updateQueue.baseState=p),Ji(r,Vn,c)):(c=v.cache,Ji(r,Vn,c),c!==p.cache&&bd(r,[Vn],l,!0))),ma(n,r,r.pendingProps.children,l),r.child;case 29:throw r.pendingProps}throw Error(i(156,r.tag))}function Ai(n){n.flags|=4}function s0(n,r,l,c,p){if((r=(n.mode&32)!==0)&&(r=!1),r){if(n.flags|=16777216,(p&335544128)===p)if(n.stateNode.complete)n.flags|=8192;else if(c8())n.flags|=8192;else throw Hs=Mu,Cd}else n.flags&=-16777217}function zg(n,r){if(r.type!=="stylesheet"||(r.state.loading&4)!==0)n.flags&=-16777217;else if(n.flags|=16777216,!X8(r))if(c8())n.flags|=8192;else throw Hs=Mu,Cd}function Yu(n,r){r!==null&&(n.flags|=4),n.flags&16384&&(r=n.tag!==22?Ue():536870912,n.lanes|=r,Vl|=r)}function sc(n,r){if(!It)switch(n.tailMode){case"hidden":r=n.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?n.tail=null:l.sibling=null;break;case"collapsed":l=n.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.sibling;c===null?r||n.tail===null?n.tail=null:n.tail.sibling=null:c.sibling=null}}function un(n){var r=n.alternate!==null&&n.alternate.child===n.child,l=0,c=0;if(r)for(var p=n.child;p!==null;)l|=p.lanes|p.childLanes,c|=p.subtreeFlags&65011712,c|=p.flags&65011712,p.return=n,p=p.sibling;else for(p=n.child;p!==null;)l|=p.lanes|p.childLanes,c|=p.subtreeFlags,c|=p.flags,p.return=n,p=p.sibling;return n.subtreeFlags|=c,n.childLanes=l,r}function LT(n,r,l){var c=r.pendingProps;switch(md(r),r.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return un(r),null;case 1:return un(r),null;case 3:return l=r.stateNode,c=null,n!==null&&(c=n.memoizedState.cache),r.memoizedState.cache!==c&&(r.flags|=2048),yi(Vn),Ne(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(n===null||n.child===null)&&(Nl(r)?Ai(r):n===null||n.memoizedState.isDehydrated&&(r.flags&256)===0||(r.flags|=1024,gd())),un(r),null;case 26:var p=r.type,v=r.memoizedState;return n===null?(Ai(r),v!==null?(un(r),zg(r,v)):(un(r),s0(r,p,null,c,l))):v?v!==n.memoizedState?(Ai(r),un(r),zg(r,v)):(un(r),r.flags&=-16777217):(n=n.memoizedProps,n!==c&&Ai(r),un(r),s0(r,p,n,c,l)),null;case 27:if(mt(r),l=ye.current,p=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==c&&Ai(r);else{if(!c){if(r.stateNode===null)throw Error(i(166));return un(r),null}n=he.current,Nl(r)?g4(r):(n=V8(p,c,l),r.stateNode=n,Ai(r))}return un(r),null;case 5:if(mt(r),p=r.type,n!==null&&r.stateNode!=null)n.memoizedProps!==c&&Ai(r);else{if(!c){if(r.stateNode===null)throw Error(i(166));return un(r),null}if(v=he.current,Nl(r))g4(r);else{var w=o1(ye.current);switch(v){case 1:v=w.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:v=w.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":v=w.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":v=w.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":v=w.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof c.is=="string"?w.createElement("select",{is:c.is}):w.createElement("select"),c.multiple?v.multiple=!0:c.size&&(v.size=c.size);break;default:v=typeof c.is=="string"?w.createElement(p,{is:c.is}):w.createElement(p)}}v[ke]=r,v[et]=c;e:for(w=r.child;w!==null;){if(w.tag===5||w.tag===6)v.appendChild(w.stateNode);else if(w.tag!==4&&w.tag!==27&&w.child!==null){w.child.return=w,w=w.child;continue}if(w===r)break e;for(;w.sibling===null;){if(w.return===null||w.return===r)break e;w=w.return}w.sibling.return=w.return,w=w.sibling}r.stateNode=v;e:switch(pa(v,p,c),p){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}c&&Ai(r)}}return un(r),s0(r,r.type,n===null?null:n.memoizedProps,r.pendingProps,l),null;case 6:if(n&&r.stateNode!=null)n.memoizedProps!==c&&Ai(r);else{if(typeof c!="string"&&r.stateNode===null)throw Error(i(166));if(n=ye.current,Nl(r)){if(n=r.stateNode,l=r.memoizedProps,c=null,p=da,p!==null)switch(p.tag){case 27:case 5:c=p.memoizedProps}n[ke]=r,n=!!(n.nodeValue===l||c!==null&&c.suppressHydrationWarning===!0||j8(n.nodeValue,l)),n||Qi(r,!0)}else n=o1(n).createTextNode(c),n[ke]=r,r.stateNode=n}return un(r),null;case 31:if(l=r.memoizedState,n===null||n.memoizedState!==null){if(c=Nl(r),l!==null){if(n===null){if(!c)throw Error(i(318));if(n=r.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(i(557));n[ke]=r}else _s(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;un(r),n=!1}else l=gd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=l),n=!0;if(!n)return r.flags&256?(Qa(r),r):(Qa(r),null);if((r.flags&128)!==0)throw Error(i(558))}return un(r),null;case 13:if(c=r.memoizedState,n===null||n.memoizedState!==null&&n.memoizedState.dehydrated!==null){if(p=Nl(r),c!==null&&c.dehydrated!==null){if(n===null){if(!p)throw Error(i(318));if(p=r.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(i(317));p[ke]=r}else _s(),(r.flags&128)===0&&(r.memoizedState=null),r.flags|=4;un(r),p=!1}else p=gd(),n!==null&&n.memoizedState!==null&&(n.memoizedState.hydrationErrors=p),p=!0;if(!p)return r.flags&256?(Qa(r),r):(Qa(r),null)}return Qa(r),(r.flags&128)!==0?(r.lanes=l,r):(l=c!==null,n=n!==null&&n.memoizedState!==null,l&&(c=r.child,p=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(p=c.alternate.memoizedState.cachePool.pool),v=null,c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(v=c.memoizedState.cachePool.pool),v!==p&&(c.flags|=2048)),l!==n&&l&&(r.child.flags|=8192),Yu(r,r.updateQueue),un(r),null);case 4:return Ne(),n===null&&R0(r.stateNode.containerInfo),un(r),null;case 10:return yi(r.type),un(r),null;case 19:if(K(kn),c=r.memoizedState,c===null)return un(r),null;if(p=(r.flags&128)!==0,v=c.rendering,v===null)if(p)sc(c,!1);else{if(xn!==0||n!==null&&(n.flags&128)!==0)for(n=r.child;n!==null;){if(v=Lu(n),v!==null){for(r.flags|=128,sc(c,!1),n=v.updateQueue,r.updateQueue=n,Yu(r,n),r.subtreeFlags=0,n=l,l=r.child;l!==null;)f4(l,n),l=l.sibling;return le(kn,kn.current&1|2),It&&gi(r,c.treeForkCount),r.child}n=n.sibling}c.tail!==null&&De()>Xu&&(r.flags|=128,p=!0,sc(c,!1),r.lanes=4194304)}else{if(!p)if(n=Lu(v),n!==null){if(r.flags|=128,p=!0,n=n.updateQueue,r.updateQueue=n,Yu(r,n),sc(c,!0),c.tail===null&&c.tailMode==="hidden"&&!v.alternate&&!It)return un(r),null}else 2*De()-c.renderingStartTime>Xu&&l!==536870912&&(r.flags|=128,p=!0,sc(c,!1),r.lanes=4194304);c.isBackwards?(v.sibling=r.child,r.child=v):(n=c.last,n!==null?n.sibling=v:r.child=v,c.last=v)}return c.tail!==null?(n=c.tail,c.rendering=n,c.tail=n.sibling,c.renderingStartTime=De(),n.sibling=null,l=kn.current,le(kn,p?l&1|2:l&1),It&&gi(r,c.treeForkCount),n):(un(r),null);case 22:case 23:return Qa(r),Id(),c=r.memoizedState!==null,n!==null?n.memoizedState!==null!==c&&(r.flags|=8192):c&&(r.flags|=8192),c?(l&536870912)!==0&&(r.flags&128)===0&&(un(r),r.subtreeFlags&6&&(r.flags|=8192)):un(r),l=r.updateQueue,l!==null&&Yu(r,l.retryQueue),l=null,n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),c=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(c=r.memoizedState.cachePool.pool),c!==l&&(r.flags|=2048),n!==null&&K(Us),null;case 24:return l=null,n!==null&&(l=n.memoizedState.cache),r.memoizedState.cache!==l&&(r.flags|=2048),yi(Vn),un(r),null;case 25:return null;case 30:return null}throw Error(i(156,r.tag))}function kT(n,r){switch(md(r),r.tag){case 1:return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 3:return yi(Vn),Ne(),n=r.flags,(n&65536)!==0&&(n&128)===0?(r.flags=n&-65537|128,r):null;case 26:case 27:case 5:return mt(r),null;case 31:if(r.memoizedState!==null){if(Qa(r),r.alternate===null)throw Error(i(340));_s()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 13:if(Qa(r),n=r.memoizedState,n!==null&&n.dehydrated!==null){if(r.alternate===null)throw Error(i(340));_s()}return n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 19:return K(kn),null;case 4:return Ne(),null;case 10:return yi(r.type),null;case 22:case 23:return Qa(r),Id(),n!==null&&K(Us),n=r.flags,n&65536?(r.flags=n&-65537|128,r):null;case 24:return yi(Vn),null;case 25:return null;default:return null}}function qg(n,r){switch(md(r),r.tag){case 3:yi(Vn),Ne();break;case 26:case 27:case 5:mt(r);break;case 4:Ne();break;case 31:r.memoizedState!==null&&Qa(r);break;case 13:Qa(r);break;case 19:K(kn);break;case 10:yi(r.type);break;case 22:case 23:Qa(r),Id(),n!==null&&K(Us);break;case 24:yi(Vn)}}function lc(n,r){try{var l=r.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var p=c.next;l=p;do{if((l.tag&n)===n){c=void 0;var v=l.create,w=l.inst;c=v(),w.destroy=c}l=l.next}while(l!==p)}}catch(z){Xt(r,r.return,z)}}function ns(n,r,l){try{var c=r.updateQueue,p=c!==null?c.lastEffect:null;if(p!==null){var v=p.next;c=v;do{if((c.tag&n)===n){var w=c.inst,z=w.destroy;if(z!==void 0){w.destroy=void 0,p=r;var Y=l,re=z;try{re()}catch(ue){Xt(p,Y,ue)}}}c=c.next}while(c!==v)}}catch(ue){Xt(r,r.return,ue)}}function Ug(n){var r=n.updateQueue;if(r!==null){var l=n.stateNode;try{I4(r,l)}catch(c){Xt(n,n.return,c)}}}function Pg(n,r,l){l.props=Vs(n.type,n.memoizedProps),l.state=n.memoizedState;try{l.componentWillUnmount()}catch(c){Xt(n,r,c)}}function oc(n,r){try{var l=n.ref;if(l!==null){switch(n.tag){case 26:case 27:case 5:var c=n.stateNode;break;case 30:c=n.stateNode;break;default:c=n.stateNode}typeof l=="function"?n.refCleanup=l(c):l.current=c}}catch(p){Xt(n,r,p)}}function Kr(n,r){var l=n.ref,c=n.refCleanup;if(l!==null)if(typeof c=="function")try{c()}catch(p){Xt(n,r,p)}finally{n.refCleanup=null,n=n.alternate,n!=null&&(n.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(p){Xt(n,r,p)}else l.current=null}function Hg(n){var r=n.type,l=n.memoizedProps,c=n.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":l.autoFocus&&c.focus();break e;case"img":l.src?c.src=l.src:l.srcSet&&(c.srcset=l.srcSet)}}catch(p){Xt(n,n.return,p)}}function l0(n,r,l){try{var c=n.stateNode;aO(c,n.type,l,r),c[et]=r}catch(p){Xt(n,n.return,p)}}function Bg(n){return n.tag===5||n.tag===3||n.tag===26||n.tag===27&&cs(n.type)||n.tag===4}function o0(n){e:for(;;){for(;n.sibling===null;){if(n.return===null||Bg(n.return))return null;n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.tag===27&&cs(n.type)||n.flags&2||n.child===null||n.tag===4)continue e;n.child.return=n,n=n.child}if(!(n.flags&2))return n.stateNode}}function c0(n,r,l){var c=n.tag;if(c===5||c===6)n=n.stateNode,r?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(n,r):(r=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,r.appendChild(n),l=l._reactRootContainer,l!=null||r.onclick!==null||(r.onclick=rr));else if(c!==4&&(c===27&&cs(n.type)&&(l=n.stateNode,r=null),n=n.child,n!==null))for(c0(n,r,l),n=n.sibling;n!==null;)c0(n,r,l),n=n.sibling}function Wu(n,r,l){var c=n.tag;if(c===5||c===6)n=n.stateNode,r?l.insertBefore(n,r):l.appendChild(n);else if(c!==4&&(c===27&&cs(n.type)&&(l=n.stateNode),n=n.child,n!==null))for(Wu(n,r,l),n=n.sibling;n!==null;)Wu(n,r,l),n=n.sibling}function Fg(n){var r=n.stateNode,l=n.memoizedProps;try{for(var c=n.type,p=r.attributes;p.length;)r.removeAttributeNode(p[0]);pa(r,c,l),r[ke]=n,r[et]=l}catch(v){Xt(n,n.return,v)}}var Ci=!1,Yn=!1,u0=!1,Vg=typeof WeakSet=="function"?WeakSet:Set,ra=null;function _T(n,r){if(n=n.containerInfo,N0=p1,n=n4(n),ad(n)){if("selectionStart"in n)var l={start:n.selectionStart,end:n.selectionEnd};else e:{l=(l=n.ownerDocument)&&l.defaultView||window;var c=l.getSelection&&l.getSelection();if(c&&c.rangeCount!==0){l=c.anchorNode;var p=c.anchorOffset,v=c.focusNode;c=c.focusOffset;try{l.nodeType,v.nodeType}catch{l=null;break e}var w=0,z=-1,Y=-1,re=0,ue=0,me=n,ie=null;t:for(;;){for(var ce;me!==l||p!==0&&me.nodeType!==3||(z=w+p),me!==v||c!==0&&me.nodeType!==3||(Y=w+c),me.nodeType===3&&(w+=me.nodeValue.length),(ce=me.firstChild)!==null;)ie=me,me=ce;for(;;){if(me===n)break t;if(ie===l&&++re===p&&(z=w),ie===v&&++ue===c&&(Y=w),(ce=me.nextSibling)!==null)break;me=ie,ie=me.parentNode}me=ce}l=z===-1||Y===-1?null:{start:z,end:Y}}else l=null}l=l||{start:0,end:0}}else l=null;for(D0={focusedElem:n,selectionRange:l},p1=!1,ra=r;ra!==null;)if(r=ra,n=r.child,(r.subtreeFlags&1028)!==0&&n!==null)n.return=r,ra=n;else for(;ra!==null;){switch(r=ra,v=r.alternate,n=r.flags,r.tag){case 0:if((n&4)!==0&&(n=r.updateQueue,n=n!==null?n.events:null,n!==null))for(l=0;l<n.length;l++)p=n[l],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((n&1024)!==0&&v!==null){n=void 0,l=r,p=v.memoizedProps,v=v.memoizedState,c=l.stateNode;try{var Me=Vs(l.type,p);n=c.getSnapshotBeforeUpdate(Me,v),c.__reactInternalSnapshotBeforeUpdate=n}catch(Ze){Xt(l,l.return,Ze)}}break;case 3:if((n&1024)!==0){if(n=r.stateNode.containerInfo,l=n.nodeType,l===9)k0(n);else if(l===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":k0(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((n&1024)!==0)throw Error(i(163))}if(n=r.sibling,n!==null){n.return=r.return,ra=n;break}ra=r.return}}function Gg(n,r,l){var c=l.flags;switch(l.tag){case 0:case 11:case 15:xi(n,l),c&4&&lc(5,l);break;case 1:if(xi(n,l),c&4)if(n=l.stateNode,r===null)try{n.componentDidMount()}catch(w){Xt(l,l.return,w)}else{var p=Vs(l.type,r.memoizedProps);r=r.memoizedState;try{n.componentDidUpdate(p,r,n.__reactInternalSnapshotBeforeUpdate)}catch(w){Xt(l,l.return,w)}}c&64&&Ug(l),c&512&&oc(l,l.return);break;case 3:if(xi(n,l),c&64&&(n=l.updateQueue,n!==null)){if(r=null,l.child!==null)switch(l.child.tag){case 27:case 5:r=l.child.stateNode;break;case 1:r=l.child.stateNode}try{I4(n,r)}catch(w){Xt(l,l.return,w)}}break;case 27:r===null&&c&4&&Fg(l);case 26:case 5:xi(n,l),r===null&&c&4&&Hg(l),c&512&&oc(l,l.return);break;case 12:xi(n,l);break;case 31:xi(n,l),c&4&&Wg(n,l);break;case 13:xi(n,l),c&4&&Qg(n,l),c&64&&(n=l.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&(l=GT.bind(null,l),fO(n,l))));break;case 22:if(c=l.memoizedState!==null||Ci,!c){r=r!==null&&r.memoizedState!==null||Yn,p=Ci;var v=Yn;Ci=c,(Yn=r)&&!v?Ti(n,l,(l.subtreeFlags&8772)!==0):xi(n,l),Ci=p,Yn=v}break;case 30:break;default:xi(n,l)}}function Zg(n){var r=n.alternate;r!==null&&(n.alternate=null,Zg(r)),n.child=null,n.deletions=null,n.sibling=null,n.tag===5&&(r=n.stateNode,r!==null&&ve(r)),n.stateNode=null,n.return=null,n.dependencies=null,n.memoizedProps=null,n.memoizedState=null,n.pendingProps=null,n.stateNode=null,n.updateQueue=null}var dn=null,ja=!1;function wi(n,r,l){for(l=l.child;l!==null;)Yg(n,r,l),l=l.sibling}function Yg(n,r,l){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(En,l)}catch{}switch(l.tag){case 26:Yn||Kr(l,r),wi(n,r,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Yn||Kr(l,r);var c=dn,p=ja;cs(l.type)&&(dn=l.stateNode,ja=!1),wi(n,r,l),vc(l.stateNode),dn=c,ja=p;break;case 5:Yn||Kr(l,r);case 6:if(c=dn,p=ja,dn=null,wi(n,r,l),dn=c,ja=p,dn!==null)if(ja)try{(dn.nodeType===9?dn.body:dn.nodeName==="HTML"?dn.ownerDocument.body:dn).removeChild(l.stateNode)}catch(v){Xt(l,r,v)}else try{dn.removeChild(l.stateNode)}catch(v){Xt(l,r,v)}break;case 18:dn!==null&&(ja?(n=dn,U8(n.nodeType===9?n.body:n.nodeName==="HTML"?n.ownerDocument.body:n,l.stateNode),Xl(n)):U8(dn,l.stateNode));break;case 4:c=dn,p=ja,dn=l.stateNode.containerInfo,ja=!0,wi(n,r,l),dn=c,ja=p;break;case 0:case 11:case 14:case 15:ns(2,l,r),Yn||ns(4,l,r),wi(n,r,l);break;case 1:Yn||(Kr(l,r),c=l.stateNode,typeof c.componentWillUnmount=="function"&&Pg(l,r,c)),wi(n,r,l);break;case 21:wi(n,r,l);break;case 22:Yn=(c=Yn)||l.memoizedState!==null,wi(n,r,l),Yn=c;break;default:wi(n,r,l)}}function Wg(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null))){n=n.dehydrated;try{Xl(n)}catch(l){Xt(r,r.return,l)}}}function Qg(n,r){if(r.memoizedState===null&&(n=r.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null))))try{Xl(n)}catch(l){Xt(r,r.return,l)}}function zT(n){switch(n.tag){case 31:case 13:case 19:var r=n.stateNode;return r===null&&(r=n.stateNode=new Vg),r;case 22:return n=n.stateNode,r=n._retryCache,r===null&&(r=n._retryCache=new Vg),r;default:throw Error(i(435,n.tag))}}function Qu(n,r){var l=zT(n);r.forEach(function(c){if(!l.has(c)){l.add(c);var p=ZT.bind(null,n,c);c.then(p,p)}})}function La(n,r){var l=r.deletions;if(l!==null)for(var c=0;c<l.length;c++){var p=l[c],v=n,w=r,z=w;e:for(;z!==null;){switch(z.tag){case 27:if(cs(z.type)){dn=z.stateNode,ja=!1;break e}break;case 5:dn=z.stateNode,ja=!1;break e;case 3:case 4:dn=z.stateNode.containerInfo,ja=!0;break e}z=z.return}if(dn===null)throw Error(i(160));Yg(v,w,p),dn=null,ja=!1,v=p.alternate,v!==null&&(v.return=null),p.return=null}if(r.subtreeFlags&13886)for(r=r.child;r!==null;)Jg(r,n),r=r.sibling}var Ir=null;function Jg(n,r){var l=n.alternate,c=n.flags;switch(n.tag){case 0:case 11:case 14:case 15:La(r,n),ka(n),c&4&&(ns(3,n,n.return),lc(3,n),ns(5,n,n.return));break;case 1:La(r,n),ka(n),c&512&&(Yn||l===null||Kr(l,l.return)),c&64&&Ci&&(n=n.updateQueue,n!==null&&(c=n.callbacks,c!==null&&(l=n.shared.hiddenCallbacks,n.shared.hiddenCallbacks=l===null?c:l.concat(c))));break;case 26:var p=Ir;if(La(r,n),ka(n),c&512&&(Yn||l===null||Kr(l,l.return)),c&4){var v=l!==null?l.memoizedState:null;if(c=n.memoizedState,l===null)if(c===null)if(n.stateNode===null){e:{c=n.type,l=n.memoizedProps,p=p.ownerDocument||p;t:switch(c){case"title":v=p.getElementsByTagName("title")[0],(!v||v[Q]||v[ke]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=p.createElement(c),p.head.insertBefore(v,p.querySelector("head > title"))),pa(v,c,l),v[ke]=n,We(v),c=v;break e;case"link":var w=J8("link","href",p).get(c+(l.href||""));if(w){for(var z=0;z<w.length;z++)if(v=w[z],v.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&v.getAttribute("rel")===(l.rel==null?null:l.rel)&&v.getAttribute("title")===(l.title==null?null:l.title)&&v.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){w.splice(z,1);break t}}v=p.createElement(c),pa(v,c,l),p.head.appendChild(v);break;case"meta":if(w=J8("meta","content",p).get(c+(l.content||""))){for(z=0;z<w.length;z++)if(v=w[z],v.getAttribute("content")===(l.content==null?null:""+l.content)&&v.getAttribute("name")===(l.name==null?null:l.name)&&v.getAttribute("property")===(l.property==null?null:l.property)&&v.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&v.getAttribute("charset")===(l.charSet==null?null:l.charSet)){w.splice(z,1);break t}}v=p.createElement(c),pa(v,c,l),p.head.appendChild(v);break;default:throw Error(i(468,c))}v[ke]=n,We(v),c=v}n.stateNode=c}else K8(p,n.type,n.stateNode);else n.stateNode=Q8(p,c,n.memoizedProps);else v!==c?(v===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):v.count--,c===null?K8(p,n.type,n.stateNode):Q8(p,c,n.memoizedProps)):c===null&&n.stateNode!==null&&l0(n,n.memoizedProps,l.memoizedProps)}break;case 27:La(r,n),ka(n),c&512&&(Yn||l===null||Kr(l,l.return)),l!==null&&c&4&&l0(n,n.memoizedProps,l.memoizedProps);break;case 5:if(La(r,n),ka(n),c&512&&(Yn||l===null||Kr(l,l.return)),n.flags&32){p=n.stateNode;try{xr(p,"")}catch(Me){Xt(n,n.return,Me)}}c&4&&n.stateNode!=null&&(p=n.memoizedProps,l0(n,p,l!==null?l.memoizedProps:p)),c&1024&&(u0=!0);break;case 6:if(La(r,n),ka(n),c&4){if(n.stateNode===null)throw Error(i(162));c=n.memoizedProps,l=n.stateNode;try{l.nodeValue=c}catch(Me){Xt(n,n.return,Me)}}break;case 3:if(f1=null,p=Ir,Ir=c1(r.containerInfo),La(r,n),Ir=p,ka(n),c&4&&l!==null&&l.memoizedState.isDehydrated)try{Xl(r.containerInfo)}catch(Me){Xt(n,n.return,Me)}u0&&(u0=!1,Kg(n));break;case 4:c=Ir,Ir=c1(n.stateNode.containerInfo),La(r,n),ka(n),Ir=c;break;case 12:La(r,n),ka(n);break;case 31:La(r,n),ka(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Qu(n,c)));break;case 13:La(r,n),ka(n),n.child.flags&8192&&n.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Ku=De()),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Qu(n,c)));break;case 22:p=n.memoizedState!==null;var Y=l!==null&&l.memoizedState!==null,re=Ci,ue=Yn;if(Ci=re||p,Yn=ue||Y,La(r,n),Yn=ue,Ci=re,ka(n),c&8192)e:for(r=n.stateNode,r._visibility=p?r._visibility&-2:r._visibility|1,p&&(l===null||Y||Ci||Yn||Gs(n)),l=null,r=n;;){if(r.tag===5||r.tag===26){if(l===null){Y=l=r;try{if(v=Y.stateNode,p)w=v.style,typeof w.setProperty=="function"?w.setProperty("display","none","important"):w.display="none";else{z=Y.stateNode;var me=Y.memoizedProps.style,ie=me!=null&&me.hasOwnProperty("display")?me.display:null;z.style.display=ie==null||typeof ie=="boolean"?"":(""+ie).trim()}}catch(Me){Xt(Y,Y.return,Me)}}}else if(r.tag===6){if(l===null){Y=r;try{Y.stateNode.nodeValue=p?"":Y.memoizedProps}catch(Me){Xt(Y,Y.return,Me)}}}else if(r.tag===18){if(l===null){Y=r;try{var ce=Y.stateNode;p?P8(ce,!0):P8(Y.stateNode,!1)}catch(Me){Xt(Y,Y.return,Me)}}}else if((r.tag!==22&&r.tag!==23||r.memoizedState===null||r===n)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===n)break e;for(;r.sibling===null;){if(r.return===null||r.return===n)break e;l===r&&(l=null),r=r.return}l===r&&(l=null),r.sibling.return=r.return,r=r.sibling}c&4&&(c=n.updateQueue,c!==null&&(l=c.retryQueue,l!==null&&(c.retryQueue=null,Qu(n,l))));break;case 19:La(r,n),ka(n),c&4&&(c=n.updateQueue,c!==null&&(n.updateQueue=null,Qu(n,c)));break;case 30:break;case 21:break;default:La(r,n),ka(n)}}function ka(n){var r=n.flags;if(r&2){try{for(var l,c=n.return;c!==null;){if(Bg(c)){l=c;break}c=c.return}if(l==null)throw Error(i(160));switch(l.tag){case 27:var p=l.stateNode,v=o0(n);Wu(n,v,p);break;case 5:var w=l.stateNode;l.flags&32&&(xr(w,""),l.flags&=-33);var z=o0(n);Wu(n,z,w);break;case 3:case 4:var Y=l.stateNode.containerInfo,re=o0(n);c0(n,re,Y);break;default:throw Error(i(161))}}catch(ue){Xt(n,n.return,ue)}n.flags&=-3}r&4096&&(n.flags&=-4097)}function Kg(n){if(n.subtreeFlags&1024)for(n=n.child;n!==null;){var r=n;Kg(r),r.tag===5&&r.flags&1024&&r.stateNode.reset(),n=n.sibling}}function xi(n,r){if(r.subtreeFlags&8772)for(r=r.child;r!==null;)Gg(n,r.alternate,r),r=r.sibling}function Gs(n){for(n=n.child;n!==null;){var r=n;switch(r.tag){case 0:case 11:case 14:case 15:ns(4,r,r.return),Gs(r);break;case 1:Kr(r,r.return);var l=r.stateNode;typeof l.componentWillUnmount=="function"&&Pg(r,r.return,l),Gs(r);break;case 27:vc(r.stateNode);case 26:case 5:Kr(r,r.return),Gs(r);break;case 22:r.memoizedState===null&&Gs(r);break;case 30:Gs(r);break;default:Gs(r)}n=n.sibling}}function Ti(n,r,l){for(l=l&&(r.subtreeFlags&8772)!==0,r=r.child;r!==null;){var c=r.alternate,p=n,v=r,w=v.flags;switch(v.tag){case 0:case 11:case 15:Ti(p,v,l),lc(4,v);break;case 1:if(Ti(p,v,l),c=v,p=c.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch(re){Xt(c,c.return,re)}if(c=v,p=c.updateQueue,p!==null){var z=c.stateNode;try{var Y=p.shared.hiddenCallbacks;if(Y!==null)for(p.shared.hiddenCallbacks=null,p=0;p<Y.length;p++)R4(Y[p],z)}catch(re){Xt(c,c.return,re)}}l&&w&64&&Ug(v),oc(v,v.return);break;case 27:Fg(v);case 26:case 5:Ti(p,v,l),l&&c===null&&w&4&&Hg(v),oc(v,v.return);break;case 12:Ti(p,v,l);break;case 31:Ti(p,v,l),l&&w&4&&Wg(p,v);break;case 13:Ti(p,v,l),l&&w&4&&Qg(p,v);break;case 22:v.memoizedState===null&&Ti(p,v,l),oc(v,v.return);break;case 30:break;default:Ti(p,v,l)}r=r.sibling}}function f0(n,r){var l=null;n!==null&&n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(l=n.memoizedState.cachePool.pool),n=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(n=r.memoizedState.cachePool.pool),n!==l&&(n!=null&&n.refCount++,l!=null&&Wo(l))}function d0(n,r){n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&Wo(n))}function Mr(n,r,l,c){if(r.subtreeFlags&10256)for(r=r.child;r!==null;)Xg(n,r,l,c),r=r.sibling}function Xg(n,r,l,c){var p=r.flags;switch(r.tag){case 0:case 11:case 15:Mr(n,r,l,c),p&2048&&lc(9,r);break;case 1:Mr(n,r,l,c);break;case 3:Mr(n,r,l,c),p&2048&&(n=null,r.alternate!==null&&(n=r.alternate.memoizedState.cache),r=r.memoizedState.cache,r!==n&&(r.refCount++,n!=null&&Wo(n)));break;case 12:if(p&2048){Mr(n,r,l,c),n=r.stateNode;try{var v=r.memoizedProps,w=v.id,z=v.onPostCommit;typeof z=="function"&&z(w,r.alternate===null?"mount":"update",n.passiveEffectDuration,-0)}catch(Y){Xt(r,r.return,Y)}}else Mr(n,r,l,c);break;case 31:Mr(n,r,l,c);break;case 13:Mr(n,r,l,c);break;case 23:break;case 22:v=r.stateNode,w=r.alternate,r.memoizedState!==null?v._visibility&2?Mr(n,r,l,c):cc(n,r):v._visibility&2?Mr(n,r,l,c):(v._visibility|=2,Hl(n,r,l,c,(r.subtreeFlags&10256)!==0||!1)),p&2048&&f0(w,r);break;case 24:Mr(n,r,l,c),p&2048&&d0(r.alternate,r);break;default:Mr(n,r,l,c)}}function Hl(n,r,l,c,p){for(p=p&&((r.subtreeFlags&10256)!==0||!1),r=r.child;r!==null;){var v=n,w=r,z=l,Y=c,re=w.flags;switch(w.tag){case 0:case 11:case 15:Hl(v,w,z,Y,p),lc(8,w);break;case 23:break;case 22:var ue=w.stateNode;w.memoizedState!==null?ue._visibility&2?Hl(v,w,z,Y,p):cc(v,w):(ue._visibility|=2,Hl(v,w,z,Y,p)),p&&re&2048&&f0(w.alternate,w);break;case 24:Hl(v,w,z,Y,p),p&&re&2048&&d0(w.alternate,w);break;default:Hl(v,w,z,Y,p)}r=r.sibling}}function cc(n,r){if(r.subtreeFlags&10256)for(r=r.child;r!==null;){var l=n,c=r,p=c.flags;switch(c.tag){case 22:cc(l,c),p&2048&&f0(c.alternate,c);break;case 24:cc(l,c),p&2048&&d0(c.alternate,c);break;default:cc(l,c)}r=r.sibling}}var uc=8192;function Bl(n,r,l){if(n.subtreeFlags&uc)for(n=n.child;n!==null;)$g(n,r,l),n=n.sibling}function $g(n,r,l){switch(n.tag){case 26:Bl(n,r,l),n.flags&uc&&n.memoizedState!==null&&CO(l,Ir,n.memoizedState,n.memoizedProps);break;case 5:Bl(n,r,l);break;case 3:case 4:var c=Ir;Ir=c1(n.stateNode.containerInfo),Bl(n,r,l),Ir=c;break;case 22:n.memoizedState===null&&(c=n.alternate,c!==null&&c.memoizedState!==null?(c=uc,uc=16777216,Bl(n,r,l),uc=c):Bl(n,r,l));break;default:Bl(n,r,l)}}function e8(n){var r=n.alternate;if(r!==null&&(n=r.child,n!==null)){r.child=null;do r=n.sibling,n.sibling=null,n=r;while(n!==null)}}function fc(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var c=r[l];ra=c,n8(c,n)}e8(n)}if(n.subtreeFlags&10256)for(n=n.child;n!==null;)t8(n),n=n.sibling}function t8(n){switch(n.tag){case 0:case 11:case 15:fc(n),n.flags&2048&&ns(9,n,n.return);break;case 3:fc(n);break;case 12:fc(n);break;case 22:var r=n.stateNode;n.memoizedState!==null&&r._visibility&2&&(n.return===null||n.return.tag!==13)?(r._visibility&=-3,Ju(n)):fc(n);break;default:fc(n)}}function Ju(n){var r=n.deletions;if((n.flags&16)!==0){if(r!==null)for(var l=0;l<r.length;l++){var c=r[l];ra=c,n8(c,n)}e8(n)}for(n=n.child;n!==null;){switch(r=n,r.tag){case 0:case 11:case 15:ns(8,r,r.return),Ju(r);break;case 22:l=r.stateNode,l._visibility&2&&(l._visibility&=-3,Ju(r));break;default:Ju(r)}n=n.sibling}}function n8(n,r){for(;ra!==null;){var l=ra;switch(l.tag){case 0:case 11:case 15:ns(8,l,r);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var c=l.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Wo(l.memoizedState.cache)}if(c=l.child,c!==null)c.return=l,ra=c;else e:for(l=n;ra!==null;){c=ra;var p=c.sibling,v=c.return;if(Zg(c),c===l){ra=null;break e}if(p!==null){p.return=v,ra=p;break e}ra=v}}}var qT={getCacheForType:function(n){var r=ha(Vn),l=r.data.get(n);return l===void 0&&(l=n(),r.data.set(n,l)),l},cacheSignal:function(){return ha(Vn).controller.signal}},UT=typeof WeakMap=="function"?WeakMap:Map,qt=0,rn=null,bt=null,wt=0,Kt=0,Ja=null,as=!1,Fl=!1,h0=!1,Oi=0,xn=0,rs=0,Zs=0,m0=0,Ka=0,Vl=0,dc=null,_a=null,p0=!1,Ku=0,a8=0,Xu=1/0,$u=null,is=null,Xn=0,ss=null,Gl=null,Ri=0,g0=0,v0=null,r8=null,hc=0,y0=null;function Xa(){return(qt&2)!==0&&wt!==0?wt&-wt:D.T!==null?w0():Nn()}function i8(){if(Ka===0)if((wt&536870912)===0||It){var n=Pn;Pn<<=1,(Pn&3932160)===0&&(Pn=262144),Ka=n}else Ka=536870912;return n=Wa.current,n!==null&&(n.flags|=32),Ka}function za(n,r,l){(n===rn&&(Kt===2||Kt===9)||n.cancelPendingCommit!==null)&&(Zl(n,0),ls(n,wt,Ka,!1)),ft(n,l),((qt&2)===0||n!==rn)&&(n===rn&&((qt&2)===0&&(Zs|=l),xn===4&&ls(n,wt,Ka,!1)),Xr(n))}function s8(n,r,l){if((qt&6)!==0)throw Error(i(327));var c=!l&&(r&127)===0&&(r&n.expiredLanes)===0||Xe(n,r),p=c?BT(n,r):S0(n,r,!0),v=c;do{if(p===0){Fl&&!c&&ls(n,r,0,!1);break}else{if(l=n.current.alternate,v&&!PT(l)){p=S0(n,r,!1),v=!1;continue}if(p===2){if(v=r,n.errorRecoveryDisabledLanes&v)var w=0;else w=n.pendingLanes&-536870913,w=w!==0?w:w&536870912?536870912:0;if(w!==0){r=w;e:{var z=n;p=dc;var Y=z.current.memoizedState.isDehydrated;if(Y&&(Zl(z,w).flags|=256),w=S0(z,w,!1),w!==2){if(h0&&!Y){z.errorRecoveryDisabledLanes|=v,Zs|=v,p=4;break e}v=_a,_a=p,v!==null&&(_a===null?_a=v:_a.push.apply(_a,v))}p=w}if(v=!1,p!==2)continue}}if(p===1){Zl(n,0),ls(n,r,0,!0);break}e:{switch(c=n,v=p,v){case 0:case 1:throw Error(i(345));case 4:if((r&4194048)!==r)break;case 6:ls(c,r,Ka,!as);break e;case 2:_a=null;break;case 3:case 5:break;default:throw Error(i(329))}if((r&62914560)===r&&(p=Ku+300-De(),10<p)){if(ls(c,r,Ka,!as),ua(c,0,!0)!==0)break e;Ri=r,c.timeoutHandle=z8(l8.bind(null,c,l,_a,$u,p0,r,Ka,Zs,Vl,as,v,"Throttled",-0,0),p);break e}l8(c,l,_a,$u,p0,r,Ka,Zs,Vl,as,v,null,-0,0)}}break}while(!0);Xr(n)}function l8(n,r,l,c,p,v,w,z,Y,re,ue,me,ie,ce){if(n.timeoutHandle=-1,me=r.subtreeFlags,me&8192||(me&16785408)===16785408){me={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:rr},$g(r,v,me);var Me=(v&62914560)===v?Ku-De():(v&4194048)===v?a8-De():0;if(Me=wO(me,Me),Me!==null){Ri=v,n.cancelPendingCommit=Me(p8.bind(null,n,r,v,l,c,p,w,z,Y,ue,me,null,ie,ce)),ls(n,v,w,!re);return}}p8(n,r,v,l,c,p,w,z,Y)}function PT(n){for(var r=n;;){var l=r.tag;if((l===0||l===11||l===15)&&r.flags&16384&&(l=r.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var c=0;c<l.length;c++){var p=l[c],v=p.getSnapshot;p=p.value;try{if(!Za(v(),p))return!1}catch{return!1}}if(l=r.child,r.subtreeFlags&16384&&l!==null)l.return=r,r=l;else{if(r===n)break;for(;r.sibling===null;){if(r.return===null||r.return===n)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function ls(n,r,l,c){r&=~m0,r&=~Zs,n.suspendedLanes|=r,n.pingedLanes&=~r,c&&(n.warmLanes|=r),c=n.expirationTimes;for(var p=r;0<p;){var v=31-Ft(p),w=1<<v;c[v]=-1,p&=~w}l!==0&&be(n,l,r)}function e1(){return(qt&6)===0?(mc(0),!1):!0}function b0(){if(bt!==null){if(Kt===0)var n=bt.return;else n=bt,vi=zs=null,kd(n),_l=null,Jo=0,n=bt;for(;n!==null;)qg(n.alternate,n),n=n.return;bt=null}}function Zl(n,r){var l=n.timeoutHandle;l!==-1&&(n.timeoutHandle=-1,sO(l)),l=n.cancelPendingCommit,l!==null&&(n.cancelPendingCommit=null,l()),Ri=0,b0(),rn=n,bt=l=pi(n.current,null),wt=r,Kt=0,Ja=null,as=!1,Fl=Xe(n,r),h0=!1,Vl=Ka=m0=Zs=rs=xn=0,_a=dc=null,p0=!1,(r&8)!==0&&(r|=r&32);var c=n.entangledLanes;if(c!==0)for(n=n.entanglements,c&=r;0<c;){var p=31-Ft(c),v=1<<p;r|=n[p],c&=~v}return Oi=r,Eu(),l}function o8(n,r){ct=null,D.H=rc,r===kl||r===Iu?(r=w4(),Kt=3):r===Cd?(r=w4(),Kt=4):Kt=r===Kd?8:r!==null&&typeof r=="object"&&typeof r.then=="function"?6:1,Ja=r,bt===null&&(xn=1,Fu(n,lr(r,n.current)))}function c8(){var n=Wa.current;return n===null?!0:(wt&4194048)===wt?fr===null:(wt&62914560)===wt||(wt&536870912)!==0?n===fr:!1}function u8(){var n=D.H;return D.H=rc,n===null?rc:n}function f8(){var n=D.A;return D.A=qT,n}function t1(){xn=4,as||(wt&4194048)!==wt&&Wa.current!==null||(Fl=!0),(rs&134217727)===0&&(Zs&134217727)===0||rn===null||ls(rn,wt,Ka,!1)}function S0(n,r,l){var c=qt;qt|=2;var p=u8(),v=f8();(rn!==n||wt!==r)&&($u=null,Zl(n,r)),r=!1;var w=xn;e:do try{if(Kt!==0&&bt!==null){var z=bt,Y=Ja;switch(Kt){case 8:b0(),w=6;break e;case 3:case 2:case 9:case 6:Wa.current===null&&(r=!0);var re=Kt;if(Kt=0,Ja=null,Yl(n,z,Y,re),l&&Fl){w=0;break e}break;default:re=Kt,Kt=0,Ja=null,Yl(n,z,Y,re)}}HT(),w=xn;break}catch(ue){o8(n,ue)}while(!0);return r&&n.shellSuspendCounter++,vi=zs=null,qt=c,D.H=p,D.A=v,bt===null&&(rn=null,wt=0,Eu()),w}function HT(){for(;bt!==null;)d8(bt)}function BT(n,r){var l=qt;qt|=2;var c=u8(),p=f8();rn!==n||wt!==r?($u=null,Xu=De()+500,Zl(n,r)):Fl=Xe(n,r);e:do try{if(Kt!==0&&bt!==null){r=bt;var v=Ja;t:switch(Kt){case 1:Kt=0,Ja=null,Yl(n,r,v,1);break;case 2:case 9:if(A4(v)){Kt=0,Ja=null,h8(r);break}r=function(){Kt!==2&&Kt!==9||rn!==n||(Kt=7),Xr(n)},v.then(r,r);break e;case 3:Kt=7;break e;case 4:Kt=5;break e;case 7:A4(v)?(Kt=0,Ja=null,h8(r)):(Kt=0,Ja=null,Yl(n,r,v,7));break;case 5:var w=null;switch(bt.tag){case 26:w=bt.memoizedState;case 5:case 27:var z=bt;if(w?X8(w):z.stateNode.complete){Kt=0,Ja=null;var Y=z.sibling;if(Y!==null)bt=Y;else{var re=z.return;re!==null?(bt=re,n1(re)):bt=null}break t}}Kt=0,Ja=null,Yl(n,r,v,5);break;case 6:Kt=0,Ja=null,Yl(n,r,v,6);break;case 8:b0(),xn=6;break e;default:throw Error(i(462))}}FT();break}catch(ue){o8(n,ue)}while(!0);return vi=zs=null,D.H=c,D.A=p,qt=l,bt!==null?0:(rn=null,wt=0,Eu(),xn)}function FT(){for(;bt!==null&&!Ke();)d8(bt)}function d8(n){var r=_g(n.alternate,n,Oi);n.memoizedProps=n.pendingProps,r===null?n1(n):bt=r}function h8(n){var r=n,l=r.alternate;switch(r.tag){case 15:case 0:r=Mg(l,r,r.pendingProps,r.type,void 0,wt);break;case 11:r=Mg(l,r,r.pendingProps,r.type.render,r.ref,wt);break;case 5:kd(r);default:qg(l,r),r=bt=f4(r,Oi),r=_g(l,r,Oi)}n.memoizedProps=n.pendingProps,r===null?n1(n):bt=r}function Yl(n,r,l,c){vi=zs=null,kd(r),_l=null,Jo=0;var p=r.return;try{if(NT(n,p,r,l,wt)){xn=1,Fu(n,lr(l,n.current)),bt=null;return}}catch(v){if(p!==null)throw bt=p,v;xn=1,Fu(n,lr(l,n.current)),bt=null;return}r.flags&32768?(It||c===1?n=!0:Fl||(wt&536870912)!==0?n=!1:(as=n=!0,(c===2||c===9||c===3||c===6)&&(c=Wa.current,c!==null&&c.tag===13&&(c.flags|=16384))),m8(r,n)):n1(r)}function n1(n){var r=n;do{if((r.flags&32768)!==0){m8(r,as);return}n=r.return;var l=LT(r.alternate,r,Oi);if(l!==null){bt=l;return}if(r=r.sibling,r!==null){bt=r;return}bt=r=n}while(r!==null);xn===0&&(xn=5)}function m8(n,r){do{var l=kT(n.alternate,n);if(l!==null){l.flags&=32767,bt=l;return}if(l=n.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!r&&(n=n.sibling,n!==null)){bt=n;return}bt=n=l}while(n!==null);xn=6,bt=null}function p8(n,r,l,c,p,v,w,z,Y){n.cancelPendingCommit=null;do a1();while(Xn!==0);if((qt&6)!==0)throw Error(i(327));if(r!==null){if(r===n.current)throw Error(i(177));if(v=r.lanes|r.childLanes,v|=od,ta(n,l,v,w,z,Y),n===rn&&(bt=rn=null,wt=0),Gl=r,ss=n,Ri=l,g0=v,v0=p,r8=c,(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?(n.callbackNode=null,n.callbackPriority=0,YT(vn,function(){return S8(),null})):(n.callbackNode=null,n.callbackPriority=0),c=(r.flags&13878)!==0,(r.subtreeFlags&13878)!==0||c){c=D.T,D.T=null,p=H.p,H.p=2,w=qt,qt|=4;try{_T(n,r,l)}finally{qt=w,H.p=p,D.T=c}}Xn=1,g8(),v8(),y8()}}function g8(){if(Xn===1){Xn=0;var n=ss,r=Gl,l=(r.flags&13878)!==0;if((r.subtreeFlags&13878)!==0||l){l=D.T,D.T=null;var c=H.p;H.p=2;var p=qt;qt|=4;try{Jg(r,n);var v=D0,w=n4(n.containerInfo),z=v.focusedElem,Y=v.selectionRange;if(w!==z&&z&&z.ownerDocument&&t4(z.ownerDocument.documentElement,z)){if(Y!==null&&ad(z)){var re=Y.start,ue=Y.end;if(ue===void 0&&(ue=re),"selectionStart"in z)z.selectionStart=re,z.selectionEnd=Math.min(ue,z.value.length);else{var me=z.ownerDocument||document,ie=me&&me.defaultView||window;if(ie.getSelection){var ce=ie.getSelection(),Me=z.textContent.length,Ze=Math.min(Y.start,Me),nn=Y.end===void 0?Ze:Math.min(Y.end,Me);!ce.extend&&Ze>nn&&(w=nn,nn=Ze,Ze=w);var ee=e4(z,Ze),J=e4(z,nn);if(ee&&J&&(ce.rangeCount!==1||ce.anchorNode!==ee.node||ce.anchorOffset!==ee.offset||ce.focusNode!==J.node||ce.focusOffset!==J.offset)){var ae=me.createRange();ae.setStart(ee.node,ee.offset),ce.removeAllRanges(),Ze>nn?(ce.addRange(ae),ce.extend(J.node,J.offset)):(ae.setEnd(J.node,J.offset),ce.addRange(ae))}}}}for(me=[],ce=z;ce=ce.parentNode;)ce.nodeType===1&&me.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof z.focus=="function"&&z.focus(),z=0;z<me.length;z++){var de=me[z];de.element.scrollLeft=de.left,de.element.scrollTop=de.top}}p1=!!N0,D0=N0=null}finally{qt=p,H.p=c,D.T=l}}n.current=r,Xn=2}}function v8(){if(Xn===2){Xn=0;var n=ss,r=Gl,l=(r.flags&8772)!==0;if((r.subtreeFlags&8772)!==0||l){l=D.T,D.T=null;var c=H.p;H.p=2;var p=qt;qt|=4;try{Gg(n,r.alternate,r)}finally{qt=p,H.p=c,D.T=l}}Xn=3}}function y8(){if(Xn===4||Xn===3){Xn=0,Ce();var n=ss,r=Gl,l=Ri,c=r8;(r.subtreeFlags&10256)!==0||(r.flags&10256)!==0?Xn=5:(Xn=0,Gl=ss=null,b8(n,n.pendingLanes));var p=n.pendingLanes;if(p===0&&(is=null),an(l),r=r.stateNode,pt&&typeof pt.onCommitFiberRoot=="function")try{pt.onCommitFiberRoot(En,r,void 0,(r.current.flags&128)===128)}catch{}if(c!==null){r=D.T,p=H.p,H.p=2,D.T=null;try{for(var v=n.onRecoverableError,w=0;w<c.length;w++){var z=c[w];v(z.value,{componentStack:z.stack})}}finally{D.T=r,H.p=p}}(Ri&3)!==0&&a1(),Xr(n),p=n.pendingLanes,(l&261930)!==0&&(p&42)!==0?n===y0?hc++:(hc=0,y0=n):hc=0,mc(0)}}function b8(n,r){(n.pooledCacheLanes&=r)===0&&(r=n.pooledCache,r!=null&&(n.pooledCache=null,Wo(r)))}function a1(){return g8(),v8(),y8(),S8()}function S8(){if(Xn!==5)return!1;var n=ss,r=g0;g0=0;var l=an(Ri),c=D.T,p=H.p;try{H.p=32>l?32:l,D.T=null,l=v0,v0=null;var v=ss,w=Ri;if(Xn=0,Gl=ss=null,Ri=0,(qt&6)!==0)throw Error(i(331));var z=qt;if(qt|=4,t8(v.current),Xg(v,v.current,w,l),qt=z,mc(0,!1),pt&&typeof pt.onPostCommitFiberRoot=="function")try{pt.onPostCommitFiberRoot(En,v)}catch{}return!0}finally{H.p=p,D.T=c,b8(n,r)}}function E8(n,r,l){r=lr(l,r),r=Jd(n.stateNode,r,2),n=$i(n,r,2),n!==null&&(ft(n,2),Xr(n))}function Xt(n,r,l){if(n.tag===3)E8(n,n,l);else for(;r!==null;){if(r.tag===3){E8(r,n,l);break}else if(r.tag===1){var c=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(is===null||!is.has(c))){n=lr(l,n),l=Ag(2),c=$i(r,l,2),c!==null&&(Cg(l,c,r,n),ft(c,2),Xr(c));break}}r=r.return}}function E0(n,r,l){var c=n.pingCache;if(c===null){c=n.pingCache=new UT;var p=new Set;c.set(r,p)}else p=c.get(r),p===void 0&&(p=new Set,c.set(r,p));p.has(l)||(h0=!0,p.add(l),n=VT.bind(null,n,r,l),r.then(n,n))}function VT(n,r,l){var c=n.pingCache;c!==null&&c.delete(r),n.pingedLanes|=n.suspendedLanes&l,n.warmLanes&=~l,rn===n&&(wt&l)===l&&(xn===4||xn===3&&(wt&62914560)===wt&&300>De()-Ku?(qt&2)===0&&Zl(n,0):m0|=l,Vl===wt&&(Vl=0)),Xr(n)}function A8(n,r){r===0&&(r=Ue()),n=Ls(n,r),n!==null&&(ft(n,r),Xr(n))}function GT(n){var r=n.memoizedState,l=0;r!==null&&(l=r.retryLane),A8(n,l)}function ZT(n,r){var l=0;switch(n.tag){case 31:case 13:var c=n.stateNode,p=n.memoizedState;p!==null&&(l=p.retryLane);break;case 19:c=n.stateNode;break;case 22:c=n.stateNode._retryCache;break;default:throw Error(i(314))}c!==null&&c.delete(r),A8(n,l)}function YT(n,r){return ot(n,r)}var r1=null,Wl=null,A0=!1,i1=!1,C0=!1,os=0;function Xr(n){n!==Wl&&n.next===null&&(Wl===null?r1=Wl=n:Wl=Wl.next=n),i1=!0,A0||(A0=!0,QT())}function mc(n,r){if(!C0&&i1){C0=!0;do for(var l=!1,c=r1;c!==null;){if(n!==0){var p=c.pendingLanes;if(p===0)var v=0;else{var w=c.suspendedLanes,z=c.pingedLanes;v=(1<<31-Ft(42|n)+1)-1,v&=p&~(w&~z),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(l=!0,T8(c,v))}else v=wt,v=ua(c,c===rn?v:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(v&3)===0||Xe(c,v)||(l=!0,T8(c,v));c=c.next}while(l);C0=!1}}function WT(){C8()}function C8(){i1=A0=!1;var n=0;os!==0&&iO()&&(n=os);for(var r=De(),l=null,c=r1;c!==null;){var p=c.next,v=w8(c,r);v===0?(c.next=null,l===null?r1=p:l.next=p,p===null&&(Wl=l)):(l=c,(n!==0||(v&3)!==0)&&(i1=!0)),c=p}Xn!==0&&Xn!==5||mc(n),os!==0&&(os=0)}function w8(n,r){for(var l=n.suspendedLanes,c=n.pingedLanes,p=n.expirationTimes,v=n.pendingLanes&-62914561;0<v;){var w=31-Ft(v),z=1<<w,Y=p[w];Y===-1?((z&l)===0||(z&c)!==0)&&(p[w]=on(z,r)):Y<=r&&(n.expiredLanes|=z),v&=~z}if(r=rn,l=wt,l=ua(n,n===r?l:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c=n.callbackNode,l===0||n===r&&(Kt===2||Kt===9)||n.cancelPendingCommit!==null)return c!==null&&c!==null&&gn(c),n.callbackNode=null,n.callbackPriority=0;if((l&3)===0||Xe(n,l)){if(r=l&-l,r===n.callbackPriority)return r;switch(c!==null&&gn(c),an(l)){case 2:case 8:l=_t;break;case 32:l=vn;break;case 268435456:l=Mn;break;default:l=vn}return c=x8.bind(null,n),l=ot(l,c),n.callbackPriority=r,n.callbackNode=l,r}return c!==null&&c!==null&&gn(c),n.callbackPriority=2,n.callbackNode=null,2}function x8(n,r){if(Xn!==0&&Xn!==5)return n.callbackNode=null,n.callbackPriority=0,null;var l=n.callbackNode;if(a1()&&n.callbackNode!==l)return null;var c=wt;return c=ua(n,n===rn?c:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),c===0?null:(s8(n,c,r),w8(n,De()),n.callbackNode!=null&&n.callbackNode===l?x8.bind(null,n):null)}function T8(n,r){if(a1())return null;s8(n,r,!0)}function QT(){lO(function(){(qt&6)!==0?ot(it,WT):C8()})}function w0(){if(os===0){var n=jl;n===0&&(n=Un,Un<<=1,(Un&261888)===0&&(Un=256)),os=n}return os}function O8(n){return n==null||typeof n=="symbol"||typeof n=="boolean"?null:typeof n=="function"?n:bl(""+n)}function R8(n,r){var l=r.ownerDocument.createElement("input");return l.name=r.name,l.value=r.value,n.id&&l.setAttribute("form",n.id),r.parentNode.insertBefore(l,r),n=new FormData(n),l.parentNode.removeChild(l),n}function JT(n,r,l,c,p){if(r==="submit"&&l&&l.stateNode===p){var v=O8((p[et]||null).action),w=c.submitter;w&&(r=(r=w[et]||null)?O8(r.formAction):w.getAttribute("formAction"),r!==null&&(v=r,w=null));var z=new Jt("action","action",null,c,p);n.push({event:z,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(os!==0){var Y=w?R8(p,w):new FormData(p);Vd(l,{pending:!0,data:Y,method:p.method,action:v},null,Y)}}else typeof v=="function"&&(z.preventDefault(),Y=w?R8(p,w):new FormData(p),Vd(l,{pending:!0,data:Y,method:p.method,action:v},v,Y))},currentTarget:p}]})}}for(var x0=0;x0<ld.length;x0++){var T0=ld[x0],KT=T0.toLowerCase(),XT=T0[0].toUpperCase()+T0.slice(1);Rr(KT,"on"+XT)}Rr(i4,"onAnimationEnd"),Rr(s4,"onAnimationIteration"),Rr(l4,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(mT,"onTransitionRun"),Rr(pT,"onTransitionStart"),Rr(gT,"onTransitionCancel"),Rr(o4,"onTransitionEnd"),zt("onMouseEnter",["mouseout","mouseover"]),zt("onMouseLeave",["mouseout","mouseover"]),zt("onPointerEnter",["pointerout","pointerover"]),zt("onPointerLeave",["pointerout","pointerover"]),jn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),jn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),jn("onBeforeInput",["compositionend","keypress","textInput","paste"]),jn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),jn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),jn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),$T=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(pc));function I8(n,r){r=(r&4)!==0;for(var l=0;l<n.length;l++){var c=n[l],p=c.event;c=c.listeners;e:{var v=void 0;if(r)for(var w=c.length-1;0<=w;w--){var z=c[w],Y=z.instance,re=z.currentTarget;if(z=z.listener,Y!==v&&p.isPropagationStopped())break e;v=z,p.currentTarget=re;try{v(p)}catch(ue){Su(ue)}p.currentTarget=null,v=Y}else for(w=0;w<c.length;w++){if(z=c[w],Y=z.instance,re=z.currentTarget,z=z.listener,Y!==v&&p.isPropagationStopped())break e;v=z,p.currentTarget=re;try{v(p)}catch(ue){Su(ue)}p.currentTarget=null,v=Y}}}}function St(n,r){var l=r[Ba];l===void 0&&(l=r[Ba]=new Set);var c=n+"__bubble";l.has(c)||(M8(r,n,2,!1),l.add(c))}function O0(n,r,l){var c=0;r&&(c|=4),M8(l,n,c,r)}var s1="_reactListening"+Math.random().toString(36).slice(2);function R0(n){if(!n[s1]){n[s1]=!0,Hn.forEach(function(l){l!=="selectionchange"&&($T.has(l)||O0(l,!1,n),O0(l,!0,n))});var r=n.nodeType===9?n:n.ownerDocument;r===null||r[s1]||(r[s1]=!0,O0("selectionchange",!1,r))}}function M8(n,r,l,c){switch(i7(r)){case 2:var p=OO;break;case 8:p=RO;break;default:p=F0}l=p.bind(null,r,l,n),p=void 0,!El||r!=="touchstart"&&r!=="touchmove"&&r!=="wheel"||(p=!0),c?p!==void 0?n.addEventListener(r,l,{capture:!0,passive:p}):n.addEventListener(r,l,!0):p!==void 0?n.addEventListener(r,l,{passive:p}):n.addEventListener(r,l,!1)}function I0(n,r,l,c,p){var v=c;if((r&1)===0&&(r&2)===0&&c!==null)e:for(;;){if(c===null)return;var w=c.tag;if(w===3||w===4){var z=c.stateNode.containerInfo;if(z===p)break;if(w===4)for(w=c.return;w!==null;){var Y=w.tag;if((Y===3||Y===4)&&w.stateNode.containerInfo===p)return;w=w.return}for(;z!==null;){if(w=Se(z),w===null)return;if(Y=w.tag,Y===5||Y===6||Y===26||Y===27){c=v=w;continue e}z=z.parentNode}}c=c.return}Uo(function(){var re=v,ue=Sl(l),me=[];e:{var ie=c4.get(n);if(ie!==void 0){var ce=Jt,Me=n;switch(n){case"keypress":if(Cl(l)===0)break e;case"keydown":case"keyup":ce=Zx;break;case"focusin":Me="focus",ce=Xf;break;case"focusout":Me="blur",ce=Xf;break;case"beforeblur":case"afterblur":ce=Xf;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Fn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=yu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=Qx;break;case i4:case s4:case l4:ce=zx;break;case o4:ce=Kx;break;case"scroll":case"scrollend":ce=Cn;break;case"wheel":ce=$x;break;case"copy":case"cut":case"paste":ce=Ux;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=P5;break;case"toggle":case"beforetoggle":ce=tT}var Ze=(r&4)!==0,nn=!Ze&&(n==="scroll"||n==="scrollend"),ee=Ze?ie!==null?ie+"Capture":null:ie;Ze=[];for(var J=re,ae;J!==null;){var de=J;if(ae=de.stateNode,de=de.tag,de!==5&&de!==26&&de!==27||ae===null||ee===null||(de=Gi(J,ee),de!=null&&Ze.push(gc(J,de,ae))),nn)break;J=J.return}0<Ze.length&&(ie=new ce(ie,Me,null,l,ue),me.push({event:ie,listeners:Ze}))}}if((r&7)===0){e:{if(ie=n==="mouseover"||n==="pointerover",ce=n==="mouseout"||n==="pointerout",ie&&l!==Ms&&(Me=l.relatedTarget||l.fromElement)&&(Se(Me)||Me[Ct]))break e;if((ce||ie)&&(ie=ue.window===ue?ue:(ie=ue.ownerDocument)?ie.defaultView||ie.parentWindow:window,ce?(Me=l.relatedTarget||l.toElement,ce=re,Me=Me?Se(Me):null,Me!==null&&(nn=o(Me),Ze=Me.tag,Me!==nn||Ze!==5&&Ze!==27&&Ze!==6)&&(Me=null)):(ce=null,Me=re),ce!==Me)){if(Ze=Fn,de="onMouseLeave",ee="onMouseEnter",J="mouse",(n==="pointerout"||n==="pointerover")&&(Ze=P5,de="onPointerLeave",ee="onPointerEnter",J="pointer"),nn=ce==null?ie:dt(ce),ae=Me==null?ie:dt(Me),ie=new Ze(de,J+"leave",ce,l,ue),ie.target=nn,ie.relatedTarget=ae,de=null,Se(ue)===re&&(Ze=new Ze(ee,J+"enter",Me,l,ue),Ze.target=ae,Ze.relatedTarget=nn,de=Ze),nn=de,ce&&Me)t:{for(Ze=eO,ee=ce,J=Me,ae=0,de=ee;de;de=Ze(de))ae++;de=0;for(var Be=J;Be;Be=Ze(Be))de++;for(;0<ae-de;)ee=Ze(ee),ae--;for(;0<de-ae;)J=Ze(J),de--;for(;ae--;){if(ee===J||J!==null&&ee===J.alternate){Ze=ee;break t}ee=Ze(ee),J=Ze(J)}Ze=null}else Ze=null;ce!==null&&N8(me,ie,ce,Ze,!1),Me!==null&&nn!==null&&N8(me,nn,Me,Ze,!0)}}e:{if(ie=re?dt(re):window,ce=ie.nodeName&&ie.nodeName.toLowerCase(),ce==="select"||ce==="input"&&ie.type==="file")var jt=W5;else if(Z5(ie))if(Q5)jt=fT;else{jt=cT;var _e=oT}else ce=ie.nodeName,!ce||ce.toLowerCase()!=="input"||ie.type!=="checkbox"&&ie.type!=="radio"?re&&qo(re.elementType)&&(jt=W5):jt=uT;if(jt&&(jt=jt(n,re))){Y5(me,jt,l,ue);break e}_e&&_e(n,ie,re),n==="focusout"&&re&&ie.type==="number"&&re.memoizedProps.value!=null&&Qe(ie,"number",ie.value)}switch(_e=re?dt(re):window,n){case"focusin":(Z5(_e)||_e.contentEditable==="true")&&(xl=_e,rd=re,Go=null);break;case"focusout":Go=rd=xl=null;break;case"mousedown":id=!0;break;case"contextmenu":case"mouseup":case"dragend":id=!1,a4(me,l,ue);break;case"selectionchange":if(hT)break;case"keydown":case"keyup":a4(me,l,ue)}var ht;if(ed)e:{switch(n){case"compositionstart":var xt="onCompositionStart";break e;case"compositionend":xt="onCompositionEnd";break e;case"compositionupdate":xt="onCompositionUpdate";break e}xt=void 0}else wl?V5(n,l)&&(xt="onCompositionEnd"):n==="keydown"&&l.keyCode===229&&(xt="onCompositionStart");xt&&(H5&&l.locale!=="ko"&&(wl||xt!=="onCompositionStart"?xt==="onCompositionEnd"&&wl&&(ht=Po()):(Or=ue,Al="value"in Or?Or.value:Or.textContent,wl=!0)),_e=l1(re,xt),0<_e.length&&(xt=new U5(xt,n,null,l,ue),me.push({event:xt,listeners:_e}),ht?xt.data=ht:(ht=G5(l),ht!==null&&(xt.data=ht)))),(ht=aT?rT(n,l):iT(n,l))&&(xt=l1(re,"onBeforeInput"),0<xt.length&&(_e=new U5("onBeforeInput","beforeinput",null,l,ue),me.push({event:_e,listeners:xt}),_e.data=ht)),JT(me,n,re,l,ue)}I8(me,r)})}function gc(n,r,l){return{instance:n,listener:r,currentTarget:l}}function l1(n,r){for(var l=r+"Capture",c=[];n!==null;){var p=n,v=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||v===null||(p=Gi(n,l),p!=null&&c.unshift(gc(n,p,v)),p=Gi(n,r),p!=null&&c.push(gc(n,p,v))),n.tag===3)return c;n=n.return}return[]}function eO(n){if(n===null)return null;do n=n.return;while(n&&n.tag!==5&&n.tag!==27);return n||null}function N8(n,r,l,c,p){for(var v=r._reactName,w=[];l!==null&&l!==c;){var z=l,Y=z.alternate,re=z.stateNode;if(z=z.tag,Y!==null&&Y===c)break;z!==5&&z!==26&&z!==27||re===null||(Y=re,p?(re=Gi(l,v),re!=null&&w.unshift(gc(l,re,Y))):p||(re=Gi(l,v),re!=null&&w.push(gc(l,re,Y)))),l=l.return}w.length!==0&&n.push({event:r,listeners:w})}var tO=/\r\n?/g,nO=/\u0000|\uFFFD/g;function D8(n){return(typeof n=="string"?n:""+n).replace(tO,`
`).replace(nO,"")}function j8(n,r){return r=D8(r),D8(n)===r}function tn(n,r,l,c,p,v){switch(l){case"children":typeof c=="string"?r==="body"||r==="textarea"&&c===""||xr(n,c):(typeof c=="number"||typeof c=="bigint")&&r!=="body"&&xr(n,""+c);break;case"className":ar(n,"class",c);break;case"tabIndex":ar(n,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":ar(n,l,c);break;case"style":gu(n,c,v);break;case"data":if(r!=="object"){ar(n,"data",c);break}case"src":case"href":if(c===""&&(r!=="a"||l!=="href")){n.removeAttribute(l);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=bl(""+c),n.setAttribute(l,c);break;case"action":case"formAction":if(typeof c=="function"){n.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(l==="formAction"?(r!=="input"&&tn(n,r,"name",p.name,p,null),tn(n,r,"formEncType",p.formEncType,p,null),tn(n,r,"formMethod",p.formMethod,p,null),tn(n,r,"formTarget",p.formTarget,p,null)):(tn(n,r,"encType",p.encType,p,null),tn(n,r,"method",p.method,p,null),tn(n,r,"target",p.target,p,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){n.removeAttribute(l);break}c=bl(""+c),n.setAttribute(l,c);break;case"onClick":c!=null&&(n.onclick=rr);break;case"onScroll":c!=null&&St("scroll",n);break;case"onScrollEnd":c!=null&&St("scrollend",n);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(i(61));if(l=c.__html,l!=null){if(p.children!=null)throw Error(i(60));n.innerHTML=l}}break;case"multiple":n.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":n.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){n.removeAttribute("xlink:href");break}l=bl(""+c),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""+c):n.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,""):n.removeAttribute(l);break;case"capture":case"download":c===!0?n.setAttribute(l,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?n.setAttribute(l,c):n.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?n.setAttribute(l,c):n.removeAttribute(l);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?n.removeAttribute(l):n.setAttribute(l,c);break;case"popover":St("beforetoggle",n),St("toggle",n),Wr(n,"popover",c);break;case"xlinkActuate":na(n,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":na(n,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":na(n,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":na(n,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":na(n,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":na(n,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":na(n,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":na(n,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":na(n,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Wr(n,"is",c);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Bn.get(l)||l,Wr(n,l,c))}}function M0(n,r,l,c,p,v){switch(l){case"style":gu(n,c,v);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(i(61));if(l=c.__html,l!=null){if(p.children!=null)throw Error(i(60));n.innerHTML=l}}break;case"children":typeof c=="string"?xr(n,c):(typeof c=="number"||typeof c=="bigint")&&xr(n,""+c);break;case"onScroll":c!=null&&St("scroll",n);break;case"onScrollEnd":c!=null&&St("scrollend",n);break;case"onClick":c!=null&&(n.onclick=rr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Kn.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(p=l.endsWith("Capture"),r=l.slice(2,p?l.length-7:void 0),v=n[et]||null,v=v!=null?v[l]:null,typeof v=="function"&&n.removeEventListener(r,v,p),typeof c=="function")){typeof v!="function"&&v!==null&&(l in n?n[l]=null:n.hasAttribute(l)&&n.removeAttribute(l)),n.addEventListener(r,c,p);break e}l in n?n[l]=c:c===!0?n.setAttribute(l,""):Wr(n,l,c)}}}function pa(n,r,l){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":St("error",n),St("load",n);var c=!1,p=!1,v;for(v in l)if(l.hasOwnProperty(v)){var w=l[v];if(w!=null)switch(v){case"src":c=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:tn(n,r,v,w,l,null)}}p&&tn(n,r,"srcSet",l.srcSet,l,null),c&&tn(n,r,"src",l.src,l,null);return;case"input":St("invalid",n);var z=v=w=p=null,Y=null,re=null;for(c in l)if(l.hasOwnProperty(c)){var ue=l[c];if(ue!=null)switch(c){case"name":p=ue;break;case"type":w=ue;break;case"checked":Y=ue;break;case"defaultChecked":re=ue;break;case"value":v=ue;break;case"defaultValue":z=ue;break;case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(i(137,r));break;default:tn(n,r,c,ue,l,null)}}xe(n,v,z,Y,re,w,p,!1);return;case"select":St("invalid",n),c=w=v=null;for(p in l)if(l.hasOwnProperty(p)&&(z=l[p],z!=null))switch(p){case"value":v=z;break;case"defaultValue":w=z;break;case"multiple":c=z;default:tn(n,r,p,z,l,null)}r=v,l=w,n.multiple=!!c,r!=null?Gt(n,!!c,r,!1):l!=null&&Gt(n,!!c,l,!0);return;case"textarea":St("invalid",n),v=p=c=null;for(w in l)if(l.hasOwnProperty(w)&&(z=l[w],z!=null))switch(w){case"value":c=z;break;case"defaultValue":p=z;break;case"children":v=z;break;case"dangerouslySetInnerHTML":if(z!=null)throw Error(i(91));break;default:tn(n,r,w,z,l,null)}fa(n,c,p,v);return;case"option":for(Y in l)if(l.hasOwnProperty(Y)&&(c=l[Y],c!=null))switch(Y){case"selected":n.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:tn(n,r,Y,c,l,null)}return;case"dialog":St("beforetoggle",n),St("toggle",n),St("cancel",n),St("close",n);break;case"iframe":case"object":St("load",n);break;case"video":case"audio":for(c=0;c<pc.length;c++)St(pc[c],n);break;case"image":St("error",n),St("load",n);break;case"details":St("toggle",n);break;case"embed":case"source":case"link":St("error",n),St("load",n);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(re in l)if(l.hasOwnProperty(re)&&(c=l[re],c!=null))switch(re){case"children":case"dangerouslySetInnerHTML":throw Error(i(137,r));default:tn(n,r,re,c,l,null)}return;default:if(qo(r)){for(ue in l)l.hasOwnProperty(ue)&&(c=l[ue],c!==void 0&&M0(n,r,ue,c,l,void 0));return}}for(z in l)l.hasOwnProperty(z)&&(c=l[z],c!=null&&tn(n,r,z,c,l,null))}function aO(n,r,l,c){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,v=null,w=null,z=null,Y=null,re=null,ue=null;for(ce in l){var me=l[ce];if(l.hasOwnProperty(ce)&&me!=null)switch(ce){case"checked":break;case"value":break;case"defaultValue":Y=me;default:c.hasOwnProperty(ce)||tn(n,r,ce,null,c,me)}}for(var ie in c){var ce=c[ie];if(me=l[ie],c.hasOwnProperty(ie)&&(ce!=null||me!=null))switch(ie){case"type":v=ce;break;case"name":p=ce;break;case"checked":re=ce;break;case"defaultChecked":ue=ce;break;case"value":w=ce;break;case"defaultValue":z=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(i(137,r));break;default:ce!==me&&tn(n,r,ie,ce,c,me)}}pe(n,w,z,Y,re,ue,v,p);return;case"select":ce=w=z=ie=null;for(v in l)if(Y=l[v],l.hasOwnProperty(v)&&Y!=null)switch(v){case"value":break;case"multiple":ce=Y;default:c.hasOwnProperty(v)||tn(n,r,v,null,c,Y)}for(p in c)if(v=c[p],Y=l[p],c.hasOwnProperty(p)&&(v!=null||Y!=null))switch(p){case"value":ie=v;break;case"defaultValue":z=v;break;case"multiple":w=v;default:v!==Y&&tn(n,r,p,v,c,Y)}r=z,l=w,c=ce,ie!=null?Gt(n,!!l,ie,!1):!!c!=!!l&&(r!=null?Gt(n,!!l,r,!0):Gt(n,!!l,l?[]:"",!1));return;case"textarea":ce=ie=null;for(z in l)if(p=l[z],l.hasOwnProperty(z)&&p!=null&&!c.hasOwnProperty(z))switch(z){case"value":break;case"children":break;default:tn(n,r,z,null,c,p)}for(w in c)if(p=c[w],v=l[w],c.hasOwnProperty(w)&&(p!=null||v!=null))switch(w){case"value":ie=p;break;case"defaultValue":ce=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(i(91));break;default:p!==v&&tn(n,r,w,p,c,v)}yt(n,ie,ce);return;case"option":for(var Me in l)if(ie=l[Me],l.hasOwnProperty(Me)&&ie!=null&&!c.hasOwnProperty(Me))switch(Me){case"selected":n.selected=!1;break;default:tn(n,r,Me,null,c,ie)}for(Y in c)if(ie=c[Y],ce=l[Y],c.hasOwnProperty(Y)&&ie!==ce&&(ie!=null||ce!=null))switch(Y){case"selected":n.selected=ie&&typeof ie!="function"&&typeof ie!="symbol";break;default:tn(n,r,Y,ie,c,ce)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ze in l)ie=l[Ze],l.hasOwnProperty(Ze)&&ie!=null&&!c.hasOwnProperty(Ze)&&tn(n,r,Ze,null,c,ie);for(re in c)if(ie=c[re],ce=l[re],c.hasOwnProperty(re)&&ie!==ce&&(ie!=null||ce!=null))switch(re){case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(i(137,r));break;default:tn(n,r,re,ie,c,ce)}return;default:if(qo(r)){for(var nn in l)ie=l[nn],l.hasOwnProperty(nn)&&ie!==void 0&&!c.hasOwnProperty(nn)&&M0(n,r,nn,void 0,c,ie);for(ue in c)ie=c[ue],ce=l[ue],!c.hasOwnProperty(ue)||ie===ce||ie===void 0&&ce===void 0||M0(n,r,ue,ie,c,ce);return}}for(var ee in l)ie=l[ee],l.hasOwnProperty(ee)&&ie!=null&&!c.hasOwnProperty(ee)&&tn(n,r,ee,null,c,ie);for(me in c)ie=c[me],ce=l[me],!c.hasOwnProperty(me)||ie===ce||ie==null&&ce==null||tn(n,r,me,ie,c,ce)}function L8(n){switch(n){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function rO(){if(typeof performance.getEntriesByType=="function"){for(var n=0,r=0,l=performance.getEntriesByType("resource"),c=0;c<l.length;c++){var p=l[c],v=p.transferSize,w=p.initiatorType,z=p.duration;if(v&&z&&L8(w)){for(w=0,z=p.responseEnd,c+=1;c<l.length;c++){var Y=l[c],re=Y.startTime;if(re>z)break;var ue=Y.transferSize,me=Y.initiatorType;ue&&L8(me)&&(Y=Y.responseEnd,w+=ue*(Y<z?1:(z-re)/(Y-re)))}if(--c,r+=8*(v+w)/(p.duration/1e3),n++,10<n)break}}if(0<n)return r/n/1e6}return navigator.connection&&(n=navigator.connection.downlink,typeof n=="number")?n:5}var N0=null,D0=null;function o1(n){return n.nodeType===9?n:n.ownerDocument}function k8(n){switch(n){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function _8(n,r){if(n===0)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return n===1&&r==="foreignObject"?0:n}function j0(n,r){return n==="textarea"||n==="noscript"||typeof r.children=="string"||typeof r.children=="number"||typeof r.children=="bigint"||typeof r.dangerouslySetInnerHTML=="object"&&r.dangerouslySetInnerHTML!==null&&r.dangerouslySetInnerHTML.__html!=null}var L0=null;function iO(){var n=window.event;return n&&n.type==="popstate"?n===L0?!1:(L0=n,!0):(L0=null,!1)}var z8=typeof setTimeout=="function"?setTimeout:void 0,sO=typeof clearTimeout=="function"?clearTimeout:void 0,q8=typeof Promise=="function"?Promise:void 0,lO=typeof queueMicrotask=="function"?queueMicrotask:typeof q8<"u"?function(n){return q8.resolve(null).then(n).catch(oO)}:z8;function oO(n){setTimeout(function(){throw n})}function cs(n){return n==="head"}function U8(n,r){var l=r,c=0;do{var p=l.nextSibling;if(n.removeChild(l),p&&p.nodeType===8)if(l=p.data,l==="/$"||l==="/&"){if(c===0){n.removeChild(p),Xl(r);return}c--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")c++;else if(l==="html")vc(n.ownerDocument.documentElement);else if(l==="head"){l=n.ownerDocument.head,vc(l);for(var v=l.firstChild;v;){var w=v.nextSibling,z=v.nodeName;v[Q]||z==="SCRIPT"||z==="STYLE"||z==="LINK"&&v.rel.toLowerCase()==="stylesheet"||l.removeChild(v),v=w}}else l==="body"&&vc(n.ownerDocument.body);l=p}while(l);Xl(r)}function P8(n,r){var l=n;n=0;do{var c=l.nextSibling;if(l.nodeType===1?r?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(r?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),c&&c.nodeType===8)if(l=c.data,l==="/$"){if(n===0)break;n--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||n++;l=c}while(l)}function k0(n){var r=n.firstChild;for(r&&r.nodeType===10&&(r=r.nextSibling);r;){var l=r;switch(r=r.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":k0(l),ve(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}n.removeChild(l)}}function cO(n,r,l,c){for(;n.nodeType===1;){var p=l;if(n.nodeName.toLowerCase()!==r.toLowerCase()){if(!c&&(n.nodeName!=="INPUT"||n.type!=="hidden"))break}else if(c){if(!n[Q])switch(r){case"meta":if(!n.hasAttribute("itemprop"))break;return n;case"link":if(v=n.getAttribute("rel"),v==="stylesheet"&&n.hasAttribute("data-precedence"))break;if(v!==p.rel||n.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||n.getAttribute("title")!==(p.title==null?null:p.title))break;return n;case"style":if(n.hasAttribute("data-precedence"))break;return n;case"script":if(v=n.getAttribute("src"),(v!==(p.src==null?null:p.src)||n.getAttribute("type")!==(p.type==null?null:p.type)||n.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&v&&n.hasAttribute("async")&&!n.hasAttribute("itemprop"))break;return n;default:return n}}else if(r==="input"&&n.type==="hidden"){var v=p.name==null?null:""+p.name;if(p.type==="hidden"&&n.getAttribute("name")===v)return n}else return n;if(n=dr(n.nextSibling),n===null)break}return null}function uO(n,r,l){if(r==="")return null;for(;n.nodeType!==3;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!l||(n=dr(n.nextSibling),n===null))return null;return n}function H8(n,r){for(;n.nodeType!==8;)if((n.nodeType!==1||n.nodeName!=="INPUT"||n.type!=="hidden")&&!r||(n=dr(n.nextSibling),n===null))return null;return n}function _0(n){return n.data==="$?"||n.data==="$~"}function z0(n){return n.data==="$!"||n.data==="$?"&&n.ownerDocument.readyState!=="loading"}function fO(n,r){var l=n.ownerDocument;if(n.data==="$~")n._reactRetry=r;else if(n.data!=="$?"||l.readyState!=="loading")r();else{var c=function(){r(),l.removeEventListener("DOMContentLoaded",c)};l.addEventListener("DOMContentLoaded",c),n._reactRetry=c}}function dr(n){for(;n!=null;n=n.nextSibling){var r=n.nodeType;if(r===1||r===3)break;if(r===8){if(r=n.data,r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"||r==="F!"||r==="F")break;if(r==="/$"||r==="/&")return null}}return n}var q0=null;function B8(n){n=n.nextSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="/$"||l==="/&"){if(r===0)return dr(n.nextSibling);r--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||r++}n=n.nextSibling}return null}function F8(n){n=n.previousSibling;for(var r=0;n;){if(n.nodeType===8){var l=n.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(r===0)return n;r--}else l!=="/$"&&l!=="/&"||r++}n=n.previousSibling}return null}function V8(n,r,l){switch(r=o1(l),n){case"html":if(n=r.documentElement,!n)throw Error(i(452));return n;case"head":if(n=r.head,!n)throw Error(i(453));return n;case"body":if(n=r.body,!n)throw Error(i(454));return n;default:throw Error(i(451))}}function vc(n){for(var r=n.attributes;r.length;)n.removeAttributeNode(r[0]);ve(n)}var hr=new Map,G8=new Set;function c1(n){return typeof n.getRootNode=="function"?n.getRootNode():n.nodeType===9?n:n.ownerDocument}var Ii=H.d;H.d={f:dO,r:hO,D:mO,C:pO,L:gO,m:vO,X:bO,S:yO,M:SO};function dO(){var n=Ii.f(),r=e1();return n||r}function hO(n){var r=Ie(n);r!==null&&r.tag===5&&r.type==="form"?og(r):Ii.r(n)}var Ql=typeof document>"u"?null:document;function Z8(n,r,l){var c=Ql;if(c&&typeof r=="string"&&r){var p=oe(r);p='link[rel="'+n+'"][href="'+p+'"]',typeof l=="string"&&(p+='[crossorigin="'+l+'"]'),G8.has(p)||(G8.add(p),n={rel:n,crossOrigin:l,href:r},c.querySelector(p)===null&&(r=c.createElement("link"),pa(r,"link",n),We(r),c.head.appendChild(r)))}}function mO(n){Ii.D(n),Z8("dns-prefetch",n,null)}function pO(n,r){Ii.C(n,r),Z8("preconnect",n,r)}function gO(n,r,l){Ii.L(n,r,l);var c=Ql;if(c&&n&&r){var p='link[rel="preload"][as="'+oe(r)+'"]';r==="image"&&l&&l.imageSrcSet?(p+='[imagesrcset="'+oe(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(p+='[imagesizes="'+oe(l.imageSizes)+'"]')):p+='[href="'+oe(n)+'"]';var v=p;switch(r){case"style":v=Jl(n);break;case"script":v=Kl(n)}hr.has(v)||(n=b({rel:"preload",href:r==="image"&&l&&l.imageSrcSet?void 0:n,as:r},l),hr.set(v,n),c.querySelector(p)!==null||r==="style"&&c.querySelector(yc(v))||r==="script"&&c.querySelector(bc(v))||(r=c.createElement("link"),pa(r,"link",n),We(r),c.head.appendChild(r)))}}function vO(n,r){Ii.m(n,r);var l=Ql;if(l&&n){var c=r&&typeof r.as=="string"?r.as:"script",p='link[rel="modulepreload"][as="'+oe(c)+'"][href="'+oe(n)+'"]',v=p;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Kl(n)}if(!hr.has(v)&&(n=b({rel:"modulepreload",href:n},r),hr.set(v,n),l.querySelector(p)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(bc(v)))return}c=l.createElement("link"),pa(c,"link",n),We(c),l.head.appendChild(c)}}}function yO(n,r,l){Ii.S(n,r,l);var c=Ql;if(c&&n){var p=gt(c).hoistableStyles,v=Jl(n);r=r||"default";var w=p.get(v);if(!w){var z={loading:0,preload:null};if(w=c.querySelector(yc(v)))z.loading=5;else{n=b({rel:"stylesheet",href:n,"data-precedence":r},l),(l=hr.get(v))&&U0(n,l);var Y=w=c.createElement("link");We(Y),pa(Y,"link",n),Y._p=new Promise(function(re,ue){Y.onload=re,Y.onerror=ue}),Y.addEventListener("load",function(){z.loading|=1}),Y.addEventListener("error",function(){z.loading|=2}),z.loading|=4,u1(w,r,c)}w={type:"stylesheet",instance:w,count:1,state:z},p.set(v,w)}}}function bO(n,r){Ii.X(n,r);var l=Ql;if(l&&n){var c=gt(l).hoistableScripts,p=Kl(n),v=c.get(p);v||(v=l.querySelector(bc(p)),v||(n=b({src:n,async:!0},r),(r=hr.get(p))&&P0(n,r),v=l.createElement("script"),We(v),pa(v,"link",n),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(p,v))}}function SO(n,r){Ii.M(n,r);var l=Ql;if(l&&n){var c=gt(l).hoistableScripts,p=Kl(n),v=c.get(p);v||(v=l.querySelector(bc(p)),v||(n=b({src:n,async:!0,type:"module"},r),(r=hr.get(p))&&P0(n,r),v=l.createElement("script"),We(v),pa(v,"link",n),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},c.set(p,v))}}function Y8(n,r,l,c){var p=(p=ye.current)?c1(p):null;if(!p)throw Error(i(446));switch(n){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(r=Jl(l.href),l=gt(p).hoistableStyles,c=l.get(r),c||(c={type:"style",instance:null,count:0,state:null},l.set(r,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){n=Jl(l.href);var v=gt(p).hoistableStyles,w=v.get(n);if(w||(p=p.ownerDocument||p,w={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(n,w),(v=p.querySelector(yc(n)))&&!v._p&&(w.instance=v,w.state.loading=5),hr.has(n)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},hr.set(n,l),v||EO(p,n,l,w.state))),r&&c===null)throw Error(i(528,""));return w}if(r&&c!==null)throw Error(i(529,""));return null;case"script":return r=l.async,l=l.src,typeof l=="string"&&r&&typeof r!="function"&&typeof r!="symbol"?(r=Kl(l),l=gt(p).hoistableScripts,c=l.get(r),c||(c={type:"script",instance:null,count:0,state:null},l.set(r,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(i(444,n))}}function Jl(n){return'href="'+oe(n)+'"'}function yc(n){return'link[rel="stylesheet"]['+n+"]"}function W8(n){return b({},n,{"data-precedence":n.precedence,precedence:null})}function EO(n,r,l,c){n.querySelector('link[rel="preload"][as="style"]['+r+"]")?c.loading=1:(r=n.createElement("link"),c.preload=r,r.addEventListener("load",function(){return c.loading|=1}),r.addEventListener("error",function(){return c.loading|=2}),pa(r,"link",l),We(r),n.head.appendChild(r))}function Kl(n){return'[src="'+oe(n)+'"]'}function bc(n){return"script[async]"+n}function Q8(n,r,l){if(r.count++,r.instance===null)switch(r.type){case"style":var c=n.querySelector('style[data-href~="'+oe(l.href)+'"]');if(c)return r.instance=c,We(c),c;var p=b({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return c=(n.ownerDocument||n).createElement("style"),We(c),pa(c,"style",p),u1(c,l.precedence,n),r.instance=c;case"stylesheet":p=Jl(l.href);var v=n.querySelector(yc(p));if(v)return r.state.loading|=4,r.instance=v,We(v),v;c=W8(l),(p=hr.get(p))&&U0(c,p),v=(n.ownerDocument||n).createElement("link"),We(v);var w=v;return w._p=new Promise(function(z,Y){w.onload=z,w.onerror=Y}),pa(v,"link",c),r.state.loading|=4,u1(v,l.precedence,n),r.instance=v;case"script":return v=Kl(l.src),(p=n.querySelector(bc(v)))?(r.instance=p,We(p),p):(c=l,(p=hr.get(v))&&(c=b({},l),P0(c,p)),n=n.ownerDocument||n,p=n.createElement("script"),We(p),pa(p,"link",c),n.head.appendChild(p),r.instance=p);case"void":return null;default:throw Error(i(443,r.type))}else r.type==="stylesheet"&&(r.state.loading&4)===0&&(c=r.instance,r.state.loading|=4,u1(c,l.precedence,n));return r.instance}function u1(n,r,l){for(var c=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=c.length?c[c.length-1]:null,v=p,w=0;w<c.length;w++){var z=c[w];if(z.dataset.precedence===r)v=z;else if(v!==p)break}v?v.parentNode.insertBefore(n,v.nextSibling):(r=l.nodeType===9?l.head:l,r.insertBefore(n,r.firstChild))}function U0(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.title==null&&(n.title=r.title)}function P0(n,r){n.crossOrigin==null&&(n.crossOrigin=r.crossOrigin),n.referrerPolicy==null&&(n.referrerPolicy=r.referrerPolicy),n.integrity==null&&(n.integrity=r.integrity)}var f1=null;function J8(n,r,l){if(f1===null){var c=new Map,p=f1=new Map;p.set(l,c)}else p=f1,c=p.get(l),c||(c=new Map,p.set(l,c));if(c.has(n))return c;for(c.set(n,null),l=l.getElementsByTagName(n),p=0;p<l.length;p++){var v=l[p];if(!(v[Q]||v[ke]||n==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var w=v.getAttribute(r)||"";w=n+w;var z=c.get(w);z?z.push(v):c.set(w,[v])}}return c}function K8(n,r,l){n=n.ownerDocument||n,n.head.insertBefore(l,r==="title"?n.querySelector("head > title"):null)}function AO(n,r,l){if(l===1||r.itemProp!=null)return!1;switch(n){case"meta":case"title":return!0;case"style":if(typeof r.precedence!="string"||typeof r.href!="string"||r.href==="")break;return!0;case"link":if(typeof r.rel!="string"||typeof r.href!="string"||r.href===""||r.onLoad||r.onError)break;switch(r.rel){case"stylesheet":return n=r.disabled,typeof r.precedence=="string"&&n==null;default:return!0}case"script":if(r.async&&typeof r.async!="function"&&typeof r.async!="symbol"&&!r.onLoad&&!r.onError&&r.src&&typeof r.src=="string")return!0}return!1}function X8(n){return!(n.type==="stylesheet"&&(n.state.loading&3)===0)}function CO(n,r,l,c){if(l.type==="stylesheet"&&(typeof c.media!="string"||matchMedia(c.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var p=Jl(c.href),v=r.querySelector(yc(p));if(v){r=v._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(n.count++,n=d1.bind(n),r.then(n,n)),l.state.loading|=4,l.instance=v,We(v);return}v=r.ownerDocument||r,c=W8(c),(p=hr.get(p))&&U0(c,p),v=v.createElement("link"),We(v);var w=v;w._p=new Promise(function(z,Y){w.onload=z,w.onerror=Y}),pa(v,"link",c),l.instance=v}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(l,r),(r=l.state.preload)&&(l.state.loading&3)===0&&(n.count++,l=d1.bind(n),r.addEventListener("load",l),r.addEventListener("error",l))}}var H0=0;function wO(n,r){return n.stylesheets&&n.count===0&&m1(n,n.stylesheets),0<n.count||0<n.imgCount?function(l){var c=setTimeout(function(){if(n.stylesheets&&m1(n,n.stylesheets),n.unsuspend){var v=n.unsuspend;n.unsuspend=null,v()}},6e4+r);0<n.imgBytes&&H0===0&&(H0=62500*rO());var p=setTimeout(function(){if(n.waitingForImages=!1,n.count===0&&(n.stylesheets&&m1(n,n.stylesheets),n.unsuspend)){var v=n.unsuspend;n.unsuspend=null,v()}},(n.imgBytes>H0?50:800)+r);return n.unsuspend=l,function(){n.unsuspend=null,clearTimeout(c),clearTimeout(p)}}:null}function d1(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)m1(this,this.stylesheets);else if(this.unsuspend){var n=this.unsuspend;this.unsuspend=null,n()}}}var h1=null;function m1(n,r){n.stylesheets=null,n.unsuspend!==null&&(n.count++,h1=new Map,r.forEach(xO,n),h1=null,d1.call(n))}function xO(n,r){if(!(r.state.loading&4)){var l=h1.get(n);if(l)var c=l.get(null);else{l=new Map,h1.set(n,l);for(var p=n.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<p.length;v++){var w=p[v];(w.nodeName==="LINK"||w.getAttribute("media")!=="not all")&&(l.set(w.dataset.precedence,w),c=w)}c&&l.set(null,c)}p=r.instance,w=p.getAttribute("data-precedence"),v=l.get(w)||c,v===c&&l.set(null,p),l.set(w,p),this.count++,c=d1.bind(this),p.addEventListener("load",c),p.addEventListener("error",c),v?v.parentNode.insertBefore(p,v.nextSibling):(n=n.nodeType===9?n.head:n,n.insertBefore(p,n.firstChild)),r.state.loading|=4}}var Sc={$$typeof:j,Provider:null,Consumer:null,_currentValue:k,_currentValue2:k,_threadCount:0};function TO(n,r,l,c,p,v,w,z,Y){this.tag=1,this.containerInfo=n,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=$e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=$e(0),this.hiddenUpdates=$e(null),this.identifierPrefix=c,this.onUncaughtError=p,this.onCaughtError=v,this.onRecoverableError=w,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=Y,this.incompleteTransitions=new Map}function $8(n,r,l,c,p,v,w,z,Y,re,ue,me){return n=new TO(n,r,l,w,Y,re,ue,me,z),r=1,v===!0&&(r|=24),v=Ya(3,null,null,r),n.current=v,v.stateNode=n,r=Sd(),r.refCount++,n.pooledCache=r,r.refCount++,v.memoizedState={element:c,isDehydrated:l,cache:r},wd(v),n}function e7(n){return n?(n=Rl,n):Rl}function t7(n,r,l,c,p,v){p=e7(p),c.context===null?c.context=p:c.pendingContext=p,c=Xi(r),c.payload={element:l},v=v===void 0?null:v,v!==null&&(c.callback=v),l=$i(n,c,r),l!==null&&(za(l,n,r),Xo(l,n,r))}function n7(n,r){if(n=n.memoizedState,n!==null&&n.dehydrated!==null){var l=n.retryLane;n.retryLane=l!==0&&l<r?l:r}}function B0(n,r){n7(n,r),(n=n.alternate)&&n7(n,r)}function a7(n){if(n.tag===13||n.tag===31){var r=Ls(n,67108864);r!==null&&za(r,n,67108864),B0(n,67108864)}}function r7(n){if(n.tag===13||n.tag===31){var r=Xa();r=Rt(r);var l=Ls(n,r);l!==null&&za(l,n,r),B0(n,r)}}var p1=!0;function OO(n,r,l,c){var p=D.T;D.T=null;var v=H.p;try{H.p=2,F0(n,r,l,c)}finally{H.p=v,D.T=p}}function RO(n,r,l,c){var p=D.T;D.T=null;var v=H.p;try{H.p=8,F0(n,r,l,c)}finally{H.p=v,D.T=p}}function F0(n,r,l,c){if(p1){var p=V0(c);if(p===null)I0(n,r,c,g1,l),s7(n,c);else if(MO(p,n,r,l,c))c.stopPropagation();else if(s7(n,c),r&4&&-1<IO.indexOf(n)){for(;p!==null;){var v=Ie(p);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var w=yn(v.pendingLanes);if(w!==0){var z=v;for(z.pendingLanes|=2,z.entangledLanes|=2;w;){var Y=1<<31-Ft(w);z.entanglements[1]|=Y,w&=~Y}Xr(v),(qt&6)===0&&(Xu=De()+500,mc(0))}}break;case 31:case 13:z=Ls(v,2),z!==null&&za(z,v,2),e1(),B0(v,2)}if(v=V0(c),v===null&&I0(n,r,c,g1,l),v===p)break;p=v}p!==null&&c.stopPropagation()}else I0(n,r,c,null,l)}}function V0(n){return n=Sl(n),G0(n)}var g1=null;function G0(n){if(g1=null,n=Se(n),n!==null){var r=o(n);if(r===null)n=null;else{var l=r.tag;if(l===13){if(n=u(r),n!==null)return n;n=null}else if(l===31){if(n=d(r),n!==null)return n;n=null}else if(l===3){if(r.stateNode.current.memoizedState.isDehydrated)return r.tag===3?r.stateNode.containerInfo:null;n=null}else r!==n&&(n=null)}}return g1=n,null}function i7(n){switch(n){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(He()){case it:return 2;case _t:return 8;case vn:case qn:return 32;case Mn:return 268435456;default:return 32}default:return 32}}var Z0=!1,us=null,fs=null,ds=null,Ec=new Map,Ac=new Map,hs=[],IO="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function s7(n,r){switch(n){case"focusin":case"focusout":us=null;break;case"dragenter":case"dragleave":fs=null;break;case"mouseover":case"mouseout":ds=null;break;case"pointerover":case"pointerout":Ec.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ac.delete(r.pointerId)}}function Cc(n,r,l,c,p,v){return n===null||n.nativeEvent!==v?(n={blockedOn:r,domEventName:l,eventSystemFlags:c,nativeEvent:v,targetContainers:[p]},r!==null&&(r=Ie(r),r!==null&&a7(r)),n):(n.eventSystemFlags|=c,r=n.targetContainers,p!==null&&r.indexOf(p)===-1&&r.push(p),n)}function MO(n,r,l,c,p){switch(r){case"focusin":return us=Cc(us,n,r,l,c,p),!0;case"dragenter":return fs=Cc(fs,n,r,l,c,p),!0;case"mouseover":return ds=Cc(ds,n,r,l,c,p),!0;case"pointerover":var v=p.pointerId;return Ec.set(v,Cc(Ec.get(v)||null,n,r,l,c,p)),!0;case"gotpointercapture":return v=p.pointerId,Ac.set(v,Cc(Ac.get(v)||null,n,r,l,c,p)),!0}return!1}function l7(n){var r=Se(n.target);if(r!==null){var l=o(r);if(l!==null){if(r=l.tag,r===13){if(r=u(l),r!==null){n.blockedOn=r,Dn(n.priority,function(){r7(l)});return}}else if(r===31){if(r=d(l),r!==null){n.blockedOn=r,Dn(n.priority,function(){r7(l)});return}}else if(r===3&&l.stateNode.current.memoizedState.isDehydrated){n.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}n.blockedOn=null}function v1(n){if(n.blockedOn!==null)return!1;for(var r=n.targetContainers;0<r.length;){var l=V0(n.nativeEvent);if(l===null){l=n.nativeEvent;var c=new l.constructor(l.type,l);Ms=c,l.target.dispatchEvent(c),Ms=null}else return r=Ie(l),r!==null&&a7(r),n.blockedOn=l,!1;r.shift()}return!0}function o7(n,r,l){v1(n)&&l.delete(r)}function NO(){Z0=!1,us!==null&&v1(us)&&(us=null),fs!==null&&v1(fs)&&(fs=null),ds!==null&&v1(ds)&&(ds=null),Ec.forEach(o7),Ac.forEach(o7)}function y1(n,r){n.blockedOn===r&&(n.blockedOn=null,Z0||(Z0=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,NO)))}var b1=null;function c7(n){b1!==n&&(b1=n,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){b1===n&&(b1=null);for(var r=0;r<n.length;r+=3){var l=n[r],c=n[r+1],p=n[r+2];if(typeof c!="function"){if(G0(c||l)===null)continue;break}var v=Ie(l);v!==null&&(n.splice(r,3),r-=3,Vd(v,{pending:!0,data:p,method:l.method,action:c},c,p))}}))}function Xl(n){function r(Y){return y1(Y,n)}us!==null&&y1(us,n),fs!==null&&y1(fs,n),ds!==null&&y1(ds,n),Ec.forEach(r),Ac.forEach(r);for(var l=0;l<hs.length;l++){var c=hs[l];c.blockedOn===n&&(c.blockedOn=null)}for(;0<hs.length&&(l=hs[0],l.blockedOn===null);)l7(l),l.blockedOn===null&&hs.shift();if(l=(n.ownerDocument||n).$$reactFormReplay,l!=null)for(c=0;c<l.length;c+=3){var p=l[c],v=l[c+1],w=p[et]||null;if(typeof v=="function")w||c7(l);else if(w){var z=null;if(v&&v.hasAttribute("formAction")){if(p=v,w=v[et]||null)z=w.formAction;else if(G0(p)!==null)continue}else z=w.action;typeof z=="function"?l[c+1]=z:(l.splice(c,3),c-=3),c7(l)}}}function u7(){function n(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(w){return p=w})},focusReset:"manual",scroll:"manual"})}function r(){p!==null&&(p(),p=null),c||setTimeout(l,20)}function l(){if(!c&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var c=!1,p=null;return navigation.addEventListener("navigate",n),navigation.addEventListener("navigatesuccess",r),navigation.addEventListener("navigateerror",r),setTimeout(l,100),function(){c=!0,navigation.removeEventListener("navigate",n),navigation.removeEventListener("navigatesuccess",r),navigation.removeEventListener("navigateerror",r),p!==null&&(p(),p=null)}}}function Y0(n){this._internalRoot=n}S1.prototype.render=Y0.prototype.render=function(n){var r=this._internalRoot;if(r===null)throw Error(i(409));var l=r.current,c=Xa();t7(l,c,n,r,null,null)},S1.prototype.unmount=Y0.prototype.unmount=function(){var n=this._internalRoot;if(n!==null){this._internalRoot=null;var r=n.containerInfo;t7(n.current,2,null,n,null,null),e1(),r[Ct]=null}};function S1(n){this._internalRoot=n}S1.prototype.unstable_scheduleHydration=function(n){if(n){var r=Nn();n={blockedOn:null,target:n,priority:r};for(var l=0;l<hs.length&&r!==0&&r<hs[l].priority;l++);hs.splice(l,0,n),l===0&&l7(n)}};var f7=e.version;if(f7!=="19.2.0")throw Error(i(527,f7,"19.2.0"));H.findDOMNode=function(n){var r=n._reactInternals;if(r===void 0)throw typeof n.render=="function"?Error(i(188)):(n=Object.keys(n).join(","),Error(i(268,n)));return n=m(r),n=n!==null?y(n):null,n=n===null?null:n.stateNode,n};var DO={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var E1=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!E1.isDisabled&&E1.supportsFiber)try{En=E1.inject(DO),pt=E1}catch{}}return xc.createRoot=function(n,r){if(!s(n))throw Error(i(299));var l=!1,c="",p=yg,v=bg,w=Sg;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(c=r.identifierPrefix),r.onUncaughtError!==void 0&&(p=r.onUncaughtError),r.onCaughtError!==void 0&&(v=r.onCaughtError),r.onRecoverableError!==void 0&&(w=r.onRecoverableError)),r=$8(n,1,!1,null,null,l,c,null,p,v,w,u7),n[Ct]=r.current,R0(n),new Y0(r)},xc.hydrateRoot=function(n,r,l){if(!s(n))throw Error(i(299));var c=!1,p="",v=yg,w=bg,z=Sg,Y=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(p=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(w=l.onCaughtError),l.onRecoverableError!==void 0&&(z=l.onRecoverableError),l.formState!==void 0&&(Y=l.formState)),r=$8(n,1,!0,r,l??null,c,p,Y,v,w,z,u7),r.context=e7(null),l=r.current,c=Xa(),c=Rt(c),p=Xi(c),p.callback=null,$i(l,p,c),l=c,r.current.lanes=l,ft(r,l),Xr(r),n[Ct]=r.current,R0(n),new S1(r)},xc.version="19.2.0",xc}var E7;function BO(){if(E7)return Q0.exports;E7=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}return t(),Q0.exports=HO(),Q0.exports}var FO=BO(),g=xf();const te=Ar(g),A7=LO({__proto__:null,default:te},[g]);/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */var e2,C7;function w7(){if(C7)return e2;C7=1;const{entries:t,setPrototypeOf:e,isFrozen:a,getPrototypeOf:i,getOwnPropertyDescriptor:s}=Object;let{freeze:o,seal:u,create:d}=Object,{apply:f,construct:m}=typeof Reflect<"u"&&Reflect;o||(o=function(Ce){return Ce}),u||(u=function(Ce){return Ce}),f||(f=function(Ce,De){for(var He=arguments.length,it=new Array(He>2?He-2:0),_t=2;_t<He;_t++)it[_t-2]=arguments[_t];return Ce.apply(De,it)}),m||(m=function(Ce){for(var De=arguments.length,He=new Array(De>1?De-1:0),it=1;it<De;it++)He[it-1]=arguments[it];return new Ce(...He)});const y=E(Array.prototype.forEach),b=E(Array.prototype.lastIndexOf),C=E(Array.prototype.pop),A=E(Array.prototype.push),I=E(Array.prototype.splice),M=E(String.prototype.toLowerCase),O=E(String.prototype.toString),R=E(String.prototype.match),x=E(String.prototype.replace),j=E(String.prototype.indexOf),U=E(String.prototype.trim),L=E(Object.prototype.hasOwnProperty),P=E(RegExp.prototype.test),F=T(TypeError);function E(Ke){return function(Ce){Ce instanceof RegExp&&(Ce.lastIndex=0);for(var De=arguments.length,He=new Array(De>1?De-1:0),it=1;it<De;it++)He[it-1]=arguments[it];return f(Ke,Ce,He)}}function T(Ke){return function(){for(var Ce=arguments.length,De=new Array(Ce),He=0;He<Ce;He++)De[He]=arguments[He];return m(Ke,De)}}function N(Ke,Ce){let De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:M;e&&e(Ke,null);let He=Ce.length;for(;He--;){let it=Ce[He];if(typeof it=="string"){const _t=De(it);_t!==it&&(a(Ce)||(Ce[He]=_t),it=_t)}Ke[it]=!0}return Ke}function G(Ke){for(let Ce=0;Ce<Ke.length;Ce++)L(Ke,Ce)||(Ke[Ce]=null);return Ke}function _(Ke){const Ce=d(null);for(const[De,He]of t(Ke))L(Ke,De)&&(Array.isArray(He)?Ce[De]=G(He):He&&typeof He=="object"&&He.constructor===Object?Ce[De]=_(He):Ce[De]=He);return Ce}function q(Ke,Ce){for(;Ke!==null;){const He=s(Ke,Ce);if(He){if(He.get)return E(He.get);if(typeof He.value=="function")return E(He.value)}Ke=i(Ke)}function De(){return null}return De}const Z=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),V=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),H=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),k=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),W=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),se=o(["#text"]),B=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),K=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),le=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),he=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fe=u(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ye=u(/<%[\w\W]*|[\w\W]*%>/gm),we=u(/\$\{[\w\W]*/gm),Je=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ne=u(/^aria-[\-\w]+$/),Wt=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mt=u(/^(?:\w+script|data):/i),Mt=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),At=u(/^html$/i),je=u(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ae=Object.freeze({__proto__:null,ARIA_ATTR:Ne,ATTR_WHITESPACE:Mt,CUSTOM_ELEMENT:je,DATA_ATTR:Je,DOCTYPE_NAME:At,ERB_EXPR:ye,IS_ALLOWED_URI:Wt,IS_SCRIPT_OR_DATA:mt,MUSTACHE_EXPR:fe,TMPLIT_EXPR:we});const Re={element:1,text:3,progressingInstruction:7,comment:8,document:9},Qt=function(){return typeof window>"u"?null:window},ut=function(Ce,De){if(typeof Ce!="object"||typeof Ce.createPolicy!="function")return null;let He=null;const it="data-tt-policy-suffix";De&&De.hasAttribute(it)&&(He=De.getAttribute(it));const _t="dompurify"+(He?"#"+He:"");try{return Ce.createPolicy(_t,{createHTML(vn){return vn},createScriptURL(vn){return vn}})}catch{return console.warn("TrustedTypes policy "+_t+" could not be created."),null}},Ve=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function ot(){let Ke=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qt();const Ce=ze=>ot(ze);if(Ce.version="3.2.7",Ce.removed=[],!Ke||!Ke.document||Ke.document.nodeType!==Re.document||!Ke.Element)return Ce.isSupported=!1,Ce;let{document:De}=Ke;const He=De,it=He.currentScript,{DocumentFragment:_t,HTMLTemplateElement:vn,Node:qn,Element:Mn,NodeFilter:Jn,NamedNodeMap:ea=Ke.NamedNodeMap||Ke.MozNamedAttrMap,HTMLFormElement:En,DOMParser:pt,trustedTypes:st}=Ke,Ft=Mn.prototype,Aa=q(Ft,"cloneNode"),Na=q(Ft,"remove"),va=q(Ft,"nextSibling"),Un=q(Ft,"childNodes"),Pn=q(Ft,"parentNode");if(typeof vn=="function"){const ze=De.createElement("template");ze.content&&ze.content.ownerDocument&&(De=ze.content.ownerDocument)}let Ot,yn="";const{implementation:ua,createNodeIterator:Xe,createDocumentFragment:on,getElementsByTagName:Ue}=De,{importNode:$e}=He;let ft=Ve();Ce.isSupported=typeof t=="function"&&typeof Pn=="function"&&ua&&ua.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ta,ERB_EXPR:be,TMPLIT_EXPR:qe,DATA_ATTR:Le,ARIA_ATTR:Rt,IS_SCRIPT_OR_DATA:an,ATTR_WHITESPACE:Nn,CUSTOM_ELEMENT:Dn}=Ae;let{IS_ALLOWED_URI:Dt}=Ae,ke=null;const et=N({},[...Z,...V,...D,...k,...se]);let Ct=null;const Ba=N({},[...B,...K,...le,...he]);let Vt=Object.seal(d(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}})),Da=null,Oe=null,Q=!0,ve=!0,Se=!1,Ie=!0,dt=!1,gt=!0,We=!1,Hn=!1,Kn=!1,jn=!1,zt=!1,wr=!1,Zr=!0,Yr=!1;const zo="user-content-";let Wr=!0,ar=!1,na={},Ln=null;const Rs=N({},["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 Is=null;const Pi=N({},["audio","video","img","source","image","track"]);let Hi=null;const hi=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),$="http://www.w3.org/1998/Math/MathML",oe="http://www.w3.org/2000/svg",pe="http://www.w3.org/1999/xhtml";let xe=pe,Qe=!1,Gt=null;const yt=N({},[$,oe,pe],O);let fa=N({},["mi","mo","mn","ms","mtext"]),xr=N({},["annotation-xml"]);const Kf=N({},["title","style","font","a","script"]);let Bi=null;const gu=["application/xhtml+xml","text/html"],qo="text/html";let Bn=null,Fi=null;const bl=De.createElement("form"),rr=function(X){return X instanceof RegExp||X instanceof Function},Ms=function(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Fi&&Fi===X)){if((!X||typeof X!="object")&&(X={}),X=_(X),Bi=gu.indexOf(X.PARSER_MEDIA_TYPE)===-1?qo:X.PARSER_MEDIA_TYPE,Bn=Bi==="application/xhtml+xml"?O:M,ke=L(X,"ALLOWED_TAGS")?N({},X.ALLOWED_TAGS,Bn):et,Ct=L(X,"ALLOWED_ATTR")?N({},X.ALLOWED_ATTR,Bn):Ba,Gt=L(X,"ALLOWED_NAMESPACES")?N({},X.ALLOWED_NAMESPACES,O):yt,Hi=L(X,"ADD_URI_SAFE_ATTR")?N(_(hi),X.ADD_URI_SAFE_ATTR,Bn):hi,Is=L(X,"ADD_DATA_URI_TAGS")?N(_(Pi),X.ADD_DATA_URI_TAGS,Bn):Pi,Ln=L(X,"FORBID_CONTENTS")?N({},X.FORBID_CONTENTS,Bn):Rs,Da=L(X,"FORBID_TAGS")?N({},X.FORBID_TAGS,Bn):_({}),Oe=L(X,"FORBID_ATTR")?N({},X.FORBID_ATTR,Bn):_({}),na=L(X,"USE_PROFILES")?X.USE_PROFILES:!1,Q=X.ALLOW_ARIA_ATTR!==!1,ve=X.ALLOW_DATA_ATTR!==!1,Se=X.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=X.ALLOW_SELF_CLOSE_IN_ATTR!==!1,dt=X.SAFE_FOR_TEMPLATES||!1,gt=X.SAFE_FOR_XML!==!1,We=X.WHOLE_DOCUMENT||!1,jn=X.RETURN_DOM||!1,zt=X.RETURN_DOM_FRAGMENT||!1,wr=X.RETURN_TRUSTED_TYPE||!1,Kn=X.FORCE_BODY||!1,Zr=X.SANITIZE_DOM!==!1,Yr=X.SANITIZE_NAMED_PROPS||!1,Wr=X.KEEP_CONTENT!==!1,ar=X.IN_PLACE||!1,Dt=X.ALLOWED_URI_REGEXP||Wt,xe=X.NAMESPACE||pe,fa=X.MATHML_TEXT_INTEGRATION_POINTS||fa,xr=X.HTML_INTEGRATION_POINTS||xr,Vt=X.CUSTOM_ELEMENT_HANDLING||{},X.CUSTOM_ELEMENT_HANDLING&&rr(X.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Vt.tagNameCheck=X.CUSTOM_ELEMENT_HANDLING.tagNameCheck),X.CUSTOM_ELEMENT_HANDLING&&rr(X.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Vt.attributeNameCheck=X.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),X.CUSTOM_ELEMENT_HANDLING&&typeof X.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Vt.allowCustomizedBuiltInElements=X.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),dt&&(ve=!1),zt&&(jn=!0),na&&(ke=N({},se),Ct=[],na.html===!0&&(N(ke,Z),N(Ct,B)),na.svg===!0&&(N(ke,V),N(Ct,K),N(Ct,he)),na.svgFilters===!0&&(N(ke,D),N(Ct,K),N(Ct,he)),na.mathMl===!0&&(N(ke,k),N(Ct,le),N(Ct,he))),X.ADD_TAGS&&(ke===et&&(ke=_(ke)),N(ke,X.ADD_TAGS,Bn)),X.ADD_ATTR&&(Ct===Ba&&(Ct=_(Ct)),N(Ct,X.ADD_ATTR,Bn)),X.ADD_URI_SAFE_ATTR&&N(Hi,X.ADD_URI_SAFE_ATTR,Bn),X.FORBID_CONTENTS&&(Ln===Rs&&(Ln=_(Ln)),N(Ln,X.FORBID_CONTENTS,Bn)),Wr&&(ke["#text"]=!0),We&&N(ke,["html","head","body"]),ke.table&&(N(ke,["tbody"]),delete Da.tbody),X.TRUSTED_TYPES_POLICY){if(typeof X.TRUSTED_TYPES_POLICY.createHTML!="function")throw F('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof X.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw F('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Ot=X.TRUSTED_TYPES_POLICY,yn=Ot.createHTML("")}else Ot===void 0&&(Ot=ut(st,it)),Ot!==null&&typeof yn=="string"&&(yn=Ot.createHTML(""));o&&o(X),Fi=X}},Sl=N({},[...V,...D,...H]),mi=N({},[...k,...W]),Vi=function(X){let ge=Pn(X);(!ge||!ge.tagName)&&(ge={namespaceURI:xe,tagName:"template"});const Te=M(X.tagName),Jt=M(ge.tagName);return Gt[X.namespaceURI]?X.namespaceURI===oe?ge.namespaceURI===pe?Te==="svg":ge.namespaceURI===$?Te==="svg"&&(Jt==="annotation-xml"||fa[Jt]):!!Sl[Te]:X.namespaceURI===$?ge.namespaceURI===pe?Te==="math":ge.namespaceURI===oe?Te==="math"&&xr[Jt]:!!mi[Te]:X.namespaceURI===pe?ge.namespaceURI===oe&&!xr[Jt]||ge.namespaceURI===$&&!fa[Jt]?!1:!mi[Te]&&(Kf[Te]||!Sl[Te]):!!(Bi==="application/xhtml+xml"&&Gt[X.namespaceURI]):!1},Fa=function(X){A(Ce.removed,{element:X});try{Pn(X).removeChild(X)}catch{Na(X)}},Tr=function(X,ge){try{A(Ce.removed,{attribute:ge.getAttributeNode(X),from:ge})}catch{A(Ce.removed,{attribute:null,from:ge})}if(ge.removeAttribute(X),X==="is")if(jn||zt)try{Fa(ge)}catch{}else try{ge.setAttribute(X,"")}catch{}},Uo=function(X){let ge=null,Te=null;if(Kn)X="<remove></remove>"+X;else{const Cn=R(X,/^[\r\n\t ]+/);Te=Cn&&Cn[0]}Bi==="application/xhtml+xml"&&xe===pe&&(X='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+X+"</body></html>");const Jt=Ot?Ot.createHTML(X):X;if(xe===pe)try{ge=new pt().parseFromString(Jt,Bi)}catch{}if(!ge||!ge.documentElement){ge=ua.createDocument(xe,"template",null);try{ge.documentElement.innerHTML=Qe?yn:Jt}catch{}}const An=ge.body||ge.documentElement;return X&&Te&&An.insertBefore(De.createTextNode(Te),An.childNodes[0]||null),xe===pe?Ue.call(ge,We?"html":"body")[0]:We?ge.documentElement:An},Gi=function(X){return Xe.call(X.ownerDocument||X,X,Jn.SHOW_ELEMENT|Jn.SHOW_COMMENT|Jn.SHOW_TEXT|Jn.SHOW_PROCESSING_INSTRUCTION|Jn.SHOW_CDATA_SECTION,null)},Va=function(X){return X instanceof En&&(typeof X.nodeName!="string"||typeof X.textContent!="string"||typeof X.removeChild!="function"||!(X.attributes instanceof ea)||typeof X.removeAttribute!="function"||typeof X.setAttribute!="function"||typeof X.namespaceURI!="string"||typeof X.insertBefore!="function"||typeof X.hasChildNodes!="function")},El=function(X){return typeof qn=="function"&&X instanceof qn};function Ca(ze,X,ge){y(ze,Te=>{Te.call(Ce,X,ge,Fi)})}const Or=function(X){let ge=null;if(Ca(ft.beforeSanitizeElements,X,null),Va(X))return Fa(X),!0;const Te=Bn(X.nodeName);if(Ca(ft.uponSanitizeElement,X,{tagName:Te,allowedTags:ke}),gt&&X.hasChildNodes()&&!El(X.firstElementChild)&&P(/<[/\w!]/g,X.innerHTML)&&P(/<[/\w!]/g,X.textContent)||X.nodeType===Re.progressingInstruction||gt&&X.nodeType===Re.comment&&P(/<[/\w]/g,X.data))return Fa(X),!0;if(!ke[Te]||Da[Te]){if(!Da[Te]&&Ns(Te)&&(Vt.tagNameCheck instanceof RegExp&&P(Vt.tagNameCheck,Te)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(Te)))return!1;if(Wr&&!Ln[Te]){const Jt=Pn(X)||X.parentNode,An=Un(X)||X.childNodes;if(An&&Jt){const Cn=An.length;for(let aa=Cn-1;aa>=0;--aa){const Ga=Aa(An[aa],!0);Ga.__removalCount=(X.__removalCount||0)+1,Jt.insertBefore(Ga,va(X))}}}return Fa(X),!0}return X instanceof Mn&&!Vi(X)||(Te==="noscript"||Te==="noembed"||Te==="noframes")&&P(/<\/no(script|embed|frames)/i,X.innerHTML)?(Fa(X),!0):(dt&&X.nodeType===Re.text&&(ge=X.textContent,y([ta,be,qe],Jt=>{ge=x(ge,Jt," ")}),X.textContent!==ge&&(A(Ce.removed,{element:X.cloneNode()}),X.textContent=ge)),Ca(ft.afterSanitizeElements,X,null),!1)},Al=function(X,ge,Te){if(Zr&&(ge==="id"||ge==="name")&&(Te in De||Te in bl))return!1;if(!(ve&&!Oe[ge]&&P(Le,ge))){if(!(Q&&P(Rt,ge))){if(!Ct[ge]||Oe[ge]){if(!(Ns(X)&&(Vt.tagNameCheck instanceof RegExp&&P(Vt.tagNameCheck,X)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(X))&&(Vt.attributeNameCheck instanceof RegExp&&P(Vt.attributeNameCheck,ge)||Vt.attributeNameCheck instanceof Function&&Vt.attributeNameCheck(ge,X))||ge==="is"&&Vt.allowCustomizedBuiltInElements&&(Vt.tagNameCheck instanceof RegExp&&P(Vt.tagNameCheck,Te)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(Te))))return!1}else if(!Hi[ge]){if(!P(Dt,x(Te,Nn,""))){if(!((ge==="src"||ge==="xlink:href"||ge==="href")&&X!=="script"&&j(Te,"data:")===0&&Is[X])){if(!(Se&&!P(an,x(Te,Nn,"")))){if(Te)return!1}}}}}}return!0},Ns=function(X){return X!=="annotation-xml"&&R(X,Dn)},Po=function(X){Ca(ft.beforeSanitizeAttributes,X,null);const{attributes:ge}=X;if(!ge||Va(X))return;const Te={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct,forceKeepAttr:void 0};let Jt=ge.length;for(;Jt--;){const An=ge[Jt],{name:Cn,namespaceURI:aa,value:Ga}=An,ir=Bn(Cn),Zi=Ga;let Fn=Cn==="value"?Zi:U(Zi);if(Te.attrName=ir,Te.attrValue=Fn,Te.keepAttr=!0,Te.forceKeepAttr=void 0,Ca(ft.uponSanitizeAttribute,X,Te),Fn=Te.attrValue,Yr&&(ir==="id"||ir==="name")&&(Tr(Cn,X),Fn=zo+Fn),gt&&P(/((--!?|])>)|<\/(style|title|textarea)/i,Fn)){Tr(Cn,X);continue}if(ir==="attributename"&&R(Fn,"href")){Tr(Cn,X);continue}if(Te.forceKeepAttr)continue;if(!Te.keepAttr){Tr(Cn,X);continue}if(!Ie&&P(/\/>/i,Fn)){Tr(Cn,X);continue}dt&&y([ta,be,qe],yu=>{Fn=x(Fn,yu," ")});const vu=Bn(X.nodeName);if(!Al(vu,ir,Fn)){Tr(Cn,X);continue}if(Ot&&typeof st=="object"&&typeof st.getAttributeType=="function"&&!aa)switch(st.getAttributeType(vu,ir)){case"TrustedHTML":{Fn=Ot.createHTML(Fn);break}case"TrustedScriptURL":{Fn=Ot.createScriptURL(Fn);break}}if(Fn!==Zi)try{aa?X.setAttributeNS(aa,Cn,Fn):X.setAttribute(Cn,Fn),Va(X)?Fa(X):C(Ce.removed)}catch{Tr(Cn,X)}}Ca(ft.afterSanitizeAttributes,X,null)},Cl=function ze(X){let ge=null;const Te=Gi(X);for(Ca(ft.beforeSanitizeShadowDOM,X,null);ge=Te.nextNode();)Ca(ft.uponSanitizeShadowNode,ge,null),Or(ge),Po(ge),ge.content instanceof _t&&ze(ge.content);Ca(ft.afterSanitizeShadowDOM,X,null)};return Ce.sanitize=function(ze){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=null,Te=null,Jt=null,An=null;if(Qe=!ze,Qe&&(ze="<!-->"),typeof ze!="string"&&!El(ze))if(typeof ze.toString=="function"){if(ze=ze.toString(),typeof ze!="string")throw F("dirty is not a string, aborting")}else throw F("toString is not a function");if(!Ce.isSupported)return ze;if(Hn||Ms(X),Ce.removed=[],typeof ze=="string"&&(ar=!1),ar){if(ze.nodeName){const Ga=Bn(ze.nodeName);if(!ke[Ga]||Da[Ga])throw F("root node is forbidden and cannot be sanitized in-place")}}else if(ze instanceof qn)ge=Uo("<!---->"),Te=ge.ownerDocument.importNode(ze,!0),Te.nodeType===Re.element&&Te.nodeName==="BODY"||Te.nodeName==="HTML"?ge=Te:ge.appendChild(Te);else{if(!jn&&!dt&&!We&&ze.indexOf("<")===-1)return Ot&&wr?Ot.createHTML(ze):ze;if(ge=Uo(ze),!ge)return jn?null:wr?yn:""}ge&&Kn&&Fa(ge.firstChild);const Cn=Gi(ar?ze:ge);for(;Jt=Cn.nextNode();)Or(Jt),Po(Jt),Jt.content instanceof _t&&Cl(Jt.content);if(ar)return ze;if(jn){if(zt)for(An=on.call(ge.ownerDocument);ge.firstChild;)An.appendChild(ge.firstChild);else An=ge;return(Ct.shadowroot||Ct.shadowrootmode)&&(An=$e.call(He,An,!0)),An}let aa=We?ge.outerHTML:ge.innerHTML;return We&&ke["!doctype"]&&ge.ownerDocument&&ge.ownerDocument.doctype&&ge.ownerDocument.doctype.name&&P(At,ge.ownerDocument.doctype.name)&&(aa="<!DOCTYPE "+ge.ownerDocument.doctype.name+`>
`+aa),dt&&y([ta,be,qe],Ga=>{aa=x(aa,Ga," ")}),Ot&&wr?Ot.createHTML(aa):aa},Ce.setConfig=function(){let ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ms(ze),Hn=!0},Ce.clearConfig=function(){Fi=null,Hn=!1},Ce.isValidAttribute=function(ze,X,ge){Fi||Ms({});const Te=Bn(ze),Jt=Bn(X);return Al(Te,Jt,ge)},Ce.addHook=function(ze,X){typeof X=="function"&&A(ft[ze],X)},Ce.removeHook=function(ze,X){if(X!==void 0){const ge=b(ft[ze],X);return ge===-1?void 0:I(ft[ze],ge,1)[0]}return C(ft[ze])},Ce.removeHooks=function(ze){ft[ze]=[]},Ce.removeAllHooks=function(){ft=Ve()},Ce}var gn=ot();return e2=gn,e2}var t2,x7;function VO(){return x7||(x7=1,t2=window.DOMPurify||(window.DOMPurify=w7().default||w7())),t2}var GO=VO();const ZO=Ar(GO),bo=Math.min,rl=Math.max,rf=Math.round,C1=Math.floor,ii=t=>({x:t,y:t}),YO={left:"right",right:"left",bottom:"top",top:"bottom"},WO={start:"end",end:"start"};function xp(t,e,a){return rl(t,bo(e,a))}function au(t,e){return typeof t=="function"?t(e):t}function sl(t){return t.split("-")[0]}function ru(t){return t.split("-")[1]}function ZE(t){return t==="x"?"y":"x"}function I6(t){return t==="y"?"height":"width"}const QO=new Set(["top","bottom"]);function As(t){return QO.has(sl(t))?"y":"x"}function M6(t){return ZE(As(t))}function JO(t,e,a){a===void 0&&(a=!1);const i=ru(t),s=M6(t),o=I6(s);let u=s==="x"?i===(a?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[o]>e.floating[o]&&(u=sf(u)),[u,sf(u)]}function KO(t){const e=sf(t);return[Tp(t),e,Tp(e)]}function Tp(t){return t.replace(/start|end/g,e=>WO[e])}const T7=["left","right"],O7=["right","left"],XO=["top","bottom"],$O=["bottom","top"];function eR(t,e,a){switch(t){case"top":case"bottom":return a?e?O7:T7:e?T7:O7;case"left":case"right":return e?XO:$O;default:return[]}}function tR(t,e,a,i){const s=ru(t);let o=eR(sl(t),a==="start",i);return s&&(o=o.map(u=>u+"-"+s),e&&(o=o.concat(o.map(Tp)))),o}function sf(t){return t.replace(/left|right|bottom|top/g,e=>YO[e])}function nR(t){return{top:0,right:0,bottom:0,left:0,...t}}function YE(t){return typeof t!="number"?nR(t):{top:t,right:t,bottom:t,left:t}}function lf(t){const{x:e,y:a,width:i,height:s}=t;return{width:i,height:s,top:a,left:e,right:e+i,bottom:a+s,x:e,y:a}}function R7(t,e,a){let{reference:i,floating:s}=t;const o=As(e),u=M6(e),d=I6(u),f=sl(e),m=o==="y",y=i.x+i.width/2-s.width/2,b=i.y+i.height/2-s.height/2,C=i[d]/2-s[d]/2;let A;switch(f){case"top":A={x:y,y:i.y-s.height};break;case"bottom":A={x:y,y:i.y+i.height};break;case"right":A={x:i.x+i.width,y:b};break;case"left":A={x:i.x-s.width,y:b};break;default:A={x:i.x,y:i.y}}switch(ru(e)){case"start":A[u]-=C*(a&&m?-1:1);break;case"end":A[u]+=C*(a&&m?-1:1);break}return A}const aR=async(t,e,a)=>{const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:u}=a,d=o.filter(Boolean),f=await(u.isRTL==null?void 0:u.isRTL(e));let m=await u.getElementRects({reference:t,floating:e,strategy:s}),{x:y,y:b}=R7(m,i,f),C=i,A={},I=0;for(let M=0;M<d.length;M++){const{name:O,fn:R}=d[M],{x,y:j,data:U,reset:L}=await R({x:y,y:b,initialPlacement:i,placement:C,strategy:s,middlewareData:A,rects:m,platform:u,elements:{reference:t,floating:e}});y=x??y,b=j??b,A={...A,[O]:{...A[O],...U}},L&&I<=50&&(I++,typeof L=="object"&&(L.placement&&(C=L.placement),L.rects&&(m=L.rects===!0?await u.getElementRects({reference:t,floating:e,strategy:s}):L.rects),{x:y,y:b}=R7(m,C,f)),M=-1)}return{x:y,y:b,placement:C,strategy:s,middlewareData:A}};async function WE(t,e){var a;e===void 0&&(e={});const{x:i,y:s,platform:o,rects:u,elements:d,strategy:f}=t,{boundary:m="clippingAncestors",rootBoundary:y="viewport",elementContext:b="floating",altBoundary:C=!1,padding:A=0}=au(e,t),I=YE(A),O=d[C?b==="floating"?"reference":"floating":b],R=lf(await o.getClippingRect({element:(a=await(o.isElement==null?void 0:o.isElement(O)))==null||a?O:O.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(d.floating)),boundary:m,rootBoundary:y,strategy:f})),x=b==="floating"?{x:i,y:s,width:u.floating.width,height:u.floating.height}:u.reference,j=await(o.getOffsetParent==null?void 0:o.getOffsetParent(d.floating)),U=await(o.isElement==null?void 0:o.isElement(j))?await(o.getScale==null?void 0:o.getScale(j))||{x:1,y:1}:{x:1,y:1},L=lf(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:x,offsetParent:j,strategy:f}):x);return{top:(R.top-L.top+I.top)/U.y,bottom:(L.bottom-R.bottom+I.bottom)/U.y,left:(R.left-L.left+I.left)/U.x,right:(L.right-R.right+I.right)/U.x}}const rR=t=>({name:"arrow",options:t,async fn(e){const{x:a,y:i,placement:s,rects:o,platform:u,elements:d,middlewareData:f}=e,{element:m,padding:y=0}=au(t,e)||{};if(m==null)return{};const b=YE(y),C={x:a,y:i},A=M6(s),I=I6(A),M=await u.getDimensions(m),O=A==="y",R=O?"top":"left",x=O?"bottom":"right",j=O?"clientHeight":"clientWidth",U=o.reference[I]+o.reference[A]-C[A]-o.floating[I],L=C[A]-o.reference[A],P=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m));let F=P?P[j]:0;(!F||!await(u.isElement==null?void 0:u.isElement(P)))&&(F=d.floating[j]||o.floating[I]);const E=U/2-L/2,T=F/2-M[I]/2-1,N=bo(b[R],T),G=bo(b[x],T),_=N,q=F-M[I]-G,Z=F/2-M[I]/2+E,V=xp(_,Z,q),D=!f.arrow&&ru(s)!=null&&Z!==V&&o.reference[I]/2-(Z<_?N:G)-M[I]/2<0,H=D?Z<_?Z-_:Z-q:0;return{[A]:C[A]+H,data:{[A]:V,centerOffset:Z-V-H,...D&&{alignmentOffset:H}},reset:D}}}),iR=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var a,i;const{placement:s,middlewareData:o,rects:u,initialPlacement:d,platform:f,elements:m}=e,{mainAxis:y=!0,crossAxis:b=!0,fallbackPlacements:C,fallbackStrategy:A="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:M=!0,...O}=au(t,e);if((a=o.arrow)!=null&&a.alignmentOffset)return{};const R=sl(s),x=As(d),j=sl(d)===d,U=await(f.isRTL==null?void 0:f.isRTL(m.floating)),L=C||(j||!M?[sf(d)]:KO(d)),P=I!=="none";!C&&P&&L.push(...tR(d,M,I,U));const F=[d,...L],E=await WE(e,O),T=[];let N=((i=o.flip)==null?void 0:i.overflows)||[];if(y&&T.push(E[R]),b){const Z=JO(s,u,U);T.push(E[Z[0]],E[Z[1]])}if(N=[...N,{placement:s,overflows:T}],!T.every(Z=>Z<=0)){var G,_;const Z=(((G=o.flip)==null?void 0:G.index)||0)+1,V=F[Z];if(V&&(!(b==="alignment"?x!==As(V):!1)||N.every(k=>As(k.placement)===x?k.overflows[0]>0:!0)))return{data:{index:Z,overflows:N},reset:{placement:V}};let D=(_=N.filter(H=>H.overflows[0]<=0).sort((H,k)=>H.overflows[1]-k.overflows[1])[0])==null?void 0:_.placement;if(!D)switch(A){case"bestFit":{var q;const H=(q=N.filter(k=>{if(P){const W=As(k.placement);return W===x||W==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(W=>W>0).reduce((W,se)=>W+se,0)]).sort((k,W)=>k[1]-W[1])[0])==null?void 0:q[0];H&&(D=H);break}case"initialPlacement":D=d;break}if(s!==D)return{reset:{placement:D}}}return{}}}},sR=new Set(["left","top"]);async function lR(t,e){const{placement:a,platform:i,elements:s}=t,o=await(i.isRTL==null?void 0:i.isRTL(s.floating)),u=sl(a),d=ru(a),f=As(a)==="y",m=sR.has(u)?-1:1,y=o&&f?-1:1,b=au(e,t);let{mainAxis:C,crossAxis:A,alignmentAxis:I}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:b.mainAxis||0,crossAxis:b.crossAxis||0,alignmentAxis:b.alignmentAxis};return d&&typeof I=="number"&&(A=d==="end"?I*-1:I),f?{x:A*y,y:C*m}:{x:C*m,y:A*y}}const oR=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var a,i;const{x:s,y:o,placement:u,middlewareData:d}=e,f=await lR(e,t);return u===((a=d.offset)==null?void 0:a.placement)&&(i=d.arrow)!=null&&i.alignmentOffset?{}:{x:s+f.x,y:o+f.y,data:{...f,placement:u}}}}},cR=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:a,y:i,placement:s}=e,{mainAxis:o=!0,crossAxis:u=!1,limiter:d={fn:O=>{let{x:R,y:x}=O;return{x:R,y:x}}},...f}=au(t,e),m={x:a,y:i},y=await WE(e,f),b=As(sl(s)),C=ZE(b);let A=m[C],I=m[b];if(o){const O=C==="y"?"top":"left",R=C==="y"?"bottom":"right",x=A+y[O],j=A-y[R];A=xp(x,A,j)}if(u){const O=b==="y"?"top":"left",R=b==="y"?"bottom":"right",x=I+y[O],j=I-y[R];I=xp(x,I,j)}const M=d.fn({...e,[C]:A,[b]:I});return{...M,data:{x:M.x-a,y:M.y-i,enabled:{[C]:o,[b]:u}}}}}};function Tf(){return typeof window<"u"}function xo(t){return QE(t)?(t.nodeName||"").toLowerCase():"#document"}function er(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ci(t){var e;return(e=(QE(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function QE(t){return Tf()?t instanceof Node||t instanceof er(t).Node:!1}function Ur(t){return Tf()?t instanceof Element||t instanceof er(t).Element:!1}function li(t){return Tf()?t instanceof HTMLElement||t instanceof er(t).HTMLElement:!1}function I7(t){return!Tf()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof er(t).ShadowRoot}const uR=new Set(["inline","contents"]);function iu(t){const{overflow:e,overflowX:a,overflowY:i,display:s}=Pr(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+a)&&!uR.has(s)}const fR=new Set(["table","td","th"]);function dR(t){return fR.has(xo(t))}const hR=[":popover-open",":modal"];function Of(t){return hR.some(e=>{try{return t.matches(e)}catch{return!1}})}const mR=["transform","translate","scale","rotate","perspective"],pR=["transform","translate","scale","rotate","perspective","filter"],gR=["paint","layout","strict","content"];function N6(t){const e=D6(),a=Ur(t)?Pr(t):t;return mR.some(i=>a[i]?a[i]!=="none":!1)||(a.containerType?a.containerType!=="normal":!1)||!e&&(a.backdropFilter?a.backdropFilter!=="none":!1)||!e&&(a.filter?a.filter!=="none":!1)||pR.some(i=>(a.willChange||"").includes(i))||gR.some(i=>(a.contain||"").includes(i))}function vR(t){let e=ws(t);for(;li(e)&&!So(e);){if(N6(e))return e;if(Of(e))return null;e=ws(e)}return null}function D6(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const yR=new Set(["html","body","#document"]);function So(t){return yR.has(xo(t))}function Pr(t){return er(t).getComputedStyle(t)}function Rf(t){return Ur(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function ws(t){if(xo(t)==="html")return t;const e=t.assignedSlot||t.parentNode||I7(t)&&t.host||ci(t);return I7(e)?e.host:e}function JE(t){const e=ws(t);return So(e)?t.ownerDocument?t.ownerDocument.body:t.body:li(e)&&iu(e)?e:JE(e)}function Jc(t,e,a){var i;e===void 0&&(e=[]),a===void 0&&(a=!0);const s=JE(t),o=s===((i=t.ownerDocument)==null?void 0:i.body),u=er(s);if(o){const d=Op(u);return e.concat(u,u.visualViewport||[],iu(s)?s:[],d&&a?Jc(d):[])}return e.concat(s,Jc(s,[],a))}function Op(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function KE(t){const e=Pr(t);let a=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const s=li(t),o=s?t.offsetWidth:a,u=s?t.offsetHeight:i,d=rf(a)!==o||rf(i)!==u;return d&&(a=o,i=u),{width:a,height:i,$:d}}function j6(t){return Ur(t)?t:t.contextElement}function ho(t){const e=j6(t);if(!li(e))return ii(1);const a=e.getBoundingClientRect(),{width:i,height:s,$:o}=KE(e);let u=(o?rf(a.width):a.width)/i,d=(o?rf(a.height):a.height)/s;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const bR=ii(0);function XE(t){const e=er(t);return!D6()||!e.visualViewport?bR:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function SR(t,e,a){return e===void 0&&(e=!1),!a||e&&a!==er(t)?!1:e}function ll(t,e,a,i){e===void 0&&(e=!1),a===void 0&&(a=!1);const s=t.getBoundingClientRect(),o=j6(t);let u=ii(1);e&&(i?Ur(i)&&(u=ho(i)):u=ho(t));const d=SR(o,a,i)?XE(o):ii(0);let f=(s.left+d.x)/u.x,m=(s.top+d.y)/u.y,y=s.width/u.x,b=s.height/u.y;if(o){const C=er(o),A=i&&Ur(i)?er(i):i;let I=C,M=Op(I);for(;M&&i&&A!==I;){const O=ho(M),R=M.getBoundingClientRect(),x=Pr(M),j=R.left+(M.clientLeft+parseFloat(x.paddingLeft))*O.x,U=R.top+(M.clientTop+parseFloat(x.paddingTop))*O.y;f*=O.x,m*=O.y,y*=O.x,b*=O.y,f+=j,m+=U,I=er(M),M=Op(I)}}return lf({width:y,height:b,x:f,y:m})}function If(t,e){const a=Rf(t).scrollLeft;return e?e.left+a:ll(ci(t)).left+a}function $E(t,e){const a=t.getBoundingClientRect(),i=a.left+e.scrollLeft-If(t,a),s=a.top+e.scrollTop;return{x:i,y:s}}function ER(t){let{elements:e,rect:a,offsetParent:i,strategy:s}=t;const o=s==="fixed",u=ci(i),d=e?Of(e.floating):!1;if(i===u||d&&o)return a;let f={scrollLeft:0,scrollTop:0},m=ii(1);const y=ii(0),b=li(i);if((b||!b&&!o)&&((xo(i)!=="body"||iu(u))&&(f=Rf(i)),li(i))){const A=ll(i);m=ho(i),y.x=A.x+i.clientLeft,y.y=A.y+i.clientTop}const C=u&&!b&&!o?$E(u,f):ii(0);return{width:a.width*m.x,height:a.height*m.y,x:a.x*m.x-f.scrollLeft*m.x+y.x+C.x,y:a.y*m.y-f.scrollTop*m.y+y.y+C.y}}function AR(t){return Array.from(t.getClientRects())}function CR(t){const e=ci(t),a=Rf(t),i=t.ownerDocument.body,s=rl(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=rl(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let u=-a.scrollLeft+If(t);const d=-a.scrollTop;return Pr(i).direction==="rtl"&&(u+=rl(e.clientWidth,i.clientWidth)-s),{width:s,height:o,x:u,y:d}}const M7=25;function wR(t,e){const a=er(t),i=ci(t),s=a.visualViewport;let o=i.clientWidth,u=i.clientHeight,d=0,f=0;if(s){o=s.width,u=s.height;const y=D6();(!y||y&&e==="fixed")&&(d=s.offsetLeft,f=s.offsetTop)}const m=If(i);if(m<=0){const y=i.ownerDocument,b=y.body,C=getComputedStyle(b),A=y.compatMode==="CSS1Compat"&&parseFloat(C.marginLeft)+parseFloat(C.marginRight)||0,I=Math.abs(i.clientWidth-b.clientWidth-A);I<=M7&&(o-=I)}else m<=M7&&(o+=m);return{width:o,height:u,x:d,y:f}}const xR=new Set(["absolute","fixed"]);function TR(t,e){const a=ll(t,!0,e==="fixed"),i=a.top+t.clientTop,s=a.left+t.clientLeft,o=li(t)?ho(t):ii(1),u=t.clientWidth*o.x,d=t.clientHeight*o.y,f=s*o.x,m=i*o.y;return{width:u,height:d,x:f,y:m}}function N7(t,e,a){let i;if(e==="viewport")i=wR(t,a);else if(e==="document")i=CR(ci(t));else if(Ur(e))i=TR(e,a);else{const s=XE(t);i={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return lf(i)}function eA(t,e){const a=ws(t);return a===e||!Ur(a)||So(a)?!1:Pr(a).position==="fixed"||eA(a,e)}function OR(t,e){const a=e.get(t);if(a)return a;let i=Jc(t,[],!1).filter(d=>Ur(d)&&xo(d)!=="body"),s=null;const o=Pr(t).position==="fixed";let u=o?ws(t):t;for(;Ur(u)&&!So(u);){const d=Pr(u),f=N6(u);!f&&d.position==="fixed"&&(s=null),(o?!f&&!s:!f&&d.position==="static"&&!!s&&xR.has(s.position)||iu(u)&&!f&&eA(t,u))?i=i.filter(y=>y!==u):s=d,u=ws(u)}return e.set(t,i),i}function RR(t){let{element:e,boundary:a,rootBoundary:i,strategy:s}=t;const u=[...a==="clippingAncestors"?Of(e)?[]:OR(e,this._c):[].concat(a),i],d=u[0],f=u.reduce((m,y)=>{const b=N7(e,y,s);return m.top=rl(b.top,m.top),m.right=bo(b.right,m.right),m.bottom=bo(b.bottom,m.bottom),m.left=rl(b.left,m.left),m},N7(e,d,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function IR(t){const{width:e,height:a}=KE(t);return{width:e,height:a}}function MR(t,e,a){const i=li(e),s=ci(e),o=a==="fixed",u=ll(t,!0,o,e);let d={scrollLeft:0,scrollTop:0};const f=ii(0);function m(){f.x=If(s)}if(i||!i&&!o)if((xo(e)!=="body"||iu(s))&&(d=Rf(e)),i){const A=ll(e,!0,o,e);f.x=A.x+e.clientLeft,f.y=A.y+e.clientTop}else s&&m();o&&!i&&s&&m();const y=s&&!i&&!o?$E(s,d):ii(0),b=u.left+d.scrollLeft-f.x-y.x,C=u.top+d.scrollTop-f.y-y.y;return{x:b,y:C,width:u.width,height:u.height}}function n2(t){return Pr(t).position==="static"}function D7(t,e){if(!li(t)||Pr(t).position==="fixed")return null;if(e)return e(t);let a=t.offsetParent;return ci(t)===a&&(a=a.ownerDocument.body),a}function tA(t,e){const a=er(t);if(Of(t))return a;if(!li(t)){let s=ws(t);for(;s&&!So(s);){if(Ur(s)&&!n2(s))return s;s=ws(s)}return a}let i=D7(t,e);for(;i&&dR(i)&&n2(i);)i=D7(i,e);return i&&So(i)&&n2(i)&&!N6(i)?a:i||vR(t)||a}const NR=async function(t){const e=this.getOffsetParent||tA,a=this.getDimensions,i=await a(t.floating);return{reference:MR(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function DR(t){return Pr(t).direction==="rtl"}const jR={convertOffsetParentRelativeRectToViewportRelativeRect:ER,getDocumentElement:ci,getClippingRect:RR,getOffsetParent:tA,getElementRects:NR,getClientRects:AR,getDimensions:IR,getScale:ho,isElement:Ur,isRTL:DR};function nA(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function LR(t,e){let a=null,i;const s=ci(t);function o(){var d;clearTimeout(i),(d=a)==null||d.disconnect(),a=null}function u(d,f){d===void 0&&(d=!1),f===void 0&&(f=1),o();const m=t.getBoundingClientRect(),{left:y,top:b,width:C,height:A}=m;if(d||e(),!C||!A)return;const I=C1(b),M=C1(s.clientWidth-(y+C)),O=C1(s.clientHeight-(b+A)),R=C1(y),j={rootMargin:-I+"px "+-M+"px "+-O+"px "+-R+"px",threshold:rl(0,bo(1,f))||1};let U=!0;function L(P){const F=P[0].intersectionRatio;if(F!==f){if(!U)return u();F?u(!1,F):i=setTimeout(()=>{u(!1,1e-7)},1e3)}F===1&&!nA(m,t.getBoundingClientRect())&&u(),U=!1}try{a=new IntersectionObserver(L,{...j,root:s.ownerDocument})}catch{a=new IntersectionObserver(L,j)}a.observe(t)}return u(!0),o}function aA(t,e,a,i){i===void 0&&(i={});const{ancestorScroll:s=!0,ancestorResize:o=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:f=!1}=i,m=j6(t),y=s||o?[...m?Jc(m):[],...Jc(e)]:[];y.forEach(R=>{s&&R.addEventListener("scroll",a,{passive:!0}),o&&R.addEventListener("resize",a)});const b=m&&d?LR(m,a):null;let C=-1,A=null;u&&(A=new ResizeObserver(R=>{let[x]=R;x&&x.target===m&&A&&(A.unobserve(e),cancelAnimationFrame(C),C=requestAnimationFrame(()=>{var j;(j=A)==null||j.observe(e)})),a()}),m&&!f&&A.observe(m),A.observe(e));let I,M=f?ll(t):null;f&&O();function O(){const R=ll(t);M&&!nA(M,R)&&a(),M=R,I=requestAnimationFrame(O)}return a(),()=>{var R;y.forEach(x=>{s&&x.removeEventListener("scroll",a),o&&x.removeEventListener("resize",a)}),b?.(),(R=A)==null||R.disconnect(),A=null,f&&cancelAnimationFrame(I)}}const kR=oR,_R=cR,zR=iR,qR=rR,j7=(t,e,a)=>{const i=new Map,s={platform:jR,...a},o={...s.platform,_c:i};return aR(t,e,{...s,platform:o})};var a2={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/var L7;function UR(){return L7||(L7=1,(function(t){(function(){var e={}.hasOwnProperty;function a(){for(var o="",u=0;u<arguments.length;u++){var d=arguments[u];d&&(o=s(o,i(d)))}return o}function i(o){if(typeof o=="string"||typeof o=="number")return o;if(typeof o!="object")return"";if(Array.isArray(o))return a.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var u="";for(var d in o)e.call(o,d)&&o[d]&&(u=s(u,d));return u}function s(o,u){return u?o?o+" "+u:o+u:o}t.exports?(a.default=a,t.exports=a):window.classNames=a})()})(a2)),a2.exports}var PR=UR();const Rp=Ar(PR);var k7={};const HR="react-tooltip-core-styles",BR="react-tooltip-base-styles",_7={core:!1,base:!1};function z7({css:t,id:e=BR,type:a="base",ref:i}){var s,o;if(!t||typeof document>"u"||_7[a]||a==="core"&&typeof process<"u"&&(!((s=process==null?void 0:k7)===null||s===void 0)&&s.REACT_TOOLTIP_DISABLE_CORE_STYLES)||a!=="base"&&typeof process<"u"&&(!((o=process==null?void 0:k7)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;a==="core"&&(e=HR),i||(i={});const{insertAt:u}=i;if(document.getElementById(e))return;const d=document.head||document.getElementsByTagName("head")[0],f=document.createElement("style");f.id=e,f.type="text/css",u==="top"&&d.firstChild?d.insertBefore(f,d.firstChild):d.appendChild(f),f.styleSheet?f.styleSheet.cssText=t:f.appendChild(document.createTextNode(t)),_7[a]=!0}const q7=async({elementReference:t=null,tooltipReference:e=null,tooltipArrowReference:a=null,place:i="top",offset:s=10,strategy:o="absolute",middlewares:u=[kR(Number(s)),zR({fallbackAxisSideDirection:"start"}),_R({padding:5})],border:d,arrowSize:f=8})=>{if(!t)return{tooltipStyles:{},tooltipArrowStyles:{},place:i};if(e===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:i};const m=u;return a?(m.push(qR({element:a,padding:5})),j7(t,e,{placement:i,strategy:o,middleware:m}).then((({x:y,y:b,placement:C,middlewareData:A})=>{var I,M;const O={left:`${y}px`,top:`${b}px`,border:d},{x:R,y:x}=(I=A.arrow)!==null&&I!==void 0?I:{x:0,y:0},j=(M={top:"bottom",right:"left",bottom:"top",left:"right"}[C.split("-")[0]])!==null&&M!==void 0?M:"bottom",U=d&&{borderBottom:d,borderRight:d};let L=0;if(d){const P=`${d}`.match(/(\d+)px/);L=P?.[1]?Number(P[1]):1}return{tooltipStyles:O,tooltipArrowStyles:{left:R!=null?`${R}px`:"",top:x!=null?`${x}px`:"",right:"",bottom:"",...U,[j]:`-${f/2+L}px`},place:C}}))):j7(t,e,{placement:"bottom",strategy:o,middleware:m}).then((({x:y,y:b,placement:C})=>({tooltipStyles:{left:`${y}px`,top:`${b}px`},tooltipArrowStyles:{},place:C})))},U7=(t,e)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(t,e),P7=(t,e,a)=>{let i=null;const s=function(...o){const u=()=>{i=null};!i&&(t.apply(this,o),i=setTimeout(u,e))};return s.cancel=()=>{i&&(clearTimeout(i),i=null)},s},H7=t=>t!==null&&!Array.isArray(t)&&typeof t=="object",Ip=(t,e)=>{if(t===e)return!0;if(Array.isArray(t)&&Array.isArray(e))return t.length===e.length&&t.every(((s,o)=>Ip(s,e[o])));if(Array.isArray(t)!==Array.isArray(e))return!1;if(!H7(t)||!H7(e))return t===e;const a=Object.keys(t),i=Object.keys(e);return a.length===i.length&&a.every((s=>Ip(t[s],e[s])))},FR=t=>{if(!(t instanceof HTMLElement||t instanceof SVGElement))return!1;const e=getComputedStyle(t);return["overflow","overflow-x","overflow-y"].some((a=>{const i=e.getPropertyValue(a);return i==="auto"||i==="scroll"}))},B7=t=>{if(!t)return null;let e=t.parentElement;for(;e;){if(FR(e))return e;e=e.parentElement}return document.scrollingElement||document.documentElement},VR=typeof window<"u"?g.useLayoutEffect:g.useEffect,mr=t=>{t.current&&(clearTimeout(t.current),t.current=null)},GR="DEFAULT_TOOLTIP_ID",ZR={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},YR=g.createContext({getTooltipData:()=>ZR});function rA(t=GR){return g.useContext(YR).getTooltipData(t)}var $l={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},r2={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const WR=({forwardRef:t,id:e,className:a,classNameArrow:i,variant:s="dark",anchorId:o,anchorSelect:u,place:d="top",offset:f=10,events:m=["hover"],openOnClick:y=!1,positionStrategy:b="absolute",middlewares:C,wrapper:A,delayShow:I=0,delayHide:M=0,float:O=!1,hidden:R=!1,noArrow:x=!1,clickable:j=!1,closeOnEsc:U=!1,closeOnScroll:L=!1,closeOnResize:P=!1,openEvents:F,closeEvents:E,globalCloseEvents:T,imperativeModeOnly:N,style:G,position:_,afterShow:q,afterHide:Z,disableTooltip:V,content:D,contentWrapperRef:H,isOpen:k,defaultIsOpen:W=!1,setIsOpen:se,activeAnchor:B,setActiveAnchor:K,border:le,opacity:he,arrowColor:fe,arrowSize:ye=8,role:we="tooltip"})=>{var Je;const Ne=g.useRef(null),Wt=g.useRef(null),mt=g.useRef(null),Mt=g.useRef(null),At=g.useRef(null),[je,Ae]=g.useState({tooltipStyles:{},tooltipArrowStyles:{},place:d}),[Re,Qt]=g.useState(!1),[ut,Ve]=g.useState(!1),[ot,gn]=g.useState(null),Ke=g.useRef(!1),Ce=g.useRef(null),{anchorRefs:De,setActiveAnchor:He}=rA(e),it=g.useRef(!1),[_t,vn]=g.useState([]),qn=g.useRef(!1),Mn=y||m.includes("click"),Jn=Mn||F?.click||F?.dblclick||F?.mousedown,ea=F?{...F}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!F&&Mn&&Object.assign(ea,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const En=E?{...E}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!E&&Mn&&Object.assign(En,{mouseleave:!1,blur:!1,mouseout:!1});const pt=T?{...T}:{escape:U||!1,scroll:L||!1,resize:P||!1,clickOutsideAnchor:Jn||!1};N&&(Object.assign(ea,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(En,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(pt,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),VR((()=>(qn.current=!0,()=>{qn.current=!1})),[]);const st=be=>{qn.current&&(be&&Ve(!0),setTimeout((()=>{qn.current&&(se?.(be),k===void 0&&Qt(be))}),10))};g.useEffect((()=>{if(k===void 0)return()=>null;k&&Ve(!0);const be=setTimeout((()=>{Qt(k)}),10);return()=>{clearTimeout(be)}}),[k]),g.useEffect((()=>{if(Re!==Ke.current)if(mr(At),Ke.current=Re,Re)q?.();else{const be=(qe=>{const Le=qe.match(/^([\d.]+)(ms|s)$/);if(!Le)return 0;const[,Rt,an]=Le;return Number(Rt)*(an==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));At.current=setTimeout((()=>{Ve(!1),gn(null),Z?.()}),be+25)}}),[Re]);const Ft=be=>{Ae((qe=>Ip(qe,be)?qe:be))},Aa=(be=I)=>{mr(mt),ut?st(!0):mt.current=setTimeout((()=>{st(!0)}),be)},Na=(be=M)=>{mr(Mt),Mt.current=setTimeout((()=>{it.current||st(!1)}),be)},va=be=>{var qe;if(!be)return;const Le=(qe=be.currentTarget)!==null&&qe!==void 0?qe:be.target;if(!Le?.isConnected)return K(null),void He({current:null});I?Aa():st(!0),K(Le),He({current:Le}),mr(Mt)},Un=()=>{j?Na(M||100):M?Na():st(!1),mr(mt)},Pn=({x:be,y:qe})=>{var Le;const Rt={getBoundingClientRect:()=>({x:be,y:qe,width:0,height:0,top:qe,left:be,right:be,bottom:qe})};q7({place:(Le=ot?.place)!==null&&Le!==void 0?Le:d,offset:f,elementReference:Rt,tooltipReference:Ne.current,tooltipArrowReference:Wt.current,strategy:b,middlewares:C,border:le,arrowSize:ye}).then((an=>{Ft(an)}))},Ot=be=>{if(!be)return;const qe=be,Le={x:qe.clientX,y:qe.clientY};Pn(Le),Ce.current=Le},yn=be=>{var qe;if(!Re)return;const Le=be.target;Le.isConnected&&(!((qe=Ne.current)===null||qe===void 0)&&qe.contains(Le)||[document.querySelector(`[id='${o}']`),..._t].some((Rt=>Rt?.contains(Le)))||(st(!1),mr(mt)))},ua=P7(va,50),Xe=P7(Un,50),on=be=>{Xe.cancel(),ua(be)},Ue=()=>{ua.cancel(),Xe()},$e=g.useCallback((()=>{var be,qe;const Le=(be=ot?.position)!==null&&be!==void 0?be:_;Le?Pn(Le):O?Ce.current&&Pn(Ce.current):B?.isConnected&&q7({place:(qe=ot?.place)!==null&&qe!==void 0?qe:d,offset:f,elementReference:B,tooltipReference:Ne.current,tooltipArrowReference:Wt.current,strategy:b,middlewares:C,border:le,arrowSize:ye}).then((Rt=>{qn.current&&Ft(Rt)}))}),[Re,B,D,G,d,ot?.place,f,b,_,ot?.position,O,ye]);g.useEffect((()=>{var be,qe;const Le=new Set(De);_t.forEach((Ie=>{V?.(Ie)||Le.add({current:Ie})}));const Rt=document.querySelector(`[id='${o}']`);Rt&&!V?.(Rt)&&Le.add({current:Rt});const an=()=>{st(!1)},Nn=B7(B),Dn=B7(Ne.current);pt.scroll&&(window.addEventListener("scroll",an),Nn?.addEventListener("scroll",an),Dn?.addEventListener("scroll",an));let Dt=null;pt.resize?window.addEventListener("resize",an):B&&Ne.current&&(Dt=aA(B,Ne.current,$e,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const ke=Ie=>{Ie.key==="Escape"&&st(!1)};pt.escape&&window.addEventListener("keydown",ke),pt.clickOutsideAnchor&&window.addEventListener("click",yn);const et=[],Ct=Ie=>!!(Ie?.target&&B?.contains(Ie.target)),Ba=Ie=>{Re&&Ct(Ie)||va(Ie)},Vt=Ie=>{Re&&Ct(Ie)&&Un()},Da=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],Oe=["click","dblclick","mousedown","mouseup"];Object.entries(ea).forEach((([Ie,dt])=>{dt&&(Da.includes(Ie)?et.push({event:Ie,listener:on}):Oe.includes(Ie)&&et.push({event:Ie,listener:Ba}))})),Object.entries(En).forEach((([Ie,dt])=>{dt&&(Da.includes(Ie)?et.push({event:Ie,listener:Ue}):Oe.includes(Ie)&&et.push({event:Ie,listener:Vt}))})),O&&et.push({event:"pointermove",listener:Ot});const Q=()=>{it.current=!0},ve=()=>{it.current=!1,Un()},Se=j&&(En.mouseout||En.mouseleave);return Se&&((be=Ne.current)===null||be===void 0||be.addEventListener("mouseover",Q),(qe=Ne.current)===null||qe===void 0||qe.addEventListener("mouseout",ve)),et.forEach((({event:Ie,listener:dt})=>{Le.forEach((gt=>{var We;(We=gt.current)===null||We===void 0||We.addEventListener(Ie,dt)}))})),()=>{var Ie,dt;pt.scroll&&(window.removeEventListener("scroll",an),Nn?.removeEventListener("scroll",an),Dn?.removeEventListener("scroll",an)),pt.resize?window.removeEventListener("resize",an):Dt?.(),pt.clickOutsideAnchor&&window.removeEventListener("click",yn),pt.escape&&window.removeEventListener("keydown",ke),Se&&((Ie=Ne.current)===null||Ie===void 0||Ie.removeEventListener("mouseover",Q),(dt=Ne.current)===null||dt===void 0||dt.removeEventListener("mouseout",ve)),et.forEach((({event:gt,listener:We})=>{Le.forEach((Hn=>{var Kn;(Kn=Hn.current)===null||Kn===void 0||Kn.removeEventListener(gt,We)}))}))}}),[B,$e,ut,De,_t,F,E,T,Mn,I,M]),g.useEffect((()=>{var be,qe;let Le=(qe=(be=ot?.anchorSelect)!==null&&be!==void 0?be:u)!==null&&qe!==void 0?qe:"";!Le&&e&&(Le=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`);const Rt=new MutationObserver((an=>{const Nn=[],Dn=[];an.forEach((Dt=>{if(Dt.type==="attributes"&&Dt.attributeName==="data-tooltip-id"&&(Dt.target.getAttribute("data-tooltip-id")===e?Nn.push(Dt.target):Dt.oldValue===e&&Dn.push(Dt.target)),Dt.type==="childList"){if(B){const ke=[...Dt.removedNodes].filter((et=>et.nodeType===1));if(Le)try{Dn.push(...ke.filter((et=>et.matches(Le)))),Dn.push(...ke.flatMap((et=>[...et.querySelectorAll(Le)])))}catch{}ke.some((et=>{var Ct;return!!(!((Ct=et?.contains)===null||Ct===void 0)&&Ct.call(et,B))&&(Ve(!1),st(!1),K(null),mr(mt),mr(Mt),!0)}))}if(Le)try{const ke=[...Dt.addedNodes].filter((et=>et.nodeType===1));Nn.push(...ke.filter((et=>et.matches(Le)))),Nn.push(...ke.flatMap((et=>[...et.querySelectorAll(Le)])))}catch{}}})),(Nn.length||Dn.length)&&vn((Dt=>[...Dt.filter((ke=>!Dn.includes(ke))),...Nn]))}));return Rt.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{Rt.disconnect()}}),[e,u,ot?.anchorSelect,B]),g.useEffect((()=>{$e()}),[$e]),g.useEffect((()=>{if(!H?.current)return()=>null;const be=new ResizeObserver((()=>{setTimeout((()=>$e()))}));return be.observe(H.current),()=>{be.disconnect()}}),[D,H?.current]),g.useEffect((()=>{var be;const qe=document.querySelector(`[id='${o}']`),Le=[..._t,qe];B&&Le.includes(B)||K((be=_t[0])!==null&&be!==void 0?be:qe)}),[o,_t,B]),g.useEffect((()=>(W&&st(!0),()=>{mr(mt),mr(Mt)})),[]),g.useEffect((()=>{var be;let qe=(be=ot?.anchorSelect)!==null&&be!==void 0?be:u;if(!qe&&e&&(qe=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),qe)try{const Le=Array.from(document.querySelectorAll(qe));vn(Le)}catch{vn([])}}),[e,u,ot?.anchorSelect]),g.useEffect((()=>{mt.current&&(mr(mt),Aa(I))}),[I]);const ft=(Je=ot?.content)!==null&&Je!==void 0?Je:D,ta=Re&&Object.keys(je.tooltipStyles).length>0;return g.useImperativeHandle(t,(()=>({open:be=>{if(be?.anchorSelect)try{document.querySelector(be.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${be.anchorSelect}" is not a valid CSS selector`)}gn(be??null),be?.delay?Aa(be.delay):st(!0)},close:be=>{be?.delay?Na(be.delay):st(!1)},activeAnchor:B,place:je.place,isOpen:!!(ut&&!R&&ft&&ta)}))),ut&&!R&&ft?te.createElement(A,{id:e,role:we,className:Rp("react-tooltip",$l.tooltip,r2.tooltip,r2[s],a,`react-tooltip__place-${je.place}`,$l[ta?"show":"closing"],ta?"react-tooltip__show":"react-tooltip__closing",b==="fixed"&&$l.fixed,j&&$l.clickable),onTransitionEnd:be=>{mr(At),Re||be.propertyName!=="opacity"||(Ve(!1),gn(null),Z?.())},style:{...G,...je.tooltipStyles,opacity:he!==void 0&&ta?he:void 0},ref:Ne},ft,te.createElement(A,{className:Rp("react-tooltip-arrow",$l.arrow,r2.arrow,i,x&&$l.noArrow),style:{...je.tooltipArrowStyles,background:fe?`linear-gradient(to right bottom, transparent 50%, ${fe} 50%)`:void 0,"--rt-arrow-size":`${ye}px`},ref:Wt})):null},QR=({content:t})=>te.createElement("span",{dangerouslySetInnerHTML:{__html:t}}),JR=te.forwardRef((({id:t,anchorId:e,anchorSelect:a,content:i,html:s,render:o,className:u,classNameArrow:d,variant:f="dark",place:m="top",offset:y=10,wrapper:b="div",children:C=null,events:A=["hover"],openOnClick:I=!1,positionStrategy:M="absolute",middlewares:O,delayShow:R=0,delayHide:x=0,float:j=!1,hidden:U=!1,noArrow:L=!1,clickable:P=!1,closeOnEsc:F=!1,closeOnScroll:E=!1,closeOnResize:T=!1,openEvents:N,closeEvents:G,globalCloseEvents:_,imperativeModeOnly:q=!1,style:Z,position:V,isOpen:D,defaultIsOpen:H=!1,disableStyleInjection:k=!1,border:W,opacity:se,arrowColor:B,arrowSize:K,setIsOpen:le,afterShow:he,afterHide:fe,disableTooltip:ye,role:we="tooltip"},Je)=>{const[Ne,Wt]=g.useState(i),[mt,Mt]=g.useState(s),[At,je]=g.useState(m),[Ae,Re]=g.useState(f),[Qt,ut]=g.useState(y),[Ve,ot]=g.useState(R),[gn,Ke]=g.useState(x),[Ce,De]=g.useState(j),[He,it]=g.useState(U),[_t,vn]=g.useState(b),[qn,Mn]=g.useState(A),[Jn,ea]=g.useState(M),[En,pt]=g.useState(null),[st,Ft]=g.useState(null),Aa=g.useRef(k),{anchorRefs:Na,activeAnchor:va}=rA(t),Un=Xe=>Xe?.getAttributeNames().reduce(((on,Ue)=>{var $e;return Ue.startsWith("data-tooltip-")&&(on[Ue.replace(/^data-tooltip-/,"")]=($e=Xe?.getAttribute(Ue))!==null&&$e!==void 0?$e:null),on}),{}),Pn=Xe=>{const on={place:Ue=>{var $e;je(($e=Ue)!==null&&$e!==void 0?$e:m)},content:Ue=>{Wt(Ue??i)},html:Ue=>{Mt(Ue??s)},variant:Ue=>{var $e;Re(($e=Ue)!==null&&$e!==void 0?$e:f)},offset:Ue=>{ut(Ue===null?y:Number(Ue))},wrapper:Ue=>{var $e;vn(($e=Ue)!==null&&$e!==void 0?$e:b)},events:Ue=>{const $e=Ue?.split(" ");Mn($e??A)},"position-strategy":Ue=>{var $e;ea(($e=Ue)!==null&&$e!==void 0?$e:M)},"delay-show":Ue=>{ot(Ue===null?R:Number(Ue))},"delay-hide":Ue=>{Ke(Ue===null?x:Number(Ue))},float:Ue=>{De(Ue===null?j:Ue==="true")},hidden:Ue=>{it(Ue===null?U:Ue==="true")},"class-name":Ue=>{pt(Ue)}};Object.values(on).forEach((Ue=>Ue(null))),Object.entries(Xe).forEach((([Ue,$e])=>{var ft;(ft=on[Ue])===null||ft===void 0||ft.call(on,$e)}))};g.useEffect((()=>{Wt(i)}),[i]),g.useEffect((()=>{Mt(s)}),[s]),g.useEffect((()=>{je(m)}),[m]),g.useEffect((()=>{Re(f)}),[f]),g.useEffect((()=>{ut(y)}),[y]),g.useEffect((()=>{ot(R)}),[R]),g.useEffect((()=>{Ke(x)}),[x]),g.useEffect((()=>{De(j)}),[j]),g.useEffect((()=>{it(U)}),[U]),g.useEffect((()=>{ea(M)}),[M]),g.useEffect((()=>{Aa.current!==k&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")}),[k]),g.useEffect((()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:k==="core",disableBase:k}}))}),[]),g.useEffect((()=>{var Xe;const on=new Set(Na);let Ue=a;if(!Ue&&t&&(Ue=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),Ue)try{document.querySelectorAll(Ue).forEach((qe=>{on.add({current:qe})}))}catch{console.warn(`[react-tooltip] "${Ue}" is not a valid CSS selector`)}const $e=document.querySelector(`[id='${e}']`);if($e&&on.add({current:$e}),!on.size)return()=>null;const ft=(Xe=st??$e)!==null&&Xe!==void 0?Xe:va.current,ta=new MutationObserver((qe=>{qe.forEach((Le=>{var Rt;if(!ft||Le.type!=="attributes"||!(!((Rt=Le.attributeName)===null||Rt===void 0)&&Rt.startsWith("data-tooltip-")))return;const an=Un(ft);Pn(an)}))})),be={attributes:!0,childList:!1,subtree:!1};if(ft){const qe=Un(ft);Pn(qe),ta.observe(ft,be)}return()=>{ta.disconnect()}}),[Na,va,st,e,a]),g.useEffect((()=>{Z?.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),W&&!U7("border",`${W}`)&&console.warn(`[react-tooltip] "${W}" is not a valid \`border\`.`),Z?.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),se&&!U7("opacity",`${se}`)&&console.warn(`[react-tooltip] "${se}" is not a valid \`opacity\`.`)}),[]);let Ot=C;const yn=g.useRef(null);if(o){const Xe=o({content:st?.getAttribute("data-tooltip-content")||Ne||null,activeAnchor:st});Ot=Xe?te.createElement("div",{ref:yn,className:"react-tooltip-content-wrapper"},Xe):null}else Ne&&(Ot=Ne);mt&&(Ot=te.createElement(QR,{content:mt}));const ua={forwardRef:Je,id:t,anchorId:e,anchorSelect:a,className:Rp(u,En),classNameArrow:d,content:Ot,contentWrapperRef:yn,place:At,variant:Ae,offset:Qt,wrapper:_t,events:qn,openOnClick:I,positionStrategy:Jn,middlewares:O,delayShow:Ve,delayHide:gn,float:Ce,hidden:He,noArrow:L,clickable:P,closeOnEsc:F,closeOnScroll:E,closeOnResize:T,openEvents:N,closeEvents:G,globalCloseEvents:_,imperativeModeOnly:q,style:Z,position:V,isOpen:D,defaultIsOpen:H,border:W,opacity:se,arrowColor:B,arrowSize:K,setIsOpen:le,afterShow:he,afterHide:fe,disableTooltip:ye,activeAnchor:st,setActiveAnchor:Xe=>Ft(Xe),role:we};return te.createElement(WR,{...ua})}));typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",(t=>{t.detail.disableCore||z7({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),t.detail.disableBase||z7({css:`
.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})}));var F7;function Mp(){return Mp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Mp.apply(null,arguments)}var KR=function(e){return g.createElement("svg",Mp({xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4"},e),F7||(F7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M23.2.8 12.5 11.5c-.1.1-.2.1-.2.2-.1 0-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.2-.1-.2-.2L.8.8"})))},V7,G7;function Np(){return Np=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Np.apply(null,arguments)}var L6=function(e){return g.createElement("svg",Np({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"info-svg",viewBox:"0 0 22.5 22.5"},e),V7||(V7=g.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),G7||(G7=g.createElement("g",{fill:"none"},g.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),g.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5"}),g.createElement("path",{stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5s-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"}))))},Z7,Y7;function Dp(){return Dp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Dp.apply(null,arguments)}var iA=function(e){return g.createElement("svg",Dp({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5"},e),Z7||(Z7=g.createElement("circle",{cx:11.2,cy:11.2,r:11.2,fill:"none",className:"bg"})),Y7||(Y7=g.createElement("g",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5},g.createElement("path",{d:"M11.2 21.8c5.8 0 10.5-4.7 10.5-10.6C21.7 5.4 17 .7 11.2.7S.7 5.5.7 11.3s4.7 10.5 10.5 10.5"}),g.createElement("path",{d:"m5.6 12.4 2.2 3.3c.2.1.4.3.4.3.1.1.3.1.5.1s.3 0 .5-.1.3-.2.4-.3l7.3-9.3"}))))},W7,Q7,J7,K7;function jp(){return jp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},jp.apply(null,arguments)}var sA=function(e){return g.createElement("svg",jp({xmlns:"http://www.w3.org/2000/svg",width:22.6,height:22.6,viewBox:"0 0 22.6 22.6"},e),W7||(W7=g.createElement("path",{fill:"none",d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z",className:"bg"})),Q7||(Q7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M12.8 1.8c-.1-.3-.4-.6-.6-.7q-.45-.3-.9-.3-.6 0-.9.3c-.3.3-.5.3-.7.6L.9 19.9c-.1.2-.2.5-.2.7 0 .3.1.5.2.7s.3.4.6.5c.2.1.5.2.7.2h18.3c.3 0 .5-.1.7-.2s.4-.3.6-.5c.1-.2.2-.5.2-.7 0-.3 0-.5-.2-.7z"})),J7||(J7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11.3 17.7c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2"})),K7||(K7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:1.5,d:"M11.3 14.9V7.8"})))},X7;function Lp(){return Lp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Lp.apply(null,arguments)}var k6=function(e){return g.createElement("svg",Lp({xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5"},e),X7||(X7=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8 12.8 12-12m0 12L.8.8"})))},kp;(function(t){t.Default="sds--alert--status-default",t.Success="sds--alert--status-success",t.Warning="sds--alert--status-warning",t.Error="sds--alert--status-error",t.Info="sds--alert--status-info"})(kp||(kp={}));var oa=kp;function _6(t){return t!=null?(t.preventDefault(),t.stopPropagation(),!1):!0}function $7(t){return t==null?!0:Array.isArray(t)?t.length===0:typeof t=="string"?t.trim().length===0:t&&t.getTime&&typeof t.getTime=="function"?t.getTime()!==t.getTime():typeof t=="object"?Object.keys(t).length===0:!1}function hl(t){return ZO.sanitize(t,{ADD_ATTR:["target"]})}function XR(){return crypto.randomUUID&&typeof crypto.randomUUID=="function"&&crypto.randomUUID()||Math.round(new Date().getTime()*Math.random()*1e3).toString()}var zr=function(t){var e=t.alertType||oa.Success,a=t.action?"sds--alert--has-action":"",i="sds--alert ".concat(e.toLowerCase()," ").concat(a," ").concat(t.hide?"hide":"");return te.createElement("div",{className:i},te.createElement("div",{className:"sds--alert--inner ".concat(t.asChild?"":"sds--page-container")},te.createElement("div",{className:"sds--alert--visual"},[oa.Error,oa.Warning].includes(e)&&te.createElement(sA,null),[oa.Default,oa.Info].includes(e)&&te.createElement(L6,null),[oa.Success].includes(e)&&te.createElement(iA,null)),te.createElement("div",{className:"sds--alert--textual"},te.createElement("p",{dangerouslySetInnerHTML:{__html:hl(t.message)}}),t.action&&te.createElement("button",{type:"button",onClick:t.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},t.actionLabel)),t.close&&te.createElement("button",{className:"sds--alert--actions",onClick:t.close},te.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),te.createElement(k6,null))))},e9;(function(t){t.Horizontal="",t.Vertical="sds--block-switch--vertical"})(e9||(e9={}));var t9;function _p(){return _p=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},_p.apply(null,arguments)}var $R=function(e){return g.createElement("svg",_p({xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24"},e),t9||(t9=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"m.8.8 10.7 10.7c.1.1.1.2.2.2 0 .1.1.2.1.3s0 .2-.1.3c0 .1-.1.2-.2.2L.8 23.2"})))},n9;function zp(){return zp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},zp.apply(null,arguments)}var eI=function(e){return g.createElement("svg",zp({xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,className:"bin-svg",viewBox:"0 0 22.5 22.5"},e),n9||(n9=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M.8 3.8h21m-8.3-3H9c-.4 0-.8.2-1.1.4-.2.3-.4.7-.4 1v1.5H15V2.2c0-.4-.2-.8-.4-1.1-.3-.2-.7-.3-1.1-.3M9 16.5V9m4.5 7.5V9m4.6 11.4c0 .4-.2.7-.5 1s-.6.4-1 .4H5.9c-.4 0-.7-.1-1-.4s-.4-.6-.5-1L3 3.8h16.5z"})))},qp;(function(t){t.Primary="sds--btn--primary",t.Secondary="sds--btn--secondary",t.Tertiary="sds--btn--tertiary",t.GhostDark="sds--btn--ghost--dark",t.GhostLight="sds--btn--ghost--light",t.Delete="sds--btn--delete",t.DeleteSecondary="sds--btn--delete--secondary",t.Chevron="sds--btn--chevron",t.DestructivePrimary="sds--btn sds--btn-destructive--primary",t.DestructiveSecondary="sds--btn sds--btn-destructive--secondary",t.DestructiveTertiary="sds--btn sds--btn-destructive--tertiary"})(qp||(qp={}));var vt=qp,Up;(function(t){t.Default="",t.Small="sds--btn--small",t.Full="sds--btn--full"})(Up||(Up={}));var lA=Up,Pp;(function(t){t.Right="right",t.Left="left"})(Pp||(Pp={}));var V1=Pp;vt.Primary,lA.Default;var at=function(t){var e="".concat((t.type||vt.Primary).toLowerCase()," ")+"".concat(t.type&&t.type===vt.DeleteSecondary?vt.Secondary.toLowerCase():""),a="".concat((t.size||lA.Default).toLowerCase()),i=t.children?"sds--btn-chevron":"",s=t.icon?"sds--btn-icon":"",o=t.active||!1,u="sds--btn ".concat(e," ").concat(a," ").concat(i," ").concat(s," ").concat(o?"active":""),d=t.iconPlacement||V1.Right,f=function(m){_6(m),!t.disabled&&t.onClick&&t.onClick(m)};return te.createElement("button",{type:"button",className:u,onClick:f,ref:t.ref,disabled:t.disabled},V1.Left===d?t.icon:null,t.children,t.txt&&te.createElement("span",{className:"textual",dangerouslySetInnerHTML:{__html:hl(t.txt||"")}}),t.type===vt.Delete?te.createElement(eI,null):V1.Right===d?t.icon:null)},a9;function Hp(){return Hp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Hp.apply(null,arguments)}var tI=function(e){return g.createElement("svg",Hp({xmlns:"http://www.w3.org/2000/svg",width:13.6,height:11.9,viewBox:"0 0 13.6 11.9"},e),a9||(a9=g.createElement("path",{d:"m11.9.4-7 9.6-3.3-3.2c-.4-.4-1-.4-1.3 0-.4.4-.4 1 0 1.3l3.2 3.2q.6.6 1.5.6c.9 0 1.1-.3 1.4-.8l7.1-9.6c.3-.4.2-1-.2-1.3-.5-.3-1.1-.2-1.4.2"})))},ca=function(t){var e="A"+XR();return te.createElement("div",{"data-tooltip-id":e,className:"sds--tooltip-container ".concat(t.standalone?"":"sibbling"),"data-tooltip-html":hl(t.tip)},t.children?te.Children.map(t.children,function(a){return a}):te.createElement(L6,null),te.createElement(JR,{id:e,place:t.place,clickable:t.clickable||!1,disableStyleInjection:"core"}))},oA=function(t){var e=function(i){i.cancelBubble=!0,i.stopPropagation();var s=t.onChange;return s&&s(i),!1},a="sds--checkbox-container sds--tooltip-parent ".concat(t.className||""," ").concat(t.hide?"hide":"");return te.createElement("div",{className:a},te.createElement("input",{id:t.name,type:"checkbox",checked:t.value,disabled:t.readOnly,onChange:e}),te.createElement("label",{htmlFor:t.name},te.createElement("span",{className:"sds--checkbox--visual"},te.createElement(tI,null)),t.info&&te.createElement("span",{className:"checkbox--text",dangerouslySetInnerHTML:{__html:hl(t.info)}})),t.tooltip&&te.createElement(ca,{tip:t.tooltip}))},r9;(function(t){t.Default="sds--card",t.Big="sds--card sds--card--big"})(r9||(r9={}));var Bp;(function(t){t.Main_100="main-100",t.Main_200="main-200",t.Main_300="main-300",t.Main_400="main-400",t.Main_500="main-500",t.Support_100="support-100",t.Support_400="support-400",t.Support_500="support-500",t.Status_default="status-default",t.Status_success="status-success",t.Status_warning="status-warning",t.Status_error="status-error",t.Status_info="status-info"})(Bp||(Bp={}));var xs=Bp,ol=function(t){var e=t.type?t.type:xs.Main_100,a=t.className||"";return te.createElement("button",{className:"sds--chips ".concat(e," ").concat(a)},t.children&&te.createElement("span",{className:"sds--chips--visual"},t.children),te.createElement("span",{className:"sds--chips--textual sds--text--body--small"},t.label),t.toolTip&&te.createElement(ca,{tip:t.toolTip}))},i9;(function(t){t.Default="sds--error-indicator--status-default",t.Success="sds--error-indicator--status-success",t.Warning="sds--error-indicator--status-warning",t.Error="sds--error-indicator--status-error",t.Info="sds--error-indicator--status-info"})(i9||(i9={}));var Sn=function(t){var e="sds--loading-container ".concat(t.className||"");return te.createElement("div",{className:e},te.createElement("div",{className:"sds--loading"},te.createElement("span",{className:"sds--loading--dot"}),te.createElement("span",{className:"sds--loading--dot"}),te.createElement("span",{className:"sds--loading--dot"})),t.children&&t.children)},s9,l9;function Fp(){return Fp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Fp.apply(null,arguments)}var nI=function(e){return g.createElement("svg",Fp({xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,className:"logo-surf",viewBox:"0 0 70.9 36"},e),s9||(s9=g.createElement("path",{fillRule:"evenodd",d:"M65.5 21.8c3 0 5.4 2.4 5.4 5.4v3.4c0 3-2.4 5.4-5.4 5.4h-8.1c-3 0-5.4-2.4-5.4-5.4v-2.1c0-3.7-3-6.7-6.7-6.7H6.7C3 21.8 0 18.7 0 15V6.7C0 3 3 0 6.7 0h38.5C49 0 52 3 52 6.7V15c0 3.7 3 6.7 6.7 6.7h6.8z",className:"shape",clipRule:"evenodd"})),l9||(l9=g.createElement("path",{fill:"#fff",fillRule:"evenodd",d:"M43.4 12.5c.7 0 1.1-.4 1.1-1.1s-.3-1.1-1.1-1.1h-2.7v-2H45c.7 0 1.1-.4 1.1-1.1s-.4-1.1-1.1-1.1h-5.4c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2.4h2.7zM32.2 8.3c.9 0 1.5.4 1.5 1.3s-.7 1.3-1.5 1.3h-1.9V8.3zm1.3 7c.2.5.5.7.9.7.6 0 1.3-.4 1.3-1.1 0-.2 0-.4-.1-.6l-1-2.1q1.5-.75 1.5-2.7c0-2-1.5-3.4-3.6-3.4h-3.2c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1s1.1-.4 1.1-1.1v-2h2.1zm-10.3-3.9c0 1.5-.9 2.4-2.2 2.4s-2.2-.9-2.2-2.4V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.3c0 2.8 1.9 4.6 4.4 4.6 2.6 0 4.5-1.8 4.5-4.6V7.2c0-.7-.4-1.1-1.1-1.1s-1.1.4-1.1 1.1v4.2zM10.5 14c-.9 0-1.5-.2-1.9-.4-.4-.1-.7-.2-1-.2-.6 0-1 .4-1 1 0 1 2.1 1.6 4 1.6 2.2 0 3.9-1.2 3.9-3 0-1.7-1.1-2.4-2.4-2.8l-1.8-.6C9.4 9.5 9 9.3 9 8.8s.8-.7 1.4-.7c.8 0 1.3.2 1.8.4.3.1.6.2.9.2.6 0 .9-.4.9-1 0-1-1.9-1.6-3.6-1.6C8.3 6 6.7 7.2 6.7 8.9c0 1.4 1 2.3 2.2 2.6l1.6.5c.8.2 1.5.5 1.5 1 .1.6-.8 1-1.5 1",className:"text",clipRule:"evenodd"})))},Vp;(function(t){t.White="White",t.Black="Black"})(Vp||(Vp={}));var Gp=Vp,cA=function(t){var e=(t.color||Gp.Black)===Gp.White?"sds--branding--negative":"",a="sds--logo sds--branding sds--branding--name-".concat(t.position.toLowerCase()," ").concat(e);return te.createElement("div",{className:a},te.createElement("span",{className:"sds--branding--visual"},t.CustomLogo?te.createElement(t.CustomLogo,null):te.createElement(nI,null)),te.createElement("span",{className:"sds--branding--textual"},t.label))},Zp;(function(t){t.Bottom="Bottom",t.Up="Up"})(Zp||(Zp={}));var uA=Zp,fA=function(t){var e=t.alertType||oa.Info,a=t.full?"full":"",i=t.className||"",s="sds--modal--title ".concat(t.isError?"error":"");return g.useEffect(function(){return document.body.classList.add("modal-open"),function(){document.body.classList.remove("modal-open")}},[]),te.createElement("div",{className:"sds--modal sds--backdrop"},te.createElement("div",{className:"sds--modal--container ".concat(a," ").concat(i)},t.title&&te.createElement("div",{className:s},te.createElement("p",{className:"sds--text--h4"},t.title),t.cancel&&te.createElement("span",{className:"sds--modal--close",onClick:t.cancel},te.createElement(k6,null))),t.alertType&&te.createElement(zr,{alertType:e,message:t.subTitle||"",asChild:!0}),te.createElement("div",{className:"sds--modal--content"},te.createElement("div",{className:"sds--text--rich"},t.question&&te.createElement("p",{dangerouslySetInnerHTML:{__html:hl(t.question)}}),t.children),te.createElement("div",{className:"sds--modal--actions sds--actions--outer sds--space--top--5"},t.cancel&&te.createElement(at,{onClick:t.cancel,type:vt.Secondary,txt:t.cancelButtonLabel}),t.confirm&&te.createElement(at,{onClick:t.confirm,type:vt.Primary,disabled:t.confirmDisabled,txt:t.confirmationButtonLabel})))))},dA=function(t){var e=t.cutoffNumber||190,a=g.useState(!$7(t.txt)&&t.txt.length>e&&t.txt.substring(e).indexOf(" ")>-1),i=a[0],s=a[1],o=g.useState(!1),u=o[0],d=o[1],f=function(y){_6(y);var b=i;s(!b),d(b)},m=$7(t.txt)?t.txt:t.txt.substring(0,e+t.txt.substring(e).indexOf(" "));return te.createElement("span",{className:"sds--more-less-toggle"},i?m:t.txt,i&&te.createElement("a",{className:"show-more",href:"/more",onClick:f},t.moreLabel||"More"),u&&te.createElement("a",{className:"show-more",href:"/less",onClick:f},t.lessLabel||"Less"))},o9,c9,u9,f9;function Yp(){return Yp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Yp.apply(null,arguments)}var aI=function(e){return g.createElement("svg",Yp({xmlns:"http://www.w3.org/2000/svg",width:20,height:21,fill:"none",viewBox:"0 0 20 21"},e),o9||(o9=g.createElement("rect",{width:19.167,height:19.167,x:.417,y:.854,fill:"#404A56",rx:2.083})),c9||(c9=g.createElement("rect",{width:19.167,height:19.167,x:.417,y:.854,stroke:"#fff",strokeWidth:.833,rx:2.083})),u9||(u9=g.createElement("path",{stroke:"#fff",strokeWidth:.833,d:"M5.417.437v20"})),f9||(f9=g.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.25,d:"m15 15.125-4.467-4.467a.31.31 0 0 1 0-.442L15 5.75"})))},d9,h9,m9,p9;function Wp(){return Wp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Wp.apply(null,arguments)}var rI=function(e){return g.createElement("svg",Wp({xmlns:"http://www.w3.org/2000/svg",width:16,height:17,fill:"none",viewBox:"0 0 16 17"},e),d9||(d9=g.createElement("mask",{id:"a",fill:"#fff"},g.createElement("path",{d:"M7.998 16.876a1.56 1.56 0 0 1-1.234-.593L5.756 15.03a.59.59 0 0 0-.522-.216l-1.599.174q-.09.01-.179.01c-.36 0-.701-.12-.985-.346a1.57 1.57 0 0 1-.587-1.417l.174-1.598a.59.59 0 0 0-.216-.52L.59 10.108a1.58 1.58 0 0 1-.583-1.064 1.58 1.58 0 0 1 .583-1.409l1.253-1.008a.58.58 0 0 0 .216-.52l-.174-1.6c-.047-.42.073-.834.338-1.165a1.58 1.58 0 0 1 1.415-.587l1.598.174.063.004c.179 0 .346-.08.458-.22l1.008-1.246a1.589 1.589 0 0 1 2.472.001l1.008 1.254a.58.58 0 0 0 .52.217l1.6-.174a1.57 1.57 0 0 1 1.165.338 1.58 1.58 0 0 1 .586 1.415l-.173 1.598c-.022.2.059.394.216.52l1.254 1.009c.33.265.537.644.583 1.065a1.57 1.57 0 0 1-.583 1.407l-1.26 1.005a.58.58 0 0 0-.214.52l.174 1.6c.046.42-.073.833-.338 1.165a1.58 1.58 0 0 1-1.414.587l-1.6-.174-.066-.004a.58.58 0 0 0-.454.22l-1.004 1.25a1.57 1.57 0 0 1-1.238.59M5.3 13.81c.483 0 .933.216 1.236.594l1.007 1.253a.58.58 0 0 0 .52.215.58.58 0 0 0 .393-.215l1.005-1.25a1.57 1.57 0 0 1 1.408-.583l1.6.174a.6.6 0 0 0 .13 0 .58.58 0 0 0 .394-.217.58.58 0 0 0 .125-.43l-.174-1.603a1.58 1.58 0 0 1 .584-1.408l1.259-1.004a.582.582 0 0 0 .214-.519.58.58 0 0 0-.215-.394l-1.254-1.008a1.58 1.58 0 0 1-.584-1.407l.174-1.6a.586.586 0 0 0-.647-.65l-1.602.174q-.086.01-.173.01c-.482 0-.932-.216-1.235-.594L8.458 2.095a.578.578 0 0 0-.456-.219c-.18 0-.346.08-.458.219L6.536 3.342a1.58 1.58 0 0 1-1.408.583l-1.6-.174a.6.6 0 0 0-.133 0 .584.584 0 0 0-.517.647l.174 1.601a1.58 1.58 0 0 1-.584 1.408L1.216 8.414a.586.586 0 0 0 0 .914l1.253 1.008c.424.34.643.867.584 1.408l-.174 1.6a.581.581 0 0 0 .647.649l1.602-.175a2 2 0 0 1 .172-.008"}),g.createElement("path",{d:"M5.3 13.81c.483 0 .933.216 1.236.594l1.007 1.253a.58.58 0 0 0 .52.215.58.58 0 0 0 .393-.215l1.005-1.25a1.57 1.57 0 0 1 1.408-.583l1.6.174a.6.6 0 0 0 .13 0 .58.58 0 0 0 .394-.217.58.58 0 0 0 .125-.43l-.174-1.603a1.58 1.58 0 0 1 .584-1.408l1.259-1.004a.582.582 0 0 0 .214-.519.58.58 0 0 0-.215-.394l-1.254-1.008a1.58 1.58 0 0 1-.584-1.407l.174-1.6a.586.586 0 0 0-.647-.65l-1.602.174q-.086.01-.173.01c-.482 0-.932-.216-1.235-.594L8.458 2.095a.578.578 0 0 0-.456-.219c-.18 0-.346.08-.458.219L6.536 3.342a1.58 1.58 0 0 1-1.408.583l-1.6-.174a.6.6 0 0 0-.133 0 .584.584 0 0 0-.517.647l.174 1.601a1.58 1.58 0 0 1-.584 1.408L1.216 8.414a.586.586 0 0 0 0 .914l1.253 1.008c.424.34.643.867.584 1.408l-.174 1.6a.581.581 0 0 0 .647.649l1.602-.175a2 2 0 0 1 .172-.008"}))),h9||(h9=g.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M7.998 16.876a1.56 1.56 0 0 1-1.234-.593L5.756 15.03a.59.59 0 0 0-.522-.216l-1.599.174q-.09.01-.179.01c-.36 0-.701-.12-.985-.346a1.57 1.57 0 0 1-.587-1.417l.174-1.598a.59.59 0 0 0-.216-.52L.59 10.108a1.58 1.58 0 0 1-.583-1.064 1.58 1.58 0 0 1 .583-1.409l1.253-1.008a.58.58 0 0 0 .216-.52l-.174-1.6c-.047-.42.073-.834.338-1.165a1.58 1.58 0 0 1 1.415-.587l1.598.174.063.004c.179 0 .346-.08.458-.22l1.008-1.246a1.589 1.589 0 0 1 2.472.001l1.008 1.254a.58.58 0 0 0 .52.217l1.6-.174a1.57 1.57 0 0 1 1.165.338 1.58 1.58 0 0 1 .586 1.415l-.173 1.598c-.022.2.059.394.216.52l1.254 1.009c.33.265.537.644.583 1.065a1.57 1.57 0 0 1-.583 1.407l-1.26 1.005a.58.58 0 0 0-.214.52l.174 1.6c.046.42-.073.833-.338 1.165a1.58 1.58 0 0 1-1.414.587l-1.6-.174-.066-.004a.58.58 0 0 0-.454.22l-1.004 1.25a1.57 1.57 0 0 1-1.238.59ZM5.3 13.81c.483 0 .933.216 1.236.594l1.007 1.253a.58.58 0 0 0 .52.215.58.58 0 0 0 .393-.215l1.005-1.25a1.57 1.57 0 0 1 1.408-.583l1.6.174a.6.6 0 0 0 .13 0 .58.58 0 0 0 .394-.217.58.58 0 0 0 .125-.43l-.174-1.603a1.58 1.58 0 0 1 .584-1.408l1.259-1.004a.582.582 0 0 0 .214-.519.58.58 0 0 0-.215-.394l-1.254-1.008a1.58 1.58 0 0 1-.584-1.407l.174-1.6a.586.586 0 0 0-.647-.65l-1.602.174q-.086.01-.173.01c-.482 0-.932-.216-1.235-.594L8.458 2.095a.578.578 0 0 0-.456-.219c-.18 0-.346.08-.458.219L6.536 3.342a1.58 1.58 0 0 1-1.408.583l-1.6-.174a.6.6 0 0 0-.133 0 .584.584 0 0 0-.517.647l.174 1.601a1.58 1.58 0 0 1-.584 1.408L1.216 8.414a.586.586 0 0 0 0 .914l1.253 1.008c.424.34.643.867.584 1.408l-.174 1.6a.581.581 0 0 0 .647.649l1.602-.175a2 2 0 0 1 .172-.008Z",mask:"url(#a)"})),m9||(m9=g.createElement("path",{stroke:"#fff",strokeWidth:2,d:"M5.3 13.81c.483 0 .933.216 1.236.594l1.007 1.253a.58.58 0 0 0 .52.215.58.58 0 0 0 .393-.215l1.005-1.25a1.57 1.57 0 0 1 1.408-.583l1.6.174a.6.6 0 0 0 .13 0 .58.58 0 0 0 .394-.217.58.58 0 0 0 .125-.43l-.174-1.603a1.58 1.58 0 0 1 .584-1.408l1.259-1.004a.582.582 0 0 0 .214-.519.58.58 0 0 0-.215-.394l-1.254-1.008a1.58 1.58 0 0 1-.584-1.407l.174-1.6a.586.586 0 0 0-.647-.65l-1.602.174q-.086.01-.173.01c-.482 0-.932-.216-1.235-.594L8.458 2.095a.578.578 0 0 0-.456-.219c-.18 0-.346.08-.458.219L6.536 3.342a1.58 1.58 0 0 1-1.408.583l-1.6-.174a.6.6 0 0 0-.133 0 .584.584 0 0 0-.517.647l.174 1.601a1.58 1.58 0 0 1-.584 1.408L1.216 8.414a.586.586 0 0 0 0 .914l1.253 1.008c.424.34.643.867.584 1.408l-.174 1.6a.581.581 0 0 0 .647.649l1.602-.175a2 2 0 0 1 .172-.008Z",mask:"url(#a)"})),p9||(p9=g.createElement("path",{fill:"#fff",d:"M8 10.5a.375.375 0 0 1-.375-.376v-.128c0-.476.301-.902.75-1.06a1.127 1.127 0 0 0 .42-1.856A1.12 1.12 0 0 0 8 6.75c-.3 0-.583.117-.795.33-.213.212-.33.494-.33.795a.375.375 0 0 1-.75 0A1.877 1.877 0 0 1 9.326 6.55c.354.354.549.825.549 1.325 0 .793-.502 1.503-1.25 1.768a.38.38 0 0 0-.25.353v.128A.375.375 0 0 1 8 10.5M8 12.375a.562.562 0 1 0 0-1.125.562.562 0 0 0 0 1.125"})))},iI=function(t){var e=g.useState(!1),a=e[0],i=e[1],s=function(o,u){_6(o),t.setActiveMenuItem(u)};return te.createElement("div",{className:"sds--navigation-menu ".concat(a&&"collapsed")},te.createElement("div",{className:"sds--navigation-menu-header"},!a&&te.createElement(cA,{label:t.logoLabel,position:uA.Bottom,color:Gp.White}),te.createElement("div",{className:"close-container ".concat(a&&"collapsed"),onClick:function(){return i(!a)}},te.createElement(aI,null))),!a&&te.createElement("div",{className:"sds--navigation-menu-inner"},t.title&&te.createElement("div",{className:"sds--navigation-menu-title"},te.createElement("h2",null,t.title),t.settingToolTip&&te.createElement(ca,{tip:t.settingToolTip||"",place:"bottom-start",children:t.SettingLogo?te.createElement(t.SettingLogo,null):te.createElement(rI,null)})),te.createElement("div",{className:"sds--navigation-menu-items"},t.groups.map(function(o,u){return te.createElement("div",{key:u,className:"sds--navigation-group-item"},te.createElement("p",null,o.label),o.items.map(function(d,f){return te.createElement("div",{key:f,className:"sds--navigation-menu-item ".concat(d.active?"active":"")},te.createElement(d.Logo,null),te.createElement("a",{href:"".concat(d.href),onClick:function(m){return s(m,d)}},d.label))}))}))),te.createElement("div",{className:"sds--navigation-menu-children ".concat(a&&"collapsed")},t.children&&t.children))},sI=function(t,e){for(var a=2,i=t-a,s=t+a+1,o=[],u=[],d,f=1;f<=e;f++)(f===1||f===e||f>=i&&f<s)&&o.push(f);for(var m=0,y=o;m<y.length;m++){var f=y[m];d&&(f-d===2?u.push(d+1):f-d!==1&&u.push("...")),u.push(f),d=f}return u},g9;function Qp(){return Qp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Qp.apply(null,arguments)}var lI=function(e){return g.createElement("svg",Qp({xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24"},e),g9||(g9=g.createElement("path",{fill:"none",stroke:"#000",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M11.7 23.2 1 12.5c-.1-.1-.1-.2-.2-.2 0-.1-.1-.2-.1-.3s0-.2.1-.3c0-.1.1-.2.2-.2L11.7.8"})))},z6=function(t){var e=Math.ceil(t.total/t.pageCount),a=sI(t.currentPage,e);if(t.total<=t.pageCount)return null;var i=function(s,o){var u="".concat(s,"_").concat(o,"}}");return typeof s=="string"||s instanceof String?te.createElement("li",{key:u},te.createElement("span",{className:"link-placeholder"},"...")):s===t.currentPage?te.createElement("li",{key:u},te.createElement("a",{href:"#",className:"is-active","aria-current":"page"},s)):te.createElement("li",{key:u},te.createElement("a",{href:"#",onClick:function(){return t.onChange(s)},"aria-current":"page"},s))};return te.createElement("div",{className:"sds--pagination"},te.createElement("nav",{className:"sds--pagination--nav sds--text--body--large","aria-label":"pagination"},te.createElement("ul",null,e>1&&t.currentPage!==1&&te.createElement("li",{onClick:function(){return t.onChange(t.currentPage-1)}},te.createElement("a",{href:"#"},te.createElement(lI,null))),a.map(function(s,o){return i(s,o)}),e>1&&t.currentPage!==e&&te.createElement("li",{onClick:function(){return t.onChange(t.currentPage+1)}},te.createElement("a",{href:"#"},te.createElement($R,null))))),t.children&&t.children)},Jp;(function(t){t.row="row",t.column="column"})(Jp||(Jp={}));var Wc=Jp,Uc=function(t){var e=function(d){return t.value===null?!1:t.isMultiple?d===t.value:d===t.trueLabel?t.value===!0:!t.value},a=t.isMultiple||!1,i=t.orientation||Wc.row,s=t.reverse||!1,o=a?t.labels&&t.labels:s?[t.trueLabel,t.falseLabel]:[t.falseLabel,t.trueLabel],u=t.required||!1;return te.createElement("div",{className:"sds--radio-options"},t.label&&te.createElement("label",{htmlFor:"".concat(t.name),className:"sds--tooltip-parent sds--radio-options-label"},te.createElement("span",null,t.label,u&&te.createElement("sup",{className:"required"},"*")),t.tooltip&&te.createElement(ca,{tip:t.tooltip})),te.createElement("div",{className:"sds--text-field-container ".concat(i)},(o||[]).map(function(d,f){var m="".concat(t.name,"_").concat(d);return te.createElement("div",{key:m,className:"option-".concat(f)},te.createElement("input",{id:m,type:"radio",name:t.name,checked:e(d),disabled:t.disabled,onChange:t.onChange}),te.createElement("label",{htmlFor:m,className:"sds--radio-options-label"},te.createElement("span",{className:"sds--radio--visual"}),te.createElement("span",{className:"sds--radio--text",dangerouslySetInnerHTML:{__html:hl(t.labelResolver?t.labelResolver(d):d)}})))})))},G1=function(t){var e="sds--switch ".concat(t.value?"sds--switch--active":""," ").concat(t.disabled?"sds--switch--disabled":"");return te.createElement("div",{className:"sds--tooltip-parent",onClick:function(){return!t.disabled&&t.onChange(!t.value)}},te.createElement("span",{className:e,role:"switch","aria-checked":t.value}),t.tooltip&&te.createElement(ca,{tip:t.tooltip}))},Kp;(function(t){t.Default="sds--toaster--status-default",t.Success="sds--toaster--status-success",t.Warning="sds--toaster--status-warning",t.Error="sds--toaster--status-error",t.Info="sds--toaster--status-info"})(Kp||(Kp={}));var so=Kp,oI=function(t){var e="".concat(t.toasterType.toLowerCase()),a=t.large?"sds--toaster--full-width":"",i=t.action?"sds--toaster--has-action":"",s="sds--toaster ".concat(e," ").concat(i," ").concat(a);return te.createElement("div",{className:s},te.createElement("div",{className:"sds--toaster--visual"},[so.Error,so.Warning].includes(t.toasterType)&&te.createElement(sA,null),[so.Default,so.Info].includes(t.toasterType)&&te.createElement(L6,null),[so.Success].includes(t.toasterType)&&te.createElement(iA,null)),te.createElement("div",{className:"sds--toaster--textual"},t.message&&te.createElement("p",{dangerouslySetInnerHTML:{__html:hl(t.message)}}),t.children&&t.children,t.action&&te.createElement("button",{type:"button",onClick:t.action,className:"sds--btn sds--btn--ghost--dark sds--btn--small"},t.actionLabel)),t.close&&te.createElement("button",{className:"sds--alert--actions",onClick:t.close},te.createElement("span",{className:"text sds--visually-hidden"},"Close alert"),te.createElement(k6,null)))},cI=function(t){return te.createElement("div",{className:"sds--toaster-container"},t.children)},uI=function(t){return te.createElement("nav",{className:"sds--user-info ".concat(t.isOpen?"is-open":"")},te.createElement("div",{className:"sds--user-info--textual"},te.createElement("p",{className:"name"},t.userName),te.createElement("p",{className:"role sds--text--body--small"},t.organisationName)),te.createElement("button",{type:"button",className:"sds--user-info--button",onClick:t.toggle},te.createElement(KR,null)),te.createElement("div",{className:"sds--user-info--dropdown"},t.children&&t.children))};/**
 * react-router v7.9.3
 *
 * Copyright (c) Remix Software Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE.md file in the root directory of this source tree.
 *
 * @license MIT
 */var v9="popstate";function fI(t={}){function e(i,s){let{pathname:o,search:u,hash:d}=i.location;return Xp("",{pathname:o,search:u,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function a(i,s){return typeof s=="string"?s:Kc(s)}return hI(e,a,null,t)}function pn(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function Hr(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function dI(){return Math.random().toString(36).substring(2,10)}function y9(t,e){return{usr:t.state,key:t.key,idx:e}}function Xp(t,e,a=null,i){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof e=="string"?To(e):e,state:a,key:e&&e.key||i||dI()}}function Kc({pathname:t="/",search:e="",hash:a=""}){return e&&e!=="?"&&(t+=e.charAt(0)==="?"?e:"?"+e),a&&a!=="#"&&(t+=a.charAt(0)==="#"?a:"#"+a),t}function To(t){let e={};if(t){let a=t.indexOf("#");a>=0&&(e.hash=t.substring(a),t=t.substring(0,a));let i=t.indexOf("?");i>=0&&(e.search=t.substring(i),t=t.substring(0,i)),t&&(e.pathname=t)}return e}function hI(t,e,a,i={}){let{window:s=document.defaultView,v5Compat:o=!1}=i,u=s.history,d="POP",f=null,m=y();m==null&&(m=0,u.replaceState({...u.state,idx:m},""));function y(){return(u.state||{idx:null}).idx}function b(){d="POP";let O=y(),R=O==null?null:O-m;m=O,f&&f({action:d,location:M.location,delta:R})}function C(O,R){d="PUSH";let x=Xp(M.location,O,R);m=y()+1;let j=y9(x,m),U=M.createHref(x);try{u.pushState(j,"",U)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;s.location.assign(U)}o&&f&&f({action:d,location:M.location,delta:1})}function A(O,R){d="REPLACE";let x=Xp(M.location,O,R);m=y();let j=y9(x,m),U=M.createHref(x);u.replaceState(j,"",U),o&&f&&f({action:d,location:M.location,delta:0})}function I(O){return mI(O)}let M={get action(){return d},get location(){return t(s,u)},listen(O){if(f)throw new Error("A history only accepts one active listener");return s.addEventListener(v9,b),f=O,()=>{s.removeEventListener(v9,b),f=null}},createHref(O){return e(s,O)},createURL:I,encodeLocation(O){let R=I(O);return{pathname:R.pathname,search:R.search,hash:R.hash}},push:C,replace:A,go(O){return u.go(O)}};return M}function mI(t,e=!1){let a="http://localhost";typeof window<"u"&&(a=window.location.origin!=="null"?window.location.origin:window.location.href),pn(a,"No window.location.(origin|href) available to create URL");let i=typeof t=="string"?t:Kc(t);return i=i.replace(/ $/,"%20"),!e&&i.startsWith("//")&&(i=a+i),new URL(i,a)}function hA(t,e,a="/"){return pI(t,e,a,!1)}function pI(t,e,a,i){let s=typeof e=="string"?To(e):e,o=_i(s.pathname||"/",a);if(o==null)return null;let u=mA(t);gI(u);let d=null;for(let f=0;d==null&&f<u.length;++f){let m=OI(o);d=xI(u[f],m,i)}return d}function mA(t,e=[],a=[],i="",s=!1){let o=(u,d,f=s,m)=>{let y={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(y.relativePath.startsWith("/")){if(!y.relativePath.startsWith(i)&&f)return;pn(y.relativePath.startsWith(i),`Absolute route path "${y.relativePath}" nested under path "${i}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),y.relativePath=y.relativePath.slice(i.length)}let b=ji([i,y.relativePath]),C=a.concat(y);u.children&&u.children.length>0&&(pn(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${b}".`),mA(u.children,e,C,b,f)),!(u.path==null&&!u.index)&&e.push({path:b,score:CI(b,u.index),routesMeta:C})};return t.forEach((u,d)=>{if(u.path===""||!u.path?.includes("?"))o(u,d);else for(let f of pA(u.path))o(u,d,!0,f)}),e}function pA(t){let e=t.split("/");if(e.length===0)return[];let[a,...i]=e,s=a.endsWith("?"),o=a.replace(/\?$/,"");if(i.length===0)return s?[o,""]:[o];let u=pA(i.join("/")),d=[];return d.push(...u.map(f=>f===""?o:[o,f].join("/"))),s&&d.push(...u),d.map(f=>t.startsWith("/")&&f===""?"/":f)}function gI(t){t.sort((e,a)=>e.score!==a.score?a.score-e.score:wI(e.routesMeta.map(i=>i.childrenIndex),a.routesMeta.map(i=>i.childrenIndex)))}var vI=/^:[\w-]+$/,yI=3,bI=2,SI=1,EI=10,AI=-2,b9=t=>t==="*";function CI(t,e){let a=t.split("/"),i=a.length;return a.some(b9)&&(i+=AI),e&&(i+=bI),a.filter(s=>!b9(s)).reduce((s,o)=>s+(vI.test(o)?yI:o===""?SI:EI),i)}function wI(t,e){return t.length===e.length&&t.slice(0,-1).every((i,s)=>i===e[s])?t[t.length-1]-e[e.length-1]:0}function xI(t,e,a=!1){let{routesMeta:i}=t,s={},o="/",u=[];for(let d=0;d<i.length;++d){let f=i[d],m=d===i.length-1,y=o==="/"?e:e.slice(o.length)||"/",b=of({path:f.relativePath,caseSensitive:f.caseSensitive,end:m},y),C=f.route;if(!b&&m&&a&&!i[i.length-1].route.index&&(b=of({path:f.relativePath,caseSensitive:f.caseSensitive,end:!1},y)),!b)return null;Object.assign(s,b.params),u.push({params:s,pathname:ji([o,b.pathname]),pathnameBase:NI(ji([o,b.pathnameBase])),route:C}),b.pathnameBase!=="/"&&(o=ji([o,b.pathnameBase]))}return u}function of(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[a,i]=TI(t.path,t.caseSensitive,t.end),s=e.match(a);if(!s)return null;let o=s[0],u=o.replace(/(.)\/+$/,"$1"),d=s.slice(1);return{params:i.reduce((m,{paramName:y,isOptional:b},C)=>{if(y==="*"){let I=d[C]||"";u=o.slice(0,o.length-I.length).replace(/(.)\/+$/,"$1")}const A=d[C];return b&&!A?m[y]=void 0:m[y]=(A||"").replace(/%2F/g,"/"),m},{}),pathname:o,pathnameBase:u,pattern:t}}function TI(t,e=!1,a=!0){Hr(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let i=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,f)=>(i.push({paramName:d,isOptional:f!=null}),f?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(i.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,e?void 0:"i"),i]}function OI(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return Hr(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${e}).`),t}}function _i(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let a=e.endsWith("/")?e.length-1:e.length,i=t.charAt(a);return i&&i!=="/"?null:t.slice(a)||"/"}function RI(t,e="/"){let{pathname:a,search:i="",hash:s=""}=typeof t=="string"?To(t):t;return{pathname:a?a.startsWith("/")?a:II(a,e):e,search:DI(i),hash:jI(s)}}function II(t,e){let a=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?a.length>1&&a.pop():s!=="."&&a.push(s)}),a.length>1?a.join("/"):"/"}function i2(t,e,a,i){return`Cannot include a '${t}' character in a manually specified \`to.${e}\` field [${JSON.stringify(i)}].  Please separate it out to the \`to.${a}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function MI(t){return t.filter((e,a)=>a===0||e.route.path&&e.route.path.length>0)}function q6(t){let e=MI(t);return e.map((a,i)=>i===e.length-1?a.pathname:a.pathnameBase)}function U6(t,e,a,i=!1){let s;typeof t=="string"?s=To(t):(s={...t},pn(!s.pathname||!s.pathname.includes("?"),i2("?","pathname","search",s)),pn(!s.pathname||!s.pathname.includes("#"),i2("#","pathname","hash",s)),pn(!s.search||!s.search.includes("#"),i2("#","search","hash",s)));let o=t===""||s.pathname==="",u=o?"/":s.pathname,d;if(u==null)d=a;else{let b=e.length-1;if(!i&&u.startsWith("..")){let C=u.split("/");for(;C[0]==="..";)C.shift(),b-=1;s.pathname=C.join("/")}d=b>=0?e[b]:"/"}let f=RI(s,d),m=u&&u!=="/"&&u.endsWith("/"),y=(o||u===".")&&a.endsWith("/");return!f.pathname.endsWith("/")&&(m||y)&&(f.pathname+="/"),f}var ji=t=>t.join("/").replace(/\/\/+/g,"/"),NI=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),DI=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,jI=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function LI(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var gA=["POST","PUT","PATCH","DELETE"];new Set(gA);var kI=["GET",...gA];new Set(kI);var Oo=g.createContext(null);Oo.displayName="DataRouter";var Mf=g.createContext(null);Mf.displayName="DataRouterState";g.createContext(!1);var vA=g.createContext({isTransitioning:!1});vA.displayName="ViewTransition";var _I=g.createContext(new Map);_I.displayName="Fetchers";var zI=g.createContext(null);zI.displayName="Await";var Fr=g.createContext(null);Fr.displayName="Navigation";var su=g.createContext(null);su.displayName="Location";var Vr=g.createContext({outlet:null,matches:[],isDataRoute:!1});Vr.displayName="Route";var P6=g.createContext(null);P6.displayName="RouteError";function qI(t,{relative:e}={}){pn(Ro(),"useHref() may be used only in the context of a <Router> component.");let{basename:a,navigator:i}=g.useContext(Fr),{hash:s,pathname:o,search:u}=lu(t,{relative:e}),d=o;return a!=="/"&&(d=o==="/"?a:ji([a,o])),i.createHref({pathname:d,search:u,hash:s})}function Ro(){return g.useContext(su)!=null}function ui(){return pn(Ro(),"useLocation() may be used only in the context of a <Router> component."),g.useContext(su).location}var yA="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function bA(t){g.useContext(Fr).static||g.useLayoutEffect(t)}function kt(){let{isDataRoute:t}=g.useContext(Vr);return t?KI():UI()}function UI(){pn(Ro(),"useNavigate() may be used only in the context of a <Router> component.");let t=g.useContext(Oo),{basename:e,navigator:a}=g.useContext(Fr),{matches:i}=g.useContext(Vr),{pathname:s}=ui(),o=JSON.stringify(q6(i)),u=g.useRef(!1);return bA(()=>{u.current=!0}),g.useCallback((f,m={})=>{if(Hr(u.current,yA),!u.current)return;if(typeof f=="number"){a.go(f);return}let y=U6(f,JSON.parse(o),s,m.relative==="path");t==null&&e!=="/"&&(y.pathname=y.pathname==="/"?e:ji([e,y.pathname])),(m.replace?a.replace:a.push)(y,m.state,m)},[e,a,o,s,t])}g.createContext(null);function oi(){let{matches:t}=g.useContext(Vr),e=t[t.length-1];return e?e.params:{}}function lu(t,{relative:e}={}){let{matches:a}=g.useContext(Vr),{pathname:i}=ui(),s=JSON.stringify(q6(a));return g.useMemo(()=>U6(t,JSON.parse(s),i,e==="path"),[t,s,i,e])}function PI(t,e){return SA(t,e)}function SA(t,e,a,i,s){pn(Ro(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=g.useContext(Fr),{matches:u}=g.useContext(Vr),d=u[u.length-1],f=d?d.params:{},m=d?d.pathname:"/",y=d?d.pathnameBase:"/",b=d&&d.route;{let x=b&&b.path||"";EA(m,!b||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${m}" (under <Route path="${x}">) 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.

Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let C=ui(),A;if(e){let x=typeof e=="string"?To(e):e;pn(y==="/"||x.pathname?.startsWith(y),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${y}" but pathname "${x.pathname}" was given in the \`location\` prop.`),A=x}else A=C;let I=A.pathname||"/",M=I;if(y!=="/"){let x=y.replace(/^\//,"").split("/");M="/"+I.replace(/^\//,"").split("/").slice(x.length).join("/")}let O=hA(t,{pathname:M});Hr(b||O!=null,`No routes matched location "${A.pathname}${A.search}${A.hash}" `),Hr(O==null||O[O.length-1].route.element!==void 0||O[O.length-1].route.Component!==void 0||O[O.length-1].route.lazy!==void 0,`Matched leaf route at location "${A.pathname}${A.search}${A.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let R=GI(O&&O.map(x=>Object.assign({},x,{params:Object.assign({},f,x.params),pathname:ji([y,o.encodeLocation?o.encodeLocation(x.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?y:ji([y,o.encodeLocation?o.encodeLocation(x.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),u,a,i,s);return e&&R?g.createElement(su.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...A},navigationType:"POP"}},R):R}function HI(){let t=JI(),e=LI(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),a=t instanceof Error?t.stack:null,i="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},u=null;return console.error("Error handled by React Router default ErrorBoundary:",t),u=g.createElement(g.Fragment,null,g.createElement("p",null,"💿 Hey developer 👋"),g.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",g.createElement("code",{style:o},"ErrorBoundary")," or"," ",g.createElement("code",{style:o},"errorElement")," prop on your route.")),g.createElement(g.Fragment,null,g.createElement("h2",null,"Unexpected Application Error!"),g.createElement("h3",{style:{fontStyle:"italic"}},e),a?g.createElement("pre",{style:s},a):null,u)}var BI=g.createElement(HI,null),FI=class extends g.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||e.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){this.props.unstable_onError?this.props.unstable_onError(t,e):console.error("React Router caught the following error during render",t)}render(){return this.state.error!==void 0?g.createElement(Vr.Provider,{value:this.props.routeContext},g.createElement(P6.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function VI({routeContext:t,match:e,children:a}){let i=g.useContext(Oo);return i&&i.static&&i.staticContext&&(e.route.errorElement||e.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=e.route.id),g.createElement(Vr.Provider,{value:t},a)}function GI(t,e=[],a=null,i=null,s=null){if(t==null){if(!a)return null;if(a.errors)t=a.matches;else if(e.length===0&&!a.initialized&&a.matches.length>0)t=a.matches;else return null}let o=t,u=a?.errors;if(u!=null){let m=o.findIndex(y=>y.route.id&&u?.[y.route.id]!==void 0);pn(m>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),o=o.slice(0,Math.min(o.length,m+1))}let d=!1,f=-1;if(a)for(let m=0;m<o.length;m++){let y=o[m];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(f=m),y.route.id){let{loaderData:b,errors:C}=a,A=y.route.loader&&!b.hasOwnProperty(y.route.id)&&(!C||C[y.route.id]===void 0);if(y.route.lazy||A){d=!0,f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}return o.reduceRight((m,y,b)=>{let C,A=!1,I=null,M=null;a&&(C=u&&y.route.id?u[y.route.id]:void 0,I=y.route.errorElement||BI,d&&(f<0&&b===0?(EA("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),A=!0,M=null):f===b&&(A=!0,M=y.route.hydrateFallbackElement||null)));let O=e.concat(o.slice(0,b+1)),R=()=>{let x;return C?x=I:A?x=M:y.route.Component?x=g.createElement(y.route.Component,null):y.route.element?x=y.route.element:x=m,g.createElement(VI,{match:y,routeContext:{outlet:m,matches:O,isDataRoute:a!=null},children:x})};return a&&(y.route.ErrorBoundary||y.route.errorElement||b===0)?g.createElement(FI,{location:a.location,revalidation:a.revalidation,component:I,error:C,children:R(),routeContext:{outlet:null,matches:O,isDataRoute:!0},unstable_onError:i}):R()},null)}function H6(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function ZI(t){let e=g.useContext(Oo);return pn(e,H6(t)),e}function YI(t){let e=g.useContext(Mf);return pn(e,H6(t)),e}function WI(t){let e=g.useContext(Vr);return pn(e,H6(t)),e}function B6(t){let e=WI(t),a=e.matches[e.matches.length-1];return pn(a.route.id,`${t} can only be used on routes that contain a unique "id"`),a.route.id}function QI(){return B6("useRouteId")}function JI(){let t=g.useContext(P6),e=YI("useRouteError"),a=B6("useRouteError");return t!==void 0?t:e.errors?.[a]}function KI(){let{router:t}=ZI("useNavigate"),e=B6("useNavigate"),a=g.useRef(!1);return bA(()=>{a.current=!0}),g.useCallback(async(s,o={})=>{Hr(a.current,yA),a.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:e,...o}))},[t,e])}var S9={};function EA(t,e,a){!e&&!S9[t]&&(S9[t]=!0,Hr(!1,a))}g.memo(XI);function XI({routes:t,future:e,state:a,unstable_onError:i}){return SA(t,void 0,a,i,e)}function E9({to:t,replace:e,state:a,relative:i}){pn(Ro(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=g.useContext(Fr);Hr(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:o}=g.useContext(Vr),{pathname:u}=ui(),d=kt(),f=U6(t,q6(o),u,i==="path"),m=JSON.stringify(f);return g.useEffect(()=>{d(JSON.parse(m),{replace:e,state:a,relative:i})},[d,m,i,e,a]),null}function ln(t){pn(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function $I({basename:t="/",children:e=null,location:a,navigationType:i="POP",navigator:s,static:o=!1}){pn(!Ro(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=t.replace(/^\/*/,"/"),d=g.useMemo(()=>({basename:u,navigator:s,static:o,future:{}}),[u,s,o]);typeof a=="string"&&(a=To(a));let{pathname:f="/",search:m="",hash:y="",state:b=null,key:C="default"}=a,A=g.useMemo(()=>{let I=_i(f,u);return I==null?null:{location:{pathname:I,search:m,hash:y,state:b,key:C},navigationType:i}},[u,f,m,y,b,C,i]);return Hr(A!=null,`<Router basename="${u}"> is not able to match the URL "${f}${m}${y}" because it does not start with the basename, so the <Router> won't render anything.`),A==null?null:g.createElement(Fr.Provider,{value:d},g.createElement(su.Provider,{children:e,value:A}))}function $p({children:t,location:e}){return PI(e6(t),e)}function e6(t,e=[]){let a=[];return g.Children.forEach(t,(i,s)=>{if(!g.isValidElement(i))return;let o=[...e,s];if(i.type===g.Fragment){a.push.apply(a,e6(i.props.children,o));return}pn(i.type===ln,`[${typeof i.type=="string"?i.type:i.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),pn(!i.props.index||!i.props.children,"An index route cannot have child routes.");let u={id:i.props.id||o.join("-"),caseSensitive:i.props.caseSensitive,element:i.props.element,Component:i.props.Component,index:i.props.index,path:i.props.path,middleware:i.props.middleware,loader:i.props.loader,action:i.props.action,hydrateFallbackElement:i.props.hydrateFallbackElement,HydrateFallback:i.props.HydrateFallback,errorElement:i.props.errorElement,ErrorBoundary:i.props.ErrorBoundary,hasErrorBoundary:i.props.hasErrorBoundary===!0||i.props.ErrorBoundary!=null||i.props.errorElement!=null,shouldRevalidate:i.props.shouldRevalidate,handle:i.props.handle,lazy:i.props.lazy};i.props.children&&(u.children=e6(i.props.children,o)),a.push(u)}),a}var Z1="get",Y1="application/x-www-form-urlencoded";function Nf(t){return t!=null&&typeof t.tagName=="string"}function eM(t){return Nf(t)&&t.tagName.toLowerCase()==="button"}function tM(t){return Nf(t)&&t.tagName.toLowerCase()==="form"}function nM(t){return Nf(t)&&t.tagName.toLowerCase()==="input"}function aM(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function rM(t,e){return t.button===0&&(!e||e==="_self")&&!aM(t)}var w1=null;function iM(){if(w1===null)try{new FormData(document.createElement("form"),0),w1=!1}catch{w1=!0}return w1}var sM=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function s2(t){return t!=null&&!sM.has(t)?(Hr(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Y1}"`),null):t}function lM(t,e){let a,i,s,o,u;if(tM(t)){let d=t.getAttribute("action");i=d?_i(d,e):null,a=t.getAttribute("method")||Z1,s=s2(t.getAttribute("enctype"))||Y1,o=new FormData(t)}else if(eM(t)||nM(t)&&(t.type==="submit"||t.type==="image")){let d=t.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let f=t.getAttribute("formaction")||d.getAttribute("action");if(i=f?_i(f,e):null,a=t.getAttribute("formmethod")||d.getAttribute("method")||Z1,s=s2(t.getAttribute("formenctype"))||s2(d.getAttribute("enctype"))||Y1,o=new FormData(d,t),!iM()){let{name:m,type:y,value:b}=t;if(y==="image"){let C=m?`${m}.`:"";o.append(`${C}x`,"0"),o.append(`${C}y`,"0")}else m&&o.append(m,b)}}else{if(Nf(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');a=Z1,i=null,s=Y1,u=t}return o&&s==="text/plain"&&(u=o,o=void 0),{action:i,method:a.toLowerCase(),encType:s,formData:o,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function F6(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function oM(t,e,a){let i=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return i.pathname==="/"?i.pathname=`_root.${a}`:e&&_i(i.pathname,e)==="/"?i.pathname=`${e.replace(/\/$/,"")}/_root.${a}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${a}`,i}async function cM(t,e){if(t.id in e)return e[t.id];try{let a=await import(t.module);return e[t.id]=a,a}catch(a){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(a),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function uM(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function fM(t,e,a){let i=await Promise.all(t.map(async s=>{let o=e.routes[s.route.id];if(o){let u=await cM(o,a);return u.links?u.links():[]}return[]}));return pM(i.flat(1).filter(uM).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function A9(t,e,a,i,s,o){let u=(f,m)=>a[m]?f.route.id!==a[m].route.id:!0,d=(f,m)=>a[m].pathname!==f.pathname||a[m].route.path?.endsWith("*")&&a[m].params["*"]!==f.params["*"];return o==="assets"?e.filter((f,m)=>u(f,m)||d(f,m)):o==="data"?e.filter((f,m)=>{let y=i.routes[f.route.id];if(!y||!y.hasLoader)return!1;if(u(f,m)||d(f,m))return!0;if(f.route.shouldRevalidate){let b=f.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:a[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:f.params,defaultShouldRevalidate:!0});if(typeof b=="boolean")return b}return!0}):[]}function dM(t,e,{includeHydrateFallback:a}={}){return hM(t.map(i=>{let s=e.routes[i.route.id];if(!s)return[];let o=[s.module];return s.clientActionModule&&(o=o.concat(s.clientActionModule)),s.clientLoaderModule&&(o=o.concat(s.clientLoaderModule)),a&&s.hydrateFallbackModule&&(o=o.concat(s.hydrateFallbackModule)),s.imports&&(o=o.concat(s.imports)),o}).flat(1))}function hM(t){return[...new Set(t)]}function mM(t){let e={},a=Object.keys(t).sort();for(let i of a)e[i]=t[i];return e}function pM(t,e){let a=new Set;return new Set(e),t.reduce((i,s)=>{let o=JSON.stringify(mM(s));return a.has(o)||(a.add(o),i.push({key:o,link:s})),i},[])}function AA(){let t=g.useContext(Oo);return F6(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function gM(){let t=g.useContext(Mf);return F6(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var V6=g.createContext(void 0);V6.displayName="FrameworkContext";function CA(){let t=g.useContext(V6);return F6(t,"You must render this element inside a <HydratedRouter> element"),t}function vM(t,e){let a=g.useContext(V6),[i,s]=g.useState(!1),[o,u]=g.useState(!1),{onFocus:d,onBlur:f,onMouseEnter:m,onMouseLeave:y,onTouchStart:b}=e,C=g.useRef(null);g.useEffect(()=>{if(t==="render"&&u(!0),t==="viewport"){let M=R=>{R.forEach(x=>{u(x.isIntersecting)})},O=new IntersectionObserver(M,{threshold:.5});return C.current&&O.observe(C.current),()=>{O.disconnect()}}},[t]),g.useEffect(()=>{if(i){let M=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(M)}}},[i]);let A=()=>{s(!0)},I=()=>{s(!1),u(!1)};return a?t!=="intent"?[o,C,{}]:[o,C,{onFocus:Tc(d,A),onBlur:Tc(f,I),onMouseEnter:Tc(m,A),onMouseLeave:Tc(y,I),onTouchStart:Tc(b,A)}]:[!1,C,{}]}function Tc(t,e){return a=>{t&&t(a),a.defaultPrevented||e(a)}}function yM({page:t,...e}){let{router:a}=AA(),i=g.useMemo(()=>hA(a.routes,t,a.basename),[a.routes,t,a.basename]);return i?g.createElement(SM,{page:t,matches:i,...e}):null}function bM(t){let{manifest:e,routeModules:a}=CA(),[i,s]=g.useState([]);return g.useEffect(()=>{let o=!1;return fM(t,e,a).then(u=>{o||s(u)}),()=>{o=!0}},[t,e,a]),i}function SM({page:t,matches:e,...a}){let i=ui(),{manifest:s,routeModules:o}=CA(),{basename:u}=AA(),{loaderData:d,matches:f}=gM(),m=g.useMemo(()=>A9(t,e,f,s,i,"data"),[t,e,f,s,i]),y=g.useMemo(()=>A9(t,e,f,s,i,"assets"),[t,e,f,s,i]),b=g.useMemo(()=>{if(t===i.pathname+i.search+i.hash)return[];let I=new Set,M=!1;if(e.forEach(R=>{let x=s.routes[R.route.id];!x||!x.hasLoader||(!m.some(j=>j.route.id===R.route.id)&&R.route.id in d&&o[R.route.id]?.shouldRevalidate||x.hasClientLoader?M=!0:I.add(R.route.id))}),I.size===0)return[];let O=oM(t,u,"data");return M&&I.size>0&&O.searchParams.set("_routes",e.filter(R=>I.has(R.route.id)).map(R=>R.route.id).join(",")),[O.pathname+O.search]},[u,d,i,s,m,e,t,o]),C=g.useMemo(()=>dM(y,s),[y,s]),A=bM(y);return g.createElement(g.Fragment,null,b.map(I=>g.createElement("link",{key:I,rel:"prefetch",as:"fetch",href:I,...a})),C.map(I=>g.createElement("link",{key:I,rel:"modulepreload",href:I,...a})),A.map(({key:I,link:M})=>g.createElement("link",{key:I,nonce:a.nonce,...M})))}function EM(...t){return e=>{t.forEach(a=>{typeof a=="function"?a(e):a!=null&&(a.current=e)})}}var wA=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{wA&&(window.__reactRouterVersion="7.9.3")}catch{}function AM({basename:t,children:e,window:a}){let i=g.useRef();i.current==null&&(i.current=fI({window:a,v5Compat:!0}));let s=i.current,[o,u]=g.useState({action:s.action,location:s.location}),d=g.useCallback(f=>{g.startTransition(()=>u(f))},[u]);return g.useLayoutEffect(()=>s.listen(d),[s,d]),g.createElement($I,{basename:t,children:e,location:o.location,navigationType:o.action,navigator:s})}var xA=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,zi=g.forwardRef(function({onClick:e,discover:a="render",prefetch:i="none",relative:s,reloadDocument:o,replace:u,state:d,target:f,to:m,preventScrollReset:y,viewTransition:b,...C},A){let{basename:I}=g.useContext(Fr),M=typeof m=="string"&&xA.test(m),O,R=!1;if(typeof m=="string"&&M&&(O=m,wA))try{let T=new URL(window.location.href),N=m.startsWith("//")?new URL(T.protocol+m):new URL(m),G=_i(N.pathname,I);N.origin===T.origin&&G!=null?m=G+N.search+N.hash:R=!0}catch{Hr(!1,`<Link to="${m}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let x=qI(m,{relative:s}),[j,U,L]=vM(i,C),P=TM(m,{replace:u,state:d,target:f,preventScrollReset:y,relative:s,viewTransition:b});function F(T){e&&e(T),T.defaultPrevented||P(T)}let E=g.createElement("a",{...C,...L,href:O||x,onClick:R||o?e:F,ref:EM(A,U),target:f,"data-discover":!M&&a==="render"?"true":void 0});return j&&!M?g.createElement(g.Fragment,null,E,g.createElement(yM,{page:x})):E});zi.displayName="Link";var CM=g.forwardRef(function({"aria-current":e="page",caseSensitive:a=!1,className:i="",end:s=!1,style:o,to:u,viewTransition:d,children:f,...m},y){let b=lu(u,{relative:m.relative}),C=ui(),A=g.useContext(Mf),{navigator:I,basename:M}=g.useContext(Fr),O=A!=null&&NM(b)&&d===!0,R=I.encodeLocation?I.encodeLocation(b).pathname:b.pathname,x=C.pathname,j=A&&A.navigation&&A.navigation.location?A.navigation.location.pathname:null;a||(x=x.toLowerCase(),j=j?j.toLowerCase():null,R=R.toLowerCase()),j&&M&&(j=_i(j,M)||j);const U=R!=="/"&&R.endsWith("/")?R.length-1:R.length;let L=x===R||!s&&x.startsWith(R)&&x.charAt(U)==="/",P=j!=null&&(j===R||!s&&j.startsWith(R)&&j.charAt(R.length)==="/"),F={isActive:L,isPending:P,isTransitioning:O},E=L?e:void 0,T;typeof i=="function"?T=i(F):T=[i,L?"active":null,P?"pending":null,O?"transitioning":null].filter(Boolean).join(" ");let N=typeof o=="function"?o(F):o;return g.createElement(zi,{...m,"aria-current":E,className:T,ref:y,style:N,to:u,viewTransition:d},typeof f=="function"?f(F):f)});CM.displayName="NavLink";var wM=g.forwardRef(({discover:t="render",fetcherKey:e,navigate:a,reloadDocument:i,replace:s,state:o,method:u=Z1,action:d,onSubmit:f,relative:m,preventScrollReset:y,viewTransition:b,...C},A)=>{let I=IM(),M=MM(d,{relative:m}),O=u.toLowerCase()==="get"?"get":"post",R=typeof d=="string"&&xA.test(d),x=j=>{if(f&&f(j),j.defaultPrevented)return;j.preventDefault();let U=j.nativeEvent.submitter,L=U?.getAttribute("formmethod")||u;I(U||j.currentTarget,{fetcherKey:e,method:L,navigate:a,replace:s,state:o,relative:m,preventScrollReset:y,viewTransition:b})};return g.createElement("form",{ref:A,method:O,action:M,onSubmit:i?f:x,...C,"data-discover":!R&&t==="render"?"true":void 0})});wM.displayName="Form";function xM(t){return`${t} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function TA(t){let e=g.useContext(Oo);return pn(e,xM(t)),e}function TM(t,{target:e,replace:a,state:i,preventScrollReset:s,relative:o,viewTransition:u}={}){let d=kt(),f=ui(),m=lu(t,{relative:o});return g.useCallback(y=>{if(rM(y,e)){y.preventDefault();let b=a!==void 0?a:Kc(f)===Kc(m);d(t,{replace:b,state:i,preventScrollReset:s,relative:o,viewTransition:u})}},[f,d,m,a,i,e,t,s,o,u])}var OM=0,RM=()=>`__${String(++OM)}__`;function IM(){let{router:t}=TA("useSubmit"),{basename:e}=g.useContext(Fr),a=QI();return g.useCallback(async(i,s={})=>{let{action:o,method:u,encType:d,formData:f,body:m}=lM(i,e);if(s.navigate===!1){let y=s.fetcherKey||RM();await t.fetch(y,a,s.action||o,{preventScrollReset:s.preventScrollReset,formData:f,body:m,formMethod:s.method||u,formEncType:s.encType||d,flushSync:s.flushSync})}else await t.navigate(s.action||o,{preventScrollReset:s.preventScrollReset,formData:f,body:m,formMethod:s.method||u,formEncType:s.encType||d,replace:s.replace,state:s.state,fromRouteId:a,flushSync:s.flushSync,viewTransition:s.viewTransition})},[t,e,a])}function MM(t,{relative:e}={}){let{basename:a}=g.useContext(Fr),i=g.useContext(Vr);pn(i,"useFormAction must be used inside a RouteContext");let[s]=i.matches.slice(-1),o={...lu(t||".",{relative:e})},u=ui();if(t==null){o.search=u.search;let d=new URLSearchParams(o.search),f=d.getAll("index");if(f.some(y=>y==="")){d.delete("index"),f.filter(b=>b).forEach(b=>d.append("index",b));let y=d.toString();o.search=y?`?${y}`:""}}return(!t||t===".")&&s.route.index&&(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),a!=="/"&&(o.pathname=o.pathname==="/"?a:ji([a,o.pathname])),Kc(o)}function NM(t,{relative:e}={}){let a=g.useContext(vA);pn(a!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=TA("useViewTransitionState"),s=lu(t,{relative:e});if(!a.isTransitioning)return!1;let o=_i(a.currentLocation.pathname,i)||a.currentLocation.pathname,u=_i(a.nextLocation.pathname,i)||a.nextLocation.pathname;return of(s.pathname,u)!=null||of(s.pathname,o)!=null}var OA=GE();const DM={code:"EN",name:"English",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"SURF Access",subTitle:"Enabling users in secondary vocational-, higher education and research <strong>to access multiple services with one account</strong>.",login:"Sign in / sign up",sup:"EduID ServiceDesk is by invitation only.",logout:"Logout",system:"System"},loginInfo:{title:"Inloggen / aanmelden",subTitle:"je kunt op SURF Access inloggen met een bestaand instellingsaccount, of als je deze niet met een eduID. Kies hieronder je situatie",commercial:{title:"Je werkt bij een (commercieel) bedrijf",info:["Maken jullie zelf software die je wilt aanbieden in het onderwijsveld?","Dan moet je inloggen met eduID. Heb je nog geen account, geen zorgen, het aanmaken van een nieuwe account kan binnen 30 seconden"],login:"Login met eduID"},education:{title:"Je werkt bij een instelling",info:["Ben je medewerker, student of onderzoeker bij een instelling die al is aangesloten op SURF, dan kan je direct inloggen met je instellingsaccount."],login:"Login met je instellingsaccount"}},tabs:{home:"Home",connect:"How to connect",institutions:"All institutions",applications:"All applications"},applicationProviders:{title:"For application providers",info:["Has an educational or research institution asked you to join SURF Access?","SURF Access centrally manages authentication, authorization, group management, and privacy/security agreements.","Connecting to our SURF Access is free and you wil start in a sandbox."],connect:"How to connect"},institutions:{title:"For institutions",info:["Do you want your students, staff and researchers to easily access multiple cloud services?","SURF Access offers 'Single Sign On'-access to a large and increasing number of them.","It simplifies your work with a single integration instead of separate connections for each service."],contact:"Contact us",contactMail:"mailto:info@surfconext.nl"},joining:{title:"Joining many to many",info:["SURF Access securily connects 1M+ users to over 3000 (web)applications. SURF Access is a service from <a target='_blank' href='https://surfnet.nl'>SURF</a>.","Interested which institutions and applications are connected?"],links:{prefix:"Browse ",institutions:"all {{nbr}} institutions",or:" or ",applications:"all {{nbr}} applications."}}},navigation:{organizationMaintenance:"Organization maintenance",catalogue:"SURF app catalogue",yourApps:"Your apps",allApps:"All apps",users:"User management",home:"Home",applications:"Applications",teams:"Teams"},breadCrumb:{access:"SURF Access",landing:"Search for your organization",applications:"Application maintenance",team:"Team management",joins:"Join Requests",invitations:"Invitation",home:"Home"},welcome:{greeting:"Welcome {{name}},",info:"Kies hieronder of jouw organisatie al bestaat of voeg een nieuwe organisatie toe. Dit helpt ons om je aan de juiste omgeving te koppelen.",subInfo:"Preferable use the name of the organization as registered at the KvK",searchPlaceholder:"Search for organizations...",organizationMembers:"{{memberCount}} {{user}} and {{applicationCount}} {{application}}. Request access.",user:"user",users:"users",application:"application",applications:"applications",zeroState:"No organizations found",register:"‘<strong>{{name}}</strong>’ registreren en doorgaan",confirmation:"Are you sure you want to register a new organization called {{name}}?",confirmationAfter:"Your organization is created and is pending approval, but you can continue to create applications.You will be contacted by mail within <strong>3 working days</strong>. Your reference number of our internal ticketing system is <strong>{{jiraKey}}</strong></strong>",newOrganization:"New organization creaated",flash:"Created organization {{name}}."},userHome:{greeting:"{{name}}",nudgeLanding:"You are not a member of any organization.",nudgeLandingLink:" You can request to join one or create your own.",infoJoinRequest:"Just relax, your request to join the organization <strong>{{name}}</strong> is pending.",backToLanding:"Go back to ",backToLandingLink:" create your own organization."},tabs:{users:"Users",organizations:"Organizations",organizationPendingApproval:"Pending approval organizations",team:"My Team",joins:"Join Requests",invitations:"Invitations"},joinRequest:{info:"Je hebt geen toegang tot de omgeving van <strong>{{name}}</strong>. Je kunt toegang vragen aan de beheerder.",optionalMessage:"Message (optional)",optionalMessageInfo:"Message included in the join request send to the administrators",optionalMessagePlaceHolder:"Please, please...",requestAccess:"Request access",duplicate:"There is already an outstanding request for you to join <strong>{{name}}</strong>.",flash:"Your join request is sent to the admins of <strong>{{name}}</strong>.",modal:{title:"Join request is created",success:"Your join request is sent to the admins of <strong>{{name}}</strong>. You will receive an email if the join request is accepted",proceed:"Proceed"}},organizations:{tooltip:"SURF beoordeelt je organisastie registratie. Je kunt apps registreren op onze testomgeving, voor toegang naar productie moet je ‘bevestigd’ zijn.",tooltipApproved:"SURF heeft je organisastie registratie goedgekeurd. Je kunt apps registreren op onze productie omgevingn en productie status aanvragen.",pendingApprovalTitle:"Organizations pending approval",pending_approval:"Pending approval",approved:"Approved",disapproved:"Disapproved",pending_approval_action:"Back to pending",approved_action:"Approve",disapproved_action:"Disapprove",name:"Name",schacHomeOrganization:"Schac home",createdAt:"Created",memberCount:"# Members",applicationCount:"# Apps",status:"Status",searchPlaceHolder:"Search for organizations...",confirmation:"Are you sure you want to change the status to <strong>{{status}}</strong> for organization {{name}}?",flash:{updated:"Organization {{name}} now has the status {{status}}",deleted:"Organization {{name}} has been deleted"}},userMenu:{switchOrganization:"Switch organization"},application:{new:"New Application",edit:"Edit {{name}}",name:"Name",nameInfo:"Gebruik een naam die herkenbaar zal zijn voor instellingen",type:"Type",app:"Een Applicatie (tools, clouddiensten, utitilities etc...)",content:"Content dienst (streaming media, educatieve content, e-books)",contentAbbreviation:"Content",contentInfoPre:"Content diensten ontvangen de ",contentInfoLink:"minimale set",contentInfoPost:" aan attributen.",contentInfoTip:"Attributenset voor content providers:<ul><li>Persistent or Transient NameID</li><li>schacHomeOrganization</li><li>eduPersonAffiliation</li><li>eduPersonScopedAffiliation</li></ul>",targetGroup:"Target group",targetSURF:"Verschillende gebruikers die beheerd worden in een (onderzoeks)groep",targetSURFInfo:"De gebruikers worden individueel uitgenodigd bij de groep.",targetSRAM:"Studenten, medewerkers en externen uit één instellings IdP",targetSRAMInfo:"Zij krijgen toegang omdat ze een kenmerk of rol hebben.",terms:"Fair Use terms",checks:{personal:"Mijn applicatie slaat persoonsgegevens veilig op",duration:"Ik bewaar de persoonsgegevens niet langer dan nodig",privacy:"Ik verstrek de persoonsgegevens niet aan derden",safe:"Ik houd mijn applicatie veilig en beschikbaar",support:"Ik ben bereikbaar bij vragen en problemen"},checksInfo:{personal:"",duration:"",privacy:"De persoonsgegevens worden niet aan derden verstrekt",safe:"",support:"Als er vragen of problemen zijn, dan zoek je het maar uit"},flash:"Application {{name}} saved.",deleteConfirmation:"Are you sure you want to delete the Application {{name}}?"},organization:{alertInfo:"Welkom op SURF Access. Via deze Self Service Portal kun je jouw Applicatie beschikbaar maken voor instellingen binnen het hoger onderwijs in Nederland.",applicationManagement:"Application management",addFirstApplication:"Voeg je eerste Applicatie toe",addApplication:"Nieuwe Applicatie toevoegen",deleteConfirmation:"Are you sure you want to delete the Organization {{name}}?",catalog:{terms:"Voorwaarden voor apps in de SURF catalogus",fairUse:"Is je app voor een specifieke groep gebruikers (zoals één onderzoeksgroep)? Dan valt deze onder de <a href='https://surf.nl/fair-use' target='_blank'>Fair use gebruiksvoorwaarden</a>.",agreement:"Is je app bedoeld voor gebruik door hele onderwijsinstellingen? Dan teken je een <a href='https://surf.nl/fair-use' target='_blank'>SURF-aansluitovereenkomst</a>.",disclaimer:"<strong>Let op</strong>: Deze voorwaarden gelden alleen voor de productieomgeving, je kunt direct met de testomgeving koppelen.",fairUseExternal:"Is je app voor een specifieke groep gebruikers (zoals één onderzoeksgroep)? Dan valt deze onder de <a href='https://surf.nl/fair-use' target='_blank'>Fair use gebruiksvoorwaarden</a>.",agreementExternal:"Is je app bedoeld voor gebruik door hele onderwijsinstellingen? Dan teken je een <a href='https://surf.nl/fair-use' target='_blank'>SURF-aansluitovereenkomst</a>.",disclaimerExternal:"<strong>Let op</strong>: Deze voorwaarden gelden alleen voor de productieomgeving, je kunt direct met de testomgeving koppelen."},applications:"Applications"},connection:{overview:"Overview",testing:"Testing",prod:"Production",application:"App information",change_requests:"Change request",contract:"Contract",appteam:"Appteam",welcome:"Welkom {{user}}. {{name}} is nog niet gekoppeld met SURF Access. Begin met een koppeling aan onze testomgeving.",testSection:"Test",teamSection:"Team",duplicatedName:"A connection with name {{name}} already exists for this Application.",duplicateEntityID:"A connection with entityID {{entityID}} already exists",test:{name:"Test",connections:"Koppelingen met onze testomgeving",info:"Test of federatief inloggen werkt via onze testomgeving."},team:{name:"Teams",info:"Geef teamleden of externen toegang tot deze applicatie space.",members:"Teamleden voor beheer van deze applicatie"},production:{name:"Production",connections:"Koppelingen met onze productieomgeving",catalogue:"App informatie voor de SURF App catalogus",access:"Toegang en zichtbaarheid",contract:"Contract",disclaimer:"Een koppeling aan de productieomgeving van SURF Access heeft goedkeuring nodig van team SURF Access. Alle bovenstaande informatie is verplicht."},productionConnectionHint:"Maak een productiekoppeling aan. Om de applicatie te kunnen activeren, moet ook alle informatie over de dienst worden toegevoegd.",applicationInformationHint:"Voordat een productiekoppeling geactiveerd kan worden, moet alle informatie over de dienst zijn toegevoegd én het contract getekend.",productionActivationHint:"Vraag activatie van de propductiekoppeling aan voor {{name}}.",productionActivationAction:"Doe het direct",productActivationPending:"De aanvraag voor activatie van uw productiekoppeling is ontvangen. SURF neemt binnen drie werkdagen contact met u op.",newConnection:"Nieuwe koppeling met de testomgeving",existingConnection:"Testkoppeling bewerken",newConnectionProd:"Nieuwe koppeling met de productieomgeving",existingConnectionProd:"Productiekoppeling bewerken",copyConnection:"Kopieer info van andere koppeling",technical:"Technische gegevens",informationProfile:"Informatieprofiel",pendingChanges:"Pending change requests",testIdP:"Test-IdP's",visibility:"Zichtbaarheid in de SURF app catalogus",help:"Hulp nodig?",callSurf:"Plan een call met SURF",supportTicket:"Maak een support ticket",mailToSurf:"mailto:surf@info.nl",connectionName:"Naam koppeling",connectionPlaceholder:"e.g. {{application}}-{{environment}}",protocol:"Protocol",protocolTooltip:"When a connection is registered within SURFconext, it is no longer possible to change the protocol. If you want, you can delete this connection and create another with a different protocol.",clientID:"Client ID",clientIDPlaceHolder:"",oidc10_rp:"OIDC",saml20_sp:"SAML",grantType:"OAuth Grant type",grantTypes:"OAuth Grant types",authorization_code:"Authorization Code",refresh_token:"Refresh tokens",device_code:"Device Code",pkce:"PKCE",pkceTooltip:"PKCE (Proof Key for Code Exchange) enhances the security of the authorization code flow by preventing authorization code interception. It’s especially important for public clients like mobile or single-page apps",optional:"Optional",required:"Required (public client)",refreshTokenValidity:"Refresh token validity in seconds",refreshTokenMax:"Maximum validity is {{max}} seconds",redirectUrl:"Redirect URL",redirectUrls:"Redirect URLs",redirectUrlsPlaceholder:"Redirect URL, for example https://redirect.com",addRedirectUrl:"+ Redirect URL",sslGrade:"SSL Grade (min. B)",sslGradeTooltip:"Ensure the SSL/TLS certificate meets or exceeds grade B",claimsInIdToken:"Claims",claimsInIdTokenTooltip:"Receive all claims directly in the ID Token",configuration:"Congifuratiegegevens",import:"Metadata importeren",entityID:"Entity ID",entityIDPlaceHolder:"https://entityID.com",acsLocation:"ACS location",acsLocations:"ACS location(s)",addACSLocation:"+ Add ASC location",save:"Opslaan",saveAndNext:"Opslaan en volgende",requiresChangeRequest:"Request change",deleteConfirmation:"Are you sure you want to delete this connection?",metadata:{how:"Hoe wil je de metadata importeren?",url:"De URL van een metadata-bestand opgeven",file:"Een metadata-bestand uploaden",paste:"De metadata in een tekstveld plakken",urlMetaData:"URL metadata bestand",import:"Metadata importeren",chooseFile:"Choose file",doPaste:"Plak hier de metadata",parsed:"The metadata has successfully been imported",errorParsed:"Error in parsing the metadata"},flash:{created:"Created connection {{name}}",updated:"Updated connection {{name}}",deleted:"Deleted connection {{name}}",copied:"Copied connection data from {{name}}"},connections:{titleProd:"Koppelingen met de productieomgeving",titleTest:"Koppelingen met de testomgeving",name:"Name",created:"Added at",updatedAt:"Updated at",status:"Status",open:"In progress",complete:"Completed",in_progress:"In progress",pending_prod:"Pending approval",prod_ready:"Live",ready_for_prod:"Ready for prod",open_change_requests:"Pending changes",multiple_connections:"Multiple connections",no_connections:"No production connections",tooltips:{open:"Your connection has unfinished sections. Please fill in all the required fields.",complete:null,pending_prod:"Je productieverzoek ligt ter inzage bij <strong>SURF Access</strong>. Eén van onze medewerkers beoordeelt nu de configuratie en laat zo snel mogelijk weten of deze akkoord is.<br><br> Na publicatie kunnen instellingen aan je applicatie koppelen.",prod_ready:"Je applicatie is klaar voor productie en instellingen kunnen aan je applicatie koppelen."},protocol:"Protocol",details:"Details",requestProductionStatus:"Vraag productiestatus aan",requestProductionStatusConfirmation:"Are you sure you want to request production status for {{name}}",requestProductionStatusPostInfo:"Your request is sent and you will be contacted by mail within <strong>3 working days</strong>. Your reference number of our internal ticketing system is <strong>{{jiraKey}}</strong></strong>"},informational:{disclaimer:"Verwerk alleen informatie die <strong>strikt noodzakelijk</strong> is voor het functioneren van je applicatie.",contentAppAlert:"Een content application ontvangt de volgend informatie",profiles:{anonymous:{name:"Anoniem",title:"Het meest privacyvriendelijk",info:"Deze bundel is speciaal bedoeld voor als je zeer privacy bewust wilt werken. Je ontvangt een transient NameID, dit betekent dat de gebruiker elke keer als hij bij de dienst inlogt een nieuw etcetera."},pseudonymized:{name:"Pseudonymized",title:"Privacy vriendelijk inclusief betrouwbaarheid",info:"Deze bundel is speciaal bedoeld voor toelichting. Je ontvangt een persistent NameID, dit betekent dat de toelichting gebruiker elke keer als hij bij de dienst inlogt etcetera."},personalized:{name:"Gepersonaliseerd",title:"Persoonlijke gegevens ter identificatie",info:""},uidOnly:{name:"UID only",title:"Voor instellingen die intern alle persoonsinformatie aanvullen",info:""}},attributes:"<strong>Je ontvangt de volgende attributen</strong> (we tonen voorbeeldwaarden)",additionalAttributes:"Ik heb additionele attributen nodig",availableAttributes:"De volgende attributen zijn mogelijk bij deze bundel",profileMotivation:"Motivatie voor de noodzaak van dit profiel",profileMotivationPlaceholder:"Beschrijf waarom je dit informatieprofiel nodig hebt",profileMotivationDisclaimer:"Deze tekst wordt getoond aan eindgebruikers die willen aansluiten bij je dienst",motivation:"Motivation",motivationPlaceholder:"Attribute is used to ..."},testIdPs:{info:"Kies met welke IdP’s je wilt testen of het federatief inloggen werkt.",subTitle:"Test-IdP’s van SURF",identityProviders:[{name:"SXS IdP",entityid:"http://mock-idp",description:"Een test-IdP met <a href='https://idp.diy.surfconext.nl/showusers.php' target='_blank'>fictieve gebruikersaccounts</a>. De metadata vind je <a href='https://idp.diy.surfconext.nl/saml2/idp/metadata.php' target='_blank'>hier</a>"},{name:"SXS Dummy",entityid:"https://idp.diy.surfconext.nl/saml2/idp/metadata.php",description:"Een test-IdP waarmee je zelf attributen-sets kunt simuleren. De metadata vind je <a href='https://mujina-idp.test.surfconext.nl/metadata' target='_blank'>hier</a>"}],institutionIdPs:"Test-IdP’s van instellingen",institutionIdPsInfo:"Je kunt ook testen met accounts en data van instellingen. <strong>Let wel op<strong/>: Je moet zelf contact opnemen voor de test-inloggegevens voor hun test-IdP’s.",placeholder:"Selecteer één of meerdere instellingen",institution:"test IdP or institution IdP"},visibilities:{info:"Jouw app is straks zichtbaar in de SURF app catalogus. Instellingen of groepen die jouw applicatie willen gebruiken, kunnen deze zelf activeren of een koppeling aanvragen.",disclaimer:"<strong>Let op</strong>: je kan de zichtbaarheid altijd later nog aanpassen",who:"1. Wie mogen jouw applicatie zien?",visible_to_all:"Alle organisaties",visible_to_none:"Nog niemand (app is nog niet zichtbaar in de Appstore)",connect:"2. Kan men direct met de applicatie koppelen?",connect_with_interaction:"Nee, een koppeling moet worden aangevraagd",connect_without_interaction_with_email:"Yes, but with a notification email",connect_without_interaction_without_email:"Yes, without notification email",placeholder:"Selecteer één of meerdere instellingen",institution:"Institution IdP"},connectionOverview:{copy:"Kopieer de inloggegevens",disclaimer:"Het client secret wordt hieronder éénmaal weergegeven. Zorg ervoor dat je het nu kopieert, anders moet er een nieuw seceret aangevraagd worden.",test:"Gebruik de volgende inloggegevens om verbinding te maken met de productieomgeving. Volg de <a href='https://servicedesk.surf.nl/wiki/spaces/IAM/pages/128909810/SURFconext+for+Service+Providers' target='_blank'>testinstructies</a> om te kijken of alles werkt.",discovery:"OpenID Connect Discovery",clientID:"Client ID",secret:"Client secret",authentication:"Authenticatie",secretReset:"For security reasons your current secret can not be displayed.",secretResetLink:"Reset your secret when needed.",secretResetDisclaimer:"Let op. Regenerating the secret will break your current connection.",secretResetTitle:"Reset your secret",secretResetNew:"New secret",reset:"Reset my secret",resetContinue:"I’ve copied the secret. Continue"},connectionOverviewSAML:{title:"De SAML koppeling is gereed",link:"Volg de <a href='https://servicedesk.surf.nl/wiki/spaces/IAM/pages/128910223/Connect+to+the+test+environment' target='_blank'>testinstructies</a> om te kijken of alles werkt."},appInfo:{title:"App informatie voor de SURF App catalogus",label:"App informatie",sections:{logo:"Logo en beschrijving",contact:"Contactgegevens",privacy:"Privacy & Security ",overview:"Overview"},logoUrl:"Logo",descriptionEn:"Beschrijving in het Engels",descriptionNl:"Beschrijving in het Nederlands",webSite:"Website",tags:"Tag je applicatie",tagPlaceholder:"Maximaal 3 tags",tagInfo:"In de appstore kunnen instellingen hierop filteren",tagsAvailable:{business_management:"Business management",collaboration:"Collaboration",content_library:"Content/ Library",learn_study:"Learning/ Study",education_logistics:"Education / Logistics",privacy_security:"Privacy / Security",productivity:"Productivity",recommended:"Recommended",repository:"Repository",surf:"SURF",media_video:"Media / Video"},targetGroup:"Ga door naar de doelgroep"},logo:{name:"logo",add:"Add a logo",edit:"Change logo",imageToLarge:"Image is larger then 2MB.",confirm:"Set new logo image",header:"Crop your new logo image",disclaimers:["png, jpg, svg or gif","min 100 * 100 pixels","max 2MB."]},contacts:{label:"Contactgegevens",info:"Gebruik zoveel mogelijk functionele adressen in plaats van persoonlijke.",name:"name",administrative:"Administratief contact",administrativeTooltip:"Administratief contact Tooltip",administrativePlaceholder:"e.g. admin@{{name}}.nl",emailOrWebsite:"Email-adres of website",technical:"Technisch contact (anders dan administratief)",technicalTooltip:"Technical contact Tooltip",technicalPlaceholder:"e.g. technical@{{name}}.nl",support:"Support contact (eindgebruikers zien dit)",supportTooltip:"Support contact Tooltip",supportPlaceholder:"e.g. support@{{name}}.nl"},privacy:{label:"Privacy & Security",info:"Please fill out the questions below. We will share the answers with institutions connected to SURFconext. This way the institutions interested in your service quickly have an idea of your efforts regarding privacy and security.",answerIsRequired:"Answer to this privacy question is required"},appOverview:{label:"De App informatie zijn compleet.",info:"Zo verschijnt je app in de SURF App catalogus."},contractSection:{title:"Contract",info:"Voor apps op SURF Access moet je een SURF-aansluitovereenkomst tekenen.",notSigned:"Er is nog geen overeenkomst getekend.",signed:"Er is een overeenkomst getekend.",sign:"Teken de overeenkomst"},changeRequests:{title:"Pending change request(s)",info1:"De volgende change requests staan open. Je kunt nog steeds wijzigingen aanbrengen.",info2:"<strong>Let op!</strong> In de andere tabs zie je dus de oude informatie staan, informatie waar een change request voor actief is, is herkenbaar aan het waarschuwings icoon",changes:"Changes",open:"Pending approval",revoke:"Revoke",revokeConfirmation:"Are you sure you want to revoke this change request?",revoked:"Change request has been revoked",createdAtBy:"Change request made by {{name}} on {{date}}"}},testing:{newConnection:"New connection",added:"Added at",status:"Status",protocol:"Protocol",details:"Details",zeroState:"Application <strong>{{name}}</strong> has no {{type}} connections yet.",production:"production",test:"test"},confirmationDialog:{title:"Confirm",error:"Error",subTitle:"This action requires a confirmation",subTitleError:"An error has occurred",confirm:"Confirm",ok:"Ok",cancel:"Cancel"},userManagement:{title:"Gebruikersbeheer"},teamManagement:{nameEmail:"Name & Email",applicationMemberships:"Member of ApplicationTeams",active:"Active since",role:"Role",maintain:"Maintain the {{name}} team",searchPlaceHolder:"Search for members",new:"Invite team member",deleteConfirmation:"Are you sure you want to remove the organization membership of {{name}}?",deleteDemotion:"Are you sure you don't want to be admin anymore? This can not be reverted",flash:{deleted:"The organization membership of {{name}} has been removed",updated:"The organization membership of {{name}} has been updated"},makeAdmin:"Make admin",makeMember:"Make member",makeGuest:"Make guest",explanations:{title:"Toelichting SXS rollen",admin:"Admin",adminRights:"Admins kunnen alle functies van SXS bedienen en members en guests beheren.",member:"Member",memberRights:"Members horen bij de organsatie en mogen applicatie beheren en applicatie gebruikers uitnodigen.",guest:"Guest",guestRights:"Gasten zijn gebruikers die niet bij de organisatie horen maar externen die betrokken zijn om bepaalde applicaties te beheren."}},joinRequestManagement:{nameEmail:"Name & Email",message:"Personal message",createdAt:"Created at",maintain:"Maintain the {{name}} join requests",zeroState:"There are no outstanding join requests for {{name}}",searchPlaceHolder:"Search for join requests",approveConfirmation:"Are you sure you want to approve the organization join request of {{name}}?",denialConfirmation:"Are you sure you want to deny the organization join request of {{name}}?",flash:{approved:"The organization membership of {{name}} has been created.",approveAll:"The organization memberships habe been created.",denied:"The join request of {{name}} has been denied."},deny:"Deny",approve:"Approve",approveAll:"Approve all",approveAllConfirmation:"Are you sure you want to approve all the organization join requests?"},invitationsManagement:{email:"Email",active:"Active since",role:"Role",createdAt:"Send at",expiryDate:"Expires on",inviter:"Inviter",maintain:"Open invitations",searchPlaceHolder:"Search for members",zeroState:"There are no outstanding invitations for {{name}}",new:"Invite team member",deleteAll:"Delete all",deleteConfirmation:"Are you sure you want to revoke the invitation for {{email}}?",deleteAllConfirmation:"Are you sure you want to revoke all of the invitations of {{name}}?",flashDeleteAll:"All invitations have been deleted",flashDelete:"Invitations have been revoked",resend:"Resend",revoke:"Revoke",resendConfirmation:"Are you sure you want to resend the invitation for {{email}}?",flashReminderSent:"Reminder mail has been sent"},appTeamManagement:{name:"Name",role:"Role",createdAt:"Member since",maintain:"Applicatieteam",searchPlaceHolder:"Search for members",zeroState:"There are no application memberships for {{name}} yet",new:"Invite new user",addPlaceHolder:"Add existing user",remove:"Remove from appteam",deleteConfirmation:"Are you sure you want to delete the application role for {{name}}?",organizationMembersPre:"Je kunt ",organizationMembersLink:"organisatiegebruikers",organizationMembersPost:" toevoegen aan dit applicatieteam. ",flashCreated:"Created application membership for {{name}}",createdBy:"Created by {{name}} on {{date}}"},roles:{admin:"Admin",member:"Member",guest:"Guest",all:"Roles - all"},impersonate:{exit:"Stop impersonating",impersonator:"You are impersonating <strong>{{name}}</strong>",impersonatorTooltip:"You are really <em>{{impersonator}}</em>, but you are impersonating <em>{{currentUser}}</em>.",flash:{startedImpersonation:"You now impersonate {{name}}.",clearedImpersonation:"Cleared your impersonation. You are you again."}},users:{name_email:"Name & Email",schacHomeOrganization:"Organization",createdAt:"Active since",lastActivity:"Last activity",searchPlaceHolder:"Search users...",impersonate:"Impersonate user {{name}}",you:"You"},invitation:{title:"New invitation for {{name}} membership",invitees:"Invitees",intendedAuthority:"Rol",message:"Personal note",messagePlaceholder:"Add an optional personal note to your invitation",inviteesPlaceholder:"Invitee email addresses",invite:"Invite",invalidEmails:"Invalid email addresses removed: {{emails}}.",requiredEmail:"At least one email is required for an invitation",intendedAuthorityTooltip:"The authority determines the rights the invitee will be granted on accepting the invitation",inviteesTooltip:"Add email addresses separated by comma, space or semi-colon or on seperate lines. You can also paste a csv file with line-separated email addresses.",applications:"Applications",applicationsPlaceHolder:"Find and add application access for this invitation",applicationsTooltip:"You can already add applications to this invitation. The invitees will be granted read and write access to the applications",languageTooltip:"Choose the language of the invitation mail",createFlash:"Invitations are created and sent to the invitees",acceptedFlash:"Invitation is accepted and you are now a member of the {{name}} organization",accept:"{{inviter}} has invited you to join organization {{name}}. Press proceed to accept the invitation and checkout the organization"},institutions:{title:"Institutions",subTitle:"Browse the institutions currently connected to SURF Access, categorized into education, research and affiliated institutions.",category:"Category",all:"All categories",other:"Other",searchPlaceHolder:"Search institutions..."},applications:{title:"Applications",subTitle:"Browse applications currently connected to SURF Access, categorized into categories. Some are connected directy via SURFconext, others via eduGAIN..",category:"Category",all:"All categories",allSources:"All federations",other:"-",searchPlaceHolder:"Search applications...",recent:"Recently added applications"},applicationDetail:{title:"Applications",subTitle:"Browse applications currently connected to SURF Access, categorized into categories. Some are connected directy via SURFconext, others via eduGAIN..",back:"Terug",license:{license_available_through_surfmarket:"Requires a license through SURFmarket",license_not_required:"Does not requires a license",license_required_by_service_provider:"Requires a license"},attributes:"Attributes",attributesInfo:"The application needs to receive attributes to function correctly.",details:"Show details",privacy:"Privacy",privacyInfo:"SURF asks suppliers to provide information about their GDPR (AVG) policies. For anything missing, please contact the supplier.",quickLinks:"Quick links",website:"Website",loginPage:"Login page",support:"Support",terms:"Terms & conditions",registrationPolicy:"Registration policy",privacyStatement:"Privacy statement",contractual:"Contractual Base",wiki:" See the <a href='https://support.surfconext.nl/contract-info-nl' target='_blank' rel='noopener noreferrer'>wiki</a>.",noInformation:"No information supplied",contractualInfoOrganization:"(This application is offered by {{name}}.)",contractualBase:{na:"No info on the contractual base is available: for any questions, please contact <a href='mailto:support@surfconext.nl'>support@surfconext.nl</a>.",ao:"{{organisation}} has signed the SURFconext connection agreement.",ix:"Application offered by SURFconext member institution.","r&s+coco":"eduGAIN application that has agreed to the Data Protection Code of Conduct and belongs to the Research & Scholarship entity category.",entree:"Member of the Kennisnet Entree-federation.",clarin:"Member of the Clarin research federation.",none:"{{organisation}} refused to sign the SURFconext connection agreement.","edugain (community)":"Application offered through the international research and education community via eduGAIN."},supportedEntityCategories:"Supported Entity Categories",entityCategory:{"http://wwwgeantnet/uri/dataprotection-code-of-conduct/v1":"GÉANT Data Protection Code of Conduct","https://refedsorg/category/code-of-conduct/v2":"REFEDS Data Protection Code of Conduct v2","http://refedsorg/category/research-and-scholarship":"Research and Scholarship","http://clarineu/category/clarin-member":"Clarin member","http://refedsorg/category/hide-from-discovery":"Hide from discovery"},none:"None",interfedSource:"Federation source",registrationInfo:"This application provider is available in SURFconext through <a href='https://support.surfconext.nl/edugain' target='_blank' rel='noopener noreferrer'>eduGAIN</a>. The application provider is registered by the following federation: <a href='{{url}}' target='_blank' rel='noopener noreferrer'>{{url}}</a>.",noArp:"This application will receive all attirbutes that are released by the identity provider",noMotivation:"No motivation",noPrivacyInfo:"No information supplied",source:"Source: ",arpSources:{eduid:"EduID Identity Provider",idp:"Your IdP",invite:"SURF Invite",manage:"SURF Manage",orcid:"ORCID organization",sabrest:"SURF SAB",voot:"SURF Memberships",institution:"Your IdP"}},connect:{title:"How to connect",subTitle:"Connecting to SURF Access is not complicated. It requires a formal and a technical part.",formal:"Formal part",formalInfo:"Applications on SURF Access are either provided by commercial entities or by SURF members for the benefit of their peers within the network. Our agreements vary based on the ownership of the application and the intended audience. For instance, if you intend to offer your service to a large number of users, you will need to enter into a formal contract with us.  If your service is developed within your institution and is intended for a smaller research group, a shorter terms of service will do.",agreementTypes:"Agreement types",testIdps:"Test IdP’s",collaborations:"Collaborations",enterprises:"Enterprises",accessTestIdps:"access for test IdP’s",accessGroups:"access for diverse groups",accessStudent:"e.g. access for all students",commercial:"Commercial entity",fairUse:"<a href='https://www.surf.nl/en/services/identity-access-management/surfconext' target='_blank'>Fair Use Policy</a>",accessTOS:"<a href='https://www.surf.nl/en/services/identity-access-management/surfconext' target='_blank'>SURF Access TOS</a>",connectionAgreement:"<a href='https://www.surf.nl/en/services/identity-access-management/surfconext' target='_blank'>Connection agreement</a>",surfMember:"SURF member",notNeeded:"not needed",memberAgreement:"<a href='https://www.surf.nl/en/services/identity-access-management/surfconext' target='_blank'>Member agreement</a>",surfMemberInfo:"including affiliated organisations",provisions:"With these provisions, we aim to ensure a smooth and secure integration for all parties involved.",technical:"Technical part",technicalInfo:"Whenever a user logs in through SURF Access, their information flows from their home-institution (Identity provider), via SURF Access, directly to your service.",serviceInfo:"Your service can receive a variety of data, including:",serviceBullets:["<strong>Authentication Data</strong>: Proof that the user has been authenticated by the Identity Provider.","<strong>Authorisation Information</strong>: Details necessary for making authorisation decisions within your service.","<strong>Group Membership Information</strong>: Data about a user’s group memberships.","<strong>Additional User Data</strong>: Any other data relevant to the service you provide."],samlOidc:"SAML & OpenID Connect",samlOidcInfo:"We use these open standards as they are used in most countries and many sectors.",attributes:"Attributes and claims",attributesInfo:"Learn more about use these open standards as they are used in most countries and many sectors.",connect:"Connect your application now"},forms:{cancel:"Cancel",submit:"Submit",sure:"I'm sure",edit:"Edit",accept:"Accept",proceed:"Proceed",delete:"Delete",back:"Back",and:"and",required:"{{name}} is required",requiredOne:"At least one {{name}} is required",error:"An unexpected error occurred",backToConnections:"Back to connections",backToOverview:"Back to overview",overview:"Naar overzicht",invalidURL:"{{name}} is not a valid URL",invalidEmailURL:"{{name}} is not a valid URL or valid email",moreLabel:"Show me more",lessLabel:"Show me less",you:"You",copied:"Copied"},tooltips:{userIcon:"User {[name}} is created on {{createdAt}} and was last seen at {{lastActivity}}",organizationsIcon:"Organization {{name}} is created on {{createdAt}} and has the status {{status}}"},footer:{terms:"Terms of Use",termsLink:"https://support.surfconext.nl/terms-en",privacy:"Privacy policy",privacyLink:"https://support.surfconext.nl/privacy-en",surfLink:"https://surf.nl",select_locale:"Select your preferred language"}},jM={code:"NL",name:"Nederlands",languages:{language:"Language",en:"English",nl:"Dutch"},landing:{header:{title:"SURF Access",subTitle:"Enabling users in secondary vocational-, higher education and research <strong>to access multiple services with one account</strong>.",login:"Come on in",sup:"EduID ServiceDesk is by invitation only.",logout:"Logout"},tabs:{home:"Home",connect:"How to connect",institutions:"All institutions",applications:"All applications"},applicationProviders:{title:"For application providers",info:["Has an educational or research institution asked you to join SURF Access?","SURF Access centrally manages authentication, authorization, group management, and privacy/security agreements.","Connecting to our SURF Access is free and you wil start in a sandbox."],connect:"How to connect"},institutions:{title:"For institutions",info:["Do you want your students, staff and researchers to easily access multiple cloud services?","SURF Access offers 'Single Sign On'-access to a large and increasing number of them.","It simplifies your work with a single integration instead of separate connections for each service."],contact:"Contact us",contactMail:"mailto:info@surfconext.nl"},joining:{title:"Joining many to many",info:["SURF Access securily connects 1M+ users to over 3000 (web)applications. SURF Access is a service from <a target='_blank' href='https://surfnet.nl'>SURF</a>.","Interested which institutions and applications are connected?"],links:{prefix:"Browse ",institutions:"all {{nbr}} institutions",or:" or ",applications:"all {{nbr}} applications."}}},navigation:{home:"Home",applications:"Applications",teams:"Teams"},breadCrumb:{access:"SURF Access",landing:"Search for your organization",applications:"Application maintenance",home:"Home"},welcome:{greeting:"Welcome {{name}}",info:"Kies hieronder of jouw organisatie al bestaat of voeg een nieuwe organisatie toe. Dit helpt ons om je aan de juiste omgeving te koppelen.",searchPlaceholder:"Search for organizations...",organizationMembers:"{{memberCount}} {{user}} and {{applicationCount}} {{application}}. Request access.",user:"user",users:"users",application:"application",applications:"applications",zeroState:"No organizations found",register:"‘<strong>{{name}}</strong>’ registreren en doorgaan",flash:"Created organization {{name}}."},userHome:{greeting:"{{name}}",nudgeLanding:"You are not a member of any organization.",nudgeLandingLink:" You can request to join one.",infoJoinRequest:"Just relax, your request to join the organization <strong>{{name}}</strong> is pending."},joinRequest:{info:"Je hebt geen toegang tot de omgeving van <strong>{{name}}</strong>. Je kunt toegang vragen aan de beheerder.",requestAccess:"Request access",duplicate:"There is already an outstanding request for you to join <strong>{{name}}</strong>.",flash:"Your join request is sent to the admins of <strong>{{name}}</strong>.",modal:{title:"Join request is created",success:"Your join request is sent to the admins of <strong>{{name}}</strong>. You will receive an email if the join request is accepted",proceed:"Proceed"}},organizations:{tooltip:"SURF beoordeelt je organisastie registratie. Je kunt apps registreren op onze testomgeving, voor toegang naar productie moet je ‘bevestigd’ zijn."},userMenu:{switchOrganization:"Switch organization"},application:{new:"New Application",edit:"Edit {{name}}",name:"Name",nameInfo:"Gebruik een naam die herkenbaar zal zijn voor instellingen",type:"Type",app:"Een Applicatie (tools, clouddiensten, utitilities etc...)",content:"Content dienst (streaming media, educatieve content, e-books)",contentInfoPre:"Content diensten ontvangen de ",contentInfoLink:"minimale set",contentInfoPost:" aan attributen.",contentInfoTip:"Attributenset voor content providers:<ul><li>Persistent or Transient NameID</li><li>schacHomeOrganization</li><li>eduPersonAffiliation</li><li>eduPersonScopedAffiliation</li></ul>",targetGroup:"Target group",targetSURF:"Verschillende gebruikers die beheerd worden in een (onderzoeks)groep",targetSURFInfo:"De gebruikers worden individueel uitgenodigd bij de groep.",targetSRAM:"Studenten, medewerkers en externen uit één instellings IdP",targetSRAMInfo:"Zij krijgen toegang omdat ze een kenmerk of rol hebben.",terms:"Fair Use terms",checks:{personal:"Mijn applicatie slaat persoonsgegevens veilig op",duration:"Ik bewaar de persoonsgegevens niet langer dan nodig",privacy:"Ik verstrek de persoonsgegevens niet aan derden",safe:"Ik houd mijn applicatie veilig en beschikbaar",support:"Ik ben bereikbaar bij vragen en problemen"},checksInfo:{personal:"De persoonsgegevens worden op een beveiligde manier opgeslagen.",duration:"De persoonsgegevens worden echt niet langer dan nodig opgeslagen",privacy:"De persoonsgegevens worden niet aan derden verstrekt",safe:"De applicatie is uitermate veilig en bijna altijd beschikbaar",support:"Als er vragen of problemen zijn, dan zoek je het maar uit"},flash:"Application {{name}} saved.",deleteConfirmation:"Are you sure you want to delete the Application {{name}}?"},organization:{alertInfo:"Welkom op SURF Access. Via deze Self Service Portal kun je jouw Applicatie beschikbaar maken voor instellingen binnen het hoger onderwijs in Nederland.",addFirstApplication:"Voeg je eerste Applicatie toe",addApplication:"Nieuwe Applicatie toevoegen",deleteConfirmation:"Are you sure you want to delete the Organization {{name}}?",catalog:{terms:"Voorwaarden voor apps in de SURF catalogus",fairUse:"Is je app voor een specifieke groep gebruikers (zoals één onderzoeksgroep)? Dan valt deze onder de <a href='https://surf.nl/fair-use' target='_blank'>Fair use gebruiksvoorwaarden</a>.",agreement:"Is je app bedoeld voor gebruik door hele onderwijsinstellingen? Dan teken je een <a href='https://surf.nl/fair-use' target='_blank'>SURF-aansluitovereenkomst</a>.",disclaimer:"<strong>Let op</strong>: Deze voorwaarden gelden alleen voor de productieomgeving, je kunt direct met de testomgeving koppelen."},applications:"Applications",team:"My Team",joins:"Join Requests"},connection:{overview:"Overview",testing:"Testing",prod:"Production",application:"App information",contract:"Contract",welcome:"Welkom {{user}}. {{name}} is nog niet gekoppeld met SURF Access. Begin met een koppeling aan onze testomgeving.",testSection:"Test",teamSection:"Team",duplicatedName:"A connection with name {{name}} already exists for this Application.",duplicateEntityID:"A connection with entityID {{entityID}} already exists",test:{name:"Test",connections:"Koppelingen met onze testomgeving",info:"Test of federatief inloggen werkt via onze testomgeving."},team:{name:"Teams",info:"Geef teamleden of externen toegang tot deze applicatie space.",members:"Teamleden voor beheer van deze applicatie"},production:{name:"Production",connections:"Koppelingen met onze productieomgeving",catalogue:"App informatie voor de SURF App catalogus",access:"Toegang en zichtbaarheid",contract:"Contract",disclaimer:"Een koppeling aan de productieomgeving van SURF Access heeft goedkeuring nodig van team SURF Access. Alle boventaande informatie is verplicht."},productionConnectionHint:"Maak een productiekoppeling aan. Om de applicatie te kunnen activeren, moet ook alle informatie over de dienst worden toegevoegd.",applicationInformationHint:"Voordat een productiekoppeling geactiveerd kan worden, moet alle informatie over de dienst zijn toegevoegd én het contract getekend.",productionActivationHint:"Vraag activatie van de propductiekoppeling aan.",productionActivationAction:"Doe het direct",productActivationPending:"De aanvraag voor activatie van uw productiekoppeling is ontvangen. SURF neemt binnen drie werkdagen contact met u op.",newConnection:"Nieuwe koppeling met de testomgeving",existingConnection:"Testkoppeling bewerken",newConnectionProd:"Nieuwe koppeling met de productieomgeving",existingConnectionProd:"Productiekoppeling bewerken",copyConnection:"Kopieer info van andere koppeling",technical:"Technische gegevens",informationProfile:"Informatieprofiel",testIdP:"Test-IdP's",visibility:"Visibility",help:"Hulp nodig?",callSurf:"Plan een call met SURF",mailToSurf:"mailto:surf@info.nl",connectionName:"Naam koppeling",connectionPlaceholder:"e.g. {{application}}-{{environment}}",protocol:"Protocol",clientID:"Client ID",clientIDPlaceHolder:"",oidc10_rp:"OpenID Connect",saml20_sp:"SAML 2.0",grantType:"OAuth Grant type",grantTypes:"OAuth Grant types",authorization_code:"Authorization Code",refresh_token:"Refresh tokens",device_code:"Device Code",pkce:"PKCE",pkceTooltip:"PKCE (Proof Key for Code Exchange) enhances the security of the authorization code flow by preventing authorization code interception. It’s especially important for public clients like mobile or single-page apps",optional:"Optional",required:"Required (public client)",redirectUrl:"Redirect URL",redirectUrls:"Redirect URLs",addRedirectUrl:"+ Redirect URL",sslGrade:"SSL Grade (min. B)",sslGradeTooltip:"Ensure the SSL/TLS certificate meets or exceeds grade B",configuration:"Congifuratiegegevens",import:"Metadata importeren",entityID:"Entity ID",entityIDPlaceHolder:"https://entityID.com",acsLocation:"ACS location",acsLocations:"ACS location(s)",addACSLocation:"+ Add ASC location",save:"Opslaan",saveAndNext:"Opslaan en volgende",deleteConfirmation:"Are you sure you want to delete this connection?",metadata:{how:"Hoe wil je de metadata importeren?",url:"De URL van een metadata-bestand opgeven",file:"Een metadata-bestand uploaden",paste:"De metadata in een tekstveld plakken",urlMetaData:"URL metadata bestand",import:"Metadata importeren",chooseFile:"Choose file",doPaste:"Plak hier de metadata",parsed:"The metadata has successfully been imported",errorParsed:"Error in parsing the metadata"},flash:{created:"Created connection {{name}}",updated:"Updated connection {{name}}",deleted:"Deleted connection {{name}}",copied:"Copied connection data from {{name}}"},connections:{titleProd:"Koppelingen met de productieomgeving",titleTest:"Koppelingen met de testomgeving",name:"Name",created:"Added at",status:"Status",open:"Open",complete:"Completed",protocol:"Protocol",details:"Details",requestProductionStatus:"Vraag productiestatus aan"},informational:{disclaimer:"Verwerk alleen informatie die <strong>strikt noodzakelijk</strong> is voor het functioneren van je applicatie.",contentAppAlert:"Een content application ontvangt de volgend informatie",profiles:{anonymous:{name:"Anoniem",title:"Het meest privacyvriendelijk",info:"Deze bundel is speciaal bedoeld voor als je zeer privacy bewust wilt werken. Je ontvangt een transient NameID, dit betekent dat de gebruiker elke keer als hij bij de dienst inlogt een nieuw etcetera."},pseudonymized:{name:"Pseudonymized",title:"Privacy vriendelijk inclusief betrouwbaarheid",info:"Deze bundel is speciaal bedoeld voor toelichting. Je ontvangt een persistent NameID, dit betekent dat de toelichting gebruiker elke keer als hij bij de dienst inlogt etcetera."},personalized:{name:"Gepersonaliseerd",title:"Persoonlijke gegevens ter identificatie",info:""},uidOnly:{name:"UID only",title:"Voor instellingen die intern alle persoonsinformatie aanvullen",info:""}},attributes:"<strong>Je ontvangt de volgende attributen</strong> (we tonen voorbeeldwaarden)",additionalAttributes:"Ik heb additionele attributen nodig",availableAttributes:"De volgende attributen zijn mogelijk bij deze bundel",profileMotivation:"Motivatie voor de noodzaak van dit profiel",profileMotivationPlaceholder:"Beschrijf waarom je dit informatieprofiel nodig hebt",profileMotivationDisclaimer:"Deze tekst wordt getoond aan eindgebruikers die willen aansluiten bij je dienst",motivation:"Motivation",motivationPlaceholder:"Attribute is used to ..."},testIdPs:{info:"Kies met welke IdP’s je wilt testen of het federatief inloggen werkt.",subTitle:"Test-IdP’s van SURF",identityProviders:[{name:"SXS IdP",entityid:"http://mock-idp",description:"Een test-IdP met <a href='https://idp.diy.surfconext.nl/showusers.php' target='_blank'>fictieve gebruikersaccounts</a>. De metadata vind je <a href='https://idp.diy.surfconext.nl/saml2/idp/metadata.php' target='_blank'>hier</a>"},{name:"SXS Dummy",entityid:"https://idp.diy.surfconext.nl/saml2/idp/metadata.php",description:"Een test-IdP waarmee je zelf attributen-sets kunt simuleren. De metadata vind je <a href='https://mujina-idp.test.surfconext.nl/metadata' target='_blank'>hier</a>"}],institutionIdPs:"Test-IdP’s van instellingen",institutionIdPsInfo:"Je kunt ook testen met accounts en data van instellingen. <strong>Let wel op<strong/>: Je moet zelf contact opnemen voor de test-inloggegevens voor hun test-IdP’s.",placeholder:"Selecteer één of meerdere instellingen",institution:"test IdP or institution IdP"},visibilities:{info:"Kies hoe je wilt dat deze koppeling zichtbaar is in de SURF App catalogus",disclaimer:"<strong>Let op</strong>: je kan de zichtbaarheid altijd later nog aanpassen",options:{visible_to_all:"Visible for all users and institutions",visible_to_idp_only:"Only visible for users from institutions that are granted access to this connection",visible_to_none:"Not visible for any users or institutions (e.g. hidden in the catalogus)"},placeholder:"Selecteer één of meerdere instellingen",institution:"Institution IdP"},connectionOverview:{copy:"Kopieer de inloggegevens",disclaimer:"Het client secret wordt hieronder éénmaal weergegeven. Zorg ervoor dat je het nu kopieert, anders moet er een nieuw seceret aangevraagd worden.",test:"Gebruik de volgende inloggegevens om verbinding te maken met de productieomgeving. Volg de <a href='https://servicedesk.surf.nl/wiki/spaces/IAM/pages/128909810/SURFconext+for+Service+Providers' target='_blank'>testinstructies</a> om te kijken of alles werkt.",discovery:"OpenID Connect Discovery",clientID:"Client ID",secret:"Client secret",authentication:"Authenticatie",secretReset:"For security reasons your current secret can not be displayed.",secretResetLink:"Reset your secret when needed.",secretResetDisclaimer:"Let op. Regenerating the secret will break your current connection.",secretResetTitle:"Reset your secret",secretResetNew:"New secret",reset:"Reset my secret",resetContinue:"I’ve copied the secret. Continue"},appInfo:{title:"App informatie voor de SURF App catalogus",label:"App informatie",sections:{logo:"Logo en beschrijving",contact:"Contactgegevens",privacy:"Privacy & Security ",overview:"Overview"},logoUrl:"Logo",descriptionEn:"Beschrijving in het Engels",descriptionNl:"Beschrijving in het Nederlands",webSite:"Website",tags:"Tag je applicatie",tagPlaceholder:"Maximaal 3 tags",tagInfo:"In de appstore kunnen instellingen hierop filteren",tagsAvailable:{education:"Onderwijs",research:"Onderzoek",privacy:"Privacy/beveiliging",content:"Content/bibliotheek",repository:"Repository",company:"Bedrijfsvoering",recommended:"Aangeraden",productivity:"Productiviteit",organization:"Organisatie van onderwijs/onderzoek",cooperation:"Samenwerken",video:"Videoplatform",surf:"SURF"},targetGroup:"Ga door naar de doelgroep"},logo:{name:"logo",add:"Add a logo",edit:"Change logo",imageToLarge:"Image is larger then 2MB.",confirm:"Set new logo image",header:"Crop your new logo image",disclaimers:["png, jpg, svg or gif","min 100 * 100 pixels","max 2MB."]},contacts:{label:"Contactgegevens",info:"Gebruik zoveel mogelijk functionele adressen in plaats van persoonlijke.",name:"name",administrative:"Administratief contact",administrativeTooltip:"Administratief contact Tooltip",administrativePlaceholder:"e.g. admin@{{name}}",emailOrWebsite:"Email-adres of website",technical:"Technisch contact (anders dan administratief)",technicalTooltip:"Technical contact Tooltip",technicalPlaceholder:"e.g. technical@{{name}}",support:"Support contact (eindgebruikers zien dit)",supportTooltip:"Support contact Tooltip",supportPlaceholder:"e.g. support@{{name}}"},privacy:{label:"Privacy & Security",info:"Please fill out the questions below. We will share the answers with institutions connected to SURFconext. This way the institutions interested in your service quickly have an idea of your efforts regarding privacy and security.",answerIsRequired:"Answer to this privacy question is required"},appOverview:{label:"De App informatie zijn compleet.",info:"Zo verschijnt je app in de SURF App catalogus."},contractSection:{title:"Contract",info:"Voor apps op SURF Access moet je een SURF-aansluitovereenkomst tekenen.",notSigned:"Er is nog geen overeenkomst getekend.",signed:"Er is een overeenkomst getekend.",sign:"Teken de overeenkomst"}},testing:{newConnection:"New connection",added:"Added at",status:"Status",protocol:"Protocol",details:"Details",zeroState:"Application <strong>{{name}}</strong> has no {{type}} connections yet.",production:"production",test:"test"},confirmationDialog:{title:"Confirm",error:"Error",subTitle:"This action requires a confirmation",subTitleError:"An error has occurred",confirm:"Confirm",ok:"Ok",cancel:"Cancel"},forms:{cancel:"Cancel",submit:"Submit",edit:"Edit",delete:"Delete",back:"Back",required:"{{name}} is required",requiredOne:"At least one {{name}} is required",error:"An unexpected error occurred",backToConnections:"Back to connections",backToOverview:"Back to overview",overview:"Naar overzicht",invalidURL:"{{name}} is not a valid URL",invalidEmailURL:"{{name}} is not a valid URL or valid email",moreLabel:"Show me more",lessLabel:"Show me less"},footer:{terms:"Terms of Use",termsLink:"https://support.surfconext.nl/terms-en",privacy:"Privacy policy",privacyLink:"https://support.surfconext.nl/privacy-en",surfLink:"https://surf.nl",select_locale:"Select your preferred language"}};var l2,C9;function Gr(){if(C9)return l2;C9=1;var t=Array.isArray;return l2=t,l2}var o2,w9;function RA(){if(w9)return o2;w9=1;var t=typeof A1=="object"&&A1&&A1.Object===Object&&A1;return o2=t,o2}var c2,x9;function fi(){if(x9)return c2;x9=1;var t=RA(),e=typeof self=="object"&&self&&self.Object===Object&&self,a=t||e||Function("return this")();return c2=a,c2}var u2,T9;function ou(){if(T9)return u2;T9=1;var t=fi(),e=t.Symbol;return u2=e,u2}var f2,O9;function LM(){if(O9)return f2;O9=1;var t=ou(),e=Object.prototype,a=e.hasOwnProperty,i=e.toString,s=t?t.toStringTag:void 0;function o(u){var d=a.call(u,s),f=u[s];try{u[s]=void 0;var m=!0}catch{}var y=i.call(u);return m&&(d?u[s]=f:delete u[s]),y}return f2=o,f2}var d2,R9;function kM(){if(R9)return d2;R9=1;var t=Object.prototype,e=t.toString;function a(i){return e.call(i)}return d2=a,d2}var h2,I9;function Io(){if(I9)return h2;I9=1;var t=ou(),e=LM(),a=kM(),i="[object Null]",s="[object Undefined]",o=t?t.toStringTag:void 0;function u(d){return d==null?d===void 0?s:i:o&&o in Object(d)?e(d):a(d)}return h2=u,h2}var m2,M9;function ml(){if(M9)return m2;M9=1;function t(e){return e!=null&&typeof e=="object"}return m2=t,m2}var p2,N9;function cu(){if(N9)return p2;N9=1;var t=Io(),e=ml(),a="[object Symbol]";function i(s){return typeof s=="symbol"||e(s)&&t(s)==a}return p2=i,p2}var g2,D9;function G6(){if(D9)return g2;D9=1;var t=Gr(),e=cu(),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/;function s(o,u){if(t(o))return!1;var d=typeof o;return d=="number"||d=="symbol"||d=="boolean"||o==null||e(o)?!0:i.test(o)||!a.test(o)||u!=null&&o in Object(u)}return g2=s,g2}var v2,j9;function Ui(){if(j9)return v2;j9=1;function t(e){var a=typeof e;return e!=null&&(a=="object"||a=="function")}return v2=t,v2}var y2,L9;function Z6(){if(L9)return y2;L9=1;var t=Io(),e=Ui(),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",o="[object Proxy]";function u(d){if(!e(d))return!1;var f=t(d);return f==i||f==s||f==a||f==o}return y2=u,y2}var b2,k9;function _M(){if(k9)return b2;k9=1;var t=fi(),e=t["__core-js_shared__"];return b2=e,b2}var S2,_9;function zM(){if(_9)return S2;_9=1;var t=_M(),e=(function(){var i=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""})();function a(i){return!!e&&e in i}return S2=a,S2}var E2,z9;function IA(){if(z9)return E2;z9=1;var t=Function.prototype,e=t.toString;function a(i){if(i!=null){try{return e.call(i)}catch{}try{return i+""}catch{}}return""}return E2=a,E2}var A2,q9;function qM(){if(q9)return A2;q9=1;var t=Z6(),e=zM(),a=Ui(),i=IA(),s=/[\\^$.*+?()[\]{}|]/g,o=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,f=u.toString,m=d.hasOwnProperty,y=RegExp("^"+f.call(m).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function b(C){if(!a(C)||e(C))return!1;var A=t(C)?y:o;return A.test(i(C))}return A2=b,A2}var C2,U9;function UM(){if(U9)return C2;U9=1;function t(e,a){return e?.[a]}return C2=t,C2}var w2,P9;function pl(){if(P9)return w2;P9=1;var t=qM(),e=UM();function a(i,s){var o=e(i,s);return t(o)?o:void 0}return w2=a,w2}var x2,H9;function Df(){if(H9)return x2;H9=1;var t=pl(),e=t(Object,"create");return x2=e,x2}var T2,B9;function PM(){if(B9)return T2;B9=1;var t=Df();function e(){this.__data__=t?t(null):{},this.size=0}return T2=e,T2}var O2,F9;function HM(){if(F9)return O2;F9=1;function t(e){var a=this.has(e)&&delete this.__data__[e];return this.size-=a?1:0,a}return O2=t,O2}var R2,V9;function BM(){if(V9)return R2;V9=1;var t=Df(),e="__lodash_hash_undefined__",a=Object.prototype,i=a.hasOwnProperty;function s(o){var u=this.__data__;if(t){var d=u[o];return d===e?void 0:d}return i.call(u,o)?u[o]:void 0}return R2=s,R2}var I2,G9;function FM(){if(G9)return I2;G9=1;var t=Df(),e=Object.prototype,a=e.hasOwnProperty;function i(s){var o=this.__data__;return t?o[s]!==void 0:a.call(o,s)}return I2=i,I2}var M2,Z9;function VM(){if(Z9)return M2;Z9=1;var t=Df(),e="__lodash_hash_undefined__";function a(i,s){var o=this.__data__;return this.size+=this.has(i)?0:1,o[i]=t&&s===void 0?e:s,this}return M2=a,M2}var N2,Y9;function GM(){if(Y9)return N2;Y9=1;var t=PM(),e=HM(),a=BM(),i=FM(),s=VM();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var m=u[d];this.set(m[0],m[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=a,o.prototype.has=i,o.prototype.set=s,N2=o,N2}var D2,W9;function ZM(){if(W9)return D2;W9=1;function t(){this.__data__=[],this.size=0}return D2=t,D2}var j2,Q9;function uu(){if(Q9)return j2;Q9=1;function t(e,a){return e===a||e!==e&&a!==a}return j2=t,j2}var L2,J9;function jf(){if(J9)return L2;J9=1;var t=uu();function e(a,i){for(var s=a.length;s--;)if(t(a[s][0],i))return s;return-1}return L2=e,L2}var k2,K9;function YM(){if(K9)return k2;K9=1;var t=jf(),e=Array.prototype,a=e.splice;function i(s){var o=this.__data__,u=t(o,s);if(u<0)return!1;var d=o.length-1;return u==d?o.pop():a.call(o,u,1),--this.size,!0}return k2=i,k2}var _2,X9;function WM(){if(X9)return _2;X9=1;var t=jf();function e(a){var i=this.__data__,s=t(i,a);return s<0?void 0:i[s][1]}return _2=e,_2}var z2,$9;function QM(){if($9)return z2;$9=1;var t=jf();function e(a){return t(this.__data__,a)>-1}return z2=e,z2}var q2,ev;function JM(){if(ev)return q2;ev=1;var t=jf();function e(a,i){var s=this.__data__,o=t(s,a);return o<0?(++this.size,s.push([a,i])):s[o][1]=i,this}return q2=e,q2}var U2,tv;function Lf(){if(tv)return U2;tv=1;var t=ZM(),e=YM(),a=WM(),i=QM(),s=JM();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var m=u[d];this.set(m[0],m[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=a,o.prototype.has=i,o.prototype.set=s,U2=o,U2}var P2,nv;function Y6(){if(nv)return P2;nv=1;var t=pl(),e=fi(),a=t(e,"Map");return P2=a,P2}var H2,av;function KM(){if(av)return H2;av=1;var t=GM(),e=Lf(),a=Y6();function i(){this.size=0,this.__data__={hash:new t,map:new(a||e),string:new t}}return H2=i,H2}var B2,rv;function XM(){if(rv)return B2;rv=1;function t(e){var a=typeof e;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?e!=="__proto__":e===null}return B2=t,B2}var F2,iv;function kf(){if(iv)return F2;iv=1;var t=XM();function e(a,i){var s=a.__data__;return t(i)?s[typeof i=="string"?"string":"hash"]:s.map}return F2=e,F2}var V2,sv;function $M(){if(sv)return V2;sv=1;var t=kf();function e(a){var i=t(this,a).delete(a);return this.size-=i?1:0,i}return V2=e,V2}var G2,lv;function eN(){if(lv)return G2;lv=1;var t=kf();function e(a){return t(this,a).get(a)}return G2=e,G2}var Z2,ov;function tN(){if(ov)return Z2;ov=1;var t=kf();function e(a){return t(this,a).has(a)}return Z2=e,Z2}var Y2,cv;function nN(){if(cv)return Y2;cv=1;var t=kf();function e(a,i){var s=t(this,a),o=s.size;return s.set(a,i),this.size+=s.size==o?0:1,this}return Y2=e,Y2}var W2,uv;function W6(){if(uv)return W2;uv=1;var t=KM(),e=$M(),a=eN(),i=tN(),s=nN();function o(u){var d=-1,f=u==null?0:u.length;for(this.clear();++d<f;){var m=u[d];this.set(m[0],m[1])}}return o.prototype.clear=t,o.prototype.delete=e,o.prototype.get=a,o.prototype.has=i,o.prototype.set=s,W2=o,W2}var Q2,fv;function aN(){if(fv)return Q2;fv=1;var t=W6(),e="Expected a function";function a(i,s){if(typeof i!="function"||s!=null&&typeof s!="function")throw new TypeError(e);var o=function(){var u=arguments,d=s?s.apply(this,u):u[0],f=o.cache;if(f.has(d))return f.get(d);var m=i.apply(this,u);return o.cache=f.set(d,m)||f,m};return o.cache=new(a.Cache||t),o}return a.Cache=t,Q2=a,Q2}var J2,dv;function rN(){if(dv)return J2;dv=1;var t=aN(),e=500;function a(i){var s=t(i,function(u){return o.size===e&&o.clear(),u}),o=s.cache;return s}return J2=a,J2}var K2,hv;function iN(){if(hv)return K2;hv=1;var t=rN(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,i=t(function(s){var o=[];return s.charCodeAt(0)===46&&o.push(""),s.replace(e,function(u,d,f,m){o.push(f?m.replace(a,"$1"):d||u)}),o});return K2=i,K2}var X2,mv;function MA(){if(mv)return X2;mv=1;function t(e,a){for(var i=-1,s=e==null?0:e.length,o=Array(s);++i<s;)o[i]=a(e[i],i,e);return o}return X2=t,X2}var $2,pv;function sN(){if(pv)return $2;pv=1;var t=ou(),e=MA(),a=Gr(),i=cu(),s=t?t.prototype:void 0,o=s?s.toString:void 0;function u(d){if(typeof d=="string")return d;if(a(d))return e(d,u)+"";if(i(d))return o?o.call(d):"";var f=d+"";return f=="0"&&1/d==-1/0?"-0":f}return $2=u,$2}var eh,gv;function Mo(){if(gv)return eh;gv=1;var t=sN();function e(a){return a==null?"":t(a)}return eh=e,eh}var th,vv;function NA(){if(vv)return th;vv=1;var t=Gr(),e=G6(),a=iN(),i=Mo();function s(o,u){return t(o)?o:e(o,u)?[o]:a(i(o))}return th=s,th}var nh,yv;function _f(){if(yv)return nh;yv=1;var t=cu();function e(a){if(typeof a=="string"||t(a))return a;var i=a+"";return i=="0"&&1/a==-1/0?"-0":i}return nh=e,nh}var ah,bv;function Q6(){if(bv)return ah;bv=1;var t=NA(),e=_f();function a(i,s){s=t(s,i);for(var o=0,u=s.length;i!=null&&o<u;)i=i[e(s[o++])];return o&&o==u?i:void 0}return ah=a,ah}var rh,Sv;function DA(){if(Sv)return rh;Sv=1;var t=Q6();function e(a,i,s){var o=a==null?void 0:t(a,i);return o===void 0?s:o}return rh=e,rh}var lN=DA();const oN=Ar(lN);var ih,Ev;function cN(){if(Ev)return ih;Ev=1;var t=Object.prototype,e=t.hasOwnProperty;function a(i,s){return i!=null&&e.call(i,s)}return ih=a,ih}var sh,Av;function uN(){if(Av)return sh;Av=1;var t=Io(),e=ml(),a="[object Arguments]";function i(s){return e(s)&&t(s)==a}return sh=i,sh}var lh,Cv;function zf(){if(Cv)return lh;Cv=1;var t=uN(),e=ml(),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,o=t((function(){return arguments})())?t:function(u){return e(u)&&i.call(u,"callee")&&!s.call(u,"callee")};return lh=o,lh}var oh,wv;function J6(){if(wv)return oh;wv=1;var t=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function a(i,s){var o=typeof i;return s=s??t,!!s&&(o=="number"||o!="symbol"&&e.test(i))&&i>-1&&i%1==0&&i<s}return oh=a,oh}var ch,xv;function K6(){if(xv)return ch;xv=1;var t=9007199254740991;function e(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=t}return ch=e,ch}var uh,Tv;function jA(){if(Tv)return uh;Tv=1;var t=NA(),e=zf(),a=Gr(),i=J6(),s=K6(),o=_f();function u(d,f,m){f=t(f,d);for(var y=-1,b=f.length,C=!1;++y<b;){var A=o(f[y]);if(!(C=d!=null&&m(d,A)))break;d=d[A]}return C||++y!=b?C:(b=d==null?0:d.length,!!b&&s(b)&&i(A,b)&&(a(d)||e(d)))}return uh=u,uh}var fh,Ov;function fN(){if(Ov)return fh;Ov=1;var t=cN(),e=jA();function a(i,s){return i!=null&&e(i,s,t)}return fh=a,fh}var dN=fN();const hN=Ar(dN);var dh,Rv;function mN(){if(Rv)return dh;Rv=1;var t=Lf();function e(){this.__data__=new t,this.size=0}return dh=e,dh}var hh,Iv;function pN(){if(Iv)return hh;Iv=1;function t(e){var a=this.__data__,i=a.delete(e);return this.size=a.size,i}return hh=t,hh}var mh,Mv;function gN(){if(Mv)return mh;Mv=1;function t(e){return this.__data__.get(e)}return mh=t,mh}var ph,Nv;function vN(){if(Nv)return ph;Nv=1;function t(e){return this.__data__.has(e)}return ph=t,ph}var gh,Dv;function yN(){if(Dv)return gh;Dv=1;var t=Lf(),e=Y6(),a=W6(),i=200;function s(o,u){var d=this.__data__;if(d instanceof t){var f=d.__data__;if(!e||f.length<i-1)return f.push([o,u]),this.size=++d.size,this;d=this.__data__=new a(f)}return d.set(o,u),this.size=d.size,this}return gh=s,gh}var vh,jv;function X6(){if(jv)return vh;jv=1;var t=Lf(),e=mN(),a=pN(),i=gN(),s=vN(),o=yN();function u(d){var f=this.__data__=new t(d);this.size=f.size}return u.prototype.clear=e,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=o,vh=u,vh}var yh,Lv;function LA(){if(Lv)return yh;Lv=1;var t=pl(),e=(function(){try{var a=t(Object,"defineProperty");return a({},"",{}),a}catch{}})();return yh=e,yh}var bh,kv;function $6(){if(kv)return bh;kv=1;var t=LA();function e(a,i,s){i=="__proto__"&&t?t(a,i,{configurable:!0,enumerable:!0,value:s,writable:!0}):a[i]=s}return bh=e,bh}var Sh,_v;function kA(){if(_v)return Sh;_v=1;var t=$6(),e=uu();function a(i,s,o){(o!==void 0&&!e(i[s],o)||o===void 0&&!(s in i))&&t(i,s,o)}return Sh=a,Sh}var Eh,zv;function bN(){if(zv)return Eh;zv=1;function t(e){return function(a,i,s){for(var o=-1,u=Object(a),d=s(a),f=d.length;f--;){var m=d[e?f:++o];if(i(u[m],m,u)===!1)break}return a}}return Eh=t,Eh}var Ah,qv;function _A(){if(qv)return Ah;qv=1;var t=bN(),e=t();return Ah=e,Ah}var Pc={exports:{}};Pc.exports;var Uv;function SN(){return Uv||(Uv=1,(function(t,e){var a=fi(),i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,o=s&&s.exports===i,u=o?a.Buffer:void 0,d=u?u.allocUnsafe:void 0;function f(m,y){if(y)return m.slice();var b=m.length,C=d?d(b):new m.constructor(b);return m.copy(C),C}t.exports=f})(Pc,Pc.exports)),Pc.exports}var Ch,Pv;function zA(){if(Pv)return Ch;Pv=1;var t=fi(),e=t.Uint8Array;return Ch=e,Ch}var wh,Hv;function EN(){if(Hv)return wh;Hv=1;var t=zA();function e(a){var i=new a.constructor(a.byteLength);return new t(i).set(new t(a)),i}return wh=e,wh}var xh,Bv;function AN(){if(Bv)return xh;Bv=1;var t=EN();function e(a,i){var s=i?t(a.buffer):a.buffer;return new a.constructor(s,a.byteOffset,a.length)}return xh=e,xh}var Th,Fv;function CN(){if(Fv)return Th;Fv=1;function t(e,a){var i=-1,s=e.length;for(a||(a=Array(s));++i<s;)a[i]=e[i];return a}return Th=t,Th}var Oh,Vv;function wN(){if(Vv)return Oh;Vv=1;var t=Ui(),e=Object.create,a=(function(){function i(){}return function(s){if(!t(s))return{};if(e)return e(s);i.prototype=s;var o=new i;return i.prototype=void 0,o}})();return Oh=a,Oh}var Rh,Gv;function qA(){if(Gv)return Rh;Gv=1;function t(e,a){return function(i){return e(a(i))}}return Rh=t,Rh}var Ih,Zv;function UA(){if(Zv)return Ih;Zv=1;var t=qA(),e=t(Object.getPrototypeOf,Object);return Ih=e,Ih}var Mh,Yv;function e5(){if(Yv)return Mh;Yv=1;var t=Object.prototype;function e(a){var i=a&&a.constructor,s=typeof i=="function"&&i.prototype||t;return a===s}return Mh=e,Mh}var Nh,Wv;function xN(){if(Wv)return Nh;Wv=1;var t=wN(),e=UA(),a=e5();function i(s){return typeof s.constructor=="function"&&!a(s)?t(e(s)):{}}return Nh=i,Nh}var Dh,Qv;function No(){if(Qv)return Dh;Qv=1;var t=Z6(),e=K6();function a(i){return i!=null&&e(i.length)&&!t(i)}return Dh=a,Dh}var jh,Jv;function TN(){if(Jv)return jh;Jv=1;var t=No(),e=ml();function a(i){return e(i)&&t(i)}return jh=a,jh}var Hc={exports:{}},Lh,Kv;function ON(){if(Kv)return Lh;Kv=1;function t(){return!1}return Lh=t,Lh}Hc.exports;var Xv;function t5(){return Xv||(Xv=1,(function(t,e){var a=fi(),i=ON(),s=e&&!e.nodeType&&e,o=s&&!0&&t&&!t.nodeType&&t,u=o&&o.exports===s,d=u?a.Buffer:void 0,f=d?d.isBuffer:void 0,m=f||i;t.exports=m})(Hc,Hc.exports)),Hc.exports}var kh,$v;function RN(){if($v)return kh;$v=1;var t=Io(),e=UA(),a=ml(),i="[object Object]",s=Function.prototype,o=Object.prototype,u=s.toString,d=o.hasOwnProperty,f=u.call(Object);function m(y){if(!a(y)||t(y)!=i)return!1;var b=e(y);if(b===null)return!0;var C=d.call(b,"constructor")&&b.constructor;return typeof C=="function"&&C instanceof C&&u.call(C)==f}return kh=m,kh}var _h,ey;function IN(){if(ey)return _h;ey=1;var t=Io(),e=K6(),a=ml(),i="[object Arguments]",s="[object Array]",o="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Function]",m="[object Map]",y="[object Number]",b="[object Object]",C="[object RegExp]",A="[object Set]",I="[object String]",M="[object WeakMap]",O="[object ArrayBuffer]",R="[object DataView]",x="[object Float32Array]",j="[object Float64Array]",U="[object Int8Array]",L="[object Int16Array]",P="[object Int32Array]",F="[object Uint8Array]",E="[object Uint8ClampedArray]",T="[object Uint16Array]",N="[object Uint32Array]",G={};G[x]=G[j]=G[U]=G[L]=G[P]=G[F]=G[E]=G[T]=G[N]=!0,G[i]=G[s]=G[O]=G[o]=G[R]=G[u]=G[d]=G[f]=G[m]=G[y]=G[b]=G[C]=G[A]=G[I]=G[M]=!1;function _(q){return a(q)&&e(q.length)&&!!G[t(q)]}return _h=_,_h}var zh,ty;function PA(){if(ty)return zh;ty=1;function t(e){return function(a){return e(a)}}return zh=t,zh}var Bc={exports:{}};Bc.exports;var ny;function MN(){return ny||(ny=1,(function(t,e){var a=RA(),i=e&&!e.nodeType&&e,s=i&&!0&&t&&!t.nodeType&&t,o=s&&s.exports===i,u=o&&a.process,d=(function(){try{var f=s&&s.require&&s.require("util").types;return f||u&&u.binding&&u.binding("util")}catch{}})();t.exports=d})(Bc,Bc.exports)),Bc.exports}var qh,ay;function n5(){if(ay)return qh;ay=1;var t=IN(),e=PA(),a=MN(),i=a&&a.isTypedArray,s=i?e(i):t;return qh=s,qh}var Uh,ry;function HA(){if(ry)return Uh;ry=1;function t(e,a){if(!(a==="constructor"&&typeof e[a]=="function")&&a!="__proto__")return e[a]}return Uh=t,Uh}var Ph,iy;function BA(){if(iy)return Ph;iy=1;var t=$6(),e=uu(),a=Object.prototype,i=a.hasOwnProperty;function s(o,u,d){var f=o[u];(!(i.call(o,u)&&e(f,d))||d===void 0&&!(u in o))&&t(o,u,d)}return Ph=s,Ph}var Hh,sy;function NN(){if(sy)return Hh;sy=1;var t=BA(),e=$6();function a(i,s,o,u){var d=!o;o||(o={});for(var f=-1,m=s.length;++f<m;){var y=s[f],b=u?u(o[y],i[y],y,o,i):void 0;b===void 0&&(b=i[y]),d?e(o,y,b):t(o,y,b)}return o}return Hh=a,Hh}var Bh,ly;function DN(){if(ly)return Bh;ly=1;function t(e,a){for(var i=-1,s=Array(e);++i<e;)s[i]=a(i);return s}return Bh=t,Bh}var Fh,oy;function FA(){if(oy)return Fh;oy=1;var t=DN(),e=zf(),a=Gr(),i=t5(),s=J6(),o=n5(),u=Object.prototype,d=u.hasOwnProperty;function f(m,y){var b=a(m),C=!b&&e(m),A=!b&&!C&&i(m),I=!b&&!C&&!A&&o(m),M=b||C||A||I,O=M?t(m.length,String):[],R=O.length;for(var x in m)(y||d.call(m,x))&&!(M&&(x=="length"||A&&(x=="offset"||x=="parent")||I&&(x=="buffer"||x=="byteLength"||x=="byteOffset")||s(x,R)))&&O.push(x);return O}return Fh=f,Fh}var Vh,cy;function jN(){if(cy)return Vh;cy=1;function t(e){var a=[];if(e!=null)for(var i in Object(e))a.push(i);return a}return Vh=t,Vh}var Gh,uy;function LN(){if(uy)return Gh;uy=1;var t=Ui(),e=e5(),a=jN(),i=Object.prototype,s=i.hasOwnProperty;function o(u){if(!t(u))return a(u);var d=e(u),f=[];for(var m in u)m=="constructor"&&(d||!s.call(u,m))||f.push(m);return f}return Gh=o,Gh}var Zh,fy;function VA(){if(fy)return Zh;fy=1;var t=FA(),e=LN(),a=No();function i(s){return a(s)?t(s,!0):e(s)}return Zh=i,Zh}var Yh,dy;function kN(){if(dy)return Yh;dy=1;var t=NN(),e=VA();function a(i){return t(i,e(i))}return Yh=a,Yh}var Wh,hy;function _N(){if(hy)return Wh;hy=1;var t=kA(),e=SN(),a=AN(),i=CN(),s=xN(),o=zf(),u=Gr(),d=TN(),f=t5(),m=Z6(),y=Ui(),b=RN(),C=n5(),A=HA(),I=kN();function M(O,R,x,j,U,L,P){var F=A(O,x),E=A(R,x),T=P.get(E);if(T){t(O,x,T);return}var N=L?L(F,E,x+"",O,R,P):void 0,G=N===void 0;if(G){var _=u(E),q=!_&&f(E),Z=!_&&!q&&C(E);N=E,_||q||Z?u(F)?N=F:d(F)?N=i(F):q?(G=!1,N=e(E,!0)):Z?(G=!1,N=a(E,!0)):N=[]:b(E)||o(E)?(N=F,o(F)?N=I(F):(!y(F)||m(F))&&(N=s(E))):G=!1}G&&(P.set(E,N),U(N,E,j,L,P),P.delete(E)),t(O,x,N)}return Wh=M,Wh}var Qh,my;function zN(){if(my)return Qh;my=1;var t=X6(),e=kA(),a=_A(),i=_N(),s=Ui(),o=VA(),u=HA();function d(f,m,y,b,C){f!==m&&a(m,function(A,I){if(C||(C=new t),s(A))i(f,m,I,y,d,b,C);else{var M=b?b(u(f,I),A,I+"",f,m,C):void 0;M===void 0&&(M=A),e(f,I,M)}},o)}return Qh=d,Qh}var Jh,py;function qf(){if(py)return Jh;py=1;function t(e){return e}return Jh=t,Jh}var Kh,gy;function qN(){if(gy)return Kh;gy=1;function t(e,a,i){switch(i.length){case 0:return e.call(a);case 1:return e.call(a,i[0]);case 2:return e.call(a,i[0],i[1]);case 3:return e.call(a,i[0],i[1],i[2])}return e.apply(a,i)}return Kh=t,Kh}var Xh,vy;function UN(){if(vy)return Xh;vy=1;var t=qN(),e=Math.max;function a(i,s,o){return s=e(s===void 0?i.length-1:s,0),function(){for(var u=arguments,d=-1,f=e(u.length-s,0),m=Array(f);++d<f;)m[d]=u[s+d];d=-1;for(var y=Array(s+1);++d<s;)y[d]=u[d];return y[s]=o(m),t(i,this,y)}}return Xh=a,Xh}var $h,yy;function PN(){if(yy)return $h;yy=1;function t(e){return function(){return e}}return $h=t,$h}var em,by;function HN(){if(by)return em;by=1;var t=PN(),e=LA(),a=qf(),i=e?function(s,o){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(o),writable:!0})}:a;return em=i,em}var tm,Sy;function BN(){if(Sy)return tm;Sy=1;var t=800,e=16,a=Date.now;function i(s){var o=0,u=0;return function(){var d=a(),f=e-(d-u);if(u=d,f>0){if(++o>=t)return arguments[0]}else o=0;return s.apply(void 0,arguments)}}return tm=i,tm}var nm,Ey;function FN(){if(Ey)return nm;Ey=1;var t=HN(),e=BN(),a=e(t);return nm=a,nm}var am,Ay;function GA(){if(Ay)return am;Ay=1;var t=qf(),e=UN(),a=FN();function i(s,o){return a(e(s,o,t),s+"")}return am=i,am}var rm,Cy;function Uf(){if(Cy)return rm;Cy=1;var t=uu(),e=No(),a=J6(),i=Ui();function s(o,u,d){if(!i(d))return!1;var f=typeof u;return(f=="number"?e(d)&&a(u,d.length):f=="string"&&u in d)?t(d[u],o):!1}return rm=s,rm}var im,wy;function VN(){if(wy)return im;wy=1;var t=GA(),e=Uf();function a(i){return t(function(s,o){var u=-1,d=o.length,f=d>1?o[d-1]:void 0,m=d>2?o[2]:void 0;for(f=i.length>3&&typeof f=="function"?(d--,f):void 0,m&&e(o[0],o[1],m)&&(f=d<3?void 0:f,d=1),s=Object(s);++u<d;){var y=o[u];y&&i(s,y,u,f)}return s})}return im=a,im}var sm,xy;function GN(){if(xy)return sm;xy=1;var t=zN(),e=VN(),a=e(function(i,s,o){t(i,s,o)});return sm=a,sm}var ZN=GN();const YN=Ar(ZN);var lm,Ty;function WN(){if(Ty)return lm;Ty=1;var t="__lodash_hash_undefined__";function e(a){return this.__data__.set(a,t),this}return lm=e,lm}var om,Oy;function QN(){if(Oy)return om;Oy=1;function t(e){return this.__data__.has(e)}return om=t,om}var cm,Ry;function ZA(){if(Ry)return cm;Ry=1;var t=W6(),e=WN(),a=QN();function i(s){var o=-1,u=s==null?0:s.length;for(this.__data__=new t;++o<u;)this.add(s[o])}return i.prototype.add=i.prototype.push=e,i.prototype.has=a,cm=i,cm}var um,Iy;function JN(){if(Iy)return um;Iy=1;function t(e,a,i,s){for(var o=e.length,u=i+(s?1:-1);s?u--:++u<o;)if(a(e[u],u,e))return u;return-1}return um=t,um}var fm,My;function KN(){if(My)return fm;My=1;function t(e){return e!==e}return fm=t,fm}var dm,Ny;function XN(){if(Ny)return dm;Ny=1;function t(e,a,i){for(var s=i-1,o=e.length;++s<o;)if(e[s]===a)return s;return-1}return dm=t,dm}var hm,Dy;function $N(){if(Dy)return hm;Dy=1;var t=JN(),e=KN(),a=XN();function i(s,o,u){return o===o?a(s,o,u):t(s,e,u)}return hm=i,hm}var mm,jy;function eD(){if(jy)return mm;jy=1;var t=$N();function e(a,i){var s=a==null?0:a.length;return!!s&&t(a,i,0)>-1}return mm=e,mm}var pm,Ly;function tD(){if(Ly)return pm;Ly=1;function t(e,a,i){for(var s=-1,o=e==null?0:e.length;++s<o;)if(i(a,e[s]))return!0;return!1}return pm=t,pm}var gm,ky;function YA(){if(ky)return gm;ky=1;function t(e,a){return e.has(a)}return gm=t,gm}var vm,_y;function WA(){if(_y)return vm;_y=1;var t=pl(),e=fi(),a=t(e,"Set");return vm=a,vm}var ym,zy;function nD(){if(zy)return ym;zy=1;function t(){}return ym=t,ym}var bm,qy;function a5(){if(qy)return bm;qy=1;function t(e){var a=-1,i=Array(e.size);return e.forEach(function(s){i[++a]=s}),i}return bm=t,bm}var Sm,Uy;function aD(){if(Uy)return Sm;Uy=1;var t=WA(),e=nD(),a=a5(),i=1/0,s=t&&1/a(new t([,-0]))[1]==i?function(o){return new t(o)}:e;return Sm=s,Sm}var Em,Py;function rD(){if(Py)return Em;Py=1;var t=ZA(),e=eD(),a=tD(),i=YA(),s=aD(),o=a5(),u=200;function d(f,m,y){var b=-1,C=e,A=f.length,I=!0,M=[],O=M;if(y)I=!1,C=a;else if(A>=u){var R=m?null:s(f);if(R)return o(R);I=!1,C=i,O=new t}else O=m?[]:M;e:for(;++b<A;){var x=f[b],j=m?m(x):x;if(x=y||x!==0?x:0,I&&j===j){for(var U=O.length;U--;)if(O[U]===j)continue e;m&&O.push(j),M.push(x)}else C(O,j,y)||(O!==M&&O.push(j),M.push(x))}return M}return Em=d,Em}var Am,Hy;function iD(){if(Hy)return Am;Hy=1;var t=rD();function e(a){return a&&a.length?t(a):[]}return Am=e,Am}var sD=iD();const lD=Ar(sD),oD=(t,e)=>{const a=[],i=[];return a.push(e),e||a.push(t.locale),t.enableFallback&&a.push(t.defaultLocale),a.filter(Boolean).map(s=>s.toString()).forEach(function(s){if(i.includes(s)||i.push(s),!t.enableFallback)return;const o=s.split("-");o.length===3&&i.push(`${o[0]}-${o[1]}`),i.push(o[0])}),lD(i)};class cD{constructor(e){this.i18n=e,this.registry={},this.register("default",oD)}register(e,a){if(typeof a!="function"){const i=a;a=(()=>i)}this.registry[e]=a}get(e){let a=this.registry[e]||this.registry[this.i18n.locale]||this.registry.default;return typeof a=="function"&&(a=a(this.i18n,e)),a instanceof Array||(a=[a]),a}}const uD=(t,e)=>{const a=String(t).split("."),i=!a[1],s=Number(a[0])==t,o=s&&a[0].slice(-1),u=s&&a[0].slice(-2);return e?o==1&&u!=11?"one":o==2&&u!=12?"two":o==3&&u!=13?"few":"other":t==1&&i?"one":"other"};function fD({pluralizer:t,includeZero:e=!0,ordinal:a=!1}){return function(i,s){return[e&&s===0?"zero":"",t(s,a)].filter(Boolean)}}const dD=fD({pluralizer:uD,includeZero:!0});class hD{constructor(e){this.i18n=e,this.registry={},this.register("default",dD)}register(e,a){this.registry[e]=a}get(e){return this.registry[e]||this.registry[this.i18n.locale]||this.registry.default}}var Cm,By;function mD(){if(By)return Cm;By=1;function t(e,a,i){var s=-1,o=e.length;a<0&&(a=-a>o?0:o+a),i=i>o?o:i,i<0&&(i+=o),o=a>i?0:i-a>>>0,a>>>=0;for(var u=Array(o);++s<o;)u[s]=e[s+a];return u}return Cm=t,Cm}var wm,Fy;function pD(){if(Fy)return wm;Fy=1;var t=mD();function e(a,i,s){var o=a.length;return s=s===void 0?o:s,!i&&s>=o?a:t(a,i,s)}return wm=e,wm}var xm,Vy;function QA(){if(Vy)return xm;Vy=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=e+a+i,o="\\ufe0e\\ufe0f",u="\\u200d",d=RegExp("["+u+t+s+o+"]");function f(m){return d.test(m)}return xm=f,xm}var Tm,Gy;function gD(){if(Gy)return Tm;Gy=1;function t(e){return e.split("")}return Tm=t,Tm}var Om,Zy;function vD(){if(Zy)return Om;Zy=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=e+a+i,o="\\ufe0e\\ufe0f",u="["+t+"]",d="["+s+"]",f="\\ud83c[\\udffb-\\udfff]",m="(?:"+d+"|"+f+")",y="[^"+t+"]",b="(?:\\ud83c[\\udde6-\\uddff]){2}",C="[\\ud800-\\udbff][\\udc00-\\udfff]",A="\\u200d",I=m+"?",M="["+o+"]?",O="(?:"+A+"(?:"+[y,b,C].join("|")+")"+M+I+")*",R=M+I+O,x="(?:"+[y+d+"?",d,b,C,u].join("|")+")",j=RegExp(f+"(?="+f+")|"+x+R,"g");function U(L){return L.match(j)||[]}return Om=U,Om}var Rm,Yy;function yD(){if(Yy)return Rm;Yy=1;var t=gD(),e=QA(),a=vD();function i(s){return e(s)?a(s):t(s)}return Rm=i,Rm}var Im,Wy;function bD(){if(Wy)return Im;Wy=1;var t=pD(),e=QA(),a=yD(),i=Mo();function s(o){return function(u){u=i(u);var d=e(u)?a(u):void 0,f=d?d[0]:u.charAt(0),m=d?t(d,1).join(""):u.slice(1);return f[o]()+m}}return Im=s,Im}var Mm,Qy;function SD(){if(Qy)return Mm;Qy=1;var t=bD(),e=t("toUpperCase");return Mm=e,Mm}var Nm,Jy;function ED(){if(Jy)return Nm;Jy=1;var t=Mo(),e=SD();function a(i){return e(t(i).toLowerCase())}return Nm=a,Nm}var Dm,Ky;function AD(){if(Ky)return Dm;Ky=1;function t(e,a,i,s){var o=-1,u=e==null?0:e.length;for(s&&u&&(i=e[++o]);++o<u;)i=a(i,e[o],o,e);return i}return Dm=t,Dm}var jm,Xy;function CD(){if(Xy)return jm;Xy=1;function t(e){return function(a){return e?.[a]}}return jm=t,jm}var Lm,$y;function wD(){if($y)return Lm;$y=1;var t=CD(),e={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"},a=t(e);return Lm=a,Lm}var km,eb;function xD(){if(eb)return km;eb=1;var t=wD(),e=Mo(),a=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",o="\\u20d0-\\u20ff",u=i+s+o,d="["+u+"]",f=RegExp(d,"g");function m(y){return y=e(y),y&&y.replace(a,t).replace(f,"")}return km=m,km}var _m,tb;function TD(){if(tb)return _m;tb=1;var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(a){return a.match(t)||[]}return _m=e,_m}var zm,nb;function OD(){if(nb)return zm;nb=1;var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(a){return t.test(a)}return zm=e,zm}var qm,ab;function RD(){if(ab)return qm;ab=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",s=e+a+i,o="\\u2700-\\u27bf",u="a-z\\xdf-\\xf6\\xf8-\\xff",d="\\xac\\xb1\\xd7\\xf7",f="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",m="\\u2000-\\u206f",y=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",b="A-Z\\xc0-\\xd6\\xd8-\\xde",C="\\ufe0e\\ufe0f",A=d+f+m+y,I="['’]",M="["+A+"]",O="["+s+"]",R="\\d+",x="["+o+"]",j="["+u+"]",U="[^"+t+A+R+o+u+b+"]",L="\\ud83c[\\udffb-\\udfff]",P="(?:"+O+"|"+L+")",F="[^"+t+"]",E="(?:\\ud83c[\\udde6-\\uddff]){2}",T="[\\ud800-\\udbff][\\udc00-\\udfff]",N="["+b+"]",G="\\u200d",_="(?:"+j+"|"+U+")",q="(?:"+N+"|"+U+")",Z="(?:"+I+"(?:d|ll|m|re|s|t|ve))?",V="(?:"+I+"(?:D|LL|M|RE|S|T|VE))?",D=P+"?",H="["+C+"]?",k="(?:"+G+"(?:"+[F,E,T].join("|")+")"+H+D+")*",W="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",se="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",B=H+D+k,K="(?:"+[x,E,T].join("|")+")"+B,le=RegExp([N+"?"+j+"+"+Z+"(?="+[M,N,"$"].join("|")+")",q+"+"+V+"(?="+[M,N+_,"$"].join("|")+")",N+"?"+_+"+"+Z,N+"+"+V,se,W,R,K].join("|"),"g");function he(fe){return fe.match(le)||[]}return qm=he,qm}var Um,rb;function ID(){if(rb)return Um;rb=1;var t=TD(),e=OD(),a=Mo(),i=RD();function s(o,u,d){return o=a(o),u=d?void 0:u,u===void 0?e(o)?i(o):t(o):o.match(u)||[]}return Um=s,Um}var Pm,ib;function MD(){if(ib)return Pm;ib=1;var t=AD(),e=xD(),a=ID(),i="['’]",s=RegExp(i,"g");function o(u){return function(d){return t(a(e(d).replace(s,"")),u,"")}}return Pm=o,Pm}var Hm,sb;function ND(){if(sb)return Hm;sb=1;var t=ED(),e=MD(),a=e(function(i,s,o){return s=s.toLowerCase(),i+(o?t(s):s)});return Hm=a,Hm}var DD=ND();const jD=Ar(DD);function Nr(t){return t?Object.keys(t).reduce((e,a)=>(e[jD(a)]=t[a],e),{}):{}}function Li(t){return t!=null}function LD(t,e,a){let i=[{scope:e}];if(Li(a.defaults)&&(i=i.concat(a.defaults)),Li(a.defaultValue)){const s=typeof a.defaultValue=="function"?a.defaultValue(t,e,a):a.defaultValue;i.push({message:s}),delete a.defaultValue}return i}var kD=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,Bm=Math.ceil,vr=Math.floor,qa="[BigNumber Error] ",lb=qa+"Number primitive has more than 15 significant digits: ",Dr=1e14,lt=14,Fm=9007199254740991,Vm=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],ps=1e7,ia=1e9;function JA(t){var e,a,i,s=x.prototype={constructor:x,toString:null,valueOf:null},o=new x(1),u=20,d=4,f=-7,m=21,y=-1e7,b=1e7,C=!1,A=1,I=0,M={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},O="0123456789abcdefghijklmnopqrstuvwxyz",R=!0;function x(E,T){var N,G,_,q,Z,V,D,H,k=this;if(!(k instanceof x))return new x(E,T);if(T==null){if(E&&E._isBigNumber===!0){k.s=E.s,!E.c||E.e>b?k.c=k.e=null:E.e<y?k.c=[k.e=0]:(k.e=E.e,k.c=E.c.slice());return}if((V=typeof E=="number")&&E*0==0){if(k.s=1/E<0?(E=-E,-1):1,E===~~E){for(q=0,Z=E;Z>=10;Z/=10,q++);q>b?k.c=k.e=null:(k.e=q,k.c=[E]);return}H=String(E)}else{if(!kD.test(H=String(E)))return i(k,H,V);k.s=H.charCodeAt(0)==45?(H=H.slice(1),-1):1}(q=H.indexOf("."))>-1&&(H=H.replace(".","")),(Z=H.search(/e/i))>0?(q<0&&(q=Z),q+=+H.slice(Z+1),H=H.substring(0,Z)):q<0&&(q=H.length)}else{if(bn(T,2,O.length,"Base"),T==10&&R)return k=new x(E),P(k,u+k.e+1,d);if(H=String(E),V=typeof E=="number"){if(E*0!=0)return i(k,H,V,T);if(k.s=1/E<0?(H=H.slice(1),-1):1,x.DEBUG&&H.replace(/^0\.0*|\./,"").length>15)throw Error(lb+E)}else k.s=H.charCodeAt(0)===45?(H=H.slice(1),-1):1;for(N=O.slice(0,T),q=Z=0,D=H.length;Z<D;Z++)if(N.indexOf(G=H.charAt(Z))<0){if(G=="."){if(Z>q){q=D;continue}}else if(!_&&(H==H.toUpperCase()&&(H=H.toLowerCase())||H==H.toLowerCase()&&(H=H.toUpperCase()))){_=!0,Z=-1,q=0;continue}return i(k,String(E),V,T)}V=!1,H=a(H,T,10,k.s),(q=H.indexOf("."))>-1?H=H.replace(".",""):q=H.length}for(Z=0;H.charCodeAt(Z)===48;Z++);for(D=H.length;H.charCodeAt(--D)===48;);if(H=H.slice(Z,++D)){if(D-=Z,V&&x.DEBUG&&D>15&&(E>Fm||E!==vr(E)))throw Error(lb+k.s*E);if((q=q-Z-1)>b)k.c=k.e=null;else if(q<y)k.c=[k.e=0];else{if(k.e=q,k.c=[],Z=(q+1)%lt,q<0&&(Z+=lt),Z<D){for(Z&&k.c.push(+H.slice(0,Z)),D-=lt;Z<D;)k.c.push(+H.slice(Z,Z+=lt));Z=lt-(H=H.slice(Z)).length}else Z-=D;for(;Z--;H+="0");k.c.push(+H)}}else k.c=[k.e=0]}x.clone=JA,x.ROUND_UP=0,x.ROUND_DOWN=1,x.ROUND_CEIL=2,x.ROUND_FLOOR=3,x.ROUND_HALF_UP=4,x.ROUND_HALF_DOWN=5,x.ROUND_HALF_EVEN=6,x.ROUND_HALF_CEIL=7,x.ROUND_HALF_FLOOR=8,x.EUCLID=9,x.config=x.set=function(E){var T,N;if(E!=null)if(typeof E=="object"){if(E.hasOwnProperty(T="DECIMAL_PLACES")&&(N=E[T],bn(N,0,ia,T),u=N),E.hasOwnProperty(T="ROUNDING_MODE")&&(N=E[T],bn(N,0,8,T),d=N),E.hasOwnProperty(T="EXPONENTIAL_AT")&&(N=E[T],N&&N.pop?(bn(N[0],-ia,0,T),bn(N[1],0,ia,T),f=N[0],m=N[1]):(bn(N,-ia,ia,T),f=-(m=N<0?-N:N))),E.hasOwnProperty(T="RANGE"))if(N=E[T],N&&N.pop)bn(N[0],-ia,-1,T),bn(N[1],1,ia,T),y=N[0],b=N[1];else if(bn(N,-ia,ia,T),N)y=-(b=N<0?-N:N);else throw Error(qa+T+" cannot be zero: "+N);if(E.hasOwnProperty(T="CRYPTO"))if(N=E[T],N===!!N)if(N)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))C=N;else throw C=!N,Error(qa+"crypto unavailable");else C=N;else throw Error(qa+T+" not true or false: "+N);if(E.hasOwnProperty(T="MODULO_MODE")&&(N=E[T],bn(N,0,9,T),A=N),E.hasOwnProperty(T="POW_PRECISION")&&(N=E[T],bn(N,0,ia,T),I=N),E.hasOwnProperty(T="FORMAT"))if(N=E[T],typeof N=="object")M=N;else throw Error(qa+T+" not an object: "+N);if(E.hasOwnProperty(T="ALPHABET"))if(N=E[T],typeof N=="string"&&!/^.?$|[+\-.\s]|(.).*\1/.test(N))R=N.slice(0,10)=="0123456789",O=N;else throw Error(qa+T+" invalid: "+N)}else throw Error(qa+"Object expected: "+E);return{DECIMAL_PLACES:u,ROUNDING_MODE:d,EXPONENTIAL_AT:[f,m],RANGE:[y,b],CRYPTO:C,MODULO_MODE:A,POW_PRECISION:I,FORMAT:M,ALPHABET:O}},x.isBigNumber=function(E){if(!E||E._isBigNumber!==!0)return!1;if(!x.DEBUG)return!0;var T,N,G=E.c,_=E.e,q=E.s;e:if({}.toString.call(G)=="[object Array]"){if((q===1||q===-1)&&_>=-ia&&_<=ia&&_===vr(_)){if(G[0]===0){if(_===0&&G.length===1)return!0;break e}if(T=(_+1)%lt,T<1&&(T+=lt),String(G[0]).length==T){for(T=0;T<G.length;T++)if(N=G[T],N<0||N>=Dr||N!==vr(N))break e;if(N!==0)return!0}}}else if(G===null&&_===null&&(q===null||q===1||q===-1))return!0;throw Error(qa+"Invalid BigNumber: "+E)},x.maximum=x.max=function(){return U(arguments,-1)},x.minimum=x.min=function(){return U(arguments,1)},x.random=(function(){var E=9007199254740992,T=Math.random()*E&2097151?function(){return vr(Math.random()*E)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(N){var G,_,q,Z,V,D=0,H=[],k=new x(o);if(N==null?N=u:bn(N,0,ia),Z=Bm(N/lt),C)if(crypto.getRandomValues){for(G=crypto.getRandomValues(new Uint32Array(Z*=2));D<Z;)V=G[D]*131072+(G[D+1]>>>11),V>=9e15?(_=crypto.getRandomValues(new Uint32Array(2)),G[D]=_[0],G[D+1]=_[1]):(H.push(V%1e14),D+=2);D=Z/2}else if(crypto.randomBytes){for(G=crypto.randomBytes(Z*=7);D<Z;)V=(G[D]&31)*281474976710656+G[D+1]*1099511627776+G[D+2]*4294967296+G[D+3]*16777216+(G[D+4]<<16)+(G[D+5]<<8)+G[D+6],V>=9e15?crypto.randomBytes(7).copy(G,D):(H.push(V%1e14),D+=7);D=Z/7}else throw C=!1,Error(qa+"crypto unavailable");if(!C)for(;D<Z;)V=T(),V<9e15&&(H[D++]=V%1e14);for(Z=H[--D],N%=lt,Z&&N&&(V=Vm[lt-N],H[D]=vr(Z/V)*V);H[D]===0;H.pop(),D--);if(D<0)H=[q=0];else{for(q=-1;H[0]===0;H.splice(0,1),q-=lt);for(D=1,V=H[0];V>=10;V/=10,D++);D<lt&&(q-=lt-D)}return k.e=q,k.c=H,k}})(),x.sum=function(){for(var E=1,T=arguments,N=new x(T[0]);E<T.length;)N=N.plus(T[E++]);return N},a=(function(){var E="0123456789";function T(N,G,_,q){for(var Z,V=[0],D,H=0,k=N.length;H<k;){for(D=V.length;D--;V[D]*=G);for(V[0]+=q.indexOf(N.charAt(H++)),Z=0;Z<V.length;Z++)V[Z]>_-1&&(V[Z+1]==null&&(V[Z+1]=0),V[Z+1]+=V[Z]/_|0,V[Z]%=_)}return V.reverse()}return function(N,G,_,q,Z){var V,D,H,k,W,se,B,K,le=N.indexOf("."),he=u,fe=d;for(le>=0&&(k=I,I=0,N=N.replace(".",""),K=new x(G),se=K.pow(N.length-le),I=k,K.c=T(Mi(pr(se.c),se.e,"0"),10,_,E),K.e=K.c.length),B=T(N,G,_,Z?(V=O,E):(V=E,O)),H=k=B.length;B[--k]==0;B.pop());if(!B[0])return V.charAt(0);if(le<0?--H:(se.c=B,se.e=H,se.s=q,se=e(se,K,he,fe,_),B=se.c,W=se.r,H=se.e),D=H+he+1,le=B[D],k=_/2,W=W||D<0||B[D+1]!=null,W=fe<4?(le!=null||W)&&(fe==0||fe==(se.s<0?3:2)):le>k||le==k&&(fe==4||W||fe==6&&B[D-1]&1||fe==(se.s<0?8:7)),D<1||!B[0])N=W?Mi(V.charAt(1),-he,V.charAt(0)):V.charAt(0);else{if(B.length=D,W)for(--_;++B[--D]>_;)B[D]=0,D||(++H,B=[1].concat(B));for(k=B.length;!B[--k];);for(le=0,N="";le<=k;N+=V.charAt(B[le++]));N=Mi(N,H,V.charAt(0))}return N}})(),e=(function(){function E(G,_,q){var Z,V,D,H,k=0,W=G.length,se=_%ps,B=_/ps|0;for(G=G.slice();W--;)D=G[W]%ps,H=G[W]/ps|0,Z=B*D+H*se,V=se*D+Z%ps*ps+k,k=(V/q|0)+(Z/ps|0)+B*H,G[W]=V%q;return k&&(G=[k].concat(G)),G}function T(G,_,q,Z){var V,D;if(q!=Z)D=q>Z?1:-1;else for(V=D=0;V<q;V++)if(G[V]!=_[V]){D=G[V]>_[V]?1:-1;break}return D}function N(G,_,q,Z){for(var V=0;q--;)G[q]-=V,V=G[q]<_[q]?1:0,G[q]=V*Z+G[q]-_[q];for(;!G[0]&&G.length>1;G.splice(0,1));}return function(G,_,q,Z,V){var D,H,k,W,se,B,K,le,he,fe,ye,we,Je,Ne,Wt,mt,Mt,At=G.s==_.s?1:-1,je=G.c,Ae=_.c;if(!je||!je[0]||!Ae||!Ae[0])return new x(!G.s||!_.s||(je?Ae&&je[0]==Ae[0]:!Ae)?NaN:je&&je[0]==0||!Ae?At*0:At/0);for(le=new x(At),he=le.c=[],H=G.e-_.e,At=q+H+1,V||(V=Dr,H=yr(G.e/lt)-yr(_.e/lt),At=At/lt|0),k=0;Ae[k]==(je[k]||0);k++);if(Ae[k]>(je[k]||0)&&H--,At<0)he.push(1),W=!0;else{for(Ne=je.length,mt=Ae.length,k=0,At+=2,se=vr(V/(Ae[0]+1)),se>1&&(Ae=E(Ae,se,V),je=E(je,se,V),mt=Ae.length,Ne=je.length),Je=mt,fe=je.slice(0,mt),ye=fe.length;ye<mt;fe[ye++]=0);Mt=Ae.slice(),Mt=[0].concat(Mt),Wt=Ae[0],Ae[1]>=V/2&&Wt++;do{if(se=0,D=T(Ae,fe,mt,ye),D<0){if(we=fe[0],mt!=ye&&(we=we*V+(fe[1]||0)),se=vr(we/Wt),se>1)for(se>=V&&(se=V-1),B=E(Ae,se,V),K=B.length,ye=fe.length;T(B,fe,K,ye)==1;)se--,N(B,mt<K?Mt:Ae,K,V),K=B.length,D=1;else se==0&&(D=se=1),B=Ae.slice(),K=B.length;if(K<ye&&(B=[0].concat(B)),N(fe,B,ye,V),ye=fe.length,D==-1)for(;T(Ae,fe,mt,ye)<1;)se++,N(fe,mt<ye?Mt:Ae,ye,V),ye=fe.length}else D===0&&(se++,fe=[0]);he[k++]=se,fe[0]?fe[ye++]=je[Je]||0:(fe=[je[Je]],ye=1)}while((Je++<Ne||fe[0]!=null)&&At--);W=fe[0]!=null,he[0]||he.splice(0,1)}if(V==Dr){for(k=1,At=he[0];At>=10;At/=10,k++);P(le,q+(le.e=k+H*lt-1)+1,Z,W)}else le.e=H,le.r=+W;return le}})();function j(E,T,N,G){var _,q,Z,V,D;if(N==null?N=d:bn(N,0,8),!E.c)return E.toString();if(_=E.c[0],Z=E.e,T==null)D=pr(E.c),D=G==1||G==2&&(Z<=f||Z>=m)?T1(D,Z):Mi(D,Z,"0");else if(E=P(new x(E),T,N),q=E.e,D=pr(E.c),V=D.length,G==1||G==2&&(T<=q||q<=f)){for(;V<T;D+="0",V++);D=T1(D,q)}else if(T-=Z+(G===2&&q>Z),D=Mi(D,q,"0"),q+1>V){if(--T>0)for(D+=".";T--;D+="0");}else if(T+=q-V,T>0)for(q+1==V&&(D+=".");T--;D+="0");return E.s<0&&_?"-"+D:D}function U(E,T){for(var N,G,_=1,q=new x(E[0]);_<E.length;_++)G=new x(E[_]),(!G.s||(N=Ys(q,G))===T||N===0&&q.s===T)&&(q=G);return q}function L(E,T,N){for(var G=1,_=T.length;!T[--_];T.pop());for(_=T[0];_>=10;_/=10,G++);return(N=G+N*lt-1)>b?E.c=E.e=null:N<y?E.c=[E.e=0]:(E.e=N,E.c=T),E}i=(function(){var E=/^(-?)0([xbo])(?=\w[\w.]*$)/i,T=/^([^.]+)\.$/,N=/^\.([^.]+)$/,G=/^-?(Infinity|NaN)$/,_=/^\s*\+(?=[\w.])|^\s+|\s+$/g;return function(q,Z,V,D){var H,k=V?Z:Z.replace(_,"");if(G.test(k))q.s=isNaN(k)?null:k<0?-1:1;else{if(!V&&(k=k.replace(E,function(W,se,B){return H=(B=B.toLowerCase())=="x"?16:B=="b"?2:8,!D||D==H?se:W}),D&&(H=D,k=k.replace(T,"$1").replace(N,"0.$1")),Z!=k))return new x(k,H);if(x.DEBUG)throw Error(qa+"Not a"+(D?" base "+D:"")+" number: "+Z);q.s=null}q.c=q.e=null}})();function P(E,T,N,G){var _,q,Z,V,D,H,k,W=E.c,se=Vm;if(W){e:{for(_=1,V=W[0];V>=10;V/=10,_++);if(q=T-_,q<0)q+=lt,Z=T,D=W[H=0],k=vr(D/se[_-Z-1]%10);else if(H=Bm((q+1)/lt),H>=W.length)if(G){for(;W.length<=H;W.push(0));D=k=0,_=1,q%=lt,Z=q-lt+1}else break e;else{for(D=V=W[H],_=1;V>=10;V/=10,_++);q%=lt,Z=q-lt+_,k=Z<0?0:vr(D/se[_-Z-1]%10)}if(G=G||T<0||W[H+1]!=null||(Z<0?D:D%se[_-Z-1]),G=N<4?(k||G)&&(N==0||N==(E.s<0?3:2)):k>5||k==5&&(N==4||G||N==6&&(q>0?Z>0?D/se[_-Z]:0:W[H-1])%10&1||N==(E.s<0?8:7)),T<1||!W[0])return W.length=0,G?(T-=E.e+1,W[0]=se[(lt-T%lt)%lt],E.e=-T||0):W[0]=E.e=0,E;if(q==0?(W.length=H,V=1,H--):(W.length=H+1,V=se[lt-q],W[H]=Z>0?vr(D/se[_-Z]%se[Z])*V:0),G)for(;;)if(H==0){for(q=1,Z=W[0];Z>=10;Z/=10,q++);for(Z=W[0]+=V,V=1;Z>=10;Z/=10,V++);q!=V&&(E.e++,W[0]==Dr&&(W[0]=1));break}else{if(W[H]+=V,W[H]!=Dr)break;W[H--]=0,V=1}for(q=W.length;W[--q]===0;W.pop());}E.e>b?E.c=E.e=null:E.e<y&&(E.c=[E.e=0])}return E}function F(E){var T,N=E.e;return N===null?E.toString():(T=pr(E.c),T=N<=f||N>=m?T1(T,N):Mi(T,N,"0"),E.s<0?"-"+T:T)}return s.absoluteValue=s.abs=function(){var E=new x(this);return E.s<0&&(E.s=1),E},s.comparedTo=function(E,T){return Ys(this,new x(E,T))},s.decimalPlaces=s.dp=function(E,T){var N,G,_,q=this;if(E!=null)return bn(E,0,ia),T==null?T=d:bn(T,0,8),P(new x(q),E+q.e+1,T);if(!(N=q.c))return null;if(G=((_=N.length-1)-yr(this.e/lt))*lt,_=N[_])for(;_%10==0;_/=10,G--);return G<0&&(G=0),G},s.dividedBy=s.div=function(E,T){return e(this,new x(E,T),u,d)},s.dividedToIntegerBy=s.idiv=function(E,T){return e(this,new x(E,T),0,1)},s.exponentiatedBy=s.pow=function(E,T){var N,G,_,q,Z,V,D,H,k,W=this;if(E=new x(E),E.c&&!E.isInteger())throw Error(qa+"Exponent not an integer: "+F(E));if(T!=null&&(T=new x(T)),V=E.e>14,!W.c||!W.c[0]||W.c[0]==1&&!W.e&&W.c.length==1||!E.c||!E.c[0])return k=new x(Math.pow(+F(W),V?E.s*(2-x1(E)):+F(E))),T?k.mod(T):k;if(D=E.s<0,T){if(T.c?!T.c[0]:!T.s)return new x(NaN);G=!D&&W.isInteger()&&T.isInteger(),G&&(W=W.mod(T))}else{if(E.e>9&&(W.e>0||W.e<-1||(W.e==0?W.c[0]>1||V&&W.c[1]>=24e7:W.c[0]<8e13||V&&W.c[0]<=9999975e7)))return q=W.s<0&&x1(E)?-0:0,W.e>-1&&(q=1/q),new x(D?1/q:q);I&&(q=Bm(I/lt+2))}for(V?(N=new x(.5),D&&(E.s=1),H=x1(E)):(_=Math.abs(+F(E)),H=_%2),k=new x(o);;){if(H){if(k=k.times(W),!k.c)break;q?k.c.length>q&&(k.c.length=q):G&&(k=k.mod(T))}if(_){if(_=vr(_/2),_===0)break;H=_%2}else if(E=E.times(N),P(E,E.e+1,1),E.e>14)H=x1(E);else{if(_=+F(E),_===0)break;H=_%2}W=W.times(W),q?W.c&&W.c.length>q&&(W.c.length=q):G&&(W=W.mod(T))}return G?k:(D&&(k=o.div(k)),T?k.mod(T):q?P(k,I,d,Z):k)},s.integerValue=function(E){var T=new x(this);return E==null?E=d:bn(E,0,8),P(T,T.e+1,E)},s.isEqualTo=s.eq=function(E,T){return Ys(this,new x(E,T))===0},s.isFinite=function(){return!!this.c},s.isGreaterThan=s.gt=function(E,T){return Ys(this,new x(E,T))>0},s.isGreaterThanOrEqualTo=s.gte=function(E,T){return(T=Ys(this,new x(E,T)))===1||T===0},s.isInteger=function(){return!!this.c&&yr(this.e/lt)>this.c.length-2},s.isLessThan=s.lt=function(E,T){return Ys(this,new x(E,T))<0},s.isLessThanOrEqualTo=s.lte=function(E,T){return(T=Ys(this,new x(E,T)))===-1||T===0},s.isNaN=function(){return!this.s},s.isNegative=function(){return this.s<0},s.isPositive=function(){return this.s>0},s.isZero=function(){return!!this.c&&this.c[0]==0},s.minus=function(E,T){var N,G,_,q,Z=this,V=Z.s;if(E=new x(E,T),T=E.s,!V||!T)return new x(NaN);if(V!=T)return E.s=-T,Z.plus(E);var D=Z.e/lt,H=E.e/lt,k=Z.c,W=E.c;if(!D||!H){if(!k||!W)return k?(E.s=-T,E):new x(W?Z:NaN);if(!k[0]||!W[0])return W[0]?(E.s=-T,E):new x(k[0]?Z:d==3?-0:0)}if(D=yr(D),H=yr(H),k=k.slice(),V=D-H){for((q=V<0)?(V=-V,_=k):(H=D,_=W),_.reverse(),T=V;T--;_.push(0));_.reverse()}else for(G=(q=(V=k.length)<(T=W.length))?V:T,V=T=0;T<G;T++)if(k[T]!=W[T]){q=k[T]<W[T];break}if(q&&(_=k,k=W,W=_,E.s=-E.s),T=(G=W.length)-(N=k.length),T>0)for(;T--;k[N++]=0);for(T=Dr-1;G>V;){if(k[--G]<W[G]){for(N=G;N&&!k[--N];k[N]=T);--k[N],k[G]+=Dr}k[G]-=W[G]}for(;k[0]==0;k.splice(0,1),--H);return k[0]?L(E,k,H):(E.s=d==3?-1:1,E.c=[E.e=0],E)},s.modulo=s.mod=function(E,T){var N,G,_=this;return E=new x(E,T),!_.c||!E.s||E.c&&!E.c[0]?new x(NaN):!E.c||_.c&&!_.c[0]?new x(_):(A==9?(G=E.s,E.s=1,N=e(_,E,0,3),E.s=G,N.s*=G):N=e(_,E,0,A),E=_.minus(N.times(E)),!E.c[0]&&A==1&&(E.s=_.s),E)},s.multipliedBy=s.times=function(E,T){var N,G,_,q,Z,V,D,H,k,W,se,B,K,le,he,fe=this,ye=fe.c,we=(E=new x(E,T)).c;if(!ye||!we||!ye[0]||!we[0])return!fe.s||!E.s||ye&&!ye[0]&&!we||we&&!we[0]&&!ye?E.c=E.e=E.s=null:(E.s*=fe.s,!ye||!we?E.c=E.e=null:(E.c=[0],E.e=0)),E;for(G=yr(fe.e/lt)+yr(E.e/lt),E.s*=fe.s,D=ye.length,W=we.length,D<W&&(K=ye,ye=we,we=K,_=D,D=W,W=_),_=D+W,K=[];_--;K.push(0));for(le=Dr,he=ps,_=W;--_>=0;){for(N=0,se=we[_]%he,B=we[_]/he|0,Z=D,q=_+Z;q>_;)H=ye[--Z]%he,k=ye[Z]/he|0,V=B*H+k*se,H=se*H+V%he*he+K[q]+N,N=(H/le|0)+(V/he|0)+B*k,K[q--]=H%le;K[q]=N}return N?++G:K.splice(0,1),L(E,K,G)},s.negated=function(){var E=new x(this);return E.s=-E.s||null,E},s.plus=function(E,T){var N,G=this,_=G.s;if(E=new x(E,T),T=E.s,!_||!T)return new x(NaN);if(_!=T)return E.s=-T,G.minus(E);var q=G.e/lt,Z=E.e/lt,V=G.c,D=E.c;if(!q||!Z){if(!V||!D)return new x(_/0);if(!V[0]||!D[0])return D[0]?E:new x(V[0]?G:_*0)}if(q=yr(q),Z=yr(Z),V=V.slice(),_=q-Z){for(_>0?(Z=q,N=D):(_=-_,N=V),N.reverse();_--;N.push(0));N.reverse()}for(_=V.length,T=D.length,_-T<0&&(N=D,D=V,V=N,T=_),_=0;T;)_=(V[--T]=V[T]+D[T]+_)/Dr|0,V[T]=Dr===V[T]?0:V[T]%Dr;return _&&(V=[_].concat(V),++Z),L(E,V,Z)},s.precision=s.sd=function(E,T){var N,G,_,q=this;if(E!=null&&E!==!!E)return bn(E,1,ia),T==null?T=d:bn(T,0,8),P(new x(q),E,T);if(!(N=q.c))return null;if(_=N.length-1,G=_*lt+1,_=N[_]){for(;_%10==0;_/=10,G--);for(_=N[0];_>=10;_/=10,G++);}return E&&q.e+1>G&&(G=q.e+1),G},s.shiftedBy=function(E){return bn(E,-Fm,Fm),this.times("1e"+E)},s.squareRoot=s.sqrt=function(){var E,T,N,G,_,q=this,Z=q.c,V=q.s,D=q.e,H=u+4,k=new x("0.5");if(V!==1||!Z||!Z[0])return new x(!V||V<0&&(!Z||Z[0])?NaN:Z?q:1/0);if(V=Math.sqrt(+F(q)),V==0||V==1/0?(T=pr(Z),(T.length+D)%2==0&&(T+="0"),V=Math.sqrt(+T),D=yr((D+1)/2)-(D<0||D%2),V==1/0?T="5e"+D:(T=V.toExponential(),T=T.slice(0,T.indexOf("e")+1)+D),N=new x(T)):N=new x(V+""),N.c[0]){for(D=N.e,V=D+H,V<3&&(V=0);;)if(_=N,N=k.times(_.plus(e(q,_,H,1))),pr(_.c).slice(0,V)===(T=pr(N.c)).slice(0,V))if(N.e<D&&--V,T=T.slice(V-3,V+1),T=="9999"||!G&&T=="4999"){if(!G&&(P(_,_.e+u+2,0),_.times(_).eq(q))){N=_;break}H+=4,V+=4,G=1}else{(!+T||!+T.slice(1)&&T.charAt(0)=="5")&&(P(N,N.e+u+2,1),E=!N.times(N).eq(q));break}}return P(N,N.e+u+1,d,E)},s.toExponential=function(E,T){return E!=null&&(bn(E,0,ia),E++),j(this,E,T,1)},s.toFixed=function(E,T){return E!=null&&(bn(E,0,ia),E=E+this.e+1),j(this,E,T)},s.toFormat=function(E,T,N){var G,_=this;if(N==null)E!=null&&T&&typeof T=="object"?(N=T,T=null):E&&typeof E=="object"?(N=E,E=T=null):N=M;else if(typeof N!="object")throw Error(qa+"Argument not an object: "+N);if(G=_.toFixed(E,T),_.c){var q,Z=G.split("."),V=+N.groupSize,D=+N.secondaryGroupSize,H=N.groupSeparator||"",k=Z[0],W=Z[1],se=_.s<0,B=se?k.slice(1):k,K=B.length;if(D&&(q=V,V=D,D=q,K-=q),V>0&&K>0){for(q=K%V||V,k=B.substr(0,q);q<K;q+=V)k+=H+B.substr(q,V);D>0&&(k+=H+B.slice(q)),se&&(k="-"+k)}G=W?k+(N.decimalSeparator||"")+((D=+N.fractionGroupSize)?W.replace(new RegExp("\\d{"+D+"}\\B","g"),"$&"+(N.fractionGroupSeparator||"")):W):k}return(N.prefix||"")+G+(N.suffix||"")},s.toFraction=function(E){var T,N,G,_,q,Z,V,D,H,k,W,se,B=this,K=B.c;if(E!=null&&(V=new x(E),!V.isInteger()&&(V.c||V.s!==1)||V.lt(o)))throw Error(qa+"Argument "+(V.isInteger()?"out of range: ":"not an integer: ")+F(V));if(!K)return new x(B);for(T=new x(o),H=N=new x(o),G=D=new x(o),se=pr(K),q=T.e=se.length-B.e-1,T.c[0]=Vm[(Z=q%lt)<0?lt+Z:Z],E=!E||V.comparedTo(T)>0?q>0?T:H:V,Z=b,b=1/0,V=new x(se),D.c[0]=0;k=e(V,T,0,1),_=N.plus(k.times(G)),_.comparedTo(E)!=1;)N=G,G=_,H=D.plus(k.times(_=H)),D=_,T=V.minus(k.times(_=T)),V=_;return _=e(E.minus(N),G,0,1),D=D.plus(_.times(H)),N=N.plus(_.times(G)),D.s=H.s=B.s,q=q*2,W=e(H,G,q,d).minus(B).abs().comparedTo(e(D,N,q,d).minus(B).abs())<1?[H,G]:[D,N],b=Z,W},s.toNumber=function(){return+F(this)},s.toPrecision=function(E,T){return E!=null&&bn(E,1,ia),j(this,E,T,2)},s.toString=function(E){var T,N=this,G=N.s,_=N.e;return _===null?G?(T="Infinity",G<0&&(T="-"+T)):T="NaN":(E==null?T=_<=f||_>=m?T1(pr(N.c),_):Mi(pr(N.c),_,"0"):E===10&&R?(N=P(new x(N),u+_+1,d),T=Mi(pr(N.c),N.e,"0")):(bn(E,2,O.length,"Base"),T=a(Mi(pr(N.c),_,"0"),10,E,G,!0)),G<0&&N.c[0]&&(T="-"+T)),T},s.valueOf=s.toJSON=function(){return F(this)},s._isBigNumber=!0,s[Symbol.toStringTag]="BigNumber",s[Symbol.for("nodejs.util.inspect.custom")]=s.valueOf,t!=null&&x.set(t),x}function yr(t){var e=t|0;return t>0||t===e?e:e-1}function pr(t){for(var e,a,i=1,s=t.length,o=t[0]+"";i<s;){for(e=t[i++]+"",a=lt-e.length;a--;e="0"+e);o+=e}for(s=o.length;o.charCodeAt(--s)===48;);return o.slice(0,s+1||1)}function Ys(t,e){var a,i,s=t.c,o=e.c,u=t.s,d=e.s,f=t.e,m=e.e;if(!u||!d)return null;if(a=s&&!s[0],i=o&&!o[0],a||i)return a?i?0:-d:u;if(u!=d)return u;if(a=u<0,i=f==m,!s||!o)return i?0:!s^a?1:-1;if(!i)return f>m^a?1:-1;for(d=(f=s.length)<(m=o.length)?f:m,u=0;u<d;u++)if(s[u]!=o[u])return s[u]>o[u]^a?1:-1;return f==m?0:f>m^a?1:-1}function bn(t,e,a,i){if(t<e||t>a||t!==vr(t))throw Error(qa+(i||"Argument")+(typeof t=="number"?t<e||t>a?" out of range: ":" not an integer: ":" not a primitive number: ")+String(t))}function x1(t){var e=t.c.length-1;return yr(t.e/lt)==e&&t.c[e]%2!=0}function T1(t,e){return(t.length>1?t.charAt(0)+"."+t.slice(1):t)+(e<0?"e":"e+")+e}function Mi(t,e,a){var i,s;if(e<0){for(s=a+".";++e;s+=a);t=s+t}else if(i=t.length,++e>i){for(s=a,e-=i;--e;s+=a);t+=s}else e<i&&(t=t.slice(0,e)+"."+t.slice(e));return t}var On=JA(),cf;(function(t){t[t.up=On.ROUND_UP]="up",t[t.down=On.ROUND_DOWN]="down",t[t.truncate=On.ROUND_DOWN]="truncate",t[t.halfUp=On.ROUND_HALF_UP]="halfUp",t[t.default=On.ROUND_HALF_UP]="default",t[t.halfDown=On.ROUND_HALF_DOWN]="halfDown",t[t.halfEven=On.ROUND_HALF_EVEN]="halfEven",t[t.banker=On.ROUND_HALF_EVEN]="banker",t[t.ceiling=On.ROUND_CEIL]="ceiling",t[t.ceil=On.ROUND_CEIL]="ceil",t[t.floor=On.ROUND_FLOOR]="floor"})(cf||(cf={}));function KA(t){var e;return(e=cf[t])!==null&&e!==void 0?e:cf.default}var Gm,ob;function _D(){if(ob)return Gm;ob=1;var t=9007199254740991,e=Math.floor;function a(i,s){var o="";if(!i||s<1||s>t)return o;do s%2&&(o+=i),s=e(s/2),s&&(i+=i);while(s);return o}return Gm=a,Gm}var Zm,cb;function zD(){if(cb)return Zm;cb=1;var t=/\s/;function e(a){for(var i=a.length;i--&&t.test(a.charAt(i)););return i}return Zm=e,Zm}var Ym,ub;function qD(){if(ub)return Ym;ub=1;var t=zD(),e=/^\s+/;function a(i){return i&&i.slice(0,t(i)+1).replace(e,"")}return Ym=a,Ym}var Wm,fb;function UD(){if(fb)return Wm;fb=1;var t=qD(),e=Ui(),a=cu(),i=NaN,s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,u=/^0o[0-7]+$/i,d=parseInt;function f(m){if(typeof m=="number")return m;if(a(m))return i;if(e(m)){var y=typeof m.valueOf=="function"?m.valueOf():m;m=e(y)?y+"":y}if(typeof m!="string")return m===0?m:+m;m=t(m);var b=o.test(m);return b||u.test(m)?d(m.slice(2),b?2:8):s.test(m)?i:+m}return Wm=f,Wm}var Qm,db;function XA(){if(db)return Qm;db=1;var t=UD(),e=1/0,a=17976931348623157e292;function i(s){if(!s)return s===0?s:0;if(s=t(s),s===e||s===-e){var o=s<0?-1:1;return o*a}return s===s?s:0}return Qm=i,Qm}var Jm,hb;function PD(){if(hb)return Jm;hb=1;var t=XA();function e(a){var i=t(a),s=i%1;return i===i?s?i-s:i:0}return Jm=e,Jm}var Km,mb;function HD(){if(mb)return Km;mb=1;var t=_D(),e=Uf(),a=PD(),i=Mo();function s(o,u,d){return(d?e(o,u,d):u===void 0)?u=1:u=a(u),t(i(o),u)}return Km=s,Km}var BD=HD();const FD=Ar(BD);function VD(t){return t.isZero()?1:Math.floor(Math.log10(t.abs().toNumber())+1)}function GD(t,{precision:e,significant:a}){return a&&e!==null&&e>0?e-VD(t):e}function uf(t,e){const a=GD(t,e);if(a===null)return t.toString();const i=KA(e.roundMode);if(a>=0)return t.toFixed(a,i);const s=Math.pow(10,Math.abs(a));return t=new On(t.div(s).toFixed(0,i)).times(s),t.toString()}function ZD(t,{formattedNumber:e,unit:a}){return t.replace("%n",e).replace("%u",a)}function YD({significand:t,whole:e,precision:a}){if(e==="0"||a===null)return t;const i=Math.max(0,a-e.length);return(t??"").substr(0,i)}function Oc(t,e){var a,i,s;const o=new On(t);if(e.raise&&!o.isFinite())throw new Error(`"${t}" is not a valid numeric value`);const u=uf(o,e),d=new On(u),f=d.lt(0),m=d.isZero();let[y,b]=u.split(".");const C=[];let A;const I=(a=e.format)!==null&&a!==void 0?a:"%n",M=(i=e.negativeFormat)!==null&&i!==void 0?i:`-${I}`,O=f&&!m?M:I;for(y=y.replace("-","");y.length>0;)C.unshift(y.substr(Math.max(0,y.length-3),3)),y=y.substr(0,y.length-3);return y=C.join(""),A=C.join(e.delimiter),e.significant?b=YD({whole:y,significand:b,precision:e.precision}):b=b??FD("0",(s=e.precision)!==null&&s!==void 0?s:0),e.stripInsignificantZeros&&b&&(b=b.replace(/0+$/,"")),o.isNaN()&&(A=t.toString()),b&&o.isFinite()&&(A+=(e.separator||".")+b),ZD(O,{formattedNumber:A,unit:e.unit})}function Eo(t,e,a){let i="";return(e instanceof String||typeof e=="string")&&(i=e),e instanceof Array&&(i=e.join(t.defaultSeparator)),a.scope&&(i=[a.scope,i].join(t.defaultSeparator)),i}function el(t){var e,a;if(t===null)return"null";const i=typeof t;return i!=="object"?i:((a=(e=t?.constructor)===null||e===void 0?void 0:e.name)===null||a===void 0?void 0:a.toLowerCase())||"object"}function Xm(t,e,a){a=Object.keys(a).reduce((s,o)=>(s[t.transformKey(o)]=a[o],s),{});const i=e.match(t.placeholder);if(!i)return e;for(;i.length;){let s;const o=i.shift(),u=o.replace(t.placeholder,"$1");Li(a[u])?s=a[u].toString().replace(/\$/gm,"_#$#_"):u in a?s=t.nullPlaceholder(t,o,e,a):s=t.missingPlaceholder(t,o,e,a);const d=new RegExp(o.replace(/\{/gm,"\\{").replace(/\}/gm,"\\}"),"g");e=e.replace(d,s)}return e.replace(/_#\$#_/g,"$")}function $r(t,e,a={}){a=Object.assign({},a);const i="locale"in a?a.locale:t.locale,s=el(i),o=t.locales.get(s==="string"?i:typeof i).slice(),u=Eo(t,e,a).split(t.defaultSeparator).map(f=>t.transformKey(f)),d=o.map(f=>u.reduce((m,y)=>m&&m[y],t.translations[f]));return d.push(a.defaultValue),d.find(f=>Li(f))}function WD(t,e){const a=new On(t);if(!a.isFinite())return t.toString();if(!e.delimiterPattern.global)throw new Error(`options.delimiterPattern must be a global regular expression; received ${e.delimiterPattern}`);let[i,s]=a.toString().split(".");return i=i.replace(e.delimiterPattern,o=>`${o}${e.delimiter}`),[i,s].filter(Boolean).join(e.separator)}var $m,pb;function $A(){if(pb)return $m;pb=1;function t(e,a){for(var i=-1,s=a.length,o=e.length;++i<s;)e[o+i]=a[i];return e}return $m=t,$m}var e3,gb;function QD(){if(gb)return e3;gb=1;var t=ou(),e=zf(),a=Gr(),i=t?t.isConcatSpreadable:void 0;function s(o){return a(o)||e(o)||!!(i&&o&&o[i])}return e3=s,e3}var t3,vb;function JD(){if(vb)return t3;vb=1;var t=$A(),e=QD();function a(i,s,o,u,d){var f=-1,m=i.length;for(o||(o=e),d||(d=[]);++f<m;){var y=i[f];s>0&&o(y)?s>1?a(y,s-1,o,u,d):t(d,y):u||(d[d.length]=y)}return d}return t3=a,t3}var n3,yb;function KD(){if(yb)return n3;yb=1;function t(e,a){for(var i=-1,s=e==null?0:e.length;++i<s;)if(a(e[i],i,e))return!0;return!1}return n3=t,n3}var a3,bb;function eC(){if(bb)return a3;bb=1;var t=ZA(),e=KD(),a=YA(),i=1,s=2;function o(u,d,f,m,y,b){var C=f&i,A=u.length,I=d.length;if(A!=I&&!(C&&I>A))return!1;var M=b.get(u),O=b.get(d);if(M&&O)return M==d&&O==u;var R=-1,x=!0,j=f&s?new t:void 0;for(b.set(u,d),b.set(d,u);++R<A;){var U=u[R],L=d[R];if(m)var P=C?m(L,U,R,d,u,b):m(U,L,R,u,d,b);if(P!==void 0){if(P)continue;x=!1;break}if(j){if(!e(d,function(F,E){if(!a(j,E)&&(U===F||y(U,F,f,m,b)))return j.push(E)})){x=!1;break}}else if(!(U===L||y(U,L,f,m,b))){x=!1;break}}return b.delete(u),b.delete(d),x}return a3=o,a3}var r3,Sb;function XD(){if(Sb)return r3;Sb=1;function t(e){var a=-1,i=Array(e.size);return e.forEach(function(s,o){i[++a]=[o,s]}),i}return r3=t,r3}var i3,Eb;function $D(){if(Eb)return i3;Eb=1;var t=ou(),e=zA(),a=uu(),i=eC(),s=XD(),o=a5(),u=1,d=2,f="[object Boolean]",m="[object Date]",y="[object Error]",b="[object Map]",C="[object Number]",A="[object RegExp]",I="[object Set]",M="[object String]",O="[object Symbol]",R="[object ArrayBuffer]",x="[object DataView]",j=t?t.prototype:void 0,U=j?j.valueOf:void 0;function L(P,F,E,T,N,G,_){switch(E){case x:if(P.byteLength!=F.byteLength||P.byteOffset!=F.byteOffset)return!1;P=P.buffer,F=F.buffer;case R:return!(P.byteLength!=F.byteLength||!G(new e(P),new e(F)));case f:case m:case C:return a(+P,+F);case y:return P.name==F.name&&P.message==F.message;case A:case M:return P==F+"";case b:var q=s;case I:var Z=T&u;if(q||(q=o),P.size!=F.size&&!Z)return!1;var V=_.get(P);if(V)return V==F;T|=d,_.set(P,F);var D=i(q(P),q(F),T,N,G,_);return _.delete(P),D;case O:if(U)return U.call(P)==U.call(F)}return!1}return i3=L,i3}var s3,Ab;function ej(){if(Ab)return s3;Ab=1;var t=$A(),e=Gr();function a(i,s,o){var u=s(i);return e(i)?u:t(u,o(i))}return s3=a,s3}var l3,Cb;function tj(){if(Cb)return l3;Cb=1;function t(e,a){for(var i=-1,s=e==null?0:e.length,o=0,u=[];++i<s;){var d=e[i];a(d,i,e)&&(u[o++]=d)}return u}return l3=t,l3}var o3,wb;function nj(){if(wb)return o3;wb=1;function t(){return[]}return o3=t,o3}var c3,xb;function aj(){if(xb)return c3;xb=1;var t=tj(),e=nj(),a=Object.prototype,i=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,o=s?function(u){return u==null?[]:(u=Object(u),t(s(u),function(d){return i.call(u,d)}))}:e;return c3=o,c3}var u3,Tb;function rj(){if(Tb)return u3;Tb=1;var t=qA(),e=t(Object.keys,Object);return u3=e,u3}var f3,Ob;function ij(){if(Ob)return f3;Ob=1;var t=e5(),e=rj(),a=Object.prototype,i=a.hasOwnProperty;function s(o){if(!t(o))return e(o);var u=[];for(var d in Object(o))i.call(o,d)&&d!="constructor"&&u.push(d);return u}return f3=s,f3}var d3,Rb;function r5(){if(Rb)return d3;Rb=1;var t=FA(),e=ij(),a=No();function i(s){return a(s)?t(s):e(s)}return d3=i,d3}var h3,Ib;function sj(){if(Ib)return h3;Ib=1;var t=ej(),e=aj(),a=r5();function i(s){return t(s,a,e)}return h3=i,h3}var m3,Mb;function lj(){if(Mb)return m3;Mb=1;var t=sj(),e=1,a=Object.prototype,i=a.hasOwnProperty;function s(o,u,d,f,m,y){var b=d&e,C=t(o),A=C.length,I=t(u),M=I.length;if(A!=M&&!b)return!1;for(var O=A;O--;){var R=C[O];if(!(b?R in u:i.call(u,R)))return!1}var x=y.get(o),j=y.get(u);if(x&&j)return x==u&&j==o;var U=!0;y.set(o,u),y.set(u,o);for(var L=b;++O<A;){R=C[O];var P=o[R],F=u[R];if(f)var E=b?f(F,P,R,u,o,y):f(P,F,R,o,u,y);if(!(E===void 0?P===F||m(P,F,d,f,y):E)){U=!1;break}L||(L=R=="constructor")}if(U&&!L){var T=o.constructor,N=u.constructor;T!=N&&"constructor"in o&&"constructor"in u&&!(typeof T=="function"&&T instanceof T&&typeof N=="function"&&N instanceof N)&&(U=!1)}return y.delete(o),y.delete(u),U}return m3=s,m3}var p3,Nb;function oj(){if(Nb)return p3;Nb=1;var t=pl(),e=fi(),a=t(e,"DataView");return p3=a,p3}var g3,Db;function cj(){if(Db)return g3;Db=1;var t=pl(),e=fi(),a=t(e,"Promise");return g3=a,g3}var v3,jb;function uj(){if(jb)return v3;jb=1;var t=pl(),e=fi(),a=t(e,"WeakMap");return v3=a,v3}var y3,Lb;function fj(){if(Lb)return y3;Lb=1;var t=oj(),e=Y6(),a=cj(),i=WA(),s=uj(),o=Io(),u=IA(),d="[object Map]",f="[object Object]",m="[object Promise]",y="[object Set]",b="[object WeakMap]",C="[object DataView]",A=u(t),I=u(e),M=u(a),O=u(i),R=u(s),x=o;return(t&&x(new t(new ArrayBuffer(1)))!=C||e&&x(new e)!=d||a&&x(a.resolve())!=m||i&&x(new i)!=y||s&&x(new s)!=b)&&(x=function(j){var U=o(j),L=U==f?j.constructor:void 0,P=L?u(L):"";if(P)switch(P){case A:return C;case I:return d;case M:return m;case O:return y;case R:return b}return U}),y3=x,y3}var b3,kb;function dj(){if(kb)return b3;kb=1;var t=X6(),e=eC(),a=$D(),i=lj(),s=fj(),o=Gr(),u=t5(),d=n5(),f=1,m="[object Arguments]",y="[object Array]",b="[object Object]",C=Object.prototype,A=C.hasOwnProperty;function I(M,O,R,x,j,U){var L=o(M),P=o(O),F=L?y:s(M),E=P?y:s(O);F=F==m?b:F,E=E==m?b:E;var T=F==b,N=E==b,G=F==E;if(G&&u(M)){if(!u(O))return!1;L=!0,T=!1}if(G&&!T)return U||(U=new t),L||d(M)?e(M,O,R,x,j,U):a(M,O,F,R,x,j,U);if(!(R&f)){var _=T&&A.call(M,"__wrapped__"),q=N&&A.call(O,"__wrapped__");if(_||q){var Z=_?M.value():M,V=q?O.value():O;return U||(U=new t),j(Z,V,R,x,U)}}return G?(U||(U=new t),i(M,O,R,x,j,U)):!1}return b3=I,b3}var S3,_b;function tC(){if(_b)return S3;_b=1;var t=dj(),e=ml();function a(i,s,o,u,d){return i===s?!0:i==null||s==null||!e(i)&&!e(s)?i!==i&&s!==s:t(i,s,o,u,a,d)}return S3=a,S3}var E3,zb;function hj(){if(zb)return E3;zb=1;var t=X6(),e=tC(),a=1,i=2;function s(o,u,d,f){var m=d.length,y=m,b=!f;if(o==null)return!y;for(o=Object(o);m--;){var C=d[m];if(b&&C[2]?C[1]!==o[C[0]]:!(C[0]in o))return!1}for(;++m<y;){C=d[m];var A=C[0],I=o[A],M=C[1];if(b&&C[2]){if(I===void 0&&!(A in o))return!1}else{var O=new t;if(f)var R=f(I,M,A,o,u,O);if(!(R===void 0?e(M,I,a|i,f,O):R))return!1}}return!0}return E3=s,E3}var A3,qb;function nC(){if(qb)return A3;qb=1;var t=Ui();function e(a){return a===a&&!t(a)}return A3=e,A3}var C3,Ub;function mj(){if(Ub)return C3;Ub=1;var t=nC(),e=r5();function a(i){for(var s=e(i),o=s.length;o--;){var u=s[o],d=i[u];s[o]=[u,d,t(d)]}return s}return C3=a,C3}var w3,Pb;function aC(){if(Pb)return w3;Pb=1;function t(e,a){return function(i){return i==null?!1:i[e]===a&&(a!==void 0||e in Object(i))}}return w3=t,w3}var x3,Hb;function pj(){if(Hb)return x3;Hb=1;var t=hj(),e=mj(),a=aC();function i(s){var o=e(s);return o.length==1&&o[0][2]?a(o[0][0],o[0][1]):function(u){return u===s||t(u,s,o)}}return x3=i,x3}var T3,Bb;function gj(){if(Bb)return T3;Bb=1;function t(e,a){return e!=null&&a in Object(e)}return T3=t,T3}var O3,Fb;function vj(){if(Fb)return O3;Fb=1;var t=gj(),e=jA();function a(i,s){return i!=null&&e(i,s,t)}return O3=a,O3}var R3,Vb;function yj(){if(Vb)return R3;Vb=1;var t=tC(),e=DA(),a=vj(),i=G6(),s=nC(),o=aC(),u=_f(),d=1,f=2;function m(y,b){return i(y)&&s(b)?o(u(y),b):function(C){var A=e(C,y);return A===void 0&&A===b?a(C,y):t(b,A,d|f)}}return R3=m,R3}var I3,Gb;function bj(){if(Gb)return I3;Gb=1;function t(e){return function(a){return a?.[e]}}return I3=t,I3}var M3,Zb;function Sj(){if(Zb)return M3;Zb=1;var t=Q6();function e(a){return function(i){return t(i,a)}}return M3=e,M3}var N3,Yb;function Ej(){if(Yb)return N3;Yb=1;var t=bj(),e=Sj(),a=G6(),i=_f();function s(o){return a(o)?t(i(o)):e(o)}return N3=s,N3}var D3,Wb;function Aj(){if(Wb)return D3;Wb=1;var t=pj(),e=yj(),a=qf(),i=Gr(),s=Ej();function o(u){return typeof u=="function"?u:u==null?a:typeof u=="object"?i(u)?e(u[0],u[1]):t(u):s(u)}return D3=o,D3}var j3,Qb;function Cj(){if(Qb)return j3;Qb=1;var t=_A(),e=r5();function a(i,s){return i&&t(i,s,e)}return j3=a,j3}var L3,Jb;function wj(){if(Jb)return L3;Jb=1;var t=No();function e(a,i){return function(s,o){if(s==null)return s;if(!t(s))return a(s,o);for(var u=s.length,d=i?u:-1,f=Object(s);(i?d--:++d<u)&&o(f[d],d,f)!==!1;);return s}}return L3=e,L3}var k3,Kb;function xj(){if(Kb)return k3;Kb=1;var t=Cj(),e=wj(),a=e(t);return k3=a,k3}var _3,Xb;function Tj(){if(Xb)return _3;Xb=1;var t=xj(),e=No();function a(i,s){var o=-1,u=e(i)?Array(i.length):[];return t(i,function(d,f,m){u[++o]=s(d,f,m)}),u}return _3=a,_3}var z3,$b;function Oj(){if($b)return z3;$b=1;function t(e,a){var i=e.length;for(e.sort(a);i--;)e[i]=e[i].value;return e}return z3=t,z3}var q3,eS;function Rj(){if(eS)return q3;eS=1;var t=cu();function e(a,i){if(a!==i){var s=a!==void 0,o=a===null,u=a===a,d=t(a),f=i!==void 0,m=i===null,y=i===i,b=t(i);if(!m&&!b&&!d&&a>i||d&&f&&y&&!m&&!b||o&&f&&y||!s&&y||!u)return 1;if(!o&&!d&&!b&&a<i||b&&s&&u&&!o&&!d||m&&s&&u||!f&&u||!y)return-1}return 0}return q3=e,q3}var U3,tS;function Ij(){if(tS)return U3;tS=1;var t=Rj();function e(a,i,s){for(var o=-1,u=a.criteria,d=i.criteria,f=u.length,m=s.length;++o<f;){var y=t(u[o],d[o]);if(y){if(o>=m)return y;var b=s[o];return y*(b=="desc"?-1:1)}}return a.index-i.index}return U3=e,U3}var P3,nS;function Mj(){if(nS)return P3;nS=1;var t=MA(),e=Q6(),a=Aj(),i=Tj(),s=Oj(),o=PA(),u=Ij(),d=qf(),f=Gr();function m(y,b,C){b.length?b=t(b,function(M){return f(M)?function(O){return e(O,M.length===1?M[0]:M)}:M}):b=[d];var A=-1;b=t(b,o(a));var I=i(y,function(M,O,R){var x=t(b,function(j){return j(M)});return{criteria:x,index:++A,value:M}});return s(I,function(M,O){return u(M,O,C)})}return P3=m,P3}var H3,aS;function Nj(){if(aS)return H3;aS=1;var t=JD(),e=Mj(),a=GA(),i=Uf(),s=a(function(o,u){if(o==null)return[];var d=u.length;return d>1&&i(o,u[0],u[1])?u=[]:d>2&&i(u[0],u[1],u[2])&&(u=[u[0]]),e(o,t(u,1),[])});return H3=s,H3}var Dj=Nj();const jj=Ar(Dj);var B3,rS;function Lj(){if(rS)return B3;rS=1;function t(e,a,i){for(var s=-1,o=e.length,u=a.length,d={};++s<o;){var f=s<u?a[s]:void 0;i(d,e[s],f)}return d}return B3=t,B3}var F3,iS;function kj(){if(iS)return F3;iS=1;var t=BA(),e=Lj();function a(i,s){return e(i||[],s||[],t)}return F3=a,F3}var _j=kj();const zj=Ar(_j),t6={0:"unit",1:"ten",2:"hundred",3:"thousand",6:"million",9:"billion",12:"trillion",15:"quadrillion","-1":"deci","-2":"centi","-3":"mili","-6":"micro","-9":"nano","-12":"pico","-15":"femto"},qj=zj(Object.values(t6),Object.keys(t6).map(t=>parseInt(t,10)));function Uj(t,e,a){const i={roundMode:a.roundMode,precision:a.precision,significant:a.significant};let s;if(el(a.units)==="string"){const b=a.units;if(s=$r(t,b),!s)throw new Error(`The scope "${t.locale}${t.defaultSeparator}${Eo(t,b,{})}" couldn't be found`)}else s=a.units;let o=uf(new On(e),i);const u=b=>jj(Object.keys(b).map(C=>qj[C]),C=>C*-1),d=(b,C)=>{const A=b.isZero()?0:Math.floor(Math.log10(b.abs().toNumber()));return u(C).find(I=>A>=I)||0},f=(b,C)=>{const A=t6[C.toString()];return b[A]||""},m=d(new On(o),s),y=f(s,m);if(o=uf(new On(o).div(Math.pow(10,m)),i),a.stripInsignificantZeros){let[b,C]=o.split(".");C=(C||"").replace(/0+$/,""),o=b,C&&(o+=`${a.separator}${C}`)}return a.format.replace("%n",o||"0").replace("%u",y).trim()}const sS=["byte","kb","mb","gb","tb","pb","eb"];function Pj(t,e,a){const i=KA(a.roundMode),s=1024,o=new On(e).abs(),u=o.lt(s);let d;const f=(I,M)=>{const O=M.length-1,R=new On(Math.log(I.toNumber())).div(Math.log(s)).integerValue(On.ROUND_DOWN).toNumber();return Math.min(O,R)},m=I=>`number.human.storage_units.units.${u?"byte":I[y]}`,y=f(o,sS);u?d=o.integerValue():d=new On(uf(o.div(Math.pow(s,y)),{significant:a.significant,precision:a.precision,roundMode:a.roundMode}));const b=t.translate("number.human.storage_units.format",{defaultValue:"%n %u"}),C=t.translate(m(sS),{count:o.integerValue().toNumber()});let A=d.toFixed(a.precision,i);return a.stripInsignificantZeros&&(A=A.replace(/(\..*?)0+$/,"$1").replace(/\.$/,"")),b.replace("%n",A).replace("%u",C)}function n6(t){if(t instanceof Date)return t;if(typeof t=="number"){const i=new Date;return i.setTime(t),i}const e=new String(t).match(/(\d{4})-(\d{2})-(\d{2})(?:[ T](\d{2}):(\d{2}):(\d{2})(?:[.,](\d{1,3}))?)?(Z|\+00:?00)?/);if(e){const i=e.slice(1,8).map(C=>parseInt(C,10)||0);i[1]-=1;const[s,o,u,d,f,m,y]=i;return e[8]?new Date(Date.UTC(s,o,u,d,f,m,y)):new Date(s,o,u,d,f,m,y)}t.match(/([A-Z][a-z]{2}) ([A-Z][a-z]{2}) (\d+) (\d+:\d+:\d+) ([+-]\d+) (\d+)/)&&new Date().setTime(Date.parse([RegExp.$1,RegExp.$2,RegExp.$3,RegExp.$6,RegExp.$4,RegExp.$5].join(" ")));const a=new Date;return a.setTime(Date.parse(t)),a}function lS({i18n:t,count:e,scope:a,options:i,baseScope:s}){i=Object.assign({},i);let o,u;if(typeof a=="object"&&a?o=a:o=$r(t,a,i),!o)return t.missingTranslation.get(a,i);const f=t.pluralization.get(i.locale)(t,e),m=[];for(;f.length;){const y=f.shift();if(Li(o[y])){u=o[y];break}m.push(y)}return Li(u)?(i.count=e,t.interpolate(t,u,i)):t.missingTranslation.get(s.split(t.defaultSeparator).concat([m[0]]),i)}const Hj={meridian:{am:"AM",pm:"PM"},dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],monthNames:[null,"January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonthNames:[null,"Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]};function Bj(t,e,a={}){const{abbrDayNames:i,dayNames:s,abbrMonthNames:o,monthNames:u,meridian:d,utc:f}=Object.assign(Object.assign({},Hj),a);if(isNaN(t.getTime()))throw new Error("strftime() requires a valid date object, but received an invalid date.");const m=f?t.getUTCDay():t.getDay(),y=f?t.getUTCDate():t.getDate(),b=f?t.getUTCFullYear():t.getFullYear(),C=(f?t.getUTCMonth():t.getMonth())+1,A=f?t.getUTCHours():t.getHours();let I=A;const M=A>11?"pm":"am",O=f?t.getUTCSeconds():t.getSeconds(),R=f?t.getUTCMinutes():t.getMinutes(),x=f?0:t.getTimezoneOffset(),j=Math.floor(Math.abs(x/60)),U=Math.abs(x)-j*60,L=(x>0?"-":"+")+(j.toString().length<2?"0"+j:j)+(U.toString().length<2?"0"+U:U);return I>12?I=I-12:I===0&&(I=12),e=e.replace("%a",i[m]),e=e.replace("%A",s[m]),e=e.replace("%b",o[C]),e=e.replace("%B",u[C]),e=e.replace("%d",y.toString().padStart(2,"0")),e=e.replace("%e",y.toString()),e=e.replace("%-d",y.toString()),e=e.replace("%H",A.toString().padStart(2,"0")),e=e.replace("%-H",A.toString()),e=e.replace("%k",A.toString()),e=e.replace("%I",I.toString().padStart(2,"0")),e=e.replace("%-I",I.toString()),e=e.replace("%l",I.toString()),e=e.replace("%m",C.toString().padStart(2,"0")),e=e.replace("%-m",C.toString()),e=e.replace("%M",R.toString().padStart(2,"0")),e=e.replace("%-M",R.toString()),e=e.replace("%p",d[M]),e=e.replace("%P",d[M].toLowerCase()),e=e.replace("%S",O.toString().padStart(2,"0")),e=e.replace("%-S",O.toString()),e=e.replace("%w",m.toString()),e=e.replace("%y",b.toString().padStart(2,"0").substr(-2)),e=e.replace("%-y",b.toString().padStart(2,"0").substr(-2).replace(/^0+/,"")),e=e.replace("%Y",b.toString()),e=e.replace(/%z/i,L),e}var V3,oS;function Fj(){if(oS)return V3;oS=1;var t=Math.ceil,e=Math.max;function a(i,s,o,u){for(var d=-1,f=e(t((s-i)/(o||1)),0),m=Array(f);f--;)m[u?f:++d]=i,i+=o;return m}return V3=a,V3}var G3,cS;function Vj(){if(cS)return G3;cS=1;var t=Fj(),e=Uf(),a=XA();function i(s){return function(o,u,d){return d&&typeof d!="number"&&e(o,u,d)&&(u=d=void 0),o=a(o),u===void 0?(u=o,o=0):u=a(u),d=d===void 0?o<u?1:-1:a(d),t(o,u,d,s)}}return G3=i,G3}var Z3,uS;function Gj(){if(uS)return Z3;uS=1;var t=Vj(),e=t();return Z3=e,Z3}var Zj=Gj();const Yj=Ar(Zj),$a=(t,e,a)=>a>=t&&a<=e;function Wj(t,e,a,i={}){const s=i.scope||"datetime.distance_in_words",o=(F,E=0)=>t.t(F,{count:E,scope:s});e=n6(e),a=n6(a);let u=e.getTime()/1e3,d=a.getTime()/1e3;u>d&&([e,a,u,d]=[a,e,d,u]);const f=Math.round(d-u),m=Math.round((d-u)/60),b=m/60/24,C=Math.round(m/60),A=Math.round(b),I=Math.round(A/30);if($a(0,1,m))return i.includeSeconds?$a(0,4,f)?o("less_than_x_seconds",5):$a(5,9,f)?o("less_than_x_seconds",10):$a(10,19,f)?o("less_than_x_seconds",20):$a(20,39,f)?o("half_a_minute"):$a(40,59,f)?o("less_than_x_minutes",1):o("x_minutes",1):m===0?o("less_than_x_minutes",1):o("x_minutes",m);if($a(2,44,m))return o("x_minutes",m);if($a(45,89,m))return o("about_x_hours",1);if($a(90,1439,m))return o("about_x_hours",C);if($a(1440,2519,m))return o("x_days",1);if($a(2520,43199,m))return o("x_days",A);if($a(43200,86399,m))return o("about_x_months",Math.round(m/43200));if($a(86400,525599,m))return o("x_months",I);let M=e.getFullYear();e.getMonth()+1>=3&&(M+=1);let O=a.getFullYear();a.getMonth()+1<3&&(O-=1);const R=M>O?0:Yj(M,O).filter(F=>new Date(F,1,29).getMonth()==1).length,x=525600,j=R*1440,U=m-j,L=Math.trunc(U/x),P=parseFloat((U/x-L).toPrecision(3));return P<.25?o("about_x_years",L):P<.75?o("over_x_years",L):o("almost_x_years",L+1)}const Qj=function(t,e){e instanceof Array&&(e=e.join(t.defaultSeparator));const a=e.split(t.defaultSeparator).slice(-1)[0];return t.missingTranslationPrefix+a.replace("_"," ").replace(/([a-z])([A-Z])/g,(i,s,o)=>`${s} ${o.toLowerCase()}`)},Jj=(t,e,a)=>{const i=Eo(t,e,a),s="locale"in a?a.locale:t.locale,o=el(s);return`[missing "${[o=="string"?s:o,i].join(t.defaultSeparator)}" translation]`},Kj=(t,e,a)=>{const i=Eo(t,e,a),s=[t.locale,i].join(t.defaultSeparator);throw new Error(`Missing translation: ${s}`)};class Xj{constructor(e){this.i18n=e,this.registry={},this.register("guess",Qj),this.register("message",Jj),this.register("error",Kj)}register(e,a){this.registry[e]=a}get(e,a){var i;return this.registry[(i=a.missingBehavior)!==null&&i!==void 0?i:this.i18n.missingBehavior](this.i18n,e,a)}}var $j=function(t,e,a,i){function s(o){return o instanceof a?o:new a(function(u){u(o)})}return new(a||(a=Promise))(function(o,u){function d(y){try{m(i.next(y))}catch(b){u(b)}}function f(y){try{m(i.throw(y))}catch(b){u(b)}}function m(y){y.done?o(y.value):s(y.value).then(d,f)}m((i=i.apply(t,e||[])).next())})};const Y3={defaultLocale:"en",locale:"en",defaultSeparator:".",placeholder:/(?:\{\{|%\{)(.*?)(?:\}\}?)/gm,enableFallback:!1,missingBehavior:"message",missingTranslationPrefix:"",missingPlaceholder:(t,e)=>`[missing "${e}" value]`,nullPlaceholder:(t,e,a,i)=>t.missingPlaceholder(t,e,a,i),transformKey:t=>t};let eL=class{constructor(e={},a={}){this._locale=Y3.locale,this._defaultLocale=Y3.defaultLocale,this._version=0,this.onChangeHandlers=[],this.translations={},this.t=this.translate,this.p=this.pluralize,this.l=this.localize,this.distanceOfTimeInWords=this.timeAgoInWords;const{locale:i,enableFallback:s,missingBehavior:o,missingTranslationPrefix:u,missingPlaceholder:d,nullPlaceholder:f,defaultLocale:m,defaultSeparator:y,placeholder:b,transformKey:C}=Object.assign(Object.assign({},Y3),a);this.locale=i,this.defaultLocale=m,this.defaultSeparator=y,this.enableFallback=s,this.locale=i,this.missingBehavior=o,this.missingTranslationPrefix=u,this.missingPlaceholder=d,this.nullPlaceholder=f,this.placeholder=b,this.pluralization=new hD(this),this.locales=new cD(this),this.missingTranslation=new Xj(this),this.transformKey=C,this.interpolate=Xm,this.store(e)}store(e){YN(this.translations,e),this.hasChanged()}get locale(){return this._locale||this.defaultLocale||"en"}set locale(e){if(typeof e!="string")throw new Error(`Expected newLocale to be a string; got ${el(e)}`);const a=this._locale!==e;this._locale=e,a&&this.hasChanged()}get defaultLocale(){return this._defaultLocale||"en"}set defaultLocale(e){if(typeof e!="string")throw new Error(`Expected newLocale to be a string; got ${el(e)}`);const a=this._defaultLocale!==e;this._defaultLocale=e,a&&this.hasChanged()}translate(e,a){a=Object.assign({},a);const i=LD(this,e,a);let s;return i.some(u=>(Li(u.scope)?s=$r(this,u.scope,a):Li(u.message)&&(s=u.message),s!=null))?(typeof s=="string"?s=this.interpolate(this,s,a):typeof s=="object"&&s&&Li(a.count)&&(s=lS({i18n:this,count:a.count||0,scope:s,options:a,baseScope:Eo(this,e,a)})),a&&s instanceof Array&&(s=s.map(u=>typeof u=="string"?Xm(this,u,a):u)),s):this.missingTranslation.get(e,a)}pluralize(e,a,i){return lS({i18n:this,count:e,scope:a,options:Object.assign({},i),baseScope:Eo(this,a,i??{})})}localize(e,a,i){if(i=Object.assign({},i),a==null)return"";switch(e){case"currency":return this.numberToCurrency(a);case"number":return Oc(a,Object.assign({delimiter:",",precision:3,separator:".",significant:!1,stripInsignificantZeros:!1},$r(this,"number.format")));case"percentage":return this.numberToPercentage(a);default:{let s;return e.match(/^(date|time)/)?s=this.toTime(e,a):s=a.toString(),Xm(this,s,i)}}}toTime(e,a){const i=n6(a),s=$r(this,e);return i.toString().match(/invalid/i)||!s?i.toString():this.strftime(i,s)}numberToCurrency(e,a={}){return Oc(e,Object.assign(Object.assign(Object.assign({delimiter:",",format:"%u%n",precision:2,separator:".",significant:!1,stripInsignificantZeros:!1,unit:"$"},Nr(this.get("number.format"))),Nr(this.get("number.currency.format"))),a))}numberToPercentage(e,a={}){return Oc(e,Object.assign(Object.assign(Object.assign({delimiter:"",format:"%n%",precision:3,stripInsignificantZeros:!1,separator:".",significant:!1},Nr(this.get("number.format"))),Nr(this.get("number.percentage.format"))),a))}numberToHumanSize(e,a={}){return Pj(this,e,Object.assign(Object.assign(Object.assign({delimiter:"",precision:3,significant:!0,stripInsignificantZeros:!0,units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Nr(this.get("number.human.format"))),Nr(this.get("number.human.storage_units"))),a))}numberToHuman(e,a={}){return Uj(this,e,Object.assign(Object.assign(Object.assign({delimiter:"",separator:".",precision:3,significant:!0,stripInsignificantZeros:!0,format:"%n %u",roundMode:"default",units:{billion:"Billion",million:"Million",quadrillion:"Quadrillion",thousand:"Thousand",trillion:"Trillion",unit:""}},Nr(this.get("number.human.format"))),Nr(this.get("number.human.decimal_units"))),a))}numberToRounded(e,a){return Oc(e,Object.assign({unit:"",precision:3,significant:!1,separator:".",delimiter:"",stripInsignificantZeros:!1},a))}numberToDelimited(e,a={}){return WD(e,Object.assign({delimiterPattern:/(\d)(?=(\d\d\d)+(?!\d))/g,delimiter:",",separator:"."},a))}withLocale(e,a){return $j(this,void 0,void 0,function*(){const i=this.locale;try{this.locale=e,yield a()}finally{this.locale=i}})}strftime(e,a,i={}){return Bj(e,a,Object.assign(Object.assign(Object.assign({},Nr($r(this,"date"))),{meridian:{am:$r(this,"time.am")||"AM",pm:$r(this,"time.pm")||"PM"}}),i))}update(e,a,i={strict:!1}){if(i.strict&&!hN(this.translations,e))throw new Error(`The path "${e}" is not currently defined`);const s=oN(this.translations,e),o=el(s),u=el(a);if(i.strict&&o!==u)throw new Error(`The current type for "${e}" is "${o}", but you're trying to override it with "${u}"`);let d;u==="object"?d=Object.assign(Object.assign({},s),a):d=a;const f=e.split(this.defaultSeparator),m=f.pop();let y=this.translations;for(const b of f)y[b]||(y[b]={}),y=y[b];y[m]=d,this.hasChanged()}toSentence(e,a={}){const{wordsConnector:i,twoWordsConnector:s,lastWordConnector:o}=Object.assign(Object.assign({wordsConnector:", ",twoWordsConnector:" and ",lastWordConnector:", and "},Nr($r(this,"support.array"))),a),u=e.length;switch(u){case 0:return"";case 1:return`${e[0]}`;case 2:return e.join(s);default:return[e.slice(0,u-1).join(i),o,e[u-1]].join("")}}timeAgoInWords(e,a,i={}){return Wj(this,e,a,i)}onChange(e){return this.onChangeHandlers.push(e),()=>{this.onChangeHandlers.splice(this.onChangeHandlers.indexOf(e),1)}}get version(){return this._version}formatNumber(e,a={}){return a=Object.assign(Object.assign({delimiter:",",precision:3,separator:".",unit:"",format:"%u%n",significant:!1,stripInsignificantZeros:!1},Nr(this.get("number.format"))),a),Oc(e,a)}get(e){return $r(this,e)}runCallbacks(){this.onChangeHandlers.forEach(e=>e(this))}hasChanged(){this._version+=1,this.runCallbacks()}};function tL(t,e,a){const i=new URLSearchParams(t);return i.set(e,a),"?"+i.toString()}function i5(t,e){return new URLSearchParams(e).get(t)}function Ra(t){return t!=null?(t.preventDefault(),t.stopPropagation(),!1):!0}function ne(t){return t==null?!0:Array.isArray(t)?t.length===0:typeof t=="string"?t.trim().length===0:t&&t.getTime?t.getTime()!==t.getTime():typeof t=="object"?Object.keys(t).length===0:!1}const nL=t=>{const e=new URL(t).protocol;return["https:","http:"].includes(e)?t:"about:blank"},aL=(t,e)=>[t.slice(0,-1).join(", "),t.slice(-1)[0]].join(t.length<2?"":` ${e} `);/*! js-cookie v3.0.5 | MIT */function O1(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)t[i]=a[i]}return t}var rL={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function a6(t,e){function a(s,o,u){if(!(typeof document>"u")){u=O1({},e,u),typeof u.expires=="number"&&(u.expires=new Date(Date.now()+u.expires*864e5)),u.expires&&(u.expires=u.expires.toUTCString()),s=encodeURIComponent(s).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var d="";for(var f in u)u[f]&&(d+="; "+f,u[f]!==!0&&(d+="="+u[f].split(";")[0]));return document.cookie=s+"="+t.write(o,s)+d}}function i(s){if(!(typeof document>"u"||arguments.length&&!s)){for(var o=document.cookie?document.cookie.split("; "):[],u={},d=0;d<o.length;d++){var f=o[d].split("="),m=f.slice(1).join("=");try{var y=decodeURIComponent(f[0]);if(u[y]=t.read(m,y),s===y)break}catch{}}return s?u[s]:u}}return Object.create({set:a,get:i,remove:function(s,o){a(s,"",O1({},o,{expires:-1}))},withAttributes:function(s){return a6(this.converter,O1({},this.attributes,s))},withConverter:function(s){return a6(O1({},this.converter,s),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var rC=a6(rL,{path:"/"});const S=new eL({en:DM,nl:jM});let cl=i5("lang",window.location.search);ne(cl)&&(cl=rC.get("lang"));ne(cl)&&(cl=navigator.language.toLowerCase().substring(0,2));["nl","en"].indexOf(cl)===-1&&(cl="en");S.locale=cl;S.missingTranslation.register("report-error",(t,e)=>`[missing "${e}" translation]`);S.missingBehavior="report-error";const fS=t=>{let e;const a=new Set,i=(m,y)=>{const b=typeof m=="function"?m(e):m;if(!Object.is(b,e)){const C=e;e=y??(typeof b!="object"||b===null)?b:Object.assign({},e,b),a.forEach(A=>A(e,C))}},s=()=>e,d={setState:i,getState:s,getInitialState:()=>f,subscribe:m=>(a.add(m),()=>a.delete(m))},f=e=t(i,s,d);return d},iL=(t=>t?fS(t):fS),sL=t=>t;function lL(t,e=sL){const a=te.useSyncExternalStore(t.subscribe,te.useCallback(()=>e(t.getState()),[t,e]),te.useCallback(()=>e(t.getInitialState()),[t,e]));return te.useDebugValue(a),a}const dS=t=>{const e=iL(t),a=i=>lL(e,i);return Object.assign(a,e),a},oL=(t=>t?dS(t):dS),Pe=oL(t=>({user:{},csrfToken:null,startImpersonation:e=>{t(a=>({impersonator:a.user,user:e}))},stopImpersonation:()=>{t(e=>({impersonator:null,user:e.impersonator}))},flash:{msg:"",className:"hide",type:"info"},setFlash:(e,a)=>{t({flash:{msg:e,type:a||"info"}}),(!a||a==="info")&&setTimeout(()=>t({flash:{}}),5e3)},clearFlash:()=>t({flash:{}}),config:{baseUrl:"http://localhost:3000",stats:{}},breadcrumbPaths:[],activeMenuItem:"yourApps",menuItems:[],currentOrganization:{name:""},arp:{},privacy:[]})),tl=10,iC=(t,e={})=>(ne(t)||(ne(t.query)||(e.query=encodeURIComponent(t.query)),ne(t.pageNumber)||(e.pageNumber=t.pageNumber),ne(t.pageSize)||(e.pageSize=t.pageSize),ne(t.sort)||(e.sort=t.sort),ne(t.sortDirection)||(e.sortDirection=t.sortDirection),ne(t.roleId)||(e.roleId=encodeURIComponent(t.roleId))),Object.entries(e).reduce((a,i)=>(a+=`${i[0]}=${encodeURIComponent(i[1])}&`,a),"")),sC=(t="name",e="ASC")=>({...{query:"",pageNumber:0,pageSize:tl,sort:t,sortDirection:e}}),s5=t=>{const e=new URL(window.location);e.searchParams.set("page",t),window.history.pushState({page:t},"",e)},l5=()=>{const t=i5("page",window.location.search)||1;return parseInt(t,10)};function cL(t){return e=>{if(!e.ok){if(e.type==="opaqueredirect")return setTimeout(()=>window.location.reload(!0),100),e;const a=new Error(e.statusText);if(a.response=e,t&&e.status===401){window.location.reload(!0);return}throw t&&setTimeout(()=>{throw a},250),a}return e}}function lC(t,e,a={},i=!0){const s={Accept:"application/json","Content-Type":"application/json","Accept-Language":S.locale,"X-CSRF-TOKEN":Pe.getState().csrfToken,...a};Pe.getState().impersonator&&(s["X-IMPERSONATE-ID"]=Pe.getState().user.id.toString());const u=Object.assign({},{headers:s},e,{credentials:"same-origin",redirect:"manual",changeOrigin:!1});return fetch(t,u).then(cL(i))}function zn(t,e={},a={},i=!0){return lC(t,e,a,i).then(s=>s.json())}function $n(t,e,a,i=!0){const s=JSON.stringify(e);return zn(t,{method:a,body:s},{},i)}function gl(t){return lC(t,{method:"delete"})}function uL(){return zn("/api/v1/users/config")}function fL(){return zn("/api/v1/csrf",{},{},!1)}function hS(){return zn("/api/v1/users/me")}function dL(){return zn("/api/v1/users/logout")}function hL(t={}){const e=iC(t,{});return zn(`/api/v1/users/search?${e}`)}function oC(t){return zn(`/api/v1/organizations/find/${t}`)}function cC(t={}){const e=iC(t,{});return zn(`/api/v1/organizations/search?${e}`)}function mL(){return zn("/api/v1/organizations/status/pending")}function pL(t){return zn(`/api/v1/organizations/users/${t}`)}function o5(t){return gl(`/api/v1/organizations/${t}`)}function gL(t){return zn(`/api/v1/organizations/light/${t}`)}function vL(t){return zn(`/api/v1/organizations/invitation/${t}`)}function yL(t){return $n("/api/v1/organizations",t,"POST")}function uC(t,e){return $n(`/api/v1/organizations/status/${t}/${e}`,{},"PUT")}function bL(t){return $n("/api/v1/join/",t,"POST")}function mS(t,e,a){return $n("/api/v1/join/approval",{joinRequestId:t,approved:e,authority:a},"PUT")}function r6(t){return zn(`/api/v1/applications/${t}`)}function SL(t){return gl(`/api/v1/applications/${t}`)}function EL(t){return $n("/api/v1/applications",t,"POST")}function c5(t){return $n("/api/v1/applications",t,"PUT")}function AL(t){return gl(`/api/v1/application_memberships/${t.id}`)}function CL(t,e,a){return $n("/api/v1/application_memberships",{organizationMembershipId:t,applicationId:e,organizationId:a},"POST")}function wL(t){return $n("/api/v1/manage/parse",{xml:t},"POST")}function xL(t){return $n("/api/v1/manage/parse",{url:t},"POST")}function pS(t){return zn(`/api/v1/manage/identity-providers/${t}`)}function TL(t,e){return $n(`/api/v1/manage/providers-by-entityid/${t}`,{entityID:e},"POST")}function OL(){return zn("/api/v1/manage/arp",{},{},!1)}function RL(){return zn("/api/v1/manage/privacy",{},{},!1)}function IL(t){return $n("/api/v1/connections",t,"POST")}function ML(t){return $n("/api/v1/connections",t,"PUT")}function NL(t){return $n(`/api/v1/connections/reset-secret/${t}`,{},"PUT")}function gS(t){return zn(`/api/v1/connections/${t}`)}function DL(t){return gl(`/api/v1/connections/${t}`)}function jL(t){return $n(`/api/v1/connections/request-production-status/${t}`,{},"PUT")}function LL(t){return $n("/api/v1/manage/reject-change-request",t,"PUT")}function vS(t,e){const a={id:t.id,authority:e};return $n("/api/v1/organization_memberships",a,"PUT")}function kL(t){return gl(`/api/v1/organization_memberships/${t.id}`)}function _L(t){return $n("/api/v1/invitations",t,"POST")}function zL(t){return zn(`/api/v1/invitations/hash?hash=${t}`,{},{},!1)}function qL(t){const e={hash:t.hash,invitationId:t.id};return $n("/api/v1/invitations/accept",e,"PUT")}function UL(t){return $n(`/api/v1/invitations/resend/${t.id}`,{},"PUT")}function PL(t){return gl(`/api/v1/invitations/${t.id}`)}function HL(t){return gl(`/api/v1/invitations/delete/all/${t.id}`)}function BL(){return zn("/api/v1/public/identity-providers")}function FL(){return zn("/api/v1/public/service-providers")}function VL(t,e){return zn(`/api/v1/public/service-provider-detail/${t}/${e}`)}const GL=()=>{const t=Pe(a=>a.flash),e=Pe(a=>a.clearFlash);return!ne(t)&&(t.type==="error"||t.type==="warning")?h.jsx(zr,{message:t.msg,action:t.action,actionLabel:t.actionLabel,alertType:t.type==="warning"?oa.Warning:oa.Error,close:e}):!ne(t)&&!ne(t.msg)?h.jsx(cI,{children:h.jsx(oI,{message:t.msg,toasterType:so.Success})}):null},ZL=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"logo-surf",xmlns:"http://www.w3.org/2000/svg",width:70.9,height:36,viewBox:"0 0 70.9 36",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{className:"shape",d:"M65.5 21.8c3 0 5.4 2.4 5.4 5.4v3.4c0 3-2.4 5.4-5.4 5.4h-8.1c-3 0-5.4-2.4-5.4-5.4v-2.1c0-3.7-3-6.7-6.7-6.7H6.7C3 21.8 0 18.7 0 15V6.7C0 3 3 0 6.7 0h38.5C49 0 52 3 52 6.7V15c0 3.7 3 6.7 6.7 6.7h6.8z",fillRule:"evenodd",clipRule:"evenodd"}),g.createElement("path",{className:"text",d:"M43.4 12.5c.7 0 1.1-.4 1.1-1.1 0-.7-.3-1.1-1.1-1.1h-2.7v-2H45c.7 0 1.1-.4 1.1-1.1 0-.7-.4-1.1-1.1-1.1h-5.4c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1.7 0 1.1-.4 1.1-1.1v-2.4h2.7zM32.2 8.3c.9 0 1.5.4 1.5 1.3s-.7 1.3-1.5 1.3h-1.9V8.3h1.9zm1.3 7c.2.5.5.7.9.7.6 0 1.3-.4 1.3-1.1 0-.2 0-.4-.1-.6l-1-2.1c1-.5 1.5-1.4 1.5-2.7 0-2-1.5-3.4-3.6-3.4h-3.2c-.7 0-1.1.4-1.1 1.1v7.6c0 .7.4 1.1 1.1 1.1.7 0 1.1-.4 1.1-1.1v-2h2.1l1 2.5zm-10.3-3.9c0 1.5-.9 2.4-2.2 2.4-1.3 0-2.2-.9-2.2-2.4V7.2c0-.7-.4-1.1-1.1-1.1-.7 0-1.1.4-1.1 1.1v4.3c0 2.8 1.9 4.6 4.4 4.6 2.6 0 4.5-1.8 4.5-4.6V7.2c0-.7-.4-1.1-1.1-1.1-.7 0-1.1.4-1.1 1.1v4.2zM10.5 14c-.9 0-1.5-.2-1.9-.4-.4-.1-.7-.2-1-.2-.6 0-1 .4-1 1 0 1 2.1 1.6 4 1.6 2.2 0 3.9-1.2 3.9-3 0-1.7-1.1-2.4-2.4-2.8l-1.8-.6C9.4 9.5 9 9.3 9 8.8s.8-.7 1.4-.7c.8 0 1.3.2 1.8.4.3.1.6.2.9.2.6 0 .9-.4.9-1 0-1-1.9-1.6-3.6-1.6C8.3 6 6.7 7.2 6.7 8.9c0 1.4 1 2.3 2.2 2.6l1.6.5c.8.2 1.5.5 1.5 1 .1.6-.8 1-1.5 1z",fillRule:"evenodd",clipRule:"evenodd",fill:"#fff"})),YL=g.forwardRef(ZL),Xc="session_storage_location",i6=(t,e=!0,a=!1)=>{let i=e?"?force=true":"";a&&(i+=e?"&eduId=true":"?eduId=true");let s=t.serverUrl;ne(s)&&(s=window.location.hostname==="localhost"?"http://localhost:8886":`${window.location.protocol}//${window.location.host}`),window.location.href=nL(`${s}/api/v1/users/login${i}`)},WL=["home","connect","institutions","applications"],QL=({mobile:t,path:e})=>{const[a,i]=g.useState(""),s=kt();g.useEffect(()=>{i(e.substring(1))},[e]);const o=(u,d)=>{Ra(u),i(d),s(`/${d}`)};return h.jsxs("div",{className:`desktop-navigation ${t?"mobile":""}`,children:[WL.map(u=>h.jsx("a",{href:`/${u}`,className:u===a?"active":"",onClick:d=>o(d,u),children:S.t(`landing.tabs.${u}`)},u)),h.jsx("div",{className:"links",children:e!=="/login-info"&&h.jsx(at,{onClick:()=>s("/login-info"),txt:S.t("landing.header.login")})})]})},JL=({currentLocation:t})=>(g.useEffect(()=>{},[t]),h.jsx("div",{className:"header-container",children:h.jsxs("div",{className:"header-inner",children:[h.jsx(zi,{className:"logo",to:"/",children:h.jsx(YL,{})}),h.jsx(QL,{mobile:!1,path:t.pathname})]})})),KL=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",width:860.13137,height:571.14799,viewBox:"0 0 860.13137 571.14799",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M605.66974,324.95306c-7.66934-12.68446-16.7572-26.22768-30.98954-30.36953-16.482-4.7965-33.4132,4.73193-47.77473,14.13453a1392.15692,1392.15692,0,0,0-123.89338,91.28311l.04331.49238q46.22556-3.1878,92.451-6.37554c22.26532-1.53546,45.29557-3.2827,64.97195-13.8156,7.46652-3.99683,14.74475-9.33579,23.20555-9.70782,10.51175-.46217,19.67733,6.87923,26.8802,14.54931,42.60731,45.371,54.937,114.75409,102.73817,154.61591A1516.99453,1516.99453,0,0,0,605.66974,324.95306Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M867.57068,709.78146c-4.71167-5.94958-6.6369-7.343-11.28457-13.34761q-56.7644-73.41638-106.70791-151.79237-33.92354-53.23-64.48275-108.50439-14.54864-26.2781-28.29961-52.96872-10.67044-20.6952-20.8646-41.63793c-1.94358-3.98782-3.8321-7.99393-5.71122-12.00922-4.42788-9.44232-8.77341-18.93047-13.43943-28.24449-5.31686-10.61572-11.789-21.74485-21.55259-28.877a29.40493,29.40493,0,0,0-15.31855-5.89458c-7.948-.51336-15.28184,2.76855-22.17568,6.35295-50.43859,26.301-97.65922,59.27589-140.3696,96.79771A730.77816,730.77816,0,0,0,303.32241,496.24719c-1.008,1.43927-3.39164.06417-2.37419-1.38422q6.00933-8.49818,12.25681-16.81288A734.817,734.817,0,0,1,500.80465,303.06436q18.24824-11.82581,37.18269-22.54245c6.36206-3.60275,12.75188-7.15967,19.25136-10.49653,6.37146-3.27274,13.13683-6.21547,20.41563-6.32547,24.7701-.385,37.59539,27.66695,46.40506,46.54248q4.15283,8.9106,8.40636,17.76626,16.0748,33.62106,33.38729,66.628,10.68453,20.379,21.83683,40.51955,34.7071,62.71816,73.77854,122.897c34.5059,53.1429,68.73651,100.08874,108.04585,149.78472C870.59617,709.21309,868.662,711.17491,867.57068,709.78146Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),g.createElement("path",{d:"M414.91613,355.804c-1.43911-1.60428-2.86927-3.20856-4.31777-4.81284-11.42244-12.63259-23.6788-25.11847-39.3644-32.36067a57.11025,57.11025,0,0,0-23.92679-5.54622c-8.56213.02753-16.93178,2.27348-24.84306,5.41792-3.74034,1.49427-7.39831,3.1902-11.00078,4.99614-4.11634,2.07182-8.15927,4.28118-12.1834,6.50883q-11.33112,6.27044-22.36816,13.09089-21.9606,13.57221-42.54566,29.21623-10.67111,8.11311-20.90174,16.75788-9.51557,8.03054-18.64618,16.492c-1.30169,1.20091-3.24527-.74255-1.94358-1.94347,1.60428-1.49428,3.22691-2.97938,4.84955-4.44613q6.87547-6.21546,13.9712-12.19257,12.93921-10.91827,26.54851-20.99312,21.16293-15.67614,43.78288-29.22541,11.30361-6.76545,22.91829-12.96259c2.33794-1.24675,4.70318-2.466,7.09572-3.6211a113.11578,113.11578,0,0,1,16.86777-6.86632,60.0063,60.0063,0,0,1,25.476-2.50265,66.32706,66.32706,0,0,1,23.50512,8.1314c15.40091,8.60812,27.34573,21.919,38.97,34.90915C418.03337,355.17141,416.09875,357.12405,414.91613,355.804Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),g.createElement("path",{d:"M730.47659,486.71092l36.90462-13.498,18.32327-6.70183c5.96758-2.18267,11.92082-4.66747,18.08988-6.23036a28.53871,28.53871,0,0,1,16.37356.20862,37.73753,37.73753,0,0,1,12.771,7.91666,103.63965,103.63965,0,0,1,10.47487,11.18643c3.98932,4.79426,7.91971,9.63877,11.86772,14.46706q24.44136,29.89094,48.56307,60.04134,24.12117,30.14991,47.91981,60.556,23.85681,30.48041,47.38548,61.21573,2.88229,3.76518,5.75966,7.53415c1.0598,1.38809,3.44949.01962,2.37472-1.38808Q983.582,650.9742,959.54931,620.184q-24.09177-30.86383-48.51647-61.46586-24.42421-30.60141-49.17853-60.93743-6.16706-7.55761-12.35445-15.09858c-3.47953-4.24073-6.91983-8.52718-10.73628-12.47427-7.00539-7.24516-15.75772-13.64794-26.23437-13.82166-6.15972-.10214-12.121,1.85248-17.844,3.92287-6.16968,2.232-12.32455,4.50571-18.48633,6.75941l-37.16269,13.59243-9.29067,3.3981c-1.64875.603-.93651,3.2619.73111,2.652Z",transform:"translate(-169.93432 -164.42601)",fill:"#e4e4e4"}),g.createElement("path",{d:"M366.37741,334.52609c-18.75411-9.63866-42.77137-7.75087-60.00508,4.29119a855.84708,855.84708,0,0,1,97.37056,22.72581C390.4603,353.75916,380.07013,341.5635,366.37741,334.52609Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M306.18775,338.7841l-3.61042,2.93462c1.22123-1.02713,2.4908-1.99013,3.795-2.90144C306.31073,338.80665,306.24935,338.79473,306.18775,338.7841Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M831.54929,486.84576c-3.6328-4.42207-7.56046-9.05222-12.99421-10.84836l-5.07308.20008A575.436,575.436,0,0,0,966.74929,651.418Q899.14929,569.13192,831.54929,486.84576Z",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M516.08388,450.36652A37.4811,37.4811,0,0,0,531.015,471.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M749.08388,653.36652A37.4811,37.4811,0,0,0,764.015,674.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("path",{d:"M284.08388,639.36652A37.4811,37.4811,0,0,0,299.015,660.32518c2.82017,1.92011,6.15681,3.76209,7.12158,7.03463a8.37858,8.37858,0,0,1-.87362,6.1499,24.88351,24.88351,0,0,1-3.86126,5.04137l-.13667.512c-6.99843-4.14731-13.65641-9.3934-17.52227-16.55115s-4.40553-16.53895.34116-23.14544",transform:"translate(-169.93432 -164.42601)",fill:"#f2f2f2"}),g.createElement("circle",{cx:649.24878,cy:51,r:51,fill:"#6c63ff"}),g.createElement("path",{d:"M911.21851,176.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C957.07935,195.76,935.93537,179.63727,911.21851,176.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),g.createElement("path",{d:"M805.21851,244.29639c-24.7168-3.34094-52.93512,10.01868-59.34131,34.12353a21.59653,21.59653,0,0,0-41.09351,2.10871l2.82972,2.02667a372.27461,372.27461,0,0,0,160.65881-.72638C851.07935,263.76,829.93537,247.63727,805.21851,244.29639Z",transform:"translate(-169.93432 -164.42601)",fill:"#f0f0f0"}),g.createElement("path",{d:"M1020.94552,257.15423a.98189.98189,0,0,1-.30176-.04688C756.237,173.48919,523.19942,184.42376,374.26388,208.32122c-20.26856,3.251-40.59131,7.00586-60.40381,11.16113-5.05811,1.05957-10.30567,2.19532-15.59668,3.37793-6.31885,1.40723-12.55371,2.85645-18.53223,4.30567q-3.873.917-7.59472,1.84863c-3.75831.92773-7.57178,1.89453-11.65967,2.957-4.56787,1.17774-9.209,2.41309-13.79737,3.67188a.44239.44239,0,0,1-.05127.01465l.00049.001c-5.18261,1.415-10.33789,2.8711-15.32324,4.3252-2.69824.77929-5.30371,1.54785-7.79932,2.30664-.2788.07715-.52587.15136-.77636.22754l-.53614.16308c-.31054.09473-.61718.1875-.92382.27539l-.01953.00586.00048.001-.81152.252c-.96777.293-1.91211.5791-2.84082.86426-24.54492,7.56641-38.03809,12.94922-38.17139,13.00195a1,1,0,1,1-.74414-1.85644c.13428-.05274,13.69336-5.46289,38.32764-13.05762.93213-.28613,1.87891-.57226,2.84961-.86621l.7539-.23438c.02588-.00976.05176-.01757.07813-.02539.30518-.08691.60986-.17968.91943-.27343l.53711-.16309c.26758-.08105.53125-.16113.80127-.23535,2.47852-.75391,5.09278-1.52441,7.79785-2.30664,4.98731-1.45508,10.14746-2.91113,15.334-4.32813.01611-.00586.03271-.00976.04883-.01464v-.001c4.60449-1.2627,9.26269-2.50293,13.84521-3.68457,4.09424-1.06348,7.915-2.03223,11.67969-2.96192q3.73755-.93017,7.60937-1.85253c5.98536-1.45118,12.23291-2.90235,18.563-4.3125,5.29932-1.1836,10.55567-2.32227,15.62207-3.38282,19.84326-4.16211,40.19776-7.92285,60.49707-11.17871C523.09591,182.415,756.46749,171.46282,1021.2463,255.2011a.99974.99974,0,0,1-.30078,1.95313Z",transform:"translate(-169.93432 -164.42601)",fill:"#ccc"}),g.createElement("path",{d:"M432.92309,584.266a6.72948,6.72948,0,0,0-1.7-2.67,6.42983,6.42983,0,0,0-.92-.71c-2.61-1.74-6.51-2.13-8.99,0a5.81012,5.81012,0,0,0-.69.71q-1.11,1.365-2.28,2.67c-1.28,1.46-2.59,2.87-3.96,4.24-.39.38-.78.77-1.18,1.15-.23.23-.46.45-.69.67-.88.84-1.78,1.65-2.69,2.45-.48.43-.96.85-1.45,1.26-.73.61-1.46,1.22-2.2,1.81-.07.05-.14.1-.21.16-.02.01-.03.03-.05.04-.01,0-.02,0-.03.02a.17861.17861,0,0,0-.07.05c-.22.15-.37.25-.48.34.04-.01995.08-.05.12-.07-.18.14-.37.28-.55.42-1.75,1.29-3.54,2.53-5.37,3.69a99.21022,99.21022,0,0,1-14.22,7.55c-.33.13-.67.27-1.01.4a85.96993,85.96993,0,0,1-40.85,6.02q-2.13008-.165-4.26-.45c-1.64-.24-3.27-.53-4.89-.86a97.93186,97.93186,0,0,1-18.02-5.44,118.65185,118.65185,0,0,1-20.66-12.12c-1-.71-2.01-1.42-3.02-2.11,1.15-2.82,2.28-5.64,3.38-8.48.55-1.37,1.08-2.74,1.6-4.12,4.09-10.63,7.93-21.36,11.61-32.13q5.58-16.365,10.53-32.92.51-1.68.99-3.36,2.595-8.745,4.98-17.53c.15-.56994.31-1.12994.45-1.7q.68994-2.52,1.35-5.04c1-3.79-1.26-8.32-5.24-9.23a7.63441,7.63441,0,0,0-9.22,5.24c-.43,1.62-.86,3.23-1.3,4.85q-3.165,11.74494-6.66,23.41-.51,1.68-1.02,3.36-7.71,25.41-16.93,50.31-1.11,3.015-2.25,6.01c-.37.98-.74,1.96-1.12,2.94-.73,1.93-1.48,3.86-2.23,5.79-.43006,1.13-.87006,2.26-1.31,3.38-.29.71-.57,1.42-.85,2.12a41.80941,41.80941,0,0,0-8.81-2.12l-.48-.06a27.397,27.397,0,0,0-7.01.06,23.91419,23.91419,0,0,0-17.24,10.66c-4.77,7.51-4.71,18.25,1.98,24.63,6.89,6.57,17.32,6.52,25.43,2.41a28.35124,28.35124,0,0,0,10.52-9.86,50.56939,50.56939,0,0,0,2.74-4.65c.21.14.42.28.63.43.8.56,1.6,1.13,2.39,1.69a111.73777,111.73777,0,0,0,14.51,8.91,108.35887,108.35887,0,0,0,34.62,10.47c.27.03.53.07.8.1,1.33.17,2.67.3,4.01.41a103.78229,103.78229,0,0,0,55.58-11.36q2.175-1.125,4.31-2.36,3.315-1.92,6.48-4.08c1.15-.78,2.27-1.57,3.38-2.4a101.04244,101.04244,0,0,0,13.51-11.95q2.35491-2.475,4.51-5.11005a8.0612,8.0612,0,0,0,2.2-5.3A7.5644,7.5644,0,0,0,432.92309,584.266Zm-165.59,23.82c.21-.15.42-.31.62-.47C267.89312,607.766,267.60308,607.936,267.33312,608.086Zm3.21-3.23c-.23.26-.44.52-.67.78a23.36609,23.36609,0,0,1-2.25,2.2c-.11.1-.23.2-.35.29a.00976.00976,0,0,0-.01.01,3.80417,3.80417,0,0,0-.42005.22q-.645.39-1.31994.72a17.00459,17.00459,0,0,1-2.71.75,16.79925,16.79925,0,0,1-2.13.02h-.02a14.82252,14.82252,0,0,1-1.45-.4c-.24-.12-.47-.25994-.7-.4-.09-.08-.17005-.16-.22-.21a2.44015,2.44015,0,0,1-.26995-.29.0098.0098,0,0,0-.01-.01c-.11005-.2-.23005-.4-.34-.6a.031.031,0,0,1-.01-.02c-.08-.25-.15-.51-.21-.77a12.51066,12.51066,0,0,1,.01-1.37,13.4675,13.4675,0,0,1,.54-1.88,11.06776,11.06776,0,0,1,.69-1.26c.02-.04.12-.2.23-.38.01-.01.01-.01.01-.02.15-.17.3-.35.46-.51.27-.3.56-.56.85-.83a18.02212,18.02212,0,0,1,1.75-1.01,19.48061,19.48061,0,0,1,2.93-.79,24.98945,24.98945,0,0,1,4.41.04,30.30134,30.30134,0,0,1,4.1,1.01,36.94452,36.94452,0,0,1-2.77,4.54C270.6231,604.746,270.58312,604.806,270.54308,604.856Zm-11.12-3.29a2.18029,2.18029,0,0,1-.31.38995A1.40868,1.40868,0,0,1,259.42309,601.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M402.86309,482.136q-.13494,4.71-.27,9.42-.285,10.455-.59,20.92-.315,11.775-.66,23.54-.165,6.07507-.34,12.15-.465,16.365-.92,32.72c-.03,1.13-.07,2.25-.1,3.38q-.225,8.11506-.45,16.23-.255,8.805-.5,17.61-.18,6.59994-.37,13.21-1.34994,47.895-2.7,95.79a7.64844,7.64844,0,0,1-7.5,7.5,7.56114,7.56114,0,0,1-7.5-7.5q.75-26.94,1.52-53.88.675-24.36,1.37-48.72.225-8.025.45-16.06.345-12.09.68-24.18c.03-1.13.07-2.25.1-3.38.02-.99.05-1.97.08-2.96q.66-23.475,1.32-46.96.27-9.24.52-18.49.3-10.545.6-21.08c.09-3.09.17005-6.17.26-9.26a7.64844,7.64844,0,0,1,7.5-7.5A7.56116,7.56116,0,0,1,402.86309,482.136Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M814.29118,484.2172a893.23753,893.23753,0,0,1-28.16112,87.94127c-3.007,7.94641-6.08319,15.877-9.3715,23.71185l.75606-1.7916a54.58274,54.58274,0,0,1-5.58953,10.61184q-.22935.32119-.46685.63642,1.16559-1.49043.4428-.589c-.25405.30065-.5049.60219-.7676.89546a23.66436,23.66436,0,0,1-2.2489,2.20318q-.30139.25767-.61188.5043l.93783-.729c-.10884.25668-.87275.59747-1.11067.74287a18.25362,18.25362,0,0,1-2.40479,1.21853l1.7916-.75606a19.0859,19.0859,0,0,1-4.23122,1.16069l1.9938-.26791a17.02055,17.02055,0,0,1-4.29785.046l1.99379.2679a14.0022,14.0022,0,0,1-3.40493-.917l1.79159.75606a12.01175,12.01175,0,0,1-1.67882-.89614c-.27135-.17688-1.10526-.80852-.01487.02461,1.13336.86595.14562.07434-.08763-.15584-.19427-.19171-.36962-.4-.55974-.595-.88208-.90454.99637,1.55662.39689.49858a18.18179,18.18179,0,0,1-.87827-1.63672l.75606,1.7916a11.92493,11.92493,0,0,1-.728-2.65143l.26791,1.9938a13.65147,13.65147,0,0,1-.00316-3.40491l-.2679,1.9938a15.96371,15.96371,0,0,1,.99486-3.68011l-.75606,1.7916a16.72914,16.72914,0,0,1,1.17794-2.29848,6.72934,6.72934,0,0,1,.72851-1.0714c.04915.01594-1.26865,1.51278-.56937.757.1829-.19767.354-.40592.539-.602.29617-.31382.61354-.60082.92561-.89791,1.04458-.99442-1.46188.966-.25652.17907a19.0489,19.0489,0,0,1,2.74925-1.49923l-1.79159.75606a20.31136,20.31136,0,0,1,4.99523-1.33984l-1.9938.2679a25.62828,25.62828,0,0,1,6.46062.07647l-1.9938-.2679a33.21056,33.21056,0,0,1,7.89178,2.2199l-1.7916-.75606c5.38965,2.31383,10.16308,5.74926,14.928,9.118a111.94962,111.94962,0,0,0,14.50615,8.9065,108.38849,108.38849,0,0,0,34.62226,10.47371,103.93268,103.93268,0,0,0,92.58557-36.75192,8.07773,8.07773,0,0,0,2.1967-5.3033,7.63232,7.63232,0,0,0-2.1967-5.3033c-2.75154-2.52586-7.94926-3.239-10.6066,0a95.63575,95.63575,0,0,1-8.10664,8.72692q-2.01736,1.914-4.14232,3.70983-1.21364,1.02588-2.46086,2.01121c-.3934.31081-1.61863,1.13807.26309-.19744-.43135.30614-.845.64036-1.27058.95478a99.26881,99.26881,0,0,1-20.33215,11.56478l1.79159-.75606a96.8364,96.8364,0,0,1-24.17119,6.62249l1.99379-.2679a97.64308,97.64308,0,0,1-25.75362-.03807l1.99379.2679a99.79982,99.79982,0,0,1-24.857-6.77027l1.7916.75607a116.02515,116.02515,0,0,1-21.7364-12.59112,86.87725,86.87725,0,0,0-11.113-6.99417,42.8238,42.8238,0,0,0-14.43784-4.38851c-9.43884-1.11076-19.0571,2.56562-24.24624,10.72035-4.77557,7.50482-4.71394,18.24362,1.97369,24.62519,6.8877,6.5725,17.31846,6.51693,25.43556,2.40567,7.81741-3.95946,12.51288-12.18539,15.815-19.94186,7.43109-17.45514,14.01023-35.31364,20.1399-53.263q9.09651-26.63712,16.49855-53.81332.91661-3.36581,1.80683-6.73869c1.001-3.78869-1.26094-8.32-5.23829-9.22589a7.63317,7.63317,0,0,0-9.22589,5.23829Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M889.12382,482.13557l-2.69954,95.79311-2.68548,95.29418-1.5185,53.88362a7.56465,7.56465,0,0,0,7.5,7.5,7.64923,7.64923,0,0,0,7.5-7.5l2.69955-95.79311,2.68548-95.29418,1.51849-53.88362a7.56465,7.56465,0,0,0-7.5-7.5,7.64923,7.64923,0,0,0-7.5,7.5Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M629.52566,700.36106h2.32885V594.31942h54.32863v-2.32291H631.85451V547.25214H673.8102q-.92256-1.17339-1.89893-2.31694H631.85451V515.38231c-.7703-.32846-1.54659-.64493-2.32885-.9435V544.9352h-45.652V507.07c-.78227.03583-1.55258.08959-2.3289.15527v37.71h-36.4201V516.68409c-.78227.34636-1.55258.71061-2.31694,1.0928V544.9352h-30.6158v2.31694h30.6158v44.74437h-30.6158v2.32291h30.6158V700.36106h2.31694V594.31942a36.41283,36.41283,0,0,1,36.4201,36.42007v69.62157h2.3289V594.31942h45.652Zm-84.401-108.36455V547.25214h36.4201v44.74437Zm38.749,0V547.25214h.91362a44.74135,44.74135,0,0,1,44.73842,44.74437Z",transform:"translate(-169.93432 -164.42601)",opacity:.2}),g.createElement("path",{d:"M615.30309,668.566a63.05854,63.05854,0,0,1-20.05,33.7c-.74.64-1.48,1.26-2.25,1.87q-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43l-.27.03-.19-1.64-.76-6.64a37.623,37.623,0,0,1-3.3-32.44c2.64-7.12,7.42-13.41,12.12-19.65,6.49-8.62,12.8-17.14,13.03-27.65a60.54415,60.54415,0,0,1,7.9,13.33,16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32a63.99025,63.99025,0,0,1,2.45,12.18A61.18851,61.18851,0,0,1,615.30309,668.566Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M648.50311,642.356c-5.9,4.29-9.35,10.46-12.03,17.26a16.62776,16.62776,0,0,0-7.17,4.58c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39-2.68,8.04-5.14,16.36-9.88,23.15a36.98942,36.98942,0,0,1-12.03,10.91,38.49166,38.49166,0,0,1-4.02,1.99q-7.62.585-14.95,1.25-2.805.25506-5.57.52c-1.53.14-3.04.29-4.54.43q-.015-.825,0-1.65a63.30382,63.30382,0,0,1,15.25-39.86c.45-.52.91-1.03,1.38-1.54a61.7925,61.7925,0,0,1,16.81-12.7A62.65425,62.65425,0,0,1,648.50311,642.356Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),g.createElement("path",{d:"M589.16308,699.526l-1.15,3.4-.58,1.73c-1.53.14-3.04.29-4.54.43l-.27.03c-1.66.17-3.31.34-4.96.51-.43-.5-.86-1.01-1.28-1.53a62.03045,62.03045,0,0,1,8.07-87.11c-1.32,6.91.22,13.53,2.75,20.1-.27.11-.53.22-.78.34a16.432,16.432,0,0,0-5.12,3.76995c-.41.45-.82,1.08-.54,1.62006.24.46.84.57,1.36.62994,1.25.13,2.51.26,3.76.39,1,.11,2,.21,3,.32q.705.075,1.41.15c.07.15.13.29.2.44,2.85,6.18,5.92,12.39,7.65,18.83a43.66591,43.66591,0,0,1,1.02,4.91A37.604,37.604,0,0,1,589.16308,699.526Z",transform:"translate(-169.93432 -164.42601)",fill:"#6c63ff"}),g.createElement("path",{d:"M689.82123,554.48655c-8.60876-16.79219-21.94605-30.92088-37.63219-41.30357a114.2374,114.2374,0,0,0-52.5626-18.37992q-3.69043-.33535-7.399-.39281c-2.92141-.04371-46.866,12.63176-61.58712,22.98214a114.29462,114.29462,0,0,0-35.333,39.527,102.49972,102.49972,0,0,0-12.12557,51.6334,113.56387,113.56387,0,0,0,14.70268,51.47577,110.47507,110.47507,0,0,0,36.44425,38.74592C549.66655,708.561,565.07375,734.51,583.1831,735.426c18.24576.923,39.05418-23.55495,55.6951-30.98707a104.42533,104.42533,0,0,0,41.72554-34.005,110.24964,110.24964,0,0,0,19.599-48.94777c2.57368-18.08313,1.37415-36.73271-4.80123-54.01627a111.85969,111.85969,0,0,0-5.58024-12.9833c-1.77961-3.50519-6.996-4.7959-10.26142-2.69063a7.67979,7.67979,0,0,0-2.69064,10.26142q1.56766,3.08773,2.91536,6.27758l-.75606-1.7916a101.15088,101.15088,0,0,1,6.87641,25.53816l-.26791-1.99379a109.2286,109.2286,0,0,1-.06613,28.68252l.26791-1.9938a109.73379,109.73379,0,0,1-7.55462,27.67419l.75606-1.79159a104.212,104.212,0,0,1-6.67151,13.09835q-1.92308,3.18563-4.08062,6.22159c-.63172.8881-1.28287,1.761-1.939,2.63114-.85625,1.13555,1.16691-1.48321.28228-.36941-.15068.18972-.30049.3801-.45182.5693q-.68121.85165-1.3818,1.68765a93.61337,93.61337,0,0,1-10.17647,10.38359q-1.36615,1.19232-2.77786,2.33115c-.46871.37832-.932.77269-1.42079,1.12472.01861-.0134,1.57956-1.19945.65556-.511-.2905.21644-.57851.43619-.86961.65184q-2.90994,2.1558-5.97433,4.092a103.48509,103.48509,0,0,1-14.75565,7.7131l1.7916-.75606a109.21493,109.21493,0,0,1-27.59663,7.55154l1.9938-.26791a108.15361,108.15361,0,0,1-28.58907.0506l1.99379.2679a99.835,99.835,0,0,1-25.09531-6.78448l1.79159.75607a93.64314,93.64314,0,0,1-13.41605-6.99094q-3.17437-2-6.18358-4.24743c-.2862-.21359-.56992-.43038-.855-.64549-.9155-.69088.65765.50965.67021.51787a19.16864,19.16864,0,0,1-1.535-1.22469q-1.45353-1.18358-2.86136-2.4218a101.98931,101.98931,0,0,1-10.49319-10.70945q-1.21308-1.43379-2.37407-2.91054c-.33524-.4263-.9465-1.29026.40424.5289-.17775-.23939-.36206-.47414-.54159-.71223q-.64657-.85751-1.27568-1.72793-2.203-3.048-4.18787-6.24586a109.29037,109.29037,0,0,1-7.8054-15.10831l.75606,1.7916a106.58753,106.58753,0,0,1-7.34039-26.837l.26791,1.9938a97.86589,97.86589,0,0,1-.04843-25.63587l-.2679,1.9938A94.673,94.673,0,0,1,505.27587,570.55l-.75606,1.7916a101.55725,101.55725,0,0,1,7.19519-13.85624q2.0655-3.32328,4.37767-6.4847.52528-.71832,1.06244-1.42786c.324-.4279,1.215-1.49333-.30537.38842.14906-.18449.29252-.37428.43942-.56041q1.26882-1.60756,2.59959-3.1649A107.40164,107.40164,0,0,1,530.772,536.21508q1.47408-1.29171,2.99464-2.52906.6909-.56218,1.39108-1.11284c.18664-.14673.37574-.29073.56152-.43858-1.99743,1.58953-.555.43261-.10157.09288q3.13393-2.34833,6.43534-4.46134a103.64393,103.64393,0,0,1,15.38655-8.10791l-1.7916.75606c7.76008-3.25839,42.14086-10.9492,48.394-10.10973l-1.99379-.26791A106.22471,106.22471,0,0,1,628.768,517.419l-1.7916-.75606a110.31334,110.31334,0,0,1,12.6002,6.32922q3.04344,1.78405,5.96742,3.76252,1.38351.93658,2.73809,1.915.677.48917,1.34626.98885c.24789.185.49386.37253.74135.558,1.03924.779-1.43148-1.1281-.34209-.26655a110.84261,110.84261,0,0,1,10.36783,9.2532q2.401,2.445,4.63686,5.04515,1.14659,1.33419,2.24643,2.70757c.36436.45495,1.60506,2.101.08448.08457.37165.49285.74744.98239,1.11436,1.47884a97.97718,97.97718,0,0,1,8.39161,13.53807c1.79317,3.49775,6.98675,4.80186,10.26142,2.69064A7.67666,7.67666,0,0,0,689.82123,554.48655Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M602.43116,676.88167a3.77983,3.77983,0,0,1-2.73939-6.55137c.09531-.37882.16368-.65085.259-1.02968q-.05115-.12366-.1029-.24717c-3.47987-8.29769-25.685,14.83336-26.645,22.63179a30.029,30.029,0,0,0,.52714,10.32752A120.39223,120.39223,0,0,1,562.77838,652.01a116.20247,116.20247,0,0,1,.72078-12.96332q.59712-5.293,1.65679-10.51055a121.78667,121.78667,0,0,1,24.1515-51.61646c6.87378.38364,12.898-.66348,13.47967-13.98532.10346-2.36972,1.86113-4.42156,2.24841-6.756-.65621.08607-1.32321.13985-1.97941.18285-.20444.0107-.41958.02149-.624.03228l-.07709.00346a3.745,3.745,0,0,1-3.07566-6.10115q.425-.52305.85054-1.04557c.43036-.53793.87143-1.06507,1.30171-1.60292a1.865,1.865,0,0,0,.13986-.16144c.49494-.61322.98971-1.21564,1.48465-1.82885a10.82911,10.82911,0,0,0-3.55014-3.43169c-4.95941-2.90463-11.80146-.89293-15.38389,3.59313-3.59313,4.486-4.27083,10.77947-3.023,16.3843a43.39764,43.39764,0,0,0,6.003,13.3828c-.269.34429-.54872.67779-.81765,1.02209a122.57366,122.57366,0,0,0-12.79359,20.2681c1.0163-7.93863-11.41159-36.60795-16.21776-42.68052-5.773-7.29409-17.61108-4.11077-18.62815,5.13562q-.01476.13428-.02884.26849,1.07082.60411,2.0964,1.28237a5.12707,5.12707,0,0,1-2.06713,9.33031l-.10452.01613c-9.55573,13.64367,21.07745,49.1547,28.74518,41.18139a125.11045,125.11045,0,0,0-6.73449,31.69282,118.66429,118.66429,0,0,0,.08607,19.15986l-.03231-.22593C558.90163,648.154,529.674,627.51374,521.139,629.233c-4.91675.99041-9.75952.76525-9.01293,5.72484q.01788.11874.03635.2375a34.4418,34.4418,0,0,1,3.862,1.86105q1.07082.60423,2.09639,1.28237a5.12712,5.12712,0,0,1-2.06712,9.33039l-.10464.01606c-.07528.01079-.13987.02157-.21507.03237-4.34967,14.96631,27.90735,39.12,47.5177,31.43461h.01081a125.07484,125.07484,0,0,0,8.402,24.52806H601.679c.10765-.3335.20443-.67779.3013-1.01129a34.102,34.102,0,0,1-8.30521-.49477c2.22693-2.73257,4.45377-5.48664,6.6807-8.21913a1.86122,1.86122,0,0,0,.13986-.16135c1.12956-1.39849,2.26992-2.78627,3.39948-4.18476l.00061-.00173a49.95232,49.95232,0,0,0-1.46367-12.72495Zm-34.37066-67.613.0158-.02133-.0158.04282Zm-6.64832,59.93237-.25822-.58084c.01079-.41957.01079-.83914,0-1.26942,0-.11845-.0215-.23672-.0215-.35508.09678.74228.18285,1.48464.29042,2.22692Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("circle",{cx:95.24878,cy:439,r:11,fill:"#3f3d56"}),g.createElement("circle",{cx:227.24878,cy:559,r:11,fill:"#3f3d56"}),g.createElement("circle",{cx:728.24878,cy:559,r:11,fill:"#3f3d56"}),g.createElement("circle",{cx:755.24878,cy:419,r:11,fill:"#3f3d56"}),g.createElement("circle",{cx:723.24878,cy:317,r:11,fill:"#3f3d56"}),g.createElement("path",{d:"M434.1831,583.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,434.1831,583.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("circle",{cx:484.24878,cy:349,r:11,fill:"#3f3d56"}),g.createElement("path",{d:"M545.1831,513.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,545.1831,513.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("path",{d:"M403.1831,481.426a10.949,10.949,0,1,1-.21-2.16A10.9921,10.9921,0,0,1,403.1831,481.426Z",transform:"translate(-169.93432 -164.42601)",fill:"#3f3d56"}),g.createElement("circle",{cx:599.24878,cy:443,r:11,fill:"#3f3d56"}),g.createElement("circle",{cx:426.24878,cy:338,r:16,fill:"#3f3d56"}),g.createElement("path",{d:"M1028.875,735.26666l-857.75.30733a1.19068,1.19068,0,1,1,0-2.38136l857.75-.30734a1.19069,1.19069,0,0,1,0,2.38137Z",transform:"translate(-169.93432 -164.42601)",fill:"#cacaca"})),XL=g.forwardRef(KL),$L=()=>h.jsx("div",{className:"not-found",children:h.jsx(XL,{})}),ek=()=>{const{path:t}=oi(),e=kt();return g.useEffect(()=>{const a=decodeURIComponent(t);e(a)},[t,e]),h.jsx(Sn,{})},tk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:305,height:212,viewBox:"0 0 305 212",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M46.4492 47.0404C57.0249 42.5465 70.1971 45.3938 83.0611 47.3699C83.1808 44.9768 84.6318 42.0643 83.1119 40.3948C81.2653 38.3664 81.4353 36.2352 82.5465 34.0917C85.388 28.6105 81.3169 22.7781 77.2064 17.9286C76.2799 16.838 75.109 15.9811 73.7887 15.4275C72.4685 14.8739 71.0362 14.6392 69.6081 14.7425L61.9937 15.2859C60.1408 15.4181 58.3725 16.1125 56.9255 17.2761C55.4784 18.4398 54.4216 20.0172 53.8964 21.7973C52.0783 24.2677 51.1051 26.7312 51.7178 29.182C48.9945 31.0412 48.5369 33.2856 49.7607 35.8157C50.7984 37.4088 50.7873 38.9594 49.7135 40.4672C48.3032 42.3895 47.223 44.5329 46.5173 46.8096L46.4492 47.0404Z",fill:"#2F2E41"}),g.createElement("path",{d:"M297.773 183.271H82.2273C80.3105 183.271 78.4722 182.51 77.1168 181.156C75.7614 179.802 75 177.965 75 176.05C153.135 166.978 229.802 166.978 305 176.05C305 177.965 304.239 179.802 302.883 181.156C301.528 182.51 299.689 183.271 297.773 183.271Z",fill:"#2F2E41"}),g.createElement("path",{d:"M305 176.474L75 176.049L101.656 131.24L101.784 131.028V32.2739C101.784 31.0753 102.02 29.8883 102.479 28.7809C102.938 27.6734 103.611 26.6672 104.459 25.8196C105.308 24.972 106.315 24.2997 107.424 23.8411C108.532 23.3824 109.72 23.1464 110.92 23.1465H267.805C269.004 23.1464 270.193 23.3824 271.301 23.8411C272.41 24.2997 273.417 24.972 274.265 25.8196C275.114 26.6672 275.786 27.6734 276.246 28.7809C276.705 29.8883 276.941 31.0753 276.941 32.2739V131.707L305 176.474Z",fill:"#3F3D56"}),g.createElement("path",{d:"M110.708 29.5195C109.919 29.5204 109.163 29.8339 108.605 30.3913C108.047 30.9487 107.733 31.7044 107.732 32.4926V122.535C107.733 123.323 108.047 124.079 108.605 124.636C109.163 125.194 109.919 125.507 110.708 125.508H269.285C270.074 125.507 270.83 125.194 271.388 124.636C271.946 124.079 272.26 123.323 272.261 122.535V32.4926C272.26 31.7044 271.946 30.9487 271.388 30.3914C270.831 29.834 270.074 29.5205 269.285 29.5195H110.708Z",fill:"white"}),g.createElement("path",{d:"M111.378 137.398C111.134 137.399 110.895 137.469 110.69 137.6C110.485 137.732 110.321 137.919 110.219 138.14L102.005 155.979C101.916 156.173 101.877 156.386 101.892 156.599C101.907 156.813 101.975 157.019 102.09 157.199C102.206 157.379 102.364 157.527 102.552 157.629C102.74 157.732 102.95 157.785 103.164 157.785H275.892C276.109 157.785 276.323 157.73 276.513 157.624C276.703 157.518 276.862 157.366 276.977 157.181C277.091 156.996 277.156 156.785 277.166 156.568C277.175 156.351 277.129 156.136 277.032 155.941L268.104 138.103C267.999 137.891 267.836 137.712 267.635 137.588C267.433 137.463 267.201 137.398 266.964 137.398H111.378Z",fill:"#2F2E41"}),g.createElement("path",{d:"M189.362 28.0315C190.419 28.0315 191.275 27.1758 191.275 26.1203C191.275 25.0647 190.419 24.209 189.362 24.209C188.306 24.209 187.449 25.0647 187.449 26.1203C187.449 27.1758 188.306 28.0315 189.362 28.0315Z",fill:"white"}),g.createElement("path",{d:"M172.386 161.186C172.106 161.186 171.834 161.278 171.611 161.449C171.389 161.619 171.228 161.858 171.155 162.128L169.095 169.773C169.044 169.962 169.037 170.16 169.075 170.352C169.113 170.544 169.195 170.725 169.314 170.88C169.433 171.035 169.586 171.161 169.762 171.247C169.937 171.334 170.13 171.379 170.326 171.379H209.508C209.712 171.379 209.912 171.33 210.093 171.237C210.274 171.144 210.429 171.009 210.547 170.844C210.665 170.678 210.742 170.487 210.771 170.286C210.8 170.085 210.78 169.88 210.713 169.688L208.064 162.043C207.978 161.793 207.815 161.576 207.599 161.422C207.383 161.268 207.124 161.186 206.859 161.186H172.386Z",fill:"#2F2E41"}),g.createElement("path",{d:"M276.943 129.543V131.242H101.658L101.79 131.03V129.543H276.943Z",fill:"#2F2E41"}),g.createElement("path",{d:"M272.053 59.4621C288.489 59.4621 301.812 46.151 301.812 29.731C301.812 13.311 288.489 0 272.053 0C255.617 0 242.293 13.311 242.293 29.731C242.293 46.151 255.617 59.4621 272.053 59.4621Z",fill:"#008939"}),g.createElement("path",{d:"M284.382 42.6852H259.724C259.273 42.6848 258.841 42.5057 258.522 42.1871C258.203 41.8686 258.024 41.4368 258.023 40.9863V26.1208C258.024 25.6704 258.203 25.2385 258.522 24.92C258.841 24.6015 259.273 24.4224 259.724 24.4219H284.382C284.833 24.4224 285.265 24.6015 285.584 24.92C285.903 25.2385 286.082 25.6704 286.083 26.1208V40.9863C286.082 41.4367 285.903 41.8686 285.584 42.1871C285.265 42.5057 284.833 42.6848 284.382 42.6852ZM259.724 26.1208V40.9863H284.383L284.382 26.1208L259.724 26.1208Z",fill:"white"}),g.createElement("path",{d:"M279.705 26.1203H264.4V19.3247C264.4 14.4025 267.619 10.8301 272.053 10.8301C276.487 10.8301 279.705 14.4025 279.705 19.3247L279.705 26.1203ZM266.101 24.4214H278.005V19.3247C278.005 15.3235 275.557 12.529 272.053 12.529C268.548 12.529 266.101 15.3235 266.101 19.3247L266.101 24.4214Z",fill:"white"}),g.createElement("path",{d:"M272.052 34.8295C272.991 34.8295 273.753 34.0688 273.753 33.1306C273.753 32.1923 272.991 31.4316 272.052 31.4316C271.113 31.4316 270.352 32.1923 270.352 33.1306C270.352 34.0688 271.113 34.8295 272.052 34.8295Z",fill:"white"}),g.createElement("path",{d:"M251.28 94.9663H128.727C128.125 94.9656 127.548 94.7265 127.123 94.3014C126.697 93.8764 126.458 93.3001 126.457 92.699V62.3279C126.458 61.7268 126.697 61.1505 127.123 60.7254C127.548 60.3004 128.125 60.0613 128.727 60.0605H251.28C251.882 60.0613 252.459 60.3004 252.884 60.7254C253.31 61.1505 253.549 61.7268 253.55 62.3279V92.699C253.549 93.3001 253.31 93.8764 252.884 94.3014C252.459 94.7265 251.882 94.9656 251.28 94.9663ZM128.727 60.9675C128.366 60.9679 128.019 61.1113 127.764 61.3664C127.509 61.6214 127.365 61.9672 127.365 62.3279V92.699C127.365 93.0596 127.509 93.4054 127.764 93.6605C128.019 93.9155 128.366 94.059 128.727 94.0594H251.28C251.641 94.059 251.987 93.9155 252.243 93.6605C252.498 93.4054 252.642 93.0596 252.642 92.699V62.3279C252.642 61.9672 252.498 61.6214 252.243 61.3664C251.987 61.1113 251.641 60.9679 251.28 60.9675L128.727 60.9675Z",fill:"#E6E6E6"}),g.createElement("path",{d:"M147.766 85.585C152.872 85.585 157.011 81.45 157.011 76.3492C157.011 71.2483 152.872 67.1133 147.766 67.1133C142.661 67.1133 138.521 71.2483 138.521 76.3492C138.521 81.45 142.661 85.585 147.766 85.585Z",fill:"#E6E6E6"}),g.createElement("path",{d:"M169.115 70.1914C168.913 70.1911 168.712 70.2307 168.525 70.3079C168.338 70.3851 168.168 70.4984 168.024 70.6414C167.881 70.7844 167.767 70.9542 167.69 71.1411C167.612 71.328 167.572 71.5284 167.572 71.7307C167.572 71.9331 167.612 72.1334 167.69 72.3204C167.767 72.5073 167.881 72.6771 168.024 72.82C168.168 72.963 168.338 73.0763 168.525 73.1536C168.712 73.2308 168.913 73.2704 169.115 73.27H241.753C242.162 73.27 242.554 73.1079 242.843 72.8192C243.132 72.5305 243.294 72.139 243.294 71.7307C243.294 71.3225 243.132 70.9309 242.843 70.6423C242.554 70.3536 242.162 70.1914 241.753 70.1914H169.115Z",fill:"#E6E6E6"}),g.createElement("path",{d:"M169.113 79.4277C168.704 79.4277 168.313 79.5899 168.024 79.8786C167.735 80.1673 167.572 80.5588 167.572 80.967C167.572 81.3753 167.735 81.7668 168.024 82.0555C168.313 82.3442 168.704 82.5064 169.113 82.5064H200.369C200.778 82.5064 201.17 82.3442 201.459 82.0555C201.748 81.7668 201.91 81.3753 201.91 80.967C201.91 80.5588 201.748 80.1673 201.459 79.8786C201.17 79.5899 200.778 79.4277 200.369 79.4277H169.113Z",fill:"#E6E6E6"}),g.createElement("path",{d:"M101.354 80.0472L78.6989 92.0801L78.4121 82.0527C85.8065 80.8195 92.8416 78.6724 99.3465 75.1768L101.716 69.3286C101.974 68.6913 102.394 68.1321 102.934 67.7058C103.473 67.2795 104.115 67.0008 104.795 66.897C105.476 66.7932 106.171 66.8679 106.814 67.1138C107.456 67.3598 108.024 67.7684 108.461 68.2996C109.1 69.0769 109.419 70.0677 109.354 71.0715C109.289 72.0752 108.845 73.0168 108.111 73.7055L101.354 80.0472Z",fill:"#FFB8B8"}),g.createElement("path",{d:"M46.0025 149.523C45.8372 148.917 45.8021 148.284 45.8995 147.664C45.9969 147.043 46.2246 146.451 46.5676 145.925L51.5443 138.295C52.7213 136.49 54.5275 135.187 56.6123 134.637C58.6971 134.088 60.9119 134.331 62.8269 135.321C60.7354 138.878 61.027 141.998 63.5493 144.71C59.6337 146.619 56.0148 149.084 52.8046 152.028C52.2186 152.427 51.5456 152.68 50.8416 152.767C50.1377 152.853 49.4232 152.771 48.7577 152.526C48.0922 152.281 47.495 151.88 47.0157 151.358C46.5365 150.836 46.1891 150.206 46.0025 149.523Z",fill:"#2F2E41"}),g.createElement("path",{d:"M102.386 139.547C101.633 140.8 100.57 141.84 99.2992 142.565C98.0282 143.291 96.592 143.677 95.1283 143.688L62.0667 143.939L60.6328 135.63L75.2582 131.333L62.927 121.878L76.4053 106.121L100.886 128.916C102.317 130.248 103.247 132.031 103.52 133.966C103.793 135.901 103.393 137.871 102.386 139.547Z",fill:"#2F2E41"}),g.createElement("path",{d:"M56.9026 196.365H49.1598C42.2078 148.758 35.1314 101.018 56.0423 83.1992L80.7047 87.2102L77.5503 108.124L63.7852 123.882L56.9026 196.365Z",fill:"#2F2E41"}),g.createElement("path",{d:"M63.7118 207.15C63.1056 207.315 62.4714 207.35 61.8507 207.253C61.23 207.156 60.6369 206.928 60.1105 206.586L51.7034 205.457C49.8969 204.281 48.5919 202.477 48.0418 200.394C47.4916 198.311 47.7355 196.098 48.7261 194.185C52.2864 196.274 55.4096 195.983 58.1236 193.463C60.0413 197.331 63.2009 197.095 66.2184 200.354C66.618 200.94 66.8717 201.612 66.9585 202.315C67.0453 203.019 66.9626 203.732 66.7174 204.397C66.4721 205.062 66.0714 205.659 65.5486 206.138C65.0258 206.616 64.396 206.964 63.7118 207.15Z",fill:"#2F2E41"}),g.createElement("path",{d:"M75.2566 51.3991L60.918 47.9611C63.2994 43.0913 63.4955 37.6725 62.3518 31.9174L72.1021 31.6309C72.4076 38.7876 73.3319 45.4737 75.2566 51.3991Z",fill:"#FFB8B8"}),g.createElement("path",{d:"M79.2016 95.8389C68.7636 102.945 61.3884 96.082 55.7603 85.4937C56.5424 79.0146 55.2761 71.2611 52.9308 62.8362C51.8878 59.1203 52.2772 55.1487 54.0221 51.7055C55.7671 48.2624 58.7407 45.598 62.3561 44.2383L74.6873 49.3952C85.1579 57.9218 87.2188 67.1577 83.2904 76.8989L79.2016 95.8389Z",fill:"#008939"}),g.createElement("path",{d:"M49.1614 58.5627L37.6905 64.5792L58.0513 76.612L60.8844 83.5935C61.0735 84.0595 61.1656 84.5591 61.1551 85.0618C61.1446 85.5645 61.0318 86.0598 60.8235 86.5175C60.6151 86.9752 60.3156 87.3858 59.9433 87.7241C59.571 88.0624 59.1336 88.3214 58.6577 88.4853C58.1169 88.6716 57.5402 88.7304 56.9728 88.6568C56.4054 88.5833 55.8628 88.3796 55.3874 88.0616C54.912 87.7436 54.5167 87.32 54.2326 86.8239C53.9484 86.3278 53.7831 85.7728 53.7495 85.2022L53.463 80.3364L27.5846 71.8048C26.7127 71.5174 25.9177 71.0354 25.2598 70.3956C24.6019 69.7557 24.0984 68.9747 23.7874 68.1116C23.3341 66.8536 23.311 65.481 23.7218 64.2084C24.1326 62.9359 24.954 61.8354 26.0576 61.079L46.8672 46.8164L49.1614 58.5627Z",fill:"#FFB8B8"}),g.createElement("path",{d:"M60.6361 59.708C55.852 57.6134 51.5017 59.8887 46.0107 61.7134L45.1504 46.5291C50.6027 43.6259 55.8012 42.8432 60.6361 45.0967L60.6361 59.708Z",fill:"#008939"}),g.createElement("path",{d:"M66.3578 39.153C71.4138 39.153 75.5124 35.0583 75.5124 30.0072C75.5124 24.9561 71.4138 20.8613 66.3578 20.8613C61.3018 20.8613 57.2031 24.9561 57.2031 30.0072C57.2031 35.0583 61.3018 39.153 66.3578 39.153Z",fill:"#FFB8B8"}),g.createElement("path",{d:"M77.3084 28.8531C68.2445 29.74 61.3379 28.259 56.9238 24.0423V20.6465H76.5392L77.3084 28.8531Z",fill:"#2F2E41"})),fC=g.forwardRef(tk),dC=t=>h.jsx("div",{className:"background",children:t.children}),nk=()=>{const t=kt(),{config:e}=Pe(i=>i),a=()=>{const i=document.createElement("a");i.href=S.t("landing.institutions.contactMail"),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)};return h.jsxs("div",{className:"about-container",children:[h.jsxs("div",{className:"about",children:[h.jsxs("div",{className:"top",children:[h.jsx("h1",{className:"title large",children:S.t("landing.header.title")}),h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("landing.header.subTitle")}})]}),h.jsx(fC,{})]}),h.jsx(dC,{children:h.jsxs("div",{className:"cards",children:[h.jsxs("div",{className:"card",children:[h.jsx("h3",{children:S.t("landing.applicationProviders.title")}),S.translations[S.locale].landing.applicationProviders.info.map((i,s)=>h.jsx("p",{dangerouslySetInnerHTML:{__html:i}},s)),h.jsx(at,{onClick:()=>t("/connect"),txt:S.t("landing.applicationProviders.connect")})]}),h.jsxs("div",{className:"card",children:[h.jsx("h3",{children:S.t("landing.institutions.title")}),S.translations[S.locale].landing.institutions.info.map((i,s)=>h.jsx("p",{dangerouslySetInnerHTML:{__html:i}},s)),h.jsx(at,{onClick:()=>a(),type:vt.Secondary,txt:S.t("landing.institutions.contact")})]}),h.jsxs("div",{className:"card",children:[h.jsx("h3",{children:S.t("landing.joining.title")}),S.translations[S.locale].landing.joining.info.map((i,s)=>h.jsx("p",{dangerouslySetInnerHTML:{__html:i}},s)),h.jsxs("p",{className:"links",children:[h.jsx("span",{children:S.t("landing.joining.links.prefix")}),h.jsx(zi,{to:"/institutions",children:S.t("landing.joining.links.institutions",{nbr:e.stats.saml20_idp})}),h.jsx("span",{children:S.t("landing.joining.links.or")}),h.jsx(zi,{to:"/applications",children:S.t("landing.joining.links.applications",{nbr:e.stats.saml20_sp+e.stats.oidc10_rp})})]})]})]})})]})},hC=()=>{const t=a=>i=>{Ra(i),rC.set("lang",a,{expires:356,secure:document.location.protocol.endsWith("https")}),S.locale=a,window.location.search=tL(window.location.search,"lang",a)},e=a=>h.jsx("a",{href:"locale",className:`${S.locale===a?"is-active":"not-active"}`,title:S.t("footer.select_locale"),onClick:t(a),children:S.translations[a].code});return h.jsx("nav",{className:"sds--language-switcher sds--text--body--small","aria-label":"Language",children:h.jsxs("ul",{children:[h.jsxs("li",{children:[e("nl"),h.jsx("span",{className:"sds--language-sds--divider",children:"|"})]}),h.jsx("li",{children:e("en")})]})})},ak=()=>h.jsx("footer",{className:"sds--footer sds--footer--single-bar",children:h.jsx("div",{className:"sds--page-container",children:h.jsxs("div",{className:"sds--footer--inner",children:[h.jsx("nav",{className:"menu sds--text--body--small",children:h.jsxs("ul",{children:[h.jsx("li",{children:h.jsx("a",{className:"external-link",href:S.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx("span",{children:S.t("footer.terms")})})}),h.jsx("li",{children:h.jsx("a",{className:"external-link",href:S.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx("span",{children:S.t("footer.privacy")})})})]})}),h.jsx(hC,{}),h.jsx("div",{className:"sds--branding",children:h.jsx("a",{href:S.t("footer.surfLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx(cA,{label:"",position:uA.Bottom})})})]})})}),rk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:184,height:130,viewBox:"0 0 184 130",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("rect",{x:.75,width:182.5,height:130,fill:"url(#pattern0_1916_7419)"}),g.createElement("defs",null,g.createElement("pattern",{id:"pattern0_1916_7419",patternContentUnits:"objectBoundingBox",width:1,height:1},g.createElement("use",{xlinkHref:"#image0_1916_7419",transform:"matrix(0.00253406 0 0 0.00355743 -0.312612 -0.302885)"})),g.createElement("image",{id:"image0_1916_7419",width:640,height:373,preserveAspectRatio:"none",xlinkHref:"data:image/png;base64, "}))),ik=g.forwardRef(rk),sk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"image-not-found",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 115.19 123.38",style:{enableBackground:"new 0 0 115.19 123.38"},xmlSpace:"preserve",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("style",{type:"text/css"},".st0{fill-rule:evenodd;clip-rule:evenodd;stroke:#000000;stroke-width:0.5;stroke-miterlimit:2.6131;}"),g.createElement("g",null,g.createElement("path",{className:"st0",d:"M93.13,79.5c12.05,0,21.82,9.77,21.82,21.82c0,12.05-9.77,21.82-21.82,21.82c-12.05,0-21.82-9.77-21.82-21.82 C71.31,89.27,81.08,79.5,93.13,79.5L93.13,79.5z M8.08,0.25h95.28c2.17,0,4.11,0.89,5.53,2.3c1.42,1.42,2.3,3.39,2.3,5.53v70.01 c-2.46-1.91-5.24-3.44-8.25-4.48V9.98c0-0.43-0.16-0.79-0.46-1.05c-0.26-0.26-0.66-0.46-1.05-0.46H9.94 c-0.43,0-0.79,0.16-1.05,0.46C8.63,9.19,8.43,9.58,8.43,9.98v70.02h0.03l31.97-30.61c1.28-1.18,3.29-1.05,4.44,0.23 c0.03,0.03,0.03,0.07,0.07,0.07l26.88,31.8c-4.73,5.18-7.62,12.08-7.62,19.65c0,3.29,0.55,6.45,1.55,9.4H8.08 c-2.17,0-4.11-0.89-5.53-2.3s-2.3-3.39-2.3-5.53V8.08c0-2.17,0.89-4.11,2.3-5.53S5.94,0.25,8.08,0.25L8.08,0.25z M73.98,79.35 l3.71-22.79c0.3-1.71,1.91-2.9,3.62-2.6c0.66,0.1,1.25,0.43,1.71,0.86l17.1,17.97c-2.18-0.52-4.44-0.79-6.78-0.79 C85.91,71.99,79.13,74.77,73.98,79.35L73.98,79.35z M81.98,18.19c3.13,0,5.99,1.28,8.03,3.32c2.07,2.07,3.32,4.9,3.32,8.03 c0,3.13-1.28,5.99-3.32,8.03c-2.07,2.07-4.9,3.32-8.03,3.32c-3.13,0-5.99-1.28-8.03-3.32c-2.07-2.07-3.32-4.9-3.32-8.03 c0-3.13,1.28-5.99,3.32-8.03C76.02,19.44,78.86,18.19,81.98,18.19L81.98,18.19z M85.82,88.05l19.96,21.6 c1.58-2.39,2.5-5.25,2.5-8.33c0-8.36-6.78-15.14-15.14-15.14C90.48,86.17,87.99,86.85,85.82,88.05L85.82,88.05z M100.44,114.58 l-19.96-21.6c-1.58,2.39-2.5,5.25-2.5,8.33c0,8.36,6.78,15.14,15.14,15.14C95.78,116.46,98.27,115.78,100.44,114.58L100.44,114.58z"}))),u5=g.forwardRef(sk),lk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M.8.8l10.7 10.7c.1.1.1.2.2.2 0 .1.1.2.1.3s0 .2-.1.3c0 .1-.1.2-.2.2L.8 23.2"})),ul=g.forwardRef(lk),ok=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"menu-icon",width:20,height:5,viewBox:"0 0 20 5",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M2.5 5C3.88071 5 5 3.88071 5 2.5C5 1.11929 3.88071 0 2.5 0C1.11929 0 0 1.11929 0 2.5C0 3.88071 1.11929 5 2.5 5Z",fill:"#050E1D"}),g.createElement("path",{d:"M9.78906 5C11.1698 5 12.2891 3.88071 12.2891 2.5C12.2891 1.11929 11.1698 0 9.78906 0C8.40835 0 7.28906 1.11929 7.28906 2.5C7.28906 3.88071 8.40835 5 9.78906 5Z",fill:"#050E1D"}),g.createElement("path",{d:"M17.082 5C18.4627 5 19.582 3.88071 19.582 2.5C19.582 1.11929 18.4627 0 17.082 0C15.7013 0 14.582 1.11929 14.582 2.5C14.582 3.88071 15.7013 5 17.082 5Z",fill:"#050E1D"})),Ts=g.forwardRef(ok),ck=({title:t,titleId:e,...a},i)=>g.createElement("svg",{id:"bin",className:"bin-svg",xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M.8 3.8h21m-8.3-3H9c-.4 0-.8.2-1.1.4-.2.3-.4.7-.4 1v1.5H15V2.2c0-.4-.2-.8-.4-1.1-.3-.2-.7-.3-1.1-.3zM9 16.5V9m4.5 7.5V9m4.6 11.4c0 .4-.2.7-.5 1s-.6.4-1 .4H5.9c-.4 0-.7-.1-1-.4s-.4-.6-.5-1L3 3.8h16.5l-1.4 16.6z",fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),vl=g.forwardRef(ck);function Cr({cancel:t,confirm:e,question:a="",isError:i=!1,disabledConfirm:s=!1,children:o=null,confirmationTxt:u=null,largeWidth:d=!1,confirmationHeader:f=null}){const[m,y]=g.useState(!1);return h.jsx(fA,{confirm:()=>{y(!0),e()},cancel:t,alertType:null,question:a,isError:i,children:o,title:f,cancelButtonLabel:S.t("confirmationDialog.cancel"),confirmationButtonLabel:u,confirmDisabled:s||m&&t,subTitle:null,full:d})}const uk=({organization:t,setLoading:e,refreshUser:a})=>{const[i,s]=g.useState(!1),[o,u]=g.useState({}),d=kt(),f=(M,O)=>{Ra(M),O?u({open:!0,cancel:()=>u({open:!1}),action:()=>f(null,!1),question:S.t("organization.deleteConfirmation",{name:t.name}),okButton:S.t("forms.delete")}):(e(!0),o5(t.id).then(()=>{u({}),Pe.setState({currentOrganization:{name:""},menuItems:["allApps"]}),a(),setTimeout(()=>d("/home"),350)}))},m=()=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsx("ul",{children:h.jsxs("li",{onClick:M=>f(M,!0),children:[h.jsx(vl,{}),h.jsx("a",{href:"/delete",onClick:M=>f(M,!0),children:S.t("forms.delete")})]})})}),{open:y,cancel:b,action:C,question:A,okButton:I}=o;return h.jsxs("div",{className:"application-connection-header-container",children:[y&&h.jsx(Cr,{confirm:C,cancel:b,confirmationHeader:S.t("forms.delete"),confirmationTxt:I,question:A}),h.jsxs("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>s(!1),475),children:[h.jsx("h1",{children:S.t("organization.applicationManagement")}),h.jsxs("span",{className:`menu ${i?"drop-down":""}`,onClick:()=>s(!i),children:[h.jsx(Ts,{}),i&&m()]})]})]})},s6=/^[+a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.?[a-zA-Z]{2,16}$/,ff=/(https?|ssh|ftp):\/\/(((www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.?[a-z]{0,63})|(localhost))\b([-a-zA-Z0-9@:%_+.~#?&/=]*)/i,il=t=>ne(t)||ff.test(t)&&(t.startsWith("https")||t.startsWith("http://localhost")||t.startsWith("http://127.0.0.1")),fk=t=>ne(t)||s6.test(t),dk=(t,e,a)=>{const{motivations:i,additionalAttributes:s,profile:o,profileMotivation:u}=e,d=a.profiles.find(b=>b.name===o.value),f=d.attributes.concat(s),y=a.attributes.filter(b=>f.includes(b.name)).reduce((b,C)=>(b[C.urn]=[{source:C.overrideSource||"idp",value:"*",motivation:i[C.name]||"Default for profile"}],b),{});return{...e,application:{id:t.id},protocol:e.protocol.value,metaData:{redirectUrls:e.redirectUrls,entityID:e.entityID,grantTypes:e.grantTypes,acsLocations:e.acsLocations,contactPersons:e.contactPersons,allowedEntities:e.allowedEntities,pkce:e.pkce,secret:e.secret,visibility:e.visibility,connectOption:e.connectOption,refreshTokenValidity:e.refreshTokenValidity,claimsInIdToken:e.claimsInIdToken,arp:{attributes:y,profile:d.name,motivation:u,enabled:!0}}}},W1=(t,e,a,i)=>{const{arp:s}=t.metaData,{profile:o,attributes:u,motivation:d}=s,f=e.find(R=>R.value===t.protocol),m=i.profiles.find(R=>R.name===o).attributes,b=i.attributes.filter(R=>m.includes(R.name)).map(R=>R.urn),C=Object.keys(u).filter(R=>!b.includes(R)),A=i.attributes.filter(R=>C.includes(R.urn)),I=A.map(R=>R.name),M=C.reduce((R,x)=>{const j=A.find(U=>U.urn===x);return R[j.name]=u[x][0].motivation,R},{}),O=a.find(R=>R.value===o);return{...t,...t.metaData,protocol:f,additionalAttributes:I,profile:O,motivations:M,profileMotivation:d}},hk=()=>"SURFACCESS-"+crypto.randomUUID(),l6={visible_to_all:"visible_to_all",visible_to_none:"visible_to_none"},Q1={connect_with_interaction:"connect_with_interaction",connect_without_interaction_with_email:"connect_without_interaction_with_email",connect_without_interaction_without_email:"connect_without_interaction_without_email"},oo=t=>!ne(t?.logoUrl)&&["descriptionEN","descriptionNL","webSite"].every(e=>!ne(t?.information?.[e]))&&il(t?.information?.webSite),co=t=>["technical","support","administrative"].every(e=>{const a=(t?.contactPersons||[]).find(i=>i.type===e);return!ne(a?.name)&&!ne(a?.email)}),uo=(t,e)=>{const a=t.filter(o=>o.required),s=t.filter(o=>o.format).map(o=>o.name).some(o=>!il(e?.privacy?.[o]));return a.map(o=>o.name).every(o=>!ne(e?.privacy?.[o]))&&!s},Ao=(t,e,a,i)=>(t.metaData.contactPersons=(t.metaData.contactPersons||[]).map(o=>({type:o.type,email:o.email,name:`${o.givenName} ${o.surName}`})),{...t,connections:ne(e)?t.connections||[]:(t.connections||[]).map(o=>W1(o,e,a,i)),information:{},contactPersons:[],privacy:{dpa_type:"dpa_supplied_by_service"},...t.metaData}),mC=t=>{const e=t.contactPersons.map(a=>{const i=a.name.split(" ");return{type:a.type,email:a.email,givenName:i[0],surName:i.slice(1).join(" ")}});return{...t,connections:null,applicationMemberships:null,metaData:{information:t.information,contactPersons:e,privacy:t.privacy}}},pC=(t,e)=>{const a=e.data.metaDataFields,i=t==="en"?a["name:en"]:a["name:nl"]||a["name:en"],s=t==="en"?a["OrganizationName:en"]:a["OrganizationName:nl"]||a["OrganizationName:en"];return{label:`${i} (${s})`,value:e.data.entityid}},mk=(t,e,a)=>{const i=t.find(s=>s.data.entityid===e);return pC(a,i)},pk=(t,e)=>t.map(a=>pC(e,a)),ri=(t,e)=>{const a=e.data.metaDataFields,i=t==="en"?a["OrganizationName:en"]:a["OrganizationName:nl"]||a["OrganizationName:en"];if(!ne(i))return i;const s=$s(t,e);return ne(s)?"":s},$s=(t,e)=>{const a=e.data.metaDataFields;return(t==="en"?a["name:en"]:a["name:nl"]||a["name:en"])||""},gk=(t,e)=>{const a=e.data.metaDataFields;return(t==="en"?a["description:en"]:a["description:nl"]||a["description:en"])||""},vs={OIDC10_RP:"oidc10_rp",SAML20_SP:"saml20_sp"},sn={OPEN:"OPEN",IN_PROGRESS:"IN_PROGRESS",COMPLETE:"COMPLETE",PROD_READY:"PROD_READY"},lo={OPEN:"OPEN",COMPLETE:"COMPLETE"},f5={PENDING_APPROVAL:"PENDING_APPROVAL",APPROVED:"APPROVED",DISAPPROVED:"DISAPPROVED"},la={TEST:"TEST",PROD:"PROD"},vk=[{locale:"applicationDetail.website",metaData:"OrganizationURL",languageProperty:!0},{locale:"applicationDetail.loginPage",metaData:"coin:application_url",languageProperty:!1},{locale:"applicationDetail.support",metaData:"url",languageProperty:!0},{locale:"applicationDetail.terms",metaData:"coin:eula",languageProperty:!1},{locale:"applicationDetail.registrationPolicy",metaData:"mdrpi:RegistrationPolicy",languageProperty:!0},{locale:"applicationDetail.privacyStatement",metaData:"mdui:PrivacyStatementURL",languageProperty:!0}],yk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{"aria-label":"currently running: ",width:"100%",height:"100%",fill:"none",viewBox:"0 0 16 16",className:"anim-rotate",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#DBAB0A",strokeWidth:2,d:"M3.05 3.05a7 7 0 1 1 9.9 9.9 7 7 0 0 1-9.9-9.9Z",opacity:.5}),g.createElement("path",{fill:"#DBAB0A",fillRule:"evenodd",d:"M8 4a4 4 0 1 0 0 8 4 4 0 0 0 0-8Z",clipRule:"evenodd"}),g.createElement("path",{fill:"#DBAB0A",d:"M14 8a6 6 0 0 0-6-6V0a8 8 0 0 1 8 8h-2Z"}));g.forwardRef(yk);const bk=({refreshUser:t})=>{const{config:e,user:a}=Pe(O=>O),{organizationId:i}=oi(),[s,o]=g.useState(!0),[u,d]=g.useState({}),[f,m]=g.useState(!1),[y,b]=g.useState(!0),C=kt();g.useEffect(()=>{oC(i).then(O=>{O.applications=O.applications.map(R=>Ao(R)),d(O),Pe.setState({currentOrganization:O,breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${O.id}`,value:O.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.applications")}]}),b(a.schacHomeOrganization===e.eduIdSchacHomeOrganization),o(!1)}).catch(()=>{C("/home")})},[i]);const A=()=>f||u.applicationCount>0?null:h.jsx(zr,{close:()=>m(!0),alertType:oa.Info,asChild:!0,message:S.t("organization.alertInfo")}),I=O=>{const R=(O.connections||[]).filter(j=>j.environment===la.PROD);let x="";if(R.length===0)x="no_connections";else if(R.length>1)x="multiple_connections";else{const j=R[0];x=O.signedContract&&(j.status===sn.COMPLETE||j.status===sn.IN_PROGRESS)?"ready_for_prod":ne(j.changeRequests)?j.status.toLowerCase():"open_change_requests"}return h.jsx(ol,{type:xs.Status_error,className:x,label:S.t(`connection.connections.${x}`)})},M=()=>h.jsxs(h.Fragment,{children:[ne(u.applications)&&h.jsxs("div",{className:"organization",children:[h.jsxs("div",{className:"left",children:[h.jsx(ik,{}),h.jsx(at,{onClick:()=>C("/application/new"),txt:S.t("organization.addFirstApplication")})]}),h.jsxs("div",{className:"right",children:[h.jsx("p",{className:"terms",children:S.t("organization.catalog.terms")}),h.jsxs("ul",{children:[h.jsx("li",{children:h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t(`organization.catalog.fairUse${y?"External":""}`)}})}),h.jsx("li",{children:h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t(`organization.catalog.agreement${y?"External":""}`)}})})]}),h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t(`organization.catalog.disclaimer${y?"External":""}`)}})]})]}),!ne(u.applications)&&h.jsx("div",{className:"applications",children:u.applications.sort((O,R)=>O.name.toLowerCase().localeCompare(R.name.toLowerCase())).map((O,R)=>h.jsxs("div",{className:"first-application",children:[h.jsxs("div",{className:"application",onClick:()=>C(`/connection/${O.id}`),children:[ne(O.logoUrl)?h.jsx(u5,{}):h.jsx("img",{src:O.logoUrl,alt:O.name}),h.jsx("div",{className:"application-info",children:h.jsx("h4",{children:O.name})}),I(O),h.jsx("span",{className:"navigation",children:h.jsx(ul,{})})]}),R===0&&h.jsx(at,{onClick:()=>C("/application/new"),txt:S.t("organization.addApplication")})]},R))})]});return s?h.jsx(Sn,{}):h.jsxs("div",{className:`organization-outer-container ${ne(u.applications)?"":"with-applications"}`,children:[A(),h.jsx(uk,{organization:u,refreshUser:t,setLoading:o}),h.jsx("div",{className:"organization-container",children:M()})]})},gC="/assets/student-Ql2oUrBH.png",Sk=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M13.4 18.2c4.6-2 6.8-7.3 4.8-11.9S10.9-.5 6.3 1.5-.5 8.8 1.5 13.4c1.9 4.6 7.3 6.7 11.9 4.8zm2.8-2l7 7",fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Pf=g.forwardRef(Sk);function fl(t){"@babel/helpers - typeof";return fl=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fl(t)}function Ek(t,e){if(fl(t)!="object"||!t)return t;var a=t[Symbol.toPrimitive];if(a!==void 0){var i=a.call(t,e);if(fl(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function vC(t){var e=Ek(t,"string");return fl(e)=="symbol"?e:e+""}function Fc(t,e,a){return(e=vC(e))in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}function yS(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),a.push.apply(a,i)}return a}function Ge(t){for(var e=1;e<arguments.length;e++){var a=arguments[e]!=null?arguments[e]:{};e%2?yS(Object(a),!0).forEach(function(i){Fc(t,i,a[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):yS(Object(a)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(a,i))})}return t}function Ak(t){if(Array.isArray(t))return t}function Ck(t,e){var a=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(a!=null){var i,s,o,u,d=[],f=!0,m=!1;try{if(o=(a=a.call(t)).next,e===0){if(Object(a)!==a)return;f=!1}else for(;!(f=(i=o.call(a)).done)&&(d.push(i.value),d.length!==e);f=!0);}catch(y){m=!0,s=y}finally{try{if(!f&&a.return!=null&&(u=a.return(),Object(u)!==u))return}finally{if(m)throw s}}return d}}function o6(t,e){(e==null||e>t.length)&&(e=t.length);for(var a=0,i=Array(e);a<e;a++)i[a]=t[a];return i}function yC(t,e){if(t){if(typeof t=="string")return o6(t,e);var a={}.toString.call(t).slice(8,-1);return a==="Object"&&t.constructor&&(a=t.constructor.name),a==="Map"||a==="Set"?Array.from(t):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o6(t,e):void 0}}function wk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ki(t,e){return Ak(t)||Ck(t,e)||yC(t,e)||wk()}function xk(t,e){if(t==null)return{};var a={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;a[i]=t[i]}return a}function di(t,e){if(t==null)return{};var a,i,s=xk(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)a=o[i],e.indexOf(a)===-1&&{}.propertyIsEnumerable.call(t,a)&&(s[a]=t[a])}return s}var Tk=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function bC(t){var e=t.defaultInputValue,a=e===void 0?"":e,i=t.defaultMenuIsOpen,s=i===void 0?!1:i,o=t.defaultValue,u=o===void 0?null:o,d=t.inputValue,f=t.menuIsOpen,m=t.onChange,y=t.onInputChange,b=t.onMenuClose,C=t.onMenuOpen,A=t.value,I=di(t,Tk),M=g.useState(d!==void 0?d:a),O=ki(M,2),R=O[0],x=O[1],j=g.useState(f!==void 0?f:s),U=ki(j,2),L=U[0],P=U[1],F=g.useState(A!==void 0?A:u),E=ki(F,2),T=E[0],N=E[1],G=g.useCallback(function(k,W){typeof m=="function"&&m(k,W),N(k)},[m]),_=g.useCallback(function(k,W){var se;typeof y=="function"&&(se=y(k,W)),x(se!==void 0?se:k)},[y]),q=g.useCallback(function(){typeof C=="function"&&C(),P(!0)},[C]),Z=g.useCallback(function(){typeof b=="function"&&b(),P(!1)},[b]),V=d!==void 0?d:R,D=f!==void 0?f:L,H=A!==void 0?A:T;return Ge(Ge({},I),{},{inputValue:V,menuIsOpen:D,onChange:G,onInputChange:_,onMenuClose:Z,onMenuOpen:q,value:H})}function Ye(){return Ye=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var a=arguments[e];for(var i in a)({}).hasOwnProperty.call(a,i)&&(t[i]=a[i])}return t},Ye.apply(null,arguments)}function Ok(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bS(t,e){for(var a=0;a<e.length;a++){var i=e[a];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,vC(i.key),i)}}function Rk(t,e,a){return e&&bS(t.prototype,e),a&&bS(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t}function c6(t,e){return c6=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,i){return a.__proto__=i,a},c6(t,e)}function Ik(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&c6(t,e)}function df(t){return df=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},df(t)}function SC(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(SC=function(){return!!t})()}function Mk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nk(t,e){if(e&&(fl(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Mk(t)}function Dk(t){var e=SC();return function(){var a,i=df(t);if(e){var s=df(this).constructor;a=Reflect.construct(i,arguments,s)}else a=i.apply(this,arguments);return Nk(this,a)}}function jk(t){if(Array.isArray(t))return o6(t)}function Lk(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function kk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mo(t){return jk(t)||Lk(t)||yC(t)||kk()}function _k(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function zk(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var qk=(function(){function t(a){var i=this;this._insertTag=function(s){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(s,o),i.tags.push(s)},this.isSpeedy=a.speedy===void 0?!0:a.speedy,this.tags=[],this.ctr=0,this.nonce=a.nonce,this.key=a.key,this.container=a.container,this.prepend=a.prepend,this.insertionPoint=a.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(zk(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var o=_k(s);try{o.insertRule(i,o.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var s;return(s=i.parentNode)==null?void 0:s.removeChild(i)}),this.tags=[],this.ctr=0},t})(),ba="-ms-",hf="-moz-",Ht="-webkit-",EC="comm",d5="rule",h5="decl",Uk="@import",AC="@keyframes",Pk="@layer",Hk=Math.abs,Hf=String.fromCharCode,Bk=Object.assign;function Fk(t,e){return ga(t,0)^45?(((e<<2^ga(t,0))<<2^ga(t,1))<<2^ga(t,2))<<2^ga(t,3):0}function CC(t){return t.trim()}function Vk(t,e){return(t=e.exec(t))?t[0]:t}function Bt(t,e,a){return t.replace(e,a)}function u6(t,e){return t.indexOf(e)}function ga(t,e){return t.charCodeAt(e)|0}function $c(t,e,a){return t.slice(e,a)}function ti(t){return t.length}function m5(t){return t.length}function R1(t,e){return e.push(t),t}function Gk(t,e){return t.map(e).join("")}var Bf=1,Co=1,wC=0,Ha=0,Qn=0,Do="";function Ff(t,e,a,i,s,o,u){return{value:t,root:e,parent:a,type:i,props:s,children:o,line:Bf,column:Co,length:u,return:""}}function Rc(t,e){return Bk(Ff("",null,null,"",null,null,0),t,{length:-t.length},e)}function Zk(){return Qn}function Yk(){return Qn=Ha>0?ga(Do,--Ha):0,Co--,Qn===10&&(Co=1,Bf--),Qn}function tr(){return Qn=Ha<wC?ga(Do,Ha++):0,Co++,Qn===10&&(Co=1,Bf++),Qn}function si(){return ga(Do,Ha)}function J1(){return Ha}function fu(t,e){return $c(Do,t,e)}function eu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function xC(t){return Bf=Co=1,wC=ti(Do=t),Ha=0,[]}function TC(t){return Do="",t}function K1(t){return CC(fu(Ha-1,f6(t===91?t+2:t===40?t+1:t)))}function Wk(t){for(;(Qn=si())&&Qn<33;)tr();return eu(t)>2||eu(Qn)>3?"":" "}function Qk(t,e){for(;--e&&tr()&&!(Qn<48||Qn>102||Qn>57&&Qn<65||Qn>70&&Qn<97););return fu(t,J1()+(e<6&&si()==32&&tr()==32))}function f6(t){for(;tr();)switch(Qn){case t:return Ha;case 34:case 39:t!==34&&t!==39&&f6(Qn);break;case 40:t===41&&f6(t);break;case 92:tr();break}return Ha}function Jk(t,e){for(;tr()&&t+Qn!==57;)if(t+Qn===84&&si()===47)break;return"/*"+fu(e,Ha-1)+"*"+Hf(t===47?t:tr())}function Kk(t){for(;!eu(si());)tr();return fu(t,Ha)}function Xk(t){return TC(X1("",null,null,null,[""],t=xC(t),0,[0],t))}function X1(t,e,a,i,s,o,u,d,f){for(var m=0,y=0,b=u,C=0,A=0,I=0,M=1,O=1,R=1,x=0,j="",U=s,L=o,P=i,F=j;O;)switch(I=x,x=tr()){case 40:if(I!=108&&ga(F,b-1)==58){u6(F+=Bt(K1(x),"&","&\f"),"&\f")!=-1&&(R=-1);break}case 34:case 39:case 91:F+=K1(x);break;case 9:case 10:case 13:case 32:F+=Wk(I);break;case 92:F+=Qk(J1()-1,7);continue;case 47:switch(si()){case 42:case 47:R1($k(Jk(tr(),J1()),e,a),f);break;default:F+="/"}break;case 123*M:d[m++]=ti(F)*R;case 125*M:case 59:case 0:switch(x){case 0:case 125:O=0;case 59+y:R==-1&&(F=Bt(F,/\f/g,"")),A>0&&ti(F)-b&&R1(A>32?ES(F+";",i,a,b-1):ES(Bt(F," ","")+";",i,a,b-2),f);break;case 59:F+=";";default:if(R1(P=SS(F,e,a,m,y,s,d,j,U=[],L=[],b),o),x===123)if(y===0)X1(F,e,P,P,U,o,b,d,L);else switch(C===99&&ga(F,3)===110?100:C){case 100:case 108:case 109:case 115:X1(t,P,P,i&&R1(SS(t,P,P,0,0,s,d,j,s,U=[],b),L),s,L,b,d,i?U:L);break;default:X1(F,P,P,P,[""],L,0,d,L)}}m=y=A=0,M=R=1,j=F="",b=u;break;case 58:b=1+ti(F),A=I;default:if(M<1){if(x==123)--M;else if(x==125&&M++==0&&Yk()==125)continue}switch(F+=Hf(x),x*M){case 38:R=y>0?1:(F+="\f",-1);break;case 44:d[m++]=(ti(F)-1)*R,R=1;break;case 64:si()===45&&(F+=K1(tr())),C=si(),y=b=ti(j=F+=Kk(J1())),x++;break;case 45:I===45&&ti(F)==2&&(M=0)}}return o}function SS(t,e,a,i,s,o,u,d,f,m,y){for(var b=s-1,C=s===0?o:[""],A=m5(C),I=0,M=0,O=0;I<i;++I)for(var R=0,x=$c(t,b+1,b=Hk(M=u[I])),j=t;R<A;++R)(j=CC(M>0?C[R]+" "+x:Bt(x,/&\f/g,C[R])))&&(f[O++]=j);return Ff(t,e,a,s===0?d5:d,f,m,y)}function $k(t,e,a){return Ff(t,e,a,EC,Hf(Zk()),$c(t,2,-2),0)}function ES(t,e,a,i){return Ff(t,e,a,h5,$c(t,0,i),$c(t,i+1,-1),i)}function po(t,e){for(var a="",i=m5(t),s=0;s<i;s++)a+=e(t[s],s,t,e)||"";return a}function e_(t,e,a,i){switch(t.type){case Pk:if(t.children.length)break;case Uk:case h5:return t.return=t.return||t.value;case EC:return"";case AC:return t.return=t.value+"{"+po(t.children,i)+"}";case d5:t.value=t.props.join(",")}return ti(a=po(t.children,i))?t.return=t.value+"{"+a+"}":""}function t_(t){var e=m5(t);return function(a,i,s,o){for(var u="",d=0;d<e;d++)u+=t[d](a,i,s,o)||"";return u}}function n_(t){return function(e){e.root||(e=e.return)&&t(e)}}function a_(t){var e=Object.create(null);return function(a){return e[a]===void 0&&(e[a]=t(a)),e[a]}}var r_=function(e,a,i){for(var s=0,o=0;s=o,o=si(),s===38&&o===12&&(a[i]=1),!eu(o);)tr();return fu(e,Ha)},i_=function(e,a){var i=-1,s=44;do switch(eu(s)){case 0:s===38&&si()===12&&(a[i]=1),e[i]+=r_(Ha-1,a,i);break;case 2:e[i]+=K1(s);break;case 4:if(s===44){e[++i]=si()===58?"&\f":"",a[i]=e[i].length;break}default:e[i]+=Hf(s)}while(s=tr());return e},s_=function(e,a){return TC(i_(xC(e),a))},AS=new WeakMap,l_=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var a=e.value,i=e.parent,s=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&a.charCodeAt(0)!==58&&!AS.get(i))&&!s){AS.set(e,!0);for(var o=[],u=s_(a,o),d=i.props,f=0,m=0;f<u.length;f++)for(var y=0;y<d.length;y++,m++)e.props[m]=o[f]?u[f].replace(/&\f/g,d[y]):d[y]+" "+u[f]}}},o_=function(e){if(e.type==="decl"){var a=e.value;a.charCodeAt(0)===108&&a.charCodeAt(2)===98&&(e.return="",e.value="")}};function OC(t,e){switch(Fk(t,e)){case 5103:return Ht+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ht+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return Ht+t+hf+t+ba+t+t;case 6828:case 4268:return Ht+t+ba+t+t;case 6165:return Ht+t+ba+"flex-"+t+t;case 5187:return Ht+t+Bt(t,/(\w+).+(:[^]+)/,Ht+"box-$1$2"+ba+"flex-$1$2")+t;case 5443:return Ht+t+ba+"flex-item-"+Bt(t,/flex-|-self/,"")+t;case 4675:return Ht+t+ba+"flex-line-pack"+Bt(t,/align-content|flex-|-self/,"")+t;case 5548:return Ht+t+ba+Bt(t,"shrink","negative")+t;case 5292:return Ht+t+ba+Bt(t,"basis","preferred-size")+t;case 6060:return Ht+"box-"+Bt(t,"-grow","")+Ht+t+ba+Bt(t,"grow","positive")+t;case 4554:return Ht+Bt(t,/([^-])(transform)/g,"$1"+Ht+"$2")+t;case 6187:return Bt(Bt(Bt(t,/(zoom-|grab)/,Ht+"$1"),/(image-set)/,Ht+"$1"),t,"")+t;case 5495:case 3959:return Bt(t,/(image-set\([^]*)/,Ht+"$1$`$1");case 4968:return Bt(Bt(t,/(.+:)(flex-)?(.*)/,Ht+"box-pack:$3"+ba+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ht+t+t;case 4095:case 3583:case 4068:case 2532:return Bt(t,/(.+)-inline(.+)/,Ht+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ti(t)-1-e>6)switch(ga(t,e+1)){case 109:if(ga(t,e+4)!==45)break;case 102:return Bt(t,/(.+:)(.+)-([^]+)/,"$1"+Ht+"$2-$3$1"+hf+(ga(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~u6(t,"stretch")?OC(Bt(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ga(t,e+1)!==115)break;case 6444:switch(ga(t,ti(t)-3-(~u6(t,"!important")&&10))){case 107:return Bt(t,":",":"+Ht)+t;case 101:return Bt(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ht+(ga(t,14)===45?"inline-":"")+"box$3$1"+Ht+"$2$3$1"+ba+"$2box$3")+t}break;case 5936:switch(ga(t,e+11)){case 114:return Ht+t+ba+Bt(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return Ht+t+ba+Bt(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return Ht+t+ba+Bt(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return Ht+t+ba+t+t}return t}var c_=function(e,a,i,s){if(e.length>-1&&!e.return)switch(e.type){case h5:e.return=OC(e.value,e.length);break;case AC:return po([Rc(e,{value:Bt(e.value,"@","@"+Ht)})],s);case d5:if(e.length)return Gk(e.props,function(o){switch(Vk(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return po([Rc(e,{props:[Bt(o,/:(read-\w+)/,":"+hf+"$1")]})],s);case"::placeholder":return po([Rc(e,{props:[Bt(o,/:(plac\w+)/,":"+Ht+"input-$1")]}),Rc(e,{props:[Bt(o,/:(plac\w+)/,":"+hf+"$1")]}),Rc(e,{props:[Bt(o,/:(plac\w+)/,ba+"input-$1")]})],s)}return""})}},u_=[c_],f_=function(e){var a=e.key;if(a==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(M){var O=M.getAttribute("data-emotion");O.indexOf(" ")!==-1&&(document.head.appendChild(M),M.setAttribute("data-s",""))})}var s=e.stylisPlugins||u_,o={},u,d=[];u=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(M){for(var O=M.getAttribute("data-emotion").split(" "),R=1;R<O.length;R++)o[O[R]]=!0;d.push(M)});var f,m=[l_,o_];{var y,b=[e_,n_(function(M){y.insert(M)})],C=t_(m.concat(s,b)),A=function(O){return po(Xk(O),C)};f=function(O,R,x,j){y=x,A(O?O+"{"+R.styles+"}":R.styles),j&&(I.inserted[R.name]=!0)}}var I={key:a,sheet:new qk({key:a,container:u,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:f};return I.sheet.hydrate(d),I},W3={exports:{}},Zt={};/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var CS;function d_(){if(CS)return Zt;CS=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,s=t?Symbol.for("react.strict_mode"):60108,o=t?Symbol.for("react.profiler"):60114,u=t?Symbol.for("react.provider"):60109,d=t?Symbol.for("react.context"):60110,f=t?Symbol.for("react.async_mode"):60111,m=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,C=t?Symbol.for("react.suspense_list"):60120,A=t?Symbol.for("react.memo"):60115,I=t?Symbol.for("react.lazy"):60116,M=t?Symbol.for("react.block"):60121,O=t?Symbol.for("react.fundamental"):60117,R=t?Symbol.for("react.responder"):60118,x=t?Symbol.for("react.scope"):60119;function j(L){if(typeof L=="object"&&L!==null){var P=L.$$typeof;switch(P){case e:switch(L=L.type,L){case f:case m:case i:case o:case s:case b:return L;default:switch(L=L&&L.$$typeof,L){case d:case y:case I:case A:case u:return L;default:return P}}case a:return P}}}function U(L){return j(L)===m}return Zt.AsyncMode=f,Zt.ConcurrentMode=m,Zt.ContextConsumer=d,Zt.ContextProvider=u,Zt.Element=e,Zt.ForwardRef=y,Zt.Fragment=i,Zt.Lazy=I,Zt.Memo=A,Zt.Portal=a,Zt.Profiler=o,Zt.StrictMode=s,Zt.Suspense=b,Zt.isAsyncMode=function(L){return U(L)||j(L)===f},Zt.isConcurrentMode=U,Zt.isContextConsumer=function(L){return j(L)===d},Zt.isContextProvider=function(L){return j(L)===u},Zt.isElement=function(L){return typeof L=="object"&&L!==null&&L.$$typeof===e},Zt.isForwardRef=function(L){return j(L)===y},Zt.isFragment=function(L){return j(L)===i},Zt.isLazy=function(L){return j(L)===I},Zt.isMemo=function(L){return j(L)===A},Zt.isPortal=function(L){return j(L)===a},Zt.isProfiler=function(L){return j(L)===o},Zt.isStrictMode=function(L){return j(L)===s},Zt.isSuspense=function(L){return j(L)===b},Zt.isValidElementType=function(L){return typeof L=="string"||typeof L=="function"||L===i||L===m||L===o||L===s||L===b||L===C||typeof L=="object"&&L!==null&&(L.$$typeof===I||L.$$typeof===A||L.$$typeof===u||L.$$typeof===d||L.$$typeof===y||L.$$typeof===O||L.$$typeof===R||L.$$typeof===x||L.$$typeof===M)},Zt.typeOf=j,Zt}var wS;function h_(){return wS||(wS=1,W3.exports=d_()),W3.exports}var Q3,xS;function m_(){if(xS)return Q3;xS=1;var t=h_(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[t.ForwardRef]=i,o[t.Memo]=s;function u(I){return t.isMemo(I)?s:o[I.$$typeof]||e}var d=Object.defineProperty,f=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,b=Object.getPrototypeOf,C=Object.prototype;function A(I,M,O){if(typeof M!="string"){if(C){var R=b(M);R&&R!==C&&A(I,R,O)}var x=f(M);m&&(x=x.concat(m(M)));for(var j=u(I),U=u(M),L=0;L<x.length;++L){var P=x[L];if(!a[P]&&!(O&&O[P])&&!(U&&U[P])&&!(j&&j[P])){var F=y(M,P);try{d(I,P,F)}catch{}}}}return I}return Q3=A,Q3}m_();var p_=!0;function g_(t,e,a){var i="";return a.split(" ").forEach(function(s){t[s]!==void 0?e.push(t[s]+";"):s&&(i+=s+" ")}),i}var RC=function(e,a,i){var s=e.key+"-"+a.name;(i===!1||p_===!1)&&e.registered[s]===void 0&&(e.registered[s]=a.styles)},v_=function(e,a,i){RC(e,a,i);var s=e.key+"-"+a.name;if(e.inserted[a.name]===void 0){var o=a;do e.insert(a===o?"."+s:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function y_(t){for(var e=0,a,i=0,s=t.length;s>=4;++i,s-=4)a=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,e=(a&65535)*1540483477+((a>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(s){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var b_={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},S_=/[A-Z]|^ms/g,E_=/_EMO_([^_]+?)_([^]*?)_EMO_/g,IC=function(e){return e.charCodeAt(1)===45},TS=function(e){return e!=null&&typeof e!="boolean"},J3=a_(function(t){return IC(t)?t:t.replace(S_,"-$&").toLowerCase()}),OS=function(e,a){switch(e){case"animation":case"animationName":if(typeof a=="string")return a.replace(E_,function(i,s,o){return ni={name:s,styles:o,next:ni},s})}return b_[e]!==1&&!IC(e)&&typeof a=="number"&&a!==0?a+"px":a};function tu(t,e,a){if(a==null)return"";var i=a;if(i.__emotion_styles!==void 0)return i;switch(typeof a){case"boolean":return"";case"object":{var s=a;if(s.anim===1)return ni={name:s.name,styles:s.styles,next:ni},s.name;var o=a;if(o.styles!==void 0){var u=o.next;if(u!==void 0)for(;u!==void 0;)ni={name:u.name,styles:u.styles,next:ni},u=u.next;var d=o.styles+";";return d}return A_(t,e,a)}case"function":{if(t!==void 0){var f=ni,m=a(t);return ni=f,tu(t,e,m)}break}}var y=a;return y}function A_(t,e,a){var i="";if(Array.isArray(a))for(var s=0;s<a.length;s++)i+=tu(t,e,a[s])+";";else for(var o in a){var u=a[o];if(typeof u!="object"){var d=u;TS(d)&&(i+=J3(o)+":"+OS(o,d)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&e==null)for(var f=0;f<u.length;f++)TS(u[f])&&(i+=J3(o)+":"+OS(o,u[f])+";");else{var m=tu(t,e,u);switch(o){case"animation":case"animationName":{i+=J3(o)+":"+m+";";break}default:i+=o+"{"+m+"}"}}}return i}var RS=/label:\s*([^\s;{]+)\s*(;|$)/g,ni;function MC(t,e,a){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,s="";ni=void 0;var o=t[0];if(o==null||o.raw===void 0)i=!1,s+=tu(a,e,o);else{var u=o;s+=u[0]}for(var d=1;d<t.length;d++)if(s+=tu(a,e,t[d]),i){var f=o;s+=f[d]}RS.lastIndex=0;for(var m="",y;(y=RS.exec(s))!==null;)m+="-"+y[1];var b=y_(s)+m;return{name:b,styles:s,next:ni}}var C_=function(e){return e()},w_=A7.useInsertionEffect?A7.useInsertionEffect:!1,x_=w_||C_,NC=g.createContext(typeof HTMLElement<"u"?f_({key:"css"}):null);NC.Provider;var T_=function(e){return g.forwardRef(function(a,i){var s=g.useContext(NC);return e(a,s,i)})},O_=g.createContext({}),p5={}.hasOwnProperty,d6="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",R_=function(e,a){var i={};for(var s in a)p5.call(a,s)&&(i[s]=a[s]);return i[d6]=e,i},I_=function(e){var a=e.cache,i=e.serialized,s=e.isStringTag;return RC(a,i,s),x_(function(){return v_(a,i,s)}),null},M_=T_(function(t,e,a){var i=t.css;typeof i=="string"&&e.registered[i]!==void 0&&(i=e.registered[i]);var s=t[d6],o=[i],u="";typeof t.className=="string"?u=g_(e.registered,o,t.className):t.className!=null&&(u=t.className+" ");var d=MC(o,void 0,g.useContext(O_));u+=e.key+"-"+d.name;var f={};for(var m in t)p5.call(t,m)&&m!=="css"&&m!==d6&&(f[m]=t[m]);return f.className=u,a&&(f.ref=a),g.createElement(g.Fragment,null,g.createElement(I_,{cache:e,serialized:d,isStringTag:typeof s=="string"}),g.createElement(s,f))}),N_=M_,Fe=function(e,a){var i=arguments;if(a==null||!p5.call(a,"css"))return g.createElement.apply(void 0,i);var s=i.length,o=new Array(s);o[0]=N_,o[1]=R_(e,a);for(var u=2;u<s;u++)o[u]=i[u];return g.createElement.apply(null,o)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(Fe||(Fe={}));function g5(){for(var t=arguments.length,e=new Array(t),a=0;a<t;a++)e[a]=arguments[a];return MC(e)}function D_(){var t=g5.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function j_(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}var h6=g.useLayoutEffect,L_=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],mf=function(){};function k_(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function __(t,e){for(var a=arguments.length,i=new Array(a>2?a-2:0),s=2;s<a;s++)i[s-2]=arguments[s];var o=[].concat(i);if(e&&t)for(var u in e)e.hasOwnProperty(u)&&e[u]&&o.push("".concat(k_(t,u)));return o.filter(function(d){return d}).map(function(d){return String(d).trim()}).join(" ")}var pf=function(e){return G_(e)?e.filter(Boolean):fl(e)==="object"&&e!==null?[e]:[]},DC=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var a=di(e,L_);return Ge({},a)},In=function(e,a,i){var s=e.cx,o=e.getStyles,u=e.getClassNames,d=e.className;return{css:o(a,e),className:s(i??{},u(a,e),d)}};function Vf(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function z_(t){return Vf(t)?window.innerHeight:t.clientHeight}function jC(t){return Vf(t)?window.pageYOffset:t.scrollTop}function gf(t,e){if(Vf(t)){window.scrollTo(0,e);return}t.scrollTop=e}function q_(t){var e=getComputedStyle(t),a=e.position==="absolute",i=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var s=t;s=s.parentElement;)if(e=getComputedStyle(s),!(a&&e.position==="static")&&i.test(e.overflow+e.overflowY+e.overflowX))return s;return document.documentElement}function U_(t,e,a,i){return a*((t=t/i-1)*t*t+1)+e}function I1(t,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:mf,s=jC(t),o=e-s,u=10,d=0;function f(){d+=u;var m=U_(d,s,o,a);gf(t,m),d<a?window.requestAnimationFrame(f):i(t)}f()}function IS(t,e){var a=t.getBoundingClientRect(),i=e.getBoundingClientRect(),s=e.offsetHeight/3;i.bottom+s>a.bottom?gf(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+s,t.scrollHeight)):i.top-s<a.top&&gf(t,Math.max(e.offsetTop-s,0))}function P_(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function MS(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function H_(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var LC=!1,B_={get passive(){return LC=!0}},M1=typeof window<"u"?window:{};M1.addEventListener&&M1.removeEventListener&&(M1.addEventListener("p",mf,B_),M1.removeEventListener("p",mf,!1));var F_=LC;function V_(t){return t!=null}function G_(t){return Array.isArray(t)}function Vc(t,e,a){return t?e:a}var Z_=function(e){for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];var o=Object.entries(e).filter(function(u){var d=ki(u,1),f=d[0];return!i.includes(f)});return o.reduce(function(u,d){var f=ki(d,2),m=f[0],y=f[1];return u[m]=y,u},{})},Y_=["children","innerProps"],W_=["children","innerProps"];function Q_(t){var e=t.maxHeight,a=t.menuEl,i=t.minHeight,s=t.placement,o=t.shouldScroll,u=t.isFixedPosition,d=t.controlHeight,f=q_(a),m={placement:"bottom",maxHeight:e};if(!a||!a.offsetParent)return m;var y=f.getBoundingClientRect(),b=y.height,C=a.getBoundingClientRect(),A=C.bottom,I=C.height,M=C.top,O=a.offsetParent.getBoundingClientRect(),R=O.top,x=u?window.innerHeight:z_(f),j=jC(f),U=parseInt(getComputedStyle(a).marginBottom,10),L=parseInt(getComputedStyle(a).marginTop,10),P=R-L,F=x-M,E=P+j,T=b-j-M,N=A-x+j+U,G=j+M-L,_=160;switch(s){case"auto":case"bottom":if(F>=I)return{placement:"bottom",maxHeight:e};if(T>=I&&!u)return o&&I1(f,N,_),{placement:"bottom",maxHeight:e};if(!u&&T>=i||u&&F>=i){o&&I1(f,N,_);var q=u?F-U:T-U;return{placement:"bottom",maxHeight:q}}if(s==="auto"||u){var Z=e,V=u?P:E;return V>=i&&(Z=Math.min(V-U-d,e)),{placement:"top",maxHeight:Z}}if(s==="bottom")return o&&gf(f,N),{placement:"bottom",maxHeight:e};break;case"top":if(P>=I)return{placement:"top",maxHeight:e};if(E>=I&&!u)return o&&I1(f,G,_),{placement:"top",maxHeight:e};if(!u&&E>=i||u&&P>=i){var D=e;return(!u&&E>=i||u&&P>=i)&&(D=u?P-L:E-L),o&&I1(f,G,_),{placement:"top",maxHeight:D}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(s,'".'))}return m}function J_(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var kC=function(e){return e==="auto"?"bottom":e},K_=function(e,a){var i,s=e.placement,o=e.theme,u=o.borderRadius,d=o.spacing,f=o.colors;return Ge((i={label:"menu"},Fc(i,J_(s),"100%"),Fc(i,"position","absolute"),Fc(i,"width","100%"),Fc(i,"zIndex",1),i),a?{}:{backgroundColor:f.neutral0,borderRadius:u,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:d.menuGutter,marginTop:d.menuGutter})},_C=g.createContext(null),X_=function(e){var a=e.children,i=e.minMenuHeight,s=e.maxMenuHeight,o=e.menuPlacement,u=e.menuPosition,d=e.menuShouldScrollIntoView,f=e.theme,m=g.useContext(_C)||{},y=m.setPortalPlacement,b=g.useRef(null),C=g.useState(s),A=ki(C,2),I=A[0],M=A[1],O=g.useState(null),R=ki(O,2),x=R[0],j=R[1],U=f.spacing.controlHeight;return h6(function(){var L=b.current;if(L){var P=u==="fixed",F=d&&!P,E=Q_({maxHeight:s,menuEl:L,minHeight:i,placement:o,shouldScroll:F,isFixedPosition:P,controlHeight:U});M(E.maxHeight),j(E.placement),y?.(E.placement)}},[s,o,u,d,i,y,U]),a({ref:b,placerProps:Ge(Ge({},e),{},{placement:x||kC(o),maxHeight:I})})},$_=function(e){var a=e.children,i=e.innerRef,s=e.innerProps;return Fe("div",Ye({},In(e,"menu",{menu:!0}),{ref:i},s),a)},ez=$_,tz=function(e,a){var i=e.maxHeight,s=e.theme.spacing.baseUnit;return Ge({maxHeight:i,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},a?{}:{paddingBottom:s,paddingTop:s})},nz=function(e){var a=e.children,i=e.innerProps,s=e.innerRef,o=e.isMulti;return Fe("div",Ye({},In(e,"menuList",{"menu-list":!0,"menu-list--is-multi":o}),{ref:s},i),a)},zC=function(e,a){var i=e.theme,s=i.spacing.baseUnit,o=i.colors;return Ge({textAlign:"center"},a?{}:{color:o.neutral40,padding:"".concat(s*2,"px ").concat(s*3,"px")})},az=zC,rz=zC,iz=function(e){var a=e.children,i=a===void 0?"No options":a,s=e.innerProps,o=di(e,Y_);return Fe("div",Ye({},In(Ge(Ge({},o),{},{children:i,innerProps:s}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),s),i)},sz=function(e){var a=e.children,i=a===void 0?"Loading...":a,s=e.innerProps,o=di(e,W_);return Fe("div",Ye({},In(Ge(Ge({},o),{},{children:i,innerProps:s}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),s),i)},lz=function(e){var a=e.rect,i=e.offset,s=e.position;return{left:a.left,position:s,top:i,width:a.width,zIndex:1}},oz=function(e){var a=e.appendTo,i=e.children,s=e.controlElement,o=e.innerProps,u=e.menuPlacement,d=e.menuPosition,f=g.useRef(null),m=g.useRef(null),y=g.useState(kC(u)),b=ki(y,2),C=b[0],A=b[1],I=g.useMemo(function(){return{setPortalPlacement:A}},[]),M=g.useState(null),O=ki(M,2),R=O[0],x=O[1],j=g.useCallback(function(){if(s){var F=P_(s),E=d==="fixed"?0:window.pageYOffset,T=F[C]+E;(T!==R?.offset||F.left!==R?.rect.left||F.width!==R?.rect.width)&&x({offset:T,rect:F})}},[s,d,C,R?.offset,R?.rect.left,R?.rect.width]);h6(function(){j()},[j]);var U=g.useCallback(function(){typeof m.current=="function"&&(m.current(),m.current=null),s&&f.current&&(m.current=aA(s,f.current,j,{elementResize:"ResizeObserver"in window}))},[s,j]);h6(function(){U()},[U]);var L=g.useCallback(function(F){f.current=F,U()},[U]);if(!a&&d!=="fixed"||!R)return null;var P=Fe("div",Ye({ref:L},In(Ge(Ge({},e),{},{offset:R.offset,position:d,rect:R.rect}),"menuPortal",{"menu-portal":!0}),o),i);return Fe(_C.Provider,{value:I},a?OA.createPortal(P,a):P)},cz=function(e){var a=e.isDisabled,i=e.isRtl;return{label:"container",direction:i?"rtl":void 0,pointerEvents:a?"none":void 0,position:"relative"}},uz=function(e){var a=e.children,i=e.innerProps,s=e.isDisabled,o=e.isRtl;return Fe("div",Ye({},In(e,"container",{"--is-disabled":s,"--is-rtl":o}),i),a)},fz=function(e,a){var i=e.theme.spacing,s=e.isMulti,o=e.hasValue,u=e.selectProps.controlShouldRenderValue;return Ge({alignItems:"center",display:s&&o&&u?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},a?{}:{padding:"".concat(i.baseUnit/2,"px ").concat(i.baseUnit*2,"px")})},dz=function(e){var a=e.children,i=e.innerProps,s=e.isMulti,o=e.hasValue;return Fe("div",Ye({},In(e,"valueContainer",{"value-container":!0,"value-container--is-multi":s,"value-container--has-value":o}),i),a)},hz=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},mz=function(e){var a=e.children,i=e.innerProps;return Fe("div",Ye({},In(e,"indicatorsContainer",{indicators:!0}),i),a)},NS,pz=["size"],gz=["innerProps","isRtl","size"],vz={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},qC=function(e){var a=e.size,i=di(e,pz);return Fe("svg",Ye({height:a,width:a,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:vz},i))},v5=function(e){return Fe(qC,Ye({size:20},e),Fe("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},UC=function(e){return Fe(qC,Ye({size:20},e),Fe("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},PC=function(e,a){var i=e.isFocused,s=e.theme,o=s.spacing.baseUnit,u=s.colors;return Ge({label:"indicatorContainer",display:"flex",transition:"color 150ms"},a?{}:{color:i?u.neutral60:u.neutral20,padding:o*2,":hover":{color:i?u.neutral80:u.neutral40}})},yz=PC,bz=function(e){var a=e.children,i=e.innerProps;return Fe("div",Ye({},In(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),i),a||Fe(UC,null))},Sz=PC,Ez=function(e){var a=e.children,i=e.innerProps;return Fe("div",Ye({},In(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),i),a||Fe(v5,null))},Az=function(e,a){var i=e.isDisabled,s=e.theme,o=s.spacing.baseUnit,u=s.colors;return Ge({label:"indicatorSeparator",alignSelf:"stretch",width:1},a?{}:{backgroundColor:i?u.neutral10:u.neutral20,marginBottom:o*2,marginTop:o*2})},Cz=function(e){var a=e.innerProps;return Fe("span",Ye({},a,In(e,"indicatorSeparator",{"indicator-separator":!0})))},wz=D_(NS||(NS=j_([`
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
`]))),xz=function(e,a){var i=e.isFocused,s=e.size,o=e.theme,u=o.colors,d=o.spacing.baseUnit;return Ge({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:s,lineHeight:1,marginRight:s,textAlign:"center",verticalAlign:"middle"},a?{}:{color:i?u.neutral60:u.neutral20,padding:d*2})},K3=function(e){var a=e.delay,i=e.offset;return Fe("span",{css:g5({animation:"".concat(wz," 1s ease-in-out ").concat(a,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:i?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Tz=function(e){var a=e.innerProps,i=e.isRtl,s=e.size,o=s===void 0?4:s,u=di(e,gz);return Fe("div",Ye({},In(Ge(Ge({},u),{},{innerProps:a,isRtl:i,size:o}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),a),Fe(K3,{delay:0,offset:i}),Fe(K3,{delay:160,offset:!0}),Fe(K3,{delay:320,offset:!i}))},Oz=function(e,a){var i=e.isDisabled,s=e.isFocused,o=e.theme,u=o.colors,d=o.borderRadius,f=o.spacing;return Ge({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:f.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},a?{}:{backgroundColor:i?u.neutral5:u.neutral0,borderColor:i?u.neutral10:s?u.primary:u.neutral20,borderRadius:d,borderStyle:"solid",borderWidth:1,boxShadow:s?"0 0 0 1px ".concat(u.primary):void 0,"&:hover":{borderColor:s?u.primary:u.neutral30}})},Rz=function(e){var a=e.children,i=e.isDisabled,s=e.isFocused,o=e.innerRef,u=e.innerProps,d=e.menuIsOpen;return Fe("div",Ye({ref:o},In(e,"control",{control:!0,"control--is-disabled":i,"control--is-focused":s,"control--menu-is-open":d}),u,{"aria-disabled":i||void 0}),a)},Iz=Rz,Mz=["data"],Nz=function(e,a){var i=e.theme.spacing;return a?{}:{paddingBottom:i.baseUnit*2,paddingTop:i.baseUnit*2}},Dz=function(e){var a=e.children,i=e.cx,s=e.getStyles,o=e.getClassNames,u=e.Heading,d=e.headingProps,f=e.innerProps,m=e.label,y=e.theme,b=e.selectProps;return Fe("div",Ye({},In(e,"group",{group:!0}),f),Fe(u,Ye({},d,{selectProps:b,theme:y,getStyles:s,getClassNames:o,cx:i}),m),Fe("div",null,a))},jz=function(e,a){var i=e.theme,s=i.colors,o=i.spacing;return Ge({label:"group",cursor:"default",display:"block"},a?{}:{color:s.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:o.baseUnit*3,paddingRight:o.baseUnit*3,textTransform:"uppercase"})},Lz=function(e){var a=DC(e);a.data;var i=di(a,Mz);return Fe("div",Ye({},In(e,"groupHeading",{"group-heading":!0}),i))},kz=Dz,_z=["innerRef","isDisabled","isHidden","inputClassName"],zz=function(e,a){var i=e.isDisabled,s=e.value,o=e.theme,u=o.spacing,d=o.colors;return Ge(Ge({visibility:i?"hidden":"visible",transform:s?"translateZ(0)":""},qz),a?{}:{margin:u.baseUnit/2,paddingBottom:u.baseUnit/2,paddingTop:u.baseUnit/2,color:d.neutral80})},HC={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},qz={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":Ge({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},HC)},Uz=function(e){return Ge({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},HC)},Pz=function(e){var a=e.cx,i=e.value,s=DC(e),o=s.innerRef,u=s.isDisabled,d=s.isHidden,f=s.inputClassName,m=di(s,_z);return Fe("div",Ye({},In(e,"input",{"input-container":!0}),{"data-value":i||""}),Fe("input",Ye({className:a({input:!0},f),ref:o,style:Uz(d),disabled:u},m)))},Hz=Pz,Bz=function(e,a){var i=e.theme,s=i.spacing,o=i.borderRadius,u=i.colors;return Ge({label:"multiValue",display:"flex",minWidth:0},a?{}:{backgroundColor:u.neutral10,borderRadius:o/2,margin:s.baseUnit/2})},Fz=function(e,a){var i=e.theme,s=i.borderRadius,o=i.colors,u=e.cropWithEllipsis;return Ge({overflow:"hidden",textOverflow:u||u===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},a?{}:{borderRadius:s/2,color:o.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Vz=function(e,a){var i=e.theme,s=i.spacing,o=i.borderRadius,u=i.colors,d=e.isFocused;return Ge({alignItems:"center",display:"flex"},a?{}:{borderRadius:o/2,backgroundColor:d?u.dangerLight:void 0,paddingLeft:s.baseUnit,paddingRight:s.baseUnit,":hover":{backgroundColor:u.dangerLight,color:u.danger}})},BC=function(e){var a=e.children,i=e.innerProps;return Fe("div",i,a)},Gz=BC,Zz=BC;function Yz(t){var e=t.children,a=t.innerProps;return Fe("div",Ye({role:"button"},a),e||Fe(v5,{size:14}))}var Wz=function(e){var a=e.children,i=e.components,s=e.data,o=e.innerProps,u=e.isDisabled,d=e.removeProps,f=e.selectProps,m=i.Container,y=i.Label,b=i.Remove;return Fe(m,{data:s,innerProps:Ge(Ge({},In(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":u})),o),selectProps:f},Fe(y,{data:s,innerProps:Ge({},In(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:f},a),Fe(b,{data:s,innerProps:Ge(Ge({},In(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(a||"option")},d),selectProps:f}))},Qz=Wz,Jz=function(e,a){var i=e.isDisabled,s=e.isFocused,o=e.isSelected,u=e.theme,d=u.spacing,f=u.colors;return Ge({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},a?{}:{backgroundColor:o?f.primary:s?f.primary25:"transparent",color:i?f.neutral20:o?f.neutral0:"inherit",padding:"".concat(d.baseUnit*2,"px ").concat(d.baseUnit*3,"px"),":active":{backgroundColor:i?void 0:o?f.primary:f.primary50}})},Kz=function(e){var a=e.children,i=e.isDisabled,s=e.isFocused,o=e.isSelected,u=e.innerRef,d=e.innerProps;return Fe("div",Ye({},In(e,"option",{option:!0,"option--is-disabled":i,"option--is-focused":s,"option--is-selected":o}),{ref:u,"aria-disabled":i},d),a)},Xz=Kz,$z=function(e,a){var i=e.theme,s=i.spacing,o=i.colors;return Ge({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},a?{}:{color:o.neutral50,marginLeft:s.baseUnit/2,marginRight:s.baseUnit/2})},eq=function(e){var a=e.children,i=e.innerProps;return Fe("div",Ye({},In(e,"placeholder",{placeholder:!0}),i),a)},tq=eq,nq=function(e,a){var i=e.isDisabled,s=e.theme,o=s.spacing,u=s.colors;return Ge({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},a?{}:{color:i?u.neutral40:u.neutral80,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},aq=function(e){var a=e.children,i=e.isDisabled,s=e.innerProps;return Fe("div",Ye({},In(e,"singleValue",{"single-value":!0,"single-value--is-disabled":i}),s),a)},rq=aq,iq={ClearIndicator:Ez,Control:Iz,DropdownIndicator:bz,DownChevron:UC,CrossIcon:v5,Group:kz,GroupHeading:Lz,IndicatorsContainer:mz,IndicatorSeparator:Cz,Input:Hz,LoadingIndicator:Tz,Menu:ez,MenuList:nz,MenuPortal:oz,LoadingMessage:sz,NoOptionsMessage:iz,MultiValue:Qz,MultiValueContainer:Gz,MultiValueLabel:Zz,MultiValueRemove:Yz,Option:Xz,Placeholder:tq,SelectContainer:uz,SingleValue:rq,ValueContainer:dz},sq=function(e){return Ge(Ge({},iq),e.components)},DS=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function lq(t,e){return!!(t===e||DS(t)&&DS(e))}function oq(t,e){if(t.length!==e.length)return!1;for(var a=0;a<t.length;a++)if(!lq(t[a],e[a]))return!1;return!0}function cq(t,e){e===void 0&&(e=oq);var a=null;function i(){for(var s=[],o=0;o<arguments.length;o++)s[o]=arguments[o];if(a&&a.lastThis===this&&e(s,a.lastArgs))return a.lastResult;var u=t.apply(this,s);return a={lastResult:u,lastArgs:s,lastThis:this},u}return i.clear=function(){a=null},i}var uq={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},fq=function(e){return Fe("span",Ye({css:uq},e))},jS=fq,dq={guidance:function(e){var a=e.isSearchable,i=e.isMulti,s=e.tabSelectsValue,o=e.context,u=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(s?", press Tab to select the option and exit the menu":"",".");case"input":return u?"".concat(e["aria-label"]||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(i?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var a=e.action,i=e.label,s=i===void 0?"":i,o=e.labels,u=e.isDisabled;switch(a){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(s,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return u?"option ".concat(s," is disabled. Select another option."):"option ".concat(s,", selected.");default:return""}},onFocus:function(e){var a=e.context,i=e.focused,s=e.options,o=e.label,u=o===void 0?"":o,d=e.selectValue,f=e.isDisabled,m=e.isSelected,y=e.isAppleDevice,b=function(M,O){return M&&M.length?"".concat(M.indexOf(O)+1," of ").concat(M.length):""};if(a==="value"&&d)return"value ".concat(u," focused, ").concat(b(d,i),".");if(a==="menu"&&y){var C=f?" disabled":"",A="".concat(m?" selected":"").concat(C);return"".concat(u).concat(A,", ").concat(b(s,i),".")}return""},onFilter:function(e){var a=e.inputValue,i=e.resultsMessage;return"".concat(i).concat(a?" for search term "+a:"",".")}},hq=function(e){var a=e.ariaSelection,i=e.focusedOption,s=e.focusedValue,o=e.focusableOptions,u=e.isFocused,d=e.selectValue,f=e.selectProps,m=e.id,y=e.isAppleDevice,b=f.ariaLiveMessages,C=f.getOptionLabel,A=f.inputValue,I=f.isMulti,M=f.isOptionDisabled,O=f.isSearchable,R=f.menuIsOpen,x=f.options,j=f.screenReaderStatus,U=f.tabSelectsValue,L=f.isLoading,P=f["aria-label"],F=f["aria-live"],E=g.useMemo(function(){return Ge(Ge({},dq),b||{})},[b]),T=g.useMemo(function(){var V="";if(a&&E.onChange){var D=a.option,H=a.options,k=a.removedValue,W=a.removedValues,se=a.value,B=function(Je){return Array.isArray(Je)?null:Je},K=k||D||B(se),le=K?C(K):"",he=H||W||void 0,fe=he?he.map(C):[],ye=Ge({isDisabled:K&&M(K,d),label:le,labels:fe},a);V=E.onChange(ye)}return V},[a,E,M,d,C]),N=g.useMemo(function(){var V="",D=i||s,H=!!(i&&d&&d.includes(i));if(D&&E.onFocus){var k={focused:D,label:C(D),isDisabled:M(D,d),isSelected:H,options:o,context:D===i?"menu":"value",selectValue:d,isAppleDevice:y};V=E.onFocus(k)}return V},[i,s,C,M,E,o,d,y]),G=g.useMemo(function(){var V="";if(R&&x.length&&!L&&E.onFilter){var D=j({count:o.length});V=E.onFilter({inputValue:A,resultsMessage:D})}return V},[o,A,R,E,x,j,L]),_=a?.action==="initial-input-focus",q=g.useMemo(function(){var V="";if(E.guidance){var D=s?"value":R?"menu":"input";V=E.guidance({"aria-label":P,context:D,isDisabled:i&&M(i,d),isMulti:I,isSearchable:O,tabSelectsValue:U,isInitialFocus:_})}return V},[P,i,s,I,M,O,R,E,d,U,_]),Z=Fe(g.Fragment,null,Fe("span",{id:"aria-selection"},T),Fe("span",{id:"aria-focused"},N),Fe("span",{id:"aria-results"},G),Fe("span",{id:"aria-guidance"},q));return Fe(g.Fragment,null,Fe(jS,{id:m},_&&Z),Fe(jS,{"aria-live":F,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},u&&!_&&Z))},mq=hq,m6=[{base:"A",letters:"AⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷＢḂḄḆɃƂƁ"},{base:"C",letters:"CⒸＣĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹＤḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"ǱǄ"},{base:"Dz",letters:"ǲǅ"},{base:"E",letters:"EⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻＦḞƑꝻ"},{base:"G",letters:"GⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿＪĴɈ"},{base:"K",letters:"KⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"Ǉ"},{base:"Lj",letters:"ǈ"},{base:"M",letters:"MⓂＭḾṀṂⱮƜ"},{base:"N",letters:"NⓃＮǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"Ǌ"},{base:"Nj",letters:"ǋ"},{base:"O",letters:"OⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅＰṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆＱꝖꝘɊ"},{base:"R",letters:"RⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋＶṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌＷẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍＸẊẌ"},{base:"Y",letters:"YⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑｂḃḅḇƀƃɓ"},{base:"c",letters:"cⓒｃćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓｄḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"ǳǆ"},{base:"e",letters:"eⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕｆḟƒꝼ"},{base:"g",letters:"gⓖｇǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙｊĵǰɉ"},{base:"k",letters:"kⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"ǉ"},{base:"m",letters:"mⓜｍḿṁṃɱɯ"},{base:"n",letters:"nⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥ"},{base:"nj",letters:"ǌ"},{base:"o",letters:"oⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟｐṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠｑɋꝗꝙ"},{base:"r",letters:"rⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢｓßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥｖṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦｗẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧｘẋẍ"},{base:"y",letters:"yⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩｚźẑżžẓẕƶȥɀⱬꝣ"}],pq=new RegExp("["+m6.map(function(t){return t.letters}).join("")+"]","g"),FC={};for(var X3=0;X3<m6.length;X3++)for(var $3=m6[X3],ep=0;ep<$3.letters.length;ep++)FC[$3.letters[ep]]=$3.base;var VC=function(e){return e.replace(pq,function(a){return FC[a]})},gq=cq(VC),LS=function(e){return e.replace(/^\s+|\s+$/g,"")},vq=function(e){return"".concat(e.label," ").concat(e.value)},yq=function(e){return function(a,i){if(a.data.__isNew__)return!0;var s=Ge({ignoreCase:!0,ignoreAccents:!0,stringify:vq,trim:!0,matchFrom:"any"},e),o=s.ignoreCase,u=s.ignoreAccents,d=s.stringify,f=s.trim,m=s.matchFrom,y=f?LS(i):i,b=f?LS(d(a)):d(a);return o&&(y=y.toLowerCase(),b=b.toLowerCase()),u&&(y=gq(y),b=VC(b)),m==="start"?b.substr(0,y.length)===y:b.indexOf(y)>-1}},bq=["innerRef"];function Sq(t){var e=t.innerRef,a=di(t,bq),i=Z_(a,"onExited","in","enter","exit","appear");return Fe("input",Ye({ref:e},i,{css:g5({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var Eq=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Aq(t){var e=t.isEnabled,a=t.onBottomArrive,i=t.onBottomLeave,s=t.onTopArrive,o=t.onTopLeave,u=g.useRef(!1),d=g.useRef(!1),f=g.useRef(0),m=g.useRef(null),y=g.useCallback(function(O,R){if(m.current!==null){var x=m.current,j=x.scrollTop,U=x.scrollHeight,L=x.clientHeight,P=m.current,F=R>0,E=U-L-j,T=!1;E>R&&u.current&&(i&&i(O),u.current=!1),F&&d.current&&(o&&o(O),d.current=!1),F&&R>E?(a&&!u.current&&a(O),P.scrollTop=U,T=!0,u.current=!0):!F&&-R>j&&(s&&!d.current&&s(O),P.scrollTop=0,T=!0,d.current=!0),T&&Eq(O)}},[a,i,s,o]),b=g.useCallback(function(O){y(O,O.deltaY)},[y]),C=g.useCallback(function(O){f.current=O.changedTouches[0].clientY},[]),A=g.useCallback(function(O){var R=f.current-O.changedTouches[0].clientY;y(O,R)},[y]),I=g.useCallback(function(O){if(O){var R=F_?{passive:!1}:!1;O.addEventListener("wheel",b,R),O.addEventListener("touchstart",C,R),O.addEventListener("touchmove",A,R)}},[A,C,b]),M=g.useCallback(function(O){O&&(O.removeEventListener("wheel",b,!1),O.removeEventListener("touchstart",C,!1),O.removeEventListener("touchmove",A,!1))},[A,C,b]);return g.useEffect(function(){if(e){var O=m.current;return I(O),function(){M(O)}}},[e,I,M]),function(O){m.current=O}}var kS=["boxSizing","height","overflow","paddingRight","position"],_S={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function zS(t){t.cancelable&&t.preventDefault()}function qS(t){t.stopPropagation()}function US(){var t=this.scrollTop,e=this.scrollHeight,a=t+this.offsetHeight;t===0?this.scrollTop=1:a===e&&(this.scrollTop=t-1)}function PS(){return"ontouchstart"in window||navigator.maxTouchPoints}var HS=!!(typeof window<"u"&&window.document&&window.document.createElement),Ic=0,eo={capture:!1,passive:!1};function Cq(t){var e=t.isEnabled,a=t.accountForScrollbars,i=a===void 0?!0:a,s=g.useRef({}),o=g.useRef(null),u=g.useCallback(function(f){if(HS){var m=document.body,y=m&&m.style;if(i&&kS.forEach(function(I){var M=y&&y[I];s.current[I]=M}),i&&Ic<1){var b=parseInt(s.current.paddingRight,10)||0,C=document.body?document.body.clientWidth:0,A=window.innerWidth-C+b||0;Object.keys(_S).forEach(function(I){var M=_S[I];y&&(y[I]=M)}),y&&(y.paddingRight="".concat(A,"px"))}m&&PS()&&(m.addEventListener("touchmove",zS,eo),f&&(f.addEventListener("touchstart",US,eo),f.addEventListener("touchmove",qS,eo))),Ic+=1}},[i]),d=g.useCallback(function(f){if(HS){var m=document.body,y=m&&m.style;Ic=Math.max(Ic-1,0),i&&Ic<1&&kS.forEach(function(b){var C=s.current[b];y&&(y[b]=C)}),m&&PS()&&(m.removeEventListener("touchmove",zS,eo),f&&(f.removeEventListener("touchstart",US,eo),f.removeEventListener("touchmove",qS,eo)))}},[i]);return g.useEffect(function(){if(e){var f=o.current;return u(f),function(){d(f)}}},[e,u,d]),function(f){o.current=f}}var wq=function(e){var a=e.target;return a.ownerDocument.activeElement&&a.ownerDocument.activeElement.blur()},xq={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Tq(t){var e=t.children,a=t.lockEnabled,i=t.captureEnabled,s=i===void 0?!0:i,o=t.onBottomArrive,u=t.onBottomLeave,d=t.onTopArrive,f=t.onTopLeave,m=Aq({isEnabled:s,onBottomArrive:o,onBottomLeave:u,onTopArrive:d,onTopLeave:f}),y=Cq({isEnabled:a}),b=function(A){m(A),y(A)};return Fe(g.Fragment,null,a&&Fe("div",{onClick:wq,css:xq}),e(b))}var Oq={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Rq=function(e){var a=e.name,i=e.onFocus;return Fe("input",{required:!0,name:a,tabIndex:-1,"aria-hidden":"true",onFocus:i,css:Oq,value:"",onChange:function(){}})},Iq=Rq;function y5(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Mq(){return y5(/^iPhone/i)}function GC(){return y5(/^Mac/i)}function Nq(){return y5(/^iPad/i)||GC()&&navigator.maxTouchPoints>1}function Dq(){return Mq()||Nq()}function jq(){return GC()||Dq()}var Lq=function(e){return e.label},ZC=function(e){return e.label},YC=function(e){return e.value},kq=function(e){return!!e.isDisabled},_q={clearIndicator:Sz,container:cz,control:Oz,dropdownIndicator:yz,group:Nz,groupHeading:jz,indicatorsContainer:hz,indicatorSeparator:Az,input:zz,loadingIndicator:xz,loadingMessage:rz,menu:K_,menuList:tz,menuPortal:lz,multiValue:Bz,multiValueLabel:Fz,multiValueRemove:Vz,noOptionsMessage:az,option:Jz,placeholder:$z,singleValue:nq,valueContainer:fz},zq={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},qq=4,WC=4,Uq=38,Pq=WC*2,Hq={baseUnit:WC,controlHeight:Uq,menuGutter:Pq},tp={borderRadius:qq,colors:zq,spacing:Hq},Bq={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:MS(),captureMenuScroll:!MS(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:yq(),formatGroupLabel:Lq,getOptionLabel:ZC,getOptionValue:YC,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:kq,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!H_(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var a=e.count;return"".concat(a," result").concat(a!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function BS(t,e,a,i){var s=KC(t,e,a),o=XC(t,e,a),u=JC(t,e),d=vf(t,e);return{type:"option",data:e,isDisabled:s,isSelected:o,label:u,value:d,index:i}}function $1(t,e){return t.options.map(function(a,i){if("options"in a){var s=a.options.map(function(u,d){return BS(t,u,e,d)}).filter(function(u){return VS(t,u)});return s.length>0?{type:"group",data:a,options:s,index:i}:void 0}var o=BS(t,a,e,i);return VS(t,o)?o:void 0}).filter(V_)}function QC(t){return t.reduce(function(e,a){return a.type==="group"?e.push.apply(e,mo(a.options.map(function(i){return i.data}))):e.push(a.data),e},[])}function FS(t,e){return t.reduce(function(a,i){return i.type==="group"?a.push.apply(a,mo(i.options.map(function(s){return{data:s.data,id:"".concat(e,"-").concat(i.index,"-").concat(s.index)}}))):a.push({data:i.data,id:"".concat(e,"-").concat(i.index)}),a},[])}function Fq(t,e){return QC($1(t,e))}function VS(t,e){var a=t.inputValue,i=a===void 0?"":a,s=e.data,o=e.isSelected,u=e.label,d=e.value;return(!ew(t)||!o)&&$C(t,{label:u,value:d,data:s},i)}function Vq(t,e){var a=t.focusedValue,i=t.selectValue,s=i.indexOf(a);if(s>-1){var o=e.indexOf(a);if(o>-1)return a;if(s<e.length)return e[s]}return null}function Gq(t,e){var a=t.focusedOption;return a&&e.indexOf(a)>-1?a:e[0]}var np=function(e,a){var i,s=(i=e.find(function(o){return o.data===a}))===null||i===void 0?void 0:i.id;return s||null},JC=function(e,a){return e.getOptionLabel(a)},vf=function(e,a){return e.getOptionValue(a)};function KC(t,e,a){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,a):!1}function XC(t,e,a){if(a.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,a);var i=vf(t,e);return a.some(function(s){return vf(t,s)===i})}function $C(t,e,a){return t.filterOption?t.filterOption(e,a):!0}var ew=function(e){var a=e.hideSelectedOptions,i=e.isMulti;return a===void 0?i:a},Zq=1,b5=(function(t){Ik(a,t);var e=Dk(a);function a(i){var s;if(Ok(this,a),s=e.call(this,i),s.state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},s.blockOptionHover=!1,s.isComposing=!1,s.commonProps=void 0,s.initialTouchX=0,s.initialTouchY=0,s.openAfterFocus=!1,s.scrollToFocusedOptionOnUpdate=!1,s.userIsDragging=void 0,s.controlRef=null,s.getControlRef=function(f){s.controlRef=f},s.focusedOptionRef=null,s.getFocusedOptionRef=function(f){s.focusedOptionRef=f},s.menuListRef=null,s.getMenuListRef=function(f){s.menuListRef=f},s.inputRef=null,s.getInputRef=function(f){s.inputRef=f},s.focus=s.focusInput,s.blur=s.blurInput,s.onChange=function(f,m){var y=s.props,b=y.onChange,C=y.name;m.name=C,s.ariaOnChange(f,m),b(f,m)},s.setValue=function(f,m,y){var b=s.props,C=b.closeMenuOnSelect,A=b.isMulti,I=b.inputValue;s.onInputChange("",{action:"set-value",prevInputValue:I}),C&&(s.setState({inputIsHiddenAfterUpdate:!A}),s.onMenuClose()),s.setState({clearFocusValueOnUpdate:!0}),s.onChange(f,{action:m,option:y})},s.selectOption=function(f){var m=s.props,y=m.blurInputOnSelect,b=m.isMulti,C=m.name,A=s.state.selectValue,I=b&&s.isOptionSelected(f,A),M=s.isOptionDisabled(f,A);if(I){var O=s.getOptionValue(f);s.setValue(A.filter(function(R){return s.getOptionValue(R)!==O}),"deselect-option",f)}else if(!M)b?s.setValue([].concat(mo(A),[f]),"select-option",f):s.setValue(f,"select-option");else{s.ariaOnChange(f,{action:"select-option",option:f,name:C});return}y&&s.blurInput()},s.removeValue=function(f){var m=s.props.isMulti,y=s.state.selectValue,b=s.getOptionValue(f),C=y.filter(function(I){return s.getOptionValue(I)!==b}),A=Vc(m,C,C[0]||null);s.onChange(A,{action:"remove-value",removedValue:f}),s.focusInput()},s.clearValue=function(){var f=s.state.selectValue;s.onChange(Vc(s.props.isMulti,[],null),{action:"clear",removedValues:f})},s.popValue=function(){var f=s.props.isMulti,m=s.state.selectValue,y=m[m.length-1],b=m.slice(0,m.length-1),C=Vc(f,b,b[0]||null);y&&s.onChange(C,{action:"pop-value",removedValue:y})},s.getFocusedOptionId=function(f){return np(s.state.focusableOptionsWithIds,f)},s.getFocusableOptionsWithIds=function(){return FS($1(s.props,s.state.selectValue),s.getElementId("option"))},s.getValue=function(){return s.state.selectValue},s.cx=function(){for(var f=arguments.length,m=new Array(f),y=0;y<f;y++)m[y]=arguments[y];return __.apply(void 0,[s.props.classNamePrefix].concat(m))},s.getOptionLabel=function(f){return JC(s.props,f)},s.getOptionValue=function(f){return vf(s.props,f)},s.getStyles=function(f,m){var y=s.props.unstyled,b=_q[f](m,y);b.boxSizing="border-box";var C=s.props.styles[f];return C?C(b,m):b},s.getClassNames=function(f,m){var y,b;return(y=(b=s.props.classNames)[f])===null||y===void 0?void 0:y.call(b,m)},s.getElementId=function(f){return"".concat(s.state.instancePrefix,"-").concat(f)},s.getComponents=function(){return sq(s.props)},s.buildCategorizedOptions=function(){return $1(s.props,s.state.selectValue)},s.getCategorizedOptions=function(){return s.props.menuIsOpen?s.buildCategorizedOptions():[]},s.buildFocusableOptions=function(){return QC(s.buildCategorizedOptions())},s.getFocusableOptions=function(){return s.props.menuIsOpen?s.buildFocusableOptions():[]},s.ariaOnChange=function(f,m){s.setState({ariaSelection:Ge({value:f},m)})},s.onMenuMouseDown=function(f){f.button===0&&(f.stopPropagation(),f.preventDefault(),s.focusInput())},s.onMenuMouseMove=function(f){s.blockOptionHover=!1},s.onControlMouseDown=function(f){if(!f.defaultPrevented){var m=s.props.openMenuOnClick;s.state.isFocused?s.props.menuIsOpen?f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&s.onMenuClose():m&&s.openMenu("first"):(m&&(s.openAfterFocus=!0),s.focusInput()),f.target.tagName!=="INPUT"&&f.target.tagName!=="TEXTAREA"&&f.preventDefault()}},s.onDropdownIndicatorMouseDown=function(f){if(!(f&&f.type==="mousedown"&&f.button!==0)&&!s.props.isDisabled){var m=s.props,y=m.isMulti,b=m.menuIsOpen;s.focusInput(),b?(s.setState({inputIsHiddenAfterUpdate:!y}),s.onMenuClose()):s.openMenu("first"),f.preventDefault()}},s.onClearIndicatorMouseDown=function(f){f&&f.type==="mousedown"&&f.button!==0||(s.clearValue(),f.preventDefault(),s.openAfterFocus=!1,f.type==="touchend"?s.focusInput():setTimeout(function(){return s.focusInput()}))},s.onScroll=function(f){typeof s.props.closeMenuOnScroll=="boolean"?f.target instanceof HTMLElement&&Vf(f.target)&&s.props.onMenuClose():typeof s.props.closeMenuOnScroll=="function"&&s.props.closeMenuOnScroll(f)&&s.props.onMenuClose()},s.onCompositionStart=function(){s.isComposing=!0},s.onCompositionEnd=function(){s.isComposing=!1},s.onTouchStart=function(f){var m=f.touches,y=m&&m.item(0);y&&(s.initialTouchX=y.clientX,s.initialTouchY=y.clientY,s.userIsDragging=!1)},s.onTouchMove=function(f){var m=f.touches,y=m&&m.item(0);if(y){var b=Math.abs(y.clientX-s.initialTouchX),C=Math.abs(y.clientY-s.initialTouchY),A=5;s.userIsDragging=b>A||C>A}},s.onTouchEnd=function(f){s.userIsDragging||(s.controlRef&&!s.controlRef.contains(f.target)&&s.menuListRef&&!s.menuListRef.contains(f.target)&&s.blurInput(),s.initialTouchX=0,s.initialTouchY=0)},s.onControlTouchEnd=function(f){s.userIsDragging||s.onControlMouseDown(f)},s.onClearIndicatorTouchEnd=function(f){s.userIsDragging||s.onClearIndicatorMouseDown(f)},s.onDropdownIndicatorTouchEnd=function(f){s.userIsDragging||s.onDropdownIndicatorMouseDown(f)},s.handleInputChange=function(f){var m=s.props.inputValue,y=f.currentTarget.value;s.setState({inputIsHiddenAfterUpdate:!1}),s.onInputChange(y,{action:"input-change",prevInputValue:m}),s.props.menuIsOpen||s.onMenuOpen()},s.onInputFocus=function(f){s.props.onFocus&&s.props.onFocus(f),s.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(s.openAfterFocus||s.props.openMenuOnFocus)&&s.openMenu("first"),s.openAfterFocus=!1},s.onInputBlur=function(f){var m=s.props.inputValue;if(s.menuListRef&&s.menuListRef.contains(document.activeElement)){s.inputRef.focus();return}s.props.onBlur&&s.props.onBlur(f),s.onInputChange("",{action:"input-blur",prevInputValue:m}),s.onMenuClose(),s.setState({focusedValue:null,isFocused:!1})},s.onOptionHover=function(f){if(!(s.blockOptionHover||s.state.focusedOption===f)){var m=s.getFocusableOptions(),y=m.indexOf(f);s.setState({focusedOption:f,focusedOptionId:y>-1?s.getFocusedOptionId(f):null})}},s.shouldHideSelectedOptions=function(){return ew(s.props)},s.onValueInputFocus=function(f){f.preventDefault(),f.stopPropagation(),s.focus()},s.onKeyDown=function(f){var m=s.props,y=m.isMulti,b=m.backspaceRemovesValue,C=m.escapeClearsValue,A=m.inputValue,I=m.isClearable,M=m.isDisabled,O=m.menuIsOpen,R=m.onKeyDown,x=m.tabSelectsValue,j=m.openMenuOnFocus,U=s.state,L=U.focusedOption,P=U.focusedValue,F=U.selectValue;if(!M&&!(typeof R=="function"&&(R(f),f.defaultPrevented))){switch(s.blockOptionHover=!0,f.key){case"ArrowLeft":if(!y||A)return;s.focusValue("previous");break;case"ArrowRight":if(!y||A)return;s.focusValue("next");break;case"Delete":case"Backspace":if(A)return;if(P)s.removeValue(P);else{if(!b)return;y?s.popValue():I&&s.clearValue()}break;case"Tab":if(s.isComposing||f.shiftKey||!O||!x||!L||j&&s.isOptionSelected(L,F))return;s.selectOption(L);break;case"Enter":if(f.keyCode===229)break;if(O){if(!L||s.isComposing)return;s.selectOption(L);break}return;case"Escape":O?(s.setState({inputIsHiddenAfterUpdate:!1}),s.onInputChange("",{action:"menu-close",prevInputValue:A}),s.onMenuClose()):I&&C&&s.clearValue();break;case" ":if(A)return;if(!O){s.openMenu("first");break}if(!L)return;s.selectOption(L);break;case"ArrowUp":O?s.focusOption("up"):s.openMenu("last");break;case"ArrowDown":O?s.focusOption("down"):s.openMenu("first");break;case"PageUp":if(!O)return;s.focusOption("pageup");break;case"PageDown":if(!O)return;s.focusOption("pagedown");break;case"Home":if(!O)return;s.focusOption("first");break;case"End":if(!O)return;s.focusOption("last");break;default:return}f.preventDefault()}},s.state.instancePrefix="react-select-"+(s.props.instanceId||++Zq),s.state.selectValue=pf(i.value),i.menuIsOpen&&s.state.selectValue.length){var o=s.getFocusableOptionsWithIds(),u=s.buildFocusableOptions(),d=u.indexOf(s.state.selectValue[0]);s.state.focusableOptionsWithIds=o,s.state.focusedOption=u[d],s.state.focusedOptionId=np(o,u[d])}return s}return Rk(a,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&IS(this.menuListRef,this.focusedOptionRef),jq()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(s){var o=this.props,u=o.isDisabled,d=o.menuIsOpen,f=this.state.isFocused;(f&&!u&&s.isDisabled||f&&d&&!s.menuIsOpen)&&this.focusInput(),f&&u&&!s.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!f&&!u&&s.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(IS(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(s,o){this.props.onInputChange(s,o)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(s){var o=this,u=this.state,d=u.selectValue,f=u.isFocused,m=this.buildFocusableOptions(),y=s==="first"?0:m.length-1;if(!this.props.isMulti){var b=m.indexOf(d[0]);b>-1&&(y=b)}this.scrollToFocusedOptionOnUpdate=!(f&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:m[y],focusedOptionId:this.getFocusedOptionId(m[y])},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(s){var o=this.state,u=o.selectValue,d=o.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var f=u.indexOf(d);d||(f=-1);var m=u.length-1,y=-1;if(u.length){switch(s){case"previous":f===0?y=0:f===-1?y=m:y=f-1;break;case"next":f>-1&&f<m&&(y=f+1);break}this.setState({inputIsHidden:y!==-1,focusedValue:u[y]})}}}},{key:"focusOption",value:function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,u=this.state.focusedOption,d=this.getFocusableOptions();if(d.length){var f=0,m=d.indexOf(u);u||(m=-1),s==="up"?f=m>0?m-1:d.length-1:s==="down"?f=(m+1)%d.length:s==="pageup"?(f=m-o,f<0&&(f=0)):s==="pagedown"?(f=m+o,f>d.length-1&&(f=d.length-1)):s==="last"&&(f=d.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:d[f],focusedValue:null,focusedOptionId:this.getFocusedOptionId(d[f])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(tp):Ge(Ge({},tp),this.props.theme):tp})},{key:"getCommonProps",value:function(){var s=this.clearValue,o=this.cx,u=this.getStyles,d=this.getClassNames,f=this.getValue,m=this.selectOption,y=this.setValue,b=this.props,C=b.isMulti,A=b.isRtl,I=b.options,M=this.hasValue();return{clearValue:s,cx:o,getStyles:u,getClassNames:d,getValue:f,hasValue:M,isMulti:C,isRtl:A,options:I,selectOption:m,selectProps:b,setValue:y,theme:this.getTheme()}}},{key:"hasValue",value:function(){var s=this.state.selectValue;return s.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var s=this.props,o=s.isClearable,u=s.isMulti;return o===void 0?u:o}},{key:"isOptionDisabled",value:function(s,o){return KC(this.props,s,o)}},{key:"isOptionSelected",value:function(s,o){return XC(this.props,s,o)}},{key:"filterOption",value:function(s,o){return $C(this.props,s,o)}},{key:"formatOptionLabel",value:function(s,o){if(typeof this.props.formatOptionLabel=="function"){var u=this.props.inputValue,d=this.state.selectValue;return this.props.formatOptionLabel(s,{context:o,inputValue:u,selectValue:d})}else return this.getOptionLabel(s)}},{key:"formatGroupLabel",value:function(s){return this.props.formatGroupLabel(s)}},{key:"startListeningComposition",value:(function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))})},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:(function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))})},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:(function(){var s=this.props,o=s.isDisabled,u=s.isSearchable,d=s.inputId,f=s.inputValue,m=s.tabIndex,y=s.form,b=s.menuIsOpen,C=s.required,A=this.getComponents(),I=A.Input,M=this.state,O=M.inputIsHidden,R=M.ariaSelection,x=this.commonProps,j=d||this.getElementId("input"),U=Ge(Ge(Ge({"aria-autocomplete":"list","aria-expanded":b,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":C,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},b&&{"aria-controls":this.getElementId("listbox")}),!u&&{"aria-readonly":!0}),this.hasValue()?R?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return u?g.createElement(I,Ye({},x,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:j,innerRef:this.getInputRef,isDisabled:o,isHidden:O,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:m,form:y,type:"text",value:f},U)):g.createElement(Sq,Ye({id:j,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:mf,onFocus:this.onInputFocus,disabled:o,tabIndex:m,inputMode:"none",form:y,value:""},U))})},{key:"renderPlaceholderOrValue",value:function(){var s=this,o=this.getComponents(),u=o.MultiValue,d=o.MultiValueContainer,f=o.MultiValueLabel,m=o.MultiValueRemove,y=o.SingleValue,b=o.Placeholder,C=this.commonProps,A=this.props,I=A.controlShouldRenderValue,M=A.isDisabled,O=A.isMulti,R=A.inputValue,x=A.placeholder,j=this.state,U=j.selectValue,L=j.focusedValue,P=j.isFocused;if(!this.hasValue()||!I)return R?null:g.createElement(b,Ye({},C,{key:"placeholder",isDisabled:M,isFocused:P,innerProps:{id:this.getElementId("placeholder")}}),x);if(O)return U.map(function(E,T){var N=E===L,G="".concat(s.getOptionLabel(E),"-").concat(s.getOptionValue(E));return g.createElement(u,Ye({},C,{components:{Container:d,Label:f,Remove:m},isFocused:N,isDisabled:M,key:G,index:T,removeProps:{onClick:function(){return s.removeValue(E)},onTouchEnd:function(){return s.removeValue(E)},onMouseDown:function(q){q.preventDefault()}},data:E}),s.formatOptionLabel(E,"value"))});if(R)return null;var F=U[0];return g.createElement(y,Ye({},C,{data:F,isDisabled:M}),this.formatOptionLabel(F,"value"))}},{key:"renderClearIndicator",value:function(){var s=this.getComponents(),o=s.ClearIndicator,u=this.commonProps,d=this.props,f=d.isDisabled,m=d.isLoading,y=this.state.isFocused;if(!this.isClearable()||!o||f||!this.hasValue()||m)return null;var b={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return g.createElement(o,Ye({},u,{innerProps:b,isFocused:y}))}},{key:"renderLoadingIndicator",value:function(){var s=this.getComponents(),o=s.LoadingIndicator,u=this.commonProps,d=this.props,f=d.isDisabled,m=d.isLoading,y=this.state.isFocused;if(!o||!m)return null;var b={"aria-hidden":"true"};return g.createElement(o,Ye({},u,{innerProps:b,isDisabled:f,isFocused:y}))}},{key:"renderIndicatorSeparator",value:function(){var s=this.getComponents(),o=s.DropdownIndicator,u=s.IndicatorSeparator;if(!o||!u)return null;var d=this.commonProps,f=this.props.isDisabled,m=this.state.isFocused;return g.createElement(u,Ye({},d,{isDisabled:f,isFocused:m}))}},{key:"renderDropdownIndicator",value:function(){var s=this.getComponents(),o=s.DropdownIndicator;if(!o)return null;var u=this.commonProps,d=this.props.isDisabled,f=this.state.isFocused,m={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return g.createElement(o,Ye({},u,{innerProps:m,isDisabled:d,isFocused:f}))}},{key:"renderMenu",value:function(){var s=this,o=this.getComponents(),u=o.Group,d=o.GroupHeading,f=o.Menu,m=o.MenuList,y=o.MenuPortal,b=o.LoadingMessage,C=o.NoOptionsMessage,A=o.Option,I=this.commonProps,M=this.state.focusedOption,O=this.props,R=O.captureMenuScroll,x=O.inputValue,j=O.isLoading,U=O.loadingMessage,L=O.minMenuHeight,P=O.maxMenuHeight,F=O.menuIsOpen,E=O.menuPlacement,T=O.menuPosition,N=O.menuPortalTarget,G=O.menuShouldBlockScroll,_=O.menuShouldScrollIntoView,q=O.noOptionsMessage,Z=O.onMenuScrollToTop,V=O.onMenuScrollToBottom;if(!F)return null;var D=function(le,he){var fe=le.type,ye=le.data,we=le.isDisabled,Je=le.isSelected,Ne=le.label,Wt=le.value,mt=M===ye,Mt=we?void 0:function(){return s.onOptionHover(ye)},At=we?void 0:function(){return s.selectOption(ye)},je="".concat(s.getElementId("option"),"-").concat(he),Ae={id:je,onClick:At,onMouseMove:Mt,onMouseOver:Mt,tabIndex:-1,role:"option","aria-selected":s.state.isAppleDevice?void 0:Je};return g.createElement(A,Ye({},I,{innerProps:Ae,data:ye,isDisabled:we,isSelected:Je,key:je,label:Ne,type:fe,value:Wt,isFocused:mt,innerRef:mt?s.getFocusedOptionRef:void 0}),s.formatOptionLabel(le.data,"menu"))},H;if(this.hasOptions())H=this.getCategorizedOptions().map(function(K){if(K.type==="group"){var le=K.data,he=K.options,fe=K.index,ye="".concat(s.getElementId("group"),"-").concat(fe),we="".concat(ye,"-heading");return g.createElement(u,Ye({},I,{key:ye,data:le,options:he,Heading:d,headingProps:{id:we,data:K.data},label:s.formatGroupLabel(K.data)}),K.options.map(function(Je){return D(Je,"".concat(fe,"-").concat(Je.index))}))}else if(K.type==="option")return D(K,"".concat(K.index))});else if(j){var k=U({inputValue:x});if(k===null)return null;H=g.createElement(b,I,k)}else{var W=q({inputValue:x});if(W===null)return null;H=g.createElement(C,I,W)}var se={minMenuHeight:L,maxMenuHeight:P,menuPlacement:E,menuPosition:T,menuShouldScrollIntoView:_},B=g.createElement(X_,Ye({},I,se),function(K){var le=K.ref,he=K.placerProps,fe=he.placement,ye=he.maxHeight;return g.createElement(f,Ye({},I,se,{innerRef:le,innerProps:{onMouseDown:s.onMenuMouseDown,onMouseMove:s.onMenuMouseMove},isLoading:j,placement:fe}),g.createElement(Tq,{captureEnabled:R,onTopArrive:Z,onBottomArrive:V,lockEnabled:G},function(we){return g.createElement(m,Ye({},I,{innerRef:function(Ne){s.getMenuListRef(Ne),we(Ne)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:s.getElementId("listbox")},isLoading:j,maxHeight:ye,focusedOption:M}),H)}))});return N||T==="fixed"?g.createElement(y,Ye({},I,{appendTo:N,controlElement:this.controlRef,menuPlacement:E,menuPosition:T}),B):B}},{key:"renderFormField",value:function(){var s=this,o=this.props,u=o.delimiter,d=o.isDisabled,f=o.isMulti,m=o.name,y=o.required,b=this.state.selectValue;if(y&&!this.hasValue()&&!d)return g.createElement(Iq,{name:m,onFocus:this.onValueInputFocus});if(!(!m||d))if(f)if(u){var C=b.map(function(M){return s.getOptionValue(M)}).join(u);return g.createElement("input",{name:m,type:"hidden",value:C})}else{var A=b.length>0?b.map(function(M,O){return g.createElement("input",{key:"i-".concat(O),name:m,type:"hidden",value:s.getOptionValue(M)})}):g.createElement("input",{name:m,type:"hidden",value:""});return g.createElement("div",null,A)}else{var I=b[0]?this.getOptionValue(b[0]):"";return g.createElement("input",{name:m,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var s=this.commonProps,o=this.state,u=o.ariaSelection,d=o.focusedOption,f=o.focusedValue,m=o.isFocused,y=o.selectValue,b=this.getFocusableOptions();return g.createElement(mq,Ye({},s,{id:this.getElementId("live-region"),ariaSelection:u,focusedOption:d,focusedValue:f,isFocused:m,selectValue:y,focusableOptions:b,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var s=this.getComponents(),o=s.Control,u=s.IndicatorsContainer,d=s.SelectContainer,f=s.ValueContainer,m=this.props,y=m.className,b=m.id,C=m.isDisabled,A=m.menuIsOpen,I=this.state.isFocused,M=this.commonProps=this.getCommonProps();return g.createElement(d,Ye({},M,{className:y,innerProps:{id:b,onKeyDown:this.onKeyDown},isDisabled:C,isFocused:I}),this.renderLiveRegion(),g.createElement(o,Ye({},M,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:C,isFocused:I,menuIsOpen:A}),g.createElement(f,Ye({},M,{isDisabled:C}),this.renderPlaceholderOrValue(),this.renderInput()),g.createElement(u,Ye({},M,{isDisabled:C}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(s,o){var u=o.prevProps,d=o.clearFocusValueOnUpdate,f=o.inputIsHiddenAfterUpdate,m=o.ariaSelection,y=o.isFocused,b=o.prevWasFocused,C=o.instancePrefix,A=s.options,I=s.value,M=s.menuIsOpen,O=s.inputValue,R=s.isMulti,x=pf(I),j={};if(u&&(I!==u.value||A!==u.options||M!==u.menuIsOpen||O!==u.inputValue)){var U=M?Fq(s,x):[],L=M?FS($1(s,x),"".concat(C,"-option")):[],P=d?Vq(o,x):null,F=Gq(o,U),E=np(L,F);j={selectValue:x,focusedOption:F,focusedOptionId:E,focusableOptionsWithIds:L,focusedValue:P,clearFocusValueOnUpdate:!1}}var T=f!=null&&s!==u?{inputIsHidden:f,inputIsHiddenAfterUpdate:void 0}:{},N=m,G=y&&b;return y&&!G&&(N={value:Vc(R,x,x[0]||null),options:x,action:"initial-input-focus"},G=!b),m?.action==="initial-input-focus"&&(N=null),Ge(Ge(Ge({},j),T),{},{prevProps:s,ariaSelection:N,prevWasFocused:G})}}]),a})(g.Component);b5.defaultProps=Bq;var Yq=g.forwardRef(function(t,e){var a=bC(t);return g.createElement(b5,Ye({ref:e},a))}),Wq=Yq,Qq=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],GS=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",a=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0,s=String(e).toLowerCase(),o=String(i.getOptionValue(a)).toLowerCase(),u=String(i.getOptionLabel(a)).toLowerCase();return o===s||u===s},ap={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,a,i,s){return!(!e||a.some(function(o){return GS(e,o,s)})||i.some(function(o){return GS(e,o,s)}))},getNewOptionData:function(e,a){return{label:a,value:e,__isNew__:!0}}};function Jq(t){var e=t.allowCreateWhileLoading,a=e===void 0?!1:e,i=t.createOptionPosition,s=i===void 0?"last":i,o=t.formatCreateLabel,u=o===void 0?ap.formatCreateLabel:o,d=t.isValidNewOption,f=d===void 0?ap.isValidNewOption:d,m=t.getNewOptionData,y=m===void 0?ap.getNewOptionData:m,b=t.onCreateOption,C=t.options,A=C===void 0?[]:C,I=t.onChange,M=di(t,Qq),O=M.getOptionValue,R=O===void 0?YC:O,x=M.getOptionLabel,j=x===void 0?ZC:x,U=M.inputValue,L=M.isLoading,P=M.isMulti,F=M.value,E=M.name,T=g.useMemo(function(){return f(U,pf(F),A,{getOptionValue:R,getOptionLabel:j})?y(U,u(U)):void 0},[u,y,j,R,U,f,A,F]),N=g.useMemo(function(){return(a||!L)&&T?s==="first"?[T].concat(mo(A)):[].concat(mo(A),[T]):A},[a,s,L,T,A]),G=g.useCallback(function(_,q){if(q.action!=="select-option")return I(_,q);var Z=Array.isArray(_)?_:[_];if(Z[Z.length-1]===T){if(b)b(U);else{var V=y(U,U),D={action:"create-option",name:E,option:V};I(Vc(P,[].concat(mo(pf(F)),[V]),V),D)}return}I(_,q)},[y,U,P,E,T,b,I,F]);return Ge(Ge({},M),{},{options:N,onChange:G})}var Kq=g.forwardRef(function(t,e){var a=bC(t),i=Jq(a);return g.createElement(b5,Ye({ref:e},i))}),Xq=Kq;const $q=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"alert-triangle",width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("g",{clipPath:"url(#clip0_2645_3333)"},g.createElement("path",{d:"M13.3128 2.27496C13.1832 2.04027 12.993 1.84461 12.7621 1.70836C12.5312 1.57211 12.268 1.50024 11.9998 1.50024C11.7317 1.50024 11.4685 1.57211 11.2376 1.70836C11.0067 1.84461 10.8165 2.04027 10.6868 2.27496L0.936845 20.275C0.810764 20.5033 0.746416 20.7606 0.750154 21.0215C0.753892 21.2823 0.825586 21.5376 0.95816 21.7623C1.09073 21.987 1.2796 22.1732 1.50612 22.3025C1.73265 22.4319 1.98899 22.4999 2.24985 22.5H21.7498C22.0107 22.4999 22.267 22.4319 22.4936 22.3025C22.7201 22.1732 22.909 21.987 23.0415 21.7623C23.1741 21.5376 23.2458 21.2823 23.2495 21.0215C23.2533 20.7606 23.1889 20.5033 23.0628 20.275L13.3128 2.27496Z",fill:"#FFC100",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 17.25C12.2984 17.25 12.5845 17.3685 12.7955 17.5795C13.0065 17.7905 13.125 18.0766 13.125 18.375C13.125 18.6734 13.0065 18.9595 12.7955 19.1705C12.5845 19.3815 12.2984 19.5 12 19.5C11.7016 19.5 11.4155 19.3815 11.2045 19.1705C10.9935 18.9595 10.875 18.6734 10.875 18.375C10.875 18.0766 10.9935 17.7905 11.2045 17.5795C11.4155 17.3685 11.7016 17.25 12 17.25Z",fill:"white"}),g.createElement("path",{d:"M12 15V8.25",stroke:"white",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),g.createElement("defs",null,g.createElement("clipPath",{id:"clip0_2645_3333"},g.createElement("rect",{width:24,height:24,fill:"white"})))),ai=g.forwardRef($q);function Pa({onChange:t,name:e,value:a,options:i,placeholder:s="",disabled:o=!1,toolTip:u=null,searchable:d=!1,small:f=!1,clearable:m=!1,isMulti:y=!1,creatable:b=!1,onInputChange:C=null,required:A=!1,info:I=null,className:M="",isAlert:O=!1}){return h.jsxs("div",{className:`select-field ${M}`,children:[e&&h.jsxs("label",{htmlFor:e,children:[e,A&&h.jsx("sup",{className:"required",children:"*"}),u&&h.jsx(ca,{tip:u}),O&&h.jsx(ai,{})]}),b&&h.jsx(Xq,{className:"input-select-inner creatable",classNamePrefix:"select-inner",value:a,isMulti:!0,placeholder:s,isSearchable:!0,onInputChange:C,isClearable:m,isDisabled:o,onChange:t,options:i}),!b&&h.jsx(Wq,{className:`input-select-inner ${f?" small":""}`,classNamePrefix:"select-inner",value:a,placeholder:s,isDisabled:o,onChange:t,isMulti:y,options:i,isSearchable:d,isClearable:m}),I&&h.jsx("p",{className:"select-info",children:I})]})}const eU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:140,height:140,viewBox:"0 0 140 140",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M43.879 61.032c-9.648 0-17.5-7.852-17.5-17.5s7.852-17.5 17.5-17.5 17.5 7.852 17.5 17.5-7.852 17.5-17.5 17.5zm0-26.25c-4.824 0-8.75 3.926-8.75 8.75s3.926 8.75 8.75 8.75 8.75-3.926 8.75-8.75-3.926-8.75-8.75-8.75zm65.865 75.978c-1.47 0-2.829-.73-3.645-1.949L83.203 74.465a1.54 1.54 0 00-2.118-.432 1.53 1.53 0 00-.402.397L64.979 96.865a4.373 4.373 0 01-2.963 1.82c-.216.029-.42.046-.618.046a4.396 4.396 0 01-2.742-.962l-9.73-7.805a1.5 1.5 0 00-.94-.333c-.057 0-.116.006-.174.012a1.49 1.49 0 00-1.02.56L34.394 108.81a4.371 4.371 0 01-3.646 1.949 4.35 4.35 0 01-2.42-.73 4.382 4.382 0 01-1.22-6.066l12.315-18.498c.163-.245.344-.496.542-.74a10.186 10.186 0 016.883-3.78c.385-.041.77-.065 1.155-.065 2.34 0 4.55.782 6.394 2.258l6.09 4.882 13.02-18.602a10.253 10.253 0 012.73-2.672 10.175 10.175 0 015.676-1.715c3.459 0 6.661 1.715 8.569 4.585l22.896 34.341a4.365 4.365 0 01-1.214 6.067 4.36 4.36 0 01-2.421.735z"})),S5=g.forwardRef(eU),N1=10,tU=()=>{const t=kt(),[e,a]=g.useState(""),[i,s]=g.useState(!0),[o,u]=g.useState([]),[d,f]=g.useState([]),[m,y]=g.useState(null),[b,C]=g.useState([]),[A,I]=g.useState(l5());g.useEffect(()=>{BL().then(R=>{R=R.sort((L,P)=>ri(S.locale,L).toLowerCase().localeCompare(ri(S.locale,P).toLowerCase())),u(R),f(R);const x=R.reduce((L,P)=>{const F=P.data.metaDataFields["coin:institution_type"];return ne(F)||(L[F]?L[F]=L[F]+1:L[F]=1),L},{}),j={value:"all",label:`${S.t("institutions.all")} (${R.length})`};let U=[j];U=U.concat(Object.entries(x).sort((L,P)=>L[0].toLowerCase().localeCompare(P[0].toLowerCase())).map(L=>({value:L[0],label:`${L[0]} (${L[1]})`}))),y(j.value),C(U),s(!1)}).catch(()=>{t("/404")})},[]),g.useEffect(()=>{f(ne(e)&&m==="all"?o:o.filter(M))},[e,m]);const M=R=>{I(1);let x=!0;const j=R.data.metaDataFields["coin:institution_type"];m!=="all"&&(x=j===m);let U=!0;if(!ne(e)){const L=ri(S.locale,R).toLowerCase(),P=e.toLowerCase();U=L.includes(P)}return x&&U};if(i)return h.jsx(Sn,{});const O=Math.min(A,Math.ceil(d.length/N1));return h.jsxs("div",{className:"institutions-container",children:[h.jsx("div",{className:"institutions-header-container",children:h.jsxs("div",{className:"institutions-header",children:[h.jsxs("div",{className:"left",children:[h.jsx("h1",{className:"large",children:S.t("institutions.title")}),h.jsx("p",{children:S.t("institutions.subTitle")})]}),h.jsx("img",{src:gC,alt:"student"})]})}),h.jsxs("div",{className:"inner-institutions-container",children:[h.jsxs("div",{className:"institutions",children:[h.jsx("div",{className:"institutions-search",children:h.jsx("div",{className:"sds--text-field sds--text-field--has-icon",children:h.jsxs("div",{className:"sds--text-field--shape",children:[h.jsxs("div",{className:"sds--text-field--input-and-icon",children:[h.jsx("input",{className:"sds--text-field--input",type:"search",onChange:R=>a(R.target.value),value:e,placeholder:S.t("institutions.searchPlaceHolder")}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Pf,{})})]}),h.jsx(Pa,{value:b.find(R=>R.value===m),placeholder:S.t("institutions.categoryPlaceHolder"),options:b,searchable:!1,onChange:R=>y(R.value)})]})})}),h.jsx("div",{className:"institutions-overview",children:h.jsx("ul",{children:d.slice((O-1)*N1,O*N1).map((R,x)=>{const j=R.data.metaDataFields,U=j["coin:institution_type"]||S.t("institutions.other");return h.jsx("li",{children:h.jsxs("div",{className:"identity-provider",children:[j["logo:0:url"]&&h.jsx("img",{src:j["logo:0:url"],alt:""}),!j["logo:0:url"]&&h.jsx(S5,{}),h.jsxs("div",{className:"idp-info",children:[h.jsx("span",{className:"idp-type",children:U}),h.jsx("span",{className:"idp-name",children:ri(S.locale,R)})]})]})},x)})})})]}),h.jsx(z6,{currentPage:A,onChange:R=>{I(R),s5(R)},total:d.length,pageCount:N1})]})]})},nU=()=>{const t=kt();return h.jsxs("div",{className:"connect-container",children:[h.jsx("div",{className:"connect-header-container",children:h.jsxs("div",{className:"connect-header",children:[h.jsxs("div",{className:"left",children:[h.jsx("h1",{className:"large",children:S.t("connect.title")}),h.jsx("p",{children:S.t("connect.subTitle")})]}),h.jsx("img",{src:gC,alt:"student"})]})}),h.jsxs("div",{className:"inner-connect-container",children:[h.jsxs("div",{className:"connect",children:[h.jsx("h2",{children:S.t("connect.formal")}),h.jsx("p",{children:S.t("connect.formalInfo")}),h.jsxs("div",{className:"table-container",children:[h.jsxs("table",{children:[h.jsx("thead",{}),h.jsxs("tbody",{children:[h.jsxs("tr",{children:[h.jsx("td",{className:"left-top",children:S.t("connect.agreementTypes")}),h.jsxs("td",{children:[h.jsx("p",{children:S.t("connect.testIdps")}),h.jsx("span",{className:"sub",children:S.t("connect.accessTestIdps")})]}),h.jsxs("td",{children:[h.jsx("p",{children:S.t("connect.collaborations")}),h.jsx("span",{className:"sub",children:S.t("connect.accessGroups")})]}),h.jsxs("td",{children:[h.jsx("p",{children:S.t("connect.enterprises")}),h.jsx("span",{className:"sub",children:S.t("connect.accessStudent")})]})]}),h.jsxs("tr",{children:[h.jsx("td",{children:h.jsx("p",{children:S.t("connect.commercial")})}),h.jsx("td",{dangerouslySetInnerHTML:{__html:S.t("connect.fairUse")}}),h.jsx("td",{dangerouslySetInnerHTML:{__html:S.t("connect.accessTOS")}}),h.jsx("td",{dangerouslySetInnerHTML:{__html:S.t("connect.connectionAgreement")}})]}),h.jsxs("tr",{children:[h.jsx("td",{children:h.jsxs("p",{children:[S.t("connect.surfMember"),h.jsx("sup",{children:"*"})]})}),h.jsx("td",{children:h.jsx("span",{children:S.t("connect.notNeeded")})}),h.jsx("td",{children:h.jsx("span",{children:S.t("connect.notNeeded")})}),h.jsx("td",{dangerouslySetInnerHTML:{__html:S.t("connect.memberAgreement")}})]})]})]}),h.jsxs("p",{className:"sup-info",children:[h.jsx("sup",{children:"*"}),S.t("connect.surfMemberInfo")]})]}),h.jsx("p",{children:S.t("connect.provisions")})]}),h.jsxs("div",{className:"connect",children:[h.jsx("h2",{children:S.t("connect.technical")}),h.jsx("p",{children:S.t("connect.technicalInfo")}),h.jsxs("div",{children:[h.jsx("p",{children:S.t("connect.serviceInfo")}),h.jsx("ul",{children:S.translations[S.locale].connect.serviceBullets.map(e=>h.jsx("li",{dangerouslySetInnerHTML:{__html:e}}))})]}),h.jsxs("div",{children:[h.jsx("h5",{children:S.t("connect.samlOidc")}),h.jsx("p",{children:S.t("connect.samlOidcInfo")})]}),h.jsxs("div",{children:[h.jsx("h5",{children:S.t("connect.attributes")}),h.jsx("p",{children:S.t("connect.attributesInfo")})]})]}),h.jsx("div",{className:"button-container",children:h.jsx(at,{type:vt.Primary,onClick:()=>t("/login-info"),txt:S.t("connect.connect")})})]})]})},tw="/assets/student2-BOTQhEjv.png",D1=10,aU=()=>{const t=kt(),[e,a]=g.useState(""),[i,s]=g.useState(!0),[o,u]=g.useState([]),[d,f]=g.useState([]),[m,y]=g.useState([]),[b,C]=g.useState(null),[A,I]=g.useState([]),[M,O]=g.useState(null),[R,x]=g.useState([]),[j,U]=g.useState(l5());g.useEffect(()=>{FL().then(E=>{E=E.sort((D,H)=>$s(S.locale,D).toLowerCase().localeCompare($s(S.locale,H).toLowerCase())),u(E),f(E);const T=E.sort((D,H)=>H.revision.created.localeCompare(D.revision.created)).slice(0,8);y(T);const N=E.reduce((D,H)=>{const k=H.data.metaDataFields.application_tags;return ne(k)||k.forEach(W=>{D[W]?D[W]=D[W]+1:D[W]=1}),D},{}),G={value:"all",label:`${S.t("applications.all")} (${E.length})`};let _=[G];_=_.concat(Object.entries(N).sort((D,H)=>D[0].toLowerCase().localeCompare(H[0].toLowerCase())).map(D=>({value:D[0],label:`${D[0]} (${D[1]})`}))),C(G.value),I(_);const q=E.reduce((D,H)=>{const k=H.data.metaDataFields["coin:interfed_source"];return ne(k)||(D[k]?D[k]=D[k]+1:D[k]=1),D},{}),Z={value:"all",label:`${S.t("applications.allSources")} (${E.length})`};let V=[Z];V=V.concat(Object.entries(q).sort((D,H)=>D[0].toLowerCase().localeCompare(H[0].toLowerCase())).map(D=>({value:D[0],label:`${D[0]} (${D[1]})`}))),O(Z.value),x(V),s(!1)}).catch(()=>{t("/404")})},[]),g.useEffect(()=>{f(ne(e)&&b==="all"&&M==="all"?m:o.filter(L))},[e,M,b]);const L=E=>{U(1);let T=!0;const N=E.data.metaDataFields.application_tags;b!=="all"&&(T=!ne(N)&&N.includes(b));let G=!0;const _=E.data.metaDataFields["coin:interfed_source"];M!=="all"&&(G=!ne(_)&&_===M);let q=!0;if(!ne(e)){const Z=$s(S.locale,E).toLowerCase(),V=ri(S.locale,E).toLowerCase(),D=e.toLowerCase();q=Z.includes(D)||V.includes(D)}return T&&q&&G};if(i)return h.jsx(Sn,{});const P=Math.min(j,Math.ceil(d.length/D1)),F=ne(e)&&b==="all"&&M==="all";return h.jsxs("div",{className:"applications-container",children:[h.jsx("div",{className:"applications-header-container",children:h.jsxs("div",{className:"applications-header",children:[h.jsxs("div",{className:"left",children:[h.jsx("h1",{className:"large",children:S.t("applications.title")}),h.jsx("p",{children:S.t("applications.subTitle")})]}),h.jsx("img",{src:tw,alt:"student"})]})}),h.jsxs("div",{className:"inner-applications-container",children:[h.jsxs("div",{className:"applications",children:[h.jsx("div",{className:"applications-search",children:h.jsx("div",{className:"sds--text-field sds--text-field--has-icon",children:h.jsxs("div",{className:"sds--text-field--shape",children:[h.jsxs("div",{className:"sds--text-field--input-and-icon",children:[h.jsx("input",{className:"sds--text-field--input",type:"search",onChange:E=>a(E.target.value),value:e,placeholder:S.t("applications.searchPlaceHolder")}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Pf,{})})]}),h.jsx(Pa,{value:R.find(E=>E.value===M),options:R,searchable:!1,onChange:E=>O(E.value)}),h.jsx(Pa,{value:A.find(E=>E.value===b),options:A,searchable:!1,onChange:E=>C(E.value)})]})})}),F&&h.jsxs("div",{className:"applications-overview-recent-container",children:[h.jsx("h2",{children:S.t("applications.recent")}),h.jsx("div",{className:"applications-overview-recent",children:m.map((E,T)=>{const N=E.data.metaDataFields;return h.jsxs("div",{className:"application-card",onClick:()=>t(`/application-detail/${E.type}/${E._id}`),children:[N["logo:0:url"]&&h.jsx("img",{src:N["logo:0:url"],alt:""}),!N["logo:0:url"]&&h.jsx(S5,{}),h.jsxs("div",{className:"sp-info",children:[h.jsx("span",{className:"sp-name",children:$s(S.locale,E)}),h.jsx("span",{className:"sp-org",children:ri(S.locale,E)})]}),h.jsx("span",{className:"right",children:h.jsx(ul,{})})]},T)})})]}),!F&&h.jsx("div",{className:"applications-overview",children:h.jsx("ul",{children:d.slice((P-1)*D1,P*D1).map((E,T)=>(E.data.metaDataFields,h.jsx("li",{onClick:()=>t(`/application-detail/${E.type}/${E._id}`),children:h.jsx("div",{className:"service-provider",children:h.jsxs("div",{className:"sp-info",children:[h.jsx("span",{className:"sp-name",children:$s(S.locale,E)}),h.jsx("span",{className:"sp-org",children:ri(S.locale,E)})]})})},T)))})})]}),!F&&h.jsx(z6,{currentPage:j,onChange:E=>{U(E),s5(E)},total:d.length,pageCount:D1})]})]})},rU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00929 0.0583673C6.60129 0.186367 6.33729 0.408367 6.15229 0.778367L6.00929 1.06337V7.77337L6.14629 8.05137C6.22729 8.21637 6.35529 8.39237 6.45829 8.48337C6.76529 8.74937 6.92229 8.79537 7.73429 8.85737C8.91629 8.94637 9.60429 9.07537 10.2693 9.33237C10.8253 9.54637 11.1163 9.75737 11.3433 10.1094C11.4963 10.3474 11.7513 10.5014 11.9913 10.4994C12.1028 10.4929 12.2119 10.4641 12.3121 10.4146C12.4122 10.3651 12.5014 10.296 12.5743 10.2114C12.8543 9.84237 13.0503 9.66537 13.3553 9.50837C14.0383 9.15537 14.9123 8.95737 16.2173 8.86137C16.8173 8.81637 17.0093 8.78737 17.1763 8.71337C17.4641 8.57129 17.7014 8.34444 17.8563 8.06337L17.9673 7.85437L17.9793 4.52537C17.9923 0.841367 17.9983 0.933367 17.7263 0.577367C17.5469 0.3351 17.2956 0.155586 17.0083 0.0643674C16.7843 -0.00663265 16.7113 -0.00863265 16.0763 0.0373673C14.3463 0.160367 13.1723 0.480367 12.2483 1.08037L11.9873 1.24937L11.7843 1.10337C10.9953 0.536367 9.67129 0.162367 8.03029 0.0423673C7.33329 -0.00963265 7.21829 -0.00763265 7.00929 0.0583673ZM8.53029 1.58737C9.60329 1.70837 10.6073 2.04537 11.0613 2.43737L11.2383 2.59037V8.11337L10.8493 7.95737C10.4103 7.78011 9.95422 7.64842 9.48829 7.56437C9.02029 7.47637 8.15229 7.37537 7.85629 7.37537C7.755 7.37848 7.65369 7.37009 7.55429 7.35037C7.49529 7.32737 7.48829 7.02937 7.48829 4.40837V1.49137L7.83229 1.51937C8.02129 1.53537 8.33529 1.56537 8.53029 1.58737ZM16.4883 4.41637V7.33237L16.3943 7.35137C16.3433 7.36137 16.1073 7.38037 15.8703 7.39437C14.8413 7.45137 13.6533 7.71537 12.8943 8.05637L12.7373 8.12637L12.7483 5.34637L12.7593 2.56637L12.9673 2.40837C13.3833 2.09437 13.9923 1.85637 14.8053 1.69037C15.3106 1.60149 15.8204 1.53974 16.3323 1.50537L16.4883 1.50037V4.41637ZM3.46729 4.56237C3.30429 4.63937 3.23629 4.69937 3.11129 4.87537L3.00929 5.02137L2.99729 9.60437C2.99029 12.5134 3.00129 14.3174 3.02729 14.5424C3.06029 14.8184 3.10729 14.9724 3.24129 15.2434C3.33529 15.4344 3.40629 15.5954 3.39829 15.6014L3.15329 15.7804C2.86329 15.9914 2.52529 16.3584 2.29829 16.7084C2.06329 17.0724 0.223289 20.7584 0.111289 21.0904C-0.00971104 21.4494 0.00928894 22.1904 0.149289 22.5484C0.428289 23.2634 1.11829 23.8344 1.84929 23.9554C2.05729 23.9904 4.82229 23.9994 12.1763 23.9914L22.2173 23.9794L22.5043 23.8684C23.4083 23.5164 23.9883 22.6914 23.9883 21.7554C23.9883 21.2404 23.9353 21.1094 22.8363 18.9094C21.6033 16.4424 21.5053 16.2914 20.7943 15.7504L20.5793 15.5874L20.7203 15.3214C21.0033 14.7884 20.9903 15.0674 20.9783 9.76537L20.9673 4.97337L20.8473 4.81537C20.5203 4.38737 19.9203 4.41437 19.6113 4.87037L19.5093 5.02137L19.4883 9.77137C19.4733 13.2754 19.4543 14.5434 19.4193 14.6044C19.3433 14.7344 19.1453 14.9074 19.0173 14.9564C18.9353 14.9864 16.7733 15.0004 11.9983 15.0004H5.09829L4.91529 14.9124C4.79754 14.8519 4.69656 14.7633 4.62129 14.6544L4.50929 14.4854L4.48829 9.72937L4.46729 4.97337L4.34729 4.81537C4.13829 4.54137 3.75029 4.42937 3.46729 4.56237ZM19.1563 16.5864C19.5743 16.7014 20.0203 16.9844 20.2833 17.3004C20.4403 17.4884 20.7363 18.0404 21.4893 19.5464C22.3353 21.2374 22.4883 21.5714 22.4883 21.7254C22.4883 22.0494 22.3423 22.2814 22.0423 22.4334C21.9203 22.4944 21.0443 22.5004 12.0033 22.5004H2.09829L1.91729 22.4134C1.79475 22.3488 1.69234 22.2518 1.62126 22.1329C1.55018 22.014 1.51318 21.8779 1.51429 21.7394C1.51429 21.5534 1.61429 21.3334 2.52529 19.5124C3.53229 17.5014 3.53729 17.4904 3.83529 17.1904C4.15529 16.8674 4.51429 16.6574 4.91629 16.5604C5.08729 16.5184 6.60929 16.5064 11.9893 16.5044C18.7923 16.5004 18.8463 16.5014 19.1563 16.5864ZM10.2173 19.5624C9.91529 19.7044 9.76629 19.9334 9.76629 20.2544C9.76629 20.5554 9.90929 20.7884 10.1723 20.9154C10.3403 20.9964 10.4223 21.0004 11.9913 20.9994C13.8423 20.9984 13.8603 20.9954 14.0973 20.6854C14.2023 20.5484 14.2173 20.4914 14.2173 20.2504C14.2173 20.0094 14.2023 19.9524 14.0973 19.8154C13.8603 19.5044 13.8433 19.5024 11.9883 19.5034C10.6603 19.5034 10.3183 19.5154 10.2173 19.5624Z",fill:"currentColor"})),iU=g.forwardRef(rU),sU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M8.99702 18.0022C8.58827 18.0022 8.20277 17.8664 7.88252 17.6084C7.78202 17.5274 7.68977 17.4352 7.60877 17.3347L6.47552 15.9247C6.34952 15.7679 6.16127 15.6779 5.96027 15.6779C5.93627 15.6779 5.91227 15.6794 5.88827 15.6817L4.08902 15.8774C4.02227 15.8849 3.95477 15.8887 3.88802 15.8887C3.48227 15.8887 3.09902 15.7537 2.77952 15.4994C2.40677 15.2024 2.17277 14.7779 2.11952 14.3047C2.10452 14.1719 2.10452 14.0377 2.11952 13.9057L2.31527 12.1079C2.33927 11.8829 2.24852 11.6639 2.07227 11.5222L0.662268 10.3889C0.291018 10.0904 0.0577675 9.66518 0.00601746 9.19193C-0.0457326 8.71868 0.0900175 8.25293 0.388518 7.88093C0.469518 7.78043 0.561768 7.68818 0.662268 7.60718L2.07227 6.47318C2.24927 6.33068 2.34002 6.11243 2.31527 5.88743L2.11952 4.08743C2.06627 3.61493 2.20127 3.14993 2.49902 2.77718C2.79677 2.40443 3.22127 2.17043 3.69452 2.11718C3.75977 2.10968 3.82652 2.10593 3.89252 2.10593C3.95852 2.10593 4.02527 2.10968 4.09127 2.11718L5.88902 2.31293C5.91227 2.31518 5.93627 2.31668 5.96027 2.31668C6.16127 2.31668 6.34877 2.22668 6.47477 2.06993L7.60877 0.66743C7.94852 0.24518 8.45627 0.00292969 9.00002 0.00292969C9.40502 0.00292969 9.80177 0.14243 10.1175 0.39668C10.218 0.47768 10.3088 0.56918 10.3898 0.66893L11.5238 2.07968C11.6498 2.23718 11.8365 2.32718 12.036 2.32718C12.06 2.32718 12.0848 2.32568 12.1088 2.32343L13.9095 2.12768C13.9755 2.12018 14.0423 2.11643 14.1075 2.11643C14.5155 2.11643 14.8995 2.25143 15.2198 2.50793C15.5918 2.80568 15.8258 3.23093 15.879 3.70493C15.8933 3.83618 15.8933 3.96893 15.879 4.10018L15.684 5.89793C15.66 6.12293 15.7508 6.34118 15.927 6.48293L17.3378 7.61768C17.7098 7.91618 17.9423 8.34218 17.994 8.81618C18.0458 9.29018 17.9093 9.75593 17.61 10.1272C17.5305 10.2269 17.439 10.3184 17.3385 10.3994L15.921 11.5297C15.7455 11.6707 15.6555 11.8889 15.6795 12.1147L15.8753 13.9147C15.9278 14.3864 15.7935 14.8522 15.4958 15.2249C15.198 15.5977 14.7735 15.8317 14.3003 15.8849C14.2343 15.8924 14.1683 15.8962 14.1015 15.8962C14.0355 15.8962 13.9695 15.8924 13.9043 15.8857L12.105 15.6899C12.0795 15.6869 12.0548 15.6854 12.03 15.6854C11.8313 15.6854 11.6453 15.7754 11.52 15.9322L10.3898 17.3384C10.0913 17.7104 9.66602 17.9429 9.19277 17.9947C9.12752 17.9984 9.06227 18.0022 8.99702 18.0022ZM5.96252 14.5529C6.50552 14.5529 7.01177 14.7959 7.35227 15.2204L8.48552 16.6304C8.51552 16.6679 8.54927 16.7017 8.58677 16.7309C8.70602 16.8262 8.84777 16.8772 8.99702 16.8772C9.02177 16.8772 9.04577 16.8757 9.07052 16.8727C9.24602 16.8539 9.40352 16.7677 9.51302 16.6304L10.6433 15.2249C10.983 14.8012 11.4885 14.5574 12.0308 14.5574C12.096 14.5574 12.1613 14.5612 12.2273 14.5679L14.0273 14.7637C14.0528 14.7667 14.0783 14.7682 14.1038 14.7682C14.127 14.7682 14.1503 14.7667 14.1735 14.7644C14.3498 14.7449 14.5065 14.6579 14.6168 14.5199C14.727 14.3819 14.7765 14.2102 14.757 14.0354L14.5613 12.2332C14.4953 11.6242 14.7413 11.0324 15.2183 10.6492L16.635 9.51893C16.6703 9.49043 16.704 9.45743 16.7333 9.42068C16.8443 9.28268 16.8953 9.11018 16.8758 8.93543C16.857 8.75993 16.7708 8.60318 16.6335 8.49218L15.2228 7.35818C14.7458 6.97568 14.4998 6.38318 14.5658 5.77493L14.7615 3.97493C14.7675 3.92543 14.7675 3.87668 14.7615 3.82868C14.742 3.65318 14.655 3.49568 14.5178 3.38543C14.4 3.29018 14.2575 3.24068 14.1075 3.24068C14.0828 3.24068 14.058 3.24218 14.0333 3.24443L12.2318 3.44018C12.1665 3.44693 12.102 3.45068 12.0375 3.45068C11.4945 3.45068 10.9883 3.20768 10.6478 2.78318L9.51452 1.37318C9.48452 1.33643 9.45077 1.30268 9.41402 1.27268C9.29627 1.17743 9.15302 1.12718 9.00152 1.12718C8.79977 1.12718 8.61227 1.21718 8.48627 1.37318L7.35227 2.77568C7.01102 3.19943 6.50552 3.44243 5.96402 3.44243C5.89952 3.44243 5.83427 3.43868 5.76827 3.43193L3.96827 3.23618C3.94277 3.23318 3.91802 3.23168 3.89327 3.23168C3.86852 3.23168 3.84377 3.23318 3.81902 3.23543C3.64502 3.25493 3.48827 3.34193 3.37802 3.47918C3.26852 3.61643 3.21827 3.78893 3.23777 3.96368L3.43352 5.76518C3.49952 6.37418 3.25352 6.96593 2.77652 7.34918L1.36727 8.48243C1.32977 8.51243 1.29602 8.54618 1.26602 8.58368C1.03802 8.86718 1.08377 9.28343 1.36727 9.51068L2.77727 10.6439C3.25427 11.0272 3.50027 11.6197 3.43427 12.2279L3.23852 14.0279C3.23252 14.0789 3.23252 14.1284 3.23852 14.1772C3.25802 14.3519 3.34502 14.5087 3.48227 14.6182C3.60002 14.7119 3.74177 14.7622 3.89102 14.7622C3.91577 14.7622 3.94127 14.7607 3.96677 14.7577L5.76827 14.5619C5.83352 14.5567 5.89877 14.5529 5.96252 14.5529Z",fill:"#0077C8"}),g.createElement("path",{d:"M5.96252 14.5529C6.50552 14.5529 7.01177 14.7959 7.35227 15.2204L8.48552 16.6304C8.51552 16.6679 8.54927 16.7017 8.58677 16.7309C8.70602 16.8262 8.84777 16.8772 8.99702 16.8772C9.02177 16.8772 9.04577 16.8757 9.07052 16.8727C9.24602 16.8539 9.40352 16.7677 9.51302 16.6304L10.6433 15.2249C10.983 14.8012 11.4885 14.5574 12.0308 14.5574C12.096 14.5574 12.1613 14.5612 12.2273 14.5679L14.0273 14.7637C14.0528 14.7667 14.0783 14.7682 14.1038 14.7682C14.127 14.7682 14.1503 14.7667 14.1735 14.7644C14.3498 14.7449 14.5065 14.6579 14.6168 14.5199C14.727 14.3819 14.7765 14.2102 14.757 14.0354L14.5613 12.2332C14.4953 11.6242 14.7413 11.0324 15.2183 10.6492L16.635 9.51893C16.6703 9.49043 16.704 9.45743 16.7333 9.42068C16.8443 9.28268 16.8953 9.11018 16.8758 8.93543C16.857 8.75993 16.7708 8.60318 16.6335 8.49218L15.2228 7.35818C14.7458 6.97568 14.4998 6.38318 14.5658 5.77493L14.7615 3.97493C14.7675 3.92543 14.7675 3.87668 14.7615 3.82868C14.742 3.65318 14.655 3.49568 14.5178 3.38543C14.4 3.29018 14.2575 3.24068 14.1075 3.24068C14.0828 3.24068 14.058 3.24218 14.0333 3.24443L12.2318 3.44018C12.1665 3.44693 12.102 3.45068 12.0375 3.45068C11.4945 3.45068 10.9883 3.20768 10.6478 2.78318L9.51452 1.37318C9.48452 1.33643 9.45077 1.30268 9.41402 1.27268C9.29627 1.17743 9.15302 1.12718 9.00152 1.12718C8.79977 1.12718 8.61227 1.21718 8.48627 1.37318L7.35227 2.77568C7.01102 3.19943 6.50552 3.44243 5.96402 3.44243C5.89952 3.44243 5.83427 3.43868 5.76827 3.43193L3.96827 3.23618C3.94277 3.23318 3.91802 3.23168 3.89327 3.23168C3.86852 3.23168 3.84377 3.23318 3.81902 3.23543C3.64502 3.25493 3.48827 3.34193 3.37802 3.47918C3.26852 3.61643 3.21827 3.78893 3.23777 3.96368L3.43352 5.76518C3.49952 6.37418 3.25352 6.96593 2.77652 7.34918L1.36727 8.48243C1.32977 8.51243 1.29602 8.54618 1.26602 8.58368C1.03802 8.86718 1.08377 9.28343 1.36727 9.51068L2.77727 10.6439C3.25427 11.0272 3.50027 11.6197 3.43427 12.2279L3.23852 14.0279C3.23252 14.0789 3.23252 14.1284 3.23852 14.1772C3.25802 14.3519 3.34502 14.5087 3.48227 14.6182C3.60002 14.7119 3.74177 14.7622 3.89102 14.7622C3.91577 14.7622 3.94127 14.7607 3.96677 14.7577L5.76827 14.5619C5.83352 14.5567 5.89877 14.5529 5.96252 14.5529Z",fill:"#0077C8"}),g.createElement("path",{d:"M8.37525 12.0839C8.13075 12.0839 7.89825 12.0059 7.70175 11.8582C7.65975 11.8267 7.62 11.7922 7.58325 11.7554L5.79 9.96293C5.6835 9.85718 5.625 9.71543 5.625 9.56543C5.625 9.41543 5.6835 9.27368 5.78925 9.16793C5.89575 9.06143 6.03675 9.00293 6.18675 9.00293C6.33675 9.00293 6.4785 9.06143 6.58425 9.16793L8.376 10.9589L11.3618 6.97793C11.4675 6.83693 11.6362 6.75293 11.8117 6.75293C11.934 6.75293 12.0503 6.79193 12.1485 6.86468C12.3975 7.05143 12.4478 7.40468 12.2618 7.65293L9.276 11.6339C9.09525 11.8739 8.832 12.0299 8.535 12.0727C8.48175 12.0802 8.4285 12.0839 8.37525 12.0839Z",fill:"white"})),lU=g.forwardRef(sU),oU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.25 1.5C16.2116 1.5 15.1966 1.80791 14.3333 2.38478C13.4699 2.96166 12.797 3.7816 12.3996 4.74091C12.0023 5.70022 11.8983 6.75582 12.1009 7.77422C12.3035 8.79262 12.8035 9.72808 13.5377 10.4623C14.2719 11.1965 15.2074 11.6965 16.2258 11.8991C17.2442 12.1017 18.2998 11.9977 19.2591 11.6004C20.2184 11.203 21.0383 10.5301 21.6152 9.66674C22.1921 8.80339 22.5 7.78835 22.5 6.75C22.5 6.33579 22.8358 6 23.25 6C23.6642 6 24 6.33579 24 6.75C24 8.08502 23.6041 9.39007 22.8624 10.5001C22.1207 11.6101 21.0665 12.4753 19.8331 12.9862C18.5997 13.4971 17.2425 13.6308 15.9331 13.3703C14.6238 13.1098 13.421 12.467 12.477 11.523C11.533 10.579 10.8902 9.37623 10.6297 8.06686C10.3692 6.75749 10.5029 5.40029 11.0138 4.16689C11.5247 2.93349 12.3899 1.87928 13.4999 1.13758C14.6099 0.395881 15.915 0 17.25 0C17.6642 0 18 0.335786 18 0.75C18 1.16421 17.6642 1.5 17.25 1.5ZM23.7804 1.71972C24.0732 2.01264 24.0732 2.48751 23.7803 2.78038L18.3107 8.24895C18.1715 8.38837 18.0061 8.49898 17.8241 8.57445C17.6421 8.64991 17.447 8.68875 17.25 8.68875C17.053 8.68875 16.8579 8.64991 16.6759 8.57445C16.4941 8.49908 16.3289 8.38865 16.1898 8.24948L14.4698 6.53048C14.1768 6.23768 14.1767 5.7628 14.4695 5.46982C14.7623 5.17685 15.2372 5.17671 15.5302 5.46952L17.25 7.18834L22.7197 1.71962C23.0126 1.42675 23.4875 1.4268 23.7804 1.71972ZM3.75 4.5C3.15326 4.5 2.58097 4.73705 2.15901 5.15901C1.73705 5.58097 1.5 6.15326 1.5 6.75V16.5H22.5V14.25C22.5 13.8358 22.8358 13.5 23.25 13.5C23.6642 13.5 24 13.8358 24 14.25V17.25C24 18.2446 23.6049 19.1984 22.9017 19.9017C22.1984 20.6049 21.2446 21 20.25 21H15.9606L16.3356 22.5H18C18.4142 22.5 18.75 22.8358 18.75 23.25C18.75 23.6642 18.4142 24 18 24H6C5.58579 24 5.25 23.6642 5.25 23.25C5.25 22.8358 5.58579 22.5 6 22.5H7.66442L8.03942 21H3.75C2.75544 21 1.80161 20.6049 1.09835 19.9017C0.395088 19.1984 0 18.2446 0 17.25V6.75C0 5.75544 0.395088 4.80161 1.09835 4.09835C1.80161 3.39509 2.75544 3 3.75 3H8.25C8.66421 3 9 3.33579 9 3.75C9 4.16421 8.66421 4.5 8.25 4.5H3.75ZM20.25 19.5C20.8467 19.5 21.419 19.2629 21.841 18.841C22.0805 18.6014 22.2605 18.3134 22.3713 18H1.62868C1.7395 18.3134 1.91946 18.6014 2.15901 18.841C2.58097 19.2629 3.15326 19.5 3.75 19.5H20.25ZM9.58558 21L9.21058 22.5H14.7894L14.4144 21H9.58558Z",fill:"currentColor"})),cU=g.forwardRef(oU),uU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.3518 0.0636003C10.6068 0.2046 9.99881 0.5086 9.47681 0.9976C8.57981 1.8396 8.15981 2.9406 8.28081 4.1356C8.37381 5.0556 8.77181 5.8416 9.47681 6.5036C9.99332 6.99242 10.6448 7.3147 11.3468 7.4286C11.5158 7.4556 11.6538 7.4896 11.6538 7.5036C11.6538 7.5186 11.5358 7.5416 11.3928 7.5546C11.0498 7.5876 10.4568 7.7606 10.0778 7.9396C8.91381 8.4866 8.00581 9.5706 7.65781 10.8296C7.52881 11.2936 7.47881 12.0636 7.49381 13.3336L7.50781 14.4796L7.62681 14.6556C7.81681 14.9346 8.00081 15.0006 8.59381 15.0006H9.09181L9.43181 17.7276C9.67081 19.6396 9.79381 20.5006 9.84481 20.6066C9.90345 20.711 9.9852 20.8006 10.0838 20.8686L10.2518 20.9796L11.9328 20.9916C13.5128 21.0026 13.6258 20.9986 13.7948 20.9236C13.9728 20.8446 14.1618 20.6426 14.2098 20.4796C14.2298 20.4136 14.9038 15.1106 14.9038 15.0236C14.9038 15.0106 15.1238 15.0006 15.3928 14.9996C15.9658 14.9986 16.1548 14.9366 16.3458 14.6856L16.4658 14.5276L16.4778 13.0726C16.4928 11.2196 16.4478 10.9116 16.0248 10.0166C15.7298 9.3926 15.0958 8.6626 14.5178 8.2796C13.9388 7.8966 13.1818 7.6106 12.6068 7.5566C12.3138 7.5296 12.2078 7.4586 12.4598 7.4586C12.8958 7.4586 13.7728 7.1016 14.2808 6.7166C15.8138 5.5556 16.1938 3.3076 15.1278 1.7026C14.6124 0.9235 13.8282 0.36142 12.9248 0.1236C12.4788 0.0106003 11.7718 -0.0163997 11.3518 0.0636003ZM12.5188 1.5636C13.7768 1.8596 14.5318 3.1946 14.1388 4.4306C13.9886 4.90774 13.6825 5.32061 13.2696 5.60295C12.8567 5.8853 12.3609 6.02076 11.8618 5.9876C11.1288 5.9436 10.5068 5.5756 10.0878 4.9386C9.58681 4.1776 9.64981 3.0656 10.2338 2.3636C10.8218 1.6546 11.6598 1.3606 12.5188 1.5636ZM3.95981 3.0436C3.37581 3.1486 2.86181 3.4236 2.40181 3.8756C2.05381 4.2166 1.79181 4.6226 1.65681 5.0276C1.46781 5.5976 1.46781 6.4036 1.65681 6.9736C1.85881 7.5806 2.41981 8.2646 2.98781 8.5956C3.28181 8.7666 3.83381 8.9586 4.03281 8.9586C4.10581 8.9586 4.14781 8.9766 4.13281 9.0006C4.11881 9.0236 4.04481 9.0426 3.96881 9.0426C3.89281 9.0426 3.65381 9.0876 3.43681 9.1426C2.09081 9.4836 1.05581 10.3256 0.442812 11.5786C0.124812 12.2296 0.0188125 12.7636 0.0128125 13.7506L0.0078125 14.4796L0.126812 14.6556C0.317812 14.9366 0.499812 15.0006 1.10381 15.0006C1.38381 15.0006 1.61181 15.0056 1.61281 15.0106C1.63281 15.2996 2.29281 18.9976 2.34381 19.1046C2.38381 19.1886 2.49181 19.3076 2.58381 19.3686L2.75181 19.4796L4.43281 19.4916C6.78781 19.5076 6.60681 19.6286 6.90881 17.8436C7.01981 17.1856 7.11081 16.5756 7.11181 16.4886C7.11281 15.9326 6.54981 15.5916 6.03881 15.8386C5.73581 15.9856 5.67481 16.1246 5.52981 17.0006C5.45981 17.4246 5.39181 17.8226 5.37881 17.8856L5.35481 18.0006H3.63181L3.32581 16.1566C2.95081 13.8926 2.96181 13.9436 2.82881 13.7856C2.64381 13.5656 2.44381 13.5026 1.93081 13.5016L1.47881 13.5006L1.50881 13.2406C1.55281 12.8616 1.63781 12.5606 1.79481 12.2296C2.43581 10.8816 3.86581 10.2356 5.34881 10.6236C5.64081 10.7006 5.71681 10.7066 5.86981 10.6656C6.11781 10.5986 6.25681 10.4886 6.35781 10.2786C6.4347 10.1267 6.4569 9.95302 6.42065 9.78672C6.3844 9.62041 6.29193 9.47168 6.15881 9.3656C6.02681 9.2546 5.50981 9.0966 5.14381 9.0556C4.88581 9.0266 4.73281 8.9626 4.91781 8.9606C5.13481 8.9576 5.54481 8.8286 5.86581 8.6626C6.22159 8.47828 6.5375 8.22554 6.79541 7.91889C7.05333 7.61224 7.24818 7.2577 7.36881 6.8756C7.50981 6.4236 7.50981 5.5776 7.36881 5.1256C7.07181 4.1696 6.24381 3.3616 5.29981 3.1076C4.99681 3.0256 4.25481 2.9906 3.95981 3.0436ZM18.9598 3.0436C18.3758 3.1486 17.8618 3.4236 17.4018 3.8756C17.0538 4.2166 16.7918 4.6226 16.6568 5.0276C16.4678 5.5976 16.4678 6.4036 16.6568 6.9736C16.8588 7.5806 17.4198 8.2646 17.9878 8.5956C18.2818 8.7666 18.8338 8.9586 19.0328 8.9586C19.2438 8.9586 19.1288 9.0286 18.8738 9.0556C18.5298 9.0926 18.0618 9.2236 17.8848 9.3326C17.5788 9.5216 17.4648 10.0416 17.6638 10.3346C17.9058 10.6896 18.1498 10.7486 18.7658 10.5996C19.5138 10.4186 20.1568 10.4936 20.8618 10.8426C21.1458 10.9836 21.2908 11.0926 21.5928 11.3946C22.1348 11.9366 22.4168 12.5166 22.4748 13.2116L22.4978 13.4936L21.9998 13.5076C21.5418 13.5206 21.4878 13.5306 21.3338 13.6326C21.2349 13.7013 21.1528 13.7916 21.0938 13.8966C21.0428 14.0036 20.3828 17.7016 20.3628 17.9906C20.3618 17.9956 19.9718 18.0006 19.4958 18.0006H18.6298L18.4898 17.1446C18.4128 16.6736 18.3198 16.2296 18.2828 16.1576C17.9718 15.5486 17.0498 15.6636 16.8998 16.3306C16.8708 16.4596 16.9058 16.7586 17.0658 17.7216C17.1778 18.3966 17.3028 19.0176 17.3428 19.1026C17.4018 19.2085 17.4843 19.2994 17.5838 19.3686L17.7518 19.4796L19.4328 19.4916C21.0128 19.5026 21.1258 19.4986 21.2948 19.4236C21.4091 19.3677 21.5103 19.2883 21.5918 19.1906C21.7008 19.0476 21.7298 18.9116 22.0458 17.0186L22.3828 15.0006L22.8828 14.9996C23.4668 14.9986 23.6538 14.9376 23.8458 14.6856C23.9638 14.5306 23.9658 14.5186 23.9798 13.8996C24.0028 12.9186 23.8828 12.2656 23.5558 11.5826C23.2397 10.9278 22.7746 10.3562 22.1978 9.9136C21.6318 9.4846 20.7538 9.1246 20.0998 9.0556C19.8538 9.0296 19.7268 8.9586 19.9258 8.9586C20.1318 8.9586 20.5468 8.8276 20.8658 8.6626C21.2216 8.47828 21.5375 8.22554 21.7954 7.91889C22.0533 7.61224 22.2482 7.2577 22.3688 6.8756C22.5098 6.4236 22.5098 5.5776 22.3688 5.1256C22.0718 4.1696 21.2438 3.3616 20.2998 3.1076C19.9968 3.0256 19.2548 2.9906 18.9598 3.0436ZM4.92781 4.5656C5.34581 4.6876 5.74381 5.0636 5.90181 5.4846C6.27581 6.4846 5.46581 7.5656 4.39981 7.4906C3.15381 7.4026 2.55481 5.9226 3.39181 4.9966C3.58179 4.78813 3.8265 4.63721 4.09806 4.56101C4.36961 4.48481 4.65711 4.4864 4.92781 4.5656ZM19.9278 4.5656C20.3458 4.6876 20.7438 5.0636 20.9018 5.4846C21.2758 6.4846 20.4658 7.5656 19.3998 7.4906C18.1538 7.4026 17.5548 5.9226 18.3918 4.9966C18.5818 4.78813 18.8265 4.63721 19.0981 4.56101C19.3696 4.48481 19.6571 4.4864 19.9278 4.5656ZM12.8828 9.1256C13.3722 9.28465 13.8138 9.56416 14.1669 9.93845C14.5201 10.3127 14.7735 10.7698 14.9038 11.2676C14.9748 11.5486 14.9868 11.7366 14.9868 12.5456V13.4936L14.4938 13.5076C14.0418 13.5206 13.9868 13.5306 13.8338 13.6326C13.7352 13.7006 13.6535 13.7902 13.5948 13.8946C13.5438 14.0006 13.4208 14.8616 13.1818 16.7736L12.8418 19.5006H11.9978C11.5338 19.5006 11.1538 19.4906 11.1538 19.4776C11.1538 19.3906 10.4798 14.0876 10.4598 14.0216C10.4128 13.8626 10.2248 13.6576 10.0538 13.5806C9.92081 13.5196 9.78181 13.5026 9.43481 13.5016L8.98681 13.5006V12.6566C8.98781 11.4966 9.07281 11.0446 9.39181 10.5056C9.60891 10.1427 9.89723 9.82746 10.2394 9.57895C10.5816 9.33044 10.9705 9.15377 11.3828 9.0596C11.7438 8.9756 12.5058 9.0096 12.8828 9.1256ZM0.417812 20.3366C0.306063 20.3982 0.208597 20.4827 0.131812 20.5846C0.0358125 20.7226 0.0198125 20.7896 0.0208125 21.0256C0.0278125 22.1966 1.57981 22.9726 5.00781 23.5196C8.88881 24.1386 14.6978 24.1556 18.7158 23.5586C21.2028 23.1896 22.7728 22.6846 23.4758 22.0266C23.8458 21.6806 23.9628 21.4446 23.9648 21.0396C23.9658 20.7546 23.9538 20.7086 23.8458 20.5656C23.7434 20.4244 23.5945 20.3239 23.4253 20.2818C23.256 20.2398 23.0774 20.2588 22.9208 20.3356C22.7438 20.4216 22.5288 20.6776 22.5288 20.8036C22.5288 21.0616 21.5428 21.4716 20.2128 21.7666C17.8068 22.2986 14.8268 22.5376 11.2368 22.4866C10.4242 22.4774 9.61172 22.4547 8.79981 22.4186C5.60481 22.2106 3.04181 21.7406 1.85981 21.1456C1.56381 20.9966 1.51281 20.9506 1.46581 20.7926C1.38081 20.5026 1.04381 20.2536 0.736812 20.2516C0.625988 20.2591 0.517659 20.2879 0.417812 20.3366Z",fill:"currentColor"})),E5=g.forwardRef(uU),fU=()=>h.jsx("footer",{className:"sds--footer sds--footer--single-bar shared-menu",children:h.jsxs("div",{className:"sds--footer--inner",children:[h.jsx(hC,{}),h.jsx("nav",{className:"menu sds--text--body--small",children:h.jsxs("ul",{children:[h.jsx("li",{children:h.jsx("a",{href:S.t("footer.termsLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx("span",{children:S.t("footer.terms")})})}),h.jsx("li",{children:h.jsx("span",{className:"sds--language-sds--divider",children:"|"})}),h.jsx("li",{children:h.jsx("a",{href:S.t("footer.privacyLink"),target:"_blank",rel:"noopener noreferrer",children:h.jsx("span",{children:S.t("footer.privacy")})})})]})})]})}),dU=[{label:"organizationMaintenance",items:[{name:"users",path:"/users/organizationId",relative:!0,Logo:E5}]},{label:"catalogue",items:[{name:"yourApps",path:"/organization/organizationId",relative:!0,Logo:cU},{name:"allApps",path:"dashboard",relative:!1,postPath:"",Logo:iU}]}],hU=()=>{const{menuItems:t,config:e,currentOrganization:a,activeMenuItem:i}=Pe(m=>m),[s,o]=g.useState([]),u=kt();g.useEffect(()=>{const m=dU.map(y=>({label:S.t(`navigation.${y.label}`),items:y.items.filter(b=>t.includes(b.name)).map(b=>({Logo:b.Logo,label:S.t(`navigation.${b.name}`),name:b.name,active:b.name===i,href:b.relative?b.path.replace("organizationId",a.id):`https://${b.path}.${e.baseUrl}/${b.postPath}`}))})).filter(y=>y.items.length>0);o(m)},[i,t,a]);const d=m=>{const y=m.href;y.startsWith("http")?window.location.href=y:u(y),Pe.setState(()=>({activeMenuItem:m.name}))},f=a.status===f5.PENDING_APPROVAL;return h.jsx(iI,{groups:s,logoLabel:"Access",setActiveMenuItem:d,title:a?.name||"",settingToolTip:f?S.t("organizations.tooltip"):S.t("organizations.tooltipApproved"),SettingLogo:f?null:lU,children:h.jsx(fU,{})})},mU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:21,height:24,viewBox:"0 0 21 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M15.8 23.2H2.2c-.4 0-.8-.2-1.1-.4s-.4-.7-.4-1.1V5.2"}),g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M19.2.8H4.8c-.6 0-1 .4-1 1v17.5c0 .6.4 1 1 1h14.5c.6 0 1-.4 1-1V1.8c-.1-.6-.5-1-1.1-1z"})),pU=g.forwardRef(mU);var Mc={},rp,ZS;function gU(){return ZS||(ZS=1,rp=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,a=[],i=0;i<t.rangeCount;i++)a.push(t.getRangeAt(i));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||a.forEach(function(s){t.addRange(s)}),e&&e.focus()}}),rp}var ip,YS;function vU(){if(YS)return ip;YS=1;var t=gU(),e={"text/plain":"Text","text/html":"Url",default:"Text"},a="Copy to clipboard: #{key}, Enter";function i(o){var u=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return o.replace(/#{\s*key\s*}/g,u)}function s(o,u){var d,f,m,y,b,C,A=!1;u||(u={}),d=u.debug||!1;try{m=t(),y=document.createRange(),b=document.getSelection(),C=document.createElement("span"),C.textContent=o,C.ariaHidden="true",C.style.all="unset",C.style.position="fixed",C.style.top=0,C.style.clip="rect(0, 0, 0, 0)",C.style.whiteSpace="pre",C.style.webkitUserSelect="text",C.style.MozUserSelect="text",C.style.msUserSelect="text",C.style.userSelect="text",C.addEventListener("copy",function(M){if(M.stopPropagation(),u.format)if(M.preventDefault(),typeof M.clipboardData>"u"){d&&console.warn("unable to use e.clipboardData"),d&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var O=e[u.format]||e.default;window.clipboardData.setData(O,o)}else M.clipboardData.clearData(),M.clipboardData.setData(u.format,o);u.onCopy&&(M.preventDefault(),u.onCopy(M.clipboardData))}),document.body.appendChild(C),y.selectNodeContents(C),b.addRange(y);var I=document.execCommand("copy");if(!I)throw new Error("copy command was unsuccessful");A=!0}catch(M){d&&console.error("unable to copy using execCommand: ",M),d&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",o),u.onCopy&&u.onCopy(window.clipboardData),A=!0}catch(O){d&&console.error("unable to copy using clipboardData: ",O),d&&console.error("falling back to prompt"),f=i("message"in u?u.message:a),window.prompt(f,o)}}finally{b&&(typeof b.removeRange=="function"?b.removeRange(y):b.removeAllRanges()),C&&document.body.removeChild(C),m()}return A}return ip=s,ip}var WS;function yU(){if(WS)return Mc;WS=1;function t(L){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(P){return typeof P}:function(P){return P&&typeof Symbol=="function"&&P.constructor===Symbol&&P!==Symbol.prototype?"symbol":typeof P},t(L)}Object.defineProperty(Mc,"__esModule",{value:!0}),Mc.CopyToClipboard=void 0;var e=s(xf()),a=s(vU()),i=["text","onCopy","options","children"];function s(L){return L&&L.__esModule?L:{default:L}}function o(L,P){var F=Object.keys(L);if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(L);P&&(E=E.filter(function(T){return Object.getOwnPropertyDescriptor(L,T).enumerable})),F.push.apply(F,E)}return F}function u(L){for(var P=1;P<arguments.length;P++){var F=arguments[P]!=null?arguments[P]:{};P%2?o(Object(F),!0).forEach(function(E){j(L,E,F[E])}):Object.getOwnPropertyDescriptors?Object.defineProperties(L,Object.getOwnPropertyDescriptors(F)):o(Object(F)).forEach(function(E){Object.defineProperty(L,E,Object.getOwnPropertyDescriptor(F,E))})}return L}function d(L,P){if(L==null)return{};var F=f(L,P),E,T;if(Object.getOwnPropertySymbols){var N=Object.getOwnPropertySymbols(L);for(T=0;T<N.length;T++)E=N[T],!(P.indexOf(E)>=0)&&Object.prototype.propertyIsEnumerable.call(L,E)&&(F[E]=L[E])}return F}function f(L,P){if(L==null)return{};var F={},E=Object.keys(L),T,N;for(N=0;N<E.length;N++)T=E[N],!(P.indexOf(T)>=0)&&(F[T]=L[T]);return F}function m(L,P){if(!(L instanceof P))throw new TypeError("Cannot call a class as a function")}function y(L,P){for(var F=0;F<P.length;F++){var E=P[F];E.enumerable=E.enumerable||!1,E.configurable=!0,"value"in E&&(E.writable=!0),Object.defineProperty(L,E.key,E)}}function b(L,P,F){return P&&y(L.prototype,P),Object.defineProperty(L,"prototype",{writable:!1}),L}function C(L,P){if(typeof P!="function"&&P!==null)throw new TypeError("Super expression must either be null or a function");L.prototype=Object.create(P&&P.prototype,{constructor:{value:L,writable:!0,configurable:!0}}),Object.defineProperty(L,"prototype",{writable:!1}),P&&A(L,P)}function A(L,P){return A=Object.setPrototypeOf||function(E,T){return E.__proto__=T,E},A(L,P)}function I(L){var P=R();return function(){var E=x(L),T;if(P){var N=x(this).constructor;T=Reflect.construct(E,arguments,N)}else T=E.apply(this,arguments);return M(this,T)}}function M(L,P){if(P&&(t(P)==="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return O(L)}function O(L){if(L===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L}function R(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function x(L){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(F){return F.__proto__||Object.getPrototypeOf(F)},x(L)}function j(L,P,F){return P in L?Object.defineProperty(L,P,{value:F,enumerable:!0,configurable:!0,writable:!0}):L[P]=F,L}var U=(function(L){C(F,L);var P=I(F);function F(){var E;m(this,F);for(var T=arguments.length,N=new Array(T),G=0;G<T;G++)N[G]=arguments[G];return E=P.call.apply(P,[this].concat(N)),j(O(E),"onClick",function(_){var q=E.props,Z=q.text,V=q.onCopy,D=q.children,H=q.options,k=e.default.Children.only(D),W=(0,a.default)(Z,H);V&&V(Z,W),k&&k.props&&typeof k.props.onClick=="function"&&k.props.onClick(_)}),E}return b(F,[{key:"render",value:function(){var T=this.props;T.text,T.onCopy,T.options;var N=T.children,G=d(T,i),_=e.default.Children.only(N);return e.default.cloneElement(_,u(u({},G),{},{onClick:this.onClick}))}}]),F})(e.default.PureComponent);return Mc.CopyToClipboard=U,j(U,"defaultProps",{onCopy:void 0,options:void 0}),Mc}var sp,QS;function bU(){if(QS)return sp;QS=1;var t=yU(),e=t.CopyToClipboard;return e.CopyToClipboard=e,sp=e,sp}var SU=bU();function EU({txt:t}){const[e,a]=g.useState(!1);return h.jsxs(h.Fragment,{children:[h.jsx(SU.CopyToClipboard,{text:t,children:h.jsx("section",{className:"copy-to-clipboard",onClick:i=>{const s=i.target;s.classList.add("copied"),a(!0),setTimeout(()=>{s.classList.remove("copied"),a(!1)},1560)},children:h.jsx(pU,{})})}),h.jsx("div",{className:`copied ${e?"":"hidden"}`,children:S.t("forms.copied")})]})}function fn({onChange:t,name:e,value:a,placeholder:i="",disabled:s=!1,toolTip:o=null,onBlur:u=()=>!0,onEnter:d=null,multiline:f=!1,copyClipBoard:m=!1,link:y=null,externalLink:b=!1,large:C=!1,small:A=!1,noInput:I=!1,error:M=!1,cols:O=5,maxLength:R=255,onRef:x=null,displayLabel:j=!0,button:U=null,isInteger:L=!1,isUrl:P=!1,customClassName:F="",required:E=!1,info:T=null,isAlert:N=!1}){const G=kt();i=s?"":i;let _="sds--text-field--input";M&&(_+="error ");const q=b&&!ne(a)&&ff.test(a),V=`input-field sds--text-field ${M?"sds--text-field--status-error":""} ${F}`;return h.jsxs("div",{className:V,children:[e&&j&&h.jsxs("label",{htmlFor:e,children:[e,E&&h.jsx("sup",{className:"required",children:"*"}),N&&h.jsx(ai,{}),o&&h.jsx(ca,{tip:o})]}),h.jsxs("div",{className:"inner-input-field",children:[!f&&!I&&h.jsx("input",{type:L?"number":P?"url":"text",disabled:s,value:a||"",onChange:t,onBlur:u,id:e,maxLength:R,max:L?R:null,min:0,ref:x,placeholder:i,className:`${_} sds--text-field--input`,onKeyDown:D=>{d&&D.keyCode===13&&d(D)}}),f&&!I&&h.jsx("textarea",{disabled:s,value:a||"",onChange:t,onBlur:u,id:e,className:`${_} sds--text-area ${C?"large":""} ${A?"small":""}`,onKeyDown:D=>{d&&D.keyCode===13&&d(D)},placeholder:i,cols:O}),U&&U,m&&h.jsx(EU,{txt:a,right:!0,input:!0}),y&&h.jsx("div",{className:"input-field-link",onClick:()=>G(y),children:h.jsx(ul,{})}),q&&h.jsx("div",{className:"input-field-link",children:h.jsx("a",{href:a,rel:"noopener noreferrer",target:"_blank",children:h.jsx(ul,{})})}),I&&h.jsx("span",{className:"no-input",children:a})]}),T&&h.jsx("span",{className:"info",children:T})]})}const AU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"info-svg",xmlns:"http://www.w3.org/2000/svg",width:22.5,height:22.5,viewBox:"0 0 22.5 22.5",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("circle",{className:"bg",cx:11.2,cy:11.2,r:11.2,fill:"none"}),g.createElement("g",{fill:"none"},g.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z"}),g.createElement("path",{d:"M21.8 11.2c0 5.8-4.7 10.5-10.5 10.5C5.5 21.8.8 17 .8 11.2S5.5.7 11.3.7c5.7.1 10.5 4.8 10.5 10.5z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M13.5 15.8h-.8c-.4 0-.8-.2-1.1-.4-.3-.3-.4-.7-.4-1.1v-3.8c0-.2-.1-.4-.2-.5-.1-.1-.3-.2-.5-.2h-.7M10.9 6c-.1 0-.1 0-.2.1-.1 0-.1.1-.1.2v.2c0 .1.1.1.1.2.1.1.1.1.2.1h.2c.1 0 .1-.1.2-.1 0-.1.1-.1.1-.2s0-.2-.1-.3c-.2-.2-.3-.2-.4-.2z",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}))),CU=g.forwardRef(AU),wU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:16,height:9,viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 7.09119C16 7.30382 15.9423 7.51931 15.8215 7.70687C15.5091 8.19226 14.8949 8.30967 14.45 7.96961L8.12442 3.12577L1.79888 7.95315C1.35329 8.2932 0.739705 8.17508 0.427989 7.68898C0.116274 7.20287 0.224554 6.5335 0.670143 6.19344L7.5607 0.934374C7.89998 0.67593 8.35148 0.675931 8.69076 0.93509L15.5813 6.21134C15.8543 6.42039 16 6.75257 16 7.09119Z",fill:"#898585"}),g.createElement("mask",{id:"mask0_971_12947",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:16,height:9},g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16 7.09119C16 7.30382 15.9423 7.51931 15.8215 7.70687C15.5091 8.19226 14.8949 8.30967 14.45 7.96961L8.12442 3.12577L1.79888 7.95315C1.35329 8.2932 0.739705 8.17508 0.427989 7.68898C0.116274 7.20287 0.224554 6.5335 0.670143 6.19344L7.5607 0.934374C7.89998 0.67593 8.35148 0.675931 8.69076 0.93509L15.5813 6.21134C15.8543 6.42039 16 6.75257 16 7.09119Z",fill:"white"})),g.createElement("g",{mask:"url(#mask0_971_12947)"})),xU=g.forwardRef(wU),TU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:16,height:9,viewBox:"0 0 16 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.25 1.81427C0.25 1.60164 0.30775 1.38615 0.428498 1.19858C0.74087 0.713197 1.35511 0.595788 1.80005 0.935845L8.12558 5.77969L14.4511 0.952311C14.8967 0.612254 15.5103 0.730379 15.822 1.21648C16.1337 1.70258 16.0254 2.37196 15.5799 2.71202L8.6893 7.97108C8.35002 8.22953 7.89852 8.22953 7.55924 7.97037L0.668684 2.69412C0.395686 2.48507 0.25 2.15289 0.25 1.81427Z",fill:"#898585"}),g.createElement("mask",{id:"mask0_5543_72",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:16,height:9},g.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0.25 1.81427C0.25 1.60164 0.30775 1.38615 0.428498 1.19858C0.74087 0.713197 1.35511 0.595788 1.80005 0.935845L8.12558 5.77969L14.4511 0.952311C14.8967 0.612254 15.5103 0.730379 15.822 1.21648C16.1337 1.70258 16.0254 2.37196 15.5799 2.71202L8.6893 7.97108C8.35002 8.22953 7.89852 8.22953 7.55924 7.97037L0.668684 2.69412C0.395686 2.48507 0.25 2.15289 0.25 1.81427Z",fill:"white"})),g.createElement("g",{mask:"url(#mask0_5543_72)"})),A5=g.forwardRef(TU),OU=({title:t,info:e,children:a,disabledToggle:i,checkRequired:s,name:o,checkValue:u})=>{const[d,f]=g.useState(!1),m=()=>{i||f(!d)};return h.jsxs("div",{className:"collapse-field",children:[h.jsxs("div",{className:"collapse-field-inner",children:[s&&h.jsx(oA,{name:o,value:u,onChange:y=>s(y)}),h.jsxs("div",{className:`collapse-field-switch ${i?"disabled":""}`,onClick:m,children:[h.jsx("span",{className:`${d?"collapsed":"open"}`,children:t}),i?null:d?h.jsx(xU,{}):h.jsx(A5,{})]})]}),d&&e&&h.jsx("p",{className:"collapsed",dangerouslySetInnerHTML:{__html:e}}),d&&!e&&h.jsx("div",{className:"collapsed",children:a})]},o)},RU=()=>{const{applicationId:t}=oi(),e=kt(),{currentOrganization:a,setFlash:i}=Pe(A=>A),[s,o]=g.useState(!0),[u,d]=g.useState(!0),[f,m]=g.useState({type:"APP",target:"SURF"}),[y,b]=g.useState({});if(g.useEffect(()=>{const A=t==="new";o(A);const I={},M=S.translations[S.locale].application.checks;Object.keys(M).forEach(O=>I[O]=!1),b(I),Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${a.id}`,value:a.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.applications")}]}),A?d(!1):r6(t).then(O=>{m(O),d(!1)})},[t]),u)return h.jsx(Sn,{});const C=()=>{const A=s?EL:c5;f.organization={id:a.id},A(f).then(I=>{i(S.t("application.flash",{name:I.name})),e(`/connection/${I.id}`)})};return h.jsx("div",{className:"application-form-container",children:h.jsxs("div",{className:"application-form",children:[h.jsx("h2",{children:S.t(`application.${s?"new":"edit"}`,{name:f.name})}),h.jsx(fn,{name:S.t("application.name"),value:f.name||"",required:!0,onChange:A=>m({...f,name:A.target.value}),info:S.t("application.nameInfo")}),h.jsx(Uc,{label:S.t("application.type"),name:"type",value:f.type,onChange:A=>m({...f,type:A.target.id.replace("type_","").toUpperCase()}),isMultiple:!0,labels:["APP","CONTENT"],labelResolver:A=>S.t(`application.${A.toLowerCase()}`),orientation:Wc.column}),f.type==="CONTENT"&&h.jsx("div",{className:"sds--alert sds--alert--status-info",children:h.jsxs("div",{className:"sds--alert--inner",children:[h.jsx("div",{className:"sds--alert--visual",children:h.jsx(CU,{})}),h.jsxs("div",{children:[h.jsx("span",{children:S.t("application.contentInfoPre")}),h.jsx(ca,{tip:S.t("application.contentInfoTip"),standalone:!0,children:h.jsx("span",{className:"link",children:S.t("application.contentInfoLink")})}),h.jsx("span",{children:S.t("application.contentInfoPost")})]})]})}),s&&h.jsxs("div",{className:"fair-use-terms",children:[h.jsxs("span",{className:"label",children:[S.t("application.terms"),h.jsx("sup",{className:"required",children:"*"})]}),Object.keys(y).map(A=>h.jsx(OU,{title:S.t(`application.checks.${A}`),name:A,disabledToggle:ne(S.translations[S.locale].application.checksInfo[A]),checkRequired:I=>b({...y,[A]:I.target.checked}),checkValue:y[A],children:h.jsx("span",{children:S.t(`application.checksInfo.${A}`)})},A))]}),h.jsxs("section",{className:"actions",children:[h.jsx(at,{onClick:()=>e(-1),type:vt.Secondary,txt:S.t("forms.cancel")}),h.jsx(at,{onClick:()=>C(),txt:S.t("forms.submit"),disabled:s&&Object.values(y).some(A=>!A)||ne(f.name)})]})]})})},IU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M2.521 16.3453L17.021 1.84527C17.3569 1.50152 17.7577 1.22775 18.2 1.03978C18.6424 0.851798 19.1176 0.753338 19.5982 0.750083C20.0788 0.746829 20.5553 0.838845 21.0002 1.02082C21.4451 1.20279 21.8494 1.4711 22.19 1.81027C22.5292 2.15083 22.7975 2.55522 22.9795 3.00007C23.1614 3.44493 23.2534 3.92144 23.2502 4.40206C23.2469 4.88269 23.1485 5.35791 22.9605 5.80026C22.7725 6.24261 22.4987 6.64333 22.155 6.97927L7.655 21.4793L0.75 23.2503L2.521 16.3453ZM2.521 16.3453L7.66 21.4742M16.606 2.26025L21.74 7.39425M14.512 4.35425L19.646 9.48825",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),go=g.forwardRef(IU),MU=({tabs:t,application:e,currentTab:a,setTab:i,setLoading:s})=>{const[o,u]=g.useState(!1),[d,f]=g.useState({}),m=kt(),y=(j,U)=>{Ra(j),U.disabled||i(U.name)},b=(j,U)=>{Ra(j),m(U)},C=(j,U)=>{Ra(j),U?f({open:!0,cancel:()=>f({open:!1}),action:()=>C(null,!1),question:S.t("application.deleteConfirmation",{name:e.name}),okButton:S.t("forms.delete")}):(s(!0),SL(e.id).then(()=>{f({}),m("/home"),s(!1)}))},A=()=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:j=>b(j,`/application/${e.id}`),children:[h.jsx(go,{}),h.jsx("a",{href:"/edit",onClick:j=>b(j,`/application/${e.id}`),children:S.t("forms.edit")})]}),h.jsxs("li",{onClick:j=>C(j,!0),children:[h.jsx(vl,{}),h.jsx("a",{href:"/delete",onClick:j=>C(j,!0),children:S.t("forms.delete")})]})]})}),{open:I,cancel:M,action:O,question:R,okButton:x}=d;return h.jsxs("div",{className:"application-connection-header-container",children:[I&&h.jsx(Cr,{confirm:O,cancel:M,confirmationHeader:S.t("forms.delete"),confirmationTxt:x,question:R}),h.jsxs("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>u(!1),475),children:[h.jsx("h1",{children:e.name}),h.jsxs("div",{className:"menu-container",children:[e.type==="CONTENT"&&h.jsx(ol,{type:xs.Status_info,label:S.t("application.contentAbbreviation"),className:"application-type"}),h.jsxs("span",{className:`menu ${o?"drop-down":""}`,onClick:()=>u(!o),children:[h.jsx(Ts,{}),o&&A()]})]})]}),h.jsx("div",{className:"tabs-menu",children:t.map(j=>h.jsx("a",{href:`/${j.name}`,className:j.name===a?"active":j.disabled?"disabled":"",onClick:U=>y(U,j),children:S.t(`connection.${j.name}`)},j.name))})]})},NU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"caret_right",width:16,height:18,viewBox:"0 0 16 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M4.87402 1.5L12.02 8.64667C12.0665 8.69304 12.1033 8.74812 12.1284 8.80875C12.1536 8.86938 12.1665 8.93437 12.1665 9C12.1665 9.06563 12.1536 9.13062 12.1284 9.19125C12.1033 9.25188 12.0665 9.30696 12.02 9.35333L4.87402 16.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),DU=g.forwardRef(NU),jU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"pending",width:21,height:22,viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("circle",{opacity:.7,cx:10.5,cy:11,r:9.275,stroke:"#B6BBC1",strokeWidth:2.45,strokeDasharray:"4.9 4.9"})),nw=g.forwardRef(jU),LU=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"team",width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("g",{clipPath:"url(#clip0_1916_8752)"},g.createElement("path",{d:"M6.75 24C6.336 24 6 23.664 6 23.25C6 22.836 6.336 22.5 6.75 22.5H11.25V21H4.5C3.259 21 2.25 19.991 2.25 18.75V10.5C2.25 10.086 2.586 9.75 3 9.75C3.414 9.75 3.75 10.086 3.75 10.5V16.5H20.25V10.5C20.25 10.086 20.586 9.75 21 9.75C21.414 9.75 21.75 10.086 21.75 10.5V18.75C21.75 19.991 20.741 21 19.5 21H12.75V22.5H17.25C17.664 22.5 18 22.836 18 23.25C18 23.664 17.663 24 17.25 24H6.75ZM3.75 18.75C3.75 19.164 4.086 19.5 4.5 19.5H19.5C19.914 19.5 20.25 19.164 20.25 18.75V18H3.75V18.75Z",fill:"#232C3A"}),g.createElement("path",{d:"M4.64648 6C2.99248 6 1.64648 4.654 1.64648 3C1.64648 1.346 2.99248 0 4.64648 0C6.30048 0 7.64648 1.346 7.64648 3C7.64648 4.654 6.30048 6 4.64648 6ZM4.64648 1.5C3.81948 1.5 3.14648 2.173 3.14648 3C3.14648 3.827 3.81948 4.5 4.64648 4.5C5.47348 4.5 6.14648 3.827 6.14648 3C6.14648 2.173 5.47348 1.5 4.64648 1.5Z",fill:"#232C3A"}),g.createElement("path",{d:"M19.3535 6C17.6995 6 16.3535 4.654 16.3535 3C16.3535 1.346 17.6995 0 19.3535 0C21.0075 0 22.3535 1.346 22.3535 3C22.3535 4.654 21.0075 6 19.3535 6ZM19.3535 1.5C18.5265 1.5 17.8535 2.173 17.8535 3C17.8535 3.827 18.5265 4.5 19.3535 4.5C20.1805 4.5 20.8535 3.827 20.8535 3C20.8535 2.173 20.1805 1.5 19.3535 1.5Z",fill:"#232C3A"}),g.createElement("path",{d:"M0.748557 9.00002C0.617557 9.00002 0.487557 8.96502 0.373557 8.89902C0.015557 8.69202 -0.107443 8.23302 0.099557 7.87502C0.559557 7.07902 1.22356 6.41502 2.01956 5.95502C2.81956 5.49302 3.72456 5.24902 4.63756 5.24902C5.09556 5.24902 5.55556 5.31002 6.00356 5.43002C6.88756 5.66702 7.68156 6.12102 8.32456 6.75402C8.52756 6.55402 8.74456 6.37202 8.97156 6.21202C9.86356 5.58302 10.9066 5.25002 11.9876 5.25002C12.2886 5.25002 12.5916 5.27602 12.8906 5.32802C13.9616 5.51302 14.9166 6.00302 15.6766 6.75402C15.9916 6.44402 16.3436 6.17702 16.7266 5.95602C17.5266 5.49402 18.4316 5.25002 19.3446 5.25002C19.8026 5.25002 20.2616 5.31102 20.7096 5.43102C22.0646 5.79402 23.1966 6.66202 23.8976 7.87602C24.1046 8.23402 23.9816 8.69402 23.6236 8.90102C23.5106 8.96502 23.3806 9.00002 23.2496 9.00002C22.9826 9.00002 22.7336 8.85602 22.6006 8.62502C22.0996 7.75702 21.2906 7.13702 20.3226 6.87802C20.0016 6.79202 19.6736 6.74902 19.3466 6.74902C18.6956 6.74902 18.0486 6.92402 17.4766 7.25402C16.9086 7.58202 16.4346 8.05602 16.1056 8.62502C15.9716 8.85702 15.7226 9.00002 15.4556 9.00002C15.3246 9.00002 15.1946 8.96502 15.0806 8.89902C14.7536 8.71002 14.6226 8.31102 14.7606 7.97002C14.2006 7.35702 13.4556 6.94702 12.6366 6.80502C12.4216 6.76802 12.2046 6.75002 11.9896 6.75002C11.2186 6.75002 10.4736 6.98802 9.83656 7.43802C9.62056 7.58902 9.41956 7.76702 9.23756 7.96802C9.29856 8.11802 9.30956 8.28402 9.26656 8.44402C9.21456 8.63702 9.09056 8.79902 8.91756 8.89902C8.80356 8.96502 8.67356 9.00002 8.54256 9.00002C8.27556 9.00002 8.02656 8.85602 7.89256 8.62502C7.39156 7.75802 6.58256 7.13702 5.61556 6.87802C5.29456 6.79202 4.96656 6.74802 4.63956 6.74802C3.98856 6.74802 3.34256 6.92302 2.77056 7.25302C2.20156 7.58202 1.72756 8.05702 1.39856 8.62502C1.26556 8.85702 1.01656 9.00002 0.748557 9.00002Z",fill:"#232C3A"}),g.createElement("path",{d:"M12 6C10.346 6 9 4.654 9 3C9 1.346 10.346 0 12 0C13.654 0 15 1.346 15 3C15 4.654 13.654 6 12 6ZM12 1.5C11.173 1.5 10.5 2.173 10.5 3C10.5 3.827 11.173 4.5 12 4.5C12.827 4.5 13.5 3.827 13.5 3C13.5 2.173 12.827 1.5 12 1.5Z",fill:"#232C3A"})),g.createElement("defs",null,g.createElement("clipPath",{id:"clip0_1916_8752"},g.createElement("rect",{width:24,height:24,fill:"white"})))),kU=g.forwardRef(LU),_U=({title:t,titleId:e,...a},i)=>g.createElement("svg",{className:"completed",width:21,height:22,viewBox:"0 0 21 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("rect",{y:.5,width:21,height:21,rx:10.5,fill:"#008939"}),g.createElement("path",{d:"M8.82428 14.3096C8.37275 14.3096 7.94324 14.1665 7.58256 13.8939C7.50409 13.8347 7.43251 13.7727 7.36505 13.7053L5.30148 11.6417C4.89951 11.2397 4.89951 10.5845 5.30148 10.1811C5.49696 9.98563 5.75577 9.87825 6.0311 9.87825C6.30642 9.87825 6.56661 9.98563 6.76071 10.1811L8.82566 12.2461L12.8261 6.91299C13.0203 6.65418 13.3286 6.5 13.6521 6.5C13.8765 6.5 14.0899 6.57159 14.2702 6.70512C14.7273 7.0479 14.8195 7.69629 14.4781 8.15196L10.479 13.4837C10.0894 14.0013 9.4713 14.3096 8.82428 14.3096Z",fill:"white"})),aw=g.forwardRef(_U),Ua={ACTIVE:"ACTIVE",PENDING:"PENDING",ALERT:"ALERT",TEAM:"TEAM"},Nc=({status:t,info:e,action:a,disabled:i})=>{const s=()=>{switch(t){case Ua.ACTIVE:return h.jsx(aw,{});case Ua.PENDING:return h.jsx(nw,{});case Ua.ALERT:return h.jsx(ai,{});case Ua.TEAM:return h.jsx(kU,{})}};return h.jsxs("div",{className:`status-link ${i?"disabled":"enabled"}`,onClick:()=>!i&&a(),children:[s(),h.jsx("span",{className:"info",children:e}),h.jsx(DU,{})]})},rw=({user:t,application:e,setTab:a,testConnectionComplete:i,productionConnectionComplete:s,appInformationComplete:o,productionConnectionNeedsActivation:u,productionOnly:d,customProdTabAction:f=null,fullWidth:m=!1})=>{const[y,b]=g.useState(!1),C=()=>{if(y)return null;let A=[];if(e.signedContract&&!ne(e.connections)){const I=e.connections.filter(M=>M.environment===la.PROD&&(M.status===sn.COMPLETE||M.status===sn.IN_PROGRESS)).map(M=>M.name);A=aL(I,S.t("forms.and"))}if(ne(e.connections)&&!d)return h.jsx(zr,{close:()=>b(!0),alertType:oa.Info,asChild:!0,message:S.t("connection.welcome",{user:t.name,name:e.name})});if(i&&!s&&!d)return h.jsx(zr,{close:()=>b(!0),alertType:oa.Info,asChild:!0,message:S.t("connection.productionConnectionHint")});if(s&&!o)return h.jsx(zr,{close:()=>b(!0),alertType:oa.Warning,asChild:!0,message:S.t("connection.applicationInformationHint")});if(s&&u)return h.jsx(zr,{close:()=>b(!0),alertType:oa.Warning,asChild:!0,message:S.t("connection.productionActivationHint",{name:A}),action:()=>f?f():a("prod","activate"),actionLabel:S.t("connection.productionActivationAction")})};return h.jsx("div",{className:`alert-container ${m?"full-width":""}`,children:C()})},zU=({user:t,application:e,setTab:a,initConnection:i,testConnectionComplete:s,productionConnectionComplete:o,appInformationComplete:u,productionConnectionNeedsActivation:d})=>h.jsxs("div",{className:"application-connection-form",children:[h.jsx(rw,{application:e,user:t,productionOnly:!1,setTab:a,testConnectionComplete:s,productionConnectionComplete:o,appInformationComplete:u,productionConnectionNeedsActivation:d}),h.jsxs("div",{className:"application-connection",children:[h.jsxs("section",{className:"sub-part",children:[h.jsx("h2",{children:S.t("connection.test.name")}),h.jsx(Nc,{info:S.t("connection.test.connections"),action:()=>i(la.TEST),status:s?Ua.ACTIVE:Ua.PENDING})]}),h.jsxs("section",{className:"sub-part",children:[h.jsx("h2",{children:S.t("connection.team.name")}),h.jsx(Nc,{info:S.t("connection.team.members"),action:()=>a("appteam"),status:Ua.TEAM})]}),h.jsxs("section",{className:"sub-part",children:[h.jsx("h2",{children:S.t("connection.production.name")}),h.jsx(Nc,{info:S.t("connection.production.connections"),action:()=>i(la.PROD),disabled:!s,status:o?d?Ua.ALERT:Ua.ACTIVE:Ua.PENDING}),h.jsx(Nc,{info:S.t("connection.production.catalogue"),action:()=>a("application"),disabled:!s,status:u?Ua.ACTIVE:Ua.PENDING}),h.jsx(Nc,{info:S.t("connection.production.contract"),action:()=>a("contract"),disabled:!u,status:e.signedContract?Ua.ACTIVE:Ua.PENDING}),h.jsx("p",{className:`${o} ? "":"pending`,children:S.t("connection.production.disclaimer")})]})]})]});function qU(t){var e;const a=/^\/(.*)\/([gimyu]*)$/.exec(t.toString());if(!a)throw new Error("Invalid RegExp");return new RegExp((e=a[1])!==null&&e!==void 0?e:"",a[2])}function yf(t){if(typeof t!="object")return t;if(t===null)return null;if(Array.isArray(t))return t.map(yf);if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return qU(t);const e={};for(const a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=yf(t[a]));return e}function UU(t,e){if(t.length===0)throw new Error("Expected a non-empty array")}function PU(t,e){if(t.length<2)throw new Error("Expected an array with at least 2 items")}const HU=t=>t[t.length-1];class C5{setResult(e){return this.result=e,this.hasResult=!0,this}exit(){return this.exiting=!0,this}push(e,a){return e.parent=this,typeof a<"u"&&(e.childName=a),e.root=this.root||this,e.options=e.options||this.options,this.children?(UU(this.children),HU(this.children).next=e,this.children.push(e)):(this.children=[e],this.nextAfterChildren=this.next||null,this.next=e),e.next=this,this}}class nl extends C5{constructor(e,a){super(),this.left=e,this.right=a,this.pipe="diff"}prepareDeltaResult(e){var a,i,s,o;if(typeof e=="object"&&(!((a=this.options)===null||a===void 0)&&a.omitRemovedValues&&Array.isArray(e)&&e.length>1&&(e.length===2||e[2]===0||e[2]===3)&&(e[0]=0),!((i=this.options)===null||i===void 0)&&i.cloneDiffValues)){const u=typeof((s=this.options)===null||s===void 0?void 0:s.cloneDiffValues)=="function"?(o=this.options)===null||o===void 0?void 0:o.cloneDiffValues:yf;typeof e[0]=="object"&&(e[0]=u(e[0])),typeof e[1]=="object"&&(e[1]=u(e[1]))}return e}setResult(e){return this.prepareDeltaResult(e),super.setResult(e)}}class w5 extends C5{constructor(e,a){super(),this.left=e,this.delta=a,this.pipe="patch"}}class x5 extends C5{constructor(e){super(),this.delta=e,this.pipe="reverse"}}class lp{constructor(e){this.name=e,this.filters=[]}process(e){if(!this.processor)throw new Error("add this pipe to a processor before using it");const a=this.debug,i=this.filters.length,s=e;for(let o=0;o<i;o++){const u=this.filters[o];if(u&&(a&&this.log(`filter: ${u.filterName}`),u(s),typeof s=="object"&&s.exiting)){s.exiting=!1;break}}!s.next&&this.resultCheck&&this.resultCheck(s)}log(e){console.log(`[jsondiffpatch] ${this.name} pipe, ${e}`)}append(...e){return this.filters.push(...e),this}prepend(...e){return this.filters.unshift(...e),this}indexOf(e){if(!e)throw new Error("a filter name is required");for(let a=0;a<this.filters.length;a++){const i=this.filters[a];if(i?.filterName===e)return a}throw new Error(`filter not found: ${e}`)}list(){return this.filters.map(e=>e.filterName)}after(e,...a){const i=this.indexOf(e);return this.filters.splice(i+1,0,...a),this}before(e,...a){const i=this.indexOf(e);return this.filters.splice(i,0,...a),this}replace(e,...a){const i=this.indexOf(e);return this.filters.splice(i,1,...a),this}remove(e){const a=this.indexOf(e);return this.filters.splice(a,1),this}clear(){return this.filters.length=0,this}shouldHaveResult(e){return e===!1?(this.resultCheck=null,this):this.resultCheck?this:(this.resultCheck=a=>{if(!a.hasResult){console.log(a);const i=new Error(`${this.name} failed`);throw i.noResult=!0,i}},this)}}class BU{constructor(e){this.selfOptions=e||{},this.pipes={}}options(e){return e&&(this.selfOptions=e),this.selfOptions}pipe(e,a){let i=a;if(typeof e=="string"){if(typeof i>"u")return this.pipes[e];this.pipes[e]=i}if(e&&e.name){if(i=e,i.processor===this)return i;this.pipes[i.name]=i}if(!i)throw new Error(`pipe is not defined: ${e}`);return i.processor=this,i}process(e,a){let i=e;i.options=this.options();let s=a||e.pipe||"default",o;for(;s;)typeof i.nextAfterChildren<"u"&&(i.next=i.nextAfterChildren,i.nextAfterChildren=null),typeof s=="string"&&(s=this.pipe(s)),s.process(i),o=s,s=null,i&&i.next&&(i=i.next,s=i.pipe||o);return i.hasResult?i.result:void 0}}const FU=(t,e,a,i)=>t[a]===e[i],VU=(t,e,a,i)=>{var s,o,u;const d=t.length,f=e.length;let m,y;const b=new Array(d+1);for(m=0;m<d+1;m++){const C=new Array(f+1);for(y=0;y<f+1;y++)C[y]=0;b[m]=C}for(b.match=a,m=1;m<d+1;m++){const C=b[m];if(C===void 0)throw new Error("LCS matrix row is undefined");const A=b[m-1];if(A===void 0)throw new Error("LCS matrix row is undefined");for(y=1;y<f+1;y++)a(t,e,m-1,y-1,i)?C[y]=((s=A[y-1])!==null&&s!==void 0?s:0)+1:C[y]=Math.max((o=A[y])!==null&&o!==void 0?o:0,(u=C[y-1])!==null&&u!==void 0?u:0)}return b},GU=(t,e,a,i)=>{let s=e.length,o=a.length;const u={sequence:[],indices1:[],indices2:[]};for(;s!==0&&o!==0;){if(t.match===void 0)throw new Error("LCS matrix match function is undefined");if(t.match(e,a,s-1,o-1,i))u.sequence.unshift(e[s-1]),u.indices1.unshift(s-1),u.indices2.unshift(o-1),--s,--o;else{const f=t[s];if(f===void 0)throw new Error("LCS matrix row is undefined");const m=f[o-1];if(m===void 0)throw new Error("LCS matrix value is undefined");const y=t[s-1];if(y===void 0)throw new Error("LCS matrix row is undefined");const b=y[o];if(b===void 0)throw new Error("LCS matrix value is undefined");m>b?--o:--s}}return u},ZU=(t,e,a,i)=>{const s=i||{},o=VU(t,e,a||FU,s);return GU(o,t,e,s)},YU={get:ZU},dl=3;function WU(t,e,a,i){for(let s=0;s<a;s++){const o=t[s];for(let u=0;u<i;u++){const d=e[u];if(s!==u&&o===d)return!0}}return!1}function j1(t,e,a,i,s){const o=t[a],u=e[i];if(o===u)return!0;if(typeof o!="object"||typeof u!="object")return!1;const d=s.objectHash;if(!d)return s.matchByPosition&&a===i;s.hashCache1=s.hashCache1||[];let f=s.hashCache1[a];if(typeof f>"u"&&(s.hashCache1[a]=f=d(o,a)),typeof f>"u")return!1;s.hashCache2=s.hashCache2||[];let m=s.hashCache2[i];return typeof m>"u"&&(s.hashCache2[i]=m=d(u,i)),typeof m>"u"?!1:f===m}const iw=function(e){var a,i,s,o,u;if(!e.leftIsArray)return;const d={objectHash:(a=e.options)===null||a===void 0?void 0:a.objectHash,matchByPosition:(i=e.options)===null||i===void 0?void 0:i.matchByPosition};let f=0,m=0,y,b,C;const A=e.left,I=e.right,M=A.length,O=I.length;let R;for(M>0&&O>0&&!d.objectHash&&typeof d.matchByPosition!="boolean"&&(d.matchByPosition=!WU(A,I,M,O));f<M&&f<O&&j1(A,I,f,f,d);)y=f,R=new nl(A[y],I[y]),e.push(R,y),f++;for(;m+f<M&&m+f<O&&j1(A,I,M-1-m,O-1-m,d);)b=M-1-m,C=O-1-m,R=new nl(A[b],I[C]),e.push(R,C),m++;let x;if(f+m===M){if(M===O){e.setResult(void 0).exit();return}for(x=x||{_t:"a"},y=f;y<O-m;y++)x[y]=[I[y]],e.prepareDeltaResult(x[y]);e.setResult(x).exit();return}if(f+m===O){for(x=x||{_t:"a"},y=f;y<M-m;y++){const N=`_${y}`;x[N]=[A[y],0,0],e.prepareDeltaResult(x[N])}e.setResult(x).exit();return}d.hashCache1=void 0,d.hashCache2=void 0;const j=A.slice(f,M-m),U=I.slice(f,O-m),L=YU.get(j,U,j1,d),P=[];for(x=x||{_t:"a"},y=f;y<M-m;y++)if(L.indices1.indexOf(y-f)<0){const N=`_${y}`;x[N]=[A[y],0,0],e.prepareDeltaResult(x[N]),P.push(y)}let F=!0;!((s=e.options)===null||s===void 0)&&s.arrays&&e.options.arrays.detectMove===!1&&(F=!1);let E=!1;!((u=(o=e.options)===null||o===void 0?void 0:o.arrays)===null||u===void 0)&&u.includeValueOnMove&&(E=!0);const T=P.length;for(y=f;y<O-m;y++){const N=L.indices2.indexOf(y-f);if(N<0){let G=!1;if(F&&T>0)for(let _=0;_<T;_++){b=P[_];const q=b===void 0?void 0:x[`_${b}`];if(b!==void 0&&q&&j1(j,U,b-f,y-f,d)){q.splice(1,2,y,dl),q.splice(1,2,y,dl),E||(q[0]=""),C=y,R=new nl(A[b],I[C]),e.push(R,C),P.splice(_,1),G=!0;break}}G||(x[y]=[I[y]],e.prepareDeltaResult(x[y]))}else{if(L.indices1[N]===void 0)throw new Error(`Invalid indexOnArray2: ${N}, seq.indices1: ${L.indices1}`);if(b=L.indices1[N]+f,L.indices2[N]===void 0)throw new Error(`Invalid indexOnArray2: ${N}, seq.indices2: ${L.indices2}`);C=L.indices2[N]+f,R=new nl(A[b],I[C]),e.push(R,C)}}e.setResult(x).exit()};iw.filterName="arrays";const JS={numerically(t,e){return t-e},numericallyBy(t){return(e,a)=>e[t]-a[t]}},sw=function(e){var a;if(!e.nested)return;const i=e.delta;if(i._t!=="a")return;let s,o;const u=i,d=e.left;let f=[],m=[];const y=[];for(s in u)if(s!=="_t")if(s[0]==="_"){const A=s;if(u[A]!==void 0&&(u[A][2]===0||u[A][2]===dl))f.push(Number.parseInt(s.slice(1),10));else throw new Error(`only removal or move can be applied at original array indices, invalid diff type: ${(a=u[A])===null||a===void 0?void 0:a[2]}`)}else{const A=s;u[A].length===1?m.push({index:Number.parseInt(A,10),value:u[A][0]}):y.push({index:Number.parseInt(A,10),delta:u[A]})}for(f=f.sort(JS.numerically),s=f.length-1;s>=0;s--){if(o=f[s],o===void 0)continue;const A=u[`_${o}`],I=d.splice(o,1)[0];A?.[2]===dl&&m.push({index:A[1],value:I})}m=m.sort(JS.numericallyBy("index"));const b=m.length;for(s=0;s<b;s++){const A=m[s];A!==void 0&&d.splice(A.index,0,A.value)}const C=y.length;if(C>0)for(s=0;s<C;s++){const A=y[s];if(A===void 0)continue;const I=new w5(d[A.index],A.delta);e.push(I,A.index)}if(!e.children){e.setResult(d).exit();return}e.exit()};sw.filterName="arrays";const lw=function(e){if(!e||!e.children||e.delta._t!=="a")return;const i=e.left,s=e.children.length;for(let o=0;o<s;o++){const u=e.children[o];if(u===void 0)continue;const d=u.childName;i[d]=u.result}e.setResult(i).exit()};lw.filterName="arraysCollectChildren";const ow=function(e){if(!e.nested){const s=e.delta;if(s[2]===dl){const o=s;e.newName=`_${o[1]}`,e.setResult([o[0],Number.parseInt(e.childName.substring(1),10),dl]).exit()}return}const a=e.delta;if(a._t!=="a")return;const i=a;for(const s in i){if(s==="_t")continue;const o=new x5(i[s]);e.push(o,s)}e.exit()};ow.filterName="arrays";const QU=(t,e,a)=>{if(typeof e=="string"&&e[0]==="_")return Number.parseInt(e.substring(1),10);if(Array.isArray(a)&&a[2]===0)return`_${e}`;let i=+e;for(const s in t){const o=t[s];if(Array.isArray(o))if(o[2]===dl){const u=Number.parseInt(s.substring(1),10),d=o[1];if(d===+e)return u;u<=i&&d>i?i++:u>=i&&d<i&&i--}else o[2]===0?Number.parseInt(s.substring(1),10)<=i&&i++:o.length===1&&Number.parseInt(s,10)<=i&&i--}return i},cw=t=>{if(!t||!t.children)return;const e=t.delta;if(e._t!=="a")return;const a=e,i=t.children.length,s={_t:"a"};for(let o=0;o<i;o++){const u=t.children[o];if(u===void 0)continue;let d=u.newName;if(typeof d>"u"){if(u.childName===void 0)throw new Error("child.childName is undefined");d=QU(a,u.childName,u.result)}s[d]!==u.result&&(s[d]=u.result)}t.setResult(s).exit()};cw.filterName="arraysCollectChildren";const uw=function(e){e.left instanceof Date?(e.right instanceof Date?e.left.getTime()!==e.right.getTime()?e.setResult([e.left,e.right]):e.setResult(void 0):e.setResult([e.left,e.right]),e.exit()):e.right instanceof Date&&e.setResult([e.left,e.right]).exit()};uw.filterName="dates";const fw=t=>{if(!t||!t.children)return;const e=t.children.length;let a=t.result;for(let i=0;i<e;i++){const s=t.children[i];if(s!==void 0&&!(typeof s.result>"u")){if(a=a||{},s.childName===void 0)throw new Error("diff child.childName is undefined");a[s.childName]=s.result}}a&&t.leftIsArray&&(a._t="a"),t.setResult(a).exit()};fw.filterName="collectChildren";const dw=t=>{var e;if(t.leftIsArray||t.leftType!=="object")return;const a=t.left,i=t.right,s=(e=t.options)===null||e===void 0?void 0:e.propertyFilter;for(const o in a){if(!Object.prototype.hasOwnProperty.call(a,o)||s&&!s(o,t))continue;const u=new nl(a[o],i[o]);t.push(u,o)}for(const o in i)if(Object.prototype.hasOwnProperty.call(i,o)&&!(s&&!s(o,t))&&typeof a[o]>"u"){const u=new nl(void 0,i[o]);t.push(u,o)}if(!t.children||t.children.length===0){t.setResult(void 0).exit();return}t.exit()};dw.filterName="objects";const hw=function(e){if(!e.nested)return;const a=e.delta;if(a._t)return;const i=a;for(const s in i){const o=new w5(e.left[s],i[s]);e.push(o,s)}e.exit()};hw.filterName="objects";const mw=function(e){if(!e||!e.children||e.delta._t)return;const i=e.left,s=e.children.length;for(let o=0;o<s;o++){const u=e.children[o];if(u===void 0)continue;const d=u.childName;Object.prototype.hasOwnProperty.call(e.left,d)&&u.result===void 0?delete i[d]:i[d]!==u.result&&(i[d]=u.result)}e.setResult(i).exit()};mw.filterName="collectChildren";const pw=function(e){if(!e.nested||e.delta._t)return;const i=e.delta;for(const s in i){const o=new x5(i[s]);e.push(o,s)}e.exit()};pw.filterName="objects";const gw=t=>{if(!t||!t.children||t.delta._t)return;const a=t.children.length,i={};for(let s=0;s<a;s++){const o=t.children[s];if(o===void 0)continue;const u=o.childName;i[u]!==o.result&&(i[u]=o.result)}t.setResult(i).exit()};gw.filterName="collectChildren";const bf=2,JU=60;let op=null;function vw(t,e){var a;if(!op){let i;if(!((a=t?.textDiff)===null||a===void 0)&&a.diffMatchPatch)i=new t.textDiff.diffMatchPatch;else{if(!e)return null;const s=new Error("The diff-match-patch library was not provided. Pass the library in through the options or use the `jsondiffpatch/with-text-diffs` entry-point.");throw s.diff_match_patch_not_found=!0,s}op={diff:(s,o)=>i.patch_toText(i.patch_make(s,o)),patch:(s,o)=>{const u=i.patch_apply(i.patch_fromText(o),s);for(const d of u[1])if(!d){const f=new Error("text patch failed");throw f.textPatchFailed=!0,f}return u[0]}}}return op}const yw=function(e){var a,i;if(e.leftType!=="string")return;const s=e.left,o=e.right,u=((i=(a=e.options)===null||a===void 0?void 0:a.textDiff)===null||i===void 0?void 0:i.minLength)||JU;if(s.length<u||o.length<u){e.setResult([s,o]).exit();return}const d=vw(e.options);if(!d){e.setResult([s,o]).exit();return}const f=d.diff;e.setResult([f(s,o),0,bf]).exit()};yw.filterName="texts";const bw=function(e){if(e.nested)return;const a=e.delta;if(a[2]!==bf)return;const i=a,s=vw(e.options,!0).patch;e.setResult(s(e.left,i[0])).exit()};bw.filterName="texts";const KU=t=>{var e,a,i;const s=/^@@ +-(\d+),(\d+) +\+(\d+),(\d+) +@@$/,o=t.split(`
`);for(let u=0;u<o.length;u++){const d=o[u];if(d===void 0)continue;const f=d.slice(0,1);if(f==="@"){const m=s.exec(d);if(m!==null){const y=u;o[y]=`@@ -${m[3]},${m[4]} +${m[1]},${m[2]} @@`}}else if(f==="+"){if(o[u]=`-${(e=o[u])===null||e===void 0?void 0:e.slice(1)}`,((a=o[u-1])===null||a===void 0?void 0:a.slice(0,1))==="+"){const m=o[u];o[u]=o[u-1],o[u-1]=m}}else f==="-"&&(o[u]=`+${(i=o[u])===null||i===void 0?void 0:i.slice(1)}`)}return o.join(`
`)},Sw=function(e){if(e.nested)return;const a=e.delta;if(a[2]!==bf)return;const i=a;e.setResult([KU(i[0]),0,bf]).exit()};Sw.filterName="texts";const Ew=function(e){if(e.left===e.right){e.setResult(void 0).exit();return}if(typeof e.left>"u"){if(typeof e.right=="function")throw new Error("functions are not supported");e.setResult([e.right]).exit();return}if(typeof e.right>"u"){e.setResult([e.left,0,0]).exit();return}if(typeof e.left=="function"||typeof e.right=="function")throw new Error("functions are not supported");if(e.leftType=e.left===null?"null":typeof e.left,e.rightType=e.right===null?"null":typeof e.right,e.leftType!==e.rightType){e.setResult([e.left,e.right]).exit();return}if(e.leftType==="boolean"||e.leftType==="number"){e.setResult([e.left,e.right]).exit();return}if(e.leftType==="object"&&(e.leftIsArray=Array.isArray(e.left)),e.rightType==="object"&&(e.rightIsArray=Array.isArray(e.right)),e.leftIsArray!==e.rightIsArray){e.setResult([e.left,e.right]).exit();return}e.left instanceof RegExp&&(e.right instanceof RegExp?e.setResult([e.left.toString(),e.right.toString()]).exit():e.setResult([e.left,e.right]).exit())};Ew.filterName="trivial";const Aw=function(e){if(typeof e.delta>"u"){e.setResult(e.left).exit();return}if(e.nested=!Array.isArray(e.delta),e.nested)return;const a=e.delta;if(a.length===1){e.setResult(a[0]).exit();return}if(a.length===2){if(e.left instanceof RegExp){const i=/^\/(.*)\/([gimyu]+)$/.exec(a[1]);if(i?.[1]){e.setResult(new RegExp(i[1],i[2])).exit();return}}e.setResult(a[1]).exit();return}a.length===3&&a[2]===0&&e.setResult(void 0).exit()};Aw.filterName="trivial";const Cw=function(e){if(typeof e.delta>"u"){e.setResult(e.delta).exit();return}if(e.nested=!Array.isArray(e.delta),e.nested)return;const a=e.delta;if(a.length===1){e.setResult([a[0],0,0]).exit();return}if(a.length===2){e.setResult([a[1],a[0]]).exit();return}a.length===3&&a[2]===0&&e.setResult([a[0]]).exit()};Cw.filterName="trivial";class XU{constructor(e){this.processor=new BU(e),this.processor.pipe(new lp("diff").append(fw,Ew,uw,yw,dw,iw).shouldHaveResult()),this.processor.pipe(new lp("patch").append(mw,lw,Aw,bw,hw,sw).shouldHaveResult()),this.processor.pipe(new lp("reverse").append(gw,cw,Cw,Sw,pw,ow).shouldHaveResult())}options(e){return this.processor.options(e)}diff(e,a){return this.processor.process(new nl(e,a))}patch(e,a){return this.processor.process(new w5(e,a))}reverse(e){return this.processor.process(new x5(e))}unpatch(e,a){return this.patch(e,this.reverse(a))}clone(e){return yf(e)}}function $U(t){return new XU(t)}class eP{format(e,a){const i={};this.prepareContext(i);const s=i;return this.recurse(s,e,a),this.finalize(s)}prepareContext(e){e.buffer=[],e.out=function(...a){if(!this.buffer)throw new Error("context buffer is not initialized");this.buffer.push(...a)}}typeFormattterNotFound(e,a){throw new Error(`cannot format delta type: ${a}`)}typeFormattterErrorFormatter(e,a,i,s,o,u,d){}finalize({buffer:e}){return Array.isArray(e)?e.join(""):""}recurse(e,a,i,s,o,u,d){const m=a&&u?u.value:i;if(typeof a>"u"&&typeof s>"u")return;const y=this.getDeltaType(a,u),b=y==="node"?a._t==="a"?"array":"object":"";typeof s<"u"?this.nodeBegin(e,s,o,y,b,d??!1):this.rootBegin(e,y,b);let C;try{C=y!=="unknown"?this[`format_${y}`]:this.typeFormattterNotFound(e,y),C.call(this,e,a,m,s,o,u)}catch(A){this.typeFormattterErrorFormatter(e,A,a,m,s,o,u),typeof console<"u"&&console.error&&console.error(A.stack)}typeof s<"u"?this.nodeEnd(e,s,o,y,b,d??!1):this.rootEnd(e,y,b)}formatDeltaChildren(e,a,i){this.forEachDeltaKey(a,i,(s,o,u,d)=>{this.recurse(e,a[s],i?i[o]:void 0,s,o,u,d)})}forEachDeltaKey(e,a,i){const s=[];if(!(e._t==="a")){const O=Object.keys(e);typeof a=="object"&&a!==null&&s.push(...Object.keys(a));for(const R of O)s.indexOf(R)>=0||s.push(R);for(let R=0;R<s.length;R++){const x=s[R];if(x===void 0)continue;const j=R===s.length-1;i(x,x,void 0,j)}return}const u={};for(const O in e)if(Object.prototype.hasOwnProperty.call(e,O)){const R=e[O];if(Array.isArray(R)&&R[2]===3){const x=R;u[x[1]]=Number.parseInt(O.substring(1))}}const d=e;let f=0,m=0;const y=Array.isArray(a)?a:void 0,b=y?y.length:Object.keys(d).reduce((O,R)=>{if(R==="_t")return O;if(R.substring(0,1)==="_"){const P=d[R],F=Number.parseInt(R.substring(1)),E=Array.isArray(P)&&P.length>=3&&P[2]===3?P[1]:void 0,T=Math.max(F,E??0);return T>O?T:O}const j=Number.parseInt(R),U=u[j],L=Math.max(U??0,j??0);return L>O?L:O},0)+1;let C=b,A;const I=(...O)=>{A&&i(...A),A=O},M=()=>{A&&i(A[0],A[1],A[2],!0)};for(;f<b||m<C||`${m}`in d;){let O=!1;const R=`_${f}`,x=`${m}`,j=m in u?u[m]:void 0;if(R in d){O=!0;const U=d[R];I(R,j??f,j?{key:`_${j}`,value:y?y[j]:void 0}:void 0,!1),Array.isArray(U)?U[2]===0?(C--,f++):(U[2],f++):f++}if(x in d){O=!0;const U=d[x],L=Array.isArray(U)&&U.length===1;I(x,j??f,j?{key:`_${j}`,value:y?y[j]:void 0}:void 0,!1),L?(C++,m++):(j===void 0&&f++,m++)}O||((y&&j===void 0||this.includeMoveDestinations!==!1)&&I(x,j??f,j?{key:`_${j}`,value:y?y[j]:void 0}:void 0,!1),j!==void 0||f++,m++)}M()}getDeltaType(e,a){if(typeof e>"u")return typeof a<"u"?"movedestination":"unchanged";if(Array.isArray(e)){if(e.length===1)return"added";if(e.length===2)return"modified";if(e.length===3&&e[2]===0)return"deleted";if(e.length===3&&e[2]===2)return"textdiff";if(e.length===3&&e[2]===3)return"moved"}else if(typeof e=="object")return"node";return"unknown"}parseTextDiff(e){var a;const i=[],s=e.split(`
@@ `);for(const o of s){const u={pieces:[]},d=(a=/^(?:@@ )?[-+]?(\d+),(\d+)/.exec(o))===null||a===void 0?void 0:a.slice(1);if(!d)throw new Error("invalid text diff format");PU(d),u.location={line:d[0],chr:d[1]};const f=o.split(`
`).slice(1);for(let m=0,y=f.length;m<y;m++){const b=f[m];if(b===void 0||!b.length)continue;const C={type:"context"};b.substring(0,1)==="+"?C.type="added":b.substring(0,1)==="-"&&(C.type="deleted"),C.text=b.slice(1),u.pieces.push(C)}i.push(u)}return i}}class tP extends eP{typeFormattterErrorFormatter(e,a){const i=typeof a=="object"&&a!==null&&"message"in a&&typeof a.message=="string"?a.message:String(a);e.out(`<pre class="jsondiffpatch-error">${Dc(i)}</pre>`)}formatValue(e,a){const i=typeof a>"u"?"undefined":Dc(JSON.stringify(a,null,2));e.out(`<pre>${i}</pre>`)}formatTextDiffString(e,a){const i=this.parseTextDiff(a);e.out('<ul class="jsondiffpatch-textdiff">');for(let s=0,o=i.length;s<o;s++){const u=i[s];if(u===void 0)return;e.out(`<li><div class="jsondiffpatch-textdiff-location"><span class="jsondiffpatch-textdiff-line-number">${u.location.line}</span><span class="jsondiffpatch-textdiff-char">${u.location.chr}</span></div><div class="jsondiffpatch-textdiff-line">`);const d=u.pieces;for(let f=0,m=d.length;f<m;f++){const y=d[f];if(y===void 0)return;e.out(`<span class="jsondiffpatch-textdiff-${y.type}">${Dc(decodeURI(y.text))}</span>`)}e.out("</div></li>")}e.out("</ul>")}rootBegin(e,a,i){const s=`jsondiffpatch-${a}${i?` jsondiffpatch-child-node-type-${i}`:""}`;e.out(`<div class="jsondiffpatch-delta ${s}">`)}rootEnd(e){e.out(`</div>${e.hasArrows?`<script type="text/javascript">setTimeout(${nP.toString()},10);<\/script>`:""}`)}nodeBegin(e,a,i,s,o){const u=`jsondiffpatch-${s}${o?` jsondiffpatch-child-node-type-${o}`:""}`,d=typeof i=="number"&&a.substring(0,1)==="_"?a.substring(1):a;e.out(`<li class="${u}" data-key="${Dc(a)}"><div class="jsondiffpatch-property-name">${Dc(d)}</div>`)}nodeEnd(e){e.out("</li>")}format_unchanged(e,a,i){typeof i>"u"||(e.out('<div class="jsondiffpatch-value">'),this.formatValue(e,i),e.out("</div>"))}format_movedestination(e,a,i){typeof i>"u"||(e.out('<div class="jsondiffpatch-value">'),this.formatValue(e,i),e.out("</div>"))}format_node(e,a,i){const s=a._t==="a"?"array":"object";e.out(`<ul class="jsondiffpatch-node jsondiffpatch-node-type-${s}">`),this.formatDeltaChildren(e,a,i),e.out("</ul>")}format_added(e,a){e.out('<div class="jsondiffpatch-value">'),this.formatValue(e,a[0]),e.out("</div>")}format_modified(e,a){e.out('<div class="jsondiffpatch-value jsondiffpatch-left-value">'),this.formatValue(e,a[0]),e.out('</div><div class="jsondiffpatch-value jsondiffpatch-right-value">'),this.formatValue(e,a[1]),e.out("</div>")}format_deleted(e,a){e.out('<div class="jsondiffpatch-value">'),this.formatValue(e,a[0]),e.out("</div>")}format_moved(e,a){e.out('<div class="jsondiffpatch-value">'),this.formatValue(e,a[0]),e.out(`</div><div class="jsondiffpatch-moved-destination">${a[1]}</div>`),e.out(`<div class="jsondiffpatch-arrow" style="position: relative; left: -34px;">
          <svg width="30" height="60" style="position: absolute; display: none;">
          <defs>
              <marker id="markerArrow" markerWidth="8" markerHeight="8"
                 refx="2" refy="4" stroke="#88f"
                     orient="auto" markerUnits="userSpaceOnUse">
                  <path d="M1,1 L1,7 L7,4 L1,1" style="fill: #339;" />
              </marker>
          </defs>
          <path d="M30,0 Q-10,25 26,50"
            style="stroke: #88f; stroke-width: 2px; fill: none; stroke-opacity: 0.5; marker-end: url(#markerArrow);"
          ></path>
          </svg>
      </div>`),e.hasArrows=!0}format_textdiff(e,a){e.out('<div class="jsondiffpatch-value">'),this.formatTextDiffString(e,a[0]),e.out("</div>")}}function Dc(t){if(typeof t=="number")return t;let e=String(t);const a=[[/&/g,"&amp;"],[/</g,"&lt;"],[/>/g,"&gt;"],[/'/g,"&apos;"],[/"/g,"&quot;"]];for(const i of a)e=e.replace(i[0],i[1]);return e}const nP=function(e){const a=e||document,i=({textContent:u,innerText:d})=>u||d,s=(u,d,f)=>{const m=u.querySelectorAll(d);for(let y=0,b=m.length;y<b;y++)f(m[y])},o=({children:u},d)=>{for(let f=0,m=u.length;f<m;f++){const y=u[f];y&&d(y,f)}};s(a,".jsondiffpatch-arrow",({parentNode:u,children:d,style:f})=>{const m=u,y=d[0],b=y.children[1];y.style.display="none";const C=m.querySelector(".jsondiffpatch-moved-destination");if(!(C instanceof HTMLElement))return;const A=i(C),I=m.parentNode;if(!I)return;let M;if(o(I,O=>{O.getAttribute("data-key")===A&&(M=O)}),!!M)try{const O=M.offsetTop-m.offsetTop;y.setAttribute("height",`${Math.abs(O)+6}`),f.top=`${-8+(O>0?0:O)}px`;const R=O>0?`M30,0 Q-10,${Math.round(O/2)} 26,${O-4}`:`M30,${-O} Q-10,${Math.round(-O/2)} 26,4`;b.setAttribute("d",R),y.style.display=""}catch(O){console.debug(`[jsondiffpatch] error adjusting arrows: ${O}`)}})};let cp;function aP(t,e){return cp||(cp=new tP),cp.format(t,e)}const rP=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:13.5,height:13.5,viewBox:"0 0 13.5 13.5",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M.8 12.8l12-12m0 12L.8.8"})),ww=g.forwardRef(rP),xw=({pending:t,info:e,action:a,active:i,disabled:s,isAlert:o=!1,hideIcon:u=!1})=>{const d=o?h.jsx(ai,{}):t?h.jsx(nw,{}):h.jsx(aw,{});return h.jsxs("div",{className:`status-menu-item ${i&&"active"} ${s&&"disabled"}`,onClick:()=>!s&&a(),children:[h.jsx("span",{className:"info",children:e}),!u&&d]})};function iP({name:t,onFileUpload:e=null,txt:a,acceptFileFormat:i="text/csv"}){let s;const o=()=>{s.click()};return h.jsxs("div",{className:"file-upload-button-container",children:[h.jsx("input",{type:"file",id:`fileUpload_${t}`,ref:u=>s=u,name:`fileUpload_${t}`,accept:i,style:{display:"none"},onChange:e}),h.jsx(at,{txt:a,onClick:o})]})}/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */const{entries:Tw,setPrototypeOf:KS,isFrozen:sP,getPrototypeOf:lP,getOwnPropertyDescriptor:oP}=Object;let{freeze:Ia,seal:Er,create:Ow}=Object,{apply:p6,construct:g6}=typeof Reflect<"u"&&Reflect;Ia||(Ia=function(e){return e});Er||(Er=function(e){return e});p6||(p6=function(e,a){for(var i=arguments.length,s=new Array(i>2?i-2:0),o=2;o<i;o++)s[o-2]=arguments[o];return e.apply(a,s)});g6||(g6=function(e){for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];return new e(...i)});const L1=Ma(Array.prototype.forEach),cP=Ma(Array.prototype.lastIndexOf),XS=Ma(Array.prototype.pop),jc=Ma(Array.prototype.push),uP=Ma(Array.prototype.splice),ef=Ma(String.prototype.toLowerCase),up=Ma(String.prototype.toString),fp=Ma(String.prototype.match),Lc=Ma(String.prototype.replace),fP=Ma(String.prototype.indexOf),dP=Ma(String.prototype.trim),_r=Ma(Object.prototype.hasOwnProperty),xa=Ma(RegExp.prototype.test),kc=hP(TypeError);function Ma(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];return p6(t,e,i)}}function hP(t){return function(){for(var e=arguments.length,a=new Array(e),i=0;i<e;i++)a[i]=arguments[i];return g6(t,a)}}function Et(t,e){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ef;KS&&KS(t,null);let i=e.length;for(;i--;){let s=e[i];if(typeof s=="string"){const o=a(s);o!==s&&(sP(e)||(e[i]=o),s=o)}t[s]=!0}return t}function mP(t){for(let e=0;e<t.length;e++)_r(t,e)||(t[e]=null);return t}function Di(t){const e=Ow(null);for(const[a,i]of Tw(t))_r(t,a)&&(Array.isArray(i)?e[a]=mP(i):i&&typeof i=="object"&&i.constructor===Object?e[a]=Di(i):e[a]=i);return e}function _c(t,e){for(;t!==null;){const i=oP(t,e);if(i){if(i.get)return Ma(i.get);if(typeof i.value=="function")return Ma(i.value)}t=lP(t)}function a(){return null}return a}const $S=Ia(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),dp=Ia(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),hp=Ia(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),pP=Ia(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),mp=Ia(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),gP=Ia(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),eE=Ia(["#text"]),tE=Ia(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),pp=Ia(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),nE=Ia(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),k1=Ia(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vP=Er(/\{\{[\w\W]*|[\w\W]*\}\}/gm),yP=Er(/<%[\w\W]*|[\w\W]*%>/gm),bP=Er(/\$\{[\w\W]*/gm),SP=Er(/^data-[\-\w.\u00B7-\uFFFF]+$/),EP=Er(/^aria-[\-\w]+$/),Rw=Er(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),AP=Er(/^(?:\w+script|data):/i),CP=Er(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Iw=Er(/^html$/i),wP=Er(/^[a-z][.\w]*(-[.\w]+)+$/i);var aE=Object.freeze({__proto__:null,ARIA_ATTR:EP,ATTR_WHITESPACE:CP,CUSTOM_ELEMENT:wP,DATA_ATTR:SP,DOCTYPE_NAME:Iw,ERB_EXPR:yP,IS_ALLOWED_URI:Rw,IS_SCRIPT_OR_DATA:AP,MUSTACHE_EXPR:vP,TMPLIT_EXPR:bP});const zc={element:1,text:3,progressingInstruction:7,comment:8,document:9},xP=function(){return typeof window>"u"?null:window},TP=function(e,a){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const s="data-tt-policy-suffix";a&&a.hasAttribute(s)&&(i=a.getAttribute(s));const o="dompurify"+(i?"#"+i:"");try{return e.createPolicy(o,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+o+" could not be created."),null}},rE=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Mw(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:xP();const e=Oe=>Mw(Oe);if(e.version="3.2.7",e.removed=[],!t||!t.document||t.document.nodeType!==zc.document||!t.Element)return e.isSupported=!1,e;let{document:a}=t;const i=a,s=i.currentScript,{DocumentFragment:o,HTMLTemplateElement:u,Node:d,Element:f,NodeFilter:m,NamedNodeMap:y=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:b,DOMParser:C,trustedTypes:A}=t,I=f.prototype,M=_c(I,"cloneNode"),O=_c(I,"remove"),R=_c(I,"nextSibling"),x=_c(I,"childNodes"),j=_c(I,"parentNode");if(typeof u=="function"){const Oe=a.createElement("template");Oe.content&&Oe.content.ownerDocument&&(a=Oe.content.ownerDocument)}let U,L="";const{implementation:P,createNodeIterator:F,createDocumentFragment:E,getElementsByTagName:T}=a,{importNode:N}=i;let G=rE();e.isSupported=typeof Tw=="function"&&typeof j=="function"&&P&&P.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:_,ERB_EXPR:q,TMPLIT_EXPR:Z,DATA_ATTR:V,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:k,CUSTOM_ELEMENT:W}=aE;let{IS_ALLOWED_URI:se}=aE,B=null;const K=Et({},[...$S,...dp,...hp,...mp,...eE]);let le=null;const he=Et({},[...tE,...pp,...nE,...k1]);let fe=Object.seal(Ow(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}})),ye=null,we=null,Je=!0,Ne=!0,Wt=!1,mt=!0,Mt=!1,At=!0,je=!1,Ae=!1,Re=!1,Qt=!1,ut=!1,Ve=!1,ot=!0,gn=!1;const Ke="user-content-";let Ce=!0,De=!1,He={},it=null;const _t=Et({},["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 vn=null;const qn=Et({},["audio","video","img","source","image","track"]);let Mn=null;const Jn=Et({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ea="http://www.w3.org/1998/Math/MathML",En="http://www.w3.org/2000/svg",pt="http://www.w3.org/1999/xhtml";let st=pt,Ft=!1,Aa=null;const Na=Et({},[ea,En,pt],up);let va=Et({},["mi","mo","mn","ms","mtext"]),Un=Et({},["annotation-xml"]);const Pn=Et({},["title","style","font","a","script"]);let Ot=null;const yn=["application/xhtml+xml","text/html"],ua="text/html";let Xe=null,on=null;const Ue=a.createElement("form"),$e=function(Q){return Q instanceof RegExp||Q instanceof Function},ft=function(){let Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(on&&on===Q)){if((!Q||typeof Q!="object")&&(Q={}),Q=Di(Q),Ot=yn.indexOf(Q.PARSER_MEDIA_TYPE)===-1?ua:Q.PARSER_MEDIA_TYPE,Xe=Ot==="application/xhtml+xml"?up:ef,B=_r(Q,"ALLOWED_TAGS")?Et({},Q.ALLOWED_TAGS,Xe):K,le=_r(Q,"ALLOWED_ATTR")?Et({},Q.ALLOWED_ATTR,Xe):he,Aa=_r(Q,"ALLOWED_NAMESPACES")?Et({},Q.ALLOWED_NAMESPACES,up):Na,Mn=_r(Q,"ADD_URI_SAFE_ATTR")?Et(Di(Jn),Q.ADD_URI_SAFE_ATTR,Xe):Jn,vn=_r(Q,"ADD_DATA_URI_TAGS")?Et(Di(qn),Q.ADD_DATA_URI_TAGS,Xe):qn,it=_r(Q,"FORBID_CONTENTS")?Et({},Q.FORBID_CONTENTS,Xe):_t,ye=_r(Q,"FORBID_TAGS")?Et({},Q.FORBID_TAGS,Xe):Di({}),we=_r(Q,"FORBID_ATTR")?Et({},Q.FORBID_ATTR,Xe):Di({}),He=_r(Q,"USE_PROFILES")?Q.USE_PROFILES:!1,Je=Q.ALLOW_ARIA_ATTR!==!1,Ne=Q.ALLOW_DATA_ATTR!==!1,Wt=Q.ALLOW_UNKNOWN_PROTOCOLS||!1,mt=Q.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Mt=Q.SAFE_FOR_TEMPLATES||!1,At=Q.SAFE_FOR_XML!==!1,je=Q.WHOLE_DOCUMENT||!1,Qt=Q.RETURN_DOM||!1,ut=Q.RETURN_DOM_FRAGMENT||!1,Ve=Q.RETURN_TRUSTED_TYPE||!1,Re=Q.FORCE_BODY||!1,ot=Q.SANITIZE_DOM!==!1,gn=Q.SANITIZE_NAMED_PROPS||!1,Ce=Q.KEEP_CONTENT!==!1,De=Q.IN_PLACE||!1,se=Q.ALLOWED_URI_REGEXP||Rw,st=Q.NAMESPACE||pt,va=Q.MATHML_TEXT_INTEGRATION_POINTS||va,Un=Q.HTML_INTEGRATION_POINTS||Un,fe=Q.CUSTOM_ELEMENT_HANDLING||{},Q.CUSTOM_ELEMENT_HANDLING&&$e(Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(fe.tagNameCheck=Q.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&$e(Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(fe.attributeNameCheck=Q.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Q.CUSTOM_ELEMENT_HANDLING&&typeof Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=Q.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Mt&&(Ne=!1),ut&&(Qt=!0),He&&(B=Et({},eE),le=[],He.html===!0&&(Et(B,$S),Et(le,tE)),He.svg===!0&&(Et(B,dp),Et(le,pp),Et(le,k1)),He.svgFilters===!0&&(Et(B,hp),Et(le,pp),Et(le,k1)),He.mathMl===!0&&(Et(B,mp),Et(le,nE),Et(le,k1))),Q.ADD_TAGS&&(B===K&&(B=Di(B)),Et(B,Q.ADD_TAGS,Xe)),Q.ADD_ATTR&&(le===he&&(le=Di(le)),Et(le,Q.ADD_ATTR,Xe)),Q.ADD_URI_SAFE_ATTR&&Et(Mn,Q.ADD_URI_SAFE_ATTR,Xe),Q.FORBID_CONTENTS&&(it===_t&&(it=Di(it)),Et(it,Q.FORBID_CONTENTS,Xe)),Ce&&(B["#text"]=!0),je&&Et(B,["html","head","body"]),B.table&&(Et(B,["tbody"]),delete ye.tbody),Q.TRUSTED_TYPES_POLICY){if(typeof Q.TRUSTED_TYPES_POLICY.createHTML!="function")throw kc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Q.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw kc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');U=Q.TRUSTED_TYPES_POLICY,L=U.createHTML("")}else U===void 0&&(U=TP(A,s)),U!==null&&typeof L=="string"&&(L=U.createHTML(""));Ia&&Ia(Q),on=Q}},ta=Et({},[...dp,...hp,...pP]),be=Et({},[...mp,...gP]),qe=function(Q){let ve=j(Q);(!ve||!ve.tagName)&&(ve={namespaceURI:st,tagName:"template"});const Se=ef(Q.tagName),Ie=ef(ve.tagName);return Aa[Q.namespaceURI]?Q.namespaceURI===En?ve.namespaceURI===pt?Se==="svg":ve.namespaceURI===ea?Se==="svg"&&(Ie==="annotation-xml"||va[Ie]):!!ta[Se]:Q.namespaceURI===ea?ve.namespaceURI===pt?Se==="math":ve.namespaceURI===En?Se==="math"&&Un[Ie]:!!be[Se]:Q.namespaceURI===pt?ve.namespaceURI===En&&!Un[Ie]||ve.namespaceURI===ea&&!va[Ie]?!1:!be[Se]&&(Pn[Se]||!ta[Se]):!!(Ot==="application/xhtml+xml"&&Aa[Q.namespaceURI]):!1},Le=function(Q){jc(e.removed,{element:Q});try{j(Q).removeChild(Q)}catch{O(Q)}},Rt=function(Q,ve){try{jc(e.removed,{attribute:ve.getAttributeNode(Q),from:ve})}catch{jc(e.removed,{attribute:null,from:ve})}if(ve.removeAttribute(Q),Q==="is")if(Qt||ut)try{Le(ve)}catch{}else try{ve.setAttribute(Q,"")}catch{}},an=function(Q){let ve=null,Se=null;if(Re)Q="<remove></remove>"+Q;else{const gt=fp(Q,/^[\r\n\t ]+/);Se=gt&&gt[0]}Ot==="application/xhtml+xml"&&st===pt&&(Q='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Q+"</body></html>");const Ie=U?U.createHTML(Q):Q;if(st===pt)try{ve=new C().parseFromString(Ie,Ot)}catch{}if(!ve||!ve.documentElement){ve=P.createDocument(st,"template",null);try{ve.documentElement.innerHTML=Ft?L:Ie}catch{}}const dt=ve.body||ve.documentElement;return Q&&Se&&dt.insertBefore(a.createTextNode(Se),dt.childNodes[0]||null),st===pt?T.call(ve,je?"html":"body")[0]:je?ve.documentElement:dt},Nn=function(Q){return F.call(Q.ownerDocument||Q,Q,m.SHOW_ELEMENT|m.SHOW_COMMENT|m.SHOW_TEXT|m.SHOW_PROCESSING_INSTRUCTION|m.SHOW_CDATA_SECTION,null)},Dn=function(Q){return Q instanceof b&&(typeof Q.nodeName!="string"||typeof Q.textContent!="string"||typeof Q.removeChild!="function"||!(Q.attributes instanceof y)||typeof Q.removeAttribute!="function"||typeof Q.setAttribute!="function"||typeof Q.namespaceURI!="string"||typeof Q.insertBefore!="function"||typeof Q.hasChildNodes!="function")},Dt=function(Q){return typeof d=="function"&&Q instanceof d};function ke(Oe,Q,ve){L1(Oe,Se=>{Se.call(e,Q,ve,on)})}const et=function(Q){let ve=null;if(ke(G.beforeSanitizeElements,Q,null),Dn(Q))return Le(Q),!0;const Se=Xe(Q.nodeName);if(ke(G.uponSanitizeElement,Q,{tagName:Se,allowedTags:B}),At&&Q.hasChildNodes()&&!Dt(Q.firstElementChild)&&xa(/<[/\w!]/g,Q.innerHTML)&&xa(/<[/\w!]/g,Q.textContent)||Q.nodeType===zc.progressingInstruction||At&&Q.nodeType===zc.comment&&xa(/<[/\w]/g,Q.data))return Le(Q),!0;if(!B[Se]||ye[Se]){if(!ye[Se]&&Ba(Se)&&(fe.tagNameCheck instanceof RegExp&&xa(fe.tagNameCheck,Se)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Se)))return!1;if(Ce&&!it[Se]){const Ie=j(Q)||Q.parentNode,dt=x(Q)||Q.childNodes;if(dt&&Ie){const gt=dt.length;for(let We=gt-1;We>=0;--We){const Hn=M(dt[We],!0);Hn.__removalCount=(Q.__removalCount||0)+1,Ie.insertBefore(Hn,R(Q))}}}return Le(Q),!0}return Q instanceof f&&!qe(Q)||(Se==="noscript"||Se==="noembed"||Se==="noframes")&&xa(/<\/no(script|embed|frames)/i,Q.innerHTML)?(Le(Q),!0):(Mt&&Q.nodeType===zc.text&&(ve=Q.textContent,L1([_,q,Z],Ie=>{ve=Lc(ve,Ie," ")}),Q.textContent!==ve&&(jc(e.removed,{element:Q.cloneNode()}),Q.textContent=ve)),ke(G.afterSanitizeElements,Q,null),!1)},Ct=function(Q,ve,Se){if(ot&&(ve==="id"||ve==="name")&&(Se in a||Se in Ue))return!1;if(!(Ne&&!we[ve]&&xa(V,ve))){if(!(Je&&xa(D,ve))){if(!le[ve]||we[ve]){if(!(Ba(Q)&&(fe.tagNameCheck instanceof RegExp&&xa(fe.tagNameCheck,Q)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Q))&&(fe.attributeNameCheck instanceof RegExp&&xa(fe.attributeNameCheck,ve)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(ve,Q))||ve==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&&xa(fe.tagNameCheck,Se)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Se))))return!1}else if(!Mn[ve]){if(!xa(se,Lc(Se,k,""))){if(!((ve==="src"||ve==="xlink:href"||ve==="href")&&Q!=="script"&&fP(Se,"data:")===0&&vn[Q])){if(!(Wt&&!xa(H,Lc(Se,k,"")))){if(Se)return!1}}}}}}return!0},Ba=function(Q){return Q!=="annotation-xml"&&fp(Q,W)},Vt=function(Q){ke(G.beforeSanitizeAttributes,Q,null);const{attributes:ve}=Q;if(!ve||Dn(Q))return;const Se={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:le,forceKeepAttr:void 0};let Ie=ve.length;for(;Ie--;){const dt=ve[Ie],{name:gt,namespaceURI:We,value:Hn}=dt,Kn=Xe(gt),jn=Hn;let zt=gt==="value"?jn:dP(jn);if(Se.attrName=Kn,Se.attrValue=zt,Se.keepAttr=!0,Se.forceKeepAttr=void 0,ke(G.uponSanitizeAttribute,Q,Se),zt=Se.attrValue,gn&&(Kn==="id"||Kn==="name")&&(Rt(gt,Q),zt=Ke+zt),At&&xa(/((--!?|])>)|<\/(style|title|textarea)/i,zt)){Rt(gt,Q);continue}if(Kn==="attributename"&&fp(zt,"href")){Rt(gt,Q);continue}if(Se.forceKeepAttr)continue;if(!Se.keepAttr){Rt(gt,Q);continue}if(!mt&&xa(/\/>/i,zt)){Rt(gt,Q);continue}Mt&&L1([_,q,Z],Zr=>{zt=Lc(zt,Zr," ")});const wr=Xe(Q.nodeName);if(!Ct(wr,Kn,zt)){Rt(gt,Q);continue}if(U&&typeof A=="object"&&typeof A.getAttributeType=="function"&&!We)switch(A.getAttributeType(wr,Kn)){case"TrustedHTML":{zt=U.createHTML(zt);break}case"TrustedScriptURL":{zt=U.createScriptURL(zt);break}}if(zt!==jn)try{We?Q.setAttributeNS(We,gt,zt):Q.setAttribute(gt,zt),Dn(Q)?Le(Q):XS(e.removed)}catch{Rt(gt,Q)}}ke(G.afterSanitizeAttributes,Q,null)},Da=function Oe(Q){let ve=null;const Se=Nn(Q);for(ke(G.beforeSanitizeShadowDOM,Q,null);ve=Se.nextNode();)ke(G.uponSanitizeShadowNode,ve,null),et(ve),Vt(ve),ve.content instanceof o&&Oe(ve.content);ke(G.afterSanitizeShadowDOM,Q,null)};return e.sanitize=function(Oe){let Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=null,Se=null,Ie=null,dt=null;if(Ft=!Oe,Ft&&(Oe="<!-->"),typeof Oe!="string"&&!Dt(Oe))if(typeof Oe.toString=="function"){if(Oe=Oe.toString(),typeof Oe!="string")throw kc("dirty is not a string, aborting")}else throw kc("toString is not a function");if(!e.isSupported)return Oe;if(Ae||ft(Q),e.removed=[],typeof Oe=="string"&&(De=!1),De){if(Oe.nodeName){const Hn=Xe(Oe.nodeName);if(!B[Hn]||ye[Hn])throw kc("root node is forbidden and cannot be sanitized in-place")}}else if(Oe instanceof d)ve=an("<!---->"),Se=ve.ownerDocument.importNode(Oe,!0),Se.nodeType===zc.element&&Se.nodeName==="BODY"||Se.nodeName==="HTML"?ve=Se:ve.appendChild(Se);else{if(!Qt&&!Mt&&!je&&Oe.indexOf("<")===-1)return U&&Ve?U.createHTML(Oe):Oe;if(ve=an(Oe),!ve)return Qt?null:Ve?L:""}ve&&Re&&Le(ve.firstChild);const gt=Nn(De?Oe:ve);for(;Ie=gt.nextNode();)et(Ie),Vt(Ie),Ie.content instanceof o&&Da(Ie.content);if(De)return Oe;if(Qt){if(ut)for(dt=E.call(ve.ownerDocument);ve.firstChild;)dt.appendChild(ve.firstChild);else dt=ve;return(le.shadowroot||le.shadowrootmode)&&(dt=N.call(i,dt,!0)),dt}let We=je?ve.outerHTML:ve.innerHTML;return je&&B["!doctype"]&&ve.ownerDocument&&ve.ownerDocument.doctype&&ve.ownerDocument.doctype.name&&xa(Iw,ve.ownerDocument.doctype.name)&&(We="<!DOCTYPE "+ve.ownerDocument.doctype.name+`>
`+We),Mt&&L1([_,q,Z],Hn=>{We=Lc(We,Hn," ")}),U&&Ve?U.createHTML(We):We},e.setConfig=function(){let Oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ft(Oe),Ae=!0},e.clearConfig=function(){on=null,Ae=!1},e.isValidAttribute=function(Oe,Q,ve){on||ft({});const Se=Xe(Oe),Ie=Xe(Q);return Ct(Se,Ie,ve)},e.addHook=function(Oe,Q){typeof Q=="function"&&jc(G[Oe],Q)},e.removeHook=function(Oe,Q){if(Q!==void 0){const ve=cP(G[Oe],Q);return ve===-1?void 0:uP(G[Oe],ve,1)[0]}return XS(G[Oe])},e.removeHooks=function(Oe){G[Oe]=[]},e.removeAllHooks=function(){G=rE()},e}var sa=Mw();const OP=({title:t,titleId:e,...a},i)=>g.createElement("svg",{width:"25px",height:"25px",viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("defs",null,g.createElement("path",{d:"M16.2519,3.9999 C17.3139,3.9999 18.3029,4.6159 18.7709,5.5689 L18.7709,5.5689 L28.2429,24.8669 C28.6309,25.6519 28.5849,26.5679 28.1199,27.3129 C27.6579,28.0559 26.8579,28.4999 25.9799,28.4999 L25.9799,28.4999 L6.5239,28.4999 C5.6479,28.4999 4.8469,28.0559 4.3829,27.3129 C3.9199,26.5679 3.8739,25.6529 4.2609,24.8659 L4.2609,24.8659 L13.7339,5.5689 C14.2019,4.6159 15.1899,3.9999 16.2519,3.9999 Z M16.2519,5.9999 C15.9469,5.9999 15.6629,6.1769 15.5279,6.4509 L15.5279,6.4509 L6.0559,25.7479 C5.9759,25.9119 5.9849,26.1009 6.0809,26.2549 C6.1759,26.4079 6.3419,26.4999 6.5239,26.4999 L6.5239,26.4999 L25.9799,26.4999 C26.1609,26.4999 26.3269,26.4079 26.4219,26.2559 C26.5189,26.1009 26.5279,25.9119 26.4479,25.7499 L26.4479,25.7499 L16.9759,6.4499 C16.8409,6.1769 16.5569,5.9999 16.2519,5.9999 Z M16.252,22 C17.01,22 17.627,22.617 17.627,23.375 C17.627,24.133 17.01,24.75 16.252,24.75 C15.494,24.75 14.877,24.133 14.877,23.375 C14.877,22.617 15.494,22 16.252,22 Z M16.252,11.5 C16.7645714,11.5 17.1874694,11.8862857 17.2452682,12.3834315 L17.252,12.5 L17.252,20 C17.252,20.553 16.804,21 16.252,21 C15.7394286,21 15.3165306,20.6145765 15.2587318,20.1167533 L15.252,20 L15.252,12.5 C15.252,11.948 15.7,11.5 16.252,11.5 Z",id:"path-1"})),g.createElement("g",{id:"Styleboard",stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},g.createElement("g",{id:"EDUbadges_styleboard",transform:"translate(-628.000000, -7253.000000)"},g.createElement("g",{id:"notifications",transform:"translate(460.000000, 6372.000000)"},g.createElement("g",{id:"info-components-/-notification-/-05-critical",transform:"translate(152.000000, 870.000000)"},g.createElement("g",{id:"basis-/-check-3px-copy",transform:"translate(12.000000, 7.000000)"},g.createElement("polygon",{id:"Path-2",fill:"#FFFFFF",points:"5 25.4447139 15.429494 5 17.0640283 5 27.0299137 25.4447139 26.3139521 27.0889186 5.81381281 27.0889186"}),g.createElement("mask",{id:"mask-2",fill:"white"},g.createElement("use",{xlinkHref:"#path-1"})),g.createElement("use",{id:"Combined-Shape",fill:"#000000",xlinkHref:"#path-1"}),g.createElement("g",{id:"Group",mask:"url(#mask-2)"},g.createElement("g",{id:"\\uD83C\\uDFA8-Color"},g.createElement("rect",{id:"Rectangle",fill:"#FFFFFF",x:0,y:0,width:32,height:32}),g.createElement("g",{id:"Colors/Gray-900-Copy",fill:"#FF0000"},g.createElement("path",{d:"M0,0 L32,0 L32,32 L0,32 L0,0 Z",id:"Colors/Red-900"})))))))))),iE=g.forwardRef(OP);function mn({msg:t,standalone:e=!1,decode:a=!0,adjustMargin:i=!1}){const s=`error-indication ${e?"standalone":""} ${i?"adjust-margin":""}`;return t=t.replaceAll("?",""),a?h.jsxs("span",{className:s,children:[h.jsx(iE,{}),t]}):h.jsxs("span",{className:s,children:[h.jsx(iE,{}),h.jsx("span",{className:"error-message",dangerouslySetInnerHTML:{__html:sa.sanitize(t,{ADD_ATTR:["target"]})}})]})}class yl extends Error{}class RP extends yl{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class IP extends yl{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class MP extends yl{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class fo extends yl{}class Nw extends yl{constructor(e){super(`Invalid unit ${e}`)}}class Sa extends yl{}class gs extends yl{constructor(){super("Zone is an abstract class")}}const Ee="numeric",Br="short",nr="long",Sf={year:Ee,month:Ee,day:Ee},Dw={year:Ee,month:Br,day:Ee},NP={year:Ee,month:Br,day:Ee,weekday:Br},jw={year:Ee,month:nr,day:Ee},Lw={year:Ee,month:nr,day:Ee,weekday:nr},kw={hour:Ee,minute:Ee},_w={hour:Ee,minute:Ee,second:Ee},zw={hour:Ee,minute:Ee,second:Ee,timeZoneName:Br},qw={hour:Ee,minute:Ee,second:Ee,timeZoneName:nr},Uw={hour:Ee,minute:Ee,hourCycle:"h23"},Pw={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23"},Hw={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23",timeZoneName:Br},Bw={hour:Ee,minute:Ee,second:Ee,hourCycle:"h23",timeZoneName:nr},Fw={year:Ee,month:Ee,day:Ee,hour:Ee,minute:Ee},Vw={year:Ee,month:Ee,day:Ee,hour:Ee,minute:Ee,second:Ee},Gw={year:Ee,month:Br,day:Ee,hour:Ee,minute:Ee},Zw={year:Ee,month:Br,day:Ee,hour:Ee,minute:Ee,second:Ee},DP={year:Ee,month:Br,day:Ee,weekday:Br,hour:Ee,minute:Ee},Yw={year:Ee,month:nr,day:Ee,hour:Ee,minute:Ee,timeZoneName:Br},Ww={year:Ee,month:nr,day:Ee,hour:Ee,minute:Ee,second:Ee,timeZoneName:Br},Qw={year:Ee,month:nr,day:Ee,weekday:nr,hour:Ee,minute:Ee,timeZoneName:nr},Jw={year:Ee,month:nr,day:Ee,weekday:nr,hour:Ee,minute:Ee,second:Ee,timeZoneName:nr};class du{get type(){throw new gs}get name(){throw new gs}get ianaName(){return this.name}get isUniversal(){throw new gs}offsetName(e,a){throw new gs}formatOffset(e,a){throw new gs}offset(e){throw new gs}equals(e){throw new gs}get isValid(){throw new gs}}let gp=null;class Gf extends du{static get instance(){return gp===null&&(gp=new Gf),gp}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:a,locale:i}){return lx(e,a,i)}formatOffset(e,a){return Qc(this.offset(e),a)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}}const v6=new Map;function jP(t){let e=v6.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),v6.set(t,e)),e}const LP={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function kP(t,e){const a=t.format(e).replace(/\u200E/g,""),i=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(a),[,s,o,u,d,f,m,y]=i;return[u,s,o,d,f,m,y]}function _P(t,e){const a=t.formatToParts(e),i=[];for(let s=0;s<a.length;s++){const{type:o,value:u}=a[s],d=LP[o];o==="era"?i[d]=u:tt(d)||(i[d]=parseInt(u,10))}return i}const vp=new Map;class qi extends du{static create(e){let a=vp.get(e);return a===void 0&&vp.set(e,a=new qi(e)),a}static resetCache(){vp.clear(),v6.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=qi.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:a,locale:i}){return lx(e,a,i,this.name)}formatOffset(e,a){return Qc(this.offset(e),a)}offset(e){if(!this.valid)return NaN;const a=new Date(e);if(isNaN(a))return NaN;const i=jP(this.name);let[s,o,u,d,f,m,y]=i.formatToParts?_P(i,a):kP(i,a);d==="BC"&&(s=-Math.abs(s)+1);const C=Yf({year:s,month:o,day:u,hour:f===24?0:f,minute:m,second:y,millisecond:0});let A=+a;const I=A%1e3;return A-=I>=0?I:1e3+I,(C-A)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}}let sE={};function zP(t,e={}){const a=JSON.stringify([t,e]);let i=sE[a];return i||(i=new Intl.ListFormat(t,e),sE[a]=i),i}const y6=new Map;function b6(t,e={}){const a=JSON.stringify([t,e]);let i=y6.get(a);return i===void 0&&(i=new Intl.DateTimeFormat(t,e),y6.set(a,i)),i}const S6=new Map;function qP(t,e={}){const a=JSON.stringify([t,e]);let i=S6.get(a);return i===void 0&&(i=new Intl.NumberFormat(t,e),S6.set(a,i)),i}const E6=new Map;function UP(t,e={}){const{base:a,...i}=e,s=JSON.stringify([t,i]);let o=E6.get(s);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),E6.set(s,o)),o}let Gc=null;function PP(){return Gc||(Gc=new Intl.DateTimeFormat().resolvedOptions().locale,Gc)}const A6=new Map;function Kw(t){let e=A6.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),A6.set(t,e)),e}const C6=new Map;function HP(t){let e=C6.get(t);if(!e){const a=new Intl.Locale(t);e="getWeekInfo"in a?a.getWeekInfo():a.weekInfo,"minimalDays"in e||(e={...Xw,...e}),C6.set(t,e)}return e}function BP(t){const e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));const a=t.indexOf("-u-");if(a===-1)return[t];{let i,s;try{i=b6(t).resolvedOptions(),s=t}catch{const f=t.substring(0,a);i=b6(f).resolvedOptions(),s=f}const{numberingSystem:o,calendar:u}=i;return[s,o,u]}}function FP(t,e,a){return(a||e)&&(t.includes("-u-")||(t+="-u"),a&&(t+=`-ca-${a}`),e&&(t+=`-nu-${e}`)),t}function VP(t){const e=[];for(let a=1;a<=12;a++){const i=nt.utc(2009,a,1);e.push(t(i))}return e}function GP(t){const e=[];for(let a=1;a<=7;a++){const i=nt.utc(2016,11,13+a);e.push(t(i))}return e}function _1(t,e,a,i){const s=t.listingMode();return s==="error"?null:s==="en"?a(e):i(e)}function ZP(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||Kw(t.locale).numberingSystem==="latn"}class YP{constructor(e,a,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:o,...u}=i;if(!a||Object.keys(u).length>0){const d={useGrouping:!1,...i};i.padTo>0&&(d.minimumIntegerDigits=i.padTo),this.inf=qP(e,d)}}format(e){if(this.inf){const a=this.floor?Math.floor(e):e;return this.inf.format(a)}else{const a=this.floor?Math.floor(e):M5(e,3);return Wn(a,this.padTo)}}}class WP{constructor(e,a,i){this.opts=i,this.originalZone=void 0;let s;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){const u=-1*(e.offset/60),d=u>=0?`Etc/GMT+${u}`:`Etc/GMT${u}`;e.offset!==0&&qi.create(d).valid?(s=d,this.dt=e):(s="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,s=e.zone.name):(s="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=b6(a,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(a=>{if(a.type==="timeZoneName"){const i=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...a,value:i}}else return a}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class QP{constructor(e,a,i){this.opts={style:"long",...i},!a&&ix()&&(this.rtf=UP(e,i))}format(e,a){return this.rtf?this.rtf.format(e,a):vH(a,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,a){return this.rtf?this.rtf.formatToParts(e,a):[]}}const Xw={firstDay:1,minimalDays:4,weekend:[6,7]};class Yt{static fromOpts(e){return Yt.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,a,i,s,o=!1){const u=e||Rn.defaultLocale,d=u||(o?"en-US":PP()),f=a||Rn.defaultNumberingSystem,m=i||Rn.defaultOutputCalendar,y=x6(s)||Rn.defaultWeekSettings;return new Yt(d,f,m,y,u)}static resetCache(){Gc=null,y6.clear(),S6.clear(),E6.clear(),A6.clear(),C6.clear()}static fromObject({locale:e,numberingSystem:a,outputCalendar:i,weekSettings:s}={}){return Yt.create(e,a,i,s)}constructor(e,a,i,s,o){const[u,d,f]=BP(e);this.locale=u,this.numberingSystem=a||d||null,this.outputCalendar=i||f||null,this.weekSettings=s,this.intl=FP(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=ZP(this)),this.fastNumbersCached}listingMode(){const e=this.isEnglish(),a=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&a?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:Yt.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,x6(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,a=!1){return _1(this,e,ux,()=>{const i=this.intl==="ja"||this.intl.startsWith("ja-");a&=!i;const s=a?{month:e,day:"numeric"}:{month:e},o=a?"format":"standalone";if(!this.monthsCache[o][e]){const u=i?d=>this.dtFormatter(d,s).format():d=>this.extract(d,s,"month");this.monthsCache[o][e]=VP(u)}return this.monthsCache[o][e]})}weekdays(e,a=!1){return _1(this,e,hx,()=>{const i=a?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},s=a?"format":"standalone";return this.weekdaysCache[s][e]||(this.weekdaysCache[s][e]=GP(o=>this.extract(o,i,"weekday"))),this.weekdaysCache[s][e]})}meridiems(){return _1(this,void 0,()=>mx,()=>{if(!this.meridiemCache){const e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[nt.utc(2016,11,13,9),nt.utc(2016,11,13,19)].map(a=>this.extract(a,e,"dayperiod"))}return this.meridiemCache})}eras(e){return _1(this,e,px,()=>{const a={era:e};return this.eraCache[e]||(this.eraCache[e]=[nt.utc(-40,1,1),nt.utc(2017,1,1)].map(i=>this.extract(i,a,"era"))),this.eraCache[e]})}extract(e,a,i){const s=this.dtFormatter(e,a),o=s.formatToParts(),u=o.find(d=>d.type.toLowerCase()===i);return u?u.value:null}numberFormatter(e={}){return new YP(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,a={}){return new WP(e,this.intl,a)}relFormatter(e={}){return new QP(this.intl,this.isEnglish(),e)}listFormatter(e={}){return zP(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||Kw(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:sx()?HP(this.locale):Xw}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let yp=null;class Ta extends du{static get utcInstance(){return yp===null&&(yp=new Ta(0)),yp}static instance(e){return e===0?Ta.utcInstance:new Ta(e)}static parseSpecifier(e){if(e){const a=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(a)return new Ta(Wf(a[1],a[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Qc(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Qc(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,a){return Qc(this.fixed,a)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}}class JP extends du{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Es(t,e){if(tt(t)||t===null)return e;if(t instanceof du)return t;if(nH(t)){const a=t.toLowerCase();return a==="default"?e:a==="local"||a==="system"?Gf.instance:a==="utc"||a==="gmt"?Ta.utcInstance:Ta.parseSpecifier(a)||qi.create(t)}else return Cs(t)?Ta.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new JP(t)}const T5={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[０-９]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},lE={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},KP=T5.hanidec.replace(/[\[|\]]/g,"").split("");function XP(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let a=0;a<t.length;a++){const i=t.charCodeAt(a);if(t[a].search(T5.hanidec)!==-1)e+=KP.indexOf(t[a]);else for(const s in lE){const[o,u]=lE[s];i>=o&&i<=u&&(e+=i-o)}}return parseInt(e,10)}else return e}const w6=new Map;function $P(){w6.clear()}function jr({numberingSystem:t},e=""){const a=t||"latn";let i=w6.get(a);i===void 0&&(i=new Map,w6.set(a,i));let s=i.get(e);return s===void 0&&(s=new RegExp(`${T5[a]}${e}`),i.set(e,s)),s}let oE=()=>Date.now(),cE="system",uE=null,fE=null,dE=null,hE=60,mE,pE=null;class Rn{static get now(){return oE}static set now(e){oE=e}static set defaultZone(e){cE=e}static get defaultZone(){return Es(cE,Gf.instance)}static get defaultLocale(){return uE}static set defaultLocale(e){uE=e}static get defaultNumberingSystem(){return fE}static set defaultNumberingSystem(e){fE=e}static get defaultOutputCalendar(){return dE}static set defaultOutputCalendar(e){dE=e}static get defaultWeekSettings(){return pE}static set defaultWeekSettings(e){pE=x6(e)}static get twoDigitCutoffYear(){return hE}static set twoDigitCutoffYear(e){hE=e%100}static get throwOnInvalid(){return mE}static set throwOnInvalid(e){mE=e}static resetCaches(){Yt.resetCache(),qi.resetCache(),nt.resetCache(),$P()}}class qr{constructor(e,a){this.reason=e,this.explanation=a}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const $w=[0,31,59,90,120,151,181,212,243,273,304,334],ex=[0,31,60,91,121,152,182,213,244,274,305,335];function br(t,e){return new qr("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function O5(t,e,a){const i=new Date(Date.UTC(t,e-1,a));t<100&&t>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);const s=i.getUTCDay();return s===0?7:s}function tx(t,e,a){return a+(hu(t)?ex:$w)[e-1]}function nx(t,e){const a=hu(t)?ex:$w,i=a.findIndex(o=>o<e),s=e-a[i];return{month:i+1,day:s}}function R5(t,e){return(t-e+7)%7+1}function Ef(t,e=4,a=1){const{year:i,month:s,day:o}=t,u=tx(i,s,o),d=R5(O5(i,s,o),a);let f=Math.floor((u-d+14-e)/7),m;return f<1?(m=i-1,f=nu(m,e,a)):f>nu(i,e,a)?(m=i+1,f=1):m=i,{weekYear:m,weekNumber:f,weekday:d,...Qf(t)}}function gE(t,e=4,a=1){const{weekYear:i,weekNumber:s,weekday:o}=t,u=R5(O5(i,1,e),a),d=vo(i);let f=s*7+o-u-7+e,m;f<1?(m=i-1,f+=vo(m)):f>d?(m=i+1,f-=vo(i)):m=i;const{month:y,day:b}=nx(m,f);return{year:m,month:y,day:b,...Qf(t)}}function bp(t){const{year:e,month:a,day:i}=t,s=tx(e,a,i);return{year:e,ordinal:s,...Qf(t)}}function vE(t){const{year:e,ordinal:a}=t,{month:i,day:s}=nx(e,a);return{year:e,month:i,day:s,...Qf(t)}}function yE(t,e){if(!tt(t.localWeekday)||!tt(t.localWeekNumber)||!tt(t.localWeekYear)){if(!tt(t.weekday)||!tt(t.weekNumber)||!tt(t.weekYear))throw new fo("Cannot mix locale-based week fields with ISO-based week fields");return tt(t.localWeekday)||(t.weekday=t.localWeekday),tt(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),tt(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function eH(t,e=4,a=1){const i=Zf(t.weekYear),s=Sr(t.weekNumber,1,nu(t.weekYear,e,a)),o=Sr(t.weekday,1,7);return i?s?o?!1:br("weekday",t.weekday):br("week",t.weekNumber):br("weekYear",t.weekYear)}function tH(t){const e=Zf(t.year),a=Sr(t.ordinal,1,vo(t.year));return e?a?!1:br("ordinal",t.ordinal):br("year",t.year)}function ax(t){const e=Zf(t.year),a=Sr(t.month,1,12),i=Sr(t.day,1,Af(t.year,t.month));return e?a?i?!1:br("day",t.day):br("month",t.month):br("year",t.year)}function rx(t){const{hour:e,minute:a,second:i,millisecond:s}=t,o=Sr(e,0,23)||e===24&&a===0&&i===0&&s===0,u=Sr(a,0,59),d=Sr(i,0,59),f=Sr(s,0,999);return o?u?d?f?!1:br("millisecond",s):br("second",i):br("minute",a):br("hour",e)}function tt(t){return typeof t>"u"}function Cs(t){return typeof t=="number"}function Zf(t){return typeof t=="number"&&t%1===0}function nH(t){return typeof t=="string"}function aH(t){return Object.prototype.toString.call(t)==="[object Date]"}function ix(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function sx(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function rH(t){return Array.isArray(t)?t:[t]}function bE(t,e,a){if(t.length!==0)return t.reduce((i,s)=>{const o=[e(s),s];return i&&a(i[0],o[0])===i[0]?i:o},null)[1]}function iH(t,e){return e.reduce((a,i)=>(a[i]=t[i],a),{})}function wo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function x6(t){if(t==null)return null;if(typeof t!="object")throw new Sa("Week settings must be an object");if(!Sr(t.firstDay,1,7)||!Sr(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Sr(e,1,7)))throw new Sa("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Sr(t,e,a){return Zf(t)&&t>=e&&t<=a}function sH(t,e){return t-e*Math.floor(t/e)}function Wn(t,e=2){const a=t<0;let i;return a?i="-"+(""+-t).padStart(e,"0"):i=(""+t).padStart(e,"0"),i}function bs(t){if(!(tt(t)||t===null||t===""))return parseInt(t,10)}function Ws(t){if(!(tt(t)||t===null||t===""))return parseFloat(t)}function I5(t){if(!(tt(t)||t===null||t==="")){const e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function M5(t,e,a="round"){const i=10**e;switch(a){case"expand":return t>0?Math.ceil(t*i)/i:Math.floor(t*i)/i;case"trunc":return Math.trunc(t*i)/i;case"round":return Math.round(t*i)/i;case"floor":return Math.floor(t*i)/i;case"ceil":return Math.ceil(t*i)/i;default:throw new RangeError(`Value rounding ${a} is out of range`)}}function hu(t){return t%4===0&&(t%100!==0||t%400===0)}function vo(t){return hu(t)?366:365}function Af(t,e){const a=sH(e-1,12)+1,i=t+(e-a)/12;return a===2?hu(i)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][a-1]}function Yf(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function SE(t,e,a){return-R5(O5(t,1,e),a)+e-1}function nu(t,e=4,a=1){const i=SE(t,e,a),s=SE(t+1,e,a);return(vo(t)-i+s)/7}function T6(t){return t>99?t:t>Rn.twoDigitCutoffYear?1900+t:2e3+t}function lx(t,e,a,i=null){const s=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(o.timeZone=i);const u={timeZoneName:e,...o},d=new Intl.DateTimeFormat(a,u).formatToParts(s).find(f=>f.type.toLowerCase()==="timezonename");return d?d.value:null}function Wf(t,e){let a=parseInt(t,10);Number.isNaN(a)&&(a=0);const i=parseInt(e,10)||0,s=a<0||Object.is(a,-0)?-i:i;return a*60+s}function ox(t){const e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new Sa(`Invalid unit value ${t}`);return e}function Cf(t,e){const a={};for(const i in t)if(wo(t,i)){const s=t[i];if(s==null)continue;a[e(i)]=ox(s)}return a}function Qc(t,e){const a=Math.trunc(Math.abs(t/60)),i=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(a,2)}:${Wn(i,2)}`;case"narrow":return`${s}${a}${i>0?`:${i}`:""}`;case"techie":return`${s}${Wn(a,2)}${Wn(i,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Qf(t){return iH(t,["hour","minute","second","millisecond"])}const lH=["January","February","March","April","May","June","July","August","September","October","November","December"],cx=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],oH=["J","F","M","A","M","J","J","A","S","O","N","D"];function ux(t){switch(t){case"narrow":return[...oH];case"short":return[...cx];case"long":return[...lH];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const fx=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],dx=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],cH=["M","T","W","T","F","S","S"];function hx(t){switch(t){case"narrow":return[...cH];case"short":return[...dx];case"long":return[...fx];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mx=["AM","PM"],uH=["Before Christ","Anno Domini"],fH=["BC","AD"],dH=["B","A"];function px(t){switch(t){case"narrow":return[...dH];case"short":return[...fH];case"long":return[...uH];default:return null}}function hH(t){return mx[t.hour<12?0:1]}function mH(t,e){return hx(e)[t.weekday-1]}function pH(t,e){return ux(e)[t.month-1]}function gH(t,e){return px(e)[t.year<0?0:1]}function vH(t,e,a="always",i=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(a==="auto"&&o){const b=t==="days";switch(e){case 1:return b?"tomorrow":`next ${s[t][0]}`;case-1:return b?"yesterday":`last ${s[t][0]}`;case 0:return b?"today":`this ${s[t][0]}`}}const u=Object.is(e,-0)||e<0,d=Math.abs(e),f=d===1,m=s[t],y=i?f?m[1]:m[2]||m[1]:f?s[t][0]:t;return u?`${d} ${y} ago`:`in ${d} ${y}`}function EE(t,e){let a="";for(const i of t)i.literal?a+=i.val:a+=e(i.val);return a}const yH={D:Sf,DD:Dw,DDD:jw,DDDD:Lw,t:kw,tt:_w,ttt:zw,tttt:qw,T:Uw,TT:Pw,TTT:Hw,TTTT:Bw,f:Fw,ff:Gw,fff:Yw,ffff:Qw,F:Vw,FF:Zw,FFF:Ww,FFFF:Jw};class Ea{static create(e,a={}){return new Ea(e,a)}static parseFormat(e){let a=null,i="",s=!1;const o=[];for(let u=0;u<e.length;u++){const d=e.charAt(u);d==="'"?((i.length>0||s)&&o.push({literal:s||/^\s+$/.test(i),val:i===""?"'":i}),a=null,i="",s=!s):s||d===a?i+=d:(i.length>0&&o.push({literal:/^\s+$/.test(i),val:i}),i=d,a=d)}return i.length>0&&o.push({literal:s||/^\s+$/.test(i),val:i}),o}static macroTokenToFormatOpts(e){return yH[e]}constructor(e,a){this.opts=a,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,a){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...a}).format()}dtFormatter(e,a={}){return this.loc.dtFormatter(e,{...this.opts,...a})}formatDateTime(e,a){return this.dtFormatter(e,a).format()}formatDateTimeParts(e,a){return this.dtFormatter(e,a).formatToParts()}formatInterval(e,a){return this.dtFormatter(e.start,a).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,a){return this.dtFormatter(e,a).resolvedOptions()}num(e,a=0,i=void 0){if(this.opts.forceSimple)return Wn(e,a);const s={...this.opts};return a>0&&(s.padTo=a),i&&(s.signDisplay=i),this.loc.numberFormatter(s).format(e)}formatDateTimeFromString(e,a){const i=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(A,I)=>this.loc.extract(e,A,I),u=A=>e.isOffsetFixed&&e.offset===0&&A.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,A.format):"",d=()=>i?hH(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),f=(A,I)=>i?pH(e,A):o(I?{month:A}:{month:A,day:"numeric"},"month"),m=(A,I)=>i?mH(e,A):o(I?{weekday:A}:{weekday:A,month:"long",day:"numeric"},"weekday"),y=A=>{const I=Ea.macroTokenToFormatOpts(A);return I?this.formatWithSystemDefault(e,I):A},b=A=>i?gH(e,A):o({era:A},"era"),C=A=>{switch(A){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return u({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return u({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return u({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return d();case"d":return s?o({day:"numeric"},"day"):this.num(e.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return m("short",!0);case"cccc":return m("long",!0);case"ccccc":return m("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return m("short",!1);case"EEEE":return m("long",!1);case"EEEEE":return m("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return f("short",!0);case"LLLL":return f("long",!0);case"LLLLL":return f("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(e.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return f("short",!1);case"MMMM":return f("long",!1);case"MMMMM":return f("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(e.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return b("short");case"GG":return b("long");case"GGGGG":return b("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return y(A)}};return EE(Ea.parseFormat(a),C)}formatDurationFromString(e,a){const i=this.opts.signMode==="negativeLargestOnly"?-1:1,s=y=>{switch(y[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(y,b)=>C=>{const A=s(C);if(A){const I=b.isNegativeDuration&&A!==b.largestUnit?i:1;let M;return this.opts.signMode==="negativeLargestOnly"&&A!==b.largestUnit?M="never":this.opts.signMode==="all"?M="always":M="auto",this.num(y.get(A)*I,C.length,M)}else return C},u=Ea.parseFormat(a),d=u.reduce((y,{literal:b,val:C})=>b?y:y.concat(C),[]),f=e.shiftTo(...d.map(s).filter(y=>y)),m={isNegativeDuration:f<0,largestUnit:Object.keys(f.values)[0]};return EE(u,o(f,m))}}const gx=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function jo(...t){const e=t.reduce((a,i)=>a+i.source,"");return RegExp(`^${e}$`)}function Lo(...t){return e=>t.reduce(([a,i,s],o)=>{const[u,d,f]=o(e,s);return[{...a,...u},d||i,f]},[{},null,1]).slice(0,2)}function ko(t,...e){if(t==null)return[null,null];for(const[a,i]of e){const s=a.exec(t);if(s)return i(s)}return[null,null]}function vx(...t){return(e,a)=>{const i={};let s;for(s=0;s<t.length;s++)i[t[s]]=bs(e[a+s]);return[i,null,a+s]}}const yx=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,bH=`(?:${yx.source}?(?:\\[(${gx.source})\\])?)?`,N5=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,bx=RegExp(`${N5.source}${bH}`),D5=RegExp(`(?:[Tt]${bx.source})?`),SH=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,EH=/(\d{4})-?W(\d\d)(?:-?(\d))?/,AH=/(\d{4})-?(\d{3})/,CH=vx("weekYear","weekNumber","weekDay"),wH=vx("year","ordinal"),xH=/(\d{4})-(\d\d)-(\d\d)/,Sx=RegExp(`${N5.source} ?(?:${yx.source}|(${gx.source}))?`),TH=RegExp(`(?: ${Sx.source})?`);function yo(t,e,a){const i=t[e];return tt(i)?a:bs(i)}function OH(t,e){return[{year:yo(t,e),month:yo(t,e+1,1),day:yo(t,e+2,1)},null,e+3]}function _o(t,e){return[{hours:yo(t,e,0),minutes:yo(t,e+1,0),seconds:yo(t,e+2,0),milliseconds:I5(t[e+3])},null,e+4]}function mu(t,e){const a=!t[e]&&!t[e+1],i=Wf(t[e+1],t[e+2]),s=a?null:Ta.instance(i);return[{},s,e+3]}function pu(t,e){const a=t[e]?qi.create(t[e]):null;return[{},a,e+1]}const RH=RegExp(`^T?${N5.source}$`),IH=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function MH(t){const[e,a,i,s,o,u,d,f,m]=t,y=e[0]==="-",b=f&&f[0]==="-",C=(A,I=!1)=>A!==void 0&&(I||A&&y)?-A:A;return[{years:C(Ws(a)),months:C(Ws(i)),weeks:C(Ws(s)),days:C(Ws(o)),hours:C(Ws(u)),minutes:C(Ws(d)),seconds:C(Ws(f),f==="-0"),milliseconds:C(I5(m),b)}]}const NH={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function j5(t,e,a,i,s,o,u){const d={year:e.length===2?T6(bs(e)):bs(e),month:cx.indexOf(a)+1,day:bs(i),hour:bs(s),minute:bs(o)};return u&&(d.second=bs(u)),t&&(d.weekday=t.length>3?fx.indexOf(t)+1:dx.indexOf(t)+1),d}const DH=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function jH(t){const[,e,a,i,s,o,u,d,f,m,y,b]=t,C=j5(e,s,i,a,o,u,d);let A;return f?A=NH[f]:m?A=0:A=Wf(y,b),[C,new Ta(A)]}function LH(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const kH=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,_H=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,zH=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function AE(t){const[,e,a,i,s,o,u,d]=t;return[j5(e,s,i,a,o,u,d),Ta.utcInstance]}function qH(t){const[,e,a,i,s,o,u,d]=t;return[j5(e,d,a,i,s,o,u),Ta.utcInstance]}const UH=jo(SH,D5),PH=jo(EH,D5),HH=jo(AH,D5),BH=jo(bx),Ex=Lo(OH,_o,mu,pu),FH=Lo(CH,_o,mu,pu),VH=Lo(wH,_o,mu,pu),GH=Lo(_o,mu,pu);function ZH(t){return ko(t,[UH,Ex],[PH,FH],[HH,VH],[BH,GH])}function YH(t){return ko(LH(t),[DH,jH])}function WH(t){return ko(t,[kH,AE],[_H,AE],[zH,qH])}function QH(t){return ko(t,[IH,MH])}const JH=Lo(_o);function KH(t){return ko(t,[RH,JH])}const XH=jo(xH,TH),$H=jo(Sx),eB=Lo(_o,mu,pu);function tB(t){return ko(t,[XH,Ex],[$H,eB])}const CE="Invalid Duration",Ax={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},nB={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Ax},gr=146097/400,to=146097/4800,aB={years:{quarters:4,months:12,weeks:gr/7,days:gr,hours:gr*24,minutes:gr*24*60,seconds:gr*24*60*60,milliseconds:gr*24*60*60*1e3},quarters:{months:3,weeks:gr/28,days:gr/4,hours:gr*24/4,minutes:gr*24*60/4,seconds:gr*24*60*60/4,milliseconds:gr*24*60*60*1e3/4},months:{weeks:to/7,days:to,hours:to*24,minutes:to*24*60,seconds:to*24*60*60,milliseconds:to*24*60*60*1e3},...Ax},al=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rB=al.slice(0).reverse();function Ni(t,e,a=!1){const i={values:a?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Nt(i)}function Cx(t,e){let a=e.milliseconds??0;for(const i of rB.slice(1))e[i]&&(a+=e[i]*t[i].milliseconds);return a}function wE(t,e){const a=Cx(t,e)<0?-1:1;al.reduceRight((i,s)=>{if(tt(e[s]))return i;if(i){const o=e[i]*a,u=t[s][i],d=Math.floor(o/u);e[s]+=d*a,e[i]-=d*u*a}return s},null),al.reduce((i,s)=>{if(tt(e[s]))return i;if(i){const o=e[i]%1;e[i]-=o,e[s]+=o*t[i][s]}return s},null)}function xE(t){const e={};for(const[a,i]of Object.entries(t))i!==0&&(e[a]=i);return e}class Nt{constructor(e){const a=e.conversionAccuracy==="longterm"||!1;let i=a?aB:nB;e.matrix&&(i=e.matrix),this.values=e.values,this.loc=e.loc||Yt.create(),this.conversionAccuracy=a?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(e,a){return Nt.fromObject({milliseconds:e},a)}static fromObject(e,a={}){if(e==null||typeof e!="object")throw new Sa(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new Nt({values:Cf(e,Nt.normalizeUnit),loc:Yt.fromObject(a),conversionAccuracy:a.conversionAccuracy,matrix:a.matrix})}static fromDurationLike(e){if(Cs(e))return Nt.fromMillis(e);if(Nt.isDuration(e))return e;if(typeof e=="object")return Nt.fromObject(e);throw new Sa(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,a){const[i]=QH(e);return i?Nt.fromObject(i,a):Nt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,a){const[i]=KH(e);return i?Nt.fromObject(i,a):Nt.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,a=null){if(!e)throw new Sa("need to specify a reason the Duration is invalid");const i=e instanceof qr?e:new qr(e,a);if(Rn.throwOnInvalid)throw new MP(i);return new Nt({invalid:i})}static normalizeUnit(e){const a={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!a)throw new Nw(e);return a}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,a={}){const i={...a,floor:a.round!==!1&&a.floor!==!1};return this.isValid?Ea.create(this.loc,i).formatDurationFromString(this,e):CE}toHuman(e={}){if(!this.isValid)return CE;const a=e.showZeros!==!1,i=al.map(s=>{const o=this.values[s];return tt(o)||o===0&&!a?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:s.slice(0,-1)}).format(o)}).filter(s=>s);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(i)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=M5(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;const a=this.toMillis();return a<0||a>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},nt.fromMillis(a,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Cx(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;const a=Nt.fromDurationLike(e),i={};for(const s of al)(wo(a.values,s)||wo(this.values,s))&&(i[s]=a.get(s)+this.get(s));return Ni(this,{values:i},!0)}minus(e){if(!this.isValid)return this;const a=Nt.fromDurationLike(e);return this.plus(a.negate())}mapUnits(e){if(!this.isValid)return this;const a={};for(const i of Object.keys(this.values))a[i]=ox(e(this.values[i],i));return Ni(this,{values:a},!0)}get(e){return this[Nt.normalizeUnit(e)]}set(e){if(!this.isValid)return this;const a={...this.values,...Cf(e,Nt.normalizeUnit)};return Ni(this,{values:a})}reconfigure({locale:e,numberingSystem:a,conversionAccuracy:i,matrix:s}={}){const u={loc:this.loc.clone({locale:e,numberingSystem:a}),matrix:s,conversionAccuracy:i};return Ni(this,u)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;const e=this.toObject();return wE(this.matrix,e),Ni(this,{values:e},!0)}rescale(){if(!this.isValid)return this;const e=xE(this.normalize().shiftToAll().toObject());return Ni(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(u=>Nt.normalizeUnit(u));const a={},i={},s=this.toObject();let o;for(const u of al)if(e.indexOf(u)>=0){o=u;let d=0;for(const m in i)d+=this.matrix[m][u]*i[m],i[m]=0;Cs(s[u])&&(d+=s[u]);const f=Math.trunc(d);a[u]=f,i[u]=(d*1e3-f*1e3)/1e3}else Cs(s[u])&&(i[u]=s[u]);for(const u in i)i[u]!==0&&(a[o]+=u===o?i[u]:i[u]/this.matrix[o][u]);return wE(this.matrix,a),Ni(this,{values:a},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const e={};for(const a of Object.keys(this.values))e[a]=this.values[a]===0?0:-this.values[a];return Ni(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;const e=xE(this.values);return Ni(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function a(i,s){return i===void 0||i===0?s===void 0||s===0:i===s}for(const i of al)if(!a(this.values[i],e.values[i]))return!1;return!0}}const no="Invalid Interval";function iB(t,e){return!t||!t.isValid?Tn.invalid("missing or invalid start"):!e||!e.isValid?Tn.invalid("missing or invalid end"):e<t?Tn.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}class Tn{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,a=null){if(!e)throw new Sa("need to specify a reason the Interval is invalid");const i=e instanceof qr?e:new qr(e,a);if(Rn.throwOnInvalid)throw new IP(i);return new Tn({invalid:i})}static fromDateTimes(e,a){const i=qc(e),s=qc(a),o=iB(i,s);return o??new Tn({start:i,end:s})}static after(e,a){const i=Nt.fromDurationLike(a),s=qc(e);return Tn.fromDateTimes(s,s.plus(i))}static before(e,a){const i=Nt.fromDurationLike(a),s=qc(e);return Tn.fromDateTimes(s.minus(i),s)}static fromISO(e,a){const[i,s]=(e||"").split("/",2);if(i&&s){let o,u;try{o=nt.fromISO(i,a),u=o.isValid}catch{u=!1}let d,f;try{d=nt.fromISO(s,a),f=d.isValid}catch{f=!1}if(u&&f)return Tn.fromDateTimes(o,d);if(u){const m=Nt.fromISO(s,a);if(m.isValid)return Tn.after(o,m)}else if(f){const m=Nt.fromISO(i,a);if(m.isValid)return Tn.before(d,m)}}return Tn.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",a){if(!this.isValid)return NaN;const i=this.start.startOf(e,a);let s;return a?.useLocaleWeeks?s=this.end.reconfigure({locale:i.locale}):s=this.end,s=s.startOf(e,a),Math.floor(s.diff(i,e).get(e))+(s.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:a}={}){return this.isValid?Tn.fromDateTimes(e||this.s,a||this.e):this}splitAt(...e){if(!this.isValid)return[];const a=e.map(qc).filter(u=>this.contains(u)).sort((u,d)=>u.toMillis()-d.toMillis()),i=[];let{s}=this,o=0;for(;s<this.e;){const u=a[o]||this.e,d=+u>+this.e?this.e:u;i.push(Tn.fromDateTimes(s,d)),s=d,o+=1}return i}splitBy(e){const a=Nt.fromDurationLike(e);if(!this.isValid||!a.isValid||a.as("milliseconds")===0)return[];let{s:i}=this,s=1,o;const u=[];for(;i<this.e;){const d=this.start.plus(a.mapUnits(f=>f*s));o=+d>+this.e?this.e:d,u.push(Tn.fromDateTimes(i,o)),i=o,s+=1}return u}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;const a=this.s>e.s?this.s:e.s,i=this.e<e.e?this.e:e.e;return a>=i?null:Tn.fromDateTimes(a,i)}union(e){if(!this.isValid)return this;const a=this.s<e.s?this.s:e.s,i=this.e>e.e?this.e:e.e;return Tn.fromDateTimes(a,i)}static merge(e){const[a,i]=e.sort((s,o)=>s.s-o.s).reduce(([s,o],u)=>o?o.overlaps(u)||o.abutsStart(u)?[s,o.union(u)]:[s.concat([o]),u]:[s,u],[[],null]);return i&&a.push(i),a}static xor(e){let a=null,i=0;const s=[],o=e.map(f=>[{time:f.s,type:"s"},{time:f.e,type:"e"}]),u=Array.prototype.concat(...o),d=u.sort((f,m)=>f.time-m.time);for(const f of d)i+=f.type==="s"?1:-1,i===1?a=f.time:(a&&+a!=+f.time&&s.push(Tn.fromDateTimes(a,f.time)),a=null);return Tn.merge(s)}difference(...e){return Tn.xor([this].concat(e)).map(a=>this.intersection(a)).filter(a=>a&&!a.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:no}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=Sf,a={}){return this.isValid?Ea.create(this.s.loc.clone(a),e).formatInterval(this):no}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:no}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:no}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:no}toFormat(e,{separator:a=" – "}={}){return this.isValid?`${this.s.toFormat(e)}${a}${this.e.toFormat(e)}`:no}toDuration(e,a){return this.isValid?this.e.diff(this.s,e,a):Nt.invalid(this.invalidReason)}mapEndpoints(e){return Tn.fromDateTimes(e(this.s),e(this.e))}}class z1{static hasDST(e=Rn.defaultZone){const a=nt.now().setZone(e).set({month:12});return!e.isUniversal&&a.offset!==a.set({month:6}).offset}static isValidIANAZone(e){return qi.isValidZone(e)}static normalizeZone(e){return Es(e,Rn.defaultZone)}static getStartOfWeek({locale:e=null,locObj:a=null}={}){return(a||Yt.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:a=null}={}){return(a||Yt.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:a=null}={}){return(a||Yt.create(e)).getWeekendDays().slice()}static months(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Yt.create(a,i,o)).months(e)}static monthsFormat(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||Yt.create(a,i,o)).months(e,!0)}static weekdays(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Yt.create(a,i,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:a=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Yt.create(a,i,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return Yt.create(e).meridiems()}static eras(e="short",{locale:a=null}={}){return Yt.create(a,null,"gregory").eras(e)}static features(){return{relative:ix(),localeWeek:sx()}}}function TE(t,e){const a=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=a(e)-a(t);return Math.floor(Nt.fromMillis(i).as("days"))}function sB(t,e,a){const i=[["years",(f,m)=>m.year-f.year],["quarters",(f,m)=>m.quarter-f.quarter+(m.year-f.year)*4],["months",(f,m)=>m.month-f.month+(m.year-f.year)*12],["weeks",(f,m)=>{const y=TE(f,m);return(y-y%7)/7}],["days",TE]],s={},o=t;let u,d;for(const[f,m]of i)a.indexOf(f)>=0&&(u=f,s[f]=m(t,e),d=o.plus(s),d>e?(s[f]--,t=o.plus(s),t>e&&(d=t,s[f]--,t=o.plus(s))):t=d);return[t,s,d,u]}function lB(t,e,a,i){let[s,o,u,d]=sB(t,e,a);const f=e-s,m=a.filter(b=>["hours","minutes","seconds","milliseconds"].indexOf(b)>=0);m.length===0&&(u<e&&(u=s.plus({[d]:1})),u!==s&&(o[d]=(o[d]||0)+f/(u-s)));const y=Nt.fromObject(o,i);return m.length>0?Nt.fromMillis(f,i).shiftTo(...m).plus(y):y}const oB="missing Intl.DateTimeFormat.formatToParts support";function Ut(t,e=a=>a){return{regex:t,deser:([a])=>e(XP(a))}}const cB=" ",wx=`[ ${cB}]`,xx=new RegExp(wx,"g");function uB(t){return t.replace(/\./g,"\\.?").replace(xx,wx)}function OE(t){return t.replace(/\./g,"").replace(xx," ").toLowerCase()}function Lr(t,e){return t===null?null:{regex:RegExp(t.map(uB).join("|")),deser:([a])=>t.findIndex(i=>OE(a)===OE(i))+e}}function RE(t,e){return{regex:t,deser:([,a,i])=>Wf(a,i),groups:e}}function q1(t){return{regex:t,deser:([e])=>e}}function fB(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function dB(t,e){const a=jr(e),i=jr(e,"{2}"),s=jr(e,"{3}"),o=jr(e,"{4}"),u=jr(e,"{6}"),d=jr(e,"{1,2}"),f=jr(e,"{1,3}"),m=jr(e,"{1,6}"),y=jr(e,"{1,9}"),b=jr(e,"{2,4}"),C=jr(e,"{4,6}"),A=O=>({regex:RegExp(fB(O.val)),deser:([R])=>R,literal:!0}),M=(O=>{if(t.literal)return A(O);switch(O.val){case"G":return Lr(e.eras("short"),0);case"GG":return Lr(e.eras("long"),0);case"y":return Ut(m);case"yy":return Ut(b,T6);case"yyyy":return Ut(o);case"yyyyy":return Ut(C);case"yyyyyy":return Ut(u);case"M":return Ut(d);case"MM":return Ut(i);case"MMM":return Lr(e.months("short",!0),1);case"MMMM":return Lr(e.months("long",!0),1);case"L":return Ut(d);case"LL":return Ut(i);case"LLL":return Lr(e.months("short",!1),1);case"LLLL":return Lr(e.months("long",!1),1);case"d":return Ut(d);case"dd":return Ut(i);case"o":return Ut(f);case"ooo":return Ut(s);case"HH":return Ut(i);case"H":return Ut(d);case"hh":return Ut(i);case"h":return Ut(d);case"mm":return Ut(i);case"m":return Ut(d);case"q":return Ut(d);case"qq":return Ut(i);case"s":return Ut(d);case"ss":return Ut(i);case"S":return Ut(f);case"SSS":return Ut(s);case"u":return q1(y);case"uu":return q1(d);case"uuu":return Ut(a);case"a":return Lr(e.meridiems(),0);case"kkkk":return Ut(o);case"kk":return Ut(b,T6);case"W":return Ut(d);case"WW":return Ut(i);case"E":case"c":return Ut(a);case"EEE":return Lr(e.weekdays("short",!1),1);case"EEEE":return Lr(e.weekdays("long",!1),1);case"ccc":return Lr(e.weekdays("short",!0),1);case"cccc":return Lr(e.weekdays("long",!0),1);case"Z":case"ZZ":return RE(new RegExp(`([+-]${d.source})(?::(${i.source}))?`),2);case"ZZZ":return RE(new RegExp(`([+-]${d.source})(${i.source})?`),2);case"z":return q1(/[a-z_+-/]{1,256}?/i);case" ":return q1(/[^\S\n\r]/);default:return A(O)}})(t)||{invalidReason:oB};return M.token=t,M}const hB={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function mB(t,e,a){const{type:i,value:s}=t;if(i==="literal"){const f=/^\s+$/.test(s);return{literal:!f,val:f?" ":s}}const o=e[i];let u=i;i==="hour"&&(e.hour12!=null?u=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?u="hour12":u="hour24":u=a.hour12?"hour12":"hour24");let d=hB[u];if(typeof d=="object"&&(d=d[o]),d)return{literal:!1,val:d}}function pB(t){return[`^${t.map(a=>a.regex).reduce((a,i)=>`${a}(${i.source})`,"")}$`,t]}function gB(t,e,a){const i=t.match(e);if(i){const s={};let o=1;for(const u in a)if(wo(a,u)){const d=a[u],f=d.groups?d.groups+1:1;!d.literal&&d.token&&(s[d.token.val[0]]=d.deser(i.slice(o,o+f))),o+=f}return[i,s]}else return[i,{}]}function vB(t){const e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let a=null,i;return tt(t.z)||(a=qi.create(t.z)),tt(t.Z)||(a||(a=new Ta(t.Z)),i=t.Z),tt(t.q)||(t.M=(t.q-1)*3+1),tt(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),tt(t.u)||(t.S=I5(t.u)),[Object.keys(t).reduce((o,u)=>{const d=e(u);return d&&(o[d]=t[u]),o},{}),a,i]}let Sp=null;function yB(){return Sp||(Sp=nt.fromMillis(1555555555555)),Sp}function bB(t,e){if(t.literal)return t;const a=Ea.macroTokenToFormatOpts(t.val),i=Ix(a,e);return i==null||i.includes(void 0)?t:i}function Tx(t,e){return Array.prototype.concat(...t.map(a=>bB(a,e)))}class Ox{constructor(e,a){if(this.locale=e,this.format=a,this.tokens=Tx(Ea.parseFormat(a),e),this.units=this.tokens.map(i=>dB(i,e)),this.disqualifyingUnit=this.units.find(i=>i.invalidReason),!this.disqualifyingUnit){const[i,s]=pB(this.units);this.regex=RegExp(i,"i"),this.handlers=s}}explainFromTokens(e){if(this.isValid){const[a,i]=gB(e,this.regex,this.handlers),[s,o,u]=i?vB(i):[null,null,void 0];if(wo(i,"a")&&wo(i,"H"))throw new fo("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:a,matches:i,result:s,zone:o,specificOffset:u}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Rx(t,e,a){return new Ox(t,a).explainFromTokens(e)}function SB(t,e,a){const{result:i,zone:s,specificOffset:o,invalidReason:u}=Rx(t,e,a);return[i,s,o,u]}function Ix(t,e){if(!t)return null;const i=Ea.create(e,t).dtFormatter(yB()),s=i.formatToParts(),o=i.resolvedOptions();return s.map(u=>mB(u,t,o))}const Ep="Invalid DateTime",IE=864e13;function Zc(t){return new qr("unsupported zone",`the zone "${t.name}" is not supported`)}function Ap(t){return t.weekData===null&&(t.weekData=Ef(t.c)),t.weekData}function Cp(t){return t.localWeekData===null&&(t.localWeekData=Ef(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Qs(t,e){const a={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new nt({...a,...e,old:a})}function Mx(t,e,a){let i=t-e*60*1e3;const s=a.offset(i);if(e===s)return[i,e];i-=(s-e)*60*1e3;const o=a.offset(i);return s===o?[i,s]:[t-Math.min(s,o)*60*1e3,Math.max(s,o)]}function U1(t,e){t+=e*60*1e3;const a=new Date(t);return{year:a.getUTCFullYear(),month:a.getUTCMonth()+1,day:a.getUTCDate(),hour:a.getUTCHours(),minute:a.getUTCMinutes(),second:a.getUTCSeconds(),millisecond:a.getUTCMilliseconds()}}function tf(t,e,a){return Mx(Yf(t),e,a)}function ME(t,e){const a=t.o,i=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:i,month:s,day:Math.min(t.c.day,Af(i,s))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},u=Nt.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),d=Yf(o);let[f,m]=Mx(d,a,t.zone);return u!==0&&(f+=u,m=t.zone.offset(f)),{ts:f,o:m}}function ao(t,e,a,i,s,o){const{setZone:u,zone:d}=a;if(t&&Object.keys(t).length!==0||e){const f=e||d,m=nt.fromObject(t,{...a,zone:f,specificOffset:o});return u?m:m.setZone(d)}else return nt.invalid(new qr("unparsable",`the input "${s}" can't be parsed as ${i}`))}function P1(t,e,a=!0){return t.isValid?Ea.create(Yt.create("en-US"),{allowZ:a,forceSimple:!0}).formatDateTimeFromString(t,e):null}function wp(t,e,a){const i=t.c.year>9999||t.c.year<0;let s="";if(i&&t.c.year>=0&&(s+="+"),s+=Wn(t.c.year,i?6:4),a==="year")return s;if(e){if(s+="-",s+=Wn(t.c.month),a==="month")return s;s+="-"}else if(s+=Wn(t.c.month),a==="month")return s;return s+=Wn(t.c.day),s}function NE(t,e,a,i,s,o,u){let d=!a||t.c.millisecond!==0||t.c.second!==0,f="";switch(u){case"day":case"month":case"year":break;default:if(f+=Wn(t.c.hour),u==="hour")break;if(e){if(f+=":",f+=Wn(t.c.minute),u==="minute")break;d&&(f+=":",f+=Wn(t.c.second))}else{if(f+=Wn(t.c.minute),u==="minute")break;d&&(f+=Wn(t.c.second))}if(u==="second")break;d&&(!i||t.c.millisecond!==0)&&(f+=".",f+=Wn(t.c.millisecond,3))}return s&&(t.isOffsetFixed&&t.offset===0&&!o?f+="Z":t.o<0?(f+="-",f+=Wn(Math.trunc(-t.o/60)),f+=":",f+=Wn(Math.trunc(-t.o%60))):(f+="+",f+=Wn(Math.trunc(t.o/60)),f+=":",f+=Wn(Math.trunc(t.o%60)))),o&&(f+="["+t.zone.ianaName+"]"),f}const Nx={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},EB={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},AB={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nf=["year","month","day","hour","minute","second","millisecond"],CB=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],wB=["year","ordinal","hour","minute","second","millisecond"];function af(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new Nw(t);return e}function DE(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return af(t)}}function xB(t){if(Yc===void 0&&(Yc=Rn.now()),t.type!=="iana")return t.offset(Yc);const e=t.name;let a=O6.get(e);return a===void 0&&(a=t.offset(Yc),O6.set(e,a)),a}function jE(t,e){const a=Es(e.zone,Rn.defaultZone);if(!a.isValid)return nt.invalid(Zc(a));const i=Yt.fromObject(e);let s,o;if(tt(t.year))s=Rn.now();else{for(const f of nf)tt(t[f])&&(t[f]=Nx[f]);const u=ax(t)||rx(t);if(u)return nt.invalid(u);const d=xB(a);[s,o]=tf(t,d,a)}return new nt({ts:s,zone:a,loc:i,o})}function LE(t,e,a){const i=tt(a.round)?!0:a.round,s=tt(a.rounding)?"trunc":a.rounding,o=(d,f)=>(d=M5(d,i||a.calendary?0:2,a.calendary?"round":s),e.loc.clone(a).relFormatter(a).format(d,f)),u=d=>a.calendary?e.hasSame(t,d)?0:e.startOf(d).diff(t.startOf(d),d).get(d):e.diff(t,d).get(d);if(a.unit)return o(u(a.unit),a.unit);for(const d of a.units){const f=u(d);if(Math.abs(f)>=1)return o(f,d)}return o(t>e?-0:0,a.units[a.units.length-1])}function kE(t){let e={},a;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],a=Array.from(t).slice(0,t.length-1)):a=Array.from(t),[e,a]}let Yc;const O6=new Map;class nt{constructor(e){const a=e.zone||Rn.defaultZone;let i=e.invalid||(Number.isNaN(e.ts)?new qr("invalid input"):null)||(a.isValid?null:Zc(a));this.ts=tt(e.ts)?Rn.now():e.ts;let s=null,o=null;if(!i)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(a))[s,o]=[e.old.c,e.old.o];else{const d=Cs(e.o)&&!e.old?e.o:a.offset(this.ts);s=U1(this.ts,d),i=Number.isNaN(s.year)?new qr("invalid input"):null,s=i?null:s,o=i?null:d}this._zone=a,this.loc=e.loc||Yt.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new nt({})}static local(){const[e,a]=kE(arguments),[i,s,o,u,d,f,m]=a;return jE({year:i,month:s,day:o,hour:u,minute:d,second:f,millisecond:m},e)}static utc(){const[e,a]=kE(arguments),[i,s,o,u,d,f,m]=a;return e.zone=Ta.utcInstance,jE({year:i,month:s,day:o,hour:u,minute:d,second:f,millisecond:m},e)}static fromJSDate(e,a={}){const i=aH(e)?e.valueOf():NaN;if(Number.isNaN(i))return nt.invalid("invalid input");const s=Es(a.zone,Rn.defaultZone);return s.isValid?new nt({ts:i,zone:s,loc:Yt.fromObject(a)}):nt.invalid(Zc(s))}static fromMillis(e,a={}){if(Cs(e))return e<-IE||e>IE?nt.invalid("Timestamp out of range"):new nt({ts:e,zone:Es(a.zone,Rn.defaultZone),loc:Yt.fromObject(a)});throw new Sa(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,a={}){if(Cs(e))return new nt({ts:e*1e3,zone:Es(a.zone,Rn.defaultZone),loc:Yt.fromObject(a)});throw new Sa("fromSeconds requires a numerical input")}static fromObject(e,a={}){e=e||{};const i=Es(a.zone,Rn.defaultZone);if(!i.isValid)return nt.invalid(Zc(i));const s=Yt.fromObject(a),o=Cf(e,DE),{minDaysInFirstWeek:u,startOfWeek:d}=yE(o,s),f=Rn.now(),m=tt(a.specificOffset)?i.offset(f):a.specificOffset,y=!tt(o.ordinal),b=!tt(o.year),C=!tt(o.month)||!tt(o.day),A=b||C,I=o.weekYear||o.weekNumber;if((A||y)&&I)throw new fo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(C&&y)throw new fo("Can't mix ordinal dates with month/day");const M=I||o.weekday&&!A;let O,R,x=U1(f,m);M?(O=CB,R=EB,x=Ef(x,u,d)):y?(O=wB,R=AB,x=bp(x)):(O=nf,R=Nx);let j=!1;for(const N of O){const G=o[N];tt(G)?j?o[N]=R[N]:o[N]=x[N]:j=!0}const U=M?eH(o,u,d):y?tH(o):ax(o),L=U||rx(o);if(L)return nt.invalid(L);const P=M?gE(o,u,d):y?vE(o):o,[F,E]=tf(P,m,i),T=new nt({ts:F,zone:i,o:E,loc:s});return o.weekday&&A&&e.weekday!==T.weekday?nt.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${T.toISO()}`):T.isValid?T:nt.invalid(T.invalid)}static fromISO(e,a={}){const[i,s]=ZH(e);return ao(i,s,a,"ISO 8601",e)}static fromRFC2822(e,a={}){const[i,s]=YH(e);return ao(i,s,a,"RFC 2822",e)}static fromHTTP(e,a={}){const[i,s]=WH(e);return ao(i,s,a,"HTTP",a)}static fromFormat(e,a,i={}){if(tt(e)||tt(a))throw new Sa("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=i,u=Yt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[d,f,m,y]=SB(u,e,a);return y?nt.invalid(y):ao(d,f,i,`format ${a}`,e,m)}static fromString(e,a,i={}){return nt.fromFormat(e,a,i)}static fromSQL(e,a={}){const[i,s]=tB(e);return ao(i,s,a,"SQL",e)}static invalid(e,a=null){if(!e)throw new Sa("need to specify a reason the DateTime is invalid");const i=e instanceof qr?e:new qr(e,a);if(Rn.throwOnInvalid)throw new RP(i);return new nt({invalid:i})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,a={}){const i=Ix(e,Yt.fromObject(a));return i?i.map(s=>s?s.val:null).join(""):null}static expandFormat(e,a={}){return Tx(Ea.parseFormat(e),Yt.fromObject(a)).map(s=>s.val).join("")}static resetCache(){Yc=void 0,O6.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ap(this).weekYear:NaN}get weekNumber(){return this.isValid?Ap(this).weekNumber:NaN}get weekday(){return this.isValid?Ap(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Cp(this).weekday:NaN}get localWeekNumber(){return this.isValid?Cp(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Cp(this).weekYear:NaN}get ordinal(){return this.isValid?bp(this.c).ordinal:NaN}get monthShort(){return this.isValid?z1.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?z1.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?z1.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?z1.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const e=864e5,a=6e4,i=Yf(this.c),s=this.zone.offset(i-e),o=this.zone.offset(i+e),u=this.zone.offset(i-s*a),d=this.zone.offset(i-o*a);if(u===d)return[this];const f=i-u*a,m=i-d*a,y=U1(f,u),b=U1(m,d);return y.hour===b.hour&&y.minute===b.minute&&y.second===b.second&&y.millisecond===b.millisecond?[Qs(this,{ts:f}),Qs(this,{ts:m})]:[this]}get isInLeapYear(){return hu(this.year)}get daysInMonth(){return Af(this.year,this.month)}get daysInYear(){return this.isValid?vo(this.year):NaN}get weeksInWeekYear(){return this.isValid?nu(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?nu(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){const{locale:a,numberingSystem:i,calendar:s}=Ea.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:a,numberingSystem:i,outputCalendar:s}}toUTC(e=0,a={}){return this.setZone(Ta.instance(e),a)}toLocal(){return this.setZone(Rn.defaultZone)}setZone(e,{keepLocalTime:a=!1,keepCalendarTime:i=!1}={}){if(e=Es(e,Rn.defaultZone),e.equals(this.zone))return this;if(e.isValid){let s=this.ts;if(a||i){const o=e.offset(this.ts),u=this.toObject();[s]=tf(u,o,e)}return Qs(this,{ts:s,zone:e})}else return nt.invalid(Zc(e))}reconfigure({locale:e,numberingSystem:a,outputCalendar:i}={}){const s=this.loc.clone({locale:e,numberingSystem:a,outputCalendar:i});return Qs(this,{loc:s})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;const a=Cf(e,DE),{minDaysInFirstWeek:i,startOfWeek:s}=yE(a,this.loc),o=!tt(a.weekYear)||!tt(a.weekNumber)||!tt(a.weekday),u=!tt(a.ordinal),d=!tt(a.year),f=!tt(a.month)||!tt(a.day),m=d||f,y=a.weekYear||a.weekNumber;if((m||u)&&y)throw new fo("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&u)throw new fo("Can't mix ordinal dates with month/day");let b;o?b=gE({...Ef(this.c,i,s),...a},i,s):tt(a.ordinal)?(b={...this.toObject(),...a},tt(a.day)&&(b.day=Math.min(Af(b.year,b.month),b.day))):b=vE({...bp(this.c),...a});const[C,A]=tf(b,this.o,this.zone);return Qs(this,{ts:C,o:A})}plus(e){if(!this.isValid)return this;const a=Nt.fromDurationLike(e);return Qs(this,ME(this,a))}minus(e){if(!this.isValid)return this;const a=Nt.fromDurationLike(e).negate();return Qs(this,ME(this,a))}startOf(e,{useLocaleWeeks:a=!1}={}){if(!this.isValid)return this;const i={},s=Nt.normalizeUnit(e);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0;break}if(s==="weeks")if(a){const o=this.loc.getStartOfWeek(),{weekday:u}=this;u<o&&(i.weekNumber=this.weekNumber-1),i.weekday=o}else i.weekday=1;if(s==="quarters"){const o=Math.ceil(this.month/3);i.month=(o-1)*3+1}return this.set(i)}endOf(e,a){return this.isValid?this.plus({[e]:1}).startOf(e,a).minus(1):this}toFormat(e,a={}){return this.isValid?Ea.create(this.loc.redefaultToEN(a)).formatDateTimeFromString(this,e):Ep}toLocaleString(e=Sf,a={}){return this.isValid?Ea.create(this.loc.clone(a),e).formatDateTime(this):Ep}toLocaleParts(e={}){return this.isValid?Ea.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:a=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:o=!1,precision:u="milliseconds"}={}){if(!this.isValid)return null;u=af(u);const d=e==="extended";let f=wp(this,d,u);return nf.indexOf(u)>=3&&(f+="T"),f+=NE(this,d,a,i,s,o,u),f}toISODate({format:e="extended",precision:a="day"}={}){return this.isValid?wp(this,e==="extended",af(a)):null}toISOWeekDate(){return P1(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:a=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:o=!1,format:u="extended",precision:d="milliseconds"}={}){return this.isValid?(d=af(d),(s&&nf.indexOf(d)>=3?"T":"")+NE(this,u==="extended",a,e,i,o,d)):null}toRFC2822(){return P1(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return P1(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?wp(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:a=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(a||e)&&(i&&(s+=" "),a?s+="z":e&&(s+="ZZ")),P1(this,s,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Ep}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};const a={...this.c};return e.includeConfig&&(a.outputCalendar=this.outputCalendar,a.numberingSystem=this.loc.numberingSystem,a.locale=this.loc.locale),a}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,a="milliseconds",i={}){if(!this.isValid||!e.isValid)return Nt.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},o=rH(a).map(Nt.normalizeUnit),u=e.valueOf()>this.valueOf(),d=u?this:e,f=u?e:this,m=lB(d,f,o,s);return u?m.negate():m}diffNow(e="milliseconds",a={}){return this.diff(nt.now(),e,a)}until(e){return this.isValid?Tn.fromDateTimes(this,e):this}hasSame(e,a,i){if(!this.isValid)return!1;const s=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(a,i)<=s&&s<=o.endOf(a,i)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;const a=e.base||nt.fromObject({},{zone:this.zone}),i=e.padding?this<a?-e.padding:e.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(s=e.unit,o=void 0),LE(a,this.plus(i),{...e,numeric:"always",units:s,unit:o})}toRelativeCalendar(e={}){return this.isValid?LE(e.base||nt.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(nt.isDateTime))throw new Sa("min requires all arguments be DateTimes");return bE(e,a=>a.valueOf(),Math.min)}static max(...e){if(!e.every(nt.isDateTime))throw new Sa("max requires all arguments be DateTimes");return bE(e,a=>a.valueOf(),Math.max)}static fromFormatExplain(e,a,i={}){const{locale:s=null,numberingSystem:o=null}=i,u=Yt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return Rx(u,e,a)}static fromStringExplain(e,a,i={}){return nt.fromFormatExplain(e,a,i)}static buildFormatParser(e,a={}){const{locale:i=null,numberingSystem:s=null}=a,o=Yt.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Ox(o,e)}static fromFormatParser(e,a,i={}){if(tt(e)||tt(a))throw new Sa("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:o=null}=i,u=Yt.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});if(!u.equals(a.locale))throw new Sa(`fromFormatParser called with a locale of ${u}, but the format parser was created for ${a.locale}`);const{result:d,zone:f,specificOffset:m,invalidReason:y}=a.explainFromTokens(e);return y?nt.invalid(y):ao(d,f,i,`format ${a.format}`,e,m)}static get DATE_SHORT(){return Sf}static get DATE_MED(){return Dw}static get DATE_MED_WITH_WEEKDAY(){return NP}static get DATE_FULL(){return jw}static get DATE_HUGE(){return Lw}static get TIME_SIMPLE(){return kw}static get TIME_WITH_SECONDS(){return _w}static get TIME_WITH_SHORT_OFFSET(){return zw}static get TIME_WITH_LONG_OFFSET(){return qw}static get TIME_24_SIMPLE(){return Uw}static get TIME_24_WITH_SECONDS(){return Pw}static get TIME_24_WITH_SHORT_OFFSET(){return Hw}static get TIME_24_WITH_LONG_OFFSET(){return Bw}static get DATETIME_SHORT(){return Fw}static get DATETIME_SHORT_WITH_SECONDS(){return Vw}static get DATETIME_MED(){return Gw}static get DATETIME_MED_WITH_SECONDS(){return Zw}static get DATETIME_MED_WITH_WEEKDAY(){return DP}static get DATETIME_FULL(){return Yw}static get DATETIME_FULL_WITH_SECONDS(){return Ww}static get DATETIME_HUGE(){return Qw}static get DATETIME_HUGE_WITH_SECONDS(){return Jw}}function qc(t){if(nt.isDateTime(t))return t;if(t&&t.valueOf&&Cs(t.valueOf()))return nt.fromJSDate(t);if(t&&typeof t=="object")return nt.fromObject(t);throw new Sa(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function TB(t,e,a){return[...t].sort((i,s)=>{const o=R6(e,i),u=R6(e,s);if(typeof o=="number"&&typeof u=="number")return(o-u)*(a?-1:1);const d=o?o.toString():"",f=u?u.toString():"";return d.length===0?a?-1:1:f.length===0?a?1:-1:d.localeCompare(f)*(a?-1:1)})}function R6(t,e){if(t.endsWith("_date"))return e[t]||Number.MAX_SAFE_INTEGER;const a=e[t];return nt.isDateTime(a)?a.toUnixInteger():t==="protocol"?t.label:!ne(a)||t.indexOf("__")===-1?a:t.replace(/__/g,".").split(".").reduce((o,u)=>ne(o)?"":o[u],e)||""}const OB=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.2.8L12.5 11.5c-.1.1-.2.1-.2.2-.1 0-.2.1-.3.1s-.2 0-.3-.1c-.1 0-.2-.1-.2-.2L.8.8"})),RB=g.forwardRef(OB),IB=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:12.4,viewBox:"0 0 24 12.4",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M.8 11.7L11.5 1c.1-.1.2-.1.2-.2.1 0 .2-.1.3-.1s.2 0 .3.1c.1 0 .2.1.2.2l10.7 10.7"})),MB=g.forwardRef(IB),Os=({modelName:t,showNew:e,newLabel:a,columns:i,children:s,loading:o,actions:u,title:d,filters:f,rowLinkMapper:m,tableClassName:y,className:b="",hideTitle:C,onHover:A,actionHeader:I="",totalElements:M=null,showActionsAlways:O,displaySearch:R=!0,searchCallback:x,customSearch:j,entities:U,searchAttributes:L,newEntityPath:P,newEntityFunc:F,defaultSort:E,rowClassNameResolver:T,inputFocus:N=!1,busy:G=!1})=>{const[_,q]=g.useState(""),[Z,V]=g.useState(E),[D,H]=g.useState(!1),[k,W]=g.useState(l5()),se=g.useRef(),B=kt();g.useEffect(()=>{(R||N)&&se&&se.current&&se.current.focus()},[R,N,o]);const K=()=>{F?F():B(P)},le=(Ae,Re,Qt)=>Ae.nonSortable?null:Ae.key===Re?Qt?h.jsx(RB,{}):h.jsx(MB,{}):null,he=Ae=>{const Re=Ae.target.value,Qt=_;q(Re);const ut=Qt!==Re;ut&&W(1),Je(Re,Z,D,ut?1:k)},fe=()=>{const Ae=!C&&f?"filters-with-title":`${t}-search-filters`;return h.jsxs("section",{className:`entities-search ${e?"":"only-search"}`,children:[h.jsx("div",{className:`search ${e?"":"standalone"}`,children:(!ne(L)||j)&&h.jsx("div",{className:"sds--text-field sds--text-field--has-icon",children:h.jsx("div",{className:"sds--text-field--shape",children:h.jsxs("div",{className:"sds--text-field--input-and-icon",children:[h.jsx("input",{className:"sds--text-field--input",type:"search",ref:se,onChange:he,value:_,placeholder:S.t(`${t}.searchPlaceHolder`)}),h.jsx("span",{className:"sds--text-field--icon",children:h.jsx(Pf,{})})]})})})}),!ne(f)&&h.jsx("div",{className:`${Ae} search-filter`,children:f}),e&&h.jsx(at,{onClick:K,type:vt.Primary,className:`${C&&!f?"no-title":""}`,txt:a||S.t(`${t}.new`)})]})},ye=Ae=>{if(ne(Ae)||j)return U;const Re=Ae.toLowerCase();return U.filter(Qt=>L.some(ut=>{const Ve=R6(ut,Qt);return ne(Ve)||typeof Ve!="string"||Ve.toLowerCase===void 0?!1:Ve.toLowerCase().indexOf(Re)>-1}))},we=Ae=>{const Re=Z===Ae?!D:!1;V(Ae),H(Re),Je(_,Ae,Re,k)},Je=(Ae,Re,Qt,ut)=>{if(j&&j(Ae,Re,Qt,ut-1),x){const Ve=ye(_);x(Ve)}},Ne=(Ae,Re)=>Re.mapper?Re.mapper(Ae):Ae[Re.key],Wt=(Ae,Re)=>{typeof m=="function"&&m(Ae,Re)},mt=(Ae,Re)=>{const Qt=ne(T)?"":T(Ae);return h.jsx("tr",{className:`${typeof m=="function"?"clickable":""} ${A?"hoverable":""} ${Qt}`,children:i.map((ut,Ve)=>h.jsx("td",{onClick:ot=>ut.key!=="check"&&!ut.hasLink?Wt(ot,Ae):void 0,"data-label":typeof ut=="string"?ut.header:"",className:`${ut.key} ${ut.nonSortable?"":"sortable"} ${ut.className?ut.className:""}`,children:Ne(Ae,ut)},`td_${ut.key}_${Ve}`))},`tr_${Ae.id}_${Re}`)},Mt=Ae=>{const Re=!ne(Ae);j&&(ne(_)||_.trim().length<3);const Qt=Ae.length,ut=Math.min(k,Math.ceil(Ae.length/tl));return Ae=Ae.slice((ut-1)*tl,ut*tl),h.jsxs("section",{className:"entities-list",children:[u&&(O||Re)&&h.jsx("div",{className:`actions-header ${I}`,children:u}),Re&&h.jsx("div",{className:"sds--table",children:h.jsxs("table",{className:y||t,children:[h.jsx("thead",{children:h.jsx("tr",{children:i.map((Ve,ot)=>{const gn=!u||ot<1||Ve.showHeader;return h.jsxs("th",{className:`${Ve.key} ${Ve.class||""} ${Ve.nonSortable?"":"sortable"} ${gn?"":"hide"}`,onClick:()=>!Ve.nonSortable&&we(Ve.key),children:[Ve.header,Ve.toolTip&&h.jsx(ca,{tip:Ve.toolTip}),le(Ve,Z,D)]},`th_${Ve.key}_${ot}`)})})}),h.jsx("tbody",{children:Ae.map((Ve,ot)=>mt(Ve,ot))})]})}),h.jsx(z6,{currentPage:k,onChange:Ve=>{W(Ve),Je(_,Z,D,Ve),s5(Ve)},total:M||Qt,pageCount:tl})]})};if(o)return h.jsx(Sn,{});const At=ye(_),je=j?At:TB(At,Z,D);return h.jsxs("div",{className:`mod-entities ${b}`,children:[!C&&h.jsx("h3",{children:d||`${S.t(`${t}.title`)} (${(M||U.length).toLocaleString()})`}),R&&fe(),Mt(je),h.jsx("div",{children:s})]})},Dx=(t,e=!0,a=!1)=>{const i={month:e?"long":"short",day:"numeric",year:"numeric"};return a&&(i.hour="2-digit",i.minute="2-digit",i.hour12=!1),new Intl.DateTimeFormat(`${S.locale}-${S.locale.toUpperCase()}`,i).format(t)},Oa=(t,e=!0,a=!0)=>{if(ne(t))return"-";const i=new Date(e?t*1e3:t);return Dx(i,a)},NB=t=>Dx(new Date(t),!0,!0),DB=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:22.5,viewBox:"0 0 24 22.5",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M.8 11.2h22.5M12.8 21.8l10.5-10.5L12.8.8",fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),L5=g.forwardRef(DB);function jB({name:t,value:e,onChange:a,label:i,info:s,last:o=!1,isAlert:u=!1}){return h.jsxs("div",{className:`switch-field ${o?"last":""}`,children:[h.jsxs("div",{className:"inner-switch",children:[h.jsxs("span",{className:"switch-label",children:[i,u&&h.jsx(ai,{})]}),h.jsx("span",{className:"switch-info",children:s})]}),h.jsx(G1,{name:t,value:e,onChange:a})]})}const Tt={pendingChanges:"pendingChanges",technical:"technical",informationProfile:"informationProfile",testIdP:"testIdP",overview:"overview"},Js={url:"url",file:"file",paste:"paste"},Ks={authorization_code:"authorization_code",refresh_token:"refresh_token",device_code:"urn:ietf:params:oauth:grant-type:device_code"},H1={resetSecretDisclaimer:"resetSecretDisclaimer",resetSecret:"resetSecret"},_E=({application:t,connection:e,setConnection:a,initConnection:i,refresh:s,user:o,testConnectionComplete:u,productionConnectionComplete:d,appInformationComplete:f,productionConnectionNeedsActivation:m,protocolOptions:y,arpInfo:b,setTab:C,profileOptions:A,identityProviders:I,isProduction:M,setDirty:O,connectionId:R})=>{const{setFlash:x,config:j}=Pe($=>$),U=kt(),[L,P]=g.useState(!1),[F,E]=g.useState(!1),[T,N]=g.useState(Tt.technical),[G,_]=g.useState([]),[q,Z]=g.useState({0:!1}),[V,D]=g.useState({0:!1}),[H,k]=g.useState(!1),[W,se]=g.useState(Js.url),[B,K]=g.useState(null),[le,he]=g.useState(null),[fe,ye]=g.useState(null),[we,Je]=g.useState(!1),[Ne,Wt]=g.useState(!0),[mt,Mt]=g.useState(!1),[At,je]=g.useState(!1),[Ae,Re]=g.useState({}),[Qt,ut]=g.useState(!1),[Ve,ot]=g.useState([]),gn=g.useMemo(()=>t.connections.filter($=>M?$.environment===la.PROD:$.environment===la.TEST),[t,M]),Ke=g.useRef([]),Ce=g.useRef([]),De=$U({objectHash:($,oe)=>$.name||$.level||$.type||$.source||$.value||"$$index:"+oe});g.useEffect(()=>{if(ne(R))new URLSearchParams(window.location.search).get("action")==="activate"&&Yr(gn.find(pe=>pe.status===sn.COMPLETE||pe.status===sn.IN_PROGRESS),"?action=activate");else{const $=t.connections.find(oe=>oe.id===parseInt(R,10));ne($)?U(`/connection/${t.id}/${M?"prod":"testing"}`):Yr($)}},[t]);const He=$=>{const oe=G.includes($);switch($){case Tt.technical:return!e.id;case Tt.informationProfile:return!e.id||!oe||!Mn();case Tt.testIdP:return!e.id||!oe||!Jn();case Tt.pendingChanges:return!1}},it=$=>!(T===Tt.pendingChanges?!0:T===Tt.technical?qn():T===Tt.informationProfile?Mn():Jn())&&!($===T),_t=$=>{je(!0),gS($).then(oe=>{const pe=W1(oe,y,A,b),xe=pe.name;pe.name=xe+" COPY",pe.allowedEntities=pe.allowedEntities.filter(Qe=>I.some(Gt=>Gt.data.entityid===Qe)),["id","manageEid","manageIdentifier","manageVersion","createdAt","updatedAt"].forEach(Qe=>delete pe[Qe]),pe.environment=M?la.PROD:la.TEST,pe.status=sn.OPEN,pe.entityID="",pe.protocol.value===vs.OIDC10_RP&&(pe.secret=null,pe.secretSet=!1),pe.new=!0,pe.changeRequests=[],a(pe),setTimeout(()=>je(!1),275),x(S.t("connection.flash.copied",{name:xe}))})},vn=()=>{const $=t.connections.filter(oe=>oe.name===e.name).length;return e.id?$>1:$===1},qn=()=>{const $=e.protocol.value===vs.OIDC10_RP;return!(we||ne(e.name)||ne(e.entityID)&&!$||vn()||Object.values(q).some(oe=>oe)||Object.values(V).some(oe=>oe)||$&&(ne(e.grantTypes)||ne(e.redirectUrls.filter(oe=>!ne(oe.trim()))))||!$&&ne(e.acsLocations.filter(oe=>!ne(oe.trim()))))},Mn=()=>!(b.profiles.find(oe=>oe.name===e.profile.value).requiresMotivation&&ne(e.profileMotivation)||Object.values(e.motivations).some(oe=>ne(oe))),Jn=()=>e.environment===la.PROD||!ne(e.allowedEntities),ea=$=>{N($)},En=()=>{const $=document.createElement("a");$.href=S.t("connection.mailToSurf"),$.style.display="none",document.body.appendChild($),$.click(),document.body.removeChild($)},pt=()=>{alert("TODO")},st=()=>{ye(null),k(!1),K(null),he(null),se(Js.url)},Ft=($,oe)=>{let pe=e.grantTypes;oe?pe.push($):pe=pe.filter(xe=>xe!==$),a({...e,grantTypes:pe})},Aa=()=>{const $=document.createElement("a");$.href="https://www.ssllabs.com/ssltest/",$.target="_blank",$.style.display="none",document.body.appendChild($),$.click(),document.body.removeChild($)},Na=$=>{Ra($),a({...e,redirectUrls:[...e.redirectUrls,""]}),Ot()},va=$=>{const oe=[...e.redirectUrls];oe.splice($,1),a({...e,redirectUrls:oe})},Un=($,oe)=>{const pe=[...e.redirectUrls];pe[oe]=$.target.value,a({...e,redirectUrls:pe}),Z({...q,[oe.toString()]:!1})},Pn=($,oe)=>{const pe=$.target.value,xe=il(pe.trim());return Z({...q,[oe.toString()]:!xe}),!0},Ot=()=>{setTimeout(()=>Ce.current[e.acsLocations.length]?.focus(),675)},yn=$=>{Ra($),a({...e,acsLocations:[...e.acsLocations,""]}),Xe()},ua=$=>{const oe=[...e.acsLocations];oe.splice($,1),a({...e,acsLocations:oe})},Xe=()=>{setTimeout(()=>Ce.current[e.acsLocations.length]?.focus(),675)},on=($,oe)=>{const pe=[...e.acsLocations];pe[oe]=$.target.value,a({...e,acsLocations:pe}),D({...V,[oe.toString()]:!1})},Ue=($,oe)=>{const pe=$.target.value,xe=il(pe.trim());return D({...V,[oe.toString()]:!xe}),!0},$e=()=>{(W===Js.url?xL(le):wL(B)).then(oe=>{k(!1);const pe={...e,...oe[0]};a(pe),st(),x(S.t("connection.metadata.parsed"))}).catch(()=>{x(S.t("connection.metadata.errorParsed"),"error")})},ft=$=>{const oe=$.target.files;if(!ne(oe)){const pe=oe[0],xe=new FileReader;xe.onload=()=>{const Qe=xe.result.toString();K(Qe),ye(pe.name)},xe.readAsText(pe)}},ta=$=>{$.value===vs.OIDC10_RP?a({...e,protocol:$,grantTypes:["authorization_code"],pkce:!1,entityID:"",redirectUrls:[""],acsLocations:null}):a({...e,protocol:$,grantTypes:null,pkce:!1,entityID:"",redirectUrls:null,acsLocations:[""]})},be=$=>{$?Re({open:!0,cancel:()=>Re({open:!1}),header:S.t("forms.delete"),question:S.t("connection.deleteConfirmation"),action:()=>be(!1),modal:null,okButton:S.t("forms.delete")}):(je(!0),DL(e.id).then(()=>{s(M?"prod":"testing"),Re({open:!1}),je(!1),x(S.t("connection.flash.deleted",{name:e.name}))}))},qe=($,oe)=>{Ra($),oe?Re({open:!0,question:null,header:S.t("connection.connectionOverview.secretResetTitle"),cancel:()=>Re({open:!1}),action:()=>qe(null,!1),modal:H1.resetSecretDisclaimer,okButton:S.t("connection.connectionOverview.reset")}):(je(!0),NL(e.id).then(pe=>{a({...e,secret:pe.secret}),Re({open:!0,header:S.t("connection.connectionOverview.secretResetNew"),cancel:null,question:null,action:()=>Re({open:!1}),modal:H1.resetSecret,okButton:S.t("connection.connectionOverview.resetContinue")}),je(!1)}))},Le=$=>{TL(e.environment,$.target.value).then(oe=>{const pe=e.status===!1&&oe.length>1||e.status===sn.OPEN&&oe.length>0;Je(pe)})},Rt=$=>{let oe=$.target.value;(ne(oe)||isNaN(parseInt(oe,10)))&&(oe=3600,a({...e,refreshTokenValidity:oe}))},an=$=>{E(!1);let oe=$.target.value;ne(oe)?oe=0:(oe=parseInt(oe,10),isNaN(oe)?oe=0:oe>3600*24&&(oe=3600*24,E(!0))),a({...e,refreshTokenValidity:oe})},Nn=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.technical")}),h.jsx(fn,{value:e.name||"",onChange:$=>a({...e,name:$.target.value}),name:S.t("connection.connectionName"),required:!0,isAlert:Ve.includes("name"),placeholder:S.t("connection.connectionPlaceholder",{application:t.name,environment:e.environment.toUpperCase()})}),!Ne&&ne(e.name)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.connectionName")}),adjustMargin:!0}),vn()&&h.jsx(mn,{msg:S.t("connection.duplicatedName",{name:e.name}),adjustMargin:!0}),h.jsx(Pa,{name:S.t("connection.protocol"),value:e.protocol,options:y,toolTip:ne(e.manageIdentifier)?null:S.t("connection.protocolTooltip"),disabled:!ne(e.manageIdentifier),onChange:ta}),e.protocol.value===vs.OIDC10_RP&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{children:[h.jsxs("span",{className:"label",children:[S.t("connection.grantTypes"),Ve.includes("grantTypes")&&h.jsx(ai,{})]}),h.jsxs("div",{className:"grant-types",children:[Object.keys(Ks).map($=>h.jsxs(g.Fragment,{children:[h.jsxs("section",{className:"grant-type",children:[h.jsx("span",{children:S.t(`connection.${$}`)}),h.jsx(G1,{name:$,value:e.grantTypes.includes(Ks[$]),onChange:oe=>Ft(Ks[$],oe)})]}),$===Ks.authorization_code&&e.grantTypes.includes(Ks[$])&&h.jsxs("section",{className:"grant-type pkce",children:[h.jsx("span",{className:"pkce-label",children:S.t("connection.pkce")}),h.jsx(ca,{tip:S.t("connection.pkceTooltip")}),h.jsx(Uc,{name:"pkce",value:e.pkce,trueLabel:S.t("connection.required"),falseLabel:S.t("connection.optional"),onChange:()=>a({...e,pkce:!e.pkce})})]},"pkce"),$===Ks.refresh_token&&e.grantTypes.includes(Ks[$])&&h.jsxs(h.Fragment,{children:[h.jsx("section",{className:"grant-type refresh-token-validity",children:h.jsx(fn,{name:S.t("connection.refreshTokenValidity"),value:ne(e.refreshTokenValidity)?3600:e.refreshTokenValidity,isInteger:!0,maxLength:3600*24,customClassName:"refresh-token-validity",onBlur:Rt,onChange:an})},"refresh_token_validity"),F&&h.jsx("em",{className:"warning",children:S.t("connection.refreshTokenMax",{max:3600*24})})]})]},$)),!Ne&&ne(e.grantTypes)&&h.jsx(mn,{msg:S.t("forms.requiredOne",{name:S.t("connection.grantType")}),adjustMargin:!0})]})]}),h.jsxs("div",{className:"redirect-urls-container",children:[h.jsxs("span",{className:"label",children:[S.t("connection.redirectUrls"),Ve.includes("redirectUrls")&&h.jsx(ai,{})]}),h.jsx("div",{className:"redirect-urls",children:e.redirectUrls.map(($,oe)=>h.jsxs("div",{className:"redirect-url",children:[h.jsxs("div",{className:"redirect-url-inner",children:[h.jsx(fn,{value:$,onChange:pe=>Un(pe,oe),onBlur:pe=>Pn(pe,oe),onRef:pe=>Ke.current[oe]=pe,placeholder:S.t("connection.redirectUrlsPlaceholder")}),h.jsx(at,{type:vt.Delete,onClick:()=>va(oe)}),h.jsx(at,{txt:S.t("connection.testSection"),onClick:()=>Aa()})]}),q[oe.toString()]&&h.jsx(mn,{msg:S.t("forms.invalidURL",{name:S.t("connection.redirectUrl")})})]},oe))}),h.jsx(ca,{tip:S.t("connection.sslGradeTooltip"),standalone:!0,children:h.jsx("a",{href:"/add",className:"add-link",onClick:$=>Na($),children:S.t("connection.addRedirectUrl")})})]}),!Ne&&ne(e.redirectUrls.filter($=>!ne($.trim())))&&h.jsx(mn,{msg:S.t("forms.requiredOne",{name:S.t("connection.redirectUrl")}),adjustMargin:!0}),h.jsx(jB,{name:"claimsInIdToken",isAlert:Ve.includes("claimsInIdToken"),value:e.claimsInIdToken||!1,onChange:$=>a({...e,claimsInIdToken:$}),label:S.t("connection.claimsInIdToken"),info:S.t("connection.claimsInIdTokenTooltip")}),e.status!==sn.OPEN&&h.jsxs("div",{className:"oidc-authentication",children:[h.jsx("h3",{children:S.t("connection.connectionOverview.authentication")}),h.jsxs("div",{className:"oidc-authentication-inner",children:[h.jsx(fn,{name:S.t("connection.connectionOverview.discovery"),value:j.discovery,disabled:!0,copyClipBoard:!0}),h.jsx(fn,{name:S.t("connection.connectionOverview.clientID"),value:e.entityID,disabled:!0,copyClipBoard:!0}),h.jsxs("div",{className:"input-field sds--text-field secret-link",children:[h.jsx("span",{className:"label",children:S.t("connection.connectionOverview.secret")}),h.jsx("span",{children:S.t("connection.connectionOverview.secretReset")}),h.jsx("a",{href:"/",onClick:$=>qe($,!0),children:S.t("connection.connectionOverview.secretResetLink")})]})]})]})]}),e.protocol.value===vs.SAML20_SP&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"import-metadata",children:[h.jsx("h2",{children:S.t("connection.configuration")}),!H&&h.jsx(at,{txt:S.t("connection.import"),type:vt.Secondary,onClick:()=>k(!0)})]}),H&&h.jsxs("div",{className:"show-import",children:[h.jsxs("div",{className:"show-import-header",children:[h.jsx("p",{children:S.t("connection.metadata.how")}),h.jsx(ww,{onClick:()=>k(!1)})]}),h.jsx(Uc,{name:"how",value:W,onChange:$=>se($.target.id.replace("how_","")),isMultiple:!0,labels:Object.values(Js),labelResolver:$=>S.t(`connection.metadata.${$}`),orientation:Wc.column}),W===Js.url&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"label top",children:S.t("connection.metadata.urlMetaData")}),h.jsxs("div",{className:"meta-data-url",children:[h.jsx(fn,{value:le,onChange:$=>he($.target.value)}),h.jsx(at,{txt:S.t("connection.metadata.import"),onClick:()=>$e(),type:ff.test(le)?vt.Primary:vt.Secondary,disabled:!ff.test(le)})]})]}),W===Js.file&&h.jsxs("div",{className:"meta-data-file",children:[fe&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"file-name-section",children:[h.jsx("span",{children:fe}),h.jsx(at,{type:vt.Delete,onClick:()=>ye(null)})]}),h.jsx(at,{txt:S.t("connection.metadata.import"),onClick:()=>$e(),type:vt.Primary,disabled:!1})]}),!fe&&h.jsx(iP,{name:"meta-date-file",acceptFileFormat:".xml",txt:S.t("connection.metadata.chooseFile"),onFileUpload:ft})]}),W===Js.paste&&h.jsxs(h.Fragment,{children:[h.jsx("span",{className:"label top",children:S.t("connection.metadata.doPaste")}),h.jsxs("div",{className:"meta-data-url",children:[h.jsx(fn,{value:B,multiline:!0,onChange:$=>K($.target.value)}),h.jsx(at,{txt:S.t("connection.metadata.import"),onClick:()=>$e(),type:ne(B)?vt.Secondary:vt.Primary,disabled:ne(B)})]})]})]}),h.jsx(fn,{value:e.entityID||"",onChange:$=>{a({...e,entityID:$.target.value}),Je(!1)},name:S.t("connection.entityID"),required:!0,onBlur:$=>Le($),placeholder:S.t("connection.entityIDPlaceHolder")}),!Ne&&ne(e.entityID)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.entityID")}),adjustMargin:!0}),we&&h.jsx(mn,{msg:S.t("connection.duplicateEntityID",{entityID:e.entityID}),adjustMargin:!0}),h.jsxs("div",{className:"acs-locations-container",children:[h.jsx("span",{className:"label",children:S.t("connection.acsLocations")}),h.jsx("div",{className:"acs-locations",children:e.acsLocations.map(($,oe)=>h.jsxs("div",{className:"acs-location",children:[h.jsxs("div",{className:"acs-location-inner",children:[h.jsx(fn,{value:$,onChange:pe=>on(pe,oe),onBlur:pe=>Ue(pe,oe),onRef:pe=>Ce.current[oe]=pe}),h.jsx(at,{type:vt.Delete,onClick:()=>ua(oe)})]},oe),V[oe.toString()]&&h.jsx(mn,{msg:S.t("forms.invalidURL",{name:S.t("connection.acsLocation")})})]},oe))}),h.jsx(ca,{tip:S.t("connection.sslGradeTooltip"),standalone:!0,children:h.jsx("a",{href:"/add",className:"add-link",onClick:$=>yn($),children:S.t("connection.addACSLocation")})})]}),!Ne&&ne(e.acsLocations.filter($=>!ne($.trim())))&&h.jsx(mn,{msg:S.t("forms.requiredOne",{name:S.t("connection.acsLocation")}),adjustMargin:!0})]})]}),Dn=($,oe)=>{const pe=oe.target.checked,xe=e.allowedEntities||[];a(pe?{...e,allowedEntities:[...xe,$.entityid]}:{...e,allowedEntities:[...xe.filter(Qe=>Qe!==$.entityid)]})},Dt=$=>{const oe=S.translations[S.locale].connection.testIdPs.identityProviders,pe=e.allowedEntities||[],xe=oe.map(Qe=>Qe.entityid).filter(Qe=>pe.includes(Qe));a({...e,allowedEntities:$.map(Qe=>Qe.value).concat(xe)})},ke=()=>{const $=S.translations[S.locale].connection.testIdPs.identityProviders,oe=e.allowedEntities||[],pe=$.map(xe=>xe.entityid);return h.jsxs("section",{className:"inner-right-idp",children:[h.jsx("h3",{children:S.t("connection.testIdP")}),h.jsx("p",{children:S.t("connection.testIdPs.info")}),h.jsx("h3",{children:S.t("connection.testIdPs.subTitle")}),h.jsx("section",{className:"identity-providers",children:$.map((xe,Qe)=>h.jsxs("div",{className:"idp",children:[h.jsx(oA,{name:xe.name,value:oe.includes(xe.entityid),onChange:Gt=>Dn(xe,Gt)}),h.jsxs("div",{className:"idp-info",children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:xe.name}}),h.jsx("p",{dangerouslySetInnerHTML:{__html:xe.description}})]})]},Qe))}),h.jsx("h3",{children:S.t("connection.testIdPs.institutionIdPs")}),h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.testIdPs.institutionIdPsInfo"))}}),h.jsx(Pa,{options:pk(I.filter(xe=>!oe.includes(xe.data.entityid)),S.locale),value:oe.filter(xe=>!pe.includes(xe)).map(xe=>mk(I,xe,S.locale)),isMulti:!0,searchable:!0,placeholder:S.t("connection.testIdPs.placeholder"),onChange:xe=>Dt(xe)}),!Ne&&ne(e.allowedEntities)&&h.jsx(mn,{msg:S.t("forms.requiredOne",{name:S.t("connection.testIdPs.institution")})})]})},et=()=>h.jsxs("section",{className:"inner-right-idp",children:[h.jsx("h3",{children:S.t("connection.visibility")}),h.jsx("p",{children:S.t("connection.visibilities.info")}),h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.visibilities.disclaimer"))}}),h.jsxs("div",{className:"visibility-options",children:[h.jsxs("p",{className:"question",children:[S.t("connection.visibilities.who"),Ve.includes("visibility")&&h.jsx(ai,{})]}),h.jsx(Uc,{name:"visibility",value:e.visibility,onChange:$=>a({...e,visibility:$.target.id.replace("visibility_","")}),isMultiple:!0,labels:[l6.visible_to_all,l6.visible_to_none],labelResolver:$=>S.t(`connection.visibilities.${$}`),orientation:Wc.column})]}),h.jsxs("div",{className:"visibility-options",children:[h.jsxs("p",{className:"question",children:[S.t("connection.visibilities.connect"),Ve.includes("connectOption")&&h.jsx(ai,{})]}),h.jsx(Uc,{name:"connectOption",value:e.connectOption,onChange:$=>a({...e,connectOption:$.target.id.replace("connectOption_","")}),isMultiple:!0,labels:[Q1.connect_without_interaction_without_email,Q1.connect_without_interaction_with_email,Q1.connect_with_interaction],labelResolver:$=>S.t(`connection.visibilities.${$}`),orientation:Wc.column})]})]}),Ct=()=>h.jsxs("section",{className:"inner-right-overview",children:[h.jsx("h3",{children:S.t("connection.connectionOverviewSAML.title")}),h.jsx("p",{className:"test",dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.connectionOverviewSAML.link",{ADD_ATTR:["target"]}))}})]}),Ba=()=>h.jsxs("section",{className:"inner-right-overview",children:[h.jsx("h3",{children:S.t("connection.connectionOverview.copy")}),h.jsx(zr,{alertType:oa.Warning,asChild:!0,message:S.t("connection.connectionOverview.disclaimer")}),h.jsx("p",{className:"test",dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.connectionOverview.test",{ADD_ATTR:["target"]}))}}),h.jsx(fn,{name:S.t("connection.connectionOverview.discovery"),value:j.discovery,disabled:!0,copyClipBoard:!0}),h.jsx(fn,{name:S.t("connection.connectionOverview.clientID"),value:e.entityID,disabled:!0,copyClipBoard:!0}),h.jsx(fn,{name:S.t("connection.connectionOverview.secret"),value:e.secret,disabled:!0,copyClipBoard:!0})]}),Vt=$=>{a({...e,motivations:[],additionalAttributes:[]}),Mt($)},Da=($,oe)=>{const pe=e.additionalAttributes||[];a(oe?{...e,additionalAttributes:[...pe,$]}:{...e,additionalAttributes:[...pe.filter(xe=>xe!==$)]})},Oe=($,oe)=>{const xe={...e.motivations};xe[oe]=$.target.value,a({...e,motivations:xe})},Q=$=>{a({...e,additionalAttributes:[],profile:$,profileMotivation:""})},ve=($,oe)=>{$?Re({open:!0,cancel:()=>Re({open:!1}),header:S.t("connection.changeRequests.revoke"),question:S.t("connection.changeRequests.revokeConfirmation"),action:()=>ve(!1,oe),modal:null,okButton:S.t("connection.changeRequests.revoke")}):(je(!0),LL(oe).then(()=>{s(),Re({open:!1}),je(!1),x(S.t("connection.changeRequests.revoked",{name:e.name}))}))},Se=$=>{const oe={...e.metaData,...$};return["auditData","created"].forEach(pe=>delete oe[pe]),De.diff(e.metaData,oe)},Ie=($,oe)=>{const pe=$.auditData,xe=pe.notes.match(/\b[A-Z]{2,10}-\d+\b/),Qe=$.created,Gt=Se($),yt=aP(Gt,e.metaData);return h.jsxs("div",{className:"card change-request",children:[h.jsxs("div",{className:"top-container",children:[h.jsxs("div",{className:"audit-data",children:[h.jsx("p",{className:"ticket-number",children:xe[0]}),h.jsx("p",{className:"user",children:pe.user}),h.jsx("p",{className:"created",children:NB(Qe)})]}),h.jsxs("div",{className:"meta",children:[h.jsx(ol,{type:xs.Status_info,className:"open",label:S.t("connection.changeRequests.open")}),h.jsx(at,{type:vt.DestructiveSecondary,onClick:()=>ve(!0,$),txt:S.t("connection.changeRequests.revoke")})]})]}),h.jsx("p",{className:"jsondiffpatch-unchanged-hidden",dangerouslySetInnerHTML:{__html:yt}})]},oe)},dt=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.pendingChanges")}),h.jsxs("div",{className:"info",children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.changeRequests.info1"))}}),h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.changeRequests.info2"))}})]}),e.changeRequests.sort(($,oe)=>new Date(oe.created)-new Date($.created)).map(($,oe)=>Ie($,oe))]}),gt=()=>{const $=e.profile?.value||b.profiles[0].name,oe=S.translations[S.locale].connection.informational.profiles[$].info,pe=b.profiles.find(Qe=>Qe.name===$),xe=t.type==="CONTENT";return h.jsxs("section",{className:"inner-right-informational",children:[h.jsx("h3",{children:S.t("connection.informationProfile")}),xe&&h.jsx(zr,{alertType:oa.Warning,asChild:!0,message:S.t("connection.informational.contentAppAlert")}),!xe&&h.jsx("p",{className:"disclaimer",dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.informational.disclaimer"))}}),h.jsx(Pa,{name:S.t("connection.informationProfile"),options:A,isAlert:Ve.includes("arp"),disabled:xe,value:e.profile,onChange:Q}),!ne(oe)&&h.jsx("p",{className:"profile-info",children:oe}),h.jsx("p",{className:"attributes",dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("connection.informational.attributes"))}}),h.jsx("div",{className:"attributes",children:pe.attributes.map((Qe,Gt)=>h.jsxs(g.Fragment,{children:[h.jsx("span",{children:Qe}),h.jsx("span",{children:b.attributes.find(yt=>yt.name===Qe).example})]},Gt))}),pe.requiresMotivation&&h.jsxs("div",{className:"profile=motivation",children:[h.jsx(fn,{value:e.profileMotivation,name:S.t("connection.informational.profileMotivation"),placeholder:S.t("connection.informational.profileMotivationPlaceholder"),onChange:Qe=>a({...e,profileMotivation:Qe.target.value}),multiline:!0}),!Ne&&ne(e.profileMotivation)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.informational.motivation")})}),h.jsx("p",{className:"profile-info",children:S.t("connection.informational.profileMotivationDisclaimer")})]}),!ne(pe.optionalAttributes)&&t.type!=="CONTENT"&&h.jsxs(h.Fragment,{children:[h.jsxs("section",{className:"additional-attributes",children:[h.jsx("span",{children:S.t("connection.informational.additionalAttributes")}),h.jsx(G1,{name:"additionalAttributes",value:mt||!ne(e.additionalAttributes),onChange:Vt})]}),(mt||!ne(e.additionalAttributes))&&h.jsxs(h.Fragment,{children:[h.jsx("p",{className:"available-attributes",children:S.t("connection.informational.availableAttributes")}),pe.optionalAttributes.map((Qe,Gt)=>{const yt=e.additionalAttributes.includes(Qe);return h.jsxs("div",{className:`additional-attributes optional ${yt?"":"dormant"}`,children:[h.jsxs("section",{className:"optional-attribute",children:[h.jsxs("div",{className:"additional-attribute-info",children:[h.jsx("span",{children:Qe}),h.jsx("span",{children:b.attributes.find(fa=>fa.name===Qe).info[S.locale]})]}),h.jsx(G1,{name:`extraAttribute_${Gt}`,value:yt,onChange:fa=>Da(Qe,fa)})]}),yt&&h.jsx(fn,{value:e.motivations[Qe],name:S.t("connection.informational.motivation"),placeholder:S.t("connection.informational.motivationPlaceholder"),onChange:fa=>Oe(fa,Qe),multiline:!0}),!Ne&&yt&&ne(e.motivations[Qe])&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.informational.motivation")})})]},Gt)})]})]})]})},We=()=>{const $=e.protocol.value===vs.OIDC10_RP;switch(T){case Tt.technical:return Nn();case Tt.informationProfile:return gt();case Tt.testIdP:return M?et():ke();case Tt.overview:return $?Ba():Ct();case Tt.pendingChanges:return dt()}},Hn=()=>{if(Ne)return!1;switch(T){case Tt.technical:return!qn();case Tt.informationProfile:return!Mn();case Tt.testIdP:return M?!1:!Jn();case Tt.pendingChanges:return!1}},Kn=($=!1)=>{Wt(!1);const oe=e.protocol.value===vs.OIDC10_RP,pe=e.status===sn.OPEN;let xe;if(pe?xe=T===Tt.technical?Tt.informationProfile:T===Tt.informationProfile?Tt.testIdP:Tt.overview:xe=T,T===Tt.technical&&qn()||T===Tt.informationProfile&&Mn()||T===Tt.testIdP&&(M||Jn())){je(!0);const Gt=e.id?ML:IL,yt=dk(t,e,b);$&&pe&&(oe&&(yt.metaData.entityID=hk()),yt.status=M?sn.IN_PROGRESS:sn.COMPLETE),Gt(yt).then(fa=>{_([...G,T]),Wt(!0),O(!0),x(S.t(`connection.flash.${e.id?"updated":"created"}`,{name:e.name})),a(W1(fa,y,A,b)),je(!1),ea(xe)}).catch(()=>{je(!1),x(S.t("forms.error"),"error")})}},jn=($,oe)=>{$?Re({open:!0,cancel:()=>Re({open:!1}),action:()=>jn(!1,oe),modal:null,header:S.t("confirmationDialog.confirm"),question:S.t("connection.connections.requestProductionStatusConfirmation",{name:oe.name}),okButton:S.t("connection.connections.requestProductionStatus")}):(ut(!0),jL(oe.id).then(pe=>{ut(!1),Re({open:!0,cancel:null,modal:null,header:S.t("confirmationDialog.ok"),action:()=>{s(),Re({open:!1})},question:S.t("connection.connections.requestProductionStatusPostInfo",{jiraKey:pe.jiraKey}),okButton:S.t("confirmationDialog.ok")})}))},zt=()=>{s(),N(Tt.technical)},wr=()=>{s(),C("overview")},Zr=()=>{const $=T===Tt.testIdP,oe=!Hn(),pe=e.status!==sn.OPEN,xe=e.status==sn.PROD_READY&&M,Qe=T===Tt.overview,Gt=xe?S.t("connection.requiresChangeRequest"):pe?S.t("connection.save"):S.t("connection.saveAndNext");return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"testing-header",children:[h.jsx("h2",{children:S.t(`connection.${pe?"existing":"new"}Connection${M?"Prod":""}`)}),M&&(e.status===sn.COMPLETE||e.status===sn.IN_PROGRESS)&&h.jsx("div",{className:"action-button",children:h.jsx(at,{txt:S.t("connection.connections.requestProductionStatus"),onClick:()=>jn(!0,e)})}),!ne(e.changeRequests)&&h.jsx("div",{className:"action-button",children:h.jsx(at,{txt:S.t("connection.pendingChanges"),onClick:()=>N(Tt.pendingChanges)})}),!pe&&(t.connections?.length>1||ne(e.id)&&t.connections.length===1)&&h.jsxs("div",{className:"copy-connection",tabIndex:1,onBlur:()=>setTimeout(()=>P(!1),475),children:[h.jsx(at,{onClick:()=>P(!L),txt:S.t("connection.copyConnection"),icon:h.jsx(A5,{}),type:vt.Secondary}),L&&h.jsx("section",{className:"copy-connection-section sds--user-info--dropdown",children:t.connections.filter(yt=>yt.id&&yt.name!==e.name).map((yt,fa)=>h.jsx("span",{onClick:()=>_t(yt.id),children:yt.name},fa))})]})]}),h.jsxs("div",{className:"testing",children:[h.jsxs("section",{className:"left",children:[h.jsx("div",{className:"status-menu",children:Object.values(Tt).filter(yt=>yt!==Tt.overview).filter(yt=>yt!==Tt.pendingChanges||!ne(e.changeRequests)).map(yt=>h.jsx(xw,{pending:He(yt),hideIcon:e.status!==sn.OPEN&&yt!==Tt.pendingChanges,disabled:it(yt),isAlert:yt===Tt.pendingChanges,action:()=>ea(yt),info:S.t(`connection.${yt!==Tt.testIdP||!M?yt:"visibility"}`),active:T===yt},yt))}),h.jsxs("div",{className:"call-for-action",children:[h.jsx("p",{children:S.t("connection.help")}),h.jsx(at,{txt:S.t("connection.callSurf"),type:vt.Secondary,onClick:()=>En()}),h.jsx(at,{txt:S.t("connection.supportTicket"),type:vt.Secondary,onClick:()=>pt()})]})]}),h.jsxs("section",{className:"right",children:[We(),h.jsxs("div",{className:`actions ${Qe?"orphan":""}`,children:[!Qe&&h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:"sub-actions",children:[h.jsx(at,{txt:S.t(`forms.${pe?"backToConnections":"cancel"}`),type:vt.Secondary,onClick:zt}),h.jsx("div",{className:"delete-connection",children:h.jsx(at,{type:vt.Delete,onClick:()=>be(!0)})})]}),h.jsx(at,{txt:Gt,disabled:!oe,onClick:()=>Kn($)})]}),Qe&&h.jsx(at,{txt:S.t("forms.overview"),type:vt.Secondary,icon:h.jsx(L5,{}),onClick:wr})]})]})]})]})},Yr=($,oe="")=>{U(`/connection/${t.id}/${M?"prod":"testing"}/${$.id}${oe}`),$.status!==sn.OPEN?(je(!0),gS($.id).then(pe=>{const xe=W1(pe,y,A,b);if(!ne(xe.changeRequests)){const Qe=[...new Set(xe.changeRequests.flatMap(Gt=>Object.keys(Gt)))];ot(Qe)}a(xe),N(Tt.technical),je(!1)})):a($)},zo=$=>{const oe=[{key:"name",header:S.t("connection.connections.name"),className:"cut-of-line",mapper:pe=>pe.name},{key:"protocol",header:S.t("connection.connections.protocol"),mapper:pe=>S.t(`connection.${pe.protocol.value.toLowerCase()}`)},{key:"status",header:S.t("connection.connections.status"),mapper:pe=>{const xe=M&&t.signedContract&&(pe.status===sn.COMPLETE||pe.status===sn.IN_PROGRESS),Qe=null,Gt=xe?"ready_for_prod":ne(pe.changeRequests)?pe.status.toLowerCase():"open_change_requests";return h.jsxs("div",{className:"status-chip",children:[h.jsx(ol,{type:xs.Status_error,className:Gt,label:S.t(`connection.connections.${Gt}`),children:ne(pe.changeRequests)?null:h.jsx(ai,{})}),Qe]})}},{key:"updatedAt",header:S.t("connection.connections.updatedAt"),mapper:pe=>Oa(pe.updatedAt,!0,!1)},{key:"details",header:"",nonSortable:!0,mapper:()=>h.jsx(ul,{})}];return h.jsx(Os,{entities:$,modelName:"table-connections",defaultSort:"name",columns:oe,hideTitle:!0,showNew:!1,rowLinkMapper:(pe,xe)=>Yr(xe),displaySearch:!1,searchAttributes:["name","protocol"],inputFocus:!0})},Wr=()=>h.jsxs("div",{className:"connections",children:[M&&h.jsx(rw,{application:t,user:o,productionOnly:!0,setTab:C,fullWidth:!0,customProdTabAction:()=>Yr(gn.find($=>$.status===sn.COMPLETE||$.status===sn.IN_PROGRESS)),testConnectionComplete:u,productionConnectionComplete:d,appInformationComplete:f,productionConnectionNeedsActivation:m}),h.jsxs("div",{className:"header",children:[h.jsx("h3",{children:S.t(`connection.${M?"production":"test"}.connections`)}),h.jsx(at,{txt:S.t("testing.newConnection"),type:vt.Secondary,onClick:()=>i(M?la.PROD:la.TEST,!0)})]}),!ne(gn)&&zo(gn),ne(gn)&&h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("testing.zeroState",{name:t.name,type:S.t(`testing.${M?"production":"test"}`)}))}})]});if(At)return h.jsx(Sn,{});const ar=(ne(gn)||e?.new||e?.id)&&!ne(e),{open:na,cancel:Ln,action:Rs,modal:Is,okButton:Pi,question:Hi,header:hi}=Ae;return h.jsxs("div",{className:"testing-container",children:[na&&h.jsx(Cr,{confirm:Rs,cancel:Ln,confirmationHeader:hi,confirmationTxt:Pi,disabledConfirm:Qt,question:Hi,children:Is===H1.resetSecretDisclaimer?h.jsx(zr,{alertType:oa.Error,asChild:!0,message:S.t("connection.connectionOverview.secretResetDisclaimer")}):Is===H1.resetSecret?h.jsxs("div",{children:[h.jsx(zr,{alertType:oa.Warning,asChild:!0,message:S.t("connection.connectionOverview.disclaimer")}),h.jsx(fn,{name:S.t("connection.connectionOverview.secret"),value:e.secret,disabled:!0,copyClipBoard:!0})]}):null}),ar?Zr():Wr()]})};function zE(t,e){return ne(t)||t.startsWith("http")||t.startsWith("data:image")?t:`data:image/${e};base64,${t}`}var LB=Object.defineProperty,kB=(t,e,a)=>e in t?LB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[e]=a,hn=(t,e,a)=>kB(t,typeof e!="symbol"?e+"":e,a);const wf={x:0,y:0,width:0,height:0,unit:"px"},ro=(t,e,a)=>Math.min(Math.max(t,e),a),_B=(...t)=>t.filter(e=>e&&typeof e=="string").join(" "),qE=(t,e)=>t===e||t.width===e.width&&t.height===e.height&&t.x===e.x&&t.y===e.y&&t.unit===e.unit;function zB(t,e,a,i){const s=ei(t,a,i);return t.width&&(s.height=s.width/e),t.height&&(s.width=s.height*e),s.y+s.height>i&&(s.height=i-s.y,s.width=s.height*e),s.x+s.width>a&&(s.width=a-s.x,s.height=s.width/e),t.unit==="%"?Ss(s,a,i):s}function qB(t,e,a){const i=ei(t,e,a);return i.x=(e-i.width)/2,i.y=(a-i.height)/2,t.unit==="%"?Ss(i,e,a):i}function Ss(t,e,a){return t.unit==="%"?{...wf,...t,unit:"%"}:{unit:"%",x:t.x?t.x/e*100:0,y:t.y?t.y/a*100:0,width:t.width?t.width/e*100:0,height:t.height?t.height/a*100:0}}function ei(t,e,a){return t.unit?t.unit==="px"?{...wf,...t,unit:"px"}:{unit:"px",x:t.x?t.x*e/100:0,y:t.y?t.y*a/100:0,width:t.width?t.width*e/100:0,height:t.height?t.height*a/100:0}:{...wf,...t,unit:"px"}}function UE(t,e,a,i,s,o=0,u=0,d=i,f=s){const m={...t};let y=Math.min(o,i),b=Math.min(u,s),C=Math.min(d,i),A=Math.min(f,s);e&&(e>1?(y=u?u*e:y,b=y/e,C=d*e):(b=o?o/e:b,y=b*e,A=f/e)),m.y<0&&(m.height=Math.max(m.height+m.y,b),m.y=0),m.x<0&&(m.width=Math.max(m.width+m.x,y),m.x=0);const I=i-(m.x+m.width);I<0&&(m.x=Math.min(m.x,i-y),m.width+=I);const M=s-(m.y+m.height);if(M<0&&(m.y=Math.min(m.y,s-b),m.height+=M),m.width<y&&((a==="sw"||a=="nw")&&(m.x-=y-m.width),m.width=y),m.height<b&&((a==="nw"||a=="ne")&&(m.y-=b-m.height),m.height=b),m.width>C&&((a==="sw"||a=="nw")&&(m.x-=C-m.width),m.width=C),m.height>A&&((a==="nw"||a=="ne")&&(m.y-=A-m.height),m.height=A),e){const O=m.width/m.height;if(O<e){const R=Math.max(m.width/e,b);(a==="nw"||a=="ne")&&(m.y-=R-m.height),m.height=R}else if(O>e){const R=Math.max(m.height*e,y);(a==="sw"||a=="nw")&&(m.x-=R-m.width),m.width=R}}return m}function UB(t,e,a,i){const s={...t};return e==="ArrowLeft"?i==="nw"?(s.x-=a,s.y-=a,s.width+=a,s.height+=a):i==="w"?(s.x-=a,s.width+=a):i==="sw"?(s.x-=a,s.width+=a,s.height+=a):i==="ne"?(s.y+=a,s.width-=a,s.height-=a):i==="e"?s.width-=a:i==="se"&&(s.width-=a,s.height-=a):e==="ArrowRight"&&(i==="nw"?(s.x+=a,s.y+=a,s.width-=a,s.height-=a):i==="w"?(s.x+=a,s.width-=a):i==="sw"?(s.x+=a,s.width-=a,s.height-=a):i==="ne"?(s.y-=a,s.width+=a,s.height+=a):i==="e"?s.width+=a:i==="se"&&(s.width+=a,s.height+=a)),e==="ArrowUp"?i==="nw"?(s.x-=a,s.y-=a,s.width+=a,s.height+=a):i==="n"?(s.y-=a,s.height+=a):i==="ne"?(s.y-=a,s.width+=a,s.height+=a):i==="sw"?(s.x+=a,s.width-=a,s.height-=a):i==="s"?s.height-=a:i==="se"&&(s.width-=a,s.height-=a):e==="ArrowDown"&&(i==="nw"?(s.x+=a,s.y+=a,s.width-=a,s.height-=a):i==="n"?(s.y+=a,s.height-=a):i==="ne"?(s.y+=a,s.width-=a,s.height-=a):i==="sw"?(s.x-=a,s.width+=a,s.height+=a):i==="s"?s.height+=a:i==="se"&&(s.width+=a,s.height+=a)),s}const io={capture:!0,passive:!1};let PB=0;const ys=class kr extends g.PureComponent{constructor(){super(...arguments),hn(this,"docMoveBound",!1),hn(this,"mouseDownOnCrop",!1),hn(this,"dragStarted",!1),hn(this,"evData",{startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0}),hn(this,"componentRef",g.createRef()),hn(this,"mediaRef",g.createRef()),hn(this,"resizeObserver"),hn(this,"initChangeCalled",!1),hn(this,"instanceId",`rc-${PB++}`),hn(this,"state",{cropIsActive:!1,newCropIsBeingDrawn:!1}),hn(this,"onCropPointerDown",e=>{const{crop:a,disabled:i}=this.props,s=this.getBox();if(!a)return;const o=ei(a,s.width,s.height);if(i)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const u=e.target.dataset.ord,d=!!u;let f=e.clientX,m=e.clientY,y=o.x,b=o.y;if(u){const C=e.clientX-s.x,A=e.clientY-s.y;let I=0,M=0;u==="ne"||u=="e"?(I=C-(o.x+o.width),M=A-o.y,y=o.x,b=o.y+o.height):u==="se"||u==="s"?(I=C-(o.x+o.width),M=A-(o.y+o.height),y=o.x,b=o.y):u==="sw"||u=="w"?(I=C-o.x,M=A-(o.y+o.height),y=o.x+o.width,b=o.y):(u==="nw"||u=="n")&&(I=C-o.x,M=A-o.y,y=o.x+o.width,b=o.y+o.height),f=y+s.x+I,m=b+s.y+M}this.evData={startClientX:f,startClientY:m,startCropX:y,startCropY:b,clientX:e.clientX,clientY:e.clientY,isResize:d,ord:u},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})}),hn(this,"onComponentPointerDown",e=>{const{crop:a,disabled:i,locked:s,keepSelection:o,onChange:u}=this.props,d=this.getBox();if(i||s||o&&a)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const f=e.clientX-d.x,m=e.clientY-d.y,y={unit:"px",x:f,y:m,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:f,startCropY:m,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,u(ei(y,d.width,d.height),Ss(y,d.width,d.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})}),hn(this,"onDocPointerMove",e=>{const{crop:a,disabled:i,onChange:s,onDragStart:o}=this.props,u=this.getBox();if(i||!a||!this.mouseDownOnCrop)return;e.cancelable&&e.preventDefault(),this.dragStarted||(this.dragStarted=!0,o&&o(e));const{evData:d}=this;d.clientX=e.clientX,d.clientY=e.clientY;let f;d.isResize?f=this.resizeCrop():f=this.dragCrop(),qE(a,f)||s(ei(f,u.width,u.height),Ss(f,u.width,u.height))}),hn(this,"onComponentKeyDown",e=>{const{crop:a,disabled:i,onChange:s,onComplete:o}=this.props;if(i)return;const u=e.key;let d=!1;if(!a)return;const f=this.getBox(),m=this.makePixelCrop(f),y=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?kr.nudgeStepLarge:e.shiftKey?kr.nudgeStepMedium:kr.nudgeStep;if(u==="ArrowLeft"?(m.x-=y,d=!0):u==="ArrowRight"?(m.x+=y,d=!0):u==="ArrowUp"?(m.y-=y,d=!0):u==="ArrowDown"&&(m.y+=y,d=!0),d){e.cancelable&&e.preventDefault(),m.x=ro(m.x,0,f.width-m.width),m.y=ro(m.y,0,f.height-m.height);const b=ei(m,f.width,f.height),C=Ss(m,f.width,f.height);s(b,C),o&&o(b,C)}}),hn(this,"onHandlerKeyDown",(e,a)=>{const{aspect:i=0,crop:s,disabled:o,minWidth:u=0,minHeight:d=0,maxWidth:f,maxHeight:m,onChange:y,onComplete:b}=this.props,C=this.getBox();if(o||!s)return;if(e.key==="ArrowUp"||e.key==="ArrowDown"||e.key==="ArrowLeft"||e.key==="ArrowRight")e.stopPropagation(),e.preventDefault();else return;const A=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?kr.nudgeStepLarge:e.shiftKey?kr.nudgeStepMedium:kr.nudgeStep,I=ei(s,C.width,C.height),M=UB(I,e.key,A,a),O=UE(M,i,a,C.width,C.height,u,d,f,m);if(!qE(s,O)){const R=Ss(O,C.width,C.height);y(O,R),b&&b(O,R)}}),hn(this,"onDocPointerDone",e=>{const{crop:a,disabled:i,onComplete:s,onDragEnd:o}=this.props,u=this.getBox();this.unbindDocMove(),!(i||!a)&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,o&&o(e),s&&s(ei(a,u.width,u.height),Ss(a,u.width,u.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))}),hn(this,"onDragFocus",()=>{var e;(e=this.componentRef.current)==null||e.scrollTo(0,0)})}get document(){return document}getBox(){const e=this.mediaRef.current;if(!e)return{x:0,y:0,width:0,height:0};const{x:a,y:i,width:s,height:o}=e.getBoundingClientRect();return{x:a,y:i,width:s,height:o}}componentDidUpdate(e){const{crop:a,onComplete:i}=this.props;if(i&&!e.crop&&a){const{width:s,height:o}=this.getBox();s&&o&&i(ei(a,s,o),Ss(a,s,o))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,io),this.document.addEventListener("pointerup",this.onDocPointerDone,io),this.document.addEventListener("pointercancel",this.onDocPointerDone,io),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,io),this.document.removeEventListener("pointerup",this.onDocPointerDone,io),this.document.removeEventListener("pointercancel",this.onDocPointerDone,io),this.docMoveBound=!1)}getCropStyle(){const{crop:e}=this.props;if(e)return{top:`${e.y}${e.unit}`,left:`${e.x}${e.unit}`,width:`${e.width}${e.unit}`,height:`${e.height}${e.unit}`}}dragCrop(){const{evData:e}=this,a=this.getBox(),i=this.makePixelCrop(a),s=e.clientX-e.startClientX,o=e.clientY-e.startClientY;return i.x=ro(e.startCropX+s,0,a.width-i.width),i.y=ro(e.startCropY+o,0,a.height-i.height),i}getPointRegion(e,a,i,s){const{evData:o}=this,u=o.clientX-e.x,d=o.clientY-e.y;let f;s&&a?f=a==="nw"||a==="n"||a==="ne":f=d<o.startCropY;let m;return i&&a?m=a==="nw"||a==="w"||a==="sw":m=u<o.startCropX,m?f?"nw":"sw":f?"ne":"se"}resolveMinDimensions(e,a,i=0,s=0){const o=Math.min(i,e.width),u=Math.min(s,e.height);return!a||!o&&!u?[o,u]:a>1?o?[o,o/a]:[u*a,u]:u?[u*a,u]:[o,o/a]}resizeCrop(){const{evData:e}=this,{aspect:a=0,maxWidth:i,maxHeight:s}=this.props,o=this.getBox(),[u,d]=this.resolveMinDimensions(o,a,this.props.minWidth,this.props.minHeight);let f=this.makePixelCrop(o);const m=this.getPointRegion(o,e.ord,u,d),y=e.ord||m;let b=e.clientX-e.startClientX,C=e.clientY-e.startClientY;(u&&y==="nw"||y==="w"||y==="sw")&&(b=Math.min(b,-u)),(d&&y==="nw"||y==="n"||y==="ne")&&(C=Math.min(C,-d));const A={unit:"px",x:0,y:0,width:0,height:0};m==="ne"?(A.x=e.startCropX,A.width=b,a?(A.height=A.width/a,A.y=e.startCropY-A.height):(A.height=Math.abs(C),A.y=e.startCropY-A.height)):m==="se"?(A.x=e.startCropX,A.y=e.startCropY,A.width=b,a?A.height=A.width/a:A.height=C):m==="sw"?(A.x=e.startCropX+b,A.y=e.startCropY,A.width=Math.abs(b),a?A.height=A.width/a:A.height=C):m==="nw"&&(A.x=e.startCropX+b,A.width=Math.abs(b),a?(A.height=A.width/a,A.y=e.startCropY-A.height):(A.height=Math.abs(C),A.y=e.startCropY+C));const I=UE(A,a,m,o.width,o.height,u,d,i,s);return a||kr.xyOrds.indexOf(y)>-1?f=I:kr.xOrds.indexOf(y)>-1?(f.x=I.x,f.width=I.width):kr.yOrds.indexOf(y)>-1&&(f.y=I.y,f.height=I.height),f.x=ro(f.x,0,o.width-f.width),f.y=ro(f.y,0,o.height-f.height),f}renderCropSelection(){const{ariaLabels:e=kr.defaultProps.ariaLabels,disabled:a,locked:i,renderSelectionAddon:s,ruleOfThirds:o,crop:u}=this.props,d=this.getCropStyle();if(u)return te.createElement("div",{style:d,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":e.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!a&&!i&&te.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},te.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),te.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),te.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),te.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":e.nwDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"nw"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":e.nDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"n"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":e.neDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"ne"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":e.eDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"e"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":e.seDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"se"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":e.sDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"s"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":e.swDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"sw"),role:"button"}),te.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":e.wDragHandle,onKeyDown:f=>this.onHandlerKeyDown(f,"w"),role:"button"})),s&&te.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:f=>f.stopPropagation()},s(this.state)),o&&te.createElement(te.Fragment,null,te.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),te.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(e){const a={...wf,...this.props.crop||{}};return ei(a,e.width,e.height)}render(){const{aspect:e,children:a,circularCrop:i,className:s,crop:o,disabled:u,locked:d,style:f,ruleOfThirds:m}=this.props,{cropIsActive:y,newCropIsBeingDrawn:b}=this.state,C=o?this.renderCropSelection():null,A=_B("ReactCrop",s,y&&"ReactCrop--active",u&&"ReactCrop--disabled",d&&"ReactCrop--locked",b&&"ReactCrop--new-crop",o&&e&&"ReactCrop--fixed-aspect",o&&i&&"ReactCrop--circular-crop",o&&m&&"ReactCrop--rule-of-thirds",!this.dragStarted&&o&&!o.width&&!o.height&&"ReactCrop--invisible-crop",i&&"ReactCrop--no-animate");return te.createElement("div",{ref:this.componentRef,className:A,style:f},te.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},a),o?te.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},te.createElement("defs",null,te.createElement("mask",{id:`hole-${this.instanceId}`},te.createElement("rect",{width:"100%",height:"100%",fill:"white"}),i?te.createElement("ellipse",{cx:`${o.x+o.width/2}${o.unit}`,cy:`${o.y+o.height/2}${o.unit}`,rx:`${o.width/2}${o.unit}`,ry:`${o.height/2}${o.unit}`,fill:"black"}):te.createElement("rect",{x:`${o.x}${o.unit}`,y:`${o.y}${o.unit}`,width:`${o.width}${o.unit}`,height:`${o.height}${o.unit}`,fill:"black"}))),te.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,C)}};hn(ys,"xOrds",["e","w"]),hn(ys,"yOrds",["n","s"]),hn(ys,"xyOrds",["nw","ne","se","sw"]),hn(ys,"nudgeStep",1),hn(ys,"nudgeStepMedium",10),hn(ys,"nudgeStepLarge",100),hn(ys,"defaultProps",{ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}});let HB=ys;var PE=function(t,e,a){if(a||arguments.length===2)for(var i=0,s=e.length,o;i<s;i++)(o||!(i in e))&&(o||(o=Array.prototype.slice.call(e,0,i)),o[i]=e[i]);return t.concat(o||Array.prototype.slice.call(e))},BB=(function(){function t(e,a,i){this.name=e,this.version=a,this.os=i,this.type="browser"}return t})(),FB=(function(){function t(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}return t})(),VB=(function(){function t(e,a,i,s){this.name=e,this.version=a,this.os=i,this.bot=s,this.type="bot-device"}return t})(),GB=(function(){function t(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null}return t})(),ZB=(function(){function t(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}return t})(),YB=/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/,WB=/(nuhk|curl|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,HE=3,QB=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["pie",/^Microsoft Pocket Internet Explorer\/(\d+\.\d+)$/],["pie",/^Mozilla\/\d\.\d+\s\(compatible;\s(?:MSP?IE|MSInternet Explorer) (\d+\.\d+);.*Windows CE.*\)$/],["netfront",/^Mozilla\/\d\.\d+.*NetFront\/(\d.\d)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FB[AS]V\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["curl",/^curl\/([0-9\.]+)$/],["searchbot",YB]],BE=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Windows CE",/Windows CE|WinCE|Microsoft Pocket Internet Explorer/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function JB(t){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"?new ZB:typeof navigator<"u"?XB(navigator.userAgent):eF()}function KB(t){return t!==""&&QB.reduce(function(e,a){var i=a[0],s=a[1];if(e)return e;var o=s.exec(t);return!!o&&[i,o]},!1)}function XB(t){var e=KB(t);if(!e)return null;var a=e[0],i=e[1];if(a==="searchbot")return new GB;var s=i[1]&&i[1].split(".").join("_").split("_").slice(0,3);s?s.length<HE&&(s=PE(PE([],s,!0),tF(HE-s.length),!0)):s=[];var o=s.join("."),u=$B(t),d=WB.exec(t);return d&&d[1]?new VB(a,o,u,d[1]):new BB(a,o,u)}function $B(t){for(var e=0,a=BE.length;e<a;e++){var i=BE[e],s=i[0],o=i[1],u=o.exec(t);if(u)return s}return null}function eF(){var t=typeof process<"u"&&process.version;return t?new FB(process.version.slice(1)):null}function tF(t){for(var e=[],a=0;a<t;a++)e.push("0");return e}const nF=JB(),aF=({imageSource:t,onChange:e})=>{const a=g.useRef(null),i=g.useRef(null),[s,o]=g.useState(null),[u,d]=g.useState(t),[f,m]=g.useState(t),[y,b]=g.useState(null),[C,A]=g.useState(null),[I,M]=g.useState(null),[O,R]=g.useState(!1),[x,j]=g.useState(!1),[U,L]=g.useState(!1),P=_=>{const q=_.target.files;if(q&&q[0])if(q[0].size>2*1024*1e3)o(S.t("connection.logo.imageToLarge"));else{o(null);const V=new FileReader;V.onloadend=()=>{let D=V.result;const H=D.indexOf("svg+xml")>-1;H&&(D=sa.sanitize(D));const k=D.split(",")[1];m(u),d(k),b(H),R(!0)},V.readAsDataURL(q[0])}},F=()=>{if(!x&&nF.name==="safari"&&(j(!0),setTimeout(()=>F(),750)),a.current&&C.width&&C.height){L(!0);const _=a.current,q=_.naturalWidth/_.width,Z=_.naturalHeight/_.height,V=C.width*q,D=C.height*Z,H=Math.max(V,D),k=new OffscreenCanvas(H,H),W=k.getContext("2d");W.fillStyle="#fff",W.fillRect(0,0,H,H),W.drawImage(_,C.x*q,C.y*Z,V,D,(H-V)/2,(H-D)/2,V,D);const se={type:"image/jpeg",quality:1};k.convertToBlob(se).then(B=>{if(!B)return;const K=new FileReader;K.onloadend=()=>{const he=K.result.split(",")[1];d(he),e(he),L(!1),R(!1),M(null),A(null)},K.readAsDataURL(B)})}},E=()=>{i.current.value=null,i.current.click()},T=()=>{R(!1),d(f),M(null),A(null)},N=(_,q,Z)=>qB(zB({unit:"%",width:100},Z,_,q),_,q),G=_=>{const q=_.target;a.current=q;const{width:Z,height:V}=q,D=N(Z,V,1);M(D)};return h.jsxs("div",{className:"image-field-container",children:[O&&h.jsx(Cr,{confirm:()=>F(),confirmationTxt:S.t("connection.logo.confirm"),cancel:()=>T(),disabledConfirm:U,confirmationHeader:S.t("connection.logo.header"),children:h.jsx(HB,{crop:I,onChange:(_,q)=>M(q),onComplete:_=>A(_),aspect:1,minHeight:100,children:h.jsx("img",{src:zE(u,y?"svg+xml":"jpeg"),onLoad:G,ref:a,alt:"Crop me"})})}),h.jsxs("div",{className:"image-field",children:[u&&h.jsx("img",{alt:"Crop me",src:zE(u,"jpeg")}),!u&&h.jsx(u5,{})]}),h.jsxs("div",{className:"edit-options",children:[h.jsx("input",{type:"file",ref:i,name:"fileUpload",accept:"image/png, image/jpeg, image/jpg, image/svg+xml, image/webp",onChange:P}),h.jsx(at,{txt:S.t(`connection.logo.${ne(t)?"add":"edit"}`),onClick:E}),h.jsx("ul",{children:S.translations[S.locale].connection.logo.disclaimers.map((_,q)=>h.jsx("li",{children:_},q))}),s&&h.jsx(mn,{standalone:!0,msg:s})]})]})},Pt={logo:"logo",contact:"contact",privacy:"privacy",overview:"overview"},rF=({application:t,setApplication:e,refresh:a,privacyInfo:i,changeTab:s,protocolOptions:o,profileOptions:u,arpInfo:d})=>{const{setFlash:f}=Pe(k=>k),[m,y]=g.useState(Pt.logo),[b,C]=g.useState(!0),[A,I]=g.useState(!1);g.useEffect(()=>{ne(t.privacy.dpa_type)&&(t.privacy.dpa_type="dpa_supplied_by_service",e({...t}))},[]);const M=k=>{switch(k){case Pt.logo:return!oo(t);case Pt.contact:return!co(t);case Pt.privacy:return!uo(i,t)}},O=k=>!(m===Pt.logo?oo(t):m===Pt.contact?co(t):uo(i,t))&&!(k===m),R=()=>{if(b)return!1;switch(m){case Pt.logo:return!oo(t);case Pt.contact:return!co(t);case Pt.privacy:return!uo(i,t);case Pt.overview:return!0}},x=()=>{C(!1);const k=m===Pt.logo?Pt.contact:m===Pt.contact?Pt.privacy:(m===Pt.privacy,Pt.overview);if(m===Pt.logo&&oo(t)||m===Pt.contact&&co(t)||m===Pt.privacy&&uo(i,t)){I(!0);let se=!1;m===Pt.privacy&&t.status===lo.OPEN&&(t.status=lo.COMPLETE,se=!0);const B=mC(t);c5(B).then(K=>{C(!0),I(!1),f(S.t("application.flash",{name:K.name})),e(Ao(K,o,u,d)),(K.status===lo.OPEN||se)&&T(k)}).catch(K=>{I(!1),f(S.t("forms.error"),"error")})}},j=()=>{a(),s("overview"),y(Pt.logo)},U=(k,W,se)=>{const B={...t,[k]:{...t[k],[W]:se}};e(B)},L=k=>{const W={...t,logoUrl:k};e(W)},P=k=>({value:k,label:S.t(`connection.appInfo.tagsAvailable.${k}`)}),F=()=>Object.keys(S.translations[S.locale].connection.appInfo.tagsAvailable).filter(k=>k!=="recommended"&&k!=="surf").map(P),E=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.appInfo.label")}),h.jsx(aF,{imageSource:t.logoUrl||"",onChange:k=>L(k)}),!b&&ne(t.logoUrl)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.logoUrl")})}),h.jsx(fn,{value:t.information.descriptionEN||"",onChange:k=>U("information","descriptionEN",k.target.value),name:S.t("connection.appInfo.descriptionEn"),required:!0,multiline:!0}),!b&&ne(t.information.descriptionNL)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.descriptionEn")})}),h.jsx(fn,{value:t.information.descriptionNL||"",onChange:k=>U("information","descriptionNL",k.target.value),name:S.t("connection.appInfo.descriptionNl"),required:!0,multiline:!0}),!b&&ne(t.information.descriptionNL)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.descriptionNl")})}),h.jsx(fn,{value:t.information.webSite||"",onChange:k=>U("information","webSite",k.target.value),name:S.t("connection.appInfo.webSite"),required:!0}),!b&&ne(t.information.webSite)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.appInfo.webSite")})}),!b&&!il(t.information.webSite)&&h.jsx(mn,{msg:S.t("forms.invalidURL",{name:S.t("connection.appInfo.webSite")})}),h.jsx(Pa,{name:S.t("connection.appInfo.tags"),options:F().filter(k=>!(t.information.tags||[]).includes(k)),value:(t.information.tags||[]).map(k=>P(k)),isMulti:!0,searchable:!0,placeholder:S.t("connection.appInfo.tagPlaceholder"),onChange:k=>k.length<=3&&U("information","tags",k.map(W=>W.value)),info:S.t("connection.appInfo.tagInfo")})]}),T=k=>{y(k)},N=(k,W,se)=>{let B=t.contactPersons.find(le=>le.type===k);ne(B)&&(B={type:k,email:"",name:""},t.contactPersons.push(B)),B[W]=se;const K={...t,contactPersons:[...t.contactPersons]};e(K)},G=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.contacts.label")}),h.jsx("p",{children:S.t("connection.contacts.info")}),["administrative","technical","support"].map(k=>{const W=t.contactPersons.find(se=>se.type===k)||{email:"",name:""};return h.jsxs("section",{className:"contact-person",children:[h.jsx(fn,{value:W.name,name:S.t(`connection.contacts.${k}`),placeholder:S.t("connection.contacts.name"),onChange:se=>N(k,"name",se.target.value),toolTip:S.t(`connection.contacts.${k}Tooltip`)}),!b&&ne(W.name)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.contacts.name")})}),h.jsx(fn,{value:W.email,name:S.t("connection.contacts.emailOrWebsite"),placeholder:S.t(`connection.contacts.${k}Placeholder`,{name:t.name.toLowerCase()}),onChange:se=>N(k,"email",se.target.value)}),!b&&ne(W.email)&&h.jsx(mn,{msg:S.t("forms.required",{name:S.t("connection.contacts.emailOrWebsite")})}),!b&&!(il(W.email)||fk(W.email))&&h.jsx(mn,{msg:S.t("forms.invalidEmailURL",{name:W.email})})]},k)})]}),_=(k,W)=>{t.privacy[k]=W,e({...t})},q=k=>({value:k.name,label:k[`info_${S.locale}`]}),Z=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.privacy.label")}),h.jsx("p",{children:S.t("connection.privacy.info")}),i.map((k,W)=>h.jsxs("section",{children:[ne(k.enum)&&h.jsx(fn,{value:t.privacy[k.name]||"",name:k[`info_${S.locale}`],onChange:se=>_(k.name,se.target.value),placeholder:k[`placeholder_${S.locale}`],toolTip:ne(k.tooltip_en)?null:k[`tooltip_${S.locale}`]}),!ne(k.enum)&&h.jsx(Pa,{name:k[`info_${S.locale}`],options:k.enum.filter(se=>se!==t.privacy[k.name]).map(se=>q(se)),value:q(k.enum.find(se=>t.privacy[k.name]===se.name||se.name===k.default)),onChange:se=>_(k.name,se.value),toolTip:ne(k.tooltip_en)?null:k[`tooltip_${S.locale}`]}),k.required&&!b&&ne(t.privacy[k.name])&&h.jsx(mn,{msg:S.t("connection.privacy.answerIsRequired")}),k.format&&!b&&!ne(t.privacy[k.name])&&!il(t.privacy[k.name])&&h.jsx(mn,{msg:S.t("forms.invalidURL",{name:k[`info_${S.locale}`]})})]},W))]}),V=()=>h.jsxs("section",{className:"inner-right",children:[h.jsx("h3",{children:S.t("connection.appOverview.label")}),h.jsx("p",{children:S.t("connection.appOverview.info")}),h.jsxs("div",{className:"application",children:[ne(t.logoUrl)?h.jsx(u5,{}):h.jsx("img",{src:t.logoUrl,alt:t.name}),h.jsxs("div",{className:"application-info",children:[h.jsx("h3",{children:t.name}),h.jsx(dA,{txt:t.information[`description${S.locale.toUpperCase()}`],cutoffNumber:300,moreLabel:S.t("forms.moreLabel"),lessLabel:S.t("forms.lessLabel")}),h.jsx("a",{href:t.information.webSite,target:"_blank",children:t.information.webSite})]})]})]}),D=()=>{switch(m){case Pt.logo:return E();case Pt.contact:return G();case Pt.privacy:return Z();case Pt.overview:return V()}};if(A)return h.jsx(Sn,{});const H=t.status!==lo.OPEN?S.t("connection.save"):S.t("connection.saveAndNext");return h.jsxs("div",{className:"app-information-container",children:[h.jsx("div",{className:"app-header",children:h.jsx("h2",{children:S.t("connection.appInfo.title")})}),h.jsxs("div",{className:"app-information",children:[h.jsx("section",{className:"left",children:h.jsx("div",{className:"status-menu",children:Object.values(Pt).filter(k=>k!==Pt.overview).map(k=>h.jsx(xw,{pending:M(k),disabled:O(k),hideIcon:t.status===lo.COMPLETE,action:()=>T(k),info:S.t(`connection.appInfo.sections.${k}`),active:m===k},k))})}),h.jsxs("section",{className:"right",children:[D(),h.jsxs("div",{className:`actions ${m===Pt.overview?"orphan":""}`,children:[m!==Pt.overview&&h.jsxs(h.Fragment,{children:[h.jsx(at,{txt:S.t("forms.backToOverview"),type:vt.Secondary,onClick:j}),h.jsx(at,{txt:H,disabled:R(),onClick:()=>x()})]}),m===Pt.overview&&h.jsx(at,{txt:S.t("forms.overview"),type:vt.Secondary,icon:h.jsx(L5,{}),onClick:()=>j()})]})]})]})]})},iF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:731.07696,height:629.61397,viewBox:"0 0 731.07696 629.61397",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M538.56708,682.17352l7.98486-26.00457A87.77018,87.77018,0,0,0,511.468,632.66343c13.12443,21.74329.40684,50.10772,5.70644,74.94591a52.79386,52.79386,0,0,0,28.27717,35.97783l12.11706,15.0135a88.46588,88.46588,0,0,0,6.50218-73.78667,85.453,85.453,0,0,0-9.89442-19.0176C546.976,674.26143,538.56708,682.17352,538.56708,682.17352Z",transform:"translate(-234.46152 -135.19301)",fill:"#f2f2f2"}),g.createElement("path",{d:"M494.66175,685.49609,490.211,658.6598a87.77019,87.77019,0,0,0-41.8846-5.39169c21.444,13.60792,22.71122,44.6671,38.53195,64.53481A52.79389,52.79389,0,0,0,528.213,737.39353l17.541,8.03374a88.4659,88.4659,0,0,0-27.08772-68.942,85.45282,85.45282,0,0,0-17.33741-12.60883C498.65942,674.66423,494.66175,685.49609,494.66175,685.49609Z",transform:"translate(-234.46152 -135.19301)",fill:"#f2f2f2"}),g.createElement("polygon",{points:"521.537 616.734 509.237 616.733 503.386 569.293 521.539 569.294 521.537 616.734",fill:"#ffb6b6"}),g.createElement("path",{d:"M759.13479,763.849l-39.658-.00147v-.50161a15.43684,15.43684,0,0,1,15.436-15.43578h.001l7.24407-5.49573,13.51581,5.49657,3.46191.00014Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("polygon",{points:"720.217 571.872 711.831 580.869 673.137 552.804 685.514 539.526 720.217 571.872",fill:"#ffb6b6"}),g.createElement("path",{d:"M965.53848,712.899l-27.04,29.01035-.36695-.342a15.43684,15.43684,0,0,1-.76756-21.81615l.00067-.00072.91868-9.0463,13.236-6.13976,2.36044-2.53242Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M936.47936,680.40333l-13,27.18935L843.6502,654.73756l-11.61334-15.82321-38.07879-51.88248-15.47871,24.56081-10.7705,25.675,0,0a28.302,28.302,0,0,0-12.67456,20.65424l-.4928,4.54552,6.80579,61.1824-25.86792,7.94283-14.85649-82.19011,4.85649-17.80989,5-25,25.17374-79h67.36433l38.6375,82.24219,2.82443,16.75781,10.95506,12.57265Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M796.48335,398.341l11.34,8.635,13.676,4.20263s5.65378,79.52834,10.74814,84.62269.49987,5.23128,1.52352,11.84916,3.51167,20.18377,3.51167,20.18377c-34.38706,18.20258-64.03232,18.69086-87.845-2.60925a5.93118,5.93118,0,0,1,3.23609-6.69462c4.43194-2.35163-4.08556-13.32756-.46361-15.16273s-1.4724-17.755-1.4724-17.755l3.34187-33.21557-2.64024-5.30956,6.44317-32.48859,11.18013-4.083,4.466-10.76026Z",transform:"translate(-234.46152 -135.19301)",fill:"#3f3d56"}),g.createElement("path",{d:"M803.58728,539.68971a9.83035,9.83035,0,0,1,11.20736-10.08023l15.98166-31.06366,8.90389,15.81982L823.1387,541.4389a9.88361,9.88361,0,0,1-19.55136-1.74918Z",transform:"translate(-234.46152 -135.19301)",fill:"#ffb6b6"}),g.createElement("path",{d:"M830.50168,532.09076l34.27838-53.12742-.11314-.24445c-.12943-.28006-7.89169-17.04459-15.413-32.39983-1.15826-2.36467-2.3108-4.69592-3.42888-6.92839q-.72381-1.44525-1.42606-2.83006c-3.159-6.22784-5.919-11.37528-7.56648-13.82041a29.01529,29.01529,0,0,0-15.37527-11.66364l-.15859-.04079-.15142.06313a14.72433,14.72433,0,0,0-8.76284,16.19752,104.29613,104.29613,0,0,0,19.35291,43.755l5.55705,7.32474-19.31154,41.98521Z",transform:"translate(-234.46152 -135.19301)",fill:"#3f3d56"}),g.createElement("path",{d:"M712.62832,328.445a9.83033,9.83033,0,0,1-2.35881,14.888l7.14559,34.1951-16.87862-6.68267-4.19794-31.44773A9.88361,9.88361,0,0,1,712.62826,328.445Z",transform:"translate(-234.46152 -135.19301)",fill:"#ffb6b6"}),g.createElement("path",{d:"M696.50521,351.29613l6.82551,62.85653.24182.11864c.19929.09793,8.84664,4.33935,19.46132,9.39061,1.79066.85212,1.534,4.54332,3.40548,5.42554,1.28913.60768,4.69342-1.59731,5.996-.98817,11.6023,5.42574,23.33421,10.70159,28.0098,12.13115a29.0153,29.0153,0,0,0,19.2887-.621l.14888-.06818.07788-.14439a14.72433,14.72433,0,0,0-3.39225-18.10082A104.29612,104.29612,0,0,0,733.98177,399.492l-8.92931-2.19087-11.4361-44.77621Z",transform:"translate(-234.46152 -135.19301)",fill:"#3f3d56"}),g.createElement("circle",{cx:549.93117,cy:237.15579,r:22.43078,fill:"#ffb6b6"}),g.createElement("path",{d:"M762.12254,357.31823c1.84464-5.36654,11.02745-9.08881,25.91417-9.60638S806.699,364.73761,806.699,364.73761c9.938,8.06173-10.61182,29.645-11.606,28.86767l.447-4.05508c.74029-6.71673,3.8855-11.95752-.1145-18.95752l-3.841.0441q-7.441,1.43086-14.882,2.8617l5.87292-5.17092-.16561-.25624a22.72645,22.72645,0,0,1-8.01666,2.43412c-3.15652.18554-6.60741-1.0707-8.11933-3.84781a6.46564,6.46564,0,0,1-.7254-2.46008c-4.25655,1.70064-6.203,6.94811-6.203,6.94811S760.2779,362.68477,762.12254,357.31823Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M324.835,358.66391a12.01539,12.01539,0,0,0-.98135-1.09867c.08535-.11731.1707-.2453.25605-.36261Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M329.19746,448.8796c-3.66922,6.51717-10.997,10.15436-18.26074,11.93562a45.62848,45.62848,0,0,1-24.82054-.47994c-1.02393-.33065-2.04792-.71469-3.03988-1.1413a26.19137,26.19137,0,0,0,1.13063-3.89323,26.70185,26.70185,0,0,0,.55467-5.45048,17.20675,17.20675,0,0,1-3.10394,4.27721,15.69464,15.69464,0,0,1-3.25321,2.61319,31.94711,31.94711,0,0,1-9.43967-8.76768c.15995-.39465.32-.7893.46932-1.18395a42.55225,42.55225,0,0,0,1.83457-6.33579,43.3241,43.3241,0,0,0,.90668-8.86371,27.85116,27.85116,0,0,1-5.05589,6.95439,22.66926,22.66926,0,0,1-1.94121,1.84532,25.52261,25.52261,0,0,1,1.53589-19.63673c4.22388-7.80776,12.41561-12.44758,19.7114-17.49273,7.3064-5.04521,14.61287-11.87162,15.23147-20.73533.416-5.98379-2.35721-11.97832-1.24794-17.86609a13.804,13.804,0,0,1,23.44455-7.09313c-4.13853,5.86648-8.25572,11.93562-9.93034,18.91137-1.70658,7.10381-.3093,15.4342,5.29052,20.138,1.91992,1.6213,4.2772,2.77328,5.75984,4.79984,1.97324,2.68794,1.98392,6.2718,2.3039,9.5784.63995,6.43176,2.74125,12.61821,3.87187,18.986C332.29072,436.33606,332.35471,443.23714,329.19746,448.8796Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("polygon",{points:"19.519 578.195 29.254 585.716 62.898 551.747 48.53 540.646 19.519 578.195",fill:"#a0616a"}),g.createElement("path",{d:"M254.39467,706.03868l16.098,10.972-5.09439,6.593,6.8227,21.40865a5.20442,5.20442,0,0,1-8.14088,5.699l-18.32032-14.156,1.88135-8.9615-6.27209,5.56879-6.90749-5.3374Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M303.36907,377.61406a23.23609,23.23609,0,1,0,39.96608-16.11663l-.11153-.11142c-.1859-.19526-.3718-.39041-.567-.57636a.0091.0091,0,0,1-.00925-.00931c-.24166-.22305-.48333-.44611-.7343-.65987-4.08951-3.58763-9.83738-7.48171-15.70217-7.48171C313.37529,352.65876,303.36907,364.77839,303.36907,377.61406Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M435.81127,365.68143a8.51137,8.51137,0,0,1-9.217,9.24l-57.53844,51.95118-9.90168-15.63847,59.67194-46.14888a8.55747,8.55747,0,0,1,16.9852.59613Z",transform:"translate(-234.46152 -135.19301)",fill:"#a0616a"}),g.createElement("path",{d:"M344.46482,442.55352s2.14082,3.954,9.45367-2.15133c5.85449-4.88778,33.90287-26.1074,39.94545-34.80272a6.68639,6.68639,0,0,0,7.8722-2.28582L385.17992,388.814c-4.95365.57025-4.84748,3.898-4.3316,5.78732l-12.48864,5.65825-32.24957,20.60975,6.75648,18.85359Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("polygon",{points:"78.761 343.789 77.555 349.532 76.531 370.716 121.615 373.194 120.215 340.612 115.845 333.432 78.761 343.789",fill:"#a0616a"}),g.createElement("circle",{cx:97.86833,cy:247.79721,r:19.48446,fill:"#a0616a"}),g.createElement("path",{d:"M297.7375,454.85772l-.11981-16.19628a25.77616,25.77616,0,0,1,19.96171-25.124l.07352-.01725,3.85281-5.19124,15.65329,1.56586,2.86907,5.86367,11.34257,6.7539,4.36706,14.03864a16.6021,16.6021,0,0,1,7.17414,11.11883c1.48266,9.47052-5.14824,18.94649-5.937,20.033l-2.03225,11.44559-44.21015,7.80056-.359.04538Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("path",{d:"M356.17263,379.51655a66.42811,66.42811,0,0,1-7.06117,3.89317,40.63183,40.63183,0,0,1-7.70105,2.784,26.61691,26.61691,0,0,0-2.77322-4.72517,17.1841,17.1841,0,0,1,.02129,5.27977,27.50736,27.50736,0,0,1-13.13024-1.07724l-3.66921-6.15449-.27734,6.86911c-3.03987.55467-6.06914,1.07731-9.109,1.62131-.18131.02128-.36262.064-.53332.096-1.888-8.51171.7893-17.88745,6.74112-23.56187a21.445,21.445,0,0,1,22.52727-4.37323c.48.192.9706.40532,1.43992.62934a.01046.01046,0,0,0,.01068.01068c.27734.1386.512.46925.82133.43729C356.79123,359.7625,357.21791,370.08749,356.17263,379.51655Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("polygon",{points:"89.297 553.071 99.047 560.572 132.623 526.535 118.233 515.464 89.297 553.071",fill:"#a0616a"}),g.createElement("path",{d:"M325.0419,681.59354,341.162,692.533l-5.08106,6.60328,6.86592,21.39482a5.20442,5.20442,0,0,1-8.12936,5.71539l-18.34887-14.119,1.86325-8.96528-6.26083,5.58145-6.91826-5.32344Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M292.1202,646.72233l-.00046-.12707,4.6209-7.9629-4.71847-10.36547-.14158-26.63073.76488-3.99777a33.63171,33.63171,0,0,0-.872-16.15848l0,0-.08618-16.21005c-.16577-4.06077,6.125-7.63227,4.658-11.01763-13.86622-31.999,14.15957-56.40982,14.34888-56.60574l.57273-.59543,3.10738,2.35356,2.95761.00363,39.9118,7.27258.28818.53734c1.5698,2.94445,4.59938,13.09349,4.7791,17.68625,1.98913,2.30273,24.647,28.52139,26.66114,30.34306,13.61081,12.31513,21.40353,32.69845,24.8372,43.75283a17.55469,17.55469,0,0,1-3.00617,16.14273L359.2765,671.58175l-13.86622-12.79958,27.88057-50.80511-2.01047-5.1546a15.843,15.843,0,0,1-9.2368-5.36609l-5.64564-6.70125a12.52908,12.52908,0,0,1-2.85958-6.517l-3.4237-.41208L337.85082,570.95l-8.5084,77.05214-2.31318,6.08677-40.28372,47.35855L269.6794,690.78113Z",transform:"translate(-234.46152 -135.19301)",fill:"#2f2e41"}),g.createElement("path",{d:"M285.9682,315.86955a8.51136,8.51136,0,0,0,2.6234,12.78474l-12.80937,37.922,10.45957,40.18733,16.86612-7.62493-10.40771-30.31217,7.78662-44.12171a8.55747,8.55747,0,0,0-14.51863-8.83527Z",transform:"translate(-234.46152 -135.19301)",fill:"#a0616a"}),g.createElement("path",{d:"M301.40665,439.87572s-3.96136,2.12717-6.71636-6.99219c-2.20557-7.30074-17.21552-46.94027-17.486-57.52555a6.68641,6.68641,0,0,1-5.32114-6.23555l21.80019-3.01683c3.82541,3.19846,1.90812,5.92043.43893,7.21547l7.425,12.5769,15.51936,33.95343L304.2974,438.38894Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("path",{d:"M312.46831,388.00518A39.63376,39.63376,0,0,1,342.982,361.48812c.02785-.00919.12083-.0464.24166-.10211.07432-.04652.16729-.093.26022-.13944-.27883-.158-.54834-.29737-.82722-.43692a.0091.0091,0,0,1-.00925-.00931c-.24166-.22305-.48333-.44611-.7343-.65987l-.70638.02792S316.38129,356.23686,312.46831,388.00518Z",transform:"translate(-234.46152 -135.19301)",fill:"#fd6584"}),g.createElement("ellipse",{cx:624.31846,cy:599.48269,rx:8.8567,ry:10.19466,transform:"translate(-455.07569 652.01793) rotate(-56.36398)",fill:"#f2f2f2"}),g.createElement("ellipse",{cx:569.31846,cy:447.48269,rx:8.8567,ry:10.19466,transform:"translate(-353.05924 538.42151) rotate(-56.36398)",fill:"#f2f2f2"}),g.createElement("ellipse",{cx:799.31846,cy:681.48269,rx:8.8567,ry:10.19466,transform:"translate(-445.28183 834.29719) rotate(-56.36398)",fill:"#f2f2f2"}),g.createElement("ellipse",{cx:334.31846,cy:192.48269,rx:8.8567,ry:10.19466,transform:"translate(-245.58303 229.01517) rotate(-56.36398)",fill:"#f2f2f2"}),g.createElement("ellipse",{cx:551.31846,cy:144.48269,rx:8.8567,ry:10.19466,transform:"translate(-108.8191 388.27147) rotate(-56.36398)",fill:"#f2f2f2"}),g.createElement("ellipse",{cx:448.61817,cy:547.19724,rx:8.8567,ry:10.19466,transform:"translate(-489.92146 482.41084) rotate(-56.36398)",fill:"#e6e6e6"}),g.createElement("path",{d:"M904.72873,764.807h-650.294a1.19069,1.19069,0,0,1,0-2.38137h650.294a1.19068,1.19068,0,0,1,0,2.38137Z",transform:"translate(-234.46152 -135.19301)",fill:"#ccc"}),g.createElement("path",{d:"M375.47008,369.35489a22.24025,22.24025,0,0,1-22.04492-19.83057L340.72985,231.61758a22.23015,22.23015,0,0,1,19.70068-24.45508l376.9541-40.58789a22.23025,22.23025,0,0,1,24.45606,19.7002L774.536,304.18106a22.231,22.231,0,0,1-19.70117,24.45605l-.05372-.49707.05372.49707L377.88072,369.225A22.49378,22.49378,0,0,1,375.47008,369.35489Z",transform:"translate(-234.46152 -135.19301)",fill:"#e6e6e6"}),g.createElement("path",{d:"M733.23277,172.04825a19.85228,19.85228,0,0,0-2.12011.11425L367.74938,211.287a19.4592,19.4592,0,0,0-17.26416,21.43066l6.41894,59.61475a73.81135,73.81135,0,0,0,81.28955,65.48632L693.6986,330.30752A73.58749,73.58749,0,0,0,758.9857,249.265l-6.44287-59.83838a19.4634,19.4634,0,0,0-19.31006-17.37841Z",transform:"translate(-234.46152 -135.19301)",fill:"#fff"}),g.createElement("path",{d:"M656.71383,234.09012l-203.08846,21.8673a4.4443,4.4443,0,1,1-.95157-8.83751l203.08846-21.8673a4.4443,4.4443,0,1,1,.95157,8.83751Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("path",{d:"M659.63425,261.213l-203.08846,21.8673a4.4443,4.4443,0,0,1-.95157-8.83752l203.08846-21.8673a4.4443,4.4443,0,0,1,.95157,8.83752Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("path",{d:"M483.13313,307.65418l-23.667,2.54832a4.4443,4.4443,0,0,1-.95157-8.83752l23.667-2.54831a4.4443,4.4443,0,1,1,.95157,8.83751Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("circle",{cx:133.01784,cy:93.39967,r:8,fill:"#3f3d56"}),g.createElement("circle",{cx:491.01784,cy:53.39967,r:8,fill:"#3f3d56"}),g.createElement("path",{d:"M617.3226,360.82948a6.58718,6.58718,0,0,1-2.23618-5.19571,87.65934,87.65934,0,0,0-5.62982-34.07665,6.58717,6.58717,0,0,1,.44621-5.63887,6.43872,6.43872,0,0,1,4.44875-3.1298c9.29859-5.61123,18.83092-7.18656,28.33811-4.68125a6.51458,6.51458,0,0,1,7.1633,4.49107,144.983,144.983,0,0,1,6.36475,38.52514,6.51419,6.51419,0,0,1-5.44589,6.57523l-28.13329,4.64791A6.43755,6.43755,0,0,1,617.3226,360.82948Z",transform:"translate(-234.46152 -135.19301)",fill:"#7163ff"}),g.createElement("path",{d:"M619.82141,326.97378l23.679-3.912a1.5,1.5,0,1,0-.489-2.95987l-23.679,3.912a1.5,1.5,0,0,0,.489,2.95987Z",transform:"translate(-234.46152 -135.19301)",fill:"#fff"}),g.createElement("path",{d:"M621.77741,338.81329l23.679-3.912a1.5,1.5,0,0,0-.489-2.95988l-23.679,3.912a1.5,1.5,0,1,0,.489,2.95987Z",transform:"translate(-234.46152 -135.19301)",fill:"#fff"}),g.createElement("path",{d:"M623.73342,350.65281l23.679-3.912a1.5,1.5,0,0,0-.489-2.95988l-23.679,3.912a1.5,1.5,0,1,0,.489,2.95988Z",transform:"translate(-234.46152 -135.19301)",fill:"#fff"})),sF=g.forwardRef(iF),lF=({application:t,setApplication:e,changeTab:a,refresh:i,protocolOptions:s,profileOptions:o,privacyInfo:u,arpInfo:d})=>{const{setFlash:f}=Pe(I=>I),[m,y]=g.useState(!1),b=()=>{y(!0);const I=mC(t);I.signedContract=!0,c5(I).then(M=>{y(!1),f(S.t("application.flash",{name:M.name})),e(Ao(M,s,o,d))}).catch(()=>{y(!1),f(S.t("forms.error"),"error")})},C=()=>{i(),a("overview")};if(m)return h.jsx(Sn,{});const A=oo(t)&&co(t)&&uo(u,t);return h.jsx("div",{className:"contract-container",children:h.jsxs("div",{className:"contract-inner",children:[h.jsx("div",{className:"app-header",children:h.jsx("h2",{children:S.t("connection.contractSection.title")})}),h.jsxs("div",{className:"contract-information card",children:[h.jsx("h4",{children:S.t("connection.contractSection.title")}),h.jsx("p",{children:S.t("connection.contractSection.info")}),!A&&h.jsx("p",{children:S.t("connection.applicationInformationHint")}),h.jsx("p",{children:S.t(`connection.contractSection.${t.signedContract?"signed":"notSigned"}`)}),t.signedContract&&h.jsx("div",{className:"happy",children:h.jsx(sF,{})})]}),h.jsxs("div",{className:"actions orphan",children:[!t.signedContract&&h.jsx(h.Fragment,{children:h.jsx(at,{txt:S.t("connection.contractSection.sign"),disabled:!A,onClick:()=>b()})}),t.signedContract&&h.jsx(h.Fragment,{children:h.jsx(at,{txt:S.t("forms.backToOverview"),type:vt.Secondary,onClick:()=>C()})})]})]})})},Jf=({user:t,currentUser:e})=>h.jsxs("div",{className:"user-membership-container",children:[h.jsxs("div",{className:"user-membership",children:[h.jsx("span",{className:"name",children:t.name}),h.jsx("span",{className:"email",children:t.email})]}),t.id===e.id&&h.jsx(ol,{type:xs.Status_info,label:S.t("users.you")})]}),$t={ADMIN:"ADMIN",MEMBER:"MEMBER",GUEST:"GUEST"},k5=[$t.GUEST,$t.MEMBER,$t.ADMIN],_5=(t,e)=>{const a=!ne(e);return t.superUser||a&&e.authority===$t.ADMIN?$t.ADMIN:a&&e.authority===$t.MEMBER?$t.MEMBER:$t.GUEST},oF=({application:t,refresh:e,refreshApp:a})=>{const{user:i,setFlash:s}=Pe(q=>q),o=kt(),[u,d]=g.useState({}),[f,m]=g.useState(-1),[y,b]=g.useState({}),[C,A]=g.useState(!0),[I,M]=g.useState({}),[O,R]=g.useState([]);g.useEffect(()=>{pL(t.organization.id).then(q=>{M(q),R((t.applicationMemberships||[]).map(V=>{const D=q.organizationMemberships.find(H=>H.id===V.organizationMembershipIdentifier);return D&&(V.user=D.user),V}));const Z=(i.organizationMemberships||[]).find(V=>V.organization.id===q.id);b(_5(i,Z)),A(!1)}).catch(()=>{o("/404")})},[a,t]);const x=(q,Z)=>{Z?d({open:!0,cancel:()=>d({open:!1}),action:()=>x(q,!1),question:S.t("appTeamManagement.deleteConfirmation",{name:q.user.name}),okButton:S.t("forms.delete")}):AL(q).then(()=>{d({}),e()})},j=q=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsx("ul",{children:h.jsxs("li",{onClick:()=>x(q,!0),children:[h.jsx(vl,{}),h.jsx("span",{children:S.t("forms.delete")})]})})}),U=q=>({value:q.id,label:q.user.name}),L=q=>{CL(q.value,t.id,I.id).then(()=>{e(),s(S.t("appTeamManagement.flashCreated",{name:q.label}))})},P=()=>h.jsx(Pa,{value:null,options:I.organizationMemberships.filter(q=>!O.some(Z=>Z.organizationMembershipIdentifier===q.id)).map(U),placeholder:S.t("appTeamManagement.addPlaceHolder"),searchable:!0,onChange:L,clearable:!1}),F=()=>{const q=[{key:"user__name",header:S.t("appTeamManagement.name"),mapper:Z=>h.jsx(Jf,{user:Z.user,currentUser:i})},{key:"createdAt",header:S.t("appTeamManagement.createdAt"),mapper:Z=>Oa(Z.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:Z=>y===$t.GUEST?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>m(-1),175),children:h.jsxs("span",{className:`menu ${f===Z.id?"drop-down":""}`,onClick:()=>m(f===-1?Z.id:-1),children:[h.jsx(Ts,{}),f===Z.id&&j(Z)]})})}];return h.jsx(Os,{entities:O,modelName:"appTeamManagement",defaultSort:"user__name",hideTitle:!0,columns:q,filters:P(),showNew:!0,displaySearch:!0,searchAttributes:["user__name","user__email"],newEntityFunc:()=>o(`/invitation/${I.id}/${t.id}`),inputFocus:!0})};if(C)return h.jsx(Sn,{});const{open:E,cancel:T,action:N,question:G,okButton:_}=u;return h.jsxs("div",{className:"application-memberships",children:[E&&h.jsx(Cr,{confirm:N,cancel:T,confirmationHeader:S.t("forms.delete"),confirmationTxt:_,question:G}),h.jsxs("div",{className:"application-header",children:[h.jsx("h3",{children:S.t("appTeamManagement.maintain",{name:t.name})}),h.jsx(ol,{type:xs.Status_success,label:S.t("appTeamManagement.createdBy",{name:t.createdBy,date:Oa(t.createdAt)})})]}),h.jsxs("p",{className:"info",children:[S.t("appTeamManagement.organizationMembersPre"),h.jsx(zi,{to:`/users/${I.id}/team`,onClick:()=>Pe.setState(()=>({activeMenuItem:"users"})),children:S.t("appTeamManagement.organizationMembersLink")}),S.t("appTeamManagement.organizationMembersPost")]}),F()]})},cF=["overview","testing","prod","application","contract","appteam"],Xs=Object.values(vs).map(t=>({value:t,label:S.t(`connection.${t.toLowerCase()}`)})),uF=()=>{const{applicationId:t,tab:e="overview",connectionId:a}=oi(),{user:i,arp:s,privacy:o}=Pe(H=>H),[u,d]=g.useState({organization:{}}),[f,m]=g.useState([]),[y,b]=g.useState(e),[C,A]=g.useState(null),[I,M]=g.useState([]),[O,R]=g.useState([]),[x,j]=g.useState(!0),[U,L]=g.useState(0),[P,F]=g.useState(!1),E=kt();g.useEffect(()=>{r6(t).then(H=>{const k=s.profiles.map(W=>({value:W.name,label:h.jsxs("div",{children:[h.jsx("b",{children:S.t(`connection.informational.profiles.${W.name}.name`)}),h.jsx("br",{}),S.t(`connection.informational.profiles.${W.name}.title`)]})}));d(Ao(H,Xs,k,s)),m(k),V(y),j(!1),Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${H.organization.id}`,value:H.organization.name,menuItemName:"yourApps"},{path:`/application/${t}`,value:S.t("breadCrumb.applications")},{value:H.name}]}),Promise.all([pS(la.TEST),pS(la.PROD)]).then(W=>{M(W[0]),R(W[1])})})},[]);const{testConnectionComplete:T,productionConnectionComplete:N,appInformationComplete:G,productionConnectionNeedsActivation:_}=g.useMemo(()=>({testConnectionComplete:!ne(u.connections)&&u.connections.filter(H=>H.environment===la.TEST).some(H=>H.status!==sn.OPEN),productionConnectionComplete:!ne(u.connections)&&u.connections.filter(H=>H.environment===la.PROD).some(H=>H.status!==sn.OPEN),appInformationComplete:oo(u)&&co(u)&&uo(o,u)&&u.status!==lo.OPEN,productionConnectionNeedsActivation:u.signedContract&&!ne(u.connections)&&u.connections.filter(H=>H.environment===la.PROD).some(H=>H.status===sn.COMPLETE||H.status===sn.IN_PROGRESS)}),[u]),q=(H=null)=>{j(!0),r6(t).then(k=>{d(Ao(k,Xs,f,s)),ne(H)||E(`/connection/${t}/${H}`),A(null),F(!1),j(!1),L(new Date().getTime())})},Z=(H=la.TEST,k=!1)=>{const W=S.translations[S.locale].connection.testIdPs.identityProviders;A({new:k,environment:H,protocol:Xs[0],grantTypes:["authorization_code"],pkce:!1,entityID:"",redirectUrls:[""],acsLocations:null,metaData:{},status:sn.OPEN,motivations:{},additionalAttributes:[],profile:u.type==="APP"?f[0]:f[1],profileMotivation:"",allowedEntities:W.map(B=>B.entityid),visibility:l6.visible_to_all,connectOption:Q1.connect_with_interaction});const se=H===la.TEST?"testing":"prod";b(se),E(`/connection/${t}/${se}`)},V=(H,k=null)=>{P&&q(),(y==="testing"||y==="prod")&&A(null),b(H);const W=k!==null?`?action=${k}`:"";E(`/connection/${t}/${H}${W}`)},D=()=>{switch(y){case"overview":return h.jsx(zU,{application:u,user:i,initConnection:Z,setTab:V,testConnectionComplete:T,productionConnectionComplete:N,appInformationComplete:G,productionConnectionNeedsActivation:_});case"testing":return h.jsx(_E,{application:u,connection:C,user:i,testConnectionComplete:T,productionConnectionComplete:N,appInformationComplete:G,productionConnectionNeedsActivation:_,setConnection:A,initConnection:Z,refresh:q,protocolOptions:Xs,arpInfo:s,setTab:V,profileOptions:f,identityProviders:I,isProduction:!1,setDirty:F,connectionId:a});case"prod":return h.jsx(_E,{application:u,connection:C,user:i,testConnectionComplete:T,productionConnectionComplete:N,appInformationComplete:G,productionConnectionNeedsActivation:_,setConnection:A,initConnection:Z,refresh:q,protocolOptions:Xs,setTab:V,arpInfo:s,profileOptions:f,identityProviders:O,isProduction:!0,setDirty:F,connectionId:a});case"application":return h.jsx(rF,{application:u,setApplication:d,refresh:q,changeTab:V,privacyInfo:o,protocolOptions:Xs,profileOptions:f,arpInfo:s});case"contract":return h.jsx(lF,{application:u,setApplication:d,changeTab:V,refresh:q,protocolOptions:Xs,profileOptions:f,privacyInfo:o,arpInfo:s});case"appteam":return h.jsx(oF,{application:u,refresh:q,refreshApp:U});default:throw new Error(`Unknown tab; ${y}`)}};return x?h.jsx(Sn,{}):h.jsxs("div",{className:"application-connection-container",children:[h.jsx(MU,{tabs:cF.map(H=>({name:H,disabled:H==="prod"&&!T||H==="application"&&!T||H==="contract"&&!N})),application:u,currentTab:y,setLoading:j,setTab:V}),D()]})},fF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M.8.8l10.7 10.7c.1.1.1.2.2.2 0 .1.1.2.1.3s0 .2-.1.3c0 .1-.1.2-.2.2L.8 23.2"})),dF=g.forwardRef(fF),hF=()=>{const{breadcrumbPaths:t,clearFlash:e}=Pe(s=>s),a=kt();if(ne(t))return null;const i=(s,o)=>{Ra(s),a(o.path),e(),o.menuItemName&&Pe.setState(()=>({activeMenuItem:o.menuItemName}))};return h.jsx("nav",{className:"sds--breadcrumb sds--text--body--small","aria-label":"breadcrumbs",children:h.jsx("ol",{className:"sds--breadcrumb--list",children:t.filter(s=>!ne(s)).map((s,o)=>h.jsxs("li",{children:[o!==0&&h.jsx(dF,{}),o+1!==t.length&&s.path&&h.jsx("a",{href:s.path,onClick:u=>i(u,s),children:h.jsx("span",{dangerouslySetInnerHTML:{__html:sa.sanitize(s.value)}})}),o+1!==t.length&&!s.path&&h.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:sa.sanitize(s.value)}}),o+1===t.length&&h.jsx("span",{className:"last",dangerouslySetInnerHTML:{__html:sa.sanitize(s.value)}})]},o))})})},mF=({setIsAuthenticated:t})=>{const e=Pe(b=>b.user),a=kt(),[i,s]=g.useState(!1),[o,u]=g.useState(!1),d=b=>{Ra(b),dL().then(()=>{Pe.setState(()=>({currentOrganization:{name:""},breadcrumbPaths:[],user:{name:""}})),sessionStorage.removeItem(Xc),a("/authentication-switch"),setTimeout(()=>{t(!1),a("/home")},150)})},f=b=>{Pe.setState(()=>({currentOrganization:b})),a("/home")},m=()=>{if(ne(e)||!e.organizationMemberships||e.organizationMemberships.length<2)return null;const b=e.organizationMemberships.map(C=>C.organization);return h.jsxs("div",{className:"organization-switch",tabIndex:1,onBlur:()=>setTimeout(()=>u(!1),475),children:[h.jsx(at,{onClick:()=>u(!o),txt:S.t("userMenu.switchOrganization"),icon:h.jsx(A5,{}),type:vt.Secondary}),o&&h.jsx("section",{className:"organization-switch-section sds--user-info--dropdown",children:b.map((C,A)=>h.jsx("span",{onClick:()=>f(C),children:C.name},A))})]})},y=()=>h.jsxs(h.Fragment,{children:[h.jsx("ul",{children:h.jsx("li",{children:h.jsx("a",{href:"/logout",onClick:d,children:S.t("landing.header.logout")})})}),e.superUser&&h.jsx("ul",{children:h.jsx("li",{children:h.jsx(zi,{to:"/system",children:S.t("landing.header.system")})})})]});return ne(e)?h.jsx(Sn,{}):h.jsxs("div",{className:"user-menu-container",children:[m(),h.jsx("div",{className:"user-menu",tabIndex:2,onBlur:()=>setTimeout(()=>s(!1),325),children:e&&h.jsx(uI,{isOpen:i,children:y(),organisationName:e.schacHomeOrganization,userName:e.name,toggle:()=>s(!i)})})]})},pF=({setIsAuthenticated:t})=>h.jsxs("div",{className:"authorized-header",children:[h.jsx(hF,{}),h.jsx(mF,{setIsAuthenticated:t})]});function z5(t,e,a,i){var s=this,o=g.useRef(null),u=g.useRef(0),d=g.useRef(0),f=g.useRef(null),m=g.useRef([]),y=g.useRef(),b=g.useRef(),C=g.useRef(t),A=g.useRef(!0);C.current=t;var I=typeof window<"u",M=!e&&e!==0&&I;if(typeof t!="function")throw new TypeError("Expected a function");e=+e||0;var O=!!(a=a||{}).leading,R=!("trailing"in a)||!!a.trailing,x="maxWait"in a,j="debounceOnServer"in a&&!!a.debounceOnServer,U=x?Math.max(+a.maxWait||0,e):null;g.useEffect(function(){return A.current=!0,function(){A.current=!1}},[]);var L=g.useMemo(function(){var P=function(q){var Z=m.current,V=y.current;return m.current=y.current=null,u.current=q,d.current=d.current||q,b.current=C.current.apply(V,Z)},F=function(q,Z){M&&cancelAnimationFrame(f.current),f.current=M?requestAnimationFrame(q):setTimeout(q,Z)},E=function(q){if(!A.current)return!1;var Z=q-o.current;return!o.current||Z>=e||Z<0||x&&q-u.current>=U},T=function(q){return f.current=null,R&&m.current?P(q):(m.current=y.current=null,b.current)},N=function q(){var Z=Date.now();if(O&&d.current===u.current&&G(),E(Z))return T(Z);if(A.current){var V=e-(Z-o.current),D=x?Math.min(V,U-(Z-u.current)):V;F(q,D)}},G=function(){},_=function(){if(I||j){var q=Date.now(),Z=E(q);if(m.current=[].slice.call(arguments),y.current=s,o.current=q,Z){if(!f.current&&A.current)return u.current=o.current,F(N,e),O?P(o.current):b.current;if(x)return F(N,e),P(o.current)}return f.current||F(N,e),b.current}};return _.cancel=function(){var q=f.current;q&&(M?cancelAnimationFrame(f.current):clearTimeout(f.current)),u.current=0,m.current=o.current=y.current=f.current=null},_.isPending=function(){return!!f.current},_.flush=function(){return f.current?T(Date.now()):b.current},_},[O,x,e,U,R,M,I,j,i]);return L}const gF=({refreshUser:t})=>{const{user:e,setFlash:a}=Pe(P=>P),[i,s]=g.useState(""),[o,u]=g.useState(!1),[d,f]=g.useState([]),[m,y]=g.useState({}),b=g.useRef(null),C=kt(),A=z5(P=>{cC({query:P,pageSize:1e5,sort:"name"}).then(F=>{f(F.content),u(!1)})},850);g.useEffect(()=>{Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access")},{value:S.t("breadCrumb.landing")}]}),b.current?.focus()},[]);const I=P=>{const F=P.target.value;s(F),!ne(F)&&F.trim().length>2?(u(!0),A(F)):f([])},M=P=>{Pe.setState({currentOrganization:P,menuItems:["users","yourApps","allApps"]}),t(),C(`/organization/${P.id}`)},O=()=>{u(!0),yL({name:i}).then(P=>{u(!1),a(S.t("welcome.flash",{name:P.name})),y({open:!0,action:()=>M(P),question:S.t("welcome.confirmationAfter",{jiraKey:P.ticketKey}),okButton:S.t("forms.proceed")})})},{open:R,action:x,question:j,okButton:U}=m,L=!ne(d)&&!ne(i)&&i.trim().length>2&&!o&&d.some(P=>P.name.toLowerCase().trim()===i.toLowerCase().trim());return h.jsxs("div",{className:"landing-container",children:[R&&h.jsx(Cr,{confirm:x,confirmationHeader:S.t("welcome.newOrganization"),confirmationTxt:U,question:j}),h.jsxs("div",{className:"search",children:[o&&h.jsx(Sn,{}),h.jsx("h2",{children:S.t("welcome.greeting",{name:e.givenName})}),h.jsx("p",{children:S.t("welcome.info")}),h.jsxs("div",{className:"inner-search",children:[h.jsx(fn,{value:i,onChange:I,onRef:P=>b.current=P,placeholder:S.t("welcome.searchPlaceholder")}),h.jsx(Pf,{})]}),h.jsx("p",{className:"sub-info",children:S.t("welcome.subInfo")}),h.jsxs("div",{className:"organizations-container",children:[!ne(d)&&d.map((P,F)=>h.jsxs("section",{className:"organization",onClick:()=>C(`/join/${P.id}`),children:[h.jsxs("div",{children:[h.jsx("p",{children:P.name}),h.jsx("span",{children:S.t("welcome.organizationMembers",{memberCount:P.memberCount,user:S.t(`welcome.${P.memberCount===1?"user":"users"}`),applicationCount:P.applicationCount,application:S.t(`welcome.${P.applicationCount===1?"application":"applications"}`)})})]}),h.jsx(ul,{})]},F)),!ne(i)&&!L&&!o&&i.trim().length>2&&h.jsxs(h.Fragment,{children:[ne(d)&&h.jsx("p",{children:S.t("welcome.zeroState")}),h.jsxs("section",{className:"organization register",onClick:()=>O(),children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("welcome.register",{name:i})}}),h.jsx(ul,{})]})]})]})]})]})},vF=({refreshUser:t})=>{const{setFlash:e}=Pe(M=>M),[a,i]=g.useState(!0),[s,o]=g.useState({}),[u,d]=g.useState(!1),[f,m]=g.useState(!1),[y,b]=g.useState(""),{organisationId:C}=oi(),A=kt();if(g.useEffect(()=>{Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{value:S.t("breadCrumb.landing")}]}),gL(C).then(M=>{o(M),i(!1)})},[]),a)return h.jsx(Sn,{});const I=()=>{bL({organizationId:C,message:y,language:S.locale}).then(()=>{d(!0),e(S.t("joinRequest.flash",{name:s.name})),t()}).catch(()=>{m(!0)})};return h.jsxs("div",{className:"join-request-container",children:[h.jsx("h2",{children:s.name}),h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("joinRequest.info",{name:s.name}))}}),h.jsx(fn,{name:S.t("joinRequest.optionalMessage"),info:S.t("joinRequest.optionalMessageInfo"),onChange:M=>b(M.target.value),value:y,multiline:!0,placeholder:S.t("joinRequest.optionalMessagePlaceHolder")}),h.jsxs("section",{className:"actions",children:[h.jsx(at,{type:vt.Secondary,txt:S.t("forms.back"),onClick:()=>A("/landing")}),h.jsx(at,{txt:S.t("joinRequest.requestAccess"),disabled:u||f,onClick:()=>I()})]}),u&&h.jsx(fA,{confirm:()=>A("/home"),title:S.t("joinRequest.modal.title"),question:S.t("joinRequest.modal.success",{name:s.name}),confirmationButtonLabel:S.t("joinRequest.modal.proceed")}),f&&h.jsx("section",{className:"error",children:h.jsx("p",{className:"error",dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("joinRequest.duplicate",{name:s.name}))}})})]})},yF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:583.04004,height:383,viewBox:"0 0 583.04004 383",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M499.43737,374.10657l.01561,6.21916v1.31429h-12.00811v-1.97138l-.00783-24.32137-.01566-23.56253v-4.32603l-.00783-17.53894-.00778-.28161-2.08874-59.05495v-.04694l-2.1278-60.19711v-.00783l-.05477-1.63496-10.36532,5.49946-12.78262,6.78248-6.07052,3.22302-8.66777,4.59203-14.61314,7.76029h-.00783l-75.78811,40.20182-.15647,123.57026v1.31429h-11.59352l-.04694-1.31429-3.84885-118.87653-111.77339-44.567-11.8282-4.71717-5.0536-69.7567c-1.2673-17.48413,8.10455-33.51321,22.9367-41.32044,3.6611-1.92445,7.6508-3.34822,11.89079-4.16961l17.06954-3.30907,42.60345-8.2688,13.78392-2.66763,18.01608-3.49681,7.10319-1.37684,11.67956-2.26866,1.05607-.2034,3.29345-.64143,1.17343-.22689,1.90879-.36765,1.34551,2.37814c.00783,0,.00783,.00783,.00783,.01566l7.91676,14.04987,1.42377,2.53465,.00783,.00778,6.86069,12.16462s.00783,.00778,.00783,.01561l6.68073,11.85952,13.11116,2.60499,6.46171,1.28296,40.05313,7.95591,5.28045,1.05607h.00783l13.3615,2.65197,3.53596,.70403,16.5141,3.27779,.12515,.02349,7.33004,1.45505,12.34454,2.4564-6.17227,169.33414,.11736,41.28138v.00783l.0626,22.8976Z",fill:"#3f3d56"}),g.createElement("g",null,g.createElement("path",{d:"M294.50906,47.78273c-1.75232-3.30128-6.79026-10.36532-12.59483-18.29774-1.07956-1.47854-2.18262-2.98052-3.29345-4.49816-1.97921-2.68324-3.9897-5.41342-5.93759-8.07322-1.24381-1.75232-3.67672-2.16691-5.42908-.93093l-11.67173,8.26096c-1.75232,1.23603-2.17474,3.66894-.93093,5.42125l3.51247,4.96756,.92309,1.30641,1.36122,1.92445,1.63496,2.30776v.00778l.46157,.64148,1.62713,2.30776,.89965,1.2673,7.87765,11.13978,3.53596,4.99884c1.23598,1.75232,3.66894,2.16695,5.42125,.93093l10.15409-7.18923,1.4316-1.00913,.08604-.0626c1.75232-1.23603,2.17474-3.66894,.93093-5.42125Z",fill:"#3f3d56"}),g.createElement("path",{d:"M281.89857,29.31291l-3.04311-4.2948c-.05477-.07821-.15647-.09387-.22685-.0391l-.00783,.00783c-.07043,.04694-.08604,.14081-.03127,.21906l3.04307,4.30259c.04694,.07038,.14864,.08604,.22689,.0391,.02344-.01566,.0391-.0391,.05477-.0626,.02344-.05477,.02344-.11736-.01566-.17208Z",fill:"#3f3d56"}),g.createElement("path",{d:"M272.37834,17.12646l21.83086,30.86995c1.07814,1.52455,.77346,3.61074-.65847,4.76853l-.00067,.00048c-.02122,.01703-.04244,.03405-.06481,.05088-.03822,.03005-.07738,.05875-.1177,.08726,0,0-.15542,.09378-.43978,.26464-.28705,.17276-.70552,.42334-1.22875,.7339-.15657,.09358-.32215,.19153-.49694,.29499-.34824,.20595-.73063,.43202-1.14208,.6726-.16357,.09652-.33346,.1955-.50671,.29685-.88535,.51826-1.87936,1.09522-2.93252,1.69687-.17756,.10238-.35694,.20505-.53814,.30799-.04767,.02666-9.04467,3.50856-9.29936,3.14842l-21.83086-30.86995c-1.12281-1.58771-.74605-3.78434,.84166-4.90715l1.71604-1.21356c.27414-.19387,.64562-.13605,.86253,.12078,.01484,.01672,.02969,.03343,.04588,.0492,.24406,.23965,.63145,.25295,.91096,.05529l6.0318-4.26561c.27951-.19767,.39605-.56734,.25143-.87732-.00947-.02052-.02028-.04008-.03109-.05965-.16988-.29009-.1006-.65961,.17354-.85348l1.71605-1.21357c1.58771-1.12281,3.78434-.74605,4.90715,.84166Z",fill:"#008939"}),g.createElement("path",{d:"M259.07923,35.7824l-.76668-1.07956c-.03127-.04694-.08604-.07821-.14864-.07038-.02344,0-.05477,.01561-.07821,.03127-.07043,.05477-.09387,.15647-.0391,.22689l.7588,1.07951c.05477,.07043,.15647,.09392,.23468,.03915,.02349-.01566,.03915-.03915,.04694-.07043,.02349-.04694,.02349-.10953-.00778-.15647Z",fill:"#3f3d56"}),g.createElement("path",{d:"M262.06753,40.01461l-1.47066-2.08874c-.03915-.04694-.09392-.07038-.14864-.06255-.03132,0-.0626,.00783-.07826,.02344-.07821,.05477-.09387,.15647-.0391,.23468l1.47071,2.08091c.05477,.07038,.15647,.09387,.22685,.0391,.02349-.01566,.0391-.0391,.05477-.0626v-.00778c.02349-.04698,.02349-.10953-.01566-.15647Z",fill:"#3f3d56"}),g.createElement("path",{d:"M264.15627,42.97164l-1.47071-2.0887c-.0391-.04694-.09387-.07043-.14081-.0626-.03132,0-.0626,.00783-.08609,.02349-.07821,.05477-.09387,.15647-.0391,.23468l1.47071,2.08087c.05477,.07043,.15647,.09387,.22689,.03915,.02344-.01566,.04694-.03915,.05472-.07043,.02349-.04694,.02349-.10953-.01561-.15647Z",fill:"#3f3d56"}),g.createElement("rect",{x:255.02523,y:24.70378,width:3.20948,height:.41147,rx:.20574,ry:.20574,transform:"translate(32.71789 152.74849) rotate(-35.26749)",fill:"#e6e6e6"}),g.createElement("circle",{cx:266.56009,cy:17.73586,r:.32918,fill:"#e6e6e6"}),g.createElement("circle",{cx:267.29919,cy:17.21318,r:.32918,fill:"#e6e6e6"}),g.createElement("circle",{cx:268.03828,cy:16.6905,r:.32918,fill:"#e6e6e6"})),g.createElement("rect",{x:310.2487,y:36.1501,width:45.37273,height:43.02587,fill:"#2f2e41"}),g.createElement("path",{d:"M278.18505,50.11455c-1.42177,2.30905-3.24719,4.10554-5.13192,5.22255l-12.15486,22.85231-10.70485-6.10187,13.48246-22.52441c.14891-2.18581,.93129-4.62454,2.35306-6.93359,3.24804-5.27503,8.60231-7.87566,11.95913-5.80873,3.35682,2.06694,3.44501,8.01872,.19698,13.29374h0Z",fill:"#a0616a"}),g.createElement("g",null,g.createElement("polygon",{points:"484.46638 355.94074 494.22568 353.98533 489.82281 309.15438 475.42033 312.03913 484.46638 355.94074",fill:"#a0616a"}),g.createElement("path",{d:"M522.32995,368.69929h0c.36903,1.63995-.49561,3.23131-1.93126,3.55437l-19.26906,4.33605s-3.61146-7.19566-12.08086-8.73625l1.9198,11.02275-9.94023,2.23681-2.74057-17.80203s-4.76962-8.78079-.32617-14.81781c4.44351-6.03703,.12078-4.3631,.12078-4.3631l-.26922-11.33922,15.41824-1.61372,3.94321,17.00769,11.09385,15.26607,11.88039,2.87566c1.05741,.25593,1.91447,1.1884,2.18097,2.37272h.00013Z",fill:"#2f2e41"})),g.createElement("path",{d:"M316.11586,126.50443l.78229,5.47602s16.42806,17.99264,20.3395,25.81552l47.45165-23.46866-8.33722-19.55721-60.23622,11.73433Z",fill:"#a0616a"}),g.createElement("path",{d:"M375.56979,132.76274s-44.3379,12.51662-40.55273,25.03323c3.78517,12.51662,6.12293,17.65693,6.12293,17.65693,0,0-8.59607,19.11063,18.00174,27.7158,26.59781,8.60517,83.70487,14.86348,83.70487,14.86348l34.02955,112.2584,16.03691-4.30259-13.01864-129.27318-63.64564-22.49079,3.91144-23.46866-13.2989,5.47602-22.17203-24.53737-9.11951,1.06872Z",fill:"#e6e6e6"}),g.createElement("g",null,g.createElement("polygon",{points:"441.82609 242.20381 451.29455 245.27235 469.38465 204.01768 455.41186 199.48837 441.82609 242.20381",fill:"#a0616a"}),g.createElement("path",{d:"M468.60896,271.85358h0c-.48036,1.61086-2.01294,2.57586-3.42312,2.15534l-18.92728-5.64412s.37008-8.04258-6.26319-13.52929l-3.71764,10.553-9.76392-2.91161,6.31803-16.86729s.13536-9.99166,6.96404-13.08343c6.82873-3.09175,2.23967-3.74635,2.23967-3.74635l5.31206-10.0216,14.23695,6.13477-4.88054,16.76278,2.2081,18.74168,8.9552,8.31971c.79706,.74048,1.08843,1.97301,.74153,3.13633l.00011,.00006Z",fill:"#2f2e41"})),g.createElement("path",{d:"M403.02072,157.79597l17.13951-7.0406,39.89671-25.81552s30.50925-24.40494,32.85612,8.52818-19.55721,83.78187-19.55721,83.78187l-28.16239-7.82289,2.86141-34.86112-36.89096,11.00132-8.14319-27.77124Z",fill:"#e6e6e6"}),g.createElement("polygon",{points:"359.80082 70.83875 381.43695 129.24244 410.77277 161.70741 439.71745 142.93249 406.27307 134.32731 407.16008 114.7701 359.80082 70.83875",fill:"#2f2e41"}),g.createElement("polygon",{points:"232.74005 379.95996 232.74005 381.64001 221.09003 381.64001 221.06006 379.95996 217.03003 165 232.12006 165 232.15002 171.02997 232.74005 379.95996",fill:"#3f3d56"}),g.createElement("path",{d:"M475.17346,146.48811c-2.43366-1.19602-4.39542-2.84254-5.6864-4.61264l-23.90354-9.92923,5.05746-11.23604,23.70323,11.28198c2.19007-.05938,4.69209,.4878,7.12575,1.68382,5.5597,2.73229,8.65716,7.81533,6.91842,11.35331-1.73874,3.53798-7.65523,4.19111-13.21492,1.45882h-.00001Z",fill:"#a0616a"}),g.createElement("path",{d:"M348.97198,67.83279l5.52838-2.39922s21.85172,6.22443,23.80744,9.78785,12.90776,18.4269,12.90776,18.4269l77.44656,32.85612-7.0406,14.08119-54.7602-14.08119-29.72696-31.29154-28.16239-27.3801Z",fill:"#2f2e41"}),g.createElement("path",{d:"M340.36681,63.13906l-25.81552-1.56458-13.2989,7.0406,14.86348,65.71224s43.7712-18.77492,62.95575-12.90776c0,0,6.93896-17.97863-5.32203-28.35095l-20.08387-26.80039-13.2989-3.12915Z",fill:"#008939"}),g.createElement("path",{d:"M312.98671,65.48592l-.24867-2.53734-25.56685,9.57793s-9.38746,7.0406-12.51662,10.16975-12.51662,9.38746-12.51662,9.38746l7.82289-28.16239-12.51662-5.47602s-37.54985,49.28418-19.55721,53.19562c17.99264,3.91144,49.28418-3.12915,49.28418-3.12915l1.56458,86.83402,65.32109,1.95572-26.98895-90.35432-14.08119-41.46129Z",fill:"#2f2e41"}),g.createElement("circle",{cx:332.45499,cy:35.94804,r:22.12275,fill:"#a0616a"}),g.createElement("path",{d:"M321.98303,.16483c-14.13925,2.18844-13.46526,7.44234-17.99264,10.16975-7.97625,4.80508-11.1233,18.68076-6.91086,27.83712,1.12549,2.44647,3.49853,5.78389,2.34687,9.38746-.88409,2.76628-3.43283,4.39818-3.91144,4.69373-3.91755,2.41887-1.35869-.45875-3.12915,1.56458-1.95419,2.23332,1.07316,5.38797-.78229,9.38746-1.64479,3.5457-5.0356,3.24642-5.47602,5.47602-.75841,3.83934,7.94626,11.5591,17.21035,10.95204,8.24841-.5405,14.37589-7.51387,16.42806-14.08119,1.37454-4.39923,1.96718-11.96628-1.56458-15.64577-.49542-.51605-1.84953-1.76578-3.12915-3.91144-1.01262-1.69798-2.34572-3.93312-1.56458-5.47602,.83214-1.64374,3.19142-.77856,4.69373-2.34687,2.03746-2.12685-.38331-5.7202,0-9.38746,.64917-6.2098,9.44781-13.67849,18.77492-12.51662,10.58095,1.31801,14.46202,12.82382,14.86348,14.08119,.83214,2.60604,.81552,5.12727,.78229,10.16975-.04756,7.23636-.07754,11.77186-2.34687,16.42806-3.26399,6.69701-7.42238,5.97345-8.60517,10.95204-1.84399,7.76234,6.8307,15.5582,7.82289,16.42806,7.35611,6.44853,18.46648,8.38745,20.3395,5.47602,1.68776-2.62361-5.72182-6.70474-5.47602-14.86348,.21295-7.0703,5.93477-9.2256,4.69373-14.08119-1.36595-5.34491-8.65502-4.12564-11.73433-10.16975-2.87418-5.64161,2.42269-8.77172,1.56458-20.3395-.18163-2.44704-.94998-9.47006-5.47602-16.42806-1.99392-3.06536-4.02183-6.18296-7.82289-7.82289-4.25522-1.83588-16.1191-7.09062-23.5984-5.93304Z",fill:"#2f2e41"}),g.createElement("path",{d:"M312.59556,19.72205c.57392,4.84423,7.84819,7.21822,10.95204,7.82289,1.31457,.25612,5.75687,1.12148,10.16975-.78229,1.63104-.7037,2.2253-1.34007,3.91144-1.56458,2.28279-.30386,3.43292,.56437,7.0406,1.56458,4.01171,1.11222,6.01766,1.66838,7.0406,.78229,1.67229-1.44846,.38761-6.18697-1.56458-9.38746-3.60968-5.91787-10.21721-7.75041-13.2989-8.60517-3.52087-.97652-10.66575-2.95822-17.21035,.78229-.87501,.5001-7.62368,4.46569-7.0406,9.38746Z",fill:"#2f2e41"}),g.createElement("g",null,g.createElement("path",{d:"M483.68471,146.63992c-10.43948,4.86837-14.58904-1.48957-14.58904-1.48957l.00415-1.89506,.03113-24.37561c7.27147-4.7458,19.54235,2.1471,19.54235,2.1471l-4.72174,24.2419-.26685,1.37123Z",fill:"#3f3d56"}),g.createElement("path",{d:"M487.06212,116.56984s-10.79344-4.62127-16.62296-1.14054c0,0-6.07931,6.16086-1.31837,7.95196l18.74104,1.81606s4.26221-2.8578,2.40346-5.20921-3.20317-3.41826-3.20317-3.41826Z",fill:"#008939"})),g.createElement("polygon",{points:"101.03003 310 110.03003 383 179.03003 382 179.88042 310 101.03003 310",fill:"#f2f2f2"}),g.createElement("path",{d:"M158.33843,297.86192c-2.06596,.12943-3.20775-2.43734-1.64474-3.93332l.1555-.61819c-.02037-.04925-.04083-.09845-.06146-.14762-2.09427-4.99272-5.84395-.27999-11.24767,.05533-7.94717,.49316-7.82846,6.50372-4.74985,13.53162,.83575,1.90784-6.25866-13.48616-6.25866-23.82032,0-2.59652,.14213-5.19301,.43275-7.78295,.239-2.11854,.56839-4.2241,.99471-6.31034,2.30575-11.2772,7.29852-22.01825,14.50012-30.98962,3.46197-1.89248,6.34906-4.85065,8.09295-8.39652,.62649-1.27891,6.00922-2.35919,6.24173-3.76075-.39398,.05168-6.37738-6.24409-6.08023-6.61223-.54906-.83317-1.53178-1.24733-2.13144-2.06034-2.98232-4.04341-7.0912-3.33741-9.23621,2.15727-4.58224,2.31266-4.62659,6.14806-1.81495,9.83683,1.78878,2.34682,2.03456,5.52233,3.60408,8.03478-.16151,.20671-.32944,.40695-.4909,.61366-.06206,.0796-.12395,.15933-.18566,.23918-2.53339,3.27809-7.59193,2.43844-9.00273-1.45689-.1029-.28411-.97613,15.10569-.31905-.82329,.65709-15.92897-5.07197-7.82005-7.97245-11.49344-3.46441-4.3876-10.51175-2.39353-11.1222,3.16349-.00584,.05317-.01153,.10628-.01712,.15945,.42892,.24196,.84911,.49906,1.25955,.77052,2.33935,1.54727,1.53003,5.17388-1.24198,5.60114l-.06277,.00967c.15503,1.54366,.41984,3.07444,.80734,4.57937-3.70089,14.31228,4.2862,19.52734,15.69314,19.76387l.5944,.84585c-1.08016,3.10807-1.94912,6.29072-2.60119,9.5144-.61359,2.99043-1.03991,6.01317-1.27885,9.04888l-.00995,.12979c-.19788,2.58248-3.46534,3.68083-5.10761,1.67801-.41796-.50972-.84567-.95654-1.27676-1.31047-4.94561-4.06264-11.93282-5.55869-17.26826-8.82425-2.56833-1.57196-5.85945,.45945-5.41121,3.43708l.02182,.14261c.79443,.32289,1.56947,.69755,2.31871,1.11733,.42928,.24222,.84982,.49949,1.26059,.77121,2.3397,1.54767,1.52974,5.17477-1.24303,5.60051l-.06282,.00965c-.0452,.00646-.08397,.01295-.12911,.01944l.04105,.097c1.78382,4.19631,6.04734,6.91423,10.60025,6.66528,5.35922-.29304,12.01607,4.18781,17.88748,12.11045l.00647,.00002c1.16259,5.06378,2.86128,10.01127,5.0444,14.72621h18.02019c.06463-.20022,.12274-.40692,.18089-.60717-1.6664,.10341-3.34571,.00649-4.98629-.29702,1.33701-1.64059,2.67396-3.29409,4.01097-4.93462,.03229-.0323,.05816-.0646,.08397-.09689,.67817-.8396,1.36282-1.67283,2.04099-2.51245l.00036-.001c.04245-2.57756-.26652-5.14664-.87876-7.63987l-.00051-.00036Z",fill:"#f2f2f2"}),g.createElement("path",{d:"M583.04004,381.79999h0c0,.46394-.37609,.84003-.84003,.84003H0v-1.68005H582.20001c.46393,0,.84003,.37609,.84003,.84003Z",fill:"#e6e6e6"})),bF=g.forwardRef(yF),SF=()=>{const{user:t,currentOrganization:e}=Pe(o=>o),[a,i]=g.useState(!1),s=kt();return g.useEffect(()=>{ne(e?.id)?ne(t.joinRequests)?s("/landing"):Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{value:S.t("breadCrumb.home")}]}):s(`/organization/${e.id}`),i(!1)},[e]),a?h.jsx(Sn,{}):h.jsxs("div",{className:"home-container",children:[h.jsx("h2",{children:S.t("welcome.greeting",{name:t.name})}),ne(t.joinRequests)&&h.jsxs("div",{className:"nudge-landing",children:[h.jsx("span",{children:S.t("userHome.nudgeLanding")}),h.jsx(zi,{to:"/landing",children:h.jsx("span",{children:S.t("userHome.nudgeLandingLink")})})]}),!ne(t.joinRequests)&&h.jsxs("div",{children:[h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("userHome.infoJoinRequest",{name:t.joinRequests[0].organization.name}))}}),h.jsx(bF,{}),h.jsxs("div",{className:"nudge-landing",children:[h.jsx("span",{children:S.t("userHome.backToLanding")}),h.jsx(zi,{to:"/landing",children:h.jsx("span",{children:S.t("userHome.backToLandingLink")})})]})]})]})},EF=()=>{const t=Pe(a=>a.config),e=ui();return g.useEffect(()=>{const a=e.pathname+e.search;sessionStorage.setItem(Xc,a),i6(t)},[]),h.jsx(Sn,{})},AF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M14.2 16.1v-2.2c.4 0 .8-.2 1.1-.4.3-.3.4-.7.4-1.1v-1.5c0-.8-.3-1.6-.9-2.1-.6-.6-1.3-.9-2.1-.9h-1.5c-.8 0-1.6.3-2.1.9-.6.6-.9 1.3-.9 2.1v1.5c0 .4.2.8.4 1.1.3.3.7.4 1.1.4v2.2M.8 20.2c3.5 1.9 7.3 2.9 11.2 3 3.9-.1 7.8-1.1 11.2-3M3 17.2c2.8 1.3 5.9 2.1 9 2.2 3.1-.1 6.2-.9 9-2.2M14.6 3.4C14.6 4.8 13.4 6 12 6S9.4 4.8 9.4 3.4 10.6.8 12 .8s2.6 1.1 2.6 2.6z"})),jx=g.forwardRef(AF),CF=()=>{const{user:t,setFlash:e,impersonator:a,stopImpersonation:i}=Pe(o=>o),s=kt();return h.jsxs("div",{className:"impersonator ",children:[h.jsx(ca,{children:h.jsx(jx,{}),standalone:!0,tip:S.t("impersonate.impersonatorTooltip",{currentUser:t.name,impersonator:a.name})}),h.jsx("p",{dangerouslySetInnerHTML:{__html:sa.sanitize(S.t("impersonate.impersonator",{name:t.name}))}}),h.jsx(at,{type:vt.Secondary,onClick:()=>{i(),e(S.t("impersonate.flash.clearedImpersonation")),s("/")},txt:S.t("impersonate.exit")})]})},wF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:18,viewBox:"0 0 24 18",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("g",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"},g.createElement("path",{d:"M14.2.8h-12c-.4 0-.8.2-1.1.4-.2.3-.3.7-.3 1v13.5c0 .4.2.8.4 1.1.3.3.7.4 1.1.4h19.5c.4 0 .8-.2 1.1-.4s.4-.7.4-1.1V2.2c0-.4-.2-.8-.4-1.1s-.7-.4-1.1-.4l-7.6.1h0z"}),g.createElement("path",{d:"M12 11.1c1.7 0 3.1-1.4 3.1-3.1S13.7 5 12 5 8.9 6.4 8.9 8.1s1.4 3 3.1 3zm-5.2 6.1c0-1.4.6-2.7 1.5-3.7S10.6 12 12 12s2.7.6 3.7 1.5 1.5 2.3 1.5 3.7H6.8z"}))),Lx=g.forwardRef(wF),xF=()=>{const{user:t,startImpersonation:e,setFlash:a}=Pe(R=>R),[i,s]=g.useState(!1),[o,u]=g.useState(sC()),[d,f]=g.useState(0),[m,y]=g.useState([]),b=kt();g.useEffect(()=>{ne(o.query)?s(!1):hL(o).then(R=>{y(R.content),f(R.totalElements),s(!1)})},[o]);const C=(R,x,j,U)=>{!ne(R)||R.trim().length>2?A(R,x,j,U):(y([]),f(0))},A=z5((R,x,j,U)=>{s(!0),u({query:R,pageNumber:U,pageSize:tl,sort:x,sortDirection:j?"DESC":"ASC"})},375),I=[{nonSortable:!0,key:"icon",header:"",mapper:R=>h.jsx("div",{className:"member-icon",children:h.jsx(ca,{standalone:!0,children:h.jsx(Lx,{}),tip:S.t("tooltips.userIcon",{name:R.name,createdAt:Oa(R.createdAt),lastActivity:Oa(R.lastActivity)})})})},{key:"name",header:S.t("users.name_email"),mapper:R=>h.jsxs("div",{className:"user-name-email",children:[h.jsx("span",{className:"name",children:R.name}),h.jsx("span",{className:"email",children:R.email})]})},{key:"schac_home_organization",header:S.t("users.schacHomeOrganization"),mapper:R=>h.jsx("span",{children:R.schac_home_organization})},{key:"createdAt",header:S.t("users.createdAt"),mapper:R=>Oa(R.createdAt,!1)},{key:"lastActivity",header:S.t("users.lastActivity"),mapper:R=>Oa(R.lastActivity,!1)}],M=t&&t.superUser,O=R=>{e(R),a(S.t("impersonate.flash.startedImpersonation",{name:R.name})),b("/",{replace:!0})};return M&&I.push({nonSortable:!0,key:"icon",hasLink:!0,header:"",mapper:R=>t.id!==R.id?h.jsx(ca,{standalone:!0,children:h.jsx(jx,{className:"impersonate",onClick:()=>O(R)}),tip:S.t("users.impersonate",{name:R.name})}):h.jsx(ol,{type:xs.Main_400,label:S.t("forms.you")})}),h.jsx("div",{className:"mod-users",children:h.jsx(Os,{entities:m,modelName:"users",defaultSort:"name",columns:I,showNew:!1,inputFocus:!0,hideTitle:!0,searchAttributes:["name","email","schacHomeOrganization"],customSearch:C,totalElements:d,loading:i})})},q5=({tabNames:t,tab:e,setTab:a,children:i})=>{const s=(o,u)=>{Ra(o),a(u)};return h.jsxs("div",{className:"tab-header-container",children:[i,h.jsx("div",{className:"tabs-menu",children:t.map(o=>h.jsx("a",{href:`/${o}`,className:o===e?"active":"",onClick:u=>s(u,o),children:S.t(`tabs.${o}`)},o))})]})},TF=()=>{const{setFlash:t}=Pe(E=>E),[e,a]=g.useState(!1),[i,s]=g.useState(sC()),[o,u]=g.useState(0),[d,f]=g.useState([]),[m,y]=g.useState({}),[b,C]=g.useState(-1);g.useEffect(()=>{ne(i.query)?a(!1):cC(i).then(E=>{f(E.content),u(E.totalElements),a(!1)})},[i]);const A=(E,T,N,G)=>{!ne(E)||E.trim().length>2?I(E,T,N,G):(f([]),u(0))},I=z5((E,T,N,G)=>{a(!0),s({query:E,pageNumber:G,pageSize:tl,sort:T,sortDirection:N?"DESC":"ASC"})},375),M=(E,T,N)=>{N?y({open:!0,cancel:()=>y({open:!1}),action:()=>M(E,T,!1),question:S.t("organizations.confirmation",{status:S.t(`organizations.${T.toLowerCase()}`).toLowerCase(),name:E.name}),okButton:S.t("forms.submit")}):uC(E.id,T).then(()=>{y({}),t(S.t("organizations.flash.updated",{name:E.name,status:S.t(`organizations.${T.toLowerCase()}`).toLowerCase()})),s({...i})})},O=(E,T)=>{E?y({open:!0,cancel:()=>y({open:!1}),action:()=>O(!1,T),question:S.t("organization.deleteConfirmation",{name:T.name}),okButton:S.t("forms.delete")}):o5(T.id).then(()=>{y({}),t(S.t("organizations.flash.deleted",{name:T.name})),s({...i,query:""})})},R=E=>{const T=Object.keys(f5).filter(N=>N!==E.status).sort();return h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[T.map((N,G)=>h.jsxs("li",{onClick:()=>M(E,N,!0),children:[h.jsx(go,{}),h.jsx("span",{children:S.t(`organizations.${N.toLowerCase()}_action`)})]},G)),h.jsxs("li",{onClick:()=>O(!0,E),children:[h.jsx(vl,{}),h.jsx("span",{children:S.t("forms.delete")})]})]})})},x=[{nonSortable:!0,key:"icon",header:"",mapper:E=>h.jsx("div",{className:"member-icon",children:h.jsx(ca,{standalone:!0,children:h.jsx(E5,{}),tip:S.t("tooltips.organizationsIcon",{name:E.name,createdAt:Oa(E.created_at,!1),status:S.t(`organizations.${E.status.toLowerCase()}`)})})})},{key:"name",header:S.t("organizations.name"),mapper:E=>h.jsx("span",{children:E.name})},{key:"schac_home_organization",header:S.t("organizations.schacHomeOrganization"),mapper:E=>h.jsx("span",{children:E.schac_home_organization})},{key:"applicationCount",header:S.t("organizations.applicationCount"),mapper:E=>E.applicationCount},{key:"memberCount",header:S.t("organizations.memberCount"),mapper:E=>E.memberCount},{key:"createdAt",header:S.t("organizations.createdAt"),mapper:E=>Oa(E.created_at,!1)},{key:"status",header:S.t("organizations.status"),mapper:E=>S.t(`organizations.${E.status.toLowerCase()}`)},{key:"buttons",header:"",nonSortable:!0,mapper:E=>h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>C(-1),175),children:h.jsxs("span",{className:`menu ${b===E.id?"drop-down":""}`,onClick:()=>C(b===-1?E.id:-1),children:[h.jsx(Ts,{}),b===E.id&&R(E)]})})}],{open:j,cancel:U,action:L,question:P,okButton:F}=m;return h.jsxs("div",{className:"mod-organizations",children:[j&&h.jsx(Cr,{confirm:L,cancel:U,confirmationHeader:S.t("confirmationDialog.confirm"),confirmationTxt:F,question:P}),h.jsx(Os,{entities:d,modelName:"organizations",defaultSort:"name",columns:x,showNew:!1,inputFocus:!0,hideTitle:!0,searchAttributes:["name","schac_home_organization"],customSearch:A,totalElements:o,loading:e})]})},OF=()=>{const{setFlash:t}=Pe(U=>U),[e,a]=g.useState(new Date),[i,s]=g.useState([]),[o,u]=g.useState({}),[d,f]=g.useState(-1),[m,y]=g.useState(!1);g.useEffect(()=>{mL().then(U=>{s(U),y(!1)})},[e]);const b=(U,L,P)=>{P?u({open:!0,cancel:()=>u({open:!1}),action:()=>b(U,L,!1),question:S.t("organizations.confirmation",{status:S.t(`organizations.${L.toLowerCase()}`).toLowerCase(),name:U.name}),okButton:S.t("forms.submit")}):uC(U.id,L).then(()=>{u({}),t(S.t("organizations.flash.updated",{name:U.name,status:S.t(`organizations.${L.toLowerCase()}`).toLowerCase()})),a(new Date)})},C=(U,L)=>{U?u({open:!0,cancel:()=>u({open:!1}),action:()=>C(!1,L),question:S.t("organization.deleteConfirmation",{name:L.name}),okButton:S.t("forms.delete")}):o5(L.id).then(()=>{u({}),t(S.t("organizations.flash.deleted",{name:L.name})),a(new Date)})},A=U=>{const L=Object.keys(f5).filter(P=>P!==U.status).sort();return h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[L.map((P,F)=>h.jsxs("li",{onClick:()=>b(U,P,!0),children:[h.jsx(go,{}),h.jsx("span",{children:S.t(`organizations.${P.toLowerCase()}_action`)})]},F)),h.jsxs("li",{onClick:()=>C(!0,U),children:[h.jsx(vl,{}),h.jsx("span",{children:S.t("forms.delete")})]})]})})},I=[{nonSortable:!0,key:"icon",header:"",mapper:U=>h.jsx("div",{className:"member-icon",children:h.jsx(ca,{standalone:!0,children:h.jsx(E5,{}),tip:S.t("tooltips.organizationsIcon",{name:U.name,createdAt:Oa(U.createdAt),status:S.t(`organizations.${U.status.toLowerCase()}`)})})})},{key:"name",header:S.t("organizations.name"),mapper:U=>h.jsx("span",{children:U.name})},{key:"schacHomeOrganization",header:S.t("organizations.schacHomeOrganization"),mapper:U=>h.jsx("span",{children:U.schacHomeOrganization})},{key:"applicationCount",header:S.t("organizations.applicationCount"),mapper:U=>U.applicationCount},{key:"memberCount",header:S.t("organizations.memberCount"),mapper:U=>U.memberCount},{key:"status",header:S.t("organizations.status"),mapper:U=>S.t(`organizations.${U.status.toLowerCase()}`)},{key:"createdAt",header:S.t("organizations.createdAt"),mapper:U=>Oa(U.createdAt,!0)},{key:"buttons",header:"",nonSortable:!0,mapper:U=>h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>f(-1),175),children:h.jsxs("span",{className:`menu ${d===U.id?"drop-down":""}`,onClick:()=>f(d===-1?U.id:-1),children:[h.jsx(Ts,{}),d===U.id&&A(U)]})})}];if(m)return h.jsx(Sn,{});const{open:M,cancel:O,action:R,question:x,okButton:j}=o;return h.jsxs("div",{className:"mod-organizations",children:[M&&h.jsx(Cr,{confirm:R,cancel:O,confirmationHeader:S.t("confirmationDialog.confirm"),confirmationTxt:j,question:x}),h.jsx(Os,{entities:i,modelName:"organizations",defaultSort:"name",columns:I,showNew:!1,inputFocus:!0,hideTitle:!0,searchAttributes:["name","schacHomeOrganization"],totalElements:i.length})]})},RF=["users","organizations","organizationPendingApproval"],IF=()=>{const{tab:t="users"}=oi(),[e,a]=g.useState(t),i=kt(),s=u=>{a(u),i(`/system/${u}`)},o=()=>{switch(e){case"users":return h.jsx(xF,{});case"organizations":return h.jsx(TF,{});case"organizationPendingApproval":return h.jsx(OF,{});default:throw new Error(`Unknown tab; ${e}`)}};return h.jsxs("div",{className:"system-outer-container",children:[h.jsx(q5,{tab:e,setTab:s,tabNames:RF,children:h.jsx("h3",{children:S.t("landing.header.system")})}),h.jsx("div",{className:"system-container",children:o()})]})};function MF({name:t,emails:e,addEmails:a,removeMail:i,pinnedEmails:s=[],error:o=!1,grabFocus:u=!0,required:d=!1}){const[f,m]=g.useState([]),[y,b]=g.useState(""),C=g.useRef(null);g.useEffect(()=>{u&&C.current&&C.current.focus()},[u]);const A=x=>{["Enter","Spacebar","Backspace","Tab"].includes(x.key)||m([]),b(x.target.value)},I=x=>{const j=x.indexOf("<");return j>-1?h.jsx(ca,{tip:x.substring(j+1,x.length-1),standalone:!0,children:h.jsx("span",{children:x.substring(0,j).trim()})}):h.jsx("span",{children:x})},M=(x,j)=>{const U=x.trim().length>0,L=U&&s6.test(x);return!L&&U&&j.push(x.trim()),L},O=x=>{if(ne(x.key)&&ne(x.target.value))return;const j=x.target.value,U=[],L=[","," ",";",`
`,"	"];let P;!ne(j)&&j.indexOf("<")>-1?P=j.split(/[,\n\t;]/).map(E=>E.trim()).filter(E=>{const T=E.indexOf("<");return E=T>-1?E.substring(T+1,E.length-1):E,M(E,U)}):!ne(j)&&L.some(E=>j.indexOf(E)>-1)?P=j.replace(/[;\s]/g,",").split(",").filter(N=>M(N,U)):ne(j)||(s6.test(j.trim())?P=[j]:U.push(j.trim())),m(!ne(x.target.value)&&!ne(U)?U:[]);const F=[...new Set(P)];ne(F)||a(F),b("")},R=x=>{m([]),i(x)};return h.jsxs("div",{className:`email-field ${o?"error":""}`,children:[h.jsxs("label",{htmlFor:t,children:[t,d&&h.jsx("sup",{className:"required",children:"*"})]}),h.jsxs("div",{className:`inner-email-field ${o?"error":""}`,children:[e.map((x,j)=>h.jsxs("div",{className:"email-tag",children:[I(x),s.includes(x)?h.jsx("span",{className:"disabled icon",children:h.jsx(Lx,{})}):h.jsx("span",{className:"icon",onClick:()=>R(x),children:h.jsx(ww,{})})]},j)),h.jsx("textarea",{id:"email-field",inputMode:"email",value:y,ref:C,onChange:A,onBlur:O,onKeyDown:x=>{if(x.key==="Enter"||x.key===" "||x.key==="Spacebar")return O(x),setTimeout(()=>document.getElementById("email-field").focus(),50),Ra(x);if(x.key==="Backspace"&&ne(y)&&e.length>0){const j=e[e.length-1];s.includes(j)||R(j)}},placeholder:e.length===0?S.t("invitation.inviteesTooltip"):"",cols:3})]}),!ne(f)&&y===""&&h.jsx("p",{className:"error",children:S.t("invitation.invalidEmails",{emails:Array.from(new Set(f)).join(", ")})})]})}const NF=()=>{const t=kt(),{organizationId:e,applicationId:a}=oi(),i=["en","nl"].map(_=>({label:S.t(`languages.${_}`),value:_})),{user:s,setFlash:o}=Pe(_=>_),[u,d]=g.useState({}),[f,m]=g.useState({}),[y,b]=g.useState(!0),[C,A]=g.useState({invites:[],applicationIdentifiers:[],intendedAuthority:$t.GUEST}),[I,M]=g.useState(!0),[O,R]=g.useState(S.locale==="en"?i[0]:i[1]),x=["intendedAuthority","invites"];g.useEffect(()=>{vL(e).then(_=>{m(_),Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${e}`,value:_.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.invitations")}]}),b(!1);const q=(s.organizationMemberships||[]).find(Z=>Z.organization.id===_.id);if(d(_5(s,q)),a){const Z={...C,applicationIdentifiers:[parseInt(a,10)]};A(Z)}})},[e]);const j=()=>{if(M(!1),U()){const _={...C,language:O.value,organizationId:e};b(!0),_L(_).then(()=>{b(!1),o(S.t("invitation.createFlash")),t(`/users/${e}/invitations`)})}},U=()=>x.every(_=>!ne(C[_])),L=_=>{const q=[...new Set(C.invites.concat(_))];A({...C,invites:q})},P=_=>{A({...C,invites:C.invites.filter(q=>_!==q)})},F=_=>{A({...C,intendedAuthority:_.value})},E=_=>{A({...C,applicationIdentifiers:ne(_)?[]:_.map(q=>q.value)})},T=_=>({value:_.id,label:_.name}),N=_=>h.jsxs(h.Fragment,{children:[h.jsx(MF,{name:S.t("invitation.invitees"),addEmails:L,emails:C.invites,isAdmin:!1,pinnedEmails:[],removeMail:P,required:!0,error:!I&&ne(C.invites)}),!I&&ne(C.invites)&&h.jsx(mn,{msg:S.t("invitation.requiredEmail")}),_.length>1&&h.jsx(Pa,{value:_.find(q=>q.value===C.intendedAuthority)||_[_.length-1],options:_,name:S.t("invitation.intendedAuthority"),searchable:!1,disabled:_.length===1,onChange:F,toolTip:S.t("invitation.intendedAuthorityTooltip"),clearable:!1,className:"small"}),f.applications.length>0&&h.jsx(Pa,{value:f.applications.filter(q=>C.applicationIdentifiers.includes(q.id)).map(T),options:f.applications.filter(q=>!C.applicationIdentifiers.includes(q.id)).map(T),name:S.t("invitation.applications"),searchable:!0,placeholder:S.t("invitation.applicationsPlaceHolder"),isMulti:!0,onChange:E,toolTip:S.t("invitation.applicationsTooltip"),clearable:!0}),h.jsx(fn,{name:S.t("invitation.message"),value:C.message,onChange:q=>A({...C,message:q.target.value}),placeholder:S.t("invitation.messagePlaceholder"),small:!0,cols:1,multiline:!0}),h.jsx(Pa,{value:O,options:i,name:S.t("languages.language"),searchable:!1,onChange:q=>R(q),toolTip:S.t("invitation.languageTooltip"),clearable:!1,className:"small"})]}),G=()=>{const _=!I&&!U(),q=k5.filter(Z=>u===$t.ADMIN||Z!==$t.ADMIN).map(Z=>({value:Z,label:S.t(`roles.${Z.toLowerCase()}`)}));return h.jsxs(h.Fragment,{children:[N(q),h.jsxs("section",{className:"actions",children:[h.jsx(at,{type:vt.Secondary,txt:S.t("forms.cancel"),onClick:()=>t(-1)}),h.jsx(at,{disabled:_,txt:S.t("invitation.invite"),onClick:j})]})]})};return y?h.jsx(Sn,{}):h.jsxs("div",{className:"mod-invitation-form",children:[h.jsx(q5,{tab:"nope",tabNames:[],children:h.jsx("h3",{children:S.t("invitation.title",{name:f.name})})}),h.jsx("div",{className:"invitation-form",children:G()})]})},DF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:613.35286,height:700.56123,viewBox:"0 0 613.35286 700.56123",xmlnsXlink:"http://www.w3.org/1999/xlink",role:"img",artist:"Katerina Limpitsouni",source:"https://undraw.co/",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{d:"M587.667,756.93133l-.78168-17.57606q-.12187-.06468-.24405-.12879c-8.37606-4.39513-17.97576,3.561-15.3004,12.63392,2.51722,8.5366,4.20846,17.73958,8.81613,25.21162a34.14441,34.14441,0,0,0,25.03847,15.77861l10.64166,6.51555a57.21525,57.21525,0,0,0-12.05953-46.36368,55.2668,55.2668,0,0,0-10.157-9.4375C591.07189,750.28541,587.667,756.93133,587.667,756.93133Z",transform:"translate(-293.32357 -99.71938)",fill:"#f2f2f2"}),g.createElement("path",{d:"M492.3909,578.56387c-20.48783-21.12931-50.17767-33.24712-81.45666-33.24712l-1.20652.00324a116.3146,116.3146,0,0,1-58.63546-15.83485l-1.85205-1.07912,1.49167-1.537a113.37272,113.37272,0,0,0,19.99317-28.30616,34.28239,34.28239,0,0,1-27.66751,8.93789,35.10416,35.10416,0,0,1-25.77016-16.50626c-10.93231-17.73787-23.96381-42.90658-23.96381-62.0803a116.66888,116.66888,0,0,1,38.0631-86.091,72.65143,72.65143,0,0,0,23.99981-54.17137l-.00607-1.45284a164.77416,164.77416,0,0,1,4.8908-39.87268l.33005-1.31694,1.355.04732a111.39121,111.39121,0,0,0,26.04681-2.1821,87.918,87.918,0,0,1-23.35954-6.213l-1.45769-.58971.4947-1.4937C397.78172,214.464,474.7579,225.398,519.43718,123.17462,555.666,40.28535,683.49348,196.75549,683.49348,287.199c0,9.2287-9.13324,21.42423-2.29615,27.52391,73.90979,65.93827,22.91308,108.27972,6.83466,150.88534-3.81479,10.10871,4.45682,21.20613,4.45682,32.14249,0,1.85569-.04732,3.77124-.14076,5.69327l-.14237,2.955-2.46441-1.63971a81.62563,81.62563,0,0,1-13.47964-11.05649,71.13531,71.13531,0,0,1-2.25612,61.41172c-7.74552,14.619-15.23907,25.085-22.27193,31.10507a116.2904,116.2904,0,0,1-159.34268-7.65574Z",transform:"translate(-293.32357 -99.71938)",fill:"#e6e6e6"}),g.createElement("path",{d:"M616.13152,798.499a2.09333,2.09333,0,0,0,2.06993-1.79837c.08893-.62489,8.80049-63.45379.97652-146.956-7.22548-77.11632-30.4294-188.191-99.9393-279.41478a2.0935,2.0935,0,1,0-3.33028,2.53775c68.90954,90.436,91.9264,200.69567,99.10094,277.2675,7.77849,83.01636-.86476,145.3553-.953,145.97542a2.09519,2.09519,0,0,0,2.0752,2.38851Z",transform:"translate(-293.32357 -99.71938)",fill:"#3f3d56"}),g.createElement("path",{d:"M559.40732,499.0052a2.09343,2.09343,0,0,0,1.23242-3.78686c-.25231-.18331-25.681-18.50562-63.69657-32.425-35.14253-12.86589-88.582-24.5297-143.597-7.02036a2.0932,2.0932,0,1,0,1.26956,3.98925c53.88785-17.14953,106.35862-5.67858,140.88784,6.96312,37.47293,13.72044,62.427,31.7,62.67472,31.87988A2.08515,2.08515,0,0,0,559.40732,499.0052Z",transform:"translate(-293.32357 -99.71938)",fill:"#3f3d56"}),g.createElement("path",{d:"M655.2196,260.37275a2.09343,2.09343,0,0,0-3.68827-1.50192c-.201.23845-20.307,24.28166-36.928,61.19609-15.36327,34.12475-30.84523,86.58548-17.34326,142.71855a2.09319,2.09319,0,1,0,4.07031-.979c-13.22427-54.983,1.99558-106.49141,17.09108-140.02058,16.38342-36.38756,36.11335-59.982,36.31062-60.21616A2.0852,2.0852,0,0,0,655.2196,260.37275Z",transform:"translate(-293.32357 -99.71938)",fill:"#3f3d56"}),g.createElement("path",{d:"M652.38648,368.31675c1.76623,14.25037,11.64059,26,26,26a26,26,0,0,0,26-26c0-14.3594-11.70215-24.67241-26-26C663.21558,340.90809,650.11884,350.02107,652.38648,368.31675Z",transform:"translate(-293.32357 -99.71938)",fill:"#2f2e41"}),g.createElement("polygon",{points:"397.105 687.328 407.006 687.327 411.716 649.137 397.103 649.138 397.105 687.328",fill:"#ffb6b6"}),g.createElement("path",{d:"M690.08055,797.37579l30.447-.00116v-.385A11.85149,11.85149,0,0,0,708.67674,785.139H708.676l-5.56152-4.21923-10.37659,4.21991-2.65783.00006Z",transform:"translate(-293.32357 -99.71938)",fill:"#2f2e41"}),g.createElement("polygon",{points:"358.105 687.328 368.006 687.327 372.716 649.137 358.103 649.138 358.105 687.328",fill:"#ffb6b6"}),g.createElement("path",{d:"M651.08055,797.37579l30.447-.00116v-.385A11.85149,11.85149,0,0,0,669.67674,785.139H669.676l-5.56152-4.21923-10.37659,4.21991-2.65783.00006Z",transform:"translate(-293.32357 -99.71938)",fill:"#2f2e41"}),g.createElement("path",{d:"M724.50065,547.85614l7,24L723.25419,673.501s4.24646,6.35511,1.24646,6.35511-6.84686,1.40942-4.4234,5.20471-5.86,17.4209-5.86,17.4209l-11.71661,72.37439-14.92914-.22046s-7.59009-4.22833-3.3305-8.504,7.25958-4.27557,3.25958-8.27557-4-2.79529-4-5.89765-4.00751-41.01574,5.49628-55.559l-2.86365-59.29529-6.74457,58.16144-13.888,77.59052-14.38171-.11847s-6.64276-6.40271-6.6305-11.14209,4.10419-5.13312,1.05823-7.93628-3.046-45.86615,5.954-69.80316c0,0,5.09108-13.37393-.01155-17.95666s-.00631-9.82652-.00631-9.82652,8.08172-2.92145-.0073-11.33883-.04369-67.94913-.04369-67.94913-8.84271-24.03067.1131-33.47977S724.50065,547.85614,724.50065,547.85614Z",transform:"translate(-293.32357 -99.71938)",fill:"#2f2e41"}),g.createElement("path",{d:"M599.82611,589.20574l12.48925-30.1823,9.84,5.46667-5.94253,30.70307a10.93464,10.93464,0,1,1-16.38671-5.98744Z",transform:"translate(-293.32357 -99.71938)",fill:"#ffb6b6"}),g.createElement("path",{d:"M809.4002,350.535l-19.00315,26.56751-8.34544-7.554,12.7447-28.5581A10.93464,10.93464,0,1,1,809.4002,350.535Z",transform:"translate(-293.32357 -99.71938)",fill:"#ffb6b6"}),g.createElement("path",{d:"M726.38648,550.31675c12.32568,19.11831-49.63137,43.38055-73.40448,33.64-4.1628-1.7056-18.48212-7.33918-8.69439-15.14958s-1.1348-8.90952-1.393-13.99392c-.1726-3.39918,2.45917-10.85592-.28674-10.5362s-5.95975-4.3811.0205-6.404.06411-3.86767.11651-5.78787c.57186-20.95538,16.64979-54.2869,16.64979-54.2869l-28.971,74.05682s.214,12.81223-3.48049,8.897-3.42565,8.75675-3.42565,8.75675-5.49354,3.83389-2.33452,5.9676-3.401,8.6937-3.401,8.6937l-15.30666-1.09334s.23964-11.37068,2.85315-13.88533,1.32975-6.47144,1.32975-6.47144,6.80457-6.02348,2.24268-10.91429c-5.86712-6.29013,15.52417-112.52993,22.90637-111.47784a28.12048,28.12048,0,0,1,20.08017-21.45161l16.53221-4.55191,2.93564-11.64749h23.27852l4.0548,7.65333,17.69783,7.98657c3.33362-4.70352,5.82477-9.65991,19.47546-11.26657,0,0,36.78255-33.46683,34.98668-36.08s3.906-8.73109,3.906-8.73109,4.86956-1.59377,2.12179-2.44467,2.446-2.81826,2.446-2.81826,4.81028-1.264,2.54157-2.92832,7.57128-2.75765,7.57128-2.75765l12.767,10.4168-2.58037,4.37541s1.5733,5.958-.48,3.78289-2.43983,4.1371-2.43983,4.1371-1.0486,6.912-7.26682,8.99446S778.502,404.8635,778.502,404.8635c-14.6648,19.0673-31.97132,33.9415-52.48,43.73331C734.01483,457.77113,726.38648,550.31675,726.38648,550.31675Z",transform:"translate(-293.32357 -99.71938)",fill:"#f59e0b"}),g.createElement("circle",{cx:387.93692,cy:273.08556,r:23.0557,fill:"#ffb6b6"}),g.createElement("path",{d:"M657.38648,375.31675c.73,5.01,5,12,4,12s-8.11-20.65332-1-22c5.15722-.97681,6.31-.12,11.13-2.21l-.68.64c3.19,2.32,7.63.89,11.27-.62,3.65-1.5,8.08-2.93,11.28-.62,2.01,1.45,2.86,3.97,4.11,6.11,1.25,2.15,3.56,4.18,5.94,3.52,1.91-.53,3.01-2.67005,3-4.65s-2.58825-3.86355-1.72-5.64c2.57319-5.26444.25916-8.85275-5.35-11.33q-3.06-.465-6.12-.95a17.35842,17.35842,0,0,1,3.84-3.86,8.77436,8.77436,0,0,0-3.1-3.97c-1.63-.97-3.65-.9-5.54-.8q-6.33.33-12.65.66c-3.12.16-6.35.35-9.13995,1.78-3.48,1.79-5.76,5.28-7.42005,8.83C655.51648,360.18675,656.10645,366.60679,657.38648,375.31675Z",transform:"translate(-293.32357 -99.71938)",fill:"#2f2e41"}),g.createElement("path",{d:"M561.476,799.97328l226.75.30734a1.19068,1.19068,0,1,0,0-2.38137l-226.75-.30733a1.19068,1.19068,0,0,0,0,2.38136Z",transform:"translate(-293.32357 -99.71938)",fill:"#cacaca"}),g.createElement("ellipse",{cx:471.98821,cy:695.09416,rx:5.25681,ry:7.55666,transform:"translate(-577.14417 962.36498) rotate(-81.72174)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:521.15973,cy:690.29611,rx:5.2568,ry:7.55666,transform:"translate(-530.30434 1006.91693) rotate(-81.72174)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:458.5236,cy:655.286,rx:5.25681,ry:7.55666,transform:"translate(-549.27676 914.96411) rotate(-81.72174)",fill:"#ff6584"}),g.createElement("ellipse",{cx:441.31304,cy:640.04291,rx:4.77581,ry:3.3223,transform:"translate(-495.37215 976.78425) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:434.06731,cy:609.6713,rx:4.77581,ry:3.3223,transform:"translate(-472.19234 939.39678) rotate(-89.56675)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:490.41248,cy:663.12322,rx:4.77581,ry:3.3223,transform:"translate(-469.72363 1048.78806) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:466.65067,cy:674.98721,rx:4.77581,ry:3.3223,transform:"translate(-505.16941 1036.80122) rotate(-89.56675)",fill:"#ff6584"}),g.createElement("ellipse",{cx:499.72794,cy:696.91495,rx:4.77581,ry:3.3223,transform:"translate(-494.26937 1091.63947) rotate(-89.56675)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:849.98821,cy:541.09416,rx:5.25681,ry:7.55666,transform:"translate(-101.17347 1204.59943) rotate(-81.72174)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:899.15973,cy:536.29611,rx:5.2568,ry:7.55666,transform:"translate(-54.33364 1249.15138) rotate(-81.72174)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:836.5236,cy:501.286,rx:5.25681,ry:7.55666,transform:"matrix(0.14398, -0.98958, 0.98958, 0.14398, -73.30606, 1157.19856)",fill:"#ff6584"}),g.createElement("ellipse",{cx:819.31304,cy:486.04292,rx:4.77581,ry:3.3223,transform:"translate(33.76519 1201.93792) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:812.06731,cy:455.6713,rx:4.77581,ry:3.3223,transform:"translate(56.94499 1164.55045) rotate(-89.56675)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:868.41248,cy:509.12322,rx:4.77581,ry:3.3223,transform:"translate(59.41371 1273.94173) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:844.65067,cy:520.98721,rx:4.77581,ry:3.3223,transform:"translate(23.96793 1261.95489) rotate(-89.56675)",fill:"#ff6584"}),g.createElement("ellipse",{cx:877.72794,cy:542.91495,rx:4.77581,ry:3.3223,transform:"translate(34.86796 1316.79314) rotate(-89.56675)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:666.98821,cy:256.09416,rx:5.25681,ry:7.55666,transform:"translate(24.20544 779.54069) rotate(-81.72174)",fill:"#fff"}),g.createElement("ellipse",{cx:716.15973,cy:251.29611,rx:5.2568,ry:7.55666,transform:"translate(71.04527 824.09264) rotate(-81.72174)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:653.5236,cy:216.286,rx:5.25681,ry:7.55666,transform:"translate(52.07285 732.13983) rotate(-81.72174)",fill:"#ff6584"}),g.createElement("ellipse",{cx:636.31304,cy:201.04292,rx:4.77581,ry:3.3223,transform:"translate(137.1408 736.09819) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:629.06731,cy:170.6713,rx:4.77581,ry:3.3223,transform:"translate(160.32061 698.71071) rotate(-89.56675)",fill:"#3f3d56"}),g.createElement("ellipse",{cx:685.41248,cy:224.12322,rx:4.77581,ry:3.3223,transform:"translate(162.78933 808.102) rotate(-89.56675)",fill:"#e6e6e6"}),g.createElement("ellipse",{cx:661.65067,cy:235.98721,rx:4.77581,ry:3.3223,transform:"translate(127.34354 796.11516) rotate(-89.56675)",fill:"#ff6584"}),g.createElement("ellipse",{cx:694.72794,cy:257.91495,rx:4.77581,ry:3.3223,transform:"translate(138.24358 850.95341) rotate(-89.56675)",fill:"#3f3d56"})),jF=g.forwardRef(DF),LF=()=>{const t=kt(),{setFlash:e}=Pe(d=>d),[a,i]=g.useState({}),[s,o]=g.useState(!0);g.useEffect(()=>{const d=i5("hash",window.location.search);zL(d).then(f=>{i(f),sessionStorage.removeItem(Xc),Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${f.organization.id}`,value:f.organization.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.invitations")}]}),o(!1)}).catch(()=>{t("/404")})},[]);const u=()=>{o(!0),qL(a).then(()=>{e(S.t("invitation.acceptedFlash",{name:a.organization.name})),Pe.setState({menuItems:["users","yourApps","allApps"]}),t(`/organization/${a.organization.id}/team`)})};return s?h.jsx(Sn,{}):h.jsxs("section",{className:"invitation-container",children:[h.jsx(jF,{}),h.jsx(Cr,{confirm:u,confirmationHeader:S.t("forms.accept"),confirmationTxt:S.t("forms.proceed"),question:S.t("invitation.accept",{name:a.organization.name,inviter:a.inviter.name})})]})},B1=[{value:"ALL",label:S.t("roles.all")}].concat(k5.map(t=>({value:t,label:S.t(`roles.${t.toLowerCase()}`)}))),kF=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const i=kt(),{user:s,setFlash:o}=Pe(E=>E),[u,d]=g.useState({}),[f,m]=g.useState(B1[0].value),[y,b]=g.useState(-1),C=()=>{a(new Date().getTime())},A=(E,T)=>{T?d({open:!0,cancel:()=>d({open:!1}),action:()=>A(E,!1),question:S.t("teamManagement.deleteConfirmation",{name:E.user.name}),okButton:S.t("forms.delete")}):kL(E).then(()=>{d({}),o(S.t("teamManagement.flash.deleted",{name:E.user.name})),C()})},I=(E,T,N)=>{N?d({open:!0,cancel:()=>d({open:!1}),action:()=>I(E,T,!1),question:S.t("teamManagement.deleteDemotion",{name:E.user.name}),okButton:S.t("forms.sure")}):vS(E,T).then(()=>{d({}),o(S.t("teamManagement.flash.updated",{name:E.user.name})),C()})},M=(E,T)=>{E.user.id===s.id&&T!==$t.ADMIN?(I(E,T,!0),C()):vS(E,T).then(()=>{d({}),o(S.t("teamManagement.flash.updated",{name:E.user.name})),C()})},O=E=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[E.authority!==$t.ADMIN&&e===$t.ADMIN&&h.jsxs("li",{onClick:()=>M(E,$t.ADMIN),children:[h.jsx(go,{}),h.jsx("span",{children:S.t("teamManagement.makeAdmin")})]}),E.authority!==$t.MEMBER&&e===$t.ADMIN&&h.jsxs("li",{onClick:()=>M(E,$t.MEMBER),children:[h.jsx(go,{}),h.jsx("span",{children:S.t("teamManagement.makeMember")})]}),E.authority!==$t.GUEST&&e===$t.ADMIN&&h.jsxs("li",{onClick:()=>M(E,$t.GUEST),children:[h.jsx(go,{}),h.jsx("span",{children:S.t("teamManagement.makeGuest")})]}),e===$t.ADMIN&&h.jsxs("li",{onClick:()=>A(E,!0),children:[h.jsx(vl,{}),h.jsx("span",{children:S.t("forms.delete")})]})]})}),R=()=>{const E=[{key:"user__name",header:S.t("teamManagement.nameEmail"),mapper:N=>h.jsx(Jf,{user:N.user,currentUser:s})},{key:"role",header:S.t("teamManagement.role"),mapper:N=>S.t(`roles.${N.authority.toLowerCase()}`)},{key:"created",header:S.t("teamManagement.active"),mapper:N=>Oa(N.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:N=>e===$t.GUEST?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>b(-1),175),children:h.jsxs("span",{className:`menu ${y===N.id?"drop-down":""}`,onClick:()=>b(y===-1?N.id:-1),children:[h.jsx(Ts,{}),y===N.id&&O(N)]})})}],T=()=>h.jsx(Pa,{value:B1.find(N=>N.value===f)||B1[0],options:B1,searchable:!1,onChange:N=>m(N.value),clearable:!1});return h.jsx(Os,{entities:t.organizationMemberships.filter(N=>f==="ALL"||N.authority===f),modelName:"teamManagement",defaultSort:"user__name",title:S.t("teamManagement.maintain",{name:t.name}),columns:E,filters:T(),showNew:!0,displaySearch:!0,searchAttributes:["user__name","user__email"],newEntityFunc:()=>i(`/invitation/${t.id}`),inputFocus:!0})},x=()=>h.jsxs("div",{className:"explanations",children:[h.jsx("h2",{children:S.t("teamManagement.explanations.title")}),["admin","member","guest"].map((E,T)=>h.jsxs("div",{children:[h.jsxs("p",{className:"role",children:[T+1,". ",S.t(`teamManagement.explanations.${E}`)]}),h.jsx("p",{className:"paragraph",children:S.t(`teamManagement.explanations.${E}Rights`)})]},E))]}),{open:j,cancel:U,action:L,question:P,okButton:F}=u;return h.jsxs("div",{className:"organization-memberships",children:[j&&h.jsx(Cr,{confirm:L,cancel:U,confirmationHeader:S.t("forms.delete"),confirmationTxt:F,question:P}),R(),x()]})},_F=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const{user:i,setFlash:s}=Pe(j=>j),[o,u]=g.useState({}),[d,f]=g.useState(-1),m=()=>{a(new Date().getTime())},y=(j,U,L)=>{L?u({open:!0,cancel:()=>u({open:!1}),action:()=>y(j,U,!1),question:S.t(`joinRequestManagement.${U?"approveConfirmation":"denialConfirmation"}`,{name:j.user.name}),okButton:S.t(`joinRequestManagement.${U?"approve":"deny"}`)}):mS(j.id,U,$t.GUEST).then(()=>{u({}),s(S.t(`joinRequestManagement.flash.${U?"approved":"denied"}`,{name:j.user.name})),m()})},b=j=>{if(j)u({open:!0,cancel:()=>u({open:!1}),action:()=>b(!1),question:S.t("joinRequestManagement.approveAllConfirmation"),okButton:S.t("joinRequestManagement.approveAll")});else{const U=t.joinRequests.map(L=>mS(L.id,!0,$t.GUEST));Promise.all(U).then(()=>{u({}),s(S.t("joinRequestManagement.flash.approveAll")),m()})}},C=j=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:()=>y(j,!0,!0),children:[h.jsx("span",{className:"svg",children:"✅"}),h.jsx("span",{children:S.t("joinRequestManagement.approve")})]}),h.jsxs("li",{onClick:()=>y(j,!1,!0),children:[h.jsx("span",{className:"svg",children:"⛔️"}),h.jsx("span",{children:S.t("joinRequestManagement.deny")})]})]})}),A=()=>{if(ne(t.joinRequests))return h.jsx("p",{children:S.t("joinRequestManagement.zeroState",{name:t.name})});const j=[{key:"user__name",header:S.t("joinRequestManagement.nameEmail"),mapper:U=>h.jsx(Jf,{user:U.user,currentUser:i})},{key:"message",header:S.t("joinRequestManagement.message"),mapper:U=>h.jsx(dA,{txt:U.message,moreLabel:S.t("forms.moreLabel"),lessLabel:S.t("forms.lessLabel"),cutoffNumber:90})},{key:"created",header:S.t("joinRequestManagement.createdAt"),mapper:U=>Oa(U.createdAt)},{key:"buttons",header:"",nonSortable:!0,mapper:U=>e!==$t.ADMIN?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>f(-1),175),children:h.jsxs("span",{className:`menu ${d===U.id?"drop-down":""}`,onClick:()=>f(d===-1?U.id:-1),children:[h.jsx(Ts,{}),d===U.id&&C(U)]})})}];return h.jsx(Os,{entities:t.joinRequests,modelName:"joinRequestManagement",defaultSort:"user__name",title:S.t("joinRequestManagement.maintain",{name:t.name}),columns:j,newEntityFunc:()=>b(!0),showNew:!0,newLabel:S.t("joinRequestManagement.approveAll"),displaySearch:!0,searchAttributes:["user__name","user__email"],inputFocus:!0})},{open:I,cancel:M,action:O,question:R,okButton:x}=o;return h.jsxs("div",{className:"organization-join-requests",children:[I&&h.jsx(Cr,{confirm:O,cancel:M,confirmationHeader:S.t("forms.delete"),confirmationTxt:x,question:R}),A()]})},F1=[{value:"ALL",label:S.t("roles.all")}].concat(k5.map(t=>({value:t,label:S.t(`roles.${t.toLowerCase()}`)}))),zF=({organization:t,currentUserAuthority:e,setRefresh:a})=>{const{user:i,setFlash:s}=Pe(P=>P),[o,u]=g.useState({}),[d,f]=g.useState(F1[0].value),[m,y]=g.useState(-1),b=()=>{a(new Date().getTime())},C=(P,F)=>{F?u({open:!0,cancel:()=>u({open:!1}),action:()=>C(P,!1),question:S.t("invitationsManagement.deleteConfirmation",{email:P.inviter.name}),okButton:S.t("invitationsManagement.revoke")}):PL(P).then(()=>{u({}),s(S.t("invitationsManagement.flashReminderSent")),b()})},A=P=>{P?u({open:!0,cancel:()=>u({open:!1}),action:()=>A(!1),question:S.t("invitationsManagement.deleteAllConfirmation",{name:t.name}),okButton:S.t("forms.delete")}):HL(t).then(()=>{u({}),s(S.t("invitationsManagement.flashDeleteAll")),b()})},I=(P,F)=>{F?u({open:!0,cancel:()=>u({open:!1}),action:()=>I(P,!1),question:S.t("invitationsManagement.resendConfirmation",{email:P.inviter.name}),okButton:S.t("invitationsManagement.resend")}):UL(P).then(()=>{u({}),s(S.t("invitationsManagement.flashReminderSent")),b()})},M=P=>h.jsx("div",{className:"sds--user-info--dropdown",children:h.jsxs("ul",{children:[h.jsxs("li",{onClick:()=>I(P,!0),children:[h.jsx(L5,{}),h.jsx("span",{children:S.t("invitationsManagement.resend")})]}),h.jsxs("li",{onClick:()=>C(P,!0),children:[h.jsx(vl,{}),h.jsx("span",{children:S.t("invitationsManagement.revoke")})]})]})}),O=()=>{if(ne(t.invitations))return h.jsx("p",{children:S.t("invitationsManagement.zeroState",{name:t.name})});const P=[{key:"email",header:S.t("invitationsManagement.email"),mapper:E=>E.email},{key:"role",header:S.t("invitationsManagement.role"),mapper:E=>S.t(`roles.${E.intendedAuthority.toLowerCase()}`)},{key:"inviter__name",header:S.t("invitationsManagement.inviter"),mapper:E=>h.jsx(Jf,{user:E.inviter,currentUser:i})},{key:"createdAt",header:S.t("invitationsManagement.createdAt"),mapper:E=>Oa(E.createdAt)},{key:"expiryDate",header:S.t("invitationsManagement.expiryDate"),mapper:E=>Oa(E.expiryDate)},{key:"buttons",header:"",nonSortable:!0,mapper:E=>e!==$t.ADMIN||E.intendedAuthority===$t.ADMIN?null:h.jsx("div",{className:"top-header",tabIndex:1,onBlur:()=>setTimeout(()=>y(-1),175),children:h.jsxs("span",{className:`menu ${m===E.id?"drop-down":""}`,onClick:()=>y(m===-1?E.id:-1),children:[h.jsx(Ts,{}),m===E.id&&M(E)]})})}],F=()=>h.jsx(Pa,{value:F1.find(E=>E.value===d)||F1[0],options:F1,searchable:!1,onChange:E=>f(E.value),clearable:!1});return h.jsx(Os,{entities:t.invitations.filter(E=>d==="ALL"||E.intendedAuthority===d),modelName:"invitationsManagement",defaultSort:"email",title:S.t("invitationsManagement.maintain",{name:t.name}),columns:P,filters:F(),showNew:!0,newLabel:S.t("invitationsManagement.deleteAll"),displaySearch:!0,searchAttributes:["user__name","user__email"],newEntityFunc:()=>A(!0),inputFocus:!0})},{open:R,cancel:x,action:j,question:U,okButton:L}=o;return h.jsxs("div",{className:"organization-invitations",children:[R&&h.jsx(Cr,{confirm:j,cancel:x,confirmationHeader:S.t("forms.delete"),confirmationTxt:L,question:U}),O()]})},qF=["team","invitations","joins"],UF=()=>{const{user:t}=Pe(O=>O),{tab:e="team"}=oi(),{organizationId:a}=oi(),[i,s]=g.useState(!0),[o,u]=g.useState({}),[d,f]=g.useState({}),[m,y]=g.useState(-1),[b,C]=g.useState(e),A=kt();g.useEffect(()=>{oC(a).then(O=>{O.applications=O.applications.map(j=>Ao(j)),u(O),Pe.setState({currentOrganization:O,breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${O.id}`,value:O.name,menuItemName:"yourApps"},{value:S.t("breadCrumb.applications")}]});const R=(t.organizationMemberships||[]).find(j=>j.organization.id===O.id),x=_5(t,R);f(x),I(b,O),s(!1)}).catch(()=>{A("/home")})},[a,m]);const I=(O,R)=>{C(O),Pe.setState({breadcrumbPaths:[{path:"/home",value:S.t("breadCrumb.access"),menuItemName:"yourApps"},{path:`/organization/${a}`,value:R?R.name:o.name,menuItemName:"yourApps"},{value:S.t(`breadCrumb.${O}`)}]}),A(`/users/${a}/${O}`)},M=()=>{switch(b){case"team":return h.jsx(kF,{organization:o,currentUserAuthority:d,setRefresh:y});case"joins":return h.jsx(_F,{organization:o,currentUserAuthority:d,setRefresh:y});case"invitations":return h.jsx(zF,{organization:o,currentUserAuthority:d,setRefresh:y});default:throw new Error(`Unknown tab; ${b}`)}};return i?h.jsx(Sn,{}):h.jsxs("div",{className:"user-management-outer-container with-applications",children:[h.jsx(q5,{tab:b,setTab:I,tabNames:qF,children:h.jsx("h1",{children:S.t("userManagement.title")})}),h.jsx("div",{className:"user-management-container",children:M()})]})},PF=()=>{const t=Pe(e=>e.config);return h.jsxs("div",{className:"login-info-container",children:[h.jsxs("div",{className:"about",children:[h.jsxs("div",{className:"top",children:[h.jsx("h1",{className:"title large",children:S.t("landing.loginInfo.title")}),h.jsx("p",{dangerouslySetInnerHTML:{__html:S.t("landing.loginInfo.subTitle")}})]}),h.jsx(fC,{})]}),h.jsx(dC,{children:h.jsxs("div",{className:"cards",children:[h.jsxs("div",{className:"card",children:[h.jsx("h3",{children:S.t("landing.loginInfo.commercial.title")}),S.translations[S.locale].landing.loginInfo.commercial.info.map((e,a)=>h.jsx("p",{dangerouslySetInnerHTML:{__html:e}},a)),h.jsx(at,{onClick:()=>i6(t,!0,!0),type:vt.Secondary,txt:S.t("landing.loginInfo.commercial.login")})]}),h.jsxs("div",{className:"card",children:[h.jsx("h3",{children:S.t("landing.loginInfo.education.title")}),S.translations[S.locale].landing.loginInfo.education.info.map((e,a)=>h.jsx("p",{dangerouslySetInnerHTML:{__html:e}},a)),h.jsx(at,{onClick:()=>i6(t,!0,!1),type:vt.Secondary,txt:S.t("landing.loginInfo.education.login")})]})]})})]})},FE=()=>h.jsx(Sn,{}),HF=({title:t,titleId:e,...a},i)=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12.4,height:24,viewBox:"0 0 12.4 24",ref:i,"aria-labelledby":e,...a},t?g.createElement("title",{id:e},t):null,g.createElement("path",{fill:"none",stroke:"#000",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M11.7 23.2L1 12.5c-.1-.1-.1-.2-.2-.2 0-.1-.1-.2-.1-.3s0-.2.1-.3c0-.1.1-.2.2-.2L11.7.8"})),BF=g.forwardRef(HF),VE=()=>{const t=kt(),{manageType:e,manageId:a}=oi(),{arp:i,privacy:s}=Pe(x=>x),[o,u]=g.useState(!0),[d,f]=g.useState([]),[m,y]=g.useState(!1),[b,C]=g.useState(!1);if(g.useEffect(()=>{VL(e,a).then(x=>{f(x),u(!1)}).catch(()=>{t("/404")})},[]),o)return h.jsx(Sn,{});const A=(x,j,U)=>{const L=x.languageProperty?S.locale==="en"?j[`${x.metaData}:en`]:j[`${x.metaData}:nl`]||j[`${x.metaData}:en`]:j[x.metaData];if(ne(L))return null;if(x.localeAttribute){let P=`${x.locale}.${L}`;console.log(P)}return h.jsx("a",{href:L,target:"_blank",rel:"noopener noreferrer",children:x.localeAttribute?S.t(`${x.locale}.${L.replace(/\./g,"")}`):S.t(x.locale)},U)},I=d.data.metaDataFields,M=x=>{Ra(x),y(!0)},O=x=>{Ra(x),C(!0)},R=x=>i.attributes.find(j=>j.urn===x);return h.jsxs("div",{className:"application-detail-container",children:[h.jsx("div",{className:"application-detail-header-container",children:h.jsxs("div",{className:"application-detail-header",children:[h.jsxs("div",{className:"left",children:[h.jsx("h1",{className:"large",children:S.t("applicationDetail.title")}),h.jsx("p",{children:S.t("applicationDetail.subTitle")})]}),h.jsx("img",{src:tw,alt:"student"})]})}),h.jsx("div",{className:"inner-application-detail-container",children:h.jsxs("div",{className:"application-detail",children:[h.jsxs("div",{className:"meta-data",children:[I["logo:0:url"]&&h.jsx("img",{src:I["logo:0:url"],alt:""}),!I["logo:0:url"]&&h.jsx(S5,{}),h.jsxs("div",{className:"meta-data-name",children:[h.jsx("p",{className:"organization",children:ri(S.locale,d)}),h.jsx("p",{className:"name",children:$s(S.locale,d)})]}),h.jsx(at,{type:vt.Secondary,icon:h.jsx(BF,{}),iconPlacement:V1.Left,onClick:()=>t("/applications"),txt:S.t("applicationDetail.back")})]}),h.jsxs("div",{className:"details",children:[h.jsxs("div",{className:"left",children:[h.jsx("p",{children:gk(S.locale,d)}),h.jsxs("div",{className:"details-panel",children:[h.jsx("p",{className:"title",children:S.t("applicationDetail.attributes")}),h.jsx("p",{children:S.t("applicationDetail.attributesInfo")}),!m&&h.jsx("a",{href:"/",onClick:M,children:S.t("applicationDetail.details")}),m&&h.jsxs("div",{className:"arp-attributes",children:[!d.data.arp.enabled&&h.jsx("p",{children:S.t("applicationDetail.noArp")}),d.data.arp.enabled&&h.jsx(h.Fragment,{children:Object.entries(d.data.arp.attributes).map(x=>{const j=R(x[0]),U=x[1][0],L=S.t(`applicationDetail.arpSources.${U.source}`);return h.jsxs("div",{className:"attribute",children:[h.jsx("span",{className:"attr-name",children:j.friendlyNames[S.locale]}),!ne(U.motivation)&&h.jsx("span",{className:"attr-motivation",children:U.motivation}),ne(U.motivation)&&h.jsx("span",{className:"attr-motivation",children:S.t("applicationDetail.noMotivation")}),h.jsx("span",{className:"attr-source",children:`${x[0]} - ${S.t("applicationDetail.source")} ${L}`})]})})})]})]}),h.jsxs("div",{className:"details-panel",children:[h.jsx("p",{className:"title",children:S.t("applicationDetail.privacy")}),h.jsx("p",{children:S.t("applicationDetail.privacyInfo")}),!b&&h.jsx("a",{href:"/",onClick:O,children:S.t("applicationDetail.details")}),b&&h.jsx("div",{className:"privacy-questions",children:s.map(x=>{const j=x[`info_${S.locale}`],U=j.substring(j.indexOf(" ")+1),L=I[x.manage];return h.jsxs("div",{className:"privacy-question",children:[h.jsx("span",{className:"priv-name",children:U}),ne(L)&&h.jsx("span",{className:"priv-answer",children:S.t("applicationDetail.noPrivacyInfo")}),!ne(L)&&h.jsx("span",{className:"priv-answer",children:L})]})})})]})]}),h.jsxs("div",{className:"right",children:[h.jsx("p",{className:"license",children:S.t(`applicationDetail.license.${I["coin:ss:license_status"]||"license_not_required"}`)}),h.jsx("p",{className:"info",children:S.t("applicationDetail.quickLinks")}),h.jsx("div",{className:"info-block",children:vk.map((x,j)=>A(x,I,j))}),h.jsx("p",{className:"info",children:S.t("applicationDetail.contractual")}),h.jsxs("p",{children:[h.jsx("span",{children:I["coin:contractual_base"]?S.t(`applicationDetail.contractualBase.${I["coin:contractual_base"].toLowerCase()}`,{organisation:ri(S.locale,d)}):S.t("applicationDetail.noInformation")}),h.jsx("span",{dangerouslySetInnerHTML:{__html:S.t("applicationDetail.wiki")}})]}),h.jsx("p",{children:S.t("applicationDetail.contractualInfoOrganization",{name:ri(S.locale,d)})}),h.jsx("p",{className:"info",children:S.t("applicationDetail.supportedEntityCategories")}),h.jsxs("div",{className:"info-block",children:[[1,2,3,4].map(x=>A({locale:"applicationDetail.entityCategory",localeAttribute:!0,metaData:`coin:entity_categories:${x}`,languageProperty:!1},I,x)),[1,2,3,4].every(x=>ne(I[`coin:entity_categories:${x}`]))&&h.jsx("p",{children:S.t("applicationDetail.none")})]}),I["mdrpi:RegistrationInfo"]&&h.jsxs("div",{className:"federation-source",children:[h.jsx("p",{className:"info",children:S.t("applicationDetail.interfedSource")}),h.jsx("span",{dangerouslySetInnerHTML:{__html:S.t("applicationDetail.registrationInfo",{url:I["mdrpi:RegistrationInfo"]})}})]})]})]})]})})]})},FF=()=>{const[t,e]=g.useState(!0),[a,i]=g.useState(!1),{impersonator:s}=Pe(m=>m),o=kt(),u=ui(),d=()=>h.jsxs(h.Fragment,{children:[h.jsx(ln,{path:"/home",element:h.jsx(nk,{})}),h.jsx(ln,{path:"/institutions",element:h.jsx(tU,{})}),h.jsx(ln,{path:"/connect",element:h.jsx(nU,{})}),h.jsx(ln,{path:"/applications",element:h.jsx(aU,{})}),h.jsx(ln,{path:"/login-info",element:h.jsx(PF,{})})]}),f=()=>{hS().then(m=>Pe.setState(()=>({user:m})))};return g.useEffect(()=>{fL().then(m=>{Pe.setState(()=>({csrfToken:m.token})),Promise.all([uL(),OL(),RL()]).then(y=>{Pe.setState(()=>({config:y[0],arp:y[1],privacy:y[2]})),i(y[0].authenticated),y[0].authenticated?hS().then(b=>{Pe.setState(()=>({user:b}));const C=!ne(b.organizationMemberships);C?Pe.setState(()=>({menuItems:["users","yourApps","allApps"],currentOrganization:b.organizationMemberships.map(I=>I.organization)[0]})):Pe.setState(()=>({menuItems:["allApps"]}));let A=sessionStorage.getItem(Xc);ne(A)?e(!1):(!A.startsWith("/accept")&&!C&&(A="/landing"),OA.flushSync(()=>{o(A,{replace:!0}),setTimeout(()=>sessionStorage.removeItem(Xc),1e3*5)}),setTimeout(()=>e(!1),500))}):e(!1)}).catch(()=>{e(!1),o("/home")})})},[s]),t?h.jsx(Sn,{}):h.jsxs("div",{className:"access",children:[a&&h.jsxs(h.Fragment,{children:[h.jsx(GL,{}),s&&h.jsx(CF,{}),h.jsxs("div",{className:"container",children:[h.jsx(hU,{}),h.jsxs("div",{className:"pages",children:[h.jsx(pF,{setIsAuthenticated:i}),h.jsxs($p,{children:[h.jsx(ln,{path:"/",element:h.jsx(E9,{replace:!0,to:"/home"})}),h.jsx(ln,{path:"/landing",element:h.jsx(gF,{refreshUser:f})}),h.jsx(ln,{path:"/home",element:h.jsx(SF,{})}),h.jsx(ln,{path:"/users/:organizationId/:tab?",element:h.jsx(UF,{})}),h.jsx(ln,{path:"/organization/:organizationId/:tab?",element:h.jsx(bk,{refreshUser:f})}),h.jsx(ln,{path:"/application/:applicationId",element:h.jsx(RU,{})}),h.jsx(ln,{path:"/join/:organisationId",element:h.jsx(vF,{refreshUser:f})}),h.jsx(ln,{path:"/connection/:applicationId/:tab?/:connectionId?",element:h.jsx(uF,{})}),h.jsx(ln,{path:"/invitation/:organizationId/:applicationId?",element:h.jsx(NF,{})}),h.jsx(ln,{path:"/accept",element:h.jsx(LF,{})}),h.jsx(ln,{path:"/system/:tab?",element:h.jsx(IF,{})}),h.jsx(ln,{path:"/application-detail/:manageType/:manageId",element:h.jsx(VE,{})}),h.jsx(ln,{path:"/refresh-route/:path",element:h.jsx(ek,{})}),h.jsx(ln,{path:"/authentication-switch",element:h.jsx(FE,{})}),h.jsx(ln,{path:"*",element:h.jsx($L,{})})]})]})]})]}),!a&&h.jsxs(h.Fragment,{children:[h.jsx(JL,{currentLocation:u}),h.jsxs($p,{children:[h.jsx(ln,{path:"/",element:h.jsx(E9,{replace:!0,to:"home"})}),d(),h.jsx(ln,{path:"/application-detail/:manageType/:manageId",element:h.jsx(VE,{})}),h.jsx(ln,{path:"/authentication-switch",element:h.jsx(FE,{})}),h.jsx(ln,{path:"/*",element:h.jsx(EF,{})})]}),h.jsx(ak,{})]})]})},VF=FO.createRoot(document.getElementById("root"));VF.render(h.jsx(g.StrictMode,{children:h.jsx(AM,{children:h.jsx($p,{children:h.jsx(ln,{path:"/*",element:h.jsx(FF,{})})})})}));
